feat(desktop): chat core with streaming, sessions, tool steps and markdown-it rendering

This commit is contained in:
zhayujie
2026-06-20 00:40:11 +08:00
parent 3baa3252bc
commit e9d9b566a4
11 changed files with 1490 additions and 1797 deletions

View File

@@ -18,17 +18,18 @@
"dist:win": "npm run build && electron-builder --win"
},
"dependencies": {
"highlight.js": "^11.11.1",
"lucide-react": "^1.21.0",
"markdown-it": "^14.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0",
"react-markdown": "^9.0.1",
"react-syntax-highlighter": "^15.6.1",
"lucide-react": "^0.460.0"
"zustand": "^5.0.14"
},
"devDependencies": {
"@types/markdown-it": "^14.1.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
@@ -71,7 +72,9 @@
"target": [
{
"target": "dmg",
"arch": ["universal"]
"arch": [
"universal"
]
}
]
},
@@ -80,7 +83,9 @@
"target": [
{
"target": "nsis",
"arch": ["x64"]
"arch": [
"x64"
]
}
]
},