Repository navigation
OpenCode Plus 0.3.27+35
下载安装包 / Download
- APK(arm64-v8a,36.9 MB):opencode-plus-0.3.27+35-arm64-v8a.apk
- 校验文件:SHA256SUMS
安装包信息:versionName 0.3.27、versionCode 100157、minSdk 26、V2 签名、仅 arm64-v8a。
安装前请确认手机为 64 位 ARM(近几年的机型都是);若已装过 CI 分支构建(*-dev-*),其
versionCode 可能高于本版,需先卸载再安装。
Telegram relay: run the phone's agent from your private chat
Settings → Conversations → Telegram bot connects one allowlisted Telegram
account to the OpenCode server installed on this phone. Text sent to the bot
becomes an ordinary agent prompt, and the agent's progress notices and final
reply come back to the same private chat.
/statusreports the connection, the project, the bound session, the poll
state and the last transport error./stopasks the app to interrupt the bound turn;/newbinds the next
message to a fresh session./startand/helpshow the short guide.- Only the configured numeric user ID, in a private chat, is accepted. Other
senders are ignored; the bot never approves a permission request.
It starts working without extra chores. Enabling the relay claims the bot
for long polling: a leftover webhook is deleted and the command menu is
published, so a bot configured elsewhere is no longer "connected but deaf". A
token still held by another poller answers 409, which is reported as a
conflict instead of a healthy state.
Failures are readable. Invalid token, conflict, rate limit and network
failures are shown in words on the settings page and in /status, and clear
when polling recovers. "Verify token" reports the bot's @username and whether
the private chat is reachable yet — Telegram forbids a bot from writing first,
which is the step people miss.
Covered end to end. test/telegram_bot_relay_test.dart drives the shipping
bridge against a local stand-in for the Bot API: webhook clearing and menu
publication before the first poll, allowlist, dispatch, session binding,
/status, /stop, /new, 409 reporting, and the reply direction all run for
real. The token stays in Android secure storage and is deleted with its server
profile.
Setup and limits: docs/TELEGRAM_BOT.md.