Commit Graph

3 Commits

Author SHA1 Message Date
farion1231
654a4745d5 feat: 添加 API Key 快速输入功能
- 选择预设模板后自动显示 API Key 输入框
- 输入 API Key 后自动更新 JSON 配置
- 简化用户配置流程,无需手动编辑 JSON
- 优化交互体验,API Key 输入框位于供应商名称下方
2025-08-21 22:20:57 +08:00
farion1231
0c7043154a feat: 添加快速选择模板按钮的选中状态
- 为模板选择按钮添加选中后保持深色的视觉反馈
- 选中状态与hover状态共享相同的样式
- 用户可以清楚地看到当前选中的模板
2025-08-21 21:46:48 +08:00
farion1231
482298411a 代码重构:移除 any 类型并抽取共享表单组件
- 移除所有 any 类型声明,提升类型安全性
- 简化 ClaudeCodeSettings 接口为通用的 Record<string, any>,支持任意供应商配置
- 创建 ProviderForm 共享组件,减少重复代码约 300 行
- 优化 Store 类型定义,使用泛型约束确保类型安全

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-08 15:03:38 +08:00