Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ existsSync, mkdtempSync, readFileSync, rmSync } from
'node:fs'
;
2
import
{ tmpdir } from
'node:os'
;
3
import
{ join } from
'node:path'
;
4
Callers
nothing calls this directly
Calls
15
testAgent
Function · 0.90
createFakeKaos
Function · 0.90
createCommandKaos
Function · 0.90
executeTool
Function · 0.90
budgetToolResultForModel
Function · 0.90
agentCall
Function · 0.85
hookErrorMessageAssertCommand
Function · 0.85
savedOutputPath
Function · 0.85
untilTurnEnd
Method · 0.80
untilToolCall
Method · 0.80
expectResumeMatches
Method · 0.80
compactHistory
Method · 0.80
Tested by
no test coverage detected