Module translator

Module translator 

Source
Expand description

Provider frame → unified AgentEvent translation.

Each provider (Claude Code stream-json, ACP, future Aider / Codex / Gemini) implements Translator to produce a stream of AgentEvents. The runner is provider-agnostic; only this layer knows the wire format.

Modules§

claude
Claude Code stream-json → AgentEvent translator.

Traits§

Translator
A streaming translator: feeds raw provider frames as parsed JSON values and emits zero-or-more AgentEvents per frame.