github QwenLM/qwen-code v0.29.2
Release v0.29.2

one hour ago

Highlights

  • New read-only API GET /v1/agents/sessions/{sessionId}/skills returns ordered names and descriptions of user-invocable Session Skills. (#18674)
  • Web Shell Settings → Models now supports per-model thinking, effort and context window defaults, with source display and reset to inherit. (#18529)
  • Independent tool calls now run PreToolUse hooks concurrently, cutting the six-read fixture's median from 1,897.54 ms to 385.31 ms (79.7% reduction). (#18727)
  • Adds full Arabic support to the CLI and Web Shell, including right-to-left layout in the Web Shell and exported HTML transcripts. (#17437)
  • Web Shell session menu gains "Move to workspace…" with a trusted local workspace picker, inline errors, and automatic reopening in the target workspace. (#18835)
  • Web Shell "Token Usage" becomes "Usage & Time", with tiles for tokens, cache hit rate, time, speed and first-token time above five collapsible boards. (#18757)

Breaking Changes

No known breaking changes.

Session Skills & Managed Agent APIs

New read-only and authenticated endpoints expose Session Skills, ACP JSON-RPC sessions, and placement bindings to embedded callers.

  • Adds the read-only public API endpoint GET /v1/agents/sessions/{sessionId}/skills, returning ordered names and descriptions of user-invocable Session Skills. (#18674)
  • Adds an authenticated Managed Agent endpoint speaking ACP v1 JSON-RPC over HTTP and SSE for sessions, prompts, streaming updates, and tool permissions. (#18849)
  • Lets embedded callers resolve a Harness Session placement and read its latest persisted binding, including released generations, without creating a worker. (#18813)
  • web-shell: support session-required Skills menus (#18116)

Harness Pull & Holder Channel

Pull-held Sessions gain durable holder-channel requests, end-to-end delivery, pull-only pools, and claim-based placement.

  • Adds a durable store for holder-channel requests to pull-held Sessions, fenced by placement so requests cannot land behind a takeover. (#18684)
  • Connects the holder channel end to end so pull-held Session calls travel through the holder's work poll, with no behavior change until claims mark placements pull-held. (#18690)
  • Makes Turns on pull-held Sessions run without a Harness event stream and delivers cancellation via the holder channel, with no behavior change yet. (#18705)
  • Enables the holder channel so pollers outside Java's pool configuration can claim released Sessions and receive all later calls through their work poll. (#18708)
  • Adds an opt-in harness-pull first-placement setting so new Sessions are claimed by a polling Harness instead of assigned round robin. (#18737)
  • Fixes holder-channel negotiation deadlocks and queues creates on their Session so out-of-pool pull works in real processes. (#18783)
  • Java can now run a Hosted Harness pool with no configured members in pull-only mode, with each instance negotiating its feature contract from the first poller. (#18825)
  • Wakes pull-holder work polls and callers on a Java instance from a shared 50 ms tick instead of independent SQL rechecks. (#18808)
  • managed-agent: Claim Sessions for lifecycle operations in pull-only mode (P5.2) (#18845)
  • managed-agent: Report Harness claim demand as gauges (P5.5a) (#18837)
  • cli: Cap the Sessions a Hosted Harness claims (P3.1) (#18736)
  • managed-agent: Fence holder requests on release (#18720)
  • Separates historical external binding settlement from execution admission so terminated or never-allocated bindings can be released without blocking later placement. (#18777)
  • Closing or deleting a Session is now refused while an automation model turn is still active, preventing close operations from being created mid-turn. (#18834)

Web Shell UI & Settings

Sidebar visibility settings, per-model defaults, mobile composer, usage panel, and richer tables improve the Web Shell experience.

  • New settings ui.sidebar.showPrWatches, ui.sidebar.showGoals and ui.sidebar.showArtifacts hide those Web Shell sidebar entries; all default on. (#18707)
  • Web Shell Settings → Models now supports per-model thinking, effort and context window defaults with scope, source display and reset to inherit. (#18529)
  • Web Shell dialogs on iOS and Android now stay fully visible above the software keyboard, and iOS Add-to-Home-Screen metadata is improved. (#18706)
  • Mobile Web Shell users can collapse the composer into a floating trigger, freeing transcript space while keeping unsent work and turn controls accessible. (#18767)
    Before collapsing mobile composer on Pixel 7
    After collapsing mobile composer with draft dot on Pixel 7
  • The Web Shell "Token Usage" panel becomes "Usage & Time", with headline tiles for tokens, cache hit rate, time, speed and first-token time above five collapsible boards. (#18757)
    Screenshot from pull request 18757
    Screenshot from pull request 18757
  • Enhanced Markdown tables now show a shared hoverable tooltip for truncated headers, cells, and row details, letting users scroll and copy long content. (#18729)
  • Web Shell folds three or more consecutive routine background wakeup rounds into one toggleable summary row and restores readable task identity for background shell tasks. (#18664)
  • Web Shell hosts can now customize turn artifact card actions, keeping built-in actions, composing download and preview controls, or replacing buttons entirely. (#18756)
  • Adds "Move to workspace…" to the Web Shell session menu, with a picker of trusted local workspaces, inline errors, and automatic reopening in the target workspace. (#18835)
    Screenshot from pull request 18835
    Screenshot from pull request 18835
  • Adds a daemon operation that moves an idle session to another registered workspace, refusing sessions with work in flight and relocating the transcript and tools. (#18760)
  • Fixes the Web Shell thinking picker so it matches /effort, showing the confirmed tier and preserving the workspace default for new tasks. (#18715)
  • The session hover popover now reuses the sidebar's pulsing green and amber status dots for running and background-only states, matching the row's visual language. (#18745)
  • Shell mode now preserves draft composer tags when recalling history and restores them when navigating back to the draft, matching prompt mode on desktop and touch editors. (#18672)
  • Web Shell now runs the built-in /pr command immediately during active turns, resolving bare pull request numbers through a new workspace-scoped daemon route. (#18702)
  • generated-ui: let a follow-up card revise an earlier one (#18669)
    The replaced card in the conversation
    After Go to the newer version

Hooks & Agent Behavior

PreCompact and Stop hooks gain new control paths, exec-form command hooks arrive, and subagents move to the event-bus kernel.

  • PreCompact hooks can now block compaction via decision block/deny or exit code 2, and command hook output steers the summary text. (#18656)
  • Stop and SubagentStop hooks returning additionalContext now continue the turn with that text, subject to the same loop protection as blocks. (#18657)
  • Command hooks can now set args to run in exec form without a shell, passing each element as one argument and expanding project directory variables as plain text. (#18818)
  • Subagents and workflow agents now run on the event-bus kernel by default, with an opt-out via the eventBusAgentLoop setting or environment variable. (#18730)
  • Auto Mode's permission classifier now explicitly considers AGENTS.md instructions when judging project intent for routine actions. (#18704)
  • Native extensions now load AGENTS.md as a default context file alongside QWEN.md, so extensions using only AGENTS.md need no manifest entry. (#18530)

Model & Multimodal Support

Gemini, Vertex, and OpenAI Responses gain native multimodal handling, dialect support, and correct context windows.

  • core: fix Gemini/Vertex long-stream transport and support native multimodal tool outputs (#18522)
  • core,cli: support OpenAI Responses multimodal/dialects and auto-select Chat Completions audio encoding (#18523)
  • core: resolve context windows for same-provider model overrides (#18304)

SDK, CLI & Mods

Java SDK HttpClient injection, Mods host APIs, CLI flag translation, settings migration, and Arabic localization expand developer reach.

  • The Java SDK Hosted Harness client can now be built with a caller-supplied HttpClient, routing all exchanges including capability negotiation through it. (#18688)
  • Mods can now call $.env.get, $.settings.read, $.telemetry.log and $.telemetry.mark in all hosts, and presentation gains isColorless. (#18654)
  • The Qwen CLI now translates 0.28 root flags such as -y and --approval-mode, and unsupported usages fail at startup with a stderr message and exit code 1. (#18811)
  • QwenSettingsService now automatically and idempotently migrates 0.28 settings to the Harness format, including project settings, without modifying tracked files. (#18762)
  • Adds full Arabic support to the CLI and Web Shell, including right-to-left layout in the Web Shell and exported HTML transcripts. (#17437)
  • Adds headless compatibility end-to-end tests for the new Qwen Code CLI covering prompt input, output formats and sandboxed execution. (#18746)

PR Verification & CI Reliability

Verification gains microVM profiles, WebKit coverage, screenshot publishing, and more reliable runners and caching.

  • PR verification now covers Web Shell browser and iOS Safari/WebKit with explicit boundaries, a local recipe, and path-gated WebKit in CI. (#18698)
  • Adds java, browser, and full microVM rootfs profiles with automatic profile selection and guest toolchain setup for PR verification. (#18685)
  • Publishes verify screenshots to a GitHub assets repository with commit-pinned URLs, keeping the text report when uploads fail. (#18778)
  • A new workflow cancels active automatic verify-pr runs when a PR is merged or closed, preventing long-running verification jobs after merge. (#18662)
  • Legacy transcript renderer downloads in CI now use the configured proxy, npm registry mirror, and verified cache, eliminating intermittent 180-second E2E timeouts. (#18678)
  • Incremental CI build cleanup is now scoped to the changed workspace, so rebuilding one package no longer deletes cached output for sibling packages. (#18755)
  • Moves Hosted Java, Spring, MySQL fault gates and failover E2E lanes onto the persistent ECS runner pool with shared checkout hygiene. (#18726)
  • Routes write-permission fork PR gates and trusted lanes to self-hosted ECS runners while keeping untrusted fork execution isolated and the kill-switch intact. (#18750)
  • PR safety precheck now uses cone-mode sparse checkout so the trusted scripts directory materializes correctly on runners with an absolute Git directory. (#18810)
  • Isolates /tmp inside each review job's NVMe scratch directory via bwrap on self-hosted runners and hardens scratch cleanup. (#18686)
  • Automated PR review now always uses tiered fail-closed sandbox isolation, forcing hardware isolation when the container or pinned sandbox image is unavailable. (#18355)

Workspace & Session Lifecycle

External Workspace provisioning, private unbound Sessions, and safer close and cleanup behavior improve session management.

  • New unbound Sessions created via Public or WebShell are now private to the creating actor, while existing shared and Workspace Sessions keep their current access. (#17471)
  • Wires the external foreground-Shell profile through the Control Plane, External Workspace Provisioner and Runtime Broker with dispatch, cancel and reconcile fences. (#17474)
  • Lets explicitly configured external Workspace Workers run extension Skills, scripts, MCP tools, and hooks, while public child Agents are reported as degraded and deferred. (#18114)
  • Files-only external workspaces can now enable control-plane extension package management without configuring a Worker; managed extensions still require full Worker setup. (#18815)
  • managed-agent: Resume original external Workspace provision during drain (#18728)
  • Broker replicas with an empty local session cache now resolve external Workspace file sessions via the shared store, keeping history, tool reservations, and cancellations working. (#18751)
  • Over-budget text attachments are now sent as short file references so the agent can read the original, while fitting attachments stay inline and remain readable after restart. (#18848)
  • Fixes Runtime Broker shutdown so a recycled servlet response no longer interrupts cleanup, letting pending requests finish and HTTP workers stop. (#18860)
  • Managed package preparations are now released when their consumer closes or fails to open the archive, freeing disk space while preserving archives still in use. (#18129)
  • User-message queue transactions now run at READ COMMITTED instead of REPEATABLE READ, avoiding gap locks between neighboring Sessions of the same tenant. (#18803)

Other Changes

  • Trusted PR visual captures now run on the persistent runner fleet instead of a pool with no registered runners, restoring web-shell visual previews. (#18673)
  • test(managed-agent): read the client turn, not the injected permission snapshot (#18670)
  • Brackets each triage agent transcript with stop-commands so workflow commands quoted in agent output stay inert instead of being executed. (#18700)
  • publish-verify now checks the actual artifact to decide whether a report exists, embedding it and marking the comment substantive to prevent overwrites. (#18699)
  • Contributor guide now explains the merge gate bar and how fork contributors can clear it locally before requesting review. (#18653)
  • Test boots for the surface registry gate and admission matrix now enable the Harness pool so the work poll and reply routes mount correctly. (#18725)
  • Adds English and Chinese design docs for Harness pull phase P3, covering claim-based Session placement, virtual-thread callers, and scheduled sweeps. (#18722)
  • verify-pr: mark merge-ready verdicts with ✅ in the published comment (#18712)
  • Web Shell transcripts now start syntax highlighting only when code nears the viewport, avoiding upfront tokenization of every code block. (#18483)
  • Independent tool calls now run PreToolUse hooks concurrently; the six-read fixture's paired median dropped from 1,897.54 ms to 385.31 ms (79.7% reduction). (#18727)
  • Worktree-isolated sessions no longer show a fork icon in session lists; worktree identity remains in session details, the Managed status panel, and the git chip. (#18718)
  • cli: fail daemon start when the daemon dies during runtime startup (#18749)
  • Adds an opt-in latency baseline test that measures push and pull modes on identical load across two Java replicas, two Harness processes, and MySQL 8.4. (#18797)
  • Registers the verify-pr-assets publish call in the skill auditor's vocabulary, fixing the Linux unit test and Test aggregate failures that had turned main red. (#18792)
  • ci: apply the review fixes #18766 dropped at merge (#18780)
  • Adds English and Chinese design docs for a zero-Push Harness pull launch with pull-only pools; nothing is implemented yet. (#18819)
  • Moves the zombie-aware process reap probe into a shared helper and applies it to the timeout-escalation harness to avoid false alive results. (#18785)
  • Adds an opt-in real-process experiment recording where recovery stops after a Session's pull holder stalls or drains. (#18822)
  • Hosted Harness status reads can now wait up to 2 seconds for a finished Turn's cleanup, reporting idle as soon as the session can accept the next prompt. (#18816)
  • The opt-in P5.0 pull-holder recovery experiment now runs on durable local Runtimes so reconciliation timeouts no longer mask the recovery behavior under test. (#18828)
  • Extensions now load once during configuration startup, shared by hooks, skills, subagents, and tool discovery, removing a duplicate scan and startup delay. (#18806)
  • Updates the generated-UI acceptance harness so a save triggered by committing the draft field counts as the first Add acknowledgement. (#18814)
  • The session menu's autofix now runs in place in that session as a watch that asks before editing, and the item is relabelled in all four languages. (#18711)
  • Fixes five macOS Apple Silicon vfkit microVM issues, including Homebrew binary discovery and non-root guest fallback, and updates the runbook and design docs. (#18697)
  • Dependency gateway now keeps all verified IPs from one DNS lookup and falls back from IPv6 to IPv4 on dual-stack mirrors; shallow repos and guest /dev/fd are also handled. (#18824)
  • Tests now cover content-only mode rejection, and docs clarify that unknown execution modes are rejected only for external Workspaces with managed extensions enabled. (#18843)
  • Runtime Broker unit tests now run once in the Linux Java 21 SDK job instead of being duplicated in the MySQL job, cutting redundant test time. (#18861)

中文摘要

亮点

  • 新增只读 API GET /v1/agents/sessions/{sessionId}/skills,返回用户可调用 Session Skills 的有序名称和描述。 (#18674)
  • Web Shell 设置 → 模型现支持按模型设置思考、effort 和上下文窗口默认值,可显示来源并重置为继承。 (#18529)
  • 独立工具调用现在并发执行 PreToolUse 钩子,六次读取测试中位耗时从 1,897.54 ms 降至 385.31 ms(减少 79.7%)。 (#18727)
  • 为 CLI 和 Web Shell 增加完整阿拉伯语支持,包括 Web Shell 及导出的 HTML 记录中的从右到左布局。 (#17437)
  • Web Shell 会话菜单新增 Move to workspace…,可从受信任的本地工作区中选择,错误内联显示,并在目标工作区自动重新打开会话。 (#18835)
  • Web Shell 的 Token Usage 面板更名为 Usage & Time,顶部展示 token、缓存命中率、耗时、速度和首 token 时间,下方为五个可折叠面板。 (#18757)

会话技能与托管代理 API

新增只读与认证端点,向嵌入式调用方暴露 Session Skills、ACP JSON-RPC 会话和 placement binding。

  • 新增只读公共 API 端点 GET /v1/agents/sessions/{sessionId}/skills,返回用户可调用 Session Skills 的有序名称和描述。 (#18674)
  • 新增经认证的 Managed Agent 端点,通过 HTTP 和 SSE 支持 ACP v1 JSON-RPC 的会话、提示、流式更新和工具权限。 (#18849)
  • 允许嵌入式调用方解析 Harness Session 的 placement 并读取最新持久化 binding(含已释放代次),且不创建 worker。 (#18813)
  • 新增可选的会话级 Skills 菜单支持:打开斜杠 Skills 菜单时准备会话,保持菜单和草稿,首个提示复用该会话。 (#18116)

Harness 拉取与 Holder 通道

pull-held Session 获得持久化 holder 通道请求、端到端投递、仅拉取池和基于 claim 的放置。

  • 为 pull-held Session 的 holder 通道请求新增持久化存储,按 placement 加锁,防止请求落到接管之后。 (#18684)
  • 端到端接通 holder channel,使 pull-held Session 的调用通过持有者的 work poll 传递;在 claim 标记 pull-held 前行为不变。 (#18690)
  • 使 pull-held Session 的 Turn 无需 Harness 事件流即可运行,并通过 holder channel 传递取消;目前行为不变。 (#18705)
  • 启用 holder channel,使不在 Java 池配置中的 poller 可认领已释放的 Session,并通过其 work poll 接收后续所有调用。 (#18708)
  • 新增可选的 harness-pull 首次放置设置,使新 Session 由轮询的 Harness 领取,而非按轮询分配。 (#18737)
  • 修复 holder 通道协商死锁,并将创建请求排队到对应 Session,使池外拉取在真实进程中正常工作。 (#18783)
  • Java 现在可以仅拉取模式运行无成员的 Hosted Harness 池,每个实例从首个轮询方协商功能契约。 (#18825)
  • 在 Java 实例上用共享的 50 毫秒 tick 唤醒 pull holder 的工作轮询和调用方,替代各自重复查询 SQL。 (#18808)
  • managed-agent: Claim Sessions for lifecycle operations in pull-only mode (P5.2) (#18845)
  • managed-agent: Report Harness claim demand as gauges (P5.5a) (#18837)
  • cli: Cap the Sessions a Hosted Harness claims (P3.1) (#18736)
  • 释放 placement 时会在同一事务中使待处理和已投递的 holder 请求过期,同时保留投递历史,让调用方区分请求是否可能已执行。 (#18720)
  • 将历史外部 binding 结算与执行准入分离,使已终止或从未分配的 binding 可释放,不再阻塞后续 placement。 (#18777)
  • 当自动化模型轮次仍在进行时,现在会拒绝关闭或删除 Session,避免在轮次中途创建关闭操作。 (#18834)

Web Shell 界面与设置

侧边栏可见性设置、按模型默认值、移动端输入框、用量面板和增强表格改善 Web Shell 体验。

  • 新增设置 ui.sidebar.showPrWatches、ui.sidebar.showGoals 和 ui.sidebar.showArtifacts,可隐藏 Web Shell 侧边栏对应入口,默认均开启。 (#18707)
  • Web Shell 设置 → 模型现支持按模型设置思考、effort 和上下文窗口默认值,可显示来源并重置为继承。 (#18529)
  • Web Shell 在 iOS 和 Android 上的对话框现在能完整显示在软键盘上方,同时改进了 iOS 添加到主屏幕的元数据。 (#18706)
  • 移动端 Web Shell 用户可将输入框折叠为浮动按钮,释放记录空间,同时保留未发送内容和回合控制。 (#18767)
  • Web Shell 的 Token Usage 面板更名为 Usage & Time,顶部展示 token、缓存命中率、耗时、速度和首 token 时间,下方为五个可折叠面板。 (#18757)
  • 增强 Markdown 表格的截断表头、单元格和行详情改用共享的可悬停提示框,用户可滚动查看并复制长内容。 (#18729)
  • Web Shell 将连续三轮及以上的常规后台唤醒轮次折叠为可切换的摘要行,并恢复后台 shell 任务的可读标识。 (#18664)
  • Web Shell 宿主现在可自定义回合产物卡片操作,可保留内置操作、组合下载与预览控件,或完全替换按钮。 (#18756)
  • Web Shell 会话菜单新增 Move to workspace…,可从受信任的本地工作区中选择,错误内联显示,并在目标工作区自动重新打开会话。 (#18835)
  • 新增守护进程操作,可将空闲会话移动到另一个已注册工作区,拒绝有进行中工作的会话,并迁移对话记录和工具。 (#18760)
  • 修复 Web Shell 思考级别选择器,使其与 /effort 一致,显示已确认级别并保留工作区默认值。 (#18715)
  • 会话悬停弹窗现在复用侧边栏的绿色和琥珀色脉冲状态圆点表示运行中和仅后台状态,与列表行视觉一致。 (#18745)
  • Shell 模式现在在回溯历史时保留草稿的 composer 标签,并在返回草稿时恢复它们,桌面和触屏编辑器行为与 prompt 模式一致。 (#18672)
  • Web Shell 现在在活动回合中立即执行内置 /pr 命令,并通过新的工作区级守护进程路由解析纯 PR 编号。 (#18702)
  • generated-ui: let a follow-up card revise an earlier one (#18669)

钩子与代理行为

PreCompact 与 Stop 钩子获得新控制路径,新增 exec 形式命令钩子,子代理迁移到 event-bus 内核。

  • PreCompact 钩子现可通过 decision block/deny 或退出码 2 阻止压缩,命令钩子的输出可用于引导摘要内容。 (#18656)
  • Stop 和 SubagentStop 钩子返回 additionalContext 时,现会以该文本继续本轮,并受与 block 相同的循环保护。 (#18657)
  • 命令钩子可设置 args 以 exec 形式无 shell 运行,每个元素作为单个参数传递,项目目录变量按纯文本展开。 (#18818)
  • 子代理和工作流代理现在默认在 event-bus 内核上运行,可通过 eventBusAgentLoop 设置或环境变量关闭。 (#18730)
  • Auto Mode 权限分类器在判断项目内常规操作意图时,现在会明确考虑 AGENTS.md 中的指令。 (#18704)
  • 原生扩展现在默认加载 AGENTS.md 作为上下文文件,与 QWEN.md 并列,仅使用 AGENTS.md 的扩展无需在 manifest 中声明。 (#18530)

模型与多模态支持

Gemini、Vertex 和 OpenAI Responses 获得原生多模态处理、方言支持和正确的上下文窗口。

  • Gemini 和 Vertex 请求现在使用内置 undici 且不设 header 和 body 超时,避免长推理和多模态轮次被提前中断,并支持原生多模态工具输出。 (#18522)
  • OpenAI Responses 现支持原生多模态输入和工具结果,并处理方言与推理回放;Chat Completions 音频输入会自动选择 DashScope Data URI 或原始 base64 编码。 (#18523)
  • 同提供商模型覆盖现在按目标模型声明或目录限制解析上下文窗口,未知窗口保持未设置,不再误用源窗口。 (#18304)

SDK、CLI 与 Mods

Java SDK HttpClient 注入、Mods 宿主 API、CLI 参数转换、设置迁移和阿拉伯语本地化扩展开发者能力。

  • Java SDK 的 Hosted Harness 客户端现在支持使用调用方提供的 HttpClient,包括能力协商在内的所有交互都经由它。 (#18688)
  • Mods 现可在所有宿主中调用 $.env.get、$.settings.read、$.telemetry.log 和 $.telemetry.mark,presentation 新增 isColorless。 (#18654)
  • Qwen CLI 现在会转换 -y 和 --approval-mode 等 0.28 根参数,不支持的用法会在启动时向 stderr 输出信息并以退出码 1 失败。 (#18811)
  • QwenSettingsService 现在会自动且幂等地将 0.28 设置迁移到 Harness 格式,包括项目设置,且不修改受跟踪文件。 (#18762)
  • 为 CLI 和 Web Shell 增加完整阿拉伯语支持,包括 Web Shell 及导出的 HTML 记录中的从右到左布局。 (#17437)
  • 为新的 Qwen Code CLI 无头模式新增端到端兼容性测试,覆盖提示输入、输出格式和沙箱执行。 (#18746)

PR 验证与 CI 可靠性

验证新增 microVM 配置、WebKit 覆盖、截图发布,以及更可靠的 runner 和缓存。

  • PR 验证现覆盖 Web Shell 浏览器及 iOS Safari/WebKit,包含明确边界、本地验证流程和 CI 中按路径启用的 WebKit。 (#18698)
  • 为 PR 验证新增 java、browser 和 full 三种 microVM rootfs 配置,支持自动选择并配置客户机工具链。 (#18685)
  • 将验证截图发布到 GitHub 资源仓库并使用固定提交的 URL,上传失败时仍保留文本报告。 (#18778)
  • 新增工作流在 PR 合并或关闭时取消正在运行的自动 verify-pr,避免合并后验证任务长时间运行。 (#18662)
  • CI 中旧版 transcript renderer 下载现在走代理、npm 镜像和已验证缓存,消除了间歇性的 180 秒 E2E 超时。 (#18678)
  • 增量 CI 构建清理现在仅限变更的工作区,重建某个包不再删除同级包的缓存输出。 (#18755)
  • 将 Hosted Java、Spring、MySQL 故障门禁和 failover E2E 任务迁移到持久化 ECS runner 池,并复用共享的 checkout 清理流程。 (#18726)
  • 将写权限 fork PR 门禁和受信任任务路由到自托管 ECS runner,同时保持不可信 fork 执行隔离和禁用开关有效。 (#18750)
  • PR 安全检查改用 cone 模式稀疏检出,使受信任脚本目录在配置绝对 Git 目录的运行器上正确生成。 (#18810)
  • 在自托管 runner 上通过 bwrap 将 /tmp 隔离到每个审查任务的 NVMe 临时目录内,并加强临时目录清理。 (#18686)
  • 自动 PR 审查现在始终使用分层 fail-closed 沙箱隔离,容器或固定沙箱镜像不可用时强制硬件隔离。 (#18355)

工作区与会话生命周期

外部 Workspace 配置、私有未绑定会话以及更安全的关闭与清理行为改善会话管理。

  • 通过 Public 或 WebShell 新建的未绑定会话现在仅创建者可见,现有共享会话和 Workspace 会话的访问权限保持不变。 (#17471)
  • 将外部前台 Shell 配置接入 Control Plane、External Workspace Provisioner 和 Runtime Broker,并加入调度、取消与协调保护。 (#17474)
  • 允许显式配置的外部 Workspace Worker 执行扩展 Skill、脚本、MCP 工具和 hook,公共子 Agent 则标记为降级并延后处理。 (#18114)
  • 仅文件的 external Workspace 现在无需配置 Worker 即可启用控制面扩展包管理;托管扩展仍需完整 Worker 配置。 (#18815)
  • Session DELETE 和 fenced storage retirement 现在可在现有绑定声明下恢复未完成的外部 Workspace 配置,失败时保留绑定以便重试。 (#18728)
  • 本地会话缓存为空的 Broker 副本现在通过共享存储解析外部 Workspace 文件会话,历史、工具预留和取消操作均可正常工作。 (#18751)
  • 超出预算的文本附件现在以简短文件引用发送,让 agent 读取原始内容;未超预算的附件保持内联,重启后仍可读取。 (#18848)
  • 修复 Runtime Broker 关闭流程,回收的 servlet 响应不再中断清理,使待处理请求完成并停止 HTTP 工作线程。 (#18860)
  • 托管包准备在消费者关闭或无法打开归档时释放,及时释放磁盘空间,同时保留仍被读取的归档。 (#18129)
  • 用户消息队列事务改为在 READ COMMITTED 隔离级别运行,避免同一租户相邻 Session 之间产生间隙锁。 (#18803)

其他变更

  • 受信任 PR 的视觉截图改为在常驻 runner 集群上运行,不再使用无可用 runner 的池,恢复 web-shell 视觉预览。 (#18673)
  • test(managed-agent): read the client turn, not the injected permission snapshot (#18670)
  • 用 stop-commands 包裹每个 triage agent 的输出,使 agent 输出中引用的 workflow 命令保持惰性而不被执行。 (#18700)
  • publish-verify 现在通过检查实际产物判断报告是否存在,并嵌入报告、标记评论为实质性内容以防被覆盖。 (#18699)
  • 贡献者指南新增合并门槛说明,并介绍 fork 贡献者如何在请求评审前本地通过该门槛。 (#18653)
  • surface registry gate 和 admission matrix 的测试启动现在启用 Harness pool,使 work poll 及其回复路由正确挂载。 (#18725)
  • 新增 Harness pull 阶段 P3 的中英文设计文档,涵盖基于 claim 的 Session 放置、虚拟线程调用方和定时扫描。 (#18722)
  • verify-pr: mark merge-ready verdicts with ✅ in the published comment (#18712)
  • Web Shell 转录现在仅在代码接近视口时开始语法高亮,避免提前对所有代码块进行分词。 (#18483)
  • 独立工具调用现在并发执行 PreToolUse 钩子;六次读取测试的中位耗时从 1,897.54 ms 降至 385.31 ms(减少 79.7%)。 (#18727)
  • worktree 隔离会话不再在会话列表中显示 fork 图标;worktree 标识仍可在会话详情、Managed 状态面板和 git chip 中查看。 (#18718)
  • cli: fail daemon start when the daemon dies during runtime startup (#18749)
  • 新增可选的延迟基线测试,在相同负载下测量 push 和 pull 模式,覆盖两个 Java 副本、两个 Harness 进程和 MySQL 8.4。 (#18797)
  • 将 verify-pr-assets 发布调用注册到技能审计器中,修复导致 main 变红的 Linux 单元测试和 Test 聚合失败。 (#18792)
  • ci: apply the review fixes #18766 dropped at merge (#18780)
  • 新增中英文设计文档,规划零 Push 的 Harness pull 启动与仅 pull 模式;尚未实现。 (#18819)
  • 将僵尸进程感知的回收探测提取为共享实现,并用于超时升级测试框架,避免误判进程存活。 (#18785)
  • 新增可选的真实进程实验,记录 Session 的 pull holder 停滞或排空后恢复停止的位置。 (#18822)
  • Hosted Harness 状态读取现在最多等待 2 秒以完成已结束回合的清理,会话可接受下一条提示时即报告空闲。 (#18816)
  • 可选的 P5.0 拉取持有者恢复实验现在运行于持久化本地 Runtime,避免协调超时掩盖被测的恢复行为。 (#18828)
  • 扩展现在在配置启动时仅加载一次,供 hooks、skills、子代理和工具发现共用,消除了重复扫描和启动延迟。 (#18806)
  • 更新生成式 UI 验收测试框架,使提交草稿字段触发的保存被计为首次 Add 的确认。 (#18814)
  • 会话菜单中的 autofix 现在在该会话中就地运行,作为编辑前询问的监视任务,并在四种语言中更新了标签。 (#18711)
  • 修复五个 macOS Apple Silicon vfkit 微虚拟机问题,包括 Homebrew 二进制发现和非 root 客户机回退,并更新运行手册和设计文档。 (#18697)
  • 依赖网关现在保留单次 DNS 查询返回的全部已验证 IP,双栈镜像在 IPv6 不可达时自动回退到 IPv4;同时支持浅克隆仓库和 guest /dev/fd。 (#18824)
  • 测试现已覆盖 content-only 模式的拒绝场景,文档明确未知执行模式仅在启用托管扩展的外部 Workspace 中被拒绝。 (#18843)
  • Runtime Broker 单元测试改为仅在 Linux Java 21 SDK 任务中运行,不再在 MySQL 任务中重复执行,减少冗余测试时间。 (#18861)
Complete Change List (96 pull requests)

Features

  • managed-agent: Expose Session Skills in the public API (#18674) by @doudouOUC
  • managed-agent: Store holder requests for pull-held Sessions (P1.2) (#18684) by @doudouOUC
  • sdk-java: Let the Hosted Harness client use a supplied HttpClient (#18688) by @doudouOUC
  • extensions: load AGENTS.md as default extension context (#18530) by @callmeYe
  • managed-agent: Connect the P1.2 holder channel end to end (#18690) by @doudouOUC
  • managed-agent: Make pull-held Turns stream-free (P1.2 step 3a) (#18705) by @doudouOUC
  • managed-agent: Let pollers outside the pool claim pull-held Sessions (P1.2 step 3b) (#18708) by @doudouOUC
  • web-shell: let settings hide the PR watches, Goals and Artifacts sidebar entries (#18707) by @wenshao
  • mods: let Mods read the environment and settings, and log telemetry (#18654) by @qqqys
  • verify-pr: add Web Shell iOS browser boundaries, local recipe, and path-gated WebKit (#18698) by @wenshao
  • web-shell: add model defaults to settings (#18529) by @callmeYe
  • generated-ui: let a follow-up card revise an earlier one (#18669) by @qqqys
  • core: fix Gemini/Vertex long-stream transport and support native multimodal tool outputs (#18522) by @HaveAnApplePie
  • core,cli: support OpenAI Responses multimodal/dialects and auto-select Chat Completions audio encoding (#18523) by @HaveAnApplePie
  • verify-pr: mark merge-ready verdicts with ✅ in the published comment (#18712) by @wenshao
  • managed-agent: make new unbound Sessions owner-only 16023 A/2 (#17471) by @yiliang114
  • cli: Cap the Sessions a Hosted Harness claims (P3.1) (#18736) by @doudouOUC
  • managed-agent: wire external foreground Shell into Broker and Control Plane 17357 B/2 (#17474) by @yiliang114
  • test(qwen): add headless compatibility e2e tests (#18746) by @sorrycc
  • managed-agent: Place new Sessions by Harness claim (P3.2) (#18737) by @doudouOUC
  • managed-agent: execute extensions on external Workspace workers (#18114) by @yiliang114
  • serve: move an idle session to another workspace (#18760) by @qqqys
  • verify-pr: add java, browser, and full microVM rootfs profiles with auto-selection (#18685) by @wenshao
  • managed-agent: read the latest binding for a resolved placement (#18813) by @yiliang114
  • managed-agent: Wake pull-holder waits from a 50 ms tick (P3.3) (#18808) by @doudouOUC
  • web-shell: allow customizing turn artifact card actions (#18756) by @callmeYe
  • managed-agent: Serve a Harness pool without members through polls (P5.1) (#18825) by @doudouOUC
  • i18n: add Arabic support for CLI and Web Shell with RTL layout (#17437) by @callmeYe
  • qwen: migrate 0.28 settings to Harness format in QwenSettingsService (#18762) by @luoxuanzao
  • core: run subagents on the event-bus kernel by default (#18730) by @qqqys
  • web-shell: execute /pr directly without queueing during active turns (#18702) by @wenshao
  • web-shell: allow collapsing the mobile composer into a floating trigger (#18767) by @wenshao
  • web-shell: replace native table title attributes with shared hoverable overflow tooltips (#18729) by @callmeYe
  • web-shell: fold consecutive background rounds and improve shell task identity (#18664) by @wenshao
  • managed-agent: Claim Sessions for lifecycle operations in pull-only mode (P5.2) (#18845) by @doudouOUC
  • qwen: Translate 0.28 root flags and reject 0.28 tool names (#18811) by @sorrycc
  • managed-agent: Report Harness claim demand as gauges (P5.5a) (#18837) by @doudouOUC
  • managed-agent: Add an ACP v1 conversation pilot (#18849) by @doudouOUC
  • web-shell: show usage figures above collapsible boards (#18757) by @qqqys
  • web-shell: support session-required Skills menus (#18116) by @yiliang114
  • web-shell: move a session to another workspace from the session menu (#18835) by @qqqys
  • hooks: run command hooks with args in exec form (#18818) by @qqqys

Bug Fixes

  • ci: route legacy transcript renderer fetches through proxy, npm registry mirror, and verified cache (#18678) by @wenshao
  • ci(verify): cancel active automatic verify-pr runs when a PR closes (#18662) by @wenshao
  • permissions: include AGENTS.md in Auto Mode project intent (#18704) by @callmeYe
  • ci: isolate /tmp inside review scratch via bwrap on self-hosted runners (#18686) by @wenshao
  • hooks: let PreCompact hooks block compaction and steer the summary (#18656) by @qqqys
  • hooks: continue the turn when a Stop hook returns additionalContext (#18657) by @qqqys
  • web-shell: keep draft tags across a shell-mode history round trip (#18672) by @yiliang114
  • managed-agent: Fence holder requests on release (#18720) by @doudouOUC
  • web-shell: keyboard-aware mobile dialogs and iOS Add-to-Home-Screen metadata (#18706) by @wenshao
  • managed-agent: Resume original external Workspace provision during drain (#18728) by @doudouOUC
  • ci: limit incremental cleanup to the changed workspace directory (#18755) by @yiliang114
  • managed-agent: Resolve external file sessions across Broker replicas (#18751) by @doudouOUC
  • cli: fail daemon start when the daemon dies during runtime startup (#18749) by @yiliang114
  • ci: run Hosted Java E2E lanes on ECS (#18726) by @yiliang114
  • ci: publish verify screenshots to the bot assets repository (#18778) by @yiliang114
  • managed-agent: Unblock holder-channel negotiation and queue creates on their Session (#18783) by @doudouOUC
  • managed-agent: Run user-message queue transactions at READ COMMITTED (#18803) by @doudouOUC
  • managed-packages: release owned preparations after consumption (#18129) by @yiliang114
  • ci: Use cone checkout for PR safety precheck (#18810) by @yiliang114
  • web-shell: align the thinking picker with /effort (#18715) by @callmeYe
  • managed-agent: settle historical external bindings (#18777) by @yiliang114
  • managed-agent: allow package management on files-only external workspaces (#18815) by @yiliang114
  • core: resolve context windows for same-provider model overrides (#18304) by @callmeYe
  • serve: Let a Hosted status read wait out a finished Turn's cleanup (#18816) by @doudouOUC
  • web-shell: match session hover popover status icons to the list row dots (#18745) by @wenshao
  • web-shell: run the session menu's autofix in that session, in place (#18711) by @wenshao
  • verify-pr: unblock macOS vfkit Phase 3 rounds and non-root guest fallback (#18697) by @wenshao
  • verify-pr: fix dual-stack dep-gateway fallback, shallow bundles, and guest /dev/fd (#18824) by @wenshao
  • managed-agent: refuse close during an active automation model turn (#18834) by @yiliang114
  • web-shell: defer over-budget text attachments to file reads (#18848) by @callmeYe
  • managed-agent: finish broker shutdown after a response is recycled (#18860) by @yiliang114

Performance

  • web-shell: defer code highlighting until near the transcript viewport (#18483) by @callmeYe
  • hooks: run PreToolUse concurrently for parallel tools (#18727) by @callmeYe
  • core: load extensions once during configuration startup (#18806) by @callmeYe

Documentation

  • review: tiered sandbox cutover, CLI capability gate, and external content-allowlist downgrade (#18355) by @wenshao
  • tell fork contributors to clear the merge gate locally (#18653) by @wenshao
  • managed-agent: Design Harness pull for Turn dispatch and live signals (P3) (#18722) by @doudouOUC
  • managed-agent: Design the zero-Push launch for Harness pull (P5) (#18819) by @doudouOUC

Internal Changes

  • ci(visuals): route trusted PR captures to the persistent fleet (#18673) by @wenshao
  • test(managed-agent): read the client turn, not the injected permission snapshot (#18670) by @wenshao
  • ci(triage): bracket the agent transcript so a quoted workflow command stays inert (#18700) by @wenshao
  • ci(verify): stop declaring "no report" without checking the artifact (#18699) by @wenshao
  • test(managed-agent): Mount the Harness work routes in the surface gates (#18725) by @doudouOUC
  • refactor(web-shell): drop the redundant worktree marker from session rows (#18718) by @wenshao
  • ci(runners): route write-permission fork PRs and trusted lanes to ECS (#18750) by @wenshao
  • test(managed-agent): Measure push and pull latency on the same load (P3.0) (#18797) by @doudouOUC
  • test(ci): pin the verify-pr-assets publish call that turned main red (#18778 regression) (#18792) by @yiliang114
  • ci: apply the review fixes #18766 dropped at merge (#18780) by @yiliang114
  • test(ci): share the zombie-aware reap probe and pin it (#18750 follow-up) (#18785) by @yiliang114
  • test(managed-agent): Record where recovery stops after a pull holder stalls or drains (P5.0) (#18822) by @doudouOUC
  • test(managed-agent): Run the P5.0 experiment on durable local Runtimes (#18828) by @doudouOUC
  • test(generated-ui): credit the first Add saved when the draft commits (#18814) by @qqqys
  • test(managed-agent): cover content-only rejection and clarify mode scope (#18843) by @yiliang114
  • ci(managed-agent): Deduplicate Runtime Broker tests in the MySQL job (#18861) by @doudouOUC

New Contributors

Full Changelog: v0.29.1...v0.29.2

Don't miss a new qwen-code release

NewReleases is sending notifications on new releases.