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

Function writeHook

packages/agent-core/test/agent/permission.test.ts:2693–2695  ·  view source on GitHub ↗
(args: Record<string, unknown>, id = 'call_write')

Source from the content-addressed store, hash-verified

2691 }
2692
2693 function writeHook(args: Record<string, unknown>, id = 'call_write'): PermissionPolicyContext {
2694 return hookContext({ id, toolName: 'Write', args });
2695 }
2696
2697 function editHook(args: Record<string, unknown>, id = 'call_edit'): PermissionPolicyContext {
2698 return hookContext({ id, toolName: 'Edit', args });

Callers 1

permission.test.tsFile · 0.85

Calls 1

hookContextFunction · 0.70

Tested by

no test coverage detected