@nickduy/agent-studio 0.0.0-stage → 0.1.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.
Files changed (29) hide show
  1. package/README.md +27 -2
  2. package/bin/agent-studio.js +9 -0
  3. package/lib/cli.mjs +2 -0
  4. package/package.json +22 -4
  5. package/template/playwright-cli.config.json +5 -0
  6. package/template/playwright.config.ts +28 -0
  7. package/template/skills/playwright-cli/SKILL.md +493 -0
  8. package/template/skills/playwright-cli/references/element-attributes.md +23 -0
  9. package/template/skills/playwright-cli/references/playwright-tests.md +39 -0
  10. package/template/skills/playwright-cli/references/pr-attachments.md +60 -0
  11. package/template/skills/playwright-cli/references/request-mocking.md +87 -0
  12. package/template/skills/playwright-cli/references/running-code.md +247 -0
  13. package/template/skills/playwright-cli/references/session-management.md +227 -0
  14. package/template/skills/playwright-cli/references/storage-state.md +278 -0
  15. package/template/skills/playwright-cli/references/test-generation.md +433 -0
  16. package/template/skills/playwright-cli/references/tracing.md +146 -0
  17. package/template/skills/playwright-cli/references/video-recording.md +216 -0
  18. package/template/tsconfig.json +13 -0
  19. package/web/assets/index-CeK0TK15.css +1 -0
  20. package/web/assets/index-QDu4V47t.js +419 -0
  21. package/web/icons/apple-touch-icon.png +0 -0
  22. package/web/icons/icon-192.png +0 -0
  23. package/web/icons/icon-512.png +0 -0
  24. package/web/icons/icon-maskable-512.png +0 -0
  25. package/web/icons/icon-maskable.svg +7 -0
  26. package/web/icons/icon.svg +7 -0
  27. package/web/index.html +22 -0
  28. package/web/manifest.webmanifest +22 -0
  29. package/web/sw.js +85 -0
package/README.md CHANGED
@@ -1,3 +1,28 @@
1
- # Temporary Holding Version
1
+ # Agent Studio
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Spec-driven end-to-end testing with Claude Code agents and Playwright.
4
+
5
+ ## Requirements
6
+
7
+ - Node >= 22.13
8
+ - [Claude Code](https://claude.com/claude-code), logged in (`claude` -> `/login`)
9
+
10
+ ## Use
11
+
12
+ ```bash
13
+ npm install -g <package-name>
14
+ mkdir my-e2e && cd my-e2e
15
+ agent-studio init --install # specs/, tests/, CLAUDE.md, playwright.config.ts, npm install, Chromium
16
+ # copy .env.example to .env and fill it in
17
+ agent-studio # http://127.0.0.1:3000
18
+ ```
19
+
20
+ | Command | What |
21
+ |---|---|
22
+ | `agent-studio [start] [--port n] [--dir path] [--no-open]` | Start the UI and API for a project folder (default: current folder) |
23
+ | `agent-studio init [--dir path] [--install]` | Create the project files (never overwrites) |
24
+ | `agent-studio doctor` | Check Claude Code, Playwright and Chromium |
25
+
26
+ The SQLite database is created automatically in `~/.agentstudio` (`C:\Users\<you>\.agentstudio` on Windows), one folder per project. Set `AGENT_STUDIO_HOME` to move it. Job files stay in the project's `qa-studio-data/` (git-ignored).
27
+
28
+ The server listens on 127.0.0.1 only. Claude Code and Playwright run on the machine where Agent Studio runs.
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ // Thin launcher: check Node first (node:sqlite needs >= 22.13), then load the bundled CLI.
3
+ const [maj, min] = process.versions.node.split('.').map(Number);
4
+ if (maj < 22 || (maj === 22 && min < 13)) {
5
+ console.error(`Agent Studio needs Node >= 22.13 (found ${process.versions.node}).`);
6
+ process.exit(1);
7
+ }
8
+ const { main } = await import('../lib/cli.mjs');
9
+ process.exit(await main(process.argv.slice(2)));