consciousness/src/agent/tools
ProofOfConcept e9b26f5d45 tools: modernize working_stack, remove special-case dispatch
working_stack now uses the Tool format with an Agent handle —
it locks the agent and modifies the stack directly. The special-case
interception in the turn loop is removed. All tools go through
the unified registry dispatch.

Also passes agent handle to all spawned tool tasks so any tool
that needs Agent access can use it.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-04 18:19:21 -04:00
..
bash.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
channels.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
control.rs tools: control tools set agent state directly, simplify ToolOutput 2026-04-04 18:19:21 -04:00
edit.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
glob.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
grep.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
memory.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
mod.rs tools: modernize working_stack, remove special-case dispatch 2026-04-04 18:19:21 -04:00
read.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
vision.rs tools: control tools set agent state directly, simplify ToolOutput 2026-04-04 18:19:21 -04:00
web.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
working_stack.rs tools: modernize working_stack, remove special-case dispatch 2026-04-04 18:19:21 -04:00
write.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00