Repository navigation
Push261026 — Asset Update
Overview
New batch: upstream v2 2.0.32 and v2 2.1.4, both in the native
family (B-line source build with android bun) as deb + pacman .pkg.tar.xz.
4 assets plus SHA256SUMS.txt.
Why two versions: 2.0.32 is the last of the 2.0 line (opentui 0.5.17) and
2.1.4 is the first upstream release on the 0.6.x renderer ABI (opentui 0.6.8).
They are separate ABI tracks — pick by the version line you need, not by
"newest wins".
| Family | Package | Format | Notes |
|---|---|---|---|
| v2 native (mainline) | opencode |
deb + pacman .pkg.tar.xz |
Zero-glibc bionic ELF, direct exec |
| v2 wrapper (appendix) | opencode-wrapper |
deb + pacman .pkg.tar.xz |
glibc loader wrapper |
| v2 compressed (UPX) | opencode-compressed |
deb + pacman .pkg.tar.gz |
UPX --best |
| v1 native (mainline) | opencode1 |
deb + pacman .pkg.tar.xz |
Zero-glibc bionic ELF, direct exec |
| v1 wrapper (appendix) | opencode1-wrapper |
deb + pacman .pkg.tar.xz |
glibc payload |
| v1 compressed (UPX) | opencode1-compressed |
deb + pacman .pkg.tar.gz |
UPX --best |
This batch builds the v2 native line only (2.0.32 and 2.1.4). The wrapper
and compressed families were not built or verified this cycle, and v1 ships
no new version here: the v1 packages already on the shelf remain
opencode1 1.19.3 (see BUILD LOG history and the v1 rows above). Upstream
v1 1.19.4 exists but still pins effect 4.0.0-beta.83, which segfaults on this
target through the standard transplant pipeline; it needs the source-rebuild
track before it can ship.
2.1.4 blocker found and fixed in this cycle: the first 2.1.4 build paired
the 0.6.8 JS with the 0.5.x-era bionic libopentui.so (a hardcoded single
path), so the TUI aborted with Symbol "ot_scene_set_hooks" not found —
exactly the wrong-ABI substitution this project refuses to ship. The renderer
library is now selected per OPENTUI_VER, versions without a matching bionic
build hard-fail, and FFI symbols are gated per ABI. The 0.6.8 library was
rebuilt from upstream sst/OpenTUI v0.6.8 source for bionic (export surface
diffed against the upstream glibc artifact: 0 missing of 1829).
Family matrix & coexistence
Mutual exclusion: within one generation you install exactly one of native /
wrapper / compressed (opencode ↔ opencode-wrapper cannot coexist;
opencode-compressed Provides opencode). Across generations opencode1*
(v1) and opencode* (v2) can be installed together. v1 packages are
< 2.0.0, v2 packages are >= 2.0.0.
When v2 and opencode1 coexist, older packages still need
dpkg --force-overwrite for the shared seccomp shim path; a later batch
removes that conflict.
Install
Configure the software source (once)
# One-liner: configure sources and install (pacman + apt in one go)
curl -fsSL https://hope2333.github.io/repo/install.sh | sh -s -- --install opencode
# Manual:
# pacman — append to $PREFIX/etc/pacman.conf:
# [hope2333-meta]
# Server = https://hope2333.github.io/repo/Termux/pacman/
# SigLevel = Optional TrustAll
# (then install hope2333-mirrorlist to get the [hope2333] multi-server fallback source)
# apt — write to $PREFIX/etc/apt/sources.list.d/hope2333.list:
# deb [trusted=yes arch=aarch64] https://github.com/Hope2333/opencode-termux/releases/latest/download/ ./Install from the software source (apt / pacman — latest version per package)
pacman -S opencode # v2 native mainline
pacman -S opencode-wrapper # v2 wrapper appendix
pacman -S opencode-compressed # v2 UPX compressed
pacman -S opencode1 # v1 native mainline (coexists with v2)
apt update && apt install opencodeManual install (pinned version)
pacman -U opencode-2.1.4-1-aarch64.pkg.tar.xz
dpkg -i opencode_2.1.4_aarch64.deb
pacman -U opencode-2.0.32-1-aarch64.pkg.tar.xz
dpkg -i opencode_2.0.32_aarch64.debBUILD LOG
20261025: v2.0.32 native deb + pkg first upload
20261026: v2.1.4 native deb + pkg first upload + SHA256SUMS.txt
20261029: unified repo db / mirrorlist backfill (site-rebuild self-heal)
Latest: v2.1.4 (v1 shelf: v1.19.3)
Verification
- Version continuity: v2 2.0.{0-32} no gaps, plus 2.1.4; v1 shelf 1.19.{0-3}
SHA256SUMS.txtmatches hosted assets:sha256sum -c SHA256SUMS.txtmake verify-artifactPASS for both versions (seccomp harden + web UI assets)- On-device (Android 9, kernel 3.18.140, aarch64): 2.0.32 —
--versionOK,
serveHTTP 200, TUI 123,184 B alive past 15 s; 2.1.4 —--versionOK,
serveHTTP 200, TUI 101,980 B with tmux capture of the full UI (banner,
prompt, session list), alive past 15 s - Shell test suite: 99 ok
Links
- GitHub: https://github.com/Hope2333/opencode-termux
- Software source guide: https://hope2333.github.io/zh_CN/wiki/guides/software-source.html
- Release notes (this batch, zh_CN): https://hope2333.github.io/zh_CN/wiki/opencode-termux/release/Push261026.html