@camstack/server 1.2.936 → 1.2.938

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 (149) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/api/core/api-catalog.js +4 -0
  3. package/dist/api/trpc/generated-cap-routers.js +8 -0
  4. package/package.json +11 -9
  5. package/system/dist/{addon-pages.cap-Df9FQwN1.js → addon-pages.cap-B3gHFDYW.js} +4 -2
  6. package/system/dist/{addon-pages.cap-DksUlE8j.mjs → addon-pages.cap-BLNN6ypr.mjs} +4 -2
  7. package/system/dist/{addon-settings.cap-3-TIIMq_.mjs → addon-settings.cap-CZ4MC7ha.mjs} +9 -1
  8. package/system/dist/{addon-settings.cap-DAiE0Nb0.js → addon-settings.cap-DrLdMFIe.js} +9 -1
  9. package/system/dist/{addon-widgets.cap-D9m48X78.mjs → addon-widgets.cap-BbmWMzIH.mjs} +4 -2
  10. package/system/dist/{addon-widgets.cap-C4jxflbF.js → addon-widgets.cap-DuCe2VRj.js} +4 -2
  11. package/system/dist/{base-device-Bwiblqmn.mjs → base-device-BcGO6LTT.mjs} +2 -2
  12. package/system/dist/{base-device-C1z4zYGR.js → base-device-CH8rfD9j.js} +2 -2
  13. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  14. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  15. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  16. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  17. package/system/dist/builtins/alerts/alerts.addon.js +2 -2
  18. package/system/dist/builtins/alerts/alerts.addon.mjs +2 -2
  19. package/system/dist/builtins/autotrack/index.js +1 -1
  20. package/system/dist/builtins/autotrack/index.mjs +1 -1
  21. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  22. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
  23. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  24. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  25. package/system/dist/builtins/camera-grid/index.js +4 -4
  26. package/system/dist/builtins/camera-grid/index.mjs +4 -4
  27. package/system/dist/builtins/composer/composer.addon.js +8 -8
  28. package/system/dist/builtins/composer/composer.addon.mjs +8 -8
  29. package/system/dist/builtins/console-logging/index.js +1 -1
  30. package/system/dist/builtins/console-logging/index.mjs +1 -1
  31. package/system/dist/builtins/core-blocks/core-blocks.addon.js +11 -11
  32. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +11 -11
  33. package/system/dist/builtins/core-notifier/core-notifier.addon.js +3 -3
  34. package/system/dist/builtins/core-notifier/core-notifier.addon.mjs +3 -3
  35. package/system/dist/builtins/device-history/device-history.addon.js +3 -3
  36. package/system/dist/builtins/device-history/device-history.addon.mjs +3 -3
  37. package/system/dist/builtins/device-manager/device-manager.addon.js +16 -9
  38. package/system/dist/builtins/device-manager/device-manager.addon.mjs +16 -9
  39. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  40. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  41. package/system/dist/builtins/keychain/index.js +1 -1
  42. package/system/dist/builtins/keychain/index.mjs +1 -1
  43. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  44. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  45. package/system/dist/builtins/local-auth/local-auth.addon.js +1 -1
  46. package/system/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
  47. package/system/dist/builtins/local-network/local-network.addon.js +2 -2
  48. package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
  49. package/system/dist/builtins/loki-logging/index.js +3 -3
  50. package/system/dist/builtins/loki-logging/index.mjs +3 -3
  51. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  52. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  53. package/system/dist/builtins/platform-probe/index.js +1 -1
  54. package/system/dist/builtins/platform-probe/index.mjs +1 -1
  55. package/system/dist/builtins/record-entries/index.js +1 -1
  56. package/system/dist/builtins/record-entries/index.mjs +1 -1
  57. package/system/dist/builtins/snapshot/index.js +2 -2
  58. package/system/dist/builtins/snapshot/index.mjs +2 -2
  59. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  60. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  61. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  62. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  63. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +7 -7
  64. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +7 -7
  65. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +3 -3
  66. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +3 -3
  67. package/system/dist/builtins/winston-logging/index.js +2 -2
  68. package/system/dist/builtins/winston-logging/index.mjs +2 -2
  69. package/system/dist/{calendars.cap-CaFlShS9.js → calendars.cap-CGeOtL7Q.js} +7 -1
  70. package/system/dist/{calendars.cap-_C4eD4fi.mjs → calendars.cap-DQc6Q6qS.mjs} +7 -1
  71. package/system/dist/{capability-definition-HCmTem8c.js → capability-definition-BEVd01Xj.js} +9 -4
  72. package/system/dist/{capability-definition-C2rJdVeX.mjs → capability-definition-C1TLUVJR.mjs} +9 -4
  73. package/system/dist/{capture-engine-DiwbjoWp.mjs → capture-engine-CUZ3W0oZ.mjs} +1 -1
  74. package/system/dist/{capture-engine-DZ0LIUqA.js → capture-engine-mtDXEBAq.js} +1 -1
  75. package/system/dist/{composition-sources-BtUx1MfU.js → composition-sources-DCi-ldEb.js} +2 -2
  76. package/system/dist/{composition-sources-B0QW4g86.mjs → composition-sources-DgayqgHH.mjs} +2 -2
  77. package/system/dist/{core-blocks.cap-CnwBuf7E.mjs → core-blocks.cap-CWKQSevR.mjs} +38 -3
  78. package/system/dist/{core-blocks.cap-DlEuHq-S.js → core-blocks.cap-yLx6soaY.js} +38 -3
  79. package/system/dist/{database-snapshot.cap-DF38e-0P.js → database-snapshot.cap-BNS5c60M.js} +2 -2
  80. package/system/dist/{database-snapshot.cap-dhrc9xnY.mjs → database-snapshot.cap-a3lSf4hl.mjs} +2 -2
  81. package/system/dist/{device-manager.cap-CFZSPfUh.mjs → device-manager.cap-DIBK62-r.mjs} +14 -3
  82. package/system/dist/{device-manager.cap-2abwVLCM.js → device-manager.cap-DyHOIh5T.js} +14 -3
  83. package/system/dist/{device-provider.cap-D7TV2kVH.js → device-provider.cap-BKUGJSo0.js} +9 -1
  84. package/system/dist/{device-provider.cap-3Uvk6f5-.mjs → device-provider.cap-DU6HMUXH.mjs} +9 -1
  85. package/system/dist/{device-row-store-YF3jtmkk.mjs → device-row-store-C-_R-h1Z.mjs} +1 -1
  86. package/system/dist/{device-row-store-doTfMOqn.js → device-row-store-O4mNbp5q.js} +1 -1
  87. package/system/dist/{device-transitions.cap-DojcwEuX.mjs → device-transitions.cap-DCXP3zwY.mjs} +7 -1
  88. package/system/dist/{device-transitions.cap-B5w5PYU_.js → device-transitions.cap-zOGvAIHz.js} +7 -1
  89. package/system/dist/{error.cap-BCqzFlo2.js → error.cap-BxLEHP6z.js} +1 -1
  90. package/system/dist/{error.cap-5zNPAgU2.mjs → error.cap-DCwbIGEF.mjs} +1 -1
  91. package/system/dist/file-host-worker.js +1 -1
  92. package/system/dist/file-host-worker.mjs +1 -1
  93. package/system/dist/index.js +7 -7
  94. package/system/dist/index.mjs +7 -7
  95. package/system/dist/{integration-instances.cap-Cl9O-k4h.mjs → integration-instances.cap-BWttO42A.mjs} +10 -1
  96. package/system/dist/{integration-instances.cap-dJIxg2_s.js → integration-instances.cap-DSieF1w3.js} +10 -1
  97. package/system/dist/{keychain-admin.cap-GtM7gVGG.mjs → keychain-admin.cap-DOvL8TMG.mjs} +5 -1
  98. package/system/dist/{keychain-admin.cap-Db_oFX4H.js → keychain-admin.cap-DcRCRWtu.js} +5 -1
  99. package/system/dist/{log-destination.cap-DELPJkZ0.js → log-destination.cap-BzTWMj-T.js} +4 -1
  100. package/system/dist/{log-destination.cap-CxZzAVaR.mjs → log-destination.cap-QYMJPJwK.mjs} +4 -1
  101. package/system/dist/{low-power-sleep.cap-7lfVU41N.js → low-power-sleep.cap-B6mz6ojP.js} +1 -1
  102. package/system/dist/{low-power-sleep.cap-tGPmaZ_V.mjs → low-power-sleep.cap-C3Vi8Vxj.mjs} +1 -1
  103. package/system/dist/{metrics-provider.cap-BNmcHDkQ.mjs → metrics-provider.cap-01SwpLu5.mjs} +1 -1
  104. package/system/dist/{metrics-provider.cap-BcmQUt6l.js → metrics-provider.cap-BMKD5FH3.js} +1 -1
  105. package/system/dist/{migration-BMjgkyG2.js → migration-BOQlFZCN.js} +1 -1
  106. package/system/dist/{migration-DRJAtdy7.mjs → migration-DGAc6ywR.mjs} +1 -1
  107. package/system/dist/{network-access.cap-B5TWLDCC.js → network-access.cap-BEN_uRVb.js} +12 -2
  108. package/system/dist/{network-access.cap-BJnGbE6n.mjs → network-access.cap-Dy8FNNVs.mjs} +12 -2
  109. package/system/dist/{notification-rules.cap-DUmiMBQB.mjs → notification-rules.cap-0vVvsxQ1.mjs} +14 -1
  110. package/system/dist/{notification-rules.cap-BDh0LDhV.js → notification-rules.cap-Drwz-A4n.js} +14 -1
  111. package/system/dist/{notification-targets-CRH-9Dy5.js → notification-targets-Cc_3OBH9.js} +1 -1
  112. package/system/dist/{notification-targets-DaNE-pIt.mjs → notification-targets-DR-D-vIt.mjs} +1 -1
  113. package/system/dist/{platform-probe.cap-1WrMhWHx.js → platform-probe.cap-C0N9CugQ.js} +5 -1
  114. package/system/dist/{platform-probe.cap-BFeqFLtQ.mjs → platform-probe.cap-DzZ7xUfS.mjs} +5 -1
  115. package/system/dist/{prefix-walk-DD1BM923.js → prefix-walk-BRlQiqVg.js} +2 -2
  116. package/system/dist/{prefix-walk-CRnbYJcC.mjs → prefix-walk-BrrMuJBM.mjs} +2 -2
  117. package/system/dist/{ptz-autotrack.cap-DT2GypXw.mjs → ptz-autotrack.cap-CDF6FeTK.mjs} +1 -1
  118. package/system/dist/{ptz-autotrack.cap-BW7w0zHD.js → ptz-autotrack.cap-DOz0xL0O.js} +1 -1
  119. package/system/dist/{record-entries.cap-sMUhTvTU.mjs → record-entries.cap-BINjYZ1Q.mjs} +5 -2
  120. package/system/dist/{record-entries.cap-ti1C046R.js → record-entries.cap-NYExLM0O.js} +5 -2
  121. package/system/dist/{recording-archive.cap-D7bo-QSM.js → recording-archive.cap-BPJ7kvnd.js} +6 -1
  122. package/system/dist/{recording-archive.cap-7OrIn9e5.mjs → recording-archive.cap-RHAN45fa.mjs} +6 -1
  123. package/system/dist/{records.cap-CwLT2ByG.mjs → records.cap-DRwT1JbL.mjs} +10 -1
  124. package/system/dist/{records.cap-ClcWV64i.js → records.cap-wLi7r4Hj.js} +10 -1
  125. package/system/dist/{rename-composition-block-BRgyBO25.js → rename-composition-block-D44wnN_m.js} +464 -45
  126. package/system/dist/{rename-composition-block-BYRBlx-V.mjs → rename-composition-block-SPaUkmam.mjs} +464 -45
  127. package/system/dist/{restore-archive-CjAyKpgX.mjs → restore-archive-BHkSRJYW.mjs} +2 -2
  128. package/system/dist/{restore-archive-CkTkv3Ss.js → restore-archive-DRv1bPY7.js} +2 -2
  129. package/system/dist/{settings-store.cap-wlJhCspr.js → settings-store.cap-BhOIBtO4.js} +1 -1
  130. package/system/dist/{settings-store.cap-Ci4F2zul.mjs → settings-store.cap-CaDSOqgK.mjs} +1 -1
  131. package/system/dist/{snapshot.cap-Bs8Oyaqh.mjs → snapshot.cap-BkfHpJVO.mjs} +3 -1
  132. package/system/dist/{snapshot.cap-3suPdBHV.js → snapshot.cap-Cis6JRwn.js} +3 -1
  133. package/system/dist/{storage-admin.cap-BSv1NjKJ.mjs → storage-admin.cap-Ci4QbL6P.mjs} +4 -4
  134. package/system/dist/{storage-admin.cap-he0OqvVM.js → storage-admin.cap-DqW1ol4j.js} +4 -4
  135. package/system/dist/{storage-migration.cap-CyyATY_p.js → storage-migration.cap-CDOhpCQw.js} +23 -1
  136. package/system/dist/{storage-migration.cap-D7QqGobp.mjs → storage-migration.cap-Ciw84XPm.mjs} +23 -1
  137. package/system/dist/{storage-occupancy.cap-2rmnS58Z.js → storage-occupancy.cap-B-Z8f8TZ.js} +5 -3
  138. package/system/dist/{storage-occupancy.cap-CqBztTl9.mjs → storage-occupancy.cap-B-wbMPmx.mjs} +5 -3
  139. package/system/dist/{storage-provider.cap-Bw0CfxVc.js → storage-provider.cap-B3Hm_BGM.js} +15 -1
  140. package/system/dist/{storage-provider.cap-CMeck2w4.mjs → storage-provider.cap-CnN9ULbc.mjs} +15 -1
  141. package/system/dist/{stream-catalog.cap-Bp7SkgIf.mjs → stream-catalog.cap-D1Hy19Yc.mjs} +126 -10
  142. package/system/dist/{stream-catalog.cap-D3uwePiA.js → stream-catalog.cap-D8Y-uXcy.js} +131 -9
  143. package/system/dist/{user-management.cap-DBIi77sB.mjs → user-management.cap-Ctd4c_im.mjs} +26 -1
  144. package/system/dist/{user-management.cap-B9QDu8NE.js → user-management.cap-DyVb68rY.js} +26 -1
  145. package/system/dist/{vector-store.cap-DnyfrYDn.js → vector-store.cap-DEVI-XJC.js} +6 -1
  146. package/system/dist/{vector-store.cap-h2GHWQ1t.mjs → vector-store.cap-Df60cnrJ.mjs} +6 -1
  147. package/system/dist/{wal-maintenance-BG01rOn9.mjs → wal-maintenance-O6zTzaI7.mjs} +0 -0
  148. package/system/dist/{wal-maintenance-DyrebYKF.js → wal-maintenance-mV4OR3LR.js} +0 -0
  149. package/system/package.json +1 -1
@@ -1,51 +1,51 @@
1
1
  const require_streaming_shared = require("./streaming-shared-DQwFZOSi.js");
2
- const require_stream_catalog_cap = require("./stream-catalog.cap-D3uwePiA.js");
2
+ const require_stream_catalog_cap = require("./stream-catalog.cap-D8Y-uXcy.js");
3
3
  const require_base_addon = require("./base-addon-DD5dIfcZ.js");
4
4
  const require_scoped_settings = require("./scoped-settings-CylSSq_8.js");
5
- const require_capability_definition = require("./capability-definition-HCmTem8c.js");
6
- const require_notification_rules_cap = require("./notification-rules.cap-BDh0LDhV.js");
7
- const require_device_manager_cap = require("./device-manager.cap-2abwVLCM.js");
5
+ const require_capability_definition = require("./capability-definition-BEVd01Xj.js");
6
+ const require_notification_rules_cap = require("./notification-rules.cap-Drwz-A4n.js");
7
+ const require_device_manager_cap = require("./device-manager.cap-DyHOIh5T.js");
8
8
  const require_device_identifiers = require("./device-identifiers-BQg9EQi1.js");
9
- const require_device_transitions_cap = require("./device-transitions.cap-B5w5PYU_.js");
9
+ const require_device_transitions_cap = require("./device-transitions.cap-zOGvAIHz.js");
10
10
  const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
11
- const require_settings_store_cap = require("./settings-store.cap-wlJhCspr.js");
11
+ const require_settings_store_cap = require("./settings-store.cap-BhOIBtO4.js");
12
12
  const require_quantity = require("./quantity-lY1KiTSZ.js");
13
13
  const require_labels = require("./labels-DX5S8deC.js");
14
- const require_recording_archive_cap = require("./recording-archive.cap-D7bo-QSM.js");
14
+ const require_recording_archive_cap = require("./recording-archive.cap-BPJ7kvnd.js");
15
15
  const require_relocate = require("./relocate-CdVQAk-w.js");
16
- const require_storage_migration_cap = require("./storage-migration.cap-CyyATY_p.js");
16
+ const require_storage_migration_cap = require("./storage-migration.cap-CDOhpCQw.js");
17
17
  const require_tag = require("./tag-BxLazvVb.js");
18
- const require_platform_probe_cap = require("./platform-probe.cap-1WrMhWHx.js");
19
- const require_user_management_cap = require("./user-management.cap-B9QDu8NE.js");
18
+ const require_platform_probe_cap = require("./platform-probe.cap-C0N9CugQ.js");
19
+ const require_user_management_cap = require("./user-management.cap-DyVb68rY.js");
20
20
  const require_device_type = require("./device-type-CbQsnFdC.js");
21
21
  const require_device_certificate = require("./device-certificate-CguVACQO.js");
22
- const require_core_blocks_cap = require("./core-blocks.cap-DlEuHq-S.js");
23
- const require_addon_settings_cap = require("./addon-settings.cap-DAiE0Nb0.js");
24
- const require_error_cap = require("./error.cap-BCqzFlo2.js");
22
+ const require_core_blocks_cap = require("./core-blocks.cap-yLx6soaY.js");
23
+ const require_addon_settings_cap = require("./addon-settings.cap-DrLdMFIe.js");
24
+ const require_error_cap = require("./error.cap-BxLEHP6z.js");
25
25
  const require_source_info = require("./source-info-DtWf4k2j.js");
26
26
  const require_l10n = require("./l10n-CGMvp7NF.js");
27
- const require_addon_pages_cap = require("./addon-pages.cap-Df9FQwN1.js");
28
- const require_addon_widgets_cap = require("./addon-widgets.cap-C4jxflbF.js");
29
- const require_database_snapshot_cap = require("./database-snapshot.cap-DF38e-0P.js");
30
- const require_storage_occupancy_cap = require("./storage-occupancy.cap-2rmnS58Z.js");
31
- const require_calendars_cap = require("./calendars.cap-CaFlShS9.js");
27
+ const require_addon_pages_cap = require("./addon-pages.cap-B3gHFDYW.js");
28
+ const require_addon_widgets_cap = require("./addon-widgets.cap-DuCe2VRj.js");
29
+ const require_database_snapshot_cap = require("./database-snapshot.cap-BNS5c60M.js");
30
+ const require_storage_occupancy_cap = require("./storage-occupancy.cap-B-Z8f8TZ.js");
31
+ const require_calendars_cap = require("./calendars.cap-CGeOtL7Q.js");
32
32
  const require_history_catalog = require("./history-catalog-BKRarIL_.js");
33
- const require_storage_admin_cap = require("./storage-admin.cap-he0OqvVM.js");
34
- const require_device_provider_cap = require("./device-provider.cap-D7TV2kVH.js");
35
- const require_storage_provider_cap = require("./storage-provider.cap-Bw0CfxVc.js");
36
- const require_integration_instances_cap = require("./integration-instances.cap-dJIxg2_s.js");
37
- const require_keychain_admin_cap = require("./keychain-admin.cap-Db_oFX4H.js");
38
- const require_network_access_cap = require("./network-access.cap-B5TWLDCC.js");
39
- const require_log_destination_cap = require("./log-destination.cap-DELPJkZ0.js");
40
- const require_low_power_sleep_cap = require("./low-power-sleep.cap-7lfVU41N.js");
41
- const require_metrics_provider_cap = require("./metrics-provider.cap-BcmQUt6l.js");
42
- const require_records_cap = require("./records.cap-ClcWV64i.js");
33
+ const require_storage_admin_cap = require("./storage-admin.cap-DqW1ol4j.js");
34
+ const require_device_provider_cap = require("./device-provider.cap-BKUGJSo0.js");
35
+ const require_storage_provider_cap = require("./storage-provider.cap-B3Hm_BGM.js");
36
+ const require_integration_instances_cap = require("./integration-instances.cap-DSieF1w3.js");
37
+ const require_keychain_admin_cap = require("./keychain-admin.cap-DcRCRWtu.js");
38
+ const require_network_access_cap = require("./network-access.cap-BEN_uRVb.js");
39
+ const require_log_destination_cap = require("./log-destination.cap-BzTWMj-T.js");
40
+ const require_low_power_sleep_cap = require("./low-power-sleep.cap-B6mz6ojP.js");
41
+ const require_metrics_provider_cap = require("./metrics-provider.cap-BMKD5FH3.js");
42
+ const require_records_cap = require("./records.cap-wLi7r4Hj.js");
43
43
  const require_mask_shape = require("./mask-shape-CmPA2fst.js");
44
- const require_ptz_autotrack_cap = require("./ptz-autotrack.cap-BW7w0zHD.js");
45
- const require_record_entries_cap = require("./record-entries.cap-ti1C046R.js");
46
- const require_snapshot_cap = require("./snapshot.cap-3suPdBHV.js");
44
+ const require_ptz_autotrack_cap = require("./ptz-autotrack.cap-DOz0xL0O.js");
45
+ const require_record_entries_cap = require("./record-entries.cap-NYExLM0O.js");
46
+ const require_snapshot_cap = require("./snapshot.cap-Cis6JRwn.js");
47
47
  const require_server_name = require("./server-name-OALNvpqC.js");
48
- const require_vector_store_cap = require("./vector-store.cap-DnyfrYDn.js");
48
+ const require_vector_store_cap = require("./vector-store.cap-DEVI-XJC.js");
49
49
  let zod = require("zod");
50
50
  //#region ../types/dist/esm/addon/package-requires.mjs
51
51
  /**
@@ -1813,28 +1813,39 @@ var deviceExportCapability = {
1813
1813
  */
1814
1814
  exposesDeviceSettings: true,
1815
1815
  methods: {
1816
+ /** Status of one export instance (connected, errors, counts). */
1816
1817
  getStatus: /* @__PURE__ */ require_capability_definition.method(InstancePinSchema, DeviceExportStatusSchema),
1818
+ /** List the export instances this addon runs. */
1817
1819
  listInstances: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(ExportInstanceSchema)),
1820
+ /** List the device kinds an export instance can expose. */
1818
1821
  listSupportedDeviceKinds: /* @__PURE__ */ require_capability_definition.method(InstancePinSchema, /* @__PURE__ */ zod.z.array(DeviceKindSchema)),
1822
+ /** List the devices an export instance currently exposes. */
1819
1823
  listExposedDevices: /* @__PURE__ */ require_capability_definition.method(InstancePinSchema, /* @__PURE__ */ zod.z.array(ExposedDeviceSchema)),
1824
+ /** Expose a device through an export instance. */
1820
1825
  exposeDevice: /* @__PURE__ */ require_capability_definition.method(ExposeInputSchema, /* @__PURE__ */ zod.z.void(), {
1821
1826
  kind: "mutation",
1822
1827
  auth: "admin"
1823
1828
  }),
1829
+ /** Stop exposing a device through an export instance. */
1824
1830
  unexposeDevice: /* @__PURE__ */ require_capability_definition.method(UnexposeInputSchema, /* @__PURE__ */ zod.z.void(), {
1825
1831
  kind: "mutation",
1826
1832
  auth: "admin"
1827
1833
  }),
1834
+ /** Set the name under which an exposed device appears in the external system. */
1828
1835
  setExposedName: /* @__PURE__ */ require_capability_definition.method(SetExposedNameInputSchema, /* @__PURE__ */ zod.z.void(), {
1829
1836
  kind: "mutation",
1830
1837
  auth: "admin"
1831
1838
  }),
1839
+ /** List the entity kinds this exporter can expose. */
1832
1840
  listSupportedEntityKinds: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(ExportEntityKindSchema)),
1841
+ /** List the entities an export instance currently exposes. */
1833
1842
  listExposedEntities: /* @__PURE__ */ require_capability_definition.optionalMethod(InstancePinSchema, /* @__PURE__ */ zod.z.array(ExposedEntitySchema)),
1843
+ /** Expose an entity through an export instance. */
1834
1844
  exposeEntity: /* @__PURE__ */ require_capability_definition.optionalMethod(ExposeEntityInputSchema, /* @__PURE__ */ zod.z.void(), {
1835
1845
  kind: "mutation",
1836
1846
  auth: "admin"
1837
1847
  }),
1848
+ /** Stop exposing an entity through an export instance. */
1838
1849
  unexposeEntity: /* @__PURE__ */ require_capability_definition.optionalMethod(UnexposeEntityInputSchema, /* @__PURE__ */ zod.z.void(), {
1839
1850
  kind: "mutation",
1840
1851
  auth: "admin"
@@ -1972,7 +1983,9 @@ var actionSourceCapability = {
1972
1983
  scope: "system",
1973
1984
  mode: "collection",
1974
1985
  methods: {
1986
+ /** List the actions this source offers. */
1975
1987
  listActions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(ActionEntrySchema), { auth: "admin" }),
1988
+ /** Run one of the source's actions, optionally with variables. */
1976
1989
  runAction: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
1977
1990
  actionId: /* @__PURE__ */ zod.z.string().min(1),
1978
1991
  variables: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), ActionVariableValueSchema).optional()
@@ -1980,6 +1993,7 @@ var actionSourceCapability = {
1980
1993
  kind: "mutation",
1981
1994
  auth: "admin"
1982
1995
  }),
1996
+ /** Stop a running action of the source. */
1983
1997
  stopAction: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ actionId: /* @__PURE__ */ zod.z.string().min(1) }), /* @__PURE__ */ zod.z.void(), {
1984
1998
  kind: "mutation",
1985
1999
  auth: "admin"
@@ -2122,10 +2136,12 @@ var actionsCapability = {
2122
2136
  caller: "required",
2123
2137
  timeoutMs: ACTION_RUN_TIMEOUT_MS
2124
2138
  }),
2139
+ /** Stop a running action. */
2125
2140
  stop: /* @__PURE__ */ require_capability_definition.method(ActionIdInput, /* @__PURE__ */ zod.z.void(), {
2126
2141
  kind: "mutation",
2127
2142
  auth: "admin"
2128
2143
  }),
2144
+ /** The recent run traces of an action. */
2129
2145
  getTraces: /* @__PURE__ */ require_capability_definition.method(ActionIdInput, /* @__PURE__ */ zod.z.object({ traces: /* @__PURE__ */ zod.z.array(require_core_blocks_cap.AutomationRunTraceSchema) }), { auth: "admin" }),
2130
2146
  /**
2131
2147
  * Internal actions only; a read-only (addon) entry is refused with `[read-only]`.
@@ -2143,6 +2159,7 @@ var actionsCapability = {
2143
2159
  kind: "mutation",
2144
2160
  auth: "admin"
2145
2161
  }),
2162
+ /** Change fields of an internal action. */
2146
2163
  update: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
2147
2164
  actionId: /* @__PURE__ */ zod.z.string().min(1),
2148
2165
  action: /* @__PURE__ */ ActionInputSchema$1.partial()
@@ -2153,6 +2170,7 @@ var actionsCapability = {
2153
2170
  kind: "mutation",
2154
2171
  auth: "admin"
2155
2172
  }),
2173
+ /** Delete an internal action. */
2156
2174
  delete: /* @__PURE__ */ require_capability_definition.method(ActionIdInput, /* @__PURE__ */ zod.z.void(), {
2157
2175
  kind: "mutation",
2158
2176
  auth: "admin"
@@ -2310,6 +2328,7 @@ var addonRoutesCapability = {
2310
2328
  mode: "collection",
2311
2329
  internal: true,
2312
2330
  methods: {
2331
+ /** List the HTTP routes addons expose. */
2313
2332
  getRoutes: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(AddonHttpRouteSchema)),
2314
2333
  /**
2315
2334
  * Cross-process dispatch entry point. Forked addons implement this
@@ -2693,12 +2712,15 @@ var addonsCapability = {
2693
2712
  * and drops packages the agent does not have.
2694
2713
  */
2695
2714
  list: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ nodeId: /* @__PURE__ */ zod.z.string().optional() }).optional(), /* @__PURE__ */ zod.z.array(AddonListItemSchema).readonly()),
2715
+ /** Recent log lines of one addon, optionally filtered by level. */
2696
2716
  getLogs: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
2697
2717
  addonId: /* @__PURE__ */ zod.z.string(),
2698
2718
  limit: /* @__PURE__ */ zod.z.number().min(1).max(500).default(100),
2699
2719
  level: /* @__PURE__ */ LogLevelSchema$1.optional()
2700
2720
  }), /* @__PURE__ */ zod.z.array(LogQueryEntrySchema)),
2721
+ /** List the installed addon packages with their versions. */
2701
2722
  listPackages: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(InstalledPackageSchema).readonly()),
2723
+ /** Install an addon package, optionally at a given version. */
2702
2724
  installPackage: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
2703
2725
  packageName: /* @__PURE__ */ zod.z.string(),
2704
2726
  version: /* @__PURE__ */ zod.z.string().optional()
@@ -2731,10 +2753,12 @@ var addonsCapability = {
2731
2753
  * Drives the uninstall confirm and the Addons page's "not on the hub" list.
2732
2754
  */
2733
2755
  listInstallations: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ packageName: /* @__PURE__ */ zod.z.string().optional() }), PackageInstallationsSchema, { auth: "admin" }),
2756
+ /** Rescan the installed packages and load what changed. */
2734
2757
  reloadPackages: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), ReloadPackagesResultSchema, {
2735
2758
  kind: "mutation",
2736
2759
  auth: "admin"
2737
2760
  }),
2761
+ /** Search the registry for installable addon packages, optionally by capability. */
2738
2762
  searchAvailable: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
2739
2763
  query: /* @__PURE__ */ zod.z.string().optional(),
2740
2764
  /** Only packages whose addons declare this capability (unknown ones excluded). */
@@ -2784,6 +2808,7 @@ var addonsCapability = {
2784
2808
  kind: "mutation",
2785
2809
  auth: "admin"
2786
2810
  }),
2811
+ /** Restart the server process; requires explicit confirmation. */
2787
2812
  restartServer: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ confirm: /* @__PURE__ */ zod.z.literal(true) }), /* @__PURE__ */ zod.z.unknown(), {
2788
2813
  kind: "mutation",
2789
2814
  auth: "admin"
@@ -2868,6 +2893,7 @@ var addonsCapability = {
2868
2893
  kind: "mutation",
2869
2894
  auth: "admin"
2870
2895
  }),
2896
+ /** List the published versions of a package. */
2871
2897
  getVersions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ name: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.array(PackageVersionInfoSchema).readonly()),
2872
2898
  /**
2873
2899
  * README and CHANGELOG for one registry package, read on the hub and
@@ -2878,6 +2904,7 @@ var addonsCapability = {
2878
2904
  name: /* @__PURE__ */ zod.z.string().min(1),
2879
2905
  version: /* @__PURE__ */ zod.z.string().min(1).optional()
2880
2906
  }), PackageDocsSchema, { auth: "admin" }),
2907
+ /** Restart one addon's process. */
2881
2908
  restartAddon: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ addonId: /* @__PURE__ */ zod.z.string() }), RestartAddonResultSchema, {
2882
2909
  kind: "mutation",
2883
2910
  auth: "admin"
@@ -2892,7 +2919,9 @@ var addonsCapability = {
2892
2919
  kind: "mutation",
2893
2920
  auth: "admin"
2894
2921
  }),
2922
+ /** The global addon auto-update channel and check intervals. */
2895
2923
  getAutoUpdateSettings: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), AutoUpdateSettingsSchema, { auth: "admin" }),
2924
+ /** Change the global addon auto-update channel and check intervals. */
2896
2925
  setAutoUpdateSettings: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
2897
2926
  channel: ChannelSchema,
2898
2927
  intervalSeconds: /* @__PURE__ */ zod.z.number().min(300).max(86400).optional(),
@@ -2902,7 +2931,9 @@ var addonsCapability = {
2902
2931
  kind: "mutation",
2903
2932
  auth: "admin"
2904
2933
  }),
2934
+ /** The auto-update channel of one addon (or inherit the global one). */
2905
2935
  getAddonAutoUpdate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ addonId: /* @__PURE__ */ zod.z.string() }), AddonAutoUpdateSchema, { auth: "admin" }),
2936
+ /** Set the auto-update channel of one addon. */
2906
2937
  setAddonAutoUpdate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
2907
2938
  addonId: /* @__PURE__ */ zod.z.string(),
2908
2939
  channel: ChannelWithInheritSchema
@@ -2910,10 +2941,12 @@ var addonsCapability = {
2910
2941
  kind: "mutation",
2911
2942
  auth: "admin"
2912
2943
  }),
2944
+ /** Apply one auto-update channel to every addon. */
2913
2945
  applyAutoUpdateToAll: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ channel: ChannelSchema }), /* @__PURE__ */ zod.z.object({ success: /* @__PURE__ */ zod.z.literal(true) }), {
2914
2946
  kind: "mutation",
2915
2947
  auth: "admin"
2916
2948
  }),
2949
+ /** Run an addon's custom action with the given input. */
2917
2950
  custom: /* @__PURE__ */ require_capability_definition.method(CustomActionInputSchema, /* @__PURE__ */ zod.z.unknown(), {
2918
2951
  role: "viewer",
2919
2952
  kind: "mutation"
@@ -2963,6 +2996,7 @@ var addonsCapability = {
2963
2996
  kind: "mutation",
2964
2997
  auth: "admin"
2965
2998
  }),
2999
+ /** Stream live log lines of one addon, optionally filtered by level. */
2966
3000
  onAddonLogs: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
2967
3001
  addonId: /* @__PURE__ */ zod.z.string(),
2968
3002
  level: /* @__PURE__ */ LogLevelSchema$1.optional()
@@ -2992,6 +3026,7 @@ var adminUiCapability = {
2992
3026
  * SPA assets are served as plain static files, unaffected by this gate.
2993
3027
  */
2994
3028
  getStaticDir: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), StaticDirOutputSchema$1, { auth: "admin" }),
3029
+ /** The version of the admin UI build served by the hub. */
2995
3030
  getVersion: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), VersionOutputSchema$1, { auth: "admin" })
2996
3031
  },
2997
3032
  vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.UI_PLUMBING }
@@ -3296,10 +3331,12 @@ var audioAnalyzerCapability = {
3296
3331
  scope: "system",
3297
3332
  mode: "singleton",
3298
3333
  methods: {
3334
+ /** Analyse one audio chunk (levels and detections) with the given settings; null when nothing to report. */
3299
3335
  analyseChunk: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
3300
3336
  chunk: require_stream_catalog_cap.AudioChunkInputSchema,
3301
3337
  settings: AudioAnalysisSettingsSchema
3302
3338
  }), /* @__PURE__ */ AudioAnalysisResultSchema.nullable(), { kind: "mutation" }),
3339
+ /** Classify the sounds in one audio chunk. */
3303
3340
  classify: /* @__PURE__ */ require_capability_definition.method(require_stream_catalog_cap.AudioChunkInputSchema, AudioClassificationResultSchema, { timeoutMs: 3e4 }),
3304
3341
  /**
3305
3342
  * Start pulling this camera's audio from the broker, in THIS process.
@@ -3316,7 +3353,9 @@ var audioAnalyzerCapability = {
3316
3353
  * drains rather than trusting it (D461).
3317
3354
  */
3318
3355
  detachDevice: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), AudioDetachDeviceResultSchema, { kind: "mutation" }),
3356
+ /** Whether the analyzer is loaded and ready. */
3319
3357
  isReady: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.boolean()),
3358
+ /** Release the analyzer's resources. */
3320
3359
  dispose: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.void(), { kind: "mutation" }),
3321
3360
  /**
3322
3361
  * Re-run the host platform-probe for the audio backend and persist
@@ -3416,14 +3455,17 @@ var audioCodecCapability = {
3416
3455
  codec: /* @__PURE__ */ zod.z.string(),
3417
3456
  kind: /* @__PURE__ */ zod.z.enum(["decode", "encode"])
3418
3457
  }), /* @__PURE__ */ zod.z.boolean()),
3458
+ /** Open an audio decode session and return its id and node. */
3419
3459
  createDecodeSession: /* @__PURE__ */ require_capability_definition.method(AudioDecodeSessionConfigSchema, /* @__PURE__ */ zod.z.object({
3420
3460
  sessionId: /* @__PURE__ */ zod.z.string(),
3421
3461
  nodeId: /* @__PURE__ */ zod.z.string()
3422
3462
  }), { kind: "mutation" }),
3463
+ /** Open an audio encode session and return its id and node. */
3423
3464
  createEncodeSession: /* @__PURE__ */ require_capability_definition.method(AudioEncodeSessionConfigSchema, /* @__PURE__ */ zod.z.object({
3424
3465
  sessionId: /* @__PURE__ */ zod.z.string(),
3425
3466
  nodeId: /* @__PURE__ */ zod.z.string()
3426
3467
  }), { kind: "mutation" }),
3468
+ /** Close an audio codec session. */
3427
3469
  closeSession: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
3428
3470
  sessionId: /* @__PURE__ */ zod.z.string(),
3429
3471
  nodeId: /* @__PURE__ */ zod.z.string().optional()
@@ -3461,6 +3503,7 @@ var audioCodecCapability = {
3461
3503
  sessionId: /* @__PURE__ */ zod.z.string(),
3462
3504
  nodeId: /* @__PURE__ */ zod.z.string().optional()
3463
3505
  }), /* @__PURE__ */ zod.z.array(AudioEncodedChunkSchema), { kind: "mutation" }),
3506
+ /** List the open audio codec sessions. */
3464
3507
  listActiveSessions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(SessionInventoryEntrySchema).readonly())
3465
3508
  },
3466
3509
  vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.INTERNAL }
@@ -3643,6 +3686,7 @@ var automationControlCapability = {
3643
3686
  mode: "singleton",
3644
3687
  deviceTypes: [require_device_type.DeviceType.Automation],
3645
3688
  methods: {
3689
+ /** Enable the automation. */
3646
3690
  enable: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
3647
3691
  kind: "mutation",
3648
3692
  auth: "admin",
@@ -3657,6 +3701,7 @@ var automationControlCapability = {
3657
3701
  icon: "toggle-right"
3658
3702
  }]
3659
3703
  }),
3704
+ /** Disable the automation. */
3660
3705
  disable: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
3661
3706
  kind: "mutation",
3662
3707
  auth: "admin",
@@ -3671,6 +3716,7 @@ var automationControlCapability = {
3671
3716
  icon: "toggle-left"
3672
3717
  }]
3673
3718
  }),
3719
+ /** Fire the automation now, optionally bypassing its conditions. */
3674
3720
  trigger: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
3675
3721
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
3676
3722
  /** When true, fires the action block while bypassing the
@@ -4251,8 +4297,11 @@ var boardKeySourceCapability = {
4251
4297
  scope: "system",
4252
4298
  mode: "collection",
4253
4299
  methods: {
4300
+ /** List the sources that can provide board keys. */
4254
4301
  listSources: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(BoardKeySourceSchema).readonly(), { auth: "admin" }),
4302
+ /** List the boards one source knows. */
4255
4303
  listBoards: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ sourceId: /* @__PURE__ */ zod.z.string().min(1) }), ListBoardsResultSchema, { auth: "admin" }),
4304
+ /** Read the key of a board configuration from a source. */
4256
4305
  getBoardKey: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
4257
4306
  sourceId: /* @__PURE__ */ zod.z.string().min(1),
4258
4307
  configuration: /* @__PURE__ */ zod.z.string().min(1)
@@ -4286,7 +4335,9 @@ var brightnessCapability = {
4286
4335
  deviceNative: true,
4287
4336
  mode: "singleton",
4288
4337
  deviceTypes: [require_device_type.DeviceType.Light],
4289
- methods: { setBrightness: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
4338
+ methods: {
4339
+ /** Set the light's brightness level from 0 to 100. */
4340
+ setBrightness: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
4290
4341
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
4291
4342
  level: /* @__PURE__ */ zod.z.number().min(0).max(100)
4292
4343
  }), /* @__PURE__ */ zod.z.void(), {
@@ -4458,14 +4509,17 @@ var brokerCapability = {
4458
4509
  * but typical HA consumers use `publish` / `subscribe` instead.
4459
4510
  * Returns `null` when the broker id is unknown to the provider. */
4460
4511
  getBrokerConfig: /* @__PURE__ */ require_capability_definition.method(GetInputSchema, /* @__PURE__ */ SettingsRecordSchema.nullable(), { auth: "admin" }),
4512
+ /** Publish a message on the broker. */
4461
4513
  publish: /* @__PURE__ */ require_capability_definition.method(PublishInputSchema, /* @__PURE__ */ zod.z.unknown(), {
4462
4514
  kind: "mutation",
4463
4515
  auth: "admin"
4464
4516
  }),
4517
+ /** Subscribe to a topic on the broker. */
4465
4518
  subscribe: /* @__PURE__ */ require_capability_definition.method(SubscribeInputSchema, SubscribeResultSchema, {
4466
4519
  kind: "mutation",
4467
4520
  auth: "admin"
4468
4521
  }),
4522
+ /** Cancel a broker subscription. */
4469
4523
  unsubscribe: /* @__PURE__ */ require_capability_definition.method(UnsubscribeInputSchema, /* @__PURE__ */ zod.z.void(), {
4470
4524
  kind: "mutation",
4471
4525
  auth: "admin"
@@ -4499,7 +4553,9 @@ var buttonCapability = {
4499
4553
  deviceNative: true,
4500
4554
  mode: "singleton",
4501
4555
  deviceTypes: [require_device_type.DeviceType.Button],
4502
- methods: { press: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
4556
+ methods: {
4557
+ /** Press the button to trigger its action. */
4558
+ press: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
4503
4559
  kind: "mutation",
4504
4560
  auth: "protected",
4505
4561
  actions: [{
@@ -5115,6 +5171,7 @@ var streamBrokerCapability = {
5115
5171
  "unknown-code"
5116
5172
  ])
5117
5173
  }), { kind: "mutation" }),
5174
+ /** Register a camera stream (RTSP URL, codec, resolution) under a camera so profiles can be assigned to it. */
5118
5175
  publishCameraStream: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5119
5176
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
5120
5177
  camStreamId: /* @__PURE__ */ zod.z.string().min(1),
@@ -5145,6 +5202,7 @@ var streamBrokerCapability = {
5145
5202
  kind: "mutation",
5146
5203
  auth: "admin"
5147
5204
  }),
5205
+ /** Remove a previously published camera stream from a camera. */
5148
5206
  retractCameraStream: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5149
5207
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
5150
5208
  camStreamId: /* @__PURE__ */ zod.z.string().min(1)
@@ -5152,6 +5210,7 @@ var streamBrokerCapability = {
5152
5210
  kind: "mutation",
5153
5211
  auth: "admin"
5154
5212
  }),
5213
+ /** Assign a published camera stream to one of the camera's profile slots (for example high or low). */
5155
5214
  assignProfile: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5156
5215
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
5157
5216
  profile: require_streaming_shared.CamProfileSchema,
@@ -5160,6 +5219,7 @@ var streamBrokerCapability = {
5160
5219
  kind: "mutation",
5161
5220
  auth: "admin"
5162
5221
  }),
5222
+ /** Clear a camera's profile slot so it no longer points at a stream. */
5163
5223
  unassignProfile: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5164
5224
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
5165
5225
  profile: require_streaming_shared.CamProfileSchema
@@ -5331,8 +5391,11 @@ var streamBrokerCapability = {
5331
5391
  kind: "mutation",
5332
5392
  auth: "admin"
5333
5393
  }),
5394
+ /** List every camera stream published across all cameras. */
5334
5395
  listAllCameraStreams: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(require_streaming_shared.CameraStreamSchema).readonly()),
5396
+ /** List every camera profile slot and the stream assigned to it. */
5335
5397
  listAllProfileSlots: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(require_streaming_shared.ProfileSlotSchema).readonly()),
5398
+ /** Counters and health of one stream broker (clients, packets, bitrates). */
5336
5399
  getBrokerStats: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ brokerId: /* @__PURE__ */ zod.z.string() }), require_streaming_shared.BrokerStatsSchema),
5337
5400
  /**
5338
5401
  * The effective encode a derived-stream `profile` WOULD run with, computed
@@ -5362,6 +5425,7 @@ var streamBrokerCapability = {
5362
5425
  kind: "mutation",
5363
5426
  auth: "admin"
5364
5427
  }),
5428
+ /** List the clients currently attached to one stream broker, per channel. */
5365
5429
  listClients: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ brokerId: /* @__PURE__ */ zod.z.string() }), BrokerClientsSchema),
5366
5430
  /**
5367
5431
  * People watching each camera LIVE right now, for every camera at once —
@@ -5381,6 +5445,7 @@ var streamBrokerCapability = {
5381
5445
  * with its own stream-broker is asked with a `nodeId` pin.
5382
5446
  */
5383
5447
  getLiveViewerCounts: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(LiveViewerCountSchema).readonly(), { role: "viewer" }),
5448
+ /** Disconnect one RTSP or audio client from a stream broker. */
5384
5449
  killClient: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5385
5450
  brokerId: /* @__PURE__ */ zod.z.string(),
5386
5451
  channel: /* @__PURE__ */ zod.z.enum(["rtsp", "audio"]),
@@ -5389,6 +5454,7 @@ var streamBrokerCapability = {
5389
5454
  kind: "mutation",
5390
5455
  auth: "admin"
5391
5456
  }),
5457
+ /** Restart the broker pipeline behind one camera profile. */
5392
5458
  restartProfile: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5393
5459
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
5394
5460
  profile: require_streaming_shared.CamProfileSchema
@@ -5417,6 +5483,7 @@ var streamBrokerCapability = {
5417
5483
  kind: "mutation",
5418
5484
  auth: "admin"
5419
5485
  }),
5486
+ /** Release one reference to a codec-specific stream pipeline, stopping it when the last user leaves. */
5420
5487
  releaseStreamWithCodec: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ pipelineKey: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.object({
5421
5488
  released: /* @__PURE__ */ zod.z.boolean(),
5422
5489
  refcount: /* @__PURE__ */ zod.z.number().int().nonnegative()
@@ -5477,11 +5544,14 @@ var streamBrokerCapability = {
5477
5544
  * 3. `unsubscribeAudioChunks({ subscriptionId })` on teardown.
5478
5545
  */
5479
5546
  subscribeAudioChunks: /* @__PURE__ */ require_capability_definition.method(require_streaming_shared.SubscribeAudioChunksInputSchema, require_streaming_shared.SubscribeAudioChunksResultSchema, { kind: "mutation" }),
5547
+ /** Fetch up to maxCount decoded audio chunks queued for an audio subscription. */
5480
5548
  pullAudioChunks: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5481
5549
  subscriptionId: /* @__PURE__ */ zod.z.string(),
5482
5550
  maxCount: /* @__PURE__ */ zod.z.number().int().positive().default(8)
5483
5551
  }), /* @__PURE__ */ zod.z.array(require_streaming_shared.DecodedAudioChunkSchema).readonly()),
5552
+ /** End an audio-chunk subscription and release its resources. */
5484
5553
  unsubscribeAudioChunks: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ subscriptionId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.object({ released: /* @__PURE__ */ zod.z.boolean() }), { kind: "mutation" }),
5554
+ /** Set how many seconds of recent packets a broker keeps for late-joining consumers. */
5485
5555
  setPreBufferDuration: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5486
5556
  brokerId: /* @__PURE__ */ zod.z.string(),
5487
5557
  seconds: /* @__PURE__ */ zod.z.number().min(0).max(30)
@@ -5489,11 +5559,13 @@ var streamBrokerCapability = {
5489
5559
  kind: "mutation",
5490
5560
  auth: "admin"
5491
5561
  }),
5562
+ /** Report the configured pre-buffer length and what the broker currently holds. */
5492
5563
  getPreBufferInfo: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ brokerId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.object({
5493
5564
  configuredSec: /* @__PURE__ */ zod.z.number(),
5494
5565
  bufferedMs: /* @__PURE__ */ zod.z.number(),
5495
5566
  packetCount: /* @__PURE__ */ zod.z.number()
5496
5567
  })),
5568
+ /** The port the broker's RTSP re-stream server listens on. */
5497
5569
  getRtspPort: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.number()),
5498
5570
  /**
5499
5571
  * Enumeration surface — backs the admin RTSP-export picker and
@@ -5510,10 +5582,12 @@ var streamBrokerCapability = {
5510
5582
  brokerId: /* @__PURE__ */ zod.z.string(),
5511
5583
  hostname: /* @__PURE__ */ zod.z.string().optional()
5512
5584
  }), /* @__PURE__ */ RtspRestreamEntrySchema.nullable()),
5585
+ /** Issue a new access token for a broker's RTSP re-stream, invalidating the old one. */
5513
5586
  regenerateRtspToken: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ brokerId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.string().nullable(), {
5514
5587
  kind: "mutation",
5515
5588
  auth: "admin"
5516
5589
  }),
5590
+ /** Turn the RTSP re-stream of one broker on or off. */
5517
5591
  setRtspEnabled: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5518
5592
  brokerId: /* @__PURE__ */ zod.z.string(),
5519
5593
  enabled: /* @__PURE__ */ zod.z.boolean()
@@ -5521,6 +5595,7 @@ var streamBrokerCapability = {
5521
5595
  kind: "mutation",
5522
5596
  auth: "admin"
5523
5597
  }),
5598
+ /** Whether the RTSP re-stream of one broker is enabled. */
5524
5599
  isRtspEnabled: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ brokerId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.boolean()),
5525
5600
  /**
5526
5601
  * ── Per-device audio-plane policy (D83) ───────────────────────────
@@ -5549,6 +5624,7 @@ var streamBrokerCapability = {
5549
5624
  */
5550
5625
  appliedBrokers: /* @__PURE__ */ zod.z.number().int().nonnegative()
5551
5626
  })),
5627
+ /** Mute or unmute the audio of a camera on every broker serving it. */
5552
5628
  setDeviceAudioMute: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
5553
5629
  deviceId: /* @__PURE__ */ zod.z.number().int(),
5554
5630
  muted: /* @__PURE__ */ zod.z.boolean()
@@ -5767,7 +5843,9 @@ var cameraStreamsCapability = {
5767
5843
  defaultActive: true,
5768
5844
  deviceTypes: [require_device_type.DeviceType.Camera],
5769
5845
  methods: {
5846
+ /** List the streams a camera publishes. */
5770
5847
  getCameraStreams: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.array(require_streaming_shared.CameraStreamSchema).readonly()),
5848
+ /** List the camera's profile slots and the streams assigned to them. */
5771
5849
  getBrokerStreams: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.array(require_streaming_shared.ProfileSlotSchema).readonly()),
5772
5850
  /**
5773
5851
  * Per-device RAW RTSP restream entries — one per published camStream
@@ -6096,6 +6174,7 @@ var climateControlCapability = {
6096
6174
  lastField: "lastActiveMode"
6097
6175
  },
6098
6176
  methods: {
6177
+ /** Set the HVAC mode (off, heat, cool, auto, ...). */
6099
6178
  setMode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
6100
6179
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6101
6180
  mode: HvacModeSchema
@@ -6196,6 +6275,7 @@ var climateControlCapability = {
6196
6275
  }
6197
6276
  ]
6198
6277
  }),
6278
+ /** Set the target temperature. */
6199
6279
  setTarget: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
6200
6280
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6201
6281
  target: /* @__PURE__ */ zod.z.number()
@@ -6222,6 +6302,7 @@ var climateControlCapability = {
6222
6302
  }]
6223
6303
  }]
6224
6304
  }),
6305
+ /** Set the low and high target temperatures for auto mode. */
6225
6306
  setTargetRange: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
6226
6307
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6227
6308
  targetLow: /* @__PURE__ */ zod.z.number(),
@@ -6261,6 +6342,7 @@ var climateControlCapability = {
6261
6342
  }]
6262
6343
  }]
6263
6344
  }),
6345
+ /** Set the target humidity, 0 to 100. */
6264
6346
  setTargetHumidity: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
6265
6347
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6266
6348
  targetHumidity: /* @__PURE__ */ zod.z.number().min(0).max(100)
@@ -6289,6 +6371,7 @@ var climateControlCapability = {
6289
6371
  }]
6290
6372
  }]
6291
6373
  }),
6374
+ /** Set the fan mode. */
6292
6375
  setFanMode: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
6293
6376
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6294
6377
  fanMode: /* @__PURE__ */ zod.z.string().min(1)
@@ -6315,6 +6398,7 @@ var climateControlCapability = {
6315
6398
  }]
6316
6399
  }]
6317
6400
  }),
6401
+ /** Set the climate preset. */
6318
6402
  setPreset: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
6319
6403
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6320
6404
  preset: /* @__PURE__ */ zod.z.string().min(1)
@@ -6341,6 +6425,7 @@ var climateControlCapability = {
6341
6425
  }]
6342
6426
  }]
6343
6427
  }),
6428
+ /** Turn vertical swing on or off. */
6344
6429
  setSwingVertical: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
6345
6430
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6346
6431
  on: /* @__PURE__ */ zod.z.boolean()
@@ -6369,6 +6454,7 @@ var climateControlCapability = {
6369
6454
  args: { on: false }
6370
6455
  }]
6371
6456
  }),
6457
+ /** Turn horizontal swing on or off. */
6372
6458
  setSwingHorizontal: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
6373
6459
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6374
6460
  on: /* @__PURE__ */ zod.z.boolean()
@@ -6764,7 +6850,9 @@ var colorCapability = {
6764
6850
  deviceNative: true,
6765
6851
  mode: "singleton",
6766
6852
  deviceTypes: [require_device_type.DeviceType.Light],
6767
- methods: { setColor: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
6853
+ methods: {
6854
+ /** Set the light's color. */
6855
+ setColor: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
6768
6856
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
6769
6857
  color: ColorInputSchema
6770
6858
  }), /* @__PURE__ */ zod.z.void(), {
@@ -6991,6 +7079,7 @@ var composerCapability = {
6991
7079
  kind: "mutation",
6992
7080
  auth: "admin"
6993
7081
  }),
7082
+ /** The state of the given composition blocks. */
6994
7083
  getStates: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ blockIds: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.string()) }), /* @__PURE__ */ zod.z.object({ states: /* @__PURE__ */ zod.z.array(require_core_blocks_cap.CompositionBlockStateSchema) }), { auth: "admin" })
6995
7084
  },
6996
7085
  vocabulary: { notOperatorFacing: "device composition — an authoring tool, not an action" }
@@ -7532,6 +7621,7 @@ var controlCapability = {
7532
7621
  mode: "singleton",
7533
7622
  deviceTypes: [require_device_type.DeviceType.Control],
7534
7623
  methods: {
7624
+ /** Set the value of the control (number, selection, text or date). */
7535
7625
  setValue: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
7536
7626
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
7537
7627
  control: ControlSetValueInputSchema
@@ -7687,6 +7777,7 @@ var coverCapability = {
7687
7777
  mode: "singleton",
7688
7778
  deviceTypes: [require_device_type.DeviceType.Cover],
7689
7779
  methods: {
7780
+ /** Open the cover fully. */
7690
7781
  open: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
7691
7782
  kind: "mutation",
7692
7783
  auth: "protected",
@@ -7701,6 +7792,7 @@ var coverCapability = {
7701
7792
  }
7702
7793
  }]
7703
7794
  }),
7795
+ /** Close the cover fully. */
7704
7796
  close: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
7705
7797
  kind: "mutation",
7706
7798
  auth: "protected",
@@ -7715,6 +7807,7 @@ var coverCapability = {
7715
7807
  }
7716
7808
  }]
7717
7809
  }),
7810
+ /** Stop the cover where it is. */
7718
7811
  stop: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
7719
7812
  kind: "mutation",
7720
7813
  auth: "protected",
@@ -7725,6 +7818,7 @@ var coverCapability = {
7725
7818
  icon: "square"
7726
7819
  }]
7727
7820
  }),
7821
+ /** Move the cover to a position from 0 to 100. */
7728
7822
  setPosition: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
7729
7823
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
7730
7824
  position: /* @__PURE__ */ zod.z.number().min(0).max(100)
@@ -7753,6 +7847,7 @@ var coverCapability = {
7753
7847
  }]
7754
7848
  }]
7755
7849
  }),
7850
+ /** Set the cover's tilt from 0 to 100. */
7756
7851
  setTiltPosition: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
7757
7852
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
7758
7853
  tiltPosition: /* @__PURE__ */ zod.z.number().min(0).max(100)
@@ -8091,7 +8186,9 @@ var dayNightCapability = {
8091
8186
  tab: "image"
8092
8187
  } },
8093
8188
  methods: {
8189
+ /** The camera's day/night modes and current settings. */
8094
8190
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), DayNightOptionsSchema),
8191
+ /** Change the camera's day/night mode, sensitivity or switch delay. */
8095
8192
  setSettings: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
8096
8193
  deviceId: /* @__PURE__ */ zod.z.number(),
8097
8194
  settings: DayNightSettingsPatchSchema
@@ -8181,6 +8278,7 @@ var decoderCapability = {
8181
8278
  mode: "singleton",
8182
8279
  preferredProvider: "decoder-nodeav",
8183
8280
  methods: {
8281
+ /** The decoder's id, name and active hardware-acceleration state on this node. */
8184
8282
  getInfo: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.object({
8185
8283
  id: /* @__PURE__ */ zod.z.string(),
8186
8284
  name: /* @__PURE__ */ zod.z.string(),
@@ -8940,11 +9038,13 @@ var deviceStateRefreshCapability = {
8940
9038
  deviceNative: true,
8941
9039
  mode: "singleton",
8942
9040
  methods: {
9041
+ /** Re-read a device's state from the source now. */
8943
9042
  refresh: /* @__PURE__ */ require_capability_definition.method(DeviceStateRefreshInputSchema, DeviceStateRefreshResultSchema, {
8944
9043
  kind: "mutation",
8945
9044
  auth: "admin",
8946
9045
  notOperatorFacing: NOT_OPERATOR_FACING
8947
9046
  }),
9047
+ /** Re-establish a device's live state subscription. */
8948
9048
  resubscribe: /* @__PURE__ */ require_capability_definition.method(DeviceStateResubscribeInputSchema, DeviceStateRefreshResultSchema, {
8949
9049
  kind: "mutation",
8950
9050
  auth: "admin",
@@ -9169,6 +9269,7 @@ var dishwasherCapability = {
9169
9269
  }]
9170
9270
  }]
9171
9271
  }),
9272
+ /** Pause the running dishwasher program. */
9172
9273
  pause: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: DeviceIdSchema$2 }), /* @__PURE__ */ zod.z.void(), {
9173
9274
  kind: "mutation",
9174
9275
  auth: "protected",
@@ -9179,6 +9280,7 @@ var dishwasherCapability = {
9179
9280
  icon: "pause"
9180
9281
  }]
9181
9282
  }),
9283
+ /** Resume a paused dishwasher program. */
9182
9284
  resume: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: DeviceIdSchema$2 }), /* @__PURE__ */ zod.z.void(), {
9183
9285
  kind: "mutation",
9184
9286
  auth: "protected",
@@ -9189,6 +9291,7 @@ var dishwasherCapability = {
9189
9291
  icon: "play"
9190
9292
  }]
9191
9293
  }),
9294
+ /** Stop the running dishwasher program. */
9192
9295
  stop: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: DeviceIdSchema$2 }), /* @__PURE__ */ zod.z.void(), {
9193
9296
  kind: "mutation",
9194
9297
  auth: "protected",
@@ -9222,6 +9325,7 @@ var dishwasherCapability = {
9222
9325
  }]
9223
9326
  }]
9224
9327
  }),
9328
+ /** Switch the dishwasher on or off. */
9225
9329
  setPower: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9226
9330
  deviceId: DeviceIdSchema$2,
9227
9331
  on: /* @__PURE__ */ zod.z.boolean()
@@ -9242,6 +9346,7 @@ var dishwasherCapability = {
9242
9346
  args: { on: false }
9243
9347
  }]
9244
9348
  }),
9349
+ /** Turn the half-load option on or off. */
9245
9350
  setHalfLoad: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9246
9351
  deviceId: DeviceIdSchema$2,
9247
9352
  on: /* @__PURE__ */ zod.z.boolean()
@@ -9262,6 +9367,7 @@ var dishwasherCapability = {
9262
9367
  args: { on: false }
9263
9368
  }]
9264
9369
  }),
9370
+ /** Turn the Hygiene Plus option on or off. */
9265
9371
  setHygienePlus: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9266
9372
  deviceId: DeviceIdSchema$2,
9267
9373
  on: /* @__PURE__ */ zod.z.boolean()
@@ -9282,6 +9388,7 @@ var dishwasherCapability = {
9282
9388
  args: { on: false }
9283
9389
  }]
9284
9390
  }),
9391
+ /** Turn the extra-dry option on or off. */
9285
9392
  setExtraDry: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9286
9393
  deviceId: DeviceIdSchema$2,
9287
9394
  on: /* @__PURE__ */ zod.z.boolean()
@@ -9302,6 +9409,7 @@ var dishwasherCapability = {
9302
9409
  args: { on: false }
9303
9410
  }]
9304
9411
  }),
9412
+ /** Turn the intensive-zone option on or off. */
9305
9413
  setIntensiveZone: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9306
9414
  deviceId: DeviceIdSchema$2,
9307
9415
  on: /* @__PURE__ */ zod.z.boolean()
@@ -9322,6 +9430,7 @@ var dishwasherCapability = {
9322
9430
  args: { on: false }
9323
9431
  }]
9324
9432
  }),
9433
+ /** Turn the speed-boost (VarioSpeed Plus) option on or off. */
9325
9434
  setVarioSpeedPlus: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9326
9435
  deviceId: DeviceIdSchema$2,
9327
9436
  on: /* @__PURE__ */ zod.z.boolean()
@@ -9342,6 +9451,7 @@ var dishwasherCapability = {
9342
9451
  args: { on: false }
9343
9452
  }]
9344
9453
  }),
9454
+ /** Turn the child lock on or off. */
9345
9455
  setChildLock: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9346
9456
  deviceId: DeviceIdSchema$2,
9347
9457
  on: /* @__PURE__ */ zod.z.boolean()
@@ -9547,14 +9657,17 @@ var displayPaletteCapability = {
9547
9657
  scope: "system",
9548
9658
  mode: "singleton",
9549
9659
  methods: {
9660
+ /** The cluster's colour palette. */
9550
9661
  getPalette: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), paletteResultSchema, {
9551
9662
  auth: "protected",
9552
9663
  role: "viewer"
9553
9664
  }),
9665
+ /** List the built-in palette presets. */
9554
9666
  listPresets: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(presetSummarySchema).readonly(), {
9555
9667
  auth: "protected",
9556
9668
  role: "viewer"
9557
9669
  }),
9670
+ /** Save a colour palette; refused when it fails the contrast rules. */
9558
9671
  setPalette: /* @__PURE__ */ require_capability_definition.method(setPaletteInputSchema, paletteReadySchema, {
9559
9672
  kind: "mutation",
9560
9673
  auth: "admin"
@@ -9584,7 +9697,9 @@ var doNotDisturbCapability = {
9584
9697
  deviceNative: true,
9585
9698
  mode: "singleton",
9586
9699
  deviceTypes: [require_device_type.DeviceType.MediaPlayer],
9587
- methods: { setEnabled: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9700
+ methods: {
9701
+ /** Turn Do Not Disturb on or off for the device. */
9702
+ setEnabled: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
9588
9703
  deviceId: /* @__PURE__ */ zod.z.number().int(),
9589
9704
  enabled: /* @__PURE__ */ zod.z.boolean()
9590
9705
  }), /* @__PURE__ */ zod.z.void(), {
@@ -10352,6 +10467,7 @@ var faceGalleryCapability = {
10352
10467
  scope: "system",
10353
10468
  mode: "singleton",
10354
10469
  methods: {
10470
+ /** List the known face identities in the gallery. */
10355
10471
  listIdentities: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
10356
10472
  /**
10357
10473
  * Inline {@link IdentitySchema.coverBase64} on every row.
@@ -10373,10 +10489,12 @@ var faceGalleryCapability = {
10373
10489
  * is what ships, and the opt-in becomes reachable when the train lands.
10374
10490
  */
10375
10491
  includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PURE__ */ zod.z.array(IdentitySchema).readonly(), { role: "viewer" }),
10492
+ /** Create a named face identity. */
10376
10493
  createIdentity: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ name: /* @__PURE__ */ zod.z.string().min(1) }), IdentitySchema, {
10377
10494
  kind: "mutation",
10378
10495
  auth: "admin"
10379
10496
  }),
10497
+ /** Rename a face identity. */
10380
10498
  renameIdentity: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
10381
10499
  id: /* @__PURE__ */ zod.z.string(),
10382
10500
  name: /* @__PURE__ */ zod.z.string().min(1)
@@ -10384,10 +10502,12 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
10384
10502
  kind: "mutation",
10385
10503
  auth: "admin"
10386
10504
  }),
10505
+ /** Delete a face identity. */
10387
10506
  deleteIdentity: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ id: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.void(), {
10388
10507
  kind: "mutation",
10389
10508
  auth: "admin"
10390
10509
  }),
10510
+ /** List the face samples assigned to an identity. */
10391
10511
  listIdentitySamples: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ identityId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.array(IdentitySampleInfoSchema).readonly()),
10392
10512
  /**
10393
10513
  * Re-analyse ONE person's enrolled samples against the whole gallery.
@@ -10402,6 +10522,7 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
10402
10522
  * delete would be one confirmation away from emptying a gallery.
10403
10523
  */
10404
10524
  auditIdentitySamples: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ identityId: /* @__PURE__ */ zod.z.string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }),
10525
+ /** Remove one face sample from an identity. */
10405
10526
  removeSample: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
10406
10527
  identityId: /* @__PURE__ */ zod.z.string(),
10407
10528
  sampleId: /* @__PURE__ */ zod.z.string()
@@ -10421,6 +10542,7 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
10421
10542
  kind: "mutation",
10422
10543
  auth: "admin"
10423
10544
  }),
10545
+ /** List recently detected faces, optionally for one or several cameras. */
10424
10546
  listRecentFaces: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
10425
10547
  /**
10426
10548
  * Restrict to ONE camera. Absent keeps the cluster-wide gallery view.
@@ -10491,11 +10613,14 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
10491
10613
  */
10492
10614
  includeCrops: /* @__PURE__ */ zod.z.boolean().optional()
10493
10615
  }).optional(), /* @__PURE__ */ zod.z.array(FaceInfoSchema).readonly()),
10616
+ /** The face captured for a camera's track; null when none. */
10494
10617
  getFaceByTrack: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
10495
10618
  deviceId: /* @__PURE__ */ zod.z.number().int(),
10496
10619
  trackId: /* @__PURE__ */ zod.z.string()
10497
10620
  }), /* @__PURE__ */ FaceInfoSchema.nullable(), { role: "viewer" }),
10621
+ /** The media files (crops, frames) stored for one face. */
10498
10622
  getFaceMedia: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ faceId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.array(MediaFileLiteSchema$1).readonly()),
10623
+ /** Assign a detected face to an identity. */
10499
10624
  assignFace: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
10500
10625
  faceId: /* @__PURE__ */ zod.z.string(),
10501
10626
  identityId: /* @__PURE__ */ zod.z.string()
@@ -10503,6 +10628,7 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
10503
10628
  kind: "mutation",
10504
10629
  auth: "admin"
10505
10630
  }),
10631
+ /** Detach a detected face from its identity. */
10506
10632
  unassignFace: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ faceId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.void(), {
10507
10633
  kind: "mutation",
10508
10634
  auth: "admin"
@@ -10923,6 +11049,7 @@ var fanControlCapability = {
10923
11049
  mode: "singleton",
10924
11050
  deviceTypes: [require_device_type.DeviceType.Fan],
10925
11051
  methods: {
11052
+ /** Set the fan speed from 0 to 100. */
10926
11053
  setPercentage: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
10927
11054
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
10928
11055
  speed: /* @__PURE__ */ zod.z.number().min(0).max(100)
@@ -10991,6 +11118,7 @@ var fanControlCapability = {
10991
11118
  }
10992
11119
  ]
10993
11120
  }),
11121
+ /** Set the fan preset mode. */
10994
11122
  setPreset: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
10995
11123
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
10996
11124
  preset: /* @__PURE__ */ zod.z.string().min(1)
@@ -11017,6 +11145,7 @@ var fanControlCapability = {
11017
11145
  }]
11018
11146
  }]
11019
11147
  }),
11148
+ /** Set the fan rotation direction. */
11020
11149
  setDirection: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
11021
11150
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
11022
11151
  direction: FanDirectionSchema
@@ -11045,6 +11174,7 @@ var fanControlCapability = {
11045
11174
  args: { direction: "reverse" }
11046
11175
  }]
11047
11176
  }),
11177
+ /** Turn oscillation on or off. */
11048
11178
  setOscillating: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
11049
11179
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
11050
11180
  oscillating: /* @__PURE__ */ zod.z.boolean()
@@ -11277,11 +11407,14 @@ var fanPresetsCapability = {
11277
11407
  scope: "system",
11278
11408
  mode: "singleton",
11279
11409
  methods: {
11410
+ /** The fan's saved presets. */
11280
11411
  getPresets: /* @__PURE__ */ require_capability_definition.method(deviceInput$1, /* @__PURE__ */ zod.z.array(FanPresetSchema), { auth: "protected" }),
11412
+ /** Replace the fan's saved presets. */
11281
11413
  setPresets: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ deviceInput$1.extend({ presets: /* @__PURE__ */ zod.z.array(FanPresetSchema).max(12) }), FanPresetsSetResultSchema, {
11282
11414
  kind: "mutation",
11283
11415
  auth: "admin"
11284
11416
  }),
11417
+ /** Apply a saved preset to the fan. */
11285
11418
  applyPreset: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ deviceInput$1.extend({ presetId: /* @__PURE__ */ zod.z.string().min(1) }), FanPresetApplyResultSchema, {
11286
11419
  kind: "mutation",
11287
11420
  auth: "protected"
@@ -11829,6 +11962,7 @@ var heatPumpControlCapability = {
11829
11962
  }]
11830
11963
  }]
11831
11964
  }),
11965
+ /** Set the operation mode of a heating circuit. */
11832
11966
  setCircuitOperationMode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11833
11967
  deviceId,
11834
11968
  circuitId,
@@ -11844,6 +11978,7 @@ var heatPumpControlCapability = {
11844
11978
  openArgs: [HEATING_CIRCUIT, MODE_ARG]
11845
11979
  }]
11846
11980
  }),
11981
+ /** Set a circuit to heating or cooling. */
11847
11982
  setCircuitHeatCoolMode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11848
11983
  deviceId,
11849
11984
  circuitId,
@@ -11859,6 +11994,7 @@ var heatPumpControlCapability = {
11859
11994
  openArgs: [HEATING_CIRCUIT, MODE_ARG]
11860
11995
  }]
11861
11996
  }),
11997
+ /** Set a circuit's summer or winter mode. */
11862
11998
  setCircuitSummerWinter: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11863
11999
  deviceId,
11864
12000
  circuitId,
@@ -11874,6 +12010,7 @@ var heatPumpControlCapability = {
11874
12010
  openArgs: [HEATING_CIRCUIT, MODE_ARG]
11875
12011
  }]
11876
12012
  }),
12013
+ /** Set a circuit's comfort temperature. */
11877
12014
  setCircuitComfortSetpoint: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11878
12015
  deviceId,
11879
12016
  circuitId,
@@ -11889,6 +12026,7 @@ var heatPumpControlCapability = {
11889
12026
  openArgs: [HEATING_CIRCUIT, TEMP_ARG]
11890
12027
  }]
11891
12028
  }),
12029
+ /** Set a circuit's eco temperature. */
11892
12030
  setCircuitEcoSetpoint: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11893
12031
  deviceId,
11894
12032
  circuitId,
@@ -11904,6 +12042,7 @@ var heatPumpControlCapability = {
11904
12042
  openArgs: [HEATING_CIRCUIT, TEMP_ARG]
11905
12043
  }]
11906
12044
  }),
12045
+ /** Set a circuit's maximum flow temperature. */
11907
12046
  setCircuitMaxFlowTemp: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11908
12047
  deviceId,
11909
12048
  circuitId,
@@ -11919,6 +12058,7 @@ var heatPumpControlCapability = {
11919
12058
  openArgs: [HEATING_CIRCUIT, TEMP_ARG]
11920
12059
  }]
11921
12060
  }),
12061
+ /** Set the operation mode of the domestic hot water circuit. */
11922
12062
  setDhwOperationMode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11923
12063
  deviceId,
11924
12064
  circuitId,
@@ -11934,6 +12074,7 @@ var heatPumpControlCapability = {
11934
12074
  openArgs: [HOT_WATER_CIRCUIT, MODE_ARG]
11935
12075
  }]
11936
12076
  }),
12077
+ /** Set the hot water temperature level of a circuit. */
11937
12078
  setDhwTemperatureLevel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11938
12079
  deviceId,
11939
12080
  circuitId,
@@ -11949,6 +12090,7 @@ var heatPumpControlCapability = {
11949
12090
  openArgs: [HOT_WATER_CIRCUIT, LEVEL_ARG]
11950
12091
  }]
11951
12092
  }),
12093
+ /** Set how many minutes a hot water charge runs. */
11952
12094
  setDhwChargeDuration: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
11953
12095
  deviceId,
11954
12096
  circuitId,
@@ -12404,6 +12546,7 @@ var timedRunCapability = {
12404
12546
  tab: "general"
12405
12547
  } },
12406
12548
  methods: {
12549
+ /** The timed-run options of a device. */
12407
12550
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int() }), TimedRunOptionsSchema),
12408
12551
  /**
12409
12552
  * The one-tap run of this device. A duration above the type's maximum is
@@ -13696,6 +13839,7 @@ var humidifierCapability = {
13696
13839
  set: "setOn"
13697
13840
  },
13698
13841
  methods: {
13842
+ /** Turn the humidifier on or off. */
13699
13843
  setOn: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
13700
13844
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
13701
13845
  on: /* @__PURE__ */ zod.z.boolean()
@@ -13724,6 +13868,7 @@ var humidifierCapability = {
13724
13868
  args: { on: false }
13725
13869
  }]
13726
13870
  }),
13871
+ /** Set the target humidity from 0 to 100. */
13727
13872
  setTargetHumidity: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
13728
13873
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
13729
13874
  humidity: /* @__PURE__ */ zod.z.number().min(0).max(100)
@@ -13752,6 +13897,7 @@ var humidifierCapability = {
13752
13897
  }]
13753
13898
  }]
13754
13899
  }),
13900
+ /** Set the humidifier mode. */
13755
13901
  setMode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
13756
13902
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
13757
13903
  mode: /* @__PURE__ */ zod.z.string().min(1)
@@ -14083,7 +14229,9 @@ var imageSettingsCapability = {
14083
14229
  tab: "image"
14084
14230
  } },
14085
14231
  methods: {
14232
+ /** The camera's picture-adjustment options and current values. */
14086
14233
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), ImageSettingsOptionsSchema),
14234
+ /** Change the camera's picture settings (brightness, contrast, orientation, exposure, ...). */
14087
14235
  setSettings: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
14088
14236
  deviceId: /* @__PURE__ */ zod.z.number(),
14089
14237
  settings: ImageSettingsPatchSchema
@@ -14220,6 +14368,7 @@ var intercomCapability = {
14220
14368
  auth: "protected",
14221
14369
  notOperatorFacing: "live-stream session plumbing driven by a viewer, never a discrete step"
14222
14370
  }),
14371
+ /** Pass the viewer's SDP answer to an open two-way audio session. */
14223
14372
  handleAnswer: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
14224
14373
  deviceId: /* @__PURE__ */ zod.z.number(),
14225
14374
  sessionId: /* @__PURE__ */ zod.z.string(),
@@ -14430,6 +14579,7 @@ var irTransmitterCapability = {
14430
14579
  mode: "singleton",
14431
14580
  deviceTypes: [require_device_type.DeviceType.Generic],
14432
14581
  methods: {
14582
+ /** Transmit an infrared code, given as timings or a native code. */
14433
14583
  send: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
14434
14584
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
14435
14585
  timings: /* @__PURE__ */ require_core_blocks_cap.IrTimingsSchema.optional(),
@@ -14440,6 +14590,7 @@ var irTransmitterCapability = {
14440
14590
  auth: "protected",
14441
14591
  notOperatorFacing: "a raw pulse train is not something an operator composes in an automation; the remote that owns the command table sends it"
14442
14592
  }),
14593
+ /** Listen for an infrared code from a remote and return it. */
14443
14594
  learn: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
14444
14595
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
14445
14596
  timeoutMs: /* @__PURE__ */ zod.z.number().int().positive().max(IR_LEARN_TIMEOUT_MAX_MS).default(IR_LEARN_TIMEOUT_DEFAULT_MS)
@@ -14448,6 +14599,7 @@ var irTransmitterCapability = {
14448
14599
  auth: "protected",
14449
14600
  notOperatorFacing: "an interactive capture the operator starts from the source dialog and answers by pressing a physical remote; no automation can supply the signal"
14450
14601
  }),
14602
+ /** What the infrared transmitter supports. */
14451
14603
  getInfo: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), IrTransmitterInfoSchema, {
14452
14604
  kind: "query",
14453
14605
  auth: "protected"
@@ -14532,6 +14684,7 @@ var lawnMowerControlCapability = {
14532
14684
  mode: "singleton",
14533
14685
  deviceTypes: [require_device_type.DeviceType.LawnMower],
14534
14686
  methods: {
14687
+ /** Start mowing. */
14535
14688
  startMowing: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
14536
14689
  kind: "mutation",
14537
14690
  auth: "protected",
@@ -14542,6 +14695,7 @@ var lawnMowerControlCapability = {
14542
14695
  icon: "play"
14543
14696
  }]
14544
14697
  }),
14698
+ /** Pause mowing. */
14545
14699
  pause: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
14546
14700
  kind: "mutation",
14547
14701
  auth: "protected",
@@ -14552,6 +14706,7 @@ var lawnMowerControlCapability = {
14552
14706
  icon: "pause"
14553
14707
  }]
14554
14708
  }),
14709
+ /** Send the mower back to its dock. */
14555
14710
  dock: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
14556
14711
  kind: "mutation",
14557
14712
  auth: "protected",
@@ -15046,26 +15201,33 @@ var llmRuntimeCapability = {
15046
15201
  auth: "admin",
15047
15202
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
15048
15203
  }),
15204
+ /** Start the managed local model runtime on this node, loading the model, and report its status. */
15049
15205
  ensureStarted: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
15050
15206
  kind: "mutation",
15051
15207
  auth: "admin",
15052
15208
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
15053
15209
  }),
15210
+ /** Stop the local model runtime on this node. */
15054
15211
  stop: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.void(), {
15055
15212
  kind: "mutation",
15056
15213
  auth: "admin"
15057
15214
  }),
15215
+ /** Whether the local model runtime on this node is running. */
15058
15216
  status: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), LlmRuntimeStatusSchema, { auth: "admin" }),
15217
+ /** Download a model file into this node's runtime. */
15059
15218
  installModel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ model: ManagedModelRefSchema }), /* @__PURE__ */ zod.z.void(), {
15060
15219
  kind: "mutation",
15061
15220
  auth: "admin",
15062
15221
  timeoutMs: AI_MODEL_INSTALL_TIMEOUT_MS
15063
15222
  }),
15223
+ /** Delete an installed model file from this node. */
15064
15224
  deleteModel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ file: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.void(), {
15065
15225
  kind: "mutation",
15066
15226
  auth: "admin"
15067
15227
  }),
15228
+ /** List the model files installed on this node. */
15068
15229
  listLocalModels: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(LlmNodeModelSchema), { auth: "admin" }),
15230
+ /** Disk space used by the models on this node. */
15069
15231
  getDiskUsage: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" }),
15070
15232
  /**
15071
15233
  * Stop a node-side generation started with a `requestId` — `complete` or
@@ -15083,6 +15245,7 @@ var llmRuntimeCapability = {
15083
15245
  * node refreshes in the background — it never waits on a probe.
15084
15246
  */
15085
15247
  appleAvailability: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), AppleFmAvailabilitySchema, { auth: "admin" }),
15248
+ /** Run a text completion on the on-device Apple model. */
15086
15249
  completeApple: /* @__PURE__ */ require_capability_definition.method(LlmRuntimeAppleCompleteInputSchema, LlmGenerateResultSchema, {
15087
15250
  kind: "mutation",
15088
15251
  auth: "admin",
@@ -15228,10 +15391,12 @@ var llmCapability = {
15228
15391
  /** `nodeId` inputs below are DATA (the hub provider pins itself), never routing. */
15229
15392
  nodeIdMode: "data",
15230
15393
  methods: {
15394
+ /** Run a text generation on a language model profile and return the result. */
15231
15395
  generate: /* @__PURE__ */ require_capability_definition.method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
15232
15396
  kind: "mutation",
15233
15397
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
15234
15398
  }),
15399
+ /** Run a generation that includes images on a vision-capable model profile. */
15235
15400
  generateVision: /* @__PURE__ */ require_capability_definition.method(GenerateVisionInputSchema, LlmGenerateResultSchema, {
15236
15401
  kind: "mutation",
15237
15402
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
@@ -15258,7 +15423,9 @@ var llmCapability = {
15258
15423
  kind: "mutation",
15259
15424
  auth: "admin"
15260
15425
  }),
15426
+ /** The default model profile chosen for each LLM use. */
15261
15427
  getDefaults: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(LlmDefaultSchema)),
15428
+ /** Choose the default model profile for one LLM use, or clear it with null. */
15262
15429
  setDefault: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
15263
15430
  selector: LlmDefaultSelectorSchema,
15264
15431
  profileId: /* @__PURE__ */ zod.z.string().nullable()
@@ -15266,14 +15433,18 @@ var llmCapability = {
15266
15433
  kind: "mutation",
15267
15434
  auth: "admin"
15268
15435
  }),
15436
+ /** Token usage rolled up per consumer and profile, optionally within a time window. */
15269
15437
  getUsage: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
15270
15438
  since: /* @__PURE__ */ zod.z.number().optional(),
15271
15439
  until: /* @__PURE__ */ zod.z.number().optional(),
15272
15440
  consumer: /* @__PURE__ */ zod.z.string().optional(),
15273
15441
  profileId: /* @__PURE__ */ zod.z.string().optional()
15274
15442
  }), /* @__PURE__ */ zod.z.array(LlmUsageRollupSchema)),
15443
+ /** List the models that can be installed on a runtime node. */
15275
15444
  listModelCatalog: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(ManagedModelCatalogEntrySchema)),
15445
+ /** List the nodes that can host a local LLM runtime. */
15276
15446
  listRuntimeNodes: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(LlmRuntimeNodeSchema)),
15447
+ /** List the model files installed on one node. */
15277
15448
  listNodeModels: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ nodeId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.array(LlmNodeModelSchema)),
15278
15449
  /**
15279
15450
  * One typed Hugging Face reference → a pinned, verified `ManagedModelRef`.
@@ -15294,6 +15465,7 @@ var llmCapability = {
15294
15465
  kind: "mutation",
15295
15466
  auth: "admin"
15296
15467
  }),
15468
+ /** Install a catalog model on a node. */
15297
15469
  installModel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
15298
15470
  nodeId: /* @__PURE__ */ zod.z.string(),
15299
15471
  model: ManagedModelRefSchema
@@ -15301,6 +15473,7 @@ var llmCapability = {
15301
15473
  kind: "mutation",
15302
15474
  auth: "admin"
15303
15475
  }),
15476
+ /** Delete an installed model file from a node. */
15304
15477
  deleteModel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
15305
15478
  nodeId: /* @__PURE__ */ zod.z.string(),
15306
15479
  file: /* @__PURE__ */ zod.z.string()
@@ -15308,11 +15481,14 @@ var llmCapability = {
15308
15481
  kind: "mutation",
15309
15482
  auth: "admin"
15310
15483
  }),
15484
+ /** Whether the local runtime behind a profile is running, and its state. */
15311
15485
  getRuntimeStatus: /* @__PURE__ */ require_capability_definition.method(ProfileRefInputSchema, LlmRuntimeStatusSchema),
15486
+ /** Start the local runtime behind a profile. */
15312
15487
  startRuntime: /* @__PURE__ */ require_capability_definition.method(ProfileRefInputSchema, LlmRuntimeStatusSchema, {
15313
15488
  kind: "mutation",
15314
15489
  auth: "admin"
15315
15490
  }),
15491
+ /** Stop the local runtime behind a profile. */
15316
15492
  stopRuntime: /* @__PURE__ */ require_capability_definition.method(ProfileRefInputSchema, /* @__PURE__ */ zod.z.void(), {
15317
15493
  kind: "mutation",
15318
15494
  auth: "admin"
@@ -15489,6 +15665,7 @@ var lockControlCapability = {
15489
15665
  mode: "singleton",
15490
15666
  deviceTypes: [require_device_type.DeviceType.Lock],
15491
15667
  methods: {
15668
+ /** Lock the lock, with a PIN code when it needs one. */
15492
15669
  lock: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
15493
15670
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
15494
15671
  /** Optional PIN code required by some keypad locks. NOT
@@ -15525,6 +15702,7 @@ var lockControlCapability = {
15525
15702
  }]
15526
15703
  }]
15527
15704
  }),
15705
+ /** Unlock the lock, with a PIN code when it needs one. */
15528
15706
  unlock: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
15529
15707
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
15530
15708
  code: /* @__PURE__ */ zod.z.string().min(1).optional(),
@@ -15566,6 +15744,7 @@ var lockControlCapability = {
15566
15744
  }]
15567
15745
  }]
15568
15746
  }),
15747
+ /** Release the latch so the door can be opened. */
15569
15748
  open: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
15570
15749
  kind: "mutation",
15571
15750
  auth: "protected",
@@ -15848,7 +16027,9 @@ var loginMethodCapability = {
15848
16027
  scope: "system",
15849
16028
  mode: "collection",
15850
16029
  internal: true,
15851
- methods: { getLoginMethods: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(LoginMethodContributionSchema).readonly()) },
16030
+ methods: {
16031
+ /** List the sign-in methods this provider offers on the login page. */
16032
+ getLoginMethods: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(LoginMethodContributionSchema).readonly()) },
15852
16033
  /** BIG PLAN 2: declarative mount hint — read by `@camstack/server/system` `buildCapRouters`. */
15853
16034
  mount: { kind: "skip" },
15854
16035
  vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.IDENTITY }
@@ -16133,7 +16314,9 @@ var modelConvertCapability = {
16133
16314
  scope: "system",
16134
16315
  mode: "singleton",
16135
16316
  internal: true,
16136
- methods: { convert: /* @__PURE__ */ require_capability_definition.method(ModelConvertInputSchema, ConvertResultSchema, {
16317
+ methods: {
16318
+ /** Convert a model to another format; can take minutes. */
16319
+ convert: /* @__PURE__ */ require_capability_definition.method(ModelConvertInputSchema, ConvertResultSchema, {
16137
16320
  kind: "mutation",
16138
16321
  auth: "admin",
16139
16322
  timeoutMs: 6e5
@@ -16177,7 +16360,9 @@ var modelDistributorCapability = {
16177
16360
  scope: "system",
16178
16361
  mode: "singleton",
16179
16362
  internal: true,
16180
- methods: { distributeModel: /* @__PURE__ */ require_capability_definition.method(ModelDistributeInputSchema, ModelDistributeResultSchema, {
16363
+ methods: {
16364
+ /** Push a model already on the hub to an agent node and verify it. */
16365
+ distributeModel: /* @__PURE__ */ require_capability_definition.method(ModelDistributeInputSchema, ModelDistributeResultSchema, {
16181
16366
  kind: "mutation",
16182
16367
  auth: "admin"
16183
16368
  }) },
@@ -16460,7 +16645,9 @@ var pipelineExecutorCapability = {
16460
16645
  scope: "system",
16461
16646
  mode: "singleton",
16462
16647
  methods: {
16648
+ /** List the inference engines this executor can run pipelines on. */
16463
16649
  getAvailableEngines: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(PipelineEngineChoiceSchema)),
16650
+ /** The inference engine currently selected for this executor. */
16464
16651
  getSelectedEngine: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), PipelineEngineChoiceSchema),
16465
16652
  /**
16466
16653
  * Per-node detection-engine provisioning snapshot. Returns the live
@@ -16471,10 +16658,12 @@ var pipelineExecutorCapability = {
16471
16658
  * indicator without polling. Phase 2.
16472
16659
  */
16473
16660
  getEngineProvisioning: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ nodeId: /* @__PURE__ */ zod.z.string() }), EngineProvisioningSchema),
16661
+ /** The configured video pipeline steps, keyed by step, with their model and settings. */
16474
16662
  getVideoPipelineSteps: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PURE__ */ zod.z.object({
16475
16663
  modelId: /* @__PURE__ */ zod.z.string(),
16476
16664
  settings: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PURE__ */ zod.z.unknown()).readonly()
16477
16665
  }))),
16666
+ /** Replace the configured video pipeline steps (model and settings per step). */
16478
16667
  setVideoPipelineSteps: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ steps: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PURE__ */ zod.z.object({
16479
16668
  modelId: /* @__PURE__ */ zod.z.string(),
16480
16669
  settings: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PURE__ */ zod.z.unknown()).readonly()
@@ -16542,7 +16731,9 @@ var pipelineExecutorCapability = {
16542
16731
  kind: "mutation",
16543
16732
  auth: "admin"
16544
16733
  }),
16734
+ /** The schema describing the pipeline stages and what each can be configured with. */
16545
16735
  getSchema: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), PipelineSchemaSchema),
16736
+ /** The configuration form schema of the pipeline orchestrator. */
16546
16737
  getOrchestratorConfigSchema: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), ConfigUISchemaBridge),
16547
16738
  /**
16548
16739
  * Gate B (pre-init config-correctness gate). PURE COMPUTE against this
@@ -16564,13 +16755,17 @@ var pipelineExecutorCapability = {
16564
16755
  steps: /* @__PURE__ */ zod.z.array(require_stream_catalog_cap.PipelineStepInputSchema),
16565
16756
  deviceKey: /* @__PURE__ */ zod.z.string().optional()
16566
16757
  }), PipelineValidationResultSchema),
16758
+ /** What this executor's inference hardware and runtimes can do. */
16567
16759
  getCapabilities: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), InferenceCapabilitiesBridge),
16760
+ /** List the models an addon offers and whether each is downloaded. */
16568
16761
  getAddonModels: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ addonId: /* @__PURE__ */ zod.z.string() }), ModelAvailabilityListBridge),
16762
+ /** Download a model in the given format for an addon. */
16569
16763
  downloadModel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
16570
16764
  addonId: /* @__PURE__ */ zod.z.string(),
16571
16765
  modelId: /* @__PURE__ */ zod.z.string(),
16572
16766
  format: ModelFormatSchema$1
16573
16767
  }), DownloadModelResultSchema, { kind: "mutation" }),
16768
+ /** Delete a downloaded model in the given format from an addon. */
16574
16769
  deleteModel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
16575
16770
  addonId: /* @__PURE__ */ zod.z.string(),
16576
16771
  modelId: /* @__PURE__ */ zod.z.string(),
@@ -16815,17 +17010,24 @@ var pipelineExecutorCapability = {
16815
17010
  kind: "mutation",
16816
17011
  auth: "admin"
16817
17012
  }),
17013
+ /** List the reference images available for pipeline tests. */
16818
17014
  listReferenceImages: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(ReferenceImageEntrySchema).readonly()),
17015
+ /** Fetch one reference image by filename; null when missing. */
16819
17016
  getReferenceImage: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ filename: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ ReferenceImageBodySchema.nullable()),
17017
+ /** List the reference audio files available for audio pipeline tests. */
16820
17018
  getReferenceAudioFiles: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(ReferenceAudioEntrySchema).readonly()),
17019
+ /** Fetch one reference audio file by filename; null when missing. */
16821
17020
  getReferenceAudio: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ filename: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ ReferenceAudioBodySchema.nullable()),
17021
+ /** What audio classification this executor supports. */
16822
17022
  getAudioCapabilities: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), AudioCapabilitiesSchema),
17023
+ /** Run an audio model on a reference audio file and return what it detected. */
16823
17024
  runAudioTest: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
16824
17025
  addonId: /* @__PURE__ */ zod.z.string(),
16825
17026
  modelId: /* @__PURE__ */ zod.z.string(),
16826
17027
  filename: /* @__PURE__ */ zod.z.string().optional(),
16827
17028
  settings: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PURE__ */ zod.z.unknown()).optional()
16828
17029
  }), AudioTestResultSchema, { kind: "mutation" }),
17030
+ /** The configuration form schema of the detection stage; null when none. */
16829
17031
  getDetectionConfigSchema: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), ConfigUISchemaNullableBridge)
16830
17032
  },
16831
17033
  vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.PIPELINE }
@@ -16879,7 +17081,9 @@ var motionTriggerCapability = {
16879
17081
  require_device_type.DeviceType.Siren,
16880
17082
  require_device_type.DeviceType.Switch
16881
17083
  ],
16882
- methods: { setMotionTrigger: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
17084
+ methods: {
17085
+ /** Turn on or off activating the accessory when the camera detects motion. */
17086
+ setMotionTrigger: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
16883
17087
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
16884
17088
  enabled: /* @__PURE__ */ zod.z.boolean()
16885
17089
  }), /* @__PURE__ */ zod.z.void(), {
@@ -16998,7 +17202,9 @@ var motionZonesCapability = {
16998
17202
  label: "Motion Zones"
16999
17203
  } },
17000
17204
  methods: {
17205
+ /** The camera's onboard motion zone options and current zone. */
17001
17206
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), MotionZoneOptionsSchema),
17207
+ /** Change the camera's onboard motion zone. */
17002
17208
  setZone: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
17003
17209
  deviceId: /* @__PURE__ */ zod.z.number(),
17004
17210
  patch: MotionZonePatchSchema
@@ -17140,24 +17346,31 @@ var mqttBrokerCapability = {
17140
17346
  kind: "poll"
17141
17347
  },
17142
17348
  methods: {
17349
+ /** List the configured MQTT brokers. */
17143
17350
  listBrokers: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(BrokerInfoSchema)),
17351
+ /** The connection details a client needs to connect to one broker. */
17144
17352
  getBrokerConfig: /* @__PURE__ */ require_capability_definition.method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }),
17353
+ /** Register an external MQTT broker. */
17145
17354
  addBroker: /* @__PURE__ */ require_capability_definition.method(AddBrokerInputSchema, AddBrokerResultSchema, {
17146
17355
  kind: "mutation",
17147
17356
  auth: "admin"
17148
17357
  }),
17358
+ /** Remove a configured MQTT broker. */
17149
17359
  removeBroker: /* @__PURE__ */ require_capability_definition.method(IdInputSchema, /* @__PURE__ */ zod.z.void(), {
17150
17360
  kind: "mutation",
17151
17361
  auth: "admin"
17152
17362
  }),
17363
+ /** Start the embedded MQTT broker. */
17153
17364
  startEmbeddedBroker: /* @__PURE__ */ require_capability_definition.method(StartEmbeddedInputSchema, StartEmbeddedResultSchema, {
17154
17365
  kind: "mutation",
17155
17366
  auth: "admin"
17156
17367
  }),
17368
+ /** Stop the embedded MQTT broker. */
17157
17369
  stopEmbeddedBroker: /* @__PURE__ */ require_capability_definition.method(IdInputSchema, /* @__PURE__ */ zod.z.void(), {
17158
17370
  kind: "mutation",
17159
17371
  auth: "admin"
17160
17372
  }),
17373
+ /** The status of the broker registry. */
17161
17374
  getStatus: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), StatusSchema)
17162
17375
  },
17163
17376
  vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.NETWORK }
@@ -17257,7 +17470,9 @@ var nativeObjectDetectionCapability = {
17257
17470
  mode: "singleton",
17258
17471
  deviceTypes: [require_device_type.DeviceType.Camera],
17259
17472
  methods: {
17473
+ /** The object classes the camera's onboard detection supports and its current settings. */
17260
17474
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), NativeObjectDetectionOptionsSchema),
17475
+ /** Change the camera's onboard object detection settings. */
17261
17476
  setSettings: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
17262
17477
  deviceId: /* @__PURE__ */ zod.z.number(),
17263
17478
  settings: NativeObjectDetectionSettingsPatchSchema
@@ -17265,6 +17480,7 @@ var nativeObjectDetectionCapability = {
17265
17480
  kind: "mutation",
17266
17481
  auth: "admin"
17267
17482
  }),
17483
+ /** Turn the camera's onboard object detection on or off. */
17268
17484
  setEnabled: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
17269
17485
  deviceId: /* @__PURE__ */ zod.z.number(),
17270
17486
  enabled: /* @__PURE__ */ zod.z.boolean()
@@ -18007,8 +18223,11 @@ var networkQualityCapability = {
18007
18223
  scope: "system",
18008
18224
  mode: "singleton",
18009
18225
  methods: {
18226
+ /** Latency, jitter and bandwidth measured for one device; null when unknown. */
18010
18227
  getDeviceStats: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), /* @__PURE__ */ DeviceNetworkStatsSchema.nullable()),
18228
+ /** Latency, jitter and bandwidth measured for every device. */
18011
18229
  getAllStats: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(DeviceNetworkStatsSchema).readonly()),
18230
+ /** Report a client's measured latency, jitter, bandwidth and packet loss for a device. */
18012
18231
  reportClientStats: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
18013
18232
  deviceId: /* @__PURE__ */ zod.z.number(),
18014
18233
  rttMs: /* @__PURE__ */ zod.z.number().min(0).max(6e4),
@@ -18393,6 +18612,7 @@ var nodesCapability = {
18393
18612
  mode: "singleton",
18394
18613
  nodeIdMode: "data",
18395
18614
  methods: {
18615
+ /** List every node in the cluster with its state, resources and processes. */
18396
18616
  topology: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(TopologyNodeSchema).readonly(), { auth: "admin" }),
18397
18617
  /**
18398
18618
  * The cheap node list for pickers (D637): the hub's in-memory registry plus
@@ -18400,18 +18620,22 @@ var nodesCapability = {
18400
18620
  * history could not be read.
18401
18621
  */
18402
18622
  directory: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), NodeDirectorySchema, { auth: "admin" }),
18623
+ /** Deploy an addon onto a node. */
18403
18624
  deployAddon: /* @__PURE__ */ require_capability_definition.method(NodeAddonInputSchema, SuccessSchema, {
18404
18625
  kind: "mutation",
18405
18626
  auth: "admin"
18406
18627
  }),
18628
+ /** Remove an addon from a node. */
18407
18629
  undeployAddon: /* @__PURE__ */ require_capability_definition.method(NodeAddonInputSchema, SuccessSchema, {
18408
18630
  kind: "mutation",
18409
18631
  auth: "admin"
18410
18632
  }),
18633
+ /** Restart one addon on a node. */
18411
18634
  restartAddon: /* @__PURE__ */ require_capability_definition.method(NodeAddonInputSchema, SuccessSchema, {
18412
18635
  kind: "mutation",
18413
18636
  auth: "admin"
18414
18637
  }),
18638
+ /** Restart one named process on a node. */
18415
18639
  restartProcess: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
18416
18640
  nodeId: /* @__PURE__ */ zod.z.string(),
18417
18641
  processName: /* @__PURE__ */ zod.z.string()
@@ -18419,14 +18643,17 @@ var nodesCapability = {
18419
18643
  kind: "mutation",
18420
18644
  auth: "admin"
18421
18645
  }),
18646
+ /** Restart a whole node. */
18422
18647
  restartNode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ nodeId: /* @__PURE__ */ zod.z.string() }), RestartNodeResultSchema, {
18423
18648
  kind: "mutation",
18424
18649
  auth: "admin"
18425
18650
  }),
18651
+ /** Shut a node down. */
18426
18652
  shutdownNode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ nodeId: /* @__PURE__ */ zod.z.string() }), SuccessSchema, {
18427
18653
  kind: "mutation",
18428
18654
  auth: "admin"
18429
18655
  }),
18656
+ /** Change a node's display name. */
18430
18657
  renameNode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
18431
18658
  nodeId: /* @__PURE__ */ zod.z.string(),
18432
18659
  name: /* @__PURE__ */ zod.z.string().min(1).max(64)
@@ -18434,7 +18661,9 @@ var nodesCapability = {
18434
18661
  kind: "mutation",
18435
18662
  auth: "admin"
18436
18663
  }),
18664
+ /** Per-addon status across the cluster. */
18437
18665
  clusterAddonStatus: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), ClusterAddonStatusEntrySchema), { auth: "admin" }),
18666
+ /** Which capabilities call which others over the last window, as a graph of edges. */
18438
18667
  getCapUsageGraph: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ windowSeconds: /* @__PURE__ */ zod.z.number().int().positive().max(300).default(60) }), /* @__PURE__ */ zod.z.array(CapUsageEdgeSchema).readonly(), { auth: "admin" }),
18439
18668
  /**
18440
18669
  * Direct per-node addon listing — calls `$agent.status` on the target
@@ -18445,6 +18674,7 @@ var nodesCapability = {
18445
18674
  * is the one the per-node "Addons" tab should call.
18446
18675
  */
18447
18676
  getNodeAddons: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ nodeId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.array(NodeAddonEntrySchema).readonly(), { auth: "admin" }),
18677
+ /** Change the log level of a process on a node. */
18448
18678
  setProcessLogLevel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
18449
18679
  nodeId: /* @__PURE__ */ zod.z.string(),
18450
18680
  level: /* @__PURE__ */ zod.z.string()
@@ -18452,6 +18682,7 @@ var nodesCapability = {
18452
18682
  kind: "mutation",
18453
18683
  auth: "admin"
18454
18684
  }),
18685
+ /** Run a named query of an addon on a specific node and return its result. */
18455
18686
  executeQuery: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
18456
18687
  nodeId: /* @__PURE__ */ zod.z.string(),
18457
18688
  addonId: /* @__PURE__ */ zod.z.string(),
@@ -18567,6 +18798,7 @@ var notifierCapability = {
18567
18798
  mode: "singleton",
18568
18799
  deviceTypes: [require_device_type.DeviceType.Notifier],
18569
18800
  methods: {
18801
+ /** Send a notification through this notifier. */
18570
18802
  send: /* @__PURE__ */ require_capability_definition.method(NotifierSendInputSchema, NotifierSendResultSchema, {
18571
18803
  kind: "mutation",
18572
18804
  auth: "admin",
@@ -18616,6 +18848,7 @@ var notifierCapability = {
18616
18848
  ]
18617
18849
  }]
18618
18850
  }),
18851
+ /** Cancel a notification that was sent earlier. */
18619
18852
  cancel: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
18620
18853
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
18621
18854
  notificationId: /* @__PURE__ */ zod.z.string().min(1)
@@ -20307,6 +20540,60 @@ var HealthDigestAnswerSchema = /* @__PURE__ */ zod.z.object({
20307
20540
  previous: /* @__PURE__ */ zod.z.array(HealthDigestSchema).readonly()
20308
20541
  });
20309
20542
  //#endregion
20543
+ //#region ../types/dist/esm/pipeline/node-benchmark/capacity-verdict.mjs
20544
+ /**
20545
+ * The node capacity verdict: how many cameras a node carries, from what was
20546
+ * MEASURED on it. Pure.
20547
+ *
20548
+ * Two planes bound a node. Detection: the node total over its devices, each
20549
+ * at the cell for the model it runs NOW ({@link capacityForModel} — the same
20550
+ * predicate the automatic shares use; a device with no cell for its current
20551
+ * model contributes nothing). Decode: the streams the node decoded at the
20552
+ * camera rate. The verdict is the smaller of the two and names which one
20553
+ * limits.
20554
+ *
20555
+ * A plane that was not measured is `null`, never `0` (D393): the verdict of
20556
+ * one measured plane is that plane's number, flagged incomplete.
20557
+ */
20558
+ /** One device's part of the detection capacity. */
20559
+ var NodeCapacityDetectionCellSchema = /* @__PURE__ */ zod.z.object({
20560
+ deviceKey: /* @__PURE__ */ zod.z.string(),
20561
+ modelId: /* @__PURE__ */ zod.z.string().nullable(),
20562
+ phase: /* @__PURE__ */ zod.z.enum(["device", "pipeline"]),
20563
+ maxSessions: /* @__PURE__ */ zod.z.number()
20564
+ });
20565
+ var NodeDetectionCapacitySchema = /* @__PURE__ */ zod.z.object({
20566
+ /** The node total over `cells`. */
20567
+ maxSessions: /* @__PURE__ */ zod.z.number(),
20568
+ /** The newest of the cells summed. */
20569
+ measuredAtMs: /* @__PURE__ */ zod.z.number(),
20570
+ cells: /* @__PURE__ */ zod.z.array(NodeCapacityDetectionCellSchema).readonly()
20571
+ });
20572
+ var NodeDecodeCapacitySchema = /* @__PURE__ */ zod.z.object({
20573
+ /** Concurrent streams of `profile` the node decoded at the profile rate. */
20574
+ maxStreams: /* @__PURE__ */ zod.z.number(),
20575
+ measuredAtMs: /* @__PURE__ */ zod.z.number(),
20576
+ profile: require_stream_catalog_cap.NodeDecodeProfileSchema,
20577
+ /** Every stream ran on a hardware decoder (false = at least one in software). */
20578
+ hardware: /* @__PURE__ */ zod.z.boolean(),
20579
+ decoder: /* @__PURE__ */ zod.z.string()
20580
+ });
20581
+ var NodeCapacityLimitSchema = /* @__PURE__ */ zod.z.enum(["decode", "detection"]);
20582
+ var NodeCapacityVerdictSchema = /* @__PURE__ */ zod.z.object({
20583
+ nodeId: /* @__PURE__ */ zod.z.string(),
20584
+ /** null = no fresh cell for a model a device runs now. */
20585
+ detection: /* @__PURE__ */ NodeDetectionCapacitySchema.nullable(),
20586
+ /** null = decode was not measured on this node. */
20587
+ decode: /* @__PURE__ */ NodeDecodeCapacitySchema.nullable(),
20588
+ /** The smaller of the measured planes; null when neither is measured. */
20589
+ capacity: /* @__PURE__ */ zod.z.number().nullable(),
20590
+ /** Which plane limits; null unless BOTH are measured. A tie is `detection`. */
20591
+ limitedBy: /* @__PURE__ */ NodeCapacityLimitSchema.nullable(),
20592
+ /** Both planes measured and fresh. */
20593
+ complete: /* @__PURE__ */ zod.z.boolean()
20594
+ });
20595
+ var GetNodeCapacityVerdictInputSchema = /* @__PURE__ */ zod.z.object({ nodeId: /* @__PURE__ */ zod.z.string().optional() });
20596
+ //#endregion
20310
20597
  //#region ../types/dist/esm/capabilities/pipeline-orchestrator.cap.mjs
20311
20598
  var CameraPipelineConfigSchema = /* @__PURE__ */ zod.z.object({
20312
20599
  engine: /* @__PURE__ */ PipelineEngineChoiceSchema.optional(),
@@ -20993,6 +21280,7 @@ var pipelineOrchestratorCapability = {
20993
21280
  kind: "mutation",
20994
21281
  auth: "admin"
20995
21282
  }),
21283
+ /** Resume pipeline work that was paused for a storage migration. */
20996
21284
  resumeForStorageMigration: /* @__PURE__ */ require_capability_definition.method(require_relocate.StorageMigrationLeaseInputSchema, /* @__PURE__ */ zod.z.object({ resumed: /* @__PURE__ */ zod.z.literal(true) }), {
20997
21285
  kind: "mutation",
20998
21286
  auth: "admin"
@@ -21504,6 +21792,15 @@ var pipelineOrchestratorCapability = {
21504
21792
  getNodeBenchmarkCandidates: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ nodeId: /* @__PURE__ */ zod.z.string() }), require_stream_catalog_cap.NodeBenchmarkCandidatesSchema, { auth: "admin" }),
21505
21793
  /** Node benchmark — stored results, newest first, each with its standing today. */
21506
21794
  listNodeBenchmarkResults: /* @__PURE__ */ require_capability_definition.method(require_stream_catalog_cap.ListNodeBenchmarkResultsInputSchema, /* @__PURE__ */ zod.z.array(require_stream_catalog_cap.NodeBenchmarkResultViewSchema).readonly(), { auth: "admin" }),
21795
+ /**
21796
+ * Node capacity verdict — per node with any fresh measurement: the
21797
+ * detection capacity (the node total over its devices, each at the cell
21798
+ * for the model it runs now), the decode capacity, and the smaller of the
21799
+ * two with the plane that limits. The decode capacity is for the HEAVIEST
21800
+ * measured profile (the fewest streams), the one a node is sized for. A plane that was not measured is null,
21801
+ * never zero; `complete` is true only when both are measured and fresh.
21802
+ */
21803
+ getNodeCapacityVerdict: /* @__PURE__ */ require_capability_definition.method(GetNodeCapacityVerdictInputSchema, /* @__PURE__ */ zod.z.array(NodeCapacityVerdictSchema).readonly(), { auth: "admin" }),
21507
21804
  /** Node benchmark — delete one result; Auto tune and the shares stop reading it. */
21508
21805
  deleteNodeBenchmarkResult: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ id: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.object({ deleted: /* @__PURE__ */ zod.z.boolean() }), {
21509
21806
  kind: "mutation",
@@ -21578,6 +21875,8 @@ var pipelineOrchestratorCapability = {
21578
21875
  agentNodeId: /* @__PURE__ */ zod.z.string().optional()
21579
21876
  }), CameraPipelineConfigSchema),
21580
21877
  /**
21878
+ * The per-camera function switches and whether each is on.
21879
+ *
21581
21880
  * @deprecated The aggregate switch group is being withdrawn
21582
21881
  * ([D113](../../../../docs/decisions/adr-0113.md)). Build nothing new on
21583
21882
  * this pair; read the authority directly.
@@ -21608,6 +21907,8 @@ var pipelineOrchestratorCapability = {
21608
21907
  */
21609
21908
  getCameraSwitches: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), require_device_identifiers.CameraSwitchGroupSchema, { role: "viewer" }),
21610
21909
  /**
21910
+ * Turn one of a camera's function switches on or off.
21911
+ *
21611
21912
  * @deprecated See {@link getCameraSwitches}. Write the authority — the
21612
21913
  * wrapper binding, `RecordingConfig.enabled`, the notification mute — not
21613
21914
  * this ([D113](../../../../docs/decisions/adr-0113.md)).
@@ -21799,6 +22100,7 @@ var plateGalleryCapability = {
21799
22100
  scope: "system",
21800
22101
  mode: "singleton",
21801
22102
  methods: {
22103
+ /** List recognised license plates, optionally for one camera, newest first. */
21802
22104
  listPlates: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
21803
22105
  deviceId: /* @__PURE__ */ zod.z.number().int().optional(),
21804
22106
  limit: /* @__PURE__ */ zod.z.number().int().positive().optional(),
@@ -21821,10 +22123,12 @@ var plateGalleryCapability = {
21821
22123
  */
21822
22124
  includeCrops: /* @__PURE__ */ zod.z.boolean().optional()
21823
22125
  }).optional(), /* @__PURE__ */ zod.z.array(PlateInfoSchema).readonly()),
22126
+ /** The plate read for a camera's track; null when none. */
21824
22127
  getPlateByTrack: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
21825
22128
  deviceId: /* @__PURE__ */ zod.z.number().int(),
21826
22129
  trackId: /* @__PURE__ */ zod.z.string()
21827
22130
  }), /* @__PURE__ */ PlateInfoSchema.nullable(), { role: "viewer" }),
22131
+ /** The media files (crops, frames) stored for one plate. */
21828
22132
  getPlateMedia: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ plateId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.array(MediaFileLiteSchema).readonly()),
21829
22133
  /** Proximity search: plates whose folded text is within `maxDistance` edits of `text`. */
21830
22134
  searchPlates: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
@@ -21848,10 +22152,12 @@ var plateGalleryCapability = {
21848
22152
  kind: "mutation",
21849
22153
  auth: "admin"
21850
22154
  }),
22155
+ /** Delete one recognised plate and its media. */
21851
22156
  deletePlate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ plateId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.void(), {
21852
22157
  kind: "mutation",
21853
22158
  auth: "admin"
21854
22159
  }),
22160
+ /** List the vehicles (named groups of plates) in the gallery. */
21855
22161
  listVehicles: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
21856
22162
  /** Inline {@link VehicleSchema.coverBase64} on every row. Default
21857
22163
  * `false` — the vehicle twin of `faceGallery.listIdentities`'s
@@ -21859,10 +22165,12 @@ var plateGalleryCapability = {
21859
22165
  * INPUT field: stripped by the hub router until the train ships, which
21860
22166
  * resolves to `false` and is exactly the intended default. */
21861
22167
  includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PURE__ */ zod.z.array(VehicleSchema).readonly()),
22168
+ /** Create a named vehicle. */
21862
22169
  createVehicle: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ name: /* @__PURE__ */ zod.z.string().min(1) }), VehicleSchema, {
21863
22170
  kind: "mutation",
21864
22171
  auth: "admin"
21865
22172
  }),
22173
+ /** Rename a vehicle. */
21866
22174
  renameVehicle: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
21867
22175
  id: /* @__PURE__ */ zod.z.string(),
21868
22176
  name: /* @__PURE__ */ zod.z.string().min(1)
@@ -21870,11 +22178,14 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
21870
22178
  kind: "mutation",
21871
22179
  auth: "admin"
21872
22180
  }),
22181
+ /** Delete a vehicle. */
21873
22182
  deleteVehicle: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ id: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.void(), {
21874
22183
  kind: "mutation",
21875
22184
  auth: "admin"
21876
22185
  }),
22186
+ /** List the plate samples assigned to a vehicle. */
21877
22187
  listVehicleSamples: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ vehicleId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.array(VehicleSampleInfoSchema).readonly()),
22188
+ /** Remove one plate sample from a vehicle. */
21878
22189
  removeVehicleSample: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
21879
22190
  vehicleId: /* @__PURE__ */ zod.z.string(),
21880
22191
  sampleId: /* @__PURE__ */ zod.z.string()
@@ -21894,6 +22205,7 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
21894
22205
  kind: "mutation",
21895
22206
  auth: "admin"
21896
22207
  }),
22208
+ /** Assign a recognised plate to a vehicle. */
21897
22209
  assignPlate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
21898
22210
  plateId: /* @__PURE__ */ zod.z.string(),
21899
22211
  vehicleId: /* @__PURE__ */ zod.z.string()
@@ -21901,10 +22213,12 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
21901
22213
  kind: "mutation",
21902
22214
  auth: "admin"
21903
22215
  }),
22216
+ /** Detach a recognised plate from its vehicle. */
21904
22217
  unassignPlate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ plateId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.void(), {
21905
22218
  kind: "mutation",
21906
22219
  auth: "admin"
21907
22220
  }),
22221
+ /** Assign several plates to a vehicle; reports how many succeeded and which failed. */
21908
22222
  assignPlates: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
21909
22223
  plateIds: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.string()).min(1),
21910
22224
  vehicleId: /* @__PURE__ */ zod.z.string()
@@ -21915,6 +22229,7 @@ includeCrops: /* @__PURE__ */ zod.z.boolean().optional() }).optional(), /* @__PU
21915
22229
  kind: "mutation",
21916
22230
  auth: "admin"
21917
22231
  }),
22232
+ /** Detach several plates from their vehicles; reports how many succeeded and which failed. */
21918
22233
  unassignPlates: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ plateIds: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.string()).min(1) }), /* @__PURE__ */ zod.z.object({
21919
22234
  unassigned: /* @__PURE__ */ zod.z.number().int(),
21920
22235
  failed: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.string()).readonly()
@@ -22407,7 +22722,9 @@ var privacyMaskCapability = {
22407
22722
  label: "Privacy Mask"
22408
22723
  } },
22409
22724
  methods: {
22725
+ /** The camera's privacy mask options and current mask. */
22410
22726
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), PrivacyMaskOptionsSchema),
22727
+ /** Change the camera's privacy mask. */
22411
22728
  setMask: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
22412
22729
  deviceId: /* @__PURE__ */ zod.z.number(),
22413
22730
  patch: PrivacyMaskPatchSchema
@@ -22702,10 +23019,12 @@ var ptzCapability = {
22702
23019
  order: 0
22703
23020
  } },
22704
23021
  methods: {
23022
+ /** Nudge the camera by a relative pan, tilt or zoom step. */
22705
23023
  move: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ PtzMoveCommandSchema.extend({ deviceId: /* @__PURE__ */ zod.z.number() }), /* @__PURE__ */ zod.z.void(), {
22706
23024
  kind: "mutation",
22707
23025
  notOperatorFacing: "a relative nudge from the live-view joystick; a fixed place is a preset"
22708
23026
  }),
23027
+ /** Move the camera continuously until stopped. */
22709
23028
  continuousMove: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ PtzMoveCommandSchema.extend({ deviceId: /* @__PURE__ */ zod.z.number() }), /* @__PURE__ */ zod.z.void(), {
22710
23029
  kind: "mutation",
22711
23030
  notOperatorFacing: "joystick motion held until released — continuous, not a discrete step"
@@ -22724,7 +23043,9 @@ var ptzCapability = {
22724
23043
  icon: "house"
22725
23044
  }]
22726
23045
  }),
23046
+ /** List the camera's PTZ presets. */
22727
23047
  getPresets: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), /* @__PURE__ */ zod.z.array(PtzPresetSchema)),
23048
+ /** Move the camera to a preset. */
22728
23049
  goToPreset: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
22729
23050
  deviceId: /* @__PURE__ */ zod.z.number(),
22730
23051
  presetId: /* @__PURE__ */ zod.z.string()
@@ -22748,6 +23069,7 @@ var ptzCapability = {
22748
23069
  }]
22749
23070
  }]
22750
23071
  }),
23072
+ /** Save the camera's current position as a named preset. */
22751
23073
  savePreset: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
22752
23074
  deviceId: /* @__PURE__ */ zod.z.number(),
22753
23075
  presetId: /* @__PURE__ */ zod.z.string(),
@@ -22777,6 +23099,7 @@ var ptzCapability = {
22777
23099
  }]
22778
23100
  }]
22779
23101
  }),
23102
+ /** Delete a PTZ preset. */
22780
23103
  deletePreset: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
22781
23104
  deviceId: /* @__PURE__ */ zod.z.number(),
22782
23105
  presetId: /* @__PURE__ */ zod.z.string()
@@ -22784,7 +23107,9 @@ var ptzCapability = {
22784
23107
  kind: "mutation",
22785
23108
  auth: "admin"
22786
23109
  }),
23110
+ /** What the camera's PTZ supports (axes, speeds, presets). */
22787
23111
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), PtzOptionsSchema),
23112
+ /** Stop any PTZ movement. */
22788
23113
  stop: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), /* @__PURE__ */ zod.z.void(), {
22789
23114
  kind: "mutation",
22790
23115
  actions: [{
@@ -23114,7 +23439,9 @@ var rebootCapability = {
23114
23439
  require_device_type.DeviceType.Switch,
23115
23440
  require_device_type.DeviceType.Gateway
23116
23441
  ],
23117
- methods: { reboot: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.object({ success: /* @__PURE__ */ zod.z.literal(true) }), {
23442
+ methods: {
23443
+ /** Reboot the device. */
23444
+ reboot: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.object({ success: /* @__PURE__ */ zod.z.literal(true) }), {
23118
23445
  kind: "mutation",
23119
23446
  auth: "admin",
23120
23447
  actions: [{
@@ -23632,6 +23959,7 @@ var videoclipsCapability = {
23632
23959
  order: 100
23633
23960
  } },
23634
23961
  methods: {
23962
+ /** List a camera's clips in a time window, from every clip source. */
23635
23963
  listClips: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
23636
23964
  deviceId: /* @__PURE__ */ zod.z.number(),
23637
23965
  since: /* @__PURE__ */ zod.z.number(),
@@ -23690,6 +24018,7 @@ var videoclipsCapability = {
23690
24018
  kind: "query",
23691
24019
  auth: "protected"
23692
24020
  }),
24021
+ /** How to play one clip, at the requested quality. */
23693
24022
  getClipPlayback: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
23694
24023
  deviceId: /* @__PURE__ */ zod.z.number(),
23695
24024
  clipId: /* @__PURE__ */ zod.z.string(),
@@ -24308,6 +24637,7 @@ var recordingExportCapability = {
24308
24637
  kind: "query",
24309
24638
  auth: "protected"
24310
24639
  }),
24640
+ /** Fetch one footage export and its state. */
24311
24641
  getExport: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ exportId: /* @__PURE__ */ zod.z.string() }), ExportRecordSchema, {
24312
24642
  role: "viewer",
24313
24643
  kind: "query",
@@ -24325,6 +24655,7 @@ var recordingExportCapability = {
24325
24655
  kind: "mutation",
24326
24656
  auth: "protected"
24327
24657
  }),
24658
+ /** A download link for a finished export. */
24328
24659
  getDownloadUrl: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ exportId: /* @__PURE__ */ zod.z.string() }), ExportDownloadSchema, {
24329
24660
  role: "viewer",
24330
24661
  kind: "query",
@@ -24692,7 +25023,9 @@ var recordingOnboardCapability = {
24692
25023
  tab: "recording"
24693
25024
  } },
24694
25025
  methods: {
25026
+ /** The camera's onboard recording options and current settings. */
24695
25027
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), RecordingOnboardOptionsSchema),
25028
+ /** Change the camera's onboard recording settings. */
24696
25029
  setSettings: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
24697
25030
  deviceId: /* @__PURE__ */ zod.z.number(),
24698
25031
  settings: RecordingOnboardPatchSchema
@@ -25343,12 +25676,16 @@ var remoteCapability = {
25343
25676
  scope: "system",
25344
25677
  mode: "singleton",
25345
25678
  methods: {
25679
+ /** The remote-control button layout bound to a device. */
25346
25680
  getConfig: /* @__PURE__ */ require_capability_definition.method(deviceInput, RemoteConfigSchema, { auth: "admin" }),
25681
+ /** Save the remote-control button layout of a device. */
25347
25682
  setConfig: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ deviceInput.extend({ config: RemoteConfigSchema }), RemoteSetConfigResultSchema, {
25348
25683
  kind: "mutation",
25349
25684
  auth: "admin"
25350
25685
  }),
25686
+ /** List the commands a device's remote can send. */
25351
25687
  listCommands: /* @__PURE__ */ require_capability_definition.method(deviceInput, RemoteCommandListSchema, { auth: "protected" }),
25688
+ /** Send a remote button role to the device, optionally repeated. */
25352
25689
  sendCommand: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ deviceInput.extend({
25353
25690
  role: require_core_blocks_cap.RemoteRoleSchema,
25354
25691
  /** Sends in a row (volume steps). */
@@ -25369,6 +25706,7 @@ var remoteCapability = {
25369
25706
  * media-player status's own composition (D967 amendment).
25370
25707
  */
25371
25708
  getAssumedStatus: /* @__PURE__ */ require_capability_definition.method(deviceInput, /* @__PURE__ */ require_core_blocks_cap.MediaPlayerStatusSchema.nullable(), { auth: "protected" }),
25709
+ /** Send a media command (play, pause, volume, source, channel) to the device's remote. */
25372
25710
  sendMediaCommand: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ deviceInput.extend({
25373
25711
  command: RemoteMediaCommandSchema,
25374
25712
  muted: /* @__PURE__ */ zod.z.boolean().optional(),
@@ -25487,7 +25825,9 @@ var remoteLayoutComponentsCapability = {
25487
25825
  name: "remote-layout-components",
25488
25826
  scope: "system",
25489
25827
  mode: "collection",
25490
- methods: { listComponents: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(RemoteLayoutComponentSchema), { auth: "protected" }) },
25828
+ methods: {
25829
+ /** List the components offered by the remote layout editor's palette. */
25830
+ listComponents: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(RemoteLayoutComponentSchema), { auth: "protected" }) },
25491
25831
  vocabulary: { notOperatorFacing: "the palette of the remote template editor — read-only data, never actuated" }
25492
25832
  };
25493
25833
  //#endregion
@@ -25518,7 +25858,9 @@ var resyncCapability = {
25518
25858
  require_device_type.DeviceType.Workload,
25519
25859
  require_device_type.DeviceType.WeatherStation
25520
25860
  ],
25521
- methods: { resync: /* @__PURE__ */ require_capability_definition.method(ResyncDeviceInputSchema, require_device_manager_cap.ResyncResultSchema, {
25861
+ methods: {
25862
+ /** Re-align a device with its upstream source. */
25863
+ resync: /* @__PURE__ */ require_capability_definition.method(ResyncDeviceInputSchema, require_device_manager_cap.ResyncResultSchema, {
25522
25864
  kind: "mutation",
25523
25865
  auth: "admin",
25524
25866
  notOperatorFacing: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action"
@@ -25997,6 +26339,7 @@ var sceneMonitorCapability = {
25997
26339
  defaultActive: true,
25998
26340
  deviceTypes: [require_device_type.DeviceType.Camera],
25999
26341
  methods: {
26342
+ /** List the camera's scene monitors with their current state. */
26000
26343
  listScenes: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), SceneMonitorStatusSchema),
26001
26344
  /**
26002
26345
  * The same answer, for a SET of cameras, in one round trip.
@@ -26014,6 +26357,7 @@ var sceneMonitorCapability = {
26014
26357
  * tell which two are missing, or that any are.
26015
26358
  */
26016
26359
  listScenesBatch: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceIds: /* @__PURE__ */ zod.z.array(/* @__PURE__ */ zod.z.number()).min(1).max(200) }), /* @__PURE__ */ zod.z.array(SceneMonitorStatusForDeviceSchema).readonly()),
26360
+ /** Create a scene monitor on a region of the camera frame. */
26017
26361
  createScene: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
26018
26362
  deviceId: /* @__PURE__ */ zod.z.number(),
26019
26363
  label: /* @__PURE__ */ zod.z.string(),
@@ -26029,6 +26373,7 @@ var sceneMonitorCapability = {
26029
26373
  kind: "mutation",
26030
26374
  auth: "admin"
26031
26375
  }),
26376
+ /** Change a scene monitor's label, region, trigger or enabled state. */
26032
26377
  updateScene: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
26033
26378
  deviceId: /* @__PURE__ */ zod.z.number(),
26034
26379
  monitorId: /* @__PURE__ */ zod.z.string(),
@@ -26056,6 +26401,7 @@ var sceneMonitorCapability = {
26056
26401
  kind: "mutation",
26057
26402
  auth: "admin"
26058
26403
  }),
26404
+ /** Delete a scene monitor. */
26059
26405
  deleteScene: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
26060
26406
  deviceId: /* @__PURE__ */ zod.z.number(),
26061
26407
  monitorId: /* @__PURE__ */ zod.z.string()
@@ -26063,6 +26409,7 @@ var sceneMonitorCapability = {
26063
26409
  kind: "mutation",
26064
26410
  auth: "admin"
26065
26411
  }),
26412
+ /** Capture a reference image of the region for one of the monitor's states. */
26066
26413
  captureReference: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
26067
26414
  deviceId: /* @__PURE__ */ zod.z.number(),
26068
26415
  monitorId: /* @__PURE__ */ zod.z.string(),
@@ -26076,6 +26423,7 @@ var sceneMonitorCapability = {
26076
26423
  kind: "mutation",
26077
26424
  auth: "admin"
26078
26425
  }),
26426
+ /** Delete one reference image of a state. */
26079
26427
  deleteReference: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
26080
26428
  deviceId: /* @__PURE__ */ zod.z.number(),
26081
26429
  monitorId: /* @__PURE__ */ zod.z.string(),
@@ -26085,6 +26433,7 @@ var sceneMonitorCapability = {
26085
26433
  kind: "mutation",
26086
26434
  auth: "admin"
26087
26435
  }),
26436
+ /** Re-evaluate a scene monitor immediately. */
26088
26437
  recheckNow: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
26089
26438
  deviceId: /* @__PURE__ */ zod.z.number(),
26090
26439
  monitorId: /* @__PURE__ */ zod.z.string()
@@ -26175,8 +26524,11 @@ var schedulersCapability = {
26175
26524
  scope: "system",
26176
26525
  mode: "singleton",
26177
26526
  methods: {
26527
+ /** List the schedulers. */
26178
26528
  list: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(require_core_blocks_cap.SchedulerSchema), { auth: "admin" }),
26529
+ /** Fetch one scheduler by id; null when absent. */
26179
26530
  get: /* @__PURE__ */ require_capability_definition.method(SchedulerIdInput, /* @__PURE__ */ zod.z.object({ scheduler: /* @__PURE__ */ require_core_blocks_cap.SchedulerSchema.nullable() }), { auth: "admin" }),
26531
+ /** Create or replace a scheduler. */
26180
26532
  create: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ scheduler: require_core_blocks_cap.SchedulerInputSchema }), /* @__PURE__ */ zod.z.object({ scheduler: require_core_blocks_cap.SchedulerSchema }), {
26181
26533
  kind: "mutation",
26182
26534
  auth: "admin"
@@ -26189,6 +26541,7 @@ var schedulersCapability = {
26189
26541
  kind: "mutation",
26190
26542
  auth: "admin"
26191
26543
  }),
26544
+ /** Delete a scheduler. */
26192
26545
  delete: /* @__PURE__ */ require_capability_definition.method(SchedulerIdInput, /* @__PURE__ */ zod.z.void(), {
26193
26546
  kind: "mutation",
26194
26547
  auth: "admin"
@@ -26224,6 +26577,7 @@ var schedulersCapability = {
26224
26577
  }), /* @__PURE__ */ zod.z.object({ conflicts: /* @__PURE__ */ zod.z.array(require_core_blocks_cap.SchedulerConflictSchema) }), { auth: "admin" }),
26225
26578
  /** Where each scheduler's current hold stands. */
26226
26579
  getStatus: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(require_core_blocks_cap.SchedulerStatusSchema), { auth: "admin" }),
26580
+ /** The recent run traces of a scheduler. */
26227
26581
  getTraces: /* @__PURE__ */ require_capability_definition.method(SchedulerIdInput, /* @__PURE__ */ zod.z.object({ traces: /* @__PURE__ */ zod.z.array(require_core_blocks_cap.AutomationRunTraceSchema) }), { auth: "admin" })
26228
26582
  },
26229
26583
  vocabulary: { notOperatorFacing: "time schedulers — authored on their own page, not device actions" }
@@ -26260,6 +26614,7 @@ var scriptRunnerCapability = {
26260
26614
  mode: "singleton",
26261
26615
  deviceTypes: [require_device_type.DeviceType.Script],
26262
26616
  methods: {
26617
+ /** Run the script, optionally with variables. */
26263
26618
  run: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
26264
26619
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
26265
26620
  /** Optional variables map — passed through to the upstream
@@ -26803,11 +27158,14 @@ var serverManagementCapability = {
26803
27158
  scope: "system",
26804
27159
  mode: "singleton",
26805
27160
  methods: {
27161
+ /** The node's running and installed server version and its update state. */
26806
27162
  getServerPackageStatus: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), ServerPackageStatusSchema, { auth: "admin" }),
27163
+ /** Check the registry for a newer server version for this node. */
26807
27164
  checkServerUpdate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), ServerUpdateCheckResultSchema, {
26808
27165
  kind: "mutation",
26809
27166
  auth: "admin"
26810
27167
  }),
27168
+ /** Install a server version (latest when none is given) on this node and restart it. */
26811
27169
  applyServerUpdate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
26812
27170
  /** Explicit target version; omitted = latest from the registry. */
26813
27171
  version: /* @__PURE__ */ zod.z.string().optional(),
@@ -26835,6 +27193,7 @@ var serverManagementCapability = {
26835
27193
  kind: "mutation",
26836
27194
  auth: "admin"
26837
27195
  }),
27196
+ /** Return this node to its previously installed server version. */
26838
27197
  rollbackServerUpdate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), ServerUpdateActionResultSchema, {
26839
27198
  kind: "mutation",
26840
27199
  auth: "admin"
@@ -27206,11 +27565,13 @@ var smtpProviderCapability = {
27206
27565
  internal: true,
27207
27566
  providerKind: "email",
27208
27567
  methods: {
27568
+ /** Send an email through this relay. */
27209
27569
  sendEmail: /* @__PURE__ */ require_capability_definition.method(SendEmailInputSchema, SendEmailResultSchema, {
27210
27570
  kind: "mutation",
27211
27571
  auth: "admin",
27212
27572
  access: "create"
27213
27573
  }),
27574
+ /** The status of one SMTP relay. */
27214
27575
  getStatus: /* @__PURE__ */ require_capability_definition.method(RelayPinSchema, SmtpStatusSchema, { auth: "admin" })
27215
27576
  },
27216
27577
  vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.INTERNAL }
@@ -27375,7 +27736,9 @@ var streamParamsCapability = {
27375
27736
  tab: "streaming"
27376
27737
  } },
27377
27738
  methods: {
27739
+ /** The camera's stream profiles and their encoding options. */
27378
27740
  getOptions: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), StreamParamsOptionsSchema),
27741
+ /** Change the encoding settings of one stream profile. */
27379
27742
  setProfile: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
27380
27743
  deviceId: /* @__PURE__ */ zod.z.number(),
27381
27744
  profile: StreamProfileSchema,
@@ -27606,6 +27969,7 @@ var switchCapability = {
27606
27969
  require_device_type.DeviceType.Fan
27607
27970
  ],
27608
27971
  methods: {
27972
+ /** Turn the switch on or off. */
27609
27973
  setState: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
27610
27974
  deviceId: /* @__PURE__ */ zod.z.number(),
27611
27975
  on: /* @__PURE__ */ zod.z.boolean()
@@ -27636,12 +28000,15 @@ var switchCapability = {
27636
28000
  offeredWhen: SWITCH_SETTABLE_GATE
27637
28001
  }]
27638
28002
  }),
28003
+ /** The options the switch supports. */
27639
28004
  getOptions: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), SwitchOptionsSchema, { auth: "protected" }),
28005
+ /** Power-cycle the device the switch powers. */
27640
28006
  powerCycle: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), /* @__PURE__ */ zod.z.void(), {
27641
28007
  kind: "mutation",
27642
28008
  auth: "protected",
27643
28009
  notOperatorFacing: "a power cycle is the forced restart of the device the switch powers (power-source), never a step of its own"
27644
28010
  }),
28011
+ /** Flip the switch to the opposite state. */
27645
28012
  toggle: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number() }), /* @__PURE__ */ zod.z.void(), {
27646
28013
  kind: "mutation",
27647
28014
  auth: "protected",
@@ -28447,15 +28814,22 @@ var systemCapability = {
28447
28814
  scope: "system",
28448
28815
  mode: "singleton",
28449
28816
  methods: {
28817
+ /** Basic information about the system (version, platform, uptime). */
28450
28818
  info: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), SystemInfoSchema),
28819
+ /** The overall health status of the system. */
28451
28820
  health: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), HealthStatusSchema),
28821
+ /** Which features are enabled in this installation. */
28452
28822
  featureFlags: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), FeatureManifestSchema),
28823
+ /** The network addresses of this hub's interfaces. */
28453
28824
  networkAddresses: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(NetworkAddressSchema).readonly()),
28825
+ /** The analytics data retention settings. */
28454
28826
  getRetentionConfig: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.unknown().nullable(), { auth: "admin" }),
28827
+ /** Change the analytics data retention settings. */
28455
28828
  setRetentionConfig: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PURE__ */ zod.z.unknown()), /* @__PURE__ */ zod.z.null(), {
28456
28829
  kind: "mutation",
28457
28830
  auth: "admin"
28458
28831
  }),
28832
+ /** Run the retention cleanup now instead of waiting for the schedule. */
28459
28833
  forceRetentionCleanup: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.void(), {
28460
28834
  kind: "mutation",
28461
28835
  auth: "admin"
@@ -29575,8 +29949,11 @@ var templateCapability = {
29575
29949
  scope: "system",
29576
29950
  mode: "collection",
29577
29951
  methods: {
29952
+ /** List the stored templates, optionally of one kind. */
29578
29953
  list: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ kind: /* @__PURE__ */ TemplateKindSchema.optional() }), /* @__PURE__ */ zod.z.array(TemplateRecordSchema), { auth: "protected" }),
29954
+ /** Fetch one template by id; null when absent. */
29579
29955
  get: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ id: /* @__PURE__ */ zod.z.string().min(1) }), /* @__PURE__ */ TemplateRecordSchema.nullable(), { auth: "protected" }),
29956
+ /** Create a template of a given kind with a name and payload. */
29580
29957
  create: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
29581
29958
  kind: TemplateKindSchema,
29582
29959
  name: /* @__PURE__ */ zod.z.string().min(1).max(120),
@@ -29586,6 +29963,7 @@ var templateCapability = {
29586
29963
  kind: "mutation",
29587
29964
  auth: "admin"
29588
29965
  }),
29966
+ /** Change a template's name, payload or tags. */
29589
29967
  update: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
29590
29968
  id: /* @__PURE__ */ zod.z.string().min(1),
29591
29969
  name: /* @__PURE__ */ zod.z.string().min(1).max(120).optional(),
@@ -29595,6 +29973,7 @@ var templateCapability = {
29595
29973
  kind: "mutation",
29596
29974
  auth: "admin"
29597
29975
  }),
29976
+ /** Delete a template. */
29598
29977
  delete: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ id: /* @__PURE__ */ zod.z.string().min(1) }), TemplateDeleteResultSchema, {
29599
29978
  kind: "mutation",
29600
29979
  auth: "admin"
@@ -29796,7 +30175,9 @@ var toastCapability = {
29796
30175
  name: "toast",
29797
30176
  scope: "system",
29798
30177
  mode: "singleton",
29799
- methods: { onToast: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), ToastSchema, { kind: "subscription" }) },
30178
+ methods: {
30179
+ /** Stream toast notifications from the hub to the admin UI. */
30180
+ onToast: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), ToastSchema, { kind: "subscription" }) },
29800
30181
  /** BIG PLAN 2: declarative mount hint — read by `@camstack/server/system` `buildCapRouters`. */
29801
30182
  mount: { kind: "server-provided" },
29802
30183
  vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.UI_PLUMBING }
@@ -30016,6 +30397,7 @@ var trainingProviderCapability = {
30016
30397
  auth: "admin",
30017
30398
  timeoutMs: 30 * 6e4
30018
30399
  }),
30400
+ /** The status of a training job on the cloud provider. */
30019
30401
  getJob: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object(JobRef), ProviderJobStatusSchema, {
30020
30402
  auth: "admin",
30021
30403
  timeoutMs: 6e4
@@ -30319,6 +30701,7 @@ var trainingCapability = {
30319
30701
  mode: "singleton",
30320
30702
  mount: { kind: "hub-only" },
30321
30703
  methods: {
30704
+ /** List the base models a training job can start from. */
30322
30705
  listBaseModels: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(TrainingBaseModelSchema).readonly(), { auth: "admin" }),
30323
30706
  /** Split, estimate, defaults and any named refusal — nothing is started. */
30324
30707
  planJob: /* @__PURE__ */ require_capability_definition.method(TrainingJobRequestSchema, TrainingJobPlanSchema, {
@@ -30373,8 +30756,11 @@ var trainingCapability = {
30373
30756
  auth: "admin",
30374
30757
  timeoutMs: 12e4
30375
30758
  }),
30759
+ /** List the training jobs. */
30376
30760
  listJobs: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.array(TrainingJobSchema).readonly(), { auth: "admin" }),
30761
+ /** Fetch one training job; null when unknown. */
30377
30762
  getJob: /* @__PURE__ */ require_capability_definition.method(IdInput, /* @__PURE__ */ TrainingJobSchema.nullable(), { auth: "admin" }),
30763
+ /** Cancel a training job. */
30378
30764
  cancelJob: /* @__PURE__ */ require_capability_definition.method(IdInput, TrainingJobSchema, {
30379
30765
  kind: "mutation",
30380
30766
  auth: "admin",
@@ -30477,7 +30863,9 @@ var updateCapability = {
30477
30863
  deviceNative: true,
30478
30864
  mode: "singleton",
30479
30865
  deviceTypes: [require_device_type.DeviceType.Update],
30480
- methods: { installUpdate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.void(), {
30866
+ methods: {
30867
+ /** Install the available update. */
30868
+ installUpdate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.void(), {
30481
30869
  kind: "mutation",
30482
30870
  auth: "admin",
30483
30871
  actions: [{
@@ -30591,6 +30979,7 @@ var userPasskeysCapability = {
30591
30979
  mode: "collection",
30592
30980
  internal: true,
30593
30981
  methods: {
30982
+ /** Start enrolling a passkey for a user and return the WebAuthn creation options for the browser. */
30594
30983
  beginRegistration: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
30595
30984
  userId: /* @__PURE__ */ zod.z.string(),
30596
30985
  username: /* @__PURE__ */ zod.z.string()
@@ -30599,6 +30988,7 @@ var userPasskeysCapability = {
30599
30988
  auth: "admin",
30600
30989
  access: "create"
30601
30990
  }),
30991
+ /** Verify the browser's registration response and store the new passkey under a label. */
30602
30992
  finishRegistration: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
30603
30993
  userId: /* @__PURE__ */ zod.z.string(),
30604
30994
  /** RegistrationResponseJSON from the browser. */
@@ -30636,6 +31026,7 @@ var userPasskeysCapability = {
30636
31026
  access: "view",
30637
31027
  auth: "admin"
30638
31028
  }),
31029
+ /** Verify a passkey sign-in assertion for a known user. */
30639
31030
  finishAuthentication: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
30640
31031
  /** Required — the user the assertion belongs to (verified). */
30641
31032
  userId: /* @__PURE__ */ zod.z.string(),
@@ -30646,11 +31037,13 @@ var userPasskeysCapability = {
30646
31037
  access: "view",
30647
31038
  auth: "admin"
30648
31039
  }),
31040
+ /** Start a passkey sign-in without naming the user and return the WebAuthn request options. */
30649
31041
  beginDiscoverableAuthentication: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.object({ optionsJSON: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PURE__ */ zod.z.unknown()) }), {
30650
31042
  kind: "mutation",
30651
31043
  access: "view",
30652
31044
  auth: "admin"
30653
31045
  }),
31046
+ /** Verify a discoverable passkey assertion and identify the user who owns the credential. */
30654
31047
  finishDiscoverableAuthentication: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
30655
31048
  /** AuthenticationResponseJSON from the browser. */
30656
31049
  response: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PURE__ */ zod.z.unknown()) }), /* @__PURE__ */ zod.z.object({
@@ -30661,7 +31054,9 @@ response: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PUR
30661
31054
  access: "view",
30662
31055
  auth: "admin"
30663
31056
  }),
31057
+ /** List the passkeys enrolled by a user. */
30664
31058
  listPasskeys: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ userId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.array(PasskeySummarySchema), { auth: "admin" }),
31059
+ /** Remove one enrolled passkey from a user. */
30665
31060
  removePasskey: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
30666
31061
  userId: /* @__PURE__ */ zod.z.string(),
30667
31062
  credentialId: /* @__PURE__ */ zod.z.string()
@@ -30670,7 +31065,9 @@ response: /* @__PURE__ */ zod.z.record(/* @__PURE__ */ zod.z.string(), /* @__PUR
30670
31065
  auth: "admin",
30671
31066
  access: "delete"
30672
31067
  }),
31068
+ /** Whether a user requires a second factor at sign-in. */
30673
31069
  getSecondFactorPreference: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ userId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ zod.z.object({ enabled: /* @__PURE__ */ zod.z.boolean() }), { auth: "admin" }),
31070
+ /** Turn the second-factor requirement on or off for a user. */
30674
31071
  setSecondFactorPreference: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
30675
31072
  userId: /* @__PURE__ */ zod.z.string(),
30676
31073
  enabled: /* @__PURE__ */ zod.z.boolean()
@@ -30740,6 +31137,7 @@ var vacuumControlCapability = {
30740
31137
  mode: "singleton",
30741
31138
  deviceTypes: [require_device_type.DeviceType.Vacuum],
30742
31139
  methods: {
31140
+ /** Start a cleaning run. */
30743
31141
  start: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
30744
31142
  kind: "mutation",
30745
31143
  auth: "protected",
@@ -30750,6 +31148,7 @@ var vacuumControlCapability = {
30750
31148
  icon: "play"
30751
31149
  }]
30752
31150
  }),
31151
+ /** Pause the cleaning run. */
30753
31152
  pause: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
30754
31153
  kind: "mutation",
30755
31154
  auth: "protected",
@@ -30760,6 +31159,7 @@ var vacuumControlCapability = {
30760
31159
  icon: "pause"
30761
31160
  }]
30762
31161
  }),
31162
+ /** Stop the cleaning run. */
30763
31163
  stop: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
30764
31164
  kind: "mutation",
30765
31165
  auth: "protected",
@@ -30770,6 +31170,7 @@ var vacuumControlCapability = {
30770
31170
  icon: "square"
30771
31171
  }]
30772
31172
  }),
31173
+ /** Send the vacuum back to its dock. */
30773
31174
  returnToBase: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
30774
31175
  kind: "mutation",
30775
31176
  auth: "protected",
@@ -30780,6 +31181,7 @@ var vacuumControlCapability = {
30780
31181
  icon: "house"
30781
31182
  }]
30782
31183
  }),
31184
+ /** Make the vacuum beep so it can be found. */
30783
31185
  locate: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
30784
31186
  kind: "mutation",
30785
31187
  auth: "protected",
@@ -30790,6 +31192,7 @@ var vacuumControlCapability = {
30790
31192
  icon: "map-pin"
30791
31193
  }]
30792
31194
  }),
31195
+ /** Set the suction (fan speed) level. */
30793
31196
  setFanSpeed: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
30794
31197
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
30795
31198
  speed: /* @__PURE__ */ zod.z.string().min(1)
@@ -30932,6 +31335,7 @@ var valveCapability = {
30932
31335
  mode: "singleton",
30933
31336
  deviceTypes: [require_device_type.DeviceType.Valve],
30934
31337
  methods: {
31338
+ /** Open the valve. */
30935
31339
  open: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
30936
31340
  kind: "mutation",
30937
31341
  auth: "protected",
@@ -30946,6 +31350,7 @@ var valveCapability = {
30946
31350
  }
30947
31351
  }]
30948
31352
  }),
31353
+ /** Close the valve. */
30949
31354
  close: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
30950
31355
  kind: "mutation",
30951
31356
  auth: "protected",
@@ -30960,6 +31365,7 @@ var valveCapability = {
30960
31365
  }
30961
31366
  }]
30962
31367
  }),
31368
+ /** Stop the valve where it is. */
30963
31369
  stop: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative() }), /* @__PURE__ */ zod.z.void(), {
30964
31370
  kind: "mutation",
30965
31371
  auth: "protected",
@@ -30970,6 +31376,7 @@ var valveCapability = {
30970
31376
  icon: "square"
30971
31377
  }]
30972
31378
  }),
31379
+ /** Set the valve opening from 0 to 100. */
30973
31380
  setPosition: /* @__PURE__ */ require_capability_definition.optionalMethod(/* @__PURE__ */ zod.z.object({
30974
31381
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
30975
31382
  position: /* @__PURE__ */ zod.z.number().min(0).max(100)
@@ -31151,6 +31558,7 @@ var viewerUiCapability = {
31151
31558
  * user from loading the app.
31152
31559
  */
31153
31560
  getStaticDir: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), StaticDirOutputSchema, { auth: "admin" }),
31561
+ /** The version of the viewer web build served by the hub. */
31154
31562
  getVersion: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), VersionOutputSchema, { auth: "admin" })
31155
31563
  },
31156
31564
  vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.UI_PLUMBING }
@@ -31211,6 +31619,7 @@ var waterHeaterCapability = {
31211
31619
  lastField: "lastActiveMode"
31212
31620
  },
31213
31621
  methods: {
31622
+ /** Set the water heater operation mode. */
31214
31623
  setOperationMode: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
31215
31624
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
31216
31625
  mode: /* @__PURE__ */ zod.z.string().min(1)
@@ -31247,6 +31656,7 @@ var waterHeaterCapability = {
31247
31656
  }]
31248
31657
  }]
31249
31658
  }),
31659
+ /** Turn away mode on or off. */
31250
31660
  setAway: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
31251
31661
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
31252
31662
  on: /* @__PURE__ */ zod.z.boolean()
@@ -31275,6 +31685,7 @@ var waterHeaterCapability = {
31275
31685
  args: { on: false }
31276
31686
  }]
31277
31687
  }),
31688
+ /** Set the target water temperature. */
31278
31689
  setTargetTemp: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
31279
31690
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
31280
31691
  temp: /* @__PURE__ */ zod.z.number().finite()
@@ -32203,6 +32614,7 @@ var webrtcSessionCapability = {
32203
32614
  kind: "mutation",
32204
32615
  notOperatorFacing: "live-stream session plumbing driven by a viewer, never a discrete step"
32205
32616
  }),
32617
+ /** Pass the viewer's SDP answer to an open WebRTC session. */
32206
32618
  handleAnswer: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
32207
32619
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
32208
32620
  sessionId: /* @__PURE__ */ zod.z.string(),
@@ -32246,6 +32658,7 @@ var webrtcSessionCapability = {
32246
32658
  })),
32247
32659
  done: /* @__PURE__ */ zod.z.boolean()
32248
32660
  }), { kind: "query" }),
32661
+ /** Close a WebRTC session. */
32249
32662
  closeSession: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({
32250
32663
  deviceId: /* @__PURE__ */ zod.z.number().int().nonnegative(),
32251
32664
  sessionId: /* @__PURE__ */ zod.z.string()
@@ -32495,6 +32908,7 @@ var workloadCapability = {
32495
32908
  off: "stop"
32496
32909
  },
32497
32910
  methods: {
32911
+ /** Start the workload (VM, container or app). */
32498
32912
  start: /* @__PURE__ */ require_capability_definition.optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ zod.z.void(), {
32499
32913
  kind: "mutation",
32500
32914
  auth: "protected",
@@ -32509,6 +32923,7 @@ var workloadCapability = {
32509
32923
  }
32510
32924
  }]
32511
32925
  }),
32926
+ /** Stop the workload gracefully. */
32512
32927
  stop: /* @__PURE__ */ require_capability_definition.optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ zod.z.void(), {
32513
32928
  kind: "mutation",
32514
32929
  auth: "protected",
@@ -32523,6 +32938,7 @@ var workloadCapability = {
32523
32938
  }
32524
32939
  }]
32525
32940
  }),
32941
+ /** Restart the workload. */
32526
32942
  restart: /* @__PURE__ */ require_capability_definition.optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ zod.z.void(), {
32527
32943
  kind: "mutation",
32528
32944
  auth: "protected",
@@ -32533,6 +32949,7 @@ var workloadCapability = {
32533
32949
  icon: "rotate-ccw"
32534
32950
  }]
32535
32951
  }),
32952
+ /** Pause the workload. */
32536
32953
  pause: /* @__PURE__ */ require_capability_definition.optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ zod.z.void(), {
32537
32954
  kind: "mutation",
32538
32955
  auth: "protected",
@@ -32547,6 +32964,7 @@ var workloadCapability = {
32547
32964
  }
32548
32965
  }]
32549
32966
  }),
32967
+ /** Resume a paused workload. */
32550
32968
  resume: /* @__PURE__ */ require_capability_definition.optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ zod.z.void(), {
32551
32969
  kind: "mutation",
32552
32970
  auth: "protected",
@@ -32561,6 +32979,7 @@ var workloadCapability = {
32561
32979
  }
32562
32980
  }]
32563
32981
  }),
32982
+ /** Stop the workload immediately without a graceful shutdown. */
32564
32983
  forceStop: /* @__PURE__ */ require_capability_definition.optionalMethod(WorkloadDeviceInputSchema, /* @__PURE__ */ zod.z.void(), {
32565
32984
  kind: "mutation",
32566
32985
  auth: "admin",