UNPKG

@code-yeongyu/senpi

Version:

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

10 lines • 553 B
import type { SessionWriteGrant } from "./session-worker-protocol.ts"; /** Lifecycle hooks the owning registry installs on every worker it allocates. */ export interface SessionWorkerCallbacks { reserve: (path: string) => SessionWriteGrant | Promise<SessionWriteGrant>; /** Every snapshot republishes which paths this worker still writes. */ reconcile: (livePaths: readonly string[]) => void | Promise<void>; exit: () => void | Promise<void>; failure: (error: string) => void; } //# sourceMappingURL=session-worker-callbacks.d.ts.map