You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #236 from LunarECL/feat/menu-bar-account-discrimin…
…ator-truncation
feat(omp): condense long account discriminators in the menu bar
fix(claude): deduplicate token usage by messageId and requestId
- Add optional `messageId` and `requestId` fields to TokenUsageRecord
- Parse these identity fields from JSONL assistant messages
- Collapse duplicate records sharing `(messageId, requestId)` using last-wins logic
- Prevent overcounting from streaming snapshots, parallel calls, and resumed sessions
- Update ClaudeDailyUsageAnalyzer to deduplicate before aggregation
- Add comprehensive tests covering deduplication scenarios to ensure accuracy
feat(session): ignore background quota probe events
- Add isClaudeBarProbe property to SessionEvent to detect
events from ClaudeBar's own quota probe process
- Skip probe events in hook server to prevent polluting recent
sessions and spamming notifications (issue #172)
- Add tests covering probe detection logic and edge cases