hyperchat/packages/core/package.json

139 lines
4.2 KiB
JSON

{
"name": "@dadigua/hyperchat",
"version": "2.0.0-alpha.63",
"description": "HyperChat Core - Node.js backend and CLI tool with AI chat, MCP support",
"author": "Dadigua <0laopo0@gmail.com>",
"license": "MIT",
"type": "module",
"main": "dist/main.mjs",
"module": "dist/main.mjs",
"bin": {
"hyperchat": "dist/core/src/cli/index.mjs",
"hc": "dist/core/src/cli/index.mjs"
},
"files": [
"dist/**/*",
"web-build/**/*",
"README.md"
],
"exports": {
".": {
"types": "./dist/lib.d.mts",
"import": "./dist/lib.mjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/BigSweetPotatoStudio/HyperChat.git"
},
"dependencies": {
"@ai-sdk/anthropic": "^2.0.4",
"@ai-sdk/google": "^2.0.6",
"@ai-sdk/openai": "^2.0.15",
"@ai-sdk/openai-compatible": "^1.0.7",
"@inkjs/ui": "2.0.0",
"@modelcontextprotocol/sdk": "^1.17.3",
"@openrouter/ai-sdk-provider": "^1.1.2",
"@types/js-yaml": "^4.0.9",
"@types/marked": "5.0.2",
"@types/react": "19.1.8",
"@types/uuid": "^10.0.0",
"adm-zip": "^0.5.14",
"ai": "^5.0.15",
"chalk": "4.1.2",
"chrome-launcher": "^1.2.0",
"cross-spawn": "^7.0.6",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.13",
"eventsource": "^3.0.2",
"express": "^5.1.0",
"fs-extra": "^11.3.0",
"glob": "^11.0.3",
"html-to-text": "9.0.5",
"http-proxy-agent": "^7.0.2",
"https-proxy-agent": "^7.0.6",
"image-js": "^0.35.6",
"ink": "6.0.1",
"ink-box": "1.0.0",
"ink-spinner": "5.0.0",
"ink-text-input": "6.0.0",
"js-yaml": "^4.1.0",
"json-schema-to-zod": "^2.6.1",
"jsonc-parser": "^3.3.1",
"koa-body": "^6.0.1",
"koa-mount": "^4.0.0",
"koa-router": "^13.0.1",
"koa-static": "^5.0.0",
"log4js": "^6.9.1",
"marked": "15.0.12",
"marked-terminal": "7.3.0",
"multer": "^1.4.5-lts.2",
"node-cron": "^3.0.3",
"node-fetch": "^2.7.0",
"pdf-parse": "^1.1.1",
"pdfjs-dist": "^4.10.38",
"puppeteer-core": "^22.15.0",
"react": "19.1.0",
"react-markdown": "^9.0.1",
"shell-path": "^3.0.0",
"socket.io": "^4.8.1",
"strip-ansi": "^7.1.0",
"uuid": "^11.1.0",
"webdav": "^5.6.0",
"zod": "^3.25.76",
"zod-to-json-schema": "^3.24.6",
"zx": "8.7.1"
},
"devDependencies": {
"@types/adm-zip": "^0.5.5",
"@types/body-parser": "^1.19.6",
"@types/cors": "^2.8.18",
"@types/cross-spawn": "^6.0.6",
"@types/express": "^5.0.2",
"@types/html-to-text": "9.0.4",
"@types/jest": "^29.5.12",
"@types/marked-terminal": "6.1.1",
"@types/multer": "^1.4.12",
"@types/node-cron": "^3.0.11",
"@types/pdfjs-dist": "^2.10.378",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"cross-env": "^7.0.3",
"happy-dom": "^18.0.1",
"jest": "^29.7.0",
"raw-loader": "^4.0.2",
"ts-jest": "^29.1.2",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"vitest": "^3.2.4",
"webpack-node-externals": "^3.0.0"
},
"scripts": {
"dev": "nodemon -w src --exec cross-env myEnv=dev npx tsx --inspect=19999 src/cli/index.mts serve",
"dev:proxy": "nodemon -w src --exec cross-env myEnv=dev HTTP_PROXY=http://localhost:8899 NODE_TLS_REJECT_UNAUTHORIZED=0 npx tsx --inspect=19999 src/cli/index.mts serve",
"dev:cli": "npx tsx src/cli/index.mts chat",
"dev:cli-proxy": "cross-env HTTP_PROXY=http://localhost:8899 NODE_TLS_REJECT_UNAUTHORIZED=0 npx tsx src/cli/index.mts chat",
"dev:cli-debug": "cross-env DEBUG=1 HTTP_PROXY=http://localhost:8899 NODE_TLS_REJECT_UNAUTHORIZED=0 npx tsx --inspect-brk --inspect=19999 src/cli/index.mts chat",
"start": "npx tsx src/cli/index.mts serve",
"build": "node build.mjs",
"build:web": "cd ../web && npm run build",
"move:web": "node scripts/move-web.js",
"build:full": "npm run build && npm run build:web && npm run move:web",
"typecheck": "npx tsc --noEmit",
"test": "vitest run",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"clean": "rm -rf dist"
},
"keywords": [
"ai",
"chat",
"cli",
"mcp",
"nodejs",
"typescript"
]
}