holycodex 0.12.5 → 0.12.6
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 +18 -5
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -4391,7 +4391,7 @@ function superRefine(fn, params) {
|
|
|
4391
4391
|
}
|
|
4392
4392
|
//#endregion
|
|
4393
4393
|
//#region packages/cli/src/catalog.ts
|
|
4394
|
-
var VERSION = "0.12.
|
|
4394
|
+
var VERSION = "0.12.6";
|
|
4395
4395
|
var SKILLS = [
|
|
4396
4396
|
"ast-grep",
|
|
4397
4397
|
"babysit-ci",
|
|
@@ -6371,7 +6371,8 @@ async function installOfficialPlugin(plugin, runProcess = runManagedProcess, pla
|
|
|
6371
6371
|
continue;
|
|
6372
6372
|
}
|
|
6373
6373
|
if (catalogOutcome.kind === "fatal") return skipped(catalogOutcome.reason, attemptedLaunchers);
|
|
6374
|
-
|
|
6374
|
+
let pluginAvailable = findPlugin(catalogOutcome.catalog, plugin.id) !== void 0;
|
|
6375
|
+
if (!pluginAvailable) {
|
|
6375
6376
|
const marketplaceOutcome = inspectMarketplaceResult(await runCodexPlugin(runProcess, launcher, [
|
|
6376
6377
|
"plugin",
|
|
6377
6378
|
"marketplace",
|
|
@@ -6383,8 +6384,20 @@ async function installOfficialPlugin(plugin, runProcess = runManagedProcess, pla
|
|
|
6383
6384
|
continue;
|
|
6384
6385
|
}
|
|
6385
6386
|
if (marketplaceOutcome.kind === "fatal") return skipped(marketplaceOutcome.reason, attemptedLaunchers);
|
|
6386
|
-
|
|
6387
|
-
|
|
6387
|
+
if (plugin.id === COMPUTER_USE_PLUGIN.id && !marketplaceOutcome.marketplaces.includes(plugin.marketplace)) {
|
|
6388
|
+
const refreshedCatalog = inspectListResult(await runCodexPlugin(runProcess, launcher, [
|
|
6389
|
+
"plugin",
|
|
6390
|
+
"list",
|
|
6391
|
+
"--available",
|
|
6392
|
+
"--json"
|
|
6393
|
+
], platform, env, "list"), launcher);
|
|
6394
|
+
if (refreshedCatalog.kind === "selected") pluginAvailable = findPlugin(refreshedCatalog.catalog, plugin.id) !== void 0;
|
|
6395
|
+
else fallbackReasons.push(refreshedCatalog.reason);
|
|
6396
|
+
}
|
|
6397
|
+
if (!pluginAvailable) {
|
|
6398
|
+
fallbackReasons.push(marketplaceOutcome.marketplaces.includes(plugin.marketplace) ? "plugin-not-offered" : "marketplace-unavailable");
|
|
6399
|
+
continue;
|
|
6400
|
+
}
|
|
6388
6401
|
}
|
|
6389
6402
|
}
|
|
6390
6403
|
const addOutcome = inspectAddResult(await runCodexPlugin(runProcess, launcher, [
|
|
@@ -6994,7 +7007,7 @@ async function restoreTarget(target, source) {
|
|
|
6994
7007
|
}
|
|
6995
7008
|
async function removeObsoleteVersionCaches(cacheRoot) {
|
|
6996
7009
|
if (!await exists(cacheRoot)) return;
|
|
6997
|
-
for (const entry of await readdir(cacheRoot)) if (entry !== "0.12.
|
|
7010
|
+
for (const entry of await readdir(cacheRoot)) if (entry !== "0.12.6") await rm(join(cacheRoot, entry), {
|
|
6998
7011
|
recursive: true,
|
|
6999
7012
|
force: true
|
|
7000
7013
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "holycodex",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.6",
|
|
4
4
|
"description": "Lean Codex-only agent toolkit installer and doctor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prepack": "vp run --workspace-root build"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@holycodex/plugin": "0.12.
|
|
42
|
+
"@holycodex/plugin": "0.12.6",
|
|
43
43
|
"zod": "^4.4.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|