Skip to content

Clarify provider allowance cards and Claude reset-grant states #15

Description

@sarthakagrawal927

The existing Codex/Claude cards now separate labelled credits and reset grants while preserving the current design, navigation and percentage meters. Scheduled reset times stay beside their usage windows; complete sources and timestamps appear in native disclosures.

Claude's full and 5-hour grant type, count, expiry and paused/unusable state are now read from its usage endpoint using the existing default Claude Code sign-in and actual installed CLI version. The earlier probe omitted part of the CLI User-Agent and incorrectly received an unsupported-surface result. The complete header returns the grant block. Failed, ineligible and unsupported reads stay unknown; verified empty grants show None. Full grants are not counted twice as 5-hour grants. ContextDaddy performs no reset redemption or credential refresh/write.

The layout shipped in 0.2.5 build 15 through PR #16. The remaining authenticated reset details shipped in 0.2.6 build 16 through PR #17, source 437c7b8b50fb4b10ae8d7bc0ba1ad14b338b455c.

Validation: 20 focused SwiftPM tests passed; full native renders reviewed at 960/1180/1440 points with unavailable and paused states; v2 preserve-design review passed. Exact-source main CI and the protected release passed. Developer ID signing, Apple notarization, independent public-download checksum and size checks, and Gatekeeper acceptance passed. The installed build 16 completed live checks with both provider cards and source disclosures. Private local account evidence and recoverable previous app are retained locally.

All acceptance items for this issue are delivered. The provider endpoint is undocumented; unsupported future responses remain explicit unavailable readings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions