claude-mpm 4.2.4__py3-none-any.whl → 4.2.5__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/services/socketio/client_proxy.py +34 -3
- {claude_mpm-4.2.4.dist-info → claude_mpm-4.2.5.dist-info}/METADATA +1 -1
- {claude_mpm-4.2.4.dist-info → claude_mpm-4.2.5.dist-info}/RECORD +8 -8
- {claude_mpm-4.2.4.dist-info → claude_mpm-4.2.5.dist-info}/WHEEL +0 -0
- {claude_mpm-4.2.4.dist-info → claude_mpm-4.2.5.dist-info}/entry_points.txt +0 -0
- {claude_mpm-4.2.4.dist-info → claude_mpm-4.2.5.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-4.2.4.dist-info → claude_mpm-4.2.5.dist-info}/top_level.txt +0 -0
claude_mpm/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.2.
|
|
1
|
+
4.2.5
|
|
@@ -108,15 +108,46 @@ class SocketIOClientProxy:
|
|
|
108
108
|
async def disconnect():
|
|
109
109
|
self.logger.info("SocketIOClientProxy: Disconnected from server")
|
|
110
110
|
|
|
111
|
-
#
|
|
112
|
-
|
|
111
|
+
# Try connecting with different hostname formats
|
|
112
|
+
# Some systems resolve localhost differently than 127.0.0.1
|
|
113
|
+
connection_urls = [
|
|
114
|
+
f"http://{self.host}:{self.port}", # Use the provided host (usually "localhost")
|
|
115
|
+
f"http://127.0.0.1:{self.port}", # Try IP address
|
|
116
|
+
f"http://localhost:{self.port}", # Try localhost explicitly
|
|
117
|
+
]
|
|
118
|
+
|
|
119
|
+
connected = False
|
|
120
|
+
last_error = None
|
|
121
|
+
|
|
122
|
+
for url in connection_urls:
|
|
123
|
+
try:
|
|
124
|
+
self.logger.debug(f"SocketIOClientProxy: Attempting connection to {url}")
|
|
125
|
+
await self._sio_client.connect(url)
|
|
126
|
+
connected = True
|
|
127
|
+
self.logger.info(f"SocketIOClientProxy: Successfully connected to {url}")
|
|
128
|
+
break
|
|
129
|
+
except Exception as e:
|
|
130
|
+
last_error = e
|
|
131
|
+
# Only log as debug to avoid confusion when fallback succeeds
|
|
132
|
+
self.logger.debug(f"SocketIOClientProxy: Failed to connect to {url}: {e}")
|
|
133
|
+
# Disconnect any partial connection before trying next URL
|
|
134
|
+
try:
|
|
135
|
+
await self._sio_client.disconnect()
|
|
136
|
+
except:
|
|
137
|
+
pass
|
|
138
|
+
|
|
139
|
+
if not connected:
|
|
140
|
+
# Only show error if all attempts failed
|
|
141
|
+
self.logger.error(f"SocketIOClientProxy: Connection error after trying all addresses: {last_error}")
|
|
142
|
+
self._sio_client = None
|
|
143
|
+
return
|
|
113
144
|
|
|
114
145
|
# Keep the connection alive until stopped
|
|
115
146
|
while self.running:
|
|
116
147
|
await asyncio.sleep(1)
|
|
117
148
|
|
|
118
149
|
except Exception as e:
|
|
119
|
-
self.logger.error(f"SocketIOClientProxy:
|
|
150
|
+
self.logger.error(f"SocketIOClientProxy: Unexpected error: {e}")
|
|
120
151
|
self._sio_client = None
|
|
121
152
|
|
|
122
153
|
def broadcast_event(self, event_type: str, data: Dict[str, Any]):
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
claude_mpm/BUILD_NUMBER,sha256=toytnNjkIKPgQaGwDqQdC1rpNTAdSEc6Vja50d7Ovug,4
|
|
2
|
-
claude_mpm/VERSION,sha256=
|
|
2
|
+
claude_mpm/VERSION,sha256=rwXIWtsOJVrhT-T2eEOfESQ3sLYYzm_WGcjbp4g3dRE,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
|
|
@@ -550,7 +550,7 @@ claude_mpm/services/shared/lifecycle_service_base.py,sha256=WiAUJ5_k-2dYkDRMbJl7
|
|
|
550
550
|
claude_mpm/services/shared/manager_base.py,sha256=kmjhpVqgfYC1N4YQnPAilCfdrSpAh9Qz7wcQ602L4x4,9296
|
|
551
551
|
claude_mpm/services/shared/service_factory.py,sha256=blNkIowhIxykrn-a1qsD8Rtkjlky615nAT2nc8m18QI,9718
|
|
552
552
|
claude_mpm/services/socketio/__init__.py,sha256=PS-2twllga-2mhSfKdu4MgpikfKp_730gMLAqU_9YX4,556
|
|
553
|
-
claude_mpm/services/socketio/client_proxy.py,sha256=
|
|
553
|
+
claude_mpm/services/socketio/client_proxy.py,sha256=UEhLKZIgwgE4pxWDuMlj4QnAZMxoJQ5wchHls4VgC68,8704
|
|
554
554
|
claude_mpm/services/socketio/dashboard_server.py,sha256=QMQyRvKxfy692A1oStxmY05BeUpVzQZzKHiplw9YgrU,13655
|
|
555
555
|
claude_mpm/services/socketio/event_normalizer.py,sha256=TlhZbLgb6fSFNXNAZEEbGxHOqgTIB2S9WtEGJEV7Olw,28402
|
|
556
556
|
claude_mpm/services/socketio/migration_utils.py,sha256=1pK_zGZ8Pd57pCg1O-3gKT8i7_fjEKZ377hxOMGUPQQ,11963
|
|
@@ -615,9 +615,9 @@ claude_mpm/utils/subprocess_utils.py,sha256=zgiwLqh_17WxHpySvUPH65pb4bzIeUGOAYUJ
|
|
|
615
615
|
claude_mpm/validation/__init__.py,sha256=YZhwE3mhit-lslvRLuwfX82xJ_k4haZeKmh4IWaVwtk,156
|
|
616
616
|
claude_mpm/validation/agent_validator.py,sha256=3Lo6LK-Mw9IdnL_bd3zl_R6FkgSVDYKUUM7EeVVD3jc,20865
|
|
617
617
|
claude_mpm/validation/frontmatter_validator.py,sha256=u8g4Eyd_9O6ugj7Un47oSGh3kqv4wMkuks2i_CtWRvM,7028
|
|
618
|
-
claude_mpm-4.2.
|
|
619
|
-
claude_mpm-4.2.
|
|
620
|
-
claude_mpm-4.2.
|
|
621
|
-
claude_mpm-4.2.
|
|
622
|
-
claude_mpm-4.2.
|
|
623
|
-
claude_mpm-4.2.
|
|
618
|
+
claude_mpm-4.2.5.dist-info/licenses/LICENSE,sha256=lpaivOlPuBZW1ds05uQLJJswy8Rp_HMNieJEbFlqvLk,1072
|
|
619
|
+
claude_mpm-4.2.5.dist-info/METADATA,sha256=y8K0gWlLWR4tW2V8YD-qp3Q8m9MbjNxVYodwr1oLKQs,13776
|
|
620
|
+
claude_mpm-4.2.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
621
|
+
claude_mpm-4.2.5.dist-info/entry_points.txt,sha256=FDPZgz8JOvD-6iuXY2l9Zbo9zYVRuE4uz4Qr0vLeGOk,471
|
|
622
|
+
claude_mpm-4.2.5.dist-info/top_level.txt,sha256=1nUg3FEaBySgm8t-s54jK5zoPnu3_eY6EP6IOlekyHA,11
|
|
623
|
+
claude_mpm-4.2.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|