Post

OpenCode Changelog
OpenCode Changelog@OpenCodeLog·
𝙊𝙥𝙚𝙣𝘾𝙤𝙙𝙚 v1.17.7 released. TL;DR: canonical v2 PTY API; safer App draft server scoping; integration-backed provider availability; MCP/ACP polish. 𝗦𝗲𝗿𝘃𝗲𝗿 Added • Added canonical location-scoped /api/pty routes for list/create/get/update/remove plus ticketed WebSocket connection and cursor replay. • Added bounded exited-PTY retention on the canonical API, including exitCode visibility until explicit removal. Changed • Changed PTY WebSocket delivery to preserve replay, cursor metadata, live output, and close ordering through one outbound stream. 𝗔𝗽𝗽 • Fixed /new-session drafts so SDK and sync hooks follow the draft’s server instead of the globally selected server. 𝗣𝗿𝗼𝘃𝗶𝗱𝗲𝗿𝘀 • Changed provider/model availability to come from integration connections, so env keys and stored credentials are reflected consistently. • Fixed model auth resolution to prefer active stored credentials and credential metadata over static configured auth. 𝗣𝗹𝘂𝗴𝗶𝗻 • Fixed plugin client requests to reuse the active OpenCode server URL instead of hard-coded localhost fallback. • Fixed shell.env hooks applying to PTY terminal sessions, with plugin env merged before forced terminal variables. 𝗧𝗨𝗜 • Fixed @ mention autocomplete to match item names only, not descriptions or URIs. • Improved provider/model refresh after catalog or integration updates. 𝗠𝗖𝗣 • Added MCP roots support, returning the current project directory as a file:// root when servers request roots. • Updated mcp debug initialization to use the MCP SDK’s latest protocol version. 𝗔𝗖𝗣 • Fixed shell tool calls in ACP clients to show the actual command and resolved working directory instead of a generic shell title. 𝗦𝗗𝗞 • Added generated v2 PTY client methods and types for the new /api/pty surface. • Updated generated provider and credential types for integration-backed provider availability and location-scoped credential update/remove. 𝗭𝗲𝗻 • Added provider budget-aware routing so fill-mode providers can stop receiving traffic after spend contribution reaches the configured budget. No noticeable bundle change Compare: github.com/anomalyco/open…
English
1
0
46
3.9K
Paylaş