@bitfab/sdk 0.64.13 → 0.64.15
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 +250 -55
- package/dist/{chunk-NEQA2IBO.js → chunk-2MHRNZH5.js} +10 -5
- package/dist/{chunk-NEQA2IBO.js.map → chunk-2MHRNZH5.js.map} +1 -1
- package/dist/{chunk-QCPTN2U6.js → chunk-7ZJ7KXEV.js} +2 -2
- package/dist/{chunk-JN3C4PIV.js → chunk-KVGRTCIE.js} +8 -2
- package/dist/{chunk-JN3C4PIV.js.map → chunk-KVGRTCIE.js.map} +1 -1
- package/dist/{chunk-42RXX24H.js → chunk-NYLVYTBO.js} +12 -6
- package/dist/{chunk-42RXX24H.js.map → chunk-NYLVYTBO.js.map} +1 -1
- package/dist/{chunk-YOM2DADY.js → chunk-Z4DIFZTO.js} +8 -2
- package/dist/{chunk-YOM2DADY.js.map → chunk-Z4DIFZTO.js.map} +1 -1
- package/dist/{http-4DPVYNI3.js → http-36VJ3FFM.js} +2 -2
- package/dist/{http-IFJ4TUVR.js → http-IQ2AC36B.js} +2 -2
- package/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -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-TAZXZYWL.js → replay-2QFPGFS7.js} +3 -3
- package/dist/replayCli.js +13 -2
- package/dist/replayCli.js.map +1 -1
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-QCPTN2U6.js.map → chunk-7ZJ7KXEV.js.map} +0 -0
- /package/dist/{http-4DPVYNI3.js.map → http-36VJ3FFM.js.map} +0 -0
- /package/dist/{http-IFJ4TUVR.js.map → http-IQ2AC36B.js.map} +0 -0
- /package/dist/{replay-TAZXZYWL.js.map → replay-2QFPGFS7.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
BitfabError,
|
|
3
3
|
warnOnce,
|
|
4
4
|
writeOnce
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KVGRTCIE.js";
|
|
6
6
|
|
|
7
7
|
// src/codeChange.ts
|
|
8
8
|
var NUL = String.fromCharCode(0);
|
|
@@ -245,7 +245,8 @@ async function pinnedDatasetMembers(client, datasetIds, limit, onlyWithAssertion
|
|
|
245
245
|
return boundTraceIds(client, ordered, limit, onlyWithAssertions);
|
|
246
246
|
}
|
|
247
247
|
function usage(registry) {
|
|
248
|
-
|
|
248
|
+
const pipelines = registry === void 0 ? "pipeline" : Object.keys(registry).join("|");
|
|
249
|
+
return `Usage: bitfab-replay --registry <path> <${pipelines}> [options]
|
|
249
250
|
|
|
250
251
|
Options:
|
|
251
252
|
--limit N (bounds a trace ID or dataset selection instead of replacing it)
|
|
@@ -348,7 +349,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
348
349
|
sessionId: seedCase.sessionId
|
|
349
350
|
})
|
|
350
351
|
);
|
|
351
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
352
|
+
const { flushTraces: flushTraces2 } = await import("./http-36VJ3FFM.js");
|
|
352
353
|
await flushTraces2(3e4);
|
|
353
354
|
return { pipeline, traceFunctionKey, traceIds };
|
|
354
355
|
}
|
|
@@ -430,12 +431,15 @@ function commaSeparated(flag, raw) {
|
|
|
430
431
|
}
|
|
431
432
|
return values;
|
|
432
433
|
}
|
|
434
|
+
function checkReplayCliArgs(argv) {
|
|
435
|
+
parseReplayCliArgs(void 0, argv);
|
|
436
|
+
}
|
|
433
437
|
function parseReplayCliArgs(registry, argv) {
|
|
434
438
|
if (argv.some((value) => HELP_FLAGS.has(value))) {
|
|
435
439
|
throw new ReplayCliHelp(usage(registry));
|
|
436
440
|
}
|
|
437
441
|
const pipeline = argv[0];
|
|
438
|
-
if (pipeline === void 0 || registry[pipeline] === void 0) {
|
|
442
|
+
if (pipeline === void 0 || registry !== void 0 && registry[pipeline] === void 0) {
|
|
439
443
|
throw new BitfabError(usage(registry));
|
|
440
444
|
}
|
|
441
445
|
const parsed = { pipeline, params: [], flags: {} };
|
|
@@ -1035,6 +1039,7 @@ function runIfEntrypoint(moduleUrl, main) {
|
|
|
1035
1039
|
|
|
1036
1040
|
export {
|
|
1037
1041
|
runSeedCli,
|
|
1042
|
+
checkReplayCliArgs,
|
|
1038
1043
|
runReplayCli,
|
|
1039
1044
|
parseRegistryCommandArgs,
|
|
1040
1045
|
importRegistry,
|
|
@@ -1042,4 +1047,4 @@ export {
|
|
|
1042
1047
|
runRegistryMain,
|
|
1043
1048
|
runIfEntrypoint
|
|
1044
1049
|
};
|
|
1045
|
-
//# sourceMappingURL=chunk-
|
|
1050
|
+
//# sourceMappingURL=chunk-2MHRNZH5.js.map
|