Commit Graph

442 Commits

Author SHA1 Message Date
kongkongyo
5f2566074f Merge upstream/main: 同步上游更新,保留本地功能 2026-02-06 14:22:19 +08:00
kongkongyo
e2afc17f22 feat: 同步上游更新 - 可视化配置编辑器与导航重构
- feat(config): 添加可视化配置编辑器和 YAML 处理
- feat(i18n): 可视化配置编辑器国际化支持
- feat(logs): 优化日志加载,支持自动预加载
- feat(ui): API 使用统计显示成功/失败状态
- feat(ui): Payload 规则编辑器空状态显示
- refactor(nav): Config Panel 导航重构,移除 Settings/API Keys 页面
- fix(ui): Config Panel 操作栏居中,ProviderNav 移至底部

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-06 14:20:16 +08:00
hkfires
26fa1ea98e feat(logs): optimize log loading with auto-prepend functionality 2026-02-06 12:09:25 +08:00
hkfires
e568e4a2b5 feat(ui): show empty state for payload rules editor 2026-02-06 11:29:21 +08:00
hkfires
4a0386472d feat(ui): show success/failure in API usage stats 2026-02-06 11:23:50 +08:00
LTbinglingfeng
b9001c27c5 fix 2026-02-06 03:56:57 +08:00
LTbinglingfeng
e6e62e2992 feat(i18n): add internationalization support for visual config editor 2026-02-06 03:34:38 +08:00
LTbinglingfeng
f53d333198 fix(ui): center Config Panel action bar and move ProviderNav to bottom 2026-02-06 03:13:13 +08:00
LTbinglingfeng
adcf0b6582 refactor(nav): move Config Panel and remove Settings/API Keys pages 2026-02-06 02:47:37 +08:00
LTbinglingfeng
11c2498be6 feat: add visual configuration editor and YAML handling
- Implemented a new hook `useVisualConfig` for managing visual configuration state and YAML parsing.
- Added types for visual configuration in `visualConfig.ts`.
- Enhanced `ConfigPage` to support switching between visual and source editors.
- Introduced floating action buttons for save and reload actions.
- Updated translations for tab labels in English and Chinese.
- Styled the configuration page with new tab and floating action button styles.
2026-02-06 02:15:40 +08:00
kongkongyo
43ec39040d chore: bump version to 1.1.3 v1.1.3 2026-02-05 21:38:30 +08:00
kongkongyo
d981506942 Merge upstream/main: 合并上游更新,保留本地 Kiro 功能 2026-02-05 21:35:00 +08:00
LTbinglingfeng
7d41afb5f1 feat(auth-files): add quota management features and enhance UI layout 2026-02-05 02:22:23 +08:00
LTbinglingfeng
d4bc0bc622 fix(model-alias): restore diagram drag-and-drop and add touch tap-to-link fallback 2026-02-05 01:26:01 +08:00
LTbinglingfeng
5241d52b14 fix(model-alias): improve diagram mobile layout and refresh reliability 2026-02-05 00:55:03 +08:00
LTbinglingfeng
9887a78889 fix(layout): add scroll container for improved responsiveness and adjust container styles 2026-02-05 00:23:18 +08:00
LTbinglingfeng
759e369d42 fix(drag-and-drop): add data transfer for source and alias during drag events
fix(i18n): update view mode labels in Chinese localization
fix(auth-files): set fork to true in empty mapping entry and improve error handling in save/delete operations
2026-02-05 00:02:05 +08:00
Supra4E8C
db487dc49d Merge pull request #81 from thanhtunguet/main
Add diagram-based view mode for model alias mapping
2026-02-04 23:08:05 +08:00
LTbinglingfeng
a94a9791bc fix(ui): scope ToggleSwitch styles with CSS Modules to prevent label text collapsing into a vertical column 2026-02-04 22:00:57 +08:00
hkfires
473cece09e fix(quota): classify codex windows by 5-hour and weekly limits 2026-02-04 09:31:09 +08:00
Phạm Thanh Tùng
aebe95d221 Merge branch 'router-for-me:main' into main 2026-02-04 01:50:23 +07:00
LTbinglingfeng
08e8fe2edd fix(ProviderNav): remove unused provider icons and clean up code 2026-02-04 01:42:32 +08:00
kongkongyo
20d93142d6 fix: fix right navigation overlapping buttons on AI providers page
Changes:
- Add right padding (80px) to content area to prevent ProviderNav from overlapping buttons
- Mobile responsive: reset right padding to 0 (navigation displays at bottom)

Modified files:
- src/pages/AiProvidersPage.module.scss (modified)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
v1.1.2
2026-02-03 14:08:40 +08:00
kongkongyo
9ee120feb8 chore: bump version to 1.1.1
Changes:
- Upgrade project version from 1.0.9 to 1.1.1

Modified files:
- package.json (modified)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
v1.1.1
2026-02-03 13:35:11 +08:00
kongkongyo
dd21ec2c72 feat: add Kiro OAuth login support
- Add Kiro icon (kiro.svg)
- Add Kiro OAuth with AWS Builder ID and Identity Center (IDC) support
- Add Kiro refreshToken import functionality
- Add i18n translations for Kiro OAuth (en/zh-CN)

Merged from PR #13 with upstream ProviderNav changes preserved
2026-02-03 12:12:03 +08:00
kongkongyo
f54172e2df Merge remote-tracking branch 'upstream/main' 2026-02-03 12:03:57 +08:00
LTbinglingfeng
bca7082bb0 feat(ProviderNav): enhance indicator functionality and improve mobile navigation experience v1.3.2 2026-02-03 00:06:21 +08:00
Lany798
a61893d102 feat: add Kiro OAuth login support
- Add Kiro OAuth card to OAuthPage with AWS Builder ID and IDC login
- Support refreshToken import from Kiro IDE
- Add kiro.svg icon
- Add i18n translations for zh-CN and en
2026-02-02 22:43:26 +08:00
kongkongyo
8513bd4186 chore: bump version to 1.0.9
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
v1.0.9
2026-02-02 21:45:40 +08:00
kongkongyo
d996b95f0a Merge pull request #11: feat: add Kiro quota display support
新增 Kiro (AWS CodeWhisperer) 额度查看功能:
- 配额页面新增 Kiro 额度区块
- 显示基础额度、赠送额度、合计额度
- 显示订阅类型和重置时间
- 支持单个刷新和批量获取

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-02 21:43:04 +08:00
kongkongyo
c4642444ef Merge pull request #12 from router-for-me/main
sync: merge upstream router-for-me/Cli-Proxy-API-Management-Center

主要更新:
- 登录页面重新设计(分屏布局 + 自动登录 UI)
- AI 提供商编辑改为独立页面(替代弹窗模式)
- 新增浮动导航侧边栏,支持快速跳转
- OAuth 模型别名和排除模型编辑页面
- 新增多个模型图标(Codex、DeepSeek、GLM、Grok、Kimi、MiniMax)
- 页面过渡动画优化,防止空白闪烁
- 日志页面新增原始日志显示开关
- 移动端响应式布局优化
- 配额管理新增认证类型统计

冲突解决:
- src/stores/index.ts: 保留本地 useDisabledModelsStore 和 PR 的 useOpenAIEditDraftStore
- src/pages/AiProvidersPage.tsx: 采用 PR 版本(页面导航重构)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-02 21:38:04 +08:00
Phạm Thanh Tùng
d9272d6d0e Merge branch 'router-for-me:main' into main 2026-02-01 17:20:32 +07:00
LTbinglingfeng
f8c4a434ed feat(ProviderNav): update mobile layout to use bottom floating navigation and improve scroll handling v1.3.1 2026-02-01 02:24:05 +08:00
LTbinglingfeng
237cca5680 feat(PageTransition): enhance layer management to prevent blank flashes during transitions 2026-02-01 02:18:14 +08:00
LTbinglingfeng
f0735dbc1e feat(store): add OpenAI edit draft state management 2026-02-01 00:48:28 +08:00
Lany798
f77cbad98e feat: add Kiro (AWS CodeWhisperer) quota display support
- Add Kiro quota types (KiroFreeTrialInfo, KiroUsageBreakdown, KiroQuotaPayload, KiroQuotaState)
- Add Kiro API constants and request headers
- Add isKiroFile validator and parseKiroQuotaPayload parser
- Add KIRO_CONFIG with fetchKiroQuota and renderKiroItems
- Add kiroQuota state to useQuotaStore
- Add Kiro QuotaSection to QuotaPage
- Add Kiro styles (.kiroGrid, .kiroControls, .kiroControl, .kiroCard)
- Add i18n translations for kiro_quota (zh-CN and en)

Features:
- Separate display for base credits and bonus credits (freeTrialInfo)
- Total credits summary
- Correct parsing of seconds timestamp (scientific notation like 1.769904E9)
- Reset time display
- Subscription type display
2026-01-31 23:47:46 +08:00
thanhtunguet
0d40eecbe7 refactor(ModelMappingDiagram): restructure component to utilize new modular columns and improve type definitions 2026-01-31 21:47:49 +07:00
thanhtunguet
ce47d6d985 style(ModelMappingDiagram): remove unused aliasItem class from SCSS file 2026-01-31 21:34:00 +07:00
thanhtunguet
01a69ff32b refactor(AuthFilesPage): optimize provider list generation using useMemo for better performance 2026-01-31 21:33:26 +07:00
thanhtunguet
fd1174e010 fix: update event type handling in ModelMappingDiagram for improved type safety 2026-01-31 21:07:06 +07:00
thanhtunguet
3e55d601a1 feat: enhance OAuth model alias management with new UI components and localization updates 2026-01-31 21:04:34 +07:00
Supra4E8C
c6fabcb6bc fix(ui): sync provider quick switch highlight with scroll target v1.3.0 2026-01-31 17:12:59 +08:00
Supra4E8C
460519ed00 feat: add Codex icons and update references in components 2026-01-31 17:06:27 +08:00
Supra4E8C
1053e91fe4 refactor: move modelsToEntries and entriesToModels to modelInputListUtils for better organization 2026-01-31 16:43:46 +08:00
Supra4E8C
b4d08dd0d7 style(auth-files): add centered padding for OAuth edit pages 2026-01-31 16:12:46 +08:00
Supra4E8C
1502e14ca7 feat: add auth type counts and hide disabled quotas 2026-01-31 16:05:48 +08:00
Supra4E8C
7b77520526 fix 2026-01-31 16:00:40 +08:00
Supra4E8C
525541ea0d feat(ui): add model icons and categories, tweak login redirect delay 2026-01-31 15:53:03 +08:00
Supra4E8C
e7a33f8852 feat(login): enhance error handling with localized messages for various connection issues 2026-01-31 15:24:56 +08:00
Supra4E8C
70968bbc4c feat(login): add auto-login splash UI and simplify app startup 2026-01-31 15:21:13 +08:00