- Add download trend sparkline chart showing 30-day download history - Add bundle size component with minified/gzipped sizes via bundlephobia proxy - Add more install commands: yarn, bun, deno (in addition to npm, pnpm) - Change discovery keyword from "tpmjs-tool" to "tpmjs" across entire codebase - Update sync endpoints to use new keyword - Update all documentation and package.json files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
72 lines
2.1 KiB
JSON
72 lines
2.1 KiB
JSON
{
|
|
"name": "@tpmjs/registry-execute",
|
|
"version": "0.1.3",
|
|
"description": "Execute tools from the TPMJS registry in any AI SDK agent",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"keywords": ["tpmjs", "ai-sdk", "vercel-ai", "registry", "execute"],
|
|
"dependencies": {
|
|
"ai": "6.0.0-beta.124"
|
|
},
|
|
"devDependencies": {
|
|
"@tpmjs/tsconfig": "workspace:*",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"files": ["dist", "README.md"],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ajaxdavis/tpmjs.git",
|
|
"directory": "packages/tools/registryExecute"
|
|
},
|
|
"homepage": "https://tpmjs.com",
|
|
"license": "MIT",
|
|
"tpmjs": {
|
|
"category": "api-integration",
|
|
"frameworks": ["vercel-ai"],
|
|
"tools": [
|
|
{
|
|
"exportName": "registryExecuteTool",
|
|
"description": "Execute a tool from the TPMJS registry by toolId. Use registrySearchTool first to find toolIds.",
|
|
"parameters": [
|
|
{
|
|
"name": "toolId",
|
|
"type": "string",
|
|
"description": "Tool identifier from registrySearchTool (format: 'package::exportName')",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "params",
|
|
"type": "object",
|
|
"description": "Parameters to pass to the tool",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "env",
|
|
"type": "object",
|
|
"description": "Environment variables (API keys) if required by the tool",
|
|
"required": false
|
|
}
|
|
],
|
|
"returns": {
|
|
"type": "object",
|
|
"description": "Tool execution result with output and timing"
|
|
},
|
|
"aiAgent": {
|
|
"useCase": "Use after finding a tool with registrySearchTool. Execute the tool by its toolId with the required parameters.",
|
|
"examples": [
|
|
"Execute '@exalabs/ai-sdk::webSearch' with query parameter",
|
|
"Execute '@firecrawl/ai-sdk::scrapeTool' with url parameter"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|