UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

12 lines (11 loc) • 715 B
/** * Deterministic §3.C(3) process-side projection over ONE tool call's args. * * Shape-based, tool-name-agnostic: any tool whose args carry a string `command` field (the * shell-tool family — "Bash" and renamed/white-labeled shells alike) is projected through the * word-face regex; every other tool contributes nothing. Case-sensitive (the faces are lowercase * tool/stdlib names; an uppercase variant is not these tools). A gate-blocked call still counts: * the signal evidences the TASK CLASS (the model reaching for byte-level work), not execution * success — and the misfire cost is bounded by the injection cap. */ export declare function hasVerifiableStructureSignal(args: unknown): boolean;