269 lines
10 KiB
JSON
269 lines
10 KiB
JSON
{
|
|
"name": "AionUi",
|
|
"version": "2.1.33",
|
|
"description": "Transform your command-line AI agent into a modern, efficient AI Chat interface.",
|
|
"keywords": [],
|
|
"license": "Apache-2.0",
|
|
"author": {
|
|
"name": "AionUi",
|
|
"email": "service@aionui.com"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"main": "./out/main/index.js",
|
|
"scripts": {
|
|
"dev": "electron-vite dev --config packages/desktop/electron.vite.config.ts",
|
|
"start": "electron-vite dev --config packages/desktop/electron.vite.config.ts",
|
|
"start:multi": "cross-env AIONUI_MULTI_INSTANCE=1 electron-vite dev --config packages/desktop/electron.vite.config.ts",
|
|
"cli": "electron-vite dev --config packages/desktop/electron.vite.config.ts",
|
|
"webui": "tsx scripts/webui.ts",
|
|
"webui:remote": "tsx scripts/webui.ts --remote",
|
|
"webui:prod": "cross-env NODE_ENV=production tsx scripts/webui.ts",
|
|
"webui:prod:remote": "cross-env NODE_ENV=production tsx scripts/webui.ts --remote",
|
|
"resetpass": "tsx scripts/resetpass.ts",
|
|
"package": "electron-vite build --config packages/desktop/electron.vite.config.ts",
|
|
"make": "electron-vite build --config packages/desktop/electron.vite.config.ts",
|
|
"dist": "node scripts/build-with-builder.js",
|
|
"dist:mac": "node scripts/build-with-builder.js auto --mac",
|
|
"dist:win": "node scripts/build-with-builder.js auto --win",
|
|
"dist:linux": "node scripts/build-with-builder.js auto --linux",
|
|
"build-mac": "node scripts/build-with-builder.js auto --mac --arm64 --x64",
|
|
"build-win": "node scripts/build-with-builder.js auto --win",
|
|
"build-deb": "node scripts/build-with-builder.js auto --linux",
|
|
"build-mac:arm64": "node scripts/build-with-builder.js arm64 --mac --arm64",
|
|
"build-mac:x64": "node scripts/build-with-builder.js x64 --mac --x64",
|
|
"build-win:arm64": "node scripts/build-with-builder.js arm64 --win --arm64",
|
|
"build-win:x64": "node scripts/build-with-builder.js x64 --win --x64",
|
|
"build-win:x64:fast": "cross-env ELECTRON_BUILDER_COMPRESSION_LEVEL=1 node scripts/build-with-builder.js x64 --win --x64 --config.win.signAndEditExecutable=false",
|
|
"build-win:x64:debug-versions": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/build-fast-debug-versions.ps1",
|
|
"build": "node scripts/build-with-builder.js auto --mac --arm64 --x64",
|
|
"lint": "oxlint",
|
|
"lint:fix": "oxlint --fix",
|
|
"format": "oxfmt",
|
|
"format:check": "oxfmt --check",
|
|
"i18n:types": "node scripts/generate-i18n-types.js",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:contract": "vitest run tests/contract --passWithNoTests",
|
|
"test:integration": "vitest run tests/integration",
|
|
"test:packaged:i18n": "vitest run tests/integration/i18n-packaged.test.ts",
|
|
"bench": "vitest bench",
|
|
"bench:db": "bun test ./tests/bench/database.bench.bun.ts",
|
|
"bench:report": "bunx tsx scripts/run-benchmarks.ts",
|
|
"bench:startup": "bunx tsx scripts/benchmark-startup.ts",
|
|
"bench:full": "bunx tsx scripts/run-benchmarks.ts --startup",
|
|
"debug:perf": "cross-env ACP_PERF=1 PERF_MONITOR=1 bun start",
|
|
"debug:perf:report": "bunx tsx scripts/debug-performance.ts --report",
|
|
"debug:mcp": "bunx tsx scripts/debug-mcp.ts",
|
|
"debug:mcp:list": "bunx tsx scripts/debug-mcp.ts list",
|
|
"debug:mcp:validate": "bunx tsx scripts/debug-mcp.ts validate",
|
|
"debug:custom-agent": "bunx tsx scripts/debug-custom-agent.ts",
|
|
"test:e2e": "playwright test --config playwright.config.ts",
|
|
"test:e2e:team": "playwright test --config playwright.config.ts tests/e2e/cases/teams/*.e2e.ts --reporter=list",
|
|
"test:e2e:team:create": "playwright test --config playwright.config.ts tests/e2e/cases/teams/team-create.e2e.ts --reporter=list",
|
|
"test:e2e:team:lifecycle": "playwright test --config playwright.config.ts tests/e2e/cases/teams/team-agent-lifecycle.e2e.ts --reporter=list",
|
|
"test:e2e:team:whitelist": "playwright test --config playwright.config.ts tests/e2e/cases/teams/team-whitelist.e2e.ts --reporter=list",
|
|
"test:e2e:team:comm": "playwright test --config playwright.config.ts tests/e2e/cases/teams/team-communication.e2e.ts --reporter=list",
|
|
"test:e2e:installer:error-codes": "node scripts/smoke-installer-failure-messagebox.js --all-scenarios --auto-consent",
|
|
"test:smoke:installer:failure-messagebox": "node scripts/smoke-installer-failure-messagebox.js",
|
|
"test:smoke:installer:self-lock": "node scripts/smoke-installer-self-lock.js",
|
|
"test:smoke:installer:rstrtmgr-ui": "node scripts/smoke-installer-rstrtmgr-ui.js",
|
|
"prepare": "husky",
|
|
"postinstall": "node scripts/postinstall.js",
|
|
"test:bun": "bun test packages/desktop/src/process/services/database/drivers/*.bun.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@agentclientprotocol/sdk": "^0.18.2",
|
|
"@aionui/web-host": "workspace:*",
|
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
"@arco-design/web-react": "^2.66.1",
|
|
"@aws-sdk/client-bedrock": "^3.987.0",
|
|
"@codemirror/commands": "^6.8.1",
|
|
"@codemirror/lang-css": "^6.3.1",
|
|
"@codemirror/lang-html": "^6.4.11",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lang-markdown": "^6.5.0",
|
|
"@codemirror/language": "^6.12.3",
|
|
"@codemirror/language-data": "^6.5.2",
|
|
"@codemirror/search": "^6.7.0",
|
|
"@codemirror/state": "^6.6.0",
|
|
"@codemirror/view": "^6.38.6",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@floating-ui/react": "^0.27.16",
|
|
"@google/genai": "^1.16.0",
|
|
"@grammyjs/transformer-throttler": "^1.2.1",
|
|
"@icon-park/react": "^1.4.2",
|
|
"@iconify-json/vscode-icons": "^1.2.53",
|
|
"@iconify/react": "^6.0.2",
|
|
"@larksuiteoapi/node-sdk": "^1.58.0",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@modelcontextprotocol/sdk": "^1.20.0",
|
|
"@monaco-editor/react": "^4.7.0",
|
|
"@office-ai/aioncli-core": "^0.30.6",
|
|
"@office-ai/platform": "^0.3.16",
|
|
"@sentry/electron": "^7.10.0",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"@uiw/codemirror-extensions-langs": "^4.25.1",
|
|
"@uiw/react-codemirror": "^4.25.2",
|
|
"@wecom/aibot-node-sdk": "^1.0.6",
|
|
"@xmldom/xmldom": "^0.8.11",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-sqlite3": "^12.4.1",
|
|
"buffer": "^6.0.3",
|
|
"builder-util-runtime": "9.5.1",
|
|
"classnames": "^2.5.1",
|
|
"cookie": "^1.0.2",
|
|
"cookie-parser": "^1.4.7",
|
|
"cors": "^2.8.5",
|
|
"croner": "^9.1.0",
|
|
"dayjs": "^1.11.18",
|
|
"diff": "^8.0.3",
|
|
"diff2html": "^3.4.55",
|
|
"dingtalk-stream": "^2.1.4",
|
|
"docx": "^9.5.1",
|
|
"electron-log": "^5.4.3",
|
|
"electron-squirrel-startup": "^1.0.1",
|
|
"electron-updater": "^6.6.2",
|
|
"eventemitter3": "^5.0.1",
|
|
"express": "^5.1.0",
|
|
"express-rate-limit": "^7.5.1",
|
|
"fix-path": "^4.0.0",
|
|
"grammy": "^1.39.3",
|
|
"html-to-text": "^9.0.5",
|
|
"https-proxy-agent": "^7.0.6",
|
|
"i18next": "^23.7.16",
|
|
"jsonrepair": "^3.13.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"katex": "^0.16.22",
|
|
"mammoth": "^1.11.0",
|
|
"mermaid": "^11.13.0",
|
|
"multer": "^2.1.1",
|
|
"officeparser": "^5.2.2",
|
|
"openai": "^5.12.2",
|
|
"pptx2json": "^0.0.10",
|
|
"process": "^0.11.10",
|
|
"qrcode-terminal": "^0.12.0",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-i18next": "^14.0.5",
|
|
"react-markdown": "^10.1.0",
|
|
"react-router-dom": "^7.8.0",
|
|
"react-syntax-highlighter": "^16.1.0",
|
|
"react-virtuoso": "^4.18.1",
|
|
"rehype-katex": "^7.0.1",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-breaks": "^4.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"semver": "^7.7.2",
|
|
"sharp": "^0.34.3",
|
|
"smol-toml": "^1.6.1",
|
|
"stream-browserify": "^3.0.0",
|
|
"streamdown": "^1.5.1",
|
|
"strip-json-comments": "^3.1.1",
|
|
"swr": "^2.3.6",
|
|
"tiny-csrf": "^1.1.6",
|
|
"turndown": "^7.2.2",
|
|
"turndown-plugin-gfm": "^1.0.2",
|
|
"web-tree-sitter": "^0.25.10",
|
|
"ws": "^8.18.3",
|
|
"xlsx-republish": "^0.20.3",
|
|
"yauzl": "^3.2.1",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/fuses": "^1.8.0",
|
|
"@electron/notarize": "^3.1.0",
|
|
"@playwright/test": "^1.58.2",
|
|
"@sentry/vite-plugin": "^5.1.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/cookie": "^1.0.0",
|
|
"@types/cookie-parser": "^1.4.9",
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.6",
|
|
"@types/html-to-text": "^9.0.4",
|
|
"@types/multer": "^2.1.0",
|
|
"@types/node": "^24.3.1",
|
|
"@types/qrcode-terminal": "^0.12.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"@types/semver": "^7.7.1",
|
|
"@types/turndown": "^5.0.6",
|
|
"@types/ws": "^8.18.1",
|
|
"@types/yauzl": "^2.10.3",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"builder-util": "26.15.0",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^17.2.1",
|
|
"electron": "^37.10.3",
|
|
"electron-builder": "26.15.2",
|
|
"electron-builder-squirrel-windows": "26.15.2",
|
|
"electron-devtools-installer": "^4.0.0",
|
|
"electron-vite": "^5.0.0",
|
|
"esbuild": "^0.25.11",
|
|
"husky": "^9.1.7",
|
|
"jest": "^30.1.3",
|
|
"jest-diff": "^30.0.4",
|
|
"jsdom": "^28.1.0",
|
|
"lint-staged": "^16.2.7",
|
|
"oxfmt": "^0.41.0",
|
|
"oxlint": "^1.56.0",
|
|
"patch-package": "^8.0.0",
|
|
"playwright": "^1.59.1",
|
|
"ts-morph": "^28.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.19.1",
|
|
"typescript": "^5.8.3",
|
|
"unocss": "^66.3.3",
|
|
"unocss-preset-extra": "^1.0.0",
|
|
"vite": "^6.4.1",
|
|
"vite-plugin-static-copy": "^3.2.0",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"optionalDependencies": {
|
|
"@rollup/rollup-win32-x64-msvc": "^4.46.2",
|
|
"electron-winstaller": "^5.4.0"
|
|
},
|
|
"resolutions": {
|
|
"@codemirror/language": "6.12.3",
|
|
"body-parser": "^2.2.1",
|
|
"hono": "^4.11.7",
|
|
"jws": "4.0.1",
|
|
"lodash-es": "^4.17.23",
|
|
"mdast-util-to-hast": "^13.2.1",
|
|
"node-forge": "^1.3.2",
|
|
"tar": "^7.5.7",
|
|
"tmp": "^0.2.5"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"oxlint --fix",
|
|
"oxfmt"
|
|
],
|
|
"*.{json,css,md,yaml,yml,toml}": [
|
|
"oxfmt"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=22 <25"
|
|
},
|
|
"aioncoreVersion": "v0.1.45",
|
|
"electronRebuild": {
|
|
"electronVersion": "^37.3.1"
|
|
},
|
|
"patchedDependencies": {
|
|
"7zip-bin@5.2.0": "patches/7zip-bin@5.2.0.patch"
|
|
},
|
|
"productName": "AionUi"
|
|
}
|