Commit Graph
291 Commits
Author SHA1 Message Date
LTbinglingfeng 87702bb5a0 feat(provider-stats): add total stats calculation and display for API keys in resource detail view 2026-05-26 04:17:06 +08:00
LTbinglingfeng d64210fd58 refactor(page-transition): enhance transition animations and reduce motion handling for improved accessibility 2026-05-26 02:17:07 +08:00
LTbinglingfeng 4d6a5da5c7 refactor(icons, layout): update SVG icons and adjust layout styles for improved UI consistency 2026-05-26 01:38:40 +08:00
LTbinglingfeng 544b365fa6 feat(nav): restructure navigation items into groups with metadata and update styles 2026-05-26 01:15:59 +08:00
LTbinglingfeng d2ab416f6c fix(providers): fetch recent requests on mount
The new workbench only wired refreshRecentRequests into the manual refresh
button; the hook itself just set an interval (240s). As a result the
status bar showed empty/zero until the first poll. Load on mount when
enabled (cache hit avoids a network round-trip).
2026-05-25 23:51:49 +08:00
LTbinglingfeng 4142d91e9b chore(ui): remove unused HeaderInputList and ModelInputList
These helpers were only consumed by the old AiProviders edit pages and
became orphaned after the providers refactor. modelInputListUtils.ts was
only used by ModelInputList, so it goes too.
2026-05-25 23:03:36 +08:00
LTbinglingfeng 844385e1d3 chore(providers): remove dead exports left over from refactor
- Drop empty barrel src/components/providers/index.ts (no external importers)
- Drop src/components/providers/types.ts (only referenced in a stale comment)
- Trim src/components/providers/utils.ts to the 10 exports actually used
  externally; remaining helpers (ampcode mappers, key builders, base URL
  normalizers, redundant recent-stats wrappers) were dead after the
  ProvidersWorkbench rewrite
2026-05-25 23:02:31 +08:00
LTbinglingfeng 85d6b76387 feat(select): add small size option for Select component and corresponding styles
fix(provider): update button icon styles in ProviderHeaderCard
style(provider): enhance layout and typography in ProviderHeaderCard and ProviderResourcePanel
fix(provider): update status styles in ProviderResourceTable and sharedForm
2026-05-25 03:15:35 +08:00
LTbinglingfeng 8c3c9c1ec4 fix(providers): confirm before discarding unsaved edits in the provider sheet
- BaseProviderForm and AmpcodeForm now snapshot the initial form
  signature on mount and report dirty/clean state to the parent via a
  new onDirtyChange callback
- ProviderSheet tracks the form's dirty flag and wraps the cancel
  button plus the new Sheet.confirmClose hook with a confirmation
  prompt; the prompt is skipped during submit and in detail mode
- Sheet gains an optional confirmClose hook so that Escape, overlay
  click and the close button all route through the same async check
  before starting the close animation
- Add i18n keys (en/zh-CN/zh-TW/ru) for the unsaved-changes prompt
2026-05-25 02:00:50 +08:00
LTbinglingfeng 34a050dffa refactor: remove deprecated AI provider edit pages and related stores
- Deleted AiProvidersVertexEditPage and its associated routes.
- Consolidated AI provider routes under ProvidersWorkbenchPage.
- Removed Claude and OpenAI draft stores as they are no longer in use.
- Updated theme styles to include new workbench tokens for UI consistency.
2026-05-24 03:08:08 +08:00
LTbinglingfeng 9a5c2b0ea4 feat: add xAI/Grok quota management
- Introduced new quota management for xAI/Grok, including types, API calls, and UI components.
- Added localization support for xAI quota in English, Russian, Chinese (Simplified and Traditional).
- Updated styles for xAI quota cards and sections.
- Integrated xAI quota fetching and rendering logic into existing quota management system.
- Enhanced auth file handling to support xAI files.
2026-05-24 01:08:04 +08:00
LTbinglingfeng f0d669f98a feat: remove Home control plane configuration and related validation logic 2026-05-19 00:25:45 +08:00
LTbinglingfeng d6f5c45aa5 feat(i18n): add Home control plane settings and various enhancements
- Introduced Home control plane configuration options in English, Russian, Simplified Chinese, and Traditional Chinese locales.
- Added new fields for error log retention, usage statistics, and image generation settings in visual configuration.
- Enhanced payload model entries to include header management and condition matching capabilities.
- Updated default visual configuration values to accommodate new settings.
2026-05-18 03:08:05 +08:00
LTbinglingfeng cd1e7ff574 feat: refactor ConfigSection styles to improve layout and responsiveness 2026-05-18 02:45:26 +08:00
LTbinglingfeng 4ef5869850 Refactor localization strings for Antigravity Credits and update ConfigPage styles
- Updated English, Russian, Simplified Chinese, and Traditional Chinese localization files to change "Antigravity Credits Retry" to "Use Antigravity Credits" and removed associated descriptions.
- Modified ConfigPage.module.scss to improve layout and styling, including adjustments to widths, gaps, paddings, and border-radius for various elements.
- Simplified the structure of the ConfigPage component by removing unused variables and streamlining the JSX.
2026-05-18 02:38:21 +08:00
Luis Pater 62092cc875 refactor(quotaConfigs.ts): make Chatgpt-Account-Id header optional to handle missing account IDs gracefully 2026-05-10 21:27:19 +08:00
Supra4E8C 6a10082b24 fix(layout): move mobile sidebar toggle left 2026-05-02 04:22:13 +08:00
Supra4E8C 011cd3b106 refactor: update provider stats functions to use total stats and improve type definitions 2026-05-02 04:15:26 +08:00
Supra4E8C 632be0bbe0 refactor: remove unused chart configuration and latency utilities
- Deleted chartConfig.ts and its exports from index.ts, as they are no longer needed.
- Removed latency.ts and its related functions for latency statistics and formatting.
- Cleaned up usageIndex.ts by removing functions related to indexing usage details, as they are not in use.
2026-05-02 03:41:14 +08:00
Supra4E8C b25f722fef Refactor provider usage tracking to utilize recent requests data
- Introduced `useProviderRecentRequests` hook to manage recent request data for providers.
- Replaced usage of `useProviderStats` with `useProviderRecentRequests` in relevant components.
- Updated `VertexSection` and other provider components to consume recent request data instead of key stats.
- Removed obsolete `useProviderStats` hook and related usage details.
- Added new utility functions for handling recent request data, including normalization and aggregation.
- Updated API service to fetch recent request usage data.
- Refactored `AuthFileCard` and related components to utilize recent request statistics.
- Cleaned up unused code and types related to previous usage stats implementation.
2026-05-02 02:53:15 +08:00
Supra4E8C cc8632b6f1 fix: adjust opacity style condition for OpenAI provider card 2026-04-30 21:22:08 +08:00
Supra4E8C a4d1c23634 feat: add toggle functionality for enabling/disabling OpenAI providers 2026-04-30 19:52:01 +08:00
Supra4E8C 808f44dd9c fix: remove total latency references from ModelStatsCard and localization files 2026-04-30 01:21:21 +08:00
Supra4E8C d1733497ba fix: add missing commas and improve code formatting in TokenBreakdownChart and UsagePage 2026-04-30 01:02:24 +08:00
Supra4E8C 7b49063264 Reapply "Improve token type distribution readability"
This reverts commit 7c02cc4f9a.
2026-04-30 00:07:54 +08:00
Supra4E8CandGitHub 7c02cc4f9a Revert "Improve token type distribution readability" 2026-04-29 23:53:14 +08:00
Supra4E8CandGitHub 7c139429bb Merge pull request #235 from Amamiya23/improve-token-breakdown-readability
Improve token type distribution readability
2026-04-29 23:52:35 +08:00
Supra4E8CandGitHub 1f09d9b4bc Merge pull request #234 from vvrfxyz/feature/usage-thinking-column
Show thinking intensity in request events
2026-04-29 00:15:41 +08:00
Amamiya23 bf030d10fc Improve token type distribution readability 2026-04-25 19:34:21 +08:00
vvrf de97726d3c feat: show thinking intensity in request events 2026-04-25 08:35:18 +08:00
Supra4E8C 0095933238 Enhance Dashboard and Layout Styles
- Updated opacity and blur effects for background elements in DashboardPage.
- Adjusted radial gradient color mixes for visual consistency.
- Increased font sizes and modified letter spacing for improved readability in hero sections.
- Implemented a new glassmorphism effect with backdrop filters in various components.
- Refined sidebar styles, including width adjustments and hover effects.
- Enhanced header styles for better responsiveness and visual hierarchy.
- Introduced new gradient backgrounds and box shadows for a modern look.
- Improved mobile responsiveness with adjusted dimensions and layout properties.
2026-04-25 01:05:08 +08:00
Supra4E8C 0bd243e8db feat(OpenAISection): enhance sorting and filtering UI components 2026-04-25 00:21:25 +08:00
Supra4E8C 485fcbbe3d fix(ai-providers): avoid nested model filter controls 2026-04-24 23:16:52 +08:00
Supra4E8C d8d0538e3c fix(ai-providers): avoid API key in OpenAI entry keys 2026-04-24 23:14:25 +08:00
Supra4E8CandGitHub fc8e2a8787 Merge pull request #212 from liucong2013/feat/openai-provider-ui-enhancements
增强AI提供商列表筛选、排序与布局
2026-04-24 23:11:14 +08:00
liucong2013 be92535c98 fix(openai): polish provider list overlays and i18n 2026-04-22 17:48:58 +00:00
liucong2013 b753145887 fix(openai): address provider UI review feedback 2026-04-20 16:21:05 +00:00
Supra4E8CandGitHub b45639aa01 Merge pull request #223 from yousiki/fix/claude-team-plan-detection
fix(quota): detect Claude Team organizations instead of marking Free
2026-04-20 23:45:50 +08:00
Supra4E8C 3212f6591b feat(config): add session affinity routing settings 2026-04-20 23:44:22 +08:00
yousiki c43df080fb fix(quota): detect Claude Team organizations instead of marking Free
Claude Team accounts report has_claude_pro=false and has_claude_max=false,
so the plan detection fell through to plan_free even though the OAuth
profile clearly identifies an active Claude Team organization. Inspect
organization.organization_type and subscription_status before falling
back to Free, and add a plan_team label across locales.

Fixes router-for-me/Cli-Proxy-API-Management-Center#222
2026-04-20 14:35:32 +09:00
liucong2013 d81c5c93ec Merge upstream/main into feat/openai-provider-ui-enhancements 2026-04-19 18:42:57 +00:00
liucong2013 389604825d feat(openai): improve floating header behavior and provider cards
- align the floating OpenAI header with the original card layout on desktop
- disable the floating header on small screens
- refine spacing, borders, and toolbar positioning for the floating header
- keep long model names and aliases fully visible without overflowing cards
2026-04-19 18:10:13 +00:00
Supra4E8C a28920de94 feat: enhance source information handling and disambiguation in usage components 2026-04-18 23:34:40 +08:00
Supra4E8C a1401d40c0 feat: enhance usage tracking with auth index support across providers 2026-04-18 18:14:22 +08:00
liucong2013 feff3f376c Fix provider list scope and key stability 2026-04-17 21:34:00 +00:00
liucong2013 e801844f3b fix: improve OpenAI provider model dropdown behavior 2026-04-16 01:43:25 +00:00
xin 496f9900c6 fix(usage): normalize high-precision RFC3339 timestamps 2026-04-15 19:12:48 +08:00
liucong2013 4c4856794f feat(openai): add provider sorting and model filters 2026-04-14 22:58:26 +00:00
Supra4E8C 5cbfbe8fea feat(config): add antigravity credits visual toggle 2026-04-12 00:41:53 +08:00
Supra4E8C 7d58341941 fix(quota): distinguish codex pro plan labels 2026-04-11 16:47:34 +08:00