@camstack/addon-provider-dreame 0.2.151 → 0.2.152

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
@@ -50332,6 +50332,19 @@ var NodeInferenceDeviceSchema = object({
50332
50332
  /** Whether the node's live probe reports the device as usable right now. */
50333
50333
  available: boolean(),
50334
50334
  /**
50335
+ * Is the device on the node at all (D919)? `present` — the live probe
50336
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50337
+ * its stored settings remain (unplugged, moved to another node): never
50338
+ * eligible, whatever its stored `enabled`, and forgettable with
50339
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50340
+ * claimed (D315). Optional only for an orchestrator older than the field.
50341
+ */
50342
+ presence: _enum([
50343
+ "present",
50344
+ "absent",
50345
+ "unknown"
50346
+ ]).optional(),
50347
+ /**
50335
50348
  * Whether this device participates in dispatch. AUTO default (spec C2):
50336
50349
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50337
50350
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50557,7 +50570,13 @@ method(object({
50557
50570
  }), object({ success: literal(true) }), {
50558
50571
  kind: "mutation",
50559
50572
  auth: "admin"
50560
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50573
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50574
+ agentNodeId: string(),
50575
+ deviceKey: string()
50576
+ }), object({ success: literal(true) }), {
50577
+ kind: "mutation",
50578
+ auth: "admin"
50579
+ }), method(object({ agentNodeId: string() }), object({
50561
50580
  success: literal(true),
50562
50581
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50563
50582
  effectiveModelId: string().nullable(),
@@ -58829,7 +58848,7 @@ var motionTriggerCapability = {
58829
58848
  enabled: boolean()
58830
58849
  }), _void(), {
58831
58850
  kind: "mutation",
58832
- auth: "admin"
58851
+ auth: "protected"
58833
58852
  }) },
58834
58853
  events: { onMotionTriggerChanged: { data: object({
58835
58854
  deviceId: number(),
@@ -59707,6 +59726,13 @@ var TopologyNodeSchema = object({
59707
59726
  cpuModel: string().nullable(),
59708
59727
  cpuCores: number(),
59709
59728
  memoryMB: number(),
59729
+ /**
59730
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59731
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59732
+ * about whether its hardware is there (a Coral delegate stays installed
59733
+ * after the stick leaves, D919); the live device set is
59734
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59735
+ */
59710
59736
  engines: array(string()).readonly(),
59711
59737
  isHub: boolean(),
59712
59738
  isOnline: boolean(),
@@ -60824,7 +60850,28 @@ var ResolvedInferenceConfigSchema = object({
60824
60850
  format: ModelFormatSchema,
60825
60851
  reason: string()
60826
60852
  });
60827
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60853
+ /**
60854
+ * The answer of an accelerator rescan (D919): the node's device list after
60855
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60856
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60857
+ * bus, the installed-delegate fallback, or nothing).
60858
+ */
60859
+ var AcceleratorRescanSchema = object({
60860
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60861
+ appeared: array(string()).readonly(),
60862
+ disappeared: array(string()).readonly(),
60863
+ usbBus: _enum(["observed", "unobservable"]),
60864
+ decidedBy: _enum([
60865
+ "usb-ids",
60866
+ "pci",
60867
+ "delegate-fallback",
60868
+ "none"
60869
+ ])
60870
+ });
60871
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60872
+ kind: "mutation",
60873
+ auth: "admin"
60874
+ });
60828
60875
  /**
60829
60876
  * Multi-metric electrical meter. One slice can carry any combination
60830
60877
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73068,6 +73115,12 @@ Object.freeze({
73068
73115
  addonId: null,
73069
73116
  access: "delete"
73070
73117
  },
73118
+ "pipelineOrchestrator.forgetInferenceDevice": {
73119
+ capName: "pipeline-orchestrator",
73120
+ capScope: "system",
73121
+ addonId: null,
73122
+ access: "delete"
73123
+ },
73071
73124
  "pipelineOrchestrator.getAgentLoad": {
73072
73125
  capName: "pipeline-orchestrator",
73073
73126
  capScope: "system",
@@ -73644,6 +73697,12 @@ Object.freeze({
73644
73697
  addonId: null,
73645
73698
  access: "view"
73646
73699
  },
73700
+ "platformProbe.rescanAccelerators": {
73701
+ capName: "platform-probe",
73702
+ capScope: "system",
73703
+ addonId: null,
73704
+ access: "create"
73705
+ },
73647
73706
  "platformProbe.resolveHwAccel": {
73648
73707
  capName: "platform-probe",
73649
73708
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50329,6 +50329,19 @@ var NodeInferenceDeviceSchema = object({
50329
50329
  /** Whether the node's live probe reports the device as usable right now. */
50330
50330
  available: boolean(),
50331
50331
  /**
50332
+ * Is the device on the node at all (D919)? `present` — the live probe
50333
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50334
+ * its stored settings remain (unplugged, moved to another node): never
50335
+ * eligible, whatever its stored `enabled`, and forgettable with
50336
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50337
+ * claimed (D315). Optional only for an orchestrator older than the field.
50338
+ */
50339
+ presence: _enum([
50340
+ "present",
50341
+ "absent",
50342
+ "unknown"
50343
+ ]).optional(),
50344
+ /**
50332
50345
  * Whether this device participates in dispatch. AUTO default (spec C2):
50333
50346
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50334
50347
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50554,7 +50567,13 @@ method(object({
50554
50567
  }), object({ success: literal(true) }), {
50555
50568
  kind: "mutation",
50556
50569
  auth: "admin"
50557
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50570
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50571
+ agentNodeId: string(),
50572
+ deviceKey: string()
50573
+ }), object({ success: literal(true) }), {
50574
+ kind: "mutation",
50575
+ auth: "admin"
50576
+ }), method(object({ agentNodeId: string() }), object({
50558
50577
  success: literal(true),
50559
50578
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50560
50579
  effectiveModelId: string().nullable(),
@@ -58826,7 +58845,7 @@ var motionTriggerCapability = {
58826
58845
  enabled: boolean()
58827
58846
  }), _void(), {
58828
58847
  kind: "mutation",
58829
- auth: "admin"
58848
+ auth: "protected"
58830
58849
  }) },
58831
58850
  events: { onMotionTriggerChanged: { data: object({
58832
58851
  deviceId: number(),
@@ -59704,6 +59723,13 @@ var TopologyNodeSchema = object({
59704
59723
  cpuModel: string().nullable(),
59705
59724
  cpuCores: number(),
59706
59725
  memoryMB: number(),
59726
+ /**
59727
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59728
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59729
+ * about whether its hardware is there (a Coral delegate stays installed
59730
+ * after the stick leaves, D919); the live device set is
59731
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59732
+ */
59707
59733
  engines: array(string()).readonly(),
59708
59734
  isHub: boolean(),
59709
59735
  isOnline: boolean(),
@@ -60821,7 +60847,28 @@ var ResolvedInferenceConfigSchema = object({
60821
60847
  format: ModelFormatSchema,
60822
60848
  reason: string()
60823
60849
  });
60824
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60850
+ /**
60851
+ * The answer of an accelerator rescan (D919): the node's device list after
60852
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60853
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60854
+ * bus, the installed-delegate fallback, or nothing).
60855
+ */
60856
+ var AcceleratorRescanSchema = object({
60857
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60858
+ appeared: array(string()).readonly(),
60859
+ disappeared: array(string()).readonly(),
60860
+ usbBus: _enum(["observed", "unobservable"]),
60861
+ decidedBy: _enum([
60862
+ "usb-ids",
60863
+ "pci",
60864
+ "delegate-fallback",
60865
+ "none"
60866
+ ])
60867
+ });
60868
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60869
+ kind: "mutation",
60870
+ auth: "admin"
60871
+ });
60825
60872
  /**
60826
60873
  * Multi-metric electrical meter. One slice can carry any combination
60827
60874
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73065,6 +73112,12 @@ Object.freeze({
73065
73112
  addonId: null,
73066
73113
  access: "delete"
73067
73114
  },
73115
+ "pipelineOrchestrator.forgetInferenceDevice": {
73116
+ capName: "pipeline-orchestrator",
73117
+ capScope: "system",
73118
+ addonId: null,
73119
+ access: "delete"
73120
+ },
73068
73121
  "pipelineOrchestrator.getAgentLoad": {
73069
73122
  capName: "pipeline-orchestrator",
73070
73123
  capScope: "system",
@@ -73641,6 +73694,12 @@ Object.freeze({
73641
73694
  addonId: null,
73642
73695
  access: "view"
73643
73696
  },
73697
+ "platformProbe.rescanAccelerators": {
73698
+ capName: "platform-probe",
73699
+ capScope: "system",
73700
+ addonId: null,
73701
+ access: "create"
73702
+ },
73644
73703
  "platformProbe.resolveHwAccel": {
73645
73704
  capName: "platform-probe",
73646
73705
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.151",
3
+ "version": "0.2.152",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",