Skip to content

chore: align Harness positioning and decouple desktop UI tests - #174

Merged
ConardLi merged 1 commit into
mainfrom
chore/workspace-organization
Nov 29, 2026
Merged

ConardLi merged 1 commit into
mainfrom
chore/workspace-organization

Conversation

@ConardLi

Copy link
Copy Markdown
Owner

项目简介和开发指引仍将 Easy Agent 定位为终端 Coding Agent,客户端 UI 验收还要求启动仓库外的原型并采集图片基线。本次统一为通用开源 Agent Harness 的定位,并让 UI 场景直接在正式 Electron 客户端中运行。

改动

  • 更新中英文 README、包描述和 AGENT.md:CLI、SDK、RPC/ACP、Headless 与桌面端使用同一套 Harness 核心,Claude Code 作为早期参考。
  • 删除原型基线采集脚本、参考窗口及 visual:baseline 命令,解除对 WEB_UI_URL 和原型 URL 参数的依赖。
  • 保留 12 个 UI 场景,改为检查真实客户端的内容、控件状态、主题、侧栏和布局边界;test:visual 不再进行像素比较或依赖基线图片。
  • 通过 CAPTURE_UI=1 npm run test:visual 按需生成本地截图,图片和报告不纳入版本控制。
  • 同步测试说明和 CI 注释;默认 npm test 继续运行 unit/e2e。

验证

  • Agent 与桌面端构建通过。
  • 桌面端 typecheck、lint、format:check 通过。
  • 相关 unit/e2e/UI 场景共 86 项通过,其中包含全部 12 个 UI 场景。
  • npm run test:stage36:73 项发布检查通过。
  • 单独验证按需截图入口通过,默认测试清单仍包含 118 项 unit/e2e。

验证时工作区根目录已不再存在原型目录和公共 node_modules,客户端测试目录中也没有图片基线。

@ConardLi
ConardLi merged commit b4156df into main Nov 29, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant