bitfab 0.58.0 → 0.58.2

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 (31) hide show
  1. package/dist/{chunk-RLBJUZDC.js → chunk-5JYY2MMV.js} +24 -6
  2. package/dist/chunk-5JYY2MMV.js.map +1 -0
  3. package/dist/{chunk-D6WGJZWM.js → chunk-LZN66ADL.js} +3 -3
  4. package/dist/{chunk-D6WGJZWM.js.map → chunk-LZN66ADL.js.map} +1 -1
  5. package/dist/{chunk-SKOFROXF.js → chunk-PHYROCVC.js} +3 -3
  6. package/dist/{chunk-SKOFROXF.js.map → chunk-PHYROCVC.js.map} +1 -1
  7. package/dist/{chunk-3GFX56CU.js → chunk-Q4UM7ILD.js} +2 -2
  8. package/dist/{chunk-BU5DXLSB.js → chunk-TTVWUP6D.js} +3 -3
  9. package/dist/{http-QLUKFCM5.js → http-MBEZN2GX.js} +2 -2
  10. package/dist/{http-M46BKIVV.js → http-T3PDEXD6.js} +2 -2
  11. package/dist/index.cjs +21 -2
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +30 -2
  14. package/dist/index.d.ts +30 -2
  15. package/dist/index.js +5 -3
  16. package/dist/node.cjs +21 -2
  17. package/dist/node.cjs.map +1 -1
  18. package/dist/node.d.cts +1 -1
  19. package/dist/node.d.ts +1 -1
  20. package/dist/node.js +5 -3
  21. package/dist/node.js.map +1 -1
  22. package/dist/{replay-BUVA7EM5.js → replay-KVUPPFKI.js} +3 -3
  23. package/dist/replayCli.js +2 -2
  24. package/dist/seedCli.js +2 -2
  25. package/package.json +1 -1
  26. package/dist/chunk-RLBJUZDC.js.map +0 -1
  27. /package/dist/{chunk-3GFX56CU.js.map → chunk-Q4UM7ILD.js.map} +0 -0
  28. /package/dist/{chunk-BU5DXLSB.js.map → chunk-TTVWUP6D.js.map} +0 -0
  29. /package/dist/{http-M46BKIVV.js.map → http-MBEZN2GX.js.map} +0 -0
  30. /package/dist/{http-QLUKFCM5.js.map → http-T3PDEXD6.js.map} +0 -0
  31. /package/dist/{replay-BUVA7EM5.js.map → replay-KVUPPFKI.js.map} +0 -0
@@ -17,7 +17,7 @@ import {
17
17
  serializeValue,
18
18
  toJsonSafe,
19
19
  toJsonSafeReport
20
- } from "./chunk-3GFX56CU.js";
20
+ } from "./chunk-Q4UM7ILD.js";
21
21
  import {
22
22
  BitfabError,
23
23
  CONTENT_OFF_KEY,
@@ -36,7 +36,7 @@ import {
36
36
  recordCallerTraceMetadata,
37
37
  retireTraceMetadata,
38
38
  warnOnce
39
- } from "./chunk-D6WGJZWM.js";
39
+ } from "./chunk-LZN66ADL.js";
40
40
  import {
41
41
  __privateAdd,
42
42
  __privateGet,
@@ -2547,6 +2547,22 @@ function openAiAgentsParentSpanId(bitfabTraceId, enclosingSpanIds) {
2547
2547
  return void 0;
2548
2548
  }
2549
2549
 
2550
+ // src/organizationMembers.ts
2551
+ var MEMBERS_PATH = "/api/sdk/organizationMembers";
2552
+ var OrganizationMembersClient = class {
2553
+ constructor(httpClient) {
2554
+ this.httpClient = httpClient;
2555
+ }
2556
+ /**
2557
+ * List the organization's members, ordered by name. Read it to find the
2558
+ * address to pass as an assertion's `assigneeEmail`.
2559
+ */
2560
+ async list() {
2561
+ const response = await this.httpClient.get(MEMBERS_PATH);
2562
+ return response.members;
2563
+ }
2564
+ };
2565
+
2550
2566
  // src/replayBranch.ts
2551
2567
  var _url, _context;
2552
2568
  var ReplayBranch = class {
@@ -4187,6 +4203,7 @@ var Bitfab = class {
4187
4203
  }
4188
4204
  this.datasets = new DatasetsClient(this.httpClient);
4189
4205
  this.assertionCategories = new AssertionCategoriesClient(this.httpClient);
4206
+ this.organizationMembers = new OrganizationMembersClient(this.httpClient);
4190
4207
  this.traces = new TracesClient(this.httpClient);
4191
4208
  this.labels = new LabelsClient(this.httpClient);
4192
4209
  this.graders = new GradersClient(this.httpClient);
@@ -6001,7 +6018,7 @@ var Bitfab = class {
6001
6018
  await runWithSeedContext({ traceId }, async () => target(...args));
6002
6019
  } finally {
6003
6020
  try {
6004
- const { flushTraces: flushTraces2 } = await import("./http-M46BKIVV.js");
6021
+ const { flushTraces: flushTraces2 } = await import("./http-T3PDEXD6.js");
6005
6022
  await flushTraces2(3e4);
6006
6023
  } finally {
6007
6024
  unrecorded = activeTraceStates.delete(traceId);
@@ -6060,7 +6077,7 @@ var Bitfab = class {
6060
6077
  `Function is wrapped with trace function key '${wrappedKey}' but replay was called with '${traceFunctionKey}'. Pass matching keys, or pass the unwrapped function to replay it under the explicit key.`
6061
6078
  );
6062
6079
  }
6063
- const { replay: doReplay } = await import("./replay-BUVA7EM5.js");
6080
+ const { replay: doReplay } = await import("./replay-KVUPPFKI.js");
6064
6081
  return doReplay(
6065
6082
  this.httpClient,
6066
6083
  this.serviceUrl,
@@ -6380,7 +6397,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
6380
6397
  sessionId: seedCase.sessionId
6381
6398
  })
6382
6399
  );
6383
- const { flushTraces: flushTraces2 } = await import("./http-M46BKIVV.js");
6400
+ const { flushTraces: flushTraces2 } = await import("./http-T3PDEXD6.js");
6384
6401
  await flushTraces2(3e4);
6385
6402
  return { pipeline, traceFunctionKey, traceIds };
6386
6403
  }
@@ -6405,6 +6422,7 @@ export {
6405
6422
  BitfabLangGraphCallbackHandler,
6406
6423
  BitfabLangGraphIntegration,
6407
6424
  BitfabOpenAIAgentHandler,
6425
+ OrganizationMembersClient,
6408
6426
  BitfabRivetIntegration,
6409
6427
  TracesClient,
6410
6428
  BitfabOpenAITracingProcessor,
@@ -6419,4 +6437,4 @@ export {
6419
6437
  reseedFromRegistry,
6420
6438
  seedFromRegistry
6421
6439
  };
6422
- //# sourceMappingURL=chunk-RLBJUZDC.js.map
6440
+ //# sourceMappingURL=chunk-5JYY2MMV.js.map