diff --git a/AGENTS.md b/AGENTS.md index 1dbe858..55d81d7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -8,9 +8,10 @@ - OAuth callback stores identity in a long-lived session (`plebsaber_session` via `.data/plebsaber_sessions.json`). - Tools expect BeatLeader supporter or global rank better than pleb's current rank; navbar dropdown warns when outside that threshold. - Global navigation lives in `src/lib/components/NavBar.svelte`; it houses the BeatLeader login dropdown with profile, testing (dev) and logout actions. -- Core BeatLeader tool pages reuse shared components such as `PlayerCompareForm.svelte`, `MapCard.svelte`, and `SongPlayer.svelte` for consistent UI/UX. -- `/testing` route (dev-only) consumes `/api/beatleader/me` to display and log raw BeatLeader session data for debugging. -- `/tools/stats` (admin-only, BL id `76561199407393962`) lists every stored BeatLeader session with avatars and last-seen timestamps; navigation link only appears for that account. +- Core BeatLeader tool pages reuse shared components such as `PlayerCompareForm.svelte`, `MapCard.svelte`, `PlayerCard.svelte`, and `SongPlayer.svelte` for consistent UI/UX. +- `/player-info` route consumes `/api/beatleader/me` to display and log raw BeatLeader session data for debugging. +- `/tools/stats` (admin-only, BL id `76561199407393962`) lists every stored BeatLeader session with full player profiles, skill triangles, and last-seen timestamps; navigation link only appears for that account. +- `/tools/compare-histories` compares two players' play histories and displays their profiles with skill triangles when comparing. ## Shell command guidance diff --git a/src/lib/components/HasToolAccess.svelte b/src/lib/components/HasToolAccess.svelte index aee5f82..68114f6 100644 --- a/src/lib/components/HasToolAccess.svelte +++ b/src/lib/components/HasToolAccess.svelte @@ -1,6 +1,5 @@ @@ -43,14 +35,8 @@ {:else}
- Tools are restricted to BeatLeader supporters (and {baselineCopy}). + Auth Required: Tools are restricted to BeatLeader supporters (and {baselineCopy}).
- {#if summary} -{summary}
- {/if} - {#if showLockedMessage} -{showLockedMessage}
- {/if} {#if plebProfile}