enigma-cli 1.4.2 → 1.5.0

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
@@ -23,6 +23,8 @@ enigma install Install/update agent skills
23
23
  enigma security Set up git security hooks in the current repo
24
24
  enigma guard [--all] Run the commit guard (staged files, or all tracked)
25
25
  enigma config [k v] Show or set runtime toggles (e.g. config commit-emoji off)
26
+ enigma claude [acct] Launch Claude Code using an account (active if omitted)
27
+ enigma account ... Manage Claude Code accounts (list/add/use/login/remove)
26
28
  enigma seal Maintenance: (re)compute skill content hashes
27
29
  enigma check Integrity gate: verify skills are well-formed and sealed
28
30
  enigma help | version
@@ -67,6 +69,31 @@ On every commit the guard, OS-agnostically:
67
69
  Each protection is individually toggleable (saved to `.githooks/enigma-guard.json`).
68
70
  Bypass once with `git commit --no-verify`.
69
71
 
72
+ ## Multiple Claude Code accounts
73
+
74
+ If you use one Claude Code login for work and another for personal projects,
75
+ `enigma` lets you keep both side by side and switch without logging out. Claude
76
+ Code reads its credentials and session from the directory in `CLAUDE_CONFIG_DIR`
77
+ (default `~/.claude`), so each account just needs its own directory. Rather than
78
+ hand-editing per-shell aliases, `enigma` launches Claude for you with that
79
+ variable set - the same command on macOS, Linux and Windows.
80
+
81
+ ```bash
82
+ enigma account add work --login # create 'work' and run /login to authenticate
83
+ enigma account add personal # create 'personal' (log in later)
84
+ enigma account list # show all accounts (active one marked *)
85
+ enigma claude work # run Claude Code as 'work'
86
+ enigma account use personal # make 'personal' the active account
87
+ enigma claude # run the active account
88
+ enigma claude work -- --version # forward args after -- to Claude
89
+ enigma account remove work # delete an account and its config dir
90
+ ```
91
+
92
+ Your existing `~/.claude` is always available as the built-in `default` account
93
+ (it is never deleted). New accounts live under `~/.enigma/claude/<name>/`. The
94
+ hub TUI (`enigma`) also has an **Accounts** panel to list, activate, and remove
95
+ accounts. A bare `claude` command keeps using `~/.claude` as before.
96
+
70
97
  ## Commit emojis
71
98
 
72
99
  By default the policy skills make commit subjects carry a leading type emoji
@@ -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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
7
7
  "sha": "c9c69c59516794311cb7b306ed4d4ad971824de3689a39c2b86c7669c73f2e8b"
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "version": "1.0.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.4.2",
6
+ "cliVersion": "1.5.0",
7
7
  "sha": "c4617ee8d1a57d9621c81bef3093e94de91f79eec0cc0ead41f6d18dd443e623"
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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
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.4.2",
6
+ "cliVersion": "1.5.0",
7
7
  "sha": "a33622a2f810ee4cea39824cb1a7ca34b355a917d4224025df50d77dd74f0b3a"
8
8
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "enigma-darwin-arm64": "404c50687d4e382e6c504374e32e87827463648b7f0a77a7d3750ec82953a7f6",
3
- "enigma-linux-arm64": "bbf50c99d2bc411755c5dc83eb75afe777cb5e3e86daa1d8110419941e010978",
4
- "enigma-linux-x64": "edfd332116dc04ebce97f9dc6986a2ade3a3a957db6c2607a9b6961bf01ce419",
5
- "enigma-win32-x64.exe": "2d5197c7a2dd0d80bec73c3b0db2e3b62cad618ad50d713529e45837b0d13f45"
2
+ "enigma-darwin-arm64": "82c8446ecdf878f6688f43dc87fbe09126276f5e82e4e0698896bdcde6e7da79",
3
+ "enigma-linux-arm64": "5b78164c4fac7fec890a1827b8a3cb05d204f94a334ad2b97079f3ab416ce164",
4
+ "enigma-linux-x64": "259a6ec4bdbac4d6264e3792f0c1b6c5e5e14ffc9612465bd478acc1b8a33a4e",
5
+ "enigma-win32-x64.exe": "eefd09c92c52e80b73638f88efe37d2c0ca131308cac14ae4e4611b6bac4d8fb"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enigma-cli",
3
- "version": "1.4.2",
3
+ "version": "1.5.0",
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": {