UNPKG

@code-yeongyu/senpi

Version:

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

23 lines • 1.15 kB
import type { TurnEndLivenessInput } from "./extensions/builtin/goal/turn-end-liveness.ts"; import { type SyntheticAttention } from "./lifecycle-attention.ts"; import type { SessionLifecycle } from "./session-lifecycle-types.ts"; export interface LifecycleRecord extends Omit<SessionLifecycle, "activity" | "activityRevision"> { readonly sessionId: string; readonly attentionSeq: number; readonly synthetic: readonly SyntheticAttention[]; readonly epochSealed: boolean; readonly settleRequest?: { readonly epoch: number; readonly revision: number; }; readonly runId?: string; readonly runActive: boolean; readonly interrupted: boolean; readonly completedGoalId?: string; readonly completedRunId?: string; readonly lastTurnEnd?: DurableTurnEnd; } export type DurableTurnEnd = Pick<TurnEndLivenessInput, "endedBy" | "deadlineStop" | "budgetSpent" | "providerRetryAtMs">; /** Restore the wire snapshot and its private high-water marks from owned JSONL. */ export declare function readLifecycleRecord(value: unknown): LifecycleRecord | undefined; //# sourceMappingURL=lifecycle-record.d.ts.map