{
  "generatedBy": "scripts/write-cli-startup-metadata.ts",
  "channelOptions": [
    "telegram",
    "whatsapp",
    "discord",
    "irc",
    "googlechat",
    "slack",
    "signal",
    "imessage",
    "feishu",
    "nostr",
    "msteams",
    "mattermost",
    "nextcloud-talk",
    "matrix",
    "line",
    "zalo",
    "clickclack",
    "zalouser",
    "synology-chat",
    "tlon",
    "qa-channel",
    "qqbot",
    "twitch"
  ],
  "channelCatalogSignature": "48927f65512436e15655f999a661a7983f1cdd56",
  "rootHelpBundleSignature": "293ff3ec778abef222babac11e0d33c446d29318",
  "browserHelpSourceSignature": "9998f48d178c8836cb08a3cb4e7b056b47bedfad",
  "browserHelpText": "\nKlaw 2026.6.11 (1c1db49) — All your chats, one Klaw.\n\nUsage: klaw browser [options] [command]\n\nManage Klaw's dedicated browser (Chrome/Chromium)\n\nOptions:\n  --browser-profile <name>  Browser profile name (default from config)\n  --expect-final            Wait for final response (agent) (default: false)\n  -h, --help                Display help for command\n  --json                    Output machine-readable JSON (default: false)\n  --timeout <ms>            Timeout in ms (default: \"30000\")\n  --token <token>           Gateway token (if required)\n  --url <url>               Gateway WebSocket URL (defaults to\n                            gateway.remote.url when configured)\n\nCommands:\n  click                     Click an element by ref from snapshot\n  click-coords              Click viewport coordinates\n  close                     Close a tab (target id optional)\n  console                   Get recent console messages\n  cookies                   Read/write cookies\n  create-profile            Create a new browser profile\n  delete-profile            Delete a browser profile\n  dialog                    Arm the next modal dialog (alert/confirm/prompt)\n  doctor                    Check browser plugin readiness\n  download                  Click a ref and save the resulting download\n  drag                      Drag from one ref to another\n  errors                    Get recent page errors\n  evaluate                  Evaluate a function against the page or a ref\n  fill                      Fill a form with JSON field descriptors\n  focus                     Focus a tab by target id, tab id, label, or unique\n                            target id prefix\n  highlight                 Highlight an element by ref\n  hover                     Hover an element by ai ref\n  navigate                  Navigate the current tab to a URL\n  open                      Open a URL in a new tab\n  pdf                       Save page as PDF\n  press                     Press a key\n  profiles                  List all browser profiles\n  requests                  Get recent network requests (best-effort)\n  reset-profile             Reset browser profile (moves it to Trash)\n  resize                    Resize the viewport\n  responsebody              Wait for a network response and return its body\n  screenshot                Capture a screenshot (MEDIA:<path>)\n  scrollintoview            Scroll an element into view by ref from snapshot\n  select                    Select option(s) in a select element\n  set                       Browser environment settings\n  snapshot                  Capture a snapshot (default: ai; aria is the\n                            accessibility tree)\n  start                     Start the browser (no-op if already running)\n  status                    Show browser status\n  stop                      Stop the browser (best-effort)\n  storage                   Read/write localStorage/sessionStorage\n  tab                       Tab shortcuts (index-based)\n  tabs                      List open tabs\n  trace                     Record a Playwright trace\n  type                      Type into an element by ref from snapshot\n  upload                    Arm file upload for the next file chooser\n  wait                      Wait for time, selector, URL, load state, or JS\n                            conditions\n  waitfordownload           Wait for the next download (and save it)\n\nExamples:\n  klaw browser status\n  klaw browser start\n  klaw browser start --headless\n  klaw browser stop\n  klaw browser tabs\n  klaw browser open https://example.com\n  klaw browser focus abcd1234\n  klaw browser close abcd1234\n  klaw browser screenshot\n  klaw browser screenshot --full-page\n  klaw browser screenshot --ref 12\n  klaw browser snapshot\n  klaw browser snapshot --format aria --limit 200\n  klaw browser snapshot --efficient\n  klaw browser snapshot --labels\n  klaw browser navigate https://example.com\n  klaw browser resize 1280 720\n  klaw browser click 12 --double\n  klaw browser click-coords 120 340\n  klaw browser type 23 \"hello\" --submit\n  klaw browser press Enter\n  klaw browser hover 44\n  klaw browser drag 10 11\n  klaw browser select 9 OptionA OptionB\n  klaw browser upload /tmp/klaw/uploads/file.pdf\n  klaw browser fill --fields '[{\"ref\":\"1\",\"value\":\"Ada\"}]'\n  klaw browser dialog --accept\n  klaw browser wait --text \"Done\"\n  klaw browser evaluate --fn '(el) => el.textContent' --ref 7\n  klaw browser console --level error\n  klaw browser pdf\n\nDocs: https://klaw.kodelyth.com/cli/browser\n\n",
  "rootHelpText": "\nKlaw 2026.6.11 (1c1db49) — All your chats, one Klaw.\n\nUsage: klaw [options] [command]\n\nOptions:\n  --container <name>   Run the CLI inside a running Podman/Docker container\n                       named <name> (default: env KLAW_CONTAINER)\n  --dev                Dev profile: isolate state under ~/.klaw-dev, default\n                       gateway port 19001, and shift derived ports\n                       (browser/canvas)\n  -h, --help           Display help for command\n  --log-level <level>  Global log level override for file + console\n                       (silent|fatal|error|warn|info|debug|trace)\n  --no-color           Disable ANSI colors\n  --profile <name>     Use a named profile (isolates\n                       KLAW_STATE_DIR/KLAW_CONFIG_PATH under ~/.klaw-<name>)\n  -V, --version        output the version number\n\nCommands:\n  Hint: commands suffixed with * have subcommands. Run <command> --help for details.\n  acp *                Run and manage ACP-backed coding agents\n  agent                Run one agent turn via the Gateway\n  agents *             Manage isolated agents (workspaces, auth, routing)\n  approvals *          Manage exec approvals (gateway or node host)\n  backup *             Create and verify local backup archives for Klaw state\n  capability *         Run provider capability commands (fallback alias: infer)\n  channels *           Add, remove, login, and inspect messaging channels\n  chat                 Open a local terminal UI (alias for tui --local)\n  clawbot *            Legacy clawbot command aliases\n  commitments *        List and manage inferred follow-up commitments\n  completion           Generate shell completion script\n  config *             Non-interactive config helpers\n                       (get/set/unset/file/validate). Default: starts guided\n                       setup.\n  configure            Interactive configuration for credentials, channels,\n                       gateway, and agent defaults\n  crestodian           Open the interactive setup and repair assistant\n  cron *               Schedule and inspect Gateway background jobs\n  daemon *             Manage the Gateway service (legacy alias)\n  dashboard            Open the Control UI with your current token\n  devices *            Device pairing + token management\n  directory *          Lookup contact and group IDs (self, peers, groups) for\n                       supported chat channels\n  dns *                DNS helpers for wide-area discovery (Tailscale + CoreDNS)\n  docs                 Search the live Klaw docs\n  doctor               Diagnose and repair config, Gateway, plugin, and channel\n                       problems\n  exec-policy *        Show or synchronize requested exec policy with host\n                       approvals\n  gateway *            Run, inspect, and query the Klaw Gateway\n  health               Fetch detailed health from the running Gateway\n  help                 Display help for command\n  hooks *              Manage internal agent hooks\n  infer *              Run provider-backed model, media, search, and embedding\n                       commands\n  logs                 Tail Gateway logs locally or via RPC\n  mcp *                Manage Klaw MCP config and channel bridge\n  memory               Search, inspect, and reindex memory files\n  message *            Send, read, and manage channel messages\n  migrate *            Import state from another agent system\n  models *             List, scan, and set model providers\n  node *               Run and manage the headless node host service\n  nodes *              Pair nodes and run node-host commands through the Gateway\n  onboard              Interactive onboarding for gateway, workspace, and skills\n  pairing *            Secure DM pairing (approve inbound requests)\n  plugins *            Install, enable, disable, and inspect plugins\n  proxy *              Run the Klaw debug proxy and inspect captured traffic\n  qr                   Generate mobile pairing QR/setup code\n  reset                Reset local config/state (keeps the CLI installed)\n  sandbox *            Manage sandbox containers for agent isolation\n  secrets *            Audit, apply, and reload SecretRef-backed credentials\n  security *           Security tools and local config audits\n  sessions *           List stored conversation sessions\n  setup                Initialize local config and an agent workspace\n  skills *             List, inspect, and install agent skills\n  status               Show Gateway, channel, model, and recent-session status\n  system *             System events, heartbeat, and presence\n  tasks *              Inspect durable background tasks and flows\n  terminal             Open a local terminal UI (alias for tui --local)\n  tui                  Open a terminal UI connected to the Gateway\n  uninstall            Uninstall the gateway service + local data (CLI remains)\n  update *             Update Klaw and inspect update channel status\n  webhooks *           Webhook helpers and integrations\n\nExamples:\n  klaw onboard\n    Run guided setup for a local Gateway, workspace, auth, and channels.\n  klaw setup\n    Create the baseline config, workspace, and session folders.\n  klaw configure\n    Change models, Gateway, channels, plugins, skills, and health checks.\n  klaw status\n    Check Gateway, channel, model, and recent-session status.\n  klaw doctor --fix\n    Repair common config, service, plugin, and channel problems.\n  klaw channels add\n    Add or update a chat channel account with guided prompts.\n  klaw channels status\n    See connected messaging accounts and login state.\n  klaw --dev gateway\n    Run a dev Gateway (isolated state/config) on ws://127.0.0.1:19001.\n  klaw gateway run --force\n    Start the Gateway and replace anything bound to its port.\n  klaw models status\n    Show model/provider auth health before running agents.\n  klaw plugins list\n    Inspect enabled, disabled, and installed plugins.\n  klaw agent --to +15555550123 --message \"Run summary\" --deliver\n    Run one agent turn through the Gateway and optionally deliver the reply.\n  klaw message send --channel telegram --target @mychat --message \"Hi\"\n    Send via your Telegram bot.\n\nDocs: https://klaw.kodelyth.com/cli\n\n"
}
