@camstack/types 1.2.17 → 1.2.19
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/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/addons.cap.d.ts +2 -2
- package/dist/capabilities/device-manager.cap.d.ts +22 -0
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/motion.cap.d.ts +13 -1
- package/dist/capabilities/notification-rules.cap.d.ts +142 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +70 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +6 -6
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/recording.cap.d.ts +1 -1
- package/dist/enums/event-category.d.ts +13 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-Cdyife4p.js → event-category-39bpf1r_.js} +13 -0
- package/dist/{event-category-BLcNejAE.mjs → event-category-Bz24uP1U.mjs} +13 -0
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +148 -5
- package/dist/index.mjs +145 -6
- package/dist/interfaces/addon.d.ts +10 -2
- package/dist/interfaces/readiness.d.ts +5 -1
- package/dist/interfaces/relocate.d.ts +2 -2
- package/dist/lifecycle/job.d.ts +2 -2
- package/dist/readiness/readiness-registry.d.ts +32 -2
- package/dist/{sleep-Ct4Is70g.mjs → sleep-BYyv9gUM.mjs} +31 -4
- package/dist/{sleep-yfPaamGa.js → sleep-mkNQLVPE.js} +31 -4
- package/dist/types/detection.d.ts +49 -1
- package/dist/types/engine-output.d.ts +19 -19
- package/dist/types/pipeline-step.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as ProfileSlotSchema, A as parseJsonUnknown, B as BrokerStatsSchema, C as asBoolean, Ct as DisposerChain, D as asString, E as asNumber, F as ReadinessRegistry, G as CamStreamResolutionSchema, H as CAM_PROFILE_ORDER, I as ReadinessTimeoutError, J as DecodedFrameSchema, K as CameraStreamSchema, L as emitDownForOwnedCaps, M as nodePin, N as readNodePin, O as parseJsonArray, P as DATAPLANE_SECRET_HEADER, Q as ProfileRtspEntrySchema, R as readinessKey, S as DeviceType, St as resolveHydratedFieldValue, T as asJsonObject, U as CamProfileSchema, V as BrokerStatusSchema, W as CamStreamKindSchema, X as FrameHandleFormatSchema, Y as EncodedPacketSchema, Z as FrameHandleSchema, _ as resolveCapMount, _t as WELL_KNOWN_TABS, a as viewerUiCapability, at as SubscribeFramesInputSchema, b as DeviceFeature, bt as collectHydratedFieldValues, c as createLazyTrpcSource, ct as makeSourceBrokerId, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as BaseAddon, et as ProfileSlotStatusSchema, f as DEVICE_STATUS_METHOD, ft as normalizeAddonInitResult, g as method, gt as isEvent, h as isDeviceConfigCap, ht as emitReadiness, i as deviceOpsCapability, it as SubscribeAudioChunksResultSchema, j as CAP_NODE_PIN_CONTEXT_KEY, k as parseJsonObject, l as createMirrorSource, lt as parseProfileBrokerId, m as expandCapMethods, mt as createEvent, n as sleepCancellable, nt as StreamSourceSchema, o as adminUiCapability, ot as SubscribeFramesResultSchema, p as event, pt as createDurableState, q as DecodedAudioChunkSchema, r as RawStateResultSchema, rt as SubscribeAudioChunksInputSchema, s as createDeviceProxy, st as makeProfileBrokerId, t as sleep, tt as StreamSourceEntrySchema, u as createSliceHandle, ut as selectAssignedProfileSlots, v as systemMethod, vt as WELL_KNOWN_TAB_MAP, w as asJsonArray, x as DeviceRole, xt as hydrateSchema, y as ChargingStatus, yt as collectHydratedFieldEntries, z as scopeKey } from "./sleep-
|
|
2
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { $ as ProfileSlotSchema, A as parseJsonUnknown, B as BrokerStatsSchema, C as asBoolean, Ct as DisposerChain, D as asString, E as asNumber, F as ReadinessRegistry, G as CamStreamResolutionSchema, H as CAM_PROFILE_ORDER, I as ReadinessTimeoutError, J as DecodedFrameSchema, K as CameraStreamSchema, L as emitDownForOwnedCaps, M as nodePin, N as readNodePin, O as parseJsonArray, P as DATAPLANE_SECRET_HEADER, Q as ProfileRtspEntrySchema, R as readinessKey, S as DeviceType, St as resolveHydratedFieldValue, T as asJsonObject, U as CamProfileSchema, V as BrokerStatusSchema, W as CamStreamKindSchema, X as FrameHandleFormatSchema, Y as EncodedPacketSchema, Z as FrameHandleSchema, _ as resolveCapMount, _t as WELL_KNOWN_TABS, a as viewerUiCapability, at as SubscribeFramesInputSchema, b as DeviceFeature, bt as collectHydratedFieldValues, c as createLazyTrpcSource, ct as makeSourceBrokerId, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as BaseAddon, et as ProfileSlotStatusSchema, f as DEVICE_STATUS_METHOD, ft as normalizeAddonInitResult, g as method, gt as isEvent, h as isDeviceConfigCap, ht as emitReadiness, i as deviceOpsCapability, it as SubscribeAudioChunksResultSchema, j as CAP_NODE_PIN_CONTEXT_KEY, k as parseJsonObject, l as createMirrorSource, lt as parseProfileBrokerId, m as expandCapMethods, mt as createEvent, n as sleepCancellable, nt as StreamSourceSchema, o as adminUiCapability, ot as SubscribeFramesResultSchema, p as event, pt as createDurableState, q as DecodedAudioChunkSchema, r as RawStateResultSchema, rt as SubscribeAudioChunksInputSchema, s as createDeviceProxy, st as makeProfileBrokerId, t as sleep, tt as StreamSourceEntrySchema, u as createSliceHandle, ut as selectAssignedProfileSlots, v as systemMethod, vt as WELL_KNOWN_TAB_MAP, w as asJsonArray, x as DeviceRole, xt as hydrateSchema, y as ChargingStatus, yt as collectHydratedFieldEntries, z as scopeKey } from "./sleep-BYyv9gUM.mjs";
|
|
2
|
+
import { t as EventCategory } from "./event-category-Bz24uP1U.mjs";
|
|
3
3
|
import { EventSourceType } from "./enums.mjs";
|
|
4
4
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -4757,6 +4757,29 @@ var NcOccupancyConditionSchema = z.object({
|
|
|
4757
4757
|
count: z.number().int().min(0).default(1),
|
|
4758
4758
|
sustainSeconds: z.number().int().min(0).max(3600).default(15)
|
|
4759
4759
|
});
|
|
4760
|
+
/**
|
|
4761
|
+
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
4762
|
+
*
|
|
4763
|
+
* The values are not symmetric, and deliberately so — the absent value has to
|
|
4764
|
+
* mean exactly what every rule authored before this condition existed already
|
|
4765
|
+
* does:
|
|
4766
|
+
* - `enter` — entries and every NON-crossing record (movement state,
|
|
4767
|
+
* package, sensor). Exits are rejected. **This is the absent behaviour**:
|
|
4768
|
+
* an operator who never asked for exits must not start receiving them.
|
|
4769
|
+
* - `exit` — ONLY an exit crossing. A record that is not a crossing at all
|
|
4770
|
+
* fails closed, because "the car left the drive" is a question about a
|
|
4771
|
+
* boundary, not about a detection.
|
|
4772
|
+
* - `any` — no direction filter; entries, exits and non-crossings alike.
|
|
4773
|
+
*
|
|
4774
|
+
* A rule asking for a direction should normally also scope `zones`, which the
|
|
4775
|
+
* engine evaluates against the crossed zone as well as the current membership
|
|
4776
|
+
* (an exit's membership no longer contains the zone it just left).
|
|
4777
|
+
*/
|
|
4778
|
+
var NcCrossingSchema = z.enum([
|
|
4779
|
+
"enter",
|
|
4780
|
+
"exit",
|
|
4781
|
+
"any"
|
|
4782
|
+
]);
|
|
4760
4783
|
/** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
|
|
4761
4784
|
var NcZoneConditionSchema = z.object({
|
|
4762
4785
|
ids: z.array(z.string().min(1)).min(1),
|
|
@@ -4781,6 +4804,13 @@ var NcConditionsSchema = z.object({
|
|
|
4781
4804
|
/** Veto zones — any hit fails the rule. */
|
|
4782
4805
|
zonesExclude: z.array(z.string().min(1)).optional(),
|
|
4783
4806
|
/**
|
|
4807
|
+
* Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
|
|
4808
|
+
* and a closed track carries none, so a `track-end` rule asking for one
|
|
4809
|
+
* fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
|
|
4810
|
+
* which is exactly today's behaviour. See {@link NcCrossingSchema}.
|
|
4811
|
+
*/
|
|
4812
|
+
crossing: NcCrossingSchema.optional(),
|
|
4813
|
+
/**
|
|
4784
4814
|
* Exact (case-insensitive) match on the record's collapsed `label`
|
|
4785
4815
|
* (identity name / plate text / subclass).
|
|
4786
4816
|
*/
|
|
@@ -4969,11 +4999,31 @@ var NcMediaPolicySchema = z.object({
|
|
|
4969
4999
|
*/
|
|
4970
5000
|
profile: CamProfileSchema.optional()
|
|
4971
5001
|
});
|
|
5002
|
+
/**
|
|
5003
|
+
* Cooldown GRANULARITY over the subject's class — how much a fired
|
|
5004
|
+
* notification suppresses.
|
|
5005
|
+
* - `shared` (default, and the absent value) — one window for the whole
|
|
5006
|
+
* rule/scope: a cat silences the next dog for `cooldownSec`.
|
|
5007
|
+
* - `per-class` — an independent window per detected class, so cat→dog fires
|
|
5008
|
+
* at once and cat→cat still waits.
|
|
5009
|
+
*
|
|
5010
|
+
* AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
|
|
5011
|
+
* must not be swallowed by a bark's window (the precedent this generalizes —
|
|
5012
|
+
* see `cooldownKey` in the rule engine).
|
|
5013
|
+
*/
|
|
5014
|
+
var NcThrottleGranularitySchema = z.enum(["shared", "per-class"]);
|
|
4972
5015
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
4973
5016
|
var NcThrottleSchema = z.object({
|
|
4974
5017
|
cooldownSec: z.number().int().min(0).max(86400).default(60),
|
|
4975
5018
|
/** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
|
|
4976
|
-
scope: z.enum(["rule", "rule-device"]).default("rule-device")
|
|
5019
|
+
scope: z.enum(["rule", "rule-device"]).default("rule-device"),
|
|
5020
|
+
/**
|
|
5021
|
+
* Class granularity of the cooldown key. Optional rather than defaulted:
|
|
5022
|
+
* a Zod default does NOT run on the addon→addon cap path, so a persisted
|
|
5023
|
+
* rule authored before this field simply carries none — and the engine
|
|
5024
|
+
* reads absent as `shared`, the pre-existing behaviour.
|
|
5025
|
+
*/
|
|
5026
|
+
granularity: NcThrottleGranularitySchema.optional()
|
|
4977
5027
|
});
|
|
4978
5028
|
/** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
|
|
4979
5029
|
var NcRuleInputSchema = z.object({
|
|
@@ -5081,6 +5131,7 @@ var NcConditionDescriptorSchema = z.object({
|
|
|
5081
5131
|
"schedule",
|
|
5082
5132
|
"plateMatcher",
|
|
5083
5133
|
"packagePhase",
|
|
5134
|
+
"crossingSelect",
|
|
5084
5135
|
"polygonDraw",
|
|
5085
5136
|
"occupancy"
|
|
5086
5137
|
]),
|
|
@@ -5185,6 +5236,16 @@ var NC_CONDITION_CATALOG = [
|
|
|
5185
5236
|
],
|
|
5186
5237
|
phase: "P1"
|
|
5187
5238
|
},
|
|
5239
|
+
{
|
|
5240
|
+
id: "crossing",
|
|
5241
|
+
group: "zones",
|
|
5242
|
+
label: "Zone crossing",
|
|
5243
|
+
valueType: "crossingSelect",
|
|
5244
|
+
operator: "in",
|
|
5245
|
+
appliesTo: ["immediate"],
|
|
5246
|
+
phase: "P1",
|
|
5247
|
+
description: "Direction of the zone crossing: enter (the default, and what every rule authored before this did) / exit / any. An exit rule matches only crossings."
|
|
5248
|
+
},
|
|
5188
5249
|
{
|
|
5189
5250
|
id: "labelEquals",
|
|
5190
5251
|
group: "label",
|
|
@@ -10401,6 +10462,18 @@ var motionCapability = {
|
|
|
10401
10462
|
name: "motion",
|
|
10402
10463
|
scope: "device",
|
|
10403
10464
|
mode: "singleton",
|
|
10465
|
+
/**
|
|
10466
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
10467
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
10468
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
10469
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
10470
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
10471
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
10472
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
10473
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
10474
|
+
* `snapshot` and every other per-device native cap.
|
|
10475
|
+
*/
|
|
10476
|
+
deviceNative: true,
|
|
10404
10477
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
10405
10478
|
methods: {
|
|
10406
10479
|
/**
|
|
@@ -14585,7 +14658,8 @@ function createSystemProxy(api) {
|
|
|
14585
14658
|
discoverAllProviders: (input) => dispatch("deviceManager", "discoverAllProviders", "mutation", input),
|
|
14586
14659
|
discoverProvider: (input) => dispatch("deviceManager", "discoverProvider", "mutation", input),
|
|
14587
14660
|
providerCreationType: (input) => dispatch("deviceManager", "providerCreationType", "query", input),
|
|
14588
|
-
providerDiscoveryParamsSchema: (input) => dispatch("deviceManager", "providerDiscoveryParamsSchema", "query", input)
|
|
14661
|
+
providerDiscoveryParamsSchema: (input) => dispatch("deviceManager", "providerDiscoveryParamsSchema", "query", input),
|
|
14662
|
+
getDeviceStatusAggregateBatch: (input) => dispatch("deviceManager", "getDeviceStatusAggregateBatch", "query", input)
|
|
14589
14663
|
},
|
|
14590
14664
|
deviceProvider: {
|
|
14591
14665
|
start: (input) => dispatch("deviceProvider", "start", "mutation", input),
|
|
@@ -18602,7 +18676,29 @@ var deviceManagerCapability = {
|
|
|
18602
18676
|
getDeviceStatusAggregate: method(z.object({
|
|
18603
18677
|
deviceId: z.number(),
|
|
18604
18678
|
caps: z.array(z.string()).readonly().optional()
|
|
18605
|
-
}), z.record(z.string(), z.unknown().nullable()))
|
|
18679
|
+
}), z.record(z.string(), z.unknown().nullable())),
|
|
18680
|
+
/**
|
|
18681
|
+
* The same aggregate, for a LIST of devices in one round-trip.
|
|
18682
|
+
*
|
|
18683
|
+
* The viewer's camera list is the caller this exists for. Each card asked
|
|
18684
|
+
* for its own badges — battery here, recording mode there — so a ten-camera
|
|
18685
|
+
* install issued N separate procedures per reconcile, each its own message
|
|
18686
|
+
* on the one WebSocket that also carries the WebRTC signalling (the client
|
|
18687
|
+
* has no `httpBatchLink`, so there is no transport-level batching to lean
|
|
18688
|
+
* on: collapsing has to happen at the procedure level, which is here).
|
|
18689
|
+
*
|
|
18690
|
+
* Keyed by device id as a STRING — a JSON object cannot key by number, and
|
|
18691
|
+
* pretending otherwise is how a record survives the wire only in tests.
|
|
18692
|
+
* The per-device value is exactly what `getDeviceStatusAggregate` returns,
|
|
18693
|
+
* so a caller can move between the two without reshaping anything.
|
|
18694
|
+
*
|
|
18695
|
+
* `caps` matters more here than in the single call: a client that needs two
|
|
18696
|
+
* caps should not pay for every status-carrying cap × every device.
|
|
18697
|
+
*/
|
|
18698
|
+
getDeviceStatusAggregateBatch: method(z.object({
|
|
18699
|
+
deviceIds: z.array(z.number()).readonly(),
|
|
18700
|
+
caps: z.array(z.string()).readonly().optional()
|
|
18701
|
+
}), z.record(z.string(), z.record(z.string(), z.unknown().nullable())))
|
|
18606
18702
|
}
|
|
18607
18703
|
};
|
|
18608
18704
|
//#endregion
|
|
@@ -20376,6 +20472,37 @@ var MotionEventSchema = z.object({
|
|
|
20376
20472
|
* Absent on legacy rows ⇒ treat as `pipeline`.
|
|
20377
20473
|
*/
|
|
20378
20474
|
var DetectionSourceSchema = z.enum(["pipeline", "onboard"]);
|
|
20475
|
+
/**
|
|
20476
|
+
* Which WAY a subject crossed a zone boundary. An entry and an exit are two
|
|
20477
|
+
* different notifications ("the parcel arrived" / "the car left the drive"),
|
|
20478
|
+
* and until this existed they were indistinguishable on the persisted record —
|
|
20479
|
+
* which is why exits were computed and dropped at the emit boundary rather
|
|
20480
|
+
* than doubling every zone-scoped rule.
|
|
20481
|
+
*/
|
|
20482
|
+
var ZoneCrossingDirectionSchema = z.enum(["enter", "exit"]);
|
|
20483
|
+
/**
|
|
20484
|
+
* The confirmed zone crossing that produced an object event. Present ONLY on
|
|
20485
|
+
* an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
|
|
20486
|
+
* event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
|
|
20487
|
+
* appearance event carry none, so a rule asking for a direction fails closed
|
|
20488
|
+
* on them.
|
|
20489
|
+
*
|
|
20490
|
+
* Exactly ONE crossing per event: the emitter turns each confirmed crossing
|
|
20491
|
+
* into its own event, so a frame in which a track enters A while leaving B
|
|
20492
|
+
* produces two events with two directions — never one ambiguous row.
|
|
20493
|
+
*
|
|
20494
|
+
* `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
|
|
20495
|
+
* membership the box has NOW, and by definition it no longer contains the zone
|
|
20496
|
+
* that was just left. Without the id here, a zone-scoped rule could never match
|
|
20497
|
+
* the exit it asked for.
|
|
20498
|
+
*/
|
|
20499
|
+
var ZoneCrossingSchema = z.object({
|
|
20500
|
+
direction: ZoneCrossingDirectionSchema,
|
|
20501
|
+
/** Admin zone id crossed. */
|
|
20502
|
+
zoneId: z.string(),
|
|
20503
|
+
/** Zone display name at crossing time (falls back to the id). */
|
|
20504
|
+
zoneName: z.string().optional()
|
|
20505
|
+
});
|
|
20379
20506
|
var ObjectEventSchema = z.object({
|
|
20380
20507
|
...BaseEventFields,
|
|
20381
20508
|
kind: z.literal("object"),
|
|
@@ -20402,6 +20529,12 @@ var ObjectEventSchema = z.object({
|
|
|
20402
20529
|
zones: z.array(z.string()).readonly().optional(),
|
|
20403
20530
|
/** Omitted in slim projection. */
|
|
20404
20531
|
state: TrackStateSchema.optional(),
|
|
20532
|
+
/**
|
|
20533
|
+
* The zone crossing this event IS, when it is one. Absent on every other
|
|
20534
|
+
* event kind (movement state, appearance, package) — see
|
|
20535
|
+
* {@link ZoneCrossingSchema}. Omitted in slim projection.
|
|
20536
|
+
*/
|
|
20537
|
+
zoneCrossing: ZoneCrossingSchema.optional(),
|
|
20405
20538
|
/** Detection-frame dimensions in pixels — let consumers normalize the
|
|
20406
20539
|
* pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
|
|
20407
20540
|
frameWidth: z.number().optional(),
|
|
@@ -28798,6 +28931,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
28798
28931
|
addonId: null,
|
|
28799
28932
|
access: "view"
|
|
28800
28933
|
},
|
|
28934
|
+
"deviceManager.getDeviceStatusAggregateBatch": {
|
|
28935
|
+
capName: "device-manager",
|
|
28936
|
+
capScope: "system",
|
|
28937
|
+
addonId: null,
|
|
28938
|
+
access: "view"
|
|
28939
|
+
},
|
|
28801
28940
|
"deviceManager.getLinkedDevices": {
|
|
28802
28941
|
capName: "device-manager",
|
|
28803
28942
|
capScope: "system",
|
|
@@ -33413,4 +33552,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
33413
33552
|
return out;
|
|
33414
33553
|
}
|
|
33415
33554
|
//#endregion
|
|
33416
|
-
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcDeliverySchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
33555
|
+
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -851,7 +851,11 @@ export interface AddonDeclaration {
|
|
|
851
851
|
readonly id: string;
|
|
852
852
|
/** JS entry point relative to package root (e.g., "./dist/addon.js") */
|
|
853
853
|
readonly entry?: string;
|
|
854
|
-
/**
|
|
854
|
+
/**
|
|
855
|
+
* Human-readable name — the label every addon list renders. Say what the
|
|
856
|
+
* addon IS ("Admin UI", "Recorder"); no "CamStack " prefix, it carries no
|
|
857
|
+
* information inside a CamStack install and eats list width.
|
|
858
|
+
*/
|
|
855
859
|
readonly name?: string;
|
|
856
860
|
/** Semver version */
|
|
857
861
|
readonly version?: string;
|
|
@@ -1010,7 +1014,11 @@ export interface AddonPythonRequirements {
|
|
|
1010
1014
|
readonly requirements: string;
|
|
1011
1015
|
}
|
|
1012
1016
|
export interface AddonPackageManifest {
|
|
1013
|
-
/**
|
|
1017
|
+
/**
|
|
1018
|
+
* Human-readable package name for UI display (e.g., "Pipeline", "Core").
|
|
1019
|
+
* No "CamStack " prefix — inside a CamStack install it carries no
|
|
1020
|
+
* information and only eats the width of every list that renders it.
|
|
1021
|
+
*/
|
|
1014
1022
|
readonly displayName?: string;
|
|
1015
1023
|
/**
|
|
1016
1024
|
* Optional 1-2 sentence description shown on the package card.
|
|
@@ -68,8 +68,12 @@ export interface IReadinessRegistry<TCapName extends string = string> {
|
|
|
68
68
|
* authoritative for are skipped. For each applied entry a one-shot
|
|
69
69
|
* transition is dispatched to matching subscriptions so pending
|
|
70
70
|
* `awaitReady` callers unblock without waiting for a fresh delta.
|
|
71
|
+
*
|
|
72
|
+
* Returns the number of records applied (added or advanced) — `0`
|
|
73
|
+
* means the snapshot matched local state and callers doing periodic
|
|
74
|
+
* reconciles should stay silent about it.
|
|
71
75
|
*/
|
|
72
|
-
hydrate(records: readonly IReadinessRegistryRecord[]):
|
|
76
|
+
hydrate(records: readonly IReadinessRegistryRecord[]): number;
|
|
73
77
|
/**
|
|
74
78
|
* Serializable snapshot for cross-process transport. Returned as an
|
|
75
79
|
* array (MsgPack-friendly) rather than the internal Map.
|
|
@@ -10,18 +10,18 @@ import { z } from 'zod';
|
|
|
10
10
|
* row on the owning addon's surface.
|
|
11
11
|
*/
|
|
12
12
|
export declare const RelocateJobStateSchema: z.ZodEnum<{
|
|
13
|
-
running: "running";
|
|
14
13
|
done: "done";
|
|
15
14
|
failed: "failed";
|
|
15
|
+
running: "running";
|
|
16
16
|
cancelled: "cancelled";
|
|
17
17
|
}>;
|
|
18
18
|
export type RelocateJobState = z.infer<typeof RelocateJobStateSchema>;
|
|
19
19
|
export declare const RelocateJobSchema: z.ZodObject<{
|
|
20
20
|
jobId: z.ZodString;
|
|
21
21
|
state: z.ZodEnum<{
|
|
22
|
-
running: "running";
|
|
23
22
|
done: "done";
|
|
24
23
|
failed: "failed";
|
|
24
|
+
running: "running";
|
|
25
25
|
cancelled: "cancelled";
|
|
26
26
|
}>;
|
|
27
27
|
fromLocationId: z.ZodString;
|
package/dist/lifecycle/job.d.ts
CHANGED
|
@@ -91,8 +91,8 @@ export declare const lifecycleTaskSchema: z.ZodObject<{
|
|
|
91
91
|
}, z.core.$strip>;
|
|
92
92
|
export type LifecycleTask = z.infer<typeof lifecycleTaskSchema>;
|
|
93
93
|
export declare const lifecycleJobStateSchema: z.ZodEnum<{
|
|
94
|
-
running: "running";
|
|
95
94
|
failed: "failed";
|
|
95
|
+
running: "running";
|
|
96
96
|
completed: "completed";
|
|
97
97
|
"partially-failed": "partially-failed";
|
|
98
98
|
cancelled: "cancelled";
|
|
@@ -166,8 +166,8 @@ export declare const lifecycleJobSchema: z.ZodObject<{
|
|
|
166
166
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
167
167
|
}, z.core.$strip>>;
|
|
168
168
|
state: z.ZodEnum<{
|
|
169
|
-
running: "running";
|
|
170
169
|
failed: "failed";
|
|
170
|
+
running: "running";
|
|
171
171
|
completed: "completed";
|
|
172
172
|
"partially-failed": "partially-failed";
|
|
173
173
|
cancelled: "cancelled";
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import type { IEventBus, ReadinessScope, ReadinessState } from '../interfaces/event-bus.js';
|
|
25
25
|
import type { IScopedLogger } from '../interfaces/logging.js';
|
|
26
|
-
import type {
|
|
26
|
+
import type { IAwaitReadyOptions, IReadinessHandler, IReadinessRegistry, IReadinessTransition } from '../interfaces/readiness.js';
|
|
27
27
|
/**
|
|
28
28
|
* Concrete types live here; `interfaces/readiness.ts` declares the
|
|
29
29
|
* matching narrow interfaces (`IReadinessTransition`,
|
|
@@ -74,6 +74,21 @@ export interface ReadinessRegistryOptions {
|
|
|
74
74
|
* Clock source. Injectable for tests.
|
|
75
75
|
*/
|
|
76
76
|
readonly now?: () => number;
|
|
77
|
+
/**
|
|
78
|
+
* Opt-in per-record debug logging for DEVICE-scoped transitions.
|
|
79
|
+
*
|
|
80
|
+
* Default `false` — and that default is load-bearing. Device-scoped
|
|
81
|
+
* readiness is O(caps × devices) (observed live: 776 pairs for one
|
|
82
|
+
* producer generation), and EVERY process runs a registry whose logs
|
|
83
|
+
* forward to the hub `LogManager`. With per-record logging on, one hub
|
|
84
|
+
* container boot produced 21 577 identical-shape debug lines in a
|
|
85
|
+
* single minute (776 pairs × ~28 processes, 2026-08-01 15:04Z) — noise
|
|
86
|
+
* that buried the lines that mattered while the operator was asking
|
|
87
|
+
* why the viewer stalled. Node/global-scoped transitions stay logged
|
|
88
|
+
* per-record unconditionally: they are low-cardinality and every
|
|
89
|
+
* readiness investigation so far has needed them.
|
|
90
|
+
*/
|
|
91
|
+
readonly verboseDeviceScopeLogs?: boolean;
|
|
77
92
|
}
|
|
78
93
|
export declare class ReadinessRegistry implements IReadinessRegistry {
|
|
79
94
|
private readonly bus;
|
|
@@ -81,6 +96,7 @@ export declare class ReadinessRegistry implements IReadinessRegistry {
|
|
|
81
96
|
private readonly logger;
|
|
82
97
|
private readonly now;
|
|
83
98
|
private readonly generation;
|
|
99
|
+
private readonly verboseDeviceScopeLogs;
|
|
84
100
|
private readonly snapshot;
|
|
85
101
|
private readonly subscriptions;
|
|
86
102
|
private readonly unsubscribeBus;
|
|
@@ -124,8 +140,22 @@ export declare class ReadinessRegistry implements IReadinessRegistry {
|
|
|
124
140
|
* Every applied entry dispatches a one-shot transition to matching
|
|
125
141
|
* subscriptions so pending `awaitReady` callers unblock without having
|
|
126
142
|
* to wait for a fresh event.
|
|
143
|
+
*
|
|
144
|
+
* Returns the number of records APPLIED (added or advanced). Callers
|
|
145
|
+
* doing periodic reconciles use this to stay silent when the snapshot
|
|
146
|
+
* changed nothing — the every-60s "hydrated 1446 record(s)" heartbeat
|
|
147
|
+
* from every child process was pure noise (≈2 800 lines/hour observed
|
|
148
|
+
* live on 2026-08-01).
|
|
149
|
+
*/
|
|
150
|
+
hydrate(records: readonly ReadinessRecord[]): number;
|
|
151
|
+
/**
|
|
152
|
+
* Per-record debug line, volume-gated: device-scoped records are logged
|
|
153
|
+
* only when `verboseDeviceScopeLogs` is set (see the option's doc for
|
|
154
|
+
* the 21 577-lines-per-boot-minute incident that forced the gate);
|
|
155
|
+
* node/global records always log. Device lines carry `tags.deviceId`
|
|
156
|
+
* so they group per-camera (CLAUDE.md logging rule).
|
|
127
157
|
*/
|
|
128
|
-
|
|
158
|
+
private logPerRecord;
|
|
129
159
|
/**
|
|
130
160
|
* True when THIS process is the origin authority for `record` — a
|
|
131
161
|
* snapshot pulled from elsewhere must never overwrite it:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { t as EventCategory } from "./event-category-Bz24uP1U.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/disposer-chain.ts
|
|
4
4
|
var DisposerChain = class {
|
|
@@ -1513,6 +1513,7 @@ var ReadinessRegistry = class {
|
|
|
1513
1513
|
logger;
|
|
1514
1514
|
now;
|
|
1515
1515
|
generation;
|
|
1516
|
+
verboseDeviceScopeLogs;
|
|
1516
1517
|
snapshot = /* @__PURE__ */ new Map();
|
|
1517
1518
|
subscriptions = /* @__PURE__ */ new Set();
|
|
1518
1519
|
unsubscribeBus;
|
|
@@ -1523,6 +1524,7 @@ var ReadinessRegistry = class {
|
|
|
1523
1524
|
this.logger = options.logger;
|
|
1524
1525
|
this.now = options.now ?? (() => Date.now());
|
|
1525
1526
|
this.generation = options.generation ?? randomGeneration();
|
|
1527
|
+
this.verboseDeviceScopeLogs = options.verboseDeviceScopeLogs ?? false;
|
|
1526
1528
|
this.unsubscribeBus = this.bus.subscribe({ category: "system.ready-state" }, (event) => this.ingest(event.data));
|
|
1527
1529
|
this.unsubscribeAgentOffline = this.bus.subscribe({ category: "agent.offline" }, (event) => this.synthesizeDownForNode(event.data.agentId));
|
|
1528
1530
|
if (typeof this.bus.getRecent === "function") try {
|
|
@@ -1576,9 +1578,16 @@ var ReadinessRegistry = class {
|
|
|
1576
1578
|
* Every applied entry dispatches a one-shot transition to matching
|
|
1577
1579
|
* subscriptions so pending `awaitReady` callers unblock without having
|
|
1578
1580
|
* to wait for a fresh event.
|
|
1581
|
+
*
|
|
1582
|
+
* Returns the number of records APPLIED (added or advanced). Callers
|
|
1583
|
+
* doing periodic reconciles use this to stay silent when the snapshot
|
|
1584
|
+
* changed nothing — the every-60s "hydrated 1446 record(s)" heartbeat
|
|
1585
|
+
* from every child process was pure noise (≈2 800 lines/hour observed
|
|
1586
|
+
* live on 2026-08-01).
|
|
1579
1587
|
*/
|
|
1580
1588
|
hydrate(records) {
|
|
1581
1589
|
const now = this.now();
|
|
1590
|
+
let applied = 0;
|
|
1582
1591
|
for (const record of records) {
|
|
1583
1592
|
const key = readinessKey(record.capName, record.scope);
|
|
1584
1593
|
const prev = this.snapshot.get(key) ?? null;
|
|
@@ -1604,7 +1613,8 @@ var ReadinessRegistry = class {
|
|
|
1604
1613
|
sourceNodeId: record.sourceNodeId
|
|
1605
1614
|
};
|
|
1606
1615
|
this.snapshot.set(key, hydrated);
|
|
1607
|
-
|
|
1616
|
+
applied++;
|
|
1617
|
+
this.logPerRecord(record.scope, `readiness: ${record.capName} (${scopeKey(record.scope)}) → ${record.state} (hydrated${prev !== null ? " update" : ""}, gen=${record.generation.slice(0, 6)})`);
|
|
1608
1618
|
const transition = {
|
|
1609
1619
|
capName: record.capName,
|
|
1610
1620
|
scope: record.scope,
|
|
@@ -1625,6 +1635,23 @@ var ReadinessRegistry = class {
|
|
|
1625
1635
|
}
|
|
1626
1636
|
}
|
|
1627
1637
|
}
|
|
1638
|
+
return applied;
|
|
1639
|
+
}
|
|
1640
|
+
/**
|
|
1641
|
+
* Per-record debug line, volume-gated: device-scoped records are logged
|
|
1642
|
+
* only when `verboseDeviceScopeLogs` is set (see the option's doc for
|
|
1643
|
+
* the 21 577-lines-per-boot-minute incident that forced the gate);
|
|
1644
|
+
* node/global records always log. Device lines carry `tags.deviceId`
|
|
1645
|
+
* so they group per-camera (CLAUDE.md logging rule).
|
|
1646
|
+
*/
|
|
1647
|
+
logPerRecord(scope, message) {
|
|
1648
|
+
if (!this.logger) return;
|
|
1649
|
+
if (scope.type === "device") {
|
|
1650
|
+
if (!this.verboseDeviceScopeLogs) return;
|
|
1651
|
+
this.logger.debug(message, { tags: { deviceId: scope.deviceId } });
|
|
1652
|
+
return;
|
|
1653
|
+
}
|
|
1654
|
+
this.logger.debug(message);
|
|
1628
1655
|
}
|
|
1629
1656
|
/**
|
|
1630
1657
|
* True when THIS process is the origin authority for `record` — a
|
|
@@ -1799,7 +1826,7 @@ var ReadinessRegistry = class {
|
|
|
1799
1826
|
ts: payload.ts,
|
|
1800
1827
|
durationInPrevState
|
|
1801
1828
|
};
|
|
1802
|
-
|
|
1829
|
+
this.logPerRecord(payload.scope, `readiness: ${payload.capName} (${scopeKey(payload.scope)}) → ${payload.state} epoch=${epoch} gen=${payload.generation.slice(0, 6)} (prev ${durationInPrevState}ms)`);
|
|
1803
1830
|
for (const sub of this.subscriptions) {
|
|
1804
1831
|
if (sub.capName !== payload.capName) continue;
|
|
1805
1832
|
if (!scopesEqual(sub.scope, payload.scope)) continue;
|
|
@@ -1844,7 +1871,7 @@ var ReadinessRegistry = class {
|
|
|
1844
1871
|
ts: now,
|
|
1845
1872
|
durationInPrevState
|
|
1846
1873
|
};
|
|
1847
|
-
|
|
1874
|
+
this.logPerRecord(record.scope, `readiness: ${record.capName} (${scopeKey(record.scope)}) → down (synthesized from agent.offline ${offlineNodeId})`);
|
|
1848
1875
|
for (const sub of this.subscriptions) {
|
|
1849
1876
|
if (sub.capName !== record.capName) continue;
|
|
1850
1877
|
if (!scopesEqual(sub.scope, record.scope)) continue;
|