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

Function importEngine

packages/agent-core/test/hooks/integration.test.ts:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55async function importEngine(): Promise<HookEngineCtor> {
56 const mod = (await import(ENGINE_MODULE)) as { HookEngine: HookEngineCtor };
57 return mod.HookEngine;
58}
59
60describe('HookEngine integration', () => {
61 it('blocks a dangerous Shell command and allows a safe one via a PreToolUse script hook', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected