@letsrunit/mcp-server 0.11.0 → 0.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letsrunit/mcp-server",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "MCP server for letsrunit — AI-agent browser test generation and execution",
5
5
  "keywords": [
6
6
  "testing",
@@ -47,12 +47,12 @@
47
47
  "packageManager": "yarn@4.10.3",
48
48
  "dependencies": {
49
49
  "@cucumber/cucumber": "^12.7.0",
50
- "@letsrunit/controller": "0.11.0",
51
- "@letsrunit/gherkin": "0.11.0",
52
- "@letsrunit/journal": "0.11.0",
53
- "@letsrunit/playwright": "0.11.0",
54
- "@letsrunit/store": "0.11.0",
55
- "@letsrunit/utils": "0.11.0",
50
+ "@letsrunit/controller": "0.13.0",
51
+ "@letsrunit/gherkin": "0.13.0",
52
+ "@letsrunit/journal": "0.13.0",
53
+ "@letsrunit/playwright": "0.13.0",
54
+ "@letsrunit/store": "0.13.0",
55
+ "@letsrunit/utils": "0.13.0",
56
56
  "@modelcontextprotocol/sdk": "^1.26.0",
57
57
  "@playwright/test": "^1.57.0",
58
58
  "zod": "^4.3.5"
package/src/tools/diff.ts CHANGED
@@ -79,7 +79,7 @@ export function registerDiff(server: McpServer, sessions: SessionManager): void
79
79
  const diff = await unifiedHtmlDiff({ html: storedHtml, url: 'about:blank' }, session.controller.page);
80
80
 
81
81
  const screenshots = artifacts
82
- .filter((a) => a.filename.endsWith('.png'))
82
+ .filter((a) => a.stepIdx === htmlArtifact.stepIdx && a.filename.endsWith('.png'))
83
83
  .map((a) => join(artifactDir, a.filename));
84
84
 
85
85
  return text(