← 返回更新日志

Qwen Code sdk-typescript-v0.1.23

2026-10-26 · GitHub 原文
## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.26.1 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.26.0 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.25.3 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.25.2 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.25.1 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.25.0 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.24.7 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.24.6 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.24.5 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.24.3 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.24.1 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.23.3 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.23.2 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.23.1 来源:从源代码构建的 CLI(与 SDK 使用相同的分支/引用) --- ## 亮点 捆绑的 CLI 0.23.0 包含 #11022 中请求的两项修复: - 托管内存的可用性现在会遵循 `memory.enableManagedAutoMemory` 设置(#6941)。禁用自动托管内存的主机将不再接受 remember/dream 请求,系统提示词中也不再包含托管内存指令;本地补丁可以移除。 - 由大小触发的微压缩现在会清理旧工具结果,直至达到低水位线(#8464),因此它不会再在后续每一轮中重写对话前缀的其他部分。在长时间、工具密集型会话中,提供商的提示词缓存可继续复用,从而降低缓存输入成本。 ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.23.0 来源:npm 上最新的稳定版 CLI --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.19.10 来源:npm 上最新的稳定版 CLI --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.15.3 来源:npm 上最新的稳定版 CLI --- ## 捆绑的 CLI 版本 此 SDK 版本捆绑了 CLI 版本:0.13.1 来源:npm 上最新的稳定版 CLI --- > 为已发布到 npm 的 0.1.5 版本补发此版本(原工作流在创建 GitHub Release 前失败)。 ## 变更内容 * 维护:由 @Mingholy 将版本升级至 0.8.2,详见 https://github.com/QwenLM/qwen-code/pull/1632 * 维护(发布):由 @qwen-code-ci-bot 发布 sdk-typescript v0.1.4,详见 https://github.com/QwenLM/qwen-code/pull/1633 * 修复:使用解析后的 authType 初始化 ACP 智能体,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1622 * 添加 parentToolCallId 和 subagentType,用于 ACP 子智能体跟踪,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1620 * 功能(核心):改进技能作为工具调用时的错误消息,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1623 * 修复(ACP):流式传输子智能体文本和推理数据块,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1626 * 修复:确保在配置初始化之前创建 output-language.md,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1637 * 修复(安全):防止在 Shell 命令验证中通过换行符绕过检查并注入命令,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1638 * 修复 Claude 插件资源收集,使其遵循市场配置,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1639 * 功能(核心):改进重试逻辑,以更好地处理 429/5xx 错误,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1628 * 功能:为 OpenAI 兼容提供商添加 extra_body 支持,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1654 * 在 VS Code IDE 配套插件中支持通过 ACP 选择模型,由 @yiliang114 完成,详见 https://github.com/QwenLM/qwen-code/pull/1582 * 功能:为所有内容生成器添加多模态输入支持(图像、PDF、音频),由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1564 * 为 Qwen Code 智能体服务器添加 Zed 扩展,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1630 * 功能:明确非交互模式的输出格式,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1579 * 功能:为批量 CLI 执行添加并发运行器,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1640 * 添加用于代码智能的实验性 LSP 支持,由 @yiliang114 完成,详见 https://github.com/QwenLM/qwen-code/pull/1401 * 修复:解决 package.json 与锁文件中 React/React-DOM 版本不一致的问题,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1659 * 功能(Web UI):通过共享组件库实现统一的 UI 架构,由 @yiliang114 完成,详见 https://github.com/QwenLM/qwen-code/pull/1543 * 维护:由 @tanzhenxin 将版本升级至 0.9.0,详见 https://github.com/QwenLM/qwen-code/pull/1661 * 添加 contextWindowSize 配置支持,由 @xuewenjie123 完成,详见 https://github.com/QwenLM/qwen-code/pull/1539 * 修复(核心):避免将 undici agent 传递给 Anthropic SDK,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1663 * 修复(VS Code IDE 配套插件):修复竞态条件并改进 `@` 文件补全搜索,由 @yiliang114 完成,详见 https://github.com/QwenLM/qwen-code/pull/1676 * 修复(核心):退出时正确清理 MCP 服务器子进程,由 @tt-a1i 完成,详见 https://github.com/QwenLM/qwen-code/pull/1285 * 测试(CLI):提高 AuthDialog ESC 断言的稳定性,由 @liqiongyu 完成,详见 https://github.com/QwenLM/qwen-code/pull/1535 * 修复(CLI):展开 MCP `@server:` 资源引用,由 @liqiongyu 完成,详见 https://github.com/QwenLM/qwen-code/pull/1531 * 修复(核心):在计划模式下自动启用 WebFetch 和 WebSearch 工具,由 @afarber 完成,详见 https://github.com/QwenLM/qwen-code/pull/1686 * 功能(核心):为技能管理器添加符号链接支持,由 @DragonnZhang 完成,详见 https://github.com/QwenLM/qwen-code/pull/1690 * 修复:规范化扩展中的技能文件内容,以处理 BOM 和 CRLF,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1667 * 修复(CI):遵循手动输入的预览版本,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1665 * 构建:提高构建效率并添加开发模式,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1681 * 修复(核心):在命令替换防护中处理 heredoc,由 @liqiongyu 完成,详见 https://github.com/QwenLM/qwen-code/pull/1701 * 功能:编辑文件时保留 UTF-8 BOM,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1680 * 修复(核心):编辑时保留 newString 中的尾随空白字符,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1688 * 修复:在 Windows PowerShell 中启用 Shift+Tab 快捷键,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1607 * 修复(核心):在子智能体中强制执行工具限制,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1691 * [AnthropicContentGenerator] 优化:为系统消息和最后一条用户文本消息添加 cache_control,由 @Weaxs 完成,详见 https://github.com/QwenLM/qwen-code/pull/1613 * 重构(国际化):将 Agent 翻译为“智能体”,由 @itchina110 完成,详见 https://github.com/QwenLM/qwen-code/pull/1718 * 修复(Docker):修复构建错误并支持手动指定版本进行构建,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1722 * 维护(发布):由 @tanzhenxin 将版本升级至 0.10.0,详见 https://github.com/QwenLM/qwen-code/pull/1720 * 修复(设置):将否定式设置重命名为肯定式命名(disable* -> enable*),由 @afarber 完成,详见 https://github.com/QwenLM/qwen-code/pull/1330 * CI(SDK 发布):SDK 发布使用稳定版 CLI 标签,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1710 * 功能(查询):添加使用会话 ID 恢复会话的支持,由 @DragonnZhang 完成,详见 https://github.com/QwenLM/qwen-code/pull/1714 * 添加安装外部来源扩展的提示,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1694 * 功能/Java SDK alpha 202501,由 @gwinthis 完成,详见 https://github.com/QwenLM/qwen-code/pull/1717 * 修复:在文档和示例中明确 is_background 参数为必填项,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1716 * 功能:移除 Smart Edit 工具和 ClearcutLogger,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1684 * 添加会话历史导出命令,支持 Markdown 和 HTML 格式,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1515 * 为 ProcessTransport 添加 FORK_MODE 支持,以集成 Electron IPC,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1719 * 功能(SDK):添加 resume 和 continue 选项,并扩展 authType 支持,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1726 * 修复 ACP 模型选择,使其能够处理所有已配置的身份验证类型,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1555 * 重构:移除 read_many_files 工具,并为用户 `@` 命令添加 readManyFiles 实用工具,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1673 * 修复(VS Code IDE 配套插件):修复服务器端时间戳和文件路径提取相关的 UI 显示问题,由 @yiliang114 完成,详见 https://github.com/QwenLM/qwen-code/pull/1682 * 维护:将 Qwen OAuth 免费额度从每日 2000 次请求降低至 1000 次,由 @pomelo-nwu 完成,详见 https://github.com/QwenLM/qwen-code/pull/1730 * 修复(UI):解决右上角身份验证状态未更新的问题,由 @DennisYu07 完成,详见 https://github.com/QwenLM/qwen-code/pull/1670 * 功能:重构调试模式输出,将控制台调用优先路由到日志文件的 debugLogger,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1610 * 修复:在 ACP 集成测试中使用 OpenAI 模型,而非 index=0,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1733 * 修复(CLI):将沙箱诊断消息输出至 stderr,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1735 * 为 SDK 发布添加 CLI 来源选择,并修复子智能体输出处理器,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1732 * 功能(粘贴):为大段粘贴内容添加占位符,并修复 macOS 上按 Enter 提交的问题,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1713 * 修复(CLI):防止 Windows 上自动补全处于活动状态时,Tab 键循环切换审批模式,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1736 * 功能:将 Agent Skills 从实验性功能提升为稳定功能,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1738 * 功能:在遥测日志中添加来源信息跟踪,由 @DennisYu07 完成,详见 https://github.com/QwenLM/qwen-code/pull/1653 * 文档:更新 README 中的 Linux/Mac 安装命令,由 @DennisYu07 完成,详见 https://github.com/QwenLM/qwen-code/pull/1739 * 功能(设置):添加 settings.env 字段,用于环境变量配置,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1751 * 修复(MCP):改进 MCP 服务器管理和身份验证,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1752 * 修复(核心):在 OpenAI 转换器中正确处理 MCP 多部分工具结果,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1755 * 修复 `/dist/cli/cli.js` 入口点的 CLI 参数解析,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1758 * 修复(集成测试):更正 simple-mcp-server 测试中的 MCP 工具名称,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1763 * 修复 SDK MCP 集成测试:更新硬编码的工具名称以使用常量,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1769 * 修复:安装 Shell 脚本中的警告,由 @DennisYu07 完成,详见 https://github.com/QwenLM/qwen-code/pull/1771 * 修复(UI):解决右上角模型未更新的问题,由 @DennisYu07 完成,详见 https://github.com/QwenLM/qwen-code/pull/1662 * 修复(CLI):在 Windows 沙箱检测中使用 PowerShell Get-Command,由 @afarber 完成,详见 https://github.com/QwenLM/qwen-code/pull/1604 * 修复:安装扩展时优先检测本地路径,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1770 * 修复(身份验证模型登录 UI):防止 Enter 键触发空消息提交,由 @yiliang114 完成,详见 https://github.com/QwenLM/qwen-code/pull/1773 * 功能:在 TUI 和 SDK 模式中添加 MCP 工具进度更新支持,由 @tanzhenxin 完成,详见 https://github.com/QwenLM/qwen-code/pull/1756 * 功能:添加 Coding Plan 身份验证模式,并使用统一的 AuthDialog,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1788 * 功能(Coding Plan):实现 Coding Plan 配置管理并更新提示词,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1805 * 文档:更新身份验证文档,添加 Coding Plan 设置指南,由 @joeytoday 完成,详见 https://github.com/QwenLM/qwen-code/pull/1800 * 维护:由 @qwen-code-ci-bot 将版本升级至 0.10.1,详见 https://github.com/QwenLM/qwen-code/pull/1808 * 修复:修复 Shell 脚本中的 Node 安装权限问题,由 @DennisYu07 完成,详见 https://github.com/QwenLM/qwen-code/pull/1819 * 修复:防止 AbortSignal 监听器内存泄漏,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1811 * 功能:添加 TPM 限流错误处理,并设置 1 分钟的重试延迟,由 @wenshao 完成,详见 https://github.com/QwenLM/qwen-code/pull/1791 * 修复:将 showLineNumbers 的默认值更正为 true,由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1813 * 修复:为 MCP 工具支持 JSON Schema draft-2020-12(修复 #1818),由 @LaZzyMan 完成,详见 https://github.com/QwenLM/qwen-code/pull/1821 * 添加开发启动配置并保留现有的 NODE_OPTIONS,由 @DragonnZhang 完成,详见 https://github.com/QwenLM/qwen-code/pull/1784 * 修复子智能体 while 循环中的中止监听器累积问题,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1825 * 重构(CLI):统一 AppContainer 中的 Escape 键处理,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1824 * 修复身份验证 UI,使其使用语义化主题颜色并更正选项同步,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1823 * 为 CLI 和 SDK 添加 `--session-id` 支持,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1822 * 维护:由 @qwen-code-ci-bot 将版本升级至 0.10.2,详见 https://github.com/QwenLM/qwen-code/pull/1844 * 文档:通过快速设置示例改进 settings.json 配置指南,由 @pomelo-nwu 完成,详见 https://github.com/QwenLM/qwen-code/pull/1850 * 功能:更新 README,由 @pomelo-nwu 完成,详见 https://github.com/QwenLM/qwen-code/pull/1853 * 文档:添加有关 Qwen3.5-Plus 发布的新闻横幅,由 @pomelo-nwu 完成,详见 https://github.com/QwenLM/qwen-code/pull/1854 * 修复集成测试中的沙箱用户权限问题,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1843 * 添加 Coding Plan 全球/国际区域支持,由 @Mingholy 完成,详见 https://github.com/QwenLM/qwen-code/pull/1860 * 维护:由 @qwen-code-ci-bot 将版本升级至 0.10.3,详见 https://github.com/QwenLM/qwen-code/pull/1863 * 维护:由 @qwen-code-ci-bot 将版本升级至 0.10.4,详见 https://github.com/QwenLM/qwen-code/pull/1864 ## 新贡献者 * @itchina110 在 https://github.com/QwenLM/qwen-code/pull/1718 完成了首次贡献 * @joeytoday 在 https://github.com/QwenLM/qwen-code/pull/1800 完成了首次贡献 * @wenshao 在 https://github.com/QwenLM/qwen-code/pull/1791 完成了首次贡献 **完整变更日志**:https://github.com/QwenLM/qwen-code/compare/sdk-typescript-v0.1.4...sdk-typescript-v0.1.5