Structs§
- Diff
Data - Data for rendering file diffs in the TUI.
- DynExecutor
- Wraps
Arc<dyn ErasedToolExecutor>so it can be used as a concreteToolExecutor. - Filter
Stats - Cumulative filter statistics for a single tool execution.
- Tool
Call - Structured tool invocation from LLM.
- Tool
Output - Structured result from tool execution.
Enums§
- Tool
Error - Errors that can occur during tool execution.
- Tool
Event - Event emitted during tool execution for real-time UI updates.
Constants§
Traits§
- Erased
Tool Executor - Object-safe erased version of
ToolExecutorusing boxed futures. - Tool
Executor - Async trait for tool execution backends (shell, future MCP, A2A).
Functions§
- deserialize_
params - Deserialize tool call params from a
serde_json::Map<String, Value>into a typed struct. - extract_
fenced_ blocks - Extract fenced code blocks with the given language marker from text.
- truncate_
tool_ output - Truncate tool output that exceeds
MAX_TOOL_OUTPUT_CHARSusing head+tail split.