mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-30 16:19:21 +00:00
Remove the brittle natural language pattern matching from the router and add job management tools to the normal tool registry instead. - Add job tools: create_job, list_jobs, job_status, cancel_job - Router now only handles explicit /commands - Natural language goes through agentic loop with all tools - LLM naturally picks appropriate tools based on user intent - Share ContextManager between job tools and Agent Co-Authored-By: Claude Opus 4.5 <[email protected]>
28 lines
692 B
Rust
28 lines
692 B
Rust
//! Built-in tools that come with the agent.
|
|
|
|
mod echo;
|
|
mod ecommerce;
|
|
mod file;
|
|
mod http;
|
|
mod job;
|
|
mod json;
|
|
mod marketplace;
|
|
mod memory;
|
|
mod restaurant;
|
|
mod shell;
|
|
mod taskrabbit;
|
|
mod time;
|
|
|
|
pub use echo::EchoTool;
|
|
pub use ecommerce::EcommerceTool;
|
|
pub use file::{ApplyPatchTool, ListDirTool, ReadFileTool, WriteFileTool};
|
|
pub use http::HttpTool;
|
|
pub use job::{CancelJobTool, CreateJobTool, JobStatusTool, ListJobsTool};
|
|
pub use json::JsonTool;
|
|
pub use marketplace::MarketplaceTool;
|
|
pub use memory::{MemoryReadTool, MemorySearchTool, MemoryTreeTool, MemoryWriteTool};
|
|
pub use restaurant::RestaurantTool;
|
|
pub use shell::ShellTool;
|
|
pub use taskrabbit::TaskRabbitTool;
|
|
pub use time::TimeTool;
|