@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
18 lines • 966 B
TypeScript
import { type ActiveBlock } from "./compact-active-block.ts";
import type { CompactContentStore } from "./compact-content-store.ts";
import type { CompactBlockKind } from "./compact-transition.ts";
import { type ValueRef } from "./compact-values.ts";
export type SeededFields = Readonly<Record<string, ValueRef>>;
/** Candidate payloads remain owned until publication acquires them or rejection releases them. */
export declare class CompactSeededDraft {
readonly store: CompactContentStore;
private readonly values;
private readonly releases;
constructor(store: CompactContentStore);
/** `removeNull` reads a message-metadata change, where `null` removes the field. */
fields(value: object, previous?: SeededFields, removeNull?: boolean): SeededFields;
text(kind: CompactBlockKind, text?: string): ActiveBlock;
clone(block: ActiveBlock): ActiveBlock;
[Symbol.dispose](): void;
}
//# sourceMappingURL=compact-seeded-draft.d.ts.map