Commit 7912841 removed the embed for the python-hosted dashboard (i.e. linux).
|
<!-- window.__SUMMARY__ / __CLAUDE_SESSIONS__ / __OPENCLAW_SESSIONS__ |
|
are injected at document start by the macOS launcher. --> |
To confirm, run the current browser-only instruction from the README.md, no data will ever be loaded.
Secondly after running echo '<script src="data/data.js"></script>' >> dashboard.html once, it will be - so possibly the macOS app should simply skip that line when serving the HTML to instead allow the userscript to trigger.
The other option would be to not serve static files on /data/*, but instead respond with the configured outside-of-app storage location static stuff instead as request answer.
Commit 7912841 removed the embed for the python-hosted dashboard (i.e. linux).
claude-usage-tracker/src/dashboard.html
Lines 7 to 8 in 843aa31
To confirm, run the current browser-only instruction from the
README.md, no data will ever be loaded.Secondly after running
echo '<script src="data/data.js"></script>' >> dashboard.htmlonce, it will be - so possibly the macOS app should simply skip that line when serving the HTML to instead allow the userscript to trigger.The other option would be to not serve static files on
/data/*, but instead respond with the configured outside-of-app storage location static stuff instead as request answer.