Post

OpenCode Changelog
OpenCode Changelog@OpenCodeLogยท
๐™Š๐™ฅ๐™š๐™ฃ๐˜พ๐™ค๐™™๐™š v1.16.2 released. TL;DR: v2 sessions get durable context epochs, App gets multi-server tab/state isolation, Snowflake Cortex lands, and TUI can navigate diff hunks/background subagents. ๐—”๐—ด๐—ฒ๐—ป๐˜ Added โ€ข Added durable v2 context epochs: instructions, selected-agent system text, and available skill guidance are snapshotted per session and refreshed as explicit system update messages. โ€ข Added default_agent config support for selecting the default primary agent when a session has no agent yet. โ€ข Added background promotion for synchronous subagents so a blocking task can be detached and continue running. Changed โ€ข Changed permission checks to evaluate against the selected agent and fail closed when an agent cannot be resolved. Fixed โ€ข Fixed edit tool safety by refusing empty oldString replacements on existing files and tightening fuzzy block-anchor matches that could replace too much. ๐—”๐—ฝ๐—ฝ Added โ€ข Added server-scoped home, project, session, terminal, worktree, and query state so multiple servers no longer share local-only caches. Changed โ€ข Changed the home screen to focus projects and session search across configured servers while suppressing stale status indicators from inactive servers. Fixed โ€ข Fixed titlebar session-tab overflow with scrollable tabs, server-aware tab metadata, and preserved close/new-tab navigation. ๐—ง๐—จ๐—œ Added โ€ข Added [ and ] hunk navigation in /diff with help and footer hints. โ€ข Added Ctrl+B session.background to detach synchronous subagents when experimental background subagents are enabled. Fixed โ€ข Fixed permission replies in attach/workspace routing by sending the session directory with replies. โ€ข Fixed terminal theme refresh after palette reloads, SIGUSR2, and resize-triggered palette changes. โ€ข Fixed editor launch in attach mode when the remote project path does not exist locally by falling back to local cwd. โ€ข Fixed /models slash autocomplete precedence and guarded path/diff metadata formatting inputs. ๐—ฃ๐—ฟ๐—ผ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ฟ๐˜€ Added โ€ข Added Snowflake Cortex provider support with account/PAT login, SNOWFLAKE_ACCOUNT/SNOWFLAKE_CORTEX_PAT env auth, Cortex request/stream normalization, and model catalog integration. Fixed โ€ข Fixed Amazon Bedrock hangs in packaged builds by using Node export conditions instead of browser conditions. โ€ข Fixed GPT-5 reasoning options so only compatible providers receive Responses-only fields; Azure chat-completions paths drop unsupported include/reasoningSummary fields. ๐—Ÿ๐—Ÿ๐—  โ€ข Changed Anthropic Messages system-update lowering to fall back to provider-compatible text when native placement is invalid, while still rejecting updates that split local tool calls from results. ๐—–๐—Ÿ๐—œ โ€ข Fixed daemon lifecycle handling with versioned registrations, timed health checks, safe stale-process replacement, and atomic registration cleanup. ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ โ€ข Added POST /experimental/session/{sessionID}/background to promote running task subagents tied to a session into background jobs, gated by the experimental background-subagent flag. ๐—ฆ๐——๐—ž โ€ข Updated JS SDK/OpenAPI for the background-subagent endpoint, session context-updated events, and the new system session-message variant. ๐—ฆ๐˜๐—ผ๐—ฟ๐—ฎ๐—ด๐—ฒ โ€ข Added session context epoch persistence for baselines, snapshots, replacement sequence, revision, and agent so v2 sessions can replay context changes durably. ๐—ฃ๐—น๐˜‚๐—ด๐—ถ๐—ป โ€ข Added same-process native tool attachment APIs with schema-validated execution and model output projection; location tools keep precedence over application-level tools. Bundle +3.0 MB because mostly CLI/TUI JS +8.9 MB and Bun runtime +26.0 KB Compare: github.com/anomalyco/openโ€ฆ
English
1
2
46
5K
PaylaลŸ