Port upstream CodexBar 0.49.0-0.49.2 - #337
Open
Finesssee wants to merge 1 commit into
Open
Conversation
…Kimi lanes, menu-card wrap
This was referenced Aug 16, 2026
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.
Port of upstream steipete/CodexBar v0.49.0 → v0.49.2 onto the Windows shell (read-only consumption of tagged sources; zero upstream contact per docs/PORTING.md).
Ported
rust/src/providers/fireworks/(30-day rated billing spend from/v1/accounts/<slug>/billing/summary, first-currency row summing, slug charset validation against path/query injection),ProviderId::Fireworks+ aliases (fireworks/fw), factory arm, token-accounts exhaustive arm, API-key settings entry (FIREWORKS_API_KEY), account-slug settings input (FIREWORKS_ACCOUNT_SLUG or the Settings field), frontend catalog + icon (upstream tagged SVG) + dashboard link. 4 unit tests incl. wire-shape fixtureCREDIT_LIMITrows now parse likeTOKENS_LIMIT— the 5-hour credit window drives primary % and reset instead of sticking at 0% used. UpstreamparseLimitpercent math ported: positiveusagetotal makes the absolute used signal (usage-remaining/currentValue) authoritative over the APIpercentageCode 7-dayrow hidden when it duplicates the primary weekly quota (percent within 1pt, resets within 5min, reliable weekly counter — suppress only on positive evidence)Already present (no work needed)
providers/sub2apiSkipped (no counterpart — macOS-only)
cswapwith two account breaks bar indicators steipete/CodexBar#2731) — no claude-swap integrationDeferred (needs deeper engine work / separate focus)
Commands run
cargo fmt --allcargo clippyboth manifests--all-targets -- -D warningscargo test --manifest-path rust/Cargo.toml --lib— 1236 passedcargo test --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml— 342 passedpnpm --dir apps/desktop-tauri test— 257 passedpnpm --dir apps/desktop-tauri run build— okUI proof
CUA proof for the Fireworks settings section and the menu-card wrapping is planned as a follow-up capture pass on a fresh
tauri:build:debugonce #336's seed tooling is mergeable (it makes deterministic captures possible). No behavior-affecting tray/settings change in this PR is verifiable via jsdom alone; calling that out explicitly per the PR template.Note
A separate in-flight effort is concurrently implementing Claude consent-gated credentials (steipete#2634) and DeepInfra polish in this working tree; those files are intentionally not part of this PR.