Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ describe, expect, it, vi } from
'vitest'
;
2
3
import
{ ToolAccesses } from
'../../src/loop'
;
4
import
type
{ Logger, LogPayload } from
'../../src/logging'
;
Callers
nothing calls this directly
Calls
15
createBackgroundManager
Function · 0.90
executeTool
Function · 0.90
agentTask
Function · 0.90
userCancellationReason
Function · 0.90
resolveCompletion
Function · 0.85
reject
Function · 0.85
registerTask
Method · 0.80
mockSubagentHost
Function · 0.70
agentTool
Function · 0.70
profile
Function · 0.70
context
Function · 0.70
captureLogs
Function · 0.70
Tested by
no test coverage detected