claude-live 2.0.0 → 2.0.3

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 (2) hide show
  1. package/README.md +26 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,19 +8,42 @@ Real-time visualization of [Claude Code](https://docs.anthropic.com/en/docs/clau
8
8
 
9
9
  ## Install
10
10
 
11
+ ### Via Claude plugin marketplace (recommended)
12
+
11
13
  ```bash
12
14
  claude plugin marketplace add marisancans/claude-live
13
15
  ```
14
16
 
15
- That's it. Events stream automatically in the background as you work.
17
+ Hooks are configured automatically. Events stream in the background as you work.
18
+
19
+ ### Via npm (manual setup)
20
+
21
+ ```bash
22
+ npm install -g claude-live
23
+ ```
24
+
25
+ Then add hooks to your `~/.claude/settings.json`:
26
+
27
+ ```json
28
+ {
29
+ "hooks": {
30
+ "PreToolUse": [{ "hooks": [{ "type": "command", "command": "node /path/to/hook.js", "async": true }] }],
31
+ "PostToolUse": [{ "hooks": [{ "type": "command", "command": "node /path/to/hook.js", "async": true }] }]
32
+ }
33
+ }
34
+ ```
35
+
36
+ Replace `/path/to/hook.js` with the result of `npm root -g`/`claude-live/bin/hook.js`.
16
37
 
17
38
  ## Use
18
39
 
19
40
  ```bash
20
- # View the visualization whenever you want
21
- claude-live start
41
+ claude-live # Start server (foreground)
42
+ claude-live start # Start server (detached)
22
43
  ```
23
44
 
45
+ Then open http://localhost:43451 in your browser.
46
+
24
47
  ## How It Works
25
48
 
26
49
  Sessions appear as star systems. Files orbit as planets -- the more a file is touched, the larger it grows. Tool calls animate between nodes:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-live",
3
- "version": "2.0.0",
3
+ "version": "2.0.3",
4
4
  "description": "Realtime Claude Code activity visualizer",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/marisancans/claude-live",