@indigoai-us/hq-cli 5.345.205 → 5.345.206
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 +15 -0
- package/dist/lib/bot/fleet-local.js +9 -9
- package/dist/lib/lanes/links.d.ts +2 -0
- package/dist/lib/lanes/links.js +12 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [5.345.206] — 2026-11-05
|
|
6
|
+
- Warm the fake hq CLI in command-guard parity tests so first-exec scanning on a loaded macOS host cannot trip the merge-hold timeout.
|
|
7
|
+
- `hq lanes link wait` now lets go of its hold on the installed HQ CLI while it
|
|
8
|
+
waits for a report. A conductor waiting up to 30 minutes no longer blocks the
|
|
9
|
+
desktop app's CLI update, which gives running commands 30 seconds to finish.
|
|
10
|
+
- Local bots now install HQ Fleet Local 0.4.28 on HQ Fleet Runtime main 1f8e7cb6.
|
|
11
|
+
A DM sent while the bot is busy reaches the running turn at once, so an answer
|
|
12
|
+
to the bot's own question no longer waits behind the turn that asked it. Turns
|
|
13
|
+
that carry a long prompt, such as a skill invocation, no longer stall for 25
|
|
14
|
+
seconds on HQ's policy hooks, and a bot asked for a skill by its plain name
|
|
15
|
+
(for example `deploy`) gets the core skill instead of an "ambiguous skill name"
|
|
16
|
+
error when HQ also has a personal or company copy. The runtime update also
|
|
17
|
+
brings the Claude sign-in and Slack send fixes from 0.4.27. Installed bots move
|
|
18
|
+
to 0.4.28 at the daemon's next update pass once the release is published.
|
|
19
|
+
|
|
5
20
|
## [5.345.205] — 2026-11-05
|
|
6
21
|
- Long-lived daemon helpers no longer open a Sentry transport. That covers `hq daemon run`, `hq mesh daemon run`, `hq bot run`, the agent-kit heartbeat and inbox, the outpost heartbeat and session host, and the remote-control hosts, including when the daemon starts them through the child bootstrap. A short daemon job, such as a reconcile pass or search indexing, still reports errors.
|
|
7
22
|
- A daemon child-bootstrap helper now exits when its parent exits or the owner pipe closes, and it stops the command it started, including one that ignores SIGTERM. A Linux handoff still leaves the named services running for the next daemon. On macOS a daemon restart now stops the helpers the daemon launched. stdin left on `/dev/null` is not treated as the parent leaving.
|
|
@@ -80,15 +80,15 @@ export function sharedRuntimeLayout(root, id, platform) {
|
|
|
80
80
|
}
|
|
81
81
|
export const HQ_FLEET_LOCAL_RELEASE = {
|
|
82
82
|
repository: "indigoai-us/hq-fleet-local",
|
|
83
|
-
tag: "v0.4.
|
|
84
|
-
version: "0.4.
|
|
85
|
-
artifact: "hq-fleet-local-0.4.
|
|
86
|
-
artifactSha256: "
|
|
87
|
-
runtimeArtifact: "hq-fleet-runtime-
|
|
88
|
-
runtimeArtifactSha256: "
|
|
89
|
-
manifestSha256: "
|
|
90
|
-
signatureSha256: "
|
|
91
|
-
runtimeCommit: "
|
|
83
|
+
tag: "v0.4.28",
|
|
84
|
+
version: "0.4.28",
|
|
85
|
+
artifact: "hq-fleet-local-0.4.28.zip",
|
|
86
|
+
artifactSha256: "7ddb302db63e771aca6b53fa7cf295446016746e7dd508ecb1568ef8bdc40bfd",
|
|
87
|
+
runtimeArtifact: "hq-fleet-runtime-1f8e7cb662f4.tar.gz",
|
|
88
|
+
runtimeArtifactSha256: "44e53714fcaf2ce823d05a8a91f86806e4ce88d24e9c52aba853eb389ea4d85f",
|
|
89
|
+
manifestSha256: "a58834dd3a4abaa45a5eb180ad24de10df800ca561b80f45de5ab03d8d71e26d",
|
|
90
|
+
signatureSha256: "b3c3f338af6964417e1630ac735248c5969aebe946d65d14617a2429a32d4a17",
|
|
91
|
+
runtimeCommit: "1f8e7cb662f43836aa4edff167bcaf5e92998fb1",
|
|
92
92
|
};
|
|
93
93
|
/** hq-fleet-local trust/release-public.pem (rotated 2026-10-30; signed v0.4.17). */
|
|
94
94
|
export const HQ_FLEET_LOCAL_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
|
@@ -24,6 +24,8 @@ export interface LinkOptions {
|
|
|
24
24
|
claims?: string;
|
|
25
25
|
now?: () => Date;
|
|
26
26
|
sleep?: (milliseconds: number) => Promise<void>;
|
|
27
|
+
/** Injected in tests; defaults to the real package-use lease drop/retake. */
|
|
28
|
+
withLeaseReleased?: <T>(wait: () => Promise<T>) => Promise<T>;
|
|
27
29
|
}
|
|
28
30
|
export interface LinkResult {
|
|
29
31
|
output?: Record<string, unknown>;
|
package/dist/lib/lanes/links.js
CHANGED
|
@@ -4,6 +4,7 @@ import * as path from "node:path";
|
|
|
4
4
|
import { appendDropboxMessageAtPath } from "./dropbox.js";
|
|
5
5
|
import { readLane, withLaneRecordFileLock } from "./store.js";
|
|
6
6
|
import { LanesError } from "./errors.js";
|
|
7
|
+
import { withPackageUseLeaseReleasedDuring } from "../../utils/package-use-lease.js";
|
|
7
8
|
export const LANE_SESSION_LINKS_FLAG = "lanes.session-links";
|
|
8
9
|
const ID_PATTERN = /^[A-Za-z0-9._-]+$/;
|
|
9
10
|
export class LaneLinkError extends Error {
|
|
@@ -507,6 +508,13 @@ function listChildren(root, dir) {
|
|
|
507
508
|
return [{ ...readJson(metaPath), undelivered: unread, quarantined_claims: countQuarantined(path.join(cdir, "inbox")) }];
|
|
508
509
|
});
|
|
509
510
|
}
|
|
511
|
+
/**
|
|
512
|
+
* Poll the conductor inbox until a report lands or the timeout passes. A wait
|
|
513
|
+
* runs for up to 30 minutes and only reads files with modules already loaded,
|
|
514
|
+
* so it drops this process's package-use lease while it waits: holding it
|
|
515
|
+
* blocked every desktop CLI update (30s lease budget) for as long as a
|
|
516
|
+
* conductor was waiting.
|
|
517
|
+
*/
|
|
510
518
|
async function waitForReport(dir, timeoutSeconds, sleep) {
|
|
511
519
|
if (!Number.isInteger(timeoutSeconds) || timeoutSeconds < 0)
|
|
512
520
|
throw new LaneLinkError("timeout_invalid", "--timeout must be whole seconds");
|
|
@@ -726,7 +734,10 @@ export async function runLaneLink(subcommand, options) {
|
|
|
726
734
|
if (options.link !== undefined)
|
|
727
735
|
linkPath(root, options.link);
|
|
728
736
|
const resolved = resolvePointer(root, requireSid(), "conductor", options);
|
|
729
|
-
|
|
737
|
+
const dir = linkPath(root, resolved.link);
|
|
738
|
+
const sleep = options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
739
|
+
const withLeaseReleased = options.withLeaseReleased ?? ((wait) => withPackageUseLeaseReleasedDuring(wait));
|
|
740
|
+
return await withLeaseReleased(() => waitForReport(dir, options.timeout ?? 1800, sleep));
|
|
730
741
|
}
|
|
731
742
|
if (subcommand === "list") {
|
|
732
743
|
let link = options.link;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indigoai-us/hq-cli",
|
|
3
|
-
"version": "5.345.
|
|
3
|
+
"version": "5.345.206",
|
|
4
4
|
"description": "HQ by Indigo management CLI — modules and cloud sync",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -117,11 +117,11 @@
|
|
|
117
117
|
"*.{ts,tsx,mts,cts,js,jsx,mjs,cjs}": "eslint --cache --no-error-on-unmatched-pattern"
|
|
118
118
|
},
|
|
119
119
|
"optionalDependencies": {
|
|
120
|
-
"@indigoai-us/hq-hook-win32-x64": "5.345.
|
|
121
|
-
"@indigoai-us/hq-hook-win32-arm64": "5.345.
|
|
122
|
-
"@indigoai-us/hq-hook-darwin-x64": "5.345.
|
|
123
|
-
"@indigoai-us/hq-hook-darwin-arm64": "5.345.
|
|
124
|
-
"@indigoai-us/hq-hook-linux-x64": "5.345.
|
|
125
|
-
"@indigoai-us/hq-hook-linux-arm64": "5.345.
|
|
120
|
+
"@indigoai-us/hq-hook-win32-x64": "5.345.206",
|
|
121
|
+
"@indigoai-us/hq-hook-win32-arm64": "5.345.206",
|
|
122
|
+
"@indigoai-us/hq-hook-darwin-x64": "5.345.206",
|
|
123
|
+
"@indigoai-us/hq-hook-darwin-arm64": "5.345.206",
|
|
124
|
+
"@indigoai-us/hq-hook-linux-x64": "5.345.206",
|
|
125
|
+
"@indigoai-us/hq-hook-linux-arm64": "5.345.206"
|
|
126
126
|
}
|
|
127
127
|
}
|