holycodex 0.9.5 → 0.10.0
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 +7 -2
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -4252,7 +4252,7 @@ function superRefine(fn, params) {
|
|
|
4252
4252
|
}
|
|
4253
4253
|
//#endregion
|
|
4254
4254
|
//#region packages/cli/src/catalog.ts
|
|
4255
|
-
var VERSION = "0.
|
|
4255
|
+
var VERSION = "0.10.0";
|
|
4256
4256
|
var SKILLS = [
|
|
4257
4257
|
"ast-grep",
|
|
4258
4258
|
"caveman",
|
|
@@ -4965,6 +4965,7 @@ var ORIGINAL_ROOT = "# holycodex original root: ";
|
|
|
4965
4965
|
var ORIGINAL_TABLE_KEY = "# holycodex original table key: ";
|
|
4966
4966
|
var PLAN_PREFIX = "# holycodex plan: ";
|
|
4967
4967
|
var MAX_SUBAGENTS_PREFIX = "# holycodex max-subagents: ";
|
|
4968
|
+
var MANAGED_PERMISSION_PROFILE = "holycodex-config";
|
|
4968
4969
|
var OLD_NAMESPACES = [
|
|
4969
4970
|
"marketplaces.sisyphuslabs",
|
|
4970
4971
|
"plugins.\"omo@sisyphuslabs\"",
|
|
@@ -5116,6 +5117,7 @@ function installConfig(input, mode, _platform, plan = DEFAULT_PLAN, maxSubagents
|
|
|
5116
5117
|
const controlled = [
|
|
5117
5118
|
"approval_policy",
|
|
5118
5119
|
"sandbox_mode",
|
|
5120
|
+
"default_permissions",
|
|
5119
5121
|
"max_concurrent_threads_per_session",
|
|
5120
5122
|
"status_line",
|
|
5121
5123
|
"model_verbosity",
|
|
@@ -5124,6 +5126,7 @@ function installConfig(input, mode, _platform, plan = DEFAULT_PLAN, maxSubagents
|
|
|
5124
5126
|
const preservedRoot = [
|
|
5125
5127
|
"approval_policy",
|
|
5126
5128
|
"sandbox_mode",
|
|
5129
|
+
"default_permissions",
|
|
5127
5130
|
"max_concurrent_threads_per_session",
|
|
5128
5131
|
"status_line",
|
|
5129
5132
|
"model_verbosity",
|
|
@@ -5139,8 +5142,10 @@ function installConfig(input, mode, _platform, plan = DEFAULT_PLAN, maxSubagents
|
|
|
5139
5142
|
const approval = mode === "default" ? "on-request" : "never";
|
|
5140
5143
|
const sandbox = mode === "dangerous" ? "danger-full-access" : "workspace-write";
|
|
5141
5144
|
const original = originalControlled ? `${ORIGINAL_ROOT}${Buffer.from(originalControlled).toString("base64")}\n` : "";
|
|
5142
|
-
const rootBlock = `${START}\n${PLAN_PREFIX}${plan}\n${maxSubagents === void 0 ? "" : `${MAX_SUBAGENTS_PREFIX}${maxSubagents}\n`}${original}${model}${effort}model_verbosity = "low"\nservice_tier = "${fast ? "fast" : "default"}"\napproval_policy = "${approval}"\nsandbox_mode = "${sandbox}"\nstatus_line = ${mergedStatusLine(
|
|
5145
|
+
const rootBlock = `${START}\n${PLAN_PREFIX}${plan}\n${maxSubagents === void 0 ? "" : `${MAX_SUBAGENTS_PREFIX}${maxSubagents}\n`}${original}${model}${effort}model_verbosity = "low"\nservice_tier = "${fast ? "fast" : "default"}"\napproval_policy = "${approval}"\nsandbox_mode = "${sandbox}"\ndefault_permissions = "${MANAGED_PERMISSION_PROFILE}"\nstatus_line = ${mergedStatusLine(rootValue(root, "status_line"))}\n${END}`;
|
|
5143
5146
|
let configured = `${preservedRoot ? `${preservedRoot}\n` : ""}${rootBlock}${tables ? `\n\n${tables}` : ""}`;
|
|
5147
|
+
configured = injectTableKeys(configured, `permissions.${MANAGED_PERMISSION_PROFILE}`, [["description", "\"HolyCodex config.toml permissions.\""], ["extends", "\":workspace\""]]);
|
|
5148
|
+
configured = injectTableKeys(configured, `permissions.${MANAGED_PERMISSION_PROFILE}.network`, [["enabled", "true"]]);
|
|
5144
5149
|
configured = injectTableKeys(configured, "features", [
|
|
5145
5150
|
["default_mode_request_user_input", "true"],
|
|
5146
5151
|
["multi_agent", "true"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "holycodex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
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.
|
|
42
|
+
"@holycodex/plugin": "0.10.0",
|
|
43
43
|
"zod": "^4.4.3"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|