@letsrunit/mcp-server 0.11.0 → 0.12.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/dist/index.js CHANGED
@@ -79391,7 +79391,7 @@ function registerDiff(server2, sessions2) {
79391
79391
  const session = sessions2.get(input.sessionId);
79392
79392
  sessions2.touch(input.sessionId);
79393
79393
  const diff = await unifiedHtmlDiff({ html: storedHtml, url: "about:blank" }, session.controller.page);
79394
- const screenshots = artifacts.filter((a) => a.filename.endsWith(".png")).map((a) => join(artifactDir, a.filename));
79394
+ const screenshots = artifacts.filter((a) => a.stepIdx === htmlArtifact.stepIdx && a.filename.endsWith(".png")).map((a) => join(artifactDir, a.filename));
79395
79395
  return text(
79396
79396
  JSON.stringify({
79397
79397
  diff,