You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): remove unnecessary Supabase auth from public-only commands (#455)
* fix(cli): remove unnecessary Supabase auth from public-only commands
Public CLI commands (dash ping, skill upload, etc.) only need an API key,
not a Supabase JWT. Move login validation into requireAdmin() and call it
only from admin commands (projects list/select/create/delete/stats).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(cli): populate dashUserEmail in PersistentPreRunE for non-admin commands
List/create commands for sessions, disks, spaces, and skills use
dashUserEmail to scope results to the current user. After removing
mandatory Supabase auth, dashUserEmail was only set inside
requireAdmin(), leaving it empty for non-project commands.
Add a best-effort auth.Load() fallback so the user email is always
available when auth.json exists.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments