@indigoai-us/hq-cli 5.103.4 → 5.103.5

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,8 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.103.5] — 2026-08-19
6
+
5
7
  ## [5.103.4] — 2026-08-19
6
8
 
7
9
  ## [5.103.3] — 2026-08-19
@@ -368,10 +368,12 @@ async function resolveCompanyFromMemberships(token) {
368
368
  if (active.length === 1) {
369
369
  return active[0].companyUid;
370
370
  }
371
- const uids = active.map((m) => m.companyUid);
372
- throw new CompanySelectionError(`Multiple active companies found. Re-run with --company <slug-or-uid> to ` +
371
+ // Prefer the slug (the documented `--company` input) over the raw uid; fall
372
+ // back to the uid only when the server did not enrich a slug.
373
+ const picks = active.map((m) => ` --company ${m.companySlug ?? m.companyUid}`);
374
+ throw new CompanySelectionError(`Multiple active companies found. Re-run with --company <slug> to ` +
373
375
  `pick one:\n` +
374
- uids.map((u) => ` --company ${u}`).join('\n'));
376
+ picks.join('\n'));
375
377
  }
376
378
  export async function getCompanyUid(token, companySlug) {
377
379
  // Vault API keys are company-bound. Entity slug resolution has no keyed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigoai-us/hq-cli",
3
- "version": "5.103.4",
3
+ "version": "5.103.5",
4
4
  "description": "HQ by Indigo management CLI — modules and cloud sync",
5
5
  "main": "dist/index.js",
6
6
  "bin": {