Files
telegram-bot/package.json
T
JianMiauandClaude Opus 4.6 6faafabc9d 0.2.6:sendFile 暫時性錯誤自動重試、Claude 模型增加 Opus 4.8/4.6/Haiku 4.5、列表沙盒欄精簡
- telegram.js:sendFile 遇到 Bad Gateway/Gateway Timeout/429 等暫時性錯誤時自動重試最多 3 次(間隔遞增 4s/8s/12s)
- server.js:Claude 模型清單增加 Opus 4.8、Opus 4.6、Haiku 4.5
- index.html:沙盒欄第二行只顯示模型/effort,其餘資訊(會話模式、連網、可寫成員、規範)改為滑鼠停留氣泡顯示

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-08-24 14:57:14 +08:00

44 lines
919 B
JSON

{
"name": "telegram-bot",
"version": "0.2.6",
"description": "Telegram bot powered by your local AI CLI (OpenAI Codex or Claude Code) — zero-dependency, pm2-managed, with a web console to manage multiple bots",
"license": "MIT",
"type": "commonjs",
"publishConfig": {
"registry": "https://jianmiau.ddns.net/api/packages/AI/npm/"
},
"repository": {
"type": "git",
"url": "ssh://git@jianmiau.ddns.net:8022/AI/telegram-bot.git"
},
"main": "src/index.js",
"bin": {
"telegram-bot": "bin/cli.js",
"tgbot": "bin/cli.js"
},
"files": [
"bin/",
"src/",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18"
},
"scripts": {
"start": "node bin/cli.js web",
"dev": "node --watch src/web/server.js"
},
"keywords": [
"telegram",
"bot",
"codex",
"codex-cli",
"claude",
"claude-code",
"pm2",
"ai",
"agent"
]
}