(footer?: FooterOutput)
| 127 | } |
| 128 | |
| 129 | export 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. |
| 141 | export function writeSessionOutput(input: OutputInput, out: StreamOutput): void { |
no test coverage detected