UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

8 lines • 395 B
/** * The executor's Gate B classifier over a permission policy (design 5.6.1): only `ask` needs consent. `deny` is not * consent: the call's own `tool_call` chain refuses it, as today. Only a cross-machine executor is given one (K3). */ export function consentFromPermissionPolicy(policy) { return { needsConsent: (call) => policy(call) === "ask" }; } //# sourceMappingURL=consent.js.map