46 Commits
Author SHA1 Message Date
LTbinglingfeng 57eeff505f feat: add support for xAI provider with OAuth integration and localization 2026-05-17 02:46:05 +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 7d3c57092b refactor: remove unused fields and streamline auth file editor logic 2026-05-02 03:22:32 +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 2f2a571d23 feat(AuthFiles): add disabled filter option and enhance delete confirmation messages 2026-04-25 01:59:26 +08:00
xin 496f9900c6 fix(usage): normalize high-precision RFC3339 timestamps 2026-04-15 19:12:48 +08:00
Supra4E8C f408e56ca7 feat(authFiles): enhance header validation and error handling in editor 2026-04-11 13:15:06 +08:00
Bryan Nie b5aaba447b fix(authFiles): address PR review comments for custom headers
- Add missing translation keys for headers hint

- Use dynamic translation key for headers textarea placeholder

- Add validation and error throwing for invalid JSON headers

- Prevent saving if headers JSON is invalid
2026-04-04 21:33:11 +08:00
Bryan Nie 3345fa2b88 feat(authFiles): support customizing headers for auth files
This feature adds a new UI to edit custom headers for auth files, following the backend enhancement (router-for-me/CLIProxyAPI#2457).
2026-04-04 21:03:16 +08:00
Supra4E8C 5a7b7e0b52 fix(auth-files): optimize status bar cache 2026-04-02 23:52:12 +08:00
Supra4E8C 4b4e37d4fd fix(auth-files): persist auth files UI state in localStorage 2026-03-30 13:19:57 +08:00
Supra4E8C 4b28d8a496 refactor(auth-files): replace regex search with wildcard matching 2026-03-28 02:40:27 +08:00
Supra4E8C 135619ff49 feat(AuthFilesPage): add regex search mode with validation and toggle
feat(i18n): update search placeholders and error messages for regex support
feat(uiState): include regex search mode in AuthFiles UI state
feat(regexSafety): implement regex safety check to prevent catastrophic backtracking
2026-03-28 01:52:55 +08:00
Supra4E8C a388f72f5f feat(authFiles): enhance file upload and deletion handling with batch processing 2026-03-27 23:22:38 +08:00
Supra4E8C 4587df2bdb feat(AuthFilesPage): add persistent compact mode state management 2026-03-27 18:18:53 +08:00
Supra4E8C 693d821e1a feat(VisualConfigEditor): enhance sidebar behavior and styling for better responsiveness 2026-03-22 23:28:16 +08:00
Supra4E8C 82aa44d996 feat(auth-files): add support for separate regular and compact page sizes 2026-03-22 15:15:45 +08:00
Supra4E8C 7495604ad3 fix(auth-files): prevent batch status race conditions 2026-03-22 14:55:45 +08:00
Supra4E8C e44a9fc099 feat(auth-files): improve credential cards, bulk actions, and dedupe auth file list 2026-03-22 14:41:57 +08:00
Supra4E8C 975d0471f7 feat(auth-files): revamp Auth Files page filters and card layout 2026-03-22 13:30:53 +08:00
Supra4E8C faf1e3fbab feat(auth-files): merge auth file details into editor modal 2026-03-22 01:29:23 +08:00
CcandCo-authored-by: cc@net-cc.com 4c2c2c4773 fix(authFiles): 统一 Codex 认证文件的 websockets 字段
Co-authored-by: Co-authored-by: cc@net-cc.com
2026-03-19 14:18:13 +08:00
Supra4E8C c540063528 feat(authFiles): add sorting functionality and update UI components 2026-03-17 01:39:38 +08:00
Supra4E8C acddeace52 Merge pull request #149 from RGBadmin/feat/auth-priority-sort
feat(auth-files): priority display, sorting & credential notes
2026-03-17 01:22:20 +08:00
Supra4E8C 180b097b11 refactor(login): use auth file checkbox style for login options 2026-03-14 15:33:57 +08:00
RGBadminandClaude Opus 4.6 b2d89a8043 feat(auth-files): add note field for individual credentials
- Add note field to the credential field editor (PrefixProxyEditorModal)
- Store note as a string in the credential JSON file
- Display note on AuthFileCard with 2-line clamp for long text
- Note is saved when non-empty, removed from JSON when cleared
- Add i18n translations for zh-CN, en, and ru

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 11:22:54 +08:00
RGBadminandClaude Opus 4.6 8c2d0df32c feat(auth-files): display OAuth credential priority and add sorting
- Show priority value on AuthFileCard when the credential has a priority field
- Add sort dropdown (Default / A-Z Name / Priority) to the credentials list
- Priority sort orders credentials from highest to lowest
- Add i18n translations for zh-CN, en, and ru

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 11:01:06 +08:00
Supra4E8C 15d9c37bd9 fix(auth-files): revert status toggle to /auth-files/status 2026-03-08 00:23:58 +08:00
Supra4E8C 136ab2afeb feat(auth-files): add problem filter functionality and enhance deletion confirmation messages 2026-03-07 17:58:48 +08:00
Supra4E8C cb8208e0f7 feat(auth-files): enhance error handling for invalid JSON and refactor file upload logic 2026-03-07 16:06:23 +08:00
Supra4E8C a84869ed47 fix(auth-files): show Claude quota on auth file cards 2026-03-07 15:21:40 +08:00
Supra4E8C dc941f6857 feat(quota): add Kimi quota management with auth file inline viewing 2026-02-24 17:54:35 +08:00
Supra4E8C 4db98627b3 feat(auth-files): add codex websocket toggle in auth file editor 2026-02-24 12:31:55 +08:00
Supra4E8C 95798f6b4d Remove health status pill from auth file cards 2026-02-23 20:18:25 +08:00
Supra4E8C c9e0c5d73e refactor(usage): centralize normalizeAuthIndex 2026-02-22 16:08:06 +08:00
Supra4E8C c75aeecec5 fix(export): harden downloads and CSV encoding 2026-02-22 12:42:32 +08:00
Supra4E8C b15c70fd6b feat(usage): add shared usage stats store 2026-02-22 03:35:35 +08:00
Supra4E8C 10cd44c0d5 fix(ui): stabilize filter state and auth refresh timing 2026-02-21 17:37:43 +08:00
Supra4E8C bebdfe12f6 chore(i18n): polish auth file health status fallback text 2026-02-21 17:33:50 +08:00
Supra4E8C 6ae85cf715 feat(auth-files): add health badge and refresh status on cards 2026-02-21 17:17:52 +08:00
Supra4E8C 47c3874244 fix(auth-files): polish selection UI and animate batch action bar 2026-02-16 23:13:26 +08:00
Supra4E8C 470ff51579 feat(auth-files): add bulk select, status toggle, and delete actions 2026-02-16 21:58:22 +08:00
Supra4E8C 1f8c4331c7 feat(status-bar): add gradient colors and tooltip with mobile support 2026-02-14 13:24:53 +08:00
Supra4E8C 3a7ddfdff1 fix(clipboard): add fallback helper and unify copy actions 2026-02-14 03:25:33 +08:00
Supra4E8C f003a34dc0 fix(auth-files): unify max auth file size 2026-02-14 00:19:04 +08:00
Supra4E8C e13d7f5e0f refactor(auth-files): split AuthFilesPage 2026-02-14 00:11:41 +08:00