Files
toor 836d0228d2 Phase 007: migrate every remaining view from naive-ui to Arco Design Vue
The project now has exactly one UI library. Every naive-ui component in
packages/client/src is replaced by its Arco equivalent across 24 views and
roughly 80 components, and naive-ui is dropped from package.json along with
its transitive vueuc / @css-render / vdirs / seemly dependencies.

The migration is rendering-layer only. No store logic, no API contract, and
no /chat-run payload was touched.

Three classes of leftover were invisible to `grep naive-ui` and are now
covered by tests/client/no-naive-ui.test.ts, which asserts all three:
  - dead .n-* class names in style blocks
  - dead --n-* custom properties
  - naive-ui in package.json

Notable behavioural traps handled along the way, recorded in
docs/arco-migration-rules.md:
  - a-input-password defaults to masked; passing default-visibility="false"
    would have exposed API keys in clear text
  - a-upload fires a real XHR unless auto-upload is false
  - nested Trigger components fight over the first element child, so the
    group-chat settings dropdown was flattened
  - Arco renders tooltip default-slot text inline, which was silently
    collapsing the chat and group-chat toolbars
2026-10-18 22:57:25 +08:00

135 lines
3.8 KiB
JSON

{
"name": "hermes-ui",
"version": "0.6.29",
"description": "Self-hosted web dashboard for Hermes Agent — chat, sessions, skills, MCP, and usage analytics",
"repository": {
"type": "git",
"url": "https://gitea.erhe.top/toor/hermes-ui.git"
},
"license": "BSL-1.1",
"engines": {
"node": ">=23.0.0"
},
"keywords": [
"hermes",
"hermes-agent",
"hermes-ui",
"agent",
"ai",
"ai-agent",
"ai-chat",
"ai-dashboard",
"llm",
"multi-model",
"chat-ui",
"dashboard",
"self-hosted",
"multi-platform",
"vue3",
"typescript"
],
"bin": {
"hermes-ui": "./bin/hermes-ui.mjs",
"hermes-ui-mcp": "./bin/hermes-ui-mcp.mjs"
},
"scripts": {
"start": "vite --host --port 8648",
"dev": "concurrently \"npm run dev:server\" \"npm run dev:client\"",
"dev:client": "cross-env HERMES_WEB_UI_BACKEND_PORT=8647 vite --host --port 8649 --strictPort",
"dev:server": "nodemon",
"build": "npm run openapi:generate && vue-tsc -b && vite build && tsc --noEmit -p packages/server/tsconfig.json && node scripts/build-server.mjs",
"harness:check": "node scripts/harness-check.mjs",
"preview": "NODE_ENV=production vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"openapi:generate": "node scripts/generate-openapi.mjs"
},
"files": [
"bin/",
"dist/"
],
"dependencies": {
"@arco-design/web-vue": "^2.58.0",
"@audio/decode-mp3": "^1.1.0",
"@audio/decode-wav": "^1.2.0",
"@vscode/markdown-it-katex": "^1.1.2",
"@vue-flow/background": "^1.3.2",
"@vue-flow/controls": "^1.1.3",
"@vue-flow/core": "^1.48.2",
"@vue-flow/minimap": "^1.5.4",
"@vue-flow/node-resizer": "^1.5.1",
"adm-zip": "^0.5.17",
"agent-browser": "^0.26.0",
"eventsource": "^4.1.0",
"js-tiktoken": "^1.0.21",
"katex": "^0.17.0",
"node-edge-tts": "^1.2.10",
"node-pty": "^1.1.0",
"socket.io": "^4.8.3",
"socket.io-client": "^4.8.3"
},
"devDependencies": {
"@koa/bodyparser": "^5.0.0",
"@koa/cors": "^5.0.0",
"@koa/router": "^15.4.0",
"@multiavatar/multiavatar": "^1.0.7",
"@pinia/testing": "^1.0.3",
"@playwright/test": "^1.60.0",
"@types/adm-zip": "^0.5.8",
"@types/eventsource": "^1.1.15",
"@types/js-yaml": "^4.0.9",
"@types/katex": "^0.16.8",
"@types/koa": "^2.15.0",
"@types/koa__cors": "^5.0.0",
"@types/koa__router": "^12.0.5",
"@types/koa-send": "^4.1.6",
"@types/koa-static": "^4.0.4",
"@types/markdown-it": "^14.1.2",
"@types/node": "^24.12.2",
"@types/qrcode": "^1.5.6",
"@types/ws": "^8.18.1",
"@vitejs/plugin-vue": "^6.0.5",
"@vitest/coverage-v8": "^3.2.4",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.9.1",
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-web-links": "^0.12.0",
"@xterm/xterm": "^6.0.0",
"axios": "^1.9.0",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"esbuild": "^0.27.0",
"highlight.js": "^11.11.1",
"js-yaml": "^4.1.1",
"jsdom": "^27.0.1",
"koa": "^2.15.3",
"koa-send": "^5.0.1",
"koa-static": "^5.0.0",
"markdown-it": "^14.1.1",
"mermaid": "^11.14.0",
"monaco-editor": "^0.55.1",
"nodemon": "^3.1.14",
"pinia": "^3.0.4",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3",
"qrcode": "^1.5.4",
"sass": "^1.99.0",
"tar": "^7.5.16",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsoa": "^7.0.0-alpha.0",
"typescript": "~6.0.2",
"vite": "^8.0.4",
"vitest": "^3.2.4",
"vue": "^3.5.32",
"vue-i18n": "^11.3.2",
"vue-router": "^4.6.4",
"vue-tsc": "^3.2.8",
"vue-virtual-scroller": "^3.0.4",
"ws": "^8.20.0"
}
}