enigma-cli 1.32.5 → 1.33.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
@@ -8,9 +8,9 @@ committed.
8
8
 
9
9
  ## Install
10
10
 
11
- Recommended - run the install script (clears the npm cache, installs the latest
12
- version, then runs `enigma install` **interactively** so you choose what to set up -
13
- handy where npm `postinstall` scripts are disabled):
11
+ One command. It installs or updates the `enigma` command to the latest version, then
12
+ runs `enigma install` **interactively** so you choose what to set up. Re-run it
13
+ anytime to update:
14
14
 
15
15
  ```bash
16
16
  # macOS / Linux
@@ -20,13 +20,6 @@ curl -fsSL https://raw.githubusercontent.com/FJRG2007/enigma/main/scripts/instal
20
20
  irm https://raw.githubusercontent.com/FJRG2007/enigma/main/scripts/install.ps1 | iex
21
21
  ```
22
22
 
23
- Or install the `enigma` command globally, then run the interactive hub:
24
-
25
- ```bash
26
- npm install -g enigma-cli@latest # provides the `enigma` command
27
- enigma # interactive hub: pick what to set up
28
- ```
29
-
30
23
  Or one-shot, no global install, no prompts - deploy the skills to every supported
31
24
  agent at user level:
32
25
 
@@ -225,9 +218,20 @@ enigma config auto-lint off # removes the hooks
225
218
  ```
226
219
 
227
220
  The hook is designed for minimum token cost: it auto-fixes the safe formatting rules
228
- (whitespace, blank lines, final newline) in place, and surfaces **only the unfixable
229
- findings** (hardcoded secrets, URL imports, style issues that need judgement) back to
230
- the agent. A clean file produces no output at all - zero added tokens.
221
+ in place, and surfaces **only the unfixable findings** (hardcoded secrets, URL imports,
222
+ style issues that need judgement) back to the agent. A clean file produces no output at
223
+ all - zero added tokens.
224
+
225
+ It rewrites the whole edited file, so it is worth knowing exactly what it changes:
226
+ trailing whitespace, blank lines (collapsed, leading/trailing removed), the final
227
+ newline, the order of a contiguous import group (shortest declaration first), the
228
+ semicolon terminating an interface or type-literal member, and the trailing comma in a
229
+ named import/export list. Judgement-dependent rules and the security audits are only
230
+ reported. The last two - the punctuation fixes - are skipped in a project configured
231
+ with Prettier (a `.prettierrc*` / `prettier.config.*` file, or a `prettier` key in a
232
+ `package.json`, looked up as far as the project root), so the two formatters never fight
233
+ over the same lines; their two rules stay quiet there too, so nothing is reported that
234
+ the hook has refused to fix.
231
235
 
232
236
  - **Claude Code**: a `PostToolUse` hook in `settings.json` (matcher
233
237
  `Edit|Write|MultiEdit|NotebookEdit`). Unfixable findings come back via the hook's
@@ -7,6 +7,6 @@
7
7
  "minimalCode"
8
8
  ],
9
9
  "updated": "2026-07-17T00:17:02+02:00",
10
- "cliVersion": "1.32.5",
10
+ "cliVersion": "1.33.1",
11
11
  "sha": "3f0dcc28341bb0407860534f7ce9314cfc91b5e673f8f3d13b89d61851ed75f6"
12
12
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "On-demand over-engineering review - diff review, whole-repo audit, and enigma: debt-marker ledger (tags delete/stdlib/native/yagni/shrink, line/dep scoring); lists cuts, applies nothing.",
6
6
  "updated": "2026-06-16T11:24:30+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "f742a2be3f328b9ea1ff9a35a449177c2cbec35ad16e46f7054b7a873a2ab017"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Backend/API architecture: controller-service-repository layering, API and request optimization (batching, avoiding redundant calls, skipping no-op writes), server-side caching (Redis), and Zod boundary validation.",
6
6
  "updated": "2026-07-31T16:34:48+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "768c2e088948ff97d6b897ce43854e53dfd156738e6a19548679b5327278433d"
9
9
  }
@@ -92,6 +92,8 @@ import DymoAPI from "dymo-api";
92
92
  - Use semicolons in languages that use them (e.g. JavaScript/TypeScript).
93
93
  - Use 4-space indentation for new code.
94
94
  - Use the single-line form for one-line blocks; avoid unnecessary braces, parentheses, and trailing commas.
95
+ - Terminate every interface and type-literal member with a semicolon, including the last member of a single-line literal: `type Image = { url?: string; };`.
96
+ - The trailing-comma rule covers named import and export lists: `import { a, b } from "x";`, not `import { a, b, } from "x";`.
95
97
 
96
98
  ```ts
97
99
  // Bad
@@ -3,7 +3,7 @@
3
3
  "version": "1.2.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Ciphera code style conventions (formatting, naming, imports incl. namespace imports for wide module surfaces, comments, code-level anti-patterns; TypeScript-first, language-agnostic).",
6
- "updated": "2026-07-30T15:48:04+02:00",
7
- "cliVersion": "1.32.5",
8
- "sha": "05dc812da459071110d96ee41c5201b1ee230471d635352415e10ef8b220c267"
6
+ "updated": "2026-07-31T21:32:28+02:00",
7
+ "cliVersion": "1.33.1",
8
+ "sha": "d6a86c28ad39ee502607a5ca8f6f361c8aa52b8fa946156165ec78c6139e495f"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Pre-delivery self-review gate, prioritized review dimensions, and change-quality criteria.",
6
6
  "updated": "2026-06-01T00:45:28+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "3d3bbe0602d5bbb4afe37648fe3c2fa39376b1bcbac5d8c441f01fad1e866ed0"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Core engineering execution policy and harness orchestration (highest-authority rules).",
6
6
  "updated": "2026-07-30T19:29:19+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "6a881d8589926fa7f48058314fd26d7042fd2ac82f1c87a6c11ffb54d1fda22b"
9
9
  }
@@ -3,7 +3,7 @@
3
3
  "version": "1.2.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Senior database architecture policy: engine selection (PostgreSQL by default, SQLite only for local-first/embedded stores), query optimization, anti-duplication/normalization, scalability, and RGPD/GDPR encryption.",
6
- "updated": "2026-06-03T14:19:50+02:00",
7
- "cliVersion": "1.32.5",
6
+ "updated": "2026-07-31T19:05:08+02:00",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "b21ae85a015305106f787be2eb0a022661b2e984bc42c6bc66703954256e3c53"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Reproduce-isolate-fix debugging methodology with root-cause discipline and regression verification.",
6
6
  "updated": "2026-06-01T00:45:28+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "14b0064c8b33a0dc85e51464b05005cf5801c756b1101789a6924b9548420f6b"
9
9
  }
@@ -4,6 +4,6 @@
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
6
  "updated": "2026-06-01T00:45:28+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "6375d835c2aef2c9bd31ce116444dc3d796f510f9970a213aa3ac4696d7e21b9"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Transactional email: React Email templates instead of hand-written HTML tables, server-side rendering, one send module behind the provider SDK, plain-text alternatives, idempotent background sending, link safety, and deliverability (SPF/DKIM/DMARC, bounce suppression, unsubscribe).",
6
6
  "updated": "2026-07-30T19:29:19+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "c9724fdbcdbeab99573be3fd44d4cdd97c2a394d99f3c4395f118f17356b00ed"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.",
6
6
  "updated": "2026-07-29T01:18:36+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "9e30ee7d8a1a1e8c6e7f4e043857cd01841c68a427752e45bc0cad9ec5cfa279"
9
9
  }
@@ -3,7 +3,7 @@
3
3
  "version": "1.22.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Frontend architecture: reusable components, abstraction thresholds, state management, no-op detection (skip any operation whose result equals current state, not just form saves; dirty means different from the loaded snapshot, not touched), instant first paint (render the shell, load data async, skeletons), perceived performance (prefetch on intent, debounce/throttle, cancel stale requests, avoid waterfalls, lazy widgets), large-list rendering (infinite scroll/pagination, virtualization, skeletons, progressive loading), optimistic UI with rollback, visual restraint (one card level, spacing before borders, one elevation scale), icon actions (repeated row/card actions are icon-only buttons with aria-label plus title, not text labels), responsive/adaptive layout (fluid units, breakpoints, no overlap/overflow, viewport meta, touch targets), form fields that declare their keyboard and casing (autocapitalize/autocomplete/inputmode per field kind, set once in the shared Input, normalized on blur), variable-length text (min-width:0 in flex/grid, wrap vs truncate, long unbroken strings, worst-case content checks), and AI chat/agent interfaces via Vercel's AI Elements registry instead of hand-rolled message threads.",
6
- "updated": "2026-07-31T16:34:48+02:00",
7
- "cliVersion": "1.32.5",
6
+ "updated": "2026-07-31T19:05:08+02:00",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "79816cdc63a7fd64336b93296aada3520bab26b38a7f65600f5ca27745de3a65"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Git & contribution policy (senior engineering standards).",
6
6
  "updated": "2026-07-16T22:44:02+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "e6dfbc33884000d9d25841bd9c5a84d6558ffd374882cb7b34451eb2cebc2161"
9
9
  }
@@ -7,6 +7,6 @@
7
7
  "logoColorPolicy"
8
8
  ],
9
9
  "updated": "2026-07-17T00:17:02+02:00",
10
- "cliVersion": "1.32.5",
10
+ "cliVersion": "1.33.1",
11
11
  "sha": "09cdbefd98625b02a7d03685e5deed128238ff8454a83fe22279610fe3ef8ddf"
12
12
  }
@@ -4,6 +4,6 @@
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
6
  "updated": "2026-07-31T16:26:45+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "e5e7ac2791919e4b8483115ee8b83800c5ebdf4eebde019650d974b400417c55"
9
9
  }
@@ -4,6 +4,6 @@
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
6
  "updated": "2026-07-29T01:18:36+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "13d24c217bdb6fe83fe16835d8f5c3d397a9f3338f16876c61ef96e97f34c90a"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Exhaustive completion discipline for long/multi-item tasks - inventory, coverage ledger, verified done.",
6
6
  "updated": "2026-07-30T20:10:24+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "2f82288d83dca3676d6bc49955c89477cc298f77fa56b4e414cd95ff858fa261"
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Concise, realistic technical copy - UI microcopy, descriptions, hints, empty/error states, and README/doc prose that informs without over-explaining or restating the obvious, and never uses a typographic dash.",
6
6
  "updated": "2026-07-28T20:30:23+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "a4b792103eb1f9dad93b9d70ea79dc18fe9cbbc318facf5adb47ae5907d842f9"
9
9
  }
@@ -4,6 +4,6 @@
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
6
  "updated": "2026-06-16T17:11:49+02:00",
7
- "cliVersion": "1.32.5",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "3bdf591057b760f674fb2b1425f63acb426cda2c4f042e1a74c5a5d3807df664"
9
9
  }
@@ -3,7 +3,7 @@
3
3
  "version": "1.4.0",
4
4
  "provider": "FJRG2007/enigma",
5
5
  "description": "Strict frontend + backend schema validation, normalization before validation (shared normalizers: trim, lowercase email, capitalize names, canonicalize links and handles), schema consistency, and safe client-facing error handling.",
6
- "updated": "2026-07-22T01:41:06+02:00",
7
- "cliVersion": "1.32.5",
6
+ "updated": "2026-07-31T19:05:08+02:00",
7
+ "cliVersion": "1.33.1",
8
8
  "sha": "84bb43cc570aa927ab5c0311c17242b4158287961aa04af111cf83eb4eec6ce4"
9
9
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "enigma-darwin-arm64": "17d7ee22f86d00a6dc03f48ecb7cd64400f941a54008ee6a058807f70b43bbe1",
3
- "enigma-linux-arm64": "a6de59589f327143d9180eabf76320685e127092fbc60a89f37d08ee880fe44e",
4
- "enigma-linux-x64": "bb23f85be6f2567ffaae0ebd852472519313fc607fe4ed7b3a10b23497759a08",
5
- "enigma-win32-x64.exe": "e43f5cafec4ab27c16e6be74e5f802437809042077d94debfd32d371a5202c57"
2
+ "enigma-darwin-arm64": "f9e83b3b9be12c8248957edaff5aaf673e9449524c70938a28a7c9c999946ddd",
3
+ "enigma-linux-arm64": "04ebf9604c6a01bb1630d8737f297076bb2ea7c5708910dd9f6fbdfb88fc1d37",
4
+ "enigma-linux-x64": "6cce08f880b4c0de0c3304129384de6a07f4055b3c2a05587a238bc764679e03",
5
+ "enigma-win32-x64.exe": "e17d305ca7fff13f07df054d87e17e1333c483231d8bfde31fe5aa8898c6718e"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enigma-cli",
3
- "version": "1.32.5",
3
+ "version": "1.33.1",
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": {