- Update all packages to latest versions via pnpm update --latest - Downgrade Prisma 7 to 6 (v7 requires schema migration) - Downgrade Tailwind CSS 4 to 3 (v4 requires PostCSS migration) - Downgrade Storybook 10 to 8 (addons not available in v10) - Pin cheerio to 1.0.0-rc.12 via pnpm override (type exports changed) - Fix AI SDK tool definitions: parameters -> inputSchema - Fix cheerio types in extract-meta and table-extract tools - Add explicit type annotations to tool execute functions - Migrate biome config to v2.3.11 schema All type-checks, tests, and builds pass.
70 lines
1.9 KiB
JSON
70 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.23",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@tpmjs/tsconfig": "workspace:*",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|