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 review Reviewed by Codex gpt-6-luna (xhigh); verified and validated by Claude
No other findings; copy matches the 0.67.0 spec. |
|
Thermo review fixes landed (commit "Address thermo review").
|
CUA proofBuild commit:
Commands:
Screenshots (local, not committed), in
Kit and plan: |
|
Adversarial validation passed at 504bd67 Scope: OpenRouter API key and Management key guidance (#686, upstream 0.67.0), validated as merged into release/v0.70.0 (merge 504bd67 = merge of 27ff74e into 66b6594). Attacks (highest-risk semantics, from the merged tree):
No defects found. READY for the un-draft rule. |
Summary
Copy-only change. OpenRouter now tells users that the required API key field accepts either a regular API key or a Management API key, and that the optional Management API key field does not replace it.
rust/src/providers/openrouter/mod.rs): the two duplicated literals become oneMISSING_API_KEY_MESSAGEconst with the upstream 0.67.0 text.ProviderConfigInfo.api_key_help, shown in Settings > Providers) now says it is required, accepts both key types, and that Management keys also enable account Activity on the official API.OpenRouterManagementKeyHelp, en-US) now says it is an optional additional key for account Activity, only needed for a separate Management key. The existingOPENROUTER_MANAGEMENT_API_KEYenv hint is kept.docs/PROVIDERS.md: short "OpenRouter keys" section.Upstream reference
v0.67.0:Sources/CodexBarCore/Providers/OpenRouter/OpenRouterProviderDescriptor.swift(OpenRouterSettingsError.missingToken)Sources/CodexBar/Providers/OpenRouter/OpenRouterProviderImplementation.swift(field subtitles)Sources/CodexBarCore/Resources/Plugins/openrouter.js,docs/openrouter.mdPorted / Deferred
Validation
cargo +1.98.0 fmt --all: cleancargo +1.98.0 clippy --workspace --all-targets -- -D warnings: passcargo +1.98.0 test -p codexbar openrouter: 31 passed (includes 2 new tests for the message and API key help)cargo +1.98.0 test -p codexbar locale: 16 passed;api_keys: 3 passedcargo +1.98.0 test -p codexbar-desktop-tauri credentials: 2 passedpnpm --dir apps/desktop-tauri run check-locale: OK, 879 keys matchAffected areas
UI proof
Pending: coordinator will capture CUA proof on a fresh build (OpenRouter settings pane, both field help texts).