Skip to content
CAI
Software that uses CAICheck a score

robinebers/openusage

56.1

Adequate · 14 November 2026

18.9k

lines of production code

Swift

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Behavioural changes

463 commits (218 fixes) modifying Sources

A change to existing behaviour in Sources — 463 commits (218 fixs), 248 files: “feat(claude): show usage-limit reset grants in a Rate Limit Resets row (\#1290)”; “fix(ui): show minutes in reset times a few days out (\#1618)”; “fix(openrouter): accept a workspace-scoped management key (\#1512)”; and 460 more (refs \#1290, \#1618, \#1512, \#1542, \#1544, …).

Sources · medium confidence · unverified

5 commits (0 fixes) modifying .agents

A change to existing behaviour in .agents — 5 commits, 2 files: “Prepare the repository for Amp orbs and Mac satellites”; “OpenUsage — native Swift edition”; “test: read rendered text with fast OCR where accurate fails”; and 2 more (refs \#1444, \#1654).

.agents · medium confidence · unverified

Build and release scripts now support iCloud sync and universal binaries

The build and release scripts have been updated to support iCloud synchronization and cross-platform distribution. The release script now produces a universal binary (Apple Silicon and Intel) and generates dSYM files for crash symbolication. Both dev and release builds now include iCloud entitlements and provisioning profile handling, enabling document sync. Additionally, the release build checks for updates hourly instead of daily, and the app version string now displays the full version including beta suffixes. Also in this area: Introduce OpenUsage for API-reported usage tracking. Also in this area: 2 commits (0 fixes) modifying .agents, script.

script · medium confidence · unverified

Native Swift rewrite with improved first-run experience and stability fixes

OpenUsage has been rewritten in native Swift, replacing the legacy Tauri edition. New installs now automatically detect and enable only the providers actually installed on the machine, rather than showing all available tools by default. The app now cleans up leftover autostart LaunchAgents from previous versions to prevent duplicate launches at login. Stability is improved with a kernel-backed single-instance lock to prevent duplicate menu-bar icons during startup races, and a new refresh wake signal ensures provider changes are processed immediately without being lost during background data passes.

Sources/OpenUsage · high confidence

Switch OpenUsage launch workflow to in-place dev builds

The development workflow for OpenUsage has changed from installing a Preview app bundle to /Applications to building and launching the app in-place from the dist directory. This prevents interference with released versions and disables update checks during development. Additionally, the worktree setup process now excludes stale agent worktrees and scheduled task locks from synchronization.

.cursor · high confidence

Test coverage

363 commits adding/updating tests in Tests

Test coverage in Tests — 363 commits (177 fixs), 177 files: “feat(claude): show usage-limit reset grants in a Rate Limit Resets row (\#1290)”; “fix(ui): show minutes in reset times a few days out (\#1618)”; “fix(openrouter): accept a workspace-scoped management key (\#1512)”; and 360 more (refs \#1290, \#1618, \#1512, \#1542, \#790, …).

Tests · high confidence · unverified

Dependencies

Update dependencies and add CLI target

This change updates the KeyboardShortcuts dependency from version 2.4.0 to 3.1.0, Sparkle from 2.9.3 to 2.10.0, and introduces the PostHog iOS SDK (version 3.81.0) for analytics. It also adds a new executable target named 'openusage-cli' and its corresponding tests, while updating the macOS platform requirement to version 15.

(dependencies) · high confidence

Housekeeping

Removed obsolete screenshot placeholder documentation

The placeholder file \assets/screenshots/README.md\ has been removed. This file previously contained instructions for capturing and naming screenshots (popover and menu bar) to be used in the main README, but these instructions are no longer needed as the referenced images have been updated or replaced elsewhere. Also in this area: Introduce OpenUsage for API-reported usage tracking.

assets · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 65 → 56 (-9.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 82 → 83 (+0.9)
  • Architecture 89 → 97 (+7.8)
  • Maturity 67 → 69 (+1.6)
  • Readiness 62 → 54 (-8.0)
  • Security 65 → 50 (-15.4)
  • Performance 70 → 60 (-10.0)

Resolved (16)

  • Change coupling: LiquidGlassFallbacks.swift ↔ DashboardView.swift (Sources/OpenUsage/Support/LiquidGlassFallbacks.swift)
  • Duplicated block (4–5 lines × 3) (Sources/OpenUsage/Providers/AccountProviderRuntime+Descriptors.swift)
  • Duplicated block (5 lines × 3) (Sources/OpenUsage/Providers/AccountProviderRuntime+Descriptors.swift)
  • MonitorView.viewDidMoveToWindow (cyclomatic 17) (Sources/OpenUsage/Support/PopoverKeyReader.swift)
  • No ADRs found
  • No assertions: testAbsentArgonPreservesExistingFourBuckets (Tests/OpenUsageTests/AntigravityArgonQuotaTests.swift)
  • No assertions: testClaudeRefusedRefreshTokenReadsAsExpiredSignIn (Tests/OpenUsageTests/OAuthRefreshPersistenceTests.swift)
  • No assertions: testGrokRefusedRefreshTokenReadsAsExpiredSignIn (Tests/OpenUsageTests/OAuthRefreshPersistenceTests.swift)
  • No assertions: testSuccessStatusesDoNotThrow (Tests/OpenUsageTests/ProviderErrorTriageTests.swift)
  • No assertions: testTraySurfaceIsFullyOpaqueInBothAppearances (Tests/OpenUsageTests/PopoverSurfaceOpacityTests.swift)
  • No assertions: testUnpinningAfterHoverOutHidesThePopover (Tests/OpenUsageTests/HoverPopoverStateTests.swift)
  • Outdated: sparkle
  • Projects may be oversized for their cohesion
  • Secret: generic-api-key (Sources/OpenUsage/Providers/Claude/ClaudeDesktopAuthStore.swift)
  • TooManyMethods: LayoutStore (Sources/OpenUsage/Stores/LayoutStore.swift)
  • WireResource.init (cognitive 17) (Sources/OpenUsage/Services/LimitsEnvelope.swift)

New (90)

  • APIKeyV1Files.importOnce (cognitive 23) (Sources/OpenUsage/Stores/APIKeyV1Files.swift)
  • AccountDetailView.body (cognitive 22) (Sources/OpenUsage/Views/AccountDetailView.swift)
  • AccountProviderRuntime.cursorUsage (cognitive 17) (Sources/OpenUsage/Providers/Cursor/AccountProviderRuntime+CursorUsage.swift)
  • AccountStore.checkForDuplicate (cognitive 20) (Sources/OpenUsage/Stores/AccountStore.swift)
  • AccountStore.mirror (cognitive 17) (Sources/OpenUsage/Stores/AccountStore.swift)
  • AmpUsageMapper.map (cognitive 21) (Sources/OpenUsage/Providers/Amp/AmpUsageMapper.swift)
  • AmpUsageMapper.map (cyclomatic 21) (Sources/OpenUsage/Providers/Amp/AmpUsageMapper.swift)
  • AntigravityUsageClient.quotaSummary (cognitive 18) (Sources/OpenUsage/Providers/Antigravity/AntigravityUsageClient.swift)
  • Change coupling: AccountProviderRuntime.swift ↔ AddAccountFlow.swift (Sources/OpenUsage/Providers/AccountProviderRuntime.swift)
  • Change coupling: CLIProxyHubSync.swift ↔ AddAccountFlow.swift (Sources/OpenUsage/Stores/CLIProxyHubSync.swift)
  • Change coupling: WidgetDataStore.swift ↔ PaceNotificationLogic.swift (Sources/OpenUsage/Stores/WidgetDataStore.swift)
  • CursorHistorySource.readDay (cognitive 21) (Sources/OpenUsage/Providers/Cursor/CursorHistorySource.swift)
  • CursorUsageEvents.parsePage (cognitive 31) (Sources/OpenUsage/Providers/Cursor/CursorUsageEvents.swift)
  • CursorUsageEvents.parsePage (cyclomatic 21) (Sources/OpenUsage/Providers/Cursor/CursorUsageEvents.swift)
  • DemoFactory.line (cyclomatic 20) (Sources/OpenUsage/Development/DemoFactory.swift)
  • DemoFactory.snapshots (cognitive 16) (Sources/OpenUsage/Development/DemoFactory.swift)
  • Duplicated block (12 lines × 2) (Sources/OpenUsage/Views/AccountDetailView.swift)
  • Duplicated block (15 lines × 2) (Sources/OpenUsage/Views/AccountListRow.swift)
  • Duplicated block (4–5 lines × 4) (Sources/OpenUsage/Services/DeviceProviderLogins.swift)
  • Duplicated block (5 lines × 2) (Sources/OpenUsage/Services/DeviceProviderLogins.swift)
  • …and 70 more

Changes since last survey

  • 231 commits — 128 feature/other, 103 fixes

By area

  • Sources/OpenUsage — 125 commits
  • (root) — 53 commits
  • Tests/OpenUsageTests — 29 commits
  • (repo) — 14 commits
  • .github/workflows — 3 commits
  • .agents/skills — 1 commit
  • .github/ISSUE_TEMPLATE — 1 commit
  • docs/README.md — 1 commit
  • docs/privacy.md — 1 commit
  • docs/providers.md — 1 commit
  • docs/updates.md — 1 commit
  • script/test_quiet.sh — 1 commit

Notable commits

  • fix: Merge pull request #1459 from robinebers/fix/copilot-org-billing-link
  • fix: Merge pull request #1623 from robinebers/fix/screenshot-setting-share-cards
  • fix: Merge remote-tracking branch 'origin/main' into fix/screenshot-setting-share-cards
  • fix: fix(accounts): a replaced key clears the old key's 429 hold (#1511)
  • fix: fix(accounts): keep a provider turned off in 0.7.x off on upgrade, and correct the notes (#1562)
  • fix: fix(accounts): keep stored accounts this build cannot read (#1462)
  • fix: fix(accounts): order accounts the same way on every screen and keep it after a removal (#1522)
  • fix: fix(accounts): retry the 0.7.x key import until the key is saved (#1507)
  • fix: fix(accounts): show Sign In Again only when the account needs attention (#1538)
  • fix: fix(alerts): rename the Will Run Out alert to Burning Fast (#1671)
  • fix: fix(alerts): start a new alert window only once the old reset has passed (#1660)
  • fix: fix(antigravity): renew a refused token once and retry a failed project lookup (#1510)
  • fix: fix(antigravity): show active Gemini quotas and session resets (#1641)
  • fix: fix(auth): keep renewed tokens when the Keychain write fails (#1515)
  • fix: fix(auth): wait out Retry-After before renewing a sign-in early again (#1526)
  • fix: fix(claude): a late success keeps a newer 429 window (#1527)
  • fix: fix(claude): ask for user:inference so Use can spend a reset (#1652)
  • fix: fix(claude): fail a sign-in whose profile read failed instead of adding a duplicate (#1525)
  • fix: fix(claude): make a new sign-in prove itself with its own request (#1536)
  • fix: fix(claude): re-read reset grants once a grant is spent (#1531)
  • …and 211 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

robinebers/openusage was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 509c62824b19fa300895f278eb09926bee1086b2 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.