@developerz.ai/ui-debugger-mcp 1.5.2 → 1.7.0
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.
- package/README.md +71 -3
- package/dist/adapters/browser/browser-adapter.d.ts +1 -1
- package/dist/adapters/browser/browser-adapter.js +11 -4
- package/dist/adapters/browser/browser-adapter.js.map +1 -1
- package/dist/adapters/browser/launch.d.ts +12 -0
- package/dist/adapters/browser/launch.js +33 -0
- package/dist/adapters/browser/launch.js.map +1 -1
- package/dist/adapters/browser/log-format.d.ts +17 -5
- package/dist/adapters/browser/log-format.js +41 -4
- package/dist/adapters/browser/log-format.js.map +1 -1
- package/dist/agent/prompts/compose.d.ts +29 -2
- package/dist/agent/prompts/compose.js +37 -4
- package/dist/agent/prompts/compose.js.map +1 -1
- package/dist/config/schema.d.ts +54 -0
- package/dist/config/schema.js +62 -0
- package/dist/config/schema.js.map +1 -1
- package/dist/errors.d.ts +11 -0
- package/dist/errors.js +15 -0
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/tools/describe.js +5 -2
- package/dist/mcp/tools/describe.js.map +1 -1
- package/dist/mcp/tools/get-findings.js +16 -4
- package/dist/mcp/tools/get-findings.js.map +1 -1
- package/dist/mcp/tools/output.d.ts +11 -0
- package/dist/mcp/tools/output.js +25 -0
- package/dist/mcp/tools/output.js.map +1 -1
- package/dist/mcp/tools/result.d.ts +17 -3
- package/dist/mcp/tools/result.js +24 -10
- package/dist/mcp/tools/result.js.map +1 -1
- package/dist/mcp/tools/start-debug.js +21 -1
- package/dist/mcp/tools/start-debug.js.map +1 -1
- package/dist/services/debug-service.d.ts +56 -1
- package/dist/services/debug-service.js +85 -11
- package/dist/services/debug-service.js.map +1 -1
- package/dist/services/login.d.ts +78 -0
- package/dist/services/login.js +200 -0
- package/dist/services/login.js.map +1 -0
- package/dist/services/session-builder.d.ts +4 -1
- package/dist/services/session-builder.js +62 -15
- package/dist/services/session-builder.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
* seam; swapping the driver model or the target never touches the service.
|
|
15
15
|
*/
|
|
16
16
|
import { mkdir, writeFile } from 'node:fs/promises';
|
|
17
|
+
import { resolveTargetUrl } from '../adapters/browser/launch.js';
|
|
18
|
+
import { createSecretRedactor } from '../adapters/browser/log-format.js';
|
|
17
19
|
import { createAdapter } from '../adapters/factory.js';
|
|
18
20
|
import { createActTool } from '../agent/belt/act.js';
|
|
19
21
|
import { createLookTool, createSelfLookTool } from '../agent/belt/look.js';
|
|
@@ -27,6 +29,7 @@ import { pruneSessions, SESSION_RETENTION } from '../session/cleanup.js';
|
|
|
27
29
|
import { FindingsStore } from '../session/findings-store.js';
|
|
28
30
|
import { Session } from '../session/session.js';
|
|
29
31
|
import { ensureSession, resolveProfileDir, sessionPaths, } from '../session/workspace.js';
|
|
32
|
+
import { performLogin, resolveAuth } from './login.js';
|
|
30
33
|
import { createReplayStep } from './replay.js';
|
|
31
34
|
import { createSummarize } from './summarize.js';
|
|
32
35
|
/** Bind {@link buildSession} to its shared deps, yielding the per-run {@link SessionBuilder}. */
|
|
@@ -108,11 +111,15 @@ export function resolveRunTarget(target, name, url) {
|
|
|
108
111
|
}
|
|
109
112
|
return target;
|
|
110
113
|
}
|
|
111
|
-
/**
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
/**
|
|
115
|
+
* Split a free-text blob into per-line entries; `undefined` when empty/absent.
|
|
116
|
+
* Backs both the run's `criteria` and the target's standing `notes` — each is one
|
|
117
|
+
* rule/fact per line, rendered as a list in the composed prompt.
|
|
118
|
+
*/
|
|
119
|
+
function splitLines(blob) {
|
|
120
|
+
if (blob === undefined)
|
|
114
121
|
return undefined;
|
|
115
|
-
const lines =
|
|
122
|
+
const lines = blob
|
|
116
123
|
.split('\n')
|
|
117
124
|
.map((line) => line.trim())
|
|
118
125
|
.filter((line) => line.length > 0);
|
|
@@ -167,6 +174,11 @@ export async function buildSession(deps, params) {
|
|
|
167
174
|
// "The boss tells the driver where to go": a per-run `url` overrides the target's
|
|
168
175
|
// configured url. Web targets need one or the other — fail loud before any launch.
|
|
169
176
|
const targetConfig = resolveRunTarget(baseTarget, target, params.url);
|
|
177
|
+
// Before disk, before any launch: an unknown `as` must fail here, not silently
|
|
178
|
+
// run the whole goal signed out — every screen behind the login would then read
|
|
179
|
+
// as a broken UI. Resolved against the run's target so a per-run `url` override
|
|
180
|
+
// still anchors the login path.
|
|
181
|
+
const auth = resolveAuth(targetConfig, target, params.as);
|
|
170
182
|
const effectiveConfig = targetConfig === baseTarget
|
|
171
183
|
? config
|
|
172
184
|
: { ...config, targets: { ...config.targets, [target]: targetConfig } };
|
|
@@ -178,13 +190,18 @@ export async function buildSession(deps, params) {
|
|
|
178
190
|
// and drop the rest, so the workspace stops growing forever. `protect` pins this
|
|
179
191
|
// run's dir even if the clock moved backwards since the previous one.
|
|
180
192
|
await pruneSessions(workspace, { keep: SESSION_RETENTION, protect: id });
|
|
181
|
-
const criteriaLines =
|
|
193
|
+
const criteriaLines = splitLines(criteria);
|
|
182
194
|
const address = openAddress(targetConfig);
|
|
183
195
|
const origin = runOrigin(targetConfig);
|
|
184
196
|
await writeFile(paths.storyMd, renderStoryMd(target, address, goal, criteriaLines), 'utf8');
|
|
185
197
|
const store = new FindingsStore(paths);
|
|
198
|
+
// Bound once, applied to EVERY durable log line this run writes. A persona's
|
|
199
|
+
// values are typed into the app, so they come back at us through the form POST
|
|
200
|
+
// in `network.log` and through anything an adapter error quotes — the same
|
|
201
|
+
// posture `log-format.ts` already holds for credential headers and `?token=`.
|
|
202
|
+
const redact = createSecretRedactor(auth ? Object.values(auth.persona.fields) : []);
|
|
186
203
|
const onLog = (channel, line) => {
|
|
187
|
-
void store.appendLog(channel, line).catch(() => undefined);
|
|
204
|
+
void store.appendLog(channel, redact(line)).catch(() => undefined);
|
|
188
205
|
};
|
|
189
206
|
// `profile` is a browser-target key — no other adapter has a profile dir. A managed
|
|
190
207
|
// launch lives in it; attach ignores it (that browser keeps its own state).
|
|
@@ -204,8 +221,14 @@ export async function buildSession(deps, params) {
|
|
|
204
221
|
criteria: criteriaLines,
|
|
205
222
|
selfLook,
|
|
206
223
|
address: origin ? address : undefined,
|
|
224
|
+
// Name + path only — never the field values. The prompt is resent every step.
|
|
225
|
+
...(auth && { auth: { persona: auth.name, loginPath: auth.persona.path } }),
|
|
226
|
+
// The target's standing preconditions: config-level, so they are stated once
|
|
227
|
+
// here instead of re-pasted into every `goal`. Length is capped at the config
|
|
228
|
+
// boundary — this section rides along on every step.
|
|
229
|
+
notes: splitLines(targetConfig.notes),
|
|
207
230
|
});
|
|
208
|
-
const appendAgentLog = (line) => store.appendLog('agent', `${new Date().toISOString()} ${line}`);
|
|
231
|
+
const appendAgentLog = (line) => store.appendLog('agent', redact(`${new Date().toISOString()} ${line}`));
|
|
209
232
|
// High-frequency, fire-and-forget: the agent's own log sink + per-step tool logs.
|
|
210
233
|
const logAgent = (line) => {
|
|
211
234
|
void appendAgentLog(line).catch(() => undefined);
|
|
@@ -221,14 +244,18 @@ export async function buildSession(deps, params) {
|
|
|
221
244
|
// best-effort: logging must never break or mask the run
|
|
222
245
|
}
|
|
223
246
|
};
|
|
247
|
+
// One trail per run, shared between the `act` tool (which records every step as
|
|
248
|
+
// it finishes, `ok: false` included), the loop (which snapshots it into each
|
|
249
|
+
// running flush) and the `report` tool (which merges it with the driver's
|
|
250
|
+
// reported steps), so the persisted findings and the returned counts derive from
|
|
251
|
+
// the same object. `report` reads it through `settled()`, so an act racing it in
|
|
252
|
+
// the SAME step still makes the verdict.
|
|
253
|
+
//
|
|
254
|
+
// Built HERE rather than inside `run` because the pre-run login (`open`, below)
|
|
255
|
+
// happens first and has to land on the same trail: the driver did not do it, but
|
|
256
|
+
// it did happen to the app, and a trail that omits it is a lie about the run.
|
|
257
|
+
const trail = createActTrail();
|
|
224
258
|
const run = async ({ inbox, progress, signal }) => {
|
|
225
|
-
// One trail per run, shared between the `act` tool (which records every step as
|
|
226
|
-
// it finishes, `ok: false` included), the loop (which snapshots it into each
|
|
227
|
-
// running flush) and the `report` tool (which merges it with the driver's
|
|
228
|
-
// reported steps), so the persisted findings and the returned counts derive from
|
|
229
|
-
// the same object. `report` reads it through `settled()`, so an act racing it in
|
|
230
|
-
// the SAME step still makes the verdict.
|
|
231
|
-
const trail = createActTrail();
|
|
232
259
|
const agent = createDebugAgent({
|
|
233
260
|
model: models.driver,
|
|
234
261
|
tools: {
|
|
@@ -278,8 +305,28 @@ export async function buildSession(deps, params) {
|
|
|
278
305
|
});
|
|
279
306
|
return {
|
|
280
307
|
session,
|
|
281
|
-
open: (timeoutMs) =>
|
|
308
|
+
open: async (timeoutMs) => {
|
|
309
|
+
await adapter.open(openAddress(targetConfig), timeoutMs);
|
|
310
|
+
if (!auth)
|
|
311
|
+
return;
|
|
312
|
+
// Out-of-band and BEFORE the loop: the driver never sees the credentials, and
|
|
313
|
+
// a login that cannot complete fails `start_debug` outright instead of handing
|
|
314
|
+
// back a run that will report every screen behind it as empty. See `login.ts`.
|
|
315
|
+
const steps = await signIn(adapter, auth, targetConfig, logAgent, timeoutMs);
|
|
316
|
+
for (const step of steps)
|
|
317
|
+
trail.record(step);
|
|
318
|
+
},
|
|
282
319
|
run,
|
|
283
320
|
};
|
|
284
321
|
}
|
|
322
|
+
/** Run the persona's login against the opened target, anchoring `path` to the run's url. */
|
|
323
|
+
function signIn(adapter, auth, target, log, timeoutMs) {
|
|
324
|
+
const base = target.adapter === 'browser' ? target.url : undefined;
|
|
325
|
+
return performLogin(adapter, {
|
|
326
|
+
...auth,
|
|
327
|
+
loginUrl: resolveTargetUrl(auth.persona.path, base),
|
|
328
|
+
timeoutMs,
|
|
329
|
+
log,
|
|
330
|
+
});
|
|
331
|
+
}
|
|
285
332
|
//# sourceMappingURL=session-builder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-builder.js","sourceRoot":"","sources":["../../src/services/session-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAmB,MAAM,6BAA6B,CAAC;AAGnF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"session-builder.js","sourceRoot":"","sources":["../../src/services/session-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CA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ED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@developerz.ai/ui-debugger-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
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",
|