Skip to content

Conversation

@ankuku
Copy link

@ankuku ankuku commented Jan 10, 2026

Some additional security and UX enhancements.

ankuku added 9 commits January 9, 2026 21:17
Adds support for configuring and tracking usage across multiple OpenRouter API
keys via a new settings interface. Refactors the credit manager to fetch and
store detailed, cumulative usage history to local file storage.

- Implements `useMultipleKeys` setting and `APIKeyEntry`/`APIKeyStatus` structs
- Updates `SettingsView` to manage and display multiple API keys securely
- Introduces `FileStorageManager` for robust, persistent usage history tracking
- Refactors `OpenRouterCreditManager` fetch logic to support multi-key validation
- Implements a custom 2-row SwiftUI view for the menu bar item display
- Adds key usage cost and limit display to the detailed menu bar view
Updates the menubar layout to use intrinsic sizing and removes deprecated
storage functions that used raw UserDefaults or redundant Keychain list storage.

- Remove legacy API key storage relying on UserDefaults
- Remove redundant Keychain methods for storing multiple raw strings
- Refine `MenuBarDisplayView` padding and apply `fixedSize`
- Eliminate fixed width constraints on the status bar item for dynamic sizing
added updated screenshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant