@muggleai/works 5.35.0-staging.316 → 5.35.0-staging.318

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.35.0-staging.316"
12
+ "version": "5.35.0-staging.318"
13
13
  }
14
14
  ]
15
15
  }
package/README.md CHANGED
@@ -305,6 +305,8 @@ so the result carries a viewUrl straight to the dashboard
305
305
  | `muggle-remote-test-case-generate-from-prompt` | Generate from a prompt |
306
306
  | `muggle-remote-test-case-ancestors-get` | Walk prerequisite chains |
307
307
  | `muggle-remote-run-settings-list` | A test case's runSettings records in one lane |
308
+ | `muggle-remote-test-case-display-resolutions-get` | The resolutions a test case runs at in one lane, primary first |
309
+ | `muggle-remote-test-case-display-resolutions-update` | Set the resolutions a test case is generated and run at in one lane |
308
310
  | `muggle-remote-fan-out-plan` | A lane's records in start order, and whether the rest wait on the primary |
309
311
  | `muggle-remote-test-case-bulk-preview-submit` | Async batch preview (~50% cheaper) |
310
312
  | `muggle-remote-test-plan-graph-rebuild` | Rebuild the prerequisite graph |
@@ -6729,6 +6729,28 @@ var RunSettingsListInputSchema = z.object({
6729
6729
  "Lane whose records to list: 'local' (developer localhost) or 'remote' (deployed). A record belongs to one lane."
6730
6730
  )
6731
6731
  });
6732
+ var TestCaseDisplayResolutionsGetInputSchema = z.object({
6733
+ projectId: MuggleEntityIdSchema.describe("Project ID (UUID)"),
6734
+ testCaseId: MuggleEntityIdSchema.describe("Test case ID (UUID)"),
6735
+ runEnvironmentType: RunEnvironmentSchema.optional().describe(
6736
+ "Lane: 'remote' (cloud runs, the default) or 'local' (developer localhost)."
6737
+ )
6738
+ });
6739
+ var TestSpecFeatureFlagVariantSchema = z.union([
6740
+ z.array(z.string()),
6741
+ z.object({ groupName: z.string().min(1) })
6742
+ ]);
6743
+ var TestCaseDisplayResolutionsUpdateInputSchema = TestCaseDisplayResolutionsGetInputSchema.extend({
6744
+ displayResolutions: z.array(z.nativeEnum(DisplayResolution)).min(1).describe(
6745
+ 'Resolutions the test case is verified at on this lane, one run each, e.g. ["R_0390x0844"]. Replaces the whole list; duplicates are dropped. The current primary stays primary while it is listed; otherwise the first listed becomes primary. Each must be enabled on the project lane (see enabledResolutions from muggle-remote-project-display-resolutions-get).'
6746
+ ),
6747
+ featureFlags: z.array(TestSpecFeatureFlagVariantSchema).optional().describe(
6748
+ "Feature-flag variants to keep, passed back verbatim from featureFlags of muggle-remote-test-case-display-resolutions-get. Omit to put the test case on the lane's default flags."
6749
+ ),
6750
+ runStrategy: z.nativeEnum(RunStrategy).nullable().optional().describe(
6751
+ "Run strategy across the test case's resolutions: primaryOnly, primaryFirst or allAtOnce. null returns the test case to the project lane's strategy; omit to keep the current one."
6752
+ )
6753
+ });
6732
6754
 
6733
6755
  // packages/mcps/src/mcp/e2e/contracts/index.ts
6734
6756
  var PaginationInputSchema = z.object({
@@ -7069,6 +7091,9 @@ var WorkflowStartTestScriptGenerationInputSchema = z.object({
7069
7091
  instructions: z.string().min(1).describe("Text for this run. It adds to the test case's stored description, which always reaches the run, and never replaces it."),
7070
7092
  expectedResult: z.string().min(1).describe("Expected result"),
7071
7093
  runEnvironmentType: RunEnvironmentInputSchema,
7094
+ runSettingsId: MuggleEntityIdSchema.optional().describe(
7095
+ "The test case's runSettings record to record against, from runSettingsList of muggle-remote-test-case-display-resolutions-get. Omitted, the run records at the test case's primary record, except that a test case with a prerequisite records at its parent's record."
7096
+ ),
7072
7097
  workflowParams: WorkflowParamsSchema
7073
7098
  });
7074
7099
  var WorkflowStartTestScriptGenerationBulkInputSchema = z.object({
@@ -7948,6 +7973,57 @@ function buildTestCaseStatusUpdateCall(testCaseId, status) {
7948
7973
  };
7949
7974
  }
7950
7975
 
7976
+ // packages/mcps/src/mcp/tools/e2e/test-case-display-resolutions-transform.ts
7977
+ function buildTestCaseTestSpecPath(params) {
7978
+ return `${MUGGLE_TEST_PREFIX}/projects/${params.projectId}/test-cases/${params.testCaseId}/test-spec`;
7979
+ }
7980
+ function buildTestSpecCommitBody(input) {
7981
+ const body = {
7982
+ laneType: input.runEnvironmentType ?? "remote" /* Remote */,
7983
+ axes: {
7984
+ displayResolution: [...new Set(input.displayResolutions)].map((displayResolution) => [displayResolution]),
7985
+ ...input.featureFlags !== void 0 && { featureFlags: input.featureFlags }
7986
+ }
7987
+ };
7988
+ if (input.runStrategy !== void 0) {
7989
+ body.fanOutPolicy = input.runStrategy;
7990
+ }
7991
+ return body;
7992
+ }
7993
+ function mapTestCaseDisplayResolutions(response, input) {
7994
+ const toolInput = input;
7995
+ const envelope = response.data;
7996
+ if (!Array.isArray(envelope?.runSettingsList)) {
7997
+ throw new GatewayError({
7998
+ code: "UPSTREAM_ERROR" /* UPSTREAM_ERROR */,
7999
+ message: "test spec response carried no runSettingsList array.",
8000
+ statusCode: response.statusCode
8001
+ });
8002
+ }
8003
+ const runSettingsRows = envelope.runSettingsList.map((runSettings) => ({
8004
+ ...toRunSettingsListRow(runSettings),
8005
+ isPrimary: runSettings.id === envelope.primaryRunSettingsId
8006
+ }));
8007
+ const primaryRows = runSettingsRows.filter((row) => row.isPrimary);
8008
+ const primaryFirstRows = [...primaryRows, ...runSettingsRows.filter((row) => !row.isPrimary)];
8009
+ const featureFlags = envelope.testSpec?.axes?.featureFlags;
8010
+ return {
8011
+ projectId: toolInput.projectId,
8012
+ testCaseId: toolInput.testCaseId,
8013
+ runEnvironmentType: toolInput.runEnvironmentType ?? "remote" /* Remote */,
8014
+ hasOwnTestSpec: Boolean(envelope.testSpec),
8015
+ displayResolutions: [
8016
+ ...new Set(
8017
+ primaryFirstRows.map((row) => row.displayResolution).filter((displayResolution) => displayResolution !== void 0)
8018
+ )
8019
+ ],
8020
+ primaryResolution: primaryRows[0]?.displayResolution ?? null,
8021
+ featureFlags: featureFlags && featureFlags.length > 0 ? featureFlags : null,
8022
+ runStrategy: toRunStrategy(envelope.effectiveFanOutPolicy),
8023
+ runSettingsList: runSettingsRows
8024
+ };
8025
+ }
8026
+
7951
8027
  // packages/mcps/src/mcp/tools/e2e/test-runs-summary-transform.ts
7952
8028
  var UNKNOWN_STATUS = "UNKNOWN";
7953
8029
  function slimEntry(raw) {
@@ -8355,6 +8431,44 @@ var testCaseTools = [
8355
8431
  },
8356
8432
  mapFromUpstream: mapRunSettingsList
8357
8433
  },
8434
+ {
8435
+ name: "muggle-remote-test-case-display-resolutions-get",
8436
+ description: "Get the resolutions one test case runs at on a lane, primary first, with its runSettings records and run strategy. Response shape: { projectId, testCaseId, runEnvironmentType, hasOwnTestSpec, displayResolutions, primaryResolution, featureFlags, runStrategy, runSettingsList: [{ runSettingsId, resolutionLabel, displayResolution, isPrimary }] }. hasOwnTestSpec false means the test case follows the project lane's resolutions. Change them with muggle-remote-test-case-display-resolutions-update.",
8437
+ inputSchema: TestCaseDisplayResolutionsGetInputSchema,
8438
+ mapToUpstream: (input) => {
8439
+ const toolInput = input;
8440
+ return {
8441
+ method: "GET",
8442
+ path: buildTestCaseTestSpecPath(toolInput),
8443
+ queryParams: { type: toolInput.runEnvironmentType ?? "remote" /* Remote */ }
8444
+ };
8445
+ },
8446
+ mapFromUpstream: mapTestCaseDisplayResolutions
8447
+ },
8448
+ {
8449
+ name: "muggle-remote-test-case-display-resolutions-update",
8450
+ description: `Set the resolutions one test case is generated and run at on a lane, e.g. ["R_0390x0844"] to verify it on a phone. Mints the test case's next test spec version: a resolution kept keeps its runSettings record and scripts, a new one gets a new record, and a dropped one's record is retired. The list replaces the whole selection, so read the current resolutions and featureFlags with muggle-remote-test-case-display-resolutions-get and pass back those to keep. Returns the same shape as muggle-remote-test-case-display-resolutions-get, read after the change.`,
8451
+ inputSchema: TestCaseDisplayResolutionsUpdateInputSchema,
8452
+ mapToUpstream: (input) => {
8453
+ const toolInput = input;
8454
+ return {
8455
+ method: "POST",
8456
+ path: `${buildTestCaseTestSpecPath(toolInput)}/commit`,
8457
+ body: buildTestSpecCommitBody(toolInput)
8458
+ };
8459
+ },
8460
+ mapToFollowUpUpstream: (input) => {
8461
+ const toolInput = input;
8462
+ return [
8463
+ {
8464
+ method: "GET",
8465
+ path: buildTestCaseTestSpecPath(toolInput),
8466
+ queryParams: { type: toolInput.runEnvironmentType ?? "remote" /* Remote */ }
8467
+ }
8468
+ ];
8469
+ },
8470
+ mapFromUpstream: mapTestCaseDisplayResolutions
8471
+ },
8358
8472
  {
8359
8473
  name: "muggle-remote-fan-out-plan",
8360
8474
  description: "Plan a test case's fan-out across its runSettings records in one lane, for a caller that runs the records itself, such as a local run; it starts nothing and writes nothing. Response shape: { testCaseId, laneType, fanOutPolicy, fanOutChoice, isPrimaryKnownGood, isSecondaryGatedOnPrimary, records: [{ runSettingsId, resolutionLabel, displayResolution, isPrimary, testScriptId }], notRunRunSettingsIds }. `records` is in start order, primary first: run records[0] first. When isSecondaryGatedOnPrimary is true, run the rest only if that run passed, and otherwise report each as skipped because the primary failed; when false, run them all. A record's testScriptId is its script on the lane, absent when it has none: replay that script, or generate with the record's runSettingsId and displayResolution. Empty records means the lane has no records for the test case. notRunRunSettingsIds lists the records left unrun because fanOutChoice or the lane's fanOutPolicy is primaryOnly. Omit fanOutChoice to follow the lane's policy.",
@@ -8840,7 +8954,7 @@ var workflowTools = [
8840
8954
  },
8841
8955
  {
8842
8956
  name: "muggle-remote-workflow-start-test-script-generation",
8843
- description: `Start a test script generation workflow. ${TEST_CASE_LIMIT_GUIDANCE}`,
8957
+ description: `Start a test script generation workflow. It records at one of the test case's runSettings records, whose resolutions muggle-remote-test-case-display-resolutions-update sets; pass runSettingsId to pick the record. ${TEST_CASE_LIMIT_GUIDANCE}`,
8844
8958
  inputSchema: WorkflowStartTestScriptGenerationInputSchema,
8845
8959
  dashboardLink: linkToInputScriptDetails,
8846
8960
  mapToUpstream: (input) => {
@@ -8859,6 +8973,7 @@ var workflowTools = [
8859
8973
  instructions: toolInput.instructions,
8860
8974
  expectedResult: toolInput.expectedResult,
8861
8975
  ...toolInput.runEnvironmentType && { runEnvironmentType: toolInput.runEnvironmentType },
8976
+ ...toolInput.runSettingsId && { runSettingsId: toolInput.runSettingsId },
8862
8977
  ...toolInput.workflowParams && { workflowParams: toolInput.workflowParams }
8863
8978
  },
8864
8979
  timeoutMs: getWorkflowTimeoutMs()
@@ -11299,6 +11414,8 @@ __export(e2e_exports2, {
11299
11414
  TestCaseAncestorsGetInputSchema: () => TestCaseAncestorsGetInputSchema,
11300
11415
  TestCaseCreateInputSchema: () => TestCaseCreateInputSchema,
11301
11416
  TestCaseDeleteInputSchema: () => TestCaseDeleteInputSchema,
11417
+ TestCaseDisplayResolutionsGetInputSchema: () => TestCaseDisplayResolutionsGetInputSchema,
11418
+ TestCaseDisplayResolutionsUpdateInputSchema: () => TestCaseDisplayResolutionsUpdateInputSchema,
11302
11419
  TestCaseGenerateFromPromptInputSchema: () => TestCaseGenerateFromPromptInputSchema,
11303
11420
  TestCaseGetInputSchema: () => TestCaseGetInputSchema,
11304
11421
  TestCaseListByUseCaseInputSchema: () => TestCaseListByUseCaseInputSchema,
@@ -11316,6 +11433,7 @@ __export(e2e_exports2, {
11316
11433
  TestScriptDeleteInputSchema: () => TestScriptDeleteInputSchema,
11317
11434
  TestScriptGetInputSchema: () => TestScriptGetInputSchema,
11318
11435
  TestScriptListInputSchema: () => TestScriptListInputSchema,
11436
+ TestSpecFeatureFlagVariantSchema: () => TestSpecFeatureFlagVariantSchema,
11319
11437
  TestStateCreateInputSchema: () => TestStateCreateInputSchema,
11320
11438
  TestStateDeleteInputSchema: () => TestStateDeleteInputSchema,
11321
11439
  TestStateFactSchema: () => TestStateFactSchema,
@@ -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-RM6CWVC2.js';
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-DGJJZXIH.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';
@@ -1256,7 +1256,7 @@ async function resolveGsScreenshotUrls(report, opts) {
1256
1256
  if (gsUrls.length === 0) {
1257
1257
  return report;
1258
1258
  }
1259
- const mcps = await import('./src-WCAMBL6H.js');
1259
+ const mcps = await import('./src-RQDINEK7.js');
1260
1260
  const credentials = await mcps.getCallerCredentialsAsync();
1261
1261
  if (!credentials.bearerToken && !credentials.apiKey) {
1262
1262
  stderrWrite(
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { runCli } from './chunk-A23XCBO7.js';
3
- import './chunk-RM6CWVC2.js';
2
+ import { runCli } from './chunk-JAFOPIVX.js';
3
+ import './chunk-DGJJZXIH.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-A23XCBO7.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-RM6CWVC2.js';
1
+ export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-JAFOPIVX.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-DGJJZXIH.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.316",
4
+ "version": "5.35.0-staging.318",
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.35.0-staging.316",
7
+ "@muggleai/works@5.35.0-staging.318",
8
8
  "serve"
9
9
  ],
10
10
  "env": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muggle",
3
- "version": "5.35.0-staging.316",
3
+ "version": "5.35.0-staging.318",
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.316",
5
+ "version": "5.35.0-staging.318",
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.35.0-staging.316",
7
+ "@muggleai/works@5.35.0-staging.318",
8
8
  "serve"
9
9
  ]
10
10
  }
@@ -1,7 +1,7 @@
1
1
  {
2
- "release": "5.35.0-staging.316",
3
- "buildId": "run-316-1",
4
- "commitSha": "b7c34972be9d19ac29648d04ae11fbeeee6364e1",
5
- "buildTime": "2026-11-06T23:40:26Z",
2
+ "release": "5.35.0-staging.318",
3
+ "buildId": "run-318-1",
4
+ "commitSha": "35f11ae2708e9b7a4bb8ee97ffb5d7ddff1a0fdc",
5
+ "buildTime": "2026-11-09T21:49:28Z",
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-RM6CWVC2.js';
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-DGJJZXIH.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.316",
4
+ "version": "5.35.0-staging.318",
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",
@@ -64,21 +64,21 @@
64
64
  "typecheck:browser-bench": "tsc --noEmit -p internal/browser-bench/tsconfig.json"
65
65
  },
66
66
  "muggleConfig": {
67
- "electronAppVersion": "1.24.6",
67
+ "electronAppVersion": "1.24.13",
68
68
  "downloadBaseUrl": "https://github.com/multiplex-ai/muggle-ai-works/releases/download",
69
69
  "runtimeTargetDefault": "staging",
70
70
  "checksumsByStream": {
71
71
  "production": {
72
- "win32-x64": "16d6eceb3ff2030776ac0b10bc510347849f3d264388d4215535ee11895e1247",
73
- "linux-x64": "0ab1ef75ecce45aa00b49bf29625d55762f645da52d4d0607441ada8ab2505df",
74
- "darwin-arm64": "ddfa814f6c1b47f21cab6be88987e07f4ee4d350c0112b825c86168128ed9d49",
75
- "darwin-x64": "b57f0c4b213eb845dc81d6938bd5df0abc9e18c1b4bf4c6c6befeb06a6ba649f"
72
+ "win32-x64": "a194f436b0ce5bb64aebe3330b28da58a8aeaa1e8b47bef5df9950b1c9066355",
73
+ "linux-x64": "0bd2640042a6115f5e736fe3318b8e32f95a061ea3ee358ce98323adcd3f9772",
74
+ "darwin-arm64": "61094420812cf01295f770d39b1744060f2b81365ba7d5886ed81ca84e92c40d",
75
+ "darwin-x64": "87c13b5642dd0cd338eca667bfca812d565a3cd6883b519a6896bcae0884df5f"
76
76
  },
77
77
  "staging": {
78
- "darwin-arm64": "96a549377fa3ec69a968a6096a0928be3795601d944f3a3999b2ae11238639d3",
79
- "linux-x64": "9cd74c529009b8222b454b65f2dbadafb0e7a389ced3766d860c34c22954c42d",
80
- "win32-x64": "2afba69e304339f03aa3648adc9c044c4563a7213cc7e6e2c5466da8bf768b87",
81
- "darwin-x64": "c2a0cd43f17ead516e56dc6b5eb6845224ab65a252e108e11820a465dacc497b"
78
+ "darwin-arm64": "e826af755072e2b068c93250ebd35d45d8929f1a9cf747ec3df56893a92d6d58",
79
+ "linux-x64": "092d108de6d39719bcd32d40731abc9712b683f061bf054d6894f599f56bc7b2",
80
+ "win32-x64": "08d48826f7b34a496a5b30a6e801410d27da006cfb59c4734016907d72b23fad",
81
+ "darwin-x64": "0f14fd6f2cbd88fc29d5a249534eac272ecd28cfcf0fdcf402e658e39aa28a19"
82
82
  }
83
83
  },
84
84
  "electronAppSignedFromVersion": "1.10.0",
@@ -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.316",
4
+ "version": "5.35.0-staging.318",
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.35.0-staging.316",
7
+ "@muggleai/works@5.35.0-staging.318",
8
8
  "serve"
9
9
  ],
10
10
  "env": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muggle",
3
- "version": "5.35.0-staging.316",
3
+ "version": "5.35.0-staging.318",
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.316",
5
+ "version": "5.35.0-staging.318",
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.35.0-staging.316",
7
+ "@muggleai/works@5.35.0-staging.318",
8
8
  "serve"
9
9
  ]
10
10
  }