@bitfab/sdk 0.45.0 → 0.47.0
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-H4WJUUZH.js → chunk-G52ZQTWU.js} +2 -2
- package/dist/{chunk-GN6E2IBU.js → chunk-LP2CN7SZ.js} +13 -13
- package/dist/chunk-LP2CN7SZ.js.map +1 -0
- package/dist/{chunk-SILI6DDS.js → chunk-RQEYVHGV.js} +2 -2
- package/dist/{chunk-SILI6DDS.js.map → chunk-RQEYVHGV.js.map} +1 -1
- package/dist/{chunk-TCOD5O2B.js → chunk-YKHZGYAC.js} +2 -2
- package/dist/{chunk-TCOD5O2B.js.map → chunk-YKHZGYAC.js.map} +1 -1
- package/dist/{http-QGTV3X7R.js → http-224ASOWH.js} +2 -2
- package/dist/{http-E7RYN3BX.js → http-BUAOWCLI.js} +2 -2
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -9
- package/dist/index.d.ts +7 -9
- package/dist/index.js +3 -3
- package/dist/node.cjs +8 -8
- 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 +3 -3
- package/dist/{replay-PQSTJRPU.js → replay-OONSKTLR.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GN6E2IBU.js.map +0 -1
- /package/dist/{chunk-H4WJUUZH.js.map → chunk-G52ZQTWU.js.map} +0 -0
- /package/dist/{http-E7RYN3BX.js.map → http-224ASOWH.js.map} +0 -0
- /package/dist/{http-QGTV3X7R.js.map → http-BUAOWCLI.js.map} +0 -0
- /package/dist/{replay-PQSTJRPU.js.map → replay-OONSKTLR.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
replayContextReady,
|
|
6
6
|
runWithReplayContext,
|
|
7
7
|
warnOnce
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YKHZGYAC.js";
|
|
9
9
|
|
|
10
10
|
// src/codeChange.ts
|
|
11
11
|
var MAX_FILES = 60;
|
|
@@ -1191,4 +1191,4 @@ export {
|
|
|
1191
1191
|
sleepForReplayPersistence,
|
|
1192
1192
|
replay
|
|
1193
1193
|
};
|
|
1194
|
-
//# sourceMappingURL=chunk-
|
|
1194
|
+
//# sourceMappingURL=chunk-G52ZQTWU.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
serializeValue,
|
|
15
15
|
toJsonSafe,
|
|
16
16
|
toJsonSafeReport
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-G52ZQTWU.js";
|
|
18
18
|
import {
|
|
19
19
|
BitfabError,
|
|
20
20
|
DEFAULT_SERVICE_URL,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
MixedTracingError,
|
|
23
23
|
getReplayContext,
|
|
24
24
|
warnOnce
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YKHZGYAC.js";
|
|
26
26
|
import {
|
|
27
27
|
__privateAdd,
|
|
28
28
|
__privateGet,
|
|
@@ -1166,20 +1166,20 @@ var LabelsClient = class {
|
|
|
1166
1166
|
constructor(httpClient) {
|
|
1167
1167
|
this.httpClient = httpClient;
|
|
1168
1168
|
}
|
|
1169
|
-
async save(
|
|
1169
|
+
async save(update, testRunId) {
|
|
1170
|
+
const [outcome] = await this.saveAll([update], testRunId);
|
|
1171
|
+
return outcome;
|
|
1172
|
+
}
|
|
1173
|
+
async saveAll(updates, testRunId) {
|
|
1170
1174
|
const response = await this.httpClient.request(
|
|
1171
1175
|
LABELS_PATH,
|
|
1172
1176
|
{
|
|
1173
|
-
labels:
|
|
1174
|
-
...
|
|
1177
|
+
labels: updates,
|
|
1178
|
+
...testRunId === void 0 ? {} : { testRunId }
|
|
1175
1179
|
}
|
|
1176
1180
|
);
|
|
1177
1181
|
return response.labels;
|
|
1178
1182
|
}
|
|
1179
|
-
async saveOne(update, testRunId) {
|
|
1180
|
-
const [outcome] = await this.save({ labels: [update], testRunId });
|
|
1181
|
-
return outcome;
|
|
1182
|
-
}
|
|
1183
1183
|
};
|
|
1184
1184
|
|
|
1185
1185
|
// src/langgraph.ts
|
|
@@ -4500,7 +4500,7 @@ var Bitfab = class {
|
|
|
4500
4500
|
await runWithSeedContext({ traceId }, async () => target(...args));
|
|
4501
4501
|
} finally {
|
|
4502
4502
|
try {
|
|
4503
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
4503
|
+
const { flushTraces: flushTraces2 } = await import("./http-BUAOWCLI.js");
|
|
4504
4504
|
await flushTraces2(3e4);
|
|
4505
4505
|
} finally {
|
|
4506
4506
|
unrecorded = activeTraceStates.delete(traceId);
|
|
@@ -4528,7 +4528,7 @@ var Bitfab = class {
|
|
|
4528
4528
|
`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.`
|
|
4529
4529
|
);
|
|
4530
4530
|
}
|
|
4531
|
-
const { replay: doReplay } = await import("./replay-
|
|
4531
|
+
const { replay: doReplay } = await import("./replay-OONSKTLR.js");
|
|
4532
4532
|
return doReplay(
|
|
4533
4533
|
this.httpClient,
|
|
4534
4534
|
this.serviceUrl,
|
|
@@ -4794,7 +4794,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
4794
4794
|
sessionId: seedCase.sessionId
|
|
4795
4795
|
})
|
|
4796
4796
|
);
|
|
4797
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
4797
|
+
const { flushTraces: flushTraces2 } = await import("./http-BUAOWCLI.js");
|
|
4798
4798
|
await flushTraces2(3e4);
|
|
4799
4799
|
return { pipeline, traceFunctionKey, traceIds };
|
|
4800
4800
|
}
|
|
@@ -4829,4 +4829,4 @@ export {
|
|
|
4829
4829
|
defineReplayRegistry,
|
|
4830
4830
|
seedFromRegistry
|
|
4831
4831
|
};
|
|
4832
|
-
//# sourceMappingURL=chunk-
|
|
4832
|
+
//# sourceMappingURL=chunk-LP2CN7SZ.js.map
|