tpmjs/packages/types/package.json
Ajax Davis bc36d366bc feat: add hot-swappable executor support for collections and agents
- Add executor configuration to Collection and Agent models in Prisma schema
- Create ExecutorConfigPanel component for selecting default or custom executors
- Add executor resolution logic with cascade (Agent → Collection → System Default)
- Create /api/executors/verify endpoint to test custom executor connectivity
- Add executor documentation page at /docs/executors with API specification
- Create deployable Vercel executor template in templates/vercel-executor/
- Update MCP handlers and agent tool execution to use configurable executors
- Add executor types and schemas to @tpmjs/types package

Users can now deploy their own executor instances and configure collections
or agents to use custom executors instead of the TPMJS default executor.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-09 00:19:22 +10:00

63 lines
1.5 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"
},
"./user": {
"types": "./dist/user.d.ts",
"default": "./dist/user.js"
},
"./executor": {
"types": "./dist/executor.d.ts",
"default": "./dist/executor.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"
}
}