Commit Graph

67 Commits

Author SHA1 Message Date
Haze
6bacbd964d perf(gateway): shorten gateway.ready fallback timeout from 30s to 5s
The fallback exists as a safety net for the server-side gateway.ready
event. In practice OpenClaw's plugin bootstrap can push the real event
well past 30s (observed: handshake completes, then 30s tick by, then the
fallback fires with no event having arrived). That long tail kept the
stale gating code blocking UI state for the full 30s.

Step 1 moved sessions.list off the gatewayReady gate, so this value now
only matters as a belt-and-braces signal for any future consumer. 5s is
long enough to preserve "event wins when it actually fires on a healthy
boot" while avoiding a multi-second stall whenever the server is slow.

Updated gateway-ready-fallback.test.ts to advance timers around the new
boundary.
2026-04-24 17:04:10 +08:00
Lingxuan Zuo
1f39d1a8a7 Add channel health diagnostics and gateway recovery fixes (#855) 2026-04-15 13:51:02 +08:00
Haze
30bd8c08f9 feat(gateway): enhance gateway readiness handling and batch sync configuration (#851)
Co-authored-by: paisley <8197966+su8su@users.noreply.github.com>
2026-04-14 15:42:37 +08:00
paisley
467fcf7e92 Upgrade openclaw to 4.9 (#804) 2026-04-09 18:51:06 +08:00
Haze
32d14b8cf9 fix(gateway): handle Windows OpenClaw process exit error during in-process restarts (#794)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-04-08 12:06:12 +08:00
paisley
c3a735a49c fix: resolve Windows gateway reconnect race condition and translate comments (#787) 2026-04-07 16:58:18 +08:00
paisley
83f67e1ed3 fix(gateway): make heartbeat observability-only to prevent false cascade restarts (#762) 2026-04-03 14:50:06 +08:00
Felix
1d2cbf8f26 Revert "fix(gateway): terminate owned process before retry to prevent port conflict on Windows" (#755) 2026-04-02 17:49:16 +08:00
Felix
42d6cec1e0 Revert "fix(gateway): refine process termination and wait logic on retry" (#754) 2026-04-02 17:45:07 +08:00
paisley
28508bc643 fix(gateway): refine process termination and wait logic on retry (#750) 2026-04-02 16:45:23 +08:00
写了吗?
560ae95611 fix(gateway): terminate owned process before retry to prevent port conflict on Windows (#724) 2026-04-02 16:11:03 +08:00
paisley
d34a88e629 Feat/upgrade openclaw (#729) 2026-04-01 14:22:47 +08:00
paisley
eb948d5820 fix(gateway): restore WebSocket heartbeat ping on Windows (#722) 2026-03-31 10:51:30 +08:00
paisley
ec8db0be75 fix(gateway): resolve startup hang caused by qqbot plugin manifest ID mismatch & stderr flood (#718) 2026-03-30 18:27:48 +08:00
paisley
47c9560b9e Upgrade third party plugin (#715) 2026-03-30 14:46:33 +08:00
paisley
15a3faa996 fix(gateway): skip heartbeat ping on Windows to prevent reconnect cascade (#694) 2026-03-27 19:07:31 +08:00
Lingxuan Zuo
c04e3b5464 chore(telemetry): stop sending gateway reconnect payloads to PostHog (#623) 2026-03-23 09:41:55 +08:00
Haze
9b503b531b fix(processes): fix multiple clawx processes running concurently (#589)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
Co-authored-by: paisley <8197966+su8su@users.noreply.github.com>
Co-authored-by: Felix <24791380+vcfgv@users.noreply.github.com>
2026-03-20 18:34:20 +08:00
paisley
2471228cc2 fix gateway restart (#593) 2026-03-19 18:22:24 +08:00
Lingxuan Zuo
8029b507ba fix(gateway): harden heartbeat timeout recovery to avoid reconnect flapping (#588)
Co-authored-by: zuolingxuan <zuolingxuan@bytedance.com>
2026-03-19 14:31:08 +08:00
paisley
1eda50ef44 feat(gateway): add websocket pong timeout and channel auto-reconnect watchdog (#569) 2026-03-18 13:25:30 +08:00
Lingxuan Zuo
7f3408559d Stabilize gateway reload/restart behavior and remove doctor --json dependency (#504) 2026-03-16 09:47:04 +08:00
Lingxuan Zuo
1dbe4a8466 Optimize gateway comms reload behavior and strengthen regression coverage (#496) 2026-03-15 20:36:48 +08:00
paisley
2c5c82bb74 Refactor clawx (#344)
Co-authored-by: ashione <skyzlxuan@gmail.com>
2026-03-09 13:10:42 +08:00
Lingxuan Zuo
3d804a9f5e refactor IPC (#341) 2026-03-08 11:54:49 +08:00
Lingxuan Zuo
c03d92e9a2 Fix/moonshot cn web search domain (#338) 2026-03-08 00:00:47 +08:00
paisley
3ce4b5d17a fix(linux): single-line description and correct desktop.entry for valid .desktop file (#325) 2026-03-06 16:22:25 +08:00
paisley
01efd87642 fix(gateway): resolve undefined PID and NODE_OPTIONS errors in packaged app (#315) 2026-03-06 11:03:56 +08:00
Haze
be800f6cfc fix(channel): Feishu channel gateway wont restart after config (#291)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-03-04 21:45:44 +08:00
paisley
5ddb7d281d fix two clawx instances bug (#294) 2026-03-04 21:20:21 +08:00
paisley
52748d78b5 refactor(gateway): migrate from child_process.spawn to utilityProcess.fork (#290) 2026-03-04 20:56:19 +08:00
paisley
9703f361f9 fix: add -WindowStyle Hidden to powershell command to prevent window flash on Windows (#285) 2026-03-04 14:51:44 +08:00
paisley
bc47b455b5 fix(gateway): resolve model switch failure and websocket timeouts during rapid oauth restarts (#266) 2026-03-03 10:18:23 +08:00
Haze
9532400053 fix(win): Gateway restart win terminal open error (#265)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-03-02 21:28:01 +08:00
Lingxuan Zuo
e40f4b2163 Add built-in proxy settings for Electron and Gateway (#239)
Co-authored-by: zuolingxuan <zuolingxuan@bytedance.com>
2026-03-02 17:33:06 +08:00
paisley
29ef9591cf feat(settings): auto-set default provider after successful OAuth (#254) 2026-03-02 15:13:55 +08:00
Haze
730d5466dd fix(gateway): optimize gateway start robustness in version 0.1.19 (#244)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-03-01 17:42:25 +08:00
Haze
9d07f611a3 fix(install): windows install error (#233)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-02-28 18:39:10 +08:00
Haze
b4ef2bd51d feat(openrouter):add claw-x header (#213)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-02-28 15:46:26 +08:00
Haze
386d4c5454 fix(win): Windows stability improvements (#207) (#208)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-02-27 22:10:35 +08:00
Haze
4f50630291 feat(gateway, openclaw-auth): add browser config synchronization (#184) 2026-02-26 14:47:36 +08:00
Haze
6383e10d63 feat(chat): reformat streaming output (#173) 2026-02-25 23:59:55 +08:00
Haze
9a039ab9fb ClawX windows path robustness (#171)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-02-25 22:46:59 +08:00
Haze
b84b645aa1 feat(gateway): implement unloading of launchctl service to prevent au… (#170) 2026-02-25 21:49:24 +08:00
Haze
e8c11887d0 feat(gateway): sync gateway token and update agent models on provider… (#168) 2026-02-25 18:56:04 +08:00
Haze
2804b6da73 fix(gateway): remove --dev flag from gateway startup args (#167)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-25 18:29:29 +08:00
Haze
265b12281c fix(model): custom model choose error (#164) 2026-02-25 16:38:03 +08:00
Haze
4e7733353c fix(gateway): improve process termination handling and add timeout (#153) 2026-02-24 19:47:36 +08:00
Haze
d55305839f feat(updater): implement auto-install countdown and cancellation for updates (#151) 2026-02-24 16:41:53 +08:00
Haze
34105d60c6 fix(gateway): gateway start waiting (#120) 2026-02-20 21:23:06 +08:00