{ "name": "@tpmjs/tools-health-score-calculate", "version": "0.1.0", "description": "Calculates customer health score from usage, support, payment, and engagement data", "type": "module", "keywords": [ "tpmjs", "customer-experience", "ai", "health-score", "customer-success", "analytics" ], "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/anthropics/tpmjs.git", "directory": "packages/tools/official/health-score-calculate" }, "homepage": "https://tpmjs.com", "license": "MIT", "tpmjs": { "category": "cx", "frameworks": [ "vercel-ai" ], "tools": [ { "name": "healthScoreCalculateTool", "description": "Calculates customer health score from usage, support, payment, and engagement data", "parameters": [ { "name": "customer", "type": "object", "description": "Customer data including usage metrics, support tickets, payment history, and engagement", "required": true } ], "returns": { "type": "HealthScore", "description": "Health score with component scores, overall score, risk level, and trend analysis" } } ] }, "dependencies": { "ai": "6.0.49" } }