Skip to content

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

1.3 KB
Raw Blame

ADR 0105: Ship Files as a bundled plugin; keep Review in the host

Context

The work panel exposes a public extension point for contributed views, so the bundled Files browser had to exercise that public path instead of staying a host-only view. Review stays transcript-owned by ADR 0043 and therefore has a different boundary.

Decision

pi.files becomes a bundled first-party plugin contributing its view through contributes.views, enabled by default, uninstallable, disableable by the user, and reading the filesystem only through public permission-gated APIs. Only the Files tool migrates; transcript-owned file:<path> resources stay, and Review opens only on explicit user action (D451). Browser chrome ships as bundled plugin pi.browser over the same public API.

Consequences

Superseded by ADR 0241, which replaced the bundled plugin with the vendored, updatable file view plugin pi.file-manager; the reasoning above is what the replacement inherits. The terminal clause was already superseded by ADR 0108.