Commit Graph

6 Commits

Author SHA1 Message Date
zetaloop a3f0b49112 feat(chat): implement WebSocket chat client with useChatSocket hook
Replace the stubbed chat API with a real WebSocket hook that
connects to /ws/chat and supports DM creation, messaging,
session join/leave, and history retrieval. Keep REST stub
functions for backward compatibility with existing pages
that require listChatSessions/getChatSessionById imports.
2026-05-01 17:33:29 +08:00
zetaloop adfded0e40 fix(api): resolve server-side api urls from request context 2026-04-24 09:19:28 +08:00
zetaloop bffd8b4968 fix(api): resolve server-side relative URLs 2026-02-28 16:56:46 +08:00
zetaloop f085a49d87 fix(api): surface non-json error messages 2026-02-28 14:27:43 +08:00
zetaloop 7d10be1c1f fix(api): support xsrf and backend error message 2026-02-28 12:57:52 +08:00
zetaloop db02313801 feat(api): add httpJson helper 2026-02-28 12:17:42 +08:00