Skip to content

OpenCode 2.2.6 · Termux

Choose a tag to compare

@github-actions github-actions released this 07 Nov 13:54

OpenCode 2.2.6 · Termux

English

Verified: built from the OpenCode sources; the Termux Bionic container ran the native ELF audit, the FFF / watcher / PTY smoke tests and the real TUI launch.

Install or update:

curl -fsSL https://raw.githubusercontent.com/cfyz1297/opencode-termux/main/install.sh | bash

Already installed: run opencode upgrade.

Русский

Приёмка: собрано из исходников OpenCode; в контейнере Termux Bionic пройдены ELF-аудит нативных компонентов, FFF / watcher / PTY smoke и запуск настоящего TUI.

Установка или обновление:

curl -fsSL https://raw.githubusercontent.com/cfyz1297/opencode-termux/main/install.sh | bash

Уже установленным достаточно opencode upgrade.

中文

验收:从 OpenCode 源码编译;Termux Bionic 容器内原生组件 ELF 审计、FFF / watcher / PTY 冒烟和真实 TUI 启动全部通过。

安装或更新:

curl -fsSL https://raw.githubusercontent.com/cfyz1297/opencode-termux/main/install.sh | bash

已安装的可运行 opencode upgrade。

Build

Field Value
OpenCode source v2.2.6 · dc2ffcf8bf26
opencode binary SHA-256 473e50d35342b928031225b1ff0f036339ca090b69c35bd4338f3c3f2f9e92c1
Bun base 1.4.4
Native components (from OpenCode's bun.lock) OpenTUI 0.8.1 · FFF 0.10.5 · watcher 2.5.1 · bun-pty 0.4.11 · opencode-pty 0.4.0
Toolchain commit 39cd1d0c9340

Toolchain changes since v2.2.5-r1: / Инструментальные изменения относительно v2.2.5-r1: / 相对 v2.2.5-r1 的工具链变更:

39cd1d0 opentui and ghostty need different Zig pins
e8d1bac opentui: cc_dir is required by Zig 0.17 libc.txt for linux
70421b9 opentui: libc.txt needs darwin_sdk_dir in Zig 0.17
2361b33 zig: stay on 0.17.0 - OpenTUI gates it as the only supported version
e06dd0e zig: 0.17.1 and cut the translate-c chain into the host glibc
4aff1c7 opentui: outrank host headers with -I for the NDK sysroot
cbaaccf opentui: keep Zig 0.17's translate-c off the host libc for Android
9f0c5a6 opentui: keep the global cache through ZIG_GLOBAL_CACHE_DIR
5da6d1c opentui: adapt the android patch to 0.8.1
b58b14e zig: bump the pin to 0.17.0 for OpenTUI 0.8.x