opencode-telegram-bot 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "opencode-telegram-bot",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "description": "Telegram bot that forwards messages to an OpenCode agent",
6
+ "main": "./dist/index.js",
7
+ "bin": {
8
+ "opencode-telegram-bot": "./dist/index.js"
9
+ },
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "scripts": {
14
+ "start": "tsx src/index.ts",
15
+ "serve": "opencode serve",
16
+ "build": "ncc build src/index.ts --out dist",
17
+ "prepublishOnly": "npm run build"
18
+ },
19
+ "keywords": [
20
+ "opencode",
21
+ "telegram",
22
+ "bot",
23
+ "ai",
24
+ "agent"
25
+ ],
26
+ "author": "",
27
+ "license": "ISC",
28
+ "dependencies": {
29
+ "@opencode-ai/sdk": "^1.1.56",
30
+ "telegraf": "^4.15.0",
31
+ "commander": "^13.1.0",
32
+ "dotenv": "^16.4.7",
33
+ "typescript": "^5.7.3"
34
+ },
35
+ "devDependencies": {
36
+ "@vercel/ncc": "^0.38.3",
37
+ "tsx": "^4.0.0",
38
+ "@types/node": "^20.0.0"
39
+ }
40
+ }