MCPcopy 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

1import { mkdir, mkdtemp, readFile, rm, writeFile } from 'node:fs/promises';
2import { tmpdir } from 'node:os';
3import { join } from 'pathe';
4import { Readable } from 'node:stream';

Callers

nothing calls this directly

Calls 15

agentTaskFunction · 0.90
hookFixtureFunction · 0.85
createMainMethod · 0.80
registerTaskMethod · 0.80
createAgentMethod · 0.80
closeForReloadMethod · 0.80
createSessionRpcFunction · 0.70
readHookPayloadsFunction · 0.70
pendingProcessFunction · 0.70
createDeferredFunction · 0.70
waitForFileFunction · 0.70
withCwdMethod · 0.65

Tested by

no test coverage detected