fix(browser): retain effective source-map response urls

Preserve source-map response identity and legacy omission, admit identities before body reading, and retain completed results and cleanup causes within the existing output budget. Price fixed envelopes once.

Closes #1729.
Closes #1738.

Co-authored-by: allisaid <curruptdwastaken@gmail.com>
This commit is contained in:
clyde
2026-10-11 15:35:43 +08:00
committed by GitHub
parent 81dc64e3cd
commit 062723e44e
9 changed files with 636 additions and 100 deletions
+2
View File
@@ -52,6 +52,8 @@ const sourceMapMappingSchema = z.object({
const sourceMapContextShape = {
script_key: z.string(),
declared_url: z.string(),
// Older saved observations omit this field; current fetches emit string/null.
effective_url: z.string().nullable().optional(),
};
const parsedSourceMapShape = {
artifact: webTextArtifactSchema,