@vizzly-testing/cli 0.10.3 β†’ 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.
Files changed (47) hide show
  1. package/.claude-plugin/.mcp.json +8 -0
  2. package/.claude-plugin/README.md +114 -0
  3. package/.claude-plugin/commands/debug-diff.md +153 -0
  4. package/.claude-plugin/commands/setup.md +137 -0
  5. package/.claude-plugin/commands/suggest-screenshots.md +111 -0
  6. package/.claude-plugin/commands/tdd-status.md +43 -0
  7. package/.claude-plugin/marketplace.json +28 -0
  8. package/.claude-plugin/mcp/vizzly-server/cloud-api-provider.js +354 -0
  9. package/.claude-plugin/mcp/vizzly-server/index.js +861 -0
  10. package/.claude-plugin/mcp/vizzly-server/local-tdd-provider.js +422 -0
  11. package/.claude-plugin/mcp/vizzly-server/token-resolver.js +185 -0
  12. package/.claude-plugin/plugin.json +14 -0
  13. package/README.md +168 -8
  14. package/dist/cli.js +64 -0
  15. package/dist/client/index.js +13 -3
  16. package/dist/commands/login.js +195 -0
  17. package/dist/commands/logout.js +71 -0
  18. package/dist/commands/project.js +351 -0
  19. package/dist/commands/run.js +30 -0
  20. package/dist/commands/whoami.js +162 -0
  21. package/dist/plugin-loader.js +4 -2
  22. package/dist/sdk/index.js +16 -4
  23. package/dist/services/api-service.js +50 -7
  24. package/dist/services/auth-service.js +226 -0
  25. package/dist/types/client/index.d.ts +9 -3
  26. package/dist/types/commands/login.d.ts +11 -0
  27. package/dist/types/commands/logout.d.ts +11 -0
  28. package/dist/types/commands/project.d.ts +28 -0
  29. package/dist/types/commands/whoami.d.ts +11 -0
  30. package/dist/types/sdk/index.d.ts +9 -4
  31. package/dist/types/services/api-service.d.ts +2 -1
  32. package/dist/types/services/auth-service.d.ts +59 -0
  33. package/dist/types/utils/browser.d.ts +6 -0
  34. package/dist/types/utils/config-loader.d.ts +1 -1
  35. package/dist/types/utils/config-schema.d.ts +8 -174
  36. package/dist/types/utils/file-helpers.d.ts +18 -0
  37. package/dist/types/utils/global-config.d.ts +84 -0
  38. package/dist/utils/browser.js +44 -0
  39. package/dist/utils/config-loader.js +69 -3
  40. package/dist/utils/file-helpers.js +64 -0
  41. package/dist/utils/global-config.js +259 -0
  42. package/docs/api-reference.md +177 -6
  43. package/docs/authentication.md +334 -0
  44. package/docs/getting-started.md +21 -2
  45. package/docs/plugins.md +27 -0
  46. package/docs/test-integration.md +60 -10
  47. package/package.json +5 -3
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "vizzly": {
4
+ "command": "node",
5
+ "args": ["${CLAUDE_PLUGIN_ROOT}/mcp/vizzly-server/index.js"]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,114 @@
1
+ # Vizzly Claude Code Plugin
2
+
3
+ > Integrate Vizzly visual regression testing seamlessly into your Claude Code workflow
4
+
5
+ This plugin brings Vizzly's powerful visual testing capabilities directly into Claude Code, helping you debug visual regressions, manage baselines, and integrate visual testing into your development workflowβ€”all with AI assistance.
6
+
7
+ ## Installation
8
+
9
+ ### From GitHub (Recommended)
10
+
11
+ ```bash
12
+ # Add the marketplace
13
+ /plugin marketplace add vizzly-testing/vizzly-cli
14
+
15
+ # Install the plugin
16
+ /plugin install vizzly@vizzly-marketplace
17
+ ```
18
+
19
+ ### From Local Source
20
+
21
+ ```bash
22
+ # Clone the repository
23
+ git clone https://github.com/vizzly-testing/vizzly-cli.git
24
+ cd vizzly-cli
25
+
26
+ # Add the marketplace
27
+ /plugin marketplace add ./.claude-plugin
28
+
29
+ # Install the plugin
30
+ /plugin install vizzly@vizzly-marketplace
31
+ ```
32
+
33
+ ## Features
34
+
35
+ ### πŸ” **TDD Status Checking**
36
+ - `/vizzly:tdd-status` - Check current TDD status and comparison results
37
+ - See failed/new/passed screenshot counts
38
+ - Direct links to diff images and dashboard
39
+
40
+ ### πŸ› **Smart Diff Analysis**
41
+ - `/vizzly:debug-diff <screenshot-name>` - Analyze visual regression failures
42
+ - AI-powered analysis with contextual suggestions
43
+ - Guidance on whether to accept or fix changes
44
+
45
+ ### πŸ’‘ **Screenshot Suggestions**
46
+ - `/vizzly:suggest-screenshots` - Analyze test files for screenshot opportunities
47
+ - Framework-specific code examples
48
+ - Respect your test structure and patterns
49
+
50
+ ### ⚑ **Quick Setup**
51
+ - `/vizzly:setup` - Initialize Vizzly configuration
52
+ - Environment variable guidance
53
+ - CI/CD integration help
54
+
55
+ ## MCP Server Tools
56
+
57
+ The plugin provides an MCP server with direct access to Vizzly data:
58
+
59
+ ### Local TDD Tools
60
+ - `detect_context` - Detect if using local TDD or cloud mode
61
+ - `get_tdd_status` - Get current TDD comparison results
62
+ - `read_comparison_details` - Detailed info for specific screenshot
63
+ - `accept_baseline` - Accept a screenshot as new baseline
64
+ - `reject_baseline` - Reject a baseline with reason
65
+
66
+ ### Cloud API Tools
67
+ - `list_recent_builds` - List recent builds with filtering
68
+ - `get_build_status` - Get build status with commit context
69
+ - `get_comparison` - Get comparison details with screenshots
70
+ - `approve_comparison` - Approve a comparison with comment
71
+ - `reject_comparison` - Reject a comparison with reason
72
+ - `create_build_comment` - Add comment to build
73
+
74
+ ## Authentication
75
+
76
+ The plugin automatically uses your Vizzly authentication with the following priority:
77
+
78
+ 1. **Explicitly provided token** (via tool parameters)
79
+ 2. **Environment variable** (`VIZZLY_TOKEN`)
80
+ 3. **Project mapping** (configured via `vizzly project:select`)
81
+ 4. **User access token** (from `vizzly login`)
82
+
83
+ ### Getting Started
84
+
85
+ **For local development:**
86
+ ```bash
87
+ vizzly login # Authenticate with your Vizzly account
88
+ vizzly project:select # Optional: set project-specific token
89
+ ```
90
+
91
+ **For CI/CD:**
92
+ ```bash
93
+ export VIZZLY_TOKEN=vzt_your_project_token
94
+ ```
95
+
96
+ The plugin will automatically use the appropriate token based on your context.
97
+
98
+ ## Requirements
99
+
100
+ - Claude Code
101
+ - Node.js 20+
102
+ - Vizzly CLI (`@vizzly-testing/cli`) installed in your project
103
+ - TDD mode running for local features
104
+ - Authentication configured (see above) for cloud features
105
+
106
+ ## Documentation
107
+
108
+ - [Vizzly CLI](https://github.com/vizzly-testing/vizzly-cli) - Official CLI documentation
109
+ - [Vizzly Platform](https://vizzly.dev) - Web dashboard and cloud features
110
+ - [Claude Code](https://claude.com/claude-code) - Claude Code documentation
111
+
112
+ ## License
113
+
114
+ MIT Β© Vizzly Team
@@ -0,0 +1,153 @@
1
+ ---
2
+ description: Analyze a specific visual regression failure and suggest fixes
3
+ ---
4
+
5
+ # Debug Vizzly Visual Regression
6
+
7
+ Analyze a specific failing visual comparison in detail. Supports both local TDD mode and cloud API mode.
8
+
9
+ ## Process
10
+
11
+ 1. **Call the unified MCP tool**: Use `read_comparison_details` with the identifier (screenshot name or comparison ID)
12
+ - The tool automatically detects whether to use local TDD mode or cloud mode
13
+ - Pass screenshot name (e.g., "homepage_desktop") for local mode
14
+ - Pass comparison ID (e.g., "cmp_abc123") for cloud mode
15
+ - Returns a response with `mode` field indicating which mode was used
16
+
17
+ 2. **Check the mode in the response**:
18
+ - **Local mode** (`mode: "local"`): Returns filesystem paths (`baselinePath`, `currentPath`, `diffPath`)
19
+ - **Cloud mode** (`mode: "cloud"`): Returns URLs (`baselineUrl`, `currentUrl`, `diffUrl`)
20
+
21
+ 3. **Analyze the comparison data**:
22
+ - Diff percentage and threshold
23
+ - Status (failed/new/passed)
24
+ - Image references (paths or URLs depending on mode)
25
+
26
+ 4. **View the actual images** (critical for visual analysis):
27
+
28
+ Check the `mode` field in the response to determine which tool to use:
29
+
30
+ **If mode is "local":**
31
+ - Response contains filesystem paths (`baselinePath`, `currentPath`, `diffPath`)
32
+ - **Use the Read tool to view ONLY baselinePath and currentPath**
33
+ - **DO NOT read diffPath** - it causes API errors
34
+
35
+ **If mode is "cloud":**
36
+ - Response contains public URLs (`baselineUrl`, `currentUrl`, `diffUrl`)
37
+ - **Use the WebFetch tool to view ONLY baselineUrl and currentUrl**
38
+ - **DO NOT fetch diffUrl** - it causes API errors
39
+
40
+ **IMPORTANT:** You MUST view the baseline and current images to provide accurate analysis
41
+
42
+ 5. **Provide detailed visual insights** based on what you see:
43
+ - What type of change was detected (small/moderate/large diff)
44
+ - Describe the specific visual differences you observe in the images
45
+ - Identify which UI components, elements, or layouts changed
46
+ - Possible causes based on diff percentage and visual inspection:
47
+ - <1%: Anti-aliasing, font rendering, subpixel differences
48
+ - 1-5%: Layout shifts, padding/margin changes, color variations
49
+ - > 5%: Significant layout changes, missing content, major visual updates
50
+
51
+ 6. **Suggest next steps** based on the mode:
52
+ - **If local mode**: Whether to accept using `accept_baseline` tool
53
+ - **If cloud mode**: Whether to approve/reject using `approve_comparison` or `reject_comparison` tools
54
+ - Areas to investigate if unintentional
55
+ - How to fix common issues
56
+ - Specific code changes if you can identify them from the visual diff
57
+
58
+ ## Example Analysis (Local TDD Mode)
59
+
60
+ ```
61
+ Step 1: Call read_comparison_details with screenshot name
62
+ Tool: read_comparison_details({ identifier: "homepage" })
63
+
64
+ Response:
65
+ {
66
+ "name": "homepage",
67
+ "status": "failed",
68
+ "diffPercentage": 2.3,
69
+ "threshold": 0.1,
70
+ "mode": "local",
71
+ "baselinePath": "/Users/you/project/.vizzly/baselines/homepage.png",
72
+ "currentPath": "/Users/you/project/.vizzly/screenshots/homepage.png",
73
+ "diffPath": "/Users/you/project/.vizzly/diffs/homepage.png"
74
+ }
75
+
76
+ Step 2: Detected mode is "local", so use Read tool for images
77
+ Read(baselinePath) and Read(currentPath)
78
+
79
+ Visual Analysis:
80
+ [After reading the baseline and current image files...]
81
+
82
+ Comparing the two images, the navigation header has shifted down by approximately 10-15 pixels.
83
+ Specific changes observed:
84
+ - The logo position moved from y:20px to y:35px
85
+ - Navigation menu items are now overlapping with the hero section
86
+ - The "Sign Up" button background changed from blue (#2563eb) to a darker blue (#1e40af)
87
+
88
+ Root Cause:
89
+ Based on the visual comparison, this appears to be a margin or padding change on the
90
+ header element. The button color change is likely a hover state being captured.
91
+
92
+ Recommendations:
93
+ 1. Check for recent CSS changes to:
94
+ - `.header` or `nav` margin-top/padding-top
95
+ - Any global layout shifts affecting the header
96
+ 2. The button color change suggests a hover state - ensure consistent state during screenshot capture
97
+ 3. If the header position change is intentional:
98
+ - Accept as new baseline using `accept_baseline` tool
99
+ 4. If unintentional:
100
+ - Revert CSS changes to header positioning
101
+ - Verify with: `git diff src/styles/header.css`
102
+ ```
103
+
104
+ ## Example Analysis (Cloud Mode)
105
+
106
+ ```
107
+ Step 1: Call read_comparison_details with comparison ID
108
+ Tool: read_comparison_details({
109
+ identifier: "cmp_xyz789",
110
+ apiToken: "vzt_..."
111
+ })
112
+
113
+ Response:
114
+ {
115
+ "name": "homepage",
116
+ "status": "failed",
117
+ "diffPercentage": 2.3,
118
+ "threshold": 0.1,
119
+ "mode": "cloud",
120
+ "baselineUrl": "https://app.vizzly.dev/screenshots/abc123/baseline.png",
121
+ "currentUrl": "https://app.vizzly.dev/screenshots/abc123/current.png",
122
+ "diffUrl": "https://app.vizzly.dev/screenshots/abc123/diff.png",
123
+ "comparisonId": "cmp_xyz789",
124
+ "buildId": "bld_abc123"
125
+ }
126
+
127
+ Step 2: Detected mode is "cloud", so use WebFetch tool for images
128
+ WebFetch(baselineUrl) and WebFetch(currentUrl)
129
+
130
+ Visual Analysis:
131
+ [After fetching the baseline and current image URLs...]
132
+
133
+ [Same analysis as local mode example...]
134
+
135
+ Recommendations:
136
+ 1. [Same technical recommendations as local mode...]
137
+ 2. If the header position change is intentional:
138
+ - Approve this comparison using `approve_comparison` tool
139
+ 3. If unintentional:
140
+ - Reject using `reject_comparison` tool with detailed reason
141
+ - Have the team fix the CSS changes
142
+ ```
143
+
144
+ ## Important Notes
145
+
146
+ - **Unified Tool**: Always use `read_comparison_details` with the identifier - it automatically detects the mode
147
+ - **Mode Detection**: Check the `mode` field in the response to know which viewing tool to use
148
+ - **Image Viewing**:
149
+ - Local mode β†’ Use Read tool with filesystem paths
150
+ - Cloud mode β†’ Use WebFetch tool with URLs
151
+ - **Diff Images**: NEVER attempt to view/read/fetch the diff image - it causes API errors
152
+ - **Visual Analysis**: Always view the baseline and current images before providing analysis
153
+ - Visual inspection reveals details that diff percentages alone cannot convey
@@ -0,0 +1,137 @@
1
+ ---
2
+ description: Initialize Vizzly visual testing in a project
3
+ ---
4
+
5
+ # Setup Vizzly in Project
6
+
7
+ Help the user set up Vizzly visual regression testing in their project.
8
+
9
+ ## Setup Steps
10
+
11
+ **Execute steps 1-5 to complete the CLI setup, then proceed to step 6 for SDK recommendations.**
12
+
13
+ 1. **Check if Vizzly is already configured**
14
+ - Look for `vizzly.config.js` in the project root
15
+ - Check if `@vizzly-testing/cli` is in package.json
16
+ - If already configured, inform the user and exit
17
+
18
+ 2. **Install Vizzly CLI**
19
+
20
+ Run this command:
21
+
22
+ ```bash
23
+ npm install --save-dev @vizzly-testing/cli
24
+ ```
25
+
26
+ 3. **Initialize configuration**
27
+
28
+ Run this command:
29
+
30
+ ```bash
31
+ npx vizzly init
32
+ ```
33
+
34
+ This creates `vizzly.config.js` with sensible defaults.
35
+
36
+ 4. **Add .vizzly/ to .gitignore**
37
+
38
+ Add `.vizzly/` to the project's `.gitignore` file to avoid committing local TDD artifacts.
39
+
40
+ 5. **Environment Variables**
41
+
42
+ Present the user with instructions to set up their API token:
43
+
44
+ **For local development:**
45
+ Create a `.env` file:
46
+
47
+ ```
48
+ VIZZLY_TOKEN=your-api-token-here
49
+ ```
50
+
51
+ Add `.env` to `.gitignore`
52
+
53
+ **For CI/CD:**
54
+ Add `VIZZLY_TOKEN` as a secret in their CI provider
55
+
56
+ 6. **Next Steps**
57
+
58
+ After CLI setup is complete, detect the project type and recommend the appropriate SDK:
59
+
60
+ **SDK Detection Priority (check in this order):**
61
+ - **Ruby**: Check for `Gemfile` β†’ Recommend Ruby SDK
62
+ - **Storybook**: Check for `@storybook/*` in package.json or `.storybook/` directory β†’ Recommend Storybook SDK
63
+ - **Static Site**: Check for static site generators (`astro`, `next`, `gatsby`, `vitepress`, `eleventy` in package.json) or build directories (`dist/`, `build/`, `.next/out/`, `_site/`) β†’ Recommend Static Site SDK
64
+ - **JavaScript/Node.js**: Check for `package.json` β†’ Recommend JavaScript SDK
65
+
66
+ **Present the detected SDK recommendation:**
67
+
68
+ For Ruby:
69
+
70
+ ```
71
+ πŸ“¦ Next: Install the Ruby SDK
72
+ gem install vizzly
73
+
74
+ Documentation: https://docs.vizzly.dev/integration/sdk/ruby/overview
75
+ ```
76
+
77
+ For Storybook:
78
+
79
+ ```
80
+ πŸ“¦ Next: Install the Storybook SDK
81
+ npm install --save-dev @vizzly-testing/storybook
82
+
83
+ Documentation: https://docs.vizzly.dev/integration/sdk/storybook/overview
84
+ ```
85
+
86
+ For Static Site:
87
+
88
+ ```
89
+ πŸ“¦ Next: Install the Static Site SDK
90
+ npm install --save-dev @vizzly-testing/static-site
91
+
92
+ Documentation: https://docs.vizzly.dev/integration/sdk/static-site/overview
93
+ ```
94
+
95
+ For JavaScript:
96
+
97
+ ```
98
+ πŸ“¦ Next: Use the JavaScript SDK (already included with the CLI)
99
+
100
+ Documentation: https://docs.vizzly.dev/integration/sdk/javascript/overview
101
+ ```
102
+
103
+ **End with this context summary:**
104
+
105
+ ```
106
+ βœ… Setup Complete
107
+
108
+ What was accomplished:
109
+ - Vizzly CLI installed
110
+ - Configuration file created (vizzly.config.js)
111
+ - .vizzly/ added to .gitignore
112
+ - Environment variable instructions provided
113
+
114
+ What's next:
115
+ - Install the recommended SDK (see above)
116
+ - Add screenshot capture to your tests (if needed)
117
+ - Run `vizzly tdd start` to test locally
118
+
119
+ [For Claude: The CLI is now installed and configured. When the user returns saying they installed the SDK, help them integrate it into their tests and start capturing screenshots. The workflow is: install SDK β†’ add screenshot calls to tests β†’ run vizzly tdd to verify locally.]
120
+ ```
121
+
122
+ ## What NOT to Do
123
+
124
+ - Do not modify their test files
125
+ - Do not generate example test code
126
+ - Do not make assumptions about their test framework
127
+ - Do not create new test files
128
+
129
+ ## What to Provide
130
+
131
+ - Installation commands
132
+ - Configuration file creation
133
+ - Environment setup guidance
134
+ - Links to documentation
135
+ - Next steps for integration
136
+
137
+ Let the user integrate Vizzly into their existing tests themselves. Vizzly works with any test framework that can capture screenshots.
@@ -0,0 +1,111 @@
1
+ ---
2
+ description: Analyze test files and suggest where visual screenshots would be valuable
3
+ ---
4
+
5
+ # Suggest Screenshot Opportunities
6
+
7
+ Analyze existing test files to identify ideal locations for visual regression testing.
8
+
9
+ ## Process
10
+
11
+ 1. **Detect SDK type** (same logic as setup command)
12
+
13
+ **If Storybook detected** (`@storybook/*` in package.json or `.storybook/` directory):
14
+ - Inform user that Storybook SDK auto-discovers all stories
15
+ - No manual screenshot calls needed
16
+ - Exit early
17
+
18
+ **If Static Site detected** (build directories like `dist/`, `build/`, `.next/out/` or static site generators):
19
+ - Inform user that Static Site SDK auto-discovers all pages
20
+ - No manual screenshot calls needed
21
+ - Exit early
22
+
23
+ **Otherwise continue** with test file analysis below.
24
+
25
+ 2. **Ask user for test directory** if not obvious (e.g., `tests/`, `e2e/`, `__tests__/`, `spec/`)
26
+
27
+ 3. **Find test files** using glob patterns:
28
+ - `**/*.test.{js,ts,jsx,tsx}`
29
+ - `**/*.spec.{js,ts,jsx,tsx}`
30
+ - `**/e2e/**/*.{js,ts}`
31
+
32
+ **IMPORTANT: Exclude these directories:**
33
+ - `node_modules/`
34
+ - `dist/`, `build/`, `out/`
35
+ - `.next/`, `.nuxt/`, `.vite/`
36
+ - `coverage/`, `.nyc_output/`
37
+ - `vendor/`
38
+ - Any hidden directories (`.*/`)
39
+
40
+ Use the Glob tool with explicit exclusion or filter results to avoid these directories.
41
+
42
+ 4. **Analyze test files** looking for:
43
+ - Page navigations (`.goto()`, `.visit()`, `navigate()`)
44
+ - User interactions before assertions (`.click()`, `.type()`, `.fill()`)
45
+ - Component rendering (React Testing Library, etc.)
46
+ - Visual assertions or wait conditions
47
+
48
+ 5. **Suggest screenshot points** where:
49
+ - After page loads or navigations
50
+ - After key user interactions
51
+ - Before visual assertions
52
+ - At different viewport sizes
53
+ - For different user states (logged in/out, etc.)
54
+
55
+ 6. **Provide code examples** specific to their test framework:
56
+
57
+ **Playwright:**
58
+
59
+ ```javascript
60
+ import { vizzlyScreenshot } from '@vizzly-testing/cli/client';
61
+
62
+ // After page navigation
63
+ await page.goto('/dashboard');
64
+ await vizzlyScreenshot('dashboard-logged-in', await page.screenshot(), {
65
+ browser: 'chrome',
66
+ viewport: '1920x1080'
67
+ });
68
+ ```
69
+
70
+ **Cypress:**
71
+
72
+ ```javascript
73
+ cy.visit('/login');
74
+ cy.screenshot('login-page');
75
+ // Then add vizzlyScreenshot in custom command
76
+ ```
77
+
78
+ ## Output Format
79
+
80
+ ```
81
+ Found 8 potential screenshot opportunities in your tests:
82
+
83
+ tests/e2e/auth.spec.js:
84
+ Line 15: After login page navigation
85
+ Suggested screenshot: 'login-page'
86
+ Reason: Page load after navigation
87
+
88
+ Line 28: After successful login
89
+ Suggested screenshot: 'dashboard-authenticated'
90
+ Reason: User state change (logged in)
91
+
92
+ tests/e2e/checkout.spec.js:
93
+ Line 42: Shopping cart with items
94
+ Suggested screenshot: 'cart-with-items'
95
+ Reason: Visual state after user interaction
96
+
97
+ Line 67: Checkout confirmation page
98
+ Suggested screenshot: 'order-confirmation'
99
+ Reason: Final state of user flow
100
+
101
+ Example integration for Playwright:
102
+ [Provide code example specific to their test]
103
+ ```
104
+
105
+ ## Important Notes
106
+
107
+ - **Do NOT modify test files**
108
+ - **Do NOT create new test files**
109
+ - Only provide suggestions and examples
110
+ - Let the user decide where to add screenshots
111
+ - Respect their test framework and structure
@@ -0,0 +1,43 @@
1
+ ---
2
+ description: Check TDD dashboard status and view visual regression test results
3
+ ---
4
+
5
+ # Check Vizzly TDD Status
6
+
7
+ Use the Vizzly MCP server to check the current TDD status:
8
+
9
+ 1. Call the `get_tdd_status` tool from the vizzly MCP server
10
+ 2. Analyze the comparison results
11
+ 3. Show a summary of:
12
+ - Total screenshots tested
13
+ - Passed, failed, and new screenshot counts
14
+ - List of failed comparisons with diff percentages
15
+ - Available diff images to inspect
16
+ 4. If TDD server is running, provide the dashboard URL
17
+ 5. For failed comparisons, provide guidance on next steps
18
+
19
+ ## Example Output Format
20
+
21
+ ```
22
+ Vizzly TDD Status:
23
+ βœ… Total: 15 screenshots
24
+ βœ… Passed: 12
25
+ ❌ Failed: 2 (exceeded threshold)
26
+ πŸ†• New: 1 (no baseline)
27
+
28
+ Failed Comparisons:
29
+ - homepage (2.3% diff) - Check .vizzly/diffs/homepage.png
30
+ - login-form (1.8% diff) - Check .vizzly/diffs/login-form.png
31
+
32
+ New Screenshots:
33
+ - dashboard (no baseline for comparison)
34
+
35
+ Dashboard: http://localhost:47392
36
+
37
+ Next Steps:
38
+ - Review diff images to understand what changed
39
+ - Accept baselines from dashboard if changes are intentional
40
+ - Fix visual issues if changes are unintentional
41
+ ```
42
+
43
+ Focus on providing actionable information to help the developer understand what's failing and why.
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "vizzly-marketplace",
3
+ "owner": {
4
+ "name": "Vizzly Team",
5
+ "email": "team@vizzly.dev"
6
+ },
7
+ "metadata": {
8
+ "description": "Official Vizzly plugin for Claude Code - visual regression testing integration with TDD workflow support",
9
+ "version": "0.1.0"
10
+ },
11
+ "plugins": [
12
+ {
13
+ "name": "vizzly",
14
+ "source": "./",
15
+ "description": "Visual regression testing integration for Vizzly - TDD workflow support and debugging tools",
16
+ "version": "0.1.0",
17
+ "author": {
18
+ "name": "Vizzly Team",
19
+ "url": "https://vizzly.dev"
20
+ },
21
+ "homepage": "https://vizzly.dev",
22
+ "repository": "https://github.com/vizzly-testing/vizzly-cli",
23
+ "license": "MIT",
24
+ "keywords": ["visual-testing", "regression-testing", "tdd", "screenshot-testing", "vizzly"],
25
+ "category": "testing"
26
+ }
27
+ ]
28
+ }