@mushi-mushi/ux 0.5.0 → 0.5.1
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/dist/index.d.ts +5 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -393,8 +393,8 @@ declare const DEFAULT_JUDGE_MODEL = "claude-opus-5-5";
|
|
|
393
393
|
declare const JudgeOutput: z.ZodObject<{
|
|
394
394
|
preferred: z.ZodEnum<{
|
|
395
395
|
A: "A";
|
|
396
|
-
tie: "tie";
|
|
397
396
|
B: "B";
|
|
397
|
+
tie: "tie";
|
|
398
398
|
}>;
|
|
399
399
|
confidence: z.ZodEnum<{
|
|
400
400
|
low: "low";
|
|
@@ -735,7 +735,7 @@ declare function toSnapshot(state: RunState, finished: boolean, uploaded: Readon
|
|
|
735
735
|
note: string | null;
|
|
736
736
|
plan: {
|
|
737
737
|
text: string;
|
|
738
|
-
status: "done" | "
|
|
738
|
+
status: "done" | "failed" | "pending" | "skipped";
|
|
739
739
|
attempt: number | null;
|
|
740
740
|
}[] | null;
|
|
741
741
|
penalty_before: number | null;
|
|
@@ -768,7 +768,7 @@ declare function toSnapshot(state: RunState, finished: boolean, uploaded: Readon
|
|
|
768
768
|
error?: string | undefined;
|
|
769
769
|
viewport: string;
|
|
770
770
|
model: string;
|
|
771
|
-
preferred: "
|
|
771
|
+
preferred: "tie" | "before" | "after";
|
|
772
772
|
confidence: "low" | "medium" | "high";
|
|
773
773
|
summary: string;
|
|
774
774
|
better: {
|
|
@@ -2246,4 +2246,5 @@ interface Verdict {
|
|
|
2246
2246
|
}
|
|
2247
2247
|
declare function decide(input: VerdictInput): Verdict;
|
|
2248
2248
|
|
|
2249
|
-
export { AGENTS,
|
|
2249
|
+
export { AGENTS, CLIP_LIMITS, DEFAULT_CLIP_VIEWPORT, DEFAULT_JUDGE_MODEL, DEFAULT_SCORECARD_MODEL, DEFAULT_SCORECARD_VIEWPORT, DEFAULT_SETUP_COMMAND, FACTS_SCRIPT, POINTER_PROMPT, UPLOAD_MAX_PAGES, UPLOAD_MAX_PNG_BYTES, UPLOAD_PLATFORMS, UPLOAD_SOURCES, UX_DIMENSIONS, UX_RUBRIC, UX_SCORECARD_LIMITS, UX_SCORECARD_PROMPT_VERSION, UX_SCORE_ANCHORS, VIEWPORTS, accessibilityCap, buildPacket, capFlows, captureFolder, capturePage, captureSurface, causeIsFileable, causeRank, causeReportBody, causeSlug, causeTokens, clampCaps, clipSlug, clipUploadBody, cropTop, cursorCloudAdapter, cursorModel, dHash, decide, discover, effectiveClipCaps, evidenceSeenIn, fetchClipCaps, fileScorecard, findDesignFiles, firstJsonObject, getAgent, groupCauses, groupingPrompt, hammingHex, hasTimeForScreen, httpsRepoUrl, installGuard, isDestructiveLabel, isRequestAllowed, judgeSurface, loadState, localScorer, mergeGrouping, nativeFacts, newRunId, nextRoutePath, nodesToContent, normText, normalizeLink, openSession, overallScore, pageSystemPrompt, pageUserPrompt, parseFlow, parseMaestroHierarchy, parsePageAnswer, parseUiautomator, patternKeyFor, performanceCap, pixelDiff, planFiling, pngSize, probePenalty, quoteArg, reactRouterPaths, readCaptures, readScreens, recordClips, routesFromSource, runDir, runFreshEyes, runProbes, runScorecard, runTerminalSetup, safeShotPath, sameCause, saveState, scorecardContext, scorecardMarkdown, scorecardMarker, scorecardPageKey, scorecardRows, scorecardRunId, screenPath, serverScorer, settle, sitemapPaths, startDashboard, startLoop, startSync, surfaceKey, syncConfigFromEnv, syncScorecard, toSnapshot, topCauses, unshuffle, uploadAllShots, uploadCaptures, uploadClips };
|
|
2250
|
+
export type { AgentAdapter, AgentName, AgentRunOptions, AllowRule, AxeViolation, BrowserSession, Candidate, Capture, CapturedScreen, ClipFlow, ClipResult, ClipSkip, ClipUploadOutcome, CursorCloudDeps, Dashboard, DiscoverOptions, FreshAction, FreshAsk, FreshEyesFinding, FreshEyesOptions, FreshEyesPersona, FreshEyesResult, FreshEyesSession, FreshEyesStep, GuardPolicy, Identity, IterationRecord, JudgeClaim, JudgeOptions, JudgeVerdict, LayoutIssue, LoopEvent, LoopHandle, LoopOptions, NativeNode, Opinion, OpinionCategory, PacketInput, PageCapture, PageFacts, ParsedPageScore, Phase, PhaseName, ProbeResult, RecordClipsOptions, ReplayStep, RequirementKind, RunState, ScoreVia, ScorecardFileOutcome, ScorecardOptions, ScorecardPageResult, ScorecardResult, ScorecardRow, ScoredPage, Scorer, ServerClipCaps, StallReason, StepOutcome, SuccessCheck, Surface, SurfaceKind, SurfaceState, SurfaceStatus, SyncConfig, SyncHandle, TerminalHandoff, TerminalOptions, TerminalResult, UploadOptions, UploadPlatform, UploadResult, UploadSource, UxCause, UxCausePage, UxClaim, UxDimension, UxFilingPlan, UxIssue, UxPageFacts, UxPagePromptContext, UxPageScore, UxSeverity, Verdict, VerdictInput, Viewport, WriteMode };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mushi-mushi/ux",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Local visual UX loop: maps a running app's pages, tabs and dialogs, runs your coding agent on each one against screenshot baselines, and shows before/after diffs, regressions and a pairwise judge.",
|
|
6
6
|
"type": "module",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@anthropic-ai/sdk": "^
|
|
51
|
+
"@anthropic-ai/sdk": "^1.12.0",
|
|
52
52
|
"@axe-core/playwright": "^4.12.1",
|
|
53
53
|
"commander": "^14.0.2",
|
|
54
54
|
"pixelmatch": "^8.0.0",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@types/node": "^22.20.0",
|
|
61
61
|
"@types/pngjs": "^6.0.5",
|
|
62
62
|
"eslint": "^10.6.0",
|
|
63
|
-
"tsup": "^
|
|
63
|
+
"tsup": "^9.0.0",
|
|
64
64
|
"typescript": "^6.0.3",
|
|
65
|
-
"vitest": "^
|
|
65
|
+
"vitest": "^5.1.1",
|
|
66
66
|
"@mushi-mushi/eslint-config": "0.0.0",
|
|
67
67
|
"@mushi-mushi/tsconfig": "0.0.0"
|
|
68
68
|
},
|