Skip to content

Commit d4122b0

Browse files
node9aiclaude
andcommitted
docs: add node9 report section with example output to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 23e4bca commit d4122b0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,35 @@ Every tool call your AI agent makes is recorded — command, arguments, result,
146146

147147
The HUD is wired automatically by `node9 init`. Full session logs land in `~/.node9/audit.log`.
148148

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.
177+
149178
---
150179

151180
## 📖 Full docs

0 commit comments

Comments
 (0)