@hcmai/cli 0.10.0 → 0.11.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 +17 -11
- package/dist/index.js +853 -602
- package/dist/index.js.map +1 -1
- package/dist/skills/manifest.json +40 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,19 +39,25 @@ require `--allow-danger`. Credentials stay in the local identity store.
|
|
|
39
39
|
|
|
40
40
|
## Delivery projects
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
`hcm chiron init` scaffolds a consultant project: `env.yaml`, the working
|
|
43
|
+
directories, and the managed block in `AGENTS.md` / `CLAUDE.md`. Skills come from
|
|
44
|
+
`hcm skills sync` (targets: `codex`, `claude`); the repo-local `codex` target
|
|
45
|
+
maintains the skill index in `AGENTS.md` and mirrors it to an existing `CLAUDE.md`,
|
|
46
|
+
so a dual-agent project shares one locked skill tree
|
|
47
47
|
(`hcm-skills/.hcm-skills.json` or `.claude/skills/.hcm-skills.json`).
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
`hcm open
|
|
51
|
-
|
|
49
|
+
Page acceptance is `hcm chiron page`. It mints the same short-lived
|
|
50
|
+
`hcm open` ticket, drives local Chrome/Chromium headless, and writes a
|
|
51
|
+
non-overwriting PNG under the project's `evidence/` directory. **At least one
|
|
52
|
+
`--expect-text` is mandatory** — a login page, an error page and a blank page all
|
|
53
|
+
produce a screenshot, so "a screenshot exists" is not evidence:
|
|
52
54
|
|
|
53
55
|
```bash
|
|
54
|
-
|
|
55
|
-
--
|
|
56
|
-
--out
|
|
56
|
+
hcm chiron page /dashboard/<id> --env acme-dev --as consultant-acme-dev \
|
|
57
|
+
--expect-text '<dashboard title>' --reject-text '未知组件类型' \
|
|
58
|
+
--out evidence/acme-dev/<date>-dashboard/page.png
|
|
57
59
|
```
|
|
60
|
+
|
|
61
|
+
Exit code is `0` when the page carries every `--expect-text` and none of the
|
|
62
|
+
`--reject-text`, and `3` when it does not; the screenshot is kept either way so a
|
|
63
|
+
human can see whether it was a login page, an error page, or a real gap.
|