skeptic-cli 0.2.0 → 0.2.1

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/AGENTS.md CHANGED
@@ -15,6 +15,11 @@ skeptic inspect <url> --interactive --compact
15
15
  skeptic run tests/<scenario>.spec.ts --observability --video --trace
16
16
  ```
17
17
 
18
+ Specs import from the project dependency `skeptic-cli`. A normal `skeptic init`
19
+ writes that dependency to `package.json`; run `npm install` before
20
+ `skeptic run`, or re-run it if specs fail with `Cannot find package
21
+ 'skeptic-cli'`.
22
+
18
23
  Use `skeptic observe <url>` when you need a one-off QA capture without writing a
19
24
  spec.
20
25
 
package/README.md CHANGED
@@ -27,8 +27,12 @@ skeptic --help
27
27
  ## Quick Start
28
28
 
29
29
  ```bash
30
+ # Install the CLI
31
+ npm install -g skeptic-cli
32
+
30
33
  # Initialize a project
31
34
  skeptic init
35
+ npm install
32
36
 
33
37
  # Discover stable selectors before authoring a test
34
38
  skeptic inspect https://example.com
@@ -165,9 +169,13 @@ skeptic run --shard-split 4 --shard-index 1
165
169
  skeptic run --watch
166
170
  ```
167
171
 
168
- `skeptic tui` is the discoverable interactive entrypoint. `skeptic run` opens
169
- the same TUI automatically in an interactive terminal when the console reporter
170
- is active; use `skeptic run --no-tui` for plain console output.
172
+ `skeptic tui` is the discoverable interactive entrypoint, matching Expect's
173
+ explicit `expect tui` model. `skeptic run` is the plain spec runner for scripts,
174
+ CI, and agent-invoked regression checks.
175
+
176
+ Specs import from `skeptic-cli`, so project dependencies must be installed. A
177
+ normal `skeptic init` writes the dependency into `package.json`; run
178
+ `npm install` once before `skeptic run`.
171
179
 
172
180
  Important flags:
173
181
 
@@ -11,13 +11,19 @@ Use Skeptic when a coding agent needs browser evidence: page inspection, TypeScr
11
11
 
12
12
  ## Choose The Surface
13
13
 
14
+ - Human interactive test run: run `skeptic tui`.
14
15
  - One-off QA or bug hunt: run `skeptic observe <url> --full-page`.
15
16
  - Persistent regression coverage: run `skeptic inspect <url> --interactive --compact --with-playwright-hints`, write a `tests/*.spec.ts`, then run `skeptic run`.
16
- - Changed-code verification: run `skeptic run --diff` when the project has specs, or use `skeptic generate --diff` to create one.
17
+ - Changed-code verification: run existing specs with `skeptic run`, or use `skeptic generate --diff` to create one first.
17
18
  - Agent-integrated browser work: if Skeptic MCP tools are available, use `browser_open`, `browser_snapshot`, `browser_playwright`, `browser_screenshot`, `browser_console_logs`, `browser_network_requests`, `browser_performance_metrics`, `browser_accessibility_audit`, and `browser_close`.
18
19
 
19
20
  If the `skeptic` binary is not on PATH, try `npx skeptic-cli` or `npx --yes skeptic-cli@latest`.
20
21
 
22
+ Specs import from the project dependency `skeptic-cli`. A normal `skeptic init`
23
+ writes that dependency to `package.json`. If specs fail with `Cannot find
24
+ package 'skeptic-cli'`, run `npm install` in the project before re-running
25
+ Skeptic.
26
+
21
27
  ## Fast Loop
22
28
 
23
29
  ```bash