consciousness/src/agent/tools
Kent Overstreet dc1049f62d CLI: async runtime + proper RPC fallback plumbing
- main.rs: use #[tokio::main] so CLI has a runtime available
- memory.rs: make run_with_local_store async (no more runtime creation)
- mcp_server.rs: cache socket connection in OnceLock, use block_in_place
  for async fallback when socket unavailable

Fixes "cannot start a runtime from within a runtime" panic when CLI
falls back to local store.

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-04-13 11:23:52 -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 CLI: async runtime + proper RPC fallback plumbing 2026-04-13 11:23:52 -04:00
mod.rs tools: add cd tool for changing working directory 2026-04-12 15:49:46 -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