bitfab 0.61.6 → 0.62.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-DNTAISCO.js → chunk-5W6PO64F.js} +5 -15
- package/dist/chunk-5W6PO64F.js.map +1 -0
- package/dist/{chunk-SUZDXSQB.js → chunk-7ZFWK2BA.js} +2 -2
- package/dist/{chunk-SUZDXSQB.js.map → chunk-7ZFWK2BA.js.map} +1 -1
- package/dist/{chunk-5S4PDHH5.js → chunk-IIKOOG2X.js} +3 -3
- package/dist/chunk-IIKOOG2X.js.map +1 -0
- package/dist/{chunk-6WNBR7CF.js → chunk-KYHIRSSK.js} +2 -2
- package/dist/{chunk-6WNBR7CF.js.map → chunk-KYHIRSSK.js.map} +1 -1
- package/dist/{chunk-2U3XAQZF.js → chunk-QMDATWZJ.js} +6 -6
- package/dist/{http-V7JVDVND.js → http-FVLGLWIO.js} +2 -2
- package/dist/{http-WI7PHG2H.js → http-P24OJM7Z.js} +2 -2
- package/dist/index.cjs +4 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -34
- package/dist/index.d.ts +2 -34
- package/dist/index.js +3 -3
- package/dist/node.cjs +4 -14
- 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-63P2V2IT.js → replay-JJVAPZ6I.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-5S4PDHH5.js.map +0 -1
- package/dist/chunk-DNTAISCO.js.map +0 -1
- /package/dist/{chunk-2U3XAQZF.js.map → chunk-QMDATWZJ.js.map} +0 -0
- /package/dist/{http-V7JVDVND.js.map → http-FVLGLWIO.js.map} +0 -0
- /package/dist/{http-WI7PHG2H.js.map → http-P24OJM7Z.js.map} +0 -0
- /package/dist/{replay-63P2V2IT.js.map → replay-JJVAPZ6I.js.map} +0 -0
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
serializeValue,
|
|
18
18
|
toJsonSafe,
|
|
19
19
|
toJsonSafeReport
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5W6PO64F.js";
|
|
21
21
|
import {
|
|
22
22
|
BitfabError,
|
|
23
23
|
CONTENT_OFF_KEY,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
readEnv,
|
|
37
37
|
recordCallerTraceMetadata,
|
|
38
38
|
retireTraceMetadata
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-KYHIRSSK.js";
|
|
40
40
|
import {
|
|
41
41
|
__privateAdd,
|
|
42
42
|
__privateGet,
|
|
@@ -6166,7 +6166,7 @@ var Bitfab = class {
|
|
|
6166
6166
|
await runWithSeedContext({ traceId }, async () => target(...args));
|
|
6167
6167
|
} finally {
|
|
6168
6168
|
try {
|
|
6169
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6169
|
+
const { flushTraces: flushTraces2 } = await import("./http-FVLGLWIO.js");
|
|
6170
6170
|
await flushTraces2(3e4);
|
|
6171
6171
|
} finally {
|
|
6172
6172
|
unrecorded = activeTraceStates.delete(traceId);
|
|
@@ -6225,7 +6225,7 @@ var Bitfab = class {
|
|
|
6225
6225
|
`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.`
|
|
6226
6226
|
);
|
|
6227
6227
|
}
|
|
6228
|
-
const { replay: doReplay } = await import("./replay-
|
|
6228
|
+
const { replay: doReplay } = await import("./replay-JJVAPZ6I.js");
|
|
6229
6229
|
return doReplay(
|
|
6230
6230
|
this.httpClient,
|
|
6231
6231
|
this.serviceUrl,
|
|
@@ -6545,7 +6545,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
6545
6545
|
sessionId: seedCase.sessionId
|
|
6546
6546
|
})
|
|
6547
6547
|
);
|
|
6548
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6548
|
+
const { flushTraces: flushTraces2 } = await import("./http-FVLGLWIO.js");
|
|
6549
6549
|
await flushTraces2(3e4);
|
|
6550
6550
|
return { pipeline, traceFunctionKey, traceIds };
|
|
6551
6551
|
}
|
|
@@ -6589,4 +6589,4 @@ export {
|
|
|
6589
6589
|
reseedFromRegistry,
|
|
6590
6590
|
seedFromRegistry
|
|
6591
6591
|
};
|
|
6592
|
-
//# sourceMappingURL=chunk-
|
|
6592
|
+
//# sourceMappingURL=chunk-QMDATWZJ.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
flushTraces,
|
|
8
8
|
parseRetryAfterMs,
|
|
9
9
|
serializePayloadBody
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KYHIRSSK.js";
|
|
11
11
|
import "./chunk-BAOIRE5T.js";
|
|
12
12
|
export {
|
|
13
13
|
BitfabError,
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
parseRetryAfterMs,
|
|
20
20
|
serializePayloadBody
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=http-
|
|
22
|
+
//# sourceMappingURL=http-FVLGLWIO.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
flushTraces,
|
|
8
8
|
parseRetryAfterMs,
|
|
9
9
|
serializePayloadBody
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7ZFWK2BA.js";
|
|
11
11
|
export {
|
|
12
12
|
BitfabError,
|
|
13
13
|
HttpClient,
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
parseRetryAfterMs,
|
|
19
19
|
serializePayloadBody
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=http-
|
|
21
|
+
//# sourceMappingURL=http-P24OJM7Z.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.
|
|
54
|
+
__version__ = "0.62.0";
|
|
55
55
|
__packageName__ = "bitfab";
|
|
56
56
|
}
|
|
57
57
|
});
|
|
@@ -4136,8 +4136,6 @@ function carriedOverReplayItem(finished) {
|
|
|
4136
4136
|
model: null,
|
|
4137
4137
|
dbSnapshotRef: null,
|
|
4138
4138
|
dbBranchTimings: null,
|
|
4139
|
-
traceOutline: null,
|
|
4140
|
-
originalTraceOutline: null,
|
|
4141
4139
|
carriedOver: true
|
|
4142
4140
|
};
|
|
4143
4141
|
}
|
|
@@ -4430,9 +4428,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
|
|
|
4430
4428
|
tokens: null,
|
|
4431
4429
|
model: serverItem.originalModel ?? serverItem.model ?? null,
|
|
4432
4430
|
dbSnapshotRef: dbSnapshotRef ?? null,
|
|
4433
|
-
dbBranchTimings: dbBranchTimings ?? null
|
|
4434
|
-
traceOutline: null,
|
|
4435
|
-
originalTraceOutline: null
|
|
4431
|
+
dbBranchTimings: dbBranchTimings ?? null
|
|
4436
4432
|
};
|
|
4437
4433
|
}
|
|
4438
4434
|
try {
|
|
@@ -4520,9 +4516,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
|
|
|
4520
4516
|
tokens: null,
|
|
4521
4517
|
model: originalModel,
|
|
4522
4518
|
dbSnapshotRef: dbSnapshotRef ?? null,
|
|
4523
|
-
dbBranchTimings: dbBranchTimings ?? null
|
|
4524
|
-
traceOutline: null,
|
|
4525
|
-
originalTraceOutline: null
|
|
4519
|
+
dbBranchTimings: dbBranchTimings ?? null
|
|
4526
4520
|
};
|
|
4527
4521
|
}
|
|
4528
4522
|
async function waitForReplayPersistence(httpClient, experimentId, replayedTraceIds) {
|
|
@@ -4890,9 +4884,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
|
|
|
4890
4884
|
tokens: item.tokens,
|
|
4891
4885
|
model: item.model,
|
|
4892
4886
|
dbSnapshotRef: item.dbSnapshotRef,
|
|
4893
|
-
dbBranchTimings: item.dbBranchTimings
|
|
4894
|
-
traceOutline: item.traceOutline,
|
|
4895
|
-
originalTraceOutline: item.originalTraceOutline
|
|
4887
|
+
dbBranchTimings: item.dbBranchTimings
|
|
4896
4888
|
}
|
|
4897
4889
|
});
|
|
4898
4890
|
} catch {
|
|
@@ -4987,9 +4979,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
|
|
|
4987
4979
|
}
|
|
4988
4980
|
if (mapped !== void 0) {
|
|
4989
4981
|
item.tokens = replayTokens?.[mapped] ?? null;
|
|
4990
|
-
item.traceOutline = completeResult.traceOutlines?.[mapped] ?? null;
|
|
4991
4982
|
}
|
|
4992
|
-
item.originalTraceOutline = completeResult.originalTraceOutlines?.[item.originalTraceId] ?? null;
|
|
4993
4983
|
}
|
|
4994
4984
|
if (completedCount > 0 && missing.length === completedCount) {
|
|
4995
4985
|
const serverCount = completeResult.traceCount !== void 0 ? ` The server persisted ${completeResult.traceCount} trace(s) for this run.` : "";
|