The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
ethernetc97af930cbd5
diff --cc apps/desktop/electron/main.tsindex 161a87e35e0,dbcc386d0a3..9c41d26a3a7--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@@ -17,9 -17,8 +17,10 @@@ importwebContents as electronWebContents,globalShortcut,ipcMain,+ type IpcMainEvent,+ type IpcMainInvokeEvent,Menu,+ type MenuItemConstructorOptions,nativeTheme,powerMonitor,powerSaveBlocker,diff --cc hermes_cli/models.pyindex 604d7081e38,153356a6b17..6a25e6b85a1--- a/hermes_cli/models.py+++ b/hermes_cli/models.py@@@ -85,10 -86,12 +86,13 @@@ def _get_jsoncall time so monkeypatching ``_urlopen_model_catalog_request`` still applies). Raises on failure."""req = urllib.request.Request(url, headers=headers or {})with (opener or _urlopen_model_catalog_request)(req, timeout=timeout, **open_kwargs) as resp:- return json.loads(resp.read().decode())+ body = resp.read()+ if req.get_header("Accept-encoding") == "gzip" and resp.headers.get("Content-Encoding", "").lower() == "gzip":+ body = gzip.decompress(body)+ return json.loads(body.decode())+def _read_json_cache(path: Path, *, errors=Exception) -> Optional[dict]:"""Load a JSON-object cache file; None when missing, unreadable, or not a dict."""try: