npm @qwen-code/qwen-code 0.29.4
Release v0.29.4

one hour ago

Highlights

  • Managed Agent internal listener supports native TLS and optional mutual TLS via named SSL bundles, with in-place certificate rotation and fail-closed validation. (#19009)
  • Web Shell adds opt-in task suggestions above the welcome composer for trusted workspaces, with cached results, host-controlled refresh, and editable prompts. (#18928)
  • Scheduled tasks with a persistent session can deliver one run's final reply to up to 16 Channel targets, recording a result per Channel. (#18855)
  • Command and HTTP hooks can set onFailure to block, turning failures on PreToolUse, UserPromptSubmit, and PermissionRequest into blocking decisions. (#18975)
  • ACP sessions in Zed, VS Code, Web Shell, channels, and the daemon now run on the event-bus kernel by default, with opt-out via settings or environment variable. (#19012)
  • Daemons can issue, list, and revoke link grants with qwen daemon link grant, letting another daemon resolve a workspace and launch streamed sub-sessions. (#19017)

Breaking Changes

No known breaking changes.

Managed Agent TLS and deployment

Native TLS, mutual TLS, and scalable Helm deployments for the Managed Agent listener and control plane.

  • Managed Agent's internal listener now supports native TLS and optional mutual TLS via named SSL bundles, with in-place certificate rotation and fail-closed validation. (#19009)
  • Managed Agent Helm chart now deploys separately scalable control-plane and Hosted Harness Deployments over an internal ClusterIP HTTPS Service with rolling updates. (#19031)
  • managed-agent: harden multi-replica Helm chart TLS guards and tests (#19054)

Managed Agent scheduling and scaling

Stateless ACP, pull-only scheduling, shared SQL contracts, and multi-replica coordination for Hosted Harness.

  • Hosted Harness now uses pull scheduling only; the legacy push scheduling stack, direct HTTP mode, and transitional rollout toggles are removed across servers, templates, and docs. (#18948)
  • Managed Agent ACP v1 now runs statelessly across replicas with no sticky sessions and no hard Redis or RocketMQ LiteTopic dependency. (#18955)
  • Hosted Harness feature contracts are now stored in shared SQL with database-time leases, so all control-plane replicas converge on the same contract. (#19022)
  • Hardens the shared SQL Hosted Harness contract with safer lease margins, retry handling for transient poller failures, and reduced SQL read duplication. (#19059)
  • Side-query cancellation now propagates across replicas and survives restarts via persisted claim reconstruction, without adding any SQL tables or columns. (#19060)
  • Managed Agent cleanup retry scans now share leases and backoff state across replicas via SQL, preventing duplicate work when multiple control-plane replicas run. (#19062)
  • Pull-mode Hosted Harness workers now run without a local TCP listener, dispatching work in-process and failing closed if listener flags are supplied. (#19063)
  • Hosted Harness work polling now waits for local capabilities to load before the first poll and logs machine-readable error codes from the control plane. (#19064)
  • Lets the Hosted Harness event-push endpoint accept unattached control-plane requests without a client identifier and evicts stale attachment cache entries. (#19076)
  • Managed Agent Pull claims now verify each poller's capabilities per Session and harden locking and diagnostics for mixed Harness versions during rolling upgrades. (#19001)
  • Unbound text Sessions no longer trigger Managed Runtime warm-up or environment provisioning events, while Workspace-bound Sessions keep existing behavior. (#19055)
  • Concurrent Managed Agent Session writes now use READ COMMITTED isolation on MySQL with bounded retries for deadlock victims, reducing write failures. (#19074)
  • Reduces redundant SQL locks and Java virtual-thread pinning in the managed agent server, improving concurrency and responsiveness. (#19102)
  • Managed agent server moves object storage I/O and SHA-256 verification outside DB locks, adds composite indexes, and fixes scoped queries to use indexed lookups. (#19103)
  • Managed agent server downgrades verified read-only checks to shared locks on MySQL, defers stream locks, and adds lock-mode overloads to cut contention. (#19104)

Web Shell suggestions and navigation

Task and follow-up suggestions, custom sidebar entries, and richer session navigation in Web Shell.

  • Web Shell adds opt-in task suggestions above the welcome composer for trusted workspaces, with cached results, host-controlled refresh, and editable prompts. (#18928)
    Global CLI welcome composer
    Workspace B suggestion in the default list
  • Web Shell now shows clickable multi-option follow-up suggestion chips, controlled by the new ui.followupSuggestionCount setting. (#18856)
  • web-shell: reference past sessions with @ (#18939)
    Desktop at-mention menu with Files, Extensions, and MCP resources
    Desktop at-mention menu with Sessions alongside Files, Extensions, and MCP resources
  • Web Shell client API now supports custom left-sidebar navigation entries and custom main-area views with active, disabled, and close states. (#18950)
  • Web Shell custom rail items gain panelKey state retention, compact-layout context, and overflow handling, plus Settings promotion and a Home hover preview fix. (#18969)
  • serve: list first-turn create_sub_session launches in the composer chip (#18974)
    Screenshot from pull request 18974
    Screenshot from pull request 18974

Web Shell session and PR insights

PR status badges, resilient history handling, and Generated UI controls in Web Shell.

  • Web Shell GitHub PR badges now show merge conflicts, failing CI checks, review decisions, new comments, and remote head updates in session catalog, overview, picker, and details. (#18887)
    Before desktop sidebar
    After desktop sidebar
  • Web Shell now keeps restored messages visible when a history read fails and shows an inline Retry action instead of auto-refetching. (#18859)
  • Turning Generated UI off in Web Shell now immediately stops running sessions from offering or accepting the tool, releases on-screen cards, and keeps saved card state. (#18976)
  • Activity previews now show a transcript-too-large notice instead of a retry button when the daemon rejects an oversized transcript, while transient failures keep retry. (#18932)
  • Speeds up persisted session catalog listing and project session ID enumeration with a parallel Rust directory scanner and improved catalog caching. (#19011)

Hooks and tool result integrity

Blocking hook failures and accurate truncation signals for nested and MCP tool results.

  • Command and HTTP hooks can set onFailure to block, turning failures on PreToolUse, UserPromptSubmit, and PermissionRequest into blocking decisions. (#18975)
  • Nested tool results clipped at the 100,000-character limit now set truncated: true, so scripts can detect missing suffixes instead of treating partial output as complete. (#19045)
  • Large MCP responses delivered as persisted previews to JavaScript callers now report truncated: true, with the recovery notice still present in the text output. (#19046)
  • Nested tool results whose images are dropped to fit the transport frame now set truncated: true while keeping text available to the caller. (#19047)
  • FileChanged hooks now receive the first file written into a newly discovered directory even when the write lands before watch registration completes. (#18885)

Sessions, daemons, and ACP runtime

Event-bus ACP by default, daemon link grants, legacy session resume, and session rotation clarity.

  • ACP sessions in Zed, VS Code, Web Shell, channels, and the daemon now run on the event-bus kernel by default, with opt-out via settings or environment variable. (#19012)
  • On the event-bus kernel, a cancelled ACP prompt now waits for its started tools to stop before the next prompt begins. (#18977)
  • Daemons can now issue, list, and revoke link grants with qwen daemon link grant, enabling another daemon to resolve a workspace and launch streamed sub-sessions. (#19017)
  • Qwen Code 1.0 can now list and resume historical sessions created by the legacy CLI, with no changes to the harness or legacy core packages. (#18775)
  • Session rotation notices now name the limit reached, confirm the message is handled in a new session, and note earlier messages are not carried over. (#19014)
  • Takeover cancellation now stops all pending executions before polling, and settled executions recover their original results instead of being reported as cancelled. (#18883)
  • Hosted sessions now track per-message cursors for resume, close broker fixture listeners, and apply consistent evidence retention on setup and runtime failures. (#18884)

Scheduled task delivery

Scheduled tasks can fan out a run's final reply to multiple Channel targets.

  • Scheduled tasks with a persistent session can now deliver one run's final reply to up to 16 Channel targets, recording a result per Channel. (#18855)

CLI and status-line polish

Terminal layout refinements, status-line theme colors, and collapsible tool summaries.

  • Polishes the CLI terminal layout with a bottom-pinned composer, centered dialogs, muted completed activity summaries, and smoother virtual scrolling and selection. (#17541)
  • Status-line items get four semantic theme colors, and the /statusline picker now previews selections live while keeping input and footer visible. (#16122)
  • Expanded tool-call summaries can now be collapsed with a second click, including after moving into committed history. (#11837)
  • Reads at or past end of file now report zero lines instead of impossible ranges, and empty ranges render correctly in live reads and replay. (#19048)
  • Mobile slash and skill menu now uses the vertical space above the keyboard, with compact one-line rows and ellipsized command names for predictable 44px touch targets. (#19032)

Other Changes

  • CI gates now run SDK session-ID tests through the real CLI and share strict duration checks, while Serve A/B builds each revision only once. (#18880)
  • Provider docs add a Straitly section under OpenAI-compatible providers with base URL, API key setup, and a sample settings.json. (#18193)
  • Test-only change consolidating Feishu inbound-file coverage and verifying that rejected messages alone lose dedup entries without re-dispatching successful ones. (#15518)
  • Re-baselines the document export size budget to the merged tree's actual output, fixing a build failure that blocked all lanes before tests ran. (#19015)
  • Raises the Web Shell visual capture time budget on self-hosted runners from 90 to 120 minutes and updates the related assertion and guidance. (#18852)
  • Managed MySQL CI gate is unblocked by exempting the opt-in SQL performance test from the roster and making quiet-gate and durable-close checks overlap-tolerant. (#18968)
  • core: use the loaded settings path in qc-helper (#19029)
  • core: use the registered edit tool name in the qc-helper skill (#19021)
  • The SDK Java workflow now runs Hosted MySQL coverage in three parallel jobs, each with its own MySQL and cgroup resources and reports. (#19053)
  • Headless CLI unit tests now run on the shared agent loop, keeping structured output, Goal runs, teammate turns, and stream-json coverage on the only remaining path. (#19061)
  • Redundant test coverage was removed and the largest slow suites were split into smaller files, with assertions and CI shard counts unchanged. (#18992)
  • Assigns HostedAcpIT to the Workspace failsafe shard, fixing official CI Linux unit test failures caused by an unassigned Hosted class. (#19089)
  • Restricts official provider docs to vetted Tier 1 providers, excludes non-Tier-1 relays and reseller gateways, and adds a review gate for provider doc changes. (#19071)
  • Adopts a dual-track lint pipeline pairing Oxlint with a reduced concurrent ESLint pass, cutting lint overhead while keeping custom architecture and boundary rules. (#18991)
  • Keys project memory directories by a readable prefix plus a full-path hash so distinct projects, including CJK-named workspaces, no longer share memory storage. (#18754)
  • Removes a stray HTML anchor in CONTRIBUTING.md that broke the contributor-guide merge-gate guard and kept Lint & Static red on main. (#19092)
  • Runs all Java SDK CI on JDK 21, retiring the Java 11 matrix entry and standalone daemon job to save runner time while keeping lint and packaging. (#19085)
  • Fork reviews now use a job-scoped token and a root-owned proxy so model credentials stay isolated from PR-controlled processes. (#18470)
  • Added unit tests pinning the Broker observation window override and the foreground Shell timeout slack so regressions are caught. (#19081)
  • Publish-verify comments now match local /verify-pr --publish layout, with inlined evidence images and a vendored Markdown parser. (#18912)
  • The sidebar overload indicator is now clickable, opening overload diagnostics with load thresholds and slow-route hotspots, and autofix watch scans no longer stall the main thread. (#18917)
  • Sidebar multi-select gains an idle-guarded confirmed Delete action and per-workspace Select all/Deselect all, so running conversations are never force-closed. (#18922)
  • Updates the English and Simplified Chinese Web Shell PR attention signals design docs to mark the feature as implemented and reflect merged behavior. (#19066)
  • core: register autofix_pr tool on demand when bundled autofix-pr skill activates (#19106)
  • Fixes OpenAI Responses defects: tool media now moves to a user turn by default, summary-only reasoning emits a signature, and DashScope proxy dialect is honored. (#18747)
  • Hardens the PR verification lane with stricter environment allowlists, /tmp isolation, and proxy staging to block malicious install and build scripts. (#18863)
  • Removes unused CLI modules and stale ESLint allowlist entries, and adds automated tests to keep the allowlists current. (#19026)
  • core: discover Code Mode tools inside exec (#19049)
  • code-mode: expose composable, typed tool results (#19023)
  • The built-in system prompt now asks Qwen4 Max to use plain, concrete language in answers and progress updates, while allowing metaphors when requested. (#19084)
  • Managed agent docs now clarify that a valid drain receipt alone proves a physical stop, while deletion without one requires both loss and stopped-writer evidence. (#19120)
  • Export docs now verify HTML renderer size by comparing two isolated worktrees, measuring JS, CSS, and template separately with reproducible tests and browser comparison. (#19125)
  • The overload diagnostics design note now records the merge commit of the clickable diagnostics follow-up and links the tracking issue for open review deferrals. (#19111)
  • The triage CI job now fails immediately when a successful run produces no draft files, surfacing the real cause instead of a later job failure. (#18920)
  • Adds a TypeScript and TSX production file-size ratchet that pins 35 oversized files and enforces a 5,000-line threshold to curb further growth. (#19027)
  • Fixes web-shell turn navigation so it configures immediately when requestAnimationFrame is unavailable, restoring the failing journal-recovery E2E test. (#19073)
  • Unblocks main's unit lanes by removing a duplicate HostedAcpIT shard entry and updating a stale Code Mode exposure test expectation. (#19128)
  • Re-baselines seven TypeScript file-size ceilings to current main line counts, unblocking Quality Checks and Release workflows. (#19138)

中文摘要

亮点

  • Managed Agent 内部监听器支持通过命名 SSL bundle 启用原生 TLS 和可选双向 TLS,支持证书热轮换,配置无效时启动失败。 (#19009)
  • Web Shell 在受信任工作区的欢迎输入框上方新增可选任务建议,支持缓存、宿主控制刷新,并可插入可编辑提示词。 (#18928)
  • 带持久会话的定时任务可将一次运行的最终回复发送至最多 16 个 Channel 目标,并为每个 Channel 记录结果。 (#18855)
  • 命令和 HTTP hook 可将 onFailure 设为 block,使 PreToolUse、UserPromptSubmit 和 PermissionRequest 上的失败转为阻止决策。 (#18975)
  • Zed、VS Code、Web Shell、channels 和 daemon 中的 ACP 会话现在默认运行在 event-bus kernel 上,可通过设置或环境变量关闭。 (#19012)
  • daemon 可用 qwen daemon link grant 签发、列出和撤销 link grant,使另一个 daemon 能解析工作区并启动流式 sub-session。 (#19017)

Managed Agent TLS 与部署

Managed Agent 监听器与控制平面支持原生 TLS、双向 TLS 及可扩展的 Helm 部署。

  • Managed Agent 内部监听器现支持通过命名 SSL bundle 启用原生 TLS 和可选双向 TLS,支持证书热轮换,并在配置无效时启动失败。 (#19009)
  • Managed Agent Helm chart 现通过内部 ClusterIP HTTPS 服务部署可独立扩缩的控制平面和 Hosted Harness Deployment,并支持滚动更新。 (#19031)
  • 多副本 Managed Agent Helm chart 新增 internalTls.enabled 开关(默认 true),并加强对静默 CA 轮换、超大副本输入和模板漂移的防护。 (#19054)

Managed Agent 调度与扩展

Hosted Harness 支持无状态 ACP、纯 pull 调度、共享 SQL 契约与多副本协调。

  • Hosted Harness 现仅使用 pull 调度,服务端、模板和文档中的旧 push 调度栈、直接 HTTP 模式及过渡开关均已移除。 (#18948)
  • Managed Agent ACP v1 现可跨副本无状态运行,无需粘性会话,也不强依赖 Redis 或 RocketMQ LiteTopic。 (#18955)
  • Hosted Harness 功能契约现存储于共享 SQL 并使用数据库时间租约,使所有控制面副本收敛到同一契约。 (#19022)
  • 加固共享 SQL Hosted Harness 契约:更安全的租约余量、瞬时轮询失败重试,并减少 SQL 重复读取。 (#19059)
  • side-query 取消现在可通过持久化 claim 重建跨副本传播并在重启后生效,且无需新增任何 SQL 表或列。 (#19060)
  • Managed Agent 清理重试扫描现在通过 SQL 在多个副本间共享租约和退避状态,避免多控制面副本重复执行。 (#19062)
  • Pull 模式的 Hosted Harness worker 不再绑定本地 TCP 端口,改为进程内分发任务,若提供监听参数则启动失败。 (#19063)
  • Hosted Harness 工作轮询现在会等待本地 capabilities 加载后再首次轮询,并记录控制面返回的机器可读错误码。 (#19064)
  • Hosted Harness 事件推送端点支持无 client 标识的未附加控制面请求,并清理过期的附加缓存条目。 (#19076)
  • Managed Agent Pull 认领现按会话校验各 poller 的能力,并加强混合 Harness 版本滚动升级时的锁定和诊断。 (#19001)
  • 未绑定 Workspace 的文本 Session 不再触发 Managed Runtime 预热或环境预配事件,已绑定 Workspace 的 Session 行为保持不变。 (#19055)
  • 并发 Managed Agent Session 写入现在在 MySQL 上使用 READ COMMITTED 隔离级别,并对死锁受害者进行有限重试,减少写入失败。 (#19074)
  • 减少托管代理服务器中冗余的 SQL 锁和 Java 虚拟线程固定,提升并发性和响应速度。 (#19102)
  • 托管代理服务将对象存储 I/O 和 SHA-256 校验移出数据库锁,新增复合索引,并修复作用域查询以使用索引查找。 (#19103)
  • 托管代理服务在 MySQL 上将已验证的只读检查降级为共享锁,延迟流锁,并新增锁模式重载以减少争用。 (#19104)

Web Shell 建议与导航

Web Shell 新增任务与后续建议、自定义侧栏项及更丰富的会话导航。

  • Web Shell 在受信任工作区的欢迎输入框上方新增可选任务建议,支持缓存、宿主控制刷新,并可插入可编辑提示词。 (#18928)
  • Web Shell 现显示可点击的多选项后续建议标签,由新增的 ui.followupSuggestionCount 设置控制。 (#18856)
  • web-shell: reference past sessions with @ (#18939)
  • Web Shell 客户端 API 现支持自定义左侧边栏导航项和主区域视图,并支持激活、禁用和关闭状态。 (#18950)
  • Web Shell 自定义侧栏项新增 panelKey 状态保留、紧凑布局上下文和溢出处理,并提升 Settings 入口、修复 Home 悬停预览。 (#18969)
  • serve: list first-turn create_sub_session launches in the composer chip (#18974)

Web Shell 会话与 PR 洞察

Web Shell 提供 PR 状态徽章、更稳健的历史处理及 Generated UI 控制。

  • Web Shell 的 GitHub PR 徽章现在在会话目录、概览、选择器和详情中显示合并冲突、CI 失败、评审决定、新评论和远程 head 更新。 (#18887)
  • Web Shell 在历史读取失败时仍保留已恢复的消息,并显示内联 Retry 操作,而不是自动重新请求。 (#18859)
  • 在 Web Shell 中关闭 Generated UI 后,运行中的会话立即停止提供和接受该工具,释放屏幕上的卡片并保留已保存的卡片状态。 (#18976)
  • 当守护进程拒绝过大转录时,活动预览现显示转录过大提示而非重试按钮,临时故障仍可重试。 (#18932)
  • 通过并行 Rust 目录扫描器和改进的目录缓存,加快持久化会话目录列表和项目会话 ID 枚举速度。 (#19011)

Hook 与工具结果完整性

Hook 失败可阻止执行,嵌套与 MCP 工具结果提供准确的截断信号。

  • 命令和 HTTP hook 可将 onFailure 设为 block,使 PreToolUse、UserPromptSubmit 和 PermissionRequest 上的失败转为阻止决策。 (#18975)
  • 嵌套工具结果在 100,000 字符上限被截断时现在会设置 truncated: true,脚本可识别缺失的后缀而非把部分输出当作完整结果。 (#19045)
  • 以持久化预览形式传给 JavaScript 调用方的大型 MCP 响应现在会报告 truncated: true,文本输出中仍保留恢复提示。 (#19046)
  • 嵌套工具结果因传输帧限制丢弃图片时现在会设置 truncated: true,同时调用方仍可获得文本。 (#19047)
  • FileChanged 钩子现在能收到新发现目录中写入的第一个文件,即使写入发生在监听注册完成之前。 (#18885)

会话、daemon 与 ACP 运行时

ACP 默认使用 event-bus,daemon 支持 link grant,可恢复旧版会话并明确会话轮换提示。

  • Zed、VS Code、Web Shell、channels 和 daemon 中的 ACP 会话现在默认运行在 event-bus kernel 上,可通过设置或环境变量关闭。 (#19012)
  • 在 event-bus 内核上,被取消的 ACP 提示现会等待其已启动的工具停止后,才开始下一个提示。 (#18977)
  • daemon 现在可用 qwen daemon link grant 签发、列出和撤销 link grant,使另一个 daemon 能解析工作区并启动流式 sub-session。 (#19017)
  • Qwen Code 1.0 现在可以列出并恢复旧版 CLI 创建的历史会话,无需改动 harness 或旧版 core 包。 (#18775)
  • 会话轮换提示现会说明触发的限制、确认消息在新会话中处理,并提示早期消息不会保留。 (#19014)
  • 接管取消现在会先停止所有待执行任务再轮询,已完成的执行会恢复原始结果,而不再被报告为已取消。 (#18883)
  • 托管会话现按消息记录游标以支持恢复,关闭 broker 测试监听器,并在初始化与运行时失败时统一保留证据。 (#18884)

定时任务投递

定时任务可将一次运行的最终回复分发至多个 Channel 目标。

  • 带持久会话的定时任务现可将一次运行的最终回复发送至最多 16 个 Channel 目标,并为每个 Channel 记录结果。 (#18855)

CLI 与状态栏优化

优化终端布局、状态栏主题色及可折叠工具摘要。

  • 优化 CLI 终端布局:输入框固定在底部、对话框居中、已完成活动以弱化摘要显示,并改进虚拟滚动与选择体验。 (#17541)
  • 状态栏项目新增四种语义主题色,/statusline 选择器可实时预览并保持输入框和页脚可见。 (#16122)
  • 已展开的工具调用摘要现可再次点击折叠,包括移入已提交历史后。 (#11837)
  • 读取到达或超过文件末尾时现报告零行而非不可能的范围,空范围在实时读取和回放中正确显示。 (#19048)
  • 移动端斜杠和技能菜单现利用键盘上方空间,采用紧凑单行布局和省略命令名,保持可预测的 44px 触控目标。 (#19032)

其他变更

  • CI 门禁现通过真实 CLI 运行 SDK 会话 ID 测试并统一严格时长检查,Serve A/B 每个版本仅构建一次。 (#18880)
  • 提供商文档在 OpenAI 兼容提供商下新增 Straitly 章节,包含 base URL、API key 配置和示例 settings.json。 (#18193)
  • 仅测试变更,整合飞书入站文件覆盖,并验证只有被拒绝的消息丢失去重记录,成功消息不会重复派发。 (#15518)
  • 将文档导出体积预算重新对齐到合并后代码的实际大小,修复导致所有流水线在测试前即失败的构建问题。 (#19015)
  • 将自托管运行器上 Web Shell 视觉截图的时间预算从 90 分钟提高到 120 分钟,并更新相关断言和文档。 (#18852)
  • 通过将可选的 SQL 性能测试从名单中豁免,并让 quiet-gate 和 durable-close 检查容忍重叠,Managed MySQL CI 门禁已恢复。 (#18968)
  • core: use the loaded settings path in qc-helper (#19029)
  • core: use the registered edit tool name in the qc-helper skill (#19021)
  • SDK Java 工作流现在将 Hosted MySQL 覆盖拆分为三个并行任务,各自使用独立的 MySQL 和 cgroup 资源并上传报告。 (#19053)
  • Headless CLI 单元测试现在运行在共享 agent loop 上,使结构化输出、Goal 运行、队友回合和 stream-json 覆盖保留在唯一保留的路径上。 (#19061)
  • 移除了冗余测试覆盖,并将最大的慢速测试套件拆分为更小的文件,断言和 CI 分片数量保持不变。 (#18992)
  • 将 HostedAcpIT 分配到 Workspace failsafe 分片,修复官方 CI Linux 单元测试因 Hosted 类未分配而失败的问题。 (#19089)
  • 官方 provider 文档仅限经过审核的 Tier 1 provider,排除非 Tier 1 中转与转售网关,并为 provider 文档变更增加审核门禁。 (#19071)
  • 采用 Oxlint 与精简并发 ESLint 的双轨 lint 流程,在保留自定义架构与边界规则的同时降低 lint 开销。 (#18991)
  • 项目记忆目录改用可读前缀加完整路径哈希命名,避免不同项目(含中文名工作区)共用同一记忆存储。 (#18754)
  • 移除 CONTRIBUTING.md 中多余的 HTML 锚点,修复贡献者指南合并门禁校验失败及 main 上 Lint & Static 报红的问题。 (#19092)
  • Java SDK CI 全部改用 JDK 21,移除 Java 11 矩阵项和独立 daemon 任务,节省 Runner 时间并保留 lint 与打包步骤。 (#19085)
  • Fork 审查改用作业级 token 和 root 专属代理,使模型凭据与 PR 可控进程隔离。 (#18470)
  • 新增单元测试固定 Broker 观察窗口覆盖值和前台 Shell 超时余量,以便捕获回归。 (#19081)
  • publish-verify 评论现与本地 /verify-pr --publish 布局一致,内联证据图片并引入内置 Markdown 解析器。 (#18912)
  • 侧栏过载提示现可点击,打开含负载阈值和慢路由热点的过载诊断,autofix 监视扫描不再阻塞主线程。 (#18917)
  • 侧栏多选新增空闲保护的确认删除和按工作区全选/取消全选,运行中的会话不会被强制关闭。 (#18922)
  • 更新中英文 Web Shell PR 关注信号设计文档,标记该功能已实现并反映合并后的行为。 (#19066)
  • core: register autofix_pr tool on demand when bundled autofix-pr skill activates (#19106)
  • 修复 OpenAI Responses 缺陷:工具媒体默认移至用户消息,仅摘要推理输出签名,并遵循 DashScope 代理方言。 (#18747)
  • 通过更严格的环境白名单、/tmp 隔离和代理暂存加固 PR 验证流程,阻止恶意安装和构建脚本。 (#18863)
  • 移除未使用的 CLI 模块和过时的 ESLint 白名单条目,并新增自动化测试以保持白名单最新。 (#19026)
  • core: discover Code Mode tools inside exec (#19049)
  • code-mode: expose composable, typed tool results (#19023)
  • 内置系统提示词现在要求 Qwen4 Max 在回答和进度更新中使用具体平实的语言,用户要求时仍可使用比喻。 (#19084)
  • 托管代理文档现说明有效的 drain receipt 本身即可证明物理停止,无 receipt 时删除需同时具备丢失和写入停止证据。 (#19120)
  • 导出文档现通过比较两个隔离工作树验证 HTML 渲染器大小,分别测量 JS、CSS 和模板,并提供可复现测试和浏览器对比。 (#19125)
  • 过载诊断设计说明现记录可点击诊断后续工作的合并提交,并链接未决评审事项的跟踪 issue。 (#19111)
  • 当成功运行未生成任何草稿文件时,triage CI 任务现在会立即失败,直接暴露真正原因,而不是等到后续任务才报错。 (#18920)
  • 新增 TypeScript 和 TSX 生产文件大小棘轮,锁定 35 个超大文件并强制 5,000 行阈值,以遏制进一步增长。 (#19027)
  • 修复 web-shell 轮次导航:当 requestAnimationFrame 不可用时立即配置,恢复失败的 journal-recovery E2E 测试。 (#19073)
  • 通过移除重复的 HostedAcpIT 分片条目并更新过时的 Code Mode 暴露测试预期,解除 main 单元测试通道的阻塞。 (#19128)
  • 将七个 TypeScript 文件大小上限重新对齐到当前 main 的行数,解除 Quality Checks 和 Release 工作流的阻塞。 (#19138)
Complete Change List (85 pull requests)

Features

  • managed-agent: Support native TLS on the internal listener (#19009) by @doudouOUC
  • web-shell: add workspace welcome task suggestions (#18928) by @callmeYe
  • scheduled-tasks: support multiple Channel delivery targets (#18855) by @jkxiao
  • serve: list first-turn create_sub_session launches in the composer chip (#18974) by @qqqys
  • generated-ui: apply the setting to running sessions (#18976) by @qqqys
  • managed-agent: Unify Hosted Harness on pull scheduling and remove push mode (P6.1-P6.3) (#18948) by @doudouOUC
  • hooks: block the action when a hook with onFailure "block" fails (#18975) by @qqqys
  • web-shell: reference past sessions with @ (#18939) by @callmeYe
  • managed-agent: Share Hosted Harness feature contract across replicas in SQL (#19022) by @doudouOUC
  • qwen: add product-layer legacy transcript migration for resume compatibility (#18775) by @luoxuanzao
  • web-shell: support custom left-sidebar entries and main-area views (#18950) by @callmeYe
  • managed-agent: separate multi-replica Helm Deployments over internal HTTPS (#19031) by @doudouOUC
  • web-shell: add clickable multi-option follow-up suggestion chips (#18856) by @chiga0
  • managed-agent: Make ACP v1 stateless across replicas and harden P0 (#18955) by @doudouOUC
  • cli: add semantic statusline colors and live footer preview (#16122) by @DragonnZhang
  • core: run ACP sessions on the event-bus kernel by default (#19012) by @qqqys
  • serve: let another daemon start sub-sessions with a link grant (#19017) by @qqqys
  • web-shell: surface GitHub PR attention signals on session badges (#18887) by @wenshao
  • managed-agent: forward side-query cancel across replicas via persisted claim (#19060) by @doudouOUC
  • managed-agent: deduplicate cleanup retry and wake proof scans across replicas (#19062) by @doudouOUC
  • cli: polish terminal layout and streaming interactions (#17541) by @DragonnZhang
  • managed-agent: run pull-mode Hosted Harness without a TCP listener (#19063) by @doudouOUC
  • web-shell: extend custom rail (panelKey, controlled state, overflow), promote Settings, and fix Home hover preview (#18969) by @dreamWB
  • web-shell,serve: add clickable overload diagnostics, slow-route hotspots, and non-blocking autofix watch scans (#18917) by @wenshao
  • web-shell: add idle-guarded bulk delete and workspace select-all to sidebar multiselect (#18922) by @wenshao
  • core: add Rust dual-track session directory scanner and watched catalog cache (#19011) by @wenshao
  • core: register autofix_pr tool on demand when bundled autofix-pr skill activates (#19106) by @wenshao
  • core: discover Code Mode tools inside exec (#19049) by @DragonnZhang
  • code-mode: expose composable, typed tool results (#19023) by @DragonnZhang
  • core: encourage plain language for Qwen4 Max (#19084) by @DragonnZhang

Bug Fixes

  • cli: let a cancelled ACP turn's tools stop before the next prompt on the kernel (#18977) by @qqqys
  • web-shell: stop offering retry for a too-large transcript preview (#18932) by @yiliang114
  • build: re-baseline the document export budget to the merged tree (#19015) by @yiliang114
  • ci: extend visual capture timeout for self-hosted runners (#18852) by @wenshao
  • ci: unblock the Managed MySQL gate after the unit-test repair (#18968) by @yiliang114
  • web-shell: keep session history visible and retry failed reads (#18859) by @callmeYe
  • core: use the loaded settings path in qc-helper (#19029) by @qqqys
  • managed-agent: Harden Pull claim checks and locking for mixed Harness versions (#19001) by @doudouOUC
  • managed-agent: skip Runtime warm for unbound text Sessions (#19055) by @doudouOUC
  • managed-agent: harden shared Harness contract overlap, retry, and logging (#19059) by @doudouOUC
  • core: use the registered edit tool name in the qc-helper skill (#19021) by @qqqys
  • channels: say which limit rotated the session and that a reply is coming (#19014) by @qqqys
  • cli: allow collapsing expanded tool details (#11837) by @DragonnZhang
  • core: report zero lines when a read reaches EOF (#19048) by @DragonnZhang
  • core: flag clipped text in nested tool results (#19045) by @DragonnZhang
  • core: flag persisted MCP previews in nested tool results (#19046) by @DragonnZhang
  • core: flag images dropped from nested tool results (#19047) by @DragonnZhang
  • managed-agent: harden multi-replica Helm chart TLS guards and tests (#19054) by @doudouOUC
  • serve: Wait for local capabilities before starting Hosted Harness work polls (#19064) by @doudouOUC
  • core: recover files created during directory watch registration (#18885) by @yiliang114
  • serve: preserve parked results and stop the full takeover batch (#18883) by @yiliang114
  • managed-agent: Run remaining concurrent Session writes at READ COMMITTED and retry deadlock victims (#19074) by @doudouOUC
  • ci: assign HostedAcpIT to the Workspace failsafe shard (#19089) by @qqqys
  • core: key project memory by an injective path hash (#18754) by @yiliang114
  • managed-agent: support unattached holder event push and evict stale attachment cache (#19076) by @doudouOUC
  • ci: isolate fork review model credentials (#18470) by @yiliang114
  • serve: address hosted observation and verification follow-ups (#18884) by @yiliang114
  • web-shell: reclaim keyboard-room for the mobile slash menu (#19032) by @wenshao
  • core: default Responses tool media to user-turn and honor DashScope proxy dialect (#18747) by @yiliang114
  • ci: harden verify lane env allowlists, /tmp isolation, and proxy staging (#18863) by @wenshao
  • web-shell: configure turn navigation when requestAnimationFrame is missing (#19073) by @qqqys
  • unblock main's unit lanes (duplicate Hosted shard entry, stale Code Mode exposure test) (#19128) by @yiliang114

Performance

  • lint: adopt Oxlint dual-track with ESLint concurrency (#18991) by @yiliang114
  • managed-agent: reduce redundant SQL locks and Java pinning (batch 1) (#19102) by @doudouOUC
  • managed-agent: move OSS I/O off DB locks and cut publication/GC contention (batch 2) (#19103) by @doudouOUC
  • managed-agent: downgrade read locks to FOR SHARE, defer stream locks, and convert CAS paths (batch 3) (#19104) by @doudouOUC

Documentation

  • providers: document Straitly under OpenAI-compatible providers (#18193) by @HashimSyedUBC
  • governance: restrict official provider docs to vetted providers and remove non-Tier-1 relays (#19071) by @yiliang114
  • drop the unused provider anchor that broke the contributor-guide guard (#19092) by @yiliang114
  • design: mark Web Shell PR attention signals as implemented (#19066) by @wenshao
  • managed-agent: clarify proof required to retire a binding (#19120) by @Barzabel
  • export: make HTML renderer size verification reproducible (#19125) by @Barzabel
  • design: record the overload diagnostics merge commit and its tracking issue (#19111) by @wenshao

Internal Changes

  • ci: align SDK and export gates and avoid duplicate Serve A/B builds (#18880) by @yiliang114
  • test(feishu): consolidate inbound-file coverage and pin scoped rollback (#15518) by @jabrailkhalil
  • ci: Parallelize Managed Agent Java validation (#19053) by @doudouOUC
  • test(cli): run headless unit tests on the shared agent loop (#19061) by @qqqys
  • test: prune redundant coverage and partition slow suites (#18992) by @yiliang114
  • ci(sdk-java): Run Java CI on JDK 21 only (#19085) by @doudouOUC
  • test(serve): Pin Broker observation window and foreground Shell timeout slack (#19081) by @iterationjia
  • ci(verify): align publish-verify comment layout with local /verify-pr --publish (#18912) by @wenshao
  • chore(cli): remove dead files and enforce eslint allowlist freshness (#19026) by @wenshao
  • ci(triage): fail the triage job when a successful run leaves no drafts (#18920) by @wenshao
  • chore(repo): add TypeScript production file-size ratchet (#19027) by @wenshao
  • chore(repo): refresh TS file-size ratchet baseline to main 56ec5c0 (#19138) by @wenshao

New Contributors

Full Changelog: v0.29.3...v0.29.4

Don't miss a new qwen-code release

NewReleases is sending notifications on new releases.