feat(codex): add frontend bridge types and i18n keys (PR 3/5) - #258
Conversation
|
Thanks for the PR, I will review this ASAP. |
|
Thermo-nuclear review (3/5 — bridge): approve with one completeness nit. The bridge DTOs are typed end-to-end (no Nit: the 13 new |
Expose ADR 0003 account commands to React via the typed invoke bridge, add bridge DTOs (CodexAccount, snapshots, switch result, state), and add the CodexAccounts locale keys for en-US and es-MX.
54d3af5 to
803b92a
Compare
Summary
tauri.tsexposes list/add/remove/switch/fetch/snapshots/restart-desktop + accounts state.bridge.tsDTOs:CodexAccount,CodexAccountUsageSnapshot,CodexSwitchResult,CodexAccountsStateBridge, usage/credits windows.CodexAccounts*locale keys tokeys.ts,locale.rs,en-US.ftl,es-MX.ftl.Related issue
ADR 0003 (
docs/adr/0003-multi-account-codex.md). No issue number yet.Affected areas
Validation
Hosted PR check runs on Blacksmith Windows when
CI_BUDGET_MODEis notoff(see.github/workflows/pr-check.ymlandCONTEXT.md). Still run the local slice and list commands/results below. If a check is not relevant, say why.powershell.exe -ExecutionPolicy Bypass -NoProfile -File scripts\local-check.ps1powershell.exe -ExecutionPolicy Bypass -NoProfile -File scripts\local-check.ps1 -All -Version <version>powershell.exe -File scripts\windows-release-build.ps1 -Ref <ref> -SmokeInstallpnpm test(224 tests) andpnpm run buildpassUI / tray proof
For UI, tray, settings, or visual behavior changes, use CUA Driver for visual proof. If CUA Driver cannot be used, explain why and attach equivalent manual proof.
Notes for reviewers
mainwill be rebased ontomainafter feat(codex): add Tauri commands and multi-account refresh lanes (PR 2/5) #256 merges.Chain Context
main(rebase after #256 merges)#256merged stateChain Overview
Scope
tauri.tsbridge fns,bridge.tsDTOs,keys.ts+locale.rs+.ftlkey additions.Autonomy
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.