@camstack/server 1.2.914 → 1.2.915
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 +6 -0
- package/package.json +8 -7
- 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 +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- 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 +4 -4
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +4 -4
- 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 +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- 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 +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- 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 +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- 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 +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- 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/{capture-engine-B_V4vtjZ.mjs → capture-engine-DqV_6SjI.mjs} +1 -1
- package/system/dist/{capture-engine-D0_JXUl2.js → capture-engine-dVNf2nq-.js} +1 -1
- package/system/dist/{composition-sources-BO8pSq1T.js → composition-sources-BQcauNTH.js} +1 -1
- package/system/dist/{composition-sources-DaYUeGNu.mjs → composition-sources-DNxi-fAK.mjs} +1 -1
- package/system/dist/{constants-mSGlHxp3.mjs → constants-DtDAChDX.mjs} +1 -1
- package/system/dist/{constants-D4qcXzqo.js → constants-H2BU7bKi.js} +1 -1
- package/system/dist/{device-ca-Bi9M886b.mjs → device-ca-C82s8Xw9.mjs} +1 -1
- package/system/dist/{device-ca-BDAxu-w_.js → device-ca-QMMiXnOk.js} +1 -1
- package/system/dist/{dist-DS1jGKzP.mjs → dist-CLuvQ9u4.mjs} +118 -3
- package/system/dist/{dist-B_yhnq8G.js → dist-DOO4m7fK.js} +118 -3
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-BdgFntw6.js → hub-identity-B1vdrP8l.js} +1 -1
- package/system/dist/{hub-identity-BToxpSTM.mjs → hub-identity-Dau33k9T.mjs} +1 -1
- package/system/dist/{hub-mdns-ciao-DfWd1ONQ.js → hub-mdns-ciao-Nso1_VSE.js} +2 -2
- package/system/dist/{hub-mdns-ciao-ChYYloc1.mjs → hub-mdns-ciao-RwTNfZHU.mjs} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +8 -8
- package/system/dist/{legacy-integration-rows-door-CSnAr1e7.mjs → legacy-integration-rows-door-C9-7B5gC.mjs} +1 -1
- package/system/dist/{legacy-integration-rows-door-cPQXoPrO.js → legacy-integration-rows-door-Dxd0ZeQK.js} +1 -1
- package/system/dist/{rename-composition-block-lqC9B140.mjs → rename-composition-block-MfJE4XCv.mjs} +1 -1
- package/system/dist/{rename-composition-block-DTKJHT6z.js → rename-composition-block-YCjuAytZ.js} +1 -1
- package/system/dist/{restore-archive-CI8fu_t7.js → restore-archive-BbZAaTDV.js} +1 -1
- package/system/dist/{restore-archive-DZ51ydBq.mjs → restore-archive-BuQCaCvL.mjs} +1 -1
- package/system/dist/{wal-maintenance-CpFKnGWm.mjs → wal-maintenance-BUD6zNQ1.mjs} +0 -0
- package/system/dist/{wal-maintenance-Cq8Kg8ow.js → wal-maintenance-CSOuhN9-.js} +0 -0
- package/system/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cc as BaseAddon, Du as errMsg, Eu as DeviceType, Hr as deriveBatteryPresence, It as LowPowerSleepStatusSchema, Ql as nodePin, Qr as deviceSleeps, Yn as bareAddonId, ga as lowPowerSleepCapability, ku as EventCategory, ts as snapshotCapability, us as streamQualityLabel, xa as memoizePinnedFfmpeg } from "../../dist-
|
|
1
|
+
import { Cc as BaseAddon, Du as errMsg, Eu as DeviceType, Hr as deriveBatteryPresence, It as LowPowerSleepStatusSchema, Ql as nodePin, Qr as deviceSleeps, Yn as bareAddonId, ga as lowPowerSleepCapability, ku as EventCategory, ts as snapshotCapability, us as streamQualityLabel, xa as memoizePinnedFfmpeg } from "../../dist-CLuvQ9u4.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-DOO4m7fK.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
node_fs = require_chunk.__toESM(node_fs);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cc as BaseAddon, cs as storageProviderCapability, vi as filesystemBrowseCapability } from "../../dist-
|
|
1
|
+
import { Cc as BaseAddon, cs as storageProviderCapability, vi as filesystemBrowseCapability } from "../../dist-CLuvQ9u4.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import * as fs$1 from "node:fs";
|
|
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-CSOuhN9-.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-BUD6zNQ1.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,12 +3,12 @@ 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-DOO4m7fK.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-CSOuhN9-.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
|
-
const require_legacy_integration_rows_door = require("../../legacy-integration-rows-door-
|
|
11
|
+
const require_legacy_integration_rows_door = require("../../legacy-integration-rows-door-Dxd0ZeQK.js");
|
|
12
12
|
let zod = require("zod");
|
|
13
13
|
let node_crypto = require("node:crypto");
|
|
14
14
|
let node_fs = require("node:fs");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Cc as BaseAddon, Cl as defineCustomActions, Du as errMsg$1, Ea as migrationsCapability, F as DATABASE_SNAPSHOT_SUFFIX, Fc as NoCallerError, Fr as dataStoreProviderCapability, I as DATABASE_SNAPSHOT_TIMEOUT_MS, Ir as databaseSnapshotCapability, Jc as RecordKindDeclarationSchema, L as DATA_STORE_DATABASES, No as resolveRunnerId, P as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, Pc as InvalidRecordError, Rt as MIGRATION_API_V1_METHODS, Ut as MigrationMetaSchema, Vc as RECORD_SWEEP_INTERVAL_MS, Wc as RUNTIME_DEFAULTS, Yn as bareAddonId, eu as normalizeSecretOwner, gl as collectSecretMarkerRefs, is as storageAdminCapability, js as vectorStoreCapability, kc as DeclarationRefusedError, ku as EventCategory, lo as recordsCapability, lr as catalogueIssues, rl as UnknownRecordKindError, tl as TransactRefusedError, xl as customAction, za as orderMigrations } from "../../dist-
|
|
1
|
+
import { Cc as BaseAddon, Cl as defineCustomActions, Du as errMsg$1, Ea as migrationsCapability, F as DATABASE_SNAPSHOT_SUFFIX, Fc as NoCallerError, Fr as dataStoreProviderCapability, I as DATABASE_SNAPSHOT_TIMEOUT_MS, Ir as databaseSnapshotCapability, Jc as RecordKindDeclarationSchema, L as DATA_STORE_DATABASES, No as resolveRunnerId, P as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, Pc as InvalidRecordError, Rt as MIGRATION_API_V1_METHODS, Ut as MigrationMetaSchema, Vc as RECORD_SWEEP_INTERVAL_MS, Wc as RUNTIME_DEFAULTS, Yn as bareAddonId, eu as normalizeSecretOwner, gl as collectSecretMarkerRefs, is as storageAdminCapability, js as vectorStoreCapability, kc as DeclarationRefusedError, ku as EventCategory, lo as recordsCapability, lr as catalogueIssues, rl as UnknownRecordKindError, tl as TransactRefusedError, xl as customAction, za as orderMigrations } from "../../dist-CLuvQ9u4.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-BUD6zNQ1.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
|
-
import { a as patchLegacyIntegrationRows, i as legacyIntegrationAddonId, n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows, r as deleteLegacyIntegrationRowKeys } from "../../legacy-integration-rows-door-
|
|
6
|
+
import { a as patchLegacyIntegrationRows, i as legacyIntegrationAddonId, n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows, r as deleteLegacyIntegrationRowKeys } from "../../legacy-integration-rows-door-C9-7B5gC.mjs";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
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-DOO4m7fK.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 { $l as normalizeNodeId, Cc as BaseAddon, Ci as gbToBytes, Cl as defineCustomActions, Cn as StorageLocationTypeSchema, Da as modeForSwitch, Fi as integrationInstancesCapability, Gl as isSecretFieldView, Hc as REDACTED_SECRET, Kl as isSecretMarker, Oa as modeMayWrite, Oo as resolveLocationMode, Ps as withLocationMode, Sl as defineAddonMigrations, Sn as StorageLocationModeSchema, Tl as defineRecordKinds, Wl as isSecretClear, Xi as isLocationEnabled, Yl as makeSecretMarker, _a as mayReadLocation, _u as toSecretFieldView, as as storageCapability, au as recordSecretRef, ci as evictionPolicyOfLocation, fn as STORAGE_LOCATION_MODES, ku as EventCategory, ml as collectSecretConfigKeys, os as storageMigrationCapability, pl as buildSecretRef, ps as switchStateOfMode, qo as settingsStoreCapability, ru as parseSecretRef, su as resolveSecretMarkers, va as mayWriteToLocation, wn as StorageMigrationJobSchema, xl as customAction, xn as StorageCleanupJobSchema } from "../../dist-
|
|
1
|
+
import { $l as normalizeNodeId, Cc as BaseAddon, Ci as gbToBytes, Cl as defineCustomActions, Cn as StorageLocationTypeSchema, Da as modeForSwitch, Fi as integrationInstancesCapability, Gl as isSecretFieldView, Hc as REDACTED_SECRET, Kl as isSecretMarker, Oa as modeMayWrite, Oo as resolveLocationMode, Ps as withLocationMode, Sl as defineAddonMigrations, Sn as StorageLocationModeSchema, Tl as defineRecordKinds, Wl as isSecretClear, Xi as isLocationEnabled, Yl as makeSecretMarker, _a as mayReadLocation, _u as toSecretFieldView, as as storageCapability, au as recordSecretRef, ci as evictionPolicyOfLocation, fn as STORAGE_LOCATION_MODES, ku as EventCategory, ml as collectSecretConfigKeys, os as storageMigrationCapability, pl as buildSecretRef, ps as switchStateOfMode, qo as settingsStoreCapability, ru as parseSecretRef, su as resolveSecretMarkers, va as mayWriteToLocation, wn as StorageMigrationJobSchema, xl as customAction, xn as StorageCleanupJobSchema } from "../../dist-CLuvQ9u4.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-DOO4m7fK.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_hub_identity = require("../../hub-identity-
|
|
10
|
-
const require_constants$8 = require("../../constants-
|
|
9
|
+
const require_hub_identity = require("../../hub-identity-B1vdrP8l.js");
|
|
10
|
+
const require_constants$8 = require("../../constants-H2BU7bKi.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 { Cc as BaseAddon, Cl as defineCustomActions, Du as errMsg, Il as hydrateSchema, Qo as shortHostname, vn as ServerNameSchema, xl as customAction } from "../../dist-
|
|
2
|
+
import { Cc as BaseAddon, Cl as defineCustomActions, Du as errMsg, Il as hydrateSchema, Qo as shortHostname, vn as ServerNameSchema, xl as customAction } from "../../dist-CLuvQ9u4.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 AGENT_HTTPS_NAMES_COLLECTION, G as systemConfigRecordKinds, H as AgentHttpsNames, I as isLocalOnlyHostname, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, m as isPrivateAddress, r as isAnnouncedHubId } from "../../hub-identity-
|
|
6
|
-
import { a as MESH_CA_KEY_REF, c as MESH_LEAF_NOT_AFTER, i as MESH_CA_FIELD, l as SERVER_AUTH_OID, 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 AGENT_HTTPS_NAMES_COLLECTION, G as systemConfigRecordKinds, H as AgentHttpsNames, I as isLocalOnlyHostname, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, m as isPrivateAddress, r as isAnnouncedHubId } from "../../hub-identity-Dau33k9T.mjs";
|
|
6
|
+
import { a as MESH_CA_KEY_REF, c as MESH_LEAF_NOT_AFTER, i as MESH_CA_FIELD, l as SERVER_AUTH_OID, 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-DtDAChDX.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-DOO4m7fK.js");
|
|
7
7
|
const require_formatter = require("../../formatter-xbxeV4GD.js");
|
|
8
8
|
const require_log_file_read_protocol = require("../../log-file-read-protocol-DSV_vQRb.js");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cc as BaseAddon, Sl as defineAddonMigrations, Za as preconditionOf, pa as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { Cc as BaseAddon, Sl as defineAddonMigrations, Za as preconditionOf, pa as logDestinationCapability } from "../../dist-CLuvQ9u4.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-hTaAsYlX.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Eu as DeviceType, Nc as HISTORY_DEFAULT_MIN_INTERVAL_MS, Pl as historyItemFieldPath } from "./dist-
|
|
1
|
+
import { Eu as DeviceType, Nc as HISTORY_DEFAULT_MIN_INTERVAL_MS, Pl as historyItemFieldPath } from "./dist-CLuvQ9u4.mjs";
|
|
2
2
|
//#region src/builtins/shared/device-state-changed.ts
|
|
3
3
|
/** Structural narrowing helper for untrusted bus payloads. */
|
|
4
4
|
function isRecord$2(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Du as errMsg, rc as compositionSourceKey } from "./dist-
|
|
1
|
+
import { Du as errMsg, rc as compositionSourceKey } from "./dist-CLuvQ9u4.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-DOO4m7fK.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as DEVICE_SAN_CREDENTIAL_PREFIX, pl as buildSecretRef, q as DEVICE_SAN_USER_PREFIX } from "./dist-
|
|
1
|
+
import { K as DEVICE_SAN_CREDENTIAL_PREFIX, pl as buildSecretRef, q as DEVICE_SAN_USER_PREFIX } from "./dist-CLuvQ9u4.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
|
|
@@ -1315,7 +1315,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1315
1315
|
*/
|
|
1316
1316
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1317
1317
|
//#endregion
|
|
1318
|
-
//#region ../types/dist/runtime-capabilities-
|
|
1318
|
+
//#region ../types/dist/runtime-capabilities-C0PIVXwH.mjs
|
|
1319
1319
|
/**
|
|
1320
1320
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1321
1321
|
* window to float samples (D455).
|
|
@@ -16357,6 +16357,45 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
16357
16357
|
}
|
|
16358
16358
|
],
|
|
16359
16359
|
icon: "battery-charging"
|
|
16360
|
+
},
|
|
16361
|
+
{
|
|
16362
|
+
kind: "enum",
|
|
16363
|
+
field: "chargeState",
|
|
16364
|
+
label: {
|
|
16365
|
+
en: "Charge state",
|
|
16366
|
+
it: "Stato di carica"
|
|
16367
|
+
},
|
|
16368
|
+
values: [
|
|
16369
|
+
{
|
|
16370
|
+
value: "charging",
|
|
16371
|
+
label: {
|
|
16372
|
+
en: "Charging",
|
|
16373
|
+
it: "In carica"
|
|
16374
|
+
}
|
|
16375
|
+
},
|
|
16376
|
+
{
|
|
16377
|
+
value: "full",
|
|
16378
|
+
label: {
|
|
16379
|
+
en: "Full",
|
|
16380
|
+
it: "Carica completa"
|
|
16381
|
+
}
|
|
16382
|
+
},
|
|
16383
|
+
{
|
|
16384
|
+
value: "idle",
|
|
16385
|
+
label: {
|
|
16386
|
+
en: "Not charging",
|
|
16387
|
+
it: "Non in carica"
|
|
16388
|
+
}
|
|
16389
|
+
},
|
|
16390
|
+
{
|
|
16391
|
+
value: "unknown",
|
|
16392
|
+
label: {
|
|
16393
|
+
en: "Unknown",
|
|
16394
|
+
it: "Sconosciuto"
|
|
16395
|
+
}
|
|
16396
|
+
}
|
|
16397
|
+
],
|
|
16398
|
+
icon: "battery-charging"
|
|
16360
16399
|
}
|
|
16361
16400
|
],
|
|
16362
16401
|
events: { onStatusChanged: { notOperatorFacing: "the level / sleeping / charging state triggers each read one field of this change" } },
|
|
@@ -17862,6 +17901,24 @@ Object.freeze({
|
|
|
17862
17901
|
"path": "voltage",
|
|
17863
17902
|
"valueType": "number"
|
|
17864
17903
|
},
|
|
17904
|
+
{
|
|
17905
|
+
"path": "chargeState",
|
|
17906
|
+
"valueType": "enum",
|
|
17907
|
+
"enumValues": [
|
|
17908
|
+
"charging",
|
|
17909
|
+
"full",
|
|
17910
|
+
"idle",
|
|
17911
|
+
"unknown"
|
|
17912
|
+
]
|
|
17913
|
+
},
|
|
17914
|
+
{
|
|
17915
|
+
"path": "currentMa",
|
|
17916
|
+
"valueType": "number"
|
|
17917
|
+
},
|
|
17918
|
+
{
|
|
17919
|
+
"path": "temperatureC",
|
|
17920
|
+
"valueType": "number"
|
|
17921
|
+
},
|
|
17865
17922
|
{
|
|
17866
17923
|
"path": "lastContactAt",
|
|
17867
17924
|
"valueType": "number"
|
|
@@ -59960,6 +60017,31 @@ var BatteryStatusSchema = z.object({
|
|
|
59960
60017
|
*/
|
|
59961
60018
|
voltage: z.number().nullable().optional().meta(readingMeta("voltage", { label: "Voltage" })),
|
|
59962
60019
|
/**
|
|
60020
|
+
* What the CELL is doing, as opposed to {@link charging} (what it is powered
|
|
60021
|
+
* from). `'charging'` takes current, `'full'` is connected and topped up,
|
|
60022
|
+
* `'idle'` is a stopped cell the firmware reported as such (running on the
|
|
60023
|
+
* battery, or an adapter that is not feeding it).
|
|
60024
|
+
*
|
|
60025
|
+
* Absent or `'unknown'` is NOT an answer: the provider has not read the
|
|
60026
|
+
* charge fields. It must never be coerced to `'idle'` (D315) — a camera
|
|
60027
|
+
* nobody reached would be drawn "not charging". Consumers SKIP it.
|
|
60028
|
+
*/
|
|
60029
|
+
chargeState: z.enum([
|
|
60030
|
+
"charging",
|
|
60031
|
+
"full",
|
|
60032
|
+
"idle",
|
|
60033
|
+
"unknown"
|
|
60034
|
+
]).optional().meta({ label: "Charge state" }),
|
|
60035
|
+
/**
|
|
60036
|
+
* Battery current in milliamperes, as the firmware reports it (sign is the
|
|
60037
|
+
* firmware's). `null`/absent = not reported. Stored in mA, not the quantity
|
|
60038
|
+
* base (A), so it carries no reading quantity: a quantity would make the UI
|
|
60039
|
+
* convert and print it as amperes.
|
|
60040
|
+
*/
|
|
60041
|
+
currentMa: z.number().nullable().optional().meta(readingMeta("none", { label: "Current (mA)" })),
|
|
60042
|
+
/** Battery temperature in °C. `null`/absent = not reported. */
|
|
60043
|
+
temperatureC: z.number().nullable().optional().meta(readingMeta("temperature", { label: "Temperature" })),
|
|
60044
|
+
/**
|
|
59963
60045
|
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
59964
60046
|
* completed firmware round-trip, an observed wake, or an inbound push
|
|
59965
60047
|
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
@@ -60119,6 +60201,10 @@ onStatusChanged: {
|
|
|
60119
60201
|
voltage: {
|
|
60120
60202
|
kind: "gauge",
|
|
60121
60203
|
unit: "V"
|
|
60204
|
+
},
|
|
60205
|
+
temperatureC: {
|
|
60206
|
+
kind: "gauge",
|
|
60207
|
+
unit: "°C"
|
|
60122
60208
|
}
|
|
60123
60209
|
} },
|
|
60124
60210
|
customize: batteryCustomize,
|
|
@@ -60171,6 +60257,30 @@ onStatusChanged: {
|
|
|
60171
60257
|
}
|
|
60172
60258
|
],
|
|
60173
60259
|
icon: "battery-charging"
|
|
60260
|
+
},
|
|
60261
|
+
{
|
|
60262
|
+
kind: "enum",
|
|
60263
|
+
field: "chargeState",
|
|
60264
|
+
label: t("Charge state", "Stato di carica"),
|
|
60265
|
+
values: [
|
|
60266
|
+
{
|
|
60267
|
+
value: "charging",
|
|
60268
|
+
label: t("Charging", "In carica")
|
|
60269
|
+
},
|
|
60270
|
+
{
|
|
60271
|
+
value: "full",
|
|
60272
|
+
label: t("Full", "Carica completa")
|
|
60273
|
+
},
|
|
60274
|
+
{
|
|
60275
|
+
value: "idle",
|
|
60276
|
+
label: t("Not charging", "Non in carica")
|
|
60277
|
+
},
|
|
60278
|
+
{
|
|
60279
|
+
value: "unknown",
|
|
60280
|
+
label: t("Unknown", "Sconosciuto")
|
|
60281
|
+
}
|
|
60282
|
+
],
|
|
60283
|
+
icon: "battery-charging"
|
|
60174
60284
|
}
|
|
60175
60285
|
],
|
|
60176
60286
|
extraEvents: [{
|
|
@@ -66838,7 +66948,8 @@ var CAP_RUNTIME_FIELD_UNITS = {
|
|
|
66838
66948
|
"ambient-light-sensor": { illuminance: "lx" },
|
|
66839
66949
|
"battery": {
|
|
66840
66950
|
level: "%",
|
|
66841
|
-
voltage: "V"
|
|
66951
|
+
voltage: "V",
|
|
66952
|
+
temperatureC: "°C"
|
|
66842
66953
|
},
|
|
66843
66954
|
"humidity-sensor": { humidity: "%" },
|
|
66844
66955
|
"power-meter": {
|
|
@@ -67864,7 +67975,7 @@ function groupTemplate(id) {
|
|
|
67864
67975
|
}
|
|
67865
67976
|
/**
|
|
67866
67977
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
67867
|
-
* 47 caps with series (
|
|
67978
|
+
* 47 caps with series (132 series), 40 caps answered `'none'`.
|
|
67868
67979
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
67869
67980
|
*/
|
|
67870
67981
|
var HISTORY_CATALOG = {
|
|
@@ -67926,6 +68037,10 @@ var HISTORY_CATALOG = {
|
|
|
67926
68037
|
"voltage": {
|
|
67927
68038
|
kind: "gauge",
|
|
67928
68039
|
unit: "V"
|
|
68040
|
+
},
|
|
68041
|
+
"temperatureC": {
|
|
68042
|
+
kind: "gauge",
|
|
68043
|
+
unit: "°C"
|
|
67929
68044
|
}
|
|
67930
68045
|
},
|
|
67931
68046
|
"binary": { "on": { kind: "boolean" } },
|
|
@@ -1315,7 +1315,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1315
1315
|
*/
|
|
1316
1316
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1317
1317
|
//#endregion
|
|
1318
|
-
//#region ../types/dist/runtime-capabilities-
|
|
1318
|
+
//#region ../types/dist/runtime-capabilities-C0PIVXwH.mjs
|
|
1319
1319
|
/**
|
|
1320
1320
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1321
1321
|
* window to float samples (D455).
|
|
@@ -16357,6 +16357,45 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
16357
16357
|
}
|
|
16358
16358
|
],
|
|
16359
16359
|
icon: "battery-charging"
|
|
16360
|
+
},
|
|
16361
|
+
{
|
|
16362
|
+
kind: "enum",
|
|
16363
|
+
field: "chargeState",
|
|
16364
|
+
label: {
|
|
16365
|
+
en: "Charge state",
|
|
16366
|
+
it: "Stato di carica"
|
|
16367
|
+
},
|
|
16368
|
+
values: [
|
|
16369
|
+
{
|
|
16370
|
+
value: "charging",
|
|
16371
|
+
label: {
|
|
16372
|
+
en: "Charging",
|
|
16373
|
+
it: "In carica"
|
|
16374
|
+
}
|
|
16375
|
+
},
|
|
16376
|
+
{
|
|
16377
|
+
value: "full",
|
|
16378
|
+
label: {
|
|
16379
|
+
en: "Full",
|
|
16380
|
+
it: "Carica completa"
|
|
16381
|
+
}
|
|
16382
|
+
},
|
|
16383
|
+
{
|
|
16384
|
+
value: "idle",
|
|
16385
|
+
label: {
|
|
16386
|
+
en: "Not charging",
|
|
16387
|
+
it: "Non in carica"
|
|
16388
|
+
}
|
|
16389
|
+
},
|
|
16390
|
+
{
|
|
16391
|
+
value: "unknown",
|
|
16392
|
+
label: {
|
|
16393
|
+
en: "Unknown",
|
|
16394
|
+
it: "Sconosciuto"
|
|
16395
|
+
}
|
|
16396
|
+
}
|
|
16397
|
+
],
|
|
16398
|
+
icon: "battery-charging"
|
|
16360
16399
|
}
|
|
16361
16400
|
],
|
|
16362
16401
|
events: { onStatusChanged: { notOperatorFacing: "the level / sleeping / charging state triggers each read one field of this change" } },
|
|
@@ -17862,6 +17901,24 @@ Object.freeze({
|
|
|
17862
17901
|
"path": "voltage",
|
|
17863
17902
|
"valueType": "number"
|
|
17864
17903
|
},
|
|
17904
|
+
{
|
|
17905
|
+
"path": "chargeState",
|
|
17906
|
+
"valueType": "enum",
|
|
17907
|
+
"enumValues": [
|
|
17908
|
+
"charging",
|
|
17909
|
+
"full",
|
|
17910
|
+
"idle",
|
|
17911
|
+
"unknown"
|
|
17912
|
+
]
|
|
17913
|
+
},
|
|
17914
|
+
{
|
|
17915
|
+
"path": "currentMa",
|
|
17916
|
+
"valueType": "number"
|
|
17917
|
+
},
|
|
17918
|
+
{
|
|
17919
|
+
"path": "temperatureC",
|
|
17920
|
+
"valueType": "number"
|
|
17921
|
+
},
|
|
17865
17922
|
{
|
|
17866
17923
|
"path": "lastContactAt",
|
|
17867
17924
|
"valueType": "number"
|
|
@@ -59960,6 +60017,31 @@ var BatteryStatusSchema = zod.z.object({
|
|
|
59960
60017
|
*/
|
|
59961
60018
|
voltage: zod.z.number().nullable().optional().meta(readingMeta("voltage", { label: "Voltage" })),
|
|
59962
60019
|
/**
|
|
60020
|
+
* What the CELL is doing, as opposed to {@link charging} (what it is powered
|
|
60021
|
+
* from). `'charging'` takes current, `'full'` is connected and topped up,
|
|
60022
|
+
* `'idle'` is a stopped cell the firmware reported as such (running on the
|
|
60023
|
+
* battery, or an adapter that is not feeding it).
|
|
60024
|
+
*
|
|
60025
|
+
* Absent or `'unknown'` is NOT an answer: the provider has not read the
|
|
60026
|
+
* charge fields. It must never be coerced to `'idle'` (D315) — a camera
|
|
60027
|
+
* nobody reached would be drawn "not charging". Consumers SKIP it.
|
|
60028
|
+
*/
|
|
60029
|
+
chargeState: zod.z.enum([
|
|
60030
|
+
"charging",
|
|
60031
|
+
"full",
|
|
60032
|
+
"idle",
|
|
60033
|
+
"unknown"
|
|
60034
|
+
]).optional().meta({ label: "Charge state" }),
|
|
60035
|
+
/**
|
|
60036
|
+
* Battery current in milliamperes, as the firmware reports it (sign is the
|
|
60037
|
+
* firmware's). `null`/absent = not reported. Stored in mA, not the quantity
|
|
60038
|
+
* base (A), so it carries no reading quantity: a quantity would make the UI
|
|
60039
|
+
* convert and print it as amperes.
|
|
60040
|
+
*/
|
|
60041
|
+
currentMa: zod.z.number().nullable().optional().meta(readingMeta("none", { label: "Current (mA)" })),
|
|
60042
|
+
/** Battery temperature in °C. `null`/absent = not reported. */
|
|
60043
|
+
temperatureC: zod.z.number().nullable().optional().meta(readingMeta("temperature", { label: "Temperature" })),
|
|
60044
|
+
/**
|
|
59963
60045
|
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
59964
60046
|
* completed firmware round-trip, an observed wake, or an inbound push
|
|
59965
60047
|
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
@@ -60119,6 +60201,10 @@ onStatusChanged: {
|
|
|
60119
60201
|
voltage: {
|
|
60120
60202
|
kind: "gauge",
|
|
60121
60203
|
unit: "V"
|
|
60204
|
+
},
|
|
60205
|
+
temperatureC: {
|
|
60206
|
+
kind: "gauge",
|
|
60207
|
+
unit: "°C"
|
|
60122
60208
|
}
|
|
60123
60209
|
} },
|
|
60124
60210
|
customize: batteryCustomize,
|
|
@@ -60171,6 +60257,30 @@ onStatusChanged: {
|
|
|
60171
60257
|
}
|
|
60172
60258
|
],
|
|
60173
60259
|
icon: "battery-charging"
|
|
60260
|
+
},
|
|
60261
|
+
{
|
|
60262
|
+
kind: "enum",
|
|
60263
|
+
field: "chargeState",
|
|
60264
|
+
label: t("Charge state", "Stato di carica"),
|
|
60265
|
+
values: [
|
|
60266
|
+
{
|
|
60267
|
+
value: "charging",
|
|
60268
|
+
label: t("Charging", "In carica")
|
|
60269
|
+
},
|
|
60270
|
+
{
|
|
60271
|
+
value: "full",
|
|
60272
|
+
label: t("Full", "Carica completa")
|
|
60273
|
+
},
|
|
60274
|
+
{
|
|
60275
|
+
value: "idle",
|
|
60276
|
+
label: t("Not charging", "Non in carica")
|
|
60277
|
+
},
|
|
60278
|
+
{
|
|
60279
|
+
value: "unknown",
|
|
60280
|
+
label: t("Unknown", "Sconosciuto")
|
|
60281
|
+
}
|
|
60282
|
+
],
|
|
60283
|
+
icon: "battery-charging"
|
|
60174
60284
|
}
|
|
60175
60285
|
],
|
|
60176
60286
|
extraEvents: [{
|
|
@@ -66838,7 +66948,8 @@ var CAP_RUNTIME_FIELD_UNITS = {
|
|
|
66838
66948
|
"ambient-light-sensor": { illuminance: "lx" },
|
|
66839
66949
|
"battery": {
|
|
66840
66950
|
level: "%",
|
|
66841
|
-
voltage: "V"
|
|
66951
|
+
voltage: "V",
|
|
66952
|
+
temperatureC: "°C"
|
|
66842
66953
|
},
|
|
66843
66954
|
"humidity-sensor": { humidity: "%" },
|
|
66844
66955
|
"power-meter": {
|
|
@@ -67864,7 +67975,7 @@ function groupTemplate(id) {
|
|
|
67864
67975
|
}
|
|
67865
67976
|
/**
|
|
67866
67977
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
67867
|
-
* 47 caps with series (
|
|
67978
|
+
* 47 caps with series (132 series), 40 caps answered `'none'`.
|
|
67868
67979
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
67869
67980
|
*/
|
|
67870
67981
|
var HISTORY_CATALOG = {
|
|
@@ -67926,6 +68037,10 @@ var HISTORY_CATALOG = {
|
|
|
67926
68037
|
"voltage": {
|
|
67927
68038
|
kind: "gauge",
|
|
67928
68039
|
unit: "V"
|
|
68040
|
+
},
|
|
68041
|
+
"temperatureC": {
|
|
68042
|
+
kind: "gauge",
|
|
68043
|
+
unit: "°C"
|
|
67929
68044
|
}
|
|
67930
68045
|
},
|
|
67931
68046
|
"binary": { "on": { kind: "boolean" } },
|
|
@@ -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-CSOuhN9-.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-BUD6zNQ1.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,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-DOO4m7fK.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tl as defineRecordKinds } from "./dist-
|
|
1
|
+
import { Tl as defineRecordKinds } from "./dist-CLuvQ9u4.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, _ as NameConstraints, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, g as GeneralSubtrees, h as GeneralSubtree, i as Extension, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension, v as GeneralName, x as AsnConvert } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, webcrypto } from "node:crypto";
|
|
@@ -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-DOO4m7fK.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_hub_identity = require("./hub-identity-
|
|
4
|
+
const require_hub_identity = require("./hub-identity-B1vdrP8l.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { yu as userError } from "./dist-
|
|
2
|
+
import { yu as userError } from "./dist-CLuvQ9u4.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
|
|
4
|
-
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-
|
|
4
|
+
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-Dau33k9T.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|