tpmjs/packages/tools/hello/package.json
Ajax Davis 67fa89b1fe chore: use workspace references for registry packages
- Changed @tpmjs/registry-execute and @tpmjs/registry-search to workspace:*
- This allows the web app to use local workspace versions
- Published npm packages still available for external users
2026-01-25 11:37:59 +10:00

77 lines
1.8 KiB
JSON

{
"name": "@tpmjs/hello",
"version": "0.0.3",
"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": [
{
"name": "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"
}
},
{
"name": "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.49"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
"files": [
"dist",
"README.md"
]
}