@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
|
@@ -27,10 +27,10 @@ export type DoorbellPressEvent = z.infer<typeof DoorbellPressEventSchema>;
|
|
|
27
27
|
* The DeviceEventPropagator re-emits `onPressed` on the camera parent.
|
|
28
28
|
*/
|
|
29
29
|
export declare const doorbellCapability: {
|
|
30
|
-
readonly name:
|
|
31
|
-
readonly scope:
|
|
30
|
+
readonly name: 'doorbell';
|
|
31
|
+
readonly scope: 'device';
|
|
32
32
|
readonly deviceNative: true;
|
|
33
|
-
readonly mode:
|
|
33
|
+
readonly mode: 'singleton';
|
|
34
34
|
readonly deviceTypes: readonly [DeviceType.Button, DeviceType.Camera];
|
|
35
35
|
readonly methods: {};
|
|
36
36
|
readonly events: {
|
|
@@ -45,8 +45,8 @@ export declare const doorbellCapability: {
|
|
|
45
45
|
timestamp: z.ZodNumber;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
47
|
readonly fromState: {
|
|
48
|
-
readonly field:
|
|
49
|
-
readonly on:
|
|
48
|
+
readonly field: 'lastPressedAt';
|
|
49
|
+
readonly on: 'advance';
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
};
|
|
@@ -55,7 +55,7 @@ export declare const doorbellCapability: {
|
|
|
55
55
|
lastPressedAt: z.ZodNullable<z.ZodNumber>;
|
|
56
56
|
pressCountSinceStart: z.ZodNumber;
|
|
57
57
|
}, z.core.$strip>;
|
|
58
|
-
readonly kind:
|
|
58
|
+
readonly kind: 'push';
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* Runtime-state slice — last press timestamp + lifetime press count.
|
|
@@ -73,6 +73,6 @@ export declare const doorbellCapability: {
|
|
|
73
73
|
* See `RuntimeStateDurability`. Enforced by
|
|
74
74
|
* `scripts/check-runtime-state-durability.ts`.
|
|
75
75
|
*/
|
|
76
|
-
readonly durability:
|
|
76
|
+
readonly durability: 'restored';
|
|
77
77
|
};
|
|
78
78
|
export type IDoorbellProvider = InferProvider<typeof doorbellCapability>;
|
|
@@ -111,8 +111,8 @@ export declare const EMBEDDING_REQUIREMENTS_UNAVAILABLE = "embedding-requirement
|
|
|
111
111
|
export declare const EMBEDDING_REQUIREMENTS_FAILED = "embedding-requirements-failed";
|
|
112
112
|
export declare const EmbeddingRefusalCodeSchema: z.ZodEnum<{
|
|
113
113
|
"embedding-model-failed": "embedding-model-failed";
|
|
114
|
-
"embedding-requirements-unavailable": "embedding-requirements-unavailable";
|
|
115
114
|
"embedding-requirements-failed": "embedding-requirements-failed";
|
|
115
|
+
"embedding-requirements-unavailable": "embedding-requirements-unavailable";
|
|
116
116
|
}>;
|
|
117
117
|
export type EmbeddingRefusalCode = z.infer<typeof EmbeddingRefusalCodeSchema>;
|
|
118
118
|
/** What every token names: enough to count a refusal and to point at the reset. */
|
|
@@ -149,9 +149,9 @@ export declare function embeddingModelFailedOf(err: unknown): EmbeddingModelFail
|
|
|
149
149
|
* UNKNOWN to the reader, never "no failures" (D315).
|
|
150
150
|
*/
|
|
151
151
|
export declare const embeddingEncoderCapability: {
|
|
152
|
-
readonly name:
|
|
153
|
-
readonly scope:
|
|
154
|
-
readonly mode:
|
|
152
|
+
readonly name: 'embedding-encoder';
|
|
153
|
+
readonly scope: 'system';
|
|
154
|
+
readonly mode: 'collection';
|
|
155
155
|
readonly internal: true;
|
|
156
156
|
readonly methods: {
|
|
157
157
|
/**
|
|
@@ -12,45 +12,45 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
12
12
|
/** Locale-render shape for an ISO `value` carried by a `DateTimeSensor`-role
|
|
13
13
|
* enum sensor: `date` (date-only), `time` (time-only), `datetime` (both). */
|
|
14
14
|
export declare const EnumSensorDateTimeFormatSchema: z.ZodEnum<{
|
|
15
|
-
datetime: "datetime";
|
|
16
15
|
date: "date";
|
|
16
|
+
datetime: "datetime";
|
|
17
17
|
time: "time";
|
|
18
18
|
}>;
|
|
19
19
|
export type EnumSensorDateTimeFormat = z.infer<typeof EnumSensorDateTimeFormatSchema>;
|
|
20
20
|
export declare const EnumSensorStatusSchema: z.ZodObject<{
|
|
21
21
|
value: z.ZodString;
|
|
22
22
|
format: z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
datetime: "datetime";
|
|
24
23
|
date: "date";
|
|
24
|
+
datetime: "datetime";
|
|
25
25
|
time: "time";
|
|
26
26
|
}>>;
|
|
27
27
|
lastFetchedAt: z.ZodNumber;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
export type EnumSensorStatus = z.infer<typeof EnumSensorStatusSchema>;
|
|
30
30
|
export declare const enumSensorCapability: {
|
|
31
|
-
readonly name:
|
|
32
|
-
readonly scope:
|
|
31
|
+
readonly name: 'enum-sensor';
|
|
32
|
+
readonly scope: 'device';
|
|
33
33
|
readonly deviceNative: true;
|
|
34
|
-
readonly mode:
|
|
34
|
+
readonly mode: 'singleton';
|
|
35
35
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
36
36
|
readonly methods: {};
|
|
37
37
|
readonly status: {
|
|
38
38
|
readonly schema: z.ZodObject<{
|
|
39
39
|
value: z.ZodString;
|
|
40
40
|
format: z.ZodOptional<z.ZodEnum<{
|
|
41
|
-
datetime: "datetime";
|
|
42
41
|
date: "date";
|
|
42
|
+
datetime: "datetime";
|
|
43
43
|
time: "time";
|
|
44
44
|
}>>;
|
|
45
45
|
lastFetchedAt: z.ZodNumber;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
|
-
readonly kind:
|
|
47
|
+
readonly kind: 'push';
|
|
48
48
|
};
|
|
49
49
|
readonly runtimeState: z.ZodObject<{
|
|
50
50
|
value: z.ZodString;
|
|
51
51
|
format: z.ZodOptional<z.ZodEnum<{
|
|
52
|
-
datetime: "datetime";
|
|
53
52
|
date: "date";
|
|
53
|
+
datetime: "datetime";
|
|
54
54
|
time: "time";
|
|
55
55
|
}>>;
|
|
56
56
|
lastFetchedAt: z.ZodNumber;
|
|
@@ -61,7 +61,7 @@ export declare const enumSensorCapability: {
|
|
|
61
61
|
* See `RuntimeStateDurability`. Enforced by
|
|
62
62
|
* `scripts/check-runtime-state-durability.ts`.
|
|
63
63
|
*/
|
|
64
|
-
readonly durability:
|
|
64
|
+
readonly durability: 'restored';
|
|
65
65
|
/** Clock fields: written, but excluded from the compare that decides
|
|
66
66
|
* whether persisting is worth a SQLite commit. */
|
|
67
67
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
@@ -32,10 +32,10 @@ export declare const EventEmitterStatusSchema: z.ZodObject<{
|
|
|
32
32
|
}, z.core.$strip>;
|
|
33
33
|
export type EventEmitterStatus = z.infer<typeof EventEmitterStatusSchema>;
|
|
34
34
|
export declare const eventEmitterCapability: {
|
|
35
|
-
readonly name:
|
|
36
|
-
readonly scope:
|
|
35
|
+
readonly name: 'event-emitter';
|
|
36
|
+
readonly scope: 'device';
|
|
37
37
|
readonly deviceNative: true;
|
|
38
|
-
readonly mode:
|
|
38
|
+
readonly mode: 'singleton';
|
|
39
39
|
readonly deviceTypes: readonly [DeviceType.EventEmitter];
|
|
40
40
|
readonly methods: {};
|
|
41
41
|
readonly events: {
|
|
@@ -61,7 +61,7 @@ export declare const eventEmitterCapability: {
|
|
|
61
61
|
}, z.core.$strip>>;
|
|
62
62
|
eventCountSinceStart: z.ZodNumber;
|
|
63
63
|
}, z.core.$strip>;
|
|
64
|
-
readonly kind:
|
|
64
|
+
readonly kind: 'push';
|
|
65
65
|
};
|
|
66
66
|
readonly runtimeState: z.ZodObject<{
|
|
67
67
|
eventTypes: z.ZodArray<z.ZodString>;
|
|
@@ -80,6 +80,6 @@ export declare const eventEmitterCapability: {
|
|
|
80
80
|
* See `RuntimeStateDurability`. Enforced by
|
|
81
81
|
* `scripts/check-runtime-state-durability.ts`.
|
|
82
82
|
*/
|
|
83
|
-
readonly durability:
|
|
83
|
+
readonly durability: 'session';
|
|
84
84
|
};
|
|
85
85
|
export type IEventEmitterProvider = InferProvider<typeof eventEmitterCapability>;
|
|
@@ -119,8 +119,8 @@ export type FaceInfo = z.infer<typeof FaceInfoSchema>;
|
|
|
119
119
|
* backend's NULL-collation accident.
|
|
120
120
|
*/
|
|
121
121
|
declare const FaceSortFieldEnum: z.ZodEnum<{
|
|
122
|
-
timestamp: "timestamp";
|
|
123
122
|
suggestionConfidence: "suggestionConfidence";
|
|
123
|
+
timestamp: "timestamp";
|
|
124
124
|
}>;
|
|
125
125
|
export type FaceSortField = z.infer<typeof FaceSortFieldEnum>;
|
|
126
126
|
declare const FaceSortDirectionEnum: z.ZodEnum<{
|
|
@@ -138,9 +138,9 @@ declare const FaceClusterSchema: z.ZodObject<{
|
|
|
138
138
|
}, z.core.$strip>;
|
|
139
139
|
export type FaceCluster = z.infer<typeof FaceClusterSchema>;
|
|
140
140
|
export declare const faceGalleryCapability: {
|
|
141
|
-
readonly name:
|
|
142
|
-
readonly scope:
|
|
143
|
-
readonly mode:
|
|
141
|
+
readonly name: 'face-gallery';
|
|
142
|
+
readonly scope: 'system';
|
|
143
|
+
readonly mode: 'singleton';
|
|
144
144
|
readonly methods: {
|
|
145
145
|
readonly listIdentities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
|
|
146
146
|
includeCrops: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -230,15 +230,15 @@ export declare const faceGalleryCapability: {
|
|
|
230
230
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
231
231
|
filter: z.ZodOptional<z.ZodEnum<{
|
|
232
232
|
all: "all";
|
|
233
|
-
unassigned: "unassigned";
|
|
234
|
-
recognized: "recognized";
|
|
235
233
|
identified: "identified";
|
|
234
|
+
recognized: "recognized";
|
|
235
|
+
unassigned: "unassigned";
|
|
236
236
|
}>>;
|
|
237
237
|
since: z.ZodOptional<z.ZodNumber>;
|
|
238
238
|
until: z.ZodOptional<z.ZodNumber>;
|
|
239
239
|
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
240
|
-
timestamp: "timestamp";
|
|
241
240
|
suggestionConfidence: "suggestionConfidence";
|
|
241
|
+
timestamp: "timestamp";
|
|
242
242
|
}>>;
|
|
243
243
|
sortDirection: z.ZodOptional<z.ZodEnum<{
|
|
244
244
|
asc: "asc";
|
|
@@ -73,9 +73,9 @@ declare const FailureContributionSchema: z.ZodObject<{
|
|
|
73
73
|
}, z.core.$strip>;
|
|
74
74
|
export type FailureContribution = z.infer<typeof FailureContributionSchema>;
|
|
75
75
|
export declare const failureContributionCapability: {
|
|
76
|
-
readonly name:
|
|
77
|
-
readonly scope:
|
|
78
|
-
readonly mode:
|
|
76
|
+
readonly name: 'failure-contribution';
|
|
77
|
+
readonly scope: 'system';
|
|
78
|
+
readonly mode: 'collection';
|
|
79
79
|
readonly internal: true;
|
|
80
80
|
readonly methods: {
|
|
81
81
|
/**
|
|
@@ -104,7 +104,7 @@ export declare const failureContributionCapability: {
|
|
|
104
104
|
};
|
|
105
105
|
/** In-process only — enumerated through `addons.listCapabilityProviders`. */
|
|
106
106
|
readonly mount: {
|
|
107
|
-
readonly kind:
|
|
107
|
+
readonly kind: 'skip';
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
110
|
export type IFailureContributionProvider = InferProvider<typeof failureContributionCapability>;
|
|
@@ -20,8 +20,8 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
20
20
|
* - `FanOscillating` — oscillation toggle
|
|
21
21
|
*/
|
|
22
22
|
export declare const FanDirectionSchema: z.ZodEnum<{
|
|
23
|
-
reverse: "reverse";
|
|
24
23
|
forward: "forward";
|
|
24
|
+
reverse: "reverse";
|
|
25
25
|
}>;
|
|
26
26
|
export type FanDirection = z.infer<typeof FanDirectionSchema>;
|
|
27
27
|
export declare const FanControlStatusSchema: z.ZodObject<{
|
|
@@ -30,18 +30,18 @@ export declare const FanControlStatusSchema: z.ZodObject<{
|
|
|
30
30
|
preset: z.ZodString;
|
|
31
31
|
availablePresets: z.ZodArray<z.ZodString>;
|
|
32
32
|
direction: z.ZodNullable<z.ZodEnum<{
|
|
33
|
-
reverse: "reverse";
|
|
34
33
|
forward: "forward";
|
|
34
|
+
reverse: "reverse";
|
|
35
35
|
}>>;
|
|
36
36
|
oscillating: z.ZodNullable<z.ZodBoolean>;
|
|
37
37
|
lastChangedAt: z.ZodNumber;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
39
|
export type FanControlStatus = z.infer<typeof FanControlStatusSchema>;
|
|
40
40
|
export declare const fanControlCapability: {
|
|
41
|
-
readonly name:
|
|
42
|
-
readonly scope:
|
|
41
|
+
readonly name: 'fan-control';
|
|
42
|
+
readonly scope: 'device';
|
|
43
43
|
readonly deviceNative: true;
|
|
44
|
-
readonly mode:
|
|
44
|
+
readonly mode: 'singleton';
|
|
45
45
|
readonly deviceTypes: readonly [DeviceType.Fan];
|
|
46
46
|
readonly methods: {
|
|
47
47
|
readonly setPercentage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -55,8 +55,8 @@ export declare const fanControlCapability: {
|
|
|
55
55
|
readonly setDirection: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
56
56
|
deviceId: z.ZodNumber;
|
|
57
57
|
direction: z.ZodEnum<{
|
|
58
|
-
reverse: "reverse";
|
|
59
58
|
forward: "forward";
|
|
59
|
+
reverse: "reverse";
|
|
60
60
|
}>;
|
|
61
61
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
62
62
|
readonly setOscillating: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -71,13 +71,13 @@ export declare const fanControlCapability: {
|
|
|
71
71
|
preset: z.ZodString;
|
|
72
72
|
availablePresets: z.ZodArray<z.ZodString>;
|
|
73
73
|
direction: z.ZodNullable<z.ZodEnum<{
|
|
74
|
-
reverse: "reverse";
|
|
75
74
|
forward: "forward";
|
|
75
|
+
reverse: "reverse";
|
|
76
76
|
}>>;
|
|
77
77
|
oscillating: z.ZodNullable<z.ZodBoolean>;
|
|
78
78
|
lastChangedAt: z.ZodNumber;
|
|
79
79
|
}, z.core.$strip>;
|
|
80
|
-
readonly kind:
|
|
80
|
+
readonly kind: 'push';
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
83
|
* Runtime-state slice — mirrored by the kernel. UI fan speed
|
|
@@ -89,8 +89,8 @@ export declare const fanControlCapability: {
|
|
|
89
89
|
preset: z.ZodString;
|
|
90
90
|
availablePresets: z.ZodArray<z.ZodString>;
|
|
91
91
|
direction: z.ZodNullable<z.ZodEnum<{
|
|
92
|
-
reverse: "reverse";
|
|
93
92
|
forward: "forward";
|
|
93
|
+
reverse: "reverse";
|
|
94
94
|
}>>;
|
|
95
95
|
oscillating: z.ZodNullable<z.ZodBoolean>;
|
|
96
96
|
lastChangedAt: z.ZodNumber;
|
|
@@ -101,6 +101,6 @@ export declare const fanControlCapability: {
|
|
|
101
101
|
* See `RuntimeStateDurability`. Enforced by
|
|
102
102
|
* `scripts/check-runtime-state-durability.ts`.
|
|
103
103
|
*/
|
|
104
|
-
readonly durability:
|
|
104
|
+
readonly durability: 'session';
|
|
105
105
|
};
|
|
106
106
|
export type IFanControlProvider = InferProvider<typeof fanControlCapability>;
|
|
@@ -34,10 +34,10 @@ export declare const FeatureProbeStatusSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type FeatureProbeStatus = z.infer<typeof FeatureProbeStatusSchema>;
|
|
36
36
|
export declare const featureProbeCapability: {
|
|
37
|
-
readonly name:
|
|
38
|
-
readonly scope:
|
|
37
|
+
readonly name: 'feature-probe';
|
|
38
|
+
readonly scope: 'device';
|
|
39
39
|
readonly deviceNative: true;
|
|
40
|
-
readonly mode:
|
|
40
|
+
readonly mode: 'singleton';
|
|
41
41
|
readonly methods: {};
|
|
42
42
|
readonly events: {
|
|
43
43
|
/** Fires whenever a fresh probe completes (kernel-driven `reprobe()`
|
|
@@ -65,7 +65,7 @@ export declare const featureProbeCapability: {
|
|
|
65
65
|
lastProbedAt: z.ZodNumber;
|
|
66
66
|
lastFetchedAt: z.ZodNumber;
|
|
67
67
|
}, z.core.$strip>;
|
|
68
|
-
readonly kind:
|
|
68
|
+
readonly kind: 'push';
|
|
69
69
|
};
|
|
70
70
|
readonly runtimeState: z.ZodObject<{
|
|
71
71
|
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -81,6 +81,6 @@ export declare const featureProbeCapability: {
|
|
|
81
81
|
* See `RuntimeStateDurability`. Enforced by
|
|
82
82
|
* `scripts/check-runtime-state-durability.ts`.
|
|
83
83
|
*/
|
|
84
|
-
readonly durability:
|
|
84
|
+
readonly durability: 'session';
|
|
85
85
|
};
|
|
86
86
|
export type IFeatureProbeProvider = InferProvider<typeof featureProbeCapability>;
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
import { z } from 'zod';
|
|
10
10
|
import { type InferProvider } from './capability-definition.js';
|
|
11
11
|
export declare const filesystemBrowseCapability: {
|
|
12
|
-
readonly name:
|
|
13
|
-
readonly scope:
|
|
14
|
-
readonly mode:
|
|
12
|
+
readonly name: 'filesystem-browse';
|
|
13
|
+
readonly scope: 'system';
|
|
14
|
+
readonly mode: 'singleton';
|
|
15
15
|
readonly internal: true;
|
|
16
16
|
readonly methods: {
|
|
17
17
|
/** The roots `createDir` is sandboxed to on this node. Browsing is not confined to them. */
|
|
@@ -15,10 +15,10 @@ export declare const FloodStatusSchema: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
export type FloodStatus = z.infer<typeof FloodStatusSchema>;
|
|
17
17
|
export declare const floodCapability: {
|
|
18
|
-
readonly name:
|
|
19
|
-
readonly scope:
|
|
18
|
+
readonly name: 'flood';
|
|
19
|
+
readonly scope: 'device';
|
|
20
20
|
readonly deviceNative: true;
|
|
21
|
-
readonly mode:
|
|
21
|
+
readonly mode: 'singleton';
|
|
22
22
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
23
23
|
readonly methods: {};
|
|
24
24
|
readonly status: {
|
|
@@ -26,7 +26,7 @@ export declare const floodCapability: {
|
|
|
26
26
|
flooded: z.ZodBoolean;
|
|
27
27
|
lastChangedAt: z.ZodNumber;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
|
-
readonly kind:
|
|
29
|
+
readonly kind: 'push';
|
|
30
30
|
};
|
|
31
31
|
readonly runtimeState: z.ZodObject<{
|
|
32
32
|
flooded: z.ZodBoolean;
|
|
@@ -38,7 +38,7 @@ export declare const floodCapability: {
|
|
|
38
38
|
* See `RuntimeStateDurability`. Enforced by
|
|
39
39
|
* `scripts/check-runtime-state-durability.ts`.
|
|
40
40
|
*/
|
|
41
|
-
readonly durability:
|
|
41
|
+
readonly durability: 'restored';
|
|
42
42
|
/** Clock fields: written, but excluded from the compare that decides
|
|
43
43
|
* whether persisting is worth a SQLite commit. */
|
|
44
44
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -12,10 +12,10 @@ export declare const GasStatusSchema: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export type GasStatus = z.infer<typeof GasStatusSchema>;
|
|
14
14
|
export declare const gasCapability: {
|
|
15
|
-
readonly name:
|
|
16
|
-
readonly scope:
|
|
15
|
+
readonly name: 'gas';
|
|
16
|
+
readonly scope: 'device';
|
|
17
17
|
readonly deviceNative: true;
|
|
18
|
-
readonly mode:
|
|
18
|
+
readonly mode: 'singleton';
|
|
19
19
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
20
20
|
readonly methods: {};
|
|
21
21
|
readonly status: {
|
|
@@ -23,7 +23,7 @@ export declare const gasCapability: {
|
|
|
23
23
|
detected: z.ZodBoolean;
|
|
24
24
|
lastChangedAt: z.ZodNumber;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
|
-
readonly kind:
|
|
26
|
+
readonly kind: 'push';
|
|
27
27
|
};
|
|
28
28
|
readonly runtimeState: z.ZodObject<{
|
|
29
29
|
detected: z.ZodBoolean;
|
|
@@ -35,7 +35,7 @@ export declare const gasCapability: {
|
|
|
35
35
|
* See `RuntimeStateDurability`. Enforced by
|
|
36
36
|
* `scripts/check-runtime-state-durability.ts`.
|
|
37
37
|
*/
|
|
38
|
-
readonly durability:
|
|
38
|
+
readonly durability: 'restored';
|
|
39
39
|
/** Clock fields: written, but excluded from the compare that decides
|
|
40
40
|
* whether persisting is worth a SQLite commit. */
|
|
41
41
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
*/
|
|
39
39
|
import type { z } from 'zod';
|
|
40
40
|
import type { ConnectionEndpoint, HubAddressRoleSchema } from './local-network.cap.js';
|
|
41
|
-
export declare const HUB_ADDRESS_ROLES: readonly [
|
|
41
|
+
export declare const HUB_ADDRESS_ROLES: readonly ['appConnections', 'notificationTaps', 'internal', 'publicEndpoint'];
|
|
42
42
|
export type HubAddressRole = z.infer<typeof HubAddressRoleSchema>;
|
|
43
43
|
/** The roles at most one address carries. */
|
|
44
44
|
export type SingleHubAddressRole = Exclude<HubAddressRole, 'appConnections'>;
|
|
@@ -29,10 +29,10 @@ export declare const HumidifierStatusSchema: z.ZodObject<{
|
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
export type HumidifierStatus = z.infer<typeof HumidifierStatusSchema>;
|
|
31
31
|
export declare const humidifierCapability: {
|
|
32
|
-
readonly name:
|
|
33
|
-
readonly scope:
|
|
32
|
+
readonly name: 'humidifier';
|
|
33
|
+
readonly scope: 'device';
|
|
34
34
|
readonly deviceNative: true;
|
|
35
|
-
readonly mode:
|
|
35
|
+
readonly mode: 'singleton';
|
|
36
36
|
readonly deviceTypes: readonly [DeviceType.Humidifier];
|
|
37
37
|
readonly methods: {
|
|
38
38
|
readonly setOn: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -60,7 +60,7 @@ export declare const humidifierCapability: {
|
|
|
60
60
|
maxHumidity: z.ZodNullable<z.ZodNumber>;
|
|
61
61
|
lastChangedAt: z.ZodNumber;
|
|
62
62
|
}, z.core.$strip>;
|
|
63
|
-
readonly kind:
|
|
63
|
+
readonly kind: 'push';
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
66
|
* Runtime-state slice — mirrored by the kernel. UI controls watch the
|
|
@@ -83,6 +83,6 @@ export declare const humidifierCapability: {
|
|
|
83
83
|
* See `RuntimeStateDurability`. Enforced by
|
|
84
84
|
* `scripts/check-runtime-state-durability.ts`.
|
|
85
85
|
*/
|
|
86
|
-
readonly durability:
|
|
86
|
+
readonly durability: 'session';
|
|
87
87
|
};
|
|
88
88
|
export type IHumidifierProvider = InferProvider<typeof humidifierCapability>;
|
|
@@ -17,10 +17,10 @@ export declare const HumiditySensorStatusSchema: z.ZodObject<{
|
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
export type HumiditySensorStatus = z.infer<typeof HumiditySensorStatusSchema>;
|
|
19
19
|
export declare const humiditySensorCapability: {
|
|
20
|
-
readonly name:
|
|
21
|
-
readonly scope:
|
|
20
|
+
readonly name: 'humidity-sensor';
|
|
21
|
+
readonly scope: 'device';
|
|
22
22
|
readonly deviceNative: true;
|
|
23
|
-
readonly mode:
|
|
23
|
+
readonly mode: 'singleton';
|
|
24
24
|
readonly deviceTypes: readonly [DeviceType.Sensor, DeviceType.Thermostat];
|
|
25
25
|
readonly methods: {};
|
|
26
26
|
readonly status: {
|
|
@@ -30,7 +30,7 @@ export declare const humiditySensorCapability: {
|
|
|
30
30
|
unit: z.ZodOptional<z.ZodString>;
|
|
31
31
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
|
-
readonly kind:
|
|
33
|
+
readonly kind: 'push';
|
|
34
34
|
};
|
|
35
35
|
readonly runtimeState: z.ZodObject<{
|
|
36
36
|
percent: z.ZodNumber;
|
|
@@ -44,7 +44,7 @@ export declare const humiditySensorCapability: {
|
|
|
44
44
|
* See `RuntimeStateDurability`. Enforced by
|
|
45
45
|
* `scripts/check-runtime-state-durability.ts`.
|
|
46
46
|
*/
|
|
47
|
-
readonly durability:
|
|
47
|
+
readonly durability: 'restored';
|
|
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 ["lastFetchedAt"];
|