coso and Claude Sonnet 4.6
c2261961c1
refactor: 深度清理旧 UI 表面与 plugin-ui 系统
...
## 清理范围
### 1. Plugin UI 系统(完整删除)
- 删除 `src/lib/plugin-ui/` 整个渲染运行时
- 保留 `src/lib/api/pluginUI.ts` 元数据 API
- 删除 `docs/plugin-ui-design.md` 设计文档
- 清理 i18n 中的 PluginUIRenderer 引用
### 2. Provider Pool 旧凭证表单链
- 删除 `AntigravityFormStandalone.tsx`
- 删除 `ClaudeFormStandalone.tsx`
- 删除 `GeminiFormStandalone.tsx`
- 删除 `KiroFormStandalone.tsx`
- 删除 `provider-pool/credential-forms/index.ts`
### 3. Agent Chat 旧兼容壳
- 删除 `StableProcessingNotice.tsx`
- 删除 `useStableProcessingNotice.ts`
- 删除固定的 `agent/chat/config.ts`
- 更新治理目录册与守卫
### 4. 更深层 dead UI 组件
- 删除 `ui/alert.tsx`
- 删除 `ui/radio-group.tsx`
- 删除 `ui/separator.tsx`
- 删除 `model-selector/` 整个目录
- 删除 `smart-input/` 整个目录
- 删除 `subagent/` 目录
- 删除 `websocket/` 目录
- 删除 `solutions/ecommerce-review-reply/` 整个目录
### 5. 其他清理
- 删除 `src-tauri/crates/services/src/switch.rs`
- 删除 `src-tauri/src/commands/switch_cmd.rs`
- 删除零入口 barrel 文件
- 同步更新文档与测试
## 验证通过
- ✅ 治理报告:零引用候选 0,分类漂移候选 0,边界违规 0
- ✅ 契约验证:619 frontend commands, 697 rust commands
- ✅ 治理测试:75 个测试全绿
## 影响统计
- 126 个文件变更
- +2566 行, -14468 行
- 净减少约 12000 行代码
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-05 22:19:15 +08:00
coso
f9ff9c1abd
release: prepare v1.2.0
2026-04-04 09:45:04 +08:00
coso
ae7b3163a9
chore: release v0.99.0
2026-03-30 14:31:05 +08:00
coso
deceacc699
chore: release v0.98.0
2026-03-29 14:15:34 +08:00
coso
0ee56c1098
chore: release v0.96.0
2026-03-25 22:04:38 +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
coso and Claude 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
bfacf764b7
feat: release v0.83.2 with full pending changes
2026-03-10 19:17:54 +08:00
coso and Claude 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 and Claude Opus 4.6
d2fadfbbf0
fix: add CI-compatible placeholder implementations for aster network types
...
- Copy complete implementations from local aster for:
- capability_routing_metrics.rs
- request_dedup.rs
- response_cache.rs
- Add indexmap dependency to server crate
- Ensures CI builds succeed with aster v0.15.0 tag
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-03 01:59:07 +08:00
coso and Claude Opus 4.6
4fadd09c7c
feat: release v0.77.0 with full pending changes
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-03 01:28:44 +08:00
coso and Claude Sonnet 4.6
0b2d3caa6c
feat: add request dedup, response cache, and capability routing metrics to API server
...
- Add response cache middleware (backed by aster-rust implementation)
- Add request deduplication middleware to prevent duplicate in-flight requests
- Add capability routing metrics middleware for model/provider fallback tracking
- Add idempotency stats (atomic counters) to IdempotencyStore
- Expose all four stores in ServerState and surface stats in ServerStatus
- Add ResponseCacheSettings to ServerConfig with defaults (600s TTL, 200 max entries)
- Add API server observability infrastructure (IdempotencyGuard, RequestDedupGuard, ResponseCacheGuard)
- Add inline capability detection for vision/tools/context when routing requests
- Register workspace_ensure_ready and workspace_ensure_default_ready commands in runner
- Update docs with response_cache configuration example
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-02 17:51:37 +08:00
coso
cd95cac72f
feat: release v0.74.0 - Chrome Bridge 浏览器自动化集成
...
🎉 重大功能
- Chrome Bridge: 完整的浏览器自动化控制系统
- 零配置自动连接:扩展自动加载和配置
- AI 原生集成:作为 MCP 工具支持自然语言控制
- 支持导航、页面读取、元素交互、表单操作等
🐛 Bug 修复
- WebSocket 路由修复 (Axum 路径参数语法)
- Chrome 扩展存储清理
- 扩展重复注入防护
- 剪贴板权限添加
🔧 代码质量
- 修复 33+ Clippy 警告
- 所有 259 个测试通过
- ESLint 无警告
📝 文档
- Chrome Bridge 使用指南
- API 技术文档
- 快速参考卡片
2026-02-28 16:05:36 +08:00
coso
927b757b30
chore(release): bump version to 0.70.0
2026-02-21 21:58:33 +08:00
coso
c35652756a
fix: clippy warnings, fmt fixes, integrate modules into request flow
2026-02-18 18:10:49 +08:00
coso
0c357c8bf1
feat: add security middleware, rate limiting, auth, encryption, conversation management
...
Borrowed patterns from ZeroClaw:
- server/middleware/security: request body size limit + timeout layer
- server/middleware/rate_limit: sliding window rate limiter per client IP
- server/middleware/idempotency: idempotency key store for duplicate prevention
- server/auth/pairing: pairing code auth with brute force protection
- core/sanitizer: credential sanitizer with 9 builtin patterns
- core/router/hint_router: message prefix hint routing ([reasoning], [fast])
- processor/conversation_manager: conversation history trimming
- processor/conversation_summarizer: LLM-based conversation summarization
- credential/encryption: ChaCha20-Poly1305 AEAD encryption for API keys
2026-02-18 14:58:51 +08:00
coso
73e9199107
chore(release): bump version to 0.66.0
2026-02-14 15:20:30 +08:00
coso
a737e63fb2
release: bump version to 0.65.0
...
主要更新:
- 优化 WorkbenchPage 导航显示,项目管理按钮显示主题上下文
- 修复双重背景问题,移除冗余的背景色和边框
- 移除 NovelCanvas 中的 HeaderTitle 和横线
- 修复 MCP 相关测试的编译错误(添加 meta 字段)
- 修复 scheduler 测试的导入问题
- 代码格式化和 lint 修复
2026-02-13 16:15:50 +08:00
coso
8da33ec9a0
release: bump version to 0.64.0
2026-02-12 20:30:57 +08:00
coso
cb9c8255e4
chore: bump version to 0.62.0
2026-02-10 03:10:54 +08:00
coso and Claude 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
coso and Claude 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
146db0d110
refactor: 迁移 server 模块到 proxycast-server crate
...
- 创建 proxycast-server crate,包含完整的 HTTP 服务器逻辑
- 迁移 server/handlers/ 下所有 8 个处理器模块
- 迁移 client_detector 模块
- 主 crate server/mod.rs 替换为 re-export 层
- 升级 proxycast-core logger:完整的日志轮转、压缩归档、正则脱敏
- 提取 network 模块到 proxycast-core(从 network_cmd 中分离纯逻辑)
- 修复 bootstrap.rs/state.rs 中 LogStore::with_config 调用
- 修复 provider_calls.rs doctest 代码块标记
2026-02-08 22:34:56 +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