MCPcopy Create free account
hub / github.com/anomalyco/opencode / traceFooterOutput

Function traceFooterOutput

packages/opencode/src/cli/cmd/run/stream.ts:129–138  ·  view source on GitHub ↗
(footer?: FooterOutput)

Source from the content-addressed store, hash-verified

127}
128
129export function traceFooterOutput(footer?: FooterOutput) {
130 if (!footer?.subagent) {
131 return footer
132 }
133
134 return {
135 ...footer,
136 subagent: traceSubagentState(footer.subagent),
137 }
138}
139
140// Forwards reducer output to the footer: commits go to scrollback, patches update the status bar.
141export function writeSessionOutput(input: OutputInput, out: StreamOutput): void {

Callers 1

syncFooterFunction · 0.90

Calls 1

traceSubagentStateFunction · 0.85

Tested by

no test coverage detected