claude-mpm 3.4.10__py3-none-any.whl → 3.4.14__py3-none-any.whl
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.
- claude_mpm/cli/commands/run.py +10 -10
- claude_mpm/dashboard/index.html +13 -0
- claude_mpm/dashboard/static/css/dashboard.css +2722 -0
- claude_mpm/dashboard/static/js/components/agent-inference.js +619 -0
- claude_mpm/dashboard/static/js/components/event-processor.js +641 -0
- claude_mpm/dashboard/static/js/components/event-viewer.js +914 -0
- claude_mpm/dashboard/static/js/components/export-manager.js +362 -0
- claude_mpm/dashboard/static/js/components/file-tool-tracker.js +611 -0
- claude_mpm/dashboard/static/js/components/hud-library-loader.js +211 -0
- claude_mpm/dashboard/static/js/components/hud-manager.js +671 -0
- claude_mpm/dashboard/static/js/components/hud-visualizer.js +1718 -0
- claude_mpm/dashboard/static/js/components/module-viewer.js +2701 -0
- claude_mpm/dashboard/static/js/components/session-manager.js +520 -0
- claude_mpm/dashboard/static/js/components/socket-manager.js +343 -0
- claude_mpm/dashboard/static/js/components/ui-state-manager.js +427 -0
- claude_mpm/dashboard/static/js/components/working-directory.js +866 -0
- claude_mpm/dashboard/static/js/dashboard-original.js +4134 -0
- claude_mpm/dashboard/static/js/dashboard.js +1978 -0
- claude_mpm/dashboard/static/js/socket-client.js +537 -0
- claude_mpm/dashboard/templates/index.html +346 -0
- claude_mpm/dashboard/test_dashboard.html +372 -0
- claude_mpm/scripts/socketio_daemon.py +51 -6
- claude_mpm/services/socketio_server.py +41 -5
- {claude_mpm-3.4.10.dist-info → claude_mpm-3.4.14.dist-info}/METADATA +2 -1
- {claude_mpm-3.4.10.dist-info → claude_mpm-3.4.14.dist-info}/RECORD +29 -9
- {claude_mpm-3.4.10.dist-info → claude_mpm-3.4.14.dist-info}/WHEEL +0 -0
- {claude_mpm-3.4.10.dist-info → claude_mpm-3.4.14.dist-info}/entry_points.txt +0 -0
- {claude_mpm-3.4.10.dist-info → claude_mpm-3.4.14.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-3.4.10.dist-info → claude_mpm-3.4.14.dist-info}/top_level.txt +0 -0
claude_mpm/cli/commands/run.py
CHANGED
|
@@ -580,18 +580,18 @@ def _start_standalone_socketio_server(port, logger):
|
|
|
580
580
|
logger.error(f"Failed to start Socket.IO daemon: {result.stderr}")
|
|
581
581
|
return False
|
|
582
582
|
|
|
583
|
-
# Wait for server to be ready with
|
|
584
|
-
# WHY: Socket.IO server startup involves
|
|
583
|
+
# Wait for server to be ready with reasonable timeouts and progressive delays
|
|
584
|
+
# WHY: Socket.IO server startup involves async initialization:
|
|
585
585
|
# 1. Thread creation (~0.1s)
|
|
586
|
-
# 2. Event loop setup (~
|
|
586
|
+
# 2. Event loop setup (~0.5s)
|
|
587
587
|
# 3. aiohttp server binding (~2-5s)
|
|
588
588
|
# 4. Socket.IO service initialization (~1-3s)
|
|
589
|
-
# Total: up to 15
|
|
590
|
-
max_attempts =
|
|
591
|
-
initial_delay =
|
|
592
|
-
max_delay =
|
|
589
|
+
# Total: typically 2-5 seconds, up to 15 seconds max
|
|
590
|
+
max_attempts = 12 # Reduced from 30 - provides ~15 second total timeout
|
|
591
|
+
initial_delay = 0.75 # Reduced from 1.0s - balanced startup time
|
|
592
|
+
max_delay = 2.0 # Reduced from 3.0s - sufficient for binding delays
|
|
593
593
|
|
|
594
|
-
logger.info(f"Waiting up to
|
|
594
|
+
logger.info(f"Waiting up to ~15 seconds for server to be fully ready...")
|
|
595
595
|
|
|
596
596
|
# Give the daemon initial time to fork and start before checking
|
|
597
597
|
logger.debug("Allowing initial daemon startup time...")
|
|
@@ -617,8 +617,8 @@ def _start_standalone_socketio_server(port, logger):
|
|
|
617
617
|
else:
|
|
618
618
|
logger.debug(f"Server not yet accepting connections on attempt {attempt + 1}")
|
|
619
619
|
|
|
620
|
-
logger.error(f"❌ Socket.IO server health check failed after {max_attempts} attempts (
|
|
621
|
-
logger.warning(f"⏱️ Server may still be starting -
|
|
620
|
+
logger.error(f"❌ Socket.IO server health check failed after {max_attempts} attempts (~15s timeout)")
|
|
621
|
+
logger.warning(f"⏱️ Server may still be starting - try waiting a few more seconds")
|
|
622
622
|
logger.warning(f"💡 The daemon process might be running but not yet accepting HTTP connections")
|
|
623
623
|
logger.error(f"🔧 Troubleshooting steps:")
|
|
624
624
|
logger.error(f" - Wait a few more seconds and try again")
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Claude MPM Dashboard</title>
|
|
7
|
+
<meta http-equiv="refresh" content="0; url=/dashboard?autoconnect=true&port=8765">
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<p>Redirecting to Claude MPM Dashboard...</p>
|
|
11
|
+
<p>If you are not redirected, <a href="/dashboard?autoconnect=true&port=8765">click here</a>.</p>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|