@camstack/addon-model-studio 1.0.7 → 1.0.8

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 (16) hide show
  1. package/dist/{MotionZonesSettings-B8ishTpw.mjs → MotionZonesSettings-CxaT6RNw.mjs} +1 -1
  2. package/dist/{PrivacyMaskSettings-P06be0E2.mjs → PrivacyMaskSettings-DFIf92LX.mjs} +2 -2
  3. package/dist/_stub.js +79 -14
  4. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BDzo-62o.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Df7bWXWY.mjs} +4 -4
  5. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-GnB4e4nr.mjs +26 -0
  6. package/dist/{_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_2_dom__loadShare__.js-Dh0QbaoP.mjs → _virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_2_dom__loadShare__.js-C8Ar0nzL.mjs} +7 -8
  7. package/dist/addon-model-studio.css +1 -1
  8. package/dist/{hostInit-DE_JOC0T.mjs → hostInit-DwPSkEWE.mjs} +3 -3
  9. package/dist/model-studio.addon.js +87 -23
  10. package/dist/model-studio.addon.mjs +87 -23
  11. package/dist/{player-overlays-CeF0YjKF.mjs → player-overlays-BWT6XlBa.mjs} +1 -1
  12. package/dist/remoteEntry.js +1 -1
  13. package/dist/{trash-2-Ct7_ZXVk.mjs → trash-2-gN_j7tTg.mjs} +1 -1
  14. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BIAQtqPW.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BpayjjIF.mjs} +1 -1
  15. package/package.json +1 -1
  16. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-cUKFrqHE.mjs +0 -26
@@ -9021,18 +9021,47 @@ object({
9021
9021
  lastUpdated: number().nullable()
9022
9022
  });
9023
9023
  DeviceType.Image;
9024
+ /**
9025
+ * Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
9026
+ * with a mowing lifecycle plus a dock action.
9027
+ *
9028
+ * Activity follows HA's canonical lawn-mower lifecycle: `idle` /
9029
+ * `mowing` / `paused` / `docked` / `error`. `batteryLevel` (0..100) is
9030
+ * nullable — some mowers don't report a battery percentage.
9031
+ *
9032
+ * `startMowing` begins a mowing run, `pause` halts it in place, and
9033
+ * `dock` sends the mower back to its charging station.
9034
+ */
9035
+ var LawnMowerActivitySchema = _enum([
9036
+ "idle",
9037
+ "mowing",
9038
+ "paused",
9039
+ "docked",
9040
+ "error"
9041
+ ]);
9042
+ /** Severity of the current device/error code — info (status), warning, error. */
9043
+ var DeviceCodeSeveritySchema = _enum([
9044
+ "info",
9045
+ "warning",
9046
+ "error"
9047
+ ]);
9024
9048
  object({
9025
9049
  /** Lifecycle activity of the mower. */
9026
- activity: _enum([
9027
- "idle",
9028
- "mowing",
9029
- "paused",
9030
- "docked",
9031
- "error"
9032
- ]),
9050
+ activity: LawnMowerActivitySchema,
9033
9051
  /** 0..100 battery percentage. Null when the device has no battery
9034
9052
  * reading. */
9035
9053
  batteryLevel: number().min(0).max(100).nullable(),
9054
+ /** 0..100 mowing-completion percentage of the current task, or null when no
9055
+ * task is active / progress is unavailable. */
9056
+ progressPercent: number().min(0).max(100).nullable(),
9057
+ /** Current device/event code (dynamic — mostly status, sometimes an error),
9058
+ * or null when unknown. */
9059
+ currentCode: number().nullable(),
9060
+ /** Human label for {@link currentCode}, or null when undecodable. */
9061
+ currentCodeLabel: string().nullable(),
9062
+ /** Severity of {@link currentCode}. `error` (and often `warning`) warrants UI
9063
+ * attention; `info` is normal status. */
9064
+ severity: DeviceCodeSeveritySchema,
9036
9065
  /** Ms epoch when the slice was last updated. */
9037
9066
  lastChangedAt: number()
9038
9067
  });
@@ -10607,6 +10636,7 @@ var VacuumStateSchema = _enum([
10607
10636
  "paused",
10608
10637
  "returning",
10609
10638
  "docked",
10639
+ "drying",
10610
10640
  "error"
10611
10641
  ]);
10612
10642
  /**
@@ -10645,6 +10675,12 @@ object({
10645
10675
  detergent: TankStatusSchema.nullable(),
10646
10676
  /** Dust bin. Null when the hardware has no dust bin. */
10647
10677
  dustBin: TankStatusSchema.nullable(),
10678
+ /** 0..100 cleaning-completion percentage of the current task, or null. */
10679
+ progressPercent: number().min(0).max(100).nullable(),
10680
+ /** Current error code (0 / null = no error). */
10681
+ errorCode: number().nullable(),
10682
+ /** Human label for {@link errorCode}, or null when none / undecodable. */
10683
+ errorLabel: string().nullable(),
10648
10684
  /** Ms epoch when the slice was last updated. */
10649
10685
  lastChangedAt: number()
10650
10686
  });
@@ -12107,17 +12143,32 @@ var ReleaseInputSchema = object({
12107
12143
  * the parent cascades into every accessory. */
12108
12144
  camDeviceId: number().int().nonnegative()
12109
12145
  });
12110
- var ResyncInputSchema = object({
12111
- /** Parent CamStack device id of an adopted device. The provider resolves its
12112
- * source (integration/broker + native id) and re-aligns the device's
12113
- * structural spec (type/role/capabilities/units) with the live mapping,
12114
- * rebuilding any child whose class changed while preserving operator edits. */
12115
- camDeviceId: number().int().nonnegative() });
12146
+ var ResyncInputSchema = object({
12147
+ /** Parent CamStack device id of an adopted device. The provider resolves its
12148
+ * source (integration/broker + native id) and re-aligns the device's
12149
+ * structural spec (type/role/capabilities/units) with the live mapping,
12150
+ * rebuilding any child whose class changed while preserving operator edits. */
12151
+ camDeviceId: number().int().nonnegative(),
12152
+ /** "Resync from zero" (#19). When true, the kernel PURGES every accessory
12153
+ * child of `camDeviceId` BEFORE the provider re-derives the device, so the
12154
+ * children are rebuilt fresh from source — correct names, coords, and units —
12155
+ * instead of being preserved by the incremental reconcile. Use to recover from
12156
+ * legacy generic/placeholder names that the normal name-precedence keeps frozen
12157
+ * (the operator's explicit reset). Push-driven integrations (no-op resync)
12158
+ * rebuild on their next snapshot; pull/command integrations rebuild in `resync`.
12159
+ * Operator edits on the PARENT (its name, layout, primary-child pick) survive —
12160
+ * only the children are torn down. Omitted/false ⇒ the normal incremental
12161
+ * re-sync that preserves children. */
12162
+ resetToSource: boolean().optional()
12163
+ });
12116
12164
  var ResyncResultSchema = object({
12117
12165
  /** True when the persisted spec actually changed (children may have been rebuilt). */
12118
12166
  changed: boolean(),
12119
12167
  /** Number of child devices rebuilt into a new class by this re-sync. */
12120
- rebuiltChildren: number().int().nonnegative()
12168
+ rebuiltChildren: number().int().nonnegative(),
12169
+ /** Number of accessory children torn down by a `resetToSource` purge before the
12170
+ * provider re-derived the device. 0/absent for a normal incremental re-sync. */
12171
+ removedChildren: number().int().nonnegative().optional()
12121
12172
  });
12122
12173
  method(object({ integrationId: string() }), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema, ListCandidatesOutputSchema, { auth: "admin" }), method(GetCandidateInputSchema, DiscoveredChildDeviceSchema.nullable(), { auth: "admin" }), method(object({ integrationId: string() }), AdoptionStatusSchema, {
12123
12174
  kind: "mutation",
@@ -13834,6 +13885,11 @@ var DeviceMetaSchema = object({
13834
13885
  addonId: string(),
13835
13886
  type: string(),
13836
13887
  name: string(),
13888
+ /** True once an operator explicitly renamed the device via `setName`. Drives
13889
+ * reconcile name-precedence (preserve operator name vs adopt fresh provider
13890
+ * name). Absent ⇒ treated as user-named (PRESERVE) for legacy rows. See
13891
+ * `DeviceMeta.userNamed`. */
13892
+ userNamed: boolean().optional(),
13837
13893
  location: string().nullable(),
13838
13894
  disabled: boolean(),
13839
13895
  parentDeviceId: number().nullable(),
@@ -14144,6 +14200,9 @@ method(object({
14144
14200
  }), method(ReleaseInputSchema.extend({ addonId: string() }), _void(), {
14145
14201
  kind: "mutation",
14146
14202
  auth: "admin"
14203
+ }), method(ResyncInputSchema, ResyncResultSchema, {
14204
+ kind: "mutation",
14205
+ auth: "admin"
14147
14206
  }), method(object({
14148
14207
  deviceId: number(),
14149
14208
  key: string(),
@@ -17906,6 +17965,12 @@ Object.freeze({
17906
17965
  addonId: null,
17907
17966
  access: "create"
17908
17967
  },
17968
+ "deviceManager.adoptionResync": {
17969
+ capName: "device-manager",
17970
+ capScope: "system",
17971
+ addonId: null,
17972
+ access: "create"
17973
+ },
17909
17974
  "deviceManager.allocateDeviceId": {
17910
17975
  capName: "device-manager",
17911
17976
  capScope: "system",
@@ -21324,7 +21389,7 @@ async function recommendConvertNode(input, deps) {
21324
21389
  reason: verdict.reason,
21325
21390
  supported: verdict.ok
21326
21391
  };
21327
- }))).sort((a, b) => Number(b.supported) - Number(a.supported));
21392
+ }))).toSorted((a, b) => Number(b.supported) - Number(a.supported));
21328
21393
  }
21329
21394
  async function convertModel(input, deps) {
21330
21395
  let nodeId = input.targetNodeId;
@@ -21359,7 +21424,7 @@ var ConvertProgressSchema = object({
21359
21424
  var ConvertResultLineSchema = object({ result: object({ artifacts: array(ConvertArtifactSchema) }) });
21360
21425
  function buildEntry(metadata, artifacts) {
21361
21426
  const formats = {};
21362
- const bestOv = artifacts.filter((a) => a.format === "openvino").sort((a, b) => {
21427
+ const bestOv = artifacts.filter((a) => a.format === "openvino").toSorted((a, b) => {
21363
21428
  if (a.precision === "int8") return -1;
21364
21429
  if (b.precision === "int8") return 1;
21365
21430
  return 0;
@@ -21509,36 +21574,35 @@ var ModelStudioAddon = class extends BaseAddon {
21509
21574
  super({});
21510
21575
  }
21511
21576
  makeConvertDeps() {
21512
- const self = this;
21513
21577
  return {
21514
- modelsDir: () => self.resolveModelsDir(),
21578
+ modelsDir: () => this.resolveModelsDir(),
21515
21579
  pythonPath: async () => {
21516
- const py = await self.ctx.deps.ensurePython();
21580
+ const py = await this.ctx.deps.ensurePython();
21517
21581
  if (py === null) throw new Error("model-convert: Python runtime unavailable on this node");
21518
21582
  return py;
21519
21583
  },
21520
21584
  ensureRequirements: async () => {
21521
21585
  const pythonDir = resolveAddonPythonDir();
21522
- await self.ctx.deps.installPythonRequirements(node_path.default.join(pythonDir, "requirements.txt"));
21586
+ await this.ctx.deps.installPythonRequirements(node_path.default.join(pythonDir, "requirements.txt"));
21523
21587
  },
21524
21588
  downloadOnnx: async (url, destDir, modelId) => {
21525
21589
  const filename = `camstack-${modelId}.onnx`;
21526
21590
  return downloadFile(url, node_path.default.join(destDir, filename));
21527
21591
  },
21528
21592
  writeJob: async (job) => {
21529
- const tmpDir = self.ctx.dataDir ?? node_os.default.tmpdir();
21593
+ const tmpDir = this.ctx.dataDir ?? node_os.default.tmpdir();
21530
21594
  const jobPath = node_path.default.join(tmpDir, `model-convert-job-${node_crypto.default.randomUUID()}.json`);
21531
21595
  await node_fs.default.promises.writeFile(jobPath, JSON.stringify(job), "utf8");
21532
21596
  return jobPath;
21533
21597
  },
21534
21598
  runConvert: spawnRunConvert,
21535
21599
  onProgress: (p, sessionId) => {
21536
- self.ctx.eventBus.emit({
21600
+ this.ctx.eventBus.emit({
21537
21601
  id: node_crypto.default.randomUUID(),
21538
21602
  timestamp: /* @__PURE__ */ new Date(),
21539
21603
  source: {
21540
21604
  type: "addon",
21541
- id: self.id
21605
+ id: this.id
21542
21606
  },
21543
21607
  category: EventCategory.ModelConvertProgress,
21544
21608
  data: {
@@ -8998,18 +8998,47 @@ object({
8998
8998
  lastUpdated: number().nullable()
8999
8999
  });
9000
9000
  DeviceType.Image;
9001
+ /**
9002
+ * Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
9003
+ * with a mowing lifecycle plus a dock action.
9004
+ *
9005
+ * Activity follows HA's canonical lawn-mower lifecycle: `idle` /
9006
+ * `mowing` / `paused` / `docked` / `error`. `batteryLevel` (0..100) is
9007
+ * nullable — some mowers don't report a battery percentage.
9008
+ *
9009
+ * `startMowing` begins a mowing run, `pause` halts it in place, and
9010
+ * `dock` sends the mower back to its charging station.
9011
+ */
9012
+ var LawnMowerActivitySchema = _enum([
9013
+ "idle",
9014
+ "mowing",
9015
+ "paused",
9016
+ "docked",
9017
+ "error"
9018
+ ]);
9019
+ /** Severity of the current device/error code — info (status), warning, error. */
9020
+ var DeviceCodeSeveritySchema = _enum([
9021
+ "info",
9022
+ "warning",
9023
+ "error"
9024
+ ]);
9001
9025
  object({
9002
9026
  /** Lifecycle activity of the mower. */
9003
- activity: _enum([
9004
- "idle",
9005
- "mowing",
9006
- "paused",
9007
- "docked",
9008
- "error"
9009
- ]),
9027
+ activity: LawnMowerActivitySchema,
9010
9028
  /** 0..100 battery percentage. Null when the device has no battery
9011
9029
  * reading. */
9012
9030
  batteryLevel: number().min(0).max(100).nullable(),
9031
+ /** 0..100 mowing-completion percentage of the current task, or null when no
9032
+ * task is active / progress is unavailable. */
9033
+ progressPercent: number().min(0).max(100).nullable(),
9034
+ /** Current device/event code (dynamic — mostly status, sometimes an error),
9035
+ * or null when unknown. */
9036
+ currentCode: number().nullable(),
9037
+ /** Human label for {@link currentCode}, or null when undecodable. */
9038
+ currentCodeLabel: string().nullable(),
9039
+ /** Severity of {@link currentCode}. `error` (and often `warning`) warrants UI
9040
+ * attention; `info` is normal status. */
9041
+ severity: DeviceCodeSeveritySchema,
9013
9042
  /** Ms epoch when the slice was last updated. */
9014
9043
  lastChangedAt: number()
9015
9044
  });
@@ -10584,6 +10613,7 @@ var VacuumStateSchema = _enum([
10584
10613
  "paused",
10585
10614
  "returning",
10586
10615
  "docked",
10616
+ "drying",
10587
10617
  "error"
10588
10618
  ]);
10589
10619
  /**
@@ -10622,6 +10652,12 @@ object({
10622
10652
  detergent: TankStatusSchema.nullable(),
10623
10653
  /** Dust bin. Null when the hardware has no dust bin. */
10624
10654
  dustBin: TankStatusSchema.nullable(),
10655
+ /** 0..100 cleaning-completion percentage of the current task, or null. */
10656
+ progressPercent: number().min(0).max(100).nullable(),
10657
+ /** Current error code (0 / null = no error). */
10658
+ errorCode: number().nullable(),
10659
+ /** Human label for {@link errorCode}, or null when none / undecodable. */
10660
+ errorLabel: string().nullable(),
10625
10661
  /** Ms epoch when the slice was last updated. */
10626
10662
  lastChangedAt: number()
10627
10663
  });
@@ -12084,17 +12120,32 @@ var ReleaseInputSchema = object({
12084
12120
  * the parent cascades into every accessory. */
12085
12121
  camDeviceId: number().int().nonnegative()
12086
12122
  });
12087
- var ResyncInputSchema = object({
12088
- /** Parent CamStack device id of an adopted device. The provider resolves its
12089
- * source (integration/broker + native id) and re-aligns the device's
12090
- * structural spec (type/role/capabilities/units) with the live mapping,
12091
- * rebuilding any child whose class changed while preserving operator edits. */
12092
- camDeviceId: number().int().nonnegative() });
12123
+ var ResyncInputSchema = object({
12124
+ /** Parent CamStack device id of an adopted device. The provider resolves its
12125
+ * source (integration/broker + native id) and re-aligns the device's
12126
+ * structural spec (type/role/capabilities/units) with the live mapping,
12127
+ * rebuilding any child whose class changed while preserving operator edits. */
12128
+ camDeviceId: number().int().nonnegative(),
12129
+ /** "Resync from zero" (#19). When true, the kernel PURGES every accessory
12130
+ * child of `camDeviceId` BEFORE the provider re-derives the device, so the
12131
+ * children are rebuilt fresh from source — correct names, coords, and units —
12132
+ * instead of being preserved by the incremental reconcile. Use to recover from
12133
+ * legacy generic/placeholder names that the normal name-precedence keeps frozen
12134
+ * (the operator's explicit reset). Push-driven integrations (no-op resync)
12135
+ * rebuild on their next snapshot; pull/command integrations rebuild in `resync`.
12136
+ * Operator edits on the PARENT (its name, layout, primary-child pick) survive —
12137
+ * only the children are torn down. Omitted/false ⇒ the normal incremental
12138
+ * re-sync that preserves children. */
12139
+ resetToSource: boolean().optional()
12140
+ });
12093
12141
  var ResyncResultSchema = object({
12094
12142
  /** True when the persisted spec actually changed (children may have been rebuilt). */
12095
12143
  changed: boolean(),
12096
12144
  /** Number of child devices rebuilt into a new class by this re-sync. */
12097
- rebuiltChildren: number().int().nonnegative()
12145
+ rebuiltChildren: number().int().nonnegative(),
12146
+ /** Number of accessory children torn down by a `resetToSource` purge before the
12147
+ * provider re-derived the device. 0/absent for a normal incremental re-sync. */
12148
+ removedChildren: number().int().nonnegative().optional()
12098
12149
  });
12099
12150
  method(object({ integrationId: string() }), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema, ListCandidatesOutputSchema, { auth: "admin" }), method(GetCandidateInputSchema, DiscoveredChildDeviceSchema.nullable(), { auth: "admin" }), method(object({ integrationId: string() }), AdoptionStatusSchema, {
12100
12151
  kind: "mutation",
@@ -13811,6 +13862,11 @@ var DeviceMetaSchema = object({
13811
13862
  addonId: string(),
13812
13863
  type: string(),
13813
13864
  name: string(),
13865
+ /** True once an operator explicitly renamed the device via `setName`. Drives
13866
+ * reconcile name-precedence (preserve operator name vs adopt fresh provider
13867
+ * name). Absent ⇒ treated as user-named (PRESERVE) for legacy rows. See
13868
+ * `DeviceMeta.userNamed`. */
13869
+ userNamed: boolean().optional(),
13814
13870
  location: string().nullable(),
13815
13871
  disabled: boolean(),
13816
13872
  parentDeviceId: number().nullable(),
@@ -14121,6 +14177,9 @@ method(object({
14121
14177
  }), method(ReleaseInputSchema.extend({ addonId: string() }), _void(), {
14122
14178
  kind: "mutation",
14123
14179
  auth: "admin"
14180
+ }), method(ResyncInputSchema, ResyncResultSchema, {
14181
+ kind: "mutation",
14182
+ auth: "admin"
14124
14183
  }), method(object({
14125
14184
  deviceId: number(),
14126
14185
  key: string(),
@@ -17883,6 +17942,12 @@ Object.freeze({
17883
17942
  addonId: null,
17884
17943
  access: "create"
17885
17944
  },
17945
+ "deviceManager.adoptionResync": {
17946
+ capName: "device-manager",
17947
+ capScope: "system",
17948
+ addonId: null,
17949
+ access: "create"
17950
+ },
17886
17951
  "deviceManager.allocateDeviceId": {
17887
17952
  capName: "device-manager",
17888
17953
  capScope: "system",
@@ -21301,7 +21366,7 @@ async function recommendConvertNode(input, deps) {
21301
21366
  reason: verdict.reason,
21302
21367
  supported: verdict.ok
21303
21368
  };
21304
- }))).sort((a, b) => Number(b.supported) - Number(a.supported));
21369
+ }))).toSorted((a, b) => Number(b.supported) - Number(a.supported));
21305
21370
  }
21306
21371
  async function convertModel(input, deps) {
21307
21372
  let nodeId = input.targetNodeId;
@@ -21336,7 +21401,7 @@ var ConvertProgressSchema = object({
21336
21401
  var ConvertResultLineSchema = object({ result: object({ artifacts: array(ConvertArtifactSchema) }) });
21337
21402
  function buildEntry(metadata, artifacts) {
21338
21403
  const formats = {};
21339
- const bestOv = artifacts.filter((a) => a.format === "openvino").sort((a, b) => {
21404
+ const bestOv = artifacts.filter((a) => a.format === "openvino").toSorted((a, b) => {
21340
21405
  if (a.precision === "int8") return -1;
21341
21406
  if (b.precision === "int8") return 1;
21342
21407
  return 0;
@@ -21486,36 +21551,35 @@ var ModelStudioAddon = class extends BaseAddon {
21486
21551
  super({});
21487
21552
  }
21488
21553
  makeConvertDeps() {
21489
- const self = this;
21490
21554
  return {
21491
- modelsDir: () => self.resolveModelsDir(),
21555
+ modelsDir: () => this.resolveModelsDir(),
21492
21556
  pythonPath: async () => {
21493
- const py = await self.ctx.deps.ensurePython();
21557
+ const py = await this.ctx.deps.ensurePython();
21494
21558
  if (py === null) throw new Error("model-convert: Python runtime unavailable on this node");
21495
21559
  return py;
21496
21560
  },
21497
21561
  ensureRequirements: async () => {
21498
21562
  const pythonDir = resolveAddonPythonDir();
21499
- await self.ctx.deps.installPythonRequirements(path.join(pythonDir, "requirements.txt"));
21563
+ await this.ctx.deps.installPythonRequirements(path.join(pythonDir, "requirements.txt"));
21500
21564
  },
21501
21565
  downloadOnnx: async (url, destDir, modelId) => {
21502
21566
  const filename = `camstack-${modelId}.onnx`;
21503
21567
  return downloadFile(url, path.join(destDir, filename));
21504
21568
  },
21505
21569
  writeJob: async (job) => {
21506
- const tmpDir = self.ctx.dataDir ?? os.tmpdir();
21570
+ const tmpDir = this.ctx.dataDir ?? os.tmpdir();
21507
21571
  const jobPath = path.join(tmpDir, `model-convert-job-${crypto$1.randomUUID()}.json`);
21508
21572
  await fs.promises.writeFile(jobPath, JSON.stringify(job), "utf8");
21509
21573
  return jobPath;
21510
21574
  },
21511
21575
  runConvert: spawnRunConvert,
21512
21576
  onProgress: (p, sessionId) => {
21513
- self.ctx.eventBus.emit({
21577
+ this.ctx.eventBus.emit({
21514
21578
  id: crypto$1.randomUUID(),
21515
21579
  timestamp: /* @__PURE__ */ new Date(),
21516
21580
  source: {
21517
21581
  type: "addon",
21518
- id: self.id
21582
+ id: this.id
21519
21583
  },
21520
21584
  category: EventCategory.ModelConvertProgress,
21521
21585
  data: {
@@ -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 { n as u, r as d, t as f } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
- import { c as p } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-cUKFrqHE.mjs";
3
+ import { c as p } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-GnB4e4nr.mjs";
4
4
  //#region ../ui-library/src/lib/cap-error.ts
5
5
  function m(e) {
6
6
  if (typeof e != "object" || !e) return null;
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BIAQtqPW.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BpayjjIF.mjs";
2
2
  export { t as get, e as init };
@@ -1,4 +1,4 @@
1
- import { s as e } from "./player-overlays-CeF0YjKF.mjs";
1
+ import { s as e } from "./player-overlays-BWT6XlBa.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",
@@ -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-BDzo-62o.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Df7bWXWY.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.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",
@@ -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 = (e) => {
19
- e.ACCESSORY_LABEL, a = e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.AUDIO_BACKEND_CHOICES, e.AUDIO_MACRO_LABELS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.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.AutomationControlStatusSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BATTERY_DEVICE_PROFILE, 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.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.COCO_80_LABELS, e.COCO_TO_MACRO, 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.CameraStatusSchema, e.CameraStreamSchema, 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.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, 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.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_FEATURES, e.DEFAULT_RETENTION, e.DEVICE_CAP_NAMES, e.DEVICE_PROFILES, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_INFO, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderAssignmentSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetectionSourceSchema, e.DetectorOutputSchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, o = e.DeviceFeature, e.DeviceInfoSchema, e.DeviceNetworkStatsSchema, s = e.DeviceRole, e.DeviceRuntimeState, e.DeviceStatusSchema, c = e.DeviceType, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, l = e.EventCategory, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindSchema, e.EventSourceType, e.ExportSetupFieldSchema, e.ExportSetupSchema, u = e.ExposedDeviceSchema, e.ExposedResourceSchema, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.GasStatusSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.ImageStatusSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.LabelDefinitionSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.MACRO_LABELS, e.METHOD_ACCESS_MAP, e.MODEL_FORMATS, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, 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.NativeDetectionSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NotificationHistoryEntrySchema, e.NotificationRuleSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdStatusSchema, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, 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.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.RECOGNITION_TYPES, e.RUNTIME_DEFAULTS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadSegmentBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingModeSchema, e.RecordingRangeSchema, e.RecordingRetentionSchema, e.RecordingRuleSchema, e.RecordingScheduleSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RegisteredStreamSchema, e.ReportMotionInputSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCOPE_PRESETS, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, d = e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StorageAbortUploadInputSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageEndDownloadInputSchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamInfoSchema, 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.TIMEZONES, e.TamperStatusSchema, e.TankStatusSchema, e.TemperatureSensorStatusSchema, e.TestConnectionResultSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackSchema, e.TrackStateSchema, e.TrackedDetectionSchema, e.TurnServerSchema, e.UnifiedBrokerInfoSchema, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WidgetHostEnum, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.YAMNET_TO_MACRO, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.advancedNotifierCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.applyTransform, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioCodecCapability, e.audioMetricsCapability, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildStreamParamsConfigSchema, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.carbonMonoxideCapability, e.cellsToRects, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.colorCapability, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.cosineSimilarity, e.coverCapability, f = e.createDeviceProxy, e.createDurableState, e.createEvent, e.createLazyTrpcSource, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.decoderCapability, e.defaultDeviceFor, e.defineCustomActions, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.enumSensorCapability, e.enumerateSchemaFields, e.errMsg, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.expandCapMethods, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.formatForBackend, e.formatForRuntime, e.frameworkSwapConfirmSchema, e.frameworkSwapPackageSchema, e.gasCapability, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.hfModelUrl, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.integrationsCapability, e.intercomCapability, e.isAgentOnlyPlacement, e.isDeployableToAgent, e.isDeviceConfigCap, e.isEvent, e.jobKindSchema, e.lawnMowerControlCapability, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logDestinationCapability, e.makeProfileBrokerId, e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.maskUrlCredentials, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.metricsProviderCapability, e.migrateConfigToBands, 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.normalizeUnit, e.notificationOutputCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.osdCapability, e.parseCameraStreamConfig, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProfileBrokerId, e.parseStreamParamsFormPatch, e.pendingFrameworkSwapSchema, e.pickPreferredRtspEntry, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.powerMeterCapability, e.presenceCapability, e.pressureSensorCapability, e.privacyMaskCapability, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readNodePin, e.readinessKey, e.rebootCapability, e.recordingCapability, e.rectsToCells, e.requiresPython, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveDetectionRuntime, e.resolveDeviceProfile, e.resolveModelFormat, e.resolveRunnerId, e.restreamerCapability, e.runInferenceStep, e.runtimeDevices, e.scopeKey, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.setByPath, e.settingsStoreCapability, e.sleep, e.sleepCancellable, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.snapshotProviderCapability, e.ssoBridgeCapability, e.storageCapability, e.storageEvictableCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.streamingEngineCapability, e.supportedRuntimes, e.switchCapability, e.synthesizeSourceInfo, e.systemCapability, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.toDeviceSummary, e.toStreamSourceEntry, e.toastCapability, e.turnProviderCapability, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.valveCapability, e.vibrationCapability, e.videoclipsCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcCapability, 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
- }, m = i.share["default:@camstack/types"];
21
- m === void 0 ? n.then(() => {
22
- if (m = i.share["default:@camstack/types"], m === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
23
- p(m);
24
- }) : p(m);
25
- //#endregion
26
- export { l as a, f as c, c as i, o as n, u as o, s as r, d as s, a as t };