← 返回更新日志

Qwen Code sdk-typescript-v0.1.12

2026-09-10 · GitHub 原文
## 捆绑的 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 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1632 * chore(release): sdk-typescript v0.1.4 by @qwen-code-ci-bot in https://github.com/QwenLM/qwen-code/pull/1633 * 修复:使用解析后的 authType 初始化 ACP 代理 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1622 * 新增:为 ACP 子代理跟踪添加 parentToolCallId 和 subagentType by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1620 * feat(core): 改进以工具形式调用 skill 时的错误消息 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1623 * fix(acp): 流式传输子代理文本 + 推理块 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1626 * 修复:确保在配置初始化前创建 output-language.md by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1637 * fix(security): 防止通过 shell 命令验证中的换行符绕过导致命令注入 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1638 * 修复:使 Claude 插件资源收集遵循 marketplace 配置 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1639 * feat(core): 改进重试逻辑以更好地处理 429/5xx 错误 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1628 * feat: 为 OpenAI 兼容提供商添加 extra_body 支持 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1654 * 支持在 vscode ide companion 中通过 ACP 进行模型选择 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/1582 * feat: 在所有内容生成器中增加多模态输入支持(图像、PDF、音频) by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1564 * 新增:为 Qwen Code 代理服务器添加 Zed 扩展 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1630 * feat: 明确非交互模式的输出格式 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1579 * feat: 为批量 CLI 执行添加并发运行器 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1640 * 新增:为代码智能添加实验性 LSP 支持 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/1401 * 修复:package.json 和 lockfile 中 React/React-DOM 版本不一致 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1659 * feat(webui): 使用共享组件库实现统一的 UI 架构 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/1543 * chore: 将版本提升至 0.9.0 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1661 * 新增:支持 contextWindowSize 配置 by @xuewenjie123 in https://github.com/QwenLM/qwen-code/pull/1539 * fix(core): 避免将 undici agent 传递给 Anthropic SDK by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1663 * fix(vscode-ide-companion): 修复竞态条件并改进 @ 文件补全搜索 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/1676 * fix(core): 退出时正确清理 MCP 服务器子进程 by @tt-a1i in https://github.com/QwenLM/qwen-code/pull/1285 * test(cli): 稳定 AuthDialog ESC 断言 by @liqiongyu in https://github.com/QwenLM/qwen-code/pull/1535 * fix(cli): 扩展 MCP @server: 资源引用 by @liqiongyu in https://github.com/QwenLM/qwen-code/pull/1531 * fix(core): 在 Plan 模式下自动启用 WebFetch 和 WebSearch 工具 by @afarber in https://github.com/QwenLM/qwen-code/pull/1686 * feat(core): 为 skill manager 添加符号链接支持 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/1690 * fix: 规范化扩展中的 skill 文件内容以处理 BOM 和 CRLF by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1667 * fix(ci): 遵循手动预览版本输入 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1665 * build: 提高构建效率并添加开发模式 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1681 * fix(core): 处理命令替换守卫中的 heredoc by @liqiongyu in https://github.com/QwenLM/qwen-code/pull/1701 * feat: 编辑文件时保留 UTF-8 BOM by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1680 * fix(core): 编辑期间在 newString 中保留尾部空格 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1688 * fix: 在 Windows PowerShell 中启用 Shift+Tab 快捷键 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1607 * fix(core): 在子代理中强制执行工具限制 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1691 * [AnthropicContentGenerator] 优化:为系统消息和最后一条用户文本消息添加 cache_control by @Weaxs in https://github.com/QwenLM/qwen-code/pull/1613 * refactor(i18n): 将 Agent 翻译为 智能体 by @itchina110 in https://github.com/QwenLM/qwen-code/pull/1718 * fix(docker): 修复构建错误并启用手动版本构建 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1722 * chore(release): 将版本提升至 0.10.0 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1720 * fix(settings): 将负向设置重命名为正向命名 (disable* -> enable*) by @afarber in https://github.com/QwenLM/qwen-code/pull/1330 * ci(sdk-release): 在 SDK 发布中使用稳定的 CLI 标签 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1710 * feat(query): 添加通过会话 ID 恢复会话的支持 by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/1714 * 添加安装外部源扩展的提示 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1694 * Feat/javasdk alpha 202501 by @gwinthis in https://github.com/QwenLM/qwen-code/pull/1717 * Fix:在文档和示例中明确 is_background 参数为必填项 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1716 * feat:移除 Smart Edit 工具和 ClearcutLogger by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1684 * 添加支持 Markdown 和 HTML 格式的会话历史导出命令 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1515 * 为 ProcessTransport 添加 FORK_MODE 支持以集成 Electron IPC by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1719 * feat(sdk):添加 resume、continue 选项并扩展 authType 支持 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1726 * Fix:修复 ACP 模型选择以支持所有已配置的认证类型 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1555 * refactor:移除 read_many_files 工具,为 @-命令添加 readManyFiles 工具函数 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1673 * fix(vscode-ide-companion):修复服务端时间戳和文件路径提取的 UI 显示问题 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/1682 * chore:将 Qwen OAuth 免费配额从每日 2000 次请求降低至 1000 次 by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/1730 * fix(ui):解决右上角认证状态未更新的问题 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/1670 * feat:调试模式输出重构 — 将 console 调用路由至优先写入日志文件的 debugLogger by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1610 * fix:在 acp 集成测试中使用 openai 模型替代 index=0 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1733 * fix(cli):将沙箱诊断消息路由至 stderr by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1735 * 为 SDK 发布添加 CLI 源选择功能并修复子代理输出处理器 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1732 * feat(paste):添加大段粘贴占位符并修复 macOS 上的 Enter 提交问题 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1713 * fix(cli):在 Windows 上当自动补全激活时,防止 Tab 键循环切换审批模式 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1736 * feat:将 Agent Skills 从实验性功能升级为稳定版 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1738 * feat:在遥测日志中添加源信息追踪 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/1653 * docs:更新 README 中的 Linux/Mac 安装命令 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/1739 * feat(settings):添加 settings.env 字段以支持环境变量配置 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1751 * fix(mcp):改进 MCP 服务器管理与认证 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1752 * fix(core):在 OpenAI 转换器中正确处理 MCP 多部分工具结果 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1755 * Fix:修复 /dist/cli/cli.js 入口点的 CLI 参数解析 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1758 * fix(integration-tests):修正 simple-mcp-server 测试中的 MCP 工具名称 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1763 * Fix:通过更新硬编码工具名为使用常量,修复 SDK MCP 集成测试 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1769 * Fix:修复安装 Shell 脚本中的警告 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/1771 * fix(ui):解决右上角模型未更新的问题 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/1662 * fix(cli):在 Windows 沙箱检测中使用 PowerShell Get-Command by @afarber in https://github.com/QwenLM/qwen-code/pull/1604 * fix:在扩展安装中优先检测本地路径 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1770 * fix(auth-model-login-ui):防止 Enter 键触发空消息提交 by @yiliang114 in https://github.com/QwenLM/qwen-code/pull/1773 * feat:在 TUI 和 SDK 模式下添加 MCP 工具进度更新支持 by @tanzhenxin in https://github.com/QwenLM/qwen-code/pull/1756 * feat:添加 Coding Plan 认证模式并统一 AuthDialog by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1788 * feat(coding-plan):实现 Coding Plan 配置管理并更新提示词 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1805 * docs:更新认证文档,增加 Coding Plan 设置指南 by @joeytoday in https://github.com/QwenLM/qwen-code/pull/1800 * chore:将版本提升至 0.10.1 by @qwen-code-ci-bot in https://github.com/QwenLM/qwen-code/pull/1808 * 修复:修复 shell 脚本中的节点安装权限问题 by @DennisYu07 in https://github.com/QwenLM/qwen-code/pull/1819 * 修复:防止 AbortSignal 监听器内存泄漏 by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1811 * 功能:添加 TPM 限流错误处理,重试延迟为 1 分钟 by @wenshao in https://github.com/QwenLM/qwen-code/pull/1791 * 修复:将 showLineNumbers 默认值更正为 true by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1813 * 修复:为 MCP 工具支持 JSON Schema draft-2020-12(修复 #1818) by @LaZzyMan in https://github.com/QwenLM/qwen-code/pull/1821 * 添加开发启动配置并保留现有的 NODE_OPTIONS by @DragonnZhang in https://github.com/QwenLM/qwen-code/pull/1784 * 修复:在 subagent while 循环中修复 abort 监听器累积问题 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1825 * 重构(cli):统一 AppContainer 中的 Escape 键处理 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1824 * 修复:使认证 UI 使用语义化主题颜色并修正选择同步 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1823 * 为 CLI 和 SDK 添加 --session-id 支持 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1822 * 维护:将版本提升至 0.10.2 by @qwen-code-ci-bot in https://github.com/QwenLM/qwen-code/pull/1844 * 文档:通过快速设置示例改进 settings.json 配置指南 by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/1850 * 功能:更新 readme by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/1853 * 文档:添加关于 Qwen3.5-Plus 发布的新闻横幅 by @pomelo-nwu in https://github.com/QwenLM/qwen-code/pull/1854 * 修复:集成测试中的沙盒用户权限问题 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1843 * 添加 Coding Plan Global/Intl 区域支持 by @Mingholy in https://github.com/QwenLM/qwen-code/pull/1860 * 维护:将版本提升至 0.10.3 by @qwen-code-ci-bot in https://github.com/QwenLM/qwen-code/pull/1863 * 维护:将版本提升至 0.10.4 by @qwen-code-ci-bot in 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