@mrciphersmith/keryx 0.4.9 → 0.4.10
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.js +23 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -24244,7 +24244,7 @@ var package_default;
|
|
|
24244
24244
|
var init_package = __esm(() => {
|
|
24245
24245
|
package_default = {
|
|
24246
24246
|
name: "@mrciphersmith/keryx",
|
|
24247
|
-
version: "0.4.
|
|
24247
|
+
version: "0.4.10",
|
|
24248
24248
|
description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
24249
24249
|
private: false,
|
|
24250
24250
|
publishConfig: {
|
|
@@ -95667,9 +95667,13 @@ async function detectProviders(deps) {
|
|
|
95667
95667
|
detected.push({ name: "ollama", models: ollamaModels, baseUrl });
|
|
95668
95668
|
}
|
|
95669
95669
|
const anthropicKey = deps.env.ANTHROPIC_API_KEY;
|
|
95670
|
-
|
|
95671
|
-
|
|
95672
|
-
|
|
95670
|
+
detected.push({
|
|
95671
|
+
name: "anthropic",
|
|
95672
|
+
label: "Anthropic",
|
|
95673
|
+
envKey: "ANTHROPIC_API_KEY",
|
|
95674
|
+
note: "Claude \xB7 API key",
|
|
95675
|
+
models: [...ANTHROPIC_MODELS]
|
|
95676
|
+
});
|
|
95673
95677
|
detected.push({ name: OPENAI_CODEX_PICKER.name, label: OPENAI_CODEX_PICKER.label, models: [...OPENAI_CODEX_PICKER.models], note: "ChatGPT subscription \xB7 browser device login" });
|
|
95674
95678
|
const geminiKey = deps.env.GEMINI_API_KEY ?? deps.env.GOOGLE_API_KEY;
|
|
95675
95679
|
if (typeof geminiKey === "string" && geminiKey.length > 0) {
|
|
@@ -95892,6 +95896,11 @@ async function buildCatalogEntry(detected, deps, fetchedAt) {
|
|
|
95892
95896
|
}
|
|
95893
95897
|
const registry = providerByName(detected.name, deps.dir);
|
|
95894
95898
|
if (registry === undefined) {
|
|
95899
|
+
if (detected.name === "anthropic") {
|
|
95900
|
+
const key = envWithSavedApiKeys(deps.env, deps.dir)[detected.envKey ?? "ANTHROPIC_API_KEY"];
|
|
95901
|
+
if (key === undefined || key.length === 0)
|
|
95902
|
+
return;
|
|
95903
|
+
}
|
|
95895
95904
|
return {
|
|
95896
95905
|
name: detected.name,
|
|
95897
95906
|
status: "not-supported",
|
|
@@ -96437,7 +96446,7 @@ function classifyProviderConnection(name, env = process.env, dir) {
|
|
|
96437
96446
|
return { kind: "oauth-grant", ...envKey !== undefined ? { envKey } : {}, sharedWith };
|
|
96438
96447
|
}
|
|
96439
96448
|
const registry = providerByName(name, dir);
|
|
96440
|
-
const envKey = registry?.envKey;
|
|
96449
|
+
const envKey = registry?.envKey ?? (name === "anthropic" ? "ANTHROPIC_API_KEY" : undefined);
|
|
96441
96450
|
if (envKey === undefined) {
|
|
96442
96451
|
return { kind: "no-credential", sharedWith: [] };
|
|
96443
96452
|
}
|
|
@@ -209678,6 +209687,13 @@ async function filterConnectedDetectedProviders(detected, options = {}) {
|
|
|
209678
209687
|
}
|
|
209679
209688
|
const registry = providerByName(prov.name, options.configDir);
|
|
209680
209689
|
if (registry === undefined) {
|
|
209690
|
+
if (prov.name === "anthropic") {
|
|
209691
|
+
const key = prov.envKey ?? "ANTHROPIC_API_KEY";
|
|
209692
|
+
const have = env[key] ?? loadShellConfig(options.configDir).apiKeys?.[key];
|
|
209693
|
+
if (have !== undefined && have.length > 0)
|
|
209694
|
+
connected.push(prov);
|
|
209695
|
+
continue;
|
|
209696
|
+
}
|
|
209681
209697
|
connected.push(prov);
|
|
209682
209698
|
continue;
|
|
209683
209699
|
}
|
|
@@ -295564,7 +295580,7 @@ var init_native_coverage_generated = __esm(() => {
|
|
|
295564
295580
|
registryDigest: "286041ef4394afd4de97b4da37e31ccb2728c485cd32488c737a2686c244fbca",
|
|
295565
295581
|
contractDigest: "8facd34c5ca8aa53c36146c5b43c4c13dcb306c8a2882dcf2ce4e1afc171cc56",
|
|
295566
295582
|
subjectCatalogueDigest: "470b81d96a56f829db39733fc49d2927fc93f6452d22ef509927540d39efb41d",
|
|
295567
|
-
inventoryDigest: "
|
|
295583
|
+
inventoryDigest: "16afb40037d0495d63fb5cfcfab2ee122708c1a9f4cd44d2b937afef562e8a8c",
|
|
295568
295584
|
releaseReady: true,
|
|
295569
295585
|
counts: {
|
|
295570
295586
|
registeredCommands: 74,
|
|
@@ -295842,7 +295858,7 @@ var init_native_coverage_generated = __esm(() => {
|
|
|
295842
295858
|
"workspace.navigate"
|
|
295843
295859
|
],
|
|
295844
295860
|
otherBlockers: [],
|
|
295845
|
-
descriptorDigest: "
|
|
295861
|
+
descriptorDigest: "19193bd19942f48a9ab05bbb92d495df649451b84e3cdd5c14018e16e27ec346"
|
|
295846
295862
|
};
|
|
295847
295863
|
});
|
|
295848
295864
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrciphersmith/keryx",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|