bitfab 0.58.1 → 0.58.3
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-34VY4J27.js} +24 -6
- package/dist/chunk-34VY4J27.js.map +1 -0
- package/dist/{chunk-EQLQVY2O.js → chunk-EIWNY3FF.js} +6 -3
- package/dist/{chunk-EQLQVY2O.js.map → chunk-EIWNY3FF.js.map} +1 -1
- package/dist/{chunk-4GTG3VPY.js → chunk-HJLWJ3L2.js} +4 -3
- package/dist/chunk-HJLWJ3L2.js.map +1 -0
- package/dist/{chunk-QSLJE2DR.js → chunk-HNUEEGIB.js} +3 -3
- package/dist/chunk-HNUEEGIB.js.map +1 -0
- package/dist/{chunk-UETYTJEO.js → chunk-YWWDW5FX.js} +6 -3
- package/dist/{chunk-UETYTJEO.js.map → chunk-YWWDW5FX.js.map} +1 -1
- package/dist/{http-LAXF2MGX.js → http-Q75A3OKB.js} +2 -2
- package/dist/{http-7BKMLT23.js → http-XH36DD6T.js} +2 -2
- package/dist/index.cjs +26 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -5
- package/dist/index.d.ts +40 -5
- package/dist/index.js +5 -3
- package/dist/node.cjs +26 -3
- 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-QN6M3Q6H.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-4GTG3VPY.js.map +0 -1
- package/dist/chunk-756R63DD.js.map +0 -1
- package/dist/chunk-QSLJE2DR.js.map +0 -1
- /package/dist/{http-7BKMLT23.js.map → http-Q75A3OKB.js.map} +0 -0
- /package/dist/{http-LAXF2MGX.js.map → http-XH36DD6T.js.map} +0 -0
- /package/dist/{replay-FMSQGE2H.js.map → replay-QN6M3Q6H.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YWWDW5FX.js";
|
|
10
10
|
export {
|
|
11
11
|
BitfabError,
|
|
12
12
|
HttpClient,
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
parseRetryAfterMs,
|
|
17
17
|
serializePayloadBody
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=http-
|
|
19
|
+
//# sourceMappingURL=http-Q75A3OKB.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EIWNY3FF.js";
|
|
10
10
|
import "./chunk-VCRFFCLY.js";
|
|
11
11
|
export {
|
|
12
12
|
BitfabError,
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
parseRetryAfterMs,
|
|
18
18
|
serializePayloadBody
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=http-
|
|
20
|
+
//# sourceMappingURL=http-XH36DD6T.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -51,7 +51,7 @@ var __version__, __packageName__;
|
|
|
51
51
|
var init_version_generated = __esm({
|
|
52
52
|
"src/version.generated.ts"() {
|
|
53
53
|
"use strict";
|
|
54
|
-
__version__ = "0.58.
|
|
54
|
+
__version__ = "0.58.3";
|
|
55
55
|
__packageName__ = "bitfab";
|
|
56
56
|
}
|
|
57
57
|
});
|
|
@@ -2887,7 +2887,7 @@ var init_http = __esm({
|
|
|
2887
2887
|
* Start a replay session by fetching historical traces.
|
|
2888
2888
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
2889
2889
|
*/
|
|
2890
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
|
|
2890
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, judgeAssertions) {
|
|
2891
2891
|
const payload = { traceFunctionKey };
|
|
2892
2892
|
if (limit !== void 0) {
|
|
2893
2893
|
payload.limit = limit;
|
|
@@ -2933,6 +2933,9 @@ var init_http = __esm({
|
|
|
2933
2933
|
if (onlyWithAssertions) {
|
|
2934
2934
|
payload.onlyWithAssertions = true;
|
|
2935
2935
|
}
|
|
2936
|
+
if (judgeAssertions) {
|
|
2937
|
+
payload.judgeAssertions = true;
|
|
2938
|
+
}
|
|
2936
2939
|
const git = await resolvedGitState();
|
|
2937
2940
|
if (git && !isEmptyGitState(git)) {
|
|
2938
2941
|
payload.git = git;
|
|
@@ -4090,7 +4093,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
4090
4093
|
resolveDbBranchSettings(options?.dbBranch),
|
|
4091
4094
|
attempts,
|
|
4092
4095
|
options?.adaptInputs !== void 0,
|
|
4093
|
-
options?.onlyWithAssertions
|
|
4096
|
+
options?.onlyWithAssertions,
|
|
4097
|
+
options?.judgeAssertions
|
|
4094
4098
|
);
|
|
4095
4099
|
if (serverItems.length === 0) {
|
|
4096
4100
|
try {
|
|
@@ -4415,6 +4419,7 @@ __export(index_exports, {
|
|
|
4415
4419
|
LabelsClient: () => LabelsClient,
|
|
4416
4420
|
MixedTracingError: () => MixedTracingError,
|
|
4417
4421
|
NO_MOCK_OVERRIDE: () => NO_MOCK_OVERRIDE,
|
|
4422
|
+
OrganizationMembersClient: () => OrganizationMembersClient,
|
|
4418
4423
|
ReplayError: () => ReplayError,
|
|
4419
4424
|
SUPPORTED_PROVIDERS: () => SUPPORTED_PROVIDERS,
|
|
4420
4425
|
TracesClient: () => TracesClient,
|
|
@@ -7118,6 +7123,22 @@ function openAiAgentsParentSpanId(bitfabTraceId, enclosingSpanIds) {
|
|
|
7118
7123
|
return void 0;
|
|
7119
7124
|
}
|
|
7120
7125
|
|
|
7126
|
+
// src/organizationMembers.ts
|
|
7127
|
+
var MEMBERS_PATH = "/api/sdk/organizationMembers";
|
|
7128
|
+
var OrganizationMembersClient = class {
|
|
7129
|
+
constructor(httpClient) {
|
|
7130
|
+
this.httpClient = httpClient;
|
|
7131
|
+
}
|
|
7132
|
+
/**
|
|
7133
|
+
* List the organization's members, ordered by name. Read it to find the
|
|
7134
|
+
* address to pass as an assertion's `assigneeEmail`.
|
|
7135
|
+
*/
|
|
7136
|
+
async list() {
|
|
7137
|
+
const response = await this.httpClient.get(MEMBERS_PATH);
|
|
7138
|
+
return response.members;
|
|
7139
|
+
}
|
|
7140
|
+
};
|
|
7141
|
+
|
|
7121
7142
|
// src/client.ts
|
|
7122
7143
|
init_randomUuid();
|
|
7123
7144
|
init_replay();
|
|
@@ -8783,6 +8804,7 @@ var Bitfab = class {
|
|
|
8783
8804
|
}
|
|
8784
8805
|
this.datasets = new DatasetsClient(this.httpClient);
|
|
8785
8806
|
this.assertionCategories = new AssertionCategoriesClient(this.httpClient);
|
|
8807
|
+
this.organizationMembers = new OrganizationMembersClient(this.httpClient);
|
|
8786
8808
|
this.traces = new TracesClient(this.httpClient);
|
|
8787
8809
|
this.labels = new LabelsClient(this.httpClient);
|
|
8788
8810
|
this.graders = new GradersClient(this.httpClient);
|
|
@@ -11023,6 +11045,7 @@ function resolveTraceFunctionKey(registration) {
|
|
|
11023
11045
|
LabelsClient,
|
|
11024
11046
|
MixedTracingError,
|
|
11025
11047
|
NO_MOCK_OVERRIDE,
|
|
11048
|
+
OrganizationMembersClient,
|
|
11026
11049
|
ReplayError,
|
|
11027
11050
|
SUPPORTED_PROVIDERS,
|
|
11028
11051
|
TracesClient,
|