tpmjs/packages/tools/official/ticket-categorize/package.json
Ajax Davis 2cd2b10cd0 refactor: replace exportName with name throughout codebase
- Update TpmjsToolDefinitionSchema to only use 'name' field
- Add 'sandbox' as valid category for sprites tools
- Update all package.json files to use 'name' instead of 'exportName'
- Update documentation and source files accordingly
- Add 11 new sprites tools for sandbox/code-execution
2026-01-14 14:18:36 +10:00

80 lines
2.3 KiB
JSON

{
"name": "@tpmjs/ticket-categorize",
"version": "0.1.0",
"description": "Categorizes support tickets by type, priority, and product area",
"type": "module",
"keywords": [
"tpmjs",
"cx",
"support",
"tickets",
"categorization",
"customer-success"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist .turbo"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/ajaxdavis/tpmjs.git",
"directory": "packages/tools/official/ticket-categorize"
},
"homepage": "https://tpmjs.com",
"license": "MIT",
"tpmjs": {
"category": "cx",
"frameworks": [
"vercel-ai"
],
"tools": [
{
"name": "ticketCategorizeTool",
"description": "Categorizes support tickets by type, priority, and product area. Suggests routing based on category and identifies urgent issues requiring immediate attention.",
"parameters": [
{
"name": "ticket",
"type": "object",
"description": "Support ticket with subject, description, and optional metadata",
"required": true
}
],
"returns": {
"type": "TicketCategorization",
"description": "Categorization with type, priority, product area, routing suggestion, and reasoning"
},
"aiAgent": {
"useCase": "Use this tool to automate support ticket triage, route tickets to the right team, prioritize urgent issues, and improve support efficiency.",
"limitations": "Categorization is keyword-based. For complex tickets, consider AI-powered classification. Routing suggestions are generic and should be customized to your organization.",
"examples": [
"Automatically categorize incoming support tickets",
"Prioritize critical bugs and outages",
"Route tickets to appropriate support teams"
]
}
}
]
},
"dependencies": {
"ai": "6.0.23"
}
}