@camstack/system 1.2.463 → 1.2.465
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/{agent-https-B9gbXoJI.mjs → agent-https-CPJ7FTs0.mjs} +1 -1
- package/dist/{agent-https-DhFIbEwN.js → agent-https-CzA1AmyI.js} +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.d.ts +7 -0
- package/dist/builtins/alerts/alerts.addon.js +65 -2
- package/dist/builtins/alerts/alerts.addon.mjs +65 -2
- package/dist/builtins/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/dist/builtins/calendars/calendars.addon.js +1 -1
- package/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/dist/builtins/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.mjs +1 -1
- package/dist/builtins/composer/composer.addon.js +2 -2
- package/dist/builtins/composer/composer.addon.mjs +2 -2
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- package/dist/builtins/device-history/device-history.addon.js +1 -1
- package/dist/builtins/device-history/device-history.addon.mjs +1 -1
- package/dist/builtins/device-manager/device-manager.addon.js +1 -1
- package/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/keychain/index.js +3 -3
- package/dist/builtins/keychain/index.mjs +3 -3
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/dist/builtins/local-network/local-network.addon.js +2 -2
- package/dist/builtins/local-network/local-network.addon.mjs +2 -2
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/record-entries/index.js +1 -1
- package/dist/builtins/record-entries/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/index.js +1 -1
- package/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +2 -2
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2 -2
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +3 -3
- package/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{composition-sources-oXvmbMHX.js → composition-sources-BG0E76VO.js} +1 -1
- package/dist/{composition-sources-CGtooHSL.mjs → composition-sources-CqRsEC0a.mjs} +1 -1
- package/dist/{constants-5mrGZxwS.js → constants-BYJ4ni7h.js} +1 -1
- package/dist/{constants-CdutnpL9.mjs → constants-CmGw1liQ.mjs} +1 -1
- package/dist/{device-ca-B3xUzps7.js → device-ca-B-Txwl4W.js} +1 -1
- package/dist/{device-ca-DZHKlZlD.mjs → device-ca-CQcB6yfj.mjs} +1 -1
- package/dist/{dist-C2OBCa-A.mjs → dist-CR7idLer.mjs} +125 -2
- package/dist/{dist-D9aw_d0G.js → dist-Dwi4JA96.js} +125 -2
- package/dist/file-host-worker.js +1 -1
- package/dist/file-host-worker.mjs +1 -1
- package/dist/{hub-mdns-ciao-CFlhVKK6.js → hub-mdns-ciao-3qdHbtyp.js} +2 -2
- package/dist/{hub-mdns-ciao-Bm09NrMS.mjs → hub-mdns-ciao-BlLwL65g.mjs} +2 -2
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/dist/{restore-archive-CSOR_tyN.mjs → restore-archive-BYL7E5af.mjs} +1 -1
- package/dist/{restore-archive-6zkRREHO.js → restore-archive-D1uxP8Eb.js} +1 -1
- package/dist/{wal-maintenance-Dg6IzSgz.mjs → wal-maintenance-BDQT7TIi.mjs} +0 -0
- package/dist/{wal-maintenance-jXcOxm2T.js → wal-maintenance-BQlvAduo.js} +0 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
const require_coral_accelerators = require("../../coral-accelerators-oUXmmbc2.js");
|
|
8
8
|
let node_util = require("node:util");
|
|
9
9
|
let node_os = require("node:os");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toESM, r as __exportAll } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { $n as platformProbeCapability, $r as errMsg, Ca as EventCategory, Gi as emitReadiness, _r as scoreRuntimes, an as enumerateInferenceDevices, ei as BaseAddon } from "../../dist-
|
|
2
|
+
import { $n as platformProbeCapability, $r as errMsg, Ca as EventCategory, Gi as emitReadiness, _r as scoreRuntimes, an as enumerateInferenceDevices, ei as BaseAddon } from "../../dist-CR7idLer.mjs";
|
|
3
3
|
import { n as nodeCoralFs, t as classifyCoralAccelerator } from "../../coral-accelerators-Qhn5TOYZ.mjs";
|
|
4
4
|
import { promisify } from "node:util";
|
|
5
5
|
import * as os$1 from "node:os";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
//#region src/builtins/record-entries/entries-service.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { da as recordSecretRef, ei as BaseAddon, ki as UnknownRecordKindError, nr as recordEntriesCapability, ra as mapSecretLeaves, ui as InvalidRecordError } from "../../dist-
|
|
1
|
+
import { da as recordSecretRef, ei as BaseAddon, ki as UnknownRecordKindError, nr as recordEntriesCapability, ra as mapSecretLeaves, ui as InvalidRecordError } from "../../dist-CR7idLer.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
//#region src/builtins/record-entries/entries-service.ts
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
//#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
|
|
8
8
|
/**
|
|
9
9
|
* Reconcile the durable `enabledProviders` set against authoritative
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ca as EventCategory, ei as BaseAddon } from "../../dist-
|
|
1
|
+
import { Ca as EventCategory, ei as BaseAddon } from "../../dist-CR7idLer.mjs";
|
|
2
2
|
//#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
|
|
3
3
|
/**
|
|
4
4
|
* Reconcile the durable `enabledProviders` set against authoritative
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
const require_snapshot_courtesy = require("../../snapshot-courtesy-D_C5-nC0.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $r as errMsg, Ca as EventCategory, Dt as batteryCapability, Et as bareAddonId, Hn as memoizePinnedFfmpeg, Qr as DeviceType, Xr as DeviceFeature, Xt as deriveBatteryPresence, ei as BaseAddon, ia as nodePin, kr as streamQualityLabel, s as BatteryStatusSchema, xr as snapshotCapability } from "../../dist-
|
|
1
|
+
import { $r as errMsg, Ca as EventCategory, Dt as batteryCapability, Et as bareAddonId, Hn as memoizePinnedFfmpeg, Qr as DeviceType, Xr as DeviceFeature, Xt as deriveBatteryPresence, ei as BaseAddon, ia as nodePin, kr as streamQualityLabel, s as BatteryStatusSchema, xr as snapshotCapability } from "../../dist-CR7idLer.mjs";
|
|
2
2
|
import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg } from "../../snapshot-courtesy-CyFs1M3I.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
let node_fs_promises = require("node:fs/promises");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dr as storageProviderCapability, ei as BaseAddon, pn as filesystemBrowseCapability } from "../../dist-
|
|
1
|
+
import { Dr as storageProviderCapability, ei as BaseAddon, pn as filesystemBrowseCapability } from "../../dist-CR7idLer.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { mkdir, readdir, realpath, statfs } from "node:fs/promises";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -4,7 +4,7 @@ Object.defineProperties(exports, {
|
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
6
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./filesystem-storage.addon.js");
|
|
7
|
-
const require_wal_maintenance = require("../../wal-maintenance-
|
|
7
|
+
const require_wal_maintenance = require("../../wal-maintenance-BQlvAduo.js");
|
|
8
8
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./sqlite-settings.addon.js");
|
|
9
9
|
//#region src/builtins/sqlite-storage/config-store.ts
|
|
10
10
|
var ConfigStore = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./filesystem-storage.addon.mjs";
|
|
2
|
-
import { A as SQLITE_MMAP_CEILING_BYTES, B as SQLITE_SLOW_CALL_MS, F as sqlitePageCacheKibFor, H as sqliteEngineStorm, I as SQLITE_ENGINE_STORM_WALL_SHARE, L as SQLITE_PROFILE_REPORT_FLOOR_MS, M as SQLITE_PAGE_CACHE_CEILING_KIB, N as SQLITE_PAGE_CACHE_FLOOR_KIB, P as sqliteMmapSizeFor, R as SQLITE_PROFILE_REPORT_INTERVAL_MS, V as SqliteOpProfiler, a as WalMaintenance, i as WAL_MAINTENANCE_INTERVAL_MS, j as SQLITE_MMAP_FLOOR_BYTES, k as SQLITE_JOURNAL_SIZE_LIMIT_BYTES, l as SqliteSettingsBackend, n as WAL_HIGH_WATER_BYTES, r as WAL_IDLE_QUIET_MS, t as WAL_CHECKPOINT_BUSY_TIMEOUT_MS, z as SQLITE_PROFILE_TOP_N } from "../../wal-maintenance-
|
|
2
|
+
import { A as SQLITE_MMAP_CEILING_BYTES, B as SQLITE_SLOW_CALL_MS, F as sqlitePageCacheKibFor, H as sqliteEngineStorm, I as SQLITE_ENGINE_STORM_WALL_SHARE, L as SQLITE_PROFILE_REPORT_FLOOR_MS, M as SQLITE_PAGE_CACHE_CEILING_KIB, N as SQLITE_PAGE_CACHE_FLOOR_KIB, P as sqliteMmapSizeFor, R as SQLITE_PROFILE_REPORT_INTERVAL_MS, V as SqliteOpProfiler, a as WalMaintenance, i as WAL_MAINTENANCE_INTERVAL_MS, j as SQLITE_MMAP_FLOOR_BYTES, k as SQLITE_JOURNAL_SIZE_LIMIT_BYTES, l as SqliteSettingsBackend, n as WAL_HIGH_WATER_BYTES, r as WAL_IDLE_QUIET_MS, t as WAL_CHECKPOINT_BUSY_TIMEOUT_MS, z as SQLITE_PROFILE_TOP_N } from "../../wal-maintenance-BDQT7TIi.mjs";
|
|
3
3
|
import { SqliteSettingsAddon } from "./sqlite-settings.addon.mjs";
|
|
4
4
|
//#region src/builtins/sqlite-storage/config-store.ts
|
|
5
5
|
var ConfigStore = class {
|
|
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
const require_retired_settings_keys = require("../../retired-settings-keys-CGUqX-Oz.js");
|
|
8
|
-
const require_wal_maintenance = require("../../wal-maintenance-
|
|
8
|
+
const require_wal_maintenance = require("../../wal-maintenance-BQlvAduo.js");
|
|
9
9
|
const require_sqlite_snapshot_protocol = require("../../sqlite-snapshot-protocol-B9OndqZv.js");
|
|
10
10
|
const require_wal_checkpoint_policy = require("../../wal-checkpoint-policy-d2z2qPqx.js");
|
|
11
11
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $r as errMsg, C as DATABASE_SNAPSHOT_TIMEOUT_MS, Cr as storageAdminCapability, Et as bareAddonId, Gt as dataStoreProviderCapability, Ir as vectorStoreCapability, Kt as databaseSnapshotCapability, S as DATABASE_SNAPSHOT_SUFFIX, Si as RecordKindDeclarationSchema, di as NoCallerError, ei as BaseAddon, gi as RECORD_SWEEP_INTERVAL_MS, ki as UnknownRecordKindError, oa as normalizeSecretOwner, oi as DeclarationRefusedError, rr as recordsCapability, w as DATA_STORE_DATABASES, x as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, yi as RUNTIME_DEFAULTS } from "../../dist-
|
|
1
|
+
import { $r as errMsg, C as DATABASE_SNAPSHOT_TIMEOUT_MS, Cr as storageAdminCapability, Et as bareAddonId, Gt as dataStoreProviderCapability, Ir as vectorStoreCapability, Kt as databaseSnapshotCapability, S as DATABASE_SNAPSHOT_SUFFIX, Si as RecordKindDeclarationSchema, di as NoCallerError, ei as BaseAddon, gi as RECORD_SWEEP_INTERVAL_MS, ki as UnknownRecordKindError, oa as normalizeSecretOwner, oi as DeclarationRefusedError, rr as recordsCapability, w as DATA_STORE_DATABASES, x as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, yi as RUNTIME_DEFAULTS } from "../../dist-CR7idLer.mjs";
|
|
2
2
|
import { r as retiredKeyStoreOf, t as purgeRetiredSettingsKeys } from "../../retired-settings-keys-C_Kjp-Bj.mjs";
|
|
3
|
-
import { C as RecordsEngine, D as callVector, E as callRecords, O as controlTargetOf, S as trustResult, T as callData, _ as collectTransferables, a as WalMaintenance, c as vectorProviderOfOwnedFile, d as CrossDatabaseTransactError, f as DatabaseBusyError, l as SqliteSettingsBackend, m as rehydrateError, o as createVectorIndex, p as DuplicatePlacementError, s as vectorProviderOf, u as CollectionPlacementError, v as isFileHostMessage, w as callControl } from "../../wal-maintenance-
|
|
3
|
+
import { C as RecordsEngine, D as callVector, E as callRecords, O as controlTargetOf, S as trustResult, T as callData, _ as collectTransferables, a as WalMaintenance, c as vectorProviderOfOwnedFile, d as CrossDatabaseTransactError, f as DatabaseBusyError, l as SqliteSettingsBackend, m as rehydrateError, o as createVectorIndex, p as DuplicatePlacementError, s as vectorProviderOf, u as CollectionPlacementError, v as isFileHostMessage, w as callControl } from "../../wal-maintenance-BDQT7TIi.mjs";
|
|
4
4
|
import { r as isSnapshotWorkerMessage } from "../../sqlite-snapshot-protocol-2QaTouWV.mjs";
|
|
5
5
|
import { a as isWorkerMessage, t as WAL_CHECKPOINT_LARGE_PASS_FRAMES } from "../../wal-checkpoint-policy-BahrTtyD.mjs";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $i as isSecretMarker, Bn as mayReadLocation, Ca as EventCategory, En as isLocationEnabled, Ii as collectSecretConfigKeys, Lr as withLocationMode, Nn as legacyModeOf, Tr as storageMigrationCapability, Ui as defineRecordKinds, Vn as mayWriteToLocation, Wn as modeMayWrite, _i as REDACTED_SECRET, _n as gbToBytes, aa as normalizeNodeId, ba as transformSecretWrite, dr as resolveLocationMode, dt as StorageLocationModeSchema, ei as BaseAddon, ft as StorageLocationTypeSchema, ha as secretTreeFromPaths, ln as evictionPolicyOfLocation, pa as resolveSecretMarkers, pt as StorageMigrationJobSchema, q as LegacyStorageLocationDefaultSchema, sa as parseJsonObject, ut as StorageCleanupJobSchema, vr as settingsStoreCapability, wr as storageCapability } from "../../dist-
|
|
1
|
+
import { $i as isSecretMarker, Bn as mayReadLocation, Ca as EventCategory, En as isLocationEnabled, Ii as collectSecretConfigKeys, Lr as withLocationMode, Nn as legacyModeOf, Tr as storageMigrationCapability, Ui as defineRecordKinds, Vn as mayWriteToLocation, Wn as modeMayWrite, _i as REDACTED_SECRET, _n as gbToBytes, aa as normalizeNodeId, ba as transformSecretWrite, dr as resolveLocationMode, dt as StorageLocationModeSchema, ei as BaseAddon, ft as StorageLocationTypeSchema, ha as secretTreeFromPaths, ln as evictionPolicyOfLocation, pa as resolveSecretMarkers, pt as StorageMigrationJobSchema, q as LegacyStorageLocationDefaultSchema, sa as parseJsonObject, ut as StorageCleanupJobSchema, vr as settingsStoreCapability, wr as storageCapability } from "../../dist-CR7idLer.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,11 +3,11 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
const require_safe_buffer$1 = require("../../safe-buffer-D3aoa-7X.js");
|
|
8
8
|
const require_x509_es = require("../../x509.es-C4cOo48M.js");
|
|
9
|
-
const require_agent_https = require("../../agent-https-
|
|
10
|
-
const require_constants$8 = require("../../constants-
|
|
9
|
+
const require_agent_https = require("../../agent-https-CzA1AmyI.js");
|
|
10
|
+
const require_constants$8 = require("../../constants-BYJ4ni7h.js");
|
|
11
11
|
const require_src$1 = require("../../src-CnAqG6EF.js");
|
|
12
12
|
let zod = require("zod");
|
|
13
13
|
let node_crypto = require("node:crypto");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { $r as errMsg, Hi as defineCustomActions, Ji as hydrateSchema, Vi as customAction, ct as ServerNameSchema, ei as BaseAddon, yr as shortHostname } from "../../dist-
|
|
2
|
+
import { $r as errMsg, Hi as defineCustomActions, Ji as hydrateSchema, Vi as customAction, ct as ServerNameSchema, ei as BaseAddon, yr as shortHostname } from "../../dist-CR7idLer.mjs";
|
|
3
3
|
import { t as require_safe_buffer } from "../../safe-buffer-B1OjL1I9.mjs";
|
|
4
4
|
import { S as backdatedNotBefore, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension } from "../../x509.es-DK__ETIe.mjs";
|
|
5
|
-
import { B as setProcessAgentHttpsNames, I as AGENT_HTTPS_NAMES_COLLECTION, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, R as AgentHttpsNames, V as systemConfigRecordKinds, u as isPrivateAddress, z as getProcessAgentHttpsNames } from "../../agent-https-
|
|
6
|
-
import { a as MESH_CA_KEY_REF, c as SERVER_AUTH_OID, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, r as MESH_CA_COMMON_NAME, s as MESH_CA_VALIDITY_DAYS, t as CLIENT_AUTH_OID } from "../../constants-
|
|
5
|
+
import { B as setProcessAgentHttpsNames, I as AGENT_HTTPS_NAMES_COLLECTION, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, R as AgentHttpsNames, V as systemConfigRecordKinds, u as isPrivateAddress, z as getProcessAgentHttpsNames } from "../../agent-https-CPJ7FTs0.mjs";
|
|
6
|
+
import { a as MESH_CA_KEY_REF, c as SERVER_AUTH_OID, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, r as MESH_CA_COMMON_NAME, s as MESH_CA_VALIDITY_DAYS, t as CLIENT_AUTH_OID } from "../../constants-CmGw1liQ.mjs";
|
|
7
7
|
import { t as require_src } from "../../src-hG4grMU4.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, randomInt, sign, timingSafeEqual, verify, webcrypto } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Dwi4JA96.js");
|
|
7
7
|
const require_formatter = require("../../formatter-DqAKDlvN.js");
|
|
8
8
|
const require_log_file_read_protocol = require("../../log-file-read-protocol-D0WcLbIV.js");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ln as logDestinationCapability, ei as BaseAddon } from "../../dist-
|
|
1
|
+
import { Ln as logDestinationCapability, ei as BaseAddon } from "../../dist-CR7idLer.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
|
|
3
3
|
import { a as LogFileIndexStore, i as serveRead, n as isFromReader, t as CancelBook } from "../../log-file-read-protocol-B7M3X3bT.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $r as errMsg, Kr as compositionSourceKey } from "./dist-
|
|
1
|
+
import { $r as errMsg, Kr as compositionSourceKey } from "./dist-CR7idLer.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/composition-sources.ts
|
|
3
3
|
/**
|
|
4
4
|
* Describe what a composition reads and writes for SAVE-time validation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
|
|
2
|
-
var MESH_CA_KEY_REF = require("./dist-
|
|
2
|
+
var MESH_CA_KEY_REF = require("./dist-Dwi4JA96.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as DEVICE_SAN_CREDENTIAL_PREFIX, Fi as buildSecretRef, j as DEVICE_SAN_USER_PREFIX } from "./dist-
|
|
1
|
+
import { A as DEVICE_SAN_CREDENTIAL_PREFIX, Fi as buildSecretRef, j as DEVICE_SAN_USER_PREFIX } from "./dist-CR7idLer.mjs";
|
|
2
2
|
import { S as backdatedNotBefore, a as KeyUsageFlags, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension } from "./x509.es-DK__ETIe.mjs";
|
|
3
3
|
import { X509Certificate, createPublicKey, randomBytes, verify, webcrypto } from "node:crypto";
|
|
4
4
|
//#region src/auth/jwt-signing-key.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import "node:crypto";
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-7pZEBmVg.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -688,6 +688,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
688
688
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
689
689
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
690
690
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
691
|
+
/**
|
|
692
|
+
* A notification rule that cannot work (D905): its stored row does not load,
|
|
693
|
+
* or it still names a device / delivery target the prune CONFIRMED deleted.
|
|
694
|
+
* One edge per rule per distinct set of reasons; never on an unanswered read.
|
|
695
|
+
*/
|
|
696
|
+
EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
|
|
697
|
+
/** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
|
|
698
|
+
EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
|
|
691
699
|
EventCategory["DeviceUpdated"] = "device.updated";
|
|
692
700
|
/**
|
|
693
701
|
* Transport-level connectivity. Emitted by the device driver when
|
|
@@ -745,7 +753,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
745
753
|
return EventCategory;
|
|
746
754
|
}({});
|
|
747
755
|
//#endregion
|
|
748
|
-
//#region ../types/dist/sleep-
|
|
756
|
+
//#region ../types/dist/sleep-CueztlR1.mjs
|
|
749
757
|
/**
|
|
750
758
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
751
759
|
* window to float samples (D455).
|
|
@@ -45008,6 +45016,8 @@ var NcSystemEventKindSchema = z.enum([
|
|
|
45008
45016
|
"alert-critical",
|
|
45009
45017
|
"alert-error",
|
|
45010
45018
|
"alert-critical-resolved",
|
|
45019
|
+
"rule-broken",
|
|
45020
|
+
"rule-repaired",
|
|
45011
45021
|
"camera-online",
|
|
45012
45022
|
"camera-offline",
|
|
45013
45023
|
"camera-disabled",
|
|
@@ -87393,6 +87403,8 @@ new Map(Object.entries({
|
|
|
87393
87403
|
"alert-critical": "system",
|
|
87394
87404
|
"alert-error": "system",
|
|
87395
87405
|
"alert-critical-resolved": "system",
|
|
87406
|
+
"rule-broken": "system",
|
|
87407
|
+
"rule-repaired": "system",
|
|
87396
87408
|
"storage-location-low": "system",
|
|
87397
87409
|
"storage-location-critical": "system",
|
|
87398
87410
|
"storage-location-ok": "system",
|
|
@@ -87527,6 +87539,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
87527
87539
|
"alert-critical-resolved"
|
|
87528
87540
|
]
|
|
87529
87541
|
},
|
|
87542
|
+
{
|
|
87543
|
+
id: "rule-health",
|
|
87544
|
+
family: "system",
|
|
87545
|
+
label: "Notification rules",
|
|
87546
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
87547
|
+
},
|
|
87530
87548
|
{
|
|
87531
87549
|
id: "alarm",
|
|
87532
87550
|
family: "alarm",
|
|
@@ -87846,6 +87864,10 @@ var STATE_SUMMARY_VARS = [
|
|
|
87846
87864
|
[...RULE_TEXT],
|
|
87847
87865
|
[...RULE_TEXT],
|
|
87848
87866
|
[...RULE_TEXT],
|
|
87867
|
+
[...RULE_TEXT],
|
|
87868
|
+
[...RULE_TEXT],
|
|
87869
|
+
[...RULE_TEXT],
|
|
87870
|
+
[...RULE_TEXT],
|
|
87849
87871
|
([...RULE_TEXT], [...UPDATES]),
|
|
87850
87872
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
87851
87873
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -87884,6 +87906,107 @@ var STATE_SUMMARY_VARS = [
|
|
|
87884
87906
|
[...RULE_TEXT],
|
|
87885
87907
|
...STATE_SUMMARY_VARS
|
|
87886
87908
|
];
|
|
87909
|
+
new Map([
|
|
87910
|
+
{
|
|
87911
|
+
id: "device-connectivity",
|
|
87912
|
+
family: "device-events",
|
|
87913
|
+
label: "Device connectivity (offline / back online)",
|
|
87914
|
+
bad: ["device-offline"],
|
|
87915
|
+
recovery: ["device-online"],
|
|
87916
|
+
snapshotLabel: "Devices offline now",
|
|
87917
|
+
snapshotSection: "device-state"
|
|
87918
|
+
},
|
|
87919
|
+
{
|
|
87920
|
+
id: "device-switch",
|
|
87921
|
+
family: "device-events",
|
|
87922
|
+
label: "Device switched off / back on",
|
|
87923
|
+
bad: ["device-disabled"],
|
|
87924
|
+
recovery: ["device-enabled"],
|
|
87925
|
+
snapshotLabel: "Devices switched off now",
|
|
87926
|
+
snapshotSection: "device-state"
|
|
87927
|
+
},
|
|
87928
|
+
{
|
|
87929
|
+
id: "stream-connectivity",
|
|
87930
|
+
family: "device-events",
|
|
87931
|
+
label: "Stream connectivity (offline / back online)",
|
|
87932
|
+
bad: ["stream-offline"],
|
|
87933
|
+
recovery: ["stream-online"],
|
|
87934
|
+
snapshotLabel: "Streams offline now",
|
|
87935
|
+
snapshotSection: "streams"
|
|
87936
|
+
},
|
|
87937
|
+
{
|
|
87938
|
+
id: "battery",
|
|
87939
|
+
family: "device-events",
|
|
87940
|
+
label: "Battery (low / back to normal)",
|
|
87941
|
+
bad: ["device-battery-low"],
|
|
87942
|
+
recovery: ["device-battery-normal"],
|
|
87943
|
+
snapshotLabel: "Batteries low now",
|
|
87944
|
+
snapshotSection: "battery"
|
|
87945
|
+
},
|
|
87946
|
+
{
|
|
87947
|
+
id: "consumables",
|
|
87948
|
+
family: "device-events",
|
|
87949
|
+
label: "Consumables (low / replaced)",
|
|
87950
|
+
bad: ["device-consumable-low"],
|
|
87951
|
+
recovery: ["device-consumable-normal"],
|
|
87952
|
+
snapshotLabel: "Consumables low now",
|
|
87953
|
+
snapshotSection: "consumables"
|
|
87954
|
+
},
|
|
87955
|
+
{
|
|
87956
|
+
id: "tanks",
|
|
87957
|
+
family: "device-events",
|
|
87958
|
+
label: "Tanks (low or full / back to normal)",
|
|
87959
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
87960
|
+
recovery: ["device-tank-normal"],
|
|
87961
|
+
snapshotLabel: "Tanks low or full now",
|
|
87962
|
+
snapshotSection: "tanks"
|
|
87963
|
+
},
|
|
87964
|
+
{
|
|
87965
|
+
id: "recording-health",
|
|
87966
|
+
family: "device-events",
|
|
87967
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
87968
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
87969
|
+
recovery: ["recording-healthy"],
|
|
87970
|
+
snapshotLabel: "Recordings stalled now",
|
|
87971
|
+
snapshotSection: null
|
|
87972
|
+
},
|
|
87973
|
+
{
|
|
87974
|
+
id: "node-connectivity",
|
|
87975
|
+
family: "system",
|
|
87976
|
+
label: "Node connectivity (offline / back online)",
|
|
87977
|
+
bad: ["node-offline"],
|
|
87978
|
+
recovery: ["node-online"],
|
|
87979
|
+
snapshotLabel: "Nodes offline now",
|
|
87980
|
+
snapshotSection: "nodes"
|
|
87981
|
+
},
|
|
87982
|
+
{
|
|
87983
|
+
id: "storage-space",
|
|
87984
|
+
family: "system",
|
|
87985
|
+
label: "Storage space (low or critical / ok again)",
|
|
87986
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
87987
|
+
recovery: ["storage-location-ok"],
|
|
87988
|
+
snapshotLabel: "Storage locations low now",
|
|
87989
|
+
snapshotSection: null
|
|
87990
|
+
},
|
|
87991
|
+
{
|
|
87992
|
+
id: "critical-alerts",
|
|
87993
|
+
family: "system",
|
|
87994
|
+
label: "Critical alerts (raised / resolved)",
|
|
87995
|
+
bad: ["alert-critical"],
|
|
87996
|
+
recovery: ["alert-critical-resolved"],
|
|
87997
|
+
snapshotLabel: "Critical alerts open now",
|
|
87998
|
+
snapshotSection: null
|
|
87999
|
+
},
|
|
88000
|
+
{
|
|
88001
|
+
id: "rule-health",
|
|
88002
|
+
family: "system",
|
|
88003
|
+
label: "Rule health (broken / repaired)",
|
|
88004
|
+
bad: ["rule-broken"],
|
|
88005
|
+
recovery: ["rule-repaired"],
|
|
88006
|
+
snapshotLabel: "Notification rules broken now",
|
|
88007
|
+
snapshotSection: null
|
|
88008
|
+
}
|
|
88009
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
87887
88010
|
new Set([
|
|
87888
88011
|
"disarmed",
|
|
87889
88012
|
"armed_home",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
let zod = require("zod");
|
|
2
2
|
require("node:crypto");
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-7pZEBmVg.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -688,6 +688,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
688
688
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
689
689
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
690
690
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
691
|
+
/**
|
|
692
|
+
* A notification rule that cannot work (D905): its stored row does not load,
|
|
693
|
+
* or it still names a device / delivery target the prune CONFIRMED deleted.
|
|
694
|
+
* One edge per rule per distinct set of reasons; never on an unanswered read.
|
|
695
|
+
*/
|
|
696
|
+
EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
|
|
697
|
+
/** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
|
|
698
|
+
EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
|
|
691
699
|
EventCategory["DeviceUpdated"] = "device.updated";
|
|
692
700
|
/**
|
|
693
701
|
* Transport-level connectivity. Emitted by the device driver when
|
|
@@ -745,7 +753,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
745
753
|
return EventCategory;
|
|
746
754
|
}({});
|
|
747
755
|
//#endregion
|
|
748
|
-
//#region ../types/dist/sleep-
|
|
756
|
+
//#region ../types/dist/sleep-CueztlR1.mjs
|
|
749
757
|
/**
|
|
750
758
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
751
759
|
* window to float samples (D455).
|
|
@@ -45008,6 +45016,8 @@ var NcSystemEventKindSchema = zod.z.enum([
|
|
|
45008
45016
|
"alert-critical",
|
|
45009
45017
|
"alert-error",
|
|
45010
45018
|
"alert-critical-resolved",
|
|
45019
|
+
"rule-broken",
|
|
45020
|
+
"rule-repaired",
|
|
45011
45021
|
"camera-online",
|
|
45012
45022
|
"camera-offline",
|
|
45013
45023
|
"camera-disabled",
|
|
@@ -87393,6 +87403,8 @@ new Map(Object.entries({
|
|
|
87393
87403
|
"alert-critical": "system",
|
|
87394
87404
|
"alert-error": "system",
|
|
87395
87405
|
"alert-critical-resolved": "system",
|
|
87406
|
+
"rule-broken": "system",
|
|
87407
|
+
"rule-repaired": "system",
|
|
87396
87408
|
"storage-location-low": "system",
|
|
87397
87409
|
"storage-location-critical": "system",
|
|
87398
87410
|
"storage-location-ok": "system",
|
|
@@ -87527,6 +87539,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
87527
87539
|
"alert-critical-resolved"
|
|
87528
87540
|
]
|
|
87529
87541
|
},
|
|
87542
|
+
{
|
|
87543
|
+
id: "rule-health",
|
|
87544
|
+
family: "system",
|
|
87545
|
+
label: "Notification rules",
|
|
87546
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
87547
|
+
},
|
|
87530
87548
|
{
|
|
87531
87549
|
id: "alarm",
|
|
87532
87550
|
family: "alarm",
|
|
@@ -87846,6 +87864,10 @@ var STATE_SUMMARY_VARS = [
|
|
|
87846
87864
|
[...RULE_TEXT],
|
|
87847
87865
|
[...RULE_TEXT],
|
|
87848
87866
|
[...RULE_TEXT],
|
|
87867
|
+
[...RULE_TEXT],
|
|
87868
|
+
[...RULE_TEXT],
|
|
87869
|
+
[...RULE_TEXT],
|
|
87870
|
+
[...RULE_TEXT],
|
|
87849
87871
|
([...RULE_TEXT], [...UPDATES]),
|
|
87850
87872
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
87851
87873
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -87884,6 +87906,107 @@ var STATE_SUMMARY_VARS = [
|
|
|
87884
87906
|
[...RULE_TEXT],
|
|
87885
87907
|
...STATE_SUMMARY_VARS
|
|
87886
87908
|
];
|
|
87909
|
+
new Map([
|
|
87910
|
+
{
|
|
87911
|
+
id: "device-connectivity",
|
|
87912
|
+
family: "device-events",
|
|
87913
|
+
label: "Device connectivity (offline / back online)",
|
|
87914
|
+
bad: ["device-offline"],
|
|
87915
|
+
recovery: ["device-online"],
|
|
87916
|
+
snapshotLabel: "Devices offline now",
|
|
87917
|
+
snapshotSection: "device-state"
|
|
87918
|
+
},
|
|
87919
|
+
{
|
|
87920
|
+
id: "device-switch",
|
|
87921
|
+
family: "device-events",
|
|
87922
|
+
label: "Device switched off / back on",
|
|
87923
|
+
bad: ["device-disabled"],
|
|
87924
|
+
recovery: ["device-enabled"],
|
|
87925
|
+
snapshotLabel: "Devices switched off now",
|
|
87926
|
+
snapshotSection: "device-state"
|
|
87927
|
+
},
|
|
87928
|
+
{
|
|
87929
|
+
id: "stream-connectivity",
|
|
87930
|
+
family: "device-events",
|
|
87931
|
+
label: "Stream connectivity (offline / back online)",
|
|
87932
|
+
bad: ["stream-offline"],
|
|
87933
|
+
recovery: ["stream-online"],
|
|
87934
|
+
snapshotLabel: "Streams offline now",
|
|
87935
|
+
snapshotSection: "streams"
|
|
87936
|
+
},
|
|
87937
|
+
{
|
|
87938
|
+
id: "battery",
|
|
87939
|
+
family: "device-events",
|
|
87940
|
+
label: "Battery (low / back to normal)",
|
|
87941
|
+
bad: ["device-battery-low"],
|
|
87942
|
+
recovery: ["device-battery-normal"],
|
|
87943
|
+
snapshotLabel: "Batteries low now",
|
|
87944
|
+
snapshotSection: "battery"
|
|
87945
|
+
},
|
|
87946
|
+
{
|
|
87947
|
+
id: "consumables",
|
|
87948
|
+
family: "device-events",
|
|
87949
|
+
label: "Consumables (low / replaced)",
|
|
87950
|
+
bad: ["device-consumable-low"],
|
|
87951
|
+
recovery: ["device-consumable-normal"],
|
|
87952
|
+
snapshotLabel: "Consumables low now",
|
|
87953
|
+
snapshotSection: "consumables"
|
|
87954
|
+
},
|
|
87955
|
+
{
|
|
87956
|
+
id: "tanks",
|
|
87957
|
+
family: "device-events",
|
|
87958
|
+
label: "Tanks (low or full / back to normal)",
|
|
87959
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
87960
|
+
recovery: ["device-tank-normal"],
|
|
87961
|
+
snapshotLabel: "Tanks low or full now",
|
|
87962
|
+
snapshotSection: "tanks"
|
|
87963
|
+
},
|
|
87964
|
+
{
|
|
87965
|
+
id: "recording-health",
|
|
87966
|
+
family: "device-events",
|
|
87967
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
87968
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
87969
|
+
recovery: ["recording-healthy"],
|
|
87970
|
+
snapshotLabel: "Recordings stalled now",
|
|
87971
|
+
snapshotSection: null
|
|
87972
|
+
},
|
|
87973
|
+
{
|
|
87974
|
+
id: "node-connectivity",
|
|
87975
|
+
family: "system",
|
|
87976
|
+
label: "Node connectivity (offline / back online)",
|
|
87977
|
+
bad: ["node-offline"],
|
|
87978
|
+
recovery: ["node-online"],
|
|
87979
|
+
snapshotLabel: "Nodes offline now",
|
|
87980
|
+
snapshotSection: "nodes"
|
|
87981
|
+
},
|
|
87982
|
+
{
|
|
87983
|
+
id: "storage-space",
|
|
87984
|
+
family: "system",
|
|
87985
|
+
label: "Storage space (low or critical / ok again)",
|
|
87986
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
87987
|
+
recovery: ["storage-location-ok"],
|
|
87988
|
+
snapshotLabel: "Storage locations low now",
|
|
87989
|
+
snapshotSection: null
|
|
87990
|
+
},
|
|
87991
|
+
{
|
|
87992
|
+
id: "critical-alerts",
|
|
87993
|
+
family: "system",
|
|
87994
|
+
label: "Critical alerts (raised / resolved)",
|
|
87995
|
+
bad: ["alert-critical"],
|
|
87996
|
+
recovery: ["alert-critical-resolved"],
|
|
87997
|
+
snapshotLabel: "Critical alerts open now",
|
|
87998
|
+
snapshotSection: null
|
|
87999
|
+
},
|
|
88000
|
+
{
|
|
88001
|
+
id: "rule-health",
|
|
88002
|
+
family: "system",
|
|
88003
|
+
label: "Rule health (broken / repaired)",
|
|
88004
|
+
bad: ["rule-broken"],
|
|
88005
|
+
recovery: ["rule-repaired"],
|
|
88006
|
+
snapshotLabel: "Notification rules broken now",
|
|
88007
|
+
snapshotSection: null
|
|
88008
|
+
}
|
|
88009
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
87887
88010
|
new Set([
|
|
87888
88011
|
"disarmed",
|
|
87889
88012
|
"armed_home",
|
package/dist/file-host-worker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
2
|
+
const require_wal_maintenance = require("./wal-maintenance-BQlvAduo.js");
|
|
3
3
|
let node_worker_threads = require("node:worker_threads");
|
|
4
4
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as RecordsEngine, D as callVector, E as callRecords, O as controlTargetOf, T as callData, _ as collectTransferables, a as WalMaintenance, b as isFileHostWorkerData, h as serializeError, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, w as callControl, x as trustInput, y as isFileHostRequest } from "./wal-maintenance-
|
|
1
|
+
import { C as RecordsEngine, D as callVector, E as callRecords, O as controlTargetOf, T as callData, _ as collectTransferables, a as WalMaintenance, b as isFileHostWorkerData, h as serializeError, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, w as callControl, x as trustInput, y as isFileHostRequest } from "./wal-maintenance-BDQT7TIi.mjs";
|
|
2
2
|
import { parentPort, threadId, workerData } from "node:worker_threads";
|
|
3
3
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-Dwi4JA96.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-C4cOo48M.js");
|
|
4
|
-
const require_agent_https = require("./agent-https-
|
|
4
|
+
const require_agent_https = require("./agent-https-CzA1AmyI.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs_promises = require("node:fs/promises");
|