@camstack/addon-pipeline 1.2.342 → 1.2.344

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 +5 -4
  2. package/dist/audio-analyzer/index.mjs +5 -4
  3. package/dist/{custom-model-catalog-BjPZrWX3.mjs → custom-model-catalog-CG8fXDWC.mjs} +3 -3
  4. package/dist/{custom-model-catalog-DPBG06HE.js → custom-model-catalog-Cu1C2kTA.js} +3 -3
  5. package/dist/detection-pipeline/index.js +4 -4
  6. package/dist/detection-pipeline/index.mjs +4 -4
  7. package/dist/{dist-w_gA9z8W.js → dist-DNsARIUD.js} +98 -349
  8. package/dist/{dist-BWzBHFEB.mjs → dist-DUr_0s5c.mjs} +98 -349
  9. package/dist/{model-catalogs-Dseq1bmN.mjs → model-catalogs-BMsnPwTI.mjs} +1 -1
  10. package/dist/{model-catalogs-ll-ggTUb.js → model-catalogs-Y509H8MT.js} +1 -1
  11. package/dist/motion-wasm/index.js +1 -1
  12. package/dist/motion-wasm/index.mjs +1 -1
  13. package/dist/{node-BTsWSPyQ.js → node-D-U3T-h-.js} +1 -1
  14. package/dist/{node-B7gAWBnv.mjs → node-DhrskFZ_.mjs} +1 -1
  15. package/dist/pipeline-runner/index.js +11 -13
  16. package/dist/pipeline-runner/index.mjs +11 -13
  17. package/dist/{process-memory-Nq3qwp-q.js → process-memory-BUrTDsRR.js} +1 -1
  18. package/dist/{process-memory-BYs3sxnT.mjs → process-memory-DXtI2GWk.mjs} +1 -1
  19. package/dist/recorder/index.js +2 -13
  20. package/dist/recorder/index.mjs +2 -13
  21. package/dist/{segment-demux-js-C7Bk1l_R.mjs → segment-demux-js-Bv7s-_uv.mjs} +1 -1
  22. package/dist/{segment-demux-js-D4kTUDck.js → segment-demux-js-vZ6iniOU.js} +1 -1
  23. package/dist/stream-broker/_stub.js +48 -130
  24. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-By8a97Br.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BH3o1g9i.mjs} +3 -3
  25. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C2VoXjqc.mjs +26 -0
  26. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DATpA6mb.mjs +26 -0
  27. package/dist/stream-broker/demux-worker-child.js +1 -1
  28. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  29. package/dist/stream-broker/{hostInit-BU65uPCY.mjs → hostInit-op1zWltj.mjs} +3 -3
  30. package/dist/stream-broker/index.js +49 -1693
  31. package/dist/stream-broker/index.mjs +54 -1696
  32. package/dist/stream-broker/remoteEntry.js +1 -1
  33. package/package.json +1 -6
  34. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B204qFeL.mjs +0 -26
  35. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Czhfk3hD.mjs +0 -26
@@ -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-w_gA9z8W.js");
7
- const require_model_catalogs = require("../model-catalogs-ll-ggTUb.js");
8
- const require_process_memory = require("../process-memory-Nq3qwp-q.js");
6
+ const require_dist = require("../dist-DNsARIUD.js");
7
+ const require_model_catalogs = require("../model-catalogs-Y509H8MT.js");
8
+ const require_process_memory = require("../process-memory-BUrTDsRR.js");
9
9
  let node_fs = require("node:fs");
10
10
  node_fs = require_chunk.__toESM(node_fs);
11
11
  let node_path = require("node:path");
@@ -1727,7 +1727,7 @@ var AudioAnalyzerAddon = class extends require_dist.BaseAddon {
1727
1727
  title: "Audio",
1728
1728
  tab: "engine",
1729
1729
  order: 10,
1730
- description: "Audio classification backend (Apple SoundAnalysis or YAMNet ONNX). Independent from the vision-detection engine above. \"Auto\" picks Apple SoundAnalysis on macOS, YAMNet on Linux. Click the refresh icon next to \"Probed best\" to re-run the probe.",
1730
+ description: "The audio classifier. \"Auto\" uses Apple SoundAnalysis on macOS and YAMNet elsewhere. The backend choice is one value for the cluster (Cluster → Settings); the probed best is each node's own.",
1731
1731
  fields: [{
1732
1732
  type: "text",
1733
1733
  key: "probedBestAudioBackend",
@@ -1745,6 +1745,7 @@ var AudioAnalyzerAddon = class extends require_dist.BaseAddon {
1745
1745
  type: "select",
1746
1746
  key: "audioBackend",
1747
1747
  label: "Audio backend",
1748
+ description: "One value for every node. Auto picks the best backend on each node; a choice a node cannot run falls back to Auto there.",
1748
1749
  options: require_dist.AUDIO_BACKEND_CHOICES.map((o) => ({
1749
1750
  value: o.value,
1750
1751
  label: o.label
@@ -1,7 +1,7 @@
1
1
  import { n as __require } from "../chunk-DnnnRqeS.mjs";
2
- import { Dn as errMsg, In as expandAudioChunkToF32le, Ln as hydrateSchema, Mn as audioChunkBytesPerSample, N as PoolMemoryWatchdog, Nt as mapAudioLabelToMacro, Vn as nodePin, X as audioAnalyzerCapability, Y as audioAnalysisCapability, an as resolvePoolMemoryPolicy, h as DEFAULT_AUDIO_ANALYZER_CONFIG, kn as BaseAddon, r as AUDIO_BACKEND_CHOICES, rr as EventCategory } from "../dist-BWzBHFEB.mjs";
3
- import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-Dseq1bmN.mjs";
4
- import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-BYs3sxnT.mjs";
2
+ import { Dn as errMsg, In as expandAudioChunkToF32le, Ln as hydrateSchema, Mn as audioChunkBytesPerSample, N as PoolMemoryWatchdog, Nt as mapAudioLabelToMacro, Vn as nodePin, X as audioAnalyzerCapability, Y as audioAnalysisCapability, an as resolvePoolMemoryPolicy, h as DEFAULT_AUDIO_ANALYZER_CONFIG, kn as BaseAddon, r as AUDIO_BACKEND_CHOICES, rr as EventCategory } from "../dist-DUr_0s5c.mjs";
3
+ import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-BMsnPwTI.mjs";
4
+ import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-DXtI2GWk.mjs";
5
5
  import * as fs from "node:fs";
6
6
  import * as path$1 from "node:path";
7
7
  import { ensureModel } from "@camstack/system/addon-utils";
@@ -1721,7 +1721,7 @@ var AudioAnalyzerAddon = class extends BaseAddon {
1721
1721
  title: "Audio",
1722
1722
  tab: "engine",
1723
1723
  order: 10,
1724
- description: "Audio classification backend (Apple SoundAnalysis or YAMNet ONNX). Independent from the vision-detection engine above. \"Auto\" picks Apple SoundAnalysis on macOS, YAMNet on Linux. Click the refresh icon next to \"Probed best\" to re-run the probe.",
1724
+ description: "The audio classifier. \"Auto\" uses Apple SoundAnalysis on macOS and YAMNet elsewhere. The backend choice is one value for the cluster (Cluster → Settings); the probed best is each node's own.",
1725
1725
  fields: [{
1726
1726
  type: "text",
1727
1727
  key: "probedBestAudioBackend",
@@ -1739,6 +1739,7 @@ var AudioAnalyzerAddon = class extends BaseAddon {
1739
1739
  type: "select",
1740
1740
  key: "audioBackend",
1741
1741
  label: "Audio backend",
1742
+ description: "One value for every node. Auto picks the best backend on each node; a choice a node cannot run falls back to Auto there.",
1742
1743
  options: AUDIO_BACKEND_CHOICES.map((o) => ({
1743
1744
  value: o.value,
1744
1745
  label: o.label
@@ -1,5 +1,5 @@
1
- import { Dt as inferModelProvider, Z as audioKindId, b as DEVICE_BACKEND_TO_FORMAT, f as COCO_80_LABELS, i as AUDIO_MACRO_LABELS, k as LABEL_SUPPLY_VOCABULARIES, p as COCO_TO_MACRO, un as stepModelRunsOnFormat } from "./dist-BWzBHFEB.mjs";
2
- import { a as FACE_DETECTION_MODELS, c as OBJECT_DETECTION_MODELS, d as PLATE_OCR_MODELS, f as SEGMENTATION_REFINER_MODELS, i as CLIP_EMBEDDING_MODELS, l as PACKAGE_DETECTION_MODELS, n as AUDIO_CLASSIFIER_MODELS, o as FACE_EMBEDDING_MODELS, p as VEHICLE_CLASSIFIER_MODELS, r as BIRD_CLASSIFIER_MODELS, s as INSTANCE_SEGMENTATION_MODELS, t as ANIMAL_CLASSIFIER_MODELS, u as PLATE_DETECTION_MODELS } from "./model-catalogs-Dseq1bmN.mjs";
1
+ import { Dt as inferModelProvider, Z as audioKindId, b as DEVICE_BACKEND_TO_FORMAT, f as COCO_80_LABELS, i as AUDIO_MACRO_LABELS, k as LABEL_SUPPLY_VOCABULARIES, p as COCO_TO_MACRO, un as stepModelRunsOnFormat } from "./dist-DUr_0s5c.mjs";
2
+ import { a as FACE_DETECTION_MODELS, c as OBJECT_DETECTION_MODELS, d as PLATE_OCR_MODELS, f as SEGMENTATION_REFINER_MODELS, i as CLIP_EMBEDDING_MODELS, l as PACKAGE_DETECTION_MODELS, n as AUDIO_CLASSIFIER_MODELS, o as FACE_EMBEDDING_MODELS, p as VEHICLE_CLASSIFIER_MODELS, r as BIRD_CLASSIFIER_MODELS, s as INSTANCE_SEGMENTATION_MODELS, t as ANIMAL_CLASSIFIER_MODELS, u as PLATE_DETECTION_MODELS } from "./model-catalogs-BMsnPwTI.mjs";
3
3
  import { t as isWorkerReply } from "./worker-protocol-D_NzPcnh.mjs";
4
4
  import { randomUUID } from "node:crypto";
5
5
  //#region src/detection-pipeline/registry/effective-confidence.ts
@@ -420,7 +420,7 @@ var FaceEmbeddingStep = class extends PipelineStepBase {
420
420
  return [{
421
421
  type: "slider",
422
422
  key: "minLandmarkFaceSize",
423
- label: "Min face size for recognition (detection px)",
423
+ label: "Min face size to embed (detection-frame px)",
424
424
  description: "Refuse to embed a face smaller than this IN THE DETECTION FRAME — not at native resolution. The 5 landmarks that align the crop are regressed at detection scale, so below this floor the aligned crop is not reliably a face, and a native-resolution cutout cannot fix it. Measured on 60 live crops: at 24px, 61% come out correctly aligned versus 20% with no floor, at the cost of about 70% of the volume. Lower it if you are losing too many faces; 0 disables the gate. A degenerate crop is worse than no crop — it scores high similarity against everyone and poisons the gallery.",
425
425
  min: 0,
426
426
  max: 64,
@@ -1,5 +1,5 @@
1
- const require_dist = require("./dist-w_gA9z8W.js");
2
- const require_model_catalogs = require("./model-catalogs-ll-ggTUb.js");
1
+ const require_dist = require("./dist-DNsARIUD.js");
2
+ const require_model_catalogs = require("./model-catalogs-Y509H8MT.js");
3
3
  const require_worker_protocol = require("./worker-protocol-C-G8qmye.js");
4
4
  let node_crypto = require("node:crypto");
5
5
  //#region src/detection-pipeline/registry/effective-confidence.ts
@@ -420,7 +420,7 @@ var FaceEmbeddingStep = class extends PipelineStepBase {
420
420
  return [{
421
421
  type: "slider",
422
422
  key: "minLandmarkFaceSize",
423
- label: "Min face size for recognition (detection px)",
423
+ label: "Min face size to embed (detection-frame px)",
424
424
  description: "Refuse to embed a face smaller than this IN THE DETECTION FRAME — not at native resolution. The 5 landmarks that align the crop are regressed at detection scale, so below this floor the aligned crop is not reliably a face, and a native-resolution cutout cannot fix it. Measured on 60 live crops: at 24px, 61% come out correctly aligned versus 20% with no floor, at the cost of about 70% of the volume. Lower it if you are losing too many faces; 0 disables the gate. A degenerate crop is worse than no crop — it scores high similarity against everyone and poisons the gallery.",
425
425
  min: 0,
426
426
  max: 64,
@@ -3,11 +3,11 @@ 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-w_gA9z8W.js");
7
- const require_node = require("../node-BTsWSPyQ.js");
8
- const require_custom_model_catalog = require("../custom-model-catalog-DPBG06HE.js");
6
+ const require_dist = require("../dist-DNsARIUD.js");
7
+ const require_node = require("../node-D-U3T-h-.js");
8
+ const require_custom_model_catalog = require("../custom-model-catalog-Cu1C2kTA.js");
9
9
  const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
10
- const require_process_memory = require("../process-memory-Nq3qwp-q.js");
10
+ const require_process_memory = require("../process-memory-BUrTDsRR.js");
11
11
  let node_os = require("node:os");
12
12
  node_os = require_chunk.__toESM(node_os);
13
13
  let node_fs = require("node:fs");
@@ -1,9 +1,9 @@
1
1
  import { n as __require } from "../chunk-DnnnRqeS.mjs";
2
- import { Bt as modelBindingKey, Dn as errMsg$1, Et as hfModelUrl, G as YAMNET_TO_MACRO, Ht as overlayClusterStepSettings, J as applyModelBoundSettings, Kn as array, Ln as hydrateSchema, N as PoolMemoryWatchdog, Nn as createEvent, O as LABEL_SUPPLY_MACRO, Qn as object, Vn as nodePin, Wn as sleep, Wt as pickClusterStepSettings, _t as evaluateZoneRules, an as resolvePoolMemoryPolicy, cn as rootSuppliesOf, ct as defaultDeviceFor$1, d as CLUSTER_MODEL_SCOPED_STEPS, en as resolveClusterStepModelId, g as DEFAULT_CLUSTER_STEP_SETTINGS, gt as enumerateInferenceDevices, hn as supportedRuntimes$1, it as containingParentIndex, jt as loadContributionCapability, kn as BaseAddon, kt as linkedLabelStepId, ln as runtimeDevices$1, n as APPLE_SA_TO_MACRO, nr as union, pt as detectionPipelineCapability, qt as pipelineExecutorCapability, rr as EventCategory, rt as collectModelBoundKeys, tr as string, un as stepModelRunsOnFormat } from "../dist-BWzBHFEB.mjs";
3
- import { s as readProcessCost } from "../node-B7gAWBnv.mjs";
4
- import { C as resolveModelDefaultConfidence, S as landmarkPrecisionVerdict, _ as ALL_STEPS, b as getStepDefinition, f as localFrameRegistry, g as ALL_PIPELINE_STEPS, l as resolveDefaultDetectionModel, n as mergeCustomModels, o as deviceKeyOf, r as buildSubtreeCanRun, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, v as getDefaultModelForFormat, x as resolveModelForFormat, y as getStep } from "../custom-model-catalog-BjPZrWX3.mjs";
2
+ import { Bt as modelBindingKey, Dn as errMsg$1, Et as hfModelUrl, G as YAMNET_TO_MACRO, Ht as overlayClusterStepSettings, J as applyModelBoundSettings, Kn as array, Ln as hydrateSchema, N as PoolMemoryWatchdog, Nn as createEvent, O as LABEL_SUPPLY_MACRO, Qn as object, Vn as nodePin, Wn as sleep, Wt as pickClusterStepSettings, _t as evaluateZoneRules, an as resolvePoolMemoryPolicy, cn as rootSuppliesOf, ct as defaultDeviceFor$1, d as CLUSTER_MODEL_SCOPED_STEPS, en as resolveClusterStepModelId, g as DEFAULT_CLUSTER_STEP_SETTINGS, gt as enumerateInferenceDevices, hn as supportedRuntimes$1, it as containingParentIndex, jt as loadContributionCapability, kn as BaseAddon, kt as linkedLabelStepId, ln as runtimeDevices$1, n as APPLE_SA_TO_MACRO, nr as union, pt as detectionPipelineCapability, qt as pipelineExecutorCapability, rr as EventCategory, rt as collectModelBoundKeys, tr as string, un as stepModelRunsOnFormat } from "../dist-DUr_0s5c.mjs";
3
+ import { s as readProcessCost } from "../node-DhrskFZ_.mjs";
4
+ import { C as resolveModelDefaultConfidence, S as landmarkPrecisionVerdict, _ as ALL_STEPS, b as getStepDefinition, f as localFrameRegistry, g as ALL_PIPELINE_STEPS, l as resolveDefaultDetectionModel, n as mergeCustomModels, o as deviceKeyOf, r as buildSubtreeCanRun, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, v as getDefaultModelForFormat, x as resolveModelForFormat, y as getStep } from "../custom-model-catalog-CG8fXDWC.mjs";
5
5
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
6
- import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-BYs3sxnT.mjs";
6
+ import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-DXtI2GWk.mjs";
7
7
  import * as os from "node:os";
8
8
  import * as fs from "node:fs";
9
9
  import * as path$1 from "node:path";