@camstack/types 1.2.264 → 1.2.266
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation/recipe.d.ts +1 -1
- package/dist/capabilities/composer.cap.d.ts +328 -0
- package/dist/capabilities/control.cap.d.ts +4 -4
- package/dist/capabilities/core-blocks.cap.d.ts +2339 -0
- package/dist/capabilities/custom-model-registry.cap.d.ts +4 -2
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +8 -8
- package/dist/capabilities/index.d.ts +4 -2
- package/dist/capabilities/model-convert.cap.d.ts +4 -3
- package/dist/capabilities/model-distributor.cap.d.ts +4 -2
- package/dist/capabilities/notification-rules.cap.d.ts +74 -74
- package/dist/capabilities/osd-manager.cap.d.ts +13 -13
- package/dist/capabilities/pipeline-executor.cap.d.ts +5 -0
- package/dist/composition/composition-graph.d.ts +36 -0
- package/dist/composition/composition-report.d.ts +264 -0
- package/dist/composition/composition.d.ts +362 -0
- package/dist/composition/evaluate-field.d.ts +63 -0
- package/dist/composition/examples.d.ts +10 -0
- package/dist/composition/expression-kinds.d.ts +36 -0
- package/dist/composition/index.d.ts +12 -0
- package/dist/composition/state-fields.d.ts +19 -0
- package/dist/composition/validate-composition.d.ts +46 -0
- package/dist/device/schema-fields.d.ts +3 -0
- package/dist/expression/builtins.d.ts +30 -2
- package/dist/generated/addon-api.d.ts +57 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1350 -80
- package/dist/index.mjs +1278 -81
- package/dist/notification/rule-kinds.d.ts +3 -2
- package/dist/types/models.d.ts +5 -3
- package/dist/types/pipeline-step.d.ts +6 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5313,6 +5313,16 @@ var ModelCatalogEntrySchema = z.object({
|
|
|
5313
5313
|
*/
|
|
5314
5314
|
postprocessor: z.custom().optional(),
|
|
5315
5315
|
/**
|
|
5316
|
+
* Per-MODEL default confidence floor. Absent ⇒ the step's
|
|
5317
|
+
* `StepDefinition.defaultConfidence` applies. A score is a property of one
|
|
5318
|
+
* model's output scale, not of the step slot it sits in: YuNet's
|
|
5319
|
+
* `sqrt(cls·obj)` is not SCRFD's score, and inheriting SCRFD's 0.5 filled the
|
|
5320
|
+
* face gallery with wheels and hands (D662, amends D645). An operator's
|
|
5321
|
+
* explicit value still wins over it. Resolved in ONE place —
|
|
5322
|
+
* `addon-pipeline/.../registry/effective-confidence.ts`.
|
|
5323
|
+
*/
|
|
5324
|
+
defaultConfidence: z.number().min(0).max(1).optional(),
|
|
5325
|
+
/**
|
|
5316
5326
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
5317
5327
|
* onto the canonical template) before this step runs, instead of a plain
|
|
5318
5328
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -5546,23 +5556,6 @@ var ExpressionEvalError = class extends Error {
|
|
|
5546
5556
|
};
|
|
5547
5557
|
//#endregion
|
|
5548
5558
|
//#region src/expression/builtins.ts
|
|
5549
|
-
/**
|
|
5550
|
-
* Frozen, null-prototype builtin function table for the expression engine
|
|
5551
|
-
* (spec §4 rule 4). The table is the SOLE surface of callable functions: the
|
|
5552
|
-
* parser rejects any callee not in it, and the evaluator gates each call on an
|
|
5553
|
-
* own-property check against it.
|
|
5554
|
-
*
|
|
5555
|
-
* Because the object has a NULL prototype AND is `Object.freeze`d:
|
|
5556
|
-
* - it cannot be polluted (no `__proto__` / `constructor` write reaches it);
|
|
5557
|
-
* - a lookup for `toString` / `hasOwnProperty` / `constructor` finds NOTHING
|
|
5558
|
-
* (there is no `Object.prototype` in the chain), so those names are not
|
|
5559
|
-
* callable — they are simply "unknown function" at parse time.
|
|
5560
|
-
*
|
|
5561
|
-
* Every numeric argument is validated as a finite number and every numeric
|
|
5562
|
-
* RESULT is re-checked finite, so `/0`, `sqrt(-1)` (→ NaN) and overflow
|
|
5563
|
-
* (`pow(10,400)` → Infinity) all raise `ExpressionEvalError` and fail the link
|
|
5564
|
-
* closed rather than emitting a garbage value.
|
|
5565
|
-
*/
|
|
5566
5559
|
function asFiniteNumber(value, name, index) {
|
|
5567
5560
|
if (typeof value !== "number" || !Number.isFinite(value)) throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a finite number`);
|
|
5568
5561
|
return value;
|
|
@@ -5578,6 +5571,10 @@ function finiteResult(value, name) {
|
|
|
5578
5571
|
function allFiniteNumbers(args, name) {
|
|
5579
5572
|
return args.map((a, idx) => asFiniteNumber(a, name, idx));
|
|
5580
5573
|
}
|
|
5574
|
+
function asBoolean$1(value, name, index) {
|
|
5575
|
+
if (typeof value !== "boolean") throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a boolean`);
|
|
5576
|
+
return value;
|
|
5577
|
+
}
|
|
5581
5578
|
var INF = Number.POSITIVE_INFINITY;
|
|
5582
5579
|
var table = {
|
|
5583
5580
|
min: {
|
|
@@ -5678,6 +5675,40 @@ var table = {
|
|
|
5678
5675
|
if (from === to) return x;
|
|
5679
5676
|
throw new ExpressionEvalError("convert: unit conversion table not installed");
|
|
5680
5677
|
}
|
|
5678
|
+
},
|
|
5679
|
+
any: {
|
|
5680
|
+
minArgs: 1,
|
|
5681
|
+
maxArgs: INF,
|
|
5682
|
+
apply: (args) => args.map((a, i) => asBoolean$1(a, "any", i)).some((b) => b)
|
|
5683
|
+
},
|
|
5684
|
+
all: {
|
|
5685
|
+
minArgs: 1,
|
|
5686
|
+
maxArgs: INF,
|
|
5687
|
+
apply: (args) => args.map((a, i) => asBoolean$1(a, "all", i)).every((b) => b)
|
|
5688
|
+
},
|
|
5689
|
+
within: {
|
|
5690
|
+
minArgs: 2,
|
|
5691
|
+
maxArgs: 2,
|
|
5692
|
+
apply: (args, hooks) => {
|
|
5693
|
+
const windowMs = asFiniteNumber(args[1], "within", 1);
|
|
5694
|
+
if (windowMs < 0) throw new ExpressionEvalError("within: the window must not be negative");
|
|
5695
|
+
const at = args[0];
|
|
5696
|
+
if (at === null) return false;
|
|
5697
|
+
const ts = asFiniteNumber(at, "within", 0);
|
|
5698
|
+
const now = hooks.now;
|
|
5699
|
+
if (now === void 0 || !Number.isFinite(now)) throw new ExpressionEvalError("within: no clock was supplied to this evaluation");
|
|
5700
|
+
const inside = now - ts <= windowMs;
|
|
5701
|
+
if (inside) hooks.noteDeadline?.(ts + windowMs + 1);
|
|
5702
|
+
return inside;
|
|
5703
|
+
}
|
|
5704
|
+
},
|
|
5705
|
+
latest: {
|
|
5706
|
+
minArgs: 1,
|
|
5707
|
+
maxArgs: INF,
|
|
5708
|
+
apply: (args) => {
|
|
5709
|
+
const present = args.flatMap((a, i) => a === null ? [] : [asFiniteNumber(a, "latest", i)]);
|
|
5710
|
+
return present.length === 0 ? null : finiteResult(Math.max(...present), "latest");
|
|
5711
|
+
}
|
|
5681
5712
|
}
|
|
5682
5713
|
};
|
|
5683
5714
|
/** Frozen, null-prototype builtin table. */
|
|
@@ -6282,10 +6313,17 @@ function evaluateExpressionSource(expr, bindingValues, now, opts) {
|
|
|
6282
6313
|
...bindingValues,
|
|
6283
6314
|
["now"]: now
|
|
6284
6315
|
});
|
|
6316
|
+
const hooks = {
|
|
6317
|
+
...opts?.hooks,
|
|
6318
|
+
now
|
|
6319
|
+
};
|
|
6285
6320
|
try {
|
|
6286
6321
|
return {
|
|
6287
6322
|
ok: true,
|
|
6288
|
-
value: evaluateAst(compiled.parsed.ast, scope,
|
|
6323
|
+
value: evaluateAst(compiled.parsed.ast, scope, {
|
|
6324
|
+
...opts,
|
|
6325
|
+
hooks
|
|
6326
|
+
})
|
|
6289
6327
|
};
|
|
6290
6328
|
} catch (err) {
|
|
6291
6329
|
return {
|
|
@@ -10097,6 +10135,277 @@ function kebabToCamel(s) {
|
|
|
10097
10135
|
return s.replace(/-([a-z])/g, (_, c) => c.toUpperCase());
|
|
10098
10136
|
}
|
|
10099
10137
|
//#endregion
|
|
10138
|
+
//#region src/composition/composition.ts
|
|
10139
|
+
/**
|
|
10140
|
+
* A COMPOSITION: a device assembled from other devices' state (D659).
|
|
10141
|
+
*
|
|
10142
|
+
* The data half of the composed-devices spec §1. A composition is stored inside
|
|
10143
|
+
* a core block (`CoreBlock.source.kind === 'composition'`) and run by the shared
|
|
10144
|
+
* `composer` runner. It names a TARGET and, for each capability of the target, a
|
|
10145
|
+
* FIELD MAP: every state field has exactly one source.
|
|
10146
|
+
*
|
|
10147
|
+
* Sources are keyed by `(addonId, stableId)`, NEVER by numeric device id. A
|
|
10148
|
+
* resync reissues numeric ids, and a composition that stored them would be
|
|
10149
|
+
* orphaned by the first re-adoption (the linked-devices lesson). A `stableId` is
|
|
10150
|
+
* unique only within its owning addon, so the owner travels with it.
|
|
10151
|
+
*
|
|
10152
|
+
* Later slices EXTEND these unions and do not reshape them. The variants a later
|
|
10153
|
+
* slice implements are already in the wire shape, and `validateComposition`
|
|
10154
|
+
* refuses them BY NAME until then:
|
|
10155
|
+
* target `existing` → slice 2 · feature `passthrough` → slice 3 ·
|
|
10156
|
+
* `commands` (`forward`) → slice 3 · source `code` → slice 4.
|
|
10157
|
+
*/
|
|
10158
|
+
/** The owner of every composed device: the `composer` builtin. */
|
|
10159
|
+
var COMPOSER_ADDON_ID = "composer";
|
|
10160
|
+
/** A composed device's stableId is this prefix plus the block id. */
|
|
10161
|
+
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
10162
|
+
/** A device with more capabilities than this is two devices. */
|
|
10163
|
+
var MAX_COMPOSITION_FEATURES = 16;
|
|
10164
|
+
var MAX_COMPOSITION_FIELDS_PER_FEATURE = 32;
|
|
10165
|
+
/** Longest snippet a `code` source may carry (slice 4). */
|
|
10166
|
+
var MAX_COMPOSITION_CODE_LENGTH = 2e4;
|
|
10167
|
+
var CompositionSourceRefSchema = z.object({
|
|
10168
|
+
/** The owning addon; `stableId` is unique only within it. */
|
|
10169
|
+
addonId: z.string().min(1),
|
|
10170
|
+
stableId: z.string().min(1)
|
|
10171
|
+
});
|
|
10172
|
+
/** One field of one capability of one source device. */
|
|
10173
|
+
var CompositionFieldReadSchema = z.object({
|
|
10174
|
+
source: CompositionSourceRefSchema,
|
|
10175
|
+
cap: z.string().min(1),
|
|
10176
|
+
/** Dotted path into the source cap's runtime-state slice. */
|
|
10177
|
+
fieldPath: z.string().min(1)
|
|
10178
|
+
});
|
|
10179
|
+
/** `from`: copy one source field verbatim. It is also an expression's `from` binding. */
|
|
10180
|
+
var CompositionFromSourceSchema = CompositionFieldReadSchema.extend({ kind: z.literal("from") });
|
|
10181
|
+
/** A constant binding. No device is read. */
|
|
10182
|
+
var CompositionLiteralBindingSchema = z.object({
|
|
10183
|
+
kind: z.literal("literal"),
|
|
10184
|
+
value: z.union([
|
|
10185
|
+
z.string(),
|
|
10186
|
+
z.number(),
|
|
10187
|
+
z.boolean(),
|
|
10188
|
+
z.null()
|
|
10189
|
+
])
|
|
10190
|
+
});
|
|
10191
|
+
var CompositionBindingSchema = z.discriminatedUnion("kind", [CompositionFromSourceSchema, CompositionLiteralBindingSchema]);
|
|
10192
|
+
/**
|
|
10193
|
+
* `expression`: a formula over named bindings, in the salvaged expression
|
|
10194
|
+
* engine. Validated at parse by the SAME function every other consumer runs,
|
|
10195
|
+
* so the editor and the store cannot disagree.
|
|
10196
|
+
*/
|
|
10197
|
+
var CompositionExpressionSourceSchema = z.object({
|
|
10198
|
+
kind: z.literal("expression"),
|
|
10199
|
+
expr: z.string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
|
|
10200
|
+
bindings: z.record(z.string().regex(EXPRESSION_IDENTIFIER_RE), CompositionBindingSchema)
|
|
10201
|
+
}).superRefine((src, ctx) => {
|
|
10202
|
+
const err = validateExpressionSource(src);
|
|
10203
|
+
if (err !== null) ctx.addIssue({
|
|
10204
|
+
code: "custom",
|
|
10205
|
+
message: err,
|
|
10206
|
+
path: ["expr"]
|
|
10207
|
+
});
|
|
10208
|
+
});
|
|
10209
|
+
/** `code`: RESERVED for slice 4 (own runner, one-way eject). */
|
|
10210
|
+
var CompositionCodeSourceSchema = z.object({
|
|
10211
|
+
kind: z.literal("code"),
|
|
10212
|
+
code: z.string().min(1).max(MAX_COMPOSITION_CODE_LENGTH)
|
|
10213
|
+
});
|
|
10214
|
+
var CompositionFieldSourceSchema = z.discriminatedUnion("kind", [
|
|
10215
|
+
CompositionFromSourceSchema,
|
|
10216
|
+
CompositionExpressionSourceSchema,
|
|
10217
|
+
CompositionCodeSourceSchema
|
|
10218
|
+
]);
|
|
10219
|
+
/** `forward`: RESERVED for slice 3. Argument mapping arrives there as an additive optional `args`. */
|
|
10220
|
+
var CompositionForwardCommandSchema = z.object({
|
|
10221
|
+
kind: z.literal("forward"),
|
|
10222
|
+
source: CompositionSourceRefSchema,
|
|
10223
|
+
cap: z.string().min(1),
|
|
10224
|
+
method: z.string().min(1)
|
|
10225
|
+
});
|
|
10226
|
+
var CompositionCommandTargetSchema = z.discriminatedUnion("kind", [CompositionForwardCommandSchema, CompositionCodeSourceSchema]);
|
|
10227
|
+
var CompositionFieldsFeatureSchema = z.object({
|
|
10228
|
+
kind: z.literal("fields"),
|
|
10229
|
+
cap: z.string().min(1),
|
|
10230
|
+
fields: z.record(z.string().min(1), CompositionFieldSourceSchema).refine((fields) => Object.keys(fields).length <= 32, { message: `at most 32 fields per capability` }),
|
|
10231
|
+
/** RESERVED for slice 3; refused by the validator when non-empty. */
|
|
10232
|
+
commands: z.record(z.string().min(1), CompositionCommandTargetSchema).optional()
|
|
10233
|
+
});
|
|
10234
|
+
/** RESERVED for slice 3: a media / data-plane cap, whole, from one source. */
|
|
10235
|
+
var CompositionPassthroughFeatureSchema = z.object({
|
|
10236
|
+
kind: z.literal("passthrough"),
|
|
10237
|
+
cap: z.string().min(1),
|
|
10238
|
+
source: CompositionSourceRefSchema
|
|
10239
|
+
});
|
|
10240
|
+
var CompositionFeatureSchema = z.discriminatedUnion("kind", [CompositionFieldsFeatureSchema, CompositionPassthroughFeatureSchema]);
|
|
10241
|
+
/**
|
|
10242
|
+
* A NEW device. It has no `name` of its own: the block's name IS the device's
|
|
10243
|
+
* name (2026-08-08). A second copy here would be a second writer of one string (D62).
|
|
10244
|
+
*/
|
|
10245
|
+
var CompositionNewTargetSchema = z.object({
|
|
10246
|
+
kind: z.literal("new"),
|
|
10247
|
+
type: z.enum(DeviceType),
|
|
10248
|
+
role: z.enum(DeviceRole).optional()
|
|
10249
|
+
});
|
|
10250
|
+
/** RESERVED for slice 2: customize an existing device. */
|
|
10251
|
+
var CompositionExistingTargetSchema = z.object({
|
|
10252
|
+
kind: z.literal("existing"),
|
|
10253
|
+
device: CompositionSourceRefSchema
|
|
10254
|
+
});
|
|
10255
|
+
var CompositionTargetSchema = z.discriminatedUnion("kind", [CompositionNewTargetSchema, CompositionExistingTargetSchema]);
|
|
10256
|
+
var CompositionSchema = z.object({
|
|
10257
|
+
target: CompositionTargetSchema,
|
|
10258
|
+
features: z.array(CompositionFeatureSchema).min(1).max(16)
|
|
10259
|
+
}).superRefine((composition, ctx) => {
|
|
10260
|
+
const seen = /* @__PURE__ */ new Set();
|
|
10261
|
+
composition.features.forEach((feature, index) => {
|
|
10262
|
+
if (seen.has(feature.cap)) ctx.addIssue({
|
|
10263
|
+
code: "custom",
|
|
10264
|
+
message: `capability \`${feature.cap}\` is composed twice — one feature per capability`,
|
|
10265
|
+
path: [
|
|
10266
|
+
"features",
|
|
10267
|
+
index,
|
|
10268
|
+
"cap"
|
|
10269
|
+
]
|
|
10270
|
+
});
|
|
10271
|
+
seen.add(feature.cap);
|
|
10272
|
+
});
|
|
10273
|
+
});
|
|
10274
|
+
function compositionSourceKey(ref) {
|
|
10275
|
+
return `${ref.addonId}/${ref.stableId}`;
|
|
10276
|
+
}
|
|
10277
|
+
function compositionSliceKey(ref, cap) {
|
|
10278
|
+
return `${compositionSourceKey(ref)}#${cap}`;
|
|
10279
|
+
}
|
|
10280
|
+
function compositionReadKey(read) {
|
|
10281
|
+
return `${compositionSliceKey(read.source, read.cap)}.${read.fieldPath}`;
|
|
10282
|
+
}
|
|
10283
|
+
function composedDeviceStableId(blockId) {
|
|
10284
|
+
return `${COMPOSED_DEVICE_STABLE_ID_PREFIX}${blockId}`;
|
|
10285
|
+
}
|
|
10286
|
+
function composedDeviceRef(blockId) {
|
|
10287
|
+
return {
|
|
10288
|
+
addonId: COMPOSER_ADDON_ID,
|
|
10289
|
+
stableId: composedDeviceStableId(blockId)
|
|
10290
|
+
};
|
|
10291
|
+
}
|
|
10292
|
+
/** Every device field a source reads: `from` is one read, an expression is its `from` bindings. */
|
|
10293
|
+
function fieldReads(source) {
|
|
10294
|
+
switch (source.kind) {
|
|
10295
|
+
case "from": return [{
|
|
10296
|
+
source: source.source,
|
|
10297
|
+
cap: source.cap,
|
|
10298
|
+
fieldPath: source.fieldPath
|
|
10299
|
+
}];
|
|
10300
|
+
case "expression": return Object.values(source.bindings).flatMap((binding) => binding.kind === "from" ? [{
|
|
10301
|
+
source: binding.source,
|
|
10302
|
+
cap: binding.cap,
|
|
10303
|
+
fieldPath: binding.fieldPath
|
|
10304
|
+
}] : []);
|
|
10305
|
+
case "code": return [];
|
|
10306
|
+
}
|
|
10307
|
+
}
|
|
10308
|
+
//#endregion
|
|
10309
|
+
//#region src/composition/composition-report.ts
|
|
10310
|
+
/**
|
|
10311
|
+
* What the validator says about a composition and what the composer says about
|
|
10312
|
+
* a running one: the wire shapes the API returns (D659).
|
|
10313
|
+
*/
|
|
10314
|
+
var CompositionProblemCodeSchema = z.enum([
|
|
10315
|
+
"reserved-variant",
|
|
10316
|
+
"unknown-capability",
|
|
10317
|
+
"not-composable",
|
|
10318
|
+
"wrong-device-type",
|
|
10319
|
+
"has-commands",
|
|
10320
|
+
"unknown-field",
|
|
10321
|
+
"nested-field",
|
|
10322
|
+
"missing-field",
|
|
10323
|
+
"kind-mismatch",
|
|
10324
|
+
"may-be-null",
|
|
10325
|
+
"source-missing",
|
|
10326
|
+
"source-unreadable",
|
|
10327
|
+
"source-capability-missing",
|
|
10328
|
+
"source-field-unknown",
|
|
10329
|
+
"expression-invalid",
|
|
10330
|
+
"cycle",
|
|
10331
|
+
"duplicate-target"
|
|
10332
|
+
]);
|
|
10333
|
+
/** One refusal, named (D391). `path` points into the composition, e.g. `features[0].fields.celsius`. */
|
|
10334
|
+
var CompositionProblemSchema = z.object({
|
|
10335
|
+
code: CompositionProblemCodeSchema,
|
|
10336
|
+
path: z.string(),
|
|
10337
|
+
message: z.string()
|
|
10338
|
+
});
|
|
10339
|
+
var CompositionFieldKindSchema = z.enum([
|
|
10340
|
+
"string",
|
|
10341
|
+
"number",
|
|
10342
|
+
"boolean",
|
|
10343
|
+
"enum"
|
|
10344
|
+
]);
|
|
10345
|
+
/** How a field says "unavailable": `null` when its schema allows it, else the device goes offline (D393). */
|
|
10346
|
+
var CompositionUnavailableModeSchema = z.enum(["null", "offline"]);
|
|
10347
|
+
/**
|
|
10348
|
+
* `derived` reads a source · `clock` reads only `now`, recomputed when a sibling
|
|
10349
|
+
* field of its cap changes value · `constant` reads nothing, computed once.
|
|
10350
|
+
*/
|
|
10351
|
+
var CompositionFieldRoleSchema = z.enum([
|
|
10352
|
+
"derived",
|
|
10353
|
+
"clock",
|
|
10354
|
+
"constant"
|
|
10355
|
+
]);
|
|
10356
|
+
var CompositionFieldPlanSchema = z.object({
|
|
10357
|
+
cap: z.string(),
|
|
10358
|
+
path: z.string(),
|
|
10359
|
+
/** Index into `composition.features` this field's capability came from —
|
|
10360
|
+
* lets a source/cycle problem name its path as `features[N].fields.<path>`
|
|
10361
|
+
* (the same convention `planComposition`'s own problems already use). */
|
|
10362
|
+
featureIndex: z.number().int().nonnegative(),
|
|
10363
|
+
kind: CompositionFieldKindSchema,
|
|
10364
|
+
nullable: z.boolean(),
|
|
10365
|
+
required: z.boolean(),
|
|
10366
|
+
unavailable: CompositionUnavailableModeSchema,
|
|
10367
|
+
role: CompositionFieldRoleSchema,
|
|
10368
|
+
source: CompositionFieldSourceSchema,
|
|
10369
|
+
reads: z.array(CompositionFieldReadSchema)
|
|
10370
|
+
});
|
|
10371
|
+
var CompositionValidationSchema = z.object({
|
|
10372
|
+
ok: z.boolean(),
|
|
10373
|
+
problems: z.array(CompositionProblemSchema),
|
|
10374
|
+
fields: z.array(CompositionFieldPlanSchema)
|
|
10375
|
+
});
|
|
10376
|
+
/** Mirrors `CoreBlockStatus`, pinned by `core-blocks-source.spec.ts` (Task 11). */
|
|
10377
|
+
var CompositionRunStatusSchema = z.enum([
|
|
10378
|
+
"stopped",
|
|
10379
|
+
"starting",
|
|
10380
|
+
"running",
|
|
10381
|
+
"failed"
|
|
10382
|
+
]);
|
|
10383
|
+
var CompositionFieldStateKindSchema = z.enum([
|
|
10384
|
+
"fresh",
|
|
10385
|
+
"stale",
|
|
10386
|
+
"unavailable"
|
|
10387
|
+
]);
|
|
10388
|
+
var CompositionFieldStateSchema = z.object({
|
|
10389
|
+
cap: z.string(),
|
|
10390
|
+
path: z.string(),
|
|
10391
|
+
state: CompositionFieldStateKindSchema,
|
|
10392
|
+
/** `null` whenever `state === 'unavailable'`; never a plausible stand-in (D393). */
|
|
10393
|
+
value: z.union([
|
|
10394
|
+
z.string(),
|
|
10395
|
+
z.number(),
|
|
10396
|
+
z.boolean(),
|
|
10397
|
+
z.null()
|
|
10398
|
+
]),
|
|
10399
|
+
reason: z.string().optional()
|
|
10400
|
+
});
|
|
10401
|
+
var CompositionBlockStateSchema = z.object({
|
|
10402
|
+
blockId: z.string(),
|
|
10403
|
+
deviceId: z.number().nullable(),
|
|
10404
|
+
status: CompositionRunStatusSchema,
|
|
10405
|
+
reason: z.string().optional(),
|
|
10406
|
+
fields: z.array(CompositionFieldStateSchema)
|
|
10407
|
+
});
|
|
10408
|
+
//#endregion
|
|
10100
10409
|
//#region src/capabilities/core-blocks.cap.ts
|
|
10101
10410
|
/**
|
|
10102
10411
|
* core-blocks — user-authored TypeScript, stored in the kernel and executed in
|
|
@@ -10182,6 +10491,30 @@ var CoreBlockInputSchema = z.object({
|
|
|
10182
10491
|
*/
|
|
10183
10492
|
integrationId: z.string().optional()
|
|
10184
10493
|
});
|
|
10494
|
+
/**
|
|
10495
|
+
* What a block IS (D659). Absent means `code` — every row stored before this
|
|
10496
|
+
* union keeps working unchanged.
|
|
10497
|
+
* - `code`: the TypeScript in `code`, compiled and run in its own runner;
|
|
10498
|
+
* - `recipe`: RESERVED (automations), stored shape only; refused at run by name;
|
|
10499
|
+
* - `composition`: declarative, run by the shared `composer`; `code` is `''`.
|
|
10500
|
+
*/
|
|
10501
|
+
var CoreBlockSourceSchema = z.discriminatedUnion("kind", [
|
|
10502
|
+
z.object({ kind: z.literal("code") }),
|
|
10503
|
+
z.object({
|
|
10504
|
+
kind: z.literal("recipe"),
|
|
10505
|
+
recipe: AutomationRecipeSchema
|
|
10506
|
+
}),
|
|
10507
|
+
z.object({
|
|
10508
|
+
kind: z.literal("composition"),
|
|
10509
|
+
composition: CompositionSchema
|
|
10510
|
+
})
|
|
10511
|
+
]);
|
|
10512
|
+
/** The client-authored half of a composition block. No `code`, no placement (hub-only; Phase 7). */
|
|
10513
|
+
var CompositionBlockInputSchema = z.object({
|
|
10514
|
+
name: z.string().min(1).max(120),
|
|
10515
|
+
enabled: z.boolean(),
|
|
10516
|
+
composition: CompositionSchema
|
|
10517
|
+
});
|
|
10185
10518
|
/** A stored block. */
|
|
10186
10519
|
var CoreBlockSchema = CoreBlockInputSchema.extend({
|
|
10187
10520
|
id: z.string(),
|
|
@@ -10197,8 +10530,46 @@ var CoreBlockSchema = CoreBlockInputSchema.extend({
|
|
|
10197
10530
|
*/
|
|
10198
10531
|
lastError: z.string().optional(),
|
|
10199
10532
|
/** Ms epoch of the last state change. */
|
|
10200
|
-
lastChangedAt: z.number()
|
|
10533
|
+
lastChangedAt: z.number(),
|
|
10534
|
+
/** What the block is. Absent means `code` (D659). */
|
|
10535
|
+
source: CoreBlockSourceSchema.optional()
|
|
10536
|
+
});
|
|
10537
|
+
function coreBlockSourceKind(block) {
|
|
10538
|
+
return block.source?.kind ?? "code";
|
|
10539
|
+
}
|
|
10540
|
+
function coreBlockComposition(block) {
|
|
10541
|
+
return block.source?.kind === "composition" ? block.source.composition : null;
|
|
10542
|
+
}
|
|
10543
|
+
/** What the composer said, or that it could not be asked. Unknown never looks like absent (D315). */
|
|
10544
|
+
var CompositionStateReadSchema = z.discriminatedUnion("kind", [z.object({
|
|
10545
|
+
kind: z.literal("answered"),
|
|
10546
|
+
state: CompositionBlockStateSchema.nullable()
|
|
10547
|
+
}), z.object({
|
|
10548
|
+
kind: z.literal("unreachable"),
|
|
10549
|
+
error: z.string()
|
|
10550
|
+
})]);
|
|
10551
|
+
/** A stored composition block and what the composer says about it. */
|
|
10552
|
+
var CompositionViewSchema = z.object({
|
|
10553
|
+
block: CoreBlockSchema,
|
|
10554
|
+
state: CompositionStateReadSchema
|
|
10555
|
+
});
|
|
10556
|
+
/**
|
|
10557
|
+
* A read of the stored compositions. `not-loaded` while the `core_blocks`
|
|
10558
|
+
* table has not been READ: an empty answer then would make "not yet known"
|
|
10559
|
+
* look like "none", and invite the operator to recreate what exists (D315).
|
|
10560
|
+
*/
|
|
10561
|
+
var CompositionsNotLoadedSchema = z.object({
|
|
10562
|
+
state: z.literal("not-loaded"),
|
|
10563
|
+
reason: z.string()
|
|
10201
10564
|
});
|
|
10565
|
+
var CompositionListReadSchema = z.discriminatedUnion("state", [z.object({
|
|
10566
|
+
state: z.literal("loaded"),
|
|
10567
|
+
views: z.array(CompositionViewSchema)
|
|
10568
|
+
}), CompositionsNotLoadedSchema]);
|
|
10569
|
+
var CompositionGetReadSchema = z.discriminatedUnion("state", [z.object({
|
|
10570
|
+
state: z.literal("loaded"),
|
|
10571
|
+
view: CompositionViewSchema.nullable()
|
|
10572
|
+
}), CompositionsNotLoadedSchema]);
|
|
10202
10573
|
/** What a compile attempt produced. */
|
|
10203
10574
|
var CoreBlockCompileResultSchema = z.object({
|
|
10204
10575
|
ok: z.boolean(),
|
|
@@ -10280,7 +10651,119 @@ var coreBlocksCapability = {
|
|
|
10280
10651
|
getTypeDefs: method(z.object({}), z.object({ libs: z.array(z.object({
|
|
10281
10652
|
filePath: z.string(),
|
|
10282
10653
|
content: z.string()
|
|
10283
|
-
})) }), { auth: "admin" })
|
|
10654
|
+
})) }), { auth: "admin" }),
|
|
10655
|
+
/**
|
|
10656
|
+
* Create a composition block (D659). VALIDATED first against the live
|
|
10657
|
+
* sources and every stored composition; a refusal names every problem by
|
|
10658
|
+
* path and reason (D391) and stores nothing.
|
|
10659
|
+
*/
|
|
10660
|
+
createComposition: method(z.object({ block: CompositionBlockInputSchema }), z.object({ block: CoreBlockSchema }), {
|
|
10661
|
+
kind: "mutation",
|
|
10662
|
+
auth: "admin",
|
|
10663
|
+
caller: "required"
|
|
10664
|
+
}),
|
|
10665
|
+
/**
|
|
10666
|
+
* Patch a composition block. A changed `composition` is validated exactly
|
|
10667
|
+
* as on create. `expectedUpdatedAt` is the `updatedAt` the caller READ: a
|
|
10668
|
+
* block changed since is refused by name, never silently overwritten.
|
|
10669
|
+
*/
|
|
10670
|
+
updateComposition: method(z.object({
|
|
10671
|
+
blockId: z.string(),
|
|
10672
|
+
expectedUpdatedAt: z.number(),
|
|
10673
|
+
block: CompositionBlockInputSchema.partial()
|
|
10674
|
+
}), z.object({ block: CoreBlockSchema }), {
|
|
10675
|
+
kind: "mutation",
|
|
10676
|
+
auth: "admin",
|
|
10677
|
+
caller: "required"
|
|
10678
|
+
}),
|
|
10679
|
+
/** One composition and the composer's state for it, or `not-loaded` (D315). */
|
|
10680
|
+
getComposition: method(z.object({ blockId: z.string() }), CompositionGetReadSchema, { auth: "admin" }),
|
|
10681
|
+
listCompositions: method(z.object({}), CompositionListReadSchema, { auth: "admin" }),
|
|
10682
|
+
/**
|
|
10683
|
+
* Validate without saving — the same verdict the save reaches. A mutation
|
|
10684
|
+
* for its body size; it writes nothing, so its access is `view`.
|
|
10685
|
+
*/
|
|
10686
|
+
validateComposition: method(z.object({
|
|
10687
|
+
composition: CompositionSchema,
|
|
10688
|
+
blockId: z.string().optional()
|
|
10689
|
+
}), CompositionValidationSchema, {
|
|
10690
|
+
kind: "mutation",
|
|
10691
|
+
auth: "admin",
|
|
10692
|
+
access: "view"
|
|
10693
|
+
})
|
|
10694
|
+
}
|
|
10695
|
+
};
|
|
10696
|
+
//#endregion
|
|
10697
|
+
//#region src/capabilities/composer.cap.ts
|
|
10698
|
+
/**
|
|
10699
|
+
* composer — runs every DECLARATIVE composition (D659).
|
|
10700
|
+
*
|
|
10701
|
+
* Internal and admin-only: its one caller is `core-blocks`' supervisor, which
|
|
10702
|
+
* sends the WHOLE set of composition blocks on every converge (idempotent),
|
|
10703
|
+
* and reads their state for the API. Nothing else talks to it.
|
|
10704
|
+
*/
|
|
10705
|
+
/** The composer's runner id, `resolveRunnerId(decl, 'composer')`; pinned by `composer-manifest.spec.ts`. */
|
|
10706
|
+
var COMPOSER_RUNNER_ID = COMPOSER_ADDON_ID;
|
|
10707
|
+
var ComposerBlockSchema = z.object({
|
|
10708
|
+
id: z.string().min(1),
|
|
10709
|
+
name: z.string().min(1).max(120),
|
|
10710
|
+
enabled: z.boolean(),
|
|
10711
|
+
updatedAt: z.number(),
|
|
10712
|
+
composition: CompositionSchema
|
|
10713
|
+
});
|
|
10714
|
+
/**
|
|
10715
|
+
* A stored composition row that no longer PARSES — a schema a release
|
|
10716
|
+
* tightened, a row written by a newer build. Sent by id so the composer keeps
|
|
10717
|
+
* its device as a placeholder and reports the block `failed` naming the parse
|
|
10718
|
+
* error. Leaving it out would read, twice, exactly like a delete (D49).
|
|
10719
|
+
*/
|
|
10720
|
+
var ComposerUnreadableBlockSchema = z.object({
|
|
10721
|
+
id: z.string().min(1),
|
|
10722
|
+
/** The row's stored name column; null when even that is unreadable (the device keeps the name it has). */
|
|
10723
|
+
name: z.string().nullable(),
|
|
10724
|
+
/** The parse error, in the operator's words. */
|
|
10725
|
+
error: z.string()
|
|
10726
|
+
});
|
|
10727
|
+
var ComposerApplyInputSchema = z.object({
|
|
10728
|
+
/** The shared Blocks integration; null until `core-blocks` has reconciled it. */
|
|
10729
|
+
integrationId: z.string().nullable(),
|
|
10730
|
+
/** False when the `core_blocks` read failed: then nothing may be withdrawn (D49). */
|
|
10731
|
+
storeLoaded: z.boolean(),
|
|
10732
|
+
blocks: z.array(ComposerBlockSchema),
|
|
10733
|
+
/** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
|
|
10734
|
+
restartBlockIds: z.array(z.string()),
|
|
10735
|
+
/** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
|
|
10736
|
+
unreadableBlocks: z.array(ComposerUnreadableBlockSchema)
|
|
10737
|
+
});
|
|
10738
|
+
var ComposerBlockVerdictSchema = z.object({
|
|
10739
|
+
blockId: z.string(),
|
|
10740
|
+
status: CompositionRunStatusSchema,
|
|
10741
|
+
reason: z.string().optional()
|
|
10742
|
+
});
|
|
10743
|
+
var ComposerApplyResultSchema = z.object({
|
|
10744
|
+
blocks: z.array(ComposerBlockVerdictSchema),
|
|
10745
|
+
/**
|
|
10746
|
+
* False when the composer declared and withdrew NOTHING (store not loaded,
|
|
10747
|
+
* integration unknown, its own rows unread or read empty once). An empty
|
|
10748
|
+
* apply the caller owes is paid off only by one the composer acted on (D49).
|
|
10749
|
+
*/
|
|
10750
|
+
acted: z.boolean()
|
|
10751
|
+
});
|
|
10752
|
+
var composerCapability = {
|
|
10753
|
+
name: "composer",
|
|
10754
|
+
scope: "system",
|
|
10755
|
+
mode: "singleton",
|
|
10756
|
+
internal: true,
|
|
10757
|
+
methods: {
|
|
10758
|
+
/**
|
|
10759
|
+
* Not `apply`: tRPC reserves `apply`, `call` and `then` as router keys, and
|
|
10760
|
+
* `router({})` throws on one — every cap router is built at boot.
|
|
10761
|
+
*/
|
|
10762
|
+
applyBlocks: method(ComposerApplyInputSchema, ComposerApplyResultSchema, {
|
|
10763
|
+
kind: "mutation",
|
|
10764
|
+
auth: "admin"
|
|
10765
|
+
}),
|
|
10766
|
+
getStates: method(z.object({ blockIds: z.array(z.string()) }), z.object({ states: z.array(CompositionBlockStateSchema) }), { auth: "admin" })
|
|
10284
10767
|
}
|
|
10285
10768
|
};
|
|
10286
10769
|
//#endregion
|
|
@@ -18850,8 +19333,8 @@ var NcTestResultSchema = z.object({
|
|
|
18850
19333
|
className: z.string().optional(),
|
|
18851
19334
|
label: z.string().optional()
|
|
18852
19335
|
});
|
|
18853
|
-
/** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
|
|
18854
|
-
*
|
|
19336
|
+
/** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
|
|
19337
|
+
* `z.infer` of this schema — one shape, no twin. `mixed` is DERIVED
|
|
18855
19338
|
* (a stored system rule whose kinds span families, D637) and never authored. */
|
|
18856
19339
|
var NcRuleKindSchema = z.enum([
|
|
18857
19340
|
"detection",
|
|
@@ -23711,7 +24194,8 @@ var PipelineModelOptionSchema = z.object({
|
|
|
23711
24194
|
})),
|
|
23712
24195
|
group: ModelVariantGroupSchema.optional(),
|
|
23713
24196
|
legacy: z.boolean().optional(),
|
|
23714
|
-
provider: ModelProviderIdSchema.optional()
|
|
24197
|
+
provider: ModelProviderIdSchema.optional(),
|
|
24198
|
+
defaultConfidence: z.number().optional()
|
|
23715
24199
|
});
|
|
23716
24200
|
var ConfigFieldBridge = z.custom();
|
|
23717
24201
|
var PipelineAddonSchemaSchema = z.object({
|
|
@@ -44702,6 +45186,720 @@ function createDeviceExtensionProvider(options) {
|
|
|
44702
45186
|
};
|
|
44703
45187
|
}
|
|
44704
45188
|
//#endregion
|
|
45189
|
+
//#region src/composition/composition-graph.ts
|
|
45190
|
+
/**
|
|
45191
|
+
* The field graph across every composition, and the cycles in it (D659).
|
|
45192
|
+
*
|
|
45193
|
+
* A node is ONE field of ONE device (`<addon>/<stableId>#<cap>.<field>`); an
|
|
45194
|
+
* edge points from a composed field to each field it reads. A cycle, direct or
|
|
45195
|
+
* through another composition, is refused at save by name (spec §2).
|
|
45196
|
+
*
|
|
45197
|
+
* The graph is built for ONE save: the CANDIDATE composition (the one being
|
|
45198
|
+
* validated) plus every STORED composition. The candidate ALWAYS replaces any
|
|
45199
|
+
* stored peer that targets the same device, regardless of where that stored
|
|
45200
|
+
* peer sits in `stored` — whether a save introduces or removes a cycle must
|
|
45201
|
+
* never depend on array order. Two DIFFERENT stored peers that (wrongly)
|
|
45202
|
+
* target the same device are corrupted state, not a cycle to resolve by
|
|
45203
|
+
* picking one silently; that is refused by name (D391).
|
|
45204
|
+
*
|
|
45205
|
+
* `findCompositionCycles` reports at least one cycle per cycle-SET (the DFS
|
|
45206
|
+
* marks a node `done` after its first expansion) — enough to refuse a save,
|
|
45207
|
+
* not to enumerate every elementary cycle through a shared node. A dotted
|
|
45208
|
+
* `fieldPath` is matched only as an exact string: a write to `state.value` and
|
|
45209
|
+
* a read of `state` would not connect (no nested field writes exist yet).
|
|
45210
|
+
*/
|
|
45211
|
+
/** Two stored compositions both target the same device — refused by name, never silently resolved. */
|
|
45212
|
+
var CompositionGraphError = class extends Error {};
|
|
45213
|
+
function peerEdges(peer) {
|
|
45214
|
+
return peer.composition.features.flatMap((feature) => feature.kind !== "fields" ? [] : Object.entries(feature.fields).map(([path, source]) => [compositionReadKey({
|
|
45215
|
+
source: peer.target,
|
|
45216
|
+
cap: feature.cap,
|
|
45217
|
+
fieldPath: path
|
|
45218
|
+
}), fieldReads(source).map(compositionReadKey)]));
|
|
45219
|
+
}
|
|
45220
|
+
/**
|
|
45221
|
+
* Every peer that actually takes part in the graph: each stored peer minus
|
|
45222
|
+
* whichever one targets the same device as the candidate (the candidate
|
|
45223
|
+
* replaces it — this drop happens before any edge is built, so the
|
|
45224
|
+
* candidate's old edges never enter the map to begin with), plus the
|
|
45225
|
+
* candidate itself, exactly once. Throws {@link CompositionGraphError} if two
|
|
45226
|
+
* DIFFERENT stored peers (neither of them the candidate's own old version)
|
|
45227
|
+
* target the same device.
|
|
45228
|
+
*/
|
|
45229
|
+
function resolvedPeers(candidate, stored) {
|
|
45230
|
+
const candidateKey = compositionSourceKey(candidate.target);
|
|
45231
|
+
const survivors = /* @__PURE__ */ new Map();
|
|
45232
|
+
for (const peer of stored) {
|
|
45233
|
+
const key = compositionSourceKey(peer.target);
|
|
45234
|
+
if (key === candidateKey) continue;
|
|
45235
|
+
if (survivors.has(key)) throw new CompositionGraphError(`two stored compositions both target device \`${key}\` — refusing to build the field graph`);
|
|
45236
|
+
survivors.set(key, peer);
|
|
45237
|
+
}
|
|
45238
|
+
return [...survivors.values(), candidate];
|
|
45239
|
+
}
|
|
45240
|
+
function compositionEdges(candidate, stored) {
|
|
45241
|
+
const edges = resolvedPeers(candidate, stored).flatMap(peerEdges);
|
|
45242
|
+
return new Map(edges);
|
|
45243
|
+
}
|
|
45244
|
+
function findCompositionCycles(candidate, stored) {
|
|
45245
|
+
const edges = compositionEdges(candidate, stored);
|
|
45246
|
+
const marks = /* @__PURE__ */ new Map();
|
|
45247
|
+
const found = /* @__PURE__ */ new Map();
|
|
45248
|
+
const visit = (node, stack) => {
|
|
45249
|
+
const mark = marks.get(node);
|
|
45250
|
+
if (mark === "done") return;
|
|
45251
|
+
if (mark === "visiting") {
|
|
45252
|
+
const path = [...stack.slice(stack.indexOf(node)), node];
|
|
45253
|
+
const id = [...new Set(path)].toSorted().join("|");
|
|
45254
|
+
if (!found.has(id)) found.set(id, { path });
|
|
45255
|
+
return;
|
|
45256
|
+
}
|
|
45257
|
+
marks.set(node, "visiting");
|
|
45258
|
+
for (const next of edges.get(node) ?? []) visit(next, [...stack, node]);
|
|
45259
|
+
marks.set(node, "done");
|
|
45260
|
+
};
|
|
45261
|
+
for (const node of edges.keys()) visit(node, []);
|
|
45262
|
+
return [...found.values()];
|
|
45263
|
+
}
|
|
45264
|
+
//#endregion
|
|
45265
|
+
//#region src/composition/evaluate-field.ts
|
|
45266
|
+
function describeRead(read) {
|
|
45267
|
+
return `${compositionSourceKey(read.source)} ${read.cap}.${read.fieldPath}`;
|
|
45268
|
+
}
|
|
45269
|
+
function fromReading(reading, read) {
|
|
45270
|
+
if (reading.state === "unavailable") return {
|
|
45271
|
+
state: "unavailable",
|
|
45272
|
+
value: null,
|
|
45273
|
+
reason: `${describeRead(read)}: ${reading.reason}`,
|
|
45274
|
+
fatal: reading.fatal
|
|
45275
|
+
};
|
|
45276
|
+
return {
|
|
45277
|
+
state: reading.state,
|
|
45278
|
+
value: reading.value,
|
|
45279
|
+
reason: reading.state === "stale" ? `${describeRead(read)}: ${reading.reason}` : null,
|
|
45280
|
+
deadline: null
|
|
45281
|
+
};
|
|
45282
|
+
}
|
|
45283
|
+
function expressionOutcome(source, read, now) {
|
|
45284
|
+
const values = {};
|
|
45285
|
+
const staleReasons = [];
|
|
45286
|
+
let fatalUnavailable = null;
|
|
45287
|
+
let nonFatalUnavailable = null;
|
|
45288
|
+
for (const [name, binding] of Object.entries(source.bindings)) {
|
|
45289
|
+
if (binding.kind === "literal") {
|
|
45290
|
+
values[name] = binding.value;
|
|
45291
|
+
continue;
|
|
45292
|
+
}
|
|
45293
|
+
const reading = read(binding);
|
|
45294
|
+
if (reading.state === "unavailable") {
|
|
45295
|
+
const outcome = {
|
|
45296
|
+
state: "unavailable",
|
|
45297
|
+
value: null,
|
|
45298
|
+
reason: `binding \`${name}\` (${describeRead(binding)}): ${reading.reason}`,
|
|
45299
|
+
fatal: reading.fatal
|
|
45300
|
+
};
|
|
45301
|
+
if (reading.fatal) {
|
|
45302
|
+
fatalUnavailable = outcome;
|
|
45303
|
+
break;
|
|
45304
|
+
}
|
|
45305
|
+
if (nonFatalUnavailable === null) nonFatalUnavailable = outcome;
|
|
45306
|
+
continue;
|
|
45307
|
+
}
|
|
45308
|
+
values[name] = reading.value;
|
|
45309
|
+
if (reading.state === "stale") staleReasons.push(`\`${name}\`: ${reading.reason}`);
|
|
45310
|
+
}
|
|
45311
|
+
if (fatalUnavailable !== null) return fatalUnavailable;
|
|
45312
|
+
if (nonFatalUnavailable !== null) return nonFatalUnavailable;
|
|
45313
|
+
const deadlines = [];
|
|
45314
|
+
const result = evaluateExpressionSource(source.expr, values, now, { hooks: { noteDeadline: (at) => deadlines.push(at) } });
|
|
45315
|
+
if (!result.ok) return {
|
|
45316
|
+
state: "unavailable",
|
|
45317
|
+
value: null,
|
|
45318
|
+
reason: `the expression failed: ${result.error}`,
|
|
45319
|
+
fatal: false
|
|
45320
|
+
};
|
|
45321
|
+
return {
|
|
45322
|
+
state: staleReasons.length > 0 ? "stale" : "fresh",
|
|
45323
|
+
value: result.value,
|
|
45324
|
+
reason: staleReasons.length > 0 ? staleReasons.join("; ") : null,
|
|
45325
|
+
deadline: deadlines.length > 0 ? Math.min(...deadlines) : null
|
|
45326
|
+
};
|
|
45327
|
+
}
|
|
45328
|
+
function evaluateCompositionField(input) {
|
|
45329
|
+
const { source } = input;
|
|
45330
|
+
switch (source.kind) {
|
|
45331
|
+
case "from": return fromReading(input.read(source), source);
|
|
45332
|
+
case "expression": return expressionOutcome(source, input.read, input.now);
|
|
45333
|
+
case "code": return {
|
|
45334
|
+
state: "unavailable",
|
|
45335
|
+
value: null,
|
|
45336
|
+
reason: "code fields are not runnable in the composer — they arrive in slice 4",
|
|
45337
|
+
fatal: true
|
|
45338
|
+
};
|
|
45339
|
+
}
|
|
45340
|
+
}
|
|
45341
|
+
//#endregion
|
|
45342
|
+
//#region src/composition/examples.ts
|
|
45343
|
+
/**
|
|
45344
|
+
* The worked composed-device example: a ROOM. Temperature is the average of N
|
|
45345
|
+
* sensors, and occupancy is any motion within the last five minutes. It is the
|
|
45346
|
+
* slice-1 acceptance case and the template an author starts from (Phase 4
|
|
45347
|
+
* §4 item 4 asked for one).
|
|
45348
|
+
*/
|
|
45349
|
+
var ROOM_OCCUPANCY_WINDOW_MS = 3e5;
|
|
45350
|
+
var ROOM_EXAMPLE_TEMPERATURE_SOURCES = [
|
|
45351
|
+
{
|
|
45352
|
+
addonId: "provider-homeassistant",
|
|
45353
|
+
stableId: "sensor.living_room_temperature"
|
|
45354
|
+
},
|
|
45355
|
+
{
|
|
45356
|
+
addonId: "provider-homeassistant",
|
|
45357
|
+
stableId: "sensor.sofa_temperature"
|
|
45358
|
+
},
|
|
45359
|
+
{
|
|
45360
|
+
addonId: "provider-homeassistant",
|
|
45361
|
+
stableId: "sensor.window_temperature"
|
|
45362
|
+
}
|
|
45363
|
+
];
|
|
45364
|
+
var ROOM_EXAMPLE_MOTION_SOURCES = [{
|
|
45365
|
+
addonId: "provider-homeassistant",
|
|
45366
|
+
stableId: "binary_sensor.living_room_motion"
|
|
45367
|
+
}, {
|
|
45368
|
+
addonId: "provider-homeassistant",
|
|
45369
|
+
stableId: "binary_sensor.living_room_presence"
|
|
45370
|
+
}];
|
|
45371
|
+
function from(source, cap, fieldPath) {
|
|
45372
|
+
return {
|
|
45373
|
+
kind: "from",
|
|
45374
|
+
source,
|
|
45375
|
+
cap,
|
|
45376
|
+
fieldPath
|
|
45377
|
+
};
|
|
45378
|
+
}
|
|
45379
|
+
function named(prefix, sources, cap, fieldPath) {
|
|
45380
|
+
return Object.fromEntries(sources.map((s, i) => [`${prefix}${i + 1}`, from(s, cap, fieldPath)]));
|
|
45381
|
+
}
|
|
45382
|
+
function roomCompositionExample(input) {
|
|
45383
|
+
const t = named("t", input.temperatureSources, "temperature-sensor", "celsius");
|
|
45384
|
+
const f = named("f", input.temperatureSources, "temperature-sensor", "lastFetchedAt");
|
|
45385
|
+
const d = named("d", input.motionSources, "motion", "detected");
|
|
45386
|
+
const m = named("m", input.motionSources, "motion", "lastDetectedAt");
|
|
45387
|
+
const windows = Object.keys(m).map((name) => `within(${name}, ${input.occupancyWindowMs})`);
|
|
45388
|
+
return CompositionSchema.parse({
|
|
45389
|
+
target: {
|
|
45390
|
+
kind: "new",
|
|
45391
|
+
type: DeviceType.Sensor
|
|
45392
|
+
},
|
|
45393
|
+
features: [{
|
|
45394
|
+
kind: "fields",
|
|
45395
|
+
cap: "temperature-sensor",
|
|
45396
|
+
fields: {
|
|
45397
|
+
celsius: {
|
|
45398
|
+
kind: "expression",
|
|
45399
|
+
expr: `round(avg(${Object.keys(t).join(", ")}), 1)`,
|
|
45400
|
+
bindings: t
|
|
45401
|
+
},
|
|
45402
|
+
lastFetchedAt: {
|
|
45403
|
+
kind: "expression",
|
|
45404
|
+
expr: `max(${Object.keys(f).join(", ")})`,
|
|
45405
|
+
bindings: f
|
|
45406
|
+
}
|
|
45407
|
+
}
|
|
45408
|
+
}, {
|
|
45409
|
+
kind: "fields",
|
|
45410
|
+
cap: "binary",
|
|
45411
|
+
fields: {
|
|
45412
|
+
on: {
|
|
45413
|
+
kind: "expression",
|
|
45414
|
+
expr: `any(${[...Object.keys(d), ...windows].join(", ")})`,
|
|
45415
|
+
bindings: {
|
|
45416
|
+
...d,
|
|
45417
|
+
...m
|
|
45418
|
+
}
|
|
45419
|
+
},
|
|
45420
|
+
lastChangedAt: {
|
|
45421
|
+
kind: "expression",
|
|
45422
|
+
expr: "now",
|
|
45423
|
+
bindings: {}
|
|
45424
|
+
}
|
|
45425
|
+
}
|
|
45426
|
+
}]
|
|
45427
|
+
});
|
|
45428
|
+
}
|
|
45429
|
+
//#endregion
|
|
45430
|
+
//#region src/composition/expression-kinds.ts
|
|
45431
|
+
var NUMBER = {
|
|
45432
|
+
kind: "fixed",
|
|
45433
|
+
result: ["number"]
|
|
45434
|
+
};
|
|
45435
|
+
var BOOLEAN = {
|
|
45436
|
+
kind: "fixed",
|
|
45437
|
+
result: ["boolean"]
|
|
45438
|
+
};
|
|
45439
|
+
/** One rule per builtin. `expression-kinds.spec.ts` fails for a builtin missing here. */
|
|
45440
|
+
var BUILTIN_RESULT_KINDS = Object.freeze({
|
|
45441
|
+
min: NUMBER,
|
|
45442
|
+
max: NUMBER,
|
|
45443
|
+
abs: NUMBER,
|
|
45444
|
+
floor: NUMBER,
|
|
45445
|
+
ceil: NUMBER,
|
|
45446
|
+
sqrt: NUMBER,
|
|
45447
|
+
round: NUMBER,
|
|
45448
|
+
pow: NUMBER,
|
|
45449
|
+
clamp: NUMBER,
|
|
45450
|
+
avg: NUMBER,
|
|
45451
|
+
sum: NUMBER,
|
|
45452
|
+
age: NUMBER,
|
|
45453
|
+
convert: NUMBER,
|
|
45454
|
+
coalesce: { kind: "coalesce" },
|
|
45455
|
+
any: BOOLEAN,
|
|
45456
|
+
all: BOOLEAN,
|
|
45457
|
+
within: BOOLEAN,
|
|
45458
|
+
latest: {
|
|
45459
|
+
kind: "fixed",
|
|
45460
|
+
result: ["number", "null"]
|
|
45461
|
+
}
|
|
45462
|
+
});
|
|
45463
|
+
var KindInferenceError = class extends Error {};
|
|
45464
|
+
function kindOfValue(value) {
|
|
45465
|
+
if (value === null) return "null";
|
|
45466
|
+
if (typeof value === "number") return "number";
|
|
45467
|
+
if (typeof value === "string") return "string";
|
|
45468
|
+
return "boolean";
|
|
45469
|
+
}
|
|
45470
|
+
function only(kind) {
|
|
45471
|
+
return new Set([kind]);
|
|
45472
|
+
}
|
|
45473
|
+
function union(...sets) {
|
|
45474
|
+
return new Set(sets.flatMap((s) => [...s]));
|
|
45475
|
+
}
|
|
45476
|
+
function withoutNull(set) {
|
|
45477
|
+
return new Set([...set].filter((k) => k !== "null"));
|
|
45478
|
+
}
|
|
45479
|
+
function binaryKinds(op, left, right) {
|
|
45480
|
+
if (op === "+") {
|
|
45481
|
+
const all = [...left, ...right];
|
|
45482
|
+
if (all.every((k) => k === "string")) return only("string");
|
|
45483
|
+
if (all.every((k) => k === "number")) return only("number");
|
|
45484
|
+
return new Set(["number", "string"]);
|
|
45485
|
+
}
|
|
45486
|
+
if (op === "-" || op === "*" || op === "/" || op === "%") return only("number");
|
|
45487
|
+
return only("boolean");
|
|
45488
|
+
}
|
|
45489
|
+
/** "exactly N" / "at least N" / "N–M", for an arity refusal that says what IS allowed. */
|
|
45490
|
+
function arityRange(builtin) {
|
|
45491
|
+
if (builtin.minArgs === builtin.maxArgs) return `exactly ${builtin.minArgs}`;
|
|
45492
|
+
if (builtin.maxArgs === Number.POSITIVE_INFINITY) return `at least ${builtin.minArgs}`;
|
|
45493
|
+
return `${builtin.minArgs}–${builtin.maxArgs}`;
|
|
45494
|
+
}
|
|
45495
|
+
function callKinds(callee, args) {
|
|
45496
|
+
const builtin = EXPRESSION_BUILTINS[callee];
|
|
45497
|
+
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)}`);
|
|
45498
|
+
const rule = BUILTIN_RESULT_KINDS[callee];
|
|
45499
|
+
if (rule === void 0) throw new KindInferenceError(`no result-kind rule for builtin '${callee}'`);
|
|
45500
|
+
if (rule.kind === "fixed") return new Set(rule.result);
|
|
45501
|
+
const nonNull = union(...args.map(withoutNull));
|
|
45502
|
+
return args.every((a) => a.has("null")) ? union(nonNull, only("null")) : nonNull;
|
|
45503
|
+
}
|
|
45504
|
+
function kindsOf(node, bindings) {
|
|
45505
|
+
switch (node.kind) {
|
|
45506
|
+
case "literal": return only(kindOfValue(node.value));
|
|
45507
|
+
case "identifier": {
|
|
45508
|
+
if (node.name === "now") return only("number");
|
|
45509
|
+
const bound = bindings.get(node.name);
|
|
45510
|
+
if (bound === void 0) throw new KindInferenceError(`unbound identifier '${node.name}'`);
|
|
45511
|
+
return bound;
|
|
45512
|
+
}
|
|
45513
|
+
case "unary": return only(node.op === "!" ? "boolean" : "number");
|
|
45514
|
+
case "binary": return binaryKinds(node.op, kindsOf(node.left, bindings), kindsOf(node.right, bindings));
|
|
45515
|
+
case "logical": return union(kindsOf(node.left, bindings), kindsOf(node.right, bindings));
|
|
45516
|
+
case "conditional": return union(kindsOf(node.consequent, bindings), kindsOf(node.alternate, bindings));
|
|
45517
|
+
case "call": return callKinds(node.callee, node.args.map((a) => kindsOf(a, bindings)));
|
|
45518
|
+
}
|
|
45519
|
+
}
|
|
45520
|
+
function inferExpressionKinds(input) {
|
|
45521
|
+
const compiled = compileExpressionSafe(input.expr);
|
|
45522
|
+
if (!compiled.ok) return {
|
|
45523
|
+
ok: false,
|
|
45524
|
+
error: compiled.error
|
|
45525
|
+
};
|
|
45526
|
+
try {
|
|
45527
|
+
return {
|
|
45528
|
+
ok: true,
|
|
45529
|
+
kinds: kindsOf(compiled.parsed.ast, input.bindingKinds)
|
|
45530
|
+
};
|
|
45531
|
+
} catch (err) {
|
|
45532
|
+
if (err instanceof KindInferenceError) return {
|
|
45533
|
+
ok: false,
|
|
45534
|
+
error: err.message
|
|
45535
|
+
};
|
|
45536
|
+
throw err;
|
|
45537
|
+
}
|
|
45538
|
+
}
|
|
45539
|
+
//#endregion
|
|
45540
|
+
//#region src/device/schema-fields.ts
|
|
45541
|
+
/** Unwrap ZodNullable / ZodOptional / ZodDefault wrappers to reach the inner type.
|
|
45542
|
+
* Zod v4 exposes `.unwrap()` on all three wrapper classes. */
|
|
45543
|
+
function unwrapSchema(schema) {
|
|
45544
|
+
let s = schema;
|
|
45545
|
+
while (s instanceof z.ZodNullable || s instanceof z.ZodOptional || s instanceof z.ZodDefault) s = s.unwrap();
|
|
45546
|
+
return s;
|
|
45547
|
+
}
|
|
45548
|
+
function leafKind(schema) {
|
|
45549
|
+
const s = unwrapSchema(schema);
|
|
45550
|
+
if (s instanceof z.ZodEnum) return {
|
|
45551
|
+
kind: "enum",
|
|
45552
|
+
enumValues: s.options
|
|
45553
|
+
};
|
|
45554
|
+
if (s instanceof z.ZodNumber) return { kind: "number" };
|
|
45555
|
+
if (s instanceof z.ZodString) return { kind: "string" };
|
|
45556
|
+
if (s instanceof z.ZodBoolean) return { kind: "boolean" };
|
|
45557
|
+
return null;
|
|
45558
|
+
}
|
|
45559
|
+
/** Walk a cap status schema into flat wireable leaf fields (dotted paths).
|
|
45560
|
+
* Recurses into nested ZodObject (unwrapping nullable/optional/default first),
|
|
45561
|
+
* so fields with null live values are still offered. Arrays / unknown shapes
|
|
45562
|
+
* are skipped — never throws. */
|
|
45563
|
+
function enumerateSchemaFields(schema, prefix = "") {
|
|
45564
|
+
const root = unwrapSchema(schema);
|
|
45565
|
+
if (!(root instanceof z.ZodObject)) return [];
|
|
45566
|
+
const out = [];
|
|
45567
|
+
const shape = root.shape;
|
|
45568
|
+
for (const [key, field] of Object.entries(shape)) {
|
|
45569
|
+
const path = prefix ? `${prefix}.${key}` : key;
|
|
45570
|
+
const inner = unwrapSchema(field);
|
|
45571
|
+
if (inner instanceof z.ZodObject) {
|
|
45572
|
+
out.push(...enumerateSchemaFields(inner, path));
|
|
45573
|
+
continue;
|
|
45574
|
+
}
|
|
45575
|
+
const leaf = leafKind(field);
|
|
45576
|
+
if (leaf) out.push({
|
|
45577
|
+
path,
|
|
45578
|
+
kind: leaf.kind,
|
|
45579
|
+
...leaf.enumValues ? { enumValues: leaf.enumValues } : {}
|
|
45580
|
+
});
|
|
45581
|
+
}
|
|
45582
|
+
return out;
|
|
45583
|
+
}
|
|
45584
|
+
/** Enumerate the per-item wireable fields of an item-array cap (see
|
|
45585
|
+
* `CapabilityStatusItemArray`): the item schema's leaf fields, minus the
|
|
45586
|
+
* `keyField` (the key comes from the link's `itemKey`, never from a wired
|
|
45587
|
+
* source), each tagged `item: true` so the authoring UI collects an
|
|
45588
|
+
* `itemKey` alongside the field. Never throws. */
|
|
45589
|
+
function enumerateItemArrayFields(itemArray) {
|
|
45590
|
+
return enumerateSchemaFields(itemArray.itemSchema).filter((f) => f.path !== itemArray.keyField).map((f) => ({
|
|
45591
|
+
...f,
|
|
45592
|
+
item: true
|
|
45593
|
+
}));
|
|
45594
|
+
}
|
|
45595
|
+
//#endregion
|
|
45596
|
+
//#region src/composition/state-fields.ts
|
|
45597
|
+
/**
|
|
45598
|
+
* What a capability's state field IS: kind, nullability, whether required. The
|
|
45599
|
+
* validator needs nullability, which `enumerateSchemaFields` does not report,
|
|
45600
|
+
* and that decides a field's unavailable mode (D393).
|
|
45601
|
+
*/
|
|
45602
|
+
function fieldAt(schema, path) {
|
|
45603
|
+
let current = schema;
|
|
45604
|
+
for (const segment of path.split(".")) {
|
|
45605
|
+
const container = unwrapSchema(current);
|
|
45606
|
+
if (!(container instanceof z.ZodObject)) return null;
|
|
45607
|
+
const next = container.shape[segment];
|
|
45608
|
+
if (!(next instanceof z.ZodType)) return null;
|
|
45609
|
+
current = next;
|
|
45610
|
+
}
|
|
45611
|
+
return current;
|
|
45612
|
+
}
|
|
45613
|
+
function describeStateField(schema, path) {
|
|
45614
|
+
const leaf = enumerateSchemaFields(schema).find((f) => f.path === path);
|
|
45615
|
+
if (leaf === void 0) return null;
|
|
45616
|
+
const field = fieldAt(schema, path);
|
|
45617
|
+
if (field === null) return null;
|
|
45618
|
+
return {
|
|
45619
|
+
path,
|
|
45620
|
+
kind: leaf.kind,
|
|
45621
|
+
nullable: field.safeParse(null).success,
|
|
45622
|
+
required: !field.safeParse(void 0).success,
|
|
45623
|
+
...leaf.enumValues === void 0 ? {} : { enumValues: leaf.enumValues }
|
|
45624
|
+
};
|
|
45625
|
+
}
|
|
45626
|
+
function describeTopLevelStateFields(schema) {
|
|
45627
|
+
return new Map(enumerateSchemaFields(schema).filter((f) => !f.path.includes(".")).flatMap((f) => {
|
|
45628
|
+
const described = describeStateField(schema, f.path);
|
|
45629
|
+
return described === null ? [] : [[f.path, described]];
|
|
45630
|
+
}));
|
|
45631
|
+
}
|
|
45632
|
+
/** Top-level keys a value MUST carry: those whose schema refuses `undefined`. */
|
|
45633
|
+
function requiredTopLevelKeys(schema) {
|
|
45634
|
+
const root = unwrapSchema(schema);
|
|
45635
|
+
if (!(root instanceof z.ZodObject)) return [];
|
|
45636
|
+
return Object.entries(root.shape).flatMap(([key, field]) => field instanceof z.ZodType && !field.safeParse(void 0).success ? [key] : []);
|
|
45637
|
+
}
|
|
45638
|
+
//#endregion
|
|
45639
|
+
//#region src/composition/validate-composition.ts
|
|
45640
|
+
function buildCapabilityLookup(defs) {
|
|
45641
|
+
const byName = new Map(defs.map((d) => [d.name, d]));
|
|
45642
|
+
return (capName) => byName.get(capName) ?? null;
|
|
45643
|
+
}
|
|
45644
|
+
/** Caps every `BaseDevice` registers on itself; a second registration throws. */
|
|
45645
|
+
var BASE_DEVICE_CAPS = new Set(["device-status", "feature-probe"]);
|
|
45646
|
+
var PENDING_SELF = {
|
|
45647
|
+
addonId: COMPOSER_ADDON_ID,
|
|
45648
|
+
stableId: `${COMPOSED_DEVICE_STABLE_ID_PREFIX}(unsaved)`
|
|
45649
|
+
};
|
|
45650
|
+
function problem(code, path, message) {
|
|
45651
|
+
return {
|
|
45652
|
+
code,
|
|
45653
|
+
path,
|
|
45654
|
+
message
|
|
45655
|
+
};
|
|
45656
|
+
}
|
|
45657
|
+
function refused(...problems) {
|
|
45658
|
+
return {
|
|
45659
|
+
problems,
|
|
45660
|
+
fields: []
|
|
45661
|
+
};
|
|
45662
|
+
}
|
|
45663
|
+
function readKinds(read, lookupCap) {
|
|
45664
|
+
const def = lookupCap(read.cap);
|
|
45665
|
+
const schema = def?.runtimeState ?? def?.status?.schema;
|
|
45666
|
+
if (def === null || schema === void 0) return {
|
|
45667
|
+
ok: false,
|
|
45668
|
+
code: "source-field-unknown",
|
|
45669
|
+
message: `no capability \`${read.cap}\` with state to read`
|
|
45670
|
+
};
|
|
45671
|
+
const field = describeStateField(schema, read.fieldPath);
|
|
45672
|
+
if (field === null) return {
|
|
45673
|
+
ok: false,
|
|
45674
|
+
code: "source-field-unknown",
|
|
45675
|
+
message: `\`${read.cap}\` has no field \`${read.fieldPath}\``
|
|
45676
|
+
};
|
|
45677
|
+
const base = field.kind === "enum" ? "string" : field.kind;
|
|
45678
|
+
return {
|
|
45679
|
+
ok: true,
|
|
45680
|
+
kinds: new Set(field.nullable ? [base, "null"] : [base])
|
|
45681
|
+
};
|
|
45682
|
+
}
|
|
45683
|
+
function sourceKinds(source, lookupCap) {
|
|
45684
|
+
if (source.kind === "from") return readKinds(source, lookupCap);
|
|
45685
|
+
if (source.kind === "code") return {
|
|
45686
|
+
ok: false,
|
|
45687
|
+
code: "reserved-variant",
|
|
45688
|
+
message: "code fields arrive in slice 4"
|
|
45689
|
+
};
|
|
45690
|
+
const bindingKinds = /* @__PURE__ */ new Map();
|
|
45691
|
+
for (const [name, binding] of Object.entries(source.bindings)) {
|
|
45692
|
+
if (binding.kind === "literal") {
|
|
45693
|
+
bindingKinds.set(name, new Set([kindOfValue(binding.value)]));
|
|
45694
|
+
continue;
|
|
45695
|
+
}
|
|
45696
|
+
const kinds = readKinds(binding, lookupCap);
|
|
45697
|
+
if (!kinds.ok) return {
|
|
45698
|
+
...kinds,
|
|
45699
|
+
message: `binding \`${name}\`: ${kinds.message}`
|
|
45700
|
+
};
|
|
45701
|
+
bindingKinds.set(name, kinds.kinds);
|
|
45702
|
+
}
|
|
45703
|
+
const inferred = inferExpressionKinds({
|
|
45704
|
+
expr: source.expr,
|
|
45705
|
+
bindingKinds
|
|
45706
|
+
});
|
|
45707
|
+
return inferred.ok ? {
|
|
45708
|
+
ok: true,
|
|
45709
|
+
kinds: inferred.kinds
|
|
45710
|
+
} : {
|
|
45711
|
+
ok: false,
|
|
45712
|
+
code: "expression-invalid",
|
|
45713
|
+
message: inferred.error
|
|
45714
|
+
};
|
|
45715
|
+
}
|
|
45716
|
+
function compatibility(cap, target, kinds, at) {
|
|
45717
|
+
const allowed = target.kind === "enum" ? "string" : target.kind;
|
|
45718
|
+
const offending = [...kinds].filter((k) => k !== "null" && k !== allowed);
|
|
45719
|
+
const problems = [];
|
|
45720
|
+
if (offending.length > 0) problems.push(problem("kind-mismatch", at, `\`${cap}.${target.path}\` is a ${target.kind}; this source can produce ${offending.join(" or ")}`));
|
|
45721
|
+
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`));
|
|
45722
|
+
return problems;
|
|
45723
|
+
}
|
|
45724
|
+
/**
|
|
45725
|
+
* A string a source produces WITHOUT reading any device — a field-level
|
|
45726
|
+
* `expression` source whose compiled AST is a bare string literal (`"red"`,
|
|
45727
|
+
* never `a` or `a + "x"`). Anything else that can only produce `'string'` at
|
|
45728
|
+
* the kind level (a `from` read of an enum-typed source field, a computed
|
|
45729
|
+
* expression) is NOT checked against the target's `enumValues` here: the
|
|
45730
|
+
* kind inference already collapsed it to the coarse `'string'` kind, losing
|
|
45731
|
+
* whichever enum it actually came from, so membership can only be judged at
|
|
45732
|
+
* write time against the runtime-state schema. Known limitation — see the
|
|
45733
|
+
* fix report for Task 6 round 1.
|
|
45734
|
+
*/
|
|
45735
|
+
function literalStringValue(source) {
|
|
45736
|
+
if (source.kind !== "expression") return null;
|
|
45737
|
+
const compiled = compileExpressionSafe(source.expr);
|
|
45738
|
+
if (!compiled.ok) return null;
|
|
45739
|
+
const ast = compiled.parsed.ast;
|
|
45740
|
+
return ast.kind === "literal" && typeof ast.value === "string" ? ast.value : null;
|
|
45741
|
+
}
|
|
45742
|
+
/**
|
|
45743
|
+
* An enum target whose source is a save-time-KNOWN string literal outside its
|
|
45744
|
+
* `enumValues` is refused now rather than left to fail the write later. A
|
|
45745
|
+
* dynamic source (a `from` read, a non-literal expression) is left to
|
|
45746
|
+
* runtime — see {@link literalStringValue}.
|
|
45747
|
+
*/
|
|
45748
|
+
function enumLiteralProblem(cap, target, source, at) {
|
|
45749
|
+
if (target.kind !== "enum" || target.enumValues === void 0) return null;
|
|
45750
|
+
const value = literalStringValue(source);
|
|
45751
|
+
if (value === null || target.enumValues.includes(value)) return null;
|
|
45752
|
+
const allowed = target.enumValues.map((v) => `\`${v}\``).join(", ");
|
|
45753
|
+
return problem("kind-mismatch", at, `\`${cap}.${target.path}\` accepts only ${allowed}; this source is the literal \`${value}\``);
|
|
45754
|
+
}
|
|
45755
|
+
function roleOf(source) {
|
|
45756
|
+
if (source.kind !== "expression") return "derived";
|
|
45757
|
+
if (fieldReads(source).length > 0) return "derived";
|
|
45758
|
+
const compiled = compileExpressionSafe(source.expr);
|
|
45759
|
+
return compiled.ok && compiled.parsed.identifiers.has("now") ? "clock" : "constant";
|
|
45760
|
+
}
|
|
45761
|
+
function planFeature(feature, featureIndex, target, lookupCap) {
|
|
45762
|
+
const at = `features[${featureIndex}]`;
|
|
45763
|
+
const def = lookupCap(feature.cap);
|
|
45764
|
+
if (def === null) return refused(problem("unknown-capability", `${at}.cap`, `no capability is named \`${feature.cap}\``));
|
|
45765
|
+
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`));
|
|
45766
|
+
const state = def.runtimeState;
|
|
45767
|
+
if (def.scope !== "device" || state === void 0) return refused(problem("not-composable", `${at}.cap`, `\`${def.name}\` has no per-device state to compose`));
|
|
45768
|
+
const capProblems = [];
|
|
45769
|
+
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(", ")})`));
|
|
45770
|
+
const served = Object.entries(def.methods).filter(([, m]) => m.systemOnly !== true).map(([name]) => `\`${name}\``);
|
|
45771
|
+
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)`));
|
|
45772
|
+
if (feature.commands !== void 0 && Object.keys(feature.commands).length > 0) capProblems.push(problem("reserved-variant", `${at}.commands`, "commands (`forward`) arrive in slice 3"));
|
|
45773
|
+
const targetFields = describeTopLevelStateFields(state);
|
|
45774
|
+
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`));
|
|
45775
|
+
else if (!(key in feature.fields)) capProblems.push(problem("missing-field", `${at}.fields.${key}`, `\`${def.name}.${key}\` is required and has no source`));
|
|
45776
|
+
const perField = Object.entries(feature.fields).map(([path, source]) => {
|
|
45777
|
+
const fieldAt = `${at}.fields.${path}`;
|
|
45778
|
+
if (path.includes(".")) return refused(problem("nested-field", fieldAt, `\`${path}\` is nested — nested fields arrive in a later slice`));
|
|
45779
|
+
const tf = targetFields.get(path);
|
|
45780
|
+
if (tf === void 0) return refused(problem("unknown-field", fieldAt, `\`${def.name}\` has no field \`${path}\``));
|
|
45781
|
+
const kinds = sourceKinds(source, lookupCap);
|
|
45782
|
+
if (!kinds.ok) return refused(problem(kinds.code, fieldAt, kinds.message));
|
|
45783
|
+
const plan = {
|
|
45784
|
+
cap: def.name,
|
|
45785
|
+
path,
|
|
45786
|
+
featureIndex,
|
|
45787
|
+
kind: tf.kind,
|
|
45788
|
+
nullable: tf.nullable,
|
|
45789
|
+
required: tf.required,
|
|
45790
|
+
unavailable: tf.nullable ? "null" : "offline",
|
|
45791
|
+
role: roleOf(source),
|
|
45792
|
+
source,
|
|
45793
|
+
reads: [...fieldReads(source)]
|
|
45794
|
+
};
|
|
45795
|
+
const enumProblem = enumLiteralProblem(def.name, tf, source, fieldAt);
|
|
45796
|
+
return {
|
|
45797
|
+
problems: [...compatibility(def.name, tf, kinds.kinds, fieldAt), ...enumProblem === null ? [] : [enumProblem]],
|
|
45798
|
+
fields: [plan]
|
|
45799
|
+
};
|
|
45800
|
+
});
|
|
45801
|
+
return {
|
|
45802
|
+
problems: [...capProblems, ...perField.flatMap((r) => r.problems)],
|
|
45803
|
+
fields: perField.flatMap((r) => r.fields)
|
|
45804
|
+
};
|
|
45805
|
+
}
|
|
45806
|
+
function planComposition(composition, lookupCap) {
|
|
45807
|
+
const target = composition.target;
|
|
45808
|
+
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"));
|
|
45809
|
+
const results = composition.features.map((feature, index) => {
|
|
45810
|
+
const at = `features[${index}]`;
|
|
45811
|
+
if (feature.kind === "passthrough") return refused(problem("reserved-variant", at, `whole-capability passthrough of \`${feature.cap}\` arrives in slice 3`));
|
|
45812
|
+
return planFeature(feature, index, target, lookupCap);
|
|
45813
|
+
});
|
|
45814
|
+
return {
|
|
45815
|
+
problems: results.flatMap((r) => r.problems),
|
|
45816
|
+
fields: results.flatMap((r) => r.fields)
|
|
45817
|
+
};
|
|
45818
|
+
}
|
|
45819
|
+
function compositionSourceRefs(composition) {
|
|
45820
|
+
const refs = composition.features.flatMap((f) => f.kind === "fields" ? Object.values(f.fields).flatMap(fieldReads).map((r) => r.source) : []);
|
|
45821
|
+
return [...new Map(refs.map((r) => [compositionSourceKey(r), r])).values()];
|
|
45822
|
+
}
|
|
45823
|
+
function sourceProblems(fields, ctx) {
|
|
45824
|
+
const selfKey = ctx.self === null ? null : compositionSourceKey(ctx.self);
|
|
45825
|
+
return fields.flatMap((field) => field.reads.flatMap((read) => {
|
|
45826
|
+
const at = `features[${field.featureIndex}].fields.${field.path}`;
|
|
45827
|
+
const key = compositionSourceKey(read.source);
|
|
45828
|
+
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}\``)];
|
|
45829
|
+
const desc = ctx.sources.get(key);
|
|
45830
|
+
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`)];
|
|
45831
|
+
if (desc.kind === "absent") return [problem("source-missing", at, `source \`${key}\` does not exist`)];
|
|
45832
|
+
if (!desc.caps.has(read.cap)) return [problem("source-capability-missing", at, `source \`${key}\` (device ${desc.deviceId}) has no \`${read.cap}\``)];
|
|
45833
|
+
return [];
|
|
45834
|
+
}));
|
|
45835
|
+
}
|
|
45836
|
+
/**
|
|
45837
|
+
* A cycle's node keys are `compositionReadKey` strings:
|
|
45838
|
+
* `<addonId>/<stableId>#<cap>.<fieldPath>`. When a node belongs to the
|
|
45839
|
+
* CANDIDATE itself (this composition being saved), pull its `cap`/`fieldPath`
|
|
45840
|
+
* back out so the refusal can point at that exact field, matching the
|
|
45841
|
+
* documented `features[N].fields.<path>` convention — slice 1 has no nested
|
|
45842
|
+
* field writes, so splitting `rest` on the FIRST `.` is exact.
|
|
45843
|
+
*/
|
|
45844
|
+
function candidateFieldOfNode(nodeKey, candidateKey) {
|
|
45845
|
+
const prefix = `${candidateKey}#`;
|
|
45846
|
+
if (!nodeKey.startsWith(prefix)) return null;
|
|
45847
|
+
const rest = nodeKey.slice(prefix.length);
|
|
45848
|
+
const dot = rest.indexOf(".");
|
|
45849
|
+
if (dot === -1) return null;
|
|
45850
|
+
return {
|
|
45851
|
+
cap: rest.slice(0, dot),
|
|
45852
|
+
fieldPath: rest.slice(dot + 1)
|
|
45853
|
+
};
|
|
45854
|
+
}
|
|
45855
|
+
/** The first node of a cycle's path that is one of THIS composition's own
|
|
45856
|
+
* planned fields, as a documented-convention path; `'features'` when the
|
|
45857
|
+
* cycle runs entirely through other stored compositions. */
|
|
45858
|
+
function cyclePath(nodePath, candidateKey, fields) {
|
|
45859
|
+
for (const nodeKey of nodePath) {
|
|
45860
|
+
const hit = candidateFieldOfNode(nodeKey, candidateKey);
|
|
45861
|
+
if (hit === null) continue;
|
|
45862
|
+
const field = fields.find((f) => f.cap === hit.cap && f.path === hit.fieldPath);
|
|
45863
|
+
if (field !== void 0) return `features[${field.featureIndex}].fields.${field.path}`;
|
|
45864
|
+
}
|
|
45865
|
+
return "features";
|
|
45866
|
+
}
|
|
45867
|
+
/**
|
|
45868
|
+
* Cycle check runs against the CANDIDATE (this composition, targeting `self`
|
|
45869
|
+
* when it already exists, else a placeholder that cannot collide with a
|
|
45870
|
+
* stored target) plus every OTHER stored composition. Two stored peers that
|
|
45871
|
+
* (wrongly) share a target are corrupted state — `findCompositionCycles`
|
|
45872
|
+
* throws `CompositionGraphError` rather than silently picking one, and this
|
|
45873
|
+
* is refused BY NAME (D391) instead of escaping as an uncaught throw.
|
|
45874
|
+
*/
|
|
45875
|
+
function cycleProblems(composition, ctx, fields) {
|
|
45876
|
+
const candidate = {
|
|
45877
|
+
target: ctx.self ?? PENDING_SELF,
|
|
45878
|
+
composition
|
|
45879
|
+
};
|
|
45880
|
+
const candidateKey = compositionSourceKey(candidate.target);
|
|
45881
|
+
try {
|
|
45882
|
+
return findCompositionCycles(candidate, ctx.peers).map((c) => problem("cycle", cyclePath(c.path, candidateKey, fields), `a field reads itself: ${c.path.join(" → ")}`));
|
|
45883
|
+
} catch (err) {
|
|
45884
|
+
if (err instanceof CompositionGraphError) return [problem("duplicate-target", "features", err.message)];
|
|
45885
|
+
throw err;
|
|
45886
|
+
}
|
|
45887
|
+
}
|
|
45888
|
+
function validateComposition(composition, ctx) {
|
|
45889
|
+
const plan = planComposition(composition, ctx.lookupCap);
|
|
45890
|
+
const cycles = cycleProblems(composition, ctx, plan.fields);
|
|
45891
|
+
const problems = [
|
|
45892
|
+
...plan.problems,
|
|
45893
|
+
...sourceProblems(plan.fields, ctx),
|
|
45894
|
+
...cycles
|
|
45895
|
+
];
|
|
45896
|
+
return {
|
|
45897
|
+
ok: problems.length === 0,
|
|
45898
|
+
problems,
|
|
45899
|
+
fields: [...plan.fields]
|
|
45900
|
+
};
|
|
45901
|
+
}
|
|
45902
|
+
//#endregion
|
|
44705
45903
|
//#region src/catalogs/device-state-vocabulary.ts
|
|
44706
45904
|
/**
|
|
44707
45905
|
* Most specific first. Extending this list is how a new device kind becomes
|
|
@@ -48854,62 +50052,6 @@ function createRuntimeStateBridge(params) {
|
|
|
48854
50052
|
};
|
|
48855
50053
|
}
|
|
48856
50054
|
//#endregion
|
|
48857
|
-
//#region src/device/schema-fields.ts
|
|
48858
|
-
/** Unwrap ZodNullable / ZodOptional / ZodDefault wrappers to reach the inner type.
|
|
48859
|
-
* Zod v4 exposes `.unwrap()` on all three wrapper classes. */
|
|
48860
|
-
function unwrap(schema) {
|
|
48861
|
-
let s = schema;
|
|
48862
|
-
while (s instanceof z.ZodNullable || s instanceof z.ZodOptional || s instanceof z.ZodDefault) s = s.unwrap();
|
|
48863
|
-
return s;
|
|
48864
|
-
}
|
|
48865
|
-
function leafKind(schema) {
|
|
48866
|
-
const s = unwrap(schema);
|
|
48867
|
-
if (s instanceof z.ZodEnum) return {
|
|
48868
|
-
kind: "enum",
|
|
48869
|
-
enumValues: s.options
|
|
48870
|
-
};
|
|
48871
|
-
if (s instanceof z.ZodNumber) return { kind: "number" };
|
|
48872
|
-
if (s instanceof z.ZodString) return { kind: "string" };
|
|
48873
|
-
if (s instanceof z.ZodBoolean) return { kind: "boolean" };
|
|
48874
|
-
return null;
|
|
48875
|
-
}
|
|
48876
|
-
/** Walk a cap status schema into flat wireable leaf fields (dotted paths).
|
|
48877
|
-
* Recurses into nested ZodObject (unwrapping nullable/optional/default first),
|
|
48878
|
-
* so fields with null live values are still offered. Arrays / unknown shapes
|
|
48879
|
-
* are skipped — never throws. */
|
|
48880
|
-
function enumerateSchemaFields(schema, prefix = "") {
|
|
48881
|
-
const root = unwrap(schema);
|
|
48882
|
-
if (!(root instanceof z.ZodObject)) return [];
|
|
48883
|
-
const out = [];
|
|
48884
|
-
const shape = root.shape;
|
|
48885
|
-
for (const [key, field] of Object.entries(shape)) {
|
|
48886
|
-
const path = prefix ? `${prefix}.${key}` : key;
|
|
48887
|
-
const inner = unwrap(field);
|
|
48888
|
-
if (inner instanceof z.ZodObject) {
|
|
48889
|
-
out.push(...enumerateSchemaFields(inner, path));
|
|
48890
|
-
continue;
|
|
48891
|
-
}
|
|
48892
|
-
const leaf = leafKind(field);
|
|
48893
|
-
if (leaf) out.push({
|
|
48894
|
-
path,
|
|
48895
|
-
kind: leaf.kind,
|
|
48896
|
-
...leaf.enumValues ? { enumValues: leaf.enumValues } : {}
|
|
48897
|
-
});
|
|
48898
|
-
}
|
|
48899
|
-
return out;
|
|
48900
|
-
}
|
|
48901
|
-
/** Enumerate the per-item wireable fields of an item-array cap (see
|
|
48902
|
-
* `CapabilityStatusItemArray`): the item schema's leaf fields, minus the
|
|
48903
|
-
* `keyField` (the key comes from the link's `itemKey`, never from a wired
|
|
48904
|
-
* source), each tagged `item: true` so the authoring UI collects an
|
|
48905
|
-
* `itemKey` alongside the field. Never throws. */
|
|
48906
|
-
function enumerateItemArrayFields(itemArray) {
|
|
48907
|
-
return enumerateSchemaFields(itemArray.itemSchema).filter((f) => f.path !== itemArray.keyField).map((f) => ({
|
|
48908
|
-
...f,
|
|
48909
|
-
item: true
|
|
48910
|
-
}));
|
|
48911
|
-
}
|
|
48912
|
-
//#endregion
|
|
48913
50055
|
//#region src/device/system-mirror.ts
|
|
48914
50056
|
var STATE_CHANGED_CATEGORY = "device.state-changed";
|
|
48915
50057
|
var BINDING_CHANGED_CATEGORY = "capability.binding-changed";
|
|
@@ -49802,6 +50944,7 @@ var CAPABILITY_NAMES = {
|
|
|
49802
50944
|
carbonMonoxide: "carbon-monoxide",
|
|
49803
50945
|
climateControl: "climate-control",
|
|
49804
50946
|
color: "color",
|
|
50947
|
+
composer: "composer",
|
|
49805
50948
|
connectionTest: "connection-test",
|
|
49806
50949
|
connectivity: "connectivity",
|
|
49807
50950
|
consumables: "consumables",
|
|
@@ -50062,6 +51205,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
50062
51205
|
key: "color",
|
|
50063
51206
|
name: "color"
|
|
50064
51207
|
},
|
|
51208
|
+
{
|
|
51209
|
+
key: "composer",
|
|
51210
|
+
name: "composer"
|
|
51211
|
+
},
|
|
50065
51212
|
{
|
|
50066
51213
|
key: "connectionTest",
|
|
50067
51214
|
name: "connection-test"
|
|
@@ -50621,6 +51768,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
50621
51768
|
carbonMonoxideCapability,
|
|
50622
51769
|
climateControlCapability,
|
|
50623
51770
|
colorCapability,
|
|
51771
|
+
composerCapability,
|
|
50624
51772
|
connectionTestCapability,
|
|
50625
51773
|
connectivityCapability,
|
|
50626
51774
|
consumablesCapability,
|
|
@@ -51696,6 +52844,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
51696
52844
|
addonId: null,
|
|
51697
52845
|
access: "create"
|
|
51698
52846
|
},
|
|
52847
|
+
"composer.applyBlocks": {
|
|
52848
|
+
capName: "composer",
|
|
52849
|
+
capScope: "system",
|
|
52850
|
+
addonId: null,
|
|
52851
|
+
access: "create"
|
|
52852
|
+
},
|
|
52853
|
+
"composer.getStates": {
|
|
52854
|
+
capName: "composer",
|
|
52855
|
+
capScope: "system",
|
|
52856
|
+
addonId: null,
|
|
52857
|
+
access: "view"
|
|
52858
|
+
},
|
|
51699
52859
|
"connectionTest.describeTest": {
|
|
51700
52860
|
capName: "connection-test",
|
|
51701
52861
|
capScope: "system",
|
|
@@ -51756,6 +52916,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
51756
52916
|
addonId: null,
|
|
51757
52917
|
access: "create"
|
|
51758
52918
|
},
|
|
52919
|
+
"coreBlocks.createComposition": {
|
|
52920
|
+
capName: "core-blocks",
|
|
52921
|
+
capScope: "system",
|
|
52922
|
+
addonId: null,
|
|
52923
|
+
access: "create"
|
|
52924
|
+
},
|
|
51759
52925
|
"coreBlocks.delete": {
|
|
51760
52926
|
capName: "core-blocks",
|
|
51761
52927
|
capScope: "system",
|
|
@@ -51768,6 +52934,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
51768
52934
|
addonId: null,
|
|
51769
52935
|
access: "view"
|
|
51770
52936
|
},
|
|
52937
|
+
"coreBlocks.getComposition": {
|
|
52938
|
+
capName: "core-blocks",
|
|
52939
|
+
capScope: "system",
|
|
52940
|
+
addonId: null,
|
|
52941
|
+
access: "view"
|
|
52942
|
+
},
|
|
51771
52943
|
"coreBlocks.getTypeDefs": {
|
|
51772
52944
|
capName: "core-blocks",
|
|
51773
52945
|
capScope: "system",
|
|
@@ -51780,6 +52952,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
51780
52952
|
addonId: null,
|
|
51781
52953
|
access: "view"
|
|
51782
52954
|
},
|
|
52955
|
+
"coreBlocks.listCompositions": {
|
|
52956
|
+
capName: "core-blocks",
|
|
52957
|
+
capScope: "system",
|
|
52958
|
+
addonId: null,
|
|
52959
|
+
access: "view"
|
|
52960
|
+
},
|
|
51783
52961
|
"coreBlocks.restart": {
|
|
51784
52962
|
capName: "core-blocks",
|
|
51785
52963
|
capScope: "system",
|
|
@@ -51798,6 +52976,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
51798
52976
|
addonId: null,
|
|
51799
52977
|
access: "create"
|
|
51800
52978
|
},
|
|
52979
|
+
"coreBlocks.updateComposition": {
|
|
52980
|
+
capName: "core-blocks",
|
|
52981
|
+
capScope: "system",
|
|
52982
|
+
addonId: null,
|
|
52983
|
+
access: "create"
|
|
52984
|
+
},
|
|
52985
|
+
"coreBlocks.validateComposition": {
|
|
52986
|
+
capName: "core-blocks",
|
|
52987
|
+
capScope: "system",
|
|
52988
|
+
addonId: null,
|
|
52989
|
+
access: "view"
|
|
52990
|
+
},
|
|
51801
52991
|
"cover.close": {
|
|
51802
52992
|
capName: "cover",
|
|
51803
52993
|
capScope: "device",
|
|
@@ -57857,6 +59047,7 @@ var KNOWN_CAP_NAMES = [
|
|
|
57857
59047
|
"carbon-monoxide",
|
|
57858
59048
|
"climate-control",
|
|
57859
59049
|
"color",
|
|
59050
|
+
"composer",
|
|
57860
59051
|
"connection-test",
|
|
57861
59052
|
"connectivity",
|
|
57862
59053
|
"consumables",
|
|
@@ -58094,6 +59285,7 @@ var SYSTEM_CAP_NAMES = [
|
|
|
58094
59285
|
"auth-provider",
|
|
58095
59286
|
"backup",
|
|
58096
59287
|
"broker",
|
|
59288
|
+
"composer",
|
|
58097
59289
|
"connection-test",
|
|
58098
59290
|
"core-blocks",
|
|
58099
59291
|
"custom-model-registry",
|
|
@@ -60919,7 +62111,12 @@ function createSystemProxy(api) {
|
|
|
60919
62111
|
setEnabled: (input) => dispatch("coreBlocks", "setEnabled", "mutation", input),
|
|
60920
62112
|
restart: (input) => dispatch("coreBlocks", "restart", "mutation", input),
|
|
60921
62113
|
compile: (input) => dispatch("coreBlocks", "compile", "mutation", input),
|
|
60922
|
-
getTypeDefs: (input) => dispatch("coreBlocks", "getTypeDefs", "query", input)
|
|
62114
|
+
getTypeDefs: (input) => dispatch("coreBlocks", "getTypeDefs", "query", input),
|
|
62115
|
+
createComposition: (input) => dispatch("coreBlocks", "createComposition", "mutation", input),
|
|
62116
|
+
updateComposition: (input) => dispatch("coreBlocks", "updateComposition", "mutation", input),
|
|
62117
|
+
getComposition: (input) => dispatch("coreBlocks", "getComposition", "query", input),
|
|
62118
|
+
listCompositions: (input) => dispatch("coreBlocks", "listCompositions", "query", input),
|
|
62119
|
+
validateComposition: (input) => dispatch("coreBlocks", "validateComposition", "mutation", input)
|
|
60923
62120
|
},
|
|
60924
62121
|
decoder: {
|
|
60925
62122
|
supportsCodec: (input) => dispatch("decoder", "supportsCodec", "query", input),
|
|
@@ -67069,4 +68266,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
67069
68266
|
return out;
|
|
67070
68267
|
}
|
|
67071
68268
|
//#endregion
|
|
67072
|
-
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_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, 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 };
|
|
68269
|
+
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 };
|