@camstack/addon-post-analysis 1.2.630 → 1.2.631
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-DB0TSd14.js → clip-model-registry-BgsEOah6.js} +405 -20
- package/dist/{clip-model-registry-wZ4Nt5jo.mjs → clip-model-registry-DMmf5o2X.mjs} +405 -20
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BjktQPk_.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-DkE3t99L.mjs} +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CTux2q1V.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-BMCiXaWO.mjs → hostInit-JabXipp8.mjs} +2 -2
- package/dist/pipeline-analytics/index.js +8481 -6752
- package/dist/pipeline-analytics/index.mjs +8481 -6752
- 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-BxPKSyZo.mjs +0 -26
|
@@ -9381,7 +9381,7 @@ function errMsg(err) {
|
|
|
9381
9381
|
return String(err);
|
|
9382
9382
|
}
|
|
9383
9383
|
//#endregion
|
|
9384
|
-
//#region ../types/dist/composition-
|
|
9384
|
+
//#region ../types/dist/composition-BJ8iAZb3.mjs
|
|
9385
9385
|
/**
|
|
9386
9386
|
* Deterministic SHA-256 hash of an arbitrary serialisable value. The
|
|
9387
9387
|
* canonical form sorts object keys alphabetically at every depth so two
|
|
@@ -9472,7 +9472,7 @@ portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac
|
|
|
9472
9472
|
* ONE table for everyone who asks "is this device HIGH?": the
|
|
9473
9473
|
* recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
|
|
9474
9474
|
* sensor markers, the orchestrator's camera-sensors bridge and
|
|
9475
|
-
* the sources of a
|
|
9475
|
+
* the sources of a pulse (`compilePulseOverride`, D936).
|
|
9476
9476
|
* A second copy would diverge at the first cap added, and the symptom — "the
|
|
9477
9477
|
* sensor rings the doorbell but does not record" — is exactly D62.
|
|
9478
9478
|
*
|
|
@@ -57822,20 +57822,68 @@ var BatteryStatusSchema = object({
|
|
|
57822
57822
|
*/
|
|
57823
57823
|
binary: boolean().optional()
|
|
57824
57824
|
});
|
|
57825
|
+
var BATTERY_DEVICE_TYPES = [
|
|
57826
|
+
DeviceType.Camera,
|
|
57827
|
+
DeviceType.Sensor,
|
|
57828
|
+
DeviceType.Button,
|
|
57829
|
+
DeviceType.Switch,
|
|
57830
|
+
DeviceType.PetFeeder,
|
|
57831
|
+
DeviceType.Container,
|
|
57832
|
+
DeviceType.Thermostat
|
|
57833
|
+
];
|
|
57834
|
+
/** Generic Customize target for the percentage reading (D936). */
|
|
57835
|
+
var batteryCustomize = {
|
|
57836
|
+
version: 1,
|
|
57837
|
+
targets: [{
|
|
57838
|
+
id: "percentage",
|
|
57839
|
+
cardinality: "scalar",
|
|
57840
|
+
vocabulary: {
|
|
57841
|
+
cap: "battery",
|
|
57842
|
+
stateField: "percentage"
|
|
57843
|
+
},
|
|
57844
|
+
deviceTypes: BATTERY_DEVICE_TYPES,
|
|
57845
|
+
apply: "add-or-replace",
|
|
57846
|
+
path: "percentage",
|
|
57847
|
+
sources: [{
|
|
57848
|
+
kind: "field",
|
|
57849
|
+
valueKinds: ["number", "string"],
|
|
57850
|
+
transforms: [{ kind: "identity" }, {
|
|
57851
|
+
kind: "linear",
|
|
57852
|
+
defaultScale: 1,
|
|
57853
|
+
defaultOffset: 0,
|
|
57854
|
+
clampMin: 0,
|
|
57855
|
+
clampMax: 100
|
|
57856
|
+
}]
|
|
57857
|
+
}],
|
|
57858
|
+
companions: [
|
|
57859
|
+
{
|
|
57860
|
+
kind: "constant",
|
|
57861
|
+
path: "charging",
|
|
57862
|
+
value: "unknown",
|
|
57863
|
+
when: "add"
|
|
57864
|
+
},
|
|
57865
|
+
{
|
|
57866
|
+
kind: "constant",
|
|
57867
|
+
path: "sleeping",
|
|
57868
|
+
value: false,
|
|
57869
|
+
when: "add"
|
|
57870
|
+
},
|
|
57871
|
+
{
|
|
57872
|
+
kind: "clock",
|
|
57873
|
+
path: "lastUpdated",
|
|
57874
|
+
when: "add"
|
|
57875
|
+
}
|
|
57876
|
+
],
|
|
57877
|
+
sourceReport: { status: "assignment-status" },
|
|
57878
|
+
advancedExpression: true
|
|
57879
|
+
}]
|
|
57880
|
+
};
|
|
57825
57881
|
var batteryCapability = {
|
|
57826
57882
|
name: "battery",
|
|
57827
57883
|
scope: "device",
|
|
57828
57884
|
deviceNative: true,
|
|
57829
57885
|
mode: "singleton",
|
|
57830
|
-
deviceTypes:
|
|
57831
|
-
DeviceType.Camera,
|
|
57832
|
-
DeviceType.Sensor,
|
|
57833
|
-
DeviceType.Button,
|
|
57834
|
-
DeviceType.Switch,
|
|
57835
|
-
DeviceType.PetFeeder,
|
|
57836
|
-
DeviceType.Container,
|
|
57837
|
-
DeviceType.Thermostat
|
|
57838
|
-
],
|
|
57886
|
+
deviceTypes: BATTERY_DEVICE_TYPES,
|
|
57839
57887
|
methods: {
|
|
57840
57888
|
/**
|
|
57841
57889
|
* Explicitly wake the camera from low-power sleep ahead of a
|
|
@@ -57919,6 +57967,7 @@ onStatusChanged: { data: object({
|
|
|
57919
57967
|
kind: "gauge",
|
|
57920
57968
|
unit: "%"
|
|
57921
57969
|
} } },
|
|
57970
|
+
customize: batteryCustomize,
|
|
57922
57971
|
/** Clock fields: written, but excluded from the compare that decides
|
|
57923
57972
|
* whether persisting is worth a SQLite commit. */
|
|
57924
57973
|
volatileStateFields: ["lastUpdated"]
|
|
@@ -58920,6 +58969,106 @@ var ConsumablesStatusSchema = object({
|
|
|
58920
58969
|
items: array(ConsumableItemSchema),
|
|
58921
58970
|
lastChangedAt: number()
|
|
58922
58971
|
});
|
|
58972
|
+
/** Synthesize seed for a link-built status (no native provider).
|
|
58973
|
+
*
|
|
58974
|
+
* ⚠ NO LIVE CALLER since 2026-08-08 (device-links deleted; see
|
|
58975
|
+
* `CapabilityStatusSchema.empty`). The wiring guidance below was written for
|
|
58976
|
+
* exactly the case the operator is asking about again — a Dreame's HA
|
|
58977
|
+
* consumable-life sensors — so it is kept for that conversation, not because
|
|
58978
|
+
* anything reads it today. */
|
|
58979
|
+
var EMPTY_STATUS = {
|
|
58980
|
+
items: [],
|
|
58981
|
+
lastChangedAt: 0
|
|
58982
|
+
};
|
|
58983
|
+
/** Seed for a NEW link-built consumable item. `key`/`label` are overwritten
|
|
58984
|
+
* with the link's `itemKey` (see `status.itemArray`), so the placeholder
|
|
58985
|
+
* empty strings never survive into a validated item. Link-built items are
|
|
58986
|
+
* not resettable — there is no native provider to receive `reset()`.
|
|
58987
|
+
*
|
|
58988
|
+
* Wiring guidance (HA vacuum consumable-life sensors):
|
|
58989
|
+
* - a percent-remaining source (`numeric-sensor`, unit '%') → `level` via
|
|
58990
|
+
* `identity` (or `linear` scale 1 offset 0 clamp [0,100] to be safe);
|
|
58991
|
+
* - an hours-remaining source (e.g. Dreame 'Main Brush Time Left', unit 'h')
|
|
58992
|
+
* → `level` via `linear` with scale = 100 / max-hours for that item
|
|
58993
|
+
* (e.g. main brush 300 h → scale 0.3333) + clamp [0,100];
|
|
58994
|
+
* - a discrete source (`enum-sensor`, e.g. mop pad 'installed') → `status`
|
|
58995
|
+
* via `enum-map` (e.g. { installed: 'ok', missing: 'replace' }).
|
|
58996
|
+
* A numeric→'replace' THRESHOLD (level < 10 → 'replace') is NOT expressible
|
|
58997
|
+
* with the current transform kinds — leave `status` null (valid) until the
|
|
58998
|
+
* expression transform lands. */
|
|
58999
|
+
/** Generic Customize target for one consumable item (D936). Native rows stay read-only. */
|
|
59000
|
+
var consumablesCustomize = {
|
|
59001
|
+
version: 1,
|
|
59002
|
+
targets: [{
|
|
59003
|
+
id: "items",
|
|
59004
|
+
cardinality: "keyedArray",
|
|
59005
|
+
vocabulary: { cap: "consumables" },
|
|
59006
|
+
deviceTypes: Object.values(DeviceType),
|
|
59007
|
+
apply: "add",
|
|
59008
|
+
path: "items",
|
|
59009
|
+
keyField: "key",
|
|
59010
|
+
labelField: "label",
|
|
59011
|
+
itemSchema: ConsumableItemSchema,
|
|
59012
|
+
nativeItems: "read-only",
|
|
59013
|
+
sourceReport: { status: "assignment-status" },
|
|
59014
|
+
fields: [
|
|
59015
|
+
{
|
|
59016
|
+
path: "level",
|
|
59017
|
+
sources: [{
|
|
59018
|
+
kind: "numeric",
|
|
59019
|
+
transforms: [{ kind: "identity" }, {
|
|
59020
|
+
kind: "linear",
|
|
59021
|
+
defaultScale: 1,
|
|
59022
|
+
defaultOffset: 0,
|
|
59023
|
+
clampMin: 0,
|
|
59024
|
+
clampMax: 100
|
|
59025
|
+
}]
|
|
59026
|
+
}]
|
|
59027
|
+
},
|
|
59028
|
+
{
|
|
59029
|
+
path: "remaining.value",
|
|
59030
|
+
sources: [{
|
|
59031
|
+
kind: "numeric",
|
|
59032
|
+
transforms: [{ kind: "identity" }]
|
|
59033
|
+
}],
|
|
59034
|
+
literals: [{
|
|
59035
|
+
path: "remaining.unit",
|
|
59036
|
+
values: [...ConsumableRemainingUnitSchema.options]
|
|
59037
|
+
}]
|
|
59038
|
+
},
|
|
59039
|
+
{
|
|
59040
|
+
path: "status",
|
|
59041
|
+
sources: [{
|
|
59042
|
+
kind: "enum",
|
|
59043
|
+
transforms: [{
|
|
59044
|
+
kind: "enum-map",
|
|
59045
|
+
outputValues: [...ConsumableStatusSchema.options],
|
|
59046
|
+
unmapped: null
|
|
59047
|
+
}]
|
|
59048
|
+
}]
|
|
59049
|
+
}
|
|
59050
|
+
],
|
|
59051
|
+
traits: [{
|
|
59052
|
+
path: "kind",
|
|
59053
|
+
values: [...ConsumableKindSchema.options],
|
|
59054
|
+
defaultValue: "wear"
|
|
59055
|
+
}, {
|
|
59056
|
+
path: "form",
|
|
59057
|
+
values: [...ConsumableFormSchema.options],
|
|
59058
|
+
defaultValue: "part"
|
|
59059
|
+
}],
|
|
59060
|
+
companions: [{
|
|
59061
|
+
kind: "clock",
|
|
59062
|
+
path: "lastChangedAt",
|
|
59063
|
+
when: "add"
|
|
59064
|
+
}, {
|
|
59065
|
+
kind: "clock",
|
|
59066
|
+
path: "lastFetchedAt",
|
|
59067
|
+
when: "add"
|
|
59068
|
+
}],
|
|
59069
|
+
advancedExpression: true
|
|
59070
|
+
}]
|
|
59071
|
+
};
|
|
58923
59072
|
var consumablesCapability = {
|
|
58924
59073
|
name: "consumables",
|
|
58925
59074
|
scope: "device",
|
|
@@ -58957,10 +59106,7 @@ reset: method(object({
|
|
|
58957
59106
|
status: {
|
|
58958
59107
|
schema: ConsumablesStatusSchema,
|
|
58959
59108
|
kind: "push",
|
|
58960
|
-
empty:
|
|
58961
|
-
items: [],
|
|
58962
|
-
lastChangedAt: 0
|
|
58963
|
-
},
|
|
59109
|
+
empty: EMPTY_STATUS,
|
|
58964
59110
|
itemArray: {
|
|
58965
59111
|
path: "items",
|
|
58966
59112
|
keyField: "key",
|
|
@@ -58996,6 +59142,7 @@ reset: method(object({
|
|
|
58996
59142
|
* brush's remaining life and a dishwasher's salt are each recorded the moment
|
|
58997
59143
|
* their provider reports them; an item that appears later gets its series.
|
|
58998
59144
|
*/
|
|
59145
|
+
customize: consumablesCustomize,
|
|
58999
59146
|
history: {
|
|
59000
59147
|
fields: {},
|
|
59001
59148
|
items: {
|
|
@@ -59760,6 +59907,36 @@ var dishwasherCapability = {
|
|
|
59760
59907
|
powerOn: { kind: "boolean" }
|
|
59761
59908
|
} }
|
|
59762
59909
|
};
|
|
59910
|
+
/** Pulse override: a rising edge advances `lastPressedAt` and the press count. */
|
|
59911
|
+
var doorbellCustomize = {
|
|
59912
|
+
version: 1,
|
|
59913
|
+
targets: [{
|
|
59914
|
+
id: "pressed",
|
|
59915
|
+
cardinality: "event",
|
|
59916
|
+
shape: "pulse",
|
|
59917
|
+
vocabulary: {
|
|
59918
|
+
cap: "doorbell",
|
|
59919
|
+
eventName: "onPressed"
|
|
59920
|
+
},
|
|
59921
|
+
deviceTypes: [DeviceType.Camera],
|
|
59922
|
+
apply: "add",
|
|
59923
|
+
applyAuthority: { kind: "composition-claim" },
|
|
59924
|
+
eventName: "onPressed",
|
|
59925
|
+
edges: ["rising"],
|
|
59926
|
+
timestampPath: "lastPressedAt",
|
|
59927
|
+
counterPath: "pressCountSinceStart",
|
|
59928
|
+
highWater: "composer-advance",
|
|
59929
|
+
combine: "any",
|
|
59930
|
+
debounce: {
|
|
59931
|
+
kind: "rising-edge",
|
|
59932
|
+
defaultDebounceMs: 2e3,
|
|
59933
|
+
changedAtRequired: true
|
|
59934
|
+
},
|
|
59935
|
+
sources: [{ kind: "binary" }, { kind: "switch" }],
|
|
59936
|
+
sourceReport: { status: "assignment-status" },
|
|
59937
|
+
advancedExpression: true
|
|
59938
|
+
}]
|
|
59939
|
+
};
|
|
59763
59940
|
var DoorbellStatusSchema = object({
|
|
59764
59941
|
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
59765
59942
|
lastPressedAt: number().nullable(),
|
|
@@ -59826,7 +60003,8 @@ onPressed: {
|
|
|
59826
60003
|
/**
|
|
59827
60004
|
* History (D850): none — `pressCountSinceStart` resets with the addon, so it is not a monotonic meter; presses live in the events ledger.
|
|
59828
60005
|
*/
|
|
59829
|
-
history: "none"
|
|
60006
|
+
history: "none",
|
|
60007
|
+
customize: doorbellCustomize
|
|
59830
60008
|
};
|
|
59831
60009
|
/**
|
|
59832
60010
|
* Enum-state sensor — a string value picked from a finite option set.
|
|
@@ -62283,6 +62461,38 @@ authKey: string().optional() }), object({
|
|
|
62283
62461
|
/** Human-readable error when `ok: false`. */
|
|
62284
62462
|
error: string().optional()
|
|
62285
62463
|
}), { kind: "mutation" });
|
|
62464
|
+
/** Span override: start on a rising edge, end on a fall or this timeout. */
|
|
62465
|
+
var motionCustomize = {
|
|
62466
|
+
version: 1,
|
|
62467
|
+
targets: [{
|
|
62468
|
+
id: "detected",
|
|
62469
|
+
cardinality: "event",
|
|
62470
|
+
shape: "span",
|
|
62471
|
+
vocabulary: {
|
|
62472
|
+
cap: "motion",
|
|
62473
|
+
eventName: "onMotionChanged"
|
|
62474
|
+
},
|
|
62475
|
+
deviceTypes: [DeviceType.Camera],
|
|
62476
|
+
apply: "replace",
|
|
62477
|
+
applyAuthority: {
|
|
62478
|
+
kind: "camera-sensors",
|
|
62479
|
+
timeoutField: "motionCooldownMs"
|
|
62480
|
+
},
|
|
62481
|
+
eventName: "onMotionChanged",
|
|
62482
|
+
start: "rising-edge",
|
|
62483
|
+
end: "falling-edge-or-timeout",
|
|
62484
|
+
timeoutMs: 3e4,
|
|
62485
|
+
combine: "any",
|
|
62486
|
+
sourceModes: [
|
|
62487
|
+
"in-addition",
|
|
62488
|
+
"confirm",
|
|
62489
|
+
"replace"
|
|
62490
|
+
],
|
|
62491
|
+
sources: [{ kind: "binary" }, { kind: "switch" }],
|
|
62492
|
+
sourceReport: { status: "assignment-status" },
|
|
62493
|
+
advancedExpression: false
|
|
62494
|
+
}]
|
|
62495
|
+
};
|
|
62286
62496
|
/**
|
|
62287
62497
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
62288
62498
|
* a timestamp of the last observation. Distinct from
|
|
@@ -62447,7 +62657,8 @@ onMotionChanged: { data: MotionOnMotionChangedDataSchema } },
|
|
|
62447
62657
|
history: { fields: { detected: {
|
|
62448
62658
|
kind: "boolean",
|
|
62449
62659
|
excludeDeviceTypes: [DeviceType.Camera]
|
|
62450
|
-
} } }
|
|
62660
|
+
} } },
|
|
62661
|
+
customize: motionCustomize
|
|
62451
62662
|
};
|
|
62452
62663
|
/**
|
|
62453
62664
|
* Motion-trigger toggle for accessory devices.
|
|
@@ -65208,6 +65419,8 @@ var ptzAutotrackCapability = {
|
|
|
65208
65419
|
*/
|
|
65209
65420
|
history: "none"
|
|
65210
65421
|
};
|
|
65422
|
+
var RUNNING_POWER_START_DELAY_MS = 3e4;
|
|
65423
|
+
var RUNNING_POWER_STOP_DELAY_MS = 18e4;
|
|
65211
65424
|
var RunningStateSourceSchema = _enum(["native", "assigned"]);
|
|
65212
65425
|
var RunningStateStatusSchema = object({
|
|
65213
65426
|
/** null = unknown — never coerced to false (D393). */
|
|
@@ -65216,19 +65429,100 @@ var RunningStateStatusSchema = object({
|
|
|
65216
65429
|
since: number().nullable(),
|
|
65217
65430
|
source: RunningStateSourceSchema,
|
|
65218
65431
|
phase: string().nullable(),
|
|
65219
|
-
|
|
65432
|
+
/** null until a reading has been published (D393). */
|
|
65433
|
+
lastFetchedAt: number().nullable()
|
|
65220
65434
|
});
|
|
65221
65435
|
var RunningFlipEventDataSchema = object({
|
|
65222
65436
|
deviceId: number(),
|
|
65223
65437
|
since: number().nullable(),
|
|
65224
65438
|
phase: string().nullable()
|
|
65225
65439
|
});
|
|
65440
|
+
var RUNNING_DEVICE_TYPES = Object.values(DeviceType);
|
|
65441
|
+
/** Generic Customize target for the running boolean (D936). */
|
|
65442
|
+
var runningCustomize = {
|
|
65443
|
+
version: 1,
|
|
65444
|
+
targets: [{
|
|
65445
|
+
id: "running",
|
|
65446
|
+
cardinality: "scalar",
|
|
65447
|
+
vocabulary: {
|
|
65448
|
+
cap: "running-state",
|
|
65449
|
+
stateField: "running"
|
|
65450
|
+
},
|
|
65451
|
+
deviceTypes: [
|
|
65452
|
+
DeviceType.Dishwasher,
|
|
65453
|
+
DeviceType.Vacuum,
|
|
65454
|
+
DeviceType.LawnMower,
|
|
65455
|
+
DeviceType.MediaPlayer,
|
|
65456
|
+
DeviceType.WaterHeater,
|
|
65457
|
+
DeviceType.Humidifier,
|
|
65458
|
+
DeviceType.Fan,
|
|
65459
|
+
DeviceType.Climate,
|
|
65460
|
+
DeviceType.Thermostat,
|
|
65461
|
+
DeviceType.PetFeeder
|
|
65462
|
+
],
|
|
65463
|
+
apply: "add-or-replace",
|
|
65464
|
+
path: "running",
|
|
65465
|
+
sources: [
|
|
65466
|
+
{
|
|
65467
|
+
kind: "switch",
|
|
65468
|
+
transforms: [{ kind: "identity" }]
|
|
65469
|
+
},
|
|
65470
|
+
{
|
|
65471
|
+
kind: "binary",
|
|
65472
|
+
transforms: [{ kind: "identity" }, { kind: "invert" }]
|
|
65473
|
+
},
|
|
65474
|
+
{
|
|
65475
|
+
kind: "numeric",
|
|
65476
|
+
requiredUnit: "W",
|
|
65477
|
+
transforms: [{
|
|
65478
|
+
kind: "threshold",
|
|
65479
|
+
comparison: "gte",
|
|
65480
|
+
defaultThreshold: 5,
|
|
65481
|
+
defaultStartDwellMs: RUNNING_POWER_START_DELAY_MS,
|
|
65482
|
+
defaultStopDwellMs: RUNNING_POWER_STOP_DELAY_MS,
|
|
65483
|
+
thresholdUnit: "W"
|
|
65484
|
+
}]
|
|
65485
|
+
}
|
|
65486
|
+
],
|
|
65487
|
+
companions: [
|
|
65488
|
+
{
|
|
65489
|
+
kind: "constant",
|
|
65490
|
+
path: "source",
|
|
65491
|
+
value: "assigned",
|
|
65492
|
+
when: "always"
|
|
65493
|
+
},
|
|
65494
|
+
{
|
|
65495
|
+
kind: "constant",
|
|
65496
|
+
path: "phase",
|
|
65497
|
+
value: null,
|
|
65498
|
+
when: "always"
|
|
65499
|
+
},
|
|
65500
|
+
{
|
|
65501
|
+
kind: "clock",
|
|
65502
|
+
path: "lastFetchedAt",
|
|
65503
|
+
when: "always"
|
|
65504
|
+
},
|
|
65505
|
+
{
|
|
65506
|
+
kind: "transition-time",
|
|
65507
|
+
path: "since",
|
|
65508
|
+
sourceChangedAt: "prefer"
|
|
65509
|
+
}
|
|
65510
|
+
],
|
|
65511
|
+
sourceReport: {
|
|
65512
|
+
status: "assignment-status",
|
|
65513
|
+
runtimeField: "source",
|
|
65514
|
+
nativeValue: "native",
|
|
65515
|
+
assignedValue: "assigned"
|
|
65516
|
+
},
|
|
65517
|
+
advancedExpression: true
|
|
65518
|
+
}]
|
|
65519
|
+
};
|
|
65226
65520
|
var runningStateCapability = {
|
|
65227
65521
|
name: "running-state",
|
|
65228
65522
|
scope: "device",
|
|
65229
65523
|
deviceNative: true,
|
|
65230
65524
|
mode: "singleton",
|
|
65231
|
-
deviceTypes:
|
|
65525
|
+
deviceTypes: RUNNING_DEVICE_TYPES,
|
|
65232
65526
|
methods: {},
|
|
65233
65527
|
events: {
|
|
65234
65528
|
onStarted: { data: RunningFlipEventDataSchema },
|
|
@@ -65241,7 +65535,8 @@ var runningStateCapability = {
|
|
|
65241
65535
|
runtimeState: RunningStateStatusSchema,
|
|
65242
65536
|
durability: "restored",
|
|
65243
65537
|
history: { fields: { running: { kind: "boolean" } } },
|
|
65244
|
-
volatileStateFields: ["lastFetchedAt"]
|
|
65538
|
+
volatileStateFields: ["lastFetchedAt"],
|
|
65539
|
+
customize: runningCustomize
|
|
65245
65540
|
};
|
|
65246
65541
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
|
|
65247
65542
|
kind: "mutation",
|
|
@@ -87474,6 +87769,96 @@ var BucketAccumulator = class {
|
|
|
87474
87769
|
}
|
|
87475
87770
|
};
|
|
87476
87771
|
DeviceType.Camera;
|
|
87772
|
+
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher, DeviceType.Camera, DeviceType.Camera, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
|
|
87773
|
+
/**
|
|
87774
|
+
* A saved Customize assignment (D936). The schema is the type: callers use
|
|
87775
|
+
* `z.infer`, they do not restate the shape.
|
|
87776
|
+
*/
|
|
87777
|
+
var OverrideSourceSchema = object({
|
|
87778
|
+
addonId: string().min(1),
|
|
87779
|
+
stableId: string().min(1),
|
|
87780
|
+
cap: string().min(1),
|
|
87781
|
+
fieldPath: string().min(1)
|
|
87782
|
+
});
|
|
87783
|
+
var CustomizeTransformDraftSchema = discriminatedUnion("kind", [
|
|
87784
|
+
object({ kind: literal("identity") }),
|
|
87785
|
+
object({ kind: literal("invert") }),
|
|
87786
|
+
object({
|
|
87787
|
+
kind: literal("threshold"),
|
|
87788
|
+
comparison: _enum(["gte", "lte"]),
|
|
87789
|
+
threshold: number(),
|
|
87790
|
+
startDwellMs: number().nonnegative(),
|
|
87791
|
+
stopDwellMs: number().nonnegative()
|
|
87792
|
+
}),
|
|
87793
|
+
object({
|
|
87794
|
+
kind: literal("linear"),
|
|
87795
|
+
scale: number(),
|
|
87796
|
+
offset: number(),
|
|
87797
|
+
clampMin: number().optional(),
|
|
87798
|
+
clampMax: number().optional()
|
|
87799
|
+
}),
|
|
87800
|
+
object({
|
|
87801
|
+
kind: literal("enum-map"),
|
|
87802
|
+
mapping: record(string(), string().nullable())
|
|
87803
|
+
}),
|
|
87804
|
+
object({ kind: literal("number") })
|
|
87805
|
+
]);
|
|
87806
|
+
var ScalarOverrideDraftSchema = object({
|
|
87807
|
+
kind: literal("scalar"),
|
|
87808
|
+
cap: string().min(1),
|
|
87809
|
+
targetId: string().min(1),
|
|
87810
|
+
source: OverrideSourceSchema,
|
|
87811
|
+
transform: CustomizeTransformDraftSchema
|
|
87812
|
+
});
|
|
87813
|
+
var KeyedArrayOverrideDraftSchema = object({
|
|
87814
|
+
kind: literal("keyedArray"),
|
|
87815
|
+
cap: string().min(1),
|
|
87816
|
+
targetId: string().min(1),
|
|
87817
|
+
key: string().min(1),
|
|
87818
|
+
label: string().min(1),
|
|
87819
|
+
fieldPath: string().min(1),
|
|
87820
|
+
source: OverrideSourceSchema,
|
|
87821
|
+
transform: CustomizeTransformDraftSchema
|
|
87822
|
+
});
|
|
87823
|
+
var PulseOverrideDraftSchema = object({
|
|
87824
|
+
kind: literal("pulse"),
|
|
87825
|
+
cap: string().min(1),
|
|
87826
|
+
targetId: string().min(1),
|
|
87827
|
+
enabled: boolean(),
|
|
87828
|
+
debounceMs: number().nonnegative(),
|
|
87829
|
+
sources: array(OverrideSourceSchema).min(1)
|
|
87830
|
+
});
|
|
87831
|
+
var SpanSourceDraftSchema = OverrideSourceSchema.extend({ mode: _enum([
|
|
87832
|
+
"in-addition",
|
|
87833
|
+
"confirm",
|
|
87834
|
+
"replace"
|
|
87835
|
+
]).optional() });
|
|
87836
|
+
discriminatedUnion("kind", [
|
|
87837
|
+
ScalarOverrideDraftSchema,
|
|
87838
|
+
KeyedArrayOverrideDraftSchema,
|
|
87839
|
+
PulseOverrideDraftSchema,
|
|
87840
|
+
object({
|
|
87841
|
+
kind: literal("span"),
|
|
87842
|
+
cap: string().min(1),
|
|
87843
|
+
targetId: string().min(1),
|
|
87844
|
+
timeoutMs: number().nonnegative(),
|
|
87845
|
+
cooldownMs: number().nonnegative().optional(),
|
|
87846
|
+
sources: array(SpanSourceDraftSchema)
|
|
87847
|
+
})
|
|
87848
|
+
]);
|
|
87849
|
+
object({
|
|
87850
|
+
targetId: string().min(1),
|
|
87851
|
+
configured: boolean(),
|
|
87852
|
+
source: _enum(["native", "assigned"]),
|
|
87853
|
+
state: _enum([
|
|
87854
|
+
"active",
|
|
87855
|
+
"stale",
|
|
87856
|
+
"released",
|
|
87857
|
+
"unavailable"
|
|
87858
|
+
]),
|
|
87859
|
+
reason: string().nullable()
|
|
87860
|
+
});
|
|
87861
|
+
String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
|
|
87477
87862
|
var G711_SCALE_CORRECTION_DB = {
|
|
87478
87863
|
PCMU: 20 * Math.log10(4),
|
|
87479
87864
|
PCMA: 20 * Math.log10(8)
|
|
@@ -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-BgsEOah6.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 { $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-
|
|
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-DMmf5o2X.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";
|
|
@@ -2,7 +2,7 @@ import { a as e, i as t, n, o as r, r as i, t as a } from "./_virtual_mf___mfe_i
|
|
|
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
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-CTux2q1V.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.407",
|
|
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.322",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|