@camstack/types 1.2.336 → 1.2.338
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.
- package/dist/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +285 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +78 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/index.js +111 -2
- package/dist/index.mjs +111 -2
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/platform.d.ts +6 -1
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +100 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -62,9 +62,9 @@ declare const PasskeySummarySchema: z.ZodObject<{
|
|
|
62
62
|
}, z.core.$strip>;
|
|
63
63
|
export type PasskeySummary = z.infer<typeof PasskeySummarySchema>;
|
|
64
64
|
export declare const userPasskeysCapability: {
|
|
65
|
-
readonly name:
|
|
66
|
-
readonly scope:
|
|
67
|
-
readonly mode:
|
|
65
|
+
readonly name: 'user-passkeys';
|
|
66
|
+
readonly scope: 'system';
|
|
67
|
+
readonly mode: 'collection';
|
|
68
68
|
readonly internal: true;
|
|
69
69
|
readonly methods: {
|
|
70
70
|
readonly beginRegistration: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -27,13 +27,13 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
27
27
|
* so the HA provider leaves all four `null`.
|
|
28
28
|
*/
|
|
29
29
|
export declare const VacuumStateSchema: z.ZodEnum<{
|
|
30
|
+
cleaning: "cleaning";
|
|
31
|
+
docked: "docked";
|
|
32
|
+
drying: "drying";
|
|
30
33
|
error: "error";
|
|
31
34
|
idle: "idle";
|
|
32
35
|
paused: "paused";
|
|
33
|
-
docked: "docked";
|
|
34
|
-
cleaning: "cleaning";
|
|
35
36
|
returning: "returning";
|
|
36
|
-
drying: "drying";
|
|
37
37
|
}>;
|
|
38
38
|
export type VacuumState = z.infer<typeof VacuumStateSchema>;
|
|
39
39
|
/**
|
|
@@ -54,13 +54,13 @@ export declare const TankStatusSchema: z.ZodObject<{
|
|
|
54
54
|
export type TankStatus = z.infer<typeof TankStatusSchema>;
|
|
55
55
|
export declare const VacuumControlStatusSchema: z.ZodObject<{
|
|
56
56
|
state: z.ZodEnum<{
|
|
57
|
+
cleaning: "cleaning";
|
|
58
|
+
docked: "docked";
|
|
59
|
+
drying: "drying";
|
|
57
60
|
error: "error";
|
|
58
61
|
idle: "idle";
|
|
59
62
|
paused: "paused";
|
|
60
|
-
docked: "docked";
|
|
61
|
-
cleaning: "cleaning";
|
|
62
63
|
returning: "returning";
|
|
63
|
-
drying: "drying";
|
|
64
64
|
}>;
|
|
65
65
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
66
66
|
fanSpeed: z.ZodNullable<z.ZodString>;
|
|
@@ -104,10 +104,10 @@ export declare const VacuumControlStatusSchema: z.ZodObject<{
|
|
|
104
104
|
}, z.core.$strip>;
|
|
105
105
|
export type VacuumControlStatus = z.infer<typeof VacuumControlStatusSchema>;
|
|
106
106
|
export declare const vacuumControlCapability: {
|
|
107
|
-
readonly name:
|
|
108
|
-
readonly scope:
|
|
107
|
+
readonly name: 'vacuum-control';
|
|
108
|
+
readonly scope: 'device';
|
|
109
109
|
readonly deviceNative: true;
|
|
110
|
-
readonly mode:
|
|
110
|
+
readonly mode: 'singleton';
|
|
111
111
|
readonly deviceTypes: readonly [DeviceType.Vacuum];
|
|
112
112
|
readonly methods: {
|
|
113
113
|
readonly start: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -133,13 +133,13 @@ export declare const vacuumControlCapability: {
|
|
|
133
133
|
readonly status: {
|
|
134
134
|
readonly schema: z.ZodObject<{
|
|
135
135
|
state: z.ZodEnum<{
|
|
136
|
+
cleaning: "cleaning";
|
|
137
|
+
docked: "docked";
|
|
138
|
+
drying: "drying";
|
|
136
139
|
error: "error";
|
|
137
140
|
idle: "idle";
|
|
138
141
|
paused: "paused";
|
|
139
|
-
docked: "docked";
|
|
140
|
-
cleaning: "cleaning";
|
|
141
142
|
returning: "returning";
|
|
142
|
-
drying: "drying";
|
|
143
143
|
}>;
|
|
144
144
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
145
145
|
fanSpeed: z.ZodNullable<z.ZodString>;
|
|
@@ -181,7 +181,7 @@ export declare const vacuumControlCapability: {
|
|
|
181
181
|
errorLabel: z.ZodNullable<z.ZodString>;
|
|
182
182
|
lastChangedAt: z.ZodNumber;
|
|
183
183
|
}, z.core.$strip>;
|
|
184
|
-
readonly kind:
|
|
184
|
+
readonly kind: 'push';
|
|
185
185
|
};
|
|
186
186
|
/**
|
|
187
187
|
* Runtime-state slice — mirrored by the kernel. UI controls watch the
|
|
@@ -189,13 +189,13 @@ export declare const vacuumControlCapability: {
|
|
|
189
189
|
*/
|
|
190
190
|
readonly runtimeState: z.ZodObject<{
|
|
191
191
|
state: z.ZodEnum<{
|
|
192
|
+
cleaning: "cleaning";
|
|
193
|
+
docked: "docked";
|
|
194
|
+
drying: "drying";
|
|
192
195
|
error: "error";
|
|
193
196
|
idle: "idle";
|
|
194
197
|
paused: "paused";
|
|
195
|
-
docked: "docked";
|
|
196
|
-
cleaning: "cleaning";
|
|
197
198
|
returning: "returning";
|
|
198
|
-
drying: "drying";
|
|
199
199
|
}>;
|
|
200
200
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
201
201
|
fanSpeed: z.ZodNullable<z.ZodString>;
|
|
@@ -243,6 +243,6 @@ export declare const vacuumControlCapability: {
|
|
|
243
243
|
* See `RuntimeStateDurability`. Enforced by
|
|
244
244
|
* `scripts/check-runtime-state-durability.ts`.
|
|
245
245
|
*/
|
|
246
|
-
readonly durability:
|
|
246
|
+
readonly durability: 'session';
|
|
247
247
|
};
|
|
248
248
|
export type IVacuumControlProvider = InferProvider<typeof vacuumControlCapability>;
|
|
@@ -19,30 +19,30 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
19
19
|
* - `ValvePositionable` — intermediate `position` slider / drag
|
|
20
20
|
*/
|
|
21
21
|
export declare const ValveStateSchema: z.ZodEnum<{
|
|
22
|
-
|
|
22
|
+
closed: "closed";
|
|
23
|
+
closing: "closing";
|
|
23
24
|
open: "open";
|
|
24
25
|
opening: "opening";
|
|
25
|
-
|
|
26
|
-
closed: "closed";
|
|
26
|
+
stopped: "stopped";
|
|
27
27
|
}>;
|
|
28
28
|
export type ValveState = z.infer<typeof ValveStateSchema>;
|
|
29
29
|
export declare const ValveStatusSchema: z.ZodObject<{
|
|
30
30
|
state: z.ZodEnum<{
|
|
31
|
-
|
|
31
|
+
closed: "closed";
|
|
32
|
+
closing: "closing";
|
|
32
33
|
open: "open";
|
|
33
34
|
opening: "opening";
|
|
34
|
-
|
|
35
|
-
closed: "closed";
|
|
35
|
+
stopped: "stopped";
|
|
36
36
|
}>;
|
|
37
37
|
position: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
lastChangedAt: z.ZodNumber;
|
|
39
39
|
}, z.core.$strip>;
|
|
40
40
|
export type ValveStatus = z.infer<typeof ValveStatusSchema>;
|
|
41
41
|
export declare const valveCapability: {
|
|
42
|
-
readonly name:
|
|
43
|
-
readonly scope:
|
|
42
|
+
readonly name: 'valve';
|
|
43
|
+
readonly scope: 'device';
|
|
44
44
|
readonly deviceNative: true;
|
|
45
|
-
readonly mode:
|
|
45
|
+
readonly mode: 'singleton';
|
|
46
46
|
readonly deviceTypes: readonly [DeviceType.Valve];
|
|
47
47
|
readonly methods: {
|
|
48
48
|
readonly open: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -62,16 +62,16 @@ export declare const valveCapability: {
|
|
|
62
62
|
readonly status: {
|
|
63
63
|
readonly schema: z.ZodObject<{
|
|
64
64
|
state: z.ZodEnum<{
|
|
65
|
-
|
|
65
|
+
closed: "closed";
|
|
66
|
+
closing: "closing";
|
|
66
67
|
open: "open";
|
|
67
68
|
opening: "opening";
|
|
68
|
-
|
|
69
|
-
closed: "closed";
|
|
69
|
+
stopped: "stopped";
|
|
70
70
|
}>;
|
|
71
71
|
position: z.ZodNullable<z.ZodNumber>;
|
|
72
72
|
lastChangedAt: z.ZodNumber;
|
|
73
73
|
}, z.core.$strip>;
|
|
74
|
-
readonly kind:
|
|
74
|
+
readonly kind: 'push';
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
77
|
* Runtime-state slice — mirrored by the kernel. UI controls watch the
|
|
@@ -79,11 +79,11 @@ export declare const valveCapability: {
|
|
|
79
79
|
*/
|
|
80
80
|
readonly runtimeState: z.ZodObject<{
|
|
81
81
|
state: z.ZodEnum<{
|
|
82
|
-
|
|
82
|
+
closed: "closed";
|
|
83
|
+
closing: "closing";
|
|
83
84
|
open: "open";
|
|
84
85
|
opening: "opening";
|
|
85
|
-
|
|
86
|
-
closed: "closed";
|
|
86
|
+
stopped: "stopped";
|
|
87
87
|
}>;
|
|
88
88
|
position: z.ZodNullable<z.ZodNumber>;
|
|
89
89
|
lastChangedAt: z.ZodNumber;
|
|
@@ -94,6 +94,6 @@ export declare const valveCapability: {
|
|
|
94
94
|
* See `RuntimeStateDurability`. Enforced by
|
|
95
95
|
* `scripts/check-runtime-state-durability.ts`.
|
|
96
96
|
*/
|
|
97
|
-
readonly durability:
|
|
97
|
+
readonly durability: 'session';
|
|
98
98
|
};
|
|
99
99
|
export type IValveProvider = InferProvider<typeof valveCapability>;
|
|
@@ -270,9 +270,9 @@ export declare const VectorStatsResultSchema: z.ZodObject<{
|
|
|
270
270
|
* costs them nothing. No client (viewer or admin-ui) calls `vectorStore.*`.
|
|
271
271
|
*/
|
|
272
272
|
export declare const vectorStoreCapability: {
|
|
273
|
-
readonly name:
|
|
274
|
-
readonly scope:
|
|
275
|
-
readonly mode:
|
|
273
|
+
readonly name: 'vector-store';
|
|
274
|
+
readonly scope: 'system';
|
|
275
|
+
readonly mode: 'singleton';
|
|
276
276
|
readonly internal: true;
|
|
277
277
|
readonly methods: {
|
|
278
278
|
/** Idempotent. Re-declaring with a different `dim` is an error, not a wipe. */
|
|
@@ -11,10 +11,10 @@ export declare const VibrationStatusSchema: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
export type VibrationStatus = z.infer<typeof VibrationStatusSchema>;
|
|
13
13
|
export declare const vibrationCapability: {
|
|
14
|
-
readonly name:
|
|
15
|
-
readonly scope:
|
|
14
|
+
readonly name: 'vibration';
|
|
15
|
+
readonly scope: 'device';
|
|
16
16
|
readonly deviceNative: true;
|
|
17
|
-
readonly mode:
|
|
17
|
+
readonly mode: 'singleton';
|
|
18
18
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
19
19
|
readonly methods: {};
|
|
20
20
|
readonly status: {
|
|
@@ -22,7 +22,7 @@ export declare const vibrationCapability: {
|
|
|
22
22
|
detected: z.ZodBoolean;
|
|
23
23
|
lastChangedAt: z.ZodNumber;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
|
-
readonly kind:
|
|
25
|
+
readonly kind: 'push';
|
|
26
26
|
};
|
|
27
27
|
readonly runtimeState: z.ZodObject<{
|
|
28
28
|
detected: z.ZodBoolean;
|
|
@@ -34,7 +34,7 @@ export declare const vibrationCapability: {
|
|
|
34
34
|
* See `RuntimeStateDurability`. Enforced by
|
|
35
35
|
* `scripts/check-runtime-state-durability.ts`.
|
|
36
36
|
*/
|
|
37
|
-
readonly durability:
|
|
37
|
+
readonly durability: 'restored';
|
|
38
38
|
/** Clock fields: written, but excluded from the compare that decides
|
|
39
39
|
* whether persisting is worth a SQLite commit. */
|
|
40
40
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -61,16 +61,16 @@ export declare const MAX_CLIP_LABELS = 3;
|
|
|
61
61
|
* rendered as `Refused: <prose>`.
|
|
62
62
|
*/
|
|
63
63
|
export declare const ClipStillRefusalCodeSchema: z.ZodEnum<{
|
|
64
|
-
unsupported: "unsupported";
|
|
65
|
-
"unknown-device": "unknown-device";
|
|
66
|
-
sleeping: "sleeping";
|
|
67
|
-
"camera-refused": "camera-refused";
|
|
68
|
-
"no-keyframe": "no-keyframe";
|
|
69
|
-
"queue-full": "queue-full";
|
|
70
64
|
"camera-backoff": "camera-backoff";
|
|
65
|
+
"camera-refused": "camera-refused";
|
|
71
66
|
"decode-failed": "decode-failed";
|
|
72
67
|
"no-catalog-row": "no-catalog-row";
|
|
68
|
+
"no-keyframe": "no-keyframe";
|
|
69
|
+
"queue-full": "queue-full";
|
|
70
|
+
sleeping: "sleeping";
|
|
73
71
|
"uid-missing": "uid-missing";
|
|
72
|
+
"unknown-device": "unknown-device";
|
|
73
|
+
unsupported: "unsupported";
|
|
74
74
|
}>;
|
|
75
75
|
export type ClipStillRefusalCode = z.infer<typeof ClipStillRefusalCodeSchema>;
|
|
76
76
|
/**
|
|
@@ -134,10 +134,10 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
134
134
|
id: z.ZodString;
|
|
135
135
|
source: z.ZodString;
|
|
136
136
|
kind: z.ZodEnum<{
|
|
137
|
-
object: "object";
|
|
138
|
-
motion: "motion";
|
|
139
137
|
audio: "audio";
|
|
138
|
+
motion: "motion";
|
|
140
139
|
native: "native";
|
|
140
|
+
object: "object";
|
|
141
141
|
}>;
|
|
142
142
|
timeRange: z.ZodObject<{
|
|
143
143
|
startMs: z.ZodNumber;
|
|
@@ -155,10 +155,10 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
155
155
|
thumbnailMint: z.ZodOptional<z.ZodString>;
|
|
156
156
|
thumbnailUnavailable: z.ZodOptional<z.ZodObject<{
|
|
157
157
|
reason: z.ZodEnum<{
|
|
158
|
-
unsupported: "unsupported";
|
|
159
|
-
sleeping: "sleeping";
|
|
160
158
|
"camera-refused": "camera-refused";
|
|
161
159
|
"no-keyframe": "no-keyframe";
|
|
160
|
+
sleeping: "sleeping";
|
|
161
|
+
unsupported: "unsupported";
|
|
162
162
|
}>;
|
|
163
163
|
}, z.core.$strip>>;
|
|
164
164
|
catalogAsOf: z.ZodOptional<z.ZodNumber>;
|
|
@@ -188,8 +188,8 @@ export declare const ClipPlaybackSchema: z.ZodObject<{
|
|
|
188
188
|
}>>;
|
|
189
189
|
served: z.ZodOptional<z.ZodEnum<{
|
|
190
190
|
high: "high";
|
|
191
|
-
mid: "mid";
|
|
192
191
|
low: "low";
|
|
192
|
+
mid: "mid";
|
|
193
193
|
}>>;
|
|
194
194
|
playbackEndpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
195
195
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -293,8 +293,8 @@ export declare const ClipBytesSchema: z.ZodObject<{
|
|
|
293
293
|
bytes: z.ZodNumber;
|
|
294
294
|
served: z.ZodEnum<{
|
|
295
295
|
high: "high";
|
|
296
|
-
mid: "mid";
|
|
297
296
|
low: "low";
|
|
297
|
+
mid: "mid";
|
|
298
298
|
}>;
|
|
299
299
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
300
300
|
}, z.core.$strip>;
|
|
@@ -321,8 +321,8 @@ export declare const ClipBytesOfferSchema: z.ZodObject<{
|
|
|
321
321
|
name: z.ZodString;
|
|
322
322
|
served: z.ZodEnum<{
|
|
323
323
|
high: "high";
|
|
324
|
-
mid: "mid";
|
|
325
324
|
low: "low";
|
|
325
|
+
mid: "mid";
|
|
326
326
|
}>;
|
|
327
327
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
328
328
|
}, z.core.$strip>;
|
|
@@ -349,8 +349,8 @@ export type ClipBytesOffer = z.infer<typeof ClipBytesOfferSchema>;
|
|
|
349
349
|
*/
|
|
350
350
|
export declare const ClipStreamAudioSchema: z.ZodEnum<{
|
|
351
351
|
none: "none";
|
|
352
|
-
pcmu: "pcmu";
|
|
353
352
|
opus: "opus";
|
|
353
|
+
pcmu: "pcmu";
|
|
354
354
|
}>;
|
|
355
355
|
export type ClipStreamAudio = z.infer<typeof ClipStreamAudioSchema>;
|
|
356
356
|
/**
|
|
@@ -378,13 +378,13 @@ export declare const ClipStreamDialSchema: z.ZodObject<{
|
|
|
378
378
|
transport: z.ZodLiteral<"forward-only">;
|
|
379
379
|
served: z.ZodEnum<{
|
|
380
380
|
high: "high";
|
|
381
|
-
mid: "mid";
|
|
382
381
|
low: "low";
|
|
382
|
+
mid: "mid";
|
|
383
383
|
}>;
|
|
384
384
|
servedAudio: z.ZodEnum<{
|
|
385
385
|
none: "none";
|
|
386
|
-
pcmu: "pcmu";
|
|
387
386
|
opus: "opus";
|
|
387
|
+
pcmu: "pcmu";
|
|
388
388
|
}>;
|
|
389
389
|
audioReason: z.ZodOptional<z.ZodEnum<{
|
|
390
390
|
"not-requested": "not-requested";
|
|
@@ -513,11 +513,11 @@ export declare const ClipPlaybackOptionsSchema: z.ZodObject<{
|
|
|
513
513
|
export type ClipPlaybackOptions = z.infer<typeof ClipPlaybackOptionsSchema>;
|
|
514
514
|
export declare const ClipSourceAvailabilitySchema: z.ZodObject<{
|
|
515
515
|
state: z.ZodEnum<{
|
|
516
|
-
|
|
516
|
+
"index-empty": "index-empty";
|
|
517
|
+
"no-storage": "no-storage";
|
|
517
518
|
ok: "ok";
|
|
518
519
|
sleeping: "sleeping";
|
|
519
|
-
|
|
520
|
-
"index-empty": "index-empty";
|
|
520
|
+
unreachable: "unreachable";
|
|
521
521
|
}>;
|
|
522
522
|
reason: z.ZodOptional<z.ZodString>;
|
|
523
523
|
catalogAsOf: z.ZodOptional<z.ZodNumber>;
|
|
@@ -538,11 +538,11 @@ export declare const ClipSourceSchema: z.ZodObject<{
|
|
|
538
538
|
addonId: z.ZodOptional<z.ZodString>;
|
|
539
539
|
availability: z.ZodObject<{
|
|
540
540
|
state: z.ZodEnum<{
|
|
541
|
-
|
|
541
|
+
"index-empty": "index-empty";
|
|
542
|
+
"no-storage": "no-storage";
|
|
542
543
|
ok: "ok";
|
|
543
544
|
sleeping: "sleeping";
|
|
544
|
-
|
|
545
|
-
"index-empty": "index-empty";
|
|
545
|
+
unreachable: "unreachable";
|
|
546
546
|
}>;
|
|
547
547
|
reason: z.ZodOptional<z.ZodString>;
|
|
548
548
|
catalogAsOf: z.ZodOptional<z.ZodNumber>;
|
|
@@ -550,10 +550,10 @@ export declare const ClipSourceSchema: z.ZodObject<{
|
|
|
550
550
|
}, z.core.$strip>;
|
|
551
551
|
export type ClipSource = z.infer<typeof ClipSourceSchema>;
|
|
552
552
|
export declare const videoclipsCapability: {
|
|
553
|
-
readonly name:
|
|
554
|
-
readonly scope:
|
|
555
|
-
readonly mode:
|
|
556
|
-
readonly kind:
|
|
553
|
+
readonly name: 'videoclips';
|
|
554
|
+
readonly scope: 'device';
|
|
555
|
+
readonly mode: 'collection';
|
|
556
|
+
readonly kind: 'wrapper';
|
|
557
557
|
readonly defaultActive: true;
|
|
558
558
|
/** A clip is a window over a camera's footage — the cap is meaningless on a
|
|
559
559
|
* sensor, a button or an event emitter, and the `defaultActive` auto-bind
|
|
@@ -587,11 +587,11 @@ export declare const videoclipsCapability: {
|
|
|
587
587
|
*/
|
|
588
588
|
readonly deviceConfig: {
|
|
589
589
|
readonly ui: {
|
|
590
|
-
readonly kind:
|
|
591
|
-
readonly widgetId:
|
|
592
|
-
readonly tab:
|
|
590
|
+
readonly kind: 'widget';
|
|
591
|
+
readonly widgetId: 'host/clips-browser';
|
|
592
|
+
readonly tab: 'recording';
|
|
593
593
|
readonly topTab: true;
|
|
594
|
-
readonly label:
|
|
594
|
+
readonly label: 'Clips';
|
|
595
595
|
readonly order: 100;
|
|
596
596
|
};
|
|
597
597
|
};
|
|
@@ -606,10 +606,10 @@ export declare const videoclipsCapability: {
|
|
|
606
606
|
id: z.ZodString;
|
|
607
607
|
source: z.ZodString;
|
|
608
608
|
kind: z.ZodEnum<{
|
|
609
|
-
object: "object";
|
|
610
|
-
motion: "motion";
|
|
611
609
|
audio: "audio";
|
|
610
|
+
motion: "motion";
|
|
612
611
|
native: "native";
|
|
612
|
+
object: "object";
|
|
613
613
|
}>;
|
|
614
614
|
timeRange: z.ZodObject<{
|
|
615
615
|
startMs: z.ZodNumber;
|
|
@@ -627,10 +627,10 @@ export declare const videoclipsCapability: {
|
|
|
627
627
|
thumbnailMint: z.ZodOptional<z.ZodString>;
|
|
628
628
|
thumbnailUnavailable: z.ZodOptional<z.ZodObject<{
|
|
629
629
|
reason: z.ZodEnum<{
|
|
630
|
-
unsupported: "unsupported";
|
|
631
|
-
sleeping: "sleeping";
|
|
632
630
|
"camera-refused": "camera-refused";
|
|
633
631
|
"no-keyframe": "no-keyframe";
|
|
632
|
+
sleeping: "sleeping";
|
|
633
|
+
unsupported: "unsupported";
|
|
634
634
|
}>;
|
|
635
635
|
}, z.core.$strip>>;
|
|
636
636
|
catalogAsOf: z.ZodOptional<z.ZodNumber>;
|
|
@@ -668,11 +668,11 @@ export declare const videoclipsCapability: {
|
|
|
668
668
|
addonId: z.ZodOptional<z.ZodString>;
|
|
669
669
|
availability: z.ZodObject<{
|
|
670
670
|
state: z.ZodEnum<{
|
|
671
|
-
|
|
671
|
+
"index-empty": "index-empty";
|
|
672
|
+
"no-storage": "no-storage";
|
|
672
673
|
ok: "ok";
|
|
673
674
|
sleeping: "sleeping";
|
|
674
|
-
|
|
675
|
-
"index-empty": "index-empty";
|
|
675
|
+
unreachable: "unreachable";
|
|
676
676
|
}>;
|
|
677
677
|
reason: z.ZodOptional<z.ZodString>;
|
|
678
678
|
catalogAsOf: z.ZodOptional<z.ZodNumber>;
|
|
@@ -683,8 +683,8 @@ export declare const videoclipsCapability: {
|
|
|
683
683
|
clipId: z.ZodString;
|
|
684
684
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
685
685
|
high: "high";
|
|
686
|
-
mid: "mid";
|
|
687
686
|
low: "low";
|
|
687
|
+
mid: "mid";
|
|
688
688
|
}>>;
|
|
689
689
|
}, z.core.$strip>, z.ZodObject<{
|
|
690
690
|
playbackUrl: z.ZodString;
|
|
@@ -694,8 +694,8 @@ export declare const videoclipsCapability: {
|
|
|
694
694
|
}>>;
|
|
695
695
|
served: z.ZodOptional<z.ZodEnum<{
|
|
696
696
|
high: "high";
|
|
697
|
-
mid: "mid";
|
|
698
697
|
low: "low";
|
|
698
|
+
mid: "mid";
|
|
699
699
|
}>>;
|
|
700
700
|
playbackEndpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
701
701
|
token: z.ZodOptional<z.ZodString>;
|
|
@@ -744,8 +744,8 @@ export declare const videoclipsCapability: {
|
|
|
744
744
|
provider: z.ZodString;
|
|
745
745
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
746
746
|
high: "high";
|
|
747
|
-
mid: "mid";
|
|
748
747
|
low: "low";
|
|
748
|
+
mid: "mid";
|
|
749
749
|
}>>;
|
|
750
750
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
751
751
|
wake: z.ZodOptional<z.ZodEnum<{
|
|
@@ -758,8 +758,8 @@ export declare const videoclipsCapability: {
|
|
|
758
758
|
bytes: z.ZodNumber;
|
|
759
759
|
served: z.ZodEnum<{
|
|
760
760
|
high: "high";
|
|
761
|
-
mid: "mid";
|
|
762
761
|
low: "low";
|
|
762
|
+
mid: "mid";
|
|
763
763
|
}>;
|
|
764
764
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
765
765
|
}, z.core.$strip>, "query"> & {
|
|
@@ -806,8 +806,8 @@ export declare const videoclipsCapability: {
|
|
|
806
806
|
provider: z.ZodString;
|
|
807
807
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
808
808
|
high: "high";
|
|
809
|
-
mid: "mid";
|
|
810
809
|
low: "low";
|
|
810
|
+
mid: "mid";
|
|
811
811
|
}>>;
|
|
812
812
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
813
813
|
wake: z.ZodOptional<z.ZodEnum<{
|
|
@@ -824,8 +824,8 @@ export declare const videoclipsCapability: {
|
|
|
824
824
|
name: z.ZodString;
|
|
825
825
|
served: z.ZodEnum<{
|
|
826
826
|
high: "high";
|
|
827
|
-
mid: "mid";
|
|
828
827
|
low: "low";
|
|
828
|
+
mid: "mid";
|
|
829
829
|
}>;
|
|
830
830
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
831
831
|
}, z.core.$strip>, "query"> & {
|
|
@@ -853,13 +853,13 @@ export declare const videoclipsCapability: {
|
|
|
853
853
|
provider: z.ZodString;
|
|
854
854
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
855
855
|
high: "high";
|
|
856
|
-
mid: "mid";
|
|
857
856
|
low: "low";
|
|
857
|
+
mid: "mid";
|
|
858
858
|
}>>;
|
|
859
859
|
audio: z.ZodOptional<z.ZodEnum<{
|
|
860
860
|
none: "none";
|
|
861
|
-
pcmu: "pcmu";
|
|
862
861
|
opus: "opus";
|
|
862
|
+
pcmu: "pcmu";
|
|
863
863
|
}>>;
|
|
864
864
|
}, z.core.$strip>, z.ZodObject<{
|
|
865
865
|
url: z.ZodString;
|
|
@@ -867,13 +867,13 @@ export declare const videoclipsCapability: {
|
|
|
867
867
|
transport: z.ZodLiteral<"forward-only">;
|
|
868
868
|
served: z.ZodEnum<{
|
|
869
869
|
high: "high";
|
|
870
|
-
mid: "mid";
|
|
871
870
|
low: "low";
|
|
871
|
+
mid: "mid";
|
|
872
872
|
}>;
|
|
873
873
|
servedAudio: z.ZodEnum<{
|
|
874
874
|
none: "none";
|
|
875
|
-
pcmu: "pcmu";
|
|
876
875
|
opus: "opus";
|
|
876
|
+
pcmu: "pcmu";
|
|
877
877
|
}>;
|
|
878
878
|
audioReason: z.ZodOptional<z.ZodEnum<{
|
|
879
879
|
"not-requested": "not-requested";
|
|
@@ -942,8 +942,8 @@ export type IVideoclipsProvider = InferProvider<typeof videoclipsCapability>;
|
|
|
942
942
|
*/
|
|
943
943
|
export declare const CLIP_PLAYBACK_OPTIONS: {
|
|
944
944
|
readonly stream: {
|
|
945
|
-
readonly transport:
|
|
946
|
-
readonly seek:
|
|
945
|
+
readonly transport: 'stream';
|
|
946
|
+
readonly seek: 'forward';
|
|
947
947
|
readonly stepBack: false;
|
|
948
948
|
readonly scrub: false;
|
|
949
949
|
readonly rates: readonly number[];
|
|
@@ -957,15 +957,15 @@ export declare const CLIP_PLAYBACK_OPTIONS: {
|
|
|
957
957
|
* because a provider must still be able to do nothing but NAME one of these.
|
|
958
958
|
*/
|
|
959
959
|
readonly realtimeStream: {
|
|
960
|
-
readonly transport:
|
|
961
|
-
readonly seek:
|
|
960
|
+
readonly transport: 'stream';
|
|
961
|
+
readonly seek: 'forward';
|
|
962
962
|
readonly stepBack: false;
|
|
963
963
|
readonly scrub: false;
|
|
964
964
|
readonly rates: readonly number[];
|
|
965
965
|
};
|
|
966
966
|
readonly file: {
|
|
967
|
-
readonly transport:
|
|
968
|
-
readonly seek:
|
|
967
|
+
readonly transport: 'file';
|
|
968
|
+
readonly seek: 'free';
|
|
969
969
|
readonly stepBack: true;
|
|
970
970
|
readonly scrub: true;
|
|
971
971
|
readonly rates: readonly number[];
|
|
@@ -8,9 +8,9 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
8
8
|
* dedicated prefix.
|
|
9
9
|
*/
|
|
10
10
|
export declare const viewerUiCapability: {
|
|
11
|
-
readonly name:
|
|
12
|
-
readonly scope:
|
|
13
|
-
readonly mode:
|
|
11
|
+
readonly name: 'viewer-ui';
|
|
12
|
+
readonly scope: 'system';
|
|
13
|
+
readonly mode: 'singleton';
|
|
14
14
|
readonly internal: true;
|
|
15
15
|
readonly methods: {
|
|
16
16
|
/**
|
|
@@ -27,10 +27,10 @@ export declare const WaterHeaterStatusSchema: z.ZodObject<{
|
|
|
27
27
|
}, z.core.$strip>;
|
|
28
28
|
export type WaterHeaterStatus = z.infer<typeof WaterHeaterStatusSchema>;
|
|
29
29
|
export declare const waterHeaterCapability: {
|
|
30
|
-
readonly name:
|
|
31
|
-
readonly scope:
|
|
30
|
+
readonly name: 'water-heater';
|
|
31
|
+
readonly scope: 'device';
|
|
32
32
|
readonly deviceNative: true;
|
|
33
|
-
readonly mode:
|
|
33
|
+
readonly mode: 'singleton';
|
|
34
34
|
readonly deviceTypes: readonly [DeviceType.WaterHeater];
|
|
35
35
|
readonly methods: {
|
|
36
36
|
readonly setTargetTemp: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -57,7 +57,7 @@ export declare const waterHeaterCapability: {
|
|
|
57
57
|
maxTemp: z.ZodNullable<z.ZodNumber>;
|
|
58
58
|
lastChangedAt: z.ZodNumber;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
|
-
readonly kind:
|
|
60
|
+
readonly kind: 'push';
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Runtime-state slice — mirrored by the kernel. UI controls watch the
|
|
@@ -79,6 +79,6 @@ export declare const waterHeaterCapability: {
|
|
|
79
79
|
* See `RuntimeStateDurability`. Enforced by
|
|
80
80
|
* `scripts/check-runtime-state-durability.ts`.
|
|
81
81
|
*/
|
|
82
|
-
readonly durability:
|
|
82
|
+
readonly durability: 'session';
|
|
83
83
|
};
|
|
84
84
|
export type IWaterHeaterProvider = InferProvider<typeof waterHeaterCapability>;
|
|
@@ -34,10 +34,10 @@ export declare const WeatherStatusSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type WeatherStatus = z.infer<typeof WeatherStatusSchema>;
|
|
36
36
|
export declare const weatherCapability: {
|
|
37
|
-
readonly name:
|
|
38
|
-
readonly scope:
|
|
37
|
+
readonly name: 'weather';
|
|
38
|
+
readonly scope: 'device';
|
|
39
39
|
readonly deviceNative: true;
|
|
40
|
-
readonly mode:
|
|
40
|
+
readonly mode: 'singleton';
|
|
41
41
|
readonly deviceTypes: readonly [DeviceType.Weather];
|
|
42
42
|
readonly methods: {};
|
|
43
43
|
readonly status: {
|
|
@@ -53,7 +53,7 @@ export declare const weatherCapability: {
|
|
|
53
53
|
windBearing: z.ZodNullable<z.ZodNumber>;
|
|
54
54
|
lastFetchedAt: z.ZodNumber;
|
|
55
55
|
}, z.core.$strip>;
|
|
56
|
-
readonly kind:
|
|
56
|
+
readonly kind: 'push';
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* Runtime-state slice — mirrored by the kernel. The UI reads the
|
|
@@ -77,6 +77,6 @@ export declare const weatherCapability: {
|
|
|
77
77
|
* See `RuntimeStateDurability`. Enforced by
|
|
78
78
|
* `scripts/check-runtime-state-durability.ts`.
|
|
79
79
|
*/
|
|
80
|
-
readonly durability:
|
|
80
|
+
readonly durability: 'session';
|
|
81
81
|
};
|
|
82
82
|
export type IWeatherProvider = InferProvider<typeof weatherCapability>;
|