@bitfab/sdk 0.64.26 → 0.64.27

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 (32) hide show
  1. package/dist/{chunk-W6I5QA62.js → chunk-AXFICSPS.js} +4 -4
  2. package/dist/{chunk-NK5RZ3UH.js → chunk-DWQ36HBO.js} +2 -2
  3. package/dist/{chunk-NK5RZ3UH.js.map → chunk-DWQ36HBO.js.map} +1 -1
  4. package/dist/{chunk-PPNFMVOH.js → chunk-FOAYPDCS.js} +2 -2
  5. package/dist/{chunk-IHQKJWNN.js → chunk-HTRMFABJ.js} +2 -2
  6. package/dist/{chunk-IHQKJWNN.js.map → chunk-HTRMFABJ.js.map} +1 -1
  7. package/dist/{chunk-FSVGIKQT.js → chunk-MROIROUR.js} +2 -2
  8. package/dist/{chunk-26WDOYFS.js → chunk-OYTAKT5B.js} +6 -6
  9. package/dist/chunk-OYTAKT5B.js.map +1 -0
  10. package/dist/{http-3WBKIQI4.js → http-2ZLYPJ27.js} +2 -2
  11. package/dist/{http-BK6UJNXI.js → http-DUDJA3SE.js} +2 -2
  12. package/dist/index.cjs +1 -1
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +11 -1
  15. package/dist/index.d.ts +11 -1
  16. package/dist/index.js +3 -3
  17. package/dist/node.cjs +1 -1
  18. package/dist/node.cjs.map +1 -1
  19. package/dist/node.js +3 -3
  20. package/dist/{replay-ZTEDZUSG.js → replay-2S663YTX.js} +3 -3
  21. package/dist/{replay-OEANLAUE.js → replay-JYRJ443I.js} +3 -3
  22. package/dist/replayCli.js +3 -3
  23. package/dist/seedCli.js +3 -3
  24. package/package.json +1 -1
  25. package/dist/chunk-26WDOYFS.js.map +0 -1
  26. /package/dist/{chunk-W6I5QA62.js.map → chunk-AXFICSPS.js.map} +0 -0
  27. /package/dist/{chunk-PPNFMVOH.js.map → chunk-FOAYPDCS.js.map} +0 -0
  28. /package/dist/{chunk-FSVGIKQT.js.map → chunk-MROIROUR.js.map} +0 -0
  29. /package/dist/{http-3WBKIQI4.js.map → http-2ZLYPJ27.js.map} +0 -0
  30. /package/dist/{http-BK6UJNXI.js.map → http-DUDJA3SE.js.map} +0 -0
  31. /package/dist/{replay-OEANLAUE.js.map → replay-2S663YTX.js.map} +0 -0
  32. /package/dist/{replay-ZTEDZUSG.js.map → replay-JYRJ443I.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -1569,6 +1569,8 @@ type TraceSearchFilters = {
1569
1569
  callerMetadata?: Record<string, string>;
1570
1570
  name?: string;
1571
1571
  nameContains?: string;
1572
+ /** Only the replay traces this experiment produced. */
1573
+ experimentId?: string;
1572
1574
  };
1573
1575
  type TraceSearchParams = TraceSearchFilters & ({
1574
1576
  callerMetadata: Record<string, string>;
@@ -1576,6 +1578,8 @@ type TraceSearchParams = TraceSearchFilters & ({
1576
1578
  name: string;
1577
1579
  } | {
1578
1580
  nameContains: string;
1581
+ } | {
1582
+ experimentId: string;
1579
1583
  }) & {
1580
1584
  traceFunctionKey?: string;
1581
1585
  cursor?: string | null;
@@ -1589,6 +1593,12 @@ type TraceSearchResult = {
1589
1593
  status: "pending" | "completed" | "failed" | "dropped";
1590
1594
  createdAt: string;
1591
1595
  callerMetadata: Record<string, string>;
1596
+ /** The experiment that produced this trace, or null for a captured trace. */
1597
+ experimentId: string | null;
1598
+ /** Wall-clock time of the whole trace, or null when it has no end time. */
1599
+ durationMs: number | null;
1600
+ /** Token usage summed across the trace, or null when none was recorded. */
1601
+ tokens: TokenUsage | null;
1592
1602
  }>;
1593
1603
  nextCursor: string | null;
1594
1604
  hasMore: boolean;
@@ -4212,7 +4222,7 @@ interface CommitRef {
4212
4222
  /**
4213
4223
  * SDK version from package.json (injected at build time)
4214
4224
  */
4215
- declare const __version__ = "0.64.26";
4225
+ declare const __version__ = "0.64.27";
4216
4226
 
4217
4227
  /**
4218
4228
  * Constants for the Bitfab SDK.
package/dist/index.d.ts CHANGED
@@ -1569,6 +1569,8 @@ type TraceSearchFilters = {
1569
1569
  callerMetadata?: Record<string, string>;
1570
1570
  name?: string;
1571
1571
  nameContains?: string;
1572
+ /** Only the replay traces this experiment produced. */
1573
+ experimentId?: string;
1572
1574
  };
1573
1575
  type TraceSearchParams = TraceSearchFilters & ({
1574
1576
  callerMetadata: Record<string, string>;
@@ -1576,6 +1578,8 @@ type TraceSearchParams = TraceSearchFilters & ({
1576
1578
  name: string;
1577
1579
  } | {
1578
1580
  nameContains: string;
1581
+ } | {
1582
+ experimentId: string;
1579
1583
  }) & {
1580
1584
  traceFunctionKey?: string;
1581
1585
  cursor?: string | null;
@@ -1589,6 +1593,12 @@ type TraceSearchResult = {
1589
1593
  status: "pending" | "completed" | "failed" | "dropped";
1590
1594
  createdAt: string;
1591
1595
  callerMetadata: Record<string, string>;
1596
+ /** The experiment that produced this trace, or null for a captured trace. */
1597
+ experimentId: string | null;
1598
+ /** Wall-clock time of the whole trace, or null when it has no end time. */
1599
+ durationMs: number | null;
1600
+ /** Token usage summed across the trace, or null when none was recorded. */
1601
+ tokens: TokenUsage | null;
1592
1602
  }>;
1593
1603
  nextCursor: string | null;
1594
1604
  hasMore: boolean;
@@ -4212,7 +4222,7 @@ interface CommitRef {
4212
4222
  /**
4213
4223
  * SDK version from package.json (injected at build time)
4214
4224
  */
4215
- declare const __version__ = "0.64.26";
4225
+ declare const __version__ = "0.64.27";
4216
4226
 
4217
4227
  /**
4218
4228
  * Constants for the Bitfab SDK.
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  getCurrentTrace,
29
29
  reseedFromRegistry,
30
30
  seedFromRegistry
31
- } from "./chunk-26WDOYFS.js";
31
+ } from "./chunk-OYTAKT5B.js";
32
32
  import "./chunk-YWXQM6J3.js";
33
33
  import {
34
34
  BITFAB_PROGRESS_PREFIX,
@@ -37,7 +37,7 @@ import {
37
37
  ReplayError,
38
38
  reportReplayProgress,
39
39
  serializeReplayResult
40
- } from "./chunk-FSVGIKQT.js";
40
+ } from "./chunk-MROIROUR.js";
41
41
  import {
42
42
  BitfabError,
43
43
  DEFAULT_SERVICE_URL,
@@ -45,7 +45,7 @@ import {
45
45
  MixedTracingError,
46
46
  __version__,
47
47
  flushTraces
48
- } from "./chunk-IHQKJWNN.js";
48
+ } from "./chunk-HTRMFABJ.js";
49
49
  import "./chunk-MT36GJMW.js";
50
50
  export {
51
51
  AssertionCategoriesClient,
package/dist/node.cjs CHANGED
@@ -88,7 +88,7 @@ var __version__, __packageName__;
88
88
  var init_version_generated = __esm({
89
89
  "src/version.generated.ts"() {
90
90
  "use strict";
91
- __version__ = "0.64.26";
91
+ __version__ = "0.64.27";
92
92
  __packageName__ = "@bitfab/sdk";
93
93
  }
94
94
  });