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 yue6f8ec997b122
diff --cc docs/spec/04-ux/08-component-spec.mdindex b8c160bef,5edc878cf..1c42236c6--- 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+A full transcript read may fill its session cache only when that cache has not+changed during the request. New streaming or edit snapshots retain ownership;+the caller still receives the requested history for its own action validation.++ 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 1403beee9,9c57d7505..e462a5a2b--- 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-TRANSCRIPT-full-read-cache-race++Hold a full-history read, publish a newer streaming snapshot, then resolve the+old read. The caller receives history while the session cache keeps the newer+snapshot. Coverage: `full-transcript-refresh-race.test.mjs` plus existing+session-runtime update regressions. No provider execution is required.++ ### 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 fb20a1d16,11dc7da16..01a4366a4--- 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. 组件规格+全量会话读取仅在请求期间缓存未改变时写入该会话缓存。新的流式消息或编辑+快照保留所有权;调用方仍得到读取的历史,用于独立动作校验。++ 会话 Stop 请求失败时保留最后已知的运行状态,传输错误不能当作进程停止确认。+ 成功 Stop 和权威结束事件继续清除运行标记。+运行中子代理状态重建跨过系统通知及 steering 消息,普通用户提示仍作为回合边界。系统通知之前仍在运行的 Task 不会因导航而显示已停止(Refs #1990)。diff --cc docs/zh-CN/spec/06-delivery/04-e2e-test-plan.mdindex 1edd76182,9a88c0058..1a598bb2e--- 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,11 -1,11 +1,17 @@@# 04. E2E 测试 Plan+### E2E-TRANSCRIPT-full-read-cache-race++保持全量历史读取请求,发布新的流式快照,再返回旧读取结果。调用方得到历史,+会话缓存保留新快照。覆盖 `full-transcript-refresh-race.test.mjs` 和现有会话+更新回归,不执行模型请求。++ ### E2E-SESSION-rejected-stop-state++ 在 API 边界拒绝远端 Stop,生产会话 slice 保留运行状态并传播错误。再次成功+ 停止后,当前标记和目标会话运行条目清除。覆盖+ `failed-session-stop-state.test.mjs`,不执行提供商请求。+### E2E-SUBAGENT-system-notice-reconstruction重建运行中的 Task 后接系统通知的会话,生产条目构建、运行状态选择及结果