← 返回更新日志

Qwen Code v0.21.14

2026-08-19 · GitHub 原文
<!-- qwen-release-notes:v2 --> ## 亮点 - 新增 `qwen sessions ps` 命令与实时状态 API,支持以 JSON 格式列出并监控正在运行的交互式会话。 ([#8969](https://github.com/QwenLM/qwen-code/pull/8969), [#9261](https://github.com/QwenLM/qwen-code/pull/9261), [#9366](https://github.com/QwenLM/qwen-code/pull/9366)) - 引入 `/advisor` 斜杠命令,提供独立的只读意见,并增强了对 GitLab 和 CI 脚本的审查技能。 ([#7567](https://github.com/QwenLM/qwen-code/pull/7567), [#9226](https://github.com/QwenLM/qwen-code/pull/9226), [#9263](https://github.com/QwenLM/qwen-code/pull/9263)) - 提升 Web Shell 的健壮性,支持在断连期间提交提示词,并防止渲染错误导致会话崩溃。 ([#9323](https://github.com/QwenLM/qwen-code/pull/9323), [#9292](https://github.com/QwenLM/qwen-code/pull/9292)) - 通过在新评论创建时立即对照黑名单进行检查,最小化垃圾评论的可见性延迟。 ([#9266](https://github.com/QwenLM/qwen-code/pull/9266)) - 新增会话级媒体引用的端到端支持,确保图片预览在刷新后保持一致。 ([#9310](https://github.com/QwenLM/qwen-code/pull/9310)) - 启用工作流代理通过 `workingDir` 参数绑定特定工作目录,以延长其生命周期。 ([#8972](https://github.com/QwenLM/qwen-code/pull/8972)) ## 不兼容变更 暂无已知的破坏性变更。 ## 会话管理与 Web Shell 增强了 Web Shell 中的实时会话跟踪、媒体持久化和文件处理功能,改进了状态同步与 UI 控件。 - 新增实时会话注册表及 `qwen sessions ps` 命令,支持列出正在运行的交互式会话并提供可选的 JSON 输出。 ([#8969](https://github.com/QwenLM/qwen-code/pull/8969)) - 改进 Web Shell 侧边栏的会话管理,提供一致的悬停详情、紧凑的状态指示器以及持久化的工作区展开功能。 ([#9311](https://github.com/QwenLM/qwen-code/pull/9311)) - 新增会话级媒体引用的端到端支持,确保图片预览在刷新后保持一致并正确同步。 ([#9310](https://github.com/QwenLM/qwen-code/pull/9310)) - 新增仅限信任来源的 `GET /workspaces/:workspace/sessions/live-state` 端点,返回易失性会话快照和目录版本令牌,以减少轮询开销。 ([#9261](https://github.com/QwenLM/qwen-code/pull/9261)) - WebShell 现采用工作区级会话实时状态,以降低轮询开销,仅在必要时刷新会话目录。 ([#9366](https://github.com/QwenLM/qwen-code/pull/9366)) - 当 `fileUploadEnabled` 为 `false` 时,Web Shell 将完全禁用文件拖放功能,并通过 `fileUploadDirectory` 增加目录上传支持。 ([#9382](https://github.com/QwenLM/qwen-code/pull/9382)) - 导出的 HTML 查看器现包含全局“全部展开/全部折叠”工具栏,可同时切换思考块、工具输出和文件引用。 ([#9367](https://github.com/QwenLM/qwen-code/pull/9367)) - revert(web-shell): 恢复 #8098 之前的 composer 动画,透明度设为 50% ([#9349](https://github.com/QwenLM/qwen-code/pull/9349)) ## 审查流水线与自动化 通过改进锚点处理、多模型支持以及 SWE-bench 和 Terminal-Bench 的自动化工作流,提升了审查准确性。 - 串联 Terminal-Bench 发布评估流程:先提交 SWE-bench 运行任务,仅在 SWE 结果发布后调度 TB 运行。 ([#9120](https://github.com/QwenLM/qwen-code/pull/9120)) - 修复了实时运行中发现的七项审查流水线缺陷,包括修复增量锚点扣留问题并启用多调用构建与测试维度。 ([#9175](https://github.com/QwenLM/qwen-code/pull/9175)) - 增强审查技能,使其能够针对执行 shell 和 CI 脚本的具体通道与环境进行分析。 ([#9263](https://github.com/QwenLM/qwen-code/pull/9263)) - 更新审查技能文档与测试,以反映已确定的 3 轮上限状态,并提高对分块门控逻辑的覆盖率。 ([#9258](https://github.com/QwenLM/qwen-code/pull/9258)) - 增量审查锚点现记录认证模型,防止在使用不同模型重新运行时出现错误的跳过行为。 ([#9184](https://github.com/QwenLM/qwen-code/pull/9184)) - 为 `/review` 新增 Aone Code 读取路径支持,使基于 GitLab 的仓库能够使用 meta、issue-context 和 fetch-pr 命令。 ([#9226](https://github.com/QwenLM/qwen-code/pull/9226)) - `compose-review` 命令现强制执行 GitHub 的 65,536 字符审查限制,在截断关键阻塞项之前,会先裁剪中文翻译和延期说明。 ([#9247](https://github.com/QwenLM/qwen-code/pull/9247)) - 通过 `--comment` 发布的审查评论现使用纯文本审查员描述,而非模板化框架,同时严重性标记仍遵循 `review.attribution` 规则。 ([#9027](https://github.com/QwenLM/qwen-code/pull/9027)) - 沙箱验证现包含确定性不稳定性检测门控,通过多次重新运行修改后的单元测试来检测并报告非确定性失败。 ([#9130](https://github.com/QwenLM/qwen-code/pull/9130)) - 为 `fetch-pr` 新增 `--resume` 标志,通过验证磁盘状态并复用工作区来恢复中断的审查。 ([#9092](https://github.com/QwenLM/qwen-code/pull/9092)) - 为审查线程获取启用分页功能,确保解析所有线程,而非仅解析最早的 100 个。 ([#9390](https://github.com/QwenLM/qwen-code/pull/9390)) - 通过移除复杂的防护层并保留核心的“清除并重试”机制,简化了审查签出的自愈逻辑。 ([#9327](https://github.com/QwenLM/qwen-code/pull/9327)) ## 代理能力与编排 扩展了代理功能,支持目录绑定、团队任务路由以及前台进程的强大错误处理。 - daemon:将 skill-toggle 变更元数据附加到 settings_changed ([#9051](https://github.com/QwenLM/qwen-code/pull/9051)) - 启用工作流代理使用 workingDir 参数绑定到特定工作目录,使其能够突破默认的生命周期限制。 ([#8972](https://github.com/QwenLM/qwen-code/pull/8972)) - 修复了因 SSE 事件中缺少路由字段,导致前台代理被错误标记为失败的问题。 ([#9330](https://github.com/QwenLM/qwen-code/pull/9330)) - 更新了代理团队提示词和 TeamCreate 描述,以准确反映队友闲置时自动交付最终答案的机制。 ([#9284](https://github.com/QwenLM/qwen-code/pull/9284)) - core:将手动分配的团队任务分派给其所有者 ([#9289](https://github.com/QwenLM/qwen-code/pull/9289)) - autofix:使用 /takeover from N 初始化接管轮次计数器 ([#9321](https://github.com/QwenLM/qwen-code/pull/9321)) - autofix 收敛刹车现在会正确指示代理将交接详情写入 failure.md,而非受限的包装文件。 ([#9371](https://github.com/QwenLM/qwen-code/pull/9371)) - autofix 集群扫描现在在遇到 API 枚举错误时会采取安全失败策略,防止将任务分派给繁忙的 PR,并清晰标记已分派的 PR。 ([#9329](https://github.com/QwenLM/qwen-code/pull/9329)) - 逆向审计路径中的认证检查点现在会报告具体的失败名称(如“收据负责人与短语矛盾”),以提升退役原因的诊断清晰度。 ([#9272](https://github.com/QwenLM/qwen-code/pull/9272)) ## 系统可靠性与性能 通过为 I/O 错误添加重试逻辑、限制内存缓存大小以及对渲染失败进行优雅降级,增强了系统稳定性。 - 使临时资源耗尽和读取 I/O 错误可重试,同时保持格式错误的记录错误为终止状态,以防止误报损坏标志。 ([#9362](https://github.com/QwenLM/qwen-code/pull/9362)) - 将文本工具缓存限制为 500 条,并采用最旧条目淘汰策略,防止长会话中内存无限增长。 ([#9185](https://github.com/QwenLM/qwen-code/pull/9185)) - 将压缩输出预算限制在剩余上下文窗口大小内,以确保在提示词估算耗尽可用 token 时请求仍然有效。 ([#9109](https://github.com/QwenLM/qwen-code/pull/9109)) - 使用非致命 ErrorBoundary 包裹代理标签页视图,使渲染错误能够优雅降级,而不是导致整个会话退出。 ([#9292](https://github.com/QwenLM/qwen-code/pull/9292)) - 不支持的 MIME 类型或解码错误的图片现在会附带文本提示被忽略,而不是导致整个会话中止。 ([#9295](https://github.com/QwenLM/qwen-code/pull/9295)) - 记忆召回现在在注入确定性候选项前最多等待 100ms 获取结果,提升了可靠性及非 ASCII 字符的覆盖率。 ([#8716](https://github.com/QwenLM/qwen-code/pull/8716)) - Web-shell 现在使用后端权威队列状态来防止消息重复,并确保草稿负载仅在确认投递失败后才恢复。 ([#9407](https://github.com/QwenLM/qwen-code/pull/9407)) - 清理了积压的 19 条延迟建议,并修复了包括 persistRecoveredLedger 标志处理在内的行为问题。 ([#9342](https://github.com/QwenLM/qwen-code/pull/9342)) ## 守护进程与本地控制 整合了本地控制架构,并为守护进程状态和答案添加了可配置模式及轮询路由。 - 将本地控制整合为单一的守护进程实现,包含备用监听器、统一的安全模型及可撤销的配对凭证。 ([#9106](https://github.com/QwenLM/qwen-code/pull/9106)) - daemon:使 serve new-file 模式可配置(QWEN_SERVE_NEW_FILE_MODE) ([#9364](https://github.com/QwenLM/qwen-code/pull/9364)) - 添加了可轮询的 HTTP 路由,用于检查守护进程回合状态并获取最终模型答案,无需订阅 SSE。 ([#9080](https://github.com/QwenLM/qwen-code/pull/9080)) ## 安全性与反垃圾邮件 通过即时黑名单检查减少垃圾邮件可见性延迟,并添加工作区清理防护以防止不安全的目录删除。 - 在创建时立即通过黑名单检查来最小化新垃圾评论的可见性,将可见性延迟从超过一小时降至接近零。 ([#9266](https://github.com/QwenLM/qwen-code/pull/9266)) - 为分类和 Serve A/B 工作流添加了工作区清理防护,以防止在非标准运行器环境中进行不安全的目录删除。 ([#9277](https://github.com/QwenLM/qwen-code/pull/9277)) ## 用户命令与界面 引入了 /advisor 命令以获取第二意见,并改进了 CLI 在严重性阈值和恢复标志方面的行为。 - 新增 /advisor 斜杠命令,用于在不修改历史记录的情况下,请求对当前对话的独立只读第二意见。 ([#7567](https://github.com/QwenLM/qwen-code/pull/7567)) - 当严重性阈值解析为仅 Critical 时,CLI 会自动将内联 Suggestion 评论移至审查正文延迟列表,而不是直接发布到 GitHub。 ([#9279](https://github.com/QwenLM/qwen-code/pull/9279)) - Autofix 失败评论现在包含双语内容,并在折叠详情块中提供中文分析。 ([#9386](https://github.com/QwenLM/qwen-code/pull/9386)) ## 诊断与可观测性 添加了隐私安全的诊断事件,并修复了上下文报告以排除已禁用的技能,从而获得准确的消耗指标。 - 引入了隐私安全的诊断事件,用于关联过大或变形的工具结果表示,同时不暴露敏感内容。 ([#9039](https://github.com/QwenLM/qwen-code/pull/9039)) - 修复了上下文使用详情,排除已禁用的技能,确保准确报告上下文消耗。 ([#9346](https://github.com/QwenLM/qwen-code/pull/9346)) - packages/cli 中的单元测试现在会在缺少所需的 dist/ 输出或生成文件时立即失败,并提供可操作错误消息和确切的 npm run build 命令。 ([#9171](https://github.com/QwenLM/qwen-code/pull/9171)) - artifacts:验证并规范化 record_artifact 工作区路径 ([#9142](https://github.com/QwenLM/qwen-code/pull/9142)) ## 其他更改 - ci:在路由门控处丢弃已关闭 PR 的 pull_request_review 事件 ([#9299](https://github.com/QwenLM/qwen-code/pull/9299)) - 将 composer 与 SSE 追赶机制解耦,以保持重连期间输入可用,并允许在断开连接时提交提示。 ([#9323](https://github.com/QwenLM/qwen-code/pull/9323)) - 微信频道现在在长轮询期间每 4 秒刷新一次输入指示器,以防止其过早过期。 ([#9358](https://github.com/QwenLM/qwen-code/pull/9358)) - 修复了 enableCacheSharing 设置默认值被忽略的 bug,确保无需显式用户配置即可使用缓存感知建议。 ([#9233](https://github.com/QwenLM/qwen-code/pull/9233)) - 从 settings 工具模块中移除了十三个未使用的内部辅助函数,以清理遗留代码。 ([#9379](https://github.com/QwenLM/qwen-code/pull/9379)) --- ## 中文摘要 ### 亮点 - 新增 qwen sessions ps 命令和 live-state API,支持以 JSON 格式列出和监控运行中的交互式会话。 ([#8969](https://github.com/QwenLM/qwen-code/pull/8969), [#9261](https://github.com/QwenLM/qwen-code/pull/9261), [#9366](https://github.com/QwenLM/qwen-code/pull/9366)) - 新增 /advisor 斜杠命令获取独立只读意见,并增强 review 技能以分析 GitLab 仓库和 CI 脚本。 ([#7567](https://github.com/QwenLM/qwen-code/pull/7567), [#9226](https://github.com/QwenLM/qwen-code/pull/9226), [#9263](https://github.com/QwenLM/qwen-code/pull/9263)) - 提升 Web Shell 韧性,支持断开连接时提交提示,并防止因渲染错误导致会话崩溃。 ([#9323](https://github.com/QwenLM/qwen-code/pull/9323), [#9292](https://github.com/QwenLM/qwen-code/pull/9292)) - 通过在创建时即时检查黑名单,将新垃圾评论的可见间隔缩短至接近零。 ([#9266](https://github.com/QwenLM/qwen-code/pull/9266)) - 新增会话级媒体引用端到端支持,确保图片预览在刷新后持久保留。 ([#9310](https://github.com/QwenLM/qwen-code/pull/9310)) - 允许工作流代理通过 workingDir 参数锁定特定目录,从而延长其生存周期。 ([#8972](https://github.com/QwenLM/qwen-code/pull/8972)) ### 会话管理与 Web Shell 增强了 Web Shell 中的实时会话跟踪、媒体持久化和文件处理,改进了状态同步和 UI 控制。 - 新增实时会话注册表和 qwen sessions ps 命令,用于列出正在运行的交互式会话并支持 JSON 输出。 ([#8969](https://github.com/QwenLM/qwen-code/pull/8969)) - 改进了 Web Shell 侧边栏会话管理,提供一致的海悬停详情、紧凑状态指示器和持久的工作区展开功能。 ([#9311](https://github.com/QwenLM/qwen-code/pull/9311)) - 新增会话级媒体引用端到端支持,确保图片预览在刷新后保留并一致协调。 ([#9310](https://github.com/QwenLM/qwen-code/pull/9310)) - 新增受信任的 GET /workspaces/:workspace/sessions/live-state 端点,返回实时会话快照和目录版本令牌以减少轮询。 ([#9261](https://github.com/QwenLM/qwen-code/pull/9261)) - WebShell 现使用工作区会话实时状态以减少轮询开销,仅在必要时刷新会话目录。 ([#9366](https://github.com/QwenLM/qwen-code/pull/9366)) - Web Shell 现在在 fileUploadEnabled 为 false 时完全禁用文件拖放,并通过 fileUploadDirectory 支持目录上传。 ([#9382](https://github.com/QwenLM/qwen-code/pull/9382)) - 导出的 HTML 查看器现在包含一个全局的 Expand all/Collapse all 工具栏,可同时切换思考块、工具输出和文件引用。 ([#9367](https://github.com/QwenLM/qwen-code/pull/9367)) - revert(web-shell):以 50% 不透明度恢复 #8098 之前的 composer 动画 ([#9349](https://github.com/QwenLM/qwen-code/pull/9349)) ### 审查管道与自动化 通过更好的锚点处理、多模型支持以及 SWE-bench 和 Terminal-Bench 的自动化工作流,提高了审查准确性。 - 通过先提交 SWE-bench 运行并在发布结果后分派 TB 运行,实现了 Terminal-Bench 发布评估的链式处理。 ([#9120](https://github.com/QwenLM/qwen-code/pull/9120)) - 修复了实时运行中发现的七个审查管道缺陷,包括解决增量锚点扣留问题并启用多调用构建测试维度。 ([#9175](https://github.com/QwenLM/qwen-code/pull/9175)) - 增强了 review 技能,使其能针对执行 shell 和 CI 脚本的具体 lane 和环境进行分析。 ([#9263](https://github.com/QwenLM/qwen-code/pull/9263)) - 更新了 review 技能文档和测试以反映确定的 3 轮上限状态,并改进 chunk gating 逻辑的覆盖率。 ([#9258](https://github.com/QwenLM/qwen-code/pull/9258)) - 增量审查锚点现在记录认证模型,防止在不同模型下重运行时出现错误的跳过行为。 ([#9184](https://github.com/QwenLM/qwen-code/pull/9184)) - 为 /review 添加 Aone Code 读取路径支持,使基于 GitLab 的仓库可使用 meta、issue-context 和 fetch-pr 命令。 ([#9226](https://github.com/QwenLM/qwen-code/pull/9226)) - compose-review 现在强制执行 GitHub 65,536 字符限制,优先裁剪中文翻译和延期注释,最后才截断关键的 blockers。 ([#9247](https://github.com/QwenLM/qwen-code/pull/9247)) - 通过 --comment 发布的审查注释现在使用纯审查员散文而非模板脚手架,而严重性标记继续遵循 review.attribution 规则。 ([#9027](https://github.com/QwenLM/qwen-code/pull/9027)) - 沙盒验证现在包含一个确定性 flakiness 门控,可多次重新运行修改后的单元测试以检测并报告非确定性失败。 ([#9130](https://github.com/QwenLM/qwen-code/pull/9130)) - 为 fetch-pr 添加 --resume 标志,通过验证磁盘状态和重用工作树来恢复中断的审查。 ([#9092](https://github.com/QwenLM/qwen-code/pull/9092)) - 启用了审查线程获取的分页功能,确保解析所有线程而不仅是最旧的 100 个。 ([#9390](https://github.com/QwenLM/qwen-code/pull/9390)) - 通过移除复杂的防护层并保留核心的 wipe-and-retry 机制简化了审查检出自愈逻辑。 ([#9327](https://github.com/QwenLM/qwen-code/pull/9327)) ### 代理能力与编排 通过目录锁定、团队任务路由和前台进程的健壮错误处理,扩展了代理功能。 - daemon:将 skill-toggle 突变元数据附加到 settings_changed ([#9051](https://github.com/QwenLM/qwen-code/pull/9051)) - 允许工作流代理通过 workingDir 参数锁定特定目录,使其生存期超出默认限制。 ([#8972](https://github.com/QwenLM/qwen-code/pull/8972)) - 修复了因 SSE 事件中缺少路由字段导致前台代理被错误标记为失败的问题。 ([#9330](https://github.com/QwenLM/qwen-code/pull/9330)) - 更新了 agent-team 提示和 TeamCreate 描述,以准确反映队友空闲时自动交付最终答案的行为。 ([#9284](https://github.com/QwenLM/qwen-code/pull/9284)) - core:将手动分配的团队任务分派给其所有者 ([#9289](https://github.com/QwenLM/qwen-code/pull/9289)) - autofix:使用 /takeover 命令将交接轮次计数器初始化为 N ([#9321](https://github.com/QwenLM/qwen-code/pull/9321)) - autofix 收敛制动现在正确指示代理将交接详情写入 failure.md 而非受限的包装文件。 ([#9371](https://github.com/QwenLM/qwen-code/pull/9371)) - autofix 集群扫描现在在 API 枚举错误时失败关闭,防止向忙碌的 PR 分发任务,并清晰标记已分发的 PR。 ([#9329](https://github.com/QwenLM/qwen-code/pull/9329)) - 逆向审计路径中的认证条现在报告具体的失败名称(如'receipt lead contradicts the phrase'),以提高退休原因的诊断清晰度。 ([#9272](https://github.com/QwenLM/qwen-code/pull/9272)) ### 系统可靠性与性能 通过 I/O 错误的重试逻辑、内存缓存限制和渲染失败的优雅降级,加强了系统稳定性。 - 使临时资源耗尽和读取 I/O 错误可重试,同时保持格式错误为终止状态,以防止误报损坏。 ([#9362](https://github.com/QwenLM/qwen-code/pull/9362)) - 将文本工具缓存限制为 500 个条目并淘汰最旧 entry,以防止长会话中内存无限增长。 ([#9185](https://github.com/QwenLM/qwen-code/pull/9185)) - 将压缩输出预算限制在剩余上下文窗口大小内,确保提示估算耗尽可用 token 时请求仍有效。 ([#9109](https://github.com/QwenLM/qwen-code/pull/9109)) - 将 agent-tab 视图包裹在非致命 ErrorBoundary 中,使渲染错误优雅降级而非退出整个会话。 ([#9292](https://github.com/QwenLM/qwen-code/pull/9292)) - 不支持的 MIME 类型或解码错误的图像现在会被省略并提示文本,避免导致整个会话中断。 ([#9295](https://github.com/QwenLM/qwen-code/pull/9295)) - 内存召回现在最多等待 100ms 再注入确定性候选项,提升了可靠性和非 ASCII 内容的覆盖范围。 ([#8716](https://github.com/QwenLM/qwen-code/pull/8716)) - web-shell 现在使用后端权威的队列状态以防止消息重复,并确保仅在确认交付失败后恢复草稿负载。 ([#9407](https://github.com/QwenLM/qwen-code/pull/9407)) - 清除了十九个延迟建议的积压并修复了包括 persistRecoveredLedger 标志处理在内的行为问题。 ([#9342](https://github.com/QwenLM/qwen-code/pull/9342)) ### 守护进程与本地控制 整合了本地控制架构,并为守护进程状态和答案添加了可配置模式和可轮询路由。 - 将 Local Control 整合为单一的 daemon 实现,包含辅助监听器、统一安全模型和可撤销的配对凭证。 ([#9106](https://github.com/QwenLM/qwen-code/pull/9106)) - daemon:使 serve new-file 模式可配置 (QWEN_SERVE_NEW_FILE_MODE) ([#9364](https://github.com/QwenLM/qwen-code/pull/9364)) - 添加了可轮询的 HTTP 路由以检查 daemon 轮次状态并获取最终模型答案,无需 SSE 订阅。 ([#9080](https://github.com/QwenLM/qwen-code/pull/9080)) ### 安全与垃圾信息防护 通过即时黑名单检查减少了垃圾信息可见性差距,并添加了工作区清理保护以防止不安全的目录删除。 - 通过创建时即时检查黑名单来最小化新垃圾评论,将可见间隔从一小时以上缩短至接近零。 ([#9266](https://github.com/QwenLM/qwen-code/pull/9266)) - 为 triage 和 Serve A/B 流程添加工作区清理保护,防止在非规范运行环境中发生不安全的目录删除。 ([#9277](https://github.com/QwenLM/qwen-code/pull/9277)) ### 用户命令与界面 引入了用于获取第二意见的 /advisor 命令,并改进了 CLI 在严重性下限和恢复标志方面的行为。 - 新增 /advisor 斜杠命令,可在不修改历史记录的情况下获取对当前对话的独立只读评审意见。 ([#7567](https://github.com/QwenLM/qwen-code/pull/7567)) - 当严重性下限解析为 Critical-only 时,CLI 会自动将内联 Suggestion 注释移至审查正文的延期列表,而不是发布到 GitHub。 ([#9279](https://github.com/QwenLM/qwen-code/pull/9279)) - Autofix 失败评论现在包含双语内容,在折叠的详情块中提供中文分析。 ([#9386](https://github.com/QwenLM/qwen-code/pull/9386)) ### 诊断与可观测性 添加了隐私安全的诊断事件,并修复了上下文报告以排除已禁用的 skills,从而获得准确的消耗指标。 - 引入了隐私安全的诊断事件,用于关联过大或变异的工具结果表示,同时不暴露敏感内容。 ([#9039](https://github.com/QwenLM/qwen-code/pull/9039)) - 修复了上下文使用详情,排除已禁用的 skills,确保上下文消耗报告准确。 ([#9346](https://github.com/QwenLM/qwen-code/pull/9346)) - 如果缺少必需的 dist/输出或生成文件,packages/cli 中的单元测试现在会立即失败,并提供可操作的错误消息及确切的 npm run build 命令。 ([#9171](https://github.com/QwenLM/qwen-code/pull/9171)) - artifacts:验证并规范化 record_artifact 工作区路径 ([#9142](https://github.com/QwenLM/qwen-code/pull/9142)) ### 其他变更 - ci:在路由网关处丢弃已关闭 PR 的 pull_request_review 事件 ([#9299](https://github.com/QwenLM/qwen-code/pull/9299)) - 将 composer 与 SSE 追赶解耦,确保重连期间输入可用,并允许在断开连接时继续提交提示。 ([#9323](https://github.com/QwenLM/qwen-code/pull/9323)) - Weixin 通道现在每 4 秒刷新一次 typing 指示器,防止其在长轮次中过早消失。 ([#9358](https://github.com/QwenLM/qwen-code/pull/9358)) - 修复了 enableCacheSharing 设置默认值被忽略的问题,确保无需用户显式配置即可使用缓存感知建议。 ([#9233](https://github.com/QwenLM/qwen-code/pull/9233)) - 移除了设置工具模块中十三个未使用的内部辅助函数以清理遗留代码。 ([#9379](https://github.com/QwenLM/qwen-code/pull/9379)) <details> <summary>完整变更列表(54 个拉取请求)</summary> ### 功能 - core: 添加实时会话注册表和 qwen sessions ps 命令 ([#8969](https://github.com/QwenLM/qwen-code/pull/8969)) by @qqqys - daemon: 将 skill-toggle 变更元数据附加到 settings_changed ([#9051](https://github.com/QwenLM/qwen-code/pull/9051)) by @samuelhsin - chain: 串联 Terminal-Bench 发布评估 ([#9120](https://github.com/QwenLM/qwen-code/pull/9120)) by @DennisYu07 - web-shell: 改进侧边栏会话管理 ([#9311](https://github.com/QwenLM/qwen-code/pull/9311)) by @ytahdn - web-shell: 将 composer 与 catch-up 解耦,并在断开连接提交时重建 SSE ([#9323](https://github.com/QwenLM/qwen-code/pull/9323)) by @ytahdn - 支持会话媒体引用的端到端功能 ([#9310](https://github.com/QwenLM/qwen-code/pull/9310)) by @ytahdn - core: 允许工作流代理固定目录并超出默认作用域限制 ([#8972](https://github.com/QwenLM/qwen-code/pull/8972)) by @qqqys - review: 对照运行它们的通道审查 shell 和 CI 脚本 ([#9263](https://github.com/QwenLM/qwen-code/pull/9263)) by @wenshao - cli: 添加 /advisor 命令用于二次意见对话审查 ([#7567](https://github.com/QwenLM/qwen-code/pull/7567)) by @yiliang114 - core: 添加隐私安全的工具结果边界诊断 ([#9039](https://github.com/QwenLM/qwen-code/pull/9039)) by @doudouOUC - serve: 添加工作区会话实时状态端点和目录版本 ([#9261](https://github.com/QwenLM/qwen-code/pull/9261)) by @doudouOUC - 将 Local Control 整合为单一的 daemon 专属实现 ([#9106](https://github.com/QwenLM/qwen-code/pull/9106)) by @yiliang114 - autofix: 使用 /takeover 从 N 开始初始化接管轮次计数器 ([#9321](https://github.com/QwenLM/qwen-code/pull/9321)) by @wenshao - daemon: 使 serve 新建文件模式可配置 (QWEN_SERVE_NEW_FILE_MODE) ([#9364](https://github.com/QwenLM/qwen-code/pull/9364)) by @yiliang114 - web-shell: 支持上传目录,并在 fileUploadEnabled=false 时硬禁用拖拽输入 ([#9382](https://github.com/QwenLM/qwen-code/pull/9382)) by @ytahdn - serve: 添加可轮询的 daemon 回合状态 ([#9080](https://github.com/QwenLM/qwen-code/pull/9080)) by @BenGuanRan - web-shell: 获取工作区会话实时状态 ([#9366](https://github.com/QwenLM/qwen-code/pull/9366)) by @doudouOUC - review: Aone Code 读取路径(第二个审查平台提供者) ([#9226](https://github.com/QwenLM/qwen-code/pull/9226)) by @wenshao - webui: 为导出的 HTML 查看器添加全局展开/折叠控制 ([#9367](https://github.com/QwenLM/qwen-code/pull/9367)) by @yiliang114 - review: 在发布边界强制执行已解决严重性的下限 ([#9279](https://github.com/QwenLM/qwen-code/pull/9279)) by @wenshao - cli: 纯文本 /review 评论;严重性标记遵循 review.attribution ([#9027](https://github.com/QwenLM/qwen-code/pull/9027)) by @wenshao - triage: 为沙箱验证添加确定性抖动过滤门控 ([#9130](https://github.com/QwenLM/qwen-code/pull/9130)) by @wenshao - review: 从磁盘状态恢复中断的 PR 审查 ([#9092](https://github.com/QwenLM/qwen-code/pull/9092)) by @wenshao - ci: 双语发布 autofix 失败路径交接评论 ([#9386](https://github.com/QwenLM/qwen-code/pull/9386)) by @wenshao ### 错误修复 - ci: 最小化创建时的新垃圾评论 ([#9266](https://github.com/QwenLM/qwen-code/pull/9266)) by @yiliang114 - ci: 在路由门控处丢弃已关闭 PR 的 pull_request_review 事件 ([#9299](https://github.com/QwenLM/qwen-code/pull/9299)) by @wenshao - review: 修复实时运行发现的七个流水线缺陷 ([#9175](https://github.com/QwenLM/qwen-code/pull/9175)) by @wenshao - web-shell: 在 SSE 上保持前台代理状态 ([#9330](https://github.com/QwenLM/qwen-code/pull/9330)) by @ytahdn - cli: 在上下文使用详情中排除已禁用的技能 ([#9346](https://github.com/QwenLM/qwen-code/pull/9346)) by @callmeYe - core: 使代理团队提示词和 TeamCreate 描述与实际交付保持一致 ([#9284](https://github.com/QwenLM/qwen-code/pull/9284)) by @yiliang114 - cli: 使临时运行时记录 I/O 可重试 ([#9362](https://github.com/QwenLM/qwen-code/pull/9362)) by @doudouOUC - cli: 限制代理标签页渲染错误,避免退出会话 ([#9292](https://github.com/QwenLM/qwen-code/pull/9292)) by @yiliang114 - cli: 限制字符串宽度和码点缓存 (#2128) ([#9185](https://github.com/QwenLM/qwen-code/pull/9185)) by @yiliang114 - core: 将压缩输出预算限制在剩余上下文窗口内 ([#9109](https://github.com/QwenLM/qwen-code/pull/9109)) by @ZijianZhang989 - weixin: 在长轮次期间保持输入指示器活跃 ([#9358](https://github.com/QwenLM/qwen-code/pull/9358)) by @yiliang114 - ci: 通过 failure.md 路由 autofix 收敛制动交接 ([#9371](https://github.com/QwenLM/qwen-code/pull/9371)) by @wenshao - ci: 使 autofix 忙碌检测失败时关闭并标记已分发的 PR ([#9329](https://github.com/QwenLM/qwen-code/pull/9329)) by @wenshao - cli: 在两个建议门控中遵循声明的 enableCacheSharing 默认值 ([#9233](https://github.com/QwenLM/qwen-code/pull/9233)) by @yiliang114 - core: 将手动分配的团队任务分派给其所有者 ([#9289](https://github.com/QwenLM/qwen-code/pull/9289)) by @yiliang114 - ci: 将 checkout-heal 清除保护机制向后移植到 triage 和 serve-ab 清除中 ([#9277](https://github.com/QwenLM/qwen-code/pull/9277)) by @yiliang114 - review: 对恢复的增量锚点实施基于认证模型的门控 ([#9184](https://github.com/QwenLM/qwen-code/pull/9184)) by @wenshao - artifacts: 验证并规范化 record_artifact 工作区路径 ([#9142](https://github.com/QwenLM/qwen-code/pull/9142)) by @zjgzx1988 - core: 省略模型端点无法安全处理的图像媒体 (#9291) ([#9295](https://github.com/QwenLM/qwen-code/pull/9295)) by @yiliang114 - memory: 提高召回可靠性和候选覆盖率 ([#8716](https://github.com/QwenLM/qwen-code/pull/8716)) by @yiliang114 - review: 根据 GitHub 的审查限制对组合正文进行预算控制 ([#9247](https://github.com/QwenLM/qwen-code/pull/9247)) by @wenshao - web-shell: 使用后端权威队列状态 ([#9407](https://github.com/QwenLM/qwen-code/pull/9407)) by @ytahdn - review: 命名每个认证栏并将降级说明推迟至准入之后 (#9259) ([#9272](https://github.com/QwenLM/qwen-code/pull/9272)) by @wenshao - devx: 当缺少单元测试构建前置条件时,返回可操作的失败消息 (#9149) ([#9171](https://github.com/QwenLM/qwen-code/pull/9171)) by @yiliang114 - review: 清除 #9175 审查轮次中的延迟建议积压 ([#9342](https://github.com/QwenLM/qwen-code/pull/9342)) by @wenshao - autofix: 对审查线程进行分页处理,而非仅获取最旧的 100 条 ([#9390](https://github.com/QwenLM/qwen-code/pull/9390)) by @qqqys ### 内部变更 - revert(web-shell): 恢复 #8098 之前的 composer 动画,透明度设为 50% ([#9349](https://github.com/QwenLM/qwen-code/pull/9349)) by @ytahdn - test(review): 同步 round-cap 描述文本并固定延迟覆盖率缺口 (#9256) ([#9258](https://github.com/QwenLM/qwen-code/pull/9258)) by @yiliang114 - refactor(cli): 移除已过时的设置对话框辅助函数 ([#9379](https://github.com/QwenLM/qwen-code/pull/9379)) by @qqqys - refactor(ci): 将审查检出自愈逻辑简化回清除并重试 ([#9327](https://github.com/QwenLM/qwen-code/pull/9327)) by @wenshao </details> **完整更新日志**: https://github.com/QwenLM/qwen-code/compare/v0.21.13...v0.21.14