You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
On macOS the GPUI app takes over the Mac app's data, so nothing needs relinking #263
Owner decision (2026-11-29): the GPUI app replaces the Swift Mac app on the owner's Mac and takes over its linked device, history and settings.
The Mac app's data
Folder: ~/Library/Application Support/Hush (AppStore.dataDirectory), not sandboxed; same core, same database format.
Key: login keychain, service dev.pitis.hush, account db-key (Keychain.swift), made by the team-signed Mac app (bundle id dev.pitis.hush, team 95KQ82C586). An unbundled or ad-hoc build reading it gets macOS's "allow access" prompt once.
Things kept outside the data folder, in the Mac app's UserDefaults (dev.pitis.hush): drafts (plain text), appearance, notification content, menu bar choice, and any other preference (check AppStore.swift, Appearance, Notifications.swift). The GPUI app keeps drafts in the core's database and its choices as small files in the data folder.
Wanted
Hush is one app now: the GPUI app's data folder is Hush and its key dev.pitis.hush/db-key on every system (today "Hush Desktop" and dev.pitis.hush.desktop). On macOS that is the Mac app's own folder and key, so the GPUI app opens it as is. A "Hush Desktop" folder and key from earlier GPUI runs move to the new names once when no Hush folder exists; otherwise they're left alone (say so in the log).
Once, on first open of the Mac app's data: import its drafts and the preferences the GPUI app has (appearance, notification content, menu bar) from its UserDefaults, then leave UserDefaults untouched.
The GPUI app's identity becomes Hush's: APP_IDdev.pitis.HushDesktop → dev.pitis.hush (Windows AUMID, Linux app id, tray id, LaunchAgent/autostart names), and the device name the phone shows. Update CLAUDE.md's "own data folder and keychain entry" rule.
Done when
On a Mac with the Swift app's data, the GPUI app opens it linked, with its chats, drafts and those preferences; tests cover the folder/key choice, the one-time move and the import (with fake folders, a fake keychain and a fake defaults domain, never the real ones).
Activity