enigma-cli 1.6.7 → 1.6.8

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
@@ -162,10 +162,11 @@ PRs stay normal, the agent reverts to full prose for security warnings and other
162
162
  safety-critical replies, and the level is switchable mid-session by asking
163
163
  ("be more terse", "ultra", "normal mode").
164
164
 
165
- While the mode is active, Claude Code's status bar shows an `[ENIGMA]` badge
166
- (`[ENIGMA:LITE]` / `[ENIGMA:ULTRA]` for the other levels). enigma wires this on
167
- install only if you have no status line configured, and the badge disappears when
168
- you turn the mode off.
165
+ Claude Code's status bar shows an `[ENIGMA]` badge at all times; while the mode is
166
+ active it appends the level (`[ENIGMA:FULL]`, `[ENIGMA:LITE]`, `[ENIGMA:ULTRA]`).
167
+ enigma wires this into `settings.json` during `enigma install`, only when you have
168
+ no status line configured (it never replaces your own). If you upgraded the package,
169
+ re-run `enigma install` once to wire it.
169
170
 
170
171
  ## License
171
172
 
@@ -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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
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.6.7",
6
+ "cliVersion": "1.6.8",
7
7
  "sha": "a33622a2f810ee4cea39824cb1a7ca34b355a917d4224025df50d77dd74f0b3a"
8
8
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "enigma-darwin-arm64": "6eac8ab4fa881993c1dd49fcc48b97f39b6a179e8b3b5e7e90f6e935e22d36dd",
3
- "enigma-linux-arm64": "0ceac881b3b56211d63818cadffc60331bfd8d04272add877724087d70da6e0e",
4
- "enigma-linux-x64": "ba09d59abbde314cadf01b66b664cf5d0cbf5663034b7ddd029372d84f45af7a",
5
- "enigma-win32-x64.exe": "a8f97f35a708e34d5eaad2208ae201983b94babff9d10a7589e1ed2636dca12a"
2
+ "enigma-darwin-arm64": "7fc379800cf7833fe534905ba4b06dd8464500838f838885d85bb6ad08a0f14a",
3
+ "enigma-linux-arm64": "18b9f7e68640b182ce4288bf6706e9af769341bbd4cab25a88b34116d193ea0b",
4
+ "enigma-linux-x64": "ef4ea1ae6431f8b869e99cc2404467bebb456c8b9ffdb9fcffc738a6debc6a53",
5
+ "enigma-win32-x64.exe": "d97276ebc6c3aaa4dc24730ddd8ddbc09d09976190aba150afb1b349b78b47e7"
6
6
  }
package/bin/enigma.mjs CHANGED
@@ -26,7 +26,8 @@ import { downloadBinary, installedBinary } from "./download.mjs";
26
26
  * Fast path: an agent status bar (e.g. Claude Code's statusLine) calls `enigma
27
27
  * statusline` on every refresh. Handle it here in the lightweight Node launcher -
28
28
  * reading .enigma.json directly - so it never resolves or spawns the Bun binary.
29
- * Prints `[ENIGMA]` (cyan) while token-efficient output is active, nothing when off.
29
+ * Always prints `[ENIGMA]` (cyan); when token-efficient output is active it appends
30
+ * the level, e.g. `[ENIGMA:FULL]`.
30
31
  */
31
32
  function readOutputStyle() {
32
33
  let style = "off";
@@ -42,10 +43,8 @@ function readOutputStyle() {
42
43
  if (process.argv[2] === "statusline") {
43
44
  try {
44
45
  const style = readOutputStyle();
45
- if (style && style !== "off") {
46
- const label = style === "full" ? "ENIGMA" : `ENIGMA:${style.toUpperCase()}`;
47
- process.stdout.write(process.env.NO_COLOR ? `[${label}]` : `\x1b[36m[${label}]\x1b[0m`);
48
- }
46
+ const label = (!style || style === "off") ? "ENIGMA" : `ENIGMA:${style.toUpperCase()}`;
47
+ process.stdout.write(process.env.NO_COLOR ? `[${label}]` : `\x1b[36m[${label}]\x1b[0m`);
49
48
  } catch { /* a status bar must never error */ }
50
49
  process.exit(0);
51
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enigma-cli",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
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": {