@camstack/addon-pipeline 1.2.124 → 1.2.125
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.
- package/dist/{addon-utils-DjiHGIRF.js → addon-utils-BnprivSs.js} +1 -1
- package/dist/audio-analyzer/index.js +3 -3
- package/dist/audio-analyzer/index.mjs +2 -2
- package/dist/detection-pipeline/index.js +5 -5
- package/dist/detection-pipeline/index.mjs +3 -3
- package/dist/{dist-DomdkRKL.js → dist-BZUXb5S5.js} +26 -4
- package/dist/{dist-B7rIp5qQ.mjs → dist-HLAOw6Pe.mjs} +26 -4
- package/dist/{event-loop-stall-monitor-mvxKgrNV.mjs → event-loop-stall-monitor-BH-cL_hg.mjs} +1 -1
- package/dist/{event-loop-stall-monitor-ChA4AQ1D.js → event-loop-stall-monitor-BdArVUlx.js} +1 -1
- package/dist/{lazy-sharp-BSeW3qY5.js → lazy-sharp-BxMwCkCA.js} +1 -1
- package/dist/motion-wasm/index.js +2 -2
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/pipeline-runner/index.js +972 -871
- package/dist/pipeline-runner/index.mjs +971 -870
- package/dist/{process-memory-XHs-umae.mjs → process-memory-CDPRLalN.mjs} +1 -1
- package/dist/{process-memory-BtpLNnXq.js → process-memory-Dh1SyzdJ.js} +1 -1
- package/dist/recorder/index.js +2 -2
- package/dist/recorder/index.mjs +1 -1
- package/dist/{segment-demux-js-Cc5Jubdu.mjs → segment-demux-js-D-TLcHW5.mjs} +1 -1
- package/dist/{segment-demux-js-CFIIJsfc.js → segment-demux-js-DRutggd6.js} +1 -1
- package/dist/session-decode/decode-worker-child.js +2 -2
- package/dist/session-decode/decode-worker-child.mjs +1 -1
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-P-WP2KSi.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BDR5z0Z9.mjs} +1 -1
- package/dist/stream-broker/demux-worker-child.js +1 -1
- package/dist/stream-broker/demux-worker-child.mjs +1 -1
- package/dist/stream-broker/{hostInit-D6O20fld.mjs → hostInit-Dmw5LWmP.mjs} +1 -1
- package/dist/stream-broker/index.js +2 -2
- package/dist/stream-broker/index.mjs +2 -2
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/{worker-protocol-DQ5DPOFD.js → worker-protocol-BxkCoVjw.js} +1 -1
- package/dist/{worker-protocol-CrHJXGHV.mjs → worker-protocol-h7Smb_0i.mjs} +1 -1
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_process_memory = require("../process-memory-
|
|
7
|
-
const require_addon_utils = require("../addon-utils-
|
|
5
|
+
const require_dist = require("../dist-BZUXb5S5.js");
|
|
6
|
+
const require_process_memory = require("../process-memory-Dh1SyzdJ.js");
|
|
7
|
+
const require_addon_utils = require("../addon-utils-BnprivSs.js");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
node_path = require_dist.__toESM(node_path);
|
|
10
10
|
let node_fs = require("node:fs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { A as audioAnalyzerCapability, Dt as hydrateSchema, J as mapAudioLabelToMacro, St as BaseAddon, _ as HF_BASE_URL, gt as errMsg, k as audioAnalysisCapability, lt as resolvePoolMemoryPolicy, n as AUDIO_BACKEND_CHOICES, s as DEFAULT_AUDIO_ANALYZER_CONFIG, x as PoolMemoryWatchdog } from "../dist-
|
|
3
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
2
|
+
import { A as audioAnalyzerCapability, Dt as hydrateSchema, J as mapAudioLabelToMacro, St as BaseAddon, _ as HF_BASE_URL, gt as errMsg, k as audioAnalysisCapability, lt as resolvePoolMemoryPolicy, n as AUDIO_BACKEND_CHOICES, s as DEFAULT_AUDIO_ANALYZER_CONFIG, x as PoolMemoryWatchdog } from "../dist-HLAOw6Pe.mjs";
|
|
3
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-CDPRLalN.mjs";
|
|
4
4
|
import { i as downloadFile } from "../addon-utils-CgBCF-mE.mjs";
|
|
5
5
|
import * as path$1 from "node:path";
|
|
6
6
|
import * as fs from "node:fs";
|
|
@@ -2,11 +2,11 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-
|
|
7
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
8
|
-
const require_process_memory = require("../process-memory-
|
|
9
|
-
const require_addon_utils = require("../addon-utils-
|
|
5
|
+
const require_dist = require("../dist-BZUXb5S5.js");
|
|
6
|
+
const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-BdArVUlx.js");
|
|
7
|
+
const require_lazy_sharp = require("../lazy-sharp-BxMwCkCA.js");
|
|
8
|
+
const require_process_memory = require("../process-memory-Dh1SyzdJ.js");
|
|
9
|
+
const require_addon_utils = require("../addon-utils-BnprivSs.js");
|
|
10
10
|
let sharp = require("sharp");
|
|
11
11
|
sharp = require_dist.__toESM(sharp);
|
|
12
12
|
let node_child_process = require("node:child_process");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { $ as pickClusterStepModels, D as YAMNET_TO_MACRO, Dt as hydrateSchema, Et as createEvent, Ft as sleep, G as evaluateZoneRules, Gt as string, I as defaultDeviceFor$1, Kt as union, Lt as array, Mt as parseJsonUnknown, St as BaseAddon, Ut as object, V as detectionPipelineCapability, W as enumerateInferenceDevices, Z as overlayClusterStepSettings, c as DEFAULT_CLUSTER_STEP_MODELS, dt as runtimeDevices$1, et as pickClusterStepSettings, gt as errMsg, jt as nodePin, l as DEFAULT_CLUSTER_STEP_SETTINGS, lt as resolvePoolMemoryPolicy, mt as supportedRuntimes$1, p as DEVICE_BACKEND_TO_FORMAT, q as inferModelProvider, qt as EventCategory, rt as pipelineExecutorCapability, st as resolveClusterStepModelId, t as APPLE_SA_TO_MACRO, x as PoolMemoryWatchdog } from "../dist-
|
|
3
|
-
import { a as ALL_PIPELINE_STEPS, c as getDefaultModelForFormatFromDef, d as resolveModelForFormat, f as landmarkPrecisionVerdict, l as getStep, n as startEventLoopStallMonitor, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as getStepDefinition } from "../event-loop-stall-monitor-
|
|
2
|
+
import { $ as pickClusterStepModels, D as YAMNET_TO_MACRO, Dt as hydrateSchema, Et as createEvent, Ft as sleep, G as evaluateZoneRules, Gt as string, I as defaultDeviceFor$1, Kt as union, Lt as array, Mt as parseJsonUnknown, St as BaseAddon, Ut as object, V as detectionPipelineCapability, W as enumerateInferenceDevices, Z as overlayClusterStepSettings, c as DEFAULT_CLUSTER_STEP_MODELS, dt as runtimeDevices$1, et as pickClusterStepSettings, gt as errMsg, jt as nodePin, l as DEFAULT_CLUSTER_STEP_SETTINGS, lt as resolvePoolMemoryPolicy, mt as supportedRuntimes$1, p as DEVICE_BACKEND_TO_FORMAT, q as inferModelProvider, qt as EventCategory, rt as pipelineExecutorCapability, st as resolveClusterStepModelId, t as APPLE_SA_TO_MACRO, x as PoolMemoryWatchdog } from "../dist-HLAOw6Pe.mjs";
|
|
3
|
+
import { a as ALL_PIPELINE_STEPS, c as getDefaultModelForFormatFromDef, d as resolveModelForFormat, f as landmarkPrecisionVerdict, l as getStep, n as startEventLoopStallMonitor, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as getStepDefinition } from "../event-loop-stall-monitor-BH-cL_hg.mjs";
|
|
4
4
|
import { t as getSharp } from "../lazy-sharp-6oymT_yf.mjs";
|
|
5
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
5
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-CDPRLalN.mjs";
|
|
6
6
|
import { a as ensureModel, o as isModelDownloaded, r as deleteModelFromDisk } from "../addon-utils-CgBCF-mE.mjs";
|
|
7
7
|
import sharp from "sharp";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
@@ -26331,8 +26331,10 @@ var PlateInfoSchema = object({
|
|
|
26331
26331
|
keyFrameMediaKey: string().optional(),
|
|
26332
26332
|
base64: string().optional(),
|
|
26333
26333
|
/**
|
|
26334
|
-
* Same crop as a data-plane URL
|
|
26335
|
-
* never inlines JPEG; `listPlates`
|
|
26334
|
+
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
26335
|
+
* crop. `getPlateByTrack` returns this and never inlines JPEG; `listPlates`
|
|
26336
|
+
* and `searchPlates` inline the crop only when their `includeCrops` input is
|
|
26337
|
+
* left at its `true` default.
|
|
26336
26338
|
*/
|
|
26337
26339
|
cropUrl: string().optional()
|
|
26338
26340
|
});
|
|
@@ -26352,14 +26354,34 @@ var PlateClusterSchema = object({
|
|
|
26352
26354
|
});
|
|
26353
26355
|
method(object({
|
|
26354
26356
|
deviceId: number().int().optional(),
|
|
26355
|
-
limit: number().int().positive().optional()
|
|
26357
|
+
limit: number().int().positive().optional(),
|
|
26358
|
+
/**
|
|
26359
|
+
* Inline the base64 crop on every row. Default `true` — the existing
|
|
26360
|
+
* behaviour, kept so no caller breaks.
|
|
26361
|
+
*
|
|
26362
|
+
* Set `false` once the caller renders {@link PlateInfo.cropUrl}.
|
|
26363
|
+
* Measured on the live hub at the 500 rows the Plates view asks for:
|
|
26364
|
+
* 879,403 B and 27.7 s with the crops inline, against a few KiB of
|
|
26365
|
+
* metadata without them — and the browser then caches the images.
|
|
26366
|
+
*
|
|
26367
|
+
* This is the plate twin of `faceGallery.listRecentFaces`'s option;
|
|
26368
|
+
* plates were the one gallery list left without it.
|
|
26369
|
+
*
|
|
26370
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
26371
|
+
* next train.** The hub router validates cap inputs against its own
|
|
26372
|
+
* compiled Zod and strips a key it does not know. Until the train
|
|
26373
|
+
* ships, sending `false` is harmless and keeps the crops inline.
|
|
26374
|
+
*/
|
|
26375
|
+
includeCrops: boolean().optional()
|
|
26356
26376
|
}).optional(), array(PlateInfoSchema).readonly()), method(object({
|
|
26357
26377
|
deviceId: number().int(),
|
|
26358
26378
|
trackId: string()
|
|
26359
26379
|
}), PlateInfoSchema.nullable()), method(object({ plateId: string() }), array(MediaFileLiteSchema).readonly()), method(object({
|
|
26360
26380
|
text: string().min(1),
|
|
26361
26381
|
maxDistance: number().int().min(0).optional(),
|
|
26362
|
-
limit: number().int().positive().optional()
|
|
26382
|
+
limit: number().int().positive().optional(),
|
|
26383
|
+
/** See `listPlates.includeCrops`. Default `true`. */
|
|
26384
|
+
includeCrops: boolean().optional()
|
|
26363
26385
|
}), array(PlateInfoSchema).readonly()), method(object({
|
|
26364
26386
|
maxDistance: number().int().min(0).optional(),
|
|
26365
26387
|
minClusterSize: number().int().min(2).optional(),
|
|
@@ -26308,8 +26308,10 @@ var PlateInfoSchema = object({
|
|
|
26308
26308
|
keyFrameMediaKey: string().optional(),
|
|
26309
26309
|
base64: string().optional(),
|
|
26310
26310
|
/**
|
|
26311
|
-
* Same crop as a data-plane URL
|
|
26312
|
-
* never inlines JPEG; `listPlates`
|
|
26311
|
+
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
26312
|
+
* crop. `getPlateByTrack` returns this and never inlines JPEG; `listPlates`
|
|
26313
|
+
* and `searchPlates` inline the crop only when their `includeCrops` input is
|
|
26314
|
+
* left at its `true` default.
|
|
26313
26315
|
*/
|
|
26314
26316
|
cropUrl: string().optional()
|
|
26315
26317
|
});
|
|
@@ -26329,14 +26331,34 @@ var PlateClusterSchema = object({
|
|
|
26329
26331
|
});
|
|
26330
26332
|
method(object({
|
|
26331
26333
|
deviceId: number().int().optional(),
|
|
26332
|
-
limit: number().int().positive().optional()
|
|
26334
|
+
limit: number().int().positive().optional(),
|
|
26335
|
+
/**
|
|
26336
|
+
* Inline the base64 crop on every row. Default `true` — the existing
|
|
26337
|
+
* behaviour, kept so no caller breaks.
|
|
26338
|
+
*
|
|
26339
|
+
* Set `false` once the caller renders {@link PlateInfo.cropUrl}.
|
|
26340
|
+
* Measured on the live hub at the 500 rows the Plates view asks for:
|
|
26341
|
+
* 879,403 B and 27.7 s with the crops inline, against a few KiB of
|
|
26342
|
+
* metadata without them — and the browser then caches the images.
|
|
26343
|
+
*
|
|
26344
|
+
* This is the plate twin of `faceGallery.listRecentFaces`'s option;
|
|
26345
|
+
* plates were the one gallery list left without it.
|
|
26346
|
+
*
|
|
26347
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
26348
|
+
* next train.** The hub router validates cap inputs against its own
|
|
26349
|
+
* compiled Zod and strips a key it does not know. Until the train
|
|
26350
|
+
* ships, sending `false` is harmless and keeps the crops inline.
|
|
26351
|
+
*/
|
|
26352
|
+
includeCrops: boolean().optional()
|
|
26333
26353
|
}).optional(), array(PlateInfoSchema).readonly()), method(object({
|
|
26334
26354
|
deviceId: number().int(),
|
|
26335
26355
|
trackId: string()
|
|
26336
26356
|
}), PlateInfoSchema.nullable()), method(object({ plateId: string() }), array(MediaFileLiteSchema).readonly()), method(object({
|
|
26337
26357
|
text: string().min(1),
|
|
26338
26358
|
maxDistance: number().int().min(0).optional(),
|
|
26339
|
-
limit: number().int().positive().optional()
|
|
26359
|
+
limit: number().int().positive().optional(),
|
|
26360
|
+
/** See `listPlates.includeCrops`. Default `true`. */
|
|
26361
|
+
includeCrops: boolean().optional()
|
|
26340
26362
|
}), array(PlateInfoSchema).readonly()), method(object({
|
|
26341
26363
|
maxDistance: number().int().min(0).optional(),
|
|
26342
26364
|
minClusterSize: number().int().min(2).optional(),
|
package/dist/{event-loop-stall-monitor-mvxKgrNV.mjs → event-loop-stall-monitor-BH-cL_hg.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as hfModelUrl, a as COCO_80_LABELS, j as audioKindId, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS } from "./dist-
|
|
1
|
+
import { K as hfModelUrl, a as COCO_80_LABELS, j as audioKindId, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS } from "./dist-HLAOw6Pe.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { PerformanceObserver } from "node:perf_hooks";
|
|
4
4
|
//#region src/detection-pipeline/registry/model-catalogs.ts
|
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
5
|
+
const require_dist = require("../dist-BZUXb5S5.js");
|
|
6
|
+
const require_lazy_sharp = require("../lazy-sharp-BxMwCkCA.js");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
//#region src/motion-wasm/wasm-motion-detector.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as hydrateSchema, G as evaluateZoneRules, St as BaseAddon, Tt as DeviceType, X as motionDetectionCapability } from "../dist-
|
|
1
|
+
import { Dt as hydrateSchema, G as evaluateZoneRules, St as BaseAddon, Tt as DeviceType, X as motionDetectionCapability } from "../dist-HLAOw6Pe.mjs";
|
|
2
2
|
import { t as getSharp } from "../lazy-sharp-6oymT_yf.mjs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { readFileSync } from "node:fs";
|