Defensive dashboard + diagnostic CLI
Addresses reports of the dashboard showing only the Overview tab while other tabs sit empty.
What is new
- Per-tab render is now isolated. If any single tab's render function throws, that tab shows a visible error card with the stack trace and a one-click Copy diagnostic button (tab name, data keys present, user agent, error text). Other tabs keep rendering instead of silently blanking after the first crash.
measure.py dashboard-diagnoseprintsPRESENT/MISSING/WRONG-TYPEfor every top-level key the dashboard template consumes. Paste the output into an issue if a tab reports a render error.
What to do if a tab fails
- The failing tab now shows an error card. Click Copy diagnostic.
- Paste the diagnostic into a new issue at github.com/alexgreensh/token-optimizer/issues.
- Other tabs still work; navigate with the sidebar.
Related
- Cross-platform plugin support from v5.2.x continues working unchanged.
- Windows users on v5.2.1+:
python3 <path>/measure.py health-selfcheckremains the single-command install check.