enigma-cli 1.15.7 → 1.15.9

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": "Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.",
6
- "cliVersion": "1.15.7",
6
+ "cliVersion": "1.15.9",
7
7
  "sha": "431645565aec8a4ab4cd17247139f78c377a9bcfcfc4ee1d6f252199c332d86f"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.3.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Frontend architecture: reusable components, abstraction thresholds, state management, no-op save detection, large-list rendering (infinite scroll/pagination, virtualization, skeletons, progressive loading), and optimistic UI with rollback.",
6
- "cliVersion": "1.15.7",
6
+ "cliVersion": "1.15.9",
7
7
  "sha": "26962db5a8b607e95098a6d88977aee59a10bd14e03afe97245f2b013fd21a9a"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.3.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Git & contribution policy (senior engineering standards).",
6
- "cliVersion": "1.15.7",
6
+ "cliVersion": "1.15.9",
7
7
  "sha": "73a978ef11f4def067f9252fc3e2e6aa737a08b6d58ad8a2a45cbcd4b02813f6"
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.15.7",
6
+ "cliVersion": "1.15.9",
7
7
  "sha": "9971e9d9127397d0152e89d24aad3191e2935e55a8483db7fd15f5d4d7a60e7a"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Create new skills, modify and improve existing skills, and measure skill performance with evals and benchmarks.",
6
- "cliVersion": "1.15.7",
6
+ "cliVersion": "1.15.9",
7
7
  "sha": "699586cce82ec0a5458288b598ee7e5ebdddb3dfcf19db354d8bc5e85e47c1c7"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.1.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Exhaustive completion discipline for long/multi-item tasks - inventory, coverage ledger, verified done.",
6
- "cliVersion": "1.15.7",
6
+ "cliVersion": "1.15.9",
7
7
  "sha": "6e3facba307eb2b55cefbab2e4b2a346a2b82f93c3ef47e11ebeb78c3c9453a8"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.2.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Test strategy, coverage gates, deterministic tests, mocking discipline, regression-first bug fixing, and test-suite organization (layout by type/domain, mirrored paths, file naming, fixture/helper placement).",
6
- "cliVersion": "1.15.7",
6
+ "cliVersion": "1.15.9",
7
7
  "sha": "3bdf591057b760f674fb2b1425f63acb426cda2c4f042e1a74c5a5d3807df664"
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.15.7",
6
+ "cliVersion": "1.15.9",
7
7
  "sha": "a33622a2f810ee4cea39824cb1a7ca34b355a917d4224025df50d77dd74f0b3a"
8
8
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "enigma-darwin-arm64": "b0c79cf7d490f7d5ce651c738b44d4e7f9a5bf0f515fbc75f120d734bba0cd73",
3
- "enigma-linux-arm64": "b5e245fde0803cc32ab644f41a656bdd224ca1d24c82f61fcf35da470407d578",
4
- "enigma-linux-x64": "a8dd7cd2f1cecc0751b346031685f82c88b6fa4dcf487091191cbf07996a380e",
5
- "enigma-win32-x64.exe": "5bff478ef5e232d5b1491bb798b24e796307b8d5f9ef3b3e70811aac954609dc"
2
+ "enigma-darwin-arm64": "500c3c44723b5b545d3174ac7cb8c47cd4faa01fb794fe331e0e1e5a5b09930c",
3
+ "enigma-linux-arm64": "b47ebfeb8acd6c6636107d26a71e81f1041993e670935a86bb0a1f0ac4b011c5",
4
+ "enigma-linux-x64": "a0a0bd7f418124fc4868b66423cf552a1c1df78c200722dd3e6c1fc910c6ab86",
5
+ "enigma-win32-x64.exe": "917a4fe077b3897f9f128a384c955452717df9ab394b8280fd59ef2449befcdf"
6
6
  }
package/bin/platform.mjs CHANGED
@@ -16,12 +16,15 @@ import { fileURLToPath } from "node:url";
16
16
  import { dirname, join } from "node:path";
17
17
  import { existsSync, readFileSync } from "node:fs";
18
18
 
19
- // npm/Node "os" identifiers (win32, not "windows"); kept stable across the toolchain.
20
- const PLATFORMS = { win32: "win32", darwin: "darwin", linux: "linux" };
21
- const ARCHES = { x64: "x64", arm64: "arm64" };
19
+ // Allowlists of the npm/Node "os" identifiers we publish binaries for (win32, not
20
+ // "windows"). An unsupported host resolves to undefined, which platformKeys() turns
21
+ // into "no binary for this host" rather than guessing a non-existent asset name.
22
+ const SUPPORTED_PLATFORMS = new Set(["win32", "darwin", "linux"]);
23
+ const SUPPORTED_ARCHES = new Set(["x64", "arm64"]);
24
+ const allowed = (set, value) => (set.has(value) ? value : undefined);
22
25
 
23
- export const PLATFORM = PLATFORMS[os.platform()];
24
- export const ARCH = ARCHES[os.arch()];
26
+ export const PLATFORM = allowed(SUPPORTED_PLATFORMS, os.platform());
27
+ export const ARCH = allowed(SUPPORTED_ARCHES, os.arch());
25
28
  export const isWindows = PLATFORM === "win32";
26
29
 
27
30
  /** This package's root (the directory holding package.json), i.e. <pkg>/bin/.. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enigma-cli",
3
- "version": "1.15.7",
3
+ "version": "1.15.9",
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": {