@camstack/addon-pipeline 1.2.67 → 1.2.69

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 (24) 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-BEbyhqoG.mjs → dist-DGLqaonv.mjs} +26 -10
  6. package/dist/{dist-B6GWr9am.js → dist-tJF2BzWi.js} +26 -10
  7. package/dist/{event-loop-stall-monitor-BNyf5yEt.mjs → event-loop-stall-monitor-C6_VDupx.mjs} +1 -1
  8. package/dist/{event-loop-stall-monitor-BHOEgVnP.js → event-loop-stall-monitor-D9d2e49f.js} +1 -1
  9. package/dist/motion-wasm/index.js +1 -1
  10. package/dist/motion-wasm/index.mjs +1 -1
  11. package/dist/pipeline-runner/index.js +3 -3
  12. package/dist/pipeline-runner/index.mjs +3 -3
  13. package/dist/recorder/index.js +4536 -3499
  14. package/dist/recorder/index.mjs +4536 -3499
  15. package/dist/session-decode/decode-worker-child.js +1 -1
  16. package/dist/session-decode/decode-worker-child.mjs +1 -1
  17. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BkKnIpb0.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DCyQ7RKH.mjs} +1 -1
  18. package/dist/stream-broker/{hostInit-y3zWHWoe.mjs → hostInit-DxqtIjAe.mjs} +1 -1
  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/dist/{worker-protocol-qzaozj7t.js → worker-protocol-D6tXz9Or.js} +1 -1
  23. package/dist/{worker-protocol-CBg9bqCs.mjs → worker-protocol-DuftUFEI.mjs} +1 -1
  24. package/package.json +2 -2
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-emK7D4bc.js");
6
- const require_dist = require("../dist-B6GWr9am.js");
6
+ const require_dist = require("../dist-tJF2BzWi.js");
7
7
  const require_node_topology_platform = require("../node-topology-platform-CFZ7F4xW.js");
8
8
  const require_addon_utils = require("../addon-utils-CQs-AjTJ.js");
9
9
  let node_fs = require("node:fs");
@@ -1,5 +1,5 @@
1
1
  import { n as __require } from "../chunk-DnnnRqeS.mjs";
2
- import { B as mapAudioLabelToMacro, E as audioAnalyzerCapability, T as audioAnalysisCapability, ft as hydrateSchema, m as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG, st as BaseAddon, tt as errMsg } from "../dist-BEbyhqoG.mjs";
2
+ import { B as mapAudioLabelToMacro, E as audioAnalyzerCapability, T as audioAnalysisCapability, ft as hydrateSchema, m as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG, st as BaseAddon, tt as errMsg } from "../dist-DGLqaonv.mjs";
3
3
  import { t as pickNodePlatformArch } from "../node-topology-platform-BkR_k6WT.mjs";
4
4
  import { i as downloadFile } from "../addon-utils-CZ2xo67g.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-emK7D4bc.js");
6
- const require_dist = require("../dist-B6GWr9am.js");
7
- const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-BHOEgVnP.js");
6
+ const require_dist = require("../dist-tJF2BzWi.js");
7
+ const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-D9d2e49f.js");
8
8
  const require_lazy_sharp = require("../lazy-sharp-CcYuXtsa.js");
9
9
  const require_node_topology_platform = require("../node-topology-platform-CFZ7F4xW.js");
10
10
  const require_addon_utils = require("../addon-utils-CQs-AjTJ.js");
@@ -1,6 +1,6 @@
1
1
  import { n as __require } from "../chunk-DnnnRqeS.mjs";
2
- import { $ as supportedRuntimes$1, A as defaultDeviceFor$1, At as string, C as YAMNET_TO_MACRO, G as pipelineExecutorCapability, L as enumerateInferenceDevices, Mt as EventCategory, Ot as object, P as detectionPipelineCapability, R as evaluateZoneRules, St as array, X as runtimeDevices$1, _t as parseJsonUnknown, bt as sleep, dt as createEvent, ft as hydrateSchema, gt as nodePin, jt as union, st as BaseAddon, t as APPLE_SA_TO_MACRO, tt as errMsg, u as DEVICE_BACKEND_TO_FORMAT } from "../dist-BEbyhqoG.mjs";
3
- import { a as getDefaultModelForFormat, c as getStepDefinition, i as ALL_STEPS, l as resolveModelForFormat, n as startEventLoopStallMonitor, o as getDefaultModelForFormatFromDef, r as ALL_PIPELINE_STEPS, s as getStep } from "../event-loop-stall-monitor-BNyf5yEt.mjs";
2
+ import { $ as supportedRuntimes$1, A as defaultDeviceFor$1, At as string, C as YAMNET_TO_MACRO, G as pipelineExecutorCapability, L as enumerateInferenceDevices, Mt as EventCategory, Ot as object, P as detectionPipelineCapability, R as evaluateZoneRules, St as array, X as runtimeDevices$1, _t as parseJsonUnknown, bt as sleep, dt as createEvent, ft as hydrateSchema, gt as nodePin, jt as union, st as BaseAddon, t as APPLE_SA_TO_MACRO, tt as errMsg, u as DEVICE_BACKEND_TO_FORMAT } from "../dist-DGLqaonv.mjs";
3
+ import { a as getDefaultModelForFormat, c as getStepDefinition, i as ALL_STEPS, l as resolveModelForFormat, n as startEventLoopStallMonitor, o as getDefaultModelForFormatFromDef, r as ALL_PIPELINE_STEPS, s as getStep } from "../event-loop-stall-monitor-C6_VDupx.mjs";
4
4
  import { t as getSharp } from "../lazy-sharp-B-mb8uWx.mjs";
5
5
  import { t as pickNodePlatformArch } from "../node-topology-platform-BkR_k6WT.mjs";
6
6
  import { a as ensureModel, o as isModelDownloaded, r as deleteModelFromDisk } from "../addon-utils-CZ2xo67g.mjs";
@@ -8754,6 +8754,21 @@ var StorageLocationSchema = object({
8754
8754
  nodeId: string().optional(),
8755
8755
  isDefault: boolean().default(false),
8756
8756
  isSystem: boolean().default(false),
8757
+ /**
8758
+ * Operator opt-in: whether consumers that BALANCE across several locations
8759
+ * of a type may write here. Recordings reads it today; event media and
8760
+ * backups are the next consumers, which is why the flag lives on the
8761
+ * location rather than in any one addon's store — nothing has to be
8762
+ * extended to add the next consumer.
8763
+ *
8764
+ * OPTIONAL, and ABSENT MEANS ACTIVE. Every location persisted before the
8765
+ * flag existed reads back with no flag and keeps working exactly as before;
8766
+ * that is the whole compat story, and it is why no migration ships with it.
8767
+ * A newly CREATED sibling is stamped `false` by the orchestrator (creating a
8768
+ * disk must not silently start writing to it); the default of a type is
8769
+ * always stamped `true`.
8770
+ */
8771
+ enabled: boolean().optional(),
8757
8772
  /** COMPUTED at read time by the orchestrator (statfs of the backing volume
8758
8773
  * for node-local locations it can reach) — never persisted, absent when the
8759
8774
  * volume is remote/unreachable. The single capacity truth every UI reads. */
@@ -13499,7 +13514,8 @@ method(object({
13499
13514
  }), EmbeddingResultSchema), method(object({ text: string() }), EmbeddingResultSchema), method(_void(), EmbeddingInfoSchema);
13500
13515
  /**
13501
13516
  * filesystem-browse — per-node capability for browsing the node's local
13502
- * filesystem, sandboxed to operator-configured allowed roots. Used by the
13517
+ * filesystem. Reads are unconfined (whole filesystem, from `/` down); WRITES
13518
+ * are sandboxed to operator-configured allowed roots (D115). Used by the
13503
13519
  * admin "Add filesystem location" flow to pick a node + path. `mode:'per-node'`
13504
13520
  * (one provider per node); the hub calls it with `{nodeId}` so the codegen
13505
13521
  * routes to that exact node (default `nodeIdMode:'routing'`).
@@ -25482,7 +25498,7 @@ var recordingCapability = {
25482
25498
  }
25483
25499
  };
25484
25500
  /**
25485
- * `recordingExport` cap — render a footage time range into a single downloadable
25501
+ * `recording-export` cap — render a footage time range into a single downloadable
25486
25502
  * MP4 (regular / accelerated / decelerated / timelapse, ± audio), kept for a
25487
25503
  * bounded lifetime with a durable history, auto-expiry, and optional
25488
25504
  * delete-after-download.
@@ -25623,7 +25639,7 @@ var ExportBytesSchema = object({
25623
25639
  bytes: number().int().nonnegative()
25624
25640
  });
25625
25641
  var recordingExportCapability = {
25626
- name: "recordingExport",
25642
+ name: "recording-export",
25627
25643
  scope: "system",
25628
25644
  mode: "singleton",
25629
25645
  methods: {
@@ -31005,43 +31021,43 @@ Object.freeze({
31005
31021
  access: "create"
31006
31022
  },
31007
31023
  "recordingExport.cancelExport": {
31008
- capName: "recordingExport",
31024
+ capName: "recording-export",
31009
31025
  capScope: "system",
31010
31026
  addonId: null,
31011
31027
  access: "create"
31012
31028
  },
31013
31029
  "recordingExport.createExport": {
31014
- capName: "recordingExport",
31030
+ capName: "recording-export",
31015
31031
  capScope: "system",
31016
31032
  addonId: null,
31017
31033
  access: "create"
31018
31034
  },
31019
31035
  "recordingExport.deleteExport": {
31020
- capName: "recordingExport",
31036
+ capName: "recording-export",
31021
31037
  capScope: "system",
31022
31038
  addonId: null,
31023
31039
  access: "delete"
31024
31040
  },
31025
31041
  "recordingExport.getDownloadUrl": {
31026
- capName: "recordingExport",
31042
+ capName: "recording-export",
31027
31043
  capScope: "system",
31028
31044
  addonId: null,
31029
31045
  access: "view"
31030
31046
  },
31031
31047
  "recordingExport.getExport": {
31032
- capName: "recordingExport",
31048
+ capName: "recording-export",
31033
31049
  capScope: "system",
31034
31050
  addonId: null,
31035
31051
  access: "view"
31036
31052
  },
31037
31053
  "recordingExport.listExports": {
31038
- capName: "recordingExport",
31054
+ capName: "recording-export",
31039
31055
  capScope: "system",
31040
31056
  addonId: null,
31041
31057
  access: "view"
31042
31058
  },
31043
31059
  "recordingExport.readExportBytes": {
31044
- capName: "recordingExport",
31060
+ capName: "recording-export",
31045
31061
  capScope: "system",
31046
31062
  addonId: null,
31047
31063
  access: "view"
@@ -8754,6 +8754,21 @@ var StorageLocationSchema = object({
8754
8754
  nodeId: string().optional(),
8755
8755
  isDefault: boolean().default(false),
8756
8756
  isSystem: boolean().default(false),
8757
+ /**
8758
+ * Operator opt-in: whether consumers that BALANCE across several locations
8759
+ * of a type may write here. Recordings reads it today; event media and
8760
+ * backups are the next consumers, which is why the flag lives on the
8761
+ * location rather than in any one addon's store — nothing has to be
8762
+ * extended to add the next consumer.
8763
+ *
8764
+ * OPTIONAL, and ABSENT MEANS ACTIVE. Every location persisted before the
8765
+ * flag existed reads back with no flag and keeps working exactly as before;
8766
+ * that is the whole compat story, and it is why no migration ships with it.
8767
+ * A newly CREATED sibling is stamped `false` by the orchestrator (creating a
8768
+ * disk must not silently start writing to it); the default of a type is
8769
+ * always stamped `true`.
8770
+ */
8771
+ enabled: boolean().optional(),
8757
8772
  /** COMPUTED at read time by the orchestrator (statfs of the backing volume
8758
8773
  * for node-local locations it can reach) — never persisted, absent when the
8759
8774
  * volume is remote/unreachable. The single capacity truth every UI reads. */
@@ -13499,7 +13514,8 @@ method(object({
13499
13514
  }), EmbeddingResultSchema), method(object({ text: string() }), EmbeddingResultSchema), method(_void(), EmbeddingInfoSchema);
13500
13515
  /**
13501
13516
  * filesystem-browse — per-node capability for browsing the node's local
13502
- * filesystem, sandboxed to operator-configured allowed roots. Used by the
13517
+ * filesystem. Reads are unconfined (whole filesystem, from `/` down); WRITES
13518
+ * are sandboxed to operator-configured allowed roots (D115). Used by the
13503
13519
  * admin "Add filesystem location" flow to pick a node + path. `mode:'per-node'`
13504
13520
  * (one provider per node); the hub calls it with `{nodeId}` so the codegen
13505
13521
  * routes to that exact node (default `nodeIdMode:'routing'`).
@@ -25482,7 +25498,7 @@ var recordingCapability = {
25482
25498
  }
25483
25499
  };
25484
25500
  /**
25485
- * `recordingExport` cap — render a footage time range into a single downloadable
25501
+ * `recording-export` cap — render a footage time range into a single downloadable
25486
25502
  * MP4 (regular / accelerated / decelerated / timelapse, ± audio), kept for a
25487
25503
  * bounded lifetime with a durable history, auto-expiry, and optional
25488
25504
  * delete-after-download.
@@ -25623,7 +25639,7 @@ var ExportBytesSchema = object({
25623
25639
  bytes: number().int().nonnegative()
25624
25640
  });
25625
25641
  var recordingExportCapability = {
25626
- name: "recordingExport",
25642
+ name: "recording-export",
25627
25643
  scope: "system",
25628
25644
  mode: "singleton",
25629
25645
  methods: {
@@ -31005,43 +31021,43 @@ Object.freeze({
31005
31021
  access: "create"
31006
31022
  },
31007
31023
  "recordingExport.cancelExport": {
31008
- capName: "recordingExport",
31024
+ capName: "recording-export",
31009
31025
  capScope: "system",
31010
31026
  addonId: null,
31011
31027
  access: "create"
31012
31028
  },
31013
31029
  "recordingExport.createExport": {
31014
- capName: "recordingExport",
31030
+ capName: "recording-export",
31015
31031
  capScope: "system",
31016
31032
  addonId: null,
31017
31033
  access: "create"
31018
31034
  },
31019
31035
  "recordingExport.deleteExport": {
31020
- capName: "recordingExport",
31036
+ capName: "recording-export",
31021
31037
  capScope: "system",
31022
31038
  addonId: null,
31023
31039
  access: "delete"
31024
31040
  },
31025
31041
  "recordingExport.getDownloadUrl": {
31026
- capName: "recordingExport",
31042
+ capName: "recording-export",
31027
31043
  capScope: "system",
31028
31044
  addonId: null,
31029
31045
  access: "view"
31030
31046
  },
31031
31047
  "recordingExport.getExport": {
31032
- capName: "recordingExport",
31048
+ capName: "recording-export",
31033
31049
  capScope: "system",
31034
31050
  addonId: null,
31035
31051
  access: "view"
31036
31052
  },
31037
31053
  "recordingExport.listExports": {
31038
- capName: "recordingExport",
31054
+ capName: "recording-export",
31039
31055
  capScope: "system",
31040
31056
  addonId: null,
31041
31057
  access: "view"
31042
31058
  },
31043
31059
  "recordingExport.readExportBytes": {
31044
- capName: "recordingExport",
31060
+ capName: "recording-export",
31045
31061
  capScope: "system",
31046
31062
  addonId: null,
31047
31063
  access: "view"
@@ -1,4 +1,4 @@
1
- import { a as COCO_TO_MACRO, i as COCO_80_LABELS, r as AUDIO_MACRO_LABELS, z as hfModelUrl } from "./dist-BEbyhqoG.mjs";
1
+ import { a as COCO_TO_MACRO, i as COCO_80_LABELS, r as AUDIO_MACRO_LABELS, z as hfModelUrl } from "./dist-DGLqaonv.mjs";
2
2
  import { PerformanceObserver } from "node:perf_hooks";
3
3
  //#region src/detection-pipeline/registry/model-catalogs.ts
4
4
  var HF_REPO = "camstack/camstack-models";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-B6GWr9am.js");
1
+ const require_dist = require("./dist-tJF2BzWi.js");
2
2
  let node_perf_hooks = require("node:perf_hooks");
3
3
  //#region src/detection-pipeline/registry/model-catalogs.ts
4
4
  var HF_REPO = "camstack/camstack-models";
@@ -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-B6GWr9am.js");
5
+ const require_dist = require("../dist-tJF2BzWi.js");
6
6
  const require_lazy_sharp = require("../lazy-sharp-CcYuXtsa.js");
7
7
  let node_fs = require("node:fs");
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { H as motionDetectionCapability, R as evaluateZoneRules, ft as hydrateSchema, st as BaseAddon, ut as DeviceType } from "../dist-BEbyhqoG.mjs";
1
+ import { H as motionDetectionCapability, R as evaluateZoneRules, ft as hydrateSchema, st as BaseAddon, ut as DeviceType } from "../dist-DGLqaonv.mjs";
2
2
  import { t as getSharp } from "../lazy-sharp-B-mb8uWx.mjs";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { join } from "node:path";
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-emK7D4bc.js");
6
- const require_dist = require("../dist-B6GWr9am.js");
7
- const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-BHOEgVnP.js");
8
- const require_worker_protocol = require("../worker-protocol-qzaozj7t.js");
6
+ const require_dist = require("../dist-tJF2BzWi.js");
7
+ const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-D9d2e49f.js");
8
+ const require_worker_protocol = require("../worker-protocol-D6tXz9Or.js");
9
9
  const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
10
10
  const require_lazy_sharp = require("../lazy-sharp-CcYuXtsa.js");
11
11
  const require_remote_restream = require("../remote-restream-BYbAsgUf.js");
@@ -1,6 +1,6 @@
1
- import { At as string, Ct as boolean, Dt as number, Et as literal, K as pipelineRunnerCapability, M as deriveDetailCropRect, Mt as EventCategory, Ot as object, St as array, Tt as lazy, U as pickDetailCropConvention, W as pickNativeLeaseOverride, dt as createEvent, gt as nodePin, j as defineCustomActions, k as customAction, s as DEFAULT_DETAIL_CROP_CONVENTION, st as BaseAddon, tt as errMsg, u as DEVICE_BACKEND_TO_FORMAT, xt as _enum } from "../dist-BEbyhqoG.mjs";
2
- import { c as getStepDefinition, t as attributeStall } from "../event-loop-stall-monitor-BNyf5yEt.mjs";
3
- import { a as nativeLeaseSettingEnv, t as isWorkerReply } from "../worker-protocol-CBg9bqCs.mjs";
1
+ import { At as string, Ct as boolean, Dt as number, Et as literal, K as pipelineRunnerCapability, M as deriveDetailCropRect, Mt as EventCategory, Ot as object, St as array, Tt as lazy, U as pickDetailCropConvention, W as pickNativeLeaseOverride, dt as createEvent, gt as nodePin, j as defineCustomActions, k as customAction, s as DEFAULT_DETAIL_CROP_CONVENTION, st as BaseAddon, tt as errMsg, u as DEVICE_BACKEND_TO_FORMAT, xt as _enum } from "../dist-DGLqaonv.mjs";
2
+ import { c as getStepDefinition, t as attributeStall } from "../event-loop-stall-monitor-C6_VDupx.mjs";
3
+ import { a as nativeLeaseSettingEnv, t as isWorkerReply } from "../worker-protocol-DuftUFEI.mjs";
4
4
  import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
5
5
  import { t as getSharp } from "../lazy-sharp-B-mb8uWx.mjs";
6
6
  import { i as withDetectionIntent, n as profileForStreamId, t as isRemoteRestream } from "../remote-restream-Ci7RXNGb.mjs";