Re-exports§
pub use agent_loop::AgentLoopHarness;pub use agent_loop::CompactionPolicy;pub use compaction::estimate_messages_tokens;pub use compaction::resolve_context_window_tokens;pub use compaction::CompactionContext;pub use compaction::CompactionError;pub use compaction::CompactionStrategy;pub use compaction::SummarizeCompactionStrategy;pub use context::jsonl::append_context;pub use context::jsonl::load_context;pub use context::jsonl::rewrite_context;pub use event::HarnessInternalEvent;pub use event::HarnessUsage;pub use event::NativeHarnessError;pub use event::NativeTurnInput;pub use history_sanitize::sanitize_history;pub use history_sanitize::SanitizeDiagnostics;pub use mcp::CompositeToolRuntime;pub use mcp::McpClient;pub use mcp::McpError;pub use mcp::McpServerConfig;pub use mcp::McpToolRuntime;pub use mcp::McpTransport;pub use mcp::MCP_PROTOCOL_VERSION;pub use model::collect_model_response;pub use model::AnthropicConfig;pub use model::AnthropicModelClient;pub use model::AssistantThinking;pub use model::ChatMessage;pub use model::ImageData;pub use model::ImageSource;pub use model::ModelChunk;pub use model::ModelClient;pub use model::ModelClientError;pub use model::ModelResponse;pub use model::ModelTurnInput;pub use model::OpenAiCompatibleConfig;pub use model::OpenAiCompatibleModelClient;pub use model::ScriptedModelClient;pub use model::ToolChoice;pub use model::UserAttachment;pub use runner::FakeNativeHarness;pub use runner::NativeHarness;pub use runner::ToolCapableFakeHarness;pub use shell_risk::classify_shell_command;pub use shell_risk::ShellRiskDecision;pub use shell_risk::ShellRiskLevel;pub use skills::parse_skill_frontmatter;pub use skills::LocalSkillSource;pub use skills::SkillError;pub use skills::SkillLoader;pub use skills::SkillMetadata;pub use skills::SkillPromptRenderer;pub use skills::SkillSource;pub use skills::SkillsManager;pub use tools::builtin_tool_specs;pub use tools::fs_glob;pub use tools::fs_glob_bounded;pub use tools::resolve_edit_search;pub use tools::simple_glob_match;pub use tools::EditSearchError;pub use tools::MockToolRuntime;pub use tools::ResolvedEditSearch;pub use tools::ToolFailure;pub use tools::ToolFailureKind;pub use tools::ToolInvocation;pub use tools::ToolOutcome;pub use tools::ToolRuntime;pub use tools::ToolRuntimeError;pub use tools::ToolSpec;pub use tools::FS_GLOB_IGNORED_DIRS;pub use tools::MAX_FS_GLOB_RESULTS;pub use tools::local::EmitFn;pub use tools::local::LocalToolConfig;pub use tools::local::LocalToolRuntime;pub use tools::approval::ApprovalGate;pub use tools::approval::PlanApproval;pub use tools::approval::YoloApproval;pub use tools::sandbox::ExecResult;pub use tools::sandbox::SandboxExecutor;pub use tools::sandbox::SandboxToolConfig;pub use tools::sandbox::SandboxToolRuntime;
Modules§
- agent_
loop - compaction
- Context-window-aware compaction.
- context
- event
- history_
sanitize - Structural sanitization of a restored message history.
- mcp
- MCP (Model Context Protocol) client + tool runtime.
- model
- runner
- shell_
risk - Static risk classification for shell commands.
- skills
- Skill progressive disclosure for the agent loop.
- tool_
repair - Repair of malformed tool-call arguments from weak models.
- tools