@camstack/types 1.2.318 → 1.2.320
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 +13 -4
- package/dist/addon.mjs +13 -4
- package/dist/capabilities/pipeline-executor.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +133 -79
- package/dist/client.js +5 -2
- package/dist/client.mjs +5 -2
- package/dist/generated/addon-api.d.ts +27 -6
- package/dist/generated/device-proxy.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +734 -346
- package/dist/index.mjs +697 -335
- package/dist/pipeline/{best-settings → auto-tune}/hardware-class.d.ts +1 -1
- package/dist/pipeline/auto-tune/index.d.ts +9 -0
- package/dist/pipeline/{best-settings → auto-tune}/plan-schemas.d.ts +74 -166
- package/dist/pipeline/{best-settings → auto-tune}/recommend.d.ts +23 -13
- package/dist/pipeline/load-balancing/capacity-shares.d.ts +37 -0
- package/dist/pipeline/load-balancing/effective-shares.d.ts +33 -0
- package/dist/pipeline/load-balancing/index.d.ts +5 -2
- package/dist/pipeline/load-balancing/schemas.d.ts +157 -2
- package/dist/pipeline/model-bound-settings.d.ts +1 -1
- package/dist/pipeline/step-settings-layers.d.ts +69 -0
- package/dist/{sleep-DyF95STh.js → sleep-AalHiRYL.js} +1 -0
- package/dist/{sleep-C16NCZR2.mjs → sleep-DAJ9Er57.mjs} +1 -0
- package/dist/types/agent-pipeline-settings.d.ts +11 -0
- package/package.json +1 -1
- package/dist/pipeline/best-settings/demand.d.ts +0 -75
- package/dist/pipeline/best-settings/index.d.ts +0 -10
- /package/dist/pipeline/{best-settings → auto-tune}/detector-performance.d.ts +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as CamProfileSchema, A as DEVICE_STATUS_METHOD, At as normalizeAddonInitResult, B as nodePin, Bt as hydrateSchema, C as customAction, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Dt as SHARE_VIEW_KINDS, E as deviceCustomAction, Et as DATAPLANE_SECRET_HEADER, F as method, Ft as isEvent, G as emitDownForOwnedCaps, Gt as isAudioChunkFormat, H as toNodeId, Ht as AUDIO_CHUNK_FORMATS, I as optionalMethod, It as WELL_KNOWN_TABS, J as AudioChunkFormatSchema, K as readinessKey, L as resolveCapMount, Lt as WELL_KNOWN_TAB_MAP, M as event, Mt as createDurableState, N as expandCapMethods, Nt as createEvent, O as DEFAULT_RUNTIME_STATE_DURABILITY, Ot as DisposerChain, P as isDeviceConfigCap, Pt as emitReadiness, Q as CAM_PROFILE_ORDER, R as systemMethod, Rt as collectHydratedFieldEntries, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, Tt as PeerBytesTicketSchema, U as ReadinessRegistry, Ut as audioChunkBytesPerSample, V as readNodePin, Vt as resolveHydratedFieldValue, W as ReadinessTimeoutError, Wt as expandAudioChunkToF32le, X as BrokerStatsSchema, Y as AudioStreamPickSchema, Z as BrokerStatusSchema, _ as createMirrorSource, _t as makeProfileBrokerId, a as asJsonObject, at as EncodedPacketSchema, b as deviceOpsCapability, bt as selectAssignedProfileSlots, c as parseJsonArray, ct as ProfileRtspEntrySchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as StreamSourceEntrySchema, et as CamStreamKindSchema, f as DEVICE_SCOPED_CAPS, ft as StreamSourceSchema, g as createLazyTrpcSource, gt as SubscribeFramesResultSchema, h as createEventBusSliceSource, ht as SubscribeFramesInputSchema, i as asJsonArray, it as DecodedFrameSchema, j as PROVIDER_PIN_FIELD, jt as normalizeNodeId, k as DEVICE_SETTINGS_CONTRIBUTION_METHODS, kt as BaseAddon, l as parseJsonObject, lt as ProfileSlotSchema, m as createDeviceProxy, mt as SubscribeAudioChunksResultSchema, n as sleepCancellable, nt as CameraStreamSchema, o as asNumber, ot as FrameHandleFormatSchema, p as isDeviceScopedCap, pt as SubscribeAudioChunksInputSchema, q as scopeKey, r as asBoolean, rt as DecodedAudioChunkSchema, s as asString, st as FrameHandleSchema, t as sleep, tt as CamStreamResolutionSchema, u as parseJsonUnknown, ut as ProfileSlotStatusSchema, v as createSliceHandle, vt as makeSourceBrokerId, w as defineCustomActions, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES, y as RawStateResultSchema, yt as parseProfileBrokerId, z as CAP_NODE_PIN_CONTEXT_KEY, zt as collectHydratedFieldValues } from "./sleep-
|
|
1
|
+
import { $ as CamProfileSchema, A as DEVICE_STATUS_METHOD, At as normalizeAddonInitResult, B as nodePin, Bt as hydrateSchema, C as customAction, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Dt as SHARE_VIEW_KINDS, E as deviceCustomAction, Et as DATAPLANE_SECRET_HEADER, F as method, Ft as isEvent, G as emitDownForOwnedCaps, Gt as isAudioChunkFormat, H as toNodeId, Ht as AUDIO_CHUNK_FORMATS, I as optionalMethod, It as WELL_KNOWN_TABS, J as AudioChunkFormatSchema, K as readinessKey, L as resolveCapMount, Lt as WELL_KNOWN_TAB_MAP, M as event, Mt as createDurableState, N as expandCapMethods, Nt as createEvent, O as DEFAULT_RUNTIME_STATE_DURABILITY, Ot as DisposerChain, P as isDeviceConfigCap, Pt as emitReadiness, Q as CAM_PROFILE_ORDER, R as systemMethod, Rt as collectHydratedFieldEntries, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, Tt as PeerBytesTicketSchema, U as ReadinessRegistry, Ut as audioChunkBytesPerSample, V as readNodePin, Vt as resolveHydratedFieldValue, W as ReadinessTimeoutError, Wt as expandAudioChunkToF32le, X as BrokerStatsSchema, Y as AudioStreamPickSchema, Z as BrokerStatusSchema, _ as createMirrorSource, _t as makeProfileBrokerId, a as asJsonObject, at as EncodedPacketSchema, b as deviceOpsCapability, bt as selectAssignedProfileSlots, c as parseJsonArray, ct as ProfileRtspEntrySchema, d as BOOT_RECOVERY_BACKOFF_MS, dt as StreamSourceEntrySchema, et as CamStreamKindSchema, f as DEVICE_SCOPED_CAPS, ft as StreamSourceSchema, g as createLazyTrpcSource, gt as SubscribeFramesResultSchema, h as createEventBusSliceSource, ht as SubscribeFramesInputSchema, i as asJsonArray, it as DecodedFrameSchema, j as PROVIDER_PIN_FIELD, jt as normalizeNodeId, k as DEVICE_SETTINGS_CONTRIBUTION_METHODS, kt as BaseAddon, l as parseJsonObject, lt as ProfileSlotSchema, m as createDeviceProxy, mt as SubscribeAudioChunksResultSchema, n as sleepCancellable, nt as CameraStreamSchema, o as asNumber, ot as FrameHandleFormatSchema, p as isDeviceScopedCap, pt as SubscribeAudioChunksInputSchema, q as scopeKey, r as asBoolean, rt as DecodedAudioChunkSchema, s as asString, st as FrameHandleSchema, t as sleep, tt as CamStreamResolutionSchema, u as parseJsonUnknown, ut as ProfileSlotStatusSchema, v as createSliceHandle, vt as makeSourceBrokerId, w as defineCustomActions, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES, y as RawStateResultSchema, yt as parseProfileBrokerId, z as CAP_NODE_PIN_CONTEXT_KEY, zt as collectHydratedFieldValues } from "./sleep-DAJ9Er57.mjs";
|
|
2
2
|
import { i as publicEventCategories, n as OWNER_ONLY_EVENT_CATEGORIES, r as isOwnerOnlyEventCategory, t as EventCategory } from "./event-category-BGmz_oxW.mjs";
|
|
3
3
|
import { $ as MAX_EXPRESSION_AST_NODES, A as compositionFeatureEnabled, At as Fmp4BoxSplitter, B as createStatefulExpressionMemory, Bt as pickVideoEncoder, C as CompositionTargetSchema, Ct as FFMPEG_PATH_ENV, D as MAX_COMPOSITION_ITEMS, E as MAX_COMPOSITION_FIELDS_PER_FEATURE, F as featureFieldEntries, Ft as buildInputArgs, G as createExpressionScope, H as evaluateStatefulExpressionCall, I as featureSources, It as buildVideoArgs, J as compileExpressionSafe, K as evaluateAst, L as fieldReads, Lt as invocationFromEncodeProfile, M as compositionReadKey, Mt as audioPlanFromEncodeProfile, N as compositionSliceKey, Nt as buildAudioArgs, O as composedDeviceRef, P as compositionSourceKey, Pt as buildFfmpegArgs, Q as EXPRESSION_IDENTIFIER_RE, R as EXPRESSION_INJECTED_NOW, Rt as isSoftwareDecode, S as CompositionSourceRefSchema, St as sliceChangedAt, T as MAX_COMPOSITION_FEATURES, U as toExpressionValue, V as evaluateExpressionSource, Vt as resolveStreamMaps, W as validateExpressionSource, X as tokenize, Y as parseExpression, Z as EXPRESSION_COMPILE_CACHE_CAPACITY, _ as CompositionItemEntrySchema, _t as SOURCE_DEVICE_TYPES, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, at as EXPRESSION_BUILTINS, b as CompositionPassthroughFeatureSchema, bt as isSourceCap, c as CompositionCommandTargetSchema, ct as evaluateCount, d as CompositionFeatureSchema, dt as ExpressionEvalError, et as MAX_EXPRESSION_BINDINGS, f as CompositionFieldReadSchema, ft as ExpressionParseError, g as CompositionFromSourceSchema, gt as SOURCE_CAP_CHANGED_AT_FIELD, h as CompositionForwardCommandSchema, ht as SOURCE_CAP_ACTIVE_FIELD, i as COMPOSITION_ITEM_KEY_RE, it as RESERVED_BINDING_NAMES, j as compositionItemFieldPath, jt as AUDIO_PRESETS, k as composedDeviceStableId, kt as canonicalHash, l as CompositionExistingTargetSchema, lt as evaluateRose, m as CompositionFieldsFeatureSchema, mt as SOURCE_CAPS, n as COMPOSER_ADDON_ID, nt as MAX_EXPRESSION_EVAL_STEPS, o as CompositionBindingSchema, ot as EXPRESSION_BUILTIN_NAMES, p as CompositionFieldSourceSchema, pt as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, q as compileExpression, r as COMPOSITION_ITEM_ARRAY_PATH, rt as MAX_EXPRESSION_SOURCE_LENGTH, s as CompositionCodeSourceSchema, st as disarmRoseMemory, t as COMPOSED_DEVICE_STABLE_ID_PREFIX, tt as MAX_EXPRESSION_CALL_ARGS, u as CompositionExpressionSourceSchema, ut as isStatefulBuiltin, v as CompositionLiteralBindingSchema, vt as evaluateSensorEdge, w as MAX_COMPOSITION_CODE_LENGTH, x as CompositionSchema, xt as sliceActiveValue, y as CompositionNewTargetSchema, yt as evaluateSensorLevelEdge, z as cloneStatefulExpressionMemory, zt as logBannerArgs } from "./composition-Bzr7GwgP.mjs";
|
|
4
4
|
import { a as DeviceType, i as DeviceRole, n as ChargingStatus, r as DeviceFeature, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
|
|
@@ -26869,7 +26869,7 @@ var pipelineExecutorCapability = {
|
|
|
26869
26869
|
auth: "admin"
|
|
26870
26870
|
}),
|
|
26871
26871
|
/**
|
|
26872
|
-
*
|
|
26872
|
+
* Auto tune (D745): the MODEL-BOUND thresholds (`bindsToModel` keys of
|
|
26873
26873
|
* the object-detection root, and their binding keys) stored in THIS node's
|
|
26874
26874
|
* per-camera detector settings — and, unless `dryRun`, remove them so the
|
|
26875
26875
|
* running model's own defaults apply. Every other key of a camera's store
|
|
@@ -27241,115 +27241,21 @@ var pipelineExecutorCapability = {
|
|
|
27241
27241
|
}
|
|
27242
27242
|
};
|
|
27243
27243
|
//#endregion
|
|
27244
|
-
//#region src/pipeline/
|
|
27245
|
-
/**
|
|
27246
|
-
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
27247
|
-
* policy, the atomic share write, the observed placement statistics, the
|
|
27248
|
-
* hardware share suggestion and the stale device pins.
|
|
27249
|
-
*/
|
|
27244
|
+
//#region src/pipeline/auto-tune/plan-schemas.ts
|
|
27250
27245
|
/**
|
|
27251
|
-
*
|
|
27252
|
-
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
27253
|
-
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
27254
|
-
* weight only bites once a node already holds a session.
|
|
27255
|
-
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
27256
|
-
* full or drowning node yields to a free one (D748).
|
|
27257
|
-
*/
|
|
27258
|
-
var SessionPlacementPolicySchema = z.enum(["least-loaded", "share"]);
|
|
27259
|
-
var DEFAULT_SESSION_PLACEMENT_POLICY = "least-loaded";
|
|
27260
|
-
/** The global-settings key the policy is stored under (orchestrator `load` section). */
|
|
27261
|
-
var SESSION_PLACEMENT_SETTING_KEY = "sessionPlacement";
|
|
27262
|
-
/** Parse a stored value; anything unknown is the default (nothing changes on deploy). */
|
|
27263
|
-
function parseSessionPlacementPolicy(value) {
|
|
27264
|
-
const parsed = SessionPlacementPolicySchema.safeParse(value);
|
|
27265
|
-
return parsed.success ? parsed.data : DEFAULT_SESSION_PLACEMENT_POLICY;
|
|
27266
|
-
}
|
|
27267
|
-
var LoadBalancingSharesInputSchema = z.object({
|
|
27268
|
-
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
27269
|
-
nodes: z.record(z.string(), z.number().positive()).default({}),
|
|
27270
|
-
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
27271
|
-
devices: z.record(z.string(), z.record(z.string(), z.number().positive())).default({})
|
|
27272
|
-
});
|
|
27273
|
-
var PlacementStatsInputSchema = z.object({
|
|
27274
|
-
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
27275
|
-
windowMs: z.number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
27276
|
-
var PlacementDeviceStatsSchema = z.object({
|
|
27277
|
-
deviceKey: z.string(),
|
|
27278
|
-
/** Sessions running on this device now. */
|
|
27279
|
-
sessionsNow: z.number(),
|
|
27280
|
-
/** Sessions started on this device inside the window. */
|
|
27281
|
-
sessionsStarted: z.number(),
|
|
27282
|
-
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
27283
|
-
observedShare: z.number().nullable()
|
|
27284
|
-
});
|
|
27285
|
-
var PlacementNodeStatsSchema = z.object({
|
|
27286
|
-
nodeId: z.string(),
|
|
27287
|
-
sessionsNow: z.number(),
|
|
27288
|
-
sessionsStarted: z.number(),
|
|
27289
|
-
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
27290
|
-
observedShare: z.number().nullable(),
|
|
27291
|
-
/** Most sessions this node ran at once inside the window. */
|
|
27292
|
-
peakSessions: z.number(),
|
|
27293
|
-
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
27294
|
-
yieldsAway: z.number(),
|
|
27295
|
-
devices: z.array(PlacementDeviceStatsSchema).readonly()
|
|
27296
|
-
});
|
|
27297
|
-
/** A camera's device pin that the session path cannot honour. */
|
|
27298
|
-
var StaleDevicePinSchema = z.object({
|
|
27299
|
-
deviceId: z.number(),
|
|
27300
|
-
deviceKey: z.string(),
|
|
27301
|
-
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
27302
|
-
reason: z.enum(["disabled", "absent"])
|
|
27303
|
-
});
|
|
27304
|
-
var PlacementStatsSchema = z.object({
|
|
27305
|
-
policy: SessionPlacementPolicySchema,
|
|
27306
|
-
windowMs: z.number(),
|
|
27307
|
-
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
27308
|
-
observedForMs: z.number(),
|
|
27309
|
-
sessionsNow: z.number(),
|
|
27310
|
-
/** Most parallel sessions across the cluster inside the window. */
|
|
27311
|
-
clusterPeakSessions: z.number(),
|
|
27312
|
-
nodes: z.array(PlacementNodeStatsSchema).readonly(),
|
|
27313
|
-
stalePins: z.array(StaleDevicePinSchema).readonly()
|
|
27314
|
-
});
|
|
27315
|
-
var SuggestSharesInputSchema = z.object({ headroom: z.number().min(.3).max(.5).default(.4) });
|
|
27316
|
-
var SuggestedDeviceShareSchema = z.object({
|
|
27317
|
-
deviceKey: z.string(),
|
|
27318
|
-
/** Share of the node (0–100, rounded). */
|
|
27319
|
-
share: z.number(),
|
|
27320
|
-
modelId: z.string().nullable(),
|
|
27321
|
-
/** Inferences per second at that model, from the measured table. */
|
|
27322
|
-
fps: z.number().nullable(),
|
|
27323
|
-
measured: z.boolean(),
|
|
27324
|
-
/** Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋. Never enforced. */
|
|
27325
|
-
suggestedMaxSessions: z.number().nullable()
|
|
27326
|
-
});
|
|
27327
|
-
var SuggestedNodeShareSchema = z.object({
|
|
27328
|
-
nodeId: z.string(),
|
|
27329
|
-
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
27330
|
-
share: z.number().nullable(),
|
|
27331
|
-
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
27332
|
-
capacitySessions: z.number(),
|
|
27333
|
-
devices: z.array(SuggestedDeviceShareSchema).readonly(),
|
|
27334
|
-
skippedReason: z.string().nullable()
|
|
27335
|
-
});
|
|
27336
|
-
var SuggestSharesResultSchema = z.object({
|
|
27337
|
-
headroom: z.number(),
|
|
27338
|
-
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
27339
|
-
cameraFps: z.number(),
|
|
27340
|
-
/** How many share → model → capacity rounds ran before the shares stopped moving (≤ 3). */
|
|
27341
|
-
iterations: z.number(),
|
|
27342
|
-
nodes: z.array(SuggestedNodeShareSchema).readonly()
|
|
27343
|
-
});
|
|
27344
|
-
//#endregion
|
|
27345
|
-
//#region src/pipeline/best-settings/plan-schemas.ts
|
|
27346
|
-
/**
|
|
27347
|
-
* The wire shapes of the Best settings plan and apply (D745), used by the
|
|
27246
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
27348
27247
|
* `pipeline-orchestrator` cap. The recommender's own types
|
|
27349
|
-
* (`recommend.ts
|
|
27248
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
27350
27249
|
* schemas are what crosses the cap boundary.
|
|
27351
27250
|
*/
|
|
27352
27251
|
var ModelFormatSchema$1 = z.enum(MODEL_FORMATS);
|
|
27252
|
+
/** Default least number of parallel sessions per device Auto tune keeps (D755). */
|
|
27253
|
+
var DEFAULT_MIN_SESSIONS_PER_DEVICE = 2;
|
|
27254
|
+
/** The operator's range for it. */
|
|
27255
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
27256
|
+
min: 1,
|
|
27257
|
+
max: 8
|
|
27258
|
+
};
|
|
27353
27259
|
var HardwareClassIdSchema = z.enum([
|
|
27354
27260
|
"intel-core-ultra",
|
|
27355
27261
|
"intel-n-series",
|
|
@@ -27367,8 +27273,9 @@ var AcceleratorKindSchema = z.enum([
|
|
|
27367
27273
|
]);
|
|
27368
27274
|
var RecommendationReasonSchema = z.discriminatedUnion("kind", [
|
|
27369
27275
|
z.object({
|
|
27370
|
-
kind: z.literal("
|
|
27371
|
-
|
|
27276
|
+
kind: z.literal("capacity"),
|
|
27277
|
+
sessions: z.number(),
|
|
27278
|
+
minSessions: z.number()
|
|
27372
27279
|
}),
|
|
27373
27280
|
z.object({
|
|
27374
27281
|
kind: z.literal("tie-faster"),
|
|
@@ -27383,16 +27290,13 @@ var RecommendationReasonSchema = z.discriminatedUnion("kind", [
|
|
|
27383
27290
|
}),
|
|
27384
27291
|
z.object({
|
|
27385
27292
|
kind: z.literal("no-fit-lightest"),
|
|
27386
|
-
|
|
27293
|
+
sessions: z.number(),
|
|
27294
|
+
minSessions: z.number()
|
|
27387
27295
|
}),
|
|
27388
27296
|
z.object({
|
|
27389
27297
|
kind: z.literal("derived-latency"),
|
|
27390
27298
|
modelId: z.string()
|
|
27391
27299
|
}),
|
|
27392
|
-
z.object({
|
|
27393
|
-
kind: z.literal("estimated-load"),
|
|
27394
|
-
observedForMs: z.number().nullable()
|
|
27395
|
-
}),
|
|
27396
27300
|
z.object({ kind: z.literal("cpu-device") }),
|
|
27397
27301
|
z.object({ kind: z.literal("coral-untouched") }),
|
|
27398
27302
|
z.object({ kind: z.literal("device-disabled") }),
|
|
@@ -27408,28 +27312,13 @@ var RecommendationReasonSchema = z.discriminatedUnion("kind", [
|
|
|
27408
27312
|
format: ModelFormatSchema$1
|
|
27409
27313
|
})
|
|
27410
27314
|
]);
|
|
27411
|
-
var DeviceDemandSchema = z.object({
|
|
27412
|
-
nodeId: z.string(),
|
|
27413
|
-
deviceKey: z.string(),
|
|
27414
|
-
demandFps: z.number(),
|
|
27415
|
-
maxCameraFps: z.number(),
|
|
27416
|
-
alwaysOnCameras: z.number(),
|
|
27417
|
-
onMotionSessions: z.number(),
|
|
27418
|
-
onMotionSource: z.enum([
|
|
27419
|
-
"observed-24h",
|
|
27420
|
-
"estimate",
|
|
27421
|
-
"none"
|
|
27422
|
-
]),
|
|
27423
|
-
observedForMs: z.number().nullable(),
|
|
27424
|
-
/** How on-motion sessions were charged: per-device observation, or split by share (D748). */
|
|
27425
|
-
placement: SessionPlacementPolicySchema
|
|
27426
|
-
});
|
|
27427
27315
|
var DeviceModelChoiceSchema = z.object({
|
|
27428
27316
|
modelId: z.string(),
|
|
27429
27317
|
p50Ms: z.number(),
|
|
27430
27318
|
fps: z.number(),
|
|
27431
27319
|
measured: z.boolean(),
|
|
27432
|
-
|
|
27320
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
27321
|
+
capacitySessions: z.number(),
|
|
27433
27322
|
personRecall: z.number()
|
|
27434
27323
|
});
|
|
27435
27324
|
var DeviceRecommendationSchema = z.object({
|
|
@@ -27437,7 +27326,6 @@ var DeviceRecommendationSchema = z.object({
|
|
|
27437
27326
|
accelerator: AcceleratorKindSchema.nullable(),
|
|
27438
27327
|
enabled: z.boolean(),
|
|
27439
27328
|
available: z.boolean(),
|
|
27440
|
-
demand: DeviceDemandSchema.nullable(),
|
|
27441
27329
|
chosen: DeviceModelChoiceSchema.nullable(),
|
|
27442
27330
|
reasons: z.array(RecommendationReasonSchema).readonly()
|
|
27443
27331
|
});
|
|
@@ -27479,7 +27367,7 @@ var DetectorStoreClearSchema = z.object({
|
|
|
27479
27367
|
deviceId: z.number(),
|
|
27480
27368
|
keys: z.array(z.string()).readonly()
|
|
27481
27369
|
});
|
|
27482
|
-
var
|
|
27370
|
+
var AutoTuneWarningSchema = z.discriminatedUnion("kind", [
|
|
27483
27371
|
z.object({
|
|
27484
27372
|
kind: z.literal("detector-store-cluster-wide"),
|
|
27485
27373
|
skippedNodes: z.array(z.string()).readonly()
|
|
@@ -27494,36 +27382,37 @@ var BestSettingsWarningSchema = z.discriminatedUnion("kind", [
|
|
|
27494
27382
|
deviceKey: z.string()
|
|
27495
27383
|
})
|
|
27496
27384
|
]);
|
|
27497
|
-
var
|
|
27385
|
+
var AutoTuneOptionsSchema = z.object({
|
|
27498
27386
|
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
27499
27387
|
headroom: z.number().min(.3).max(.5).default(.4),
|
|
27500
27388
|
/**
|
|
27501
|
-
*
|
|
27502
|
-
*
|
|
27503
|
-
*
|
|
27504
|
-
* is stored.
|
|
27389
|
+
* The least number of parallel sessions every device must sustain at the
|
|
27390
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
27391
|
+
* that reaches it wins.
|
|
27505
27392
|
*/
|
|
27506
|
-
|
|
27393
|
+
minSessionsPerDevice: z.number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
27507
27394
|
});
|
|
27508
|
-
var
|
|
27395
|
+
var AutoTunePlanSchema = z.object({
|
|
27509
27396
|
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
27510
27397
|
planHash: z.string(),
|
|
27511
27398
|
family: z.literal("yolov9"),
|
|
27512
27399
|
headroom: z.number(),
|
|
27513
|
-
|
|
27514
|
-
|
|
27400
|
+
minSessionsPerDevice: z.number(),
|
|
27401
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
27402
|
+
cameraFps: z.number(),
|
|
27515
27403
|
generatedAt: z.number(),
|
|
27516
27404
|
nodes: z.array(NodeRecommendationSchema).readonly(),
|
|
27517
27405
|
nodeChanges: z.array(NodeDeviceChangeSchema).readonly(),
|
|
27518
27406
|
cameraClears: z.array(CameraOverrideClearSchema).readonly(),
|
|
27519
27407
|
detectorStoreClears: z.array(DetectorStoreClearSchema).readonly(),
|
|
27520
|
-
warnings: z.array(
|
|
27408
|
+
warnings: z.array(AutoTuneWarningSchema).readonly()
|
|
27521
27409
|
});
|
|
27522
|
-
var
|
|
27410
|
+
var AutoTuneApplyInputSchema = z.object({
|
|
27523
27411
|
planHash: z.string(),
|
|
27524
|
-
headroom: z.number().min(.3).max(.5).default(.4)
|
|
27412
|
+
headroom: z.number().min(.3).max(.5).default(.4),
|
|
27413
|
+
minSessionsPerDevice: z.number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
27525
27414
|
});
|
|
27526
|
-
var
|
|
27415
|
+
var AutoTunePhaseResultSchema = z.object({
|
|
27527
27416
|
phase: z.enum([
|
|
27528
27417
|
"download",
|
|
27529
27418
|
"camera-overrides",
|
|
@@ -27534,19 +27423,19 @@ var BestSettingsPhaseResultSchema = z.object({
|
|
|
27534
27423
|
ok: z.boolean(),
|
|
27535
27424
|
detail: z.string()
|
|
27536
27425
|
});
|
|
27537
|
-
var
|
|
27426
|
+
var AutoTuneApplyResultSchema = z.discriminatedUnion("kind", [
|
|
27538
27427
|
z.object({
|
|
27539
27428
|
kind: z.literal("applied"),
|
|
27540
27429
|
planHash: z.string(),
|
|
27541
|
-
phases: z.array(
|
|
27430
|
+
phases: z.array(AutoTunePhaseResultSchema).readonly()
|
|
27542
27431
|
}),
|
|
27543
27432
|
z.object({
|
|
27544
27433
|
kind: z.literal("aborted"),
|
|
27545
|
-
phases: z.array(
|
|
27434
|
+
phases: z.array(AutoTunePhaseResultSchema).readonly()
|
|
27546
27435
|
}),
|
|
27547
27436
|
z.object({
|
|
27548
27437
|
kind: z.literal("stale"),
|
|
27549
|
-
plan:
|
|
27438
|
+
plan: AutoTunePlanSchema
|
|
27550
27439
|
}),
|
|
27551
27440
|
z.object({
|
|
27552
27441
|
kind: z.literal("refused"),
|
|
@@ -27554,6 +27443,209 @@ var BestSettingsApplyResultSchema = z.discriminatedUnion("kind", [
|
|
|
27554
27443
|
})
|
|
27555
27444
|
]);
|
|
27556
27445
|
//#endregion
|
|
27446
|
+
//#region src/pipeline/load-balancing/schemas.ts
|
|
27447
|
+
/**
|
|
27448
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
27449
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
27450
|
+
* hardware share suggestion and the stale device pins.
|
|
27451
|
+
*/
|
|
27452
|
+
/**
|
|
27453
|
+
* How a new detection session picks its node and device.
|
|
27454
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
27455
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
27456
|
+
* weight only bites once a node already holds a session.
|
|
27457
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
27458
|
+
* full or drowning node yields to a free one (D748).
|
|
27459
|
+
*/
|
|
27460
|
+
var SessionPlacementPolicySchema = z.enum(["least-loaded", "share"]);
|
|
27461
|
+
/**
|
|
27462
|
+
* `share` since D750: the percentages are held by default. `least-loaded` stays
|
|
27463
|
+
* selectable.
|
|
27464
|
+
*/
|
|
27465
|
+
var DEFAULT_SESSION_PLACEMENT_POLICY = "share";
|
|
27466
|
+
/** The global-settings key the policy is stored under (orchestrator `load` section). */
|
|
27467
|
+
var SESSION_PLACEMENT_SETTING_KEY = "sessionPlacement";
|
|
27468
|
+
/** Parse a stored value; anything unknown is the default. */
|
|
27469
|
+
function parseSessionPlacementPolicy(value) {
|
|
27470
|
+
const parsed = SessionPlacementPolicySchema.safeParse(value);
|
|
27471
|
+
return parsed.success ? parsed.data : DEFAULT_SESSION_PLACEMENT_POLICY;
|
|
27472
|
+
}
|
|
27473
|
+
var LoadBalancingSharesInputSchema = z.object({
|
|
27474
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
27475
|
+
nodes: z.record(z.string(), z.number().positive()).default({}),
|
|
27476
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
27477
|
+
devices: z.record(z.string(), z.record(z.string(), z.number().positive())).default({})
|
|
27478
|
+
});
|
|
27479
|
+
var PlacementStatsInputSchema = z.object({
|
|
27480
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
27481
|
+
windowMs: z.number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
27482
|
+
var PlacementDeviceStatsSchema = z.object({
|
|
27483
|
+
deviceKey: z.string(),
|
|
27484
|
+
/** Sessions running on this device now. */
|
|
27485
|
+
sessionsNow: z.number(),
|
|
27486
|
+
/** Sessions started on this device inside the window. */
|
|
27487
|
+
sessionsStarted: z.number(),
|
|
27488
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
27489
|
+
observedShare: z.number().nullable()
|
|
27490
|
+
});
|
|
27491
|
+
var PlacementNodeStatsSchema = z.object({
|
|
27492
|
+
nodeId: z.string(),
|
|
27493
|
+
sessionsNow: z.number(),
|
|
27494
|
+
sessionsStarted: z.number(),
|
|
27495
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
27496
|
+
observedShare: z.number().nullable(),
|
|
27497
|
+
/** Most sessions this node ran at once inside the window. */
|
|
27498
|
+
peakSessions: z.number(),
|
|
27499
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
27500
|
+
yieldsAway: z.number(),
|
|
27501
|
+
devices: z.array(PlacementDeviceStatsSchema).readonly()
|
|
27502
|
+
});
|
|
27503
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
27504
|
+
var StaleDevicePinSchema = z.object({
|
|
27505
|
+
deviceId: z.number(),
|
|
27506
|
+
deviceKey: z.string(),
|
|
27507
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
27508
|
+
reason: z.enum(["disabled", "absent"])
|
|
27509
|
+
});
|
|
27510
|
+
var PlacementStatsSchema = z.object({
|
|
27511
|
+
policy: SessionPlacementPolicySchema,
|
|
27512
|
+
windowMs: z.number(),
|
|
27513
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
27514
|
+
observedForMs: z.number(),
|
|
27515
|
+
sessionsNow: z.number(),
|
|
27516
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
27517
|
+
clusterPeakSessions: z.number(),
|
|
27518
|
+
nodes: z.array(PlacementNodeStatsSchema).readonly(),
|
|
27519
|
+
stalePins: z.array(StaleDevicePinSchema).readonly()
|
|
27520
|
+
});
|
|
27521
|
+
/**
|
|
27522
|
+
* Where an automatic share's capacity comes from (D755).
|
|
27523
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
27524
|
+
* the measured latency table for the node's hardware class.
|
|
27525
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
27526
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
27527
|
+
*/
|
|
27528
|
+
var CapacitySourceSchema = z.enum(["hardware", "benchmark"]);
|
|
27529
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
27530
|
+
var CapacityFallbackSchema = z.enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
27531
|
+
var SuggestSharesInputSchema = z.object({
|
|
27532
|
+
headroom: z.number().min(.3).max(.5).default(.4),
|
|
27533
|
+
/** Default `hardware`. */
|
|
27534
|
+
source: CapacitySourceSchema.default("hardware")
|
|
27535
|
+
});
|
|
27536
|
+
var SuggestedDeviceShareSchema = z.object({
|
|
27537
|
+
deviceKey: z.string(),
|
|
27538
|
+
/** Share of the node (0–100, rounded). */
|
|
27539
|
+
share: z.number(),
|
|
27540
|
+
modelId: z.string().nullable(),
|
|
27541
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
27542
|
+
fps: z.number().nullable(),
|
|
27543
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
27544
|
+
measured: z.boolean(),
|
|
27545
|
+
/**
|
|
27546
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
27547
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
27548
|
+
*/
|
|
27549
|
+
suggestedMaxSessions: z.number().nullable()
|
|
27550
|
+
});
|
|
27551
|
+
var SuggestedNodeShareSchema = z.object({
|
|
27552
|
+
nodeId: z.string(),
|
|
27553
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
27554
|
+
share: z.number().nullable(),
|
|
27555
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
27556
|
+
capacitySessions: z.number(),
|
|
27557
|
+
devices: z.array(SuggestedDeviceShareSchema).readonly(),
|
|
27558
|
+
skippedReason: z.string().nullable(),
|
|
27559
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
27560
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
27561
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
27562
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
27563
|
+
});
|
|
27564
|
+
var SuggestSharesResultSchema = z.object({
|
|
27565
|
+
headroom: z.number(),
|
|
27566
|
+
/** The source asked for; each node says what it actually used. */
|
|
27567
|
+
source: CapacitySourceSchema,
|
|
27568
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
27569
|
+
cameraFps: z.number(),
|
|
27570
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
27571
|
+
minSessionsPerDevice: z.number(),
|
|
27572
|
+
nodes: z.array(SuggestedNodeShareSchema).readonly()
|
|
27573
|
+
});
|
|
27574
|
+
/**
|
|
27575
|
+
* Where the node and device shares come from (D750, D755).
|
|
27576
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
27577
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
27578
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
27579
|
+
* switched on or off, or changes model. No load input.
|
|
27580
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
27581
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
27582
|
+
* - `manual` — the operator's stored sliders.
|
|
27583
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
27584
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
27585
|
+
*/
|
|
27586
|
+
var ShareSourceSchema = z.enum([
|
|
27587
|
+
"hardware",
|
|
27588
|
+
"benchmark",
|
|
27589
|
+
"manual"
|
|
27590
|
+
]);
|
|
27591
|
+
var DEFAULT_SHARE_SOURCE = "hardware";
|
|
27592
|
+
/** `hardware` or `benchmark`: the system computes the shares. */
|
|
27593
|
+
function isAutomaticShareSource(source) {
|
|
27594
|
+
return source !== "manual";
|
|
27595
|
+
}
|
|
27596
|
+
/** Headroom the automatic shares are computed at (Auto tune's default). */
|
|
27597
|
+
var AUTO_SHARE_HEADROOM = .4;
|
|
27598
|
+
/** The global-settings key the share source is stored under (orchestrator `load` section). */
|
|
27599
|
+
var SHARE_SOURCE_SETTING_KEY = "shareSource";
|
|
27600
|
+
/**
|
|
27601
|
+
* Parse a stored value; anything unknown is the default. `auto` (D750, before
|
|
27602
|
+
* D755 split it) reads as `hardware` — that is what it computed.
|
|
27603
|
+
*/
|
|
27604
|
+
function parseShareSource(value) {
|
|
27605
|
+
const parsed = ShareSourceSchema.safeParse(value);
|
|
27606
|
+
return parsed.success ? parsed.data : DEFAULT_SHARE_SOURCE;
|
|
27607
|
+
}
|
|
27608
|
+
var SetShareSourceInputSchema = z.object({ source: ShareSourceSchema });
|
|
27609
|
+
/** Raw relative weights (any scale) per node and per node's device. */
|
|
27610
|
+
var ShareWeightsSchema = z.object({
|
|
27611
|
+
nodes: z.record(z.string(), z.number()),
|
|
27612
|
+
devices: z.record(z.string(), z.record(z.string(), z.number()))
|
|
27613
|
+
});
|
|
27614
|
+
var EffectiveDeviceShareSchema = z.object({
|
|
27615
|
+
deviceKey: z.string(),
|
|
27616
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
27617
|
+
eligible: z.boolean(),
|
|
27618
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
27619
|
+
configuredPct: z.number(),
|
|
27620
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
27621
|
+
effectivePct: z.number()
|
|
27622
|
+
});
|
|
27623
|
+
var EffectiveNodeShareSchema = z.object({
|
|
27624
|
+
nodeId: z.string(),
|
|
27625
|
+
eligible: z.boolean(),
|
|
27626
|
+
configuredPct: z.number(),
|
|
27627
|
+
effectivePct: z.number(),
|
|
27628
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
27629
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
27630
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
27631
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
27632
|
+
devices: z.array(EffectiveDeviceShareSchema).readonly()
|
|
27633
|
+
});
|
|
27634
|
+
var EffectiveSharesSchema = z.object({
|
|
27635
|
+
source: ShareSourceSchema,
|
|
27636
|
+
policy: SessionPlacementPolicySchema,
|
|
27637
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
27638
|
+
autoPending: z.boolean(),
|
|
27639
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
27640
|
+
computedAt: z.number().nullable(),
|
|
27641
|
+
/** What made the system recompute them last. */
|
|
27642
|
+
trigger: z.string().nullable(),
|
|
27643
|
+
nodes: z.array(EffectiveNodeShareSchema).readonly(),
|
|
27644
|
+
/** The relative weights the election reads (before eligibility). */
|
|
27645
|
+
nodeWeights: z.record(z.string(), z.number()),
|
|
27646
|
+
deviceWeights: z.record(z.string(), z.record(z.string(), z.number()))
|
|
27647
|
+
});
|
|
27648
|
+
//#endregion
|
|
27557
27649
|
//#region src/capabilities/schemas/orchestrator-metrics.ts
|
|
27558
27650
|
/** Shared Zod schemas for the runtime pipeline orchestrator metrics. */
|
|
27559
27651
|
var OrchestratorMetricsSchema = z.object({
|
|
@@ -29166,8 +29258,10 @@ var CameraStepOverridePatchSchema = z.object({
|
|
|
29166
29258
|
modelId: z.string().optional(),
|
|
29167
29259
|
settings: z.record(z.string(), z.unknown()).readonly().optional()
|
|
29168
29260
|
});
|
|
29261
|
+
var CameraStepSettingsSchema = z.record(z.string(), z.record(z.string(), z.unknown()).readonly());
|
|
29169
29262
|
var CameraPipelineSettingsSchema = z.object({
|
|
29170
29263
|
stepToggles: z.record(z.string(), z.boolean()).optional(),
|
|
29264
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
29171
29265
|
stepOverridesByDevice: z.record(z.string(), z.record(z.string(), z.record(z.string(), CameraStepOverridePatchSchema))).optional(),
|
|
29172
29266
|
pipelineByAgent: z.record(z.string(), CameraPipelineForAgentSchema).optional()
|
|
29173
29267
|
});
|
|
@@ -29979,23 +30073,25 @@ var pipelineOrchestratorCapability = {
|
|
|
29979
30073
|
auth: "admin"
|
|
29980
30074
|
}),
|
|
29981
30075
|
/**
|
|
29982
|
-
*
|
|
29983
|
-
* for the whole cluster from each node's static hardware class
|
|
29984
|
-
* measured latency table
|
|
30076
|
+
* Auto tune (D745, D755) — DRY RUN. Recommends ONE detector family
|
|
30077
|
+
* (YOLOv9) for the whole cluster from each node's static hardware class
|
|
30078
|
+
* and the measured latency table: per device, the most accurate model
|
|
30079
|
+
* that sustains at least `minSessionsPerDevice` parallel sessions at the
|
|
30080
|
+
* camera rate with the headroom kept free (no load input), and lists every write
|
|
29985
30081
|
* the apply would make: the node model pins set, the enrichment pins and
|
|
29986
30082
|
* model-bound thresholds removed (node level and per camera), and the
|
|
29987
30083
|
* per-camera detector thresholds cleared. Writes nothing. Step
|
|
29988
30084
|
* enablement, device enablement, pins, recording, notifications, zones and
|
|
29989
30085
|
* rules are never part of it. `planHash` names exactly this diff.
|
|
29990
30086
|
*/
|
|
29991
|
-
|
|
30087
|
+
planAutoTune: method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }),
|
|
29992
30088
|
/**
|
|
29993
|
-
*
|
|
30089
|
+
* Auto tune (D745) — APPLY the plan the operator confirmed. Recomputes
|
|
29994
30090
|
* the plan and refuses (`stale`, with the fresh plan) when its hash is not
|
|
29995
30091
|
* `planHash`, so what is written is exactly the confirmed diff. Offline
|
|
29996
30092
|
* nodes are skipped; there is no undo.
|
|
29997
30093
|
*/
|
|
29998
|
-
|
|
30094
|
+
applyAutoTune: method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
29999
30095
|
kind: "mutation",
|
|
30000
30096
|
auth: "admin"
|
|
30001
30097
|
}),
|
|
@@ -30020,12 +30116,32 @@ var pipelineOrchestratorCapability = {
|
|
|
30020
30116
|
*/
|
|
30021
30117
|
getPlacementStats: method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }),
|
|
30022
30118
|
/**
|
|
30023
|
-
* Load balancing (D748) — shares proportional to each node's
|
|
30024
|
-
* capacity
|
|
30025
|
-
*
|
|
30026
|
-
*
|
|
30119
|
+
* Load balancing (D748, D755) — shares proportional to each node's
|
|
30120
|
+
* capacity in parallel sessions: from the latency table at the models
|
|
30121
|
+
* Auto tune picks (`hardware`), or from node benchmark results
|
|
30122
|
+
* (`benchmark`, each node without results falling back to `hardware` and
|
|
30123
|
+
* saying so). The automatic shares are exactly this answer. Per device,
|
|
30124
|
+
* an ADVISORY session cap. Writes nothing.
|
|
30027
30125
|
*/
|
|
30028
30126
|
suggestShares: method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }),
|
|
30127
|
+
/**
|
|
30128
|
+
* Load balancing (D750) — the shares placement reads now: the source
|
|
30129
|
+
* (automatic capacity shares or the operator's sliders), each node's and
|
|
30130
|
+
* device's configured share, and the effective share after a node or
|
|
30131
|
+
* device that cannot take sessions gave its share to the others.
|
|
30132
|
+
*/
|
|
30133
|
+
getEffectiveShares: method(z.void(), EffectiveSharesSchema, { auth: "admin" }),
|
|
30134
|
+
/**
|
|
30135
|
+
* Load balancing (D750, D755) — switch the share source: `hardware`
|
|
30136
|
+
* (automatic, from static capacity), `benchmark` (automatic, from node
|
|
30137
|
+
* benchmark results) or `manual`. Going manual seeds the sliders with the
|
|
30138
|
+
* current automatic shares (one atomic write), so nothing jumps; going
|
|
30139
|
+
* to an automatic source recomputes at once.
|
|
30140
|
+
*/
|
|
30141
|
+
setShareSource: method(SetShareSourceInputSchema, z.object({ success: z.literal(true) }), {
|
|
30142
|
+
kind: "mutation",
|
|
30143
|
+
auth: "admin"
|
|
30144
|
+
}),
|
|
30029
30145
|
/** Read one camera's settings. Null when never touched (inherits agent defaults fully). */
|
|
30030
30146
|
getCameraSettings: method(z.object({ deviceId: z.number() }), CameraPipelineSettingsSchema.nullable()),
|
|
30031
30147
|
/** Set or clear the 3-state toggle for one (camera, addonId). Pass `enabled: null` to clear and revert to agent default. */
|
|
@@ -30055,6 +30171,22 @@ var pipelineOrchestratorCapability = {
|
|
|
30055
30171
|
kind: "mutation",
|
|
30056
30172
|
auth: "admin"
|
|
30057
30173
|
}),
|
|
30174
|
+
/**
|
|
30175
|
+
* Write or clear one step's CAMERA-WIDE settings (D754) — the fields this
|
|
30176
|
+
* camera overrides on every accelerator it runs on. `settings` is the
|
|
30177
|
+
* whole field-level bag for that step (only the overridden keys; a
|
|
30178
|
+
* model-bound field travels with its binding key); `null` or `{}` clears
|
|
30179
|
+
* it. Merged at dispatch between the node base and the per-(node,device)
|
|
30180
|
+
* override, key by key.
|
|
30181
|
+
*/
|
|
30182
|
+
setCameraStepSettings: method(z.object({
|
|
30183
|
+
deviceId: z.number(),
|
|
30184
|
+
addonId: z.string(),
|
|
30185
|
+
settings: z.record(z.string(), z.unknown()).nullable()
|
|
30186
|
+
}), z.object({ success: z.literal(true) }), {
|
|
30187
|
+
kind: "mutation",
|
|
30188
|
+
auth: "admin"
|
|
30189
|
+
}),
|
|
30058
30190
|
/** Write or clear the wholesale per-agent pipeline override. Pass `pipeline: null` to drop the override. */
|
|
30059
30191
|
setCameraPipelineForAgent: method(z.object({
|
|
30060
30192
|
deviceId: z.number(),
|
|
@@ -56330,7 +56462,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56330
56462
|
addonId: null,
|
|
56331
56463
|
access: "view"
|
|
56332
56464
|
},
|
|
56333
|
-
"pipelineOrchestrator.
|
|
56465
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
56334
56466
|
capName: "pipeline-orchestrator",
|
|
56335
56467
|
capScope: "system",
|
|
56336
56468
|
addonId: null,
|
|
@@ -56450,6 +56582,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56450
56582
|
addonId: null,
|
|
56451
56583
|
access: "view"
|
|
56452
56584
|
},
|
|
56585
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
56586
|
+
capName: "pipeline-orchestrator",
|
|
56587
|
+
capScope: "system",
|
|
56588
|
+
addonId: null,
|
|
56589
|
+
access: "view"
|
|
56590
|
+
},
|
|
56453
56591
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
56454
56592
|
capName: "pipeline-orchestrator",
|
|
56455
56593
|
capScope: "system",
|
|
@@ -56516,7 +56654,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56516
56654
|
addonId: null,
|
|
56517
56655
|
access: "create"
|
|
56518
56656
|
},
|
|
56519
|
-
"pipelineOrchestrator.
|
|
56657
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
56520
56658
|
capName: "pipeline-orchestrator",
|
|
56521
56659
|
capScope: "system",
|
|
56522
56660
|
addonId: null,
|
|
@@ -56618,6 +56756,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56618
56756
|
addonId: null,
|
|
56619
56757
|
access: "create"
|
|
56620
56758
|
},
|
|
56759
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
56760
|
+
capName: "pipeline-orchestrator",
|
|
56761
|
+
capScope: "system",
|
|
56762
|
+
addonId: null,
|
|
56763
|
+
access: "create"
|
|
56764
|
+
},
|
|
56621
56765
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
56622
56766
|
capName: "pipeline-orchestrator",
|
|
56623
56767
|
capScope: "system",
|
|
@@ -56648,6 +56792,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56648
56792
|
addonId: null,
|
|
56649
56793
|
access: "create"
|
|
56650
56794
|
},
|
|
56795
|
+
"pipelineOrchestrator.setShareSource": {
|
|
56796
|
+
capName: "pipeline-orchestrator",
|
|
56797
|
+
capScope: "system",
|
|
56798
|
+
addonId: null,
|
|
56799
|
+
access: "create"
|
|
56800
|
+
},
|
|
56651
56801
|
"pipelineOrchestrator.suggestShares": {
|
|
56652
56802
|
capName: "pipeline-orchestrator",
|
|
56653
56803
|
capScope: "system",
|
|
@@ -65412,6 +65562,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
65412
65562
|
form: "single",
|
|
65413
65563
|
optional: false
|
|
65414
65564
|
}],
|
|
65565
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
65566
|
+
name: "deviceId",
|
|
65567
|
+
form: "single",
|
|
65568
|
+
optional: false
|
|
65569
|
+
}],
|
|
65415
65570
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
65416
65571
|
name: "deviceId",
|
|
65417
65572
|
form: "single",
|
|
@@ -66396,6 +66551,7 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
|
|
|
66396
66551
|
"pipelineOrchestrator.setCameraPipelineForAgent",
|
|
66397
66552
|
"pipelineOrchestrator.setCameraSensors",
|
|
66398
66553
|
"pipelineOrchestrator.setCameraStepOverride",
|
|
66554
|
+
"pipelineOrchestrator.setCameraStepSettings",
|
|
66399
66555
|
"pipelineOrchestrator.setCameraStepToggle",
|
|
66400
66556
|
"pipelineOrchestrator.setCameraSwitch",
|
|
66401
66557
|
"pipelineOrchestrator.setPipelineDevicePin",
|
|
@@ -67414,11 +67570,13 @@ function createSystemProxy(api) {
|
|
|
67414
67570
|
setAgentInferenceDevices: (input) => dispatch("pipelineOrchestrator", "setAgentInferenceDevices", "mutation", input),
|
|
67415
67571
|
getNodeInferenceDevices: (input) => dispatch("pipelineOrchestrator", "getNodeInferenceDevices", "query", input),
|
|
67416
67572
|
resetNodePipelineDefaults: (input) => dispatch("pipelineOrchestrator", "resetNodePipelineDefaults", "mutation", input),
|
|
67417
|
-
|
|
67418
|
-
|
|
67573
|
+
planAutoTune: (input) => dispatch("pipelineOrchestrator", "planAutoTune", "query", input),
|
|
67574
|
+
applyAutoTune: (input) => dispatch("pipelineOrchestrator", "applyAutoTune", "mutation", input),
|
|
67419
67575
|
setLoadBalancingShares: (input) => dispatch("pipelineOrchestrator", "setLoadBalancingShares", "mutation", input),
|
|
67420
67576
|
getPlacementStats: (input) => dispatch("pipelineOrchestrator", "getPlacementStats", "query", input),
|
|
67421
67577
|
suggestShares: (input) => dispatch("pipelineOrchestrator", "suggestShares", "query", input),
|
|
67578
|
+
getEffectiveShares: (input) => dispatch("pipelineOrchestrator", "getEffectiveShares", "query", input),
|
|
67579
|
+
setShareSource: (input) => dispatch("pipelineOrchestrator", "setShareSource", "mutation", input),
|
|
67422
67580
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
67423
67581
|
setCameraSensors: (input) => dispatch("pipelineOrchestrator", "setCameraSensors", "mutation", input),
|
|
67424
67582
|
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
@@ -72382,7 +72540,7 @@ function clearModelBoundOverrides(settings, boundKeys, modelId) {
|
|
|
72382
72540
|
/**
|
|
72383
72541
|
* The keys of every `bindsToModel` field of a step's config schema, groups
|
|
72384
72542
|
* flattened (D738). One definition for the runner (which applies the binding)
|
|
72385
|
-
* and the orchestrator's
|
|
72543
|
+
* and the orchestrator's Auto tune (which clears those overrides, D745).
|
|
72386
72544
|
*/
|
|
72387
72545
|
function collectModelBoundKeys(fields) {
|
|
72388
72546
|
return fields.flatMap((field) => {
|
|
@@ -72391,7 +72549,136 @@ function collectModelBoundKeys(fields) {
|
|
|
72391
72549
|
});
|
|
72392
72550
|
}
|
|
72393
72551
|
//#endregion
|
|
72394
|
-
//#region src/pipeline/
|
|
72552
|
+
//#region src/pipeline/step-settings-layers.ts
|
|
72553
|
+
/**
|
|
72554
|
+
* The layers of a detection step's settings, and the field-level edits on them
|
|
72555
|
+
* (D754).
|
|
72556
|
+
*
|
|
72557
|
+
* A step's settings reach a session through up to three stored layers, merged
|
|
72558
|
+
* key by key — a key in a higher layer wins:
|
|
72559
|
+
*
|
|
72560
|
+
* node the node's folded base (`inferenceDevices[node][*].steps`)
|
|
72561
|
+
* camera `cameraSettings[cam].stepSettings[step]` — every accelerator
|
|
72562
|
+
* accelerator `cameraSettings[cam].stepOverridesByDevice[node][key][step].settings`
|
|
72563
|
+
*
|
|
72564
|
+
* Below them sits the default: the running model's (D738) or the field's own.
|
|
72565
|
+
*
|
|
72566
|
+
* Every layer is SPARSE and FIELD-LEVEL. A key present in a layer is an
|
|
72567
|
+
* override; an absent key inherits. Two consequences that every editor must
|
|
72568
|
+
* respect, and why this module exists:
|
|
72569
|
+
*
|
|
72570
|
+
* - A model-bound field (D738) occupies TWO keys, its value and
|
|
72571
|
+
* `<key>ModelId`. They are written, compared and removed as one unit — a
|
|
72572
|
+
* value without its binding over a lower layer's binding would be judged
|
|
72573
|
+
* against the wrong model.
|
|
72574
|
+
* - An editor writes a DIFF against the merged layers below, never a copy of
|
|
72575
|
+
* them. A copy pins every field at the value it had that day, so later
|
|
72576
|
+
* edits below never reach it (the full-copy "Override" this replaced).
|
|
72577
|
+
*/
|
|
72578
|
+
/** Top-down order of the stored layers. */
|
|
72579
|
+
var LAYER_ORDER = [
|
|
72580
|
+
"accelerator",
|
|
72581
|
+
"camera",
|
|
72582
|
+
"node"
|
|
72583
|
+
];
|
|
72584
|
+
/**
|
|
72585
|
+
* The keys one field occupies in a bag: its own, plus its binding key when it
|
|
72586
|
+
* binds to a model. `boundKeys` = `collectModelBoundKeys(schema)`.
|
|
72587
|
+
*/
|
|
72588
|
+
function fieldUnitKeys(key, boundKeys) {
|
|
72589
|
+
return boundKeys.includes(key) ? [key, modelBindingKey(key)] : [key];
|
|
72590
|
+
}
|
|
72591
|
+
/** The field a stored key belongs to (`minConfidencePersonModelId` → `minConfidencePerson`). */
|
|
72592
|
+
function unitOf(storedKey, boundKeys) {
|
|
72593
|
+
return boundKeys.find((k) => modelBindingKey(k) === storedKey) ?? storedKey;
|
|
72594
|
+
}
|
|
72595
|
+
/** Structural equality for stored values (numbers, strings, booleans, arrays, plain objects). */
|
|
72596
|
+
function settingValuesEqual(a, b) {
|
|
72597
|
+
if (Object.is(a, b)) return true;
|
|
72598
|
+
if (Array.isArray(a) && Array.isArray(b)) return a.length === b.length && a.every((v, i) => settingValuesEqual(v, b[i]));
|
|
72599
|
+
if (isPlainObject(a) && isPlainObject(b)) {
|
|
72600
|
+
const ka = Object.keys(a);
|
|
72601
|
+
const kb = Object.keys(b);
|
|
72602
|
+
return ka.length === kb.length && ka.every((k) => settingValuesEqual(a[k], b[k]));
|
|
72603
|
+
}
|
|
72604
|
+
return false;
|
|
72605
|
+
}
|
|
72606
|
+
function isPlainObject(v) {
|
|
72607
|
+
return typeof v === "object" && v !== null && !Array.isArray(v);
|
|
72608
|
+
}
|
|
72609
|
+
/** Merge bags bottom-up (later wins, per key). Fresh object. */
|
|
72610
|
+
function mergeSettingsBags(...bags) {
|
|
72611
|
+
return bags.reduce((acc, bag) => ({
|
|
72612
|
+
...acc,
|
|
72613
|
+
...bag
|
|
72614
|
+
}), {});
|
|
72615
|
+
}
|
|
72616
|
+
/** The merged value of the layers BELOW `layer` (what removing a key from `layer` falls back to). */
|
|
72617
|
+
function settingsBelow(layers, layer) {
|
|
72618
|
+
return mergeSettingsBags(...LAYER_ORDER.slice(LAYER_ORDER.indexOf(layer) + 1).toReversed().map((id) => layers[id]));
|
|
72619
|
+
}
|
|
72620
|
+
/** The effective bag: every stored layer merged. */
|
|
72621
|
+
function effectiveStepSettings(layers) {
|
|
72622
|
+
return mergeSettingsBags(layers.node, layers.camera, layers.accelerator);
|
|
72623
|
+
}
|
|
72624
|
+
/** The highest stored layer that holds any key of `key`'s unit, or `default`. */
|
|
72625
|
+
function stepSettingSource(layers, key, boundKeys) {
|
|
72626
|
+
const unit = fieldUnitKeys(key, boundKeys);
|
|
72627
|
+
for (const id of LAYER_ORDER) {
|
|
72628
|
+
const bag = layers[id];
|
|
72629
|
+
if (bag !== void 0 && unit.some((k) => bag[k] !== void 0)) return id;
|
|
72630
|
+
}
|
|
72631
|
+
return "default";
|
|
72632
|
+
}
|
|
72633
|
+
/**
|
|
72634
|
+
* `layer` with `key`'s unit set from `values` (a bag carrying the unit's new
|
|
72635
|
+
* value — e.g. the editor's whole next settings bag). A unit key that `values`
|
|
72636
|
+
* does not carry is removed from the layer. Fresh object.
|
|
72637
|
+
*/
|
|
72638
|
+
function withFieldFrom(layer, key, values, boundKeys) {
|
|
72639
|
+
const out = { ...layer };
|
|
72640
|
+
for (const k of fieldUnitKeys(key, boundKeys)) if (values[k] === void 0) delete out[k];
|
|
72641
|
+
else out[k] = values[k];
|
|
72642
|
+
return out;
|
|
72643
|
+
}
|
|
72644
|
+
/** `layer` without `key`'s unit — "reset to the next level". Fresh object. */
|
|
72645
|
+
function withoutField(layer, key, boundKeys) {
|
|
72646
|
+
const out = { ...layer };
|
|
72647
|
+
for (const k of fieldUnitKeys(key, boundKeys)) delete out[k];
|
|
72648
|
+
return out;
|
|
72649
|
+
}
|
|
72650
|
+
/** Every field unit stored in `layer`, by its field key. */
|
|
72651
|
+
function unitsIn(layer, boundKeys) {
|
|
72652
|
+
return [...new Set(Object.keys(layer).map((k) => unitOf(k, boundKeys)))];
|
|
72653
|
+
}
|
|
72654
|
+
/** True when every key of `key`'s unit has the same value in `layer` as in `below`. */
|
|
72655
|
+
function unitEqualsBelow(layer, below, key, boundKeys) {
|
|
72656
|
+
return fieldUnitKeys(key, boundKeys).every((k) => settingValuesEqual(layer[k], below[k]));
|
|
72657
|
+
}
|
|
72658
|
+
/**
|
|
72659
|
+
* `layer` reduced to the fields that DIFFER from `below` — what an editor
|
|
72660
|
+
* stores. A unit is kept or dropped whole. `undefined` when nothing is left.
|
|
72661
|
+
*/
|
|
72662
|
+
function diffStepSettings(layer, below, boundKeys) {
|
|
72663
|
+
if (layer === void 0) return void 0;
|
|
72664
|
+
const out = {};
|
|
72665
|
+
for (const unit of unitsIn(layer, boundKeys)) {
|
|
72666
|
+
if (unitEqualsBelow(layer, below, unit, boundKeys)) continue;
|
|
72667
|
+
for (const k of fieldUnitKeys(unit, boundKeys)) if (layer[k] !== void 0) out[k] = layer[k];
|
|
72668
|
+
}
|
|
72669
|
+
return Object.keys(out).length > 0 ? out : void 0;
|
|
72670
|
+
}
|
|
72671
|
+
/**
|
|
72672
|
+
* The fields `layer` stores at exactly the value of the layers below — a
|
|
72673
|
+
* legacy full copy's leftovers. They change nothing today and stop every
|
|
72674
|
+
* later edit below from reaching this layer. Sorted.
|
|
72675
|
+
*/
|
|
72676
|
+
function fieldsPinnedAtValueBelow(layer, below, boundKeys) {
|
|
72677
|
+
if (layer === void 0) return [];
|
|
72678
|
+
return unitsIn(layer, boundKeys).filter((unit) => unitEqualsBelow(layer, below, unit, boundKeys)).toSorted();
|
|
72679
|
+
}
|
|
72680
|
+
//#endregion
|
|
72681
|
+
//#region src/pipeline/auto-tune/hardware-class.ts
|
|
72395
72682
|
var APPLE_CHIP = /^Apple M(\d+)(?:\s+(Pro|Max|Ultra))?\b/i;
|
|
72396
72683
|
var INTEL_CORE_ULTRA = /Core\(TM\)\s+Ultra|Core Ultra/i;
|
|
72397
72684
|
var INTEL_N_SERIES = /Intel\(R\)\s+N\d{2,3}\b|\bIntel\s+N\d{2,3}\b/i;
|
|
@@ -72447,7 +72734,7 @@ function acceleratorKindOf(deviceKey, hw) {
|
|
|
72447
72734
|
return null;
|
|
72448
72735
|
}
|
|
72449
72736
|
//#endregion
|
|
72450
|
-
//#region src/pipeline/
|
|
72737
|
+
//#region src/pipeline/auto-tune/detector-performance.ts
|
|
72451
72738
|
var DETECTOR_PERF = {
|
|
72452
72739
|
"intel-core-ultra": {
|
|
72453
72740
|
"intel-npu": {
|
|
@@ -72879,149 +73166,32 @@ var DETECTOR_ACCURACY = {
|
|
|
72879
73166
|
}
|
|
72880
73167
|
};
|
|
72881
73168
|
//#endregion
|
|
72882
|
-
//#region src/pipeline/
|
|
72883
|
-
var DEFAULT_DEMAND_OPTIONS = {
|
|
72884
|
-
onMotionConcurrency: .25,
|
|
72885
|
-
onMotionMinConcurrent: 2
|
|
72886
|
-
};
|
|
72887
|
-
/** A full observation window. */
|
|
72888
|
-
var OBSERVATION_WINDOW_MS = 1440 * 60 * 1e3;
|
|
72889
|
-
function deviceId(nodeId, deviceKey) {
|
|
72890
|
-
return `${nodeId}\u0000${deviceKey}`;
|
|
72891
|
-
}
|
|
72892
|
-
function charges(load) {
|
|
72893
|
-
return load.mode !== "disabled" && load.runsPipelineRoot && load.fps > 0;
|
|
72894
|
-
}
|
|
72895
|
-
/** The highest `count` rates, summed. */
|
|
72896
|
-
function topRatesSum(rates, count) {
|
|
72897
|
-
return rates.toSorted((a, b) => b - a).slice(0, Math.max(0, count)).reduce((sum, r) => sum + r, 0);
|
|
72898
|
-
}
|
|
72899
|
-
/** Concurrent on-motion sessions assumed cluster-wide without an observation. */
|
|
72900
|
-
function estimatedConcurrentSessions(cameraCount, options) {
|
|
72901
|
-
if (cameraCount <= 0) return 0;
|
|
72902
|
-
const share = Math.ceil(options.onMotionConcurrency * cameraCount);
|
|
72903
|
-
return Math.min(cameraCount, Math.max(share, Math.min(cameraCount, options.onMotionMinConcurrent)));
|
|
72904
|
-
}
|
|
72905
|
-
/**
|
|
72906
|
-
* Demand on every eligible device of the cluster.
|
|
72907
|
-
*/
|
|
72908
|
-
function estimateDeviceDemand(input) {
|
|
72909
|
-
const options = input.options ?? DEFAULT_DEMAND_OPTIONS;
|
|
72910
|
-
const placement = input.shares ? "share" : "least-loaded";
|
|
72911
|
-
const eligibleById = new Map(input.eligible.map((d) => [deviceId(d.nodeId, d.deviceKey), d]));
|
|
72912
|
-
const peakById = new Map(input.peaks.map((p) => [deviceId(p.nodeId, p.deviceKey), p]));
|
|
72913
|
-
const weightByNode = /* @__PURE__ */ new Map();
|
|
72914
|
-
const eligibleCountByNode = /* @__PURE__ */ new Map();
|
|
72915
|
-
for (const d of input.eligible) {
|
|
72916
|
-
weightByNode.set(d.nodeId, (weightByNode.get(d.nodeId) ?? 0) + Math.max(d.weight, 0));
|
|
72917
|
-
eligibleCountByNode.set(d.nodeId, (eligibleCountByNode.get(d.nodeId) ?? 0) + 1);
|
|
72918
|
-
}
|
|
72919
|
-
const pinnedFps = /* @__PURE__ */ new Map();
|
|
72920
|
-
const alwaysOnFps = /* @__PURE__ */ new Map();
|
|
72921
|
-
const alwaysOnCount = /* @__PURE__ */ new Map();
|
|
72922
|
-
const maxFps = /* @__PURE__ */ new Map();
|
|
72923
|
-
const onMotionRates = [];
|
|
72924
|
-
const bump = (map, key, by) => {
|
|
72925
|
-
map.set(key, (map.get(key) ?? 0) + by);
|
|
72926
|
-
};
|
|
72927
|
-
const noteMax = (key, fps) => {
|
|
72928
|
-
maxFps.set(key, Math.max(maxFps.get(key) ?? 0, fps));
|
|
72929
|
-
};
|
|
72930
|
-
const pinNodeOf = (pin) => {
|
|
72931
|
-
if (pin.nodeId !== null) return pin.nodeId;
|
|
72932
|
-
const holders = input.eligible.filter((d) => d.deviceKey === pin.deviceKey);
|
|
72933
|
-
return holders.length === 1 ? holders[0].nodeId : null;
|
|
72934
|
-
};
|
|
72935
|
-
let alwaysOnTotal = 0;
|
|
72936
|
-
for (const cam of input.cameras) {
|
|
72937
|
-
if (!charges(cam)) continue;
|
|
72938
|
-
const pinNode = cam.devicePin !== null ? pinNodeOf(cam.devicePin) : null;
|
|
72939
|
-
if (cam.devicePin !== null && pinNode !== null) {
|
|
72940
|
-
const key = deviceId(pinNode, cam.devicePin.deviceKey);
|
|
72941
|
-
if (!eligibleById.has(key)) continue;
|
|
72942
|
-
bump(pinnedFps, key, cam.fps);
|
|
72943
|
-
noteMax(key, cam.fps);
|
|
72944
|
-
continue;
|
|
72945
|
-
}
|
|
72946
|
-
const standing = cam.mode === "always-on" && cam.standingNodeId !== null ? cam.standingNodeId : cam.nodePinId;
|
|
72947
|
-
if (standing !== null) {
|
|
72948
|
-
if (cam.mode === "always-on") alwaysOnTotal += 1;
|
|
72949
|
-
const nodeWeight = weightByNode.get(standing) ?? 0;
|
|
72950
|
-
for (const d of input.eligible) {
|
|
72951
|
-
if (d.nodeId !== standing || nodeWeight <= 0) continue;
|
|
72952
|
-
const key = deviceId(d.nodeId, d.deviceKey);
|
|
72953
|
-
const share = Math.max(d.weight, 0) / nodeWeight;
|
|
72954
|
-
bump(alwaysOnFps, key, cam.fps * share);
|
|
72955
|
-
bump(alwaysOnCount, key, share);
|
|
72956
|
-
noteMax(key, cam.fps);
|
|
72957
|
-
}
|
|
72958
|
-
continue;
|
|
72959
|
-
}
|
|
72960
|
-
onMotionRates.push(cam.fps);
|
|
72961
|
-
}
|
|
72962
|
-
const fastestOnMotion = onMotionRates.reduce((m, r) => Math.max(m, r), 0);
|
|
72963
|
-
const nodeCount = weightByNode.size;
|
|
72964
|
-
const estimatedTotal = estimatedConcurrentSessions(onMotionRates.length, options);
|
|
72965
|
-
const clusterPeak = input.shares?.clusterPeak ?? null;
|
|
72966
|
-
const clusterObserved = clusterPeak !== null && clusterPeak.observedForMs >= 864e5;
|
|
72967
|
-
const clusterSessions = clusterObserved ? Math.max(0, clusterPeak.peakSessions - alwaysOnTotal) : estimatedTotal;
|
|
72968
|
-
const shareSum = [...weightByNode.keys()].reduce((sum, nodeId) => sum + Math.max(input.shares?.nodes[nodeId] ?? 0, 0), 0);
|
|
72969
|
-
return input.eligible.map((d) => {
|
|
72970
|
-
const key = deviceId(d.nodeId, d.deviceKey);
|
|
72971
|
-
const peak = peakById.get(key) ?? (eligibleCountByNode.get(d.nodeId) === 1 ? peakById.get(deviceId(d.nodeId, "")) : void 0);
|
|
72972
|
-
const alwaysOn = alwaysOnCount.get(key) ?? 0;
|
|
72973
|
-
let onMotionSessions = 0;
|
|
72974
|
-
let onMotionSource = "none";
|
|
72975
|
-
if (onMotionRates.length > 0 && input.shares !== void 0) {
|
|
72976
|
-
const nodeWeight = weightByNode.get(d.nodeId) ?? 0;
|
|
72977
|
-
const nodeShare = shareSum > 0 ? Math.max(input.shares.nodes[d.nodeId] ?? 0, 0) / shareSum : 0;
|
|
72978
|
-
const deviceShare = nodeWeight > 0 ? Math.max(d.weight, 0) / nodeWeight : 0;
|
|
72979
|
-
onMotionSessions = Math.max(0, Math.ceil(clusterSessions * nodeShare * deviceShare - 1e-9));
|
|
72980
|
-
onMotionSource = clusterObserved ? "observed-24h" : "estimate";
|
|
72981
|
-
} else if (onMotionRates.length > 0) if (peak !== void 0 && peak.observedForMs >= 864e5) {
|
|
72982
|
-
onMotionSessions = Math.max(0, Math.round(peak.peakSessions - alwaysOn));
|
|
72983
|
-
onMotionSource = "observed-24h";
|
|
72984
|
-
} else {
|
|
72985
|
-
const nodeWeight = weightByNode.get(d.nodeId) ?? 0;
|
|
72986
|
-
const share = nodeCount > 0 && nodeWeight > 0 ? Math.max(d.weight, 0) / nodeWeight / nodeCount : 0;
|
|
72987
|
-
onMotionSessions = Math.ceil(estimatedTotal * share);
|
|
72988
|
-
onMotionSource = "estimate";
|
|
72989
|
-
}
|
|
72990
|
-
const demandFps = (pinnedFps.get(key) ?? 0) + (alwaysOnFps.get(key) ?? 0) + topRatesSum(onMotionRates, onMotionSessions);
|
|
72991
|
-
return {
|
|
72992
|
-
nodeId: d.nodeId,
|
|
72993
|
-
deviceKey: d.deviceKey,
|
|
72994
|
-
demandFps: Math.round(demandFps * 100) / 100,
|
|
72995
|
-
maxCameraFps: Math.max(maxFps.get(key) ?? 0, fastestOnMotion),
|
|
72996
|
-
alwaysOnCameras: Math.round(alwaysOn * 100) / 100,
|
|
72997
|
-
onMotionSessions,
|
|
72998
|
-
onMotionSource,
|
|
72999
|
-
observedForMs: input.shares !== void 0 ? clusterPeak?.observedForMs ?? null : peak?.observedForMs ?? null,
|
|
73000
|
-
placement
|
|
73001
|
-
};
|
|
73002
|
-
}).toSorted((a, b) => a.nodeId === b.nodeId ? a.deviceKey.localeCompare(b.deviceKey) : a.nodeId.localeCompare(b.nodeId));
|
|
73003
|
-
}
|
|
73004
|
-
//#endregion
|
|
73005
|
-
//#region src/pipeline/best-settings/recommend.ts
|
|
73169
|
+
//#region src/pipeline/auto-tune/recommend.ts
|
|
73006
73170
|
/** The family the cluster runs. */
|
|
73007
|
-
var
|
|
73171
|
+
var AUTO_TUNE_FAMILY = "yolov9";
|
|
73008
73172
|
/** Recall within this of the best counts as a tie — the faster one wins. */
|
|
73009
73173
|
var RECALL_TIE = .02;
|
|
73010
73174
|
/** Default share of an accelerator's throughput kept free. */
|
|
73011
73175
|
var DEFAULT_HEADROOM = .4;
|
|
73176
|
+
/** Detection rate a session is counted at when no camera says otherwise. */
|
|
73177
|
+
var DEFAULT_CAMERA_FPS = 10;
|
|
73178
|
+
/** Parallel sessions one device sustains at `fps` with `headroom` kept free. */
|
|
73179
|
+
function capacitySessionsOf(fps, headroom, cameraFps) {
|
|
73180
|
+
if (!(fps > 0) || !(cameraFps > 0)) return 0;
|
|
73181
|
+
return Math.max(0, Math.floor(fps * (1 - headroom) / cameraFps + 1e-9));
|
|
73182
|
+
}
|
|
73012
73183
|
function round(value, digits = 3) {
|
|
73013
73184
|
const f = 10 ** digits;
|
|
73014
73185
|
return Math.round(value * f) / f;
|
|
73015
73186
|
}
|
|
73016
|
-
function
|
|
73017
|
-
return cell
|
|
73187
|
+
function sessionsOn(cell, sizing) {
|
|
73188
|
+
return cell === void 0 ? 0 : capacitySessionsOf(cell.fps, sizing.headroom, sizing.cameraFps);
|
|
73018
73189
|
}
|
|
73019
|
-
function fitsOn(cell,
|
|
73020
|
-
|
|
73021
|
-
return budget >= (demand?.demandFps ?? 0) && budget >= (demand?.maxCameraFps ?? 0);
|
|
73190
|
+
function fitsOn(cell, sizing) {
|
|
73191
|
+
return sessionsOn(cell, sizing) >= sizing.minSessions;
|
|
73022
73192
|
}
|
|
73023
73193
|
function candidatesFor(contexts, formatsByModel) {
|
|
73024
|
-
return Object.keys(DETECTOR_ACCURACY).filter((id) => id.startsWith(
|
|
73194
|
+
return Object.keys(DETECTOR_ACCURACY).filter((id) => id.startsWith(AUTO_TUNE_FAMILY)).filter((id) => contexts.every((c) => c.column[id] !== void 0 && (formatsByModel[id] ?? []).includes(c.device.format))).map((id) => ({
|
|
73025
73195
|
modelId: id,
|
|
73026
73196
|
personRecall: DETECTOR_ACCURACY[id]?.personRecall ?? 0
|
|
73027
73197
|
})).toSorted((a, b) => b.personRecall - a.personRecall || a.modelId.localeCompare(b.modelId));
|
|
@@ -73029,28 +73199,24 @@ function candidatesFor(contexts, formatsByModel) {
|
|
|
73029
73199
|
function totalLatency(contexts, modelId) {
|
|
73030
73200
|
return contexts.reduce((sum, c) => sum + (c.column[modelId]?.p50Ms ?? Number.POSITIVE_INFINITY), 0);
|
|
73031
73201
|
}
|
|
73032
|
-
|
|
73033
|
-
|
|
73034
|
-
|
|
73035
|
-
return Math.max(worst, cell ? utilisationOf(cell, c.demand) : Number.POSITIVE_INFINITY);
|
|
73036
|
-
}, 0);
|
|
73202
|
+
/** The fewest sessions any device of the group sustains with this model. */
|
|
73203
|
+
function worstSessions(contexts, modelId, sizing) {
|
|
73204
|
+
return contexts.reduce((worst, c) => Math.min(worst, sessionsOn(c.column[modelId], sizing)), Number.POSITIVE_INFINITY);
|
|
73037
73205
|
}
|
|
73038
73206
|
/** One model for a group of devices that must agree (step 2–4 of the header). */
|
|
73039
|
-
function pickForGroup(contexts, formatsByModel,
|
|
73207
|
+
function pickForGroup(contexts, formatsByModel, sizing) {
|
|
73040
73208
|
const candidates = candidatesFor(contexts, formatsByModel);
|
|
73041
73209
|
if (candidates.length === 0) return null;
|
|
73042
|
-
const fitting = candidates.filter((c) => contexts.every((ctx) =>
|
|
73043
|
-
const cell = ctx.column[c.modelId];
|
|
73044
|
-
return cell !== void 0 && fitsOn(cell, ctx.demand, headroom);
|
|
73045
|
-
}));
|
|
73210
|
+
const fitting = candidates.filter((c) => contexts.every((ctx) => fitsOn(ctx.column[c.modelId], sizing)));
|
|
73046
73211
|
if (fitting.length === 0) {
|
|
73047
|
-
const lightest = candidates.toSorted((a, b) =>
|
|
73212
|
+
const lightest = candidates.toSorted((a, b) => worstSessions(contexts, b.modelId, sizing) - worstSessions(contexts, a.modelId, sizing) || totalLatency(contexts, a.modelId) - totalLatency(contexts, b.modelId))[0];
|
|
73048
73213
|
if (lightest === void 0) return null;
|
|
73049
73214
|
return {
|
|
73050
73215
|
modelId: lightest.modelId,
|
|
73051
73216
|
reasons: [{
|
|
73052
73217
|
kind: "no-fit-lightest",
|
|
73053
|
-
|
|
73218
|
+
sessions: worstSessions(contexts, lightest.modelId, sizing),
|
|
73219
|
+
minSessions: sizing.minSessions
|
|
73054
73220
|
}]
|
|
73055
73221
|
};
|
|
73056
73222
|
}
|
|
@@ -73060,10 +73226,7 @@ function pickForGroup(contexts, formatsByModel, headroom) {
|
|
|
73060
73226
|
const reasons = [];
|
|
73061
73227
|
const mostAccurate = candidates[0];
|
|
73062
73228
|
if (mostAccurate !== void 0 && mostAccurate.modelId !== best.modelId) {
|
|
73063
|
-
const limitedBy = contexts.find((ctx) =>
|
|
73064
|
-
const cell = ctx.column[mostAccurate.modelId];
|
|
73065
|
-
return cell === void 0 || !fitsOn(cell, ctx.demand, headroom);
|
|
73066
|
-
})?.device.key ?? "";
|
|
73229
|
+
const limitedBy = contexts.find((ctx) => !fitsOn(ctx.column[mostAccurate.modelId], sizing))?.device.key ?? "";
|
|
73067
73230
|
reasons.push({
|
|
73068
73231
|
kind: "stepped-down",
|
|
73069
73232
|
from: mostAccurate.modelId,
|
|
@@ -73081,7 +73244,7 @@ function pickForGroup(contexts, formatsByModel, headroom) {
|
|
|
73081
73244
|
reasons
|
|
73082
73245
|
};
|
|
73083
73246
|
}
|
|
73084
|
-
function choiceOn(ctx, modelId) {
|
|
73247
|
+
function choiceOn(ctx, modelId, sizing) {
|
|
73085
73248
|
const cell = ctx.column[modelId];
|
|
73086
73249
|
if (cell === void 0) return null;
|
|
73087
73250
|
return {
|
|
@@ -73089,23 +73252,20 @@ function choiceOn(ctx, modelId) {
|
|
|
73089
73252
|
p50Ms: cell.p50Ms,
|
|
73090
73253
|
fps: cell.fps,
|
|
73091
73254
|
measured: cell.measured,
|
|
73092
|
-
|
|
73255
|
+
capacitySessions: sessionsOn(cell, sizing),
|
|
73093
73256
|
personRecall: DETECTOR_ACCURACY[modelId]?.personRecall ?? 0
|
|
73094
73257
|
};
|
|
73095
73258
|
}
|
|
73096
|
-
function deviceReasonsFor(
|
|
73259
|
+
function deviceReasonsFor(choice, sizing) {
|
|
73097
73260
|
const out = [{
|
|
73098
|
-
kind: "
|
|
73099
|
-
|
|
73261
|
+
kind: "capacity",
|
|
73262
|
+
sessions: choice.capacitySessions,
|
|
73263
|
+
minSessions: sizing.minSessions
|
|
73100
73264
|
}];
|
|
73101
73265
|
if (!choice.measured) out.push({
|
|
73102
73266
|
kind: "derived-latency",
|
|
73103
73267
|
modelId: choice.modelId
|
|
73104
73268
|
});
|
|
73105
|
-
if (ctx.demand?.onMotionSource === "estimate") out.push({
|
|
73106
|
-
kind: "estimated-load",
|
|
73107
|
-
observedForMs: ctx.demand.observedForMs
|
|
73108
|
-
});
|
|
73109
73269
|
return out;
|
|
73110
73270
|
}
|
|
73111
73271
|
function skippedNode(node, reason, hardwareClass) {
|
|
@@ -73121,7 +73281,6 @@ function skippedNode(node, reason, hardwareClass) {
|
|
|
73121
73281
|
accelerator: node.hardware ? acceleratorKindOf(d.key, node.hardware) : null,
|
|
73122
73282
|
enabled: d.enabled,
|
|
73123
73283
|
available: d.available,
|
|
73124
|
-
demand: null,
|
|
73125
73284
|
chosen: null,
|
|
73126
73285
|
reasons: []
|
|
73127
73286
|
})),
|
|
@@ -73131,7 +73290,11 @@ function skippedNode(node, reason, hardwareClass) {
|
|
|
73131
73290
|
/** Recommend one node. See the module header. */
|
|
73132
73291
|
function recommendNode(input) {
|
|
73133
73292
|
const { node } = input;
|
|
73134
|
-
const
|
|
73293
|
+
const sizing = {
|
|
73294
|
+
headroom: input.headroom ?? .4,
|
|
73295
|
+
cameraFps: input.cameraFps ?? 10,
|
|
73296
|
+
minSessions: input.minSessionsPerDevice ?? 2
|
|
73297
|
+
};
|
|
73135
73298
|
const perf = input.perf ?? DETECTOR_PERF;
|
|
73136
73299
|
if (!node.reachable) return skippedNode(node, { kind: "node-offline" }, null);
|
|
73137
73300
|
if (node.hardware === null) return skippedNode(node, { kind: "no-hardware-facts" }, null);
|
|
@@ -73142,7 +73305,6 @@ function recommendNode(input) {
|
|
|
73142
73305
|
kind: "no-measured-data",
|
|
73143
73306
|
hardwareClass
|
|
73144
73307
|
}, hardwareClass);
|
|
73145
|
-
const demandByKey = new Map(input.demand.filter((d) => d.nodeId === node.nodeId).map((d) => [d.deviceKey, d]));
|
|
73146
73308
|
const devices = node.devices.toSorted((a, b) => a.key.localeCompare(b.key));
|
|
73147
73309
|
const contexts = /* @__PURE__ */ new Map();
|
|
73148
73310
|
const early = /* @__PURE__ */ new Map();
|
|
@@ -73171,8 +73333,7 @@ function recommendNode(input) {
|
|
|
73171
73333
|
contexts.set(device.key, {
|
|
73172
73334
|
device,
|
|
73173
73335
|
accelerator,
|
|
73174
|
-
column
|
|
73175
|
-
demand: demandByKey.get(device.key) ?? null
|
|
73336
|
+
column
|
|
73176
73337
|
});
|
|
73177
73338
|
}
|
|
73178
73339
|
const isCpu = (a) => a === "x86-cpu" || a === "arm-cpu";
|
|
@@ -73182,23 +73343,23 @@ function recommendNode(input) {
|
|
|
73182
73343
|
const reasonsByKey = /* @__PURE__ */ new Map();
|
|
73183
73344
|
const nodeReasons = [];
|
|
73184
73345
|
let acceleratorModelId = null;
|
|
73185
|
-
const groupPick = accelerators.length > 0 ? pickForGroup(accelerators, node.formatsByModel,
|
|
73346
|
+
const groupPick = accelerators.length > 0 ? pickForGroup(accelerators, node.formatsByModel, sizing) : null;
|
|
73186
73347
|
if (groupPick !== null) {
|
|
73187
73348
|
acceleratorModelId = groupPick.modelId;
|
|
73188
73349
|
nodeReasons.push(...groupPick.reasons);
|
|
73189
73350
|
for (const ctx of accelerators) {
|
|
73190
|
-
const choice = choiceOn(ctx, groupPick.modelId);
|
|
73351
|
+
const choice = choiceOn(ctx, groupPick.modelId, sizing);
|
|
73191
73352
|
if (choice === null) continue;
|
|
73192
73353
|
chosenByKey.set(ctx.device.key, choice);
|
|
73193
|
-
reasonsByKey.set(ctx.device.key, deviceReasonsFor(
|
|
73354
|
+
reasonsByKey.set(ctx.device.key, deviceReasonsFor(choice, sizing));
|
|
73194
73355
|
}
|
|
73195
73356
|
} else for (const ctx of accelerators) reasonsByKey.set(ctx.device.key, [{
|
|
73196
73357
|
kind: "no-family-build",
|
|
73197
73358
|
format: ctx.device.format
|
|
73198
73359
|
}]);
|
|
73199
73360
|
for (const ctx of cpus) {
|
|
73200
|
-
const pick = pickForGroup([ctx], node.formatsByModel,
|
|
73201
|
-
const choice = pick === null ? null : choiceOn(ctx, pick.modelId);
|
|
73361
|
+
const pick = pickForGroup([ctx], node.formatsByModel, sizing);
|
|
73362
|
+
const choice = pick === null ? null : choiceOn(ctx, pick.modelId, sizing);
|
|
73202
73363
|
if (pick === null || choice === null) {
|
|
73203
73364
|
reasonsByKey.set(ctx.device.key, [{
|
|
73204
73365
|
kind: "no-family-build",
|
|
@@ -73210,7 +73371,7 @@ function recommendNode(input) {
|
|
|
73210
73371
|
reasonsByKey.set(ctx.device.key, [
|
|
73211
73372
|
{ kind: "cpu-device" },
|
|
73212
73373
|
...pick.reasons,
|
|
73213
|
-
...deviceReasonsFor(
|
|
73374
|
+
...deviceReasonsFor(choice, sizing)
|
|
73214
73375
|
]);
|
|
73215
73376
|
}
|
|
73216
73377
|
return {
|
|
@@ -73225,7 +73386,6 @@ function recommendNode(input) {
|
|
|
73225
73386
|
accelerator: acceleratorKindOf(device.key, hardware),
|
|
73226
73387
|
enabled: device.enabled,
|
|
73227
73388
|
available: device.available,
|
|
73228
|
-
demand: demandByKey.get(device.key) ?? null,
|
|
73229
73389
|
chosen: chosenByKey.get(device.key) ?? null,
|
|
73230
73390
|
reasons: early.get(device.key) ?? reasonsByKey.get(device.key) ?? []
|
|
73231
73391
|
})),
|
|
@@ -73275,6 +73435,208 @@ function electByShare(candidates) {
|
|
|
73275
73435
|
};
|
|
73276
73436
|
}
|
|
73277
73437
|
//#endregion
|
|
73438
|
+
//#region src/pipeline/load-balancing/effective-shares.ts
|
|
73439
|
+
/**
|
|
73440
|
+
* The shares a session election actually reads, and the view the Load
|
|
73441
|
+
* balancing tab shows (D750). Pure.
|
|
73442
|
+
*
|
|
73443
|
+
* The SOURCE decides the configured weights: the automatic capacity shares
|
|
73444
|
+
* (`hardware` or `benchmark`, D755), or the operator's stored sliders. Eligibility decides the effective ones: a
|
|
73445
|
+
* node or device that cannot take a session now (offline, switched off, no
|
|
73446
|
+
* detect capability, unable to run the root) contributes nothing, and the
|
|
73447
|
+
* others split its share in proportion to their own. That redistribution is
|
|
73448
|
+
* exactly what `electByShare` does over its candidate set, so the view and
|
|
73449
|
+
* the election cannot disagree; the stored values are never rewritten for it.
|
|
73450
|
+
*/
|
|
73451
|
+
/** Weight a node or device has when its source names none (the balancer's own default). */
|
|
73452
|
+
var DEFAULT_WEIGHT = 1;
|
|
73453
|
+
function positive(value) {
|
|
73454
|
+
return value !== void 0 && value > 0 ? value : DEFAULT_WEIGHT;
|
|
73455
|
+
}
|
|
73456
|
+
function percentages(keys, weightOf, counts) {
|
|
73457
|
+
const total = keys.reduce((sum, k) => sum + (counts(k) ? weightOf(k) : 0), 0);
|
|
73458
|
+
return new Map(keys.map((k) => [k, total > 0 && counts(k) ? Math.round(weightOf(k) / total * 1e3) / 10 : 0]));
|
|
73459
|
+
}
|
|
73460
|
+
function resolveEffectiveShares(input) {
|
|
73461
|
+
const useAuto = isAutomaticShareSource(input.source) && input.auto !== null;
|
|
73462
|
+
const weights = useAuto && input.auto !== null ? input.auto : input.stored;
|
|
73463
|
+
const nodeWeights = {};
|
|
73464
|
+
for (const nodeId of input.nodeIds) nodeWeights[nodeId] = positive(weights.nodes[nodeId]);
|
|
73465
|
+
const eligibleNodes = new Set(input.eligibleNodes);
|
|
73466
|
+
const configured = percentages(input.nodeIds, (k) => nodeWeights[k] ?? DEFAULT_WEIGHT, () => true);
|
|
73467
|
+
const effective = percentages(input.nodeIds, (k) => nodeWeights[k] ?? DEFAULT_WEIGHT, (k) => eligibleNodes.has(k));
|
|
73468
|
+
const deviceWeights = {};
|
|
73469
|
+
const nodes = input.nodeIds.map((nodeId) => {
|
|
73470
|
+
const eligibleKeys = new Set(input.eligibleDevices[nodeId] ?? []);
|
|
73471
|
+
const named = weights.devices[nodeId] ?? {};
|
|
73472
|
+
const keys = [...new Set([...Object.keys(named), ...eligibleKeys])].toSorted();
|
|
73473
|
+
const perDevice = {};
|
|
73474
|
+
for (const key of keys) perDevice[key] = positive(named[key]);
|
|
73475
|
+
if (keys.length > 0) deviceWeights[nodeId] = perDevice;
|
|
73476
|
+
const devConfigured = percentages(keys, (k) => perDevice[k] ?? DEFAULT_WEIGHT, () => true);
|
|
73477
|
+
const devEffective = percentages(keys, (k) => perDevice[k] ?? DEFAULT_WEIGHT, (k) => eligibleNodes.has(nodeId) && eligibleKeys.has(k));
|
|
73478
|
+
const devices = keys.map((deviceKey) => ({
|
|
73479
|
+
deviceKey,
|
|
73480
|
+
eligible: eligibleKeys.has(deviceKey),
|
|
73481
|
+
configuredPct: devConfigured.get(deviceKey) ?? 0,
|
|
73482
|
+
effectivePct: devEffective.get(deviceKey) ?? 0
|
|
73483
|
+
}));
|
|
73484
|
+
const capacity = useAuto ? input.autoCapacity?.[nodeId] : void 0;
|
|
73485
|
+
return {
|
|
73486
|
+
nodeId,
|
|
73487
|
+
eligible: eligibleNodes.has(nodeId),
|
|
73488
|
+
configuredPct: configured.get(nodeId) ?? 0,
|
|
73489
|
+
effectivePct: effective.get(nodeId) ?? 0,
|
|
73490
|
+
capacitySource: capacity?.source ?? null,
|
|
73491
|
+
capacityFallback: capacity?.fallback ?? null,
|
|
73492
|
+
devices
|
|
73493
|
+
};
|
|
73494
|
+
});
|
|
73495
|
+
return {
|
|
73496
|
+
source: input.source,
|
|
73497
|
+
policy: input.policy ?? "share",
|
|
73498
|
+
autoPending: isAutomaticShareSource(input.source) && input.auto === null,
|
|
73499
|
+
computedAt: input.computedAt ?? null,
|
|
73500
|
+
trigger: input.trigger ?? null,
|
|
73501
|
+
nodes,
|
|
73502
|
+
nodeWeights,
|
|
73503
|
+
deviceWeights
|
|
73504
|
+
};
|
|
73505
|
+
}
|
|
73506
|
+
//#endregion
|
|
73507
|
+
//#region src/pipeline/load-balancing/capacity-shares.ts
|
|
73508
|
+
/**
|
|
73509
|
+
* Automatic shares from CAPACITY (D755). Pure.
|
|
73510
|
+
*
|
|
73511
|
+
* A node's share is its capacity in parallel sessions over the cluster's; a
|
|
73512
|
+
* device's share inside its node follows its throughput. There is no load
|
|
73513
|
+
* input: nothing here depends on how many sessions ran, only on what each
|
|
73514
|
+
* node can carry.
|
|
73515
|
+
*
|
|
73516
|
+
* Two places a capacity can come from:
|
|
73517
|
+
* - `hardware` — each enabled accelerator at its Auto tune model, from the
|
|
73518
|
+
* measured latency table: ⌊fps × (1 − headroom) / camera fps⌋ sessions;
|
|
73519
|
+
* - `benchmark` — the node's own measured max sessions per device, read
|
|
73520
|
+
* through a {@link NodeCapacitySource}. A node whose results do not cover
|
|
73521
|
+
* every enabled device it would be sized on is sized from `hardware`
|
|
73522
|
+
* instead, and the answer says so per node — never a silent mix.
|
|
73523
|
+
*/
|
|
73524
|
+
/** A source that has no results — the benchmark store before it exists. */
|
|
73525
|
+
var NO_MEASURED_CAPACITY = { readMeasuredCapacity: async () => /* @__PURE__ */ new Map() };
|
|
73526
|
+
/** Integer shares summing to 100 (largest remainder); ties broken by key. */
|
|
73527
|
+
function toPercentShares(weights) {
|
|
73528
|
+
const total = [...weights.values()].reduce((a, b) => a + b, 0);
|
|
73529
|
+
const out = /* @__PURE__ */ new Map();
|
|
73530
|
+
if (total <= 0) return out;
|
|
73531
|
+
const raw = [...weights].map(([k, w]) => ({
|
|
73532
|
+
k,
|
|
73533
|
+
exact: w / total * 100
|
|
73534
|
+
}));
|
|
73535
|
+
let assigned = 0;
|
|
73536
|
+
for (const r of raw) {
|
|
73537
|
+
out.set(r.k, Math.floor(r.exact));
|
|
73538
|
+
assigned += Math.floor(r.exact);
|
|
73539
|
+
}
|
|
73540
|
+
const remainder = (exact) => Math.round((exact - Math.floor(exact)) * 1e6);
|
|
73541
|
+
const byRemainder = raw.toSorted((a, b) => remainder(b.exact) - remainder(a.exact) || a.k.localeCompare(b.k));
|
|
73542
|
+
for (let i = 0; i < 100 - assigned; i++) {
|
|
73543
|
+
const r = byRemainder[i % byRemainder.length];
|
|
73544
|
+
if (r === void 0) break;
|
|
73545
|
+
out.set(r.k, (out.get(r.k) ?? 0) + 1);
|
|
73546
|
+
}
|
|
73547
|
+
return out;
|
|
73548
|
+
}
|
|
73549
|
+
function hardwareDevices(rec, headroom, cameraFps) {
|
|
73550
|
+
return rec.devices.filter((d) => d.enabled && d.available && d.chosen !== null).map((d) => {
|
|
73551
|
+
const fps = d.chosen?.fps ?? 0;
|
|
73552
|
+
return {
|
|
73553
|
+
deviceKey: d.deviceKey,
|
|
73554
|
+
sessions: capacitySessionsOf(fps, headroom, cameraFps),
|
|
73555
|
+
weight: Math.max(fps, 0),
|
|
73556
|
+
modelId: d.chosen?.modelId ?? null,
|
|
73557
|
+
fps: d.chosen?.fps ?? null,
|
|
73558
|
+
measured: d.chosen?.measured ?? false
|
|
73559
|
+
};
|
|
73560
|
+
});
|
|
73561
|
+
}
|
|
73562
|
+
function sizeNode(rec, input) {
|
|
73563
|
+
const fromHardware = (fallback) => {
|
|
73564
|
+
const devices = rec.skipped ? [] : hardwareDevices(rec, input.headroom, input.cameraFps);
|
|
73565
|
+
const capacity = devices.reduce((sum, d) => sum + d.sessions, 0);
|
|
73566
|
+
return {
|
|
73567
|
+
rec,
|
|
73568
|
+
devices,
|
|
73569
|
+
capacitySource: rec.skipped ? null : "hardware",
|
|
73570
|
+
capacityFallback: rec.skipped ? null : fallback,
|
|
73571
|
+
skippedReason: rec.skipped ? rec.reasons[0]?.kind ?? "skipped" : capacity > 0 ? null : "no-capacity"
|
|
73572
|
+
};
|
|
73573
|
+
};
|
|
73574
|
+
if (input.source === "hardware") return fromHardware(null);
|
|
73575
|
+
if (!rec.reachable) return fromHardware(null);
|
|
73576
|
+
const results = input.measured.get(rec.nodeId);
|
|
73577
|
+
const byKey = new Map((results?.devices ?? []).map((d) => [d.deviceKey, d]));
|
|
73578
|
+
const usable = rec.devices.filter((d) => d.enabled && d.available);
|
|
73579
|
+
const mustCover = rec.devices.filter((d) => d.enabled && d.available && d.chosen !== null);
|
|
73580
|
+
const covered = usable.filter((d) => byKey.has(d.deviceKey));
|
|
73581
|
+
if (covered.length === 0) return fromHardware("no-benchmark-results");
|
|
73582
|
+
if (mustCover.some((d) => !byKey.has(d.deviceKey))) return fromHardware("partial-benchmark-results");
|
|
73583
|
+
const devices = covered.map((d) => {
|
|
73584
|
+
const row = byKey.get(d.deviceKey);
|
|
73585
|
+
const sessions = Math.max(0, Math.floor(row?.maxSessions ?? 0));
|
|
73586
|
+
return {
|
|
73587
|
+
deviceKey: d.deviceKey,
|
|
73588
|
+
sessions,
|
|
73589
|
+
weight: sessions,
|
|
73590
|
+
modelId: row?.modelId ?? null,
|
|
73591
|
+
fps: null,
|
|
73592
|
+
measured: true
|
|
73593
|
+
};
|
|
73594
|
+
});
|
|
73595
|
+
return {
|
|
73596
|
+
rec,
|
|
73597
|
+
devices,
|
|
73598
|
+
capacitySource: "benchmark",
|
|
73599
|
+
capacityFallback: null,
|
|
73600
|
+
skippedReason: devices.reduce((sum, d) => sum + d.sessions, 0) > 0 ? null : "no-capacity"
|
|
73601
|
+
};
|
|
73602
|
+
}
|
|
73603
|
+
/** Shares proportional to capacity — the automatic shares and the suggestion are this. */
|
|
73604
|
+
function computeCapacityShares(input) {
|
|
73605
|
+
const sized = input.recommendations.map((rec) => sizeNode(rec, input));
|
|
73606
|
+
const capacityByNode = /* @__PURE__ */ new Map();
|
|
73607
|
+
for (const node of sized) {
|
|
73608
|
+
const capacity = node.devices.reduce((sum, d) => sum + d.sessions, 0);
|
|
73609
|
+
if (node.skippedReason === null && capacity > 0) capacityByNode.set(node.rec.nodeId, capacity);
|
|
73610
|
+
}
|
|
73611
|
+
const nodePct = toPercentShares(capacityByNode);
|
|
73612
|
+
const nodes = sized.map((node) => {
|
|
73613
|
+
const devicePct = toPercentShares(new Map(node.devices.map((d) => [d.deviceKey, d.weight])));
|
|
73614
|
+
return {
|
|
73615
|
+
nodeId: node.rec.nodeId,
|
|
73616
|
+
share: nodePct.get(node.rec.nodeId) ?? null,
|
|
73617
|
+
capacitySessions: node.devices.reduce((sum, d) => sum + d.sessions, 0),
|
|
73618
|
+
skippedReason: node.skippedReason,
|
|
73619
|
+
capacitySource: node.capacitySource,
|
|
73620
|
+
capacityFallback: node.capacityFallback,
|
|
73621
|
+
devices: node.devices.map((d) => ({
|
|
73622
|
+
deviceKey: d.deviceKey,
|
|
73623
|
+
share: devicePct.get(d.deviceKey) ?? 0,
|
|
73624
|
+
modelId: d.modelId,
|
|
73625
|
+
fps: d.fps,
|
|
73626
|
+
measured: d.measured,
|
|
73627
|
+
suggestedMaxSessions: d.sessions
|
|
73628
|
+
}))
|
|
73629
|
+
};
|
|
73630
|
+
});
|
|
73631
|
+
return {
|
|
73632
|
+
headroom: input.headroom,
|
|
73633
|
+
source: input.source,
|
|
73634
|
+
cameraFps: input.cameraFps,
|
|
73635
|
+
minSessionsPerDevice: input.minSessionsPerDevice,
|
|
73636
|
+
nodes
|
|
73637
|
+
};
|
|
73638
|
+
}
|
|
73639
|
+
//#endregion
|
|
73278
73640
|
//#region src/pipeline/root-face-crop.ts
|
|
73279
73641
|
/** Side of the square, as a multiple of the face box's longer side. */
|
|
73280
73642
|
var ROOT_FACE_REFINE_SCALE = 1.6;
|
|
@@ -75400,4 +75762,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
75400
75762
|
return out;
|
|
75401
75763
|
}
|
|
75402
75764
|
//#endregion
|
|
75403
|
-
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPEARANCE_BIN_COUNT, APPEARANCE_BLOCKS, APPEARANCE_DESCRIPTOR_VERSION, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT, APPLE_SA_TO_MACRO, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_NOT_CLASSIFIED_REASONS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AUTOMATIC_HUB_ADDRESS_FLAGS, AcceleratorKindSchema, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdminLinkTargetEnum, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, AppleFmAvailabilitySchema, AppleFmUnavailableReasonSchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchiveSqliteSnapshotSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioClassifyOutcomeSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BASE_DEVICE_CAPS, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BEST_SETTINGS_FAMILY, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BUILTIN_RESULT_KINDS, BackgroundRunRegistry, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BestSettingsApplyInputSchema, BestSettingsApplyResultSchema, BestSettingsOptionsSchema, BestSettingsPhaseResultSchema, BestSettingsPlanSchema, BestSettingsWarningSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerInfoSchema as UnifiedBrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, BulkRecordSchema, CAMERA_SENSORS_NOT_LOADED, CAMERA_SENSORS_SETTINGS_KEY, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAMERA_TRIGGER, CAMSTACK_APP_LINK_ORIGIN, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLIP_BROKER_PACED_RATES, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_SEARCH_STRICTNESS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, CLIP_STRICTNESS_FACTOR, CLIP_VECTOR_INDEX_PATTERN, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, COMPOSED_DEVICE_STABLE_ID_PREFIX, COMPOSED_ITEM_FIXED_FIELDS, COMPOSER_ADDON_ID, COMPOSER_RUNNER_ID, COMPOSITION_EVENT_CATEGORY, COMPOSITION_ITEM_ARRAY_PATH, COMPOSITION_ITEM_KEY_RE, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CROP_SUPPLY_SOURCES, CROP_SUPPLY_STEP_IDS, CUSTOMIZATION_BLOCK_NAME_PREFIX, CalendarColorSchema, CalendarEntrySchema, CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarPreferenceEntrySchema, CalendarPreferencesSchema, CalendarSetPreferenceInputSchema, CalendarSourceKindSchema, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraOverrideClearSchema, CameraOwnMotionSchema, CameraRawLevelSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSensorAttachmentSchema, CameraSensorEntrySchema, CameraSensorModeSchema, CameraSensorRefSchema, CameraSensorsConfigSchema, CameraSensorsNotEnforcedSchema, CameraSensorsNotForwardedSchema, CameraSensorsStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClaimOutcomeSchema, ClaimsListingSchema, ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesOfferSchema, ClipBytesSchema, ClipExportFailureSchema, ClipModelMetaSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSearchStrictnessSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, ClusterModelChoiceSchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ComposableCapabilitiesSchema, ComposableCapabilitySchema, ComposableFieldSchema, ComposerApplyInputSchema, ComposerApplyResultSchema, ComposerBlockSchema, ComposerBlockVerdictSchema, ComposerUnreadableBlockSchema, CompositionBindingSchema, CompositionBlockInputSchema, CompositionBlockStateSchema, CompositionCodeSourceSchema, CompositionCommandTargetSchema, CompositionCustomizationReadSchema, CompositionEventPlanSchema, CompositionExistingTargetSchema, CompositionExpressionSourceSchema, CompositionFeatureModeSchema, CompositionFeaturePlanSchema, CompositionFeatureSchema, CompositionFieldItemSchema, CompositionFieldKindSchema, CompositionFieldPlanSchema, CompositionFieldReadSchema, CompositionFieldRoleSchema, CompositionFieldSourceSchema, CompositionFieldStateKindSchema, CompositionFieldStateSchema, CompositionFieldsFeatureSchema, CompositionForwardCommandSchema, CompositionFromSourceSchema, CompositionGetReadSchema, CompositionGraphError, CompositionItemEntrySchema, CompositionListReadSchema, CompositionLiteralBindingSchema, CompositionNewTargetSchema, CompositionPassthroughFeatureSchema, CompositionProblemCodeSchema, CompositionProblemSchema, CompositionRunStatusSchema, CompositionSchema, CompositionSourceRefSchema, CompositionStateReadSchema, CompositionTargetSchema, CompositionUnavailableModeSchema, CompositionValidationSchema, CompositionViewSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumableRemainingSchema, ConsumableRemainingUnitSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, CoreBlockFilesSchema, CoreBlockInputFieldsSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockSourceSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, DATAPLANE_SECRET_HEADER, DAYS_PER_WEEK, DAY_NAMES, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CAMERA_SENSOR_MODE, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_CORE_BLOCK_ENTRY, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DEMAND_OPTIONS, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_HEADROOM, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SESSION_PLACEMENT_POLICY, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DETECTOR_ACCURACY, DETECTOR_PERF, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_DO_ACTIONS, DEVICE_PROFILES, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_DO_CAPS, DEVICE_TYPE_INFO, DISPLAY_ICON_GROUPS, DISPLAY_ICON_KEYS, DISPLAY_ICON_OFFERED_KEYS, DISPLAY_ICON_VOCABULARY, DOORBELL_RISE_DEBOUNCE_MS, EngineInfoSchema as DataStoreEngineInfoSchema, DatabaseSnapshotResultSchema, DatabaseSnapshotTableSchema, DatabaseSnapshotTargetsSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DetectorStoreClearSchema, DeviceAdminLinkSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDemandSchema, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceModelChoiceSchema, DeviceNetworkStatsSchema, DeviceRecommendationSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIREMENTS_UNAVAILABLE, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_KIND_LABELS, EVENT_KIND_LABEL_KEYS, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EXTENSION_HOST_DEVICE_TYPES, EXTENSION_SLOTS, EXTENSION_SLOT_IDS, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, EffectiveTuningSchema, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingFailedModelSchema, EmbeddingFailedRequirementSchema, EmbeddingInfoSchema, EmbeddingRefusalCodeSchema, EmbeddingResultSchema, EmbeddingTowerSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportFootageSubjectSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotIdSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSlotValueSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, FEEDER_EXAMPLE_ADDON_ID, FEEDER_EXAMPLE_HA_DEVICE_ID, FFMPEG_PATH_ENV, FIRST_LEVEL_MACRO_CLASSES, FRIGATE_PLUS_CLASS_FLOORS, FRIGATE_PLUS_TO_MACRO, FRIGATE_PLUS_UNMAPPED_LABELS, FRIGATE_STOCK_CLASS_FLOORS, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FieldClaimModeSchema, FieldClaimSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HOURS_PER_DAY, HUB_ADDRESS_ROLES, HUB_VIEWER_MOUNT, HWACCEL_OPTIONS, HardwareClassIdSchema, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HubAddressRoleSchema, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, INVERTIBLE_CAPS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LABEL_SUPPLY_MACRO, LABEL_SUPPLY_STEP_IDS, LABEL_SUPPLY_VOCABULARIES, LEGACY_READ_ONLY_CONFIG_KEY, LINKED_DEVICES_SLOT, LINKED_LABEL_STEP_PREFIX, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOCATION_ICON_IDS, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LinkedDevicesSlotValueSchema, ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRefusalSourceSchema, LlmRetryPolicySchema, LlmRuntimeAppleCompleteInputSchema, LlmRuntimeCancelInputSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadBalancingSharesInputSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationIconIdSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MASK_EMITTING_POSTPROCESSORS, MASK_SUPPLY_STEP_IDS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CAMERA_SENSORS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_COMPOSITION_CODE_LENGTH, MAX_COMPOSITION_FEATURES, MAX_COMPOSITION_FIELDS_PER_FEATURE, MAX_COMPOSITION_ITEMS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MAX_TRACK_PURITIES, MAX_TRACK_RELATIONS, MEDIA_OWNER_TYPES, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MINUTES_PER_DAY, MODEL_FORMATS, MODEL_HOSTING, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_SOURCE_LABELS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatPrecisionSchema, ModelFormatsSchema, ModelLicenseSchema, ModelOnDiskStateSchema, ModelPinChangeSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionTriggeredBySchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, BrokerInfoSchema$1 as MqttBrokerInfoSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_CONTROLLABLE_CAPS, NC_ALARM_DEFAULT_PROFILE_ID, NC_ALARM_DEFAULT_PROFILE_NAME, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, NC_ALARM_DELAY_FIELDS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_NOTIFY_FIELDS, NC_ALARM_OPENING_EVENT_KINDS, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_DEFAULT_DELAYS, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_CLEARABLE_KEYS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_RETIRED_CLEAR_KEYS, NC_RULE_SECTIONS, NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SERVER_PACKAGE_NAME, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_FILTER_KEYS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_SYSTEM_RULE_KINDS, NC_TANK_SYSTEM_EVENT_KINDS, NC_TAXONOMY, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NC_UPDATE_EVENT_PACKAGE_NAMES, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcActionBindingSchema, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, NcAlarmConfigSchema, NcAlarmCreateProfileInputSchema, NcAlarmModeCoverageSchema, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, NcAlarmModeDeviceListSchema, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, NcAlarmPostTriggeredActionSchema, NcAlarmProfileIdInputSchema, NcAlarmProfileMetaSchema, NcAlarmProfilesViewSchema, NcAlarmRenameProfileInputSchema, NcAlarmSecureOnArmEditSchema, NcAlarmSecureOnArmOffSchema, NcAlarmSensorReadingSchema, NcAlarmSensorStateSchema, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcHookBindingsSchema, NcLegacyRuleActionSequenceSchema, NcLinkedCameraModeSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleClearableKeySchema, NcRuleInputSchema, NcRuleKindSchema, NcRuleLastRunSchema, NcRuleLastRunsSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcRuleUpdateInputSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSensorTransitionSchema, NcSharedSequenceInputSchema, NcSharedSequenceSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, NcStateSummaryPreviewSectionSchema, NcStateSummarySectionIdSchema, NcStateSummarySplitSchema, NcSystemEventConditionSchema, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTemplateFamilySchema, NcTemplateFieldSchema, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, NcTemplateVarContextSchema, NcTemplateVarDescriptorSchema, NcTemplateVarGroupSchema, NcTemplateVarKindSchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NodeDeviceChangeSchema, NodeDirectoryEntrySchema, NodeDirectorySchema, NodeRecommendationSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OBSERVATION_WINDOW_MS, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OWNER_ONLY_EVENT_CATEGORIES, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdNamedTemplateSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, OsdTemplateBindingSchema, OsdTemplateFormatSchema, OsdTemplatePickSchema, OsdTemplateTokenKindSchema, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PENDING_BLOCK_ID, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PUBLIC_ENDPOINT_HTTP_REASON, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PeerBytesTicketSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelFormatStatusSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PlacementDeviceStatsSchema, PlacementNodeStatsSchema, PlacementStatsInputSchema, PlacementStatsSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProbeTargetConfigResultSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderMotionDataSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECALL_TIE, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, REMOVED_MODEL_IDS, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESTORED_CAP_NAMES, ROOM_EXAMPLE_MOTION_SOURCES, ROOM_EXAMPLE_TEMPERATURE_SOURCES, ROOM_OCCUPANCY_WINDOW_MS, ROOT_BUCKET_KEY, ROOT_CHILD_CONTAINMENT_MIN, ROOT_FACE_REFINE_INPUT_PX, ROOT_FACE_REFINE_SCALE, ROOT_SUPPLIABLE_STEP_IDS, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RebuildObjectEmbeddingsRefusalSchema, RecentTracksPageSchema, RecentTracksQueryInput, RecommendationReasonSchema, RecordTriggerSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RootStepSupplySchema, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SESSION_PLACEMENT_SETTING_KEY, SHARE_VIEW_KINDS, SINGLE_HUB_ADDRESS_ROLES, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STATE_LABELS, STATE_LABEL_KEYS, STATIONARY_OVERLAY_STYLE, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SessionPlacementPolicySchema, SessionTriggerSchema, SetCameraSensorsInputSchema, SetLoggingSettingsInputSchema, SetSiteLocationInputSchema, SetTrackPurityInputSchema, SetTrackPurityResultSchema, SetTrackRelationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StaleDevicePinSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SuggestSharesInputSchema, SuggestSharesResultSchema, SuggestedDeviceShareSchema, SuggestedNodeShareSchema, SuppliedRootOutputSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRACK_RELATIONS_DEFAULT_LIMIT, 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, TrackPuritySchema, TrackPurityValueSchema, TrackRelationKindSchema, TrackRelationRefusalSchema, TrackRelationSchema, TrackSchema, TrackSideSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, USE_ROOT_MODEL_DEFAULTS, USE_ROOT_MODEL_SETTING_KEY, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VECTOR_INDEX_DIM_CONFLICT, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_EGRESS_PROFILE, WEBRTC_TRY_BLOCKERS, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcClimbHoldSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperActivationReadSchema, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, acceleratorKindOf, accessoriesCapability, accessoryStableId, actionsForBoundCaps, actionsForDevice, actionsForDeviceType, actionsForDevices, activateAlarmProfile, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPanelCapability, alarmPatchLanded, alarmProfileById, alertsCapability, allDoActions, allowedSuppliedEffect, ambientLightSensorCapability, applyBlockingEdit, applyModeDelaysEdits, applyModeDeviceListEdit, applyModelBoundSettings, applyNonBlockingEdit, applySecureOnArmEdit, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildCapabilityLookup, buildDeviceAdminUrl, buildDoorbellCompositionFeature, buildEventKindDescriptor, buildFfmpegArgs, buildFrigateClassMap, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buildViewerLink, builtCapabilityBlockers, buttonCapability, calendarSourceCapability, calendarsCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraOwnsMotionViaSensor, cameraPipelineConfigCapability, cameraSensorRefKey, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, checkRoleAddress, classifyBearerPrincipal, classifyInferenceHardware, classifyStream, classifyStreams, clearModelBoundOverrides, clearModelBoundSetting, climateControlCapability, clipExportFailure, clipExportFailureOf, clipReasonHeaderValue, cloneAlarmSettings, cloneStatefulExpressionMemory, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectModelBoundKeys, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, composedDeviceRef, composedDeviceStableId, composerCapability, compositionEdges, compositionFeatureEnabled, compositionFieldKey, compositionItemFieldPath, compositionReadKey, compositionSliceKey, compositionSourceKey, compositionSourceRefs, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumableLowPercentOf, consumablesCapability, contactCapability, containingParentIndex, controlCapability, convertPresetFeature, convertUnit, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createAlarmProfile, createDeviceExtensionProvider, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createStatefulExpressionMemory, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, databaseSnapshotCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, defineExtensionSlotProvider, deleteAlarmProfile, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveMaskSupplies, derivePostTriggeredAction, deriveRecordingMode, deriveRootFaceRefineRect, deriveRootSupplies, describeComposableCaps, describeCustomActions, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, describeRootSupplies, describeRootSupply, describeStateField, describeSystemEventDeliveryProblem, describeSystemEventFamilyProblem, describeTopLevelStateFields, detectAccessRole, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceDoFamily, deviceExportCapability, deviceExtensionCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, disarmRoseMemory, displayIconEntry, displayIconsInGroup, doActionSelectValue, doorbellCapability, doorbellFeatureSources, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, electByShare, embeddingEncoderCapability, embeddingModelFailedError, embeddingModelFailedOf, embeddingRefusalOf, embeddingRequirementsFailedError, embeddingRequirementsUnavailableError, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeProfileFromStreamShape, encodeVectorBase64, ensureAlarmProfiles, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, estimateDeviceDemand, estimatedConcurrentSessions, evaluateAst, evaluateCompositionField, evaluateCount, evaluateExpressionSource, evaluatePoolMemory, evaluateRose, evaluateSensorEdge, evaluateSensorLevelEdge, evaluateStatefulExpressionCall, evaluateZoneRules, event, eventEmitterCapability, eventKindLabel, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, expandContainer, exportSubjectOf, exposeBlockDevices, expressionContainsBuiltinCall, extensionSlotRef, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureFieldEntries, featureProbeCapability, featureSources, feederCustomizationExample, feederExampleSources, ffmpegRate, fieldReads, filesystemBrowseCapability, findCandidateCycles, findCompositionCycles, findTimezone, floodCapability, foldSnapshotByFunction, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatParkedFor, frigateDefaultClassFloors, frigateLabelFields, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, gifDeriveSpeed, gifFilterComplex, gifFromMp4Args, hasModelBoundOverrides, hasMotionTrigger, hfModelUrl, htmlToText, hubAddressHostname, hubMotionNativeProvider, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferExpressionKinds, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, interpretStoredClusterModel, invalidClusterStepModelEntries, invertPresetFeature, invocationFromEncodeProfile, isAgentOnlyPlacement, isAlarmControllableCap, isAppLinkBase, isArrayOutputSchema, isAudioChunkFormat, isAudioClassName, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDefaultAlarmProfileId, isDefaultAppConnectionEndpoint, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDisplayIconKey, isDoActionActuatable, isDoPickerDeviceType, isEmbeddingModelFailed, isEvent, isEventKindLabelKey, isEventOwnerType, isFirstLevelMacroClass, isHeldBackTemplateVar, isIsolatedBuiltin, isKnownTemplateVar, isLabelSupplyStepId, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isOwnerOnlyEventCategory, isRemovedModelId, isRestoredCap, isRetiredClearKey, isRootSuppliableStepId, isSameAddonId, isScheduleActive, isSecretConfigField, isSingleHubAddressRole, isSoftwareDecode, isSourceCap, isStateLabelKey, isStatefulBuiltin, isStorageLocationMode, isSystemDelivery, isSystemEventFamily, isSystemEventSummaryRule, isSystemRuleKind, isVectorIndexDimConflict, isVoidInput, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, kindOfValue, kindsForDiscriminator, knownValues, lawnMowerControlCapability, legacyAutoLinkIds, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, linkedLabelStepId, linkedStepOf, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationIconKey, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, matchDoAction, mayReadLocation, mayWriteToLocation, mediaPlayerCapability, memoizePinnedFfmpeg, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, minutesToTimeOfDay, modeMayRead, modeMayWrite, modelBindingKey, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionSourceLabel, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, ncAlarmSystemDefaultSettings, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodePickerItems, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeCoreBlockWrite, normalizeNodeId, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, occupancyScope, optionalAncestors, optionalMethod, osdCapability, osdManagerCapability, overlayClusterStepSettings, packagePickerItems, parseAdminBase, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseSessionPlacementPolicy, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickAppLinkHub, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickInvalidClusterStepModels, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pickerForRuleClasses, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, planComposition, planCompositionEvents, planItems, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, providerMotionEvent, ptzAutotrackCapability, ptzCapability, publicEventCategories, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readHubMotionDetected, readHubMotionStatus, readMotionTriggeredBy, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readUseRootModel, readinessKey, rebootCapability, recommendNode, reconcileBlockDevices, recordingArchiveCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, rectsToCells, reducePoints, renameAlarmProfile, replacedFieldKeys, requiredTopLevelKeys, requiresPython, reservedSourceOwner, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAppConnections, resolveBucketMs, resolveCapMount, resolveClipSearchMinScore, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCoreBlockEntry, resolveCoreBlockFiles, resolveCreateExportSubject, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHubAddressRoles, resolveHydratedFieldValue, resolveInternalAddress, resolveLocationIcon, resolveLocationMode, resolveMethodAuth, resolveModeDelays, resolveModeNotifyPolicy, resolveModelBoundSetting, resolveMutate, resolveNotificationTapAddress, resolvePoolMemoryPolicy, resolvePublicEndpoint, resolveRecordingProfiles, resolveRootSupply, resolveRunnerId, resolveStreamMaps, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, roomCompositionExample, rootSuppliesOf, rootSupplyServes, ruleAutoTriggersAlarm, ruleBelongsToAlarm, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleGatedOnArmedState, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sameDoFamily, sceneMonitorCapability, scheduleForSendTimes, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, searchDisplayIcons, secureActuationFor, selectAppConnectionEndpoints, selectAssignedProfileSlots, sendTimesForEditor, sendTimesOfSchedule, sensorRaisedOf, sensorTransitionNeverFires, sensorTransitionOffered, servedTemplateVars, serverManagementCapability, setByPath, settingsStoreCapability, signalPercentFromBars, signalPercentFromRssi, siteZoneKey, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateLabel, stateVocabularyFor, stepModelRunsOnFormat, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supplyFor, supportedRuntimes, switchCapability, switchedOffIds, syncActiveAlarmProfileSettings, synthesizeSourceInfo, systemCapability, systemEventDeliveryProblems, systemEventFamilyOf, systemEventFamilyProblems, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, systemEventKindNamesOf, systemEventKindsOfFamily, systemEventSummaryScheduleOf, systemEventSummarySplitOf, systemFamilyOfKind, systemRuleKindOf, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, terminalSessionCapability, textToHtml, timeOfDayToMinutes, toAppLinkHubOrigin, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, unreachableExtensionSlotRow, unwrapSchema, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateComposition, validateCustomAddress, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorIndexDimConflictError, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerLinkBaseOf, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withLocationMode, writeModelBoundSetting, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
75765
|
+
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPEARANCE_BIN_COUNT, APPEARANCE_BLOCKS, APPEARANCE_DESCRIPTOR_VERSION, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT, APPLE_SA_TO_MACRO, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_CHUNK_FORMATS, AUDIO_MACRO_LABELS, AUDIO_NOT_CLASSIFIED_REASONS, AUDIO_PRESETS, AUDIO_SCALE_EPOCH_ISO, AUDIO_SCALE_EPOCH_MS, AUTOMATIC_HUB_ADDRESS_FLAGS, AUTO_SHARE_HEADROOM, AUTO_TUNE_FAMILY, AcceleratorKindSchema, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdminLinkTargetEnum, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, AnalyticsLtsSeriesSchema, ApiKeyRecordSchema, ApiKeySummarySchema, AppleFmAvailabilitySchema, AppleFmUnavailableReasonSchema, ArchiveEntrySchema, ArchiveManifestSchema, ArchiveSqliteSnapshotSchema, ArchivedDebugNoteQueryInputSchema, ArchivedDebugNoteSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioChunkFormatSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioClassifyOutcomeSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioDetachDeviceResultSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AudioStreamPickSchema, AuthResultSchema, AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, AutoTuneOptionsSchema, AutoTunePhaseResultSchema, AutoTunePlanSchema, AutoTuneWarningSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BASE_DEVICE_CAPS, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BIRTH_DECISION_DEFAULT_LIMIT, BOOT_RECOVERY_BACKOFF_MS, BUILTIN_RESULT_KINDS, BackgroundRunRegistry, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupTriggerResultSchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BirthDecisionQueryInputSchema, BirthDecisionRecordSchema, BirthDecisionVerdictSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerInfoSchema as UnifiedBrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, BulkRecordSchema, CAMERA_SENSORS_NOT_LOADED, CAMERA_SENSORS_SETTINGS_KEY, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAMERA_TRIGGER, CAMSTACK_APP_LINK_ORIGIN, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLASS_MAP_MACRO_TARGETS, CLIP_BROKER_PACED_RATES, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_SEARCH_STRICTNESS, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, CLIP_STRICTNESS_FACTOR, CLIP_VECTOR_INDEX_PATTERN, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, COMPOSED_DEVICE_STABLE_ID_PREFIX, COMPOSED_ITEM_FIXED_FIELDS, COMPOSER_ADDON_ID, COMPOSER_RUNNER_ID, COMPOSITION_EVENT_CATEGORY, COMPOSITION_ITEM_ARRAY_PATH, COMPOSITION_ITEM_KEY_RE, CONNECTION_TEST_TIMEOUT_MS, CONTAINER_CHILD_PRIORITY, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CROP_SUPPLY_SOURCES, CROP_SUPPLY_STEP_IDS, CUSTOMIZATION_BLOCK_NAME_PREFIX, CalendarColorSchema, CalendarEntrySchema, CalendarEventSchema, CalendarInfoSchema, CalendarListEventsInputSchema, CalendarPreferenceEntrySchema, CalendarPreferencesSchema, CalendarSetPreferenceInputSchema, CalendarSourceKindSchema, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraOccupancySnapshotForDeviceSchema, CameraOverrideClearSchema, CameraOwnMotionSchema, CameraRawLevelSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSensorAttachmentSchema, CameraSensorEntrySchema, CameraSensorModeSchema, CameraSensorRefSchema, CameraSensorsConfigSchema, CameraSensorsNotEnforcedSchema, CameraSensorsNotForwardedSchema, CameraSensorsStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CameraSwitchWarningSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CapacityFallbackSchema, CapacitySourceSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClaimOutcomeSchema, ClaimsListingSchema, ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipBytesOfferSchema, ClipBytesSchema, ClipExportFailureSchema, ClipModelMetaSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSearchStrictnessSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, ClusterModelChoiceSchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ComposableCapabilitiesSchema, ComposableCapabilitySchema, ComposableFieldSchema, ComposerApplyInputSchema, ComposerApplyResultSchema, ComposerBlockSchema, ComposerBlockVerdictSchema, ComposerUnreadableBlockSchema, CompositionBindingSchema, CompositionBlockInputSchema, CompositionBlockStateSchema, CompositionCodeSourceSchema, CompositionCommandTargetSchema, CompositionCustomizationReadSchema, CompositionEventPlanSchema, CompositionExistingTargetSchema, CompositionExpressionSourceSchema, CompositionFeatureModeSchema, CompositionFeaturePlanSchema, CompositionFeatureSchema, CompositionFieldItemSchema, CompositionFieldKindSchema, CompositionFieldPlanSchema, CompositionFieldReadSchema, CompositionFieldRoleSchema, CompositionFieldSourceSchema, CompositionFieldStateKindSchema, CompositionFieldStateSchema, CompositionFieldsFeatureSchema, CompositionForwardCommandSchema, CompositionFromSourceSchema, CompositionGetReadSchema, CompositionGraphError, CompositionItemEntrySchema, CompositionListReadSchema, CompositionLiteralBindingSchema, CompositionNewTargetSchema, CompositionPassthroughFeatureSchema, CompositionProblemCodeSchema, CompositionProblemSchema, CompositionRunStatusSchema, CompositionSchema, CompositionSourceRefSchema, CompositionStateReadSchema, CompositionTargetSchema, CompositionUnavailableModeSchema, CompositionValidationSchema, CompositionViewSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumableRemainingSchema, ConsumableRemainingUnitSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileInputSchema, CoreBlockCompileResultSchema, CoreBlockFilesSchema, CoreBlockInputFieldsSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockSourceSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATABASE_SNAPSHOT_PARTIAL_SUFFIX, DATABASE_SNAPSHOT_SUFFIX, DATABASE_SNAPSHOT_TIMEOUT_MS, DATAPLANE_SECRET_HEADER, DAYS_PER_WEEK, DAY_NAMES, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CAMERA_FPS, DEFAULT_CAMERA_SENSOR_MODE, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_CORE_BLOCK_ENTRY, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, DEFAULT_HEADROOM, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_MIN_SESSIONS_PER_DEVICE, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_OVERLAY_LAYERS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SESSION_PLACEMENT_POLICY, DEFAULT_SHARE_SOURCE, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DEFAULT_TOKEN_EXPIRY, DERIVED_CAMERA_SILENCED_CAP_NAMES, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DETECTOR_ACCURACY, DETECTOR_PERF, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_CHILDREN_BATCH_MAX, DEVICE_DO_ACTIONS, DEVICE_PROFILES, DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_DO_CAPS, DEVICE_TYPE_INFO, DISPLAY_ICON_GROUPS, DISPLAY_ICON_KEYS, DISPLAY_ICON_OFFERED_KEYS, DISPLAY_ICON_VOCABULARY, DOORBELL_RISE_DEBOUNCE_MS, EngineInfoSchema as DataStoreEngineInfoSchema, DatabaseSnapshotResultSchema, DatabaseSnapshotTableSchema, DatabaseSnapshotTargetsSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionCatalogClassMapSchema, DetectionSourceSchema, DetectionSourcesSchema, DetectorStoreClearSchema, DeviceAdminLinkSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceModelChoiceSchema, DeviceNetworkStatsSchema, DeviceRecommendationSchema, DeviceRestoreRetryScheduler, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiagnosticIdSchema, DiagnosticWindowPatchSchema, DiagnosticWindowSchema, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EMBEDDING_MODEL_FAILED, EMBEDDING_REQUIREMENTS_FAILED, EMBEDDING_REQUIREMENTS_UNAVAILABLE, EVENTFUL_CAP_NAMES, EVENT_DENSITY_BATCH_MAX, EVENT_KIND_BY_CAP, EVENT_KIND_LABELS, EVENT_KIND_LABEL_KEYS, EVENT_OWNER_TYPES, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EXTENSION_HOST_DEVICE_TYPES, EXTENSION_SLOTS, EXTENSION_SLOT_IDS, EXTENSION_SLOT_LISTING_METHOD, EXTENSION_SLOT_REF_SEPARATOR, EffectiveDeviceShareSchema, EffectiveNodeShareSchema, EffectiveSharesSchema, EffectiveTuningSchema, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingFailedModelSchema, EmbeddingFailedRequirementSchema, EmbeddingInfoSchema, EmbeddingRefusalCodeSchema, EmbeddingResultSchema, EmbeddingTowerSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventDensityBucketSchema, EventDensityForDeviceSchema, EventEmitterStatusSchema, EventFireSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventOwnerTypeSchema, EventSourceType, ExportBytesSchema, ExportClipSubjectSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportFootageSubjectSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportSubjectSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, ExtensionCandidateSchema, ExtensionCandidatesSchema, ExtensionSetResultSchema, ExtensionSetSlotInputSchema, ExtensionSlotActivationSchema, ExtensionSlotIdSchema, ExtensionSlotRefInputSchema, ExtensionSlotRowSchema, ExtensionSlotSourceSchema, ExtensionSlotStateSchema, ExtensionSlotUnreachableSchema, ExtensionSlotValueSchema, ExtensionSourceAvailabilitySchema, ExtensionSourceHealthSchema, ExtensionSourceSchema, FEEDER_EXAMPLE_ADDON_ID, FEEDER_EXAMPLE_HA_DEVICE_ID, FFMPEG_PATH_ENV, FIRST_LEVEL_MACRO_CLASSES, FRIGATE_PLUS_CLASS_FLOORS, FRIGATE_PLUS_TO_MACRO, FRIGATE_PLUS_UNMAPPED_LABELS, FRIGATE_STOCK_CLASS_FLOORS, FULL_IMAGE_BBOX, FailureContributionSchema, FailureCounters, FailureReasonCountSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FieldClaimModeSchema, FieldClaimSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, G711_SCALE_CORRECTION_DB, GasStatusSchema, GetLoggingSettingsInputSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, GridLayoutPatchSchema, GridLayoutViewSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HOURS_PER_DAY, HUB_ADDRESS_ROLES, HUB_VIEWER_MOUNT, HWACCEL_OPTIONS, HardwareClassIdSchema, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HubAddressRoleSchema, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, INVERTIBLE_CAPS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LABEL_SUPPLY_MACRO, LABEL_SUPPLY_STEP_IDS, LABEL_SUPPLY_VOCABULARIES, LEGACY_READ_ONLY_CONFIG_KEY, LINKED_DEVICES_SLOT, LINKED_LABEL_STEP_PREFIX, LOAD_CONTRIBUTION_ATTRIBUTIONS, LOAD_CONTRIBUTION_ROLES, LOCATION_DESCRIPTION_MAX, LOCATION_ICON_FALLBACK, LOCATION_ICON_IDS, LOG_CHANNEL_TICK_MS, LOG_LEVEL_RANK, LTS_SCOPE_CLASS_SEPARATOR, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LedgerWalkDeviceReportSchema, LedgerWalkInputSchema, LedgerWalkRefusalSchema, LedgerWalkReportSchema, LedgerWalkSkipCountsSchema, LedgerWalkSkipReasonSchema, LegacyStorageLocationDefaultSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LinkedDevicesSlotValueSchema, ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRefusalSourceSchema, LlmRetryPolicySchema, LlmRuntimeAppleCompleteInputSchema, LlmRuntimeCancelInputSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LoadBalancingSharesInputSchema, LoadContributionSchema, LocateSegmentResultSchema, LocationDescriptionAssignmentSchema, LocationIconAssignmentSchema, LocationIconIdSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogChannelApplyResultSchema, LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowPatchSchema, LogChannelWindowSchema, LogChannelWindowStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoggingEffectiveSchema, LoggingExplicitSchema, LoggingLevelLayerSchema, LoggingLevelSourceSchema, LoggingScopeKindSchema, LoggingSettingsPatchSchema, LoggingSettingsStateSchema, LoginMethodContributionSchema, LoginStageEnum, LtsBucketSchema, MACRO_LABELS, MASK_EMITTING_POSTPROCESSORS, MASK_SUPPLY_STEP_IDS, MAX_ARCHIVED_DEBUG_NOTES, MAX_BIRTH_DECISION_RECORDS, MAX_BIRTH_LATENCY_PROXY_MS, MAX_CAMERA_SENSORS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_COMPOSITION_CODE_LENGTH, MAX_COMPOSITION_FEATURES, MAX_COMPOSITION_FIELDS_PER_FEATURE, MAX_COMPOSITION_ITEMS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, MAX_KEYS, MAX_REASONS_PER_KEY, MAX_SENSOR_TRIGGER_DEVICES, MAX_TRACK_DEBUG_NOTE_LEN, MAX_TRACK_PURITIES, MAX_TRACK_RELATIONS, MEDIA_OWNER_TYPES, MEDIA_PRESENCE_OWNER_KINDS, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MINUTES_PER_DAY, MIN_SESSIONS_PER_DEVICE_RANGE, MODEL_FORMATS, MODEL_HOSTING, MODEL_PROVIDER_IDS, MOTION_CLOSE_AFTER_MS, MOTION_SOURCE_LABELS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileKindEnum, MediaFileRefSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MediaPresenceOwnerKindSchema, MediaRelocateModeSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MigrateDeviceResultSchema, MigrateSwitchOutcomeSchema, MigrateSwitchReportSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatPrecisionSchema, ModelFormatsSchema, ModelLicenseSchema, ModelOnDiskStateSchema, ModelPinChangeSchema, ModelProviderIdSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionTriggeredBySchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, BrokerInfoSchema$1 as MqttBrokerInfoSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NAVIGATION_ACTION_CATALOG, NAVIGATION_LIGHT_LEVEL_MAX, NAVIGATION_LIGHT_LEVEL_MIN, NC_ALARM_CONTROLLABLE_CAPS, NC_ALARM_DEFAULT_PROFILE_ID, NC_ALARM_DEFAULT_PROFILE_NAME, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, NC_ALARM_DELAY_FIELDS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_NOTIFY_FIELDS, NC_ALARM_OPENING_EVENT_KINDS, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_DEFAULT_DELAYS, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_CONFIRM_HITS_DEFAULT, NC_AUDIO_CONFIRM_HITS_MAX, NC_AUDIO_CONFIRM_HITS_MIN, NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_CLEARABLE_KEYS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_RETIRED_CLEAR_KEYS, NC_RULE_SECTIONS, NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SERVER_PACKAGE_NAME, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_FILTER_KEYS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_SYSTEM_RULE_KINDS, NC_TANK_SYSTEM_EVENT_KINDS, NC_TAXONOMY, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NC_UPDATE_EVENT_PACKAGE_NAMES, NETWORK_LINK_TYPES, NETWORK_LINK_UNKNOWN, NO_MEASURED_CAPACITY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionOptionsSchema, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionSettingsPatchSchema, NativeObjectDetectionStatusSchema, NativeObjectGeometryEnum, NavigationActionEntrySchema, NavigationActionIdSchema, NavigationEntryKindSchema, NavigationFeaturesSchema, NavigationLightModeSchema, NavigationModeSchema, NavigationMoveCommandSchema, NavigationPointSchema, NavigationRuntimeStateSchema, NavigationStatusSchema, NcActionBindingSchema, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, NcAlarmConfigSchema, NcAlarmCreateProfileInputSchema, NcAlarmModeCoverageSchema, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, NcAlarmModeDeviceListSchema, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, NcAlarmPostTriggeredActionSchema, NcAlarmProfileIdInputSchema, NcAlarmProfileMetaSchema, NcAlarmProfilesViewSchema, NcAlarmRenameProfileInputSchema, NcAlarmSecureOnArmEditSchema, NcAlarmSecureOnArmOffSchema, NcAlarmSensorReadingSchema, NcAlarmSensorStateSchema, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcClipRetentionAskSchema, NcClipRetentionPlanSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcHookBindingsSchema, NcLegacyRuleActionSequenceSchema, NcLinkedCameraModeSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleClearableKeySchema, NcRuleInputSchema, NcRuleKindSchema, NcRuleLastRunSchema, NcRuleLastRunsSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcRuleUpdateInputSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSensorTransitionSchema, NcSharedSequenceInputSchema, NcSharedSequenceSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, NcStateSummaryPreviewSectionSchema, NcStateSummarySectionIdSchema, NcStateSummarySplitSchema, NcSystemEventConditionSchema, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTemplateFamilySchema, NcTemplateFieldSchema, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, NcTemplateVarContextSchema, NcTemplateVarDescriptorSchema, NcTemplateVarGroupSchema, NcTemplateVarKindSchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NetworkLinkStatusSchema, NodeDeviceChangeSchema, NodeDirectoryEntrySchema, NodeDirectorySchema, NodeRecommendationSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OVERFLOW_REASON, OVERLAY_LAYERS, OWNER_ONLY_EVENT_CATEGORIES, OauthIntegrationDescriptorSchema, ObjectEventSchema, OccupancyBurstRefusalSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, OnboardFieldSupportSchema, OnboardRecordTrackSchema, OnboardScheduleSupportSchema, OnboardStorageSchema, OnboardStorageVolumeSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdNamedTemplateSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, OsdTemplateBindingSchema, OsdTemplateFormatSchema, OsdTemplatePickSchema, OsdTemplateTokenKindSchema, PEER_BYTES_CHUNK_BYTES, PEER_BYTES_MAX_OUTSTANDING, PEER_BYTES_STALL_MS, PEER_BYTES_TICKET_TTL_MS, PENDING_BLOCK_ID, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_ANALYTICS_CAP_NAME, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PROVIDER_PIN_FIELD, PUBLIC_ENDPOINT_HTTP_REASON, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PeerBytesTicketSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelFormatStatusSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PlacementDeviceStatsSchema, PlacementNodeStatsSchema, PlacementStatsInputSchema, PlacementStatsSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProbeTargetConfigResultSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderMotionDataSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzHomePresetSchema, PtzHomeReturnSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetFunctionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECALL_TIE, RECOGNITION_TYPES, RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, RECORDING_EXPORT_MAX_READ_BYTES, RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RECORDING_TIMELINE_BATCH_MAX, REDACTED_SECRET, REMOVED_MODEL_IDS, RESERVED_BINDING_NAMES, RESERVED_COLLECTION_SOURCES, RESTORED_CAP_NAMES, ROOM_EXAMPLE_MOTION_SOURCES, ROOM_EXAMPLE_TEMPERATURE_SOURCES, ROOM_OCCUPANCY_WINDOW_MS, ROOT_BUCKET_KEY, ROOT_CHILD_CONTAINMENT_MIN, ROOT_FACE_REFINE_INPUT_PX, ROOT_FACE_REFINE_SCALE, ROOT_SUPPLIABLE_STEP_IDS, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadWindowBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RebuildObjectEmbeddingsRefusalSchema, RecentTracksPageSchema, RecentTracksQueryInput, RecommendationReasonSchema, RecordTriggerSchema, RecordWindowSchema, RecordingAvailabilityForDeviceSchema, RecordingAvailabilitySchema, RecordingBandAudioSchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysForDeviceSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingObjectTriggerClassSchema, RecordingOnboardOptionsSchema, RecordingOnboardPatchSchema, RecordingOnboardStatusSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingSignalRuntimeStateSchema, RecordingSignalStatusSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RelocateResidueInputSchema, RelocateResidueSchema, RenderedAsSchema, ReportMotionInputSchema, ReportedFailureContributionSchema, ReportedLoadContributionSchema, RequestCensusGroupSchema, RequestCensusProcedureSchema, RequestCensusSnapshotSchema, RequestCensusStatusSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RootStepSupplySchema, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SENSOR_FEATURES, SENSOR_MAP, SESSION_PLACEMENT_SETTING_KEY, SHARE_SOURCE_SETTING_KEY, SHARE_VIEW_KINDS, SINGLE_HUB_ADDRESS_ROLES, SOURCE_CAPS, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_DEVICE_TYPES, SOURCE_INFO_METADATA_KEY, STATE_LABELS, STATE_LABEL_KEYS, STATIONARY_OVERLAY_STYLE, STORAGE_ACCESS_FALLBACK, STORAGE_BYTES_PER_GB, STORAGE_LOCATION_MODES, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateOutcomeSchema, ServerUpdateStateSchema, SessionPlacementPolicySchema, SessionTriggerSchema, SetCameraSensorsInputSchema, SetLoggingSettingsInputSchema, SetShareSourceInputSchema, SetSiteLocationInputSchema, SetTrackPurityInputSchema, SetTrackPurityResultSchema, SetTrackRelationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShareSourceSchema, ShareWeightsSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SiteZoneSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StaleDevicePinSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, StorageAccessSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, StorageCleanupInputSchema, StorageCleanupJobSchema, StorageCleanupPhaseSchema, StorageCleanupStatusInputSchema, StorageDrainProgressSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, StorageEvictionPolicySchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationModeSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationDrainInputSchema, StorageMigrationFindingCodeSchema, StorageMigrationFindingSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLaneSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationModeSchema, StorageMigrationMoveProgressSchema, StorageMigrationMoveSchema, StorageMigrationMoverSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, StorageMigrationResidueSchema, StorageMigrationSourcesSchema, StorageOccupancyReportSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSignalSchema, StreamSignalsStatusSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SuggestSharesInputSchema, SuggestSharesResultSchema, SuggestedDeviceShareSchema, SuggestedNodeShareSchema, SuppliedRootOutputSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRACK_RELATIONS_DEFAULT_LIMIT, 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, TrackPuritySchema, TrackPurityValueSchema, TrackRelationKindSchema, TrackRelationRefusalSchema, TrackRelationSchema, TrackSchema, TrackSideSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TransportPlaneCountsSchema, TransportPlaneSchema, TurnServerSchema, UNATTRIBUTED_BUCKET_KEY, UNIT_TABLE, USE_ROOT_MODEL_DEFAULTS, USE_ROOT_MODEL_SETTING_KEY, UnitConversionError, UnstampedEventMediaCountSchema, UnstampedRowsSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VECTOR_INDEX_DIM_CONFLICT, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_EGRESS_PROFILE, WEBRTC_TRY_BLOCKERS, WEEKLY_MASK_LENGTH, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcClimbHoldSchema, WebrtcLadderDecisionSchema, WebrtcSessionDebugSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WebrtcTierFailureSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, WrapperActivationReadSchema, WrapperEvidenceSchema, WrapperIdentitySchema, WrapperKindSchema, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, __resetLogChannelRegistryForTests, acceleratorKindOf, accessoriesCapability, accessoryStableId, actionsForBoundCaps, actionsForDevice, actionsForDeviceType, actionsForDevices, activateAlarmProfile, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPanelCapability, alarmPatchLanded, alarmProfileById, alertsCapability, allDoActions, allowedSuppliedEffect, ambientLightSensorCapability, applyBlockingEdit, applyModeDelaysEdits, applyModeDeviceListEdit, applyModelBoundSettings, applyNonBlockingEdit, applySecureOnArmEdit, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioChunkBytesPerSample, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, audioScaleEraOf, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildCapabilityLookup, buildDeviceAdminUrl, buildDoorbellCompositionFeature, buildEventKindDescriptor, buildFfmpegArgs, buildFrigateClassMap, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buildViewerLink, builtCapabilityBlockers, buttonCapability, calendarSourceCapability, calendarsCapability, cameraCredentialsCapability, cameraGridLayoutCapability, cameraOwnsMotionViaSensor, cameraPipelineConfigCapability, cameraSensorRefKey, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, capacitySessionsOf, carbonMonoxideCapability, cellsToRects, checkRoleAddress, classifyBearerPrincipal, classifyInferenceHardware, classifyStream, classifyStreams, clearModelBoundOverrides, clearModelBoundSetting, climateControlCapability, clipExportFailure, clipExportFailureOf, clipReasonHeaderValue, cloneAlarmSettings, cloneStatefulExpressionMemory, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, codecIsAccepted, collectHydratedFieldEntries, collectHydratedFieldValues, collectModelBoundKeys, collectSecretConfigKeys, colorCapability, colorForKind, commitWatchdogRestart, compareToTarget, compileExpression, compileExpressionSafe, composeSwitchedOff, composedDeviceRef, composedDeviceStableId, composerCapability, compositionEdges, compositionFeatureEnabled, compositionFieldKey, compositionItemFieldPath, compositionReadKey, compositionSliceKey, compositionSourceKey, compositionSourceRefs, computeCapacityShares, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumableLowPercentOf, consumablesCapability, contactCapability, containingParentIndex, controlCapability, convertPresetFeature, convertUnit, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createAlarmProfile, createDeviceExtensionProvider, createDeviceProxy, createDurableState, createEvent, createEventBusSliceSource, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createLogChannelsProvider, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createStatefulExpressionMemory, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, databaseSnapshotCapability, dayNightCapability, dayOfWeekToIndex, declarationOwnerNodeId, declareLogChannel, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, defineExtensionSlotProvider, deleteAlarmProfile, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveMaskSupplies, derivePostTriggeredAction, deriveRecordingMode, deriveRootFaceRefineRect, deriveRootSupplies, describeComposableCaps, describeCustomActions, describeModelVariant, describeOnboardClamp, describeOnboardRefusal, describeRootSupplies, describeRootSupply, describeStateField, describeSystemEventDeliveryProblem, describeSystemEventFamilyProblem, describeTopLevelStateFields, detectAccessRole, detectionPipelineCapability, deviceAdminLinkCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceDoFamily, deviceExportCapability, deviceExtensionCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, diffStepSettings, disarmRoseMemory, displayIconEntry, displayIconsInGroup, doActionSelectValue, doorbellCapability, doorbellFeatureSources, droppedConditionsForKind, effectiveStepSettings, egressTranscodeSharingKey, egressTransportFromRequest, electByShare, embeddingEncoderCapability, embeddingModelFailedError, embeddingModelFailedOf, embeddingRefusalOf, embeddingRequirementsFailedError, embeddingRequirementsUnavailableError, emitDownForOwnedCaps, emitReadiness, emitsCollectionSelector, encodeProfileFromStreamShape, encodeVectorBase64, ensureAlarmProfiles, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateCompositionField, evaluateCount, evaluateExpressionSource, evaluatePoolMemory, evaluateRose, evaluateSensorEdge, evaluateSensorLevelEdge, evaluateStatefulExpressionCall, evaluateZoneRules, event, eventEmitterCapability, eventKindLabel, evictionPolicyForMode, evictionPolicyOfLocation, expandAudioChunkToF32le, expandCapMethods, expandContainer, exportSubjectOf, exposeBlockDevices, expressionContainsBuiltinCall, extensionSlotRef, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, failureContributionCapability, failureRate, fanControlCapability, featureFieldEntries, featureProbeCapability, featureSources, feederCustomizationExample, feederExampleSources, ffmpegRate, fieldReads, fieldUnitKeys, fieldsPinnedAtValueBelow, filesystemBrowseCapability, findCandidateCycles, findCompositionCycles, findTimezone, floodCapability, foldSnapshotByFunction, formatForRuntime, formatMediaOwnerKey, formatMinutes, formatParkedFor, frigateDefaultClassFloors, frigateLabelFields, gasCapability, gbToBytes, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getLogChannelRegistry, getTaxonomyEntry, gifDeriveSpeed, gifFilterComplex, gifFromMp4Args, hasModelBoundOverrides, hasMotionTrigger, hfModelUrl, htmlToText, hubAddressHostname, hubMotionNativeProvider, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, inferExpressionKinds, inferModelProvider, initialPoolMemoryState, integrationsCapability, intercomCapability, interpretStoredClusterModel, invalidClusterStepModelEntries, invertPresetFeature, invocationFromEncodeProfile, isAgentOnlyPlacement, isAlarmControllableCap, isAppLinkBase, isArrayOutputSchema, isAudioChunkFormat, isAudioClassName, isAudioLabelSelected, isAudioRule, isAutomaticShareSource, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDefaultAlarmProfileId, isDefaultAppConnectionEndpoint, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isDisplayIconKey, isDoActionActuatable, isDoPickerDeviceType, isEmbeddingModelFailed, isEvent, isEventKindLabelKey, isEventOwnerType, isFirstLevelMacroClass, isHeldBackTemplateVar, isIsolatedBuiltin, isKnownTemplateVar, isLabelSupplyStepId, isLocationEnabled, isMediaOwnerType, isNode, isObjectInput, isOccupancyRule, isOwnerOnlyEventCategory, isRemovedModelId, isRestoredCap, isRetiredClearKey, isRootSuppliableStepId, isSameAddonId, isScheduleActive, isSecretConfigField, isSingleHubAddressRole, isSoftwareDecode, isSourceCap, isStateLabelKey, isStatefulBuiltin, isStorageLocationMode, isSystemDelivery, isSystemEventFamily, isSystemEventSummaryRule, isSystemRuleKind, isVectorIndexDimConflict, isVoidInput, ituDbfsFromPreEpoch, jobKindSchema, kebabToCamel, kindOfValue, kindsForDiscriminator, knownValues, lawnMowerControlCapability, legacyAutoLinkIds, legacyModeOf, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, linkedLabelStepId, linkedStepOf, llmCapability, llmRuntimeCapability, loadContributionCapability, localNetworkCapability, locationIconKey, locationSimilarity, lockControlCapability, logBannerArgs, logChannelsCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, matchDoAction, mayReadLocation, mayWriteToLocation, mediaPlayerCapability, memoizePinnedFfmpeg, mergeSettingsBags, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, migrateLegacyDeviceSignalConfig, minutesToTimeOfDay, modeMayRead, modeMayWrite, modelBindingKey, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionSourceLabel, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, navigationCapability, ncAlarmSystemDefaultSettings, networkAccessCapability, networkLinkCapability, networkQualityCapability, nodePickerItems, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeCoreBlockWrite, normalizeNodeId, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, occupancyScope, optionalAncestors, optionalMethod, osdCapability, osdManagerCapability, overlayClusterStepSettings, packagePickerItems, parseAdminBase, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseMediaOwnerKey, parseOccupancyScope, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseSessionPlacementPolicy, parseShareSource, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickAppLinkHub, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickInvalidClusterStepModels, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pickerForRuleClasses, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, planComposition, planCompositionEvents, planItems, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, providerMotionEvent, ptzAutotrackCapability, ptzCapability, publicEventCategories, pythonScriptForBackend, rankStreams, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readHubMotionDetected, readHubMotionStatus, readMotionTriggeredBy, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readUseRootModel, readinessKey, rebootCapability, recommendNode, reconcileBlockDevices, recordingArchiveCapability, recordingCapability, recordingExportCapability, recordingOnboardCapability, recordingSignalCapability, rectsToCells, reducePoints, renameAlarmProfile, replacedFieldKeys, requiredTopLevelKeys, requiresPython, reservedSourceOwner, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAppConnections, resolveBucketMs, resolveCapMount, resolveClipSearchMinScore, resolveClusterStepModelId, resolveContainerPrimaryChild, resolveCoreBlockEntry, resolveCoreBlockFiles, resolveCreateExportSubject, resolveDeviceControlKind, resolveDeviceProfile, resolveEffectiveShares, resolveEgressDecodeHwAccel, resolveExportProfiles, resolveFormat, resolveHubAddressRoles, resolveHydratedFieldValue, resolveInternalAddress, resolveLocationIcon, resolveLocationMode, resolveMethodAuth, resolveModeDelays, resolveModeNotifyPolicy, resolveModelBoundSetting, resolveMutate, resolveNotificationTapAddress, resolvePoolMemoryPolicy, resolvePublicEndpoint, resolveRecordingProfiles, resolveRootSupply, resolveRunnerId, resolveStreamMaps, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, roomCompositionExample, rootSuppliesOf, rootSupplyServes, ruleAutoTriggersAlarm, ruleBelongsToAlarm, ruleDeviceCompatCapNames, ruleDeviceCompatCapQueries, ruleEditorSectionsForKind, ruleGatedOnArmedState, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sameDoFamily, sceneMonitorCapability, scheduleForSendTimes, schemaDeclaresAnyField, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, searchDisplayIcons, secureActuationFor, selectAppConnectionEndpoints, selectAssignedProfileSlots, sendTimesForEditor, sendTimesOfSchedule, sensorRaisedOf, sensorTransitionNeverFires, sensorTransitionOffered, servedTemplateVars, serverManagementCapability, setByPath, settingValuesEqual, settingsBelow, settingsStoreCapability, signalPercentFromBars, signalPercentFromRssi, siteZoneKey, sleep, sleepCancellable, sliceActiveValue, sliceChangedAt, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateLabel, stateVocabularyFor, stepModelRunsOnFormat, stepSettingSource, storageCapability, storageEvictableCapability, storageMigrationCapability, storageOccupancyCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamSignalsCapability, stripRetiredBandPreBufferSec, strippedOfLegacyReadOnly, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supplyFor, supportedRuntimes, switchCapability, switchedOffIds, syncActiveAlarmProfileSettings, synthesizeSourceInfo, systemCapability, systemEventDeliveryProblems, systemEventFamilyOf, systemEventFamilyProblems, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, systemEventKindNamesOf, systemEventKindsOfFamily, systemEventSummaryScheduleOf, systemEventSummarySplitOf, systemFamilyOfKind, systemRuleKindOf, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, terminalSessionCapability, textToHtml, timeOfDayToMinutes, toAppLinkHubOrigin, toDeviceSummary, toExpressionValue, toNodeId, toPercentShares, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, unreachableExtensionSlotRow, unwrapSchema, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateComposition, validateCustomAddress, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorIndexDimConflictError, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerLinkBaseOf, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, weeklyMaskIndex, weeklyMaskIsUniform, weeklyMaskToWindows, windowsToWeeklyMask, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, withFieldFrom, withLocationMode, withoutField, writeModelBoundSetting, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|