holycodex 0.10.3 → 0.10.4

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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -2
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -4289,10 +4289,11 @@ function superRefine(fn, params) {
4289
4289
  }
4290
4290
  //#endregion
4291
4291
  //#region packages/cli/src/catalog.ts
4292
- var VERSION = "0.10.3";
4292
+ var VERSION = "0.10.4";
4293
4293
  var SKILLS = [
4294
4294
  "ast-grep",
4295
4295
  "caveman",
4296
+ "code-review",
4296
4297
  "compress",
4297
4298
  "debugging",
4298
4299
  "handoff",
@@ -5813,8 +5814,9 @@ function replaceTomlString(input, key, value) {
5813
5814
  return input.replace(new RegExp(`^${key}\\s*=.*$`, "m"), `${key} = ${JSON.stringify(value)}`);
5814
5815
  }
5815
5816
  function replaceOrAppendTomlString(input, key, value) {
5817
+ const hasRootAssignment = rootTomlString(input, key) !== void 0;
5816
5818
  const replaced = replaceTomlString(input, key, value);
5817
- return replaced === input ? `${input.trimEnd()}${input.trimEnd() === "" ? "" : "\n"}${key} = ${JSON.stringify(value)}\n` : replaced;
5819
+ return hasRootAssignment ? replaced : `${input.trimEnd()}${input.trimEnd() === "" ? "" : "\n"}${key} = ${JSON.stringify(value)}\n`;
5818
5820
  }
5819
5821
  function extractCustomAgentSettings(input) {
5820
5822
  const customRoot = (input.split(/^\s*\[/m, 1)[0] ?? "").split(/\r?\n/).filter((line) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holycodex",
3
- "version": "0.10.3",
3
+ "version": "0.10.4",
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.10.3",
42
+ "@holycodex/plugin": "0.10.4",
43
43
  "zod": "^4.4.3"
44
44
  },
45
45
  "engines": {