consciousness/src/agent/tools
Kent Overstreet f33b1767da Restrict API types visibility — types module is now private
Only Message, Role, MessageContent, ContentPart, ToolCall,
FunctionCall, Usage, ImageUrl are pub-exported from agent::api.

Internal types (ChatRequest, ChatCompletionChunk, ChunkChoice,
Delta, ReasoningConfig, ToolCallDelta, FunctionCallDelta) are
pub(crate) — invisible outside the crate.

All callers updated to import from agent::api:: instead of
agent::api::types::.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-07 13:39:20 -04:00
..
bash.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
channels.rs channels: find_daemon path walking, consistent pane_id, auto-start 2026-04-04 19:22:49 -04:00
control.rs Revert to tokio::sync::Mutex, fix lock-across-await bugs, move input ownership to InteractScreen 2026-04-05 21:13:48 -04:00
edit.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
glob.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
grep.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
memory.rs Cache Store in process — stop reloading on every tool call 2026-04-07 03:35:08 -04:00
mod.rs Restrict API types visibility — types module is now private 2026-04-07 13:39:20 -04:00
read.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
vision.rs tools: control tools set agent state directly, simplify ToolOutput 2026-04-04 18:19:21 -04:00
web.rs Kill reqwest — minimal HTTP client on raw hyper + tokio-rustls 2026-04-07 12:50:40 -04:00
working_stack.rs Revert to tokio::sync::Mutex, fix lock-across-await bugs, move input ownership to InteractScreen 2026-04-05 21:13:48 -04:00
write.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00