TypeScript types for pending compaction and summary nodes.
// Source: https://github.com/martian-engineering/lossless-claw | License: MIT | Copyright 2026 Josh Lehman / Martian Engineering
// Provided via justclaw.it.com; keep this notice with the code.
import type { SummaryKind } from "./summary-store.js";
export type PendingCompactionBatchStatus =
| "planning"
| "ready"
| "publishing"
| "published"
| "stale"
| "failed";
export type PendingSummaryNodeStatus =
| "planned"
| "running"
| "ready"
| "promoted"
| "stale"
| "failed";
export type PendingCompactionBatchRecord = {
batchId: string;
conversationId: number;
sessionKey: string | null;
sessionTargetJson: string;
status: PendingCompactionBatchStatus;
sourceProjectionFingerprint: string;
compactableStartOrdinal: number;
compactableEndOrdinal: number;
p
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key