From 847b632afc421d4fa6d8f0ea7341fb49573c220d Mon Sep 17 00:00:00 2001 From: Adeloye Adetayo Date: Thu, 3 Dec 2026 14:30:27 +0000 Subject: [PATCH] release: pin 2.4.4 with OpenTUI 0.9.9 successor 0.9.12 Lock OpenCode 2.4.4 at commit 5b84793, OpenTUI 0.9.12 at 00c3a441, Zig 0.17.1 and Bun 1.4.4. Release notes cover 2.4.2 -> 2.4.4 since 2.4.3 was never built. --- .release/v2.4.4-highlights.md | 7 +++++++ .release/v2.4.4.md | 36 +++++++++++++++++++++++++++++++++++ supply-chain-lock.json | 13 ++++++++++++- 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 .release/v2.4.4-highlights.md create mode 100644 .release/v2.4.4.md diff --git a/.release/v2.4.4-highlights.md b/.release/v2.4.4-highlights.md new file mode 100644 index 0000000..dee873c --- /dev/null +++ b/.release/v2.4.4-highlights.md @@ -0,0 +1,7 @@ +### Highlights + +- **Find text in a session**: press `f`, `super+f`, or run `/find` to search loaded messages as you type. Enable it with `experimental["session-find"]: true`. +- **Jump to a session by ID**: paste a session ID into the Command Palette in the TUI to open that session directly. +- **Plugins can answer model HTTP requests**: a `session.http.request` hook can set `event.response` for custom gateways, mocks, and request interception. +- **Markdown agent files can set their ID**: add a `name` field to the frontmatter of `.opencode/agents/*.md` or `~/.config/opencode/agents/*.md`. +- **Shell output keeps both ends**: long output no longer drops the tail, and saved output is no longer deleted when old commands are evicted. diff --git a/.release/v2.4.4.md b/.release/v2.4.4.md new file mode 100644 index 0000000..1612f06 --- /dev/null +++ b/.release/v2.4.4.md @@ -0,0 +1,36 @@ +# OpenCode 2.4.4 for Termux + +## What changed upstream (2.4.2 → 2.4.4) + +- **Find in session**: with `experimental["session-find"]: true`, `f`, `super+f` or `/find` searches loaded messages incrementally. Text selections now use the theme's selection colours, and provider lists follow the same ordering as `opencode auth login`. +- **Jump to sessions by ID**: paste a session ID into the TUI Command Palette or Session List to open it directly. The same lookup and `opencode://session/` deep links ship in the desktop build, which this bundle does not include. +- **Plugins can answer model HTTP requests**: a `session.http.request` hook can set `event.response`, so a plugin can act as a gateway, mock or request interceptor. Tools can also call other registered tools through `context.tool.call()`, with validation, hooks and permission checks preserved. +- **Agent files can set their own ID**: Markdown agent files under `.opencode/agents/` or `~/.config/opencode/agents/` accept a `name` field in frontmatter. Plugins can attach keyed session instructions that apply only while their agent is selected, without busting the prompt cache. +- **Tool and shell reliability**: `read` returns whole lines, `grep` windows long lines and caps output at 50 KB, `edit` replaces all matches in one pass, and Code Mode reports failing tool calls more clearly. Long shell output keeps both the start and the end; the saved output field is renamed to `fullOutputPath`. +- **MCP and OAuth fixes**: tokens refreshed on MCP OAuth send granted scopes, Google OAuth asks for refresh tokens, HTTP 5xx probes fall back to the legacy handshake, and pooled connections share across equivalent configs. Per-version approval prompts apply when a skill is loaded from an MCP server. +- **PTY and path fixes**: the native PTY is cleaned up on shell exit, `opencode run` and `mini` use `process.cwd()` instead of `PWD`, and an empty `XDG_STATE_HOME` is treated as unset. Plugin directory watchers ignore `node_modules` and `.git`. +- **Model and request handling**: each model's recommended API from `models.dev` is enabled by default, request bodies to OpenCode endpoints are gzip-compressed, and Gemini and DeepSeek header timeouts default to ten minutes. Voice, embedding and transcription models come from model config instead of assuming a hosted voice is always enabled. +- **Session and permission handling**: autoaccept and `opencode run --auto` respect `metadata.required` approval policies, textarea keybindings reload live when config changes, and watched status bursts no longer wake a session multiple times. Stopping a subagent now ends its Claude Agent process. +- **Bundled ripgrep updated** to 15.2.0; this Android build keeps `ripgrep` as a Termux package dependency instead of bundling it. + +Desktop-only changes from these releases (the browser pane, pop-out settings, theme picker, new Desktop themes and font, Automations sidebar, account switcher, inbox pins and floating surfaces) do not apply to this Termux build. + +## What changed in this Android build + +- **OpenTUI 0.9.12** replaces 0.9.9. Zig stays at `0.17.1`, and the bionic build still uses the same `--libc` file and `limits.h` shadow. +- **The patch set still applies**: the OpenTUI source hooks, tagged-pointer FFI passthrough, Android loader slot, fff bionic resolver and the `bundle-libcxx` skip were each checked against the exact pinned 0.9.12 / 2.4.4 sources. +- **Native pins unchanged**: bun-pty `0.4.11`, `@ff-labs/fff-bun` `0.10.5`, `ANDROID_API=28`. + +## Install + +```sh +pkg install bun ripgrep libc++ +curl -fsSL https://raw.githubusercontent.com/Spectra010s/opencode-termux/native-android/install.sh | sh +``` + +Or through the signed APT source, so `pkg install opencode` picks up new versions: + +```sh +curl -fsSL https://raw.githubusercontent.com/Spectra010s/opencode-termux/native-android/setup-apt.sh | sh +pkg install opencode +``` diff --git a/supply-chain-lock.json b/supply-chain-lock.json index a1174f6..900f19d 100644 --- a/supply-chain-lock.json +++ b/supply-chain-lock.json @@ -1,6 +1,6 @@ { "schema_version": 1, - "current": "2.4.2", + "current": "2.4.4", "package_revision": 1, "opencode": { "2.0.26": { @@ -56,6 +56,12 @@ "source_sha256": "81f3d918c5cb1d59cb8d0b333ac485aee57dd5a3ac37bcfc005cda473cf8e9b6", "bun_version": "1.4.4", "opentui_version": "0.9.9" + }, + "2.4.4": { + "commit": "5b84793faccfc258d866080ae3d9bdc3586c6ae9", + "source_sha256": "e0e7c91dcdd1309eef1743c1940565d7ceb17ec5768e15ca61d9384b23f24d7f", + "bun_version": "1.4.4", + "opentui_version": "0.9.12" } }, "bun_pty": { @@ -93,6 +99,11 @@ "commit": "c93d6f5a57c6d206399d2506aa7e05153b88ffd5", "zig_version": "0.17.1", "zig_x86_64_linux_sha256": "3581863e3cbcfd0fce0efc682ce7e9e93da96668a977791d356a26d2a7e9b17a" + }, + "0.9.12": { + "commit": "00c3a441dd50ce33660f73e7515cfabe744bdb0b", + "zig_version": "0.17.1", + "zig_x86_64_linux_sha256": "3581863e3cbcfd0fce0efc682ce7e9e93da96668a977791d356a26d2a7e9b17a" } }, "source_build_bun_1_4_4": {