@gurulu/cli 1.6.0 → 1.6.1

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/dist/bin.js CHANGED
@@ -41338,7 +41338,7 @@ async function ensureAuth(opts) {
41338
41338
  return { apiKey: opts.apiKey, workspaceId: opts.workspaceId, endpoint };
41339
41339
  }
41340
41340
  const existing = resolveActiveCredential(opts.workspaceId ? { workspaceId: opts.workspaceId } : {});
41341
- if (existing) {
41341
+ if (existing && existing.endpoint === endpoint) {
41342
41342
  return {
41343
41343
  apiKey: existing.apiKey,
41344
41344
  workspaceId: existing.workspaceId,
@@ -43124,7 +43124,7 @@ var uninstallCmd = defineCommand({
43124
43124
  });
43125
43125
 
43126
43126
  // src/index.ts
43127
- var VERSION = "1.5.4";
43127
+ var VERSION = "1.6.1";
43128
43128
  var mainCmd = defineCommand({
43129
43129
  meta: {
43130
43130
  name: "gurulu",
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "1.5.4";
1
+ export declare const VERSION = "1.6.1";
2
2
  declare const mainCmd: import("citty").CommandDef<{
3
3
  workspace: {
4
4
  type: "string";
package/dist/index.js CHANGED
@@ -40915,7 +40915,7 @@ async function ensureAuth(opts) {
40915
40915
  return { apiKey: opts.apiKey, workspaceId: opts.workspaceId, endpoint };
40916
40916
  }
40917
40917
  const existing = resolveActiveCredential(opts.workspaceId ? { workspaceId: opts.workspaceId } : {});
40918
- if (existing) {
40918
+ if (existing && existing.endpoint === endpoint) {
40919
40919
  return {
40920
40920
  apiKey: existing.apiKey,
40921
40921
  workspaceId: existing.workspaceId,
@@ -42701,7 +42701,7 @@ var uninstallCmd = defineCommand({
42701
42701
  });
42702
42702
 
42703
42703
  // src/index.ts
42704
- var VERSION = "1.5.4";
42704
+ var VERSION = "1.6.1";
42705
42705
  var mainCmd = defineCommand({
42706
42706
  meta: {
42707
42707
  name: "gurulu",
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/wizard/auth.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAYD,wBAAsB,UAAU,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,CAkC7E"}
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/wizard/auth.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAYD,wBAAsB,UAAU,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,CAqC7E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gurulu/cli",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "private": false,
5
5
  "license": "BUSL-1.1",
6
6
  "publishConfig": {