Repository navigation
Expand file tree
/
Copy pathmod.rs
More file actions
43 lines (40 loc) · 1.44 KB
/
Copy pathmod.rs
File metadata and controls
43 lines (40 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Extensible tool system.
//!
//! Tools are the agent's interface to the outside world. They can:
//! - Call external APIs
//! - Interact with the marketplace
//! - Execute sandboxed code (via WASM sandbox)
//! - Delegate tasks to other services
//! - Build new software and tools
mod autonomy;
pub mod builder;
pub mod builtin;
mod coercion;
pub mod dispatch;
pub mod execute;
pub mod mcp;
pub mod permissions;
pub mod rate_limiter;
pub mod redaction;
pub(crate) mod schema_metrics;
pub mod schema_validator;
pub mod wasm;
mod registry;
mod tool;
pub use autonomy::{
AUTONOMOUS_TOOL_DENYLIST, autonomous_allowed_tool_names, autonomous_unavailable_error,
autonomous_unavailable_message, is_autonomous_tool_denylisted,
};
pub use builder::{
BuildPhase, BuildRequirement, BuildResult, BuildSoftwareTool, BuilderConfig, Language,
LlmSoftwareBuilder, SoftwareBuilder, SoftwareType, Template, TemplateEngine, TemplateType,
TestCase, TestHarness, TestResult, TestSuite, ValidationError, ValidationResult, WasmValidator,
};
pub(crate) use coercion::prepare_tool_params;
pub use rate_limiter::RateLimiter;
pub use registry::{ToolRegistry, is_protected_tool_name};
pub use tool::{
ApprovalContext, ApprovalRequirement, EngineCompatibility, EngineVersion, RiskLevel, Tool,
ToolDiscoverySummary, ToolDomain, ToolError, ToolOutput, ToolRateLimitConfig,
check_approval_in_context, redact_params, require_param, require_str, validate_tool_schema,
};