UNPKG

@code-yeongyu/senpi

Version:

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

16 lines • 964 B
import { type HandWakeLink, type WakeLimits, type WakeOutbox } from "@earendil-works/pi-agent-core"; import type { HandWakes } from "../rpc/remote-executor-scope.ts"; export interface HandWakeOutboxOptions { readonly clock?: () => number; readonly limits?: WakeLimits; /** A pending entry the outbox could not read; it is dropped and reported to the brain. */ readonly onFault?: (error: Error) => void; } /** * The hand's wake outbox on its state file: this process claims the file's next owner epoch, so a hand that opened it * earlier is refused from then on. Every event id it mints starts with `hand:`. */ export declare function openHandWakeOutbox(path: string, options?: HandWakeOutboxOptions): Promise<WakeOutbox>; /** A hand's scopes' wakes over its wake link; the link reports every failure itself, so nothing here throws. */ export declare function handWakesOver(link: HandWakeLink): HandWakes; //# sourceMappingURL=hand-wakes.d.ts.map