Upstream opencode, zero changes
The official Web UI and agent core run as-is — the project only applies idempotent patches. Whenever opencode ships, the new capabilities come along.
OC Desktop is the desktop form of opencode: Windows, Linux and macOS run the upstream official release, while HarmonyOS (2in1 / tablet) ships as two third-party editions — HarmonyOS Edition (in-process Node + ArkWeb, no Electron) and Electron on HarmonyOS Edition (Electron runtime) — and Android ships as a third Android Edition (in-process Node + the system WebView). The opencode server lives inside the app itself and the official Web UI loads same-origin over a local port — zero upstream changes.
Three mobile editions, one baseline opencode v2.2.5 · HarmonyOS Edition — in-process Node v24.2 + ArkWeb, no Electron · Electron on HarmonyOS Edition — Electron 37 · Android Edition — in-process Node v24.2 + system WebView
Windows / Linux / macOS are distributed by upstream opencode (BETA) · downloads and source point at the official channels
OC Desktop · Electron on HarmonyOS Edition (the UI itself is Simplified Chinese) — the shot follows the theme
why OC Desktop
The complete opencode experience, folded into a real desktop app.
The official Web UI and agent core run as-is — the project only applies idempotent patches. Whenever opencode ships, the new capabilities come along.
The server starts inside the app and the UI loads same-origin over a local port. Everything stays on the machine — no CORS, no cloud relay, no account.
A terminal PTY and external processes are unavailable on HarmonyOS / Android, so plain-JS tools override shell / grep / glob and Git runs in-process — the capability lands in the app itself.
Only the permissions it needs — network plus document directories. Window title, UI and icons are unified as OC Desktop instead of the upstream brand.
pick your desktop
One app, four desktop shapes — three mobile editions plus the upstream release. The one you need is right below.
v2)@fellow99/node-bridge (dlopen + node::Start)127.0.0.1:<random port>node:sqlite) in the app sandbox · credentials never leave the device/api/info + SPA + SSE green on devicev2)shell, grep, globv2)io.github.fellow99:node-bridge; the system WebView renders the UI127.0.0.1:<random port>, fully branded (title, icon, about page)node:sqlite) in the app sandbox · cleartext allowed for loopback only · credentials never leave the devicev* tags.deb / .rpm / .AppImagebrew install --cask opencode-desktopOC Desktop is a desktop form built on the open-source project opencode: the Windows / Linux / macOS edition is distributed upstream, while mobile ships as three independent third-party editions — HarmonyOS Edition (in-process Node + ArkWeb, no Electron), Electron on HarmonyOS Edition (Electron runtime) and Android Edition (in-process Node + system WebView). None is affiliated with the upstream team.
Known limits (all mobile editions): terminal PTY, local stdio MCP and tools that spawn external processes (LSP etc.) are unavailable; installing plugins online is off by default. HarmonyOS Edition additionally ships no Chromium at all.
capability matrix
All three mobile editions share the opencode v2.2.5 core; they differ in runtime, renderer and platform gaps.
| Capability | Android | HarmonyOS | Electron on HOS |
|---|---|---|---|
| Streaming chat / SSE | ✅ | ✅ | ✅ |
| Image attachment / vision | ✅ | ✅ | ⬜ |
| File read / write / edit | ✅ | ✅ | ✅ |
| Shell commands | ✅ | ✅ | ✅ |
| grep / glob search | ✅ | 🔶 | ✅ |
| Git (isomorphic-git plugin) | ✅ | ✅ | ✅ |
| Workspace picker | ✅ | ✅ | ✅ |
| pnpm in-process | ✅ | ❌ | ❌ |
| SQLite sessions | ✅ | ✅ | ✅ |
| Session persistence across restart | ✅ | ✅ | 🔶 |
| MCP remote (HTTP/SSE) | 🔶 | 🔶 | 🔶 |
| MCP local (stdio) | ❌ | ❌ | ❌ |
| Terminal PTY | ❌ | ❌ | ❌ |
| Web UI branding | ✅ | ❌ | ✅ |
| Navigation fencing / external links | ✅ | ⬜ | ✅ |
| Host notifications | ✅ | ⬜ | ⬜ |
| Background keep-alive | 🔶 | ❌ | 🔶 |
| JIT-less compatibility form | ⬜ | ✅ | ⬜ |
| Online plugin installation | ❌ | ❌ | ❌ |
| Renderer | system WebView | ArkWeb | Chromium |
| Real-device evidence | 🔶 | ✅ | 🔶 |
Legend: ✅ available & verified · 🔶 partial / limited / unverified · ⬜ not shipped · ❌ unavailable on the platform. Full per-item sourcing: docs/能力对照清单.md in the workspace repo.
how it works
The app starts the opencode server on the device (random port + password).
The renderer (system WebView / ArkWeb / Chromium) loads the official Web UI embedded in the server.
Credentials and headers, data directories and tool overrides are handled by the shell — the UI needs no changes.
Zero upstream changes · No CORS · No custom protocol · Data stays local