← 返回更新日志

Qwen Code v0.18.0

2026-06-12 · GitHub 原文
<!-- 使用 release/v0.18.0 分支中 .github/release.yml 的配置生成的发布说明 --> ## 更新内容 * chore(release): v0.17.1 by @qwen-code-ci-bot in https://github.com/QwenLM/qwen-code/pull/4742 * fix(cli): 在复制输出中跳过思考过程部分 by @he-yufeng in https://github.com/QwenLM/qwen-code/pull/4738 * feat(installer): 验证发布资源 + 将公共文档切换为独立入口 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/3855 * feat(ci): 添加 @qwen /triage 工作流以自动进行 Issue 和 PR 分类 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4768 * fix(cli): 改进审批模式显示文本 by @BZ-D in https://github.com/QwenLM/qwen-code/pull/4753 * fix(ui): 在状态栏和启动横幅中显示模型名称而非 ID by @zzhenyao in https://github.com/QwenLM/qwen-code/pull/4741 * feat(cli): 添加独立自动更新支持 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4629 * fix(ci): 修复分类提示词变量扩展、机器人身份及模型密钥问题 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4778 * feat(telemetry): 第 4b 阶段 — qwen-code.llm_request 的重试可见性 (#3731) by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4432 * feat(core): 添加用户提示词扩展钩子 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4377 * fix(computer-use): 在自动审批模式(YOLO/AUTO_EDIT/AUTO)中自动批准安装 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4756 * fix(cli): 实现 --list-extensions 标志处理器 (#4450) by @kagura-agent in https://github.com/QwenLM/qwen-code/pull/4456 * feat(telemetry): 第 3 阶段 — 具有并发隔离的 qwen-code.subagent span (#3731) by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4410 * feat(skills): /skills 选择器对话框 — 浏览、搜索、切换、选择 (#4532) by @callmeYe in https://github.com/QwenLM/qwen-code/pull/4533 * fix(core): 处理禁用技能命令委托中的错误变体 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4804 * fix(cli): 移除 #4456 中无效的 --list-extensions 处理器 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4800 * feat(cli): 在 ACP 模式中启用 /remember, /forget, /dream by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4811 * ci(triage): 修复 Qwen 分类工作流提示词 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4787 * Revert "feat(cli): 在 ACP 模式中启用 /remember, /forget, /dream" by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4818 * feat(vscode): 显示 ACP 后台通知 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4358 * feat(cli): 支持 /copy N 以复制倒数第 N 条 AI 消息 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4761 * fix(core): 在爬取 git 仓库时递归进入子模块文件 by @he-yufeng in https://github.com/QwenLM/qwen-code/pull/4596 * 加强自动模式的自我修改检查 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4572 * fix(clipboard): 在 Linux 上使用平台原生工具进行图片粘贴 by @CNCSMonster in https://github.com/QwenLM/qwen-code/pull/4647 * fix(core): 为 qwen3.7-plus 添加多模态支持 by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/4803 * feat(cli): 运行时防止系统休眠 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4434 * feat(ci): 使用内置 /review 技能添加 PR 审查工作流 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4549 * fix(core): 将布尔类型转换限制为布尔类型模式的字段 by @Pluviobyte in https://github.com/QwenLM/qwen-code/pull/4618 * fix(cli): 打包扩展示例 by @kkhomej33-netizen in https://github.com/QwenLM/qwen-code/pull/4719 * fix(cli): 修复 vim 模式 Esc 键泄漏、Enter 提交、渲染延迟问题,并实现缺失的 VIM 命令 by @zzhenyao in https://github.com/QwenLM/qwen-code/pull/4677 * fix(core): 允许为退避机制执行有意的前台休眠 by @kkhomej33-netizen in https://github.com/QwenLM/qwen-code/pull/4708 * fix(core): 在自动内存管理中遵循运行时输出目录 by @he-yufeng in https://github.com/QwenLM/qwen-code/pull/4715 * feat(cli): 添加 /fork 后台代理命令 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4780 * fix(tui): 在 <Static> 模式下跳过跨组工具合并以消除屏幕闪烁 by @zzhenyao in https://github.com/QwenLM/qwen-code/pull/4795 * 将启动上下文移至系统提醒中 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4053 * feat(core): 通过自动批准声明的工具来遵循技能的 allowedTools 设置 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4704 * 添加指令文件加载的 InstructionsLoaded 钩子 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4665 * fix(cli): 防止选择对话框闪烁 by @ZevGit in https://github.com/QwenLM/qwen-code/pull/4755 * feat(skills): 为自动生成技能强制使用 auto-skill- 目录前缀 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4839 * fix(core): 在每次用户查询时注入当前日期以防止日期过期 by @Alex-ai-future in https://github.com/QwenLM/qwen-code/pull/4798 * 使自动化 PR 审查与内置技能保持一致 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4843 * fix(ci): 协调 Qwen 分类与审查自动化 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4570 * fix(core): 在 formatDateForContext 测试块中添加缺失的闭合大括号 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4863 * fix(core): 通过压缩 API 历史记录和 UI 历史记录,并在内存压力下触发压缩以防止 OOM(内存溢出) by @zzhenyao in https://github.com/QwenLM/qwen-code/pull/4824 * fix(core): 不终止因启动失败而休眠的抑制器子进程(工具使用时沙箱中止) by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4865 * fix(skills): 为文档技能添加内置技能 doc-index 验证 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4851 * feat(memory): 在 ~/.qwen/memories/ 添加用户级自动记忆功能 (#4747) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4764 * fix(sdk): 修正 SDK 安装说明中的 npm 包名 by @ZijianZhang989 in https://github.com/QwenLM/qwen-code/pull/4860 * test(integration): 在 sleep-interception 端到端测试中放宽严格的 30 秒超时限制 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4878 * fix: 在持久化 model.name 前剥离运行时快照前缀 by @Rakson0209 in https://github.com/QwenLM/qwen-code/pull/4734 * test: 覆盖回退选择器恢复选项 by @han-dreamer in https://github.com/QwenLM/qwen-code/pull/4784 * fix(cli): 处理后台自动更新导致跨 authType 模型切换失败的问题 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4760 * fix(core): 在身份验证刷新时保留共享 baseUrl by @he-yufeng in https://github.com/QwenLM/qwen-code/pull/4828 * refactor(core): 移除 GitService,将 /restore 迁移至 FileHistoryService by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4871 * feat(acp): 支持桌面端 Qwen 集成 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4728 * feat(extension): 为 ExtensionConfig 添加 description 字段 by @callmeYe in https://github.com/QwenLM/qwen-code/pull/4857 * fix(ci): 确认已排队的 qwen 代码审查请求 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4847 * fix(core): 修复 qc-helper 技能文档索引及配置分类 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4848 * feat(telemetry): 将 TRACEPARENT 环境变量注入到 shell 子进程中 by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4906 * fix(ci): 在 Windows 上规范化开发启动器路径断言 by @wenshao in https://github.com/QwenLM/qwen-code/pull/4915 * fix(installer): 修正安装后提示中失效(404)的“更多信息”链接 by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/4916 * fix(core): 通过为每个请求创建子控制器,隔离 OpenAI SDK 中止监听器内存泄漏 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4810 * feat(hooks): 支持终端序列通知 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/4895 * feat(core): 工作流工具 P1 阶段 — 最小化 node:vm 沙箱 + 顺序执行 agent() (#4721) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4732 * fix(acp): 防止客户端忽略中途排空请求时导致会话/提示挂起 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4925 * fix(core): 从代理工具提示中移除 greeting-responder 示例 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4923 * feat(ci): 添加从发布版本同步的自动生成 CHANGELOG.md (#4872) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4881 * feat(stats): 添加带有跨会话追踪功能的交互式 /stats 仪表盘 by @BenGuanRan in https://github.com/QwenLM/qwen-code/pull/4779 * fix(core): 从只读 shell 命令白名单中移除 `env` by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/4932 * fix(core): 防止 cron 调度器在创建分钟触发 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4946 * fix(core): 确保硬阈值始终高于自动阈值 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/4949 * fix(installer): 自动检测 SYSTEM 账户并将 PATH 范围默认设为机器级 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4903 * fix(skills): 对 frontmatter 使用完整 YAML 解析器以支持块标量 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4870 * fix(core): 在睡眠链首次被拒绝时提供完整的 intentional-sleep 指导 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4948 * fix(core): 将 qwen3.7-plus 加入编程计划模型列表 by @ZijianZhang989 in https://github.com/QwenLM/qwen-code/pull/4953 * ci: 将 qwen PR 审查超时时间延长至 90 分钟,队列延迟延长至 30 分钟 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4962 * test: 覆盖回退选择器的回退状态 by @han-dreamer in https://github.com/QwenLM/qwen-code/pull/4905 * feat(core): 默认启用 loop/cron 工具 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4950 * test(integration): 增强不稳定的 sleep-interception 端到端测试,以应对跳过的工具调用 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4936 * fix(openai): 默认启用 splitToolMedia,使工具返回的图片能兼容严格的 OpenAI 后端 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4917 * fix(cli): 修复光标左移在硬换行边界处卡住的问题 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4852 * feat(core): 声明式代理 frontmatter v1 — permissionMode 桥接 + maxTurns 连线 + 颜色白名单(与 CC 2.1.168 对齐) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4842 * fix(core): 优化 hook 链式调用 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4840 * feat: 新增 Agent Team 实验性功能,用于并行子代理协调 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4844 * fix: 修复发布工作区测试失败问题 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4980 * fix(core): 在审批后恢复工具调用时保留队友身份 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4979 * refactor(skills): 移除冗余命令并同步 e2e-testing 技能 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4992 * fix(installer): 当新 qwen 未被识别时打印 shell 重载提示 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4960 * feat(desktop): 添加集成 Qwen ACP SDK 的桌面应用包 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/3778 * feat(daemon): 将 daemon-mode 功能批次合并至 main 分支 by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4490 * feat(core): 分层截断工具输出、按消息预算控制、按工具限制 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4880 * fix(auth): 修复 Qwen OAuth 刷新超时 by @he-yufeng in https://github.com/QwenLM/qwen-code/pull/4829 * fix(cli): 将下箭头键直接路由至实时代理面板 (#4907) by @wsyjh8 in https://github.com/QwenLM/qwen-code/pull/4911 * fix(core): 强化实验性代理团队消息传递 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4988 * feat(telemetry): 添加运行时内存/CPU 采样及 OTel 指标上报 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4868 * fix(cli): 在空闲提示符下启用视口滚动并修复视口高度 by @chiga0 in https://github.com/QwenLM/qwen-code/pull/4959 * fix(core): 解析代理 frontmatter 中的逗号分隔 tools/disallowedTools by @callmeYe in https://github.com/QwenLM/qwen-code/pull/4935 * perf(filesearch): 将 AsyncFzf 索引构建移至工作线程 by @callmeYe in https://github.com/QwenLM/qwen-code/pull/4621 * feat(cli): 添加 /compress-fast 命令,用于无 LLM 的规则上下文压缩 by @ZijianZhang989 in https://github.com/QwenLM/qwen-code/pull/4893 * fix(cli): 修复在缺少捆绑示例时 extensions new 命令无法工作 by @BZ-D in https://github.com/QwenLM/qwen-code/pull/5009 * feat(web-shell): 添加 Option+Enter 和 Cmd+Enter 换行快捷键 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/5005 * chore(daemon): 移除死代码并简化控制流 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4789 * fix(goal): 跨恢复持久化迭代计数,使 MAX_GOAL_ITERATIONS 限制整个会话 by @qqqys in https://github.com/QwenLM/qwen-code/pull/5000 * 添加 /cd 命令 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4890 * ci(desktop): 启用 Mac 代码签名及 App Store Connect API 密钥公证 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/5013 * feat(core): 持久化文件历史快照以支持跨会话 /rewind (T2.1) by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4897 * fix(desktop): 空闲退出后保持 composer 可发送状态 by @puneetdixit200 in https://github.com/QwenLM/qwen-code/pull/4788 * fix(cli): 避免无头浏览器打开时崩溃 by @he-yufeng in https://github.com/QwenLM/qwen-code/pull/4716 * fix(cli): 防抖调整大小重绘,并在稳定时清除过期滚动记录 by @wsyjh8 in https://github.com/QwenLM/qwen-code/pull/4919 * feat(core): 移植声明式代理 mcpServers + hooks (CC 2.1.168 对齐跟进) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4996 * feat(core): 工作流 P2 — parallel() + pipeline() 并发扇出 (#4721) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4947 * fix(core): 在系统提示词中添加 Tool Fallback 规则 by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/4931 * fix(docs): 修正过时的设置键、错误的默认值及缺失的命令 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4969 * fix(core): 稳定截断工具的重试键 by @he-yufeng in https://github.com/QwenLM/qwen-code/pull/4970 * fix(core): 稳定提示词缓存前缀以应对 MCP/skills 变更 by @callmeYe in https://github.com/QwenLM/qwen-code/pull/4896 * fix(core): 修复因缺少 printf 命令导致的 Windows 启动错误 by @zzhenyao in https://github.com/QwenLM/qwen-code/pull/5012 * feat(core): 添加 enter_plan_mode 工具及计划审批门控 by @callmeYe in https://github.com/QwenLM/qwen-code/pull/4853 * docs(desktop): 将 brand builder skill 指向 main 分支 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/5021 * perf(desktop): 添加 --cli-only 标志,在 vendor 构建时跳过非 CLI 包 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/5025 * fix(desktop): 允许未签名的 Windows 自动更新 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/5028 * fix(cli): 在列 0 按下 Ctrl+U 时合并上一行 by @ZijianZhang989 in https://github.com/QwenLM/qwen-code/pull/5011 * fix(tui): 收紧消息与工具的间距 by @chiga0 in https://github.com/QwenLM/qwen-code/pull/4595 * fix(core): 按代理序列化团队任务认领,并添加邮箱锁对齐 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4981 * fix(core): 在扩展命令发现中支持 .toml 命令文件 by @callmeYe in https://github.com/QwenLM/qwen-code/pull/5017 * test(i18n): 提高 Windows CI 上缓慢的必译区域设置测试套件的超时时间 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/5024 * fix(stats): 按 sessionId 去重使用记录,并跳过进行中的写入 by @BenGuanRan in https://github.com/QwenLM/qwen-code/pull/4995 * fix(test): 修复 daemon 批量合并后 qwen serve 集成测试套件失效问题 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/5041 * feat(acp): 向 daemon 客户端广播会话标题更新 by @qqqys in https://github.com/QwenLM/qwen-code/pull/5035 * fix(release): 在独立发行版白名单中允许 fzfWorker.js by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/5049 ## 新贡献者 * @callmeYe 在 https://github.com/QwenLM/qwen-code/pull/4533 中首次贡献 * @CNCSMonster 在 https://github.com/QwenLM/qwen-code/pull/4647 中首次贡献 * @Pluviobyte 在 https://github.com/QwenLM/qwen-code/pull/4618 中首次贡献 * @Alex-ai-future 在 https://github.com/QwenLM/qwen-code/pull/4798 中首次贡献 * @Rakson0209 在 https://github.com/QwenLM/qwen-code/pull/4734 中首次贡献 * @han-dreamer 在 https://github.com/QwenLM/qwen-code/pull/4784 中首次贡献 * @BenGuanRan 在 https://github.com/QwenLM/qwen-code/pull/4779 中首次贡献 * @wsyjh8 在 https://github.com/QwenLM/qwen-code/pull/4911 中首次贡献 * @puneetdixit200 在 https://github.com/QwenLM/qwen-code/pull/4788 中首次贡献 **完整更新日志**: https://github.com/QwenLM/qwen-code/compare/v0.17.1...v0.18.0