a736f786c2
- add /openai (/chatgpt) chat command using OpenAI Responses API (streaming + incremental edits) - add /openAIListModels, /openAIGetModel, /openAISetModel - introduce base Command class and migrate non-chat commands to it - wire OpenAI client + env vars (OPENAI_API_KEY, OPENAI_MODEL) - bump deps (@google/genai, systeminformation, @types/node) and add openai
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"name": "tg-chat-bot",
|
|
"main": "src/index.ts",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"start": "node dist/index.js",
|
|
"bun:start": "bun run dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@google/genai": "^1.39.0",
|
|
"@libsql/client": "^0.17.0",
|
|
"@mistralai/mistralai": "^1.13.0",
|
|
"@napi-rs/canvas": "^0.1.89",
|
|
"axios": "^1.13.4",
|
|
"dotenv": "^17.2.3",
|
|
"drizzle-orm": "^1.0.0-beta.12-5845444",
|
|
"emoji-regex": "^10.6.0",
|
|
"ollama": "^0.6.3",
|
|
"openai": "^6.17.0",
|
|
"puppeteer": "^24.36.1",
|
|
"puppeteer-extra": "^3.3.6",
|
|
"puppeteer-extra-plugin-stealth": "^2.11.2",
|
|
"qrcode": "^1.5.4",
|
|
"sharp": "^0.34.5",
|
|
"systeminformation": "^5.30.7",
|
|
"twemoji": "^14.0.2",
|
|
"typescript-telegram-bot-api": "^0.11.0",
|
|
"youtubei.js": "^16.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.8",
|
|
"@types/node": "^25.2.0",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
"@typescript-eslint/parser": "^8.54.0",
|
|
"drizzle-kit": "^1.0.0-beta.12-5845444",
|
|
"eslint": "^9.39.2",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|