pub fn append_output_line(
broker: &Broker,
block_id: &str,
line: &str,
filestore: Option<&Arc<FileStore>>,
global_output_zone: Option<&str>,
)Expand description
Appends one NDJSON stdout line, plus the newline the frontend’s line
splitter needs, to the block’s output file and global_output_zone.
A line that is the provider echoing a prompt srv delivered (origin_ledger) is stored with
that message’s origin, signed like a record srv writes itself; any other line is stored as it is.