@camstack/types 1.2.560 → 1.2.562

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 (263) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/addon/instances-of-cap.d.ts +7 -2
  3. package/dist/addon.js +2 -2
  4. package/dist/addon.mjs +2 -2
  5. package/dist/automation/codegen.d.ts +6 -0
  6. package/dist/automation/recipe-literal.d.ts +35 -0
  7. package/dist/automation/recipe.d.ts +166 -120
  8. package/dist/automation/template-link.d.ts +206 -0
  9. package/dist/capabilities/accessories.cap.d.ts +6 -0
  10. package/dist/capabilities/action-source.cap.d.ts +3 -0
  11. package/dist/capabilities/actions.cap.d.ts +3 -0
  12. package/dist/capabilities/addon-pages-source.cap.d.ts +3 -0
  13. package/dist/capabilities/addon-pages.cap.d.ts +3 -0
  14. package/dist/capabilities/addon-routes.cap.d.ts +3 -0
  15. package/dist/capabilities/addon-settings.cap.d.ts +3 -0
  16. package/dist/capabilities/addon-widgets-source.cap.d.ts +3 -0
  17. package/dist/capabilities/addon-widgets.cap.d.ts +3 -0
  18. package/dist/capabilities/addons.cap.d.ts +3 -0
  19. package/dist/capabilities/admin-ui.cap.d.ts +3 -0
  20. package/dist/capabilities/air-quality-sensor.cap.d.ts +39 -0
  21. package/dist/capabilities/alarm-panel.cap.d.ts +60 -14
  22. package/dist/capabilities/alerts.cap.d.ts +3 -0
  23. package/dist/capabilities/ambient-light-sensor.cap.d.ts +12 -0
  24. package/dist/capabilities/audio-analysis.cap.d.ts +4 -0
  25. package/dist/capabilities/audio-analyzer.cap.d.ts +3 -0
  26. package/dist/capabilities/audio-codec.cap.d.ts +3 -0
  27. package/dist/capabilities/audio-metrics.cap.d.ts +4 -0
  28. package/dist/capabilities/auth-provider.cap.d.ts +3 -0
  29. package/dist/capabilities/automation-control.cap.d.ts +19 -0
  30. package/dist/capabilities/backup.cap.d.ts +3 -0
  31. package/dist/capabilities/battery.cap.d.ts +53 -0
  32. package/dist/capabilities/binary.cap.d.ts +136 -0
  33. package/dist/capabilities/board-key-source.cap.d.ts +3 -0
  34. package/dist/capabilities/brightness.cap.d.ts +13 -0
  35. package/dist/capabilities/broker.cap.d.ts +3 -0
  36. package/dist/capabilities/button.cap.d.ts +4 -0
  37. package/dist/capabilities/calendar-source.cap.d.ts +3 -0
  38. package/dist/capabilities/calendars.cap.d.ts +3 -0
  39. package/dist/capabilities/camera-credentials.cap.d.ts +4 -0
  40. package/dist/capabilities/camera-grid-layout.cap.d.ts +4 -0
  41. package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -0
  42. package/dist/capabilities/camera-streams.cap.d.ts +4 -0
  43. package/dist/capabilities/capability-definition.d.ts +37 -8
  44. package/dist/capabilities/carbon-monoxide.cap.d.ts +12 -0
  45. package/dist/capabilities/climate-control.cap.d.ts +68 -12
  46. package/dist/capabilities/cluster-update.cap.d.ts +3 -0
  47. package/dist/capabilities/color.cap.d.ts +21 -0
  48. package/dist/capabilities/composer.cap.d.ts +3 -0
  49. package/dist/capabilities/connectivity.cap.d.ts +12 -0
  50. package/dist/capabilities/consumables.cap.d.ts +4 -0
  51. package/dist/capabilities/contact.cap.d.ts +12 -0
  52. package/dist/capabilities/control.cap.d.ts +15 -0
  53. package/dist/capabilities/core-blocks.cap.d.ts +3 -0
  54. package/dist/capabilities/cover.cap.d.ts +110 -0
  55. package/dist/capabilities/custom-model-registry.cap.d.ts +3 -0
  56. package/dist/capabilities/data-store-provider.cap.d.ts +3 -0
  57. package/dist/capabilities/database-snapshot.cap.d.ts +3 -0
  58. package/dist/capabilities/day-night.cap.d.ts +25 -0
  59. package/dist/capabilities/decoder.cap.d.ts +3 -0
  60. package/dist/capabilities/detection-pipeline.cap.d.ts +4 -0
  61. package/dist/capabilities/device-admin-link.cap.d.ts +4 -0
  62. package/dist/capabilities/device-adoption.cap.d.ts +3 -0
  63. package/dist/capabilities/device-credentials.cap.d.ts +3 -0
  64. package/dist/capabilities/device-export.cap.d.ts +3 -0
  65. package/dist/capabilities/device-extension.cap.d.ts +4 -0
  66. package/dist/capabilities/device-history.cap.d.ts +3 -0
  67. package/dist/capabilities/device-manager.cap.d.ts +3 -0
  68. package/dist/capabilities/device-ops.cap.d.ts +4 -0
  69. package/dist/capabilities/device-provider.cap.d.ts +3 -0
  70. package/dist/capabilities/device-removal-hook.cap.d.ts +3 -0
  71. package/dist/capabilities/device-runs.cap.d.ts +6 -0
  72. package/dist/capabilities/device-state.cap.d.ts +3 -0
  73. package/dist/capabilities/device-status.cap.d.ts +25 -0
  74. package/dist/capabilities/device-transitions.cap.d.ts +4 -0
  75. package/dist/capabilities/dishwasher.cap.d.ts +60 -0
  76. package/dist/capabilities/display-palette.cap.d.ts +3 -0
  77. package/dist/capabilities/do-not-disturb.cap.d.ts +12 -0
  78. package/dist/capabilities/doorbell.cap.d.ts +11 -0
  79. package/dist/capabilities/embedding-encoder.cap.d.ts +3 -0
  80. package/dist/capabilities/energy-system.cap.d.ts +281 -0
  81. package/dist/capabilities/enum-sensor.cap.d.ts +10 -0
  82. package/dist/capabilities/event-emitter.cap.d.ts +11 -0
  83. package/dist/capabilities/face-gallery.cap.d.ts +3 -0
  84. package/dist/capabilities/failure-contribution.cap.d.ts +3 -0
  85. package/dist/capabilities/fan-control.cap.d.ts +19 -0
  86. package/dist/capabilities/fan-presets.cap.d.ts +3 -0
  87. package/dist/capabilities/feature-probe.cap.d.ts +5 -0
  88. package/dist/capabilities/filesystem-browse.cap.d.ts +3 -0
  89. package/dist/capabilities/flood.cap.d.ts +12 -0
  90. package/dist/capabilities/gas.cap.d.ts +12 -0
  91. package/dist/capabilities/group-active.cap.d.ts +4 -0
  92. package/dist/capabilities/group-commands.cap.d.ts +4 -0
  93. package/dist/capabilities/group-status.cap.d.ts +23 -0
  94. package/dist/capabilities/heat-pump-control.cap.d.ts +4 -0
  95. package/dist/capabilities/heat-pump-status.cap.d.ts +4 -0
  96. package/dist/capabilities/heating-valve.cap.d.ts +12 -0
  97. package/dist/capabilities/hero-layout.cap.d.ts +3 -0
  98. package/dist/capabilities/humidifier.cap.d.ts +19 -0
  99. package/dist/capabilities/humidity-sensor.cap.d.ts +12 -0
  100. package/dist/capabilities/image-settings.cap.d.ts +4 -0
  101. package/dist/capabilities/image.cap.d.ts +4 -0
  102. package/dist/capabilities/index.d.ts +5 -3
  103. package/dist/capabilities/integration-instances.cap.d.ts +12 -0
  104. package/dist/capabilities/integrations.cap.d.ts +3 -0
  105. package/dist/capabilities/intercom.cap.d.ts +13 -0
  106. package/dist/capabilities/ir-transmitter.cap.d.ts +101 -0
  107. package/dist/capabilities/keychain-admin.cap.d.ts +3 -0
  108. package/dist/capabilities/keychain.cap.d.ts +3 -0
  109. package/dist/capabilities/lawn-mower-control.cap.d.ts +36 -0
  110. package/dist/capabilities/llm-runtime.cap.d.ts +3 -0
  111. package/dist/capabilities/llm.cap.d.ts +3 -0
  112. package/dist/capabilities/load-contribution.cap.d.ts +3 -0
  113. package/dist/capabilities/local-network.cap.d.ts +3 -0
  114. package/dist/capabilities/lock-control.cap.d.ts +35 -0
  115. package/dist/capabilities/log-channels.cap.d.ts +3 -0
  116. package/dist/capabilities/log-destination.cap.d.ts +3 -0
  117. package/dist/capabilities/login-method.cap.d.ts +3 -0
  118. package/dist/capabilities/media-player.cap.d.ts +66 -6
  119. package/dist/capabilities/mesh-network.cap.d.ts +3 -0
  120. package/dist/capabilities/meter.cap.d.ts +11 -0
  121. package/dist/capabilities/metrics-provider.cap.d.ts +3 -0
  122. package/dist/capabilities/migrations.cap.d.ts +3 -0
  123. package/dist/capabilities/model-convert.cap.d.ts +3 -0
  124. package/dist/capabilities/model-distributor.cap.d.ts +3 -0
  125. package/dist/capabilities/motion-detection.cap.d.ts +5 -0
  126. package/dist/capabilities/motion-trigger.cap.d.ts +13 -0
  127. package/dist/capabilities/motion-zones.cap.d.ts +4 -0
  128. package/dist/capabilities/motion.cap.d.ts +13 -0
  129. package/dist/capabilities/mqtt-broker.cap.d.ts +3 -0
  130. package/dist/capabilities/native-object-detection.cap.d.ts +19 -0
  131. package/dist/capabilities/navigation.cap.d.ts +36 -0
  132. package/dist/capabilities/network-access.cap.d.ts +3 -0
  133. package/dist/capabilities/network-link.cap.d.ts +31 -0
  134. package/dist/capabilities/network-quality.cap.d.ts +3 -0
  135. package/dist/capabilities/node-certificates.cap.d.ts +3 -0
  136. package/dist/capabilities/node-removal-hook.cap.d.ts +3 -0
  137. package/dist/capabilities/nodes.cap.d.ts +3 -0
  138. package/dist/capabilities/notification-output.cap.d.ts +3 -0
  139. package/dist/capabilities/notification-rules.cap.d.ts +3 -0
  140. package/dist/capabilities/notifier.cap.d.ts +5 -0
  141. package/dist/capabilities/numeric-sensor.cap.d.ts +11 -0
  142. package/dist/capabilities/oauth-integration.cap.d.ts +3 -0
  143. package/dist/capabilities/osd-manager.cap.d.ts +3 -0
  144. package/dist/capabilities/osd.cap.d.ts +5 -0
  145. package/dist/capabilities/pet-feeder.cap.d.ts +35 -9
  146. package/dist/capabilities/pet-fountain.cap.d.ts +19 -0
  147. package/dist/capabilities/pipeline-analytics.cap.d.ts +35 -0
  148. package/dist/capabilities/pipeline-executor.cap.d.ts +3 -0
  149. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +3 -0
  150. package/dist/capabilities/pipeline-runner.cap.d.ts +3 -0
  151. package/dist/capabilities/plate-gallery.cap.d.ts +3 -0
  152. package/dist/capabilities/platform-probe.cap.d.ts +3 -0
  153. package/dist/capabilities/power-meter.cap.d.ts +33 -0
  154. package/dist/capabilities/power-source.cap.d.ts +12 -0
  155. package/dist/capabilities/presence.cap.d.ts +11 -0
  156. package/dist/capabilities/pressure-sensor.cap.d.ts +12 -0
  157. package/dist/capabilities/privacy-mask.cap.d.ts +19 -0
  158. package/dist/capabilities/ptz-autotrack.cap.d.ts +13 -0
  159. package/dist/capabilities/ptz.cap.d.ts +11 -7
  160. package/dist/capabilities/pump-cycle.cap.d.ts +12 -0
  161. package/dist/capabilities/reboot.cap.d.ts +4 -0
  162. package/dist/capabilities/record-entries.cap.d.ts +3 -0
  163. package/dist/capabilities/recording-archive.cap.d.ts +3 -0
  164. package/dist/capabilities/recording-export.cap.d.ts +3 -0
  165. package/dist/capabilities/recording-onboard.cap.d.ts +12 -0
  166. package/dist/capabilities/recording-signal.cap.d.ts +12 -0
  167. package/dist/capabilities/recording.cap.d.ts +4 -0
  168. package/dist/capabilities/records.cap.d.ts +3 -0
  169. package/dist/capabilities/remote-layout-components.cap.d.ts +3 -0
  170. package/dist/capabilities/remote.cap.d.ts +3 -0
  171. package/dist/capabilities/running-state.cap.d.ts +77 -0
  172. package/dist/capabilities/scene-monitor.cap.d.ts +11 -0
  173. package/dist/capabilities/schedulers.cap.d.ts +3 -0
  174. package/dist/capabilities/script-runner.cap.d.ts +12 -0
  175. package/dist/capabilities/server-management.cap.d.ts +3 -0
  176. package/dist/capabilities/settings-store.cap.d.ts +3 -0
  177. package/dist/capabilities/smoke.cap.d.ts +12 -0
  178. package/dist/capabilities/smtp-provider.cap.d.ts +3 -0
  179. package/dist/capabilities/snapshot.cap.d.ts +4 -0
  180. package/dist/capabilities/sso-bridge.cap.d.ts +3 -0
  181. package/dist/capabilities/storage-admin.cap.d.ts +3 -0
  182. package/dist/capabilities/storage-evictable.cap.d.ts +3 -0
  183. package/dist/capabilities/storage-migration.cap.d.ts +3 -0
  184. package/dist/capabilities/storage-occupancy.cap.d.ts +3 -0
  185. package/dist/capabilities/storage-provider.cap.d.ts +3 -0
  186. package/dist/capabilities/storage.cap.d.ts +3 -0
  187. package/dist/capabilities/stream-broker.cap.d.ts +3 -0
  188. package/dist/capabilities/stream-catalog.cap.d.ts +4 -0
  189. package/dist/capabilities/stream-params.cap.d.ts +4 -0
  190. package/dist/capabilities/stream-signals.cap.d.ts +4 -0
  191. package/dist/capabilities/switch.cap.d.ts +208 -0
  192. package/dist/capabilities/system.cap.d.ts +3 -0
  193. package/dist/capabilities/tamper.cap.d.ts +12 -0
  194. package/dist/capabilities/temperature-sensor.cap.d.ts +12 -0
  195. package/dist/capabilities/template.cap.d.ts +42 -2
  196. package/dist/capabilities/terminal-session.cap.d.ts +3 -0
  197. package/dist/capabilities/timed-run.cap.d.ts +4 -0
  198. package/dist/capabilities/toast.cap.d.ts +3 -0
  199. package/dist/capabilities/training-provider.cap.d.ts +3 -0
  200. package/dist/capabilities/training.cap.d.ts +3 -0
  201. package/dist/capabilities/turn-provider.cap.d.ts +3 -0
  202. package/dist/capabilities/update.cap.d.ts +19 -0
  203. package/dist/capabilities/user-management.cap.d.ts +3 -0
  204. package/dist/capabilities/user-passkeys.cap.d.ts +3 -0
  205. package/dist/capabilities/vacuum-control.cap.d.ts +43 -0
  206. package/dist/capabilities/valve.cap.d.ts +38 -0
  207. package/dist/capabilities/vector-store.cap.d.ts +3 -0
  208. package/dist/capabilities/vibration.cap.d.ts +12 -0
  209. package/dist/capabilities/videoclips.cap.d.ts +4 -0
  210. package/dist/capabilities/viewer-ui.cap.d.ts +3 -0
  211. package/dist/capabilities/water-heater.cap.d.ts +33 -4
  212. package/dist/capabilities/weather.cap.d.ts +39 -0
  213. package/dist/capabilities/webrtc-session.cap.d.ts +4 -0
  214. package/dist/capabilities/zone-analytics.cap.d.ts +11 -0
  215. package/dist/capabilities/zone-rules.cap.d.ts +4 -0
  216. package/dist/capabilities/zones.cap.d.ts +4 -0
  217. package/dist/client.js +186 -29
  218. package/dist/client.mjs +186 -29
  219. package/dist/{composed-stable-id-iddnCQ51.mjs → composed-stable-id-B3wcvtvW.mjs} +4 -0
  220. package/dist/{composed-stable-id-BmJ_5GiE.js → composed-stable-id-Bp33yrYi.js} +4 -0
  221. package/dist/device/cap-vocabulary/declaration.d.ts +107 -0
  222. package/dist/device/cap-vocabulary/index.d.ts +4 -2
  223. package/dist/device/cap-vocabulary/system-reasons.d.ts +17 -0
  224. package/dist/device/cap-vocabulary/types.d.ts +24 -6
  225. package/dist/device/cap-vocabulary/vocabulary.d.ts +15 -3
  226. package/dist/device/device-control-resolution.d.ts +1 -1
  227. package/dist/device/device-icon.d.ts +1 -0
  228. package/dist/device/device-type.d.ts +5 -1
  229. package/dist/device/hero/hero-layout.d.ts +1 -0
  230. package/dist/device/hero/hero-look.d.ts +6 -0
  231. package/dist/device/hero/hero-scene.d.ts +1 -0
  232. package/dist/generated/addon-api.d.ts +66 -52
  233. package/dist/generated/addon-cap-facts.d.ts +1 -1
  234. package/dist/generated/cap-status-types.d.ts +3 -1
  235. package/dist/generated/cap-vocabulary.d.ts +7 -0
  236. package/dist/generated/capability-router-map.d.ts +5 -2
  237. package/dist/generated/customize-catalog.d.ts +1 -1
  238. package/dist/generated/device-local-state.d.ts +6 -0
  239. package/dist/generated/device-proxy.d.ts +4 -0
  240. package/dist/generated/device-scoped-caps.d.ts +1 -1
  241. package/dist/generated/history-catalog.d.ts +1 -1
  242. package/dist/generated/method-access-map.d.ts +1 -1
  243. package/dist/generated/method-device-selectors.d.ts +1 -1
  244. package/dist/generated/runtime-state-durability.d.ts +1 -1
  245. package/dist/{implemented-methods-CfaRR_ki.js → implemented-methods-CDYOCn9a.js} +1 -1
  246. package/dist/{implemented-methods-CSTk6zYK.mjs → implemented-methods-CgUBu6uM.mjs} +1 -1
  247. package/dist/index.d.ts +6 -2
  248. package/dist/index.js +6739 -765
  249. package/dist/index.mjs +6685 -766
  250. package/dist/node.js +2 -2
  251. package/dist/node.mjs +2 -2
  252. package/dist/{sleep-CyWfD1LJ.js → sleep-Cb2px0Nb.js} +5706 -1620
  253. package/dist/{sleep-BvVGLl30.mjs → sleep-Cykc2bzi.mjs} +5701 -1621
  254. package/dist/template/automation-template.d.ts +782 -0
  255. package/dist/template/builtin-automation-templates.d.ts +17 -0
  256. package/dist/template/template-kinds.d.ts +4 -3
  257. package/package.json +1 -1
  258. package/dist/device/cap-vocabulary/entries/actuators.d.ts +0 -5
  259. package/dist/device/cap-vocabulary/entries/appliances.d.ts +0 -5
  260. package/dist/device/cap-vocabulary/entries/camera.d.ts +0 -5
  261. package/dist/device/cap-vocabulary/entries/heat-pump.d.ts +0 -4
  262. package/dist/device/cap-vocabulary/entries/sensors.d.ts +0 -5
  263. package/dist/device/cap-vocabulary/entries/system.d.ts +0 -8
@@ -32,6 +32,7 @@ export declare const switchCapability: {
32
32
  on: z.ZodNullable<z.ZodBoolean>;
33
33
  lastChangedAt: z.ZodNumber;
34
34
  }, z.core.$strip>;
35
+ readonly notOperatorFacing: 'the `on` state trigger phrases both edges of this change';
35
36
  };
36
37
  };
37
38
  readonly status: {
@@ -82,5 +83,212 @@ export declare const switchCapability: {
82
83
  };
83
84
  }];
84
85
  };
86
+ readonly vocabulary: {
87
+ readonly noun: import("../index.js").VocabL10n;
88
+ readonly order: 1000;
89
+ readonly state: readonly [{
90
+ readonly kind: 'boolean';
91
+ readonly field: 'on';
92
+ readonly label: import("../index.js").VocabL10n;
93
+ readonly whenTrue: import("../index.js").VocabL10n;
94
+ readonly whenFalse: import("../index.js").VocabL10n;
95
+ readonly icon: 'power';
96
+ }];
97
+ readonly overrides: {
98
+ readonly byType: {
99
+ readonly siren: {
100
+ readonly actions: {
101
+ readonly 'switch.on': {
102
+ readonly label: import("../index.js").VocabL10n;
103
+ readonly phrase: import("../index.js").VocabL10n;
104
+ readonly icon: 'siren';
105
+ };
106
+ readonly 'switch.off': {
107
+ readonly label: import("../index.js").VocabL10n;
108
+ readonly phrase: import("../index.js").VocabL10n;
109
+ readonly icon: 'volume-x';
110
+ };
111
+ };
112
+ readonly state: {
113
+ readonly on: {
114
+ readonly label: import("../index.js").VocabL10n;
115
+ readonly whenTrue: import("../index.js").VocabL10n;
116
+ readonly whenFalse: import("../index.js").VocabL10n;
117
+ readonly icon: 'siren';
118
+ };
119
+ };
120
+ };
121
+ readonly light: {
122
+ readonly actions: {
123
+ readonly 'switch.on': {
124
+ readonly icon: 'lightbulb';
125
+ };
126
+ readonly 'switch.off': {
127
+ readonly icon: 'lightbulb-off';
128
+ };
129
+ };
130
+ readonly state: {
131
+ readonly on: {
132
+ readonly icon: 'lightbulb';
133
+ };
134
+ };
135
+ };
136
+ };
137
+ readonly byRole: {
138
+ readonly siren: {
139
+ readonly actions: {
140
+ readonly 'switch.on': {
141
+ readonly label: import("../index.js").VocabL10n;
142
+ readonly phrase: import("../index.js").VocabL10n;
143
+ readonly icon: 'siren';
144
+ };
145
+ readonly 'switch.off': {
146
+ readonly label: import("../index.js").VocabL10n;
147
+ readonly phrase: import("../index.js").VocabL10n;
148
+ readonly icon: 'volume-x';
149
+ };
150
+ };
151
+ readonly state: {
152
+ readonly on: {
153
+ readonly label: import("../index.js").VocabL10n;
154
+ readonly whenTrue: import("../index.js").VocabL10n;
155
+ readonly whenFalse: import("../index.js").VocabL10n;
156
+ readonly icon: 'siren';
157
+ };
158
+ };
159
+ };
160
+ readonly floodlight: {
161
+ readonly actions: {
162
+ readonly 'switch.on': {
163
+ readonly icon: 'lightbulb';
164
+ };
165
+ readonly 'switch.off': {
166
+ readonly icon: 'lightbulb-off';
167
+ };
168
+ };
169
+ readonly state: {
170
+ readonly on: {
171
+ readonly icon: 'lightbulb';
172
+ };
173
+ };
174
+ };
175
+ readonly spotlight: {
176
+ readonly actions: {
177
+ readonly 'switch.on': {
178
+ readonly icon: 'lightbulb';
179
+ };
180
+ readonly 'switch.off': {
181
+ readonly icon: 'lightbulb-off';
182
+ };
183
+ };
184
+ readonly state: {
185
+ readonly on: {
186
+ readonly icon: 'lightbulb';
187
+ };
188
+ };
189
+ };
190
+ readonly "switch-light": {
191
+ readonly actions: {
192
+ readonly 'switch.on': {
193
+ readonly icon: 'lightbulb';
194
+ };
195
+ readonly 'switch.off': {
196
+ readonly icon: 'lightbulb-off';
197
+ };
198
+ };
199
+ readonly state: {
200
+ readonly on: {
201
+ readonly icon: 'lightbulb';
202
+ };
203
+ };
204
+ };
205
+ readonly chime: {
206
+ readonly actions: {
207
+ readonly 'switch.on': {
208
+ readonly label: import("../index.js").VocabL10n;
209
+ readonly phrase: import("../index.js").VocabL10n;
210
+ readonly icon: 'bell';
211
+ };
212
+ readonly 'switch.off': {
213
+ readonly label: import("../index.js").VocabL10n;
214
+ readonly phrase: import("../index.js").VocabL10n;
215
+ readonly icon: 'bell-off';
216
+ };
217
+ };
218
+ };
219
+ readonly "pir-sensor": {
220
+ readonly actions: {
221
+ readonly 'switch.on': {
222
+ readonly label: import("../index.js").VocabL10n;
223
+ readonly phrase: import("../index.js").VocabL10n;
224
+ readonly icon: 'radar';
225
+ };
226
+ readonly 'switch.off': {
227
+ readonly label: import("../index.js").VocabL10n;
228
+ readonly phrase: import("../index.js").VocabL10n;
229
+ readonly icon: 'radar';
230
+ };
231
+ };
232
+ };
233
+ readonly nightvision: {
234
+ readonly actions: {
235
+ readonly 'switch.on': {
236
+ readonly label: import("../index.js").VocabL10n;
237
+ readonly phrase: import("../index.js").VocabL10n;
238
+ readonly icon: 'moon';
239
+ };
240
+ readonly 'switch.off': {
241
+ readonly label: import("../index.js").VocabL10n;
242
+ readonly phrase: import("../index.js").VocabL10n;
243
+ readonly icon: 'sun';
244
+ };
245
+ };
246
+ };
247
+ readonly "privacy-mask": {
248
+ readonly actions: {
249
+ readonly 'switch.on': {
250
+ readonly label: import("../index.js").VocabL10n;
251
+ readonly phrase: import("../index.js").VocabL10n;
252
+ readonly icon: 'eye-off';
253
+ };
254
+ readonly 'switch.off': {
255
+ readonly label: import("../index.js").VocabL10n;
256
+ readonly phrase: import("../index.js").VocabL10n;
257
+ readonly icon: 'eye';
258
+ };
259
+ };
260
+ };
261
+ readonly autotrack: {
262
+ readonly actions: {
263
+ readonly 'switch.on': {
264
+ readonly label: import("../index.js").VocabL10n;
265
+ readonly phrase: import("../index.js").VocabL10n;
266
+ readonly icon: 'crosshair';
267
+ };
268
+ readonly 'switch.off': {
269
+ readonly label: import("../index.js").VocabL10n;
270
+ readonly phrase: import("../index.js").VocabL10n;
271
+ readonly icon: 'crosshair';
272
+ };
273
+ };
274
+ };
275
+ readonly outlet: {
276
+ readonly actions: {
277
+ readonly 'switch.on': {
278
+ readonly icon: 'plug-zap';
279
+ };
280
+ readonly 'switch.off': {
281
+ readonly icon: 'plug';
282
+ };
283
+ };
284
+ readonly state: {
285
+ readonly on: {
286
+ readonly icon: 'plug-zap';
287
+ };
288
+ };
289
+ };
290
+ };
291
+ };
292
+ };
85
293
  };
86
294
  export type ISwitchProvider = InferProvider<typeof switchCapability>;
@@ -1112,6 +1112,9 @@ export declare const systemCapability: {
1112
1112
  readonly mount: {
1113
1113
  readonly kind: 'server-provided';
1114
1114
  };
1115
+ readonly vocabulary: {
1116
+ readonly notOperatorFacing: "cluster administration — nodes, server package, metrics";
1117
+ };
1115
1118
  };
1116
1119
  export type ISystemProvider = InferProvider<typeof systemCapability>;
1117
1120
  export type RequestCensusGroup = z.infer<typeof RequestCensusGroupSchema>;
@@ -48,5 +48,17 @@ export declare const tamperCapability: {
48
48
  /** Clock fields: written, but excluded from the compare that decides
49
49
  * whether persisting is worth a SQLite commit. */
50
50
  readonly volatileStateFields: readonly ["lastChangedAt"];
51
+ readonly vocabulary: {
52
+ readonly noun: import("../index.js").VocabL10n;
53
+ readonly order: 5200;
54
+ readonly state: readonly [{
55
+ readonly kind: 'boolean';
56
+ readonly field: 'tampered';
57
+ readonly label: import("../index.js").VocabL10n;
58
+ readonly whenTrue: import("../index.js").VocabL10n;
59
+ readonly whenFalse: import("../index.js").VocabL10n;
60
+ readonly icon: 'shield-alert';
61
+ }];
62
+ };
51
63
  };
52
64
  export type ITamperProvider = InferProvider<typeof tamperCapability>;
@@ -58,5 +58,17 @@ export declare const temperatureSensorCapability: {
58
58
  /** Clock fields: written, but excluded from the compare that decides
59
59
  * whether persisting is worth a SQLite commit. */
60
60
  readonly volatileStateFields: readonly ["lastFetchedAt"];
61
+ readonly vocabulary: {
62
+ readonly noun: import("../index.js").VocabL10n;
63
+ readonly order: 5210;
64
+ readonly state: readonly [{
65
+ readonly kind: 'numeric';
66
+ readonly field: 'temperature';
67
+ readonly quantity: import("../index.js").VocabL10n;
68
+ readonly label: import("../index.js").VocabL10n;
69
+ readonly unit: '°C';
70
+ readonly icon: 'thermometer';
71
+ }];
72
+ };
61
73
  };
62
74
  export type ITemperatureSensorProvider = InferProvider<typeof temperatureSensorCapability>;
@@ -6,7 +6,9 @@ import { type InferProvider } from './capability-definition.js';
6
6
  * button grid of a remote) and the schema each payload must satisfy are
7
7
  * declared by the system in `template-kinds.ts`. Nothing here is specific to a
8
8
  * kind: the engine validates a payload against its kind's schema and, on a
9
- * delete, asks the kind's owner whether anything still points at the record.
9
+ * delete, asks the kind's owner whether anything still points at the record
10
+ * (a device's remote, an automation made from the template). Saving an
11
+ * `automation` template re-expands every automation made from it (#527).
10
12
  *
11
13
  * Every refusal is a typed result — a UI says "unknown kind" or names the
12
14
  * devices that still use a template, without parsing text.
@@ -14,32 +16,37 @@ import { type InferProvider } from './capability-definition.js';
14
16
  export declare const TemplateRecordSchema: z.ZodObject<{
15
17
  id: z.ZodString;
16
18
  kind: z.ZodEnum<{
19
+ automation: "automation";
17
20
  remote: "remote";
18
21
  }>;
19
22
  name: z.ZodString;
20
23
  payload: z.ZodUnknown;
21
24
  createdAt: z.ZodNumber;
22
25
  updatedAt: z.ZodNumber;
26
+ builtIn: z.ZodOptional<z.ZodLiteral<true>>;
23
27
  }, z.core.$strip>;
24
28
  export type TemplateRecord = z.infer<typeof TemplateRecordSchema>;
25
- export declare const TEMPLATE_WRITE_REFUSALS: readonly ['invalid-payload', 'not-found'];
29
+ export declare const TEMPLATE_WRITE_REFUSALS: readonly ['invalid-payload', 'not-found', 'read-only'];
26
30
  export declare const TemplateWriteResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
27
31
  status: z.ZodLiteral<"saved">;
28
32
  template: z.ZodObject<{
29
33
  id: z.ZodString;
30
34
  kind: z.ZodEnum<{
35
+ automation: "automation";
31
36
  remote: "remote";
32
37
  }>;
33
38
  name: z.ZodString;
34
39
  payload: z.ZodUnknown;
35
40
  createdAt: z.ZodNumber;
36
41
  updatedAt: z.ZodNumber;
42
+ builtIn: z.ZodOptional<z.ZodLiteral<true>>;
37
43
  }, z.core.$strip>;
38
44
  }, z.core.$strip>, z.ZodObject<{
39
45
  status: z.ZodLiteral<"refused">;
40
46
  reason: z.ZodEnum<{
41
47
  "invalid-payload": "invalid-payload";
42
48
  "not-found": "not-found";
49
+ "read-only": "read-only";
43
50
  }>;
44
51
  detail: z.ZodString;
45
52
  }, z.core.$strip>], "status">;
@@ -50,16 +57,28 @@ export declare const TemplateUserSchema: z.ZodObject<{
50
57
  name: z.ZodString;
51
58
  }, z.core.$strip>;
52
59
  export type TemplateUser = z.infer<typeof TemplateUserSchema>;
60
+ /** An automation made from a template (#527): a core block whose recipe links to it. */
61
+ export declare const TemplateAutomationUserSchema: z.ZodObject<{
62
+ blockId: z.ZodString;
63
+ name: z.ZodString;
64
+ }, z.core.$strip>;
65
+ export type TemplateAutomationUser = z.infer<typeof TemplateAutomationUserSchema>;
53
66
  export declare const TemplateDeleteResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
54
67
  status: z.ZodLiteral<"deleted">;
55
68
  }, z.core.$strip>, z.ZodObject<{
56
69
  status: z.ZodLiteral<"not-found">;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ status: z.ZodLiteral<"read-only">;
57
72
  }, z.core.$strip>, z.ZodObject<{
58
73
  status: z.ZodLiteral<"in-use">;
59
74
  devices: z.ZodArray<z.ZodObject<{
60
75
  deviceId: z.ZodNumber;
61
76
  name: z.ZodString;
62
77
  }, z.core.$strip>>;
78
+ automations: z.ZodArray<z.ZodObject<{
79
+ blockId: z.ZodString;
80
+ name: z.ZodString;
81
+ }, z.core.$strip>>;
63
82
  }, z.core.$strip>], "status">;
64
83
  export type TemplateDeleteResult = z.infer<typeof TemplateDeleteResultSchema>;
65
84
  export declare const templateCapability: {
@@ -69,32 +88,38 @@ export declare const templateCapability: {
69
88
  readonly methods: {
70
89
  readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
71
90
  kind: z.ZodOptional<z.ZodEnum<{
91
+ automation: "automation";
72
92
  remote: "remote";
73
93
  }>>;
74
94
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
75
95
  id: z.ZodString;
76
96
  kind: z.ZodEnum<{
97
+ automation: "automation";
77
98
  remote: "remote";
78
99
  }>;
79
100
  name: z.ZodString;
80
101
  payload: z.ZodUnknown;
81
102
  createdAt: z.ZodNumber;
82
103
  updatedAt: z.ZodNumber;
104
+ builtIn: z.ZodOptional<z.ZodLiteral<true>>;
83
105
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
84
106
  readonly get: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
85
107
  id: z.ZodString;
86
108
  }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
87
109
  id: z.ZodString;
88
110
  kind: z.ZodEnum<{
111
+ automation: "automation";
89
112
  remote: "remote";
90
113
  }>;
91
114
  name: z.ZodString;
92
115
  payload: z.ZodUnknown;
93
116
  createdAt: z.ZodNumber;
94
117
  updatedAt: z.ZodNumber;
118
+ builtIn: z.ZodOptional<z.ZodLiteral<true>>;
95
119
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
96
120
  readonly create: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
97
121
  kind: z.ZodEnum<{
122
+ automation: "automation";
98
123
  remote: "remote";
99
124
  }>;
100
125
  name: z.ZodString;
@@ -104,18 +129,21 @@ export declare const templateCapability: {
104
129
  template: z.ZodObject<{
105
130
  id: z.ZodString;
106
131
  kind: z.ZodEnum<{
132
+ automation: "automation";
107
133
  remote: "remote";
108
134
  }>;
109
135
  name: z.ZodString;
110
136
  payload: z.ZodUnknown;
111
137
  createdAt: z.ZodNumber;
112
138
  updatedAt: z.ZodNumber;
139
+ builtIn: z.ZodOptional<z.ZodLiteral<true>>;
113
140
  }, z.core.$strip>;
114
141
  }, z.core.$strip>, z.ZodObject<{
115
142
  status: z.ZodLiteral<"refused">;
116
143
  reason: z.ZodEnum<{
117
144
  "invalid-payload": "invalid-payload";
118
145
  "not-found": "not-found";
146
+ "read-only": "read-only";
119
147
  }>;
120
148
  detail: z.ZodString;
121
149
  }, z.core.$strip>], "status">, "mutation">;
@@ -128,18 +156,21 @@ export declare const templateCapability: {
128
156
  template: z.ZodObject<{
129
157
  id: z.ZodString;
130
158
  kind: z.ZodEnum<{
159
+ automation: "automation";
131
160
  remote: "remote";
132
161
  }>;
133
162
  name: z.ZodString;
134
163
  payload: z.ZodUnknown;
135
164
  createdAt: z.ZodNumber;
136
165
  updatedAt: z.ZodNumber;
166
+ builtIn: z.ZodOptional<z.ZodLiteral<true>>;
137
167
  }, z.core.$strip>;
138
168
  }, z.core.$strip>, z.ZodObject<{
139
169
  status: z.ZodLiteral<"refused">;
140
170
  reason: z.ZodEnum<{
141
171
  "invalid-payload": "invalid-payload";
142
172
  "not-found": "not-found";
173
+ "read-only": "read-only";
143
174
  }>;
144
175
  detail: z.ZodString;
145
176
  }, z.core.$strip>], "status">, "mutation">;
@@ -149,13 +180,22 @@ export declare const templateCapability: {
149
180
  status: z.ZodLiteral<"deleted">;
150
181
  }, z.core.$strip>, z.ZodObject<{
151
182
  status: z.ZodLiteral<"not-found">;
183
+ }, z.core.$strip>, z.ZodObject<{
184
+ status: z.ZodLiteral<"read-only">;
152
185
  }, z.core.$strip>, z.ZodObject<{
153
186
  status: z.ZodLiteral<"in-use">;
154
187
  devices: z.ZodArray<z.ZodObject<{
155
188
  deviceId: z.ZodNumber;
156
189
  name: z.ZodString;
157
190
  }, z.core.$strip>>;
191
+ automations: z.ZodArray<z.ZodObject<{
192
+ blockId: z.ZodString;
193
+ name: z.ZodString;
194
+ }, z.core.$strip>>;
158
195
  }, z.core.$strip>], "status">, "mutation">;
159
196
  };
197
+ readonly vocabulary: {
198
+ readonly notOperatorFacing: 'operator-authored templates — edited in their own editor, never actuated';
199
+ };
160
200
  };
161
201
  export type ITemplateProvider = InferProvider<typeof templateCapability>;
@@ -205,6 +205,9 @@ export declare const terminalSessionCapability: {
205
205
  sessionId: z.ZodString;
206
206
  }, z.core.$strip>, z.ZodVoid, "mutation">;
207
207
  };
208
+ readonly vocabulary: {
209
+ readonly notOperatorFacing: "cluster administration — nodes, server package, metrics";
210
+ };
208
211
  };
209
212
  export type ITerminalSessionProvider = InferProvider<typeof terminalSessionCapability>;
210
213
  export type TerminalSessionInfo = z.infer<typeof TerminalSessionInfoSchema>;
@@ -225,5 +225,9 @@ export declare const timedRunCapability: {
225
225
  */
226
226
  readonly durability: 'session';
227
227
  readonly history: 'none';
228
+ readonly vocabulary: {
229
+ readonly noun: import("../index.js").VocabL10n;
230
+ readonly order: 2150;
231
+ };
228
232
  };
229
233
  export type ITimedRunProvider = InferProvider<typeof timedRunCapability>;
@@ -54,6 +54,9 @@ export declare const toastCapability: {
54
54
  readonly mount: {
55
55
  readonly kind: 'server-provided';
56
56
  };
57
+ readonly vocabulary: {
58
+ readonly notOperatorFacing: "admin UI plumbing — pages, widgets and routes, not something a device does";
59
+ };
57
60
  };
58
61
  export type IToastProvider = InferProvider<typeof toastCapability>;
59
62
  export { ToastSchema };
@@ -393,5 +393,8 @@ export declare const trainingProviderCapability: {
393
393
  lastFetchedAt: z.ZodNumber;
394
394
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
395
395
  };
396
+ readonly vocabulary: {
397
+ readonly notOperatorFacing: "model and training machinery — no device action";
398
+ };
396
399
  };
397
400
  export type ITrainingCloudProvider = InferProvider<typeof trainingProviderCapability>;
@@ -2063,5 +2063,8 @@ export declare const trainingCapability: {
2063
2063
  }, z.core.$strip>>;
2064
2064
  }, z.core.$strip>, "mutation">;
2065
2065
  };
2066
+ readonly vocabulary: {
2067
+ readonly notOperatorFacing: "model and training machinery — no device action";
2068
+ };
2066
2069
  };
2067
2070
  export type ITrainingOrchestrator = InferProvider<typeof trainingCapability>;
@@ -37,6 +37,9 @@ export declare const turnProviderCapability: {
37
37
  credential: z.ZodOptional<z.ZodString>;
38
38
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
39
39
  };
40
+ readonly vocabulary: {
41
+ readonly notOperatorFacing: "network administration of the cluster — addresses, mesh, tunnels";
42
+ };
40
43
  };
41
44
  export type ITurnProvider = InferProvider<typeof turnProviderCapability>;
42
45
  export { TurnServerSchema };
@@ -55,5 +55,24 @@ export declare const updateCapability: {
55
55
  * History (D850): none — text and state.
56
56
  */
57
57
  readonly history: 'none';
58
+ readonly vocabulary: {
59
+ readonly noun: import("../index.js").VocabL10n;
60
+ readonly order: 2170;
61
+ readonly state: readonly [{
62
+ readonly kind: 'boolean';
63
+ readonly field: 'updatable';
64
+ readonly label: import("../index.js").VocabL10n;
65
+ readonly whenTrue: import("../index.js").VocabL10n;
66
+ readonly whenFalse: import("../index.js").VocabL10n;
67
+ readonly icon: 'download';
68
+ }, {
69
+ readonly kind: 'boolean';
70
+ readonly field: 'inProgress';
71
+ readonly label: import("../index.js").VocabL10n;
72
+ readonly whenTrue: import("../index.js").VocabL10n;
73
+ readonly whenFalse: import("../index.js").VocabL10n;
74
+ readonly icon: 'loader';
75
+ }];
76
+ };
58
77
  };
59
78
  export type IUpdateProvider = InferProvider<typeof updateCapability>;
@@ -970,6 +970,9 @@ export declare const userManagementCapability: {
970
970
  success: z.ZodBoolean;
971
971
  }, z.core.$strip>, "mutation">;
972
972
  };
973
+ readonly vocabulary: {
974
+ readonly notOperatorFacing: "identity and access administration — users, sign-in and secrets";
975
+ };
973
976
  };
974
977
  export type IUserManagementProvider = InferProvider<typeof userManagementCapability>;
975
978
  export { CreateUserInputSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, OauthSessionSummarySchema, UpdateUserInputSchema, UserSummarySchema, };
@@ -146,6 +146,9 @@ export declare const userPasskeysCapability: {
146
146
  success: z.ZodLiteral<true>;
147
147
  }, z.core.$strip>, "mutation">;
148
148
  };
149
+ readonly vocabulary: {
150
+ readonly notOperatorFacing: "identity and access administration — users, sign-in and secrets";
151
+ };
149
152
  };
150
153
  export type IUserPasskeysProvider = InferProvider<typeof userPasskeysCapability>;
151
154
  export { PasskeySummarySchema };
@@ -140,5 +140,48 @@ export declare const vacuumControlCapability: {
140
140
  };
141
141
  };
142
142
  };
143
+ readonly vocabulary: {
144
+ readonly noun: import("../index.js").VocabL10n;
145
+ readonly order: 2000;
146
+ readonly state: readonly [{
147
+ readonly kind: 'enum';
148
+ readonly field: 'state';
149
+ readonly label: import("../index.js").VocabL10n;
150
+ readonly values: readonly [{
151
+ readonly value: 'idle';
152
+ readonly label: import("../index.js").VocabL10n;
153
+ }, {
154
+ readonly value: 'cleaning';
155
+ readonly label: import("../index.js").VocabL10n;
156
+ readonly phrase: import("../index.js").VocabL10n;
157
+ }, {
158
+ readonly value: 'paused';
159
+ readonly label: import("../index.js").VocabL10n;
160
+ }, {
161
+ readonly value: 'returning';
162
+ readonly label: import("../index.js").VocabL10n;
163
+ readonly phrase: import("../index.js").VocabL10n;
164
+ }, {
165
+ readonly value: 'docked';
166
+ readonly label: import("../index.js").VocabL10n;
167
+ readonly phrase: import("../index.js").VocabL10n;
168
+ }, {
169
+ readonly value: 'drying';
170
+ readonly label: import("../index.js").VocabL10n;
171
+ }, {
172
+ readonly value: 'error';
173
+ readonly label: import("../index.js").VocabL10n;
174
+ readonly phrase: import("../index.js").VocabL10n;
175
+ }];
176
+ readonly icon: 'bot';
177
+ }, {
178
+ readonly kind: 'numeric';
179
+ readonly field: 'batteryLevel';
180
+ readonly quantity: import("../index.js").VocabL10n;
181
+ readonly label: import("../index.js").VocabL10n;
182
+ readonly unit: '%';
183
+ readonly icon: 'battery';
184
+ }];
185
+ };
143
186
  };
144
187
  export type IVacuumControlProvider = InferProvider<typeof vacuumControlCapability>;
@@ -109,5 +109,43 @@ export declare const valveCapability: {
109
109
  };
110
110
  };
111
111
  };
112
+ readonly vocabulary: {
113
+ readonly noun: import("../index.js").VocabL10n;
114
+ readonly order: 1040;
115
+ readonly state: readonly [{
116
+ readonly kind: 'enum';
117
+ readonly field: 'state';
118
+ readonly label: import("../index.js").VocabL10n;
119
+ readonly values: readonly [{
120
+ readonly value: 'open';
121
+ readonly label: import("../index.js").VocabL10n;
122
+ readonly phrase: import("../index.js").VocabL10n;
123
+ }, {
124
+ readonly value: 'opening';
125
+ readonly label: import("../index.js").VocabL10n;
126
+ readonly phrase: import("../index.js").VocabL10n;
127
+ }, {
128
+ readonly value: 'closing';
129
+ readonly label: import("../index.js").VocabL10n;
130
+ readonly phrase: import("../index.js").VocabL10n;
131
+ }, {
132
+ readonly value: 'closed';
133
+ readonly label: import("../index.js").VocabL10n;
134
+ readonly phrase: import("../index.js").VocabL10n;
135
+ }, {
136
+ readonly value: 'stopped';
137
+ readonly label: import("../index.js").VocabL10n;
138
+ readonly phrase: import("../index.js").VocabL10n;
139
+ }];
140
+ readonly icon: 'droplets';
141
+ }, {
142
+ readonly kind: 'numeric';
143
+ readonly field: 'position';
144
+ readonly quantity: import("../index.js").VocabL10n;
145
+ readonly label: import("../index.js").VocabL10n;
146
+ readonly unit: '%';
147
+ readonly icon: 'droplets';
148
+ }];
149
+ };
112
150
  };
113
151
  export type IValveProvider = InferProvider<typeof valveCapability>;
@@ -378,5 +378,8 @@ export declare const vectorStoreCapability: {
378
378
  exact: z.ZodBoolean;
379
379
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
380
380
  };
381
+ readonly vocabulary: {
382
+ readonly notOperatorFacing: "internal plumbing between addons — never operator-facing";
383
+ };
381
384
  };
382
385
  export type IVectorStoreProvider = InferProvider<typeof vectorStoreCapability>;