Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
ADR 0191: Label Both macOS Release Architectures
- Status: Accepted (amended by D450 / ADR 0289: architecture-labelled ZIPs stay the in-app updater payloads and official tag artifacts are signed and notarized)
- Date: 2026-09-09
- Related: D126, D285, D353, D354, D450, ADR 0145, ADR 0289
Context
D353 marked native macOS x64 artifacts Intel but left Apple Silicon artifacts with
electron-builder's generic version-only name, so a file such as
PI-Desktop-0.14.4.dmg never says whether it contains arm64 or x64 code when both
downloads sit in the same release.
Decision
- Both native macOS release lanes pass target-specific artifact patterns to electron-builder.
- The arm64 lane publishes
PI-Desktop-<version>-arm64.dmgand-arm64-mac.zip, and the Intel x64 lane publishes the matching-x64.dmgand-x64-mac.zipnames. - The convention covers unsigned and signed workflow paths, and the generated per-architecture updater feeds retain these asset URLs and checksums before the publish job merges them.
Consequences
- Users can identify the required installer from its filename alone, and DMG and
ZIP names match the release matrix's
arm64andx64values. - Existing generic arm64 and
-Intelx64 names are not reused by future releases.
Alternatives
- Keep the arm64 name generic: leaves one of the two architectures ambiguous.
- Use
IntelandApple-Silicon: the release matrix and Electron target use the standard architecture identifiers.