← 返回更新日志

Qwen Code sdk-typescript-v0.1.17

2026-09-29 · GitHub 原文
## 捆绑的 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 发布版本之前失败)。 ## 变更内容 * 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 插件资源收集,使其遵循 marketplace 配置,作者:@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] optimize:为系统消息和最后一条用户文本消息添加 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/javasdk 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):添加 resume、continue 选项并扩展 authType 支持,作者:@Mingholy,详见 https://github.com/QwenLM/qwen-code/pull/1726 * 修复 ACP 模型选择,使其处理所有已配置的身份验证类型,作者:@Mingholy,详见 https://github.com/QwenLM/qwen-code/pull/1555 * refactor:移除 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:将 Agent Skills 从实验性功能提升为稳定功能,作者:@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 * 修复 `/dist/cli/cli.js` 入口点的 CLI 参数解析,作者:@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