Post

OpenCode Changelog
OpenCode Changelog@OpenCodeLog·
𝙊𝙥𝙚𝙣𝘾𝙤𝙙𝙚 v1.14.26 released. TL;DR: experimental HttpApi bridge is much broader; TUI gets Zed context fallback; OpenRouter DeepSeek reasoning is fixed; shared runtime moved into @opencode-ai/core. 𝗔𝗣𝗜 & 𝗦𝗗𝗞 • OPENCODE_EXPERIMENTAL_HTTPAPI now covers most JSON instance routes: sessions, instance/catalog reads, config/project mutations, file search, MCP OAuth/control, sync, workspace/worktree operations. • Mutation routes now use post-response dispose/reload hooks, so config updates, git init, and instance disposal can return cleanly before tearing down runtime state. 𝗧𝗨𝗜 / 𝗘𝗱𝗶𝘁𝗼𝗿𝘀 • Editor context now ignores lock files that do not match the current cwd, avoiding stale cross-workspace selections. • Adds Zed state-db selection fallback, so TUI context can still pick up active file/selection when no editor socket lock is available. • Home tips now surface /connect when no usable model/provider is configured. OpenTUI moved to 0.1.104. 𝗣𝗿𝗼𝘃𝗶𝗱𝗲𝗿𝘀 & 𝗭𝗲𝗻 • OpenRouter SDK bumped to 2.8.1 and OpenRouter DeepSeek reasoning_details are preserved instead of being remapped into the OpenAI-compatible interleaved path. • LLM requests now carry opencode/version User-Agent metadata, including OpenCode-hosted provider calls. • OpenCode Go gets a Zen-compatible model listing endpoint backed by the lite model catalog. 𝗖𝗼𝗿𝗲 / 𝗖𝗼𝗻𝗳𝗶𝗴 • Shared runtime utilities, global paths, npm install service, logging/effect helpers, and process metadata moved into @opencode-ai/core for reuse outside the CLI package. • Effect-based config parsing now preserves permission key order for global and agent markdown config, keeping permission precedence intact while still rejecting unknown top-level config keys. • New opencode debug startup command prints startup timing for performance diagnostics. Bundle size change macOS arm64 • Total: 99.5 MB -> 99.6 MB (+64.5 KB) • Bun runtime: 60.4 MB -> 60.4 MB (+512 B) • CLI/TUI JS: 13.9 MB -> 13.9 MB (+68.0 KB) • Web UI assets: 17.8 MB -> 17.8 MB (no change) • Native addons: 1.7 MB -> 1.7 MB (no change) • WASM: 5.7 MB -> 5.7 MB (no change) • Bundle metadata: 75.5 KB -> 71.5 KB (-4.0 KB) Linux x64 • Total: 139.2 MB -> 139.3 MB (+72.0 KB) • Bun runtime: 96.2 MB -> 96.2 MB (no change) • CLI/TUI JS: 13.9 MB -> 13.9 MB (+68.0 KB) • Web UI assets: 17.8 MB -> 17.8 MB (no change) • Native addons: 5.5 MB -> 5.5 MB (+904 B) • WASM: 5.7 MB -> 5.7 MB (no change) • Bundle metadata: 67.2 KB -> 70.3 KB (+3.2 KB) Windows x64 • Total: 151.1 MB -> 151.1 MB (+68.0 KB) • Bun runtime: 111.5 MB -> 111.5 MB (+213 B) • CLI/TUI JS: 13.9 MB -> 14.0 MB (+68.0 KB) • Web UI assets: 17.8 MB -> 17.8 MB (no change) • Native addons: 2.1 MB -> 2.1 MB (no change) • WASM: 5.7 MB -> 5.7 MB (no change) • Bundle metadata: 66.6 KB -> 66.4 KB (-168 B) Compare: github.com/anomalyco/open…
English
0
3
43
3.8K
Paylaş