38252-videos-prerelease
最新预发布
PR #38252 verification videos
Before/after verification recordings for PR #38252.
Anomaly and contributors · 开源 AI 编程代理的桌面客户端,用于本地项目工作和编程会话,支持可配置的模型提供商;与终端 CLI 独立。
brew install --cask opencode-desktopPR #38252 verification videos
Before/after verification recordings for PR #38252.
PR #37967 final screenshots
Final visual evidence for PR #37967.
PR #37967 screenshots (final)
Final visual evidence for PR #37967.
OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
OpenCode 2.3.2 让 GPT-6.2 不再把系统提示按未缓存输入重复计费。
OpenCode 2.3.2 于 2026 年 11 月 18 日发布,是面向使用 GPT-6.2 的人的桌面编程代理。这一版让每一步不再把系统提示按未缓存输入重复计费。
来源:https://github.com/anomalyco/opencode/releases/tag/v2.3.2
timeout: 0 now means the default 120 seconds. (#63699)compaction.background: false to turn it off; a background summary that ends up unused still costs tokens. (#64290)shell_timeout_background flag is gone; configs that still set it keep loading. A foreground timeout: 0 now uses the default 120 second timeout instead of waiting until the command exits. (#63699)compaction.background: false; a background summary that is never used still costs tokens. The experimental.background_compaction setting is removed. (#64290)CLAUDE.md in any directory that has no AGENTS.md , and falls back to ~/.claude/CLAUDE.md when the global AGENTS.md is missing. This also applies to instructions found when the agent reads nested files. Set OPENCODE_DISABLE_CLAUDE_CODE or OPENCODE_DISABLE_CLAUDE_CODE_PROMPT to skip every CLAUDE.md . (#64474, #64533)websearch now returns a flat list of results, each with its url, title, content and published date. (#64471)read: text (with offset, lineCount and next), directory (entry names) or media (a URI instead of base64). What the model sees is unchanged. (#64361)Buffer for encoding and decoding bytes. (#64365)search("issues") now works as shorthand for search({ query: "issues" }). (#64347)glob and grep tools now report a malformed filename glob (for example [) as an error that names the parameter to fix, instead of returning no results. (#63960)UnknownError body instead of an empty one. Storage problems name the cause (for example "Storage is full" or "Storage is read-only"); other crashes include a ref you can find in the server log. (#64022)OPENCODE_SESSION_ID environment variable. (#63718)automations flag (the old schedules flag still works). An automation runs on a time, an interval, a cron or a pushed MCP event, and either sends a prompt (to the creating session, another session or a new subagent) or runs a Code Mode program that decides whether to send one. Use /automation or the automation_* tools. Active or paused plain prompt schedules carry over; schedules with a condition or run limit, and finished ones, are dropped. (#64160)opencode-pty. The process daemon now cleans each command up when it exits. Background processes started by a successful command (cmd &) keep running, and a failed command's leftovers are stopped. (#64266, #64251)reasoning_content) no longer receive reasoning_details from earlier turns. (#64243)read now rejects limit: 0 with "Limit must be a positive integer". (#63808)BM are no longer mistaken for BMP images, and only real GIF87a/GIF89a headers count as GIFs, so these files read as text again. (#63822, #63811)�. (#63984, #63967)$'\q' are now read the same way Bash and Zsh read them, so permission rules can match them. (#64263)grep results being dropped when a matching line or path is not valid UTF-8. Thanks @Tarquinen. (#62249)@ file picker now finds files in hidden folders such as .github/ and dotfiles such as .env.example when file search uses ripgrep (the default on Windows and outside git repos). .git and gitignored files stay excluded. Thanks @Tarquinen. (#62577)tool.execute.before now apply to calls inside Code Mode programs, and a renamed call returns the new tool's structured result. (#63633, #64333).catch and Promise.allSettled can handle it instead of the whole script failing. (#64510)null line before its logs. (#64344)session.tps is on. (#63759)+ still start a comment directly. (#64410)→ enters it to pick a variant or toggle Favorite, and ← or Escape goes back. A model's Console budget and reset time now show in the flyout. (#64409, #64423)from dev ▾). Click it to pick another base; the choice applies immediately, and Use main checkout switches back. (#64228)```latex and ```math code fences now render as display math once complete. (#64380)⋯ menu, whether or not you're signed in to OpenCode Console. (#64235)drafts.sqlite was a symlink to or copy of the CLI's opencode.db . The desktop now moves that file aside and creates its own, leaving the CLI database untouched. (#64203)/btw panel. (#63834)UnknownError body (message and ref) with status 500 instead of an empty body. (#64022)/api/experimental/automation and client.experimental.automation.* (create, list, get, pause, resume, delete). /api/experimental/schedule and client.experimental.schedule.* are removed. (#64160)compaction.background ; experimental.background_compaction and the shell_timeout_background flag are removed. (#64290, #63699)auth.json credentials. Only a database file opened by path imports them. (#63716)execute call's row. (#64324)SessionIdleBackground items can now be { kind: "codemode", sessionID, jobID }, and GUI plugin BridgeLayout accepts an optional clip rectangle. (#64343, #63819)GitHub Release Homebrew 收录
兼容性macOS 13 起
medium or high in settings, or set session.verbosity in your TUI config; an existing setting is kept. (#63207)Cmd+Alt+G (Ctrl+Alt+G on Windows and Linux) to search prompts across the current session and jump directly to one. (#63585)mcp_events flag. (#63254, #63261, #63269)shell_timeout_background flag. With the flag on, an explicit timeout on a background command stops it. (#63024, #63703)settings.tls with cert, key and an optional passphrase on the provider; values accept {file:} and {env:} like apiKey. (#61832)write and edit return their confirmation as a string, patch returns an empty result, and skill returns the skill's directory and content. (#63616, #63635, #63618, #63623)127.0.0.1 .low, which summarizes each run of tools and thoughts into one activity row. A session.verbosity you already set is kept. (#63207)Cmd+Alt+G / Ctrl+Alt+G, including prompts not yet loaded in the timeline. Thanks @usrnk1. (#63585)Alt+Enter to place a follow-up first in the queue and Mod+Enter to steer the next queued prompt.experimental.mcp.event events from MCP event subscriptions.parentID field.ToolContext.signal .session.fork hook.@opencode/plugin/effect now exports Tool, so an execute.before hook can reject a call with Tool.Error without importing @opencode/schema/tool . (#63698)GitHub Release Homebrew 收录
兼容性macOS 13 起
⌘W now closes side panel tabs wherever focus is, ⌥⌘W or Ctrl+Alt+W always closes the session tab, and ⌘⇧T reopens the last closed tab of either kind where it was. (#62922)@opencode/ai : ImageResponse.image is removedThis affects code that imports @opencode/ directly. Read response. instead of response.. (#63011)
On a Location that is still loading plugins, agent. returns the agents loaded so far, and integration., usage., vcs., rpc. and artifact. no longer wait up to 5 seconds. Entries and actions that a plugin provides appear when it finishes loading, so refresh on the matching *. event. Model, provider, generate., voice. and websearch. endpoints still wait. (#62796, #63040)
read accepts a negative offset to read from the end of a file, such as -50 for the last 50 lines. An offset past the end returns the last lines and the file's line count instead of failing. (#62147)read can't find a file, it suggests close names: different capitalization, another extension, a small typo, or the matching path inside the project. (#62147)Exit code: N. Commands killed by a signal show the signal name, and timeouts say how long they waited and suggest a larger timeout. (#62141)cache.ttl by default (interval: "auto"), or every 4 minutes without a TTL. Models whose cache outlasts the warming duration are no longer pinged. (#62831)needs_auth. (#63012)background_compaction on, a background summary no longer stops a running Claude Agent session mid tool call. (#63025)opencode auth logout on a .well-known integration, its remote providers and policies stop applying until you log back in. (#62760)gatewayApiKey now send that key. (#62574)api and options.baseURL keeps options.baseURL . (#62570)"openai/gpt-5#high" , keep the variant. (#62254)auth.json , and skips an invalid one with a warning instead of stopping setup. (#62568)session.generate requests, including cache warming pings, count toward the session's totals. (#63006)rm *.tmp , is passed through as bash does instead of stopping the command. (#62141)read no longer cuts an emoji in half when it shortens a long line. (#62575)description starts with a bracketed tag, like [Beta] Reviews code, now load. (#62250)node_modules. (#62571)←/→ and Tab/Shift+Tab. (#62906)/usage instead. (#62927)⌘W closes side panel tabs wherever focus is, the new Close session tab command (⌥⌘W or Ctrl+Alt+W) always closes the session tab, and ⌘⇧T reopens the last closed side panel or session tab where it was. (#62922)Ctrl+Shift+R toggles the review panel again instead of reloading the window. (#62567)Escape. (#62597)session.generate returns tokens and cost along with text. (#62835)credential.updated includes the integrationID and credentialID of the login that changed. (#62762)client.experimental.generate.decisions accept optional criteria: { true?, false? }. (#62819)OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
OpenCode Desktop 2.2.6 于 2026-11-06 发布,本次更新让同一套配置的项目共用一条 MCP 连接,并加入 GUI 插件主题。
opencode run -w 会在新的 git worktree 里开始会话,--worktree=<name> 用来给它命名。opencode run 加上 --archived,脚本和 CI 会话不会进入收件箱和会话列表。OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
该版本暂无编辑说明。
该版本暂无编辑说明:官方变更记录尚未核对,留待后续补充。
来源:待补充(该版本官方变更记录尚未核对)。
GitHub Release Homebrew 收录
兼容性macOS 13 起
"experimental": { "artifacts": true } in opencode.json to let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage. (#60351)claude auth login, install Claude Code, and verify the connection before continuing to model selection. (#60603)⌘⌥. on macOS or Ctrl+Alt+. on Windows and Linux. The command is also available in the command palette and Settings › Shortcuts. (#60579)artifact_create, artifact_read, artifact_update, and artifact_delete, including a built-in local static-file provider. (#60351)opencode serve and coordinated multiple server processes so a schedule fires only once. Schedules remain opt-in through experimental.schedules . (#60478)/login instruction with claude auth login. Thanks @Tarquinen. (#60592)⌘⌥. or Ctrl+Alt+.. (#60579)client.experimental.artifacts.providers , list, create, get, update, delete, and view. (#60351)client.experimental.persistentPty.update to rename terminals or clear a user title, and exposed userTitle plus persistent-pty.updated events. (#60329)ctx.experimental.artifact.transform(...) to Effect and Promise plugins for registering artifact providers, capabilities, prompts, and the default provider. (#60351)OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
OpenCode 2.2.3 新增 Claude Agent 提供方,加快桌面端长会话,修复侧面板标签页,并把 TUI 插件迁移到 OpenTUI 0.8。
主要变化
claude auth login 后,在 /connect 中选择 Claude Agent 即可(#58782)。桌面端
其他改动
@opencode/plugin 要求 @opentui/core 和 @opentui/solid 0.8.0 或更高版本(#60385)。integration.use 现在只管集成账号;新增的 mcp.use 、skill.use 和 plugin.use 分别控制 MCP 服务器、技能和插件,旧版 mcp:、skill:、plugin: 前缀的规则会自动转换(#60315)。TestSpeech、TestTranscription 和 TestVideo 移至 @opencode/ai/experimental/testing (#60484)。OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
新增目标驱动会话、可选图像生成和默认的新模型选择器。
/goal <objective>,支持暂停、继续、清除及自动进度审查。可选定时提示词使用 /schedule 和 experimental.schedules 。experimental.image_generate 可生成和编辑图像。新增 Codex 登录后的 GPT Image 2、MiniMax 和 Meta Muse 支持,并修复图像编辑参考格式。/reload 、可搜索的收藏和最近模型列表、后台 shell 实时输出及停止操作,以及会话位置菜单中的项目和工作树操作。/usage 的间距。@opencode/ai 的用户需迁移已移除的 fal、Black Forest Labs、Replicate、Stability 服务商和旧 Bedrock/Vertex 入口;configure() 输入类型改为 Config。这些变更不影响桌面端、CLI 或 HTTP API 使用。client.experimental 下新增定时提示词管理及 Promise 客户端压缩。扩展新增 experimental.idle 、可返回 Effect 的 Code Mode 全局对象和输入区胶囊弹窗。OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
引入实验性桌面插件,并更新桌面工作区。
@opencode/ai 根入口导出 Promise API;Effect 导入移至 @opencode/ai/effect 。移除 OpenCode GitHub Action。TUI 插件要求 OpenTUI 0.7.0,并需更新钩子初始化。OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
显示 MCP 输入表单,并新增实验性后台上下文压缩。
MCP 工具调用请求补充输入时会显示表单,不再一直等待至超时。桌面端和网页端支持文本、数字、单选、多选、布尔值和 URL 请求。将 experimental.background_compaction 设为 true,可在会话接近压缩阈值时后台准备摘要,缩短自动压缩的等待时间。即便摘要最终未使用,生成它仍会消耗 token。以上为部分重点,完整改动见官方日志。
OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
将内置 Bun 运行时更新至 1.4.4,包含安全修复并更新根证书。桌面端代码块、文件视图和审阅差异改用 Pierre Highlights,加快大型内容的高亮并降低内存占用。修复重命名会话标签时粘贴带格式内容,以及拖动会话滚动条后跳回末尾的问题。
将内置 Bun 运行时更新至 1.4.4,包含安全修复并更新根证书。桌面端代码块、文件视图和审阅差异改用 Pierre Highlights,加快大型内容的高亮并降低内存占用。修复重命名会话标签时粘贴带格式内容,以及拖动会话滚动条后跳回末尾的问题。
Source: https://opencode.ai/changelog
OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
OpenCode 2.1.2:更清晰的免费额度恢复提示
恢复桌面端免费额度耗尽后的处理流程,订阅 OpenCode Go 时保留当前会话。
OpenNavo 编辑 Homebrew 收录
兼容性macOS 13 起
改进模型目录刷新传播和提供商变体构建,并更新内置模型目录。
官方 v2.1.1 源码标签中的部分共享核心变更:在整个服务器范围广播 models.dev 目录刷新,在包规范化后构建提供商变体,并更新内置 models.dev 快照。这些核心修复也与桌面客户端有关。比较记录还列出 TUI 对话框改版;这些界面变化属于终端客户端。官网没有单独的 2.1.1 更新条目,本说明依据该版本标签的源码比较记录整理。
OpenNavo 编辑 Homebrew 收录
2.0.32 共用核心说明:修复缺少浏览器打开程序时的登录崩溃,并对 Gemini 间歇性 MALFORMED_RESPONSE 结束进行重试。TUI 的 /copy 现复制最新回复或压缩摘要。这些不是桌面端专属功能公告。
2.0.32 共用核心说明:修复缺少浏览器打开程序时的登录崩溃,并对 Gemini 间歇性 MALFORMED_RESPONSE 结束进行重试。TUI 的 /copy 现复制最新回复或压缩摘要。这些不是桌面端专属功能公告。
OpenNavo 编辑 Homebrew 收录
桌面时间线新增每轮变更文件、行数及可展开差异,支持键盘切换会话标签;改进 TUI 侧栏差异、MCP 兼容和压缩限制,项目目录缺失时仍可打开设置。
桌面时间线新增每轮变更文件、行数及可展开差异,支持键盘切换会话标签;改进 TUI 侧栏差异、MCP 兼容和压缩限制,项目目录缺失时仍可打开设置。
OpenNavo 编辑 Homebrew 收录
远程配对、提供商账户管理、自动续写及桌面修复。
桌面端新增 Settings → Pairing 远程设备配对,通过 OpenTunnel 提供二维码与链接;可在连接对话框或 Settings → Providers 中切换、重命名、移除和添加提供商账户。支持触控板缩放和平移图片及 SVG,并显示会话上下文 token 与会话家族累计费用。
达到输出 token 上限时自动续写,具有有界重试及截断工具调用恢复。policies 成为顶层配置,同时兼容 experimental.;集中管理配置优先于本地和用户配置。
改进侧栏快捷键、问题输入框、时间线提示和差异颜色;修复待发送消息与附件即时显示、256 MiB 原始媒体保留、模型选择丢失、浏览器标签关闭、错误的文件缺失提示及启动时项目存储驱逐循环。官方条目还包含 TUI、SDK 和扩展变更,这里重点概述桌面及共用核心。