@camstack/addon-pipeline 1.2.219 → 1.2.221
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/audio-analyzer/index.js +661 -7
- package/dist/audio-analyzer/index.mjs +658 -5
- package/dist/chunk-emK7D4bc.js +35 -0
- package/dist/{default-detection-model-d7-Q_LMo.js → default-detection-model-B1NT1A38.js} +1 -1
- package/dist/{default-detection-model-Dsk1a5pY.mjs → default-detection-model-DkVFgubU.mjs} +1 -1
- package/dist/detection-pipeline/index.js +10 -9
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-wtNhtVVo.js → dist-ATDfcxgL.js} +282 -39
- package/dist/{dist-CKK0CBUW.mjs → dist-CEFC3PkP.mjs} +265 -5
- package/dist/{lazy-sharp-zoQ07I43.js → lazy-sharp-BuwKlQLR.js} +2 -2
- package/dist/motion-wasm/index.js +2 -2
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-BduNi21Z.js → node-C5jnTgpv.js} +4 -3
- package/dist/{node-CrNBWFbA.mjs → node-DR3fHqUq.mjs} +1 -1
- package/dist/pipeline-runner/index.js +222 -157
- package/dist/pipeline-runner/index.mjs +218 -154
- package/dist/{process-memory-Dwl0MFPH.js → process-memory-DQbCPnMA.js} +3 -2
- package/dist/{process-memory-BRQOtDN1.mjs → process-memory-DqYj5IAb.mjs} +1 -1
- package/dist/recorder/index.js +344 -127
- package/dist/recorder/index.mjs +342 -126
- package/dist/{segment-demux-js-D2o9ShNL.mjs → segment-demux-js-CddDwD69.mjs} +1 -1
- package/dist/{segment-demux-js-CFOU3biG.js → segment-demux-js-o9KBAz9p.js} +4 -3
- package/dist/session-decode/decode-worker-child.js +155 -74
- package/dist/session-decode/decode-worker-child.mjs +154 -73
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DN_IoShh.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-D5XnLZWR.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CyMYDKfM.mjs +26 -0
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DICVQkNi.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CKUGpDns.mjs} +1 -1
- package/dist/stream-broker/demux-worker-child.js +1 -1
- package/dist/stream-broker/demux-worker-child.mjs +1 -1
- package/dist/stream-broker/{hostInit-n7c9pNlt.mjs → hostInit-C-VdcJS2.mjs} +3 -3
- package/dist/stream-broker/index.js +231 -112
- package/dist/stream-broker/index.mjs +224 -106
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/worker-protocol-B2MfQLlu.js +184 -0
- package/dist/worker-protocol-C_W-P_g-.mjs +161 -0
- package/package.json +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-7hqrrd88.mjs +0 -26
- package/dist/worker-protocol-Cx3Nqreq.mjs +0 -264
- package/dist/worker-protocol-iWTFnnUM.js +0 -299
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
//#region src/session-decode/native-lease-knobs.ts
|
|
2
|
+
/** Every knob, in the order the spawn line names them. */
|
|
3
|
+
var NATIVE_LEASE_KNOB_NAMES = [
|
|
4
|
+
"holdFrames",
|
|
5
|
+
"budgetMb",
|
|
6
|
+
"activityMs",
|
|
7
|
+
"admission",
|
|
8
|
+
"tileBudgetMb",
|
|
9
|
+
"sceneBudgetMb"
|
|
10
|
+
];
|
|
11
|
+
/** The numeric knobs — every knob but `admission`. */
|
|
12
|
+
var NATIVE_LEASE_NUMBER_KNOBS = [
|
|
13
|
+
"holdFrames",
|
|
14
|
+
"budgetMb",
|
|
15
|
+
"activityMs",
|
|
16
|
+
"tileBudgetMb",
|
|
17
|
+
"sceneBudgetMb"
|
|
18
|
+
];
|
|
19
|
+
var KNOB_SOURCES = [
|
|
20
|
+
"setting",
|
|
21
|
+
"env",
|
|
22
|
+
"default"
|
|
23
|
+
];
|
|
24
|
+
function isRecord$1(value) {
|
|
25
|
+
return typeof value === "object" && value !== null;
|
|
26
|
+
}
|
|
27
|
+
function isNonNegativeInteger(value) {
|
|
28
|
+
return typeof value === "number" && Number.isInteger(value) && value >= 0;
|
|
29
|
+
}
|
|
30
|
+
function isAdmission(value) {
|
|
31
|
+
return value === "all" || value === "inferred";
|
|
32
|
+
}
|
|
33
|
+
function isKnobSource(value) {
|
|
34
|
+
return typeof value === "string" && KNOB_SOURCES.some((s) => s === value);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Shape guard for the wire. The parent already bounded every value through the
|
|
38
|
+
* knob's own Zod schema; what is checked here is what a store constructor would
|
|
39
|
+
* otherwise turn into a silent misconfiguration — a non-integer, a negative
|
|
40
|
+
* budget, a hold of zero (a worker that holds nothing can crop nothing), an
|
|
41
|
+
* admission word that is neither mode, a source that names no level.
|
|
42
|
+
*/
|
|
43
|
+
function isWorkerLeaseKnobs(value) {
|
|
44
|
+
if (!isRecord$1(value) || !isRecord$1(value.values) || !isRecord$1(value.sources)) return false;
|
|
45
|
+
const { values, sources } = value;
|
|
46
|
+
for (const knob of NATIVE_LEASE_NUMBER_KNOBS) if (!isNonNegativeInteger(values[knob])) return false;
|
|
47
|
+
if (!isNonNegativeInteger(values.holdFrames) || values.holdFrames < 1) return false;
|
|
48
|
+
if (!isAdmission(values.admission)) return false;
|
|
49
|
+
return NATIVE_LEASE_KNOB_NAMES.every((knob) => isKnobSource(sources[knob]));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The one-line spawn diagnostic. Names the effective value AND its source for
|
|
53
|
+
* every knob: without the source, a log saying `holdFrames=8` cannot distinguish
|
|
54
|
+
* "the operator's setting arrived" from "someone left a shell variable set", and
|
|
55
|
+
* a setting that silently fails to arrive is exactly the failure the source
|
|
56
|
+
* field exists to make visible.
|
|
57
|
+
*/
|
|
58
|
+
function formatNativeLeaseKnobs(resolved) {
|
|
59
|
+
const part = (knob) => `${knob}=${resolved.values[knob]} source=${resolved.sources[knob]}`;
|
|
60
|
+
return `native lease knobs — ${NATIVE_LEASE_KNOB_NAMES.map(part).join("; ")}`;
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/session-decode/worker-protocol.ts
|
|
64
|
+
/**
|
|
65
|
+
* Typed IPC protocol between the per-session decode coordinator (Task 3 —
|
|
66
|
+
* `child_process.fork`s the worker) and the decode-worker child
|
|
67
|
+
* (`decode-worker-child.ts`, Task 2). Pure module: no node-av, no
|
|
68
|
+
* `process.on`/`process.send` here — those live in `decode-worker-child.ts`,
|
|
69
|
+
* which documents why raw IPC is sanctioned for that file.
|
|
70
|
+
*
|
|
71
|
+
* The protocol is a request/response pull: the parent asks for the next
|
|
72
|
+
* frame (`pull`), gets back metadata + an opaque `frameId`, then asks for
|
|
73
|
+
* pixel bytes for that id with an optional ROI (`toBuffer`). No shared
|
|
74
|
+
* memory, no `/dev/shm` — frames travel as IPC messages only.
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Classify a worker diagnostic line into a {@link WorkerLogLevel}. Failure /
|
|
78
|
+
* fault lines surface at `warn` (visible at the default log level so a
|
|
79
|
+
* native-crop failure is finally seen in `addons.getLogs`); routine
|
|
80
|
+
* provenance / transition / lifecycle lines stay `debug`. Pure + exported so
|
|
81
|
+
* the mapping is unit-testable without spawning a worker.
|
|
82
|
+
*/
|
|
83
|
+
function logLevelForLine(line) {
|
|
84
|
+
return /\b(fail(?:ed|ure)?|error|exception|unhandled rejection|corrupt|EIO|EINVAL)\b/i.test(line) ? "warn" : "debug";
|
|
85
|
+
}
|
|
86
|
+
function isRecord(value) {
|
|
87
|
+
return typeof value === "object" && value !== null;
|
|
88
|
+
}
|
|
89
|
+
function isFiniteNumber(value) {
|
|
90
|
+
return typeof value === "number" && Number.isFinite(value);
|
|
91
|
+
}
|
|
92
|
+
function isWorkerFrameFormat(value) {
|
|
93
|
+
return value === "rgb" || value === "gray";
|
|
94
|
+
}
|
|
95
|
+
function isWorkerBufferFormat(value) {
|
|
96
|
+
return isWorkerFrameFormat(value) || value === "jpeg";
|
|
97
|
+
}
|
|
98
|
+
function isWorkerLogLevel(value) {
|
|
99
|
+
return value === "debug" || value === "info" || value === "warn" || value === "error";
|
|
100
|
+
}
|
|
101
|
+
function isWorkerCropRegion(value) {
|
|
102
|
+
return isRecord(value) && isFiniteNumber(value.left) && isFiniteNumber(value.top) && isFiniteNumber(value.width) && isFiniteNumber(value.height);
|
|
103
|
+
}
|
|
104
|
+
function isWorkerResizeTarget(value) {
|
|
105
|
+
return isRecord(value) && isFiniteNumber(value.width) && isFiniteNumber(value.height);
|
|
106
|
+
}
|
|
107
|
+
function isFrameImageOptions(value) {
|
|
108
|
+
if (!isRecord(value)) return false;
|
|
109
|
+
if (value.crop !== void 0 && !isWorkerCropRegion(value.crop)) return false;
|
|
110
|
+
if (value.resize !== void 0 && !isWorkerResizeTarget(value.resize)) return false;
|
|
111
|
+
if (value.format !== void 0 && !isWorkerBufferFormat(value.format)) return false;
|
|
112
|
+
return true;
|
|
113
|
+
}
|
|
114
|
+
function isNormalizedBbox(value) {
|
|
115
|
+
return isRecord(value) && isFiniteNumber(value.x) && isFiniteNumber(value.y) && isFiniteNumber(value.w) && isFiniteNumber(value.h);
|
|
116
|
+
}
|
|
117
|
+
function isVideoFrameSource(value) {
|
|
118
|
+
return isRecord(value) && typeof value.restreamUrl === "string" && isFiniteNumber(value.deviceId) && typeof value.codec === "string";
|
|
119
|
+
}
|
|
120
|
+
function isVideoFrameGenOptions(value) {
|
|
121
|
+
if (!isRecord(value)) return false;
|
|
122
|
+
if (value.fps !== void 0 && !isFiniteNumber(value.fps)) return false;
|
|
123
|
+
if (value.format !== void 0 && !isWorkerFrameFormat(value.format)) return false;
|
|
124
|
+
if (value.preRollMs !== void 0 && !isFiniteNumber(value.preRollMs)) return false;
|
|
125
|
+
if (value.preRollMaxFrames !== void 0 && !isFiniteNumber(value.preRollMaxFrames)) return false;
|
|
126
|
+
return true;
|
|
127
|
+
}
|
|
128
|
+
/** Discriminated-union guard for {@link WorkerRequest} — no `as` casts. */
|
|
129
|
+
function isWorkerRequest(value) {
|
|
130
|
+
if (!isRecord(value)) return false;
|
|
131
|
+
switch (value.kind) {
|
|
132
|
+
case "start": return isVideoFrameSource(value.source) && isVideoFrameGenOptions(value.opts) && isWorkerLeaseKnobs(value.lease);
|
|
133
|
+
case "pull": return true;
|
|
134
|
+
case "toBuffer": return isFiniteNumber(value.frameId) && (value.opts === void 0 || isFrameImageOptions(value.opts));
|
|
135
|
+
case "nativeCrop": return isFiniteNumber(value.requestId) && isFiniteNumber(value.frameId) && isNormalizedBbox(value.bbox) && (value.maxWidth === void 0 || isFiniteNumber(value.maxWidth));
|
|
136
|
+
case "cutTiles": return isFiniteNumber(value.frameId) && Array.isArray(value.bboxes) && value.bboxes.every(isNormalizedBbox);
|
|
137
|
+
case "releaseNativeLease":
|
|
138
|
+
case "markInferred": return isFiniteNumber(value.frameId);
|
|
139
|
+
case "stop": return true;
|
|
140
|
+
default: return false;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/** Discriminated-union guard for {@link WorkerReply} — no `as` casts. */
|
|
144
|
+
function isWorkerReply(value) {
|
|
145
|
+
if (!isRecord(value)) return false;
|
|
146
|
+
switch (value.kind) {
|
|
147
|
+
case "frame": return isFiniteNumber(value.frameId) && isFiniteNumber(value.timestamp) && isFiniteNumber(value.width) && isFiniteNumber(value.height) && isWorkerFrameFormat(value.format) && (value.capturedAt === void 0 || isFiniteNumber(value.capturedAt)) && (value.preRoll === void 0 || typeof value.preRoll === "boolean");
|
|
148
|
+
case "buffer": return isFiniteNumber(value.frameId) && value.bytes instanceof Uint8Array;
|
|
149
|
+
case "nativeCropResult": return isFiniteNumber(value.requestId) && value.bytes instanceof Uint8Array && isFiniteNumber(value.width) && isFiniteNumber(value.height) && (value.source === void 0 || value.source === "lease" || value.source === "tile");
|
|
150
|
+
case "nativeCropMiss": return isFiniteNumber(value.requestId) && (value.reason === void 0 || typeof value.reason === "string");
|
|
151
|
+
case "ended": return true;
|
|
152
|
+
case "ready": return typeof value.warm === "boolean";
|
|
153
|
+
case "error": return typeof value.message === "string" && (value.frameId === void 0 || isFiniteNumber(value.frameId));
|
|
154
|
+
case "log": return isWorkerLogLevel(value.level) && typeof value.message === "string";
|
|
155
|
+
case "preRollReport": return isFiniteNumber(value.offered) && isFiniteNumber(value.inferred) && isFiniteNumber(value.dropped) && isRecord(value.droppedByReason) && isFiniteNumber(value.strideMs) && typeof value.subsampled === "boolean" && isFiniteNumber(value.spanMs);
|
|
156
|
+
case "dialTiming": return isFiniteNumber(value.hwContextMs) && isFiniteNumber(value.demuxerOpenMs) && isFiniteNumber(value.decoderCreateMs) && isFiniteNumber(value.firstDecodeMs) && typeof value.streamInfoProbed === "boolean";
|
|
157
|
+
default: return false;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
//#endregion
|
|
161
|
+
export { formatNativeLeaseKnobs as i, isWorkerRequest as n, logLevelForLine as r, isWorkerReply as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-pipeline",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.221",
|
|
4
4
|
"description": "Pipeline bundle — runner, detection, motion, audio + stream broker. Multi-entry npm package shipping pipeline addons under a single bundle.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region \0virtual:mf:__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
|
|
2
|
-
var e = "__mf_init__virtual:mf:__mfe_internal__addon_stream_broker_widgets__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
|
|
3
|
-
if (!t) {
|
|
4
|
-
let n, r, i = new Promise((e, t) => {
|
|
5
|
-
n = e, r = t;
|
|
6
|
-
});
|
|
7
|
-
t = globalThis[e] = {
|
|
8
|
-
initPromise: i,
|
|
9
|
-
initResolve: n,
|
|
10
|
-
initReject: r
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var n = t.initPromise, r = "__mf_module_cache__";
|
|
14
|
-
globalThis[r] ||= {
|
|
15
|
-
share: {},
|
|
16
|
-
remote: {}
|
|
17
|
-
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
|
-
var i = globalThis[r], a, o = (e) => {
|
|
19
|
-
e.ACCESSORY_LABEL, e.ACCESS_ROLES, e.ALEXA_EGRESS_PROFILE, e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, e.AUDIO_ANALYSIS_CAP_NAME, e.AUDIO_BACKEND_CHOICES, e.AUDIO_MACRO_LABELS, e.AUDIO_PRESETS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionCandidateResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionJobSchema, e.AdoptionJobStateSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionOutcomeSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.ArchivedDebugNoteQueryInputSchema, e.ArchivedDebugNoteSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationActionSchema, e.AutomationConditionOperatorSchema, e.AutomationConditionSchema, e.AutomationControlStatusSchema, e.AutomationRecipeSchema, e.AutomationTriggerSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BASE_LIVE_EGRESS_PROFILE, e.BATTERY_DEVICE_PROFILE, e.BATTERY_UNREACHABLE_AFTER_MS, e.BIRTH_DECISION_DEFAULT_LIMIT, e.BOOT_RECOVERY_BACKOFF_MS, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BackupRunPhaseSchema, e.BackupRunSchema, e.BackupRunStateSchema, e.BackupTriggerResultSchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BirthDecisionQueryInputSchema, e.BirthDecisionRecordSchema, e.BirthDecisionVerdictSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.BulkRecordSchema, e.CAMERA_SWITCH_CATALOG, e.CAMERA_SWITCH_ORDER, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.CLASS_MAP_MACRO_TARGETS, e.CLUSTER_MODEL_SCOPED_STEPS, e.CLUSTER_MODEL_SECTION_ID, e.CLUSTER_STEP_SETTING_FIELDS, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CONNECTION_TEST_TIMEOUT_MS, e.CONTAINER_CHILD_PRIORITY, e.CORE_BLOCKS_ADDON_ID, e.CORE_BLOCK_ADDON_PREFIX, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraOccupancySnapshotForDeviceSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusDegradationReasonSchema, e.CameraStatusDegradationSchema, e.CameraStatusSchema, e.CameraStatusStageSchema, e.CameraStreamSchema, e.CameraSwitchAuthoritySchema, e.CameraSwitchGroupSchema, e.CameraSwitchIdSchema, e.CameraSwitchSchema, e.CameraSwitchUnavailableReasonSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectionTestDescriptorSchema, e.ConnectionTestInputSchema, e.ConnectionTestOutcomeSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoreBlockCompileResultSchema, e.CoreBlockInputSchema, e.CoreBlockPlacementSchema, e.CoreBlockSchema, e.CoreBlockStatusSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DECLARED_DEVICE_SWEEP_LIMIT, e.DECLARED_INTEGRATION_FIXED_KEY, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_CLUSTER_STEP_MODELS, e.DEFAULT_CLUSTER_STEP_SETTINGS, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_DETAIL_CROP_CONVENTION, e.DEFAULT_EVENTS_BAND_BUFFER_SEC, e.DEFAULT_EVENT_COLOR, e.DEFAULT_FEATURES, e.DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, e.DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, e.DEFAULT_NATIVE_LEASE_SETTINGS, e.DEFAULT_POOL_MEMORY_POLICY, e.DEFAULT_RECORDING_PROFILES, e.DEFAULT_RETENTION, e.DEFAULT_RUNTIME_STATE_DURABILITY, e.DEFAULT_TIMELAPSE_PREVIEW_TEXT, e.DEFAULT_TOKEN_EXPIRY, e.DETAIL_CROP_PADDING_FIELD, e.DETAIL_CROP_PADDING_KEY, e.DETAIL_CROP_SECTION_ID, e.DETAIL_CROP_SQUARE_KEY, e.DETECTION_MACRO_CLASSES, e.DETECTION_PIPELINE_CAP_NAME, e.DEVICE_BACKEND_TO_FORMAT, e.DEVICE_CAP_NAMES, e.DEVICE_CHILDREN_BATCH_MAX, e.DEVICE_PROFILES, e.DEVICE_RESTORE_RETRY_CONCURRENCY, e.DEVICE_RESTORE_RETRY_DELAYS_MS, e.DEVICE_SCOPED_CAPS, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATE_READERS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_CONTROL_KIND, e.DEVICE_TYPE_INFO, e.DataStoreEngineInfoSchema, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DeclaredDevices, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetailCropConventionSchema, e.DetectionCatalogClassMapSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceNetworkStatsSchema, e.DeviceRestoreRetryScheduler, e.DeviceRole, e.DeviceRuntimeState, e.DeviceSelectorSchema, e.DeviceStatusSchema, e.DeviceType, e.DiagnosticIdSchema, e.DiagnosticWindowPatchSchema, e.DiagnosticWindowSchema, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DiskReconcileJobSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENTFUL_CAP_NAMES, e.EVENT_DENSITY_BATCH_MAX, e.EVENT_KIND_BY_CAP, e.EVENT_PAD_MS, e.EVENT_TAXONOMY, e.EXPORT_DENSE_MAX_RANGES, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.EgressEncodeSchema, e.EgressRateControlSchema, e.EgressTranscodeRequestSchema, e.EgressTranscodeSchema, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventDensityBucketSchema, e.EventDensityForDeviceSchema, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventKindsForDeviceSchema, e.EventMediaArtifactSchema, e.EventMediaCoverageSchema, e.EventMediaKindSchema, e.EventMediaProductionSchema, e.EventSourceType, e.ExportBytesSchema, e.ExportDenseRangeSchema, e.ExportDenseSchema, e.ExportDownloadSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportTimelapseSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionBindingSourceSchema, e.ExpressionEvalError, e.ExpressionFieldBindingSchema, e.ExpressionGlobalBindingSchema, e.ExpressionLiteralBindingSchema, e.ExpressionParseError, e.ExpressionSourceSchema, e.FIRST_LEVEL_MACRO_CLASSES, e.FULL_IMAGE_BBOX, e.FailureContributionSchema, e.FailureCounters, e.FailureReasonCountSchema, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.Fmp4BoxSplitter, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.FrameLazyCountersSchema, e.FrameLazyMetricsSchema, e.GasStatusSchema, e.GetLoggingSettingsInputSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HAP_AUDIO_BASE, e.HAP_AUDIO_BITRATE_KBPS, e.HAP_AUDIO_VBV_KBITS, e.HAP_KEYFRAME_INTERVAL_SEC, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HfModelResolutionSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.INFERENCE_DEVICE_EXCLUSION_REASONS, e.ImageContractSchema, e.ImageContractStateSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.InferenceDeviceExclusionReasonSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LEGACY_READ_ONLY_CONFIG_KEY, e.LOAD_CONTRIBUTION_ATTRIBUTIONS, e.LOAD_CONTRIBUTION_ROLES, e.LOG_CHANNEL_TICK_MS, e.LOG_LEVEL_RANK, e.LabelAttributionSchema, e.LabelDefinitionSchema, e.LabelTierSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LedgerWalkDeviceReportSchema, e.LedgerWalkInputSchema, e.LedgerWalkRefusalSchema, e.LedgerWalkReportSchema, e.LedgerWalkSkipCountsSchema, e.LedgerWalkSkipReasonSchema, e.LegacyStorageLocationDefaultSchema, e.LinkedDeviceSchema, e.LinkedDevicesModeSchema, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmDownloadProgressSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRetryPolicySchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmTimeoutDefaults, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LoadContributionSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogChannelApplyResultSchema, e.LogChannelDescriptorSchema, e.LogChannelGate, e.LogChannelLevelSchema, e.LogChannelRegistry, e.LogChannelWindowPatchSchema, e.LogChannelWindowSchema, e.LogChannelWindowStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoggingEffectiveSchema, e.LoggingExplicitSchema, e.LoggingLevelLayerSchema, e.LoggingLevelSourceSchema, e.LoggingScopeKindSchema, e.LoggingSettingsPatchSchema, e.LoggingSettingsStateSchema, e.LoginMethodContributionSchema, e.LoginStageEnum, e.MACRO_LABELS, e.MAX_ARCHIVED_DEBUG_NOTES, e.MAX_BIRTH_DECISION_RECORDS, e.MAX_BIRTH_LATENCY_PROXY_MS, e.MAX_CLIP_EVENT_IDS, e.MAX_CLIP_LABELS, e.MAX_CONDITION_DEPTH, e.MAX_CONDITION_LEAVES, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.MAX_KEYS, e.MAX_REASONS_PER_KEY, e.MAX_SENSOR_TRIGGER_DEVICES, e.MAX_TRACK_DEBUG_NOTE_LEN, e.METHOD_ACCESS_MAP, e.METHOD_DEVICE_SELECTORS, e.MODEL_FORMATS, e.MODEL_PROVIDER_IDS, e.MOTION_TRIGGER_FEATURE, e.ManagedModelCatalogEntrySchema, e.ManagedModelExtraFileSchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileInfoSchema, e.MediaFileKindEnum, e.MediaFileRefSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MediaRelocateModeSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.MigrateDeviceResultSchema, e.MigrateSwitchOutcomeSchema, e.MigrateSwitchReportSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelProviderIdSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.MutationFilterSchema, e.NATIVE_LEASE_ACTIVITY_FIELD, e.NATIVE_LEASE_ACTIVITY_KEY, e.NATIVE_LEASE_ADMISSION_FIELD, e.NATIVE_LEASE_ADMISSION_KEY, e.NATIVE_LEASE_BUDGET_FIELD, e.NATIVE_LEASE_BUDGET_KEY, e.NATIVE_LEASE_HOLD_FIELD, e.NATIVE_LEASE_HOLD_KEY, e.NATIVE_LEASE_SCENE_BUDGET_FIELD, e.NATIVE_LEASE_SCENE_BUDGET_KEY, e.NATIVE_LEASE_SECTION_ID, e.NATIVE_LEASE_TILE_BUDGET_FIELD, e.NATIVE_LEASE_TILE_BUDGET_KEY, e.NAVIGATION_ACTION_CATALOG, e.NAVIGATION_LIGHT_LEVEL_MAX, e.NAVIGATION_LIGHT_LEVEL_MIN, e.NC_ALARM_SYSTEM_EVENT_KINDS, e.NC_AUDIO_CONFIRM_HITS_DEFAULT, e.NC_AUDIO_CONFIRM_HITS_MAX, e.NC_AUDIO_CONFIRM_HITS_MIN, e.NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, e.NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, e.NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, e.NC_AUDIO_DBFS_FLOOR, e.NC_AUDIO_DB_MAX, e.NC_AUDIO_DB_MIN, e.NC_AUDIO_DB_OFFERED, e.NC_AUDIO_DB_STEP, e.NC_AUDIO_DEFAULTS, e.NC_AUDIO_HIT_PERCENT_MAX, e.NC_AUDIO_HIT_PERCENT_MIN, e.NC_AUDIO_SAMPLING_MAX_SEC, e.NC_AUDIO_SAMPLING_MIN_SEC, e.NC_AUDIO_SEED, e.NC_AUTHORABLE_SYSTEM_EVENT_KINDS, e.NC_BASE_CONDITION_KEYS, e.NC_CONDITION_CATALOG, e.NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.NC_CONFIRM_DEFAULT_TIMEOUT_MS, e.NC_CONFIRM_MAX_TIMEOUT_MS, e.NC_CONFIRM_MIN_TIMEOUT_MS, e.NC_DEFAULT_SNOOZE_MINUTES, e.NC_HISTORY_LIMIT_DEFAULT, e.NC_HISTORY_LIMIT_MAX, e.NC_MAX_PER_TRACK_IMMEDIATE, e.NC_OCCUPANCY_DEFAULTS, e.NC_RULE_EDITOR_SECTION_ORDER, e.NC_RULE_KIND_SPECS, e.NC_RULE_SECTIONS, e.NC_SNOOZE_MAX_MINUTES, e.NC_SYSTEM_DELIVERY, e.NC_SYSTEM_EVENT_FILTER_KEYS, e.NC_TAXONOMY, e.NETWORK_LINK_TYPES, e.NETWORK_LINK_UNKNOWN, e.NativeCropBboxSchema, e.NativeCropRefSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeLeaseAdmissionSchema, e.NativeLeaseSettingsSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NavigationActionEntrySchema, e.NavigationActionIdSchema, e.NavigationEntryKindSchema, e.NavigationFeaturesSchema, e.NavigationLightModeSchema, e.NavigationModeSchema, e.NavigationMoveCommandSchema, e.NavigationPointSchema, e.NavigationRuntimeStateSchema, e.NavigationStatusSchema, e.NcAlarmConfigSchema, e.NcAlarmModeCoverageSchema, e.NcAlarmSettingsPatchSchema, e.NcAlarmSettingsSchema, e.NcAlarmSkipReasonSchema, e.NcAlarmSkippedDeviceSchema, e.NcAudioConditionSchema, e.NcConditionDescriptorSchema, e.NcConditionsSchema, e.NcConfirmExpectSchema, e.NcConfirmSchema, e.NcCrossingSchema, e.NcDeliverySchema, e.NcDeviceStateConditionSchema, e.NcHistoryEntrySchema, e.NcHistoryFilterSchema, e.NcHistoryRecordKindSchema, e.NcHistoryStatusSchema, e.NcHistorySubjectSchema, e.NcMediaFrameSchema, e.NcMediaPolicySchema, e.NcOccupancyConditionSchema, e.NcPlateMatcherSchema, e.NcRuleActionSchema, e.NcRuleActionSequenceSchema, e.NcRuleActionsSchema, e.NcRuleInputSchema, e.NcRuleNotificationButtonSchema, e.NcRulePatchSchema, e.NcRuleSchema, e.NcRuleTargetSchema, e.NcSceneConditionSchema, e.NcScheduleSchema, e.NcScheduleWindowSchema, e.NcSnoozeInputSchema, e.NcSnoozeSchema, e.NcSnoozeScopeSchema, e.NcSnoozeSuppressedSchema, e.NcSystemEventConditionSchema, e.NcSystemEventKindSchema, e.NcTaxonomyEntrySchema, e.NcTaxonomySchema, e.NcTestResultSchema, e.NcThrottleGranularitySchema, e.NcThrottleSchema, e.NcZoneConditionSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NetworkLinkStatusSchema, e.NotificationActionIconSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OPERATOR_WRITTEN_STALE_MS, e.OPS_LOG_DEFAULT_LIMIT, e.OPS_LOG_RING_DEFAULT_MAX, e.OVERFLOW_REASON, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OpsLogDomainSchema, e.OpsLogEntrySchema, e.OpsLogOpSchema, e.OpsLogQueryInputSchema, e.OpsLogReasonSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdRenderOutcomeEnum, e.OsdRenderResultSchema, e.OsdSlotBindingSchema, e.OsdSlotViewSchema, e.OsdSourceOptionSchema, e.OsdSourceSchema, e.OsdSourceValueTypeEnum, e.OsdStatusSchema, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PRIVACY_MASK_CAP_NAME, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.ParkRefusalSchema, e.ParkTrackFrameResultSchema, e.ParkedFrameKindSchema, e.ParkedTrackFrameSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PoolMemoryWatchdog, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzMoveCommandSchema, e.PtzOptionsSchema, e.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.RATE_CONTROL_RELAXED, e.RATE_CONTROL_TIGHT, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RECORDING_EXPORT_MAX_READ_BYTES, e.RECORDING_TIMELINE_BATCH_MAX, e.REDACTED_SECRET, e.RESERVED_BINDING_NAMES, e.RESTORED_CAP_NAMES, e.ROOT_BUCKET_KEY, e.RUNTIME_DEFAULTS, e.RUNTIME_STATE_POLICY, e.RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadGopBytesResultSchema, e.ReadSegmentBytesResultSchema, e.ReadWindowBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecentTracksPageSchema, e.RecentTracksQueryInput, e.RecordingAvailabilityForDeviceSchema, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysForDeviceSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingObjectTriggerClassSchema, e.RecordingRangeSchema, e.RecordingRebalanceInputSchema, e.RecordingRebalanceMoveSchema, e.RecordingRebalancePlanSchema, e.RecordingRebalanceSkipReasonSchema, e.RecordingRebalanceSkipSchema, e.RecordingRetentionSchema, e.RecordingSignalRuntimeStateSchema, e.RecordingSignalStatusSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RelocatableMediaCountInputSchema, e.RelocatableMediaCountSchema, e.RelocateFootageClassSchema, e.RelocateFootageInputSchema, e.RelocateJobSchema, e.RelocateJobStateSchema, e.RelocateMediaInputSchema, e.RelocateResidueInputSchema, e.RelocateResidueSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.ReportedFailureContributionSchema, e.ReportedLoadContributionSchema, e.RequestCensusGroupSchema, e.RequestCensusProcedureSchema, e.RequestCensusSnapshotSchema, e.RequestCensusStatusSchema, e.RetrainAnnotationDraftSchema, e.RetrainAnnotationKindSchema, e.RetrainAnnotationSchema, e.RetrainAnnotationSourceSchema, e.RetrainAssistResultSchema, e.RetrainAssistSubjectSchema, e.RetrainCopyRefusalSchema, e.RetrainFrameCandidateSchema, e.RetrainFrameListSchema, e.RetrainFrameSchema, e.RetrainFrameSelectionSchema, e.RetrainMacroClassSchema, e.RetrainStatusSchema, e.RetrainTrackSchema, e.RetrainTransitionResultSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerInferenceDeviceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCENE_CONDITIONS, e.SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, e.SCENE_DEFAULT_ANCHOR_THRESHOLD, e.SCENE_DEFAULT_CHECK_INTERVAL_SEC, e.SCENE_DEFAULT_OBSERVATION_SPACING_SEC, e.SCENE_DEFAULT_QUIET_SECONDS, e.SCENE_DEFAULT_UNCOVERED_POLICY, e.SCENE_DIVERGED, e.SCENE_RESET_RECAPTURES, e.SCOPE_PRESETS, e.SENSOR_FEATURES, e.SENSOR_MAP, e.SHARE_VIEW_KINDS, e.SOURCE_CAPS, e.SOURCE_CAP_ACTIVE_FIELD, e.SOURCE_CAP_CHANGED_AT_FIELD, e.SOURCE_DEVICE_TYPES, e.SOURCE_INFO_METADATA_KEY, e.STORAGE_ACCESS_FALLBACK, e.STORAGE_BYTES_PER_GB, e.STORAGE_LOCATION_MODES, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SUMMARIES_DEFAULT_LIMIT, e.SUMMARIES_MAX_LIMIT, e.SYSTEM_CAP_NAMES, e.SYSTEM_SCOPE_DEVICE_METHODS, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneConfirmSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusForDeviceSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.SceneUnavailableSchema, e.SceneUncoveredPolicySchema, e.SceneVerdictSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SetLoggingSettingsInputSchema, e.SetSiteLocationInputSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SiteLocationSchema, e.SiteLocationSourceSchema, e.SiteLocationStatusSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageAccessSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageCleanupInputSchema, e.StorageCleanupJobSchema, e.StorageCleanupPhaseSchema, e.StorageCleanupStatusInputSchema, e.StorageDrainProgressSchema, e.StorageEndDownloadInputSchema, e.StorageEvictionPolicySchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationModeSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageMigrationClassSchema, e.StorageMigrationDestinationsSchema, e.StorageMigrationDrainInputSchema, e.StorageMigrationFindingCodeSchema, e.StorageMigrationFindingSchema, e.StorageMigrationFootageMoveInputSchema, e.StorageMigrationInputSchema, e.StorageMigrationJobSchema, e.StorageMigrationLaneSchema, e.StorageMigrationLeaseInputSchema, e.StorageMigrationMediaMoveInputSchema, e.StorageMigrationModeSchema, e.StorageMigrationMoveProgressSchema, e.StorageMigrationMoveSchema, e.StorageMigrationMoverSchema, e.StorageMigrationParticipantSchema, e.StorageMigrationPhaseSchema, e.StorageMigrationPlanSchema, e.StorageMigrationResidueSchema, e.StorageMigrationSourcesSchema, e.StorageOccupancyReportSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SummarySchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TAXONOMY_COLORS, e.TIMELAPSE_DENSE_FLOOR_SEC, e.TIMEZONES, e.TRANSCODE_DOWN_MAX_BITRATE_KBPS, e.TRANSCODE_DOWN_MAX_HEIGHT, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TerminalInstanceInfoSchema, e.TerminalLegacyCameraSchema, e.TerminalOutputBatchSchema, e.TerminalOutputEventSchema, e.TerminalProfileInfoSchema, e.TerminalSessionInfoSchema, e.TestConnectionResultSchema, e.TestConnectionStatusEnum, e.TestResultSchema, e.TimelapseRuleInputSchema, e.TimelapseRulePatchSchema, e.TimelapseRuleSchema, e.TimelapseTemplateSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackFlagsPatchSchema, e.TrackFlagsSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackSourceSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TrainingExportDeviceTotalsSchema, e.TrainingExportSummarySchema, e.TransportPlaneCountsSchema, e.TransportPlaneSchema, e.TurnServerSchema, e.UNATTRIBUTED_BUCKET_KEY, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UnstampedEventMediaCountSchema, e.UnstampedRowsSchema, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VISIT_MERGE_GAP_MS, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VectorDeclareIndexInputSchema, e.VectorDeleteByFilterInputSchema, e.VectorDeleteInputSchema, e.VectorDeleteResultSchema, e.VectorFilterSchema, e.VectorGetInputSchema, e.VectorGetResultSchema, e.VectorItemSchema, e.VectorMatchSchema, e.VectorMetadataSchema, e.VectorMetricSchema, e.VectorQueryInputSchema, e.VectorQueryResultSchema, e.VectorStatsInputSchema, e.VectorStatsResultSchema, e.VectorUpsertInputSchema, e.VectorUpsertResultSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WEBRTC_EGRESS_PROFILE, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.WrapperEvidenceSchema, e.WrapperIdentitySchema, e.WrapperKindSchema, e.YAMNET_TO_MACRO, e.ZoneCrossingDirectionSchema, e.ZoneCrossingSchema, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.__resetLogChannelRegistryForTests, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.assertTimelapseCadences, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioCodecCapability, e.audioIsFailClosed, e.audioKindId, e.audioLabelChoices, e.audioMetricsCapability, e.audioModeOf, e.audioOrDefaults, e.audioPlanFromEncodeProfile, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.bareAddonId, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildAudioArgs, e.buildEventKindDescriptor, e.buildFfmpegArgs, e.buildInputArgs, e.buildModelVariantGroups, e.buildNcTaxonomy, e.buildRoleScopes, e.buildStreamParamsConfigSchema, e.buildVideoArgs, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.canonicalEgressPlan, e.carbonMonoxideCapability, e.cellsToRects, e.classifyBearerPrincipal, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.clusterModelSettingKey, e.clusterStepSettingFieldsFor, e.clusterStepSettingKey, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.collectSecretConfigKeys, e.colorCapability, e.colorForKind, e.commitWatchdogRestart, e.compileExpression, e.compileExpressionSafe, e.composeSwitchedOff, e.conditionDepth, e.conditionExclusionReason, e.conditionVisibleForKind, e.connectionTestCapability, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.coreBlockAddonId, e.coreBlockIdFromAddonId, e.coreBlocksCapability, e.cosineSimilarity, e.countConditionLeaves, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createEventBusSliceSource, e.createExpressionScope, e.createHwAccelCache, e.createLazyTrpcSource, e.createLogChannelsProvider, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dataStoreProviderCapability, e.dayNightCapability, e.declarationOwnerNodeId, e.declareLogChannel, e.decodeVectorBase64, e.decoderCapability, e.defaultDeliveryForSection, e.defaultDeviceFor, e.defineCustomActions, e.deriveBatteryPresence, e.deriveCameraSwitches, e.deriveDetailCropRect, e.deriveRecordingMode, e.describeCustomActions, e.describeModelVariant, e.detectAccessRole, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceBackendToFormat, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceSelectorMatches, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.droppedConditionsForKind, e.egressTranscodeSharingKey, e.egressTransportFromRequest, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.encodeVectorBase64, e.enumSensorCapability, e.enumerateInferenceDevices, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateExpressionSource, e.evaluatePoolMemory, e.evaluateSensorEdge, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.evictionPolicyForMode, e.evictionPolicyOfLocation, e.expandCapMethods, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.failureContributionCapability, e.failureRate, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.foldSnapshotByFunction, e.formatForBackend, e.formatForRuntime, e.gasCapability, e.gbToBytes, e.generateAutomationBlock, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.getLogChannelRegistry, e.getTaxonomyEntry, e.hasMotionTrigger, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.inferModelProvider, e.initialPoolMemoryState, e.integrationsCapability, e.intercomCapability, e.invocationFromEncodeProfile, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isAudioLabelSelected, e.isAudioRule, e.isBaseConditionKey, e.isBatteryPresenceFault, e.isClusterScopedStep, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDetectionMacroClass, e.isDeviceConfigCap, e.isDeviceScopedCap, e.isEvent, e.isFirstLevelMacroClass, e.isIsolatedBuiltin, e.isLocationEnabled, e.isNode, e.isObjectInput, e.isOccupancyRule, e.isRestoredCap, e.isSameAddonId, e.isScheduleActive, e.isSecretConfigField, e.isSoftwareDecode, e.isSourceCap, e.isStorageLocationMode, e.isSystemDelivery, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.knownValues, e.lawnMowerControlCapability, e.legacyModeOf, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.loadContributionCapability, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logBannerArgs, e.logChannelsCapability, e.logDestinationCapability, e.logLevelAtMost, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, a = e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mayReadLocation, e.mayWriteToLocation, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.methodAccessForHttpMethod, e.metricsProviderCapability, e.migrateLegacyDeviceSignalConfig, e.modeMayRead, e.modeMayWrite, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.navigationCapability, e.networkAccessCapability, e.networkLinkCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeAudioLabel, e.normalizeTokenScopes, e.normalizeUnit, e.notificationOutputCapability, e.notificationRulesCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.objectInputDeclaresAddonId, e.osdCapability, e.osdManagerCapability, e.overlayClusterStepSettings, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProcStatus, e.parseProfileBrokerId, e.parseRuleSection, e.parseStreamParamsFormPatch, e.patchAudio, e.petFeederCapability, e.pickAccessoryControl, e.pickClusterStepModels, e.pickClusterStepSettings, e.pickDetailCropConvention, e.pickNativeLeaseOverride, e.pickPreferredRtspEntry, e.pickRestartCandidate, e.pickVideoEncoder, e.pickerForCondition, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.poolMemoryThreshold, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.principalMayReachAddon, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readClusterStepModels, e.readClusterStepSettings, e.readDetailCropConvention, e.readDeviceStateFrom, e.readNativeLeaseOverride, e.readNodePin, e.readTimelapseGeneratedAt, e.readinessKey, e.rebootCapability, e.recordingCapability, e.recordingExportCapability, e.recordingSignalCapability, e.rectsToCells, e.reducePoints, e.requiresPython, e.resetPoolBaseline, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveBucketMs, e.resolveCapMount, e.resolveClusterStepModelId, e.resolveContainerPrimaryChild, e.resolveDetectionRuntime, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveEgressDecodeHwAccel, e.resolveFormat, e.resolveHydratedFieldValue, e.resolveLocationMode, e.resolveMethodAuth, e.resolveModelFormat, e.resolveMutate, e.resolvePoolMemoryPolicy, e.resolveRecordingProfiles, e.resolveRunnerId, e.resolveVariantModelId, e.resolveViewableDeviceIds, e.roleSpec, e.ruleEditorSectionsForKind, e.ruleKindOf, e.ruleKindSpec, e.ruleMatchesSection, e.ruleSection, e.ruleSectionOf, e.ruleSeedForSection, e.runInferenceStep, e.runtimeDevices, e.runtimeStatePolicyFor, e.sceneMonitorCapability, e.schemaDeclaresAnyField, e.scopeInherits, e.scopeKey, e.scopesAllowAddon, e.scopesAllowDeviceCap, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.signalPercentFromBars, e.signalPercentFromRssi, e.sleep, e.sleepCancellable, e.sliceActiveValue, e.sliceChangedAt, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.stateVocabularyFor, e.storageCapability, e.storageEvictableCapability, e.storageMigrationCapability, e.storageOccupancyCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.stripRetiredBandPreBufferSec, e.strippedOfLegacyReadOnly, e.subKindsOf, e.summarisePrivacyAudio, e.summarizeEffectiveScope, e.supportedRuntimes, e.switchCapability, e.switchedOffIds, e.synthesizeSourceInfo, e.systemCapability, e.systemEventFilterApplies, e.systemEventFilterAppliesToAnyKind, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.terminalSessionCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toNodeId, e.toStreamSourceEntry, e.toastCapability, e.toggleAudioLabel, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.validateRecipeBounds, e.valveCapability, e.vectorDimFromBase64, e.vectorStoreCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.withLocationMode, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
|
|
20
|
-
}, s = i.share["default:@camstack/types"];
|
|
21
|
-
s === void 0 ? n.then(() => {
|
|
22
|
-
if (s = i.share["default:@camstack/types"], s === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
|
|
23
|
-
o(s);
|
|
24
|
-
}) : o(s);
|
|
25
|
-
//#endregion
|
|
26
|
-
export { a as t };
|
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import { b as NativeLeaseSettingsSchema, p as DEFAULT_NATIVE_LEASE_SETTINGS, y as NativeLeaseAdmissionSchema } from "./dist-CKK0CBUW.mjs";
|
|
2
|
-
//#region src/session-decode/native-lease-config.ts
|
|
3
|
-
/**
|
|
4
|
-
* Resolution of the native-frame hold / tile knobs for one decode worker.
|
|
5
|
-
*
|
|
6
|
-
* ## Where the values come from
|
|
7
|
-
*
|
|
8
|
-
* The knobs are cluster-wide `pipeline-orchestrator` settings
|
|
9
|
-
* (`@camstack/types` → `pipeline/native-lease.ts`). The pipeline-runner reads
|
|
10
|
-
* them over the hub-routed `addon-settings` cap
|
|
11
|
-
* (`pipeline-runner/native-lease-settings-source.ts`) and injects the ones the
|
|
12
|
-
* operator actually SET into the child's environment at `fork` time
|
|
13
|
-
* ({@link nativeLeaseSettingEnv}, consumed by `fork-decode-worker.ts`). The
|
|
14
|
-
* child resolves them at module load ({@link resolveNativeLeaseKnobs}).
|
|
15
|
-
*
|
|
16
|
-
* Env-on-fork rather than an init message on purpose: the hold store, the tile
|
|
17
|
-
* store and the demand gate are constructed with the worker, before the first
|
|
18
|
-
* `start` message arrives, and a knob that can change after construction is a
|
|
19
|
-
* knob that has two values during a session.
|
|
20
|
-
*
|
|
21
|
-
* ## Precedence — setting > env > default
|
|
22
|
-
*
|
|
23
|
-
* 1. **setting** — the operator set the knob in the orchestrator's global
|
|
24
|
-
* settings. Wins, because a value someone deliberately chose in the UI must
|
|
25
|
-
* not be silently overruled by a shell variable nobody can see from there.
|
|
26
|
-
* 2. **env** — {@link NATIVE_LEASE_ENV_VARS}, the pre-settings mechanism, kept
|
|
27
|
-
* as an emergency / dev override. It applies only while the corresponding
|
|
28
|
-
* setting is UNSET. "Unset" includes a knob sitting AT its shipped default:
|
|
29
|
-
* `addon-settings.getGlobalSettings` hydrates an unstored field with the
|
|
30
|
-
* schema default and offers no way to tell the two apart, so treating the
|
|
31
|
-
* default as a choice would have retired every env var on the day this
|
|
32
|
-
* shipped. Move the slider off the default and the setting takes over; move
|
|
33
|
-
* it back and the env var returns. See `readNativeLeaseOverride`.
|
|
34
|
-
* 3. **default** — {@link DEFAULT_NATIVE_LEASE_SETTINGS}, byte-for-byte the
|
|
35
|
-
* constants the worker shipped with.
|
|
36
|
-
*
|
|
37
|
-
* A value that fails its bounds at ANY level falls through to the next one
|
|
38
|
-
* rather than being clamped: clamping turns a typo into a number nobody chose,
|
|
39
|
-
* and this one governs how much RAM a busy camera holds.
|
|
40
|
-
*
|
|
41
|
-
* The GPU surface ring (`CAMSTACK_SESSION_NATIVE_CROP_RING`) is deliberately
|
|
42
|
-
* NOT here — see its docblock in `decode-worker-child.ts` for why it stays
|
|
43
|
-
* env-only.
|
|
44
|
-
*/
|
|
45
|
-
/** Every knob, in the order the spawn line names them. */
|
|
46
|
-
var NATIVE_LEASE_KNOBS = [
|
|
47
|
-
"holdFrames",
|
|
48
|
-
"budgetMb",
|
|
49
|
-
"activityMs",
|
|
50
|
-
"admission",
|
|
51
|
-
"tileBudgetMb",
|
|
52
|
-
"sceneBudgetMb"
|
|
53
|
-
];
|
|
54
|
-
/** Emergency / dev override env vars (pre-settings; lowest precedence but the default). */
|
|
55
|
-
var NATIVE_LEASE_ENV_VARS = {
|
|
56
|
-
holdFrames: "CAMSTACK_SESSION_NATIVE_LEASE_HOLD_FRAMES",
|
|
57
|
-
budgetMb: "CAMSTACK_SESSION_NATIVE_LEASE_BUDGET_MB",
|
|
58
|
-
activityMs: "CAMSTACK_SESSION_NATIVE_LEASE_ACTIVITY_MS",
|
|
59
|
-
admission: "CAMSTACK_SESSION_NATIVE_LEASE_ADMISSION",
|
|
60
|
-
tileBudgetMb: "CAMSTACK_SESSION_NATIVE_TILE_BUDGET_MB",
|
|
61
|
-
sceneBudgetMb: "CAMSTACK_SESSION_NATIVE_SCENE_BUDGET_MB"
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Env vars the PARENT writes at fork time to carry an operator setting into the
|
|
65
|
-
* child. Distinct names from {@link NATIVE_LEASE_ENV_VARS} so the child can tell
|
|
66
|
-
* "the operator chose this" from "a shell variable set this" and log the source
|
|
67
|
-
* honestly — with one shared name that distinction is unrecoverable.
|
|
68
|
-
*/
|
|
69
|
-
var NATIVE_LEASE_SETTING_ENV_VARS = {
|
|
70
|
-
holdFrames: "CAMSTACK_SESSION_NATIVE_LEASE_HOLD_FRAMES_SETTING",
|
|
71
|
-
budgetMb: "CAMSTACK_SESSION_NATIVE_LEASE_BUDGET_MB_SETTING",
|
|
72
|
-
activityMs: "CAMSTACK_SESSION_NATIVE_LEASE_ACTIVITY_MS_SETTING",
|
|
73
|
-
admission: "CAMSTACK_SESSION_NATIVE_LEASE_ADMISSION_SETTING",
|
|
74
|
-
tileBudgetMb: "CAMSTACK_SESSION_NATIVE_TILE_BUDGET_MB_SETTING",
|
|
75
|
-
sceneBudgetMb: "CAMSTACK_SESSION_NATIVE_SCENE_BUDGET_MB_SETTING"
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Parse one env value through the knob's own Zod bound. Returns `null` for
|
|
79
|
-
* absent, non-numeric, or out-of-bounds input — the caller then falls through
|
|
80
|
-
* to the next precedence level.
|
|
81
|
-
*/
|
|
82
|
-
function parseKnob(knob, raw) {
|
|
83
|
-
if (raw === void 0 || raw.trim() === "") return null;
|
|
84
|
-
const parsed = NativeLeaseSettingsSchema.shape[knob].safeParse(Number(raw));
|
|
85
|
-
return parsed.success ? parsed.data : null;
|
|
86
|
-
}
|
|
87
|
-
/** {@link parseKnob} for the one knob whose value is a word, not a number. */
|
|
88
|
-
function parseAdmission(raw) {
|
|
89
|
-
if (raw === void 0) return null;
|
|
90
|
-
const parsed = NativeLeaseAdmissionSchema.safeParse(raw.trim());
|
|
91
|
-
return parsed.success ? parsed.data : null;
|
|
92
|
-
}
|
|
93
|
-
/** Resolve one NUMERIC knob across the three precedence levels. */
|
|
94
|
-
function resolveKnob(knob, env) {
|
|
95
|
-
const fromSetting = parseKnob(knob, env[NATIVE_LEASE_SETTING_ENV_VARS[knob]]);
|
|
96
|
-
if (fromSetting !== null) return {
|
|
97
|
-
value: fromSetting,
|
|
98
|
-
source: "setting"
|
|
99
|
-
};
|
|
100
|
-
const fromEnv = parseKnob(knob, env[NATIVE_LEASE_ENV_VARS[knob]]);
|
|
101
|
-
if (fromEnv !== null) return {
|
|
102
|
-
value: fromEnv,
|
|
103
|
-
source: "env"
|
|
104
|
-
};
|
|
105
|
-
return {
|
|
106
|
-
value: DEFAULT_NATIVE_LEASE_SETTINGS[knob],
|
|
107
|
-
source: "default"
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
/** {@link resolveKnob} for `admission`. Same precedence, different parser. */
|
|
111
|
-
function resolveAdmission(env) {
|
|
112
|
-
const fromSetting = parseAdmission(env[NATIVE_LEASE_SETTING_ENV_VARS.admission]);
|
|
113
|
-
if (fromSetting !== null) return {
|
|
114
|
-
value: fromSetting,
|
|
115
|
-
source: "setting"
|
|
116
|
-
};
|
|
117
|
-
const fromEnv = parseAdmission(env[NATIVE_LEASE_ENV_VARS.admission]);
|
|
118
|
-
if (fromEnv !== null) return {
|
|
119
|
-
value: fromEnv,
|
|
120
|
-
source: "env"
|
|
121
|
-
};
|
|
122
|
-
return {
|
|
123
|
-
value: DEFAULT_NATIVE_LEASE_SETTINGS.admission,
|
|
124
|
-
source: "default"
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
/** Resolve every lease knob from an environment. Pure. */
|
|
128
|
-
function resolveNativeLeaseKnobs(env) {
|
|
129
|
-
const holdFrames = resolveKnob("holdFrames", env);
|
|
130
|
-
const budgetMb = resolveKnob("budgetMb", env);
|
|
131
|
-
const activityMs = resolveKnob("activityMs", env);
|
|
132
|
-
const admission = resolveAdmission(env);
|
|
133
|
-
const tileBudgetMb = resolveKnob("tileBudgetMb", env);
|
|
134
|
-
const sceneBudgetMb = resolveKnob("sceneBudgetMb", env);
|
|
135
|
-
return {
|
|
136
|
-
values: {
|
|
137
|
-
holdFrames: holdFrames.value,
|
|
138
|
-
budgetMb: budgetMb.value,
|
|
139
|
-
activityMs: activityMs.value,
|
|
140
|
-
admission: admission.value,
|
|
141
|
-
tileBudgetMb: tileBudgetMb.value,
|
|
142
|
-
sceneBudgetMb: sceneBudgetMb.value
|
|
143
|
-
},
|
|
144
|
-
sources: {
|
|
145
|
-
holdFrames: holdFrames.source,
|
|
146
|
-
budgetMb: budgetMb.source,
|
|
147
|
-
activityMs: activityMs.source,
|
|
148
|
-
admission: admission.source,
|
|
149
|
-
tileBudgetMb: tileBudgetMb.source,
|
|
150
|
-
sceneBudgetMb: sceneBudgetMb.source
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* The env fragment the parent merges into a decode worker's `fork` environment.
|
|
156
|
-
* Emits ONLY the knobs the operator actually set — an empty result leaves the
|
|
157
|
-
* env override fully functional, which is the whole point of the distinction.
|
|
158
|
-
*/
|
|
159
|
-
function nativeLeaseSettingEnv(override) {
|
|
160
|
-
const out = {};
|
|
161
|
-
for (const knob of NATIVE_LEASE_KNOBS) {
|
|
162
|
-
const value = override[knob];
|
|
163
|
-
if (value !== void 0) out[NATIVE_LEASE_SETTING_ENV_VARS[knob]] = String(value);
|
|
164
|
-
}
|
|
165
|
-
return out;
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* The one-line spawn diagnostic. Names the effective value AND its source for
|
|
169
|
-
* every knob: without the source, a log saying `holdFrames=8` cannot distinguish
|
|
170
|
-
* "the operator's setting arrived" from "someone left a shell variable set", and
|
|
171
|
-
* a setting that silently fails to arrive is exactly the failure the distinct
|
|
172
|
-
* env-var names exist to make visible.
|
|
173
|
-
*/
|
|
174
|
-
function formatNativeLeaseKnobs(resolved) {
|
|
175
|
-
const part = (knob) => `${knob}=${resolved.values[knob]} source=${resolved.sources[knob]}`;
|
|
176
|
-
return `native lease knobs — ${NATIVE_LEASE_KNOBS.map(part).join("; ")}`;
|
|
177
|
-
}
|
|
178
|
-
//#endregion
|
|
179
|
-
//#region src/session-decode/worker-protocol.ts
|
|
180
|
-
/**
|
|
181
|
-
* Classify a worker diagnostic line into a {@link WorkerLogLevel}. Failure /
|
|
182
|
-
* fault lines surface at `warn` (visible at the default log level so a
|
|
183
|
-
* native-crop failure is finally seen in `addons.getLogs`); routine
|
|
184
|
-
* provenance / transition / lifecycle lines stay `debug`. Pure + exported so
|
|
185
|
-
* the mapping is unit-testable without spawning a worker.
|
|
186
|
-
*/
|
|
187
|
-
function logLevelForLine(line) {
|
|
188
|
-
return /\b(fail(?:ed|ure)?|error|exception|unhandled rejection|corrupt|EIO|EINVAL)\b/i.test(line) ? "warn" : "debug";
|
|
189
|
-
}
|
|
190
|
-
function isRecord(value) {
|
|
191
|
-
return typeof value === "object" && value !== null;
|
|
192
|
-
}
|
|
193
|
-
function isFiniteNumber(value) {
|
|
194
|
-
return typeof value === "number" && Number.isFinite(value);
|
|
195
|
-
}
|
|
196
|
-
function isWorkerFrameFormat(value) {
|
|
197
|
-
return value === "rgb" || value === "gray";
|
|
198
|
-
}
|
|
199
|
-
function isWorkerBufferFormat(value) {
|
|
200
|
-
return isWorkerFrameFormat(value) || value === "jpeg";
|
|
201
|
-
}
|
|
202
|
-
function isWorkerLogLevel(value) {
|
|
203
|
-
return value === "debug" || value === "info" || value === "warn" || value === "error";
|
|
204
|
-
}
|
|
205
|
-
function isWorkerCropRegion(value) {
|
|
206
|
-
return isRecord(value) && isFiniteNumber(value.left) && isFiniteNumber(value.top) && isFiniteNumber(value.width) && isFiniteNumber(value.height);
|
|
207
|
-
}
|
|
208
|
-
function isWorkerResizeTarget(value) {
|
|
209
|
-
return isRecord(value) && isFiniteNumber(value.width) && isFiniteNumber(value.height);
|
|
210
|
-
}
|
|
211
|
-
function isFrameImageOptions(value) {
|
|
212
|
-
if (!isRecord(value)) return false;
|
|
213
|
-
if (value.crop !== void 0 && !isWorkerCropRegion(value.crop)) return false;
|
|
214
|
-
if (value.resize !== void 0 && !isWorkerResizeTarget(value.resize)) return false;
|
|
215
|
-
if (value.format !== void 0 && !isWorkerBufferFormat(value.format)) return false;
|
|
216
|
-
return true;
|
|
217
|
-
}
|
|
218
|
-
function isNormalizedBbox(value) {
|
|
219
|
-
return isRecord(value) && isFiniteNumber(value.x) && isFiniteNumber(value.y) && isFiniteNumber(value.w) && isFiniteNumber(value.h);
|
|
220
|
-
}
|
|
221
|
-
function isVideoFrameSource(value) {
|
|
222
|
-
return isRecord(value) && typeof value.restreamUrl === "string" && isFiniteNumber(value.deviceId) && typeof value.codec === "string";
|
|
223
|
-
}
|
|
224
|
-
function isVideoFrameGenOptions(value) {
|
|
225
|
-
if (!isRecord(value)) return false;
|
|
226
|
-
if (value.fps !== void 0 && !isFiniteNumber(value.fps)) return false;
|
|
227
|
-
if (value.format !== void 0 && !isWorkerFrameFormat(value.format)) return false;
|
|
228
|
-
if (value.preRollMs !== void 0 && !isFiniteNumber(value.preRollMs)) return false;
|
|
229
|
-
if (value.preRollMaxFrames !== void 0 && !isFiniteNumber(value.preRollMaxFrames)) return false;
|
|
230
|
-
return true;
|
|
231
|
-
}
|
|
232
|
-
/** Discriminated-union guard for {@link WorkerRequest} — no `as` casts. */
|
|
233
|
-
function isWorkerRequest(value) {
|
|
234
|
-
if (!isRecord(value)) return false;
|
|
235
|
-
switch (value.kind) {
|
|
236
|
-
case "start": return isVideoFrameSource(value.source) && isVideoFrameGenOptions(value.opts);
|
|
237
|
-
case "pull": return true;
|
|
238
|
-
case "toBuffer": return isFiniteNumber(value.frameId) && (value.opts === void 0 || isFrameImageOptions(value.opts));
|
|
239
|
-
case "nativeCrop": return isFiniteNumber(value.requestId) && isFiniteNumber(value.frameId) && isNormalizedBbox(value.bbox) && (value.maxWidth === void 0 || isFiniteNumber(value.maxWidth));
|
|
240
|
-
case "cutTiles": return isFiniteNumber(value.frameId) && Array.isArray(value.bboxes) && value.bboxes.every(isNormalizedBbox);
|
|
241
|
-
case "releaseNativeLease":
|
|
242
|
-
case "markInferred": return isFiniteNumber(value.frameId);
|
|
243
|
-
case "stop": return true;
|
|
244
|
-
default: return false;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
/** Discriminated-union guard for {@link WorkerReply} — no `as` casts. */
|
|
248
|
-
function isWorkerReply(value) {
|
|
249
|
-
if (!isRecord(value)) return false;
|
|
250
|
-
switch (value.kind) {
|
|
251
|
-
case "frame": return isFiniteNumber(value.frameId) && isFiniteNumber(value.timestamp) && isFiniteNumber(value.width) && isFiniteNumber(value.height) && isWorkerFrameFormat(value.format) && (value.capturedAt === void 0 || isFiniteNumber(value.capturedAt)) && (value.preRoll === void 0 || typeof value.preRoll === "boolean");
|
|
252
|
-
case "buffer": return isFiniteNumber(value.frameId) && value.bytes instanceof Uint8Array;
|
|
253
|
-
case "nativeCropResult": return isFiniteNumber(value.requestId) && value.bytes instanceof Uint8Array && isFiniteNumber(value.width) && isFiniteNumber(value.height) && (value.source === void 0 || value.source === "lease" || value.source === "tile");
|
|
254
|
-
case "nativeCropMiss": return isFiniteNumber(value.requestId) && (value.reason === void 0 || typeof value.reason === "string");
|
|
255
|
-
case "ended": return true;
|
|
256
|
-
case "error": return typeof value.message === "string" && (value.frameId === void 0 || isFiniteNumber(value.frameId));
|
|
257
|
-
case "log": return isWorkerLogLevel(value.level) && typeof value.message === "string";
|
|
258
|
-
case "preRollReport": return isFiniteNumber(value.offered) && isFiniteNumber(value.inferred) && isFiniteNumber(value.dropped) && isRecord(value.droppedByReason) && isFiniteNumber(value.strideMs) && typeof value.subsampled === "boolean" && isFiniteNumber(value.spanMs);
|
|
259
|
-
case "dialTiming": return isFiniteNumber(value.hwContextMs) && isFiniteNumber(value.demuxerOpenMs) && isFiniteNumber(value.decoderCreateMs) && isFiniteNumber(value.firstDecodeMs) && typeof value.streamInfoProbed === "boolean";
|
|
260
|
-
default: return false;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
//#endregion
|
|
264
|
-
export { nativeLeaseSettingEnv as a, formatNativeLeaseKnobs as i, isWorkerRequest as n, resolveNativeLeaseKnobs as o, logLevelForLine as r, isWorkerReply as t };
|