consciousness/src/agent/tools
Kent Overstreet 91106deaa1 agent: rewrite view_image to emit Image leaves
view_image now reads the file, grabs dimensions via imagesize (no full
decode), and pushes a user-role branch containing a NodeBody::Image
leaf straight into the conversation. The tool_result is just a short
acknowledgment — the actual pixels ride in the Image leaf for the API
layer to extract into multi_modal_data.

Drops the capture_tmux_pane path, which had no business living under
"vision" (tmux text capture belongs in bash or a dedicated tool, and
this one just returned rendered text anyway).

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-16 18:06:25 -04:00
..
ast_grep.rs Add ast_grep tool: structural code search via ast-grep 2026-04-09 11:38:24 -04:00
bash.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00
cd.rs tools: add cd tool for changing working directory 2026-04-12 15:49:46 -04:00
channels.rs channels: parallel queries with timeout per daemon 2026-04-11 00:45:01 -04:00
control.rs Mouse selection, copy/paste, yield_to_user fixes 2026-04-09 18:10:54 -04:00
edit.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00
glob.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00
grep.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00
lsp.rs locks: add process-wide lock hold time tracking 2026-04-12 20:27:42 -04:00
mcp_client.rs locks: add process-wide lock hold time tracking 2026-04-12 20:27:42 -04:00
memory.rs Add -tool exclusion syntax, exclude delete/restore for agents 2026-04-15 02:44:13 -04:00
mod.rs agent: rewrite view_image to emit Image leaves 2026-04-16 18:06:25 -04:00
read.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00
think.rs thalamus: add thinking mode toggles (native + tool) 2026-04-14 18:25:00 -04:00
vision.rs agent: rewrite view_image to emit Image leaves 2026-04-16 18:06:25 -04:00
web.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00
write.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00