@bitfab/sdk 0.61.5 → 0.62.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.
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-ZPVWVXWC.js";
10
+ } from "./chunk-TI7NSDRZ.js";
11
11
  import "./chunk-BAOIRE5T.js";
12
12
  export {
13
13
  BitfabError,
@@ -19,4 +19,4 @@ export {
19
19
  parseRetryAfterMs,
20
20
  serializePayloadBody
21
21
  };
22
- //# sourceMappingURL=http-JPHWWKL5.js.map
22
+ //# sourceMappingURL=http-7A3HIWJE.js.map
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-2ZUNCC2Q.js";
10
+ } from "./chunk-B6GT4MMS.js";
11
11
  export {
12
12
  BitfabError,
13
13
  HttpClient,
@@ -18,4 +18,4 @@ export {
18
18
  parseRetryAfterMs,
19
19
  serializePayloadBody
20
20
  };
21
- //# sourceMappingURL=http-VKYDN6PO.js.map
21
+ //# sourceMappingURL=http-AWAVEHV5.js.map
package/dist/index.cjs CHANGED
@@ -42,7 +42,7 @@ var __version__, __packageName__;
42
42
  var init_version_generated = __esm({
43
43
  "src/version.generated.ts"() {
44
44
  "use strict";
45
- __version__ = "0.61.5";
45
+ __version__ = "0.62.0";
46
46
  __packageName__ = "@bitfab/sdk";
47
47
  }
48
48
  });
@@ -4127,8 +4127,6 @@ function carriedOverReplayItem(finished) {
4127
4127
  model: null,
4128
4128
  dbSnapshotRef: null,
4129
4129
  dbBranchTimings: null,
4130
- traceOutline: null,
4131
- originalTraceOutline: null,
4132
4130
  carriedOver: true
4133
4131
  };
4134
4132
  }
@@ -4421,9 +4419,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
4421
4419
  tokens: null,
4422
4420
  model: serverItem.originalModel ?? serverItem.model ?? null,
4423
4421
  dbSnapshotRef: dbSnapshotRef ?? null,
4424
- dbBranchTimings: dbBranchTimings ?? null,
4425
- traceOutline: null,
4426
- originalTraceOutline: null
4422
+ dbBranchTimings: dbBranchTimings ?? null
4427
4423
  };
4428
4424
  }
4429
4425
  try {
@@ -4511,9 +4507,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
4511
4507
  tokens: null,
4512
4508
  model: originalModel,
4513
4509
  dbSnapshotRef: dbSnapshotRef ?? null,
4514
- dbBranchTimings: dbBranchTimings ?? null,
4515
- traceOutline: null,
4516
- originalTraceOutline: null
4510
+ dbBranchTimings: dbBranchTimings ?? null
4517
4511
  };
4518
4512
  }
4519
4513
  async function waitForReplayPersistence(httpClient, experimentId, replayedTraceIds) {
@@ -4556,6 +4550,7 @@ async function waitForReplayPersistence(httpClient, experimentId, replayedTraceI
4556
4550
  expectedSpanCounts
4557
4551
  );
4558
4552
  const ready = status.traceIds ?? {};
4553
+ Object.assign(readBackTraceIds, ready);
4559
4554
  missing = Object.keys(expectedSpanCounts).filter(
4560
4555
  (traceId) => ready[traceId] === void 0
4561
4556
  ).length;
@@ -4880,9 +4875,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
4880
4875
  tokens: item.tokens,
4881
4876
  model: item.model,
4882
4877
  dbSnapshotRef: item.dbSnapshotRef,
4883
- dbBranchTimings: item.dbBranchTimings,
4884
- traceOutline: item.traceOutline,
4885
- originalTraceOutline: item.originalTraceOutline
4878
+ dbBranchTimings: item.dbBranchTimings
4886
4879
  }
4887
4880
  });
4888
4881
  } catch {
@@ -4977,9 +4970,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
4977
4970
  }
4978
4971
  if (mapped !== void 0) {
4979
4972
  item.tokens = replayTokens?.[mapped] ?? null;
4980
- item.traceOutline = completeResult.traceOutlines?.[mapped] ?? null;
4981
4973
  }
4982
- item.originalTraceOutline = completeResult.originalTraceOutlines?.[item.originalTraceId] ?? null;
4983
4974
  }
4984
4975
  if (completedCount > 0 && missing.length === completedCount) {
4985
4976
  const serverCount = completeResult.traceCount !== void 0 ? ` The server persisted ${completeResult.traceCount} trace(s) for this run.` : "";