@camstack/addon-model-studio 1.1.50 → 1.1.52

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.
Files changed (18) hide show
  1. package/dist/{MotionZonesSettings-OKgi_6ij.mjs → MotionZonesSettings-C0cFDSjW.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-CDq1cPBg.mjs → PrivacyMaskSettings-B0xou5VT.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-BiYS5EQf.mjs → SceneMonitorEditor-CM4NQvb5.mjs} +3 -3
  4. package/dist/_stub.js +10 -10
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DesTVb3n.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DCDHH2z9.mjs} +4 -4
  6. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CE4txY-m.mjs +26 -0
  7. package/dist/{hostInit-BVkEE3at.mjs → hostInit-DuCMcgRq.mjs} +3 -3
  8. package/dist/model-studio.addon.js +157 -125
  9. package/dist/model-studio.addon.mjs +152 -118
  10. package/dist/{player-overlays-ChKwd9V6.mjs → player-overlays-p43mMwWT.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-CmBG3EBf.mjs → responsive-BWVkSjgC.mjs} +1 -1
  13. package/dist/{square-Z063y6nN.mjs → square-DNWB0Fvw.mjs} +1 -1
  14. package/dist/{trash-2-DrMIwp0M.mjs → trash-2-BKgeax2l.mjs} +1 -1
  15. package/dist/{use-device-snapshot-CxvtHnr6.mjs → use-device-snapshot-CkQG2lkA.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-WBWKfCvF.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CZmB5SRo.mjs} +1 -1
  17. package/package.json +3 -2
  18. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CX9ONuvO.mjs +0 -26
@@ -6,103 +6,10 @@ import fs from "node:fs";
6
6
  import os from "node:os";
7
7
  import * as path$1 from "node:path";
8
8
  import path from "node:path";
9
- import { promisify } from "node:util";
10
- import { brotliCompress, gzip } from "node:zlib";
9
+ import { downloadFile } from "@camstack/system/addon-utils";
11
10
  //#region \0rolldown/runtime.js
12
11
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
13
12
  //#endregion
14
- //#region ../system/dist/file-data-plane-BhKdxJgf.mjs
15
- /** Build fetch headers, including HF auth token for huggingface.co URLs */
16
- function buildHeaders(url) {
17
- const headers = { "User-Agent": "CamStack/1.0" };
18
- const hfToken = process.env["HF_TOKEN"] ?? process.env["HUGGING_FACE_HUB_TOKEN"];
19
- if (hfToken && url.includes("huggingface.co")) headers["Authorization"] = `Bearer ${hfToken}`;
20
- return headers;
21
- }
22
- var DEFAULT_MAX_REDIRECTS = 5;
23
- function normalizeDownloadOptions(third) {
24
- if (typeof third === "function") return { onProgress: third };
25
- return third ?? {};
26
- }
27
- function isRedirectStatus(status) {
28
- return status === 301 || status === 302 || status === 303 || status === 307 || status === 308;
29
- }
30
- function resolveRedirectUrl(current, location) {
31
- return new URL(location, current);
32
- }
33
- async function downloadFile(url, destPath, onProgressOrOptions) {
34
- if (fs$1.existsSync(destPath)) return destPath;
35
- const opts = normalizeDownloadOptions(onProgressOrOptions);
36
- const fetchImpl = opts.fetchImpl ?? fetch;
37
- const maxRedirects = opts.maxRedirects ?? DEFAULT_MAX_REDIRECTS;
38
- fs$1.mkdirSync(path$1.dirname(destPath), { recursive: true });
39
- const tmpPath = destPath + ".downloading";
40
- try {
41
- let current = url;
42
- const seen = /* @__PURE__ */ new Set();
43
- let response;
44
- const manual = opts.redirectPolicy !== void 0;
45
- for (let hop = 0; hop <= maxRedirects; hop++) {
46
- const parsed = new URL(current);
47
- if (opts.redirectPolicy) opts.redirectPolicy(parsed, hop);
48
- if (seen.has(parsed.href)) throw new Error(`Redirect loop detected at ${parsed.href}`);
49
- seen.add(parsed.href);
50
- const controller = opts.timeoutMs !== void 0 ? new AbortController() : void 0;
51
- const timer = controller && opts.timeoutMs !== void 0 ? setTimeout(() => controller.abort(), opts.timeoutMs) : void 0;
52
- try {
53
- response = await fetchImpl(current, {
54
- redirect: manual ? "manual" : "follow",
55
- headers: buildHeaders(current),
56
- ...controller ? { signal: controller.signal } : {}
57
- });
58
- } finally {
59
- if (timer) clearTimeout(timer);
60
- }
61
- if (manual && isRedirectStatus(response.status)) {
62
- const location = response.headers.get("location");
63
- if (!location) throw new Error(`Redirect ${response.status} missing Location header`);
64
- if (hop >= maxRedirects) throw new Error(`Too many redirects (max ${maxRedirects}) downloading ${url}`);
65
- current = resolveRedirectUrl(current, location).href;
66
- continue;
67
- }
68
- break;
69
- }
70
- if (!response) throw new Error(`No response downloading ${url}`);
71
- if (manual && isRedirectStatus(response.status)) throw new Error(`Too many redirects (max ${maxRedirects}) downloading ${url}`);
72
- if (!response.ok) throw new Error(`HTTP ${response.status} downloading ${url}`);
73
- if (!response.body) throw new Error(`No response body from ${url}`);
74
- const total = parseInt(response.headers.get("content-length") ?? "0", 10);
75
- let downloaded = 0;
76
- const fileStream = fs$1.createWriteStream(tmpPath);
77
- const reader = response.body.getReader();
78
- try {
79
- for (;;) {
80
- const { done, value } = await reader.read();
81
- if (done || !value) break;
82
- downloaded += value.length;
83
- if (opts.maxBytes !== void 0 && downloaded > opts.maxBytes) throw new Error(`Downloaded ${downloaded} bytes exceeds the ${opts.maxBytes}-byte limit`);
84
- fileStream.write(value);
85
- opts.onProgress?.(downloaded, total);
86
- }
87
- } finally {
88
- fileStream.end();
89
- await new Promise((resolve, reject) => {
90
- fileStream.on("finish", resolve);
91
- fileStream.on("error", reject);
92
- });
93
- }
94
- fs$1.renameSync(tmpPath, destPath);
95
- return destPath;
96
- } catch (err) {
97
- try {
98
- fs$1.unlinkSync(tmpPath);
99
- } catch {}
100
- throw err;
101
- }
102
- }
103
- promisify(brotliCompress);
104
- promisify(gzip);
105
- //#endregion
106
13
  //#region src/scrypted/scrypted-download-policy.ts
107
14
  /**
108
15
  * Strict per-hop allow-list for Scrypted catalog downloads.
@@ -4315,7 +4222,7 @@ function initializeContext(params) {
4315
4222
  external: params?.external ?? void 0
4316
4223
  };
4317
4224
  }
4318
- function process$1(schema, ctx, _params = {
4225
+ function process(schema, ctx, _params = {
4319
4226
  path: [],
4320
4227
  schemaPath: []
4321
4228
  }) {
@@ -4352,7 +4259,7 @@ function process$1(schema, ctx, _params = {
4352
4259
  const parent = schema._zod.parent;
4353
4260
  if (parent) {
4354
4261
  if (!result.ref) result.ref = parent;
4355
- process$1(parent, ctx, params);
4262
+ process(parent, ctx, params);
4356
4263
  ctx.seen.get(parent).isParent = true;
4357
4264
  }
4358
4265
  }
@@ -4572,7 +4479,7 @@ var createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
4572
4479
  ...params,
4573
4480
  processors
4574
4481
  });
4575
- process$1(schema, ctx);
4482
+ process(schema, ctx);
4576
4483
  extractDefs(ctx, schema);
4577
4484
  return finalize(ctx, schema);
4578
4485
  };
@@ -4584,7 +4491,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
4584
4491
  io,
4585
4492
  processors
4586
4493
  });
4587
- process$1(schema, ctx);
4494
+ process(schema, ctx);
4588
4495
  extractDefs(ctx, schema);
4589
4496
  return finalize(ctx, schema);
4590
4497
  };
@@ -4698,7 +4605,7 @@ var arrayProcessor = (schema, ctx, _json, params) => {
4698
4605
  if (typeof minimum === "number") json.minItems = minimum;
4699
4606
  if (typeof maximum === "number") json.maxItems = maximum;
4700
4607
  json.type = "array";
4701
- json.items = process$1(def.element, ctx, {
4608
+ json.items = process(def.element, ctx, {
4702
4609
  ...params,
4703
4610
  path: [...params.path, "items"]
4704
4611
  });
@@ -4709,7 +4616,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
4709
4616
  json.type = "object";
4710
4617
  json.properties = {};
4711
4618
  const shape = def.shape;
4712
- for (const key in shape) json.properties[key] = process$1(shape[key], ctx, {
4619
+ for (const key in shape) json.properties[key] = process(shape[key], ctx, {
4713
4620
  ...params,
4714
4621
  path: [
4715
4622
  ...params.path,
@@ -4727,7 +4634,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
4727
4634
  if (def.catchall?._zod.def.type === "never") json.additionalProperties = false;
4728
4635
  else if (!def.catchall) {
4729
4636
  if (ctx.io === "output") json.additionalProperties = false;
4730
- } else if (def.catchall) json.additionalProperties = process$1(def.catchall, ctx, {
4637
+ } else if (def.catchall) json.additionalProperties = process(def.catchall, ctx, {
4731
4638
  ...params,
4732
4639
  path: [...params.path, "additionalProperties"]
4733
4640
  });
@@ -4735,7 +4642,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
4735
4642
  var unionProcessor = (schema, ctx, json, params) => {
4736
4643
  const def = schema._zod.def;
4737
4644
  const isExclusive = def.inclusive === false;
4738
- const options = def.options.map((x, i) => process$1(x, ctx, {
4645
+ const options = def.options.map((x, i) => process(x, ctx, {
4739
4646
  ...params,
4740
4647
  path: [
4741
4648
  ...params.path,
@@ -4748,7 +4655,7 @@ var unionProcessor = (schema, ctx, json, params) => {
4748
4655
  };
4749
4656
  var intersectionProcessor = (schema, ctx, json, params) => {
4750
4657
  const def = schema._zod.def;
4751
- const a = process$1(def.left, ctx, {
4658
+ const a = process(def.left, ctx, {
4752
4659
  ...params,
4753
4660
  path: [
4754
4661
  ...params.path,
@@ -4756,7 +4663,7 @@ var intersectionProcessor = (schema, ctx, json, params) => {
4756
4663
  0
4757
4664
  ]
4758
4665
  });
4759
- const b = process$1(def.right, ctx, {
4666
+ const b = process(def.right, ctx, {
4760
4667
  ...params,
4761
4668
  path: [
4762
4669
  ...params.path,
@@ -4773,7 +4680,7 @@ var tupleProcessor = (schema, ctx, _json, params) => {
4773
4680
  json.type = "array";
4774
4681
  const prefixPath = ctx.target === "draft-2020-12" ? "prefixItems" : "items";
4775
4682
  const restPath = ctx.target === "draft-2020-12" ? "items" : ctx.target === "openapi-3.0" ? "items" : "additionalItems";
4776
- const prefixItems = def.items.map((x, i) => process$1(x, ctx, {
4683
+ const prefixItems = def.items.map((x, i) => process(x, ctx, {
4777
4684
  ...params,
4778
4685
  path: [
4779
4686
  ...params.path,
@@ -4781,7 +4688,7 @@ var tupleProcessor = (schema, ctx, _json, params) => {
4781
4688
  i
4782
4689
  ]
4783
4690
  }));
4784
- const rest = def.rest ? process$1(def.rest, ctx, {
4691
+ const rest = def.rest ? process(def.rest, ctx, {
4785
4692
  ...params,
4786
4693
  path: [
4787
4694
  ...params.path,
@@ -4812,7 +4719,7 @@ var recordProcessor = (schema, ctx, _json, params) => {
4812
4719
  const keyType = def.keyType;
4813
4720
  const patterns = keyType._zod.bag?.patterns;
4814
4721
  if (def.mode === "loose" && patterns && patterns.size > 0) {
4815
- const valueSchema = process$1(def.valueType, ctx, {
4722
+ const valueSchema = process(def.valueType, ctx, {
4816
4723
  ...params,
4817
4724
  path: [
4818
4725
  ...params.path,
@@ -4823,11 +4730,11 @@ var recordProcessor = (schema, ctx, _json, params) => {
4823
4730
  json.patternProperties = {};
4824
4731
  for (const pattern of patterns) json.patternProperties[pattern.source] = valueSchema;
4825
4732
  } else {
4826
- if (ctx.target === "draft-07" || ctx.target === "draft-2020-12") json.propertyNames = process$1(def.keyType, ctx, {
4733
+ if (ctx.target === "draft-07" || ctx.target === "draft-2020-12") json.propertyNames = process(def.keyType, ctx, {
4827
4734
  ...params,
4828
4735
  path: [...params.path, "propertyNames"]
4829
4736
  });
4830
- json.additionalProperties = process$1(def.valueType, ctx, {
4737
+ json.additionalProperties = process(def.valueType, ctx, {
4831
4738
  ...params,
4832
4739
  path: [...params.path, "additionalProperties"]
4833
4740
  });
@@ -4840,7 +4747,7 @@ var recordProcessor = (schema, ctx, _json, params) => {
4840
4747
  };
4841
4748
  var nullableProcessor = (schema, ctx, json, params) => {
4842
4749
  const def = schema._zod.def;
4843
- const inner = process$1(def.innerType, ctx, params);
4750
+ const inner = process(def.innerType, ctx, params);
4844
4751
  const seen = ctx.seen.get(schema);
4845
4752
  if (ctx.target === "openapi-3.0") {
4846
4753
  seen.ref = def.innerType;
@@ -4849,27 +4756,27 @@ var nullableProcessor = (schema, ctx, json, params) => {
4849
4756
  };
4850
4757
  var nonoptionalProcessor = (schema, ctx, _json, params) => {
4851
4758
  const def = schema._zod.def;
4852
- process$1(def.innerType, ctx, params);
4759
+ process(def.innerType, ctx, params);
4853
4760
  const seen = ctx.seen.get(schema);
4854
4761
  seen.ref = def.innerType;
4855
4762
  };
4856
4763
  var defaultProcessor = (schema, ctx, json, params) => {
4857
4764
  const def = schema._zod.def;
4858
- process$1(def.innerType, ctx, params);
4765
+ process(def.innerType, ctx, params);
4859
4766
  const seen = ctx.seen.get(schema);
4860
4767
  seen.ref = def.innerType;
4861
4768
  json.default = JSON.parse(JSON.stringify(def.defaultValue));
4862
4769
  };
4863
4770
  var prefaultProcessor = (schema, ctx, json, params) => {
4864
4771
  const def = schema._zod.def;
4865
- process$1(def.innerType, ctx, params);
4772
+ process(def.innerType, ctx, params);
4866
4773
  const seen = ctx.seen.get(schema);
4867
4774
  seen.ref = def.innerType;
4868
4775
  if (ctx.io === "input") json._prefault = JSON.parse(JSON.stringify(def.defaultValue));
4869
4776
  };
4870
4777
  var catchProcessor = (schema, ctx, json, params) => {
4871
4778
  const def = schema._zod.def;
4872
- process$1(def.innerType, ctx, params);
4779
+ process(def.innerType, ctx, params);
4873
4780
  const seen = ctx.seen.get(schema);
4874
4781
  seen.ref = def.innerType;
4875
4782
  let catchValue;
@@ -4884,26 +4791,26 @@ var pipeProcessor = (schema, ctx, _json, params) => {
4884
4791
  const def = schema._zod.def;
4885
4792
  const inIsTransform = def.in._zod.traits.has("$ZodTransform");
4886
4793
  const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
4887
- process$1(innerType, ctx, params);
4794
+ process(innerType, ctx, params);
4888
4795
  const seen = ctx.seen.get(schema);
4889
4796
  seen.ref = innerType;
4890
4797
  };
4891
4798
  var readonlyProcessor = (schema, ctx, json, params) => {
4892
4799
  const def = schema._zod.def;
4893
- process$1(def.innerType, ctx, params);
4800
+ process(def.innerType, ctx, params);
4894
4801
  const seen = ctx.seen.get(schema);
4895
4802
  seen.ref = def.innerType;
4896
4803
  json.readOnly = true;
4897
4804
  };
4898
4805
  var optionalProcessor = (schema, ctx, _json, params) => {
4899
4806
  const def = schema._zod.def;
4900
- process$1(def.innerType, ctx, params);
4807
+ process(def.innerType, ctx, params);
4901
4808
  const seen = ctx.seen.get(schema);
4902
4809
  seen.ref = def.innerType;
4903
4810
  };
4904
4811
  var lazyProcessor = (schema, ctx, _json, params) => {
4905
4812
  const innerType = schema._zod.innerType;
4906
- process$1(innerType, ctx, params);
4813
+ process(innerType, ctx, params);
4907
4814
  const seen = ctx.seen.get(schema);
4908
4815
  seen.ref = innerType;
4909
4816
  };
@@ -6512,6 +6419,40 @@ var BaseAddon = class {
6512
6419
  deviceSettingsSchema() {
6513
6420
  return null;
6514
6421
  }
6422
+ /**
6423
+ * INTEGRATION-LEVEL SETTINGS — declare which of this addon's global sections
6424
+ * ARE the configuration of its integration.
6425
+ *
6426
+ * Return the `ConfigSection.id`s, from {@link globalSettingsSchema}, that an
6427
+ * operator should find on the addon's integration page (System →
6428
+ * Integrations → <name>) rather than only in the cluster-wide list of every
6429
+ * addon. Empty (the default) means the addon has no integration-level
6430
+ * settings and no such surface is offered — this is opt-in, because whether
6431
+ * an addon's configuration IS its integration's configuration depends on the
6432
+ * nature of the integration.
6433
+ *
6434
+ * WHAT THIS IS NOT. It is not a scope. The selected sections keep living in
6435
+ * the ONE global schema, in the ONE addon store, written by the ONE
6436
+ * `updateGlobalSettings` path. There is deliberately no
6437
+ * `updateIntegrationSettings`: a second write path is how a surface acquires
6438
+ * a second store key, and this repo has shipped that twice (`btmPath@hub`,
6439
+ * D266). Selecting sections cannot introduce a key that selecting cannot.
6440
+ *
6441
+ * WHY IT IS A LIST OF SECTION IDS AND NOT A MARKER ON THE SECTION.
6442
+ * `ConfigFieldBase` used to carry `scope?: 'device' | 'global'` and it was
6443
+ * removed with the reason recorded at
6444
+ * `packages/types/src/interfaces/config-ui.ts:249` — *"a field's scope is
6445
+ * determined by WHICH schema it lives in, not by a field-level marker."* A
6446
+ * marker sprinkled across sections also has to borrow a field that already
6447
+ * means something else; borrowing `section.tab` put the literal word
6448
+ * "integration" into an operator-facing tab bar, because `tab` means "how to
6449
+ * GROUP this visually" and cannot also mean "where this lives" (D269
6450
+ * supersedes D268). One declaration, in one place, next to the schema whose
6451
+ * ids it names.
6452
+ */
6453
+ integrationSettingSections() {
6454
+ return [];
6455
+ }
6515
6456
  async getGlobalSettings(overlay, cap, nodeId) {
6516
6457
  const schema = this.globalSettingsSchema(cap);
6517
6458
  if (!schema) return { sections: [] };
@@ -6522,6 +6463,55 @@ var BaseAddon = class {
6522
6463
  } : projected);
6523
6464
  }
6524
6465
  /**
6466
+ * The integration-level view of this addon's settings: exactly the sections
6467
+ * named by {@link integrationSettingSections}, hydrated from the SAME store
6468
+ * `getGlobalSettings` reads, and narrowed to cluster-scoped fields.
6469
+ *
6470
+ * Returns `null` when the addon declared nothing — an addon that opts out has
6471
+ * no integration settings surface at all, rather than an empty one that reads
6472
+ * as a failed load.
6473
+ *
6474
+ * Three properties hold BY CONSTRUCTION, which is why they are here in core
6475
+ * and not in whichever UI happens to render this:
6476
+ *
6477
+ * 1. **One key.** The payload is a SUBSET of the global schema, so a field
6478
+ * shown here is the same field, with the same bare key, that the addon's
6479
+ * own page shows. There is no integration-specific writer — callers save
6480
+ * through `updateGlobalSettings` — so a second store key is unreachable,
6481
+ * not merely discouraged.
6482
+ * 2. **No node scope.** `perNode: true` fields are DROPPED. Their store key
6483
+ * is `<key>@<nodeId>` and an integration is not a node; whichever node
6484
+ * such a field silently picked would be a wrong answer for the operator
6485
+ * who opened the page (D266).
6486
+ * 3. **No silent typo.** A declared id that names no section throws. The
6487
+ * alternative — skip it — turns a rename into a surface that quietly
6488
+ * empties, which looks exactly like an addon with nothing to configure.
6489
+ */
6490
+ async getIntegrationSettings(nodeId) {
6491
+ const declared = this.integrationSettingSections();
6492
+ if (declared.length === 0) return null;
6493
+ const schema = this.globalSettingsSchema();
6494
+ if (!schema) throw new Error(`${this.constructor.name}: integrationSettingSections() names [${declared.join(", ")}] but globalSettingsSchema() returns null.`);
6495
+ const byId = new Map(schema.sections.map((section) => [section.id, section]));
6496
+ const sections = [];
6497
+ for (const id of declared) {
6498
+ const section = byId.get(id);
6499
+ if (!section) throw new Error(`${this.constructor.name}: integrationSettingSections() names unknown section "${id}". Known sections: [${[...byId.keys()].join(", ")}].`);
6500
+ const fields = dropPerNodeFields(section.fields);
6501
+ if (fields.length === 0) continue;
6502
+ sections.push({
6503
+ ...section,
6504
+ fields
6505
+ });
6506
+ }
6507
+ if (sections.length === 0) return null;
6508
+ const projected = await this.resolveGlobalStore(nodeId);
6509
+ return hydrateSchema({
6510
+ ...schema,
6511
+ sections
6512
+ }, projected);
6513
+ }
6514
+ /**
6525
6515
  * The raw addon store PROJECTED onto the target node's bare per-node keys:
6526
6516
  * every `perNode: true` field carries THAT node's scoped value on its bare
6527
6517
  * key (absent scoped key ⇒ key absent, so the schema `default` wins — no
@@ -6825,6 +6815,41 @@ var BaseAddon = class {
6825
6815
  * `hydrateSchema` does. Valueless structural fields (separator/info/…)
6826
6816
  * don't declare `perNode` and are excluded by the `in` narrowing.
6827
6817
  */
6818
+ /**
6819
+ * The same fields with every `perNode: true` one removed, recursing into layout
6820
+ * containers exactly as {@link collectPerNodeFieldKeys} does. A container left
6821
+ * with no child is dropped rather than rendered empty.
6822
+ *
6823
+ * Used by `getIntegrationSettings`: an integration is not a node, so a field
6824
+ * whose store key is `<key>@<nodeId>` has no node to belong to there.
6825
+ */
6826
+ function dropPerNodeFields(fields) {
6827
+ const kept = [];
6828
+ for (const field of fields) {
6829
+ if (field.type === "group") {
6830
+ const inner = dropPerNodeFields(field.fields);
6831
+ if (inner.length > 0) kept.push({
6832
+ ...field,
6833
+ fields: inner
6834
+ });
6835
+ continue;
6836
+ }
6837
+ if (field.type === "sub-tabs") {
6838
+ const tabs = field.tabs.map((tab) => ({
6839
+ ...tab,
6840
+ fields: dropPerNodeFields(tab.fields)
6841
+ })).filter((tab) => tab.fields.length > 0);
6842
+ if (tabs.length > 0) kept.push({
6843
+ ...field,
6844
+ tabs
6845
+ });
6846
+ continue;
6847
+ }
6848
+ if ("perNode" in field && field.perNode === true) continue;
6849
+ kept.push(field);
6850
+ }
6851
+ return kept;
6852
+ }
6828
6853
  function collectPerNodeFieldKeys(fields) {
6829
6854
  const collected = [];
6830
6855
  for (const field of fields) {
@@ -10055,6 +10080,9 @@ method(object({
10055
10080
  kind: "mutation",
10056
10081
  auth: "admin"
10057
10082
  }), method(object({
10083
+ addonId: string(),
10084
+ nodeId: string().optional()
10085
+ }), SettingsSchemaWithValuesSchema.nullable()), method(object({
10058
10086
  addonId: string(),
10059
10087
  deviceId: number(),
10060
10088
  nodeId: string().optional()
@@ -28493,6 +28521,12 @@ Object.freeze({
28493
28521
  addonId: null,
28494
28522
  access: "view"
28495
28523
  },
28524
+ "addonSettings.getIntegrationSettings": {
28525
+ capName: "addon-settings",
28526
+ capScope: "system",
28527
+ addonId: null,
28528
+ access: "view"
28529
+ },
28496
28530
  "addonSettings.updateDeviceSettings": {
28497
28531
  capName: "addon-settings",
28498
28532
  capScope: "system",
@@ -1,5 +1,5 @@
1
1
  import { h as e, l as t, u as n, y as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
2
- import { o as i, s as a } from "./responsive-CmBG3EBf.mjs";
2
+ import { o as i, s as a } from "./responsive-BWVkSjgC.mjs";
3
3
  import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
4
4
  var l = a("chevron-down", [["path", {
5
5
  d: "m6 9 6 6 6-6",
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-WBWKfCvF.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CZmB5SRo.mjs";
2
2
  export { t as get, e as init };
@@ -1,6 +1,6 @@
1
1
  import { c as e, g as t, h as n, l as r, n as i, p as a, r as o, t as s, u as c, y as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
- import { n as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CX9ONuvO.mjs";
3
+ import { n as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CE4txY-m.mjs";
4
4
  //#region ../ui-library/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
5
5
  l();
6
6
  var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
@@ -1,4 +1,4 @@
1
- import { s as e } from "./responsive-CmBG3EBf.mjs";
1
+ import { s as e } from "./responsive-BWVkSjgC.mjs";
2
2
  var t = e("eye-off", [
3
3
  ["path", {
4
4
  d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
@@ -1,4 +1,4 @@
1
- import { s as e } from "./responsive-CmBG3EBf.mjs";
1
+ import { s as e } from "./responsive-BWVkSjgC.mjs";
2
2
  var t = e("trash-2", [
3
3
  ["path", {
4
4
  d: "M10 11v6",
@@ -1,5 +1,5 @@
1
1
  import { c as e, h as t, p as n, y as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
2
- import { s as i } from "./responsive-CmBG3EBf.mjs";
2
+ import { s as i } from "./responsive-BWVkSjgC.mjs";
3
3
  var a = i("camera", [["path", {
4
4
  d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
5
5
  key: "18u6gg"
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DesTVb3n.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DCDHH2z9.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-model-studio",
3
- "version": "1.1.50",
3
+ "version": "1.1.52",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",
@@ -39,7 +39,8 @@
39
39
  "execution": {
40
40
  "placement": "any-node",
41
41
  "heapProfile": "heavy",
42
- "group": "ml"
42
+ "group": "ml",
43
+ "rssBudgetMb": 2048
43
44
  },
44
45
  "capabilities": [
45
46
  {
@@ -1,26 +0,0 @@
1
- //#region \0virtual:mf:__mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
2
- var e = "__mf_init__virtual:mf:__mfe_internal__addon_model_studio_page__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, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D = (e) => {
19
- e.ACCESSORY_LABEL, e.ACCESS_ROLES, e.ALEXA_EGRESS_PROFILE, a = e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, 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.AnalyticsGroupDetailSchema, e.AnalyticsGroupMemberSchema, e.AnalyticsGroupRecordSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, 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.BOOT_RECOVERY_BACKOFF_MS, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, 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.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.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, o = e.ConvertArtifactSchema, e.ConvertResultSchema, s = 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, c = 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.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_SCOPED_CAPS, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATE_READERS, e.DEVICE_STATUS_METHOD, l = 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, u = e.DeviceFeature, e.DeviceInfoSchema, e.DeviceNetworkStatsSchema, d = e.DeviceRole, e.DeviceRuntimeState, e.DeviceSelectorSchema, e.DeviceStatusSchema, f = 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_KIND_BY_CAP, e.EVENT_PAD_MS, p = 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, m = e.EventCategory, 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, h = 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.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.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.LinkedDeviceSchema, e.LinkedDevicesModeSchema, e.ListGroupsPageSchema, e.ListGroupsQueryInput, 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_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_SENSOR_TRIGGER_DEVICES, e.METHOD_ACCESS_MAP, e.METHOD_DEVICE_SELECTORS, g = 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.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, _ = e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, v = 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.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.NativeCropBboxSchema, e.NativeCropRefSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeLeaseAdmissionSchema, e.NativeLeaseSettingsSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, 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.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.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, y = e.PET_FEEDER_MANUAL_FEED_MAX, b = 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.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.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.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, 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.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RelocateFootageClassSchema, e.RelocateFootageInputSchema, e.RelocateJobSchema, e.RelocateJobStateSchema, e.RelocateMediaInputSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, 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.SOURCE_CAPS, e.SOURCE_CAP_ACTIVE_FIELD, e.SOURCE_CAP_CHANGED_AT_FIELD, e.SOURCE_DEVICE_TYPES, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.SYSTEM_SCOPE_DEVICE_METHODS, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneConfirmSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, 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, x = e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageEndDownloadInputSchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageMigrationClassSchema, e.StorageMigrationDestinationsSchema, e.StorageMigrationFootageMoveInputSchema, e.StorageMigrationInputSchema, e.StorageMigrationJobSchema, e.StorageMigrationLeaseInputSchema, e.StorageMigrationMediaMoveInputSchema, e.StorageMigrationMoveSchema, e.StorageMigrationParticipantSchema, e.StorageMigrationPhaseSchema, e.StorageMigrationPlanSchema, 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.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.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.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, S = 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.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, C = e.createDeviceProxy, e.createDurableState, e.createEvent, e.createEventBusSliceSource, e.createExpressionScope, e.createHwAccelCache, e.createLazyTrpcSource, e.createLogChannelsProvider, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, w = e.customAction, e.customModelRegistryCapability, e.dataStoreProviderCapability, e.dayNightCapability, e.declarationOwnerNodeId, e.declareLogChannel, e.decodeVectorBase64, e.decoderCapability, e.defaultDeliveryForSection, e.defaultDeviceFor, T = e.defineCustomActions, e.deriveBatteryPresence, e.deriveCameraSwitches, e.deriveDetailCropRect, e.deriveRecordingMode, 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.expandCapMethods, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.foldSnapshotByFunction, e.formatForBackend, e.formatForRuntime, e.gasCapability, 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.isNode, e.isObjectInput, e.isOccupancyRule, e.isRestoredCap, e.isSameAddonId, e.isScheduleActive, e.isSoftwareDecode, e.isSourceCap, e.isSystemDelivery, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.knownValues, e.lawnMowerControlCapability, 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, e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.methodAccessForHttpMethod, e.metricsProviderCapability, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.networkAccessCapability, 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.rectsToCells, e.reducePoints, e.requiresPython, e.resetPoolBaseline, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveBucketMs, e.resolveCapMount, e.resolveClusterStepModelId, e.resolveDetectionRuntime, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveEgressDecodeHwAccel, e.resolveFormat, e.resolveHydratedFieldValue, 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.scopeInherits, e.scopeKey, e.scopesAllowAddon, e.scopesAllowDeviceCap, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, 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.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, 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 = 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.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
20
- }, O = i.share["default:@camstack/types"];
21
- O === void 0 ? n.then(() => {
22
- if (O = i.share["default:@camstack/types"], O === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
23
- D(O);
24
- }) : D(O);
25
- //#endregion
26
- export { x as S, g as _, E as a, y as b, c, d, f, h as g, m as h, T as i, l, a as m, C as n, o, p, w as r, s, S as t, u, _ as v, b as x, v as y };