Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
fix: 同步主线并保留双方修复说明
geng yuee6e43d484709
diff --cc docs/spec/04-ux/08-component-spec.mdindex 3df66e1e7,5edc878cf..559cd5e8b--- a/docs/spec/04-ux/08-component-spec.md+++ b/docs/spec/04-ux/08-component-spec.md@@@ -1,9 -1,9 +1,13 @@@# 08. Component Spec+Workspace file index Git queries settle at their deadline or output limit,+even when inherited child pipes do not close. Composer file search and the+Files index then use the existing bounded filesystem fallback (Refs #1731).++ A rejected session Stop request retains the last known running state. A+ transport failure is not confirmation of process settlement; successful Stop+ and authoritative terminal events continue to clear the running indicator.+Live delegation reconstruction crosses system notices as well as steeringmessages. An ordinary user prompt remains the run boundary. A running Taskbehind a system notice must not become aborted on navigation (Refs #1990).diff --cc docs/spec/06-delivery/04-e2e-test-plan.mdindex fa9f62766,9c57d7505..cb45f6929--- a/docs/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/spec/06-delivery/04-e2e-test-plan.md@@@ -1,12 -1,12 +1,19 @@@# 04. E2E Test Plan+### E2E-FILE-INDEX-git-deadline++Drive `getWorkspaceFileIndex` and `searchWorkspaceFiles` against real fixture+files. Hold Git's close event beyond its deadline: both calls return the bounded+filesystem listing. Coverage: `fs-index-git-deadline.test.mjs`. Existing index+tests cover Git ignore semantics, Unicode chunk boundaries and deep search.++ ### E2E-SESSION-rejected-stop-state++ Reject a remote Stop at the API boundary: the production session slice keeps+ its running state and rethrows the error. Retry successfully: both the active+ indicator and owning session running entry clear. Coverage:+ `failed-session-stop-state.test.mjs`, without provider execution.+### E2E-SUBAGENT-system-notice-reconstructionReconstruct a transcript with a running Task followed by a system notice.diff --cc docs/zh-CN/spec/04-ux/08-component-spec.mdindex d8741bb7d,11dc7da16..52e8ad698--- a/docs/zh-CN/spec/04-ux/08-component-spec.md+++ b/docs/zh-CN/spec/04-ux/08-component-spec.md@@@ -1,8 -1,8 +1,11 @@@# 08. 组件规格+工作区文件索引的 Git 查询在截止时间或输出上限直接结束等待,即使继承的+子进程管道未关闭。输入框文件搜索及 Files 索引使用现有有界目录回退(Refs #1731)。++ 会话 Stop 请求失败时保留最后已知的运行状态,传输错误不能当作进程停止确认。+ 成功 Stop 和权威结束事件继续清除运行标记。+运行中子代理状态重建跨过系统通知及 steering 消息,普通用户提示仍作为回合边界。系统通知之前仍在运行的 Task 不会因导航而显示已停止(Refs #1990)。diff --cc docs/zh-CN/spec/06-delivery/04-e2e-test-plan.mdindex 7c1cfd013,9a88c0058..a60391a8b--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md@@@ -1,12 -1,11 +1,18 @@@# 04. E2E 测试 Plan+### E2E-FILE-INDEX-git-deadline++对真实测试文件调用 `getWorkspaceFileIndex` 和 `searchWorkspaceFiles`,+保持 Git 的 close 事件未到达,推进截止时间后两者均返回有界目录列表。+覆盖:`fs-index-git-deadline.test.mjs`。原有索引测试覆盖 Git 忽略规则、+Unicode 字节分块及深层搜索。++ ### E2E-SESSION-rejected-stop-state++ 在 API 边界拒绝远端 Stop,生产会话 slice 保留运行状态并传播错误。再次成功+ 停止后,当前标记和目标会话运行条目清除。覆盖+ `failed-session-stop-state.test.mjs`,不执行提供商请求。+### E2E-SUBAGENT-system-notice-reconstruction重建运行中的 Task 后接系统通知的会话,生产条目构建、运行状态选择及结果