Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Thermo-nuclear reviewReviewed against the upstream v0.67.0 Findings (all small, all in
Left as is, with reasons:
Fixes follow in one commit. |
|
Thermo-nuclear review fixes landed (commit "Address thermo review", 0472ff8). Fixes by Codex gpt-6-luna (xhigh); verified and validated by Claude. Fixed, all in
Left as is: hand-walking Commands run: |
CUA proofBuild commit: Proof-only patches (throwaway, restored, never committed):
Setup: isolated profile, dummy
Screenshots (local, not committed): Not exercised: pro / uncapped / exhausted fixtures (covered by unit tests in |
Port re-review: xKiro provider (#663, GAP row 15 of 0.67.0)Re-checked the branch at the current head What I verified at the current head:
Result: no new findings. Files under the cap (mod.rs 379, tests.rs 267); no dependency; no secret logging. The "live API unverified" caveat is carried from upstream and documented in the PR body. |
UI proof (browser-use)Combined build of
Every surface also passed the privacy check (no email-like text, account e-mail nodes or profile paths in the DOM) and theme Validation at |
…n provider (registry merged next to llmman/DevPass)
Summary
Adds the xKiro provider (upstream 0.67.0). It reads the documented free-token quota from
GET https://api.xkiro.com/v1/usagewith a bearer API key (XKIRO_API_KEYor the key saved in Preferences) and shows it as one daily lane, "Daily free tokens".used_today / limit_per_day, window 1440 minutes, resets at the next 00:00 UTC. A limit of0counts as fully used.walletbalance andwindowsare ignored, so paid balance is never shown as free-token headroom.object, or a negative, fractional, non-numeric or above-2^53-1 counter is reported as unrecognized without echoing the response.plan: nullmaps to "Pay as you go". A named plan is shown trimmed; email is shown when present.Retry-Afteris bounded to 10 s; response bodies are size-capped.https://xkiro.com, brand#52C99B, source modes auto + api.Upstream reference
9090006d3,68c386867.v0.67.0) files:Sources/CodexBarCore/Resources/Plugins/xkiro.ts,Sources/CodexBarCore/Providers/XKiro/XKiroProviderDescriptor.swift,Sources/CodexBar/Resources/ProviderIcon-xkiro.svg,Tests/CodexBarTests/XKiroPluginTests.swift,docs/xkiro.md.Ported / Deferred
Ported: everything above, plus the full new-provider recipe from
docs/PORTING.mdsection 5 (ProviderId + metadata, provider module, factory arm, token-account arm, API-key catalog entry, dashboard and desktop icons, desktop catalog, tray dashboard link, Preferences short label, docs, README row).Deferred / limits:
now) in the Rust parser, so the reset is deterministic in tests.Retry-Afterinto the error message.Validation
Toolchain
cargo +1.98.0, via the E-core wrappers, slot-4.cargo fmt --all: cleancargo clippy --workspace --all-targets -- -D warnings: passcargo test -p codexbar -- --test-threads=4: 2175 passed, 0 failed, 1 ignored (pre-existing).xkirofilter: 15 passed.cargo test -p codexbar-desktop-tauri -- --test-threads=4: one failure,commands::tests::bootstrap_payload_exposes_every_provider_variant, on the final size assertion (left: 80, right: 79). Every active provider, includingxkiro, is present in the catalog (the earlier "missing provider" assertion passed). The catalog includes deprecated providers that are enabled in the machine's real (DPAPI-protected) settings, so the count is off by one on this workstation independent of this change; I could not read the settings to confirm which provider. Needs a clean-profile run (hosted CI) to confirm.pnpm test(apps/desktop-tauri): 402 passed, 67 files (one unrelated timing flake on the first run under load, clean on rerun).pnpm run lint: only pre-existing warnings in untouched files.pnpm run build: pass.provider.rswas already over.Affected areas
providers/xkiro,ProviderId::XKiro, factory, API-key catalogdocs/PROVIDERS.md,README.mdUI proof
Pending: coordinator will capture CUA proof on a fresh build.