UNPKG

@code-yeongyu/senpi

Version:

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

15 lines • 716 B
import type { SessionPathOwner, SessionPathReservations } from "./host-reservations.ts"; /** Claims precede write grants; native exit also removes claims whose publication is still pending. */ export declare class WorkerSessionClaims { private readonly reservations; private readonly paths; private readonly releases; private closed; constructor(reservations: SessionPathReservations | undefined); claim(path: string, attached?: boolean): Promise<SessionPathOwner | undefined>; setAttached(attached: boolean): void; reconcile(livePaths: readonly string[], attached: boolean): void; private release; close(): Promise<void>; } //# sourceMappingURL=worker-session-claims.d.ts.map