Skip to main content

aonyx_tools/
lib.rs

1//! # aonyx-tools
2//!
3//! The built-in tool catalogue. Every tool implements
4//! [`ToolHandler`](aonyx_core::ToolHandler) and lives in its own module.
5//!
6//! ## V1 tools
7//! - [`fs`] — `fs_read`, `fs_write`, `fs_edit`, `fs_glob`, `fs_grep`
8//! - [`bash`] — sandboxed shell invocation with timeout
9//! - [`git`] — `git_status`, `git_diff`, `git_log`, `git_show`
10//! - [`exec`] — generic process execution
11//! - [`web`] — `web_fetch`, `web_search` (Brave / Tavily)
12//! - [`memory`] — `memory_search`, `memory_kg_query`, `memory_diary_append`
13//!
14//! ## Registry
15//! [`ToolRegistry::default_set`] returns a registry pre-populated with every V1 tool.
16
17#![forbid(unsafe_code)]
18#![warn(missing_docs, rust_2018_idioms)]
19
20pub mod bash;
21#[cfg(feature = "browser")]
22pub mod browser;
23pub mod exec;
24pub mod fs;
25pub mod git;
26pub mod media;
27pub mod memory;
28#[cfg(feature = "lua-plugins")]
29pub mod plugins;
30pub mod registry;
31pub mod sandbox;
32pub mod undo;
33pub mod web;
34
35pub use registry::ToolRegistry;