feat(chat): enhance chat interface with markdown support

- Add markdown rendering with react-markdown and remark-gfm
- Create ChatMessage component with code copy functionality
- Add typing indicator animation during AI response
- Create welcome screen for new users
- Add Textarea component for multi-line input
- Improve message styling with avatars and hover actions
- Add Gateway connection status awareness
- Add prose styling for markdown content
This commit is contained in:
Haze
2026-02-05 23:43:02 +08:00
Unverified
parent bad94e7e76
commit 727869f2b8
7 changed files with 1418 additions and 94 deletions

View File

@@ -2,7 +2,10 @@
"name": "clawx",
"version": "0.1.0",
"pnpm": {
"onlyBuiltDependencies": ["electron", "esbuild"]
"onlyBuiltDependencies": [
"electron",
"esbuild"
]
},
"description": "ClawX - Graphical AI Assistant based on OpenClaw",
"main": "dist-electron/main/index.js",
@@ -40,6 +43,8 @@
"dependencies": {
"electron-store": "^10.0.0",
"electron-updater": "^6.3.9",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"ws": "^8.18.0"
},
"devDependencies": {