@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 758 B
TypeScript
import type { HoldKind, SessionHold } from "./engine-turn-hold.ts";
/**
* The holds that keep a message another session sent from starting a turn (senpi#6490), sorted; empty when it may start.
* An `unattended` hold only stands in for an absent person, so a peer's message releases it as a person's would. A
* person's Stop, the hold after an interrupted run (`interruptedRun`, recorded or not yet) and a parent's run hold
* each wait on a person's decision, so they keep the delivery, and the sender is told so. A run fence alone holds
* only its own run's wakes, never a delivery.
*/
export declare function holdsKeepingPeerDelivery(holds: readonly SessionHold[], interruptedRun: boolean): HoldKind[];
//# sourceMappingURL=peer-delivery-hold.d.ts.map