22 Commits
Author SHA1 Message Date
coso 558e80e5a7 release: v1.12.0 2026-04-16 23:32:03 +08:00
coso 0f15b8a71e release: v1.9.0 2026-04-13 02:50:53 +08:00
coso 7c06f84e16 release: v1.4.0 2026-04-06 22:50:50 +08:00
coso f9ff9c1abd release: prepare v1.2.0 2026-04-04 09:45:04 +08:00
coso dc37baff36 release: v0.93.0 2026-03-21 23:10:41 +08:00
coso 7242707293 release: v0.92.0 2026-03-20 23:03:38 +08:00
Alex-wuhuandClaude Sonnet 4.6 fd069d8858 feat: add NovitaProvider (OpenAI-compatible) with models and tests
- Add src-tauri/crates/providers/src/providers/novita.rs: NovitaProvider
  following the OpenAICustomProvider pattern with default endpoint
  https://api.novita.ai/openai, NOVITA_API_KEY env var fallback,
  supported models (moonshotai/kimi-k2.5, deepseek/deepseek-v3.2,
  zai-org/glm-5), embedding model (qwen/qwen3-embedding-0.6b),
  StreamingProvider impl, and unit tests.
- Register NovitaProvider and its constants in providers/mod.rs.
- Fix system_providers.rs: update Novita api_host from
  https://api.novita.ai/v3/openai to https://api.novita.ai/openai.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 19:20:19 +08:00
coso d15d9aa65d feat: release v0.89.0 and rename Proxycast to Lime 2026-03-17 07:16:33 +08:00
coso bfacf764b7 feat: release v0.83.2 with full pending changes 2026-03-10 19:17:54 +08:00
coso ef8ca1dce4 fix: 修复所有测试和代码质量问题
- 修复 6 个失败的 Rust 测试
  - test_bundled_social_post_with_cover_skill_contract: 支持 SKILL.md 中的中文引号
  - workspace_commands_roundtrip: 使用驼峰命名 workspaceType
  - should_embed_social_image_tool_contract_in_default_skill: 更新为 **配图说明**
  - 修复 normalize 相关测试中的配图说明断言

- 修复 clippy 警告
  - 为多个枚举添加 #[derive(Default)]
  - 实现 std::str::FromStr trait 替代自定义 from_str
  - 修复不必要的 unwrap 调用
  - 使用 vec![] 宏替代 vec init then push

- 修复前端 ESLint 错误
  - ThemeWorkbenchSidebar: 20+ 个未使用变量加下划线前缀
  - useConfiguredProviders: 修复 React hooks 依赖项

- 所有核心测试通过 (328 passed; 0 failed)
- npm lint 通过
- 代码格式化通过
2026-03-09 09:44:45 +08:00
coso 2888352a00 feat: release v0.81.0 with full pending changes 2026-03-08 07:53:37 +08:00
cosoandClaude Opus 4.6 7516671610 feat: release v0.80.0 with gateway tunnel system and agent improvements
Major Features:
- Gateway tunnel system with Discord/Feishu/Telegram support
- Agent request tool policy management
- Aster session recovery mechanism
- Channel log viewer UI with filtering

Improvements:
- Refactor MCP database migration and config hot-reload
- Optimize request tool policy service
- Add comprehensive tests for new features

Fixes:
- Fix test compilation errors (Config gateway field, type inference)
- Fix doctest import paths
- Fix flaky antigravity token validation test
- Fix CI build issues

Dependencies:
- Update pnpm-lock.yaml and Cargo.lock

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-05 16:50:44 +08:00
coso 2557f22bb2 chore(release): v0.79.0 2026-03-04 18:23:59 +08:00
cosoandClaude Opus 4.6 c3b77ef849 feat: release v0.78.0 with full pending changes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-03 23:32:52 +08:00
coso 5cd3eda653 release: bump version to v0.75.0 2026-02-28 22:42:28 +08:00
coso 927b757b30 chore(release): bump version to 0.70.0 2026-02-21 21:58:33 +08:00
coso 7851c34bed release: v0.68.0
## Features
- 版本升级至 0.68.0

## Fixes
- 修复 EmptyState 组件标题排版问题
- 修复"开始生成"按钮文字换行问题
- 修复加载历史对话失败问题
  - 修复 parse_message_content 保留 ContentPart 结构
  - 修复 convert_agent_message 添加 reasoning_content 处理
  - 修复 WorkspaceType::from_str 命名冲突,重命名为 parse

## Code Quality
- 修复所有 clippy 警告
  - 修复 manual_flatten 警告
  - 修复 ptr_arg 警告(使用 &Path 替代 &PathBuf)
  - 修复 manual_clamp 警告
  - 修复 match_single_binding 警告
- 所有测试通过 (174 passed)
2026-02-16 20:58:55 +08:00
coso 2e35df927d release: v0.67.0 2026-02-16 02:54:58 +08:00
cosoandClaude Opus 4.6 b14dbe8271 feat: 实现 Agent 调度器系统
实现完整的 Agent 任务调度系统,支持定时任务、批量处理和后台持续运行。

## 新增功能

### 1. proxycast-scheduler Crate
- 创建独立的调度器 crate
- 实现 SchedulerTrait 接口
- 支持任务 CRUD 操作
- 任务持久化到 SQLite

### 2. 数据模型
- ScheduledTask: 调度任务结构
- TaskStatus: 任务状态枚举 (Pending, Running, Completed, Failed, Cancelled)
- TaskFilter: 任务查询过滤器

### 3. AgentScheduler
- 实现调度器核心逻辑
- 支持任务创建、查询、更新、删除
- 支持到期任务查询
- 自动状态管理

### 4. AgentExecutor
- 实现任务执行器
- 通过 CredentialBridge 自动选择凭证
- 支持多种任务类型:
  - agent_chat: Agent 对话任务
  - batch_process: 批量处理任务
  - scheduled_report: 定时报告任务
- 自动标记凭证健康状态

### 5. SchedulerService (Heartbeat Loop)
- 实现心跳循环服务
- 每 30 秒轮询到期任务
- 自动执行到期任务
- 支持优雅启动和关闭 (CancellationToken)
- 集成到 Tauri setup

### 6. 数据库集成
- 创建 scheduled_tasks 表
- 添加索引 (status, scheduled_at, provider_type)
- 自动初始化表结构

## 技术实现

- 使用 tokio::spawn 启动后台任务
- 使用 tokio::time::interval 实现定时轮询
- 使用 tokio::select! 监听取消信号
- 完整的错误处理和日志记录
- 所有模块包含单元测试

## 文件清单

新增:
- src-tauri/crates/scheduler/Cargo.toml
- src-tauri/crates/scheduler/src/lib.rs
- src-tauri/crates/scheduler/src/types.rs
- src-tauri/crates/scheduler/src/dao.rs
- src-tauri/crates/scheduler/src/scheduler.rs
- src-tauri/crates/scheduler/src/executor.rs
- src-tauri/src/app/scheduler_service.rs

修改:
- src-tauri/Cargo.toml (添加 scheduler 依赖)
- src-tauri/src/app/mod.rs (导出 scheduler_service)
- src-tauri/src/app/setup.rs (集成调度器服务)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-09 21:47:52 +08:00
coso 19e14c0f4c refactor: 拆分 crate 架构 - models/providers/config/middleware/plugin 迁移到子 crate
- proxycast-core: models, data, logger, errors, backends, connect, session_files,
  orchestrator, session(rate_limit/sticky), config, middleware, plugin
- proxycast-providers: providers, converter, streaming, translator, stream,
  session(SessionManager/signature_store)
- 主 crate 保留 Tauri 业务逻辑,通过 re-export 保持 API 兼容
- 版本号升级到 0.60.0
- 移除已删除的 useFlowEvents hook 导出
- 移除已废弃的 flow_monitor 端到端测试
2026-02-08 03:19:44 +08:00
coso 6dd714f110 feat: 从 Provider API 获取模型列表 & 修复 UTF-8 切片 panic
主要更新:
- 新增从 Provider /v1/models API 获取模型列表功能
- 当本地模型注册表为空时自动从 API 获取
- 修复 OpenAI 协议中 UTF-8 字符串切片导致的 panic
- 统一 Provider ID 与 JSON 文件名一致
- 添加数据库迁移逻辑处理旧版 Provider ID
- 清理未使用的模块 (injection, proxy, resilience, telemetry)
- 重构 workspace crates 结构

版本: 0.47.4
2026-01-16 12:46:47 +08:00
coso 99453292a9 chore: prepare workspace migration and bump version to 0.47.3 2026-01-16 00:52:36 +08:00