csspilot 0.1.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -54,14 +54,14 @@ csspilot report
54
54
 
55
55
  ## 命令
56
56
 
57
- | 命令 | 作用 |
58
- | --- | --- |
59
- | `csspilot init` | 把 TestPilot 接入当前业务项目(装 Skill 到 `.ai/skills/testpilot/`、初始化 `.testpilot/`、创建/复用 `tests/e2e`、生成 `testpilot.yaml`) |
60
- | `csspilot validate [paths...]` | 校验用例(DSL schema / action / locator / 变量引用 / adapter 支持) |
61
- | `csspilot list [--tag <tag>]` | 列出用例 |
62
- | `csspilot run [paths...] [--tag <tag>]` | 执行用例(Case Loader → Validator → Engine → Adapter → Evidence → Reporter) |
63
- | `csspilot report [--run <id>]` | 生成 JSON + HTML 报告(`.testpilot/artifacts/runs/<id>/`) |
64
- | `csspilot doctor` | 环境体检(Node / Playwright / WeChat DevTools / 项目配置) |
57
+ | 命令 | 作用 |
58
+ | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
59
+ | `csspilot init` | 把 TestPilot 接入当前业务项目(装 Skill 到 `.agents/skills/testpilot/`、初始化 `.testpilot/`、创建/复用 `tests/e2e`、生成 `testpilot.yaml`) |
60
+ | `csspilot validate [paths...]` | 校验用例(DSL schema / action / locator / 变量引用 / adapter 支持) |
61
+ | `csspilot list [--tag <tag>]` | 列出用例 |
62
+ | `csspilot run [paths...] [--tag <tag>]` | 执行用例(Case Loader → Validator → Engine → Adapter → Evidence → Reporter) |
63
+ | `csspilot report [--run <id>]` | 生成 JSON + HTML 报告(`.testpilot/artifacts/runs/<id>/`) |
64
+ | `csspilot doctor` | 环境体检(Node / Playwright / WeChat DevTools / 项目配置) |
65
65
 
66
66
  ## DSL 速览
67
67
 
@@ -104,7 +104,7 @@ steps:
104
104
 
105
105
  ## AI Skill
106
106
 
107
- `csspilot init` 会把随包分发的 TestPilot Skill 安装到业务项目 `.ai/skills/testpilot/`,包含:
107
+ `csspilot init` 会把随包分发的 TestPilot Skill 安装到业务项目 `.agents/skills/testpilot/`,包含:
108
108
 
109
109
  - `SKILL.md` —— 能力总览与使用约定
110
110
  - `rules/` —— 用例设计 / DSL 书写 / 断言 / locator 规范