Commit Graph

44 Commits

Author SHA1 Message Date
Haze
97d29ab23c opt(chat): Enhance error handling for chat.send timeouts and improve logging in gateway RPC calls (#788) 2026-04-07 17:07:57 +08:00
paisley
c3a735a49c fix: resolve Windows gateway reconnect race condition and translate comments (#787) 2026-04-07 16:58:18 +08:00
Lingxuan Zuo
5a3da41562 Preserve stable snapshots and stabilize Electron e2e (#734) 2026-04-01 20:35:01 +08:00
Kagura
ef3cf64484 fix(chat): hide internal system messages from webchat (#710) 2026-03-30 14:57:26 +08:00
Lingxuan Zuo
83858fdf73 fix: prevent config overwrite, session history race, and streaming message loss (#663)
Co-authored-by: zuolingxuan <zuolingxuan@bytedance.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 21:11:20 +08:00
GASOT-GIT
6b82c6ccb4 chore: normalize structure and split ipc handlers (#590)
Co-authored-by: Haze <709547807@qq.com>
2026-03-23 17:18:40 +08:00
paisley
58f19d4ddc fix: prevent chat sessions from disappearing on switch and add loading timeout safety net (#572) 2026-03-18 15:47:25 +08:00
Lingxuan Zuo
1dbe4a8466 Optimize gateway comms reload behavior and strengthen regression coverage (#496) 2026-03-15 20:36:48 +08:00
DigHuang
c0a3903377 feat(scroll): implement instant scroll-to-bottom behavior for chat messages (#438) 2026-03-12 17:02:43 +08:00
Haze
38391dd093 feat(cron): implement cron session management and logging features, including session key parsing and fallback message handling (#429) 2026-03-12 11:20:56 +08:00
Haze
95e090ecb5 feat(agents): support chat to agent (#403) 2026-03-11 12:03:30 +08:00
Lingxuan Zuo
80e89ddc5c Fix token usage history gaps and add dev detail popup (#386)
Co-authored-by: zuolingxuan <zuolingxuan@bytedance.com>
2026-03-10 17:20:10 +08:00
Haze
36c0fcb5c7 feat(Agnet): support multi agents (#385) 2026-03-10 16:13:55 +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
paisley
0901d9912a Increase chat send RPC timeout to 120s for high-latency networks (#311) 2026-03-05 15:49:36 +08:00
DigHuang
2f17e74944 fix(session): remove limit parameter from sessions.list RPC call (#304) 2026-03-05 12:05:12 +08:00
DigHuang
76df84e68c fix: ghost session cleanup, new chat switching, and markdown overflow handling (#287) 2026-03-04 18:54:47 +08:00
DigHuang
c49c7f18bd feat(chat): enhance sidebar with session management and deletion (#274) 2026-03-03 19:07:42 +08:00
Mao Mr
bf62639573 fix(chat): show loading when run from console and when sending in app (#228) 2026-02-28 17:09:00 +08:00
Haze
45932a95c3 refactor(chat): modify newSession logic to avoid resetting old sessio… (#185) 2026-02-26 15:23:59 +08:00
Haze
d11f45cc73 fix(chat): enhance file path extraction and preserve optimistic user … (#182) 2026-02-26 14:35:33 +08:00
Haze
1ca0017f85 feat(openclaw): add repair function for ClawX-only bootstrap files an… (#180) 2026-02-26 11:55:19 +08:00
Haze
96ac13fd90 feat(chat, gateway): implement error recovery timer and enhance histo… (#179) 2026-02-26 11:26:39 +08:00
Haze
6383e10d63 feat(chat): reformat streaming output (#173) 2026-02-25 23:59:55 +08:00
Haze
cf27bb0d64 feat(openclaw): update openclaw version 223 (#149) 2026-02-24 16:09:39 +08:00
Haze
f821949829 fix(model): update gemini apikey modify function (#119) 2026-02-20 20:17:30 +08:00
Haze
c969e899c8 feat(chat): enhance image extraction and file path handling in messages (#116) 2026-02-20 10:48:46 +08:00
Haze
1759b98443 fix(chat): optimize chat with pic response (#103) 2026-02-19 00:29:10 +08:00
Haze
d108a850ef feat(chat): opt pic show in chat history (#87) 2026-02-14 18:00:57 +08:00
Haze
cf8091d81f feat(chat): improve media handling and caching for user messages (#81) 2026-02-14 00:21:04 +08:00
Haze
8a49c66891 fix(chat): enhance file handling and error reporting in ChatInput (#80) 2026-02-13 20:43:42 +08:00
Haze
36fb4bffc7 feat(chat): implement file upload support with staging and media handle (#77) 2026-02-13 18:23:47 +08:00
Felix
a8e26362b9 refactor: Directly add new chat session to state upon creation (#62) 2026-02-12 12:09:14 +08:00
Felix
fcba8b86d5 fix(chat): improve message handling, fix type errors and migrate changes to enhance branch (#50) 2026-02-11 17:10:53 +08:00
Felix
f9581d2516 fix(chat): improve handling of streaming messages and add pending state management (#46) 2026-02-11 13:55:34 +08:00
DigHuang
1b508d5bde feat(provider): mainly support moonshot / siliconflow on setup (#43) 2026-02-11 11:33:33 +08:00
Felix
816a0e24a2 misc: chat stop button and tool typing indicator and prevent sending message during composition (#37) 2026-02-10 19:12:22 +08:00
Haze
e6317cafd6 chore(frontend): fix corn task (#3) 2026-02-07 01:28:38 +08:00
Felix
fa6c23b82a feature: channels and skills (#2)
Co-authored-by: paisley <8197966+su8su@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 18:26:06 +08:00
Haze
94a6cecf2f fix(chat): move toolbar to Header and add New Session button
- Move ChatToolbar (session selector, refresh, thinking toggle) from
  the Chat page body into the Header component, so controls appear
  at the same level as the "Chat" title
- Add New Session button (+) to create a fresh conversation
- Add newSession action to chat store
- Header conditionally renders ChatToolbar only on /chat route
- Chat page fills full content area without duplicate toolbar
2026-02-06 04:57:25 +08:00
Haze
3468d1bdf4 feat(chat): native React chat page with session selector and streaming
Replace the iframe-based Control UI embed with a native React
implementation that communicates directly with the Gateway via
gateway:rpc IPC calls and chat event streaming.

New components:
- ChatToolbar: session selector dropdown, refresh button, thinking toggle
- ChatMessage: message bubbles with markdown (react-markdown + GFM),
  collapsible thinking blocks, tool use cards, image attachments
- ChatInput: textarea with Enter to send, Shift+Enter for new line
- message-utils: extractText/extractThinking/extractImages/extractToolUse
  ported from OpenClaw's message-extract.ts

Rewritten chat store with:
- Session management (sessions.list, switchSession)
- Proper chat.history loading with raw message preservation
- chat.send with idempotencyKey and run tracking
- Streaming via handleChatEvent (delta/final/error/aborted)
- Thinking toggle (show/hide reasoning blocks)
2026-02-06 04:49:01 +08:00
Haze
b01952fba7 fix(stores): align RPC methods with OpenClaw protocol and fix chat flow
- Fix channels store: use channels.status instead of channels.list
- Fix skills store: use skills.status instead of skills.list
- Fix chat store: correct chat.history response parsing (messages in payload)
- Fix chat store: handle chat.send async flow (ack + event streaming)
- Add chat event handling for streaming AI responses (delta/final/error)
- Wire gateway:chat-message IPC events to chat store
- Fix health check: use WebSocket status instead of nonexistent /health endpoint
- Fix waitForReady: probe via WebSocket instead of HTTP
- Gracefully degrade when methods are unsupported (no white screen)
2026-02-06 02:38:18 +08:00
Haze
b8ab0208d0 feat(core): initialize project skeleton with Electron + React + TypeScript
Set up the complete project foundation for ClawX, a graphical AI assistant:

- Electron main process with IPC handlers, menu, tray, and gateway management
- React renderer with routing, layout components, and page scaffolding
- Zustand state management for gateway, settings, channels, skills, chat, and cron
- shadcn/ui components with Tailwind CSS and CSS variable theming
- Build tooling with Vite, electron-builder, and TypeScript configuration
- Testing setup with Vitest and Playwright
- Development configurations (ESLint, Prettier, gitignore, env example)
2026-02-05 23:09:17 +08:00