mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
## Backend Changes - Add `get_provider_alias_config` and `get_all_alias_configs` Tauri commands - Refactor AntigravityProvider to use fallback constants - Export ANTIGRAVITY_MODELS_FALLBACK from providers module - Update provider_pool_model to use shared model constant - Add ProviderAliasConfig to model_registry ## Frontend Changes - Modify ProviderModelSelector to handle alias providers independently - Add aliasConfig state and loading logic - Convert alias models to EnhancedModelMetadata format for display - Add ModelAlias and ProviderAliasConfig TypeScript types - Add getProviderAliasConfig/getAllAliasConfigs API functions ## Refactoring - Remove routing components and commands (simplified architecture) - Clean up unused router tests - Update config observer pattern 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
components
架构说明
React 组件层,包含 UI 组件和业务组件。 使用 TailwindCSS 进行样式管理,shadcn/ui 作为基础组件库。
文件索引
agent/- AI Agent 聊天页面组件api-server/- API 服务器配置组件clients/- 客户端管理组件config/- 配置管理组件connect/- ProxyCast Connect 组件(中转商 API Key 添加)extensions/- 扩展功能组件flow-monitor/- LLM 流量监控组件mcp/- MCP 服务器管理组件plugins/- 插件管理组件prompts/- Prompt 管理组件provider-pool/- Provider 凭证池管理组件resilience/- 弹性策略配置组件routing/- 路由规则配置组件settings/- 设置页面组件skills/- 技能管理组件switch/- 开关控制组件tools/- 工具页面组件ui/- 通用 UI 组件(按钮、输入框等)websocket/- WebSocket 管理组件AppSidebar.tsx- 全局图标侧边栏(类似 cherry-studio)ConfirmDialog.tsx- 确认对话框HelpTip.tsx- 帮助提示组件Modal.tsx- 模态框组件Providers.tsx- Provider 管理页面Sidebar.tsx- 旧版侧边栏导航(已弃用)SplashScreen.tsx- 启动画面组件
更新提醒
任何文件变更后,请更新此文档和相关的上级文档。