/**
 * Generated by scripts/generate-public-surface-manifest.mjs.
 * Do not edit manually.
 */

import type {
  CommandHelpDetail,
  PublicSurfaceCliCommandGroupDefinition,
  PublicSurfaceCliCommandName,
  PublicSurfaceFlagName,
  PublicSurfaceManifest,
  ToolSurfaceEntry
} from "./source";

export const PUBLIC_SURFACE_MANIFEST_SCHEMA_VERSION = "2026-04-04" as const;
export const PUBLIC_SURFACE_MANIFEST_GENERATED_AT = "2026-05-20T18:36:56.052Z" as const;

export const PUBLIC_SURFACE_MANIFEST = {
  "schemaVersion": "2026-04-04",
  "generatedAt": "2026-05-20T18:36:56.052Z",
  "cli": {
    "groups": [
      {
        "id": "install_lifecycle",
        "title": "Install & Lifecycle",
        "summary": "Install, remove, and inspect CLI basics.",
        "commands": [
          "install",
          "update",
          "uninstall",
          "help",
          "version"
        ]
      },
      {
        "id": "daemon_runtime",
        "title": "Daemon & Runtime",
        "summary": "Run daemon services and single-process scripts.",
        "commands": [
          "serve",
          "daemon",
          "native",
          "run"
        ]
      },
      {
        "id": "session_lifecycle",
        "title": "Session Lifecycle",
        "summary": "Launch, connect, and manage browser session state.",
        "commands": [
          "launch",
          "connect",
          "disconnect",
          "status",
          "status-capabilities",
          "cookie-import",
          "cookie-list"
        ]
      },
      {
        "id": "provider_workflows",
        "title": "Provider Workflows",
        "summary": "Run research, shopping, media, and artifact workflows.",
        "commands": [
          "research",
          "shopping",
          "product-video",
          "inspiredesign",
          "artifacts",
          "macro-resolve"
        ]
      },
      {
        "id": "design_canvas",
        "title": "Design Canvas",
        "summary": "Execute typed /canvas commands for session, document, preview, and code-sync flows.",
        "commands": [
          "canvas"
        ]
      },
      {
        "id": "navigation",
        "title": "Navigation",
        "summary": "Move through pages and capture fresh refs.",
        "commands": [
          "goto",
          "wait",
          "snapshot",
          "review",
          "review-desktop"
        ]
      },
      {
        "id": "interaction",
        "title": "Interaction",
        "summary": "Perform ref-based interactions in the active page.",
        "commands": [
          "click",
          "hover",
          "press",
          "check",
          "uncheck",
          "type",
          "select",
          "scroll",
          "scroll-into-view",
          "upload",
          "pointer-move",
          "pointer-down",
          "pointer-up",
          "pointer-drag"
        ]
      },
      {
        "id": "targets_pages",
        "title": "Targets & Pages",
        "summary": "Manage tabs, targets, and named pages.",
        "commands": [
          "targets-list",
          "target-use",
          "target-new",
          "target-close",
          "page",
          "pages",
          "page-close"
        ]
      },
      {
        "id": "dom_export",
        "title": "DOM & Export",
        "summary": "Read DOM state and export page or component code.",
        "commands": [
          "dom-html",
          "dom-text",
          "dom-attr",
          "dom-value",
          "dom-visible",
          "dom-enabled",
          "dom-checked",
          "clone-page",
          "clone-component"
        ]
      },
      {
        "id": "diagnostics_annotation",
        "title": "Diagnostics & Annotation",
        "summary": "Collect session-centric diagnostics, trace proof, and annotation payloads.",
        "commands": [
          "session-inspector",
          "session-inspector-plan",
          "session-inspector-audit",
          "perf",
          "screenshot",
          "dialog",
          "console-poll",
          "network-poll",
          "debug-trace-snapshot",
          "annotate"
        ]
      },
      {
        "id": "browser_replay",
        "title": "Browser Replay",
        "summary": "Capture temporal replay artifacts through the public browser replay lane for a browser target.",
        "commands": [
          "screencast-start",
          "screencast-stop"
        ]
      },
      {
        "id": "desktop_observation",
        "title": "Desktop Observation",
        "summary": "Inspect the public read-only sibling desktop observation plane on macOS; availability, window inventory, and accessibility probes use the local swift command, while screenshots use macOS screencapture outside extension relay.",
        "commands": [
          "desktop-status",
          "desktop-windows",
          "desktop-active-window",
          "desktop-capture-desktop",
          "desktop-capture-window",
          "desktop-accessibility-snapshot"
        ]
      },
      {
        "id": "power",
        "title": "Power",
        "summary": "Unsafe internal daemon passthrough.",
        "commands": [
          "rpc"
        ]
      }
    ],
    "commands": [
      {
        "name": "install",
        "description": "Install the plugin and sync bundled skill packs",
        "usage": "npx opendevbrowser [--global|--local] [--with-config] [--full] [--skills-global|--skills-local|--no-skills] [--no-prompt] [--quiet]",
        "flags": [
          "--global",
          "--local",
          "--with-config",
          "--full",
          "--skills-global",
          "--skills-local",
          "--no-skills",
          "--no-prompt",
          "--quiet"
        ],
        "examples": [
          "npx opendevbrowser install --local --with-config --skills-local"
        ],
        "notes": [],
        "groupId": "install_lifecycle",
        "groupTitle": "Install & Lifecycle",
        "groupSummary": "Install, remove, and inspect CLI basics."
      },
      {
        "name": "update",
        "description": "Repair OpenCode package caches and refresh managed skill packs",
        "usage": "npx opendevbrowser update [--global|--local] [--skills-global|--skills-local|--no-skills]",
        "flags": [
          "--global",
          "--local",
          "--skills-global",
          "--skills-local",
          "--no-skills"
        ],
        "examples": [
          "npx opendevbrowser update --local --skills-local"
        ],
        "notes": [],
        "groupId": "install_lifecycle",
        "groupTitle": "Install & Lifecycle",
        "groupSummary": "Install, remove, and inspect CLI basics."
      },
      {
        "name": "uninstall",
        "description": "Remove plugin from config and clean managed skill packs",
        "usage": "npx opendevbrowser uninstall [--global|--local] [--no-skills] [--no-prompt] [--quiet]",
        "flags": [
          "--global",
          "--local",
          "--no-skills",
          "--no-prompt",
          "--quiet"
        ],
        "examples": [
          "npx opendevbrowser uninstall --local --no-skills --no-prompt"
        ],
        "notes": [],
        "groupId": "install_lifecycle",
        "groupTitle": "Install & Lifecycle",
        "groupSummary": "Install, remove, and inspect CLI basics."
      },
      {
        "name": "help",
        "description": "Show help",
        "usage": "npx opendevbrowser --help | npx opendevbrowser help",
        "flags": [
          "--help"
        ],
        "examples": [
          "npx opendevbrowser --help"
        ],
        "notes": [
          "Generated help is the canonical first-contact discovery surface and should stay source-owned."
        ],
        "groupId": "install_lifecycle",
        "groupTitle": "Install & Lifecycle",
        "groupSummary": "Install, remove, and inspect CLI basics."
      },
      {
        "name": "version",
        "description": "Show version",
        "usage": "npx opendevbrowser --version | npx opendevbrowser version",
        "flags": [
          "--version"
        ],
        "examples": [
          "npx opendevbrowser --version"
        ],
        "notes": [],
        "groupId": "install_lifecycle",
        "groupTitle": "Install & Lifecycle",
        "groupSummary": "Install, remove, and inspect CLI basics."
      },
      {
        "name": "serve",
        "description": "Start or stop the local daemon",
        "usage": "npx opendevbrowser serve [--port <port>] [--token <token>] [--stop]",
        "flags": [
          "--port",
          "--token",
          "--stop"
        ],
        "examples": [
          "npx opendevbrowser serve --port 8788 --token local-dev-token"
        ],
        "notes": [],
        "groupId": "daemon_runtime",
        "groupTitle": "Daemon & Runtime",
        "groupSummary": "Run daemon services and single-process scripts."
      },
      {
        "name": "daemon",
        "description": "Install/uninstall/status daemon auto-start",
        "usage": "npx opendevbrowser daemon <install|uninstall|status>",
        "flags": [
          "--output-format"
        ],
        "examples": [
          "npx opendevbrowser daemon status --output-format json"
        ],
        "notes": [],
        "groupId": "daemon_runtime",
        "groupTitle": "Daemon & Runtime",
        "groupSummary": "Run daemon services and single-process scripts."
      },
      {
        "name": "native",
        "description": "Install/uninstall/status native messaging host",
        "usage": "npx opendevbrowser native <install|uninstall|status> [extension-id]",
        "flags": [
          "--output-format"
        ],
        "examples": [
          "npx opendevbrowser native status --output-format json"
        ],
        "notes": [],
        "groupId": "daemon_runtime",
        "groupTitle": "Daemon & Runtime",
        "groupSummary": "Run daemon services and single-process scripts."
      },
      {
        "name": "run",
        "description": "Execute a JSON script in a single process",
        "usage": "npx opendevbrowser run --script <path> [--headless] [--profile <name>] [--persist-profile <bool>] [--chrome-path <path>] [--start-url <url>] [--flag <chrome-arg>]",
        "flags": [
          "--script",
          "--headless",
          "--profile",
          "--persist-profile",
          "--chrome-path",
          "--start-url",
          "--flag"
        ],
        "examples": [
          "npx opendevbrowser run --script ./workflow.json --headless --output-format json"
        ],
        "notes": [
          "One-shot run uses a temporary profile unless --persist-profile is explicitly enabled."
        ],
        "groupId": "daemon_runtime",
        "groupTitle": "Daemon & Runtime",
        "groupSummary": "Run daemon services and single-process scripts."
      },
      {
        "name": "launch",
        "description": "Launch a managed browser session via daemon",
        "usage": "npx opendevbrowser launch [--headless] [--profile <name>] [--persist-profile <bool>] [--chrome-path <path>] [--start-url <url>] [--flag <chrome-arg>] [--no-extension|--extension-only] [--extension-legacy] [--wait-for-extension] [--wait-timeout-ms <ms>]",
        "flags": [
          "--headless",
          "--profile",
          "--persist-profile",
          "--chrome-path",
          "--start-url",
          "--flag",
          "--no-extension",
          "--extension-only",
          "--extension-legacy",
          "--wait-for-extension",
          "--wait-timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser launch --no-extension --headless --start-url https://example.com --output-format json"
        ],
        "notes": [
          "Use --wait-for-extension when you need a clean daemon-extension handshake before the next step."
        ],
        "groupId": "session_lifecycle",
        "groupTitle": "Session Lifecycle",
        "groupSummary": "Launch, connect, and manage browser session state."
      },
      {
        "name": "connect",
        "description": "Connect to an existing browser via daemon",
        "usage": "npx opendevbrowser connect (--ws-endpoint <url> | --host <host> --cdp-port <port>) [--start-url <url>] [--extension-legacy]",
        "flags": [
          "--ws-endpoint",
          "--host",
          "--cdp-port",
          "--start-url",
          "--extension-legacy"
        ],
        "examples": [
          "npx opendevbrowser connect --host 127.0.0.1 --cdp-port 9222 --output-format json"
        ],
        "notes": [],
        "groupId": "session_lifecycle",
        "groupTitle": "Session Lifecycle",
        "groupSummary": "Launch, connect, and manage browser session state."
      },
      {
        "name": "disconnect",
        "description": "Disconnect a daemon session",
        "usage": "npx opendevbrowser disconnect --session-id <id> [--close-browser]",
        "flags": [
          "--session-id",
          "--close-browser"
        ],
        "examples": [
          "npx opendevbrowser disconnect --session-id s1 --close-browser --output-format json"
        ],
        "notes": [],
        "groupId": "session_lifecycle",
        "groupTitle": "Session Lifecycle",
        "groupSummary": "Launch, connect, and manage browser session state."
      },
      {
        "name": "status",
        "description": "Get daemon or session status",
        "usage": "npx opendevbrowser status [--session-id <id> | --daemon] [--transport <relay|native>]",
        "flags": [
          "--session-id",
          "--daemon",
          "--transport"
        ],
        "examples": [
          "npx opendevbrowser status --daemon --output-format json"
        ],
        "notes": [],
        "groupId": "session_lifecycle",
        "groupTitle": "Session Lifecycle",
        "groupSummary": "Launch, connect, and manage browser session state."
      },
      {
        "name": "status-capabilities",
        "description": "Inspect runtime capability discovery for the host and an optional session",
        "usage": "npx opendevbrowser status-capabilities [--session-id <id>] [--target-id <id>] [--challenge-automation-mode <mode>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--challenge-automation-mode",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser status-capabilities --session-id s1 --target-id page-1 --challenge-automation-mode browser_with_helper --timeout-ms 30000 --output-format json"
        ],
        "notes": [],
        "groupId": "session_lifecycle",
        "groupTitle": "Session Lifecycle",
        "groupSummary": "Launch, connect, and manage browser session state."
      },
      {
        "name": "cookie-import",
        "description": "Import validated cookies into a session",
        "usage": "npx opendevbrowser cookie-import --session-id <id> (--cookies <json> | --cookies-file <path>) [--strict <bool>]",
        "flags": [
          "--session-id",
          "--cookies",
          "--cookies-file",
          "--strict"
        ],
        "examples": [
          "npx opendevbrowser cookie-import --session-id s1 --cookies-file ./cookies.json --strict true --output-format json"
        ],
        "notes": [],
        "groupId": "session_lifecycle",
        "groupTitle": "Session Lifecycle",
        "groupSummary": "Launch, connect, and manage browser session state."
      },
      {
        "name": "cookie-list",
        "description": "List cookies for a session (optionally filtered by URL)",
        "usage": "npx opendevbrowser cookie-list --session-id <id> [--url <url>]",
        "flags": [
          "--session-id",
          "--url"
        ],
        "examples": [
          "npx opendevbrowser cookie-list --session-id s1 --url https://example.com --output-format json"
        ],
        "notes": [],
        "groupId": "session_lifecycle",
        "groupTitle": "Session Lifecycle",
        "groupSummary": "Launch, connect, and manage browser session state."
      },
      {
        "name": "research",
        "description": "Run research workflows",
        "usage": "npx opendevbrowser research run --topic <text> [--days <n>|--from <date> --to <date>] [--source-selection <family>] [--sources <csv>] [--include-engagement] [--limit-per-source <n>] [--browser-mode <mode>] [--mode <mode>] [--timeout-ms <ms>] [--output-dir <path>] [--ttl-hours <n>] [--use-cookies[=<bool>]] [--challenge-automation-mode <mode>] [--cookie-policy-override <policy>]",
        "flags": [
          "--topic",
          "--days",
          "--from",
          "--to",
          "--source-selection",
          "--sources",
          "--include-engagement",
          "--limit-per-source",
          "--browser-mode",
          "--mode",
          "--timeout-ms",
          "--output-dir",
          "--ttl-hours",
          "--use-cookies",
          "--challenge-automation-mode",
          "--cookie-policy-override",
          "--cookie-policy"
        ],
        "examples": [
          "npx opendevbrowser research run --topic \"Chrome extension debugging workflows\" --days 30 --sources web,community --browser-mode managed --mode json --output-format json"
        ],
        "notes": [
          "Load opendevbrowser-research first, use explicit source families such as --sources web,community, and inspect artifacts before final claims."
        ],
        "groupId": "provider_workflows",
        "groupTitle": "Provider Workflows",
        "groupSummary": "Run research, shopping, media, and artifact workflows."
      },
      {
        "name": "shopping",
        "description": "Run shopping workflows",
        "usage": "npx opendevbrowser shopping run --query <text> [--providers <csv>] [--budget <amount>] [--region <region>] [--browser-mode <mode>] [--sort <mode>] [--mode <mode>] [--timeout-ms <ms>] [--output-dir <path>] [--ttl-hours <n>] [--use-cookies[=<bool>]] [--challenge-automation-mode <mode>] [--cookie-policy-override <policy>]",
        "flags": [
          "--query",
          "--providers",
          "--budget",
          "--region",
          "--browser-mode",
          "--sort",
          "--mode",
          "--timeout-ms",
          "--output-dir",
          "--ttl-hours",
          "--use-cookies",
          "--challenge-automation-mode",
          "--cookie-policy-override",
          "--cookie-policy"
        ],
        "examples": [
          "npx opendevbrowser shopping run --query \"wireless ergonomic mouse\" --providers shopping/bestbuy,shopping/ebay --budget 150 --browser-mode managed --use-cookies --challenge-automation-mode browser_with_helper --mode json --output-format json"
        ],
        "notes": [
          "Treat --region as advisory unless the workflow output reports region_authoritative=true."
        ],
        "groupId": "provider_workflows",
        "groupTitle": "Provider Workflows",
        "groupSummary": "Run research, shopping, media, and artifact workflows."
      },
      {
        "name": "product-video",
        "description": "Run product presentation asset workflows",
        "usage": "npx opendevbrowser product-video run (--product-url <url> | --product-name <name>) [--provider-hint <provider>] [--include-screenshots[=<bool>]] [--include-all-images[=<bool>]] [--include-copy[=<bool>]] [--timeout-ms <ms>] [--browser-mode <mode>] [--use-cookies[=<bool>]] [--challenge-automation-mode <mode>] [--cookie-policy-override <policy>] [--output-dir <path>] [--ttl-hours <n>]",
        "flags": [
          "--product-url",
          "--product-name",
          "--provider-hint",
          "--include-screenshots",
          "--include-all-images",
          "--include-copy",
          "--timeout-ms",
          "--browser-mode",
          "--use-cookies",
          "--challenge-automation-mode",
          "--cookie-policy-override",
          "--cookie-policy",
          "--output-dir",
          "--ttl-hours"
        ],
        "examples": [
          "npx opendevbrowser product-video run --product-url \"https://example.com/p/1\" --browser-mode managed --use-cookies --challenge-automation-mode browser_with_helper --include-screenshots --output-format json"
        ],
        "notes": [
          "Confirm whether the returned pack is visual-ready or metadata-first before briefing production."
        ],
        "groupId": "provider_workflows",
        "groupTitle": "Provider Workflows",
        "groupSummary": "Run research, shopping, media, and artifact workflows."
      },
      {
        "name": "inspiredesign",
        "description": "Run inspiredesign workflows and visual reference harvests",
        "usage": "npx opendevbrowser inspiredesign run --brief <text> [--url <url>]... [--capture-mode <mode>] [--include-prototype-guidance[=<bool>]] [--mode <mode>] [--timeout-ms <ms>] [--output-dir <path>] [--ttl-hours <n>] [--browser-mode <mode>] [--use-cookies[=<bool>]] [--challenge-automation-mode <mode>] [--cookie-policy-override <policy>] | npx opendevbrowser inspiredesign harvest --brief <text> (--query <text> | --url <url>) [--provider <id>]... [--url <url>]... [--max-references <n>] [--visual-evidence <mode>] [--mode <mode>] [--timeout-ms <ms>] [--output-dir <path>] [--ttl-hours <n>] [--browser-mode <mode>] [--use-cookies[=<bool>]] [--challenge-automation-mode <mode>] [--cookie-policy-override <policy>]",
        "flags": [
          "--brief",
          "--query",
          "--provider",
          "--url",
          "--max-references",
          "--visual-evidence",
          "--capture-mode",
          "--include-prototype-guidance",
          "--mode",
          "--timeout-ms",
          "--output-dir",
          "--ttl-hours",
          "--browser-mode",
          "--use-cookies",
          "--challenge-automation-mode",
          "--cookie-policy-override",
          "--cookie-policy"
        ],
        "examples": [
          "npx opendevbrowser inspiredesign run --brief \"Extract a reusable dashboard design contract from live references\" --url https://linear.app --browser-mode managed --use-cookies --challenge-automation-mode browser_with_helper --include-prototype-guidance --output-dir /tmp/inspiredesign --output-format json",
          "npx opendevbrowser inspiredesign harvest --brief \"Synthesize a premium docs workspace\" --query \"best docs product landing pages\" --provider web/default --max-references 5 --visual-evidence required --browser-mode managed --output-format json",
          "npx opendevbrowser inspiredesign harvest --brief \"Premium digital photography studio landing page\" --query \"Pinterest premium digital photography studio landing page cinematic parallax portfolio\" --provider social/pinterest --max-references 5 --visual-evidence required --browser-mode extension --use-cookies --cookie-policy required --challenge-automation-mode browser_with_helper --mode json --output-format json"
        ],
        "notes": [
          "Any inspiredesign --url forces deep capture for DOM/layout evidence; without URLs, --capture-mode defaults to off.",
          "Repeat --url for multiple references. There is no --urls alias.",
          "inspiredesign harvest keeps the daemon method as inspiredesign.run, requires --query or at least one --url, defaults to path output, requires visual evidence, and caps discovery at 5 references unless --max-references changes it.",
          "Inspect nextStepGuidance.readiness before continuing. Only readiness=ready makes Canvas continuation the primary action.",
          "Do not proceed when nextStepGuidance.doNotProceedIf matches zero references, empty ranked references, missing required screenshots, provider unavailability, or diagnostic-only captures.",
          "Pinterest is modeled as a browser-native site recipe for social/pinterest, not as a default full social provider. Use extension mode, cookies, and recovery-first guidance when session evidence is not ready.",
          "Harvest JSON is metadata-only: screenshots are artifact PNG files referenced by relative paths, hashes, viewport metadata, and warnings.",
          "Load opendevbrowser-motion-design before turning harvest motion posture into implementation timing, scroll choreography, reduced-motion behavior, or temporal proof."
        ],
        "groupId": "provider_workflows",
        "groupTitle": "Provider Workflows",
        "groupSummary": "Run research, shopping, media, and artifact workflows."
      },
      {
        "name": "artifacts",
        "description": "Manage workflow artifact lifecycle",
        "usage": "npx opendevbrowser artifacts cleanup [--expired-only] [--output-dir <path>]",
        "flags": [
          "--expired-only",
          "--output-dir"
        ],
        "examples": [
          "npx opendevbrowser artifacts cleanup --expired-only --output-dir /tmp/opendevbrowser --output-format json"
        ],
        "notes": [],
        "groupId": "provider_workflows",
        "groupTitle": "Provider Workflows",
        "groupSummary": "Run research, shopping, media, and artifact workflows."
      },
      {
        "name": "macro-resolve",
        "description": "Resolve or execute a macro expression via provider actions",
        "usage": "npx opendevbrowser macro-resolve --expression <macro> [--default-provider <provider>] [--include-catalog] [--execute [--timeout-ms <ms>] [--browser-mode <mode>] [--use-cookies[=<bool>]] [--challenge-automation-mode <mode>] [--cookie-policy-override <policy>]]",
        "flags": [
          "--expression",
          "--default-provider",
          "--include-catalog",
          "--execute",
          "--timeout-ms",
          "--browser-mode",
          "--use-cookies",
          "--challenge-automation-mode",
          "--cookie-policy-override",
          "--cookie-policy"
        ],
        "examples": [
          "npx opendevbrowser macro-resolve --expression '@community.search(\"browser automation failures\", 4)' --execute --browser-mode extension --use-cookies --cookie-policy required --challenge-automation-mode browser_with_helper --output-format json"
        ],
        "notes": [
          "Use --browser-mode and --challenge-automation-mode only with --execute.",
          "Use --browser-mode extension --use-cookies --cookie-policy required when provider macros must reuse relay-backed browser state and verify that provider cookies are observable.",
          "When --execute is enabled, inspect execution.meta.blocker before trusting a blocked result as complete."
        ],
        "groupId": "provider_workflows",
        "groupTitle": "Provider Workflows",
        "groupSummary": "Run research, shopping, media, and artifact workflows."
      },
      {
        "name": "canvas",
        "description": "Execute a design-canvas command",
        "usage": "npx opendevbrowser canvas --command <canvas.command> [--params <json> | --params-file <path>] [--timeout-ms <ms>] [--output-format json]",
        "flags": [
          "--command",
          "--params",
          "--params-file",
          "--timeout-ms",
          "--output-format"
        ],
        "examples": [
          "npx opendevbrowser canvas --command canvas.session.open --params '{\"label\":\"design review\"}' --timeout-ms 120000 --output-format json",
          "npx opendevbrowser canvas --command canvas.plan.set --params-file ./canvas-plan.request.json --output-format json"
        ],
        "notes": [
          "Use --params-file for strict request envelopes such as canvas.plan.set or governance handoff payloads.",
          "Canvas guidance preserves guidance.recommendedNextCommands and adds nextStepGuidance, paramsExamples, fieldExamples, validationChecks, and doNotProceedIf when a repair envelope exists.",
          "For generation_plan_invalid or missing session identifiers, follow returned paramsExamples before retrying canvas.plan.set."
        ],
        "groupId": "design_canvas",
        "groupTitle": "Design Canvas",
        "groupSummary": "Execute typed /canvas commands for session, document, preview, and code-sync flows."
      },
      {
        "name": "goto",
        "description": "Navigate current session to a URL",
        "usage": "npx opendevbrowser goto --session-id <id> --url <url> [--wait-until <state>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--url",
          "--wait-until",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser goto --session-id s1 --url https://example.com --wait-until networkidle --output-format json"
        ],
        "notes": [],
        "groupId": "navigation",
        "groupTitle": "Navigation",
        "groupSummary": "Move through pages and capture fresh refs."
      },
      {
        "name": "wait",
        "description": "Wait for load or a ref to appear",
        "usage": "npx opendevbrowser wait --session-id <id> [--ref <ref>] [--state <state>|--until <condition>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--ref",
          "--state",
          "--until",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser wait --session-id s1 --state networkidle --timeout-ms 30000 --output-format json"
        ],
        "notes": [],
        "groupId": "navigation",
        "groupTitle": "Navigation",
        "groupSummary": "Move through pages and capture fresh refs."
      },
      {
        "name": "snapshot",
        "description": "Capture a snapshot of the active page",
        "usage": "npx opendevbrowser snapshot --session-id <id> [--mode <mode>] [--max-chars <n>] [--cursor <cursor>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--mode",
          "--max-chars",
          "--cursor",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser snapshot --session-id s1 --mode actionables --max-chars 4000 --output-format json"
        ],
        "notes": [],
        "groupId": "navigation",
        "groupTitle": "Navigation",
        "groupSummary": "Move through pages and capture fresh refs."
      },
      {
        "name": "review",
        "description": "Capture a first-class review payload for the active page",
        "usage": "npx opendevbrowser review --session-id <id> [--target-id <id>] [--max-chars <n>] [--cursor <cursor>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--max-chars",
          "--cursor",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser review --session-id s1 --target-id page-1 --output-format json"
        ],
        "notes": [],
        "groupId": "navigation",
        "groupTitle": "Navigation",
        "groupSummary": "Move through pages and capture fresh refs."
      },
      {
        "name": "review-desktop",
        "description": "Capture desktop-assisted browser review with read-only desktop evidence",
        "usage": "npx opendevbrowser review-desktop --session-id <id> [--target-id <id>] [--reason <text>] [--max-chars <n>] [--cursor <cursor>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--reason",
          "--max-chars",
          "--cursor",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser review-desktop --session-id s1 --reason \"trace challenge state\" --output-format json"
        ],
        "notes": [],
        "groupId": "navigation",
        "groupTitle": "Navigation",
        "groupSummary": "Move through pages and capture fresh refs."
      },
      {
        "name": "click",
        "description": "Click an element by ref",
        "usage": "npx opendevbrowser click --session-id <id> --ref <ref> [--target-id <id>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--ref",
          "--target-id",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser click --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "hover",
        "description": "Hover an element by ref",
        "usage": "npx opendevbrowser hover --session-id <id> --ref <ref>",
        "flags": [
          "--session-id",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser hover --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "press",
        "description": "Press a keyboard key",
        "usage": "npx opendevbrowser press --session-id <id> --key <key> [--ref <ref>]",
        "flags": [
          "--session-id",
          "--key",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser press --session-id s1 --key Enter --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "check",
        "description": "Check a checkbox by ref",
        "usage": "npx opendevbrowser check --session-id <id> --ref <ref>",
        "flags": [
          "--session-id",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser check --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "uncheck",
        "description": "Uncheck a checkbox by ref",
        "usage": "npx opendevbrowser uncheck --session-id <id> --ref <ref>",
        "flags": [
          "--session-id",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser uncheck --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "type",
        "description": "Type into an element by ref",
        "usage": "npx opendevbrowser type --session-id <id> --ref <ref> --text <text> [--clear] [--submit]",
        "flags": [
          "--session-id",
          "--ref",
          "--text",
          "--clear",
          "--submit"
        ],
        "examples": [
          "npx opendevbrowser type --session-id s1 --ref r12 --text \"agent@example.com\" --clear --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "select",
        "description": "Select values in a select by ref",
        "usage": "npx opendevbrowser select --session-id <id> --ref <ref> --values <csv>",
        "flags": [
          "--session-id",
          "--ref",
          "--values"
        ],
        "examples": [
          "npx opendevbrowser select --session-id s1 --ref r12 --values us,ca --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "scroll",
        "description": "Scroll the page or element by ref",
        "usage": "npx opendevbrowser scroll --session-id <id> --dy <pixels> [--ref <ref>]",
        "flags": [
          "--session-id",
          "--dy",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser scroll --session-id s1 --dy 1000 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "scroll-into-view",
        "description": "Scroll an element into view by ref",
        "usage": "npx opendevbrowser scroll-into-view --session-id <id> --ref <ref>",
        "flags": [
          "--session-id",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser scroll-into-view --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "upload",
        "description": "Upload files to a file input or chooser by ref",
        "usage": "npx opendevbrowser upload --session-id <id> --ref <ref> --files <csv> [--target-id <id>]",
        "flags": [
          "--session-id",
          "--ref",
          "--files",
          "--target-id"
        ],
        "examples": [
          "npx opendevbrowser upload --session-id s1 --ref r12 --files ./draft.pdf,./hero.png --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "pointer-move",
        "description": "Move the pointer to viewport coordinates",
        "usage": "npx opendevbrowser pointer-move --session-id <id> --x <n> --y <n> [--steps <n>] [--target-id <id>]",
        "flags": [
          "--session-id",
          "--x",
          "--y",
          "--steps",
          "--target-id"
        ],
        "examples": [
          "npx opendevbrowser pointer-move --session-id s1 --x 320 --y 240 --steps 12 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "pointer-down",
        "description": "Press a mouse button at viewport coordinates",
        "usage": "npx opendevbrowser pointer-down --session-id <id> --x <n> --y <n> [--button <left|middle|right>] [--click-count <n>] [--target-id <id>]",
        "flags": [
          "--session-id",
          "--x",
          "--y",
          "--button",
          "--click-count",
          "--target-id"
        ],
        "examples": [
          "npx opendevbrowser pointer-down --session-id s1 --x 320 --y 240 --button left --click-count 1 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "pointer-up",
        "description": "Release a mouse button at viewport coordinates",
        "usage": "npx opendevbrowser pointer-up --session-id <id> --x <n> --y <n> [--button <left|middle|right>] [--click-count <n>] [--target-id <id>]",
        "flags": [
          "--session-id",
          "--x",
          "--y",
          "--button",
          "--click-count",
          "--target-id"
        ],
        "examples": [
          "npx opendevbrowser pointer-up --session-id s1 --x 320 --y 240 --button left --click-count 1 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "pointer-drag",
        "description": "Drag the pointer between two viewport coordinates",
        "usage": "npx opendevbrowser pointer-drag --session-id <id> --from-x <n> --from-y <n> --to-x <n> --to-y <n> [--steps <n>] [--target-id <id>]",
        "flags": [
          "--session-id",
          "--from-x",
          "--from-y",
          "--to-x",
          "--to-y",
          "--steps",
          "--target-id"
        ],
        "examples": [
          "npx opendevbrowser pointer-drag --session-id s1 --from-x 320 --from-y 240 --to-x 640 --to-y 240 --steps 18 --output-format json"
        ],
        "notes": [],
        "groupId": "interaction",
        "groupTitle": "Interaction",
        "groupSummary": "Perform ref-based interactions in the active page."
      },
      {
        "name": "targets-list",
        "description": "List page targets",
        "usage": "npx opendevbrowser targets-list --session-id <id> [--include-urls]",
        "flags": [
          "--session-id",
          "--include-urls"
        ],
        "examples": [
          "npx opendevbrowser targets-list --session-id s1 --include-urls --output-format json"
        ],
        "notes": [],
        "groupId": "targets_pages",
        "groupTitle": "Targets & Pages",
        "groupSummary": "Manage tabs, targets, and named pages."
      },
      {
        "name": "target-use",
        "description": "Focus a target by id",
        "usage": "npx opendevbrowser target-use --session-id <id> --target-id <id>",
        "flags": [
          "--session-id",
          "--target-id"
        ],
        "examples": [
          "npx opendevbrowser target-use --session-id s1 --target-id page-2 --output-format json"
        ],
        "notes": [],
        "groupId": "targets_pages",
        "groupTitle": "Targets & Pages",
        "groupSummary": "Manage tabs, targets, and named pages."
      },
      {
        "name": "target-new",
        "description": "Open a new target",
        "usage": "npx opendevbrowser target-new --session-id <id> [--url <url>]",
        "flags": [
          "--session-id",
          "--url"
        ],
        "examples": [
          "npx opendevbrowser target-new --session-id s1 --url https://example.com/docs --output-format json"
        ],
        "notes": [],
        "groupId": "targets_pages",
        "groupTitle": "Targets & Pages",
        "groupSummary": "Manage tabs, targets, and named pages."
      },
      {
        "name": "target-close",
        "description": "Close a target by id",
        "usage": "npx opendevbrowser target-close --session-id <id> --target-id <id>",
        "flags": [
          "--session-id",
          "--target-id"
        ],
        "examples": [
          "npx opendevbrowser target-close --session-id s1 --target-id page-2 --output-format json"
        ],
        "notes": [],
        "groupId": "targets_pages",
        "groupTitle": "Targets & Pages",
        "groupSummary": "Manage tabs, targets, and named pages."
      },
      {
        "name": "page",
        "description": "Open or focus a named page",
        "usage": "npx opendevbrowser page --session-id <id> --name <page> [--url <url>]",
        "flags": [
          "--session-id",
          "--name",
          "--url"
        ],
        "examples": [
          "npx opendevbrowser page --session-id s1 --name settings --url https://example.com/settings --output-format json"
        ],
        "notes": [],
        "groupId": "targets_pages",
        "groupTitle": "Targets & Pages",
        "groupSummary": "Manage tabs, targets, and named pages."
      },
      {
        "name": "pages",
        "description": "List named pages",
        "usage": "npx opendevbrowser pages --session-id <id>",
        "flags": [
          "--session-id"
        ],
        "examples": [
          "npx opendevbrowser pages --session-id s1 --output-format json"
        ],
        "notes": [],
        "groupId": "targets_pages",
        "groupTitle": "Targets & Pages",
        "groupSummary": "Manage tabs, targets, and named pages."
      },
      {
        "name": "page-close",
        "description": "Close a named page",
        "usage": "npx opendevbrowser page-close --session-id <id> --name <page>",
        "flags": [
          "--session-id",
          "--name"
        ],
        "examples": [
          "npx opendevbrowser page-close --session-id s1 --name settings --output-format json"
        ],
        "notes": [],
        "groupId": "targets_pages",
        "groupTitle": "Targets & Pages",
        "groupSummary": "Manage tabs, targets, and named pages."
      },
      {
        "name": "dom-html",
        "description": "Capture HTML for a ref",
        "usage": "npx opendevbrowser dom-html --session-id <id> [--ref <ref>] [--max-chars <n>]",
        "flags": [
          "--session-id",
          "--ref",
          "--max-chars"
        ],
        "examples": [
          "npx opendevbrowser dom-html --session-id s1 --ref r12 --max-chars 2000 --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "dom-text",
        "description": "Capture text for a ref",
        "usage": "npx opendevbrowser dom-text --session-id <id> [--ref <ref>] [--max-chars <n>]",
        "flags": [
          "--session-id",
          "--ref",
          "--max-chars"
        ],
        "examples": [
          "npx opendevbrowser dom-text --session-id s1 --ref r12 --max-chars 500 --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "dom-attr",
        "description": "Capture attribute value for a ref",
        "usage": "npx opendevbrowser dom-attr --session-id <id> --ref <ref> --attr <name>",
        "flags": [
          "--session-id",
          "--ref",
          "--attr"
        ],
        "examples": [
          "npx opendevbrowser dom-attr --session-id s1 --ref r12 --attr aria-label --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "dom-value",
        "description": "Capture input value for a ref",
        "usage": "npx opendevbrowser dom-value --session-id <id> --ref <ref>",
        "flags": [
          "--session-id",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser dom-value --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "dom-visible",
        "description": "Check visibility for a ref",
        "usage": "npx opendevbrowser dom-visible --session-id <id> --ref <ref>",
        "flags": [
          "--session-id",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser dom-visible --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "dom-enabled",
        "description": "Check enabled state for a ref",
        "usage": "npx opendevbrowser dom-enabled --session-id <id> --ref <ref>",
        "flags": [
          "--session-id",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser dom-enabled --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "dom-checked",
        "description": "Check checked state for a ref",
        "usage": "npx opendevbrowser dom-checked --session-id <id> --ref <ref>",
        "flags": [
          "--session-id",
          "--ref"
        ],
        "examples": [
          "npx opendevbrowser dom-checked --session-id s1 --ref r12 --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "clone-page",
        "description": "Clone the active page to React",
        "usage": "npx opendevbrowser clone-page --session-id <id> [--target-id <id>] [--path <file>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--path"
        ],
        "examples": [
          "npx opendevbrowser clone-page --session-id s1 --target-id page-1 --path ./exports/page.tsx --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "clone-component",
        "description": "Clone a component by ref",
        "usage": "npx opendevbrowser clone-component --session-id <id> --ref <ref> [--target-id <id>] [--path <file>]",
        "flags": [
          "--session-id",
          "--ref",
          "--target-id",
          "--path"
        ],
        "examples": [
          "npx opendevbrowser clone-component --session-id s1 --ref r12 --path ./exports/component.tsx --output-format json"
        ],
        "notes": [],
        "groupId": "dom_export",
        "groupTitle": "DOM & Export",
        "groupSummary": "Read DOM state and export page or component code."
      },
      {
        "name": "session-inspector",
        "description": "Capture a session-first diagnostic summary with relay health and trace proof",
        "usage": "npx opendevbrowser session-inspector --session-id <id> [--include-urls] [--since-console-seq <n>] [--since-network-seq <n>] [--since-exception-seq <n>] [--max <n>] [--request-id <id>]",
        "flags": [
          "--session-id",
          "--include-urls",
          "--since-console-seq",
          "--since-network-seq",
          "--since-exception-seq",
          "--max",
          "--request-id"
        ],
        "examples": [
          "npx opendevbrowser session-inspector --session-id s1 --include-urls --max 20 --output-format json"
        ],
        "notes": [],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "session-inspector-plan",
        "description": "Inspect browser-scoped computer-use policy and safe suggested steps",
        "usage": "npx opendevbrowser session-inspector-plan --session-id <id> [--target-id <id>] [--challenge-automation-mode <mode>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--challenge-automation-mode",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser session-inspector-plan --session-id s1 --target-id page-1 --challenge-automation-mode browser_with_helper --output-format json"
        ],
        "notes": [
          "Inspect browser-scoped challenge automation before enabling browser_with_helper on a live rerun."
        ],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "session-inspector-audit",
        "description": "Capture a correlated audit bundle across desktop evidence, browser review, and policy state",
        "usage": "npx opendevbrowser session-inspector-audit --session-id <id> [--target-id <id>] [--reason <text>] [--max-chars <n>] [--cursor <cursor>] [--include-urls] [--since-console-seq <n>] [--since-network-seq <n>] [--since-exception-seq <n>] [--max <n>] [--request-id <id>] [--challenge-automation-mode <mode>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--reason",
          "--max-chars",
          "--cursor",
          "--include-urls",
          "--since-console-seq",
          "--since-network-seq",
          "--since-exception-seq",
          "--max",
          "--request-id",
          "--challenge-automation-mode",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser session-inspector-audit --session-id s1 --target-id page-1 --reason \"trace challenge state\" --include-urls --request-id req-session-audit-001 --challenge-automation-mode browser_with_helper --output-format json"
        ],
        "notes": [
          "Audit mode is the quickest correlated proof lane when you need desktop evidence plus browser trace state."
        ],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "perf",
        "description": "Capture performance metrics",
        "usage": "npx opendevbrowser perf --session-id <id>",
        "flags": [
          "--session-id"
        ],
        "examples": [
          "npx opendevbrowser perf --session-id s1 --output-format json"
        ],
        "notes": [],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "screenshot",
        "description": "Capture a screenshot",
        "usage": "npx opendevbrowser screenshot --session-id <id> [--target-id <id>] [--path <file>] [--ref <ref> | --full-page] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--path",
          "--ref",
          "--full-page",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser screenshot --session-id s1 --path ./artifacts/page.png --full-page --output-format json"
        ],
        "notes": [],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "dialog",
        "description": "Inspect or handle a JavaScript dialog",
        "usage": "npx opendevbrowser dialog --session-id <id> [--target-id <id>] [--action <status|accept|dismiss>] [--prompt-text <text>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--action",
          "--prompt-text",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser dialog --session-id s1 --action status --output-format json"
        ],
        "notes": [],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "console-poll",
        "description": "Poll console events",
        "usage": "npx opendevbrowser console-poll --session-id <id> [--since-seq <n>] [--max <n>]",
        "flags": [
          "--session-id",
          "--since-seq",
          "--max"
        ],
        "examples": [
          "npx opendevbrowser console-poll --session-id s1 --max 50 --output-format json"
        ],
        "notes": [],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "network-poll",
        "description": "Poll network events",
        "usage": "npx opendevbrowser network-poll --session-id <id> [--since-seq <n>] [--max <n>]",
        "flags": [
          "--session-id",
          "--since-seq",
          "--max"
        ],
        "examples": [
          "npx opendevbrowser network-poll --session-id s1 --max 50 --output-format json"
        ],
        "notes": [],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "debug-trace-snapshot",
        "description": "Capture page + console + network + exception diagnostics",
        "usage": "npx opendevbrowser debug-trace-snapshot --session-id <id> [--since-console-seq <n>] [--since-network-seq <n>] [--since-exception-seq <n>] [--max <n>] [--request-id <id>]",
        "flags": [
          "--session-id",
          "--since-console-seq",
          "--since-network-seq",
          "--since-exception-seq",
          "--max",
          "--request-id"
        ],
        "examples": [
          "npx opendevbrowser debug-trace-snapshot --session-id s1 --max 50 --request-id req-trace-001 --output-format json"
        ],
        "notes": [],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "annotate",
        "description": "Request interactive annotations via direct or relay transport",
        "usage": "npx opendevbrowser annotate --session-id <id> [--url <url>] [--transport <auto|direct|relay>] [--target-id <id>] [--tab-id <tab>] [--screenshot-mode <visible|full|none>] [--context <text>] [--debug] [--stored] [--include-screenshots <bool>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--url",
          "--transport",
          "--target-id",
          "--tab-id",
          "--screenshot-mode",
          "--context",
          "--debug",
          "--stored",
          "--include-screenshots",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser annotate --session-id s1 --transport auto --context \"review call to action spacing\" --include-screenshots true --output-format json"
        ],
        "notes": [
          "Use --stored when you want the last delivered annotation payload without starting a new capture."
        ],
        "groupId": "diagnostics_annotation",
        "groupTitle": "Diagnostics & Annotation",
        "groupSummary": "Collect session-centric diagnostics, trace proof, and annotation payloads."
      },
      {
        "name": "screencast-start",
        "description": "Start a browser replay screencast capture",
        "usage": "npx opendevbrowser screencast-start --session-id <id> [--target-id <id>] [--output-dir <path>] [--interval-ms <ms>] [--max-frames <n>] [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--target-id",
          "--output-dir",
          "--interval-ms",
          "--max-frames",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser screencast-start --session-id s1 --output-dir ./artifacts/replay --interval-ms 750 --max-frames 40 --output-format json"
        ],
        "notes": [],
        "groupId": "browser_replay",
        "groupTitle": "Browser Replay",
        "groupSummary": "Capture temporal replay artifacts through the public browser replay lane for a browser target."
      },
      {
        "name": "screencast-stop",
        "description": "Stop a browser replay screencast capture",
        "usage": "npx opendevbrowser screencast-stop --session-id <id> --screencast-id <id> [--timeout-ms <ms>]",
        "flags": [
          "--session-id",
          "--screencast-id",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser screencast-stop --session-id s1 --screencast-id cast-1 --output-format json"
        ],
        "notes": [],
        "groupId": "browser_replay",
        "groupTitle": "Browser Replay",
        "groupSummary": "Capture temporal replay artifacts through the public browser replay lane for a browser target."
      },
      {
        "name": "desktop-status",
        "description": "Inspect public read-only desktop observation availability",
        "usage": "npx opendevbrowser desktop-status [--timeout-ms <ms>]",
        "flags": [
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser desktop-status --timeout-ms 5000 --output-format json"
        ],
        "notes": [],
        "groupId": "desktop_observation",
        "groupTitle": "Desktop Observation",
        "groupSummary": "Inspect the public read-only sibling desktop observation plane on macOS; availability, window inventory, and accessibility probes use the local swift command, while screenshots use macOS screencapture outside extension relay."
      },
      {
        "name": "desktop-windows",
        "description": "List windows exposed by the public read-only desktop observation plane",
        "usage": "npx opendevbrowser desktop-windows [--reason <text>] [--timeout-ms <ms>]",
        "flags": [
          "--reason",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser desktop-windows --reason \"inventory browser-adjacent windows\" --output-format json"
        ],
        "notes": [],
        "groupId": "desktop_observation",
        "groupTitle": "Desktop Observation",
        "groupSummary": "Inspect the public read-only sibling desktop observation plane on macOS; availability, window inventory, and accessibility probes use the local swift command, while screenshots use macOS screencapture outside extension relay."
      },
      {
        "name": "desktop-active-window",
        "description": "Inspect the active window through the public read-only desktop observation plane",
        "usage": "npx opendevbrowser desktop-active-window [--reason <text>] [--timeout-ms <ms>]",
        "flags": [
          "--reason",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser desktop-active-window --reason \"capture active browser context\" --output-format json"
        ],
        "notes": [],
        "groupId": "desktop_observation",
        "groupTitle": "Desktop Observation",
        "groupSummary": "Inspect the public read-only sibling desktop observation plane on macOS; availability, window inventory, and accessibility probes use the local swift command, while screenshots use macOS screencapture outside extension relay."
      },
      {
        "name": "desktop-capture-desktop",
        "description": "Capture the current desktop surface through the public read-only desktop observation plane",
        "usage": "npx opendevbrowser desktop-capture-desktop --reason <text> [--timeout-ms <ms>]",
        "flags": [
          "--reason",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser desktop-capture-desktop --reason \"capture login checkpoint state\" --output-format json"
        ],
        "notes": [],
        "groupId": "desktop_observation",
        "groupTitle": "Desktop Observation",
        "groupSummary": "Inspect the public read-only sibling desktop observation plane on macOS; availability, window inventory, and accessibility probes use the local swift command, while screenshots use macOS screencapture outside extension relay."
      },
      {
        "name": "desktop-capture-window",
        "description": "Capture a specific window through the public read-only desktop observation plane",
        "usage": "npx opendevbrowser desktop-capture-window --window-id <id> --reason <text> [--timeout-ms <ms>]",
        "flags": [
          "--window-id",
          "--reason",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser desktop-capture-window --window-id 101 --reason \"capture browser window\" --output-format json"
        ],
        "notes": [],
        "groupId": "desktop_observation",
        "groupTitle": "Desktop Observation",
        "groupSummary": "Inspect the public read-only sibling desktop observation plane on macOS; availability, window inventory, and accessibility probes use the local swift command, while screenshots use macOS screencapture outside extension relay."
      },
      {
        "name": "desktop-accessibility-snapshot",
        "description": "Capture desktop accessibility state through the public read-only desktop observation plane",
        "usage": "npx opendevbrowser desktop-accessibility-snapshot --reason <text> [--window-id <id>] [--timeout-ms <ms>]",
        "flags": [
          "--reason",
          "--window-id",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser desktop-accessibility-snapshot --reason \"inspect current browser-adjacent labels\" --window-id 101 --output-format json"
        ],
        "notes": [],
        "groupId": "desktop_observation",
        "groupTitle": "Desktop Observation",
        "groupSummary": "Inspect the public read-only sibling desktop observation plane on macOS; availability, window inventory, and accessibility probes use the local swift command, while screenshots use macOS screencapture outside extension relay."
      },
      {
        "name": "rpc",
        "description": "Execute an internal daemon RPC command (power-user)",
        "usage": "npx opendevbrowser rpc --unsafe-internal --name <daemon.command> [--params <json> | --params-file <path>] [--timeout-ms <ms>]",
        "flags": [
          "--unsafe-internal",
          "--name",
          "--params",
          "--params-file",
          "--timeout-ms"
        ],
        "examples": [
          "npx opendevbrowser rpc --unsafe-internal --name browser.status --params-file ./rpc-params.json --output-format json"
        ],
        "notes": [],
        "groupId": "power",
        "groupTitle": "Power",
        "groupSummary": "Unsafe internal daemon passthrough."
      }
    ],
    "flags": [
      {
        "name": "--global",
        "kind": "boolean"
      },
      {
        "name": "--local",
        "kind": "boolean"
      },
      {
        "name": "--update",
        "kind": "boolean"
      },
      {
        "name": "--uninstall",
        "kind": "boolean"
      },
      {
        "name": "--help",
        "kind": "boolean"
      },
      {
        "name": "--version",
        "kind": "boolean"
      },
      {
        "name": "--with-config",
        "kind": "boolean"
      },
      {
        "name": "--no-prompt",
        "kind": "boolean"
      },
      {
        "name": "--no-interactive",
        "kind": "boolean"
      },
      {
        "name": "--quiet",
        "kind": "boolean"
      },
      {
        "name": "--output-format",
        "kind": "value"
      },
      {
        "name": "--full",
        "kind": "boolean"
      },
      {
        "name": "--port",
        "kind": "boolean"
      },
      {
        "name": "--token",
        "kind": "boolean"
      },
      {
        "name": "--stop",
        "kind": "boolean"
      },
      {
        "name": "--script",
        "kind": "boolean"
      },
      {
        "name": "--headless",
        "kind": "boolean"
      },
      {
        "name": "--profile",
        "kind": "boolean"
      },
      {
        "name": "--persist-profile",
        "kind": "value"
      },
      {
        "name": "--chrome-path",
        "kind": "boolean"
      },
      {
        "name": "--start-url",
        "kind": "boolean"
      },
      {
        "name": "--flag",
        "kind": "boolean"
      },
      {
        "name": "--session-id",
        "kind": "value"
      },
      {
        "name": "--close-browser",
        "kind": "boolean"
      },
      {
        "name": "--ws-endpoint",
        "kind": "boolean"
      },
      {
        "name": "--host",
        "kind": "boolean"
      },
      {
        "name": "--cdp-port",
        "kind": "boolean"
      },
      {
        "name": "--url",
        "kind": "value"
      },
      {
        "name": "--wait-until",
        "kind": "boolean"
      },
      {
        "name": "--timeout-ms",
        "kind": "value"
      },
      {
        "name": "--ref",
        "kind": "value"
      },
      {
        "name": "--state",
        "kind": "boolean"
      },
      {
        "name": "--until",
        "kind": "boolean"
      },
      {
        "name": "--mode",
        "kind": "value"
      },
      {
        "name": "--max-chars",
        "kind": "value"
      },
      {
        "name": "--cursor",
        "kind": "value"
      },
      {
        "name": "--text",
        "kind": "boolean"
      },
      {
        "name": "--clear",
        "kind": "boolean"
      },
      {
        "name": "--submit",
        "kind": "boolean"
      },
      {
        "name": "--values",
        "kind": "boolean"
      },
      {
        "name": "--files",
        "kind": "value"
      },
      {
        "name": "--dy",
        "kind": "value"
      },
      {
        "name": "--key",
        "kind": "boolean"
      },
      {
        "name": "--attr",
        "kind": "boolean"
      },
      {
        "name": "--x",
        "kind": "value"
      },
      {
        "name": "--y",
        "kind": "value"
      },
      {
        "name": "--from-x",
        "kind": "value"
      },
      {
        "name": "--from-y",
        "kind": "value"
      },
      {
        "name": "--to-x",
        "kind": "value"
      },
      {
        "name": "--to-y",
        "kind": "value"
      },
      {
        "name": "--steps",
        "kind": "value"
      },
      {
        "name": "--button",
        "kind": "value"
      },
      {
        "name": "--click-count",
        "kind": "value"
      },
      {
        "name": "--name",
        "kind": "value"
      },
      {
        "name": "--target-id",
        "kind": "value"
      },
      {
        "name": "--window-id",
        "kind": "value"
      },
      {
        "name": "--tab-id",
        "kind": "value"
      },
      {
        "name": "--include-urls",
        "kind": "boolean"
      },
      {
        "name": "--path",
        "kind": "value"
      },
      {
        "name": "--screencast-id",
        "kind": "value"
      },
      {
        "name": "--reason",
        "kind": "value"
      },
      {
        "name": "--full-page",
        "kind": "boolean"
      },
      {
        "name": "--action",
        "kind": "value"
      },
      {
        "name": "--prompt-text",
        "kind": "value"
      },
      {
        "name": "--since-seq",
        "kind": "value"
      },
      {
        "name": "--max",
        "kind": "value"
      },
      {
        "name": "--interval-ms",
        "kind": "value"
      },
      {
        "name": "--max-frames",
        "kind": "value"
      },
      {
        "name": "--since-console-seq",
        "kind": "value"
      },
      {
        "name": "--since-network-seq",
        "kind": "value"
      },
      {
        "name": "--since-exception-seq",
        "kind": "value"
      },
      {
        "name": "--request-id",
        "kind": "value"
      },
      {
        "name": "--cookies",
        "kind": "value"
      },
      {
        "name": "--cookies-file",
        "kind": "value"
      },
      {
        "name": "--strict",
        "kind": "value"
      },
      {
        "name": "--expression",
        "kind": "value"
      },
      {
        "name": "--default-provider",
        "kind": "value"
      },
      {
        "name": "--include-catalog",
        "kind": "boolean"
      },
      {
        "name": "--command",
        "kind": "value"
      },
      {
        "name": "--execute",
        "kind": "boolean"
      },
      {
        "name": "--params",
        "kind": "value"
      },
      {
        "name": "--params-file",
        "kind": "value"
      },
      {
        "name": "--unsafe-internal",
        "kind": "boolean"
      },
      {
        "name": "--daemon",
        "kind": "boolean"
      },
      {
        "name": "--transport",
        "kind": "value"
      },
      {
        "name": "--no-extension",
        "kind": "boolean"
      },
      {
        "name": "--extension-only",
        "kind": "boolean"
      },
      {
        "name": "--extension-legacy",
        "kind": "boolean"
      },
      {
        "name": "--wait-for-extension",
        "kind": "boolean"
      },
      {
        "name": "--wait-timeout-ms",
        "kind": "boolean"
      },
      {
        "name": "--skills-global",
        "kind": "boolean"
      },
      {
        "name": "--skills-local",
        "kind": "boolean"
      },
      {
        "name": "--no-skills",
        "kind": "boolean"
      },
      {
        "name": "--screenshot-mode",
        "kind": "value"
      },
      {
        "name": "--debug",
        "kind": "boolean"
      },
      {
        "name": "--context",
        "kind": "value"
      },
      {
        "name": "--stored",
        "kind": "boolean"
      },
      {
        "name": "--topic",
        "kind": "value"
      },
      {
        "name": "--days",
        "kind": "value"
      },
      {
        "name": "--from",
        "kind": "value"
      },
      {
        "name": "--to",
        "kind": "value"
      },
      {
        "name": "--source-selection",
        "kind": "value"
      },
      {
        "name": "--sources",
        "kind": "value"
      },
      {
        "name": "--include-engagement",
        "kind": "boolean"
      },
      {
        "name": "--limit-per-source",
        "kind": "value"
      },
      {
        "name": "--query",
        "kind": "value"
      },
      {
        "name": "--providers",
        "kind": "value"
      },
      {
        "name": "--provider",
        "kind": "value"
      },
      {
        "name": "--max-references",
        "kind": "value"
      },
      {
        "name": "--visual-evidence",
        "kind": "value"
      },
      {
        "name": "--budget",
        "kind": "value"
      },
      {
        "name": "--region",
        "kind": "value"
      },
      {
        "name": "--browser-mode",
        "kind": "value"
      },
      {
        "name": "--sort",
        "kind": "value"
      },
      {
        "name": "--brief",
        "kind": "value"
      },
      {
        "name": "--capture-mode",
        "kind": "value"
      },
      {
        "name": "--include-prototype-guidance",
        "kind": "value"
      },
      {
        "name": "--product-url",
        "kind": "value"
      },
      {
        "name": "--product-name",
        "kind": "value"
      },
      {
        "name": "--provider-hint",
        "kind": "value"
      },
      {
        "name": "--include-screenshots",
        "kind": "value"
      },
      {
        "name": "--include-all-images",
        "kind": "value"
      },
      {
        "name": "--include-copy",
        "kind": "value"
      },
      {
        "name": "--use-cookies",
        "kind": "value"
      },
      {
        "name": "--challenge-automation-mode",
        "kind": "value"
      },
      {
        "name": "--cookie-policy-override",
        "kind": "value"
      },
      {
        "name": "--cookie-policy",
        "kind": "value"
      },
      {
        "name": "--output-dir",
        "kind": "value"
      },
      {
        "name": "--ttl-hours",
        "kind": "value"
      },
      {
        "name": "--expired-only",
        "kind": "boolean"
      }
    ],
    "equalsFlags": [
      "--output-format",
      "--transport",
      "--session-id",
      "--url",
      "--screenshot-mode",
      "--context",
      "--timeout-ms",
      "--since-seq",
      "--since-console-seq",
      "--since-network-seq",
      "--since-exception-seq",
      "--max",
      "--dy",
      "--target-id",
      "--window-id",
      "--tab-id",
      "--name",
      "--cookies",
      "--cookies-file",
      "--persist-profile",
      "--expression",
      "--default-provider",
      "--command",
      "--request-id",
      "--strict",
      "--params",
      "--params-file",
      "--topic",
      "--days",
      "--from",
      "--to",
      "--source-selection",
      "--sources",
      "--mode",
      "--ref",
      "--path",
      "--screencast-id",
      "--reason",
      "--interval-ms",
      "--max-frames",
      "--max-chars",
      "--cursor",
      "--files",
      "--action",
      "--prompt-text",
      "--limit-per-source",
      "--query",
      "--providers",
      "--provider",
      "--max-references",
      "--visual-evidence",
      "--budget",
      "--region",
      "--sort",
      "--brief",
      "--capture-mode",
      "--product-url",
      "--product-name",
      "--provider-hint",
      "--include-prototype-guidance",
      "--x",
      "--y",
      "--from-x",
      "--from-y",
      "--to-x",
      "--to-y",
      "--steps",
      "--button",
      "--click-count",
      "--include-screenshots",
      "--include-all-images",
      "--include-copy",
      "--use-cookies",
      "--browser-mode",
      "--challenge-automation-mode",
      "--cookie-policy-override",
      "--cookie-policy",
      "--output-dir",
      "--ttl-hours"
    ]
  },
  "tools": {
    "entries": [
      {
        "name": "opendevbrowser_launch",
        "description": "Launch a managed browser session.",
        "cliEquivalent": "launch",
        "example": "npx opendevbrowser launch --no-extension --headless --start-url https://example.com --output-format json"
      },
      {
        "name": "opendevbrowser_connect",
        "description": "Connect to an existing browser session.",
        "cliEquivalent": "connect",
        "example": "npx opendevbrowser connect --host 127.0.0.1 --cdp-port 9222 --output-format json"
      },
      {
        "name": "opendevbrowser_disconnect",
        "description": "Disconnect a managed or connected session.",
        "cliEquivalent": "disconnect",
        "example": "npx opendevbrowser disconnect --session-id s1 --close-browser --output-format json"
      },
      {
        "name": "opendevbrowser_status",
        "description": "Inspect session and relay status.",
        "cliEquivalent": "status",
        "example": "npx opendevbrowser status --daemon --output-format json"
      },
      {
        "name": "opendevbrowser_status_capabilities",
        "description": "Inspect runtime capability discovery for the host and an optional session.",
        "cliEquivalent": "status-capabilities",
        "example": "npx opendevbrowser status-capabilities --session-id s1 --target-id page-1 --challenge-automation-mode browser_with_helper --timeout-ms 30000 --output-format json"
      },
      {
        "name": "opendevbrowser_session_inspector",
        "description": "Capture a session-first diagnostic bundle with relay health, trace proof, and a suggested next action.",
        "cliEquivalent": "session-inspector",
        "example": "npx opendevbrowser session-inspector --session-id s1 --include-urls --max 20 --output-format json"
      },
      {
        "name": "opendevbrowser_session_inspector_plan",
        "description": "Inspect browser-scoped computer-use policy, eligibility, and safe suggested steps.",
        "cliEquivalent": "session-inspector-plan",
        "example": "npx opendevbrowser session-inspector-plan --session-id s1 --target-id page-1 --challenge-automation-mode browser_with_helper --output-format json"
      },
      {
        "name": "opendevbrowser_session_inspector_audit",
        "description": "Capture a correlated audit bundle across desktop evidence, browser review, and policy state.",
        "cliEquivalent": "session-inspector-audit",
        "example": "npx opendevbrowser session-inspector-audit --session-id s1 --target-id page-1 --reason \"trace challenge state\" --include-urls --request-id req-session-audit-001 --challenge-automation-mode browser_with_helper --output-format json"
      },
      {
        "name": "opendevbrowser_targets_list",
        "description": "List available page targets/tabs.",
        "cliEquivalent": "targets-list",
        "example": "npx opendevbrowser targets-list --session-id s1 --include-urls --output-format json"
      },
      {
        "name": "opendevbrowser_target_use",
        "description": "Switch the active target by id.",
        "cliEquivalent": "target-use",
        "example": "npx opendevbrowser target-use --session-id s1 --target-id page-2 --output-format json"
      },
      {
        "name": "opendevbrowser_target_new",
        "description": "Create a new target or tab.",
        "cliEquivalent": "target-new",
        "example": "npx opendevbrowser target-new --session-id s1 --url https://example.com/docs --output-format json"
      },
      {
        "name": "opendevbrowser_target_close",
        "description": "Close a target or tab by id.",
        "cliEquivalent": "target-close",
        "example": "npx opendevbrowser target-close --session-id s1 --target-id page-2 --output-format json"
      },
      {
        "name": "opendevbrowser_page",
        "description": "Open or focus a named page.",
        "cliEquivalent": "page",
        "example": "npx opendevbrowser page --session-id s1 --name settings --url https://example.com/settings --output-format json"
      },
      {
        "name": "opendevbrowser_list",
        "description": "List named pages in the session.",
        "cliEquivalent": "pages",
        "example": "npx opendevbrowser pages --session-id s1 --output-format json"
      },
      {
        "name": "opendevbrowser_close",
        "description": "Close a named page.",
        "cliEquivalent": "page-close",
        "example": "npx opendevbrowser page-close --session-id s1 --name settings --output-format json"
      },
      {
        "name": "opendevbrowser_goto",
        "description": "Navigate to a URL.",
        "cliEquivalent": "goto",
        "example": "npx opendevbrowser goto --session-id s1 --url https://example.com --wait-until networkidle --output-format json"
      },
      {
        "name": "opendevbrowser_wait",
        "description": "Wait for load, ref, or state conditions.",
        "cliEquivalent": "wait",
        "example": "npx opendevbrowser wait --session-id s1 --state networkidle --timeout-ms 30000 --output-format json"
      },
      {
        "name": "opendevbrowser_snapshot",
        "description": "Capture AX-tree refs for actions.",
        "cliEquivalent": "snapshot",
        "example": "npx opendevbrowser snapshot --session-id s1 --mode actionables --max-chars 4000 --output-format json"
      },
      {
        "name": "opendevbrowser_review",
        "description": "Capture a first-class review payload with status and actionables.",
        "cliEquivalent": "review",
        "example": "npx opendevbrowser review --session-id s1 --target-id page-1 --output-format json"
      },
      {
        "name": "opendevbrowser_review_desktop",
        "description": "Capture desktop-assisted browser review with read-only desktop evidence and browser-owned verification.",
        "cliEquivalent": "review-desktop",
        "example": "npx opendevbrowser review-desktop --session-id s1 --reason \"trace challenge state\" --output-format json"
      },
      {
        "name": "opendevbrowser_click",
        "description": "Click an element by ref.",
        "cliEquivalent": "click",
        "example": "npx opendevbrowser click --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_hover",
        "description": "Hover an element by ref.",
        "cliEquivalent": "hover",
        "example": "npx opendevbrowser hover --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_press",
        "description": "Send a keyboard key.",
        "cliEquivalent": "press",
        "example": "npx opendevbrowser press --session-id s1 --key Enter --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_check",
        "description": "Check a checkbox or radio by ref.",
        "cliEquivalent": "check",
        "example": "npx opendevbrowser check --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_uncheck",
        "description": "Uncheck a checkbox or radio by ref.",
        "cliEquivalent": "uncheck",
        "example": "npx opendevbrowser uncheck --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_type",
        "description": "Type text into an input by ref.",
        "cliEquivalent": "type",
        "example": "npx opendevbrowser type --session-id s1 --ref r12 --text \"agent@example.com\" --clear --output-format json"
      },
      {
        "name": "opendevbrowser_select",
        "description": "Set select values by ref.",
        "cliEquivalent": "select",
        "example": "npx opendevbrowser select --session-id s1 --ref r12 --values us,ca --output-format json"
      },
      {
        "name": "opendevbrowser_scroll",
        "description": "Scroll a page or element.",
        "cliEquivalent": "scroll",
        "example": "npx opendevbrowser scroll --session-id s1 --dy 1000 --output-format json"
      },
      {
        "name": "opendevbrowser_scroll_into_view",
        "description": "Scroll a target element into view.",
        "cliEquivalent": "scroll-into-view",
        "example": "npx opendevbrowser scroll-into-view --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_upload",
        "description": "Upload files to a file input or chooser by ref.",
        "cliEquivalent": "upload",
        "example": "npx opendevbrowser upload --session-id s1 --ref r12 --files ./draft.pdf,./hero.png --output-format json"
      },
      {
        "name": "opendevbrowser_pointer_move",
        "description": "Move the pointer to viewport coordinates.",
        "cliEquivalent": "pointer-move",
        "example": "npx opendevbrowser pointer-move --session-id s1 --x 320 --y 240 --steps 12 --output-format json"
      },
      {
        "name": "opendevbrowser_pointer_down",
        "description": "Press a mouse button at viewport coordinates.",
        "cliEquivalent": "pointer-down",
        "example": "npx opendevbrowser pointer-down --session-id s1 --x 320 --y 240 --button left --click-count 1 --output-format json"
      },
      {
        "name": "opendevbrowser_pointer_up",
        "description": "Release a mouse button at viewport coordinates.",
        "cliEquivalent": "pointer-up",
        "example": "npx opendevbrowser pointer-up --session-id s1 --x 320 --y 240 --button left --click-count 1 --output-format json"
      },
      {
        "name": "opendevbrowser_pointer_drag",
        "description": "Drag the pointer between viewport coordinates.",
        "cliEquivalent": "pointer-drag",
        "example": "npx opendevbrowser pointer-drag --session-id s1 --from-x 320 --from-y 240 --to-x 640 --to-y 240 --steps 18 --output-format json"
      },
      {
        "name": "opendevbrowser_dom_get_html",
        "description": "Get HTML for a page or ref.",
        "cliEquivalent": "dom-html",
        "example": "npx opendevbrowser dom-html --session-id s1 --ref r12 --max-chars 2000 --output-format json"
      },
      {
        "name": "opendevbrowser_dom_get_text",
        "description": "Get text for a page or ref.",
        "cliEquivalent": "dom-text",
        "example": "npx opendevbrowser dom-text --session-id s1 --ref r12 --max-chars 500 --output-format json"
      },
      {
        "name": "opendevbrowser_get_attr",
        "description": "Read a DOM attribute by ref.",
        "cliEquivalent": "dom-attr",
        "example": "npx opendevbrowser dom-attr --session-id s1 --ref r12 --attr aria-label --output-format json"
      },
      {
        "name": "opendevbrowser_get_value",
        "description": "Read a form or control value by ref.",
        "cliEquivalent": "dom-value",
        "example": "npx opendevbrowser dom-value --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_is_visible",
        "description": "Check ref visibility.",
        "cliEquivalent": "dom-visible",
        "example": "npx opendevbrowser dom-visible --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_is_enabled",
        "description": "Check ref enabled state.",
        "cliEquivalent": "dom-enabled",
        "example": "npx opendevbrowser dom-enabled --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_is_checked",
        "description": "Check ref checked state.",
        "cliEquivalent": "dom-checked",
        "example": "npx opendevbrowser dom-checked --session-id s1 --ref r12 --output-format json"
      },
      {
        "name": "opendevbrowser_run",
        "description": "Execute multi-action automation scripts.",
        "cliEquivalent": "run",
        "example": "npx opendevbrowser run --script ./workflow.json --headless --output-format json"
      },
      {
        "name": "opendevbrowser_prompting_guide",
        "description": "Start here for first-contact OpenDevBrowser guidance and the bundled best-practices quick start.",
        "example": "{\"topic\":\"quick start\"}",
        "notes": [
          "Tool-only helper. Use it before low-level browser commands when an agent needs the canonical quick start."
        ]
      },
      {
        "name": "opendevbrowser_console_poll",
        "description": "Poll redacted console events.",
        "cliEquivalent": "console-poll",
        "example": "npx opendevbrowser console-poll --session-id s1 --max 50 --output-format json"
      },
      {
        "name": "opendevbrowser_network_poll",
        "description": "Poll redacted network events.",
        "cliEquivalent": "network-poll",
        "example": "npx opendevbrowser network-poll --session-id s1 --max 50 --output-format json"
      },
      {
        "name": "opendevbrowser_debug_trace_snapshot",
        "description": "Capture page, console, and network diagnostics.",
        "cliEquivalent": "debug-trace-snapshot",
        "example": "npx opendevbrowser debug-trace-snapshot --session-id s1 --max 50 --request-id req-trace-001 --output-format json"
      },
      {
        "name": "opendevbrowser_cookie_import",
        "description": "Import validated cookies into a session.",
        "cliEquivalent": "cookie-import",
        "example": "npx opendevbrowser cookie-import --session-id s1 --cookies-file ./cookies.json --strict true --output-format json"
      },
      {
        "name": "opendevbrowser_cookie_list",
        "description": "List cookies in a session with optional URL filters.",
        "cliEquivalent": "cookie-list",
        "example": "npx opendevbrowser cookie-list --session-id s1 --url https://example.com --output-format json"
      },
      {
        "name": "opendevbrowser_macro_resolve",
        "description": "Resolve or execute provider macro expressions.",
        "cliEquivalent": "macro-resolve",
        "example": "npx opendevbrowser macro-resolve --expression '@community.search(\"browser automation failures\", 4)' --execute --browser-mode extension --use-cookies --cookie-policy required --challenge-automation-mode browser_with_helper --output-format json"
      },
      {
        "name": "opendevbrowser_research_run",
        "description": "Run the research workflow directly.",
        "cliEquivalent": "research",
        "example": "npx opendevbrowser research run --topic \"Chrome extension debugging workflows\" --days 30 --sources web,community --browser-mode managed --mode json --output-format json"
      },
      {
        "name": "opendevbrowser_shopping_run",
        "description": "Run the shopping workflow directly.",
        "cliEquivalent": "shopping",
        "example": "npx opendevbrowser shopping run --query \"wireless ergonomic mouse\" --providers shopping/bestbuy,shopping/ebay --budget 150 --browser-mode managed --use-cookies --challenge-automation-mode browser_with_helper --mode json --output-format json"
      },
      {
        "name": "opendevbrowser_product_video_run",
        "description": "Run the product-video asset workflow directly.",
        "cliEquivalent": "product-video",
        "example": "npx opendevbrowser product-video run --product-url \"https://example.com/p/1\" --browser-mode managed --use-cookies --challenge-automation-mode browser_with_helper --include-screenshots --output-format json"
      },
      {
        "name": "opendevbrowser_inspiredesign_run",
        "description": "Run the inspiredesign workflow directly, including harvest query discovery and visual evidence capture.",
        "cliEquivalent": "inspiredesign",
        "example": "npx opendevbrowser inspiredesign run --brief \"Extract a reusable dashboard design contract from live references\" --url https://linear.app --browser-mode managed --use-cookies --challenge-automation-mode browser_with_helper --include-prototype-guidance --output-dir /tmp/inspiredesign --output-format json"
      },
      {
        "name": "opendevbrowser_canvas",
        "description": "Execute a typed design-canvas command surface call.",
        "cliEquivalent": "canvas",
        "example": "npx opendevbrowser canvas --command canvas.session.open --params '{\"label\":\"design review\"}' --timeout-ms 120000 --output-format json"
      },
      {
        "name": "opendevbrowser_clone_page",
        "description": "Export the active page into React code.",
        "cliEquivalent": "clone-page",
        "example": "npx opendevbrowser clone-page --session-id s1 --target-id page-1 --path ./exports/page.tsx --output-format json"
      },
      {
        "name": "opendevbrowser_clone_component",
        "description": "Export a component by ref into React code.",
        "cliEquivalent": "clone-component",
        "example": "npx opendevbrowser clone-component --session-id s1 --ref r12 --path ./exports/component.tsx --output-format json"
      },
      {
        "name": "opendevbrowser_perf",
        "description": "Collect browser performance metrics.",
        "cliEquivalent": "perf",
        "example": "npx opendevbrowser perf --session-id s1 --output-format json"
      },
      {
        "name": "opendevbrowser_screenshot",
        "description": "Capture a page screenshot.",
        "cliEquivalent": "screenshot",
        "example": "npx opendevbrowser screenshot --session-id s1 --path ./artifacts/page.png --full-page --output-format json"
      },
      {
        "name": "opendevbrowser_screencast_start",
        "description": "Start a browser replay screencast capture.",
        "cliEquivalent": "screencast-start",
        "example": "npx opendevbrowser screencast-start --session-id s1 --output-dir ./artifacts/replay --interval-ms 750 --max-frames 40 --output-format json"
      },
      {
        "name": "opendevbrowser_screencast_stop",
        "description": "Stop a browser replay screencast capture.",
        "cliEquivalent": "screencast-stop",
        "example": "npx opendevbrowser screencast-stop --session-id s1 --screencast-id cast-1 --output-format json"
      },
      {
        "name": "opendevbrowser_dialog",
        "description": "Inspect or handle a JavaScript dialog.",
        "cliEquivalent": "dialog",
        "example": "npx opendevbrowser dialog --session-id s1 --action status --output-format json"
      },
      {
        "name": "opendevbrowser_desktop_status",
        "description": "Inspect public read-only desktop observation availability.",
        "cliEquivalent": "desktop-status",
        "example": "npx opendevbrowser desktop-status --timeout-ms 5000 --output-format json"
      },
      {
        "name": "opendevbrowser_desktop_windows",
        "description": "List windows exposed by the public read-only desktop observation plane.",
        "cliEquivalent": "desktop-windows",
        "example": "npx opendevbrowser desktop-windows --reason \"inventory browser-adjacent windows\" --output-format json"
      },
      {
        "name": "opendevbrowser_desktop_active_window",
        "description": "Inspect the active window through the public read-only desktop observation plane.",
        "cliEquivalent": "desktop-active-window",
        "example": "npx opendevbrowser desktop-active-window --reason \"capture active browser context\" --output-format json"
      },
      {
        "name": "opendevbrowser_desktop_capture_desktop",
        "description": "Capture the current desktop surface through the public read-only desktop observation plane.",
        "cliEquivalent": "desktop-capture-desktop",
        "example": "npx opendevbrowser desktop-capture-desktop --reason \"capture login checkpoint state\" --output-format json"
      },
      {
        "name": "opendevbrowser_desktop_capture_window",
        "description": "Capture a specific window through the public read-only desktop observation plane.",
        "cliEquivalent": "desktop-capture-window",
        "example": "npx opendevbrowser desktop-capture-window --window-id 101 --reason \"capture browser window\" --output-format json"
      },
      {
        "name": "opendevbrowser_desktop_accessibility_snapshot",
        "description": "Capture desktop accessibility state through the public read-only desktop observation plane.",
        "cliEquivalent": "desktop-accessibility-snapshot",
        "example": "npx opendevbrowser desktop-accessibility-snapshot --reason \"inspect current browser-adjacent labels\" --window-id 101 --output-format json"
      },
      {
        "name": "opendevbrowser_annotate",
        "description": "Capture interactive annotations.",
        "cliEquivalent": "annotate",
        "example": "npx opendevbrowser annotate --session-id s1 --transport auto --context \"review call to action spacing\" --include-screenshots true --output-format json"
      },
      {
        "name": "opendevbrowser_skill_list",
        "description": "List bundled and discovered skill packs before choosing a local onboarding or workflow lane.",
        "example": "{}",
        "notes": [
          "Tool-only helper. Use it to inspect local workflow lanes before loading a pack."
        ]
      },
      {
        "name": "opendevbrowser_skill_load",
        "description": "Load a specific skill pack locally, especially the bundled best-practices quick start.",
        "example": "{\"name\":\"opendevbrowser-best-practices\",\"topic\":\"quick start\"}",
        "notes": [
          "Tool-only helper. Use it to load opendevbrowser-best-practices or design-agent guidance directly into the current agent context."
        ]
      }
    ],
    "cliToolPairs": [
      {
        "cliCommand": "launch",
        "toolName": "opendevbrowser_launch"
      },
      {
        "cliCommand": "connect",
        "toolName": "opendevbrowser_connect"
      },
      {
        "cliCommand": "disconnect",
        "toolName": "opendevbrowser_disconnect"
      },
      {
        "cliCommand": "status",
        "toolName": "opendevbrowser_status"
      },
      {
        "cliCommand": "status-capabilities",
        "toolName": "opendevbrowser_status_capabilities"
      },
      {
        "cliCommand": "session-inspector",
        "toolName": "opendevbrowser_session_inspector"
      },
      {
        "cliCommand": "session-inspector-plan",
        "toolName": "opendevbrowser_session_inspector_plan"
      },
      {
        "cliCommand": "session-inspector-audit",
        "toolName": "opendevbrowser_session_inspector_audit"
      },
      {
        "cliCommand": "targets-list",
        "toolName": "opendevbrowser_targets_list"
      },
      {
        "cliCommand": "target-use",
        "toolName": "opendevbrowser_target_use"
      },
      {
        "cliCommand": "target-new",
        "toolName": "opendevbrowser_target_new"
      },
      {
        "cliCommand": "target-close",
        "toolName": "opendevbrowser_target_close"
      },
      {
        "cliCommand": "page",
        "toolName": "opendevbrowser_page"
      },
      {
        "cliCommand": "pages",
        "toolName": "opendevbrowser_list"
      },
      {
        "cliCommand": "page-close",
        "toolName": "opendevbrowser_close"
      },
      {
        "cliCommand": "goto",
        "toolName": "opendevbrowser_goto"
      },
      {
        "cliCommand": "wait",
        "toolName": "opendevbrowser_wait"
      },
      {
        "cliCommand": "snapshot",
        "toolName": "opendevbrowser_snapshot"
      },
      {
        "cliCommand": "review",
        "toolName": "opendevbrowser_review"
      },
      {
        "cliCommand": "review-desktop",
        "toolName": "opendevbrowser_review_desktop"
      },
      {
        "cliCommand": "click",
        "toolName": "opendevbrowser_click"
      },
      {
        "cliCommand": "hover",
        "toolName": "opendevbrowser_hover"
      },
      {
        "cliCommand": "press",
        "toolName": "opendevbrowser_press"
      },
      {
        "cliCommand": "check",
        "toolName": "opendevbrowser_check"
      },
      {
        "cliCommand": "uncheck",
        "toolName": "opendevbrowser_uncheck"
      },
      {
        "cliCommand": "type",
        "toolName": "opendevbrowser_type"
      },
      {
        "cliCommand": "select",
        "toolName": "opendevbrowser_select"
      },
      {
        "cliCommand": "scroll",
        "toolName": "opendevbrowser_scroll"
      },
      {
        "cliCommand": "scroll-into-view",
        "toolName": "opendevbrowser_scroll_into_view"
      },
      {
        "cliCommand": "upload",
        "toolName": "opendevbrowser_upload"
      },
      {
        "cliCommand": "pointer-move",
        "toolName": "opendevbrowser_pointer_move"
      },
      {
        "cliCommand": "pointer-down",
        "toolName": "opendevbrowser_pointer_down"
      },
      {
        "cliCommand": "pointer-up",
        "toolName": "opendevbrowser_pointer_up"
      },
      {
        "cliCommand": "pointer-drag",
        "toolName": "opendevbrowser_pointer_drag"
      },
      {
        "cliCommand": "dom-html",
        "toolName": "opendevbrowser_dom_get_html"
      },
      {
        "cliCommand": "dom-text",
        "toolName": "opendevbrowser_dom_get_text"
      },
      {
        "cliCommand": "dom-attr",
        "toolName": "opendevbrowser_get_attr"
      },
      {
        "cliCommand": "dom-value",
        "toolName": "opendevbrowser_get_value"
      },
      {
        "cliCommand": "dom-visible",
        "toolName": "opendevbrowser_is_visible"
      },
      {
        "cliCommand": "dom-enabled",
        "toolName": "opendevbrowser_is_enabled"
      },
      {
        "cliCommand": "dom-checked",
        "toolName": "opendevbrowser_is_checked"
      },
      {
        "cliCommand": "run",
        "toolName": "opendevbrowser_run"
      },
      {
        "cliCommand": "console-poll",
        "toolName": "opendevbrowser_console_poll"
      },
      {
        "cliCommand": "network-poll",
        "toolName": "opendevbrowser_network_poll"
      },
      {
        "cliCommand": "debug-trace-snapshot",
        "toolName": "opendevbrowser_debug_trace_snapshot"
      },
      {
        "cliCommand": "cookie-import",
        "toolName": "opendevbrowser_cookie_import"
      },
      {
        "cliCommand": "cookie-list",
        "toolName": "opendevbrowser_cookie_list"
      },
      {
        "cliCommand": "macro-resolve",
        "toolName": "opendevbrowser_macro_resolve"
      },
      {
        "cliCommand": "research",
        "toolName": "opendevbrowser_research_run"
      },
      {
        "cliCommand": "shopping",
        "toolName": "opendevbrowser_shopping_run"
      },
      {
        "cliCommand": "product-video",
        "toolName": "opendevbrowser_product_video_run"
      },
      {
        "cliCommand": "inspiredesign",
        "toolName": "opendevbrowser_inspiredesign_run"
      },
      {
        "cliCommand": "canvas",
        "toolName": "opendevbrowser_canvas"
      },
      {
        "cliCommand": "clone-page",
        "toolName": "opendevbrowser_clone_page"
      },
      {
        "cliCommand": "clone-component",
        "toolName": "opendevbrowser_clone_component"
      },
      {
        "cliCommand": "perf",
        "toolName": "opendevbrowser_perf"
      },
      {
        "cliCommand": "screenshot",
        "toolName": "opendevbrowser_screenshot"
      },
      {
        "cliCommand": "screencast-start",
        "toolName": "opendevbrowser_screencast_start"
      },
      {
        "cliCommand": "screencast-stop",
        "toolName": "opendevbrowser_screencast_stop"
      },
      {
        "cliCommand": "dialog",
        "toolName": "opendevbrowser_dialog"
      },
      {
        "cliCommand": "desktop-status",
        "toolName": "opendevbrowser_desktop_status"
      },
      {
        "cliCommand": "desktop-windows",
        "toolName": "opendevbrowser_desktop_windows"
      },
      {
        "cliCommand": "desktop-active-window",
        "toolName": "opendevbrowser_desktop_active_window"
      },
      {
        "cliCommand": "desktop-capture-desktop",
        "toolName": "opendevbrowser_desktop_capture_desktop"
      },
      {
        "cliCommand": "desktop-capture-window",
        "toolName": "opendevbrowser_desktop_capture_window"
      },
      {
        "cliCommand": "desktop-accessibility-snapshot",
        "toolName": "opendevbrowser_desktop_accessibility_snapshot"
      },
      {
        "cliCommand": "annotate",
        "toolName": "opendevbrowser_annotate"
      }
    ]
  },
  "counts": {
    "commandCount": 77,
    "toolCount": 70,
    "cliToolPairCount": 67
  }
} satisfies PublicSurfaceManifest;

export const VALID_FLAGS = PUBLIC_SURFACE_MANIFEST.cli.flags.map((flag) => flag.name) as PublicSurfaceFlagName[];
export const VALID_EQUALS_FLAGS = [...PUBLIC_SURFACE_MANIFEST.cli.equalsFlags] as PublicSurfaceFlagName[];
export const CLI_COMMANDS = PUBLIC_SURFACE_MANIFEST.cli.commands.map((command) => command.name) as PublicSurfaceCliCommandName[];

export const CLI_COMMAND_HELP_DETAILS = Object.fromEntries(
  PUBLIC_SURFACE_MANIFEST.cli.commands.map((command) => [
    command.name,
    {
      description: command.description,
      usage: command.usage,
      flags: [...command.flags],
      examples: [...command.examples],
      notes: [...command.notes]
    } satisfies CommandHelpDetail
  ] as const)
) as unknown as Record<PublicSurfaceCliCommandName, CommandHelpDetail>;

const COMMANDS_BY_GROUP = Object.fromEntries(
  PUBLIC_SURFACE_MANIFEST.cli.groups.map((group) => [
    group.id,
    PUBLIC_SURFACE_MANIFEST.cli.commands
      .filter((command) => command.groupId === group.id)
      .map((command) => ({
        name: command.name,
        description: command.description,
        usage: command.usage,
        flags: [...command.flags],
        examples: [...command.examples],
        notes: [...command.notes]
      }))
  ] as const)
) as Record<string, PublicSurfaceCliCommandGroupDefinition['commands']>;

export const PUBLIC_CLI_COMMAND_GROUPS = PUBLIC_SURFACE_MANIFEST.cli.groups.map((group) => ({
  id: group.id,
  title: group.title,
  summary: group.summary,
  commands: COMMANDS_BY_GROUP[group.id]
})) as readonly PublicSurfaceCliCommandGroupDefinition[];

export const TOOL_SURFACE_ENTRIES = PUBLIC_SURFACE_MANIFEST.tools.entries.map((entry) => ({
  name: entry.name,
  description: entry.description,
  ...(entry.cliEquivalent ? { cliEquivalent: entry.cliEquivalent } : {}),
  example: entry.example,
  ...(entry.notes ? { notes: [...entry.notes] } : {})
})) as readonly ToolSurfaceEntry[];
