重构Agent管理和连接(提升性能和速度); 支持OpenClaw会话解析; 彻底删除支持不完整的Agent和相关代码,减轻维护工作量,等后续真正适配好了再加回来; 升级Claude Code、Gemini CLI的SDK版本; 提前检测Agent是否支持fork会话,避免无效展示和操作; 修改postinstall,解决js加载404问题(不影响使用)。
74 lines
2.3 KiB
JSON
74 lines
2.3 KiB
JSON
{
|
|
"name": "codeg",
|
|
"private": true,
|
|
"version": "0.2.0",
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build",
|
|
"lint": "eslint",
|
|
"tauri": "tauri",
|
|
"postinstall": "node -e \"const fs=require('fs');fs.cpSync('node_modules/monaco-editor/min/vs','public/vs',{recursive:true,force:true});const p='public/vs/loader.js';fs.writeFileSync(p,fs.readFileSync(p,'utf8').replace(/\\n\\/\\/# sourceMappingURL=.*/,''))\""
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "^1.1.0",
|
|
"@lobehub/icons": "^4.11.0",
|
|
"@monaco-editor/react": "^4.7.0",
|
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
"@streamdown/cjk": "^1.0.2",
|
|
"@streamdown/code": "^1.0.2",
|
|
"@streamdown/math": "^1.0.2",
|
|
"@streamdown/mermaid": "^1.0.2",
|
|
"@tanstack/react-virtual": "^3.13.18",
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-dialog": "^2.6.0",
|
|
"@tauri-apps/plugin-opener": "^2",
|
|
"@tauri-apps/plugin-process": "^2.3.1",
|
|
"@tauri-apps/plugin-updater": "^2.10.0",
|
|
"@tauri-apps/plugin-window-state": "~2.4.1",
|
|
"@xterm/addon-fit": "^0.11.0",
|
|
"@xterm/addon-web-links": "^0.12.0",
|
|
"@xterm/xterm": "^6.0.0",
|
|
"ai": "^6.0.78",
|
|
"ansi-to-react": "^6.2.6",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"ignore": "^7.0.5",
|
|
"lucide-react": "^0.563.0",
|
|
"monaco-editor": "^0.55.1",
|
|
"motion": "^12.34.0",
|
|
"next": "^16",
|
|
"next-intl": "^4.8.3",
|
|
"next-themes": "^0.4.6",
|
|
"postcss": "^8.5.6",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "^2.1.9",
|
|
"remark-gfm": "^4.0.1",
|
|
"shadcn": "^3.8.4",
|
|
"shiki": "^3.22.0",
|
|
"sonner": "^2.0.7",
|
|
"streamdown": "^2.2.0",
|
|
"tailwind-merge": "^3.4.0",
|
|
"tailwindcss": "^4.1.18",
|
|
"use-stick-to-bottom": "^1.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@tauri-apps/cli": "^2",
|
|
"@types/node": "25.2.2",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"eslint": "^9.39.2",
|
|
"eslint-config-next": "^16.1.6",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.5",
|
|
"prettier": "^3.8.1",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "~5.8.3"
|
|
}
|
|
}
|