stack/packages/shared
Bilal Godil 9da1aac3ad fix(rde): keep session identity stable across access-token refreshes
Access-token-only client sessions (no refresh token) were keyed by the
access-token string. The remote development environment dashboard re-mints
its short-lived access token every ~30-60s, so every refresh produced a
brand-new InternalSession object. Session-scoped caches (useUser/useConfig/
useTeams/...) are keyed by the session object, so each refresh cold-
invalidated them, suspended the tree, and blanked the dashboard.

Key access-only sessions by the token's stable refresh_token_id instead of
the raw token string, and add InternalSession.updateAccessToken so a freshly
minted token is pushed into the existing session in place rather than
constructing a new one.
2026-06-08 11:33:51 -07:00
..
src fix(rde): keep session identity stable across access-token refreshes 2026-06-08 11:33:51 -07:00
.eslintrc.cjs feat(hexclave): PR 5 — internal symbol/path/package renames + brand strings (#1547) 2026-06-03 18:57:09 -07:00
LICENSE feat(hexclave): PR 5 — internal symbol/path/package renames + brand strings (#1547) 2026-06-03 18:57:09 -07:00
package.json chore: update package versions 2026-06-08 18:18:54 +00:00
tsconfig.json feat(hexclave): PR 5 — internal symbol/path/package renames + brand strings (#1547) 2026-06-03 18:57:09 -07:00
tsdown.config.ts feat(hexclave): PR 5 — internal symbol/path/package renames + brand strings (#1547) 2026-06-03 18:57:09 -07:00
vitest.config.ts feat(hexclave): PR 5 — internal symbol/path/package renames + brand strings (#1547) 2026-06-03 18:57:09 -07:00