Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
import { posix } from "node:path";
/** Bookkeeping only; the remote Host canonicalizes and authorizes actual paths. */
export function remoteMutationIdentity(workspace: { hostKey: string; path: string }, path: string): string {
return JSON.stringify([workspace.hostKey, posix.resolve(workspace.path, path)]);
}