@muggleai/works 5.24.0-staging.176 → 5.24.0-staging.178

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.
@@ -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.24.0-staging.176"
12
+ "version": "5.24.0-staging.178"
13
13
  }
14
14
  ]
15
15
  }
@@ -11,8 +11,8 @@ import winston from 'winston';
11
11
  import { exec, spawn } from 'child_process';
12
12
  import axios, { AxiosError } from 'axios';
13
13
  import * as fs13 from 'fs/promises';
14
- import AppInsights from 'applicationinsights';
15
14
  import { z } from 'zod';
15
+ import AppInsights from 'applicationinsights';
16
16
 
17
17
  var __defProp = Object.defineProperty;
18
18
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
@@ -2699,6 +2699,15 @@ function applyLlmEnvOverrides(baseEnv, dataDirOverride2) {
2699
2699
  }
2700
2700
  return { env: baseEnv, appliedNames };
2701
2701
  }
2702
+ var RunEnvironment = /* @__PURE__ */ ((RunEnvironment2) => {
2703
+ RunEnvironment2["Local"] = "local";
2704
+ RunEnvironment2["Remote"] = "remote";
2705
+ return RunEnvironment2;
2706
+ })(RunEnvironment || {});
2707
+ var RunEnvironmentSchema = z.enum(["local" /* Local */, "remote" /* Remote */]);
2708
+ var RunEnvironmentInputSchema = RunEnvironmentSchema.optional().describe(
2709
+ "Environment lane for the run: 'local' (developer localhost) or 'remote' (deployed). Selects which versioned runSettings/credentials lane the cloud resolves. Omit for remote (default)."
2710
+ );
2702
2711
 
2703
2712
  // packages/mcps/src/mcp/local/services/display-resolution-constants.ts
2704
2713
  var DISPLAY_PARAMS_BY_RESOLUTION = {
@@ -2715,6 +2724,19 @@ function resolveDisplayParams(params) {
2715
2724
  const effectiveResolution = params.requestedResolution ?? storedResolution ?? DEFAULT_DISPLAY_RESOLUTION;
2716
2725
  return DISPLAY_PARAMS_BY_RESOLUTION[effectiveResolution] ?? DISPLAY_PARAMS_BY_RESOLUTION[DEFAULT_DISPLAY_RESOLUTION];
2717
2726
  }
2727
+ function resolveReplayDisplayParams(params) {
2728
+ if (params.requestedResolution === void 0) {
2729
+ return params.recordedDisplayParams ?? DISPLAY_PARAMS_BY_RESOLUTION[DEFAULT_DISPLAY_RESOLUTION];
2730
+ }
2731
+ const requestedDisplayParams = resolveDisplayParams({ requestedResolution: params.requestedResolution });
2732
+ const recorded = params.recordedDisplayParams;
2733
+ if (recorded !== void 0 && (recorded.browserWindowWidth !== requestedDisplayParams.browserWindowWidth || recorded.browserWindowHeight !== requestedDisplayParams.browserWindowHeight)) {
2734
+ throw new Error(
2735
+ `This test script was recorded at ${recorded.browserWindowWidth}x${recorded.browserWindowHeight}; replaying it at ${params.requestedResolution} would not replay its own runSettings record. Replay it without displayResolution, or run test generation at ${params.requestedResolution} to record that resolution's script.`
2736
+ );
2737
+ }
2738
+ return requestedDisplayParams;
2739
+ }
2718
2740
 
2719
2741
  // packages/mcps/src/mcp/local/services/replay-url-rewrite.ts
2720
2742
  function rewriteActionScriptUrls(params) {
@@ -2818,7 +2840,10 @@ function buildGenerationActionScript(params) {
2818
2840
  // Replay reads these from the recording, so they are written only when set:
2819
2841
  // a legacy test case must produce exactly the params it always did.
2820
2842
  ...params.testCase.pinnedAccount ? { pinnedAccount: params.testCase.pinnedAccount } : {},
2821
- ...params.freshSession === true ? { freshSession: true } : {}
2843
+ ...params.freshSession === true ? { freshSession: true } : {},
2844
+ // The studio loads this record's managed profile and secrets, and the cloud files the run
2845
+ // under it; without it the cloud picks the local record at displayParams.
2846
+ ...params.runSettingsId ? { runSettingsId: params.runSettingsId } : {}
2822
2847
  },
2823
2848
  goal: params.testCase.goal,
2824
2849
  url: params.localUrl,
@@ -2879,11 +2904,15 @@ function buildReplayActionScript(params) {
2879
2904
  runEnvironmentType: "local",
2880
2905
  // Sizes the studio's webview. Absent, the electron-app falls back to its
2881
2906
  // own hardcoded 1920x1080, which is why a phone-viewport run needs this.
2882
- displayParams: resolveDisplayParams({
2883
- requestedResolution: params.displayResolution
2907
+ displayParams: resolveReplayDisplayParams({
2908
+ requestedResolution: params.displayResolution,
2909
+ recordedDisplayParams: params.testScript.displayParams
2884
2910
  }),
2885
2911
  ...params.pinnedAccount ? { pinnedAccount: params.pinnedAccount } : {},
2886
- ...params.freshSession ? { freshSession: true } : {}
2912
+ ...params.freshSession ? { freshSession: true } : {},
2913
+ // A replay runs under the record of the script it replays. A remote-lane script's record
2914
+ // belongs to the other lane, so its replay is filed by size instead.
2915
+ ...params.testScript.type === "local" /* Local */ && params.testScript.runSettingsId ? { runSettingsId: params.testScript.runSettingsId } : {}
2887
2916
  },
2888
2917
  goal: params.testScript.name,
2889
2918
  url: params.localUrl,
@@ -3151,9 +3180,11 @@ function extractStudioCloudRefs(studioReturnedResult) {
3151
3180
  const viewUrl = asString(source.viewUrl);
3152
3181
  const cloudTestScriptId = asString(source.testScriptId);
3153
3182
  const cloudActionScriptId = asString(source.actionScriptId);
3183
+ const cloudRunSettingsId = asString(source.runSettingsId);
3154
3184
  if (viewUrl !== void 0) refs.viewUrl = viewUrl;
3155
3185
  if (cloudTestScriptId !== void 0) refs.cloudTestScriptId = cloudTestScriptId;
3156
3186
  if (cloudActionScriptId !== void 0) refs.cloudActionScriptId = cloudActionScriptId;
3187
+ if (cloudRunSettingsId !== void 0) refs.cloudRunSettingsId = cloudRunSettingsId;
3157
3188
  return refs;
3158
3189
  }
3159
3190
  async function readCloudRefsFile(inputFilePath) {
@@ -3584,7 +3615,8 @@ async function runTestGenerationLocked(params) {
3584
3615
  localTestScriptId: localTestScript.id,
3585
3616
  ownerUserId: authContent.userId,
3586
3617
  displayResolution: params.displayResolution,
3587
- freshSession: effectiveFreshSession
3618
+ freshSession: effectiveFreshSession,
3619
+ runSettingsId: params.runSettingsId
3588
3620
  });
3589
3621
  const inputFilePath = await writeTempFile({
3590
3622
  filename: `${runId}_input.json`,
@@ -4695,15 +4727,12 @@ var PinnedAccountSchema = z.object({
4695
4727
  emailSecretId: MuggleEntityIdSchema.describe("Secret ID (UUID) of the secret holding the account email"),
4696
4728
  passwordSecretId: MuggleEntityIdSchema.describe("Secret ID (UUID) of the secret holding the account password")
4697
4729
  });
4698
- var RunEnvironment = /* @__PURE__ */ ((RunEnvironment2) => {
4699
- RunEnvironment2["Local"] = "local";
4700
- RunEnvironment2["Remote"] = "remote";
4701
- return RunEnvironment2;
4702
- })(RunEnvironment || {});
4703
- var RunEnvironmentSchema = z.enum(["local" /* Local */, "remote" /* Remote */]);
4704
- var RunEnvironmentInputSchema = RunEnvironmentSchema.optional().describe(
4705
- "Environment lane for the run: 'local' (developer localhost) or 'remote' (deployed). Selects which versioned runSettings/credentials lane the cloud resolves. Omit for remote (default)."
4706
- );
4730
+ var DisplayParamsSchema = z.object({
4731
+ browserWindowWidth: z.number(),
4732
+ browserWindowHeight: z.number()
4733
+ });
4734
+
4735
+ // packages/mcps/src/mcp/e2e/contracts/local-run-schemas.ts
4707
4736
  var LocalExecutionContextInputSchema = z.object({
4708
4737
  originalUrl: z.string().url().describe("Original local URL used during local execution (typically localhost)"),
4709
4738
  productionUrl: z.string().url().describe("Cloud production URL for the test case"),
@@ -4732,6 +4761,12 @@ var LocalRunUploadInputSchema = z.object({
4732
4761
  ),
4733
4762
  freshSession: z.boolean().optional().describe(
4734
4763
  "True when the run started from an emptied browser session, copied from the run's actionParams. Omit otherwise"
4764
+ ),
4765
+ runSettingsId: z.string().optional().describe(
4766
+ "runSettings record the run executed under, copied from the run's actionParams. Omit when it named none"
4767
+ ),
4768
+ displayParams: DisplayParamsSchema.optional().describe(
4769
+ "Window size the run executed at, copied from the run's actionParams"
4735
4770
  )
4736
4771
  });
4737
4772
 
@@ -6642,7 +6677,9 @@ var workflowTools = [
6642
6677
  executionTimeMs: toolInput.executionTimeMs,
6643
6678
  errorMessage: toolInput.errorMessage,
6644
6679
  ...toolInput.pinnedAccount && { pinnedAccount: toolInput.pinnedAccount },
6645
- ...toolInput.freshSession === true && { freshSession: true }
6680
+ ...toolInput.freshSession === true && { freshSession: true },
6681
+ ...toolInput.runSettingsId && { runSettingsId: toolInput.runSettingsId },
6682
+ ...toolInput.displayParams && { displayParams: toolInput.displayParams }
6646
6683
  }
6647
6684
  };
6648
6685
  }
@@ -7578,7 +7615,13 @@ var TestScriptDetailsSchema = z.object({
7578
7615
  /** Cloud project ID (required for electron workflow context). */
7579
7616
  projectId: MuggleEntityIdSchema.describe("Cloud project ID (UUID)"),
7580
7617
  /** Cloud use case ID (required for electron workflow context). */
7581
- useCaseId: MuggleEntityIdSchema.describe("Cloud use case ID (UUID)")
7618
+ useCaseId: MuggleEntityIdSchema.describe("Cloud use case ID (UUID)"),
7619
+ /** The runSettings record the script was recorded under; a local-lane script's replay is recorded against it. */
7620
+ runSettingsId: z.string().optional(),
7621
+ /** The window size the script was recorded at; sizes the replay unless the caller names a resolution. */
7622
+ displayParams: DisplayParamsSchema.optional(),
7623
+ /** The lane the script belongs to; only a local-lane script's record names the replay's. */
7624
+ type: RunEnvironmentSchema.optional()
7582
7625
  });
7583
7626
  var ExecuteTestGenerationInputSchema = z.object({
7584
7627
  /** Test case details from muggle-remote-test-case-get. */
@@ -7598,6 +7641,10 @@ var ExecuteTestGenerationInputSchema = z.object({
7598
7641
  /** Resolution for this run. Overrides `testCase.displayOptions`; both absent means 1920x1080. */
7599
7642
  displayResolution: DisplayResolutionSchema.optional().describe(
7600
7643
  "Browser resolution for this run, e.g. R_0390x0844 for a 390x844 phone viewport. Overrides testCase.displayOptions; defaults to R_1920x1080 when neither is given."
7644
+ ),
7645
+ /** The local-lane runSettings record to generate the script for. */
7646
+ runSettingsId: z.string().optional().describe(
7647
+ "Local runSettings record to record this run against, e.g. a local script's runSettingsId. Pass its resolution as displayResolution."
7601
7648
  )
7602
7649
  });
7603
7650
  var ExecuteReplayInputSchema = z.object({
@@ -7619,9 +7666,9 @@ var ExecuteReplayInputSchema = z.object({
7619
7666
  mutations: z.array(z.string()).optional().describe(`Mutation parameters: string[] where each element is a plain-English instruction or a local file path (e.g. ["The post content should be 'Hello'", "Attach the image at C:\\\\Users\\\\user\\\\photo.jpg"]).`),
7620
7667
  /** Pinned account the script was recorded with, copied from the recording. */
7621
7668
  pinnedAccount: PinnedAccountSchema.nullable().optional().describe("Copy from actionParams.pinnedAccount of the muggle-remote-action-script-get result: the account the script was recorded as, not the test case's current pin. A pinned replay runs in that account's own browser session; omit when the recording carries none."),
7622
- /** Resolution for this run. A test script carries no stored resolution, so this is replay's only sizing input. */
7669
+ /** Resolution for this run; defaults to the size the script was recorded at. */
7623
7670
  displayResolution: DisplayResolutionSchema.optional().describe(
7624
- "Browser resolution for this run, e.g. R_0390x0844 for a 390x844 phone viewport. Defaults to R_1920x1080."
7671
+ "Browser resolution, e.g. R_0390x0844. Defaults to the script's recorded size."
7625
7672
  )
7626
7673
  });
7627
7674
  var CancelExecutionInputSchema = z.object({
@@ -8145,7 +8192,8 @@ var runResultGetTool = {
8145
8192
  // The studio publishes the run during execution; these are its returned cloud refs.
8146
8193
  storedRunResult.viewUrl ? `**View URL:** ${storedRunResult.viewUrl}` : `**Dashboard:** ${fallbackDashboardUrl}`,
8147
8194
  storedRunResult.cloudTestScriptId ? `**Cloud Test Script ID:** ${storedRunResult.cloudTestScriptId}` : "",
8148
- storedRunResult.cloudActionScriptId ? `**Cloud Action Script ID:** ${storedRunResult.cloudActionScriptId}` : ""
8195
+ storedRunResult.cloudActionScriptId ? `**Cloud Action Script ID:** ${storedRunResult.cloudActionScriptId}` : "",
8196
+ storedRunResult.cloudRunSettingsId ? `**Cloud Run Settings ID:** ${storedRunResult.cloudRunSettingsId}` : ""
8149
8197
  ];
8150
8198
  let testScriptSteps;
8151
8199
  if (storedRunResult.testScriptId) {
@@ -8268,7 +8316,8 @@ var executeTestGenerationTool = {
8268
8316
  timeoutMs: input.timeoutMs,
8269
8317
  showUi,
8270
8318
  freshSession: input.freshSession,
8271
- displayResolution: input.displayResolution
8319
+ displayResolution: input.displayResolution,
8320
+ runSettingsId: input.runSettingsId
8272
8321
  });
8273
8322
  const content = [
8274
8323
  "## Test Generation " + (generationRun.status === "passed" ? "Successful" : "Failed"),
@@ -1,4 +1,4 @@
1
- import { __export, getLogger, getConfig, createChildLogger, buildElectronAppReleaseAssetUrl, getActiveRuntimeTarget, getAuthService, hasApiKey, getElectronAppVersion, getElectronAppDir, getPlatformKey, reconcileProjectPreferences, getDataDir, 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, toolRequiresAuth, getCallerCredentials, getElectronAppReleaseTagPrefix, hasShownDisclosure, markDisclosureShown, getBundledElectronAppVersion, getElectronAppVersionSource, getCredentialsFilePath, buildElectronAppChecksumsUrl, __require, getDisclosureCopy, buildOnboardingPlan, applyOnboardingAnswers, needsOnboarding, readRunView, RunViewError, renderRunViewText, writeRunViewHtml, openBrowserUrl, OnboardingBlanketChoice, PreferenceKey, resolvePreferences } from './chunk-C5MMZNZJ.js';
1
+ import { __export, getLogger, getConfig, createChildLogger, buildElectronAppReleaseAssetUrl, getActiveRuntimeTarget, getAuthService, hasApiKey, getElectronAppVersion, getElectronAppDir, getPlatformKey, reconcileProjectPreferences, getDataDir, 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, toolRequiresAuth, getCallerCredentials, getElectronAppReleaseTagPrefix, hasShownDisclosure, markDisclosureShown, getBundledElectronAppVersion, getElectronAppVersionSource, getCredentialsFilePath, buildElectronAppChecksumsUrl, __require, getDisclosureCopy, buildOnboardingPlan, applyOnboardingAnswers, needsOnboarding, readRunView, RunViewError, renderRunViewText, writeRunViewHtml, openBrowserUrl, OnboardingBlanketChoice, PreferenceKey, resolvePreferences } from './chunk-JD4ZPKYY.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';
@@ -1042,7 +1042,7 @@ async function resolveGsScreenshotUrls(report, opts) {
1042
1042
  if (gsUrls.length === 0) {
1043
1043
  return report;
1044
1044
  }
1045
- const mcps = await import('./src-XCMPDHPJ.js');
1045
+ const mcps = await import('./src-JZMOPMB4.js');
1046
1046
  const credentials = await mcps.getCallerCredentialsAsync();
1047
1047
  if (!credentials.bearerToken && !credentials.apiKey) {
1048
1048
  stderrWrite(
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { runCli } from './chunk-JERBZROI.js';
3
- import './chunk-C5MMZNZJ.js';
2
+ import { runCli } from './chunk-OYZJAM3T.js';
3
+ import './chunk-JD4ZPKYY.js';
4
4
 
5
5
  // src/cli/main.ts
6
6
  runCli().catch((error) => {
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-JERBZROI.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-C5MMZNZJ.js';
1
+ export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-OYZJAM3T.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-JD4ZPKYY.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.24.0-staging.176",
4
+ "version": "5.24.0-staging.178",
5
5
  "author": {
6
6
  "name": "Muggle AI",
7
7
  "email": "support@muggle-ai.com"
@@ -4,7 +4,7 @@
4
4
  "command": "npx",
5
5
  "args": [
6
6
  "-y",
7
- "@muggleai/works@5.24.0-staging.176",
7
+ "@muggleai/works@5.24.0-staging.178",
8
8
  "serve"
9
9
  ],
10
10
  "env": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muggle",
3
- "version": "5.24.0-staging.176",
3
+ "version": "5.24.0-staging.178",
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.24.0-staging.176",
5
+ "version": "5.24.0-staging.178",
6
6
  "author": {
7
7
  "name": "Muggle AI",
8
8
  "email": "support@muggle-ai.com"
@@ -4,7 +4,7 @@
4
4
  "command": "npx",
5
5
  "args": [
6
6
  "-y",
7
- "@muggleai/works@5.24.0-staging.176",
7
+ "@muggleai/works@5.24.0-staging.178",
8
8
  "serve"
9
9
  ]
10
10
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "release": "5.18.0",
3
- "buildId": "run-176-1",
4
- "commitSha": "9ec6f9435429b034ab39af60051e0f0f29647991",
5
- "buildTime": "2026-10-23T00:39:09Z",
3
+ "buildId": "run-178-1",
4
+ "commitSha": "12d509ed5b1bea728de413fdc33621ac91da5285",
5
+ "buildTime": "2026-10-23T04:59:34Z",
6
6
  "serviceName": "muggle-ai-works-mcp"
7
7
  }
@@ -1 +1 @@
1
- export { ACTION_SCRIPT_FILE_NAME, DEFAULT_PREFERENCES, ELECTRON_APP_EXECUTABLE_PATH_SEGMENTS, ElectronAppPlatform, ElectronAppReleaseStream, HTML_VIEW_OFFER_LINE, 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, WATCHER_LIFETIME_SECONDS, WATCHER_LIFETIME_UNBOUNDED_SECONDS, applyOnboardingAnswers, assertDeviceCodeClientProvisioned, buildElectronAppChecksumsUrl, buildElectronAppReleaseAssetUrl, buildElectronAppReleaseTag, buildOnboardingPlan, calculateFileChecksum, completeOnboarding, createApiKeyWithToken, createChildLogger, deleteApiKeyData, deleteCredentials, e2e_exports as e2e, formatPreferencesOneLiner, getActiveElectronAppReleaseStream, getActiveRuntimeTarget, getApiKey, getApiKeyFilePath, getAuthService, getBundledElectronAppVersion, getCallerCredentials, getCallerCredentialsAsync, getChecksumForPlatform, getConfig, getCredentialsFilePath, getDashboardBaseUrl, getDataDir, getDownloadBaseUrl, getElectronAppChecksums, getElectronAppDir, getElectronAppReleaseTagPrefix, getElectronAppSignedFromVersion, getElectronAppVersion, getElectronAppVersionSource, getLocalQaTools, getLogger, getOnboardingToggleKeys, getPlatformKey, getQaTools, getReleaseSignerIdentityUri, getRunSessionsDir, getValidApiKeyData, getValidCredentials, hasApiKey, isElectronAppInstalled, isElectronAppPlatform, isFirstRun, loadApiKeyData, loadCredentials, local_exports as localQa, markOnboardingCompleted, mcp_exports as mcp, needsOnboarding, openBrowserUrl, performLogin, performLogout, pollDeviceCode, e2e_exports as qa, readPreferencesMetadata, readRunView, reconcileProjectPreferences, recordOnboardingSkip, renderRunViewHtml, renderRunViewText, resetConfig, resetLogger, resetPreference, resolveActiveProfile, resolveActiveReleaseStream, resolveActiveReleaseTagPrefix, resolveBlanketPreferences, resolveElectronAppExecutablePath, resolveElectronAppPathOrNull, resolveOnboardingAnswers, resolvePreferences, resolveRunSessionPath, resolveRuntimeTarget, resolveTogglePreferences, saveApiKey, saveApiKeyData, saveCredentials, startDeviceCodeFlow, toolRequiresAuth, validatePreference, verifyFileChecksum, writePreferences, writePreferencesWithMetadata, writeRunViewHtml } from './chunk-C5MMZNZJ.js';
1
+ export { ACTION_SCRIPT_FILE_NAME, DEFAULT_PREFERENCES, ELECTRON_APP_EXECUTABLE_PATH_SEGMENTS, ElectronAppPlatform, ElectronAppReleaseStream, HTML_VIEW_OFFER_LINE, 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, WATCHER_LIFETIME_SECONDS, WATCHER_LIFETIME_UNBOUNDED_SECONDS, applyOnboardingAnswers, assertDeviceCodeClientProvisioned, buildElectronAppChecksumsUrl, buildElectronAppReleaseAssetUrl, buildElectronAppReleaseTag, buildOnboardingPlan, calculateFileChecksum, completeOnboarding, createApiKeyWithToken, createChildLogger, deleteApiKeyData, deleteCredentials, e2e_exports as e2e, formatPreferencesOneLiner, getActiveElectronAppReleaseStream, getActiveRuntimeTarget, getApiKey, getApiKeyFilePath, getAuthService, getBundledElectronAppVersion, getCallerCredentials, getCallerCredentialsAsync, getChecksumForPlatform, getConfig, getCredentialsFilePath, getDashboardBaseUrl, getDataDir, getDownloadBaseUrl, getElectronAppChecksums, getElectronAppDir, getElectronAppReleaseTagPrefix, getElectronAppSignedFromVersion, getElectronAppVersion, getElectronAppVersionSource, getLocalQaTools, getLogger, getOnboardingToggleKeys, getPlatformKey, getQaTools, getReleaseSignerIdentityUri, getRunSessionsDir, getValidApiKeyData, getValidCredentials, hasApiKey, isElectronAppInstalled, isElectronAppPlatform, isFirstRun, loadApiKeyData, loadCredentials, local_exports as localQa, markOnboardingCompleted, mcp_exports as mcp, needsOnboarding, openBrowserUrl, performLogin, performLogout, pollDeviceCode, e2e_exports as qa, readPreferencesMetadata, readRunView, reconcileProjectPreferences, recordOnboardingSkip, renderRunViewHtml, renderRunViewText, resetConfig, resetLogger, resetPreference, resolveActiveProfile, resolveActiveReleaseStream, resolveActiveReleaseTagPrefix, resolveBlanketPreferences, resolveElectronAppExecutablePath, resolveElectronAppPathOrNull, resolveOnboardingAnswers, resolvePreferences, resolveRunSessionPath, resolveRuntimeTarget, resolveTogglePreferences, saveApiKey, saveApiKeyData, saveCredentials, startDeviceCodeFlow, toolRequiresAuth, validatePreference, verifyFileChecksum, writePreferences, writePreferencesWithMetadata, writeRunViewHtml } from './chunk-JD4ZPKYY.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.24.0-staging.176",
4
+ "version": "5.24.0-staging.178",
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.24.0-staging.176",
4
+ "version": "5.24.0-staging.178",
5
5
  "author": {
6
6
  "name": "Muggle AI",
7
7
  "email": "support@muggle-ai.com"
@@ -4,7 +4,7 @@
4
4
  "command": "npx",
5
5
  "args": [
6
6
  "-y",
7
- "@muggleai/works@5.24.0-staging.176",
7
+ "@muggleai/works@5.24.0-staging.178",
8
8
  "serve"
9
9
  ],
10
10
  "env": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muggle",
3
- "version": "5.24.0-staging.176",
3
+ "version": "5.24.0-staging.178",
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.24.0-staging.176",
5
+ "version": "5.24.0-staging.178",
6
6
  "author": {
7
7
  "name": "Muggle AI",
8
8
  "email": "support@muggle-ai.com"
package/plugin/.mcp.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "command": "npx",
5
5
  "args": [
6
6
  "-y",
7
- "@muggleai/works@5.24.0-staging.176",
7
+ "@muggleai/works@5.24.0-staging.178",
8
8
  "serve"
9
9
  ]
10
10
  }