@indigoai-us/hq-cli 5.345.156 → 5.345.160

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 (188) hide show
  1. package/CHANGELOG.md +255 -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 +535 -10
  6. package/dist/command-catalog.generated.js +678 -31
  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/access.d.ts +6 -0
  12. package/dist/commands/access.js +18 -1
  13. package/dist/commands/acl-lock.d.ts +41 -0
  14. package/dist/commands/acl-lock.js +28 -0
  15. package/dist/commands/agent-enroll.d.ts +2 -0
  16. package/dist/commands/agent-enroll.js +9 -4
  17. package/dist/commands/agent-kit.js +8 -6
  18. package/dist/commands/agents.js +5 -11
  19. package/dist/commands/billing-sponsor.d.ts +4 -4
  20. package/dist/commands/billing-sponsor.js +11 -11
  21. package/dist/commands/billing-usage.d.ts +22 -8
  22. package/dist/commands/billing-usage.js +57 -22
  23. package/dist/commands/billing.d.ts +7 -7
  24. package/dist/commands/billing.js +13 -13
  25. package/dist/commands/bot.js +7 -4
  26. package/dist/commands/channel-suggest.d.ts +56 -0
  27. package/dist/commands/channel-suggest.js +170 -0
  28. package/dist/commands/channels.js +7 -1
  29. package/dist/commands/cloud-provision.js +2 -2
  30. package/dist/commands/cloud.d.ts +45 -0
  31. package/dist/commands/cloud.js +157 -17
  32. package/dist/commands/company.js +4 -3
  33. package/dist/commands/core-checkpoint-native.d.ts +18 -0
  34. package/dist/commands/core-checkpoint-native.js +67 -2
  35. package/dist/commands/core-pipeline-driver-native.d.ts +12 -1
  36. package/dist/commands/core-pipeline-driver-native.js +131 -5
  37. package/dist/commands/core.js +12 -0
  38. package/dist/commands/crm.js +83 -6
  39. package/dist/commands/db-remote-deps.js +12 -1
  40. package/dist/commands/deploy-access.d.ts +33 -0
  41. package/dist/commands/deploy-access.js +322 -0
  42. package/dist/commands/dm-attach.d.ts +106 -0
  43. package/dist/commands/dm-attach.js +184 -0
  44. package/dist/commands/dm.d.ts +37 -0
  45. package/dist/commands/dm.js +172 -10
  46. package/dist/commands/feedback-show.d.ts +40 -0
  47. package/dist/commands/feedback-show.js +261 -0
  48. package/dist/commands/feedback.d.ts +21 -0
  49. package/dist/commands/feedback.js +152 -2
  50. package/dist/commands/files.d.ts +24 -0
  51. package/dist/commands/files.js +71 -8
  52. package/dist/commands/integrations-connect.js +7 -3
  53. package/dist/commands/lanes-accounts.js +16 -1
  54. package/dist/commands/lanes-loop.js +14 -4
  55. package/dist/commands/lanes-message.js +6 -4
  56. package/dist/commands/lanes-resume.js +36 -13
  57. package/dist/commands/lanes-shared.d.ts +5 -0
  58. package/dist/commands/lanes-shared.js +13 -3
  59. package/dist/commands/lanes-watch.js +1 -0
  60. package/dist/commands/lanes.d.ts +20 -1
  61. package/dist/commands/lanes.js +201 -51
  62. package/dist/commands/meetings.d.ts +4 -4
  63. package/dist/commands/meetings.js +17 -8
  64. package/dist/commands/mesh.js +149 -1
  65. package/dist/commands/monitor.d.ts +1 -0
  66. package/dist/commands/monitor.js +4 -1
  67. package/dist/commands/repo.d.ts +41 -0
  68. package/dist/commands/repo.js +331 -0
  69. package/dist/commands/scan.d.ts +3 -1
  70. package/dist/commands/scan.js +7 -3
  71. package/dist/commands/secrets.d.ts +21 -0
  72. package/dist/commands/secrets.js +114 -14
  73. package/dist/commands/signals.js +17 -5
  74. package/dist/commands/skill.js +6 -6
  75. package/dist/commands/staff/listings.d.ts +41 -0
  76. package/dist/commands/staff/listings.js +160 -0
  77. package/dist/commands/staff/reset-test-account.d.ts +3 -2
  78. package/dist/commands/staff/reset-test-account.js +4 -3
  79. package/dist/commands/whoami.js +1 -1
  80. package/dist/hook-engine-path.js +13 -2
  81. package/dist/hq-cloud-sync-runner/bin/sync-runner.js +3392 -1243
  82. package/dist/hq-cloud-sync-runner/package.json +1 -1
  83. package/dist/lib/agent-kit/run/inbox.js +2 -1
  84. package/dist/lib/agent-kit/wake-secrets.d.ts +7 -0
  85. package/dist/lib/agent-kit/wake-secrets.js +32 -0
  86. package/dist/lib/agent-kit/wake.d.ts +4 -0
  87. package/dist/lib/agent-kit/wake.js +49 -3
  88. package/dist/lib/billing/plan-limit-refusals.d.ts +13 -3
  89. package/dist/lib/billing/plan-limit-refusals.js +26 -3
  90. package/dist/lib/billing/plan-limit-upgrade-url.d.ts +8 -0
  91. package/dist/lib/billing/plan-limit-upgrade-url.js +18 -0
  92. package/dist/lib/billing/plan-lock.d.ts +22 -6
  93. package/dist/lib/billing/plan-lock.js +58 -30
  94. package/dist/lib/billing/usage-cost.d.ts +24 -2
  95. package/dist/lib/billing/usage-cost.js +103 -3
  96. package/dist/lib/billing/usage-only.d.ts +37 -1
  97. package/dist/lib/billing/usage-only.js +89 -4
  98. package/dist/lib/billing/usage-pause.d.ts +27 -0
  99. package/dist/lib/billing/usage-pause.js +50 -0
  100. package/dist/lib/bot/inflight.d.ts +7 -1
  101. package/dist/lib/bot/inflight.js +10 -2
  102. package/dist/lib/bot/prompt.js +3 -0
  103. package/dist/lib/bot/run.js +72 -20
  104. package/dist/lib/bot/session.d.ts +14 -0
  105. package/dist/lib/bot/session.js +70 -0
  106. package/dist/lib/capacity/collectors/claude-oauth.d.ts +6 -0
  107. package/dist/lib/capacity/collectors/claude-oauth.js +12 -0
  108. package/dist/lib/capacity/lane-login.d.ts +6 -0
  109. package/dist/lib/capacity/lane-login.js +5 -0
  110. package/dist/lib/core-utils/worktree.js +2 -0
  111. package/dist/lib/daemon/exit-cause.d.ts +43 -0
  112. package/dist/lib/daemon/exit-cause.js +88 -0
  113. package/dist/lib/daemon/handoff.d.ts +2 -0
  114. package/dist/lib/daemon/handoff.js +6 -1
  115. package/dist/lib/daemon/hq-child-bootstrap.mjs +20 -3
  116. package/dist/lib/daemon/paths.d.ts +2 -0
  117. package/dist/lib/daemon/paths.js +1 -0
  118. package/dist/lib/daemon/run.js +13 -0
  119. package/dist/lib/daemon/supervisor.d.ts +54 -1
  120. package/dist/lib/daemon/supervisor.js +297 -21
  121. package/dist/lib/daemon/unit-holds.d.ts +22 -0
  122. package/dist/lib/daemon/unit-holds.js +86 -0
  123. package/dist/lib/db/control-plane.d.ts +5 -0
  124. package/dist/lib/db/control-plane.js +10 -0
  125. package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
  126. package/dist/lib/flag-registry-worker-source.generated.js +1 -1
  127. package/dist/lib/hook-engine/resolve.d.ts +14 -0
  128. package/dist/lib/hook-engine/resolve.js +55 -1
  129. package/dist/lib/index-render/company-knowledge.js +1 -3
  130. package/dist/lib/index-render/projects.js +1 -3
  131. package/dist/lib/lanes/account-company.d.ts +28 -0
  132. package/dist/lib/lanes/account-company.js +53 -0
  133. package/dist/lib/lanes/accounts.d.ts +22 -3
  134. package/dist/lib/lanes/accounts.js +38 -2
  135. package/dist/lib/lanes/claude-balance.d.ts +6 -1
  136. package/dist/lib/lanes/claude-balance.js +6 -1
  137. package/dist/lib/lanes/claude-credential.d.ts +78 -0
  138. package/dist/lib/lanes/claude-credential.js +163 -0
  139. package/dist/lib/lanes/compaction.d.ts +2 -0
  140. package/dist/lib/lanes/compaction.js +9 -0
  141. package/dist/lib/lanes/config.js +6 -0
  142. package/dist/lib/lanes/envelope-repair-dispatch.js +2 -1
  143. package/dist/lib/lanes/hooks-install.js +2 -1
  144. package/dist/lib/lanes/host-capacity.d.ts +2 -0
  145. package/dist/lib/lanes/host-capacity.js +1 -0
  146. package/dist/lib/lanes/keep-alive.d.ts +1 -1
  147. package/dist/lib/lanes/keep-alive.js +3 -1
  148. package/dist/lib/lanes/links.js +10 -4
  149. package/dist/lib/lanes/loop.js +16 -1
  150. package/dist/lib/lanes/node-binary.d.ts +17 -0
  151. package/dist/lib/lanes/node-binary.js +30 -0
  152. package/dist/lib/lanes/outpost-dispatch.d.ts +2 -1
  153. package/dist/lib/lanes/outpost-dispatch.js +1 -0
  154. package/dist/lib/lanes/reconcile.js +4 -0
  155. package/dist/lib/lanes/remote-control-lane.js +2 -0
  156. package/dist/lib/lanes/spawn.d.ts +3 -0
  157. package/dist/lib/lanes/spawn.js +119 -9
  158. package/dist/lib/lanes/store.d.ts +6 -0
  159. package/dist/lib/lanes/store.js +107 -18
  160. package/dist/lib/lanes/types.d.ts +2 -0
  161. package/dist/lib/lanes/watch.js +28 -5
  162. package/dist/lib/lanes/watcher-main.js +4 -3
  163. package/dist/lib/lanes/watcher.d.ts +4 -0
  164. package/dist/lib/lanes/watcher.js +110 -21
  165. package/dist/lib/mesh/api.d.ts +32 -0
  166. package/dist/lib/mesh/api.js +75 -0
  167. package/dist/lib/plan-limit-nag.d.ts +0 -16
  168. package/dist/lib/plan-limit-nag.js +17 -18
  169. package/dist/lib/secret-scan/detect.js +9 -0
  170. package/dist/lib/secret-scan/repo-config.d.ts +41 -0
  171. package/dist/lib/secret-scan/repo-config.js +237 -0
  172. package/dist/lib/secret-scan/rules.d.ts +7 -1
  173. package/dist/lib/secret-scan/rules.js +3 -1
  174. package/dist/lib/secret-scan/staged.d.ts +5 -0
  175. package/dist/lib/secret-scan/staged.js +19 -2
  176. package/dist/lib/secret-scan/types.d.ts +2 -0
  177. package/dist/lib/sync/server-owned-local-only.d.ts +29 -0
  178. package/dist/lib/sync/server-owned-local-only.js +75 -0
  179. package/dist/main.d.ts +0 -2
  180. package/dist/main.js +19 -57
  181. package/dist/utils/package-use-lease.js +27 -9
  182. package/dist/utils/plan-gate-error.d.ts +30 -14
  183. package/dist/utils/plan-gate-error.js +60 -46
  184. package/dist/utils/team-upgrade.d.ts +19 -6
  185. package/dist/utils/team-upgrade.js +37 -39
  186. package/dist/utils/version-gate.d.ts +7 -0
  187. package/dist/utils/version-gate.js +66 -0
  188. 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": []
@@ -1669,7 +1674,7 @@ export const COMMAND_CATALOG = [
1669
1674
  },
1670
1675
  {
1671
1676
  "flags": "--company <slug>",
1672
- "description": "Also report this company's workspace plan state (Starter nag)",
1677
+ "description": "Also report this company's billing and usage notice",
1673
1678
  "hidden": false
1674
1679
  }
1675
1680
  ],
@@ -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,
@@ -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",
@@ -7482,9 +7594,69 @@ export const COMMAND_CATALOG = [
7482
7594
  }
7483
7595
  ]
7484
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
+ },
7485
7657
  {
7486
7658
  "name": "crm",
7487
- "description": "Native CRM — upsert canonical entities into a company vault",
7659
+ "description": "Read and upsert canonical CRM entities in a company vault",
7488
7660
  "aliases": [],
7489
7661
  "hidden": false,
7490
7662
  "helpOption": true,
@@ -7512,6 +7684,72 @@ export const COMMAND_CATALOG = [
7512
7684
  "arguments": [],
7513
7685
  "options": [],
7514
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
+ },
7515
7753
  {
7516
7754
  "name": "upsert",
7517
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.",
@@ -7843,7 +8081,7 @@ export const COMMAND_CATALOG = [
7843
8081
  },
7844
8082
  {
7845
8083
  "flags": "--work-mesh-live-enabled <true|false>",
7846
- "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",
7847
8085
  "hidden": false
7848
8086
  }
7849
8087
  ],
@@ -8883,6 +9121,12 @@ export const COMMAND_CATALOG = [
8883
9121
  "flags": "--retry-minutes <n>",
8884
9122
  "description": "Re-wake while items stay pending (default 10, minimum 1)",
8885
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": []
8886
9130
  }
8887
9131
  ],
8888
9132
  "subcommands": []
@@ -9625,6 +9869,42 @@ export const COMMAND_CATALOG = [
9625
9869
  }
9626
9870
  ],
9627
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": []
9628
9908
  }
9629
9909
  ]
9630
9910
  },
@@ -10059,7 +10339,7 @@ export const COMMAND_CATALOG = [
10059
10339
  },
10060
10340
  {
10061
10341
  "name": "upgrade",
10062
- "description": "Open Stripe Checkout to upgrade a company on an earlier plan (usage-pricing companies have no plan to upgrade)",
10342
+ "description": "Open the switch to usage pricing for a company on an earlier plan (usage-pricing companies have nothing to change)",
10063
10343
  "aliases": [],
10064
10344
  "hidden": false,
10065
10345
  "helpOption": true,
@@ -10075,12 +10355,12 @@ export const COMMAND_CATALOG = [
10075
10355
  },
10076
10356
  {
10077
10357
  "flags": "--no-browser",
10078
- "description": "Print the Stripe Checkout URL instead of opening it",
10358
+ "description": "Print the URL instead of opening it",
10079
10359
  "hidden": false
10080
10360
  },
10081
10361
  {
10082
10362
  "flags": "--json",
10083
- "description": "Emit the Checkout URL as JSON",
10363
+ "description": "Emit the URL as JSON",
10084
10364
  "hidden": false
10085
10365
  }
10086
10366
  ],
@@ -14325,32 +14605,176 @@ export const COMMAND_CATALOG = [
14325
14605
  "subcommands": []
14326
14606
  },
14327
14607
  {
14328
- "name": "member",
14329
- "description": "Manage project members",
14608
+ "name": "archive",
14609
+ "description": "Archive a Board (for example a duplicate); keeps stories, folder, channel, members and history",
14330
14610
  "aliases": [],
14331
14611
  "hidden": false,
14332
14612
  "helpOption": true,
14333
- "helpCommand": true,
14334
- "usage": "[options] [command]",
14613
+ "helpCommand": false,
14614
+ "usage": "[options] <projectId>",
14335
14615
  "helpText": [],
14336
- "arguments": [],
14337
- "options": [],
14338
- "subcommands": [
14616
+ "arguments": [
14339
14617
  {
14340
- "name": "add",
14341
- "description": "Add an active company member to a project",
14342
- "aliases": [],
14343
- "hidden": false,
14344
- "helpOption": true,
14345
- "helpCommand": false,
14346
- "usage": "[options] <projectId> <personUid>",
14347
- "helpText": [],
14348
- "arguments": [
14349
- {
14350
- "name": "projectId",
14351
- "required": true,
14352
- "variadic": false,
14353
- "description": ""
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
+ {
14774
+ "name": "projectId",
14775
+ "required": true,
14776
+ "variadic": false,
14777
+ "description": ""
14354
14778
  },
14355
14779
  {
14356
14780
  "name": "personUid",
@@ -18096,6 +18520,57 @@ export const COMMAND_CATALOG = [
18096
18520
  ],
18097
18521
  "subcommands": []
18098
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
+ },
18099
18574
  {
18100
18575
  "name": "keep-alive",
18101
18576
  "description": "Opt a lane into or out of automatic lead-lane resumes",
@@ -22576,6 +23051,99 @@ export const COMMAND_CATALOG = [
22576
23051
  }
22577
23052
  ],
22578
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
+ ]
22579
23147
  }
22580
23148
  ]
22581
23149
  },
@@ -22700,6 +23268,85 @@ export const COMMAND_CATALOG = [
22700
23268
  "subcommands": []
22701
23269
  }
22702
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
+ ]
22703
23350
  }
22704
23351
  ]
22705
23352
  }