- Updated all packages from ai@6.0.23 to ai@6.0.49 - Added pnpm override to ensure consistent version - Created changeset for publishing affected packages
77 lines
1.8 KiB
JSON
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": [
|
|
{
|
|
"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"
|
|
]
|
|
}
|