Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
docs(adr): renumber Fast mode to ADR 0332 after rebase
zszz3228972717081
diff --git a/docs/spec/02-architecture/06-pi-runtime-dependency-boundary.md b/docs/spec/02-architecture/06-pi-runtime-dependency-boundary.mdindex 42b3ea1b6..c53fb0243 100644--- a/docs/spec/02-architecture/06-pi-runtime-dependency-boundary.md+++ b/docs/spec/02-architecture/06-pi-runtime-dependency-boundary.md@@ -20,7 +20,7 @@ in `docs/project/pi-110-adoption.md`.- `@earendil-works/pi-ai` supplies provider transports, auth, message types,request retries, and token estimation. Hosted-search request and estimationbehavior, and forwarding `serviceTier` through `streamSimple` for Fast mode- (ADR 0331), remain covered by PI-Desktop's pi-ai patch and contract tests.+ (ADR 0332), remain covered by PI-Desktop's pi-ai patch and contract tests.- Rust `host-core` remains the sole owner of SQLite and authoritative durablesession state. The Node sidecar asks it to persist checkpoints and tooloutcomes through the existing RPC contract.diff --git a/docs/zh-CN/spec/02-architecture/06-pi-runtime-dependency-boundary.md b/docs/zh-CN/spec/02-architecture/06-pi-runtime-dependency-boundary.mdindex c59f1582a..f79163d03 100644--- a/docs/zh-CN/spec/02-architecture/06-pi-runtime-dependency-boundary.md+++ b/docs/zh-CN/spec/02-architecture/06-pi-runtime-dependency-boundary.md@@ -13,7 +13,7 @@ JavaScript 包。上游包演进时,必须保持这一职责划分清晰。类型。Agent Runtime 自行维护桌面专用的上下文投影、压缩和 prompt 模板展开。- `@earendil-works/pi-ai` 提供提供商传输、认证、消息类型、请求重试和 token 估算。Hosted search 请求与估算行为,以及为 Fast 模式让 `streamSimple` 转发 `serviceTier`- (ADR 0331),继续由 PI-Desktop 的 pi-ai 补丁和契约测试覆盖。+ (ADR 0332),继续由 PI-Desktop 的 pi-ai 补丁和契约测试覆盖。- Rust `host-core` 仍然是 SQLite 和权威持久会话状态的唯一所有者。Node sidecar通过现有 RPC 契约请求持久化检查点和工具结果。- `@earendil-works/pi-coding-agent` 是过渡期依赖。生产代码仅在原生 Pi 会话续接及