tpmjs/packages/types/package.json
Ajax Davis 552f319583 feat: add AI Agents feature with multi-provider support and documentation
- Add Agent, AgentCollection, AgentTool, UserApiKey, Conversation, Message models to Prisma schema
- Create agent types and Zod schemas in @tpmjs/types
- Implement AES-256 API key encryption utilities
- Add CRUD API endpoints for agents, tools, collections, and user API keys
- Create conversation streaming endpoint with SSE events
- Build agent tool builder to merge collections and individual tools
- Add dashboard pages: agents list, new agent form, agent detail/edit, chat interface
- Add API keys settings page for managing provider keys
- Add comprehensive Agents documentation section to /docs
- Update navigation to include Agents link in header and mobile menu
- Add new icons: terminal, puzzle, message, key, info, send

Supported providers: OpenAI, Anthropic, Google, Groq, Mistral
2026-01-02 20:08:52 +10:00

55 lines
1.3 KiB
JSON

{
"name": "@tpmjs/types",
"version": "0.2.0",
"description": "Shared TypeScript types and Zod schemas for TPMJS",
"author": "TPMJS",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tpmjs/tpmjs.git",
"directory": "packages/types"
},
"homepage": "https://tpmjs.com",
"keywords": ["tpmjs", "typescript", "types", "zod", "schemas"],
"type": "module",
"exports": {
"./tool": {
"types": "./dist/tool.d.ts",
"default": "./dist/tool.js"
},
"./registry": {
"types": "./dist/registry.d.ts",
"default": "./dist/registry.js"
},
"./tpmjs": {
"types": "./dist/tpmjs.d.ts",
"default": "./dist/tpmjs.js"
},
"./collection": {
"types": "./dist/collection.d.ts",
"default": "./dist/collection.js"
},
"./agent": {
"types": "./dist/agent.d.ts",
"default": "./dist/agent.js"
}
},
"files": ["dist"],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist .turbo"
},
"dependencies": {
"zod": "^4.1.13"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"tsup": "^8.3.5",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
}
}