@muggleai/works 5.35.0-staging.319 → 5.35.0-staging.321
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-DGJJZXIH.js → chunk-OXWLNJQY.js} +17 -1
- package/dist/{chunk-JAFOPIVX.js → chunk-VYRXNDB2.js} +21 -13
- package/dist/cli.js +2 -2
- package/dist/index.js +2 -2
- 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/plugin/scripts/guardrails.mjs +10 -1
- package/dist/release-manifest.json +4 -4
- package/dist/{src-RQDINEK7.js → src-5FESKMMM.js} +1 -1
- 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
- package/plugin/scripts/guardrails.mjs +10 -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.35.0-staging.
|
|
12
|
+
"version": "5.35.0-staging.321"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
}
|
|
@@ -6513,6 +6513,11 @@ var LLM_TIER_DISPLAY_LABELS = {
|
|
|
6513
6513
|
["light" /* Light */]: "Light mode"
|
|
6514
6514
|
};
|
|
6515
6515
|
|
|
6516
|
+
// packages/mcps/src/shared/workflow-max-run-time-constants.ts
|
|
6517
|
+
var MIN_WORKFLOW_MAX_RUN_TIME_OVERRIDE_MS = 60 * 1e3;
|
|
6518
|
+
var MAX_WORKFLOW_MAX_RUN_TIME_OVERRIDE_MS = 60 * 60 * 1e3;
|
|
6519
|
+
var WORKFLOW_MAX_RUN_TIME_PARAMS_DESCRIPTION = "Max runtime per workflow kind, in milliseconds (60000\u20133600000). The run fails as timed out once it exceeds this. Omit a kind to inherit the project/use case/test case setting, else its built-in limit.";
|
|
6520
|
+
|
|
6516
6521
|
// packages/mcps/src/mcp/e2e/contracts/constants.ts
|
|
6517
6522
|
var WORKFLOW_RUNTIME_ID_NOT_RUN_ID_HINT = "Use the `workflowRuntimeId` returned when the workflow was started \u2014 not a run `id` or a test runs summary's `latestWorkflowRunId`, which are run ids and are not found here.";
|
|
6518
6523
|
var TEST_STATE_PARALLEL_ACCOUNT_SET_LIMIT_MIN = 1;
|
|
@@ -6771,9 +6776,19 @@ var WorkflowMemoryParamsSchema = z.object({
|
|
|
6771
6776
|
var WorkflowLlmParamsSchema = z.object({
|
|
6772
6777
|
tier: z.enum(LlmTierEnum).optional()
|
|
6773
6778
|
});
|
|
6779
|
+
var WorkflowMaxRunTimeMsSchema = z.number().int().min(MIN_WORKFLOW_MAX_RUN_TIME_OVERRIDE_MS).max(MAX_WORKFLOW_MAX_RUN_TIME_OVERRIDE_MS).optional();
|
|
6780
|
+
var WorkflowMaxRunTimeParamsSchema = z.object({
|
|
6781
|
+
["websiteScan" /* WebsiteScan */]: WorkflowMaxRunTimeMsSchema,
|
|
6782
|
+
["testScriptGeneration" /* TestScriptGeneration */]: WorkflowMaxRunTimeMsSchema,
|
|
6783
|
+
["testScriptGenerationBulk" /* TestScriptGenerationBulk */]: WorkflowMaxRunTimeMsSchema,
|
|
6784
|
+
["testScriptReplay" /* TestScriptReplay */]: WorkflowMaxRunTimeMsSchema,
|
|
6785
|
+
["testScriptReplayBulk" /* TestScriptReplayBulk */]: WorkflowMaxRunTimeMsSchema,
|
|
6786
|
+
["reportGeneration" /* ReportGeneration */]: WorkflowMaxRunTimeMsSchema
|
|
6787
|
+
}).strict();
|
|
6774
6788
|
var WorkflowParamsSchema = z.object({
|
|
6775
6789
|
memory: WorkflowMemoryParamsSchema.optional().describe("Per-run memory override settings"),
|
|
6776
|
-
llm: WorkflowLlmParamsSchema.optional().describe(WORKFLOW_LLM_PARAMS_DESCRIPTION)
|
|
6790
|
+
llm: WorkflowLlmParamsSchema.optional().describe(WORKFLOW_LLM_PARAMS_DESCRIPTION),
|
|
6791
|
+
maxRunTimeMs: WorkflowMaxRunTimeParamsSchema.optional().describe(WORKFLOW_MAX_RUN_TIME_PARAMS_DESCRIPTION)
|
|
6777
6792
|
}).passthrough().optional().describe("Optional workflow parameters for workflow-level overrides");
|
|
6778
6793
|
var TokenUsageFilterTypeSchema = z.enum([
|
|
6779
6794
|
"project",
|
|
@@ -11470,6 +11485,7 @@ __export(e2e_exports2, {
|
|
|
11470
11485
|
WorkflowGetReplayLatestRunInputSchema: () => WorkflowGetReplayLatestRunInputSchema,
|
|
11471
11486
|
WorkflowListRuntimesInputSchema: () => WorkflowListRuntimesInputSchema,
|
|
11472
11487
|
WorkflowLlmParamsSchema: () => WorkflowLlmParamsSchema,
|
|
11488
|
+
WorkflowMaxRunTimeParamsSchema: () => WorkflowMaxRunTimeParamsSchema,
|
|
11473
11489
|
WorkflowMemoryParamsSchema: () => WorkflowMemoryParamsSchema,
|
|
11474
11490
|
WorkflowParamsSchema: () => WorkflowParamsSchema,
|
|
11475
11491
|
WorkflowStartTestCaseDetectionInputSchema: () => WorkflowStartTestCaseDetectionInputSchema,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __export, getLogger, TelemetryEnvironment, getConfig, createChildLogger, buildElectronAppReleaseAssetUrl, getActiveRuntimeTarget, getAuthService, hasApiKey, getElectronAppVersion, getElectronAppDir, getPlatformKey, reconcileProjectPreferences, getDataDir2, PREFERENCES_FILE_NAME, isFirstRun, writePreferences, DEFAULT_PREFERENCES, isElectronAppInstalled, getElectronAppChecksums, getChecksumForPlatform, getElectronAppSignedFromVersion, getReleaseSignerIdentityUri, verifyFileChecksum, resolveElectronAppExecutablePath, calculateFileChecksum, initTelemetry, Surface, ServiceName, track, EventName, getQaTools, getLocalQaTools, performLogout, assertDeviceCodeClientProvisioned, performLogin, getActiveElectronAppReleaseStream, buildToolInputJsonSchema, toolRequiresAuth, getCallerCredentials, parseElectronAppDirName, getElectronAppReleaseTagPrefix, hasShownDisclosure, markDisclosureShown, getBundledElectronAppVersion, getElectronAppVersionSource, getCredentialsFilePath, ElectronAppReleaseStream, __require, getDisclosureCopy, buildOnboardingPlan, applyOnboardingAnswers, needsOnboarding, buildLlmSourcePlan, describeLlmSourceStatus, resolveLlmSourceStatus, readRunView, RunViewError, renderRunViewText, writeRunViewHtml, openBrowserUrl, evaluateCheckoutFreshness, runGitCommand, BLOCKING_FRESHNESS_VERDICTS, claimServiceStack, BUSY_EXIT_CODE, checkServiceStack, releaseServiceStack, readServiceStackStatus, resolvePreferences, buildElectronAppChecksumsUrl, OnboardingBlanketChoice, PreferenceKey, LlmSource, applyLlmSourceSelection, describeStackMismatch, ELECTRON_APP_CHECKSUMS_ASSET_NAME, getDataDir, DEFAULT_LOCAL_LLM_BASE_URL, isValidLocalBaseUrl, local_exports } from './chunk-
|
|
1
|
+
import { __export, getLogger, TelemetryEnvironment, getConfig, createChildLogger, buildElectronAppReleaseAssetUrl, getActiveRuntimeTarget, getAuthService, hasApiKey, getElectronAppVersion, getElectronAppDir, getPlatformKey, reconcileProjectPreferences, getDataDir2, PREFERENCES_FILE_NAME, isFirstRun, writePreferences, DEFAULT_PREFERENCES, isElectronAppInstalled, getElectronAppChecksums, getChecksumForPlatform, getElectronAppSignedFromVersion, getReleaseSignerIdentityUri, verifyFileChecksum, resolveElectronAppExecutablePath, calculateFileChecksum, initTelemetry, Surface, ServiceName, track, EventName, getQaTools, getLocalQaTools, performLogout, assertDeviceCodeClientProvisioned, performLogin, getActiveElectronAppReleaseStream, buildToolInputJsonSchema, toolRequiresAuth, getCallerCredentials, parseElectronAppDirName, getElectronAppReleaseTagPrefix, hasShownDisclosure, markDisclosureShown, getBundledElectronAppVersion, getElectronAppVersionSource, getCredentialsFilePath, ElectronAppReleaseStream, __require, getDisclosureCopy, buildOnboardingPlan, applyOnboardingAnswers, needsOnboarding, buildLlmSourcePlan, describeLlmSourceStatus, resolveLlmSourceStatus, readRunView, RunViewError, renderRunViewText, writeRunViewHtml, openBrowserUrl, evaluateCheckoutFreshness, runGitCommand, BLOCKING_FRESHNESS_VERDICTS, claimServiceStack, BUSY_EXIT_CODE, checkServiceStack, releaseServiceStack, readServiceStackStatus, resolvePreferences, buildElectronAppChecksumsUrl, OnboardingBlanketChoice, PreferenceKey, LlmSource, applyLlmSourceSelection, describeStackMismatch, ELECTRON_APP_CHECKSUMS_ASSET_NAME, getDataDir, DEFAULT_LOCAL_LLM_BASE_URL, isValidLocalBaseUrl, local_exports } from './chunk-OXWLNJQY.js';
|
|
2
2
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
3
3
|
import { ListToolsRequestSchema, CallToolRequestSchema, ListResourcesRequestSchema, ReadResourceRequestSchema } from '@modelcontextprotocol/sdk/types.js';
|
|
4
4
|
import { v4 } from 'uuid';
|
|
@@ -595,6 +595,8 @@ var UnpassedCaseStatus = /* @__PURE__ */ ((UnpassedCaseStatus2) => {
|
|
|
595
595
|
// src/e2e-result/constants.ts
|
|
596
596
|
var E2E_RESULT_MARKER_PREFIX = "<!-- muggle-e2e-result:v1 ";
|
|
597
597
|
var E2E_RESULT_MARKER_SUFFIX = " -->";
|
|
598
|
+
var ISSUE_REFERENCE_MARKER = /(#|\bGH-)(?=\d)/gi;
|
|
599
|
+
var ISSUE_REFERENCE_BREAK = "⁠";
|
|
598
600
|
var UNPASSED_DETAIL_MAX_CHARS = 300;
|
|
599
601
|
var UNPASSED_STATUS_EMOJI = {
|
|
600
602
|
["failed" /* Failed */]: "\u274C",
|
|
@@ -608,19 +610,25 @@ function escapeHtml(s) {
|
|
|
608
610
|
function escapeHtmlAttribute(s) {
|
|
609
611
|
return escapeHtml(s).replace(/"/g, """);
|
|
610
612
|
}
|
|
613
|
+
function breakIssueReferences(s) {
|
|
614
|
+
return s.replace(ISSUE_REFERENCE_MARKER, `$1${ISSUE_REFERENCE_BREAK}`);
|
|
615
|
+
}
|
|
616
|
+
function escapeFreeText(s) {
|
|
617
|
+
return breakIssueReferences(escapeHtml(s));
|
|
618
|
+
}
|
|
611
619
|
function withResolutionLabel(labelledText, resolutionLabel) {
|
|
612
620
|
return resolutionLabel ? `${labelledText} (${resolutionLabel})` : labelledText;
|
|
613
621
|
}
|
|
614
622
|
function describeUnpassedCase(unpassed) {
|
|
615
623
|
const outcome = unpassed.status === "failed" /* Failed */ && unpassed.failedStep !== void 0 ? `failed at step ${unpassed.failedStep}` : unpassed.status;
|
|
616
|
-
return `${outcome}: ${
|
|
624
|
+
return `${outcome}: ${escapeFreeText(unpassed.detail)}`;
|
|
617
625
|
}
|
|
618
626
|
function describeFailsOnBase(failsOnBase) {
|
|
619
627
|
const baselineLink = failsOnBase.viewUrl ? ` ([baseline run](${failsOnBase.viewUrl}))` : "";
|
|
620
628
|
return ` \xB7 also fails on base \`${failsOnBase.baselineSha.slice(0, SHORT_SHA_LENGTH)}\`${baselineLink}`;
|
|
621
629
|
}
|
|
622
630
|
function renderUnpassedCaseBullet(unpassed, linkText, linkTarget) {
|
|
623
|
-
return `- ${UNPASSED_STATUS_EMOJI[unpassed.status]} **${
|
|
631
|
+
return `- ${UNPASSED_STATUS_EMOJI[unpassed.status]} **${escapeFreeText(withResolutionLabel(unpassed.name, unpassed.resolutionLabel))}** \u2014 ${describeUnpassedCase(unpassed)} \xB7 [${linkText}](${linkTarget})` + (unpassed.failsOnBase ? describeFailsOnBase(unpassed.failsOnBase) : "");
|
|
624
632
|
}
|
|
625
633
|
var UnpassedCaseSchema = z.object({
|
|
626
634
|
name: z.string(),
|
|
@@ -823,13 +831,13 @@ function tableCell(s) {
|
|
|
823
831
|
return singleLine(s).replace(/\|/g, "\\|");
|
|
824
832
|
}
|
|
825
833
|
function stepText(step) {
|
|
826
|
-
return
|
|
834
|
+
return escapeFreeText((step.description ?? step.action).replace(STEP_ELEMENT_ID_SUFFIX, ""));
|
|
827
835
|
}
|
|
828
836
|
function withShortId(shortId, labelledText) {
|
|
829
837
|
return shortId ? `${shortId}${SHORT_ID_LABEL_SEPARATOR}${labelledText}` : labelledText;
|
|
830
838
|
}
|
|
831
839
|
function testLabel(test) {
|
|
832
|
-
return withResolutionLabel(withShortId(test.testCaseShortId, test.name), test.resolutionLabel);
|
|
840
|
+
return escapeFreeText(withResolutionLabel(withShortId(test.testCaseShortId, test.name), test.resolutionLabel));
|
|
833
841
|
}
|
|
834
842
|
function dashboardLink(test) {
|
|
835
843
|
return `<a href="${escapeHtmlAttribute(test.viewUrl)}" target="_blank" rel="noopener noreferrer">Open the full run on Muggle AI \u2192</a>`;
|
|
@@ -886,7 +894,7 @@ function renderUseCaseGroup(useCaseName, members, numbering) {
|
|
|
886
894
|
].filter((part) => part !== null).join(" \xB7 ");
|
|
887
895
|
return [
|
|
888
896
|
"",
|
|
889
|
-
`<details${isAllPassed ? "" : " open"}><summary><b>${
|
|
897
|
+
`<details${isAllPassed ? "" : " open"}><summary><b>${escapeFreeText(useCaseName)}</b> \u2014 ${tally}</summary>`,
|
|
890
898
|
...indented(members.map((member) => renderOverviewBullet(member, numbering, ""))),
|
|
891
899
|
"</details>"
|
|
892
900
|
];
|
|
@@ -927,7 +935,7 @@ function renderTestDetails(entry, testNumber, screenshotDetail = "before-and-aft
|
|
|
927
935
|
const { test } = entry;
|
|
928
936
|
const lines = [`<a name="${testAnchor(test)}"></a>`, "", `#### ${statusEmoji(test)} ${testNumber}. ${testLabel(test)}`, ""];
|
|
929
937
|
if (test.description && !isSameText(test.description, test.name)) {
|
|
930
|
-
lines.push(`_${singleLine(test.description)}_`, "");
|
|
938
|
+
lines.push(`_${escapeFreeText(singleLine(test.description))}_`, "");
|
|
931
939
|
}
|
|
932
940
|
lines.push(...renderResultTable(entry));
|
|
933
941
|
const steps = renderSteps(test, screenshotDetail);
|
|
@@ -981,14 +989,14 @@ function renderStepScreenshots(step, position, screenshotDetail) {
|
|
|
981
989
|
}
|
|
982
990
|
function runSummaryLabel(runSummary) {
|
|
983
991
|
const statusLabel = runSummary.status ? `${RUN_SUMMARY_VERDICT_STATUS_LABELS[runSummary.status]} \u2014 ` : "";
|
|
984
|
-
return `${RUN_SUMMARY_MARKER} Summary \xB7 ${statusLabel}${
|
|
992
|
+
return `${RUN_SUMMARY_MARKER} Summary \xB7 ${statusLabel}${escapeFreeText(singleLine(runSummary.headline))}`;
|
|
985
993
|
}
|
|
986
994
|
function runSummaryVerdictLines(runSummary) {
|
|
987
995
|
const labelledTexts = [
|
|
988
996
|
["Verdict", runSummary.verdict],
|
|
989
997
|
["Blocking issues", runSummary.blockingIssues]
|
|
990
998
|
];
|
|
991
|
-
return labelledTexts.filter((labelled) => Boolean(labelled[1])).map(([label, text]) => `**${label}:** ${
|
|
999
|
+
return labelledTexts.filter((labelled) => Boolean(labelled[1])).map(([label, text]) => `**${label}:** ${escapeFreeText(singleLine(text))}`);
|
|
992
1000
|
}
|
|
993
1001
|
function renderRunSummaryRow(runSummary, screenshotDetail) {
|
|
994
1002
|
if (!runSummary) {
|
|
@@ -1047,10 +1055,10 @@ function renderResultTable(entry) {
|
|
|
1047
1055
|
rows.push("| **Result** | \u2705 Passed |", "|:--|:--|");
|
|
1048
1056
|
} else if (test.status === "failed") {
|
|
1049
1057
|
rows.push(`| **Result** | \u274C Failed at step ${failureOrdinal(test, test.failureStepIndex)} |`, "|:--|:--|");
|
|
1050
|
-
rows.push(`| **Why** | ${tableCell(
|
|
1058
|
+
rows.push(`| **Why** | ${tableCell(escapeFreeText(test.error))} |`);
|
|
1051
1059
|
} else {
|
|
1052
1060
|
rows.push("| **Result** | \u26A0\uFE0F Inconclusive |", "|:--|:--|");
|
|
1053
|
-
rows.push(`| **Why** | ${tableCell(
|
|
1061
|
+
rows.push(`| **Why** | ${tableCell(escapeFreeText(test.reason))} |`);
|
|
1054
1062
|
}
|
|
1055
1063
|
if (entry.attempts > 1) {
|
|
1056
1064
|
rows.push(`| **Attempts** | ${entry.attempts} \u2014 showing the latest |`);
|
|
@@ -1256,7 +1264,7 @@ async function resolveGsScreenshotUrls(report, opts) {
|
|
|
1256
1264
|
if (gsUrls.length === 0) {
|
|
1257
1265
|
return report;
|
|
1258
1266
|
}
|
|
1259
|
-
const mcps = await import('./src-
|
|
1267
|
+
const mcps = await import('./src-5FESKMMM.js');
|
|
1260
1268
|
const credentials = await mcps.getCallerCredentialsAsync();
|
|
1261
1269
|
if (!credentials.bearerToken && !credentials.apiKey) {
|
|
1262
1270
|
stderrWrite(
|
|
@@ -2507,7 +2515,7 @@ function withFileLock(lockPath, waitMs, run) {
|
|
|
2507
2515
|
|
|
2508
2516
|
// src/pr-walkthrough/progress.ts
|
|
2509
2517
|
var encodeState = (cases) => JSON.stringify(cases).replace(/--/g, "-\\u002d");
|
|
2510
|
-
var tableCell2 = (text) => text.replace(/\|/g, "\\|").replace(/\s*\n\s*/g, " ");
|
|
2518
|
+
var tableCell2 = (text) => breakIssueReferences(text.replace(/\|/g, "\\|").replace(/\s*\n\s*/g, " "));
|
|
2511
2519
|
function renderResultCell(progressCase) {
|
|
2512
2520
|
const label = PROGRESS_STATUS_LABELS[progressCase.status];
|
|
2513
2521
|
return progressCase.viewUrl ? `[${label}](${progressCase.viewUrl})` : label;
|
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-
|
|
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-
|
|
1
|
+
export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-VYRXNDB2.js';
|
|
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-OXWLNJQY.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.35.0-staging.
|
|
4
|
+
"version": "5.35.0-staging.321",
|
|
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.35.0-staging.
|
|
3
|
+
"version": "5.35.0-staging.321",
|
|
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.35.0-staging.
|
|
5
|
+
"version": "5.35.0-staging.321",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
|
@@ -2215,9 +2215,18 @@ function detectFinishedRun(input2) {
|
|
|
2215
2215
|
};
|
|
2216
2216
|
}
|
|
2217
2217
|
|
|
2218
|
+
// src/e2e-result/constants.ts
|
|
2219
|
+
var ISSUE_REFERENCE_MARKER = /(#|\bGH-)(?=\d)/gi;
|
|
2220
|
+
var ISSUE_REFERENCE_BREAK = "⁠";
|
|
2221
|
+
|
|
2222
|
+
// src/e2e-result/format.ts
|
|
2223
|
+
function breakIssueReferences(s) {
|
|
2224
|
+
return s.replace(ISSUE_REFERENCE_MARKER, `$1${ISSUE_REFERENCE_BREAK}`);
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2218
2227
|
// src/pr-walkthrough/progress.ts
|
|
2219
2228
|
var encodeState = (cases) => JSON.stringify(cases).replace(/--/g, "-\\u002d");
|
|
2220
|
-
var tableCell = (text) => text.replace(/\|/g, "\\|").replace(/\s*\n\s*/g, " ");
|
|
2229
|
+
var tableCell = (text) => breakIssueReferences(text.replace(/\|/g, "\\|").replace(/\s*\n\s*/g, " "));
|
|
2221
2230
|
var isProgressCase = (value) => {
|
|
2222
2231
|
if (!value || typeof value !== "object") return false;
|
|
2223
2232
|
const candidate = value;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release": "5.35.0-staging.
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
5
|
-
"buildTime": "2026-11-
|
|
2
|
+
"release": "5.35.0-staging.321",
|
|
3
|
+
"buildId": "run-321-1",
|
|
4
|
+
"commitSha": "a268f42d1c22c1ce2d2f7afc15ec7aa9850b5dbc",
|
|
5
|
+
"buildTime": "2026-11-10T05:38:34Z",
|
|
6
6
|
"serviceName": "muggle-ai-works-mcp"
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ACTION_SCRIPT_FILE_NAME, BASE_REMOTE_NAME, BLOCKING_FRESHNESS_VERDICTS, BRANCH_CREATION_REFLOG_PREFIX, BUSY_EXIT_CODE, CLAUDE_CODE_AUTH_STATUS_ARGS, CLAUDE_CODE_CHECK_TIMEOUT_MS, CLAUDE_CODE_EXECUTABLE, CLAUDE_CODE_EXECUTABLE_NOT_FOUND_CODE, CLAUDE_CODE_SESSION_LINK_ENV_VARS, CLAUDE_CODE_VERSION_ARGS, CheckoutFreshnessVerdict, ClaudeCodeReadiness, DEFAULT_LOCAL_LLM_BASE_URL, DEFAULT_PREFERENCES, ELECTRON_APP_CHECKSUMS_ASSET_NAME, ELECTRON_APP_EXECUTABLE_PATH_SEGMENTS, ELECTRON_APP_RESOURCES_PATH_SEGMENTS, ElectronAppPlatform, ElectronAppReleaseStream, HTML_VIEW_OFFER_LINE, LLM_CREDENTIALS_FILE_MODE, LLM_CREDENTIALS_FILE_NAME, LLM_SOURCE_HEADER, LLM_SOURCE_OPTIONS, LLM_SOURCE_OWNED_ENV_NAMES, LLM_SOURCE_PROMPT, LLM_SOURCE_SCOPE_NOTE, LlmSource, MASKED_API_KEY_PREFIX, MASKED_API_KEY_VISIBLE_CHARS, MAX_LISTED_INHERITED_COMMITS, ONBOARDING_BLANKET_OPTIONS, ONBOARDING_CHOICE_GROUPS, ONBOARDING_MAX_OFFERS, ONBOARDING_PRIMER_BULLETS, ONBOARDING_PRIMER_HEADLINE, ONBOARDING_TOGGLE_GROUPS, ONBOARDING_TOGGLE_PROMPT, ONBOARDING_UNSELECTED_TOGGLE_VALUE, OnboardingBlanketChoice, OnboardingGroupKind, PREFERENCES_FILE_NAME, PREFERENCES_PROJECT_DIR_NAME, PREFERENCES_SCHEMA, PREFERENCES_VERSION, PREFERENCE_ALLOWED_VALUES, PreferenceKey, PreferenceValue, ProjectPreferencesReconcileOutcome, RUN_SESSIONS_DIR_NAME, RUN_VIEW_DASHBOARD_LINK_LABEL, RunViewError, RuntimeTarget, SCREENSHOT_DIR_RELATIVE_PATH, SCREENSHOT_FILE_EXTENSION, StackCheckVerdict, StackClaimVerdict, StackLeaseEndReason, StackMismatchKind, StackPortAction, WATCHER_LIFETIME_SECONDS, WATCHER_LIFETIME_UNBOUNDED_SECONDS, applyLlmSourceSelection, applyOnboardingAnswers, assertDeviceCodeClientProvisioned, buildElectronAppChecksumsUrl, buildElectronAppDirName, buildElectronAppReleaseAssetUrl, buildElectronAppReleaseTag, buildLlmSourcePlan, buildOnboardingPlan, buildToolInputJsonSchema, calculateFileChecksum, checkServiceStack, claimServiceStack, compareQueuePlaces, completeOnboarding, createApiKeyWithToken, createChildLogger, decideStackClaim, decideStackReap, decideStackRelease, decideStackRunEnd, decideStackRunStart, deleteApiKeyData, deleteCredentials, describeLlmSourceStatus, describeStackMismatch, e2e_exports as e2e, evaluateCheckoutFreshness, findVacatedNeeds, finishStackRun, formatPreferencesOneLiner, getActiveElectronAppReleaseStream, getActiveRuntimeTarget, getApiKey, getApiKeyFilePath, getAuthService, getBundledElectronAppVersion, getCallerCredentials, getCallerCredentialsAsync, getChecksumForPlatform, getConfig, getCredentialsFilePath, getDashboardBaseUrl, getDataDir2 as getDataDir, getDownloadBaseUrl, getElectronAppChecksums, getElectronAppDir, getElectronAppReleaseTagPrefix, getElectronAppSignedFromVersion, getElectronAppVersion, getElectronAppVersionSource, getLlmSourceOption, getLocalQaTools, getLogger, getOnboardingToggleKeys, getPlatformKey, getQaTools, getReleaseSignerIdentityUri, getRunSessionsDir, getValidApiKeyData, getValidCredentials, hasApiKey, isElectronAppInstalled, isElectronAppPlatform, isFirstRun, isValidLocalBaseUrl, loadApiKeyData, loadCredentials, local_exports as localQa, lookUpCheckoutPullRequest, markOnboardingCompleted, maskLlmApiKey, mcp_exports as mcp, needsConflict, needsOnboarding, openBrowserUrl, parseElectronAppDirName, performLogin, performLogout, pollDeviceCode, portOfUrl, e2e_exports as qa, readPreferencesMetadata, readRunView, readServiceStackStatus, reapServiceStack, reconcileProjectPreferences, recordOnboardingSkip, releaseServiceStack, renderRunViewHtml, renderRunViewText, resetConfig, resetLogger, resetPreference, resolveActiveProfile, resolveActiveReleaseStream, resolveActiveReleaseTagPrefix, resolveBlanketPreferences, resolveElectronAppExecutablePath, resolveElectronAppPathOrNull, resolveElectronAppResourcesDir, resolveLlmSourceStatus, resolveOnboardingAnswers, resolvePreferences, resolveRunSessionPath, resolveRuntimeTarget, resolveTogglePreferences, runGitCommand, saveApiKey, saveApiKeyData, saveCredentials, startDeviceCodeFlow, startStackRun, stopVacatedServices, toDisplayRef, toolRequiresAuth, validatePreference, verifyFileChecksum, writeLlmEnvBlock, writePreferences, writePreferencesWithMetadata, writeRunViewHtml } from './chunk-
|
|
1
|
+
export { ACTION_SCRIPT_FILE_NAME, BASE_REMOTE_NAME, BLOCKING_FRESHNESS_VERDICTS, BRANCH_CREATION_REFLOG_PREFIX, BUSY_EXIT_CODE, CLAUDE_CODE_AUTH_STATUS_ARGS, CLAUDE_CODE_CHECK_TIMEOUT_MS, CLAUDE_CODE_EXECUTABLE, CLAUDE_CODE_EXECUTABLE_NOT_FOUND_CODE, CLAUDE_CODE_SESSION_LINK_ENV_VARS, CLAUDE_CODE_VERSION_ARGS, CheckoutFreshnessVerdict, ClaudeCodeReadiness, DEFAULT_LOCAL_LLM_BASE_URL, DEFAULT_PREFERENCES, ELECTRON_APP_CHECKSUMS_ASSET_NAME, ELECTRON_APP_EXECUTABLE_PATH_SEGMENTS, ELECTRON_APP_RESOURCES_PATH_SEGMENTS, ElectronAppPlatform, ElectronAppReleaseStream, HTML_VIEW_OFFER_LINE, LLM_CREDENTIALS_FILE_MODE, LLM_CREDENTIALS_FILE_NAME, LLM_SOURCE_HEADER, LLM_SOURCE_OPTIONS, LLM_SOURCE_OWNED_ENV_NAMES, LLM_SOURCE_PROMPT, LLM_SOURCE_SCOPE_NOTE, LlmSource, MASKED_API_KEY_PREFIX, MASKED_API_KEY_VISIBLE_CHARS, MAX_LISTED_INHERITED_COMMITS, ONBOARDING_BLANKET_OPTIONS, ONBOARDING_CHOICE_GROUPS, ONBOARDING_MAX_OFFERS, ONBOARDING_PRIMER_BULLETS, ONBOARDING_PRIMER_HEADLINE, ONBOARDING_TOGGLE_GROUPS, ONBOARDING_TOGGLE_PROMPT, ONBOARDING_UNSELECTED_TOGGLE_VALUE, OnboardingBlanketChoice, OnboardingGroupKind, PREFERENCES_FILE_NAME, PREFERENCES_PROJECT_DIR_NAME, PREFERENCES_SCHEMA, PREFERENCES_VERSION, PREFERENCE_ALLOWED_VALUES, PreferenceKey, PreferenceValue, ProjectPreferencesReconcileOutcome, RUN_SESSIONS_DIR_NAME, RUN_VIEW_DASHBOARD_LINK_LABEL, RunViewError, RuntimeTarget, SCREENSHOT_DIR_RELATIVE_PATH, SCREENSHOT_FILE_EXTENSION, StackCheckVerdict, StackClaimVerdict, StackLeaseEndReason, StackMismatchKind, StackPortAction, WATCHER_LIFETIME_SECONDS, WATCHER_LIFETIME_UNBOUNDED_SECONDS, applyLlmSourceSelection, applyOnboardingAnswers, assertDeviceCodeClientProvisioned, buildElectronAppChecksumsUrl, buildElectronAppDirName, buildElectronAppReleaseAssetUrl, buildElectronAppReleaseTag, buildLlmSourcePlan, buildOnboardingPlan, buildToolInputJsonSchema, calculateFileChecksum, checkServiceStack, claimServiceStack, compareQueuePlaces, completeOnboarding, createApiKeyWithToken, createChildLogger, decideStackClaim, decideStackReap, decideStackRelease, decideStackRunEnd, decideStackRunStart, deleteApiKeyData, deleteCredentials, describeLlmSourceStatus, describeStackMismatch, e2e_exports as e2e, evaluateCheckoutFreshness, findVacatedNeeds, finishStackRun, formatPreferencesOneLiner, getActiveElectronAppReleaseStream, getActiveRuntimeTarget, getApiKey, getApiKeyFilePath, getAuthService, getBundledElectronAppVersion, getCallerCredentials, getCallerCredentialsAsync, getChecksumForPlatform, getConfig, getCredentialsFilePath, getDashboardBaseUrl, getDataDir2 as getDataDir, getDownloadBaseUrl, getElectronAppChecksums, getElectronAppDir, getElectronAppReleaseTagPrefix, getElectronAppSignedFromVersion, getElectronAppVersion, getElectronAppVersionSource, getLlmSourceOption, getLocalQaTools, getLogger, getOnboardingToggleKeys, getPlatformKey, getQaTools, getReleaseSignerIdentityUri, getRunSessionsDir, getValidApiKeyData, getValidCredentials, hasApiKey, isElectronAppInstalled, isElectronAppPlatform, isFirstRun, isValidLocalBaseUrl, loadApiKeyData, loadCredentials, local_exports as localQa, lookUpCheckoutPullRequest, markOnboardingCompleted, maskLlmApiKey, mcp_exports as mcp, needsConflict, needsOnboarding, openBrowserUrl, parseElectronAppDirName, performLogin, performLogout, pollDeviceCode, portOfUrl, e2e_exports as qa, readPreferencesMetadata, readRunView, readServiceStackStatus, reapServiceStack, reconcileProjectPreferences, recordOnboardingSkip, releaseServiceStack, renderRunViewHtml, renderRunViewText, resetConfig, resetLogger, resetPreference, resolveActiveProfile, resolveActiveReleaseStream, resolveActiveReleaseTagPrefix, resolveBlanketPreferences, resolveElectronAppExecutablePath, resolveElectronAppPathOrNull, resolveElectronAppResourcesDir, resolveLlmSourceStatus, resolveOnboardingAnswers, resolvePreferences, resolveRunSessionPath, resolveRuntimeTarget, resolveTogglePreferences, runGitCommand, saveApiKey, saveApiKeyData, saveCredentials, startDeviceCodeFlow, startStackRun, stopVacatedServices, toDisplayRef, toolRequiresAuth, validatePreference, verifyFileChecksum, writeLlmEnvBlock, writePreferences, writePreferencesWithMetadata, writeRunViewHtml } from './chunk-OXWLNJQY.js';
|
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.35.0-staging.
|
|
4
|
+
"version": "5.35.0-staging.321",
|
|
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.35.0-staging.
|
|
4
|
+
"version": "5.35.0-staging.321",
|
|
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.35.0-staging.
|
|
3
|
+
"version": "5.35.0-staging.321",
|
|
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.35.0-staging.
|
|
5
|
+
"version": "5.35.0-staging.321",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/plugin/.mcp.json
CHANGED
|
@@ -2215,9 +2215,18 @@ function detectFinishedRun(input2) {
|
|
|
2215
2215
|
};
|
|
2216
2216
|
}
|
|
2217
2217
|
|
|
2218
|
+
// src/e2e-result/constants.ts
|
|
2219
|
+
var ISSUE_REFERENCE_MARKER = /(#|\bGH-)(?=\d)/gi;
|
|
2220
|
+
var ISSUE_REFERENCE_BREAK = "⁠";
|
|
2221
|
+
|
|
2222
|
+
// src/e2e-result/format.ts
|
|
2223
|
+
function breakIssueReferences(s) {
|
|
2224
|
+
return s.replace(ISSUE_REFERENCE_MARKER, `$1${ISSUE_REFERENCE_BREAK}`);
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2218
2227
|
// src/pr-walkthrough/progress.ts
|
|
2219
2228
|
var encodeState = (cases) => JSON.stringify(cases).replace(/--/g, "-\\u002d");
|
|
2220
|
-
var tableCell = (text) => text.replace(/\|/g, "\\|").replace(/\s*\n\s*/g, " ");
|
|
2229
|
+
var tableCell = (text) => breakIssueReferences(text.replace(/\|/g, "\\|").replace(/\s*\n\s*/g, " "));
|
|
2221
2230
|
var isProgressCase = (value) => {
|
|
2222
2231
|
if (!value || typeof value !== "object") return false;
|
|
2223
2232
|
const candidate = value;
|