- Implemented a new hook `useVisualConfig` for managing visual configuration state and YAML parsing.
- Added types for visual configuration in `visualConfig.ts`.
- Enhanced `ConfigPage` to support switching between visual and source editors.
- Introduced floating action buttons for save and reload actions.
- Updated translations for tab labels in English and Chinese.
- Styled the configuration page with new tab and floating action button styles.
- Add Kiro quota types (KiroFreeTrialInfo, KiroUsageBreakdown, KiroQuotaPayload, KiroQuotaState)
- Add Kiro API constants and request headers
- Add isKiroFile validator and parseKiroQuotaPayload parser
- Add KIRO_CONFIG with fetchKiroQuota and renderKiroItems
- Add kiroQuota state to useQuotaStore
- Add Kiro QuotaSection to QuotaPage
- Add Kiro styles (.kiroGrid, .kiroControls, .kiroControl, .kiroCard)
- Add i18n translations for kiro_quota (zh-CN and en)
Features:
- Separate display for base credits and bonus credits (freeTrialInfo)
- Total credits summary
- Correct parsing of seconds timestamp (scientific notation like 1.769904E9)
- Reset time display
- Subscription type display
- Add 'auto' to Theme type
- Implement cycleTheme (light -> dark -> auto)
- Add autoTheme icon (sun with half-filled center)
- Listen to system theme changes in auto mode
Also includes some Prettier formatting fixes.
- Add ampcodeApi service for upstream URL, API key, and model mappings management
- Implement Ampcode configuration modal in AiProvidersPage
- Add complete i18n translations for Ampcode features (en and zh-CN)
- Enhance UsagePage with mobile-responsive chart improvements and legend display
- Optimize chart rendering for smaller screens
- Improve page layout styles (SystemPage, AiProvidersPage alignment)
- Add excludedModels field to ProviderKeyConfig type for Codex and Claude providers
- Add excluded models textarea input in Codex/Claude edit modal
- Display excluded models badges in Codex and Claude provider cards
- Fix header connection status badge vertical alignment with IP address
- Update dark theme to use pure black color scheme