@camstack/addon-pipeline 1.1.71 → 1.2.1

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 (28) hide show
  1. package/dist/audio-analyzer/index.js +1 -1
  2. package/dist/audio-analyzer/index.mjs +1 -1
  3. package/dist/detection-pipeline/index.js +2 -2
  4. package/dist/detection-pipeline/index.mjs +2 -2
  5. package/dist/{dist-DyALtmD7.mjs → dist-C3cDjL49.mjs} +39 -18
  6. package/dist/{dist-DzTjxf39.js → dist-E0K373T1.js} +39 -18
  7. package/dist/motion-wasm/index.js +1 -1
  8. package/dist/motion-wasm/index.mjs +1 -1
  9. package/dist/pipeline-runner/index.js +37 -10
  10. package/dist/pipeline-runner/index.mjs +37 -10
  11. package/dist/recorder/index.js +1 -1
  12. package/dist/recorder/index.mjs +1 -1
  13. package/dist/{step-definitions-Djy8aZLt.js → step-definitions-DMne6GHq.js} +1 -1
  14. package/dist/{step-definitions-rmBALHX4.mjs → step-definitions-ty97QrzE.mjs} +1 -1
  15. package/dist/stream-broker/_stub.js +1 -1
  16. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CMP316sx.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-B2g-vEQt.mjs} +3 -3
  17. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-UGa9yj7_.mjs +26 -0
  18. package/dist/stream-broker/{hostInit-DLJNx0Ly.mjs → hostInit-C3C5oZGy.mjs} +3 -3
  19. package/dist/stream-broker/index.js +1 -1
  20. package/dist/stream-broker/index.mjs +1 -1
  21. package/dist/stream-broker/remoteEntry.js +1 -1
  22. package/embed-dist/assets/{MaskShapeCanvas-DI4BY7W2-sOOxiGvP.js → MaskShapeCanvas-DI4BY7W2-BM5dXUL6.js} +1 -1
  23. package/embed-dist/assets/{MotionZonesSettings-NcxxQN8r-DdTQuT23.js → MotionZonesSettings-NcxxQN8r-C7QpBII3.js} +1 -1
  24. package/embed-dist/assets/{PrivacyMaskSettings-APgPLF7p-BrR0L3ql.js → PrivacyMaskSettings-APgPLF7p-DgvSlqrq.js} +1 -1
  25. package/embed-dist/assets/{index-Dk21l1_3.js → index-C3bYXV0t.js} +4 -4
  26. package/embed-dist/index.html +1 -1
  27. package/package.json +1 -1
  28. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BflyNuZv.mjs +0 -26
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-D6vf50IK.js");
6
- const require_dist = require("../dist-DzTjxf39.js");
6
+ const require_dist = require("../dist-E0K373T1.js");
7
7
  const require_node_topology_platform = require("../node-topology-platform-CFZ7F4xW.js");
8
8
  const require_model_download_service_Cp9f4dk6 = require("../model-download-service-Cp9f4dk6-Dv-oFwjN.js");
9
9
  let node_fs = require("node:fs");
@@ -1,5 +1,5 @@
1
1
  import { t as __require } from "../chunk-BdkLduGY.mjs";
2
- import { D as mapAudioLabelToMacro, H as errMsg, J as hydrateSchema, U as BaseAddon, _ as audioAnalysisCapability, d as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG, v as audioAnalyzerCapability } from "../dist-DyALtmD7.mjs";
2
+ import { D as mapAudioLabelToMacro, H as errMsg, J as hydrateSchema, U as BaseAddon, _ as audioAnalysisCapability, d as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG, v as audioAnalyzerCapability } from "../dist-C3cDjL49.mjs";
3
3
  import { t as pickNodePlatformArch } from "../node-topology-platform-BkR_k6WT.mjs";
4
4
  import { i as downloadFile } from "../model-download-service-Cp9f4dk6-CwUb5v3Y.mjs";
5
5
  import * as fs from "node:fs";
@@ -3,8 +3,8 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-D6vf50IK.js");
6
- const require_dist = require("../dist-DzTjxf39.js");
7
- const require_step_definitions = require("../step-definitions-Djy8aZLt.js");
6
+ const require_dist = require("../dist-E0K373T1.js");
7
+ const require_step_definitions = require("../step-definitions-DMne6GHq.js");
8
8
  const require_node_topology_platform = require("../node-topology-platform-CFZ7F4xW.js");
9
9
  const require_model_download_service_Cp9f4dk6 = require("../model-download-service-Cp9f4dk6-Dv-oFwjN.js");
10
10
  let node_child_process = require("node:child_process");
@@ -1,6 +1,6 @@
1
1
  import { t as __require } from "../chunk-BdkLduGY.mjs";
2
- import { B as supportedRuntimes$1, C as detectionPipelineCapability, H as errMsg, J as hydrateSchema, L as runtimeDevices$1, M as pipelineExecutorCapability, Q as parseJsonUnknown, T as evaluateZoneRules, U as BaseAddon, dt as string, ft as union, h as YAMNET_TO_MACRO, j as nodePin, lt as object, pt as EventCategory, q as createEvent, rt as array, s as DEVICE_BACKEND_TO_FORMAT, t as APPLE_SA_TO_MACRO, tt as sleep, w as enumerateInferenceDevices, x as defaultDeviceFor$1 } from "../dist-DyALtmD7.mjs";
3
- import { a as getStepDefinition, i as getStep, n as ALL_STEPS, o as resolveModelForFormat, r as getDefaultModelForFormat, t as ALL_PIPELINE_STEPS } from "../step-definitions-rmBALHX4.mjs";
2
+ import { B as supportedRuntimes$1, C as detectionPipelineCapability, H as errMsg, J as hydrateSchema, L as runtimeDevices$1, M as pipelineExecutorCapability, Q as parseJsonUnknown, T as evaluateZoneRules, U as BaseAddon, dt as string, ft as union, h as YAMNET_TO_MACRO, j as nodePin, lt as object, pt as EventCategory, q as createEvent, rt as array, s as DEVICE_BACKEND_TO_FORMAT, t as APPLE_SA_TO_MACRO, tt as sleep, w as enumerateInferenceDevices, x as defaultDeviceFor$1 } from "../dist-C3cDjL49.mjs";
3
+ import { a as getStepDefinition, i as getStep, n as ALL_STEPS, o as resolveModelForFormat, r as getDefaultModelForFormat, t as ALL_PIPELINE_STEPS } from "../step-definitions-ty97QrzE.mjs";
4
4
  import { t as pickNodePlatformArch } from "../node-topology-platform-BkR_k6WT.mjs";
5
5
  import { a as ensureModel, o as isModelDownloaded, r as deleteModelFromDisk } from "../model-download-service-Cp9f4dk6-CwUb5v3Y.mjs";
6
6
  import { spawn } from "node:child_process";
@@ -12321,7 +12321,21 @@ var NativeCropResultSchema = object({
12321
12321
  /** Packed rgb (24-bit) pixels of the crop. */
12322
12322
  bytes: _instanceof(Uint8Array),
12323
12323
  width: number().int().positive(),
12324
- height: number().int().positive()
12324
+ height: number().int().positive(),
12325
+ /**
12326
+ * Which source served this crop, so a quality-sensitive consumer (the native
12327
+ * `keyFrame`) can reject a degraded fallback:
12328
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
12329
+ * quality path).
12330
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
12331
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
12332
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
12333
+ *
12334
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
12335
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
12336
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
12337
+ */
12338
+ tier: _enum(["native", "ram-fullframe"]).optional()
12325
12339
  });
12326
12340
  /** Parent detection context passed to `runDetailSubtree` — the crop's
12327
12341
  * originating detection, in FRAME-space coordinates. Reuses
@@ -12675,10 +12689,15 @@ var pipelineRunnerCapability = {
12675
12689
  * `FrameHandle` that rode an inference-result event and a normalized `bbox`,
12676
12690
  * the runner asks the decode worker still holding that frame's NATIVE
12677
12691
  * surface to GPU/CPU-crop ONLY the ROI at native res and download just the
12678
- * crop. Returns `null` on a miss (handle not registered, or the worker's
12679
- * tiny native-retention ring already evicted the frame) — the caller falls
12680
- * back to a detection-frame crop. Routed to the frame's owning node by
12681
- * `handle.nodeId`; NEVER ships a full native frame.
12692
+ * crop. Routed to the frame's owning node by `handle.nodeId`; NEVER ships a
12693
+ * full native frame.
12694
+ *
12695
+ * Miss behaviour differs by request shape (see `NativeCropResultSchema.tier`):
12696
+ * - an ROI (subject-crop) miss returns `null` — the caller reports the miss
12697
+ * and retries; it is NEVER handed a ≤640 crop masquerading as native.
12698
+ * - a FULL-FRAME miss falls back to the ≤640 RAM `RetainedFrameStore`, tagged
12699
+ * `tier: 'ram-fullframe'` (honest lower-res for the blank-frame guard /
12700
+ * 640-snapshot resolve). A native hit is tagged `tier: 'native'`.
12682
12701
  */
12683
12702
  getNativeCrop: method(object({
12684
12703
  handle: FrameHandleSchema,
@@ -15937,7 +15956,8 @@ var LinkedDeviceSchema = object({
15937
15956
  deviceId: number(),
15938
15957
  name: string(),
15939
15958
  location: string().nullable(),
15940
- features: array(string())
15959
+ features: array(string()),
15960
+ producesTrackedEvents: boolean().optional()
15941
15961
  });
15942
15962
  var SavedDeviceRowSchema = object({
15943
15963
  /** Numeric id reserved at allocateDeviceId time. */
@@ -17567,6 +17587,7 @@ var TrackSchema = object({
17567
17587
  deviceId: number(),
17568
17588
  className: string(),
17569
17589
  label: string().optional(),
17590
+ producingDeviceName: string().optional(),
17570
17591
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
17571
17592
  source: TrackSourceSchema.optional(),
17572
17593
  firstSeen: number(),
@@ -17704,7 +17725,8 @@ var MediaFileKindEnum = _enum([
17704
17725
  "fullFrameBoxed",
17705
17726
  "faceCrop",
17706
17727
  "plateCrop",
17707
- "keyFrame"
17728
+ "keyFrame",
17729
+ "keyFrameSmall"
17708
17730
  ]);
17709
17731
  var MediaFileSchema = object({
17710
17732
  key: string(),
@@ -18492,14 +18514,13 @@ method(object({
18492
18514
  });
18493
18515
  /**
18494
18516
  * server-management — per-NODE singleton capability for a node's ROOT
18495
- * package lifecycle (runtime-updatable node packages, phase 2: hub + docker
18496
- * agents).
18517
+ * package lifecycle (runtime-updatable node packages).
18497
18518
  *
18498
- * Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
18499
- * on agents) carries the whole software stack in its npm dep tree, so ONE
18500
- * version describes the node. Updates install into
18501
- * `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
18502
- * starter (probation boot + auto-rollback to N-1).
18519
+ * Every node role runs the SAME root package (`@camstack/server`), which
18520
+ * carries the whole software stack in its npm dep tree, so ONE version
18521
+ * describes the node. Updates stage into `<dataDir>/server-root/` and apply
18522
+ * on restart via the baked starter (single-copy in-place swap — no probation,
18523
+ * no auto-rollback).
18503
18524
  *
18504
18525
  * Providers:
18505
18526
  * - HUB: `ServerUpdateService` behind the `server-provided` mount
@@ -20739,10 +20760,10 @@ var TopologyCategorySchema = object({
20739
20760
  addons: array(TopologyCategoryAddonSchema).readonly()
20740
20761
  });
20741
20762
  /**
20742
- * The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
20743
- * `@camstack/agent` on agents) as reported by its `registerNode` manifest —
20744
- * version visibility for the Server management surface. Nullable: offline
20745
- * rows and pre-phase-2 nodes report none.
20763
+ * The node's runtime-updatable ROOT package (`@camstack/server` the single
20764
+ * root package for every node role) as reported by its `registerNode`
20765
+ * manifest — version visibility for the Server management surface. Nullable:
20766
+ * offline rows and nodes that never reported one.
20746
20767
  */
20747
20768
  var TopologyRootPackageSchema = object({
20748
20769
  name: string(),
@@ -12321,7 +12321,21 @@ var NativeCropResultSchema = object({
12321
12321
  /** Packed rgb (24-bit) pixels of the crop. */
12322
12322
  bytes: _instanceof(Uint8Array),
12323
12323
  width: number().int().positive(),
12324
- height: number().int().positive()
12324
+ height: number().int().positive(),
12325
+ /**
12326
+ * Which source served this crop, so a quality-sensitive consumer (the native
12327
+ * `keyFrame`) can reject a degraded fallback:
12328
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
12329
+ * quality path).
12330
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
12331
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
12332
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
12333
+ *
12334
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
12335
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
12336
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
12337
+ */
12338
+ tier: _enum(["native", "ram-fullframe"]).optional()
12325
12339
  });
12326
12340
  /** Parent detection context passed to `runDetailSubtree` — the crop's
12327
12341
  * originating detection, in FRAME-space coordinates. Reuses
@@ -12675,10 +12689,15 @@ var pipelineRunnerCapability = {
12675
12689
  * `FrameHandle` that rode an inference-result event and a normalized `bbox`,
12676
12690
  * the runner asks the decode worker still holding that frame's NATIVE
12677
12691
  * surface to GPU/CPU-crop ONLY the ROI at native res and download just the
12678
- * crop. Returns `null` on a miss (handle not registered, or the worker's
12679
- * tiny native-retention ring already evicted the frame) — the caller falls
12680
- * back to a detection-frame crop. Routed to the frame's owning node by
12681
- * `handle.nodeId`; NEVER ships a full native frame.
12692
+ * crop. Routed to the frame's owning node by `handle.nodeId`; NEVER ships a
12693
+ * full native frame.
12694
+ *
12695
+ * Miss behaviour differs by request shape (see `NativeCropResultSchema.tier`):
12696
+ * - an ROI (subject-crop) miss returns `null` — the caller reports the miss
12697
+ * and retries; it is NEVER handed a ≤640 crop masquerading as native.
12698
+ * - a FULL-FRAME miss falls back to the ≤640 RAM `RetainedFrameStore`, tagged
12699
+ * `tier: 'ram-fullframe'` (honest lower-res for the blank-frame guard /
12700
+ * 640-snapshot resolve). A native hit is tagged `tier: 'native'`.
12682
12701
  */
12683
12702
  getNativeCrop: method(object({
12684
12703
  handle: FrameHandleSchema,
@@ -15937,7 +15956,8 @@ var LinkedDeviceSchema = object({
15937
15956
  deviceId: number(),
15938
15957
  name: string(),
15939
15958
  location: string().nullable(),
15940
- features: array(string())
15959
+ features: array(string()),
15960
+ producesTrackedEvents: boolean().optional()
15941
15961
  });
15942
15962
  var SavedDeviceRowSchema = object({
15943
15963
  /** Numeric id reserved at allocateDeviceId time. */
@@ -17567,6 +17587,7 @@ var TrackSchema = object({
17567
17587
  deviceId: number(),
17568
17588
  className: string(),
17569
17589
  label: string().optional(),
17590
+ producingDeviceName: string().optional(),
17570
17591
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
17571
17592
  source: TrackSourceSchema.optional(),
17572
17593
  firstSeen: number(),
@@ -17704,7 +17725,8 @@ var MediaFileKindEnum = _enum([
17704
17725
  "fullFrameBoxed",
17705
17726
  "faceCrop",
17706
17727
  "plateCrop",
17707
- "keyFrame"
17728
+ "keyFrame",
17729
+ "keyFrameSmall"
17708
17730
  ]);
17709
17731
  var MediaFileSchema = object({
17710
17732
  key: string(),
@@ -18492,14 +18514,13 @@ method(object({
18492
18514
  });
18493
18515
  /**
18494
18516
  * server-management — per-NODE singleton capability for a node's ROOT
18495
- * package lifecycle (runtime-updatable node packages, phase 2: hub + docker
18496
- * agents).
18517
+ * package lifecycle (runtime-updatable node packages).
18497
18518
  *
18498
- * Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
18499
- * on agents) carries the whole software stack in its npm dep tree, so ONE
18500
- * version describes the node. Updates install into
18501
- * `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
18502
- * starter (probation boot + auto-rollback to N-1).
18519
+ * Every node role runs the SAME root package (`@camstack/server`), which
18520
+ * carries the whole software stack in its npm dep tree, so ONE version
18521
+ * describes the node. Updates stage into `<dataDir>/server-root/` and apply
18522
+ * on restart via the baked starter (single-copy in-place swap — no probation,
18523
+ * no auto-rollback).
18503
18524
  *
18504
18525
  * Providers:
18505
18526
  * - HUB: `ServerUpdateService` behind the `server-provided` mount
@@ -20739,10 +20760,10 @@ var TopologyCategorySchema = object({
20739
20760
  addons: array(TopologyCategoryAddonSchema).readonly()
20740
20761
  });
20741
20762
  /**
20742
- * The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
20743
- * `@camstack/agent` on agents) as reported by its `registerNode` manifest —
20744
- * version visibility for the Server management surface. Nullable: offline
20745
- * rows and pre-phase-2 nodes report none.
20763
+ * The node's runtime-updatable ROOT package (`@camstack/server` the single
20764
+ * root package for every node role) as reported by its `registerNode`
20765
+ * manifest — version visibility for the Server management surface. Nullable:
20766
+ * offline rows and nodes that never reported one.
20746
20767
  */
20747
20768
  var TopologyRootPackageSchema = object({
20748
20769
  name: string(),
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-DzTjxf39.js");
5
+ const require_dist = require("../dist-E0K373T1.js");
6
6
  let node_fs = require("node:fs");
7
7
  let node_path = require("node:path");
8
8
  //#region src/motion-wasm/wasm-motion-detector.ts
@@ -1,4 +1,4 @@
1
- import { A as motionDetectionCapability, J as hydrateSchema, K as DeviceType, T as evaluateZoneRules, U as BaseAddon } from "../dist-DyALtmD7.mjs";
1
+ import { A as motionDetectionCapability, J as hydrateSchema, K as DeviceType, T as evaluateZoneRules, U as BaseAddon } from "../dist-C3cDjL49.mjs";
2
2
  import { readFileSync } from "node:fs";
3
3
  import { join } from "node:path";
4
4
  //#region src/motion-wasm/wasm-motion-detector.ts
@@ -3,11 +3,11 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-D6vf50IK.js");
6
- const require_dist = require("../dist-DzTjxf39.js");
6
+ const require_dist = require("../dist-E0K373T1.js");
7
7
  const require_remote_restream = require("../remote-restream-CO36Sr30.js");
8
8
  const require_sheet_geometry = require("../sheet-geometry-BR-ip0CP.js");
9
9
  const require_worker_protocol = require("../worker-protocol-PP4jKHHJ.js");
10
- const require_step_definitions = require("../step-definitions-Djy8aZLt.js");
10
+ const require_step_definitions = require("../step-definitions-DMne6GHq.js");
11
11
  let node_child_process = require("node:child_process");
12
12
  let node_url = require("node:url");
13
13
  let sharp = require("sharp");
@@ -1152,6 +1152,17 @@ function summarizeDeviceLoad(attachedDeviceKeys) {
1152
1152
  })).toSorted((a, b) => a.deviceKey.localeCompare(b.deviceKey));
1153
1153
  }
1154
1154
  //#endregion
1155
+ //#region src/pipeline-runner/native-crop-tier.ts
1156
+ /**
1157
+ * Pure tier decision for `getNativeCrop`. A native HIT always resolves to the
1158
+ * native surface. On a native MISS, only a full-frame request falls back to the
1159
+ * ≤640 RAM store; an ROI miss is reported as `miss` (no quality masquerade).
1160
+ */
1161
+ function resolveNativeCropSource(isFullFrame, nativeHit) {
1162
+ if (nativeHit) return "native";
1163
+ return isFullFrame ? "ram-fullframe" : "miss";
1164
+ }
1165
+ //#endregion
1155
1166
  //#region src/session-decode/fork-decode-worker.ts
1156
1167
  /**
1157
1168
  * Real `fork` implementation for the session-decode coordinator — Epic C P1,
@@ -3184,30 +3195,46 @@ var PipelineRunnerAddon = class extends require_dist.BaseAddon {
3184
3195
  return { success: true };
3185
3196
  }
3186
3197
  /**
3187
- * Best-effort native-resolution crop for a retention-ring frame (native-crop
3188
- * feature). Looks the handle up in {@link nativeCropRegistry}; a miss (never
3189
- * registered, or the worker's tiny native ring already evicted the frame)
3190
- * returns `null` so the caller falls back to a detection-frame crop. The
3191
- * worker downloads ONLY the ROI — a full native frame never travels the wire.
3198
+ * Native-resolution crop for a retention-ring frame (native-crop feature).
3199
+ * Looks the handle up in {@link nativeCropRegistry}; the worker downloads ONLY
3200
+ * the ROI a full native frame never travels the wire.
3201
+ *
3202
+ * Tier decision ({@link resolveNativeCropSource}): a native-lease HIT always
3203
+ * wins. On a MISS (never registered, or the worker's tiny native ring already
3204
+ * evicted the frame), an ROI (subject-crop) request returns `null` so the
3205
+ * caller reports the miss and RETRIES — it is NEVER handed the ≤640 detection
3206
+ * raster masquerading as a native crop (Task S1). A full-frame request keeps
3207
+ * the ≤640 RAM `RetainedFrameStore` fallback (blank-frame guard / 640-snapshot
3208
+ * resolve legitimately want the lower-RES honest frame).
3192
3209
  */
3193
3210
  async getNativeCrop(input) {
3194
3211
  const b = input.bbox;
3195
- if (!(b.x <= .001 && b.y <= .001 && b.w >= .999 && b.h >= .999 && input.maxWidth === void 0)) {
3212
+ const isFullFrame = b.x <= .001 && b.y <= .001 && b.w >= .999 && b.h >= .999;
3213
+ const isUnboundedFullFrame = isFullFrame && input.maxWidth === void 0;
3214
+ let nativeResult = null;
3215
+ if (!isUnboundedFullFrame) {
3196
3216
  const requester = this.nativeCropRegistry.get(input.handle);
3197
3217
  if (requester) {
3198
3218
  const result = await requester(input.bbox, input.maxWidth);
3199
- if (result) return {
3219
+ if (result) nativeResult = {
3200
3220
  bytes: result.bytes,
3201
3221
  width: result.width,
3202
3222
  height: result.height
3203
3223
  };
3204
3224
  }
3205
3225
  }
3226
+ const tier = resolveNativeCropSource(isFullFrame, nativeResult !== null);
3227
+ if (tier === "native" && nativeResult) return {
3228
+ ...nativeResult,
3229
+ tier
3230
+ };
3231
+ if (tier !== "ram-fullframe") return null;
3206
3232
  const crop = this.retainedFrames?.crop(input.handle, input.bbox, input.maxWidth);
3207
3233
  return crop ? {
3208
3234
  bytes: crop.bytes,
3209
3235
  width: crop.width,
3210
- height: crop.height
3236
+ height: crop.height,
3237
+ tier
3211
3238
  } : null;
3212
3239
  }
3213
3240
  /**
@@ -1,8 +1,8 @@
1
- import { H as errMsg, N as pipelineRunnerCapability, S as defineCustomActions, U as BaseAddon, b as customAction, ct as number, dt as string, it as boolean, j as nodePin, lt as object, nt as _enum, ot as lazy, pt as EventCategory, q as createEvent, rt as array } from "../dist-DyALtmD7.mjs";
1
+ import { H as errMsg, N as pipelineRunnerCapability, S as defineCustomActions, U as BaseAddon, b as customAction, ct as number, dt as string, it as boolean, j as nodePin, lt as object, nt as _enum, ot as lazy, pt as EventCategory, q as createEvent, rt as array } from "../dist-C3cDjL49.mjs";
2
2
  import { n as profileForStreamId, t as isRemoteRestream } from "../remote-restream-BeHi78PZ.mjs";
3
3
  import { r as resolveHubHostname } from "../sheet-geometry-DcpuGTCm.mjs";
4
4
  import { t as isWorkerReply } from "../worker-protocol-CyVJTZEO.mjs";
5
- import { a as getStepDefinition } from "../step-definitions-rmBALHX4.mjs";
5
+ import { a as getStepDefinition } from "../step-definitions-ty97QrzE.mjs";
6
6
  import { fork } from "node:child_process";
7
7
  import { fileURLToPath } from "node:url";
8
8
  import sharp from "sharp";
@@ -1146,6 +1146,17 @@ function summarizeDeviceLoad(attachedDeviceKeys) {
1146
1146
  })).toSorted((a, b) => a.deviceKey.localeCompare(b.deviceKey));
1147
1147
  }
1148
1148
  //#endregion
1149
+ //#region src/pipeline-runner/native-crop-tier.ts
1150
+ /**
1151
+ * Pure tier decision for `getNativeCrop`. A native HIT always resolves to the
1152
+ * native surface. On a native MISS, only a full-frame request falls back to the
1153
+ * ≤640 RAM store; an ROI miss is reported as `miss` (no quality masquerade).
1154
+ */
1155
+ function resolveNativeCropSource(isFullFrame, nativeHit) {
1156
+ if (nativeHit) return "native";
1157
+ return isFullFrame ? "ram-fullframe" : "miss";
1158
+ }
1159
+ //#endregion
1149
1160
  //#region src/session-decode/fork-decode-worker.ts
1150
1161
  /**
1151
1162
  * Real `fork` implementation for the session-decode coordinator — Epic C P1,
@@ -3178,30 +3189,46 @@ var PipelineRunnerAddon = class extends BaseAddon {
3178
3189
  return { success: true };
3179
3190
  }
3180
3191
  /**
3181
- * Best-effort native-resolution crop for a retention-ring frame (native-crop
3182
- * feature). Looks the handle up in {@link nativeCropRegistry}; a miss (never
3183
- * registered, or the worker's tiny native ring already evicted the frame)
3184
- * returns `null` so the caller falls back to a detection-frame crop. The
3185
- * worker downloads ONLY the ROI — a full native frame never travels the wire.
3192
+ * Native-resolution crop for a retention-ring frame (native-crop feature).
3193
+ * Looks the handle up in {@link nativeCropRegistry}; the worker downloads ONLY
3194
+ * the ROI a full native frame never travels the wire.
3195
+ *
3196
+ * Tier decision ({@link resolveNativeCropSource}): a native-lease HIT always
3197
+ * wins. On a MISS (never registered, or the worker's tiny native ring already
3198
+ * evicted the frame), an ROI (subject-crop) request returns `null` so the
3199
+ * caller reports the miss and RETRIES — it is NEVER handed the ≤640 detection
3200
+ * raster masquerading as a native crop (Task S1). A full-frame request keeps
3201
+ * the ≤640 RAM `RetainedFrameStore` fallback (blank-frame guard / 640-snapshot
3202
+ * resolve legitimately want the lower-RES honest frame).
3186
3203
  */
3187
3204
  async getNativeCrop(input) {
3188
3205
  const b = input.bbox;
3189
- if (!(b.x <= .001 && b.y <= .001 && b.w >= .999 && b.h >= .999 && input.maxWidth === void 0)) {
3206
+ const isFullFrame = b.x <= .001 && b.y <= .001 && b.w >= .999 && b.h >= .999;
3207
+ const isUnboundedFullFrame = isFullFrame && input.maxWidth === void 0;
3208
+ let nativeResult = null;
3209
+ if (!isUnboundedFullFrame) {
3190
3210
  const requester = this.nativeCropRegistry.get(input.handle);
3191
3211
  if (requester) {
3192
3212
  const result = await requester(input.bbox, input.maxWidth);
3193
- if (result) return {
3213
+ if (result) nativeResult = {
3194
3214
  bytes: result.bytes,
3195
3215
  width: result.width,
3196
3216
  height: result.height
3197
3217
  };
3198
3218
  }
3199
3219
  }
3220
+ const tier = resolveNativeCropSource(isFullFrame, nativeResult !== null);
3221
+ if (tier === "native" && nativeResult) return {
3222
+ ...nativeResult,
3223
+ tier
3224
+ };
3225
+ if (tier !== "ram-fullframe") return null;
3200
3226
  const crop = this.retainedFrames?.crop(input.handle, input.bbox, input.maxWidth);
3201
3227
  return crop ? {
3202
3228
  bytes: crop.bytes,
3203
3229
  width: crop.width,
3204
- height: crop.height
3230
+ height: crop.height,
3231
+ tier
3205
3232
  } : null;
3206
3233
  }
3207
3234
  /**
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("../chunk-D6vf50IK.js");
2
- const require_dist = require("../dist-DzTjxf39.js");
2
+ const require_dist = require("../dist-E0K373T1.js");
3
3
  const require_sheet_geometry = require("../sheet-geometry-BR-ip0CP.js");
4
4
  const require_model_download_service_Cp9f4dk6 = require("../model-download-service-Cp9f4dk6-Dv-oFwjN.js");
5
5
  let node_child_process = require("node:child_process");
@@ -1,4 +1,4 @@
1
- import { F as recordingExportCapability, H as errMsg, I as resolveScrubThumbnailGeometry, J as hydrateSchema, K as DeviceType, P as recordingCapability, R as storageEvictableCapability, U as BaseAddon, Y as isEvent, c as EVENT_PAD_MS, dt as string, et as selectAssignedProfileSlots, f as OpsLogEntrySchema, j as nodePin, k as migrateConfigToBands, p as RecordingConfigSchema, pt as EventCategory, rt as array, u as ExportRecordSchema, ut as record } from "../dist-DyALtmD7.mjs";
1
+ import { F as recordingExportCapability, H as errMsg, I as resolveScrubThumbnailGeometry, J as hydrateSchema, K as DeviceType, P as recordingCapability, R as storageEvictableCapability, U as BaseAddon, Y as isEvent, c as EVENT_PAD_MS, dt as string, et as selectAssignedProfileSlots, f as OpsLogEntrySchema, j as nodePin, k as migrateConfigToBands, p as RecordingConfigSchema, pt as EventCategory, rt as array, u as ExportRecordSchema, ut as record } from "../dist-C3cDjL49.mjs";
2
2
  import { n as computeSheetGeometry, r as resolveHubHostname, t as allTilePlacements } from "../sheet-geometry-DcpuGTCm.mjs";
3
3
  import { n as createFileDataPlaneHandler, s as parseRangeHeader, t as contentTypeFor } from "../model-download-service-Cp9f4dk6-CwUb5v3Y.mjs";
4
4
  import { spawn } from "node:child_process";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-DzTjxf39.js");
1
+ const require_dist = require("./dist-E0K373T1.js");
2
2
  //#region src/detection-pipeline/registry/model-catalogs.ts
3
3
  var HF_REPO = "camstack/camstack-models";
4
4
  var HF_SCRYPTED = "scrypted/plugin-models";
@@ -1,4 +1,4 @@
1
- import { E as hfModelUrl, a as COCO_TO_MACRO, i as COCO_80_LABELS, r as AUDIO_MACRO_LABELS } from "./dist-DyALtmD7.mjs";
1
+ import { E as hfModelUrl, a as COCO_TO_MACRO, i as COCO_80_LABELS, r as AUDIO_MACRO_LABELS } from "./dist-C3cDjL49.mjs";
2
2
  //#region src/detection-pipeline/registry/model-catalogs.ts
3
3
  var HF_REPO = "camstack/camstack-models";
4
4
  var HF_SCRYPTED = "scrypted/plugin-models";
@@ -2,7 +2,7 @@ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as
2
2
  import { a as d, i as f, n as p, o as m, r as h, t as g } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.js-C9j-2lBe.mjs";
3
3
  import { n as _, r as v, t as y } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-XO0-Pyu6.mjs";
4
4
  import { n as b, t as x } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BO7TIbJV.mjs";
5
- import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BflyNuZv.mjs";
5
+ import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-UGa9yj7_.mjs";
6
6
  //#region ../../node_modules/lucide-react/dist/esm/shared/src/utils.js
7
7
  var C = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), w = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), T = (e) => {
8
8
  let t = w(e);
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.1.30",
6
+ version: "1.2.1",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_stream_broker_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.1.58",
21
+ version: "1.2.1",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_stream_broker_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.1.46",
36
+ version: "1.2.1",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_stream_broker_widgets",
@@ -0,0 +1,26 @@
1
+ //#region \0virtual:mf:__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
2
+ var e = "__mf_init__virtual:mf:__mfe_internal__addon_stream_broker_widgets__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
3
+ if (!t) {
4
+ let n, r, i = new Promise((e, t) => {
5
+ n = e, r = t;
6
+ });
7
+ t = globalThis[e] = {
8
+ initPromise: i,
9
+ initResolve: n,
10
+ initReject: r
11
+ };
12
+ }
13
+ var n = t.initPromise, r = "__mf_module_cache__";
14
+ globalThis[r] ||= {
15
+ share: {},
16
+ remote: {}
17
+ }, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
18
+ var i = globalThis[r], a, o = (e) => {
19
+ e.ACCESSORY_LABEL, e.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.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.AutomationControlStatusSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BATTERY_DEVICE_PROFILE, 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.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_EVENT_COLOR, e.DEFAULT_FEATURES, e.DEFAULT_RETENTION, e.DEFAULT_SCRUB_THUMBNAIL_PRESET, e.DEVICE_BACKEND_TO_FORMAT, e.DEVICE_CAP_NAMES, e.DEVICE_PROFILES, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_CONTROL_KIND, e.DEVICE_TYPE_INFO, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceLinkModeSchema, e.DeviceNetworkStatsSchema, e.DeviceRole, e.DeviceRuntimeState, e.DeviceStatusSchema, e.DeviceType, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENTFUL_CAP_NAMES, e.EVENT_KIND_BY_CAP, e.EVENT_PAD_MS, e.EVENT_TAXONOMY, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventSourceType, e.ExportDownloadSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportTimelapseSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionEvalError, e.ExpressionParseError, 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.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LabelDefinitionSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LinkedDeviceSchema, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoginMethodContributionSchema, e.LoginStageEnum, e.MACRO_LABELS, 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.METHOD_ACCESS_MAP, e.MODEL_FORMATS, e.MOTION_TRIGGER_FEATURE, e.ManagedModelCatalogEntrySchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, 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.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.NativeCropBboxSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationHistoryEntrySchema, e.NotificationRuleSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, 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.OsdStatusSchema, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, 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.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.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RESERVED_BINDING_NAMES, e.RUNTIME_DEFAULTS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadSegmentBytesResultSchema, 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.RecordingModeSchema, e.RecordingRangeSchema, e.RecordingRetentionSchema, e.RecordingRuleSchema, e.RecordingScheduleSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCOPE_PRESETS, e.SCRUB_THUMBNAIL_PRESETS, e.SCRUB_THUMBNAIL_PRESET_LABELS, e.SCRUB_THUMBNAIL_PRESET_ORDER, e.SENSOR_FEATURES, e.SENSOR_MAP, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.ScrubThumbnailPresetSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, 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.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.TIMEZONES, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TestConnectionResultSchema, e.TestResultSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TurnServerSchema, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, 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.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, 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.buildEventKindDescriptor, e.buildModelVariantGroups, e.buildStreamParamsConfigSchema, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.carbonMonoxideCapability, e.cellsToRects, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.colorCapability, e.colorForKind, e.compileExpression, e.compileExpressionSafe, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.cosineSimilarity, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createExpressionScope, e.createLazyTrpcSource, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dayNightCapability, e.decoderCapability, e.defaultDeviceFor, e.defineCustomActions, e.describeModelVariant, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceBackendToFormat, 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.enumerateInferenceDevices, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateLinkExpression, 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.formatForBackend, e.formatForRuntime, e.gasCapability, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.getTaxonomyEntry, e.hasMotionTrigger, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.integrationsCapability, e.intercomCapability, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDeviceConfigCap, e.isEvent, e.isNode, e.isObjectInput, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.lawnMowerControlCapability, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logDestinationCapability, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, a = e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, 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.objectInputDeclaresAddonId, e.osdCapability, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProfileBrokerId, e.parseStreamParamsFormPatch, e.petFeederCapability, e.pickAccessoryControl, e.pickPreferredRtspEntry, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readNodePin, e.readinessKey, e.rebootCapability, e.recordingCapability, e.recordingExportCapability, e.rectsToCells, e.requiresPython, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveCapMount, e.resolveDetectionRuntime, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveFormat, e.resolveHydratedFieldValue, e.resolveModelFormat, e.resolveMutate, e.resolveRunnerId, e.resolveScrubThumbnailGeometry, e.resolveVariantModelId, e.runInferenceStep, e.runtimeDevices, e.sceneMonitorCapability, e.scopeKey, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.sleep, e.sleepCancellable, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.storageCapability, e.storageEvictableCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.subKindsOf, e.supportedRuntimes, e.switchCapability, e.synthesizeSourceInfo, e.systemCapability, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toStreamSourceEntry, e.toastCapability, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.valveCapability, 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
+ }, s = i.share["default:@camstack/types"];
21
+ s === void 0 ? n.then(() => {
22
+ if (s = i.share["default:@camstack/types"], s === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
23
+ o(s);
24
+ }) : o(s);
25
+ //#endregion
26
+ export { a as t };
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.1.58",
39
+ version: "1.2.1",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.1.30",
48
+ version: "1.2.1",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.1.46",
84
+ version: "1.2.1",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-D6vf50IK.js");
6
- const require_dist = require("../dist-DzTjxf39.js");
6
+ const require_dist = require("../dist-E0K373T1.js");
7
7
  const require_remote_restream = require("../remote-restream-CO36Sr30.js");
8
8
  const require_model_download_service_Cp9f4dk6 = require("../model-download-service-Cp9f4dk6-Dv-oFwjN.js");
9
9
  let node_child_process = require("node:child_process");