@camstack/types 1.2.112 → 1.2.113

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/index.mjs CHANGED
@@ -1435,6 +1435,76 @@ var OPS_LOG_RING_DEFAULT_MAX = 500;
1435
1435
  /** Default page size for a `listOpsLog` query when the caller omits `limit`. */
1436
1436
  var OPS_LOG_DEFAULT_LIMIT = 200;
1437
1437
  //#endregion
1438
+ //#region src/types/labels.ts
1439
+ var LabelDefinitionSchema = z.object({
1440
+ id: z.string(),
1441
+ name: z.string(),
1442
+ category: z.string().optional(),
1443
+ description: z.string().optional(),
1444
+ icon: z.string().optional()
1445
+ });
1446
+ /** Detection-macro targets a catalog `classMap` may resolve to. */
1447
+ var CLASS_MAP_MACRO_TARGETS = [
1448
+ "person",
1449
+ "vehicle",
1450
+ "animal",
1451
+ "package"
1452
+ ];
1453
+ /**
1454
+ * Le macro classi di PRIMO LIVELLO: quelle che un object detector emette e che
1455
+ * un operatore può selezionare.
1456
+ *
1457
+ * Sono le tre offerte dallo step `object-detection`
1458
+ * (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
1459
+ * `enabledMacroClasses`). `package` sta in {@link CLASS_MAP_MACRO_TARGETS} e in
1460
+ * `MACRO_LABELS` — è una macro vera — ma NON qui: appartiene allo step
1461
+ * `package-detection`, la cui abilitazione è guidata dalle zone, e offrire la
1462
+ * stessa parola due volte ha già fatto accendere a un operatore il proxy COCO
1463
+ * (suitcase/backpack/handbag) lasciando spento il detector dedicato.
1464
+ *
1465
+ * UNA lista. Prima di oggi le stesse tre erano scritte a mano nell'offerta
1466
+ * dello step e una seconda volta come union `FirstLevelMacro`
1467
+ * (`types/detection.ts`); una terza copia per il trigger di registrazione
1468
+ * (`RecordingTriggers.objectClasses`) avrebbe reso invisibile la divergenza
1469
+ * successiva.
1470
+ */
1471
+ var FIRST_LEVEL_MACRO_CLASSES = [
1472
+ "person",
1473
+ "vehicle",
1474
+ "animal"
1475
+ ];
1476
+ /**
1477
+ * True quando `value` è una macro di primo livello. Type guard, non cast: un
1478
+ * `className` che arriva dal bus è una stringa qualunque finché non passa di
1479
+ * qui.
1480
+ */
1481
+ function isFirstLevelMacroClass(value) {
1482
+ return FIRST_LEVEL_MACRO_CLASSES.some((macro) => macro === value);
1483
+ }
1484
+ /**
1485
+ * Wire schema for a per-model CATALOG classMap override
1486
+ * (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
1487
+ * restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
1488
+ * detection pipeline executor actually routes.
1489
+ *
1490
+ * This is deliberately a DIFFERENT, narrower shape than the general-purpose
1491
+ * `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
1492
+ * and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
1493
+ * enum) — the two used to share the name `ClassMapDefinition`/
1494
+ * `ClassMapDefinitionSchema`, which made the schema-type-twin guard
1495
+ * (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
1496
+ * are not: it is two different concepts colliding on a name. Keep this type
1497
+ * under its own name rather than reusing `ClassMapDefinition` — reusing it
1498
+ * would either narrow every `ClassMapDefinition` consumer to the four
1499
+ * detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
1500
+ * schema exists for (see the "rejects a classMap whose target is not a
1501
+ * detection macro" test in `model-catalog-schema.test.ts`).
1502
+ */
1503
+ var DetectionCatalogClassMapSchema = z.object({
1504
+ mapping: z.record(z.string(), z.enum(CLASS_MAP_MACRO_TARGETS)),
1505
+ preserveOriginal: z.boolean()
1506
+ });
1507
+ //#endregion
1438
1508
  //#region src/interfaces/recording-config.ts
1439
1509
  /**
1440
1510
  * THE canonical event-clip pad: the time window a single-timestamp analytics
@@ -1477,10 +1547,64 @@ var RecordingStorageModeSchema = z.enum([
1477
1547
  "events",
1478
1548
  "continuous"
1479
1549
  ]);
1550
+ /**
1551
+ * Le macro classi che possono aprire una finestra di registrazione — le stesse
1552
+ * tre offerte dallo step `object-detection`, da UNA lista
1553
+ * ({@link FIRST_LEVEL_MACRO_CLASSES}).
1554
+ */
1555
+ var RecordingObjectTriggerClassSchema = z.enum(FIRST_LEVEL_MACRO_CLASSES);
1556
+ /**
1557
+ * True quando `values` non ripete un elemento.
1558
+ *
1559
+ * Un duplicato non è innocuo: ogni voce di `objectClasses` / `sensorDeviceIds`
1560
+ * diventa una SORGENTE in `bandTriggerSources`, e la stessa sorgente due volte
1561
+ * conterebbe due volte le sue finestre in `segmentMissedByMs`.
1562
+ */
1563
+ var noDuplicates = (values) => new Set(values).size === values.length;
1564
+ /**
1565
+ * Quanti device sorgente una singola banda può ascoltare.
1566
+ *
1567
+ * Non è un gusto: ogni sorgente è una CHIAVE nel `TriggerState` del recorder, e
1568
+ * il limite per chiave (`MAX_TRIGGER_WINDOWS = 32`) senza un limite sulle
1569
+ * chiavi lascerebbe crescere la mappa con l'inventario dell'operatore. 16
1570
+ * sensori su UNA camera è già oltre qualunque installazione osservata.
1571
+ */
1572
+ var MAX_SENSOR_TRIGGER_DEVICES = 16;
1480
1573
  /** Which detectors trigger an `events`-mode band. */
1481
1574
  var RecordingTriggersSchema = z.object({
1482
1575
  motion: z.boolean().optional(),
1483
- audioThresholdDbfs: z.number().optional()
1576
+ audioThresholdDbfs: z.number().optional(),
1577
+ /**
1578
+ * Le macro classi la cui detection apre una finestra. ASSENTE = la sorgente
1579
+ * non è ascoltata; un array VUOTO è rifiutato, perché "banda events, trigger
1580
+ * object acceso, nessuna classe" è la stessa forma "abilitata e non registra
1581
+ * nulla, per sempre" contro cui è scritto `eventsBandCanEverDemand`.
1582
+ *
1583
+ * Il segnale letto è GIÀ FILTRATO: solo detection `source: 'pipeline'`, cioè
1584
+ * quelle che hanno attraversato `enabledMacroClasses`, i
1585
+ * `minConfidence<Macro>` e il full-frame guard. L'AI a bordo camera
1586
+ * (`source: 'onboard'`) non attraversa nessuno di quei gate e NON apre
1587
+ * finestre — vedi `recorder/object-trigger.ts`.
1588
+ */
1589
+ objectClasses: z.array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
1590
+ /**
1591
+ * I device LINKED il cui FRONTE ALTO apre una finestra. Assente = la sorgente
1592
+ * non è ascoltata; un array vuoto è rifiutato per la stessa ragione di
1593
+ * `objectClasses`.
1594
+ *
1595
+ * Sono id di device SORGENTE, non camere: la banda li nomina, quindi il
1596
+ * percorso caldo (`DeviceStateChanged`, a ritmo di bus su tutta la flotta)
1597
+ * non fa RPC. L'OFFERTA da cui l'operatore li sceglie è un'altra domanda, e
1598
+ * si risolve con `deviceManager.getLinkedDevices` + `getBindingsBatch` per
1599
+ * device (D12) — mai un elenco globale di cap.
1600
+ *
1601
+ * Cosa vuol dire "alto" dipende dal TIPO di device e non è deciso qui:
1602
+ * `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) è LA tabella,
1603
+ * la stessa che il virtual-doorbell usa dal 2026-08-05. Ed è il FRONTE, non
1604
+ * il livello: un contatto trovato già aperto al riavvio del runner non fa
1605
+ * registrare.
1606
+ */
1607
+ sensorDeviceIds: z.array(z.number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
1484
1608
  });
1485
1609
  /**
1486
1610
  * Mode of a single recording band — the recorder per-band vocabulary.
@@ -2270,45 +2394,6 @@ function pickClosestResolution(entries, target) {
2270
2394
  return bestAbove?.entry ?? bestBelow?.entry;
2271
2395
  }
2272
2396
  //#endregion
2273
- //#region src/types/labels.ts
2274
- var LabelDefinitionSchema = z.object({
2275
- id: z.string(),
2276
- name: z.string(),
2277
- category: z.string().optional(),
2278
- description: z.string().optional(),
2279
- icon: z.string().optional()
2280
- });
2281
- /** Detection-macro targets a catalog `classMap` may resolve to. */
2282
- var CLASS_MAP_MACRO_TARGETS = [
2283
- "person",
2284
- "vehicle",
2285
- "animal",
2286
- "package"
2287
- ];
2288
- /**
2289
- * Wire schema for a per-model CATALOG classMap override
2290
- * (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
2291
- * restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
2292
- * detection pipeline executor actually routes.
2293
- *
2294
- * This is deliberately a DIFFERENT, narrower shape than the general-purpose
2295
- * `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
2296
- * and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
2297
- * enum) — the two used to share the name `ClassMapDefinition`/
2298
- * `ClassMapDefinitionSchema`, which made the schema-type-twin guard
2299
- * (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
2300
- * are not: it is two different concepts colliding on a name. Keep this type
2301
- * under its own name rather than reusing `ClassMapDefinition` — reusing it
2302
- * would either narrow every `ClassMapDefinition` consumer to the four
2303
- * detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
2304
- * schema exists for (see the "rejects a classMap whose target is not a
2305
- * detection macro" test in `model-catalog-schema.test.ts`).
2306
- */
2307
- var DetectionCatalogClassMapSchema = z.object({
2308
- mapping: z.record(z.string(), z.enum(CLASS_MAP_MACRO_TARGETS)),
2309
- preserveOriginal: z.boolean()
2310
- });
2311
- //#endregion
2312
2397
  //#region src/types/model-variant-groups.ts
2313
2398
  var FORMAT_KEYS = [
2314
2399
  "onnx",
@@ -21650,7 +21735,7 @@ var lifecycleJobSchema = z.object({
21650
21735
  * `useAddonsOnAddonLogs`, etc. flow through the same codegen pipeline
21651
21736
  * as every other cap.
21652
21737
  */
21653
- var LogLevelSchema$1 = z.enum([
21738
+ var LogLevelSchema$2 = z.enum([
21654
21739
  "debug",
21655
21740
  "info",
21656
21741
  "warn",
@@ -21877,7 +21962,7 @@ var addonsCapability = {
21877
21962
  getLogs: method(z.object({
21878
21963
  addonId: z.string(),
21879
21964
  limit: z.number().min(1).max(500).default(100),
21880
- level: LogLevelSchema$1.optional()
21965
+ level: LogLevelSchema$2.optional()
21881
21966
  }), z.array(LogQueryEntrySchema)),
21882
21967
  listPackages: method(z.void(), z.array(InstalledPackageSchema).readonly()),
21883
21968
  installPackage: method(z.object({
@@ -22115,7 +22200,7 @@ var addonsCapability = {
22115
22200
  }),
22116
22201
  onAddonLogs: method(z.object({
22117
22202
  addonId: z.string(),
22118
- level: LogLevelSchema$1.optional()
22203
+ level: LogLevelSchema$2.optional()
22119
22204
  }), LogStreamEntrySchema, { kind: "subscription" })
22120
22205
  },
22121
22206
  /** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
@@ -24061,6 +24146,35 @@ var FaceFilterEnum = z.enum([
24061
24146
  "identified",
24062
24147
  "all"
24063
24148
  ]);
24149
+ /**
24150
+ * What a `listRecentFaces` page is ORDERED BY.
24151
+ *
24152
+ * - `timestamp` — when the face was seen. The historical (and default) order.
24153
+ * - `suggestionConfidence` — {@link FaceInfo.suggestedMatchScore}, the peak
24154
+ * cosine of the face's SUGGESTED identity. This is the "review by certainty"
24155
+ * order: it puts the suggestions an operator can confirm with one tap at the
24156
+ * top, and it is the reason this enum exists — a client that ranked a capped
24157
+ * page client-side was ranking the newest N, never the most certain N.
24158
+ *
24159
+ * A row with NO suggestion (`suggestedMatchScore` absent — a legacy row, an
24160
+ * auto-assigned face, or a face below the suggestion band) has no certainty to
24161
+ * compare. Under `suggestionConfidence` it sorts **LAST, in BOTH directions**
24162
+ * — flipping the direction reorders the rows that HAVE a certainty and never
24163
+ * floods the page with the ones that do not. `addon-post-analysis`'s
24164
+ * `store/face-sort.ts` is the single implementation, tiebreaks newest-first
24165
+ * then by faceId, and is what makes this a total order instead of the
24166
+ * backend's NULL-collation accident.
24167
+ */
24168
+ var FaceSortFieldEnum = z.enum(["timestamp", "suggestionConfidence"]);
24169
+ var FaceSortDirectionEnum = z.enum(["asc", "desc"]);
24170
+ /** One suggested group of look-alike UNASSIGNED faces. Ids only — an embedding
24171
+ * never leaves the server. */
24172
+ var FaceClusterSchema = z.object({
24173
+ faceIds: z.array(z.string()).readonly(),
24174
+ representativeFaceId: z.string(),
24175
+ size: z.number().int(),
24176
+ cohesion: z.number()
24177
+ });
24064
24178
  var MediaFileLiteSchema$1 = z.object({
24065
24179
  key: z.string(),
24066
24180
  kind: z.string(),
@@ -24118,24 +24232,72 @@ includeCrops: z.boolean().optional() }).optional(), z.array(IdentitySchema).read
24118
24232
  auth: "admin"
24119
24233
  }),
24120
24234
  listRecentFaces: method(z.object({
24121
- /** Restrict to one camera. Absent keeps the cluster-wide gallery view. */
24235
+ /**
24236
+ * Restrict to ONE camera. Absent keeps the cluster-wide gallery view.
24237
+ *
24238
+ * The legacy single-camera form, kept verbatim for every caller that
24239
+ * already sends it. A caller that wants a SET sends {@link deviceIds}
24240
+ * instead — never both: `deviceIds` is the authority whenever it is
24241
+ * present, and this field is then ignored rather than unioned, so
24242
+ * there is exactly one answer to "which cameras did I ask for".
24243
+ */
24122
24244
  deviceId: z.number().int().optional(),
24245
+ /**
24246
+ * Restrict to a SET of cameras — the review UI's camera filter, which
24247
+ * until now had to fetch the cluster-wide page and drop rows in the
24248
+ * client (so the `limit` it asked for was spent on cameras it was
24249
+ * about to discard).
24250
+ *
24251
+ * An **empty array reads NOTHING** — `[]` is an empty page, never
24252
+ * "every camera". A request for no devices is a request, not an
24253
+ * omission; same contract as `deviceManager.listFleet` and
24254
+ * `pipelineAnalytics.listRecentTracks`.
24255
+ *
24256
+ * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
24257
+ */
24258
+ deviceIds: z.array(z.number().int()).optional(),
24123
24259
  limit: z.number().int().positive().optional(),
24124
24260
  filter: FaceFilterEnum.optional(),
24125
24261
  /**
24126
- * Inline the base64 crop on every row. Default `true` — the existing
24127
- * behaviour, kept so no caller breaks.
24262
+ * Window lower bound on {@link FaceInfo.timestamp}, INCLUSIVE.
24263
+ * Absent means no lower bound.
24264
+ */
24265
+ since: z.number().int().optional(),
24266
+ /**
24267
+ * Window upper bound on {@link FaceInfo.timestamp}, INCLUSIVE.
24268
+ * Absent means no upper bound.
24269
+ */
24270
+ until: z.number().int().optional(),
24271
+ /**
24272
+ * Order the page by time or by suggestion certainty. Default
24273
+ * `'timestamp'` — the historical order, unchanged for every caller
24274
+ * that does not ask.
24128
24275
  *
24129
- * Set `false` once the caller renders {@link FaceInfo.cropUrl}: that
24130
- * drops ~2.87 MiB per 500-row page to a few KiB of metadata and lets
24131
- * the browser cache the images.
24276
+ * See {@link FaceSortFieldEnum} for what a row with no suggestion
24277
+ * does under `'suggestionConfidence'`.
24132
24278
  *
24133
- * **This is an INPUT field, so it does not reach the addon until the
24134
- * next train.** The hub router validates cap inputs against its own
24135
- * compiled Zod, which strips a key it does not know verified today
24136
- * on the OUTPUT side, where an additive field DOES arrive immediately
24137
- * (`Track.hasFace`). Until the train ships, sending `false` is
24138
- * harmless and simply keeps the crops inline.
24279
+ * Cost note: `'timestamp'` is served by the `(deviceId, timestamp)`
24280
+ * index and stops reading as soon as `limit` rows have PASSED the
24281
+ * filter. `'suggestionConfidence'` cannot stop earlythe most
24282
+ * certain row may be the oldest so it walks the window. Narrow it
24283
+ * with {@link since} / {@link until}.
24284
+ */
24285
+ sortBy: FaceSortFieldEnum.optional(),
24286
+ /** Sort direction for {@link sortBy}. Default `'desc'`. */
24287
+ sortDirection: FaceSortDirectionEnum.optional(),
24288
+ /**
24289
+ * Inline the base64 crop on every row.
24290
+ *
24291
+ * Default `false` since the 2026-08-25 inversion — see
24292
+ * `include-crops-default.ts`, which is the ONE place that resolves
24293
+ * this for every gallery, and which records why the inline shape had
24294
+ * to become the one you ASK for (60 457 ms → UDS timeout at 500 rows).
24295
+ * The doc here used to still say `true`; it was wrong, and a leftover
24296
+ * that describes the old design reads as permission to rely on it.
24297
+ *
24298
+ * Nothing loses its image: the row carries {@link FaceInfo.cropUrl},
24299
+ * which the browser fetches off the `event-media` plane in parallel,
24300
+ * cached and ETagged.
24139
24301
  */
24140
24302
  includeCrops: z.boolean().optional()
24141
24303
  }).optional(), z.array(FaceInfoSchema).readonly()),
@@ -24184,13 +24346,39 @@ includeCrops: z.boolean().optional() }).optional(), z.array(IdentitySchema).read
24184
24346
  suggestFaceClusters: method(z.object({
24185
24347
  threshold: z.number().min(0).max(1).optional(),
24186
24348
  minClusterSize: z.number().int().min(2).optional(),
24187
- limit: z.number().int().positive().optional()
24188
- }).optional(), z.array(z.object({
24189
- faceIds: z.array(z.string()).readonly(),
24190
- representativeFaceId: z.string(),
24191
- size: z.number().int(),
24192
- cohesion: z.number()
24193
- })).readonly())
24349
+ /**
24350
+ * Cap on the number of CLUSTERS returned. Renamed from `limit`,
24351
+ * which read as though it bounded the work — it never did.
24352
+ *
24353
+ * Wins over {@link limit} when both are sent.
24354
+ */
24355
+ maxClusters: z.number().int().positive().optional(),
24356
+ /**
24357
+ * @deprecated Ambiguous name for {@link maxClusters} — it cuts the
24358
+ * RESULT, not the scan. Kept so existing callers keep working; send
24359
+ * `maxClusters` (and, if you care about cost, {@link maxFacesScanned}).
24360
+ */
24361
+ limit: z.number().int().positive().optional(),
24362
+ /**
24363
+ * Cap on the number of unassigned faces READ AND CLUSTERED — the
24364
+ * POOL, not the result.
24365
+ *
24366
+ * This is the knob {@link maxClusters} was mistaken for. Clustering
24367
+ * used to read every unassigned face on the hub no matter what the
24368
+ * caller asked for, because the only bound cut the finished clusters
24369
+ * afterwards; a UI showing a window of 100 paid for a scan of the
24370
+ * whole corpus, on an addon whose disk is under contention.
24371
+ *
24372
+ * The pool is the NEWEST matching faces first — the same order the
24373
+ * gallery shows — so a bound here shortens the horizon, it does not
24374
+ * sample it randomly.
24375
+ *
24376
+ * Default: 1 000 (`FACE_SWEEP_PAGE`, exactly one store page). Chosen
24377
+ * so the live corpus — 372 face rows — is unaffected while the
24378
+ * unbounded scan can never come back as the table grows.
24379
+ */
24380
+ maxFacesScanned: z.number().int().positive().optional()
24381
+ }).optional(), z.array(FaceClusterSchema).readonly())
24194
24382
  }
24195
24383
  };
24196
24384
  //#endregion
@@ -30249,6 +30437,213 @@ var SetSiteLocationInputSchema = z.object({
30249
30437
  latitude: z.number().min(-90).max(90),
30250
30438
  longitude: z.number().min(-180).max(180)
30251
30439
  }).nullable();
30440
+ /**
30441
+ * One `(procedure, user-agent, ip, principal)` tuple of the HTTP request
30442
+ * census. `principal` is the DERIVED identity (`apocaliss92 (admin)`,
30443
+ * `scoped:1a2b3c4d (scoped-token)`, `anonymous`) that the tRPC error log
30444
+ * already prints - never a token, never an `Authorization` header.
30445
+ */
30446
+ var RequestCensusGroupSchema = z.object({
30447
+ procedure: z.string(),
30448
+ userAgent: z.string(),
30449
+ ip: z.string(),
30450
+ principal: z.string(),
30451
+ calls: z.number(),
30452
+ perMin: z.number()
30453
+ });
30454
+ /**
30455
+ * A procedure's TOTAL over the window, across every caller.
30456
+ *
30457
+ * This block, not the group list, is what answers "did these calls arrive over
30458
+ * HTTP at all". A total far BELOW what a store-side census counted over the
30459
+ * same window excludes the HTTP plane, which is a result, not a failure.
30460
+ */
30461
+ var RequestCensusProcedureSchema = z.object({
30462
+ procedure: z.string(),
30463
+ calls: z.number(),
30464
+ perMin: z.number()
30465
+ });
30466
+ /** What one armed window measured. Mirrors `HttpRequestCensus.snapshot()`. */
30467
+ var RequestCensusSnapshotSchema = z.object({
30468
+ armed: z.boolean(),
30469
+ /** How long the current - or just-closed - window collected, in ms. */
30470
+ elapsedMs: z.number(),
30471
+ /** The window actually armed, after the server clamped the request. */
30472
+ windowMs: z.number(),
30473
+ /** Epoch ms the window closes at. 0 when disarmed. */
30474
+ armedUntilMs: z.number(),
30475
+ httpRequests: z.number(),
30476
+ batchedRequests: z.number(),
30477
+ /**
30478
+ * Procedure invocations. Higher than `httpRequests` whenever tRPC batching
30479
+ * is in play (`?batch=1` carries several procedures in one request); this is
30480
+ * the number comparable with a store-side call count.
30481
+ */
30482
+ procedureCalls: z.number(),
30483
+ /**
30484
+ * tRPC WebSocket connections opened during the window. NOT calls - the WS
30485
+ * transport resolves one context per connection - but the number that says
30486
+ * whether a plane this census cannot see was busy while HTTP was quiet.
30487
+ */
30488
+ wsConnections: z.number(),
30489
+ distinctGroups: z.number(),
30490
+ /** Calls counted in the totals whose group attribution was shed at the
30491
+ * cardinality bound. */
30492
+ unattributedCalls: z.number(),
30493
+ procedures: z.array(RequestCensusProcedureSchema).readonly(),
30494
+ groups: z.array(RequestCensusGroupSchema).readonly()
30495
+ });
30496
+ /**
30497
+ * The census as an operator sees it.
30498
+ *
30499
+ * `persisted` is the honest answer to "will this survive the restart I am
30500
+ * about to do": the arm deadline is written to `system-settings` so a window
30501
+ * armed now can measure the NEXT boot, and a write that failed must not look
30502
+ * like one that succeeded.
30503
+ */
30504
+ var RequestCensusStatusSchema = RequestCensusSnapshotSchema.extend({ persisted: z.boolean() });
30505
+ /** Severity vocabulary. Mirrors `LogLevel` in `interfaces/logging.ts`. */
30506
+ var LogLevelSchema$1 = z.enum([
30507
+ "debug",
30508
+ "info",
30509
+ "warn",
30510
+ "error"
30511
+ ]);
30512
+ /**
30513
+ * The diagnostics that can be ARMED for a window. Exactly one today.
30514
+ *
30515
+ * A diagnostic is anything whose cost is only worth paying while a question is
30516
+ * open. It never persists as a boolean: see {@link DiagnosticWindowSchema}.
30517
+ */
30518
+ var DiagnosticIdSchema = z.enum(["request-census"]);
30519
+ /**
30520
+ * The layers of the level hierarchy, general → specific. The most specific
30521
+ * layer that carries an explicit value wins.
30522
+ *
30523
+ * `component` is DECLARED and not yet resolvable: the per-component channels
30524
+ * are a later slice of the same plan, and a `levelSource` enum that has to
30525
+ * grow later would force every consumer of this document to change with it.
30526
+ * Nothing returns `component` today.
30527
+ */
30528
+ var LoggingScopeKindSchema = z.enum([
30529
+ "cluster",
30530
+ "node",
30531
+ "component"
30532
+ ]);
30533
+ /** Where an effective level came from. `default` = nothing is set anywhere. */
30534
+ var LoggingLevelSourceSchema = z.enum([
30535
+ "default",
30536
+ "cluster",
30537
+ "node",
30538
+ "component"
30539
+ ]);
30540
+ /**
30541
+ * One layer of the hierarchy as it actually STANDS.
30542
+ *
30543
+ * `level: null` is the whole reason this array is returned: it is the
30544
+ * difference between "this node is at `info` because I decided it" and
30545
+ * "...because it inherits". An operator who clears an override believing they
30546
+ * are clearing an inherited value has been handed the same defect as the two
30547
+ * contradicting knobs this document exists to remove, moved one floor up.
30548
+ */
30549
+ var LoggingLevelLayerSchema = z.object({
30550
+ scope: LoggingScopeKindSchema,
30551
+ /** The node this layer speaks for; `null` on the cluster layer. */
30552
+ nodeId: z.string().nullable(),
30553
+ /** Explicitly set here, or `null` when this layer inherits. */
30554
+ level: LogLevelSchema$1.nullable()
30555
+ });
30556
+ /** What a line is judged against, and WHICH layer decided it. */
30557
+ var LoggingEffectiveSchema = z.object({
30558
+ level: LogLevelSchema$1,
30559
+ levelSource: LoggingLevelSourceSchema
30560
+ });
30561
+ /** Every layer, general → specific. Never collapsed into the effective value. */
30562
+ var LoggingExplicitSchema = z.object({ layers: z.array(LoggingLevelLayerSchema).readonly() });
30563
+ /**
30564
+ * An armed diagnostic, with its DEADLINE.
30565
+ *
30566
+ * The shape of ADR-0244: what is stored is a deadline and never a flag, so a
30567
+ * diagnostic somebody forgot expires by itself, and a boot-window measurement
30568
+ * survives the restart it exists to measure. `remainingMs` is 0 whenever
30569
+ * `armed` is false — a window is never reported as slightly expired.
30570
+ */
30571
+ var DiagnosticWindowSchema = z.object({
30572
+ id: DiagnosticIdSchema,
30573
+ armed: z.boolean(),
30574
+ /** Epoch ms the window closes at. 0 when disarmed. */
30575
+ armedUntilMs: z.number(),
30576
+ /** Ms left before it expires on its own. 0 when disarmed. */
30577
+ remainingMs: z.number(),
30578
+ /** Whether the stored deadline is the one the live diagnostic is running —
30579
+ * i.e. whether this window would survive a restart. */
30580
+ persisted: z.boolean()
30581
+ });
30582
+ /**
30583
+ * `armMs: 0` DISARMS. Any positive value arms for that long, clamped by the
30584
+ * server — there is no maximum here on purpose: a bound repeated in a schema
30585
+ * is a second knob that disagrees with the first the day one of them moves.
30586
+ */
30587
+ var DiagnosticWindowPatchSchema = z.object({
30588
+ id: DiagnosticIdSchema,
30589
+ armMs: z.number().int().min(0),
30590
+ /** Cadence of the diagnostic's aggregated report line. Clamped by the server. */
30591
+ reportEveryMs: z.number().int().positive().optional()
30592
+ });
30593
+ /**
30594
+ * A PATCH, and patches MERGE.
30595
+ *
30596
+ * A field absent from the patch is left exactly as it was — arming a
30597
+ * diagnostic never resets a level, and setting a level never disarms a window.
30598
+ * The provider must not reconstruct the document as `{ ...snapshot, ...patch }`:
30599
+ * `setAll` already merges, and rebuilding the object is how an absent field
30600
+ * turns into an erased one.
30601
+ */
30602
+ var LoggingSettingsPatchSchema = z.object({
30603
+ /**
30604
+ * Absent leaves the level untouched. `null` CLEARS the explicit value at the
30605
+ * addressed scope so it inherits again. A value sets it.
30606
+ */
30607
+ level: LogLevelSchema$1.nullable().optional(),
30608
+ /**
30609
+ * Only the diagnostics NAMED here change. An armed window that is not listed
30610
+ * keeps running — a patch is never a full replacement.
30611
+ */
30612
+ diagnostics: z.array(DiagnosticWindowPatchSchema).readonly().optional()
30613
+ });
30614
+ /**
30615
+ * Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
30616
+ *
30617
+ * Deliberately NOT called `nodeId`: that key is reserved on every cap method
30618
+ * input — the generated router strips it and uses it to resolve the PROVIDER
30619
+ * on that node (`resolveProvider(cap, nodeId, …)`). A document about
30620
+ * `agent-1` addressed as `nodeId` would be forwarded to agent-1 and answered
30621
+ * by an agent that holds no cluster document at all. The hub is the single
30622
+ * authority over the whole hierarchy and answers for every layer, so the
30623
+ * layer selector needs a name the transport does not already own.
30624
+ */
30625
+ var GetLoggingSettingsInputSchema = z.object({ scopeNodeId: z.string().optional() });
30626
+ var SetLoggingSettingsInputSchema = z.object({
30627
+ scopeNodeId: z.string().optional(),
30628
+ patch: LoggingSettingsPatchSchema
30629
+ });
30630
+ /**
30631
+ * The whole document, as read and as returned after every write.
30632
+ *
30633
+ * `persisted: false` means the settings store could not be read or written.
30634
+ * The in-memory mirror still governs behaviour and is unchanged by the
30635
+ * failure — a read that fails neither switches a level nor disarms a window
30636
+ * (D49) — but the operator is told that what they are looking at would not
30637
+ * survive a restart.
30638
+ */
30639
+ var LoggingSettingsStateSchema = z.object({
30640
+ /** The layer this document was read at. `null` = the cluster layer. */
30641
+ scopeNodeId: z.string().nullable(),
30642
+ effective: LoggingEffectiveSchema,
30643
+ explicit: LoggingExplicitSchema,
30644
+ activeWindows: z.array(DiagnosticWindowSchema).readonly(),
30645
+ persisted: z.boolean()
30646
+ });
30252
30647
  var systemCapability = {
30253
30648
  name: "system",
30254
30649
  scope: "system",
@@ -30292,6 +30687,38 @@ var systemCapability = {
30292
30687
  detectSiteLocation: method(z.void(), SiteLocationStatusSchema, {
30293
30688
  kind: "mutation",
30294
30689
  auth: "admin"
30690
+ }),
30691
+ /**
30692
+ * Read the HTTP request census - which caller, from which address, with
30693
+ * which user-agent, invoked which tRPC procedure, and how often.
30694
+ *
30695
+ * Reading NEVER re-arms: re-arming clears the counts, which would throw
30696
+ * away exactly the numbers being asked for. A closed window may be read as
30697
+ * many times as the operator likes and always describes the same window.
30698
+ *
30699
+ * Admin-only: the rows carry source addresses and principal names.
30700
+ */
30701
+ getRequestCensus: method(z.void(), RequestCensusStatusSchema, { auth: "admin" }),
30702
+ /**
30703
+ * The logging settings document — levels and armed diagnostics — resolved
30704
+ * for `nodeId`, or for the cluster when `nodeId` is absent.
30705
+ *
30706
+ * Returns BOTH `effective` and `explicit`. See
30707
+ * {@link LoggingLevelLayerSchema} for why collapsing them is the defect.
30708
+ */
30709
+ getLoggingSettings: method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }),
30710
+ /**
30711
+ * Write the logging settings document. The ONLY write authority over log
30712
+ * levels and diagnostic windows — arming the request census went through
30713
+ * `system.setRequestCensus` until 2026-08-27 and no longer does, because
30714
+ * two writes that disagree about the same window is exactly the defect
30715
+ * this document exists to remove (D245).
30716
+ *
30717
+ * The patch MERGES: see {@link LoggingSettingsPatchSchema}.
30718
+ */
30719
+ setLoggingSettings: method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
30720
+ kind: "mutation",
30721
+ auth: "admin"
30295
30722
  })
30296
30723
  },
30297
30724
  /** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
@@ -31486,6 +31913,172 @@ function stateVocabularyFor(runtimeState, alarmStates = []) {
31486
31913
  return [];
31487
31914
  }
31488
31915
  //#endregion
31916
+ //#region src/catalogs/sensor-active-state.ts
31917
+ /**
31918
+ * LA tabella "quale booleano di questo tipo di device conta come ALTO", e il
31919
+ * valutatore puro del suo FRONTE.
31920
+ *
31921
+ * Viveva dentro il builtin virtual-doorbell
31922
+ * (`@camstack/system` — `builtins/doorbell/trigger-engine.ts`) e i suoi
31923
+ * predicati erano privati al modulo. Il recorder ne ha bisogno per il trigger
31924
+ * `RecordingTriggers.sensorDeviceIds`: copiarla avrebbe creato la SECONDA
31925
+ * tabella, che diverge alla prima cap aggiunta e il cui sintomo — "il sensore
31926
+ * fa suonare il campanello ma non registra" — è esattamente D62. Quindi si
31927
+ * SPOSTA qui e il doorbell la ri-esporta.
31928
+ *
31929
+ * ⚠ NON è `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), e le
31930
+ * due non vanno unificate: quella risponde a "qual è la PAROLA di stato per una
31931
+ * regola" (e include `presence`, `cover`, `alarm-panel`), questa a "qual è il
31932
+ * booleano il cui FRONTE conta". Vocabolari deliberatamente diversi.
31933
+ */
31934
+ /**
31935
+ * Known binary / switch source caps → the boolean slice field whose
31936
+ * false→true rise counts as ACTIVE. Every entry is "fire on active".
31937
+ * Sensors whose "active" reading is not a plain boolean (presence's string
31938
+ * state, connectivity's connected flag) are deliberately excluded — a
31939
+ * reconnect is not a doorbell press, and it is not a recording either.
31940
+ */
31941
+ var SOURCE_CAP_ACTIVE_FIELD = {
31942
+ contact: "entryOpen",
31943
+ binary: "on",
31944
+ switch: "on",
31945
+ motion: "detected",
31946
+ flood: "flooded",
31947
+ gas: "detected",
31948
+ smoke: "detected",
31949
+ "carbon-monoxide": "detected",
31950
+ vibration: "detected",
31951
+ tamper: "tampered"
31952
+ };
31953
+ /**
31954
+ * The same caps → the slice field carrying the ms-epoch timestamp of the
31955
+ * last transition. Every source cap MUST appear here (guarded by a spec):
31956
+ * without a transition timestamp the evaluator cannot tell a genuine rise
31957
+ * from a boot-time hydration when the FIRST slice it ever sees is already
31958
+ * active, and errs towards silence — swallowing the rise.
31959
+ *
31960
+ * These timestamps are UPSTREAM ones, not ingest ones: the Home Assistant
31961
+ * provider derives them from `state.last_changed`, so they survive our own
31962
+ * restarts and correctly read as "hours ago" for a state that has been
31963
+ * active for hours. `motion` names its rise timestamp `lastDetectedAt`.
31964
+ */
31965
+ var SOURCE_CAP_CHANGED_AT_FIELD = {
31966
+ contact: "lastChangedAt",
31967
+ binary: "lastChangedAt",
31968
+ switch: "lastChangedAt",
31969
+ motion: "lastDetectedAt",
31970
+ flood: "lastChangedAt",
31971
+ gas: "lastChangedAt",
31972
+ smoke: "lastChangedAt",
31973
+ "carbon-monoxide": "lastChangedAt",
31974
+ vibration: "lastChangedAt",
31975
+ tamper: "lastChangedAt"
31976
+ };
31977
+ /** Cap names whose presence in a device's bindings qualify it as a source. */
31978
+ var SOURCE_CAPS = Object.keys(SOURCE_CAP_ACTIVE_FIELD);
31979
+ /**
31980
+ * Device `type` values (from `DeviceType`) that can host a binary/switch
31981
+ * source cap. Used by the camera's `device-multiselect` picker as the
31982
+ * CLIENT-SIDE filter, alongside `SOURCE_CAPS`.
31983
+ *
31984
+ * Why types and not caps alone: the shared picker filters
31985
+ * `deviceManager.listAll` rows client-side, and those rows carry only the
31986
+ * device's advertised `features` — NOT its registered cap list. On the live
31987
+ * cluster binary sensors and switches advertise EMPTY features (features
31988
+ * mirror only a handful of caps like `motion-trigger`), so a caps-only
31989
+ * filter matched against `features` would list nothing (the very bug this
31990
+ * replaced, which relied on the now-empty `getAllBindings`). Matching by
31991
+ * `type` is the reliable client-side signal; the union with `SOURCE_CAPS`
31992
+ * still captures any device that DOES advertise a source-cap feature.
31993
+ * `sensor` covers contact/motion/flood/gas/smoke/CO/vibration/tamper,
31994
+ * `switch` covers switches, `control` covers generic binary actuators.
31995
+ */
31996
+ var SOURCE_DEVICE_TYPES = [
31997
+ "sensor",
31998
+ "switch",
31999
+ "control"
32000
+ ];
32001
+ /** True when a cap is a recognised binary/switch source. */
32002
+ function isSourceCap(capName) {
32003
+ return Object.prototype.hasOwnProperty.call(SOURCE_CAP_ACTIVE_FIELD, capName);
32004
+ }
32005
+ /** Extract the "active" boolean a source cap's slice carries, or null when
32006
+ * the cap is unknown or the field is missing / non-boolean. */
32007
+ function sliceActiveValue(capName, slice) {
32008
+ const field = SOURCE_CAP_ACTIVE_FIELD[capName];
32009
+ if (field === void 0) return null;
32010
+ const raw = slice[field];
32011
+ return typeof raw === "boolean" ? raw : null;
32012
+ }
32013
+ /** Ms-epoch transition timestamp a source cap's slice carries, or null when
32014
+ * it is absent, non-numeric or the zero "never observed" sentinel. */
32015
+ function sliceChangedAt(capName, slice) {
32016
+ const field = SOURCE_CAP_CHANGED_AT_FIELD[capName];
32017
+ if (field === void 0) return null;
32018
+ const raw = slice[field];
32019
+ if (typeof raw !== "number" || !Number.isFinite(raw) || raw <= 0) return null;
32020
+ return raw;
32021
+ }
32022
+ /**
32023
+ * How recent a source's own transition timestamp must be for a FIRST
32024
+ * sighting that is already active to count as a genuine rise rather than a
32025
+ * hydration of long-standing state.
32026
+ */
32027
+ var DEFAULT_FIRST_SIGHTING_FRESHNESS_MS = 3e4;
32028
+ /**
32029
+ * IL fronte. Puro: nessun orologio proprio, nessuna memoria — il chiamante
32030
+ * porta `prior`, `nowMs` e il proprio `startedAtMs`.
32031
+ *
32032
+ * Il caso della PRIMA slice già attiva è trattato esplicitamente e vale come
32033
+ * fronte solo se il timestamp UPSTREAM della transizione è posteriore a
32034
+ * `startedAtMs` **e** entro `firstSightingFreshnessMs`. Entrambe le metà
32035
+ * servono: la sola freschezza scatterebbe su un'idratazione al boot di uno
32036
+ * stato flippato pochi secondi prima del riavvio, e il solo "dopo che abbiamo
32037
+ * iniziato" scatterebbe, su un processo di lunga vita, per una sorgente
32038
+ * adottata oggi il cui stato è cambiato ieri. Il caso ambiguo ERRA VERSO IL
32039
+ * SILENZIO e lo dichiara (`baseline-seeded-stale-active`).
32040
+ */
32041
+ function evaluateSensorEdge(input) {
32042
+ const value = sliceActiveValue(input.capName, input.slice);
32043
+ if (value === null) return {
32044
+ edge: "none",
32045
+ value: null,
32046
+ reason: isSourceCap(input.capName) ? "non-boolean-value" : "unknown-cap"
32047
+ };
32048
+ if (input.prior === void 0) {
32049
+ if (!value) return {
32050
+ edge: "none",
32051
+ value,
32052
+ reason: "baseline-seeded-inactive"
32053
+ };
32054
+ const changedAt = sliceChangedAt(input.capName, input.slice);
32055
+ const floor = Math.max(input.startedAtMs, input.nowMs - input.firstSightingFreshnessMs);
32056
+ if (changedAt === null || changedAt < floor) return {
32057
+ edge: "none",
32058
+ value,
32059
+ reason: "baseline-seeded-stale-active"
32060
+ };
32061
+ return {
32062
+ edge: "rising",
32063
+ value: true
32064
+ };
32065
+ }
32066
+ if (input.prior === value) return {
32067
+ edge: "none",
32068
+ value,
32069
+ reason: "no-change"
32070
+ };
32071
+ if (!value) return {
32072
+ edge: "none",
32073
+ value,
32074
+ reason: "falling-edge"
32075
+ };
32076
+ return {
32077
+ edge: "rising",
32078
+ value: true
32079
+ };
32080
+ }
32081
+ //#endregion
31489
32082
  //#region src/constants.ts
31490
32083
  var HF_REPO = "camstack/camstack-models";
31491
32084
  var HF_BASE_URL = `https://huggingface.co/${HF_REPO}/resolve/main`;
@@ -32647,6 +33240,47 @@ var BaseDeviceProvider = class extends BaseAddon {
32647
33240
  }
32648
33241
  };
32649
33242
  //#endregion
33243
+ //#region src/device/battery-presence.ts
33244
+ /**
33245
+ * Default silence budget before a sleeping battery camera is called gone.
33246
+ *
33247
+ * Sized off the mechanism that produces contact, not off taste: a battery cam
33248
+ * on this deployment surfaces a firmware push (battery level, sleep/wake, or a
33249
+ * motion email) on the order of hours even with no visitors, and the snapshot
33250
+ * wrapper's own battery window is 1 hour. Six hours is therefore several
33251
+ * missed opportunities, not one — so a single quiet night does not raise a
33252
+ * fault, and a genuinely flat camera is named well inside a day.
33253
+ */
33254
+ var BATTERY_UNREACHABLE_AFTER_MS = 360 * 6e4;
33255
+ /**
33256
+ * THE derivation. One crop rectangle, one presence verdict — see D52 for why
33257
+ * this repo insists a derived value has exactly one implementation.
33258
+ *
33259
+ * `undefined` status ⇒ `sleeping`. A device with no slice has made no claim,
33260
+ * and the caller decides separately whether it is even battery-operated
33261
+ * (`DeviceFeature.BatteryOperated`); this function never answers that
33262
+ * question, only what a battery device is doing.
33263
+ */
33264
+ function deriveBatteryPresence(input) {
33265
+ const status = input.status;
33266
+ if (!status) return "sleeping";
33267
+ if (status.sleeping !== true) return "awake";
33268
+ const lastContactAt = status.lastContactAt;
33269
+ if (typeof lastContactAt !== "number" || lastContactAt <= 0) return "sleeping";
33270
+ const budget = input.unreachableAfterMs ?? 216e5;
33271
+ return input.nowMs - lastContactAt > budget ? "unreachable" : "sleeping";
33272
+ }
33273
+ /**
33274
+ * Is this presence a FAULT the operator should be told about?
33275
+ *
33276
+ * Exists so no surface has to re-decide it — the whole point of the third
33277
+ * state is that `sleeping` stops being rendered as breakage, and a caller that
33278
+ * writes `presence !== 'awake'` has silently undone that.
33279
+ */
33280
+ function isBatteryPresenceFault(presence) {
33281
+ return presence === "unreachable";
33282
+ }
33283
+ //#endregion
32650
33284
  //#region src/device/declared-device.ts
32651
33285
  /** Marker written to a declared integration's `info`. */
32652
33286
  var DECLARED_INTEGRATION_FIXED_KEY = "fixed";
@@ -33113,47 +33747,6 @@ function resolveDeviceProfile(features) {
33113
33747
  return null;
33114
33748
  }
33115
33749
  //#endregion
33116
- //#region src/device/battery-presence.ts
33117
- /**
33118
- * Default silence budget before a sleeping battery camera is called gone.
33119
- *
33120
- * Sized off the mechanism that produces contact, not off taste: a battery cam
33121
- * on this deployment surfaces a firmware push (battery level, sleep/wake, or a
33122
- * motion email) on the order of hours even with no visitors, and the snapshot
33123
- * wrapper's own battery window is 1 hour. Six hours is therefore several
33124
- * missed opportunities, not one — so a single quiet night does not raise a
33125
- * fault, and a genuinely flat camera is named well inside a day.
33126
- */
33127
- var BATTERY_UNREACHABLE_AFTER_MS = 360 * 6e4;
33128
- /**
33129
- * THE derivation. One crop rectangle, one presence verdict — see D52 for why
33130
- * this repo insists a derived value has exactly one implementation.
33131
- *
33132
- * `undefined` status ⇒ `sleeping`. A device with no slice has made no claim,
33133
- * and the caller decides separately whether it is even battery-operated
33134
- * (`DeviceFeature.BatteryOperated`); this function never answers that
33135
- * question, only what a battery device is doing.
33136
- */
33137
- function deriveBatteryPresence(input) {
33138
- const status = input.status;
33139
- if (!status) return "sleeping";
33140
- if (status.sleeping !== true) return "awake";
33141
- const lastContactAt = status.lastContactAt;
33142
- if (typeof lastContactAt !== "number" || lastContactAt <= 0) return "sleeping";
33143
- const budget = input.unreachableAfterMs ?? 216e5;
33144
- return input.nowMs - lastContactAt > budget ? "unreachable" : "sleeping";
33145
- }
33146
- /**
33147
- * Is this presence a FAULT the operator should be told about?
33148
- *
33149
- * Exists so no surface has to re-decide it — the whole point of the third
33150
- * state is that `sleeping` stops being rendered as breakage, and a caller that
33151
- * writes `presence !== 'awake'` has silently undone that.
33152
- */
33153
- function isBatteryPresenceFault(presence) {
33154
- return presence === "unreachable";
33155
- }
33156
- //#endregion
33157
33750
  //#region src/device/path-util.ts
33158
33751
  /** Returns true when `x` is a non-null, non-array plain object. */
33159
33752
  function isRecord(x) {
@@ -40437,6 +41030,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
40437
41030
  addonId: null,
40438
41031
  access: "create"
40439
41032
  },
41033
+ "system.getLoggingSettings": {
41034
+ capName: "system",
41035
+ capScope: "system",
41036
+ addonId: null,
41037
+ access: "view"
41038
+ },
41039
+ "system.getRequestCensus": {
41040
+ capName: "system",
41041
+ capScope: "system",
41042
+ addonId: null,
41043
+ access: "view"
41044
+ },
40440
41045
  "system.getRetentionConfig": {
40441
41046
  capName: "system",
40442
41047
  capScope: "system",
@@ -40467,6 +41072,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
40467
41072
  addonId: null,
40468
41073
  access: "view"
40469
41074
  },
41075
+ "system.setLoggingSettings": {
41076
+ capName: "system",
41077
+ capScope: "system",
41078
+ addonId: null,
41079
+ access: "create"
41080
+ },
40470
41081
  "system.setRetentionConfig": {
40471
41082
  capName: "system",
40472
41083
  capScope: "system",
@@ -41879,6 +42490,10 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
41879
42490
  name: "deviceId",
41880
42491
  form: "single",
41881
42492
  optional: true
42493
+ }, {
42494
+ name: "deviceIds",
42495
+ form: "array",
42496
+ optional: true
41882
42497
  }],
41883
42498
  "fanControl.setDirection": [{
41884
42499
  name: "deviceId",
@@ -44196,7 +44811,10 @@ function createSystemProxy(api) {
44196
44811
  forceRetentionCleanup: (input) => dispatch("system", "forceRetentionCleanup", "mutation", input),
44197
44812
  getSiteLocation: (input) => dispatch("system", "getSiteLocation", "query", input),
44198
44813
  setSiteLocation: (input) => dispatch("system", "setSiteLocation", "mutation", input),
44199
- detectSiteLocation: (input) => dispatch("system", "detectSiteLocation", "mutation", input)
44814
+ detectSiteLocation: (input) => dispatch("system", "detectSiteLocation", "mutation", input),
44815
+ getRequestCensus: (input) => dispatch("system", "getRequestCensus", "query", input),
44816
+ getLoggingSettings: (input) => dispatch("system", "getLoggingSettings", "query", input),
44817
+ setLoggingSettings: (input) => dispatch("system", "setLoggingSettings", "mutation", input)
44200
44818
  },
44201
44819
  terminalSession: {
44202
44820
  listProfiles: (input) => dispatch("terminalSession", "listProfiles", "query", input),
@@ -46059,6 +46677,7 @@ var NATIVE_LEASE_BUDGET_KEY = "nativeLeaseBudgetMb";
46059
46677
  var NATIVE_LEASE_ACTIVITY_KEY = "nativeLeaseActivityMs";
46060
46678
  var NATIVE_LEASE_ADMISSION_KEY = "nativeLeaseAdmission";
46061
46679
  var NATIVE_LEASE_TILE_BUDGET_KEY = "nativeTileBudgetMb";
46680
+ var NATIVE_LEASE_SCENE_BUDGET_KEY = "nativeSceneBudgetMb";
46062
46681
  /**
46063
46682
  * WHICH delivered frames the decode worker retains a native copy of.
46064
46683
  *
@@ -46153,7 +46772,38 @@ var NativeLeaseSettingsSchema = z.object({
46153
46772
  * fallback — i.e. the pre-2026-08-13 miss profile. Set it there only to
46154
46773
  * reproduce that.
46155
46774
  */
46156
- tileBudgetMb: z.number().int().min(0).max(1024)
46775
+ tileBudgetMb: z.number().int().min(0).max(1024),
46776
+ /**
46777
+ * RAM ceiling per decode worker, in MB, for the SCENE TILES — one
46778
+ * JPEG-encoded copy of the WHOLE native frame, cut in the same instant as the
46779
+ * subject tiles, on frames that detected something.
46780
+ *
46781
+ * It exists because a subject tile cannot answer a FULL-FRAME request:
46782
+ * containment is strict by design, so the native `keyFrame`, the detail
46783
+ * plane's `frameJpeg` rung and the display-crop fallback had no rung at all
46784
+ * below the hold. Measured on the live cluster: 23.3% of key-frame captures
46785
+ * missed, 95.7% of them with `worker-lease-gone` — the raster released one
46786
+ * frame-time after delivery, with the request only p50 367 ms behind it.
46787
+ *
46788
+ * Sizing, and why this is a budget and not a duration: a scene tile is
46789
+ * ~1.5-2.5 MB at 4K (against ~23.75 MB for the raster it was cut from and
46790
+ * ~60-120 KB for a subject tile), and it is cut ~0.4 times a second per busy
46791
+ * camera — only detection-bearing frames get one. 48 MB is therefore ~20-30
46792
+ * frames, i.e. the store's 30 s TTL binds at the steady state and the budget
46793
+ * binds only through a detection burst, where it still covers well past the
46794
+ * measured p90 ask age of 4.3 s. Holding the RASTERS for the same window
46795
+ * would be ~498 MB per camera and ~6 GB at peak concurrency — the OOM this
46796
+ * whole shape exists to avoid.
46797
+ *
46798
+ * A SEPARATE ceiling from `tileBudgetMb` on purpose: a scene tile is ~20× a
46799
+ * subject tile, so one shared budget would let a busy camera's key frames
46800
+ * evict the face/plate tiles the recognisers depend on. Two budgets make that
46801
+ * impossible rather than unlikely. `0` DISABLES scene tiles and restores the
46802
+ * pre-existing behaviour, where a late full-frame request had nothing but the
46803
+ * ≤640 RAM raster — which the `keyFrame` gate rejects, so in practice it had
46804
+ * nothing.
46805
+ */
46806
+ sceneBudgetMb: z.number().int().min(0).max(1024)
46157
46807
  });
46158
46808
  /**
46159
46809
  * The values in force when the operator has set nothing.
@@ -46169,6 +46819,7 @@ var DEFAULT_NATIVE_LEASE_SETTINGS = {
46169
46819
  budgetMb: 1024,
46170
46820
  activityMs: 15e3,
46171
46821
  tileBudgetMb: 64,
46822
+ sceneBudgetMb: 48,
46172
46823
  admission: "inferred"
46173
46824
  };
46174
46825
  /** Slider bounds for the operator-facing knobs (orchestrator settings UI). */
@@ -46196,6 +46847,12 @@ var NATIVE_LEASE_TILE_BUDGET_FIELD = {
46196
46847
  step: 16,
46197
46848
  default: DEFAULT_NATIVE_LEASE_SETTINGS.tileBudgetMb
46198
46849
  };
46850
+ var NATIVE_LEASE_SCENE_BUDGET_FIELD = {
46851
+ min: 0,
46852
+ max: 1024,
46853
+ step: 16,
46854
+ default: DEFAULT_NATIVE_LEASE_SETTINGS.sceneBudgetMb
46855
+ };
46199
46856
  /** Select options for the admission knob (orchestrator settings UI). */
46200
46857
  var NATIVE_LEASE_ADMISSION_FIELD = {
46201
46858
  options: [{
@@ -46254,12 +46911,14 @@ function readNativeLeaseOverride(config) {
46254
46911
  const activityMs = readKnob("activityMs", config[NATIVE_LEASE_ACTIVITY_KEY]);
46255
46912
  const admission = readAdmissionKnob(config[NATIVE_LEASE_ADMISSION_KEY]);
46256
46913
  const tileBudgetMb = readKnob("tileBudgetMb", config[NATIVE_LEASE_TILE_BUDGET_KEY]);
46914
+ const sceneBudgetMb = readKnob("sceneBudgetMb", config[NATIVE_LEASE_SCENE_BUDGET_KEY]);
46257
46915
  return {
46258
46916
  ...holdFrames === null ? {} : { holdFrames },
46259
46917
  ...budgetMb === null ? {} : { budgetMb },
46260
46918
  ...activityMs === null ? {} : { activityMs },
46261
46919
  ...admission === null ? {} : { admission },
46262
- ...tileBudgetMb === null ? {} : { tileBudgetMb }
46920
+ ...tileBudgetMb === null ? {} : { tileBudgetMb },
46921
+ ...sceneBudgetMb === null ? {} : { sceneBudgetMb }
46263
46922
  };
46264
46923
  }
46265
46924
  function isHydratedField(entry) {
@@ -46270,7 +46929,8 @@ var LEASE_KEYS = [
46270
46929
  NATIVE_LEASE_BUDGET_KEY,
46271
46930
  NATIVE_LEASE_ACTIVITY_KEY,
46272
46931
  NATIVE_LEASE_ADMISSION_KEY,
46273
- NATIVE_LEASE_TILE_BUDGET_KEY
46932
+ NATIVE_LEASE_TILE_BUDGET_KEY,
46933
+ NATIVE_LEASE_SCENE_BUDGET_KEY
46274
46934
  ];
46275
46935
  /**
46276
46936
  * Extract the operator's lease overrides from an
@@ -48147,4 +48807,4 @@ function enumerateInferenceDevices(hw) {
48147
48807
  return out;
48148
48808
  }
48149
48809
  //#endregion
48150
- export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, 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, AnalyticsGroupDetailSchema, AnalyticsGroupMemberSchema, AnalyticsGroupRecordSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, 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, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, 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, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, 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, 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_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, 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_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FULL_IMAGE_BBOX, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, 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, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, ListGroupsPageSchema, ListGroupsQueryInput, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, 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, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, 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_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, 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, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, 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, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, 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_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveClusterStepModelId, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveMethodAuth, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
48810
+ export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, 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, AnalyticsGroupDetailSchema, AnalyticsGroupMemberSchema, AnalyticsGroupRecordSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, 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, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, 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, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, 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, 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_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, 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_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FIRST_LEVEL_MACRO_CLASSES, FULL_IMAGE_BBOX, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, 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, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, ListGroupsPageSchema, ListGroupsQueryInput, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, 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_SENSOR_TRIGGER_DEVICES, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MODEL_PROVIDER_IDS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, 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_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, 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, 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, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, 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, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, 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_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateSensorEdge, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isFirstLevelMacroClass, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isSourceCap, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveClusterStepModelId, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveMethodAuth, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };