@bitfab/sdk 0.64.28 → 0.64.29

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.
Files changed (34) hide show
  1. package/dist/{chunk-YHOEROQD.js → chunk-2YYVO4RI.js} +4 -4
  2. package/dist/{chunk-76JZFING.js → chunk-BDPDIXLA.js} +16 -7
  3. package/dist/chunk-BDPDIXLA.js.map +1 -0
  4. package/dist/{chunk-PRL7RHVH.js → chunk-CBF3YILJ.js} +2 -2
  5. package/dist/{chunk-PRL7RHVH.js.map → chunk-CBF3YILJ.js.map} +1 -1
  6. package/dist/{chunk-DMELEG6J.js → chunk-KDYML76E.js} +2 -2
  7. package/dist/{chunk-JQAWBK2H.js → chunk-Q74E5WXG.js} +2 -2
  8. package/dist/{chunk-JQAWBK2H.js.map → chunk-Q74E5WXG.js.map} +1 -1
  9. package/dist/{chunk-45NVW5X6.js → chunk-UIDS5FUO.js} +2 -2
  10. package/dist/{http-5HDU4GXW.js → http-7AS2BELK.js} +2 -2
  11. package/dist/{http-BLY35UVE.js → http-CTG3RWQO.js} +2 -2
  12. package/dist/index.cjs +11 -2
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +23 -3
  15. package/dist/index.d.ts +23 -3
  16. package/dist/index.js +3 -3
  17. package/dist/node.cjs +11 -2
  18. package/dist/node.cjs.map +1 -1
  19. package/dist/node.d.cts +1 -1
  20. package/dist/node.d.ts +1 -1
  21. package/dist/node.js +3 -3
  22. package/dist/{replay-HSY2CUX5.js → replay-FSWT222C.js} +3 -3
  23. package/dist/{replay-CLERHFPY.js → replay-JV22WC77.js} +3 -3
  24. package/dist/replayCli.js +3 -3
  25. package/dist/seedCli.js +3 -3
  26. package/package.json +1 -1
  27. package/dist/chunk-76JZFING.js.map +0 -1
  28. /package/dist/{chunk-YHOEROQD.js.map → chunk-2YYVO4RI.js.map} +0 -0
  29. /package/dist/{chunk-DMELEG6J.js.map → chunk-KDYML76E.js.map} +0 -0
  30. /package/dist/{chunk-45NVW5X6.js.map → chunk-UIDS5FUO.js.map} +0 -0
  31. /package/dist/{http-5HDU4GXW.js.map → http-7AS2BELK.js.map} +0 -0
  32. /package/dist/{http-BLY35UVE.js.map → http-CTG3RWQO.js.map} +0 -0
  33. /package/dist/{replay-CLERHFPY.js.map → replay-FSWT222C.js.map} +0 -0
  34. /package/dist/{replay-HSY2CUX5.js.map → replay-JV22WC77.js.map} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  replayContextReady,
9
9
  runWithReplayContext,
10
10
  unrefTimer
11
- } from "./chunk-PRL7RHVH.js";
11
+ } from "./chunk-CBF3YILJ.js";
12
12
  import {
13
13
  runWithCaptureSuppressed,
14
14
  warnOnce,
@@ -2057,4 +2057,4 @@ export {
2057
2057
  warnJudgeAssertionsDeprecated,
2058
2058
  replay
2059
2059
  };
2060
- //# sourceMappingURL=chunk-45NVW5X6.js.map
2060
+ //# sourceMappingURL=chunk-UIDS5FUO.js.map
@@ -8,7 +8,7 @@ import {
8
8
  flushTraces,
9
9
  parseRetryAfterMs,
10
10
  serializePayloadBody
11
- } from "./chunk-JQAWBK2H.js";
11
+ } from "./chunk-Q74E5WXG.js";
12
12
  export {
13
13
  BitfabError,
14
14
  HttpClient,
@@ -20,4 +20,4 @@ export {
20
20
  parseRetryAfterMs,
21
21
  serializePayloadBody
22
22
  };
23
- //# sourceMappingURL=http-5HDU4GXW.js.map
23
+ //# sourceMappingURL=http-7AS2BELK.js.map
@@ -8,7 +8,7 @@ import {
8
8
  flushTraces,
9
9
  parseRetryAfterMs,
10
10
  serializePayloadBody
11
- } from "./chunk-PRL7RHVH.js";
11
+ } from "./chunk-CBF3YILJ.js";
12
12
  import "./chunk-MT36GJMW.js";
13
13
  export {
14
14
  BitfabError,
@@ -21,4 +21,4 @@ export {
21
21
  parseRetryAfterMs,
22
22
  serializePayloadBody
23
23
  };
24
- //# sourceMappingURL=http-BLY35UVE.js.map
24
+ //# sourceMappingURL=http-CTG3RWQO.js.map
package/dist/index.cjs CHANGED
@@ -42,7 +42,7 @@ var __version__, __packageName__;
42
42
  var init_version_generated = __esm({
43
43
  "src/version.generated.ts"() {
44
44
  "use strict";
45
- __version__ = "0.64.28";
45
+ __version__ = "0.64.29";
46
46
  __packageName__ = "@bitfab/sdk";
47
47
  }
48
48
  });
@@ -7149,7 +7149,7 @@ function assertEveryVerdictNamesAnAssertion(updates) {
7149
7149
  (update) => update.traceId ?? update.originalTraceId
7150
7150
  );
7151
7151
  throw new BitfabError(
7152
- `Agent verdicts must name an assertion: ${targets.join(", ")}. Pass the assertionId of the assertion each verdict scores to labels.save, saveAll, and skip. Only archive may omit it, to clear an old whole-trace verdict.`
7152
+ `Agent verdicts must name an assertion: ${targets.join(", ")}. Pass the assertionId of the assertion each verdict scores to labels.save, saveAll, skip, and abstain. Only archive may omit it, to clear an old whole-trace verdict.`
7153
7153
  );
7154
7154
  }
7155
7155
  }
@@ -7189,6 +7189,15 @@ var LabelsClient = class {
7189
7189
  async skip(target, experimentId) {
7190
7190
  return this.save({ ...target, skip: true }, experimentId);
7191
7191
  }
7192
+ /**
7193
+ * Record that the evidence does not show the part of the run this assertion
7194
+ * checks, so there was nothing to judge. Counted as a fail in every pass
7195
+ * rate, but stored and read back as an abstention, apart from a fail. Pass
7196
+ * `annotation` to say what the evidence would have had to show.
7197
+ */
7198
+ async abstain(target, experimentId) {
7199
+ return this.save({ ...target, abstain: true }, experimentId);
7200
+ }
7192
7201
  async archive(target, experimentId) {
7193
7202
  return this.save({ ...target, archive: true }, experimentId);
7194
7203
  }