alpha
Login
or
Join now
chris.pardy.family
/
time-bandit
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
time-bandit
/
src
/
sync
4 files
at
main
Chris Pardy
Surface auth failures: any 401 prompts a re-login
12d ago
97f5fb11
records.ts
Surface auth failures: any 401 prompts a re-login Every authenticated XRPC call funnels through parse() in sync/xrpc.ts, so a 401 there now flips auth into a new session-expired state instead of failing silently into local-only mode. The login screen explains what happened and prefills the handle. markSessionExpired() also purges the SDK's persisted session so a reload doesn't restore dead tokens and loop: client.logout() DELETEs the server session before clearing local storage and itself 401s on dead tokens (the DPoP delete-all logout bug), so fall back to removing the SDK's localStorage keys directly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 week ago
space.ts
Rename lexicon NSIDs com.timelog.* -> xyz.pardisio.time.* (DB v4) Swap the placeholder com.timelog authority for xyz.pardisio.time across the record/type NSIDs (entry, filter, space). The ids.ts constants drive record $type and predicate union $type; the lexicon files move to lexicons/xyz/pardisio/time/ with updated ids. The rename changes the ats:// URI primary keys, so IndexedDB migrates v3 -> v4, clearing old-keyed rows (re-synced from the space). Verified end-to-end. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
3 weeks ago
sync.ts
Surface auth failures: any 401 prompts a re-login Every authenticated XRPC call funnels through parse() in sync/xrpc.ts, so a 401 there now flips auth into a new session-expired state instead of failing silently into local-only mode. The login screen explains what happened and prefills the handle. markSessionExpired() also purges the SDK's persisted session so a reload doesn't restore dead tokens and loop: client.logout() DELETEs the server session before clearing local storage and itself 401s on dead tokens (the DPoP delete-all logout bug), so fall back to removing the SDK's localStorage keys directly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 week ago
xrpc.ts
Surface auth failures: any 401 prompts a re-login Every authenticated XRPC call funnels through parse() in sync/xrpc.ts, so a 401 there now flips auth into a new session-expired state instead of failing silently into local-only mode. The login screen explains what happened and prefills the handle. markSessionExpired() also purges the SDK's persisted session so a reload doesn't restore dead tokens and loop: client.logout() DELETEs the server session before clearing local storage and itself 401s on dead tokens (the DPoP delete-all logout bug), so fall back to removing the SDK's localStorage keys directly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 week ago