@camstack/addon-mqtt-broker 1.2.143 → 1.2.144

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.
@@ -50280,6 +50280,19 @@ var NodeInferenceDeviceSchema = object({
50280
50280
  /** Whether the node's live probe reports the device as usable right now. */
50281
50281
  available: boolean(),
50282
50282
  /**
50283
+ * Is the device on the node at all (D919)? `present` — the live probe
50284
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50285
+ * its stored settings remain (unplugged, moved to another node): never
50286
+ * eligible, whatever its stored `enabled`, and forgettable with
50287
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50288
+ * claimed (D315). Optional only for an orchestrator older than the field.
50289
+ */
50290
+ presence: _enum([
50291
+ "present",
50292
+ "absent",
50293
+ "unknown"
50294
+ ]).optional(),
50295
+ /**
50283
50296
  * Whether this device participates in dispatch. AUTO default (spec C2):
50284
50297
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50285
50298
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50505,7 +50518,13 @@ method(object({
50505
50518
  }), object({ success: literal(true) }), {
50506
50519
  kind: "mutation",
50507
50520
  auth: "admin"
50508
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50521
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50522
+ agentNodeId: string(),
50523
+ deviceKey: string()
50524
+ }), object({ success: literal(true) }), {
50525
+ kind: "mutation",
50526
+ auth: "admin"
50527
+ }), method(object({ agentNodeId: string() }), object({
50509
50528
  success: literal(true),
50510
50529
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50511
50530
  effectiveModelId: string().nullable(),
@@ -57060,7 +57079,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
57060
57079
  enabled: boolean()
57061
57080
  }), _void(), {
57062
57081
  kind: "mutation",
57063
- auth: "admin"
57082
+ auth: "protected"
57064
57083
  }), object({
57065
57084
  deviceId: number(),
57066
57085
  enabled: boolean(),
@@ -57550,6 +57569,13 @@ var TopologyNodeSchema = object({
57550
57569
  cpuModel: string().nullable(),
57551
57570
  cpuCores: number(),
57552
57571
  memoryMB: number(),
57572
+ /**
57573
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57574
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57575
+ * about whether its hardware is there (a Coral delegate stays installed
57576
+ * after the stick leaves, D919); the live device set is
57577
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57578
+ */
57553
57579
  engines: array(string()).readonly(),
57554
57580
  isHub: boolean(),
57555
57581
  isOnline: boolean(),
@@ -58514,7 +58540,28 @@ var ResolvedInferenceConfigSchema = object({
58514
58540
  format: ModelFormatSchema,
58515
58541
  reason: string()
58516
58542
  });
58517
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58543
+ /**
58544
+ * The answer of an accelerator rescan (D919): the node's device list after
58545
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58546
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58547
+ * bus, the installed-delegate fallback, or nothing).
58548
+ */
58549
+ var AcceleratorRescanSchema = object({
58550
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58551
+ appeared: array(string()).readonly(),
58552
+ disappeared: array(string()).readonly(),
58553
+ usbBus: _enum(["observed", "unobservable"]),
58554
+ decidedBy: _enum([
58555
+ "usb-ids",
58556
+ "pci",
58557
+ "delegate-fallback",
58558
+ "none"
58559
+ ])
58560
+ });
58561
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58562
+ kind: "mutation",
58563
+ auth: "admin"
58564
+ });
58518
58565
  object({
58519
58566
  /** Instantaneous power draw in watts. */
58520
58567
  watts: number().optional(),
@@ -68016,6 +68063,12 @@ Object.freeze({
68016
68063
  addonId: null,
68017
68064
  access: "delete"
68018
68065
  },
68066
+ "pipelineOrchestrator.forgetInferenceDevice": {
68067
+ capName: "pipeline-orchestrator",
68068
+ capScope: "system",
68069
+ addonId: null,
68070
+ access: "delete"
68071
+ },
68019
68072
  "pipelineOrchestrator.getAgentLoad": {
68020
68073
  capName: "pipeline-orchestrator",
68021
68074
  capScope: "system",
@@ -68592,6 +68645,12 @@ Object.freeze({
68592
68645
  addonId: null,
68593
68646
  access: "view"
68594
68647
  },
68648
+ "platformProbe.rescanAccelerators": {
68649
+ capName: "platform-probe",
68650
+ capScope: "system",
68651
+ addonId: null,
68652
+ access: "create"
68653
+ },
68595
68654
  "platformProbe.resolveHwAccel": {
68596
68655
  capName: "platform-probe",
68597
68656
  capScope: "system",
@@ -50273,6 +50273,19 @@ var NodeInferenceDeviceSchema = object({
50273
50273
  /** Whether the node's live probe reports the device as usable right now. */
50274
50274
  available: boolean(),
50275
50275
  /**
50276
+ * Is the device on the node at all (D919)? `present` — the live probe
50277
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50278
+ * its stored settings remain (unplugged, moved to another node): never
50279
+ * eligible, whatever its stored `enabled`, and forgettable with
50280
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50281
+ * claimed (D315). Optional only for an orchestrator older than the field.
50282
+ */
50283
+ presence: _enum([
50284
+ "present",
50285
+ "absent",
50286
+ "unknown"
50287
+ ]).optional(),
50288
+ /**
50276
50289
  * Whether this device participates in dispatch. AUTO default (spec C2):
50277
50290
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50278
50291
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50498,7 +50511,13 @@ method(object({
50498
50511
  }), object({ success: literal(true) }), {
50499
50512
  kind: "mutation",
50500
50513
  auth: "admin"
50501
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50514
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50515
+ agentNodeId: string(),
50516
+ deviceKey: string()
50517
+ }), object({ success: literal(true) }), {
50518
+ kind: "mutation",
50519
+ auth: "admin"
50520
+ }), method(object({ agentNodeId: string() }), object({
50502
50521
  success: literal(true),
50503
50522
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50504
50523
  effectiveModelId: string().nullable(),
@@ -57053,7 +57072,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
57053
57072
  enabled: boolean()
57054
57073
  }), _void(), {
57055
57074
  kind: "mutation",
57056
- auth: "admin"
57075
+ auth: "protected"
57057
57076
  }), object({
57058
57077
  deviceId: number(),
57059
57078
  enabled: boolean(),
@@ -57543,6 +57562,13 @@ var TopologyNodeSchema = object({
57543
57562
  cpuModel: string().nullable(),
57544
57563
  cpuCores: number(),
57545
57564
  memoryMB: number(),
57565
+ /**
57566
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57567
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57568
+ * about whether its hardware is there (a Coral delegate stays installed
57569
+ * after the stick leaves, D919); the live device set is
57570
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57571
+ */
57546
57572
  engines: array(string()).readonly(),
57547
57573
  isHub: boolean(),
57548
57574
  isOnline: boolean(),
@@ -58507,7 +58533,28 @@ var ResolvedInferenceConfigSchema = object({
58507
58533
  format: ModelFormatSchema,
58508
58534
  reason: string()
58509
58535
  });
58510
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58536
+ /**
58537
+ * The answer of an accelerator rescan (D919): the node's device list after
58538
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58539
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58540
+ * bus, the installed-delegate fallback, or nothing).
58541
+ */
58542
+ var AcceleratorRescanSchema = object({
58543
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58544
+ appeared: array(string()).readonly(),
58545
+ disappeared: array(string()).readonly(),
58546
+ usbBus: _enum(["observed", "unobservable"]),
58547
+ decidedBy: _enum([
58548
+ "usb-ids",
58549
+ "pci",
58550
+ "delegate-fallback",
58551
+ "none"
58552
+ ])
58553
+ });
58554
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58555
+ kind: "mutation",
58556
+ auth: "admin"
58557
+ });
58511
58558
  object({
58512
58559
  /** Instantaneous power draw in watts. */
58513
58560
  watts: number().optional(),
@@ -68009,6 +68056,12 @@ Object.freeze({
68009
68056
  addonId: null,
68010
68057
  access: "delete"
68011
68058
  },
68059
+ "pipelineOrchestrator.forgetInferenceDevice": {
68060
+ capName: "pipeline-orchestrator",
68061
+ capScope: "system",
68062
+ addonId: null,
68063
+ access: "delete"
68064
+ },
68012
68065
  "pipelineOrchestrator.getAgentLoad": {
68013
68066
  capName: "pipeline-orchestrator",
68014
68067
  capScope: "system",
@@ -68585,6 +68638,12 @@ Object.freeze({
68585
68638
  addonId: null,
68586
68639
  access: "view"
68587
68640
  },
68641
+ "platformProbe.rescanAccelerators": {
68642
+ capName: "platform-probe",
68643
+ capScope: "system",
68644
+ addonId: null,
68645
+ access: "create"
68646
+ },
68588
68647
  "platformProbe.resolveHwAccel": {
68589
68648
  capName: "platform-probe",
68590
68649
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-mqtt-broker",
3
- "version": "1.2.143",
3
+ "version": "1.2.144",
4
4
  "description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
5
5
  "keywords": [
6
6
  "camstack",