Commit Graph
43 Commits
Author SHA1 Message Date
coso b76bb29ea5 fix(docs): rewrite homepage using HTML/Tailwind instead of Docus components 2025-12-17 13:15:38 +08:00
coso 267bbf75e3 feat: add documentation system with Docus framework
- Add complete documentation structure with 25+ markdown files
- Add introduction, user guide, provider configs, API reference
- Add troubleshooting and development guides
- Add disclaimer for legal use
- Add GitHub Actions workflow for auto-deploying docs to GitHub Pages
- Bump version to v0.11.0
2025-12-17 13:10:58 +08:00
coso 117085e597 fix: increase request body limit to 100MB for Claude Code /compact command
- Add tower-http dependency with limit feature
- Configure DefaultBodyLimit::max(100MB) on axum Router
- Fixes CONTENT_LENGTH_EXCEEDS_THRESHOLD error when using /compact

Closes #2
2025-12-17 12:10:14 +08:00
coso aca666ea1d feat: v0.10.0 - 配置与凭证统一导入导出功能
主要更新:
- 实现以 YAML 配置文件为单一数据源的统一配置管理
- 支持凭证池配置同步到 YAML 文件
- 实现配置和凭证的统一导入导出
- 支持 OAuth Token 文件存储在可配置的 auth-dir 目录
- 实现配置热重载时自动同步凭证池
- 添加导出脱敏功能保护敏感信息
- 支持导入时合并或替换模式
2025-12-17 12:00:54 +08:00
coso a18384bcef chore: bump version to 0.9.0
- Add plugin system (Phase 6)
- Add plugin manager with hook system
- Add plugin loader and lifecycle management
- Add plugin configuration UI
- All Phase 6 tests passing (292 tests)
2025-12-16 18:48:36 +08:00
coso 51b1761e89 feat: v0.8.0 - WebSocket 支持实现
- 添加 WebSocket 模块基础结构 (types, handler, processor)
- 实现 WebSocket 服务器连接握手和升级
- 实现消息处理和请求验证
- 实现流式响应转发和背压控制
- 实现连接生命周期管理 (心跳检测、优雅关闭、资源清理)
- 添加属性测试验证消息往返一致性
- 添加前端 WebSocket 状态显示组件
- 更新版本号到 0.8.0
2025-12-16 11:39:25 +08:00
coso 385ec1a1f8 chore: bump version to 0.7.3 2025-12-15 17:46:31 +08:00
coso ad00ca48e3 feat: 优化UI体验和添加帮助说明 v0.7.2
- 移除冗余的 OpenAI/Claude 自定义 Tab 和可用模型 Tab
- 合并启动/停止服务按钮为单个切换按钮
- 添加可折叠的 HelpTip 组件
- 为凭证池、配置切换、API Server、MCP、Prompts、Skills 页面添加帮助说明
- 在关于页面添加使用说明 Q&A
- 优化日志页面,添加回到顶部按钮
- 优化 Provider 切换提示,显示在框内
- 重命名 AI Clients 为配置切换,说明更清晰
2025-12-15 15:23:10 +08:00
coso b819295379 Merge pull request #1 from zss823158062/feat/react-confirm-dialog
feat: 将系统confirm替换为React ConfirmDialog组件
2025-12-15 14:06:19 +08:00
L_SEN 16b9755e57 feat: 将系统confirm替换为React ConfirmDialog组件
- 新增通用 ConfirmDialog 组件,支持 danger/warning/default 样式
- 修改 ProviderList (switch/clients) 使用 ConfirmDialog
- 修改 ProviderPoolPage 使用 ConfirmDialog
- 修改 PromptsPage 使用 ConfirmDialog
- 修改 McpPage 使用 ConfirmDialog
2025-12-15 14:03:13 +08:00
coso a7449a1993 docs: 重写 README 开头,突出用户故事和使用场景 2025-12-15 13:28:28 +08:00
coso c8abef58b8 feat: 实现本地工具版本检测功能
- AboutSection 组件调用 get_tool_versions 命令
- 自动检测 Claude Code、Codex、Gemini CLI 版本
- 显示安装状态和版本号
2025-12-15 13:20:49 +08:00
coso 2e6de831fa v0.7.0: Add Antigravity Provider, dynamic routes, pre-commit hooks
Features:
- Add Antigravity Provider for Google internal Gemini 3 Pro API
- Add dynamic route support (/:selector/v1/messages)
- Add protocol converter for Antigravity
- Add protocol selector for smart conversion path

Improvements:
- Add pre-commit hooks for local lint/format checks
- Simplify CI to only build check (lint moved to pre-commit)
- Update frontend with Antigravity support

Breaking Changes:
- Route parameter syntax changed from {param} to :param for Axum 0.7
2025-12-15 12:54:23 +08:00
coso f3272b93a2 fix: Kiro OAuth token refresh and health check
- Fix health check request format with correct fields (chatTriggerType, modelId, origin)
- Load clientIdHash file correctly for IdC authentication
- Add success notifications for token refresh and health check
- Clean up debug println statements, use tracing instead
- Fix ESLint warnings

Version: 0.6.1
2025-12-15 09:30:10 +08:00
cosoandClaude Opus 4.5 1f20ed34a9 feat: 添加 Skills 功能,支持浏览和安装 Claude Skills
- 新增 Skills 页面,支持搜索、过滤和安装/卸载 Skills
- 支持从 GitHub 仓库获取 Skills(ComposioHQ/awesome-claude-skills, anthropics/skills, cexll/myclaude)
- 新增仓库管理面板,可添加/删除自定义仓库源
- 后端实现 SkillService 处理下载、安装、卸载逻辑
- 新增数据库表 skills 和 skill_repos 持久化状态
- 版本更新至 0.6.0

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 21:58:04 +08:00
cosoandClaude Sonnet 4.5 ca5de5fed4 ci: 修复 Rust lint job 构建错误
在 Rust lint job 中添加前端构建步骤,确保 dist 目录存在。
这样 Tauri 的 generate_context! 宏才能正常工作。

修复错误:
- The `frontendDist` configuration is set to `"../dist"` but this path doesn't exist

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 19:21:47 +08:00
cosoandClaude Sonnet 4.5 eb6e06c589 style: 运行 prettier 格式化代码
修复了 26 个文件的代码格式问题,确保符合项目的 prettier 配置。

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 18:44:38 +08:00
coso 83a839d72d chore: bump version to 0.5.2 2025-12-14 18:41:52 +08:00
cosoandClaude Sonnet 4.5 dd8d58a157 fix: 修复 Rust lint 警告
修复了以下 clippy 警告:
- 移除未使用的 imports
- 修复未使用的变量(添加 _ 前缀)
- 移除不必要的 mut 关键字
- 为未使用的函数添加 #[allow(dead_code)] 注解
- 使用新的格式化字符串语法(uninlined_format_args)

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 18:40:43 +08:00
coso ad905dc251 chore: bump version to 0.5.1 2025-12-14 18:35:00 +08:00
cosoandClaude Sonnet 4.5 a9610b857c fix: 修复 React Hook useEffect 依赖项警告
修复了三个文件中的 ESLint 警告:
- src/components/clients/LiveConfigModal.tsx
- src/components/switch/LiveConfigModal.tsx
- src/hooks/useMcpServers.ts

使用 useCallback 包装函数,确保依赖项正确声明,避免潜在的无限循环和性能问题。

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 18:33:50 +08:00
cosoandClaude Sonnet 4.5 42d140dfd5 feat: v0.5.0 - 整合模型和日志页面到 API Server
将"模型"和"日志"页面迁移到 API Server 页面中作为标签页,使功能更加集中和关联。

主要变更:
- 创建 ModelsTab.tsx 和 LogsTab.tsx 组件
- 在 API Server 页面添加"可用模型"和"日志"两个新标签页
- 从导航栏移除独立的"模型"和"日志"入口
- 删除原始的 Models.tsx 和 Logs.tsx 文件
- 更新版本号到 0.5.0

优化:
- 导航栏更简洁,减少了两个独立入口
- API Server 页面成为管理代理服务的中心
- 所有功能逻辑保持不变,只是组织结构更合理

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 18:27:58 +08:00
coso cf0bf919c2 v0.4.3: fix IdC token refresh with form-urlencoded format, add debug logging 2025-12-14 14:32:29 +08:00
coso 3fac9f75ca v0.4.2: fix TypeScript type errors, improve isAnyLoading boolean conversion 2025-12-14 13:44:04 +08:00
coso c560e41a12 feat: v0.4.1 - auto start server, token usage stats, expiry check
- Auto start server on app launch
- Fix token usage statistics (estimate from content length)
- Add token expiry check before requests (10 min threshold)
- Change default port to 8999, api_key to proxy_cast
- Fix VecDeque usage in logger
- Fix save_credentials await in providers
2025-12-14 12:55:30 +08:00
coso 97e6ba2651 feat: v0.4.0 - Fix Claude Code tool_use parsing and add version management
- Fix tool_use input parsing: use HashMap to track concurrent tool calls
- Correctly accumulate input fragments for each tool_use event
- Fix tool_result conversion in openai_to_cw.rs
- Add streaming response text block for Claude Code compatibility
- Add model mappings for claude-opus-4-5-20251101 and claude-haiku-4-5-20251001
- Add debug logging for CodeWhisperer requests
- Add unified version management script (scripts/update-version.sh)
- Apply cargo fmt and prettier formatting
2025-12-14 12:32:43 +08:00
coso 9682d405b6 feat: add Claude Code streaming support and enhanced logging
- Add SSE streaming response for Anthropic /v1/messages endpoint
- Add tool_calls support in response parsing
- Add detailed request/response logging for debugging
- Enhance API compatibility check with tool_call test
- Add Claude Code compatibility check UI in Settings
2025-12-14 11:37:35 +08:00
coso 865d0c7b7e feat: add API compatibility check feature
- Add check_api_compatibility Tauri command
- Add API compatibility check UI in Settings page
- Test all configured models with health check
- Show last successful check time
- Display warnings for 401/403/400 errors
- Fix clippy format string warnings
2025-12-14 11:13:42 +08:00
coso 172d50318a feat: add token sync time display and file monitoring status
- Add last sync time display for each OAuth provider (Kiro, Gemini, Qwen)
- Add file hash monitoring indicator (5s interval) in provider panels
- Add Token sync status card in Dashboard with:
  - Token status
  - Refresh token availability
  - Last sync time
  - Last check time
- Auto-reload credentials when file changes detected
- Update eslint config to ignore _prefixed variables
2025-12-14 10:59:04 +08:00
coso fa69ceeaee feat: add frontend lint checks to CI
- Add ESLint config (eslint.config.js) for ESLint 9
- Add ESLint dependencies to package.json
- Update CI workflow to include:
  - ESLint check
  - Prettier format check
- Fix lint errors:
  - Remove unused catch variable in Logs.tsx
  - Add eslint-disable for intentional useEffect dependency
- Run prettier to format all source files
2025-12-14 10:51:48 +08:00
coso d25ca669db fix: resolve all clippy warnings and add CI workflow
- Add Default trait implementations for all providers
- Use inline format string variables (clippy::uninlined_format_args)
- Use Range::contains for status code checks
- Fix needless_range_loop in openai_to_cw converter
- Run cargo fmt to fix formatting
- Add GitHub Actions CI workflow with:
  - Rust clippy lint check
  - Rust format check
  - Frontend TypeScript check
  - Build verification
2025-12-14 10:47:36 +08:00
coso c9b4b78432 docs: format README 2025-12-14 04:06:52 +08:00
coso 6d2c8edc24 docs: add models page screenshot 2025-12-14 03:50:21 +08:00
coso 009c8a58ea feat: add models page with available models list 2025-12-14 03:48:56 +08:00
coso b3bb2dae47 docs: add README with screenshots 2025-12-14 03:31:49 +08:00
coso 244c53430c chore: bump version to 0.2.0 2025-12-14 03:28:04 +08:00
coso 77feae0c66 feat: add default provider switching UI 2025-12-14 03:24:05 +08:00
coso aca733ceb3 feat: add OpenAI and Claude custom providers
- Add OpenAICustomProvider for custom OpenAI-compatible APIs
- Add ClaudeCustomProvider for custom Claude APIs
- Add configuration UI with API key and base URL inputs
- Update Providers page with all 5 provider tabs
- All providers now manageable from single page
2025-12-14 03:18:52 +08:00
coso 4c2840e08f feat: add Qwen (通义千问) OAuth provider
- Add QwenProvider with OAuth token refresh support
- Add Qwen credential management commands
- Update Providers page with Qwen tab
- Auto-detect credential file changes for all 3 providers
- Add Qwen models to /v1/models endpoint
2025-12-14 03:13:04 +08:00
coso d41939ef42 feat: add Gemini CLI OAuth provider
- Add GeminiProvider with OAuth token refresh support
- Add Gemini credential management commands
- Update Providers page with tabs for Kiro/Gemini
- Auto-detect credential file changes for both providers
- Add Gemini models to /v1/models endpoint
- OAuth credentials must be set via GEMINI_OAUTH_CLIENT_ID/SECRET env vars
2025-12-14 03:05:56 +08:00
coso 6d53cccc42 chore: add package-lock.json for CI 2025-12-14 02:56:03 +08:00
coso eb44022058 ci: add GitHub Actions release workflow for Windows and macOS 2025-12-14 02:54:13 +08:00
coso e811b75468 feat: ProxyCast v0.1.0 - Tauri + React AI API Proxy
- Tauri 2.0 + React 18 + TypeScript + Tailwind CSS
- Provider management with Kiro credential loading
- Auto-detect credential file changes (5s interval)
- Dashboard with API testing panel
- Settings page for server configuration
- Logs viewer with real-time updates
- OpenAI compatible API endpoints (/v1/chat/completions, /v1/models)
- Anthropic compatible API endpoints (/v1/messages)
- Default port: 3001, API key: proxycast-key
2025-12-14 02:51:45 +08:00