Skip to content

v2.0.18 v1.18.33 v2.0.[0-17] v1.18.[30-32]

Latest

Choose a tag to compare

@Hope2333 Hope2333 released this 28 Sep 14:12
· 9 commits to native-android since this release

Push260928 — Asset Update (RC4)

中文版

Overview

RC4 — the RC3 two-generation family, corrected and completed. Headline fixes:
v2 native packages now ship the seccomp shim (fixes SIGSYS "Bad system call"
on older kernels, #17/#24), and the PTY helper is now a fully static musl
binary
(fixes the glibc PTY dlopen failure, #27). Version coverage extended:
v2.0.13–2.0.18 added to both native and wrapper; v1.18.33 added (A-line).

96 assets (v2 native 38 + v2 wrapper 38 + v1 20), plus repo db/mirrorlist
(site-rebuild self-heal). All digest-verified against local sha256.

Family Generation Package Format Notes
native (mainline) v2 opencode deb + pacman .pkg.tar.xz Zero-glibc bionic ELF; PKGREL=4, seccomp shim + musl pty included
native (mainline) v1 opencode1 deb + pacman .pkg.tar.xz Zero-glibc bionic ELF, direct exec
wrapper (appendix) v2 opencode-wrapper deb + pacman .pkg.tar.xz bun-termux-loader wrap
wrapper (appendix) v1 opencode1-wrapper deb + pacman .pkg.tar.xz glibc runtime payload
compressed (UPX) v1 opencode1-compressed deb + pacman .pkg.tar.gz UPX 外包压制,见 opencode-compressed-branch

Mutual exclusion: across generations opencode1 (v1) and opencode (v2)
CAN coexist side by side; within the same generation install exactly ONE of
native / wrapper / compressed.

Install

curl -fsSL https://hope2333.github.io/repo/install.sh | sh -s -- --install opencode

pacman -S opencode            # v2 mainline (or opencode-wrapper)
pacman -S opencode1           # v1 mainline (coexists with v2)

Manual (pinned):

pacman -U opencode-2.0.18-4-aarch64.pkg.tar.xz        # v2 native (PKGREL=4)
pacman -U opencode1-1.18.33-3-aarch64.pkg.tar.xz      # v1 native (PKGREL=3)
dpkg -i opencode_2.0.18_aarch64.deb

BUILD LOG

20260928: RC4 — v2 native PKGREL=4 seccomp shim shipped (issues #17/#24); bionic static-musl PTY helper (issue #27); v2.0.18 added; stale-serve-kill hook scoped to v2 2.0.[0-3]
20260928: RC4 backfill — v2.0.[13-17] native PKGREL=4 + v1.18.33 A-line PKGREL=3 + v2 wrapper 2.0.[13-18] PKGREL=3
Latest: v2.0.18 (v2) / v1.18.33 (v1)

Verification

  • Per-asset digest reconciliation: remote API digest == local sha256, 96/96
  • A-line goldens PASS (1.18.33); wrapper exact-version gate 19/19 (13 + 6 backfill)
  • pty purity: per-version embedded-hash assertion (musl >=1 / gnu =0) on all 19 native builds
  • hook gating verified live (fires on 2.0.0, silent on 2.0.5)
  • releases/latest -> Push260928; Push260922 marked prerelease (archived)

Links