<!-- 使用 release/v0.16.2 分支中 .github/release.yml 的配置生成的发布说明 -->
## 更新内容
* fix(build): 在 tsc --build 前清理过期输出以防止 TS5055 by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4453
* chore(release): v0.16.1 by @qwen-code-ci-bot in https://github.com/QwenLM/qwen-code/pull/4467
* feat(cli): 目录补全时不追加尾部空格 (#4092) by @dykebo in https://github.com/QwenLM/qwen-code/pull/4288
* feat(skills): 新增 memory-leak-debug 技能用于堆快照诊断 by @huww98 in https://github.com/QwenLM/qwen-code/pull/4468
* fix(cli): 修复文本缓冲区提交处理程序中的陈旧闭包竞态条件 by @huww98 in https://github.com/QwenLM/qwen-code/pull/4470
* fix(weixin): 允许工作区内使用 Windows 图片路径 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4465
* fix(weixin): 发送可解密的图片载荷 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4464
* feat(memory): 将 .qwen/QWEN.local.md 加载为项目本地上下文 (#4091) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4394
* fix(core): 在 safeJsonStringify 中保留重复的对象引用 by @ihubanov in https://github.com/QwenLM/qwen-code/pull/4407
* fix(extension): 脱敏凭证源诊断信息 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4426
* feat(core): 限制后台代理并发数 by @kkhomej33-netizen in https://github.com/QwenLM/qwen-code/pull/4324
* fix(core): 移除额外的危险解释器规则 by @qqqys in https://github.com/QwenLM/qwen-code/pull/4371
* docs(tools): 补充 monitor 工具文档 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4356
* docs(agents,pr-template): 新增工作原理说明并重构 PR 模板 by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/4496
* ci: 将阿里云 OSS 同步拆分为独立的发布后工作流 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4492
* feat(core): 启用 Token Plan 缓存控制 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4495
* feat(core)!: 采用三级阶梯重新设计自动压缩阈值 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4345
* feat(telemetry): 客户端 HTTP span + 可选的 W3C traceparent 传播 (#4384) by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4390
* feat(cli): 无头/非交互模式下的防失控保护护栏 (#4103) by @BZ-D in https://github.com/QwenLM/qwen-code/pull/4502
* fix(cli): 触发文件补全前需在 @ 前添加空格 by @wenshao in https://github.com/QwenLM/qwen-code/pull/4487
* fix(auth): 使 Token Plan 模型默认值与 ModelStudio 保持一致 by @YingchaoX in https://github.com/QwenLM/qwen-code/pull/4478
* fix(extension): 当 Claude 市场指向整个文件夹时正确填充资源 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4497
* fix(cli): 使 /context 令牌解析与实际 API 请求保持一致 by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/4512
* fix(sdk): 在 CLI 控制请求中遵守 canUseTool 超时设置 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4491
* fix(core): 修复长会话中 AbortSignal 监听器泄漏问题 (MaxListenersExceededWarning) by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4366
* feat(cli): 并行代理扇出时的紧凑内联面板 + 键盘导航 by @wenshao in https://github.com/QwenLM/qwen-code/pull/4477
* fix(core): 防止自动创建技能覆盖现有技能 (#4437) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4489
* fix(sdk): 在 SDK 包中包含 CLI 代码块 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4541
* fix(cli): 持久化 MCP 服务器移除操作 by @Jerry2003826 in https://github.com/QwenLM/qwen-code/pull/4535
* fix(models): 刷新基于原始模型的默认值 by @Jerry2003826 in https://github.com/QwenLM/qwen-code/pull/4517
* fix(vscode-ide-companion): 从 NOTICES.txt 生成中排除工作区包 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4455
* fix(telemetry): 将交互 span 附加到会话根上下文 by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4499
* fix(cli): 粘贴或拖放多个文件路径时自动前置 @ by @MikeWang0316tw in https://github.com/QwenLM/qwen-code/pull/4544
* feat(prompt): 将新建应用提示词从系统提示移至技能 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/4567
* feat(worktree): D 阶段 — 启动 --worktree 标志 + symlinkDirectories + PR 分支引用 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4381
* fix(permissions): 将命令替换策略改为询问而非拒绝 (#4093) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4386
* feat(cli): 默认开启 auto-dream/auto-skill 并新增 /memory 切换命令 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4547
## 新贡献者
* @dykebo 在 https://github.com/QwenLM/qwen-code/pull/4288 中完成了首次贡献
**完整更新日志**: https://github.com/QwenLM/qwen-code/compare/v0.16.1...v0.16.2
<!-- Release notes generated using configuration in .github/release.yml at release/v0.16.2 -->
## What's Changed
* fix(build): clean stale outputs before tsc --build to prevent TS5055 by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4453
* chore(release): v0.16.1 by @qwen-code-ci-bot in https://github.com/QwenLM/qwen-code/pull/4467
* feat(cli): do not append trailing space for directory completions (#4092) by @dykebo in https://github.com/QwenLM/qwen-code/pull/4288
* feat(skills): add memory-leak-debug skill for heap snapshot diagnosis by @huww98 in https://github.com/QwenLM/qwen-code/pull/4468
* fix(cli): resolve stale closure race in text buffer submit handler by @huww98 in https://github.com/QwenLM/qwen-code/pull/4470
* fix(weixin): allow Windows image paths inside workspace by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4465
* fix(weixin): send decryptable image payloads by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4464
* feat(memory): load .qwen/QWEN.local.md as project-local context (#4091) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4394
* fix(core): preserve duplicate object references in safeJsonStringify by @ihubanov in https://github.com/QwenLM/qwen-code/pull/4407
* fix(extension): redact credentialed source diagnostics by @qqqys in https://github.com/QwenLM/qwen-code/pull/4426
* feat(core): limit background agent concurrency by @kkhomej33-netizen in https://github.com/QwenLM/qwen-code/pull/4324
* fix(core): strip additional dangerous interpreter rules by @qqqys in https://github.com/QwenLM/qwen-code/pull/4371
* docs(tools): document monitor tool by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4356
* docs(agents,pr-template): add Working Principles and restructure PR template by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/4496
* ci: split Aliyun OSS sync into a separate post-release workflow by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4492
* feat(core): enable Token Plan cache control by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4495
* feat(core)!: redesign auto-compaction thresholds with three-tier ladder by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4345
* feat(telemetry): client-side HTTP span + opt-in W3C traceparent propagation (#4384) by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4390
* feat(cli): headless / non-interactive runaway-protection guardrails (#4103) by @BZ-D in https://github.com/QwenLM/qwen-code/pull/4502
* fix(cli): require whitespace before @ to trigger file completion by @wenshao in https://github.com/QwenLM/qwen-code/pull/4487
* fix(auth): align Token Plan model defaults with ModelStudio by @YingchaoX in https://github.com/QwenLM/qwen-code/pull/4478
* fix(extension): populate resources when Claude marketplace points at whole folder by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4497
* fix(cli): align /context token breakdown with actual API request by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/4512
* fix(sdk): honor canUseTool timeout in CLI control requests by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4491
* fix(core): stop AbortSignal listener leak in long sessions (MaxListenersExceededWarning) by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4366
* feat(cli): dense inline panel + keyboard navigation for parallel agent fan-out by @wenshao in https://github.com/QwenLM/qwen-code/pull/4477
* fix(core): prevent auto-skill creation from overwriting existing skills (#4437) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4489
* fix(sdk): Include CLI chunks in SDK package by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/4541
* fix(cli): persist MCP server removals by @Jerry2003826 in https://github.com/QwenLM/qwen-code/pull/4535
* fix(models): refresh raw model-derived defaults by @Jerry2003826 in https://github.com/QwenLM/qwen-code/pull/4517
* fix(vscode-ide-companion): exclude workspace packages from NOTICES.txt generation by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/4455
* fix(telemetry): attach interaction span to session root context by @doudouOUC in https://github.com/QwenLM/qwen-code/pull/4499
* fix(cli): auto-prepend @ when pasting or dropping multiple file paths by @MikeWang0316tw in https://github.com/QwenLM/qwen-code/pull/4544
* feat(prompt): move new app prompt from system prompt to skills by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/4567
* feat(worktree): Phase D — startup --worktree flag + symlinkDirectories + PR refs by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4381
* fix(permissions): make command substitution ask, not deny (#4093) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4386
* feat(cli): default auto-dream/auto-skill to on and add /memory toggle by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/4547
## New Contributors
* @dykebo made their first contribution in https://github.com/QwenLM/qwen-code/pull/4288
**Full Changelog**: https://github.com/QwenLM/qwen-code/compare/v0.16.1...v0.16.2