Skip to main content

Module ndjson

Module ndjson 

Source
Expand description

Renders agent NDJSON as a Claude Code style transcript for orch stream, orch task watch and session export. Each agent’s runner turns its own lines into StreamEvents

Structs§

Formatter
Turns one agent’s NDJSON lines into transcript entries, picking the runner from the first line

Constants§

RESULT_PREFIX
Prefix of a tool result line, printed right under its tool call

Functions§

extract_files_changed
Files written or edited in raw NDJSON output, the fallback when the agent reports none
print
Print entries with a blank line before each step, keeping results right under their call