Skip to content

feat(providers): add Wafer Pass (wafer.ai) provider integration support#1058

Open
thomwebb wants to merge 1 commit into
steipete:mainfrom
thomwebb:main
Open

feat(providers): add Wafer Pass (wafer.ai) provider integration support#1058
thomwebb wants to merge 1 commit into
steipete:mainfrom
thomwebb:main

Conversation

@thomwebb
Copy link
Copy Markdown

@thomwebb thomwebb commented May 20, 2026

  • Integrate Wafer as a new usage provider with registration via descriptor, implementation, and token resolver patterns
  • Support fetching Wafer quota usage from the Wafer Pass API and mapping the response to a UsageSnapshot
  • Add localized strings (Catalan, English, Portuguese, Simplified Chinese, Spanish) for Wafer pass subscription status in menu bar settings
  • Add Wafer icon SVG and corresponding UI colors/names in widget views
  • Handle Wafer balance display in menu bar status item and usage menu card, including expired and quota-based states
  • Register Wafer in shared providers, providers enums, usage store debug logging costs, and widget provider
  • Add comprehensive Wafer tests covering settings reader, snapshot conversion, API fetch success, and error paths

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1bac15b106

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Sources/CodexBar/StatusItemController+Animation.swift Outdated
@thomwebb thomwebb force-pushed the main branch 3 times, most recently from ce956c7 to 5d54a0f Compare May 20, 2026 06:16
- Integrate Wafer as a new usage provider with registration via descriptor, implementation, and token resolver patterns
- Support fetching Wafer quota usage from the Wafer Pass API and mapping the response to a UsageSnapshot
- Add localized strings (Catalan, English, Portuguese, Simplified Chinese, Spanish) for Wafer pass subscription status in menu bar settings
- Add Wafer icon SVG and corresponding UI colors/names in widget views
- Handle Wafer balance display in menu bar status item and usage menu card, including expired and quota-based states
- Register Wafer in shared providers, providers enums, usage store debug logging costs, and widget provider
- Add comprehensive Wafer tests covering settings reader, snapshot conversion, API fetch success, and error paths
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