impel-cli 0.18.5 → 0.18.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impel-cli",
3
- "version": "0.18.5",
3
+ "version": "0.18.6",
4
4
  "description": "Prepare isolated Claude and Codex workspaces for every accessible Impel tenant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -81,7 +81,10 @@ export async function cmdAuth(argv) {
81
81
  console.log(` gateway: ${gatewayUrl}`);
82
82
  console.log(` app: ${appUrl}`);
83
83
  console.log(` pat: ${maskSecret(pat)}`);
84
- console.log(` tenant: ${config.tenantId || "not selected — run `impel tenant list`"}`);
84
+ const missingTenantGuidance = RUNTIME_BRAND.tenant.defaultId
85
+ ? `not selected — run \`${RUNTIME_BRAND.cli.command} setup\``
86
+ : "not selected — run `impel tenant list`";
87
+ console.log(` tenant: ${config.tenantId || missingTenantGuidance}`);
85
88
  if (config.productAccess) console.log(` access: ${config.productAccess}`);
86
89
  console.log("");
87
90
  const setupAction = process.platform === "darwin"
@@ -475,7 +475,7 @@ export async function cmdSetup(argv, overrides = {}) {
475
475
 
476
476
  printReconciliationSummary(report);
477
477
  console.log(`CLI tenant: ${selected.id}`);
478
- console.log("Change it: impel tenant use <tenant>");
478
+ if (!RUNTIME_BRAND.tenant.defaultId) console.log("Change it: impel tenant use <tenant>");
479
479
  console.log("Launch: impel claude | impel codex");
480
480
  if (!report.passed || sharedFailure) {
481
481
  if (sharedFailure) console.error(`Shared setup failure: ${sharedFailure}`);
@@ -112,7 +112,7 @@ export async function cmdStatus(overrides = {}) {
112
112
  }
113
113
 
114
114
  console.log(`Current CLI tenant: ${selected.tenantId}`);
115
- console.log("Change it with: impel tenant use <tenant>");
115
+ if (!RUNTIME_BRAND.tenant.defaultId) console.log("Change it with: impel tenant use <tenant>");
116
116
  const scopes = new Set(selected.scopes || []);
117
117
  const scopeKnown = selected.scopes != null;
118
118
  const binaries = {