Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ turn-lifecycle.e2e.test.ts
File
turn-lifecycle.e2e.test.ts
packages/agent-core/test/loop/turn-lifecycle.e2e.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Turn-level lifecycle invariants of `runTurn`.
3
*
4
* These tests treat the loop as a black box: they drive `runTurn` only
Callers
nothing calls this directly
Calls
14
runTurn
Function · 0.90
makeEndTurnResponse
Function · 0.90
inputTotal
Function · 0.90
makeToolUseResponse
Function · 0.90
makeToolCall
Function · 0.90
makeMaxTokensResponse
Function · 0.90
makeResponse
Function · 0.90
makeTextParts
Function · 0.90
runTurnExpectingThrow
Function · 0.90
count
Method · 0.80
typesIn
Method · 0.80
stepBegins
Method · 0.80
Tested by
no test coverage detected