hope2333.github.io / wiki

Push260928


Push260928 — RC4 Fixes & Completion

GitHub Release

Overview

RC4 = the RC3 two-generation family, corrected and completed — 84 planned assets (plus repo db/mirrorlist via site-rebuild self-heal):

Family Generation Package Format Notes
native (mainline) v2 opencode deb + pacman .pkg.tar.xz Zero-glibc bionic ELF; PKGREL=4, shim + musl pty embedded
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.

Version coverage: v2 native 19 versions (2.0.0–2.0.18) / v2 wrapper 13 (2.0.0–2.0.12) / v1 native 4 (1.18.30–33) / v1 wrapper & compressed 3 each (1.18.30–32).

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

Install from the software source (apt / pacman)

# v2 mainline
pacman -S opencode            # or opencode-wrapper
apt update && apt install opencode
# v1 mainline (coexists with v2)
pacman -S opencode1           # or opencode1-wrapper / opencode1-compressed
apt update && apt install opencode1

Manual install (pinned version)

pacman -U opencode-2.0.18-4-aarch64.pkg.tar.xz              # v2 native (PKGREL=4, shim included)
pacman -U opencode1-1.18.33-3-aarch64.pkg.tar.xz            # v1 native (PKGREL=3)
pacman -U opencode1-compressed-1.18.32-3-aarch64.pkg.tar.gz # v1 compressed (note .gz)
dpkg -i opencode_2.0.18_aarch64.deb
dpkg -i opencode1_1.18.33_aarch64.deb

deb has no pkgrel concept (--clobber overwrite); v2 native pac names carry -4-, all other families -3-.

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] PKGREL=4 + v1.18.33 A-line PKGREL=3 Latest: v2.0.18 (v2) / v1.18.33 (v1)

Verification