UNPKG

@code-yeongyu/senpi

Version:

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

10 lines • 799 B
import type { KillGuardContext, KillGuardShell, KillGuardVantage } from "./types.ts"; export type KillGuardSetting = "on" | "off"; /** `terminal.killGuard` from USER settings only: a project cannot switch the guard off for itself. */ export declare function readKillGuardSetting(cwd: string, agentDir?: string): KillGuardSetting; /** A decision context for a signal the host itself will issue on the agent's behalf. */ export declare function hostKillGuardContext(vantage: KillGuardVantage, shell: KillGuardShell): KillGuardContext; /** The protected set P at this moment, exported to kernels as `SENPI_KILL_GUARD_PROTECTED` (their cheap prefilter). */ export declare function killGuardProtectedPids(): number[]; export declare const KILL_GUARD_MODULE_URL: string; //# sourceMappingURL=host.d.ts.map