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

Function withReadStatus

packages/agent-core/test/tools/read.test.ts:62–65  ·  view source on GitHub ↗
(output: string, status: string)

Source from the content-addressed store, hash-verified

60}
61
62function withReadStatus(output: string, status: string): string {
63 const note = `<system>${status}</system>`;
64 return output.length > 0 ? `${output}\n${note}` : note;
65}
66
67function toolWithContent(content: string, workspace: WorkspaceConfig = PERMISSIVE_WORKSPACE) {
68 const bytes = Buffer.from(content, 'utf8');

Callers 1

read.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected