bitfab 0.64.28 → 0.64.30

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 (35) hide show
  1. package/cloudReplay.py +3 -5
  2. package/dist/{chunk-C4LDBXZU.js → chunk-FXYVGFBP.js} +2 -2
  3. package/dist/{chunk-6LDCF6CT.js → chunk-FY5WZ6M4.js} +2 -2
  4. package/dist/{chunk-AKEMXWCU.js → chunk-GUPAIDK4.js} +2 -2
  5. package/dist/{chunk-AKEMXWCU.js.map → chunk-GUPAIDK4.js.map} +1 -1
  6. package/dist/{chunk-5XISBPYE.js → chunk-JTFPBPMC.js} +2 -2
  7. package/dist/{chunk-5XISBPYE.js.map → chunk-JTFPBPMC.js.map} +1 -1
  8. package/dist/{chunk-B6MEDBL5.js → chunk-KDNS4BVZ.js} +16 -7
  9. package/dist/chunk-KDNS4BVZ.js.map +1 -0
  10. package/dist/{chunk-WBCKZ2NA.js → chunk-OREQTFEI.js} +4 -4
  11. package/dist/{http-LO4LVZXI.js → http-EWWU4KU2.js} +2 -2
  12. package/dist/{http-ATKNNYT2.js → http-NUZD6TOB.js} +2 -2
  13. package/dist/index.cjs +11 -2
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +23 -3
  16. package/dist/index.d.ts +23 -3
  17. package/dist/index.js +3 -3
  18. package/dist/node.cjs +11 -2
  19. package/dist/node.cjs.map +1 -1
  20. package/dist/node.d.cts +1 -1
  21. package/dist/node.d.ts +1 -1
  22. package/dist/node.js +3 -3
  23. package/dist/{replay-NWZAOS5L.js → replay-7Y5ERBDN.js} +3 -3
  24. package/dist/{replay-NDQA27IL.js → replay-MIZRT2LG.js} +3 -3
  25. package/dist/replayCli.js +3 -3
  26. package/dist/seedCli.js +3 -3
  27. package/package.json +1 -1
  28. package/dist/chunk-B6MEDBL5.js.map +0 -1
  29. /package/dist/{chunk-C4LDBXZU.js.map → chunk-FXYVGFBP.js.map} +0 -0
  30. /package/dist/{chunk-6LDCF6CT.js.map → chunk-FY5WZ6M4.js.map} +0 -0
  31. /package/dist/{chunk-WBCKZ2NA.js.map → chunk-OREQTFEI.js.map} +0 -0
  32. /package/dist/{http-ATKNNYT2.js.map → http-EWWU4KU2.js.map} +0 -0
  33. /package/dist/{http-LO4LVZXI.js.map → http-NUZD6TOB.js.map} +0 -0
  34. /package/dist/{replay-NDQA27IL.js.map → replay-7Y5ERBDN.js.map} +0 -0
  35. /package/dist/{replay-NWZAOS5L.js.map → replay-MIZRT2LG.js.map} +0 -0
@@ -6,13 +6,13 @@ import {
6
6
  serializeReplayResult,
7
7
  warnJudgeAssertionsDeprecated,
8
8
  withCliFlags
9
- } from "./chunk-C4LDBXZU.js";
9
+ } from "./chunk-FXYVGFBP.js";
10
10
  import {
11
11
  BitfabError,
12
12
  asyncStorageReady,
13
13
  createAsyncLocalStorage,
14
14
  warnOnce
15
- } from "./chunk-5XISBPYE.js";
15
+ } from "./chunk-JTFPBPMC.js";
16
16
 
17
17
  // src/autoTrace.ts
18
18
  var autoTraceGlobal = globalThis;
@@ -458,7 +458,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
458
458
  sessionId: seedCase.sessionId
459
459
  })
460
460
  );
461
- const { flushTraces } = await import("./http-LO4LVZXI.js");
461
+ const { flushTraces } = await import("./http-EWWU4KU2.js");
462
462
  await flushTraces(3e4);
463
463
  return { pipeline, traceFunctionKey, traceIds };
464
464
  }
@@ -1173,4 +1173,4 @@ export {
1173
1173
  runRegistryMain,
1174
1174
  runIfEntrypoint
1175
1175
  };
1176
- //# sourceMappingURL=chunk-WBCKZ2NA.js.map
1176
+ //# sourceMappingURL=chunk-OREQTFEI.js.map
@@ -8,7 +8,7 @@ import {
8
8
  flushTraces,
9
9
  parseRetryAfterMs,
10
10
  serializePayloadBody
11
- } from "./chunk-5XISBPYE.js";
11
+ } from "./chunk-JTFPBPMC.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-LO4LVZXI.js.map
23
+ //# sourceMappingURL=http-EWWU4KU2.js.map
@@ -8,7 +8,7 @@ import {
8
8
  flushTraces,
9
9
  parseRetryAfterMs,
10
10
  serializePayloadBody
11
- } from "./chunk-AKEMXWCU.js";
11
+ } from "./chunk-GUPAIDK4.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-ATKNNYT2.js.map
24
+ //# sourceMappingURL=http-NUZD6TOB.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.64.28";
54
+ __version__ = "0.64.30";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -7158,7 +7158,7 @@ function assertEveryVerdictNamesAnAssertion(updates) {
7158
7158
  (update) => update.traceId ?? update.originalTraceId
7159
7159
  );
7160
7160
  throw new BitfabError(
7161
- `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.`
7161
+ `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.`
7162
7162
  );
7163
7163
  }
7164
7164
  }
@@ -7198,6 +7198,15 @@ var LabelsClient = class {
7198
7198
  async skip(target, experimentId) {
7199
7199
  return this.save({ ...target, skip: true }, experimentId);
7200
7200
  }
7201
+ /**
7202
+ * Record that the evidence does not show the part of the run this assertion
7203
+ * checks, so there was nothing to judge. Counted as a fail in every pass
7204
+ * rate, but stored and read back as an abstention, apart from a fail. Pass
7205
+ * `annotation` to say what the evidence would have had to show.
7206
+ */
7207
+ async abstain(target, experimentId) {
7208
+ return this.save({ ...target, abstain: true }, experimentId);
7209
+ }
7201
7210
  async archive(target, experimentId) {
7202
7211
  return this.save({ ...target, archive: true }, experimentId);
7203
7212
  }