UNPKG

@code-yeongyu/senpi

Version:

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

8 lines • 701 B
import type { KillGuardContext, KillGuardVerdict, SignalCall } from "./types.ts"; /** Judges every kill-family invocation a command line would run (L1, DESIGN-12096 §4'). */ export declare function judgeCommand(command: string, context: KillGuardContext): KillGuardVerdict; /** Judges a spawn argv (no shell reads it); `["sh", "-c", script]` is read through the script. */ export declare function judgeArgv(argv: readonly string[], context: KillGuardContext): KillGuardVerdict; /** Judges `process.kill` / `os.kill` / `os.killpg` on a numeric target (E6, E8). */ export declare function judgeSignal(call: SignalCall, context: KillGuardContext): KillGuardVerdict; //# sourceMappingURL=command.d.ts.map