@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
19 lines • 1.12 kB
JavaScript
/**
* The kill guard's judge (senpi#5349, code-yeongyu/oh-my-openagent#12096): decides whether an agent-issued signal
* may run. Dependency-free (only `node:` builtins and relative imports), so a codemode worker can import this file by
* path in every runtime; the host reaches it through `./host.ts`.
*/
export { judgeArgv, judgeCommand, judgeSignal } from "./command.js";
export { judgePattern } from "./pattern.js";
// The codemode JS worker imports this file by URL (`kill-guard/host.ts` KILL_GUARD_MODULE_URL, read in
// senpi-codemode's `worker-kill-guard.js`), so knip cannot see the three names it calls.
export {
/** @public read by senpi-codemode's worker-kill-guard.js through KILL_GUARD_MODULE_URL */
killGuardContext,
/** @public read by senpi-codemode's worker-kill-guard.js through KILL_GUARD_MODULE_URL */
spawnSyncFromBun,
/** @public read by senpi-codemode's worker-kill-guard.js through KILL_GUARD_MODULE_URL */
spawnSyncFromNode, } from "./process-view.js";
export { decideKillGuardRequest } from "./request.js";
export { KILL_GUARD_TAG } from "./verdict.js";
//# sourceMappingURL=index.js.map