Skip to content

Claude/windows tests - #3

Merged
Commando501 merged 3 commits into
mainfrom
claude/windows-tests
Jun 25, 2026
Merged

Claude/windows tests#3
Commando501 merged 3 commits into
mainfrom
claude/windows-tests

Conversation

@Commando501

Copy link
Copy Markdown
Owner

No description provided.

Commando501 and others added 3 commits June 24, 2026 21:05
swift test builds, discovers, and runs on Windows (via the CodexBarLinuxTests
non-macOS target), so add coverage for the new code:

- WindowsSecretStorageTests (#if os(Windows)): real public-API round-trips proving
  encrypt-at-rest + decrypt for the config, token-accounts, and Antigravity stores
  (no plaintext on disk; dpapi:v1: marker present), plus plaintext->ciphertext
  migration. Back-fills the token-accounts and Antigravity paths that have no CLI
  entry point.
- OpenAIDashboardScrapeIngestLinuxTests (cross-platform): snapshot build from a
  scrape payload, and the login/cloudflare/workspace/empty rejection paths.

All 10 pass on Windows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a build-windows-cli job so the Windows port is guarded by CI (it was previously
build/tested only on macOS + Linux). Sets up MSVC (x64) and the Swift 6.2.1 Windows
toolchain, compiles the committed sqlite3 amalgamation into a static lib (mirroring
Scripts/win-build-sqlite.cmd), wires LIB/INCLUDE the way Scripts/win-build.cmd does,
then `swift build --product CodexBarCLI`, `swift test` (runs the CodexBarLinuxTests
target on Windows, incl. the new DPAPI + ingest suites), and a CLI smoke test.

First validation happens on the next PR run.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…UsageViewModelBuilder

This update introduces a new `ProviderCost` class to represent cost-related data, including usage and limits. The `UsageData` class is updated to include a reference to `ProviderCost`. Additionally, the `UsageViewModelBuilder` is modified to handle the new cost data, allowing for the display of on-demand usage costs in the UI. The `RateWindowViewModel` is also enhanced to support optional text overrides for displaying cost information.
@Commando501
Commando501 merged commit ffc80ee into main Jun 25, 2026
3 of 5 checks passed
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