enigma-cli 1.15.5 → 1.15.6
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 +45 -0
- package/assets/skills/anti-overengineering-policy/skill.json +1 -1
- package/assets/skills/anti-overengineering-review/skill.json +1 -1
- package/assets/skills/backend-policy/skill.json +1 -1
- package/assets/skills/ciphera-style-policy/skill.json +1 -1
- package/assets/skills/code-review-policy/skill.json +1 -1
- package/assets/skills/core-engineering-policy/skill.json +1 -1
- package/assets/skills/database-expert/skill.json +1 -1
- package/assets/skills/debugging-policy/skill.json +1 -1
- package/assets/skills/dependency-policy/skill.json +1 -1
- package/assets/skills/frontend-design/skill.json +1 -1
- package/assets/skills/frontend-policy/skill.json +1 -1
- package/assets/skills/git-policy/skill.json +1 -1
- package/assets/skills/security-policy/skill.json +1 -1
- package/assets/skills/skill-creator/skill.json +1 -1
- package/assets/skills/task-completion-policy/skill.json +1 -1
- package/assets/skills/testing-policy/skill.json +1 -1
- package/assets/skills/validation-policy/skill.json +1 -1
- package/bin/checksums.json +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,6 +71,9 @@ enigma <tool> [acct] Launch claude | codex | opencode with an account
|
|
|
71
71
|
enigma account ... Manage per-tool accounts (list/add/use/login/remove)
|
|
72
72
|
enigma profile ... Group one account per tool (list/add/use/set/unset/remove)
|
|
73
73
|
enigma skills ... List skills and manage discards (list/discard/restore)
|
|
74
|
+
enigma compress [file] Compress JSON/logs/text to fewer tokens (reversible via CCR);
|
|
75
|
+
--retrieve <hash> restores, --stats shows total savings
|
|
76
|
+
enigma mcp Run the context-compression MCP server over stdio
|
|
74
77
|
enigma seal Maintenance: (re)compute skill content hashes
|
|
75
78
|
enigma check Integrity gate: verify skills are well-formed and sealed
|
|
76
79
|
enigma help | version
|
|
@@ -435,6 +438,48 @@ and applies nothing; correctness and security stay with the normal review.
|
|
|
435
438
|
Side-by-side "with vs without enigma" comparisons live in
|
|
436
439
|
[`docs/examples/`](../../docs/examples/README.md).
|
|
437
440
|
|
|
441
|
+
## Context compression (opt-in)
|
|
442
|
+
|
|
443
|
+
A native, dependency-free engine that shrinks large content before it reaches the
|
|
444
|
+
model - same information, far fewer tokens. It detects the content type and routes
|
|
445
|
+
it:
|
|
446
|
+
|
|
447
|
+
- **JSON** arrays of records are compressed statistically: a representative,
|
|
448
|
+
schema-preserving sample is kept (head + stride samples + tail), and **error
|
|
449
|
+
rows, numeric anomalies and structural outliers are always preserved** - unique
|
|
450
|
+
entities with no signal are left intact so real data is never silently dropped.
|
|
451
|
+
- **Logs** collapse by template (volatile timestamps/numbers/hashes are masked;
|
|
452
|
+
runs of similar lines fold into one + a count), keeping error/warning lines.
|
|
453
|
+
- **Plain text** is truncated head+tail. Code, diffs and markdown pass through
|
|
454
|
+
untouched (no safe lossy transform without a parser).
|
|
455
|
+
|
|
456
|
+
Compression is **reversible** (CCR - Compress-Cache-Retrieve): when rows or spans
|
|
457
|
+
are dropped, the full original is cached under `~/.enigma/ccr` and the output
|
|
458
|
+
carries a `<<enigma:ccr:HASH ...>>` marker. Pass the hash back to get the original.
|
|
459
|
+
|
|
460
|
+
```bash
|
|
461
|
+
cat tool-output.json | enigma compress # compressed to stdout, savings to stderr
|
|
462
|
+
enigma compress big.log # compress a file
|
|
463
|
+
enigma compress --retrieve <hash> # restore a cached original
|
|
464
|
+
enigma compress --stats # cumulative token savings
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
### As an MCP server
|
|
468
|
+
|
|
469
|
+
`enigma mcp` runs a stdio MCP server exposing three tools - `enigma_compress`,
|
|
470
|
+
`enigma_retrieve`, `enigma_stats` - so an agent can compress large tool outputs
|
|
471
|
+
itself and retrieve originals on demand. Enable deployment and it is registered in
|
|
472
|
+
each managed agent's own config (Claude Code `mcpServers`, Codex
|
|
473
|
+
`[mcp_servers.enigma]`, opencode `mcp`), preserving your other servers:
|
|
474
|
+
|
|
475
|
+
```bash
|
|
476
|
+
enigma config compress on # register the MCP server on install/sync
|
|
477
|
+
enigma config compress off # remove it again
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
**Off by default** - adding an MCP server to your agents is an explicit choice.
|
|
481
|
+
Everything runs locally; no data leaves your machine.
|
|
482
|
+
|
|
438
483
|
## License
|
|
439
484
|
|
|
440
485
|
[Apache-2.0](LICENSE).
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Minimal-code discipline - YAGNI ladder, deletion over addition, no unrequested abstractions, and the enigma: shortcut-marking convention; intensity via the minimal-code setting.",
|
|
6
|
-
"cliVersion": "1.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
7
7
|
"sha": "297c5d9a0573a319a6f8476f5b1da8cb93e6f3297f13b76ac25d91ce10c7b523"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.0.0",
|
|
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
|
-
"cliVersion": "1.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
7
7
|
"sha": "f742a2be3f328b9ea1ff9a35a449177c2cbec35ad16e46f7054b7a873a2ab017"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.1.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.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
7
7
|
"sha": "a46c3cd00aa5f47adb1e7907f1d2bc6f5562f7a272890dee9b1121976ac04ae1"
|
|
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.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
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.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
7
7
|
"sha": "3d3bbe0602d5bbb4afe37648fe3c2fa39376b1bcbac5d8c441f01fad1e866ed0"
|
|
8
8
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"version": "1.9.0",
|
|
4
4
|
"provider": "FJRG2007/enigma",
|
|
5
5
|
"description": "Core engineering execution policy and harness orchestration (highest-authority rules).",
|
|
6
|
-
"cliVersion": "1.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
7
7
|
"sha": "82d246faa4770248a36f143926fbf06bd3ffc082959014184548b57193770fab"
|
|
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.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
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.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
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.15.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
7
7
|
"sha": "6375d835c2aef2c9bd31ce116444dc3d796f510f9970a213aa3ac4696d7e21b9"
|
|
8
8
|
}
|
|
@@ -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.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
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.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
7
7
|
"sha": "26962db5a8b607e95098a6d88977aee59a10bd14e03afe97245f2b013fd21a9a"
|
|
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.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
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.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
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.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
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.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
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.
|
|
6
|
+
"cliVersion": "1.15.6",
|
|
7
7
|
"sha": "a33622a2f810ee4cea39824cb1a7ca34b355a917d4224025df50d77dd74f0b3a"
|
|
8
8
|
}
|
package/bin/checksums.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"enigma-darwin-arm64": "
|
|
3
|
-
"enigma-linux-arm64": "
|
|
4
|
-
"enigma-linux-x64": "
|
|
5
|
-
"enigma-win32-x64.exe": "
|
|
2
|
+
"enigma-darwin-arm64": "a4b3f815e63c17130d0e723b639bc6315ef3e9a93fbefb9987df5b2c11196a00",
|
|
3
|
+
"enigma-linux-arm64": "5ea1c274adeae0a50eea2b6a558db029815f259dd4cf139cd53d63343ae70212",
|
|
4
|
+
"enigma-linux-x64": "39fd93222f6ca1cdc9b72cc5e941acc0fe6f5972214f537761c29068711df11a",
|
|
5
|
+
"enigma-win32-x64.exe": "b84bead9ccb81f76e48936d68571eaa91eaf187503dd57aa0426127f3dd169a4"
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "enigma-cli",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.6",
|
|
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": {
|