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(composer): register the file line reference ADR
Linuxdazhaoca771730cea1
diff --git a/docs/adr/README.md b/docs/adr/README.mdindex a0e800290..4b048b528 100644--- a/docs/adr/README.md+++ b/docs/adr/README.md@@ -21,6 +21,7 @@ Each ADR includes:| ID | Title | Status ||---|---|---|+| file-manager-line-references | [File Manager line references](file-manager-line-references.md) | Implemented candidate || composer-pasted-directory-references | [Composer pasted directory references](composer-pasted-directory-references.md) | Accepted || plugin-projects-list | [Read-only durable project enumeration for plugins](plugin-projects-list.md) | Accepted || append-only-review-state | [Append-only review state](append-only-review-state.md) | Implemented candidate |diff --git a/docs/adr/file-manager-line-references.md b/docs/adr/file-manager-line-references.mdindex 33b24ab72..b261f31cf 100644--- a/docs/adr/file-manager-line-references.md+++ b/docs/adr/file-manager-line-references.md@@ -1,12 +1,16 @@-# File Manager line references+# ADR: File Manager line references-- Status: Accepted+- Status: Implemented candidate- Date: 2026-11-06+## Context+The File Manager knows the source file and CodeMirror selection range.The Composer owns draft mutation and the Host owns file access. A text-onlyclipboard cannot carry the source identity independently from the selection.+## Decision+The source view places plain text and path/range metadata in the clipboard.The explicit context-menu action uses a panel invocation gated to the visible,enabled File Manager view, its existing view and read grants, the active@@ -21,5 +25,7 @@ range converted to its zero-based offset and line count. The Host continuesto authorize the tool call and enforce its output limits. The bounded resultor read failure is included as file context in the provider prompt.+## Consequences+References are initially available for local project source views with oneselection. Rendered and remote previews retain their clipboard behavior.