UNPKG

@code-yeongyu/senpi

Version:

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

23 lines • 1.03 kB
import type { LegacyViewCursor } from "./legacy-view-cursor.ts"; /** * One peer's baseline attempt (R3.C6.4, S07a): the frames of a view frozen at a cut, written in their FIFO * position before every record queued behind them. `live` is rechecked after every await and before every * frame, so a stale attempt (detached, replaced, superseded, peer gone) writes nothing further; `end` runs * once on every path and releases the frozen source. */ export declare class BaselineBarrier { private cancelled; private ended; private readonly cursor; private readonly live; constructor(cursor: LegacyViewCursor, live: () => boolean); get active(): boolean; cancel(): void; end(): void; /** * Writes `head` (a recovery's gap line) once the cursor has fixed its view, then the frames in order; `write` * resolves once the sink accepted the line. */ deliver(write: (line: string) => Promise<void>, head?: string): Promise<void>; } //# sourceMappingURL=socket-baseline-barrier.d.ts.map