@camstack/addon-pipeline 1.2.601 → 1.2.603

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.
Files changed (35) hide show
  1. package/dist/audio-analyzer/index.js +3 -3
  2. package/dist/audio-analyzer/index.mjs +3 -3
  3. package/dist/{custom-model-catalog-DgyafyuW.js → custom-model-catalog-BAnOZBOf.js} +2 -2
  4. package/dist/{custom-model-catalog-CK9GK3N5.mjs → custom-model-catalog-Dv09Pvq_.mjs} +2 -2
  5. package/dist/detection-pipeline/index.js +4 -4
  6. package/dist/detection-pipeline/index.mjs +4 -4
  7. package/dist/{dist-BaHsDOWa.mjs → dist-CsCflIM1.mjs} +558 -16
  8. package/dist/{dist-BqI10eLV.js → dist-DvXRw_dM.js} +563 -15
  9. package/dist/{model-catalogs-DhGVt_sH.js → model-catalogs-B95QZeYt.js} +1 -1
  10. package/dist/{model-catalogs-DM5sVj1T.mjs → model-catalogs-aTwF92Re.mjs} +1 -1
  11. package/dist/motion-wasm/index.js +1 -1
  12. package/dist/motion-wasm/index.mjs +1 -1
  13. package/dist/{node-B0a0dXhg.mjs → node-DAp5MmRJ.mjs} +1 -1
  14. package/dist/{node-CgwqjGz0.js → node-DxAtLKEn.js} +1 -1
  15. package/dist/pipeline-runner/index.js +3 -3
  16. package/dist/pipeline-runner/index.mjs +3 -3
  17. package/dist/{process-memory-sfdcLVkW.mjs → process-memory-1_2L6U3Q.mjs} +1 -1
  18. package/dist/{process-memory-C0zbWvwD.js → process-memory-CmWDOMmE.js} +1 -1
  19. package/dist/recorder/index.js +352 -51
  20. package/dist/recorder/index.mjs +352 -51
  21. package/dist/{segment-demux-js-BB4CUAB5.mjs → segment-demux-js-DQo9qSHm.mjs} +1 -1
  22. package/dist/{segment-demux-js-B9lL2VCC.js → segment-demux-js-HagdockZ.js} +1 -1
  23. package/dist/stream-broker/_stub.js +2 -2
  24. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CbN9DjoK.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DoBB8xYv.mjs} +3 -3
  25. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DkA9R3eo.mjs +26 -0
  26. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-RrTYeVaZ.mjs +26 -0
  27. package/dist/stream-broker/demux-worker-child.js +1 -1
  28. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  29. package/dist/stream-broker/{hostInit-BSYHAfPt.mjs → hostInit-DaZYQhX4.mjs} +3 -3
  30. package/dist/stream-broker/index.js +3 -3
  31. package/dist/stream-broker/index.mjs +3 -3
  32. package/dist/stream-broker/remoteEntry.js +1 -1
  33. package/package.json +1 -1
  34. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Boq8JqyD.mjs +0 -26
  35. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-B25q1OKG.mjs +0 -26
@@ -1,5 +1,5 @@
1
1
  let node_crypto = require("node:crypto");
2
- //#region ../types/dist/event-category-BvOFi6PY.mjs
2
+ //#region ../types/dist/event-category-DOl51-Ij.mjs
3
3
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4
4
  EventCategory["SystemBoot"] = "system.boot";
5
5
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -78,9 +78,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
78
78
  /**
79
79
  * The node's one-shot runner boot check (D877): planned runners against the
80
80
  * process service, `degraded` when any is failed, refused or missing. The
81
- * alert centre turns it into one alert and a direct critical push.
81
+ * alert centre turns it into one critical alert.
82
82
  */
83
83
  EventCategory["SystemRunnerCheck"] = "system.runner-check";
84
+ /**
85
+ * An alert EPISODE opened or closed, emitted by the alert centre for alerts
86
+ * of severity `critical` or `error` (`AlertEpisodePayload`). The alert
87
+ * centre sends no notification of its own: Notification Center turns this
88
+ * into the `alert-critical` / `alert-error` / `alert-critical-resolved`
89
+ * system-event kinds, and reconciles from the alerts store because a bus
90
+ * event may be dropped (D8, D11).
91
+ */
92
+ EventCategory["AlertEpisode"] = "alert.episode";
84
93
  EventCategory["AddonError"] = "addon.error";
85
94
  EventCategory["AddonPageReady"] = "addon.page-ready";
86
95
  EventCategory["AddonWidgetReady"] = "addon.widget-ready";
@@ -5538,7 +5547,7 @@ var ZodIssueCode = {
5538
5547
  var ZodFirstPartyTypeKind;
5539
5548
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5540
5549
  //#endregion
5541
- //#region ../types/dist/sleep-bZIhUvjd.mjs
5550
+ //#region ../types/dist/sleep-BxjU_fJM.mjs
5542
5551
  /**
5543
5552
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5544
5553
  * window to float samples (D455).
@@ -9049,7 +9058,7 @@ function sleep(ms) {
9049
9058
  return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
9050
9059
  }
9051
9060
  //#endregion
9052
- //#region ../types/dist/err-msg--2RrYiLO.mjs
9061
+ //#region ../types/dist/err-msg-BXKzRBwg.mjs
9053
9062
  var DeviceType = /* @__PURE__ */ function(DeviceType) {
9054
9063
  DeviceType["Camera"] = "camera";
9055
9064
  DeviceType["Hub"] = "hub";
@@ -9141,6 +9150,10 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
9141
9150
  * native PetKit (`nodepetkit` `FeederDevice`), reusable by other feeder
9142
9151
  * integrations sharing the same food/desiccant/hopper surface. */
9143
9152
  DeviceType["PetFeeder"] = "pet-feeder";
9153
+ /** Built-in dishwasher — program lifecycle, door / remote-start gates,
9154
+ * salt and rinse-aid levels. Installed with the `dishwasher` cap.
9155
+ * Sources: native Bosch Home Connect, reusable by similar integrations. */
9156
+ DeviceType["Dishwasher"] = "dishwasher";
9144
9157
  return DeviceType;
9145
9158
  }({});
9146
9159
  var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
@@ -9398,7 +9411,7 @@ function errMsg(err) {
9398
9411
  return String(err);
9399
9412
  }
9400
9413
  //#endregion
9401
- //#region ../types/dist/composition-DOwQB_Ua.mjs
9414
+ //#region ../types/dist/composition-CB6PMT9p.mjs
9402
9415
  var AUDIO_ENCODER_BY_CODEC = {
9403
9416
  opus: "libopus",
9404
9417
  aac: "aac",
@@ -13626,6 +13639,41 @@ var StorageCleanupJobSchema = object({
13626
13639
  });
13627
13640
  var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
13628
13641
  /**
13642
+ * Start a mover only when no single-location repoint holds an overlapping
13643
+ * physical root. Asks BEFORE (cheap refusal, no job) and AFTER registering the
13644
+ * job: the repoint announces its claim and then lists movers, so a mover that
13645
+ * registers first is seen by it and one that registers second sees the claim —
13646
+ * neither side can miss the other (2026-10-20: a repoint and a relocate job
13647
+ * moved and deleted the same event media with no lock between them).
13648
+ *
13649
+ * Fail CLOSED: a clearance that cannot be asked refuses the start.
13650
+ */
13651
+ async function startMoverUnderClearance(deps) {
13652
+ const refuse = (detail) => {
13653
+ throw new Error(`mover refused: ${detail}`);
13654
+ };
13655
+ const ask = async () => {
13656
+ try {
13657
+ return await deps.clearance(deps.locationIds);
13658
+ } catch (err) {
13659
+ return refuse(`the storage orchestrator could not be asked (${err instanceof Error ? err.message : String(err)})`);
13660
+ }
13661
+ };
13662
+ const blocked = (answer) => `a re-point of "${answer.repointLocationId ?? "a location"}" holds an overlapping storage root`;
13663
+ const before = await ask();
13664
+ if (!before.clear) return refuse(blocked(before));
13665
+ const jobId = deps.start();
13666
+ const after = await ask().catch((err) => {
13667
+ deps.cancel(jobId);
13668
+ throw err;
13669
+ });
13670
+ if (!after.clear) {
13671
+ deps.cancel(jobId);
13672
+ return refuse(blocked(after));
13673
+ }
13674
+ return jobId;
13675
+ }
13676
+ /**
13629
13677
  * The storage-location STATE MODEL (D385) — one typed state, one policy module.
13630
13678
  *
13631
13679
  * A location's state used to be split across two authorities: the typed
@@ -15960,8 +16008,20 @@ var AlertSeveritySchema = _enum([
15960
16008
  "info",
15961
16009
  "success",
15962
16010
  "warning",
15963
- "error"
16011
+ "error",
16012
+ "critical"
15964
16013
  ]);
16014
+ var AlertActionSchema = object({
16015
+ label: string(),
16016
+ href: string().optional(),
16017
+ /**
16018
+ * How `href` is followed. Absent / `app`: an admin-ui route (client-side).
16019
+ * `server`: a route the HUB serves (an addon HTTP route such as an OAuth
16020
+ * start) — the browser must leave the SPA with a full navigation, because
16021
+ * the SPA has no such route and would bounce to the home page.
16022
+ */
16023
+ navigation: _enum(["app", "server"]).optional()
16024
+ });
15965
16025
  var AlertStatusSchema = _enum([
15966
16026
  "active",
15967
16027
  "in-progress",
@@ -15979,6 +16039,7 @@ var AlertSchema = object({
15979
16039
  severity: AlertSeveritySchema,
15980
16040
  title: string(),
15981
16041
  message: string(),
16042
+ action: AlertActionSchema.optional(),
15982
16043
  status: AlertStatusSchema,
15983
16044
  progress: number().optional(),
15984
16045
  read: boolean(),
@@ -20607,7 +20668,11 @@ DeviceType.Hub, DeviceDiscoveryStatusSchema.extend({ lastFetchedAt: number().int
20607
20668
  });
20608
20669
  /**
20609
20670
  * `device-adoption` — generic discovery + adoption surface,
20610
- * system-scoped singleton. The de-HA-ified successor to `ha-discovery`:
20671
+ * system-scoped collection (one provider per integration addon), routed
20672
+ * by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
20673
+ * pin model as `connection-test`. The admin UI keeps using
20674
+ * `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
20675
+ * successor to `ha-discovery`:
20611
20676
  * keyed by `integrationId` (the addon resolves integrationId → broker
20612
20677
  * internally) rather than a connection-specific `brokerId`, and it
20613
20678
  * REUSES the shared `DiscoveredChildDevice` candidate type from
@@ -45229,6 +45294,9 @@ var NcSystemEventKindSchema = _enum([
45229
45294
  "server-updated",
45230
45295
  "export-completed",
45231
45296
  "backup-completed",
45297
+ "alert-critical",
45298
+ "alert-error",
45299
+ "alert-critical-resolved",
45232
45300
  "camera-online",
45233
45301
  "camera-offline",
45234
45302
  "camera-disabled",
@@ -54738,7 +54806,10 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
54738
54806
  }), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
54739
54807
  kind: "mutation",
54740
54808
  auth: "admin"
54741
- }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
54809
+ }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({ locationIds: array(string()).readonly() }), object({
54810
+ clear: boolean(),
54811
+ repointLocationId: string().optional()
54812
+ }), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
54742
54813
  kind: "mutation",
54743
54814
  auth: "admin"
54744
54815
  }), method(StorageCleanupInputSchema, object({ jobId: string() }), {
@@ -57691,7 +57762,8 @@ var batteryCapability = {
57691
57762
  DeviceType.Button,
57692
57763
  DeviceType.Switch,
57693
57764
  DeviceType.PetFeeder,
57694
- DeviceType.Container
57765
+ DeviceType.Container,
57766
+ DeviceType.Thermostat
57695
57767
  ],
57696
57768
  methods: {
57697
57769
  /**
@@ -58645,6 +58717,250 @@ object({
58645
58717
  deviceId: number(),
58646
58718
  status: DeviceStatusSchema
58647
58719
  });
58720
+ /**
58721
+ * Smart-dishwasher cap — program lifecycle, door / remote-start gates,
58722
+ * consumable levels (salt, rinse aid) and common program options.
58723
+ *
58724
+ * Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
58725
+ * by any integration that exposes the same program / option surface.
58726
+ *
58727
+ * `kind: 'poll'` — cloud REST APIs typically have no push channel; the
58728
+ * provider refreshes the slice on an interval and eagerly after commands.
58729
+ *
58730
+ * UNKNOWN IS NOT OFF. Every field the appliance reports separately is
58731
+ * nullable: `null` means "not known right now" (the appliance has not said,
58732
+ * the link is down, or the description does not carry it) and is never
58733
+ * rendered or exported as `false` / `0`. `availability` says why.
58734
+ */
58735
+ var DishwasherStateSchema = _enum([
58736
+ "idle",
58737
+ "running",
58738
+ "paused",
58739
+ "finished",
58740
+ "error",
58741
+ "unavailable"
58742
+ ]);
58743
+ /**
58744
+ * The appliance's own operation state, uncollapsed. `state` above is the coarse
58745
+ * view for compact surfaces; this is what the appliance said.
58746
+ */
58747
+ var DishwasherOperationStateSchema = _enum([
58748
+ "Inactive",
58749
+ "Ready",
58750
+ "DelayedStart",
58751
+ "Run",
58752
+ "Pause",
58753
+ "ActionRequired",
58754
+ "Finished",
58755
+ "Error",
58756
+ "Aborting"
58757
+ ]);
58758
+ /**
58759
+ * Why fields may be `null`:
58760
+ * - `available` — the link is up and the description is loaded;
58761
+ * - `offline` — the local link is down (values are unknown, not last-known);
58762
+ * - `description-missing` — the link is up but the appliance's description could not
58763
+ * be loaded, so its values cannot be decoded.
58764
+ */
58765
+ var DishwasherAvailabilitySchema = _enum([
58766
+ "available",
58767
+ "offline",
58768
+ "description-missing"
58769
+ ]);
58770
+ var DishwasherConsumableLevelSchema = _enum([
58771
+ "ok",
58772
+ "low",
58773
+ "empty"
58774
+ ]);
58775
+ object({
58776
+ availability: DishwasherAvailabilitySchema,
58777
+ /** Coarse state for compact surfaces; `unavailable` whenever the appliance state is not known. */
58778
+ state: DishwasherStateSchema,
58779
+ /** The appliance's operation state as reported; null when not known. */
58780
+ operationState: DishwasherOperationStateSchema.nullable(),
58781
+ /** Feature key of the ACTIVE (running) program, or null when none runs / not known. */
58782
+ program: string().nullable(),
58783
+ /** Feature key of the SELECTED program (what Start would run), or null when none / not known. */
58784
+ selectedProgram: string().nullable(),
58785
+ /** Feature keys of the programs the appliance currently offers — drives the UI selector. */
58786
+ availablePrograms: array(string()),
58787
+ /** Seconds remaining on the active cycle, or null when not running / not known. */
58788
+ remainingSeconds: number().int().nonnegative().nullable(),
58789
+ /** Seconds the delayed start is set to (time until the cycle starts), or null. */
58790
+ delayedStartSeconds: number().int().nonnegative().nullable(),
58791
+ /** Cycle completion 0..100, or null when not applicable. */
58792
+ progressPercent: number().min(0).max(100).nullable(),
58793
+ /** True when the door is reported open; null when the door state is not known. */
58794
+ doorOpen: boolean().nullable(),
58795
+ /** True when the door is latched (locked) during a cycle; null when not reported. */
58796
+ doorLocked: boolean().nullable(),
58797
+ /** True when remote start is allowed (door closed, power on, etc.); null when not known. */
58798
+ remoteStartAllowed: boolean().nullable(),
58799
+ /** True when the appliance accepts remote control now; null when not known. */
58800
+ remoteControlActive: boolean().nullable(),
58801
+ /** True while somebody operates the appliance at its panel; null when not reported. */
58802
+ localControlActive: boolean().nullable(),
58803
+ /** Main power / switched-on state; null when not known. */
58804
+ powerOn: boolean().nullable(),
58805
+ /** The raw power state (`On`, `Off`, `Standby`, …); null when not known. */
58806
+ powerState: string().nullable(),
58807
+ saltLevel: DishwasherConsumableLevelSchema.nullable(),
58808
+ rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
58809
+ /** Option states: null when the appliance does not expose the option or has not said. */
58810
+ halfLoad: boolean().nullable(),
58811
+ hygienePlus: boolean().nullable(),
58812
+ /** Extra dry option when the appliance exposes it. */
58813
+ extraDry: boolean().nullable(),
58814
+ /** Intensive zone (lower basket) when the appliance exposes it. */
58815
+ intensiveZone: boolean().nullable(),
58816
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
58817
+ varioSpeedPlus: boolean().nullable(),
58818
+ /** Child lock (controls disabled on the appliance); null when not known. */
58819
+ childLock: boolean().nullable(),
58820
+ /** Feature keys of the events currently raised (salt low, rinse aid low, program finished, …). */
58821
+ activeEvents: array(string()),
58822
+ /** Numeric error code when the appliance reports one; null otherwise. */
58823
+ errorCode: number().nullable(),
58824
+ /** Name of the raised alert-level event while the appliance is in error; null otherwise. */
58825
+ errorLabel: string().nullable(),
58826
+ /** Ms epoch of the last value received from the appliance; 0 = never. */
58827
+ lastFetchedAt: number()
58828
+ });
58829
+ var DeviceIdSchema = number().int().nonnegative();
58830
+ /** A value a program option or setting can take. */
58831
+ var DishwasherValueSchema = union([
58832
+ boolean(),
58833
+ string(),
58834
+ number()
58835
+ ]);
58836
+ var DishwasherAccessSchema = _enum([
58837
+ "none",
58838
+ "read",
58839
+ "readWrite",
58840
+ "writeOnly",
58841
+ "readStatic"
58842
+ ]);
58843
+ /**
58844
+ * One option or setting the appliance declares, with the constraints its description
58845
+ * gives. A `readWrite` descriptor that is `available` is what `setOption` accepts.
58846
+ */
58847
+ var DishwasherOptionDescriptorSchema = object({
58848
+ /** Feature key (`Dishcare.Dishwasher.Option.ExtraDry`). */
58849
+ key: string(),
58850
+ /** Last segment of the key, for display. */
58851
+ name: string(),
58852
+ type: _enum([
58853
+ "boolean",
58854
+ "number",
58855
+ "enum",
58856
+ "string"
58857
+ ]),
58858
+ access: DishwasherAccessSchema,
58859
+ /** The appliance reports this entity as currently available. */
58860
+ available: boolean(),
58861
+ /** Unit the description declares for a number; null when it declares none. */
58862
+ unit: string().nullable(),
58863
+ min: number().nullable(),
58864
+ max: number().nullable(),
58865
+ step: number().nullable(),
58866
+ /** Allowed members of an enum; null for other types. */
58867
+ enumValues: array(string()).nullable(),
58868
+ defaultValue: DishwasherValueSchema.nullable()
58869
+ });
58870
+ var DishwasherProgramSchema = object({
58871
+ /** Feature key (`Dishcare.Dishwasher.Program.Eco50`) — what `setProgram` / `start` take. */
58872
+ key: string(),
58873
+ name: string(),
58874
+ /** The appliance currently offers this program. */
58875
+ available: boolean(),
58876
+ /** The options this program lists, with the program-level access / availability / default. */
58877
+ options: array(DishwasherOptionDescriptorSchema)
58878
+ });
58879
+ var DishwasherOptionsSchema = object({
58880
+ availability: DishwasherAvailabilitySchema,
58881
+ /** What the appliance can be told to do, from the commands its description declares. */
58882
+ supportsStart: boolean(),
58883
+ supportsPause: boolean(),
58884
+ supportsResume: boolean(),
58885
+ supportsStop: boolean(),
58886
+ supportsPower: boolean(),
58887
+ /** Every program the description lists, with its options. */
58888
+ programs: array(DishwasherProgramSchema),
58889
+ /** Every option and setting entity the description lists (programs reference these by key). */
58890
+ options: array(DishwasherOptionDescriptorSchema)
58891
+ });
58892
+ DeviceType.Dishwasher, method(object({
58893
+ deviceId: DeviceIdSchema,
58894
+ program: string().min(1).optional(),
58895
+ options: record(string(), DishwasherValueSchema).optional()
58896
+ }), _void(), {
58897
+ kind: "mutation",
58898
+ auth: "protected"
58899
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
58900
+ kind: "mutation",
58901
+ auth: "protected"
58902
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
58903
+ kind: "mutation",
58904
+ auth: "protected"
58905
+ }), method(object({ deviceId: DeviceIdSchema }), _void(), {
58906
+ kind: "mutation",
58907
+ auth: "protected"
58908
+ }), method(object({
58909
+ deviceId: DeviceIdSchema,
58910
+ program: string().min(1)
58911
+ }), _void(), {
58912
+ kind: "mutation",
58913
+ auth: "protected"
58914
+ }), method(object({
58915
+ deviceId: DeviceIdSchema,
58916
+ on: boolean()
58917
+ }), _void(), {
58918
+ kind: "mutation",
58919
+ auth: "protected"
58920
+ }), method(object({
58921
+ deviceId: DeviceIdSchema,
58922
+ on: boolean()
58923
+ }), _void(), {
58924
+ kind: "mutation",
58925
+ auth: "protected"
58926
+ }), method(object({
58927
+ deviceId: DeviceIdSchema,
58928
+ on: boolean()
58929
+ }), _void(), {
58930
+ kind: "mutation",
58931
+ auth: "protected"
58932
+ }), method(object({
58933
+ deviceId: DeviceIdSchema,
58934
+ on: boolean()
58935
+ }), _void(), {
58936
+ kind: "mutation",
58937
+ auth: "protected"
58938
+ }), method(object({
58939
+ deviceId: DeviceIdSchema,
58940
+ on: boolean()
58941
+ }), _void(), {
58942
+ kind: "mutation",
58943
+ auth: "protected"
58944
+ }), method(object({
58945
+ deviceId: DeviceIdSchema,
58946
+ on: boolean()
58947
+ }), _void(), {
58948
+ kind: "mutation",
58949
+ auth: "protected"
58950
+ }), method(object({
58951
+ deviceId: DeviceIdSchema,
58952
+ on: boolean()
58953
+ }), _void(), {
58954
+ kind: "mutation",
58955
+ auth: "protected"
58956
+ }), method(object({
58957
+ deviceId: DeviceIdSchema,
58958
+ key: string().min(1),
58959
+ value: DishwasherValueSchema
58960
+ }), _void(), {
58961
+ kind: "mutation",
58962
+ auth: "protected"
58963
+ }), method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" });
58648
58964
  object({
58649
58965
  /** Ms epoch of the last press. null = never observed since this provider started. */
58650
58966
  lastPressedAt: number().nullable(),
@@ -59210,6 +59526,13 @@ object({
59210
59526
  lastChangedAt: number()
59211
59527
  });
59212
59528
  DeviceType.Sensor;
59529
+ object({
59530
+ /** Radiator valve opening 0 (closed) .. 100 (open). Null = not yet known. */
59531
+ position: number().min(0).max(100).nullable(),
59532
+ /** Ms epoch when the slice was last updated (push or poll). */
59533
+ lastFetchedAt: number()
59534
+ });
59535
+ DeviceType.Thermostat;
59213
59536
  object({
59214
59537
  /** Whether the humidifier is currently on. */
59215
59538
  on: boolean(),
@@ -66818,7 +67141,7 @@ function deriveBatteryPresence(input) {
66818
67141
  const budget = input.unreachableAfterMs ?? 216e5;
66819
67142
  return input.nowMs - lastContactAt > budget ? "unreachable" : "sleeping";
66820
67143
  }
66821
- DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
67144
+ DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
66822
67145
  new Set(Object.values(DeviceType));
66823
67146
  Object.freeze({
66824
67147
  "accessories.getStatus": {
@@ -69239,6 +69562,96 @@ Object.freeze({
69239
69562
  addonId: null,
69240
69563
  access: "view"
69241
69564
  },
69565
+ "dishwasher.getOptions": {
69566
+ capName: "dishwasher",
69567
+ capScope: "device",
69568
+ addonId: null,
69569
+ access: "view"
69570
+ },
69571
+ "dishwasher.getStatus": {
69572
+ capName: "dishwasher",
69573
+ capScope: "device",
69574
+ addonId: null,
69575
+ access: "view"
69576
+ },
69577
+ "dishwasher.pause": {
69578
+ capName: "dishwasher",
69579
+ capScope: "device",
69580
+ addonId: null,
69581
+ access: "create"
69582
+ },
69583
+ "dishwasher.resume": {
69584
+ capName: "dishwasher",
69585
+ capScope: "device",
69586
+ addonId: null,
69587
+ access: "create"
69588
+ },
69589
+ "dishwasher.setChildLock": {
69590
+ capName: "dishwasher",
69591
+ capScope: "device",
69592
+ addonId: null,
69593
+ access: "create"
69594
+ },
69595
+ "dishwasher.setExtraDry": {
69596
+ capName: "dishwasher",
69597
+ capScope: "device",
69598
+ addonId: null,
69599
+ access: "create"
69600
+ },
69601
+ "dishwasher.setHalfLoad": {
69602
+ capName: "dishwasher",
69603
+ capScope: "device",
69604
+ addonId: null,
69605
+ access: "create"
69606
+ },
69607
+ "dishwasher.setHygienePlus": {
69608
+ capName: "dishwasher",
69609
+ capScope: "device",
69610
+ addonId: null,
69611
+ access: "create"
69612
+ },
69613
+ "dishwasher.setIntensiveZone": {
69614
+ capName: "dishwasher",
69615
+ capScope: "device",
69616
+ addonId: null,
69617
+ access: "create"
69618
+ },
69619
+ "dishwasher.setOption": {
69620
+ capName: "dishwasher",
69621
+ capScope: "device",
69622
+ addonId: null,
69623
+ access: "create"
69624
+ },
69625
+ "dishwasher.setPower": {
69626
+ capName: "dishwasher",
69627
+ capScope: "device",
69628
+ addonId: null,
69629
+ access: "create"
69630
+ },
69631
+ "dishwasher.setProgram": {
69632
+ capName: "dishwasher",
69633
+ capScope: "device",
69634
+ addonId: null,
69635
+ access: "create"
69636
+ },
69637
+ "dishwasher.setVarioSpeedPlus": {
69638
+ capName: "dishwasher",
69639
+ capScope: "device",
69640
+ addonId: null,
69641
+ access: "create"
69642
+ },
69643
+ "dishwasher.start": {
69644
+ capName: "dishwasher",
69645
+ capScope: "device",
69646
+ addonId: null,
69647
+ access: "create"
69648
+ },
69649
+ "dishwasher.stop": {
69650
+ capName: "dishwasher",
69651
+ capScope: "device",
69652
+ addonId: null,
69653
+ access: "create"
69654
+ },
69242
69655
  "doorbell.getStatus": {
69243
69656
  capName: "doorbell",
69244
69657
  capScope: "device",
@@ -69449,6 +69862,12 @@ Object.freeze({
69449
69862
  addonId: null,
69450
69863
  access: "view"
69451
69864
  },
69865
+ "heatingValve.getStatus": {
69866
+ capName: "heating-valve",
69867
+ capScope: "device",
69868
+ addonId: null,
69869
+ access: "view"
69870
+ },
69452
69871
  "humidifier.getStatus": {
69453
69872
  capName: "humidifier",
69454
69873
  capScope: "device",
@@ -73667,6 +74086,12 @@ Object.freeze({
73667
74086
  addonId: null,
73668
74087
  access: "view"
73669
74088
  },
74089
+ "storageMigration.moverClearance": {
74090
+ capName: "storage-migration",
74091
+ capScope: "system",
74092
+ addonId: null,
74093
+ access: "view"
74094
+ },
73670
74095
  "storageMigration.movers": {
73671
74096
  capName: "storage-migration",
73672
74097
  capScope: "system",
@@ -75036,7 +75461,7 @@ Object.freeze({
75036
75461
  access: "create"
75037
75462
  }
75038
75463
  });
75039
- 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;
75464
+ 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;
75040
75465
  DeviceFeature.BatteryOperated;
75041
75466
  Object.freeze({
75042
75467
  "accessories.getStatus": [{
@@ -75860,6 +76285,81 @@ Object.freeze({
75860
76285
  form: "single",
75861
76286
  optional: false
75862
76287
  }],
76288
+ "dishwasher.getOptions": [{
76289
+ name: "deviceId",
76290
+ form: "single",
76291
+ optional: false
76292
+ }],
76293
+ "dishwasher.getStatus": [{
76294
+ name: "deviceId",
76295
+ form: "single",
76296
+ optional: false
76297
+ }],
76298
+ "dishwasher.pause": [{
76299
+ name: "deviceId",
76300
+ form: "single",
76301
+ optional: false
76302
+ }],
76303
+ "dishwasher.resume": [{
76304
+ name: "deviceId",
76305
+ form: "single",
76306
+ optional: false
76307
+ }],
76308
+ "dishwasher.setChildLock": [{
76309
+ name: "deviceId",
76310
+ form: "single",
76311
+ optional: false
76312
+ }],
76313
+ "dishwasher.setExtraDry": [{
76314
+ name: "deviceId",
76315
+ form: "single",
76316
+ optional: false
76317
+ }],
76318
+ "dishwasher.setHalfLoad": [{
76319
+ name: "deviceId",
76320
+ form: "single",
76321
+ optional: false
76322
+ }],
76323
+ "dishwasher.setHygienePlus": [{
76324
+ name: "deviceId",
76325
+ form: "single",
76326
+ optional: false
76327
+ }],
76328
+ "dishwasher.setIntensiveZone": [{
76329
+ name: "deviceId",
76330
+ form: "single",
76331
+ optional: false
76332
+ }],
76333
+ "dishwasher.setOption": [{
76334
+ name: "deviceId",
76335
+ form: "single",
76336
+ optional: false
76337
+ }],
76338
+ "dishwasher.setPower": [{
76339
+ name: "deviceId",
76340
+ form: "single",
76341
+ optional: false
76342
+ }],
76343
+ "dishwasher.setProgram": [{
76344
+ name: "deviceId",
76345
+ form: "single",
76346
+ optional: false
76347
+ }],
76348
+ "dishwasher.setVarioSpeedPlus": [{
76349
+ name: "deviceId",
76350
+ form: "single",
76351
+ optional: false
76352
+ }],
76353
+ "dishwasher.start": [{
76354
+ name: "deviceId",
76355
+ form: "single",
76356
+ optional: false
76357
+ }],
76358
+ "dishwasher.stop": [{
76359
+ name: "deviceId",
76360
+ form: "single",
76361
+ optional: false
76362
+ }],
75863
76363
  "doorbell.getStatus": [{
75864
76364
  name: "deviceId",
75865
76365
  form: "single",
@@ -75929,6 +76429,11 @@ Object.freeze({
75929
76429
  form: "single",
75930
76430
  optional: false
75931
76431
  }],
76432
+ "heatingValve.getStatus": [{
76433
+ name: "deviceId",
76434
+ form: "single",
76435
+ optional: false
76436
+ }],
75932
76437
  "humidifier.getStatus": [{
75933
76438
  name: "deviceId",
75934
76439
  form: "single",
@@ -77936,6 +78441,9 @@ new Map(Object.entries({
77936
78441
  "wrapper-update-available": "system",
77937
78442
  "backup-completed": "system",
77938
78443
  "export-completed": "system",
78444
+ "alert-critical": "system",
78445
+ "alert-error": "system",
78446
+ "alert-critical-resolved": "system",
77939
78447
  "storage-location-low": "system",
77940
78448
  "storage-location-critical": "system",
77941
78449
  "storage-location-ok": "system",
@@ -78060,6 +78568,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
78060
78568
  "storage-location-ok"
78061
78569
  ]
78062
78570
  },
78571
+ {
78572
+ id: "alerts",
78573
+ family: "system",
78574
+ label: "Alerts",
78575
+ kinds: [
78576
+ "alert-critical",
78577
+ "alert-error",
78578
+ "alert-critical-resolved"
78579
+ ]
78580
+ },
78063
78581
  {
78064
78582
  id: "alarm",
78065
78583
  family: "alarm",
@@ -78104,6 +78622,21 @@ var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.ent
78104
78622
  return [[descriptor.kind, field]];
78105
78623
  })));
78106
78624
  Object.freeze(Object.keys(NC_SENSOR_RAISED_FIELD_BY_KIND));
78625
+ object({
78626
+ phase: _enum(["raised", "resolved"]),
78627
+ episodeId: string().min(1),
78628
+ alertId: string().min(1),
78629
+ severity: AlertSeveritySchema,
78630
+ category: string(),
78631
+ title: string(),
78632
+ message: string(),
78633
+ sourceType: string().optional(),
78634
+ sourceId: string().optional(),
78635
+ nodeId: string().optional(),
78636
+ /** The alert's own action link (where the operator acts on it), when it has one. */
78637
+ actionUrl: string().optional(),
78638
+ at: number()
78639
+ });
78107
78640
  var RULE_BODY_ONLY = ["body"];
78108
78641
  var RULE_TEXT = ["title", "body"];
78109
78642
  var BATTERY = ["device-battery-low", "device-battery-normal"];
@@ -78113,6 +78646,11 @@ var TANK = [
78113
78646
  "device-tank-full",
78114
78647
  "device-tank-normal"
78115
78648
  ];
78649
+ var ALERT_EPISODE = [
78650
+ "alert-critical",
78651
+ "alert-error",
78652
+ "alert-critical-resolved"
78653
+ ];
78116
78654
  var UPDATES = [
78117
78655
  "addon-update-available",
78118
78656
  "server-update-available",
@@ -78305,14 +78843,14 @@ var STATE_SUMMARY_VARS = [
78305
78843
  ([...RULE_TEXT], [...CONSUMABLE]),
78306
78844
  ([...RULE_TEXT], [...TANK]),
78307
78845
  [...RULE_TEXT],
78308
- ([...RULE_TEXT], [...UPDATES]),
78309
- ([...RULE_TEXT], [...UPDATES]),
78310
- [...RULE_TEXT],
78846
+ ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
78847
+ ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
78311
78848
  [...RULE_TEXT],
78312
78849
  [...RULE_TEXT],
78313
78850
  [...RULE_TEXT],
78314
78851
  [...RULE_TEXT],
78315
78852
  [...RULE_TEXT],
78853
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
78316
78854
  [...RULE_TEXT],
78317
78855
  [...RULE_TEXT],
78318
78856
  [...RULE_TEXT],
@@ -78330,7 +78868,11 @@ var STATE_SUMMARY_VARS = [
78330
78868
  [...RULE_TEXT],
78331
78869
  [...RULE_TEXT],
78332
78870
  [...RULE_TEXT],
78333
- [...RULE_TEXT],
78871
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
78872
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
78873
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
78874
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
78875
+ ([...RULE_TEXT], [...ALERT_EPISODE]),
78334
78876
  [...RULE_TEXT],
78335
78877
  [...RULE_TEXT],
78336
78878
  [...RULE_TEXT],
@@ -81076,6 +81618,12 @@ Object.defineProperty(exports, "sleep", {
81076
81618
  return sleep;
81077
81619
  }
81078
81620
  });
81621
+ Object.defineProperty(exports, "startMoverUnderClearance", {
81622
+ enumerable: true,
81623
+ get: function() {
81624
+ return startMoverUnderClearance;
81625
+ }
81626
+ });
81079
81627
  Object.defineProperty(exports, "stepModelRunsOnFormat", {
81080
81628
  enumerable: true,
81081
81629
  get: function() {