MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / agent.test.ts

File agent.test.ts

packages/agent-core/test/tools/agent.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest';
2
3import { ToolAccesses } from '../../src/loop';
4import type { Logger, LogPayload } from '../../src/logging';

Callers

nothing calls this directly

Calls 15

createBackgroundManagerFunction · 0.90
executeToolFunction · 0.90
agentTaskFunction · 0.90
userCancellationReasonFunction · 0.90
resolveCompletionFunction · 0.85
rejectFunction · 0.85
registerTaskMethod · 0.80
mockSubagentHostFunction · 0.70
agentToolFunction · 0.70
profileFunction · 0.70
contextFunction · 0.70
captureLogsFunction · 0.70

Tested by

no test coverage detected