claude-terminal-prism 0.1.2 → 0.1.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 +19 -34
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,60 +4,45 @@
4
4
 
5
5
  ## Running PRISM
6
6
 
7
- ### 1. Install the PRISM server packages
7
+ ### The fastest way one command
8
8
 
9
9
  ```bash
10
- npm install -g @prism/collector @prism/dashboard
10
+ prism setup
11
11
  ```
12
12
 
13
- Or clone and run locally:
13
+ That's it. This single command:
14
+ - Starts the collector + dashboard as a background daemon
15
+ - Adds shell integration so `claude` is auto-instrumented
16
+ - Opens the browser at `http://localhost:4700`
14
17
 
15
- ```bash
16
- git clone https://github.com/ashrit-v/claude-terminal-prism
17
- cd claude-terminal-prism
18
- pnpm install
19
- ```
20
-
21
- ### 2. Start the collector + dashboard
18
+ Then reload your shell and start working:
22
19
 
23
20
  ```bash
24
- # Start everything (collector on :4700, dashboard on :4701)
25
- pnpm dev
21
+ source ~/.zshrc
22
+ claude "your task"
26
23
  ```
27
24
 
28
- Or start individually:
25
+ Sessions appear in the dashboard in real time.
29
26
 
30
- ```bash
31
- # Terminal 1 — event collector (WebSocket + REST API)
32
- pnpm --filter @prism/collector dev
33
-
34
- # Terminal 2 — browser dashboard
35
- pnpm --filter @prism/dashboard dev
36
- ```
27
+ ---
37
28
 
38
- ### 3. Open the dashboard
29
+ ### Other useful commands
39
30
 
40
- ```
41
- http://localhost:4701
31
+ ```bash
32
+ prism start # Start the daemon (collector + dashboard)
33
+ prism stop # Stop the daemon
34
+ prism status # Show running state
35
+ prism init # Add shell integration only (no daemon start)
42
36
  ```
43
37
 
44
- ### 4. Activate PRISM for your entire terminal session
38
+ ### Activate for a single terminal session
45
39
 
46
- Run this once — every Node.js process you start (including `claude`, agent scripts, etc.) is automatically intercepted:
40
+ Run this once — every Node.js process you start (including `claude`, agent scripts, etc.) is automatically intercepted without `prism init`:
47
41
 
48
42
  ```bash
49
43
  export PRISM_ENABLED=true && export NODE_OPTIONS="--require claude-terminal-prism/auto"
50
44
  ```
51
45
 
52
- Then just run your agent or Claude Code normally:
53
-
54
- ```bash
55
- claude "build a REST API"
56
- node your-agent.js
57
- ```
58
-
59
- Sessions appear in the dashboard at `http://localhost:4701` in real time.
60
-
61
46
  To use a custom collector URL:
62
47
 
63
48
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-terminal-prism",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "PRISM — Agentic visibility layer for Claude. Intercepts, records, and replays multi-agent sessions.",
5
5
  "author": "ashrit-v",
6
6
  "homepage": "https://www.npmjs.com/package/claude-terminal-prism",