forked from kent/consciousness
New src/thought/ module containing tools and infrastructure shared between poc-agent and subconscious agents: memory operations, file tools, bash, context window management. Currently coexists with agent/tools/ — next step is to wire up both agent/ and subconscious/ to use thought::dispatch instead of duplicating the routing logic. Move dbglog macro to lib.rs so it's available crate-wide regardless of module compilation order.
26 lines
724 B
Rust
26 lines
724 B
Rust
// agent/ — interactive agent and shared infrastructure
|
|
//
|
|
// Merged from the former poc-agent crate. Contains:
|
|
// - api/ — LLM API backends (OpenAI-compatible, Anthropic)
|
|
// - types — Message, ToolDef, ChatRequest, etc.
|
|
// - tools/ — tool definitions and dispatch
|
|
// - ui_channel — streaming UI communication
|
|
// - runner — the interactive agent loop
|
|
// - cli, context, dmn, identity, log, observe, parsing, tui
|
|
// Config moved to crate::config (unified with memory config)
|
|
|
|
pub mod api;
|
|
pub mod types;
|
|
pub mod tools;
|
|
pub mod ui_channel;
|
|
pub mod journal;
|
|
|
|
pub mod runner;
|
|
pub mod cli;
|
|
pub mod context;
|
|
pub mod dmn;
|
|
pub mod identity;
|
|
pub mod log;
|
|
pub mod observe;
|
|
pub mod parsing;
|
|
pub mod tui;
|