UNPKG

@code-yeongyu/senpi

Version:

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

20 lines • 946 B
import type { ToolChildChannel } from "./channel.ts"; import { DescendantsLedger, LaunchLog } from "./descendants.ts"; import { type LedgeredGroup, type SweepOutcome } from "./group-ownership.ts"; import { type BarrierViolation } from "./launch-enforcer.ts"; import type { ToolChildMessage } from "./protocol.ts"; export interface GenerationBarrier { readonly ledger: DescendantsLedger; readonly log: LaunchLog; handle(frame: ToolChildMessage): boolean; teardown(child: LedgeredGroup | undefined): Promise<SweepOutcome[]>; } export declare function createGenerationBarrier(options: { readonly dir: string; readonly generation: number; readonly channel: ToolChildChannel; readonly onViolation: (violation: BarrierViolation) => void; readonly holdAck?: (launchId: string) => Promise<void>; readonly confirmMember?: (pid: number) => boolean; }): GenerationBarrier; //# sourceMappingURL=client-barrier.d.ts.map