muse-cli 0.3.1__tar.gz → 0.3.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: muse-cli
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Command-line client for your personal muse.ai AI agent: chat, automate, and manage side chats, feed, goals, ideas, and sessions from the terminal. No browser needed.
5
5
  Project-URL: Homepage, https://github.com/nikships/muse-cli
6
6
  Project-URL: Documentation, https://github.com/nikships/muse-cli#readme
@@ -1,3 +1,3 @@
1
1
  """muse-cli: talk to your personal muse.ai AI agent from the terminal."""
2
2
 
3
- __version__ = "0.3.1"
3
+ __version__ = "0.3.2"
@@ -156,7 +156,9 @@ class Gateway:
156
156
  url = (f"wss://{GATEWAY_HOST}/v1/noise?vm_id={vm_id}"
157
157
  f"&auth_token={urllib.parse.quote(hatch_token, safe='')}")
158
158
  self.ws = WebSocket()
159
- self.ws.connect(url, impersonate="chrome", timeout=20)
159
+ # verify=True is required: curl_cffi's WebSocket.connect defaults to
160
+ # verify=None, which disables TLS certificate verification entirely.
161
+ self.ws.connect(url, impersonate="chrome", timeout=20, verify=True)
160
162
  noise = NoiseConnection.from_name(b"Noise_XX_25519_AESGCM_SHA256")
161
163
  noise.set_as_initiator()
162
164
  noise.set_keypair_from_private_bytes(Keypair.STATIC, os.urandom(32))
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes