opencode-statboard 2.10.37 → 2.10.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-statboard",
3
- "version": "2.10.37",
3
+ "version": "2.10.38",
4
4
  "description": "Real-time dashboard for opencode token usage and cost statistics",
5
5
  "main": "server.js",
6
6
  "bin": {
package/public/index.html CHANGED
@@ -1069,6 +1069,7 @@ async function poll() {
1069
1069
  renderTrend(null);
1070
1070
  }
1071
1071
  renderTools(lastTools);
1072
+ loadQuota(); // refresh quota after data load
1072
1073
  const ago = Math.round((Date.now() - (j.generatedAt || 0)) / 1000);
1073
1074
  const time = new Date().toLocaleTimeString(lang === 'zh-TW' ? 'zh-TW' : 'en', { hour12: false });
1074
1075
  lastUpdatedText = t('lastUpdated') + ' ' + time + ' (' + t('dataAgo') + ' ' + ago + 's)';