Skip to content

OpenCode 2.2.5 · Termux (r1)

Choose a tag to compare

@github-actions github-actions released this 01 Nov 22:35

Что исправлено · What's fixed

RU. TUI запускается на Android 17. Система тегирует указатели кучи в старшем байте (TBI), и OpenTUI падал с Pointer exceeds safe integer range ещё до первого кадра. Сборка теперь срезает тег перед передачей указателя в JS (scripts/patch-opentui-pointer.mjs). Остальное идентично 2.2.5: код OpenCode, Bun и нативные компоненты те же.

EN. The TUI starts on Android 17 again. The system tags heap pointers in the top byte (TBI), and OpenTUI failed with Pointer exceeds safe integer range before the first frame. The build masks the tag before the pointer reaches JavaScript (scripts/patch-opentui-pointer.mjs). Everything else is identical to 2.2.5: same OpenCode sources, Bun and native components.

Обновиться: opencode upgrade или повторно выполнить команду установки. Update: opencode upgrade, or run the install command again.


OpenCode 2.2.5 · Termux

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

这是 2.2.5 的第 1 次重新发布:OpenCode 版本不变,构建工具链有更新。opencode upgrade 按二进制哈希判断,会识别并安装;旧版本自带的 opencode upgrade 会跳过同一版本,请重新运行一次下面的安装命令。

安装或更新:

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

已安装的可以运行 opencode upgrade。

项目 值
OpenCode 源码 v2.2.5 · 9bbb8ce18c80
opencode 二进制 SHA-256 a2758d1cca7ddb564cf9bc327dc1fc69b28d8b043d43a399e1d8990c2a62eac5
Bun 底座 1.4.4
原生组件(跟随 OpenCode 的 bun.lock) OpenTUI 0.8.0 · FFF 0.10.5 · watcher 2.5.1 · bun-pty 0.4.11 · opencode-pty 0.4.0
工具链提交 7fbd9143ed6d

相对 v2.2.5 的工具链变更:

7fbd914 opentui: find the package wherever bun put it
8be19a1 opentui: mask Bionic's heap tag instead of failing on it (#1)