/** * Workflow lifecycle CLI commands (RD §4 — slice 4.0.8). * * Thin CLI for `peaks workflow init / graph show / graph list / node * prepare / node ack / node mark-lost / terminalize`. All commands * delegate to the canonical services. Each action emits the typed * envelope via `ok` / `fail` so the LLM runner can branch on `code`. * * The verb implementations live beside this file, one module per verb group: * `workflow-init-command.ts`, `workflow-graph-commands.ts`, * `workflow-node-commands.ts`, `workflow-terminalize-command.ts`, with the * option vocabulary and the caller / project / session derivation in * `workflow-command-shared.ts`. */ import type { Command } from 'commander'; import type { ProgramIO } from '../cli-helpers.js'; export type { WorkflowGraphListOptions, WorkflowGraphShowOptions, WorkflowInitOptions, WorkflowNodeAckOptions, WorkflowNodeMarkLostOptions, WorkflowNodePrepareOptions, WorkflowTerminalizeOptions } from './workflow-command-shared.js'; export { UNKNOWN_SESSION_ID } from './workflow-command-shared.js'; export declare function registerWorkflowLifecycleCommand(parent: Command, io: ProgramIO): void;