@fnmoa/cli 0.2.1 → 0.2.2
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/commands/whoami.js
CHANGED
|
@@ -12,6 +12,10 @@ export const whoamiCmd = {
|
|
|
12
12
|
console.log(`profile : ${c.green(PROFILE)}`);
|
|
13
13
|
console.log(`url : ${API_URL}`);
|
|
14
14
|
console.log(`operator : ${s.github?.login ? c.cyan('@' + s.github.login) : c.dim('(github not connected)')}`);
|
|
15
|
+
// The org a key maps to: comparing this across profiles surfaces a stale or
|
|
16
|
+
// cross-org key (the cause of work landing under the "wrong" operator).
|
|
17
|
+
if (s.operator?.orgId)
|
|
18
|
+
console.log(`org : ${c.dim(s.operator.orgId)}`);
|
|
15
19
|
console.log(`claude : ${s.claude?.connected ? c.green('connected') : c.dim('not connected')}`);
|
|
16
20
|
},
|
|
17
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whoami.js","sourceRoot":"","sources":["../../src/commands/whoami.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAG7B,2EAA2E;AAC3E,MAAM,CAAC,MAAM,SAAS,GAAY;IAChC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,mEAAmE;IAC5E,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,CAAC,YAAY,EAAE,+BAA+B,CAAC;IACzD,KAAK,CAAC,GAAG;QACP,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"whoami.js","sourceRoot":"","sources":["../../src/commands/whoami.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACrD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