@camstack/types 1.2.263 → 1.2.265

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/automation/recipe.d.ts +1 -1
  2. package/dist/capabilities/composer.cap.d.ts +328 -0
  3. package/dist/capabilities/control.cap.d.ts +4 -4
  4. package/dist/capabilities/core-blocks.cap.d.ts +2339 -0
  5. package/dist/capabilities/custom-model-registry.cap.d.ts +44 -2
  6. package/dist/capabilities/day-night.cap.d.ts +8 -8
  7. package/dist/capabilities/device-extension.cap.d.ts +8 -8
  8. package/dist/capabilities/index.d.ts +4 -2
  9. package/dist/capabilities/model-convert.cap.d.ts +22 -1
  10. package/dist/capabilities/model-distributor.cap.d.ts +44 -2
  11. package/dist/capabilities/notification-rules.cap.d.ts +74 -74
  12. package/dist/capabilities/osd-manager.cap.d.ts +13 -13
  13. package/dist/composition/composition-graph.d.ts +36 -0
  14. package/dist/composition/composition-report.d.ts +264 -0
  15. package/dist/composition/composition.d.ts +362 -0
  16. package/dist/composition/evaluate-field.d.ts +63 -0
  17. package/dist/composition/examples.d.ts +10 -0
  18. package/dist/composition/expression-kinds.d.ts +36 -0
  19. package/dist/composition/index.d.ts +12 -0
  20. package/dist/composition/state-fields.d.ts +19 -0
  21. package/dist/composition/validate-composition.d.ts +46 -0
  22. package/dist/device/schema-fields.d.ts +3 -0
  23. package/dist/expression/builtins.d.ts +30 -2
  24. package/dist/generated/addon-api.d.ts +57 -0
  25. package/dist/generated/capability-router-map.d.ts +5 -2
  26. package/dist/generated/method-access-map.d.ts +1 -1
  27. package/dist/generated/system-proxy.d.ts +1 -1
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.js +1388 -83
  30. package/dist/index.mjs +1314 -84
  31. package/dist/notification/rule-kinds.d.ts +3 -2
  32. package/dist/types/models.d.ts +80 -2
  33. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -5214,6 +5214,50 @@ function inferModelProvider(entry) {
5214
5214
  if (/frigate/i.test(haystack)) return "frigate";
5215
5215
  return "custom";
5216
5216
  }
5217
+ var MODEL_HOSTING = [
5218
+ "camstack-hf",
5219
+ "third-party",
5220
+ "built-in"
5221
+ ];
5222
+ var ModelLicenseRecordSchema = z.object({
5223
+ /** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
5224
+ weights: z.string().min(1),
5225
+ /** SPDX id of the upstream code that defines / trained the network. */
5226
+ code: z.string().min(1).optional(),
5227
+ /** Training data whose terms add obligations (attribution, non-commercial). */
5228
+ data: z.object({
5229
+ name: z.string().min(1),
5230
+ terms: z.string().min(1),
5231
+ url: z.string().url().optional()
5232
+ }).optional(),
5233
+ /** The project the weights come from. Required on built-in entries (guard). */
5234
+ upstream: z.object({
5235
+ name: z.string().min(1),
5236
+ url: z.string().url()
5237
+ }).optional(),
5238
+ /** Where the licence text governing the weights is published. */
5239
+ url: z.string().url().optional(),
5240
+ /** Attribution the licence REQUIRES, verbatim. */
5241
+ attribution: z.string().min(1).optional(),
5242
+ /** What CamStack changed. Required when `hosting` is `camstack-hf` (guard). */
5243
+ modifications: z.string().min(1).optional(),
5244
+ /** Who serves the file a node downloads. */
5245
+ hosting: z.enum(MODEL_HOSTING).optional(),
5246
+ /** True when the weights or their data forbid commercial use. */
5247
+ nonCommercial: z.boolean().optional()
5248
+ });
5249
+ /**
5250
+ * The licence of a model, as a record rather than a bare SPDX string: a
5251
+ * permissive CODE licence routinely sits on top of restrictive WEIGHTS or
5252
+ * DATA, and the obligations (attribution, modification notices, source offers)
5253
+ * are per upstream. A persisted custom-model row written when this field was a
5254
+ * string still parses — the string is lifted into `{ weights }`.
5255
+ *
5256
+ * Every licence surface (the admin "Models and licenses" page,
5257
+ * `THIRD_PARTY_MODELS.md`, the Hugging Face model table) is GENERATED from
5258
+ * these records by `scripts/gen-model-licenses.ts` (D661).
5259
+ */
5260
+ var ModelLicenseSchema = z.preprocess((value) => typeof value === "string" ? { weights: value } : value, ModelLicenseRecordSchema);
5217
5261
  var ModelCatalogEntrySchema = z.object({
5218
5262
  id: z.string(),
5219
5263
  name: z.string(),
@@ -5302,11 +5346,11 @@ var ModelCatalogEntrySchema = z.object({
5302
5346
  p95LatencyMs: z.record(z.string(), z.number()).optional()
5303
5347
  }).optional(),
5304
5348
  /**
5305
- * SPDX-ish license id of the model weights (e.g. `AGPL-3.0` for Ultralytics
5306
- * YOLO26, `GPL-3.0` for YOLOv9, `Apache-2.0` for D-FINE/RF-DETR). Matters for
5307
- * the retraining addon and any future commercial distribution.
5349
+ * The model's licence record — see {@link ModelLicenseSchema}. Optional in
5350
+ * the schema (a custom model's author may state none); REQUIRED and complete
5351
+ * on every built-in catalog entry (`scripts/check-catalog-licence.ts`).
5308
5352
  */
5309
- license: z.string().optional(),
5353
+ license: ModelLicenseSchema.optional(),
5310
5354
  /**
5311
5355
  * Variant-selector grouping. The UI groups models by `family` + `tier` and
5312
5356
  * offers `precision` / `optimization` as variant axes WITHIN a tier — so all
@@ -5502,23 +5546,6 @@ var ExpressionEvalError = class extends Error {
5502
5546
  };
5503
5547
  //#endregion
5504
5548
  //#region src/expression/builtins.ts
5505
- /**
5506
- * Frozen, null-prototype builtin function table for the expression engine
5507
- * (spec §4 rule 4). The table is the SOLE surface of callable functions: the
5508
- * parser rejects any callee not in it, and the evaluator gates each call on an
5509
- * own-property check against it.
5510
- *
5511
- * Because the object has a NULL prototype AND is `Object.freeze`d:
5512
- * - it cannot be polluted (no `__proto__` / `constructor` write reaches it);
5513
- * - a lookup for `toString` / `hasOwnProperty` / `constructor` finds NOTHING
5514
- * (there is no `Object.prototype` in the chain), so those names are not
5515
- * callable — they are simply "unknown function" at parse time.
5516
- *
5517
- * Every numeric argument is validated as a finite number and every numeric
5518
- * RESULT is re-checked finite, so `/0`, `sqrt(-1)` (→ NaN) and overflow
5519
- * (`pow(10,400)` → Infinity) all raise `ExpressionEvalError` and fail the link
5520
- * closed rather than emitting a garbage value.
5521
- */
5522
5549
  function asFiniteNumber(value, name, index) {
5523
5550
  if (typeof value !== "number" || !Number.isFinite(value)) throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a finite number`);
5524
5551
  return value;
@@ -5534,6 +5561,10 @@ function finiteResult(value, name) {
5534
5561
  function allFiniteNumbers(args, name) {
5535
5562
  return args.map((a, idx) => asFiniteNumber(a, name, idx));
5536
5563
  }
5564
+ function asBoolean$1(value, name, index) {
5565
+ if (typeof value !== "boolean") throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a boolean`);
5566
+ return value;
5567
+ }
5537
5568
  var INF = Number.POSITIVE_INFINITY;
5538
5569
  var table = {
5539
5570
  min: {
@@ -5634,6 +5665,40 @@ var table = {
5634
5665
  if (from === to) return x;
5635
5666
  throw new ExpressionEvalError("convert: unit conversion table not installed");
5636
5667
  }
5668
+ },
5669
+ any: {
5670
+ minArgs: 1,
5671
+ maxArgs: INF,
5672
+ apply: (args) => args.map((a, i) => asBoolean$1(a, "any", i)).some((b) => b)
5673
+ },
5674
+ all: {
5675
+ minArgs: 1,
5676
+ maxArgs: INF,
5677
+ apply: (args) => args.map((a, i) => asBoolean$1(a, "all", i)).every((b) => b)
5678
+ },
5679
+ within: {
5680
+ minArgs: 2,
5681
+ maxArgs: 2,
5682
+ apply: (args, hooks) => {
5683
+ const windowMs = asFiniteNumber(args[1], "within", 1);
5684
+ if (windowMs < 0) throw new ExpressionEvalError("within: the window must not be negative");
5685
+ const at = args[0];
5686
+ if (at === null) return false;
5687
+ const ts = asFiniteNumber(at, "within", 0);
5688
+ const now = hooks.now;
5689
+ if (now === void 0 || !Number.isFinite(now)) throw new ExpressionEvalError("within: no clock was supplied to this evaluation");
5690
+ const inside = now - ts <= windowMs;
5691
+ if (inside) hooks.noteDeadline?.(ts + windowMs + 1);
5692
+ return inside;
5693
+ }
5694
+ },
5695
+ latest: {
5696
+ minArgs: 1,
5697
+ maxArgs: INF,
5698
+ apply: (args) => {
5699
+ const present = args.flatMap((a, i) => a === null ? [] : [asFiniteNumber(a, "latest", i)]);
5700
+ return present.length === 0 ? null : finiteResult(Math.max(...present), "latest");
5701
+ }
5637
5702
  }
5638
5703
  };
5639
5704
  /** Frozen, null-prototype builtin table. */
@@ -6238,10 +6303,17 @@ function evaluateExpressionSource(expr, bindingValues, now, opts) {
6238
6303
  ...bindingValues,
6239
6304
  ["now"]: now
6240
6305
  });
6306
+ const hooks = {
6307
+ ...opts?.hooks,
6308
+ now
6309
+ };
6241
6310
  try {
6242
6311
  return {
6243
6312
  ok: true,
6244
- value: evaluateAst(compiled.parsed.ast, scope, opts)
6313
+ value: evaluateAst(compiled.parsed.ast, scope, {
6314
+ ...opts,
6315
+ hooks
6316
+ })
6245
6317
  };
6246
6318
  } catch (err) {
6247
6319
  return {
@@ -10053,6 +10125,277 @@ function kebabToCamel(s) {
10053
10125
  return s.replace(/-([a-z])/g, (_, c) => c.toUpperCase());
10054
10126
  }
10055
10127
  //#endregion
10128
+ //#region src/composition/composition.ts
10129
+ /**
10130
+ * A COMPOSITION: a device assembled from other devices' state (D659).
10131
+ *
10132
+ * The data half of the composed-devices spec §1. A composition is stored inside
10133
+ * a core block (`CoreBlock.source.kind === 'composition'`) and run by the shared
10134
+ * `composer` runner. It names a TARGET and, for each capability of the target, a
10135
+ * FIELD MAP: every state field has exactly one source.
10136
+ *
10137
+ * Sources are keyed by `(addonId, stableId)`, NEVER by numeric device id. A
10138
+ * resync reissues numeric ids, and a composition that stored them would be
10139
+ * orphaned by the first re-adoption (the linked-devices lesson). A `stableId` is
10140
+ * unique only within its owning addon, so the owner travels with it.
10141
+ *
10142
+ * Later slices EXTEND these unions and do not reshape them. The variants a later
10143
+ * slice implements are already in the wire shape, and `validateComposition`
10144
+ * refuses them BY NAME until then:
10145
+ * target `existing` → slice 2 · feature `passthrough` → slice 3 ·
10146
+ * `commands` (`forward`) → slice 3 · source `code` → slice 4.
10147
+ */
10148
+ /** The owner of every composed device: the `composer` builtin. */
10149
+ var COMPOSER_ADDON_ID = "composer";
10150
+ /** A composed device's stableId is this prefix plus the block id. */
10151
+ var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
10152
+ /** A device with more capabilities than this is two devices. */
10153
+ var MAX_COMPOSITION_FEATURES = 16;
10154
+ var MAX_COMPOSITION_FIELDS_PER_FEATURE = 32;
10155
+ /** Longest snippet a `code` source may carry (slice 4). */
10156
+ var MAX_COMPOSITION_CODE_LENGTH = 2e4;
10157
+ var CompositionSourceRefSchema = z.object({
10158
+ /** The owning addon; `stableId` is unique only within it. */
10159
+ addonId: z.string().min(1),
10160
+ stableId: z.string().min(1)
10161
+ });
10162
+ /** One field of one capability of one source device. */
10163
+ var CompositionFieldReadSchema = z.object({
10164
+ source: CompositionSourceRefSchema,
10165
+ cap: z.string().min(1),
10166
+ /** Dotted path into the source cap's runtime-state slice. */
10167
+ fieldPath: z.string().min(1)
10168
+ });
10169
+ /** `from`: copy one source field verbatim. It is also an expression's `from` binding. */
10170
+ var CompositionFromSourceSchema = CompositionFieldReadSchema.extend({ kind: z.literal("from") });
10171
+ /** A constant binding. No device is read. */
10172
+ var CompositionLiteralBindingSchema = z.object({
10173
+ kind: z.literal("literal"),
10174
+ value: z.union([
10175
+ z.string(),
10176
+ z.number(),
10177
+ z.boolean(),
10178
+ z.null()
10179
+ ])
10180
+ });
10181
+ var CompositionBindingSchema = z.discriminatedUnion("kind", [CompositionFromSourceSchema, CompositionLiteralBindingSchema]);
10182
+ /**
10183
+ * `expression`: a formula over named bindings, in the salvaged expression
10184
+ * engine. Validated at parse by the SAME function every other consumer runs,
10185
+ * so the editor and the store cannot disagree.
10186
+ */
10187
+ var CompositionExpressionSourceSchema = z.object({
10188
+ kind: z.literal("expression"),
10189
+ expr: z.string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
10190
+ bindings: z.record(z.string().regex(EXPRESSION_IDENTIFIER_RE), CompositionBindingSchema)
10191
+ }).superRefine((src, ctx) => {
10192
+ const err = validateExpressionSource(src);
10193
+ if (err !== null) ctx.addIssue({
10194
+ code: "custom",
10195
+ message: err,
10196
+ path: ["expr"]
10197
+ });
10198
+ });
10199
+ /** `code`: RESERVED for slice 4 (own runner, one-way eject). */
10200
+ var CompositionCodeSourceSchema = z.object({
10201
+ kind: z.literal("code"),
10202
+ code: z.string().min(1).max(MAX_COMPOSITION_CODE_LENGTH)
10203
+ });
10204
+ var CompositionFieldSourceSchema = z.discriminatedUnion("kind", [
10205
+ CompositionFromSourceSchema,
10206
+ CompositionExpressionSourceSchema,
10207
+ CompositionCodeSourceSchema
10208
+ ]);
10209
+ /** `forward`: RESERVED for slice 3. Argument mapping arrives there as an additive optional `args`. */
10210
+ var CompositionForwardCommandSchema = z.object({
10211
+ kind: z.literal("forward"),
10212
+ source: CompositionSourceRefSchema,
10213
+ cap: z.string().min(1),
10214
+ method: z.string().min(1)
10215
+ });
10216
+ var CompositionCommandTargetSchema = z.discriminatedUnion("kind", [CompositionForwardCommandSchema, CompositionCodeSourceSchema]);
10217
+ var CompositionFieldsFeatureSchema = z.object({
10218
+ kind: z.literal("fields"),
10219
+ cap: z.string().min(1),
10220
+ fields: z.record(z.string().min(1), CompositionFieldSourceSchema).refine((fields) => Object.keys(fields).length <= 32, { message: `at most 32 fields per capability` }),
10221
+ /** RESERVED for slice 3; refused by the validator when non-empty. */
10222
+ commands: z.record(z.string().min(1), CompositionCommandTargetSchema).optional()
10223
+ });
10224
+ /** RESERVED for slice 3: a media / data-plane cap, whole, from one source. */
10225
+ var CompositionPassthroughFeatureSchema = z.object({
10226
+ kind: z.literal("passthrough"),
10227
+ cap: z.string().min(1),
10228
+ source: CompositionSourceRefSchema
10229
+ });
10230
+ var CompositionFeatureSchema = z.discriminatedUnion("kind", [CompositionFieldsFeatureSchema, CompositionPassthroughFeatureSchema]);
10231
+ /**
10232
+ * A NEW device. It has no `name` of its own: the block's name IS the device's
10233
+ * name (2026-08-08). A second copy here would be a second writer of one string (D62).
10234
+ */
10235
+ var CompositionNewTargetSchema = z.object({
10236
+ kind: z.literal("new"),
10237
+ type: z.enum(DeviceType),
10238
+ role: z.enum(DeviceRole).optional()
10239
+ });
10240
+ /** RESERVED for slice 2: customize an existing device. */
10241
+ var CompositionExistingTargetSchema = z.object({
10242
+ kind: z.literal("existing"),
10243
+ device: CompositionSourceRefSchema
10244
+ });
10245
+ var CompositionTargetSchema = z.discriminatedUnion("kind", [CompositionNewTargetSchema, CompositionExistingTargetSchema]);
10246
+ var CompositionSchema = z.object({
10247
+ target: CompositionTargetSchema,
10248
+ features: z.array(CompositionFeatureSchema).min(1).max(16)
10249
+ }).superRefine((composition, ctx) => {
10250
+ const seen = /* @__PURE__ */ new Set();
10251
+ composition.features.forEach((feature, index) => {
10252
+ if (seen.has(feature.cap)) ctx.addIssue({
10253
+ code: "custom",
10254
+ message: `capability \`${feature.cap}\` is composed twice — one feature per capability`,
10255
+ path: [
10256
+ "features",
10257
+ index,
10258
+ "cap"
10259
+ ]
10260
+ });
10261
+ seen.add(feature.cap);
10262
+ });
10263
+ });
10264
+ function compositionSourceKey(ref) {
10265
+ return `${ref.addonId}/${ref.stableId}`;
10266
+ }
10267
+ function compositionSliceKey(ref, cap) {
10268
+ return `${compositionSourceKey(ref)}#${cap}`;
10269
+ }
10270
+ function compositionReadKey(read) {
10271
+ return `${compositionSliceKey(read.source, read.cap)}.${read.fieldPath}`;
10272
+ }
10273
+ function composedDeviceStableId(blockId) {
10274
+ return `${COMPOSED_DEVICE_STABLE_ID_PREFIX}${blockId}`;
10275
+ }
10276
+ function composedDeviceRef(blockId) {
10277
+ return {
10278
+ addonId: COMPOSER_ADDON_ID,
10279
+ stableId: composedDeviceStableId(blockId)
10280
+ };
10281
+ }
10282
+ /** Every device field a source reads: `from` is one read, an expression is its `from` bindings. */
10283
+ function fieldReads(source) {
10284
+ switch (source.kind) {
10285
+ case "from": return [{
10286
+ source: source.source,
10287
+ cap: source.cap,
10288
+ fieldPath: source.fieldPath
10289
+ }];
10290
+ case "expression": return Object.values(source.bindings).flatMap((binding) => binding.kind === "from" ? [{
10291
+ source: binding.source,
10292
+ cap: binding.cap,
10293
+ fieldPath: binding.fieldPath
10294
+ }] : []);
10295
+ case "code": return [];
10296
+ }
10297
+ }
10298
+ //#endregion
10299
+ //#region src/composition/composition-report.ts
10300
+ /**
10301
+ * What the validator says about a composition and what the composer says about
10302
+ * a running one: the wire shapes the API returns (D659).
10303
+ */
10304
+ var CompositionProblemCodeSchema = z.enum([
10305
+ "reserved-variant",
10306
+ "unknown-capability",
10307
+ "not-composable",
10308
+ "wrong-device-type",
10309
+ "has-commands",
10310
+ "unknown-field",
10311
+ "nested-field",
10312
+ "missing-field",
10313
+ "kind-mismatch",
10314
+ "may-be-null",
10315
+ "source-missing",
10316
+ "source-unreadable",
10317
+ "source-capability-missing",
10318
+ "source-field-unknown",
10319
+ "expression-invalid",
10320
+ "cycle",
10321
+ "duplicate-target"
10322
+ ]);
10323
+ /** One refusal, named (D391). `path` points into the composition, e.g. `features[0].fields.celsius`. */
10324
+ var CompositionProblemSchema = z.object({
10325
+ code: CompositionProblemCodeSchema,
10326
+ path: z.string(),
10327
+ message: z.string()
10328
+ });
10329
+ var CompositionFieldKindSchema = z.enum([
10330
+ "string",
10331
+ "number",
10332
+ "boolean",
10333
+ "enum"
10334
+ ]);
10335
+ /** How a field says "unavailable": `null` when its schema allows it, else the device goes offline (D393). */
10336
+ var CompositionUnavailableModeSchema = z.enum(["null", "offline"]);
10337
+ /**
10338
+ * `derived` reads a source · `clock` reads only `now`, recomputed when a sibling
10339
+ * field of its cap changes value · `constant` reads nothing, computed once.
10340
+ */
10341
+ var CompositionFieldRoleSchema = z.enum([
10342
+ "derived",
10343
+ "clock",
10344
+ "constant"
10345
+ ]);
10346
+ var CompositionFieldPlanSchema = z.object({
10347
+ cap: z.string(),
10348
+ path: z.string(),
10349
+ /** Index into `composition.features` this field's capability came from —
10350
+ * lets a source/cycle problem name its path as `features[N].fields.<path>`
10351
+ * (the same convention `planComposition`'s own problems already use). */
10352
+ featureIndex: z.number().int().nonnegative(),
10353
+ kind: CompositionFieldKindSchema,
10354
+ nullable: z.boolean(),
10355
+ required: z.boolean(),
10356
+ unavailable: CompositionUnavailableModeSchema,
10357
+ role: CompositionFieldRoleSchema,
10358
+ source: CompositionFieldSourceSchema,
10359
+ reads: z.array(CompositionFieldReadSchema)
10360
+ });
10361
+ var CompositionValidationSchema = z.object({
10362
+ ok: z.boolean(),
10363
+ problems: z.array(CompositionProblemSchema),
10364
+ fields: z.array(CompositionFieldPlanSchema)
10365
+ });
10366
+ /** Mirrors `CoreBlockStatus`, pinned by `core-blocks-source.spec.ts` (Task 11). */
10367
+ var CompositionRunStatusSchema = z.enum([
10368
+ "stopped",
10369
+ "starting",
10370
+ "running",
10371
+ "failed"
10372
+ ]);
10373
+ var CompositionFieldStateKindSchema = z.enum([
10374
+ "fresh",
10375
+ "stale",
10376
+ "unavailable"
10377
+ ]);
10378
+ var CompositionFieldStateSchema = z.object({
10379
+ cap: z.string(),
10380
+ path: z.string(),
10381
+ state: CompositionFieldStateKindSchema,
10382
+ /** `null` whenever `state === 'unavailable'`; never a plausible stand-in (D393). */
10383
+ value: z.union([
10384
+ z.string(),
10385
+ z.number(),
10386
+ z.boolean(),
10387
+ z.null()
10388
+ ]),
10389
+ reason: z.string().optional()
10390
+ });
10391
+ var CompositionBlockStateSchema = z.object({
10392
+ blockId: z.string(),
10393
+ deviceId: z.number().nullable(),
10394
+ status: CompositionRunStatusSchema,
10395
+ reason: z.string().optional(),
10396
+ fields: z.array(CompositionFieldStateSchema)
10397
+ });
10398
+ //#endregion
10056
10399
  //#region src/capabilities/core-blocks.cap.ts
10057
10400
  /**
10058
10401
  * core-blocks — user-authored TypeScript, stored in the kernel and executed in
@@ -10138,6 +10481,30 @@ var CoreBlockInputSchema = z.object({
10138
10481
  */
10139
10482
  integrationId: z.string().optional()
10140
10483
  });
10484
+ /**
10485
+ * What a block IS (D659). Absent means `code` — every row stored before this
10486
+ * union keeps working unchanged.
10487
+ * - `code`: the TypeScript in `code`, compiled and run in its own runner;
10488
+ * - `recipe`: RESERVED (automations), stored shape only; refused at run by name;
10489
+ * - `composition`: declarative, run by the shared `composer`; `code` is `''`.
10490
+ */
10491
+ var CoreBlockSourceSchema = z.discriminatedUnion("kind", [
10492
+ z.object({ kind: z.literal("code") }),
10493
+ z.object({
10494
+ kind: z.literal("recipe"),
10495
+ recipe: AutomationRecipeSchema
10496
+ }),
10497
+ z.object({
10498
+ kind: z.literal("composition"),
10499
+ composition: CompositionSchema
10500
+ })
10501
+ ]);
10502
+ /** The client-authored half of a composition block. No `code`, no placement (hub-only; Phase 7). */
10503
+ var CompositionBlockInputSchema = z.object({
10504
+ name: z.string().min(1).max(120),
10505
+ enabled: z.boolean(),
10506
+ composition: CompositionSchema
10507
+ });
10141
10508
  /** A stored block. */
10142
10509
  var CoreBlockSchema = CoreBlockInputSchema.extend({
10143
10510
  id: z.string(),
@@ -10153,8 +10520,46 @@ var CoreBlockSchema = CoreBlockInputSchema.extend({
10153
10520
  */
10154
10521
  lastError: z.string().optional(),
10155
10522
  /** Ms epoch of the last state change. */
10156
- lastChangedAt: z.number()
10523
+ lastChangedAt: z.number(),
10524
+ /** What the block is. Absent means `code` (D659). */
10525
+ source: CoreBlockSourceSchema.optional()
10526
+ });
10527
+ function coreBlockSourceKind(block) {
10528
+ return block.source?.kind ?? "code";
10529
+ }
10530
+ function coreBlockComposition(block) {
10531
+ return block.source?.kind === "composition" ? block.source.composition : null;
10532
+ }
10533
+ /** What the composer said, or that it could not be asked. Unknown never looks like absent (D315). */
10534
+ var CompositionStateReadSchema = z.discriminatedUnion("kind", [z.object({
10535
+ kind: z.literal("answered"),
10536
+ state: CompositionBlockStateSchema.nullable()
10537
+ }), z.object({
10538
+ kind: z.literal("unreachable"),
10539
+ error: z.string()
10540
+ })]);
10541
+ /** A stored composition block and what the composer says about it. */
10542
+ var CompositionViewSchema = z.object({
10543
+ block: CoreBlockSchema,
10544
+ state: CompositionStateReadSchema
10157
10545
  });
10546
+ /**
10547
+ * A read of the stored compositions. `not-loaded` while the `core_blocks`
10548
+ * table has not been READ: an empty answer then would make "not yet known"
10549
+ * look like "none", and invite the operator to recreate what exists (D315).
10550
+ */
10551
+ var CompositionsNotLoadedSchema = z.object({
10552
+ state: z.literal("not-loaded"),
10553
+ reason: z.string()
10554
+ });
10555
+ var CompositionListReadSchema = z.discriminatedUnion("state", [z.object({
10556
+ state: z.literal("loaded"),
10557
+ views: z.array(CompositionViewSchema)
10558
+ }), CompositionsNotLoadedSchema]);
10559
+ var CompositionGetReadSchema = z.discriminatedUnion("state", [z.object({
10560
+ state: z.literal("loaded"),
10561
+ view: CompositionViewSchema.nullable()
10562
+ }), CompositionsNotLoadedSchema]);
10158
10563
  /** What a compile attempt produced. */
10159
10564
  var CoreBlockCompileResultSchema = z.object({
10160
10565
  ok: z.boolean(),
@@ -10236,7 +10641,119 @@ var coreBlocksCapability = {
10236
10641
  getTypeDefs: method(z.object({}), z.object({ libs: z.array(z.object({
10237
10642
  filePath: z.string(),
10238
10643
  content: z.string()
10239
- })) }), { auth: "admin" })
10644
+ })) }), { auth: "admin" }),
10645
+ /**
10646
+ * Create a composition block (D659). VALIDATED first against the live
10647
+ * sources and every stored composition; a refusal names every problem by
10648
+ * path and reason (D391) and stores nothing.
10649
+ */
10650
+ createComposition: method(z.object({ block: CompositionBlockInputSchema }), z.object({ block: CoreBlockSchema }), {
10651
+ kind: "mutation",
10652
+ auth: "admin",
10653
+ caller: "required"
10654
+ }),
10655
+ /**
10656
+ * Patch a composition block. A changed `composition` is validated exactly
10657
+ * as on create. `expectedUpdatedAt` is the `updatedAt` the caller READ: a
10658
+ * block changed since is refused by name, never silently overwritten.
10659
+ */
10660
+ updateComposition: method(z.object({
10661
+ blockId: z.string(),
10662
+ expectedUpdatedAt: z.number(),
10663
+ block: CompositionBlockInputSchema.partial()
10664
+ }), z.object({ block: CoreBlockSchema }), {
10665
+ kind: "mutation",
10666
+ auth: "admin",
10667
+ caller: "required"
10668
+ }),
10669
+ /** One composition and the composer's state for it, or `not-loaded` (D315). */
10670
+ getComposition: method(z.object({ blockId: z.string() }), CompositionGetReadSchema, { auth: "admin" }),
10671
+ listCompositions: method(z.object({}), CompositionListReadSchema, { auth: "admin" }),
10672
+ /**
10673
+ * Validate without saving — the same verdict the save reaches. A mutation
10674
+ * for its body size; it writes nothing, so its access is `view`.
10675
+ */
10676
+ validateComposition: method(z.object({
10677
+ composition: CompositionSchema,
10678
+ blockId: z.string().optional()
10679
+ }), CompositionValidationSchema, {
10680
+ kind: "mutation",
10681
+ auth: "admin",
10682
+ access: "view"
10683
+ })
10684
+ }
10685
+ };
10686
+ //#endregion
10687
+ //#region src/capabilities/composer.cap.ts
10688
+ /**
10689
+ * composer — runs every DECLARATIVE composition (D659).
10690
+ *
10691
+ * Internal and admin-only: its one caller is `core-blocks`' supervisor, which
10692
+ * sends the WHOLE set of composition blocks on every converge (idempotent),
10693
+ * and reads their state for the API. Nothing else talks to it.
10694
+ */
10695
+ /** The composer's runner id, `resolveRunnerId(decl, 'composer')`; pinned by `composer-manifest.spec.ts`. */
10696
+ var COMPOSER_RUNNER_ID = COMPOSER_ADDON_ID;
10697
+ var ComposerBlockSchema = z.object({
10698
+ id: z.string().min(1),
10699
+ name: z.string().min(1).max(120),
10700
+ enabled: z.boolean(),
10701
+ updatedAt: z.number(),
10702
+ composition: CompositionSchema
10703
+ });
10704
+ /**
10705
+ * A stored composition row that no longer PARSES — a schema a release
10706
+ * tightened, a row written by a newer build. Sent by id so the composer keeps
10707
+ * its device as a placeholder and reports the block `failed` naming the parse
10708
+ * error. Leaving it out would read, twice, exactly like a delete (D49).
10709
+ */
10710
+ var ComposerUnreadableBlockSchema = z.object({
10711
+ id: z.string().min(1),
10712
+ /** The row's stored name column; null when even that is unreadable (the device keeps the name it has). */
10713
+ name: z.string().nullable(),
10714
+ /** The parse error, in the operator's words. */
10715
+ error: z.string()
10716
+ });
10717
+ var ComposerApplyInputSchema = z.object({
10718
+ /** The shared Blocks integration; null until `core-blocks` has reconciled it. */
10719
+ integrationId: z.string().nullable(),
10720
+ /** False when the `core_blocks` read failed: then nothing may be withdrawn (D49). */
10721
+ storeLoaded: z.boolean(),
10722
+ blocks: z.array(ComposerBlockSchema),
10723
+ /** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
10724
+ restartBlockIds: z.array(z.string()),
10725
+ /** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
10726
+ unreadableBlocks: z.array(ComposerUnreadableBlockSchema)
10727
+ });
10728
+ var ComposerBlockVerdictSchema = z.object({
10729
+ blockId: z.string(),
10730
+ status: CompositionRunStatusSchema,
10731
+ reason: z.string().optional()
10732
+ });
10733
+ var ComposerApplyResultSchema = z.object({
10734
+ blocks: z.array(ComposerBlockVerdictSchema),
10735
+ /**
10736
+ * False when the composer declared and withdrew NOTHING (store not loaded,
10737
+ * integration unknown, its own rows unread or read empty once). An empty
10738
+ * apply the caller owes is paid off only by one the composer acted on (D49).
10739
+ */
10740
+ acted: z.boolean()
10741
+ });
10742
+ var composerCapability = {
10743
+ name: "composer",
10744
+ scope: "system",
10745
+ mode: "singleton",
10746
+ internal: true,
10747
+ methods: {
10748
+ /**
10749
+ * Not `apply`: tRPC reserves `apply`, `call` and `then` as router keys, and
10750
+ * `router({})` throws on one — every cap router is built at boot.
10751
+ */
10752
+ applyBlocks: method(ComposerApplyInputSchema, ComposerApplyResultSchema, {
10753
+ kind: "mutation",
10754
+ auth: "admin"
10755
+ }),
10756
+ getStates: method(z.object({ blockIds: z.array(z.string()) }), z.object({ states: z.array(CompositionBlockStateSchema) }), { auth: "admin" })
10240
10757
  }
10241
10758
  };
10242
10759
  //#endregion
@@ -18806,8 +19323,8 @@ var NcTestResultSchema = z.object({
18806
19323
  className: z.string().optional(),
18807
19324
  label: z.string().optional()
18808
19325
  });
18809
- /** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is the
18810
- * same union; the template-vars spec pins the two together. `mixed` is DERIVED
19326
+ /** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
19327
+ * `z.infer` of this schema — one shape, no twin. `mixed` is DERIVED
18811
19328
  * (a stored system rule whose kinds span families, D637) and never authored. */
18812
19329
  var NcRuleKindSchema = z.enum([
18813
19330
  "detection",
@@ -44658,6 +45175,720 @@ function createDeviceExtensionProvider(options) {
44658
45175
  };
44659
45176
  }
44660
45177
  //#endregion
45178
+ //#region src/composition/composition-graph.ts
45179
+ /**
45180
+ * The field graph across every composition, and the cycles in it (D659).
45181
+ *
45182
+ * A node is ONE field of ONE device (`<addon>/<stableId>#<cap>.<field>`); an
45183
+ * edge points from a composed field to each field it reads. A cycle, direct or
45184
+ * through another composition, is refused at save by name (spec §2).
45185
+ *
45186
+ * The graph is built for ONE save: the CANDIDATE composition (the one being
45187
+ * validated) plus every STORED composition. The candidate ALWAYS replaces any
45188
+ * stored peer that targets the same device, regardless of where that stored
45189
+ * peer sits in `stored` — whether a save introduces or removes a cycle must
45190
+ * never depend on array order. Two DIFFERENT stored peers that (wrongly)
45191
+ * target the same device are corrupted state, not a cycle to resolve by
45192
+ * picking one silently; that is refused by name (D391).
45193
+ *
45194
+ * `findCompositionCycles` reports at least one cycle per cycle-SET (the DFS
45195
+ * marks a node `done` after its first expansion) — enough to refuse a save,
45196
+ * not to enumerate every elementary cycle through a shared node. A dotted
45197
+ * `fieldPath` is matched only as an exact string: a write to `state.value` and
45198
+ * a read of `state` would not connect (no nested field writes exist yet).
45199
+ */
45200
+ /** Two stored compositions both target the same device — refused by name, never silently resolved. */
45201
+ var CompositionGraphError = class extends Error {};
45202
+ function peerEdges(peer) {
45203
+ return peer.composition.features.flatMap((feature) => feature.kind !== "fields" ? [] : Object.entries(feature.fields).map(([path, source]) => [compositionReadKey({
45204
+ source: peer.target,
45205
+ cap: feature.cap,
45206
+ fieldPath: path
45207
+ }), fieldReads(source).map(compositionReadKey)]));
45208
+ }
45209
+ /**
45210
+ * Every peer that actually takes part in the graph: each stored peer minus
45211
+ * whichever one targets the same device as the candidate (the candidate
45212
+ * replaces it — this drop happens before any edge is built, so the
45213
+ * candidate's old edges never enter the map to begin with), plus the
45214
+ * candidate itself, exactly once. Throws {@link CompositionGraphError} if two
45215
+ * DIFFERENT stored peers (neither of them the candidate's own old version)
45216
+ * target the same device.
45217
+ */
45218
+ function resolvedPeers(candidate, stored) {
45219
+ const candidateKey = compositionSourceKey(candidate.target);
45220
+ const survivors = /* @__PURE__ */ new Map();
45221
+ for (const peer of stored) {
45222
+ const key = compositionSourceKey(peer.target);
45223
+ if (key === candidateKey) continue;
45224
+ if (survivors.has(key)) throw new CompositionGraphError(`two stored compositions both target device \`${key}\` — refusing to build the field graph`);
45225
+ survivors.set(key, peer);
45226
+ }
45227
+ return [...survivors.values(), candidate];
45228
+ }
45229
+ function compositionEdges(candidate, stored) {
45230
+ const edges = resolvedPeers(candidate, stored).flatMap(peerEdges);
45231
+ return new Map(edges);
45232
+ }
45233
+ function findCompositionCycles(candidate, stored) {
45234
+ const edges = compositionEdges(candidate, stored);
45235
+ const marks = /* @__PURE__ */ new Map();
45236
+ const found = /* @__PURE__ */ new Map();
45237
+ const visit = (node, stack) => {
45238
+ const mark = marks.get(node);
45239
+ if (mark === "done") return;
45240
+ if (mark === "visiting") {
45241
+ const path = [...stack.slice(stack.indexOf(node)), node];
45242
+ const id = [...new Set(path)].toSorted().join("|");
45243
+ if (!found.has(id)) found.set(id, { path });
45244
+ return;
45245
+ }
45246
+ marks.set(node, "visiting");
45247
+ for (const next of edges.get(node) ?? []) visit(next, [...stack, node]);
45248
+ marks.set(node, "done");
45249
+ };
45250
+ for (const node of edges.keys()) visit(node, []);
45251
+ return [...found.values()];
45252
+ }
45253
+ //#endregion
45254
+ //#region src/composition/evaluate-field.ts
45255
+ function describeRead(read) {
45256
+ return `${compositionSourceKey(read.source)} ${read.cap}.${read.fieldPath}`;
45257
+ }
45258
+ function fromReading(reading, read) {
45259
+ if (reading.state === "unavailable") return {
45260
+ state: "unavailable",
45261
+ value: null,
45262
+ reason: `${describeRead(read)}: ${reading.reason}`,
45263
+ fatal: reading.fatal
45264
+ };
45265
+ return {
45266
+ state: reading.state,
45267
+ value: reading.value,
45268
+ reason: reading.state === "stale" ? `${describeRead(read)}: ${reading.reason}` : null,
45269
+ deadline: null
45270
+ };
45271
+ }
45272
+ function expressionOutcome(source, read, now) {
45273
+ const values = {};
45274
+ const staleReasons = [];
45275
+ let fatalUnavailable = null;
45276
+ let nonFatalUnavailable = null;
45277
+ for (const [name, binding] of Object.entries(source.bindings)) {
45278
+ if (binding.kind === "literal") {
45279
+ values[name] = binding.value;
45280
+ continue;
45281
+ }
45282
+ const reading = read(binding);
45283
+ if (reading.state === "unavailable") {
45284
+ const outcome = {
45285
+ state: "unavailable",
45286
+ value: null,
45287
+ reason: `binding \`${name}\` (${describeRead(binding)}): ${reading.reason}`,
45288
+ fatal: reading.fatal
45289
+ };
45290
+ if (reading.fatal) {
45291
+ fatalUnavailable = outcome;
45292
+ break;
45293
+ }
45294
+ if (nonFatalUnavailable === null) nonFatalUnavailable = outcome;
45295
+ continue;
45296
+ }
45297
+ values[name] = reading.value;
45298
+ if (reading.state === "stale") staleReasons.push(`\`${name}\`: ${reading.reason}`);
45299
+ }
45300
+ if (fatalUnavailable !== null) return fatalUnavailable;
45301
+ if (nonFatalUnavailable !== null) return nonFatalUnavailable;
45302
+ const deadlines = [];
45303
+ const result = evaluateExpressionSource(source.expr, values, now, { hooks: { noteDeadline: (at) => deadlines.push(at) } });
45304
+ if (!result.ok) return {
45305
+ state: "unavailable",
45306
+ value: null,
45307
+ reason: `the expression failed: ${result.error}`,
45308
+ fatal: false
45309
+ };
45310
+ return {
45311
+ state: staleReasons.length > 0 ? "stale" : "fresh",
45312
+ value: result.value,
45313
+ reason: staleReasons.length > 0 ? staleReasons.join("; ") : null,
45314
+ deadline: deadlines.length > 0 ? Math.min(...deadlines) : null
45315
+ };
45316
+ }
45317
+ function evaluateCompositionField(input) {
45318
+ const { source } = input;
45319
+ switch (source.kind) {
45320
+ case "from": return fromReading(input.read(source), source);
45321
+ case "expression": return expressionOutcome(source, input.read, input.now);
45322
+ case "code": return {
45323
+ state: "unavailable",
45324
+ value: null,
45325
+ reason: "code fields are not runnable in the composer — they arrive in slice 4",
45326
+ fatal: true
45327
+ };
45328
+ }
45329
+ }
45330
+ //#endregion
45331
+ //#region src/composition/examples.ts
45332
+ /**
45333
+ * The worked composed-device example: a ROOM. Temperature is the average of N
45334
+ * sensors, and occupancy is any motion within the last five minutes. It is the
45335
+ * slice-1 acceptance case and the template an author starts from (Phase 4
45336
+ * §4 item 4 asked for one).
45337
+ */
45338
+ var ROOM_OCCUPANCY_WINDOW_MS = 3e5;
45339
+ var ROOM_EXAMPLE_TEMPERATURE_SOURCES = [
45340
+ {
45341
+ addonId: "provider-homeassistant",
45342
+ stableId: "sensor.living_room_temperature"
45343
+ },
45344
+ {
45345
+ addonId: "provider-homeassistant",
45346
+ stableId: "sensor.sofa_temperature"
45347
+ },
45348
+ {
45349
+ addonId: "provider-homeassistant",
45350
+ stableId: "sensor.window_temperature"
45351
+ }
45352
+ ];
45353
+ var ROOM_EXAMPLE_MOTION_SOURCES = [{
45354
+ addonId: "provider-homeassistant",
45355
+ stableId: "binary_sensor.living_room_motion"
45356
+ }, {
45357
+ addonId: "provider-homeassistant",
45358
+ stableId: "binary_sensor.living_room_presence"
45359
+ }];
45360
+ function from(source, cap, fieldPath) {
45361
+ return {
45362
+ kind: "from",
45363
+ source,
45364
+ cap,
45365
+ fieldPath
45366
+ };
45367
+ }
45368
+ function named(prefix, sources, cap, fieldPath) {
45369
+ return Object.fromEntries(sources.map((s, i) => [`${prefix}${i + 1}`, from(s, cap, fieldPath)]));
45370
+ }
45371
+ function roomCompositionExample(input) {
45372
+ const t = named("t", input.temperatureSources, "temperature-sensor", "celsius");
45373
+ const f = named("f", input.temperatureSources, "temperature-sensor", "lastFetchedAt");
45374
+ const d = named("d", input.motionSources, "motion", "detected");
45375
+ const m = named("m", input.motionSources, "motion", "lastDetectedAt");
45376
+ const windows = Object.keys(m).map((name) => `within(${name}, ${input.occupancyWindowMs})`);
45377
+ return CompositionSchema.parse({
45378
+ target: {
45379
+ kind: "new",
45380
+ type: DeviceType.Sensor
45381
+ },
45382
+ features: [{
45383
+ kind: "fields",
45384
+ cap: "temperature-sensor",
45385
+ fields: {
45386
+ celsius: {
45387
+ kind: "expression",
45388
+ expr: `round(avg(${Object.keys(t).join(", ")}), 1)`,
45389
+ bindings: t
45390
+ },
45391
+ lastFetchedAt: {
45392
+ kind: "expression",
45393
+ expr: `max(${Object.keys(f).join(", ")})`,
45394
+ bindings: f
45395
+ }
45396
+ }
45397
+ }, {
45398
+ kind: "fields",
45399
+ cap: "binary",
45400
+ fields: {
45401
+ on: {
45402
+ kind: "expression",
45403
+ expr: `any(${[...Object.keys(d), ...windows].join(", ")})`,
45404
+ bindings: {
45405
+ ...d,
45406
+ ...m
45407
+ }
45408
+ },
45409
+ lastChangedAt: {
45410
+ kind: "expression",
45411
+ expr: "now",
45412
+ bindings: {}
45413
+ }
45414
+ }
45415
+ }]
45416
+ });
45417
+ }
45418
+ //#endregion
45419
+ //#region src/composition/expression-kinds.ts
45420
+ var NUMBER = {
45421
+ kind: "fixed",
45422
+ result: ["number"]
45423
+ };
45424
+ var BOOLEAN = {
45425
+ kind: "fixed",
45426
+ result: ["boolean"]
45427
+ };
45428
+ /** One rule per builtin. `expression-kinds.spec.ts` fails for a builtin missing here. */
45429
+ var BUILTIN_RESULT_KINDS = Object.freeze({
45430
+ min: NUMBER,
45431
+ max: NUMBER,
45432
+ abs: NUMBER,
45433
+ floor: NUMBER,
45434
+ ceil: NUMBER,
45435
+ sqrt: NUMBER,
45436
+ round: NUMBER,
45437
+ pow: NUMBER,
45438
+ clamp: NUMBER,
45439
+ avg: NUMBER,
45440
+ sum: NUMBER,
45441
+ age: NUMBER,
45442
+ convert: NUMBER,
45443
+ coalesce: { kind: "coalesce" },
45444
+ any: BOOLEAN,
45445
+ all: BOOLEAN,
45446
+ within: BOOLEAN,
45447
+ latest: {
45448
+ kind: "fixed",
45449
+ result: ["number", "null"]
45450
+ }
45451
+ });
45452
+ var KindInferenceError = class extends Error {};
45453
+ function kindOfValue(value) {
45454
+ if (value === null) return "null";
45455
+ if (typeof value === "number") return "number";
45456
+ if (typeof value === "string") return "string";
45457
+ return "boolean";
45458
+ }
45459
+ function only(kind) {
45460
+ return new Set([kind]);
45461
+ }
45462
+ function union(...sets) {
45463
+ return new Set(sets.flatMap((s) => [...s]));
45464
+ }
45465
+ function withoutNull(set) {
45466
+ return new Set([...set].filter((k) => k !== "null"));
45467
+ }
45468
+ function binaryKinds(op, left, right) {
45469
+ if (op === "+") {
45470
+ const all = [...left, ...right];
45471
+ if (all.every((k) => k === "string")) return only("string");
45472
+ if (all.every((k) => k === "number")) return only("number");
45473
+ return new Set(["number", "string"]);
45474
+ }
45475
+ if (op === "-" || op === "*" || op === "/" || op === "%") return only("number");
45476
+ return only("boolean");
45477
+ }
45478
+ /** "exactly N" / "at least N" / "N–M", for an arity refusal that says what IS allowed. */
45479
+ function arityRange(builtin) {
45480
+ if (builtin.minArgs === builtin.maxArgs) return `exactly ${builtin.minArgs}`;
45481
+ if (builtin.maxArgs === Number.POSITIVE_INFINITY) return `at least ${builtin.minArgs}`;
45482
+ return `${builtin.minArgs}–${builtin.maxArgs}`;
45483
+ }
45484
+ function callKinds(callee, args) {
45485
+ const builtin = EXPRESSION_BUILTINS[callee];
45486
+ if (builtin !== void 0 && (args.length < builtin.minArgs || args.length > builtin.maxArgs)) throw new KindInferenceError(`${callee}: wrong number of arguments (${args.length}); expected ${arityRange(builtin)}`);
45487
+ const rule = BUILTIN_RESULT_KINDS[callee];
45488
+ if (rule === void 0) throw new KindInferenceError(`no result-kind rule for builtin '${callee}'`);
45489
+ if (rule.kind === "fixed") return new Set(rule.result);
45490
+ const nonNull = union(...args.map(withoutNull));
45491
+ return args.every((a) => a.has("null")) ? union(nonNull, only("null")) : nonNull;
45492
+ }
45493
+ function kindsOf(node, bindings) {
45494
+ switch (node.kind) {
45495
+ case "literal": return only(kindOfValue(node.value));
45496
+ case "identifier": {
45497
+ if (node.name === "now") return only("number");
45498
+ const bound = bindings.get(node.name);
45499
+ if (bound === void 0) throw new KindInferenceError(`unbound identifier '${node.name}'`);
45500
+ return bound;
45501
+ }
45502
+ case "unary": return only(node.op === "!" ? "boolean" : "number");
45503
+ case "binary": return binaryKinds(node.op, kindsOf(node.left, bindings), kindsOf(node.right, bindings));
45504
+ case "logical": return union(kindsOf(node.left, bindings), kindsOf(node.right, bindings));
45505
+ case "conditional": return union(kindsOf(node.consequent, bindings), kindsOf(node.alternate, bindings));
45506
+ case "call": return callKinds(node.callee, node.args.map((a) => kindsOf(a, bindings)));
45507
+ }
45508
+ }
45509
+ function inferExpressionKinds(input) {
45510
+ const compiled = compileExpressionSafe(input.expr);
45511
+ if (!compiled.ok) return {
45512
+ ok: false,
45513
+ error: compiled.error
45514
+ };
45515
+ try {
45516
+ return {
45517
+ ok: true,
45518
+ kinds: kindsOf(compiled.parsed.ast, input.bindingKinds)
45519
+ };
45520
+ } catch (err) {
45521
+ if (err instanceof KindInferenceError) return {
45522
+ ok: false,
45523
+ error: err.message
45524
+ };
45525
+ throw err;
45526
+ }
45527
+ }
45528
+ //#endregion
45529
+ //#region src/device/schema-fields.ts
45530
+ /** Unwrap ZodNullable / ZodOptional / ZodDefault wrappers to reach the inner type.
45531
+ * Zod v4 exposes `.unwrap()` on all three wrapper classes. */
45532
+ function unwrapSchema(schema) {
45533
+ let s = schema;
45534
+ while (s instanceof z.ZodNullable || s instanceof z.ZodOptional || s instanceof z.ZodDefault) s = s.unwrap();
45535
+ return s;
45536
+ }
45537
+ function leafKind(schema) {
45538
+ const s = unwrapSchema(schema);
45539
+ if (s instanceof z.ZodEnum) return {
45540
+ kind: "enum",
45541
+ enumValues: s.options
45542
+ };
45543
+ if (s instanceof z.ZodNumber) return { kind: "number" };
45544
+ if (s instanceof z.ZodString) return { kind: "string" };
45545
+ if (s instanceof z.ZodBoolean) return { kind: "boolean" };
45546
+ return null;
45547
+ }
45548
+ /** Walk a cap status schema into flat wireable leaf fields (dotted paths).
45549
+ * Recurses into nested ZodObject (unwrapping nullable/optional/default first),
45550
+ * so fields with null live values are still offered. Arrays / unknown shapes
45551
+ * are skipped — never throws. */
45552
+ function enumerateSchemaFields(schema, prefix = "") {
45553
+ const root = unwrapSchema(schema);
45554
+ if (!(root instanceof z.ZodObject)) return [];
45555
+ const out = [];
45556
+ const shape = root.shape;
45557
+ for (const [key, field] of Object.entries(shape)) {
45558
+ const path = prefix ? `${prefix}.${key}` : key;
45559
+ const inner = unwrapSchema(field);
45560
+ if (inner instanceof z.ZodObject) {
45561
+ out.push(...enumerateSchemaFields(inner, path));
45562
+ continue;
45563
+ }
45564
+ const leaf = leafKind(field);
45565
+ if (leaf) out.push({
45566
+ path,
45567
+ kind: leaf.kind,
45568
+ ...leaf.enumValues ? { enumValues: leaf.enumValues } : {}
45569
+ });
45570
+ }
45571
+ return out;
45572
+ }
45573
+ /** Enumerate the per-item wireable fields of an item-array cap (see
45574
+ * `CapabilityStatusItemArray`): the item schema's leaf fields, minus the
45575
+ * `keyField` (the key comes from the link's `itemKey`, never from a wired
45576
+ * source), each tagged `item: true` so the authoring UI collects an
45577
+ * `itemKey` alongside the field. Never throws. */
45578
+ function enumerateItemArrayFields(itemArray) {
45579
+ return enumerateSchemaFields(itemArray.itemSchema).filter((f) => f.path !== itemArray.keyField).map((f) => ({
45580
+ ...f,
45581
+ item: true
45582
+ }));
45583
+ }
45584
+ //#endregion
45585
+ //#region src/composition/state-fields.ts
45586
+ /**
45587
+ * What a capability's state field IS: kind, nullability, whether required. The
45588
+ * validator needs nullability, which `enumerateSchemaFields` does not report,
45589
+ * and that decides a field's unavailable mode (D393).
45590
+ */
45591
+ function fieldAt(schema, path) {
45592
+ let current = schema;
45593
+ for (const segment of path.split(".")) {
45594
+ const container = unwrapSchema(current);
45595
+ if (!(container instanceof z.ZodObject)) return null;
45596
+ const next = container.shape[segment];
45597
+ if (!(next instanceof z.ZodType)) return null;
45598
+ current = next;
45599
+ }
45600
+ return current;
45601
+ }
45602
+ function describeStateField(schema, path) {
45603
+ const leaf = enumerateSchemaFields(schema).find((f) => f.path === path);
45604
+ if (leaf === void 0) return null;
45605
+ const field = fieldAt(schema, path);
45606
+ if (field === null) return null;
45607
+ return {
45608
+ path,
45609
+ kind: leaf.kind,
45610
+ nullable: field.safeParse(null).success,
45611
+ required: !field.safeParse(void 0).success,
45612
+ ...leaf.enumValues === void 0 ? {} : { enumValues: leaf.enumValues }
45613
+ };
45614
+ }
45615
+ function describeTopLevelStateFields(schema) {
45616
+ return new Map(enumerateSchemaFields(schema).filter((f) => !f.path.includes(".")).flatMap((f) => {
45617
+ const described = describeStateField(schema, f.path);
45618
+ return described === null ? [] : [[f.path, described]];
45619
+ }));
45620
+ }
45621
+ /** Top-level keys a value MUST carry: those whose schema refuses `undefined`. */
45622
+ function requiredTopLevelKeys(schema) {
45623
+ const root = unwrapSchema(schema);
45624
+ if (!(root instanceof z.ZodObject)) return [];
45625
+ return Object.entries(root.shape).flatMap(([key, field]) => field instanceof z.ZodType && !field.safeParse(void 0).success ? [key] : []);
45626
+ }
45627
+ //#endregion
45628
+ //#region src/composition/validate-composition.ts
45629
+ function buildCapabilityLookup(defs) {
45630
+ const byName = new Map(defs.map((d) => [d.name, d]));
45631
+ return (capName) => byName.get(capName) ?? null;
45632
+ }
45633
+ /** Caps every `BaseDevice` registers on itself; a second registration throws. */
45634
+ var BASE_DEVICE_CAPS = new Set(["device-status", "feature-probe"]);
45635
+ var PENDING_SELF = {
45636
+ addonId: COMPOSER_ADDON_ID,
45637
+ stableId: `${COMPOSED_DEVICE_STABLE_ID_PREFIX}(unsaved)`
45638
+ };
45639
+ function problem(code, path, message) {
45640
+ return {
45641
+ code,
45642
+ path,
45643
+ message
45644
+ };
45645
+ }
45646
+ function refused(...problems) {
45647
+ return {
45648
+ problems,
45649
+ fields: []
45650
+ };
45651
+ }
45652
+ function readKinds(read, lookupCap) {
45653
+ const def = lookupCap(read.cap);
45654
+ const schema = def?.runtimeState ?? def?.status?.schema;
45655
+ if (def === null || schema === void 0) return {
45656
+ ok: false,
45657
+ code: "source-field-unknown",
45658
+ message: `no capability \`${read.cap}\` with state to read`
45659
+ };
45660
+ const field = describeStateField(schema, read.fieldPath);
45661
+ if (field === null) return {
45662
+ ok: false,
45663
+ code: "source-field-unknown",
45664
+ message: `\`${read.cap}\` has no field \`${read.fieldPath}\``
45665
+ };
45666
+ const base = field.kind === "enum" ? "string" : field.kind;
45667
+ return {
45668
+ ok: true,
45669
+ kinds: new Set(field.nullable ? [base, "null"] : [base])
45670
+ };
45671
+ }
45672
+ function sourceKinds(source, lookupCap) {
45673
+ if (source.kind === "from") return readKinds(source, lookupCap);
45674
+ if (source.kind === "code") return {
45675
+ ok: false,
45676
+ code: "reserved-variant",
45677
+ message: "code fields arrive in slice 4"
45678
+ };
45679
+ const bindingKinds = /* @__PURE__ */ new Map();
45680
+ for (const [name, binding] of Object.entries(source.bindings)) {
45681
+ if (binding.kind === "literal") {
45682
+ bindingKinds.set(name, new Set([kindOfValue(binding.value)]));
45683
+ continue;
45684
+ }
45685
+ const kinds = readKinds(binding, lookupCap);
45686
+ if (!kinds.ok) return {
45687
+ ...kinds,
45688
+ message: `binding \`${name}\`: ${kinds.message}`
45689
+ };
45690
+ bindingKinds.set(name, kinds.kinds);
45691
+ }
45692
+ const inferred = inferExpressionKinds({
45693
+ expr: source.expr,
45694
+ bindingKinds
45695
+ });
45696
+ return inferred.ok ? {
45697
+ ok: true,
45698
+ kinds: inferred.kinds
45699
+ } : {
45700
+ ok: false,
45701
+ code: "expression-invalid",
45702
+ message: inferred.error
45703
+ };
45704
+ }
45705
+ function compatibility(cap, target, kinds, at) {
45706
+ const allowed = target.kind === "enum" ? "string" : target.kind;
45707
+ const offending = [...kinds].filter((k) => k !== "null" && k !== allowed);
45708
+ const problems = [];
45709
+ if (offending.length > 0) problems.push(problem("kind-mismatch", at, `\`${cap}.${target.path}\` is a ${target.kind}; this source can produce ${offending.join(" or ")}`));
45710
+ if (kinds.has("null") && !target.nullable) problems.push(problem("may-be-null", at, `\`${cap}.${target.path}\` cannot be null and this source can produce null — wrap it in coalesce(…) or pick a non-null source`));
45711
+ return problems;
45712
+ }
45713
+ /**
45714
+ * A string a source produces WITHOUT reading any device — a field-level
45715
+ * `expression` source whose compiled AST is a bare string literal (`"red"`,
45716
+ * never `a` or `a + "x"`). Anything else that can only produce `'string'` at
45717
+ * the kind level (a `from` read of an enum-typed source field, a computed
45718
+ * expression) is NOT checked against the target's `enumValues` here: the
45719
+ * kind inference already collapsed it to the coarse `'string'` kind, losing
45720
+ * whichever enum it actually came from, so membership can only be judged at
45721
+ * write time against the runtime-state schema. Known limitation — see the
45722
+ * fix report for Task 6 round 1.
45723
+ */
45724
+ function literalStringValue(source) {
45725
+ if (source.kind !== "expression") return null;
45726
+ const compiled = compileExpressionSafe(source.expr);
45727
+ if (!compiled.ok) return null;
45728
+ const ast = compiled.parsed.ast;
45729
+ return ast.kind === "literal" && typeof ast.value === "string" ? ast.value : null;
45730
+ }
45731
+ /**
45732
+ * An enum target whose source is a save-time-KNOWN string literal outside its
45733
+ * `enumValues` is refused now rather than left to fail the write later. A
45734
+ * dynamic source (a `from` read, a non-literal expression) is left to
45735
+ * runtime — see {@link literalStringValue}.
45736
+ */
45737
+ function enumLiteralProblem(cap, target, source, at) {
45738
+ if (target.kind !== "enum" || target.enumValues === void 0) return null;
45739
+ const value = literalStringValue(source);
45740
+ if (value === null || target.enumValues.includes(value)) return null;
45741
+ const allowed = target.enumValues.map((v) => `\`${v}\``).join(", ");
45742
+ return problem("kind-mismatch", at, `\`${cap}.${target.path}\` accepts only ${allowed}; this source is the literal \`${value}\``);
45743
+ }
45744
+ function roleOf(source) {
45745
+ if (source.kind !== "expression") return "derived";
45746
+ if (fieldReads(source).length > 0) return "derived";
45747
+ const compiled = compileExpressionSafe(source.expr);
45748
+ return compiled.ok && compiled.parsed.identifiers.has("now") ? "clock" : "constant";
45749
+ }
45750
+ function planFeature(feature, featureIndex, target, lookupCap) {
45751
+ const at = `features[${featureIndex}]`;
45752
+ const def = lookupCap(feature.cap);
45753
+ if (def === null) return refused(problem("unknown-capability", `${at}.cap`, `no capability is named \`${feature.cap}\``));
45754
+ if (BASE_DEVICE_CAPS.has(def.name)) return refused(problem("not-composable", `${at}.cap`, `\`${def.name}\` is registered by every device itself — it cannot be composed`));
45755
+ const state = def.runtimeState;
45756
+ if (def.scope !== "device" || state === void 0) return refused(problem("not-composable", `${at}.cap`, `\`${def.name}\` has no per-device state to compose`));
45757
+ const capProblems = [];
45758
+ if (def.deviceTypes !== void 0 && !def.deviceTypes.includes(target.type)) capProblems.push(problem("wrong-device-type", `${at}.cap`, `\`${def.name}\` is not offered on a \`${target.type}\` device (it allows ${def.deviceTypes.join(", ")})`));
45759
+ const served = Object.entries(def.methods).filter(([, m]) => m.systemOnly !== true).map(([name]) => `\`${name}\``);
45760
+ if (served.length > 0) capProblems.push(problem("has-commands", `${at}.cap`, `\`${def.name}\` has ${served.join(", ")}, which a composed device cannot serve until commands arrive (slice 3)`));
45761
+ if (feature.commands !== void 0 && Object.keys(feature.commands).length > 0) capProblems.push(problem("reserved-variant", `${at}.commands`, "commands (`forward`) arrive in slice 3"));
45762
+ const targetFields = describeTopLevelStateFields(state);
45763
+ for (const key of requiredTopLevelKeys(state)) if (!targetFields.has(key)) capProblems.push(problem("not-composable", `${at}.fields`, `\`${def.name}.${key}\` is not a scalar — nested fields arrive in a later slice`));
45764
+ else if (!(key in feature.fields)) capProblems.push(problem("missing-field", `${at}.fields.${key}`, `\`${def.name}.${key}\` is required and has no source`));
45765
+ const perField = Object.entries(feature.fields).map(([path, source]) => {
45766
+ const fieldAt = `${at}.fields.${path}`;
45767
+ if (path.includes(".")) return refused(problem("nested-field", fieldAt, `\`${path}\` is nested — nested fields arrive in a later slice`));
45768
+ const tf = targetFields.get(path);
45769
+ if (tf === void 0) return refused(problem("unknown-field", fieldAt, `\`${def.name}\` has no field \`${path}\``));
45770
+ const kinds = sourceKinds(source, lookupCap);
45771
+ if (!kinds.ok) return refused(problem(kinds.code, fieldAt, kinds.message));
45772
+ const plan = {
45773
+ cap: def.name,
45774
+ path,
45775
+ featureIndex,
45776
+ kind: tf.kind,
45777
+ nullable: tf.nullable,
45778
+ required: tf.required,
45779
+ unavailable: tf.nullable ? "null" : "offline",
45780
+ role: roleOf(source),
45781
+ source,
45782
+ reads: [...fieldReads(source)]
45783
+ };
45784
+ const enumProblem = enumLiteralProblem(def.name, tf, source, fieldAt);
45785
+ return {
45786
+ problems: [...compatibility(def.name, tf, kinds.kinds, fieldAt), ...enumProblem === null ? [] : [enumProblem]],
45787
+ fields: [plan]
45788
+ };
45789
+ });
45790
+ return {
45791
+ problems: [...capProblems, ...perField.flatMap((r) => r.problems)],
45792
+ fields: perField.flatMap((r) => r.fields)
45793
+ };
45794
+ }
45795
+ function planComposition(composition, lookupCap) {
45796
+ const target = composition.target;
45797
+ if (target.kind === "existing") return refused(problem("reserved-variant", "target", "an EXISTING device as the target arrives in slice 2 — this release composes new devices only"));
45798
+ const results = composition.features.map((feature, index) => {
45799
+ const at = `features[${index}]`;
45800
+ if (feature.kind === "passthrough") return refused(problem("reserved-variant", at, `whole-capability passthrough of \`${feature.cap}\` arrives in slice 3`));
45801
+ return planFeature(feature, index, target, lookupCap);
45802
+ });
45803
+ return {
45804
+ problems: results.flatMap((r) => r.problems),
45805
+ fields: results.flatMap((r) => r.fields)
45806
+ };
45807
+ }
45808
+ function compositionSourceRefs(composition) {
45809
+ const refs = composition.features.flatMap((f) => f.kind === "fields" ? Object.values(f.fields).flatMap(fieldReads).map((r) => r.source) : []);
45810
+ return [...new Map(refs.map((r) => [compositionSourceKey(r), r])).values()];
45811
+ }
45812
+ function sourceProblems(fields, ctx) {
45813
+ const selfKey = ctx.self === null ? null : compositionSourceKey(ctx.self);
45814
+ return fields.flatMap((field) => field.reads.flatMap((read) => {
45815
+ const at = `features[${field.featureIndex}].fields.${field.path}`;
45816
+ const key = compositionSourceKey(read.source);
45817
+ if (key === selfKey) return fields.some((f) => f.cap === read.cap && f.path === read.fieldPath) ? [] : [problem("source-field-unknown", at, `this device has no composed field \`${read.cap}.${read.fieldPath}\``)];
45818
+ const desc = ctx.sources.get(key);
45819
+ if (desc === void 0 || desc.kind === "unreadable") return [problem("source-unreadable", at, `could not read source \`${key}\` (${desc === void 0 ? "it was not read" : desc.error}) — the save is refused rather than stored unchecked`)];
45820
+ if (desc.kind === "absent") return [problem("source-missing", at, `source \`${key}\` does not exist`)];
45821
+ if (!desc.caps.has(read.cap)) return [problem("source-capability-missing", at, `source \`${key}\` (device ${desc.deviceId}) has no \`${read.cap}\``)];
45822
+ return [];
45823
+ }));
45824
+ }
45825
+ /**
45826
+ * A cycle's node keys are `compositionReadKey` strings:
45827
+ * `<addonId>/<stableId>#<cap>.<fieldPath>`. When a node belongs to the
45828
+ * CANDIDATE itself (this composition being saved), pull its `cap`/`fieldPath`
45829
+ * back out so the refusal can point at that exact field, matching the
45830
+ * documented `features[N].fields.<path>` convention — slice 1 has no nested
45831
+ * field writes, so splitting `rest` on the FIRST `.` is exact.
45832
+ */
45833
+ function candidateFieldOfNode(nodeKey, candidateKey) {
45834
+ const prefix = `${candidateKey}#`;
45835
+ if (!nodeKey.startsWith(prefix)) return null;
45836
+ const rest = nodeKey.slice(prefix.length);
45837
+ const dot = rest.indexOf(".");
45838
+ if (dot === -1) return null;
45839
+ return {
45840
+ cap: rest.slice(0, dot),
45841
+ fieldPath: rest.slice(dot + 1)
45842
+ };
45843
+ }
45844
+ /** The first node of a cycle's path that is one of THIS composition's own
45845
+ * planned fields, as a documented-convention path; `'features'` when the
45846
+ * cycle runs entirely through other stored compositions. */
45847
+ function cyclePath(nodePath, candidateKey, fields) {
45848
+ for (const nodeKey of nodePath) {
45849
+ const hit = candidateFieldOfNode(nodeKey, candidateKey);
45850
+ if (hit === null) continue;
45851
+ const field = fields.find((f) => f.cap === hit.cap && f.path === hit.fieldPath);
45852
+ if (field !== void 0) return `features[${field.featureIndex}].fields.${field.path}`;
45853
+ }
45854
+ return "features";
45855
+ }
45856
+ /**
45857
+ * Cycle check runs against the CANDIDATE (this composition, targeting `self`
45858
+ * when it already exists, else a placeholder that cannot collide with a
45859
+ * stored target) plus every OTHER stored composition. Two stored peers that
45860
+ * (wrongly) share a target are corrupted state — `findCompositionCycles`
45861
+ * throws `CompositionGraphError` rather than silently picking one, and this
45862
+ * is refused BY NAME (D391) instead of escaping as an uncaught throw.
45863
+ */
45864
+ function cycleProblems(composition, ctx, fields) {
45865
+ const candidate = {
45866
+ target: ctx.self ?? PENDING_SELF,
45867
+ composition
45868
+ };
45869
+ const candidateKey = compositionSourceKey(candidate.target);
45870
+ try {
45871
+ return findCompositionCycles(candidate, ctx.peers).map((c) => problem("cycle", cyclePath(c.path, candidateKey, fields), `a field reads itself: ${c.path.join(" → ")}`));
45872
+ } catch (err) {
45873
+ if (err instanceof CompositionGraphError) return [problem("duplicate-target", "features", err.message)];
45874
+ throw err;
45875
+ }
45876
+ }
45877
+ function validateComposition(composition, ctx) {
45878
+ const plan = planComposition(composition, ctx.lookupCap);
45879
+ const cycles = cycleProblems(composition, ctx, plan.fields);
45880
+ const problems = [
45881
+ ...plan.problems,
45882
+ ...sourceProblems(plan.fields, ctx),
45883
+ ...cycles
45884
+ ];
45885
+ return {
45886
+ ok: problems.length === 0,
45887
+ problems,
45888
+ fields: [...plan.fields]
45889
+ };
45890
+ }
45891
+ //#endregion
44661
45892
  //#region src/catalogs/device-state-vocabulary.ts
44662
45893
  /**
44663
45894
  * Most specific first. Extending this list is how a new device kind becomes
@@ -48810,62 +50041,6 @@ function createRuntimeStateBridge(params) {
48810
50041
  };
48811
50042
  }
48812
50043
  //#endregion
48813
- //#region src/device/schema-fields.ts
48814
- /** Unwrap ZodNullable / ZodOptional / ZodDefault wrappers to reach the inner type.
48815
- * Zod v4 exposes `.unwrap()` on all three wrapper classes. */
48816
- function unwrap(schema) {
48817
- let s = schema;
48818
- while (s instanceof z.ZodNullable || s instanceof z.ZodOptional || s instanceof z.ZodDefault) s = s.unwrap();
48819
- return s;
48820
- }
48821
- function leafKind(schema) {
48822
- const s = unwrap(schema);
48823
- if (s instanceof z.ZodEnum) return {
48824
- kind: "enum",
48825
- enumValues: s.options
48826
- };
48827
- if (s instanceof z.ZodNumber) return { kind: "number" };
48828
- if (s instanceof z.ZodString) return { kind: "string" };
48829
- if (s instanceof z.ZodBoolean) return { kind: "boolean" };
48830
- return null;
48831
- }
48832
- /** Walk a cap status schema into flat wireable leaf fields (dotted paths).
48833
- * Recurses into nested ZodObject (unwrapping nullable/optional/default first),
48834
- * so fields with null live values are still offered. Arrays / unknown shapes
48835
- * are skipped — never throws. */
48836
- function enumerateSchemaFields(schema, prefix = "") {
48837
- const root = unwrap(schema);
48838
- if (!(root instanceof z.ZodObject)) return [];
48839
- const out = [];
48840
- const shape = root.shape;
48841
- for (const [key, field] of Object.entries(shape)) {
48842
- const path = prefix ? `${prefix}.${key}` : key;
48843
- const inner = unwrap(field);
48844
- if (inner instanceof z.ZodObject) {
48845
- out.push(...enumerateSchemaFields(inner, path));
48846
- continue;
48847
- }
48848
- const leaf = leafKind(field);
48849
- if (leaf) out.push({
48850
- path,
48851
- kind: leaf.kind,
48852
- ...leaf.enumValues ? { enumValues: leaf.enumValues } : {}
48853
- });
48854
- }
48855
- return out;
48856
- }
48857
- /** Enumerate the per-item wireable fields of an item-array cap (see
48858
- * `CapabilityStatusItemArray`): the item schema's leaf fields, minus the
48859
- * `keyField` (the key comes from the link's `itemKey`, never from a wired
48860
- * source), each tagged `item: true` so the authoring UI collects an
48861
- * `itemKey` alongside the field. Never throws. */
48862
- function enumerateItemArrayFields(itemArray) {
48863
- return enumerateSchemaFields(itemArray.itemSchema).filter((f) => f.path !== itemArray.keyField).map((f) => ({
48864
- ...f,
48865
- item: true
48866
- }));
48867
- }
48868
- //#endregion
48869
50044
  //#region src/device/system-mirror.ts
48870
50045
  var STATE_CHANGED_CATEGORY = "device.state-changed";
48871
50046
  var BINDING_CHANGED_CATEGORY = "capability.binding-changed";
@@ -49758,6 +50933,7 @@ var CAPABILITY_NAMES = {
49758
50933
  carbonMonoxide: "carbon-monoxide",
49759
50934
  climateControl: "climate-control",
49760
50935
  color: "color",
50936
+ composer: "composer",
49761
50937
  connectionTest: "connection-test",
49762
50938
  connectivity: "connectivity",
49763
50939
  consumables: "consumables",
@@ -50018,6 +51194,10 @@ var CAPABILITY_ROUTER_KEYS = [
50018
51194
  key: "color",
50019
51195
  name: "color"
50020
51196
  },
51197
+ {
51198
+ key: "composer",
51199
+ name: "composer"
51200
+ },
50021
51201
  {
50022
51202
  key: "connectionTest",
50023
51203
  name: "connection-test"
@@ -50577,6 +51757,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
50577
51757
  carbonMonoxideCapability,
50578
51758
  climateControlCapability,
50579
51759
  colorCapability,
51760
+ composerCapability,
50580
51761
  connectionTestCapability,
50581
51762
  connectivityCapability,
50582
51763
  consumablesCapability,
@@ -51652,6 +52833,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
51652
52833
  addonId: null,
51653
52834
  access: "create"
51654
52835
  },
52836
+ "composer.applyBlocks": {
52837
+ capName: "composer",
52838
+ capScope: "system",
52839
+ addonId: null,
52840
+ access: "create"
52841
+ },
52842
+ "composer.getStates": {
52843
+ capName: "composer",
52844
+ capScope: "system",
52845
+ addonId: null,
52846
+ access: "view"
52847
+ },
51655
52848
  "connectionTest.describeTest": {
51656
52849
  capName: "connection-test",
51657
52850
  capScope: "system",
@@ -51712,6 +52905,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
51712
52905
  addonId: null,
51713
52906
  access: "create"
51714
52907
  },
52908
+ "coreBlocks.createComposition": {
52909
+ capName: "core-blocks",
52910
+ capScope: "system",
52911
+ addonId: null,
52912
+ access: "create"
52913
+ },
51715
52914
  "coreBlocks.delete": {
51716
52915
  capName: "core-blocks",
51717
52916
  capScope: "system",
@@ -51724,6 +52923,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
51724
52923
  addonId: null,
51725
52924
  access: "view"
51726
52925
  },
52926
+ "coreBlocks.getComposition": {
52927
+ capName: "core-blocks",
52928
+ capScope: "system",
52929
+ addonId: null,
52930
+ access: "view"
52931
+ },
51727
52932
  "coreBlocks.getTypeDefs": {
51728
52933
  capName: "core-blocks",
51729
52934
  capScope: "system",
@@ -51736,6 +52941,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
51736
52941
  addonId: null,
51737
52942
  access: "view"
51738
52943
  },
52944
+ "coreBlocks.listCompositions": {
52945
+ capName: "core-blocks",
52946
+ capScope: "system",
52947
+ addonId: null,
52948
+ access: "view"
52949
+ },
51739
52950
  "coreBlocks.restart": {
51740
52951
  capName: "core-blocks",
51741
52952
  capScope: "system",
@@ -51754,6 +52965,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
51754
52965
  addonId: null,
51755
52966
  access: "create"
51756
52967
  },
52968
+ "coreBlocks.updateComposition": {
52969
+ capName: "core-blocks",
52970
+ capScope: "system",
52971
+ addonId: null,
52972
+ access: "create"
52973
+ },
52974
+ "coreBlocks.validateComposition": {
52975
+ capName: "core-blocks",
52976
+ capScope: "system",
52977
+ addonId: null,
52978
+ access: "view"
52979
+ },
51757
52980
  "cover.close": {
51758
52981
  capName: "cover",
51759
52982
  capScope: "device",
@@ -57813,6 +59036,7 @@ var KNOWN_CAP_NAMES = [
57813
59036
  "carbon-monoxide",
57814
59037
  "climate-control",
57815
59038
  "color",
59039
+ "composer",
57816
59040
  "connection-test",
57817
59041
  "connectivity",
57818
59042
  "consumables",
@@ -58050,6 +59274,7 @@ var SYSTEM_CAP_NAMES = [
58050
59274
  "auth-provider",
58051
59275
  "backup",
58052
59276
  "broker",
59277
+ "composer",
58053
59278
  "connection-test",
58054
59279
  "core-blocks",
58055
59280
  "custom-model-registry",
@@ -60875,7 +62100,12 @@ function createSystemProxy(api) {
60875
62100
  setEnabled: (input) => dispatch("coreBlocks", "setEnabled", "mutation", input),
60876
62101
  restart: (input) => dispatch("coreBlocks", "restart", "mutation", input),
60877
62102
  compile: (input) => dispatch("coreBlocks", "compile", "mutation", input),
60878
- getTypeDefs: (input) => dispatch("coreBlocks", "getTypeDefs", "query", input)
62103
+ getTypeDefs: (input) => dispatch("coreBlocks", "getTypeDefs", "query", input),
62104
+ createComposition: (input) => dispatch("coreBlocks", "createComposition", "mutation", input),
62105
+ updateComposition: (input) => dispatch("coreBlocks", "updateComposition", "mutation", input),
62106
+ getComposition: (input) => dispatch("coreBlocks", "getComposition", "query", input),
62107
+ listCompositions: (input) => dispatch("coreBlocks", "listCompositions", "query", input),
62108
+ validateComposition: (input) => dispatch("coreBlocks", "validateComposition", "mutation", input)
60879
62109
  },
60880
62110
  decoder: {
60881
62111
  supportsCodec: (input) => dispatch("decoder", "supportsCodec", "query", input),
@@ -67025,4 +68255,4 @@ function enumerateInferenceDevices(hw) {
67025
68255
  return out;
67026
68256
  }
67027
68257
  //#endregion
67028
- export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_NOT_CLASSIFIED_REASONS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdminLinkTargetEnum, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, AppleFmAvailabilitySchema, AppleFmUnavailableReasonSchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioClassifyOutcomeSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BackgroundRunRegistry, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, 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, BulkRecordSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLIP_BROKER_PACED_RATES, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_SEARCH_STRICTNESS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, CLIP_STRICTNESS_FACTOR, CLIP_VECTOR_INDEX_PATTERN, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesOfferSchema, ClipBytesSchema, ClipExportFailureSchema, ClipModelMetaSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSearchStrictnessSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, ClusterModelChoiceSchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DAYS_PER_WEEK, DAY_NAMES, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_PROFILES, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DISPLAY_ICON_GROUPS, DISPLAY_ICON_KEYS, DISPLAY_ICON_OFFERED_KEYS, DISPLAY_ICON_VOCABULARY, DOORBELL_SOURCE_SLOT, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DeviceAdminLinkSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellSourceSlotValueSchema, DoorbellStatusSchema, EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIREMENTS_UNAVAILABLE, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EXTENSION_HOST_DEVICE_TYPES, EXTENSION_SLOTS, EXTENSION_SLOT_IDS, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, EffectiveTuningSchema, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingFailedModelSchema, EmbeddingFailedRequirementSchema, EmbeddingInfoSchema, EmbeddingRefusalCodeSchema, EmbeddingResultSchema, EmbeddingTowerSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportFootageSubjectSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotIdSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSlotValueSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HOURS_PER_DAY, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LEGACY_READ_ONLY_CONFIG_KEY, LINKED_DEVICES_SLOT, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOCATION_ICON_IDS, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LinkedDevicesSlotValueSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRefusalSourceSchema, LlmRetryPolicySchema, LlmRuntimeAppleCompleteInputSchema, LlmRuntimeCancelInputSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationIconIdSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MEDIA_OWNER_TYPES, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MINUTES_PER_DAY, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_OPENING_EVENT_KINDS, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_CLEARABLE_KEYS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SERVER_PACKAGE_NAME, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_FILTER_KEYS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_SYSTEM_RULE_KINDS, NC_TANK_SYSTEM_EVENT_KINDS, NC_TAXONOMY, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NC_UPDATE_EVENT_PACKAGE_NAMES, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcLinkedCameraModeSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleClearableKeySchema, NcRuleInputSchema, NcRuleKindSchema, NcRuleLastRunSchema, NcRuleLastRunsSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcRuleUpdateInputSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSensorTransitionSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcStateSummaryPreviewSchema, NcStateSummaryPreviewSectionSchema, NcSystemEventConditionSchema, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTemplateFamilySchema, NcTemplateFieldSchema, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, NcTemplateVarContextSchema, NcTemplateVarDescriptorSchema, NcTemplateVarGroupSchema, NcTemplateVarKindSchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NodeDirectoryEntrySchema, NodeDirectorySchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PeerBytesTicketSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESTORED_CAP_NAMES, ROOT_BUCKET_KEY, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RebuildObjectEmbeddingsRefusalSchema, RecentTracksPageSchema, RecentTracksQueryInput, RecordTriggerSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SHARE_VIEW_KINDS, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STATIONARY_OVERLAY_STYLE, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SummarySchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VECTOR_INDEX_DIM_CONFLICT, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_EGRESS_PROFILE, WEBRTC_TRY_BLOCKERS, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcClimbHoldSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildDeviceAdminUrl, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clipExportFailure, clipExportFailureOf, clipReasonHeaderValue, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumableLowPercentOf, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceExtensionProvider, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, defineExtensionSlotProvider, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeCustomActions, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, describeSystemEventDeliveryProblem, describeSystemEventFamilyProblem, detectAccessRole, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceExtensionCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, displayIconEntry, displayIconsInGroup, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, embeddingModelFailedError, embeddingModelFailedOf, embeddingRefusalOf, embeddingRequirementsFailedError, embeddingRequirementsUnavailableError, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, expandContainer, exportSubjectOf, extensionSlotRef, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, foldSnapshotByFunction, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatParkedFor, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, interpretStoredClusterModel, invalidClusterStepModelEntries, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioChunkFormat, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDisplayIconKey, isEmbeddingModelFailed, isEvent, isEventOwnerType, isFirstLevelMacroClass, isHeldBackTemplateVar, isIsolatedBuiltin, isKnownTemplateVar, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSecretConfigField, isSoftwareDecode, isSourceCap, isStorageLocationMode, isSystemDelivery, isSystemEventFamily, isSystemEventSummaryRule, isSystemRuleKind, isVectorIndexDimConflict, isVoidInput, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, kindsForDiscriminator, knownValues, lawnMowerControlCapability, legacyAutoLinkIds, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationIconKey, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mayReadLocation, mayWriteToLocation, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, minutesToTimeOfDay, modeMayRead, modeMayWrite, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodePickerItems, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeNodeId, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, occupancyScope, optionalMethod, osdCapability, osdManagerCapability, overlayClusterStepSettings, packagePickerItems, parseAdminBase, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickInvalidClusterStepModels, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingArchiveCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, rectsToCells, reducePoints, requiresPython, reservedSourceOwner, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveBucketMs, resolveCapMount, resolveClipSearchMinScore, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCreateExportSubject, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHydratedFieldValue, resolveLocationIcon, resolveLocationMode, resolveMethodAuth, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveStreamMaps, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleBelongsToAlarm, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scheduleForSendTimes, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, searchDisplayIcons, selectAssignedProfileSlots, sendTimesOfSchedule, sensorRaisedOf, sensorTransitionNeverFires, sensorTransitionOffered, servedTemplateVars, serverManagementCapability, setByPath, settingsStoreCapability, signalPercentFromBars, signalPercentFromRssi, siteZoneKey, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, stepModelRunsOnFormat, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventDeliveryProblems, systemEventFamilyOf, systemEventFamilyProblems, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, systemEventKindNamesOf, systemEventKindsOfFamily, systemEventSummaryScheduleOf, systemFamilyOfKind, systemRuleKindOf, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, terminalSessionCapability, textToHtml, timeOfDayToMinutes, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, unreachableExtensionSlotRow, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorIndexDimConflictError, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withLocationMode, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
68258
+ export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_NOT_CLASSIFIED_REASONS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdminLinkTargetEnum, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, AppleFmAvailabilitySchema, AppleFmUnavailableReasonSchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioClassifyOutcomeSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BASE_DEVICE_CAPS, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BUILTIN_RESULT_KINDS, BackgroundRunRegistry, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, 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, BulkRecordSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLIP_BROKER_PACED_RATES, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_SEARCH_STRICTNESS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, CLIP_STRICTNESS_FACTOR, CLIP_VECTOR_INDEX_PATTERN, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, COMPOSED_DEVICE_STABLE_ID_PREFIX, COMPOSER_ADDON_ID, COMPOSER_RUNNER_ID, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesOfferSchema, ClipBytesSchema, ClipExportFailureSchema, ClipModelMetaSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSearchStrictnessSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, ClusterModelChoiceSchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ComposerApplyInputSchema, ComposerApplyResultSchema, ComposerBlockSchema, ComposerBlockVerdictSchema, ComposerUnreadableBlockSchema, CompositionBindingSchema, CompositionBlockInputSchema, CompositionBlockStateSchema, CompositionCodeSourceSchema, CompositionCommandTargetSchema, CompositionExistingTargetSchema, CompositionExpressionSourceSchema, CompositionFeatureSchema, CompositionFieldKindSchema, CompositionFieldPlanSchema, CompositionFieldReadSchema, CompositionFieldRoleSchema, CompositionFieldSourceSchema, CompositionFieldStateKindSchema, CompositionFieldStateSchema, CompositionFieldsFeatureSchema, CompositionForwardCommandSchema, CompositionFromSourceSchema, CompositionGetReadSchema, CompositionGraphError, CompositionListReadSchema, CompositionLiteralBindingSchema, CompositionNewTargetSchema, CompositionPassthroughFeatureSchema, CompositionProblemCodeSchema, CompositionProblemSchema, CompositionRunStatusSchema, CompositionSchema, CompositionSourceRefSchema, CompositionStateReadSchema, CompositionTargetSchema, CompositionUnavailableModeSchema, CompositionValidationSchema, CompositionViewSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockSourceSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DAYS_PER_WEEK, DAY_NAMES, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_PROFILES, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DISPLAY_ICON_GROUPS, DISPLAY_ICON_KEYS, DISPLAY_ICON_OFFERED_KEYS, DISPLAY_ICON_VOCABULARY, DOORBELL_SOURCE_SLOT, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DeviceAdminLinkSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellSourceSlotValueSchema, DoorbellStatusSchema, EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIREMENTS_UNAVAILABLE, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EXTENSION_HOST_DEVICE_TYPES, EXTENSION_SLOTS, EXTENSION_SLOT_IDS, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, EffectiveTuningSchema, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingFailedModelSchema, EmbeddingFailedRequirementSchema, EmbeddingInfoSchema, EmbeddingRefusalCodeSchema, EmbeddingResultSchema, EmbeddingTowerSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportFootageSubjectSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotIdSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSlotValueSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HOURS_PER_DAY, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LEGACY_READ_ONLY_CONFIG_KEY, LINKED_DEVICES_SLOT, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOCATION_ICON_IDS, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LinkedDevicesSlotValueSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRefusalSourceSchema, LlmRetryPolicySchema, LlmRuntimeAppleCompleteInputSchema, LlmRuntimeCancelInputSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationIconIdSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_COMPOSITION_CODE_LENGTH, MAX_COMPOSITION_FEATURES, MAX_COMPOSITION_FIELDS_PER_FEATURE, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MEDIA_OWNER_TYPES, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MINUTES_PER_DAY, MODEL_FORMATS, MODEL_HOSTING, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelLicenseSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_OPENING_EVENT_KINDS, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_CLEARABLE_KEYS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SERVER_PACKAGE_NAME, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_FILTER_KEYS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_SYSTEM_RULE_KINDS, NC_TANK_SYSTEM_EVENT_KINDS, NC_TAXONOMY, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NC_UPDATE_EVENT_PACKAGE_NAMES, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcLinkedCameraModeSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleClearableKeySchema, NcRuleInputSchema, NcRuleKindSchema, NcRuleLastRunSchema, NcRuleLastRunsSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcRuleUpdateInputSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSensorTransitionSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcStateSummaryPreviewSchema, NcStateSummaryPreviewSectionSchema, NcSystemEventConditionSchema, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTemplateFamilySchema, NcTemplateFieldSchema, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, NcTemplateVarContextSchema, NcTemplateVarDescriptorSchema, NcTemplateVarGroupSchema, NcTemplateVarKindSchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NodeDirectoryEntrySchema, NodeDirectorySchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PeerBytesTicketSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESTORED_CAP_NAMES, ROOM_EXAMPLE_MOTION_SOURCES, ROOM_EXAMPLE_TEMPERATURE_SOURCES, ROOM_OCCUPANCY_WINDOW_MS, ROOT_BUCKET_KEY, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RebuildObjectEmbeddingsRefusalSchema, RecentTracksPageSchema, RecentTracksQueryInput, RecordTriggerSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SHARE_VIEW_KINDS, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STATIONARY_OVERLAY_STYLE, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SummarySchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VECTOR_INDEX_DIM_CONFLICT, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_EGRESS_PROFILE, WEBRTC_TRY_BLOCKERS, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcClimbHoldSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildCapabilityLookup, buildDeviceAdminUrl, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clipExportFailure, clipExportFailureOf, clipReasonHeaderValue, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, composedDeviceRef, composedDeviceStableId, composerCapability, compositionEdges, compositionReadKey, compositionSliceKey, compositionSourceKey, compositionSourceRefs, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumableLowPercentOf, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceExtensionProvider, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, defineExtensionSlotProvider, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeCustomActions, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, describeStateField, describeSystemEventDeliveryProblem, describeSystemEventFamilyProblem, describeTopLevelStateFields, detectAccessRole, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceExtensionCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, displayIconEntry, displayIconsInGroup, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, embeddingModelFailedError, embeddingModelFailedOf, embeddingRefusalOf, embeddingRequirementsFailedError, embeddingRequirementsUnavailableError, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateCompositionField, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, expandContainer, exportSubjectOf, extensionSlotRef, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureProbeCapability, fieldReads, filesystemBrowseCapability, findCompositionCycles, findTimezone, floodCapability, foldSnapshotByFunction, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatParkedFor, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferExpressionKinds, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, interpretStoredClusterModel, invalidClusterStepModelEntries, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioChunkFormat, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDisplayIconKey, isEmbeddingModelFailed, isEvent, isEventOwnerType, isFirstLevelMacroClass, isHeldBackTemplateVar, isIsolatedBuiltin, isKnownTemplateVar, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSecretConfigField, isSoftwareDecode, isSourceCap, isStorageLocationMode, isSystemDelivery, isSystemEventFamily, isSystemEventSummaryRule, isSystemRuleKind, isVectorIndexDimConflict, isVoidInput, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, kindOfValue, kindsForDiscriminator, knownValues, lawnMowerControlCapability, legacyAutoLinkIds, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationIconKey, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mayReadLocation, mayWriteToLocation, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, minutesToTimeOfDay, modeMayRead, modeMayWrite, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodePickerItems, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeNodeId, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, occupancyScope, optionalMethod, osdCapability, osdManagerCapability, overlayClusterStepSettings, packagePickerItems, parseAdminBase, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickInvalidClusterStepModels, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, planComposition, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingArchiveCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, rectsToCells, reducePoints, requiredTopLevelKeys, requiresPython, reservedSourceOwner, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveBucketMs, resolveCapMount, resolveClipSearchMinScore, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCreateExportSubject, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHydratedFieldValue, resolveLocationIcon, resolveLocationMode, resolveMethodAuth, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveStreamMaps, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, roomCompositionExample, ruleBelongsToAlarm, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scheduleForSendTimes, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, searchDisplayIcons, selectAssignedProfileSlots, sendTimesOfSchedule, sensorRaisedOf, sensorTransitionNeverFires, sensorTransitionOffered, servedTemplateVars, serverManagementCapability, setByPath, settingsStoreCapability, signalPercentFromBars, signalPercentFromRssi, siteZoneKey, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, stepModelRunsOnFormat, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventDeliveryProblems, systemEventFamilyOf, systemEventFamilyProblems, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, systemEventKindNamesOf, systemEventKindsOfFamily, systemEventSummaryScheduleOf, systemFamilyOfKind, systemRuleKindOf, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, terminalSessionCapability, textToHtml, timeOfDayToMinutes, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, unreachableExtensionSlotRow, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateComposition, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorIndexDimConflictError, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withLocationMode, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };