Skip to content

fix: route external Codex usage into Codex quota#1

Closed
Daltonganger wants to merge 9 commits intomainfrom
fix/codex-lb-usage-and-opencode-zen
Closed

fix: route external Codex usage into Codex quota#1
Daltonganger wants to merge 9 commits intomainfrom
fix/codex-lb-usage-and-opencode-zen

Conversation

@Daltonganger
Copy link
Copy Markdown
Owner

Summary

  • add Codex self-service /v1/usage support for external API-key accounts and map returned limits into Codex quota windows
  • preserve dynamic Codex window labels in the menu/status bar and omit ChatGPT-Account-Id for self-service requests
  • filter Codex-routed openai/* spend out of OpenCode Zen when OpenCode routes OpenAI through provider.openai.options.baseURL

Testing

  • added unit coverage for Codex self-service endpoint selection and payload mapping
  • added unit coverage for OpenCode Zen cost filtering based on Codex endpoint provenance
  • local Xcode build remains blocked in this environment by the existing Xcode first-launch/plugin mismatch

Daltonganger and others added 9 commits February 12, 2026 18:20
Integrate Nano-GPT as a quota-based provider with daily/monthly reset tracking, local icon assets, and auth parsing support. Add UI/CLI wiring and tests so Nano-GPT usage, balances, and the  subscription preset are available end-to-end.
…ations

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
# Conflicts:
#	CopilotMonitor/CopilotMonitor.xcodeproj/project.pbxproj
#	CopilotMonitor/CopilotMonitor/App/StatusBarController.swift
#	CopilotMonitor/CopilotMonitor/Helpers/ProviderMenuBuilder.swift
#	CopilotMonitor/CopilotMonitor/Providers/NanoGptProvider.swift
#	CopilotMonitor/CopilotMonitorTests/NanoGptProviderTests.swift
@Daltonganger
Copy link
Copy Markdown
Owner Author

Superseded by #2, which restarts cleanly from opgginc/main and keeps the change set minimal.

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