@hcmai/cli 0.15.6 → 0.15.8
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 +9 -2
- package/dist/index.js +625 -143
- package/dist/index.js.map +1 -1
- package/dist/skills/manifest.json +3 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -51,8 +51,15 @@ sides: `local/` shadows `sync/`. The `claude` target stays flat
|
|
|
51
51
|
(`.claude/skills/`) because Claude Code only discovers one level deep.
|
|
52
52
|
|
|
53
53
|
Page acceptance is `hcm chiron page`. It mints the same short-lived
|
|
54
|
-
`hcm open` ticket, drives
|
|
55
|
-
|
|
54
|
+
`hcm open` ticket, drives a headless Chromium through Playwright (the
|
|
55
|
+
`chromium_headless_shell-*` build in your Playwright cache — the one Playwright
|
|
56
|
+
MCP installs — works inside sandboxes such as Claude Code's macOS Seatbelt; run
|
|
57
|
+
`npx playwright install chromium-headless-shell` if there is none), and writes a
|
|
58
|
+
non-overwriting PNG under the project's `evidence/` directory. `--eval '<js>'`
|
|
59
|
+
runs an async function body in the page before the capture (click "regenerate",
|
|
60
|
+
wait, type a follow-up question…) and its return value lands in the receipt.
|
|
61
|
+
`--cdp http://127.0.0.1:9222` attaches to a Chrome started outside the sandbox
|
|
62
|
+
with `--remote-debugging-port` when even the headless shell cannot start. **At least one
|
|
56
63
|
`--expect-text` is mandatory** — a login page, an error page and a blank page all
|
|
57
64
|
produce a screenshot, so "a screenshot exists" is not evidence:
|
|
58
65
|
|