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

Function context

packages/agent-core/test/tools/read.test.ts:36–43  ·  view source on GitHub ↗
(args: ReadInput)

Source from the content-addressed store, hash-verified

34} satisfies Awaited<ReturnType<Kaos['stat']>>;
35
36function context(args: ReadInput) {
37 return {
38 turnId: '0',
39 toolCallId: 'call_read',
40 args,
41 signal,
42 };
43}
44
45function linesFromContent(content: string): string[] {
46 if (content === '') return [];

Callers 1

read.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected