MCPcopy
hub / github.com/codeaashu/claude-code / appendStdout

Function appendStdout

src/screens/REPL.tsx:4863–4863  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

4861 // ~5s teleportToRemote resolves.
4862 setMessages(prev => [...prev, createCommandInputMessage(formatCommandInputTags('ultraplan', blurb))]);
4863 const appendStdout = (msg: string) => setMessages(prev => [...prev, createCommandInputMessage(`<${LOCAL_COMMAND_STDOUT_TAG}>${escapeXml(msg)}</${LOCAL_COMMAND_STDOUT_TAG}>`)]);
4864 // Defer the second message if a query is mid-turn
4865 // so it lands after the assistant reply, not
4866 // between the user's prompt and the reply.

Callers 1

appendWhenIdleFunction · 0.85

Calls 2

escapeXmlFunction · 0.85

Tested by

no test coverage detected