@camstack/addon-pipeline-orchestrator 1.2.709 → 1.2.710

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/index.js CHANGED
@@ -6154,7 +6154,7 @@ var ZodIssueCode = {
6154
6154
  var ZodFirstPartyTypeKind;
6155
6155
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6156
6156
  //#endregion
6157
- //#region ../types/dist/runtime-capabilities-ql3VRzQu.mjs
6157
+ //#region ../types/dist/runtime-capabilities-CK6y0W5U.mjs
6158
6158
  /**
6159
6159
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6160
6160
  * window to float samples (D455).
@@ -20222,6 +20222,45 @@ var CAP_VOCABULARY_BY_NAME = {
20222
20222
  }
20223
20223
  ],
20224
20224
  icon: "battery-charging"
20225
+ },
20226
+ {
20227
+ kind: "enum",
20228
+ field: "chargeState",
20229
+ label: {
20230
+ en: "Charge state",
20231
+ it: "Stato di carica"
20232
+ },
20233
+ values: [
20234
+ {
20235
+ value: "charging",
20236
+ label: {
20237
+ en: "Charging",
20238
+ it: "In carica"
20239
+ }
20240
+ },
20241
+ {
20242
+ value: "full",
20243
+ label: {
20244
+ en: "Full",
20245
+ it: "Carica completa"
20246
+ }
20247
+ },
20248
+ {
20249
+ value: "idle",
20250
+ label: {
20251
+ en: "Not charging",
20252
+ it: "Non in carica"
20253
+ }
20254
+ },
20255
+ {
20256
+ value: "unknown",
20257
+ label: {
20258
+ en: "Unknown",
20259
+ it: "Sconosciuto"
20260
+ }
20261
+ }
20262
+ ],
20263
+ icon: "battery-charging"
20225
20264
  }
20226
20265
  ],
20227
20266
  events: { onStatusChanged: { notOperatorFacing: "the level / sleeping / charging state triggers each read one field of this change" } },
@@ -21491,6 +21530,24 @@ Object.freeze({
21491
21530
  "path": "voltage",
21492
21531
  "valueType": "number"
21493
21532
  },
21533
+ {
21534
+ "path": "chargeState",
21535
+ "valueType": "enum",
21536
+ "enumValues": [
21537
+ "charging",
21538
+ "full",
21539
+ "idle",
21540
+ "unknown"
21541
+ ]
21542
+ },
21543
+ {
21544
+ "path": "currentMa",
21545
+ "valueType": "number"
21546
+ },
21547
+ {
21548
+ "path": "temperatureC",
21549
+ "valueType": "number"
21550
+ },
21494
21551
  {
21495
21552
  "path": "lastContactAt",
21496
21553
  "valueType": "number"
@@ -23606,6 +23663,650 @@ Object.freeze({
23606
23663
  }
23607
23664
  ]
23608
23665
  });
23666
+ Object.freeze({
23667
+ "air-quality-sensor": {
23668
+ "aqi": "optional",
23669
+ "co2": "optional",
23670
+ "lastFetchedAt": "required",
23671
+ "pm10": "optional",
23672
+ "pm25": "optional",
23673
+ "voc": "optional"
23674
+ },
23675
+ "alarm-panel": {
23676
+ "availableModes": "required",
23677
+ "codeRequired": "required",
23678
+ "lastChangedAt": "required",
23679
+ "state": "required",
23680
+ "targetMode": "optional"
23681
+ },
23682
+ "ambient-light-sensor": {
23683
+ "illuminance": "required",
23684
+ "lastFetchedAt": "required"
23685
+ },
23686
+ "audio-metrics": {
23687
+ "avgDbfs": "required",
23688
+ "byClass": "required",
23689
+ "current": "required",
23690
+ "level": "required",
23691
+ "peakDbfs": "required",
23692
+ "ts": "required",
23693
+ "windowSec": "required"
23694
+ },
23695
+ "automation-control": {
23696
+ "enabled": "required",
23697
+ "isRunning": "required",
23698
+ "lastChangedAt": "required",
23699
+ "lastError": "required",
23700
+ "lastTriggeredAt": "required"
23701
+ },
23702
+ "battery": {
23703
+ "binary": "optional",
23704
+ "chargeState": "optional",
23705
+ "charging": "required",
23706
+ "currentMa": "optional",
23707
+ "lastContactAt": "optional",
23708
+ "lastFullRefreshAt": "optional",
23709
+ "lastUpdated": "required",
23710
+ "level": "required",
23711
+ "sleeping": "required",
23712
+ "temperatureC": "optional",
23713
+ "voltage": "optional"
23714
+ },
23715
+ "binary": {
23716
+ "lastChangedAt": "required",
23717
+ "on": "required"
23718
+ },
23719
+ "brightness": {
23720
+ "lastChangedAt": "required",
23721
+ "level": "required"
23722
+ },
23723
+ "camera-streams": {
23724
+ "lastChangedAt": "required",
23725
+ "online": "required",
23726
+ "slotErrors": "required",
23727
+ "slotStatuses": "required"
23728
+ },
23729
+ "carbon-monoxide": {
23730
+ "detected": "required",
23731
+ "lastChangedAt": "required"
23732
+ },
23733
+ "climate-control": {
23734
+ "action": "optional",
23735
+ "availableFanModes": "required",
23736
+ "availableModes": "required",
23737
+ "availablePresets": "required",
23738
+ "currentHumidity": "required",
23739
+ "currentTemp": "required",
23740
+ "fanMode": "required",
23741
+ "lastActiveMode": "optional",
23742
+ "lastFetchedAt": "required",
23743
+ "maxTemp": "optional",
23744
+ "minTemp": "optional",
23745
+ "mode": "required",
23746
+ "preset": "required",
23747
+ "swingHorizontal": "required",
23748
+ "swingVertical": "required",
23749
+ "target": "required",
23750
+ "targetHigh": "required",
23751
+ "targetHumidity": "required",
23752
+ "targetLow": "required",
23753
+ "tempStep": "optional"
23754
+ },
23755
+ "color": {
23756
+ "colorTemperature": "optional",
23757
+ "hsv": "optional",
23758
+ "lastChangedAt": "required",
23759
+ "mode": "required",
23760
+ "rgb": "optional"
23761
+ },
23762
+ "connectivity": {
23763
+ "connected": "required",
23764
+ "lastChangedAt": "required"
23765
+ },
23766
+ "consumables": {
23767
+ "items": "required",
23768
+ "lastChangedAt": "required",
23769
+ "lastFetchedAt": "required"
23770
+ },
23771
+ "contact": {
23772
+ "entryOpen": "required",
23773
+ "lastChangedAt": "required"
23774
+ },
23775
+ "control": {
23776
+ "kind": "required",
23777
+ "lastChangedAt": "required",
23778
+ "max": "optional",
23779
+ "min": "optional",
23780
+ "options": "required",
23781
+ "step": "optional",
23782
+ "value": "required"
23783
+ },
23784
+ "cover": {
23785
+ "lastChangedAt": "required",
23786
+ "position": "required",
23787
+ "state": "required",
23788
+ "tiltPosition": "required"
23789
+ },
23790
+ "day-night": {
23791
+ "lastFetchedAt": "required",
23792
+ "mode": "required",
23793
+ "sensitivity": "optional",
23794
+ "switchDelaySec": "optional"
23795
+ },
23796
+ "device-status": {
23797
+ "lastChangedAt": "required",
23798
+ "online": "required"
23799
+ },
23800
+ "dishwasher": {
23801
+ "activeEvents": "required",
23802
+ "availability": "required",
23803
+ "availablePrograms": "required",
23804
+ "childLock": "required",
23805
+ "delayedStart": "required",
23806
+ "doorLocked": "required",
23807
+ "doorOpen": "required",
23808
+ "errorCode": "required",
23809
+ "errorLabel": "required",
23810
+ "extraDry": "required",
23811
+ "filterCleaningDue": "required",
23812
+ "halfLoad": "required",
23813
+ "hygienePlus": "required",
23814
+ "intensiveZone": "required",
23815
+ "lastFetchedAt": "required",
23816
+ "localControlActive": "required",
23817
+ "machineCareDue": "required",
23818
+ "machineCareRemainingRuns": "required",
23819
+ "operationState": "required",
23820
+ "powerOn": "required",
23821
+ "powerState": "required",
23822
+ "program": "required",
23823
+ "progress": "required",
23824
+ "remaining": "required",
23825
+ "remoteControlActive": "required",
23826
+ "remoteStartAllowed": "required",
23827
+ "selectedProgram": "required",
23828
+ "state": "required",
23829
+ "varioSpeedPlus": "required"
23830
+ },
23831
+ "do-not-disturb": {
23832
+ "enabled": "required",
23833
+ "lastChangedAt": "required"
23834
+ },
23835
+ "doorbell": {
23836
+ "lastPressedAt": "required",
23837
+ "pressCountSinceStart": "required"
23838
+ },
23839
+ "energy-system": {
23840
+ "grid": "required",
23841
+ "heatPump": "required",
23842
+ "house": "required",
23843
+ "lastFetchedAt": "required",
23844
+ "solar": "required",
23845
+ "storage": "required"
23846
+ },
23847
+ "enum-sensor": {
23848
+ "lastFetchedAt": "required",
23849
+ "timestamp": "optional",
23850
+ "value": "required"
23851
+ },
23852
+ "error": {
23853
+ "active": "required",
23854
+ "code": "required",
23855
+ "faults": "optional",
23856
+ "label": "required",
23857
+ "lastFetchedAt": "required",
23858
+ "severity": "required",
23859
+ "since": "required"
23860
+ },
23861
+ "event-emitter": {
23862
+ "eventCountSinceStart": "required",
23863
+ "eventTypes": "required",
23864
+ "lastEvent": "required",
23865
+ "vocabulary": "optional"
23866
+ },
23867
+ "fan-control": {
23868
+ "availablePresets": "required",
23869
+ "direction": "required",
23870
+ "lastChangedAt": "required",
23871
+ "oscillating": "required",
23872
+ "oscillationAxes": "optional",
23873
+ "percentageStep": "optional",
23874
+ "preset": "required",
23875
+ "speed": "required"
23876
+ },
23877
+ "feature-probe": {
23878
+ "channelCount": "required",
23879
+ "deviceType": "required",
23880
+ "flags": "required",
23881
+ "lastFetchedAt": "required",
23882
+ "lastProbedAt": "required",
23883
+ "model": "required"
23884
+ },
23885
+ "flood": {
23886
+ "flooded": "required",
23887
+ "lastChangedAt": "required"
23888
+ },
23889
+ "gas": {
23890
+ "detected": "required",
23891
+ "lastChangedAt": "required"
23892
+ },
23893
+ "group-active": {
23894
+ "active": "required",
23895
+ "lastChangedAt": "required"
23896
+ },
23897
+ "group-commands": { "results": "required" },
23898
+ "group-status": {
23899
+ "excluded": "required",
23900
+ "included": "required",
23901
+ "total": "required"
23902
+ },
23903
+ "heat-pump-status": {
23904
+ "circuits": "required",
23905
+ "energy": "required",
23906
+ "lastFetchedAt": "required",
23907
+ "power": "required",
23908
+ "starts": "required",
23909
+ "system": "required",
23910
+ "temperatures": "required",
23911
+ "waterPressureBar": "required"
23912
+ },
23913
+ "heating-valve": {
23914
+ "lastFetchedAt": "required",
23915
+ "position": "required"
23916
+ },
23917
+ "humidifier": {
23918
+ "action": "required",
23919
+ "availableModes": "required",
23920
+ "currentHumidity": "required",
23921
+ "lastChangedAt": "required",
23922
+ "maxHumidity": "required",
23923
+ "minHumidity": "required",
23924
+ "mode": "required",
23925
+ "on": "required",
23926
+ "targetHumidity": "required"
23927
+ },
23928
+ "humidity-sensor": {
23929
+ "humidity": "required",
23930
+ "lastFetchedAt": "required"
23931
+ },
23932
+ "image": {
23933
+ "lastUpdated": "required",
23934
+ "url": "required"
23935
+ },
23936
+ "image-settings": {
23937
+ "backlightMode": "optional",
23938
+ "brightness": "optional",
23939
+ "contrast": "optional",
23940
+ "exposureMode": "optional",
23941
+ "flip": "optional",
23942
+ "lastFetchedAt": "required",
23943
+ "mirror": "optional",
23944
+ "rotate": "optional",
23945
+ "saturation": "optional",
23946
+ "sharpness": "optional",
23947
+ "warmth": "optional",
23948
+ "whiteBalance": "optional"
23949
+ },
23950
+ "intercom": {
23951
+ "ability": "required",
23952
+ "lastSessionAt": "required",
23953
+ "talking": "required"
23954
+ },
23955
+ "ir-transmitter": {
23956
+ "lastFetchedAt": "required",
23957
+ "lastLearn": "required",
23958
+ "lastSend": "required"
23959
+ },
23960
+ "lawn-mower-control": {
23961
+ "activity": "required",
23962
+ "batteryLevel": "required",
23963
+ "currentCode": "required",
23964
+ "currentCodeLabel": "required",
23965
+ "lastChangedAt": "required",
23966
+ "progress": "required",
23967
+ "severity": "required"
23968
+ },
23969
+ "lock-control": {
23970
+ "codeRequired": "optional",
23971
+ "lastChangedAt": "required",
23972
+ "state": "required"
23973
+ },
23974
+ "low-power-sleep": {
23975
+ "lastContactAt": "optional",
23976
+ "lastUpdated": "required",
23977
+ "sleeping": "required"
23978
+ },
23979
+ "media-player": {
23980
+ "assumedFields": "optional",
23981
+ "availableSources": "required",
23982
+ "currentMedia": "required",
23983
+ "declaredSources": "optional",
23984
+ "duration": "required",
23985
+ "isMuted": "required",
23986
+ "lastChangedAt": "required",
23987
+ "muteReadback": "optional",
23988
+ "position": "required",
23989
+ "positionUpdatedAt": "optional",
23990
+ "repeat": "required",
23991
+ "shuffle": "required",
23992
+ "source": "required",
23993
+ "state": "required",
23994
+ "stateSource": "optional",
23995
+ "volumeLevel": "required"
23996
+ },
23997
+ "meter": {
23998
+ "lastFetchedAt": "required",
23999
+ "value": "required"
24000
+ },
24001
+ "motion": {
24002
+ "autoClearAfterMs": "required",
24003
+ "detected": "required",
24004
+ "lastDetectedAt": "required"
24005
+ },
24006
+ "motion-trigger": {
24007
+ "enabled": "required",
24008
+ "lastChangedAt": "required",
24009
+ "lastFetchedAt": "required"
24010
+ },
24011
+ "motion-zones": {
24012
+ "enabled": "required",
24013
+ "lastFetchedAt": "required",
24014
+ "regions": "required",
24015
+ "sensitivity": "required"
24016
+ },
24017
+ "native-object-detection": {
24018
+ "enabled": "required",
24019
+ "lastByClass": "required",
24020
+ "lastFetchedAt": "required",
24021
+ "supportedClasses": "required"
24022
+ },
24023
+ "navigation": {
24024
+ "flash": "required",
24025
+ "following": "required",
24026
+ "lastChangedAt": "required",
24027
+ "lastFetchedAt": "required",
24028
+ "lightLevel": "required",
24029
+ "lightMode": "required",
24030
+ "mode": "required"
24031
+ },
24032
+ "network-link": {
24033
+ "lastUpdated": "required",
24034
+ "linkUp": "optional",
24035
+ "rssi": "optional",
24036
+ "signal": "required",
24037
+ "speedKbps": "optional",
24038
+ "ssid": "optional",
24039
+ "type": "required"
24040
+ },
24041
+ "notifier": {
24042
+ "lastError": "required",
24043
+ "lastSentAt": "required",
24044
+ "queueDepth": "required",
24045
+ "supports": "required"
24046
+ },
24047
+ "numeric-sensor": {
24048
+ "lastFetchedAt": "required",
24049
+ "value": "required"
24050
+ },
24051
+ "pet-feeder": {
24052
+ "batteryPower": "required",
24053
+ "bowlFood": "required",
24054
+ "childLock": "required",
24055
+ "desiccantLeftDays": "required",
24056
+ "eating": "required",
24057
+ "error": "required",
24058
+ "errorCode": "required",
24059
+ "feeding": "required",
24060
+ "feedSound": "required",
24061
+ "food1": "required",
24062
+ "food2": "required",
24063
+ "foodLevel": "required",
24064
+ "indicatorLight": "required",
24065
+ "isDualHopper": "required",
24066
+ "lastFeedGrams": "required",
24067
+ "lastFeedHopper1": "required",
24068
+ "lastFeedHopper2": "required",
24069
+ "lastFetchedAt": "required",
24070
+ "lowFood": "required",
24071
+ "powerSource": "required",
24072
+ "status": "required",
24073
+ "supportsMarkRefilled": "required",
24074
+ "volume": "required"
24075
+ },
24076
+ "pet-fountain": {
24077
+ "empty": "required",
24078
+ "error": "required",
24079
+ "lastFetchedAt": "required",
24080
+ "pumpRunning": "required",
24081
+ "waterLevel": "required",
24082
+ "waterVolume": "required"
24083
+ },
24084
+ "power-meter": {
24085
+ "apparentPower": "optional",
24086
+ "current": "optional",
24087
+ "deliveredPower": "optional",
24088
+ "energy": "optional",
24089
+ "lastFetchedAt": "required",
24090
+ "power": "optional",
24091
+ "powerFactor": "optional",
24092
+ "voltage": "optional"
24093
+ },
24094
+ "power-source": {
24095
+ "lastFetchedAt": "required",
24096
+ "offSeconds": "required",
24097
+ "switchOn": "required"
24098
+ },
24099
+ "presence": {
24100
+ "gps": "required",
24101
+ "lastChangedAt": "required",
24102
+ "location": "required",
24103
+ "state": "required"
24104
+ },
24105
+ "pressure-sensor": {
24106
+ "lastFetchedAt": "required",
24107
+ "pressure": "required"
24108
+ },
24109
+ "privacy-mask": {
24110
+ "audioEnabled": "required",
24111
+ "enabled": "required",
24112
+ "lastFetchedAt": "required",
24113
+ "regions": "required"
24114
+ },
24115
+ "ptz-autotrack": {
24116
+ "currentSettings": "required",
24117
+ "enabled": "required",
24118
+ "lastChangedAt": "required",
24119
+ "lastFetchedAt": "required",
24120
+ "supportedTargetTypes": "required"
24121
+ },
24122
+ "pump-cycle": {
24123
+ "enabled": "required",
24124
+ "lastFetchedAt": "required",
24125
+ "offTime": "required",
24126
+ "onTime": "required"
24127
+ },
24128
+ "recording-onboard": {
24129
+ "enabled": "required",
24130
+ "lastFetchedAt": "required",
24131
+ "overwriteWhenFull": "required",
24132
+ "postRecordSec": "required",
24133
+ "preRecordSec": "required",
24134
+ "primaryTrackId": "required",
24135
+ "recordingToNowhere": "required",
24136
+ "segmentMinutes": "required",
24137
+ "storage": "required",
24138
+ "tracks": "required",
24139
+ "unreadableWindows": "required",
24140
+ "windows": "required"
24141
+ },
24142
+ "recording-signal": {
24143
+ "active": "required",
24144
+ "lastChangedAt": "required",
24145
+ "lastFetchedAt": "required",
24146
+ "reason": "required"
24147
+ },
24148
+ "running-state": {
24149
+ "lastFetchedAt": "required",
24150
+ "phase": "required",
24151
+ "running": "required",
24152
+ "since": "required",
24153
+ "source": "required"
24154
+ },
24155
+ "scene-monitor": {
24156
+ "lastFetchedAt": "required",
24157
+ "monitors": "required"
24158
+ },
24159
+ "script-runner": {
24160
+ "isRunning": "required",
24161
+ "lastChangedAt": "required",
24162
+ "lastError": "required",
24163
+ "lastRunAt": "required",
24164
+ "lastRunSuccess": "required"
24165
+ },
24166
+ "siren": {
24167
+ "active": "required",
24168
+ "activeUntil": "required",
24169
+ "activeUntilEstimated": "optional",
24170
+ "durationSeconds": "required",
24171
+ "lastFetchedAt": "required",
24172
+ "lastTriggeredAt": "required",
24173
+ "plays": "optional"
24174
+ },
24175
+ "smoke": {
24176
+ "detected": "required",
24177
+ "lastChangedAt": "required"
24178
+ },
24179
+ "stream-catalog": {
24180
+ "descriptors": "required",
24181
+ "lastFetchedAt": "required"
24182
+ },
24183
+ "stream-params": {
24184
+ "ext": "optional",
24185
+ "lastFetchedAt": "required",
24186
+ "main": "optional",
24187
+ "sub": "optional"
24188
+ },
24189
+ "stream-signals": {
24190
+ "lastFetchedAt": "required",
24191
+ "signals": "required"
24192
+ },
24193
+ "switch": {
24194
+ "lastChangedAt": "required",
24195
+ "on": "required"
24196
+ },
24197
+ "tamper": {
24198
+ "lastChangedAt": "required",
24199
+ "tampered": "required"
24200
+ },
24201
+ "temperature-sensor": {
24202
+ "lastFetchedAt": "required",
24203
+ "temperature": "required"
24204
+ },
24205
+ "timed-run": {
24206
+ "activeUntil": "required",
24207
+ "lastFetchedAt": "required",
24208
+ "quickRun": "required",
24209
+ "requestedBy": "required"
24210
+ },
24211
+ "update": {
24212
+ "availableVersion": "required",
24213
+ "currentVersion": "required",
24214
+ "inProgress": "required",
24215
+ "state": "required",
24216
+ "updatable": "required"
24217
+ },
24218
+ "vacuum-control": {
24219
+ "availableFanSpeeds": "required",
24220
+ "batteryLevel": "required",
24221
+ "errorCode": "required",
24222
+ "errorLabel": "required",
24223
+ "fanSpeed": "required",
24224
+ "lastChangedAt": "required",
24225
+ "progress": "required",
24226
+ "state": "required"
24227
+ },
24228
+ "valve": {
24229
+ "lastChangedAt": "required",
24230
+ "position": "required",
24231
+ "state": "required"
24232
+ },
24233
+ "vibration": {
24234
+ "detected": "required",
24235
+ "lastChangedAt": "required"
24236
+ },
24237
+ "water-heater": {
24238
+ "availableModes": "required",
24239
+ "away": "required",
24240
+ "currentTemp": "required",
24241
+ "lastActiveMode": "optional",
24242
+ "lastChangedAt": "required",
24243
+ "maxTemp": "required",
24244
+ "minTemp": "required",
24245
+ "operationMode": "required",
24246
+ "targetTemp": "required"
24247
+ },
24248
+ "weather": {
24249
+ "condition": "required",
24250
+ "humidity": "required",
24251
+ "lastFetchedAt": "required",
24252
+ "pressure": "required",
24253
+ "temperature": "required",
24254
+ "windBearing": "required",
24255
+ "windSpeed": "required"
24256
+ },
24257
+ "weather-station": {
24258
+ "dewPoint": "optional",
24259
+ "feelsLike": "optional",
24260
+ "humidity": "optional",
24261
+ "lastFetchedAt": "required",
24262
+ "pressure": "optional",
24263
+ "rain24h": "optional",
24264
+ "rainDaily": "optional",
24265
+ "rainEvent": "optional",
24266
+ "rainMonthly": "optional",
24267
+ "rainRate": "optional",
24268
+ "rainWeekly": "optional",
24269
+ "rainYearly": "optional",
24270
+ "solarRadiation": "optional",
24271
+ "temperature": "optional",
24272
+ "uv": "optional",
24273
+ "vpd": "optional",
24274
+ "windBearing": "optional",
24275
+ "windBearingAvg": "optional",
24276
+ "windGust": "optional",
24277
+ "windGustMax": "optional",
24278
+ "windSpeed": "optional"
24279
+ },
24280
+ "workload": {
24281
+ "addresses": "required",
24282
+ "autostart": "required",
24283
+ "hostDeviceId": "required",
24284
+ "image": "required",
24285
+ "lastFetchedAt": "required",
24286
+ "os": "required",
24287
+ "ports": "required",
24288
+ "resources": "required",
24289
+ "since": "required",
24290
+ "state": "required",
24291
+ "updateAvailable": "required",
24292
+ "version": "required"
24293
+ },
24294
+ "zone-analytics": {
24295
+ "frame": "required",
24296
+ "frameHeight": "required",
24297
+ "frameWidth": "required",
24298
+ "stationaryObjects": "optional",
24299
+ "ts": "required",
24300
+ "unzoned": "required",
24301
+ "zones": "required"
24302
+ },
24303
+ "zone-rules": {
24304
+ "detection": "required",
24305
+ "motion": "required",
24306
+ "package": "required"
24307
+ },
24308
+ "zones": { "zones": "required" }
24309
+ });
23609
24310
  Object.freeze({
23610
24311
  "actions": { "run": 363e4 },
23611
24312
  "audio-analyzer": { "classify": 3e4 },
@@ -23708,7 +24409,7 @@ function sleep(ms) {
23708
24409
  return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
23709
24410
  }
23710
24411
  //#endregion
23711
- //#region ../types/dist/implemented-methods-BUBqZ2a0.mjs
24412
+ //#region ../types/dist/implemented-methods-GRoJIvYs.mjs
23712
24413
  /**
23713
24414
  * The ffmpeg build every CamStack node downloads, per platform and arch.
23714
24415
  *
@@ -24840,6 +25541,19 @@ var HelperSpecSchema = discriminatedUnion("kind", [
24840
25541
  publishedProfiles: array(_enum(GRID_PROFILES)).max(3),
24841
25542
  cells: array(GridCellSpecSchema).max(16)
24842
25543
  }),
25544
+ object({
25545
+ kind: literal("crop"),
25546
+ source: CompositionSourceRefSchema,
25547
+ rect: GridRectSchema,
25548
+ aspect: _enum([
25549
+ "16:9",
25550
+ "4:3",
25551
+ "1:1",
25552
+ "free"
25553
+ ]),
25554
+ fps: number$1().int().min(1).max(60),
25555
+ publishedProfiles: array(_enum(GRID_PROFILES)).max(3)
25556
+ }),
24843
25557
  object({
24844
25558
  kind: literal("terminal"),
24845
25559
  terminalId: string().uuid()
@@ -25879,6 +26593,27 @@ function deviceTemplateFilterNames() {
25879
26593
  return DEVICE_TEMPLATE_CATALOGUE.filter((item) => item.kind === "filter").map((item) => item.name);
25880
26594
  }
25881
26595
  //#endregion
26596
+ //#region ../types/dist/enums.mjs
26597
+ function e(group, en, it, flags = {}) {
26598
+ return {
26599
+ group,
26600
+ label: {
26601
+ en,
26602
+ it
26603
+ },
26604
+ noise: flags.noise === true,
26605
+ deprecated: flags.deprecated === true
26606
+ };
26607
+ }
26608
+ var N = { noise: true };
26609
+ EventCategory.SystemBoot, e("system", "System booted", "Sistema avviato"), EventCategory.SystemAddonsReady, e("system", "Addons ready", "Addon pronti"), EventCategory.SystemRestarting, e("system", "System restarting", "Sistema in riavvio"), EventCategory.SystemRestartCompleted, e("system", "Restart completed", "Riavvio completato"), EventCategory.SystemTlsCertChanged, e("system", "TLS certificate changed", "Certificato TLS cambiato"), EventCategory.UpdateAvailable, e("system", "Update available", "Aggiornamento disponibile"), EventCategory.SystemReadyState, e("system", "Readiness changed", "Stato di prontezza cambiato"), EventCategory.AddonStarted, e("addons", "Addon started", "Addon avviato"), EventCategory.AddonStopped, e("addons", "Addon stopped", "Addon fermato"), EventCategory.AddonRestarted, e("addons", "Addon restarted", "Addon riavviato"), EventCategory.AddonUpdated, e("addons", "Addon updated", "Addon aggiornato"), EventCategory.AddonInstalled, e("addons", "Addon installed", "Addon installato"), EventCategory.AddonUninstalled, e("addons", "Addon uninstalled", "Addon disinstallato"), EventCategory.AddonCrashed, e("addons", "Addon crashed", "Addon in errore fatale"), EventCategory.AddonRunnerFailed, e("addons", "Runner failed for good", "Runner fallito definitivamente"), EventCategory.AddonRunnerRefused, e("addons", "Runner refused", "Runner rifiutato"), EventCategory.ProcessStateChanged, e("addons", "Process state changed", "Stato del processo cambiato"), EventCategory.SystemRunnerCheck, e("system", "Runner check", "Verifica dei runner"), EventCategory.AlertEpisode, e("system", "Alert episode", "Episodio di allarme"), EventCategory.AddonError, e("addons", "Addon error", "Errore di un addon"), EventCategory.AddonPageReady, e("addons", "Addon page ready", "Pagina addon pronta"), EventCategory.AddonWidgetReady, e("addons", "Addon widget ready", "Widget addon pronto"), EventCategory.AddonLoadFailed, e("addons", "Addon failed to load", "Caricamento addon fallito"), EventCategory.KeychainChanged, e("system", "Keychain changed", "Portachiavi modificato"), EventCategory.AddonLoadRecovered, e("addons", "Addon load recovered", "Caricamento addon ripristinato"), EventCategory.AddonUnsupportedVersion, e("addons", "Addon version unsupported", "Versione addon non supportata"), EventCategory.AddonUnsupportedResolved, e("addons", "Unsupported addon resolved", "Addon non supportato risolto"), EventCategory.AddonRetryScheduled, e("addons", "Addon retry scheduled", "Nuovo tentativo addon pianificato"), EventCategory.SystemLivenessFailed, e("system", "Liveness check failed", "Controllo di attività fallito"), EventCategory.SystemLivenessRecovered, e("system", "Liveness recovered", "Controllo di attività ripristinato"), EventCategory.AddonRetryAttempting, e("addons", "Addon retry running", "Nuovo tentativo addon in corso"), EventCategory.DeviceRegistered, e("devices", "Device registered", "Dispositivo registrato"), EventCategory.DeviceUnregistered, e("devices", "Device removed", "Dispositivo rimosso"), EventCategory.DeviceEnabled, e("devices", "Device enabled", "Dispositivo abilitato"), EventCategory.DeviceDisabled, e("devices", "Device disabled", "Dispositivo disabilitato"), EventCategory.DeviceSettingsUpdated, e("devices", "Device settings updated", "Impostazioni dispositivo aggiornate"), EventCategory.DeviceBindingsChanged, e("devices", "Device bindings changed", "Collegamenti dispositivo cambiati"), EventCategory.DeviceMetaChanged, e("devices", "Device details changed", "Dettagli dispositivo cambiati"), EventCategory.DeviceSourceInfoChanged, e("devices", "Device source info changed", "Info sorgente dispositivo cambiate"), EventCategory.DeviceStreamsRegistered, e("streams", "Device streams registered", "Stream del dispositivo registrati"), EventCategory.DeviceProvisioned, e("devices", "Device provisioned", "Dispositivo configurato"), EventCategory.DeviceReady, e("devices", "Device ready", "Dispositivo pronto"), EventCategory.IdentityLinkCreated, e("integrations", "Identity linked", "Identità collegata"), EventCategory.IdentityLinkLost, e("integrations", "Identity link lost", "Collegamento identità perso"), EventCategory.IntegrationEnabled, e("integrations", "Integration enabled", "Integrazione abilitata"), EventCategory.IntegrationDisabled, e("integrations", "Integration disabled", "Integrazione disabilitata"), EventCategory.IntegrationDeleted, e("integrations", "Integration deleted", "Integrazione eliminata"), EventCategory.BrokerStatusChanged, e("integrations", "Broker status changed", "Stato del broker cambiato"), EventCategory.BrokerMessage, e("integrations", "Broker message", "Messaggio del broker", N), EventCategory.ProviderStarted, e("integrations", "Provider started", "Provider avviato"), EventCategory.ProviderStopped, e("integrations", "Provider stopped", "Provider fermato"), EventCategory.ProcessCrashed, e("addons", "Process crashed", "Processo andato in crash"), EventCategory.ProcessRestartScheduled, e("addons", "Process restart scheduled", "Riavvio del processo pianificato"), EventCategory.ProcessRestarted, e("addons", "Process restarted", "Processo riavviato"), EventCategory.StorageLocationsChanged, e("storage", "Storage locations changed", "Posizioni di archiviazione cambiate"), EventCategory.RecordingStarted, e("recording", "Recording started", "Registrazione avviata"), EventCategory.RecordingStopped, e("recording", "Recording stopped", "Registrazione fermata"), EventCategory.RecordingError, e("recording", "Recording error", "Errore di registrazione"), EventCategory.RecordingHealthDegraded, e("recording", "Recording degraded", "Registrazione degradata"), EventCategory.RecordingHealthStalled, e("recording", "Recording stalled", "Registrazione bloccata"), EventCategory.RecordingHealthOk, e("recording", "Recording healthy", "Registrazione regolare"), EventCategory.RecordingStorageCritical, e("recording", "Recording storage critical", "Spazio di registrazione critico"), EventCategory.StorageLocationLow, e("storage", "Storage location low", "Spazio in esaurimento"), EventCategory.StorageLocationCritical, e("storage", "Storage location critical", "Spazio critico"), EventCategory.StorageLocationOk, e("storage", "Storage location recovered", "Spazio tornato regolare"), EventCategory.StorageDrainProgress, e("storage", "Drain progress", "Avanzamento dello svuotamento"), EventCategory.StorageDrainComplete, e("storage", "Drain complete", "Svuotamento completato"), EventCategory.RecordingSegmentWritten, e("recording", "Segment written", "Segmento scritto"), EventCategory.RecordingPolicyFallback, e("recording", "Recording policy fallback", "Politica di registrazione di ripiego"), EventCategory.RecordingRetentionCompleted, e("recording", "Retention completed", "Pulizia completata"), EventCategory.RecordingExportProgress, e("recording", "Export progress", "Avanzamento esportazione"), EventCategory.RecordingExportCompleted, e("recording", "Export completed", "Esportazione completata"), EventCategory.RecordingExportFailed, e("recording", "Export failed", "Esportazione fallita"), EventCategory.DetectionEvent, e("detection", "Detection", "Rilevamento"), EventCategory.SessionTrackNew, e("detection", "Session track started", "Nuova traccia di sessione"), EventCategory.SessionTrackExpired, e("detection", "Session track expired", "Traccia di sessione scaduta"), EventCategory.BenchmarkProgress, e("metrics", "Benchmark progress", "Avanzamento benchmark", N), EventCategory.PlatformProbePhase, e("metrics", "Platform probe phase", "Fase di analisi piattaforma", N), EventCategory.PipelineProgress, e("pipeline", "Pipeline progress", "Avanzamento pipeline", N), EventCategory.PipelineTrace, e("pipeline", "Pipeline trace", "Traccia pipeline", N), EventCategory.PipelineInferenceResult, e("pipeline", "Inference result", "Risultato di inferenza", N), EventCategory.PipelineCameraAssigned, e("pipeline", "Camera assigned to pipeline", "Camera assegnata alla pipeline"), EventCategory.PipelineCameraUnassigned, e("pipeline", "Camera unassigned from pipeline", "Camera rimossa dalla pipeline"), EventCategory.PipelineNodeInferenceUnavailable, e("pipeline", "Node inference unavailable", "Inferenza del nodo non disponibile"), EventCategory.PipelineDetectionBlind, e("pipeline", "Detection blind", "Rilevamento cieco"), EventCategory.PipelineMotionNoisy, e("pipeline", "Motion too noisy", "Movimento troppo disturbato"), EventCategory.PipelineMotionCalm, e("pipeline", "Motion calm again", "Movimento di nuovo calmo"), EventCategory.PipelinePackageLlmSilent, e("pipeline", "Package check silent", "Verifica pacchi senza risposta"), EventCategory.PipelinePackageLlmAnswered, e("pipeline", "Package check answered", "Verifica pacchi con risposta"), EventCategory.PipelineCameraUpdated, e("pipeline", "Pipeline camera updated", "Camera della pipeline aggiornata"), EventCategory.PipelineIngestOwnerChanged, e("pipeline", "Ingest owner changed", "Responsabile dell’acquisizione cambiato"), EventCategory.PipelineRunnerLoadSnapshot, e("metrics", "Runner load snapshot", "Carico dei runner", N), EventCategory.PipelineCameraMetricsSnapshot, e("metrics", "Camera metrics snapshot", "Metriche delle camere", N), EventCategory.StreamBrokerMetricsSnapshot, e("metrics", "Stream broker metrics", "Metriche dello stream broker", N), EventCategory.StreamBrokerOnCamStreamDemand, e("streams", "Stream requested", "Stream richiesto"), EventCategory.StreamBrokerOnCamStreamIdle, e("streams", "Stream idle", "Stream inattivo"), EventCategory.StreamBrokerOnRequestStreamSourceRefresh, e("streams", "Stream source refresh requested", "Aggiornamento sorgente stream richiesto"), EventCategory.StreamParamsChanged, e("streams", "Stream parameters changed", "Parametri dello stream cambiati"), EventCategory.DeviceStateChanged, e("devices", "Device state changed", "Stato dispositivo cambiato"), EventCategory.DeviceCommandSettled, e("devices", "Device command settled", "Comando al dispositivo concluso"), EventCategory.DeviceNativeShadowChanged, e("devices", "Device native state changed", "Stato nativo del dispositivo cambiato"), EventCategory.ZoneAnalyticsOccupancyChanged, e("detection", "Zone occupancy changed", "Occupazione zona cambiata"), EventCategory.BatteryOnStatusChanged, e("devices", "Battery status changed", "Stato batteria cambiato"), EventCategory.NetworkLinkOnStatusChanged, e("devices", "Network link status changed", "Stato del collegamento di rete cambiato"), EventCategory.BatteryOnWakeStarted, e("devices", "Battery device woke up", "Dispositivo a batteria attivato"), EventCategory.DoorbellOnPressed, e("devices", "Doorbell pressed", "Campanello premuto"), EventCategory.RunningStarted, e("devices", "Run started", "Esecuzione avviata"), EventCategory.RunningFinished, e("devices", "Run finished", "Esecuzione terminata"), EventCategory.WorkloadStarted, e("devices", "Workload started", "Carico di lavoro avviato"), EventCategory.WorkloadStopped, e("devices", "Workload stopped", "Carico di lavoro fermato"), EventCategory.WorkloadCrashed, e("devices", "Workload crashed", "Carico di lavoro in crash"), EventCategory.WorkloadRecovered, e("devices", "Workload recovered", "Carico di lavoro ripristinato"), EventCategory.DeviceRunOpened, e("devices", "Device run opened", "Ciclo del dispositivo aperto"), EventCategory.DeviceRunClosed, e("devices", "Device run closed", "Ciclo del dispositivo chiuso"), EventCategory.EventEmitted, e("devices", "Device event", "Evento del dispositivo"), EventCategory.PipelineEngineMetricsSnapshot, e("metrics", "Engine metrics snapshot", "Metriche dei motori", N), EventCategory.PipelineEngineProvisioning, e("pipeline", "Engine provisioning", "Preparazione del motore"), EventCategory.ClusterTopologySnapshot, e("metrics", "Cluster topology snapshot", "Topologia del cluster", N), EventCategory.MetricsNodeResourcesSnapshot, e("metrics", "Node resources snapshot", "Risorse dei nodi", N), EventCategory.MetricsNodeProcessesSnapshot, e("metrics", "Node processes snapshot", "Processi dei nodi", N), EventCategory.CapabilityBindingChanged, e("system", "Capability binding changed", "Collegamento di capability cambiato", N), EventCategory.ModelDownloadProgress, e("pipeline", "Model download progress", "Avanzamento download modello", N), EventCategory.AgentRegistered, e("agents", "Agent registered", "Agent registrato"), EventCategory.AgentUnregistered, e("agents", "Agent removed", "Agent rimosso"), EventCategory.AgentOnline, e("agents", "Agent online", "Agent online"), EventCategory.AgentOffline, e("agents", "Agent offline", "Agent offline"), EventCategory.WorkerOnline, e("agents", "Worker online", "Worker online"), EventCategory.WorkerOffline, e("agents", "Worker offline", "Worker offline"), EventCategory.AgentTaskDispatched, e("agents", "Agent task dispatched", "Attività inviata a un agent"), EventCategory.AgentTaskAssigned, e("agents", "Agent task assigned", "Attività assegnata a un agent"), EventCategory.AgentTrpcConnected, e("agents", "Agent API connected", "API dell’agent connessa"), EventCategory.AgentWsConnected, e("agents", "Agent socket connected", "Socket dell’agent connesso"), EventCategory.AgentWsDisconnected, e("agents", "Agent socket disconnected", "Socket dell’agent disconnesso"), EventCategory.AgentBackupActivated, e("agents", "Agent backup activated", "Backup dell’agent attivato"), EventCategory.OrchestrationSettingsUpdated, e("pipeline", "Orchestration settings updated", "Impostazioni di orchestrazione aggiornate"), EventCategory.MotionAnalysis, e("detection", "Motion analysis", "Analisi del movimento", N), EventCategory.MotionZonesRaw, e("detection", "Raw motion zones", "Zone di movimento grezze", N), EventCategory.MotionOnMotionChanged, e("detection", "Motion changed", "Movimento cambiato", N), EventCategory.DetectionResult, e("detection", "Detection result", "Risultato del rilevamento", N), EventCategory.DetectionRaw, e("detection", "Raw detection", "Rilevamento grezzo"), EventCategory.DetectionCameraNative, e("detection", "Camera native detection", "Rilevamento nativo della camera"), EventCategory.PipelineAudioInferenceResult, e("pipeline", "Audio inference result", "Risultato di inferenza audio", N), EventCategory.DetectionPhaseTransition, e("detection", "Detection phase changed", "Fase di rilevamento cambiata"), EventCategory.ProviderMotion, e("detection", "Camera raw motion", "Movimento grezzo della camera", N), EventCategory.ProviderDetection, e("detection", "Camera onboard detection", "Rilevamento a bordo camera"), EventCategory.EnrichmentEmbeddingStored, e("enrichment", "Embedding stored", "Embedding salvato"), EventCategory.EnrichmentSceneStateChanged, e("enrichment", "Scene state changed", "Stato della scena cambiato"), EventCategory.EnrichmentActivitySummary, e("enrichment", "Activity summary", "Riepilogo dell’attività"), EventCategory.PipelineAnalyticsTrackLifecycle, e("detection", "Track lifecycle", "Ciclo di vita della traccia"), EventCategory.PipelineAnalyticsTrackStarted, e("detection", "Track started", "Traccia iniziata", {
26610
+ noise: true,
26611
+ deprecated: true
26612
+ }), EventCategory.PipelineAnalyticsTrackEnded, e("detection", "Track ended", "Traccia terminata", {
26613
+ noise: true,
26614
+ deprecated: true
26615
+ }), EventCategory.PipelineAnalyticsDetectionEvent, e("detection", "Analytics detection", "Rilevamento analitico", N), EventCategory.PipelineAnalyticsFrameTracked, e("detection", "Frame tracked", "Fotogramma tracciato", N), EventCategory.PipelineAnalyticsStationaryChanged, e("detection", "Stationary object changed", "Oggetto fermo cambiato"), EventCategory.PipelineAnalyticsPackageDelivered, e("detection", "Package delivered", "Pacco consegnato"), EventCategory.PipelineAnalyticsPackagePickedUp, e("detection", "Package picked up", "Pacco ritirato"), EventCategory.PipelineAnalyticsFaceGalleryChanged, e("enrichment", "Face gallery changed", "Galleria volti cambiata"), EventCategory.PipelineAnalyticsPlateGalleryChanged, e("enrichment", "Plate gallery changed", "Galleria targhe cambiata"), EventCategory.CameraStreamsProfileSlotsChanged, e("streams", "Stream profile slots changed", "Slot dei profili stream cambiati"), EventCategory.StreamOnline, e("streams", "Stream online", "Stream online"), EventCategory.StreamOffline, e("streams", "Stream offline", "Stream offline"), EventCategory.NetworkTunnelStarted, e("network", "Tunnel started", "Tunnel avviato"), EventCategory.NetworkTunnelStopped, e("network", "Tunnel stopped", "Tunnel fermato"), EventCategory.LocalNetworkChanged, e("network", "Local network changed", "Rete locale cambiata"), EventCategory.MeshNetworkChanged, e("network", "Mesh network changed", "Rete mesh cambiata"), EventCategory.BackupCompleted, e("backup", "Backup completed", "Backup completato"), EventCategory.BackupRunCompleted, e("backup", "Backup run completed", "Esecuzione backup completata"), EventCategory.BackupRestored, e("backup", "Backup restored", "Backup ripristinato"), EventCategory.NotificationDispatched, e("notifications", "Notification sent", "Notifica inviata"), EventCategory.NotificationFailed, e("notifications", "Notification failed", "Notifica non riuscita"), EventCategory.NotificationRuleBroken, e("notifications", "Notification rule broken", "Regola di notifica non valida"), EventCategory.NotificationRuleRepaired, e("notifications", "Notification rule repaired", "Regola di notifica riparata"), EventCategory.MigrationFailed, e("system", "Migration failed", "Migrazione fallita"), EventCategory.MigrationApplied, e("system", "Migration applied", "Migrazione applicata"), EventCategory.DeviceUpdated, e("devices", "Device updated", "Dispositivo aggiornato"), EventCategory.DeviceOnline, e("devices", "Device online", "Dispositivo online"), EventCategory.DeviceOffline, e("devices", "Device offline", "Dispositivo offline"), EventCategory.DeviceAwake, e("devices", "Device awake", "Dispositivo attivo"), EventCategory.DeviceSleeping, e("devices", "Device sleeping", "Dispositivo in standby"), EventCategory.RetentionCleanup, e("storage", "Retention cleanup", "Pulizia della conservazione"), EventCategory.AddonsBulkUpdateProgress, e("addons", "Bulk update progress", "Avanzamento aggiornamento multiplo"), EventCategory.AddonsJobProgress, e("addons", "Addon job progress", "Avanzamento attività addon"), EventCategory.AddonsJobLog, e("addons", "Addon job log", "Log attività addon"), EventCategory.AccessoriesChildVisibilityChanged, e("devices", "Child visibility changed", "Visibilità del dispositivo figlio cambiata"), EventCategory.AccessoriesChanged, e("devices", "Accessories changed", "Accessori cambiati"), EventCategory.ActionsRunChanged, e("system", "Action run changed", "Esecuzione dell’azione cambiata"), EventCategory.ModelConvertProgress, e("pipeline", "Model conversion progress", "Avanzamento conversione modello");
26616
+ //#endregion
25882
26617
  //#region ../types/dist/index.mjs
25883
26618
  var SMTP_INBOUND_DEFAULT_PORT = 2525;
25884
26619
  var SMTP_INBOUND_DEFAULT_DOMAIN = "camstack.local";
@@ -27742,16 +28477,32 @@ var MigrationPlanSchema = object({ edits: array(discriminatedUnion("op", [
27742
28477
  }),
27743
28478
  object({
27744
28479
  op: literal("upsertRecord"),
28480
+ owner: string().min(1),
27745
28481
  kind: string().min(1),
27746
28482
  recordKey: string().min(1),
27747
- value: unknown(),
28483
+ deviceId: number$1().int().positive().optional(),
28484
+ at: number$1().int().nonnegative().optional(),
28485
+ value: record(string(), unknown()),
27748
28486
  precondition: PreconditionSchema
27749
28487
  }),
27750
28488
  object({
27751
28489
  op: literal("deleteRecord"),
28490
+ owner: string().min(1),
27752
28491
  kind: string().min(1),
27753
28492
  recordKey: string().min(1),
27754
28493
  precondition: PreconditionSchema
28494
+ }),
28495
+ object({
28496
+ op: literal("rekeyDevice"),
28497
+ deviceId: number$1().int().positive(),
28498
+ addonId: string().min(1),
28499
+ stableId: string().min(1),
28500
+ precondition: PreconditionSchema
28501
+ }),
28502
+ object({
28503
+ op: literal("tombstoneDevice"),
28504
+ deviceId: number$1().int().positive(),
28505
+ precondition: PreconditionSchema
27755
28506
  })
27756
28507
  ])) });
27757
28508
  /** `JSON.stringify` with object keys sorted, so equal values spell the same. */
@@ -28669,6 +29420,16 @@ var RecordingBandTriggersSchema = RecordingTriggersSchema;
28669
29420
  * question to answer as a continuous one.
28670
29421
  */
28671
29422
  var RecordingBandAudioSchema = _enum(["on", "muted"]);
29423
+ /**
29424
+ * A battery condition on a band: the band covers a charge level only when
29425
+ * `min <= level < max` (half-open; a missing bound is unbounded). OPTIONAL —
29426
+ * an absent key means "any charge", which is what every config written before
29427
+ * it meant. A band WITH a condition is never met while the charge is unknown.
29428
+ */
29429
+ var RecordingBandBatterySchema = object({
29430
+ min: number$1().min(0).max(100).optional(),
29431
+ max: number$1().min(0).max(100).optional()
29432
+ });
28672
29433
  var RecordingBandSchema = object({
28673
29434
  days: array(RecordingWeekdaySchema),
28674
29435
  start: string().regex(HHMM),
@@ -28680,6 +29441,7 @@ var RecordingBandSchema = object({
28680
29441
  * missing must keep meaning what it meant. See {@link RecordingBandAudioSchema}.
28681
29442
  */
28682
29443
  audio: RecordingBandAudioSchema.optional(),
29444
+ battery: RecordingBandBatterySchema.optional(),
28683
29445
  triggers: RecordingBandTriggersSchema.optional(),
28684
29446
  /**
28685
29447
  * RETIRED (D381). A band no longer carries a pre-buffer of its own.
@@ -55526,6 +56288,31 @@ var BatteryStatusSchema = object({
55526
56288
  */
55527
56289
  voltage: number$1().nullable().optional().meta(readingMeta("voltage", { label: "Voltage" })),
55528
56290
  /**
56291
+ * What the CELL is doing, as opposed to {@link charging} (what it is powered
56292
+ * from). `'charging'` takes current, `'full'` is connected and topped up,
56293
+ * `'idle'` is a stopped cell the firmware reported as such (running on the
56294
+ * battery, or an adapter that is not feeding it).
56295
+ *
56296
+ * Absent or `'unknown'` is NOT an answer: the provider has not read the
56297
+ * charge fields. It must never be coerced to `'idle'` (D315) — a camera
56298
+ * nobody reached would be drawn "not charging". Consumers SKIP it.
56299
+ */
56300
+ chargeState: _enum([
56301
+ "charging",
56302
+ "full",
56303
+ "idle",
56304
+ "unknown"
56305
+ ]).optional().meta({ label: "Charge state" }),
56306
+ /**
56307
+ * Battery current in milliamperes, as the firmware reports it (sign is the
56308
+ * firmware's). `null`/absent = not reported. Stored in mA, not the quantity
56309
+ * base (A), so it carries no reading quantity: a quantity would make the UI
56310
+ * convert and print it as amperes.
56311
+ */
56312
+ currentMa: number$1().nullable().optional().meta(readingMeta("none", { label: "Current (mA)" })),
56313
+ /** Battery temperature in °C. `null`/absent = not reported. */
56314
+ temperatureC: number$1().nullable().optional().meta(readingMeta("temperature", { label: "Temperature" })),
56315
+ /**
55529
56316
  * Ms epoch of the last time the device PROVED it was reachable — a
55530
56317
  * completed firmware round-trip, an observed wake, or an inbound push
55531
56318
  * (firmware event, email). `0`/absent = never since this slice was born.
@@ -81324,6 +82111,7 @@ var HardwareClassIdSchema = _enum([
81324
82111
  "apple-m-base",
81325
82112
  "apple-m-pro",
81326
82113
  "amd-phoenix",
82114
+ "nvidia-gpu",
81327
82115
  "unknown"
81328
82116
  ]);
81329
82117
  var AcceleratorKindSchema = _enum([
@@ -81331,6 +82119,7 @@ var AcceleratorKindSchema = _enum([
81331
82119
  "intel-igpu",
81332
82120
  "amd-igpu",
81333
82121
  "amd-npu",
82122
+ "nvidia-gpu",
81334
82123
  "x86-cpu",
81335
82124
  "arm-cpu",
81336
82125
  "apple-ane",
@@ -83774,6 +84563,38 @@ var DETECTOR_PERF = {
83774
84563
  measured: true
83775
84564
  } }
83776
84565
  },
84566
+ "nvidia-gpu": { "nvidia-gpu": {
84567
+ "yolov9t-320": {
84568
+ p50Ms: 12,
84569
+ fps: 83,
84570
+ measured: false
84571
+ },
84572
+ "yolov9t-640": {
84573
+ p50Ms: 16,
84574
+ fps: 62,
84575
+ measured: false
84576
+ },
84577
+ "yolov9s-320": {
84578
+ p50Ms: 13,
84579
+ fps: 77,
84580
+ measured: false
84581
+ },
84582
+ "yolov9s-640": {
84583
+ p50Ms: 20,
84584
+ fps: 50,
84585
+ measured: false
84586
+ },
84587
+ "yolov9m-320": {
84588
+ p50Ms: 16,
84589
+ fps: 62,
84590
+ measured: false
84591
+ },
84592
+ "yolov9m-640": {
84593
+ p50Ms: 32,
84594
+ fps: 31,
84595
+ measured: false
84596
+ }
84597
+ } },
83777
84598
  "apple-m-pro": {
83778
84599
  "apple-ane": {
83779
84600
  "yolov9t-320": {
@@ -84062,6 +84883,13 @@ function scaleColumn(column, ratio, estimatedFrom) {
84062
84883
  function resolveLatencyColumn(input) {
84063
84884
  const perf = input.perf ?? DETECTOR_PERF;
84064
84885
  const references = input.references ?? REFERENCE_COMPUTE;
84886
+ if (input.accelerator === "nvidia-gpu") {
84887
+ const card = classColumn(perf, "nvidia-gpu", "nvidia-gpu");
84888
+ return card === void 0 ? null : {
84889
+ column: card,
84890
+ estimatedFrom: null
84891
+ };
84892
+ }
84065
84893
  const measured = classColumn(perf, input.hardwareClass, input.accelerator);
84066
84894
  if (measured !== void 0 && input.hardwareClass !== "intel-n-series") return {
84067
84895
  column: measured,
@@ -107373,7 +108201,7 @@ DeviceFeature.BatteryOperated, DeviceFeature.Sleeps, derived("low-power-sleep",
107373
108201
  "startTalkSession",
107374
108202
  "pushTalkAudio",
107375
108203
  "endTalkSession"
107376
- ]), DeviceFeature.PanTiltZoom, derived("ptz"), DeviceFeature.PtzAutotrack, derived("ptz-autotrack"), DeviceFeature.MotionTrigger, derived("motion-trigger", ["setMotionTrigger"]), DeviceFeature.TimedRun, derived("timed-run", ["runFor"]), DeviceFeature.Switch, DeviceFeature.LightColorRgb, DeviceFeature.LightColorHsv, DeviceFeature.LightColorMired, DeviceFeature.ClimateDualSetpoint, DeviceFeature.ClimateHumidity, DeviceFeature.ClimateFanMode, DeviceFeature.ClimatePreset, DeviceFeature.ClimateSwingVertical, DeviceFeature.ClimateSwingHorizontal, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.CoverStoppable, DeviceFeature.ValvePositionable, DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.LockOpen, DeviceFeature.MediaPlayerSeek, DeviceFeature.MediaPlayerVolume, DeviceFeature.MediaPlayerMute, DeviceFeature.MediaPlayerShuffle, DeviceFeature.MediaPlayerRepeat, DeviceFeature.MediaPlayerSelectSource, DeviceFeature.MediaPlayerPlayMedia, DeviceFeature.MediaPlayerNext, DeviceFeature.MediaPlayerPrevious, DeviceFeature.MediaPlayerStop, DeviceFeature.MediaPlayerVolumeStep, DeviceFeature.MediaPlayerChannelStep, DeviceFeature.MediaPlayerPower, DeviceFeature.PresenceGps, DeviceFeature.NotifierImage, DeviceFeature.NotifierPriority, DeviceFeature.NotifierData, DeviceFeature.NotifierActions, DeviceFeature.NotifierRecipients, DeviceFeature.ScriptVariables, DeviceFeature.AutomationSkipCondition, DeviceFeature.VacuumHasAi, DeviceFeature.MowerHasTargetedMowing, DeviceFeature.Navigation, derived("navigation"), DeviceFeature.NetworkLink, derived("network-link");
108204
+ ]), DeviceFeature.PanTiltZoom, derived("ptz"), DeviceFeature.PtzAutotrack, derived("ptz-autotrack"), DeviceFeature.MotionTrigger, derived("motion-trigger", ["setMotionTrigger"]), DeviceFeature.TimedRun, derived("timed-run", ["runFor"]), DeviceFeature.Switch, DeviceFeature.LightColorRgb, DeviceFeature.LightColorHsv, DeviceFeature.LightColorMired, DeviceFeature.ClimateDualSetpoint, DeviceFeature.ClimateHumidity, DeviceFeature.ClimateFanMode, DeviceFeature.ClimatePreset, DeviceFeature.ClimateSwingVertical, DeviceFeature.ClimateSwingHorizontal, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.CoverStoppable, DeviceFeature.ValvePositionable, derived("valve", ["setPosition"]), DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.LockOpen, DeviceFeature.MediaPlayerSeek, DeviceFeature.MediaPlayerVolume, DeviceFeature.MediaPlayerMute, DeviceFeature.MediaPlayerShuffle, DeviceFeature.MediaPlayerRepeat, DeviceFeature.MediaPlayerSelectSource, DeviceFeature.MediaPlayerPlayMedia, DeviceFeature.MediaPlayerNext, DeviceFeature.MediaPlayerPrevious, DeviceFeature.MediaPlayerStop, DeviceFeature.MediaPlayerVolumeStep, DeviceFeature.MediaPlayerChannelStep, DeviceFeature.MediaPlayerPower, DeviceFeature.PresenceGps, DeviceFeature.NotifierImage, DeviceFeature.NotifierPriority, DeviceFeature.NotifierData, DeviceFeature.NotifierActions, DeviceFeature.NotifierRecipients, DeviceFeature.ScriptVariables, DeviceFeature.AutomationSkipCondition, DeviceFeature.VacuumHasAi, DeviceFeature.MowerHasTargetedMowing, DeviceFeature.Navigation, derived("navigation"), DeviceFeature.NetworkLink, derived("network-link");
107377
108205
  var ALL_FEATURES = Object.values(DeviceFeature);
107378
108206
  new Set(ALL_FEATURES);
107379
108207
  DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher;
@@ -112130,6 +112958,10 @@ function classifyInferenceHardware(hw) {
112130
112958
  hardwareClass: "amd-phoenix",
112131
112959
  cpuModel
112132
112960
  };
112961
+ if (hw.nvidia?.usable === true) return {
112962
+ hardwareClass: "nvidia-gpu",
112963
+ cpuModel
112964
+ };
112133
112965
  return {
112134
112966
  hardwareClass: "unknown",
112135
112967
  cpuModel
@@ -112147,6 +112979,7 @@ function acceleratorKindOf(deviceKey, hw) {
112147
112979
  if (backend === "openvino" && device === "npu") return "intel-npu";
112148
112980
  if (backend === "openvino" && device === "gpu") return "intel-igpu";
112149
112981
  if (backend === "onnx" && device === "webgpu") return "amd-igpu";
112982
+ if (backend === "cuda" || backend === "onnx" && device === "cuda") return "nvidia-gpu";
112150
112983
  if (backend === "vitisai" && device === "npu") return "amd-npu";
112151
112984
  if (backend === "cpu" || device === "cpu") return hw.arch === "arm64" ? "arm-cpu" : "x86-cpu";
112152
112985
  return null;
@@ -116193,6 +117026,7 @@ function defaultModelIdForDevice(deviceKey) {
116193
117026
  if (backend === "edgetpu") return "yolov9s-320-edgetpu";
116194
117027
  if (backend === "coreml") return "yolov9m-640";
116195
117028
  if (backend === "onnx" && device === "webgpu") return "yolov9t-320";
117029
+ if (backend === "cuda" || backend === "onnx" && device === "cuda") return "yolov9m-320";
116196
117030
  return "yolov9s-320";
116197
117031
  }
116198
117032
  /**