@camstack/types 1.1.7 → 1.1.9

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.
@@ -112,10 +112,12 @@ export declare const ReleaseInputSchema: z.ZodObject<{
112
112
  }, z.core.$strip>;
113
113
  export declare const ResyncInputSchema: z.ZodObject<{
114
114
  camDeviceId: z.ZodNumber;
115
+ resetToSource: z.ZodOptional<z.ZodBoolean>;
115
116
  }, z.core.$strip>;
116
117
  export declare const ResyncResultSchema: z.ZodObject<{
117
118
  changed: z.ZodBoolean;
118
119
  rebuiltChildren: z.ZodNumber;
120
+ removedChildren: z.ZodOptional<z.ZodNumber>;
119
121
  }, z.core.$strip>;
120
122
  export declare const deviceAdoptionCapability: {
121
123
  readonly name: "device-adoption";
@@ -192,9 +194,11 @@ export declare const deviceAdoptionCapability: {
192
194
  }, z.core.$strip>, z.ZodVoid, "mutation">;
193
195
  readonly resync: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
194
196
  camDeviceId: z.ZodNumber;
197
+ resetToSource: z.ZodOptional<z.ZodBoolean>;
195
198
  }, z.core.$strip>, z.ZodObject<{
196
199
  changed: z.ZodBoolean;
197
200
  rebuiltChildren: z.ZodNumber;
201
+ removedChildren: z.ZodOptional<z.ZodNumber>;
198
202
  }, z.core.$strip>, "mutation">;
199
203
  };
200
204
  };
@@ -107,6 +107,7 @@ export declare const DeviceMetaSchema: z.ZodObject<{
107
107
  addonId: z.ZodString;
108
108
  type: z.ZodString;
109
109
  name: z.ZodString;
110
+ userNamed: z.ZodOptional<z.ZodBoolean>;
110
111
  location: z.ZodNullable<z.ZodString>;
111
112
  disabled: z.ZodBoolean;
112
113
  parentDeviceId: z.ZodNullable<z.ZodNumber>;
@@ -231,6 +232,7 @@ export declare const deviceManagerCapability: {
231
232
  addonId: z.ZodString;
232
233
  type: z.ZodString;
233
234
  name: z.ZodString;
235
+ userNamed: z.ZodOptional<z.ZodBoolean>;
234
236
  location: z.ZodNullable<z.ZodString>;
235
237
  disabled: z.ZodBoolean;
236
238
  parentDeviceId: z.ZodNullable<z.ZodNumber>;
@@ -1127,6 +1129,20 @@ export declare const deviceManagerCapability: {
1127
1129
  camDeviceId: z.ZodNumber;
1128
1130
  addonId: z.ZodString;
1129
1131
  }, z.core.$strip>, z.ZodVoid, "mutation">;
1132
+ /**
1133
+ * Re-sync a device with its source via the device-adoption provider of the
1134
+ * device's OWNING addon (resolved from `camDeviceId`). Unlike the singleton
1135
+ * `device-adoption.resync`, this routes to the correct integration so a
1136
+ * Dreame / Matter / … device never hits another integration's provider.
1137
+ */
1138
+ readonly adoptionResync: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1139
+ camDeviceId: z.ZodNumber;
1140
+ resetToSource: z.ZodOptional<z.ZodBoolean>;
1141
+ }, z.core.$strip>, z.ZodObject<{
1142
+ changed: z.ZodBoolean;
1143
+ rebuiltChildren: z.ZodNumber;
1144
+ removedChildren: z.ZodOptional<z.ZodNumber>;
1145
+ }, z.core.$strip>, "mutation">;
1130
1146
  /**
1131
1147
  * Test a field value on an existing device (e.g. probe an RTSP URL).
1132
1148
  * Routes through the device-provider for the owning addon.
@@ -2,15 +2,18 @@ import { z } from 'zod';
2
2
  import { type InferProvider } from './capability-definition.js';
3
3
  import { DeviceType } from '../device/device-type.js';
4
4
  /**
5
- * Image display cap. Models HA `image.*` entities a single still image
6
- * exposed by an integration (a snapshot, a chart, a generated picture).
5
+ * Image display cap. Models a single still image exposed by an integration
6
+ * a snapshot, a chart, a generated picture, or a robot's cleaning-map render.
7
7
  *
8
- * Read-only: there are no setters. The provider resolves the HA
9
- * `entity_picture` (a relative, signed-token path) into an ABSOLUTE URL
10
- * the browser loads directly the token stays in the query string so no
11
- * auth header is required. The slice carries that URL plus the upstream
12
- * last-updated timestamp; the image changes when the entity state (a
13
- * timestamp) changes.
8
+ * Read-only: there are no setters. The provider resolves whatever upstream
9
+ * source it has into an ABSOLUTE URL the browser loads directly:
10
+ * - HA `image.*` entities the `entity_picture` signed-token path
11
+ * (token stays in the query string, so no auth header is needed);
12
+ * - a Dreame/robot map the cloud/OSS map-image URL (or an addon
13
+ * data-plane URL serving the rendered map bytes), exposed as its own
14
+ * Image child device grouped under the robot's container.
15
+ * The slice carries that URL plus the upstream last-updated timestamp; the
16
+ * image changes when the source's last-updated marker changes.
14
17
  */
15
18
  export declare const ImageStatusSchema: z.ZodObject<{
16
19
  url: z.ZodNullable<z.ZodString>;
@@ -151,7 +151,7 @@ export { weatherCapability, WeatherStatusSchema, type WeatherStatus, type IWeath
151
151
  export { imageCapability, ImageStatusSchema, type ImageStatus, type IImageProvider, } from './image.cap.js';
152
152
  export { lockControlCapability, LockControlStatusSchema, LockStateSchema, type LockControlStatus, type LockState, type ILockControlProvider, } from './lock-control.cap.js';
153
153
  export { vacuumControlCapability, VacuumControlStatusSchema, VacuumStateSchema, TankStatusSchema, type VacuumControlStatus, type VacuumState, type TankStatus, type IVacuumControlProvider, } from './vacuum-control.cap.js';
154
- export { lawnMowerControlCapability, LawnMowerControlStatusSchema, LawnMowerActivitySchema, type LawnMowerControlStatus, type LawnMowerActivity, type ILawnMowerControlProvider, } from './lawn-mower-control.cap.js';
154
+ export { lawnMowerControlCapability, LawnMowerControlStatusSchema, LawnMowerActivitySchema, DeviceCodeSeveritySchema, type LawnMowerControlStatus, type LawnMowerActivity, type DeviceCodeSeverity, type ILawnMowerControlProvider, } from './lawn-mower-control.cap.js';
155
155
  export { fanControlCapability, FanControlStatusSchema, FanDirectionSchema, type FanControlStatus, type FanDirection, type IFanControlProvider, } from './fan-control.cap.js';
156
156
  export { controlCapability, ControlStatusSchema, ControlKindSchema, type ControlStatus, type ControlKind, type ControlSetValueInput, type IControlProvider, } from './control.cap.js';
157
157
  export { notifierCapability, NotifierStatusSchema, type NotifierStatus, type NotifierPriority, type NotifierAction, type NotifierSupports, type NotifierSendInput, type NotifierSendResult, type INotifierProvider, } from './notifier.cap.js';
@@ -20,6 +20,13 @@ export declare const LawnMowerActivitySchema: z.ZodEnum<{
20
20
  docked: "docked";
21
21
  }>;
22
22
  export type LawnMowerActivity = z.infer<typeof LawnMowerActivitySchema>;
23
+ /** Severity of the current device/error code — info (status), warning, error. */
24
+ export declare const DeviceCodeSeveritySchema: z.ZodEnum<{
25
+ error: "error";
26
+ info: "info";
27
+ warning: "warning";
28
+ }>;
29
+ export type DeviceCodeSeverity = z.infer<typeof DeviceCodeSeveritySchema>;
23
30
  export declare const LawnMowerControlStatusSchema: z.ZodObject<{
24
31
  activity: z.ZodEnum<{
25
32
  error: "error";
@@ -29,6 +36,14 @@ export declare const LawnMowerControlStatusSchema: z.ZodObject<{
29
36
  docked: "docked";
30
37
  }>;
31
38
  batteryLevel: z.ZodNullable<z.ZodNumber>;
39
+ progressPercent: z.ZodNullable<z.ZodNumber>;
40
+ currentCode: z.ZodNullable<z.ZodNumber>;
41
+ currentCodeLabel: z.ZodNullable<z.ZodString>;
42
+ severity: z.ZodEnum<{
43
+ error: "error";
44
+ info: "info";
45
+ warning: "warning";
46
+ }>;
32
47
  lastChangedAt: z.ZodNumber;
33
48
  }, z.core.$strip>;
34
49
  export type LawnMowerControlStatus = z.infer<typeof LawnMowerControlStatusSchema>;
@@ -59,6 +74,14 @@ export declare const lawnMowerControlCapability: {
59
74
  docked: "docked";
60
75
  }>;
61
76
  batteryLevel: z.ZodNullable<z.ZodNumber>;
77
+ progressPercent: z.ZodNullable<z.ZodNumber>;
78
+ currentCode: z.ZodNullable<z.ZodNumber>;
79
+ currentCodeLabel: z.ZodNullable<z.ZodString>;
80
+ severity: z.ZodEnum<{
81
+ error: "error";
82
+ info: "info";
83
+ warning: "warning";
84
+ }>;
62
85
  lastChangedAt: z.ZodNumber;
63
86
  }, z.core.$strip>;
64
87
  readonly kind: "push";
@@ -76,6 +99,14 @@ export declare const lawnMowerControlCapability: {
76
99
  docked: "docked";
77
100
  }>;
78
101
  batteryLevel: z.ZodNullable<z.ZodNumber>;
102
+ progressPercent: z.ZodNullable<z.ZodNumber>;
103
+ currentCode: z.ZodNullable<z.ZodNumber>;
104
+ currentCodeLabel: z.ZodNullable<z.ZodString>;
105
+ severity: z.ZodEnum<{
106
+ error: "error";
107
+ info: "info";
108
+ warning: "warning";
109
+ }>;
79
110
  lastChangedAt: z.ZodNumber;
80
111
  }, z.core.$strip>;
81
112
  };
@@ -33,6 +33,7 @@ export declare const VacuumStateSchema: z.ZodEnum<{
33
33
  docked: "docked";
34
34
  cleaning: "cleaning";
35
35
  returning: "returning";
36
+ drying: "drying";
36
37
  }>;
37
38
  export type VacuumState = z.infer<typeof VacuumStateSchema>;
38
39
  /**
@@ -59,6 +60,7 @@ export declare const VacuumControlStatusSchema: z.ZodObject<{
59
60
  docked: "docked";
60
61
  cleaning: "cleaning";
61
62
  returning: "returning";
63
+ drying: "drying";
62
64
  }>;
63
65
  batteryLevel: z.ZodNullable<z.ZodNumber>;
64
66
  fanSpeed: z.ZodNullable<z.ZodString>;
@@ -95,6 +97,9 @@ export declare const VacuumControlStatusSchema: z.ZodObject<{
95
97
  full: "full";
96
98
  }>>;
97
99
  }, z.core.$strip>>;
100
+ progressPercent: z.ZodNullable<z.ZodNumber>;
101
+ errorCode: z.ZodNullable<z.ZodNumber>;
102
+ errorLabel: z.ZodNullable<z.ZodString>;
98
103
  lastChangedAt: z.ZodNumber;
99
104
  }, z.core.$strip>;
100
105
  export type VacuumControlStatus = z.infer<typeof VacuumControlStatusSchema>;
@@ -134,6 +139,7 @@ export declare const vacuumControlCapability: {
134
139
  docked: "docked";
135
140
  cleaning: "cleaning";
136
141
  returning: "returning";
142
+ drying: "drying";
137
143
  }>;
138
144
  batteryLevel: z.ZodNullable<z.ZodNumber>;
139
145
  fanSpeed: z.ZodNullable<z.ZodString>;
@@ -170,6 +176,9 @@ export declare const vacuumControlCapability: {
170
176
  full: "full";
171
177
  }>>;
172
178
  }, z.core.$strip>>;
179
+ progressPercent: z.ZodNullable<z.ZodNumber>;
180
+ errorCode: z.ZodNullable<z.ZodNumber>;
181
+ errorLabel: z.ZodNullable<z.ZodString>;
173
182
  lastChangedAt: z.ZodNumber;
174
183
  }, z.core.$strip>;
175
184
  readonly kind: "push";
@@ -186,6 +195,7 @@ export declare const vacuumControlCapability: {
186
195
  docked: "docked";
187
196
  cleaning: "cleaning";
188
197
  returning: "returning";
198
+ drying: "drying";
189
199
  }>;
190
200
  batteryLevel: z.ZodNullable<z.ZodNumber>;
191
201
  fanSpeed: z.ZodNullable<z.ZodString>;
@@ -222,6 +232,9 @@ export declare const vacuumControlCapability: {
222
232
  full: "full";
223
233
  }>>;
224
234
  }, z.core.$strip>>;
235
+ progressPercent: z.ZodNullable<z.ZodNumber>;
236
+ errorCode: z.ZodNullable<z.ZodNumber>;
237
+ errorLabel: z.ZodNullable<z.ZodString>;
225
238
  lastChangedAt: z.ZodNumber;
226
239
  }, z.core.$strip>;
227
240
  };
@@ -236,7 +236,14 @@ export declare abstract class BaseDevice<T extends z.ZodObject<z.core.$ZodLooseS
236
236
  * is open (Reolink writes `hasPtz/hasIntercom`, Hikvision writes
237
237
  * `hasSupplementalLight/hasAlarmIo`, etc).
238
238
  *
239
- * Default: no-op (driver had no probe to run).
239
+ * Default: nothing to probe mark the device PROBED (set `lastProbedAt`) so
240
+ * the kernel treats it as ready immediately. A device that derives its shape
241
+ * from a spec (a container, or an accessory sensor) rather than from a
242
+ * hardware probe has no probe to "complete"; without stamping `lastProbedAt`
243
+ * it would look perpetually un-probed — logging "Initial probe did not
244
+ * complete" on every boot and spinning a pointless retry chain. Drivers that
245
+ * DO probe override this and write their own `feature-probe` slice (including
246
+ * `lastProbedAt`) once their probe actually succeeds.
240
247
  */
241
248
  onProbe(): Promise<void>;
242
249
  /**
@@ -140,6 +140,14 @@ export interface DeviceMeta {
140
140
  readonly addonId: string;
141
141
  readonly type: DeviceType;
142
142
  readonly name: string;
143
+ /** True once an operator has explicitly renamed this device via `setName`.
144
+ * Drives the reconcile name-precedence: when set, a re-registration PRESERVES
145
+ * the operator's name; when unset, the provider's fresh construction-time name
146
+ * wins (so an improved auto-name propagates instead of being frozen forever).
147
+ * Absent ⇒ treated as user-named (PRESERVE) for safety on legacy rows that
148
+ * predate this flag, so an operator's manual rename is never reset. New
149
+ * auto-derived children land with the flag unset and self-heal their names. */
150
+ readonly userNamed?: boolean;
143
151
  readonly location: string | null;
144
152
  readonly disabled: boolean;
145
153
  readonly parentDeviceId: number | null;
@@ -6201,10 +6201,12 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6201
6201
  input: {
6202
6202
  [x: string]: unknown;
6203
6203
  camDeviceId: number;
6204
+ resetToSource?: boolean | undefined;
6204
6205
  };
6205
6206
  output: {
6206
6207
  changed: boolean;
6207
6208
  rebuiltChildren: number;
6209
+ removedChildren?: number | undefined;
6208
6210
  };
6209
6211
  meta: object;
6210
6212
  }>;
@@ -6461,6 +6463,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6461
6463
  location: string | null;
6462
6464
  disabled: boolean;
6463
6465
  parentDeviceId: number | null;
6466
+ userNamed?: boolean | undefined;
6464
6467
  metadata?: Record<string, unknown> | null | undefined;
6465
6468
  sourceInfo?: {
6466
6469
  id: string;
@@ -7413,6 +7416,19 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7413
7416
  output: void;
7414
7417
  meta: object;
7415
7418
  }>;
7419
+ adoptionResync: import("@trpc/server").TRPCMutationProcedure<{
7420
+ input: {
7421
+ [x: string]: unknown;
7422
+ camDeviceId: number;
7423
+ resetToSource?: boolean | undefined;
7424
+ };
7425
+ output: {
7426
+ changed: boolean;
7427
+ rebuiltChildren: number;
7428
+ removedChildren?: number | undefined;
7429
+ };
7430
+ meta: object;
7431
+ }>;
7416
7432
  testField: import("@trpc/server").TRPCMutationProcedure<{
7417
7433
  input: {
7418
7434
  [x: string]: unknown;
@@ -19894,10 +19910,12 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19894
19910
  input: {
19895
19911
  [x: string]: unknown;
19896
19912
  camDeviceId: number;
19913
+ resetToSource?: boolean | undefined;
19897
19914
  };
19898
19915
  output: {
19899
19916
  changed: boolean;
19900
19917
  rebuiltChildren: number;
19918
+ removedChildren?: number | undefined;
19901
19919
  };
19902
19920
  meta: object;
19903
19921
  }>;
@@ -20154,6 +20172,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
20154
20172
  location: string | null;
20155
20173
  disabled: boolean;
20156
20174
  parentDeviceId: number | null;
20175
+ userNamed?: boolean | undefined;
20157
20176
  metadata?: Record<string, unknown> | null | undefined;
20158
20177
  sourceInfo?: {
20159
20178
  id: string;
@@ -21106,6 +21125,19 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
21106
21125
  output: void;
21107
21126
  meta: object;
21108
21127
  }>;
21128
+ adoptionResync: import("@trpc/server").TRPCMutationProcedure<{
21129
+ input: {
21130
+ [x: string]: unknown;
21131
+ camDeviceId: number;
21132
+ resetToSource?: boolean | undefined;
21133
+ };
21134
+ output: {
21135
+ changed: boolean;
21136
+ rebuiltChildren: number;
21137
+ removedChildren?: number | undefined;
21138
+ };
21139
+ meta: object;
21140
+ }>;
21109
21141
  testField: import("@trpc/server").TRPCMutationProcedure<{
21110
21142
  input: {
21111
21143
  [x: string]: unknown;
@@ -6,7 +6,7 @@
6
6
  * scope+access check inside `protectedProcedure` (see
7
7
  * `server/backend/src/api/trpc/trpc.middleware.ts`).
8
8
  *
9
- * Coverage: 707 method paths across 110 capabilities.
9
+ * Coverage: 708 method paths across 110 capabilities.
10
10
  */
11
11
  import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
12
12
  export interface MethodAccessRecord {
@@ -58,7 +58,7 @@ export interface SystemProxy {
58
58
  readonly decoder: Pick<InferProvider<typeof decoderCapability>, 'supportsCodec' | 'getInfo' | 'createSession' | 'destroySession' | 'pushPacket' | 'openStream' | 'pullFrames' | 'pullHandles' | 'getFrame' | 'getShmStats' | 'updateConfig' | 'getStats' | 'listActiveSessions' | 'reprobeHwaccel'>;
59
59
  readonly deviceAdoption: Pick<InferProvider<typeof deviceAdoptionCapability>, 'listCandidateFilters' | 'listCandidates' | 'getCandidate' | 'refresh' | 'adopt' | 'release' | 'resync'>;
60
60
  readonly deviceExport: Pick<InferProvider<typeof deviceExportCapability>, 'getStatus' | 'listSupportedDeviceKinds' | 'listExposedDevices' | 'exposeDevice' | 'unexposeDevice'>;
61
- readonly deviceManager: Pick<InferProvider<typeof deviceManagerCapability>, 'allocateDeviceId' | 'registerDevice' | 'removeDevice' | 'persistConfig' | 'listLocations' | 'addLocation' | 'removeLocation' | 'listPersistedByAddon' | 'listAll' | 'getChildren' | 'removeByIntegration' | 'listWrappersForCap' | 'listBindableCapsForDeviceType' | 'discoverDevices' | 'adoptDevice' | 'getCreationSchema' | 'createDevice' | 'testCreationField' | 'adoptionListCandidates' | 'adoptionRefresh' | 'adoptionAdopt' | 'adoptionRelease'>;
61
+ readonly deviceManager: Pick<InferProvider<typeof deviceManagerCapability>, 'allocateDeviceId' | 'registerDevice' | 'removeDevice' | 'persistConfig' | 'listLocations' | 'addLocation' | 'removeLocation' | 'listPersistedByAddon' | 'listAll' | 'getChildren' | 'removeByIntegration' | 'listWrappersForCap' | 'listBindableCapsForDeviceType' | 'discoverDevices' | 'adoptDevice' | 'getCreationSchema' | 'createDevice' | 'testCreationField' | 'adoptionListCandidates' | 'adoptionRefresh' | 'adoptionAdopt' | 'adoptionRelease' | 'adoptionResync'>;
62
62
  readonly deviceProvider: Pick<InferProvider<typeof deviceProviderCapability>, 'start' | 'stop' | 'getStatus' | 'getDevices' | 'supportsDiscovery' | 'discoverDevices' | 'adoptDiscoveredDevice' | 'supportsManualCreation' | 'getChildCreationSchema' | 'createDevice' | 'testCreationField'>;
63
63
  readonly deviceState: Pick<InferProvider<typeof deviceStateCapability>, 'getAllSnapshots'>;
64
64
  readonly faceGallery: Pick<InferProvider<typeof faceGalleryCapability>, 'listIdentities' | 'createIdentity' | 'renameIdentity' | 'deleteIdentity' | 'listIdentitySamples' | 'removeSample' | 'listRecentFaces' | 'getFaceMedia' | 'assignFace' | 'unassignFace' | 'deleteFace' | 'assignFaces' | 'unassignFaces' | 'suggestFaceClusters'>;
package/dist/index.js CHANGED
@@ -5433,15 +5433,18 @@ var humiditySensorCapability = {
5433
5433
  //#endregion
5434
5434
  //#region src/capabilities/image.cap.ts
5435
5435
  /**
5436
- * Image display cap. Models HA `image.*` entities a single still image
5437
- * exposed by an integration (a snapshot, a chart, a generated picture).
5438
- *
5439
- * Read-only: there are no setters. The provider resolves the HA
5440
- * `entity_picture` (a relative, signed-token path) into an ABSOLUTE URL
5441
- * the browser loads directly the token stays in the query string so no
5442
- * auth header is required. The slice carries that URL plus the upstream
5443
- * last-updated timestamp; the image changes when the entity state (a
5444
- * timestamp) changes.
5436
+ * Image display cap. Models a single still image exposed by an integration
5437
+ * a snapshot, a chart, a generated picture, or a robot's cleaning-map render.
5438
+ *
5439
+ * Read-only: there are no setters. The provider resolves whatever upstream
5440
+ * source it has into an ABSOLUTE URL the browser loads directly:
5441
+ * - HA `image.*` entities the `entity_picture` signed-token path
5442
+ * (token stays in the query string, so no auth header is needed);
5443
+ * - a Dreame/robot map the cloud/OSS map-image URL (or an addon
5444
+ * data-plane URL serving the rendered map bytes), exposed as its own
5445
+ * Image child device grouped under the robot's container.
5446
+ * The slice carries that URL plus the upstream last-updated timestamp; the
5447
+ * image changes when the source's last-updated marker changes.
5445
5448
  */
5446
5449
  var ImageStatusSchema = zod.z.object({
5447
5450
  /** Absolute signed URL the browser loads directly. Null when the
@@ -5487,12 +5490,29 @@ var LawnMowerActivitySchema = zod.z.enum([
5487
5490
  "docked",
5488
5491
  "error"
5489
5492
  ]);
5493
+ /** Severity of the current device/error code — info (status), warning, error. */
5494
+ var DeviceCodeSeveritySchema = zod.z.enum([
5495
+ "info",
5496
+ "warning",
5497
+ "error"
5498
+ ]);
5490
5499
  var LawnMowerControlStatusSchema = zod.z.object({
5491
5500
  /** Lifecycle activity of the mower. */
5492
5501
  activity: LawnMowerActivitySchema,
5493
5502
  /** 0..100 battery percentage. Null when the device has no battery
5494
5503
  * reading. */
5495
5504
  batteryLevel: zod.z.number().min(0).max(100).nullable(),
5505
+ /** 0..100 mowing-completion percentage of the current task, or null when no
5506
+ * task is active / progress is unavailable. */
5507
+ progressPercent: zod.z.number().min(0).max(100).nullable(),
5508
+ /** Current device/event code (dynamic — mostly status, sometimes an error),
5509
+ * or null when unknown. */
5510
+ currentCode: zod.z.number().nullable(),
5511
+ /** Human label for {@link currentCode}, or null when undecodable. */
5512
+ currentCodeLabel: zod.z.string().nullable(),
5513
+ /** Severity of {@link currentCode}. `error` (and often `warning`) warrants UI
5514
+ * attention; `info` is normal status. */
5515
+ severity: DeviceCodeSeveritySchema,
5496
5516
  /** Ms epoch when the slice was last updated. */
5497
5517
  lastChangedAt: zod.z.number()
5498
5518
  });
@@ -8126,6 +8146,7 @@ var VacuumStateSchema = zod.z.enum([
8126
8146
  "paused",
8127
8147
  "returning",
8128
8148
  "docked",
8149
+ "drying",
8129
8150
  "error"
8130
8151
  ]);
8131
8152
  /**
@@ -8164,6 +8185,12 @@ var VacuumControlStatusSchema = zod.z.object({
8164
8185
  detergent: TankStatusSchema.nullable(),
8165
8186
  /** Dust bin. Null when the hardware has no dust bin. */
8166
8187
  dustBin: TankStatusSchema.nullable(),
8188
+ /** 0..100 cleaning-completion percentage of the current task, or null. */
8189
+ progressPercent: zod.z.number().min(0).max(100).nullable(),
8190
+ /** Current error code (0 / null = no error). */
8191
+ errorCode: zod.z.number().nullable(),
8192
+ /** Human label for {@link errorCode}, or null when none / undecodable. */
8193
+ errorLabel: zod.z.string().nullable(),
8167
8194
  /** Ms epoch when the slice was last updated. */
8168
8195
  lastChangedAt: zod.z.number()
8169
8196
  });
@@ -9188,9 +9215,29 @@ var BaseDevice = class {
9188
9215
  * is open (Reolink writes `hasPtz/hasIntercom`, Hikvision writes
9189
9216
  * `hasSupplementalLight/hasAlarmIo`, etc).
9190
9217
  *
9191
- * Default: no-op (driver had no probe to run).
9218
+ * Default: nothing to probe mark the device PROBED (set `lastProbedAt`) so
9219
+ * the kernel treats it as ready immediately. A device that derives its shape
9220
+ * from a spec (a container, or an accessory sensor) rather than from a
9221
+ * hardware probe has no probe to "complete"; without stamping `lastProbedAt`
9222
+ * it would look perpetually un-probed — logging "Initial probe did not
9223
+ * complete" on every boot and spinning a pointless retry chain. Drivers that
9224
+ * DO probe override this and write their own `feature-probe` slice (including
9225
+ * `lastProbedAt`) once their probe actually succeeds.
9192
9226
  */
9193
- async onProbe() {}
9227
+ async onProbe() {
9228
+ const base = this.runtimeState.getCapState("feature-probe") ?? {
9229
+ flags: {},
9230
+ deviceType: null,
9231
+ model: null,
9232
+ channelCount: null,
9233
+ lastProbedAt: 0,
9234
+ lastFetchedAt: 0
9235
+ };
9236
+ this.runtimeState.setCapState("feature-probe", {
9237
+ ...base,
9238
+ lastProbedAt: Date.now()
9239
+ });
9240
+ }
9194
9241
  /**
9195
9242
  * Phase 5 — fired after the device + its accessories are registered.
9196
9243
  * Drivers publish streams to the broker, kick off background tasks,
@@ -10096,7 +10143,8 @@ function createSystemProxy(api) {
10096
10143
  adoptionListCandidates: (input) => dispatch("deviceManager", "adoptionListCandidates", "query", input),
10097
10144
  adoptionRefresh: (input) => dispatch("deviceManager", "adoptionRefresh", "mutation", input),
10098
10145
  adoptionAdopt: (input) => dispatch("deviceManager", "adoptionAdopt", "mutation", input),
10099
- adoptionRelease: (input) => dispatch("deviceManager", "adoptionRelease", "mutation", input)
10146
+ adoptionRelease: (input) => dispatch("deviceManager", "adoptionRelease", "mutation", input),
10147
+ adoptionResync: (input) => dispatch("deviceManager", "adoptionResync", "mutation", input)
10100
10148
  },
10101
10149
  deviceProvider: {
10102
10150
  start: (input) => dispatch("deviceProvider", "start", "mutation", input),
@@ -12453,17 +12501,32 @@ var ReleaseInputSchema = zod.z.object({
12453
12501
  * the parent cascades into every accessory. */
12454
12502
  camDeviceId: zod.z.number().int().nonnegative()
12455
12503
  });
12456
- var ResyncInputSchema = zod.z.object({
12457
- /** Parent CamStack device id of an adopted device. The provider resolves its
12458
- * source (integration/broker + native id) and re-aligns the device's
12459
- * structural spec (type/role/capabilities/units) with the live mapping,
12460
- * rebuilding any child whose class changed while preserving operator edits. */
12461
- camDeviceId: zod.z.number().int().nonnegative() });
12504
+ var ResyncInputSchema = zod.z.object({
12505
+ /** Parent CamStack device id of an adopted device. The provider resolves its
12506
+ * source (integration/broker + native id) and re-aligns the device's
12507
+ * structural spec (type/role/capabilities/units) with the live mapping,
12508
+ * rebuilding any child whose class changed while preserving operator edits. */
12509
+ camDeviceId: zod.z.number().int().nonnegative(),
12510
+ /** "Resync from zero" (#19). When true, the kernel PURGES every accessory
12511
+ * child of `camDeviceId` BEFORE the provider re-derives the device, so the
12512
+ * children are rebuilt fresh from source — correct names, coords, and units —
12513
+ * instead of being preserved by the incremental reconcile. Use to recover from
12514
+ * legacy generic/placeholder names that the normal name-precedence keeps frozen
12515
+ * (the operator's explicit reset). Push-driven integrations (no-op resync)
12516
+ * rebuild on their next snapshot; pull/command integrations rebuild in `resync`.
12517
+ * Operator edits on the PARENT (its name, layout, primary-child pick) survive —
12518
+ * only the children are torn down. Omitted/false ⇒ the normal incremental
12519
+ * re-sync that preserves children. */
12520
+ resetToSource: zod.z.boolean().optional()
12521
+ });
12462
12522
  var ResyncResultSchema = zod.z.object({
12463
12523
  /** True when the persisted spec actually changed (children may have been rebuilt). */
12464
12524
  changed: zod.z.boolean(),
12465
12525
  /** Number of child devices rebuilt into a new class by this re-sync. */
12466
- rebuiltChildren: zod.z.number().int().nonnegative()
12526
+ rebuiltChildren: zod.z.number().int().nonnegative(),
12527
+ /** Number of accessory children torn down by a `resetToSource` purge before the
12528
+ * provider re-derived the device. 0/absent for a normal incremental re-sync. */
12529
+ removedChildren: zod.z.number().int().nonnegative().optional()
12467
12530
  });
12468
12531
  var deviceAdoptionCapability = {
12469
12532
  name: "device-adoption",
@@ -14909,6 +14972,11 @@ var DeviceMetaSchema = zod.z.object({
14909
14972
  addonId: zod.z.string(),
14910
14973
  type: zod.z.string(),
14911
14974
  name: zod.z.string(),
14975
+ /** True once an operator explicitly renamed the device via `setName`. Drives
14976
+ * reconcile name-precedence (preserve operator name vs adopt fresh provider
14977
+ * name). Absent ⇒ treated as user-named (PRESERVE) for legacy rows. See
14978
+ * `DeviceMeta.userNamed`. */
14979
+ userNamed: zod.z.boolean().optional(),
14912
14980
  location: zod.z.string().nullable(),
14913
14981
  disabled: zod.z.boolean(),
14914
14982
  parentDeviceId: zod.z.number().nullable(),
@@ -15447,6 +15515,16 @@ var deviceManagerCapability = {
15447
15515
  auth: "admin"
15448
15516
  }),
15449
15517
  /**
15518
+ * Re-sync a device with its source via the device-adoption provider of the
15519
+ * device's OWNING addon (resolved from `camDeviceId`). Unlike the singleton
15520
+ * `device-adoption.resync`, this routes to the correct integration so a
15521
+ * Dreame / Matter / … device never hits another integration's provider.
15522
+ */
15523
+ adoptionResync: require_sleep.method(ResyncInputSchema, ResyncResultSchema, {
15524
+ kind: "mutation",
15525
+ auth: "admin"
15526
+ }),
15527
+ /**
15450
15528
  * Test a field value on an existing device (e.g. probe an RTSP URL).
15451
15529
  * Routes through the device-provider for the owning addon.
15452
15530
  */
@@ -21725,6 +21803,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
21725
21803
  addonId: null,
21726
21804
  access: "create"
21727
21805
  },
21806
+ "deviceManager.adoptionResync": {
21807
+ capName: "device-manager",
21808
+ capScope: "system",
21809
+ addonId: null,
21810
+ access: "create"
21811
+ },
21728
21812
  "deviceManager.allocateDeviceId": {
21729
21813
  capName: "device-manager",
21730
21814
  capScope: "system",
@@ -25883,6 +25967,7 @@ exports.DecoderStatsSchema = DecoderStatsSchema;
25883
25967
  exports.DeleteIntegrationResultSchema = DeleteIntegrationResultSchema;
25884
25968
  exports.DetectionSourceSchema = DetectionSourceSchema;
25885
25969
  exports.DetectorOutputSchema = DetectorOutputSchema;
25970
+ exports.DeviceCodeSeveritySchema = DeviceCodeSeveritySchema;
25886
25971
  exports.DeviceConfig = DeviceConfig;
25887
25972
  exports.DeviceDiscoveryStatusSchema = DeviceDiscoveryStatusSchema;
25888
25973
  exports.DeviceExportExposeInputSchema = ExposeInputSchema;
package/dist/index.mjs CHANGED
@@ -5432,15 +5432,18 @@ var humiditySensorCapability = {
5432
5432
  //#endregion
5433
5433
  //#region src/capabilities/image.cap.ts
5434
5434
  /**
5435
- * Image display cap. Models HA `image.*` entities a single still image
5436
- * exposed by an integration (a snapshot, a chart, a generated picture).
5437
- *
5438
- * Read-only: there are no setters. The provider resolves the HA
5439
- * `entity_picture` (a relative, signed-token path) into an ABSOLUTE URL
5440
- * the browser loads directly the token stays in the query string so no
5441
- * auth header is required. The slice carries that URL plus the upstream
5442
- * last-updated timestamp; the image changes when the entity state (a
5443
- * timestamp) changes.
5435
+ * Image display cap. Models a single still image exposed by an integration
5436
+ * a snapshot, a chart, a generated picture, or a robot's cleaning-map render.
5437
+ *
5438
+ * Read-only: there are no setters. The provider resolves whatever upstream
5439
+ * source it has into an ABSOLUTE URL the browser loads directly:
5440
+ * - HA `image.*` entities the `entity_picture` signed-token path
5441
+ * (token stays in the query string, so no auth header is needed);
5442
+ * - a Dreame/robot map the cloud/OSS map-image URL (or an addon
5443
+ * data-plane URL serving the rendered map bytes), exposed as its own
5444
+ * Image child device grouped under the robot's container.
5445
+ * The slice carries that URL plus the upstream last-updated timestamp; the
5446
+ * image changes when the source's last-updated marker changes.
5444
5447
  */
5445
5448
  var ImageStatusSchema = z.object({
5446
5449
  /** Absolute signed URL the browser loads directly. Null when the
@@ -5486,12 +5489,29 @@ var LawnMowerActivitySchema = z.enum([
5486
5489
  "docked",
5487
5490
  "error"
5488
5491
  ]);
5492
+ /** Severity of the current device/error code — info (status), warning, error. */
5493
+ var DeviceCodeSeveritySchema = z.enum([
5494
+ "info",
5495
+ "warning",
5496
+ "error"
5497
+ ]);
5489
5498
  var LawnMowerControlStatusSchema = z.object({
5490
5499
  /** Lifecycle activity of the mower. */
5491
5500
  activity: LawnMowerActivitySchema,
5492
5501
  /** 0..100 battery percentage. Null when the device has no battery
5493
5502
  * reading. */
5494
5503
  batteryLevel: z.number().min(0).max(100).nullable(),
5504
+ /** 0..100 mowing-completion percentage of the current task, or null when no
5505
+ * task is active / progress is unavailable. */
5506
+ progressPercent: z.number().min(0).max(100).nullable(),
5507
+ /** Current device/event code (dynamic — mostly status, sometimes an error),
5508
+ * or null when unknown. */
5509
+ currentCode: z.number().nullable(),
5510
+ /** Human label for {@link currentCode}, or null when undecodable. */
5511
+ currentCodeLabel: z.string().nullable(),
5512
+ /** Severity of {@link currentCode}. `error` (and often `warning`) warrants UI
5513
+ * attention; `info` is normal status. */
5514
+ severity: DeviceCodeSeveritySchema,
5495
5515
  /** Ms epoch when the slice was last updated. */
5496
5516
  lastChangedAt: z.number()
5497
5517
  });
@@ -8125,6 +8145,7 @@ var VacuumStateSchema = z.enum([
8125
8145
  "paused",
8126
8146
  "returning",
8127
8147
  "docked",
8148
+ "drying",
8128
8149
  "error"
8129
8150
  ]);
8130
8151
  /**
@@ -8163,6 +8184,12 @@ var VacuumControlStatusSchema = z.object({
8163
8184
  detergent: TankStatusSchema.nullable(),
8164
8185
  /** Dust bin. Null when the hardware has no dust bin. */
8165
8186
  dustBin: TankStatusSchema.nullable(),
8187
+ /** 0..100 cleaning-completion percentage of the current task, or null. */
8188
+ progressPercent: z.number().min(0).max(100).nullable(),
8189
+ /** Current error code (0 / null = no error). */
8190
+ errorCode: z.number().nullable(),
8191
+ /** Human label for {@link errorCode}, or null when none / undecodable. */
8192
+ errorLabel: z.string().nullable(),
8166
8193
  /** Ms epoch when the slice was last updated. */
8167
8194
  lastChangedAt: z.number()
8168
8195
  });
@@ -9187,9 +9214,29 @@ var BaseDevice = class {
9187
9214
  * is open (Reolink writes `hasPtz/hasIntercom`, Hikvision writes
9188
9215
  * `hasSupplementalLight/hasAlarmIo`, etc).
9189
9216
  *
9190
- * Default: no-op (driver had no probe to run).
9217
+ * Default: nothing to probe mark the device PROBED (set `lastProbedAt`) so
9218
+ * the kernel treats it as ready immediately. A device that derives its shape
9219
+ * from a spec (a container, or an accessory sensor) rather than from a
9220
+ * hardware probe has no probe to "complete"; without stamping `lastProbedAt`
9221
+ * it would look perpetually un-probed — logging "Initial probe did not
9222
+ * complete" on every boot and spinning a pointless retry chain. Drivers that
9223
+ * DO probe override this and write their own `feature-probe` slice (including
9224
+ * `lastProbedAt`) once their probe actually succeeds.
9191
9225
  */
9192
- async onProbe() {}
9226
+ async onProbe() {
9227
+ const base = this.runtimeState.getCapState("feature-probe") ?? {
9228
+ flags: {},
9229
+ deviceType: null,
9230
+ model: null,
9231
+ channelCount: null,
9232
+ lastProbedAt: 0,
9233
+ lastFetchedAt: 0
9234
+ };
9235
+ this.runtimeState.setCapState("feature-probe", {
9236
+ ...base,
9237
+ lastProbedAt: Date.now()
9238
+ });
9239
+ }
9193
9240
  /**
9194
9241
  * Phase 5 — fired after the device + its accessories are registered.
9195
9242
  * Drivers publish streams to the broker, kick off background tasks,
@@ -10095,7 +10142,8 @@ function createSystemProxy(api) {
10095
10142
  adoptionListCandidates: (input) => dispatch("deviceManager", "adoptionListCandidates", "query", input),
10096
10143
  adoptionRefresh: (input) => dispatch("deviceManager", "adoptionRefresh", "mutation", input),
10097
10144
  adoptionAdopt: (input) => dispatch("deviceManager", "adoptionAdopt", "mutation", input),
10098
- adoptionRelease: (input) => dispatch("deviceManager", "adoptionRelease", "mutation", input)
10145
+ adoptionRelease: (input) => dispatch("deviceManager", "adoptionRelease", "mutation", input),
10146
+ adoptionResync: (input) => dispatch("deviceManager", "adoptionResync", "mutation", input)
10099
10147
  },
10100
10148
  deviceProvider: {
10101
10149
  start: (input) => dispatch("deviceProvider", "start", "mutation", input),
@@ -12452,17 +12500,32 @@ var ReleaseInputSchema = z.object({
12452
12500
  * the parent cascades into every accessory. */
12453
12501
  camDeviceId: z.number().int().nonnegative()
12454
12502
  });
12455
- var ResyncInputSchema = z.object({
12456
- /** Parent CamStack device id of an adopted device. The provider resolves its
12457
- * source (integration/broker + native id) and re-aligns the device's
12458
- * structural spec (type/role/capabilities/units) with the live mapping,
12459
- * rebuilding any child whose class changed while preserving operator edits. */
12460
- camDeviceId: z.number().int().nonnegative() });
12503
+ var ResyncInputSchema = z.object({
12504
+ /** Parent CamStack device id of an adopted device. The provider resolves its
12505
+ * source (integration/broker + native id) and re-aligns the device's
12506
+ * structural spec (type/role/capabilities/units) with the live mapping,
12507
+ * rebuilding any child whose class changed while preserving operator edits. */
12508
+ camDeviceId: z.number().int().nonnegative(),
12509
+ /** "Resync from zero" (#19). When true, the kernel PURGES every accessory
12510
+ * child of `camDeviceId` BEFORE the provider re-derives the device, so the
12511
+ * children are rebuilt fresh from source — correct names, coords, and units —
12512
+ * instead of being preserved by the incremental reconcile. Use to recover from
12513
+ * legacy generic/placeholder names that the normal name-precedence keeps frozen
12514
+ * (the operator's explicit reset). Push-driven integrations (no-op resync)
12515
+ * rebuild on their next snapshot; pull/command integrations rebuild in `resync`.
12516
+ * Operator edits on the PARENT (its name, layout, primary-child pick) survive —
12517
+ * only the children are torn down. Omitted/false ⇒ the normal incremental
12518
+ * re-sync that preserves children. */
12519
+ resetToSource: z.boolean().optional()
12520
+ });
12461
12521
  var ResyncResultSchema = z.object({
12462
12522
  /** True when the persisted spec actually changed (children may have been rebuilt). */
12463
12523
  changed: z.boolean(),
12464
12524
  /** Number of child devices rebuilt into a new class by this re-sync. */
12465
- rebuiltChildren: z.number().int().nonnegative()
12525
+ rebuiltChildren: z.number().int().nonnegative(),
12526
+ /** Number of accessory children torn down by a `resetToSource` purge before the
12527
+ * provider re-derived the device. 0/absent for a normal incremental re-sync. */
12528
+ removedChildren: z.number().int().nonnegative().optional()
12466
12529
  });
12467
12530
  var deviceAdoptionCapability = {
12468
12531
  name: "device-adoption",
@@ -14908,6 +14971,11 @@ var DeviceMetaSchema = z.object({
14908
14971
  addonId: z.string(),
14909
14972
  type: z.string(),
14910
14973
  name: z.string(),
14974
+ /** True once an operator explicitly renamed the device via `setName`. Drives
14975
+ * reconcile name-precedence (preserve operator name vs adopt fresh provider
14976
+ * name). Absent ⇒ treated as user-named (PRESERVE) for legacy rows. See
14977
+ * `DeviceMeta.userNamed`. */
14978
+ userNamed: z.boolean().optional(),
14911
14979
  location: z.string().nullable(),
14912
14980
  disabled: z.boolean(),
14913
14981
  parentDeviceId: z.number().nullable(),
@@ -15446,6 +15514,16 @@ var deviceManagerCapability = {
15446
15514
  auth: "admin"
15447
15515
  }),
15448
15516
  /**
15517
+ * Re-sync a device with its source via the device-adoption provider of the
15518
+ * device's OWNING addon (resolved from `camDeviceId`). Unlike the singleton
15519
+ * `device-adoption.resync`, this routes to the correct integration so a
15520
+ * Dreame / Matter / … device never hits another integration's provider.
15521
+ */
15522
+ adoptionResync: method(ResyncInputSchema, ResyncResultSchema, {
15523
+ kind: "mutation",
15524
+ auth: "admin"
15525
+ }),
15526
+ /**
15449
15527
  * Test a field value on an existing device (e.g. probe an RTSP URL).
15450
15528
  * Routes through the device-provider for the owning addon.
15451
15529
  */
@@ -21724,6 +21802,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
21724
21802
  addonId: null,
21725
21803
  access: "create"
21726
21804
  },
21805
+ "deviceManager.adoptionResync": {
21806
+ capName: "device-manager",
21807
+ capScope: "system",
21808
+ addonId: null,
21809
+ access: "create"
21810
+ },
21727
21811
  "deviceManager.allocateDeviceId": {
21728
21812
  capName: "device-manager",
21729
21813
  capScope: "system",
@@ -25707,4 +25791,4 @@ function scoreRuntimes(hw) {
25707
25791
  };
25708
25792
  }
25709
25793
  //#endregion
25710
- 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, 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, 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_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderAssignmentSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DetectorOutputSchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposedResourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageStatusSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, MACRO_LABELS, METHOD_ACCESS_MAP, MODEL_FORMATS, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RECOGNITION_TYPES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RegisteredStreamSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, 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, StreamInfoSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackSchema, TrackStateSchema, TrackedDetectionSchema, TurnServerSchema, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WidgetHostEnum, 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, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, colorCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, decoderCapability, defaultDeviceFor, defineCustomActions, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateSchemaFields, errMsg, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isDeployableToAgent, isDeviceConfigCap, isEvent, jobKindSchema, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, 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, osdCapability, parseCameraStreamConfig, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, presenceCapability, pressureSensorCapability, privacyMaskCapability, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveDetectionRuntime, resolveDeviceProfile, resolveModelFormat, resolveRunnerId, restreamerCapability, runInferenceStep, runtimeDevices, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, snapshotProviderCapability, ssoBridgeCapability, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamingEngineCapability, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, toDeviceSummary, toStreamSourceEntry, toastCapability, turnProviderCapability, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, valveCapability, vibrationCapability, videoclipsCapability, waterHeaterCapability, weatherCapability, webrtcCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
25794
+ 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, 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, 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_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderAssignmentSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DetectorOutputSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposedResourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageStatusSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, MACRO_LABELS, METHOD_ACCESS_MAP, MODEL_FORMATS, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RECOGNITION_TYPES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RegisteredStreamSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, 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, StreamInfoSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackSchema, TrackStateSchema, TrackedDetectionSchema, TurnServerSchema, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WidgetHostEnum, 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, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, colorCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, decoderCapability, defaultDeviceFor, defineCustomActions, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateSchemaFields, errMsg, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isDeployableToAgent, isDeviceConfigCap, isEvent, jobKindSchema, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, 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, osdCapability, parseCameraStreamConfig, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, presenceCapability, pressureSensorCapability, privacyMaskCapability, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveDetectionRuntime, resolveDeviceProfile, resolveModelFormat, resolveRunnerId, restreamerCapability, runInferenceStep, runtimeDevices, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, snapshotProviderCapability, ssoBridgeCapability, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamingEngineCapability, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, toDeviceSummary, toStreamSourceEntry, toastCapability, turnProviderCapability, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, valveCapability, vibrationCapability, videoclipsCapability, waterHeaterCapability, weatherCapability, webrtcCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",