@glasstrace/sdk 1.15.1 → 1.17.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.
Files changed (75) hide show
  1. package/README.md +118 -11
  2. package/dist/async-context/index.cjs +21 -2
  3. package/dist/async-context/index.cjs.map +1 -1
  4. package/dist/async-context/index.js +2 -2
  5. package/dist/{capture-error-03qDnC5v.d.cts → capture-error-B0txjNut.d.cts} +2 -2
  6. package/dist/{capture-error-CAfFUyIU.d.ts → capture-error-Dc01rYNR.d.ts} +2 -2
  7. package/dist/{chunk-ZIYT2Y4B.js → chunk-BJOZBAP7.js} +3 -3
  8. package/dist/{chunk-VMK2G6QR.js → chunk-CN5EP25B.js} +2 -2
  9. package/dist/{chunk-HMEHYSTS.js → chunk-EVX6D2TX.js} +2 -2
  10. package/dist/{chunk-T4ETJJSK.js → chunk-F2IPBTDJ.js} +133 -11
  11. package/dist/{chunk-T4ETJJSK.js.map → chunk-F2IPBTDJ.js.map} +1 -1
  12. package/dist/{chunk-XMD5OYD6.js → chunk-M3QGJUEI.js} +2 -2
  13. package/dist/{chunk-7LE2O4ZJ.js → chunk-MKT54VEH.js} +55 -6
  14. package/dist/{chunk-7LE2O4ZJ.js.map → chunk-MKT54VEH.js.map} +1 -1
  15. package/dist/{chunk-MP3QNDXQ.js → chunk-O7IJP2TQ.js} +2 -2
  16. package/dist/{chunk-F7A3QXCT.js → chunk-UOAG72NR.js} +2 -2
  17. package/dist/{chunk-6ST4QV7T.js → chunk-VEQX2YSQ.js} +3 -3
  18. package/dist/{chunk-LQZRGBN5.js → chunk-YKE6HJLW.js} +2 -2
  19. package/dist/cli/init.cjs +18 -5
  20. package/dist/cli/init.cjs.map +1 -1
  21. package/dist/cli/init.js +7 -7
  22. package/dist/cli/mcp-add.cjs +15 -2
  23. package/dist/cli/mcp-add.cjs.map +1 -1
  24. package/dist/cli/mcp-add.js +3 -3
  25. package/dist/cli/uninit.js +3 -3
  26. package/dist/cli/upgrade-instructions.cjs +1 -1
  27. package/dist/cli/upgrade-instructions.js +3 -3
  28. package/dist/cli/validate.cjs +14 -1
  29. package/dist/cli/validate.cjs.map +1 -1
  30. package/dist/cli/validate.js +2 -2
  31. package/dist/{correlation-id-YcfcqOru.d.ts → correlation-id-B9YYmoZw.d.ts} +1 -1
  32. package/dist/{correlation-id-CZ2bstzA.d.cts → correlation-id-CelUvw7j.d.cts} +1 -1
  33. package/dist/edge-entry.cjs +21 -2
  34. package/dist/edge-entry.cjs.map +1 -1
  35. package/dist/edge-entry.d.cts +2 -2
  36. package/dist/edge-entry.d.ts +2 -2
  37. package/dist/edge-entry.js +4 -4
  38. package/dist/import-graph-DBLGNjcI.d.cts +238 -0
  39. package/dist/import-graph-Dka_Fm7j.d.ts +238 -0
  40. package/dist/index.cjs +203 -12
  41. package/dist/index.cjs.map +1 -1
  42. package/dist/{index.d-BQIJ5Dvc.d.cts → index.d-3-cJoY8y.d.cts} +10 -2
  43. package/dist/{index.d-BQIJ5Dvc.d.ts → index.d-3-cJoY8y.d.ts} +10 -2
  44. package/dist/index.d.cts +102 -5
  45. package/dist/index.d.ts +102 -5
  46. package/dist/index.js +30 -5
  47. package/dist/index.js.map +1 -1
  48. package/dist/middleware/index.cjs +21 -2
  49. package/dist/middleware/index.cjs.map +1 -1
  50. package/dist/middleware/index.js +2 -2
  51. package/dist/node-entry.cjs +28 -8
  52. package/dist/node-entry.cjs.map +1 -1
  53. package/dist/node-entry.d.cts +4 -4
  54. package/dist/node-entry.d.ts +4 -4
  55. package/dist/node-entry.js +7 -7
  56. package/dist/node-subpath.cjs +27 -1
  57. package/dist/node-subpath.cjs.map +1 -1
  58. package/dist/node-subpath.d.cts +51 -235
  59. package/dist/node-subpath.d.ts +51 -235
  60. package/dist/node-subpath.js +16 -3
  61. package/dist/node-subpath.js.map +1 -1
  62. package/dist/{source-map-uploader-NUONOEJG.js → source-map-uploader-U7SLSKIZ.js} +3 -3
  63. package/dist/trpc/index.cjs +21 -2
  64. package/dist/trpc/index.cjs.map +1 -1
  65. package/dist/trpc/index.js +1 -1
  66. package/package.json +1 -1
  67. /package/dist/{chunk-ZIYT2Y4B.js.map → chunk-BJOZBAP7.js.map} +0 -0
  68. /package/dist/{chunk-VMK2G6QR.js.map → chunk-CN5EP25B.js.map} +0 -0
  69. /package/dist/{chunk-HMEHYSTS.js.map → chunk-EVX6D2TX.js.map} +0 -0
  70. /package/dist/{chunk-XMD5OYD6.js.map → chunk-M3QGJUEI.js.map} +0 -0
  71. /package/dist/{chunk-MP3QNDXQ.js.map → chunk-O7IJP2TQ.js.map} +0 -0
  72. /package/dist/{chunk-F7A3QXCT.js.map → chunk-UOAG72NR.js.map} +0 -0
  73. /package/dist/{chunk-6ST4QV7T.js.map → chunk-VEQX2YSQ.js.map} +0 -0
  74. /package/dist/{chunk-LQZRGBN5.js.map → chunk-YKE6HJLW.js.map} +0 -0
  75. /package/dist/{source-map-uploader-NUONOEJG.js.map → source-map-uploader-U7SLSKIZ.js.map} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  _resetForTesting,
3
3
  withAsyncCausality
4
- } from "../chunk-LQZRGBN5.js";
4
+ } from "../chunk-YKE6HJLW.js";
5
5
  import "../chunk-CL3OVHPO.js";
6
6
  import "../chunk-DQ25VOKK.js";
7
- import "../chunk-7LE2O4ZJ.js";
7
+ import "../chunk-MKT54VEH.js";
8
8
  import "../chunk-NSBPE2FW.js";
9
9
  export {
10
10
  _resetForTesting,
@@ -1,8 +1,8 @@
1
- import { G as GlasstraceEnvVars, j as GlasstraceOptions, A as AnonApiKey, k as SdkInitResponse, C as CaptureConfig, l as SdkHealthReport, I as ImportGraphPayload, g as SdkDiagnosticCode } from './index.d-BQIJ5Dvc.cjs';
1
+ import { G as GlasstraceEnvVars, l as GlasstraceOptions, A as AnonApiKey, m as SdkInitResponse, C as CaptureConfig, n as SdkHealthReport, I as ImportGraphPayload, j as SdkDiagnosticCode } from './index.d-3-cJoY8y.cjs';
2
2
  import { ReadableSpan } from './export/ReadableSpan';
3
3
  import { SpanExporter } from './export/SpanExporter';
4
4
  import { ExportResult } from './ExportResult';
5
- import { a as SessionManager } from './correlation-id-CZ2bstzA.cjs';
5
+ import { a as SessionManager } from './correlation-id-CelUvw7j.cjs';
6
6
  import { SpanProcessor } from './SpanProcessor';
7
7
 
8
8
  /**
@@ -1,8 +1,8 @@
1
- import { G as GlasstraceEnvVars, j as GlasstraceOptions, A as AnonApiKey, k as SdkInitResponse, C as CaptureConfig, l as SdkHealthReport, I as ImportGraphPayload, g as SdkDiagnosticCode } from './index.d-BQIJ5Dvc.js';
1
+ import { G as GlasstraceEnvVars, l as GlasstraceOptions, A as AnonApiKey, m as SdkInitResponse, C as CaptureConfig, n as SdkHealthReport, I as ImportGraphPayload, j as SdkDiagnosticCode } from './index.d-3-cJoY8y.js';
2
2
  import { ReadableSpan } from './export/ReadableSpan';
3
3
  import { SpanExporter } from './export/SpanExporter';
4
4
  import { ExportResult } from './ExportResult';
5
- import { a as SessionManager } from './correlation-id-YcfcqOru.js';
5
+ import { a as SessionManager } from './correlation-id-B9YYmoZw.js';
6
6
  import { SpanProcessor } from './SpanProcessor';
7
7
 
8
8
  /**
@@ -5,10 +5,10 @@ import {
5
5
  isDevApiKey,
6
6
  readEnvLocalApiKey,
7
7
  writeAndFsyncTempSync
8
- } from "./chunk-F7A3QXCT.js";
8
+ } from "./chunk-UOAG72NR.js";
9
9
  import {
10
10
  AnonApiKeySchema
11
- } from "./chunk-7LE2O4ZJ.js";
11
+ } from "./chunk-MKT54VEH.js";
12
12
  import {
13
13
  NEXT_CONFIG_NAMES
14
14
  } from "./chunk-NB7GJE4S.js";
@@ -922,4 +922,4 @@ export {
922
922
  writeShutdownMarker,
923
923
  runUninit
924
924
  };
925
- //# sourceMappingURL=chunk-ZIYT2Y4B.js.map
925
+ //# sourceMappingURL=chunk-BJOZBAP7.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-DQ25VOKK.js";
8
8
  import {
9
9
  GLASSTRACE_ATTRIBUTE_NAMES
10
- } from "./chunk-7LE2O4ZJ.js";
10
+ } from "./chunk-MKT54VEH.js";
11
11
 
12
12
  // src/middleware/index.ts
13
13
  var ATTR = GLASSTRACE_ATTRIBUTE_NAMES;
@@ -136,4 +136,4 @@ export {
136
136
  _resetForTesting,
137
137
  tracedRequestMiddleware
138
138
  };
139
- //# sourceMappingURL=chunk-VMK2G6QR.js.map
139
+ //# sourceMappingURL=chunk-CN5EP25B.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DQ25VOKK.js";
4
4
  import {
5
5
  GLASSTRACE_ATTRIBUTE_NAMES
6
- } from "./chunk-7LE2O4ZJ.js";
6
+ } from "./chunk-MKT54VEH.js";
7
7
 
8
8
  // src/errors.ts
9
9
  var SdkError = class extends Error {
@@ -102,4 +102,4 @@ export {
102
102
  GlasstraceSpanProcessor,
103
103
  captureCorrelationId
104
104
  };
105
- //# sourceMappingURL=chunk-HMEHYSTS.js.map
105
+ //# sourceMappingURL=chunk-EVX6D2TX.js.map
@@ -54,7 +54,7 @@ import {
54
54
  performInit,
55
55
  recordSpansDropped,
56
56
  recordSpansExported
57
- } from "./chunk-6ST4QV7T.js";
57
+ } from "./chunk-VEQX2YSQ.js";
58
58
  import {
59
59
  isAnonymousMode,
60
60
  isProductionDisabled,
@@ -65,16 +65,21 @@ import {
65
65
  getOrCreateAnonKey,
66
66
  isSyncFsAvailable,
67
67
  readAnonKey
68
- } from "./chunk-F7A3QXCT.js";
68
+ } from "./chunk-UOAG72NR.js";
69
69
  import {
70
70
  GLASSTRACE_ATTRIBUTE_NAMES,
71
+ MAX_SIDE_EFFECT_SCALARS_PER_OPERATION,
72
+ SIDE_EFFECT_HASHED_ID_HEX_LENGTH,
73
+ SIDE_EFFECT_HASHED_ID_PREFIX,
71
74
  SIDE_EFFECT_OMISSION_REASONS,
72
75
  SIDE_EFFECT_OPERATION_KINDS,
73
76
  SIDE_EFFECT_OPERATION_PHASES,
74
77
  SIDE_EFFECT_OPERATION_STATUSES,
78
+ SIDE_EFFECT_SCALAR_PREFIX,
75
79
  deriveSessionId,
80
+ isSideEffectScalarKey,
76
81
  isSideEffectSemanticFieldKey
77
- } from "./chunk-7LE2O4ZJ.js";
82
+ } from "./chunk-MKT54VEH.js";
78
83
  import {
79
84
  isEndMarkerLine,
80
85
  parseStartMarkerLine
@@ -4401,6 +4406,7 @@ var TOKEN_REGEX = /^[A-Za-z0-9][A-Za-z0-9_.:-]*$/;
4401
4406
  var LOCALE_REGEX = /^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8}){0,3}$/;
4402
4407
  var TIMEZONE_REGEX = /^(?:UTC|GMT|[A-Za-z][A-Za-z0-9_+-]*(?:\/[A-Za-z0-9_+-]+){1,3})$/;
4403
4408
  var DIGIT_REGEX = /^[0-9]+$/;
4409
+ var BOOL_REGEX = /^(?:true|false)$/;
4404
4410
  var URL_SCHEME = /:\/\//;
4405
4411
  var URL_SCHEME_RELATIVE = /^\/\//;
4406
4412
  var EMAIL_LIKE = /[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/i;
@@ -4435,6 +4441,9 @@ function passesFieldValidator(key, value) {
4435
4441
  if (typeof key === "string" && key.endsWith("Count")) {
4436
4442
  return DIGIT_REGEX.test(value);
4437
4443
  }
4444
+ if (typeof key === "string" && key.endsWith("Holds")) {
4445
+ return BOOL_REGEX.test(value);
4446
+ }
4438
4447
  return TOKEN_REGEX.test(value);
4439
4448
  }
4440
4449
  function checkOperationLabel(value) {
@@ -4470,6 +4479,59 @@ function checkSemanticFieldValue(key, value) {
4470
4479
  }
4471
4480
  return { accepted: true, value };
4472
4481
  }
4482
+ var GTHID_STRICT_REGEX = new RegExp(
4483
+ `^${SIDE_EFFECT_HASHED_ID_PREFIX}[0-9a-f]{${SIDE_EFFECT_HASHED_ID_HEX_LENGTH}}$`
4484
+ );
4485
+ var SCALAR_EPOCH_MS_MIN = 1e12;
4486
+ function isTimestampShapedScalarKey(key) {
4487
+ return key.endsWith("Ms");
4488
+ }
4489
+ function checkScalarField(key, value, mode = "strict") {
4490
+ if (typeof key !== "string" || !isSideEffectScalarKey(key)) {
4491
+ return { accepted: false, reason: "unsupported_key" };
4492
+ }
4493
+ if (value instanceof Date) {
4494
+ return { accepted: false, reason: "raw_timestamp" };
4495
+ }
4496
+ if (key.endsWith("Id")) {
4497
+ if (typeof value !== "string") {
4498
+ return { accepted: false, reason: "unhashed_id" };
4499
+ }
4500
+ if (mode === "strict") {
4501
+ if (!GTHID_STRICT_REGEX.test(value)) {
4502
+ return { accepted: false, reason: "unhashed_id" };
4503
+ }
4504
+ return { accepted: true, value };
4505
+ }
4506
+ if (value.length === 0) {
4507
+ return { accepted: false, reason: "raw_payload" };
4508
+ }
4509
+ const unsafe = detectUnsafePattern(value);
4510
+ if (unsafe) {
4511
+ return { accepted: false, reason: unsafe };
4512
+ }
4513
+ if (value.length > MAX_SIDE_EFFECT_FIELD_VALUE_LENGTH) {
4514
+ return { accepted: false, reason: "value_too_long" };
4515
+ }
4516
+ return { accepted: true, value };
4517
+ }
4518
+ if (key.endsWith("Flag")) {
4519
+ if (typeof value !== "boolean") {
4520
+ return { accepted: false, reason: "raw_payload" };
4521
+ }
4522
+ return { accepted: true, value };
4523
+ }
4524
+ if (typeof value !== "number") {
4525
+ return { accepted: false, reason: "raw_payload" };
4526
+ }
4527
+ if (!Number.isFinite(value)) {
4528
+ return { accepted: false, reason: "non_finite" };
4529
+ }
4530
+ if (mode === "strict" && isTimestampShapedScalarKey(key) && value >= SCALAR_EPOCH_MS_MIN) {
4531
+ return { accepted: false, reason: "raw_timestamp" };
4532
+ }
4533
+ return { accepted: true, value };
4534
+ }
4473
4535
  function checkSemanticFieldKey(key) {
4474
4536
  return typeof key === "string" && isSideEffectSemanticFieldKey(key);
4475
4537
  }
@@ -4533,7 +4595,10 @@ var OMISSION_ATTRIBUTE_BY_REASON = {
4533
4595
  unsupported_key: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_OMITTED_UNSUPPORTED_KEY,
4534
4596
  value_too_long: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_OMITTED_VALUE_TOO_LONG,
4535
4597
  not_emitted: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_OMITTED_NOT_EMITTED,
4536
- capture_disabled: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_OMITTED_CAPTURE_DISABLED
4598
+ capture_disabled: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_OMITTED_CAPTURE_DISABLED,
4599
+ raw_timestamp: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_OMITTED_RAW_TIMESTAMP,
4600
+ unhashed_id: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_OMITTED_UNHASHED_ID,
4601
+ non_finite: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_OMITTED_NON_FINITE
4537
4602
  };
4538
4603
  var FIELD_ATTRIBUTE_BY_KEY = {
4539
4604
  templateKey: GLASSTRACE_ATTRIBUTE_NAMES.SIDE_EFFECT_FIELD_TEMPLATE_KEY,
@@ -4592,6 +4657,12 @@ function attachField(span, key, value) {
4592
4657
  } catch {
4593
4658
  }
4594
4659
  }
4660
+ function attachScalar(span, key, value) {
4661
+ try {
4662
+ span.setAttribute(`${SIDE_EFFECT_SCALAR_PREFIX}${key}`, value);
4663
+ } catch {
4664
+ }
4665
+ }
4595
4666
  function recordOmission(span, reason) {
4596
4667
  recordOmissionOnSpan(span, reason);
4597
4668
  }
@@ -4702,6 +4773,7 @@ function runRecordSideEffect(input) {
4702
4773
  recordOmission(outcome.span, "value_too_long");
4703
4774
  return;
4704
4775
  }
4776
+ const attachedFieldKeys = /* @__PURE__ */ new Set();
4705
4777
  const fields = candidate.fields;
4706
4778
  if (fields && typeof fields === "object") {
4707
4779
  for (const [rawKey, rawValue] of Object.entries(fields)) {
@@ -4720,6 +4792,56 @@ function runRecordSideEffect(input) {
4720
4792
  } catch {
4721
4793
  }
4722
4794
  attachField(outcome.span, rawKey, valueOutcome.value);
4795
+ attachedFieldKeys.add(rawKey);
4796
+ }
4797
+ }
4798
+ const relations = candidate.relations;
4799
+ if (relations && typeof relations === "object") {
4800
+ for (const [rawKey, rawValue] of Object.entries(relations)) {
4801
+ if (attachedFieldKeys.has(rawKey)) {
4802
+ recordOmission(outcome.span, "unsupported_key");
4803
+ continue;
4804
+ }
4805
+ if (!rawKey.endsWith("Holds") || !checkSemanticFieldKey(rawKey)) {
4806
+ recordOmission(outcome.span, "unsupported_key");
4807
+ continue;
4808
+ }
4809
+ if (typeof rawValue !== "boolean") {
4810
+ recordOmission(outcome.span, "raw_payload");
4811
+ continue;
4812
+ }
4813
+ const valueOutcome = checkSemanticFieldValue(
4814
+ rawKey,
4815
+ rawValue ? "true" : "false"
4816
+ );
4817
+ if (!valueOutcome.accepted) {
4818
+ recordOmission(outcome.span, valueOutcome.reason);
4819
+ continue;
4820
+ }
4821
+ try {
4822
+ maybeWarnMixedCasing(rawKey, valueOutcome.value);
4823
+ maybeWarnPatternKeyProliferation(rawKey);
4824
+ } catch {
4825
+ }
4826
+ attachField(outcome.span, rawKey, valueOutcome.value);
4827
+ attachedFieldKeys.add(rawKey);
4828
+ }
4829
+ }
4830
+ const scalars = candidate.scalars;
4831
+ if (scalars && typeof scalars === "object") {
4832
+ let scalarCount = 0;
4833
+ for (const [rawKey, rawValue] of Object.entries(scalars)) {
4834
+ if (scalarCount >= MAX_SIDE_EFFECT_SCALARS_PER_OPERATION) {
4835
+ recordOmission(outcome.span, "value_too_long");
4836
+ break;
4837
+ }
4838
+ scalarCount += 1;
4839
+ const scalarOutcome = checkScalarField(rawKey, rawValue);
4840
+ if (!scalarOutcome.accepted) {
4841
+ recordOmission(outcome.span, scalarOutcome.reason);
4842
+ continue;
4843
+ }
4844
+ attachScalar(outcome.span, rawKey, scalarOutcome.value);
4723
4845
  }
4724
4846
  }
4725
4847
  }
@@ -4996,11 +5118,11 @@ function registerGlasstrace(options) {
4996
5118
  setCoreState(CoreState.REGISTERING);
4997
5119
  maybeWarnStaleAgentInstructions({
4998
5120
  projectRoot: process.cwd(),
4999
- sdkVersion: "1.15.1"
5121
+ sdkVersion: "1.17.0"
5000
5122
  });
5001
5123
  startRuntimeStateWriter({
5002
5124
  projectRoot: process.cwd(),
5003
- sdkVersion: "1.15.1"
5125
+ sdkVersion: "1.17.0"
5004
5126
  });
5005
5127
  const config = resolveConfig(options);
5006
5128
  setSideEffectVerboseFlag(config.verbose);
@@ -5168,8 +5290,8 @@ async function backgroundInit(config, anonKeyForInit, generation) {
5168
5290
  if (config.verbose) {
5169
5291
  console.info("[glasstrace] Background init firing.");
5170
5292
  }
5171
- const healthReport = collectHealthReport("1.15.1");
5172
- const initResult = await performInit(config, anonKeyForInit, "1.15.1", healthReport);
5293
+ const healthReport = collectHealthReport("1.17.0");
5294
+ const initResult = await performInit(config, anonKeyForInit, "1.17.0", healthReport);
5173
5295
  if (generation !== registrationGeneration) return;
5174
5296
  const currentState = getCoreState();
5175
5297
  if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
@@ -5192,7 +5314,7 @@ async function backgroundInit(config, anonKeyForInit, generation) {
5192
5314
  }
5193
5315
  maybeInstallConsoleCapture();
5194
5316
  if (didLastInitSucceed()) {
5195
- startHeartbeat(config, anonKeyForInit, "1.15.1", generation, (newApiKey, accountId) => {
5317
+ startHeartbeat(config, anonKeyForInit, "1.17.0", generation, (newApiKey, accountId) => {
5196
5318
  setAuthState(AuthState.CLAIMING);
5197
5319
  emitLifecycleEvent("auth:claim_started", { accountId });
5198
5320
  setResolvedApiKey(newApiKey);
@@ -5489,7 +5611,7 @@ async function handleSourceMapUpload(distDir) {
5489
5611
  );
5490
5612
  return;
5491
5613
  }
5492
- const { discoverSourceMapFiles, computeBuildHash, uploadSourceMaps } = await import("./source-map-uploader-NUONOEJG.js");
5614
+ const { discoverSourceMapFiles, computeBuildHash, uploadSourceMaps } = await import("./source-map-uploader-U7SLSKIZ.js");
5493
5615
  const files = await discoverSourceMapFiles(distDir);
5494
5616
  if (files.length === 0) {
5495
5617
  console.info("[glasstrace] No source map files found. Skipping upload.");
@@ -5590,4 +5712,4 @@ export {
5590
5712
  withGlasstraceConfig,
5591
5713
  captureError
5592
5714
  };
5593
- //# sourceMappingURL=chunk-T4ETJJSK.js.map
5715
+ //# sourceMappingURL=chunk-F2IPBTDJ.js.map