@unerr-ai/unerr 0.1.2 → 0.1.4

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 +14 -1
  2. package/dist/cli.js +1910 -1428
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -112,7 +112,17 @@ The agent reads from the same store through MCP — every claim on the dashboard
112
112
  npm install -g @unerr-ai/unerr
113
113
  ```
114
114
 
115
- ### 2. Choose your mode
115
+ ### 2. Verify your environment
116
+
117
+ ```bash
118
+ unerr doctor
119
+ ```
120
+
121
+ This ensures `unerr` is available in **all** terminal sessions — not just the one you installed from. If your PATH isn't configured correctly (common with nvm, fnm, volta, or pnpm), `unerr doctor` detects the issue and offers to fix it automatically by updating your shell config (`~/.zshrc`, `~/.bashrc`, or `~/.config/fish/config.fish`).
122
+
123
+ > **Why this matters:** Global npm packages are installed to a directory that some shells don't include by default. Without this step, `unerr` might work in your current terminal but fail in new ones — which breaks IDE integrations that spawn `unerr --mcp` in a fresh shell.
124
+
125
+ ### 3. Choose your mode
116
126
 
117
127
  <table>
118
128
  <tr>
@@ -148,6 +158,8 @@ A single `unerrd` supervisor manages all repos. Starts at login, spawns per-repo
148
158
 
149
159
  > **Important:** After running `unerr install`, restart your coding AI session (close and reopen the IDE or start a new chat) for unerr to take effect. The agent needs to pick up the newly installed MCP config, skills, and instructions.
150
160
 
161
+ > **`unerr: command not found` in a new terminal?** Run `unerr doctor` in the terminal where it works — it will detect the PATH issue and fix it so `unerr` is recognized everywhere.
162
+
151
163
  ### What each command does (no hidden behaviors)
152
164
 
153
165
  | Command | What it does | What it does NOT do |
@@ -384,6 +396,7 @@ Every response includes `_meta` (latency, risk level, drift status) and inline `
384
396
  ```bash
385
397
  unerr # Start per-repo daemon (or resume; auto-spawned by IDE if missing)
386
398
  unerr --mcp # Stdio bridge — what your IDE invokes via .mcp.json
399
+ unerr doctor # Check PATH + environment; auto-fix if unerr isn't in all terminals
387
400
  unerr install <agent> # Install MCP config + skills + instructions for one agent
388
401
  unerr uninstall # Remove unerr integration from agents in this repo
389
402
  unerr status # Show proxy health, entity count, graph age