@indigoai-us/hq-cli 5.345.147 → 5.345.148

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 (122) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/assets/bot-workers/setup/worker.yaml +11 -0
  3. package/dist/command-catalog.generated.d.ts +297 -3
  4. package/dist/command-catalog.generated.js +368 -3
  5. package/dist/commands/agent-inbox.js +2 -1
  6. package/dist/commands/cloud.js +31 -1
  7. package/dist/commands/core-refresh-vault-access-native.d.ts +17 -0
  8. package/dist/commands/core-refresh-vault-access-native.js +214 -19
  9. package/dist/commands/core-work-mesh-bind-trusted-native.d.ts +9 -0
  10. package/dist/commands/core-work-mesh-bind-trusted-native.js +26 -19
  11. package/dist/commands/core.js +6 -0
  12. package/dist/commands/daemon.d.ts +7 -0
  13. package/dist/commands/daemon.js +37 -3
  14. package/dist/commands/dm.js +9 -2
  15. package/dist/commands/doctor.d.ts +11 -1
  16. package/dist/commands/doctor.js +56 -1
  17. package/dist/commands/install-global.d.ts +7 -0
  18. package/dist/commands/install-global.js +129 -35
  19. package/dist/commands/lanes-shared.d.ts +3 -1
  20. package/dist/commands/lanes.d.ts +4 -4
  21. package/dist/commands/lanes.js +380 -25
  22. package/dist/commands/pack-install.d.ts +2 -2
  23. package/dist/commands/pack-install.js +133 -35
  24. package/dist/commands/sync-manifest.d.ts +2 -9
  25. package/dist/commands/sync-manifest.js +4 -15
  26. package/dist/hook-engine-path.d.ts +4 -0
  27. package/dist/hook-engine-path.js +36 -0
  28. package/dist/hq-cloud-sync-runner/bin/sync-runner.js +2783 -2354
  29. package/dist/hq-cloud-sync-runner/package.json +1 -1
  30. package/dist/index.js +6 -0
  31. package/dist/lib/agent-kit/inbox-redact.d.ts +44 -0
  32. package/dist/lib/agent-kit/inbox-redact.js +361 -0
  33. package/dist/lib/agent-kit/inbox-state.js +11 -2
  34. package/dist/lib/agent-kit/mcp/tools.js +2 -1
  35. package/dist/lib/agent-kit/run/inbox.js +36 -7
  36. package/dist/lib/anywhere-runtime-flag-key.d.ts +3 -0
  37. package/dist/lib/anywhere-runtime-flag-key.js +9 -0
  38. package/dist/lib/company-skill-wrapper.js +6 -4
  39. package/dist/lib/daemon/install.d.ts +47 -1
  40. package/dist/lib/daemon/install.js +181 -15
  41. package/dist/lib/daemon/lock.d.ts +32 -0
  42. package/dist/lib/daemon/lock.js +55 -2
  43. package/dist/lib/doctor/__testing__/run-doctor.js +4 -0
  44. package/dist/lib/doctor/checks/anywhere.d.ts +3 -0
  45. package/dist/lib/doctor/checks/anywhere.js +23 -8
  46. package/dist/lib/doctor/checks/cli-path.d.ts +11 -0
  47. package/dist/lib/doctor/checks/cli-path.js +45 -0
  48. package/dist/lib/doctor/checks/hook-engine.d.ts +4 -0
  49. package/dist/lib/doctor/checks/hook-engine.js +16 -0
  50. package/dist/lib/doctor/checks/sync-health.d.ts +7 -0
  51. package/dist/lib/doctor/checks/sync-health.js +38 -2
  52. package/dist/lib/doctor/checks/temp-homes.d.ts +19 -0
  53. package/dist/lib/doctor/checks/temp-homes.js +54 -0
  54. package/dist/lib/doctor/fix/apply.d.ts +90 -1
  55. package/dist/lib/doctor/fix/apply.js +176 -10
  56. package/dist/lib/doctor/fix/json-output.d.ts +4 -1
  57. package/dist/lib/doctor/fix/json-output.js +6 -0
  58. package/dist/lib/doctor/fix/remediation.d.ts +7 -1
  59. package/dist/lib/doctor/fix/remediation.js +23 -1
  60. package/dist/lib/doctor/registry.js +10 -0
  61. package/dist/lib/doctor/temp-home-sweeper.d.ts +149 -0
  62. package/dist/lib/doctor/temp-home-sweeper.js +418 -0
  63. package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
  64. package/dist/lib/flag-registry-worker-source.generated.js +1 -1
  65. package/dist/lib/flag-registry.js +9 -1
  66. package/dist/lib/flag-snapshot-file.js +8 -3
  67. package/dist/lib/hook-engine/resolve.d.ts +31 -0
  68. package/dist/lib/hook-engine/resolve.js +134 -0
  69. package/dist/lib/lanes/admission-host.d.ts +1 -0
  70. package/dist/lib/lanes/admission-host.js +8 -1
  71. package/dist/lib/lanes/admission.d.ts +4 -0
  72. package/dist/lib/lanes/admission.js +6 -2
  73. package/dist/lib/lanes/envelope-repair-dispatch.d.ts +5 -0
  74. package/dist/lib/lanes/envelope-repair-dispatch.js +12 -1
  75. package/dist/lib/lanes/index.d.ts +2 -2
  76. package/dist/lib/lanes/index.js +1 -1
  77. package/dist/lib/lanes/keep-alive.js +4 -1
  78. package/dist/lib/lanes/local-host-identity.d.ts +40 -0
  79. package/dist/lib/lanes/local-host-identity.js +314 -0
  80. package/dist/lib/lanes/reaper.d.ts +1 -1
  81. package/dist/lib/lanes/reaper.js +7 -0
  82. package/dist/lib/lanes/reconcile.d.ts +4 -0
  83. package/dist/lib/lanes/reconcile.js +16 -8
  84. package/dist/lib/lanes/spawn.d.ts +20 -0
  85. package/dist/lib/lanes/spawn.js +48 -2
  86. package/dist/lib/lanes/status-fields.js +6 -1
  87. package/dist/lib/lanes/store.js +8 -1
  88. package/dist/lib/lanes/throttle.d.ts +49 -6
  89. package/dist/lib/lanes/throttle.js +154 -17
  90. package/dist/lib/lanes/types.d.ts +22 -1
  91. package/dist/lib/lanes/types.js +27 -3
  92. package/dist/lib/lanes/watcher.js +27 -2
  93. package/dist/lib/lanes/worker-continuity.d.ts +2 -0
  94. package/dist/lib/lanes/worker-continuity.js +18 -11
  95. package/dist/lib/manifest-disabled.d.ts +13 -0
  96. package/dist/lib/manifest-disabled.js +19 -0
  97. package/dist/lib/service-manager/launchd.d.ts +1 -0
  98. package/dist/lib/service-manager/launchd.js +1 -1
  99. package/dist/lib/windows/user-path.d.ts +48 -0
  100. package/dist/lib/windows/user-path.js +114 -0
  101. package/dist/lib/work-context/auto-bind.d.ts +1 -1
  102. package/dist/lib/work-context/auto-bind.js +22 -3
  103. package/dist/lib/work-context/lane-bind.d.ts +31 -0
  104. package/dist/lib/work-context/lane-bind.js +101 -0
  105. package/dist/lib/work-context/organize.js +1 -0
  106. package/dist/lib/work-context/prd-sync.js +7 -0
  107. package/dist/lib/work-context/project.d.ts +36 -10
  108. package/dist/lib/work-context/project.js +130 -41
  109. package/dist/lib/work-context/reconcile.d.ts +6 -0
  110. package/dist/lib/work-context/reconcile.js +25 -5
  111. package/dist/lib/work-context/state.d.ts +6 -0
  112. package/dist/lib/work-context/state.js +29 -1
  113. package/dist/utils/copy-tree.d.ts +61 -0
  114. package/dist/utils/copy-tree.js +249 -0
  115. package/dist/utils/environmental-error.js +7 -3
  116. package/dist/utils/npm-invocation.d.ts +27 -0
  117. package/dist/utils/npm-invocation.js +54 -0
  118. package/dist/utils/safe-link.d.ts +50 -0
  119. package/dist/utils/safe-link.js +300 -0
  120. package/package.json +17 -5
  121. package/scripts/hook-engine-manifest.mjs +22 -0
  122. package/scripts/install-hook-engine.mjs +10 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,36 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.345.148] — 2026-10-19
6
+
7
+ - The `hq lanes` free-memory gate (`throttle.min_available_mem_mb`) now reads the same values as macOS `memory_pressure`: the system-wide free percentage and the pressure level. A Mac that `memory_pressure` reports as normal with enough free memory no longer holds new lanes. While the gate is set, new lanes wait at the warn or critical level. The old `vm_stat` reading, which leaves out purgeable and compressible memory, is used only when those values cannot be read. A memory hold is recorded as `memory_hold` in the throttle state and in `hq lanes admit` output, with the signal, the reading, the level and the threshold.
8
+ - The agent inbox mirror no longer stores owner credentials. `actingContext.credentials` is removed before an item is written to the per-message file or `inbox.jsonl`, and files that already contain it are rewritten on the next inbox read or poll. The rest of the item, including other acting-context fields, is kept. `hq dm inbox`, `hq agent inbox`, and the `hq_inbox_read` tool use the same removal. A scrub logs how many records changed and nothing from the record.
9
+ - HQ Anywhere ignores cached flag-disable decisions after one hour if the registry cannot refresh. Explicit environment kill switches and the required person opt-in still apply.
10
+ - `hq lanes` no longer loses a local lane when the network name changes (Mac.localdomain → Mac.lan, or a bare `Mac` once the machine reports `Mac.lan`). New lanes record a stable id under `~/.hq/lane-host.json`, plus this machine's hardware id. A copied home directory gets a new id instead of sharing the source machine's. A lane stamped with an earlier hostname of this machine still resumes, accepts messages, and keeps the worker's provider thread. Those lanes still count as local load. A lane from another machine stays remote. `worker_lane_busy` names the blocking lane and `hq lanes stop <lane-id>`. A corrupt lane host file names the file and how to restore or delete it, and read-only commands do not rewrite it.
11
+
12
+ - `hq doctor --fix` now uploads a fresh sync manifest when one is out of date, and it lists every sync check it could not clear, with the reason and the next step in plain words. The same list appears as `unresolved` in `hq doctor --fix --json`. When `HQ_SYNC_MANIFEST_DISABLED` is set, the stale-manifest row says so and tells you to unset it. A manifest upload that runs past 90 seconds is reported as timed out.
13
+ - `hq lanes` no longer marks a finished `--no-story` lane failed when its envelope sets `story_complete: true` with a `story_status` other than `done`. A lane with no board story now takes its status from `story_complete`. Story-bound lanes keep the strict check.
14
+ - Envelope repair for a lane admitted by another lane's watcher no longer fails with "lane lanes not found". The watcher recorded its own script as the CLI path, so the repair started a watcher for a lane named "lanes". Newly started watchers record the real CLI path, and repair refuses a lanes runner script as the CLI path with a clear error. Watchers already running keep the old path until they exit.
15
+ - Work Mesh no longer attaches a session to a lane another session owns. An explicit trusted project bind stays until the session binds again, including after the outbox repairs acknowledged registrations, and is refused when that project belongs to a different company. Only a session id from `--session` or the process environment can make a bind trusted. The shared session pointer file cannot. A bind with an invalid `--session` id now stops with an error.
16
+ - The bundled sync engine now uses hq-cloud 6.18.88, which adds Company Outpost commands.
17
+ `hq outposts list --company <slug>` lists a company's Outposts. `status`, `login`,
18
+ `login-code`, `refresh-config` and the `jobs` commands take `--outpost <name|id>` to pick
19
+ one Outpost when a company has several. `hq outposts jobs` can now edit, pause, resume,
20
+ delete and run a job now. Provisioning keeps checking status after a create error instead
21
+ of reporting the Outpost as not created. A company job that has not run yet shows its
22
+ health as pending.
23
+ - `hq lanes create --runner subagent` registers a lane that an in-session Claude subagent runs, so that work shows on the lanes board. `hq lanes progress` reports its progress and result.
24
+ - The setup bot now ends its first message with the "Who do you work with?" card when the desktop app's first-run handoff shows the team step is not settled. It does not add the card when that step is settled.
25
+ - `hq sync push` splits the success line when the sync engine reports which skips were already up to date. "N already up to date" counts only those files. Other skips are listed separately, for example "2 skipped (1 conflict, 1 broken link)". Until an hq-cloud release that includes this detail is bundled, the line stays "N skipped" and does not name each file. Per-file reasons appear after that release.
26
+ - Temp homes. `hq doctor` warns about idle throwaway HOME folders in the temp dirs: `tmp.*` folders (untouched for 90+ minutes) that hold a `.rustup` or `.cargo` download, and `hq-temp-home.*` folders left by `core/scripts/with-temp-home.sh`. The check is a shallow scan that adds about 1 s on a cold first run and well under a second after that. `hq doctor --sweep-temp-homes [--dry-run]` measures and removes them and reports the GB freed. It skips a folder in use (the wrapper's lock file names a live process, or a process of this user has its cwd or an open file there; on Linux, also a process whose HOME is there), never follows symlinks, and leaves every other temp folder alone. `hq lanes create` adds a temp-home rule to every lane brief (claude, codex and grok) that names the wrapper by its absolute path under the HQ root.
27
+ - `hq core refresh-vault-access --company <slug>` no longer drops other companies from `.hq/vault-access.json`. A scoped refresh replaces only the companies it queried successfully and keeps every other company's entry. Revoked grants still drop out for the refreshed company, and an unscoped refresh still rewrites the whole file. Concurrent refreshes take a lock file that records its owner, so they no longer overwrite each other. A lock left by a refresh that died is reclaimed safely, either once it is 30 seconds old or right away when its process on this machine has exited. The success line now names the refreshed companies, for example `(2 companies, refreshed: acme, identity: …)`.
28
+ - Package the native hook engine for six platforms, with version-pinned offline installation and `hq core hook-engine-path`. `hq doctor` reports missing or damaged native engines while existing bash hooks remain active. Platform signing and publication are opt-in; CLI releases and installs remain independent of signing setup.
29
+ - Adds the Windows hook launcher and custom Bash hook runner for the upcoming native hook engine. Hooks run without visible console flashes, preserve their input, output and exit status, reject oversized captured output, and clean up Windows child processes when the engine exits. Host registration and native built-in hooks follow separately.
30
+ - Windows fixes for `hq install --global`, `hq daemon install` and `hq doctor`. When Windows refuses a symlink, skill folders fall back to a junction. When Windows refuses the junction too (for example a skill folder on a network path), HQ copies the folder and marks the copy with a `.hq-skill-copy` file; install says which skills were copied, and uninstall removes only links and the copies HQ marked, never a folder you made. The marker records the copy's name and a hash of its files, so a copy you edited, renamed or duplicated is kept and named in a notice instead of deleted. The copy step skips only a link back to a folder it is still inside, so a loop finishes, while a link to a sibling folder or a second link to the same folder each gets a full copy. If a rollback keeps a copy you changed, it says so in the install log. A failed install rolls back what it wrote instead of leaving a half-written `~/.claude` and `~/.hq/root`. Link removal, including the company skill wrapper's cleanup, deletes only the link, never the folder it points to, and removing a real folder never recurses through a link inside it. A symlink EPERM now names Developer Mode instead of cloud sync. After install, and in `hq doctor`, HQ warns when the npm folder holding `hq.cmd` is not on your Windows PATH and prints the exact PowerShell command to add it; the command also tells Windows the environment changed, so new terminals see it. HQ does not change PATH itself. An empty user Path is now read as empty instead of unreadable. `hq daemon install` says "Installed and started" only once a new daemon process is confirmed, and a daemon that was already running before the install is stopped first and not counted as the new start. HQ stops that process only after it confirms, right before the stop, that the process command line is `hq daemon run` and that it started before the daemon lock was written. If HQ cannot confirm this, including when Windows cannot read process details, it leaves the process alone and prints how to find and stop an older daemon. `hq daemon uninstall` uses the same check. When no daemon starts and you are not signed in to Windows, it says the daemon starts at your next sign-in. When you are signed in, it reports that the daemon did not start, exits non-zero, and points to `hq daemon status` and the task's last result. Under PowerShell Constrained Language Mode, where HQ cannot run the check, it says the check was unavailable and prints the next-sign-in message without failing. When the check itself breaks, it reports that the daemon did not start and that it could not check whether you are signed in, and exits non-zero. The sign-in check uses the Windows session API through PowerShell, so it works on Windows Home and in any display language. `hq doctor` now says hqd is not running, and points to `hq daemon status`, instead of blaming an unsafe named-pipe ACL.
31
+ - `hq install` copies pack payloads in Node instead of spawning `rsync`, so git-subpath and local-directory pack installs work on Windows. Reinstalling over a prior install removes links in it as links and never deletes what they point at.
32
+ - `hq install @scope/pack` runs npm's `npm-cli.js` with Node on Windows instead of spawning the `npm.cmd` shim, which failed with `ENOENT`.
33
+ - `hq install C:\path\to\pack`, and UNC or `.\` relative paths, are recognized as local-directory installs on Windows instead of failing with "Cannot classify source".
34
+
5
35
  ## [5.345.147] — 2026-10-18
6
36
 
7
37
  - Worker registry rebuild now also skips Codex worktrees (`.codex/worktrees/`). Same nested-checkout trap as `.claude/worktrees/`.
@@ -294,6 +294,17 @@ instructions: |
294
294
  management tools: what kind of business they run, and what else a
295
295
  business like theirs should set up. For someone who joined a team it is
296
296
  the tour.
297
+ - When the team step is not settled (`company` is not in `done`, or
298
+ `team` is missing or null), end your first message with this block, as
299
+ the very last thing, so the app shows its "Who do you work with?" card:
300
+
301
+ ```hq-block
302
+ {"v":1,"blocks":[{"kind":"team"}]}
303
+ ```
304
+
305
+ Copy it exactly, the JSON on its own line, with no other fields. Never
306
+ add it when the team step is settled, and send it in your first message
307
+ only.
297
308
  - Do not ask the explain-or-jump question. The person already chose to jump
298
309
  straight in, in the app; write `Intro: skipped` in your progress note.
299
310
  - Do not greet again and do not repeat the plan: the app already sent your
@@ -7342,15 +7342,23 @@ export declare const COMMAND_CATALOG: readonly [{
7342
7342
  readonly flags: "--company <slug>";
7343
7343
  readonly description: "Provision the company's Outpost instead of your personal box";
7344
7344
  readonly hidden: false;
7345
+ }, {
7346
+ readonly flags: "--name <name>";
7347
+ readonly description: "With --company: not sent. This server creates the company's main Outpost and does not take a name yet";
7348
+ readonly hidden: false;
7345
7349
  }, {
7346
7350
  readonly flags: "--yes";
7347
- readonly description: "Confirm the $80/month charge (required to provision)";
7351
+ readonly description: "Confirm the monthly charge (required to provision or create)";
7352
+ readonly hidden: false;
7353
+ }, {
7354
+ readonly flags: "--json";
7355
+ readonly description: "With --company, emit one JSON object. Progress goes to stderr.";
7348
7356
  readonly hidden: false;
7349
7357
  }];
7350
7358
  readonly subcommands: readonly [];
7351
7359
  }, {
7352
7360
  readonly name: "list";
7353
- readonly description: "List every Outpost you own";
7361
+ readonly description: "List every Outpost you own, or a company's Outposts with --company";
7354
7362
  readonly aliases: readonly [];
7355
7363
  readonly hidden: false;
7356
7364
  readonly helpOption: true;
@@ -7359,6 +7367,10 @@ export declare const COMMAND_CATALOG: readonly [{
7359
7367
  readonly helpText: readonly [];
7360
7368
  readonly arguments: readonly [];
7361
7369
  readonly options: readonly [{
7370
+ readonly flags: "--company <slug>";
7371
+ readonly description: "List the company's Outposts";
7372
+ readonly hidden: false;
7373
+ }, {
7362
7374
  readonly flags: "--json";
7363
7375
  readonly description: "Emit raw JSON";
7364
7376
  readonly hidden: false;
@@ -7382,6 +7394,10 @@ export declare const COMMAND_CATALOG: readonly [{
7382
7394
  readonly flags: "--company <slug>";
7383
7395
  readonly description: "Show the company Outpost, its jobs, and each job's run status";
7384
7396
  readonly hidden: false;
7397
+ }, {
7398
+ readonly flags: "--outpost <name|id>";
7399
+ readonly description: "Which company Outpost, when the company has more than one";
7400
+ readonly hidden: false;
7385
7401
  }, {
7386
7402
  readonly flags: "--json";
7387
7403
  readonly description: "Emit raw JSON";
@@ -7390,7 +7406,7 @@ export declare const COMMAND_CATALOG: readonly [{
7390
7406
  readonly subcommands: readonly [];
7391
7407
  }, {
7392
7408
  readonly name: "jobs";
7393
- readonly description: "Register a job on a company Outpost";
7409
+ readonly description: "Register, edit, pause, resume, delete, or run a job on a company Outpost";
7394
7410
  readonly aliases: readonly [];
7395
7411
  readonly hidden: false;
7396
7412
  readonly helpOption: true;
@@ -7437,12 +7453,217 @@ export declare const COMMAND_CATALOG: readonly [{
7437
7453
  readonly flags: "--context <json>";
7438
7454
  readonly description: "Optional JSON object stored with the job";
7439
7455
  readonly hidden: false;
7456
+ }, {
7457
+ readonly flags: "--outpost <name|id>";
7458
+ readonly description: "Which company Outpost runs the job, when the company has more than one";
7459
+ readonly hidden: false;
7440
7460
  }, {
7441
7461
  readonly flags: "--json";
7442
7462
  readonly description: "Emit the job id and accepted revision as JSON";
7443
7463
  readonly hidden: false;
7444
7464
  }];
7445
7465
  readonly subcommands: readonly [];
7466
+ }, {
7467
+ readonly name: "edit";
7468
+ readonly description: "Change a company job. Omitted fields stay as they are. Requires --revision";
7469
+ readonly aliases: readonly [];
7470
+ readonly hidden: false;
7471
+ readonly helpOption: true;
7472
+ readonly helpCommand: false;
7473
+ readonly usage: "[options] <jobId>";
7474
+ readonly helpText: readonly [];
7475
+ readonly arguments: readonly [{
7476
+ readonly name: "jobId";
7477
+ readonly required: true;
7478
+ readonly variadic: false;
7479
+ readonly description: "Job id from hq outposts status --company <slug>";
7480
+ }];
7481
+ readonly options: readonly [{
7482
+ readonly flags: "--company <slug>";
7483
+ readonly description: "Company that owns the Outpost";
7484
+ readonly hidden: false;
7485
+ }, {
7486
+ readonly flags: "--outpost <name|id>";
7487
+ readonly description: "Which company Outpost, when the company has more than one";
7488
+ readonly hidden: false;
7489
+ }, {
7490
+ readonly flags: "--revision <rev>";
7491
+ readonly description: "Accepted revision you last saw. Required for edit and delete --yes";
7492
+ readonly hidden: false;
7493
+ }, {
7494
+ readonly flags: "--prompt <text>";
7495
+ readonly description: "What the job should do. Omit to keep the current prompt";
7496
+ readonly hidden: false;
7497
+ }, {
7498
+ readonly flags: "--timezone <name>";
7499
+ readonly description: "IANA timezone, such as America/New_York. Omit to keep the current timezone";
7500
+ readonly hidden: false;
7501
+ }, {
7502
+ readonly flags: "--cron <expr>";
7503
+ readonly description: "Recurring schedule: rate(N minutes|hours|days), a five-field cron with * for day of month and month (such as \"*/15 * * * *\"; translated to the AWS form), or cron(MIN HOUR ? * DOW *). Omit to keep the current schedule";
7504
+ readonly hidden: false;
7505
+ }, {
7506
+ readonly flags: "--at <iso>";
7507
+ readonly description: "One-time ISO-8601 instant. Do not combine with --cron";
7508
+ readonly hidden: false;
7509
+ }, {
7510
+ readonly flags: "--script <text>";
7511
+ readonly description: "Precondition script stored with the job. Omit to keep the current script";
7512
+ readonly hidden: false;
7513
+ }, {
7514
+ readonly flags: "--context <json>";
7515
+ readonly description: "JSON object stored with the job. Omit to keep the current context";
7516
+ readonly hidden: false;
7517
+ }, {
7518
+ readonly flags: "--clear-script";
7519
+ readonly description: "Remove the job's precondition script";
7520
+ readonly hidden: false;
7521
+ }, {
7522
+ readonly flags: "--clear-context";
7523
+ readonly description: "Remove the job's stored context";
7524
+ readonly hidden: false;
7525
+ }, {
7526
+ readonly flags: "--json";
7527
+ readonly description: "Emit the result as JSON";
7528
+ readonly hidden: false;
7529
+ }];
7530
+ readonly subcommands: readonly [];
7531
+ }, {
7532
+ readonly name: "pause";
7533
+ readonly description: "Pause a company job";
7534
+ readonly aliases: readonly [];
7535
+ readonly hidden: false;
7536
+ readonly helpOption: true;
7537
+ readonly helpCommand: false;
7538
+ readonly usage: "[options] <jobId>";
7539
+ readonly helpText: readonly [];
7540
+ readonly arguments: readonly [{
7541
+ readonly name: "jobId";
7542
+ readonly required: true;
7543
+ readonly variadic: false;
7544
+ readonly description: "Job id from hq outposts status --company <slug>";
7545
+ }];
7546
+ readonly options: readonly [{
7547
+ readonly flags: "--company <slug>";
7548
+ readonly description: "Company that owns the Outpost";
7549
+ readonly hidden: false;
7550
+ }, {
7551
+ readonly flags: "--outpost <name|id>";
7552
+ readonly description: "Which company Outpost, when the company has more than one";
7553
+ readonly hidden: false;
7554
+ }, {
7555
+ readonly flags: "--revision <rev>";
7556
+ readonly description: "Accepted revision you last saw. Required for edit and delete --yes";
7557
+ readonly hidden: false;
7558
+ }, {
7559
+ readonly flags: "--json";
7560
+ readonly description: "Emit the result as JSON";
7561
+ readonly hidden: false;
7562
+ }];
7563
+ readonly subcommands: readonly [];
7564
+ }, {
7565
+ readonly name: "resume";
7566
+ readonly description: "Resume a paused company job";
7567
+ readonly aliases: readonly [];
7568
+ readonly hidden: false;
7569
+ readonly helpOption: true;
7570
+ readonly helpCommand: false;
7571
+ readonly usage: "[options] <jobId>";
7572
+ readonly helpText: readonly [];
7573
+ readonly arguments: readonly [{
7574
+ readonly name: "jobId";
7575
+ readonly required: true;
7576
+ readonly variadic: false;
7577
+ readonly description: "Job id from hq outposts status --company <slug>";
7578
+ }];
7579
+ readonly options: readonly [{
7580
+ readonly flags: "--company <slug>";
7581
+ readonly description: "Company that owns the Outpost";
7582
+ readonly hidden: false;
7583
+ }, {
7584
+ readonly flags: "--outpost <name|id>";
7585
+ readonly description: "Which company Outpost, when the company has more than one";
7586
+ readonly hidden: false;
7587
+ }, {
7588
+ readonly flags: "--revision <rev>";
7589
+ readonly description: "Accepted revision you last saw. Required for edit and delete --yes";
7590
+ readonly hidden: false;
7591
+ }, {
7592
+ readonly flags: "--json";
7593
+ readonly description: "Emit the result as JSON";
7594
+ readonly hidden: false;
7595
+ }];
7596
+ readonly subcommands: readonly [];
7597
+ }, {
7598
+ readonly name: "delete";
7599
+ readonly description: "Delete a company job (requires --yes)";
7600
+ readonly aliases: readonly [];
7601
+ readonly hidden: false;
7602
+ readonly helpOption: true;
7603
+ readonly helpCommand: false;
7604
+ readonly usage: "[options] <jobId>";
7605
+ readonly helpText: readonly [];
7606
+ readonly arguments: readonly [{
7607
+ readonly name: "jobId";
7608
+ readonly required: true;
7609
+ readonly variadic: false;
7610
+ readonly description: "Job id from hq outposts status --company <slug>";
7611
+ }];
7612
+ readonly options: readonly [{
7613
+ readonly flags: "--company <slug>";
7614
+ readonly description: "Company that owns the Outpost";
7615
+ readonly hidden: false;
7616
+ }, {
7617
+ readonly flags: "--outpost <name|id>";
7618
+ readonly description: "Which company Outpost, when the company has more than one";
7619
+ readonly hidden: false;
7620
+ }, {
7621
+ readonly flags: "--revision <rev>";
7622
+ readonly description: "Accepted revision you last saw. Required for edit and delete --yes";
7623
+ readonly hidden: false;
7624
+ }, {
7625
+ readonly flags: "--yes";
7626
+ readonly description: "Confirm deletion of this job";
7627
+ readonly hidden: false;
7628
+ }, {
7629
+ readonly flags: "--json";
7630
+ readonly description: "Emit the result as JSON";
7631
+ readonly hidden: false;
7632
+ }];
7633
+ readonly subcommands: readonly [];
7634
+ }, {
7635
+ readonly name: "run-now";
7636
+ readonly description: "Run a company job once now";
7637
+ readonly aliases: readonly [];
7638
+ readonly hidden: false;
7639
+ readonly helpOption: true;
7640
+ readonly helpCommand: false;
7641
+ readonly usage: "[options] <jobId>";
7642
+ readonly helpText: readonly [];
7643
+ readonly arguments: readonly [{
7644
+ readonly name: "jobId";
7645
+ readonly required: true;
7646
+ readonly variadic: false;
7647
+ readonly description: "Job id from hq outposts status --company <slug>";
7648
+ }];
7649
+ readonly options: readonly [{
7650
+ readonly flags: "--company <slug>";
7651
+ readonly description: "Company that owns the Outpost";
7652
+ readonly hidden: false;
7653
+ }, {
7654
+ readonly flags: "--outpost <name|id>";
7655
+ readonly description: "Which company Outpost, when the company has more than one";
7656
+ readonly hidden: false;
7657
+ }, {
7658
+ readonly flags: "--revision <rev>";
7659
+ readonly description: "Accepted revision you last saw. Required for edit and delete --yes";
7660
+ readonly hidden: false;
7661
+ }, {
7662
+ readonly flags: "--json";
7663
+ readonly description: "Emit the result as JSON";
7664
+ readonly hidden: false;
7665
+ }];
7666
+ readonly subcommands: readonly [];
7446
7667
  }];
7447
7668
  }, {
7448
7669
  readonly name: "exec";
@@ -7612,6 +7833,10 @@ export declare const COMMAND_CATALOG: readonly [{
7612
7833
  readonly flags: "--company <slug>";
7613
7834
  readonly description: "Company slug";
7614
7835
  readonly hidden: false;
7836
+ }, {
7837
+ readonly flags: "--outpost <name|id>";
7838
+ readonly description: "Which company Outpost, when the company has more than one";
7839
+ readonly hidden: false;
7615
7840
  }, {
7616
7841
  readonly flags: "--json";
7617
7842
  readonly description: "Emit raw JSON";
@@ -7656,6 +7881,10 @@ export declare const COMMAND_CATALOG: readonly [{
7656
7881
  readonly flags: "--company <slug>";
7657
7882
  readonly description: "Request a new sign-in link for the company's Outpost (owner or admin)";
7658
7883
  readonly hidden: false;
7884
+ }, {
7885
+ readonly flags: "--outpost <name|id>";
7886
+ readonly description: "Which company Outpost, when the company has more than one";
7887
+ readonly hidden: false;
7659
7888
  }, {
7660
7889
  readonly flags: "--json";
7661
7890
  readonly description: "Emit raw JSON";
@@ -7685,6 +7914,10 @@ export declare const COMMAND_CATALOG: readonly [{
7685
7914
  readonly flags: "--company <slug>";
7686
7915
  readonly description: "Sign in the company's Outpost (owner or admin)";
7687
7916
  readonly hidden: false;
7917
+ }, {
7918
+ readonly flags: "--outpost <name|id>";
7919
+ readonly description: "Which company Outpost, when the company has more than one";
7920
+ readonly hidden: false;
7688
7921
  }, {
7689
7922
  readonly flags: "--json";
7690
7923
  readonly description: "Emit raw JSON";
@@ -8157,6 +8390,22 @@ export declare const COMMAND_CATALOG: readonly [{
8157
8390
  readonly hidden: false;
8158
8391
  }];
8159
8392
  readonly subcommands: readonly [];
8393
+ }, {
8394
+ readonly name: "hook-engine-path";
8395
+ readonly description: "Print the offline, version-pinned native hook engine path";
8396
+ readonly aliases: readonly [];
8397
+ readonly hidden: false;
8398
+ readonly helpOption: true;
8399
+ readonly helpCommand: false;
8400
+ readonly usage: "[options]";
8401
+ readonly helpText: readonly [];
8402
+ readonly arguments: readonly [];
8403
+ readonly options: readonly [{
8404
+ readonly flags: "--repair";
8405
+ readonly description: "Repair the pinned copy after closing running hook processes";
8406
+ readonly hidden: false;
8407
+ }];
8408
+ readonly subcommands: readonly [];
8160
8409
  }, {
8161
8410
  readonly name: "ontology";
8162
8411
  readonly description: "Checkpoint ontology steps run by the checkpoint sibling (gated by checkpoint.ontology)";
@@ -10657,6 +10906,14 @@ export declare const COMMAND_CATALOG: readonly [{
10657
10906
  readonly flags: "--client-health-report";
10658
10907
  readonly description: "Resolve the opt-in hq-flags gate used by the client-health report hook.";
10659
10908
  readonly hidden: true;
10909
+ }, {
10910
+ readonly flags: "--sweep-temp-homes";
10911
+ readonly description: "Delete idle temp homes (90+ minutes untouched, not in use): tmp.* folders holding .rustup or .cargo, and hq-temp-home.* folders left by the wrapper. Reports GB freed.";
10912
+ readonly hidden: false;
10913
+ }, {
10914
+ readonly flags: "--dry-run";
10915
+ readonly description: "With --sweep-temp-homes, list what would be removed and delete nothing.";
10916
+ readonly hidden: false;
10660
10917
  }, {
10661
10918
  readonly flags: "--yes";
10662
10919
  readonly description: "Skip the interactive --fix confirmation (non-interactive use).";
@@ -14072,6 +14329,10 @@ export declare const COMMAND_CATALOG: readonly [{
14072
14329
  readonly flags: "--provider <name>";
14073
14330
  readonly description: "claude | codex | grok";
14074
14331
  readonly hidden: false;
14332
+ }, {
14333
+ readonly flags: "--runner <kind>";
14334
+ readonly description: "process (default) | subagent: register a lane an in-session Claude subagent runs; skips admission and starts no process";
14335
+ readonly hidden: false;
14075
14336
  }, {
14076
14337
  readonly flags: "--remote-control";
14077
14338
  readonly description: "Open a Claude lane in Remote Control using account a for login and the selected account for inference";
@@ -14135,6 +14396,39 @@ export declare const COMMAND_CATALOG: readonly [{
14135
14396
  readonly hidden: false;
14136
14397
  }];
14137
14398
  readonly subcommands: readonly [];
14399
+ }, {
14400
+ readonly name: "progress";
14401
+ readonly description: "Report on a subagent lane: a progress line, the final envelope, or a failure";
14402
+ readonly aliases: readonly [];
14403
+ readonly hidden: false;
14404
+ readonly helpOption: true;
14405
+ readonly helpCommand: false;
14406
+ readonly usage: "[options] <lane-id>";
14407
+ readonly helpText: readonly [];
14408
+ readonly arguments: readonly [{
14409
+ readonly name: "lane-id";
14410
+ readonly required: true;
14411
+ readonly variadic: false;
14412
+ readonly description: "Lane id";
14413
+ }];
14414
+ readonly options: readonly [{
14415
+ readonly flags: "--line <text>";
14416
+ readonly description: "Progress line shown as the lane's last line";
14417
+ readonly hidden: false;
14418
+ }, {
14419
+ readonly flags: "--envelope <path>";
14420
+ readonly description: "Final hq-lane-envelope.v1 file; the lane state follows its decision";
14421
+ readonly hidden: false;
14422
+ }, {
14423
+ readonly flags: "--failed <reason>";
14424
+ readonly description: "Mark the lane failed when the subagent ended without an envelope";
14425
+ readonly hidden: false;
14426
+ }, {
14427
+ readonly flags: "--json";
14428
+ readonly description: "JSON on stdout (always)";
14429
+ readonly hidden: false;
14430
+ }];
14431
+ readonly subcommands: readonly [];
14138
14432
  }, {
14139
14433
  readonly name: "approve-target";
14140
14434
  readonly description: "";