@backtrack-js/browser 0.5.3 → 0.5.4
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 +56 -54
- package/bin/cli.cjs +5 -2
- package/bin/export-context.cjs +50 -0
- package/bin/mcp.cjs +19 -0
- package/bin/symbolize.cjs +214 -66
- package/dist/capturers/browser.d.ts +18 -0
- package/dist/capturers/errors.d.ts +3 -1
- package/dist/capturers/network.d.ts +11 -1
- package/dist/capturers/rrweb.d.ts +2 -0
- package/dist/capturers/sanitizer.d.ts +1 -0
- package/dist/core/flight-recorder.d.ts +9 -0
- package/dist/dev-server.cjs +3 -6
- package/dist/dev-server.js +128 -90
- package/dist/incident-reports-9iXHIaBD.js +1242 -0
- package/dist/incident-reports-Cjos7N-u.cjs +51 -0
- package/dist/index.cjs +53 -38
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2357 -2079
- package/dist/mcp/server.d.ts +5 -0
- package/dist/mcp.cjs +2 -0
- package/dist/mcp.js +203 -0
- package/dist/storage/batch-writer.d.ts +6 -0
- package/dist/storage/incident-manager.d.ts +10 -6
- package/dist/types/artifact.d.ts +50 -0
- package/dist/types/browser-context.d.ts +34 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/options.d.ts +15 -0
- package/dist/types/timeline.d.ts +11 -0
- package/dist/types/visual-proposal.d.ts +1 -0
- package/dist/utils/context-package.d.ts +4 -0
- package/dist/utils/incident-query.d.ts +93 -0
- package/dist/utils/incident-reports.d.ts +18 -0
- package/dist/utils/interactions.d.ts +13 -0
- package/dist/utils/markdown.d.ts +3 -0
- package/dist/validation/structure.d.ts +11 -0
- package/dist/validation/validate.d.ts +3 -1
- package/dist/viewer/assets/index-BNTvj2zy.js +337 -0
- package/dist/viewer/assets/{index-092olPra.css → index-DXHvcqkw.css} +1 -1
- package/dist/viewer/index.html +2 -2
- package/dist/widget/element-editor.d.ts +7 -0
- package/dist/widget/widget.d.ts +9 -2
- package/package.json +113 -99
- package/dist/markdown-Ao5Ah9MF.cjs +0 -8
- package/dist/markdown-D3C94OlY.js +0 -493
- package/dist/viewer/assets/index-BkV3C4kX.js +0 -197
|
@@ -8,12 +8,14 @@ export interface ValidationFailure {
|
|
|
8
8
|
errors: string[];
|
|
9
9
|
}
|
|
10
10
|
export type ValidationResult = ValidationSuccess | ValidationFailure;
|
|
11
|
+
export declare const MAX_INCIDENT_DESCRIPTION_LENGTH = 4000;
|
|
12
|
+
export declare const isIncidentDescriptionText: (value: unknown) => value is string;
|
|
11
13
|
/**
|
|
12
14
|
* Valida se annotationImage é estritamente uma imagem data:base64 segura (png, jpeg ou webp),
|
|
13
15
|
* rejeitando http:, https:, javascript:, file: e payloads acima de 10 MB.
|
|
14
16
|
*/
|
|
15
17
|
export declare function isValidAnnotationImage(value: unknown): value is string;
|
|
16
|
-
/** Validates the envelope and
|
|
18
|
+
/** Validates the envelope and known rrweb collections before handing them to the player. */
|
|
17
19
|
export declare function isReplayEvent(value: unknown): boolean;
|
|
18
20
|
/**
|
|
19
21
|
* Valida a integridade e o schema de um artefato .ffr.json do Flight Recorder.
|