@indigoai-us/hq-cli 5.174.0 → 5.175.0

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.175.0] — 2026-09-24
6
+
7
+ ### Fixed
8
+
9
+ - `hq agent kit` now shows missing external credentials at a home-relative path and reports the missing enrollment as an actionable precondition.
10
+ - Missing external agent credentials show an actionable error without creating a Sentry fault.
11
+
5
12
  ## [5.174.0] — 2026-09-24
6
13
 
7
14
  ### Fixed
@@ -37,6 +37,8 @@ import { buildWakeNotice, clearWakeConfig, currentWakeState, DEFAULT_WAKE_RETRY_
37
37
  import { runSyncLoop } from "../lib/agent-kit/run/sync.js";
38
38
  import { resolveHqBinary, resolveNodeBinary, } from "../lib/mesh/live/daemon/install.js";
39
39
  import { installServices, servicesStatus, uninstallServices, } from "../lib/service-manager/index.js";
40
+ import { markExpectedUserError } from "../utils/expected-cli-error.js";
41
+ import { scrubHomeDirectoryPrefix } from "../utils/install-tree-torn.js";
40
42
  export class KitError extends Error {
41
43
  constructor(message) {
42
44
  super(message);
@@ -47,8 +49,9 @@ export class KitError extends Error {
47
49
  export function requireExternalCreds(paths) {
48
50
  const creds = readExternalMachineCreds(paths);
49
51
  if (!creds) {
50
- throw new KitError(`No external agent credentials at ${paths.machineCredsPath}. Run ` +
51
- `\`hq agent enroll <code>\` first (an admin creates the code in the HQ console).`);
52
+ const credentialsPath = scrubHomeDirectoryPrefix(paths.machineCredsPath, paths.home);
53
+ throw markExpectedUserError(new KitError(`No external agent credentials at ${credentialsPath}. Run ` +
54
+ `\`hq agent enroll <code>\` first (an admin creates the code in the HQ console).`));
52
55
  }
53
56
  return creds;
54
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigoai-us/hq-cli",
3
- "version": "5.174.0",
3
+ "version": "5.175.0",
4
4
  "description": "HQ by Indigo management CLI — modules and cloud sync",
5
5
  "main": "dist/index.js",
6
6
  "bin": {