Skip to content

fix(claude): remove peak hours indicator integration#447

Merged
robinebers merged 1 commit intomainfrom
fix/remove-promoclock-integration
May 7, 2026
Merged

fix(claude): remove peak hours indicator integration#447
robinebers merged 1 commit intomainfrom
fix/remove-promoclock-integration

Conversation

@validatedev
Copy link
Copy Markdown
Collaborator

@validatedev validatedev commented May 6, 2026

Description

Removes the Claude peak hours indicator integration.

Reverting #364.

Claude announced that peak-hour limit reductions are being removed, so the external peak/off-peak indicator is no longer useful and could become misleading.

Context:

Type of Change

  • Bug fix

Testing

  • I ran bun run build and it succeeded
  • I ran bun run test and all tests pass
  • I tested the change locally with bun tauri dev

Checklist

  • I read CONTRIBUTING.md
  • My PR targets the main branch
  • I did not introduce new dependencies without justification

Copilot AI review requested due to automatic review settings May 6, 2026 17:27
@validatedev
Copy link
Copy Markdown
Collaborator Author

@codex review

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 5 files

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the Claude “peak hours” badge that was sourced from PromoClock, since Claude’s peak-hour limit reductions have been discontinued and the indicator could become misleading.

Changes:

  • Removed PromoClock fetch/mapping logic from the Claude plugin runtime.
  • Removed the “Peak Hours” line from the Claude plugin manifest and deleted the associated test coverage.
  • Updated Claude provider documentation and README provider capability summary to no longer mention peak/off-peak.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Updates Claude provider capability summary to remove peak/off-peak mention.
plugins/claude/plugin.test.js Deletes PromoClock integration test helpers and test cases.
plugins/claude/plugin.json Removes the “Peak Hours” overview badge line from the manifest.
plugins/claude/plugin.js Removes PromoClock constants and badge-fetch logic from probe().
docs/providers/claude.md Removes documentation for the supplemental PromoClock peak-hours status.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

ℹ️ 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".

Copy link
Copy Markdown
Owner

@robinebers robinebers left a comment

Choose a reason for hiding this comment

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

perfect!

@robinebers robinebers merged commit 7aa655d into main May 7, 2026
7 checks passed
fathiraz added a commit to fathiraz/openusage that referenced this pull request May 7, 2026
* main:
  chore: bump version to 0.6.23
  chore(analytics): drop UI-side Aptabase events (robinebers#449)
  fix(claude): remove peak hours indicator integration (robinebers#447)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants