mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
* feat(pairing): show which devices still sign in with their original pairing code Settings lists paired phones and access links that signed in with a pairing code but never exchanged it (apps from before single-use pairing) with "Uses an older pairing method. Update ...". Display only; rows from older builds are never flagged. * fix(pairing): no update hint for links used by plain-http browsers or still pairing A link that served a session-only browser key is marked, so the hint stays off after a host restart drops those keys. Codes still inside the pairing window are not flagged either: an updated client exchanges within moments.
11 lines
357 B
TypeScript
11 lines
357 B
TypeScript
export type RuntimeAccessGrant = {
|
|
deviceId: string
|
|
name: string
|
|
createdAt: number
|
|
lastSeenAt: number | null
|
|
/** The link's last sign-in used the older E2EE framing; absent from older hosts. */
|
|
usesLegacyEncryption?: boolean
|
|
// Signed in with the link but never swapped it for its own credential (an older Orca).
|
|
olderPairingMethod?: true
|
|
}
|