feat(opencode): add killswitch indicators to quota toast#38
Open
iceteaSA wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
1 issue found across 10 files
Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.
Fix all with cubic | Re-trigger cubic
16c1a8b to
b6cc376
Compare
2064776 to
04b768a
Compare
04b768a to
a3fca77
Compare
a3fca77 to
4e89c5f
Compare
3fd2fbf to
930eee6
Compare
6081cc0 to
c4f8057
Compare
Contributor
Author
98bbba1 to
b520a7b
Compare
There was a problem hiding this comment.
iceteaSA has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
Layer killswitch awareness onto the restyled toast (isKilled predicate, blocked status word, ksIsKilled-aware showQuotaToastFromCache). Also restores the process-scoped 'let sessionRequestCount' (a prior cascade had flipped it to const).
b520a7b to
3ac05c0
Compare
There was a problem hiding this comment.
iceteaSA has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
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.
Summary
Adds killswitch indicators to the quota usage toast.
Builds on the merged killswitch (#35) and quota toast (#36). Each account line in the toast now shows a
blockedstatus (instead ofactive/idle) when the killswitch has removed it from the routing pool, so the toast matches the routing reality at a glance.Changes
packages/opencode/src/index.ts—showQuotaToastmarks killswitch-blocked accounts asblockedand factors that into the active-account selection shown in the toast.Notes
Now that #35 and #36 are in
main, this PR is just the toast-indicator delta on top of them.