@camstack/types 1.1.53 → 1.1.54
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/capabilities/climate-control.cap.d.ts +8 -8
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- package/dist/capabilities/device-manager.cap.d.ts +2 -2
- package/dist/capabilities/face-gallery.cap.d.ts +1 -1
- package/dist/capabilities/image-settings.cap.d.ts +16 -16
- package/dist/capabilities/media-player.cap.d.ts +5 -5
- package/dist/capabilities/pipeline-executor.cap.d.ts +3 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +2 -0
- package/dist/capabilities/platform-probe.cap.d.ts +19 -1
- package/dist/generated/addon-api.d.ts +36 -10
- package/dist/index.d.ts +2 -2
- package/dist/index.js +80 -5
- package/dist/index.mjs +80 -6
- package/dist/inference/runtime-capabilities.d.ts +17 -0
- package/dist/inference/runtime-capabilities.test.d.ts +1 -0
- package/dist/interfaces/platform.d.ts +4 -1
- package/dist/types/tracked.d.ts +13 -0
- package/package.json +1 -1
|
@@ -33,8 +33,8 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
33
33
|
* — any climate device (not just Gree) can advertise either / both axes.
|
|
34
34
|
*/
|
|
35
35
|
export declare const HvacModeSchema: z.ZodEnum<{
|
|
36
|
-
off: "off";
|
|
37
36
|
auto: "auto";
|
|
37
|
+
off: "off";
|
|
38
38
|
heat: "heat";
|
|
39
39
|
cool: "cool";
|
|
40
40
|
heat_cool: "heat_cool";
|
|
@@ -44,8 +44,8 @@ export declare const HvacModeSchema: z.ZodEnum<{
|
|
|
44
44
|
export type HvacMode = z.infer<typeof HvacModeSchema>;
|
|
45
45
|
export declare const ClimateControlStatusSchema: z.ZodObject<{
|
|
46
46
|
mode: z.ZodEnum<{
|
|
47
|
-
off: "off";
|
|
48
47
|
auto: "auto";
|
|
48
|
+
off: "off";
|
|
49
49
|
heat: "heat";
|
|
50
50
|
cool: "cool";
|
|
51
51
|
heat_cool: "heat_cool";
|
|
@@ -53,8 +53,8 @@ export declare const ClimateControlStatusSchema: z.ZodObject<{
|
|
|
53
53
|
dry: "dry";
|
|
54
54
|
}>;
|
|
55
55
|
availableModes: z.ZodArray<z.ZodEnum<{
|
|
56
|
-
off: "off";
|
|
57
56
|
auto: "auto";
|
|
57
|
+
off: "off";
|
|
58
58
|
heat: "heat";
|
|
59
59
|
cool: "cool";
|
|
60
60
|
heat_cool: "heat_cool";
|
|
@@ -86,8 +86,8 @@ export declare const climateControlCapability: {
|
|
|
86
86
|
readonly setMode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
87
87
|
deviceId: z.ZodNumber;
|
|
88
88
|
mode: z.ZodEnum<{
|
|
89
|
-
off: "off";
|
|
90
89
|
auto: "auto";
|
|
90
|
+
off: "off";
|
|
91
91
|
heat: "heat";
|
|
92
92
|
cool: "cool";
|
|
93
93
|
heat_cool: "heat_cool";
|
|
@@ -128,8 +128,8 @@ export declare const climateControlCapability: {
|
|
|
128
128
|
readonly status: {
|
|
129
129
|
readonly schema: z.ZodObject<{
|
|
130
130
|
mode: z.ZodEnum<{
|
|
131
|
-
off: "off";
|
|
132
131
|
auto: "auto";
|
|
132
|
+
off: "off";
|
|
133
133
|
heat: "heat";
|
|
134
134
|
cool: "cool";
|
|
135
135
|
heat_cool: "heat_cool";
|
|
@@ -137,8 +137,8 @@ export declare const climateControlCapability: {
|
|
|
137
137
|
dry: "dry";
|
|
138
138
|
}>;
|
|
139
139
|
availableModes: z.ZodArray<z.ZodEnum<{
|
|
140
|
-
off: "off";
|
|
141
140
|
auto: "auto";
|
|
141
|
+
off: "off";
|
|
142
142
|
heat: "heat";
|
|
143
143
|
cool: "cool";
|
|
144
144
|
heat_cool: "heat_cool";
|
|
@@ -168,8 +168,8 @@ export declare const climateControlCapability: {
|
|
|
168
168
|
*/
|
|
169
169
|
readonly runtimeState: z.ZodObject<{
|
|
170
170
|
mode: z.ZodEnum<{
|
|
171
|
-
off: "off";
|
|
172
171
|
auto: "auto";
|
|
172
|
+
off: "off";
|
|
173
173
|
heat: "heat";
|
|
174
174
|
cool: "cool";
|
|
175
175
|
heat_cool: "heat_cool";
|
|
@@ -177,8 +177,8 @@ export declare const climateControlCapability: {
|
|
|
177
177
|
dry: "dry";
|
|
178
178
|
}>;
|
|
179
179
|
availableModes: z.ZodArray<z.ZodEnum<{
|
|
180
|
-
off: "off";
|
|
181
180
|
auto: "auto";
|
|
181
|
+
off: "off";
|
|
182
182
|
heat: "heat";
|
|
183
183
|
cool: "cool";
|
|
184
184
|
heat_cool: "heat_cool";
|
|
@@ -18,9 +18,9 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
18
18
|
*/
|
|
19
19
|
/** IR-cut switching mode. `schedule` = time-of-day table configured on the camera. */
|
|
20
20
|
export declare const DayNightModeSchema: z.ZodEnum<{
|
|
21
|
+
auto: "auto";
|
|
21
22
|
schedule: "schedule";
|
|
22
23
|
night: "night";
|
|
23
|
-
auto: "auto";
|
|
24
24
|
day: "day";
|
|
25
25
|
}>;
|
|
26
26
|
/**
|
|
@@ -30,9 +30,9 @@ export declare const DayNightModeSchema: z.ZodEnum<{
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const DayNightStatusSchema: z.ZodObject<{
|
|
32
32
|
mode: z.ZodEnum<{
|
|
33
|
+
auto: "auto";
|
|
33
34
|
schedule: "schedule";
|
|
34
35
|
night: "night";
|
|
35
|
-
auto: "auto";
|
|
36
36
|
day: "day";
|
|
37
37
|
}>;
|
|
38
38
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -47,9 +47,9 @@ export declare const DayNightStatusSchema: z.ZodObject<{
|
|
|
47
47
|
*/
|
|
48
48
|
export declare const DayNightOptionsSchema: z.ZodObject<{
|
|
49
49
|
modes: z.ZodArray<z.ZodEnum<{
|
|
50
|
+
auto: "auto";
|
|
50
51
|
schedule: "schedule";
|
|
51
52
|
night: "night";
|
|
52
|
-
auto: "auto";
|
|
53
53
|
day: "day";
|
|
54
54
|
}>>;
|
|
55
55
|
supportsSensitivity: z.ZodBoolean;
|
|
@@ -71,9 +71,9 @@ export declare const DayNightOptionsSchema: z.ZodObject<{
|
|
|
71
71
|
*/
|
|
72
72
|
export declare const DayNightSettingsPatchSchema: z.ZodObject<{
|
|
73
73
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
auto: "auto";
|
|
74
75
|
schedule: "schedule";
|
|
75
76
|
night: "night";
|
|
76
|
-
auto: "auto";
|
|
77
77
|
day: "day";
|
|
78
78
|
}>>;
|
|
79
79
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -101,9 +101,9 @@ export declare const dayNightCapability: {
|
|
|
101
101
|
deviceId: z.ZodNumber;
|
|
102
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
103
|
modes: z.ZodArray<z.ZodEnum<{
|
|
104
|
+
auto: "auto";
|
|
104
105
|
schedule: "schedule";
|
|
105
106
|
night: "night";
|
|
106
|
-
auto: "auto";
|
|
107
107
|
day: "day";
|
|
108
108
|
}>>;
|
|
109
109
|
supportsSensitivity: z.ZodBoolean;
|
|
@@ -123,9 +123,9 @@ export declare const dayNightCapability: {
|
|
|
123
123
|
deviceId: z.ZodNumber;
|
|
124
124
|
settings: z.ZodObject<{
|
|
125
125
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
126
|
+
auto: "auto";
|
|
126
127
|
schedule: "schedule";
|
|
127
128
|
night: "night";
|
|
128
|
-
auto: "auto";
|
|
129
129
|
day: "day";
|
|
130
130
|
}>>;
|
|
131
131
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -136,9 +136,9 @@ export declare const dayNightCapability: {
|
|
|
136
136
|
readonly status: {
|
|
137
137
|
readonly schema: z.ZodObject<{
|
|
138
138
|
mode: z.ZodEnum<{
|
|
139
|
+
auto: "auto";
|
|
139
140
|
schedule: "schedule";
|
|
140
141
|
night: "night";
|
|
141
|
-
auto: "auto";
|
|
142
142
|
day: "day";
|
|
143
143
|
}>;
|
|
144
144
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -149,9 +149,9 @@ export declare const dayNightCapability: {
|
|
|
149
149
|
};
|
|
150
150
|
readonly runtimeState: z.ZodObject<{
|
|
151
151
|
mode: z.ZodEnum<{
|
|
152
|
+
auto: "auto";
|
|
152
153
|
schedule: "schedule";
|
|
153
154
|
night: "night";
|
|
154
|
-
auto: "auto";
|
|
155
155
|
day: "day";
|
|
156
156
|
}>;
|
|
157
157
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -203,8 +203,8 @@ export declare const ConfigEntrySchema: z.ZodObject<{
|
|
|
203
203
|
description: z.ZodOptional<z.ZodString>;
|
|
204
204
|
}, z.core.$strip>;
|
|
205
205
|
export declare const DeviceLinkModeSchema: z.ZodEnum<{
|
|
206
|
-
manual: "manual";
|
|
207
206
|
auto: "auto";
|
|
207
|
+
manual: "manual";
|
|
208
208
|
}>;
|
|
209
209
|
export type DeviceLinkMode = z.infer<typeof DeviceLinkModeSchema>;
|
|
210
210
|
/** One resolved linked device — the compact projection consumers need. */
|
|
@@ -1051,8 +1051,8 @@ export declare const deviceManagerCapability: {
|
|
|
1051
1051
|
deviceId: z.ZodNumber;
|
|
1052
1052
|
}, z.core.$strip>, z.ZodObject<{
|
|
1053
1053
|
mode: z.ZodEnum<{
|
|
1054
|
-
manual: "manual";
|
|
1055
1054
|
auto: "auto";
|
|
1055
|
+
manual: "manual";
|
|
1056
1056
|
}>;
|
|
1057
1057
|
devices: z.ZodArray<z.ZodObject<{
|
|
1058
1058
|
deviceId: z.ZodNumber;
|
|
@@ -85,8 +85,8 @@ export declare const faceGalleryCapability: {
|
|
|
85
85
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
86
86
|
filter: z.ZodOptional<z.ZodEnum<{
|
|
87
87
|
unassigned: "unassigned";
|
|
88
|
-
recognized: "recognized";
|
|
89
88
|
all: "all";
|
|
89
|
+
recognized: "recognized";
|
|
90
90
|
}>>;
|
|
91
91
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
92
92
|
faceId: z.ZodString;
|
|
@@ -30,13 +30,13 @@ export declare const ImageRotateSchema: z.ZodEnum<{
|
|
|
30
30
|
}>;
|
|
31
31
|
/** White-balance mode. `manual` unlocks the normalized `warmth` knob. */
|
|
32
32
|
export declare const WhiteBalanceModeSchema: z.ZodEnum<{
|
|
33
|
-
manual: "manual";
|
|
34
33
|
auto: "auto";
|
|
34
|
+
manual: "manual";
|
|
35
35
|
}>;
|
|
36
36
|
/** Exposure mode. */
|
|
37
37
|
export declare const ExposureModeSchema: z.ZodEnum<{
|
|
38
|
-
manual: "manual";
|
|
39
38
|
auto: "auto";
|
|
39
|
+
manual: "manual";
|
|
40
40
|
}>;
|
|
41
41
|
/**
|
|
42
42
|
* Backlight-compensation mode:
|
|
@@ -70,13 +70,13 @@ export declare const ImageSettingsStatusSchema: z.ZodObject<{
|
|
|
70
70
|
270: "270";
|
|
71
71
|
}>>;
|
|
72
72
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
73
|
-
manual: "manual";
|
|
74
73
|
auto: "auto";
|
|
74
|
+
manual: "manual";
|
|
75
75
|
}>>;
|
|
76
76
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
77
77
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
78
|
-
manual: "manual";
|
|
79
78
|
auto: "auto";
|
|
79
|
+
manual: "manual";
|
|
80
80
|
}>>;
|
|
81
81
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
82
82
|
off: "off";
|
|
@@ -127,8 +127,8 @@ export declare const ImageSettingsOptionsSchema: z.ZodObject<{
|
|
|
127
127
|
270: "270";
|
|
128
128
|
}>>;
|
|
129
129
|
whiteBalanceModes: z.ZodArray<z.ZodEnum<{
|
|
130
|
-
manual: "manual";
|
|
131
130
|
auto: "auto";
|
|
131
|
+
manual: "manual";
|
|
132
132
|
}>>;
|
|
133
133
|
supportsWarmth: z.ZodBoolean;
|
|
134
134
|
warmth: z.ZodOptional<z.ZodObject<{
|
|
@@ -137,8 +137,8 @@ export declare const ImageSettingsOptionsSchema: z.ZodObject<{
|
|
|
137
137
|
step: z.ZodNumber;
|
|
138
138
|
}, z.core.$strip>>;
|
|
139
139
|
exposureModes: z.ZodArray<z.ZodEnum<{
|
|
140
|
-
manual: "manual";
|
|
141
140
|
auto: "auto";
|
|
141
|
+
manual: "manual";
|
|
142
142
|
}>>;
|
|
143
143
|
backlightModes: z.ZodArray<z.ZodEnum<{
|
|
144
144
|
off: "off";
|
|
@@ -165,13 +165,13 @@ export declare const ImageSettingsPatchSchema: z.ZodObject<{
|
|
|
165
165
|
270: "270";
|
|
166
166
|
}>>;
|
|
167
167
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
168
|
-
manual: "manual";
|
|
169
168
|
auto: "auto";
|
|
169
|
+
manual: "manual";
|
|
170
170
|
}>>;
|
|
171
171
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
172
172
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
173
|
-
manual: "manual";
|
|
174
173
|
auto: "auto";
|
|
174
|
+
manual: "manual";
|
|
175
175
|
}>>;
|
|
176
176
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
177
177
|
off: "off";
|
|
@@ -237,8 +237,8 @@ export declare const imageSettingsCapability: {
|
|
|
237
237
|
270: "270";
|
|
238
238
|
}>>;
|
|
239
239
|
whiteBalanceModes: z.ZodArray<z.ZodEnum<{
|
|
240
|
-
manual: "manual";
|
|
241
240
|
auto: "auto";
|
|
241
|
+
manual: "manual";
|
|
242
242
|
}>>;
|
|
243
243
|
supportsWarmth: z.ZodBoolean;
|
|
244
244
|
warmth: z.ZodOptional<z.ZodObject<{
|
|
@@ -247,8 +247,8 @@ export declare const imageSettingsCapability: {
|
|
|
247
247
|
step: z.ZodNumber;
|
|
248
248
|
}, z.core.$strip>>;
|
|
249
249
|
exposureModes: z.ZodArray<z.ZodEnum<{
|
|
250
|
-
manual: "manual";
|
|
251
250
|
auto: "auto";
|
|
251
|
+
manual: "manual";
|
|
252
252
|
}>>;
|
|
253
253
|
backlightModes: z.ZodArray<z.ZodEnum<{
|
|
254
254
|
off: "off";
|
|
@@ -273,13 +273,13 @@ export declare const imageSettingsCapability: {
|
|
|
273
273
|
270: "270";
|
|
274
274
|
}>>;
|
|
275
275
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
276
|
-
manual: "manual";
|
|
277
276
|
auto: "auto";
|
|
277
|
+
manual: "manual";
|
|
278
278
|
}>>;
|
|
279
279
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
280
280
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
281
|
-
manual: "manual";
|
|
282
281
|
auto: "auto";
|
|
282
|
+
manual: "manual";
|
|
283
283
|
}>>;
|
|
284
284
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
285
285
|
off: "off";
|
|
@@ -305,13 +305,13 @@ export declare const imageSettingsCapability: {
|
|
|
305
305
|
270: "270";
|
|
306
306
|
}>>;
|
|
307
307
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
308
|
-
manual: "manual";
|
|
309
308
|
auto: "auto";
|
|
309
|
+
manual: "manual";
|
|
310
310
|
}>>;
|
|
311
311
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
312
312
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
313
|
-
manual: "manual";
|
|
314
313
|
auto: "auto";
|
|
314
|
+
manual: "manual";
|
|
315
315
|
}>>;
|
|
316
316
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
317
317
|
off: "off";
|
|
@@ -337,13 +337,13 @@ export declare const imageSettingsCapability: {
|
|
|
337
337
|
270: "270";
|
|
338
338
|
}>>;
|
|
339
339
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
340
|
-
manual: "manual";
|
|
341
340
|
auto: "auto";
|
|
341
|
+
manual: "manual";
|
|
342
342
|
}>>;
|
|
343
343
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
344
344
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
345
|
-
manual: "manual";
|
|
346
345
|
auto: "auto";
|
|
346
|
+
manual: "manual";
|
|
347
347
|
}>>;
|
|
348
348
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
349
349
|
off: "off";
|
|
@@ -24,8 +24,8 @@ export declare const MediaPlayerStateSchema: z.ZodEnum<{
|
|
|
24
24
|
}>;
|
|
25
25
|
export type MediaPlayerState = z.infer<typeof MediaPlayerStateSchema>;
|
|
26
26
|
export declare const MediaPlayerRepeatSchema: z.ZodEnum<{
|
|
27
|
-
off: "off";
|
|
28
27
|
all: "all";
|
|
28
|
+
off: "off";
|
|
29
29
|
one: "one";
|
|
30
30
|
}>;
|
|
31
31
|
export type MediaPlayerRepeat = z.infer<typeof MediaPlayerRepeatSchema>;
|
|
@@ -62,8 +62,8 @@ export declare const MediaPlayerStatusSchema: z.ZodObject<{
|
|
|
62
62
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
63
63
|
shuffle: z.ZodNullable<z.ZodBoolean>;
|
|
64
64
|
repeat: z.ZodNullable<z.ZodEnum<{
|
|
65
|
-
off: "off";
|
|
66
65
|
all: "all";
|
|
66
|
+
off: "off";
|
|
67
67
|
one: "one";
|
|
68
68
|
}>>;
|
|
69
69
|
lastChangedAt: z.ZodNumber;
|
|
@@ -110,8 +110,8 @@ export declare const mediaPlayerCapability: {
|
|
|
110
110
|
readonly setRepeat: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
111
111
|
deviceId: z.ZodNumber;
|
|
112
112
|
repeat: z.ZodEnum<{
|
|
113
|
-
off: "off";
|
|
114
113
|
all: "all";
|
|
114
|
+
off: "off";
|
|
115
115
|
one: "one";
|
|
116
116
|
}>;
|
|
117
117
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
@@ -151,8 +151,8 @@ export declare const mediaPlayerCapability: {
|
|
|
151
151
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
152
152
|
shuffle: z.ZodNullable<z.ZodBoolean>;
|
|
153
153
|
repeat: z.ZodNullable<z.ZodEnum<{
|
|
154
|
-
off: "off";
|
|
155
154
|
all: "all";
|
|
155
|
+
off: "off";
|
|
156
156
|
one: "one";
|
|
157
157
|
}>>;
|
|
158
158
|
lastChangedAt: z.ZodNumber;
|
|
@@ -189,8 +189,8 @@ export declare const mediaPlayerCapability: {
|
|
|
189
189
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
190
190
|
shuffle: z.ZodNullable<z.ZodBoolean>;
|
|
191
191
|
repeat: z.ZodNullable<z.ZodEnum<{
|
|
192
|
-
off: "off";
|
|
193
192
|
all: "all";
|
|
193
|
+
off: "off";
|
|
194
194
|
one: "one";
|
|
195
195
|
}>>;
|
|
196
196
|
lastChangedAt: z.ZodNumber;
|
|
@@ -915,6 +915,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
915
915
|
frame: "frame";
|
|
916
916
|
full: "full";
|
|
917
917
|
}>>;
|
|
918
|
+
deviceKey: z.ZodOptional<z.ZodString>;
|
|
918
919
|
}, z.core.$strip>, z.ZodCustom<FrameResult, FrameResult>, "mutation">;
|
|
919
920
|
/**
|
|
920
921
|
* Batched run — N raw frames packed into one cap call. The provider
|
|
@@ -960,6 +961,8 @@ export declare const pipelineExecutorCapability: {
|
|
|
960
961
|
}, z.core.$strip>>;
|
|
961
962
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
962
963
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
964
|
+
frameId: z.ZodOptional<z.ZodNumber>;
|
|
965
|
+
deviceKey: z.ZodOptional<z.ZodString>;
|
|
963
966
|
}, z.core.$strip>, z.ZodObject<{
|
|
964
967
|
results: z.ZodReadonly<z.ZodArray<z.ZodCustom<FrameResult, FrameResult>>>;
|
|
965
968
|
}, z.core.$strip>, "mutation">;
|
|
@@ -202,6 +202,7 @@ declare const RunnerCameraConfigSchema: z.ZodObject<{
|
|
|
202
202
|
ownerReachableHost: z.ZodOptional<z.ZodString>;
|
|
203
203
|
hubHostnameOverride: z.ZodOptional<z.ZodString>;
|
|
204
204
|
}, z.core.$strip>], "kind">>;
|
|
205
|
+
deviceKey: z.ZodOptional<z.ZodString>;
|
|
205
206
|
}, z.core.$strip>;
|
|
206
207
|
/**
|
|
207
208
|
* Per-device settings UI fields the runner cap owns. Co-located with
|
|
@@ -321,6 +322,7 @@ export declare const pipelineRunnerCapability: {
|
|
|
321
322
|
ownerReachableHost: z.ZodOptional<z.ZodString>;
|
|
322
323
|
hubHostnameOverride: z.ZodOptional<z.ZodString>;
|
|
323
324
|
}, z.core.$strip>], "kind">>;
|
|
325
|
+
deviceKey: z.ZodOptional<z.ZodString>;
|
|
324
326
|
}, z.core.$strip>, z.ZodObject<{
|
|
325
327
|
success: z.ZodLiteral<true>;
|
|
326
328
|
}, z.core.$strip>, "mutation">;
|
|
@@ -172,6 +172,7 @@ export declare const platformProbeCapability: {
|
|
|
172
172
|
onnx: "onnx";
|
|
173
173
|
coreml: "coreml";
|
|
174
174
|
openvino: "openvino";
|
|
175
|
+
tflite: "tflite";
|
|
175
176
|
}>;
|
|
176
177
|
score: z.ZodNumber;
|
|
177
178
|
reason: z.ZodString;
|
|
@@ -187,12 +188,29 @@ export declare const platformProbeCapability: {
|
|
|
187
188
|
onnx: "onnx";
|
|
188
189
|
coreml: "coreml";
|
|
189
190
|
openvino: "openvino";
|
|
191
|
+
tflite: "tflite";
|
|
190
192
|
}>;
|
|
191
193
|
score: z.ZodNumber;
|
|
192
194
|
reason: z.ZodString;
|
|
193
195
|
available: z.ZodBoolean;
|
|
194
196
|
}, z.core.$strip>;
|
|
195
197
|
pythonPath: z.ZodNullable<z.ZodString>;
|
|
198
|
+
devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
199
|
+
key: z.ZodString;
|
|
200
|
+
backend: z.ZodString;
|
|
201
|
+
device: z.ZodString;
|
|
202
|
+
format: z.ZodEnum<{
|
|
203
|
+
onnx: "onnx";
|
|
204
|
+
coreml: "coreml";
|
|
205
|
+
openvino: "openvino";
|
|
206
|
+
tflite: "tflite";
|
|
207
|
+
pt: "pt";
|
|
208
|
+
gguf: "gguf";
|
|
209
|
+
}>;
|
|
210
|
+
runtime: z.ZodLiteral<"python">;
|
|
211
|
+
score: z.ZodNumber;
|
|
212
|
+
available: z.ZodBoolean;
|
|
213
|
+
}, z.core.$strip>>>;
|
|
196
214
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
197
215
|
readonly getHardware: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
198
216
|
platform: z.ZodEnum<{
|
|
@@ -260,8 +278,8 @@ export declare const platformProbeCapability: {
|
|
|
260
278
|
openvino: "openvino";
|
|
261
279
|
none: "none";
|
|
262
280
|
tensorrt: "tensorrt";
|
|
263
|
-
videotoolbox: "videotoolbox";
|
|
264
281
|
cuda: "cuda";
|
|
282
|
+
videotoolbox: "videotoolbox";
|
|
265
283
|
nvdec: "nvdec";
|
|
266
284
|
vaapi: "vaapi";
|
|
267
285
|
qsv: "qsv";
|
|
@@ -578,7 +578,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
578
578
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
579
579
|
resolve: import("@trpc/server").TRPCQueryProcedure<{
|
|
580
580
|
input: {
|
|
581
|
-
prefer?: "none" | "
|
|
581
|
+
prefer?: "none" | "cuda" | "videotoolbox" | "nvdec" | "vaapi" | "qsv" | "d3d11va" | "dxva2" | "amf" | "vdpau" | "drm" | null | undefined;
|
|
582
582
|
} | undefined;
|
|
583
583
|
output: {
|
|
584
584
|
preferred: readonly string[];
|
|
@@ -589,7 +589,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
589
589
|
resolveForNode: import("@trpc/server").TRPCQueryProcedure<{
|
|
590
590
|
input: {
|
|
591
591
|
nodeId: string;
|
|
592
|
-
prefer?: "none" | "
|
|
592
|
+
prefer?: "none" | "cuda" | "videotoolbox" | "nvdec" | "vaapi" | "qsv" | "d3d11va" | "dxva2" | "amf" | "vdpau" | "drm" | null | undefined;
|
|
593
593
|
};
|
|
594
594
|
output: {
|
|
595
595
|
preferred: readonly string[];
|
|
@@ -3410,6 +3410,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3410
3410
|
inputChannels?: number | undefined;
|
|
3411
3411
|
inputLayout?: "nchw" | "nhwc" | undefined;
|
|
3412
3412
|
inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
|
|
3413
|
+
outputProbabilities?: boolean | undefined;
|
|
3413
3414
|
preprocessMode?: "letterbox" | "resize" | undefined;
|
|
3414
3415
|
postprocessor?: import("@camstack/types").PostprocessorType | undefined;
|
|
3415
3416
|
faceAlignment?: boolean | undefined;
|
|
@@ -8257,6 +8258,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8257
8258
|
inputChannels?: number | undefined;
|
|
8258
8259
|
inputLayout?: "nchw" | "nhwc" | undefined;
|
|
8259
8260
|
inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
|
|
8261
|
+
outputProbabilities?: boolean | undefined;
|
|
8260
8262
|
preprocessMode?: "letterbox" | "resize" | undefined;
|
|
8261
8263
|
postprocessor?: import("@camstack/types").PostprocessorType | undefined;
|
|
8262
8264
|
faceAlignment?: boolean | undefined;
|
|
@@ -8364,6 +8366,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8364
8366
|
inputChannels?: number | undefined;
|
|
8365
8367
|
inputLayout?: "nchw" | "nhwc" | undefined;
|
|
8366
8368
|
inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
|
|
8369
|
+
outputProbabilities?: boolean | undefined;
|
|
8367
8370
|
preprocessMode?: "letterbox" | "resize" | undefined;
|
|
8368
8371
|
postprocessor?: import("@camstack/types").PostprocessorType | undefined;
|
|
8369
8372
|
faceAlignment?: boolean | undefined;
|
|
@@ -10646,6 +10649,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
10646
10649
|
} | undefined;
|
|
10647
10650
|
deviceId?: number | undefined;
|
|
10648
10651
|
sessionId?: string | undefined;
|
|
10652
|
+
frameId?: number | undefined;
|
|
10649
10653
|
};
|
|
10650
10654
|
output: {
|
|
10651
10655
|
results: readonly import("@camstack/types").FrameResult[];
|
|
@@ -12187,7 +12191,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
12187
12191
|
scores: readonly {
|
|
12188
12192
|
runtime: "node" | "python";
|
|
12189
12193
|
backend: string;
|
|
12190
|
-
format: "onnx" | "coreml" | "openvino";
|
|
12194
|
+
format: "onnx" | "coreml" | "openvino" | "tflite";
|
|
12191
12195
|
score: number;
|
|
12192
12196
|
reason: string;
|
|
12193
12197
|
available: boolean;
|
|
@@ -12195,12 +12199,21 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
12195
12199
|
bestScore: {
|
|
12196
12200
|
runtime: "node" | "python";
|
|
12197
12201
|
backend: string;
|
|
12198
|
-
format: "onnx" | "coreml" | "openvino";
|
|
12202
|
+
format: "onnx" | "coreml" | "openvino" | "tflite";
|
|
12199
12203
|
score: number;
|
|
12200
12204
|
reason: string;
|
|
12201
12205
|
available: boolean;
|
|
12202
12206
|
};
|
|
12203
12207
|
pythonPath: string | null;
|
|
12208
|
+
devices: readonly {
|
|
12209
|
+
key: string;
|
|
12210
|
+
backend: string;
|
|
12211
|
+
device: string;
|
|
12212
|
+
format: "onnx" | "coreml" | "openvino" | "tflite" | "pt" | "gguf";
|
|
12213
|
+
runtime: "python";
|
|
12214
|
+
score: number;
|
|
12215
|
+
available: boolean;
|
|
12216
|
+
}[];
|
|
12204
12217
|
};
|
|
12205
12218
|
meta: object;
|
|
12206
12219
|
}>;
|
|
@@ -12253,7 +12266,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
12253
12266
|
resolveHwAccel: import("@trpc/server").TRPCQueryProcedure<{
|
|
12254
12267
|
input: {
|
|
12255
12268
|
[x: string]: unknown;
|
|
12256
|
-
prefer?: "none" | "coreml" | "openvino" | "tensorrt" | "
|
|
12269
|
+
prefer?: "none" | "coreml" | "openvino" | "tensorrt" | "cuda" | "videotoolbox" | "nvdec" | "vaapi" | "qsv" | "d3d11va" | "dxva2" | "amf" | "vdpau" | "drm" | "directml" | "webgpu" | null | undefined;
|
|
12257
12270
|
};
|
|
12258
12271
|
output: {
|
|
12259
12272
|
preferred: readonly string[];
|
|
@@ -17309,7 +17322,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17309
17322
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
17310
17323
|
resolve: import("@trpc/server").TRPCQueryProcedure<{
|
|
17311
17324
|
input: {
|
|
17312
|
-
prefer?: "none" | "
|
|
17325
|
+
prefer?: "none" | "cuda" | "videotoolbox" | "nvdec" | "vaapi" | "qsv" | "d3d11va" | "dxva2" | "amf" | "vdpau" | "drm" | null | undefined;
|
|
17313
17326
|
} | undefined;
|
|
17314
17327
|
output: {
|
|
17315
17328
|
preferred: readonly string[];
|
|
@@ -17320,7 +17333,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17320
17333
|
resolveForNode: import("@trpc/server").TRPCQueryProcedure<{
|
|
17321
17334
|
input: {
|
|
17322
17335
|
nodeId: string;
|
|
17323
|
-
prefer?: "none" | "
|
|
17336
|
+
prefer?: "none" | "cuda" | "videotoolbox" | "nvdec" | "vaapi" | "qsv" | "d3d11va" | "dxva2" | "amf" | "vdpau" | "drm" | null | undefined;
|
|
17324
17337
|
};
|
|
17325
17338
|
output: {
|
|
17326
17339
|
preferred: readonly string[];
|
|
@@ -20141,6 +20154,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
20141
20154
|
inputChannels?: number | undefined;
|
|
20142
20155
|
inputLayout?: "nchw" | "nhwc" | undefined;
|
|
20143
20156
|
inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
|
|
20157
|
+
outputProbabilities?: boolean | undefined;
|
|
20144
20158
|
preprocessMode?: "letterbox" | "resize" | undefined;
|
|
20145
20159
|
postprocessor?: import("@camstack/types").PostprocessorType | undefined;
|
|
20146
20160
|
faceAlignment?: boolean | undefined;
|
|
@@ -24988,6 +25002,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
24988
25002
|
inputChannels?: number | undefined;
|
|
24989
25003
|
inputLayout?: "nchw" | "nhwc" | undefined;
|
|
24990
25004
|
inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
|
|
25005
|
+
outputProbabilities?: boolean | undefined;
|
|
24991
25006
|
preprocessMode?: "letterbox" | "resize" | undefined;
|
|
24992
25007
|
postprocessor?: import("@camstack/types").PostprocessorType | undefined;
|
|
24993
25008
|
faceAlignment?: boolean | undefined;
|
|
@@ -25095,6 +25110,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
25095
25110
|
inputChannels?: number | undefined;
|
|
25096
25111
|
inputLayout?: "nchw" | "nhwc" | undefined;
|
|
25097
25112
|
inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
|
|
25113
|
+
outputProbabilities?: boolean | undefined;
|
|
25098
25114
|
preprocessMode?: "letterbox" | "resize" | undefined;
|
|
25099
25115
|
postprocessor?: import("@camstack/types").PostprocessorType | undefined;
|
|
25100
25116
|
faceAlignment?: boolean | undefined;
|
|
@@ -27377,6 +27393,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
27377
27393
|
} | undefined;
|
|
27378
27394
|
deviceId?: number | undefined;
|
|
27379
27395
|
sessionId?: string | undefined;
|
|
27396
|
+
frameId?: number | undefined;
|
|
27380
27397
|
};
|
|
27381
27398
|
output: {
|
|
27382
27399
|
results: readonly import("@camstack/types").FrameResult[];
|
|
@@ -28918,7 +28935,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28918
28935
|
scores: readonly {
|
|
28919
28936
|
runtime: "node" | "python";
|
|
28920
28937
|
backend: string;
|
|
28921
|
-
format: "onnx" | "coreml" | "openvino";
|
|
28938
|
+
format: "onnx" | "coreml" | "openvino" | "tflite";
|
|
28922
28939
|
score: number;
|
|
28923
28940
|
reason: string;
|
|
28924
28941
|
available: boolean;
|
|
@@ -28926,12 +28943,21 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28926
28943
|
bestScore: {
|
|
28927
28944
|
runtime: "node" | "python";
|
|
28928
28945
|
backend: string;
|
|
28929
|
-
format: "onnx" | "coreml" | "openvino";
|
|
28946
|
+
format: "onnx" | "coreml" | "openvino" | "tflite";
|
|
28930
28947
|
score: number;
|
|
28931
28948
|
reason: string;
|
|
28932
28949
|
available: boolean;
|
|
28933
28950
|
};
|
|
28934
28951
|
pythonPath: string | null;
|
|
28952
|
+
devices: readonly {
|
|
28953
|
+
key: string;
|
|
28954
|
+
backend: string;
|
|
28955
|
+
device: string;
|
|
28956
|
+
format: "onnx" | "coreml" | "openvino" | "tflite" | "pt" | "gguf";
|
|
28957
|
+
runtime: "python";
|
|
28958
|
+
score: number;
|
|
28959
|
+
available: boolean;
|
|
28960
|
+
}[];
|
|
28935
28961
|
};
|
|
28936
28962
|
meta: object;
|
|
28937
28963
|
}>;
|
|
@@ -28984,7 +29010,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28984
29010
|
resolveHwAccel: import("@trpc/server").TRPCQueryProcedure<{
|
|
28985
29011
|
input: {
|
|
28986
29012
|
[x: string]: unknown;
|
|
28987
|
-
prefer?: "none" | "coreml" | "openvino" | "tensorrt" | "
|
|
29013
|
+
prefer?: "none" | "coreml" | "openvino" | "tensorrt" | "cuda" | "videotoolbox" | "nvdec" | "vaapi" | "qsv" | "d3d11va" | "dxva2" | "amf" | "vdpau" | "drm" | "directml" | "webgpu" | null | undefined;
|
|
28988
29014
|
};
|
|
28989
29015
|
output: {
|
|
28990
29016
|
preferred: readonly string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -192,5 +192,5 @@ export { RingBuffer } from './utils/ring-buffer.js';
|
|
|
192
192
|
export { rectsToCells, cellsToRects, type NormRect } from './utils/privacy-grid-raster.js';
|
|
193
193
|
export { sleep, sleepCancellable } from './utils/sleep.js';
|
|
194
194
|
export { bindAddonActions } from './helpers/bind-addon-actions.js';
|
|
195
|
-
export { supportedRuntimes, runtimeDevices, defaultDeviceFor, modelFormatForRuntime, scoreRuntimes, } from './inference/runtime-capabilities.js';
|
|
196
|
-
export type { RuntimeId, DeviceOption } from './inference/runtime-capabilities.js';
|
|
195
|
+
export { supportedRuntimes, runtimeDevices, defaultDeviceFor, modelFormatForRuntime, scoreRuntimes, enumerateInferenceDevices, } from './inference/runtime-capabilities.js';
|
|
196
|
+
export type { RuntimeId, DeviceOption, InferenceDeviceDescriptor, } from './inference/runtime-capabilities.js';
|
package/dist/index.js
CHANGED
|
@@ -8223,7 +8223,14 @@ var pipelineExecutorCapability = {
|
|
|
8223
8223
|
* (inputClasses ≠ null) are skipped and served per-track via
|
|
8224
8224
|
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
8225
8225
|
*/
|
|
8226
|
-
plane: zod.z.enum(["full", "frame"]).optional()
|
|
8226
|
+
plane: zod.z.enum(["full", "frame"]).optional(),
|
|
8227
|
+
/**
|
|
8228
|
+
* Inference-device selector (Phase 2 multi-device). Format
|
|
8229
|
+
* `<backend>:<device>` (e.g. `openvino:gpu`, `edgetpu:usb`, `cpu`).
|
|
8230
|
+
* Omitted ⇒ the runner's default device (current single-engine
|
|
8231
|
+
* behaviour). Selects WHICH device pool of the node runs the call.
|
|
8232
|
+
*/
|
|
8233
|
+
deviceKey: zod.z.string().optional()
|
|
8227
8234
|
}), PipelineRunResultBridge, { kind: "mutation" }),
|
|
8228
8235
|
/**
|
|
8229
8236
|
* Batched run — N raw frames packed into one cap call. The provider
|
|
@@ -8241,7 +8248,20 @@ var pipelineExecutorCapability = {
|
|
|
8241
8248
|
steps: zod.z.array(PipelineStepInputSchema).min(1),
|
|
8242
8249
|
frames: zod.z.array(FrameInputSchema).min(1).max(255),
|
|
8243
8250
|
deviceId: zod.z.number().optional(),
|
|
8244
|
-
sessionId: zod.z.string().optional()
|
|
8251
|
+
sessionId: zod.z.string().optional(),
|
|
8252
|
+
/**
|
|
8253
|
+
* Pure-inference benchmark hint. A NONZERO uint32 pins every frame in
|
|
8254
|
+
* the batch to the Python pool's bench preprocess cache
|
|
8255
|
+
* (`_bench_frame_id`) so a REPEATED benchmark frame is decoded +
|
|
8256
|
+
* preprocessed ONCE and every later inference is a pure-inference cache
|
|
8257
|
+
* hit — the sustained-throughput run measures inference, not
|
|
8258
|
+
* decode+preprocess+infer. Omitted/0 for live frames (all different →
|
|
8259
|
+
* full preprocess every call, correct). Fresh per sustained run;
|
|
8260
|
+
* released via `uncacheFrame`.
|
|
8261
|
+
*/
|
|
8262
|
+
frameId: zod.z.number().int().nonnegative().optional(),
|
|
8263
|
+
/** Inference-device selector (Phase 2 multi-device); see runPipeline. */
|
|
8264
|
+
deviceKey: zod.z.string().optional()
|
|
8245
8265
|
}), zod.z.object({ results: zod.z.array(PipelineRunResultBridge).readonly() }), { kind: "mutation" }),
|
|
8246
8266
|
/**
|
|
8247
8267
|
* Cache a raw frame inside the Python inference pool's memory.
|
|
@@ -8695,7 +8715,14 @@ var RunnerCameraConfigSchema = zod.z.object({
|
|
|
8695
8715
|
* camera's detect node differs from its source-owner (P2d, gated by the
|
|
8696
8716
|
* `remoteSourcingNodes` rollout setting).
|
|
8697
8717
|
*/
|
|
8698
|
-
frameSource: RunnerFrameSourceSchema.default({ kind: "local-broker" })
|
|
8718
|
+
frameSource: RunnerFrameSourceSchema.default({ kind: "local-broker" }),
|
|
8719
|
+
/**
|
|
8720
|
+
* Inference-device selector for this camera's sessions (Phase 2 multi-device).
|
|
8721
|
+
* Format `<backend>:<device>` (e.g. `openvino:gpu`, `edgetpu:usb`, `cpu`);
|
|
8722
|
+
* omitted ⇒ the runner's default device. The engine itself stays node-local —
|
|
8723
|
+
* this only selects WHICH device pool of that node runs the session.
|
|
8724
|
+
*/
|
|
8725
|
+
deviceKey: zod.z.string().optional()
|
|
8699
8726
|
});
|
|
8700
8727
|
/**
|
|
8701
8728
|
* Per-device settings UI fields the runner cap owns. Co-located with
|
|
@@ -23740,17 +23767,28 @@ var PlatformScoreSchema = zod.z.object({
|
|
|
23740
23767
|
format: zod.z.enum([
|
|
23741
23768
|
"onnx",
|
|
23742
23769
|
"coreml",
|
|
23743
|
-
"openvino"
|
|
23770
|
+
"openvino",
|
|
23771
|
+
"tflite"
|
|
23744
23772
|
]),
|
|
23745
23773
|
score: zod.z.number(),
|
|
23746
23774
|
reason: zod.z.string(),
|
|
23747
23775
|
available: zod.z.boolean()
|
|
23748
23776
|
});
|
|
23777
|
+
var InferenceDeviceDescriptorSchema = zod.z.object({
|
|
23778
|
+
key: zod.z.string(),
|
|
23779
|
+
backend: zod.z.string(),
|
|
23780
|
+
device: zod.z.string(),
|
|
23781
|
+
format: ModelFormatSchema,
|
|
23782
|
+
runtime: zod.z.literal("python"),
|
|
23783
|
+
score: zod.z.number(),
|
|
23784
|
+
available: zod.z.boolean()
|
|
23785
|
+
});
|
|
23749
23786
|
var PlatformCapabilitiesSchema = zod.z.object({
|
|
23750
23787
|
hardware: HardwareInfoSchema,
|
|
23751
23788
|
scores: zod.z.array(PlatformScoreSchema).readonly(),
|
|
23752
23789
|
bestScore: PlatformScoreSchema,
|
|
23753
|
-
pythonPath: zod.z.string().nullable()
|
|
23790
|
+
pythonPath: zod.z.string().nullable(),
|
|
23791
|
+
devices: zod.z.array(InferenceDeviceDescriptorSchema).readonly()
|
|
23754
23792
|
});
|
|
23755
23793
|
var ModelRequirementSchema = zod.z.object({
|
|
23756
23794
|
modelId: zod.z.string(),
|
|
@@ -31407,6 +31445,7 @@ function modelFormatForRuntime(id) {
|
|
|
31407
31445
|
* - coreml: score 95, darwin+arm64
|
|
31408
31446
|
* - cuda: score 85, nvidia gpu
|
|
31409
31447
|
* - openvino: score 90 if intel-npu present, else 80 if intel gpu
|
|
31448
|
+
* - edgetpu: score 70, coral usb present
|
|
31410
31449
|
* - cpu: score 50 (universal floor, always included)
|
|
31411
31450
|
*
|
|
31412
31451
|
* All hardware-matched entries are `available: true`.
|
|
@@ -31442,6 +31481,14 @@ function scoreRuntimes(hw) {
|
|
|
31442
31481
|
available: true
|
|
31443
31482
|
});
|
|
31444
31483
|
}
|
|
31484
|
+
if (hw.coral != null) scores.push({
|
|
31485
|
+
runtime: "python",
|
|
31486
|
+
backend: "edgetpu",
|
|
31487
|
+
format: "tflite",
|
|
31488
|
+
score: 70,
|
|
31489
|
+
reason: "Coral Edge TPU (Python LiteRT)",
|
|
31490
|
+
available: true
|
|
31491
|
+
});
|
|
31445
31492
|
scores.push({
|
|
31446
31493
|
runtime: "python",
|
|
31447
31494
|
backend: "cpu",
|
|
@@ -31456,6 +31503,33 @@ function scoreRuntimes(hw) {
|
|
|
31456
31503
|
best: sorted.find((s) => s.available) ?? sorted[sorted.length - 1]
|
|
31457
31504
|
};
|
|
31458
31505
|
}
|
|
31506
|
+
var DEVICE_FOR_BACKEND = {
|
|
31507
|
+
openvino: "gpu",
|
|
31508
|
+
cuda: "gpu",
|
|
31509
|
+
edgetpu: "usb",
|
|
31510
|
+
coreml: "all",
|
|
31511
|
+
cpu: "cpu"
|
|
31512
|
+
};
|
|
31513
|
+
/**
|
|
31514
|
+
* Enumerate every usable inference device on a node, one descriptor per scored
|
|
31515
|
+
* backend. Unlike the elected `bestScore`, this returns the FULL set so the
|
|
31516
|
+
* orchestrator can run and balance across all accelerators concurrently.
|
|
31517
|
+
*/
|
|
31518
|
+
function enumerateInferenceDevices(hw) {
|
|
31519
|
+
const { scores } = scoreRuntimes(hw);
|
|
31520
|
+
return scores.map((s) => {
|
|
31521
|
+
const device = DEVICE_FOR_BACKEND[s.backend] ?? s.backend;
|
|
31522
|
+
return {
|
|
31523
|
+
key: s.backend === "cpu" ? "cpu" : `${s.backend}:${device}`,
|
|
31524
|
+
backend: s.backend,
|
|
31525
|
+
device,
|
|
31526
|
+
format: s.format,
|
|
31527
|
+
runtime: "python",
|
|
31528
|
+
score: s.score,
|
|
31529
|
+
available: s.available
|
|
31530
|
+
};
|
|
31531
|
+
});
|
|
31532
|
+
}
|
|
31459
31533
|
//#endregion
|
|
31460
31534
|
exports.ACCESSORY_LABEL = ACCESSORY_LABEL;
|
|
31461
31535
|
exports.ALL_CAPABILITY_DEFINITIONS = ALL_CAPABILITY_DEFINITIONS;
|
|
@@ -32165,6 +32239,7 @@ exports.emitDownForOwnedCaps = require_sleep.emitDownForOwnedCaps;
|
|
|
32165
32239
|
exports.emitReadiness = require_sleep.emitReadiness;
|
|
32166
32240
|
exports.encodeProfileFromStreamShape = encodeProfileFromStreamShape;
|
|
32167
32241
|
exports.enumSensorCapability = enumSensorCapability;
|
|
32242
|
+
exports.enumerateInferenceDevices = enumerateInferenceDevices;
|
|
32168
32243
|
exports.enumerateItemArrayFields = enumerateItemArrayFields;
|
|
32169
32244
|
exports.enumerateSchemaFields = enumerateSchemaFields;
|
|
32170
32245
|
exports.errMsg = require_err_msg.errMsg;
|
package/dist/index.mjs
CHANGED
|
@@ -8222,7 +8222,14 @@ var pipelineExecutorCapability = {
|
|
|
8222
8222
|
* (inputClasses ≠ null) are skipped and served per-track via
|
|
8223
8223
|
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
8224
8224
|
*/
|
|
8225
|
-
plane: z.enum(["full", "frame"]).optional()
|
|
8225
|
+
plane: z.enum(["full", "frame"]).optional(),
|
|
8226
|
+
/**
|
|
8227
|
+
* Inference-device selector (Phase 2 multi-device). Format
|
|
8228
|
+
* `<backend>:<device>` (e.g. `openvino:gpu`, `edgetpu:usb`, `cpu`).
|
|
8229
|
+
* Omitted ⇒ the runner's default device (current single-engine
|
|
8230
|
+
* behaviour). Selects WHICH device pool of the node runs the call.
|
|
8231
|
+
*/
|
|
8232
|
+
deviceKey: z.string().optional()
|
|
8226
8233
|
}), PipelineRunResultBridge, { kind: "mutation" }),
|
|
8227
8234
|
/**
|
|
8228
8235
|
* Batched run — N raw frames packed into one cap call. The provider
|
|
@@ -8240,7 +8247,20 @@ var pipelineExecutorCapability = {
|
|
|
8240
8247
|
steps: z.array(PipelineStepInputSchema).min(1),
|
|
8241
8248
|
frames: z.array(FrameInputSchema).min(1).max(255),
|
|
8242
8249
|
deviceId: z.number().optional(),
|
|
8243
|
-
sessionId: z.string().optional()
|
|
8250
|
+
sessionId: z.string().optional(),
|
|
8251
|
+
/**
|
|
8252
|
+
* Pure-inference benchmark hint. A NONZERO uint32 pins every frame in
|
|
8253
|
+
* the batch to the Python pool's bench preprocess cache
|
|
8254
|
+
* (`_bench_frame_id`) so a REPEATED benchmark frame is decoded +
|
|
8255
|
+
* preprocessed ONCE and every later inference is a pure-inference cache
|
|
8256
|
+
* hit — the sustained-throughput run measures inference, not
|
|
8257
|
+
* decode+preprocess+infer. Omitted/0 for live frames (all different →
|
|
8258
|
+
* full preprocess every call, correct). Fresh per sustained run;
|
|
8259
|
+
* released via `uncacheFrame`.
|
|
8260
|
+
*/
|
|
8261
|
+
frameId: z.number().int().nonnegative().optional(),
|
|
8262
|
+
/** Inference-device selector (Phase 2 multi-device); see runPipeline. */
|
|
8263
|
+
deviceKey: z.string().optional()
|
|
8244
8264
|
}), z.object({ results: z.array(PipelineRunResultBridge).readonly() }), { kind: "mutation" }),
|
|
8245
8265
|
/**
|
|
8246
8266
|
* Cache a raw frame inside the Python inference pool's memory.
|
|
@@ -8694,7 +8714,14 @@ var RunnerCameraConfigSchema = z.object({
|
|
|
8694
8714
|
* camera's detect node differs from its source-owner (P2d, gated by the
|
|
8695
8715
|
* `remoteSourcingNodes` rollout setting).
|
|
8696
8716
|
*/
|
|
8697
|
-
frameSource: RunnerFrameSourceSchema.default({ kind: "local-broker" })
|
|
8717
|
+
frameSource: RunnerFrameSourceSchema.default({ kind: "local-broker" }),
|
|
8718
|
+
/**
|
|
8719
|
+
* Inference-device selector for this camera's sessions (Phase 2 multi-device).
|
|
8720
|
+
* Format `<backend>:<device>` (e.g. `openvino:gpu`, `edgetpu:usb`, `cpu`);
|
|
8721
|
+
* omitted ⇒ the runner's default device. The engine itself stays node-local —
|
|
8722
|
+
* this only selects WHICH device pool of that node runs the session.
|
|
8723
|
+
*/
|
|
8724
|
+
deviceKey: z.string().optional()
|
|
8698
8725
|
});
|
|
8699
8726
|
/**
|
|
8700
8727
|
* Per-device settings UI fields the runner cap owns. Co-located with
|
|
@@ -23739,17 +23766,28 @@ var PlatformScoreSchema = z.object({
|
|
|
23739
23766
|
format: z.enum([
|
|
23740
23767
|
"onnx",
|
|
23741
23768
|
"coreml",
|
|
23742
|
-
"openvino"
|
|
23769
|
+
"openvino",
|
|
23770
|
+
"tflite"
|
|
23743
23771
|
]),
|
|
23744
23772
|
score: z.number(),
|
|
23745
23773
|
reason: z.string(),
|
|
23746
23774
|
available: z.boolean()
|
|
23747
23775
|
});
|
|
23776
|
+
var InferenceDeviceDescriptorSchema = z.object({
|
|
23777
|
+
key: z.string(),
|
|
23778
|
+
backend: z.string(),
|
|
23779
|
+
device: z.string(),
|
|
23780
|
+
format: ModelFormatSchema,
|
|
23781
|
+
runtime: z.literal("python"),
|
|
23782
|
+
score: z.number(),
|
|
23783
|
+
available: z.boolean()
|
|
23784
|
+
});
|
|
23748
23785
|
var PlatformCapabilitiesSchema = z.object({
|
|
23749
23786
|
hardware: HardwareInfoSchema,
|
|
23750
23787
|
scores: z.array(PlatformScoreSchema).readonly(),
|
|
23751
23788
|
bestScore: PlatformScoreSchema,
|
|
23752
|
-
pythonPath: z.string().nullable()
|
|
23789
|
+
pythonPath: z.string().nullable(),
|
|
23790
|
+
devices: z.array(InferenceDeviceDescriptorSchema).readonly()
|
|
23753
23791
|
});
|
|
23754
23792
|
var ModelRequirementSchema = z.object({
|
|
23755
23793
|
modelId: z.string(),
|
|
@@ -31406,6 +31444,7 @@ function modelFormatForRuntime(id) {
|
|
|
31406
31444
|
* - coreml: score 95, darwin+arm64
|
|
31407
31445
|
* - cuda: score 85, nvidia gpu
|
|
31408
31446
|
* - openvino: score 90 if intel-npu present, else 80 if intel gpu
|
|
31447
|
+
* - edgetpu: score 70, coral usb present
|
|
31409
31448
|
* - cpu: score 50 (universal floor, always included)
|
|
31410
31449
|
*
|
|
31411
31450
|
* All hardware-matched entries are `available: true`.
|
|
@@ -31441,6 +31480,14 @@ function scoreRuntimes(hw) {
|
|
|
31441
31480
|
available: true
|
|
31442
31481
|
});
|
|
31443
31482
|
}
|
|
31483
|
+
if (hw.coral != null) scores.push({
|
|
31484
|
+
runtime: "python",
|
|
31485
|
+
backend: "edgetpu",
|
|
31486
|
+
format: "tflite",
|
|
31487
|
+
score: 70,
|
|
31488
|
+
reason: "Coral Edge TPU (Python LiteRT)",
|
|
31489
|
+
available: true
|
|
31490
|
+
});
|
|
31444
31491
|
scores.push({
|
|
31445
31492
|
runtime: "python",
|
|
31446
31493
|
backend: "cpu",
|
|
@@ -31455,5 +31502,32 @@ function scoreRuntimes(hw) {
|
|
|
31455
31502
|
best: sorted.find((s) => s.available) ?? sorted[sorted.length - 1]
|
|
31456
31503
|
};
|
|
31457
31504
|
}
|
|
31505
|
+
var DEVICE_FOR_BACKEND = {
|
|
31506
|
+
openvino: "gpu",
|
|
31507
|
+
cuda: "gpu",
|
|
31508
|
+
edgetpu: "usb",
|
|
31509
|
+
coreml: "all",
|
|
31510
|
+
cpu: "cpu"
|
|
31511
|
+
};
|
|
31512
|
+
/**
|
|
31513
|
+
* Enumerate every usable inference device on a node, one descriptor per scored
|
|
31514
|
+
* backend. Unlike the elected `bestScore`, this returns the FULL set so the
|
|
31515
|
+
* orchestrator can run and balance across all accelerators concurrently.
|
|
31516
|
+
*/
|
|
31517
|
+
function enumerateInferenceDevices(hw) {
|
|
31518
|
+
const { scores } = scoreRuntimes(hw);
|
|
31519
|
+
return scores.map((s) => {
|
|
31520
|
+
const device = DEVICE_FOR_BACKEND[s.backend] ?? s.backend;
|
|
31521
|
+
return {
|
|
31522
|
+
key: s.backend === "cpu" ? "cpu" : `${s.backend}:${device}`,
|
|
31523
|
+
backend: s.backend,
|
|
31524
|
+
device,
|
|
31525
|
+
format: s.format,
|
|
31526
|
+
runtime: "python",
|
|
31527
|
+
score: s.score,
|
|
31528
|
+
available: s.available
|
|
31529
|
+
};
|
|
31530
|
+
});
|
|
31531
|
+
}
|
|
31458
31532
|
//#endregion
|
|
31459
|
-
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
31533
|
+
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -14,6 +14,16 @@ export interface DeviceOption {
|
|
|
14
14
|
readonly value: string;
|
|
15
15
|
readonly label: string;
|
|
16
16
|
}
|
|
17
|
+
export interface InferenceDeviceDescriptor {
|
|
18
|
+
/** Stable per-node device id, e.g. `openvino:gpu`, `edgetpu:usb`, `cpu`. */
|
|
19
|
+
readonly key: string;
|
|
20
|
+
readonly backend: string;
|
|
21
|
+
readonly device: string;
|
|
22
|
+
readonly format: ModelFormat;
|
|
23
|
+
readonly runtime: 'python';
|
|
24
|
+
readonly score: number;
|
|
25
|
+
readonly available: boolean;
|
|
26
|
+
}
|
|
17
27
|
/**
|
|
18
28
|
* Returns the list of supported runtime IDs for given hardware.
|
|
19
29
|
* onnx is always included (universal floor); accelerators added when hw matches.
|
|
@@ -44,6 +54,7 @@ interface ScoreRuntimesResult {
|
|
|
44
54
|
* - coreml: score 95, darwin+arm64
|
|
45
55
|
* - cuda: score 85, nvidia gpu
|
|
46
56
|
* - openvino: score 90 if intel-npu present, else 80 if intel gpu
|
|
57
|
+
* - edgetpu: score 70, coral usb present
|
|
47
58
|
* - cpu: score 50 (universal floor, always included)
|
|
48
59
|
*
|
|
49
60
|
* All hardware-matched entries are `available: true`.
|
|
@@ -51,4 +62,10 @@ interface ScoreRuntimesResult {
|
|
|
51
62
|
* (or last entry as fallback).
|
|
52
63
|
*/
|
|
53
64
|
export declare function scoreRuntimes(hw: HardwareInfo): ScoreRuntimesResult;
|
|
65
|
+
/**
|
|
66
|
+
* Enumerate every usable inference device on a node, one descriptor per scored
|
|
67
|
+
* backend. Unlike the elected `bestScore`, this returns the FULL set so the
|
|
68
|
+
* orchestrator can run and balance across all accelerators concurrently.
|
|
69
|
+
*/
|
|
70
|
+
export declare function enumerateInferenceDevices(hw: HardwareInfo): readonly InferenceDeviceDescriptor[];
|
|
54
71
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { InferenceDeviceDescriptor } from '../inference/runtime-capabilities.js';
|
|
1
2
|
/** Hardware information detected at boot */
|
|
2
3
|
export interface HardwareInfo {
|
|
3
4
|
readonly platform: 'darwin' | 'linux' | 'win32';
|
|
@@ -38,7 +39,7 @@ export interface CoralInfo {
|
|
|
38
39
|
export interface PlatformScore {
|
|
39
40
|
readonly runtime: 'node' | 'python';
|
|
40
41
|
readonly backend: string;
|
|
41
|
-
readonly format: 'onnx' | 'coreml' | 'openvino';
|
|
42
|
+
readonly format: 'onnx' | 'coreml' | 'openvino' | 'tflite';
|
|
42
43
|
readonly score: number;
|
|
43
44
|
readonly reason: string;
|
|
44
45
|
readonly available: boolean;
|
|
@@ -49,6 +50,8 @@ export interface PlatformCapabilities {
|
|
|
49
50
|
readonly scores: readonly PlatformScore[];
|
|
50
51
|
readonly bestScore: PlatformScore;
|
|
51
52
|
readonly pythonPath: string | null;
|
|
53
|
+
/** Every usable inference device on this node (enumerate, don't elect). */
|
|
54
|
+
readonly devices: readonly InferenceDeviceDescriptor[];
|
|
52
55
|
}
|
|
53
56
|
/** Model requirement declared by an addon */
|
|
54
57
|
export interface ModelRequirement {
|
package/dist/types/tracked.d.ts
CHANGED
|
@@ -9,6 +9,19 @@ export interface TrackedDetection extends SpatialDetection {
|
|
|
9
9
|
readonly dy: number;
|
|
10
10
|
};
|
|
11
11
|
readonly path: readonly BoundingBox[];
|
|
12
|
+
/**
|
|
13
|
+
* True when this track was associated to a REAL detection on the frame that
|
|
14
|
+
* produced this emission; false when the track is merely COASTING (the tracker
|
|
15
|
+
* kept it alive inside its coast budget with a frozen/extrapolated bbox — the
|
|
16
|
+
* subject was NOT observed this frame). Consumers that capture per-frame media
|
|
17
|
+
* (thumbnail / keyFrame / snapshot) MUST treat a `false` entry as media-
|
|
18
|
+
* INELIGIBLE: a coasted box is by definition not a current view of the subject,
|
|
19
|
+
* so cropping it yields the empty scene ("crop del nulla", media-bugs RC-3).
|
|
20
|
+
* Optional for backward compatibility — a runner that predates this field emits
|
|
21
|
+
* it absent, and absent should be read as "unknown → treat as matched" so an
|
|
22
|
+
* old runner is never worse than before. The SORT tracker always populates it.
|
|
23
|
+
*/
|
|
24
|
+
readonly matchedThisFrame?: boolean;
|
|
12
25
|
}
|
|
13
26
|
export interface TrackedObjectState {
|
|
14
27
|
readonly trackId: string;
|