@camstack/addon-pipeline 1.2.217 → 1.2.219
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/audio-analyzer/index.js +2 -2
- package/dist/audio-analyzer/index.mjs +2 -2
- package/dist/{default-detection-model-BwNEV8Wl.mjs → default-detection-model-Dsk1a5pY.mjs} +1 -1
- package/dist/{default-detection-model-DzzuINe-.js → default-detection-model-d7-Q_LMo.js} +1 -1
- package/dist/detection-pipeline/index.js +5 -5
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-DgeXZfwn.mjs → dist-CKK0CBUW.mjs} +96 -5
- package/dist/{dist-D7hxiBnC.js → dist-wtNhtVVo.js} +96 -5
- package/dist/{lazy-sharp-BSkbiuz5.js → lazy-sharp-zoQ07I43.js} +1 -1
- package/dist/motion-wasm/index.js +2 -2
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-DDhmPcOx.js → node-BduNi21Z.js} +1 -1
- package/dist/{node-C9GcBrwk.mjs → node-CrNBWFbA.mjs} +1 -1
- package/dist/pipeline-runner/index.js +13 -6
- package/dist/pipeline-runner/index.mjs +12 -5
- package/dist/{process-memory-Dw3CGS3D.mjs → process-memory-BRQOtDN1.mjs} +1 -1
- package/dist/{process-memory-ENqmiiis.js → process-memory-Dwl0MFPH.js} +1 -1
- package/dist/recorder/index.js +92 -14
- package/dist/recorder/index.mjs +92 -14
- package/dist/{segment-demux-js-sLs8mbZQ.js → segment-demux-js-CFOU3biG.js} +1 -1
- package/dist/{segment-demux-js-BGbKlotF.mjs → segment-demux-js-D2o9ShNL.mjs} +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/_stub.js +1 -1
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BULotDCb.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DN_IoShh.mjs} +3 -3
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-yJ2CyixO.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-7hqrrd88.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-_RQxF72h.mjs → hostInit-n7c9pNlt.mjs} +3 -3
- package/dist/stream-broker/index.js +3 -3
- package/dist/stream-broker/index.mjs +3 -3
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/{worker-protocol-SzmaLNnP.mjs → worker-protocol-Cx3Nqreq.mjs} +1 -1
- package/dist/{worker-protocol-DGql9R4g.js → worker-protocol-iWTFnnUM.js} +1 -1
- package/package.json +1 -1
- package/python/__pycache__/inference_pool.cpython-312.pyc +0 -0
- package/python/__pycache__/inference_pool.cpython-313.pyc +0 -0
- package/python/__pycache__/inference_pool.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_backpressure.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/__pycache__/test_inference_pool_backpressure.cpython-312.pyc +0 -0
- package/python/__pycache__/test_inference_pool_backpressure.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_coreml_cache.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/__pycache__/test_inference_pool_coreml_cache.cpython-312.pyc +0 -0
- package/python/__pycache__/test_inference_pool_coreml_cache.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_deadline.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_device_selection.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/__pycache__/test_inference_pool_device_selection.cpython-312.pyc +0 -0
- package/python/__pycache__/test_inference_pool_device_selection.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_layout.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/__pycache__/test_inference_pool_layout.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_memstats.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/__pycache__/test_inference_pool_memstats.cpython-312.pyc +0 -0
- package/python/__pycache__/test_inference_pool_memstats.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_ov_ppp.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/__pycache__/test_inference_pool_ov_ppp.cpython-312.pyc +0 -0
- package/python/__pycache__/test_inference_pool_ov_ppp.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_preprocess.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/__pycache__/test_inference_pool_preprocess.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_reconfigure.cpython-314.pyc +0 -0
- package/python/__pycache__/test_inference_pool_static_batch.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/__pycache__/test_inference_pool_static_batch.cpython-312.pyc +0 -0
- package/python/__pycache__/test_inference_pool_static_batch.cpython-314.pyc +0 -0
- package/python/__pycache__/yamnet_audio.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/__init__.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/__init__.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/_safety.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/arcface.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/arcface.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/arcface.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/clip.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/clip.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/clip.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/ctc.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/ctc.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/ctc.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/plate_slots.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/plate_slots.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/rfdetr.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/rfdetr.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/saliency.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/saliency.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/saliency.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/scrfd.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/scrfd.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/scrfd.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/softmax.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/softmax.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/softmax.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/ssd.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/ssd.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/ssd.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/test_clip.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_clip.cpython-313-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_ctc.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_ctc.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/test_ctc.cpython-313-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_ctc.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/test_ctc.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/test_plate_slots.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_rfdetr.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_rfdetr.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/test_saliency.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_saliency.cpython-313-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_saliency.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/test_softmax.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_softmax.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/test_yolo_nms.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/test_yolo_nms.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/test_yolo_nms.cpython-39.pyc +0 -0
- package/python/postprocessors/__pycache__/test_yolonas.cpython-312-pytest-9.1.1.pyc +0 -0
- package/python/postprocessors/__pycache__/yamnet.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/yamnet.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/yamnet.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/yolo.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/yolo.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/yolo.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/yolo.cpython-39.pyc +0 -0
- package/python/postprocessors/__pycache__/yolo_seg.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/yolo_seg.cpython-313.pyc +0 -0
- package/python/postprocessors/__pycache__/yolo_seg.cpython-314.pyc +0 -0
- package/python/postprocessors/__pycache__/yolonas.cpython-312.pyc +0 -0
- package/python/postprocessors/__pycache__/yolonas.cpython-314.pyc +0 -0
|
@@ -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_process_memory = require("../process-memory-
|
|
5
|
+
const require_dist = require("../dist-wtNhtVVo.js");
|
|
6
|
+
const require_process_memory = require("../process-memory-Dwl0MFPH.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
node_fs = require_dist.__toESM(node_fs);
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { Dt as resolvePoolMemoryPolicy, It as errMsg, Jt as hydrateSchema, M as audioAnalyzerCapability, S as PoolMemoryWatchdog, Ut as BaseAddon, j as audioAnalysisCapability, n as AUDIO_BACKEND_CHOICES, ot as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, v as HF_BASE_URL } from "../dist-
|
|
3
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
2
|
+
import { Dt as resolvePoolMemoryPolicy, It as errMsg, Jt as hydrateSchema, M as audioAnalyzerCapability, S as PoolMemoryWatchdog, Ut as BaseAddon, j as audioAnalysisCapability, n as AUDIO_BACKEND_CHOICES, ot as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, v as HF_BASE_URL } from "../dist-CKK0CBUW.mjs";
|
|
3
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-BRQOtDN1.mjs";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import * as path$1 from "node:path";
|
|
6
6
|
import { downloadFile } from "@camstack/system/addon-utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as audioKindId, a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS, tt as hfModelUrl } from "./dist-
|
|
1
|
+
import { N as audioKindId, a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS, tt as hfModelUrl } from "./dist-CKK0CBUW.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
//#region src/detection-pipeline/pipeline/landmark-precision-gate.ts
|
|
4
4
|
/**
|
|
@@ -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_node = require("../node-
|
|
7
|
-
const require_default_detection_model = require("../default-detection-model-
|
|
8
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
9
|
-
const require_process_memory = require("../process-memory-
|
|
5
|
+
const require_dist = require("../dist-wtNhtVVo.js");
|
|
6
|
+
const require_node = require("../node-BduNi21Z.js");
|
|
7
|
+
const require_default_detection_model = require("../default-detection-model-d7-Q_LMo.js");
|
|
8
|
+
const require_lazy_sharp = require("../lazy-sharp-zoQ07I43.js");
|
|
9
|
+
const require_process_memory = require("../process-memory-Dwl0MFPH.js");
|
|
10
10
|
let node_os = require("node:os");
|
|
11
11
|
node_os = require_dist.__toESM(node_os);
|
|
12
12
|
let node_fs = require("node:fs");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { $t as parseJsonUnknown, B as defaultDeviceFor$1, Dt as resolvePoolMemoryPolicy, G as detectionPipelineCapability, It as errMsg, J as enumerateInferenceDevices, Jt as hydrateSchema, Pt as supportedRuntimes$1, Qt as nodePin, S as PoolMemoryWatchdog, Ut as BaseAddon, X as evaluateZoneRules, c as DEFAULT_CLUSTER_STEP_MODELS, gt as pickClusterStepSettings, hn as EventCategory, ht as pickClusterStepModels, in as array, it as loadContributionCapability, k as YAMNET_TO_MACRO, kt as runtimeDevices$1, l as DEFAULT_CLUSTER_STEP_SETTINGS, m as DEVICE_BACKEND_TO_FORMAT, mn as union, nn as sleep, nt as inferModelProvider, pn as string, pt as overlayClusterStepSettings, qt as createEvent, t as APPLE_SA_TO_MACRO, un as object, wt as resolveClusterStepModelId, yt as pipelineExecutorCapability } from "../dist-
|
|
3
|
-
import { o as readProcessCost } from "../node-
|
|
4
|
-
import { a as ALL_PIPELINE_STEPS, c as getStep, d as landmarkPrecisionVerdict, l as getStepDefinition, n as resolveDefaultDetectionModel, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as resolveModelForFormat } from "../default-detection-model-
|
|
2
|
+
import { $t as parseJsonUnknown, B as defaultDeviceFor$1, Dt as resolvePoolMemoryPolicy, G as detectionPipelineCapability, It as errMsg, J as enumerateInferenceDevices, Jt as hydrateSchema, Pt as supportedRuntimes$1, Qt as nodePin, S as PoolMemoryWatchdog, Ut as BaseAddon, X as evaluateZoneRules, c as DEFAULT_CLUSTER_STEP_MODELS, gt as pickClusterStepSettings, hn as EventCategory, ht as pickClusterStepModels, in as array, it as loadContributionCapability, k as YAMNET_TO_MACRO, kt as runtimeDevices$1, l as DEFAULT_CLUSTER_STEP_SETTINGS, m as DEVICE_BACKEND_TO_FORMAT, mn as union, nn as sleep, nt as inferModelProvider, pn as string, pt as overlayClusterStepSettings, qt as createEvent, t as APPLE_SA_TO_MACRO, un as object, wt as resolveClusterStepModelId, yt as pipelineExecutorCapability } from "../dist-CKK0CBUW.mjs";
|
|
3
|
+
import { o as readProcessCost } from "../node-CrNBWFbA.mjs";
|
|
4
|
+
import { a as ALL_PIPELINE_STEPS, c as getStep, d as landmarkPrecisionVerdict, l as getStepDefinition, n as resolveDefaultDetectionModel, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as resolveModelForFormat } from "../default-detection-model-Dsk1a5pY.mjs";
|
|
5
5
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
6
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
6
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-BRQOtDN1.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";
|
|
@@ -18672,6 +18672,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18672
18672
|
"addon-crash-loop",
|
|
18673
18673
|
"addon-update-available",
|
|
18674
18674
|
"server-update-available",
|
|
18675
|
+
"wrapper-update-available",
|
|
18675
18676
|
"alarm-triggered",
|
|
18676
18677
|
"alarm-armed",
|
|
18677
18678
|
"alarm-disarmed",
|
|
@@ -22261,7 +22262,17 @@ var EventDensityBucketSchema = object({
|
|
|
22261
22262
|
bucketStart: number(),
|
|
22262
22263
|
motion: number().int(),
|
|
22263
22264
|
object: number().int(),
|
|
22264
|
-
audio: number().int()
|
|
22265
|
+
audio: number().int(),
|
|
22266
|
+
/**
|
|
22267
|
+
* Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
|
|
22268
|
+
* as opposed to `audio`, which is their COUNT (D431).
|
|
22269
|
+
*
|
|
22270
|
+
* ABSENT when the bucket holds no audio event. Absence means "nothing was
|
|
22271
|
+
* measured", which is not the same claim as silence, and a lane that cannot
|
|
22272
|
+
* tell them apart paints a quiet hour at full scale — which is exactly what
|
|
22273
|
+
* the count-on-a-level-meter did.
|
|
22274
|
+
*/
|
|
22275
|
+
audioDbfs: number().optional()
|
|
22265
22276
|
});
|
|
22266
22277
|
/**
|
|
22267
22278
|
* One camera's row in a `getEventDensityBatch` answer.
|
|
@@ -24538,6 +24549,53 @@ var ImageContractSchema = object({
|
|
|
24538
24549
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
24539
24550
|
message: string()
|
|
24540
24551
|
});
|
|
24552
|
+
/**
|
|
24553
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
24554
|
+
* produced it.
|
|
24555
|
+
*
|
|
24556
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
24557
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
24558
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
24559
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
24560
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
24561
|
+
*/
|
|
24562
|
+
var WrapperIdentitySchema = object({
|
|
24563
|
+
kind: _enum([
|
|
24564
|
+
"docker",
|
|
24565
|
+
"electron",
|
|
24566
|
+
"native",
|
|
24567
|
+
"contradictory",
|
|
24568
|
+
"unknown"
|
|
24569
|
+
]),
|
|
24570
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
24571
|
+
evidence: array(object({
|
|
24572
|
+
/** Which probe this row reports. */
|
|
24573
|
+
fact: _enum([
|
|
24574
|
+
"dockerenv-file",
|
|
24575
|
+
"proc-1-cgroup",
|
|
24576
|
+
"platform",
|
|
24577
|
+
"electron-app-version-env"
|
|
24578
|
+
]),
|
|
24579
|
+
/**
|
|
24580
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
24581
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
24582
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
24583
|
+
*/
|
|
24584
|
+
mode: _enum(["observed", "declared"]),
|
|
24585
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
24586
|
+
holds: boolean(),
|
|
24587
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
24588
|
+
detail: string()
|
|
24589
|
+
})),
|
|
24590
|
+
/**
|
|
24591
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
24592
|
+
* Electron app version it declared, or the baked seed closure that
|
|
24593
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
24594
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
24595
|
+
* known there.
|
|
24596
|
+
*/
|
|
24597
|
+
currentVersion: string().nullable()
|
|
24598
|
+
});
|
|
24541
24599
|
var ServerRollbackInfoSchema = object({
|
|
24542
24600
|
/** The version that failed (or was manually rolled back). */
|
|
24543
24601
|
fromVersion: string(),
|
|
@@ -24579,7 +24637,13 @@ var ServerPackageStatusSchema = object({
|
|
|
24579
24637
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
24580
24638
|
* version skew: an older provider's payload simply omits it.
|
|
24581
24639
|
*/
|
|
24582
|
-
imageContract: ImageContractSchema.optional()
|
|
24640
|
+
imageContract: ImageContractSchema.optional(),
|
|
24641
|
+
/**
|
|
24642
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
24643
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
24644
|
+
* absent wrapper is unknown — never `native`.
|
|
24645
|
+
*/
|
|
24646
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
24583
24647
|
});
|
|
24584
24648
|
var ServerUpdateCheckResultSchema = object({
|
|
24585
24649
|
packageName: string(),
|
|
@@ -30793,7 +30857,23 @@ var RecordingRangeSchema = object({
|
|
|
30793
30857
|
});
|
|
30794
30858
|
var RecordingAvailabilitySchema = object({
|
|
30795
30859
|
deviceId: number(),
|
|
30796
|
-
ranges: array(RecordingRangeSchema)
|
|
30860
|
+
ranges: array(RecordingRangeSchema),
|
|
30861
|
+
/**
|
|
30862
|
+
* Every profile this camera has footage in — not only the one `ranges`
|
|
30863
|
+
* describes (D433).
|
|
30864
|
+
*
|
|
30865
|
+
* `ranges` answers for ONE profile by design: the timeline is a single bar,
|
|
30866
|
+
* and enumerating all of them triples the directory reads for a bar that
|
|
30867
|
+
* would look identical. But the answer used to say nothing about that, so a
|
|
30868
|
+
* caller asking "what can I export?" read the single preferred profile as
|
|
30869
|
+
* the only one that exists — on this deployment every camera records `high`
|
|
30870
|
+
* AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
|
|
30871
|
+
* UI could not see it.
|
|
30872
|
+
*
|
|
30873
|
+
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
30874
|
+
* makes. Ask for a specific profile's ranges with the `profile` input.
|
|
30875
|
+
*/
|
|
30876
|
+
profilesWithFootage: array(string())
|
|
30797
30877
|
});
|
|
30798
30878
|
var RecordingDaysSchema = object({
|
|
30799
30879
|
deviceId: number(),
|
|
@@ -30819,7 +30899,11 @@ var RecordingDaysSchema = object({
|
|
|
30819
30899
|
var RecordingAvailabilityForDeviceSchema = object({
|
|
30820
30900
|
deviceId: number(),
|
|
30821
30901
|
read: _enum(["read", "unreadable"]),
|
|
30822
|
-
ranges: array(RecordingRangeSchema).readonly()
|
|
30902
|
+
ranges: array(RecordingRangeSchema).readonly(),
|
|
30903
|
+
/** Same field, same meaning, as the singular answer (D433). A row that
|
|
30904
|
+
* dropped it would tell a grid caller the archive holds one profile.
|
|
30905
|
+
* Empty on an `'unreadable'` row: nobody looked. */
|
|
30906
|
+
profilesWithFootage: array(string()).readonly()
|
|
30823
30907
|
});
|
|
30824
30908
|
/**
|
|
30825
30909
|
* One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
|
|
@@ -31119,7 +31203,14 @@ var recordingCapability = {
|
|
|
31119
31203
|
getAvailability: method(object({
|
|
31120
31204
|
deviceId: number(),
|
|
31121
31205
|
fromMs: number(),
|
|
31122
|
-
toMs: number()
|
|
31206
|
+
toMs: number(),
|
|
31207
|
+
/**
|
|
31208
|
+
* Answer for THIS profile instead of the preferred one (D433). Absent
|
|
31209
|
+
* keeps the timeline's behaviour — one bar, one profile, one set of
|
|
31210
|
+
* reads. `profilesWithFootage` on the answer says what may be asked
|
|
31211
|
+
* for.
|
|
31212
|
+
*/
|
|
31213
|
+
profile: string().optional()
|
|
31123
31214
|
}), RecordingAvailabilitySchema, {
|
|
31124
31215
|
kind: "query",
|
|
31125
31216
|
auth: "protected"
|
|
@@ -18695,6 +18695,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18695
18695
|
"addon-crash-loop",
|
|
18696
18696
|
"addon-update-available",
|
|
18697
18697
|
"server-update-available",
|
|
18698
|
+
"wrapper-update-available",
|
|
18698
18699
|
"alarm-triggered",
|
|
18699
18700
|
"alarm-armed",
|
|
18700
18701
|
"alarm-disarmed",
|
|
@@ -22284,7 +22285,17 @@ var EventDensityBucketSchema = object({
|
|
|
22284
22285
|
bucketStart: number(),
|
|
22285
22286
|
motion: number().int(),
|
|
22286
22287
|
object: number().int(),
|
|
22287
|
-
audio: number().int()
|
|
22288
|
+
audio: number().int(),
|
|
22289
|
+
/**
|
|
22290
|
+
* Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
|
|
22291
|
+
* as opposed to `audio`, which is their COUNT (D431).
|
|
22292
|
+
*
|
|
22293
|
+
* ABSENT when the bucket holds no audio event. Absence means "nothing was
|
|
22294
|
+
* measured", which is not the same claim as silence, and a lane that cannot
|
|
22295
|
+
* tell them apart paints a quiet hour at full scale — which is exactly what
|
|
22296
|
+
* the count-on-a-level-meter did.
|
|
22297
|
+
*/
|
|
22298
|
+
audioDbfs: number().optional()
|
|
22288
22299
|
});
|
|
22289
22300
|
/**
|
|
22290
22301
|
* One camera's row in a `getEventDensityBatch` answer.
|
|
@@ -24561,6 +24572,53 @@ var ImageContractSchema = object({
|
|
|
24561
24572
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
24562
24573
|
message: string()
|
|
24563
24574
|
});
|
|
24575
|
+
/**
|
|
24576
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
24577
|
+
* produced it.
|
|
24578
|
+
*
|
|
24579
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
24580
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
24581
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
24582
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
24583
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
24584
|
+
*/
|
|
24585
|
+
var WrapperIdentitySchema = object({
|
|
24586
|
+
kind: _enum([
|
|
24587
|
+
"docker",
|
|
24588
|
+
"electron",
|
|
24589
|
+
"native",
|
|
24590
|
+
"contradictory",
|
|
24591
|
+
"unknown"
|
|
24592
|
+
]),
|
|
24593
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
24594
|
+
evidence: array(object({
|
|
24595
|
+
/** Which probe this row reports. */
|
|
24596
|
+
fact: _enum([
|
|
24597
|
+
"dockerenv-file",
|
|
24598
|
+
"proc-1-cgroup",
|
|
24599
|
+
"platform",
|
|
24600
|
+
"electron-app-version-env"
|
|
24601
|
+
]),
|
|
24602
|
+
/**
|
|
24603
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
24604
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
24605
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
24606
|
+
*/
|
|
24607
|
+
mode: _enum(["observed", "declared"]),
|
|
24608
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
24609
|
+
holds: boolean(),
|
|
24610
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
24611
|
+
detail: string()
|
|
24612
|
+
})),
|
|
24613
|
+
/**
|
|
24614
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
24615
|
+
* Electron app version it declared, or the baked seed closure that
|
|
24616
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
24617
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
24618
|
+
* known there.
|
|
24619
|
+
*/
|
|
24620
|
+
currentVersion: string().nullable()
|
|
24621
|
+
});
|
|
24564
24622
|
var ServerRollbackInfoSchema = object({
|
|
24565
24623
|
/** The version that failed (or was manually rolled back). */
|
|
24566
24624
|
fromVersion: string(),
|
|
@@ -24602,7 +24660,13 @@ var ServerPackageStatusSchema = object({
|
|
|
24602
24660
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
24603
24661
|
* version skew: an older provider's payload simply omits it.
|
|
24604
24662
|
*/
|
|
24605
|
-
imageContract: ImageContractSchema.optional()
|
|
24663
|
+
imageContract: ImageContractSchema.optional(),
|
|
24664
|
+
/**
|
|
24665
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
24666
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
24667
|
+
* absent wrapper is unknown — never `native`.
|
|
24668
|
+
*/
|
|
24669
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
24606
24670
|
});
|
|
24607
24671
|
var ServerUpdateCheckResultSchema = object({
|
|
24608
24672
|
packageName: string(),
|
|
@@ -30816,7 +30880,23 @@ var RecordingRangeSchema = object({
|
|
|
30816
30880
|
});
|
|
30817
30881
|
var RecordingAvailabilitySchema = object({
|
|
30818
30882
|
deviceId: number(),
|
|
30819
|
-
ranges: array(RecordingRangeSchema)
|
|
30883
|
+
ranges: array(RecordingRangeSchema),
|
|
30884
|
+
/**
|
|
30885
|
+
* Every profile this camera has footage in — not only the one `ranges`
|
|
30886
|
+
* describes (D433).
|
|
30887
|
+
*
|
|
30888
|
+
* `ranges` answers for ONE profile by design: the timeline is a single bar,
|
|
30889
|
+
* and enumerating all of them triples the directory reads for a bar that
|
|
30890
|
+
* would look identical. But the answer used to say nothing about that, so a
|
|
30891
|
+
* caller asking "what can I export?" read the single preferred profile as
|
|
30892
|
+
* the only one that exists — on this deployment every camera records `high`
|
|
30893
|
+
* AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
|
|
30894
|
+
* UI could not see it.
|
|
30895
|
+
*
|
|
30896
|
+
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
30897
|
+
* makes. Ask for a specific profile's ranges with the `profile` input.
|
|
30898
|
+
*/
|
|
30899
|
+
profilesWithFootage: array(string())
|
|
30820
30900
|
});
|
|
30821
30901
|
var RecordingDaysSchema = object({
|
|
30822
30902
|
deviceId: number(),
|
|
@@ -30842,7 +30922,11 @@ var RecordingDaysSchema = object({
|
|
|
30842
30922
|
var RecordingAvailabilityForDeviceSchema = object({
|
|
30843
30923
|
deviceId: number(),
|
|
30844
30924
|
read: _enum(["read", "unreadable"]),
|
|
30845
|
-
ranges: array(RecordingRangeSchema).readonly()
|
|
30925
|
+
ranges: array(RecordingRangeSchema).readonly(),
|
|
30926
|
+
/** Same field, same meaning, as the singular answer (D433). A row that
|
|
30927
|
+
* dropped it would tell a grid caller the archive holds one profile.
|
|
30928
|
+
* Empty on an `'unreadable'` row: nobody looked. */
|
|
30929
|
+
profilesWithFootage: array(string()).readonly()
|
|
30846
30930
|
});
|
|
30847
30931
|
/**
|
|
30848
30932
|
* One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
|
|
@@ -31142,7 +31226,14 @@ var recordingCapability = {
|
|
|
31142
31226
|
getAvailability: method(object({
|
|
31143
31227
|
deviceId: number(),
|
|
31144
31228
|
fromMs: number(),
|
|
31145
|
-
toMs: number()
|
|
31229
|
+
toMs: number(),
|
|
31230
|
+
/**
|
|
31231
|
+
* Answer for THIS profile instead of the preferred one (D433). Absent
|
|
31232
|
+
* keeps the timeline's behaviour — one bar, one profile, one set of
|
|
31233
|
+
* reads. `profilesWithFootage` on the answer says what may be asked
|
|
31234
|
+
* for.
|
|
31235
|
+
*/
|
|
31236
|
+
profile: string().optional()
|
|
31146
31237
|
}), RecordingAvailabilitySchema, {
|
|
31147
31238
|
kind: "query",
|
|
31148
31239
|
auth: "protected"
|
|
@@ -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-wtNhtVVo.js");
|
|
6
|
+
const require_lazy_sharp = require("../lazy-sharp-zoQ07I43.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
//#region src/motion-wasm/region-grouping.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Jt as hydrateSchema, Kt as DeviceType, Ut as BaseAddon, X as evaluateZoneRules, ft as motionDetectionCapability } from "../dist-
|
|
1
|
+
import { Jt as hydrateSchema, Kt as DeviceType, Ut as BaseAddon, X as evaluateZoneRules, ft as motionDetectionCapability } from "../dist-CKK0CBUW.mjs";
|
|
2
2
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { join } from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { It as errMsg, Rt as Fmp4BoxSplitter, Vt as isSoftwareDecode, zt as buildFfmpegArgs } from "./dist-
|
|
1
|
+
import { It as errMsg, Rt as Fmp4BoxSplitter, Vt as isSoftwareDecode, zt as buildFfmpegArgs } from "./dist-CKK0CBUW.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { realpathSync } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -2,12 +2,12 @@ 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_node = require("../node-
|
|
7
|
-
const require_default_detection_model = require("../default-detection-model-
|
|
8
|
-
const require_worker_protocol = require("../worker-protocol-
|
|
5
|
+
const require_dist = require("../dist-wtNhtVVo.js");
|
|
6
|
+
const require_node = require("../node-BduNi21Z.js");
|
|
7
|
+
const require_default_detection_model = require("../default-detection-model-d7-Q_LMo.js");
|
|
8
|
+
const require_worker_protocol = require("../worker-protocol-iWTFnnUM.js");
|
|
9
9
|
const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
|
|
10
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
10
|
+
const require_lazy_sharp = require("../lazy-sharp-zoQ07I43.js");
|
|
11
11
|
const require_restream_intent = require("../restream-intent-B1Difcnq.js");
|
|
12
12
|
const require_remote_restream = require("../remote-restream-CO36Sr30.js");
|
|
13
13
|
let node_os = require("node:os");
|
|
@@ -9868,7 +9868,13 @@ var PipelineRunnerAddon = class PipelineRunnerAddon extends require_dist.BaseAdd
|
|
|
9868
9868
|
recipe,
|
|
9869
9869
|
ms: Date.now() - started,
|
|
9870
9870
|
now,
|
|
9871
|
-
classes: fused.slice(result.detections.length).map((d) => `${d.macroClass}:${d.score.toFixed(3)}`)
|
|
9871
|
+
classes: fused.slice(result.detections.length).map((d) => `${d.macroClass}:${d.score.toFixed(3)}`),
|
|
9872
|
+
boxes: fused.slice(result.detections.length).map((d) => ({
|
|
9873
|
+
x: Math.round(d.bbox.x),
|
|
9874
|
+
y: Math.round(d.bbox.y),
|
|
9875
|
+
w: Math.round(d.bbox.width),
|
|
9876
|
+
h: Math.round(d.bbox.height)
|
|
9877
|
+
}))
|
|
9872
9878
|
});
|
|
9873
9879
|
return added > 0 ? {
|
|
9874
9880
|
...result,
|
|
@@ -9958,6 +9964,7 @@ var PipelineRunnerAddon = class PipelineRunnerAddon extends require_dist.BaseAdd
|
|
|
9958
9964
|
crops: sample.crops,
|
|
9959
9965
|
recovered: sample.recovered,
|
|
9960
9966
|
classes: sample.classes,
|
|
9967
|
+
boxes: sample.boxes,
|
|
9961
9968
|
ms: sample.ms
|
|
9962
9969
|
}
|
|
9963
9970
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as failureContributionCapability, It as errMsg, Qt as nodePin, R as customAction, U as deriveDetailCropRect, Ut as BaseAddon, V as defineCustomActions, _ as FailureCounters, _t as pickDetailCropConvention, an as boolean, bt as pipelineRunnerCapability, cn as literal, hn as EventCategory, in as array, it as loadContributionCapability, ln as number, m as DEVICE_BACKEND_TO_FORMAT, p as DEFAULT_NATIVE_LEASE_SETTINGS, pn as string, qt as createEvent, rn as _enum, sn as lazy, u as DEFAULT_DETAIL_CROP_CONVENTION, un as object, vt as pickNativeLeaseOverride } from "../dist-
|
|
2
|
-
import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-
|
|
3
|
-
import { i as resolveFrameViewGeometry, l as getStepDefinition, r as localFrameRegistry } from "../default-detection-model-
|
|
4
|
-
import { a as nativeLeaseSettingEnv, t as isWorkerReply } from "../worker-protocol-
|
|
1
|
+
import { $ as failureContributionCapability, It as errMsg, Qt as nodePin, R as customAction, U as deriveDetailCropRect, Ut as BaseAddon, V as defineCustomActions, _ as FailureCounters, _t as pickDetailCropConvention, an as boolean, bt as pipelineRunnerCapability, cn as literal, hn as EventCategory, in as array, it as loadContributionCapability, ln as number, m as DEVICE_BACKEND_TO_FORMAT, p as DEFAULT_NATIVE_LEASE_SETTINGS, pn as string, qt as createEvent, rn as _enum, sn as lazy, u as DEFAULT_DETAIL_CROP_CONVENTION, un as object, vt as pickNativeLeaseOverride } from "../dist-CKK0CBUW.mjs";
|
|
2
|
+
import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-CrNBWFbA.mjs";
|
|
3
|
+
import { i as resolveFrameViewGeometry, l as getStepDefinition, r as localFrameRegistry } from "../default-detection-model-Dsk1a5pY.mjs";
|
|
4
|
+
import { a as nativeLeaseSettingEnv, t as isWorkerReply } from "../worker-protocol-Cx3Nqreq.mjs";
|
|
5
5
|
import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
|
|
6
6
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
7
7
|
import { a as preRollRequestOf, o as withDetectionIntent, t as DETECTION_PRE_ROLL_REQUEST_MS } from "../restream-intent-DWe2kInY.mjs";
|
|
@@ -9861,7 +9861,13 @@ var PipelineRunnerAddon = class PipelineRunnerAddon extends BaseAddon {
|
|
|
9861
9861
|
recipe,
|
|
9862
9862
|
ms: Date.now() - started,
|
|
9863
9863
|
now,
|
|
9864
|
-
classes: fused.slice(result.detections.length).map((d) => `${d.macroClass}:${d.score.toFixed(3)}`)
|
|
9864
|
+
classes: fused.slice(result.detections.length).map((d) => `${d.macroClass}:${d.score.toFixed(3)}`),
|
|
9865
|
+
boxes: fused.slice(result.detections.length).map((d) => ({
|
|
9866
|
+
x: Math.round(d.bbox.x),
|
|
9867
|
+
y: Math.round(d.bbox.y),
|
|
9868
|
+
w: Math.round(d.bbox.width),
|
|
9869
|
+
h: Math.round(d.bbox.height)
|
|
9870
|
+
}))
|
|
9865
9871
|
});
|
|
9866
9872
|
return added > 0 ? {
|
|
9867
9873
|
...result,
|
|
@@ -9951,6 +9957,7 @@ var PipelineRunnerAddon = class PipelineRunnerAddon extends BaseAddon {
|
|
|
9951
9957
|
crops: sample.crops,
|
|
9952
9958
|
recovered: sample.recovered,
|
|
9953
9959
|
classes: sample.classes,
|
|
9960
|
+
boxes: sample.boxes,
|
|
9954
9961
|
ms: sample.ms
|
|
9955
9962
|
}
|
|
9956
9963
|
});
|