Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ goal.test.ts
File
goal.test.ts
packages/agent-core/test/tools/goal.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'vitest'
;
2
3
import
type
{ Agent } from
'../../src/agent'
;
4
import
{ GoalMode } from
'../../src/agent/goal'
;
Callers
nothing calls this directly
Calls
15
executeTool
Function · 0.90
compileToolArgsValidator
Function · 0.90
validateToolArgs
Function · 0.90
testAgent
Function · 0.90
ctx
Function · 0.85
agentWithContext
Function · 0.85
loopToolNames
Function · 0.85
setBudgetLimits
Method · 0.80
markBlocked
Method · 0.80
initializeBuiltinTools
Method · 0.80
markComplete
Method · 0.80
makeStore
Function · 0.70
Tested by
no test coverage detected