GeezerVison is showing github.com — feat(connect): polish sign-in steps, resize large dialogs, add unpaid picker and ChatGPT usage limits by Hona · Pull Request #253 · anomalyco/opencode-rune
Conversation
Summary
Ports upstream #63829 (UP-002), #64882 (UP-080), #64927 (UP-084), and #64926 (UP-086):
- Dialog sizes &
.search-dialog headers (#64882):
- Narrows
DialogSize::Large from 720 to 680 wide (680 × 600), removes Fit::Anchored, resizes Connect to DialogSize::Large, aligns .search-dialog headers to 14/16/8 with 13 pt descriptions, and updates Manage models search spacing (px(8), h(32), mt(8) hairline, mr(-2) connect button).
- Connect sign-in polish (
#63829):
- Unifies right-aligned
StepActions footers across failed, console no-models, Claude Agent, OAuth, and form steps.
- Enlarges Console device code digits to 28 pt, refines method selection rows to 32 pt with leading method icons and hover-revealed chevrons, adds top/bottom hairline dividers around the OAuth redirect-paste section, and shows copy feedback for non-secret device codes/commands.
- Popular order & unpaid free-model picker (
#64927):
- Reorders Connect Popular to place
opencode-go ahead of opencode with taglines/notes (omitted when a provider is disabled/environment-only).
- Adds
DialogSelectModelUnpaid (features/connect/src/unpaid.rs, DialogSize::Large) opened from the model picker when no paid provider is connected and free models exist, with light/dark featured provider cards and keyboard navigation.
- ChatGPT usage limit & Business workspace-admin dialog (
#64926):
- Adds
DialogChatGPTUsageLimit (features/connect/src/usage_limit.rs, DialogSize::Normal) with a 24 h persisted throttle in opencode.global.dat.
- Shows the personal limit dialog (
Manage usage) on provider.chatgpt-limit (including older servers) and the Business workspace-admin variant (Copy request for admin with copied status and selectable fallback) on provider.chatgpt-workspace-limit.
Verification
pwsh scripts/guardrails.ps1 (5/5 incl. dialog-size.sh), pwsh scripts/web.ps1 -Check (wasm32 + web-clock), and cargo check --workspace --all-targets green.
- Driven end-to-end against a mock OpenCode HTTP/SSE server: unpaid free-model picker at 680 px -> Connect dialog at 680 px ->
opencode-go above opencode with taglines & disabled-row omission -> 32 pt OpenAI method rows with breadcrumbs -> personal ChatGPT limit (openExternal + 24 h SQLite throttle) -> Business workspace limit (Copy request for admin staying open with copied feedback).
- Verified light & dark captures at 1x and 1.5x across
unpaid-models, connect-picker, connect-methods, connect-failed, connect-models, chatgpt-usage-limit, and chatgpt-workspace-usage-limit (idle/copied/failed).
- Not proved: Real live account OAuth / paid OpenAI / ChatGPT Business server flows (verified against simulated mock responses matching upstream error shapes).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
… picker and ChatGPT usage limits
Port upstream #63829 (`UP-002`), #64882 (`UP-080`), #64927 (`UP-084`), and
#64926 (`UP-086`):
- **Dialog sizes & search headers (`#64882`):** Narrow `DialogSize::Large`
from 720 to 680 wide (`680 × 600`), remove `Fit::Anchored`, resize Connect
to `DialogSize::Large`, align `.search-dialog` headers to 14/16/8 with
13 pt descriptions, and update Manage models search padding (`px(8)`,
`h(32)`, `mt(8)` hairline, `mr(-2)` connect button).
- **Connect sign-in polish (`#63829`):** Unify right-aligned `StepActions`
footers across failed, console no-models, Claude Agent, OAuth, and form
steps; enlarge Console device code digits to 28 pt; refine method rows to
32 pt with leading method icons and hover-revealed chevrons; add top/bottom
hairline dividers around the OAuth redirect-paste toggle and copy toasts
for non-secret codes/commands.
- **Popular order & unpaid free-model picker (`#64927`):** Reorder Connect's
Popular group to put `opencode-go` ahead of `opencode` with taglines/notes
(omitted on disabled environment-only rows); add `DialogSelectModelUnpaid`
(`features/connect/src/unpaid.rs`) opened when no paid provider is
connected and free models exist, with light/dark featured provider cards.
- **ChatGPT usage limit & Business workspace-admin dialog (`#64926`):** Add
`DialogChatGPTUsageLimit` (`features/connect/src/usage_limit.rs`) using
`DialogSize::Normal`, with 24 h persisted throttle in `opencode.global.dat`,
personal limit fallback on `provider.chatgpt-limit` (older servers), and
workspace-admin copyable request with copied/fallback states on
`provider.chatgpt-workspace-limit`.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…ing (#266)
- Fold verified fleet PRs #247, #251, #252, #253, #254, #255, #256, #257,
#258, #260, #261, #262, #263, #264, and #265 (Rune #1290 PRE-11 / #1296)
into docs/upstream-sync/ledger.{json,md}
- Audit upstream anomalyco/opencode through 92d35f8e18 (+9 commits past
bf683129fa), adding UP-107..UP-113 and assigning UP-106/UP-108/UP-111 to
BROWSER-UI
- Update scripts/upstream-sync-check.ts to skip pure *.fixture.* test files
and route browser UI/history vs extensions commits to BROWSER-UI and WS-9
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|