MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / importRunHook

Function importRunHook

packages/agent-core/test/hooks/runner.test.ts:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19) => Promise<HookResult>;
20
21async function importRunHook(): Promise<RunHook> {
22 const mod = (await import(RUNNER_MODULE)) as { runHook: RunHook };
23 return mod.runHook;
24}
25
26describe('runHook process runner', () => {
27 it('returns allow when the hook exits 0 and captures stdout', async () => {

Callers 1

runner.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected