createReporter
Purpose and behavior
Section titled “Purpose and behavior”Create an observe callback that prints one line per event: phases, tool calls, warnings, failures and each pass summary with its token counts. It writes to process.stdout unless write is given and never changes execution. The returned callable also implements ObservationSink and can be passed directly to createObservation({ sinks }); each dispatch/pass has independent text-stream state.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”optionsOptionalReporterOptions | undefinedOutput label, verbosity, silence mode and optional custom writer.options.labelOptionalstring | undefinedPrefix printed in brackets on every line, default outpost; the pass number follows it.options.verboseOptionalboolean | undefinedAlso print tool inputs and result previews, prompts, raw protocol lines, conversation IDs, harness steps and compactions, the workspace directory and successful operations.options.quietOptionalboolean | undefinedSuppress all reporter output, including warnings and failures.options.writeOptional((text: string) => void) | undefinedReceives each formatted chunk of output instead of process.stdout.

