-
Notifications
You must be signed in to change notification settings - Fork 0
Fix/claude permanent firefox #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
f7f4a88
Add Claude Desktop cookie scrape as primary source
BlockedPath 31dfc44
Show "% used" on iOS to match claude.ai + tighten refresh to ~40s
BlockedPath 3db5469
Widget: show "% used" matching main app + claude.ai
BlockedPath 1b2b98e
Add "Used / Left" display framing toggle in Settings
BlockedPath File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,3 +5,4 @@ pytest>=7.0 | |
| ruff>=0.15 | ||
| black>=24.0 | ||
| zeroconf>=0.51 | ||
| pycryptodome>=3.20 | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These labels are now hard-coded to
5H/7Dfor every successful entry, butAtomWidgetStyleViewrenders both Claude and Codex payloads. When the source is Codex, the widget still shows a 5-hour/7-day framing even though Codex session usage is daily, so the timeframe context presented to users is incorrect despite valid percentages. Please keep provider-specific labels (or derive them from the payload/reset window) instead of forcing Claude-specific text.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@codex fit it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary
UsageWidget.swiftso Claude continues to show5H/7D, while Codex now showsTODAY/WEEK, preventing incorrect timeframe framing on Codex payloads.AtomWidgetStyleViewwith the new helper functions at both session and weekly label callsites.Fix widget window labels by provider(commit81a5e57).Testing
cd /workspace/CodexMeter && git diff -- ios/CodexMeterApp/CodexMeterAppWidget/UsageWidget.swiftcd /workspace/CodexMeter && rg -n "sessionWindowLabel|weeklyWindowLabel|5H|7D|TODAY|WEEK" ios/CodexMeterApp/CodexMeterAppWidget/UsageWidget.swiftcd /workspace/CodexMeter && git commit -m "Fix widget window labels by provider"View task →