ccqa 0.1.5 → 0.3.2

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
@@ -21,21 +21,26 @@ flowchart LR
21
21
 
22
22
  ## Install
23
23
 
24
+ Add ccqa as a dev dependency in your project:
25
+
24
26
  ```bash
25
- bunx ccqa trace tasks/create-and-complete
27
+ pnpm add -D ccqa vitest
28
+ # or
29
+ npm install -D ccqa vitest
26
30
  ```
27
31
 
28
- Or install globally:
32
+ Then invoke the CLI via your package runner:
29
33
 
30
34
  ```bash
31
- bun add -g ccqa
35
+ pnpm exec ccqa trace tasks/create-and-complete
36
+ # or
37
+ npx ccqa trace tasks/create-and-complete
32
38
  ```
33
39
 
34
- Requires [Claude Code](https://docs.anthropic.com/en/docs/claude-code) and [agent-browser](https://github.com/vercel-labs/agent-browser) installed globally:
40
+ ccqa requires Node.js **20+** at runtime. The peer dependencies [Claude Code](https://docs.anthropic.com/en/docs/claude-code) and [agent-browser](https://github.com/vercel-labs/agent-browser) must also be installed:
35
41
 
36
42
  ```bash
37
- npm install -g @anthropic-ai/claude-code
38
- bun add -g agent-browser
43
+ pnpm add -D @anthropic-ai/claude-code agent-browser
39
44
  ```
40
45
 
41
46
  ## Usage
@@ -181,7 +186,7 @@ When you run `ccqa trace` or `ccqa generate`, the setup's test body is loaded, p
181
186
  ```typescript
182
187
  // .ccqa/features/tasks/test-cases/create-and-complete/test.spec.ts
183
188
  import { test } from "vitest";
184
- import { ab, abWait, abAssertUrl, abAssertTextVisible, abAssertEnabled } from "/path/to/test-helpers.ts";
189
+ import { ab, abWait, abAssertUrl, abAssertTextVisible, abAssertEnabled } from "ccqa/test-helpers";
185
190
 
186
191
  process.env.AGENT_BROWSER_SESSION = `ccqa-run-${Date.now()}`;
187
192
 
@@ -0,0 +1 @@
1
+ export { };