@camstack/addon-matter-broker 0.2.145 → 0.2.146

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
@@ -50645,6 +50645,19 @@ var NodeInferenceDeviceSchema = object({
50645
50645
  /** Whether the node's live probe reports the device as usable right now. */
50646
50646
  available: boolean(),
50647
50647
  /**
50648
+ * Is the device on the node at all (D919)? `present` — the live probe
50649
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50650
+ * its stored settings remain (unplugged, moved to another node): never
50651
+ * eligible, whatever its stored `enabled`, and forgettable with
50652
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50653
+ * claimed (D315). Optional only for an orchestrator older than the field.
50654
+ */
50655
+ presence: _enum([
50656
+ "present",
50657
+ "absent",
50658
+ "unknown"
50659
+ ]).optional(),
50660
+ /**
50648
50661
  * Whether this device participates in dispatch. AUTO default (spec C2):
50649
50662
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50650
50663
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50870,7 +50883,13 @@ method(object({
50870
50883
  }), object({ success: literal(true) }), {
50871
50884
  kind: "mutation",
50872
50885
  auth: "admin"
50873
- }), method(object({ nodeId: string$2() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string$2() }), object({
50886
+ }), method(object({ nodeId: string$2() }), NodeInferenceDevicesSchema), method(object({
50887
+ agentNodeId: string$2(),
50888
+ deviceKey: string$2()
50889
+ }), object({ success: literal(true) }), {
50890
+ kind: "mutation",
50891
+ auth: "admin"
50892
+ }), method(object({ agentNodeId: string$2() }), object({
50874
50893
  success: literal(true),
50875
50894
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50876
50895
  effectiveModelId: string$2().nullable(),
@@ -59130,7 +59149,7 @@ var motionTriggerCapability = {
59130
59149
  enabled: boolean()
59131
59150
  }), _void(), {
59132
59151
  kind: "mutation",
59133
- auth: "admin"
59152
+ auth: "protected"
59134
59153
  }) },
59135
59154
  events: { onMotionTriggerChanged: { data: object({
59136
59155
  deviceId: number(),
@@ -59860,6 +59879,13 @@ var TopologyNodeSchema = object({
59860
59879
  cpuModel: string$2().nullable(),
59861
59880
  cpuCores: number(),
59862
59881
  memoryMB: number(),
59882
+ /**
59883
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59884
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59885
+ * about whether its hardware is there (a Coral delegate stays installed
59886
+ * after the stick leaves, D919); the live device set is
59887
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59888
+ */
59863
59889
  engines: array(string$2()).readonly(),
59864
59890
  isHub: boolean(),
59865
59891
  isOnline: boolean(),
@@ -60977,7 +61003,28 @@ var ResolvedInferenceConfigSchema = object({
60977
61003
  format: ModelFormatSchema,
60978
61004
  reason: string$2()
60979
61005
  });
60980
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61006
+ /**
61007
+ * The answer of an accelerator rescan (D919): the node's device list after
61008
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61009
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61010
+ * bus, the installed-delegate fallback, or nothing).
61011
+ */
61012
+ var AcceleratorRescanSchema = object({
61013
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61014
+ appeared: array(string$2()).readonly(),
61015
+ disappeared: array(string$2()).readonly(),
61016
+ usbBus: _enum(["observed", "unobservable"]),
61017
+ decidedBy: _enum([
61018
+ "usb-ids",
61019
+ "pci",
61020
+ "delegate-fallback",
61021
+ "none"
61022
+ ])
61023
+ });
61024
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61025
+ kind: "mutation",
61026
+ auth: "admin"
61027
+ });
60981
61028
  /**
60982
61029
  * Multi-metric electrical meter. One slice can carry any combination
60983
61030
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73205,6 +73252,12 @@ Object.freeze({
73205
73252
  addonId: null,
73206
73253
  access: "delete"
73207
73254
  },
73255
+ "pipelineOrchestrator.forgetInferenceDevice": {
73256
+ capName: "pipeline-orchestrator",
73257
+ capScope: "system",
73258
+ addonId: null,
73259
+ access: "delete"
73260
+ },
73208
73261
  "pipelineOrchestrator.getAgentLoad": {
73209
73262
  capName: "pipeline-orchestrator",
73210
73263
  capScope: "system",
@@ -73781,6 +73834,12 @@ Object.freeze({
73781
73834
  addonId: null,
73782
73835
  access: "view"
73783
73836
  },
73837
+ "platformProbe.rescanAccelerators": {
73838
+ capName: "platform-probe",
73839
+ capScope: "system",
73840
+ addonId: null,
73841
+ access: "create"
73842
+ },
73784
73843
  "platformProbe.resolveHwAccel": {
73785
73844
  capName: "platform-probe",
73786
73845
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50643,6 +50643,19 @@ var NodeInferenceDeviceSchema = object({
50643
50643
  /** Whether the node's live probe reports the device as usable right now. */
50644
50644
  available: boolean(),
50645
50645
  /**
50646
+ * Is the device on the node at all (D919)? `present` — the live probe
50647
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50648
+ * its stored settings remain (unplugged, moved to another node): never
50649
+ * eligible, whatever its stored `enabled`, and forgettable with
50650
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50651
+ * claimed (D315). Optional only for an orchestrator older than the field.
50652
+ */
50653
+ presence: _enum([
50654
+ "present",
50655
+ "absent",
50656
+ "unknown"
50657
+ ]).optional(),
50658
+ /**
50646
50659
  * Whether this device participates in dispatch. AUTO default (spec C2):
50647
50660
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50648
50661
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50868,7 +50881,13 @@ method(object({
50868
50881
  }), object({ success: literal(true) }), {
50869
50882
  kind: "mutation",
50870
50883
  auth: "admin"
50871
- }), method(object({ nodeId: string$2() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string$2() }), object({
50884
+ }), method(object({ nodeId: string$2() }), NodeInferenceDevicesSchema), method(object({
50885
+ agentNodeId: string$2(),
50886
+ deviceKey: string$2()
50887
+ }), object({ success: literal(true) }), {
50888
+ kind: "mutation",
50889
+ auth: "admin"
50890
+ }), method(object({ agentNodeId: string$2() }), object({
50872
50891
  success: literal(true),
50873
50892
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50874
50893
  effectiveModelId: string$2().nullable(),
@@ -59128,7 +59147,7 @@ var motionTriggerCapability = {
59128
59147
  enabled: boolean()
59129
59148
  }), _void(), {
59130
59149
  kind: "mutation",
59131
- auth: "admin"
59150
+ auth: "protected"
59132
59151
  }) },
59133
59152
  events: { onMotionTriggerChanged: { data: object({
59134
59153
  deviceId: number(),
@@ -59858,6 +59877,13 @@ var TopologyNodeSchema = object({
59858
59877
  cpuModel: string$2().nullable(),
59859
59878
  cpuCores: number(),
59860
59879
  memoryMB: number(),
59880
+ /**
59881
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59882
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59883
+ * about whether its hardware is there (a Coral delegate stays installed
59884
+ * after the stick leaves, D919); the live device set is
59885
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59886
+ */
59861
59887
  engines: array(string$2()).readonly(),
59862
59888
  isHub: boolean(),
59863
59889
  isOnline: boolean(),
@@ -60975,7 +61001,28 @@ var ResolvedInferenceConfigSchema = object({
60975
61001
  format: ModelFormatSchema,
60976
61002
  reason: string$2()
60977
61003
  });
60978
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61004
+ /**
61005
+ * The answer of an accelerator rescan (D919): the node's device list after
61006
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61007
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61008
+ * bus, the installed-delegate fallback, or nothing).
61009
+ */
61010
+ var AcceleratorRescanSchema = object({
61011
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61012
+ appeared: array(string$2()).readonly(),
61013
+ disappeared: array(string$2()).readonly(),
61014
+ usbBus: _enum(["observed", "unobservable"]),
61015
+ decidedBy: _enum([
61016
+ "usb-ids",
61017
+ "pci",
61018
+ "delegate-fallback",
61019
+ "none"
61020
+ ])
61021
+ });
61022
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61023
+ kind: "mutation",
61024
+ auth: "admin"
61025
+ });
60979
61026
  /**
60980
61027
  * Multi-metric electrical meter. One slice can carry any combination
60981
61028
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73203,6 +73250,12 @@ Object.freeze({
73203
73250
  addonId: null,
73204
73251
  access: "delete"
73205
73252
  },
73253
+ "pipelineOrchestrator.forgetInferenceDevice": {
73254
+ capName: "pipeline-orchestrator",
73255
+ capScope: "system",
73256
+ addonId: null,
73257
+ access: "delete"
73258
+ },
73206
73259
  "pipelineOrchestrator.getAgentLoad": {
73207
73260
  capName: "pipeline-orchestrator",
73208
73261
  capScope: "system",
@@ -73779,6 +73832,12 @@ Object.freeze({
73779
73832
  addonId: null,
73780
73833
  access: "view"
73781
73834
  },
73835
+ "platformProbe.rescanAccelerators": {
73836
+ capName: "platform-probe",
73837
+ capScope: "system",
73838
+ addonId: null,
73839
+ access: "create"
73840
+ },
73782
73841
  "platformProbe.resolveHwAccel": {
73783
73842
  capName: "platform-probe",
73784
73843
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.145",
3
+ "version": "0.2.146",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",