@camstack/addon-pipeline 1.2.343 → 1.2.345
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-m7EBV9wu.mjs → custom-model-catalog-C7zLb7ze.mjs} +2 -2
- package/dist/{custom-model-catalog-CC8vgYZ8.js → custom-model-catalog-CrEsRBe_.js} +2 -2
- package/dist/detection-pipeline/index.js +4 -4
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-BwipY6K1.js → dist-_I6JkuJ8.js} +81 -3
- package/dist/{dist-BAHBDujp.mjs → dist-cT7hhXh9.mjs} +81 -3
- package/dist/{model-catalogs-Dotb1OFs.js → model-catalogs-BrKLOMBe.js} +1 -1
- package/dist/{model-catalogs-CUU_L1ec.mjs → model-catalogs-CPAmiLRa.mjs} +1 -1
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-BHYEkNaS.js → node-6zL5ddry.js} +1 -1
- package/dist/{node-BPwelwyj.mjs → node-Dmga8QNL.mjs} +1 -1
- package/dist/pipeline-runner/index.js +3 -3
- package/dist/pipeline-runner/index.mjs +3 -3
- package/dist/{process-memory-BRCKXa-P.js → process-memory-CstCtC3A.js} +1 -1
- package/dist/{process-memory-_8o1iZnL.mjs → process-memory-DZcnBnb1.mjs} +1 -1
- package/dist/recorder/index.js +2 -2
- package/dist/recorder/index.mjs +2 -2
- package/dist/{segment-demux-js-DveVPFl9.js → segment-demux-js-DPtDBph6.js} +1 -1
- package/dist/{segment-demux-js-DK8jbZy6.mjs → segment-demux-js-qzo-pQK7.mjs} +1 -1
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CF-T-9YU.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Drg8iwTA.mjs} +3 -3
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BUfCTcDV.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C2VoXjqc.mjs} +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DATpA6mb.mjs +26 -0
- 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-C6jr8fSt.mjs → hostInit-Bz5eB0VL.mjs} +3 -3
- package/dist/stream-broker/index.js +222 -21
- package/dist/stream-broker/index.mjs +222 -21
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-uAQqU5lv.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-_I6JkuJ8.js");
|
|
7
|
+
const require_model_catalogs = require("../model-catalogs-BrKLOMBe.js");
|
|
8
|
+
const require_process_memory = require("../process-memory-CstCtC3A.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 { Dn as errMsg, In as expandAudioChunkToF32le, Ln as hydrateSchema, Mn as audioChunkBytesPerSample, N as PoolMemoryWatchdog, Nt as mapAudioLabelToMacro, Vn as nodePin, X as audioAnalyzerCapability, Y as audioAnalysisCapability, an as resolvePoolMemoryPolicy, h as DEFAULT_AUDIO_ANALYZER_CONFIG, kn as BaseAddon, r as AUDIO_BACKEND_CHOICES, rr as EventCategory } from "../dist-
|
|
3
|
-
import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-
|
|
4
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
2
|
+
import { Dn as errMsg, In as expandAudioChunkToF32le, Ln as hydrateSchema, Mn as audioChunkBytesPerSample, N as PoolMemoryWatchdog, Nt as mapAudioLabelToMacro, Vn as nodePin, X as audioAnalyzerCapability, Y as audioAnalysisCapability, an as resolvePoolMemoryPolicy, h as DEFAULT_AUDIO_ANALYZER_CONFIG, kn as BaseAddon, r as AUDIO_BACKEND_CHOICES, rr as EventCategory } from "../dist-cT7hhXh9.mjs";
|
|
3
|
+
import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-CPAmiLRa.mjs";
|
|
4
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-DZcnBnb1.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
|
-
import { Dt as inferModelProvider, Z as audioKindId, b as DEVICE_BACKEND_TO_FORMAT, f as COCO_80_LABELS, i as AUDIO_MACRO_LABELS, k as LABEL_SUPPLY_VOCABULARIES, p as COCO_TO_MACRO, un as stepModelRunsOnFormat } from "./dist-
|
|
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 { Dt as inferModelProvider, Z as audioKindId, b as DEVICE_BACKEND_TO_FORMAT, f as COCO_80_LABELS, i as AUDIO_MACRO_LABELS, k as LABEL_SUPPLY_VOCABULARIES, p as COCO_TO_MACRO, un as stepModelRunsOnFormat } from "./dist-cT7hhXh9.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-CPAmiLRa.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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_dist = require("./dist-
|
|
2
|
-
const require_model_catalogs = require("./model-catalogs-
|
|
1
|
+
const require_dist = require("./dist-_I6JkuJ8.js");
|
|
2
|
+
const require_model_catalogs = require("./model-catalogs-BrKLOMBe.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
|
|
@@ -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-_I6JkuJ8.js");
|
|
7
|
+
const require_node = require("../node-6zL5ddry.js");
|
|
8
|
+
const require_custom_model_catalog = require("../custom-model-catalog-CrEsRBe_.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-CstCtC3A.js");
|
|
11
11
|
let node_os = require("node:os");
|
|
12
12
|
node_os = require_chunk.__toESM(node_os);
|
|
13
13
|
let node_fs = require("node:fs");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { Bt as modelBindingKey, Dn as errMsg$1, Et as hfModelUrl, G as YAMNET_TO_MACRO, Ht as overlayClusterStepSettings, J as applyModelBoundSettings, Kn as array, Ln as hydrateSchema, N as PoolMemoryWatchdog, Nn as createEvent, O as LABEL_SUPPLY_MACRO, Qn as object, Vn as nodePin, Wn as sleep, Wt as pickClusterStepSettings, _t as evaluateZoneRules, an as resolvePoolMemoryPolicy, cn as rootSuppliesOf, ct as defaultDeviceFor$1, d as CLUSTER_MODEL_SCOPED_STEPS, en as resolveClusterStepModelId, g as DEFAULT_CLUSTER_STEP_SETTINGS, gt as enumerateInferenceDevices, hn as supportedRuntimes$1, it as containingParentIndex, jt as loadContributionCapability, kn as BaseAddon, kt as linkedLabelStepId, ln as runtimeDevices$1, n as APPLE_SA_TO_MACRO, nr as union, pt as detectionPipelineCapability, qt as pipelineExecutorCapability, rr as EventCategory, rt as collectModelBoundKeys, tr as string, un as stepModelRunsOnFormat } from "../dist-
|
|
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 { Bt as modelBindingKey, Dn as errMsg$1, Et as hfModelUrl, G as YAMNET_TO_MACRO, Ht as overlayClusterStepSettings, J as applyModelBoundSettings, Kn as array, Ln as hydrateSchema, N as PoolMemoryWatchdog, Nn as createEvent, O as LABEL_SUPPLY_MACRO, Qn as object, Vn as nodePin, Wn as sleep, Wt as pickClusterStepSettings, _t as evaluateZoneRules, an as resolvePoolMemoryPolicy, cn as rootSuppliesOf, ct as defaultDeviceFor$1, d as CLUSTER_MODEL_SCOPED_STEPS, en as resolveClusterStepModelId, g as DEFAULT_CLUSTER_STEP_SETTINGS, gt as enumerateInferenceDevices, hn as supportedRuntimes$1, it as containingParentIndex, jt as loadContributionCapability, kn as BaseAddon, kt as linkedLabelStepId, ln as runtimeDevices$1, n as APPLE_SA_TO_MACRO, nr as union, pt as detectionPipelineCapability, qt as pipelineExecutorCapability, rr as EventCategory, rt as collectModelBoundKeys, tr as string, un as stepModelRunsOnFormat } from "../dist-cT7hhXh9.mjs";
|
|
3
|
+
import { s as readProcessCost } from "../node-Dmga8QNL.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-C7zLb7ze.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-DZcnBnb1.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";
|
|
@@ -32138,7 +32138,22 @@ var webrtcSessionCapability = {
|
|
|
32138
32138
|
* field their hints were silently stripped by the schema and the
|
|
32139
32139
|
* adaptive ladder started blind on the client's display size.
|
|
32140
32140
|
*/
|
|
32141
|
-
hints: webrtcClientHintsSchema.optional()
|
|
32141
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
32142
|
+
/**
|
|
32143
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
32144
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
32145
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
32146
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
32147
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
32148
|
+
*
|
|
32149
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
32150
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
32151
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
32152
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
32153
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
32154
|
+
* flag must not become a second door to the camera's speaker.
|
|
32155
|
+
*/
|
|
32156
|
+
talkback: boolean().optional()
|
|
32142
32157
|
}), object({
|
|
32143
32158
|
sessionId: string(),
|
|
32144
32159
|
sdpAnswer: string()
|
|
@@ -32506,6 +32521,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
32506
32521
|
var RestartAddonResultSchema = unknown();
|
|
32507
32522
|
var InstallPackageResultSchema = unknown();
|
|
32508
32523
|
var ReloadPackagesResultSchema = unknown();
|
|
32524
|
+
/**
|
|
32525
|
+
* What an uninstall did on ONE node.
|
|
32526
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
32527
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
32528
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
32529
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
32530
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
32531
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
32532
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
32533
|
+
*/
|
|
32534
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
32535
|
+
"uninstalled",
|
|
32536
|
+
"not-installed",
|
|
32537
|
+
"refused",
|
|
32538
|
+
"failed",
|
|
32539
|
+
"pending-reconnect"
|
|
32540
|
+
]);
|
|
32541
|
+
var UninstallNodeResultSchema = object({
|
|
32542
|
+
nodeId: string(),
|
|
32543
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
32544
|
+
error: string().optional(),
|
|
32545
|
+
addonIds: array(string()).readonly(),
|
|
32546
|
+
runnersStopped: array(string()).readonly(),
|
|
32547
|
+
warnings: array(string()).readonly()
|
|
32548
|
+
});
|
|
32549
|
+
var UninstallPackageResultSchema = object({
|
|
32550
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
32551
|
+
success: boolean(),
|
|
32552
|
+
packageName: string(),
|
|
32553
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
32554
|
+
});
|
|
32555
|
+
/**
|
|
32556
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
32557
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
32558
|
+
*/
|
|
32559
|
+
var PackageInstallationsSchema = object({
|
|
32560
|
+
installations: array(object({
|
|
32561
|
+
packageName: string(),
|
|
32562
|
+
nodeId: string(),
|
|
32563
|
+
nodeName: string(),
|
|
32564
|
+
isHub: boolean(),
|
|
32565
|
+
isOnline: boolean(),
|
|
32566
|
+
version: string().nullable(),
|
|
32567
|
+
addonIds: array(string()).readonly(),
|
|
32568
|
+
source: _enum(["live", "recorded"]),
|
|
32569
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
32570
|
+
onHub: boolean()
|
|
32571
|
+
})).readonly(),
|
|
32572
|
+
unreachable: array(object({
|
|
32573
|
+
nodeId: string(),
|
|
32574
|
+
error: string()
|
|
32575
|
+
})).readonly()
|
|
32576
|
+
});
|
|
32509
32577
|
var BulkUpdateItemStatusSchema = _enum([
|
|
32510
32578
|
"queued",
|
|
32511
32579
|
"updating",
|
|
@@ -32588,10 +32656,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
32588
32656
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
32589
32657
|
kind: "mutation",
|
|
32590
32658
|
auth: "admin"
|
|
32591
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
32659
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
32660
|
+
packageName: string().min(1),
|
|
32661
|
+
nodeId: string().optional(),
|
|
32662
|
+
everywhere: boolean().optional()
|
|
32663
|
+
}), UninstallPackageResultSchema, {
|
|
32592
32664
|
kind: "mutation",
|
|
32593
32665
|
auth: "admin"
|
|
32594
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
32666
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
32595
32667
|
kind: "mutation",
|
|
32596
32668
|
auth: "admin"
|
|
32597
32669
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41502,6 +41574,12 @@ Object.freeze({
|
|
|
41502
41574
|
addonId: null,
|
|
41503
41575
|
access: "view"
|
|
41504
41576
|
},
|
|
41577
|
+
"addons.listInstallations": {
|
|
41578
|
+
capName: "addons",
|
|
41579
|
+
capScope: "system",
|
|
41580
|
+
addonId: null,
|
|
41581
|
+
access: "view"
|
|
41582
|
+
},
|
|
41505
41583
|
"addons.listJobs": {
|
|
41506
41584
|
capName: "addons",
|
|
41507
41585
|
capScope: "system",
|
|
@@ -32138,7 +32138,22 @@ var webrtcSessionCapability = {
|
|
|
32138
32138
|
* field their hints were silently stripped by the schema and the
|
|
32139
32139
|
* adaptive ladder started blind on the client's display size.
|
|
32140
32140
|
*/
|
|
32141
|
-
hints: webrtcClientHintsSchema.optional()
|
|
32141
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
32142
|
+
/**
|
|
32143
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
32144
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
32145
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
32146
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
32147
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
32148
|
+
*
|
|
32149
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
32150
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
32151
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
32152
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
32153
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
32154
|
+
* flag must not become a second door to the camera's speaker.
|
|
32155
|
+
*/
|
|
32156
|
+
talkback: boolean().optional()
|
|
32142
32157
|
}), object({
|
|
32143
32158
|
sessionId: string(),
|
|
32144
32159
|
sdpAnswer: string()
|
|
@@ -32506,6 +32521,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
32506
32521
|
var RestartAddonResultSchema = unknown();
|
|
32507
32522
|
var InstallPackageResultSchema = unknown();
|
|
32508
32523
|
var ReloadPackagesResultSchema = unknown();
|
|
32524
|
+
/**
|
|
32525
|
+
* What an uninstall did on ONE node.
|
|
32526
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
32527
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
32528
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
32529
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
32530
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
32531
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
32532
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
32533
|
+
*/
|
|
32534
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
32535
|
+
"uninstalled",
|
|
32536
|
+
"not-installed",
|
|
32537
|
+
"refused",
|
|
32538
|
+
"failed",
|
|
32539
|
+
"pending-reconnect"
|
|
32540
|
+
]);
|
|
32541
|
+
var UninstallNodeResultSchema = object({
|
|
32542
|
+
nodeId: string(),
|
|
32543
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
32544
|
+
error: string().optional(),
|
|
32545
|
+
addonIds: array(string()).readonly(),
|
|
32546
|
+
runnersStopped: array(string()).readonly(),
|
|
32547
|
+
warnings: array(string()).readonly()
|
|
32548
|
+
});
|
|
32549
|
+
var UninstallPackageResultSchema = object({
|
|
32550
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
32551
|
+
success: boolean(),
|
|
32552
|
+
packageName: string(),
|
|
32553
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
32554
|
+
});
|
|
32555
|
+
/**
|
|
32556
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
32557
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
32558
|
+
*/
|
|
32559
|
+
var PackageInstallationsSchema = object({
|
|
32560
|
+
installations: array(object({
|
|
32561
|
+
packageName: string(),
|
|
32562
|
+
nodeId: string(),
|
|
32563
|
+
nodeName: string(),
|
|
32564
|
+
isHub: boolean(),
|
|
32565
|
+
isOnline: boolean(),
|
|
32566
|
+
version: string().nullable(),
|
|
32567
|
+
addonIds: array(string()).readonly(),
|
|
32568
|
+
source: _enum(["live", "recorded"]),
|
|
32569
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
32570
|
+
onHub: boolean()
|
|
32571
|
+
})).readonly(),
|
|
32572
|
+
unreachable: array(object({
|
|
32573
|
+
nodeId: string(),
|
|
32574
|
+
error: string()
|
|
32575
|
+
})).readonly()
|
|
32576
|
+
});
|
|
32509
32577
|
var BulkUpdateItemStatusSchema = _enum([
|
|
32510
32578
|
"queued",
|
|
32511
32579
|
"updating",
|
|
@@ -32588,10 +32656,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
32588
32656
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
32589
32657
|
kind: "mutation",
|
|
32590
32658
|
auth: "admin"
|
|
32591
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
32659
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
32660
|
+
packageName: string().min(1),
|
|
32661
|
+
nodeId: string().optional(),
|
|
32662
|
+
everywhere: boolean().optional()
|
|
32663
|
+
}), UninstallPackageResultSchema, {
|
|
32592
32664
|
kind: "mutation",
|
|
32593
32665
|
auth: "admin"
|
|
32594
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
32666
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
32595
32667
|
kind: "mutation",
|
|
32596
32668
|
auth: "admin"
|
|
32597
32669
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41502,6 +41574,12 @@ Object.freeze({
|
|
|
41502
41574
|
addonId: null,
|
|
41503
41575
|
access: "view"
|
|
41504
41576
|
},
|
|
41577
|
+
"addons.listInstallations": {
|
|
41578
|
+
capName: "addons",
|
|
41579
|
+
capScope: "system",
|
|
41580
|
+
addonId: null,
|
|
41581
|
+
access: "view"
|
|
41582
|
+
},
|
|
41505
41583
|
"addons.listJobs": {
|
|
41506
41584
|
capName: "addons",
|
|
41507
41585
|
capScope: "system",
|
|
@@ -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-_I6JkuJ8.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 { En as DeviceType, Ln as hydrateSchema, Vt as motionDetectionCapability, _t as evaluateZoneRules, kn as BaseAddon } from "../dist-
|
|
1
|
+
import { En as DeviceType, Ln as hydrateSchema, Vt as motionDetectionCapability, _t as evaluateZoneRules, kn as BaseAddon } from "../dist-cT7hhXh9.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-_I6JkuJ8.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 { Dn as errMsg, bn as Fmp4BoxSplitter, wn as isSoftwareDecode, xn as buildFfmpegArgs } from "./dist-
|
|
1
|
+
import { Dn as errMsg, bn as Fmp4BoxSplitter, wn as isSoftwareDecode, xn as buildFfmpegArgs } from "./dist-cT7hhXh9.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-_I6JkuJ8.js");
|
|
7
|
+
const require_node = require("../node-6zL5ddry.js");
|
|
8
|
+
const require_custom_model_catalog = require("../custom-model-catalog-CrEsRBe_.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 { $ as cameraOwnsMotionViaSensor, A as NativeLeaseAdmissionSchema, At as linkedStepOf, Dn as errMsg, Fn as defineCustomActions, Gn as _enum, Gt as pickDetailCropConvention, Jt as pipelineRunnerCapability, Kn as array, Kt as pickNativeLeaseOverride, Nn as createEvent, Pn as customAction, Qn as object, T as FailureCounters, Vn as nodePin, Xn as literal, Yn as lazy, Zn as number, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, cn as rootSuppliesOf, ft as deriveRootFaceRefineRect, in as resolveModelBoundSetting, j as NativeLeaseSettingsSchema, jt as loadContributionCapability, kn as BaseAddon, m as CROP_SUPPLY_SOURCES, q as allowedSuppliedEffect, qn as boolean, rr as EventCategory, sn as resolveRootSupply, tr as string, ut as deriveDetailCropRect, xt as failureContributionCapability, y as DEFAULT_NATIVE_LEASE_SETTINGS, z as ROOT_SUPPLIABLE_STEP_IDS } 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 { $ as cameraOwnsMotionViaSensor, A as NativeLeaseAdmissionSchema, At as linkedStepOf, Dn as errMsg, Fn as defineCustomActions, Gn as _enum, Gt as pickDetailCropConvention, Jt as pipelineRunnerCapability, Kn as array, Kt as pickNativeLeaseOverride, Nn as createEvent, Pn as customAction, Qn as object, T as FailureCounters, Vn as nodePin, Xn as literal, Yn as lazy, Zn as number, _ as DEFAULT_DETAIL_CROP_CONVENTION, a as BackgroundRunRegistry, cn as rootSuppliesOf, ft as deriveRootFaceRefineRect, in as resolveModelBoundSetting, j as NativeLeaseSettingsSchema, jt as loadContributionCapability, kn as BaseAddon, m as CROP_SUPPLY_SOURCES, q as allowedSuppliedEffect, qn as boolean, rr as EventCategory, sn as resolveRootSupply, tr as string, ut as deriveDetailCropRect, xt as failureContributionCapability, y as DEFAULT_NATIVE_LEASE_SETTINGS, z as ROOT_SUPPLIABLE_STEP_IDS } from "../dist-cT7hhXh9.mjs";
|
|
2
|
+
import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-Dmga8QNL.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-C7zLb7ze.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-_I6JkuJ8.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-_I6JkuJ8.js");
|
|
7
|
+
const require_node = require("../node-6zL5ddry.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 { $n as preprocess, $t as recordingSignalCapability, B as RecordingConfigSchema, Ct as gbToBytes, Dn as errMsg$1, En as DeviceType, Fn as defineCustomActions, Ft as mayReadLocation, Gn as _enum, I as RECORDING_EXPORT_MAX_READ_BYTES, It as mayWriteToLocation, Kn as array, L as RECORDING_SOURCE_CAMSTACK, Ln as hydrateSchema, Lt as memoizePinnedFfmpeg, M as OpsLogEntrySchema, Ot as isFirstLevelMacroClass, Pn as customAction, Q as batteryCapability, Qn as object, Qt as recordingExportCapability, R as RECORDING_SOURCE_CAMSTACK_ADDON, Rt as migrateLegacyDeviceSignalConfig, S as EVENT_PAD_MS, Sn as evaluateSensorEdge, Tn as DeviceFeature, U as VIDEOCLIPS_MAX_OFFER_BYTES, Un as selectAssignedProfileSlots, V as RecordingSignalStatusSchema, Vn as nodePin, W as VISIT_MERGE_GAP_MS, Wn as sleep$1, Xt as recordingArchiveCapability, Zn as number, Zt as recordingCapability, bt as exportSubjectOf, dn as storageEvictableCapability, dt as deriveRecordingMode, er as record, fn as storageOccupancyCapability, gn as videoclipsCapability, jt as loadContributionCapability, kn as BaseAddon, lt as deriveBatteryPresence, mn as stripRetiredBandPreBufferSec, nt as clipExportFailureOf, o as BatteryStatusSchema, on as resolveRecordingProfiles, qn as boolean, rn as resolveLocationMode, rr as EventCategory, s as CLIP_BROKER_PACED_RATES, tn as resolveCreateExportSubject, tr as string, tt as clipExportFailure, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vt as evictionPolicyForMode, w as ExportRecordSchema, x as EVENT_OWNER_TYPES, yt as evictionPolicyOfLocation, zt as modeMayWrite } from "../dist-
|
|
2
|
-
import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-
|
|
1
|
+
import { $n as preprocess, $t as recordingSignalCapability, B as RecordingConfigSchema, Ct as gbToBytes, Dn as errMsg$1, En as DeviceType, Fn as defineCustomActions, Ft as mayReadLocation, Gn as _enum, I as RECORDING_EXPORT_MAX_READ_BYTES, It as mayWriteToLocation, Kn as array, L as RECORDING_SOURCE_CAMSTACK, Ln as hydrateSchema, Lt as memoizePinnedFfmpeg, M as OpsLogEntrySchema, Ot as isFirstLevelMacroClass, Pn as customAction, Q as batteryCapability, Qn as object, Qt as recordingExportCapability, R as RECORDING_SOURCE_CAMSTACK_ADDON, Rt as migrateLegacyDeviceSignalConfig, S as EVENT_PAD_MS, Sn as evaluateSensorEdge, Tn as DeviceFeature, U as VIDEOCLIPS_MAX_OFFER_BYTES, Un as selectAssignedProfileSlots, V as RecordingSignalStatusSchema, Vn as nodePin, W as VISIT_MERGE_GAP_MS, Wn as sleep$1, Xt as recordingArchiveCapability, Zn as number, Zt as recordingCapability, bt as exportSubjectOf, dn as storageEvictableCapability, dt as deriveRecordingMode, er as record, fn as storageOccupancyCapability, gn as videoclipsCapability, jt as loadContributionCapability, kn as BaseAddon, lt as deriveBatteryPresence, mn as stripRetiredBandPreBufferSec, nt as clipExportFailureOf, o as BatteryStatusSchema, on as resolveRecordingProfiles, qn as boolean, rn as resolveLocationMode, rr as EventCategory, s as CLIP_BROKER_PACED_RATES, tn as resolveCreateExportSubject, tr as string, tt as clipExportFailure, v as DEFAULT_EVENTS_BAND_BUFFER_SEC, vt as evictionPolicyForMode, w as ExportRecordSchema, x as EVENT_OWNER_TYPES, yt as evictionPolicyOfLocation, zt as modeMayWrite } from "../dist-cT7hhXh9.mjs";
|
|
2
|
+
import { a as physicalRootOf, i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-Dmga8QNL.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-_I6JkuJ8.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 { Dn as errMsg } from "./dist-
|
|
2
|
+
import { Dn as errMsg } from "./dist-cT7hhXh9.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
|
-
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-
|
|
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-DATpA6mb.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-C2VoXjqc.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) => {
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.126",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_stream_broker_widgets",
|
|
@@ -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.325",
|
|
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.248",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_stream_broker_widgets",
|