bitfab 0.58.1 → 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.
- package/dist/{chunk-756R63DD.js → chunk-5JYY2MMV.js} +24 -6
- package/dist/chunk-5JYY2MMV.js.map +1 -0
- package/dist/{chunk-EQLQVY2O.js → chunk-LZN66ADL.js} +2 -2
- package/dist/{chunk-EQLQVY2O.js.map → chunk-LZN66ADL.js.map} +1 -1
- package/dist/{chunk-UETYTJEO.js → chunk-PHYROCVC.js} +2 -2
- package/dist/{chunk-UETYTJEO.js.map → chunk-PHYROCVC.js.map} +1 -1
- package/dist/{chunk-4GTG3VPY.js → chunk-Q4UM7ILD.js} +2 -2
- package/dist/{chunk-QSLJE2DR.js → chunk-TTVWUP6D.js} +3 -3
- package/dist/{http-LAXF2MGX.js → http-MBEZN2GX.js} +2 -2
- package/dist/{http-7BKMLT23.js → http-T3PDEXD6.js} +2 -2
- package/dist/index.cjs +20 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -2
- package/dist/index.d.ts +30 -2
- package/dist/index.js +5 -3
- package/dist/node.cjs +20 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +5 -3
- package/dist/node.js.map +1 -1
- package/dist/{replay-FMSQGE2H.js → replay-KVUPPFKI.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-756R63DD.js.map +0 -1
- /package/dist/{chunk-4GTG3VPY.js.map → chunk-Q4UM7ILD.js.map} +0 -0
- /package/dist/{chunk-QSLJE2DR.js.map → chunk-TTVWUP6D.js.map} +0 -0
- /package/dist/{http-7BKMLT23.js.map → http-MBEZN2GX.js.map} +0 -0
- /package/dist/{http-LAXF2MGX.js.map → http-T3PDEXD6.js.map} +0 -0
- /package/dist/{replay-FMSQGE2H.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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
6440
|
+
//# sourceMappingURL=chunk-5JYY2MMV.js.map
|