@camstack/addon-post-analysis 1.2.629 → 1.2.630
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/{clip-model-registry-M_QM7l6j.js → clip-model-registry-DB0TSd14.js} +141 -86
- package/dist/{clip-model-registry-SrfKJ0e8.mjs → clip-model-registry-wZ4Nt5jo.mjs} +132 -83
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +2 -2
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-CUsaUp1g.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BjktQPk_.mjs} +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BxPKSyZo.mjs +26 -0
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DdbV-R1z.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-q1u97PmF.mjs → hostInit-BMCiXaWO.mjs} +2 -2
- package/dist/pipeline-analytics/index.js +340 -266
- package/dist/pipeline-analytics/index.mjs +339 -265
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DxapkUgD.mjs +0 -26
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-D7KeW_uB.mjs +0 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHash } from "node:crypto";
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-Ceif8n-v.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -471,6 +471,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
471
471
|
* on the device detail page.
|
|
472
472
|
*/
|
|
473
473
|
EventCategory["DoorbellOnPressed"] = "doorbell.onPressed";
|
|
474
|
+
/** Mirrors `runningStateCapability.events.onStarted`. */
|
|
475
|
+
EventCategory["RunningStarted"] = "running.started";
|
|
476
|
+
/** Mirrors `runningStateCapability.events.onFinished`. */
|
|
477
|
+
EventCategory["RunningFinished"] = "running.finished";
|
|
474
478
|
/**
|
|
475
479
|
* Cap event fired by every device that registers the `event-emitter`
|
|
476
480
|
* capability. Mirrors `eventEmitterCapability.events.onEvent`. Carries
|
|
@@ -5628,7 +5632,7 @@ var ZodIssueCode = {
|
|
|
5628
5632
|
var ZodFirstPartyTypeKind;
|
|
5629
5633
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5630
5634
|
//#endregion
|
|
5631
|
-
//#region ../types/dist/sleep-
|
|
5635
|
+
//#region ../types/dist/sleep-CYfIZzGv.mjs
|
|
5632
5636
|
/**
|
|
5633
5637
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5634
5638
|
* window to float samples (D455).
|
|
@@ -5967,7 +5971,7 @@ Object.fromEntries([
|
|
|
5967
5971
|
* `hydrateSchema` to skip the `value` injection for structural-only fields.
|
|
5968
5972
|
*/
|
|
5969
5973
|
function isValuelessField(field) {
|
|
5970
|
-
return field.type === "separator" || field.type === "info" || field.type === "qr-code" || field.type === "button" || field.type === "object-array" || field.type === "widget" || field.type === "addon-action-button" || field.type === "device-action-button";
|
|
5974
|
+
return field.type === "separator" || field.type === "info" || field.type === "qr-code" || field.type === "button" || field.type === "object-array" || field.type === "widget" || field.type === "addon-action-button" || field.type === "device-action-button" || field.type === "account-sign-in" || field.type === "secret-presence";
|
|
5971
5975
|
}
|
|
5972
5976
|
function hydrateSchema(schema, values, options = {}) {
|
|
5973
5977
|
return {
|
|
@@ -8885,7 +8889,7 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
|
|
|
8885
8889
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
8886
8890
|
* (~144MB RSS per runner, D28).
|
|
8887
8891
|
*
|
|
8888
|
-
* Coverage:
|
|
8892
|
+
* Coverage: 91 device-scoped capabilities.
|
|
8889
8893
|
*/
|
|
8890
8894
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
8891
8895
|
"accessories",
|
|
@@ -8957,6 +8961,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
8957
8961
|
"recording",
|
|
8958
8962
|
"recording-onboard",
|
|
8959
8963
|
"recording-signal",
|
|
8964
|
+
"running-state",
|
|
8960
8965
|
"scene-monitor",
|
|
8961
8966
|
"script-runner",
|
|
8962
8967
|
"smoke",
|
|
@@ -9376,7 +9381,7 @@ function errMsg(err) {
|
|
|
9376
9381
|
return String(err);
|
|
9377
9382
|
}
|
|
9378
9383
|
//#endregion
|
|
9379
|
-
//#region ../types/dist/composition-
|
|
9384
|
+
//#region ../types/dist/composition-xz-ud5EQ.mjs
|
|
9380
9385
|
/**
|
|
9381
9386
|
* Deterministic SHA-256 hash of an arbitrary serialisable value. The
|
|
9382
9387
|
* canonical form sorts object keys alphabetically at every depth so two
|
|
@@ -9837,6 +9842,20 @@ var table = {
|
|
|
9837
9842
|
apply: () => {
|
|
9838
9843
|
throw new ExpressionEvalError("count: stateful evaluation context is required");
|
|
9839
9844
|
}
|
|
9845
|
+
},
|
|
9846
|
+
dwell: {
|
|
9847
|
+
minArgs: 3,
|
|
9848
|
+
maxArgs: 3,
|
|
9849
|
+
apply: () => {
|
|
9850
|
+
throw new ExpressionEvalError("dwell: stateful evaluation context is required");
|
|
9851
|
+
}
|
|
9852
|
+
},
|
|
9853
|
+
latchedAt: {
|
|
9854
|
+
minArgs: 1,
|
|
9855
|
+
maxArgs: 1,
|
|
9856
|
+
apply: () => {
|
|
9857
|
+
throw new ExpressionEvalError("latchedAt: stateful evaluation context is required");
|
|
9858
|
+
}
|
|
9840
9859
|
}
|
|
9841
9860
|
};
|
|
9842
9861
|
Object.freeze(Object.assign(Object.create(null), table));
|
|
@@ -17569,7 +17588,15 @@ Object.freeze({
|
|
|
17569
17588
|
kind: "fixed",
|
|
17570
17589
|
result: ["number", "null"]
|
|
17571
17590
|
},
|
|
17572
|
-
count: NUMBER
|
|
17591
|
+
count: NUMBER,
|
|
17592
|
+
dwell: {
|
|
17593
|
+
kind: "fixed",
|
|
17594
|
+
result: ["boolean", "null"]
|
|
17595
|
+
},
|
|
17596
|
+
latchedAt: {
|
|
17597
|
+
kind: "fixed",
|
|
17598
|
+
result: ["number", "null"]
|
|
17599
|
+
}
|
|
17573
17600
|
});
|
|
17574
17601
|
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
17575
17602
|
/**
|
|
@@ -44153,9 +44180,6 @@ var NcSystemEventKindSchema = _enum([
|
|
|
44153
44180
|
"device-battery-normal",
|
|
44154
44181
|
"device-consumable-low",
|
|
44155
44182
|
"device-consumable-normal",
|
|
44156
|
-
"device-tank-low",
|
|
44157
|
-
"device-tank-full",
|
|
44158
|
-
"device-tank-normal",
|
|
44159
44183
|
"stream-online",
|
|
44160
44184
|
"stream-offline",
|
|
44161
44185
|
"node-online",
|
|
@@ -44202,13 +44226,14 @@ var NcSystemEventKindSchema = _enum([
|
|
|
44202
44226
|
"camera-enabled"
|
|
44203
44227
|
]);
|
|
44204
44228
|
/** The legacy tail of {@link NcSystemEventKindSchema} — see its docblock. */
|
|
44205
|
-
var NC_LEGACY_SYSTEM_EVENT_KINDS =
|
|
44229
|
+
var NC_LEGACY_SYSTEM_EVENT_KINDS = [
|
|
44206
44230
|
"camera-online",
|
|
44207
44231
|
"camera-offline",
|
|
44208
44232
|
"camera-disabled",
|
|
44209
44233
|
"camera-enabled"
|
|
44210
|
-
]
|
|
44211
|
-
|
|
44234
|
+
];
|
|
44235
|
+
var NC_LEGACY_SYSTEM_EVENT_KIND_SET = new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
44236
|
+
NcSystemEventKindSchema.options.filter((kind) => !NC_LEGACY_SYSTEM_EVENT_KIND_SET.has(kind));
|
|
44212
44237
|
/**
|
|
44213
44238
|
* The panel's transitions, as ONE list.
|
|
44214
44239
|
*
|
|
@@ -44238,12 +44263,6 @@ var NC_ALARM_SYSTEM_EVENT_KINDS = [
|
|
|
44238
44263
|
* and both editors read it.
|
|
44239
44264
|
*/
|
|
44240
44265
|
var NC_CONSUMABLE_SYSTEM_EVENT_KINDS = ["device-consumable-low", "device-consumable-normal"];
|
|
44241
|
-
/** A vacuum's tank alerts (D642) — raised on the provider's own verdict. */
|
|
44242
|
-
var NC_TANK_SYSTEM_EVENT_KINDS = [
|
|
44243
|
-
"device-tank-low",
|
|
44244
|
-
"device-tank-full",
|
|
44245
|
-
"device-tank-normal"
|
|
44246
|
-
];
|
|
44247
44266
|
/**
|
|
44248
44267
|
* The consumable threshold a rule that does not state one judges at (D642).
|
|
44249
44268
|
* The operator's number ("default 15 %, configurable on the rule"), and the
|
|
@@ -45419,18 +45438,18 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
45419
45438
|
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
45420
45439
|
* job is not an open state, and the alarm stays instant.
|
|
45421
45440
|
*/
|
|
45422
|
-
var
|
|
45441
|
+
var NC_STATE_SUMMARY_SECTION_IDS = [
|
|
45423
45442
|
"device-state",
|
|
45424
45443
|
"streams",
|
|
45425
45444
|
"battery",
|
|
45426
45445
|
"consumables",
|
|
45427
|
-
"tanks",
|
|
45428
45446
|
"detection-blind",
|
|
45429
45447
|
"nodes",
|
|
45430
45448
|
"addons",
|
|
45431
45449
|
"addon-updates",
|
|
45432
45450
|
"updates"
|
|
45433
|
-
]
|
|
45451
|
+
];
|
|
45452
|
+
var NcStateSummarySectionIdSchema = _enum(NC_STATE_SUMMARY_SECTION_IDS);
|
|
45434
45453
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
45435
45454
|
var NcStateSummaryPreviewSectionSchema = object({
|
|
45436
45455
|
id: NcStateSummarySectionIdSchema,
|
|
@@ -45805,18 +45824,6 @@ var NC_CONDITION_CATALOG = [
|
|
|
45805
45824
|
value: "device-consumable-normal",
|
|
45806
45825
|
label: "Consumable replaced"
|
|
45807
45826
|
},
|
|
45808
|
-
{
|
|
45809
|
-
value: "device-tank-low",
|
|
45810
|
-
label: "Tank low (water, detergent)"
|
|
45811
|
-
},
|
|
45812
|
-
{
|
|
45813
|
-
value: "device-tank-full",
|
|
45814
|
-
label: "Tank full (dirty water, dust)"
|
|
45815
|
-
},
|
|
45816
|
-
{
|
|
45817
|
-
value: "device-tank-normal",
|
|
45818
|
-
label: "Tank back to normal"
|
|
45819
|
-
},
|
|
45820
45827
|
{
|
|
45821
45828
|
value: "export-completed",
|
|
45822
45829
|
label: "Export completed"
|
|
@@ -58856,6 +58863,20 @@ _enum([
|
|
|
58856
58863
|
"empty",
|
|
58857
58864
|
"full"
|
|
58858
58865
|
]);
|
|
58866
|
+
/** The kind of an item, with the documented default for an absent one. */
|
|
58867
|
+
function consumableKindOf(item) {
|
|
58868
|
+
return item.kind ?? "wear";
|
|
58869
|
+
}
|
|
58870
|
+
/** The kind's default form: wear → part, waste → bin, supply → product. */
|
|
58871
|
+
var FORM_OF_KIND = {
|
|
58872
|
+
wear: "part",
|
|
58873
|
+
waste: "bin",
|
|
58874
|
+
supply: "product"
|
|
58875
|
+
};
|
|
58876
|
+
/** The form of an item: its own when the provider names one, else its kind's default. */
|
|
58877
|
+
function consumableFormOf(item) {
|
|
58878
|
+
return item.form ?? FORM_OF_KIND[consumableKindOf(item)];
|
|
58879
|
+
}
|
|
58859
58880
|
/** Units a remaining-life counter is reported in. Closed: the panel renders
|
|
58860
58881
|
* each. */
|
|
58861
58882
|
var ConsumableRemainingUnitSchema = _enum([
|
|
@@ -65187,6 +65208,41 @@ var ptzAutotrackCapability = {
|
|
|
65187
65208
|
*/
|
|
65188
65209
|
history: "none"
|
|
65189
65210
|
};
|
|
65211
|
+
var RunningStateSourceSchema = _enum(["native", "assigned"]);
|
|
65212
|
+
var RunningStateStatusSchema = object({
|
|
65213
|
+
/** null = unknown — never coerced to false (D393). */
|
|
65214
|
+
running: boolean().nullable(),
|
|
65215
|
+
/** Epoch ms the current boolean began; null while `running` is null. */
|
|
65216
|
+
since: number().nullable(),
|
|
65217
|
+
source: RunningStateSourceSchema,
|
|
65218
|
+
phase: string().nullable(),
|
|
65219
|
+
lastFetchedAt: number()
|
|
65220
|
+
});
|
|
65221
|
+
var RunningFlipEventDataSchema = object({
|
|
65222
|
+
deviceId: number(),
|
|
65223
|
+
since: number().nullable(),
|
|
65224
|
+
phase: string().nullable()
|
|
65225
|
+
});
|
|
65226
|
+
var runningStateCapability = {
|
|
65227
|
+
name: "running-state",
|
|
65228
|
+
scope: "device",
|
|
65229
|
+
deviceNative: true,
|
|
65230
|
+
mode: "singleton",
|
|
65231
|
+
deviceTypes: Object.values(DeviceType),
|
|
65232
|
+
methods: {},
|
|
65233
|
+
events: {
|
|
65234
|
+
onStarted: { data: RunningFlipEventDataSchema },
|
|
65235
|
+
onFinished: { data: RunningFlipEventDataSchema }
|
|
65236
|
+
},
|
|
65237
|
+
status: {
|
|
65238
|
+
schema: RunningStateStatusSchema,
|
|
65239
|
+
kind: "push"
|
|
65240
|
+
},
|
|
65241
|
+
runtimeState: RunningStateStatusSchema,
|
|
65242
|
+
durability: "restored",
|
|
65243
|
+
history: { fields: { running: { kind: "boolean" } } },
|
|
65244
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
65245
|
+
};
|
|
65190
65246
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
|
|
65191
65247
|
kind: "mutation",
|
|
65192
65248
|
auth: "admin"
|
|
@@ -70271,6 +70327,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
70271
70327
|
ptzAutotrack: ptzAutotrackCapability,
|
|
70272
70328
|
recordingOnboard: recordingOnboardCapability,
|
|
70273
70329
|
recordingSignal: recordingSignalCapability,
|
|
70330
|
+
runningState: runningStateCapability,
|
|
70274
70331
|
sceneMonitor: sceneMonitorCapability,
|
|
70275
70332
|
scriptRunner: scriptRunnerCapability,
|
|
70276
70333
|
smoke: smokeCapability,
|
|
@@ -78530,6 +78587,13 @@ Object.freeze({
|
|
|
78530
78587
|
access: "create",
|
|
78531
78588
|
role: "admin"
|
|
78532
78589
|
},
|
|
78590
|
+
"runningState.getStatus": {
|
|
78591
|
+
capName: "running-state",
|
|
78592
|
+
capScope: "device",
|
|
78593
|
+
addonId: null,
|
|
78594
|
+
access: "view",
|
|
78595
|
+
role: "viewer"
|
|
78596
|
+
},
|
|
78533
78597
|
"sceneMonitor.captureReference": {
|
|
78534
78598
|
capName: "scene-monitor",
|
|
78535
78599
|
capScope: "device",
|
|
@@ -83244,6 +83308,32 @@ var APPLIANCE_CAP_VOCABULARY = {
|
|
|
83244
83308
|
}],
|
|
83245
83309
|
events: { onSent: { notOperatorFacing: "a delivery receipt of a send this system made — not a fact about the world" } }
|
|
83246
83310
|
},
|
|
83311
|
+
"running-state": {
|
|
83312
|
+
scope: "device",
|
|
83313
|
+
noun: t("Running", "In funzione"),
|
|
83314
|
+
state: [{
|
|
83315
|
+
kind: "boolean",
|
|
83316
|
+
field: "running",
|
|
83317
|
+
label: t("Running", "In funzione"),
|
|
83318
|
+
whenTrue: t("When {device} starts", "Quando {device} inizia"),
|
|
83319
|
+
whenFalse: t("When {device} finishes", "Quando {device} finisce"),
|
|
83320
|
+
icon: "play"
|
|
83321
|
+
}],
|
|
83322
|
+
events: {
|
|
83323
|
+
onStarted: {
|
|
83324
|
+
category: EventCategory.RunningStarted,
|
|
83325
|
+
label: t("Started running", "Ha iniziato a funzionare"),
|
|
83326
|
+
phrase: t("When {device} starts running", "Quando {device} inizia a funzionare"),
|
|
83327
|
+
icon: "play"
|
|
83328
|
+
},
|
|
83329
|
+
onFinished: {
|
|
83330
|
+
category: EventCategory.RunningFinished,
|
|
83331
|
+
label: t("Finished", "Ha finito"),
|
|
83332
|
+
phrase: t("When {device} finishes", "Quando {device} finisce"),
|
|
83333
|
+
icon: "square"
|
|
83334
|
+
}
|
|
83335
|
+
}
|
|
83336
|
+
},
|
|
83247
83337
|
update: {
|
|
83248
83338
|
scope: "device",
|
|
83249
83339
|
noun: t("Firmware update", "Aggiornamento firmware"),
|
|
@@ -86784,6 +86874,11 @@ Object.freeze({
|
|
|
86784
86874
|
form: "single",
|
|
86785
86875
|
optional: true
|
|
86786
86876
|
}],
|
|
86877
|
+
"runningState.getStatus": [{
|
|
86878
|
+
name: "deviceId",
|
|
86879
|
+
form: "single",
|
|
86880
|
+
optional: false
|
|
86881
|
+
}],
|
|
86787
86882
|
"sceneMonitor.captureReference": [{
|
|
86788
86883
|
name: "deviceId",
|
|
86789
86884
|
form: "single",
|
|
@@ -87500,6 +87595,7 @@ new Set(["devices", "classes"]);
|
|
|
87500
87595
|
* narrows, and still fails CLOSED on a subject that cannot produce the identity
|
|
87501
87596
|
* it tests (a device the mirror cannot name is not evidence of a camera).
|
|
87502
87597
|
*/
|
|
87598
|
+
var LEGACY_KINDS_WITHOUT_FILTERS = new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
87503
87599
|
/**
|
|
87504
87600
|
* Every filter, for the callers that must cover all of them (guards, tests).
|
|
87505
87601
|
*
|
|
@@ -87523,6 +87619,7 @@ var NC_SYSTEM_EVENT_FILTER_KEYS = [
|
|
|
87523
87619
|
* ignores it and an editor hides its input. It never means "excluded".
|
|
87524
87620
|
*/
|
|
87525
87621
|
function systemEventFilterApplies(kind, filter) {
|
|
87622
|
+
if (LEGACY_KINDS_WITHOUT_FILTERS.has(kind)) return false;
|
|
87526
87623
|
switch (filter) {
|
|
87527
87624
|
case "deviceIds": return kind.startsWith("device-") || kind.startsWith("stream-") || kind === "detection-blind" || kind.startsWith("motion-") || kind.startsWith("recording-") || kind === "alarm-triggered";
|
|
87528
87625
|
case "deviceTypes": return kind.startsWith("device-") || kind === "detection-blind" || kind.startsWith("motion-");
|
|
@@ -87564,9 +87661,6 @@ var NC_SYSTEM_EVENT_FAMILY = {
|
|
|
87564
87661
|
"device-battery-normal": "device-events",
|
|
87565
87662
|
"device-consumable-low": "device-events",
|
|
87566
87663
|
"device-consumable-normal": "device-events",
|
|
87567
|
-
"device-tank-low": "device-events",
|
|
87568
|
-
"device-tank-full": "device-events",
|
|
87569
|
-
"device-tank-normal": "device-events",
|
|
87570
87664
|
"stream-online": "device-events",
|
|
87571
87665
|
"stream-offline": "device-events",
|
|
87572
87666
|
"detection-blind": "device-events",
|
|
@@ -87661,16 +87755,6 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
87661
87755
|
label: "Consumables",
|
|
87662
87756
|
kinds: ["device-consumable-low", "device-consumable-normal"]
|
|
87663
87757
|
},
|
|
87664
|
-
{
|
|
87665
|
-
id: "tanks",
|
|
87666
|
-
family: "device-events",
|
|
87667
|
-
label: "Tanks",
|
|
87668
|
-
kinds: [
|
|
87669
|
-
"device-tank-low",
|
|
87670
|
-
"device-tank-full",
|
|
87671
|
-
"device-tank-normal"
|
|
87672
|
-
]
|
|
87673
|
-
},
|
|
87674
87758
|
{
|
|
87675
87759
|
id: "detection-blind",
|
|
87676
87760
|
family: "device-events",
|
|
@@ -89079,11 +89163,6 @@ var RULE_BODY_ONLY = ["body"];
|
|
|
89079
89163
|
var RULE_TEXT = ["title", "body"];
|
|
89080
89164
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
89081
89165
|
var CONSUMABLE = ["device-consumable-low", "device-consumable-normal"];
|
|
89082
|
-
var TANK = [
|
|
89083
|
-
"device-tank-low",
|
|
89084
|
-
"device-tank-full",
|
|
89085
|
-
"device-tank-normal"
|
|
89086
|
-
];
|
|
89087
89166
|
var ALERT_EPISODE = [
|
|
89088
89167
|
"alert-critical",
|
|
89089
89168
|
"alert-error",
|
|
@@ -89115,7 +89194,6 @@ var DEVICE_EVENTS = [
|
|
|
89115
89194
|
"device-enabled",
|
|
89116
89195
|
...BATTERY,
|
|
89117
89196
|
...CONSUMABLE,
|
|
89118
|
-
...TANK,
|
|
89119
89197
|
"stream-online",
|
|
89120
89198
|
"stream-offline",
|
|
89121
89199
|
"detection-blind",
|
|
@@ -89161,12 +89239,6 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
89161
89239
|
example: "Robot — filter 10 %",
|
|
89162
89240
|
kinds: CONSUMABLE
|
|
89163
89241
|
},
|
|
89164
|
-
{
|
|
89165
|
-
name: "summaryTanks",
|
|
89166
|
-
label: "Summary: tanks",
|
|
89167
|
-
example: "Robot — clean water low",
|
|
89168
|
-
kinds: TANK
|
|
89169
|
-
},
|
|
89170
89242
|
{
|
|
89171
89243
|
name: "summaryDetection",
|
|
89172
89244
|
label: "Summary: cameras detecting nothing",
|
|
@@ -89575,18 +89647,7 @@ var NC_TEMPLATE_VARS = [
|
|
|
89575
89647
|
families: ["rule"],
|
|
89576
89648
|
fields: [...RULE_TEXT],
|
|
89577
89649
|
kinds: ["system"],
|
|
89578
|
-
systemEventKinds: [...CONSUMABLE
|
|
89579
|
-
},
|
|
89580
|
-
{
|
|
89581
|
-
name: "tank",
|
|
89582
|
-
label: "Tank",
|
|
89583
|
-
description: "Which tank, as a stable token: cleanWater, dirtyWater, detergent, dustBin, or the device key of any other supply (salt, rinse aid).",
|
|
89584
|
-
example: "clean water",
|
|
89585
|
-
group: "system",
|
|
89586
|
-
families: ["rule"],
|
|
89587
|
-
fields: [...RULE_TEXT],
|
|
89588
|
-
kinds: ["system"],
|
|
89589
|
-
systemEventKinds: [...TANK]
|
|
89650
|
+
systemEventKinds: [...CONSUMABLE]
|
|
89590
89651
|
},
|
|
89591
89652
|
{
|
|
89592
89653
|
name: "profile",
|
|
@@ -90237,9 +90298,6 @@ var NC_TEMPLATE_VARS = [
|
|
|
90237
90298
|
* delete it from here then, and the served catalog names it again.
|
|
90238
90299
|
*/
|
|
90239
90300
|
var NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS = [
|
|
90240
|
-
"device-tank-low",
|
|
90241
|
-
"device-tank-full",
|
|
90242
|
-
"device-tank-normal",
|
|
90243
90301
|
"node-restarting",
|
|
90244
90302
|
"node-updating",
|
|
90245
90303
|
"alert-critical",
|
|
@@ -90399,15 +90457,6 @@ var CLASS_BY_KIND = new Map([
|
|
|
90399
90457
|
snapshotLabel: "Consumables low now",
|
|
90400
90458
|
snapshotSection: "consumables"
|
|
90401
90459
|
},
|
|
90402
|
-
{
|
|
90403
|
-
id: "tanks",
|
|
90404
|
-
family: "device-events",
|
|
90405
|
-
label: "Tanks (low or full / back to normal)",
|
|
90406
|
-
bad: ["device-tank-low", "device-tank-full"],
|
|
90407
|
-
recovery: ["device-tank-normal"],
|
|
90408
|
-
snapshotLabel: "Tanks low or full now",
|
|
90409
|
-
snapshotSection: "tanks"
|
|
90410
|
-
},
|
|
90411
90460
|
{
|
|
90412
90461
|
id: "motion-noise",
|
|
90413
90462
|
family: "device-events",
|
|
@@ -92325,4 +92374,4 @@ function buildClipModelRegistry(entries) {
|
|
|
92325
92374
|
/** The built-in catalog's registry. */
|
|
92326
92375
|
var BUILTIN_CLIP_MODELS = buildClipModelRegistry(CLIP_IMAGE_MODELS);
|
|
92327
92376
|
//#endregion
|
|
92328
|
-
export { MediaFileKindEnum as $,
|
|
92377
|
+
export { MediaFileKindEnum as $, RECORD_QUERY_MAX as $i, consumableFormOf as $n, parseProcStatus as $r, OpsLogEntrySchema as $t, DeclaredDevices as A, summarizeReview as Ai, TrackSideSchema as An, isDefaultAlarmProfileId as Ar, NcAlarmSensorsInputSchema as At, FULL_IMAGE_BBOX as B, viewerLinkBaseOf as Bi, applyModeDelaysEdits as Bn, isScheduleActive as Br, NcRuleUpdateInputSchema as Bt, ClearTrackRelationResultSchema as C, tuple as Ca, sensorRaisedOf as Ci, TimelapseRuleInputSchema as Cn, gifDeriveSpeed as Cr, NC_SNOOZE_MAX_MINUTES as Ct, DEFAULT_TIMELAPSE_PREVIEW_TEXT as D, subKindsOf as Di, TrackPuritySchema as Dn, isAlertEpisodeSeverity as Dr, NC_TEMPLATE_VARS as Dt, DEFAULT_EVENT_COLOR as E, EventCategory as Ea, storageOccupancyCapability as Ei, TrackPlacementSchema as En, isAlertEpisodeOpen as Er, NC_TAXONOMY as Et, EVENT_DENSITY_BATCH_MAX as F, systemEventSummaryScheduleOf as Fi, alarmPanelCapability as Fn, isKnownTemplateVar as Fr, NcRuleActionSchema as Ft, ListTrackRelationsResultSchema as G, evaluateSensorEdge as Gi, audioMetricsCapability as Gn, linkedStepOf as Gr, NcSnoozeSuppressedSchema as Gt, LABEL_SUPPLY_MACRO as H, zoneAnalyticsCapability as Hi, applySecureOnArmEdit as Hn, isSystemEventSummaryRule as Hr, NcSharedSequenceSchema as Ht, EVENT_KIND_BY_CAP as I, systemEventSummarySplitOf as Ii, alertEpisodeId as In, isLabelSupplyStepId as Ir, NcRuleInputSchema as It, MAX_BIRTH_DECISION_RECORDS as J, errMsg as Ji, buildSubjectPath as Jn, ncMediaPolicyError as Jr, NcTaxonomySchema as Jt, LockStateSchema as K, isSourceCap as Ki, audioModeOf as Kn, mayWriteToLocation as Kr, NcStateSummarySectionIdSchema as Kt, EVENT_OWNER_TYPES as L, templateCarriesSummary as Li, alertEpisodeKind as Ln, isMediaOwnerType as Lr, NcRulePatchSchema as Lt, EMBEDDING_MODEL_FAILED as M, systemEventDeliveryProblems as Mi, activateAlarmProfile as Mn, isDrawableSubjectPath as Mr, NcAlarmSettingsPatchSchema as Mt, EMBEDDING_REQUIREMENTS_FAILED as N, systemEventFamilyProblems as Ni, addonWidgetsSourceCapability as Nn, isEventKindLabelKey as Nr, NcConditionDescriptorSchema as Nt, DETECTION_MACRO_CLASSES as O, subjectPathSampleFromBox as Oi, TrackRelationKindSchema as On, isAppLinkBase as Or, NcAlarmConfigSchema as Ot, EMBEDDING_REQUIREMENTS_UNAVAILABLE as P, systemEventFilterApplies as Pi, alarmDeviceSecureOnArm as Pn, isEventOwnerType as Pr, NcConditionsSchema as Pt, MOTION_CLOSE_AFTER_MS as Q, RECORD_MAX_DATA_BYTES as Qi, cloneAlarmSettings as Qn, parseAlertEpisodePayload as Qr, OPS_LOG_DEFAULT_LIMIT as Qt, EXPORT_DENSE_MAX_RANGES as R, templateVarsFor as Ri, alertEpisodePayload as Rn, isRetiredClearKey as Rr, NcRuleSchema as Rt, ClearTrackRelationInputSchema as S, templateLiteral as Sa, secureActuationFor as Si, TRACK_RELATIONS_DEFAULT_LIMIT as Sn, failureContributionCapability as Sr, NC_SENSOR_TRANSITION_KINDS as St, DEFAULT_DETAIL_CROP_CONVENTION as T, unknown as Ta, startMoverUnderClearance as Ti, TimelapseRuleSchema as Tn, isAlarmControllableCap as Tr, NC_SYSTEM_EVENT_KIND_GROUP_SPECS as Tt, LabelAttributionSchema as U, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as Ui, armRemovalReconcile as Un, isVectorIndexDimConflict as Ur, NcSnoozeInputSchema as Ut, FailureCounters as V, withSystemEventClasses as Vi, applyNonBlockingEdit as Vn, isSystemDelivery as Vr, NcScheduleSchema as Vt, ListTrackRelationsInputSchema as W, canonicalHash as Wi, assertTimelapseCadences as Wn, kebabToCamel as Wr, NcSnoozeSchema as Wt, MAX_TRACK_PURITIES as X, CamProfileSchema as Xi, calendarEventLocalSpan as Xn, notificationRulesCapability as Xr, NcTemplatePreviewSchema as Xt, MAX_BIRTH_LATENCY_PROXY_MS as Y, BaseAddon as Yi, buildViewerLink as Yn, normalizeNcMediaPolicy as Yr, NcTemplatePreviewInputSchema as Yt, MAX_TRACK_RELATIONS as Z, InvalidRecordError as Zi, classifyRetrainReview as Zn, occupancyScope as Zr, NcTemplateVarDescriptorSchema as Zt, BIRTH_DECISION_DEFAULT_LIMIT as _, object as _a, ruleBelongsToAlarm as _i, SceneMonitorSchema as _n, encodeVectorBase64 as _r, NC_CONSUMABLE_SYSTEM_EVENT_KINDS as _t, CLIP_EMBEDDING_STEP_ID as a, isDeviceScopedCap as aa, readMotionTriggeredBy as ai, RetrainDismissedSchema as an, deriveDetailCropRect as ar, NC_ALARM_NOTIFY_FIELDS as at, BucketAccumulator as b, strictObject as ba, ruleKindOf as bi, SetTrackRelationInputSchema as bn, evictionPolicyOfLocation as br, NC_GROUPING_MAX_SEC as bt, readClusterModelPinStrict as c, sleep as ca, resolveClipSearchMinScore as ci, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX as cn, describeSystemEventDeliveryProblem as cr, NC_AUDIO_CONFIRM_HITS_DEFAULT as ct, APPEARANCE_BLOCKS as d, array as da, resolveModeNotifyPolicy as di, SCENE_DEFAULT_CHECK_INTERVAL_SEC as dn, deviceRemovalHookCapability as dr, NC_CLIP_PRE_ROLL_DEFAULT_SEC as dt, createEvent as ea, pickFaceRescoreIntervalMinutes as ei, PackageLlmVerdictSchema as en, consumableLowPercentOf as er, MotionTriggeredBySchema as et, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT as f, boolean as fa, resolveNcMediaImage as fi, SCENE_DEFAULT_OBSERVATION_SPACING_SEC as fn, embeddingEncoderCapability as fr, NC_CLIP_RETENTION_MAX_SEC as ft, ArchivedDebugNoteSchema as g, number as ga, ruleAutoTriggersAlarm as gi, SCENE_RESET_RECAPTURES as gn, embeddingRequirementsUnavailableError as gr, NC_CONSUMABLE_LOW_PERCENT_DEFAULT as gt, AlarmArmModeSchema as h, looseObject as ha, rootSupplyServes as hi, SCENE_DIVERGED as hn, embeddingRequirementsFailedError as hr, NC_CONFIRM_DEFAULT_TIMEOUT_MS as ht, CLIP_TEXT_MODELS as i, hydrateSchema as ia, readDeviceStateFrom as ii, RebuildObjectEmbeddingsRefusalSchema as in, deleteAlarmProfile as ir, NC_ALARM_DELAY_MAX_SEC as it, DetectionSourceSchema as j, syncActiveAlarmProfileSettings as ji, TrackSourceSchema as jn, isDetectionMacroClass as jr, NcAlarmSensorsSchema as jt, DETECTION_PIPELINE_CAP_NAME as k, subjectPathSvgPoints as ki, TrackRelationSchema as kn, isAudioClassName as kr, NcAlarmPostTriggeredActionSchema as kt, resolveClusterModelPin as l, ZodObject as la, resolveLocationMode as li, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as ln, describeSystemEventFamilyProblem as lr, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT as lt, AUDIO_MACRO_LABELS as m, literal as ma, retrainRevisionConflictMessage as mi, SCENE_DEFAULT_UNCOVERED_POLICY as mn, embeddingRefusalOf as mr, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX as mt, DEFAULT_CLIP_MODEL as n, defineCustomActions as na, plateGalleryCapability as ni, RECORDING_EXPORT_MAX_READ_BYTES as nn, cosineSimilarity as nr, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC as nt, CLUSTER_MODEL_OWNER_ADDON_ID as o, nodePin as oa, readTimelapseGeneratedAt as oi, RetrainOriginSchema as on, derivePostTriggeredAction as or, NC_ALARM_SYSTEM_EVENT_KINDS as ot, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT as p, discriminatedUnion as pa, resolvePoolMemoryPolicy as pi, SCENE_DEFAULT_QUIET_SECONDS as pn, embeddingModelFailedError as pr, NC_CONDITION_CATALOG as pt, MAX_ARCHIVED_DEBUG_NOTES as q, DeviceType as qi, buildEventKindDescriptor as qn, memoizePinnedFfmpeg as qr, NcSystemEventKindSchema as qt, CLIP_IMAGE_MODELS as r, defineRecordKinds as ra, projectSubjectPath as ri, RECORDING_SOURCE_CAMSTACK_ADDON as rn, createAlarmProfile as rr, NC_ALARM_DELAY_FIELDS as rt, FACE_EMBEDDING_STEP_ID as s, normalizeNodeId as sa, renameAlarmProfile as si, RetrainStatusSchema as sn, deriveRecordingMode as sr, NC_ALARM_TRIGGERED_MAX_SEC as st, BUILTIN_CLIP_MODELS as t, customAction as ta, pipelineAnalyticsCapability as ti, PoolMemoryWatchdog as tn, coreBlockIdFromAddonId as tr, NC_ALARM_DEFAULT_PROFILE_ID as tt, APPEARANCE_BIN_COUNT as u, _enum as ua, resolveModeDelays as ui, SCENE_DEFAULT_ANCHOR_THRESHOLD as un, deviceAttentionKind as ur, NC_CLIP_POST_ROLL_DEFAULT_SEC as ut, BaseDevice as v, partialRecord as va, ruleDeviceCompatCapQueries as vi, SetTrackPurityInputSchema as vn, ensureAlarmProfiles as vr, NC_DEFAULT_SNOOZE_MINUTES as vt, CoverStateSchema as w, union as wa, servedTemplateVars as wi, TimelapseRulePatchSchema as wn, gifFromMp4Args as wr, NC_STATE_SUMMARY_SECTION_IDS as wt, COCO_TO_MACRO as x, string as xa, sceneMonitorCapability as xi, TIMELAPSE_DENSE_FLOOR_SEC as xn, faceGalleryCapability as xr, NC_GROUPING_MIN_SEC as xt, BirthDecisionRecordSchema as y, record as ya, ruleGroupingApplies as yi, SetTrackPurityResultSchema as yn, eventKindLabel as yr, NC_GROUPING_DEFAULT_SEC as yt, FIRST_LEVEL_MACRO_CLASSES as z, vectorDimFromBase64 as zi, applyBlockingEdit as zn, isRootSuppliableStepId as zr, NcRuleTargetSchema as zt };
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_clip_model_registry = require("../clip-model-registry-
|
|
5
|
+
const require_clip_model_registry = require("../clip-model-registry-DB0TSd14.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_clip_model_registry.__toESM(node_fs);
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as parseProcStatus, Yi as BaseAddon, a as CLIP_EMBEDDING_STEP_ID, fr as embeddingEncoderCapability, gr as embeddingRequirementsUnavailableError, hr as embeddingRequirementsFailedError, i as CLIP_TEXT_MODELS, l as resolveClusterModelPin, n as DEFAULT_CLIP_MODEL, pi as resolvePoolMemoryPolicy, pr as embeddingModelFailedError, r as CLIP_IMAGE_MODELS, sa as normalizeNodeId, t as BUILTIN_CLIP_MODELS, tn as PoolMemoryWatchdog } from "../clip-model-registry-wZ4Nt5jo.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.js-Cx9AsA5q.mjs";
|
|
2
2
|
import { t as o } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B3Wx5J80.mjs";
|
|
3
|
-
import { a as s, c, d as l, f as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
3
|
+
import { a as s, c, d as l, f as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DdbV-R1z.mjs";
|
|
4
4
|
import { n as x, t as S } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-CkwmHEi0.mjs";
|
|
5
|
-
import { t as C } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
5
|
+
import { t as C } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BxPKSyZo.mjs";
|
|
6
6
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
7
7
|
var w = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), T = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), E = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), D = (e) => {
|
|
8
8
|
let t = E(e);
|
|
@@ -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.406",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_analytics_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.321",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|