Files
extension/packages/ai/package.json
T
Hanzo Dev 16904f03b0 feat: prepare @hanzo/ai v0.1.1 for publishing
- Add comprehensive README with examples
- Add LICENSE file
- Configure package.json for public npm publishing
- Fix browser compatibility issues in state module
- All tests passing (31 tests)
- Ready for npm publish with OTP
2025-07-24 03:58:36 -05:00

83 lines
1.9 KiB
JSON

{
"name": "@hanzo/ai",
"version": "0.1.1",
"description": "The AI Toolkit for TypeScript - AgentKit with MCP support",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./server": {
"types": "./dist/server/index.d.ts",
"import": "./dist/server/index.mjs",
"require": "./dist/server/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.mjs",
"require": "./dist/react/index.js"
}
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest",
"type-check": "tsc --noEmit"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"zod": "^3.22.0",
"eventsource-parser": "^1.0.0",
"nanoid": "^5.0.0",
"@opentelemetry/api": "^1.7.0",
"@opentelemetry/resources": "^1.19.0",
"@opentelemetry/semantic-conventions": "^1.19.0",
"@opentelemetry/instrumentation": "^0.46.0",
"@opentelemetry/sdk-trace-node": "^1.19.0",
"@opentelemetry/sdk-trace-base": "^1.19.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.46.0",
"winston": "^3.11.0"
},
"peerDependencies": {
"react": "^18.0.0",
"zod": "^3.0.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"tsup": "^8.0.0",
"typescript": "^5.3.0",
"vitest": "^1.0.0"
},
"keywords": [
"ai",
"llm",
"agents",
"mcp",
"typescript",
"hanzo"
],
"author": "Hanzo AI",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hanzoai/ai.git"
}
}