MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / writer

Function writer

apps/kimi-code/test/cli/goal-prompt.test.ts:154–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152}
153
154function writer() {
155 let text = '';
156 return { write: (chunk: string) => ((text += chunk), true), text: () => text };
157}
158
159describe('runPrompt headless goal mode', () => {
160 let savedExitCode: typeof process.exitCode;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected