/** * graph-command-spec — the declarative primary `graph` command (launch * Phase 5 Task 5.1). * * Replaces graph's hand-rolled `registerGraphCommand()` body: the host mounts * this spec via `mountCommandSpec`, applies the ADR-0021 common flags + graph's * own options, and invokes {@link runGraphCommand}. The tool no longer touches * Commander. * * `output: 'raw-stream'` because graph's handler owns its entire output surface — * it dispatches at runtime between the interactive Ink live view (TTY-only * default), a discovery-only `--list-files` short-circuit, the static * gate/json/render path, and the `--sarif` file write, then performs its own * cloud egress (`deliverSignals` / `--report-to`) and exit-code decision. None of * that is expressible through the `signal-envelope` dispatch arm (which only does * `emitEnvelope`/`render`), so the host renders nothing and the handler stays * authoritative — byte-identical to the former `registerGraphCommand` action * body. * * `--resolution` validation: the legacy action validated the raw string via * `parseResolutionMode` inside the body (a `ValidationError` on a typo). That * validation now lives in the declared `choices: ['exact', 'fast']` — the mount * layer enforces membership at parse time (Commander rejects an out-of-set value * before the handler runs), so the handler trusts the parsed value. */ import type { ToolCliContext } from '@opensip-cli/core'; /** * Live-view key graph contributes to the CLI's renderer registry. Owned by this * package — the CLI dispatcher does NOT key off this literal; each tool decides * its own live-view name. It matches the `graph` command name so the dispatcher's * `renderLive(key)` lookup reads naturally next to the command that triggers it. * * The renderer is registered lazily inside the interactive branch of the handler * via {@link setUpGraphLiveView} (the tool wires that callback in). */ export declare const GRAPH_LIVE_VIEW_KEY: string; /** * The declarative primary `graph` command (launch Phase 5 Task 5.1). * The host mounts this spec, applies the ADR-0021 common flags + graph's options * + the `[paths...]` variadic argument, and invokes {@link runGraphCommand}. */ export declare const graphCommandSpec: import("@opensip-cli/core").PrimaryCommandSpecDraft; //# sourceMappingURL=graph-command-spec.d.ts.map