claude-view 0.20.1 → 0.22.0

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 +2 -2
  2. package/index.js +4 -9
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -21,7 +21,7 @@ Behind every "thinking..." spinner, Claude is spawning sub-agents, calling MCP s
21
21
  <div align="center">
22
22
 
23
23
  ```bash
24
- curl -fsSL https://raw.githubusercontent.com/tombelieber/claude-view/main/install.sh | sh
24
+ curl -fsSL https://get.claudeview.ai/install.sh | sh
25
25
  ```
26
26
 
27
27
  **One command. Every session visible. Real-time.**
@@ -34,7 +34,7 @@ curl -fsSL https://raw.githubusercontent.com/tombelieber/claude-view/main/instal
34
34
 
35
35
  | Method | Command |
36
36
  |--------|---------|
37
- | **Shell** (recommended) | `curl -fsSL https://raw.githubusercontent.com/tombelieber/claude-view/main/install.sh \| sh` |
37
+ | **Shell** (recommended) | `curl -fsSL https://get.claudeview.ai/install.sh \| sh` |
38
38
  | **npx** | `npx claude-view` |
39
39
 
40
40
  ---
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { execFileSync, execSync, spawn } = require('child_process')
3
+ const { execFileSync, spawn } = require('child_process')
4
4
  const fs = require('fs')
5
5
  const path = require('path')
6
6
  const os = require('os')
@@ -205,15 +205,10 @@ async function main() {
205
205
  // Set STATIC_DIR so the server finds the frontend assets
206
206
  const env = { ...process.env, STATIC_DIR: distDir }
207
207
 
208
- // Set SIDECAR_DIR so the server can spawn the Agent SDK sidecar
208
+ // Sidecar bundle is self-contained (zero-install).
209
+ // Just verify the entry point exists and set SIDECAR_DIR.
209
210
  const sidecarDir = path.join(binDir, 'sidecar')
210
- if (fs.existsSync(sidecarDir)) {
211
- // Install sidecar deps if needed (first run after download)
212
- const nodeModules = path.join(sidecarDir, 'node_modules')
213
- if (!fs.existsSync(nodeModules)) {
214
- console.log('Installing sidecar dependencies...')
215
- execSync('npm install --omit=dev', { cwd: sidecarDir, stdio: 'inherit' })
216
- }
211
+ if (fs.existsSync(path.join(sidecarDir, 'dist', 'index.js'))) {
217
212
  env.SIDECAR_DIR = sidecarDir
218
213
  }
219
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-view",
3
- "version": "0.20.1",
3
+ "version": "0.22.0",
4
4
  "description": "You have 10 Claude sessions running. What are they doing? Live dashboard for Claude Code — monitor every session, track costs, search history, see sub-agents. One command: npx claude-view",
5
5
  "bin": {
6
6
  "claude-view": "./index.js"