@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
@@ -987,6 +987,10 @@ export declare const COMMAND_CATALOG: readonly [{
987
987
  readonly description: "Local HQ tree root (default: <runtime-path>)";
988
988
  readonly hidden: false;
989
989
  readonly defaultValue: "<runtime-path>";
990
+ }, {
991
+ readonly flags: "--company <slug>";
992
+ readonly description: "Show only this company's journal (company slug)";
993
+ readonly hidden: false;
990
994
  }];
991
995
  readonly subcommands: readonly [];
992
996
  }, {
@@ -1389,7 +1393,7 @@ export declare const COMMAND_CATALOG: readonly [{
1389
1393
  readonly hidden: false;
1390
1394
  }, {
1391
1395
  readonly flags: "--company <slug>";
1392
- readonly description: "Also report this company's workspace plan state (Starter nag)";
1396
+ readonly description: "Also report this company's billing and usage notice";
1393
1397
  readonly hidden: false;
1394
1398
  }];
1395
1399
  readonly subcommands: readonly [];
@@ -2043,7 +2047,7 @@ export declare const COMMAND_CATALOG: readonly [{
2043
2047
  readonly options: readonly [];
2044
2048
  readonly subcommands: readonly [{
2045
2049
  readonly name: "approve";
2046
- readonly description: "Approve a script for a secret path";
2050
+ readonly 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.";
2047
2051
  readonly aliases: readonly [];
2048
2052
  readonly hidden: false;
2049
2053
  readonly helpOption: true;
@@ -2073,6 +2077,10 @@ export declare const COMMAND_CATALOG: readonly [{
2073
2077
  readonly description: "Attestation level";
2074
2078
  readonly hidden: false;
2075
2079
  readonly defaultValue: "self-asserted-hash";
2080
+ }, {
2081
+ readonly flags: "--replace";
2082
+ readonly description: "Replace the approval already stored under this --id (a different path or hash). Without it the command fails and keeps the existing approval";
2083
+ readonly hidden: false;
2076
2084
  }];
2077
2085
  readonly subcommands: readonly [];
2078
2086
  }, {
@@ -2235,7 +2243,7 @@ export declare const COMMAND_CATALOG: readonly [{
2235
2243
  readonly subcommands: readonly [];
2236
2244
  }, {
2237
2245
  readonly name: "share";
2238
- readonly description: "Share a secret with an email address, group, company Outpost (out_…), or the entire company (@all)";
2246
+ readonly description: "Share a secret with an email address, group, fleet agent (agt_…), company Outpost (out_…), or the entire company (@all)";
2239
2247
  readonly aliases: readonly [];
2240
2248
  readonly hidden: false;
2241
2249
  readonly helpOption: true;
@@ -2250,7 +2258,7 @@ export declare const COMMAND_CATALOG: readonly [{
2250
2258
  }];
2251
2259
  readonly options: readonly [{
2252
2260
  readonly flags: "--with <principal>";
2253
- readonly description: "Email address, group id, out_ Outpost id, or @all (entire company) to share with";
2261
+ readonly description: "Email address, group id, agt_ fleet agent uid, out_ Outpost id, or @all (entire company) to share with";
2254
2262
  readonly hidden: false;
2255
2263
  }, {
2256
2264
  readonly flags: "--permission <level>";
@@ -2275,7 +2283,7 @@ export declare const COMMAND_CATALOG: readonly [{
2275
2283
  }];
2276
2284
  readonly options: readonly [{
2277
2285
  readonly flags: "--from <principal>";
2278
- readonly description: "Email address, group id, out_ Outpost id, or @all (entire company) to remove";
2286
+ readonly description: "Email address, group id, agt_ fleet agent uid, out_ Outpost id, or @all (entire company) to remove";
2279
2287
  readonly hidden: false;
2280
2288
  }];
2281
2289
  readonly subcommands: readonly [];
@@ -4004,6 +4012,10 @@ export declare const COMMAND_CATALOG: readonly [{
4004
4012
  readonly flags: "--audience <human|agent|both>";
4005
4013
  readonly description: "Tag who this message is for: human (a person must read it), agent (progress/status, hidden from humans by default), or both";
4006
4014
  readonly hidden: false;
4015
+ }, {
4016
+ readonly flags: "--attach <path>";
4017
+ readonly 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.";
4018
+ readonly hidden: false;
4007
4019
  }];
4008
4020
  readonly subcommands: readonly [];
4009
4021
  }, {
@@ -4471,6 +4483,77 @@ export declare const COMMAND_CATALOG: readonly [{
4471
4483
  readonly hidden: false;
4472
4484
  }];
4473
4485
  readonly subcommands: readonly [];
4486
+ }, {
4487
+ readonly name: "link";
4488
+ readonly description: "Print the public tracking link for a ticket (status.hqforwork.com)";
4489
+ readonly aliases: readonly [];
4490
+ readonly hidden: false;
4491
+ readonly helpOption: true;
4492
+ readonly helpCommand: false;
4493
+ readonly usage: "[options] <id>";
4494
+ readonly helpText: readonly [];
4495
+ readonly arguments: readonly [{
4496
+ readonly name: "id";
4497
+ readonly required: true;
4498
+ readonly variadic: false;
4499
+ readonly description: "Feedback id (feedback_<uuid>)";
4500
+ }];
4501
+ readonly options: readonly [];
4502
+ readonly subcommands: readonly [];
4503
+ }, {
4504
+ readonly name: "update";
4505
+ readonly description: "Post a customer-visible status update on a ticket's public page and its #hq-feedback thread";
4506
+ readonly aliases: readonly [];
4507
+ readonly hidden: false;
4508
+ readonly helpOption: true;
4509
+ readonly helpCommand: false;
4510
+ readonly usage: "[options] <id>";
4511
+ readonly helpText: readonly [];
4512
+ readonly arguments: readonly [{
4513
+ readonly name: "id";
4514
+ readonly required: true;
4515
+ readonly variadic: false;
4516
+ readonly description: "Feedback id (feedback_<uuid>)";
4517
+ }];
4518
+ readonly options: readonly [{
4519
+ readonly flags: "--state <state>";
4520
+ readonly description: "One of: triaged, in-progress, shipped, verified, resolved";
4521
+ readonly hidden: false;
4522
+ }, {
4523
+ readonly flags: "--note <text>";
4524
+ readonly description: "What the customer should read (plain text, up to 2000 characters)";
4525
+ readonly hidden: false;
4526
+ }];
4527
+ readonly subcommands: readonly [];
4528
+ }, {
4529
+ readonly name: "show";
4530
+ readonly description: "Operators only: show one feedback row and fetch its attachments";
4531
+ readonly aliases: readonly [];
4532
+ readonly hidden: false;
4533
+ readonly helpOption: true;
4534
+ readonly helpCommand: false;
4535
+ readonly usage: "[options] <id>";
4536
+ readonly helpText: readonly [];
4537
+ readonly arguments: readonly [{
4538
+ readonly name: "id";
4539
+ readonly required: true;
4540
+ readonly variadic: false;
4541
+ readonly description: "";
4542
+ }];
4543
+ readonly options: readonly [{
4544
+ readonly flags: "--download <dir>";
4545
+ readonly description: "Save screenshots and attachments into this directory";
4546
+ readonly hidden: false;
4547
+ }, {
4548
+ readonly flags: "--logs";
4549
+ readonly description: "With --download, also save the row's log bundle";
4550
+ readonly hidden: false;
4551
+ }, {
4552
+ readonly flags: "--json";
4553
+ readonly description: "Print the row as JSON (download links removed)";
4554
+ readonly hidden: false;
4555
+ }];
4556
+ readonly subcommands: readonly [];
4474
4557
  }];
4475
4558
  }, {
4476
4559
  readonly name: "meetings";
@@ -4819,6 +4902,10 @@ export declare const COMMAND_CATALOG: readonly [{
4819
4902
  readonly flags: "--entity <slug>";
4820
4903
  readonly description: "Entity slug (defaults to .hq/config.json activeCompany)";
4821
4904
  readonly hidden: false;
4905
+ }, {
4906
+ readonly flags: "--company <slug>";
4907
+ readonly description: "Company slug; same as --entity";
4908
+ readonly hidden: false;
4822
4909
  }, {
4823
4910
  readonly flags: "--type <signalType>";
4824
4911
  readonly description: "Signal type: action_item | commitment | decision | key_point | risk | summary";
@@ -4860,6 +4947,10 @@ export declare const COMMAND_CATALOG: readonly [{
4860
4947
  readonly flags: "--entity <slug>";
4861
4948
  readonly description: "Entity slug (defaults to .hq/config.json activeCompany)";
4862
4949
  readonly hidden: false;
4950
+ }, {
4951
+ readonly flags: "--company <slug>";
4952
+ readonly description: "Company slug; same as --entity";
4953
+ readonly hidden: false;
4863
4954
  }, {
4864
4955
  readonly flags: "--type <signalType>";
4865
4956
  readonly description: "Signal type: action_item | commitment | decision | key_point | risk | summary";
@@ -6153,9 +6244,58 @@ export declare const COMMAND_CATALOG: readonly [{
6153
6244
  }];
6154
6245
  readonly subcommands: readonly [];
6155
6246
  }];
6247
+ }, {
6248
+ readonly name: "repo";
6249
+ readonly description: "Register code repos with HQ (repos/ and companies/manifest.yaml)";
6250
+ readonly aliases: readonly [];
6251
+ readonly hidden: false;
6252
+ readonly helpOption: true;
6253
+ readonly helpCommand: true;
6254
+ readonly usage: "[options] [command]";
6255
+ readonly helpText: readonly [];
6256
+ readonly arguments: readonly [];
6257
+ readonly options: readonly [];
6258
+ readonly subcommands: readonly [{
6259
+ readonly name: "add";
6260
+ readonly 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.";
6261
+ readonly aliases: readonly [];
6262
+ readonly hidden: false;
6263
+ readonly helpOption: true;
6264
+ readonly helpCommand: false;
6265
+ readonly usage: "[options] <path>";
6266
+ readonly helpText: readonly [];
6267
+ readonly arguments: readonly [{
6268
+ readonly name: "path";
6269
+ readonly required: true;
6270
+ readonly variadic: false;
6271
+ readonly description: "";
6272
+ }];
6273
+ readonly options: readonly [{
6274
+ readonly flags: "--company <slug>";
6275
+ readonly description: "Company that owns the repo (checked against companies/manifest.yaml only, not the session's locked company set or your memberships)";
6276
+ readonly hidden: false;
6277
+ }, {
6278
+ readonly flags: "--public";
6279
+ readonly description: "Link under repos/public (default: repos/private)";
6280
+ readonly hidden: false;
6281
+ }, {
6282
+ readonly flags: "--name <name>";
6283
+ readonly description: "Name under repos/ (default: the checkout's folder name)";
6284
+ readonly hidden: false;
6285
+ }, {
6286
+ readonly flags: "--hq-root <path>";
6287
+ readonly description: "HQ root (default: found from the current directory)";
6288
+ readonly hidden: false;
6289
+ }, {
6290
+ readonly flags: "--dry-run";
6291
+ readonly description: "Print what would change without changing anything";
6292
+ readonly hidden: false;
6293
+ }];
6294
+ readonly subcommands: readonly [];
6295
+ }];
6156
6296
  }, {
6157
6297
  readonly name: "crm";
6158
- readonly description: "Native CRM — upsert canonical entities into a company vault";
6298
+ readonly description: "Read and upsert canonical CRM entities in a company vault";
6159
6299
  readonly aliases: readonly [];
6160
6300
  readonly hidden: false;
6161
6301
  readonly helpOption: true;
@@ -6180,6 +6320,60 @@ export declare const COMMAND_CATALOG: readonly [{
6180
6320
  readonly arguments: readonly [];
6181
6321
  readonly options: readonly [];
6182
6322
  readonly subcommands: readonly [{
6323
+ readonly name: "list";
6324
+ readonly description: "List one CRM entity page as JSON; continue with nextCursor until null";
6325
+ readonly aliases: readonly [];
6326
+ readonly hidden: false;
6327
+ readonly helpOption: true;
6328
+ readonly helpCommand: false;
6329
+ readonly usage: "[options]";
6330
+ readonly helpText: readonly [];
6331
+ readonly arguments: readonly [];
6332
+ readonly options: readonly [{
6333
+ readonly flags: "--type <type>";
6334
+ readonly description: "Filter by entity type: person | project | company | concept | contact | deal | contract | invoice";
6335
+ readonly hidden: false;
6336
+ }, {
6337
+ readonly flags: "--stage <stage>";
6338
+ readonly description: "Exact pipeline stage";
6339
+ readonly hidden: false;
6340
+ }, {
6341
+ readonly flags: "--name <text>";
6342
+ readonly description: "Case-insensitive canonical name filter";
6343
+ readonly hidden: false;
6344
+ }, {
6345
+ readonly flags: "--limit <number>";
6346
+ readonly description: "Object keys examined per page (1–100)";
6347
+ readonly hidden: false;
6348
+ readonly defaultValue: "50";
6349
+ }, {
6350
+ readonly flags: "--cursor <cursor>";
6351
+ readonly description: "Continue a prior page with the same company and filters";
6352
+ readonly hidden: false;
6353
+ }];
6354
+ readonly subcommands: readonly [];
6355
+ }, {
6356
+ readonly name: "get";
6357
+ readonly description: "Read a canonical CRM entity as JSON";
6358
+ readonly aliases: readonly [];
6359
+ readonly hidden: false;
6360
+ readonly helpOption: true;
6361
+ readonly helpCommand: false;
6362
+ readonly usage: "[options] <id>";
6363
+ readonly helpText: readonly [];
6364
+ readonly arguments: readonly [{
6365
+ readonly name: "id";
6366
+ readonly required: true;
6367
+ readonly variadic: false;
6368
+ readonly description: "";
6369
+ }];
6370
+ readonly options: readonly [{
6371
+ readonly flags: "--key <path>";
6372
+ readonly description: "Source key returned by list, for direct lookup in large vaults";
6373
+ readonly hidden: false;
6374
+ }];
6375
+ readonly subcommands: readonly [];
6376
+ }, {
6183
6377
  readonly name: "upsert";
6184
6378
  readonly 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.";
6185
6379
  readonly aliases: readonly [];
@@ -6452,7 +6646,7 @@ export declare const COMMAND_CATALOG: readonly [{
6452
6646
  readonly hidden: false;
6453
6647
  }, {
6454
6648
  readonly flags: "--work-mesh-live-enabled <true|false>";
6455
- readonly description: "Turn live work tracking on or off for this company (default off). Work tracking needs this and --work-registry-enabled";
6649
+ readonly 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";
6456
6650
  readonly hidden: false;
6457
6651
  }];
6458
6652
  readonly subcommands: readonly [];
@@ -7287,6 +7481,11 @@ export declare const COMMAND_CATALOG: readonly [{
7287
7481
  readonly flags: "--retry-minutes <n>";
7288
7482
  readonly description: "Re-wake while items stay pending (default 10, minimum 1)";
7289
7483
  readonly hidden: false;
7484
+ }, {
7485
+ readonly flags: "--header-secret <Header=SECRET>";
7486
+ readonly description: "Send a header using a stored company secret (repeatable; value resolved at wake time)";
7487
+ readonly hidden: false;
7488
+ readonly defaultValue: readonly [];
7290
7489
  }];
7291
7490
  readonly subcommands: readonly [];
7292
7491
  }, {
@@ -7896,6 +8095,35 @@ export declare const COMMAND_CATALOG: readonly [{
7896
8095
  readonly hidden: false;
7897
8096
  }];
7898
8097
  readonly subcommands: readonly [];
8098
+ }, {
8099
+ readonly name: "runs";
8100
+ readonly description: "List recent runs of a company job and their outcomes (owner or admin)";
8101
+ readonly aliases: readonly [];
8102
+ readonly hidden: false;
8103
+ readonly helpOption: true;
8104
+ readonly helpCommand: false;
8105
+ readonly usage: "[options] <jobId>";
8106
+ readonly helpText: readonly [];
8107
+ readonly arguments: readonly [{
8108
+ readonly name: "jobId";
8109
+ readonly required: true;
8110
+ readonly variadic: false;
8111
+ readonly description: "Job id from hq outposts status --company <slug>";
8112
+ }];
8113
+ readonly options: readonly [{
8114
+ readonly flags: "--company <slug>";
8115
+ readonly description: "Company that owns the Outpost";
8116
+ readonly hidden: false;
8117
+ }, {
8118
+ readonly flags: "--outpost <name|id>";
8119
+ readonly description: "Which company Outpost, when the company has more than one";
8120
+ readonly hidden: false;
8121
+ }, {
8122
+ readonly flags: "--json";
8123
+ readonly description: "Emit the runs as JSON";
8124
+ readonly hidden: false;
8125
+ }];
8126
+ readonly subcommands: readonly [];
7899
8127
  }];
7900
8128
  }, {
7901
8129
  readonly name: "exec";
@@ -8250,7 +8478,7 @@ export declare const COMMAND_CATALOG: readonly [{
8250
8478
  readonly subcommands: readonly [];
8251
8479
  }, {
8252
8480
  readonly name: "upgrade";
8253
- readonly description: "Open Stripe Checkout to upgrade a company on an earlier plan (usage-pricing companies have no plan to upgrade)";
8481
+ readonly description: "Open the switch to usage pricing for a company on an earlier plan (usage-pricing companies have nothing to change)";
8254
8482
  readonly aliases: readonly [];
8255
8483
  readonly hidden: false;
8256
8484
  readonly helpOption: true;
@@ -8264,11 +8492,11 @@ export declare const COMMAND_CATALOG: readonly [{
8264
8492
  readonly hidden: false;
8265
8493
  }, {
8266
8494
  readonly flags: "--no-browser";
8267
- readonly description: "Print the Stripe Checkout URL instead of opening it";
8495
+ readonly description: "Print the URL instead of opening it";
8268
8496
  readonly hidden: false;
8269
8497
  }, {
8270
8498
  readonly flags: "--json";
8271
- readonly description: "Emit the Checkout URL as JSON";
8499
+ readonly description: "Emit the URL as JSON";
8272
8500
  readonly hidden: false;
8273
8501
  }];
8274
8502
  readonly subcommands: readonly [];
@@ -11796,6 +12024,122 @@ export declare const COMMAND_CATALOG: readonly [{
11796
12024
  readonly hidden: false;
11797
12025
  }];
11798
12026
  readonly subcommands: readonly [];
12027
+ }, {
12028
+ readonly name: "archive";
12029
+ readonly description: "Archive a Board (for example a duplicate); keeps stories, folder, channel, members and history";
12030
+ readonly aliases: readonly [];
12031
+ readonly hidden: false;
12032
+ readonly helpOption: true;
12033
+ readonly helpCommand: false;
12034
+ readonly usage: "[options] <projectId>";
12035
+ readonly helpText: readonly [];
12036
+ readonly arguments: readonly [{
12037
+ readonly name: "projectId";
12038
+ readonly required: true;
12039
+ readonly variadic: false;
12040
+ readonly description: "";
12041
+ }];
12042
+ readonly options: readonly [{
12043
+ readonly flags: "--company <slug|uid>";
12044
+ readonly description: "Company slug or cloud uid";
12045
+ readonly hidden: false;
12046
+ }, {
12047
+ readonly flags: "--expected-version <n>";
12048
+ readonly description: "Lifecycle row version to replace (defaults to the current one)";
12049
+ readonly hidden: false;
12050
+ }, {
12051
+ readonly flags: "--json";
12052
+ readonly description: "Print machine-readable JSON";
12053
+ readonly hidden: false;
12054
+ }, {
12055
+ readonly flags: "--confirm-nonempty";
12056
+ readonly description: "Archive even when the Board still has stories";
12057
+ readonly hidden: false;
12058
+ }];
12059
+ readonly subcommands: readonly [];
12060
+ }, {
12061
+ readonly name: "complete";
12062
+ readonly description: "Mark a Board completed; it leaves the active list and organize candidates";
12063
+ readonly aliases: readonly [];
12064
+ readonly hidden: false;
12065
+ readonly helpOption: true;
12066
+ readonly helpCommand: false;
12067
+ readonly usage: "[options] <projectId>";
12068
+ readonly helpText: readonly [];
12069
+ readonly arguments: readonly [{
12070
+ readonly name: "projectId";
12071
+ readonly required: true;
12072
+ readonly variadic: false;
12073
+ readonly description: "";
12074
+ }];
12075
+ readonly options: readonly [{
12076
+ readonly flags: "--company <slug|uid>";
12077
+ readonly description: "Company slug or cloud uid";
12078
+ readonly hidden: false;
12079
+ }, {
12080
+ readonly flags: "--expected-version <n>";
12081
+ readonly description: "Lifecycle row version to replace (defaults to the current one)";
12082
+ readonly hidden: false;
12083
+ }, {
12084
+ readonly flags: "--json";
12085
+ readonly description: "Print machine-readable JSON";
12086
+ readonly hidden: false;
12087
+ }];
12088
+ readonly subcommands: readonly [];
12089
+ }, {
12090
+ readonly name: "activate";
12091
+ readonly description: "Restore a completed or archived Board to active";
12092
+ readonly aliases: readonly [];
12093
+ readonly hidden: false;
12094
+ readonly helpOption: true;
12095
+ readonly helpCommand: false;
12096
+ readonly usage: "[options] <projectId>";
12097
+ readonly helpText: readonly [];
12098
+ readonly arguments: readonly [{
12099
+ readonly name: "projectId";
12100
+ readonly required: true;
12101
+ readonly variadic: false;
12102
+ readonly description: "";
12103
+ }];
12104
+ readonly options: readonly [{
12105
+ readonly flags: "--company <slug|uid>";
12106
+ readonly description: "Company slug or cloud uid";
12107
+ readonly hidden: false;
12108
+ }, {
12109
+ readonly flags: "--expected-version <n>";
12110
+ readonly description: "Lifecycle row version to replace (defaults to the current one)";
12111
+ readonly hidden: false;
12112
+ }, {
12113
+ readonly flags: "--json";
12114
+ readonly description: "Print machine-readable JSON";
12115
+ readonly hidden: false;
12116
+ }];
12117
+ readonly subcommands: readonly [];
12118
+ }, {
12119
+ readonly name: "lifecycle";
12120
+ readonly description: "List completed and archived Boards, or show one project's lifecycle status";
12121
+ readonly aliases: readonly [];
12122
+ readonly hidden: false;
12123
+ readonly helpOption: true;
12124
+ readonly helpCommand: false;
12125
+ readonly usage: "[options] [projectId]";
12126
+ readonly helpText: readonly [];
12127
+ readonly arguments: readonly [{
12128
+ readonly name: "projectId";
12129
+ readonly required: false;
12130
+ readonly variadic: false;
12131
+ readonly description: "";
12132
+ }];
12133
+ readonly options: readonly [{
12134
+ readonly flags: "--company <slug|uid>";
12135
+ readonly description: "Company slug or cloud uid";
12136
+ readonly hidden: false;
12137
+ }, {
12138
+ readonly flags: "--json";
12139
+ readonly description: "Print machine-readable JSON";
12140
+ readonly hidden: false;
12141
+ }];
12142
+ readonly subcommands: readonly [];
11799
12143
  }, {
11800
12144
  readonly name: "member";
11801
12145
  readonly description: "Manage project members";
@@ -14868,6 +15212,47 @@ export declare const COMMAND_CATALOG: readonly [{
14868
15212
  readonly hidden: false;
14869
15213
  }];
14870
15214
  readonly subcommands: readonly [];
15215
+ }, {
15216
+ readonly name: "set-target";
15217
+ readonly description: "";
15218
+ readonly aliases: readonly [];
15219
+ readonly hidden: true;
15220
+ readonly helpOption: true;
15221
+ readonly helpCommand: false;
15222
+ readonly usage: "[options] <lane-id>";
15223
+ readonly helpText: readonly [];
15224
+ readonly arguments: readonly [{
15225
+ readonly name: "lane-id";
15226
+ readonly required: true;
15227
+ readonly variadic: false;
15228
+ readonly description: "Lane id";
15229
+ }];
15230
+ readonly options: readonly [{
15231
+ readonly flags: "--model <name>";
15232
+ readonly description: "Model for the next resume";
15233
+ readonly hidden: false;
15234
+ }, {
15235
+ readonly flags: "--effort <level>";
15236
+ readonly description: "Effort for the next resume";
15237
+ readonly hidden: false;
15238
+ }, {
15239
+ readonly flags: "--reason <text>";
15240
+ readonly description: "Reason recorded in the lane's settings history";
15241
+ readonly hidden: false;
15242
+ }, {
15243
+ readonly flags: "--senior <ref>";
15244
+ readonly description: "Senior the primary authorized the change against";
15245
+ readonly hidden: false;
15246
+ }, {
15247
+ readonly flags: "--actor <ref>";
15248
+ readonly description: "lane:<id> or session:<id> that requested the change";
15249
+ readonly hidden: false;
15250
+ }, {
15251
+ readonly flags: "--json";
15252
+ readonly description: "JSON on stdout (always)";
15253
+ readonly hidden: false;
15254
+ }];
15255
+ readonly subcommands: readonly [];
14871
15256
  }, {
14872
15257
  readonly name: "keep-alive";
14873
15258
  readonly description: "Opt a lane into or out of automatic lead-lane resumes";
@@ -18534,6 +18919,80 @@ export declare const COMMAND_CATALOG: readonly [{
18534
18919
  readonly hidden: false;
18535
18920
  }];
18536
18921
  readonly subcommands: readonly [];
18922
+ }, {
18923
+ readonly name: "access";
18924
+ readonly description: "Show or change who can open a deploy app (company, selected members, or public)";
18925
+ readonly aliases: readonly [];
18926
+ readonly hidden: false;
18927
+ readonly helpOption: true;
18928
+ readonly helpCommand: false;
18929
+ readonly usage: "[options] [command] [app]";
18930
+ readonly helpText: readonly [];
18931
+ readonly arguments: readonly [{
18932
+ readonly name: "app";
18933
+ readonly required: false;
18934
+ readonly variadic: false;
18935
+ readonly description: "app id, subdomain, or exact name";
18936
+ }];
18937
+ readonly options: readonly [{
18938
+ readonly flags: "--company <slug>";
18939
+ readonly description: "use this company instead of the active company";
18940
+ readonly hidden: false;
18941
+ }, {
18942
+ readonly flags: "--mode <mode>";
18943
+ readonly description: "access mode: company | selected | public";
18944
+ readonly hidden: false;
18945
+ }, {
18946
+ readonly flags: "--add-user <id>";
18947
+ readonly description: "add a selected member by person id (repeatable)";
18948
+ readonly hidden: false;
18949
+ }, {
18950
+ readonly flags: "--remove-user <id>";
18951
+ readonly description: "remove a selected member by person id (repeatable)";
18952
+ readonly hidden: false;
18953
+ }, {
18954
+ readonly flags: "--add-group <id>";
18955
+ readonly description: "add a selected group by id (repeatable)";
18956
+ readonly hidden: false;
18957
+ }, {
18958
+ readonly flags: "--remove-group <id>";
18959
+ readonly description: "remove a selected group by id (repeatable)";
18960
+ readonly hidden: false;
18961
+ }, {
18962
+ readonly flags: "--json";
18963
+ readonly description: "print the resulting policy as JSON";
18964
+ readonly hidden: false;
18965
+ }, {
18966
+ readonly flags: "--yes";
18967
+ readonly description: "approve making the app public or removing its password without a prompt";
18968
+ readonly hidden: false;
18969
+ }];
18970
+ readonly subcommands: readonly [{
18971
+ readonly name: "get";
18972
+ readonly description: "Show an app's current access mode and selected members";
18973
+ readonly aliases: readonly [];
18974
+ readonly hidden: false;
18975
+ readonly helpOption: true;
18976
+ readonly helpCommand: false;
18977
+ readonly usage: "[options] <app>";
18978
+ readonly helpText: readonly [];
18979
+ readonly arguments: readonly [{
18980
+ readonly name: "app";
18981
+ readonly required: true;
18982
+ readonly variadic: false;
18983
+ readonly description: "";
18984
+ }];
18985
+ readonly options: readonly [{
18986
+ readonly flags: "--company <slug>";
18987
+ readonly description: "use this company instead of the active company";
18988
+ readonly hidden: false;
18989
+ }, {
18990
+ readonly flags: "--json";
18991
+ readonly description: "print the policy as JSON";
18992
+ readonly hidden: false;
18993
+ }];
18994
+ readonly subcommands: readonly [];
18995
+ }];
18537
18996
  }];
18538
18997
  }, {
18539
18998
  readonly name: "staff";
@@ -18637,6 +19096,72 @@ export declare const COMMAND_CATALOG: readonly [{
18637
19096
  }];
18638
19097
  readonly subcommands: readonly [];
18639
19098
  }];
19099
+ }, {
19100
+ readonly name: "listings";
19101
+ readonly description: "Review marketplace listings waiting for approval (staff only). Wraps /v1/moderation.";
19102
+ readonly aliases: readonly [];
19103
+ readonly hidden: false;
19104
+ readonly helpOption: true;
19105
+ readonly helpCommand: true;
19106
+ readonly usage: "[options] [command]";
19107
+ readonly helpText: readonly [];
19108
+ readonly arguments: readonly [];
19109
+ readonly options: readonly [];
19110
+ readonly subcommands: readonly [{
19111
+ readonly name: "queue";
19112
+ readonly description: "List published packs waiting for review, oldest first.";
19113
+ readonly aliases: readonly [];
19114
+ readonly hidden: false;
19115
+ readonly helpOption: true;
19116
+ readonly helpCommand: false;
19117
+ readonly usage: "[options]";
19118
+ readonly helpText: readonly [];
19119
+ readonly arguments: readonly [];
19120
+ readonly options: readonly [];
19121
+ readonly subcommands: readonly [];
19122
+ }, {
19123
+ readonly name: "approve";
19124
+ readonly description: "Approve a pending listing so it goes live (older approved versions are superseded).";
19125
+ readonly aliases: readonly [];
19126
+ readonly hidden: false;
19127
+ readonly helpOption: true;
19128
+ readonly helpCommand: false;
19129
+ readonly usage: "[options] <listingId>";
19130
+ readonly helpText: readonly [];
19131
+ readonly arguments: readonly [{
19132
+ readonly name: "listingId";
19133
+ readonly required: true;
19134
+ readonly variadic: false;
19135
+ readonly description: "Listing id from `hq staff listings queue` (lst_…)";
19136
+ }];
19137
+ readonly options: readonly [{
19138
+ readonly flags: "--note <text>";
19139
+ readonly description: "Reviewer note recorded on the listing";
19140
+ readonly hidden: false;
19141
+ }];
19142
+ readonly subcommands: readonly [];
19143
+ }, {
19144
+ readonly name: "reject";
19145
+ readonly description: "Reject a pending listing.";
19146
+ readonly aliases: readonly [];
19147
+ readonly hidden: false;
19148
+ readonly helpOption: true;
19149
+ readonly helpCommand: false;
19150
+ readonly usage: "[options] <listingId>";
19151
+ readonly helpText: readonly [];
19152
+ readonly arguments: readonly [{
19153
+ readonly name: "listingId";
19154
+ readonly required: true;
19155
+ readonly variadic: false;
19156
+ readonly description: "Listing id from `hq staff listings queue` (lst_…)";
19157
+ }];
19158
+ readonly options: readonly [{
19159
+ readonly flags: "--note <reason>";
19160
+ readonly description: "Why it was rejected (recorded on the listing)";
19161
+ readonly hidden: false;
19162
+ }];
19163
+ readonly subcommands: readonly [];
19164
+ }];
18640
19165
  }];
18641
19166
  }];
18642
19167
  //# sourceMappingURL=command-catalog.generated.d.ts.map