Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

Merge latest main into fork navigation fix

vastsa9868c2da35dd
diff --cc docs/spec/04-ux/08-component-spec.md
index 42aeda842,184989401..23dd01f18
--- a/docs/spec/04-ux/08-component-spec.md
+++ b/docs/spec/04-ux/08-component-spec.md
@@@ -4764,6 -4764,6 +4764,10 @@@ Closing the connected Browser tab clear
While a checkpoint estimate supplies context occupancy, use its recorded provider/model capacity, or the current exact session binding for legacy checkpoints. Keep historical request usage unchanged. Unknown capacity is marked approximate. Verify 20,619 / 1,000,000 = 2%, unknown routes, legacy records and usage after a newer request with `compaction-context-usage.test.mjs`.
+### Fork activation selection ownership (#2086)
+
+Activating a completed session fork clears the previous selectingSessionId together with its visible pane switch. A superseded fork only lists its durable child and does not clear a newer pending selection. This prevents stale switching UI from hiding the activated branch.
++
+ ### File Manager mutation validation (#2184)
+
+ The bundled File Manager validates each create/rename name before filesystem writes. Valid names return canonical entry metadata after create, rename or move. Empty names, dot segments, separators, control characters, Windows-reserved names and trailing dots fail with INVALID_NAME. Existing destinations fail with EXISTS; containment and protected-path gates remain enforced.
diff --cc docs/spec/06-delivery/04-e2e-test-plan.md
index 998ff0849,6b73f1bfb..9f226dd2a
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@@ -20409,6 -20409,10 +20409,14 @@@ While a checkpoint estimate supplies co
- Acceptance: wait, report re-read and running-delegate cancellation complete
through the real tool loop. Milestone: maintenance. Status: automated.
+#### E2E-ISSUE-2086-fork-selection
+
+While the parent is revalidating, invoke sidebar forkSession and complete the Host response. The child becomes active/retained and selectingSessionId clears. If a newer selection supersedes a reply fork, its selection remains. Cover existing running-parent transcript and fork-error paths through session-fork-running.test.mjs.
++
+ #### E2E-ISSUE-1707
+
+ Use synthetic Darwin x64/arm64 uname responses through production SSH bootstrap, serialize its code/details as IPC does, and resolve the renderer error. The platform explanation appears, no checksum or upload occurs. Linux and other bootstrap failures keep existing messages. Coverage: remote-host-ssh-bootstrap.test.mjs and remote-host-errors.test.mjs.
+
+ #### E2E-ISSUE-2184
+
+ Load the actual bundled plugin in an isolated workspace. Create a file and Unicode directory, rename and move the file; verify disk entries and response metadata. Invalid create/rename names fail before writing, and duplicate destinations are refused. Coverage: apps/desktop/test/file-manager-mutations.test.mjs. Existing Electron directory-location path also passes.
diff --cc docs/zh-CN/spec/04-ux/08-component-spec.md
index 6aa185147,07b6adced..6f432c583
--- a/docs/zh-CN/spec/04-ux/08-component-spec.md
+++ b/docs/zh-CN/spec/04-ux/08-component-spec.md
@@@ -3112,6 -3112,6 +3112,10 @@@ default nor provider configuration. OAu
压缩估算作为占用时使用检查点模型容量,旧检查点使用当前会话完整绑定;历史请求用量不变,未知容量标记估算。验证 20,619 / 1,000,000 为 2%、未知路由、旧记录及新请求恢复。
+### 分支激活选择状态(#2086)
+
+完成分支并激活时,同步清除旧 selectingSessionId;已被新导航替代的分支只加入列表,不清除后来选择。防止分支已创建但界面仍显示旧切换状态。
++
+ ### 文件管理器名称校验(#2184)
+
+ 新建和重命名前校验名称,创建、重命名和移动后返回正确条目信息。空名称、点路径、分隔符、控制字符、Windows 保留名及尾点返回 INVALID_NAME;已有目标返回 EXISTS。路径边界和受保护路径检查保持生效。
diff --cc docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
index ff545af04,d5ea19d98..4b52c9d8c
--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
@@@ -10428,6 -10428,10 +10428,14 @@@ MCP All 在创建、导入、安装时�
压缩估算作为占用时使用检查点模型容量,旧检查点使用当前会话完整绑定;历史请求用量不变,未知容量标记估算。验证 20,619 / 1,000,000 为 2%、未知路由、旧记录及新请求恢复。
+#### E2E-ISSUE-2086-fork-selection
+
+父会话重新读取时创建侧边栏分支,完成后子会话立即激活且旧选择清除;若被新导航替代,只列出分支并保留新选择。覆盖原运行中父会话与失败路径。
++
+ #### E2E-ISSUE-1707
+
+ 生产 SSH 引导使用合成 Darwin 目标,按 IPC 形态传递错误并解析界面提示:显示 Linux 安装包范围,不下载或上传。Linux 及其他安装失败提示保持原行为。
+
+ #### E2E-ISSUE-2184
+
+ 隔离项目加载真实内置插件,创建文件和中文目录,重命名并移动文件,核查磁盘与返回元数据;非法名称及重复目标拒绝。覆盖 file-manager-mutations.test.mjs 和原有 Electron 目录定位路径。