@camstack/server 1.2.725 → 1.2.727
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/CHANGELOG.md +12 -0
- package/package.json +7 -7
- package/system/dist/{agent-https-DuZMpe3P.mjs → agent-https-BFjd0kVS.mjs} +1 -1
- package/system/dist/{agent-https-CzkxjkB5.js → agent-https-Cm8wrQ3N.js} +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +3 -3
- package/system/dist/builtins/composer/composer.addon.mjs +3 -3
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +1 -1
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +3 -3
- package/system/dist/builtins/keychain/index.mjs +3 -3
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +2 -2
- package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +2 -2
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2 -2
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{composition-sources-DKx0-ndC.mjs → composition-sources-CMLKuImu.mjs} +1 -1
- package/system/dist/{composition-sources-B5uJfQqd.js → composition-sources-DbRy2m6-.js} +1 -1
- package/system/dist/{constants-n9Ip2uKi.js → constants-BpTCwvl7.js} +1 -1
- package/system/dist/{constants-HoyXps3n.mjs → constants-z0p-SIpO.mjs} +1 -1
- package/system/dist/{device-ca-BiQeJXfU.mjs → device-ca-IFiCeZUY.mjs} +1 -1
- package/system/dist/{device-ca-Cw3JZPXq.js → device-ca-tXY-d38g.js} +1 -1
- package/system/dist/{dist-D35rKdpn.mjs → dist-8RpYuR_b.mjs} +128 -8
- package/system/dist/{dist-DngPUHs2.js → dist-BvVArCmo.js} +128 -8
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-mdns-ciao-CChO-G09.js → hub-mdns-ciao-BGTQuEAj.js} +2 -2
- package/system/dist/{hub-mdns-ciao-C4upkgCX.mjs → hub-mdns-ciao-ChnLH7jR.mjs} +2 -2
- package/system/dist/index.js +7 -7
- package/system/dist/index.mjs +7 -7
- package/system/dist/{restore-archive-Lb1DCZll.js → restore-archive-CmljxWcJ.js} +1 -1
- package/system/dist/{restore-archive-Dr_FY9P0.mjs → restore-archive-gcyWu7gb.mjs} +1 -1
- package/system/dist/{retention-IAzprg-c.js → retention-DRAqh5oQ.js} +1 -1
- package/system/dist/{retention-CwKSqRi5.mjs → retention-DwnQVMqM.mjs} +1 -1
- package/system/dist/{wal-maintenance-D49HVxcB.mjs → wal-maintenance-CH6boUNm.mjs} +0 -0
- package/system/dist/{wal-maintenance-DMP7fhqn.js → wal-maintenance-DOIYwfc8.js} +0 -0
- package/system/package.json +1 -1
|
@@ -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-DOIYwfc8.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 { B as SQLITE_ENGINE_STORM_WALL_SHARE, F as SQLITE_MMAP_FLOOR_BYTES, G as SqliteOpProfiler, H as SQLITE_PROFILE_REPORT_INTERVAL_MS, I as SQLITE_PAGE_CACHE_CEILING_KIB, K as sqliteEngineStorm, L as SQLITE_PAGE_CACHE_FLOOR_KIB, N as SQLITE_JOURNAL_SIZE_LIMIT_BYTES, P as SQLITE_MMAP_CEILING_BYTES, R as sqliteMmapSizeFor, U as SQLITE_PROFILE_TOP_N, V as SQLITE_PROFILE_REPORT_FLOOR_MS, W as SQLITE_SLOW_CALL_MS, a as WalMaintenance, i as WAL_MAINTENANCE_INTERVAL_MS, l as SqliteSettingsBackend, n as WAL_HIGH_WATER_BYTES, r as WAL_IDLE_QUIET_MS, t as WAL_CHECKPOINT_BUSY_TIMEOUT_MS, z as sqlitePageCacheKibFor } from "../../wal-maintenance-
|
|
2
|
+
import { B as SQLITE_ENGINE_STORM_WALL_SHARE, F as SQLITE_MMAP_FLOOR_BYTES, G as SqliteOpProfiler, H as SQLITE_PROFILE_REPORT_INTERVAL_MS, I as SQLITE_PAGE_CACHE_CEILING_KIB, K as sqliteEngineStorm, L as SQLITE_PAGE_CACHE_FLOOR_KIB, N as SQLITE_JOURNAL_SIZE_LIMIT_BYTES, P as SQLITE_MMAP_CEILING_BYTES, R as sqliteMmapSizeFor, U as SQLITE_PROFILE_TOP_N, V as SQLITE_PROFILE_REPORT_FLOOR_MS, W as SQLITE_SLOW_CALL_MS, a as WalMaintenance, i as WAL_MAINTENANCE_INTERVAL_MS, l as SqliteSettingsBackend, n as WAL_HIGH_WATER_BYTES, r as WAL_IDLE_QUIET_MS, t as WAL_CHECKPOINT_BUSY_TIMEOUT_MS, z as sqlitePageCacheKibFor } from "../../wal-maintenance-CH6boUNm.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-BvVArCmo.js");
|
|
7
7
|
const require_retired_settings_keys = require("../../retired-settings-keys-C8nOOr5H.js");
|
|
8
|
-
const require_wal_maintenance = require("../../wal-maintenance-
|
|
8
|
+
const require_wal_maintenance = require("../../wal-maintenance-DOIYwfc8.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 zod = require("zod");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $i as storageAdminCapability, A as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, Ao as UnknownRecordKindError, Bo as collectSecretMarkerRefs, In as dataStoreProviderCapability, Ln as databaseSnapshotCapability, M as DATABASE_SNAPSHOT_TIMEOUT_MS, Ms as EventCategory, N as DATA_STORE_DATABASES, Oo as TransactRefusedError, Qa as BaseAddon, Uo as customAction, Wo as defineCustomActions, Yr as migrationsCapability, co as InvalidRecordError, ds as normalizeSecretOwner, ga as vectorStoreCapability, ho as RECORD_SWEEP_INTERVAL_MS, io as DeclarationRefusedError, j as DATABASE_SNAPSHOT_SUFFIX, js as errMsg$1, lo as NoCallerError, on as bareAddonId, si as orderMigrations, vn as catalogueIssues, vo as RUNTIME_DEFAULTS, xi as recordsCapability, xo as RecordKindDeclarationSchema, yt as MigrationMetaSchema } from "../../dist-
|
|
1
|
+
import { $i as storageAdminCapability, A as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, Ao as UnknownRecordKindError, Bo as collectSecretMarkerRefs, In as dataStoreProviderCapability, Ln as databaseSnapshotCapability, M as DATABASE_SNAPSHOT_TIMEOUT_MS, Ms as EventCategory, N as DATA_STORE_DATABASES, Oo as TransactRefusedError, Qa as BaseAddon, Uo as customAction, Wo as defineCustomActions, Yr as migrationsCapability, co as InvalidRecordError, ds as normalizeSecretOwner, ga as vectorStoreCapability, ho as RECORD_SWEEP_INTERVAL_MS, io as DeclarationRefusedError, j as DATABASE_SNAPSHOT_SUFFIX, js as errMsg$1, lo as NoCallerError, on as bareAddonId, si as orderMigrations, vn as catalogueIssues, vo as RUNTIME_DEFAULTS, xi as recordsCapability, xo as RecordKindDeclarationSchema, yt as MigrationMetaSchema } from "../../dist-8RpYuR_b.mjs";
|
|
2
2
|
import { r as retiredKeyStoreOf, t as purgeRetiredSettingsKeys } from "../../retired-settings-keys-u6xQA6r7.mjs";
|
|
3
|
-
import { A as callRecords, D as RecordsEngine, E as databaseOfStore, M as controlTargetOf, O as callControl, T as trustResult, _ as rehydrateError, a as WalMaintenance, b as collectTransferables, c as vectorProviderOfOwnedFile, d as callMigrate, f as migrateTargetOf, g as DuplicatePlacementError, h as DatabaseBusyError, j as callVector, k as callData, l as SqliteSettingsBackend, m as CrossDatabaseTransactError, o as createVectorIndex, p as CollectionPlacementError, s as vectorProviderOf, u as HUB_MIGRATIONS, x as isFileHostMessage } from "../../wal-maintenance-
|
|
3
|
+
import { A as callRecords, D as RecordsEngine, E as databaseOfStore, M as controlTargetOf, O as callControl, T as trustResult, _ as rehydrateError, a as WalMaintenance, b as collectTransferables, c as vectorProviderOfOwnedFile, d as callMigrate, f as migrateTargetOf, g as DuplicatePlacementError, h as DatabaseBusyError, j as callVector, k as callData, l as SqliteSettingsBackend, m as CrossDatabaseTransactError, o as createVectorIndex, p as CollectionPlacementError, s as vectorProviderOf, u as HUB_MIGRATIONS, x as isFileHostMessage } from "../../wal-maintenance-CH6boUNm.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-BvVArCmo.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 { Bt as StorageLocationModeSchema, Er as isLocationEnabled, Go as defineRecordKinds, Ht as StorageMigrationJobSchema, Mi as resolveLocationMode, Ms as EventCategory, Nr as legacyModeOf, Qa as BaseAddon, Ro as collectSecretConfigKeys, Ts as transformSecretWrite, Ur as mayReadLocation, Vt as StorageLocationTypeSchema, Wi as settingsStoreCapability, Wr as mayWriteToLocation, Xr as modeMayWrite, bs as secretTreeFromPaths, ea as storageCapability, fs as parseJsonObject, go as REDACTED_SECRET, is as isSecretMarker, nr as evictionPolicyOfLocation, pr as gbToBytes, pt as LegacyStorageLocationDefaultSchema, ta as storageMigrationCapability, us as normalizeNodeId, vs as resolveSecretMarkers, ya as withLocationMode, zt as StorageCleanupJobSchema } from "../../dist-
|
|
1
|
+
import { Bt as StorageLocationModeSchema, Er as isLocationEnabled, Go as defineRecordKinds, Ht as StorageMigrationJobSchema, Mi as resolveLocationMode, Ms as EventCategory, Nr as legacyModeOf, Qa as BaseAddon, Ro as collectSecretConfigKeys, Ts as transformSecretWrite, Ur as mayReadLocation, Vt as StorageLocationTypeSchema, Wi as settingsStoreCapability, Wr as mayWriteToLocation, Xr as modeMayWrite, bs as secretTreeFromPaths, ea as storageCapability, fs as parseJsonObject, go as REDACTED_SECRET, is as isSecretMarker, nr as evictionPolicyOfLocation, pr as gbToBytes, pt as LegacyStorageLocationDefaultSchema, ta as storageMigrationCapability, us as normalizeNodeId, vs as resolveSecretMarkers, ya as withLocationMode, zt as StorageCleanupJobSchema } from "../../dist-8RpYuR_b.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-BvVArCmo.js");
|
|
7
7
|
const require_safe_buffer$1 = require("../../safe-buffer-D3aoa-7X.js");
|
|
8
8
|
const require_x509_es = require("../../x509.es-WtnRNyYS.js");
|
|
9
|
-
const require_agent_https = require("../../agent-https-
|
|
10
|
-
const require_constants$8 = require("../../constants-
|
|
9
|
+
const require_agent_https = require("../../agent-https-Cm8wrQ3N.js");
|
|
10
|
+
const require_constants$8 = require("../../constants-BpTCwvl7.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 { Ji as shortHostname, Lt as ServerNameSchema, Qa as BaseAddon, Qo as hydrateSchema, Uo as customAction, Wo as defineCustomActions, js as errMsg } from "../../dist-
|
|
2
|
+
import { Ji as shortHostname, Lt as ServerNameSchema, Qa as BaseAddon, Qo as hydrateSchema, Uo as customAction, Wo as defineCustomActions, js as errMsg } from "../../dist-8RpYuR_b.mjs";
|
|
3
3
|
import { t as require_safe_buffer } from "../../safe-buffer-B1OjL1I9.mjs";
|
|
4
4
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, 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-BRiJgOvu.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-BFjd0kVS.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-z0p-SIpO.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-BvVArCmo.js");
|
|
7
7
|
const require_formatter = require("../../formatter-xbxeV4GD.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 { Br as logDestinationCapability, Qa as BaseAddon } from "../../dist-
|
|
1
|
+
import { Br as logDestinationCapability, Qa as BaseAddon } from "../../dist-8RpYuR_b.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-DkYZ4LXp.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 { Fa as compositionSourceKey, js as errMsg } from "./dist-
|
|
1
|
+
import { Fa as compositionSourceKey, js as errMsg } from "./dist-8RpYuR_b.mjs";
|
|
2
2
|
//#region src/builtins/shared/device-state-changed.ts
|
|
3
3
|
/** Structural narrowing helper for untrusted bus payloads. */
|
|
4
4
|
function isRecord(value) {
|
|
@@ -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-BvVArCmo.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as DEVICE_SAN_USER_PREFIX, Lo as buildSecretRef, V as DEVICE_SAN_CREDENTIAL_PREFIX } from "./dist-
|
|
1
|
+
import { H as DEVICE_SAN_USER_PREFIX, Lo as buildSecretRef, V as DEVICE_SAN_CREDENTIAL_PREFIX } from "./dist-8RpYuR_b.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, 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-BRiJgOvu.mjs";
|
|
3
3
|
import { X509Certificate, createPublicKey, randomBytes, verify, webcrypto } from "node:crypto";
|
|
4
4
|
//#region src/auth/jwt-signing-key.ts
|
|
@@ -47895,7 +47895,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
47895
47895
|
kind: "constant",
|
|
47896
47896
|
path: "phase",
|
|
47897
47897
|
value: null,
|
|
47898
|
-
when: "
|
|
47898
|
+
when: "add"
|
|
47899
47899
|
},
|
|
47900
47900
|
{
|
|
47901
47901
|
kind: "clock",
|
|
@@ -47908,6 +47908,10 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
47908
47908
|
sourceChangedAt: "prefer"
|
|
47909
47909
|
}
|
|
47910
47910
|
]
|
|
47911
|
+
}],
|
|
47912
|
+
overridable: [{
|
|
47913
|
+
path: "running",
|
|
47914
|
+
by: "running"
|
|
47911
47915
|
}]
|
|
47912
47916
|
}
|
|
47913
47917
|
};
|
|
@@ -50457,7 +50461,11 @@ var customizeCatalog = CAP_CUSTOMIZE_CATALOG;
|
|
|
50457
50461
|
* the catalog. No items, no commands, no field outside the list; no cap is named.
|
|
50458
50462
|
*/
|
|
50459
50463
|
function overridesOnlyDeclared(feature) {
|
|
50460
|
-
const
|
|
50464
|
+
const entry = customizeCatalog[feature.cap];
|
|
50465
|
+
const allowed = new Set((entry?.overridable ?? []).flatMap((o) => {
|
|
50466
|
+
const companions = ((entry?.targets.find((t) => t.id === o.by && t.path === o.path))?.companions ?? []).filter((c) => c.kind === "transition-time" || c.when === "always");
|
|
50467
|
+
return [o.path, ...companions.map((c) => c.path)];
|
|
50468
|
+
}));
|
|
50461
50469
|
const paths = Object.keys(feature.fields);
|
|
50462
50470
|
return paths.length > 0 && paths.every((path) => allowed.has(path)) && feature.items === void 0 && feature.commands === void 0;
|
|
50463
50471
|
}
|
|
@@ -59074,7 +59082,8 @@ var PALETTE_ENTRY_IDS = [
|
|
|
59074
59082
|
"switch",
|
|
59075
59083
|
"siren",
|
|
59076
59084
|
"button",
|
|
59077
|
-
"doorbell"
|
|
59085
|
+
"doorbell",
|
|
59086
|
+
"appliance-cycle"
|
|
59078
59087
|
];
|
|
59079
59088
|
var AUDIO_ENTRY_ID = "audio";
|
|
59080
59089
|
/** Six rungs, quiet → loud. The opaque end is the entry's hex. */
|
|
@@ -59145,7 +59154,8 @@ var CAMSTACK_HEX = {
|
|
|
59145
59154
|
switch: "#7a812a",
|
|
59146
59155
|
siren: "#ac5d7f",
|
|
59147
59156
|
button: "#b276cd",
|
|
59148
|
-
doorbell: "#0087ab"
|
|
59157
|
+
doorbell: "#0087ab",
|
|
59158
|
+
"appliance-cycle": "#2a8c8c"
|
|
59149
59159
|
};
|
|
59150
59160
|
var CAMSTACK_FALLBACK = [
|
|
59151
59161
|
"#b34dc7",
|
|
@@ -59210,7 +59220,8 @@ var HIGH_CONTRAST_HEX = {
|
|
|
59210
59220
|
switch: "#d05259",
|
|
59211
59221
|
siren: "#cd67b3",
|
|
59212
59222
|
button: "#c9746a",
|
|
59213
|
-
doorbell: "#338eeb"
|
|
59223
|
+
doorbell: "#338eeb",
|
|
59224
|
+
"appliance-cycle": "#00848a"
|
|
59214
59225
|
};
|
|
59215
59226
|
var HIGH_CONTRAST_FALLBACK = [
|
|
59216
59227
|
"#817f3b",
|
|
@@ -59275,7 +59286,8 @@ var OKABE_ITO_HEX = {
|
|
|
59275
59286
|
switch: "#ad2c4e",
|
|
59276
59287
|
siren: "#348e08",
|
|
59277
59288
|
button: "#d27303",
|
|
59278
|
-
doorbell: "#55770f"
|
|
59289
|
+
doorbell: "#55770f",
|
|
59290
|
+
"appliance-cycle": "#00737d"
|
|
59279
59291
|
};
|
|
59280
59292
|
var OKABE_ITO_FALLBACK = [
|
|
59281
59293
|
"#9a3784",
|
|
@@ -59487,6 +59499,7 @@ sub("switch", "control", "control", "switch", "Switch");
|
|
|
59487
59499
|
sub("siren", "control", "control", "siren", "Siren");
|
|
59488
59500
|
sub("button", "control", "control", "button", "Button");
|
|
59489
59501
|
sub("doorbell", "control", "control", "doorbell", "Doorbell");
|
|
59502
|
+
sub("appliance-cycle", "control", "control", "switch", "Appliance cycle");
|
|
59490
59503
|
for (const l of AUDIO_MACRO_LABELS) {
|
|
59491
59504
|
const kind = `audio-${l.id}`;
|
|
59492
59505
|
if (entries.has(kind)) continue;
|
|
@@ -70033,7 +70046,8 @@ var CAP_TO_KIND = {
|
|
|
70033
70046
|
cover: "cover",
|
|
70034
70047
|
switch: "switch",
|
|
70035
70048
|
button: "button",
|
|
70036
|
-
doorbell: "doorbell"
|
|
70049
|
+
doorbell: "doorbell",
|
|
70050
|
+
"running-state": "appliance-cycle"
|
|
70037
70051
|
};
|
|
70038
70052
|
function buildDescriptor(capName, kind) {
|
|
70039
70053
|
const t = EVENT_TAXONOMY[kind];
|
|
@@ -84604,6 +84618,10 @@ var RUNNING_DEVICE_TYPES = Object.values(DeviceType);
|
|
|
84604
84618
|
/** Generic Customize target for the running boolean (D936). */
|
|
84605
84619
|
var runningCustomize = {
|
|
84606
84620
|
version: 1,
|
|
84621
|
+
overridable: [{
|
|
84622
|
+
path: "running",
|
|
84623
|
+
by: "running"
|
|
84624
|
+
}],
|
|
84607
84625
|
targets: [{
|
|
84608
84626
|
id: "running",
|
|
84609
84627
|
cardinality: "scalar",
|
|
@@ -84661,7 +84679,7 @@ var runningCustomize = {
|
|
|
84661
84679
|
kind: "constant",
|
|
84662
84680
|
path: "phase",
|
|
84663
84681
|
value: null,
|
|
84664
|
-
when: "
|
|
84682
|
+
when: "add"
|
|
84665
84683
|
},
|
|
84666
84684
|
{
|
|
84667
84685
|
kind: "clock",
|
|
@@ -106770,13 +106788,114 @@ NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
|
106770
106788
|
*
|
|
106771
106789
|
* Pure, RN-safe: the viewer imports the support rule from here.
|
|
106772
106790
|
*/
|
|
106791
|
+
/**
|
|
106792
|
+
* Control caps that still have a raise and a clear an operator names: an
|
|
106793
|
+
* appliance cycle raises when it STARTS and clears when it FINISHES. Kept out
|
|
106794
|
+
* of `SOURCE_CAP_ACTIVE_FIELD` on purpose — that table also makes a device a
|
|
106795
|
+
* camera-sensor / recorder-trigger source, and a dishwasher is neither.
|
|
106796
|
+
*/
|
|
106797
|
+
var CYCLE_RAISED_FIELD_BY_CAP = { "running-state": "running" };
|
|
106773
106798
|
/** Event kind → the boolean field of its cap slice that means "raised". */
|
|
106774
106799
|
var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.entries(EVENT_KIND_BY_CAP).flatMap(([capName, descriptor]) => {
|
|
106800
|
+
const cycleField = CYCLE_RAISED_FIELD_BY_CAP[capName];
|
|
106801
|
+
if (cycleField !== void 0) return [[descriptor.kind, cycleField]];
|
|
106775
106802
|
const field = SOURCE_CAP_ACTIVE_FIELD[capName];
|
|
106776
106803
|
if (field === void 0 || descriptor.category !== "sensor") return [];
|
|
106777
106804
|
return [[descriptor.kind, field]];
|
|
106778
106805
|
})));
|
|
106779
106806
|
Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
|
|
106807
|
+
Object.freeze({
|
|
106808
|
+
contact: {
|
|
106809
|
+
starts: {
|
|
106810
|
+
en: "opened",
|
|
106811
|
+
it: "si apre"
|
|
106812
|
+
},
|
|
106813
|
+
finishes: {
|
|
106814
|
+
en: "closed",
|
|
106815
|
+
it: "si chiude"
|
|
106816
|
+
}
|
|
106817
|
+
},
|
|
106818
|
+
"motion-sensor": {
|
|
106819
|
+
starts: {
|
|
106820
|
+
en: "motion detected",
|
|
106821
|
+
it: "movimento rilevato"
|
|
106822
|
+
},
|
|
106823
|
+
finishes: {
|
|
106824
|
+
en: "motion stopped",
|
|
106825
|
+
it: "movimento terminato"
|
|
106826
|
+
}
|
|
106827
|
+
},
|
|
106828
|
+
smoke: {
|
|
106829
|
+
starts: {
|
|
106830
|
+
en: "smoke detected",
|
|
106831
|
+
it: "fumo rilevato"
|
|
106832
|
+
},
|
|
106833
|
+
finishes: {
|
|
106834
|
+
en: "smoke gone",
|
|
106835
|
+
it: "fumo scomparso"
|
|
106836
|
+
}
|
|
106837
|
+
},
|
|
106838
|
+
flood: {
|
|
106839
|
+
starts: {
|
|
106840
|
+
en: "water detected",
|
|
106841
|
+
it: "acqua rilevata"
|
|
106842
|
+
},
|
|
106843
|
+
finishes: {
|
|
106844
|
+
en: "dry again",
|
|
106845
|
+
it: "di nuovo asciutto"
|
|
106846
|
+
}
|
|
106847
|
+
},
|
|
106848
|
+
gas: {
|
|
106849
|
+
starts: {
|
|
106850
|
+
en: "gas detected",
|
|
106851
|
+
it: "gas rilevato"
|
|
106852
|
+
},
|
|
106853
|
+
finishes: {
|
|
106854
|
+
en: "gas gone",
|
|
106855
|
+
it: "gas scomparso"
|
|
106856
|
+
}
|
|
106857
|
+
},
|
|
106858
|
+
"carbon-monoxide": {
|
|
106859
|
+
starts: {
|
|
106860
|
+
en: "carbon monoxide detected",
|
|
106861
|
+
it: "monossido rilevato"
|
|
106862
|
+
},
|
|
106863
|
+
finishes: {
|
|
106864
|
+
en: "carbon monoxide gone",
|
|
106865
|
+
it: "monossido scomparso"
|
|
106866
|
+
}
|
|
106867
|
+
},
|
|
106868
|
+
vibration: {
|
|
106869
|
+
starts: {
|
|
106870
|
+
en: "vibration detected",
|
|
106871
|
+
it: "vibrazione rilevata"
|
|
106872
|
+
},
|
|
106873
|
+
finishes: {
|
|
106874
|
+
en: "vibration stopped",
|
|
106875
|
+
it: "vibrazione terminata"
|
|
106876
|
+
}
|
|
106877
|
+
},
|
|
106878
|
+
tamper: {
|
|
106879
|
+
starts: {
|
|
106880
|
+
en: "tampered with",
|
|
106881
|
+
it: "manomesso"
|
|
106882
|
+
},
|
|
106883
|
+
finishes: {
|
|
106884
|
+
en: "tamper cleared",
|
|
106885
|
+
it: "manomissione rientrata"
|
|
106886
|
+
}
|
|
106887
|
+
},
|
|
106888
|
+
"appliance-cycle": {
|
|
106889
|
+
starts: {
|
|
106890
|
+
en: "the cycle started",
|
|
106891
|
+
it: "il ciclo parte"
|
|
106892
|
+
},
|
|
106893
|
+
finishes: {
|
|
106894
|
+
en: "the cycle finished",
|
|
106895
|
+
it: "il ciclo è terminato"
|
|
106896
|
+
}
|
|
106897
|
+
}
|
|
106898
|
+
});
|
|
106780
106899
|
z.object({
|
|
106781
106900
|
phase: z.enum(["raised", "resolved"]),
|
|
106782
106901
|
episodeId: z.string().min(1),
|
|
@@ -107286,6 +107405,7 @@ new Set([
|
|
|
107286
107405
|
"siren",
|
|
107287
107406
|
"button",
|
|
107288
107407
|
"doorbell",
|
|
107408
|
+
"appliance-cycle",
|
|
107289
107409
|
"audio-speech",
|
|
107290
107410
|
"audio-scream",
|
|
107291
107411
|
"audio-crying",
|
|
@@ -47895,7 +47895,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
47895
47895
|
kind: "constant",
|
|
47896
47896
|
path: "phase",
|
|
47897
47897
|
value: null,
|
|
47898
|
-
when: "
|
|
47898
|
+
when: "add"
|
|
47899
47899
|
},
|
|
47900
47900
|
{
|
|
47901
47901
|
kind: "clock",
|
|
@@ -47908,6 +47908,10 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
47908
47908
|
sourceChangedAt: "prefer"
|
|
47909
47909
|
}
|
|
47910
47910
|
]
|
|
47911
|
+
}],
|
|
47912
|
+
overridable: [{
|
|
47913
|
+
path: "running",
|
|
47914
|
+
by: "running"
|
|
47911
47915
|
}]
|
|
47912
47916
|
}
|
|
47913
47917
|
};
|
|
@@ -50457,7 +50461,11 @@ var customizeCatalog = CAP_CUSTOMIZE_CATALOG;
|
|
|
50457
50461
|
* the catalog. No items, no commands, no field outside the list; no cap is named.
|
|
50458
50462
|
*/
|
|
50459
50463
|
function overridesOnlyDeclared(feature) {
|
|
50460
|
-
const
|
|
50464
|
+
const entry = customizeCatalog[feature.cap];
|
|
50465
|
+
const allowed = new Set((entry?.overridable ?? []).flatMap((o) => {
|
|
50466
|
+
const companions = ((entry?.targets.find((t) => t.id === o.by && t.path === o.path))?.companions ?? []).filter((c) => c.kind === "transition-time" || c.when === "always");
|
|
50467
|
+
return [o.path, ...companions.map((c) => c.path)];
|
|
50468
|
+
}));
|
|
50461
50469
|
const paths = Object.keys(feature.fields);
|
|
50462
50470
|
return paths.length > 0 && paths.every((path) => allowed.has(path)) && feature.items === void 0 && feature.commands === void 0;
|
|
50463
50471
|
}
|
|
@@ -59074,7 +59082,8 @@ var PALETTE_ENTRY_IDS = [
|
|
|
59074
59082
|
"switch",
|
|
59075
59083
|
"siren",
|
|
59076
59084
|
"button",
|
|
59077
|
-
"doorbell"
|
|
59085
|
+
"doorbell",
|
|
59086
|
+
"appliance-cycle"
|
|
59078
59087
|
];
|
|
59079
59088
|
var AUDIO_ENTRY_ID = "audio";
|
|
59080
59089
|
/** Six rungs, quiet → loud. The opaque end is the entry's hex. */
|
|
@@ -59145,7 +59154,8 @@ var CAMSTACK_HEX = {
|
|
|
59145
59154
|
switch: "#7a812a",
|
|
59146
59155
|
siren: "#ac5d7f",
|
|
59147
59156
|
button: "#b276cd",
|
|
59148
|
-
doorbell: "#0087ab"
|
|
59157
|
+
doorbell: "#0087ab",
|
|
59158
|
+
"appliance-cycle": "#2a8c8c"
|
|
59149
59159
|
};
|
|
59150
59160
|
var CAMSTACK_FALLBACK = [
|
|
59151
59161
|
"#b34dc7",
|
|
@@ -59210,7 +59220,8 @@ var HIGH_CONTRAST_HEX = {
|
|
|
59210
59220
|
switch: "#d05259",
|
|
59211
59221
|
siren: "#cd67b3",
|
|
59212
59222
|
button: "#c9746a",
|
|
59213
|
-
doorbell: "#338eeb"
|
|
59223
|
+
doorbell: "#338eeb",
|
|
59224
|
+
"appliance-cycle": "#00848a"
|
|
59214
59225
|
};
|
|
59215
59226
|
var HIGH_CONTRAST_FALLBACK = [
|
|
59216
59227
|
"#817f3b",
|
|
@@ -59275,7 +59286,8 @@ var OKABE_ITO_HEX = {
|
|
|
59275
59286
|
switch: "#ad2c4e",
|
|
59276
59287
|
siren: "#348e08",
|
|
59277
59288
|
button: "#d27303",
|
|
59278
|
-
doorbell: "#55770f"
|
|
59289
|
+
doorbell: "#55770f",
|
|
59290
|
+
"appliance-cycle": "#00737d"
|
|
59279
59291
|
};
|
|
59280
59292
|
var OKABE_ITO_FALLBACK = [
|
|
59281
59293
|
"#9a3784",
|
|
@@ -59487,6 +59499,7 @@ sub("switch", "control", "control", "switch", "Switch");
|
|
|
59487
59499
|
sub("siren", "control", "control", "siren", "Siren");
|
|
59488
59500
|
sub("button", "control", "control", "button", "Button");
|
|
59489
59501
|
sub("doorbell", "control", "control", "doorbell", "Doorbell");
|
|
59502
|
+
sub("appliance-cycle", "control", "control", "switch", "Appliance cycle");
|
|
59490
59503
|
for (const l of AUDIO_MACRO_LABELS) {
|
|
59491
59504
|
const kind = `audio-${l.id}`;
|
|
59492
59505
|
if (entries.has(kind)) continue;
|
|
@@ -70033,7 +70046,8 @@ var CAP_TO_KIND = {
|
|
|
70033
70046
|
cover: "cover",
|
|
70034
70047
|
switch: "switch",
|
|
70035
70048
|
button: "button",
|
|
70036
|
-
doorbell: "doorbell"
|
|
70049
|
+
doorbell: "doorbell",
|
|
70050
|
+
"running-state": "appliance-cycle"
|
|
70037
70051
|
};
|
|
70038
70052
|
function buildDescriptor(capName, kind) {
|
|
70039
70053
|
const t = EVENT_TAXONOMY[kind];
|
|
@@ -84604,6 +84618,10 @@ var RUNNING_DEVICE_TYPES = Object.values(DeviceType);
|
|
|
84604
84618
|
/** Generic Customize target for the running boolean (D936). */
|
|
84605
84619
|
var runningCustomize = {
|
|
84606
84620
|
version: 1,
|
|
84621
|
+
overridable: [{
|
|
84622
|
+
path: "running",
|
|
84623
|
+
by: "running"
|
|
84624
|
+
}],
|
|
84607
84625
|
targets: [{
|
|
84608
84626
|
id: "running",
|
|
84609
84627
|
cardinality: "scalar",
|
|
@@ -84661,7 +84679,7 @@ var runningCustomize = {
|
|
|
84661
84679
|
kind: "constant",
|
|
84662
84680
|
path: "phase",
|
|
84663
84681
|
value: null,
|
|
84664
|
-
when: "
|
|
84682
|
+
when: "add"
|
|
84665
84683
|
},
|
|
84666
84684
|
{
|
|
84667
84685
|
kind: "clock",
|
|
@@ -106770,13 +106788,114 @@ NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
|
106770
106788
|
*
|
|
106771
106789
|
* Pure, RN-safe: the viewer imports the support rule from here.
|
|
106772
106790
|
*/
|
|
106791
|
+
/**
|
|
106792
|
+
* Control caps that still have a raise and a clear an operator names: an
|
|
106793
|
+
* appliance cycle raises when it STARTS and clears when it FINISHES. Kept out
|
|
106794
|
+
* of `SOURCE_CAP_ACTIVE_FIELD` on purpose — that table also makes a device a
|
|
106795
|
+
* camera-sensor / recorder-trigger source, and a dishwasher is neither.
|
|
106796
|
+
*/
|
|
106797
|
+
var CYCLE_RAISED_FIELD_BY_CAP = { "running-state": "running" };
|
|
106773
106798
|
/** Event kind → the boolean field of its cap slice that means "raised". */
|
|
106774
106799
|
var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.entries(EVENT_KIND_BY_CAP).flatMap(([capName, descriptor]) => {
|
|
106800
|
+
const cycleField = CYCLE_RAISED_FIELD_BY_CAP[capName];
|
|
106801
|
+
if (cycleField !== void 0) return [[descriptor.kind, cycleField]];
|
|
106775
106802
|
const field = SOURCE_CAP_ACTIVE_FIELD[capName];
|
|
106776
106803
|
if (field === void 0 || descriptor.category !== "sensor") return [];
|
|
106777
106804
|
return [[descriptor.kind, field]];
|
|
106778
106805
|
})));
|
|
106779
106806
|
Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
|
|
106807
|
+
Object.freeze({
|
|
106808
|
+
contact: {
|
|
106809
|
+
starts: {
|
|
106810
|
+
en: "opened",
|
|
106811
|
+
it: "si apre"
|
|
106812
|
+
},
|
|
106813
|
+
finishes: {
|
|
106814
|
+
en: "closed",
|
|
106815
|
+
it: "si chiude"
|
|
106816
|
+
}
|
|
106817
|
+
},
|
|
106818
|
+
"motion-sensor": {
|
|
106819
|
+
starts: {
|
|
106820
|
+
en: "motion detected",
|
|
106821
|
+
it: "movimento rilevato"
|
|
106822
|
+
},
|
|
106823
|
+
finishes: {
|
|
106824
|
+
en: "motion stopped",
|
|
106825
|
+
it: "movimento terminato"
|
|
106826
|
+
}
|
|
106827
|
+
},
|
|
106828
|
+
smoke: {
|
|
106829
|
+
starts: {
|
|
106830
|
+
en: "smoke detected",
|
|
106831
|
+
it: "fumo rilevato"
|
|
106832
|
+
},
|
|
106833
|
+
finishes: {
|
|
106834
|
+
en: "smoke gone",
|
|
106835
|
+
it: "fumo scomparso"
|
|
106836
|
+
}
|
|
106837
|
+
},
|
|
106838
|
+
flood: {
|
|
106839
|
+
starts: {
|
|
106840
|
+
en: "water detected",
|
|
106841
|
+
it: "acqua rilevata"
|
|
106842
|
+
},
|
|
106843
|
+
finishes: {
|
|
106844
|
+
en: "dry again",
|
|
106845
|
+
it: "di nuovo asciutto"
|
|
106846
|
+
}
|
|
106847
|
+
},
|
|
106848
|
+
gas: {
|
|
106849
|
+
starts: {
|
|
106850
|
+
en: "gas detected",
|
|
106851
|
+
it: "gas rilevato"
|
|
106852
|
+
},
|
|
106853
|
+
finishes: {
|
|
106854
|
+
en: "gas gone",
|
|
106855
|
+
it: "gas scomparso"
|
|
106856
|
+
}
|
|
106857
|
+
},
|
|
106858
|
+
"carbon-monoxide": {
|
|
106859
|
+
starts: {
|
|
106860
|
+
en: "carbon monoxide detected",
|
|
106861
|
+
it: "monossido rilevato"
|
|
106862
|
+
},
|
|
106863
|
+
finishes: {
|
|
106864
|
+
en: "carbon monoxide gone",
|
|
106865
|
+
it: "monossido scomparso"
|
|
106866
|
+
}
|
|
106867
|
+
},
|
|
106868
|
+
vibration: {
|
|
106869
|
+
starts: {
|
|
106870
|
+
en: "vibration detected",
|
|
106871
|
+
it: "vibrazione rilevata"
|
|
106872
|
+
},
|
|
106873
|
+
finishes: {
|
|
106874
|
+
en: "vibration stopped",
|
|
106875
|
+
it: "vibrazione terminata"
|
|
106876
|
+
}
|
|
106877
|
+
},
|
|
106878
|
+
tamper: {
|
|
106879
|
+
starts: {
|
|
106880
|
+
en: "tampered with",
|
|
106881
|
+
it: "manomesso"
|
|
106882
|
+
},
|
|
106883
|
+
finishes: {
|
|
106884
|
+
en: "tamper cleared",
|
|
106885
|
+
it: "manomissione rientrata"
|
|
106886
|
+
}
|
|
106887
|
+
},
|
|
106888
|
+
"appliance-cycle": {
|
|
106889
|
+
starts: {
|
|
106890
|
+
en: "the cycle started",
|
|
106891
|
+
it: "il ciclo parte"
|
|
106892
|
+
},
|
|
106893
|
+
finishes: {
|
|
106894
|
+
en: "the cycle finished",
|
|
106895
|
+
it: "il ciclo è terminato"
|
|
106896
|
+
}
|
|
106897
|
+
}
|
|
106898
|
+
});
|
|
106780
106899
|
zod.z.object({
|
|
106781
106900
|
phase: zod.z.enum(["raised", "resolved"]),
|
|
106782
106901
|
episodeId: zod.z.string().min(1),
|
|
@@ -107286,6 +107405,7 @@ new Set([
|
|
|
107286
107405
|
"siren",
|
|
107287
107406
|
"button",
|
|
107288
107407
|
"doorbell",
|
|
107408
|
+
"appliance-cycle",
|
|
107289
107409
|
"audio-speech",
|
|
107290
107410
|
"audio-scream",
|
|
107291
107411
|
"audio-crying",
|
|
@@ -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-DOIYwfc8.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 { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-
|
|
1
|
+
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-CH6boUNm.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-BvVArCmo.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_agent_https = require("./agent-https-
|
|
4
|
+
const require_agent_https = require("./agent-https-Cm8wrQ3N.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");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { Es as userError } from "./dist-
|
|
2
|
+
import { Es as userError } from "./dist-8RpYuR_b.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
|
|
4
|
-
import { D as reasonRequiresNewCa, E as evaluateExistingCert, F as readNameConstraints, N as permitsIdentity, _ as issueLeaf, b as collectCertIdentity, g as generateCa, j as isConstrainedCa, v as loadCa, y as localCaCommonName } from "./agent-https-
|
|
4
|
+
import { D as reasonRequiresNewCa, E as evaluateExistingCert, F as readNameConstraints, N as permitsIdentity, _ as issueLeaf, b as collectCertIdentity, g as generateCa, j as isConstrainedCa, v as loadCa, y as localCaCommonName } from "./agent-https-BFjd0kVS.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|