Native apps cannot follow a self-hosted hub's domain (entitlements and
asset links are fixed at build time), so they use one shared RP ID,
hapi.run, and every hub accepts it only from exact app origins.
- hub: `{"client":"native"}` on the passkey option routes selects the
native RP; origins are https://hapi.run (iOS/macOS) and the official
android:apk-key-hash values, extendable via HAPI_PASSKEY_NATIVE_ORIGINS
(HAPI_PASSKEY_NATIVE_RP_ID for forks). Native login options restrict
allowCredentials to this hub's passkeys. Accept a null
authenticatorAttachment.
- website: publish apple-app-site-association (webcredentials for
XJB862F92W.run.hapi.app) and assetlinks.json (get_login_creds for
run.hapi.companion; signing fingerprint still a TODO placeholder).
- iOS: webcredentials:hapi.run, AuthenticationServices ceremonies,
passkey-only sign-in on the pairing screen, Settings → Passkeys, and a
passkey-session credential kind used by silent re-auth.
- Android: Credential Manager 1.6.0, the same flows and credential kind,
and README notes on computing the apk-key-hash origin.
- docs: native passkey contract and user guide.
Build the app and notification extension for Mac Catalyst with the Mac
idiom, so Macs get a 1:1 native window instead of the scaled iPad app.
The Mac build keeps the run.hapi.app bundle ID and adds Mac entitlements
(sandbox, network, microphone, user-selected files, Mac APNs).
- Always use the split on Mac with a sidebar list style, denser rows,
14pt reading text, a hidden duplicate titlebar title, a minimum window
size and page-sized sheets; open web links in the default browser and
hide the unavailable live QR scanner.
- Add menu bar / hardware-keyboard commands: New Session, Settings,
Toggle Sidebar, a Session menu (settings, files, rename, export, stop,
previous/next session) and a guide link.
- Composer: Return sends on Mac (Shift/Option-Return for a newline, IME
untouched, first suggestion picked); dropped files and pasted images or
copied files become attachments on all platforms.
- CI builds Mac Catalyst and runs the navigation, split and transcript
geometry tests there; README documents the Mac build.