bitfab 0.57.3 → 0.57.4
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-B7G7QH2S.js → chunk-DAXBPYIY.js} +2 -2
- package/dist/{chunk-B7G7QH2S.js.map → chunk-DAXBPYIY.js.map} +1 -1
- package/dist/{chunk-JLKB3VT3.js → chunk-FWTA2X72.js} +2 -2
- package/dist/{chunk-3MN4DLJH.js → chunk-JRGN2HRU.js} +18 -6
- package/dist/chunk-JRGN2HRU.js.map +1 -0
- package/dist/{chunk-2EFN2SVP.js → chunk-KYLLSZLE.js} +2 -2
- package/dist/{chunk-2EFN2SVP.js.map → chunk-KYLLSZLE.js.map} +1 -1
- package/dist/{chunk-46O35VA7.js → chunk-PIZHUBJD.js} +3 -3
- package/dist/{http-JVWNLQ4C.js → http-K2YSJIIQ.js} +2 -2
- package/dist/{http-UMQCF7G7.js → http-OV5C6DVP.js} +2 -2
- package/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +3 -3
- package/dist/node.cjs +13 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-OZCQPRSL.js → replay-XMOWRAMM.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-3MN4DLJH.js.map +0 -1
- /package/dist/{chunk-JLKB3VT3.js.map → chunk-FWTA2X72.js.map} +0 -0
- /package/dist/{chunk-46O35VA7.js.map → chunk-PIZHUBJD.js.map} +0 -0
- /package/dist/{http-JVWNLQ4C.js.map → http-K2YSJIIQ.js.map} +0 -0
- /package/dist/{http-UMQCF7G7.js.map → http-OV5C6DVP.js.map} +0 -0
- /package/dist/{replay-OZCQPRSL.js.map → replay-XMOWRAMM.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
replayContextReady,
|
|
7
7
|
runWithReplayContext,
|
|
8
8
|
warnOnce
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DAXBPYIY.js";
|
|
10
10
|
import {
|
|
11
11
|
runWithCaptureSuppressed
|
|
12
12
|
} from "./chunk-VCRFFCLY.js";
|
|
@@ -1263,4 +1263,4 @@ export {
|
|
|
1263
1263
|
sleepForReplayPersistence,
|
|
1264
1264
|
replay
|
|
1265
1265
|
};
|
|
1266
|
-
//# sourceMappingURL=chunk-
|
|
1266
|
+
//# sourceMappingURL=chunk-FWTA2X72.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
serializeValue,
|
|
18
18
|
toJsonSafe,
|
|
19
19
|
toJsonSafeReport
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FWTA2X72.js";
|
|
21
21
|
import {
|
|
22
22
|
BitfabError,
|
|
23
23
|
CONTENT_OFF_KEY,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
retireTraceMetadata,
|
|
38
38
|
traceIdOf,
|
|
39
39
|
warnOnce
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DAXBPYIY.js";
|
|
41
41
|
import {
|
|
42
42
|
__privateAdd,
|
|
43
43
|
__privateGet,
|
|
@@ -1453,6 +1453,7 @@ var GradersClient = class {
|
|
|
1453
1453
|
// src/labels.ts
|
|
1454
1454
|
var LABELS_PATH = "/api/sdk/traces/labels";
|
|
1455
1455
|
var HUMAN_LABELS_PATH = "/api/sdk/traces/labels/human";
|
|
1456
|
+
var LABEL_EVIDENCE_PATH = "/api/sdk/traces/labels/label-evidence";
|
|
1456
1457
|
var LabelsClient = class {
|
|
1457
1458
|
constructor(httpClient) {
|
|
1458
1459
|
this.httpClient = httpClient;
|
|
@@ -1501,6 +1502,17 @@ var LabelsClient = class {
|
|
|
1501
1502
|
);
|
|
1502
1503
|
return response.labels;
|
|
1503
1504
|
}
|
|
1505
|
+
/** Suggest evidence for a whole-trace or assertion label. Currently returns an empty list. */
|
|
1506
|
+
async getLabelEvidence(traceId, assertionId) {
|
|
1507
|
+
const query = new URLSearchParams({ traceId });
|
|
1508
|
+
if (assertionId !== void 0) {
|
|
1509
|
+
query.set("assertionId", assertionId);
|
|
1510
|
+
}
|
|
1511
|
+
const response = await this.httpClient.get(
|
|
1512
|
+
`${LABEL_EVIDENCE_PATH}?${query.toString()}`
|
|
1513
|
+
);
|
|
1514
|
+
return response.evidence;
|
|
1515
|
+
}
|
|
1504
1516
|
};
|
|
1505
1517
|
|
|
1506
1518
|
// src/langgraph.ts
|
|
@@ -6008,7 +6020,7 @@ var Bitfab = class {
|
|
|
6008
6020
|
await runWithSeedContext({ traceId }, async () => target(...args));
|
|
6009
6021
|
} finally {
|
|
6010
6022
|
try {
|
|
6011
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6023
|
+
const { flushTraces: flushTraces2 } = await import("./http-K2YSJIIQ.js");
|
|
6012
6024
|
await flushTraces2(3e4);
|
|
6013
6025
|
} finally {
|
|
6014
6026
|
unrecorded = activeTraceStates.delete(traceId);
|
|
@@ -6067,7 +6079,7 @@ var Bitfab = class {
|
|
|
6067
6079
|
`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.`
|
|
6068
6080
|
);
|
|
6069
6081
|
}
|
|
6070
|
-
const { replay: doReplay } = await import("./replay-
|
|
6082
|
+
const { replay: doReplay } = await import("./replay-XMOWRAMM.js");
|
|
6071
6083
|
return doReplay(
|
|
6072
6084
|
this.httpClient,
|
|
6073
6085
|
this.serviceUrl,
|
|
@@ -6387,7 +6399,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
6387
6399
|
sessionId: seedCase.sessionId
|
|
6388
6400
|
})
|
|
6389
6401
|
);
|
|
6390
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6402
|
+
const { flushTraces: flushTraces2 } = await import("./http-K2YSJIIQ.js");
|
|
6391
6403
|
await flushTraces2(3e4);
|
|
6392
6404
|
return { pipeline, traceFunctionKey, traceIds };
|
|
6393
6405
|
}
|
|
@@ -6426,4 +6438,4 @@ export {
|
|
|
6426
6438
|
reseedFromRegistry,
|
|
6427
6439
|
seedFromRegistry
|
|
6428
6440
|
};
|
|
6429
|
-
//# sourceMappingURL=chunk-
|
|
6441
|
+
//# sourceMappingURL=chunk-JRGN2HRU.js.map
|