Skip to main content

Module executor

Module executor 

Source
Expand description

GeneralExecutor — the assistant’s host-side tool executor.

Generalizes the coder’s WorktreeExecutor from a git worktree to any bound Substrate (a Docker sandbox by default, the local host with --local, or a remote VM). It exposes the full commodity toolset — agent_basics file tools + calculate + a real shell + an optional network delegate (http_request/web_search) — with the shared, bounded shell implementation (run_shell_on) and the assistant inspector chain gating every call.

Run it as a Runtime’s tool executor so the validator, policy engine, permission tiers, and event log still wrap each call; this executor owns the actual work.

Structs§

GeneralExecutor