openmates 0.27.0-alpha.13 → 0.27.0-alpha.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/dist/capacityReplayMarker-3NFJNDTZ.js +11 -0
- package/dist/{chunk-4QNMHHIN.js → chunk-G57ZXWAM.js} +1582 -210
- package/dist/{cli-CAey4F3y.d.ts → cli-CDv-r2Cu.d.ts} +63 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +5 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.js +1 -1
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/manifest.json +9 -9
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// src/capacityReplayMarker.ts
|
|
2
|
+
function capacityReplayMarker(marker, apiUrl, enabled) {
|
|
3
|
+
if (marker === void 0) return void 0;
|
|
4
|
+
if (!enabled || marker !== "<<<TEST_LIVE_MOCK:storage_capacity_v1>>>" || !/^https?:\/\/(?:localhost|127\.0\.0\.1|[^/]+\.ci\.test)(?::\d+)?$/.test(apiUrl)) {
|
|
5
|
+
throw new Error("Storage capacity replay marker requires the isolated CI API and replay-only mode.");
|
|
6
|
+
}
|
|
7
|
+
return marker;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
capacityReplayMarker
|
|
11
|
+
};
|