@camstack/addon-provider-rademacher 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
@@ -51342,6 +51342,19 @@ var NodeInferenceDeviceSchema = object({
51342
51342
  /** Whether the node's live probe reports the device as usable right now. */
51343
51343
  available: boolean(),
51344
51344
  /**
51345
+ * Is the device on the node at all (D919)? `present` — the live probe
51346
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
51347
+ * its stored settings remain (unplugged, moved to another node): never
51348
+ * eligible, whatever its stored `enabled`, and forgettable with
51349
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
51350
+ * claimed (D315). Optional only for an orchestrator older than the field.
51351
+ */
51352
+ presence: _enum([
51353
+ "present",
51354
+ "absent",
51355
+ "unknown"
51356
+ ]).optional(),
51357
+ /**
51345
51358
  * Whether this device participates in dispatch. AUTO default (spec C2):
51346
51359
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
51347
51360
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -51567,7 +51580,13 @@ method(object({
51567
51580
  }), object({ success: literal(true) }), {
51568
51581
  kind: "mutation",
51569
51582
  auth: "admin"
51570
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
51583
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
51584
+ agentNodeId: string(),
51585
+ deviceKey: string()
51586
+ }), object({ success: literal(true) }), {
51587
+ kind: "mutation",
51588
+ auth: "admin"
51589
+ }), method(object({ agentNodeId: string() }), object({
51571
51590
  success: literal(true),
51572
51591
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
51573
51592
  effectiveModelId: string().nullable(),
@@ -59810,7 +59829,7 @@ var motionTriggerCapability = {
59810
59829
  enabled: boolean()
59811
59830
  }), _void(), {
59812
59831
  kind: "mutation",
59813
- auth: "admin"
59832
+ auth: "protected"
59814
59833
  }) },
59815
59834
  events: { onMotionTriggerChanged: { data: object({
59816
59835
  deviceId: number(),
@@ -60540,6 +60559,13 @@ var TopologyNodeSchema = object({
60540
60559
  cpuModel: string().nullable(),
60541
60560
  cpuCores: number(),
60542
60561
  memoryMB: number(),
60562
+ /**
60563
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
60564
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
60565
+ * about whether its hardware is there (a Coral delegate stays installed
60566
+ * after the stick leaves, D919); the live device set is
60567
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
60568
+ */
60543
60569
  engines: array(string()).readonly(),
60544
60570
  isHub: boolean(),
60545
60571
  isOnline: boolean(),
@@ -61657,7 +61683,28 @@ var ResolvedInferenceConfigSchema = object({
61657
61683
  format: ModelFormatSchema,
61658
61684
  reason: string()
61659
61685
  });
61660
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61686
+ /**
61687
+ * The answer of an accelerator rescan (D919): the node's device list after
61688
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61689
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61690
+ * bus, the installed-delegate fallback, or nothing).
61691
+ */
61692
+ var AcceleratorRescanSchema = object({
61693
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61694
+ appeared: array(string()).readonly(),
61695
+ disappeared: array(string()).readonly(),
61696
+ usbBus: _enum(["observed", "unobservable"]),
61697
+ decidedBy: _enum([
61698
+ "usb-ids",
61699
+ "pci",
61700
+ "delegate-fallback",
61701
+ "none"
61702
+ ])
61703
+ });
61704
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61705
+ kind: "mutation",
61706
+ auth: "admin"
61707
+ });
61661
61708
  /**
61662
61709
  * Multi-metric electrical meter. One slice can carry any combination
61663
61710
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73885,6 +73932,12 @@ Object.freeze({
73885
73932
  addonId: null,
73886
73933
  access: "delete"
73887
73934
  },
73935
+ "pipelineOrchestrator.forgetInferenceDevice": {
73936
+ capName: "pipeline-orchestrator",
73937
+ capScope: "system",
73938
+ addonId: null,
73939
+ access: "delete"
73940
+ },
73888
73941
  "pipelineOrchestrator.getAgentLoad": {
73889
73942
  capName: "pipeline-orchestrator",
73890
73943
  capScope: "system",
@@ -74461,6 +74514,12 @@ Object.freeze({
74461
74514
  addonId: null,
74462
74515
  access: "view"
74463
74516
  },
74517
+ "platformProbe.rescanAccelerators": {
74518
+ capName: "platform-probe",
74519
+ capScope: "system",
74520
+ addonId: null,
74521
+ access: "create"
74522
+ },
74464
74523
  "platformProbe.resolveHwAccel": {
74465
74524
  capName: "platform-probe",
74466
74525
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -51341,6 +51341,19 @@ var NodeInferenceDeviceSchema = object({
51341
51341
  /** Whether the node's live probe reports the device as usable right now. */
51342
51342
  available: boolean(),
51343
51343
  /**
51344
+ * Is the device on the node at all (D919)? `present` — the live probe
51345
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
51346
+ * its stored settings remain (unplugged, moved to another node): never
51347
+ * eligible, whatever its stored `enabled`, and forgettable with
51348
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
51349
+ * claimed (D315). Optional only for an orchestrator older than the field.
51350
+ */
51351
+ presence: _enum([
51352
+ "present",
51353
+ "absent",
51354
+ "unknown"
51355
+ ]).optional(),
51356
+ /**
51344
51357
  * Whether this device participates in dispatch. AUTO default (spec C2):
51345
51358
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
51346
51359
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -51566,7 +51579,13 @@ method(object({
51566
51579
  }), object({ success: literal(true) }), {
51567
51580
  kind: "mutation",
51568
51581
  auth: "admin"
51569
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
51582
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
51583
+ agentNodeId: string(),
51584
+ deviceKey: string()
51585
+ }), object({ success: literal(true) }), {
51586
+ kind: "mutation",
51587
+ auth: "admin"
51588
+ }), method(object({ agentNodeId: string() }), object({
51570
51589
  success: literal(true),
51571
51590
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
51572
51591
  effectiveModelId: string().nullable(),
@@ -59809,7 +59828,7 @@ var motionTriggerCapability = {
59809
59828
  enabled: boolean()
59810
59829
  }), _void(), {
59811
59830
  kind: "mutation",
59812
- auth: "admin"
59831
+ auth: "protected"
59813
59832
  }) },
59814
59833
  events: { onMotionTriggerChanged: { data: object({
59815
59834
  deviceId: number(),
@@ -60539,6 +60558,13 @@ var TopologyNodeSchema = object({
60539
60558
  cpuModel: string().nullable(),
60540
60559
  cpuCores: number(),
60541
60560
  memoryMB: number(),
60561
+ /**
60562
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
60563
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
60564
+ * about whether its hardware is there (a Coral delegate stays installed
60565
+ * after the stick leaves, D919); the live device set is
60566
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
60567
+ */
60542
60568
  engines: array(string()).readonly(),
60543
60569
  isHub: boolean(),
60544
60570
  isOnline: boolean(),
@@ -61656,7 +61682,28 @@ var ResolvedInferenceConfigSchema = object({
61656
61682
  format: ModelFormatSchema,
61657
61683
  reason: string()
61658
61684
  });
61659
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61685
+ /**
61686
+ * The answer of an accelerator rescan (D919): the node's device list after
61687
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61688
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61689
+ * bus, the installed-delegate fallback, or nothing).
61690
+ */
61691
+ var AcceleratorRescanSchema = object({
61692
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61693
+ appeared: array(string()).readonly(),
61694
+ disappeared: array(string()).readonly(),
61695
+ usbBus: _enum(["observed", "unobservable"]),
61696
+ decidedBy: _enum([
61697
+ "usb-ids",
61698
+ "pci",
61699
+ "delegate-fallback",
61700
+ "none"
61701
+ ])
61702
+ });
61703
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61704
+ kind: "mutation",
61705
+ auth: "admin"
61706
+ });
61660
61707
  /**
61661
61708
  * Multi-metric electrical meter. One slice can carry any combination
61662
61709
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73884,6 +73931,12 @@ Object.freeze({
73884
73931
  addonId: null,
73885
73932
  access: "delete"
73886
73933
  },
73934
+ "pipelineOrchestrator.forgetInferenceDevice": {
73935
+ capName: "pipeline-orchestrator",
73936
+ capScope: "system",
73937
+ addonId: null,
73938
+ access: "delete"
73939
+ },
73887
73940
  "pipelineOrchestrator.getAgentLoad": {
73888
73941
  capName: "pipeline-orchestrator",
73889
73942
  capScope: "system",
@@ -74460,6 +74513,12 @@ Object.freeze({
74460
74513
  addonId: null,
74461
74514
  access: "view"
74462
74515
  },
74516
+ "platformProbe.rescanAccelerators": {
74517
+ capName: "platform-probe",
74518
+ capScope: "system",
74519
+ addonId: null,
74520
+ access: "create"
74521
+ },
74463
74522
  "platformProbe.resolveHwAccel": {
74464
74523
  capName: "platform-probe",
74465
74524
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.144",
3
+ "version": "0.2.145",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",