@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 1.13 kB
TypeScript
import { type CallProjection, type OutstandingCall } from "./compact-call-model.ts";
import type { CompactCallTable } from "./compact-call-table.ts";
/**
* The carrier settled: the call and its completed descendants leave the table with one projection carrying every
* completed child (RULING-60 Q3: the settled store pages it, nothing truncates it, so `omitted` is 0 on this path);
* a child still executing or an incomplete child marks the projection incomplete.
*/
export declare function settleCall(table: CompactCallTable, call: OutstandingCall, isError: boolean): CallProjection;
/** A child whose parent left the table, or can no longer get a carrier, has no projection to ride on. */
export declare function orphaned(table: CompactCallTable, call: OutstandingCall): boolean;
export declare const NOT_EXECUTED: Partial<OutstandingCall>;
/** RULING-13 Q3/Q4: the sweep patch for one call, nested or not, once no carrier can arrive; `undefined` leaves it alone. */
export declare function settledPatch(call: OutstandingCall): Partial<OutstandingCall> | undefined;
//# sourceMappingURL=compact-call-retirement.d.ts.map