UNPKG

@code-yeongyu/senpi

Version:

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

29 lines • 1.22 kB
import type { CompactColdOperation } from "./compact-cold-operations.ts"; import type { SeededMessage } from "./compact-seeded-messages.ts"; import type { CompactPersistence } from "./compact-transition.ts"; /** * The four RULING-33 condition-2 flows that target settled messages. Each maps to ordered cold operations run after * acceptance, one typed outcome per operation; a live target answers `active_message` and stays the lane's * synchronous acceptance work (a live removal is the accepted `message_remove` transition). */ export type CompactColdFlow = { readonly type: "edit"; readonly messageId: string; readonly message: SeededMessage; } | { readonly type: "context_edit_removal"; readonly messageId: string; } | { readonly type: "compaction"; readonly removed: readonly string[]; } | { readonly type: "branch"; readonly removed: readonly string[]; readonly installed: readonly { readonly messageId: string; readonly message: SeededMessage; readonly persistence: CompactPersistence; }[]; }; export declare function coldFlowOperations(flow: CompactColdFlow): readonly CompactColdOperation[]; //# sourceMappingURL=compact-cold-flows.d.ts.map