enigma-cli 1.35.8 → 1.35.13
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 +12 -11
- package/assets/registry/primitives/registry.json +688 -0
- package/assets/registry/utils/registry.json +109 -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/email-policy/skill.json +1 -1
- package/assets/skills/frontend-design/skill.json +1 -1
- package/assets/skills/frontend-policy/SKILL.md +7 -0
- package/assets/skills/frontend-policy/skill.json +3 -3
- package/assets/skills/git-policy/skill.json +1 -1
- package/assets/skills/logo-sourcing-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/technical-writing-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/dist/guardrails.js +195 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Everything you need to work with a coding agent, in one command. `enigma`
|
|
4
4
|
installs a shared set of engineering **policy skills** into the agents you
|
|
5
|
-
actually use (Claude Code, OpenAI Codex, opencode) and sets up portable **git
|
|
5
|
+
actually use (Claude Code, OpenAI Codex, opencode, Kimi Code) and sets up portable **git
|
|
6
6
|
security hooks** that block secrets, `.env` files, and dependency dirs from being
|
|
7
7
|
committed.
|
|
8
8
|
|
|
@@ -47,7 +47,7 @@ the [GitHub CLI](https://cli.github.com), [Bun](https://bun.sh) and [Warp](https
|
|
|
47
47
|
|--|--|
|
|
48
48
|
| <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=nodedotjs&logoColor=white" alt="Node.js"/></a> | `>= 18`, ships with `npm` - installs and runs the `enigma` CLI |
|
|
49
49
|
| <a href="https://git-scm.com"><img src="https://img.shields.io/badge/Git-F05032?style=for-the-badge&logo=git&logoColor=white" alt="Git"/></a> | powers the security hooks and the commit guard |
|
|
50
|
-
| <img src="https://img.shields.io/badge/Coding%20agent-555555?style=for-the-badge&logo=claude&logoColor=white" alt="Coding agent"/> | at least one of [Claude Code](https://claude.com/claude-code), [OpenAI Codex](https://github.com/openai/codex)
|
|
50
|
+
| <img src="https://img.shields.io/badge/Coding%20agent-555555?style=for-the-badge&logo=claude&logoColor=white" alt="Coding agent"/> | at least one of [Claude Code](https://claude.com/claude-code), [OpenAI Codex](https://github.com/openai/codex), [opencode](https://opencode.ai) or [Kimi Code](https://www.kimi.com/code) - the skills need a home |
|
|
51
51
|
|
|
52
52
|
### Recommended
|
|
53
53
|
|
|
@@ -73,7 +73,7 @@ enigma guard [--all] Run the commit guard: staged files, --all for all tracked
|
|
|
73
73
|
CI). --json emits one document; exits 1 on findings, 2 if it
|
|
74
74
|
could not run at all
|
|
75
75
|
enigma config [k v] Show or set runtime toggles (e.g. config commit-emoji off)
|
|
76
|
-
enigma <tool> [acct] Launch claude | codex | opencode with an account
|
|
76
|
+
enigma <tool> [acct] Launch claude | codex | opencode | kimi with an account
|
|
77
77
|
(resolution: explicit > active profile > tool active);
|
|
78
78
|
auto-syncs deployed skills first
|
|
79
79
|
enigma account ... Manage per-tool accounts (list/add/use/login/remove)
|
|
@@ -128,7 +128,7 @@ push,pr,ci` and `enigma gate init` work in an image without it.
|
|
|
128
128
|
|
|
129
129
|
Skills are authored once and deployed to every selected agent (no per-agent
|
|
130
130
|
duplication). `enigma install` auto-detects which agents are installed (CLI on
|
|
131
|
-
`PATH` or a config dir like `~/.claude`, `~/.codex`, `~/.config/opencode`) and
|
|
131
|
+
`PATH` or a config dir like `~/.claude`, `~/.codex`, `~/.config/opencode`, `~/.kimi-code`) and
|
|
132
132
|
preselects them; `--all` targets every supported agent.
|
|
133
133
|
|
|
134
134
|
| Agent | Scope | Skills | Memory file |
|
|
@@ -309,9 +309,10 @@ your **company** Claude Code account and your **personal** one - keeping each
|
|
|
309
309
|
fully isolated and switching between them without ever logging out. Each account
|
|
310
310
|
has its own credentials, session, and history, so client work never mixes with
|
|
311
311
|
personal projects. Supported tools: **Claude Code** (`CLAUDE_CONFIG_DIR`),
|
|
312
|
-
**OpenAI Codex** (`CODEX_HOME`)
|
|
312
|
+
**OpenAI Codex** (`CODEX_HOME`), **OpenCode** (a private `XDG_DATA_HOME` /
|
|
313
313
|
`XDG_CONFIG_HOME` pair per managed account; its default account keeps your real
|
|
314
|
-
environment untouched)
|
|
314
|
+
environment untouched) and **Kimi Code** (`KIMI_CODE_HOME`, which relocates its
|
|
315
|
+
whole data root - credentials, sessions, skills and `AGENTS.md`).
|
|
315
316
|
|
|
316
317
|
> This is for legitimate, professional account separation (one account per
|
|
317
318
|
> employer/context, as many organizations require). It is **not** a way to evade
|
|
@@ -338,9 +339,9 @@ enigma account rename work corp # rename an account (its config dir moves)
|
|
|
338
339
|
enigma account remove work # delete an account and its config dir
|
|
339
340
|
```
|
|
340
341
|
|
|
341
|
-
Your existing `~/.claude` / `~/.codex` / opencode setup is always available as
|
|
342
|
+
Your existing `~/.claude` / `~/.codex` / `~/.kimi-code` / opencode setup is always available as
|
|
342
343
|
each tool's built-in `default` account (never deleted). New accounts live under
|
|
343
|
-
`~/.enigma/<tool>/<name>/`. Bare `claude` / `codex` / `opencode` commands keep
|
|
344
|
+
`~/.enigma/<tool>/<name>/`. Bare `claude` / `codex` / `opencode` / `kimi` commands keep
|
|
344
345
|
using your real environment as before.
|
|
345
346
|
|
|
346
347
|
Managed accounts inherit your enigma setup automatically: because the tool reads
|
|
@@ -372,7 +373,7 @@ enigma profile use none # deactivate
|
|
|
372
373
|
|
|
373
374
|
From the hub TUI (`enigma`), the **Accounts** panel lists every tool's accounts -
|
|
374
375
|
with the signed-in identity (email for Claude/Codex, connected providers for
|
|
375
|
-
OpenCode) - and lets you **add** (`a`), set active (`enter`), **connect**/log in
|
|
376
|
+
OpenCode and Kimi Code) - and lets you **add** (`a`), set active (`enter`), **connect**/log in
|
|
376
377
|
(`c`), rename (`r`), or remove (`d`). Adding first asks **which tool** with a
|
|
377
378
|
searchable selector (type to filter, like opencode's model picker), then the
|
|
378
379
|
account name, then offers to connect right away. The **Profiles** panel manages
|
|
@@ -647,7 +648,7 @@ session transcripts (`~/.claude/projects/.../*.jsonl`) and reports:
|
|
|
647
648
|
- **Breakdowns** by model, by project, **by account** (every Claude login - default and
|
|
648
649
|
managed accounts, not just `~/.claude`), and a **recent sessions** table.
|
|
649
650
|
- A **provider coverage** line: only Claude Code keeps a readable local usage store, so
|
|
650
|
-
Codex and
|
|
651
|
+
Codex, OpenCode and Kimi Code are shown as unavailable (no local token store) rather than faked. The
|
|
651
652
|
session/weekly windows are Claude-specific (they come from Anthropic's rate-limit headers).
|
|
652
653
|
- A **current 5-hour block** computed locally from transcript timestamps: tokens + cost
|
|
653
654
|
used in the open window, the **burn rate** (tokens/min) and a projected end-of-window
|
|
@@ -672,7 +673,7 @@ Honesty note: cost is an **estimate** (Anthropic does not record per-message cos
|
|
|
672
673
|
transcript; real spend is billed by Anthropic). Token counts and prompt-cache reads are
|
|
673
674
|
measured facts. enigma deliberately does **not** attribute savings to skills or to
|
|
674
675
|
token-efficient output - a transcript has no counterfactual baseline, so any such figure
|
|
675
|
-
would be invented. Only Claude Code is read today; Codex/OpenCode use absent or
|
|
676
|
+
would be invented. Only Claude Code is read today; Codex/OpenCode/Kimi Code use absent or
|
|
676
677
|
undocumented local session stores and are not guessed.
|
|
677
678
|
|
|
678
679
|
#### Manage accounts & profiles from the dashboard
|