@camstack/server 1.2.829 → 1.2.830

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.
Files changed (87) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +6 -12
  3. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  4. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  5. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  6. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  7. package/system/dist/builtins/alerts/alerts.addon.js +1 -1
  8. package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
  9. package/system/dist/builtins/autotrack/index.js +1 -1
  10. package/system/dist/builtins/autotrack/index.mjs +1 -1
  11. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  12. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
  13. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  14. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  15. package/system/dist/builtins/camera-grid/index.js +1 -1
  16. package/system/dist/builtins/camera-grid/index.mjs +1 -1
  17. package/system/dist/builtins/composer/composer.addon.js +4 -4
  18. package/system/dist/builtins/composer/composer.addon.mjs +4 -4
  19. package/system/dist/builtins/console-logging/index.js +1 -1
  20. package/system/dist/builtins/console-logging/index.mjs +1 -1
  21. package/system/dist/builtins/core-blocks/core-blocks.addon.js +3 -3
  22. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
  23. package/system/dist/builtins/device-history/device-history.addon.js +2 -2
  24. package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
  25. package/system/dist/builtins/device-manager/device-manager.addon.js +2 -2
  26. package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
  27. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  28. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  29. package/system/dist/builtins/keychain/index.js +4 -4
  30. package/system/dist/builtins/keychain/index.mjs +4 -4
  31. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  32. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  33. package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
  34. package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
  35. package/system/dist/builtins/local-network/local-network.addon.js +3 -3
  36. package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
  37. package/system/dist/builtins/loki-logging/index.js +1 -1
  38. package/system/dist/builtins/loki-logging/index.mjs +1 -1
  39. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  40. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  41. package/system/dist/builtins/platform-probe/index.js +1 -1
  42. package/system/dist/builtins/platform-probe/index.mjs +1 -1
  43. package/system/dist/builtins/record-entries/index.js +1 -1
  44. package/system/dist/builtins/record-entries/index.mjs +1 -1
  45. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  46. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  47. package/system/dist/builtins/snapshot/index.js +1 -1
  48. package/system/dist/builtins/snapshot/index.mjs +1 -1
  49. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  50. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  51. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  52. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  53. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
  54. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
  55. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  56. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  57. package/system/dist/builtins/system-config/system-config.addon.js +3 -3
  58. package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
  59. package/system/dist/builtins/winston-logging/index.js +1 -1
  60. package/system/dist/builtins/winston-logging/index.mjs +1 -1
  61. package/system/dist/{capture-engine-Cvetsl63.js → capture-engine-6_V-PR8O.js} +1 -1
  62. package/system/dist/{capture-engine-CsFrmbpC.mjs → capture-engine-cp3my4VK.mjs} +1 -1
  63. package/system/dist/{composition-sources-Yw0KDrdI.mjs → composition-sources-C-iX_Uuu.mjs} +1 -1
  64. package/system/dist/{composition-sources-wNOckeFb.js → composition-sources-JwBPIhdO.js} +1 -1
  65. package/system/dist/{constants-BqrgVNCL.js → constants-C4V2z-GT.js} +1 -1
  66. package/system/dist/{constants-B7-Ccoim.mjs → constants-D5oNuYLD.mjs} +1 -1
  67. package/system/dist/{device-ca-BDKMOSKW.mjs → device-ca-CXPTrORC.mjs} +1 -1
  68. package/system/dist/{device-ca-C9VMoted.js → device-ca-DAuMNieL.js} +1 -1
  69. package/system/dist/{dist-Bv_ADY4Y.mjs → dist-B8dBvJJK.mjs} +84 -7
  70. package/system/dist/{dist-KJhkakFo.js → dist-DVrLQr6W.js} +84 -7
  71. package/system/dist/file-host-worker.js +1 -1
  72. package/system/dist/file-host-worker.mjs +1 -1
  73. package/system/dist/{hub-identity-BS1rzEes.js → hub-identity-Cg1_bzoY.js} +1 -1
  74. package/system/dist/{hub-identity-DSLLzLph.mjs → hub-identity-D2sSTELW.mjs} +1 -1
  75. package/system/dist/{hub-mdns-ciao-BQh04Eo9.js → hub-mdns-ciao-DCHShuFh.js} +2 -2
  76. package/system/dist/{hub-mdns-ciao-FVifxI5j.mjs → hub-mdns-ciao-Twxwj9Vh.mjs} +2 -2
  77. package/system/dist/index.js +8 -8
  78. package/system/dist/index.mjs +8 -8
  79. package/system/dist/{legacy-integration-rows-door-B3K3A9JU.js → legacy-integration-rows-door-i0gANn4l.js} +1 -1
  80. package/system/dist/{legacy-integration-rows-door-Cu9uee1R.mjs → legacy-integration-rows-door-lRhfbNBc.mjs} +1 -1
  81. package/system/dist/{rename-composition-block-31JmUak2.js → rename-composition-block-BRy-9srI.js} +1 -1
  82. package/system/dist/{rename-composition-block-BglTrMYB.mjs → rename-composition-block-C2IbabFp.mjs} +1 -1
  83. package/system/dist/{restore-archive-5UHNYi4u.mjs → restore-archive-CkyWtDIi.mjs} +1 -1
  84. package/system/dist/{restore-archive-BHOc02Fh.js → restore-archive-_y4JaVgy.js} +1 -1
  85. package/system/dist/{wal-maintenance-At5TeYwr.js → wal-maintenance-BfkwceLa.js} +0 -0
  86. package/system/dist/{wal-maintenance-COJdLp-y.mjs → wal-maintenance-Dn2cx4Km.mjs} +0 -0
  87. package/system/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-KJhkakFo.js");
6
+ const require_dist = require("../../dist-DVrLQr6W.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 { Hr as filesystemBrowseCapability, oo as storageProviderCapability, ps as BaseAddon } from "../../dist-Bv_ADY4Y.mjs";
1
+ import { Hr as filesystemBrowseCapability, oo as storageProviderCapability, ps as BaseAddon } from "../../dist-B8dBvJJK.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-At5TeYwr.js");
7
+ const require_wal_maintenance = require("../../wal-maintenance-BfkwceLa.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-COJdLp-y.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-Dn2cx4Km.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-KJhkakFo.js");
6
+ const require_dist = require("../../dist-DVrLQr6W.js");
7
7
  const require_retired_settings_keys = require("../../retired-settings-keys-C8nOOr5H.js");
8
- const require_wal_maintenance = require("../../wal-maintenance-At5TeYwr.js");
8
+ const require_wal_maintenance = require("../../wal-maintenance-BfkwceLa.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-B3K3A9JU.js");
11
+ const require_legacy_integration_rows_door = require("../../legacy-integration-rows-door-i0gANn4l.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 { Do as vectorStoreCapability, F as DATABASE_SNAPSHOT_SUFFIX, Fi as migrationsCapability, Gs as TransactRefusedError, Hn as catalogueIssues, I as DATABASE_SNAPSHOT_TIMEOUT_MS, Ji as orderMigrations, L as DATA_STORE_DATABASES, Na as resolveRunnerId, Nt as MigrationMetaSchema, Ot as MIGRATION_API_V1_METHODS, P as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, Ps as RUNTIME_DEFAULTS, Rs as RecordKindDeclarationSchema, Ts as NoCallerError, Vc as normalizeSecretOwner, ac as collectSecretMarkerRefs, dl as errMsg$1, dr as databaseSnapshotCapability, fc as defineCustomActions, ha as recordsCapability, js as RECORD_SWEEP_INTERVAL_MS, kn as bareAddonId, no as storageAdminCapability, pl as EventCategory, ps as BaseAddon, qs as UnknownRecordKindError, uc as customAction, ur as dataStoreProviderCapability, ws as InvalidRecordError, ys as DeclarationRefusedError } from "../../dist-Bv_ADY4Y.mjs";
1
+ import { Do as vectorStoreCapability, F as DATABASE_SNAPSHOT_SUFFIX, Fi as migrationsCapability, Gs as TransactRefusedError, Hn as catalogueIssues, I as DATABASE_SNAPSHOT_TIMEOUT_MS, Ji as orderMigrations, L as DATA_STORE_DATABASES, Na as resolveRunnerId, Nt as MigrationMetaSchema, Ot as MIGRATION_API_V1_METHODS, P as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, Ps as RUNTIME_DEFAULTS, Rs as RecordKindDeclarationSchema, Ts as NoCallerError, Vc as normalizeSecretOwner, ac as collectSecretMarkerRefs, dl as errMsg$1, dr as databaseSnapshotCapability, fc as defineCustomActions, ha as recordsCapability, js as RECORD_SWEEP_INTERVAL_MS, kn as bareAddonId, no as storageAdminCapability, pl as EventCategory, ps as BaseAddon, qs as UnknownRecordKindError, uc as customAction, ur as dataStoreProviderCapability, ws as InvalidRecordError, ys as DeclarationRefusedError } from "../../dist-B8dBvJJK.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-COJdLp-y.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-Dn2cx4Km.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-Cu9uee1R.mjs";
6
+ import { a as patchLegacyIntegrationRows, i as legacyIntegrationAddonId, n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows, r as deleteLegacyIntegrationRowKeys } from "../../legacy-integration-rows-door-lRhfbNBc.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-KJhkakFo.js");
6
+ const require_dist = require("../../dist-DVrLQr6W.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 { $t as STORAGE_LOCATION_MODES, Ao as withLocationMode, Bc as normalizeNodeId, Ga as settingsStoreCapability, Ic as makeSecretMarker, Ii as modeForSwitch, Jc as resolveSecretMarkers, Kc as recordSecretRef, Li as modeMayWrite, Mc as isSecretFieldView, Ms as REDACTED_SECRET, Nc as isSecretMarker, Oa as resolveLocationMode, Oi as mayReadLocation, Pr as evictionPolicyOfLocation, Qr as integrationInstancesCapability, Wc as parseSecretRef, cn as StorageLocationTypeSchema, dc as defineAddonMigrations, do as switchStateOfMode, fc as defineCustomActions, io as storageMigrationCapability, jc as isSecretClear, ki as mayWriteToLocation, ln as StorageMigrationJobSchema, mc as defineRecordKinds, nc as buildSecretRef, nl as toSecretFieldView, on as StorageCleanupJobSchema, pl as EventCategory, ps as BaseAddon, qr as gbToBytes, rc as collectSecretConfigKeys, ro as storageCapability, sn as StorageLocationModeSchema, uc as customAction, ui as isLocationEnabled } from "../../dist-Bv_ADY4Y.mjs";
1
+ import { $t as STORAGE_LOCATION_MODES, Ao as withLocationMode, Bc as normalizeNodeId, Ga as settingsStoreCapability, Ic as makeSecretMarker, Ii as modeForSwitch, Jc as resolveSecretMarkers, Kc as recordSecretRef, Li as modeMayWrite, Mc as isSecretFieldView, Ms as REDACTED_SECRET, Nc as isSecretMarker, Oa as resolveLocationMode, Oi as mayReadLocation, Pr as evictionPolicyOfLocation, Qr as integrationInstancesCapability, Wc as parseSecretRef, cn as StorageLocationTypeSchema, dc as defineAddonMigrations, do as switchStateOfMode, fc as defineCustomActions, io as storageMigrationCapability, jc as isSecretClear, ki as mayWriteToLocation, ln as StorageMigrationJobSchema, mc as defineRecordKinds, nc as buildSecretRef, nl as toSecretFieldView, on as StorageCleanupJobSchema, pl as EventCategory, ps as BaseAddon, qr as gbToBytes, rc as collectSecretConfigKeys, ro as storageCapability, sn as StorageLocationModeSchema, uc as customAction, ui as isLocationEnabled } from "../../dist-B8dBvJJK.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-KJhkakFo.js");
6
+ const require_dist = require("../../dist-DVrLQr6W.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-BS1rzEes.js");
10
- const require_constants$8 = require("../../constants-BqrgVNCL.js");
9
+ const require_hub_identity = require("../../hub-identity-Cg1_bzoY.js");
10
+ const require_constants$8 = require("../../constants-C4V2z-GT.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 hydrateSchema, Xa as shortHostname, dl as errMsg, fc as defineCustomActions, in as ServerNameSchema, ps as BaseAddon, uc as customAction } from "../../dist-Bv_ADY4Y.mjs";
2
+ import { Cc as hydrateSchema, Xa as shortHostname, dl as errMsg, fc as defineCustomActions, in as ServerNameSchema, ps as BaseAddon, uc as customAction } from "../../dist-B8dBvJJK.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-DSLLzLph.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-B7-Ccoim.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-D2sSTELW.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-D5oNuYLD.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-KJhkakFo.js");
6
+ const require_dist = require("../../dist-DVrLQr6W.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 { Ti as logDestinationCapability, aa as preconditionOf, dc as defineAddonMigrations, ps as BaseAddon } from "../../dist-Bv_ADY4Y.mjs";
1
+ import { Ti as logDestinationCapability, aa as preconditionOf, dc as defineAddonMigrations, ps as BaseAddon } from "../../dist-B8dBvJJK.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
- const require_dist = require("./dist-KJhkakFo.js");
1
+ const require_dist = require("./dist-DVrLQr6W.js");
2
2
  //#region src/builtins/device-history/store/series-registry.ts
3
3
  function subjectIdOf(subject) {
4
4
  return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
@@ -1,4 +1,4 @@
1
- import { Cs as HISTORY_DEFAULT_MIN_INTERVAL_MS, ul as DeviceType, xc as historyItemFieldPath } from "./dist-Bv_ADY4Y.mjs";
1
+ import { Cs as HISTORY_DEFAULT_MIN_INTERVAL_MS, ul as DeviceType, xc as historyItemFieldPath } from "./dist-B8dBvJJK.mjs";
2
2
  //#region src/builtins/device-history/store/series-registry.ts
3
3
  function subjectIdOf(subject) {
4
4
  return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
@@ -1,4 +1,4 @@
1
- import { Jo as compositionSourceKey, dl as errMsg } from "./dist-Bv_ADY4Y.mjs";
1
+ import { Jo as compositionSourceKey, dl as errMsg } from "./dist-B8dBvJJK.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,4 +1,4 @@
1
- const require_dist = require("./dist-KJhkakFo.js");
1
+ const require_dist = require("./dist-DVrLQr6W.js");
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-KJhkakFo.js").buildSecretRef({
2
+ var MESH_CA_KEY_REF = require("./dist-DVrLQr6W.js").buildSecretRef({
3
3
  owner: "system",
4
4
  scope: { kind: "global" },
5
5
  fieldPath: "meshCaKey"
@@ -1,4 +1,4 @@
1
- import { nc as buildSecretRef } from "./dist-Bv_ADY4Y.mjs";
1
+ import { nc as buildSecretRef } from "./dist-B8dBvJJK.mjs";
2
2
  /** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
3
3
  var MESH_CA_KEY_REF = buildSecretRef({
4
4
  owner: "system",
@@ -1,4 +1,4 @@
1
- import { G as DEVICE_SAN_CREDENTIAL_PREFIX, K as DEVICE_SAN_USER_PREFIX, nc as buildSecretRef } from "./dist-Bv_ADY4Y.mjs";
1
+ import { G as DEVICE_SAN_CREDENTIAL_PREFIX, K as DEVICE_SAN_USER_PREFIX, nc as buildSecretRef } from "./dist-B8dBvJJK.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
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-KJhkakFo.js");
1
+ const require_dist = require("./dist-DVrLQr6W.js");
2
2
  const require_x509_es = require("./x509.es-WtnRNyYS.js");
3
3
  let node_crypto = require("node:crypto");
4
4
  //#region src/auth/jwt-signing-key.ts
@@ -64776,13 +64776,11 @@ var HeroConfirmSchema = z.enum([
64776
64776
  "press"
64777
64777
  ]);
64778
64778
  var HeroActionSchema = z.object({
64779
- /** Unique within the model; the `gated` list and the specs name it. */
64780
64779
  id: z.string(),
64781
64780
  label: HeroTextSchema,
64782
64781
  icon: IconKeySchema,
64783
64782
  call: HeroCallSchema,
64784
64783
  emphasis: z.enum(["primary", "normal"]),
64785
- /** Ask before running it. */
64786
64784
  confirm: HeroConfirmSchema.nullable()
64787
64785
  });
64788
64786
  var HeroControlSchema = z.discriminatedUnion("kind", [
@@ -64878,9 +64876,18 @@ var HeroBadgeSchema = z.object({
64878
64876
  value: z.number().nullable(),
64879
64877
  label: HeroTextSchema
64880
64878
  });
64881
- var HeroRemoteSlotSchema = z.object({
64882
- /** Saved commands; `null` = not known yet (the button still shows). */
64883
- commands: z.number().int().nullable() });
64879
+ /** The id of the action a row recognises as "open the device's remote". */
64880
+ var REMOTE_OPEN_ACTION_ID = "remote.open";
64881
+ var HeroRemoteSlotSchema = z.object({
64882
+ /** Saved commands; `null` = not known yet (the button still shows). */
64883
+ commands: z.number().int().nullable(),
64884
+ /**
64885
+ * The control a list row draws as the "open the remote" icon. Recognised by its id
64886
+ * ({@link REMOTE_OPEN_ACTION_ID}); it changes no state, so a client opens the remote
64887
+ * instead of running `call`. Absent on a model from an older server.
64888
+ */
64889
+ open: HeroActionSchema.optional()
64890
+ });
64884
64891
  var HeroConsumableItemSchema = z.object({
64885
64892
  key: z.string(),
64886
64893
  label: z.string(),
@@ -65049,6 +65056,8 @@ var HeroModelSchema = z.object({
65049
65056
  * the FIRST row that has any (a later row's control is never promoted). When
65050
65057
  * the model lists that part in `gated`, the row has no inline control: the
65051
65058
  * projection never falls through to another control the caller could use.
65059
+ * - a climate or thermostat row's primary is its `climate.mode` control (no power
65060
+ * toggle: "off" is a mode); when the model gates it the rule above applies as before;
65052
65061
  * - a timed run, when the model carries the slot, sits beside that primary:
65053
65062
  * Run while idle, Stop while armed. Gating the slot hides the control.
65054
65063
  * - the status line is the head (what plays, else the state) plus at most
@@ -65056,6 +65065,13 @@ var HeroModelSchema = z.object({
65056
65065
  * time left on an armed timed run;
65057
65066
  * - the trailing fact is the first of power, battery, consumables.
65058
65067
  *
65068
+ * - `extras` are the further inline controls of the types that carry more than one
65069
+ * ({@link ROW_EXTRAS_BY_TYPE}): climate setpoint, a robot's return to base,
65070
+ * a player's volume and remote. Each is a control the model already has, named by id,
65071
+ * in that order and at most {@link ROW_EXTRAS_MAX}; one the model lacks, or lists in
65072
+ * `gated`, is absent, and the one `primary` already is never repeats. Empty = the
65073
+ * row of an older server: `primary` alone.
65074
+ *
65059
65075
  * `projectDeviceRow` is pure and computes nothing: it selects from a
65060
65076
  * {@link HeroModel}. A row that needed a value the hero lacks would mean the
65061
65077
  * model is missing it, so the fix goes in the model.
@@ -65087,6 +65103,12 @@ var HeroRowModelSchema = z.object({
65087
65103
  * while armed. `null` when there is no slot, or the caller may not act.
65088
65104
  */
65089
65105
  timedRun: HeroRowTimedRunSchema.nullable(),
65106
+ /**
65107
+ * The further inline controls after `primary`, in order (see the header). The remote
65108
+ * is an `action` with id `remote.open`: the client opens the remote, it does not run
65109
+ * the call. Absent or empty = `primary` alone.
65110
+ */
65111
+ extras: z.array(HeroControlSchema).max(2).optional(),
65090
65112
  trailing: HeroFactSchema.nullable()
65091
65113
  });
65092
65114
  /** The trailing fact, in order of preference. */
@@ -65102,7 +65124,20 @@ function trailingOf(facts) {
65102
65124
  }
65103
65125
  return null;
65104
65126
  }
65127
+ /**
65128
+ * A type whose primary is a named control, not its power: a climate row is the mode
65129
+ * (which carries "off") and the setpoint, with no power toggle.
65130
+ */
65131
+ var ROW_PRIMARY_BY_TYPE = {
65132
+ [DeviceType.Climate]: "climate.mode",
65133
+ [DeviceType.Thermostat]: "climate.mode"
65134
+ };
65105
65135
  function primaryOf(model) {
65136
+ const named = ROW_PRIMARY_BY_TYPE[model.type];
65137
+ if (named !== void 0) {
65138
+ const found = extraOf(model, named);
65139
+ if (found !== null) return found;
65140
+ }
65106
65141
  const power = model.ownPower;
65107
65142
  if (power !== null) {
65108
65143
  if (model.gated.includes("own-power")) return null;
@@ -65122,6 +65157,43 @@ function primaryOf(model) {
65122
65157
  }
65123
65158
  return null;
65124
65159
  }
65160
+ /**
65161
+ * The extras of a type, by control id, in the order they are drawn. The ids are the
65162
+ * model's own: a `remote.open` is read from the model's remote slot, every other
65163
+ * from the rows. A type not listed has no extras.
65164
+ */
65165
+ var ROW_EXTRAS_BY_TYPE = {
65166
+ [DeviceType.Climate]: ["climate.target"],
65167
+ [DeviceType.Thermostat]: ["climate.target"],
65168
+ [DeviceType.Vacuum]: ["vacuum.base"],
65169
+ [DeviceType.LawnMower]: ["mower.dock"],
65170
+ [DeviceType.MediaPlayer]: ["volume.level", REMOTE_OPEN_ACTION_ID]
65171
+ };
65172
+ var controlId = (c) => c.kind === "action" ? c.action.id : c.id;
65173
+ function extraOf(model, id) {
65174
+ if (id === "remote.open") {
65175
+ const open = model.remote?.open;
65176
+ if (open === void 0 || model.gated.includes("remote")) return null;
65177
+ return {
65178
+ kind: "action",
65179
+ action: open
65180
+ };
65181
+ }
65182
+ for (const row of model.rows) {
65183
+ if (model.gated.includes(row.id)) continue;
65184
+ const found = row.controls.find((c) => controlId(c) === id);
65185
+ if (found !== void 0) return found;
65186
+ }
65187
+ return null;
65188
+ }
65189
+ function extrasOf(model, primary) {
65190
+ const ids = ROW_EXTRAS_BY_TYPE[model.type] ?? [];
65191
+ const taken = primary === null ? null : controlId(primary);
65192
+ return ids.filter((id) => id !== taken).flatMap((id) => {
65193
+ const found = extraOf(model, id);
65194
+ return found === null ? [] : [found];
65195
+ }).slice(0, 2);
65196
+ }
65125
65197
  function statusLineOf(model, trailing) {
65126
65198
  const head = model.rows.find((r) => r.id === "now-playing")?.status ?? null ?? model.title;
65127
65199
  const rest = model.facts.filter((f) => f !== trailing).map((f) => f.text).slice(0, 3);
@@ -65150,6 +65222,7 @@ function timedRunOf(model) {
65150
65222
  }
65151
65223
  function projectDeviceRow(model) {
65152
65224
  const trailing = trailingOf(model.facts);
65225
+ const primary = primaryOf(model);
65153
65226
  return {
65154
65227
  deviceId: model.deviceId,
65155
65228
  name: model.name,
@@ -65159,8 +65232,9 @@ function projectDeviceRow(model) {
65159
65232
  look: model.look,
65160
65233
  scene: model.scene,
65161
65234
  statusLine: statusLineOf(model, trailing),
65162
- primary: primaryOf(model),
65235
+ primary,
65163
65236
  timedRun: timedRunOf(model),
65237
+ extras: extrasOf(model, primary),
65164
65238
  trailing
65165
65239
  };
65166
65240
  }
@@ -101480,7 +101554,10 @@ var powerSourceContribution = contribution("power-source", PowerSourceStateSchem
101480
101554
  /** The remote cap has no status: the model's input carries how many commands it holds. */
101481
101555
  var remoteContribution = {
101482
101556
  cap: "remote",
101483
- contribute: (_slice, ctx) => ctx.remoteCommands === 0 ? {} : { remote: { commands: ctx.remoteCommands } }
101557
+ contribute: (_slice, ctx) => ctx.remoteCommands === 0 ? {} : { remote: {
101558
+ commands: ctx.remoteCommands,
101559
+ open: action(REMOTE_OPEN_ACTION_ID, t("Remote", "Telecomando"), "gamepad-2", "remote", "open")
101560
+ } }
101484
101561
  };
101485
101562
  var ATTENTION_STATUSES = [
101486
101563
  "low",
@@ -64776,13 +64776,11 @@ var HeroConfirmSchema = zod.z.enum([
64776
64776
  "press"
64777
64777
  ]);
64778
64778
  var HeroActionSchema = zod.z.object({
64779
- /** Unique within the model; the `gated` list and the specs name it. */
64780
64779
  id: zod.z.string(),
64781
64780
  label: HeroTextSchema,
64782
64781
  icon: IconKeySchema,
64783
64782
  call: HeroCallSchema,
64784
64783
  emphasis: zod.z.enum(["primary", "normal"]),
64785
- /** Ask before running it. */
64786
64784
  confirm: HeroConfirmSchema.nullable()
64787
64785
  });
64788
64786
  var HeroControlSchema = zod.z.discriminatedUnion("kind", [
@@ -64878,9 +64876,18 @@ var HeroBadgeSchema = zod.z.object({
64878
64876
  value: zod.z.number().nullable(),
64879
64877
  label: HeroTextSchema
64880
64878
  });
64881
- var HeroRemoteSlotSchema = zod.z.object({
64882
- /** Saved commands; `null` = not known yet (the button still shows). */
64883
- commands: zod.z.number().int().nullable() });
64879
+ /** The id of the action a row recognises as "open the device's remote". */
64880
+ var REMOTE_OPEN_ACTION_ID = "remote.open";
64881
+ var HeroRemoteSlotSchema = zod.z.object({
64882
+ /** Saved commands; `null` = not known yet (the button still shows). */
64883
+ commands: zod.z.number().int().nullable(),
64884
+ /**
64885
+ * The control a list row draws as the "open the remote" icon. Recognised by its id
64886
+ * ({@link REMOTE_OPEN_ACTION_ID}); it changes no state, so a client opens the remote
64887
+ * instead of running `call`. Absent on a model from an older server.
64888
+ */
64889
+ open: HeroActionSchema.optional()
64890
+ });
64884
64891
  var HeroConsumableItemSchema = zod.z.object({
64885
64892
  key: zod.z.string(),
64886
64893
  label: zod.z.string(),
@@ -65049,6 +65056,8 @@ var HeroModelSchema = zod.z.object({
65049
65056
  * the FIRST row that has any (a later row's control is never promoted). When
65050
65057
  * the model lists that part in `gated`, the row has no inline control: the
65051
65058
  * projection never falls through to another control the caller could use.
65059
+ * - a climate or thermostat row's primary is its `climate.mode` control (no power
65060
+ * toggle: "off" is a mode); when the model gates it the rule above applies as before;
65052
65061
  * - a timed run, when the model carries the slot, sits beside that primary:
65053
65062
  * Run while idle, Stop while armed. Gating the slot hides the control.
65054
65063
  * - the status line is the head (what plays, else the state) plus at most
@@ -65056,6 +65065,13 @@ var HeroModelSchema = zod.z.object({
65056
65065
  * time left on an armed timed run;
65057
65066
  * - the trailing fact is the first of power, battery, consumables.
65058
65067
  *
65068
+ * - `extras` are the further inline controls of the types that carry more than one
65069
+ * ({@link ROW_EXTRAS_BY_TYPE}): climate setpoint, a robot's return to base,
65070
+ * a player's volume and remote. Each is a control the model already has, named by id,
65071
+ * in that order and at most {@link ROW_EXTRAS_MAX}; one the model lacks, or lists in
65072
+ * `gated`, is absent, and the one `primary` already is never repeats. Empty = the
65073
+ * row of an older server: `primary` alone.
65074
+ *
65059
65075
  * `projectDeviceRow` is pure and computes nothing: it selects from a
65060
65076
  * {@link HeroModel}. A row that needed a value the hero lacks would mean the
65061
65077
  * model is missing it, so the fix goes in the model.
@@ -65087,6 +65103,12 @@ var HeroRowModelSchema = zod.z.object({
65087
65103
  * while armed. `null` when there is no slot, or the caller may not act.
65088
65104
  */
65089
65105
  timedRun: HeroRowTimedRunSchema.nullable(),
65106
+ /**
65107
+ * The further inline controls after `primary`, in order (see the header). The remote
65108
+ * is an `action` with id `remote.open`: the client opens the remote, it does not run
65109
+ * the call. Absent or empty = `primary` alone.
65110
+ */
65111
+ extras: zod.z.array(HeroControlSchema).max(2).optional(),
65090
65112
  trailing: HeroFactSchema.nullable()
65091
65113
  });
65092
65114
  /** The trailing fact, in order of preference. */
@@ -65102,7 +65124,20 @@ function trailingOf(facts) {
65102
65124
  }
65103
65125
  return null;
65104
65126
  }
65127
+ /**
65128
+ * A type whose primary is a named control, not its power: a climate row is the mode
65129
+ * (which carries "off") and the setpoint, with no power toggle.
65130
+ */
65131
+ var ROW_PRIMARY_BY_TYPE = {
65132
+ [DeviceType.Climate]: "climate.mode",
65133
+ [DeviceType.Thermostat]: "climate.mode"
65134
+ };
65105
65135
  function primaryOf(model) {
65136
+ const named = ROW_PRIMARY_BY_TYPE[model.type];
65137
+ if (named !== void 0) {
65138
+ const found = extraOf(model, named);
65139
+ if (found !== null) return found;
65140
+ }
65106
65141
  const power = model.ownPower;
65107
65142
  if (power !== null) {
65108
65143
  if (model.gated.includes("own-power")) return null;
@@ -65122,6 +65157,43 @@ function primaryOf(model) {
65122
65157
  }
65123
65158
  return null;
65124
65159
  }
65160
+ /**
65161
+ * The extras of a type, by control id, in the order they are drawn. The ids are the
65162
+ * model's own: a `remote.open` is read from the model's remote slot, every other
65163
+ * from the rows. A type not listed has no extras.
65164
+ */
65165
+ var ROW_EXTRAS_BY_TYPE = {
65166
+ [DeviceType.Climate]: ["climate.target"],
65167
+ [DeviceType.Thermostat]: ["climate.target"],
65168
+ [DeviceType.Vacuum]: ["vacuum.base"],
65169
+ [DeviceType.LawnMower]: ["mower.dock"],
65170
+ [DeviceType.MediaPlayer]: ["volume.level", REMOTE_OPEN_ACTION_ID]
65171
+ };
65172
+ var controlId = (c) => c.kind === "action" ? c.action.id : c.id;
65173
+ function extraOf(model, id) {
65174
+ if (id === "remote.open") {
65175
+ const open = model.remote?.open;
65176
+ if (open === void 0 || model.gated.includes("remote")) return null;
65177
+ return {
65178
+ kind: "action",
65179
+ action: open
65180
+ };
65181
+ }
65182
+ for (const row of model.rows) {
65183
+ if (model.gated.includes(row.id)) continue;
65184
+ const found = row.controls.find((c) => controlId(c) === id);
65185
+ if (found !== void 0) return found;
65186
+ }
65187
+ return null;
65188
+ }
65189
+ function extrasOf(model, primary) {
65190
+ const ids = ROW_EXTRAS_BY_TYPE[model.type] ?? [];
65191
+ const taken = primary === null ? null : controlId(primary);
65192
+ return ids.filter((id) => id !== taken).flatMap((id) => {
65193
+ const found = extraOf(model, id);
65194
+ return found === null ? [] : [found];
65195
+ }).slice(0, 2);
65196
+ }
65125
65197
  function statusLineOf(model, trailing) {
65126
65198
  const head = model.rows.find((r) => r.id === "now-playing")?.status ?? null ?? model.title;
65127
65199
  const rest = model.facts.filter((f) => f !== trailing).map((f) => f.text).slice(0, 3);
@@ -65150,6 +65222,7 @@ function timedRunOf(model) {
65150
65222
  }
65151
65223
  function projectDeviceRow(model) {
65152
65224
  const trailing = trailingOf(model.facts);
65225
+ const primary = primaryOf(model);
65153
65226
  return {
65154
65227
  deviceId: model.deviceId,
65155
65228
  name: model.name,
@@ -65159,8 +65232,9 @@ function projectDeviceRow(model) {
65159
65232
  look: model.look,
65160
65233
  scene: model.scene,
65161
65234
  statusLine: statusLineOf(model, trailing),
65162
- primary: primaryOf(model),
65235
+ primary,
65163
65236
  timedRun: timedRunOf(model),
65237
+ extras: extrasOf(model, primary),
65164
65238
  trailing
65165
65239
  };
65166
65240
  }
@@ -101480,7 +101554,10 @@ var powerSourceContribution = contribution("power-source", PowerSourceStateSchem
101480
101554
  /** The remote cap has no status: the model's input carries how many commands it holds. */
101481
101555
  var remoteContribution = {
101482
101556
  cap: "remote",
101483
- contribute: (_slice, ctx) => ctx.remoteCommands === 0 ? {} : { remote: { commands: ctx.remoteCommands } }
101557
+ contribute: (_slice, ctx) => ctx.remoteCommands === 0 ? {} : { remote: {
101558
+ commands: ctx.remoteCommands,
101559
+ open: action(REMOTE_OPEN_ACTION_ID, t("Remote", "Telecomando"), "gamepad-2", "remote", "open")
101560
+ } }
101484
101561
  };
101485
101562
  var ATTENTION_STATUSES = [
101486
101563
  "low",
@@ -1,5 +1,5 @@
1
1
  require("./chunk-Cek0wNdY.js");
2
- const require_wal_maintenance = require("./wal-maintenance-At5TeYwr.js");
2
+ const require_wal_maintenance = require("./wal-maintenance-BfkwceLa.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-COJdLp-y.mjs";
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-Dn2cx4Km.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-KJhkakFo.js");
2
+ const require_dist = require("./dist-DVrLQr6W.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 { mc as defineRecordKinds } from "./dist-Bv_ADY4Y.mjs";
1
+ import { mc as defineRecordKinds } from "./dist-B8dBvJJK.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-KJhkakFo.js");
2
+ const require_dist = require("./dist-DVrLQr6W.js");
3
3
  const require_x509_es = require("./x509.es-WtnRNyYS.js");
4
- const require_hub_identity = require("./hub-identity-BS1rzEes.js");
4
+ const require_hub_identity = require("./hub-identity-Cg1_bzoY.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 { il as userError } from "./dist-Bv_ADY4Y.mjs";
2
+ import { il as userError } from "./dist-B8dBvJJK.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-DSLLzLph.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-D2sSTELW.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";