@muggleai/works 5.39.0-staging.360 → 5.39.0-staging.362
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-TN3CSXCQ.js → chunk-BVF4SG4Q.js} +48 -12
- package/dist/{chunk-XHQLWSKO.js → chunk-EPNMQQAU.js} +21 -6
- 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/release-manifest.json +3 -3
- package/dist/src-YZ4Q4VBA.js +1 -0
- 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/dist/src-Y7PKC7UX.js +0 -1
|
@@ -90,6 +90,7 @@ __export(src_exports, {
|
|
|
90
90
|
StackLeaseEndReason: () => StackLeaseEndReason,
|
|
91
91
|
StackMismatchKind: () => StackMismatchKind,
|
|
92
92
|
StackPortAction: () => StackPortAction,
|
|
93
|
+
StudioJobPriorityEnum: () => StudioJobPriorityEnum,
|
|
93
94
|
WATCHER_LIFETIME_SECONDS: () => WATCHER_LIFETIME_SECONDS,
|
|
94
95
|
WATCHER_LIFETIME_UNBOUNDED_SECONDS: () => WATCHER_LIFETIME_UNBOUNDED_SECONDS,
|
|
95
96
|
applyLlmSourceSelection: () => applyLlmSourceSelection,
|
|
@@ -3437,7 +3438,24 @@ var DEFAULT_GENERATION_TIMEOUT_MS = 3e5;
|
|
|
3437
3438
|
var DEFAULT_REPLAY_TIMEOUT_MS = 18e4;
|
|
3438
3439
|
var DEFAULT_WEBSITE_SCAN_TIMEOUT_MS = 18e5;
|
|
3439
3440
|
|
|
3441
|
+
// packages/mcps/src/shared/queue-priority/queue-priority-types.ts
|
|
3442
|
+
var StudioJobPriorityEnum = /* @__PURE__ */ ((StudioJobPriorityEnum2) => {
|
|
3443
|
+
StudioJobPriorityEnum2["Paid"] = "paid";
|
|
3444
|
+
StudioJobPriorityEnum2["Free"] = "free";
|
|
3445
|
+
StudioJobPriorityEnum2["Internal"] = "internal";
|
|
3446
|
+
StudioJobPriorityEnum2["Promotion"] = "promotion";
|
|
3447
|
+
return StudioJobPriorityEnum2;
|
|
3448
|
+
})(StudioJobPriorityEnum || {});
|
|
3449
|
+
|
|
3440
3450
|
// packages/mcps/src/shared/queue-priority/queue-priority-constants.ts
|
|
3451
|
+
var STUDIO_JOB_PRIORITY_RANK = {
|
|
3452
|
+
["paid" /* Paid */]: 0,
|
|
3453
|
+
["free" /* Free */]: 1,
|
|
3454
|
+
["internal" /* Internal */]: 2,
|
|
3455
|
+
["promotion" /* Promotion */]: 3
|
|
3456
|
+
};
|
|
3457
|
+
var DEFAULT_LOCAL_STUDIO_JOB_PRIORITY = "internal" /* Internal */;
|
|
3458
|
+
var STUDIO_JOB_PRIORITY_INPUT_DESCRIPTION = "Queue class; default internal.";
|
|
3441
3459
|
var PR_LOOKUP_TIMEOUT_MS = 1e4;
|
|
3442
3460
|
var PR_LOOKUP_CACHE_MS = 2 * 6e4;
|
|
3443
3461
|
var PR_LOOKUP_ENV = "MUGGLE_PR_LOOKUP";
|
|
@@ -3478,6 +3496,9 @@ function parseOpenPullRequest(output) {
|
|
|
3478
3496
|
|
|
3479
3497
|
// packages/mcps/src/shared/queue-priority/queue-priority.ts
|
|
3480
3498
|
function compareQueuePlaces(left, right) {
|
|
3499
|
+
const leftRank = STUDIO_JOB_PRIORITY_RANK[left.priority ?? DEFAULT_LOCAL_STUDIO_JOB_PRIORITY];
|
|
3500
|
+
const rightRank = STUDIO_JOB_PRIORITY_RANK[right.priority ?? DEFAULT_LOCAL_STUDIO_JOB_PRIORITY];
|
|
3501
|
+
if (leftRank !== rightRank) return leftRank - rightRank;
|
|
3481
3502
|
const leftOpenedAt = left.pullRequest?.createdAt ?? Number.POSITIVE_INFINITY;
|
|
3482
3503
|
const rightOpenedAt = right.pullRequest?.createdAt ?? Number.POSITIVE_INFINITY;
|
|
3483
3504
|
if (leftOpenedAt !== rightOpenedAt) return leftOpenedAt < rightOpenedAt ? -1 : 1;
|
|
@@ -3647,6 +3668,7 @@ async function acquireLocalExecutionLock(params) {
|
|
|
3647
3668
|
const caller = {
|
|
3648
3669
|
cwd: normalizedCwd,
|
|
3649
3670
|
pid,
|
|
3671
|
+
priority: params.priority,
|
|
3650
3672
|
pullRequest: await (params.lookUpPullRequest ?? lookUpCheckoutPullRequest)(normalizedCwd),
|
|
3651
3673
|
enqueuedAt: startWaitAt,
|
|
3652
3674
|
lastPolledAt: startWaitAt
|
|
@@ -4154,7 +4176,8 @@ ${processInfo.capturedStderr}`
|
|
|
4154
4176
|
async function executeTestGeneration(params) {
|
|
4155
4177
|
const lockHandle = await acquireLocalExecutionLock({
|
|
4156
4178
|
cwd: params.cwd,
|
|
4157
|
-
runTimeoutMs: params.timeoutMs ?? DEFAULT_GENERATION_TIMEOUT_MS
|
|
4179
|
+
runTimeoutMs: params.timeoutMs ?? DEFAULT_GENERATION_TIMEOUT_MS,
|
|
4180
|
+
priority: params.priority
|
|
4158
4181
|
});
|
|
4159
4182
|
try {
|
|
4160
4183
|
return await runTestGenerationLocked(params);
|
|
@@ -4363,7 +4386,8 @@ async function runTestGenerationLocked(params) {
|
|
|
4363
4386
|
async function executeReplay(params) {
|
|
4364
4387
|
const lockHandle = await acquireLocalExecutionLock({
|
|
4365
4388
|
cwd: params.cwd,
|
|
4366
|
-
runTimeoutMs: params.timeoutMs ?? DEFAULT_REPLAY_TIMEOUT_MS
|
|
4389
|
+
runTimeoutMs: params.timeoutMs ?? DEFAULT_REPLAY_TIMEOUT_MS,
|
|
4390
|
+
priority: params.priority
|
|
4367
4391
|
});
|
|
4368
4392
|
try {
|
|
4369
4393
|
return await runReplayLocked(params);
|
|
@@ -4515,7 +4539,11 @@ async function runReplayLocked(params) {
|
|
|
4515
4539
|
}
|
|
4516
4540
|
async function executeWebsiteScan(params) {
|
|
4517
4541
|
const timeoutMs = params.timeoutMs ?? DEFAULT_WEBSITE_SCAN_TIMEOUT_MS;
|
|
4518
|
-
const lockHandle = await acquireLocalExecutionLock({
|
|
4542
|
+
const lockHandle = await acquireLocalExecutionLock({
|
|
4543
|
+
cwd: params.cwd,
|
|
4544
|
+
runTimeoutMs: timeoutMs,
|
|
4545
|
+
priority: params.priority
|
|
4546
|
+
});
|
|
4519
4547
|
try {
|
|
4520
4548
|
return await runWebsiteScanLocked({ ...params, timeoutMs });
|
|
4521
4549
|
} finally {
|
|
@@ -11130,6 +11158,7 @@ __export(local_exports, {
|
|
|
11130
11158
|
getTool: () => getTool
|
|
11131
11159
|
});
|
|
11132
11160
|
var DisplayResolutionSchema = z.nativeEnum(DisplayResolution);
|
|
11161
|
+
var StudioJobPriorityInputSchema = z.nativeEnum(StudioJobPriorityEnum).optional().describe(STUDIO_JOB_PRIORITY_INPUT_DESCRIPTION);
|
|
11133
11162
|
var TestCaseDetailsSchema = z.object({
|
|
11134
11163
|
/** Cloud test case ID. */
|
|
11135
11164
|
id: MuggleEntityIdSchema.describe("Cloud test case ID (UUID)"),
|
|
@@ -11210,7 +11239,9 @@ var ExecuteTestGenerationInputSchema = z.object({
|
|
|
11210
11239
|
"Local runSettings record to record this run against, e.g. a local script's runSettingsId. Pass its resolution as displayResolution."
|
|
11211
11240
|
),
|
|
11212
11241
|
/** Run Studio's prediction agent on the light tier. */
|
|
11213
|
-
lightMode: z.boolean().optional().describe(LIGHT_MODE_INPUT_DESCRIPTION)
|
|
11242
|
+
lightMode: z.boolean().optional().describe(LIGHT_MODE_INPUT_DESCRIPTION),
|
|
11243
|
+
/** The run's class while it waits for the local Studio. */
|
|
11244
|
+
priority: StudioJobPriorityInputSchema
|
|
11214
11245
|
});
|
|
11215
11246
|
var ExecuteReplayInputSchema = z.object({
|
|
11216
11247
|
/** Test script metadata from muggle-remote-test-script-get. */
|
|
@@ -11240,7 +11271,9 @@ var ExecuteReplayInputSchema = z.object({
|
|
|
11240
11271
|
"Browser resolution, e.g. R_0390x0844. Defaults to the script's recorded size."
|
|
11241
11272
|
),
|
|
11242
11273
|
/** Run Studio's prediction agent on the light tier. */
|
|
11243
|
-
lightMode: z.boolean().optional().describe(LIGHT_MODE_INPUT_DESCRIPTION)
|
|
11274
|
+
lightMode: z.boolean().optional().describe(LIGHT_MODE_INPUT_DESCRIPTION),
|
|
11275
|
+
/** The run's class while it waits for the local Studio. */
|
|
11276
|
+
priority: StudioJobPriorityInputSchema
|
|
11244
11277
|
});
|
|
11245
11278
|
var CancelExecutionInputSchema = z.object({
|
|
11246
11279
|
runId: MuggleEntityIdSchema.describe("Run ID (UUID) to cancel")
|
|
@@ -11885,7 +11918,8 @@ var executeTestGenerationTool = {
|
|
|
11885
11918
|
freshSession: input.freshSession,
|
|
11886
11919
|
displayResolution: input.displayResolution,
|
|
11887
11920
|
runSettingsId: input.runSettingsId,
|
|
11888
|
-
isLightMode: input.lightMode
|
|
11921
|
+
isLightMode: input.lightMode,
|
|
11922
|
+
priority: input.priority
|
|
11889
11923
|
})
|
|
11890
11924
|
});
|
|
11891
11925
|
const content = [
|
|
@@ -11958,7 +11992,8 @@ var executeReplayTool = {
|
|
|
11958
11992
|
freshSession: input.freshSession,
|
|
11959
11993
|
pinnedAccount: input.pinnedAccount,
|
|
11960
11994
|
displayResolution: input.displayResolution,
|
|
11961
|
-
isLightMode: input.lightMode
|
|
11995
|
+
isLightMode: input.lightMode,
|
|
11996
|
+
priority: input.priority
|
|
11962
11997
|
})
|
|
11963
11998
|
});
|
|
11964
11999
|
const content = [
|
|
@@ -12610,6 +12645,7 @@ __export(local_exports2, {
|
|
|
12610
12645
|
SessionStatus: () => SessionStatus,
|
|
12611
12646
|
SkillTelemetryEmitInputSchema: () => SkillTelemetryEmitInputSchema,
|
|
12612
12647
|
StorageService: () => StorageService,
|
|
12648
|
+
StudioJobPriorityEnum: () => StudioJobPriorityEnum,
|
|
12613
12649
|
StudioVerdict: () => StudioVerdict,
|
|
12614
12650
|
TasteEvidenceSchema: () => TasteEvidenceSchema,
|
|
12615
12651
|
TastePreferenceSchema: () => TastePreferenceSchema,
|
|
@@ -12654,14 +12690,14 @@ function getLocalQaTools() {
|
|
|
12654
12690
|
inputSchema: tool.inputSchema,
|
|
12655
12691
|
requiresAuth: !isLocalOnlyTool(tool.name),
|
|
12656
12692
|
execute: async (params) => {
|
|
12657
|
-
const
|
|
12693
|
+
const toolResult = await tool.execute({
|
|
12658
12694
|
input: params.input,
|
|
12659
12695
|
correlationId: params.correlationId
|
|
12660
12696
|
});
|
|
12661
12697
|
return {
|
|
12662
|
-
content:
|
|
12663
|
-
isError:
|
|
12664
|
-
data:
|
|
12698
|
+
content: toolResult.content,
|
|
12699
|
+
isError: toolResult.isError,
|
|
12700
|
+
data: toolResult.data
|
|
12665
12701
|
};
|
|
12666
12702
|
}
|
|
12667
12703
|
}));
|
|
@@ -13156,4 +13192,4 @@ function applyLlmSourceSelection(selection, dataDirOverride2) {
|
|
|
13156
13192
|
return resolveLlmSourceStatus(dataDirOverride2);
|
|
13157
13193
|
}
|
|
13158
13194
|
|
|
13159
|
-
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, EventName, 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, ServiceName, StackCheckVerdict, StackClaimVerdict, StackLeaseEndReason, StackMismatchKind, StackPortAction, Surface, TelemetryEnvironment, WATCHER_LIFETIME_SECONDS, WATCHER_LIFETIME_UNBOUNDED_SECONDS, __export, __require, 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_exports2 as e2e_exports, evaluateCheckoutFreshness, findVacatedNeeds, finishStackRun, formatPreferencesOneLiner, getActiveElectronAppReleaseStream, getActiveRuntimeTarget, getApiKey, getApiKeyFilePath, getAuthService, getBundledElectronAppVersion, getCallerCredentials, getCallerCredentialsAsync, getChecksumForPlatform, getConfig, getCredentialsFilePath, getDashboardBaseUrl, getDataDir, getDataDir2, getDisclosureCopy, getDownloadBaseUrl, getElectronAppChecksums, getElectronAppDir, getElectronAppReleaseTagPrefix, getElectronAppSignedFromVersion, getElectronAppVersion, getElectronAppVersionSource, getLlmSourceOption, getLocalQaTools, getLogger, getOnboardingToggleKeys, getPlatformKey, getQaTools, getReleaseSignerIdentityUri, getRunSessionsDir, getValidApiKeyData, getValidCredentials, hasApiKey, hasShownDisclosure, initTelemetry, isElectronAppInstalled, isElectronAppPlatform, isFirstRun, isValidLocalBaseUrl, loadApiKeyData, loadCredentials, local_exports2 as local_exports, lookUpCheckoutPullRequest, markDisclosureShown, markOnboardingCompleted, maskLlmApiKey, mcp_exports, needsConflict, needsOnboarding, openBrowserUrl, parseElectronAppDirName, performLogin, performLogout, pollDeviceCode, portOfUrl, 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, src_exports, startDeviceCodeFlow, startStackRun, stopVacatedServices, toDisplayRef, toolRequiresAuth, track, validatePreference, verifyFileChecksum, writeLlmEnvBlock, writePreferences, writePreferencesWithMetadata, writeRunViewHtml };
|
|
13195
|
+
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, EventName, 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, ServiceName, StackCheckVerdict, StackClaimVerdict, StackLeaseEndReason, StackMismatchKind, StackPortAction, StudioJobPriorityEnum, Surface, TelemetryEnvironment, WATCHER_LIFETIME_SECONDS, WATCHER_LIFETIME_UNBOUNDED_SECONDS, __export, __require, 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_exports2 as e2e_exports, evaluateCheckoutFreshness, findVacatedNeeds, finishStackRun, formatPreferencesOneLiner, getActiveElectronAppReleaseStream, getActiveRuntimeTarget, getApiKey, getApiKeyFilePath, getAuthService, getBundledElectronAppVersion, getCallerCredentials, getCallerCredentialsAsync, getChecksumForPlatform, getConfig, getCredentialsFilePath, getDashboardBaseUrl, getDataDir, getDataDir2, getDisclosureCopy, getDownloadBaseUrl, getElectronAppChecksums, getElectronAppDir, getElectronAppReleaseTagPrefix, getElectronAppSignedFromVersion, getElectronAppVersion, getElectronAppVersionSource, getLlmSourceOption, getLocalQaTools, getLogger, getOnboardingToggleKeys, getPlatformKey, getQaTools, getReleaseSignerIdentityUri, getRunSessionsDir, getValidApiKeyData, getValidCredentials, hasApiKey, hasShownDisclosure, initTelemetry, isElectronAppInstalled, isElectronAppPlatform, isFirstRun, isValidLocalBaseUrl, loadApiKeyData, loadCredentials, local_exports2 as local_exports, lookUpCheckoutPullRequest, markDisclosureShown, markOnboardingCompleted, maskLlmApiKey, mcp_exports, needsConflict, needsOnboarding, openBrowserUrl, parseElectronAppDirName, performLogin, performLogout, pollDeviceCode, portOfUrl, 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, src_exports, startDeviceCodeFlow, startStackRun, stopVacatedServices, toDisplayRef, toolRequiresAuth, track, validatePreference, verifyFileChecksum, writeLlmEnvBlock, writePreferences, writePreferencesWithMetadata, writeRunViewHtml };
|
|
@@ -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, e2e_exports, readRunView, RunViewError, renderRunViewText, writeRunViewHtml, openBrowserUrl, evaluateCheckoutFreshness, runGitCommand, BLOCKING_FRESHNESS_VERDICTS, claimServiceStack, BUSY_EXIT_CODE, checkServiceStack, releaseServiceStack, readServiceStackStatus, resolvePreferences, buildElectronAppChecksumsUrl, OnboardingBlanketChoice, PreferenceKey, LlmSource, applyLlmSourceSelection, describeStackMismatch, local_exports, ELECTRON_APP_CHECKSUMS_ASSET_NAME, getDataDir, DEFAULT_LOCAL_LLM_BASE_URL, isValidLocalBaseUrl } 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, e2e_exports, readRunView, RunViewError, renderRunViewText, writeRunViewHtml, openBrowserUrl, evaluateCheckoutFreshness, runGitCommand, BLOCKING_FRESHNESS_VERDICTS, claimServiceStack, BUSY_EXIT_CODE, checkServiceStack, releaseServiceStack, readServiceStackStatus, resolvePreferences, buildElectronAppChecksumsUrl, OnboardingBlanketChoice, PreferenceKey, LlmSource, applyLlmSourceSelection, describeStackMismatch, local_exports, ELECTRON_APP_CHECKSUMS_ASSET_NAME, getDataDir, DEFAULT_LOCAL_LLM_BASE_URL, isValidLocalBaseUrl } from './chunk-BVF4SG4Q.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';
|
|
@@ -1375,7 +1375,7 @@ async function resolveGsScreenshotUrls(report, opts) {
|
|
|
1375
1375
|
if (gsUrls.length === 0) {
|
|
1376
1376
|
return report;
|
|
1377
1377
|
}
|
|
1378
|
-
const mcps = await import('./src-
|
|
1378
|
+
const mcps = await import('./src-YZ4Q4VBA.js');
|
|
1379
1379
|
const credentials = await mcps.getCallerCredentialsAsync();
|
|
1380
1380
|
if (!credentials.bearerToken && !credentials.apiKey) {
|
|
1381
1381
|
stderrWrite(
|
|
@@ -3983,6 +3983,18 @@ var COPIED_TEST_CASE_FIELDS = [
|
|
|
3983
3983
|
"alwaysStartsFreshSession"
|
|
3984
3984
|
];
|
|
3985
3985
|
|
|
3986
|
+
// src/cli/local/studio-job-priority-option.ts
|
|
3987
|
+
function parseStudioJobPriorityOption(rawPriority) {
|
|
3988
|
+
if (rawPriority === void 0) {
|
|
3989
|
+
return void 0;
|
|
3990
|
+
}
|
|
3991
|
+
const priorityClasses = Object.values(local_exports.StudioJobPriorityEnum);
|
|
3992
|
+
if (!priorityClasses.includes(rawPriority)) {
|
|
3993
|
+
throw new Error(`--priority must be one of ${priorityClasses.join(", ")}, got '${rawPriority}'.`);
|
|
3994
|
+
}
|
|
3995
|
+
return rawPriority;
|
|
3996
|
+
}
|
|
3997
|
+
|
|
3986
3998
|
// src/cli/local/local-generate-args.ts
|
|
3987
3999
|
function requireNonEmptyOption(params) {
|
|
3988
4000
|
const trimmedValue = params.value?.trim() ?? "";
|
|
@@ -4011,6 +4023,7 @@ function parseLocalGenerateArgs(options) {
|
|
|
4011
4023
|
isLightMode: options.light === true,
|
|
4012
4024
|
isUiShown: options.showUi === true,
|
|
4013
4025
|
...options.timeoutMs !== void 0 ? { timeoutMs: parseTimeoutMs(options.timeoutMs) } : {},
|
|
4026
|
+
...options.priority !== void 0 ? { priority: parseStudioJobPriorityOption(options.priority) } : {},
|
|
4014
4027
|
isJsonOutput: options.json === true
|
|
4015
4028
|
};
|
|
4016
4029
|
}
|
|
@@ -4104,7 +4117,8 @@ async function runLocalGenerateAsync(params) {
|
|
|
4104
4117
|
cwd: process.cwd(),
|
|
4105
4118
|
showUi: args.isUiShown,
|
|
4106
4119
|
lightMode: args.isLightMode,
|
|
4107
|
-
...args.timeoutMs !== void 0 ? { timeoutMs: args.timeoutMs } : {}
|
|
4120
|
+
...args.timeoutMs !== void 0 ? { timeoutMs: args.timeoutMs } : {},
|
|
4121
|
+
...args.priority !== void 0 ? { priority: args.priority } : {}
|
|
4108
4122
|
},
|
|
4109
4123
|
correlationId
|
|
4110
4124
|
);
|
|
@@ -4273,7 +4287,8 @@ async function runLocalScanAsync(options) {
|
|
|
4273
4287
|
// Studio stops at a total memory count, so the existing candidates are added to the cap.
|
|
4274
4288
|
targetUseCaseCandidateCount: baselineCandidateIds.size + limits.maxCandidates,
|
|
4275
4289
|
timeoutMs: limits.timeoutMs,
|
|
4276
|
-
showUi: options.showUi
|
|
4290
|
+
showUi: options.showUi,
|
|
4291
|
+
priority: parseStudioJobPriorityOption(options.priority)
|
|
4277
4292
|
});
|
|
4278
4293
|
const addedCandidates = listCandidatesAddedByScan({
|
|
4279
4294
|
memory: await readDiscoveryMemoryAsync(options.projectId),
|
|
@@ -8308,8 +8323,8 @@ function createProgram() {
|
|
|
8308
8323
|
stack.command("check").description("Check that the stack still serves what this checkout claimed; only runs keep the lease alive").option("--cwd <dir>", "Directory inside the checkout (default: the current directory)").option("--port <port>", "Port the run will target").option("--json", "Print the full report as JSON").action(stackCheckCommand);
|
|
8309
8324
|
stack.command("release").description("Give up this checkout's lease and place in line").option("--cwd <dir>", "Directory inside the checkout (default: the current directory)").option("--json", "Print the result as JSON").action(stackReleaseCommand);
|
|
8310
8325
|
stack.command("status").description("Show every lease, the line, and the services prepare tracks").option("--json", "Print the full report as JSON").action(stackStatusCommand);
|
|
8311
|
-
program.command("scan").description("Scan a site for use-case candidates; reports candidates, never approves them").option("--local", "Run the scan in the local Studio on the model source you chose (muggle llm-source)").requiredOption("--project-id <id>", "Cloud project the candidates belong to").requiredOption("--url <siteUrl>", "Site URL the scan starts from").option("--max-candidates <n>", "Stop once the scan has found this many candidates (default 30)").option("--timeout-ms <n>", "Stop the scan after this long, keeping what it found (default 1800000)").option("--show-ui", "Show the Studio window").option("--json", "Print the report as one JSON line").action(localScanCommand);
|
|
8312
|
-
program.command("generate").description("Generate a test script for one cloud test case; with --local the local Studio runs it and uploads the run").option("--local", "Run in the local Studio on the model source you chose (muggle llm-source); required for now").requiredOption("--project-id <id>", "Project the test case belongs to").requiredOption("--test-case-id <id>", "Test case to generate a script for").option("--light", "Run the prediction agent on the light (Sonnet) tier").option("--show-ui", "Show the Studio window (the showElectronBrowser preference can override)").option("--timeout-ms <n>", "Run time limit in milliseconds (default: the generation default)").option("--json", "Print the result as one JSON line").action(generateCommand);
|
|
8326
|
+
program.command("scan").description("Scan a site for use-case candidates; reports candidates, never approves them").option("--local", "Run the scan in the local Studio on the model source you chose (muggle llm-source)").requiredOption("--project-id <id>", "Cloud project the candidates belong to").requiredOption("--url <siteUrl>", "Site URL the scan starts from").option("--max-candidates <n>", "Stop once the scan has found this many candidates (default 30)").option("--timeout-ms <n>", "Stop the scan after this long, keeping what it found (default 1800000)").option("--show-ui", "Show the Studio window").option("--priority <class>", "Class in the local Studio line: paid, free, internal (default) or promotion").option("--json", "Print the report as one JSON line").action(localScanCommand);
|
|
8327
|
+
program.command("generate").description("Generate a test script for one cloud test case; with --local the local Studio runs it and uploads the run").option("--local", "Run in the local Studio on the model source you chose (muggle llm-source); required for now").requiredOption("--project-id <id>", "Project the test case belongs to").requiredOption("--test-case-id <id>", "Test case to generate a script for").option("--light", "Run the prediction agent on the light (Sonnet) tier").option("--show-ui", "Show the Studio window (the showElectronBrowser preference can override)").option("--timeout-ms <n>", "Run time limit in milliseconds (default: the generation default)").option("--priority <class>", "Class in the local Studio line: paid, free, internal (default) or promotion").option("--json", "Print the result as one JSON line").action(generateCommand);
|
|
8313
8328
|
program.command("ci-install").description("Add the Muggle walkthrough check to this repository's GitHub Actions").option("--force", "Replace an existing workflow file").action(ciInstallCommand);
|
|
8314
8329
|
const watch = program.command("watch").description("Standing watch over Claude/Codex sessions, their processes, and PR watchers");
|
|
8315
8330
|
watch.command("tick").description("Run one watch pass (the scheduled task runs this)").option("--no-auto-reload", "Do not start a plugin reload fan-out when installed plugins change").option("--no-recovery", "Report dead watchers without resuming their owner sessions").option("--no-remote-control", "Report sessions off Remote Control without restarting them").option("--no-limit-resume", "Report sessions a usage limit cut off without continuing them").option("--no-mcp-recover", "Report sessions whose Muggle MCP server is gone without restarting them").option("--json", "Print the full snapshot as JSON").action(watchTickCommand);
|
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-EPNMQQAU.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-BVF4SG4Q.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
4
|
-
"version": "5.39.0-staging.
|
|
4
|
+
"version": "5.39.0-staging.362",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
5
|
-
"version": "5.39.0-staging.
|
|
5
|
+
"version": "5.39.0-staging.362",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release": "5.39.0-staging.
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
2
|
+
"release": "5.39.0-staging.362",
|
|
3
|
+
"buildId": "run-362-1",
|
|
4
|
+
"commitSha": "6b9ee8a32973157c047c12b4182c8dfd6eb08d29",
|
|
5
5
|
"buildTime": "2026-11-12T07:45:22Z",
|
|
6
6
|
"serviceName": "muggle-ai-works-mcp"
|
|
7
7
|
}
|
|
@@ -0,0 +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, StudioJobPriorityEnum, 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-BVF4SG4Q.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muggleai/works",
|
|
3
3
|
"mcpName": "io.github.multiplex-ai/muggleai",
|
|
4
|
-
"version": "5.39.0-staging.
|
|
4
|
+
"version": "5.39.0-staging.362",
|
|
5
5
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
4
|
-
"version": "5.39.0-staging.
|
|
4
|
+
"version": "5.39.0-staging.362",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
package/plugin/.codex-mcp.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
5
|
-
"version": "5.39.0-staging.
|
|
5
|
+
"version": "5.39.0-staging.362",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/plugin/.mcp.json
CHANGED
package/dist/src-Y7PKC7UX.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
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-TN3CSXCQ.js';
|