MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / handleJsonOutput

Function handleJsonOutput

scripts/tmux/tmux-viewer/index.tsx:181–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 }
180
181 const handleJsonOutput = () => {
182 // Temporarily exit TUI, output JSON, then exit
183 renderer?.destroy()
184 const jsonOutput = sessionToJSON(data)
185 console.log(JSON.stringify(jsonOutput, null, 2))
186 process.exit(0)
187 }
188
189 renderer = await createCliRenderer({
190 backgroundColor: 'transparent',

Callers

nothing calls this directly

Calls 1

sessionToJSONFunction · 0.90

Tested by

no test coverage detected