v1.2.24:工作区初步支持
发布日期:2026-03-09
🎯 一句话总结
TUI 新增工作区初步支持,GitLab 1M 上下文窗口。
✨ 新功能:TUI 工作区支持(实验性)
这次更新了什么?
在 TUI 中新增了工作区(Workspaces)的初步支持。
这有什么用?
让你可以在同一个界面中管理多个项目/仓库,工作区之间快速切换。
如何开启?
需要设置环境变量(实验性功能):
bash
export OPENCODE_EXPERIMENTAL_WORKSPACES=1🔧 改进:GitLab 1M 上下文窗口
这次更新了什么?
向 GitLab 发送特殊的 beta header,启用 100 万 token 的上下文窗口。
这有什么用?
如果你使用 GitLab 作为代码仓库,可以处理超大型代码库而不会因为上下文不足而截断。
🔧 改进:Copilot GPT-5.4 xhigh 支持
这次更新了什么?
新增对 Copilot GPT-5.4 xhigh 模型变体的支持。
这有什么用?
使用 Copilot 的用户可以选择最新的模型版本。
🐛 修复:会话标题转轮显示
之前的问题
会话标题区域的加载动画显示不正确。
现在的情况
修复后,加载动画正常显示。
📱 Desktop 应用改进
- 修复滚动抖动和循环问题
- Toast 通知在问题或权限解决后自动消失
📊 要不要升级?
| 情况 | 建议 |
|---|---|
| 需要多项目管理 | ✅ 推荐(实验性) |
| 使用 GitLab 大型项目 | ✅ 强烈推荐 |
| 使用 Copilot | ✅ 推荐 |
⬆️ 升级命令
bash
opencode upgrade📋 技术细节
点击展开原始 Release Notes
Core
- Add initial support for workspaces into the TUI
- Send context-1m-2025-08-07 beta header to GitLab to enable 1M context window
- Add Copilot GPT-5.4 xhigh support
- Put workspace routing behind OPENCODE_EXPERIMENTAL_WORKSPACES flag
Desktop
- Fix scroll jitter and loop issues in app
- Session title turn spinner now displays correctly
- Dismiss toast notifications when questions or permissions are resolved
Thank you to 3 community contributors:
- @Krule: feat(gitlab): send context-1m-2025-08-07 beta header to enable 1M context window
- @ShriKaranHanda: fix(storybook): add ci build workflow
- @neriousy: fix(app): dismiss toast notifications when questions or permissions are resolved

