enigma-cli 1.10.0 → 1.10.2

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.
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Backend/API architecture: controller-service-repository layering, API and request optimization, server-side caching (Redis), and Zod boundary validation.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "c442bc9e39a7710cb709ef2abb8d15ecd8aa16ed4f5c8af92b7af6877401cba4"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.1.1",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Ciphera code style conventions (formatting, naming, imports, comments, code-level anti-patterns; TypeScript-first, language-agnostic).",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "74f638aec13e8c93257fe1ad604c28b07e9a7c456796a4ceefcc99217d9e7039"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Pre-delivery self-review gate, prioritized review dimensions, and change-quality criteria.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "3d3bbe0602d5bbb4afe37648fe3c2fa39376b1bcbac5d8c441f01fad1e866ed0"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.4.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Core engineering execution policy and harness orchestration (highest-authority rules).",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "c9c69c59516794311cb7b306ed4d4ad971824de3689a39c2b86c7669c73f2e8b"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.1.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Senior database architecture policy: query optimization, anti-duplication/normalization, scalability, and RGPD/GDPR encryption.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "2883bcecb3202683ae6f81b073c3d6a9cec9c55029e011bdd06ba7ac3537297e"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Reproduce-isolate-fix debugging methodology with root-cause discipline and regression verification.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "14b0064c8b33a0dc85e51464b05005cf5801c756b1101789a6924b9548420f6b"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Dependency and supply-chain security: lockfiles and reproducible installs, version pinning, vulnerability auditing, vetting/minimizing packages, vendoring, and SBOM/provenance.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "6375d835c2aef2c9bd31ce116444dc3d796f510f9970a213aa3ac4696d7e21b9"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.1.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Frontend architecture: reusable components, abstraction thresholds, state management, and optimistic UI with rollback.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "33fa1e9f667ef26203a3d6c892121efe12b0cddb706c195492fa97e080fba115"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.2.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Git & contribution policy (senior engineering standards).",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "ada4b7eb5bb7e013429e23703c271c0f34b0d76327c059efa148ea2794f96178"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Application and AI-agent security: secrets, authn/authz (least privilege), OWASP Top 10, transport/crypto baseline, secure logging, and agent/MCP/tool-use safety.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "9971e9d9127397d0152e89d24aad3191e2935e55a8483db7fd15f5d4d7a60e7a"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Test strategy, coverage gates, deterministic tests, mocking discipline, and regression-first bug fixing.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "d19fa8ec7985ed231478be504d3c80360897f555d0bc0624bea19c091f459fb0"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Strict frontend + backend schema validation, schema consistency, and safe client-facing error handling.",
6
- "cliVersion": "1.10.0",
6
+ "cliVersion": "1.10.2",
7
7
  "sha": "a33622a2f810ee4cea39824cb1a7ca34b355a917d4224025df50d77dd74f0b3a"
8
8
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "enigma-darwin-arm64": "8cfaaaa4744bda9ee1ea1040ef4b9a56dc2cae01424f29d0eff3faba43a59040",
3
- "enigma-linux-arm64": "f012f90573aed5af62df72ba5442d56014ecca44885a79cf83a9c9446f827742",
4
- "enigma-linux-x64": "c7cf7b3b965f58e993d977ddd3275e8f5f02956bfe5df7aa508b57d7b8017056",
5
- "enigma-win32-x64.exe": "0b65e7c77a9c9a3ddfed017c3eea6e5ac6869325e6191b636f1df1072d96eb71"
2
+ "enigma-darwin-arm64": "07944065136191de2102b4abd6331e80b342b9b000ad40ca2d49436a4d91dd03",
3
+ "enigma-linux-arm64": "f2d8365102101a34703438c94f944c8e43d609d128fe3447f500332eb72e850d",
4
+ "enigma-linux-x64": "59a5e2f96d7b7bc934c3c84e8db6a1e45998cbde0ee5458f0c97e42cff93bef9",
5
+ "enigma-win32-x64.exe": "16abc27ef2306d1700244ef8dcd4028bc108a1c9a6fde2e51a02cc82645e106a"
6
6
  }
package/bin/enigma.mjs CHANGED
@@ -71,12 +71,15 @@ try {
71
71
  }
72
72
 
73
73
  // Tell the binary where the on-disk assets, guard, and version live (its own
74
- // __dirname points into Bun's virtual fs and cannot see these).
74
+ // __dirname points into Bun's virtual fs and cannot see these). Always set them
75
+ // from THIS launcher's package root: shells or tools spawned by an older enigma
76
+ // (e.g. `enigma claude`) inherit the old values, and honoring them would make a
77
+ // nested `enigma` report a stale version (and stale paths) after an update.
75
78
  const env = { ...process.env };
76
- env.ENIGMA_ASSETS_DIR ??= join(pkgRoot, "assets");
77
- env.ENIGMA_GUARD_PATH ??= join(pkgRoot, "dist", "guard.js");
79
+ env.ENIGMA_ASSETS_DIR = join(pkgRoot, "assets");
80
+ env.ENIGMA_GUARD_PATH = join(pkgRoot, "dist", "guard.js");
78
81
  try {
79
- env.ENIGMA_VERSION ??= packageVersion();
82
+ env.ENIGMA_VERSION = packageVersion();
80
83
  } catch { /* version is best-effort */ }
81
84
 
82
85
  const child = spawn(binary, process.argv.slice(2), { stdio: "inherit", env });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enigma-cli",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
4
4
  "description": "Everything you need to work with a coding agent: install shared policy skills for Claude Code, OpenAI Codex and opencode, and set up portable git security hooks.",
5
5
  "type": "module",
6
6
  "bin": {