@camstack/addon-pipeline 1.2.371 → 1.2.373
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 +3 -3
- package/dist/audio-analyzer/index.mjs +3 -3
- package/dist/{custom-model-catalog-n9v8MUL6.js → custom-model-catalog-M-ECFeNJ.js} +2 -2
- package/dist/{custom-model-catalog-C6C2cSwd.mjs → custom-model-catalog-UaaDgBow.mjs} +2 -2
- package/dist/detection-pipeline/index.js +4 -4
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-8AEiKOFO.mjs → dist-BT3uSeR7.mjs} +25 -5
- package/dist/{dist-DmuX7IFJ.js → dist-QBVFmPYQ.js} +25 -5
- package/dist/{model-catalogs-DO4aA1qo.js → model-catalogs-C42Mo0jo.js} +1 -1
- package/dist/{model-catalogs-BSWAHZJh.mjs → model-catalogs-ChW0i2P6.mjs} +1 -1
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-DqA6nD1z.js → node-B6ev-Hqa.js} +1 -1
- package/dist/{node-Bd4va7c-.mjs → node-BVRFl1hZ.mjs} +1 -1
- package/dist/pipeline-runner/index.js +3 -3
- package/dist/pipeline-runner/index.mjs +3 -3
- package/dist/{process-memory-2OQ2oxrz.js → process-memory-Cdf2A2qg.js} +1 -1
- package/dist/{process-memory-BvS2Z88w.mjs → process-memory-DdeedEgU.mjs} +1 -1
- package/dist/recorder/index.js +26 -5
- package/dist/recorder/index.mjs +26 -5
- package/dist/{segment-demux-js-By9MLn_g.mjs → segment-demux-js-8CfbEFeD.mjs} +1 -1
- package/dist/{segment-demux-js-BkGK1rhu.js → segment-demux-js-Dp0OI-2n.js} +1 -1
- package/dist/stream-broker/_stub.js +1 -1
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DjoAY42S.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Dl3wrJnM.mjs} +2 -2
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-nua-KuDg.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BFRtKBOe.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-DPiGNc5u.mjs → hostInit-Bq36nWMP.mjs} +2 -2
- package/dist/stream-broker/index.js +407 -72
- package/dist/stream-broker/index.mjs +407 -72
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
7
|
-
const require_model_catalogs = require("../model-catalogs-
|
|
8
|
-
const require_process_memory = require("../process-memory-
|
|
6
|
+
const require_dist = require("../dist-QBVFmPYQ.js");
|
|
7
|
+
const require_model_catalogs = require("../model-catalogs-C42Mo0jo.js");
|
|
8
|
+
const require_process_memory = require("../process-memory-Cdf2A2qg.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");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { $ as audioAnalyzerCapability, An as errMsg, F as PoolMemoryWatchdog, Jn as nodePin, Ln as audioChunkBytesPerSample, Lt as mapAudioLabelToMacro, Mn as BaseAddon, Q as audioAnalysisCapability, Un as hydrateSchema, Vn as expandAudioChunkToF32le, cn as resolvePoolMemoryPolicy, dr as EventCategory, h as DEFAULT_AUDIO_ANALYZER_CONFIG, r as AUDIO_BACKEND_CHOICES } from "../dist-
|
|
3
|
-
import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-
|
|
4
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
2
|
+
import { $ as audioAnalyzerCapability, An as errMsg, F as PoolMemoryWatchdog, Jn as nodePin, Ln as audioChunkBytesPerSample, Lt as mapAudioLabelToMacro, Mn as BaseAddon, Q as audioAnalysisCapability, Un as hydrateSchema, Vn as expandAudioChunkToF32le, cn as resolvePoolMemoryPolicy, dr as EventCategory, h as DEFAULT_AUDIO_ANALYZER_CONFIG, r as AUDIO_BACKEND_CHOICES } from "../dist-BT3uSeR7.mjs";
|
|
3
|
+
import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-ChW0i2P6.mjs";
|
|
4
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-DdeedEgU.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_dist = require("./dist-
|
|
2
|
-
const require_model_catalogs = require("./model-catalogs-
|
|
1
|
+
const require_dist = require("./dist-QBVFmPYQ.js");
|
|
2
|
+
const require_model_catalogs = require("./model-catalogs-C42Mo0jo.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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as DEVICE_BACKEND_TO_FORMAT, et as audioKindId, f as COCO_80_LABELS, i as AUDIO_MACRO_LABELS, jt as inferModelProvider, k as LABEL_SUPPLY_VOCABULARIES, p as COCO_TO_MACRO, pn as stepModelRunsOnFormat } from "./dist-
|
|
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-
|
|
1
|
+
import { b as DEVICE_BACKEND_TO_FORMAT, et as audioKindId, f as COCO_80_LABELS, i as AUDIO_MACRO_LABELS, jt as inferModelProvider, k as LABEL_SUPPLY_VOCABULARIES, p as COCO_TO_MACRO, pn as stepModelRunsOnFormat } from "./dist-BT3uSeR7.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-ChW0i2P6.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
|
|
@@ -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-
|
|
7
|
-
const require_node = require("../node-
|
|
8
|
-
const require_custom_model_catalog = require("../custom-model-catalog-
|
|
6
|
+
const require_dist = require("../dist-QBVFmPYQ.js");
|
|
7
|
+
const require_node = require("../node-B6ev-Hqa.js");
|
|
8
|
+
const require_custom_model_catalog = require("../custom-model-catalog-M-ECFeNJ.js");
|
|
9
9
|
const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
|
|
10
|
-
const require_process_memory = require("../process-memory-
|
|
10
|
+
const require_process_memory = require("../process-memory-Cdf2A2qg.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 { An as errMsg$1, F as PoolMemoryWatchdog, Ft as loadContributionCapability, Gt as overlayClusterStepSettings, Hn as hfModelUrl, Jn as nodePin, Mn as BaseAddon, Nt as linkedLabelStepId, O as LABEL_SUPPLY_MACRO, Rn as createEvent, St as evaluateZoneRules, Un as hydrateSchema, Ut as modelBindingKey, X as applyModelBoundSettings, Xt as pipelineExecutorCapability, Zn as sleep, _t as detectionPipelineCapability, cn as resolvePoolMemoryPolicy, ct as containingParentIndex, d as CLUSTER_MODEL_SCOPED_STEPS, dn as rootSuppliesOf, dr as EventCategory, er as array, fn as runtimeDevices$1, ft as defaultDeviceFor$1, g as DEFAULT_CLUSTER_STEP_SETTINGS, lr as string, n as APPLE_SA_TO_MACRO, or as object, pn as stepModelRunsOnFormat, q as YAMNET_TO_MACRO, qt as pickClusterStepSettings, rn as resolveClusterStepModelId, st as collectModelBoundKeys, ur as union, vn as supportedRuntimes$1, xt as enumerateInferenceDevices } from "../dist-
|
|
3
|
-
import { s as readProcessCost } from "../node-
|
|
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-
|
|
2
|
+
import { An as errMsg$1, F as PoolMemoryWatchdog, Ft as loadContributionCapability, Gt as overlayClusterStepSettings, Hn as hfModelUrl, Jn as nodePin, Mn as BaseAddon, Nt as linkedLabelStepId, O as LABEL_SUPPLY_MACRO, Rn as createEvent, St as evaluateZoneRules, Un as hydrateSchema, Ut as modelBindingKey, X as applyModelBoundSettings, Xt as pipelineExecutorCapability, Zn as sleep, _t as detectionPipelineCapability, cn as resolvePoolMemoryPolicy, ct as containingParentIndex, d as CLUSTER_MODEL_SCOPED_STEPS, dn as rootSuppliesOf, dr as EventCategory, er as array, fn as runtimeDevices$1, ft as defaultDeviceFor$1, g as DEFAULT_CLUSTER_STEP_SETTINGS, lr as string, n as APPLE_SA_TO_MACRO, or as object, pn as stepModelRunsOnFormat, q as YAMNET_TO_MACRO, qt as pickClusterStepSettings, rn as resolveClusterStepModelId, st as collectModelBoundKeys, ur as union, vn as supportedRuntimes$1, xt as enumerateInferenceDevices } from "../dist-BT3uSeR7.mjs";
|
|
3
|
+
import { s as readProcessCost } from "../node-BVRFl1hZ.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-UaaDgBow.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-DdeedEgU.mjs";
|
|
7
7
|
import * as os$1 from "node:os";
|
|
8
8
|
import * as fs from "node:fs";
|
|
9
9
|
import * as path$1 from "node:path";
|
|
@@ -13923,11 +13923,10 @@ var ClipModelMetaSchema = object({
|
|
|
13923
13923
|
/**
|
|
13924
13924
|
* The `vector-store` index this model's vectors live in. ONE feature space
|
|
13925
13925
|
* per index: two models share an index only when their vectors are ranked
|
|
13926
|
-
* against each other, which for CLIP means never across families.
|
|
13927
|
-
*
|
|
13928
|
-
* `modelId`); any other model gets its own.
|
|
13926
|
+
* against each other, which for CLIP means never across families. Every
|
|
13927
|
+
* model gets its own.
|
|
13929
13928
|
*/
|
|
13930
|
-
vectorIndex: string().regex(/^object-clip
|
|
13929
|
+
vectorIndex: string().regex(/^object-clip-[a-z0-9][a-z0-9-]*$/),
|
|
13931
13930
|
/**
|
|
13932
13931
|
* The text encoder's tokenizer, a declared SIBLING file of its onnx. The name
|
|
13933
13932
|
* must be unique per tokenizer: every model's siblings land in ONE flat
|
|
@@ -59016,7 +59015,19 @@ var TlsStatusSchema = object({
|
|
|
59016
59015
|
sans: array(string()),
|
|
59017
59016
|
caCertPem: string().nullable(),
|
|
59018
59017
|
reissueError: string().nullable(),
|
|
59019
|
-
restartRequired: boolean()
|
|
59018
|
+
restartRequired: boolean(),
|
|
59019
|
+
/** An uploaded certificate is served but no CA is kept for it and it is not publicly signed (D873). */
|
|
59020
|
+
caMissing: boolean(),
|
|
59021
|
+
/** Does the hub's own generated CA carry a critical name constraint? `null` while it has none. */
|
|
59022
|
+
localCaConstrained: boolean().nullable(),
|
|
59023
|
+
/** ISO time the generated CA was replaced by a constrained one; devices must re-download it. */
|
|
59024
|
+
caReplacedAt: string().nullable(),
|
|
59025
|
+
/** The uploaded certificate kept on disk, selectable again after "Revert to generated". */
|
|
59026
|
+
storedUpload: object({
|
|
59027
|
+
leafFingerprintSha256: string(),
|
|
59028
|
+
validTo: string(),
|
|
59029
|
+
hasCa: boolean()
|
|
59030
|
+
}).nullable()
|
|
59020
59031
|
});
|
|
59021
59032
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
59022
59033
|
/**
|
|
@@ -59072,6 +59083,9 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
59072
59083
|
}), method(_void(), object({ pem: string() })), method(_void(), TlsStatusSchema, {
|
|
59073
59084
|
kind: "mutation",
|
|
59074
59085
|
auth: "admin"
|
|
59086
|
+
}), method(_void(), TlsStatusSchema, {
|
|
59087
|
+
kind: "mutation",
|
|
59088
|
+
auth: "admin"
|
|
59075
59089
|
});
|
|
59076
59090
|
object({
|
|
59077
59091
|
/** Lifecycle state of the lock. `jammed` means the motor reported
|
|
@@ -69026,6 +69040,12 @@ Object.freeze({
|
|
|
69026
69040
|
addonId: null,
|
|
69027
69041
|
access: "create"
|
|
69028
69042
|
},
|
|
69043
|
+
"localNetwork.useStoredUploadedCertificate": {
|
|
69044
|
+
capName: "local-network",
|
|
69045
|
+
capScope: "system",
|
|
69046
|
+
addonId: null,
|
|
69047
|
+
access: "create"
|
|
69048
|
+
},
|
|
69029
69049
|
"lockControl.getStatus": {
|
|
69030
69050
|
capName: "lock-control",
|
|
69031
69051
|
capScope: "device",
|
|
@@ -13923,11 +13923,10 @@ var ClipModelMetaSchema = object({
|
|
|
13923
13923
|
/**
|
|
13924
13924
|
* The `vector-store` index this model's vectors live in. ONE feature space
|
|
13925
13925
|
* per index: two models share an index only when their vectors are ranked
|
|
13926
|
-
* against each other, which for CLIP means never across families.
|
|
13927
|
-
*
|
|
13928
|
-
* `modelId`); any other model gets its own.
|
|
13926
|
+
* against each other, which for CLIP means never across families. Every
|
|
13927
|
+
* model gets its own.
|
|
13929
13928
|
*/
|
|
13930
|
-
vectorIndex: string().regex(/^object-clip
|
|
13929
|
+
vectorIndex: string().regex(/^object-clip-[a-z0-9][a-z0-9-]*$/),
|
|
13931
13930
|
/**
|
|
13932
13931
|
* The text encoder's tokenizer, a declared SIBLING file of its onnx. The name
|
|
13933
13932
|
* must be unique per tokenizer: every model's siblings land in ONE flat
|
|
@@ -59016,7 +59015,19 @@ var TlsStatusSchema = object({
|
|
|
59016
59015
|
sans: array(string()),
|
|
59017
59016
|
caCertPem: string().nullable(),
|
|
59018
59017
|
reissueError: string().nullable(),
|
|
59019
|
-
restartRequired: boolean()
|
|
59018
|
+
restartRequired: boolean(),
|
|
59019
|
+
/** An uploaded certificate is served but no CA is kept for it and it is not publicly signed (D873). */
|
|
59020
|
+
caMissing: boolean(),
|
|
59021
|
+
/** Does the hub's own generated CA carry a critical name constraint? `null` while it has none. */
|
|
59022
|
+
localCaConstrained: boolean().nullable(),
|
|
59023
|
+
/** ISO time the generated CA was replaced by a constrained one; devices must re-download it. */
|
|
59024
|
+
caReplacedAt: string().nullable(),
|
|
59025
|
+
/** The uploaded certificate kept on disk, selectable again after "Revert to generated". */
|
|
59026
|
+
storedUpload: object({
|
|
59027
|
+
leafFingerprintSha256: string(),
|
|
59028
|
+
validTo: string(),
|
|
59029
|
+
hasCa: boolean()
|
|
59030
|
+
}).nullable()
|
|
59020
59031
|
});
|
|
59021
59032
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
59022
59033
|
/**
|
|
@@ -59072,6 +59083,9 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
59072
59083
|
}), method(_void(), object({ pem: string() })), method(_void(), TlsStatusSchema, {
|
|
59073
59084
|
kind: "mutation",
|
|
59074
59085
|
auth: "admin"
|
|
59086
|
+
}), method(_void(), TlsStatusSchema, {
|
|
59087
|
+
kind: "mutation",
|
|
59088
|
+
auth: "admin"
|
|
59075
59089
|
});
|
|
59076
59090
|
object({
|
|
59077
59091
|
/** Lifecycle state of the lock. `jammed` means the motor reported
|
|
@@ -69026,6 +69040,12 @@ Object.freeze({
|
|
|
69026
69040
|
addonId: null,
|
|
69027
69041
|
access: "create"
|
|
69028
69042
|
},
|
|
69043
|
+
"localNetwork.useStoredUploadedCertificate": {
|
|
69044
|
+
capName: "local-network",
|
|
69045
|
+
capScope: "system",
|
|
69046
|
+
addonId: null,
|
|
69047
|
+
access: "create"
|
|
69048
|
+
},
|
|
69029
69049
|
"lockControl.getStatus": {
|
|
69030
69050
|
capName: "lock-control",
|
|
69031
69051
|
capScope: "device",
|
|
@@ -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-
|
|
5
|
+
const require_dist = require("../dist-QBVFmPYQ.js");
|
|
6
6
|
const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Mn as BaseAddon, St as evaluateZoneRules, Un as hydrateSchema, Wt as motionDetectionCapability, kn as DeviceType } from "../dist-
|
|
1
|
+
import { Mn as BaseAddon, St as evaluateZoneRules, Un as hydrateSchema, Wt as motionDetectionCapability, kn as DeviceType } from "../dist-BT3uSeR7.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 { An as errMsg, Cn as Fmp4BoxSplitter, Dn as isSoftwareDecode, wn as buildFfmpegArgs } from "./dist-
|
|
1
|
+
import { An as errMsg, Cn as Fmp4BoxSplitter, Dn as isSoftwareDecode, wn as buildFfmpegArgs } from "./dist-BT3uSeR7.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { realpathSync } from "node:fs";
|
|
4
4
|
import path 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-
|
|
7
|
-
const require_node = require("../node-
|
|
8
|
-
const require_custom_model_catalog = require("../custom-model-catalog-
|
|
6
|
+
const require_dist = require("../dist-QBVFmPYQ.js");
|
|
7
|
+
const require_node = require("../node-B6ev-Hqa.js");
|
|
8
|
+
const require_custom_model_catalog = require("../custom-model-catalog-M-ECFeNJ.js");
|
|
9
9
|
const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
|
|
10
10
|
const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
|
|
11
11
|
const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $n as _enum, A as NativeLeaseAdmissionSchema, An as errMsg, Bn as defineCustomActions, E as FailureCounters, Et as failureContributionCapability, Ft as loadContributionCapability, In as MODEL_FORMATS, Jn as nodePin, Jt as pickDetailCropConvention, M as NodeBenchRunnerInputSchema, Mn as BaseAddon, P as PIPELINE_RAMP, Pt as linkedStepOf, Rn as createEvent, V as ROOT_SUPPLIABLE_STEP_IDS, Y as allowedSuppliedEffect, Yt as pickNativeLeaseOverride, Zt as pipelineRunnerCapability, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, ar as number, dn as rootSuppliesOf, dr as EventCategory, er as array, gt as deriveRootFaceRefineRect, ir as literal, j as NativeLeaseSettingsSchema, lr as string, m as CROP_SUPPLY_SOURCES, mt as deriveDetailCropRect, nt as buildBenchStepTree, or as object, rr as lazy, rt as cameraOwnsMotionViaSensor, sn as resolveModelBoundSetting, tr as boolean, un as resolveRootSupply, x as DEVICE_RAMP, y as DEFAULT_NATIVE_LEASE_SETTINGS, zn as customAction } from "../dist-
|
|
2
|
-
import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-
|
|
3
|
-
import { a as stepsForElectedPool, b as getStepDefinition, d as rootObjectGate, f as localFrameRegistry, h as resolveFrameViewGeometry, i as placeDetailStep, l as resolveDefaultDetectionModel, m as createSessionDecodeCoordinator, p as isSessionDecodeReadGone, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, y as getStep } from "../custom-model-catalog-
|
|
1
|
+
import { $n as _enum, A as NativeLeaseAdmissionSchema, An as errMsg, Bn as defineCustomActions, E as FailureCounters, Et as failureContributionCapability, Ft as loadContributionCapability, In as MODEL_FORMATS, Jn as nodePin, Jt as pickDetailCropConvention, M as NodeBenchRunnerInputSchema, Mn as BaseAddon, P as PIPELINE_RAMP, Pt as linkedStepOf, Rn as createEvent, V as ROOT_SUPPLIABLE_STEP_IDS, Y as allowedSuppliedEffect, Yt as pickNativeLeaseOverride, Zt as pipelineRunnerCapability, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, ar as number, dn as rootSuppliesOf, dr as EventCategory, er as array, gt as deriveRootFaceRefineRect, ir as literal, j as NativeLeaseSettingsSchema, lr as string, m as CROP_SUPPLY_SOURCES, mt as deriveDetailCropRect, nt as buildBenchStepTree, or as object, rr as lazy, rt as cameraOwnsMotionViaSensor, sn as resolveModelBoundSetting, tr as boolean, un as resolveRootSupply, x as DEVICE_RAMP, y as DEFAULT_NATIVE_LEASE_SETTINGS, zn as customAction } from "../dist-BT3uSeR7.mjs";
|
|
2
|
+
import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-BVRFl1hZ.mjs";
|
|
3
|
+
import { a as stepsForElectedPool, b as getStepDefinition, d as rootObjectGate, f as localFrameRegistry, h as resolveFrameViewGeometry, i as placeDetailStep, l as resolveDefaultDetectionModel, m as createSessionDecodeCoordinator, p as isSessionDecodeReadGone, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, y as getStep } from "../custom-model-catalog-UaaDgBow.mjs";
|
|
4
4
|
import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
|
|
5
5
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
6
6
|
import { c as withDetectionIntent, o as preRollRequestOf, t as DETECTION_PRE_ROLL_REQUEST_MS } from "../restream-intent-DyGmLAU9.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-emK7D4bc.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-QBVFmPYQ.js");
|
|
3
3
|
let node_fs = require("node:fs");
|
|
4
4
|
node_fs = require_chunk.__toESM(node_fs);
|
|
5
5
|
let node_child_process = require("node:child_process");
|
package/dist/recorder/index.js
CHANGED
|
@@ -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-
|
|
7
|
-
const require_node = require("../node-
|
|
6
|
+
const require_dist = require("../dist-QBVFmPYQ.js");
|
|
7
|
+
const require_node = require("../node-B6ev-Hqa.js");
|
|
8
8
|
const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
|
|
9
9
|
const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
|
|
10
10
|
const require_retire_root_keys = require("../retire-root-keys-Csb8z2f3.js");
|
|
@@ -5055,8 +5055,9 @@ var DeviceSettingsConfigsState = class {
|
|
|
5055
5055
|
async readAllRaw() {
|
|
5056
5056
|
const out = /* @__PURE__ */ new Map();
|
|
5057
5057
|
const list = this.deps.settings.listDeviceStoreIds;
|
|
5058
|
-
|
|
5059
|
-
|
|
5058
|
+
const fallback = this.deps.listDeviceIds;
|
|
5059
|
+
if (list === void 0 && fallback === void 0) throw new Error("the per-device settings cannot list their devices on this view");
|
|
5060
|
+
const ids = list !== void 0 ? await list.call(this.deps.settings) : fallback !== void 0 ? await fallback() : [];
|
|
5060
5061
|
const batch = this.deps.settings.readDeviceStoreBatch;
|
|
5061
5062
|
const blobs = batch === void 0 ? new Map(await Promise.all(ids.map(async (id) => [id, await this.deps.settings.readDeviceStore(id)]))) : await batch.call(this.deps.settings, ids);
|
|
5062
5063
|
for (const [id, blob] of blobs) {
|
|
@@ -11739,6 +11740,22 @@ var DurableLedger = class DurableLedger {
|
|
|
11739
11740
|
}
|
|
11740
11741
|
}
|
|
11741
11742
|
/**
|
|
11743
|
+
* Drop every MIRRORED row about `deviceId` (per the spec's `deviceIdOf`),
|
|
11744
|
+
* leaving the durable rows to the caller's `deleteWhere` (D871). Returns how
|
|
11745
|
+
* many mirror entries went; a spec without `deviceIdOf` evicts nothing.
|
|
11746
|
+
*/
|
|
11747
|
+
evictDevice(deviceId) {
|
|
11748
|
+
const of = this.spec.deviceIdOf;
|
|
11749
|
+
if (of === void 0) return 0;
|
|
11750
|
+
let evicted = 0;
|
|
11751
|
+
for (const [key, row] of [...this.mirror.entries()]) {
|
|
11752
|
+
if (of(row) !== deviceId) continue;
|
|
11753
|
+
this.mirror.delete(key);
|
|
11754
|
+
evicted += 1;
|
|
11755
|
+
}
|
|
11756
|
+
return evicted;
|
|
11757
|
+
}
|
|
11758
|
+
/**
|
|
11742
11759
|
* Drop every mirrored key NOT in `activeKeys`. Returns how many rows went.
|
|
11743
11760
|
*
|
|
11744
11761
|
* **The caller must hold an AUTHORITATIVE active set.** A prune driven by a
|
|
@@ -25274,7 +25291,11 @@ var RecorderV2Addon = class extends require_dist.BaseAddon {
|
|
|
25274
25291
|
if (settings === void 0) throw new Error("recorder: device settings are not available");
|
|
25275
25292
|
this.configsState ??= recordingConfigsState({
|
|
25276
25293
|
settings,
|
|
25277
|
-
logger: this.ctx.logger
|
|
25294
|
+
logger: this.ctx.logger,
|
|
25295
|
+
listDeviceIds: async () => (await this.ctx.api.deviceManager.listAll.query({
|
|
25296
|
+
isCamera: true,
|
|
25297
|
+
projection: "slim"
|
|
25298
|
+
})).map((device) => device.id)
|
|
25278
25299
|
});
|
|
25279
25300
|
return this.configsState;
|
|
25280
25301
|
}
|
package/dist/recorder/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $n as _enum, $t as recordingArchiveCapability, An as errMsg$1, B as RECORDING_SOURCE_CAMSTACK_ADDON, Bn as defineCustomActions, Bt as memoizePinnedFfmpeg, C as EVENT_PAD_MS, Ct as evictionPolicyForMode, Ft as loadContributionCapability, G as VIDEOCLIPS_MAX_OFFER_BYTES, H as RecordingConfigSchema, Ht as modeMayWrite, Jn as nodePin, K as VISIT_MERGE_GAP_MS, Mn as BaseAddon, Mt as isFirstLevelMacroClass, N as OpsLogEntrySchema, On as DeviceFeature, Ot as gbToBytes, Qn as userError, R as RECORDING_EXPORT_MAX_READ_BYTES, Rt as mayReadLocation, S as EVENT_OWNER_TYPES, T as ExportRecordSchema, Tn as evaluateSensorEdge, Tt as exportSubjectOf, U as RecordingSignalStatusSchema, Un as hydrateSchema, Vt as migrateLegacyDeviceSignalConfig, Xn as selectAssignedProfileSlots, Z as armRemovalReconcile, Zn as sleep$1, _n as stripRetiredBandPreBufferSec, ar as number, at as clipExportFailure, cr as record, dr as EventCategory, en as recordingCapability, er as array, hn as storageOccupancyCapability, ht as deriveRecordingMode, in as resolveCreateExportSubject, kn as DeviceType, ln as resolveRecordingProfiles, lr as string, mn as storageEvictableCapability, nn as recordingSignalCapability, o as BatteryStatusSchema, on as resolveLocationMode, or as object, ot as clipExportFailureOf, pt as deriveBatteryPresence, s as CLIP_BROKER_PACED_RATES, sr as preprocess, tn as recordingExportCapability, tr as boolean, tt as batteryCapability, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vt as deviceRemovalHookCapability, wt as evictionPolicyOfLocation, yn as videoclipsCapability, z as RECORDING_SOURCE_CAMSTACK, zn as customAction, zt as mayWriteToLocation } from "../dist-
|
|
2
|
-
import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-
|
|
1
|
+
import { $n as _enum, $t as recordingArchiveCapability, An as errMsg$1, B as RECORDING_SOURCE_CAMSTACK_ADDON, Bn as defineCustomActions, Bt as memoizePinnedFfmpeg, C as EVENT_PAD_MS, Ct as evictionPolicyForMode, Ft as loadContributionCapability, G as VIDEOCLIPS_MAX_OFFER_BYTES, H as RecordingConfigSchema, Ht as modeMayWrite, Jn as nodePin, K as VISIT_MERGE_GAP_MS, Mn as BaseAddon, Mt as isFirstLevelMacroClass, N as OpsLogEntrySchema, On as DeviceFeature, Ot as gbToBytes, Qn as userError, R as RECORDING_EXPORT_MAX_READ_BYTES, Rt as mayReadLocation, S as EVENT_OWNER_TYPES, T as ExportRecordSchema, Tn as evaluateSensorEdge, Tt as exportSubjectOf, U as RecordingSignalStatusSchema, Un as hydrateSchema, Vt as migrateLegacyDeviceSignalConfig, Xn as selectAssignedProfileSlots, Z as armRemovalReconcile, Zn as sleep$1, _n as stripRetiredBandPreBufferSec, ar as number, at as clipExportFailure, cr as record, dr as EventCategory, en as recordingCapability, er as array, hn as storageOccupancyCapability, ht as deriveRecordingMode, in as resolveCreateExportSubject, kn as DeviceType, ln as resolveRecordingProfiles, lr as string, mn as storageEvictableCapability, nn as recordingSignalCapability, o as BatteryStatusSchema, on as resolveLocationMode, or as object, ot as clipExportFailureOf, pt as deriveBatteryPresence, s as CLIP_BROKER_PACED_RATES, sr as preprocess, tn as recordingExportCapability, tr as boolean, tt as batteryCapability, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vt as deviceRemovalHookCapability, wt as evictionPolicyOfLocation, yn as videoclipsCapability, z as RECORDING_SOURCE_CAMSTACK, zn as customAction, zt as mayWriteToLocation } from "../dist-BT3uSeR7.mjs";
|
|
2
|
+
import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-BVRFl1hZ.mjs";
|
|
3
3
|
import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
|
|
4
4
|
import { d as PREBUFFER_MAX_MS, l as withRecordingIntent, r as RECORDING_PRE_ROLL_REQUEST_MS } from "../restream-intent-DyGmLAU9.mjs";
|
|
5
5
|
import { n as RowMapStore, t as retireRootKeys } from "../retire-root-keys-DZvlso2l.mjs";
|
|
@@ -5048,8 +5048,9 @@ var DeviceSettingsConfigsState = class {
|
|
|
5048
5048
|
async readAllRaw() {
|
|
5049
5049
|
const out = /* @__PURE__ */ new Map();
|
|
5050
5050
|
const list = this.deps.settings.listDeviceStoreIds;
|
|
5051
|
-
|
|
5052
|
-
|
|
5051
|
+
const fallback = this.deps.listDeviceIds;
|
|
5052
|
+
if (list === void 0 && fallback === void 0) throw new Error("the per-device settings cannot list their devices on this view");
|
|
5053
|
+
const ids = list !== void 0 ? await list.call(this.deps.settings) : fallback !== void 0 ? await fallback() : [];
|
|
5053
5054
|
const batch = this.deps.settings.readDeviceStoreBatch;
|
|
5054
5055
|
const blobs = batch === void 0 ? new Map(await Promise.all(ids.map(async (id) => [id, await this.deps.settings.readDeviceStore(id)]))) : await batch.call(this.deps.settings, ids);
|
|
5055
5056
|
for (const [id, blob] of blobs) {
|
|
@@ -11731,6 +11732,22 @@ var DurableLedger = class DurableLedger {
|
|
|
11731
11732
|
}
|
|
11732
11733
|
}
|
|
11733
11734
|
/**
|
|
11735
|
+
* Drop every MIRRORED row about `deviceId` (per the spec's `deviceIdOf`),
|
|
11736
|
+
* leaving the durable rows to the caller's `deleteWhere` (D871). Returns how
|
|
11737
|
+
* many mirror entries went; a spec without `deviceIdOf` evicts nothing.
|
|
11738
|
+
*/
|
|
11739
|
+
evictDevice(deviceId) {
|
|
11740
|
+
const of = this.spec.deviceIdOf;
|
|
11741
|
+
if (of === void 0) return 0;
|
|
11742
|
+
let evicted = 0;
|
|
11743
|
+
for (const [key, row] of [...this.mirror.entries()]) {
|
|
11744
|
+
if (of(row) !== deviceId) continue;
|
|
11745
|
+
this.mirror.delete(key);
|
|
11746
|
+
evicted += 1;
|
|
11747
|
+
}
|
|
11748
|
+
return evicted;
|
|
11749
|
+
}
|
|
11750
|
+
/**
|
|
11734
11751
|
* Drop every mirrored key NOT in `activeKeys`. Returns how many rows went.
|
|
11735
11752
|
*
|
|
11736
11753
|
* **The caller must hold an AUTHORITATIVE active set.** A prune driven by a
|
|
@@ -25266,7 +25283,11 @@ var RecorderV2Addon = class extends BaseAddon {
|
|
|
25266
25283
|
if (settings === void 0) throw new Error("recorder: device settings are not available");
|
|
25267
25284
|
this.configsState ??= recordingConfigsState({
|
|
25268
25285
|
settings,
|
|
25269
|
-
logger: this.ctx.logger
|
|
25286
|
+
logger: this.ctx.logger,
|
|
25287
|
+
listDeviceIds: async () => (await this.ctx.api.deviceManager.listAll.query({
|
|
25288
|
+
isCamera: true,
|
|
25289
|
+
projection: "slim"
|
|
25290
|
+
})).map((device) => device.id)
|
|
25270
25291
|
});
|
|
25271
25292
|
return this.configsState;
|
|
25272
25293
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { An as errMsg } from "./dist-
|
|
2
|
+
import { An as errMsg } from "./dist-BT3uSeR7.mjs";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
//#region src/stream-broker/recorded/avcc-annexb.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-emK7D4bc.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-QBVFmPYQ.js");
|
|
3
3
|
let node_child_process = require("node:child_process");
|
|
4
4
|
//#region src/stream-broker/recorded/avcc-annexb.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BFRtKBOe.mjs";
|
|
2
2
|
import { a as m, i as h, n as g, o as _, r as v, t as y } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.js-C9j-2lBe.mjs";
|
|
3
3
|
import { n as b, r as x, t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-XO0-Pyu6.mjs";
|
|
4
4
|
import { t as C } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C3ssSNKh.mjs";
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.375",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_stream_broker_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.293",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_stream_broker_widgets",
|