@camstack/addon-provider-homematic 1.2.154 → 1.2.155

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/addon.js CHANGED
@@ -50753,6 +50753,19 @@ var NodeInferenceDeviceSchema = object({
50753
50753
  /** Whether the node's live probe reports the device as usable right now. */
50754
50754
  available: boolean(),
50755
50755
  /**
50756
+ * Is the device on the node at all (D919)? `present` — the live probe
50757
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50758
+ * its stored settings remain (unplugged, moved to another node): never
50759
+ * eligible, whatever its stored `enabled`, and forgettable with
50760
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50761
+ * claimed (D315). Optional only for an orchestrator older than the field.
50762
+ */
50763
+ presence: _enum([
50764
+ "present",
50765
+ "absent",
50766
+ "unknown"
50767
+ ]).optional(),
50768
+ /**
50756
50769
  * Whether this device participates in dispatch. AUTO default (spec C2):
50757
50770
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50758
50771
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50978,7 +50991,13 @@ method(object({
50978
50991
  }), object({ success: literal(true) }), {
50979
50992
  kind: "mutation",
50980
50993
  auth: "admin"
50981
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50994
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50995
+ agentNodeId: string(),
50996
+ deviceKey: string()
50997
+ }), object({ success: literal(true) }), {
50998
+ kind: "mutation",
50999
+ auth: "admin"
51000
+ }), method(object({ agentNodeId: string() }), object({
50982
51001
  success: literal(true),
50983
51002
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50984
51003
  effectiveModelId: string().nullable(),
@@ -59221,7 +59240,7 @@ var motionTriggerCapability = {
59221
59240
  enabled: boolean()
59222
59241
  }), _void(), {
59223
59242
  kind: "mutation",
59224
- auth: "admin"
59243
+ auth: "protected"
59225
59244
  }) },
59226
59245
  events: { onMotionTriggerChanged: { data: object({
59227
59246
  deviceId: number(),
@@ -59951,6 +59970,13 @@ var TopologyNodeSchema = object({
59951
59970
  cpuModel: string().nullable(),
59952
59971
  cpuCores: number(),
59953
59972
  memoryMB: number(),
59973
+ /**
59974
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59975
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59976
+ * about whether its hardware is there (a Coral delegate stays installed
59977
+ * after the stick leaves, D919); the live device set is
59978
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59979
+ */
59954
59980
  engines: array(string()).readonly(),
59955
59981
  isHub: boolean(),
59956
59982
  isOnline: boolean(),
@@ -61068,7 +61094,28 @@ var ResolvedInferenceConfigSchema = object({
61068
61094
  format: ModelFormatSchema,
61069
61095
  reason: string()
61070
61096
  });
61071
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61097
+ /**
61098
+ * The answer of an accelerator rescan (D919): the node's device list after
61099
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61100
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61101
+ * bus, the installed-delegate fallback, or nothing).
61102
+ */
61103
+ var AcceleratorRescanSchema = object({
61104
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61105
+ appeared: array(string()).readonly(),
61106
+ disappeared: array(string()).readonly(),
61107
+ usbBus: _enum(["observed", "unobservable"]),
61108
+ decidedBy: _enum([
61109
+ "usb-ids",
61110
+ "pci",
61111
+ "delegate-fallback",
61112
+ "none"
61113
+ ])
61114
+ });
61115
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61116
+ kind: "mutation",
61117
+ auth: "admin"
61118
+ });
61072
61119
  /**
61073
61120
  * Multi-metric electrical meter. One slice can carry any combination
61074
61121
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73296,6 +73343,12 @@ Object.freeze({
73296
73343
  addonId: null,
73297
73344
  access: "delete"
73298
73345
  },
73346
+ "pipelineOrchestrator.forgetInferenceDevice": {
73347
+ capName: "pipeline-orchestrator",
73348
+ capScope: "system",
73349
+ addonId: null,
73350
+ access: "delete"
73351
+ },
73299
73352
  "pipelineOrchestrator.getAgentLoad": {
73300
73353
  capName: "pipeline-orchestrator",
73301
73354
  capScope: "system",
@@ -73872,6 +73925,12 @@ Object.freeze({
73872
73925
  addonId: null,
73873
73926
  access: "view"
73874
73927
  },
73928
+ "platformProbe.rescanAccelerators": {
73929
+ capName: "platform-probe",
73930
+ capScope: "system",
73931
+ addonId: null,
73932
+ access: "create"
73933
+ },
73875
73934
  "platformProbe.resolveHwAccel": {
73876
73935
  capName: "platform-probe",
73877
73936
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50754,6 +50754,19 @@ var NodeInferenceDeviceSchema = object({
50754
50754
  /** Whether the node's live probe reports the device as usable right now. */
50755
50755
  available: boolean(),
50756
50756
  /**
50757
+ * Is the device on the node at all (D919)? `present` — the live probe
50758
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50759
+ * its stored settings remain (unplugged, moved to another node): never
50760
+ * eligible, whatever its stored `enabled`, and forgettable with
50761
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50762
+ * claimed (D315). Optional only for an orchestrator older than the field.
50763
+ */
50764
+ presence: _enum([
50765
+ "present",
50766
+ "absent",
50767
+ "unknown"
50768
+ ]).optional(),
50769
+ /**
50757
50770
  * Whether this device participates in dispatch. AUTO default (spec C2):
50758
50771
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50759
50772
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50979,7 +50992,13 @@ method(object({
50979
50992
  }), object({ success: literal(true) }), {
50980
50993
  kind: "mutation",
50981
50994
  auth: "admin"
50982
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50995
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50996
+ agentNodeId: string(),
50997
+ deviceKey: string()
50998
+ }), object({ success: literal(true) }), {
50999
+ kind: "mutation",
51000
+ auth: "admin"
51001
+ }), method(object({ agentNodeId: string() }), object({
50983
51002
  success: literal(true),
50984
51003
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50985
51004
  effectiveModelId: string().nullable(),
@@ -59222,7 +59241,7 @@ var motionTriggerCapability = {
59222
59241
  enabled: boolean()
59223
59242
  }), _void(), {
59224
59243
  kind: "mutation",
59225
- auth: "admin"
59244
+ auth: "protected"
59226
59245
  }) },
59227
59246
  events: { onMotionTriggerChanged: { data: object({
59228
59247
  deviceId: number(),
@@ -59952,6 +59971,13 @@ var TopologyNodeSchema = object({
59952
59971
  cpuModel: string().nullable(),
59953
59972
  cpuCores: number(),
59954
59973
  memoryMB: number(),
59974
+ /**
59975
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59976
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59977
+ * about whether its hardware is there (a Coral delegate stays installed
59978
+ * after the stick leaves, D919); the live device set is
59979
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59980
+ */
59955
59981
  engines: array(string()).readonly(),
59956
59982
  isHub: boolean(),
59957
59983
  isOnline: boolean(),
@@ -61069,7 +61095,28 @@ var ResolvedInferenceConfigSchema = object({
61069
61095
  format: ModelFormatSchema,
61070
61096
  reason: string()
61071
61097
  });
61072
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61098
+ /**
61099
+ * The answer of an accelerator rescan (D919): the node's device list after
61100
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61101
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61102
+ * bus, the installed-delegate fallback, or nothing).
61103
+ */
61104
+ var AcceleratorRescanSchema = object({
61105
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61106
+ appeared: array(string()).readonly(),
61107
+ disappeared: array(string()).readonly(),
61108
+ usbBus: _enum(["observed", "unobservable"]),
61109
+ decidedBy: _enum([
61110
+ "usb-ids",
61111
+ "pci",
61112
+ "delegate-fallback",
61113
+ "none"
61114
+ ])
61115
+ });
61116
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61117
+ kind: "mutation",
61118
+ auth: "admin"
61119
+ });
61073
61120
  /**
61074
61121
  * Multi-metric electrical meter. One slice can carry any combination
61075
61122
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73297,6 +73344,12 @@ Object.freeze({
73297
73344
  addonId: null,
73298
73345
  access: "delete"
73299
73346
  },
73347
+ "pipelineOrchestrator.forgetInferenceDevice": {
73348
+ capName: "pipeline-orchestrator",
73349
+ capScope: "system",
73350
+ addonId: null,
73351
+ access: "delete"
73352
+ },
73300
73353
  "pipelineOrchestrator.getAgentLoad": {
73301
73354
  capName: "pipeline-orchestrator",
73302
73355
  capScope: "system",
@@ -73873,6 +73926,12 @@ Object.freeze({
73873
73926
  addonId: null,
73874
73927
  access: "view"
73875
73928
  },
73929
+ "platformProbe.rescanAccelerators": {
73930
+ capName: "platform-probe",
73931
+ capScope: "system",
73932
+ addonId: null,
73933
+ access: "create"
73934
+ },
73876
73935
  "platformProbe.resolveHwAccel": {
73877
73936
  capName: "platform-probe",
73878
73937
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.154",
3
+ "version": "1.2.155",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",