@camstack/addon-pipeline 1.0.5 → 1.0.7

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 (35) hide show
  1. package/dist/audio-analyzer/index.js +6 -7
  2. package/dist/audio-analyzer/index.mjs +2 -2
  3. package/dist/audio-codec-nodeav/index.js +1 -1
  4. package/dist/audio-codec-nodeav/index.mjs +1 -1
  5. package/dist/decoder-nodeav/index.js +1 -1
  6. package/dist/decoder-nodeav/index.mjs +1 -1
  7. package/dist/detection-pipeline/index.js +716 -411
  8. package/dist/detection-pipeline/index.mjs +706 -399
  9. package/dist/{dist-CP2uP-D8.mjs → dist-CjrjeaDd.mjs} +1878 -1642
  10. package/dist/{dist-v0PZCoV-.js → dist-G45MVm6i.js} +1877 -1641
  11. package/dist/model-download-service-C7AjBsX9-B0ekM6dF.mjs +301 -0
  12. package/dist/model-download-service-C7AjBsX9-rXY-VFDk.js +358 -0
  13. package/dist/motion-wasm/index.js +1 -1
  14. package/dist/motion-wasm/index.mjs +1 -1
  15. package/dist/pipeline-runner/index.js +1 -1
  16. package/dist/pipeline-runner/index.mjs +1 -1
  17. package/dist/recorder/index.js +4 -5
  18. package/dist/recorder/index.mjs +2 -2
  19. package/dist/stream-broker/_stub.js +2 -2
  20. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Hzarxdhd.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Tbqpu0v3.mjs} +3 -3
  21. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DCsgcqTa.mjs +26 -0
  22. package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-SlpG44Ip.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CHcXI1Wf.mjs} +1 -1
  23. package/dist/stream-broker/{hostInit-BXhCtKAA.mjs → hostInit-tIev5Gd9.mjs} +3 -3
  24. package/dist/stream-broker/index.js +9 -10
  25. package/dist/stream-broker/index.mjs +3 -3
  26. package/dist/stream-broker/remoteEntry.js +1 -1
  27. package/embed-dist/assets/{MaskShapeCanvas-DI4BY7W2-CQxn6ukH.js → MaskShapeCanvas-DI4BY7W2-C0kKwNX_.js} +1 -1
  28. package/embed-dist/assets/{MotionZonesSettings-C1EEbk2V-BziDLK12.js → MotionZonesSettings-C1EEbk2V-CYtJc892.js} +1 -1
  29. package/embed-dist/assets/{PrivacyMaskSettings-APgPLF7p-D3KDk03_.js → PrivacyMaskSettings-APgPLF7p-C2SRtNe6.js} +1 -1
  30. package/embed-dist/assets/index-B2LRyXWh.js +80 -0
  31. package/embed-dist/index.html +1 -1
  32. package/package.json +1 -1
  33. package/dist/chunk-D6vf50IK.js +0 -28
  34. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-c9YxHYlI.mjs +0 -26
  35. package/embed-dist/assets/index-CvgJINQE.js +0 -80
@@ -2,13 +2,12 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_chunk = require("../chunk-D6vf50IK.js");
6
- const require_dist = require("../dist-v0PZCoV-.js");
5
+ const require_model_download_service_C7AjBsX9 = require("../model-download-service-C7AjBsX9-rXY-VFDk.js");
6
+ const require_dist = require("../dist-G45MVm6i.js");
7
7
  let node_fs = require("node:fs");
8
- node_fs = require_chunk.__toESM(node_fs);
8
+ node_fs = require_model_download_service_C7AjBsX9.__toESM(node_fs);
9
9
  let node_path = require("node:path");
10
- node_path = require_chunk.__toESM(node_path);
11
- let _camstack_system = require("@camstack/system");
10
+ node_path = require_model_download_service_C7AjBsX9.__toESM(node_path);
12
11
  //#region src/audio-analyzer/audio-pipeline.ts
13
12
  /**
14
13
  * Create the appropriate audio pipeline.
@@ -83,7 +82,7 @@ var YamnetPythonPipeline = class {
83
82
  url: YAMNET_MODEL_URL,
84
83
  dest: modelPath
85
84
  } });
86
- await (0, _camstack_system.downloadFile)(YAMNET_MODEL_URL, modelPath);
85
+ await require_model_download_service_C7AjBsX9.downloadFile(YAMNET_MODEL_URL, modelPath);
87
86
  this.log.info("YAMNet ONNX model downloaded", { meta: { sizeBytes: node_fs.statSync(modelPath).size } });
88
87
  }
89
88
  if (!node_fs.existsSync(labelsPath)) {
@@ -91,7 +90,7 @@ var YamnetPythonPipeline = class {
91
90
  url: YAMNET_LABELS_URL,
92
91
  dest: labelsPath
93
92
  } });
94
- await (0, _camstack_system.downloadFile)(YAMNET_LABELS_URL, labelsPath);
93
+ await require_model_download_service_C7AjBsX9.downloadFile(YAMNET_LABELS_URL, labelsPath);
95
94
  }
96
95
  const pythonDir = resolveAudioPythonDir();
97
96
  if (this.installPythonRequirements) await this.installPythonRequirements(node_path.join(pythonDir, "requirements-audio.txt"));
@@ -1,8 +1,8 @@
1
1
  import { t as __require } from "../chunk-BdkLduGY.mjs";
2
- import { L as mapAudioLabelToMacro, P as hydrateSchema, S as audioAnalyzerCapability, c as DEFAULT_AUDIO_ANALYZER_CONFIG, i as BaseAddon, j as errMsg, m as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, x as audioAnalysisCapability } from "../dist-CP2uP-D8.mjs";
2
+ import { F as errMsg, I as BaseAddon, T as mapAudioLabelToMacro, W as hydrateSchema, g as audioAnalyzerCapability, h as audioAnalysisCapability, l as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG } from "../dist-CjrjeaDd.mjs";
3
+ import { r as downloadFile } from "../model-download-service-C7AjBsX9-B0ekM6dF.mjs";
3
4
  import * as fs from "node:fs";
4
5
  import * as path$1 from "node:path";
5
- import { downloadFile } from "@camstack/system";
6
6
  //#region src/audio-analyzer/audio-pipeline.ts
7
7
  /**
8
8
  * Create the appropriate audio pipeline.
@@ -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-v0PZCoV-.js");
5
+ const require_dist = require("../dist-G45MVm6i.js");
6
6
  const require_codec_runtime = require("../codec-runtime-BOk-13PN.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  //#region src/audio-codec-nodeav/addon/index.ts
@@ -1,4 +1,4 @@
1
- import { C as audioCodecCapability, i as BaseAddon, j as errMsg } from "../dist-CP2uP-D8.mjs";
1
+ import { F as errMsg, I as BaseAddon, _ as audioCodecCapability } from "../dist-CjrjeaDd.mjs";
2
2
  import { t as DecodeRuntime } from "../codec-runtime-BsqlEjPi.mjs";
3
3
  import { randomUUID } from "node:crypto";
4
4
  //#region src/audio-codec-nodeav/addon/index.ts
@@ -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-v0PZCoV-.js");
5
+ const require_dist = require("../dist-G45MVm6i.js");
6
6
  let _camstack_shm_ring = require("@camstack/shm-ring");
7
7
  let node_crypto = require("node:crypto");
8
8
  //#region src/decoder-nodeav/frame-ring-sink.ts
@@ -1,4 +1,4 @@
1
- import { O as decoderCapability, _ as RingBuffer, h as HWACCEL_OPTIONS, i as BaseAddon, j as errMsg, l as DEFAULT_DECODER_HWACCEL_CONFIG } from "../dist-CP2uP-D8.mjs";
1
+ import { F as errMsg, I as BaseAddon, b as decoderCapability, f as RingBuffer, s as DEFAULT_DECODER_HWACCEL_CONFIG, u as HWACCEL_OPTIONS } from "../dist-CjrjeaDd.mjs";
2
2
  import { FrameRingReaderCache, FrameRingWriter, MIN_RING_SLOTS, computeSegmentSize, computeSlotByteLength, createSegment, deriveSlotCount } from "@camstack/shm-ring";
3
3
  import { randomUUID } from "node:crypto";
4
4
  //#region src/decoder-nodeav/frame-ring-sink.ts