Commit Graph

231 Commits

Author SHA1 Message Date
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 v1.1.8 2025-12-22 22:41:50 +08:00
Supra4E8C
68974ffc68 feat(ai-providers): add prefix editing for provider configs v1.1.7 2025-12-21 23:46:39 +08:00
Supra4E8C
f8ed787f92 fix(splash): prevent login flicker on startup v1.1.6 2025-12-21 20:22:22 +08:00
Supra4E8C
dea106cf47 fix(splash): preserve logo aspect ratio v1.1.5 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 v1.1.4 2025-12-21 10:40:04 +08:00
Supra4E8C
18c1ba6c3c feat(ampcode): remove localhost-only management toggle v1.1.3 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 v1.1.2 2025-12-20 12:34:45 +08:00
Supra4E8C
10f2262753 fix(ai-providers): gate Claude models input and refine excluded tag styles v1.1.1 2025-12-19 23:54:26 +08:00
Supra4E8C
39d86d133a feat(oauth): add callback URL submission and require Gemini CLI project ID v1.1.0 2025-12-19 18:04:14 +08:00
Supra4E8C
ddbd7d00bd fix v1.0.6 2025-12-18 17:49:59 +08:00
Supra4E8C
e44beb541f feat v1.0.5 2025-12-18 12:36:17 +08:00
Supra4E8C
aecd5875d6 feat(usage): add loading overlay and 60s API timeout v1.0.4 2025-12-18 01:03:12 +08:00
Supra4E8C
ec4b5ab46a feat: add quick links section to System page v1.0.3 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 v1.0.2 2025-12-17 12:14:35 +08:00
Supra4E8C
16f3442a11 fix: refactor usage v1.0.1 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
5eed3e787b Delete .claude/settings.local.json v1.0.0 2025-12-15 23:39:40 +08:00
Supra4E8C
5ebc845a1f Delete CLEAR_STORAGE.html 2025-12-15 23:39:14 +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
e615979757 Merge pull request #22 from AoaoMH/feature/auth-model-check
feat: add model list viewer for auth file cards
2025-12-14 18:06:25 +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
Test
2a87a4d82a feat: Add 404 judgment; Virtual authentication files also support obtaining model lists; Chinese support for virtual authentication file i18n; 2025-12-14 17:19:51 +08:00
Test
abf9b5f8c9 feat: add model list viewer for auth file cards 2025-12-14 15:17:00 +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