Show T3 questions live without polling - #1
Merged
Conversation
OpenGrepScan complete Commit: dc14d3e · Engine: 1.30.0 · Rules: 34b6db9e42b5 · Profile: all
|
Owner
Author
|
Note 🤖 Codex responding on behalf of beastyrabbit Checked all 86 OpenGrep findings against commit
Resolving the corresponding inline threads on that basis. OpenGrep completed with zero technical errors; its report remains neutral because it retains these audit matches. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
🤖 Codex responding on behalf of beastyrabbit
Pending questions need immediate attention on the deck, while periodic reads of T3's Chromium cache are fragile and delay updates. This switches the plugin to T3's existing read-only pairing and live shell stream, with combined, threads-only, and questions-only key displays. Input, approval, and plan-review requests trigger blinking alerts.
Users now paste a read-only pairing link into the key settings for each environment. Connections are shared across keys, credentials stay outside OpenDeck profiles, and reconnects load a fresh snapshot before showing live totals. T3's current authorization lasts about 30 days: an uninterrupted stream may continue longer, but reconnecting after expiry requires a fresh pairing link. This does not add automatic token renewal or a narrower upstream status-only permission.
Verified with
pnpm verify(223 tests, types, lint, build),pnpm package, secret scanning, and browser automation using local T3/OpenDeck fixtures. Covered pairing, live questions, per-key modes, reconnects, expiry/re-pairing, removal, and keeping credentials out of profile settings and inspector responses. The new connection flow still needs validation against a real T3 server and physical deck; it uses T3's first-party, unversioned interface.Settings panel and actual emitted key images below use synthetic test data. The animation shows a pending question appear, blink, and clear.