Skip to content

Enable usage pace visualization for OpenCode provider#639

Open
zacharytamas wants to merge 1 commit intosteipete:mainfrom
zacharytamas:feat/opencode-pace-visualization
Open

Enable usage pace visualization for OpenCode provider#639
zacharytamas wants to merge 1 commit intosteipete:mainfrom
zacharytamas:feat/opencode-pace-visualization

Conversation

@zacharytamas
Copy link
Copy Markdown

Summary

  • Add OpenCode (.opencode) to the provider allowlists in weeklyPace() (SwiftUI) and paceLine() (CLI)
  • OpenCode's weekly rate window already provides usedPercent, windowMinutes, and resetsAt — the pace pipeline just wasn't enabled for it
  • Now shows "X% in reserve" / "X% in deficit", expected-usage marker, and "Lasts until reset" / "Runs out in ..." on the weekly bar, matching the existing Codex and Claude experience

Test plan

  • swift build passes
  • ./Scripts/compile_and_run.sh builds, packages, and relaunches successfully
  • Visually confirmed pace labels appear on the OpenCode weekly usage bar

Add OpenCode to the provider allowlists in weeklyPace() and
CLI paceLine() so the weekly bar shows reserve percentage,
expected-usage marker, and "Lasts until reset" — matching
the existing Codex and Claude experience.
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