Cloudflare Workers + Hono + D1 + KV + R2 stack with 4 specialized AI agents (onboarding, troubleshoot, asset, billing), OpenAI function calling with 7 tool definitions, human escalation, pending action approval workflow, feedback collection, audit logging, i18n (ko/en), and Workers AI fallback. 43 source files, 45 tests passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
981 B
JSON
32 lines
981 B
JSON
{
|
|
"name": "telegram-ai-support",
|
|
"version": "1.0.0",
|
|
"description": "Telegram AI customer support system with Cloudflare Workers + D1",
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"dev": "wrangler dev",
|
|
"deploy": "wrangler deploy",
|
|
"db:create": "wrangler d1 create telegram-ai-support",
|
|
"db:init": "wrangler d1 execute telegram-ai-support --file=schema.sql",
|
|
"db:init:local": "wrangler d1 execute telegram-ai-support --local --file=schema.sql",
|
|
"tail": "wrangler tail",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vitest-pool-workers": "^0.12.10",
|
|
"@cloudflare/workers-types": "^4.20241127.0",
|
|
"@vitest/coverage-v8": "^2.1.9",
|
|
"miniflare": "^3.20231030.0",
|
|
"typescript": "^5.3.3",
|
|
"vitest": "^2.1.9",
|
|
"wrangler": "^4.63.0"
|
|
},
|
|
"dependencies": {
|
|
"hono": "^4.11.7",
|
|
"zod": "^4.3.5"
|
|
}
|
|
}
|