34 Commits
Author SHA1 Message Date
coso f9ff9c1abd release: prepare v1.2.0 2026-04-04 09:45:04 +08:00
coso 8ea5050aba release: ship v1.1.0 2026-04-02 20:36:21 +08:00
coso 732cf9b390 release: v1.0.0-beta 2026-03-31 02:18:13 +08:00
coso ae7b3163a9 chore: release v0.99.0 2026-03-30 14:31:05 +08:00
coso 818c8fef7b chore: release v0.95.0 2026-03-24 00:56:05 +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
coso a414f44872 release: v0.91.0 2026-03-19 19:05:53 +08:00
coso 8c2cf9f97b Release v0.90.0 2026-03-18 10:39:02 +08:00
coso d15d9aa65d feat: release v0.89.0 and rename Proxycast to Lime 2026-03-17 07:16:33 +08:00
coso 723fafe621 feat: release v0.88.0 with automation and browser runtime upgrades 2026-03-16 15:28:21 +08:00
cosoandClaude Opus 4.6 9758c31140 feat: release v0.86.0 with full pending changes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 21:05:42 +08:00
cosoandClaude Opus 4.6 8995ef9c68 feat: release v0.85.0 with full pending changes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 02:40:20 +08:00
coso 621ab3ee73 feat: integrate AI summary into SessionContextService (P0 phase 1)
- SessionContextService 新增 ai_summary_service 可选字段
- 新增 new_with_ai_summary() 构造函数
- create_summary() 改为异步方法,优先使用 AI 摘要
- AI 摘要失败时自动降级到本地关键词提取
- 将 get_effective_context/preheat_session_context 改为异步
- 修复所有相关测试为 tokio::test
- 全部 11 个测试通过(7 session_context + 4 ai_summary)
2026-03-12 19:05:28 +08:00
cosoandClaude Opus 4.6 75309bd2ef feat: add AI summary service for context management (P0 phase 1)
- 创建 ai_summary_service.rs 模块,实现 AI 驱动的会话摘要
- 支持配置摘要长度、主题数量、决策数量
- 使用 JSON 格式返回结构化摘要(summary, key_topics, decisions)
- 包含完整的单元测试
- 当前使用 mock 实现,待后续集成真实 LLM 调用

相关文档:
- docs/iteration-notes/implementation-progress-report.md - 总体进度报告
- docs/iteration-notes/p0-phase1-implementation-plan.md - P0 阶段 1 详细计划
- docs/iteration-notes/p0-context-management-implementation.md - P0 实施文档
- docs/iteration-notes/context-management-upgrade-plan.md - 上下文管理升级方案

下一步:
- 改造 session_context_service.rs 集成 AI 摘要
- 替换 mock 实现为真实 LLM 调用
- 编写集成测试验证效果

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-12 18:40:22 +08:00
cosoandClaude Opus 4.6 2aa83ee7fc feat: release v0.84.0 with full pending changes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-12 00:34:23 +08:00
coso 2adf8c2bc2 fix: resolve Windows compilation errors and warnings
- Add Manager trait import for windows_startup_cmd.rs
- Add explicit type annotations for PathBuf in windows_startup_cmd.rs
- Fix unused import warning in screenshot_capture_service.rs
- Prefix unused variables with underscore in runner.rs and aster_agent_cmd.rs
- Update package.json with Node.js engine requirement
2026-03-10 09:20:40 +08:00
coso 90bd63908f feat: release v0.83.0 with full pending changes
✨ 新功能
- 新增 OpenClaw 服务集成和相关命令支持
- 新增 Windows 启动诊断命令和故障排查文档
- 新增样式库管理面板 (StyleLibraryPanel)
- 新增 A2UI 任务卡片组件和完整测试覆盖
- 新增输入栏多个子组件:提示路由弹窗、执行策略选择、模型扩展配置等
- 新增工作台创建入口主页和右侧面板扩展视图
- 新增运行时样式控制栏组件
- 新增样式运行时工具模块和测试
- 新增内容审查面板测试
- 新增多个工作台右侧面板能力:音频任务、视频任务、画外音任务、图片任务等
- 新增 Windows 支持包收集脚本
- 新增开发桥健康检查脚本

🐛 修复
- 修复 TypeScript 编译错误
- 修复崩溃诊断逻辑
- 修复 Tauri mock 核心模块
- 修复开发桥 HTTP 客户端
- 修复 webview API 调用
- 修复 Provider 模型列表组件
- 修复多个 Rust clippy 警告

🔧 优化与重构
- 重构输入栏组件架构,拆分为多个独立 hooks 和子组件
- 重构工作台右侧面板,拆分为多个独立模块和配置文件
- 优化 A2UI 组件渲染器和布局系统
- 优化内容创建器文档画布和工具栏
- 优化记忆层指标计算和测试
- 优化项目提示工具
- 优化主题工作台侧边栏
- 优化样式指南面板
- 优化工作台导航和面板渲染 hooks
- 优化确认策略创建工具
- 优化主题模块(novel、video)和共享面板渲染器
- 优化 Agent 事件转换器和会话存储
- 优化数据库 DAO 层
- 优化模型注册服务和技能服务
- 优化日志命令和应用运行器
- 优化开发桥调度器
- 更新 Windows 平台 Tauri 配置
- 更新 CI release workflow

📦 其他
- 新增 Windows 启动问题故障排查文档
- 更新 Playwright E2E 测试文档
- 更新构建和运维文档
- 更新常见问题文档
- 更新 README
2026-03-10 07:57:13 +08:00
coso 447c906cbf fix: resolve clippy warnings - add Default derives, implement FromStr traits, fix unnecessary unwraps 2026-03-09 09:03:17 +08:00
coso 2888352a00 feat: release v0.81.0 with full pending changes 2026-03-08 07:53:37 +08:00
coso 2557f22bb2 chore(release): v0.79.0 2026-03-04 18:23:59 +08:00
cosoandClaude Sonnet 4.6 68e16d4a04 feat: improve aster runtime, agent commands, novel parsing, and log retrieval
- Aster runtime: resolve path via ASTER_PATH_ROOT env var, create config/data/state dirs on init
- Aster session store: implement commit_session, search_memories, retrieve_context_memories stubs
- Aster agent cmd: extract and surface inline agent provider errors from message text
- Aster agent cmd: use ensure_workspace_ready_with_auto_relocate for robust workspace path handling
- Agent cmd: integrate workspace health auto-repair before launching agent
- Config cmd: add ETag-based caching for update checks (10min TTL), add fallback tags URL
- Novel service: improve character card parsing with multi-strategy JSON extraction and fallback
- Logs cmd: add get_persisted_logs_tail command to read tail of log file for diagnostics
- Dev bridge dispatcher: expose get_persisted_logs_tail in browser bridge
- Runner: register get_persisted_logs_tail, workspace_ensure_ready, workspace_ensure_default_ready

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 17:52:00 +08:00
cosoandClaude Opus 4.6 0686737331 feat: release v0.73.0 with full pending changes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-27 16:37:53 +08:00
coso 54611cd3ab feat: release v0.71.0 with full pending changes 2026-02-24 16:18:57 +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
coso 73e9199107 chore(release): bump version to 0.66.0 2026-02-14 15:20:30 +08:00
cosoandClaude Opus 4.6 e0e9aba188 chore: bump version to 0.63.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-11 14:37:44 +08:00
coso 133163d3d9 fix: add winapi/winreg dependencies to services crate for Windows
machine_id_service.rs uses winreg and winapi for Windows registry
access but these were only declared in the main package, not in
the proxycast-services crate where the code now lives.
2026-02-10 10:46:28 +08:00
coso cb9c8255e4 chore: bump version to 0.62.0 2026-02-10 03:10:54 +08:00
cosoandClaude Opus 4.6 aa49b23733 feat: 实现 Aster 生态 Phase 2 核心能力
完成 Aster 生态 Phase 2 的所有开发任务,包括浏览器工具、调度器系统、
WebSocket RPC、批量任务支持和电商差评回复解决方案。

## 第一阶段: 浏览器工具接入 ✅

- 添加 Playwright MCP Server 自动配置 (migration_v3.rs)
- 实现 BrowserTool 包装器,提供 navigate/snapshot/click/type/screenshot API
- 通过 MCP 桥接集成到 Agent 工具系统

## 第二阶段: Agent Daemon 集成 ✅

- 创建 scheduler crate,实现完整的调度器系统
- 实现 AgentScheduler (SchedulerTrait),支持任务 CRUD 和状态管理
- 实现 AgentExecutor (TaskExecutor),支持多种任务类型
- 实现 Heartbeat Loop,30 秒轮询自动执行到期任务
- SQLite 持久化,完整的单元测试覆盖

## 第三阶段: Agent Gateway RPC ✅

- 扩展 WebSocket 协议,实现 JSON-RPC 2.0 风格
- 支持 7 种 RPC 方法: agent.run, agent.wait, agent.stop, sessions.list,
  sessions.get, cron.list, cron.run
- 实现 RPC 处理器,集成 Agent 和 Scheduler
- 双协议支持 (WsMessage + RPC)

## 第四阶段: 批量任务支持 ✅

- 实现 BatchTask 数据结构和 TaskTemplate 模板系统
- 支持变量替换 ({{variable}})
- 实现并发控制 (Semaphore)、失败重试、超时保护
- 提供 8 个 HTTP API 端点 (任务 + 模板管理)

## 第五阶段: 电商差评回复 MVP ✅

- 实现电商差评回复 Skill,支持淘宝/京东/拼多多
- 完整的配置系统 (语气/长度/模板)
- 5 步配置向导前端页面
- 任务列表管理和结果展示
- Tauri Command 封装和 API 集成

## 技术亮点

- 模块化设计: 独立 crate,易于维护
- 类型安全: Rust + TypeScript 全栈类型安全
- 完整测试: 所有模块都有单元测试
- 命名规范: 使用通用命名 (AgentScheduler 而非 ProxyCastScheduler)
- 可扩展性: 易于添加新功能和解决方案

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-09 22:14:59 +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 bf0c1a05fb chore: bump version to 0.61.0 2026-02-09 02:08:53 +08:00
coso 46b2303acc refactor: 创建 proxycast-services crate,迁移 ~37k 行业务服务
- 新建 proxycast-services crate(依赖 core + providers)
- 迁移 28 个 service 模块 + 2 个子模块(general_chat, content_creator)
- ClientType 从 server/client_detector 迁移到 core/models/client_type
- 主 crate services/mod.rs 改为 re-export 层
- 保留 file_browser_service、sysinfo_service、update_window 在主 crate(依赖 Tauri)
- 所有 crate::xxx 引用已替换为对应 crate 路径
- workspace 全量编译通过,测试编译通过
2026-02-08 15:15:39 +08:00