@camstack/addon-provider-ecowitt 0.2.144 → 0.2.145

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
@@ -50374,6 +50374,19 @@ var NodeInferenceDeviceSchema = object({
50374
50374
  /** Whether the node's live probe reports the device as usable right now. */
50375
50375
  available: boolean(),
50376
50376
  /**
50377
+ * Is the device on the node at all (D919)? `present` — the live probe
50378
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50379
+ * its stored settings remain (unplugged, moved to another node): never
50380
+ * eligible, whatever its stored `enabled`, and forgettable with
50381
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50382
+ * claimed (D315). Optional only for an orchestrator older than the field.
50383
+ */
50384
+ presence: _enum([
50385
+ "present",
50386
+ "absent",
50387
+ "unknown"
50388
+ ]).optional(),
50389
+ /**
50377
50390
  * Whether this device participates in dispatch. AUTO default (spec C2):
50378
50391
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50379
50392
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50599,7 +50612,13 @@ method(object({
50599
50612
  }), object({ success: literal(true) }), {
50600
50613
  kind: "mutation",
50601
50614
  auth: "admin"
50602
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50615
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50616
+ agentNodeId: string(),
50617
+ deviceKey: string()
50618
+ }), object({ success: literal(true) }), {
50619
+ kind: "mutation",
50620
+ auth: "admin"
50621
+ }), method(object({ agentNodeId: string() }), object({
50603
50622
  success: literal(true),
50604
50623
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50605
50624
  effectiveModelId: string().nullable(),
@@ -58842,7 +58861,7 @@ var motionTriggerCapability = {
58842
58861
  enabled: boolean()
58843
58862
  }), _void(), {
58844
58863
  kind: "mutation",
58845
- auth: "admin"
58864
+ auth: "protected"
58846
58865
  }) },
58847
58866
  events: { onMotionTriggerChanged: { data: object({
58848
58867
  deviceId: number(),
@@ -59572,6 +59591,13 @@ var TopologyNodeSchema = object({
59572
59591
  cpuModel: string().nullable(),
59573
59592
  cpuCores: number(),
59574
59593
  memoryMB: number(),
59594
+ /**
59595
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59596
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59597
+ * about whether its hardware is there (a Coral delegate stays installed
59598
+ * after the stick leaves, D919); the live device set is
59599
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59600
+ */
59575
59601
  engines: array(string()).readonly(),
59576
59602
  isHub: boolean(),
59577
59603
  isOnline: boolean(),
@@ -60689,7 +60715,28 @@ var ResolvedInferenceConfigSchema = object({
60689
60715
  format: ModelFormatSchema,
60690
60716
  reason: string()
60691
60717
  });
60692
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60718
+ /**
60719
+ * The answer of an accelerator rescan (D919): the node's device list after
60720
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60721
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60722
+ * bus, the installed-delegate fallback, or nothing).
60723
+ */
60724
+ var AcceleratorRescanSchema = object({
60725
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60726
+ appeared: array(string()).readonly(),
60727
+ disappeared: array(string()).readonly(),
60728
+ usbBus: _enum(["observed", "unobservable"]),
60729
+ decidedBy: _enum([
60730
+ "usb-ids",
60731
+ "pci",
60732
+ "delegate-fallback",
60733
+ "none"
60734
+ ])
60735
+ });
60736
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60737
+ kind: "mutation",
60738
+ auth: "admin"
60739
+ });
60693
60740
  /**
60694
60741
  * Multi-metric electrical meter. One slice can carry any combination
60695
60742
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -72917,6 +72964,12 @@ Object.freeze({
72917
72964
  addonId: null,
72918
72965
  access: "delete"
72919
72966
  },
72967
+ "pipelineOrchestrator.forgetInferenceDevice": {
72968
+ capName: "pipeline-orchestrator",
72969
+ capScope: "system",
72970
+ addonId: null,
72971
+ access: "delete"
72972
+ },
72920
72973
  "pipelineOrchestrator.getAgentLoad": {
72921
72974
  capName: "pipeline-orchestrator",
72922
72975
  capScope: "system",
@@ -73493,6 +73546,12 @@ Object.freeze({
73493
73546
  addonId: null,
73494
73547
  access: "view"
73495
73548
  },
73549
+ "platformProbe.rescanAccelerators": {
73550
+ capName: "platform-probe",
73551
+ capScope: "system",
73552
+ addonId: null,
73553
+ access: "create"
73554
+ },
73496
73555
  "platformProbe.resolveHwAccel": {
73497
73556
  capName: "platform-probe",
73498
73557
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50373,6 +50373,19 @@ var NodeInferenceDeviceSchema = object({
50373
50373
  /** Whether the node's live probe reports the device as usable right now. */
50374
50374
  available: boolean(),
50375
50375
  /**
50376
+ * Is the device on the node at all (D919)? `present` — the live probe
50377
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50378
+ * its stored settings remain (unplugged, moved to another node): never
50379
+ * eligible, whatever its stored `enabled`, and forgettable with
50380
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50381
+ * claimed (D315). Optional only for an orchestrator older than the field.
50382
+ */
50383
+ presence: _enum([
50384
+ "present",
50385
+ "absent",
50386
+ "unknown"
50387
+ ]).optional(),
50388
+ /**
50376
50389
  * Whether this device participates in dispatch. AUTO default (spec C2):
50377
50390
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50378
50391
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50598,7 +50611,13 @@ method(object({
50598
50611
  }), object({ success: literal(true) }), {
50599
50612
  kind: "mutation",
50600
50613
  auth: "admin"
50601
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50614
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50615
+ agentNodeId: string(),
50616
+ deviceKey: string()
50617
+ }), object({ success: literal(true) }), {
50618
+ kind: "mutation",
50619
+ auth: "admin"
50620
+ }), method(object({ agentNodeId: string() }), object({
50602
50621
  success: literal(true),
50603
50622
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50604
50623
  effectiveModelId: string().nullable(),
@@ -58841,7 +58860,7 @@ var motionTriggerCapability = {
58841
58860
  enabled: boolean()
58842
58861
  }), _void(), {
58843
58862
  kind: "mutation",
58844
- auth: "admin"
58863
+ auth: "protected"
58845
58864
  }) },
58846
58865
  events: { onMotionTriggerChanged: { data: object({
58847
58866
  deviceId: number(),
@@ -59571,6 +59590,13 @@ var TopologyNodeSchema = object({
59571
59590
  cpuModel: string().nullable(),
59572
59591
  cpuCores: number(),
59573
59592
  memoryMB: number(),
59593
+ /**
59594
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59595
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59596
+ * about whether its hardware is there (a Coral delegate stays installed
59597
+ * after the stick leaves, D919); the live device set is
59598
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59599
+ */
59574
59600
  engines: array(string()).readonly(),
59575
59601
  isHub: boolean(),
59576
59602
  isOnline: boolean(),
@@ -60688,7 +60714,28 @@ var ResolvedInferenceConfigSchema = object({
60688
60714
  format: ModelFormatSchema,
60689
60715
  reason: string()
60690
60716
  });
60691
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60717
+ /**
60718
+ * The answer of an accelerator rescan (D919): the node's device list after
60719
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60720
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60721
+ * bus, the installed-delegate fallback, or nothing).
60722
+ */
60723
+ var AcceleratorRescanSchema = object({
60724
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60725
+ appeared: array(string()).readonly(),
60726
+ disappeared: array(string()).readonly(),
60727
+ usbBus: _enum(["observed", "unobservable"]),
60728
+ decidedBy: _enum([
60729
+ "usb-ids",
60730
+ "pci",
60731
+ "delegate-fallback",
60732
+ "none"
60733
+ ])
60734
+ });
60735
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60736
+ kind: "mutation",
60737
+ auth: "admin"
60738
+ });
60692
60739
  /**
60693
60740
  * Multi-metric electrical meter. One slice can carry any combination
60694
60741
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -72916,6 +72963,12 @@ Object.freeze({
72916
72963
  addonId: null,
72917
72964
  access: "delete"
72918
72965
  },
72966
+ "pipelineOrchestrator.forgetInferenceDevice": {
72967
+ capName: "pipeline-orchestrator",
72968
+ capScope: "system",
72969
+ addonId: null,
72970
+ access: "delete"
72971
+ },
72919
72972
  "pipelineOrchestrator.getAgentLoad": {
72920
72973
  capName: "pipeline-orchestrator",
72921
72974
  capScope: "system",
@@ -73492,6 +73545,12 @@ Object.freeze({
73492
73545
  addonId: null,
73493
73546
  access: "view"
73494
73547
  },
73548
+ "platformProbe.rescanAccelerators": {
73549
+ capName: "platform-probe",
73550
+ capScope: "system",
73551
+ addonId: null,
73552
+ access: "create"
73553
+ },
73495
73554
  "platformProbe.resolveHwAccel": {
73496
73555
  capName: "platform-probe",
73497
73556
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-ecowitt",
3
- "version": "0.2.144",
3
+ "version": "0.2.145",
4
4
  "description": "Ecowitt weather-station device-provider addon for CamStack — wraps the @apocaliss92/nodewitt local-poll / push client",
5
5
  "keywords": [
6
6
  "camstack",