← 返回更新日志

Qwen Code v0.26.2-preview.0 预发布

2026-10-26 · GitHub 原文
<!-- 发布说明使用 release/v0.26.2-preview.0 中的 .github/release.yml 配置生成 --> ## 变更内容 * feat(managed):添加会话权限规则和自动批准功能,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15448 * fix(cli):强化 serve 令牌解析,防止项目环境变量注入,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15228 * feat(core):添加实验性共享智能体循环,并以无头模式在其上运行,由 @qqqys 提交,见 https://github.com/QwenLM/qwen-code/pull/15369 * fix(cli):使 OpenTUI 的取消和重试行为与 Ink 保持一致,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15283 * test(managed-agent):在 Hosted 工作区门控夹具中断言 web_fetch,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15451 * fix(vscode):编辑被拒绝后退出编辑模式,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15439 * fix(rewind):按来源标识解析旧版轮次,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/13737 * test(cli):覆盖 Managed Workspace 激活时其余的拒绝场景,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15460 * fix(managed-agent):在启动等待之前清理已注册的僵尸进程,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15459 * feat(core):通过 source-config 请求头标记千问AI平台 / QwenCloud 请求来源,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15041 * fix(cli):保留直接模式下 stream-json 启动消息的到达顺序,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15378 * fix(managed-agent):在 #15448 之后恢复模块和 CLI 通道,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15455 * test(managed-agent):在 #15448 之后修正 CSI 清单的列数,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15469 * docs(design):修复首次运行时计划任务门控的示例,由 @sxl-lucky7 提交,见 https://github.com/QwenLM/qwen-code/pull/15452 * test(managed-agent):在测试框架端口竞争后重试 team-lead 启动,由 @qwen-code-dev-bot 提交,见 https://github.com/QwenLM/qwen-code/pull/15224 * feat(cli):保留 OpenTUI 会话回放和回退功能,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15384 * fix(cli):保留检查点恢复的所有权和冷启动续接能力,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15386 * feat(cli):捕获并恢复完整的 OpenTUI 检查点,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15389 * fix(cli):在私有 Bun 1.4.4 上运行 OpenTUI,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15387 * test(ci):固定磁盘压力收集器的修订版本和 FULL_PAYLOAD 运行主体,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15475 * fix(ci):为后继运行尚未稳定的主 CI 失败创建问题,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15471 * test(integration):使用变异见证固定 removeScratchDir 的重试预算,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15488 * test:捕获预期的磁盘已满日志,由 @EthDing 提交,见 https://github.com/QwenLM/qwen-code/pull/8549 * fix(web-shell):使权限规则声明保持自包含,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15501 * fix(cli):在草稿恢复过程中保留 OpenTUI 剪贴板来源,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15396 * fix(hosted):保留主要的 MySQL 隔离失败信息,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15505 * fix(cli):停止在成本估算中重复计算推理 token,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15464 * fix(release):限制摘要并发数并刷新发布 PR,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15500 * fix(web-shell):防止出现重复的 Managed 编辑器,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15496 * fix(serve):在公布原生目录选择器之前探测 X11 显示的可达性,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15434 * test(managed-agent):等待工作进程退出状态可见,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15503 * ci(sdk-java):保留失败报告和 SQL 原因,由 @Aling33 提交,见 https://github.com/QwenLM/qwen-code/pull/14910 * test(ci):固定 JUnit 报告上传路径,由 @barry166 提交,见 https://github.com/QwenLM/qwen-code/pull/15502 * fix(test):为发布池中的独立运行时测试套件设置时间预算,由 @qwen-code-dev-bot 提交,见 https://github.com/QwenLM/qwen-code/pull/15102 * feat(managed-agent):对自动化扫描器的行进行池化,并从认领时刻开始租约,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15442 * test(cli):为慢速运行器设置 Hosted 批准等待预算(#15176),由 @qwen-code-dev-bot 提交,见 https://github.com/QwenLM/qwen-code/pull/15183 * fix(cli):拒绝守护进程无法运行的 autofix 监视任务,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15506 * feat(generated-ui):使用经审核的参数继续分析,由 @qqqys 提交,见 https://github.com/QwenLM/qwen-code/pull/15333 * fix(web-shell):隐藏加载提示语时简化状态显示,由 @deggs7 提交,见 https://github.com/QwenLM/qwen-code/pull/15423 * fix(ci):使增量 lint 历史获取保持无 blob 且可见,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15511 * test(cli):为高负载运行器设置 Hosted 批准等待预算(#15093),由 @qwen-code-dev-bot 提交,见 https://github.com/QwenLM/qwen-code/pull/15101 * feat(runtime-broker):添加基于 HTTP 的外部临时工作进程,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15261 * fix(ci):为 main 分支推送的 SHA 保留独立验证,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15508 * fix(release):为 Managed OSS 预检添加身份验证,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15504 * feat(verify-pr):为命令提示声明参数提示,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15463 * fix(ci):在获取主机锁之前运行 sdk-java 测试套件,由 @qwen-code-dev-bot 提交,见 https://github.com/QwenLM/qwen-code/pull/15254 * fix(ci):对于合并后重新运行的任务,跳过创建 main 分支失败问题(#15239),由 @qwen-code-dev-bot 提交,见 https://github.com/QwenLM/qwen-code/pull/15250 * feat(managed):添加持久化的轮次中途用户消息队列,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15449 * feat(cli):列出 /autofix-pr 监视任务,并在后续会话中恢复它们,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15510 * perf(ci):让 web-shell 和独立测试与 CLI 测试套件并行运行,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15438 * fix(cli):隐藏不可用的 Managed 后台工具,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15497 * feat(web-shell):通过 Git URL 创建工作区,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15361 * fix(managed-agent):在关闭期间保护生命周期续期调度(#15208),由 @qwen-code-dev-bot 提交,见 https://github.com/QwenLM/qwen-code/pull/15231 * perf(memory):保留未发生变化的旧版目录快照,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15246 * fix(runtime):向提供商传递受大小限制的图像和 PDF,由 @water-in-stone 提交,见 https://github.com/QwenLM/qwen-code/pull/13606 * fix(runtime):解除对独立常驻工作区和工具准入的阻塞,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15457 * fix(web-shell):使 UI 语言变更不影响独立工作区范围,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15521 * fix(core):处理已排队内存提取失败后的拒绝情况,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15338 * fix(ci):在 ECS 运行器上执行无需凭据的发布分发任务,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15517 * fix(cli):在无头模式下显示重试分类,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15515 * feat(managed-agent):通过环境向 Hosted Harness 提供其 Broker,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15244 * fix(cli):在空闲会话期间保持 Web Shell /autofix-pr 监视任务存活,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15523 * test(memory):固定恢复路径和强制救援路径的目录计数,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15535 * test(managed-agent):固定行池的扇出行为并修正其设计声明,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15528 * test(managed-agent):添加共享的 Harness Kubernetes 资格验证工具,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15519 * test(cli):固定加载路由上的生命周期协议拒绝行为,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15536 * test(lint):验证 --setup 安装程序保护机制,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15533 * refactor(core):共享经过筛选的目录可见性谓词,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15534 * fix(memory):删除轮次时一并删除其目录快照记录,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15540 * refactor(core):导入 QwenCloud 主机列表,而不是重复定义,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15532 * fix(ci):根据 self-hosted 标签计算 ARM64 运行器通道的成本,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15529 * feat(managed-agent):注册外部 Workspace 存储所有权,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15516 * fix(managed):持久化会话 Todo 和项目已提交任务列表,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15155 * fix(ci):加深增量 lint 的历史深度,直至能够确定合并基点,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15525 * feat(core):如果 UserPromptSubmit 钩子上下文块未发生变化,则跳过重复注入,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/14129 * fix(lint):按最近的配置目录对增量 Prettier 任务分组,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15531 * feat(mods):监听轮次开始和完成事件,由 @qqqys 提交,见 https://github.com/QwenLM/qwen-code/pull/15443 * test(cli):通过稳定策略为不稳定的 hosted-harness 等待设置预算,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15551 * feat(web-shell):通过设置管理额外的工作区目录,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15393 * feat(autofix-pr):通过工具运行辅助程序,并允许已确认监视任务的修复操作无人值守运行,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15548 * feat(managed-agent):允许引导程序配置服务账户和 MySQL,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15543 * feat(managed-agent):添加固定版本的扩展包管理,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15490 * docs(design):外部 Hosted Workspace 配置方案(第 2 阶段),由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15520 * docs(managed):说明行池下门控扫描器的容量,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15571 * docs:阐明不同身份验证方式下的使用情况统计,由 @sxl-lucky7 提交,见 https://github.com/QwenLM/qwen-code/pull/15554 * feat(managed-agent):支持 Workspace 文件上传,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15586 * feat(core):添加持久化终端身份查询,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15566 * test(managed-agent):使 S1 验收夹具与运行时契约保持一致,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15585 * fix(managed-agent):向池 Harness 传递 serve 所移除的 Broker 对,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15394 * fix(ci):对于受信任的 PR,将 tui-parity 变更门控路由到 ECS 池,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15561 * fix(core):在压缩后保留钩子去重状态,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15575 * test(managed-agent):修复工作区上传准入夹具,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15588 * fix(mods):将 Mod 契约固定为 Claude Code 2.1.310,由 @qqqys 提交,见 https://github.com/QwenLM/qwen-code/pull/15560 * feat(acp):在共享智能体循环上运行新提示词的模型轮次,由 @qqqys 提交,见 https://github.com/QwenLM/qwen-code/pull/15509 * fix(core):在生成目录快照后保留钩子上下文去重状态,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15556 * feat(mods):向运行时添加 ui.render、$.ui.resolve 和 $.ui.invalidate,由 @qqqys 提交,见 https://github.com/QwenLM/qwen-code/pull/15591 * test(runtime-broker):以可移植方式构建 extension-profile 夹具路径,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15598 * test(cli):通过稳定策略为技能恢复轮询设置预算,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15589 * fix(ci):通过国内镜像解析池的 Maven 依赖,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15610 * fix(ci):在池出口受到速率限制时,不再令 Maven 引导过程失败,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15539 * fix(managed-agent):在 EOF 后重试只读证明,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15608 * feat(web-shell):添加纯文本和 Markdown 回复复制功能,由 @ytahdn 提交,见 https://github.com/QwenLM/qwen-code/pull/15345 * fix(ci):根据主机架构解析 libfaketime,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15609 * fix(ci):限制池中 setup-java 的执行,并回退到工具缓存,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15605 * feat(cli):将 OpenTUI 语音输入接入共享管线,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15617 * feat(ci):按 PR 编号对 PR 审查模型进行金丝雀拆分,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15538 * feat(daemon):添加缓存的工作区产物查询和批量删除功能,由 @BZ-D 提交,见 https://github.com/QwenLM/qwen-code/pull/15594 * fix(web-shell):使取消时长与轮次摘要保持一致,由 @ytahdn 提交,见 https://github.com/QwenLM/qwen-code/pull/15615 * feat(managed-agent):添加原生快照和 HTTP 恢复功能,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15569 * fix(web-shell):在边距不足时隐藏轮次导航,由 @ytahdn 提交,见 https://github.com/QwenLM/qwen-code/pull/15604 * feat(cli):在容器模式下允许使用带外部存储和发布接口的 Managed Runtime boot-v2,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15522 * fix(core):不再针对归因请求头中的占位符发出警告,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15636 * feat(tools):允许显式配置的搜索后端指定其主机,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15638 * fix(managed-agent)!:简化 Web Shell 控件并弃用 cwd 提交,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15616 * feat(cli):使 OpenTUI 前台 shell 控件与 Ink 保持一致,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15642 * test(lint):固定 .gitignore 分组分支和批处理步长,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15640 * docs(qwencloud):记录强制归因请求头,并固定准入拆分,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15633 * feat(acp):在共享智能体循环上运行新提示词的工具批次,由 @qqqys 提交,见 https://github.com/QwenLM/qwen-code/pull/15627 * feat(serve):允许辅助会话在其工作区内使用 cd,由 @rockybot2026 提交,见 https://github.com/QwenLM/qwen-code/pull/15323 * feat(mods):在 Ink 终端的提示符上方绘制横条,由 @qqqys 提交,见 https://github.com/QwenLM/qwen-code/pull/15619 * fix(ci):从内网镜像解析池的 Maven 依赖,由 @yiliang114 提交,见 https://github.com/QwenLM/qwen-code/pull/15641 * 固定未知的 sed 长选项,由 @waybarrios 提交,见 https://github.com/QwenLM/qwen-code/pull/15223 * fix:在 TUI 和聊天回放中保留交错的推理内容,由 @DragonnZhang 提交,见 https://github.com/QwenLM/qwen-code/pull/15621 * feat(autofix-pr):在后台运行无人值守监视任务的修复智能体,由 @wenshao 提交,见 https://github.com/QwenLM/qwen-code/pull/15578 * feat(core):添加本地 Managed 日志快照恢复功能,由 @doudouOUC 提交,见 https://github.com/QwenLM/qwen-code/pull/15626 * fix(cli):保留预览版本并验证已安装的 OpenTUI 发行包,由 @chiga0 提交,见 https://github.com/QwenLM/qwen-code/pull/15655 ## 新贡献者 * @sxl-lucky7 在 https://github.com/QwenLM/qwen-code/pull/15452 中完成了首次贡献 * @EthDing 在 https://github.com/QwenLM/qwen-code/pull/8549 中完成了首次贡献 * @Aling33 在 https://github.com/QwenLM/qwen-code/pull/14910 中完成了首次贡献 **完整变更日志**:https://github.com/QwenLM/qwen-code/compare/v0.26.1...v0.26.2-preview.0