Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ lifecycle-hooks.test.ts
File
lifecycle-hooks.test.ts
packages/agent-core/test/session/lifecycle-hooks.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ mkdir, mkdtemp, readFile, rm, writeFile } from
'node:fs/promises'
;
2
import
{ tmpdir } from
'node:os'
;
3
import
{ join } from
'pathe'
;
4
import
{ Readable } from
'node:stream'
;
Callers
nothing calls this directly
Calls
15
agentTask
Function · 0.90
hookFixture
Function · 0.85
createMain
Method · 0.80
registerTask
Method · 0.80
createAgent
Method · 0.80
closeForReload
Method · 0.80
createSessionRpc
Function · 0.70
readHookPayloads
Function · 0.70
pendingProcess
Function · 0.70
createDeferred
Function · 0.70
waitForFile
Function · 0.70
withCwd
Method · 0.65
Tested by
no test coverage detected