feat: add memory management tools and utility commands

This commit is contained in:
asepharyana
2026-07-11 20:44:15 +07:00
parent 08490532d2
commit fe82840c03
13 changed files with 535 additions and 0 deletions
+11
View File
@@ -8,11 +8,13 @@ pub mod git_cred;
pub mod git_operator;
pub mod git_worktree;
pub mod internet;
pub mod memory;
pub mod plan;
pub mod search;
pub mod seqthink;
pub mod shell;
pub mod shell_filter;
pub mod utility;
pub mod workflow;
pub trait Tool: Send + Sync {
@@ -116,6 +118,7 @@ pub fn all_tools() -> Vec<Box<dyn Tool>> {
Box::new(super::tool::fs::read::Read),
Box::new(super::tool::fs::write::Write),
Box::new(super::tool::fs::edit::Edit),
Box::new(super::tool::fs::delete::Delete),
Box::new(super::tool::search::Grep),
Box::new(super::tool::search::Glob),
Box::new(super::tool::bash_tools::BashOutput),
@@ -131,6 +134,14 @@ pub fn all_tools() -> Vec<Box<dyn Tool>> {
Box::new(super::tool::internet::fetch::Fetch),
Box::new(super::tool::internet::download::Download),
Box::new(super::tool::internet::search::Search),
Box::new(super::tool::memory::remember::Remember),
Box::new(super::tool::memory::forget::Forget),
Box::new(super::tool::memory::recall::Recall),
Box::new(super::tool::utility::cd::Cd),
Box::new(super::tool::utility::dir_list::DirList),
Box::new(super::tool::utility::dir_cache_update::DirCacheUpdate),
Box::new(super::tool::utility::pong::Pong),
Box::new(super::tool::utility::todowrite::Todowrite),
]
}