Initial release: opencode-dispatch

Control opencode from Telegram — like Claude's Dispatch feature.

- Python (bot.py) and Node.js (bot.js) implementations
- Connects to opencode server API via POST /session/:id/message
- Queue system for handling concurrent messages
- /start, /help, /status, /working, /clear commands
- Workspace scoping via cd into project directory
- Password protection support via OPENCODE_SERVER_PASSWORD
This commit is contained in:
alexanxin
2026-03-25 15:22:55 +01:00
commit bcb3233ecb
8 changed files with 1245 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"name": "opencode-dispatch",
"version": "1.0.0",
"description": "Control opencode from Telegram - like Claude users do with Dispatch",
"main": "bot.js",
"type": "module",
"scripts": {
"start": "node bot.js"
},
"dependencies": {
"telegraf": "^4.16.3",
"dotenv": "^16.4.5",
"axios": "^1.7.9"
},
"keywords": [
"opencode",
"telegram",
"bot",
"ai",
"cli"
],
"author": "",
"license": "MIT"
}