@camstack/addon-pipeline 1.2.295 → 1.2.297
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/THIRD_PARTY_MODELS.md +8 -0
- package/dist/audio-analyzer/index.js +2 -2
- package/dist/audio-analyzer/index.mjs +2 -2
- package/dist/{default-detection-model-wNEISVA9.js → default-detection-model-B2n_SFXt.js} +442 -50
- package/dist/{default-detection-model-CAUBVbgK.mjs → default-detection-model-D6DypCkI.mjs} +413 -51
- package/dist/detection-pipeline/index.js +1516 -269
- package/dist/detection-pipeline/index.mjs +1515 -268
- package/dist/{dist-CuxSNLKW.mjs → dist-CxHIpsQs.mjs} +834 -398
- package/dist/{dist-BsVcf5wO.js → dist-DUqr1zyq.js} +845 -409
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-UFk6I2f6.js → node-Dx6DLQ1j.js} +1 -1
- package/dist/{node-Cqb1QiXk.mjs → node-DyeWu78a.mjs} +1 -1
- package/dist/pipeline-runner/index.js +906 -310
- package/dist/pipeline-runner/index.mjs +906 -310
- package/dist/{process-memory-D0Nvs9rr.mjs → process-memory-BVR4592X.mjs} +1 -1
- package/dist/{process-memory-CJV29sPf.js → process-memory-CMJ3NY-s.js} +1 -1
- package/dist/recorder/index.js +4 -6
- package/dist/recorder/index.mjs +4 -6
- package/dist/{segment-demux-js-DGwmf5hu.js → segment-demux-js-CmGIF_uK.js} +1 -1
- package/dist/{segment-demux-js-DIDWw1iE.mjs → segment-demux-js-Dzga-XgE.mjs} +1 -1
- package/dist/session-decode/{decode-worker-child.js → decode-worker-main.js} +481 -72
- package/dist/session-decode/{decode-worker-child.mjs → decode-worker-main.mjs} +482 -71
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-B7nBFqva.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-P71ze8cu.mjs} +2 -2
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CZkpFU-J.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-Dti8Ex88.mjs +26 -0
- 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-BKlb3qac.mjs → hostInit-CRlStbz4.mjs} +2 -2
- package/dist/stream-broker/index.js +4 -4
- package/dist/stream-broker/index.mjs +4 -4
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/{worker-protocol-B2MfQLlu.js → worker-protocol-C-G8qmye.js} +3 -1
- package/dist/{worker-protocol-C_W-P_g-.mjs → worker-protocol-D_NzPcnh.mjs} +3 -1
- package/package.json +1 -1
- package/python/inference_pool.py +422 -64
- package/python/test_inference_pool_compile_off_loop.py +414 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CCIyBvRa.mjs +0 -26
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DeD_UFdb.mjs +0 -26
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
"""A model load never runs on the event loop, and never runs unbounded (D653).
|
|
2
|
+
|
|
3
|
+
2026-09-26, hub `openvino:gpu`: ONE synchronous `core.compile_model()` of
|
|
4
|
+
`camstack-yunet-2023mar.xml` never returned. It ran inline on the asyncio loop,
|
|
5
|
+
so from 18:33:48 until a container restart at 22:41 the worker read no request
|
|
6
|
+
and wrote no reply — 786 client-side timeouts across six cameras, 123 of 123
|
|
7
|
+
`mem_stats` probes lost, and a pool that looked alive the whole time.
|
|
8
|
+
|
|
9
|
+
Pinned here, against the SAME `CommandRouter` / `ModelLoader` that `_run` uses:
|
|
10
|
+
1. a command that is not a model load (`mem_stats`) is answered WHILE a load
|
|
11
|
+
is blocked in native code;
|
|
12
|
+
2. a load past its bound answers `compile-timeout`, naming the model, and
|
|
13
|
+
POISONS the worker — a stuck native thread cannot be killed, so every later
|
|
14
|
+
load is refused at once instead of queueing behind it;
|
|
15
|
+
3. model-management commands keep their order (a `status` sent after a
|
|
16
|
+
`load` describes the load);
|
|
17
|
+
4. a slot is installed only when its load COMPLETED in time — a compile that
|
|
18
|
+
returns after the bound fired never reaches `models`.
|
|
19
|
+
|
|
20
|
+
Heavy runtime deps are stubbed exactly as the sibling pool tests do, so the
|
|
21
|
+
module imports on a bare interpreter.
|
|
22
|
+
"""
|
|
23
|
+
import asyncio
|
|
24
|
+
import sys
|
|
25
|
+
import threading
|
|
26
|
+
import time
|
|
27
|
+
import types
|
|
28
|
+
import unittest
|
|
29
|
+
|
|
30
|
+
try: # real numpy when the sandbox has it — a blind stub POISONS the whole
|
|
31
|
+
import numpy # noqa: F401 # pytest session for every sibling that needs it
|
|
32
|
+
except ImportError:
|
|
33
|
+
_np = types.ModuleType("numpy")
|
|
34
|
+
_np.array = lambda seq, dtype=None: list(seq) # noqa: E731
|
|
35
|
+
_np.float32 = "float32"
|
|
36
|
+
sys.modules["numpy"] = _np
|
|
37
|
+
try: # real PIL when present, for the same reason
|
|
38
|
+
import PIL.Image # noqa: F401
|
|
39
|
+
except ImportError:
|
|
40
|
+
_pil = types.ModuleType("PIL")
|
|
41
|
+
_pil_image = types.ModuleType("PIL.Image")
|
|
42
|
+
_pil.Image = _pil_image
|
|
43
|
+
sys.modules["PIL"] = _pil
|
|
44
|
+
sys.modules["PIL.Image"] = _pil_image
|
|
45
|
+
|
|
46
|
+
from inference_pool import ( # noqa: E402
|
|
47
|
+
MODEL_LOAD_TIMEOUT_SEC,
|
|
48
|
+
CommandRouter,
|
|
49
|
+
ModelLoader,
|
|
50
|
+
ModelSlot,
|
|
51
|
+
_model_load_timeout_sec,
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
YUNET = "/models/openvino/camstack-yunet-2023mar.xml"
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def _load_cmd(index: int = 0, path: str = YUNET) -> dict:
|
|
58
|
+
return {"cmd": "load", "index": index, "config": {"path": path}}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class _Harness:
|
|
62
|
+
"""A router wired to a recording `send`, with a controllable load_fn."""
|
|
63
|
+
|
|
64
|
+
def __init__(self, timeout_sec: float, block: bool = True) -> None:
|
|
65
|
+
self.release = threading.Event()
|
|
66
|
+
self.load_calls: list[str] = []
|
|
67
|
+
self.sent: list[tuple[int, dict]] = []
|
|
68
|
+
self.models: list[ModelSlot] = []
|
|
69
|
+
block_on = self.release if block else None
|
|
70
|
+
|
|
71
|
+
def load_fn(slot: ModelSlot, config: dict) -> None:
|
|
72
|
+
self.load_calls.append(config["path"])
|
|
73
|
+
if block_on is not None:
|
|
74
|
+
# Bounded so a failing test can never hang the suite.
|
|
75
|
+
block_on.wait(5.0)
|
|
76
|
+
slot.config = dict(config)
|
|
77
|
+
slot.loaded = True
|
|
78
|
+
|
|
79
|
+
self.events: list[dict] = []
|
|
80
|
+
|
|
81
|
+
async def notify(event: dict) -> None:
|
|
82
|
+
self.events.append(event)
|
|
83
|
+
|
|
84
|
+
self.loader = ModelLoader(timeout_sec=timeout_sec, load_fn=load_fn, notify=notify)
|
|
85
|
+
|
|
86
|
+
async def send(req_id: int, payload: dict) -> None:
|
|
87
|
+
self.sent.append((req_id, payload))
|
|
88
|
+
|
|
89
|
+
def inline(cmd: dict) -> dict:
|
|
90
|
+
return {"cmd": cmd.get("cmd"), "status": "ok", "modelLoad": self.loader.snapshot()}
|
|
91
|
+
|
|
92
|
+
self.router = CommandRouter(self.models, self.loader, send, inline)
|
|
93
|
+
|
|
94
|
+
def reply(self, req_id: int) -> "dict | None":
|
|
95
|
+
for rid, payload in self.sent:
|
|
96
|
+
if rid == req_id:
|
|
97
|
+
return payload
|
|
98
|
+
return None
|
|
99
|
+
|
|
100
|
+
async def wait_for_reply(self, req_id: int, timeout: float = 3.0) -> dict:
|
|
101
|
+
deadline = asyncio.get_running_loop().time() + timeout
|
|
102
|
+
while asyncio.get_running_loop().time() < deadline:
|
|
103
|
+
found = self.reply(req_id)
|
|
104
|
+
if found is not None:
|
|
105
|
+
return found
|
|
106
|
+
await asyncio.sleep(0.01)
|
|
107
|
+
raise AssertionError(f"no reply to request {req_id} within {timeout}s")
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class CompileRunsOffTheLoop(unittest.TestCase):
|
|
111
|
+
def test_mem_stats_is_answered_while_a_load_is_blocked(self) -> None:
|
|
112
|
+
async def scenario() -> None:
|
|
113
|
+
h = _Harness(timeout_sec=5.0)
|
|
114
|
+
await h.router.submit(1, _load_cmd())
|
|
115
|
+
await asyncio.sleep(0.05) # the compile is now running
|
|
116
|
+
await h.router.submit(2, {"cmd": "mem_stats"})
|
|
117
|
+
stats = await h.wait_for_reply(2, timeout=1.0)
|
|
118
|
+
# The load is still running — and the probe was answered anyway,
|
|
119
|
+
# reporting what is compiling.
|
|
120
|
+
self.assertIsNone(h.reply(1))
|
|
121
|
+
self.assertEqual(stats["status"], "ok")
|
|
122
|
+
in_flight = stats["modelLoad"]["inFlight"]
|
|
123
|
+
self.assertIsNotNone(in_flight)
|
|
124
|
+
self.assertEqual(in_flight["modelId"], "camstack-yunet-2023mar")
|
|
125
|
+
self.assertEqual(in_flight["index"], 0)
|
|
126
|
+
h.release.set()
|
|
127
|
+
loaded = await h.wait_for_reply(1)
|
|
128
|
+
self.assertEqual(loaded["status"], "ok")
|
|
129
|
+
self.assertTrue(h.models[0].loaded)
|
|
130
|
+
|
|
131
|
+
asyncio.run(scenario())
|
|
132
|
+
|
|
133
|
+
def test_model_commands_keep_their_order(self) -> None:
|
|
134
|
+
async def scenario() -> None:
|
|
135
|
+
h = _Harness(timeout_sec=5.0)
|
|
136
|
+
await h.router.submit(1, _load_cmd())
|
|
137
|
+
await h.router.submit(2, {"cmd": "status"})
|
|
138
|
+
await asyncio.sleep(0.1)
|
|
139
|
+
# `status` queues BEHIND the load; answering it first would
|
|
140
|
+
# describe a model set the host is about to change.
|
|
141
|
+
self.assertIsNone(h.reply(2))
|
|
142
|
+
h.release.set()
|
|
143
|
+
await h.wait_for_reply(1)
|
|
144
|
+
status = await h.wait_for_reply(2)
|
|
145
|
+
self.assertEqual([rid for rid, _ in h.sent], [1, 2])
|
|
146
|
+
self.assertTrue(status["models"][0]["loaded"])
|
|
147
|
+
|
|
148
|
+
asyncio.run(scenario())
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class CompileIsBounded(unittest.TestCase):
|
|
152
|
+
def test_a_load_past_its_bound_answers_compile_timeout_and_poisons(self) -> None:
|
|
153
|
+
async def scenario() -> None:
|
|
154
|
+
h = _Harness(timeout_sec=0.2)
|
|
155
|
+
await h.router.submit(1, _load_cmd())
|
|
156
|
+
reply = await h.wait_for_reply(1, timeout=2.0)
|
|
157
|
+
self.assertEqual(reply["status"], "error")
|
|
158
|
+
self.assertEqual(reply["reason"], "compile-timeout")
|
|
159
|
+
self.assertEqual(reply["modelId"], "camstack-yunet-2023mar")
|
|
160
|
+
self.assertEqual(reply["index"], 0)
|
|
161
|
+
self.assertTrue(reply["poisoned"])
|
|
162
|
+
self.assertEqual(reply["timeoutMs"], 200)
|
|
163
|
+
self.assertGreaterEqual(reply["compileElapsedMs"], 200)
|
|
164
|
+
# Nothing half-built reached the slot table.
|
|
165
|
+
self.assertFalse(h.models[0].loaded)
|
|
166
|
+
snap = h.loader.snapshot()
|
|
167
|
+
self.assertIsNotNone(snap["poisonedBy"])
|
|
168
|
+
self.assertEqual(snap["poisonedBy"]["modelId"], "camstack-yunet-2023mar")
|
|
169
|
+
self.assertEqual(snap["timedOut"], 1)
|
|
170
|
+
h.release.set()
|
|
171
|
+
|
|
172
|
+
asyncio.run(scenario())
|
|
173
|
+
|
|
174
|
+
def test_a_poisoned_worker_refuses_further_loads_at_once(self) -> None:
|
|
175
|
+
async def scenario() -> None:
|
|
176
|
+
h = _Harness(timeout_sec=0.2)
|
|
177
|
+
await h.router.submit(1, _load_cmd())
|
|
178
|
+
await h.wait_for_reply(1, timeout=2.0)
|
|
179
|
+
await h.router.submit(2, _load_cmd(1, "/models/openvino/camstack-scrfd.xml"))
|
|
180
|
+
refused = await h.wait_for_reply(2, timeout=0.5)
|
|
181
|
+
self.assertEqual(refused["status"], "error")
|
|
182
|
+
self.assertEqual(refused["reason"], "worker-poisoned")
|
|
183
|
+
self.assertEqual(refused["modelId"], "camstack-scrfd")
|
|
184
|
+
# Round 2: the refusal reports how long the EARLIER compile has
|
|
185
|
+
# run, so the host's hard bound counts from its start.
|
|
186
|
+
self.assertGreaterEqual(refused["compileElapsedMs"], 200)
|
|
187
|
+
self.assertTrue(refused["poisoned"])
|
|
188
|
+
# The second compile was never STARTED behind the stuck one.
|
|
189
|
+
self.assertEqual(h.load_calls, [YUNET])
|
|
190
|
+
h.release.set()
|
|
191
|
+
|
|
192
|
+
asyncio.run(scenario())
|
|
193
|
+
|
|
194
|
+
def test_a_slow_compile_finishes_writes_its_cache_and_the_next_load_is_warm(self) -> None:
|
|
195
|
+
"""Fix round 1, item 1(b): a slow but FINITE compile is not killed by
|
|
196
|
+
its own timeout. It runs on, writes its cache, and hands the worker
|
|
197
|
+
its loads back — so the retry is a warm hit instead of the same cold
|
|
198
|
+
compile timing out again on a respawned worker, three times, to
|
|
199
|
+
`failed`."""
|
|
200
|
+
|
|
201
|
+
async def scenario() -> None:
|
|
202
|
+
cache: set[str] = set()
|
|
203
|
+
release = threading.Event()
|
|
204
|
+
loads: list[str] = []
|
|
205
|
+
|
|
206
|
+
def load_fn(slot: ModelSlot, config: dict) -> None:
|
|
207
|
+
path = config["path"]
|
|
208
|
+
if path in cache:
|
|
209
|
+
loads.append("warm")
|
|
210
|
+
else:
|
|
211
|
+
loads.append("cold")
|
|
212
|
+
release.wait(5.0)
|
|
213
|
+
cache.add(path) # what OpenVINO's CACHE_DIR write does
|
|
214
|
+
slot.config = dict(config)
|
|
215
|
+
slot.loaded = True
|
|
216
|
+
|
|
217
|
+
h = _Harness(timeout_sec=0.2)
|
|
218
|
+
h.loader = ModelLoader(timeout_sec=0.2, load_fn=load_fn, notify=h.loader._notify)
|
|
219
|
+
h.router = CommandRouter(h.models, h.loader, h.router._send, h.router._inline)
|
|
220
|
+
|
|
221
|
+
await h.router.submit(1, _load_cmd())
|
|
222
|
+
timed_out = await h.wait_for_reply(1, timeout=2.0)
|
|
223
|
+
self.assertEqual(timed_out["reason"], "compile-timeout")
|
|
224
|
+
release.set() # the compile finishes at "130 s"
|
|
225
|
+
for _ in range(100):
|
|
226
|
+
if h.events:
|
|
227
|
+
break
|
|
228
|
+
await asyncio.sleep(0.01)
|
|
229
|
+
self.assertEqual(len(h.events), 1)
|
|
230
|
+
self.assertEqual(h.loader._pending_notifications, set())
|
|
231
|
+
self.assertEqual(h.events[0]["event"], "compile-finished-late")
|
|
232
|
+
self.assertEqual(h.events[0]["modelId"], "camstack-yunet-2023mar")
|
|
233
|
+
self.assertTrue(h.events[0]["ok"])
|
|
234
|
+
self.assertIn(YUNET, cache)
|
|
235
|
+
self.assertIsNone(h.loader.snapshot()["poisonedBy"])
|
|
236
|
+
|
|
237
|
+
await h.router.submit(2, _load_cmd())
|
|
238
|
+
warm = await h.wait_for_reply(2, timeout=1.0)
|
|
239
|
+
self.assertEqual(warm["status"], "ok")
|
|
240
|
+
self.assertEqual(loads, ["cold", "warm"])
|
|
241
|
+
self.assertTrue(h.models[0].loaded)
|
|
242
|
+
|
|
243
|
+
asyncio.run(scenario())
|
|
244
|
+
|
|
245
|
+
def test_a_compile_that_returns_after_the_bound_is_never_installed(self) -> None:
|
|
246
|
+
async def scenario() -> None:
|
|
247
|
+
h = _Harness(timeout_sec=0.2)
|
|
248
|
+
await h.router.submit(1, _load_cmd())
|
|
249
|
+
await h.wait_for_reply(1, timeout=2.0)
|
|
250
|
+
h.release.set()
|
|
251
|
+
await asyncio.sleep(0.2)
|
|
252
|
+
self.assertFalse(h.models[0].loaded)
|
|
253
|
+
self.assertIsNone(h.loader.snapshot()["inFlight"])
|
|
254
|
+
|
|
255
|
+
asyncio.run(scenario())
|
|
256
|
+
|
|
257
|
+
def test_a_load_that_raises_is_an_error_not_a_poisoning(self) -> None:
|
|
258
|
+
async def scenario() -> None:
|
|
259
|
+
h = _Harness(timeout_sec=5.0, block=False)
|
|
260
|
+
|
|
261
|
+
def failing(slot: ModelSlot, config: dict) -> None:
|
|
262
|
+
raise RuntimeError("compile on GPU failed: CL_OUT_OF_RESOURCES")
|
|
263
|
+
|
|
264
|
+
h.loader = ModelLoader(timeout_sec=5.0, load_fn=failing)
|
|
265
|
+
h.router = CommandRouter(h.models, h.loader, h.router._send, h.router._inline)
|
|
266
|
+
await h.router.submit(1, _load_cmd())
|
|
267
|
+
reply = await h.wait_for_reply(1)
|
|
268
|
+
self.assertEqual(reply["status"], "error")
|
|
269
|
+
self.assertNotIn("reason", reply)
|
|
270
|
+
self.assertIn("CL_OUT_OF_RESOURCES", reply["error"])
|
|
271
|
+
self.assertIsNone(h.loader.snapshot()["poisonedBy"])
|
|
272
|
+
|
|
273
|
+
asyncio.run(scenario())
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class ALoadThatReturnsAtTheBound(unittest.TestCase):
|
|
277
|
+
"""Release review: a load returning exactly as the bound fires must be one
|
|
278
|
+
outcome or the other — never a finished load with a worker poisoned
|
|
279
|
+
forever for it."""
|
|
280
|
+
|
|
281
|
+
def test_the_thread_claims_first_so_the_load_counts_as_in_time(self) -> None:
|
|
282
|
+
async def scenario() -> None:
|
|
283
|
+
loaded: list[str] = []
|
|
284
|
+
|
|
285
|
+
def load_fn(slot: ModelSlot, config: dict) -> None:
|
|
286
|
+
slot.config = dict(config)
|
|
287
|
+
slot.loaded = True
|
|
288
|
+
loaded.append(config["path"])
|
|
289
|
+
|
|
290
|
+
loader = ModelLoader(timeout_sec=0.05, load_fn=load_fn)
|
|
291
|
+
# Hold the thread in the race window — outcome claimed, settle
|
|
292
|
+
# not yet scheduled — until well past the bound.
|
|
293
|
+
loader._after_claim = lambda: time.sleep(0.3)
|
|
294
|
+
slot = ModelSlot()
|
|
295
|
+
await loader.load(slot, {"path": YUNET}, 0)
|
|
296
|
+
self.assertTrue(slot.loaded)
|
|
297
|
+
self.assertIsNone(loader.snapshot()["poisonedBy"])
|
|
298
|
+
self.assertEqual(loader.snapshot()["timedOut"], 0)
|
|
299
|
+
self.assertEqual(loader.snapshot()["completed"], 1)
|
|
300
|
+
|
|
301
|
+
asyncio.run(scenario())
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
class TheLateNotificationIsKeptAlive(unittest.TestCase):
|
|
305
|
+
"""Round 2: the loop holds `ensure_future` tasks only weakly; the loader
|
|
306
|
+
must hold the notification until it has been sent."""
|
|
307
|
+
|
|
308
|
+
def test_the_pending_notification_is_referenced_until_sent(self) -> None:
|
|
309
|
+
async def scenario() -> None:
|
|
310
|
+
gate = asyncio.Event()
|
|
311
|
+
sent: list[dict] = []
|
|
312
|
+
|
|
313
|
+
async def notify(event: dict) -> None:
|
|
314
|
+
await gate.wait()
|
|
315
|
+
sent.append(event)
|
|
316
|
+
|
|
317
|
+
release = threading.Event()
|
|
318
|
+
|
|
319
|
+
def load_fn(slot: ModelSlot, config: dict) -> None:
|
|
320
|
+
release.wait(5.0)
|
|
321
|
+
|
|
322
|
+
loader = ModelLoader(timeout_sec=0.1, load_fn=load_fn, notify=notify)
|
|
323
|
+
with self.assertRaises(Exception):
|
|
324
|
+
await loader.load(ModelSlot(), {"path": YUNET}, 0)
|
|
325
|
+
release.set()
|
|
326
|
+
for _ in range(100):
|
|
327
|
+
if loader.finished_late:
|
|
328
|
+
break
|
|
329
|
+
await asyncio.sleep(0.01)
|
|
330
|
+
await asyncio.sleep(0.01)
|
|
331
|
+
self.assertEqual(len(loader._pending_notifications), 1)
|
|
332
|
+
gate.set()
|
|
333
|
+
for _ in range(100):
|
|
334
|
+
if sent:
|
|
335
|
+
break
|
|
336
|
+
await asyncio.sleep(0.01)
|
|
337
|
+
self.assertEqual(len(sent), 1)
|
|
338
|
+
self.assertEqual(loader._pending_notifications, set())
|
|
339
|
+
|
|
340
|
+
asyncio.run(scenario())
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
class ReplaceKeepsTheOldModel(unittest.TestCase):
|
|
344
|
+
"""Fix round 1, item 6: the old model serves until the new one is in."""
|
|
345
|
+
|
|
346
|
+
def _loaded_old(self, h: "_Harness") -> ModelSlot:
|
|
347
|
+
old = ModelSlot()
|
|
348
|
+
old.config = {"path": "/models/old.xml"}
|
|
349
|
+
old.loaded = True
|
|
350
|
+
h.models.append(old)
|
|
351
|
+
return old
|
|
352
|
+
|
|
353
|
+
def test_a_replace_that_times_out_leaves_the_old_model_serving(self) -> None:
|
|
354
|
+
async def scenario() -> None:
|
|
355
|
+
h = _Harness(timeout_sec=0.2)
|
|
356
|
+
old = self._loaded_old(h)
|
|
357
|
+
await h.router.submit(1, {"cmd": "replace", "index": 0, "config": {"path": YUNET}})
|
|
358
|
+
# While the new one compiles, the old one is still the slot.
|
|
359
|
+
await asyncio.sleep(0.05)
|
|
360
|
+
self.assertIs(h.models[0], old)
|
|
361
|
+
self.assertTrue(old.loaded)
|
|
362
|
+
reply = await h.wait_for_reply(1, timeout=2.0)
|
|
363
|
+
self.assertEqual(reply["reason"], "compile-timeout")
|
|
364
|
+
self.assertIs(h.models[0], old)
|
|
365
|
+
self.assertTrue(old.loaded)
|
|
366
|
+
h.release.set()
|
|
367
|
+
|
|
368
|
+
asyncio.run(scenario())
|
|
369
|
+
|
|
370
|
+
def test_a_replace_that_fails_leaves_the_old_model_serving(self) -> None:
|
|
371
|
+
async def scenario() -> None:
|
|
372
|
+
h = _Harness(timeout_sec=5.0)
|
|
373
|
+
|
|
374
|
+
def failing(slot: ModelSlot, config: dict) -> None:
|
|
375
|
+
raise RuntimeError("compile failed")
|
|
376
|
+
|
|
377
|
+
h.loader = ModelLoader(timeout_sec=5.0, load_fn=failing)
|
|
378
|
+
h.router = CommandRouter(h.models, h.loader, h.router._send, h.router._inline)
|
|
379
|
+
old = self._loaded_old(h)
|
|
380
|
+
await h.router.submit(1, {"cmd": "replace", "index": 0, "config": {"path": YUNET}})
|
|
381
|
+
reply = await h.wait_for_reply(1)
|
|
382
|
+
self.assertEqual(reply["status"], "error")
|
|
383
|
+
self.assertIs(h.models[0], old)
|
|
384
|
+
self.assertTrue(old.loaded)
|
|
385
|
+
|
|
386
|
+
asyncio.run(scenario())
|
|
387
|
+
|
|
388
|
+
def test_a_successful_replace_swaps_without_mutating_the_old_slot(self) -> None:
|
|
389
|
+
async def scenario() -> None:
|
|
390
|
+
h = _Harness(timeout_sec=5.0, block=False)
|
|
391
|
+
old = self._loaded_old(h)
|
|
392
|
+
await h.router.submit(1, {"cmd": "replace", "index": 0, "config": {"path": YUNET}})
|
|
393
|
+
reply = await h.wait_for_reply(1)
|
|
394
|
+
self.assertEqual(reply["status"], "ok")
|
|
395
|
+
self.assertIsNot(h.models[0], old)
|
|
396
|
+
self.assertEqual(h.models[0].config["path"], YUNET)
|
|
397
|
+
# A predict already holding the old slot finishes normally.
|
|
398
|
+
self.assertTrue(old.loaded)
|
|
399
|
+
|
|
400
|
+
asyncio.run(scenario())
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
class TheBoundComesFromTheHost(unittest.TestCase):
|
|
404
|
+
def test_the_host_declared_bound_wins(self) -> None:
|
|
405
|
+
self.assertEqual(_model_load_timeout_sec({"modelLoadTimeoutMs": 45_000}), 45.0)
|
|
406
|
+
|
|
407
|
+
def test_an_old_host_gets_the_default(self) -> None:
|
|
408
|
+
self.assertEqual(_model_load_timeout_sec({}), MODEL_LOAD_TIMEOUT_SEC)
|
|
409
|
+
self.assertEqual(_model_load_timeout_sec({"modelLoadTimeoutMs": "x"}), MODEL_LOAD_TIMEOUT_SEC)
|
|
410
|
+
self.assertEqual(_model_load_timeout_sec({"modelLoadTimeoutMs": 0}), MODEL_LOAD_TIMEOUT_SEC)
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
if __name__ == "__main__":
|
|
414
|
+
unittest.main()
|
|
@@ -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_CHUNK_FORMATS, e.AUDIO_MACRO_LABELS, e.AUDIO_PRESETS, e.AUDIO_SCALE_EPOCH_ISO, e.AUDIO_SCALE_EPOCH_MS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdminLinkTargetEnum, 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.AnalyticsLtsSeriesSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.AppleFmAvailabilitySchema, e.AppleFmUnavailableReasonSchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.ArchivedDebugNoteQueryInputSchema, e.ArchivedDebugNoteSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioAttachDeviceInputSchema, e.AudioAttachDeviceResultSchema, e.AudioChunkFormatSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioDetachDeviceResultSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AudioStreamPickSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationActionSchema, e.AutomationConditionOperatorSchema, e.AutomationConditionSchema, e.AutomationControlStatusSchema, e.AutomationRecipeSchema, e.AutomationTriggerSchema, e.AvailableIntegrationTypeSchema, 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.BackgroundRunRegistry, 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.CLIP_BROKER_PACED_RATES, e.CLIP_PLAYBACK_OPTIONS, e.CLIP_REALTIME_SOURCE_RATES, e.CLIP_REASON_HEADER_MAX, e.CLIP_STILL_DISPOSITION_HEADER, e.CLIP_STILL_REASON_CODE_HEADER, e.CLIP_STILL_REASON_HEADER, e.CLIP_STREAM_SOURCE_RATES, e.CLIP_STREAM_TRANSPORT_HEADER, 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.CameraSwitchWarningSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipBytesOfferSchema, e.ClipBytesSchema, e.ClipExportFailureSchema, e.ClipPlaybackOptionsSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClipSourceAvailabilitySchema, e.ClipSourceSchema, e.ClipStillDispositionSchema, e.ClipStillRefusalCodeSchema, e.ClipStreamAudioReasonSchema, e.ClipStreamAudioSchema, e.ClipStreamDialSchema, e.ClipWakeSchema, 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.DAYS_PER_WEEK, e.DAY_NAMES, 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_OVERLAY_LAYERS, 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.DERIVED_CAMERA_SILENCED_CAP_NAMES, 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.DISPLAY_ICON_GROUPS, e.DISPLAY_ICON_KEYS, e.DISPLAY_ICON_OFFERED_KEYS, e.DISPLAY_ICON_VOCABULARY, 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.DetectionSourcesSchema, e.DeviceAdminLinkSchema, 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_OWNER_TYPES, 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.EffectiveTuningSchema, 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.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventKindsForDeviceSchema, e.EventMediaArtifactSchema, e.EventMediaCoverageSchema, e.EventMediaKindSchema, e.EventMediaProductionSchema, e.EventOwnerTypeSchema, e.EventSourceType, e.ExportBytesSchema, e.ExportClipSubjectSchema, e.ExportDenseRangeSchema, e.ExportDenseSchema, e.ExportDownloadSchema, e.ExportFootageSubjectSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportSubjectSchema, 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.G711_SCALE_CORRECTION_DB, e.GasStatusSchema, e.GetLoggingSettingsInputSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.GridLayoutPatchSchema, e.GridLayoutViewSchema, 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.HOURS_PER_DAY, 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.LOCATION_DESCRIPTION_MAX, e.LOCATION_ICON_FALLBACK, e.LOCATION_ICON_IDS, e.LOG_CHANNEL_TICK_MS, e.LOG_LEVEL_RANK, e.LTS_SCOPE_CLASS_SEPARATOR, 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.LlmRefusalSourceSchema, e.LlmRetryPolicySchema, e.LlmRuntimeAppleCompleteInputSchema, e.LlmRuntimeCancelInputSchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmTimeoutDefaults, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LoadContributionSchema, e.LocateSegmentResultSchema, e.LocationDescriptionAssignmentSchema, e.LocationIconAssignmentSchema, e.LocationIconIdSchema, 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.LtsBucketSchema, 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.MEDIA_OWNER_TYPES, e.MEDIA_PRESENCE_OWNER_KINDS, e.METHOD_ACCESS_MAP, e.METHOD_DEVICE_SELECTORS, e.MINUTES_PER_DAY, e.MODEL_FORMATS, e.MODEL_PROVIDER_IDS, e.MOTION_CLOSE_AFTER_MS, 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.MediaPresenceOwnerKindSchema, 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_OPENING_EVENT_KINDS, 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_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, e.NC_CLIP_RETENTION_MAX_SEC, 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_CONSUMABLE_LOW_PERCENT_DEFAULT, e.NC_CONSUMABLE_LOW_PERCENT_MAX, e.NC_CONSUMABLE_SYSTEM_EVENT_KINDS, 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_CLEARABLE_KEYS, e.NC_RULE_EDITOR_SECTION_ORDER, e.NC_RULE_KIND_SPECS, e.NC_RULE_SECTIONS, e.NC_SENSOR_RAISED_FIELD_BY_KIND, e.NC_SENSOR_TRANSITION_KINDS, e.NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, e.NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, e.NC_SERVER_PACKAGE_NAME, e.NC_SNOOZE_MAX_MINUTES, e.NC_SYSTEM_DELIVERY, e.NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, e.NC_SYSTEM_EVENT_FAMILIES, e.NC_SYSTEM_EVENT_FAMILY, e.NC_SYSTEM_EVENT_FAMILY_FILTERS, e.NC_SYSTEM_EVENT_FILTER_KEYS, e.NC_SYSTEM_EVENT_KIND_GROUP_SPECS, e.NC_SYSTEM_EVENT_SUMMARY_FAMILIES, e.NC_SYSTEM_RULE_KINDS, e.NC_TANK_SYSTEM_EVENT_KINDS, e.NC_TAXONOMY, e.NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, e.NC_TEMPLATE_VARS, e.NC_UPDATE_EVENT_PACKAGE_NAMES, e.NETWORK_LINK_TYPES, e.NETWORK_LINK_UNKNOWN, e.NativeCropBboxSchema, e.NativeCropRefSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeLeaseAdmissionSchema, e.NativeLeaseSettingsSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionOptionsSchema, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionSettingsPatchSchema, e.NativeObjectDetectionStatusSchema, e.NativeObjectGeometryEnum, 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.NcClipRetentionAskSchema, e.NcClipRetentionPlanSchema, 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.NcLinkedCameraModeSchema, e.NcMediaFrameSchema, e.NcMediaPolicySchema, e.NcOccupancyConditionSchema, e.NcPlateMatcherSchema, e.NcRuleActionSchema, e.NcRuleActionSequenceSchema, e.NcRuleActionsSchema, e.NcRuleClearableKeySchema, e.NcRuleInputSchema, e.NcRuleKindSchema, e.NcRuleLastRunSchema, e.NcRuleLastRunsSchema, e.NcRuleNotificationButtonSchema, e.NcRulePatchSchema, e.NcRuleSchema, e.NcRuleTargetSchema, e.NcRuleUpdateInputSchema, e.NcSceneConditionSchema, e.NcScheduleSchema, e.NcScheduleWindowSchema, e.NcSensorTransitionSchema, e.NcSnoozeInputSchema, e.NcSnoozeSchema, e.NcSnoozeScopeSchema, e.NcSnoozeSuppressedSchema, e.NcStateSummaryPreviewSchema, e.NcStateSummaryPreviewSectionSchema, e.NcSystemEventConditionSchema, e.NcSystemEventDeliveryModeSchema, e.NcSystemEventDeliverySchema, e.NcSystemEventKindSchema, e.NcTaxonomyEntrySchema, e.NcTaxonomySchema, e.NcTemplateFamilySchema, e.NcTemplateFieldSchema, e.NcTemplatePreviewInputSchema, e.NcTemplatePreviewSchema, e.NcTemplateVarContextSchema, e.NcTemplateVarDescriptorSchema, e.NcTemplateVarGroupSchema, e.NcTemplateVarKindSchema, e.NcTestResultSchema, e.NcThrottleGranularitySchema, e.NcThrottleSchema, e.NcZoneConditionSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NetworkLinkStatusSchema, e.NodeDirectoryEntrySchema, e.NodeDirectorySchema, 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.OVERLAY_LAYERS, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OccupancyBurstRefusalSchema, e.OnboardFieldSupportSchema, e.OnboardRecordTrackSchema, e.OnboardScheduleSupportSchema, e.OnboardStorageSchema, e.OnboardStorageVolumeSchema, 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.PEER_BYTES_CHUNK_BYTES, e.PEER_BYTES_MAX_OUTSTANDING, e.PEER_BYTES_STALL_MS, e.PEER_BYTES_TICKET_TTL_MS, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_ANALYTICS_CAP_NAME, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PRIVACY_MASK_CAP_NAME, e.PROVIDER_KIND_CAP_NAMES, e.PROVIDER_PIN_FIELD, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.ParkRefusalSchema, e.ParkTrackFrameResultSchema, e.ParkedFrameKindSchema, e.ParkedTrackFrameSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PeerBytesTicketSchema, 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.PtzHomePresetSchema, e.PtzHomeReturnSchema, e.PtzMoveCommandSchema, e.PtzOptionsSchema, e.PtzPositionSchema, e.PtzPresetFunctionSchema, 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_AUDIO_TRIGGER_OFFERED_DBFS, e.RECORDING_EXPORT_MAX_READ_BYTES, e.RECORDING_SOURCE_CAMSTACK, e.RECORDING_SOURCE_CAMSTACK_ADDON, e.RECORDING_TIMELINE_BATCH_MAX, e.REDACTED_SECRET, e.RESERVED_BINDING_NAMES, e.RESERVED_COLLECTION_SOURCES, 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.RecordTriggerSchema, e.RecordWindowSchema, e.RecordingAvailabilityForDeviceSchema, e.RecordingAvailabilitySchema, e.RecordingBandAudioSchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysForDeviceSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingObjectTriggerClassSchema, e.RecordingOnboardOptionsSchema, e.RecordingOnboardPatchSchema, e.RecordingOnboardStatusSchema, e.RecordingPlaybackSchema, e.RecordingRangeSchema, e.RecordingReadSchema, e.RecordingRebalanceInputSchema, e.RecordingRebalanceMoveSchema, e.RecordingRebalancePlanSchema, e.RecordingRebalanceSkipReasonSchema, e.RecordingRebalanceSkipSchema, e.RecordingRetentionSchema, e.RecordingSignalRuntimeStateSchema, e.RecordingSignalStatusSchema, e.RecordingSourceAvailabilitySchema, e.RecordingSourceOptionsSchema, e.RecordingSourceSchema, 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.STATIONARY_OVERLAY_STYLE, 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.ServerUpdateOutcomeSchema, e.ServerUpdateStateSchema, e.SetLoggingSettingsInputSchema, e.SetSiteLocationInputSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SiteLocationSchema, e.SiteLocationSourceSchema, e.SiteLocationStatusSchema, e.SiteZoneSchema, 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.StreamSignalSchema, e.StreamSignalsStatusSchema, 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.VIDEOCLIPS_MAX_OFFER_BYTES, e.VIDEOCLIPS_MAX_READ_BYTES, 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_CLIMB_HOLD_CODES, e.WEBRTC_EGRESS_PROFILE, e.WEBRTC_TRY_BLOCKERS, e.WEEKLY_MASK_LENGTH, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcClimbHoldSchema, e.WebrtcLadderDecisionSchema, e.WebrtcSessionDebugSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WebrtcTierFailureSchema, 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.audioChunkBytesPerSample, e.audioCodecCapability, e.audioIsFailClosed, e.audioKindId, e.audioLabelChoices, e.audioMetricsCapability, e.audioModeOf, e.audioOrDefaults, e.audioPlanFromEncodeProfile, e.audioScaleEraOf, 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.buildDeviceAdminUrl, e.buildEventKindDescriptor, e.buildFfmpegArgs, e.buildInputArgs, e.buildModelVariantGroups, e.buildNcTaxonomy, e.buildRoleScopes, e.buildStreamParamsConfigSchema, e.buildVideoArgs, e.buttonCapability, e.cameraCredentialsCapability, e.cameraGridLayoutCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.canonicalEgressPlan, e.carbonMonoxideCapability, e.cellsToRects, e.classifyBearerPrincipal, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.clipExportFailure, e.clipExportFailureOf, e.clipReasonHeaderValue, e.clusterModelSettingKey, e.clusterStepSettingFieldsFor, e.clusterStepSettingKey, e.codecIsAccepted, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.collectSecretConfigKeys, e.colorCapability, e.colorForKind, e.commitWatchdogRestart, e.compareToTarget, e.compileExpression, e.compileExpressionSafe, e.composeSwitchedOff, e.conditionDepth, e.conditionExclusionReason, e.conditionVisibleForKind, e.connectionTestCapability, e.connectivityCapability, e.consumableLowPercentOf, 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.dayOfWeekToIndex, 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.describeOnboardClamp, e.describeOnboardRefusal, e.describeSystemEventDeliveryProblem, e.describeSystemEventFamilyProblem, e.detectAccessRole, e.detectionPipelineCapability, e.deviceAdminLinkCapability, 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.displayIconEntry, e.displayIconsInGroup, e.doorbellCapability, e.droppedConditionsForKind, e.egressTranscodeSharingKey, e.egressTransportFromRequest, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.emitsCollectionSelector, 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.evictionPolicyForMode, e.evictionPolicyOfLocation, e.expandAudioChunkToF32le, e.expandCapMethods, e.expandContainer, e.exportSubjectOf, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.failureContributionCapability, e.failureRate, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.foldSnapshotByFunction, e.formatForRuntime, e.formatMediaOwnerKey, e.formatMinutes, e.formatParkedFor, 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.isAudioChunkFormat, e.isAudioLabelSelected, e.isAudioRule, e.isBaseConditionKey, e.isBatteryPresenceFault, e.isClusterScopedStep, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDetectionMacroClass, e.isDeviceConfigCap, e.isDeviceScopedCap, e.isDisplayIconKey, e.isEvent, e.isEventOwnerType, e.isFirstLevelMacroClass, e.isHeldBackTemplateVar, e.isIsolatedBuiltin, e.isKnownTemplateVar, e.isLocationEnabled, e.isMediaOwnerType, e.isNode, e.isObjectInput, e.isOccupancyRule, e.isRestoredCap, e.isSameAddonId, e.isScheduleActive, e.isSecretConfigField, e.isSoftwareDecode, e.isSourceCap, e.isStorageLocationMode, e.isSystemDelivery, e.isSystemEventFamily, e.isSystemEventSummaryRule, e.isSystemRuleKind, e.isVoidInput, e.ituDbfsFromPreEpoch, e.jobKindSchema, e.kebabToCamel, e.kindsForDiscriminator, e.knownValues, e.lawnMowerControlCapability, e.legacyAutoLinkIds, e.legacyModeOf, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.loadContributionCapability, e.localNetworkCapability, e.locationIconKey, 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.minutesToTimeOfDay, 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.nodePickerItems, 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.objectInputDeclaresRequiredDeviceId, e.occupancyScope, e.optionalMethod, e.osdCapability, e.osdManagerCapability, e.overlayClusterStepSettings, e.packagePickerItems, e.parseAdminBase, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseMediaOwnerKey, e.parseOccupancyScope, 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.rankStreams, e.readClusterStepModels, e.readClusterStepSettings, e.readDetailCropConvention, e.readDeviceStateFrom, e.readNativeLeaseOverride, e.readNodePin, e.readTimelapseGeneratedAt, e.readinessKey, e.rebootCapability, e.recordingArchiveCapability, e.recordingCapability, e.recordingExportCapability, e.recordingOnboardCapability, e.recordingSignalCapability, e.rectsToCells, e.reducePoints, e.requiresPython, e.reservedSourceOwner, e.resetPoolBaseline, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveBucketMs, e.resolveCapMount, e.resolveClusterStepModelId, e.resolveContainerPrimaryChild, e.resolveCreateExportSubject, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveEgressDecodeHwAccel, e.resolveExportProfiles, e.resolveFormat, e.resolveHydratedFieldValue, e.resolveLocationIcon, e.resolveLocationMode, e.resolveMethodAuth, e.resolveMutate, e.resolvePoolMemoryPolicy, e.resolveRecordingProfiles, e.resolveRunnerId, e.resolveStreamMaps, e.resolveVariantModelId, e.resolveViewableDeviceIds, e.roleSpec, e.ruleBelongsToAlarm, e.ruleEditorSectionsForKind, e.ruleKindOf, e.ruleKindSpec, e.ruleMatchesSection, e.ruleSection, e.ruleSectionOf, e.ruleSeedForSection, e.runInferenceStep, e.runtimeDevices, e.runtimeStatePolicyFor, e.sceneMonitorCapability, e.scheduleForSendTimes, e.schemaDeclaresAnyField, e.scopeInherits, e.scopeKey, e.scopesAllowAddon, e.scopesAllowDeviceCap, e.scoreRuntimes, e.scriptRunnerCapability, e.searchDisplayIcons, e.selectAssignedProfileSlots, e.sendTimesOfSchedule, e.sensorRaisedOf, e.sensorTransitionNeverFires, e.sensorTransitionOffered, e.servedTemplateVars, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.signalPercentFromBars, e.signalPercentFromRssi, e.siteZoneKey, 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.streamSignalsCapability, e.stripRetiredBandPreBufferSec, e.strippedOfLegacyReadOnly, e.subKindsOf, e.summarisePrivacyAudio, e.summarizeEffectiveScope, e.supportedRuntimes, e.switchCapability, e.switchedOffIds, e.synthesizeSourceInfo, e.systemCapability, e.systemEventDeliveryProblems, e.systemEventFamilyOf, e.systemEventFamilyProblems, e.systemEventFilterApplies, e.systemEventFilterAppliesToAnyKind, e.systemEventKindNamesOf, e.systemEventKindsOfFamily, e.systemEventSummaryScheduleOf, e.systemFamilyOfKind, e.systemRuleKindOf, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.templateCarriesSummary, e.templateVarDeliveryApplies, e.templateVarKindApplies, e.templateVarSystemEventApplies, e.templateVarsFor, e.terminalSessionCapability, e.textToHtml, e.timeOfDayToMinutes, 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.weeklyMaskIndex, e.weeklyMaskIsUniform, e.weeklyMaskToWindows, e.windowsToWeeklyMask, 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 };
|