UNPKG

@code-yeongyu/senpi

Version:

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

23 lines • 862 B
import type { HumanWait } from "./session-lifecycle-types.ts"; export interface SyntheticAttention { readonly key: string; readonly wait: HumanWait; } /** Occurrence identity outlives clients, turns, and process restarts. */ export declare class LifecycleAttention { private readonly open; private sequence; private readonly sessionId; constructor(sessionId: string, restored?: { readonly attentionSeq: number; readonly synthetic: readonly SyntheticAttention[]; }); get attentionSeq(): number; get synthetic(): readonly SyntheticAttention[]; reconcile(requests: readonly { readonly key: string; readonly kind: HumanWait["kind"]; }[]): readonly HumanWait[]; } export declare function readHumanWait(value: unknown): HumanWait | undefined; //# sourceMappingURL=lifecycle-attention.d.ts.map