Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AIDotNet/OpenCowork
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.74
Choose a base ref
...
head repository: AIDotNet/OpenCowork
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.9.80
Choose a head ref
  • 3 commits
  • 28 files changed
  • 1 contributor

Commits on Apr 24, 2026

  1. 持久化侧栏与面板状态并刷新调试与模型默认值

    将 UI 侧栏/右侧面板/工作区与终端抽屉状态改为持久化存储,兼容旧版 toolbarCollapsedByDefault 并删除布局里首次启动强制覆写左侧栏的逻辑;同时让切换活跃项目时同步刷新会话可见性与缓存,避免后台流继续按错误会话状态工作。
    
    另外,把助手消息的调试信息下沉到消息数据中以便渲染时直接展示,并在流式返回、错误与简单对话路径里及时写回;Dev 模式下禁用 sidecar agent 选择以便调试主进程路径。还更新了搜索/grep 对默认忽略目录的过滤,修正结果回传中漏掉的忽略目录,调整右侧面板宽度上限为按窗口比例扩展,降低流式刷新间隔,更新 DeepSeek 与 Routin AI 的默认模型与能力声明,并移除了 OpenAI Responses / image_generation_call 的助手图像回填逻辑。
    239573049 committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    f78335a View commit details
    Browse the repository at this point in the history
  2. 将 shell 执行切到终端会话并在工具面板内联展示交互终端

    本次把原先 `shell:exec` 的子进程执行改为复用主进程里的 terminal session:创建 PTY、订阅 `terminal:output/exit` 事件、通过 `terminalId` 回填结果并支持统一中断/超时回收,避免再维护独立的 stdout/stderr 采集与大缓冲裁剪逻辑。对应地,背景进程状态、工具结果和终端面板都开始携带 `terminalId`,当 shell 工具返回可用会话时,ToolCallCard 与 DetailPanel 直接嵌入 `LocalTerminal`,保留输入、Ctrl-C、停止等交互入口;没有会话时则继续显示文本输出。
    
    同时收紧了 Plan Mode 的退出语义:系统提示明确要求同一轮必须成功调用 `ExitPlanMode`,工具实现也允许在已进入“待用户审阅”状态时幂等返回,避免重复退出造成误报。另修正了消息快照尾部匹配在空消息列表下的误判,并调整了响应流里图片生成输出项的归一化,改为仅保留有效 `id`。
    239573049 committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    fbc2039 View commit details
    Browse the repository at this point in the history
  3. 支持 shell 结果直连终端会话并更新模型面板交互

    本次把 Bash 工具链从“只展示文本结果”改成“携带终端会话标识的实时预览”,前端工具卡片能根据输入/返回里的 terminalId 直接渲染对应终端,即使输出尚未完整也能进入交互式会话;同时主进程修复了 shell 结束态的重复收尾,避免终端会话已解析后又被超时或后续逻辑再次结算。
    
    设置页的 Provider 模型列表也做了更偏可用性的重构:增加搜索、总数/筛选数提示、批量启用/禁用、拉取模型与新增模型入口的聚合布局,并提升列表项的层级、间距和操作按钮可见性;这属于 UI 重排,但不改变模型配置数据结构。
    
    版本号同步提升到 0.9.80。
    239573049 committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    a57ab3a View commit details
    Browse the repository at this point in the history
Loading