@indigoai-us/hq-cli 5.345.155 → 5.345.159

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/CHANGELOG.md +289 -0
  2. package/assets/scaffold/core/scripts/rebuild-company-knowledge-index.sh +110 -2
  3. package/assets/scaffold/core/scripts/rebuild-projects-index.sh +101 -5
  4. package/assets/scaffold/core/scripts/worktree.sh +4 -0
  5. package/dist/command-catalog.generated.d.ts +536 -7
  6. package/dist/command-catalog.generated.js +676 -24
  7. package/dist/command-registration-plan.d.ts +18 -0
  8. package/dist/command-registration-plan.js +4 -0
  9. package/dist/commands/_patterns.d.ts +17 -0
  10. package/dist/commands/_patterns.js +22 -0
  11. package/dist/commands/agent-inbox.js +2 -2
  12. package/dist/commands/agent-kit.js +8 -6
  13. package/dist/commands/bot.js +7 -4
  14. package/dist/commands/channel-suggest.d.ts +56 -0
  15. package/dist/commands/channel-suggest.js +170 -0
  16. package/dist/commands/channels.js +7 -1
  17. package/dist/commands/cloud.d.ts +45 -0
  18. package/dist/commands/cloud.js +150 -10
  19. package/dist/commands/company.js +4 -3
  20. package/dist/commands/core-checkpoint-native.d.ts +18 -0
  21. package/dist/commands/core-checkpoint-native.js +67 -2
  22. package/dist/commands/core-pipeline-driver-native.d.ts +12 -1
  23. package/dist/commands/core-pipeline-driver-native.js +131 -5
  24. package/dist/commands/core.js +13 -1
  25. package/dist/commands/crm.js +83 -6
  26. package/dist/commands/deploy-access.d.ts +33 -0
  27. package/dist/commands/deploy-access.js +322 -0
  28. package/dist/commands/dm-attach.d.ts +106 -0
  29. package/dist/commands/dm-attach.js +184 -0
  30. package/dist/commands/dm.d.ts +37 -0
  31. package/dist/commands/dm.js +172 -10
  32. package/dist/commands/feedback-show.d.ts +40 -0
  33. package/dist/commands/feedback-show.js +261 -0
  34. package/dist/commands/feedback.d.ts +21 -0
  35. package/dist/commands/feedback.js +152 -2
  36. package/dist/commands/files-browse.d.ts +16 -0
  37. package/dist/commands/files-browse.js +52 -1
  38. package/dist/commands/files.d.ts +24 -0
  39. package/dist/commands/files.js +52 -1
  40. package/dist/commands/integrations-connect.js +7 -3
  41. package/dist/commands/integrations-core.d.ts +13 -1
  42. package/dist/commands/integrations-core.js +49 -4
  43. package/dist/commands/integrations.js +4 -2
  44. package/dist/commands/lanes-accounts.js +16 -1
  45. package/dist/commands/lanes-loop.js +14 -4
  46. package/dist/commands/lanes-message.js +6 -4
  47. package/dist/commands/lanes-resume.js +36 -13
  48. package/dist/commands/lanes-shared.d.ts +5 -0
  49. package/dist/commands/lanes-shared.js +13 -3
  50. package/dist/commands/lanes-watch.js +1 -0
  51. package/dist/commands/lanes.d.ts +20 -1
  52. package/dist/commands/lanes.js +201 -51
  53. package/dist/commands/mesh.js +149 -1
  54. package/dist/commands/monitor.d.ts +1 -0
  55. package/dist/commands/monitor.js +4 -1
  56. package/dist/commands/repo.d.ts +41 -0
  57. package/dist/commands/repo.js +331 -0
  58. package/dist/commands/scan.d.ts +3 -1
  59. package/dist/commands/scan.js +7 -3
  60. package/dist/commands/secrets.d.ts +37 -0
  61. package/dist/commands/secrets.js +185 -16
  62. package/dist/commands/signals.js +17 -5
  63. package/dist/commands/staff/listings.d.ts +41 -0
  64. package/dist/commands/staff/listings.js +160 -0
  65. package/dist/commands/staff/reset-test-account.d.ts +3 -2
  66. package/dist/commands/staff/reset-test-account.js +4 -3
  67. package/dist/hq-cloud-sync-runner/bin/sync-runner.js +2629 -1036
  68. package/dist/hq-cloud-sync-runner/package.json +1 -1
  69. package/dist/lib/agent-kit/inbox-state.d.ts +7 -0
  70. package/dist/lib/agent-kit/inbox-state.js +5 -1
  71. package/dist/lib/agent-kit/mcp/tools.js +2 -1
  72. package/dist/lib/agent-kit/run/inbox.js +2 -1
  73. package/dist/lib/agent-kit/wake-secrets.d.ts +7 -0
  74. package/dist/lib/agent-kit/wake-secrets.js +32 -0
  75. package/dist/lib/agent-kit/wake.d.ts +4 -0
  76. package/dist/lib/agent-kit/wake.js +49 -3
  77. package/dist/lib/bot/inflight.d.ts +7 -1
  78. package/dist/lib/bot/inflight.js +10 -2
  79. package/dist/lib/bot/prompt.js +3 -0
  80. package/dist/lib/bot/run.js +72 -20
  81. package/dist/lib/bot/session.d.ts +14 -0
  82. package/dist/lib/bot/session.js +70 -0
  83. package/dist/lib/capacity/collectors/claude-oauth.d.ts +6 -0
  84. package/dist/lib/capacity/collectors/claude-oauth.js +12 -0
  85. package/dist/lib/capacity/lane-login.d.ts +6 -0
  86. package/dist/lib/capacity/lane-login.js +5 -0
  87. package/dist/lib/core-utils/worktree.js +2 -0
  88. package/dist/lib/daemon/exit-cause.d.ts +43 -0
  89. package/dist/lib/daemon/exit-cause.js +88 -0
  90. package/dist/lib/daemon/handoff.d.ts +2 -0
  91. package/dist/lib/daemon/handoff.js +6 -1
  92. package/dist/lib/daemon/hq-child-bootstrap.mjs +20 -3
  93. package/dist/lib/daemon/paths.d.ts +2 -0
  94. package/dist/lib/daemon/paths.js +1 -0
  95. package/dist/lib/daemon/run.js +13 -0
  96. package/dist/lib/daemon/supervisor.d.ts +54 -1
  97. package/dist/lib/daemon/supervisor.js +297 -21
  98. package/dist/lib/daemon/unit-holds.d.ts +22 -0
  99. package/dist/lib/daemon/unit-holds.js +86 -0
  100. package/dist/lib/doctor/checks/sync-health.d.ts +9 -0
  101. package/dist/lib/doctor/checks/sync-health.js +66 -1
  102. package/dist/lib/doctor/company-resolution-state.d.ts +30 -0
  103. package/dist/lib/doctor/company-resolution-state.js +89 -0
  104. package/dist/lib/doctor/fix/apply.d.ts +36 -6
  105. package/dist/lib/doctor/fix/apply.js +128 -12
  106. package/dist/lib/doctor/types.d.ts +1 -1
  107. package/dist/lib/doctor/types.js +1 -0
  108. package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
  109. package/dist/lib/flag-registry-worker-source.generated.js +1 -1
  110. package/dist/lib/hook-engine/resolve.js +6 -2
  111. package/dist/lib/index-render/company-knowledge.d.ts +1 -1
  112. package/dist/lib/index-render/company-knowledge.js +4 -5
  113. package/dist/lib/index-render/index.js +44 -3
  114. package/dist/lib/index-render/projects.d.ts +1 -1
  115. package/dist/lib/index-render/projects.js +5 -5
  116. package/dist/lib/lanes/account-company.d.ts +28 -0
  117. package/dist/lib/lanes/account-company.js +53 -0
  118. package/dist/lib/lanes/accounts.d.ts +22 -3
  119. package/dist/lib/lanes/accounts.js +38 -2
  120. package/dist/lib/lanes/claude-balance.d.ts +6 -1
  121. package/dist/lib/lanes/claude-balance.js +6 -1
  122. package/dist/lib/lanes/claude-credential.d.ts +78 -0
  123. package/dist/lib/lanes/claude-credential.js +163 -0
  124. package/dist/lib/lanes/compaction.d.ts +2 -0
  125. package/dist/lib/lanes/compaction.js +9 -0
  126. package/dist/lib/lanes/config.js +6 -0
  127. package/dist/lib/lanes/envelope-repair-dispatch.js +2 -1
  128. package/dist/lib/lanes/hooks-install.js +2 -1
  129. package/dist/lib/lanes/host-capacity.d.ts +2 -0
  130. package/dist/lib/lanes/host-capacity.js +1 -0
  131. package/dist/lib/lanes/keep-alive.d.ts +1 -1
  132. package/dist/lib/lanes/keep-alive.js +3 -1
  133. package/dist/lib/lanes/links.js +10 -4
  134. package/dist/lib/lanes/loop.js +16 -1
  135. package/dist/lib/lanes/node-binary.d.ts +17 -0
  136. package/dist/lib/lanes/node-binary.js +30 -0
  137. package/dist/lib/lanes/outpost-dispatch.d.ts +2 -1
  138. package/dist/lib/lanes/outpost-dispatch.js +1 -0
  139. package/dist/lib/lanes/reconcile.js +4 -0
  140. package/dist/lib/lanes/remote-control-lane.js +2 -0
  141. package/dist/lib/lanes/spawn.d.ts +3 -0
  142. package/dist/lib/lanes/spawn.js +119 -9
  143. package/dist/lib/lanes/store.d.ts +6 -0
  144. package/dist/lib/lanes/store.js +107 -18
  145. package/dist/lib/lanes/types.d.ts +2 -0
  146. package/dist/lib/lanes/watch.js +28 -5
  147. package/dist/lib/lanes/watcher-main.js +4 -3
  148. package/dist/lib/lanes/watcher.d.ts +4 -0
  149. package/dist/lib/lanes/watcher.js +110 -21
  150. package/dist/lib/mesh/api.d.ts +32 -0
  151. package/dist/lib/mesh/api.js +75 -0
  152. package/dist/lib/secret-scan/detect.js +9 -0
  153. package/dist/lib/secret-scan/repo-config.d.ts +41 -0
  154. package/dist/lib/secret-scan/repo-config.js +237 -0
  155. package/dist/lib/secret-scan/rules.d.ts +7 -1
  156. package/dist/lib/secret-scan/rules.js +3 -1
  157. package/dist/lib/secret-scan/staged.d.ts +5 -0
  158. package/dist/lib/secret-scan/staged.js +19 -2
  159. package/dist/lib/secret-scan/types.d.ts +2 -0
  160. package/dist/lib/sync/server-owned-local-only.d.ts +29 -0
  161. package/dist/lib/sync/server-owned-local-only.js +75 -0
  162. package/dist/sentry-before-send.js +1 -0
  163. package/dist/utils/access-denied-hint.js +6 -0
  164. package/dist/utils/client-health.d.ts +34 -0
  165. package/dist/utils/client-health.js +96 -3
  166. package/dist/utils/package-use-lease.js +27 -9
  167. package/dist/utils/version-gate.d.ts +7 -0
  168. package/dist/utils/version-gate.js +66 -0
  169. package/package.json +8 -8
@@ -1182,6 +1182,11 @@ export const COMMAND_CATALOG = [
1182
1182
  "description": "Local HQ tree root (default: <runtime-path>)",
1183
1183
  "hidden": false,
1184
1184
  "defaultValue": "<runtime-path>"
1185
+ },
1186
+ {
1187
+ "flags": "--company <slug>",
1188
+ "description": "Show only this company's journal (company slug)",
1189
+ "hidden": false
1185
1190
  }
1186
1191
  ],
1187
1192
  "subcommands": []
@@ -2453,7 +2458,7 @@ export const COMMAND_CATALOG = [
2453
2458
  "subcommands": [
2454
2459
  {
2455
2460
  "name": "approve",
2456
- "description": "Approve a script for a secret path",
2461
+ "description": "Approve a script for a secret path. Each --id holds one approval: approving an id that is already approved for a different path or hash fails unless --replace is given. To let the same script run from several machines, approve one HQ-relative --remote-path instead of one absolute path per machine.",
2457
2462
  "aliases": [],
2458
2463
  "hidden": false,
2459
2464
  "helpOption": true,
@@ -2481,7 +2486,7 @@ export const COMMAND_CATALOG = [
2481
2486
  },
2482
2487
  {
2483
2488
  "flags": "--remote-path <path>",
2484
- "description": "Script path reported by the target runtime (defaults to the local path)",
2489
+ "description": "Script path to approve instead of the local path. A path relative to the HQ root (for example companies/<co>/skills/<skill>/<file>) matches on every HQ root; an absolute path must match the runtime's path exactly",
2485
2490
  "hidden": false
2486
2491
  },
2487
2492
  {
@@ -2489,6 +2494,11 @@ export const COMMAND_CATALOG = [
2489
2494
  "description": "Attestation level",
2490
2495
  "hidden": false,
2491
2496
  "defaultValue": "self-asserted-hash"
2497
+ },
2498
+ {
2499
+ "flags": "--replace",
2500
+ "description": "Replace the approval already stored under this --id (a different path or hash). Without it the command fails and keeps the existing approval",
2501
+ "hidden": false
2492
2502
  }
2493
2503
  ],
2494
2504
  "subcommands": []
@@ -2688,7 +2698,7 @@ export const COMMAND_CATALOG = [
2688
2698
  },
2689
2699
  {
2690
2700
  "name": "share",
2691
- "description": "Share a secret with an email address, group, company Outpost (out_…), or the entire company (@all)",
2701
+ "description": "Share a secret with an email address, group, fleet agent (agt_…), company Outpost (out_…), or the entire company (@all)",
2692
2702
  "aliases": [],
2693
2703
  "hidden": false,
2694
2704
  "helpOption": true,
@@ -2706,7 +2716,7 @@ export const COMMAND_CATALOG = [
2706
2716
  "options": [
2707
2717
  {
2708
2718
  "flags": "--with <principal>",
2709
- "description": "Email address, group id, out_ Outpost id, or @all (entire company) to share with",
2719
+ "description": "Email address, group id, agt_ fleet agent uid, out_ Outpost id, or @all (entire company) to share with",
2710
2720
  "hidden": false
2711
2721
  },
2712
2722
  {
@@ -2737,7 +2747,7 @@ export const COMMAND_CATALOG = [
2737
2747
  "options": [
2738
2748
  {
2739
2749
  "flags": "--from <principal>",
2740
- "description": "Email address, group id, out_ Outpost id, or @all (entire company) to remove",
2750
+ "description": "Email address, group id, agt_ fleet agent uid, out_ Outpost id, or @all (entire company) to remove",
2741
2751
  "hidden": false
2742
2752
  }
2743
2753
  ],
@@ -4847,6 +4857,11 @@ export const COMMAND_CATALOG = [
4847
4857
  "flags": "--audience <human|agent|both>",
4848
4858
  "description": "Tag who this message is for: human (a person must read it), agent (progress/status, hidden from humans by default), or both",
4849
4859
  "hidden": false
4860
+ },
4861
+ {
4862
+ "flags": "--attach <path>",
4863
+ "description": "Upload a local file and attach it to the message (repeatable, up to 5 files, 25 MB each). 1:1 DMs and named channels; the file lands in the conversation's vault scope and the recipient can open it. Not available for group DMs or scheduled sends.",
4864
+ "hidden": false
4850
4865
  }
4851
4866
  ],
4852
4867
  "subcommands": []
@@ -5415,6 +5430,93 @@ export const COMMAND_CATALOG = [
5415
5430
  }
5416
5431
  ],
5417
5432
  "subcommands": []
5433
+ },
5434
+ {
5435
+ "name": "link",
5436
+ "description": "Print the public tracking link for a ticket (status.hqforwork.com)",
5437
+ "aliases": [],
5438
+ "hidden": false,
5439
+ "helpOption": true,
5440
+ "helpCommand": false,
5441
+ "usage": "[options] <id>",
5442
+ "helpText": [],
5443
+ "arguments": [
5444
+ {
5445
+ "name": "id",
5446
+ "required": true,
5447
+ "variadic": false,
5448
+ "description": "Feedback id (feedback_<uuid>)"
5449
+ }
5450
+ ],
5451
+ "options": [],
5452
+ "subcommands": []
5453
+ },
5454
+ {
5455
+ "name": "update",
5456
+ "description": "Post a customer-visible status update on a ticket's public page and its #hq-feedback thread",
5457
+ "aliases": [],
5458
+ "hidden": false,
5459
+ "helpOption": true,
5460
+ "helpCommand": false,
5461
+ "usage": "[options] <id>",
5462
+ "helpText": [],
5463
+ "arguments": [
5464
+ {
5465
+ "name": "id",
5466
+ "required": true,
5467
+ "variadic": false,
5468
+ "description": "Feedback id (feedback_<uuid>)"
5469
+ }
5470
+ ],
5471
+ "options": [
5472
+ {
5473
+ "flags": "--state <state>",
5474
+ "description": "One of: triaged, in-progress, shipped, verified, resolved",
5475
+ "hidden": false
5476
+ },
5477
+ {
5478
+ "flags": "--note <text>",
5479
+ "description": "What the customer should read (plain text, up to 2000 characters)",
5480
+ "hidden": false
5481
+ }
5482
+ ],
5483
+ "subcommands": []
5484
+ },
5485
+ {
5486
+ "name": "show",
5487
+ "description": "Operators only: show one feedback row and fetch its attachments",
5488
+ "aliases": [],
5489
+ "hidden": false,
5490
+ "helpOption": true,
5491
+ "helpCommand": false,
5492
+ "usage": "[options] <id>",
5493
+ "helpText": [],
5494
+ "arguments": [
5495
+ {
5496
+ "name": "id",
5497
+ "required": true,
5498
+ "variadic": false,
5499
+ "description": ""
5500
+ }
5501
+ ],
5502
+ "options": [
5503
+ {
5504
+ "flags": "--download <dir>",
5505
+ "description": "Save screenshots and attachments into this directory",
5506
+ "hidden": false
5507
+ },
5508
+ {
5509
+ "flags": "--logs",
5510
+ "description": "With --download, also save the row's log bundle",
5511
+ "hidden": false
5512
+ },
5513
+ {
5514
+ "flags": "--json",
5515
+ "description": "Print the row as JSON (download links removed)",
5516
+ "hidden": false
5517
+ }
5518
+ ],
5519
+ "subcommands": []
5418
5520
  }
5419
5521
  ]
5420
5522
  },
@@ -5834,6 +5936,11 @@ export const COMMAND_CATALOG = [
5834
5936
  "description": "Entity slug (defaults to .hq/config.json activeCompany)",
5835
5937
  "hidden": false
5836
5938
  },
5939
+ {
5940
+ "flags": "--company <slug>",
5941
+ "description": "Company slug; same as --entity",
5942
+ "hidden": false
5943
+ },
5837
5944
  {
5838
5945
  "flags": "--type <signalType>",
5839
5946
  "description": "Signal type: action_item | commitment | decision | key_point | risk | summary",
@@ -5884,6 +5991,11 @@ export const COMMAND_CATALOG = [
5884
5991
  "description": "Entity slug (defaults to .hq/config.json activeCompany)",
5885
5992
  "hidden": false
5886
5993
  },
5994
+ {
5995
+ "flags": "--company <slug>",
5996
+ "description": "Company slug; same as --entity",
5997
+ "hidden": false
5998
+ },
5887
5999
  {
5888
6000
  "flags": "--type <signalType>",
5889
6001
  "description": "Signal type: action_item | commitment | decision | key_point | risk | summary",
@@ -6145,6 +6257,11 @@ export const COMMAND_CATALOG = [
6145
6257
  "description": "Stable key so retries execute at most once (default: generated)",
6146
6258
  "hidden": false
6147
6259
  },
6260
+ {
6261
+ "flags": "--timeout <seconds>",
6262
+ "description": "How long to wait for a long call that runs as a background job (default 270, max 1800)",
6263
+ "hidden": false
6264
+ },
6148
6265
  {
6149
6266
  "flags": "--json",
6150
6267
  "description": "Machine-readable output",
@@ -7477,9 +7594,69 @@ export const COMMAND_CATALOG = [
7477
7594
  }
7478
7595
  ]
7479
7596
  },
7597
+ {
7598
+ "name": "repo",
7599
+ "description": "Register code repos with HQ (repos/ and companies/manifest.yaml)",
7600
+ "aliases": [],
7601
+ "hidden": false,
7602
+ "helpOption": true,
7603
+ "helpCommand": true,
7604
+ "usage": "[options] [command]",
7605
+ "helpText": [],
7606
+ "arguments": [],
7607
+ "options": [],
7608
+ "subcommands": [
7609
+ {
7610
+ "name": "add",
7611
+ "description": "Link a git checkout into repos/<private|public>/<name> and list it under companies.<slug>.repos in companies/manifest.yaml. A checkout already directly under repos/private or repos/public is registered in place.",
7612
+ "aliases": [],
7613
+ "hidden": false,
7614
+ "helpOption": true,
7615
+ "helpCommand": false,
7616
+ "usage": "[options] <path>",
7617
+ "helpText": [],
7618
+ "arguments": [
7619
+ {
7620
+ "name": "path",
7621
+ "required": true,
7622
+ "variadic": false,
7623
+ "description": ""
7624
+ }
7625
+ ],
7626
+ "options": [
7627
+ {
7628
+ "flags": "--company <slug>",
7629
+ "description": "Company that owns the repo (checked against companies/manifest.yaml only, not the session's locked company set or your memberships)",
7630
+ "hidden": false
7631
+ },
7632
+ {
7633
+ "flags": "--public",
7634
+ "description": "Link under repos/public (default: repos/private)",
7635
+ "hidden": false
7636
+ },
7637
+ {
7638
+ "flags": "--name <name>",
7639
+ "description": "Name under repos/ (default: the checkout's folder name)",
7640
+ "hidden": false
7641
+ },
7642
+ {
7643
+ "flags": "--hq-root <path>",
7644
+ "description": "HQ root (default: found from the current directory)",
7645
+ "hidden": false
7646
+ },
7647
+ {
7648
+ "flags": "--dry-run",
7649
+ "description": "Print what would change without changing anything",
7650
+ "hidden": false
7651
+ }
7652
+ ],
7653
+ "subcommands": []
7654
+ }
7655
+ ]
7656
+ },
7480
7657
  {
7481
7658
  "name": "crm",
7482
- "description": "Native CRM — upsert canonical entities into a company vault",
7659
+ "description": "Read and upsert canonical CRM entities in a company vault",
7483
7660
  "aliases": [],
7484
7661
  "hidden": false,
7485
7662
  "helpOption": true,
@@ -7507,6 +7684,72 @@ export const COMMAND_CATALOG = [
7507
7684
  "arguments": [],
7508
7685
  "options": [],
7509
7686
  "subcommands": [
7687
+ {
7688
+ "name": "list",
7689
+ "description": "List one CRM entity page as JSON; continue with nextCursor until null",
7690
+ "aliases": [],
7691
+ "hidden": false,
7692
+ "helpOption": true,
7693
+ "helpCommand": false,
7694
+ "usage": "[options]",
7695
+ "helpText": [],
7696
+ "arguments": [],
7697
+ "options": [
7698
+ {
7699
+ "flags": "--type <type>",
7700
+ "description": "Filter by entity type: person | project | company | concept | contact | deal | contract | invoice",
7701
+ "hidden": false
7702
+ },
7703
+ {
7704
+ "flags": "--stage <stage>",
7705
+ "description": "Exact pipeline stage",
7706
+ "hidden": false
7707
+ },
7708
+ {
7709
+ "flags": "--name <text>",
7710
+ "description": "Case-insensitive canonical name filter",
7711
+ "hidden": false
7712
+ },
7713
+ {
7714
+ "flags": "--limit <number>",
7715
+ "description": "Object keys examined per page (1–100)",
7716
+ "hidden": false,
7717
+ "defaultValue": "50"
7718
+ },
7719
+ {
7720
+ "flags": "--cursor <cursor>",
7721
+ "description": "Continue a prior page with the same company and filters",
7722
+ "hidden": false
7723
+ }
7724
+ ],
7725
+ "subcommands": []
7726
+ },
7727
+ {
7728
+ "name": "get",
7729
+ "description": "Read a canonical CRM entity as JSON",
7730
+ "aliases": [],
7731
+ "hidden": false,
7732
+ "helpOption": true,
7733
+ "helpCommand": false,
7734
+ "usage": "[options] <id>",
7735
+ "helpText": [],
7736
+ "arguments": [
7737
+ {
7738
+ "name": "id",
7739
+ "required": true,
7740
+ "variadic": false,
7741
+ "description": ""
7742
+ }
7743
+ ],
7744
+ "options": [
7745
+ {
7746
+ "flags": "--key <path>",
7747
+ "description": "Source key returned by list, for direct lookup in large vaults",
7748
+ "hidden": false
7749
+ }
7750
+ ],
7751
+ "subcommands": []
7752
+ },
7510
7753
  {
7511
7754
  "name": "upsert",
7512
7755
  "description": "Create or update a canonical CRM entity (POST /crm/entities). Use --type/--name (+ optional external-id flags) or --json <file|-> to pass a full entity/array.",
@@ -7838,7 +8081,7 @@ export const COMMAND_CATALOG = [
7838
8081
  },
7839
8082
  {
7840
8083
  "flags": "--work-mesh-live-enabled <true|false>",
7841
- "description": "Turn live work tracking on or off for this company (default off). Work tracking needs this and --work-registry-enabled",
8084
+ "description": "Turn live work tracking on or off for this company (default on; set false to opt out). Work tracking needs this and --work-registry-enabled",
7842
8085
  "hidden": false
7843
8086
  }
7844
8087
  ],
@@ -8878,6 +9121,12 @@ export const COMMAND_CATALOG = [
8878
9121
  "flags": "--retry-minutes <n>",
8879
9122
  "description": "Re-wake while items stay pending (default 10, minimum 1)",
8880
9123
  "hidden": false
9124
+ },
9125
+ {
9126
+ "flags": "--header-secret <Header=SECRET>",
9127
+ "description": "Send a header using a stored company secret (repeatable; value resolved at wake time)",
9128
+ "hidden": false,
9129
+ "defaultValue": []
8881
9130
  }
8882
9131
  ],
8883
9132
  "subcommands": []
@@ -9620,6 +9869,42 @@ export const COMMAND_CATALOG = [
9620
9869
  }
9621
9870
  ],
9622
9871
  "subcommands": []
9872
+ },
9873
+ {
9874
+ "name": "runs",
9875
+ "description": "List recent runs of a company job and their outcomes (owner or admin)",
9876
+ "aliases": [],
9877
+ "hidden": false,
9878
+ "helpOption": true,
9879
+ "helpCommand": false,
9880
+ "usage": "[options] <jobId>",
9881
+ "helpText": [],
9882
+ "arguments": [
9883
+ {
9884
+ "name": "jobId",
9885
+ "required": true,
9886
+ "variadic": false,
9887
+ "description": "Job id from hq outposts status --company <slug>"
9888
+ }
9889
+ ],
9890
+ "options": [
9891
+ {
9892
+ "flags": "--company <slug>",
9893
+ "description": "Company that owns the Outpost",
9894
+ "hidden": false
9895
+ },
9896
+ {
9897
+ "flags": "--outpost <name|id>",
9898
+ "description": "Which company Outpost, when the company has more than one",
9899
+ "hidden": false
9900
+ },
9901
+ {
9902
+ "flags": "--json",
9903
+ "description": "Emit the runs as JSON",
9904
+ "hidden": false
9905
+ }
9906
+ ],
9907
+ "subcommands": []
9623
9908
  }
9624
9909
  ]
9625
9910
  },
@@ -14320,28 +14605,172 @@ export const COMMAND_CATALOG = [
14320
14605
  "subcommands": []
14321
14606
  },
14322
14607
  {
14323
- "name": "member",
14324
- "description": "Manage project members",
14608
+ "name": "archive",
14609
+ "description": "Archive a Board (for example a duplicate); keeps stories, folder, channel, members and history",
14325
14610
  "aliases": [],
14326
14611
  "hidden": false,
14327
14612
  "helpOption": true,
14328
- "helpCommand": true,
14329
- "usage": "[options] [command]",
14613
+ "helpCommand": false,
14614
+ "usage": "[options] <projectId>",
14330
14615
  "helpText": [],
14331
- "arguments": [],
14332
- "options": [],
14333
- "subcommands": [
14616
+ "arguments": [
14334
14617
  {
14335
- "name": "add",
14336
- "description": "Add an active company member to a project",
14337
- "aliases": [],
14338
- "hidden": false,
14339
- "helpOption": true,
14340
- "helpCommand": false,
14341
- "usage": "[options] <projectId> <personUid>",
14342
- "helpText": [],
14343
- "arguments": [
14344
- {
14618
+ "name": "projectId",
14619
+ "required": true,
14620
+ "variadic": false,
14621
+ "description": ""
14622
+ }
14623
+ ],
14624
+ "options": [
14625
+ {
14626
+ "flags": "--company <slug|uid>",
14627
+ "description": "Company slug or cloud uid",
14628
+ "hidden": false
14629
+ },
14630
+ {
14631
+ "flags": "--expected-version <n>",
14632
+ "description": "Lifecycle row version to replace (defaults to the current one)",
14633
+ "hidden": false
14634
+ },
14635
+ {
14636
+ "flags": "--json",
14637
+ "description": "Print machine-readable JSON",
14638
+ "hidden": false
14639
+ },
14640
+ {
14641
+ "flags": "--confirm-nonempty",
14642
+ "description": "Archive even when the Board still has stories",
14643
+ "hidden": false
14644
+ }
14645
+ ],
14646
+ "subcommands": []
14647
+ },
14648
+ {
14649
+ "name": "complete",
14650
+ "description": "Mark a Board completed; it leaves the active list and organize candidates",
14651
+ "aliases": [],
14652
+ "hidden": false,
14653
+ "helpOption": true,
14654
+ "helpCommand": false,
14655
+ "usage": "[options] <projectId>",
14656
+ "helpText": [],
14657
+ "arguments": [
14658
+ {
14659
+ "name": "projectId",
14660
+ "required": true,
14661
+ "variadic": false,
14662
+ "description": ""
14663
+ }
14664
+ ],
14665
+ "options": [
14666
+ {
14667
+ "flags": "--company <slug|uid>",
14668
+ "description": "Company slug or cloud uid",
14669
+ "hidden": false
14670
+ },
14671
+ {
14672
+ "flags": "--expected-version <n>",
14673
+ "description": "Lifecycle row version to replace (defaults to the current one)",
14674
+ "hidden": false
14675
+ },
14676
+ {
14677
+ "flags": "--json",
14678
+ "description": "Print machine-readable JSON",
14679
+ "hidden": false
14680
+ }
14681
+ ],
14682
+ "subcommands": []
14683
+ },
14684
+ {
14685
+ "name": "activate",
14686
+ "description": "Restore a completed or archived Board to active",
14687
+ "aliases": [],
14688
+ "hidden": false,
14689
+ "helpOption": true,
14690
+ "helpCommand": false,
14691
+ "usage": "[options] <projectId>",
14692
+ "helpText": [],
14693
+ "arguments": [
14694
+ {
14695
+ "name": "projectId",
14696
+ "required": true,
14697
+ "variadic": false,
14698
+ "description": ""
14699
+ }
14700
+ ],
14701
+ "options": [
14702
+ {
14703
+ "flags": "--company <slug|uid>",
14704
+ "description": "Company slug or cloud uid",
14705
+ "hidden": false
14706
+ },
14707
+ {
14708
+ "flags": "--expected-version <n>",
14709
+ "description": "Lifecycle row version to replace (defaults to the current one)",
14710
+ "hidden": false
14711
+ },
14712
+ {
14713
+ "flags": "--json",
14714
+ "description": "Print machine-readable JSON",
14715
+ "hidden": false
14716
+ }
14717
+ ],
14718
+ "subcommands": []
14719
+ },
14720
+ {
14721
+ "name": "lifecycle",
14722
+ "description": "List completed and archived Boards, or show one project's lifecycle status",
14723
+ "aliases": [],
14724
+ "hidden": false,
14725
+ "helpOption": true,
14726
+ "helpCommand": false,
14727
+ "usage": "[options] [projectId]",
14728
+ "helpText": [],
14729
+ "arguments": [
14730
+ {
14731
+ "name": "projectId",
14732
+ "required": false,
14733
+ "variadic": false,
14734
+ "description": ""
14735
+ }
14736
+ ],
14737
+ "options": [
14738
+ {
14739
+ "flags": "--company <slug|uid>",
14740
+ "description": "Company slug or cloud uid",
14741
+ "hidden": false
14742
+ },
14743
+ {
14744
+ "flags": "--json",
14745
+ "description": "Print machine-readable JSON",
14746
+ "hidden": false
14747
+ }
14748
+ ],
14749
+ "subcommands": []
14750
+ },
14751
+ {
14752
+ "name": "member",
14753
+ "description": "Manage project members",
14754
+ "aliases": [],
14755
+ "hidden": false,
14756
+ "helpOption": true,
14757
+ "helpCommand": true,
14758
+ "usage": "[options] [command]",
14759
+ "helpText": [],
14760
+ "arguments": [],
14761
+ "options": [],
14762
+ "subcommands": [
14763
+ {
14764
+ "name": "add",
14765
+ "description": "Add an active company member to a project",
14766
+ "aliases": [],
14767
+ "hidden": false,
14768
+ "helpOption": true,
14769
+ "helpCommand": false,
14770
+ "usage": "[options] <projectId> <personUid>",
14771
+ "helpText": [],
14772
+ "arguments": [
14773
+ {
14345
14774
  "name": "projectId",
14346
14775
  "required": true,
14347
14776
  "variadic": false,
@@ -18091,6 +18520,57 @@ export const COMMAND_CATALOG = [
18091
18520
  ],
18092
18521
  "subcommands": []
18093
18522
  },
18523
+ {
18524
+ "name": "set-target",
18525
+ "description": "",
18526
+ "aliases": [],
18527
+ "hidden": true,
18528
+ "helpOption": true,
18529
+ "helpCommand": false,
18530
+ "usage": "[options] <lane-id>",
18531
+ "helpText": [],
18532
+ "arguments": [
18533
+ {
18534
+ "name": "lane-id",
18535
+ "required": true,
18536
+ "variadic": false,
18537
+ "description": "Lane id"
18538
+ }
18539
+ ],
18540
+ "options": [
18541
+ {
18542
+ "flags": "--model <name>",
18543
+ "description": "Model for the next resume",
18544
+ "hidden": false
18545
+ },
18546
+ {
18547
+ "flags": "--effort <level>",
18548
+ "description": "Effort for the next resume",
18549
+ "hidden": false
18550
+ },
18551
+ {
18552
+ "flags": "--reason <text>",
18553
+ "description": "Reason recorded in the lane's settings history",
18554
+ "hidden": false
18555
+ },
18556
+ {
18557
+ "flags": "--senior <ref>",
18558
+ "description": "Senior the primary authorized the change against",
18559
+ "hidden": false
18560
+ },
18561
+ {
18562
+ "flags": "--actor <ref>",
18563
+ "description": "lane:<id> or session:<id> that requested the change",
18564
+ "hidden": false
18565
+ },
18566
+ {
18567
+ "flags": "--json",
18568
+ "description": "JSON on stdout (always)",
18569
+ "hidden": false
18570
+ }
18571
+ ],
18572
+ "subcommands": []
18573
+ },
18094
18574
  {
18095
18575
  "name": "keep-alive",
18096
18576
  "description": "Opt a lane into or out of automatic lead-lane resumes",
@@ -22571,6 +23051,99 @@ export const COMMAND_CATALOG = [
22571
23051
  }
22572
23052
  ],
22573
23053
  "subcommands": []
23054
+ },
23055
+ {
23056
+ "name": "access",
23057
+ "description": "Show or change who can open a deploy app (company, selected members, or public)",
23058
+ "aliases": [],
23059
+ "hidden": false,
23060
+ "helpOption": true,
23061
+ "helpCommand": false,
23062
+ "usage": "[options] [command] [app]",
23063
+ "helpText": [],
23064
+ "arguments": [
23065
+ {
23066
+ "name": "app",
23067
+ "required": false,
23068
+ "variadic": false,
23069
+ "description": "app id, subdomain, or exact name"
23070
+ }
23071
+ ],
23072
+ "options": [
23073
+ {
23074
+ "flags": "--company <slug>",
23075
+ "description": "use this company instead of the active company",
23076
+ "hidden": false
23077
+ },
23078
+ {
23079
+ "flags": "--mode <mode>",
23080
+ "description": "access mode: company | selected | public",
23081
+ "hidden": false
23082
+ },
23083
+ {
23084
+ "flags": "--add-user <id>",
23085
+ "description": "add a selected member by person id (repeatable)",
23086
+ "hidden": false
23087
+ },
23088
+ {
23089
+ "flags": "--remove-user <id>",
23090
+ "description": "remove a selected member by person id (repeatable)",
23091
+ "hidden": false
23092
+ },
23093
+ {
23094
+ "flags": "--add-group <id>",
23095
+ "description": "add a selected group by id (repeatable)",
23096
+ "hidden": false
23097
+ },
23098
+ {
23099
+ "flags": "--remove-group <id>",
23100
+ "description": "remove a selected group by id (repeatable)",
23101
+ "hidden": false
23102
+ },
23103
+ {
23104
+ "flags": "--json",
23105
+ "description": "print the resulting policy as JSON",
23106
+ "hidden": false
23107
+ },
23108
+ {
23109
+ "flags": "--yes",
23110
+ "description": "approve making the app public or removing its password without a prompt",
23111
+ "hidden": false
23112
+ }
23113
+ ],
23114
+ "subcommands": [
23115
+ {
23116
+ "name": "get",
23117
+ "description": "Show an app's current access mode and selected members",
23118
+ "aliases": [],
23119
+ "hidden": false,
23120
+ "helpOption": true,
23121
+ "helpCommand": false,
23122
+ "usage": "[options] <app>",
23123
+ "helpText": [],
23124
+ "arguments": [
23125
+ {
23126
+ "name": "app",
23127
+ "required": true,
23128
+ "variadic": false,
23129
+ "description": ""
23130
+ }
23131
+ ],
23132
+ "options": [
23133
+ {
23134
+ "flags": "--company <slug>",
23135
+ "description": "use this company instead of the active company",
23136
+ "hidden": false
23137
+ },
23138
+ {
23139
+ "flags": "--json",
23140
+ "description": "print the policy as JSON",
23141
+ "hidden": false
23142
+ }
23143
+ ],
23144
+ "subcommands": []
23145
+ }
23146
+ ]
22574
23147
  }
22575
23148
  ]
22576
23149
  },
@@ -22695,6 +23268,85 @@ export const COMMAND_CATALOG = [
22695
23268
  "subcommands": []
22696
23269
  }
22697
23270
  ]
23271
+ },
23272
+ {
23273
+ "name": "listings",
23274
+ "description": "Review marketplace listings waiting for approval (staff only). Wraps /v1/moderation.",
23275
+ "aliases": [],
23276
+ "hidden": false,
23277
+ "helpOption": true,
23278
+ "helpCommand": true,
23279
+ "usage": "[options] [command]",
23280
+ "helpText": [],
23281
+ "arguments": [],
23282
+ "options": [],
23283
+ "subcommands": [
23284
+ {
23285
+ "name": "queue",
23286
+ "description": "List published packs waiting for review, oldest first.",
23287
+ "aliases": [],
23288
+ "hidden": false,
23289
+ "helpOption": true,
23290
+ "helpCommand": false,
23291
+ "usage": "[options]",
23292
+ "helpText": [],
23293
+ "arguments": [],
23294
+ "options": [],
23295
+ "subcommands": []
23296
+ },
23297
+ {
23298
+ "name": "approve",
23299
+ "description": "Approve a pending listing so it goes live (older approved versions are superseded).",
23300
+ "aliases": [],
23301
+ "hidden": false,
23302
+ "helpOption": true,
23303
+ "helpCommand": false,
23304
+ "usage": "[options] <listingId>",
23305
+ "helpText": [],
23306
+ "arguments": [
23307
+ {
23308
+ "name": "listingId",
23309
+ "required": true,
23310
+ "variadic": false,
23311
+ "description": "Listing id from `hq staff listings queue` (lst_…)"
23312
+ }
23313
+ ],
23314
+ "options": [
23315
+ {
23316
+ "flags": "--note <text>",
23317
+ "description": "Reviewer note recorded on the listing",
23318
+ "hidden": false
23319
+ }
23320
+ ],
23321
+ "subcommands": []
23322
+ },
23323
+ {
23324
+ "name": "reject",
23325
+ "description": "Reject a pending listing.",
23326
+ "aliases": [],
23327
+ "hidden": false,
23328
+ "helpOption": true,
23329
+ "helpCommand": false,
23330
+ "usage": "[options] <listingId>",
23331
+ "helpText": [],
23332
+ "arguments": [
23333
+ {
23334
+ "name": "listingId",
23335
+ "required": true,
23336
+ "variadic": false,
23337
+ "description": "Listing id from `hq staff listings queue` (lst_…)"
23338
+ }
23339
+ ],
23340
+ "options": [
23341
+ {
23342
+ "flags": "--note <reason>",
23343
+ "description": "Why it was rejected (recorded on the listing)",
23344
+ "hidden": false
23345
+ }
23346
+ ],
23347
+ "subcommands": []
23348
+ }
23349
+ ]
22698
23350
  }
22699
23351
  ]
22700
23352
  }