claude-team-dashboard 1.2.6

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.
package/start.js ADDED
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env node
2
+ const { spawn } = require('child_process');
3
+ const path = require('path');
4
+
5
+ console.log('Starting Claude Agent Dashboard...\n');
6
+
7
+ const server = spawn('node', [path.join(__dirname, 'server.js')], {
8
+ stdio: 'inherit',
9
+ shell: true,
10
+ cwd: __dirname
11
+ });
12
+
13
+ process.on('SIGINT', () => {
14
+ console.log('\nShutting down...');
15
+ server.kill();
16
+ process.exit();
17
+ });
18
+
19
+ server.on('error', (error) => {
20
+ console.error('Server error:', error);
21
+ });
22
+
23
+ console.log('Dashboard starting on http://localhost:3001');
24
+ console.log('\nPress Ctrl+C to stop\n');