Skip to main content

Module executor

Module executor 

Source

Structs§

DiffData
Data for rendering file diffs in the TUI.
DynExecutor
Wraps Arc<dyn ErasedToolExecutor> so it can be used as a concrete ToolExecutor.
FilterStats
Cumulative filter statistics for a single tool execution.
ToolCall
Structured tool invocation from LLM.
ToolOutput
Structured result from tool execution.

Enums§

ToolError
Errors that can occur during tool execution.
ToolEvent
Event emitted during tool execution for real-time UI updates.

Constants§

MAX_TOOL_OUTPUT_CHARS

Traits§

ErasedToolExecutor
Object-safe erased version of ToolExecutor using boxed futures.
ToolExecutor
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_CHARS using head+tail split.

Type Aliases§

ToolEventTx