tpmjs/packages/tools/search-registry/package.json
Ajax Davis f24eebc196 feat: add npm-like features to tool detail page and update keyword to tpmjs
- 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>
2025-12-29 21:30:42 +10:00

63 lines
1.9 KiB
JSON

{
"name": "@tpmjs/search-registry",
"version": "0.1.0",
"description": "AI SDK tool for searching the TPMJS tool registry",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"type-check": "tsc --noEmit"
},
"keywords": ["tpmjs", "ai", "search", "tool-registry"],
"dependencies": {
"ai": "6.0.0-beta.124",
"zod": "^3.23.0"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"typescript": "^5.7.2"
},
"tpmjs": {
"category": "api-integration",
"frameworks": ["vercel-ai"],
"tools": [
{
"exportName": "searchTpmjsToolsTool",
"description": "Search the TPMJS tool registry to find AI SDK tools by keyword, category, or description. Returns tool metadata for dynamic loading.",
"parameters": [
{
"name": "query",
"type": "string",
"description": "Search query (keywords, tool names, descriptions)",
"required": true
},
{
"name": "category",
"type": "string",
"description": "Filter by category (optional)",
"required": false
},
{
"name": "limit",
"type": "number",
"description": "Maximum results (1-20, default 10)",
"required": false
}
],
"returns": {
"type": "object",
"description": "Search results with tool metadata including packageName, exportName, version, importUrl"
},
"aiAgent": {
"useCase": "Use when you need a tool that isn't currently available. Search for tools by keyword or domain.",
"examples": [
"Search for 'weather' when asked about weather",
"Search for 'wikipedia' when asked to search Wikipedia",
"Search for 'database' when working with SQL"
]
}
}
]
}
}