Files
agent-desktop/console/package.json
T
Pine 26e305e805 feat(chat): 阶段 2 聊天体验移植上游 v2.2.0
- B 桶 Chat 系直接采用上游(含云超服主题色映射):HarnessModelSelector/ChatActionGroup/ChatHeaderTitle/LoopModeSelector/ApprovalLevelToggle/ChatSenderTabsPanel/BackgroundTaskPanel/ContextUsageIndicator/HarnessApprovalToggle/useToolCallControl/harness/provider api
- ToolCardShell 上游基底+补本地 inputProgress;merge_less.py 三向 LESS 并合 8 个 module.less
- ModelSelector 三 Tab 并合(上游重构基底+云超服 pineagents Tab,默认保留 pineagents)
- Chat/index.tsx 上游基底 + 10 依赖模块(InlineMarkdown 平铺版/RichFileReferenceInput/MediaDownload 等)
- 复制 upstream_only:turnUsage/turnUsageStore/sessionRoute/loopModeDescription/resolveLocalizedText
- api/types/provider.ts 双改并合(ProviderInfo 补 discovery 字段)
- 新增依赖 lexical@0.48.0+@lexical/react@0.48.0;vite.config 增加 DefaultCards/Audios 精确 alias
- locales 6 语言补齐 36 个上游 chat.* key(my/th/lo 英文占位)
- 测试采用上游版;ModelSelector.test 预设 pro tab 保留云超服默认 pineagents
- tsc 0 错误,build 通过,阶段 2 相关 344 测试全过
2026-09-04 11:55:51 +08:00

103 lines
3.8 KiB
JSON

{
"name": "pineagents-console",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --host",
"build": "tsc -b && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build && node scripts/copy-console.mjs",
"build:prod": "tsc -b && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build --mode production && node scripts/copy-console.mjs",
"build:tauri-bootstrap": "tsc -b && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build --mode tauri --config src-tauri/vite.bootstrap.config.ts && node ../scripts/pack-tauri/finalize_tauri_bootstrap.mjs",
"build:test": "tsc -b && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build --mode test",
"format": "tsc -b --noEmit && prettier --write --cache .",
"format:check": "tsc -b --noEmit && prettier --check .",
"lint": "eslint .",
"preview": "vite preview",
"preview:prod": "vite preview --mode production",
"preview:test": "vite preview --mode test",
"test": "vitest",
"test:run": "node --max-old-space-size=4096 ./node_modules/vitest/vitest.mjs run",
"test:coverage": "node --max-old-space-size=4096 ./node_modules/vitest/vitest.mjs run --coverage"
},
"dependencies": {
"3d-force-graph": "1.80.0",
"@agentscope-ai/chat": "patch:@agentscope-ai/chat@npm%3A1.1.72-beta.1783494781362#~/.yarn/patches/@agentscope-ai-chat-npm-1.1.72-beta.1783494781362-c6cb2dc69d.patch",
"@agentscope-ai/design": "^1.0.14",
"@agentscope-ai/icons": "^1.0.67",
"@ant-design/icons": "^5.0.1",
"@ant-design/plots": "^2.6.8",
"@ant-design/x-markdown": "^2.2.2",
"@appica/icons-react": "^1.0.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@lexical/react": "0.48.0",
"@monaco-editor/react": "^4.7.0",
"@tauri-apps/api": "^2.10.1",
"@tauri-apps/plugin-dialog": "^2.7.1",
"@types/react-window": "^1.8.8",
"@vvo/tzdb": "^6.198.0",
"ahooks": "^3.9.6",
"antd": "^5.29.1",
"antd-style": "^3.7.1",
"dayjs": "^1.11.13",
"i18next": "^25.8.4",
"jszip": "^3.10.1",
"lexical": "0.48.0",
"lucide-react": "^0.562.0",
"mermaid": "^11.12.2",
"monaco-editor": "0.55.1",
"motion": "^12.42.2",
"mqtt": "^5.15.2",
"pretty-bytes": "^7.1.0",
"react": "^18",
"react-dom": "^18",
"react-i18next": "^16.5.4",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.11.1",
"react-router-dom": "^7.13.0",
"react-syntax-highlighter": "^16.1.1",
"react-window": "^1.8.10",
"remark-gfm": "^4.0.1",
"three": "0.185.1",
"three-spritetext": "1.10.0",
"zustand": "^5.0.3"
},
"devDependencies": {
"@eslint/js": "^9.25.0",
"@tauri-apps/cli": "^2.10.1",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/babel__core": "^7.20.5",
"@types/babel__generator": "^7.27.0",
"@types/babel__template": "^7.4.4",
"@types/babel__traverse": "^7.28.0",
"@types/i18next": "^12.1.0",
"@types/node": "^25.0.3",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/three": "^0",
"@vitejs/plugin-react": "^4.4.1",
"@vitest/coverage-v8": "^4.1.6",
"eslint": "^9.25.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^16.0.0",
"jsdom": "^29.0.2",
"less": "^4.5.1",
"prettier": "3.0.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.30.1",
"vite": "^6.3.5",
"vitest": "^4.1.4"
},
"repository": "https://github.com/agentscope-ai/agentscope-runtime.git",
"packageManager": "yarn@4.18.0",
"resolutions": {
"@types/react": "18.3.31"
}
}