@wa008/ui-audit-mcp 2.2.0 → 2.2.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.
@@ -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"}
@@ -6,22 +6,18 @@ export const DIMENSIONS = [
6
6
  description: "You are a strict QA inspector. Your job is to find overlap problems, not to praise the UI.\n" +
7
7
  "Assume there ARE problems until you have carefully verified every region.\n\n" +
8
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" +
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" +
19
15
  "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.",
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.",
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,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,8FAA8F;Y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AClC,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.1",
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",