@bman654/clodex 2.5.0 → 2.5.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/README.md CHANGED
@@ -239,7 +239,7 @@ clodex --version # version
239
239
 
240
240
  ## Configuration
241
241
 
242
- - Config home: `~/.clodex` (override with `CLODEX_HOME`). On first run, config is migrated automatically from a legacy `~/.relay-ai` directory if present; the legacy directory is never modified.
242
+ - Config home: `~/.clodex` (override with `CLODEX_HOME`). A legacy `~/.relay-ai` directory is never read or modified automatic migration from it was removed in 2.0.0.
243
243
  - The config-home filesystem and the native account home must support hard
244
244
  links because registry and credential locks are published atomically. Keep
245
245
  `CLODEX_HOME` and `~/.clodex/credential-locks` on local filesystems rather
package/dist/cli.js CHANGED
@@ -374,7 +374,7 @@ import { join } from "path";
374
374
  // package.json
375
375
  var package_default = {
376
376
  name: "@bman654/clodex",
377
- version: "2.5.0",
377
+ version: "2.5.1",
378
378
  publishConfig: {
379
379
  access: "public"
380
380
  },
@@ -16141,7 +16141,7 @@ function collectPristineFacts(args) {
16141
16141
  }
16142
16142
 
16143
16143
  // src/patch-transforms.ts
16144
- var PATCH_TRANSFORMS_VERSION = 5;
16144
+ var PATCH_TRANSFORMS_VERSION = 6;
16145
16145
  var NATIVE_EFFORT_LEVELS = ["low", "medium", "high", "xhigh", "max"];
16146
16146
  var BASE_EFFORT_LEVELS = ["low", "medium", "high"];
16147
16147
  function projectNativeEffort(effort) {
@@ -16452,7 +16452,7 @@ function applyClodexPatches(source, config) {
16452
16452
  ];
16453
16453
  applyOnce(
16454
16454
  patchName,
16455
- /(function [\w$]+\(\)\{)(let [\w$]+=[\w$]+\(\),[\w$]+=Object\.keys\([\w$]+\)\.length>0,[\w$]+=Object\.keys\([\w$]+\)\.length>0,[\w$]+=[\w$]+\(process\.env\.CLAUDE_CODE_REMOTE\)\?(?:(?!\}\s*function )[\s\S])*?for\(let [\w$]+ of [\w$]+\)delete [\w$]+\[[\w$]+\],delete [\w$]+\[`INPUT_\$\{[\w$]+\}`\];return [\w$]+)(\})/,
16455
+ /(function [\w$]+\(\)\{)(let [\w$]+=[\w$]+\(\),[\w$]+=Object\.keys\([\w$]+\)\.length>0,[^;{}]*?[\w$]+=[\w$]+\(process\.env\.CLAUDE_CODE_REMOTE\)\?(?:(?!\}\s*function )[\s\S])*?for\(let [\w$]+ of [\w$]+\)delete [\w$]+\[[\w$]+\],delete [\w$]+\[`INPUT_\$\{[\w$]+\}`\];return [\w$]+)(\})/,
16456
16456
  (_match, head, body, tail) => {
16457
16457
  const targetIsValid = requiredBodyLiterals.every((literal) => body.includes(literal)) && !/\bfunction\s*[\w$]*\(/.test(body);
16458
16458
  if (!targetIsValid) {