@camstack/addon-post-analysis 1.2.648 → 1.2.649
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/CHANGELOG.md +7 -0
- package/dist/{clip-model-registry-Dz05U9H7.js → clip-model-registry-BweA9zEK.js} +107 -8
- package/dist/{clip-model-registry-CV0OM-KE.mjs → clip-model-registry-DLCu17dL.mjs} +102 -9
- 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-DpZRdUNM.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-DFq-lnbD.mjs} +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-YDf26qsN.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-DQTr4r2P.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-CJRlIsq_.mjs → hostInit-Dog0wpFI.mjs} +2 -2
- package/dist/pipeline-analytics/index.js +7 -2
- package/dist/pipeline-analytics/index.mjs +7 -2
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +2 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D5tFxRsi.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-DgC84J8L.mjs +0 -26
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.649] - 2026-10-28
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- The Notification center now appears under System on the Integrations page
|
|
15
|
+
- A notification rule passes the delivery parameters its target's notifier declares (such as Echo mode and volume) along with the message.
|
|
16
|
+
|
|
10
17
|
## [1.2.648] - 2026-10-28
|
|
11
18
|
|
|
12
19
|
### Changed
|
|
@@ -11443,7 +11443,7 @@ function errMsg(err) {
|
|
|
11443
11443
|
return String(err);
|
|
11444
11444
|
}
|
|
11445
11445
|
//#endregion
|
|
11446
|
-
//#region ../types/dist/composition-
|
|
11446
|
+
//#region ../types/dist/composition-DwA0uVW5.mjs
|
|
11447
11447
|
/**
|
|
11448
11448
|
* Deterministic SHA-256 hash of an arbitrary serialisable value. The
|
|
11449
11449
|
* canonical form sorts object keys alphabetically at every depth so two
|
|
@@ -20426,12 +20426,13 @@ var CHANGED = {
|
|
|
20426
20426
|
expr: "now"
|
|
20427
20427
|
};
|
|
20428
20428
|
function numeric(input) {
|
|
20429
|
+
const { alsoFrom, ...base } = input;
|
|
20429
20430
|
return {
|
|
20430
|
-
...
|
|
20431
|
+
...base,
|
|
20431
20432
|
family: "numeric",
|
|
20432
20433
|
deviceType: DeviceType.Sensor,
|
|
20433
20434
|
memberDeviceType: DeviceType.Sensor,
|
|
20434
|
-
memberDeviceTypes: [DeviceType.Sensor],
|
|
20435
|
+
memberDeviceTypes: [DeviceType.Sensor, ...alsoFrom?.deviceTypes ?? []],
|
|
20435
20436
|
activeWhen: void 0,
|
|
20436
20437
|
commandCaps: [],
|
|
20437
20438
|
baseUnit: baseUnitOf(input.quantity),
|
|
@@ -20439,9 +20440,10 @@ function numeric(input) {
|
|
|
20439
20440
|
accept: [{
|
|
20440
20441
|
cap: input.outputCap,
|
|
20441
20442
|
fieldPath: input.outputField
|
|
20442
|
-
}]
|
|
20443
|
+
}, ...alsoFrom === void 0 ? [] : [alsoFrom.accept]]
|
|
20443
20444
|
};
|
|
20444
20445
|
}
|
|
20446
|
+
var CLIMATE_DEVICES = [DeviceType.Thermostat, DeviceType.Climate];
|
|
20445
20447
|
function binary(input) {
|
|
20446
20448
|
return {
|
|
20447
20449
|
...input,
|
|
@@ -20467,7 +20469,14 @@ var GROUP_TEMPLATES = [
|
|
|
20467
20469
|
quantity: "temperature",
|
|
20468
20470
|
defaultAggregate: "mean",
|
|
20469
20471
|
empty: "null",
|
|
20470
|
-
companions: [NOW$2]
|
|
20472
|
+
companions: [NOW$2],
|
|
20473
|
+
alsoFrom: {
|
|
20474
|
+
deviceTypes: CLIMATE_DEVICES,
|
|
20475
|
+
accept: {
|
|
20476
|
+
cap: "climate-control",
|
|
20477
|
+
fieldPath: "currentTemp"
|
|
20478
|
+
}
|
|
20479
|
+
}
|
|
20471
20480
|
}),
|
|
20472
20481
|
numeric({
|
|
20473
20482
|
id: "humidity",
|
|
@@ -20478,7 +20487,14 @@ var GROUP_TEMPLATES = [
|
|
|
20478
20487
|
quantity: "humidity",
|
|
20479
20488
|
defaultAggregate: "mean",
|
|
20480
20489
|
empty: "null",
|
|
20481
|
-
companions: [NOW$2]
|
|
20490
|
+
companions: [NOW$2],
|
|
20491
|
+
alsoFrom: {
|
|
20492
|
+
deviceTypes: CLIMATE_DEVICES,
|
|
20493
|
+
accept: {
|
|
20494
|
+
cap: "climate-control",
|
|
20495
|
+
fieldPath: "currentHumidity"
|
|
20496
|
+
}
|
|
20497
|
+
}
|
|
20482
20498
|
}),
|
|
20483
20499
|
numeric({
|
|
20484
20500
|
id: "pressure",
|
|
@@ -46299,6 +46315,43 @@ var NotificationActionSchema = object({
|
|
|
46299
46315
|
*/
|
|
46300
46316
|
mode: _enum(["navigate", "background"]).optional()
|
|
46301
46317
|
});
|
|
46318
|
+
/** A delivery parameter value: what a notifier declared it takes. */
|
|
46319
|
+
var DeliveryParamValueSchema = union([
|
|
46320
|
+
string(),
|
|
46321
|
+
number(),
|
|
46322
|
+
boolean()
|
|
46323
|
+
]);
|
|
46324
|
+
/**
|
|
46325
|
+
* One extra delivery parameter a notifier KIND declares (D938). A rule that
|
|
46326
|
+
* addresses a target of that kind may set it; a kind that declares nothing is
|
|
46327
|
+
* never handed one. The admin UI derives its control from this descriptor —
|
|
46328
|
+
* no editor knows a service by name.
|
|
46329
|
+
*
|
|
46330
|
+
* Optional fields are `.optional()`, never `.default()` (a Zod default does not
|
|
46331
|
+
* run on the addon cap path).
|
|
46332
|
+
*/
|
|
46333
|
+
var DeliveryParamSchema = object({
|
|
46334
|
+
key: string().min(1),
|
|
46335
|
+
label: string(),
|
|
46336
|
+
/** i18n key of the label, resolved by the declaring addon's namespace. */
|
|
46337
|
+
labelKey: string().optional(),
|
|
46338
|
+
type: _enum([
|
|
46339
|
+
"enum",
|
|
46340
|
+
"number",
|
|
46341
|
+
"boolean",
|
|
46342
|
+
"string"
|
|
46343
|
+
]),
|
|
46344
|
+
/** `enum` only: the closed set of accepted values. */
|
|
46345
|
+
options: array(object({
|
|
46346
|
+
value: string(),
|
|
46347
|
+
label: string()
|
|
46348
|
+
})).optional(),
|
|
46349
|
+
/** `number` only. */
|
|
46350
|
+
min: number().optional(),
|
|
46351
|
+
max: number().optional(),
|
|
46352
|
+
/** What the notifier does when the rule sets nothing; shown as the placeholder. */
|
|
46353
|
+
default: DeliveryParamValueSchema.optional()
|
|
46354
|
+
});
|
|
46302
46355
|
/**
|
|
46303
46356
|
* The canonical notification. `body` is the only hard field (Apprise model).
|
|
46304
46357
|
* `priority` is a 5-level ORDINAL (1=lowest … 3=normal(default) … 5=urgent),
|
|
@@ -46321,7 +46374,13 @@ var NotificationSchema = object({
|
|
|
46321
46374
|
tag: string().optional(),
|
|
46322
46375
|
deviceId: number().optional(),
|
|
46323
46376
|
eventId: string().optional(),
|
|
46324
|
-
metadata: record(string(), unknown()).optional()
|
|
46377
|
+
metadata: record(string(), unknown()).optional(),
|
|
46378
|
+
/**
|
|
46379
|
+
* Values for the parameters the target's kind DECLARES in
|
|
46380
|
+
* {@link TargetKindSchema} `deliveryParams`. Already validated against the
|
|
46381
|
+
* declaration by the sender; a notifier reads only the keys it declared.
|
|
46382
|
+
*/
|
|
46383
|
+
delivery: record(string(), DeliveryParamValueSchema).optional()
|
|
46325
46384
|
});
|
|
46326
46385
|
/** One declared native severity/priority level for a kind. */
|
|
46327
46386
|
var TargetKindLevelSchema = object({
|
|
@@ -46427,6 +46486,11 @@ var TargetKindSchema = object({
|
|
|
46427
46486
|
*/
|
|
46428
46487
|
destinationKeys: array(string()).optional(),
|
|
46429
46488
|
supportsDiscovery: boolean(),
|
|
46489
|
+
/**
|
|
46490
|
+
* Extra delivery parameters a rule may set for a target of this kind (D938).
|
|
46491
|
+
* Absent = none; the rule editor then offers nothing.
|
|
46492
|
+
*/
|
|
46493
|
+
deliveryParams: array(DeliveryParamSchema).optional(),
|
|
46430
46494
|
caps: TargetKindCapsSchema
|
|
46431
46495
|
});
|
|
46432
46496
|
/**
|
|
@@ -60580,7 +60644,9 @@ var ManifestShapeSchema = object({
|
|
|
60580
60644
|
icon: string().optional()
|
|
60581
60645
|
}).optional(),
|
|
60582
60646
|
protected: boolean().optional(),
|
|
60583
|
-
removable: boolean().optional()
|
|
60647
|
+
removable: boolean().optional(),
|
|
60648
|
+
/** Declared Integrations-page block (mirror of `AddonDeclaration.integrationSection`). */
|
|
60649
|
+
integrationSection: _enum(["system", "providers"]).optional()
|
|
60584
60650
|
});
|
|
60585
60651
|
var AddonProcessSchema = object({
|
|
60586
60652
|
pid: number().optional(),
|
|
@@ -92112,6 +92178,33 @@ function isAudioClassName(name) {
|
|
|
92112
92178
|
return name.trim().toLowerCase().startsWith(`${AUDIO_GROUP_KEY}-`);
|
|
92113
92179
|
}
|
|
92114
92180
|
new Set(["devices", "classes"]);
|
|
92181
|
+
function valueFor(param, raw) {
|
|
92182
|
+
switch (param.type) {
|
|
92183
|
+
case "enum": return typeof raw === "string" && (param.options ?? []).some((o) => o.value === raw) ? raw : void 0;
|
|
92184
|
+
case "number": {
|
|
92185
|
+
if (typeof raw !== "number" || !Number.isFinite(raw)) return void 0;
|
|
92186
|
+
const floor = param.min ?? Number.NEGATIVE_INFINITY;
|
|
92187
|
+
const ceil = param.max ?? Number.POSITIVE_INFINITY;
|
|
92188
|
+
return Math.min(ceil, Math.max(floor, raw));
|
|
92189
|
+
}
|
|
92190
|
+
case "boolean": return typeof raw === "boolean" ? raw : void 0;
|
|
92191
|
+
case "string": return typeof raw === "string" && raw.length > 0 ? raw : void 0;
|
|
92192
|
+
}
|
|
92193
|
+
}
|
|
92194
|
+
/**
|
|
92195
|
+
* The values a rule target's `params` contribute for a kind: only declared
|
|
92196
|
+
* keys, only valid values. `undefined` when nothing survives — a notifier that
|
|
92197
|
+
* declared nothing is never handed a `delivery` block.
|
|
92198
|
+
*/
|
|
92199
|
+
function resolveDeliveryParams(declared, params) {
|
|
92200
|
+
if (declared === void 0 || params === void 0) return void 0;
|
|
92201
|
+
const out = {};
|
|
92202
|
+
for (const param of declared) {
|
|
92203
|
+
const value = valueFor(param, params[param.key]);
|
|
92204
|
+
if (value !== void 0) out[param.key] = value;
|
|
92205
|
+
}
|
|
92206
|
+
return Object.keys(out).length > 0 ? out : void 0;
|
|
92207
|
+
}
|
|
92115
92208
|
/**
|
|
92116
92209
|
* WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
|
|
92117
92210
|
* consumed by the rule ENGINE and by every rule EDITOR.
|
|
@@ -98537,6 +98630,12 @@ Object.defineProperty(exports, "resolveClusterModelPin", {
|
|
|
98537
98630
|
return resolveClusterModelPin;
|
|
98538
98631
|
}
|
|
98539
98632
|
});
|
|
98633
|
+
Object.defineProperty(exports, "resolveDeliveryParams", {
|
|
98634
|
+
enumerable: true,
|
|
98635
|
+
get: function() {
|
|
98636
|
+
return resolveDeliveryParams;
|
|
98637
|
+
}
|
|
98638
|
+
});
|
|
98540
98639
|
Object.defineProperty(exports, "resolveLocationMode", {
|
|
98541
98640
|
enumerable: true,
|
|
98542
98641
|
get: function() {
|
|
@@ -11412,7 +11412,7 @@ function errMsg(err) {
|
|
|
11412
11412
|
return String(err);
|
|
11413
11413
|
}
|
|
11414
11414
|
//#endregion
|
|
11415
|
-
//#region ../types/dist/composition-
|
|
11415
|
+
//#region ../types/dist/composition-DwA0uVW5.mjs
|
|
11416
11416
|
/**
|
|
11417
11417
|
* Deterministic SHA-256 hash of an arbitrary serialisable value. The
|
|
11418
11418
|
* canonical form sorts object keys alphabetically at every depth so two
|
|
@@ -20395,12 +20395,13 @@ var CHANGED = {
|
|
|
20395
20395
|
expr: "now"
|
|
20396
20396
|
};
|
|
20397
20397
|
function numeric(input) {
|
|
20398
|
+
const { alsoFrom, ...base } = input;
|
|
20398
20399
|
return {
|
|
20399
|
-
...
|
|
20400
|
+
...base,
|
|
20400
20401
|
family: "numeric",
|
|
20401
20402
|
deviceType: DeviceType.Sensor,
|
|
20402
20403
|
memberDeviceType: DeviceType.Sensor,
|
|
20403
|
-
memberDeviceTypes: [DeviceType.Sensor],
|
|
20404
|
+
memberDeviceTypes: [DeviceType.Sensor, ...alsoFrom?.deviceTypes ?? []],
|
|
20404
20405
|
activeWhen: void 0,
|
|
20405
20406
|
commandCaps: [],
|
|
20406
20407
|
baseUnit: baseUnitOf(input.quantity),
|
|
@@ -20408,9 +20409,10 @@ function numeric(input) {
|
|
|
20408
20409
|
accept: [{
|
|
20409
20410
|
cap: input.outputCap,
|
|
20410
20411
|
fieldPath: input.outputField
|
|
20411
|
-
}]
|
|
20412
|
+
}, ...alsoFrom === void 0 ? [] : [alsoFrom.accept]]
|
|
20412
20413
|
};
|
|
20413
20414
|
}
|
|
20415
|
+
var CLIMATE_DEVICES = [DeviceType.Thermostat, DeviceType.Climate];
|
|
20414
20416
|
function binary(input) {
|
|
20415
20417
|
return {
|
|
20416
20418
|
...input,
|
|
@@ -20436,7 +20438,14 @@ var GROUP_TEMPLATES = [
|
|
|
20436
20438
|
quantity: "temperature",
|
|
20437
20439
|
defaultAggregate: "mean",
|
|
20438
20440
|
empty: "null",
|
|
20439
|
-
companions: [NOW$2]
|
|
20441
|
+
companions: [NOW$2],
|
|
20442
|
+
alsoFrom: {
|
|
20443
|
+
deviceTypes: CLIMATE_DEVICES,
|
|
20444
|
+
accept: {
|
|
20445
|
+
cap: "climate-control",
|
|
20446
|
+
fieldPath: "currentTemp"
|
|
20447
|
+
}
|
|
20448
|
+
}
|
|
20440
20449
|
}),
|
|
20441
20450
|
numeric({
|
|
20442
20451
|
id: "humidity",
|
|
@@ -20447,7 +20456,14 @@ var GROUP_TEMPLATES = [
|
|
|
20447
20456
|
quantity: "humidity",
|
|
20448
20457
|
defaultAggregate: "mean",
|
|
20449
20458
|
empty: "null",
|
|
20450
|
-
companions: [NOW$2]
|
|
20459
|
+
companions: [NOW$2],
|
|
20460
|
+
alsoFrom: {
|
|
20461
|
+
deviceTypes: CLIMATE_DEVICES,
|
|
20462
|
+
accept: {
|
|
20463
|
+
cap: "climate-control",
|
|
20464
|
+
fieldPath: "currentHumidity"
|
|
20465
|
+
}
|
|
20466
|
+
}
|
|
20451
20467
|
}),
|
|
20452
20468
|
numeric({
|
|
20453
20469
|
id: "pressure",
|
|
@@ -46268,6 +46284,43 @@ var NotificationActionSchema = object({
|
|
|
46268
46284
|
*/
|
|
46269
46285
|
mode: _enum(["navigate", "background"]).optional()
|
|
46270
46286
|
});
|
|
46287
|
+
/** A delivery parameter value: what a notifier declared it takes. */
|
|
46288
|
+
var DeliveryParamValueSchema = union([
|
|
46289
|
+
string(),
|
|
46290
|
+
number(),
|
|
46291
|
+
boolean()
|
|
46292
|
+
]);
|
|
46293
|
+
/**
|
|
46294
|
+
* One extra delivery parameter a notifier KIND declares (D938). A rule that
|
|
46295
|
+
* addresses a target of that kind may set it; a kind that declares nothing is
|
|
46296
|
+
* never handed one. The admin UI derives its control from this descriptor —
|
|
46297
|
+
* no editor knows a service by name.
|
|
46298
|
+
*
|
|
46299
|
+
* Optional fields are `.optional()`, never `.default()` (a Zod default does not
|
|
46300
|
+
* run on the addon cap path).
|
|
46301
|
+
*/
|
|
46302
|
+
var DeliveryParamSchema = object({
|
|
46303
|
+
key: string().min(1),
|
|
46304
|
+
label: string(),
|
|
46305
|
+
/** i18n key of the label, resolved by the declaring addon's namespace. */
|
|
46306
|
+
labelKey: string().optional(),
|
|
46307
|
+
type: _enum([
|
|
46308
|
+
"enum",
|
|
46309
|
+
"number",
|
|
46310
|
+
"boolean",
|
|
46311
|
+
"string"
|
|
46312
|
+
]),
|
|
46313
|
+
/** `enum` only: the closed set of accepted values. */
|
|
46314
|
+
options: array(object({
|
|
46315
|
+
value: string(),
|
|
46316
|
+
label: string()
|
|
46317
|
+
})).optional(),
|
|
46318
|
+
/** `number` only. */
|
|
46319
|
+
min: number().optional(),
|
|
46320
|
+
max: number().optional(),
|
|
46321
|
+
/** What the notifier does when the rule sets nothing; shown as the placeholder. */
|
|
46322
|
+
default: DeliveryParamValueSchema.optional()
|
|
46323
|
+
});
|
|
46271
46324
|
/**
|
|
46272
46325
|
* The canonical notification. `body` is the only hard field (Apprise model).
|
|
46273
46326
|
* `priority` is a 5-level ORDINAL (1=lowest … 3=normal(default) … 5=urgent),
|
|
@@ -46290,7 +46343,13 @@ var NotificationSchema = object({
|
|
|
46290
46343
|
tag: string().optional(),
|
|
46291
46344
|
deviceId: number().optional(),
|
|
46292
46345
|
eventId: string().optional(),
|
|
46293
|
-
metadata: record(string(), unknown()).optional()
|
|
46346
|
+
metadata: record(string(), unknown()).optional(),
|
|
46347
|
+
/**
|
|
46348
|
+
* Values for the parameters the target's kind DECLARES in
|
|
46349
|
+
* {@link TargetKindSchema} `deliveryParams`. Already validated against the
|
|
46350
|
+
* declaration by the sender; a notifier reads only the keys it declared.
|
|
46351
|
+
*/
|
|
46352
|
+
delivery: record(string(), DeliveryParamValueSchema).optional()
|
|
46294
46353
|
});
|
|
46295
46354
|
/** One declared native severity/priority level for a kind. */
|
|
46296
46355
|
var TargetKindLevelSchema = object({
|
|
@@ -46396,6 +46455,11 @@ var TargetKindSchema = object({
|
|
|
46396
46455
|
*/
|
|
46397
46456
|
destinationKeys: array(string()).optional(),
|
|
46398
46457
|
supportsDiscovery: boolean(),
|
|
46458
|
+
/**
|
|
46459
|
+
* Extra delivery parameters a rule may set for a target of this kind (D938).
|
|
46460
|
+
* Absent = none; the rule editor then offers nothing.
|
|
46461
|
+
*/
|
|
46462
|
+
deliveryParams: array(DeliveryParamSchema).optional(),
|
|
46399
46463
|
caps: TargetKindCapsSchema
|
|
46400
46464
|
});
|
|
46401
46465
|
/**
|
|
@@ -60549,7 +60613,9 @@ var ManifestShapeSchema = object({
|
|
|
60549
60613
|
icon: string().optional()
|
|
60550
60614
|
}).optional(),
|
|
60551
60615
|
protected: boolean().optional(),
|
|
60552
|
-
removable: boolean().optional()
|
|
60616
|
+
removable: boolean().optional(),
|
|
60617
|
+
/** Declared Integrations-page block (mirror of `AddonDeclaration.integrationSection`). */
|
|
60618
|
+
integrationSection: _enum(["system", "providers"]).optional()
|
|
60553
60619
|
});
|
|
60554
60620
|
var AddonProcessSchema = object({
|
|
60555
60621
|
pid: number().optional(),
|
|
@@ -92081,6 +92147,33 @@ function isAudioClassName(name) {
|
|
|
92081
92147
|
return name.trim().toLowerCase().startsWith(`${AUDIO_GROUP_KEY}-`);
|
|
92082
92148
|
}
|
|
92083
92149
|
new Set(["devices", "classes"]);
|
|
92150
|
+
function valueFor(param, raw) {
|
|
92151
|
+
switch (param.type) {
|
|
92152
|
+
case "enum": return typeof raw === "string" && (param.options ?? []).some((o) => o.value === raw) ? raw : void 0;
|
|
92153
|
+
case "number": {
|
|
92154
|
+
if (typeof raw !== "number" || !Number.isFinite(raw)) return void 0;
|
|
92155
|
+
const floor = param.min ?? Number.NEGATIVE_INFINITY;
|
|
92156
|
+
const ceil = param.max ?? Number.POSITIVE_INFINITY;
|
|
92157
|
+
return Math.min(ceil, Math.max(floor, raw));
|
|
92158
|
+
}
|
|
92159
|
+
case "boolean": return typeof raw === "boolean" ? raw : void 0;
|
|
92160
|
+
case "string": return typeof raw === "string" && raw.length > 0 ? raw : void 0;
|
|
92161
|
+
}
|
|
92162
|
+
}
|
|
92163
|
+
/**
|
|
92164
|
+
* The values a rule target's `params` contribute for a kind: only declared
|
|
92165
|
+
* keys, only valid values. `undefined` when nothing survives — a notifier that
|
|
92166
|
+
* declared nothing is never handed a `delivery` block.
|
|
92167
|
+
*/
|
|
92168
|
+
function resolveDeliveryParams(declared, params) {
|
|
92169
|
+
if (declared === void 0 || params === void 0) return void 0;
|
|
92170
|
+
const out = {};
|
|
92171
|
+
for (const param of declared) {
|
|
92172
|
+
const value = valueFor(param, params[param.key]);
|
|
92173
|
+
if (value !== void 0) out[param.key] = value;
|
|
92174
|
+
}
|
|
92175
|
+
return Object.keys(out).length > 0 ? out : void 0;
|
|
92176
|
+
}
|
|
92084
92177
|
/**
|
|
92085
92178
|
* WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
|
|
92086
92179
|
* consumed by the rule ENGINE and by every rule EDITOR.
|
|
@@ -96940,4 +97033,4 @@ function buildClipModelRegistry(entries) {
|
|
|
96940
97033
|
/** The built-in catalog's registry. */
|
|
96941
97034
|
var BUILTIN_CLIP_MODELS = buildClipModelRegistry(CLIP_IMAGE_MODELS);
|
|
96942
97035
|
//#endregion
|
|
96943
|
-
export { MediaFileKindEnum as $,
|
|
97036
|
+
export { MediaFileKindEnum as $, BaseAddon as $i, cloneAlarmSettings as $n, paintHex as $r, OpsLogEntrySchema as $t, DeclaredDevices as A, unknown as Aa, storageOccupancyCapability as Ai, TrackSideSchema as An, isAudioClassName as Ar, NcAlarmSensorsInputSchema as At, FULL_IMAGE_BBOX as B, systemEventSummarySplitOf as Bi, applyModeDelaysEdits as Bn, isRootSuppliableStepId as Br, NcRuleUpdateInputSchema as Bt, ClearTrackRelationResultSchema as C, partialRecord as Ca, ruleGroupingApplies as Ci, TimelapseRuleInputSchema as Cn, failureContributionCapability as Cr, NC_SNOOZE_MAX_MINUTES as Ct, DEFAULT_TIMELAPSE_PREVIEW_TEXT as D, templateLiteral as Da, sensorRaisedOf as Di, TrackPuritySchema as Dn, isAlertEpisodeOpen as Dr, NC_TEMPLATE_VARS as Dt, DEFAULT_EVENT_COLOR as E, string as Ea, secureActuationFor as Ei, TrackPlacementSchema as En, isAlarmControllableCap as Er, NC_TAXONOMY as Et, EVENT_DENSITY_BATCH_MAX as F, syncActiveAlarmProfileSettings as Fi, alarmPanelCapability as Fn, isEventOwnerType as Fr, NcRuleActionSchema as Ft, ListTrackRelationsResultSchema as G, withSystemEventClasses as Gi, audioMetricsCapability as Gn, kebabToCamel as Gr, NcSnoozeSuppressedSchema as Gt, LABEL_SUPPLY_MACRO as H, templateVarsFor as Hi, applySecureOnArmEdit as Hn, isSystemDelivery as Hr, NcSharedSequenceSchema as Ht, EVENT_KIND_BY_CAP as I, systemEventDeliveryProblems as Ii, alertEpisodeId as In, isKnownTemplateVar as Ir, NcRuleInputSchema as It, MAX_BIRTH_DECISION_RECORDS as J, canonicalHash as Ji, buildSubjectPath as Jn, memoizePinnedFfmpeg as Jr, NcTaxonomySchema as Jt, LockStateSchema as K, zoneAnalyticsCapability as Ki, audioModeOf as Kn, linkedStepOf as Kr, NcStateSummarySectionIdSchema as Kt, EVENT_OWNER_TYPES as L, systemEventFamilyProblems as Li, alertEpisodeKind as Ln, isLabelSupplyStepId as Lr, NcRulePatchSchema as Lt, EMBEDDING_MODEL_FAILED as M, subjectPathSampleFromBox as Mi, activateAlarmProfile as Mn, isDetectionMacroClass as Mr, NcAlarmSettingsPatchSchema as Mt, EMBEDDING_REQUIREMENTS_FAILED as N, subjectPathSvgPoints as Ni, addonWidgetsSourceCapability as Nn, isDrawableSubjectPath as Nr, NcConditionDescriptorSchema as Nt, DETECTION_MACRO_CLASSES as O, tuple as Oa, servedTemplateVars as Oi, TrackRelationKindSchema as On, isAlertEpisodeSeverity as Or, NcAlarmConfigSchema as Ot, EMBEDDING_REQUIREMENTS_UNAVAILABLE as P, summarizeReview as Pi, alarmDeviceSecureOnArm as Pn, isEventKindLabelKey as Pr, NcConditionsSchema as Pt, MOTION_CLOSE_AFTER_MS as Q, errMsg as Qi, classifyRetrainReview as Qn, occupancyScope as Qr, OPS_LOG_DEFAULT_LIMIT as Qt, EXPORT_DENSE_MAX_RANGES as R, systemEventFilterApplies as Ri, alertEpisodePayload as Rn, isMediaOwnerType as Rr, NcRuleSchema as Rt, ClearTrackRelationInputSchema as S, object as Sa, ruleDeviceCompatCapQueries as Si, TRACK_RELATIONS_DEFAULT_LIMIT as Sn, faceGalleryCapability as Sr, NC_SENSOR_TRANSITION_KINDS as St, DEFAULT_DETAIL_CROP_CONVENTION as T, strictObject as Ta, sceneMonitorCapability as Ti, TimelapseRuleSchema as Tn, gifFromMp4Args as Tr, NC_SYSTEM_EVENT_KIND_GROUP_SPECS as Tt, LabelAttributionSchema as U, vectorDimFromBase64 as Ui, armRemovalReconcile as Un, isSystemEventSummaryRule as Ur, NcSnoozeInputSchema as Ut, FailureCounters as V, templateCarriesSummary as Vi, applyNonBlockingEdit as Vn, isScheduleActive as Vr, NcScheduleSchema as Vt, ListTrackRelationsInputSchema as W, viewerLinkBaseOf as Wi, assertTimelapseCadences as Wn, isVectorIndexDimConflict as Wr, NcSnoozeSchema as Wt, MAX_TRACK_PURITIES as X, isSourceCap as Xi, bundledCamstack as Xn, normalizeNcMediaPolicy as Xr, NcTemplatePreviewSchema as Xt, MAX_BIRTH_LATENCY_PROXY_MS as Y, evaluateSensorEdge as Yi, buildViewerLink as Yn, ncMediaPolicyError as Yr, NcTemplatePreviewInputSchema as Yt, MAX_TRACK_RELATIONS as Z, DeviceType as Zi, calendarEventLocalSpan as Zn, notificationRulesCapability as Zr, NcTemplateVarDescriptorSchema as Zt, BIRTH_DECISION_DEFAULT_LIMIT as _, boolean as _a, resolvePoolMemoryPolicy as _i, SceneMonitorSchema as _n, embeddingRequirementsUnavailableError as _r, NC_CONSUMABLE_SYSTEM_EVENT_KINDS as _t, CLIP_EMBEDDING_STEP_ID as a, createEvent as aa, plateGalleryCapability as ai, RetrainDismissedSchema as an, deleteAlarmProfile as ar, NC_ALARM_NOTIFY_FIELDS as at, BucketAccumulator as b, looseObject as ba, ruleAutoTriggersAlarm as bi, SetTrackRelationInputSchema as bn, eventKindLabel as br, NC_GROUPING_MAX_SEC as bt, readClusterModelPinStrict as c, defineRecordKinds as ca, readMotionTriggeredBy as ci, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX as cn, deriveRecordingMode as cr, NC_AUDIO_CONFIRM_HITS_DEFAULT as ct, APPEARANCE_BLOCKS as d, nodePin as da, resolveClipSearchMinScore as di, SCENE_DEFAULT_CHECK_INTERVAL_SEC as dn, deviceAttentionKind as dr, NC_CLIP_PRE_ROLL_DEFAULT_SEC as dt, CAP_ADVANCE_FIELDS as ea, paletteResultSchema as ei, PackageLlmVerdictSchema as en, consumableFormOf as er, MotionTriggeredBySchema as et, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT as f, normalizeNodeId as fa, resolveDeliveryParams as fi, SCENE_DEFAULT_OBSERVATION_SPACING_SEC as fn, deviceRemovalHookCapability as fr, NC_CLIP_RETENTION_MAX_SEC as ft, ArchivedDebugNoteSchema as g, array as ga, resolveNcMediaImage as gi, SCENE_RESET_RECAPTURES as gn, embeddingRequirementsFailedError as gr, NC_CONSUMABLE_LOW_PERCENT_DEFAULT as gt, AlarmArmModeSchema as h, _enum as ha, resolveModeNotifyPolicy as hi, SCENE_DIVERGED as hn, embeddingRefusalOf as hr, NC_CONFIRM_DEFAULT_TIMEOUT_MS as ht, CLIP_TEXT_MODELS as i, RECORD_QUERY_MAX as ia, pipelineAnalyticsCapability as ii, RebuildObjectEmbeddingsRefusalSchema as in, createAlarmProfile as ir, NC_ALARM_DELAY_MAX_SEC as it, DetectionSourceSchema as j, EventCategory as ja, subKindsOf as ji, TrackSourceSchema as jn, isDefaultAlarmProfileId as jr, NcAlarmSensorsSchema as jt, DETECTION_PIPELINE_CAP_NAME as k, union as ka, startMoverUnderClearance as ki, TrackRelationSchema as kn, isAppLinkBase as kr, NcAlarmPostTriggeredActionSchema as kt, resolveClusterModelPin as l, hydrateSchema as la, readTimelapseGeneratedAt as li, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as ln, describeSystemEventDeliveryProblem as lr, NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT as lt, AUDIO_MACRO_LABELS as m, ZodObject as ma, resolveModeDelays as mi, SCENE_DEFAULT_UNCOVERED_POLICY as mn, embeddingModelFailedError as mr, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX as mt, DEFAULT_CLIP_MODEL as n, InvalidRecordError as na, parseProcStatus as ni, RECORDING_EXPORT_MAX_READ_BYTES as nn, coreBlockIdFromAddonId as nr, NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC as nt, CLUSTER_MODEL_OWNER_ADDON_ID as o, customAction as oa, projectSubjectPath as oi, RetrainOriginSchema as on, deriveDetailCropRect as or, NC_ALARM_SYSTEM_EVENT_KINDS as ot, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT as p, sleep as pa, resolveLocationMode as pi, SCENE_DEFAULT_QUIET_SECONDS as pn, embeddingEncoderCapability as pr, NC_CONDITION_CATALOG as pt, MAX_ARCHIVED_DEBUG_NOTES as q, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as qi, buildEventKindDescriptor as qn, mayWriteToLocation as qr, NcSystemEventKindSchema as qt, CLIP_IMAGE_MODELS as r, RECORD_MAX_DATA_BYTES as ra, pickFaceRescoreIntervalMinutes as ri, RECORDING_SOURCE_CAMSTACK_ADDON as rn, cosineSimilarity as rr, NC_ALARM_DELAY_FIELDS as rt, FACE_EMBEDDING_STEP_ID as s, defineCustomActions as sa, readDeviceStateFrom as si, RetrainStatusSchema as sn, derivePostTriggeredAction as sr, NC_ALARM_TRIGGERED_MAX_SEC as st, BUILTIN_CLIP_MODELS as t, CamProfileSchema as ta, parseAlertEpisodePayload as ti, PoolMemoryWatchdog as tn, consumableLowPercentOf as tr, NC_ALARM_DEFAULT_PROFILE_ID as tt, APPEARANCE_BIN_COUNT as u, isDeviceScopedCap as ua, renameAlarmProfile as ui, SCENE_DEFAULT_ANCHOR_THRESHOLD as un, describeSystemEventFamilyProblem as ur, NC_CLIP_POST_ROLL_DEFAULT_SEC as ut, BaseDevice as v, discriminatedUnion as va, retrainRevisionConflictMessage as vi, SetTrackPurityInputSchema as vn, encodeVectorBase64 as vr, NC_DEFAULT_SNOOZE_MINUTES as vt, CoverStateSchema as w, record as wa, ruleKindOf as wi, TimelapseRulePatchSchema as wn, gifDeriveSpeed as wr, NC_STATE_SUMMARY_SECTION_IDS as wt, COCO_TO_MACRO as x, number as xa, ruleBelongsToAlarm as xi, TIMELAPSE_DENSE_FLOOR_SEC as xn, evictionPolicyOfLocation as xr, NC_GROUPING_MIN_SEC as xt, BirthDecisionRecordSchema as y, literal as ya, rootSupplyServes as yi, SetTrackPurityResultSchema as yn, ensureAlarmProfiles as yr, NC_GROUPING_DEFAULT_SEC as yt, FIRST_LEVEL_MACRO_CLASSES as z, systemEventSummaryScheduleOf as zi, applyBlockingEdit as zn, isRetiredClearKey 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-BweA9zEK.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 { $i as BaseAddon, _i as resolvePoolMemoryPolicy, _r as embeddingRequirementsUnavailableError, a as CLIP_EMBEDDING_STEP_ID, fa as normalizeNodeId, gr as embeddingRequirementsFailedError, i as CLIP_TEXT_MODELS, l as resolveClusterModelPin, mr as embeddingModelFailedError, n as DEFAULT_CLIP_MODEL, ni as parseProcStatus, pr as embeddingEncoderCapability, r as CLIP_IMAGE_MODELS, t as BUILTIN_CLIP_MODELS, tn as PoolMemoryWatchdog } from "../clip-model-registry-DLCu17dL.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-DQTr4r2P.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-YDf26qsN.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.436",
|
|
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.345",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|