Skip to content

fix: preserve reset countdown minutes - #239

Open
MemberIT wants to merge 1 commit into
slkiser:mainfrom
MemberIT:exact-reset-countdown
Open

fix: preserve reset countdown minutes#239
MemberIT wants to merge 1 commit into
slkiser:mainfrom
MemberIT:exact-reset-countdown

Conversation

@MemberIT

Copy link
Copy Markdown
Contributor

Summary

Render provider-supplied reset timestamps to minute precision as DdHhMm on every human-facing quota surface. The shared formatter preserves hours and minutes throughout longer windows, rounds partial minutes up, and wraps value rows when needed so exact reset data does not truncate provider/account labels.

Linked Issue

Fixes #238

OpenCode Validation

  • Current production released OpenCode version tested: 1.18.23
  • Why this version is relevant to the fix: the local TUI plugin was loaded through OpenCode 1.18.23 and /quota was registered from the built package.

Quality Checklist

  • I ran pnpm run typecheck
  • I ran pnpm run build
  • I ran pnpm test
  • This change is focused and avoids unrelated behavior changes
  • I updated or added tests when behavior changed
  • I updated docs when user-facing workflow, command, or config behavior changed
  • For provider changes, I followed Provider Changes, or this does not apply

pnpm verify passed locally: Biome, pinned TypeScript/history checks, typecheck, build, 181 test files / 2174 tests, four-surface parity, and package-content verification.

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.

[feature]: show provider reset countdowns to the minute

1 participant