@camstack/types 1.2.335 → 1.2.337

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 (228) hide show
  1. package/dist/audio/audio-chunk-format.d.ts +1 -1
  2. package/dist/automation/recipe.d.ts +3 -3
  3. package/dist/capabilities/accessories.cap.d.ts +4 -4
  4. package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
  5. package/dist/capabilities/addon-pages.cap.d.ts +3 -3
  6. package/dist/capabilities/addon-routes.cap.d.ts +8 -8
  7. package/dist/capabilities/addon-settings.cap.d.ts +9 -9
  8. package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
  9. package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
  10. package/dist/capabilities/addons.cap.d.ts +87 -87
  11. package/dist/capabilities/admin-ui.cap.d.ts +3 -3
  12. package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
  13. package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
  14. package/dist/capabilities/alerts.cap.d.ts +18 -18
  15. package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
  16. package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
  17. package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
  18. package/dist/capabilities/audio-codec.cap.d.ts +4 -4
  19. package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
  20. package/dist/capabilities/auth-provider.cap.d.ts +4 -4
  21. package/dist/capabilities/automation-control.cap.d.ts +5 -5
  22. package/dist/capabilities/backup.cap.d.ts +18 -18
  23. package/dist/capabilities/battery.cap.d.ts +15 -15
  24. package/dist/capabilities/binary.cap.d.ts +5 -5
  25. package/dist/capabilities/brightness.cap.d.ts +5 -5
  26. package/dist/capabilities/broker.cap.d.ts +21 -21
  27. package/dist/capabilities/button.cap.d.ts +3 -3
  28. package/dist/capabilities/calendar-source.cap.d.ts +3 -3
  29. package/dist/capabilities/calendars.cap.d.ts +5 -5
  30. package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
  31. package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
  32. package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
  33. package/dist/capabilities/camera-streams.cap.d.ts +37 -37
  34. package/dist/capabilities/capability-definition.d.ts +10 -10
  35. package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
  36. package/dist/capabilities/climate-control.cap.d.ts +37 -37
  37. package/dist/capabilities/color.cap.d.ts +9 -9
  38. package/dist/capabilities/composer.cap.d.ts +16 -16
  39. package/dist/capabilities/connection-test.cap.d.ts +3 -3
  40. package/dist/capabilities/connectivity.cap.d.ts +5 -5
  41. package/dist/capabilities/consumables.cap.d.ts +21 -21
  42. package/dist/capabilities/contact.cap.d.ts +5 -5
  43. package/dist/capabilities/control.cap.d.ts +16 -16
  44. package/dist/capabilities/core-blocks.cap.d.ts +115 -115
  45. package/dist/capabilities/cover.cap.d.ts +17 -17
  46. package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
  47. package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
  48. package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
  49. package/dist/capabilities/day-night.cap.d.ts +24 -24
  50. package/dist/capabilities/decoder.cap.d.ts +4 -4
  51. package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
  52. package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
  53. package/dist/capabilities/device-adoption.cap.d.ts +4 -4
  54. package/dist/capabilities/device-discovery.cap.d.ts +7 -7
  55. package/dist/capabilities/device-export.cap.d.ts +8 -8
  56. package/dist/capabilities/device-extension.cap.d.ts +22 -22
  57. package/dist/capabilities/device-manager.cap.d.ts +113 -113
  58. package/dist/capabilities/device-ops.cap.d.ts +7 -7
  59. package/dist/capabilities/device-provider.cap.d.ts +3 -3
  60. package/dist/capabilities/device-state.cap.d.ts +24 -24
  61. package/dist/capabilities/device-status.cap.d.ts +5 -5
  62. package/dist/capabilities/doorbell.cap.d.ts +7 -7
  63. package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
  64. package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
  65. package/dist/capabilities/event-emitter.cap.d.ts +5 -5
  66. package/dist/capabilities/face-gallery.cap.d.ts +7 -7
  67. package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
  68. package/dist/capabilities/fan-control.cap.d.ts +10 -10
  69. package/dist/capabilities/feature-probe.cap.d.ts +5 -5
  70. package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
  71. package/dist/capabilities/flood.cap.d.ts +5 -5
  72. package/dist/capabilities/gas.cap.d.ts +5 -5
  73. package/dist/capabilities/hub-address.d.ts +1 -1
  74. package/dist/capabilities/humidifier.cap.d.ts +5 -5
  75. package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
  76. package/dist/capabilities/image-settings.cap.d.ts +48 -48
  77. package/dist/capabilities/image.cap.d.ts +5 -5
  78. package/dist/capabilities/integrations.cap.d.ts +12 -12
  79. package/dist/capabilities/intercom.cap.d.ts +11 -11
  80. package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
  81. package/dist/capabilities/keychain.cap.d.ts +27 -27
  82. package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
  83. package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
  84. package/dist/capabilities/llm-shared.d.ts +21 -21
  85. package/dist/capabilities/llm.cap.d.ts +109 -109
  86. package/dist/capabilities/load-contribution.cap.d.ts +12 -12
  87. package/dist/capabilities/local-network.cap.d.ts +119 -119
  88. package/dist/capabilities/lock-control.cap.d.ts +13 -13
  89. package/dist/capabilities/log-channels.cap.d.ts +5 -5
  90. package/dist/capabilities/log-destination.cap.d.ts +14 -14
  91. package/dist/capabilities/login-method.cap.d.ts +4 -4
  92. package/dist/capabilities/mask-shape.d.ts +2 -2
  93. package/dist/capabilities/media-player.cap.d.ts +13 -13
  94. package/dist/capabilities/mesh-network.cap.d.ts +9 -9
  95. package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
  96. package/dist/capabilities/model-convert.cap.d.ts +29 -29
  97. package/dist/capabilities/model-distributor.cap.d.ts +27 -27
  98. package/dist/capabilities/motion-detection.cap.d.ts +8 -8
  99. package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
  100. package/dist/capabilities/motion-zones.cap.d.ts +13 -13
  101. package/dist/capabilities/motion.cap.d.ts +7 -7
  102. package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
  103. package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
  104. package/dist/capabilities/navigation.cap.d.ts +56 -56
  105. package/dist/capabilities/network-access.cap.d.ts +4 -4
  106. package/dist/capabilities/network-link.cap.d.ts +16 -16
  107. package/dist/capabilities/network-quality.cap.d.ts +4 -4
  108. package/dist/capabilities/nodes.cap.d.ts +5 -5
  109. package/dist/capabilities/notification-output.cap.d.ts +121 -121
  110. package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
  111. package/dist/capabilities/notifier.cap.d.ts +8 -8
  112. package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
  113. package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
  114. package/dist/capabilities/osd-manager.cap.d.ts +261 -261
  115. package/dist/capabilities/osd.cap.d.ts +59 -59
  116. package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
  117. package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
  118. package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
  119. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +275 -267
  120. package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
  121. package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
  122. package/dist/capabilities/platform-probe.cap.d.ts +66 -66
  123. package/dist/capabilities/power-meter.cap.d.ts +5 -5
  124. package/dist/capabilities/presence.cap.d.ts +5 -5
  125. package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
  126. package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
  127. package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
  128. package/dist/capabilities/ptz.cap.d.ts +29 -29
  129. package/dist/capabilities/reboot.cap.d.ts +3 -3
  130. package/dist/capabilities/recording-archive.cap.d.ts +59 -59
  131. package/dist/capabilities/recording-export.cap.d.ts +37 -37
  132. package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
  133. package/dist/capabilities/recording-signal.cap.d.ts +6 -6
  134. package/dist/capabilities/recording.cap.d.ts +21 -21
  135. package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
  136. package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
  137. package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
  138. package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
  139. package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
  140. package/dist/capabilities/script-runner.cap.d.ts +5 -5
  141. package/dist/capabilities/server-management.cap.d.ts +70 -70
  142. package/dist/capabilities/settings-store.cap.d.ts +11 -11
  143. package/dist/capabilities/smoke.cap.d.ts +5 -5
  144. package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
  145. package/dist/capabilities/snapshot.cap.d.ts +9 -9
  146. package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
  147. package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
  148. package/dist/capabilities/storage-migration.cap.d.ts +53 -53
  149. package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
  150. package/dist/capabilities/storage-provider.cap.d.ts +25 -25
  151. package/dist/capabilities/storage.cap.d.ts +18 -18
  152. package/dist/capabilities/stream-broker.cap.d.ts +184 -184
  153. package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
  154. package/dist/capabilities/stream-params.cap.d.ts +36 -36
  155. package/dist/capabilities/stream-signals.cap.d.ts +4 -4
  156. package/dist/capabilities/switch.cap.d.ts +11 -11
  157. package/dist/capabilities/system.cap.d.ts +66 -66
  158. package/dist/capabilities/tamper.cap.d.ts +5 -5
  159. package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
  160. package/dist/capabilities/terminal-session.cap.d.ts +3 -3
  161. package/dist/capabilities/toast.cap.d.ts +6 -6
  162. package/dist/capabilities/training-provider.cap.d.ts +35 -35
  163. package/dist/capabilities/training.cap.d.ts +278 -278
  164. package/dist/capabilities/turn-provider.cap.d.ts +3 -3
  165. package/dist/capabilities/update.cap.d.ts +5 -5
  166. package/dist/capabilities/user-management.cap.d.ts +83 -83
  167. package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
  168. package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
  169. package/dist/capabilities/valve.cap.d.ts +17 -17
  170. package/dist/capabilities/vector-store.cap.d.ts +3 -3
  171. package/dist/capabilities/vibration.cap.d.ts +5 -5
  172. package/dist/capabilities/videoclips.cap.d.ts +53 -53
  173. package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
  174. package/dist/capabilities/water-heater.cap.d.ts +5 -5
  175. package/dist/capabilities/weather.cap.d.ts +5 -5
  176. package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
  177. package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
  178. package/dist/capabilities/zone-rules.cap.d.ts +15 -15
  179. package/dist/capabilities/zones.cap.d.ts +4 -4
  180. package/dist/catalogs/event-taxonomy.d.ts +9 -9
  181. package/dist/catalogs/root-model-supply.d.ts +3 -3
  182. package/dist/composition/composable-caps.d.ts +6 -6
  183. package/dist/composition/composition-report.d.ts +75 -75
  184. package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
  185. package/dist/device/location-icon.d.ts +25 -25
  186. package/dist/device/site-zone.d.ts +12 -12
  187. package/dist/encode-profile.d.ts +22 -22
  188. package/dist/generated/addon-api.d.ts +176 -176
  189. package/dist/generated/capability-router-map.d.ts +171 -171
  190. package/dist/generated/extension-slots.d.ts +1 -1
  191. package/dist/health/wiring-health.d.ts +8 -8
  192. package/dist/i18n/event-kind-labels.d.ts +1 -1
  193. package/dist/i18n/state-labels.d.ts +1 -1
  194. package/dist/interfaces/addon-data-plane.d.ts +1 -1
  195. package/dist/interfaces/adoption-job.d.ts +10 -10
  196. package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
  197. package/dist/interfaces/camera-switches.d.ts +21 -21
  198. package/dist/interfaces/ops-log.d.ts +14 -14
  199. package/dist/interfaces/recording-config.d.ts +14 -14
  200. package/dist/interfaces/relocate.d.ts +88 -88
  201. package/dist/interfaces/server-analysis.d.ts +2 -2
  202. package/dist/interfaces/storage-location-declaration.d.ts +4 -4
  203. package/dist/interfaces/storage-location-mode.d.ts +4 -4
  204. package/dist/interfaces/storage-location.d.ts +2 -2
  205. package/dist/interfaces/track-relations.d.ts +14 -14
  206. package/dist/lifecycle/job.d.ts +43 -43
  207. package/dist/logging/log-channel.d.ts +2 -2
  208. package/dist/media/media-owner-key.d.ts +2 -2
  209. package/dist/notification/alarm-membership.d.ts +2 -2
  210. package/dist/notification/alarm-profiles.d.ts +1 -1
  211. package/dist/notification/condition-taxonomy.d.ts +1 -1
  212. package/dist/notification/scope-picker-items.d.ts +1 -1
  213. package/dist/notification/system-event-families.d.ts +1 -1
  214. package/dist/notification/timelapse-rule.d.ts +4 -4
  215. package/dist/pipeline/auto-tune/plan-schemas.d.ts +78 -78
  216. package/dist/pipeline/camera-sensors.d.ts +39 -39
  217. package/dist/pipeline/cluster-model-scope.d.ts +11 -1
  218. package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
  219. package/dist/pipeline/native-lease.d.ts +4 -4
  220. package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
  221. package/dist/pipeline/provider-motion.d.ts +2 -2
  222. package/dist/schemas/auth-records.d.ts +14 -14
  223. package/dist/training/trainer-contract.d.ts +19 -19
  224. package/dist/types/clip-model.d.ts +2 -2
  225. package/dist/types/labels.d.ts +4 -4
  226. package/dist/types/models.d.ts +42 -42
  227. package/dist/units/unit-table.d.ts +45 -45
  228. package/package.json +9 -2
@@ -18,72 +18,72 @@ import { DeviceType } from '../device/device-type.js';
18
18
  * mode list — the UI renders only the buttons the panel accepts.
19
19
  */
20
20
  export declare const AlarmStateSchema: z.ZodEnum<{
21
- pending: "pending";
22
- disarmed: "disarmed";
23
- armed_home: "armed_home";
24
21
  armed_away: "armed_away";
22
+ armed_custom_bypass: "armed_custom_bypass";
23
+ armed_home: "armed_home";
25
24
  armed_night: "armed_night";
26
25
  armed_vacation: "armed_vacation";
27
- armed_custom_bypass: "armed_custom_bypass";
28
26
  arming: "arming";
27
+ disarmed: "disarmed";
29
28
  disarming: "disarming";
29
+ pending: "pending";
30
30
  triggered: "triggered";
31
31
  }>;
32
32
  export type AlarmState = z.infer<typeof AlarmStateSchema>;
33
33
  export declare const AlarmArmModeSchema: z.ZodEnum<{
34
- night: "night";
35
- home: "home";
36
34
  away: "away";
37
- vacation: "vacation";
38
35
  custom_bypass: "custom_bypass";
36
+ home: "home";
37
+ night: "night";
38
+ vacation: "vacation";
39
39
  }>;
40
40
  export type AlarmArmMode = z.infer<typeof AlarmArmModeSchema>;
41
41
  export declare const AlarmPanelStatusSchema: z.ZodObject<{
42
42
  state: z.ZodEnum<{
43
- pending: "pending";
44
- disarmed: "disarmed";
45
- armed_home: "armed_home";
46
43
  armed_away: "armed_away";
44
+ armed_custom_bypass: "armed_custom_bypass";
45
+ armed_home: "armed_home";
47
46
  armed_night: "armed_night";
48
47
  armed_vacation: "armed_vacation";
49
- armed_custom_bypass: "armed_custom_bypass";
50
48
  arming: "arming";
49
+ disarmed: "disarmed";
51
50
  disarming: "disarming";
51
+ pending: "pending";
52
52
  triggered: "triggered";
53
53
  }>;
54
54
  targetMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
55
- night: "night";
56
- home: "home";
57
55
  away: "away";
58
- vacation: "vacation";
59
56
  custom_bypass: "custom_bypass";
57
+ home: "home";
58
+ night: "night";
59
+ vacation: "vacation";
60
60
  }>>>;
61
61
  availableModes: z.ZodArray<z.ZodEnum<{
62
- night: "night";
63
- home: "home";
64
62
  away: "away";
65
- vacation: "vacation";
66
63
  custom_bypass: "custom_bypass";
64
+ home: "home";
65
+ night: "night";
66
+ vacation: "vacation";
67
67
  }>>;
68
68
  requiresCode: z.ZodBoolean;
69
69
  lastChangedAt: z.ZodNumber;
70
70
  }, z.core.$strip>;
71
71
  export type AlarmPanelStatus = z.infer<typeof AlarmPanelStatusSchema>;
72
72
  export declare const alarmPanelCapability: {
73
- readonly name: "alarm-panel";
74
- readonly scope: "device";
73
+ readonly name: 'alarm-panel';
74
+ readonly scope: 'device';
75
75
  readonly deviceNative: true;
76
- readonly mode: "singleton";
76
+ readonly mode: 'singleton';
77
77
  readonly deviceTypes: readonly [DeviceType.AlarmPanel];
78
78
  readonly methods: {
79
79
  readonly arm: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
80
80
  deviceId: z.ZodNumber;
81
81
  mode: z.ZodEnum<{
82
- night: "night";
83
- home: "home";
84
82
  away: "away";
85
- vacation: "vacation";
86
83
  custom_bypass: "custom_bypass";
84
+ home: "home";
85
+ night: "night";
86
+ vacation: "vacation";
87
87
  }>;
88
88
  code: z.ZodOptional<z.ZodString>;
89
89
  }, z.core.$strip>, z.ZodVoid, "mutation">;
@@ -105,35 +105,35 @@ export declare const alarmPanelCapability: {
105
105
  readonly status: {
106
106
  readonly schema: z.ZodObject<{
107
107
  state: z.ZodEnum<{
108
- pending: "pending";
109
- disarmed: "disarmed";
110
- armed_home: "armed_home";
111
108
  armed_away: "armed_away";
109
+ armed_custom_bypass: "armed_custom_bypass";
110
+ armed_home: "armed_home";
112
111
  armed_night: "armed_night";
113
112
  armed_vacation: "armed_vacation";
114
- armed_custom_bypass: "armed_custom_bypass";
115
113
  arming: "arming";
114
+ disarmed: "disarmed";
116
115
  disarming: "disarming";
116
+ pending: "pending";
117
117
  triggered: "triggered";
118
118
  }>;
119
119
  targetMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
120
- night: "night";
121
- home: "home";
122
120
  away: "away";
123
- vacation: "vacation";
124
121
  custom_bypass: "custom_bypass";
122
+ home: "home";
123
+ night: "night";
124
+ vacation: "vacation";
125
125
  }>>>;
126
126
  availableModes: z.ZodArray<z.ZodEnum<{
127
- night: "night";
128
- home: "home";
129
127
  away: "away";
130
- vacation: "vacation";
131
128
  custom_bypass: "custom_bypass";
129
+ home: "home";
130
+ night: "night";
131
+ vacation: "vacation";
132
132
  }>>;
133
133
  requiresCode: z.ZodBoolean;
134
134
  lastChangedAt: z.ZodNumber;
135
135
  }, z.core.$strip>;
136
- readonly kind: "push";
136
+ readonly kind: 'push';
137
137
  };
138
138
  /**
139
139
  * Runtime-state slice — mirrored by the kernel. UI panel reads the
@@ -142,30 +142,30 @@ export declare const alarmPanelCapability: {
142
142
  */
143
143
  readonly runtimeState: z.ZodObject<{
144
144
  state: z.ZodEnum<{
145
- pending: "pending";
146
- disarmed: "disarmed";
147
- armed_home: "armed_home";
148
145
  armed_away: "armed_away";
146
+ armed_custom_bypass: "armed_custom_bypass";
147
+ armed_home: "armed_home";
149
148
  armed_night: "armed_night";
150
149
  armed_vacation: "armed_vacation";
151
- armed_custom_bypass: "armed_custom_bypass";
152
150
  arming: "arming";
151
+ disarmed: "disarmed";
153
152
  disarming: "disarming";
153
+ pending: "pending";
154
154
  triggered: "triggered";
155
155
  }>;
156
156
  targetMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
157
- night: "night";
158
- home: "home";
159
157
  away: "away";
160
- vacation: "vacation";
161
158
  custom_bypass: "custom_bypass";
159
+ home: "home";
160
+ night: "night";
161
+ vacation: "vacation";
162
162
  }>>>;
163
163
  availableModes: z.ZodArray<z.ZodEnum<{
164
- night: "night";
165
- home: "home";
166
164
  away: "away";
167
- vacation: "vacation";
168
165
  custom_bypass: "custom_bypass";
166
+ home: "home";
167
+ night: "night";
168
+ vacation: "vacation";
169
169
  }>>;
170
170
  requiresCode: z.ZodBoolean;
171
171
  lastChangedAt: z.ZodNumber;
@@ -176,7 +176,7 @@ export declare const alarmPanelCapability: {
176
176
  * See `RuntimeStateDurability`. Enforced by
177
177
  * `scripts/check-runtime-state-durability.ts`.
178
178
  */
179
- readonly durability: "restored";
179
+ readonly durability: 'restored';
180
180
  /** Clock fields: written, but excluded from the compare that decides
181
181
  * whether persisting is worth a SQLite commit. */
182
182
  readonly volatileStateFields: readonly ["lastChangedAt"];
@@ -8,17 +8,17 @@
8
8
  import { z } from 'zod';
9
9
  import { type InferProvider } from './capability-definition.js';
10
10
  export declare const AlertSeveritySchema: z.ZodEnum<{
11
+ error: "error";
11
12
  info: "info";
12
13
  success: "success";
13
- error: "error";
14
14
  warning: "warning";
15
15
  }>;
16
16
  export declare const AlertStatusSchema: z.ZodEnum<{
17
- failed: "failed";
18
17
  active: "active";
19
18
  completed: "completed";
20
- "in-progress": "in-progress";
21
19
  dismissed: "dismissed";
20
+ failed: "failed";
21
+ "in-progress": "in-progress";
22
22
  }>;
23
23
  export declare const AlertSourceSchema: z.ZodObject<{
24
24
  type: z.ZodString;
@@ -28,19 +28,19 @@ export declare const AlertSchema: z.ZodObject<{
28
28
  id: z.ZodString;
29
29
  category: z.ZodString;
30
30
  severity: z.ZodEnum<{
31
+ error: "error";
31
32
  info: "info";
32
33
  success: "success";
33
- error: "error";
34
34
  warning: "warning";
35
35
  }>;
36
36
  title: z.ZodString;
37
37
  message: z.ZodString;
38
38
  status: z.ZodEnum<{
39
- failed: "failed";
40
39
  active: "active";
41
40
  completed: "completed";
42
- "in-progress": "in-progress";
43
41
  dismissed: "dismissed";
42
+ failed: "failed";
43
+ "in-progress": "in-progress";
44
44
  }>;
45
45
  progress: z.ZodOptional<z.ZodNumber>;
46
46
  read: z.ZodBoolean;
@@ -56,27 +56,27 @@ export type AlertSeverity = z.infer<typeof AlertSeveritySchema>;
56
56
  export type AlertStatus = z.infer<typeof AlertStatusSchema>;
57
57
  export type Alert = z.infer<typeof AlertSchema>;
58
58
  export declare const alertsCapability: {
59
- readonly name: "alerts";
60
- readonly scope: "system";
61
- readonly mode: "singleton";
59
+ readonly name: 'alerts';
60
+ readonly scope: 'system';
61
+ readonly mode: 'singleton';
62
62
  readonly methods: {
63
63
  readonly emit: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
64
64
  id: z.ZodString;
65
65
  category: z.ZodString;
66
66
  severity: z.ZodEnum<{
67
+ error: "error";
67
68
  info: "info";
68
69
  success: "success";
69
- error: "error";
70
70
  warning: "warning";
71
71
  }>;
72
72
  title: z.ZodString;
73
73
  message: z.ZodString;
74
74
  status: z.ZodEnum<{
75
- failed: "failed";
76
75
  active: "active";
77
76
  completed: "completed";
78
- "in-progress": "in-progress";
79
77
  dismissed: "dismissed";
78
+ failed: "failed";
79
+ "in-progress": "in-progress";
80
80
  }>;
81
81
  progress: z.ZodOptional<z.ZodNumber>;
82
82
  read: z.ZodBoolean;
@@ -94,19 +94,19 @@ export declare const alertsCapability: {
94
94
  id: z.ZodOptional<z.ZodString>;
95
95
  category: z.ZodOptional<z.ZodString>;
96
96
  severity: z.ZodOptional<z.ZodEnum<{
97
+ error: "error";
97
98
  info: "info";
98
99
  success: "success";
99
- error: "error";
100
100
  warning: "warning";
101
101
  }>>;
102
102
  title: z.ZodOptional<z.ZodString>;
103
103
  message: z.ZodOptional<z.ZodString>;
104
104
  status: z.ZodOptional<z.ZodEnum<{
105
- failed: "failed";
106
105
  active: "active";
107
106
  completed: "completed";
108
- "in-progress": "in-progress";
109
107
  dismissed: "dismissed";
108
+ failed: "failed";
109
+ "in-progress": "in-progress";
110
110
  }>>;
111
111
  progress: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
112
112
  read: z.ZodOptional<z.ZodBoolean>;
@@ -126,19 +126,19 @@ export declare const alertsCapability: {
126
126
  id: z.ZodString;
127
127
  category: z.ZodString;
128
128
  severity: z.ZodEnum<{
129
+ error: "error";
129
130
  info: "info";
130
131
  success: "success";
131
- error: "error";
132
132
  warning: "warning";
133
133
  }>;
134
134
  title: z.ZodString;
135
135
  message: z.ZodString;
136
136
  status: z.ZodEnum<{
137
- failed: "failed";
138
137
  active: "active";
139
138
  completed: "completed";
140
- "in-progress": "in-progress";
141
139
  dismissed: "dismissed";
140
+ failed: "failed";
141
+ "in-progress": "in-progress";
142
142
  }>;
143
143
  progress: z.ZodOptional<z.ZodNumber>;
144
144
  read: z.ZodBoolean;
@@ -13,10 +13,10 @@ export declare const AmbientLightSensorStatusSchema: z.ZodObject<{
13
13
  }, z.core.$strip>;
14
14
  export type AmbientLightSensorStatus = z.infer<typeof AmbientLightSensorStatusSchema>;
15
15
  export declare const ambientLightSensorCapability: {
16
- readonly name: "ambient-light-sensor";
17
- readonly scope: "device";
16
+ readonly name: 'ambient-light-sensor';
17
+ readonly scope: 'device';
18
18
  readonly deviceNative: true;
19
- readonly mode: "singleton";
19
+ readonly mode: 'singleton';
20
20
  readonly deviceTypes: readonly [DeviceType.Sensor];
21
21
  readonly methods: {};
22
22
  readonly status: {
@@ -26,7 +26,7 @@ export declare const ambientLightSensorCapability: {
26
26
  unit: z.ZodOptional<z.ZodString>;
27
27
  precision: z.ZodOptional<z.ZodNumber>;
28
28
  }, z.core.$strip>;
29
- readonly kind: "push";
29
+ readonly kind: 'push';
30
30
  };
31
31
  readonly runtimeState: z.ZodObject<{
32
32
  lux: z.ZodNumber;
@@ -40,7 +40,7 @@ export declare const ambientLightSensorCapability: {
40
40
  * See `RuntimeStateDurability`. Enforced by
41
41
  * `scripts/check-runtime-state-durability.ts`.
42
42
  */
43
- readonly durability: "restored";
43
+ readonly durability: 'restored';
44
44
  /** Clock fields: written, but excluded from the compare that decides
45
45
  * whether persisting is worth a SQLite commit. */
46
46
  readonly volatileStateFields: readonly ["lastFetchedAt"];
@@ -19,10 +19,10 @@ import type { AudioAnalysisSettings } from '../types/io.js';
19
19
  * analysed (e.g. muted / motion-only cams).
20
20
  */
21
21
  export declare const audioAnalysisCapability: {
22
- readonly name: "audio-analysis";
23
- readonly scope: "device";
24
- readonly mode: "singleton";
25
- readonly kind: "wrapper";
22
+ readonly name: 'audio-analysis';
23
+ readonly scope: 'device';
24
+ readonly mode: 'singleton';
25
+ readonly kind: 'wrapper';
26
26
  readonly defaultActive: true;
27
27
  readonly deviceTypes: readonly [DeviceType.Camera];
28
28
  readonly exposesDeviceSettings: true;
@@ -18,10 +18,10 @@ declare const AudioAnalysisResultSchema: z.ZodObject<{
18
18
  }, z.core.$strip>, z.ZodObject<{
19
19
  state: z.ZodLiteral<"not-classified">;
20
20
  reason: z.ZodEnum<{
21
- superseded: "superseded";
21
+ disposed: "disposed";
22
22
  error: "error";
23
+ superseded: "superseded";
23
24
  timeout: "timeout";
24
- disposed: "disposed";
25
25
  }>;
26
26
  }, z.core.$strip>], "state">;
27
27
  timestamp: z.ZodNumber;
@@ -90,14 +90,14 @@ declare const AudioClassificationResultSchema: z.ZodObject<{
90
90
  * platform heuristic (Apple SoundAnalysis on macOS, YAMNet elsewhere).
91
91
  */
92
92
  export declare const AUDIO_BACKEND_CHOICES: readonly [{
93
- readonly value: "auto";
94
- readonly label: "Auto (platform default)";
93
+ readonly value: 'auto';
94
+ readonly label: 'Auto (platform default)';
95
95
  }, {
96
- readonly value: "apple-soundanalysis";
97
- readonly label: "Apple SoundAnalysis (macOS 12+)";
96
+ readonly value: 'apple-soundanalysis';
97
+ readonly label: 'Apple SoundAnalysis (macOS 12+)';
98
98
  }, {
99
- readonly value: "yamnet-onnx";
100
- readonly label: "YAMNet ONNX (cross-platform)";
99
+ readonly value: 'yamnet-onnx';
100
+ readonly label: 'YAMNet ONNX (cross-platform)';
101
101
  }];
102
102
  export type AudioBackendChoice = (typeof AUDIO_BACKEND_CHOICES)[number]['value'];
103
103
  /**
@@ -124,9 +124,9 @@ export interface AudioAnalyzerGlobalConfig {
124
124
  }
125
125
  export declare const DEFAULT_AUDIO_ANALYZER_CONFIG: AudioAnalyzerGlobalConfig;
126
126
  export declare const audioAnalyzerCapability: {
127
- readonly name: "audio-analyzer";
128
- readonly scope: "system";
129
- readonly mode: "singleton";
127
+ readonly name: 'audio-analyzer';
128
+ readonly scope: 'system';
129
+ readonly mode: 'singleton';
130
130
  readonly methods: {
131
131
  readonly analyseChunk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
132
132
  chunk: z.ZodObject<{
@@ -158,10 +158,10 @@ export declare const audioAnalyzerCapability: {
158
158
  }, z.core.$strip>, z.ZodObject<{
159
159
  state: z.ZodLiteral<"not-classified">;
160
160
  reason: z.ZodEnum<{
161
- superseded: "superseded";
161
+ disposed: "disposed";
162
162
  error: "error";
163
+ superseded: "superseded";
163
164
  timeout: "timeout";
164
- disposed: "disposed";
165
165
  }>;
166
166
  }, z.core.$strip>], "state">;
167
167
  timestamp: z.ZodNumber;
@@ -67,10 +67,10 @@ declare const AudioEncodedChunkSchema: z.ZodObject<{
67
67
  * pluggable later) — operators always install one or the other together.
68
68
  */
69
69
  export declare const audioCodecCapability: {
70
- readonly name: "audio-codec";
71
- readonly scope: "system";
72
- readonly mode: "singleton";
73
- readonly preferredProvider: "decoder-nodeav";
70
+ readonly name: 'audio-codec';
71
+ readonly scope: 'system';
72
+ readonly mode: 'singleton';
73
+ readonly preferredProvider: 'decoder-nodeav';
74
74
  readonly methods: {
75
75
  /** Probe the local runtime and return the supported codec matrix. */
76
76
  readonly listSupportedCodecs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -90,9 +90,9 @@ export type AudioMetricsHistory = z.infer<typeof AudioMetricsHistorySchema>;
90
90
  * a custom event subscription.
91
91
  */
92
92
  export declare const audioMetricsCapability: {
93
- readonly name: "audio-metrics";
94
- readonly scope: "device";
95
- readonly mode: "singleton";
93
+ readonly name: 'audio-metrics';
94
+ readonly scope: 'device';
95
+ readonly mode: 'singleton';
96
96
  readonly deviceTypes: readonly [DeviceType.Camera];
97
97
  readonly methods: {
98
98
  /** Latest snapshot for this device. Null until the analytics
@@ -174,7 +174,7 @@ export declare const audioMetricsCapability: {
174
174
  * See `RuntimeStateDurability`. Enforced by
175
175
  * `scripts/check-runtime-state-durability.ts`.
176
176
  */
177
- readonly durability: "session";
177
+ readonly durability: 'session';
178
178
  };
179
179
  export type IAudioMetricsProvider = InferProvider<typeof audioMetricsCapability>;
180
180
  export { AudioMetricsSnapshotSchema, AudioClassSummarySchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, };
@@ -8,9 +8,9 @@ declare const AuthResultSchema: z.ZodObject<{
8
8
  isAdmin: z.ZodDefault<z.ZodBoolean>;
9
9
  }, z.core.$strip>;
10
10
  export declare const authProviderCapability: {
11
- readonly name: "auth-provider";
12
- readonly scope: "system";
13
- readonly mode: "collection";
11
+ readonly name: 'auth-provider';
12
+ readonly scope: 'system';
13
+ readonly mode: 'collection';
14
14
  readonly internal: true;
15
15
  readonly methods: {
16
16
  readonly validateCredentials: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -45,7 +45,7 @@ export declare const authProviderCapability: {
45
45
  };
46
46
  /** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
47
47
  readonly mount: {
48
- readonly kind: "skip";
48
+ readonly kind: 'skip';
49
49
  };
50
50
  };
51
51
  export type IAuthProvider = InferProvider<typeof authProviderCapability>;
@@ -21,10 +21,10 @@ export declare const AutomationControlStatusSchema: z.ZodObject<{
21
21
  }, z.core.$strip>;
22
22
  export type AutomationControlStatus = z.infer<typeof AutomationControlStatusSchema>;
23
23
  export declare const automationControlCapability: {
24
- readonly name: "automation-control";
25
- readonly scope: "device";
24
+ readonly name: 'automation-control';
25
+ readonly scope: 'device';
26
26
  readonly deviceNative: true;
27
- readonly mode: "singleton";
27
+ readonly mode: 'singleton';
28
28
  readonly deviceTypes: readonly [DeviceType.Automation];
29
29
  readonly methods: {
30
30
  readonly enable: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -46,7 +46,7 @@ export declare const automationControlCapability: {
46
46
  lastError: z.ZodNullable<z.ZodString>;
47
47
  lastChangedAt: z.ZodNumber;
48
48
  }, z.core.$strip>;
49
- readonly kind: "push";
49
+ readonly kind: 'push';
50
50
  };
51
51
  /**
52
52
  * Runtime-state slice — mirrored by the kernel. UI automation tile
@@ -66,6 +66,6 @@ export declare const automationControlCapability: {
66
66
  * See `RuntimeStateDurability`. Enforced by
67
67
  * `scripts/check-runtime-state-durability.ts`.
68
68
  */
69
- readonly durability: "session";
69
+ readonly durability: 'session';
70
70
  };
71
71
  export type IAutomationControlProvider = InferProvider<typeof automationControlCapability>;
@@ -117,8 +117,8 @@ declare const BackupEntrySchema: z.ZodObject<{
117
117
  declare const ArchiveEntrySchema: z.ZodObject<{
118
118
  path: z.ZodString;
119
119
  kind: z.ZodEnum<{
120
- file: "file";
121
120
  dir: "dir";
121
+ file: "file";
122
122
  symlink: "symlink";
123
123
  }>;
124
124
  sizeBytes: z.ZodNumber;
@@ -132,8 +132,8 @@ declare const ArchiveManifestSchema: z.ZodObject<{
132
132
  entries: z.ZodArray<z.ZodObject<{
133
133
  path: z.ZodString;
134
134
  kind: z.ZodEnum<{
135
- file: "file";
136
135
  dir: "dir";
136
+ file: "file";
137
137
  symlink: "symlink";
138
138
  }>;
139
139
  sizeBytes: z.ZodNumber;
@@ -164,10 +164,10 @@ declare const LocationStatSchema: z.ZodObject<{
164
164
  }, z.core.$strip>;
165
165
  /** Lifecycle of a backup run. Terminal states: succeeded / failed / cancelled. */
166
166
  declare const BackupRunStateSchema: z.ZodEnum<{
167
+ cancelled: "cancelled";
168
+ failed: "failed";
167
169
  queued: "queued";
168
170
  running: "running";
169
- failed: "failed";
170
- cancelled: "cancelled";
171
171
  succeeded: "succeeded";
172
172
  }>;
173
173
  /**
@@ -176,9 +176,9 @@ declare const BackupRunStateSchema: z.ZodEnum<{
176
176
  * per-destination fan-out, `done` once terminal.
177
177
  */
178
178
  declare const BackupRunPhaseSchema: z.ZodEnum<{
179
- queued: "queued";
180
- done: "done";
181
179
  building: "building";
180
+ done: "done";
181
+ queued: "queued";
182
182
  uploading: "uploading";
183
183
  }>;
184
184
  /**
@@ -192,16 +192,16 @@ declare const BackupRunPhaseSchema: z.ZodEnum<{
192
192
  declare const BackupRunSchema: z.ZodObject<{
193
193
  id: z.ZodString;
194
194
  state: z.ZodEnum<{
195
+ cancelled: "cancelled";
196
+ failed: "failed";
195
197
  queued: "queued";
196
198
  running: "running";
197
- failed: "failed";
198
- cancelled: "cancelled";
199
199
  succeeded: "succeeded";
200
200
  }>;
201
201
  phase: z.ZodEnum<{
202
- queued: "queued";
203
- done: "done";
204
202
  building: "building";
203
+ done: "done";
204
+ queued: "queued";
205
205
  uploading: "uploading";
206
206
  }>;
207
207
  destinationIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
@@ -277,9 +277,9 @@ declare const BackupScheduleSchema: z.ZodObject<{
277
277
  * can replace it by registering the same capability.
278
278
  */
279
279
  export declare const backupCapability: {
280
- readonly name: "backup";
281
- readonly scope: "system";
282
- readonly mode: "singleton";
280
+ readonly name: 'backup';
281
+ readonly scope: 'system';
282
+ readonly mode: 'singleton';
283
283
  readonly methods: {
284
284
  /**
285
285
  * Flat aggregate of every destination across every registered
@@ -351,16 +351,16 @@ export declare const backupCapability: {
351
351
  readonly listRuns: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
352
352
  id: z.ZodString;
353
353
  state: z.ZodEnum<{
354
+ cancelled: "cancelled";
355
+ failed: "failed";
354
356
  queued: "queued";
355
357
  running: "running";
356
- failed: "failed";
357
- cancelled: "cancelled";
358
358
  succeeded: "succeeded";
359
359
  }>;
360
360
  phase: z.ZodEnum<{
361
- queued: "queued";
362
- done: "done";
363
361
  building: "building";
362
+ done: "done";
363
+ queued: "queued";
364
364
  uploading: "uploading";
365
365
  }>;
366
366
  destinationIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
@@ -433,8 +433,8 @@ export declare const backupCapability: {
433
433
  entries: z.ZodArray<z.ZodObject<{
434
434
  path: z.ZodString;
435
435
  kind: z.ZodEnum<{
436
- file: "file";
437
436
  dir: "dir";
437
+ file: "file";
438
438
  symlink: "symlink";
439
439
  }>;
440
440
  sizeBytes: z.ZodNumber;