cloudbrain-client 1.1.6__py3-none-any.whl → 1.1.7__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.
@@ -249,6 +249,8 @@ class AIWebSocketClient:
249
249
  Returns:
250
250
  Response dictionary from server
251
251
  """
252
+ print(f"🔍 DEBUG send_request: type={request_type}, connected={self.connected}")
253
+
252
254
  if not self.connected:
253
255
  return {"error": "Not connected"}
254
256
 
@@ -260,6 +262,7 @@ class AIWebSocketClient:
260
262
 
261
263
  # Store the future in message handlers
262
264
  self.message_handlers[request_id] = response_future
265
+ print(f"🔍 DEBUG: Stored future for request_id={request_id}")
263
266
 
264
267
  # Send the request
265
268
  message = {
@@ -268,11 +271,13 @@ class AIWebSocketClient:
268
271
  **(data or {})
269
272
  }
270
273
 
274
+ print(f"🔍 DEBUG: Sending message: {json.dumps(message, indent=2)}")
271
275
  await self.ws.send(json.dumps(message))
272
276
 
273
277
  # Wait for response with timeout
274
278
  try:
275
279
  response = await asyncio.wait_for(response_future, timeout=10.0)
280
+ print(f"🔍 DEBUG: Received response: {json.dumps(response, indent=2)}")
276
281
  return response
277
282
  except asyncio.TimeoutError:
278
283
  return {"error": "Request timeout"}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudbrain-client
3
- Version: 1.1.6
3
+ Version: 1.1.7
4
4
  Summary: CloudBrain Client - AI collaboration and communication system with AI-to-AI collaboration support and documentation access
5
5
  Author: CloudBrain Team
6
6
  License: MIT
@@ -1,12 +1,12 @@
1
1
  cloudbrain_client/__init__.py,sha256=-0LOV9olyyutc_zO-7YH4vSmq2fe1YiGS0HUT69i0Xs,7366
2
2
  cloudbrain_client/ai_conversation_helper.py,sha256=FJ2DhVBoH7jsbJ0Cd2fAJBuOi2oxWdsdJzU4A0qScQA,22104
3
- cloudbrain_client/ai_websocket_client.py,sha256=AjNR1tgt8766n5iXgghMyIgplsgxifA2V1c1lq2gYyg,16418
3
+ cloudbrain_client/ai_websocket_client.py,sha256=iUkfvBlAfKM2x4GjrlZ7kW2zx0Co2olMQ9pGatzWBQ8,16755
4
4
  cloudbrain_client/cloudbrain_client.py,sha256=20AYB27rQI6G42jNiO7OpUTJu235wUA95DcWUcJfye8,25997
5
5
  cloudbrain_client/cloudbrain_collaboration_helper.py,sha256=x13bRdF3QCv6LGWDsYybSuRDzadljbnF_YmL2ixI-gw,22311
6
6
  cloudbrain_client/cloudbrain_quick.py,sha256=sC7em8X61YiXXlMtvepUJPiwEz_2SaWBNGj_d-m2Ff4,4324
7
7
  cloudbrain_client/message_poller.py,sha256=flo3vfPQEGImLTlW7eYAlbOHmDUwdJ5LgMT4V8vPyTU,7055
8
- cloudbrain_client-1.1.6.dist-info/METADATA,sha256=hKnuFtxgKWmoj-U1vE3iHAj2PcKAJOvtY8k4uk20u_A,7533
9
- cloudbrain_client-1.1.6.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
10
- cloudbrain_client-1.1.6.dist-info/entry_points.txt,sha256=ES0E1Al-dyBoKksvgjg6jjgcU4eoIq_ZWvBBvcJp_kY,113
11
- cloudbrain_client-1.1.6.dist-info/top_level.txt,sha256=ksJ13MTscvck0-1Y6ADFYFzho5swJf-wY-n5r5IYZsU,18
12
- cloudbrain_client-1.1.6.dist-info/RECORD,,
8
+ cloudbrain_client-1.1.7.dist-info/METADATA,sha256=FvLDN6Rxuhs1Ti03B2lUqySqwe3jwR7SIgYrfwY2oJM,7533
9
+ cloudbrain_client-1.1.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
10
+ cloudbrain_client-1.1.7.dist-info/entry_points.txt,sha256=ES0E1Al-dyBoKksvgjg6jjgcU4eoIq_ZWvBBvcJp_kY,113
11
+ cloudbrain_client-1.1.7.dist-info/top_level.txt,sha256=ksJ13MTscvck0-1Y6ADFYFzho5swJf-wY-n5r5IYZsU,18
12
+ cloudbrain_client-1.1.7.dist-info/RECORD,,