Skip to content

Port upstream CodexBar 0.49.0-0.49.2 - #337

Open
Finesssee wants to merge 1 commit into
mainfrom
port/upstream-0.49.0-0.49.2
Open

Port upstream CodexBar 0.49.0-0.49.2#337
Finesssee wants to merge 1 commit into
mainfrom
port/upstream-0.49.0-0.49.2

Conversation

@Finesssee

Copy link
Copy Markdown
Collaborator

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

Item Notes
Fireworks provider (steipete#2687) Full recipe: 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 fixture
z.ai CREDIT_LIMIT coding plans (steipete#2724, steipete#2712) CREDIT_LIMIT rows now parse like TOKENS_LIMIT — the 5-hour credit window drives primary % and reset instead of sticking at 0% used. Upstream parseLimit percent math ported: positive usage total makes the absolute used signal (usage-remaining/currentValue) authoritative over the API percentage
Kimi official lane names + duplicate suppression (steipete#2741) Membership pool lane renamed to Total usage (omni/SUBSCRIPTION pools only; feature-scoped balances skipped). Code 7-day row hidden when it duplicates the primary weekly quota (percent within 1pt, resets within 5min, reliable weekly counter — suppress only on positive evidence)
OpenRouter key-quota fast join (steipete#2778) Optional key enrichment joins on a 1-second deadline (was 3s) and logs degraded joins explicitly; core usage stays authoritative
Menu-card detail wrapping (steipete#2742, refs steipete#2182; steipete#2846) Long metric reset/pace details wrap to a second line (two-line clamp keeps cached card heights bounded) instead of ellipsizing — non-English locales keep full reset info

Already present (no work needed)

Skipped (no counterpart — macOS-only)

Deferred (needs deeper engine work / separate focus)

Commands run

  • cargo fmt --all
  • cargo clippy both manifests --all-targets -- -D warnings
  • cargo test --manifest-path rust/Cargo.toml --lib1236 passed
  • cargo test --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml342 passed
  • pnpm --dir apps/desktop-tauri test257 passed
  • pnpm --dir apps/desktop-tauri run build — ok

UI 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:debug once #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant