UNPKG

@code-yeongyu/senpi

Version:

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

27 lines • 1.64 kB
import { CompactColdOperations } from "./compact-cold-operations.ts"; import { CompactComponentRoots } from "./compact-component-roots.ts"; import { CompactContentIndex } from "./compact-content-index.ts"; import { CompactContentStore, type CompactContentStoreOptions } from "./compact-content-store.ts"; import type { MessageRoot, SettledRow } from "./compact-state-view.ts"; import type { FrozenBlock } from "./compact-text-view.ts"; export interface CompactSessionStateOptions extends CompactContentStoreOptions { readonly compactAboveRows?: number; /** The registry nonce of the epoch this owner serves; the only epoch it accepts (RULING-39). */ readonly epoch?: string; /** The lane's accepted-sequence epoch, the prefix of every runtime item key it mints (RULING-13 Q1). */ readonly sessionEpoch?: string; } /** Constructs the single storage graph shared by acceptance, settlement, and frozen reads. */ export declare class CompactStateStorage { protected readonly store: CompactContentStore; protected readonly settled: CompactContentIndex<SettledRow>; protected readonly cold: CompactColdOperations; protected readonly blockRoots: CompactComponentRoots<FrozenBlock>; protected readonly messageRoots: CompactComponentRoots<MessageRoot>; protected readonly epoch: string | undefined; protected readonly sessionEpoch: string; constructor(options: CompactSessionStateOptions); /** Whether a message is still live in acceptance; cold operations re-check this at apply time. */ protected isActiveKey(_key: string): boolean; } //# sourceMappingURL=compact-state-storage.d.ts.map