consciousness/src/agent/tools
Kent Overstreet f00532bdb7 TurnResult: remove text field, simplify oneshot loop
- Remove TurnResult.text (was dead code - Agent::turn handles text internally)
- Simplify run_with_backend to just iterate over steps (Agent::turn loops
  for tool calls and handles empty responses internally)
- Change run/run_shared/run_forked_shared to return Result<(), String>
- Remove AgentResult.output field (no callers used it)
- Stub out legacy text-parsing code (audit, compare) that needs redesign
- Update digest.rs to not depend on text return
- Add level parameter to journal_new/journal_update for digest support

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-12 02:04:50 -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
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 LSP client: spawn language servers, expose code intelligence tools 2026-04-09 12:59:25 -04:00
mcp_client.rs Show MCP server failures in the UI instead of debug log 2026-04-09 22:46:48 -04:00
memory.rs TurnResult: remove text field, simplify oneshot loop 2026-04-12 02:04:50 -04:00
mod.rs Agent:🆕 tool definitions from caller's tool list 2026-04-11 19:43:24 -04:00
read.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -04:00
vision.rs Output tool via Arc<Mutex<Subconscious>> closure — complete 2026-04-08 20:41:42 -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