shadok-ai 0.2.61 → 0.2.62

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": "shadok-ai",
3
- "version": "0.2.61",
3
+ "version": "0.2.62",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test test/*.ts .claude/skills/shadok-ai-agents/test/*.test.mjs",
package/public/index.html CHANGED
@@ -5647,6 +5647,11 @@
5647
5647
  }
5648
5648
  if (r && r.ok) {
5649
5649
  $("authCode").value = "";
5650
+ // The login just wrote the OAuth credentials the usage gauges read from
5651
+ // (src/usage.ts, live-first). Repaint them now — otherwise a freshly
5652
+ // signed-in instance shows blank dials until the next 60s poll, which
5653
+ // reads as "usage is broken" right after onboarding.
5654
+ refreshUsage();
5650
5655
  // Name the account: a machine can serve several people, and "signed in"
5651
5656
  // without saying as whom is the kind of detail that costs an hour later.
5652
5657
  let who = "";