UNPKG

@code-yeongyu/senpi

Version:

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

18 lines • 1.25 kB
/** * 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.ts"; export { type PatternMode, type PatternVerdict, judgePattern } from "./pattern.ts"; export { type KillGuardContextOptions, type KillGuardSpawnSync, /** @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.ts"; export { decideKillGuardRequest, type KillGuardRequest, type KillGuardRequestOptions } from "./request.ts"; export type { KillGuardContext, KillGuardRule, KillGuardShell, KillGuardVantage, KillGuardVerdict, ProcessRow, ProcessView, SelectResult, SignalCall, } from "./types.ts"; export { KILL_GUARD_TAG } from "./verdict.ts"; //# sourceMappingURL=index.d.ts.map