@wa008/ui-audit-mcp 2.2.0 → 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.
@@ -1 +1 @@
1
- {"version":3,"file":"checklist.d.ts","sourceRoot":"","sources":["../../../src/evaluation/checklist.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,+DAA+D;AAC/D,eAAO,MAAM,UAAU,EAAE,aAAa,EA+GrC,CAAC;AAEF,eAAO,MAAM,aAAa,UAA4B,CAAC;AACvD,eAAO,MAAM,aAAa,IAAI,CAAC"}
1
+ {"version":3,"file":"checklist.d.ts","sourceRoot":"","sources":["../../../src/evaluation/checklist.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,+DAA+D;AAC/D,eAAO,MAAM,UAAU,EAAE,aAAa,EA2GrC,CAAC;AAEF,eAAO,MAAM,aAAa,UAA4B,CAAC;AACvD,eAAO,MAAM,aAAa,IAAI,CAAC"}
@@ -3,25 +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 CORNER: Is there ANY element (button, icon, badge) that sits within or touches the status bar zone or Dynamic Island area? " +
10
- "Look very carefully at the vertical position of the topmost UI element on the right side. " +
11
- "If its top edge is within ~54pt of the screen top on a notch/Dynamic Island device, it is overlapping. This is a CRITICAL failure.\n" +
12
- "2. TOP-LEFT CORNER: Same check any element intruding into the status bar time/signal area?\n" +
13
- "3. STATUS BAR ZONE: Does ANY app content (text, header background, button) extend behind the system time, battery, or signal indicators? Even partial intrusion = failure.\n" +
14
- "4. BOTTOM SAFE AREA: Does any content overlap with the home indicator bar?\n" +
15
- "5. INTER-ELEMENT: Do any two app elements (buttons, text, images, cards) visually overlap each other?\n" +
16
- "6. MODAL/POPUP: If present, does it unintentionally cover critical content?\n\n" +
17
- "SCORING ATTITUDE: If you are unsure whether something overlaps, score LOW. " +
18
- "The purpose of this audit is to catch problems, not to give the benefit of the doubt.\n" +
19
- "NOTE: Do NOT evaluate spacing aesthetics (layout), colors (style), or text meaning (info_clarity).",
20
- scoringGuide: "0-2: Any element overlaps status bar, Dynamic Island, notch, or home indicator. Or two elements clearly cover each other.\n" +
21
- "3-4: An element is dangerously close to a safe area boundary (<8pt margin) — likely overlapping on some devices.\n" +
22
- "5-6: All elements are within safe areas but margins are tight (<12pt). Risk of overlap on larger text sizes or different devices.\n" +
23
- "7-8: All elements are clearly within safe areas with comfortable margins (>=16pt). No inter-element overlap detected.\n" +
24
- "9-10: Perfect — generous safe area margins on all sides, zero overlap risk. ONLY give 9-10 if you are absolutely certain after checking every corner.",
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.",
25
21
  },
26
22
  {
27
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,0IAA0I;YAC1I,4FAA4F;YAC5F,sIAAsI;YACtI,gGAAgG;YAChG,8KAA8K;YAC9K,8EAA8E;YAC9E,yGAAyG;YACzG,iFAAiF;YACjF,6EAA6E;YAC7E,yFAAyF;YACzF,oGAAoG;QACxG,YAAY,EACR,6HAA6H;YAC7H,oHAAoH;YACpH,qIAAqI;YACrI,yHAAyH;YACzH,uJAAuJ;KAC9J;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,yIAAy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C"}
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;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wa008/ui-audit-mcp",
3
- "version": "2.2.0",
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",