@camstack/addon-post-analysis 1.2.648 → 1.2.650
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 +13 -0
- package/dist/{clip-model-registry-CV0OM-KE.mjs → clip-model-registry-B_mY0hd7.mjs} +229 -14
- package/dist/{clip-model-registry-Dz05U9H7.js → clip-model-registry-CC7pvitG.js} +234 -13
- 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-HjnmptAc.mjs} +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-YNYqWfWY.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-OPayQG8i.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-CJRlIsq_.mjs → hostInit-BjUFFpLS.mjs} +2 -2
- package/dist/pipeline-analytics/index.js +115 -3
- package/dist/pipeline-analytics/index.mjs +115 -3
- 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
|
@@ -5676,7 +5676,7 @@ var ZodIssueCode = {
|
|
|
5676
5676
|
var ZodFirstPartyTypeKind;
|
|
5677
5677
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5678
5678
|
//#endregion
|
|
5679
|
-
//#region ../types/dist/sleep-
|
|
5679
|
+
//#region ../types/dist/sleep-BAvUCi_2.mjs
|
|
5680
5680
|
/**
|
|
5681
5681
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5682
5682
|
* window to float samples (D455).
|
|
@@ -9109,6 +9109,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
9109
9109
|
"image-settings",
|
|
9110
9110
|
"integrations",
|
|
9111
9111
|
"intercom",
|
|
9112
|
+
"ir-transmitter",
|
|
9112
9113
|
"keychain",
|
|
9113
9114
|
"keychain-admin",
|
|
9114
9115
|
"lawn-mower-control",
|
|
@@ -10356,6 +10357,11 @@ Object.freeze({
|
|
|
10356
10357
|
"path": "batteryPower",
|
|
10357
10358
|
"valueType": "number"
|
|
10358
10359
|
},
|
|
10360
|
+
{
|
|
10361
|
+
"path": "powerSource",
|
|
10362
|
+
"valueType": "enum",
|
|
10363
|
+
"enumValues": ["mains", "battery"]
|
|
10364
|
+
},
|
|
10359
10365
|
{
|
|
10360
10366
|
"path": "desiccantLeftDays",
|
|
10361
10367
|
"valueType": "number"
|
|
@@ -10941,7 +10947,7 @@ Object.freeze({
|
|
|
10941
10947
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
10942
10948
|
* (~144MB RSS per runner, D28).
|
|
10943
10949
|
*
|
|
10944
|
-
* Coverage:
|
|
10950
|
+
* Coverage: 96 device-scoped capabilities.
|
|
10945
10951
|
*/
|
|
10946
10952
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
10947
10953
|
"accessories",
|
|
@@ -10991,6 +10997,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
10991
10997
|
"image",
|
|
10992
10998
|
"image-settings",
|
|
10993
10999
|
"intercom",
|
|
11000
|
+
"ir-transmitter",
|
|
10994
11001
|
"lawn-mower-control",
|
|
10995
11002
|
"lock-control",
|
|
10996
11003
|
"media-player",
|
|
@@ -11084,7 +11091,7 @@ function sleep(ms) {
|
|
|
11084
11091
|
return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
|
|
11085
11092
|
}
|
|
11086
11093
|
//#endregion
|
|
11087
|
-
//#region ../types/dist/err-msg-
|
|
11094
|
+
//#region ../types/dist/err-msg-BCdlR2Li.mjs
|
|
11088
11095
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
11089
11096
|
DeviceType["Camera"] = "camera";
|
|
11090
11097
|
DeviceType["Hub"] = "hub";
|
|
@@ -11430,6 +11437,9 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
11430
11437
|
/** Fallback when the notifier service name doesn't match a known
|
|
11431
11438
|
* pattern. */
|
|
11432
11439
|
DeviceRole["GenericNotifier"] = "generic-notifier";
|
|
11440
|
+
/** Emits a pulse train (infrared or RF) on request — the `ir-transmitter`
|
|
11441
|
+
* cap. A `DeviceType.Generic` device. */
|
|
11442
|
+
DeviceRole["IrTransmitter"] = "ir-transmitter";
|
|
11433
11443
|
return DeviceRole;
|
|
11434
11444
|
}({});
|
|
11435
11445
|
/**
|
|
@@ -11443,7 +11453,7 @@ function errMsg(err) {
|
|
|
11443
11453
|
return String(err);
|
|
11444
11454
|
}
|
|
11445
11455
|
//#endregion
|
|
11446
|
-
//#region ../types/dist/composition-
|
|
11456
|
+
//#region ../types/dist/composition-DpFv_J6D.mjs
|
|
11447
11457
|
/**
|
|
11448
11458
|
* Deterministic SHA-256 hash of an arbitrary serialisable value. The
|
|
11449
11459
|
* canonical form sorts object keys alphabetically at every depth so two
|
|
@@ -20426,12 +20436,13 @@ var CHANGED = {
|
|
|
20426
20436
|
expr: "now"
|
|
20427
20437
|
};
|
|
20428
20438
|
function numeric(input) {
|
|
20439
|
+
const { alsoFrom, ...base } = input;
|
|
20429
20440
|
return {
|
|
20430
|
-
...
|
|
20441
|
+
...base,
|
|
20431
20442
|
family: "numeric",
|
|
20432
20443
|
deviceType: DeviceType.Sensor,
|
|
20433
20444
|
memberDeviceType: DeviceType.Sensor,
|
|
20434
|
-
memberDeviceTypes: [DeviceType.Sensor],
|
|
20445
|
+
memberDeviceTypes: [DeviceType.Sensor, ...alsoFrom?.deviceTypes ?? []],
|
|
20435
20446
|
activeWhen: void 0,
|
|
20436
20447
|
commandCaps: [],
|
|
20437
20448
|
baseUnit: baseUnitOf(input.quantity),
|
|
@@ -20439,9 +20450,10 @@ function numeric(input) {
|
|
|
20439
20450
|
accept: [{
|
|
20440
20451
|
cap: input.outputCap,
|
|
20441
20452
|
fieldPath: input.outputField
|
|
20442
|
-
}]
|
|
20453
|
+
}, ...alsoFrom === void 0 ? [] : [alsoFrom.accept]]
|
|
20443
20454
|
};
|
|
20444
20455
|
}
|
|
20456
|
+
var CLIMATE_DEVICES = [DeviceType.Thermostat, DeviceType.Climate];
|
|
20445
20457
|
function binary(input) {
|
|
20446
20458
|
return {
|
|
20447
20459
|
...input,
|
|
@@ -20467,7 +20479,14 @@ var GROUP_TEMPLATES = [
|
|
|
20467
20479
|
quantity: "temperature",
|
|
20468
20480
|
defaultAggregate: "mean",
|
|
20469
20481
|
empty: "null",
|
|
20470
|
-
companions: [NOW$2]
|
|
20482
|
+
companions: [NOW$2],
|
|
20483
|
+
alsoFrom: {
|
|
20484
|
+
deviceTypes: CLIMATE_DEVICES,
|
|
20485
|
+
accept: {
|
|
20486
|
+
cap: "climate-control",
|
|
20487
|
+
fieldPath: "currentTemp"
|
|
20488
|
+
}
|
|
20489
|
+
}
|
|
20471
20490
|
}),
|
|
20472
20491
|
numeric({
|
|
20473
20492
|
id: "humidity",
|
|
@@ -20478,7 +20497,14 @@ var GROUP_TEMPLATES = [
|
|
|
20478
20497
|
quantity: "humidity",
|
|
20479
20498
|
defaultAggregate: "mean",
|
|
20480
20499
|
empty: "null",
|
|
20481
|
-
companions: [NOW$2]
|
|
20500
|
+
companions: [NOW$2],
|
|
20501
|
+
alsoFrom: {
|
|
20502
|
+
deviceTypes: CLIMATE_DEVICES,
|
|
20503
|
+
accept: {
|
|
20504
|
+
cap: "climate-control",
|
|
20505
|
+
fieldPath: "currentHumidity"
|
|
20506
|
+
}
|
|
20507
|
+
}
|
|
20482
20508
|
}),
|
|
20483
20509
|
numeric({
|
|
20484
20510
|
id: "pressure",
|
|
@@ -45011,6 +45037,17 @@ var LlmProfileSchema = object({
|
|
|
45011
45037
|
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
45012
45038
|
topK: number().int().positive().optional(),
|
|
45013
45039
|
maxTokens: number().int().positive().optional(),
|
|
45040
|
+
/** How hard the model "thinks" before it answers. Omitted = the model's own
|
|
45041
|
+
* default. `off` matters for structured output: a thinking model can spend
|
|
45042
|
+
* the whole completion on reasoning and return an empty `content`. Carried
|
|
45043
|
+
* only by the wires that have it — a kind offers the field in its editor
|
|
45044
|
+
* only when its descriptor lists it in `profileFields`. */
|
|
45045
|
+
reasoningEffort: _enum([
|
|
45046
|
+
"off",
|
|
45047
|
+
"low",
|
|
45048
|
+
"medium",
|
|
45049
|
+
"high"
|
|
45050
|
+
]).optional(),
|
|
45014
45051
|
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
45015
45052
|
contextLength: number().int().positive().optional(),
|
|
45016
45053
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
@@ -45049,6 +45086,7 @@ var LlmProfileFieldSchema = _enum([
|
|
|
45049
45086
|
"topP",
|
|
45050
45087
|
"topK",
|
|
45051
45088
|
"maxTokens",
|
|
45089
|
+
"reasoningEffort",
|
|
45052
45090
|
"contextLength",
|
|
45053
45091
|
"systemPrompt",
|
|
45054
45092
|
"timeoutMs",
|
|
@@ -46299,6 +46337,43 @@ var NotificationActionSchema = object({
|
|
|
46299
46337
|
*/
|
|
46300
46338
|
mode: _enum(["navigate", "background"]).optional()
|
|
46301
46339
|
});
|
|
46340
|
+
/** A delivery parameter value: what a notifier declared it takes. */
|
|
46341
|
+
var DeliveryParamValueSchema = union([
|
|
46342
|
+
string(),
|
|
46343
|
+
number(),
|
|
46344
|
+
boolean()
|
|
46345
|
+
]);
|
|
46346
|
+
/**
|
|
46347
|
+
* One extra delivery parameter a notifier KIND declares (D938). A rule that
|
|
46348
|
+
* addresses a target of that kind may set it; a kind that declares nothing is
|
|
46349
|
+
* never handed one. The admin UI derives its control from this descriptor —
|
|
46350
|
+
* no editor knows a service by name.
|
|
46351
|
+
*
|
|
46352
|
+
* Optional fields are `.optional()`, never `.default()` (a Zod default does not
|
|
46353
|
+
* run on the addon cap path).
|
|
46354
|
+
*/
|
|
46355
|
+
var DeliveryParamSchema = object({
|
|
46356
|
+
key: string().min(1),
|
|
46357
|
+
label: string(),
|
|
46358
|
+
/** i18n key of the label, resolved by the declaring addon's namespace. */
|
|
46359
|
+
labelKey: string().optional(),
|
|
46360
|
+
type: _enum([
|
|
46361
|
+
"enum",
|
|
46362
|
+
"number",
|
|
46363
|
+
"boolean",
|
|
46364
|
+
"string"
|
|
46365
|
+
]),
|
|
46366
|
+
/** `enum` only: the closed set of accepted values. */
|
|
46367
|
+
options: array(object({
|
|
46368
|
+
value: string(),
|
|
46369
|
+
label: string()
|
|
46370
|
+
})).optional(),
|
|
46371
|
+
/** `number` only. */
|
|
46372
|
+
min: number().optional(),
|
|
46373
|
+
max: number().optional(),
|
|
46374
|
+
/** What the notifier does when the rule sets nothing; shown as the placeholder. */
|
|
46375
|
+
default: DeliveryParamValueSchema.optional()
|
|
46376
|
+
});
|
|
46302
46377
|
/**
|
|
46303
46378
|
* The canonical notification. `body` is the only hard field (Apprise model).
|
|
46304
46379
|
* `priority` is a 5-level ORDINAL (1=lowest … 3=normal(default) … 5=urgent),
|
|
@@ -46321,7 +46396,13 @@ var NotificationSchema = object({
|
|
|
46321
46396
|
tag: string().optional(),
|
|
46322
46397
|
deviceId: number().optional(),
|
|
46323
46398
|
eventId: string().optional(),
|
|
46324
|
-
metadata: record(string(), unknown()).optional()
|
|
46399
|
+
metadata: record(string(), unknown()).optional(),
|
|
46400
|
+
/**
|
|
46401
|
+
* Values for the parameters the target's kind DECLARES in
|
|
46402
|
+
* {@link TargetKindSchema} `deliveryParams`. Already validated against the
|
|
46403
|
+
* declaration by the sender; a notifier reads only the keys it declared.
|
|
46404
|
+
*/
|
|
46405
|
+
delivery: record(string(), DeliveryParamValueSchema).optional()
|
|
46325
46406
|
});
|
|
46326
46407
|
/** One declared native severity/priority level for a kind. */
|
|
46327
46408
|
var TargetKindLevelSchema = object({
|
|
@@ -46427,6 +46508,11 @@ var TargetKindSchema = object({
|
|
|
46427
46508
|
*/
|
|
46428
46509
|
destinationKeys: array(string()).optional(),
|
|
46429
46510
|
supportsDiscovery: boolean(),
|
|
46511
|
+
/**
|
|
46512
|
+
* Extra delivery parameters a rule may set for a target of this kind (D938).
|
|
46513
|
+
* Absent = none; the rule editor then offers nothing.
|
|
46514
|
+
*/
|
|
46515
|
+
deliveryParams: array(DeliveryParamSchema).optional(),
|
|
46430
46516
|
caps: TargetKindCapsSchema
|
|
46431
46517
|
});
|
|
46432
46518
|
/**
|
|
@@ -60580,7 +60666,9 @@ var ManifestShapeSchema = object({
|
|
|
60580
60666
|
icon: string().optional()
|
|
60581
60667
|
}).optional(),
|
|
60582
60668
|
protected: boolean().optional(),
|
|
60583
|
-
removable: boolean().optional()
|
|
60669
|
+
removable: boolean().optional(),
|
|
60670
|
+
/** Declared Integrations-page block (mirror of `AddonDeclaration.integrationSection`). */
|
|
60671
|
+
integrationSection: _enum(["system", "providers"]).optional()
|
|
60584
60672
|
});
|
|
60585
60673
|
var AddonProcessSchema = object({
|
|
60586
60674
|
pid: number().optional(),
|
|
@@ -61714,6 +61802,56 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
|
|
|
61714
61802
|
auth: "protected"
|
|
61715
61803
|
});
|
|
61716
61804
|
/**
|
|
61805
|
+
* A pulse train in signed microseconds: mark (+) first, then space (-), strictly
|
|
61806
|
+
* alternating, no zeros, 2..1024 entries.
|
|
61807
|
+
*/
|
|
61808
|
+
var IrTimingsSchema = array(number().int()).min(2).max(1024).superRefine((timings, ctx) => {
|
|
61809
|
+
timings.forEach((value, index) => {
|
|
61810
|
+
const expectMark = index % 2 === 0;
|
|
61811
|
+
if (value === 0 || value > 0 !== expectMark) ctx.addIssue({
|
|
61812
|
+
code: "custom",
|
|
61813
|
+
message: `timing ${index} must be a non-zero ${expectMark ? "mark (positive)" : "space (negative)"}`,
|
|
61814
|
+
path: [index]
|
|
61815
|
+
});
|
|
61816
|
+
});
|
|
61817
|
+
});
|
|
61818
|
+
/** Per-command transmit options. Every key is optional; a transmitter applies what it can. */
|
|
61819
|
+
var TransmitSettingsSchema = object({
|
|
61820
|
+
carrierHz: number().int().positive().optional(),
|
|
61821
|
+
dutyCyclePercent: number().int().min(1).max(100).optional(),
|
|
61822
|
+
repeat: number().int().min(0).max(20).optional(),
|
|
61823
|
+
repeatDelayMs: number().int().min(0).optional()
|
|
61824
|
+
});
|
|
61825
|
+
/** The setting keys a transmitter may declare as settable (`getInfo.settable`). */
|
|
61826
|
+
var TransmitSettingKeySchema = _enum([
|
|
61827
|
+
"carrierHz",
|
|
61828
|
+
"dutyCyclePercent",
|
|
61829
|
+
"repeat",
|
|
61830
|
+
"repeatDelayMs"
|
|
61831
|
+
]);
|
|
61832
|
+
var IrMediumSchema = _enum(["ir", "rf"]);
|
|
61833
|
+
var IrSendResultSchema = object({
|
|
61834
|
+
ok: literal(true),
|
|
61835
|
+
/** Settings the transmitter could not apply; the train was still sent. */
|
|
61836
|
+
ignoredSettings: array(string())
|
|
61837
|
+
});
|
|
61838
|
+
var IrTransmitterInfoSchema = object({
|
|
61839
|
+
media: array(IrMediumSchema),
|
|
61840
|
+
settable: array(TransmitSettingKeySchema),
|
|
61841
|
+
maxTimings: number().int().positive()
|
|
61842
|
+
});
|
|
61843
|
+
DeviceType.Generic, method(object({
|
|
61844
|
+
deviceId: number().int().nonnegative(),
|
|
61845
|
+
timings: IrTimingsSchema,
|
|
61846
|
+
settings: TransmitSettingsSchema.optional()
|
|
61847
|
+
}), IrSendResultSchema, {
|
|
61848
|
+
kind: "mutation",
|
|
61849
|
+
auth: "protected"
|
|
61850
|
+
}), method(object({ deviceId: number().int().nonnegative() }), IrTransmitterInfoSchema, {
|
|
61851
|
+
kind: "query",
|
|
61852
|
+
auth: "protected"
|
|
61853
|
+
});
|
|
61854
|
+
/**
|
|
61717
61855
|
* `calendar-source` — collection cap exposing per-provider calendars and
|
|
61718
61856
|
* their events. Every addon that contributes calendars (Home Assistant,
|
|
61719
61857
|
* a future Google Calendar addon, …) registers a provider here. The hub
|
|
@@ -67889,9 +68027,14 @@ var PetFeederStatusSchema = object({
|
|
|
67889
68027
|
* (`device_class: problem`, on = low). True when the tank reports empty,
|
|
67890
68028
|
* or, on a dual-hopper model, when EITHER hopper is empty. */
|
|
67891
68029
|
lowFood: boolean(),
|
|
67892
|
-
/** Battery charge 0..100 (%).
|
|
67893
|
-
*
|
|
68030
|
+
/** Battery charge 0..100 (%). On a feeder running on `mains` this is the
|
|
68031
|
+
* BACKUP battery's charge, not the power source. Null when the device has
|
|
68032
|
+
* no battery reading. */
|
|
67894
68033
|
batteryPower: number().min(0).max(100).nullable().meta(readingMeta("percentage")),
|
|
68034
|
+
/** What the feeder is powered from right now: `mains` (plugged in, the
|
|
68035
|
+
* battery is only a backup) or `battery`. Null when the device does not
|
|
68036
|
+
* report it. */
|
|
68037
|
+
powerSource: _enum(["mains", "battery"]).nullable(),
|
|
67895
68038
|
/**
|
|
67896
68039
|
* Desiccant life remaining, stored in seconds (duration base, D944).
|
|
67897
68040
|
* Providers convert from the days the feeder reports. Null when the
|
|
@@ -78766,6 +78909,20 @@ Object.freeze({
|
|
|
78766
78909
|
access: "create",
|
|
78767
78910
|
role: "viewer"
|
|
78768
78911
|
},
|
|
78912
|
+
"irTransmitter.getInfo": {
|
|
78913
|
+
capName: "ir-transmitter",
|
|
78914
|
+
capScope: "device",
|
|
78915
|
+
addonId: null,
|
|
78916
|
+
access: "view",
|
|
78917
|
+
role: "viewer"
|
|
78918
|
+
},
|
|
78919
|
+
"irTransmitter.send": {
|
|
78920
|
+
capName: "ir-transmitter",
|
|
78921
|
+
capScope: "device",
|
|
78922
|
+
addonId: null,
|
|
78923
|
+
access: "create",
|
|
78924
|
+
role: "viewer"
|
|
78925
|
+
},
|
|
78769
78926
|
"keychain.delete": {
|
|
78770
78927
|
capName: "keychain",
|
|
78771
78928
|
capScope: "system",
|
|
@@ -86389,6 +86546,11 @@ var ACTUATOR_CAP_VOCABULARY = {
|
|
|
86389
86546
|
icon: "circle-dot"
|
|
86390
86547
|
}]
|
|
86391
86548
|
},
|
|
86549
|
+
"ir-transmitter": {
|
|
86550
|
+
scope: "device",
|
|
86551
|
+
noun: t("IR / RF transmitter", "Trasmettitore IR / RF"),
|
|
86552
|
+
notOperatorFacing: { send: "a raw pulse train is not something an operator composes in an automation; the remote that owns the command table sends it" }
|
|
86553
|
+
},
|
|
86392
86554
|
control: {
|
|
86393
86555
|
scope: "device",
|
|
86394
86556
|
noun: t("Control", "Controllo"),
|
|
@@ -90108,6 +90270,16 @@ Object.freeze({
|
|
|
90108
90270
|
form: "single",
|
|
90109
90271
|
optional: false
|
|
90110
90272
|
}],
|
|
90273
|
+
"irTransmitter.getInfo": [{
|
|
90274
|
+
name: "deviceId",
|
|
90275
|
+
form: "single",
|
|
90276
|
+
optional: false
|
|
90277
|
+
}],
|
|
90278
|
+
"irTransmitter.send": [{
|
|
90279
|
+
name: "deviceId",
|
|
90280
|
+
form: "single",
|
|
90281
|
+
optional: false
|
|
90282
|
+
}],
|
|
90111
90283
|
"keychain.deleteDeviceScope": [{
|
|
90112
90284
|
name: "deviceId",
|
|
90113
90285
|
form: "single",
|
|
@@ -92112,6 +92284,33 @@ function isAudioClassName(name) {
|
|
|
92112
92284
|
return name.trim().toLowerCase().startsWith(`${AUDIO_GROUP_KEY}-`);
|
|
92113
92285
|
}
|
|
92114
92286
|
new Set(["devices", "classes"]);
|
|
92287
|
+
function valueFor(param, raw) {
|
|
92288
|
+
switch (param.type) {
|
|
92289
|
+
case "enum": return typeof raw === "string" && (param.options ?? []).some((o) => o.value === raw) ? raw : void 0;
|
|
92290
|
+
case "number": {
|
|
92291
|
+
if (typeof raw !== "number" || !Number.isFinite(raw)) return void 0;
|
|
92292
|
+
const floor = param.min ?? Number.NEGATIVE_INFINITY;
|
|
92293
|
+
const ceil = param.max ?? Number.POSITIVE_INFINITY;
|
|
92294
|
+
return Math.min(ceil, Math.max(floor, raw));
|
|
92295
|
+
}
|
|
92296
|
+
case "boolean": return typeof raw === "boolean" ? raw : void 0;
|
|
92297
|
+
case "string": return typeof raw === "string" && raw.length > 0 ? raw : void 0;
|
|
92298
|
+
}
|
|
92299
|
+
}
|
|
92300
|
+
/**
|
|
92301
|
+
* The values a rule target's `params` contribute for a kind: only declared
|
|
92302
|
+
* keys, only valid values. `undefined` when nothing survives — a notifier that
|
|
92303
|
+
* declared nothing is never handed a `delivery` block.
|
|
92304
|
+
*/
|
|
92305
|
+
function resolveDeliveryParams(declared, params) {
|
|
92306
|
+
if (declared === void 0 || params === void 0) return void 0;
|
|
92307
|
+
const out = {};
|
|
92308
|
+
for (const param of declared) {
|
|
92309
|
+
const value = valueFor(param, params[param.key]);
|
|
92310
|
+
if (value !== void 0) out[param.key] = value;
|
|
92311
|
+
}
|
|
92312
|
+
return Object.keys(out).length > 0 ? out : void 0;
|
|
92313
|
+
}
|
|
92115
92314
|
/**
|
|
92116
92315
|
* WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
|
|
92117
92316
|
* consumed by the rule ENGINE and by every rule EDITOR.
|
|
@@ -96675,6 +96874,22 @@ function armRemovalReconcile(opts) {
|
|
|
96675
96874
|
timer.unref?.();
|
|
96676
96875
|
return () => clearInterval(timer);
|
|
96677
96876
|
}
|
|
96877
|
+
discriminatedUnion("kind", [object({
|
|
96878
|
+
kind: literal("raw"),
|
|
96879
|
+
timings: array(number().int()),
|
|
96880
|
+
settings: TransmitSettingsSchema.optional()
|
|
96881
|
+
}), object({
|
|
96882
|
+
kind: literal("pronto"),
|
|
96883
|
+
code: string()
|
|
96884
|
+
})]);
|
|
96885
|
+
object({
|
|
96886
|
+
manufacturer: string().optional(),
|
|
96887
|
+
supportedModels: array(string()).optional(),
|
|
96888
|
+
supportedController: string().optional(),
|
|
96889
|
+
commandsEncoding: string(),
|
|
96890
|
+
delay: number().nonnegative().optional(),
|
|
96891
|
+
commands: record(string(), unknown())
|
|
96892
|
+
});
|
|
96678
96893
|
//#endregion
|
|
96679
96894
|
//#region src/pipeline-analytics/cluster-model-pin.ts
|
|
96680
96895
|
/**
|
|
@@ -98537,6 +98752,12 @@ Object.defineProperty(exports, "resolveClusterModelPin", {
|
|
|
98537
98752
|
return resolveClusterModelPin;
|
|
98538
98753
|
}
|
|
98539
98754
|
});
|
|
98755
|
+
Object.defineProperty(exports, "resolveDeliveryParams", {
|
|
98756
|
+
enumerable: true,
|
|
98757
|
+
get: function() {
|
|
98758
|
+
return resolveDeliveryParams;
|
|
98759
|
+
}
|
|
98760
|
+
});
|
|
98540
98761
|
Object.defineProperty(exports, "resolveLocationMode", {
|
|
98541
98762
|
enumerable: true,
|
|
98542
98763
|
get: function() {
|
|
@@ -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-CC7pvitG.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-B_mY0hd7.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-OPayQG8i.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-YNYqWfWY.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.438",
|
|
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.346",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|