@ekkos/cli 1.0.16 → 1.0.17
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.
|
@@ -996,6 +996,8 @@ async function launchDashboard(initialSessionName, jsonlPath, refreshMs) {
|
|
|
996
996
|
*/
|
|
997
997
|
async function fetchAnthropicUsage() {
|
|
998
998
|
try {
|
|
999
|
+
if (process.platform !== 'darwin')
|
|
1000
|
+
return null; // macOS keychain only
|
|
999
1001
|
const { execSync } = require('child_process');
|
|
1000
1002
|
const credsJson = execSync('security find-generic-password -s "Claude Code-credentials" -w', { encoding: 'utf-8', timeout: 5000 }).trim();
|
|
1001
1003
|
const creds = JSON.parse(credsJson);
|
|
@@ -582,6 +582,8 @@ async function launchSwarmDashboard(launchTs, refreshMs) {
|
|
|
582
582
|
// ── Usage window (Anthropic OAuth) ──
|
|
583
583
|
async function fetchAnthropicUsage() {
|
|
584
584
|
try {
|
|
585
|
+
if (process.platform !== 'darwin')
|
|
586
|
+
return null; // macOS keychain only
|
|
585
587
|
const { execSync } = require('child_process');
|
|
586
588
|
const credsJson = execSync('security find-generic-password -s "Claude Code-credentials" -w', { encoding: 'utf-8', timeout: 5000 }).trim();
|
|
587
589
|
const creds = JSON.parse(credsJson);
|