@mutagent/cli 0.1.345 → 0.1.347

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.
Files changed (3) hide show
  1. package/README.md +30 -22
  2. package/dist/bin/cli.js +445 -419
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -24,7 +24,7 @@
24
24
  </p>
25
25
 
26
26
  <p align="center">
27
- <strong>Authenticate. Configure providers. Install MutagenT lifecycle tools.</strong>
27
+ <strong>Authenticate. Configure providers. Install Helix.</strong>
28
28
  </p>
29
29
 
30
30
  ---
@@ -33,8 +33,8 @@
33
33
 
34
34
  MutagenT CLI is the command-line client for the **MutagenT AI platform**. It is the
35
35
  entry point that AI coding agents and developers use to authenticate, set up a
36
- project, manage BYOK LLM providers, check account usage, and install MutagenT's
37
- lifecycle tooling (diagnostics, evaluator, and — when available — helix).
36
+ project, manage BYOK LLM providers, check account usage, and install the
37
+ standalone Helix binary.
38
38
 
39
39
  Every command is **AI-first**: run any command with `--json` for machine-readable
40
40
  output, and install the bundled Claude Code skill so coding agents know how to
@@ -45,7 +45,7 @@ drive the CLI without human hand-holding.
45
45
  - **AI-First Design**: Every command supports `--json` with `_directive` + `_links` for programmatic use by coding agents
46
46
  - **One-Command Auth**: `mutagent login` handles signup, onboarding, and CLI authorization via browser OAuth (or an API key for CI)
47
47
  - **BYOK Providers**: Configure and test your own LLM provider keys (`mutagent providers`)
48
- - **Lifecycle Meta-Installer**: `mutagent install <diagnostics|evaluator|helix>` pulls MutagenT packages (login-gated)
48
+ - **Helix Installer**: `mutagent install helix` installs the standalone Helix binary into `~/.mutagent/bin` (no login needed)
49
49
  - **Claude Code Integration**: Install the CLI skill (`mutagent skills install`) and session-telemetry hooks (`mutagent hooks install`)
50
50
  - **Built-in Feedback**: `mutagent feedback send` reports bugs and product feedback, optionally with your coding-agent session transcript
51
51
  - **Bun-Native**: Built for speed with the Bun runtime (Node.js 22+ compatible)
@@ -98,8 +98,8 @@ flowchart TD
98
98
  HOOKS["mutagent hooks install"]
99
99
  end
100
100
 
101
- subgraph LIFECYCLE ["Lifecycle Tools & Feedback"]
102
- INSTALL_PKG["mutagent install <diagnostics|evaluator|helix>"]
101
+ subgraph LIFECYCLE ["Helix & Feedback"]
102
+ INSTALL_PKG["mutagent install helix"]
103
103
  FEEDBACK["mutagent feedback send"]
104
104
  end
105
105
  end
@@ -178,13 +178,11 @@ mutagent providers add # Add a provider key (interactive)
178
178
  mutagent providers test <provider-id> # Verify connectivity
179
179
  ```
180
180
 
181
- ### 4. Install Lifecycle Tools
181
+ ### 4. Install Helix
182
182
 
183
183
  ```bash
184
- mutagent install diagnostics # Install diagnostics from npm (login-gated)
185
- mutagent install evaluator # Install evaluator from npm
186
- mutagent install evaluator --version 1.2.3 # Pin a version
187
- mutagent install --help # helix (pending) | diagnostics | evaluator
184
+ mutagent install helix # The standalone Helix binary → ~/.mutagent/bin/helix
185
+ mutagent install helix --channel candidate # The candidate build
188
186
  ```
189
187
 
190
188
  ### 5. Wire Up Your Coding Agent
@@ -324,23 +322,33 @@ mutagent agent list
324
322
  it in the cloud. The receipt is one JSON line on stderr; its reference is what
325
323
  `mutagent helix session` commands take.
326
324
  - `agent run` runs a local `agent.md` on this machine with the local Helix binary
327
- (`MUTAGENT_HELIX_BIN` selects one) and creates nothing in the workspace.
325
+ (`mutagent install helix` puts one at `~/.mutagent/bin/helix`; `MUTAGENT_HELIX_BIN` selects another) and creates nothing in the workspace.
328
326
  - Compilation requires Bun 1.3.14 on `PATH` or `MUTAGENT_BUN_BIN`.
329
327
 
330
- ### Lifecycle Meta-Installer (`install`)
328
+ ### Helix Installer (`install`)
331
329
 
332
330
  ```bash
333
- mutagent install diagnostics # Install @mutagent/diagnostics from npm (login-gated)
334
- mutagent install evaluator # Install @mutagent/evaluator from npm
335
- mutagent install evaluator --version 1.2.3 # Pin a specific version
336
- mutagent install helix # Self-hosted install (may return NOT_IMPLEMENTED — pending)
331
+ mutagent install helix # latest channel
332
+ mutagent install helix --channel candidate # candidate channel
333
+ mutagent install helix --json # binaryPath, version, sha256, onPath, pathLine
337
334
  ```
338
335
 
339
- | Package | Source | Notes |
340
- |---------|--------|-------|
341
- | `diagnostics` | public npm | Installs today |
342
- | `evaluator` | public npm | Installs today |
343
- | `helix` | self-hosted | Pending — may return `NOT_IMPLEMENTED` for now |
336
+ `mutagent install helix` does what `curl -fsSL https://install.mutagent.io/helix | bash`
337
+ does: it downloads `helix-<os>-<arch>` (macOS or Linux, x64 or arm64) from
338
+ `https://install.mutagent.io/<channel>/`, verifies it against `checksums.txt` from the
339
+ same origin, writes `~/.mutagent/bin/helix` with the `mutagent-helix` alias, and runs
340
+ `helix --version`. No login is needed. Shell rc files are never changed: when the
341
+ directory is not on `PATH`, the line to add is printed. When you are signed in, the
342
+ CLI also records the install activation, best-effort; `--json` reports it as
343
+ `telemetry` (`sent`, `skipped` or `failed`).
344
+
345
+ | Environment variable | Effect |
346
+ |---|---|
347
+ | `MUTAGENT_HELIX_CHANNEL` | `latest` or `candidate` when `--channel` is not passed |
348
+ | `MUTAGENT_INSTALL_HOST` | Install host (default `https://install.mutagent.io`) |
349
+ | `MUTAGENT_INSTALL_DIR` | Install directory (default `~/.mutagent/bin`) |
350
+
351
+ `diagnostics` and `evaluator` are not install targets: both skills ship inside helix.
344
352
 
345
353
  ### Feedback (`feedback`)
346
354