Expand description
JsonEventLayer: a crate::runtime_layer::RuntimeLayer that emits tool events via JsonEventSink.
Install this layer on the agent when --json is active. It is the canonical
emitter for tool_call and tool_result events — JsonCliChannel intentionally
no-ops its corresponding channel methods to avoid double-emission.
All tool arguments and outputs pass through crate::redact::scrub_content before
emission so secrets (API keys, bearer tokens, passwords) are not written to the JSONL
stream.
Structs§
- Json
Event Layer RuntimeLayerthat forwards tool events to aJsonEventSink.