@bitfab/sdk 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.
- package/cloudReplay.py +3 -5
- package/dist/{chunk-JQAWBK2H.js → chunk-5H2UZ2LR.js} +2 -2
- package/dist/{chunk-JQAWBK2H.js.map → chunk-5H2UZ2LR.js.map} +1 -1
- package/dist/{chunk-76JZFING.js → chunk-BTCJ5XGH.js} +16 -7
- package/dist/chunk-BTCJ5XGH.js.map +1 -0
- package/dist/{chunk-PRL7RHVH.js → chunk-DARYURT3.js} +2 -2
- package/dist/{chunk-PRL7RHVH.js.map → chunk-DARYURT3.js.map} +1 -1
- package/dist/{chunk-YHOEROQD.js → chunk-GLBBZLG2.js} +4 -4
- package/dist/{chunk-DMELEG6J.js → chunk-N3CG4AHU.js} +2 -2
- package/dist/{chunk-45NVW5X6.js → chunk-PIMCRSR2.js} +2 -2
- package/dist/{http-BLY35UVE.js → http-5HVQJKA7.js} +2 -2
- package/dist/{http-5HDU4GXW.js → http-JI7TADRE.js} +2 -2
- package/dist/index.cjs +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -3
- package/dist/index.d.ts +23 -3
- package/dist/index.js +3 -3
- package/dist/node.cjs +11 -2
- 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-CLERHFPY.js → replay-FRGREQBV.js} +3 -3
- package/dist/{replay-HSY2CUX5.js → replay-WL7ZJP3A.js} +3 -3
- package/dist/replayCli.js +3 -3
- package/dist/seedCli.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-76JZFING.js.map +0 -1
- /package/dist/{chunk-YHOEROQD.js.map → chunk-GLBBZLG2.js.map} +0 -0
- /package/dist/{chunk-DMELEG6J.js.map → chunk-N3CG4AHU.js.map} +0 -0
- /package/dist/{chunk-45NVW5X6.js.map → chunk-PIMCRSR2.js.map} +0 -0
- /package/dist/{http-5HDU4GXW.js.map → http-5HVQJKA7.js.map} +0 -0
- /package/dist/{http-BLY35UVE.js.map → http-JI7TADRE.js.map} +0 -0
- /package/dist/{replay-CLERHFPY.js.map → replay-FRGREQBV.js.map} +0 -0
- /package/dist/{replay-HSY2CUX5.js.map → replay-WL7ZJP3A.js.map} +0 -0
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
serializeReplayResult,
|
|
7
7
|
warnJudgeAssertionsDeprecated,
|
|
8
8
|
withCliFlags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N3CG4AHU.js";
|
|
10
10
|
import {
|
|
11
11
|
BitfabError,
|
|
12
12
|
asyncStorageReady,
|
|
13
13
|
createAsyncLocalStorage,
|
|
14
14
|
warnOnce
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5H2UZ2LR.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-
|
|
461
|
+
const { flushTraces } = await import("./http-JI7TADRE.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-
|
|
1176
|
+
//# sourceMappingURL=chunk-GLBBZLG2.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
unrefTimer,
|
|
10
10
|
warnOnce,
|
|
11
11
|
writeOnce
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5H2UZ2LR.js";
|
|
13
13
|
|
|
14
14
|
// src/codeChange.ts
|
|
15
15
|
var MAX_FILES = 60;
|
|
@@ -1909,4 +1909,4 @@ export {
|
|
|
1909
1909
|
warnJudgeAssertionsDeprecated,
|
|
1910
1910
|
replay
|
|
1911
1911
|
};
|
|
1912
|
-
//# sourceMappingURL=chunk-
|
|
1912
|
+
//# sourceMappingURL=chunk-N3CG4AHU.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
replayContextReady,
|
|
9
9
|
runWithReplayContext,
|
|
10
10
|
unrefTimer
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DARYURT3.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-
|
|
2060
|
+
//# sourceMappingURL=chunk-PIMCRSR2.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flushTraces,
|
|
9
9
|
parseRetryAfterMs,
|
|
10
10
|
serializePayloadBody
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DARYURT3.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-
|
|
24
|
+
//# sourceMappingURL=http-5HVQJKA7.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flushTraces,
|
|
9
9
|
parseRetryAfterMs,
|
|
10
10
|
serializePayloadBody
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5H2UZ2LR.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-
|
|
23
|
+
//# sourceMappingURL=http-JI7TADRE.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.
|
|
45
|
+
__version__ = "0.64.30";
|
|
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
|
|
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
|
}
|