@camstack/addon-pipeline 1.2.358 → 1.2.360
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-BplFsaKz.js → custom-model-catalog-K9Hx82GZ.js} +2 -2
- package/dist/{custom-model-catalog-DctVXbQ1.mjs → custom-model-catalog-ihWAlDr4.mjs} +2 -2
- package/dist/detection-pipeline/index.js +4 -4
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-DBp0sJSg.mjs → dist-BYCrV0VR.mjs} +80 -75
- package/dist/{dist-Bdrk1nVH.js → dist-CYakbWA8.js} +79 -74
- package/dist/{model-catalogs-N2y8-Q01.js → model-catalogs-C9cyLHdH.js} +1 -1
- package/dist/{model-catalogs-vaTuHPUc.mjs → model-catalogs-CX9SJ9in.mjs} +1 -1
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-CRx-Wwok.js → node-CTCm8Vtw.js} +1 -1
- package/dist/{node-IWKQZ5Xj.mjs → node-C_qDNN9f.mjs} +1 -1
- package/dist/pipeline-runner/index.js +3 -3
- package/dist/pipeline-runner/index.mjs +3 -3
- package/dist/{process-memory-CDfbnBGD.mjs → process-memory-B3lkW9H-.mjs} +1 -1
- package/dist/{process-memory-BVSmOEyu.js → process-memory-Ds5S3L0F.js} +1 -1
- package/dist/recorder/index.js +2 -2
- package/dist/recorder/index.mjs +2 -2
- package/dist/{segment-demux-js-BmpHWno-.js → segment-demux-js-BgDpp15L.js} +1 -1
- package/dist/{segment-demux-js-B1Mx4mJd.mjs → segment-demux-js-W5FIgijf.mjs} +1 -1
- package/dist/stream-broker/_stub.js +1 -1
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Ccq5jxp-.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-v95KZ2Rt.mjs} +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-XWaPHrfA.mjs +26 -0
- 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-C7zIjG_F.mjs → hostInit-CDaDWDva.mjs} +1 -1
- 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/package.json +1 -1
- package/python/test_webgpu_isolated.py +132 -0
- package/python/webgpu_isolated.py +115 -17
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Wy0jRnQx.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-
|
|
7
|
-
const require_model_catalogs = require("../model-catalogs-
|
|
8
|
-
const require_process_memory = require("../process-memory-
|
|
6
|
+
const require_dist = require("../dist-CYakbWA8.js");
|
|
7
|
+
const require_model_catalogs = require("../model-catalogs-C9cyLHdH.js");
|
|
8
|
+
const require_process_memory = require("../process-memory-Ds5S3L0F.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 audioAnalysisCapability,
|
|
3
|
-
import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-
|
|
4
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
2
|
+
import { $ as audioAnalysisCapability, Bn as expandAudioChunkToF32le, In as audioChunkBytesPerSample, Kn as nodePin, L as PoolMemoryWatchdog, Nn as BaseAddon, Rt as mapAudioLabelToMacro, Vn as hydrateSchema, cr as EventCategory, et as audioAnalyzerCapability, h as DEFAULT_AUDIO_ANALYZER_CONFIG, jn as errMsg, ln as resolvePoolMemoryPolicy, r as AUDIO_BACKEND_CHOICES } from "../dist-BYCrV0VR.mjs";
|
|
3
|
+
import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-CX9SJ9in.mjs";
|
|
4
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-B3lkW9H-.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-CYakbWA8.js");
|
|
2
|
+
const require_model_catalogs = require("./model-catalogs-C9cyLHdH.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 { A as LABEL_SUPPLY_VOCABULARIES, Mt as inferModelProvider, b as DEVICE_BACKEND_TO_FORMAT, f as COCO_80_LABELS,
|
|
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 { A as LABEL_SUPPLY_VOCABULARIES, Mt as inferModelProvider, b as DEVICE_BACKEND_TO_FORMAT, f as COCO_80_LABELS, i as AUDIO_MACRO_LABELS, mn as stepModelRunsOnFormat, p as COCO_TO_MACRO, tt as audioKindId } from "./dist-BYCrV0VR.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-CX9SJ9in.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-CYakbWA8.js");
|
|
7
|
+
const require_node = require("../node-CTCm8Vtw.js");
|
|
8
|
+
const require_custom_model_catalog = require("../custom-model-catalog-K9Hx82GZ.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-Ds5S3L0F.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 {
|
|
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 { It as loadContributionCapability, Jt as pickClusterStepSettings, Kn as nodePin, Kt as overlayClusterStepSettings, L as PoolMemoryWatchdog, Ln as createEvent, Nn as BaseAddon, Pt as linkedLabelStepId, Q as applyModelBoundSettings, St as evaluateZoneRules, Vn as hydrateSchema, Wt as modelBindingKey, Y as YAMNET_TO_MACRO, Yn as sleep, Zn as array, Zt as pipelineExecutorCapability, cr as EventCategory, ct as collectModelBoundKeys, d as CLUSTER_MODEL_SCOPED_STEPS, fn as rootSuppliesOf, g as DEFAULT_CLUSTER_STEP_SETTINGS, in as resolveClusterStepModelId, jn as errMsg$1, jt as hfModelUrl, k as LABEL_SUPPLY_MACRO, ln as resolvePoolMemoryPolicy, lt as containingParentIndex, mn as stepModelRunsOnFormat, n as APPLE_SA_TO_MACRO, or as string, pn as runtimeDevices$1, pt as defaultDeviceFor$1, rr as object, sr as union, vt as detectionPipelineCapability, xt as enumerateInferenceDevices, yn as supportedRuntimes$1 } from "../dist-BYCrV0VR.mjs";
|
|
3
|
+
import { s as readProcessCost } from "../node-C_qDNN9f.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-ihWAlDr4.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-B3lkW9H-.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";
|
|
@@ -5387,7 +5387,7 @@ var ZodIssueCode = {
|
|
|
5387
5387
|
var ZodFirstPartyTypeKind;
|
|
5388
5388
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5389
5389
|
//#endregion
|
|
5390
|
-
//#region ../types/dist/sleep-
|
|
5390
|
+
//#region ../types/dist/sleep-BjDbnx6-.mjs
|
|
5391
5391
|
/**
|
|
5392
5392
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5393
5393
|
* window to float samples (D455).
|
|
@@ -8372,6 +8372,79 @@ var BOOT_RECOVERY_BACKOFF_MS = [
|
|
|
8372
8372
|
90 * 6e4
|
|
8373
8373
|
];
|
|
8374
8374
|
/**
|
|
8375
|
+
* Names that, when used as URL query parameters, almost certainly carry
|
|
8376
|
+
* a secret. Matching is case-insensitive and anchored to the full param
|
|
8377
|
+
* name to avoid false positives like `user_id` (an entity reference, not
|
|
8378
|
+
* a credential) or `topic=password-reset` (a value happens to contain
|
|
8379
|
+
* the substring "password" but the param name is unrelated).
|
|
8380
|
+
*
|
|
8381
|
+
* Add new patterns here as we encounter cameras/APIs that leak through
|
|
8382
|
+
* the existing list.
|
|
8383
|
+
*/
|
|
8384
|
+
var CREDENTIAL_PARAM_PATTERNS = [
|
|
8385
|
+
/^user$/i,
|
|
8386
|
+
/^usr$/i,
|
|
8387
|
+
/^username$/i,
|
|
8388
|
+
/^password$/i,
|
|
8389
|
+
/^pwd$/i,
|
|
8390
|
+
/^pass$/i,
|
|
8391
|
+
/^passwd$/i,
|
|
8392
|
+
/^secret$/i,
|
|
8393
|
+
/^token$/i,
|
|
8394
|
+
/^auth$/i,
|
|
8395
|
+
/^auth[_-]?token$/i,
|
|
8396
|
+
/^bearer$/i,
|
|
8397
|
+
/^api[_-]?key$/i,
|
|
8398
|
+
/^access[_-]?token$/i,
|
|
8399
|
+
/^refresh[_-]?token$/i,
|
|
8400
|
+
/^bridge$/i,
|
|
8401
|
+
/^code$/i,
|
|
8402
|
+
/^state$/i,
|
|
8403
|
+
/^challenge$/i,
|
|
8404
|
+
/^link$/i
|
|
8405
|
+
];
|
|
8406
|
+
function isCredentialParam(name) {
|
|
8407
|
+
return CREDENTIAL_PARAM_PATTERNS.some((re) => re.test(name));
|
|
8408
|
+
}
|
|
8409
|
+
/**
|
|
8410
|
+
* Redact secrets we may surface in logs or telemetry:
|
|
8411
|
+
* 1. `userinfo` (`user:password@host`) — the classic RTSP shape.
|
|
8412
|
+
* 2. Query-string credential params (`?user=...&password=...`) — the
|
|
8413
|
+
* Reolink RTMP shape and several HTTP-pushed-stream APIs.
|
|
8414
|
+
*
|
|
8415
|
+
* Returns the original string verbatim when the input is not a parseable
|
|
8416
|
+
* URL — a log helper must never throw. Param values are replaced with
|
|
8417
|
+
* `***` so an operator reading logs still sees WHICH credential was
|
|
8418
|
+
* present (useful for debugging "wrong password" issues) without
|
|
8419
|
+
* exposing the value.
|
|
8420
|
+
*
|
|
8421
|
+
* The credential-name match is case-insensitive but anchored to the
|
|
8422
|
+
* whole param name; values like `user_id=42` or `topic=password-reset`
|
|
8423
|
+
* are NOT masked (those are entity references, not credentials).
|
|
8424
|
+
*/
|
|
8425
|
+
function maskUrlCredentials(rawUrl) {
|
|
8426
|
+
if (rawUrl.startsWith("/") && !rawUrl.startsWith("//")) {
|
|
8427
|
+
const masked = maskUrlCredentials(`http://relative.invalid${rawUrl}`);
|
|
8428
|
+
return masked.startsWith("http://relative.invalid") ? masked.slice(23) : rawUrl;
|
|
8429
|
+
}
|
|
8430
|
+
try {
|
|
8431
|
+
const u = new URL(rawUrl);
|
|
8432
|
+
let touched = false;
|
|
8433
|
+
if (u.username || u.password) {
|
|
8434
|
+
u.username = "";
|
|
8435
|
+
u.password = "";
|
|
8436
|
+
touched = true;
|
|
8437
|
+
}
|
|
8438
|
+
for (const key of Array.from(u.searchParams.keys())) if (isCredentialParam(key)) {
|
|
8439
|
+
u.searchParams.set(key, "***");
|
|
8440
|
+
touched = true;
|
|
8441
|
+
}
|
|
8442
|
+
return touched ? u.toString() : rawUrl;
|
|
8443
|
+
} catch {
|
|
8444
|
+
return rawUrl;
|
|
8445
|
+
}
|
|
8446
|
+
}
|
|
8447
|
+
/**
|
|
8375
8448
|
* Promise-based timer helpers — used everywhere the codebase needs to
|
|
8376
8449
|
* wait, back off, or schedule a retry. Before these helpers landed, each
|
|
8377
8450
|
* call site re-implemented `new Promise(r => setTimeout(r, ms))` inline,
|
|
@@ -57062,6 +57135,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
57062
57135
|
[...RULE_TEXT],
|
|
57063
57136
|
[...RULE_TEXT],
|
|
57064
57137
|
[...RULE_TEXT],
|
|
57138
|
+
[...RULE_TEXT],
|
|
57139
|
+
[...RULE_TEXT],
|
|
57140
|
+
[...RULE_TEXT],
|
|
57141
|
+
[...RULE_TEXT],
|
|
57142
|
+
[...RULE_TEXT],
|
|
57065
57143
|
([...RULE_TEXT], [...UPDATES]),
|
|
57066
57144
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
57067
57145
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -58106,79 +58184,6 @@ var BackgroundRunRegistry = class {
|
|
|
58106
58184
|
function hfModelUrl(repo, path) {
|
|
58107
58185
|
return `https://huggingface.co/${repo}/resolve/main/${path}`;
|
|
58108
58186
|
}
|
|
58109
|
-
/**
|
|
58110
|
-
* Names that, when used as URL query parameters, almost certainly carry
|
|
58111
|
-
* a secret. Matching is case-insensitive and anchored to the full param
|
|
58112
|
-
* name to avoid false positives like `user_id` (an entity reference, not
|
|
58113
|
-
* a credential) or `topic=password-reset` (a value happens to contain
|
|
58114
|
-
* the substring "password" but the param name is unrelated).
|
|
58115
|
-
*
|
|
58116
|
-
* Add new patterns here as we encounter cameras/APIs that leak through
|
|
58117
|
-
* the existing list.
|
|
58118
|
-
*/
|
|
58119
|
-
var CREDENTIAL_PARAM_PATTERNS = [
|
|
58120
|
-
/^user$/i,
|
|
58121
|
-
/^usr$/i,
|
|
58122
|
-
/^username$/i,
|
|
58123
|
-
/^password$/i,
|
|
58124
|
-
/^pwd$/i,
|
|
58125
|
-
/^pass$/i,
|
|
58126
|
-
/^passwd$/i,
|
|
58127
|
-
/^secret$/i,
|
|
58128
|
-
/^token$/i,
|
|
58129
|
-
/^auth$/i,
|
|
58130
|
-
/^auth[_-]?token$/i,
|
|
58131
|
-
/^bearer$/i,
|
|
58132
|
-
/^api[_-]?key$/i,
|
|
58133
|
-
/^access[_-]?token$/i,
|
|
58134
|
-
/^refresh[_-]?token$/i,
|
|
58135
|
-
/^bridge$/i,
|
|
58136
|
-
/^code$/i,
|
|
58137
|
-
/^state$/i,
|
|
58138
|
-
/^challenge$/i,
|
|
58139
|
-
/^link$/i
|
|
58140
|
-
];
|
|
58141
|
-
function isCredentialParam(name) {
|
|
58142
|
-
return CREDENTIAL_PARAM_PATTERNS.some((re) => re.test(name));
|
|
58143
|
-
}
|
|
58144
|
-
/**
|
|
58145
|
-
* Redact secrets we may surface in logs or telemetry:
|
|
58146
|
-
* 1. `userinfo` (`user:password@host`) — the classic RTSP shape.
|
|
58147
|
-
* 2. Query-string credential params (`?user=...&password=...`) — the
|
|
58148
|
-
* Reolink RTMP shape and several HTTP-pushed-stream APIs.
|
|
58149
|
-
*
|
|
58150
|
-
* Returns the original string verbatim when the input is not a parseable
|
|
58151
|
-
* URL — a log helper must never throw. Param values are replaced with
|
|
58152
|
-
* `***` so an operator reading logs still sees WHICH credential was
|
|
58153
|
-
* present (useful for debugging "wrong password" issues) without
|
|
58154
|
-
* exposing the value.
|
|
58155
|
-
*
|
|
58156
|
-
* The credential-name match is case-insensitive but anchored to the
|
|
58157
|
-
* whole param name; values like `user_id=42` or `topic=password-reset`
|
|
58158
|
-
* are NOT masked (those are entity references, not credentials).
|
|
58159
|
-
*/
|
|
58160
|
-
function maskUrlCredentials(rawUrl) {
|
|
58161
|
-
if (rawUrl.startsWith("/") && !rawUrl.startsWith("//")) {
|
|
58162
|
-
const masked = maskUrlCredentials(`http://relative.invalid${rawUrl}`);
|
|
58163
|
-
return masked.startsWith("http://relative.invalid") ? masked.slice(23) : rawUrl;
|
|
58164
|
-
}
|
|
58165
|
-
try {
|
|
58166
|
-
const u = new URL(rawUrl);
|
|
58167
|
-
let touched = false;
|
|
58168
|
-
if (u.username || u.password) {
|
|
58169
|
-
u.username = "";
|
|
58170
|
-
u.password = "";
|
|
58171
|
-
touched = true;
|
|
58172
|
-
}
|
|
58173
|
-
for (const key of Array.from(u.searchParams.keys())) if (isCredentialParam(key)) {
|
|
58174
|
-
u.searchParams.set(key, "***");
|
|
58175
|
-
touched = true;
|
|
58176
|
-
}
|
|
58177
|
-
return touched ? u.toString() : rawUrl;
|
|
58178
|
-
} catch {
|
|
58179
|
-
return rawUrl;
|
|
58180
|
-
}
|
|
58181
|
-
}
|
|
58182
58187
|
var MB = 1024 * 1024;
|
|
58183
58188
|
var DEFAULT_POOL_MEMORY_POLICY = {
|
|
58184
58189
|
sampleIntervalMs: 6e4,
|
|
@@ -58841,4 +58846,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
58841
58846
|
return out;
|
|
58842
58847
|
}
|
|
58843
58848
|
//#endregion
|
|
58844
|
-
export { audioAnalysisCapability as $, discriminatedUnion as $n,
|
|
58849
|
+
export { audioAnalysisCapability as $, discriminatedUnion as $n, rankStreams as $t, LABEL_SUPPLY_VOCABULARIES as A, DeviceType as An, gifFromMp4Args as At, RECORDING_EXPORT_MAX_READ_BYTES as B, expandAudioChunkToF32le as Bn, mayWriteToLocation as Bt, EVENT_PAD_MS as C, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as Cn, evictionPolicyForMode as Ct, G711_SCALE_CORRECTION_DB as D, invocationFromEncodeProfile as Dn, ffmpegRate as Dt, FailureCounters as E, evaluateSensorEdge as En, failureContributionCapability as Et, OpsLogEntrySchema as F, CamProfileSchema as Fn, linkedStepOf as Ft, RecordingSignalStatusSchema as G, maskUrlCredentials as Gn, motionDetectionCapability as Gt, RECORDING_SOURCE_CAMSTACK_ADDON as H, isEvent as Hn, migrateLegacyDeviceSignalConfig as Ht, PIPELINE_RAMP as I, audioChunkBytesPerSample as In, loadContributionCapability as It, VISIT_MERGE_GAP_MS as J, selectAssignedProfileSlots as Jn, pickClusterStepSettings as Jt, RingBuffer as K, nodePin as Kn, overlayClusterStepSettings as Kt, PoolMemoryWatchdog as L, createEvent as Ln, logChannelsCapability as Lt, NativeLeaseAdmissionSchema as M, BOOT_RECOVERY_BACKOFF_MS as Mn, inferModelProvider as Mt, NativeLeaseSettingsSchema as N, BaseAddon as Nn, isFirstLevelMacroClass as Nt, HF_REPO as O, isSoftwareDecode as On, gbToBytes as Ot, NodeBenchRunnerInputSchema as P, CAM_PROFILE_ORDER as Pn, linkedLabelStepId as Pt, applyModelBoundSettings as Q, boolean as Qn, pipelineRunnerCapability as Qt, RATE_CONTROL_RELAXED as R, customAction as Rn, mapAudioLabelToMacro as Rt, EVENT_OWNER_TYPES as S, AUDIO_PRESETS as Sn, evaluateZoneRules as St, ExportRecordSchema as T, buildFfmpegArgs as Tn, exportSubjectOf as Tt, ROOT_SUPPLIABLE_STEP_IDS as U, makeProfileBrokerId as Un, modeMayWrite as Ut, RECORDING_SOURCE_CAMSTACK as V, hydrateSchema as Vn, memoizePinnedFfmpeg as Vt, RecordingConfigSchema as W, makeSourceBrokerId as Wn, modelBindingKey as Wt, addonWidgetsSourceCapability as X, _enum as Xn, pickNativeLeaseOverride as Xt, YAMNET_TO_MACRO as Y, sleep as Yn, pickDetailCropConvention as Yt, allowedSuppliedEffect as Z, array as Zn, pipelineExecutorCapability as Zt, DEFAULT_DETAIL_CROP_CONVENTION as _, streamBrokerCapability as _n, deriveRootFaceRefineRect as _t, BackgroundRunRegistry as a, resolveCreateExportSubject as an, record as ar, cameraStreamsCapability as at, DEVICE_BACKEND_TO_FORMAT as b, videoclipsCapability as bn, egressTransportFromRequest as bt, CLIP_STILL_REASON_CODE_HEADER as c, resolveModelBoundSetting as cn, EventCategory as cr, collectModelBoundKeys as ct, CLUSTER_MODEL_SCOPED_STEPS as d, resolveRootSupply as dn, createLogChannelsProvider as dt, recordingArchiveCapability as en, lazy as er, audioAnalyzerCapability as et, COCO_80_LABELS as f, rootSuppliesOf as fn, declareLogChannel as ft, DEFAULT_CLUSTER_STEP_SETTINGS as g, storageOccupancyCapability as gn, deriveRecordingMode as gt, DEFAULT_AUDIO_ANALYZER_CONFIG as h, storageEvictableCapability as hn, deriveDetailCropRect as ht, AUDIO_MACRO_LABELS as i, resolveClusterStepModelId as in, preprocess as ir, cameraOwnsMotionViaSensor as it, MODEL_FORMATS as j, errMsg as jn, hfModelUrl as jt, LABEL_SUPPLY_MACRO as k, DeviceFeature as kn, gifDeriveSpeed as kt, CLIP_STILL_REASON_HEADER as l, resolvePoolMemoryPolicy as ln, containingParentIndex as lt, CROP_SUPPLY_SOURCES as m, stepModelRunsOnFormat as mn, deriveBatteryPresence as mt, APPLE_SA_TO_MACRO as n, recordingExportCapability as nn, number as nr, batteryCapability as nt, BatteryStatusSchema as o, resolveEgressDecodeHwAccel as on, string as or, clipExportFailure as ot, COCO_TO_MACRO as p, runtimeDevices as pn, defaultDeviceFor as pt, VIDEOCLIPS_MAX_OFFER_BYTES as q, parseProfileBrokerId as qn, parseProcStatus as qt, AUDIO_BACKEND_CHOICES as r, recordingSignalCapability as rn, object as rr, buildBenchStepTree as rt, CLIP_BROKER_PACED_RATES as s, resolveLocationMode as sn, union as sr, clipExportFailureOf as st, APPEARANCE_BLOCKS as t, recordingCapability as tn, literal as tr, audioKindId as tt, CLIP_STREAM_TRANSPORT_HEADER as u, resolveRecordingProfiles as un, createHwAccelCache as ut, DEFAULT_EVENTS_BAND_BUFFER_SEC as v, stripRetiredBandPreBufferSec as vn, detectionPipelineCapability as vt, EncodeProfileSchema as w, Fmp4BoxSplitter as wn, evictionPolicyOfLocation as wt, DEVICE_RAMP as x, webrtcSessionCapability as xn, enumerateInferenceDevices as xt, DEFAULT_NATIVE_LEASE_SETTINGS as y, supportedRuntimes as yn, egressTranscodeSharingKey as yt, RATE_CONTROL_TIGHT as z, defineCustomActions as zn, mayReadLocation as zt };
|
|
@@ -5387,7 +5387,7 @@ var ZodIssueCode = {
|
|
|
5387
5387
|
var ZodFirstPartyTypeKind;
|
|
5388
5388
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5389
5389
|
//#endregion
|
|
5390
|
-
//#region ../types/dist/sleep-
|
|
5390
|
+
//#region ../types/dist/sleep-BjDbnx6-.mjs
|
|
5391
5391
|
/**
|
|
5392
5392
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5393
5393
|
* window to float samples (D455).
|
|
@@ -8372,6 +8372,79 @@ var BOOT_RECOVERY_BACKOFF_MS = [
|
|
|
8372
8372
|
90 * 6e4
|
|
8373
8373
|
];
|
|
8374
8374
|
/**
|
|
8375
|
+
* Names that, when used as URL query parameters, almost certainly carry
|
|
8376
|
+
* a secret. Matching is case-insensitive and anchored to the full param
|
|
8377
|
+
* name to avoid false positives like `user_id` (an entity reference, not
|
|
8378
|
+
* a credential) or `topic=password-reset` (a value happens to contain
|
|
8379
|
+
* the substring "password" but the param name is unrelated).
|
|
8380
|
+
*
|
|
8381
|
+
* Add new patterns here as we encounter cameras/APIs that leak through
|
|
8382
|
+
* the existing list.
|
|
8383
|
+
*/
|
|
8384
|
+
var CREDENTIAL_PARAM_PATTERNS = [
|
|
8385
|
+
/^user$/i,
|
|
8386
|
+
/^usr$/i,
|
|
8387
|
+
/^username$/i,
|
|
8388
|
+
/^password$/i,
|
|
8389
|
+
/^pwd$/i,
|
|
8390
|
+
/^pass$/i,
|
|
8391
|
+
/^passwd$/i,
|
|
8392
|
+
/^secret$/i,
|
|
8393
|
+
/^token$/i,
|
|
8394
|
+
/^auth$/i,
|
|
8395
|
+
/^auth[_-]?token$/i,
|
|
8396
|
+
/^bearer$/i,
|
|
8397
|
+
/^api[_-]?key$/i,
|
|
8398
|
+
/^access[_-]?token$/i,
|
|
8399
|
+
/^refresh[_-]?token$/i,
|
|
8400
|
+
/^bridge$/i,
|
|
8401
|
+
/^code$/i,
|
|
8402
|
+
/^state$/i,
|
|
8403
|
+
/^challenge$/i,
|
|
8404
|
+
/^link$/i
|
|
8405
|
+
];
|
|
8406
|
+
function isCredentialParam(name) {
|
|
8407
|
+
return CREDENTIAL_PARAM_PATTERNS.some((re) => re.test(name));
|
|
8408
|
+
}
|
|
8409
|
+
/**
|
|
8410
|
+
* Redact secrets we may surface in logs or telemetry:
|
|
8411
|
+
* 1. `userinfo` (`user:password@host`) — the classic RTSP shape.
|
|
8412
|
+
* 2. Query-string credential params (`?user=...&password=...`) — the
|
|
8413
|
+
* Reolink RTMP shape and several HTTP-pushed-stream APIs.
|
|
8414
|
+
*
|
|
8415
|
+
* Returns the original string verbatim when the input is not a parseable
|
|
8416
|
+
* URL — a log helper must never throw. Param values are replaced with
|
|
8417
|
+
* `***` so an operator reading logs still sees WHICH credential was
|
|
8418
|
+
* present (useful for debugging "wrong password" issues) without
|
|
8419
|
+
* exposing the value.
|
|
8420
|
+
*
|
|
8421
|
+
* The credential-name match is case-insensitive but anchored to the
|
|
8422
|
+
* whole param name; values like `user_id=42` or `topic=password-reset`
|
|
8423
|
+
* are NOT masked (those are entity references, not credentials).
|
|
8424
|
+
*/
|
|
8425
|
+
function maskUrlCredentials(rawUrl) {
|
|
8426
|
+
if (rawUrl.startsWith("/") && !rawUrl.startsWith("//")) {
|
|
8427
|
+
const masked = maskUrlCredentials(`http://relative.invalid${rawUrl}`);
|
|
8428
|
+
return masked.startsWith("http://relative.invalid") ? masked.slice(23) : rawUrl;
|
|
8429
|
+
}
|
|
8430
|
+
try {
|
|
8431
|
+
const u = new URL(rawUrl);
|
|
8432
|
+
let touched = false;
|
|
8433
|
+
if (u.username || u.password) {
|
|
8434
|
+
u.username = "";
|
|
8435
|
+
u.password = "";
|
|
8436
|
+
touched = true;
|
|
8437
|
+
}
|
|
8438
|
+
for (const key of Array.from(u.searchParams.keys())) if (isCredentialParam(key)) {
|
|
8439
|
+
u.searchParams.set(key, "***");
|
|
8440
|
+
touched = true;
|
|
8441
|
+
}
|
|
8442
|
+
return touched ? u.toString() : rawUrl;
|
|
8443
|
+
} catch {
|
|
8444
|
+
return rawUrl;
|
|
8445
|
+
}
|
|
8446
|
+
}
|
|
8447
|
+
/**
|
|
8375
8448
|
* Promise-based timer helpers — used everywhere the codebase needs to
|
|
8376
8449
|
* wait, back off, or schedule a retry. Before these helpers landed, each
|
|
8377
8450
|
* call site re-implemented `new Promise(r => setTimeout(r, ms))` inline,
|
|
@@ -57062,6 +57135,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
57062
57135
|
[...RULE_TEXT],
|
|
57063
57136
|
[...RULE_TEXT],
|
|
57064
57137
|
[...RULE_TEXT],
|
|
57138
|
+
[...RULE_TEXT],
|
|
57139
|
+
[...RULE_TEXT],
|
|
57140
|
+
[...RULE_TEXT],
|
|
57141
|
+
[...RULE_TEXT],
|
|
57142
|
+
[...RULE_TEXT],
|
|
57065
57143
|
([...RULE_TEXT], [...UPDATES]),
|
|
57066
57144
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
57067
57145
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -58106,79 +58184,6 @@ var BackgroundRunRegistry = class {
|
|
|
58106
58184
|
function hfModelUrl(repo, path) {
|
|
58107
58185
|
return `https://huggingface.co/${repo}/resolve/main/${path}`;
|
|
58108
58186
|
}
|
|
58109
|
-
/**
|
|
58110
|
-
* Names that, when used as URL query parameters, almost certainly carry
|
|
58111
|
-
* a secret. Matching is case-insensitive and anchored to the full param
|
|
58112
|
-
* name to avoid false positives like `user_id` (an entity reference, not
|
|
58113
|
-
* a credential) or `topic=password-reset` (a value happens to contain
|
|
58114
|
-
* the substring "password" but the param name is unrelated).
|
|
58115
|
-
*
|
|
58116
|
-
* Add new patterns here as we encounter cameras/APIs that leak through
|
|
58117
|
-
* the existing list.
|
|
58118
|
-
*/
|
|
58119
|
-
var CREDENTIAL_PARAM_PATTERNS = [
|
|
58120
|
-
/^user$/i,
|
|
58121
|
-
/^usr$/i,
|
|
58122
|
-
/^username$/i,
|
|
58123
|
-
/^password$/i,
|
|
58124
|
-
/^pwd$/i,
|
|
58125
|
-
/^pass$/i,
|
|
58126
|
-
/^passwd$/i,
|
|
58127
|
-
/^secret$/i,
|
|
58128
|
-
/^token$/i,
|
|
58129
|
-
/^auth$/i,
|
|
58130
|
-
/^auth[_-]?token$/i,
|
|
58131
|
-
/^bearer$/i,
|
|
58132
|
-
/^api[_-]?key$/i,
|
|
58133
|
-
/^access[_-]?token$/i,
|
|
58134
|
-
/^refresh[_-]?token$/i,
|
|
58135
|
-
/^bridge$/i,
|
|
58136
|
-
/^code$/i,
|
|
58137
|
-
/^state$/i,
|
|
58138
|
-
/^challenge$/i,
|
|
58139
|
-
/^link$/i
|
|
58140
|
-
];
|
|
58141
|
-
function isCredentialParam(name) {
|
|
58142
|
-
return CREDENTIAL_PARAM_PATTERNS.some((re) => re.test(name));
|
|
58143
|
-
}
|
|
58144
|
-
/**
|
|
58145
|
-
* Redact secrets we may surface in logs or telemetry:
|
|
58146
|
-
* 1. `userinfo` (`user:password@host`) — the classic RTSP shape.
|
|
58147
|
-
* 2. Query-string credential params (`?user=...&password=...`) — the
|
|
58148
|
-
* Reolink RTMP shape and several HTTP-pushed-stream APIs.
|
|
58149
|
-
*
|
|
58150
|
-
* Returns the original string verbatim when the input is not a parseable
|
|
58151
|
-
* URL — a log helper must never throw. Param values are replaced with
|
|
58152
|
-
* `***` so an operator reading logs still sees WHICH credential was
|
|
58153
|
-
* present (useful for debugging "wrong password" issues) without
|
|
58154
|
-
* exposing the value.
|
|
58155
|
-
*
|
|
58156
|
-
* The credential-name match is case-insensitive but anchored to the
|
|
58157
|
-
* whole param name; values like `user_id=42` or `topic=password-reset`
|
|
58158
|
-
* are NOT masked (those are entity references, not credentials).
|
|
58159
|
-
*/
|
|
58160
|
-
function maskUrlCredentials(rawUrl) {
|
|
58161
|
-
if (rawUrl.startsWith("/") && !rawUrl.startsWith("//")) {
|
|
58162
|
-
const masked = maskUrlCredentials(`http://relative.invalid${rawUrl}`);
|
|
58163
|
-
return masked.startsWith("http://relative.invalid") ? masked.slice(23) : rawUrl;
|
|
58164
|
-
}
|
|
58165
|
-
try {
|
|
58166
|
-
const u = new URL(rawUrl);
|
|
58167
|
-
let touched = false;
|
|
58168
|
-
if (u.username || u.password) {
|
|
58169
|
-
u.username = "";
|
|
58170
|
-
u.password = "";
|
|
58171
|
-
touched = true;
|
|
58172
|
-
}
|
|
58173
|
-
for (const key of Array.from(u.searchParams.keys())) if (isCredentialParam(key)) {
|
|
58174
|
-
u.searchParams.set(key, "***");
|
|
58175
|
-
touched = true;
|
|
58176
|
-
}
|
|
58177
|
-
return touched ? u.toString() : rawUrl;
|
|
58178
|
-
} catch {
|
|
58179
|
-
return rawUrl;
|
|
58180
|
-
}
|
|
58181
|
-
}
|
|
58182
58187
|
var MB = 1024 * 1024;
|
|
58183
58188
|
var DEFAULT_POOL_MEMORY_POLICY = {
|
|
58184
58189
|
sampleIntervalMs: 6e4,
|
|
@@ -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-CYakbWA8.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 {
|
|
1
|
+
import { An as DeviceType, Gt as motionDetectionCapability, Nn as BaseAddon, St as evaluateZoneRules, Vn as hydrateSchema } from "../dist-BYCrV0VR.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,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-emK7D4bc.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-CYakbWA8.js");
|
|
3
3
|
let node_crypto = require("node:crypto");
|
|
4
4
|
let node_fs = require("node:fs");
|
|
5
5
|
node_fs = require_chunk.__toESM(node_fs, 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { On as isSoftwareDecode, Tn as buildFfmpegArgs, jn as errMsg, wn as Fmp4BoxSplitter } from "./dist-BYCrV0VR.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-CYakbWA8.js");
|
|
7
|
+
const require_node = require("../node-CTCm8Vtw.js");
|
|
8
|
+
const require_custom_model_catalog = require("../custom-model-catalog-K9Hx82GZ.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 {
|
|
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 { E as FailureCounters, Et as failureContributionCapability, Ft as linkedStepOf, I as PIPELINE_RAMP, It as loadContributionCapability, Kn as nodePin, Ln as createEvent, M as NativeLeaseAdmissionSchema, N as NativeLeaseSettingsSchema, Nn as BaseAddon, P as NodeBenchRunnerInputSchema, Qn as boolean, Qt as pipelineRunnerCapability, Rn as customAction, U as ROOT_SUPPLIABLE_STEP_IDS, Xn as _enum, Xt as pickNativeLeaseOverride, Yt as pickDetailCropConvention, Z as allowedSuppliedEffect, Zn as array, _ as DEFAULT_DETAIL_CROP_CONVENTION, _t as deriveRootFaceRefineRect, a as BackgroundRunRegistry, cn as resolveModelBoundSetting, cr as EventCategory, dn as resolveRootSupply, er as lazy, fn as rootSuppliesOf, ht as deriveDetailCropRect, it as cameraOwnsMotionViaSensor, j as MODEL_FORMATS, jn as errMsg, m as CROP_SUPPLY_SOURCES, nr as number, or as string, rr as object, rt as buildBenchStepTree, tr as literal, x as DEVICE_RAMP, y as DEFAULT_NATIVE_LEASE_SETTINGS, zn as defineCustomActions } from "../dist-BYCrV0VR.mjs";
|
|
2
|
+
import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-C_qDNN9f.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-ihWAlDr4.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-CYakbWA8.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-CYakbWA8.js");
|
|
7
|
+
const require_node = require("../node-CTCm8Vtw.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");
|
package/dist/recorder/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { An as
|
|
2
|
-
import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-
|
|
1
|
+
import { An as DeviceType, B as RECORDING_EXPORT_MAX_READ_BYTES, Bt as mayWriteToLocation, C as EVENT_PAD_MS, Ct as evictionPolicyForMode, En as evaluateSensorEdge, F as OpsLogEntrySchema, G as RecordingSignalStatusSchema, H as RECORDING_SOURCE_CAMSTACK_ADDON, Ht as migrateLegacyDeviceSignalConfig, It as loadContributionCapability, J as VISIT_MERGE_GAP_MS, Jn as selectAssignedProfileSlots, Kn as nodePin, Nn as BaseAddon, Nt as isFirstLevelMacroClass, Ot as gbToBytes, Qn as boolean, Rn as customAction, S as EVENT_OWNER_TYPES, T as ExportRecordSchema, Tt as exportSubjectOf, Ut as modeMayWrite, V as RECORDING_SOURCE_CAMSTACK, Vn as hydrateSchema, Vt as memoizePinnedFfmpeg, W as RecordingConfigSchema, Xn as _enum, Yn as sleep$1, Zn as array, an as resolveCreateExportSubject, ar as record, bn as videoclipsCapability, cr as EventCategory, en as recordingArchiveCapability, gn as storageOccupancyCapability, gt as deriveRecordingMode, hn as storageEvictableCapability, ir as preprocess, jn as errMsg$1, kn as DeviceFeature, mt as deriveBatteryPresence, nn as recordingExportCapability, nr as number, nt as batteryCapability, o as BatteryStatusSchema, or as string, ot as clipExportFailure, q as VIDEOCLIPS_MAX_OFFER_BYTES, rn as recordingSignalCapability, rr as object, s as CLIP_BROKER_PACED_RATES, sn as resolveLocationMode, st as clipExportFailureOf, tn as recordingCapability, un as resolveRecordingProfiles, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vn as stripRetiredBandPreBufferSec, wt as evictionPolicyOfLocation, zn as defineCustomActions, zt as mayReadLocation } from "../dist-BYCrV0VR.mjs";
|
|
2
|
+
import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-C_qDNN9f.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";
|
|
@@ -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-CYakbWA8.js");
|
|
3
3
|
let node_child_process = require("node:child_process");
|
|
4
4
|
//#region src/stream-broker/recorded/avcc-annexb.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./chunk-DnnnRqeS.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { jn as errMsg } from "./dist-BYCrV0VR.mjs";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
//#region src/stream-broker/recorded/avcc-annexb.ts
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-qyhFaM-7.mjs";
|
|
2
2
|
import { a as p, i as m, n as h, o as g, r as _, t as v } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.js-C9j-2lBe.mjs";
|
|
3
3
|
import { n as y, r as b, t as x } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-XO0-Pyu6.mjs";
|
|
4
|
-
import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
4
|
+
import { t as S } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-XWaPHrfA.mjs";
|
|
5
5
|
import { n as C, t as w } from "./_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BO7TIbJV.mjs";
|
|
6
6
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
7
7
|
var T = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), E = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), D = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), O = (e) => {
|