@wa008/ui-audit-mcp 2.2.1 → 2.2.2

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.
@@ -3,21 +3,21 @@ export const DIMENSIONS = [
3
3
  {
4
4
  id: "overlap",
5
5
  name: "Element Overlap & Safe Areas",
6
- description: "You are a strict QA inspector. Your job is to find overlap problems, not to praise the UI.\n" +
7
- "Assume there ARE problems until you have carefully verified every region.\n\n" +
8
- "CHECK EACH REGION METHODICALLY report what you see in each:\n" +
9
- "1. TOP-RIGHT & TOP-LEFT CORNERS (CRITICAL): Look at the black pill-shaped camera cutout (Dynamic Island) or the notch at the top center. Draw an imaginary horizontal line across the VERY BOTTOM EDGE of that cutout. Are there ANY interactive elements (like a '+' button, settings icon, profile picture) that are positioned at the same height or ABOVE this line on the left or right sides? If YES, this is a CRITICAL UI BUG. Score this 0-2 immediately.\n" +
10
- "2. STATUS BAR ZONE: Does ANY app content extend behind the system time (top left), battery, or signal indicators (top right)? Look extremely closely. Even partial intrusion = failure.\n" +
11
- "3. BOTTOM SAFE AREA: Does any content overlap with the horizontal home indicator bar at the very bottom?\n" +
12
- "4. INTER-ELEMENT: Do any two app elements (buttons, text, images, cards) visually overlap each other?\n" +
13
- "5. MODAL/POPUP: If present, does it unintentionally cover critical content?\n\n" +
14
- "SCORING ATTITUDE: Visual AI models often miss top-corner overlaps. Be explicitly paranoid about buttons placed too high up near the battery or time icons. If you are unsure whether something overlaps or is too close, score LOW.\n" +
15
- "NOTE: Do NOT evaluate spacing aesthetics (layout), colors (style), or text meaning (info_clarity).",
16
- scoringGuide: "0-2: Any element overlaps the status bar zone (e.g. above the bottom of the Dynamic Island/notch), touches the battery/time, overlaps the home indicator, or covers another element.\n" +
17
- "3-4: An element is dangerously close to a safe area boundary (e.g. just barely below the Dynamic Island with no breathing room).\n" +
18
- "5-6: All elements are within safe areas but margins are uncomfortably tight.\n" +
19
- "7-8: All elements are clearly within safe areas with comfortable margins. No inter-element overlap detected.\n" +
20
- "9-10: Perfect generous safe area margins on all sides, zero overlap risk. ONLY give 9-10 if you are ABSOLUTELY CERTAIN the top corners are completely clear of buttons.",
6
+ description: "You are a user-centric QA inspector evaluating visual interference and interactive crowding.\n" +
7
+ "Evaluate the screen from the perspective of a real human user trying to read and tap efficiently.\n" +
8
+ "Assume there ARE overlap issues until you have visually scanned the entire screen.\n\n" +
9
+ "CHECK FOR VISUAL INTERFERENCE & COGNITIVE NOISE:\n" +
10
+ "1. SYSTEM EDGE INTERFERENCE (CRITICAL): Scan the very top, bottom, and corners. Do any app elements (e.g., buttons, avatars, titles) visually mix with system indicators (time, battery, notch, home indicator)? If an app button sits awkwardly close to system icons, it creates cognitive confusion and accidental click risks. This is a CRITICAL BUG.\n" +
11
+ "2. INTERACTIVE CROWDING: Are touch targets (buttons, links) so close to each other or to the screen edges that a user with a large thumb might accidentally trigger the wrong action or a system gesture?\n" +
12
+ "3. TEXT & CONTENT CLASH: Do any app elements (text, images, floating buttons) visually collide with or bleed into each other, making them harder to read or recognize?\n" +
13
+ "4. MODAL/POPUP OBSTRUCTION: If a popup or sheet is present, does it awkwardly obscure essential context that the user still needs to see?\n\n" +
14
+ "SCORING ATTITUDE: Focus on the HUMAN visual experience. If an element 'feels' like it's stepping on another element's toes or invading system space, it is an overlap failure. Punish visual crowding heavily. If unsure, score LOW.\n" +
15
+ "NOTE: Do NOT evaluate logical spacing consistency (layout), colors (style), or text meaning (info_clarity).",
16
+ scoringGuide: "0-2: Severe visual interference. Elements clearly collide (e.g. app button invading system status bar area), causing immediate cognitive confusion or severe accidental click risks.\n" +
17
+ "3-4: Elements don't perfectly collide, but are awkwardly close to each other or to system edges, creating noticeable visual noise or crowding.\n" +
18
+ "5-6: All elements are separate, but touch targets might be a bit too close for comfort. Risk of fat-finger errors.\n" +
19
+ "7-8: Clean separation. No visual interference. App UI respects system boundaries and provides clear touch targets.\n" +
20
+ "9-10: Perfect logical grouping, generous touch targets, and completely unambiguous visual separation over the entire screen.",
21
21
  },
22
22
  {
23
23
  id: "layout",
@@ -1 +1 @@
1
- {"version":3,"file":"checklist.js","sourceRoot":"","sources":["../../../src/evaluation/checklist.ts"],"names":[],"mappings":"AAEA,+DAA+D;AAC/D,MAAM,CAAC,MAAM,UAAU,GAAoB;IACvC;QACI,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,8BAA8B;QACpC,WAAW,EACP,8FAA8F;YAC9F,+EAA+E;YAC/E,iEAAiE;YACjE,scAAsc;YACtc,2LAA2L;YAC3L,4GAA4G;YAC5G,yGAAyG;YACzG,iFAAiF;YACjF,uOAAuO;YACvO,oGAAoG;QACxG,YAAY,EACR,wLAAwL;YACxL,oIAAoI;YACpI,gFAAgF;YAChF,gHAAgH;YAChH,2KAA2K;KAClL;IACD;QACI,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,0BAA0B;QAChC,WAAW,EACP,2FAA2F;YAC3F,8DAA8D;YAC9D,sBAAsB;YACtB,2HAA2H;YAC3H,qJAAqJ;YACrJ,uKAAuK;YACvK,mJAAmJ;YACnJ,yIAAyI;YACzI,qFAAqF;YACrF,kHAAkH;QACtH,YAAY,EACR,0HAA0H;YAC1H,uGAAuG;YACvG,qJAAqJ;YACrJ,6GAA6G;YAC7G,qHAAqH;KAC5H;IACD;QACI,EAAE,EAAE,cAAc;QAClB,IAAI,EAAE,mCAAmC;QACzC,WAAW,EACP,kGAAkG;YAClG,iFAAiF;YACjF,sBAAsB;YACtB,sJAAsJ;YACtJ,2IAA2I;YAC3I,uIAAuI;YACvI,4GAA4G;YAC5G,uGAAuG;YACvG,kFAAkF;YAClF,4EAA4E;YAC5E,iDAAiD;YACjD,sFAAsF;QAC1F,YAAY,EACR,6FAA6F;YAC7F,2FAA2F;YAC3F,kHAAkH;YAClH,+GAA+G;YAC/G,iIAAiI;KACxI;IACD;QACI,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,4BAA4B;QAClC,WAAW,EACP,qGAAqG;YACrG,yEAAyE;YACzE,sBAAsB;YACtB,mHAAmH;YACnH,uHAAuH;YACvH,sIAAsI;YACtI,kHAAkH;YAClH,oJAAoJ;YACpJ,uHAAuH;YACvH,mGAAmG;QACvG,YAAY,EACR,8FAA8F;YAC9F,kHAAkH;YAClH,0FAA0F;YAC1F,qFAAqF;YACrF,sFAAsF;KAC7F;IACD;QACI,EAAE,EAAE,eAAe;QACnB,IAAI,EAAE,4BAA4B;QAClC,WAAW,EACP,+EAA+E;YAC/E,wGAAwG;YACxG,sBAAsB;YACtB,gIAAgI;YAChI,2HAA2H;YAC3H,wHAAwH;YACxH,qHAAqH;YACrH,oHAAoH;YACpH,oEAAoE;QACxE,YAAY,EACR,6FAA6F;YAC7F,6GAA6G;YAC7G,0GAA0G;YAC1G,8FAA8F;YAC9F,sHAAsH;KAC7H;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACvD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"checklist.js","sourceRoot":"","sources":["../../../src/evaluation/checklist.ts"],"names":[],"mappings":"AAEA,+DAA+D;AAC/D,MAAM,CAAC,MAAM,UAAU,GAAoB;IACvC;QACI,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,8BAA8B;QACpC,WAAW,EACP,gGAAgG;YAChG,qGAAqG;YACrG,wFAAwF;YACxF,oDAAoD;YACpD,8VAA8V;YAC9V,6MAA6M;YAC7M,0KAA0K;YAC1K,+IAA+I;YAC/I,wOAAwO;YACxO,6GAA6G;QACjH,YAAY,EACR,wLAAwL;YACxL,kJAAkJ;YAClJ,sHAAsH;YACtH,sHAAsH;YACtH,8HAA8H;KACrI;IACD;QACI,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,0BAA0B;QAChC,WAAW,EACP,2FAA2F;YAC3F,8DAA8D;YAC9D,sBAAsB;YACtB,2HAA2H;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AE,CAAC,CAAC;AACvD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wa008/ui-audit-mcp",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "MCP server for iOS app UI evaluation and testing, powered by idb + xcrun simctl",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",