← 返回更新日志

Qwen Code v0.18.0-preview.2 预发布

2026-06-11 · GitHub 原文
<!-- 使用 release/v0.18.0-preview.2 分支上 .github/release.yml 中的配置生成发布说明 --> ## 更新内容 * chore(release): v0.17.1 由 @qwen-code-ci-bot 在 https://github.com/QwenLM/qwen-code/pull/4742 中 * fix(cli): 在复制输出时跳过思考过程部分 由 @he-yufeng 在 https://github.com/QwenLM/qwen-code/pull/4738 * feat(installer): 验证发布资源 + 将公共文档切换为独立入口 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/3855 * feat(ci): 添加 @qwen /triage 工作流以实现 Issue 和 PR 的自动分类 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4768 * fix(cli): 改进审批模式的显示文本 由 @BZ-D 在 https://github.com/QwenLM/qwen-code/pull/4753 * fix(ui): 在状态栏和启动横幅中显示模型名称而非 ID 由 @zzhenyao 在 https://github.com/QwenLM/qwen-code/pull/4741 * feat(cli): 添加独立自动更新支持 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4629 * fix(ci): 修复分类提示词变量展开、机器人身份及模型密钥问题 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4778 * feat(telemetry): 阶段 4b — 为 qwen-code.llm_request 添加重试可见性 (#3731) 由 @doudouOUC 在 https://github.com/QwenLM/qwen-code/pull/4432 * feat(core): 添加用户提示词扩展钩子 由 @qqqys 在 https://github.com/QwenLM/qwen-code/pull/4377 * fix(computer-use): 在自动审批模式(YOLO/AUTO_EDIT/AUTO)中自动批准安装 由 @LaZzyMan 在 https://github.com/QwenLM/qwen-code/pull/4756 * fix(cli): 实现 --list-extensions 标志处理器 (#4450) 由 @kagura-agent 在 https://github.com/QwenLM/qwen-code/pull/4456 * feat(telemetry): 阶段 3 — 具有并发隔离的 qwen-code.subagent 跨度 (#3731) 由 @doudouOUC 在 https://github.com/QwenLM/qwen-code/pull/4410 * feat(skills): /skills 选择器对话框 — 浏览、搜索、切换、选择 (#4532) 由 @callmeYe 在 https://github.com/QwenLM/qwen-code/pull/4533 * fix(core): 处理禁用技能命令委托中的错误变体 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4804 * fix(cli): 移除 #4456 中废弃的 --list-extensions 处理器 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4800 * feat(cli): 在 ACP 模式下启用 /remember、/forget、/dream 命令 由 @doudouOUC 在 https://github.com/QwenLM/qwen-code/pull/4811 * ci(triage): 修复 Qwen 分类工作流提示词 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4787 * Revert "feat(cli): 在 ACP 模式下启用 /remember、/forget、/dream 命令" 由 @doudouOUC 在 https://github.com/QwenLM/qwen-code/pull/4818 * feat(vscode): 展示 ACP 后台通知 由 @DragonnZhang 在 https://github.com/QwenLM/qwen-code/pull/4358 * feat(cli): 支持 /copy N 以复制倒数第 N 条 AI 消息 由 @LaZzyMan 在 https://github.com/QwenLM/qwen-code/pull/4761 * fix(core): 在爬取 Git 仓库时递归进入子模块文件 由 @he-yufeng 在 https://github.com/QwenLM/qwen-code/pull/4596 * 强化自动模式的自我修改检查 由 @qqqys 在 https://github.com/QwenLM/qwen-code/pull/4572 * fix(clipboard): 在 Linux 上使用平台原生工具进行图片粘贴 由 @CNCSMonster 在 https://github.com/QwenLM/qwen-code/pull/4647 * fix(core): 为 qwen3.7-plus 添加多模态支持 由 @pomelo-nwu 在 https://github.com/QwenLM/qwen-code/pull/4803 * feat(cli): 运行时防止系统休眠 由 @DragonnZhang 在 https://github.com/QwenLM/qwen-code/pull/4434 * feat(ci): 添加使用内置 /review 技能的 PR 审查工作流 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4549 * fix(core): 将布尔类型转换限制为布尔类型的 Schema 字段 由 @Pluviobyte 在 https://github.com/QwenLM/qwen-code/pull/4618 * fix(cli): 打包扩展示例 由 @kkhomej33-netizen 在 https://github.com/QwenLM/qwen-code/pull/4719 * fix(cli): 修复 Vim 模式的 Esc 键泄漏、Enter 提交、渲染延迟问题,并实现缺失的 VIM 命令 由 @zzhenyao 在 https://github.com/QwenLM/qwen-code/pull/4677 * fix(core): 允许为退避机制进行有意的前台休眠 由 @kkhomej33-netizen 在 https://github.com/QwenLM/qwen-code/pull/4708 * fix(core): 自动内存功能遵循运行时输出目录 由 @he-yufeng 在 https://github.com/QwenLM/qwen-code/pull/4715 * feat(cli): 添加 /fork 后台代理命令 由 @qqqys 在 https://github.com/QwenLM/qwen-code/pull/4780 * fix(tui): 在 <Static> 模式下跳过跨组工具合并以消除屏幕闪烁 由 @zzhenyao 在 https://github.com/QwenLM/qwen-code/pull/4795 * 将启动上下文移至系统提醒中 由 @tanzhenxin 在 https://github.com/QwenLM/qwen-code/pull/4053 * feat(core): 通过自动批准已声明的工具来遵循技能的 allowedTools 设置 由 @tanzhenxin 在 https://github.com/QwenLM/qwen-code/pull/4704 * 为指令文件加载添加 InstructionsLoaded 钩子 由 @qqqys 在 https://github.com/QwenLM/qwen-code/pull/4665 * fix(cli): 防止选择对话框闪烁 由 @ZevGit 在 https://github.com/QwenLM/qwen-code/pull/4755 * feat(skills): 为自动生成的技能强制使用 auto-skill- 目录前缀 由 @LaZzyMan 在 https://github.com/QwenLM/qwen-code/pull/4839 * fix(core): 在每次用户查询时注入当前日期以防止日期过期 由 @Alex-ai-future 在 https://github.com/QwenLM/qwen-code/pull/4798 * 使自动 PR 审查与内置技能保持一致 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4843 * fix(ci): 协调 Qwen 分类与审查自动化 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4570 * fix(core): 在 formatDateForContext 测试块中添加缺失的闭合大括号 由 @yiliang114 在 https://github.com/QwenLM/qwen-code/pull/4863 * fix(core): 通过压缩 API 历史记录、UI 历史记录并在内存压力触发时清理来防止 OOM 由 @zzhenyao 在 https://github.com/QwenLM/qwen-code/pull/4824 * fix(core): 不终止因启动失败而休眠的抑制器子进程(工具使用时的沙箱中止) 由 @tanzhenxin 在 https://github.com/QwenLM/qwen-code/pull/4865 * fix(skills): 为文档技能添加内置技能 doc-index 验证 由 @DragonnZhang 在 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)“更多信息”URL 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):从 agent 工具提示中移除 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):声明式 agent 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 实验性功能,用于并行子 agent 协调 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4844 * Fix:修复发布工作区测试失败 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/4980 ## 新贡献者 * @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 中首次贡献 **完整更新日志**: https://github.com/QwenLM/qwen-code/compare/v0.17.1...v0.18.0-preview.2