Files
hapi/cli/package.json
T
weishu 3765cc539b refactor: update dependencies and fix TypeScript instantiation depth issues
Updates ModelContextProtocol SDK and multiple dependent libraries to latest versions. Refactors TypeScript schemas to avoid instantiation depth issues by widening Zod types and using explicit type parameters.
2025-12-25 22:56:08 +08:00

82 lines
2.5 KiB
JSON

{
"name": "@twsxtd/hapi",
"version": "0.1.3",
"description": "App for agentic coding - access coding agent anywhere",
"author": "Kirill Dubovitskiy & weishu",
"license": "MIT",
"type": "module",
"homepage": "https://github.com/tiann/hapi",
"bugs": "https://github.com/tiann/hapi/issues",
"repository": {
"type": "git",
"url": "https://github.com/tiann/hapi",
"directory": "cli"
},
"bin": {
"hapi": "bin/hapi.cjs"
},
"files": [
"bin/hapi.cjs"
],
"imports": {
"#embedded-assets": {
"bun": "./src/runtime/embeddedAssets.bun.ts",
"default": "./src/runtime/embeddedAssets.stub.ts"
}
},
"optionalDependencies": {
"@twsxtd/hapi-darwin-arm64": "0.1.3",
"@twsxtd/hapi-darwin-x64": "0.1.3",
"@twsxtd/hapi-linux-arm64": "0.1.3",
"@twsxtd/hapi-linux-x64": "0.1.3",
"@twsxtd/hapi-win32-x64": "0.1.3"
},
"scripts": {
"typecheck": "tsc --noEmit",
"build:exe": "bun run scripts/build-executable.ts",
"build:exe:all": "bun run scripts/build-executable.ts --all",
"build:exe:allinone": "bun run scripts/build-executable.ts --with-web-assets",
"build:exe:allinone:all": "bun run scripts/build-executable.ts --with-web-assets --all",
"prepare-npm-packages": "bun run scripts/prepare-npm-packages.ts",
"prepack": "bun run prepare-npm-packages",
"tools:unpack": "bun run scripts/unpack-tools.ts",
"update-homebrew-formula": "bun run scripts/update-homebrew-formula.ts",
"test": "bun run tools:unpack && vitest run",
"test:win": "vitest run",
"dev": "bun src/index.ts",
"dev:local-server": "bun --env-file .env.dev-local-server src/index.ts",
"dev:integration-test-env": "bun --env-file .env.integration-test src/index.ts",
"release-all": "bun run scripts/release-all.ts"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.25.1",
"@types/cross-spawn": "^6.0.6",
"@types/ps-list": "^6.2.1",
"@types/react": "^19.2.7",
"axios": "^1.13.2",
"chalk": "^5.6.2",
"cross-spawn": "^7.0.6",
"fastify": "^5.6.2",
"fastify-type-provider-zod": "4.0.2",
"ink": "^6.6.0",
"ps-list": "^8.1.1",
"react": "^19.2.3",
"socket.io-client": "^4.8.3",
"tar": "^7.5.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": ">=20",
"bun-types": "^1.3.5",
"dotenv": "^16.6.1",
"typescript": "^5",
"vitest": "^3.2.4"
},
"resolutions": {
"whatwg-url": "14.2.0",
"parse-path": "7.0.3",
"@types/parse-path": "7.0.3"
},
"packageManager": "bun@1.3.5"
}