MCPcopy 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

runTurnFunction · 0.90
makeEndTurnResponseFunction · 0.90
inputTotalFunction · 0.90
makeToolUseResponseFunction · 0.90
makeToolCallFunction · 0.90
makeMaxTokensResponseFunction · 0.90
makeResponseFunction · 0.90
makeTextPartsFunction · 0.90
runTurnExpectingThrowFunction · 0.90
countMethod · 0.80
typesInMethod · 0.80
stepBeginsMethod · 0.80

Tested by

no test coverage detected