refactor(browser): return complete observation evidence

This commit is contained in:
morluto
2026-09-29 13:56:49 +08:00
parent 9d1f88cbe8
commit 0e2738ffb6
69 changed files with 747 additions and 1206 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ export class CdpBrowserProvider implements BrowserObservationPort {
: undefined;
return ok(
webBundleAnalysisSchema.parse(
analyzeCapturedWebBundle(captured.inspection, input, sourceMaps),
analyzeCapturedWebBundle(captured.inspection, sourceMaps),
),
);
} catch (cause: unknown) {
@@ -368,7 +368,7 @@ const selectTargets = (
allowed.push({
target_id: target.id,
type: target.type,
title: target.title.slice(0, 16_384),
title: target.title,
url: url.url,
origin: url.origin,
attached: target.attached,