claude-live 0.4.2 → 0.4.4
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.
|
@@ -4,15 +4,13 @@
|
|
|
4
4
|
"name": "marisancans"
|
|
5
5
|
},
|
|
6
6
|
"metadata": {
|
|
7
|
-
"description": "Realtime solar system visualizer for Claude Code sessions"
|
|
8
|
-
"version": "0.4.2"
|
|
7
|
+
"description": "Realtime solar system visualizer for Claude Code sessions"
|
|
9
8
|
},
|
|
10
9
|
"plugins": [
|
|
11
10
|
{
|
|
12
11
|
"name": "claude-live",
|
|
13
12
|
"source": "./",
|
|
14
13
|
"description": "Watch your Claude Code sessions rendered as a living solar system. Files orbit as planets, operations fire directional lasers, parallel sessions glow as separate star clusters.",
|
|
15
|
-
"version": "0.4.2",
|
|
16
14
|
"author": {
|
|
17
15
|
"name": "marisancans"
|
|
18
16
|
},
|
package/hooks/hooks.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"type": "command",
|
|
13
|
-
"command": "
|
|
13
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
14
14
|
"async": true
|
|
15
15
|
}
|
|
16
16
|
]
|
|
@@ -18,105 +18,105 @@
|
|
|
18
18
|
"InstructionsLoaded": [{
|
|
19
19
|
"hooks": [{
|
|
20
20
|
"type": "command",
|
|
21
|
-
"command": "
|
|
21
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
22
22
|
"async": true
|
|
23
23
|
}]
|
|
24
24
|
}],
|
|
25
25
|
"WorktreeCreate": [{
|
|
26
26
|
"hooks": [{
|
|
27
27
|
"type": "command",
|
|
28
|
-
"command": "
|
|
28
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
29
29
|
"async": true
|
|
30
30
|
}]
|
|
31
31
|
}],
|
|
32
32
|
"WorktreeRemove": [{
|
|
33
33
|
"hooks": [{
|
|
34
34
|
"type": "command",
|
|
35
|
-
"command": "
|
|
35
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
36
36
|
"async": true
|
|
37
37
|
}]
|
|
38
38
|
}],
|
|
39
39
|
"PreToolUse": [{
|
|
40
40
|
"hooks": [{
|
|
41
41
|
"type": "command",
|
|
42
|
-
"command": "
|
|
42
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
43
43
|
"async": true
|
|
44
44
|
}]
|
|
45
45
|
}],
|
|
46
46
|
"PostToolUse": [{
|
|
47
47
|
"hooks": [{
|
|
48
48
|
"type": "command",
|
|
49
|
-
"command": "
|
|
49
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
50
50
|
"async": true
|
|
51
51
|
}]
|
|
52
52
|
}],
|
|
53
53
|
"Stop": [{
|
|
54
54
|
"hooks": [{
|
|
55
55
|
"type": "command",
|
|
56
|
-
"command": "
|
|
56
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
57
57
|
"async": true
|
|
58
58
|
}]
|
|
59
59
|
}],
|
|
60
60
|
"Notification": [{
|
|
61
61
|
"hooks": [{
|
|
62
62
|
"type": "command",
|
|
63
|
-
"command": "
|
|
63
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
64
64
|
"async": true
|
|
65
65
|
}]
|
|
66
66
|
}],
|
|
67
67
|
"PermissionRequest": [{
|
|
68
68
|
"hooks": [{
|
|
69
69
|
"type": "command",
|
|
70
|
-
"command": "
|
|
70
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
71
71
|
"async": true
|
|
72
72
|
}]
|
|
73
73
|
}],
|
|
74
74
|
"SubagentStart": [{
|
|
75
75
|
"hooks": [{
|
|
76
76
|
"type": "command",
|
|
77
|
-
"command": "
|
|
77
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
78
78
|
"async": true
|
|
79
79
|
}]
|
|
80
80
|
}],
|
|
81
81
|
"SubagentStop": [{
|
|
82
82
|
"hooks": [{
|
|
83
83
|
"type": "command",
|
|
84
|
-
"command": "
|
|
84
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
85
85
|
"async": true
|
|
86
86
|
}]
|
|
87
87
|
}],
|
|
88
88
|
"SessionEnd": [{
|
|
89
89
|
"hooks": [{
|
|
90
90
|
"type": "command",
|
|
91
|
-
"command": "
|
|
91
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
92
92
|
"async": true
|
|
93
93
|
}]
|
|
94
94
|
}],
|
|
95
95
|
"PostToolUseFailure": [{
|
|
96
96
|
"hooks": [{
|
|
97
97
|
"type": "command",
|
|
98
|
-
"command": "
|
|
98
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
99
99
|
"async": true
|
|
100
100
|
}]
|
|
101
101
|
}],
|
|
102
102
|
"UserPromptSubmit": [{
|
|
103
103
|
"hooks": [{
|
|
104
104
|
"type": "command",
|
|
105
|
-
"command": "
|
|
105
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
106
106
|
"async": true
|
|
107
107
|
}]
|
|
108
108
|
}],
|
|
109
109
|
"PreCompact": [{
|
|
110
110
|
"hooks": [{
|
|
111
111
|
"type": "command",
|
|
112
|
-
"command": "
|
|
112
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
113
113
|
"async": true
|
|
114
114
|
}]
|
|
115
115
|
}],
|
|
116
116
|
"PostCompact": [{
|
|
117
117
|
"hooks": [{
|
|
118
118
|
"type": "command",
|
|
119
|
-
"command": "
|
|
119
|
+
"command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
|
|
120
120
|
"async": true
|
|
121
121
|
}]
|
|
122
122
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-live",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Realtime Claude Code activity visualizer",
|
|
5
5
|
"bin": {
|
|
6
6
|
"claude-live": "./bin/claude-live.js"
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"build": "cd client && vite build",
|
|
11
11
|
"start": "node server/index.js",
|
|
12
12
|
"test": "vitest run",
|
|
13
|
-
"
|
|
14
|
-
"prepublishOnly": "npm run sync-versions && npm run build"
|
|
13
|
+
"prepublishOnly": "npm run build"
|
|
15
14
|
},
|
|
16
15
|
"dependencies": {
|
|
17
16
|
"express": "^4.18.2",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import { readFileSync, writeFileSync } from 'fs';
|
|
4
|
-
import { resolve } from 'path';
|
|
5
|
-
import { fileURLToPath } from 'url';
|
|
6
|
-
|
|
7
|
-
const __dirname = resolve(fileURLToPath(import.meta.url), '..');
|
|
8
|
-
|
|
9
|
-
const packagePath = resolve(__dirname, '../package.json');
|
|
10
|
-
const pluginJsonPath = resolve(__dirname, '../.claude-plugin/plugin.json');
|
|
11
|
-
const marketplaceJsonPath = resolve(__dirname, '../.claude-plugin/marketplace.json');
|
|
12
|
-
|
|
13
|
-
// Read package.json to get the version
|
|
14
|
-
const packageJson = JSON.parse(readFileSync(packagePath, 'utf8'));
|
|
15
|
-
const version = packageJson.version;
|
|
16
|
-
|
|
17
|
-
console.log(`Syncing plugin versions to ${version}...`);
|
|
18
|
-
|
|
19
|
-
// Update plugin.json
|
|
20
|
-
const pluginJson = JSON.parse(readFileSync(pluginJsonPath, 'utf8'));
|
|
21
|
-
pluginJson.version = version;
|
|
22
|
-
writeFileSync(pluginJsonPath, JSON.stringify(pluginJson, null, 2) + '\n');
|
|
23
|
-
console.log(`✓ Updated .claude-plugin/plugin.json`);
|
|
24
|
-
|
|
25
|
-
// Update marketplace.json
|
|
26
|
-
const marketplaceJson = JSON.parse(readFileSync(marketplaceJsonPath, 'utf8'));
|
|
27
|
-
marketplaceJson.metadata.version = version;
|
|
28
|
-
marketplaceJson.plugins[0].version = version;
|
|
29
|
-
writeFileSync(marketplaceJsonPath, JSON.stringify(marketplaceJson, null, 2) + '\n');
|
|
30
|
-
console.log(`✓ Updated .claude-plugin/marketplace.json`);
|
|
31
|
-
|
|
32
|
-
console.log(`Done! Plugin versions are now ${version}`);
|