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

File tool.test.ts

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

Source from the content-addressed store, hash-verified

1import { existsSync, mkdtempSync, readFileSync, rmSync } from 'node:fs';
2import { tmpdir } from 'node:os';
3import { join } from 'node:path';
4

Callers

nothing calls this directly

Calls 15

testAgentFunction · 0.90
createFakeKaosFunction · 0.90
createCommandKaosFunction · 0.90
executeToolFunction · 0.90
budgetToolResultForModelFunction · 0.90
agentCallFunction · 0.85
savedOutputPathFunction · 0.85
untilTurnEndMethod · 0.80
untilToolCallMethod · 0.80
expectResumeMatchesMethod · 0.80
compactHistoryMethod · 0.80

Tested by

no test coverage detected