@cleocode/cleo 2026.5.69 → 2026.5.70
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/cli/index.js +16 -4
- package/dist/cli/index.js.map +1 -1
- package/package.json +10 -10
package/dist/cli/index.js
CHANGED
|
@@ -16796,8 +16796,7 @@ import {
|
|
|
16796
16796
|
getBrainDb,
|
|
16797
16797
|
getBrainNativeDb,
|
|
16798
16798
|
OAUTH_STATUS_PROVIDERS,
|
|
16799
|
-
|
|
16800
|
-
resolveAnthropicApiKeySource,
|
|
16799
|
+
resolveCredentials,
|
|
16801
16800
|
resolveProviderStatus,
|
|
16802
16801
|
typedAll
|
|
16803
16802
|
} from "@cleocode/core/internal";
|
|
@@ -17289,8 +17288,21 @@ var init_memory2 = __esm({
|
|
|
17289
17288
|
}
|
|
17290
17289
|
// T791 — LLM extraction backend status
|
|
17291
17290
|
case "llm-status": {
|
|
17292
|
-
const
|
|
17293
|
-
const extractionEnabled =
|
|
17291
|
+
const _anthropicCred = resolveCredentials("anthropic");
|
|
17292
|
+
const extractionEnabled = _anthropicCred.apiKey !== null;
|
|
17293
|
+
const resolvedSource = (() => {
|
|
17294
|
+
switch (_anthropicCred.source) {
|
|
17295
|
+
case "env":
|
|
17296
|
+
return "env";
|
|
17297
|
+
case "claude-creds":
|
|
17298
|
+
return "oauth";
|
|
17299
|
+
case "global-config":
|
|
17300
|
+
case "project-config":
|
|
17301
|
+
return "config";
|
|
17302
|
+
default:
|
|
17303
|
+
return "none";
|
|
17304
|
+
}
|
|
17305
|
+
})();
|
|
17294
17306
|
const providers = OAUTH_STATUS_PROVIDERS.map(resolveProviderStatus);
|
|
17295
17307
|
let lastExtractionRun = null;
|
|
17296
17308
|
try {
|