Post

OpenCode Changelog
OpenCode Changelog@OpenCodeLogยท
๐™Š๐™ฅ๐™š๐™ฃ๐˜พ๐™ค๐™™๐™š v1.15.6 released. TL;DR: TUI gets /diff + shell mode; v2 API errors are now typed; desktop/app shell gets cross-platform menu work; plugins/native LLM paths get stricter. ๐—ง๐—จ๐—œ & ๐—–๐—Ÿ๐—œ โ€ข Added a full-screen TUI diff viewer: working tree vs last assistant turn, file tree navigation, collapsed directory chains, split/unified views, single-patch mode, and configurable diff keybinds. โ€ข `opencode run --interactive` now has shell mode: start from an empty prompt with `!`, send direct shell commands through the session shell path, and render shell transcript output without treating it as a normal user prompt. โ€ข Replaced subagent tabs with an on-demand searchable picker, keeping subagent inspection available without consuming footer space. โ€ข Zed editor context is now gated on the Zed terminal environment, avoiding accidental Zed DB selection pickup from unrelated terminals. ๐—›๐—ง๐—ง๐—ฃ ๐—”๐—ฃ๐—œ & ๐—ฆ๐——๐—ž โ€ข v2 API failures now expose public typed error schemas: invalid cursors/requests, auth failures, missing providers/models/sessions/messages, busy sessions, upstream/service-unavailable/timeout cases. โ€ข v2 auth now returns structured JSON errors instead of no-content 401s, and catalog/model/provider failures surface as explicit API errors. โ€ข OpenAPI + JS SDK were regenerated so clients can see these error unions instead of guessing from status codes. ๐—ฃ๐—ฟ๐—ผ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ฟ๐˜€, ๐—ฃ๐—น๐˜‚๐—ด๐—ถ๐—ป๐˜€, ๐—ง๐—ผ๐—ผ๐—น๐˜€ โ€ข Native LLM runtime now supports Anthropic API-key models in addition to OpenAI/opencode routes, with cleaner API-key resolution from provider config. โ€ข TUI plugin keymaps gained mode-aware layers via `api.mode`, so plugin shortcuts can be scoped to base UI, modals, autocomplete, or plugin-owned routes. โ€ข Plugin loading now only retries pre-import file-plugin setup failures; permanent import/load errors stay permanent for the process. โ€ข Plugin tools with missing `args` are tolerated again, matching older plugin behavior. ๐——๐—ฒ๐˜€๐—ธ๐˜๐—ผ๐—ฝ & ๐—”๐—ฝ๐—ฝ โ€ข Desktop menus were unified through a shared menu model: native macOS menu plus in-app Windows/Linux menu, covering settings, projects, window actions, edit commands, reload/devtools, zoom, fullscreen, and help links. โ€ข App sync was split into reusable per-directory contexts, enabling cleaner multi-directory/session state sharing and immediate provider-list invalidation after config updates. โ€ข Added Ukrainian locale coverage across app/console/desktop/ui/web surfaces. ๐—–๐—ผ๐—ป๐˜€๐—ผ๐—น๐—ฒ / ๐—š๐—ผ โ€ข OpenCode Go referral support landed: invite links, referral cookie capture on signup, reward creation after Lite subscription, and reward application against rolling/weekly/monthly usage. ๐—™๐—ถ๐˜…๐—ฒ๐˜€ โ€ข `opencode console login` now defaults to `console.opencode.ai` when no URL is passed. โ€ข Imported shared sessions now get the current project, directory, and relative path persisted correctly. โ€ข Invalid `OPENCODE_PERMISSION` JSON no longer crashes config loading. โ€ข Agent/command config names are derived from anchored relative paths, avoiding bad names when parent directories happen to contain matching path segments. Bundle size change macOS arm64 โ€ข Total: 102.2 MB -> 102.4 MB (+145.1 KB) โ€ข Bun runtime: 60.8 MB -> 60.8 MB (+1.1 KB) โ€ข CLI/TUI JS: 14.8 MB -> 14.9 MB (+29.1 KB) โ€ข Web UI assets: 16.6 MB -> 16.8 MB (+116.1 KB) โ€ข Native addons: 2.4 MB -> 2.4 MB (no change) โ€ข WASM: 7.5 MB -> 7.5 MB (no change) โ€ข Bundle metadata: 81.4 KB -> 80.1 KB (-1.2 KB) Linux x64 โ€ข Total: 137.2 MB -> 137.3 MB (+144.0 KB) โ€ข Bun runtime: 89.3 MB -> 89.3 MB (-1.2 KB) โ€ข CLI/TUI JS: 14.8 MB -> 14.9 MB (+29.1 KB) โ€ข Web UI assets: 16.6 MB -> 16.8 MB (+116.1 KB) โ€ข Native addons: 8.9 MB -> 8.9 MB (-192 B) โ€ข WASM: 7.5 MB -> 7.5 MB (no change) โ€ข Bundle metadata: 68.2 KB -> 68.4 KB (+180 B) Windows x64 โ€ข Total: 135.0 MB -> 135.1 MB (+145.5 KB) โ€ข Bun runtime: 93.2 MB -> 93.2 MB (+106 B) โ€ข CLI/TUI JS: 14.8 MB -> 14.9 MB (+29.1 KB) โ€ข Web UI assets: 16.6 MB -> 16.8 MB (+116.1 KB) โ€ข Native addons: 2.7 MB -> 2.7 MB (no change) โ€ข WASM: 7.5 MB -> 7.5 MB (no change) โ€ข Bundle metadata: 68.2 KB -> 68.3 KB (+180 B) Compare: github.com/anomalyco/openโ€ฆ
English
0
0
36
2.9K
PaylaลŸ