aboutsummaryrefslogtreecommitdiffstats
path: root/static/modules/assistant.js
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-16 17:21:07 +0100
committerDanilo M. <danix@danix.xyz>2026-11-16 17:21:07 +0100
commit5e18a133f779d5f344e592b4e3c122c43b2a4982 (patch)
treeb856ec03b2f97e4a7ba8abfcff4c06893454f306 /static/modules/assistant.js
parentab02a2e982d145333d843fe84087b5fdd0e05b38 (diff)
downloaddeck-it-5e18a133f779d5f344e592b4e3c122c43b2a4982.tar.gz
deck-it-5e18a133f779d5f344e592b4e3c122c43b2a4982.zip
fix(xbox): keep the reader alive and the flags right
- run() survives any exception from tick(); _http turns http.client.HTTPException into OSError. - Signing out or in again resets the slow-read clock, so the profile is read at once instead of after 10 minutes. - After stop() nothing sets status.xbox back to 1; its compare and write is under a lock. - api() uses a copy of the auth taken under the lock; command() maps a missing auth to "not signed in". - Action and sign-in errors carry Xbox Live's own message when the HTTP error body has one. - type_of caches only a 404; other errors retry on the next tick. - Sign-in: start_login is locked, a poller only ends its own flow, and a failed token save ends it as "failed". - state() is loading only until the first presence read. - Drop a stale placeholder comment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/modules/assistant.js')
0 files changed, 0 insertions, 0 deletions