consciousness/src
Kent Overstreet 933221f482 memory tools: generate public typed API via macro
The memory_tool! macro now generates two functions:
- jsonargs_*() - internal, takes JSON args for dispatch table
- pub fn name() - typed args, handles RPC-vs-local automatically

Callers can now use typed Rust API:
  memory::write(Some(&agent), "key", "content").await?;
  memory::query(None, "all | type:semantic", Some("full")).await?;

No more manual JSON construction for memory tool calls.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-13 13:12:11 -04:00
..
agent memory tools: generate public typed API via macro 2026-04-13 13:12:11 -04:00
bin enable short backtraces by default 2026-04-12 20:11:27 -04:00
cli CLI: more RPC conversions, delete obsolete commands 2026-04-12 23:37:05 -04:00
hippocampus memory tools: typed hippocampus fns + macro dispatch 2026-04-13 13:03:24 -04:00
learn rust edition 2024 2026-04-05 06:20:16 -04:00
mind cleanup: remove dead placeholder code, use RPC for identity loading 2026-04-13 01:22:08 -04:00
subconscious delete rename agent and related code 2026-04-13 02:05:58 -04:00
thalamus kill MIN_NUDGE_INTERVAL 2026-04-11 16:45:33 -04:00
user memory tools: forward to daemon when not in daemon process 2026-04-12 21:45:59 -04:00
config.rs Drop redundant system prompt — all info is in memory nodes 2026-04-12 01:36:59 -04:00
lib.rs mcp_server: Unix socket server for external tool access 2026-04-12 21:45:10 -04:00
locks.rs locks: add process-wide lock hold time tracking 2026-04-12 20:27:42 -04:00
main.rs CLI: async runtime + proper RPC fallback plumbing 2026-04-13 11:23:52 -04:00
mcp_server.rs CLI: async runtime + proper RPC fallback plumbing 2026-04-13 11:23:52 -04:00
session.rs delete claude code integration 2026-04-09 19:58:07 -04:00
util.rs delete 20 dead public functions across 12 files 2026-04-02 16:21:01 -04:00