tpmjs/packages/tools/hello/package.json
Ajax Davis 5c9f1a1d0a chore: update dependencies with compatibility fixes
- 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.
2026-01-09 22:49:41 +10:00

77 lines
1.8 KiB
JSON

{
"name": "@tpmjs/hello",
"version": "0.0.2",
"description": "Example TPMJS tools - Hello World and Hello Name",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"clean": "rm -rf dist",
"type-check": "tsc --noEmit"
},
"keywords": [
"tpmjs",
"ai-sdk",
"hello",
"example"
],
"tpmjs": {
"category": "text-analysis",
"frameworks": [
"vercel-ai"
],
"tools": [
{
"exportName": "helloWorldTool",
"description": "Returns a simple 'Hello, World!' greeting with optional timestamp and customizable message",
"parameters": [
{
"name": "includeTimestamp",
"type": "boolean",
"description": "Whether to include the current timestamp in the greeting",
"required": false
}
],
"returns": {
"type": "string",
"description": "A greeting message, optionally with timestamp"
}
},
{
"exportName": "helloNameTool",
"description": "Returns a personalized greeting with the provided name",
"parameters": [
{
"name": "name",
"type": "string",
"description": "The name to greet",
"required": true
},
{
"name": "formal",
"type": "boolean",
"description": "Whether to use formal greeting (Mr./Ms.)",
"required": false
}
],
"returns": {
"type": "string",
"description": "A personalized greeting message"
}
}
]
},
"dependencies": {
"ai": "6.0.23"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
"files": [
"dist",
"README.md"
]
}