@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.
Files changed (45) hide show
  1. package/README.md +56 -54
  2. package/bin/cli.cjs +5 -2
  3. package/bin/export-context.cjs +50 -0
  4. package/bin/mcp.cjs +19 -0
  5. package/bin/symbolize.cjs +214 -66
  6. package/dist/capturers/browser.d.ts +18 -0
  7. package/dist/capturers/errors.d.ts +3 -1
  8. package/dist/capturers/network.d.ts +11 -1
  9. package/dist/capturers/rrweb.d.ts +2 -0
  10. package/dist/capturers/sanitizer.d.ts +1 -0
  11. package/dist/core/flight-recorder.d.ts +9 -0
  12. package/dist/dev-server.cjs +3 -6
  13. package/dist/dev-server.js +128 -90
  14. package/dist/incident-reports-9iXHIaBD.js +1242 -0
  15. package/dist/incident-reports-Cjos7N-u.cjs +51 -0
  16. package/dist/index.cjs +53 -38
  17. package/dist/index.d.ts +4 -0
  18. package/dist/index.js +2357 -2079
  19. package/dist/mcp/server.d.ts +5 -0
  20. package/dist/mcp.cjs +2 -0
  21. package/dist/mcp.js +203 -0
  22. package/dist/storage/batch-writer.d.ts +6 -0
  23. package/dist/storage/incident-manager.d.ts +10 -6
  24. package/dist/types/artifact.d.ts +50 -0
  25. package/dist/types/browser-context.d.ts +34 -0
  26. package/dist/types/index.d.ts +1 -0
  27. package/dist/types/options.d.ts +15 -0
  28. package/dist/types/timeline.d.ts +11 -0
  29. package/dist/types/visual-proposal.d.ts +1 -0
  30. package/dist/utils/context-package.d.ts +4 -0
  31. package/dist/utils/incident-query.d.ts +93 -0
  32. package/dist/utils/incident-reports.d.ts +18 -0
  33. package/dist/utils/interactions.d.ts +13 -0
  34. package/dist/utils/markdown.d.ts +3 -0
  35. package/dist/validation/structure.d.ts +11 -0
  36. package/dist/validation/validate.d.ts +3 -1
  37. package/dist/viewer/assets/index-BNTvj2zy.js +337 -0
  38. package/dist/viewer/assets/{index-092olPra.css → index-DXHvcqkw.css} +1 -1
  39. package/dist/viewer/index.html +2 -2
  40. package/dist/widget/element-editor.d.ts +7 -0
  41. package/dist/widget/widget.d.ts +9 -2
  42. package/package.json +113 -99
  43. package/dist/markdown-Ao5Ah9MF.cjs +0 -8
  44. package/dist/markdown-D3C94OlY.js +0 -493
  45. package/dist/viewer/assets/index-BkV3C4kX.js +0 -197
package/dist/index.d.ts CHANGED
@@ -8,9 +8,13 @@ export * from './widget/widget';
8
8
  export * from './widget/annotator';
9
9
  export * from './capturers/route-matcher';
10
10
  export * from './utils/markdown';
11
+ export * from './utils/incident-query';
12
+ export * from './utils/interactions';
11
13
  export * from './utils/gist-uploader';
12
14
  export * from './utils/compression';
13
15
  import { FlightRecorderImpl, createFlightRecorder } from './core/flight-recorder';
14
16
  import type { FlightRecorder, FlightRecorderOptions } from './types/options';
15
17
  export { FlightRecorderImpl as Backtrack, FlightRecorderImpl as BacktrackImpl, createFlightRecorder as createBacktrack };
16
18
  export type { FlightRecorder as BacktrackRecorder, FlightRecorderOptions as BacktrackOptions };
19
+ export * from './utils/incident-reports';
20
+ export * from './utils/context-package';