@muggleai/works 5.26.0-staging.213 → 5.26.0-staging.214
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/.claude-plugin/marketplace.json +1 -1
- package/dist/{chunk-E44WTZTP.js → chunk-3RNJ666J.js} +22 -37
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin/.claude-plugin/plugin.json +1 -1
- package/dist/plugin/.codex-mcp.json +1 -1
- package/dist/plugin/.codex-plugin/plugin.json +1 -1
- package/dist/plugin/.cursor-plugin/plugin.json +1 -1
- package/dist/plugin/.mcp.json +1 -1
- package/dist/release-manifest.json +3 -3
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-mcp.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/.cursor-plugin/plugin.json +1 -1
- package/plugin/.mcp.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"name": "muggleai",
|
|
10
10
|
"source": "./plugin",
|
|
11
11
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
12
|
-
"version": "5.26.0-staging.
|
|
12
|
+
"version": "5.26.0-staging.214"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
}
|
|
@@ -366,8 +366,6 @@ var STEP_SCREENSHOT_MARKER = "\u{1F4F7}";
|
|
|
366
366
|
var TEST_DETAILS_DIVIDER = "---";
|
|
367
367
|
var SHORT_ID_LABEL_SEPARATOR = " \xB7 ";
|
|
368
368
|
var TEST_DETAILS_ANCHOR_PREFIX = "muggle-test-";
|
|
369
|
-
var STEP_THUMBNAIL_WIDTH_PX = 840;
|
|
370
|
-
var STEP_THUMBNAIL_QUALITY = 70;
|
|
371
369
|
var STEP_PAIR_IMAGE_WIDTH = 420;
|
|
372
370
|
var MAX_COMMENT_BYTES = 64e3;
|
|
373
371
|
|
|
@@ -491,13 +489,6 @@ function buildE2eResultRecord(latestTests) {
|
|
|
491
489
|
unpassed
|
|
492
490
|
};
|
|
493
491
|
}
|
|
494
|
-
|
|
495
|
-
// src/cli/pr-section/resolve-urls-types.ts
|
|
496
|
-
var GS_SCHEME = "gs://";
|
|
497
|
-
var PUBLIC_URL_PATH = "/v1/protected/storage/publicUrl";
|
|
498
|
-
var RESOLVE_TIMEOUT_MS = 1e4;
|
|
499
|
-
var LOG_PREFIX = "build-pr-section";
|
|
500
|
-
var IMAGE_PROXY_PREFIX = "https://images.weserv.nl/?url=";
|
|
501
492
|
var StepSchema = z.object({
|
|
502
493
|
stepIndex: z.number().int().nonnegative(),
|
|
503
494
|
action: z.string().min(1),
|
|
@@ -670,8 +661,8 @@ function endingFrame(test) {
|
|
|
670
661
|
caption: test.endingScreenshotCaption ?? defaultEndingCaption(test)
|
|
671
662
|
};
|
|
672
663
|
}
|
|
673
|
-
function
|
|
674
|
-
return `<img src="${url}" width="${
|
|
664
|
+
function screenshotImage(url, displayWidth, alt) {
|
|
665
|
+
return `<img src="${url}" width="${displayWidth}" alt="${escapeHtmlAttribute(alt)}">`;
|
|
675
666
|
}
|
|
676
667
|
function tableCell(s) {
|
|
677
668
|
return s.replace(/\s*\n\s*/g, " ").replace(/\|/g, "\\|");
|
|
@@ -784,11 +775,13 @@ function renderTestDetails(entry, testNumber, screenshotDetail = "before-and-aft
|
|
|
784
775
|
lines.push(`_${test.description.replace(/\s*\n\s*/g, " ")}_`, "");
|
|
785
776
|
}
|
|
786
777
|
lines.push(...renderResultTable(entry));
|
|
787
|
-
const
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
778
|
+
const frame = renderEndingFrame(test);
|
|
779
|
+
if (frame) {
|
|
780
|
+
lines.push("", ...frame);
|
|
781
|
+
}
|
|
782
|
+
const steps = renderSteps(test, screenshotDetail);
|
|
783
|
+
if (steps) {
|
|
784
|
+
lines.push("", `<details><summary>${stepsToggleLabel(test, screenshotDetail)}</summary>`, ...indented(steps), "</details>");
|
|
792
785
|
}
|
|
793
786
|
return lines.join("\n");
|
|
794
787
|
}
|
|
@@ -798,11 +791,8 @@ function indented(content) {
|
|
|
798
791
|
function testAnchor(identity) {
|
|
799
792
|
return `${TEST_DETAILS_ANCHOR_PREFIX}${walkthroughEntryKey(identity)}`;
|
|
800
793
|
}
|
|
801
|
-
function
|
|
794
|
+
function stepsToggleLabel(test, screenshotDetail) {
|
|
802
795
|
const count = test.steps.length;
|
|
803
|
-
if (count === 0) {
|
|
804
|
-
return "<kbd>Show the ending screen</kbd>";
|
|
805
|
-
}
|
|
806
796
|
const stepCount = `${count} ${count === 1 ? "step" : "steps"}`;
|
|
807
797
|
return screenshotDetail === "none" /* None */ ? `<kbd>Show ${stepCount}</kbd>` : `<kbd>Show ${stepCount} and screenshots</kbd>`;
|
|
808
798
|
}
|
|
@@ -818,26 +808,19 @@ function renderEndingFrame(test) {
|
|
|
818
808
|
return [
|
|
819
809
|
`**Ending screen** \u2014 ${frame.caption}`,
|
|
820
810
|
"",
|
|
821
|
-
|
|
811
|
+
screenshotImage(frame.url, DETAIL_IMAGE_WIDTH, test.name)
|
|
822
812
|
];
|
|
823
813
|
}
|
|
824
814
|
function renderStepScreenshots(step, position, screenshotDetail) {
|
|
825
815
|
if (!step.afterScreenshotUrl || screenshotDetail === "before-only" /* BeforeOnly */) {
|
|
826
|
-
return [
|
|
816
|
+
return [screenshotImage(step.screenshotUrl, STEP_IMAGE_WIDTH, `Step ${position}`)];
|
|
827
817
|
}
|
|
828
818
|
return [
|
|
829
819
|
"| Before | After |",
|
|
830
820
|
"|:--|:--|",
|
|
831
|
-
`| ${
|
|
821
|
+
`| ${screenshotImage(step.screenshotUrl, STEP_PAIR_IMAGE_WIDTH, `Step ${position} before`)} | ${screenshotImage(step.afterScreenshotUrl, STEP_PAIR_IMAGE_WIDTH, `Step ${position} after`)} |`
|
|
832
822
|
];
|
|
833
823
|
}
|
|
834
|
-
function thumbnailImage(url, displayWidth, alt) {
|
|
835
|
-
return `<img src="${thumbnailUrl(url)}" width="${displayWidth}" alt="${alt}">`;
|
|
836
|
-
}
|
|
837
|
-
function thumbnailUrl(url) {
|
|
838
|
-
const proxied = url.startsWith(IMAGE_PROXY_PREFIX) ? url : `${IMAGE_PROXY_PREFIX}${encodeURIComponent(url)}`;
|
|
839
|
-
return `${proxied}&w=${STEP_THUMBNAIL_WIDTH_PX}&q=${STEP_THUMBNAIL_QUALITY}&output=jpg`;
|
|
840
|
-
}
|
|
841
824
|
function renderSteps(test, screenshotDetail) {
|
|
842
825
|
const { steps } = test;
|
|
843
826
|
if (steps.length === 0) {
|
|
@@ -973,18 +956,20 @@ function renderFittingComment(report) {
|
|
|
973
956
|
function buildPrSection(report, opts) {
|
|
974
957
|
return splitWithOverflow(report, opts);
|
|
975
958
|
}
|
|
959
|
+
|
|
960
|
+
// src/cli/pr-section/resolve-urls-types.ts
|
|
961
|
+
var GS_SCHEME = "gs://";
|
|
962
|
+
var PUBLIC_URL_PATH = "/v1/protected/storage/publicUrl";
|
|
963
|
+
var RESOLVE_TIMEOUT_MS = 1e4;
|
|
964
|
+
var LOG_PREFIX = "build-pr-section";
|
|
965
|
+
|
|
966
|
+
// src/cli/pr-section/resolve-urls.ts
|
|
976
967
|
function errMsg(e) {
|
|
977
968
|
return e instanceof Error ? e.message : String(e);
|
|
978
969
|
}
|
|
979
970
|
function isGsUrl(url) {
|
|
980
971
|
return url.startsWith(GS_SCHEME);
|
|
981
972
|
}
|
|
982
|
-
function wrapInImageProxy(url) {
|
|
983
|
-
if (url.startsWith(IMAGE_PROXY_PREFIX)) {
|
|
984
|
-
return url;
|
|
985
|
-
}
|
|
986
|
-
return `${IMAGE_PROXY_PREFIX}${encodeURIComponent(url)}`;
|
|
987
|
-
}
|
|
988
973
|
function buildAuthHeaders(credentials) {
|
|
989
974
|
const headers = {};
|
|
990
975
|
if (credentials.bearerToken) {
|
|
@@ -1087,7 +1072,7 @@ async function resolveGsScreenshotUrls(report, opts) {
|
|
|
1087
1072
|
for (let i = 0; i < gsUrls.length; i++) {
|
|
1088
1073
|
const https = resolved[i];
|
|
1089
1074
|
if (https) {
|
|
1090
|
-
urlMap.set(gsUrls[i],
|
|
1075
|
+
urlMap.set(gsUrls[i], https);
|
|
1091
1076
|
} else {
|
|
1092
1077
|
failureCount++;
|
|
1093
1078
|
}
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-
|
|
1
|
+
export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-3RNJ666J.js';
|
|
2
2
|
export { createChildLogger, e2e_exports as e2e, getConfig, getLocalQaTools, getLogger, getQaTools, local_exports as localQa, mcp_exports as mcp, e2e_exports as qa, src_exports as shared } from './chunk-MJ34HBWC.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
4
|
-
"version": "5.26.0-staging.
|
|
4
|
+
"version": "5.26.0-staging.214",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
|
-
"version": "5.26.0-staging.
|
|
3
|
+
"version": "5.26.0-staging.214",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
|
-
"version": "5.26.0-staging.
|
|
5
|
+
"version": "5.26.0-staging.214",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"release": "5.18.0",
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
5
|
-
"buildTime": "2026-10-26T19:
|
|
3
|
+
"buildId": "run-214-1",
|
|
4
|
+
"commitSha": "647eac21c7d04165bee843fc43ac5d85f63ffa9c",
|
|
5
|
+
"buildTime": "2026-10-26T19:41:32Z",
|
|
6
6
|
"serviceName": "muggle-ai-works-mcp"
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muggleai/works",
|
|
3
3
|
"mcpName": "io.github.multiplex-ai/muggle",
|
|
4
|
-
"version": "5.26.0-staging.
|
|
4
|
+
"version": "5.26.0-staging.214",
|
|
5
5
|
"description": "13 years of Microsoft hyperscale engineering, packaged as a harness for your AI coding agent.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
4
|
-
"version": "5.26.0-staging.
|
|
4
|
+
"version": "5.26.0-staging.214",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
package/plugin/.codex-mcp.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
|
-
"version": "5.26.0-staging.
|
|
3
|
+
"version": "5.26.0-staging.214",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
|
-
"version": "5.26.0-staging.
|
|
5
|
+
"version": "5.26.0-staging.214",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|