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).
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.
- 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
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
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
Fixesrouter-for-me/Cli-Proxy-API-Management-Center#222
- 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