MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / abort.e2e.test.ts

File abort.e2e.test.ts

packages/agent-core/test/loop/abort.e2e.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Abort behaviour at each safe point.
3 *
4 * The loop's contract is that an externally-aborted turn never throws to the

Callers

nothing calls this directly

Calls 13

runTurnFunction · 0.90
makeEndTurnResponseFunction · 0.90
makeToolUseResponseFunction · 0.90
makeToolCallFunction · 0.90
inputTotalFunction · 0.90
userCancellationReasonFunction · 0.90
markReadFileAccessesFunction · 0.90
stepBeginsMethod · 0.80
byTypeMethod · 0.80
countMethod · 0.80
waitOneMacrotaskFunction · 0.70
abortMethod · 0.65

Tested by

no test coverage detected