Skip to content

OhMyAgent Desktop v2.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 12:26

v2.0.0 is a major release introducing the Self-Harness autonomous optimization engine, interactive approval flows, and significant code quality improvements across the codebase.

🧠 Self-Harness System

OhMyAgent can now detect failures, propose optimizations, and apply improvements autonomously:

  • Failure Detector — automatically triggers optimization workflows on agent errors
  • LLM Optimizer — generates improvement proposals for skills, prompts, and tool configurations
  • Interactive Approval — approval requests delivered via Feishu cards, Telegram inline keyboards, WeChat/QQ text
  • Configurable Policies — confidence thresholds, mechanism allowlists, rate limiting, and cooldown controls
  • WebUI Dashboard — full control panel with visual approval rules editor

Self-Harness is enabled by default; manage in Settings → Auto Evolution.

🛡️ Code Quality & Architecture

  • Unified OhMyAgentError hierarchy with structured error handlers
  • All console.* replaced with pino structured logging
  • Config hot-reload with two-phase validate+apply pattern
  • Tool registry caching, PreparedStatementCache, batch embedding/writing operations
  • Configurable concurrency for embedding, LLM, and DB operations

🆕 New Capabilities

  • Word Document skill — create, read, and edit docx files with polished templates and style presets
  • Agnes Video V2.0 — keyframe and new params support for video generation
  • Desktop updater — resume download + system proxy support

🧪 Tests

  • 118 new tests added across agent-factory, memory-retriever, and policy-center (2473 tests, 163 test files)

v2.0.0 是一个大版本,引入 Self-Harness 自主优化引擎、交互式审批流程以及全面的代码质量提升。

🧠 Self-Harness 系统

OhMyAgent 现在可以自主检测失败、提出优化并应用改进:

  • Failure Detector — 自动检测 agent 失败并触发优化流程
  • LLM Optimizer — 为 skill、prompt、工具配置生成改进提案
  • 交互式审批 — 通过飞书卡片、Telegram 内联键盘、微信/QQ 文本推送审批请求
  • 可配置策略 — 置信度阈值、机制白名单、频率限制和冷却控制
  • WebUI 控制台 — 完整的设置面板和可视化审批规则编辑器

Self-Harness 默认启用,请在设置 → Auto Evolution 中管理。

🛡️ 代码质量与架构

  • 统一 OhMyAgentError 异常体系与结构化错误处理
  • 全部 console.* 替换为 pino 结构化日志
  • 配置热重载,两阶段校验+应用模式
  • 工具注册表缓存、PreparedStatementCache、批量嵌入/写入操作
  • 嵌入、LLM、数据库并发数可配置

🆕 新能力

  • Word 文档技能 — 创建、读取、编辑 docx 文件,支持精美模板和样式预设
  • Agnes Video V2.0 — 视频生成支持关键帧和新参数
  • 桌面更新器 — 断点续传 + 系统代理支持

🧪 测试

  • 新增 118 个测试(agent-factory、memory-retriever、policy-center),共 2473 测试、163 个测试文件