b866e33f81
Split UME alarm WebSocket consumer into state, log, subscription, and loop modules.
...
Keep the public facade stable and re-export shared mutable log/connection objects for existing tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 17:26:40 +08:00
6dc3946bc6
Split UME routes and managed-NE service by domain.
...
Keep thin facades for existing imports, tighten CSV import required columns, and restore Chinese WebCRT connection labels in status responses.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 17:03:42 +08:00
ba1a40f725
feat(ume): OClaw forwarder runtime task and i18n status codes
...
Register oclaw_alarm_forwarder in background tasks with pause/resume, emit rt:/ws:/fwd: codes for last_error, and translate them in the UI for English and Chinese.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 10:29:10 +08:00
1f1b42e8bf
feat(ume): key alarm forward to OClaw via WSS and AI monitor UI
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 11:17:31 +08:00
e62f4f2c74
fix(ume): block WSS until startup REST alarm sync completes
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 21:52:39 +08:00
1784d996dd
fix(ume): dedupe WSS logs on disconnect and unchanged alarms
...
Throttle repeated connection-state logs, skip unchanged alarm notifications, and suppress duplicate subscription-lost and parse-ignore messages.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 19:33:15 +08:00
6701aee3c7
feat(ume): coordinate WSS with REST sync and sync before WSS on startup
...
WSS-primary current alarms with upsert/tombstone, skip scheduled REST when WSS active,
safe manual reconcile, startup REST baseline before WebSocket connect.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 09:57:33 +08:00
fb374a9c36
feat(ume): handle server-side subscription loss with local cleanup confirm
...
Detect missing UME subscriptions from WSS/DELETE errors, stop stale reconnects, and prompt to clear local state before re-establishing.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-25 16:50:37 +08:00
31e745ef95
fix(ume): show WSS connection state separately from alarm activity
...
Track ws_connection for UI pills, stop overwriting runtime last_error on alarm events, and wire pause/resume to reconnect WSS.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-23 11:19:00 +08:00
5bd83c58dc
feat(ume): expose WSS runtime logs on subscription status UI
...
Ring-buffer ws_logs API, alarm raise/clear labels with alarmkey, and scrollable log panel on UME page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 21:15:15 +08:00
635cd52d4f
fix(ume): accept empty JSON body on successful delete-subscription
...
Parse 204/empty UME responses without JSONDecodeError; improve request error messages and orphan-delete failure reporting.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 21:01:24 +08:00
a8b359f60d
fix(ume): cancel alarm subscription with DELETE and surface failures
...
Use DELETE delete-subscription, refresh token before cancel, recover orphan subs on establish, and keep local state when UME delete fails.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 20:47:59 +08:00
4f8735a83f
feat(ume): real-time current alarms via WebSocket subscription
...
Add WS consumer, persisted subscription store, manual subscribe/cancel APIs, and UI controls; extend sync and tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 20:27:43 +08:00