UNPKG

@code-yeongyu/senpi

Version:

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

21 lines • 1.02 kB
import { type CompactTransition } from "./compact-transition.ts"; type Start = Pick<Extract<CompactTransition, { type: "block_start"; }>, "epoch" | "ordinal" | "firstOrdinal" | "messageId">; /** R1 uses the producer's lifetime ordinal and the S05 opaque nonce, never a receipt-time identity. */ export declare class CompactStartIdentity { private current; private highWater; private readonly live; /** * RULING-39: current-epoch-only. The owner's registry nonce, or without one the first committed epoch, is the only * epoch it ever accepts, so no retired-nonce window exists and an old nonce can never take over. */ constructor(epoch?: string); validate({ epoch, ordinal, firstOrdinal, messageId }: Start): void; /** Called only after every semantic validation and the root publication succeeded. */ commit({ epoch, ordinal, firstOrdinal, messageId }: Start): void; release(messageId: string): void; } export {}; //# sourceMappingURL=compact-start-identity.d.ts.map