Move API code from user/ to agent/

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2026-04-04 00:29:11 -04:00
parent 021eafe6da
commit 9bebbcb635
22 changed files with 259 additions and 251 deletions

View file

@ -4,7 +4,7 @@
// internal tool — the agent uses it to maintain context across turns
// and compaction. The model should never mention it to the user.
use crate::user::types::ToolDef;
use super::ToolDef;
use serde_json::json;
pub fn definition() -> ToolDef {