@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -4
  2. 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" | "pending" | "skipped" | "failed";
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: "before" | "after" | "tie";
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, type AgentAdapter, type AgentName, type AgentRunOptions, type AllowRule, type AxeViolation, type BrowserSession, CLIP_LIMITS, type Candidate, type Capture, type CapturedScreen, type ClipFlow, type ClipResult, type ClipSkip, type ClipUploadOutcome, type CursorCloudDeps, DEFAULT_CLIP_VIEWPORT, DEFAULT_JUDGE_MODEL, DEFAULT_SCORECARD_MODEL, DEFAULT_SCORECARD_VIEWPORT, DEFAULT_SETUP_COMMAND, type Dashboard, type DiscoverOptions, FACTS_SCRIPT, type FreshAction, type FreshAsk, type FreshEyesFinding, type FreshEyesOptions, type FreshEyesPersona, type FreshEyesResult, type FreshEyesSession, type FreshEyesStep, type GuardPolicy, type Identity, type IterationRecord, type JudgeClaim, type JudgeOptions, type JudgeVerdict, type LayoutIssue, type LoopEvent, type LoopHandle, type LoopOptions, type NativeNode, type Opinion, type OpinionCategory, POINTER_PROMPT, type PacketInput, type PageCapture, type PageFacts, type ParsedPageScore, type Phase, type PhaseName, type ProbeResult, type RecordClipsOptions, type ReplayStep, type RequirementKind, type RunState, type ScoreVia, type ScorecardFileOutcome, type ScorecardOptions, type ScorecardPageResult, type ScorecardResult, type ScorecardRow, type ScoredPage, type Scorer, type ServerClipCaps, type StallReason, type StepOutcome, type SuccessCheck, type Surface, type SurfaceKind, type SurfaceState, type SurfaceStatus, type SyncConfig, type SyncHandle, type TerminalHandoff, type TerminalOptions, type TerminalResult, 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, type UploadOptions, type UploadPlatform, type UploadResult, type UploadSource, type UxCause, type UxCausePage, type UxClaim, type UxDimension, type UxFilingPlan, type UxIssue, type UxPageFacts, type UxPagePromptContext, type UxPageScore, type UxSeverity, VIEWPORTS, type Verdict, type VerdictInput, type Viewport, type WriteMode, 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 };
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.0",
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": "^0.129.0",
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": "^8.5.1",
63
+ "tsup": "^9.0.0",
64
64
  "typescript": "^6.0.3",
65
- "vitest": "^4.1.9",
65
+ "vitest": "^5.1.1",
66
66
  "@mushi-mushi/eslint-config": "0.0.0",
67
67
  "@mushi-mushi/tsconfig": "0.0.0"
68
68
  },