← 返回更新日志

Qwen Code sdk-typescript-v0.1.18

2026-10-05 · GitHub 原文
## 内置 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)。禁用托管自动内存的主机将不再看到记忆/休眠请求被接纳,也不会在系统提示中看到托管内存指令;本地补丁可以移除。 - 由大小触发的微压缩现在会将旧工具结果清理到较低水位(#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 之前失败)。 ## 变更内容 * chore:将版本提升至 0.8.2,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1632 * chore(release):sdk-typescript v0.1.4,提交者 @qwen-code-ci-bot,见 https://github.com/QwenLM/qwen-code/pull/1633 * 修复:使用解析后的 authType 初始化 ACP 智能体,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1622 * 为 ACP 子智能体跟踪添加 parentToolCallId 和 subagentType,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1620 * feat(core):改进将技能作为工具调用时的错误消息,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1623 * fix(acp):流式传输子智能体的文本块和推理块,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1626 * 修复:确保在配置初始化之前创建 output-language.md,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1637 * fix(security):通过绕过换行符阻止 Shell 命令验证中的命令注入,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1638 * 修复 Claude 插件资源收集,使其遵循市场配置,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1639 * feat(core):改进重试逻辑,以更好地处理 429/5xx 错误,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1628 * feat:为 OpenAI 兼容提供商添加 extra_body 支持,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1654 * 支持通过 ACP 在 VS Code IDE Companion 中选择模型,提交者 @yiliang114,见 https://github.com/QwenLM/qwen-code/pull/1582 * feat:为所有内容生成器添加多模态输入支持(图像、PDF、音频),提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1564 * 为 Qwen Code 智能体服务器添加 Zed 扩展,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1630 * feat:明确非交互模式下的输出格式,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1579 * feat:为批量 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 * feat(webui):使用共享组件库实现统一的 UI 架构,提交者 @yiliang114,见 https://github.com/QwenLM/qwen-code/pull/1543 * chore:将版本提升至 0.9.0,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1661 * 添加 contextWindowSize 配置支持,提交者 @xuewenjie123,见 https://github.com/QwenLM/qwen-code/pull/1539 * fix(core):避免向 Anthropic SDK 传递 undici agent,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1663 * fix(vscode-ide-companion):修复竞态条件并改进 @ 文件补全搜索,提交者 @yiliang114,见 https://github.com/QwenLM/qwen-code/pull/1676 * fix(core):退出时正确清理 MCP 服务器子进程,提交者 @tt-a1i,见 https://github.com/QwenLM/qwen-code/pull/1285 * test(cli):稳定 AuthDialog 的 ESC 断言,提交者 @liqiongyu,见 https://github.com/QwenLM/qwen-code/pull/1535 * fix(cli):展开 MCP `@server:` 资源引用,提交者 @liqiongyu,见 https://github.com/QwenLM/qwen-code/pull/1531 * fix(core):在计划模式下自动启用 WebFetch 和 WebSearch 工具,提交者 @afarber,见 https://github.com/QwenLM/qwen-code/pull/1686 * feat(core):为技能管理器添加符号链接支持,提交者 @DragonnZhang,见 https://github.com/QwenLM/qwen-code/pull/1690 * fix:规范化扩展中的技能文件内容,以处理 BOM 和 CRLF,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1667 * fix(ci):遵循手动预览版本输入,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1665 * build:提高构建效率并添加开发模式,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1681 * fix(core):在命令替换保护中处理 heredoc,提交者 @liqiongyu,见 https://github.com/QwenLM/qwen-code/pull/1701 * feat:编辑文件时保留 UTF-8 BOM,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1680 * fix(core):编辑时保留 newString 中的尾随空格,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1688 * fix:在 Windows PowerShell 中启用 Shift+Tab 快捷键,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1607 * fix(core):在子智能体中强制执行工具限制,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1691 * [AnthropicContentGenerator] 优化:为系统消息和最后一条用户文本消息添加 cache_control,提交者 @Weaxs,见 https://github.com/QwenLM/qwen-code/pull/1613 * refactor(i18n):将 Agent 翻译为“智能体”,提交者 @itchina110,见 https://github.com/QwenLM/qwen-code/pull/1718 * fix(docker):修复构建错误并启用手动版本构建,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1722 * chore(release):将版本提升至 0.10.0,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1720 * fix(settings):将负向设置重命名为正向命名(disable* -> enable*),提交者 @afarber,见 https://github.com/QwenLM/qwen-code/pull/1330 * ci(sdk-release):SDK 发布使用稳定版 CLI 标签,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1710 * feat(query):支持使用会话 ID 恢复会话,提交者 @DragonnZhang,见 https://github.com/QwenLM/qwen-code/pull/1714 * 添加安装外部来源扩展的提示,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1694 * feat:Java SDK alpha 202501,提交者 @gwinthis,见 https://github.com/QwenLM/qwen-code/pull/1717 * 修复:在文档和示例中明确 is_background 参数为必需参数,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1716 * feat:移除 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 * feat(sdk):添加恢复、继续选项并扩展 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 * fix(vscode-ide-companion):修复服务器端时间戳和文件路径提取导致的 UI 显示问题,提交者 @yiliang114,见 https://github.com/QwenLM/qwen-code/pull/1682 * chore:将 Qwen OAuth 免费配额从每天 2000 个请求减少至 1000 个请求,提交者 @pomelo-nwu,见 https://github.com/QwenLM/qwen-code/pull/1730 * fix(ui):解决右上角身份验证信息未更新的问题,提交者 @DennisYu07,见 https://github.com/QwenLM/qwen-code/pull/1670 * feat:重构调试模式输出,将控制台调用优先路由到日志文件的 debugLogger,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1610 * 修复:在 ACP 集成测试中使用 OpenAI 模型,而不是 index=0,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1733 * fix(cli):将沙箱诊断消息路由到 stderr,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1735 * 为 SDK 发布添加 CLI 来源选择,并修复子智能体输出处理程序,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1732 * feat(paste):添加大段粘贴占位符,并修复 macOS 上按 Enter 提交的问题,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1713 * fix(cli):在 Windows 上启用自动补全时,防止 Tab 键循环切换审批模式,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1736 * feat:将智能体技能从实验性功能提升为稳定功能,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1738 * feat:在遥测日志中添加来源信息跟踪,提交者 @DennisYu07,见 https://github.com/QwenLM/qwen-code/pull/1653 * docs:更新 README 中的 Linux/Mac 安装命令,提交者 @DennisYu07,见 https://github.com/QwenLM/qwen-code/pull/1739 * feat(settings):添加 settings.env 字段以配置环境变量,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1751 * fix(mcp):改进 MCP 服务器管理和身份验证,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1752 * fix(core):在 OpenAI 转换器中正确处理 MCP 多部分工具结果,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1755 * 修复 CLI 参数解析,使其适用于 `/dist/cli/cli.js` 入口点,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1758 * fix(integration-tests):修正 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 * fix(ui):解决右上角模型未更新的问题,提交者 @DennisYu07,见 https://github.com/QwenLM/qwen-code/pull/1662 * fix(cli):使用 PowerShell Get-Command 检测 Windows 沙箱,提交者 @afarber,见 https://github.com/QwenLM/qwen-code/pull/1604 * 修复:在扩展安装中优先检测本地路径,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1770 * fix(auth-model-login-ui):防止 Enter 键触发空消息提交,提交者 @yiliang114,见 https://github.com/QwenLM/qwen-code/pull/1773 * feat:在 TUI 和 SDK 模式中添加 MCP 工具进度更新支持,提交者 @tanzhenxin,见 https://github.com/QwenLM/qwen-code/pull/1756 * feat:通过统一的 AuthDialog 添加 Coding Plan 身份验证模式,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1788 * feat(coding-plan):实现 Coding Plan 配置管理并更新提示词,提交者 @Mingholy,见 https://github.com/QwenLM/qwen-code/pull/1805 * docs:更新身份验证文档,添加 Coding Plan 配置指南,提交者 @joeytoday,见 https://github.com/QwenLM/qwen-code/pull/1800 * chore:将版本提升至 0.10.1,提交者 @qwen-code-ci-bot,见 https://github.com/QwenLM/qwen-code/pull/1808 * 修复:修复 Shell 脚本中的 Node 安装权限问题,提交者 @DennisYu07,见 https://github.com/QwenLM/qwen-code/pull/1819 * fix:防止 AbortSignal 监听器内存泄漏,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1811 * feat:添加 TPM 限流错误处理,并延迟 1 分钟后重试,提交者 @wenshao,见 https://github.com/QwenLM/qwen-code/pull/1791 * fix:将 showLineNumbers 默认值修正为 true,提交者 @LaZzyMan,见 https://github.com/QwenLM/qwen-code/pull/1813 * fix:支持 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 * refactor(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 * chore:将版本提升至 0.10.2,提交者 @qwen-code-ci-bot,见 https://github.com/QwenLM/qwen-code/pull/1844 * docs:改进 settings.json 配置指南,添加快速设置示例,提交者 @pomelo-nwu,见 https://github.com/QwenLM/qwen-code/pull/1850 * feat:更新 README,提交者 @pomelo-nwu,见 https://github.com/QwenLM/qwen-code/pull/1853 * docs:添加关于 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 * chore:将版本提升至 0.10.3,提交者 @qwen-code-ci-bot,见 https://github.com/QwenLM/qwen-code/pull/1863 * chore:将版本提升至 0.10.4,提交者 @qwen-code-ci-bot,见 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