holycodex 0.12.0 → 0.12.1
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 +25 -8
- 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.1";
|
|
4395
4395
|
var SKILLS = [
|
|
4396
4396
|
"ast-grep",
|
|
4397
4397
|
"babysit-ci",
|
|
@@ -4608,13 +4608,13 @@ var MODEL_ROUTING_PLANS = ModelRoutingPlansSchema.parse({
|
|
|
4608
4608
|
reasoningEffort: "high"
|
|
4609
4609
|
}
|
|
4610
4610
|
}, {
|
|
4611
|
-
concurrency:
|
|
4612
|
-
totalCalls:
|
|
4611
|
+
concurrency: 3,
|
|
4612
|
+
totalCalls: 12,
|
|
4613
4613
|
workflowDepth: 3,
|
|
4614
4614
|
retries: 1,
|
|
4615
4615
|
loopIterations: 2,
|
|
4616
|
-
fanOut:
|
|
4617
|
-
},
|
|
4616
|
+
fanOut: 3
|
|
4617
|
+
}, 12, 300, 3e4)
|
|
4618
4618
|
},
|
|
4619
4619
|
plus: {
|
|
4620
4620
|
root: {
|
|
@@ -6272,6 +6272,10 @@ var COMPUTER_USE_PLUGIN = {
|
|
|
6272
6272
|
id: "computer-use@openai-bundled",
|
|
6273
6273
|
marketplace: "openai-bundled"
|
|
6274
6274
|
};
|
|
6275
|
+
var BUILD_WEB_APPS_PLUGIN = {
|
|
6276
|
+
id: "build-web-apps@openai-curated-remote",
|
|
6277
|
+
marketplace: "openai-curated-remote"
|
|
6278
|
+
};
|
|
6275
6279
|
var CODEX_PLUGIN_OPERATIONAL_TIMEOUT_MS = 15e3;
|
|
6276
6280
|
var CODEX_PACKAGE_BOOTSTRAP_TIMEOUT_MS = 12e4;
|
|
6277
6281
|
var MAX_CODEX_CATALOG_DIAGNOSTIC_CHARS = 256 * 1024;
|
|
@@ -6318,6 +6322,10 @@ async function installCodexSecurity(runProcess = runManagedProcess, platform = p
|
|
|
6318
6322
|
async function installComputerUse(runProcess = runManagedProcess, platform = process.platform, env = process.env, options = {}) {
|
|
6319
6323
|
return installOfficialPlugin(COMPUTER_USE_PLUGIN, runProcess, platform, env, options);
|
|
6320
6324
|
}
|
|
6325
|
+
/** Installs or enables the official Build Web Apps plugin without failing HolyCodex installation. */
|
|
6326
|
+
async function installBuildWebApps(runProcess = runManagedProcess, platform = process.platform, env = process.env, options = {}) {
|
|
6327
|
+
return installOfficialPlugin(BUILD_WEB_APPS_PLUGIN, runProcess, platform, env, options);
|
|
6328
|
+
}
|
|
6321
6329
|
/** Installs or enables one official Codex plugin through a verified catalog entry. */
|
|
6322
6330
|
async function installOfficialPlugin(plugin, runProcess = runManagedProcess, platform = process.platform, env = process.env, options = {}) {
|
|
6323
6331
|
const runtimeFacts = options.runtimeFacts ?? (runProcess === runManagedProcess ? defaultCodexLauncherRuntimeFacts(platform) : void 0);
|
|
@@ -6888,6 +6896,7 @@ async function install(options, runtime = defaultRuntime) {
|
|
|
6888
6896
|
const removedLegacy = [];
|
|
6889
6897
|
let codexSecurity;
|
|
6890
6898
|
let computerUse;
|
|
6899
|
+
let buildWebApps;
|
|
6891
6900
|
try {
|
|
6892
6901
|
notify(options, "managed-files", "Installing managed files", "running");
|
|
6893
6902
|
await atomicWrite(target.config, config);
|
|
@@ -6914,6 +6923,9 @@ async function install(options, runtime = defaultRuntime) {
|
|
|
6914
6923
|
notify(options, "computer-use", "Installing Computer Use", "running");
|
|
6915
6924
|
computerUse = await installComputerUse(runtime.runProcess, runtime.platform, process.env);
|
|
6916
6925
|
notify(options, "computer-use", "Installing Computer Use", "complete", pluginProgressDetail(computerUse));
|
|
6926
|
+
notify(options, "build-web-apps", "Installing Build Web Apps", "running");
|
|
6927
|
+
buildWebApps = await installBuildWebApps(runtime.runProcess, runtime.platform, process.env);
|
|
6928
|
+
notify(options, "build-web-apps", "Installing Build Web Apps", "complete", pluginProgressDetail(buildWebApps));
|
|
6917
6929
|
notify(options, "cleanup", "Removing obsolete caches", "running");
|
|
6918
6930
|
await removeObsoleteVersionCaches(target.cacheRoot);
|
|
6919
6931
|
notify(options, "cleanup", "Removing obsolete caches", "complete");
|
|
@@ -6940,7 +6952,8 @@ async function install(options, runtime = defaultRuntime) {
|
|
|
6940
6952
|
backups,
|
|
6941
6953
|
plan,
|
|
6942
6954
|
codexSecurity,
|
|
6943
|
-
computerUse
|
|
6955
|
+
computerUse,
|
|
6956
|
+
buildWebApps
|
|
6944
6957
|
};
|
|
6945
6958
|
}
|
|
6946
6959
|
function notify(options, step, label, status, detail) {
|
|
@@ -6975,7 +6988,7 @@ async function restoreTarget(target, source) {
|
|
|
6975
6988
|
}
|
|
6976
6989
|
async function removeObsoleteVersionCaches(cacheRoot) {
|
|
6977
6990
|
if (!await exists(cacheRoot)) return;
|
|
6978
|
-
for (const entry of await readdir(cacheRoot)) if (entry !== "0.12.
|
|
6991
|
+
for (const entry of await readdir(cacheRoot)) if (entry !== "0.12.1") await rm(join(cacheRoot, entry), {
|
|
6979
6992
|
recursive: true,
|
|
6980
6993
|
force: true
|
|
6981
6994
|
});
|
|
@@ -7177,7 +7190,11 @@ function renderRunResult(result, color) {
|
|
|
7177
7190
|
return `${title}\n ${result.changed.length === 0 ? `No HolyCodex-managed files needed ${empty}.` : `${action} HolyCodex configuration, plugin files, and agent profiles.`}${backup}${renderOfficialPlugins(result)}\n`;
|
|
7178
7191
|
}
|
|
7179
7192
|
function renderOfficialPlugins(result) {
|
|
7180
|
-
return [
|
|
7193
|
+
return [
|
|
7194
|
+
renderOfficialPlugin("Codex Security", result.codexSecurity),
|
|
7195
|
+
renderOfficialPlugin("Computer Use", result.computerUse),
|
|
7196
|
+
renderOfficialPlugin("Build Web Apps", result.buildWebApps)
|
|
7197
|
+
].join("");
|
|
7181
7198
|
}
|
|
7182
7199
|
function renderOfficialPlugin(name, plugin) {
|
|
7183
7200
|
if (plugin === void 0) return "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "holycodex",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
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.1",
|
|
43
43
|
"zod": "^4.4.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|