bitfab 0.27.0 → 0.27.1

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/dist/index.d.cts CHANGED
@@ -594,6 +594,8 @@ interface ReplayOptions {
594
594
  limit?: number;
595
595
  /** Optional list of specific trace IDs to replay (max 100). */
596
596
  traceIds?: string[];
597
+ /** Optional display name for the resulting experiment/test run. */
598
+ name?: string;
597
599
  /** Maximum number of items to process in parallel. Set to 1 for sequential. Default 10. */
598
600
  maxConcurrency?: number;
599
601
  /**
@@ -1528,7 +1530,7 @@ declare class BitfabFunction {
1528
1530
  /**
1529
1531
  * SDK version from package.json (injected at build time)
1530
1532
  */
1531
- declare const __version__ = "0.27.0";
1533
+ declare const __version__ = "0.27.1";
1532
1534
 
1533
1535
  /**
1534
1536
  * Constants for the Bitfab SDK.
package/dist/index.d.ts CHANGED
@@ -594,6 +594,8 @@ interface ReplayOptions {
594
594
  limit?: number;
595
595
  /** Optional list of specific trace IDs to replay (max 100). */
596
596
  traceIds?: string[];
597
+ /** Optional display name for the resulting experiment/test run. */
598
+ name?: string;
597
599
  /** Maximum number of items to process in parallel. Set to 1 for sequential. Default 10. */
598
600
  maxConcurrency?: number;
599
601
  /**
@@ -1528,7 +1530,7 @@ declare class BitfabFunction {
1528
1530
  /**
1529
1531
  * SDK version from package.json (injected at build time)
1530
1532
  */
1531
- declare const __version__ = "0.27.0";
1533
+ declare const __version__ = "0.27.1";
1532
1534
 
1533
1535
  /**
1534
1536
  * Constants for the Bitfab SDK.
package/dist/index.js CHANGED
@@ -23,12 +23,12 @@ import {
23
23
  flushTraces,
24
24
  getCurrentSpan,
25
25
  getCurrentTrace
26
- } from "./chunk-PFV4MPNS.js";
26
+ } from "./chunk-H5QQ54UI.js";
27
27
  import {
28
28
  BITFAB_PROGRESS_PREFIX,
29
29
  BitfabError,
30
30
  reportReplayProgress
31
- } from "./chunk-RNTDM6WM.js";
31
+ } from "./chunk-MD4XQGAF.js";
32
32
  export {
33
33
  BITFAB_PROGRESS_PREFIX,
34
34
  Bitfab,
package/dist/node.cjs CHANGED
@@ -508,6 +508,7 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options) {
508
508
  // the count), so it's omitted from the request entirely.
509
509
  options?.traceIds ? void 0 : options?.limit ?? 5,
510
510
  options?.traceIds,
511
+ options?.name,
511
512
  options?.codeChangeDescription,
512
513
  options?.codeChangeFiles,
513
514
  options?.environment !== void 0,
@@ -658,7 +659,7 @@ registerAsyncLocalStorageClass(
658
659
  );
659
660
 
660
661
  // src/version.generated.ts
661
- var __version__ = "0.27.0";
662
+ var __version__ = "0.27.1";
662
663
 
663
664
  // src/constants.ts
664
665
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";
@@ -966,7 +967,7 @@ var HttpClient = class {
966
967
  * Start a replay session by fetching historical traces.
967
968
  * Blocking call — creates a test run and returns lightweight item references.
968
969
  */
969
- async startReplay(traceFunctionKey, limit, traceIds, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId) {
970
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId) {
970
971
  const payload = { traceFunctionKey };
971
972
  if (limit !== void 0) {
972
973
  payload.limit = limit;
@@ -974,6 +975,9 @@ var HttpClient = class {
974
975
  if (traceIds) {
975
976
  payload.traceIds = traceIds;
976
977
  }
978
+ if (name !== void 0) {
979
+ payload.name = name;
980
+ }
977
981
  if (codeChangeDescription !== void 0) {
978
982
  payload.codeChangeDescription = codeChangeDescription;
979
983
  }