openmates 0.27.0-alpha.54 → 0.27.0-alpha.56
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/{chunk-5HWC6OTW.js → chunk-5SFXCJJ4.js} +0 -6
- package/dist/{chunk-W2VJSU3Q.js → chunk-BJS3UIG7.js} +4892 -4335
- package/dist/{chunk-FC27KZIW.js → chunk-F2U6KIMR.js} +34 -22
- package/dist/{cli-jvpep36C.d.ts → cli-D2oJ-ctT.d.ts} +5 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/privacyDaemon.js +1 -1
- package/dist/{tasksCli-S7PH7TWA.js → tasksCli-VEBWWQW4.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 +3 -3
|
@@ -647,11 +647,6 @@ function clearSyncCache(teamId) {
|
|
|
647
647
|
rmSync(filePath);
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
function isSyncCacheFresh(maxAgeMs = 3e5, teamId) {
|
|
651
|
-
const cache = loadSyncCache(teamId);
|
|
652
|
-
if (!cache) return false;
|
|
653
|
-
return Date.now() - cache.syncedAt < (cache.pendingRecoveryOutputs ? Math.min(maxAgeMs, 6e4) : maxAgeMs);
|
|
654
|
-
}
|
|
655
650
|
function loadTrustedAccountId() {
|
|
656
651
|
const trusted = readJsonFile(join(getStateDir(), TRUSTED_ACCOUNT_FILE));
|
|
657
652
|
return typeof trusted?.accountId === "string" && trusted.accountId.trim() ? trusted.accountId.trim() : null;
|
|
@@ -1207,7 +1202,6 @@ export {
|
|
|
1207
1202
|
saveSyncCache,
|
|
1208
1203
|
loadSyncCache,
|
|
1209
1204
|
clearSyncCache,
|
|
1210
|
-
isSyncCacheFresh,
|
|
1211
1205
|
loadTrustedAccountId,
|
|
1212
1206
|
saveTrustedAccountId,
|
|
1213
1207
|
assertTrustedAccountId,
|