@indigoai-us/hq-cli 5.345.222 → 5.345.225
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.
- package/CHANGELOG.md +89 -0
- package/assets/bot-workers/setup/context/quick-reference.md +2 -2
- package/assets/mesh-daemon/README.md +11 -12
- package/dist/command-catalog.generated.d.ts +79 -5
- package/dist/command-catalog.generated.js +95 -5
- package/dist/commands/bot.d.ts +1 -1
- package/dist/commands/bot.js +34 -33
- package/dist/commands/cloud-provision.d.ts +4 -1
- package/dist/commands/cloud-provision.js +7 -3
- package/dist/commands/cloud-retire.js +1 -1
- package/dist/commands/core-delegate-w1b.js +210 -188
- package/dist/commands/core-delegate.d.ts +5 -0
- package/dist/commands/core-dm-bind-native.d.ts +5 -1
- package/dist/commands/core-dm-bind-native.js +4 -0
- package/dist/commands/core-job-notify-native.d.ts +5 -1
- package/dist/commands/core-job-notify-native.js +8 -2
- package/dist/commands/core-jobs-native.d.ts +27 -1
- package/dist/commands/core-jobs-native.js +49 -28
- package/dist/commands/core-pipeline-conductor-native.js +7 -7
- package/dist/commands/core-pipeline-driver-native.js +5 -5
- package/dist/commands/core-refresh-vault-access-native.d.ts +5 -0
- package/dist/commands/core-refresh-vault-access-native.js +3 -1
- package/dist/commands/core-work-mesh-bind-trusted-native.js +1 -1
- package/dist/commands/daemon.d.ts +2 -0
- package/dist/commands/daemon.js +67 -1
- package/dist/commands/lanes-hold.d.ts +2 -27
- package/dist/commands/lanes-hold.js +3 -75
- package/dist/commands/lanes-loop.js +1 -1
- package/dist/commands/lanes-session-start.js +2 -2
- package/dist/commands/mesh.d.ts +12 -0
- package/dist/commands/mesh.js +13 -4
- package/dist/commands/monitor.js +1 -1
- package/dist/commands/packs.js +14 -3
- package/dist/commands/sync-core.js +31 -12
- package/dist/commands/whoami.d.ts +10 -17
- package/dist/commands/whoami.js +7 -79
- package/dist/data/command-states.json +13 -0
- package/dist/index.js +1 -1
- package/dist/lib/bot/fleet-cron.d.ts +26 -3
- package/dist/lib/bot/fleet-cron.js +44 -4
- package/dist/lib/bot/run.d.ts +4 -4
- package/dist/lib/bot/run.js +5 -3
- package/dist/lib/bot/signals-engine-flag.d.ts +53 -13
- package/dist/lib/bot/signals-engine-flag.js +202 -9
- package/dist/lib/daemon/catalog.d.ts +8 -5
- package/dist/lib/daemon/catalog.js +13 -7
- package/dist/lib/daemon/config.d.ts +5 -0
- package/dist/lib/daemon/config.js +6 -0
- package/dist/lib/daemon/lanes-monitor-state.d.ts +55 -0
- package/dist/lib/daemon/lanes-monitor-state.js +129 -0
- package/dist/lib/daemon/lanes-reconcile-loader.d.ts +7 -0
- package/dist/lib/daemon/lanes-reconcile-loader.js +13 -0
- package/dist/lib/daemon/machine-checks.d.ts +45 -0
- package/dist/lib/daemon/machine-checks.js +95 -11
- package/dist/lib/daemon/merge-sections.d.ts +165 -0
- package/dist/lib/daemon/merge-sections.js +556 -0
- package/dist/lib/daemon/native-notice-ledger.d.ts +9 -0
- package/dist/lib/daemon/native-notice-ledger.js +43 -0
- package/dist/lib/daemon/ops/policy.d.ts +1 -1
- package/dist/lib/daemon/ops/policy.js +1 -1
- package/dist/lib/daemon/protocol.d.ts +1 -1
- package/dist/lib/daemon/protocol.js +0 -6
- package/dist/lib/daemon/run.js +76 -3
- package/dist/lib/daemon/selfcheck.js +2 -2
- package/dist/lib/daemon/server.d.ts +2 -4
- package/dist/lib/daemon/server.js +5 -48
- package/dist/lib/daemon/state-file.d.ts +74 -4
- package/dist/lib/daemon/state-file.js +159 -19
- package/dist/lib/daemon/supervisor.d.ts +11 -1
- package/dist/lib/daemon/supervisor.js +86 -0
- package/dist/lib/daemon/updater.d.ts +2 -6
- package/dist/lib/daemon/updater.js +4 -11
- package/dist/lib/daemon/whoami-cache.d.ts +96 -0
- package/dist/lib/daemon/whoami-cache.js +244 -0
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/flag-registry-worker.js +33 -3
- package/dist/lib/flag-registry.js +13 -0
- package/dist/lib/hook-engine/coverage.d.ts +2 -0
- package/dist/lib/hook-engine/coverage.js +71 -0
- package/dist/lib/hook-engine/native-precompact-compatibility.json +449 -0
- package/dist/lib/hook-engine/reconcile.js +14 -8
- package/dist/lib/install/hook-target.d.ts +13 -3
- package/dist/lib/install/hook-target.js +14 -11
- package/dist/lib/lanes/envelope-repair-dispatch.js +1 -1
- package/dist/lib/lanes/monitor.d.ts +2 -0
- package/dist/lib/lanes/monitor.js +2 -1
- package/dist/lib/lanes/registry-flag.d.ts +6 -0
- package/dist/lib/lanes/registry-flag.js +3 -2
- package/dist/lib/lanes/repo-merge-hold.d.ts +39 -0
- package/dist/lib/lanes/repo-merge-hold.js +90 -0
- package/dist/lib/lanes/watcher-main.js +3 -3
- package/dist/lib/mesh/live/daemon/doctor.js +1 -1
- package/dist/lib/mesh/live/daemon/install.js +2 -2
- package/dist/lib/scan-packages/index.js +8 -9
- package/dist/lib/signals/engine.d.ts +8 -0
- package/dist/lib/signals/engine.js +15 -5
- package/dist/lib/sync-core/flag.d.ts +18 -0
- package/dist/lib/sync-core/flag.js +66 -0
- package/dist/lib/sync-core/reconcile.d.ts +6 -0
- package/dist/lib/sync-core/reconcile.js +15 -0
- package/dist/lib/sync-core/rollout-state.d.ts +2 -0
- package/dist/lib/sync-core/rollout-state.js +7 -0
- package/dist/lib/sync-core/vault-settings.d.ts +12 -1
- package/dist/lib/sync-core/vault-settings.js +23 -7
- package/dist/lib/windows/install-followup.js +1 -1
- package/dist/utils/client-health-contract.d.ts +1 -0
- package/dist/utils/client-health-contract.js +5 -0
- package/dist/utils/client-health.d.ts +2 -0
- package/dist/utils/client-health.js +40 -0
- package/dist/utils/cognito-session.d.ts +2 -14
- package/dist/utils/cognito-session.js +2 -40
- package/dist/utils/daemon-cli-version.d.ts +13 -0
- package/dist/utils/daemon-cli-version.js +47 -0
- package/dist/utils/duplicate-command-usage.js +1 -1
- package/dist/utils/machine-token-cache.d.ts +21 -0
- package/dist/utils/machine-token-cache.js +49 -0
- package/dist/utils/pack-contributions.d.ts +14 -2
- package/dist/utils/pack-contributions.js +31 -5
- package/dist/utils/resident-package-preload.js +4 -0
- package/dist/utils/whoami-identity.d.ts +54 -0
- package/dist/utils/whoami-identity.js +108 -0
- package/package.json +7 -7
- package/scripts/bench-core.mjs +34 -3
- package/dist/lib/daemon/ops/memory.d.ts +0 -18
- package/dist/lib/daemon/ops/memory.js +0 -65
- package/dist/lib/daemon/ops/mesh.d.ts +0 -38
- package/dist/lib/daemon/ops/mesh.js +0 -70
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,95 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [5.345.225] — 2026-11-17
|
|
6
|
+
- The native agent-browser presence check stays silent while the daemon owns the machine checks, so a missing agent-browser is shown once by the machine-check notice instead of at every session start (and twice at the first).
|
|
7
|
+
- `hq install --global` and `hq reindex` register master-hook for the Claude Code user-scope hooks on a root the hq daemon serves, instead of the hqd shim, so tool calls in projects outside HQ get every PreToolUse hook master-hook runs. An existing shim registration is moved back on the next reindex.
|
|
8
|
+
- `hq cloud retire company --yes` and provision cleanup send the company slug as `confirmName` on `DELETE /entity/{uid}`, matching hq-pro's typed confirmation. `--yes` was skipping only the local prompt, so retire and the suffixed-slug cleanup both failed with `COMPANY_DELETE_CONFIRMATION_REQUIRED`.
|
|
9
|
+
- `hq install --global` and `hq reindex` register the Codex hook adapter on a root the hq daemon serves, instead of the hqd shim, so Codex tool calls get every PreToolUse hook master-hook runs. An existing shim registration is moved back to the adapter on the next reindex.
|
|
10
|
+
- Answer Codex PostToolUse natively for the policy gate, the screenshot counter and conduct-link delivery, as the hq-core v16.0.47 Codex adapter ran them; inputs the port does not model are refused instead of handed to bash.
|
|
11
|
+
- Keep heredoc data out of shell command rules while preserving checks on surrounding commands and unquoted expansions.
|
|
12
|
+
- The daemon no longer starts processes it does not need: the 15-second lane reconcile runs inside the daemon instead of starting `hq runners reconcile`, the hqd socket ops nothing called (`session.get`, `policy.index`, `memory.get`, `memory.put`, `mesh.presence`, `shutdown`) are removed and answer `unknown_op`, and CLI commands that ran `hq whoami` for the signed-in identity read the daemon's cached answer first, running `hq whoami` only when no daemon has one.
|
|
13
|
+
- The daemon's state file (`hq-state.json`) now carries two more sections for the native merge check: `merge_holds` (every repository merge hold with its company's `lanes.repo-merge-hold` flag) and `merge_approvals` (per session, the conduct decision queue, the session's company and whether `lanes.review-before-merge` applies, with the lane review records). Both are rebuilt every 15 seconds and expire after 60; a hold file `hq lanes hold` would refuse, an unreadable flag or an unreadable link folder leaves a section out, so the check refuses merges rather than allowing them.
|
|
14
|
+
- The native merge-state reader accepts a session the daemon writes with no conduct link when its queue is absent or unreadable, so a senior lane on no link gets its review gate instead of a "merge authority is unavailable" refusal.
|
|
15
|
+
- `hq daemon service` children, including the resident Work Mesh service, no longer run the slow install follow-up on their first start after an upgrade.
|
|
16
|
+
- Report the hq daemon's running CLI version in client health, so support can see machines whose daemon still runs a version from before the sync engine pin.
|
|
17
|
+
- The native hook engine can now carry text that only the person sees, separate from the context it adds for the model. On an allowed UserPromptSubmit it goes out as `systemMessage` on Claude Code and Codex; Grok Build and the Fleet runtime have no such channel, so the text is dropped there with a line on stderr and never becomes model context. No hook uses it yet.
|
|
18
|
+
- host-canary: the canary no longer copies, reads, hashes or stats any sign-in file on any platform. On Windows each host is pointed at its existing sign-in through its own variable (CLAUDE_CONFIG_DIR, CODEX_HOME or CODEX_API_KEY, GROK_AUTH_PATH or XAI_API_KEY) instead of a copy in the disposable home. It refuses a Codex folder that holds a hooks.json and any sign-in folder that overlaps the disposable base. On macOS, when a sign-in is a link or a chain of links, every folder on the chain is now write-denied by the sandbox.
|
|
19
|
+
- host-canary: on Windows, links in the snapshot whose target is a directory (for example `.codex/claude`) are re-created as directory links after `tar -xf`. bsdtar 3.8.9 on windows-latest extracted them as file links, realpath through them failed with EPERM, and the snapshot check refused every host.
|
|
20
|
+
- `hq-hook run --host` no longer fails open when a hook overflows its stack. The evaluation worker has a 64 MiB stack, and a stack overflow on a PreToolUse event is answered with a block (the same "fails closed" refusal a panic gets) where the process used to die and the host ran the tool call. On macOS and Linux this also covers other memory faults (SIGSEGV, SIGBUS); on Windows it covers the stack overflow. Not covered: a kill by the system (out of memory, SIGKILL).
|
|
21
|
+
- `hq core jobs reconcile` now reads PATH by the host's own rules when it writes a scheduled-job unit. On Windows it used the POSIX rules (`:` separator, leading `/`), so the unit's PATH line was empty and `hq` was never found. Linux and macOS output is unchanged.
|
|
22
|
+
- hq-hook claims the `.claude/settings.json` Stop entry `hq-monitor-session-hook.sh wait` by its exact command, because the Codex, Grok and fleet adapters skip it (`asyncRewake: true`). The native Stop on those hosts refuses that command when it is registered without the mark.
|
|
23
|
+
- On HQ Fleet hosts (fleet-local and agents-v2), `hq-hook run` sends an event to the host's shell adapter when the HQ root's registry lists a claimed hook that adapter skips, through its fixed list, `HQ_AGENTS_V2_HOOK_SKIP`, `HQ_FLEET_LOCAL_HOOK_SKIP` or the fleet-local helper-session rules, so a skipped hook never runs natively.
|
|
24
|
+
- hq-hook: the conduct-link UserPromptSubmit hook joins a session to its conduct link in-process instead of running `hq runners link join`, so no program starts on that hot path. It reads `lanes.session-links` from the local override, then the daemon state file, and joins unless the flag is explicitly off, as the CLI does (US-048 M4a).
|
|
25
|
+
- The hook engine can read `monitor.enabled` from the daemon state file for the person or company scope, so the native monitor drain needs no `hq` process to learn whether monitors are on. A missing, stale or other-scope value reads as unknown.
|
|
26
|
+
- The native hook engine now delivers queued `hq monitor` events itself on PreToolUse and UserPromptSubmit (the `hq-monitor-session-hook` drain rows), with no `hq` process: it reads `monitor.enabled` from the daemon state file and drains the session drop box in process, in the same file format as `hq monitor drain`. A missing or stale flag leaves the events queued.
|
|
27
|
+
- `scripts/machine-checks-side-by-side.mjs` resets the checks' show-once and cooldown stamp folders between the hook run and the doctor run. Both runs now start from the same stamps, so a check that writes a stamp no longer reads `different`.
|
|
28
|
+
- `scripts/machine-checks-e2e.mjs` installs the engine at the release-stable path and registers it as Claude Code's native SessionStart before it runs the daemon batch. The batch now runs only when a native SessionStart is registered.
|
|
29
|
+
- The native policy-enforcement gate recognises the next hq-core gate script (hq-core-staging #2018, SHA-256 `1bc4df8e`), which fixes a missed `delivery-forbid-regex` and a falsely missing `delivery-require-regex` on large or multi-line message bodies. Without this, a root that receives that gate has it left to bash by the bridge, and on the new core every tool call is refused until the engine knows the script.
|
|
30
|
+
- Register the native policy frontmatter validator on PreToolUse so policy Write, Edit, and MultiEdit calls retain trigger and lifecycle validation. Preserve the existing process-free validator and refuse unsupported policy patch shapes.
|
|
31
|
+
- Native PreToolUse refusals now end with the same "Blocked by hook <id>." line the shell dispatcher prints, naming the old hook (or the rule) that refused.
|
|
32
|
+
- The native hook engine now gives the senior-session lane Monitor reminder at UserPromptSubmit (`core/hooks/UserPromptSubmit/45-lanes-senior-monitor.sh`) without starting any program: the hq daemon writes each senior session's Monitor coverage into a new `lanes_monitor` section of its state file every 30 seconds, and the hook reads it. A missing or stale answer gives no reminder (the Stop gate still enforces coverage). The shared port calls `hq runners monitor-check` at SessionStart.
|
|
33
|
+
- The native hook engine now runs `auto-session-project` at UserPromptSubmit without starting any program: for a Work Mesh bound session it makes the company project folder, writes `prd.json` from the project cache or the session board, leaves the session-title marker, and returns the `<auto-session-project>` context, with parity tests against the released shell hook.
|
|
34
|
+
- The native hook engine now records the deep-plan session marker and adds the deep-plan routing context at UserPromptSubmit (`route-deep-plan-to-skill`), with parity tests against the released shell hook.
|
|
35
|
+
- Keep PreCompact on the legacy dispatcher when its installed files, registry, or session-reader generation cannot be reproduced by the native engine, using one shared compatibility policy for reindex and native checks.
|
|
36
|
+
- Register the three PreToolUse readiness evaluators (`merge-gates-ready`, `live-command-flags-ready`, `git-identity-authority-ready`) in the native hook core. Each refuses natively when it cannot read its merge-state, company flag or repository-identity input, and the command rules now follow those authorities instead of refusing every merge, secret reveal and Git mutation.
|
|
37
|
+
- Run the PreToolUse, released gate compatibility, and SessionStart setup regression suites in hook pull-request and release CI.
|
|
38
|
+
- Resolve standalone literal shell assignments before logical joins while retaining refusals for conditional or unresolved values.
|
|
39
|
+
- Keep variables declared read-only without a value uncertain when checking later shell assignments.
|
|
40
|
+
- Replay harness: neutralise recorder redaction markers before both cores run, copy the recorded root's workspace/ and personal/ folder layout, run Codex events' old side through the Codex adapter, report each side's reason class, and add a --sessions mode that replays a session's events in order. The recorder no longer redacts a `date -u +FORMAT` argument as a `-u user:pass` credential.
|
|
41
|
+
- hq-cli's own callers now run `hq runners ...` instead of the deprecated `hq lanes ...` alias: the native Stop, PostToolUse, prompt and SessionStart hooks, the native merge-hold guard, the pipeline conductor and driver, and the internal runner, watcher, monitor and session-start spawns. The `hq lanes` alias still works.
|
|
42
|
+
- The native repo merge-hold guard now blocks the merge when the `hq` it runs has no `hq runners hold check` command (exit 1 with `error: unknown command 'runners'`, `'hold'` or `'check'`), and says to update hq to the version core requires. Other check failures still allow the command with a notice, as before.
|
|
43
|
+
- The native SessionStart lanes hook now needs hq 5.345.210 or later (the first release with `hq runners`). An older hq on PATH takes the existing "too old" path and prints nothing.
|
|
44
|
+
- Allow metadata listings of the local HQ state folder while preserving protection of its owner-managed root list and refusing unresolved paths.
|
|
45
|
+
- The native company scope guard now reads a shell function's `$1`, `$2`, ... as the literal words its call sites pass, so `R() { cmd "$1"; }; R 25` is checked with `25` instead of being refused as an unknown value. A parameter stays unknown and refused when any call passes a computed, globbed or brace-expanded word, when the body uses `shift`, `set`, `eval` or `source`, when the function is exported, when the command may change directory after the definition (`cd`, `pushd`, `popd`, `chdir`, `source`, `.` or `eval`, or a `cd` in any function body), or when the function's name appears anywhere other than its definition and its literal call sites.
|
|
46
|
+
- Add `hq daemon pause sync-core` and `hq daemon resume sync-core`. A paused engine stays stopped, the heartbeat watchdog does not restart it, and the pause survives daemon restarts. `hq daemon status` shows when it was paused and by whom.
|
|
47
|
+
- Scheduled jobs now start with `hq core job run` instead of `core/scripts/hq-job-run.sh`. `hq core jobs reconcile` writes a systemd unit that runs the absolute `hq` found on the service PATH, or `/usr/bin/env hq` when none is found. Units written by older versions keep working until the next reconcile rewrites them, because `hq-job-run.sh` is still shipped.
|
|
48
|
+
- Base all 10 Claude Code and 8 Codex hook event fixtures on recorded payload shapes, with variants for subagents, MCP, compact startup, nullable transcripts and Codex's namespaced spawn tool, which now reads as Agent.
|
|
49
|
+
- Validate fixture fields, types, enumerated values, and main key order against the recording in Python and Rust contract checks.
|
|
50
|
+
- hq-hook: the native UserPromptSubmit now answers `30-ensure-hq-cli.sh` without installing anything, as Corey decided ("Never install from a hook"). It starts no process. It shows the daemon's ensure-hq-cli finding once, through the same shown-once ledger as the SessionStart machine-check notice, and leaves the restore to the daemon's schedule, or to `hq doctor` where there is no daemon. The hook is now claimed for UserPromptSubmit.
|
|
51
|
+
- hq-hook: the native UserPromptSubmit now also answers `31-ensure-hq-desktop.sh` without updating anything: it starts no process or update worker, shows the daemon's ensure-hq-desktop finding once, and honours the script's kill switches, `HQ_UPDATER_DISABLED` included. The update is left to the daemon's schedule. The hook is now claimed for UserPromptSubmit.
|
|
52
|
+
- hq-hook: the native SessionStart now answers the `desktop-memory-leak-check` and `check-stale-model-pin` machine checks. On Claude Code it skips them when the daemon owns them, as master-hook's machine-check helper does, so the daemon's finding is shown once through the machine-check notice; otherwise, and always on Codex and Grok Build, it runs an in-process port of each script. Both ids are now claimed for SessionStart.
|
|
53
|
+
- `hq daemon` now runs Work Mesh Live as its own `mesh` service and adds `hq daemon doctor` (spool, held, dead-letter and MQTT health). The `hq mesh daemon` verbs, the mesh thread verbs (`hq mesh start`, `progress`, `blocked`, `done`, `note`) and `hq bot set-model` are marked retiring in favour of `hq daemon ...`, `hq mesh session ...` and `hq bot set --model`. They still run exactly as before.
|
|
54
|
+
- Mark `hq auth status` and `hq packages update` retiring in the command states table and the function manifest (use `hq whoami --check` or `hq whoami --json`, and `hq packs update --registry`). They still run exactly as before. The `hq whoami --check` and `hq packs update --registry` help text no longer names the older commands.
|
|
55
|
+
- The native hook engine now answers block-on-active-run on PreToolUse (Bash, Edit, Write) and claims it in its coverage list: it reads the run registry, walks its own process ancestry and checks run liveness without starting a program, with parity tests against the hq-core-staging master-hook, block-on-active-run.sh and repo-run-registry.sh.
|
|
56
|
+
- The native hook engine now answers block-company-repo-creation on PreToolUse (Bash) and claims it in its coverage list, reading commands with the native shell lexer, with parity tests against the hq-core-staging master-hook and block-company-repo-creation.sh.
|
|
57
|
+
- The native hook engine now answers block-core-writes-bash on PreToolUse (Bash) and claims it in its coverage list, reading commands with the native shell lexer and hook-lib's always-writable path masking and sudo option rewrite, with parity tests against the hq-core-staging master-hook and block-core-writes-bash.sh.
|
|
58
|
+
- hq-hook's port of the legacy block-core-writes-bash guard (the one merged-write-guard-shadow records) reads commands with the shared shell lexer. A command that names a protected path and that the pinned hook library's reader would decide differently, or that the lexer does not model (a NUL byte, a locale-dependent space next to a heredoc), is refused natively instead of recorded.
|
|
59
|
+
- The native hook engine now answers the numbered-policy-sibling folder hook on PreToolUse (Edit, Write, MultiEdit) and claims it in its coverage list, with byte-for-byte parity tests against the hq-core-staging beta.109 script.
|
|
60
|
+
- The native hook engine now answers block-policy-writes-bash on PreToolUse (Bash) and claims it in its coverage list, reading commands with the native shell lexer, with parity tests against the hq-core-staging master-hook and block-policy-writes-bash.sh.
|
|
61
|
+
- The native hook engine now answers protect-core on PreToolUse (Edit, Write) and claims it in its coverage list, with parity tests against the hq-core-staging master-hook and protect-core.sh; where the script fails open on a missing yq or jq, the native check decides as with both installed.
|
|
62
|
+
- hq-hook has a native port of the hq-core-staging shell lexer `hq_shell_simple_commands` (default, raw and nl modes, with the flat reading for heredocs and open substitutions), checked byte for byte against the staging function. It starts no program and refuses NUL bytes, non-UTF-8 text and locale-dependent spaces.
|
|
63
|
+
- The native enforce-vault-write-access port now follows the current hq-core-staging guard (4c03a27c5): perl, ruby, gsed and gawk in-place edits, $'...' words and sed or awk scripts cut at ; | or & are checked as bash checks them. It is not claimed in the native coverage list, and an install whose arithmetic library differs from the pinned one hands Bash calls back to bash.
|
|
64
|
+
- The native policy injector now does the shell injector's SessionEnd work, removing the ending session's policy session index files and sweeping stale ones, and claims `inject-policy-on-trigger` for SessionEnd.
|
|
65
|
+
- The native policy injector now answers as the current release's shell injector on SessionStart and PostToolUse (timeout-journal metadata rewrite, awk diagnostics, text-tool evaluation on PostToolUse, gate-off rows) and claims `inject-policy-on-trigger` for both events.
|
|
66
|
+
- The native hook engine now appends the session journal's auto-capture line on Claude Code PostToolUse for Agent, AskUserQuestion, WebFetch and WebSearch calls, as `journal-autocapture.sh` did, without starting a program, and claims that hook in its PostToolUse cover list.
|
|
67
|
+
- The native hook engine now redacts credential values in Read and Bash tool output on Claude Code PostToolUse, as `redact-credential-output.sh` did, and claims that hook in its PostToolUse cover list.
|
|
68
|
+
- A redaction that fails or runs out of time blocks the call, and a block from another PostToolUse check keeps the redacted output.
|
|
69
|
+
- Let the Windows host canary resolve npm's native-executable shim, used by Claude Code 2.1.325, directly without a shell. Keep arbitrary batch commands refused.
|
|
70
|
+
|
|
71
|
+
## [5.345.223] — 2026-11-17
|
|
72
|
+
- Refresh person-scoped flags for agent callers even when the CLI runs in company context, so recorder overrides take effect and can be removed.
|
|
73
|
+
- hq-hook: the daemon state file reader now refuses what the CLI's own reader refuses. A file whose stated maximum age is under one second is no longer read as fresh for a whole second. A time at second 60 is not a time. A file is not trusted when a folder above the daemon folder can be written by group or others, or belongs to another user. In `HQ_FLAG_DAEMON_STATE_FILE`, U+FEFF around `false` now turns the state file off, and U+0085 around `true` no longer turns it on.
|
|
74
|
+
- On macOS, `hq-hook` now reads when a Grok Build hook process started from the system's monotonic clock, not the wall clock. Before, if the wall clock was set back while the hook was starting, the time spent before the hook began running was not counted. A refusal could then reach Grok after its 5-second cutoff, and the call went through. If only the wall-clock record can be read and it shows a start in the future, the hook now assumes 0.8 seconds were spent before it began running, not none. Claude Code and Codex calls are unchanged.
|
|
75
|
+
- The native company scope guard now refuses four inputs the bash guard it replaces refused but the native guard let through: a `companies/<slug>` path followed by a vertical tab, form feed or Unicode space (such as U+00A0 or U+3000), a tool name with a NUL character or a trailing line break (`Read\n`), `$(git rev-parse --show-toplevel)` while `GIT_DIR`, `GIT_WORK_TREE` or `GIT_CONFIG_PARAMETERS` is set, and a path under an HQ root registered in another Unicode normalisation than the one on disk.
|
|
76
|
+
- bench-core: on Windows, the old core's hook script is now passed to Git Bash as `/c/...` with forward slashes. A backslash path made `master-hook.sh` look for its sibling scripts in the working directory, so every old-core Claude tool call exited 2.
|
|
77
|
+
- bench-core: `--core new` now runs `hq-hook run --host <host> <Event> --hq-root <root>`, the same arguments host registration writes. Without `--hq-root`, every new-core tool call on Windows was refused with "the HQ root is unknown".
|
|
78
|
+
- The new core's user-scope (`--global`) hook entry now stands aside only where the old user-scope command did (the project folder is the HQ root itself, or the working folder is inside an HQ folder); with a project folder nested inside HQ and the working folder outside it, the guards now run instead of being skipped.
|
|
79
|
+
- Serialize confirmed delegation grants and delivery manifest reads with verification so concurrent updates preserve publication receipts.
|
|
80
|
+
- Keep the work-mesh kill-switch regression reliable when the hook exits before reading its input.
|
|
81
|
+
- Make conduct-link deadline regressions deterministic while retaining a real process-group termination check.
|
|
82
|
+
- The daemon's machine-check batch runs the scripts in collect-only mode when the installed core advertises `machineCheckCollectOnly: 1` in `core/core.yaml`. The scripts then report findings without writing their delivery stamps, so a session whose HOME the native notice ledger refuses still shows a finding the daemon batch already collected. Once the native notice has shown a check's finding, the next batch runs that check once in normal mode, so the script records it as shown (the desktop result is claimed, client-health's pending messages clear) without showing it again. With an older core the batch runs as before.
|
|
83
|
+
- Preserve the shell's policy-row format for built-in Bash reminders so triggering a reminder does not block later calls in the session.
|
|
84
|
+
- packs: `hq packs update` no longer removes the namespaced `/<pack>:<skill>` skill links that reindex writes; they stay through the update, and only the links of skills the new version dropped are removed. Before, they disappeared until the next reindex.
|
|
85
|
+
- packs: scan-packages skips the unprefixed skill link only when the pack's own `<pack>:<skill>` wrapper exists. Another pack's or a company's `*:<skill>` folder no longer stops it.
|
|
86
|
+
- Isolate Stop unit fixtures from runner Git overrides so host-format assertions use their declared environment.
|
|
87
|
+
- Make SessionStart timeout tests deterministic with a virtual polling clock and retain a real-process timeout smoke test.
|
|
88
|
+
- Bot: the morning `hot-signal-sync` job now reads the `cli.bot-signals-engine-job` flag for the company each job is for. Before, it was read once with no company, and a personal bot has no company of its own, so turning the flag on for one company never started the signals engine. A bot with several companies now runs the signals engine only for the companies where the flag is on and keeps the plain hot-channel sync for the rest. This covers the HQ Fleet Runtime job script (rewritten when the bot starts), the bot's own job and "Try now". If the flag cannot be read for a company, that company keeps the plain sync and the bot's log says so. `HQ_FLAG_CLI_BOT_SIGNALS_ENGINE_JOB` still decides for every company on that computer.
|
|
89
|
+
- Bot: with `cli.bot-signals-engine-job` on for a company, the morning `hot-signal-sync` job now runs the signals engine only on a computer where `signals_capture` or `ontology_capture` is on for that company. The engine skips a company with both settings off, and those settings are per computer and off by default, so a teammate with capture off would have gone from meeting signals every morning to nothing once the flag was on for their company. Such a computer keeps the plain hot-channel sync (`hq sources sync`), as before, and the bot's log says why. The check is the engine's own, and it covers the HQ Fleet Runtime job script, the bot's own job and "Try now". If the capture settings cannot be read, the job keeps the plain sync and logs it. The Fleet job script is chosen when `hq bot` writes it (for example `hq bot start` or `hq bot restart`), so a capture setting changed later reaches a Fleet bot only then: after turning capture on the bot keeps the plain sync until the script is next written, and after turning capture off it keeps the engine, which skips the company, until then. Restart the bot after changing a capture setting. `HQ_FLAG_CLI_BOT_SIGNALS_ENGINE_JOB=true` turns the flag on for every company on that computer; capture must still be on for the engine to run.
|
|
90
|
+
- A company's parallel downloads for the new sync engine can now be set for all its members' computers from the flag registry. Two company flags form a ladder: `sync.parallel-downloads` gives 8 download streams, `sync.parallel-downloads-16` gives 16 and wins over the first. The sync-core reconcile reads them for each company vault on the engine (every 10 minutes) and hq daemon passes the result to that vault's engine as `HQ_SYNC_PARALLEL_DOWNLOADS` / `HQ_SYNC_DOWNLOAD_STREAMS`. If the registry cannot be read, the vault keeps the value it had; with no flag on, nothing changes and the engine default (off) applies. A computer's own `hq sync-core config` setting still wins: `parallel-downloads off` now opts this computer out of a company value, and the new `parallel-downloads default` follows the company again. When only these settings change, hq daemon restarts that vault's engine when its current sync cycle ends (at most 30 minutes later), never the current sync runner or another vault's engine.
|
|
91
|
+
- Make the real-process update-lock test end on observed state instead of a fixed 3-second crasher window, which failed on Windows under CPU contention (v5.345.222 tag), and add tests for the failing ordering and for reclaiming a takeover mutex left by a holder killed mid-heartbeat.
|
|
92
|
+
- Run written host-registration execution tests in the Windows hook-registration job.
|
|
93
|
+
|
|
5
94
|
## [5.345.222] — 2026-11-16
|
|
6
95
|
- `hq packs uninstall` removes the namespaced `.claude/skills/<pack>:<skill>` host (symlink or empty reindex wrapper) and the uninstall rescan no longer adds unprefixed skill links next to those wrappers.
|
|
7
96
|
|
|
@@ -121,11 +121,11 @@ garden-scout, garden-auditor, garden-curator
|
|
|
121
121
|
|
|
122
122
|
## CLI: `hq mesh` (Work Mesh Live)
|
|
123
123
|
|
|
124
|
-
Presence and per-turn activity are automatic via hooks + `hq mesh
|
|
124
|
+
Presence and per-turn activity are automatic via hooks + `hq daemon` (its `mesh` service drains the spool). Manual verbs only: `task-status`, `blocked`, `note`. See `core/knowledge/public/hq-core/work-mesh-live.md` and `core/skills/work-mesh/`.
|
|
125
125
|
|
|
126
126
|
| Command | Use |
|
|
127
127
|
|---------|-----|
|
|
128
|
-
| `hq
|
|
128
|
+
| `hq daemon install\|status\|doctor` | Resident presence + spool flush (the daemon's `mesh` service) |
|
|
129
129
|
| `hq mesh context reconcile` (`--observation-file`/`--observation-json`) | Resolve company/project (no `--session`) |
|
|
130
130
|
| `hq mesh context organize\|correct\|untracked` (`--session` / sessionId arg) | Bind, correct, or mark untracked |
|
|
131
131
|
| `hq mesh context default get\|set\|clear` | Device default company |
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
# HQ mesh daemon service templates
|
|
1
|
+
# HQ mesh daemon service templates (older standalone units)
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
`hq daemon` runs Work Mesh Live as its `mesh` service, so a machine needs no
|
|
4
|
+
unit of its own for it: install the daemon with `hq daemon install` and check
|
|
5
|
+
it with `hq daemon status` and `hq daemon doctor`.
|
|
6
|
+
|
|
7
|
+
These templates are the older standalone Work Mesh units, still rendered by
|
|
8
|
+
the retiring per-service installer for one release. `hq daemon install` takes
|
|
9
|
+
an existing one over.
|
|
5
10
|
|
|
6
11
|
| Platform | Unit | Label / name |
|
|
7
12
|
|----------|------|----------------|
|
|
@@ -9,15 +14,9 @@ and `node` binaries written into the unit.
|
|
|
9
14
|
| Linux (user) | systemd user unit | `hq-mesh-daemon.service` |
|
|
10
15
|
| Linux (agent box) | systemd system unit | `hq-mesh-daemon.service` as `ec2-user` |
|
|
11
16
|
|
|
12
|
-
## Agent
|
|
13
|
-
|
|
14
|
-
When no user session bus exists (typical EC2 agent boxes):
|
|
17
|
+
## Agent boxes
|
|
15
18
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
sudo cp ~/.hq/work-mesh/daemon/hq-mesh-daemon.service /etc/systemd/system/
|
|
19
|
-
sudo systemctl daemon-reload
|
|
20
|
-
sudo systemctl enable --now hq-mesh-daemon.service
|
|
21
|
-
```
|
|
19
|
+
Boxes run `hq daemon` as a system unit (see `hq daemon install --help`); its
|
|
20
|
+
`mesh` service replaces the standalone `hq-mesh-daemon.service` system unit.
|
|
22
21
|
|
|
23
22
|
Logs: `~/.hq/work-mesh/daemon/log` (rotated at 5MB by the daemon process).
|
|
@@ -541,7 +541,7 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
541
541
|
readonly hidden: false;
|
|
542
542
|
}, {
|
|
543
543
|
readonly flags: "--registry";
|
|
544
|
-
readonly description: "Update installed registry packages instead
|
|
544
|
+
readonly description: "Update installed registry packages instead of content packs ([name] is the package slug)";
|
|
545
545
|
readonly hidden: false;
|
|
546
546
|
}];
|
|
547
547
|
readonly subcommands: readonly [];
|
|
@@ -676,7 +676,7 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
676
676
|
readonly hidden: false;
|
|
677
677
|
}, {
|
|
678
678
|
readonly flags: "--registry";
|
|
679
|
-
readonly description: "Update installed registry packages instead
|
|
679
|
+
readonly description: "Update installed registry packages instead of content packs ([name] is the package slug)";
|
|
680
680
|
readonly hidden: false;
|
|
681
681
|
}];
|
|
682
682
|
readonly subcommands: readonly [];
|
|
@@ -1474,7 +1474,7 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
1474
1474
|
readonly hidden: false;
|
|
1475
1475
|
}, {
|
|
1476
1476
|
readonly flags: "--check";
|
|
1477
|
-
readonly description: "Exit 1 when there is no usable session,
|
|
1477
|
+
readonly description: "Exit 1 when there is no usable session, so a script can test the exit status";
|
|
1478
1478
|
readonly hidden: false;
|
|
1479
1479
|
}];
|
|
1480
1480
|
readonly subcommands: readonly [];
|
|
@@ -18996,7 +18996,7 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
18996
18996
|
readonly subcommands: readonly [];
|
|
18997
18997
|
}, {
|
|
18998
18998
|
readonly name: "call";
|
|
18999
|
-
readonly description: "Send one request to hqd (policy.check, journal.append,
|
|
18999
|
+
readonly description: "Send one request to hqd (policy.check, journal.append, mcp.call, …) and print the result as JSON";
|
|
19000
19000
|
readonly aliases: readonly [];
|
|
19001
19001
|
readonly hidden: false;
|
|
19002
19002
|
readonly helpOption: true;
|
|
@@ -19036,6 +19036,22 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
19036
19036
|
readonly hidden: false;
|
|
19037
19037
|
}];
|
|
19038
19038
|
readonly subcommands: readonly [];
|
|
19039
|
+
}, {
|
|
19040
|
+
readonly name: "doctor";
|
|
19041
|
+
readonly description: "Report Work Mesh health: running, MQTT, spool, held, dead-letter, outbox and flush (replaces the separate mesh daemon doctor)";
|
|
19042
|
+
readonly aliases: readonly [];
|
|
19043
|
+
readonly hidden: false;
|
|
19044
|
+
readonly helpOption: true;
|
|
19045
|
+
readonly helpCommand: false;
|
|
19046
|
+
readonly usage: "[options]";
|
|
19047
|
+
readonly helpText: readonly [];
|
|
19048
|
+
readonly arguments: readonly [];
|
|
19049
|
+
readonly options: readonly [{
|
|
19050
|
+
readonly flags: "--json";
|
|
19051
|
+
readonly description: "Print machine-readable JSON";
|
|
19052
|
+
readonly hidden: false;
|
|
19053
|
+
}];
|
|
19054
|
+
readonly subcommands: readonly [];
|
|
19039
19055
|
}, {
|
|
19040
19056
|
readonly name: "sync";
|
|
19041
19057
|
readonly description: "Inspect and control the daemon's company sync runner";
|
|
@@ -19387,6 +19403,48 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
19387
19403
|
}];
|
|
19388
19404
|
readonly options: readonly [];
|
|
19389
19405
|
readonly subcommands: readonly [];
|
|
19406
|
+
}, {
|
|
19407
|
+
readonly name: "pause";
|
|
19408
|
+
readonly description: "Stop sync-core and keep it stopped (watchdog and daemon restarts included) until resumed";
|
|
19409
|
+
readonly aliases: readonly [];
|
|
19410
|
+
readonly hidden: false;
|
|
19411
|
+
readonly helpOption: true;
|
|
19412
|
+
readonly helpCommand: false;
|
|
19413
|
+
readonly usage: "[options] <service>";
|
|
19414
|
+
readonly helpText: readonly [];
|
|
19415
|
+
readonly arguments: readonly [{
|
|
19416
|
+
readonly name: "service";
|
|
19417
|
+
readonly required: true;
|
|
19418
|
+
readonly variadic: false;
|
|
19419
|
+
readonly description: "";
|
|
19420
|
+
}];
|
|
19421
|
+
readonly options: readonly [{
|
|
19422
|
+
readonly flags: "--json";
|
|
19423
|
+
readonly description: "Print machine-readable JSON";
|
|
19424
|
+
readonly hidden: false;
|
|
19425
|
+
}];
|
|
19426
|
+
readonly subcommands: readonly [];
|
|
19427
|
+
}, {
|
|
19428
|
+
readonly name: "resume";
|
|
19429
|
+
readonly description: "Start a paused sync-core again";
|
|
19430
|
+
readonly aliases: readonly [];
|
|
19431
|
+
readonly hidden: false;
|
|
19432
|
+
readonly helpOption: true;
|
|
19433
|
+
readonly helpCommand: false;
|
|
19434
|
+
readonly usage: "[options] <service>";
|
|
19435
|
+
readonly helpText: readonly [];
|
|
19436
|
+
readonly arguments: readonly [{
|
|
19437
|
+
readonly name: "service";
|
|
19438
|
+
readonly required: true;
|
|
19439
|
+
readonly variadic: false;
|
|
19440
|
+
readonly description: "";
|
|
19441
|
+
}];
|
|
19442
|
+
readonly options: readonly [{
|
|
19443
|
+
readonly flags: "--json";
|
|
19444
|
+
readonly description: "Print machine-readable JSON";
|
|
19445
|
+
readonly hidden: false;
|
|
19446
|
+
}];
|
|
19447
|
+
readonly subcommands: readonly [];
|
|
19390
19448
|
}, {
|
|
19391
19449
|
readonly name: "pin-hq-cloud";
|
|
19392
19450
|
readonly description: "Pin hq-cloud to an exact version, or clear the pin";
|
|
@@ -19498,6 +19556,22 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
19498
19556
|
readonly arguments: readonly [];
|
|
19499
19557
|
readonly options: readonly [];
|
|
19500
19558
|
readonly subcommands: readonly [{
|
|
19559
|
+
readonly name: "mesh";
|
|
19560
|
+
readonly description: "Work Mesh Live: spool drain, MQTT presence and the live Board cache (the daemon's mesh service)";
|
|
19561
|
+
readonly aliases: readonly [];
|
|
19562
|
+
readonly hidden: false;
|
|
19563
|
+
readonly helpOption: true;
|
|
19564
|
+
readonly helpCommand: false;
|
|
19565
|
+
readonly usage: "[options]";
|
|
19566
|
+
readonly helpText: readonly [];
|
|
19567
|
+
readonly arguments: readonly [];
|
|
19568
|
+
readonly options: readonly [{
|
|
19569
|
+
readonly flags: "--hq-root <path>";
|
|
19570
|
+
readonly description: "HQ folder the service works against";
|
|
19571
|
+
readonly hidden: false;
|
|
19572
|
+
}];
|
|
19573
|
+
readonly subcommands: readonly [];
|
|
19574
|
+
}, {
|
|
19501
19575
|
readonly name: "self-update";
|
|
19502
19576
|
readonly description: "Update the hq CLI, Claude, Codex and Grok, then restart the daemon onto a new CLI";
|
|
19503
19577
|
readonly aliases: readonly [];
|
|
@@ -19732,7 +19806,7 @@ export declare const COMMAND_CATALOG: readonly [{
|
|
|
19732
19806
|
readonly subcommands: readonly [];
|
|
19733
19807
|
}, {
|
|
19734
19808
|
readonly name: "config";
|
|
19735
|
-
readonly description: "Show or change this computer's new sync engine settings for one vault: parallel-downloads on|off, download-streams 1-32|default";
|
|
19809
|
+
readonly description: "Show or change this computer's new sync engine settings for one vault: parallel-downloads on|off|default (default follows the company setting), download-streams 1-32|default";
|
|
19736
19810
|
readonly aliases: readonly [];
|
|
19737
19811
|
readonly hidden: false;
|
|
19738
19812
|
readonly helpOption: true;
|
|
@@ -628,7 +628,7 @@ export const COMMAND_CATALOG = [
|
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
630
|
"flags": "--registry",
|
|
631
|
-
"description": "Update installed registry packages instead
|
|
631
|
+
"description": "Update installed registry packages instead of content packs ([name] is the package slug)",
|
|
632
632
|
"hidden": false
|
|
633
633
|
}
|
|
634
634
|
],
|
|
@@ -799,7 +799,7 @@ export const COMMAND_CATALOG = [
|
|
|
799
799
|
},
|
|
800
800
|
{
|
|
801
801
|
"flags": "--registry",
|
|
802
|
-
"description": "Update installed registry packages instead
|
|
802
|
+
"description": "Update installed registry packages instead of content packs ([name] is the package slug)",
|
|
803
803
|
"hidden": false
|
|
804
804
|
}
|
|
805
805
|
],
|
|
@@ -1772,7 +1772,7 @@ export const COMMAND_CATALOG = [
|
|
|
1772
1772
|
},
|
|
1773
1773
|
{
|
|
1774
1774
|
"flags": "--check",
|
|
1775
|
-
"description": "Exit 1 when there is no usable session,
|
|
1775
|
+
"description": "Exit 1 when there is no usable session, so a script can test the exit status",
|
|
1776
1776
|
"hidden": false
|
|
1777
1777
|
}
|
|
1778
1778
|
],
|
|
@@ -23188,7 +23188,7 @@ export const COMMAND_CATALOG = [
|
|
|
23188
23188
|
},
|
|
23189
23189
|
{
|
|
23190
23190
|
"name": "call",
|
|
23191
|
-
"description": "Send one request to hqd (policy.check, journal.append,
|
|
23191
|
+
"description": "Send one request to hqd (policy.check, journal.append, mcp.call, …) and print the result as JSON",
|
|
23192
23192
|
"aliases": [],
|
|
23193
23193
|
"hidden": false,
|
|
23194
23194
|
"helpOption": true,
|
|
@@ -23237,6 +23237,25 @@ export const COMMAND_CATALOG = [
|
|
|
23237
23237
|
],
|
|
23238
23238
|
"subcommands": []
|
|
23239
23239
|
},
|
|
23240
|
+
{
|
|
23241
|
+
"name": "doctor",
|
|
23242
|
+
"description": "Report Work Mesh health: running, MQTT, spool, held, dead-letter, outbox and flush (replaces the separate mesh daemon doctor)",
|
|
23243
|
+
"aliases": [],
|
|
23244
|
+
"hidden": false,
|
|
23245
|
+
"helpOption": true,
|
|
23246
|
+
"helpCommand": false,
|
|
23247
|
+
"usage": "[options]",
|
|
23248
|
+
"helpText": [],
|
|
23249
|
+
"arguments": [],
|
|
23250
|
+
"options": [
|
|
23251
|
+
{
|
|
23252
|
+
"flags": "--json",
|
|
23253
|
+
"description": "Print machine-readable JSON",
|
|
23254
|
+
"hidden": false
|
|
23255
|
+
}
|
|
23256
|
+
],
|
|
23257
|
+
"subcommands": []
|
|
23258
|
+
},
|
|
23240
23259
|
{
|
|
23241
23260
|
"name": "sync",
|
|
23242
23261
|
"description": "Inspect and control the daemon's company sync runner",
|
|
@@ -23659,6 +23678,58 @@ export const COMMAND_CATALOG = [
|
|
|
23659
23678
|
"options": [],
|
|
23660
23679
|
"subcommands": []
|
|
23661
23680
|
},
|
|
23681
|
+
{
|
|
23682
|
+
"name": "pause",
|
|
23683
|
+
"description": "Stop sync-core and keep it stopped (watchdog and daemon restarts included) until resumed",
|
|
23684
|
+
"aliases": [],
|
|
23685
|
+
"hidden": false,
|
|
23686
|
+
"helpOption": true,
|
|
23687
|
+
"helpCommand": false,
|
|
23688
|
+
"usage": "[options] <service>",
|
|
23689
|
+
"helpText": [],
|
|
23690
|
+
"arguments": [
|
|
23691
|
+
{
|
|
23692
|
+
"name": "service",
|
|
23693
|
+
"required": true,
|
|
23694
|
+
"variadic": false,
|
|
23695
|
+
"description": ""
|
|
23696
|
+
}
|
|
23697
|
+
],
|
|
23698
|
+
"options": [
|
|
23699
|
+
{
|
|
23700
|
+
"flags": "--json",
|
|
23701
|
+
"description": "Print machine-readable JSON",
|
|
23702
|
+
"hidden": false
|
|
23703
|
+
}
|
|
23704
|
+
],
|
|
23705
|
+
"subcommands": []
|
|
23706
|
+
},
|
|
23707
|
+
{
|
|
23708
|
+
"name": "resume",
|
|
23709
|
+
"description": "Start a paused sync-core again",
|
|
23710
|
+
"aliases": [],
|
|
23711
|
+
"hidden": false,
|
|
23712
|
+
"helpOption": true,
|
|
23713
|
+
"helpCommand": false,
|
|
23714
|
+
"usage": "[options] <service>",
|
|
23715
|
+
"helpText": [],
|
|
23716
|
+
"arguments": [
|
|
23717
|
+
{
|
|
23718
|
+
"name": "service",
|
|
23719
|
+
"required": true,
|
|
23720
|
+
"variadic": false,
|
|
23721
|
+
"description": ""
|
|
23722
|
+
}
|
|
23723
|
+
],
|
|
23724
|
+
"options": [
|
|
23725
|
+
{
|
|
23726
|
+
"flags": "--json",
|
|
23727
|
+
"description": "Print machine-readable JSON",
|
|
23728
|
+
"hidden": false
|
|
23729
|
+
}
|
|
23730
|
+
],
|
|
23731
|
+
"subcommands": []
|
|
23732
|
+
},
|
|
23662
23733
|
{
|
|
23663
23734
|
"name": "pin-hq-cloud",
|
|
23664
23735
|
"description": "Pin hq-cloud to an exact version, or clear the pin",
|
|
@@ -23789,6 +23860,25 @@ export const COMMAND_CATALOG = [
|
|
|
23789
23860
|
"arguments": [],
|
|
23790
23861
|
"options": [],
|
|
23791
23862
|
"subcommands": [
|
|
23863
|
+
{
|
|
23864
|
+
"name": "mesh",
|
|
23865
|
+
"description": "Work Mesh Live: spool drain, MQTT presence and the live Board cache (the daemon's mesh service)",
|
|
23866
|
+
"aliases": [],
|
|
23867
|
+
"hidden": false,
|
|
23868
|
+
"helpOption": true,
|
|
23869
|
+
"helpCommand": false,
|
|
23870
|
+
"usage": "[options]",
|
|
23871
|
+
"helpText": [],
|
|
23872
|
+
"arguments": [],
|
|
23873
|
+
"options": [
|
|
23874
|
+
{
|
|
23875
|
+
"flags": "--hq-root <path>",
|
|
23876
|
+
"description": "HQ folder the service works against",
|
|
23877
|
+
"hidden": false
|
|
23878
|
+
}
|
|
23879
|
+
],
|
|
23880
|
+
"subcommands": []
|
|
23881
|
+
},
|
|
23792
23882
|
{
|
|
23793
23883
|
"name": "self-update",
|
|
23794
23884
|
"description": "Update the hq CLI, Claude, Codex and Grok, then restart the daemon onto a new CLI",
|
|
@@ -24067,7 +24157,7 @@ export const COMMAND_CATALOG = [
|
|
|
24067
24157
|
},
|
|
24068
24158
|
{
|
|
24069
24159
|
"name": "config",
|
|
24070
|
-
"description": "Show or change this computer's new sync engine settings for one vault: parallel-downloads on|off, download-streams 1-32|default",
|
|
24160
|
+
"description": "Show or change this computer's new sync engine settings for one vault: parallel-downloads on|off|default (default follows the company setting), download-streams 1-32|default",
|
|
24071
24161
|
"aliases": [],
|
|
24072
24162
|
"hidden": false,
|
|
24073
24163
|
"helpOption": true,
|
package/dist/commands/bot.d.ts
CHANGED
|
@@ -169,7 +169,7 @@ export declare function hotSignalSyncRole(name: string, config: BotConfig, execu
|
|
|
169
169
|
* that is busy (its lock is held) or held for promotion is left for its next
|
|
170
170
|
* start. Returns the names it re-checked.
|
|
171
171
|
*/
|
|
172
|
-
export declare function resyncHotSignalSyncAfterRemoval(removed: string, sync?: (name: string, dir: string, config: BotConfig) => void): Promise<string[]>;
|
|
172
|
+
export declare function resyncHotSignalSyncAfterRemoval(removed: string, sync?: (name: string, dir: string, config: BotConfig) => void | Promise<void>): Promise<string[]>;
|
|
173
173
|
/** Bot-identity token supplier: per-bot creds + per-bot token cache dir. */
|
|
174
174
|
export declare function botTokenSupplier(dir: string): () => Promise<string>;
|
|
175
175
|
/**
|