MCPcopy Create free account
hub / github.com/cursor/cookbook / annotate

Function annotate

sdk/coding-agent-cli/src/index.ts:166–172  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

164 let assistantEndedWithNewline = true
165
166 const annotate = (message: string) => {
167 if (!assistantEndedWithNewline) {
168 process.stderr.write("\n")
169 }
170 process.stderr.write(`${message}\n`)
171 assistantEndedWithNewline = true
172 }
173
174 try {
175 await session.sendPrompt({

Callers 1

renderPlainEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected