v1.2.25:Windows ARM64 支持 + 多项修复
发布日期:2026-03-12
🎯 一句话总结
新增 Windows ARM64 支持,修复 Java 多仓库 LSP 内存泄漏。
🔧 重要修复:Java 多仓库 LSP 内存泄漏
之前的问题
在 Java 大型项目中,如果有多个 jdtls LSP 实例同时运行,会导致内存持续增长。
现在的情况
修复了多个 jdtls LSP 实例的内存问题,大型 Java 项目现在可以正常运行。
💻 新功能:Windows ARM64 支持
这次更新了什么?
新增 Windows CLI 和 Desktop 的 ARM64 发布版本。
这有什么用?
如果你使用 ARM64 架构的 Windows 设备(如 Surface Pro X),可以获得原生性能体验。
🐛 重要修复:OAuth 首次连接失败
之前的问题
首次连接 MCP 服务器时,OAuth 自动连接会失败。
现在的情况
修复后,首次连接即可自动完成 OAuth 认证。
🔧 改进:Google Vertex 位置配置
这次更新了什么?
新增 GOOGLE_VERTEX_LOCATION 环境变量支持。
这有什么用?
使用 Google Vertex AI 的用户可以更灵活地配置区域。
📱 Desktop 应用改进
- 修复移动端侧边栏在 workflows 模式下的大小问题
- 修复终端动画和焦点问题
- 新增应用调试窗口
- 优化会话渲染性能
- 终端状态损坏修复
📦 SDK 改进
- 修复
@opencode-ai/plugin的 ESM 导入问题
📊 要不要升级?
| 情况 | 建议 |
|---|---|
| Java 大型项目开发者 | ✅ 强烈推荐 |
| Windows ARM64 用户 | ✅ 强烈推荐 |
| 使用 MCP OAuth | ✅ 推荐 |
| 所有用户 | ✅ 推荐 |
⬆️ 升级命令
bash
opencode upgrade📋 技术细节
点击展开原始 Release Notes
Core
- Add ARM64 release targets for Windows CLI and desktop
- Resolve symlinks in Instance cache to prevent duplicate contexts
- Restore plugin serverUrl getter so plugins can connect to local server
- Re-enable snapshot in ACP
- Adjust skill presentation to reduce token usage
- Improve skill presentation to agent to increase likelihood of skill invocations
- Hide Windows background consoles in Electron
- Add GOOGLE_VERTEX_LOCATION environment variable support for Vertex AI
- Fix OAuth auto-connect failing on first MCP connection
- Put workspace routing behind OPENCODE_EXPERIMENTAL_WORKSPACES flag
- Replace Bun semver with npm semver package
- Replace Bun shell with direct spawn calls in core flows
- Multiple jdtls LSPs eating memory in Java monorepos
TUI
- Use parse() at boundaries instead of manual make() for imports
Desktop
- Fix broken mobile sidebar sizing issue in workflows mode
- Fixed terminal animation in application
- Rework default server initialization and connection handling in desktop client
- Set default WebSocket username and fix terminal spawn lifecycle issues in desktop app
- Simplify review pane
- Trim session render work in app for improved performance
- Fixed terminal jank in the app
- Add debug window to app
SDK
- Fix ESM imports for @opencode-ai/plugin
Thank you to 15 community contributors:
- @stevoland: fix: Multiple jdtls LSPs eating memory in java monorepos
- @domdomegg: fix(mcp): fix OAuth auto-connect failing on first connection
- @SOUMITRO-SAHA: fix: add GOOGLE_VERTEX_LOCATION env var support for Vertex AI
- @OpeOginni: fix(desktop): set default WebSocket username and prevent repeated calling of terminal spawn
- @5w14: fix(web): fix broken mobile sidebar sizing issue

