Files
goodbuddy/docs/features/model-connections/progress.md
T
mesalogo c037d7fb20 fix: complete runtime and workspace workflows
Restore Ask workspace reads and output paging without granting write access,
and let programming Subagents reuse their parent's browser page. Allocate
browser resources only when used, keep Agent pages aligned with workbar tabs,
recover released bindings, and remove unused automatic screenshot work.

Preserve inherited Runtime selections during remote usage persistence and
manual compression. Keep viable channel model fallbacks, display the actual
scheduled-task mode and Harness model source, and avoid rediscovery delays
when calling healthy MCP tools. Fix directory/history refresh, case-only
renames, rename-aware commit diffs, and FastGPT probe success reporting.

Add regression coverage and align feature documentation. The Agent-side
connection timeout fix requires deploying an updated Agent; existing Ask
read-only and Execute authorization boundaries remain unchanged.

Final validation: 3839 tests passed, 66 skipped; typecheck, lint, development
build, and diff checks passed. Isolated Electron UI/MCP workflows passed with
a loopback model fixture. Current-source Linux x64 Host checks passed with
three successful real model requests. Chromium loadURL rejection was not
reproduced in the UI; released-binding recovery has automated coverage.

Release note: 修复 Ask 读取项目文件、浏览器页面显示与恢复、文件管理及模型配置跟随中的不一致,并减少无用截图和 MCP 等待。定时任务显示实际工作模式,远程会话可正常保存继承 Runtime 的用量;远端连接超时修复需更新 Agent 后生效。
2026-09-10 12:48:30 +08:00

3.6 KiB
Raw Blame History

模型连接请求定制进度

2026-09-10:配置准确性修复

  • 通道直连回退修复已按技术设计第 8 节 实现;测试把修复结果交给现有 Main resolver,不仅断言返回对象。
  • Harness 设置使用专用来源标签、关联帮助及 Main 直接从生产 resolver 派生的只读 deepseekHarnessPlatformModel 投影;准确区分完整管理员预置、兼容回退和无连接, 不再从通用环境凭据状态推断。投影不含地址、密钥或请求定制,也不写入设置文件。
  • 无兼容连接时管理员来源仍可选择;未保存候选与实际已保存来源分别展示。UI 验证涵盖 中英文、兼容默认、首个兼容回退、管理员覆盖、部分环境回退、无连接、草稿预览和保存动作。
  • 聚焦命令 npx vitest run src/main/agent/runtime-selection-contracts.test.ts src/renderer/src/SettingsPanel.test.tsx 对应的两个文件在本次五文件联合运行中全部通过,共 96 项。真实模型调用 0 次; 本次未运行全量测试、typecheck、lint 或真实 Harness 请求。 通道修复集成测试随后归入 Main 测试目录,避免 Shared/Web 类型项目导入主进程实现。
  • 后续聚焦验证 npx vitest run src/main/runtime-settings-store.test.ts src/renderer/src/SettingsPanel.test.tsx 全部通过:2 文件、181 项。Store 覆盖完整、部分与旧环境变量、默认/首个兼容回退、 无连接、精确字段白名单、非持久化以及不改变所选来源。真实模型/Host 调用均为 0; 未运行全量测试、构建、typecheck 或 lint。

2026-09-03

已完成

  • 模型连接设置、v20 → v21 迁移、公开与 resolved profile 已接入有界自定义 Header/Body。
  • 设置页已提供两个 JSON 编辑器、就地校验、保存阻止、普通设置存储提示和 Runtime 支持范围。
  • 直连连接测试、文本、工具、摘要和图像请求已统一采用 Runtime 优先的浅合并。
  • Continue 1.5.47 已通过原生 requestOptions.headers 与 extraBodyProperties 接入两项配置。
  • bundled OpenCode 已通过 Provider options.headers 接入 Header,并确认没有发送未支持的 自定义 Body。
  • DeepSeek Harness 已通过控制协议 v3 把 Header 交给 Pi-AI Provider,没有接入未支持的 自定义 Body。
  • Main 与 Agent 远程模型网关已接入 Prompt-scoped Header/Body;runtime/acp capability 已提升为 v5。
  • 功能入口、支持矩阵、合并优先级、普通设置存储边界和协议版本已写入功能文档及双语 FEATURES。

已验证

  • npm run typecheck
  • npm run lint
  • 20 个聚焦测试文件:527 项通过,4 项按环境跳过。
  • 全量 npm test:326 个测试文件通过,8 个文件按环境跳过;3506 项通过,55 项跳过。
  • bundled OpenCode 与 Continue 分别对 loopback Provider 验证 Chat Completions 和 Responses。4 项原生探针全部通过:两者都发送自定义 Header;Continue 发送自定义 Body; OpenCode 不发送不支持的 Body。
  • Main/Agent 远程网关测试验证了合并优先级、认证优先、profile digest 绑定和单次分发。
  • 三路清理审查完成;已复用共享协议路径、Header 规范化、ACP capability 常量和 JSON 类型,并为 Renderer JSON 草稿增加解析前长度上限。

待验证

  • 生产 npm run build。
  • 最小真实模型 Header/Body 探针。
  • DeepSeek Harness 真实 Provider Header 探针。
  • 当前源码 Agent bundle 在共享 Linux x64 Host 上的受管远程模型请求。