@camstack/server 1.2.905 → 1.2.907

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 (91) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/api/trpc/generated-cap-routers.js +9 -0
  3. package/package.json +15 -12
  4. package/system/dist/addon-runner.js +2 -2
  5. package/system/dist/addon-runner.mjs +2 -2
  6. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  7. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  8. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  9. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  10. package/system/dist/builtins/alerts/alerts.addon.js +1 -1
  11. package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
  12. package/system/dist/builtins/autotrack/index.js +1 -1
  13. package/system/dist/builtins/autotrack/index.mjs +1 -1
  14. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  15. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
  16. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  17. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  18. package/system/dist/builtins/camera-grid/index.js +1 -1
  19. package/system/dist/builtins/camera-grid/index.mjs +1 -1
  20. package/system/dist/builtins/composer/composer.addon.js +4 -4
  21. package/system/dist/builtins/composer/composer.addon.mjs +4 -4
  22. package/system/dist/builtins/console-logging/index.js +1 -1
  23. package/system/dist/builtins/console-logging/index.mjs +1 -1
  24. package/system/dist/builtins/core-blocks/core-blocks.addon.js +3 -3
  25. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
  26. package/system/dist/builtins/device-history/device-history.addon.js +2 -2
  27. package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
  28. package/system/dist/builtins/device-manager/device-manager.addon.js +2 -2
  29. package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
  30. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  31. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  32. package/system/dist/builtins/keychain/index.js +4 -4
  33. package/system/dist/builtins/keychain/index.mjs +4 -4
  34. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  35. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  36. package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
  37. package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
  38. package/system/dist/builtins/local-network/local-network.addon.js +3 -3
  39. package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
  40. package/system/dist/builtins/loki-logging/index.js +1 -1
  41. package/system/dist/builtins/loki-logging/index.mjs +1 -1
  42. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  43. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  44. package/system/dist/builtins/platform-probe/index.js +1 -1
  45. package/system/dist/builtins/platform-probe/index.mjs +1 -1
  46. package/system/dist/builtins/record-entries/index.js +1 -1
  47. package/system/dist/builtins/record-entries/index.mjs +1 -1
  48. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  49. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  50. package/system/dist/builtins/snapshot/index.js +1 -1
  51. package/system/dist/builtins/snapshot/index.mjs +1 -1
  52. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  53. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  54. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  55. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  56. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
  57. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
  58. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  59. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  60. package/system/dist/builtins/system-config/system-config.addon.js +3 -3
  61. package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
  62. package/system/dist/builtins/winston-logging/index.js +1 -1
  63. package/system/dist/builtins/winston-logging/index.mjs +1 -1
  64. package/system/dist/{capture-engine-RBUMGWAQ.js → capture-engine-3jGJgvox.js} +1 -1
  65. package/system/dist/{capture-engine-p8TvutWs.mjs → capture-engine-jugDy5BG.mjs} +1 -1
  66. package/system/dist/{composition-sources-BpNYHsYV.js → composition-sources-Dr0YIlWN.js} +1 -1
  67. package/system/dist/{composition-sources-D-Mx9l1R.mjs → composition-sources-LuK-xWUU.mjs} +1 -1
  68. package/system/dist/{constants-DudYA1Gy.mjs → constants-BIYUk5fi.mjs} +1 -1
  69. package/system/dist/{constants-CoI9jLDM.js → constants-CPmCqjv8.js} +1 -1
  70. package/system/dist/{device-ca-C-sTmnS2.js → device-ca-BqS0gsPe.js} +1 -1
  71. package/system/dist/{device-ca-D_JhEpTM.mjs → device-ca-D_ytnQmS.mjs} +1 -1
  72. package/system/dist/{dist-7xGEQgKD.mjs → dist-B4rY3X9J.mjs} +153 -9
  73. package/system/dist/{dist-GBdQRV6O.js → dist-DPjg9Hh3.js} +153 -9
  74. package/system/dist/file-host-worker.js +1 -1
  75. package/system/dist/file-host-worker.mjs +1 -1
  76. package/system/dist/{hub-identity-CoOhdm4U.js → hub-identity-BZQN0Gcw.js} +1 -1
  77. package/system/dist/{hub-identity-DEUmUjoR.mjs → hub-identity-CSAQVJ4m.mjs} +1 -1
  78. package/system/dist/{hub-mdns-ciao-B1uGf5o7.mjs → hub-mdns-ciao-C3_ne7jS.mjs} +2 -2
  79. package/system/dist/{hub-mdns-ciao-Z0s6r3Mn.js → hub-mdns-ciao-D-JLpnKV.js} +2 -2
  80. package/system/dist/index.js +10 -10
  81. package/system/dist/index.mjs +10 -10
  82. package/system/dist/kernel/deps/addon-deps-manager.d.ts +2 -1
  83. package/system/dist/{legacy-integration-rows-door-CJhsrOOx.js → legacy-integration-rows-door-CX3Mts79.js} +1 -1
  84. package/system/dist/{legacy-integration-rows-door-DvlJaQhO.mjs → legacy-integration-rows-door-DJdcdcxz.mjs} +1 -1
  85. package/system/dist/{rename-composition-block-vfxR6GJk.js → rename-composition-block-BgpakWEs.js} +1 -1
  86. package/system/dist/{rename-composition-block-yU70pD-l.mjs → rename-composition-block-rKP1rFcJ.mjs} +1 -1
  87. package/system/dist/{restore-archive-NZV-Tsd2.mjs → restore-archive-Bm2osxR8.mjs} +1 -1
  88. package/system/dist/{restore-archive-DfuHu5em.js → restore-archive-C0AzyMjl.js} +1 -1
  89. package/system/dist/{wal-maintenance-BY1F-5Y1.mjs → wal-maintenance-D-bBx5IB.mjs} +0 -0
  90. package/system/dist/{wal-maintenance-TS2C4a-E.js → wal-maintenance-DeKZHUmZ.js} +0 -0
  91. package/system/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { o as __toESM, r as __exportAll } from "../../chunk-CNf5ZN-e.mjs";
2
- import { Dl as emitReadiness, Eu as errMsg, Ka as platformProbeCapability, Ou as EventCategory, Sc as BaseAddon, Tl as describeNvidia, kl as enumerateInferenceDevices, lu as scoreRuntimes, za as parseAcceleratorFactsJson } from "../../dist-7xGEQgKD.mjs";
2
+ import { Dl as emitReadiness, Eu as errMsg, Ka as platformProbeCapability, Ou as EventCategory, Sc as BaseAddon, Tl as describeNvidia, kl as enumerateInferenceDevices, lu as scoreRuntimes, za as parseAcceleratorFactsJson } from "../../dist-B4rY3X9J.mjs";
3
3
  import { n as detectCoralAccelerator, r as nodeCoralFs } from "../../coral-accelerators-DBlgWB8k.mjs";
4
4
  import * as fs$1 from "node:fs";
5
5
  import * as path$1 from "node:path";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-GBdQRV6O.js");
6
+ const require_dist = require("../../dist-DPjg9Hh3.js");
7
7
  let zod = require("zod");
8
8
  let node_crypto = require("node:crypto");
9
9
  //#region src/builtins/record-entries/entries-service.ts
@@ -1,4 +1,4 @@
1
- import { Nc as InvalidRecordError, Sc as BaseAddon, fu as secretViewsOf, nl as UnknownRecordKindError, so as recordEntriesCapability } from "../../dist-7xGEQgKD.mjs";
1
+ import { Nc as InvalidRecordError, Sc as BaseAddon, fu as secretViewsOf, nl as UnknownRecordKindError, so as recordEntriesCapability } from "../../dist-B4rY3X9J.mjs";
2
2
  import { z } from "zod";
3
3
  import { randomUUID } from "node:crypto";
4
4
  //#region src/builtins/record-entries/entries-service.ts
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-GBdQRV6O.js");
6
+ const require_dist = require("../../dist-DPjg9Hh3.js");
7
7
  let zod = require("zod");
8
8
  //#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
9
9
  /**
@@ -1,4 +1,4 @@
1
- import { Ou as EventCategory, Sc as BaseAddon } from "../../dist-7xGEQgKD.mjs";
1
+ import { Ou as EventCategory, Sc as BaseAddon } from "../../dist-B4rY3X9J.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
4
4
  /**
@@ -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-GBdQRV6O.js");
6
+ const require_dist = require("../../dist-DPjg9Hh3.js");
7
7
  const require_snapshot_courtesy = require("../../snapshot-courtesy-D_C5-nC0.js");
8
8
  let zod = require("zod");
9
9
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { Eu as errMsg, It as LowPowerSleepStatusSchema, Ou as EventCategory, Sc as BaseAddon, Tu as DeviceType, Vr as deriveBatteryPresence, Yn as bareAddonId, Zl as nodePin, Zr as deviceSleeps, ba as memoizePinnedFfmpeg, es as snapshotCapability, ha as lowPowerSleepCapability, ls as streamQualityLabel } from "../../dist-7xGEQgKD.mjs";
1
+ import { Eu as errMsg, It as LowPowerSleepStatusSchema, Ou as EventCategory, Sc as BaseAddon, Tu as DeviceType, Vr as deriveBatteryPresence, Yn as bareAddonId, Zl as nodePin, Zr as deviceSleeps, ba as memoizePinnedFfmpeg, es as snapshotCapability, ha as lowPowerSleepCapability, ls as streamQualityLabel } from "../../dist-B4rY3X9J.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-GBdQRV6O.js");
6
+ const require_dist = require("../../dist-DPjg9Hh3.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 { Sc as BaseAddon, _i as filesystemBrowseCapability, ss as storageProviderCapability } from "../../dist-7xGEQgKD.mjs";
1
+ import { Sc as BaseAddon, _i as filesystemBrowseCapability, ss as storageProviderCapability } from "../../dist-B4rY3X9J.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-TS2C4a-E.js");
7
+ const require_wal_maintenance = require("../../wal-maintenance-DeKZHUmZ.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-BY1F-5Y1.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-D-bBx5IB.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-GBdQRV6O.js");
6
+ const require_dist = require("../../dist-DPjg9Hh3.js");
7
7
  const require_retired_settings_keys = require("../../retired-settings-keys-C8nOOr5H.js");
8
- const require_wal_maintenance = require("../../wal-maintenance-TS2C4a-E.js");
8
+ const require_wal_maintenance = require("../../wal-maintenance-DeKZHUmZ.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-CJhsrOOx.js");
11
+ const require_legacy_integration_rows_door = require("../../legacy-integration-rows-door-CX3Mts79.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 { $l as normalizeSecretOwner, As as vectorStoreCapability, Bc as RECORD_SWEEP_INTERVAL_MS, Eu as errMsg$1, F as DATABASE_SNAPSHOT_SUFFIX, Fr as databaseSnapshotCapability, I as DATABASE_SNAPSHOT_TIMEOUT_MS, L as DATA_STORE_DATABASES, Mo as resolveRunnerId, Nc as InvalidRecordError, Oc as DeclarationRefusedError, Ou as EventCategory, P as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, Pc as NoCallerError, Pr as dataStoreProviderCapability, Ra as orderMigrations, Rt as MIGRATION_API_V1_METHODS, Sc as BaseAddon, Sl as defineCustomActions, Ta as migrationsCapability, Uc as RUNTIME_DEFAULTS, Ut as MigrationMetaSchema, Yn as bareAddonId, bl as customAction, co as recordsCapability, el as TransactRefusedError, hl as collectSecretMarkerRefs, lr as catalogueIssues, nl as UnknownRecordKindError, qc as RecordKindDeclarationSchema, rs as storageAdminCapability } from "../../dist-7xGEQgKD.mjs";
1
+ import { $l as normalizeSecretOwner, As as vectorStoreCapability, Bc as RECORD_SWEEP_INTERVAL_MS, Eu as errMsg$1, F as DATABASE_SNAPSHOT_SUFFIX, Fr as databaseSnapshotCapability, I as DATABASE_SNAPSHOT_TIMEOUT_MS, L as DATA_STORE_DATABASES, Mo as resolveRunnerId, Nc as InvalidRecordError, Oc as DeclarationRefusedError, Ou as EventCategory, P as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, Pc as NoCallerError, Pr as dataStoreProviderCapability, Ra as orderMigrations, Rt as MIGRATION_API_V1_METHODS, Sc as BaseAddon, Sl as defineCustomActions, Ta as migrationsCapability, Uc as RUNTIME_DEFAULTS, Ut as MigrationMetaSchema, Yn as bareAddonId, bl as customAction, co as recordsCapability, el as TransactRefusedError, hl as collectSecretMarkerRefs, lr as catalogueIssues, nl as UnknownRecordKindError, qc as RecordKindDeclarationSchema, rs as storageAdminCapability } from "../../dist-B4rY3X9J.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-BY1F-5Y1.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-D-bBx5IB.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-DvlJaQhO.mjs";
6
+ import { a as patchLegacyIntegrationRows, i as legacyIntegrationAddonId, n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows, r as deleteLegacyIntegrationRowKeys } from "../../legacy-integration-rows-door-DJdcdcxz.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-GBdQRV6O.js");
6
+ const require_dist = require("../../dist-DPjg9Hh3.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 { Cn as StorageLocationTypeSchema, Da as modeMayWrite, Do as resolveLocationMode, Ea as modeForSwitch, Gl as isSecretMarker, Jl as makeSecretMarker, Ko as settingsStoreCapability, Ns as withLocationMode, Ou as EventCategory, Pi as integrationInstancesCapability, Ql as normalizeNodeId, Sc as BaseAddon, Si as gbToBytes, Sl as defineCustomActions, Sn as StorageLocationModeSchema, Ul as isSecretClear, Vc as REDACTED_SECRET, Wl as isSecretFieldView, Yi as isLocationEnabled, _a as mayWriteToLocation, as as storageMigrationCapability, bl as customAction, fl as buildSecretRef, fn as STORAGE_LOCATION_MODES, fs as switchStateOfMode, ga as mayReadLocation, gu as toSecretFieldView, is as storageCapability, iu as recordSecretRef, nu as parseSecretRef, ou as resolveSecretMarkers, pl as collectSecretConfigKeys, si as evictionPolicyOfLocation, wl as defineRecordKinds, wn as StorageMigrationJobSchema, xl as defineAddonMigrations, xn as StorageCleanupJobSchema } from "../../dist-7xGEQgKD.mjs";
1
+ import { Cn as StorageLocationTypeSchema, Da as modeMayWrite, Do as resolveLocationMode, Ea as modeForSwitch, Gl as isSecretMarker, Jl as makeSecretMarker, Ko as settingsStoreCapability, Ns as withLocationMode, Ou as EventCategory, Pi as integrationInstancesCapability, Ql as normalizeNodeId, Sc as BaseAddon, Si as gbToBytes, Sl as defineCustomActions, Sn as StorageLocationModeSchema, Ul as isSecretClear, Vc as REDACTED_SECRET, Wl as isSecretFieldView, Yi as isLocationEnabled, _a as mayWriteToLocation, as as storageMigrationCapability, bl as customAction, fl as buildSecretRef, fn as STORAGE_LOCATION_MODES, fs as switchStateOfMode, ga as mayReadLocation, gu as toSecretFieldView, is as storageCapability, iu as recordSecretRef, nu as parseSecretRef, ou as resolveSecretMarkers, pl as collectSecretConfigKeys, si as evictionPolicyOfLocation, wl as defineRecordKinds, wn as StorageMigrationJobSchema, xl as defineAddonMigrations, xn as StorageCleanupJobSchema } from "../../dist-B4rY3X9J.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-GBdQRV6O.js");
6
+ const require_dist = require("../../dist-DPjg9Hh3.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-CoOhdm4U.js");
10
- const require_constants$8 = require("../../constants-CoI9jLDM.js");
9
+ const require_hub_identity = require("../../hub-identity-BZQN0Gcw.js");
10
+ const require_constants$8 = require("../../constants-CPmCqjv8.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 { Eu as errMsg, Fl as hydrateSchema, Sc as BaseAddon, Sl as defineCustomActions, Zo as shortHostname, bl as customAction, vn as ServerNameSchema } from "../../dist-7xGEQgKD.mjs";
2
+ import { Eu as errMsg, Fl as hydrateSchema, Sc as BaseAddon, Sl as defineCustomActions, Zo as shortHostname, bl as customAction, vn as ServerNameSchema } from "../../dist-B4rY3X9J.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-DEUmUjoR.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-DudYA1Gy.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-CSAQVJ4m.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-BIYUk5fi.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-GBdQRV6O.js");
6
+ const require_dist = require("../../dist-DPjg9Hh3.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 { Sc as BaseAddon, Xa as preconditionOf, fa as logDestinationCapability, xl as defineAddonMigrations } from "../../dist-7xGEQgKD.mjs";
1
+ import { Sc as BaseAddon, Xa as preconditionOf, fa as logDestinationCapability, xl as defineAddonMigrations } from "../../dist-B4rY3X9J.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-GBdQRV6O.js");
1
+ const require_dist = require("./dist-DPjg9Hh3.js");
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 { Mc as HISTORY_DEFAULT_MIN_INTERVAL_MS, Nl as historyItemFieldPath, Tu as DeviceType } from "./dist-7xGEQgKD.mjs";
1
+ import { Mc as HISTORY_DEFAULT_MIN_INTERVAL_MS, Nl as historyItemFieldPath, Tu as DeviceType } from "./dist-B4rY3X9J.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
- const require_dist = require("./dist-GBdQRV6O.js");
1
+ const require_dist = require("./dist-DPjg9Hh3.js");
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,4 +1,4 @@
1
- import { Eu as errMsg, nc as compositionSourceKey } from "./dist-7xGEQgKD.mjs";
1
+ import { Eu as errMsg, nc as compositionSourceKey } from "./dist-B4rY3X9J.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,4 +1,4 @@
1
- import { fl as buildSecretRef } from "./dist-7xGEQgKD.mjs";
1
+ import { fl as buildSecretRef } from "./dist-B4rY3X9J.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,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-GBdQRV6O.js").buildSecretRef({
2
+ var MESH_CA_KEY_REF = require("./dist-DPjg9Hh3.js").buildSecretRef({
3
3
  owner: "system",
4
4
  scope: { kind: "global" },
5
5
  fieldPath: "meshCaKey"
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-GBdQRV6O.js");
1
+ const require_dist = require("./dist-DPjg9Hh3.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
@@ -1,4 +1,4 @@
1
- import { K as DEVICE_SAN_CREDENTIAL_PREFIX, fl as buildSecretRef, q as DEVICE_SAN_USER_PREFIX } from "./dist-7xGEQgKD.mjs";
1
+ import { K as DEVICE_SAN_CREDENTIAL_PREFIX, fl as buildSecretRef, q as DEVICE_SAN_USER_PREFIX } from "./dist-B4rY3X9J.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-qX7BpOYT.mjs
1318
+ //#region ../types/dist/runtime-capabilities-B36VcCR6.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).
@@ -6255,6 +6255,95 @@ var BrokerStatusSchema = z.enum([
6255
6255
  "error",
6256
6256
  "stopped"
6257
6257
  ]);
6258
+ /**
6259
+ * The encode a derived stream's feeder was last spawned with — the read-only
6260
+ * "effective encode". Read off the ffmpeg argv that runs, so it cannot drift
6261
+ * from what the operator's profile and the carrier's rules resolved to.
6262
+ */
6263
+ var DerivedEffectiveEncodeSchema = z.object({
6264
+ /** `-c:v` of the argv (`libx264`, a hardware encoder, `copy`); null when absent. */
6265
+ encoder: z.string().nullable(),
6266
+ /** Output frame rate; null when the source cadence passes through unmeasured. */
6267
+ fps: z.number().nullable(),
6268
+ gopFrames: z.number(),
6269
+ /** ABR target (`-b:v`), kbps. */
6270
+ targetKbps: z.number().nullable(),
6271
+ /** Ceiling (`-maxrate`), kbps. */
6272
+ capKbps: z.number().nullable(),
6273
+ bufsizeKbps: z.number().nullable(),
6274
+ /**
6275
+ * `copy` = source audio untouched, `aac` = re-encoded, `profile` = operator's
6276
+ * encode, `none` = the operator dropped the track.
6277
+ */
6278
+ audio: z.enum([
6279
+ "copy",
6280
+ "aac",
6281
+ "profile",
6282
+ "none"
6283
+ ])
6284
+ });
6285
+ /**
6286
+ * A derived stream's source: a **profile** slot (follows whatever physical
6287
+ * stream that profile is assigned to) or a **camStream** (pinned to one
6288
+ * physical stream regardless of assignment).
6289
+ */
6290
+ var DerivedSourceRefSchema = z.union([z.object({
6291
+ kind: z.literal("profile"),
6292
+ profile: z.enum([
6293
+ "high",
6294
+ "mid",
6295
+ "low"
6296
+ ])
6297
+ }), z.object({
6298
+ kind: z.literal("camStream"),
6299
+ camStreamId: z.string()
6300
+ })]);
6301
+ z.object({
6302
+ width: z.number().nullable(),
6303
+ height: z.number().nullable(),
6304
+ fps: z.number().nullable(),
6305
+ idrIntervalMs: z.number().nullable(),
6306
+ /** `h264` / `h265` when observed. */
6307
+ videoCodec: z.enum(["h264", "h265"]).nullable(),
6308
+ /** Upper-cased SDP name (`AAC`, `PCMU`) when the source has an audio track. */
6309
+ audioCodec: z.string().nullable()
6310
+ });
6311
+ /**
6312
+ * The full effective encode of a derived-stream profile: the stats the broker
6313
+ * publishes in `getBrokerStats.derivedEncode` plus the resolved geometry, the
6314
+ * flags that say WHY a number differs from the request, and the ffmpeg output
6315
+ * argv. One function (`computeDerivedEncode`) produces it for both the
6316
+ * broker's start path and `previewDerivedEncode`.
6317
+ */
6318
+ var DerivedEncodePreviewSchema = DerivedEffectiveEncodeSchema.extend({
6319
+ /** Final picture size; `null` when neither the profile nor the source names it. */
6320
+ width: z.number().nullable(),
6321
+ height: z.number().nullable(),
6322
+ /** `h264` / `h265` re-encode, `copy` remux; `null` is never returned (the encoder always resolves). */
6323
+ videoCodec: z.enum([
6324
+ "h264",
6325
+ "h265",
6326
+ "copy"
6327
+ ]),
6328
+ requestedFps: z.number().nullable(),
6329
+ /** The requested fps exceeded the source and the source cadence won. */
6330
+ fpsClampedToSource: z.boolean(),
6331
+ /** Lowest bitrate accepted for this geometry x fps; `null` when unknown. */
6332
+ floorKbps: z.number().nullable(),
6333
+ /** The explicit bitrate was below the floor and was raised to it. */
6334
+ raisedToFloor: z.boolean(),
6335
+ /** What the profile asked for when it was raised; `null` otherwise. */
6336
+ requestedKbps: z.number().nullable(),
6337
+ /** Seconds between keyframes; `null` when the output cadence is unknown. */
6338
+ keyframeIntervalSec: z.number().nullable(),
6339
+ /** The ffmpeg argv, with the source loopback URL in `-i`. */
6340
+ args: z.array(z.string())
6341
+ });
6342
+ /** Result of `previewDerivedEncode`: a plan, or the reason there is none. */
6343
+ var PreviewDerivedEncodeResultSchema = z.discriminatedUnion("kind", [z.object({
6344
+ kind: z.literal("preview"),
6345
+ preview: DerivedEncodePreviewSchema
6346
+ }), z.object({ kind: z.literal("no-source") })]);
6258
6347
  var BrokerStatsSchema = z.object({
6259
6348
  status: BrokerStatusSchema,
6260
6349
  inputFps: z.number(),
@@ -6296,7 +6385,9 @@ var BrokerStatsSchema = z.object({
6296
6385
  * alone that the mute is on the packet path and not merely persisted.
6297
6386
  */
6298
6387
  audioMuted: z.boolean().optional(),
6299
- audioMutedDropped: z.number().optional()
6388
+ audioMutedDropped: z.number().optional(),
6389
+ /** Present for a derived broker once its feeder has spawned at least once. */
6390
+ derivedEncode: DerivedEffectiveEncodeSchema.optional()
6300
6391
  });
6301
6392
  /**
6302
6393
  * Exporter-facing "profile restream" entry. Returned by
@@ -20065,7 +20156,7 @@ function enumerateInferenceDevices(hw) {
20065
20156
  return out;
20066
20157
  }
20067
20158
  //#endregion
20068
- //#region ../types/dist/implemented-methods-wFScvZ40.mjs
20159
+ //#region ../types/dist/implemented-methods-BUBqZ2a0.mjs
20069
20160
  var AUDIO_ENCODER_BY_CODEC = {
20070
20161
  opus: "libopus",
20071
20162
  aac: "aac",
@@ -20200,7 +20291,7 @@ function buildRateControlArgs(video) {
20200
20291
  };
20201
20292
  const bufsize = Math.max(1, Math.round(kbps * rc.vbvSeconds));
20202
20293
  return [
20203
- ...rc.kind === "cbr" ? ["-b:v", `${kbps}k`] : [],
20294
+ ...rc.kind === "cbr" ? ["-b:v", `${kbps}k`] : rc.targetFraction !== void 0 ? ["-b:v", `${Math.max(1, Math.round(kbps * rc.targetFraction))}k`] : [],
20204
20295
  "-maxrate",
20205
20296
  `${kbps}k`,
20206
20297
  "-bufsize",
@@ -24432,10 +24523,16 @@ TargetSchema.omit({ id: true });
24432
24523
  * suggestions before persistence.
24433
24524
  */
24434
24525
  var VideoEncodeSchema = z.object({
24526
+ /**
24527
+ * `h264` / `h265` re-encode into that codec; `source` re-encodes in whatever
24528
+ * codec the source speaks (a resize that keeps the codec); `copy` remuxes
24529
+ * with no encode at all (so no resize either).
24530
+ */
24435
24531
  codec: z.enum([
24436
24532
  "h264",
24437
24533
  "h265",
24438
- "copy"
24534
+ "copy",
24535
+ "source"
24439
24536
  ]),
24440
24537
  profile: z.enum([
24441
24538
  "baseline",
@@ -24487,12 +24584,14 @@ var VideoEncodeSchema = z.object({
24487
24584
  singleSlicePerFrame: z.boolean().optional()
24488
24585
  });
24489
24586
  var AudioEncodeSchema = z.union([z.literal("passthrough"), z.object({
24587
+ /** `none` drops the audio track (`-an`); `copy` carries the source's. */
24490
24588
  codec: z.enum([
24491
24589
  "opus",
24492
24590
  "aac",
24493
24591
  "pcmu",
24494
24592
  "pcma",
24495
- "copy"
24593
+ "copy",
24594
+ "none"
24496
24595
  ]),
24497
24596
  bitrateKbps: z.number().int().positive().optional(),
24498
24597
  sampleRateHz: z.number().int().positive().optional(),
@@ -61189,6 +61288,19 @@ var streamBrokerCapability = {
61189
61288
  listAllProfileSlots: method(z.void(), z.array(ProfileSlotSchema).readonly()),
61190
61289
  getBrokerStats: method(z.object({ brokerId: z.string() }), BrokerStatsSchema),
61191
61290
  /**
61291
+ * The effective encode a derived-stream `profile` WOULD run with, computed
61292
+ * by the same function the broker uses when it starts the encode, against
61293
+ * the source params the broker has already probed for `deviceId`. Lets an
61294
+ * editor show the final geometry, fps, bitrate and ffmpeg argv live while
61295
+ * the operator edits. `source` defaults to the `high` profile slot.
61296
+ * `{ kind: 'no-source' }` when nothing has been probed yet — never a guess.
61297
+ */
61298
+ previewDerivedEncode: method(z.object({
61299
+ deviceId: z.number().int().nonnegative(),
61300
+ profile: EncodeProfileSchema,
61301
+ source: DerivedSourceRefSchema.optional()
61302
+ }), PreviewDerivedEncodeResultSchema),
61303
+ /**
61192
61304
  * Force a one-shot probe of a single source stream: transiently dial the
61193
61305
  * broker (a `warmup` consumer), capture a fresh `BrokerStats` snapshot for
61194
61306
  * the per-stream "Probed" settings field, then release. Wakes a suspended
@@ -91865,7 +91977,8 @@ var StatelessStepRefusalSchema = z.enum([
91865
91977
  "unknown-step",
91866
91978
  "model-not-servable",
91867
91979
  "unreadable-frame",
91868
- "execution-failed"
91980
+ "execution-failed",
91981
+ "no-eligible-device"
91869
91982
  ]);
91870
91983
  /**
91871
91984
  * Answer to `runStatelessStep` — a discriminated union rather than a nullable
@@ -100087,7 +100200,13 @@ var NodeInferenceDeviceSchema = z.object({
100087
100200
  enabled: z.boolean(),
100088
100201
  /** Relative balancer weight for the enabled device (default 1). */
100089
100202
  weight: z.number(),
100090
- /** Per-device concurrent-session cap; null = unlimited (multi-device C4). */
100203
+ /**
100204
+ * Per-device concurrent-session cap; null = unlimited (multi-device C4). A
100205
+ * limit: a camera no device can take within its cap stays on the node's
100206
+ * default pool — EXCEPT when that default pool is an excluded device
100207
+ * (`defaultPoolExcluded`), where it goes over the cap on the least-loaded
100208
+ * eligible device instead (#610).
100209
+ */
100091
100210
  maxSessions: z.number().nullable(),
100092
100211
  /** Object-detection model the executor defaults to for this deviceKey. */
100093
100212
  defaultModelId: z.string(),
@@ -100137,7 +100256,15 @@ var NodeInferenceDevicesSchema = z.object({
100137
100256
  nodeId: z.string(),
100138
100257
  /** False when the node's platform-probe was unreachable (no live device set). */
100139
100258
  reachable: z.boolean(),
100140
- devices: z.array(NodeInferenceDeviceSchema).readonly()
100259
+ devices: z.array(NodeInferenceDeviceSchema).readonly(),
100260
+ /**
100261
+ * The election left NO device and one was excluded because the operator
100262
+ * turned it off or it is not functional (#610): the runner's default pool is
100263
+ * that device, so work with no explicit device (a stateless step, a bench with
100264
+ * no `deviceKey`) is refused rather than run there. Absent = an orchestrator
100265
+ * older than the field, or an unreachable node: nothing is claimed (D315).
100266
+ */
100267
+ defaultPoolExcluded: z.boolean().optional()
100141
100268
  });
100142
100269
  /**
100143
100270
  * The CLUSTER switch of one pipeline step (D1065):
@@ -100553,6 +100680,11 @@ var pipelineOrchestratorCapability = {
100553
100680
  * `PipelineSettingsStore.buildNodeInferenceDevices` when placing sessions
100554
100681
  * and the per-(node,device) base provisioning via
100555
100682
  * `buildNodeInferenceDeviceSteps`.
100683
+ * `maxSessions` is a LIMIT, with one exception: when the node's default
100684
+ * pool is itself an excluded device (turned off or not functional) a
100685
+ * camera that would overflow every cap is placed over the cap on the
100686
+ * least-loaded eligible device, because the default pool must never serve
100687
+ * it (#610). The overflow is logged, naming any pin it overrode.
100556
100688
  */
100557
100689
  setAgentInferenceDevices: method(z.object({
100558
100690
  agentNodeId: z.string(),
@@ -133413,6 +133545,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
133413
133545
  access: "view",
133414
133546
  role: "admin"
133415
133547
  },
133548
+ "streamBroker.previewDerivedEncode": {
133549
+ capName: "stream-broker",
133550
+ capScope: "system",
133551
+ addonId: null,
133552
+ access: "view",
133553
+ role: "admin"
133554
+ },
133416
133555
  "streamBroker.probeStream": {
133417
133556
  capName: "stream-broker",
133418
133557
  capScope: "system",
@@ -138042,6 +138181,11 @@ Object.freeze({
138042
138181
  form: "single",
138043
138182
  optional: false
138044
138183
  }],
138184
+ "streamBroker.previewDerivedEncode": [{
138185
+ name: "deviceId",
138186
+ form: "single",
138187
+ optional: false
138188
+ }],
138045
138189
  "streamBroker.produceEventMedia": [{
138046
138190
  name: "deviceId",
138047
138191
  form: "single",