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

Function context

packages/agent-core/test/tools/write.test.ts:9–11  ·  view source on GitHub ↗
(args: WriteInput)

Source from the content-addressed store, hash-verified

7const signal = new AbortController().signal;
8
9function context(args: WriteInput) {
10 return { turnId: '0', toolCallId: 'call_write', args, signal };
11}
12
13/** stat() result for an existing directory (S_IFDIR mode bits). */
14const DIR_STAT = vi.fn().mockResolvedValue({ stMode: 0o040755 });

Callers 1

write.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected