Commit Graph
100 Commits
Author SHA1 Message Date
Supra4E8C 3a66dc225d feat(auth): add remember-password login and clear local auth data card 2025-12-31 20:04:32 +08:00
Supra4E8C eadfd7a957 feat(quota): group Gemini CLI buckets and refine Gemini quota groups 2025-12-30 21:48:12 +08:00
Supra4E8C f739e0b372 style(config): double editor height 2025-12-30 18:29:47 +08:00
Supra4E8C 23fb88e5fd feat(quota): add zustand store for quota state caching 2025-12-30 18:29:28 +08:00
Supra4E8C 49b9259452 feat(quota): add quota page and update i18n 2025-12-30 14:13:04 +08:00
Supra4E8C 4e26b6c92d feat(auth-files): add Gemini CLI quota card and API call 2025-12-30 12:18:20 +08:00
Supra4E8C 215ce61b48 fix: error display 2025-12-30 00:17:51 +08:00
Supra4E8C a48e06a28c fix(auth-files): use account id for codex quota and show remaining 2025-12-29 23:13:55 +08:00
Supra4E8C 8a59ab73a1 chore(i18n): update antigravity refresh label 2025-12-29 12:33:04 +08:00
Supra4E8C 66d58288b4 fix(auth): update antigravity fetchAvailableModels endpoint 2025-12-29 12:09:37 +08:00
Supra4E8C be3f58f0a8 fix(auth-files): cache Antigravity quota to avoid auto refresh on reopen 2025-12-29 01:18:18 +08:00
Supra4E8C c299e403cc feat(auth-files): add Antigravity quota page size 2025-12-29 00:48:31 +08:00
Supra4E8C 769c05e459 fix: defult language 2025-12-29 00:17:44 +08:00
Supra4E8C 5ef3406068 fix(config-page): restore page and editor scrolling with fixed card height 2025-12-28 23:50:08 +08:00
Supra4E8C 95cbfb8c59 feat(auth-files): add antigravity quota cards with grouping, pagination, and i18n 2025-12-28 23:39:26 +08:00
Supra4E8C c17217875c fix(ai-providers): route openai compat model fetch/test through api-call to avoid CORS 2025-12-28 18:10:21 +08:00
Supra4E8C 981f7ac9b2 refactor(i18n): support per-provider empty state and OAuth messages 2025-12-28 17:41:25 +08:00
Supra4E8C 762db81252 fix: lang fix 2025-12-28 11:53:58 +08:00
Supra4E8C 79f6d87d7b fix(api): improve version header parsing for non-plain headers 2025-12-28 10:55:34 +08:00
Supra4E8C c5d4356d6c fix 2025-12-28 01:04:22 +08:00
Supra4E8C c989dbf1b6 feat(auth-files): add oauth excluded provider tag 2025-12-28 00:48:36 +08:00
Supra4E8C 3cffa19319 fix(footer): prevent copying management center version text 2025-12-28 00:03:16 +08:00
Supra4E8C 2367f122a8 fix(logs): remove action hint text 2025-12-27 23:59:57 +08:00
Supra4E8C 69a8e1657e fix(layout): keep header fixed on mobile scroll 2025-12-27 23:53:23 +08:00
Supra4E8C 987ce0ec4b feat(modal): add floating close button and collapse animatio 2025-12-27 23:40:56 +08:00
Supra4E8C 03bf58671e fix(logs): improve responsive layout for logs page on mobile and small screens 2025-12-27 17:07:31 +08:00
Supra4E8C cb6b810d6d perf(providers,auth-files): cache status bar data and add auto-refresh 2025-12-27 15:26:38 +08:00
Supra4E8C 408e6e5872 feat(auth-files): add visual status bar for auth file health monitoring 2025-12-27 15:12:38 +08:00
Supra4E8C b3808add0f feat(providers): add visual status bar for API key health monitoring 2025-12-27 15:02:32 +08:00
Supra4E8C 0b2e6efe28 fix(logs): keep log panel scroll within viewport 2025-12-27 14:42:10 +08:00
Supra4E8C 8ca6d31a26 feat(oauth): add vertex json login via vertex/import 2025-12-27 08:02:46 +08:00
Supra4E8C 66c6073bbc feat(usage): add usage stats export/import actions 2025-12-27 00:49:41 +08:00
Supra4E8C 2dd3f233d3 feat(logs): add long-press request log download and hints 2025-12-27 00:30:18 +08:00
Supra4E8C 7a65e03ad3 fix(layout): prevent footer gap on non-scroll pages 2025-12-26 23:53:13 +08:00
Supra4E8C 589a5bad4c fix(oauth): use resolvedTheme for provider icons 2025-12-26 18:54:16 +08:00
Supra4E8C bcaa0c8545 Merge branch 'main' of https://github.com/router-for-me/Cli-Proxy-API-Management-Center 2025-12-26 18:42:47 +08:00
Supra4E8C 312a06a8b8 fix(logs): clarify error request logs list behavior 2025-12-26 18:42:41 +08:00
Supra4E8C ea1bdc3ac1 fix(logs): make error log panel scrollable 2025-12-26 17:52:23 +08:00
Supra4E8C 46701b40ad fix(layout): restore scroll and set panel heights 2025-12-26 17:37:49 +08:00
Supra4E8C ff9bd8a33b fix(ai-providers): allow empty Claude base URL 2025-12-25 23:55:31 +08:00
Supra4E8C d0c376fc31 fix(layout): restore full-height panels on mobile/HiDPI 2025-12-25 23:33:52 +08:00
Supra4E8C 834ba43231 fix: ConfigPage.module.scss LogPage.moudle.scss 2025-12-25 01:09:00 +08:00
Supra4E8C 684502c8b6 fix: layout.scss 2025-12-24 23:39:40 +08:00
Supra4E8C 561e06503c feat: update README.md README_CN.md 2025-12-22 23:20:31 +08:00
Supra4E8C 94962158ef feat(settings): move request logging toggle behind hidden entry 2025-12-22 22:41:50 +08:00
Supra4E8C 68974ffc68 feat(ai-providers): add prefix editing for provider configs 2025-12-21 23:46:39 +08:00
Supra4E8C f8ed787f92 fix(splash): prevent login flicker on startup 2025-12-21 20:22:22 +08:00
Supra4E8C dea106cf47 fix(splash): preserve logo aspect ratio 2025-12-21 16:58:14 +08:00
Supra4E8C 76ef1b68af fix(dashboard): improve stats loading and i18n date formatting 2025-12-21 16:54:17 +08:00
Supra4E8C 39a003bdd4 refactor(dashboard): simplify stats and add available models card 2025-12-21 16:27:28 +08:00
Supra4E8C b1426ccefc feat(dashboard): enhance dashboard with provider breakdown and usage stats 2025-12-21 16:06:33 +08:00
Supra4E8C a9df58cba7 feat(dashboard): add dashboard page with stats and splash screen 2025-12-21 16:05:09 +08:00
Supra4E8C f6563490a6 fix(webui): normalize gemini endpoint and oauth callback status 2025-12-21 10:40:04 +08:00
Supra4E8C 18c1ba6c3c feat(ampcode): remove localhost-only management toggle 2025-12-20 18:32:32 +08:00
Supra4E8C c2627cac3e fix: release auto write 2025-12-20 18:17:40 +08:00
Supra4E8C df472119e7 feat: add commit-based release notes, usage loading spinner, and 60s logs timeout 2025-12-20 12:34:45 +08:00
Supra4E8C 10f2262753 fix(ai-providers): gate Claude models input and refine excluded tag styles 2025-12-19 23:54:26 +08:00
Supra4E8C 39d86d133a feat(oauth): add callback URL submission and require Gemini CLI project ID 2025-12-19 18:04:14 +08:00
Supra4E8C ddbd7d00bd fix 2025-12-18 17:49:59 +08:00
Supra4E8C e44beb541f feat 2025-12-18 12:36:17 +08:00
Supra4E8C aecd5875d6 feat(usage): add loading overlay and 60s API timeout 2025-12-18 01:03:12 +08:00
Supra4E8C ec4b5ab46a feat: add quick links section to System page 2025-12-17 18:16:59 +08:00
Supra4E8C cd6c142324 fix: fix log page timestamp display and optimize AuthFiles layout
- Add formatUnixTimestamp utility to auto-detect timestamp precision (s/ms/μs/ns)
  - Fix incorrect file modification time display in logs page
  - Remove fixed height constraint from AuthFilesPage model list
2025-12-17 18:03:25 +08:00
Supra4E8C 0ebf62b564 fix: usage layout 2025-12-17 12:14:35 +08:00
Supra4E8C 16f3442a11 fix: refactor usage 2025-12-17 00:35:02 +08:00
Supra4E8C 3328e686ee fix: ip address in the log is displayed incorrectly 2025-12-16 23:32:49 +08:00
Supra4E8C f60bdb0a8e fix: change the dark mode color 2025-12-16 23:10:17 +08:00
Supra4E8C 03c1cd1dc8 fix: Preparations before release 2025-12-15 23:22:08 +08:00
Supra4E8C db6d5ca4b5 feat: A timeout failure was provided for the model test of OpenAI compatible providers 2025-12-15 23:02:33 +08:00
Supra4E8C 8d606aa456 fix(ui): optimize mobile layout for header and settings page 2025-12-15 18:53:03 +08:00
Supra4E8C a993299cb5 fix:Continue from the previous one 2025-12-15 17:48:23 +08:00
Supra4E8C 8bcd172c5a fix(auth): add singleton pattern to restoreSession and unify config fetch 2025-12-15 17:47:32 +08:00
Supra4E8C 4d898b3e20 feat(logs): redesign LogsPage with structured log parsing and virtual scrolling
- Add log line parser to extract timestamp, level, status code, latency, IP, HTTP method, and path
  - Implement virtual scrolling with load-more on scroll-up to handle large log files efficiently
  - Replace monolithic pre block with structured grid layout for better readability
  - Add visual badges for log levels and HTTP status codes with color-coded severity
  - Add IconRefreshCw icon component
  - Update ToggleSwitch to accept ReactNode as label
  - Fix fetchConfig calls to use default parameters consistently
  - Add request deduplication in useConfigStore to prevent duplicate /config API calls
  - Add i18n keys for load_more_hint and hidden_lines
2025-12-15 17:37:09 +08:00
Supra4E8C f17329b0ff feat(layout): add logout button to header
Add a logout icon and button to the main layout header,
  allowing users to log out directly from the navigation bar.
2025-12-15 01:37:21 +08:00
Supra4E8C 2757d82007 feat: improve iFlow cookie auth UX with duplicate config handling
- Add 409 conflict handling for duplicate iFlow config files
  - Add key creation hint in cookie login section
  - Move extra actions button after delete button for consistency
  - Improve OAuth status badge display logic (hide when idle)
  - Add config toggle enable/disable i18n translations
  - Adjust item-actions spacing from sm to md
2025-12-15 01:19:57 +08:00
Supra4E8C 340c1f1ae5 fix(i18n): correct interpolation syntax and add missing translation keys
- Fix i18next interpolation from {var} to {{var}} format in en.json
  - Add gemini_base_url_label translation key for better form labeling
  - Add virtual auth file and model list related translations
  - Adjust UsagePage title font size to 28px for consistency
2025-12-14 23:44:25 +08:00
Supra4E8C 09c17c03b9 feat: unify page layout with consistent page titles and structure
- Add page title (h1) to all main pages for consistent hierarchy
  - Wrap page content in container/content div structure
  - Handle 404 error for unsupported OAuth excluded models API
  - Add cache price input field in usage page model pricing
  - Add upgrade required i18n messages for older CPA versions
  - Import mixins in page-level SCSS modules
2025-12-14 20:05:59 +08:00
Supra4E8C 9d648e3404 feat: add cache token pricing support in usage calculation
- Add cache price field to ModelPrice interface
  - Support both cached_tokens and cache_tokens fields for compatibility
  - Separate prompt, cache, and completion pricing in cost calculation
  - Deduct cached tokens from input tokens before prompt pricing
  - Refactor getApiStats/getModelStats to reuse calculateCost function
  - Update i18n labels for model pricing
2025-12-14 18:50:37 +08:00
Supra4E8C ea2ce4047f feat: improve iFlow cookie auth UX with duplicate config handling
- Add 409 conflict handling for duplicate iFlow config files
  - Add key creation hint in cookie login section
  - Move extra actions button after delete button for consistency
  - Improve OAuth status badge display logic (hide when idle)
  - Add config toggle enable/disable i18n translations
  - Adjust item-actions spacing from sm to md
2025-12-14 18:04:26 +08:00
Supra4E8C aea1ceb6be feat: Added disabling features for some of the AI providers 2025-12-14 12:21:54 +08:00
Supra4E8C 20a69a25bc feat:log update 2025-12-14 01:51:23 +08:00
Supra4E8C e0584af365 feat: add Ampcode (Amp CLI Integration) support with configuration UI and i18n
- 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)
2025-12-14 00:31:05 +08:00
Supra4E8C c4034c6467 Update README.md 2025-12-13 17:27:00 +08:00
Supra4E8C ccc82e5802 fix: refine AI providers and auth files styling and layout alignment
- Remove inset box-shadow from stat badges for cleaner appearance
  - Add modelCountLabel style for consistent model count display
  - Refactor model count layout in AiProvidersPage
  - Add openaiTestButton style for proper button height alignment
  - Add item-actions flexbox utility style to layout.scss
2025-12-13 17:15:37 +08:00
Supra4E8C 13d1804e66 feat: improve Settings page retry config UI and enhance excludedModels API support
- Reorganize retry settings into separate Card for better visual hierarchy
  - Move retry update button inline with input field via rightElement
  - Add excluded-models serialization in provider key configuration
  - Add excluded-models normalization support in API transformers with fallback parsing
2025-12-13 16:30:20 +08:00
Supra4E8C 62486534e4 feat: add excluded models support for Codex/Claude providers and fix header 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
2025-12-13 02:20:08 +08:00
Supra4E8C da9469c5aa feat: add models cache store and fix search placeholder truncation
- Add useModelsStore with 30s cache for model list to reduce API calls
  - Refactor SystemPage to use cached models from store
  - Shorten ConfigPage search placeholder to prevent text truncation
2025-12-13 01:35:08 +08:00
Supra4E8C a7b77ffa25 feat:update icon 2025-12-13 00:51:01 +08:00
Supra4E8C bcf82252ea feat: add notification animations and improve UI across pages Add enter/exit animations to NotificationContainer with smooth slide effects Refactor ConfigPage search bar to float over editor with improved UX Enhance AuthFilesPage type badges with proper light/dark theme color support Fix grid layout in AuthFilesPage to use consistent 3-column layout Update icon button sizing and loading state handlin Update i18n translations for search functionality 2025-12-13 00:46:07 +08:00
Supra4E8C 7c0a2280a4 feat: implement versioning system by extracting version from environment, git tags, or package.json, and display app version in MainLayout; enhance ConfigPage with search functionality and CodeMirror integration for YAML editing 2025-12-12 19:10:09 +08:00
Supra4E8C bae7ff8752 feat: enhance AiProvidersPage with OpenAI model discovery functionality, improve localization for model selection messages, and update styles for better user experience 2025-12-12 18:53:51 +08:00
Supra4E8C 2a57055f81 feat: introduce ModelInputList component for managing model entries in AiProvidersPage, enhance MainLayout with header action icons, and improve styling for success and failure statistics across pages 2025-12-12 17:58:23 +08:00
Supra4E8C ad92f0c2ed feat: add success and failure statistics display to AiProvidersPage, refactor data retrieval methods for better clarity and consistency 2025-12-11 12:34:05 +08:00
Supra4E8C d425332eb0 feat: enhance AiProvidersPage with key statistics loading, improve layout styles, and update AuthFilesPage for better visual representation of success and failure stats 2025-12-11 12:24:29 +08:00
Supra4E8C 3c1a600994 feat: improve AuthFilesPage styles by enhancing input component dimensions, adjusting filterItem widths for better layout, and ensuring consistent box-sizing across elements 2025-12-11 01:27:40 +08:00
Supra4E8C 673ab15ad4 feat: update document title for clarity, add logo image, enhance OAuthPage with iFlow cookie authentication feature, and improve localization for remote access messages 2025-12-11 01:18:32 +08:00
Supra4E8C 95218676db feat: update document title and favicon in main.tsx, remove isLocalhost check from OAuthPage for cleaner logic, and enhance overall user experience 2025-12-11 00:17:52 +08:00
Supra4E8C defa633f92 refactor: remove isLocalhost check from MainLayout, update UsagePage styles for improved layout and spacing, and adjust layout.scss for better sidebar toggle appearance 2025-12-10 23:49:01 +08:00
Supra4E8C 841dfa8a61 feat: add INLINE_LOGO_JPEG to MainLayout for branding, enhance layout styles in UsagePage for improved spacing and responsiveness, and update layout.scss for better logo handling and alignment 2025-12-10 22:56:47 +08:00
Supra4E8C bf5f34be0d feat: enhance AuthFilesPage with improved layout and styling, add filter and pagination features, and implement detailed file statistics and actions for better user interaction 2025-12-10 12:31:40 +08:00