@node9/proxy 1.9.3 → 1.10.1
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 +32 -3
- package/dist/cli.js +1372 -625
- package/dist/cli.mjs +1354 -607
- package/dist/index.js +128 -25
- package/dist/index.mjs +126 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ npm install -g @node9/proxy
|
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
node9
|
|
44
|
+
node9 init # auto-detects Claude Code, Gemini CLI, Cursor, Codex
|
|
45
45
|
node9 doctor # verify everything is wired correctly
|
|
46
46
|
```
|
|
47
47
|
|
|
@@ -82,7 +82,7 @@ Wrap any MCP server transparently. The AI sees the same server — Node9 interce
|
|
|
82
82
|
}
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
Or use `node9
|
|
85
|
+
Or use `node9 init` — it wraps existing MCP servers automatically.
|
|
86
86
|
|
|
87
87
|
### MCP Tool Pinning — rug pull defense
|
|
88
88
|
|
|
@@ -144,7 +144,36 @@ Every tool call your AI agent makes is recorded — command, arguments, result,
|
|
|
144
144
|
|
|
145
145
|
**Line 3 — Environment:** how many CLAUDE.md files, rules, MCP servers, and hooks are active in the current project.
|
|
146
146
|
|
|
147
|
-
The HUD is wired automatically by `node9
|
|
147
|
+
The HUD is wired automatically by `node9 init`. Full session logs land in `~/.node9/audit.log`.
|
|
148
|
+
|
|
149
|
+
### Offline Report
|
|
150
|
+
|
|
151
|
+
Run `node9 report` after a session to get a summary dashboard — what was allowed, what was blocked, DLP hits, cost (Claude Code only), and daily activity:
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
$ node9 report --period 7d
|
|
155
|
+
|
|
156
|
+
🛡 node9 Report · Last 7 Days Apr 8 – Apr 14 2,255 events
|
|
157
|
+
──────────────────────────────────────────────────────────────────────────────
|
|
158
|
+
|
|
159
|
+
✅ 1,746 allowed 🛑 509 blocked 🚨 70 DLP hits 23% block rate 💰 $82.91
|
|
160
|
+
|
|
161
|
+
Top Tools Top Blocks
|
|
162
|
+
───────────────────────────────────── ─────────────────────────────────────
|
|
163
|
+
Bash ██████ 1,595 timeout ██████ 281
|
|
164
|
+
Read █░░░░░ 196 smart-rule-block ██░░░░ 79
|
|
165
|
+
Edit █░░░░░ 118 observe-mode-dlp-would… █░░░░░ 69
|
|
166
|
+
drop_resource █░░░░░ 69 persistent-deny █░░░░░ 69
|
|
167
|
+
Grep █░░░░░ 35 local-decision █░░░░░ 5
|
|
168
|
+
|
|
169
|
+
Daily Activity
|
|
170
|
+
──────────────────────────────────────────────────────────────────────────────
|
|
171
|
+
Apr 9 ██████████████████████████████ 833 216 blocked
|
|
172
|
+
Apr 10 █████░░░░░░░░░░░░░░░░░░░░░░░░░ 145 24 blocked
|
|
173
|
+
Apr 11 ██████████████████████░░░░░░░░ 617 139 blocked
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Periods: `today`, `7d` (default), `30d`, `month`. Cost data is read from `~/.claude/projects/` — no API calls, fully offline.
|
|
148
177
|
|
|
149
178
|
---
|
|
150
179
|
|