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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BitfabError
3
- } from "./chunk-2EFN2SVP.js";
3
+ } from "./chunk-KYLLSZLE.js";
4
4
 
5
5
  // src/codeChange.ts
6
6
  var NUL = String.fromCharCode(0);
@@ -234,7 +234,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
234
234
  sessionId: seedCase.sessionId
235
235
  })
236
236
  );
237
- const { flushTraces: flushTraces2 } = await import("./http-UMQCF7G7.js");
237
+ const { flushTraces: flushTraces2 } = await import("./http-OV5C6DVP.js");
238
238
  await flushTraces2(3e4);
239
239
  return { pipeline, traceFunctionKey, traceIds };
240
240
  }
@@ -782,4 +782,4 @@ export {
782
782
  runRegistryMain,
783
783
  runIfEntrypoint
784
784
  };
785
- //# sourceMappingURL=chunk-46O35VA7.js.map
785
+ //# sourceMappingURL=chunk-PIZHUBJD.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-B7G7QH2S.js";
9
+ } from "./chunk-DAXBPYIY.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-JVWNLQ4C.js.map
20
+ //# sourceMappingURL=http-K2YSJIIQ.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-2EFN2SVP.js";
9
+ } from "./chunk-KYLLSZLE.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-UMQCF7G7.js.map
19
+ //# sourceMappingURL=http-OV5C6DVP.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.57.3";
54
+ __version__ = "0.57.4";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -5987,6 +5987,7 @@ init_http();
5987
5987
  // src/labels.ts
5988
5988
  var LABELS_PATH = "/api/sdk/traces/labels";
5989
5989
  var HUMAN_LABELS_PATH = "/api/sdk/traces/labels/human";
5990
+ var LABEL_EVIDENCE_PATH = "/api/sdk/traces/labels/label-evidence";
5990
5991
  var LabelsClient = class {
5991
5992
  constructor(httpClient) {
5992
5993
  this.httpClient = httpClient;
@@ -6035,6 +6036,17 @@ var LabelsClient = class {
6035
6036
  );
6036
6037
  return response.labels;
6037
6038
  }
6039
+ /** Suggest evidence for a whole-trace or assertion label. Currently returns an empty list. */
6040
+ async getLabelEvidence(traceId, assertionId) {
6041
+ const query = new URLSearchParams({ traceId });
6042
+ if (assertionId !== void 0) {
6043
+ query.set("assertionId", assertionId);
6044
+ }
6045
+ const response = await this.httpClient.get(
6046
+ `${LABEL_EVIDENCE_PATH}?${query.toString()}`
6047
+ );
6048
+ return response.evidence;
6049
+ }
6038
6050
  };
6039
6051
 
6040
6052
  // src/langgraph.ts