claude-mpm 4.2.0__py3-none-any.whl → 4.2.1__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/VERSION +1 -1
- claude_mpm/cli/commands/run.py +6 -1
- claude_mpm/services/cli/socketio_manager.py +59 -1
- {claude_mpm-4.2.0.dist-info → claude_mpm-4.2.1.dist-info}/METADATA +1 -1
- {claude_mpm-4.2.0.dist-info → claude_mpm-4.2.1.dist-info}/RECORD +9 -9
- {claude_mpm-4.2.0.dist-info → claude_mpm-4.2.1.dist-info}/WHEEL +0 -0
- {claude_mpm-4.2.0.dist-info → claude_mpm-4.2.1.dist-info}/entry_points.txt +0 -0
- {claude_mpm-4.2.0.dist-info → claude_mpm-4.2.1.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-4.2.0.dist-info → claude_mpm-4.2.1.dist-info}/top_level.txt +0 -0
claude_mpm/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.2.
|
|
1
|
+
4.2.1
|
claude_mpm/cli/commands/run.py
CHANGED
|
@@ -896,8 +896,13 @@ def run_session_legacy(args):
|
|
|
896
896
|
print(f"💡 Monitor interface available at: {monitor_url}")
|
|
897
897
|
else:
|
|
898
898
|
print("⚠️ Failed to launch Socket.IO monitor")
|
|
899
|
+
print("Dashboard is not running. To enable monitoring:")
|
|
900
|
+
print(" 1. Use the --monitor flag: claude-mpm run --monitor")
|
|
899
901
|
print(
|
|
900
|
-
|
|
902
|
+
" 2. Or start dashboard separately: claude-mpm dashboard start"
|
|
903
|
+
)
|
|
904
|
+
print(
|
|
905
|
+
f" 3. Dashboard will be available at: http://localhost:{websocket_port}"
|
|
901
906
|
)
|
|
902
907
|
args._browser_opened_by_cli = False
|
|
903
908
|
else:
|
|
@@ -124,6 +124,15 @@ class ISocketIOManager(ABC):
|
|
|
124
124
|
Available port number
|
|
125
125
|
"""
|
|
126
126
|
|
|
127
|
+
@abstractmethod
|
|
128
|
+
def check_dependencies(self) -> bool:
|
|
129
|
+
"""
|
|
130
|
+
Check if monitoring dependencies are installed and print helpful messages.
|
|
131
|
+
|
|
132
|
+
Returns:
|
|
133
|
+
True if all dependencies are available
|
|
134
|
+
"""
|
|
135
|
+
|
|
127
136
|
@abstractmethod
|
|
128
137
|
def ensure_dependencies(self) -> Tuple[bool, Optional[str]]:
|
|
129
138
|
"""
|
|
@@ -507,6 +516,31 @@ class SocketIOManager(ISocketIOManager):
|
|
|
507
516
|
f"{self.port_manager.PORT_RANGE.stop-1}"
|
|
508
517
|
)
|
|
509
518
|
|
|
519
|
+
def check_dependencies(self) -> bool:
|
|
520
|
+
"""Check if monitoring dependencies are installed."""
|
|
521
|
+
missing = []
|
|
522
|
+
try:
|
|
523
|
+
import socketio
|
|
524
|
+
except ImportError:
|
|
525
|
+
missing.append("python-socketio")
|
|
526
|
+
try:
|
|
527
|
+
import aiohttp
|
|
528
|
+
except ImportError:
|
|
529
|
+
missing.append("aiohttp")
|
|
530
|
+
try:
|
|
531
|
+
import engineio
|
|
532
|
+
except ImportError:
|
|
533
|
+
missing.append("python-engineio")
|
|
534
|
+
|
|
535
|
+
if missing:
|
|
536
|
+
print(f"Missing dependencies for monitoring: {', '.join(missing)}")
|
|
537
|
+
print("\nTo install all monitoring dependencies:")
|
|
538
|
+
print(" pip install claude-mpm[monitor]")
|
|
539
|
+
print("\nOr install manually:")
|
|
540
|
+
print(f" pip install {' '.join(missing)}")
|
|
541
|
+
return False
|
|
542
|
+
return True
|
|
543
|
+
|
|
510
544
|
def ensure_dependencies(self) -> Tuple[bool, Optional[str]]:
|
|
511
545
|
"""
|
|
512
546
|
Ensure Socket.IO dependencies are installed.
|
|
@@ -522,7 +556,31 @@ class SocketIOManager(ISocketIOManager):
|
|
|
522
556
|
success, error_msg = ensure_socketio_dependencies(self.logger)
|
|
523
557
|
|
|
524
558
|
if not success:
|
|
525
|
-
# Provide helpful error message
|
|
559
|
+
# Provide helpful error message with improved guidance
|
|
560
|
+
missing = []
|
|
561
|
+
try:
|
|
562
|
+
import socketio
|
|
563
|
+
except ImportError:
|
|
564
|
+
missing.append("python-socketio")
|
|
565
|
+
try:
|
|
566
|
+
import aiohttp
|
|
567
|
+
except ImportError:
|
|
568
|
+
missing.append("aiohttp")
|
|
569
|
+
try:
|
|
570
|
+
import engineio
|
|
571
|
+
except ImportError:
|
|
572
|
+
missing.append("python-engineio")
|
|
573
|
+
|
|
574
|
+
if missing:
|
|
575
|
+
detailed_error = (
|
|
576
|
+
f"Missing dependencies for monitoring: {', '.join(missing)}\n"
|
|
577
|
+
"To install all monitoring dependencies:\n"
|
|
578
|
+
" pip install claude-mpm[monitor]\n"
|
|
579
|
+
"Or install manually:\n"
|
|
580
|
+
f" pip install {' '.join(missing)}"
|
|
581
|
+
)
|
|
582
|
+
return False, detailed_error
|
|
583
|
+
|
|
526
584
|
if error_msg:
|
|
527
585
|
return False, error_msg
|
|
528
586
|
return False, (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
claude_mpm/BUILD_NUMBER,sha256=toytnNjkIKPgQaGwDqQdC1rpNTAdSEc6Vja50d7Ovug,4
|
|
2
|
-
claude_mpm/VERSION,sha256=
|
|
2
|
+
claude_mpm/VERSION,sha256=5dd6mVp9icSyRJjLiUfDtA5T9NLAuiOAeWzbBZ0jeEg,6
|
|
3
3
|
claude_mpm/__init__.py,sha256=lyTZAYGH4DTaFGLRNWJKk5Q5oTjzN5I6AXmfVX-Jff0,1512
|
|
4
4
|
claude_mpm/__main__.py,sha256=Ro5UBWBoQaSAIoSqWAr7zkbLyvi4sSy28WShqAhKJG0,723
|
|
5
5
|
claude_mpm/constants.py,sha256=I946iCQzIIPRZVVJ8aO7lA4euiyDnNw2IX7EelAOkIE,5915
|
|
@@ -85,7 +85,7 @@ claude_mpm/cli/commands/memory.py,sha256=Yzfs3_oiKciv3sfOoDm2lJL4M9idG7ARV3-sNw1
|
|
|
85
85
|
claude_mpm/cli/commands/monitor.py,sha256=iALHEe8jh7H3sdZlTANjKPopKUwGLdzx8vs7j0iVoCI,6069
|
|
86
86
|
claude_mpm/cli/commands/mpm_init.py,sha256=lO7N91ZHn_n18XbchUUcYoyme7L5NLcXVnhWm5F_Gq8,22367
|
|
87
87
|
claude_mpm/cli/commands/mpm_init_handler.py,sha256=-pCB0XL3KipqGtnta8CC7Lg5TPMwstEhMFBcgF4aaa4,2919
|
|
88
|
-
claude_mpm/cli/commands/run.py,sha256=
|
|
88
|
+
claude_mpm/cli/commands/run.py,sha256=HrqRWCxmtCKcOxygXRM4KYlN1FDxBXrt4lxz0WunPTs,43390
|
|
89
89
|
claude_mpm/cli/commands/socketio_monitor.py,sha256=GHHY5pKg0XCffoqLoO0l0Nxa9HQY4gdrpYebLVahzl4,9540
|
|
90
90
|
claude_mpm/cli/commands/tickets.py,sha256=kl2dklTBnG3Y4jUUJ_PcEVsTx4CtVJfkGWboWBx_mQM,21234
|
|
91
91
|
claude_mpm/cli/parsers/__init__.py,sha256=f0Fm1DDXorlVOZPLxUpjC-GIvLh01G-FZOK7TEV1L3I,1005
|
|
@@ -416,7 +416,7 @@ claude_mpm/services/cli/dashboard_launcher.py,sha256=PCqk9e6E7SHrKmjrXZJ5Ak8yuB7
|
|
|
416
416
|
claude_mpm/services/cli/memory_crud_service.py,sha256=ciN9Pl_12iDAqF9zPBWOzu-iXiAzpy3CiIwXRoeB5m0,22645
|
|
417
417
|
claude_mpm/services/cli/memory_output_formatter.py,sha256=nbf7VsjGvH4e9fLv9c7PzjuO9COZhbK5P2fNZ79055w,24783
|
|
418
418
|
claude_mpm/services/cli/session_manager.py,sha256=rla_Stbcvt93wa9G9MCMu9UqB3FLGqlPt_eN5lQb3Gg,16599
|
|
419
|
-
claude_mpm/services/cli/socketio_manager.py,sha256=
|
|
419
|
+
claude_mpm/services/cli/socketio_manager.py,sha256=NOhb6yTB0mISdExojydYk28DcPaPwguD_IuAJDoTidw,20638
|
|
420
420
|
claude_mpm/services/cli/startup_checker.py,sha256=efhuvu8ns5G16jcQ0nQZKVddmD2AktUEdlvjNcXjAuk,12232
|
|
421
421
|
claude_mpm/services/communication/__init__.py,sha256=b4qc7_Rqy4DE9q7BAUlfUZjoYG4uimAyUnE0irPcXyU,560
|
|
422
422
|
claude_mpm/services/core/__init__.py,sha256=evEayLlBqJvxMZhrhuK6aagXmNrKGSj8Jm9OOxKzqvU,2195
|
|
@@ -610,9 +610,9 @@ claude_mpm/utils/subprocess_utils.py,sha256=zgiwLqh_17WxHpySvUPH65pb4bzIeUGOAYUJ
|
|
|
610
610
|
claude_mpm/validation/__init__.py,sha256=YZhwE3mhit-lslvRLuwfX82xJ_k4haZeKmh4IWaVwtk,156
|
|
611
611
|
claude_mpm/validation/agent_validator.py,sha256=3Lo6LK-Mw9IdnL_bd3zl_R6FkgSVDYKUUM7EeVVD3jc,20865
|
|
612
612
|
claude_mpm/validation/frontmatter_validator.py,sha256=u8g4Eyd_9O6ugj7Un47oSGh3kqv4wMkuks2i_CtWRvM,7028
|
|
613
|
-
claude_mpm-4.2.
|
|
614
|
-
claude_mpm-4.2.
|
|
615
|
-
claude_mpm-4.2.
|
|
616
|
-
claude_mpm-4.2.
|
|
617
|
-
claude_mpm-4.2.
|
|
618
|
-
claude_mpm-4.2.
|
|
613
|
+
claude_mpm-4.2.1.dist-info/licenses/LICENSE,sha256=lpaivOlPuBZW1ds05uQLJJswy8Rp_HMNieJEbFlqvLk,1072
|
|
614
|
+
claude_mpm-4.2.1.dist-info/METADATA,sha256=eK4wVQcArEJKI2iWy6EwLLojjtbOVnPelcsuP1CnzZ8,13776
|
|
615
|
+
claude_mpm-4.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
616
|
+
claude_mpm-4.2.1.dist-info/entry_points.txt,sha256=FDPZgz8JOvD-6iuXY2l9Zbo9zYVRuE4uz4Qr0vLeGOk,471
|
|
617
|
+
claude_mpm-4.2.1.dist-info/top_level.txt,sha256=1nUg3FEaBySgm8t-s54jK5zoPnu3_eY6EP6IOlekyHA,11
|
|
618
|
+
claude_mpm-4.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|