@developerz.ai/ui-debugger-mcp 1.5.0 → 1.5.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.
@@ -9,149 +9,128 @@
9
9
  export const WEB_ADDENDUM_PROMPT = `\
10
10
  ## Web target — CDP reach
11
11
 
12
- Your browser connection uses the Chrome DevTools Protocol (CDP).
13
- It reaches the current page: DOM, console, network, input, and screenshots.
14
- Use it deliberately.
15
-
16
- ### CDP domains and when to reach for each
17
-
18
- | Domain | What it gives you | Use via |
19
- |-------------|-------------------|---------|
20
- | \`Page\` | navigate, wait for load, capture screenshot | \`act({action:"navigate"})\`, \`observe({kind:"screenshot"})\` |
21
- | \`DOM\` | read/query the element tree, attributes, text | \`observe({kind:"tree"})\` |
22
- | \`Network\` | request/response status, failed requests, timing | \`observe({kind:"network"})\` |
23
- | \`Log\` | browser console messages, JS errors | \`observe({kind:"console"})\` |
24
-
25
- ### DOM-first rule
26
-
27
- Always try the structured path before asking for vision:
28
- 1. \`observe({kind:"tree"})\` — read element roles, names, bounds, enabled state.
29
- 2. If an element is not visible in the tree, try scrolling or waiting, then re-observe.
30
- 3. Use \`observe({kind:"console"})\` and \`observe({kind:"network"})\` (filtered — see
31
- below) after actions that plausibly trigger errors — errors land there before
32
- they surface visually.
33
- 4. Only after the tree gives you no answer: call \`look\` for pixels.
34
-
35
- ### Composing tree queries
36
-
37
- - \`query\` accepts: a bare HTML tag (\`span\`, \`img\`), CSS (\`.cart span\`),
38
- \`role "name"\` (\`button "Add to cart"\`), an explicit engine
39
- (\`data-testid=cart-count\`, \`text=Subscribe\`), or plain visible text.
40
- - Elements with a \`data-testid\` always appear in the default (no-query) tree with
41
- their \`testid\` — to read a counter/value, find its node and read \`name\` (the
42
- text content). Re-observe the same node after acting to verify a change.
43
- - \`within\` scopes the read: pass a selector string or a node OBJECT exactly as a
44
- previous observe returned it — never a JSON-stringified node.
45
-
46
- ### Invisible text & contrast — no vision needed
47
-
48
- Text-bearing nodes carry a \`style\` column = \`{ color, backgroundColor, contrast }\`
49
- (WCAG ratio 1–21). It is omitted by default — request it via \`fields:["role","name","style"]\`
50
- or sweep all text in ONE call:
12
+ Your browser connection is the Chrome DevTools Protocol: DOM, console, network,
13
+ input, screenshots on the current page.
14
+
15
+ | CDP domain | Gives you | Reach via |
16
+ |------------|-----------|-----------|
17
+ | \`Page\` | navigate, wait for load, screenshot | \`act({action:"navigate"})\`, \`observe({kind:"screenshot"})\` |
18
+ | \`DOM\` | element tree, attributes, text | \`observe({kind:"tree"})\` |
19
+ | \`Network\` | status, failed requests, timing | \`observe({kind:"network"})\` |
20
+ | \`Log\` | console messages, JS errors | \`observe({kind:"console"})\` |
21
+
22
+ ### DOM-first
23
+
24
+ 1. \`observe({kind:"tree"})\` — roles, names, bounds, enabled state.
25
+ 2. Element not in the tree → scroll or wait, then re-observe.
26
+ 3. \`observe({kind:"console"})\` + \`observe({kind:"network"})\` (filtered) after
27
+ actions that plausibly error — errors land there before they show visually.
28
+ 4. Only when the tree has no answer: \`look\`.
29
+
30
+ ### Tree queries
31
+
32
+ - \`query\` accepts: a bare tag (\`span\`, \`img\`), CSS (\`.cart span\`), \`role "name"\`
33
+ (\`button "Add to cart"\`), an engine (\`data-testid=cart-count\`, \`text=Subscribe\`),
34
+ or plain visible text.
35
+ - \`data-testid\` elements always appear in the default tree with their \`testid\`.
36
+ Read a counter/value from that node's \`name\` (its text). Re-observe the same
37
+ node after acting to confirm the change.
38
+ - \`within\` scopes a read: a selector string, or a node OBJECT exactly as a previous
39
+ observe returned it — NEVER a JSON-stringified node.
40
+
41
+ ### Contrast — no vision needed
42
+
43
+ Text nodes carry \`style\` = \`{ color, backgroundColor, contrast }\` (WCAG 1–21),
44
+ omitted by default. Request \`fields:["role","name","style"]\`, or sweep in ONE call:
51
45
  \`observe({kind:"tree", query:"p, span, div, a, li", filters:{contrast_lt: 4.5}})\`
52
- (returns only hard-to-read text; empty = contrast is fine). Flag \`contrast < 4.5\`
53
- as a \`medium\` visual finding and \`contrast < 1.5\` as \`high\` (the text is
54
- effectively invisible). Always run one contrast sweep when the goal mentions
55
- readability, contrast, or visual polish.
46
+ (returns only hard-to-read text; empty = fine). \`contrast < 4.5\` → \`medium\` visual
47
+ finding; \`< 1.5\` → \`high\` (effectively invisible). ALWAYS sweep once when the goal
48
+ mentions readability, contrast, or visual polish.
56
49
 
57
- ### Follow links by CLICKING them — never invent URLs
50
+ ### Follow links by CLICKING — never invent URLs
58
51
 
59
- The tree does not expose \`href\`s. To follow a link, \`act({action:"click"})\` its
60
- node. Do NOT fabricate a URL from a link's label (e.g. label "Help Center" →
61
- navigating to \`/help-center\`): a guessed URL that 404s is YOUR error, not a site
62
- bug. Only \`navigate\` to URLs given in the goal or seen in network entries. If a
63
- link's click target is hidden (e.g. inside a closed menu), click the parent menu
64
- item first, then re-observe.
52
+ The tree does not expose \`href\`s. \`act({action:"click"})\` the node. NEVER fabricate
53
+ a URL from a label ("Help Center" → \`/help-center\`) — a guessed URL that 404s is
54
+ YOUR error, not a site bug. Only \`navigate\` to URLs from the goal or from network
55
+ entries. Click target hidden inside a closed menu → click the parent menu item
56
+ first, then re-observe.
65
57
 
66
- ### Verify input from the TREE, never from vision
58
+ ### Verify input from the TREE, never vision
67
59
 
68
- Form controls carry their LIVE state in the tree: \`value\` (what an
69
- input/textarea/select currently holds) and \`checked\` (checkbox/radio). \`name\`
70
- stays the label, so you can still target the field by it.
60
+ Form controls carry live state: \`value\` (input/textarea/select) and \`checked\`
61
+ (checkbox/radio). \`name\` stays the label, so you can still target by it.
71
62
 
72
- After typing or toggling, confirm with one \`observe\`:
63
+ After typing or toggling:
73
64
  \`observe({kind:"tree", query:"input", fields:["name","value","checked"]})\`
74
65
 
75
- NEVER spend a \`look\` asking "did my text land?" or "is the box checked now?" —
76
- the tree answers exactly, instantly, and for free. Vision is for how things LOOK,
77
- not for reading back your own input.
66
+ NEVER spend a \`look\` on "did my text land?" or "is the box checked?" — the tree
67
+ answers exactly, instantly, free. Vision is for how things LOOK.
78
68
 
79
69
  ### Login bypass
80
70
 
81
- If the target has \`?debug-ai=true\` support (the app's captcha bypass gate),
82
- append it to the login URL before navigating. This skips captcha only — not auth.
83
- The app must have \`ALLOW_AI_DEBUG_LOGIN=true\` set in its environment.
71
+ Target supports \`?debug-ai=true\` (the app's captcha gate) → append it to the login
72
+ URL before navigating. Skips captcha only, not auth. Needs \`ALLOW_AI_DEBUG_LOGIN=true\`
73
+ in the app's environment.
84
74
 
85
- ### Selectors — use the node's \`target\`, don't invent one
75
+ ### Selectors — copy the node's \`target\`
86
76
 
87
- Most actionable nodes from \`observe({kind:"tree"})\` carry a ready-to-use \`target\`
88
- string (e.g. \`data-testid="cart-count"\` when the element has a test id, else
89
- \`role=button[name="Add to cart" i]\`, with \`>> nth=N\` when names repeat).
90
- When a node has a \`target\`, COPY it verbatim into \`act({action, target})\`.
91
- Do NOT hand-craft a selector — guessed CSS like \`button[name="..."]\` will not resolve.
77
+ Most actionable nodes carry a ready \`target\` (\`data-testid="cart-count"\`, else
78
+ \`role=button[name="Add to cart" i]\`, with \`>> nth=N\` when names repeat). COPY it
79
+ verbatim into \`act({action, target})\`. NEVER hand-craft a selector — guessed CSS
80
+ like \`button[name="..."]\` will not resolve.
92
81
 
93
- If a node has no \`target\` (unnamed/non-semantic, or a scoped \`within\`/\`filters\`
94
- read), you may pass its visible text as \`target\` (plain text resolves), or
95
- \`role "name"\`. Avoid XPath and positional CSS.
82
+ No \`target\` (unnamed node, or a scoped \`within\`/\`filters\` read) → pass its visible
83
+ text (plain text resolves) or \`role "name"\`. Avoid XPath and positional CSS.
96
84
 
97
85
  ### Console + network — filter, don't dump
98
86
 
99
- Both channels support \`filters\` and \`limit\` — use them instead of reading
100
- everything every time:
101
87
  - \`observe({kind:"console", filters:{level_eq:"error"}})\` — just JS errors.
102
88
  - \`observe({kind:"network", filters:{status_gte:400}})\` — just failed requests.
103
- - \`limit\` caps rows returned when you only need the latest few.
89
+ - \`limit\` caps rows when you need only the latest few.
104
90
 
105
- Check both after actions that plausibly trigger errors (submits, navigations,
106
- API calls) — not mechanically after every single \`act\`.
91
+ Check both after actions that plausibly error (submits, navigations, API calls) —
92
+ not mechanically after every \`act\`. Record what you find as \`console\`/\`network\`
93
+ bugs: request URL or error message as \`detail\`, screenshot path as \`evidence\`.
107
94
 
108
- Record any errors as \`console\` or \`network\` bugs with the request URL / error
109
- message as \`detail\` and the screenshot path as \`evidence\` when relevant.
95
+ ### Network rows carry the WHY
110
96
 
111
- ### Network entries carry the WHY, not just the status
97
+ Each row is a full exchange: \`method\`, \`url\`, \`status\`, \`ok\`, \`durationMs\`, plus
98
+ \`requestBody\`, \`responseBody\` and redacted \`requestHeaders\`/\`responseHeaders\` for
99
+ \`fetch\`/\`xhr\`.
112
100
 
113
- Each row is a full exchange: \`method\`, \`url\`, \`status\`, \`ok\`, \`durationMs\`,
114
- and for API calls (\`fetch\`/\`xhr\`) the \`requestBody\`, \`responseBody\`, and
115
- redacted \`requestHeaders\`/\`responseHeaders\`.
101
+ **A failing request is half-reported without its \`responseBody\`.** NEVER stop at
102
+ "POST /api/x returned 400" — quote what the server said
103
+ (\`{"error":"password too short"}\`); that string turns a finding into a fix. The
104
+ \`requestBody\` shows whether the UI even sent what you typed.
116
105
 
117
- **A failing request is only half-reported without its \`responseBody\`.** When a
118
- submit fails, do NOT stop at "POST /api/x returned 400" — read the row and quote
119
- what the server actually said (\`{"error":"password too short"}\`); that string is
120
- what turns a finding into a fix. Same for the \`requestBody\`: it shows whether the
121
- UI even sent what you typed.
106
+ Credential header values arrive as \`<redacted, N chars>\` — deliberate. Presence is
107
+ what you need (a missing \`cookie\` explains a 401), never the secret.
122
108
 
123
- Credential header values arrive as \`<redacted, N chars>\`. That is deliberate —
124
- presence is what you need (a missing \`cookie\` explains a 401), never the secret.
109
+ - \`filters:{duration_gte:1000}\` — slow enough to be a UX bug.
110
+ - \`filters:{body_contains:"error"}\` — failures that still returned 200.
125
111
 
126
- Other reads that pay off:
127
- - \`filters:{duration_gte:1000}\` — requests slow enough to be a UX bug.
128
- - \`filters:{body_contains:"error"}\` — failures that still returned HTTP 200.
129
-
130
- A default \`network\` read hides successful static assets (scripts, styles,
131
- images) and tells you how many via \`hidden\` — on a dev server they outnumber real
132
- API calls ~15:1 and would crowd out everything worth seeing. Failed assets are
133
- always shown (a 404 image is a real bug). To inspect assets deliberately, ask:
112
+ A default \`network\` read hides SUCCESSFUL static assets and reports the count as
113
+ \`hidden\` — on a dev server they outnumber API calls ~15:1. Failed assets are always
114
+ shown (a 404 image is a real bug). Inspect assets deliberately:
134
115
  \`observe({kind:"network", filters:{resource_in:["script","stylesheet","image"]}})\`.
135
116
 
136
117
  ### iframes — already in the tree
137
118
 
138
- \`observe({kind:"tree"})\` reads embedded documents too (payment fields, editors,
139
- consent screens). A node inside one carries \`frame\` = the iframe's URL; its
140
- \`bounds\` are page coordinates, so clicking it needs nothing special. If a
141
- selector mysteriously fails to resolve on a node you can see, check whether it
142
- has a \`frame\` — and prefer clicking the node object over a hand-written selector.
119
+ \`observe({kind:"tree"})\` reads embedded documents (payment fields, editors, consent
120
+ screens). A node inside one carries \`frame\` = the iframe URL; its \`bounds\` are page
121
+ coordinates, so clicking needs nothing special. A selector that mysteriously fails
122
+ on a node you can see → check for \`frame\`, and prefer clicking the node object.
143
123
 
144
124
  ### Tabs — a click can open one
145
125
 
146
- When more than one tab is open, every \`act\` result carries a \`tabs\` array
147
- (\`index\`, \`url\`, \`title\`, \`active\`). A click on an external link, an OAuth
148
- button, or \`target="_blank"\` opens a new tab and **you are still on the old one**
149
- — if a click seems to have done nothing, check \`tabs\` before concluding the
150
- button is broken.
126
+ With more than one tab open, every \`act\` result carries \`tabs\`
127
+ (\`index\`, \`url\`, \`title\`, \`active\`). A click on an external link, an OAuth button
128
+ or \`target="_blank"\` opens a new tab and **you stay on the old one** — a click that
129
+ seems to have done nothing means check \`tabs\` before calling the button broken.
151
130
 
152
- - \`observe({kind:"tabs"})\` — list them any time.
131
+ - \`observe({kind:"tabs"})\` — list them.
153
132
  - \`act({action:"switch_tab", target:"1"})\` — drive tab 1 from now on. Console and
154
- network capture follow you; what the previous tab recorded is kept.
133
+ network capture follow you; the previous tab's records are kept.
155
134
 
156
135
  Switch back the same way when the popup flow is done.
157
136
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"web-addendum.js","sourceRoot":"","sources":["../../../src/agent/prompts/web-addendum.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoJlC,CAAC"}
1
+ {"version":3,"file":"web-addendum.js","sourceRoot":"","sources":["../../../src/agent/prompts/web-addendum.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+HlC,CAAC"}
package/dist/cli/init.js CHANGED
@@ -30,12 +30,20 @@ const STARTER_CONFIG = JSON.stringify({
30
30
  },
31
31
  },
32
32
  }, null, 2);
33
- /** `.mcp.json` snippet printed to stdout (API key placeholder — never written). */
33
+ /**
34
+ * `.mcp.json` snippet printed to stdout (API key placeholder — never written).
35
+ *
36
+ * The spec is pinned to `@latest`, not left bare. `npx -y <pkg>` REUSES a cached
37
+ * install when one exists, so an unpinned entry keeps launching whatever version
38
+ * first landed in `~/.npm/_npx` — observed in the wild: a client still booting
39
+ * 1.4.0 days after 1.5.0 shipped, with no signal that anything was stale.
40
+ * `@latest` forces the registry check on every cold start.
41
+ */
34
42
  const MCP_JSON_SNIPPET = `{
35
43
  "mcpServers": {
36
44
  "ui-debugger": {
37
45
  "command": "npx",
38
- "args": ["-y", "@developerz.ai/ui-debugger-mcp"],
46
+ "args": ["-y", "@developerz.ai/ui-debugger-mcp@latest"],
39
47
  "env": {
40
48
  "OPENAI_API_KEY": "<your-key-here>",
41
49
  "OPENAI_BASE_URL": "https://openrouter.ai/api/v1"
@@ -1 +1 @@
1
- {"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/cli/init.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,iEAAiE;AACjE,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CACnC;IACE,MAAM,EAAE;QACN,MAAM,EAAE,cAAc,CAAC,MAAM;QAC7B,MAAM,EAAE,cAAc,CAAC,MAAM;QAC7B,OAAO,EAAE,cAAc,CAAC,OAAO;KAChC;IACD,SAAS,EAAE,iBAAiB;IAC5B,OAAO,EAAE;QACP,GAAG,EAAE;YACH,OAAO,EAAE,SAAS;YAClB,GAAG,EAAE,uBAAuB;YAC5B,QAAQ,EAAE,IAAI;SACf;KACF;CACF,EACD,IAAI,EACJ,CAAC,CACF,CAAC;AAEF,mFAAmF;AACnF,MAAM,gBAAgB,GAAG;;;;;;;;;;;EAWvB,CAAC;AAEH,uFAAuF;AACvF,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEnC;;;;;;;GAOG;AACH,SAAS,iBAAiB,CAAC,GAAW;IACpC,MAAM,UAAU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AI,CAAC;IACtF,IAAI,CAAC;QACH,aAAa,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAI,SAAS,CACjB,gCAAgC,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAC7E,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,yBAAyB,IAAI,IAAI,CAAC,CAAC;AACjD,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export declare const NAME = "ui-debugger-mcp";
2
- export declare const VERSION = "1.5.0";
2
+ export declare const VERSION = "1.5.2";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Public package surface. Implementation lands incrementally — see idea/ for design.
2
2
  export const NAME = 'ui-debugger-mcp';
3
- export const VERSION = '1.5.0';
3
+ export const VERSION = '1.5.2';
4
4
  //# sourceMappingURL=index.js.map
@@ -41,7 +41,7 @@ export type SummaryGenerate = (req: SummaryRequest) => Promise<{
41
41
  * reply to one tight, actionable paragraph so any competent text model behaves the
42
42
  * same (never relies on a 3rd-party default).
43
43
  */
44
- export declare const SUMMARY_SYSTEM_PROMPT = "You are the summary guy \u2014 you condense a UI debug run into one paragraph for the\nsmart agent that will fix the code.\nYou are given the run's verdict plus every functional bug and visual issue it found.\nWrite ONE plain-text paragraph (no markdown, no lists, no headings, no preamble) that\nstates the verdict, then what broke, where, and what to fix \u2014 concrete and ordered by\nseverity. If nothing broke, say so plainly. Output only the paragraph.\n\nReport ONLY what the findings below contain. Never infer or invent a cause that is not\nthere: no crashes, exceptions, missing dependencies or build problems unless a bug or\nconsole error in the input actually says so. A \"failed\" verdict with no bugs listed\nmeans the run did not reach a conclusion \u2014 say exactly that, and do not diagnose it.\nSpeculation here is worse than silence: it sends the smart agent chasing a bug that\ndoes not exist.";
44
+ export declare const SUMMARY_SYSTEM_PROMPT = "You are the summary guy \u2014 you condense a UI debug run into one paragraph for the\nsmart agent that will fix the code. You get the verdict plus every functional bug\nand visual issue found.\n\nWrite ONE plain-text paragraph \u2014 no markdown, no lists, no headings, no preamble.\nState the verdict, then what broke, where, and what to fix: concrete, ordered by\nseverity. Nothing broke \u2192 say so plainly. Output only the paragraph.\n\nReport ONLY what the findings contain. NEVER infer a cause that is not there \u2014 no\ncrashes, exceptions, missing dependencies or build problems unless a bug or console\nerror says so. A \"failed\" verdict with no bugs listed means the run reached no\nconclusion: say exactly that, do not diagnose it. Speculation is worse than silence\n\u2014 it sends the smart agent chasing a bug that does not exist.";
45
45
  /**
46
46
  * Render the findings into the compact, plain-text digest the summary model reasons
47
47
  * over: the verdict, then the functional bugs and visual issues (or "none").
@@ -28,18 +28,18 @@ import { AgentError } from '../errors.js';
28
28
  */
29
29
  export const SUMMARY_SYSTEM_PROMPT = `\
30
30
  You are the summary guy — you condense a UI debug run into one paragraph for the
31
- smart agent that will fix the code.
32
- You are given the run's verdict plus every functional bug and visual issue it found.
33
- Write ONE plain-text paragraph (no markdown, no lists, no headings, no preamble) that
34
- states the verdict, then what broke, where, and what to fix — concrete and ordered by
35
- severity. If nothing broke, say so plainly. Output only the paragraph.
31
+ smart agent that will fix the code. You get the verdict plus every functional bug
32
+ and visual issue found.
36
33
 
37
- Report ONLY what the findings below contain. Never infer or invent a cause that is not
38
- there: no crashes, exceptions, missing dependencies or build problems unless a bug or
39
- console error in the input actually says so. A "failed" verdict with no bugs listed
40
- means the run did not reach a conclusion — say exactly that, and do not diagnose it.
41
- Speculation here is worse than silence: it sends the smart agent chasing a bug that
42
- does not exist.`;
34
+ Write ONE plain-text paragraph — no markdown, no lists, no headings, no preamble.
35
+ State the verdict, then what broke, where, and what to fix: concrete, ordered by
36
+ severity. Nothing broke → say so plainly. Output only the paragraph.
37
+
38
+ Report ONLY what the findings contain. NEVER infer a cause that is not there — no
39
+ crashes, exceptions, missing dependencies or build problems unless a bug or console
40
+ error says so. A "failed" verdict with no bugs listed means the run reached no
41
+ conclusion: say exactly that, do not diagnose it. Speculation is worse than silence
42
+ — it sends the smart agent chasing a bug that does not exist.`;
43
43
  /** One functional bug, rendered for the digest. */
44
44
  function bugLine(bug) {
45
45
  const evidence = bug.evidence ? ` (evidence: ${bug.evidence})` : '';
@@ -1 +1 @@
1
- {"version":3,"file":"summarize.js","sourceRoot":"","sources":["../../src/services/summarize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAkB1C;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;;;;;;;;;gBAarB,CAAC;AAEjB,mDAAmD;AACnD,SAAS,OAAO,CAAC,GAA6B;IAC5C,MAAM,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,GAAG,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IACpE,OAAO,MAAM,GAAG,CAAC,IAAI,KAAK,GAAG,CAAC,MAAM,GAAG,QAAQ,EAAE,CAAC;AACpD,CAAC;AAED,iDAAiD;AACjD,SAAS,UAAU,CAAC,KAAiC;IACnD,OAAO,MAAM,KAAK,CAAC,QAAQ,KAAK,KAAK,CAAC,KAAK,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;AACjE,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,QAAkB;IAC/C,MAAM,KAAK,GAAa,CAAC,YAAY,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IAEzD,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC7B,KAAK,CAAC,IAAI,CAAC,oBAAoB,QAAQ,CAAC,IAAI,CAAC,MAAM,IAAI,EAA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,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;QAC5E,OAAO,EAAE,IAAI,EAAE,CAAC;IAClB,CAAC,CAAC;IACF,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;AACrE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@developerz.ai/ui-debugger-mcp",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Autonomous UI debugging MCP server. Give a goal; a fast agent drives the browser/desktop, finds bugs + visual issues, and reports back.",
5
5
  "mcpName": "io.github.developerz-ai/ui-debugger-mcp",
6
6
  "license": "MIT",