Files
kappa 5413605347 feat: add telegram-cli web chat interface and /api/chat endpoint
- Add telegram-cli Worker with web chat UI for browser-based bot testing
- Add POST /api/chat authenticated endpoint (Bearer token, production enabled)
- Fix ENVIRONMENT to production in wrangler.toml (was blocking Service Binding)
- Add Service Binding (BOT_WORKER) for Worker-to-Worker communication
- Add cloud-db-schema.sql for local development

telegram-cli features:
- Web UI at GET / with dark theme
- JSON API at POST /api/chat
- Service Binding to telegram-summary-bot Worker

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 04:24:02 +09:00

20 lines
426 B
JSON

{
"name": "telegram-cli",
"version": "1.0.0",
"description": "Telegram Bot Web Chat UI - Cloudflare Worker",
"type": "module",
"main": "src/index.ts",
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy",
"tail": "wrangler tail"
},
"dependencies": {
"@cloudflare/workers-types": "^4.20241127.0"
},
"devDependencies": {
"typescript": "^5.3.3",
"wrangler": "^3.95.0"
}
}