MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / printAssistantText

Function printAssistantText

compatible-shell/src/cli.mjs:250–260  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

248}
249
250function printAssistantText(content) {
251 const text = content
252 .filter(block => block.type === 'text')
253 .map(block => block.text.trim())
254 .filter(Boolean)
255 .join('\n')
256
257 if (text) {
258 console.log(text)
259 }
260}
261
262function buildSystemPrompt(workspaceDir) {
263 return [

Callers 1

runUserTurnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected