@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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/tools/diff.ts +1 -1
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,
|