Post

OpenCode Changelog
OpenCode Changelog@OpenCodeLogยท
๐™Š๐™ฅ๐™š๐™ฃ๐˜พ๐™ค๐™™๐™š v1.15.13 released. TL;DR: ACP is promoted, config/plugin/runtime state got deeper v2 plumbing, TUI/App session flows improve, and provider transport fixes target Vertex, OpenAI, MCP, and Windows PTY. ๐—”๐—–๐—ฃ โ€ข Changed opencode acp to use the newer ACP implementation by default instead of a feature-flagged alternate path. โ€ข Added richer ACP session lifecycle support: list, resume, close, fork, loadSession, and per-session model/mode config updates. โ€ข Added ACP directory snapshots that include providers, agents, slash commands, skills, default model resolution, and available-command updates. โ€ข Improved ACP replay and usage reporting so resumed sessions can restore recent messages and report context/cost usage to clients. ๐—–๐—ผ๐—ฟ๐—ฒ Added โ€ข Added location-scoped v2 config loading across global config, project config, and nested .opencode directories, with nearer config winning for runtime settings. โ€ข Added v2 config schemas for agents, providers, MCP, LSP, formatters, attachments, references, plugins, compaction, and tool output. โ€ข Added experimental provider-use policies so config can deny provider access by wildcard resource. Changed โ€ข Changed location runtime caches to include config, policy, catalog, agent, plugin, auth, npm, models.dev, filesystem, and global services with a longer 60-minute TTL. โ€ข Changed catalog and agent mutation to use serialized state transforms, reducing races when plugins and config mutate provider/model/agent state. ๐—”๐—ด๐—ฒ๐—ป๐˜ โ€ข Added default v2 agents through a built-in plugin: build, plan, general, explore, compaction, title, and summary now get explicit modes and permission profiles. โ€ข Added config-driven agent overrides, custom agents, disabling, model/variant/options overrides, and per-agent permissions. ๐—ฃ๐—น๐˜‚๐—ด๐—ถ๐—ป โ€ข Added config-driven provider catalog transforms, including custom providers, model definitions, costs, limits, variants, capabilities, and disabled models. โ€ข Added a plugin.added event so catalog state can react when plugins are registered after initial boot. ๐—ง๐—จ๐—œ Added โ€ข Added an experimental session switcher behind OPENCODE_EXPERIMENTAL_SESSION_SWITCHER, with search, pinned sessions, quick-switch slots, rename/delete actions, workspace recovery, and a live preview pane. Fixed โ€ข Fixed wrapped inline tool rows so icons/text align consistently and block tools create proper vertical spacing. โ€ข Fixed inline tool failures to show a compact error state that can be expanded instead of dumping errors inline. โ€ข Fixed select dialogs so footers stay pinned at the bottom while the option list scrolls. โ€ข Changed provider-specific model lists to sort by release date, making newer connected-provider models easier to find. โ€ข Fixed the OpenCode Go provider prompt to send users to opencode.ai/go. ๐—”๐—ฝ๐—ฝ โ€ข Changed MCP/command loading to run only for directories with an active directory-sync context, then disable when the last consumer is released. โ€ข Fixed horizontal jitter on the /go page. ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ โ€ข Added session metadata persistence and API support: create/update/get/list now round-trip metadata, and forked sessions preserve it. โ€ข Fixed workspace create/warp failures to return typed, message-bearing errors so clients can show the real failure instead of a generic bad request. ๐—ฆ๐——๐—ž โ€ข Updated generated OpenAPI/JS SDK types for session metadata, optional model variants, plugin.added events, experimental provider policies, and typed workspace create errors. ๐—ฃ๐—ฟ๐—ผ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ฟ๐˜€ โ€ข Fixed Vertex AI auth by requesting the cloud-platform OAuth scope through GoogleAuth.getClient(). โ€ข Fixed OpenAI Responses WebSockets under Bun to honor HTTP(S)_PROXY/NO_PROXY and preserve upgrade/connect error messages. โ€ข Fixed stalled SSE streams to surface as retryable provider stream errors instead of generic read timeouts. โ€ข Fixed Anthropic Opus 4.7+ adaptive reasoning detection for suffixed model IDs and forces summarized thinking display through AI SDK Gateway so thinking blocks are not empty. โ€ข Updated gitlab-ai-provider to 6.8.0. ๐— ๐—–๐—ฃ โ€ข Fixed MCP OAuth/auth file races by serializing reads and writes to mcp-auth.json with a file lock. ๐—–๐—Ÿ๐—œ โ€ข Fixed Windows ConPTY PTY info decoding by allowing pid 0 while node-pty assigns the child process asynchronously. ๐——๐—ฒ๐˜€๐—ธ๐˜๐—ผ๐—ฝ โ€ข Updated packaged @lydell/node-pty binaries to 1.2.0-beta.12 across desktop targets. ๐—–๐—ผ๐—ป๐˜€๐—ผ๐—น๐—ฒ โ€ข Added hosted /stats routing and proxying, with rankings/model charts, live GitHub star count, newsletter signup, social unfurl metadata, and mobile chart/layout fixes. โ€ข Fixed workspace operation errors in the UI so real server messages are surfaced to users. ๐—ญ๐—ฒ๐—ป โ€ข Changed high-volume balance/usage accounting for hot workspaces to batch through Redis before flushing to billing tables, reducing row-lock pressure. โ€ข Fixed Lite referral rewards so first checkout credits the inviter and invitee while avoiding self-referrals and duplicate invitee rewards. No noticeable bundle change Compare: github.com/anomalyco/openโ€ฆ
English
0
2
53
4.3K
PaylaลŸ