@camstack/addon-provider-rtsp 1.2.144 → 1.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
@@ -50389,6 +50389,19 @@ var NodeInferenceDeviceSchema = object({
50389
50389
  /** Whether the node's live probe reports the device as usable right now. */
50390
50390
  available: boolean(),
50391
50391
  /**
50392
+ * Is the device on the node at all (D919)? `present` — the live probe
50393
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50394
+ * its stored settings remain (unplugged, moved to another node): never
50395
+ * eligible, whatever its stored `enabled`, and forgettable with
50396
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50397
+ * claimed (D315). Optional only for an orchestrator older than the field.
50398
+ */
50399
+ presence: _enum([
50400
+ "present",
50401
+ "absent",
50402
+ "unknown"
50403
+ ]).optional(),
50404
+ /**
50392
50405
  * Whether this device participates in dispatch. AUTO default (spec C2):
50393
50406
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50394
50407
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50614,7 +50627,13 @@ method(object({
50614
50627
  }), object({ success: literal(true) }), {
50615
50628
  kind: "mutation",
50616
50629
  auth: "admin"
50617
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50630
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50631
+ agentNodeId: string(),
50632
+ deviceKey: string()
50633
+ }), object({ success: literal(true) }), {
50634
+ kind: "mutation",
50635
+ auth: "admin"
50636
+ }), method(object({ agentNodeId: string() }), object({
50618
50637
  success: literal(true),
50619
50638
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50620
50639
  effectiveModelId: string().nullable(),
@@ -58969,7 +58988,7 @@ var motionTriggerCapability = {
58969
58988
  enabled: boolean()
58970
58989
  }), _void(), {
58971
58990
  kind: "mutation",
58972
- auth: "admin"
58991
+ auth: "protected"
58973
58992
  }) },
58974
58993
  events: { onMotionTriggerChanged: { data: object({
58975
58994
  deviceId: number(),
@@ -59699,6 +59718,13 @@ var TopologyNodeSchema = object({
59699
59718
  cpuModel: string().nullable(),
59700
59719
  cpuCores: number(),
59701
59720
  memoryMB: number(),
59721
+ /**
59722
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59723
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59724
+ * about whether its hardware is there (a Coral delegate stays installed
59725
+ * after the stick leaves, D919); the live device set is
59726
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59727
+ */
59702
59728
  engines: array(string()).readonly(),
59703
59729
  isHub: boolean(),
59704
59730
  isOnline: boolean(),
@@ -60816,7 +60842,28 @@ var ResolvedInferenceConfigSchema = object({
60816
60842
  format: ModelFormatSchema,
60817
60843
  reason: string()
60818
60844
  });
60819
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60845
+ /**
60846
+ * The answer of an accelerator rescan (D919): the node's device list after
60847
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60848
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60849
+ * bus, the installed-delegate fallback, or nothing).
60850
+ */
60851
+ var AcceleratorRescanSchema = object({
60852
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60853
+ appeared: array(string()).readonly(),
60854
+ disappeared: array(string()).readonly(),
60855
+ usbBus: _enum(["observed", "unobservable"]),
60856
+ decidedBy: _enum([
60857
+ "usb-ids",
60858
+ "pci",
60859
+ "delegate-fallback",
60860
+ "none"
60861
+ ])
60862
+ });
60863
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60864
+ kind: "mutation",
60865
+ auth: "admin"
60866
+ });
60820
60867
  /**
60821
60868
  * Multi-metric electrical meter. One slice can carry any combination
60822
60869
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73044,6 +73091,12 @@ Object.freeze({
73044
73091
  addonId: null,
73045
73092
  access: "delete"
73046
73093
  },
73094
+ "pipelineOrchestrator.forgetInferenceDevice": {
73095
+ capName: "pipeline-orchestrator",
73096
+ capScope: "system",
73097
+ addonId: null,
73098
+ access: "delete"
73099
+ },
73047
73100
  "pipelineOrchestrator.getAgentLoad": {
73048
73101
  capName: "pipeline-orchestrator",
73049
73102
  capScope: "system",
@@ -73620,6 +73673,12 @@ Object.freeze({
73620
73673
  addonId: null,
73621
73674
  access: "view"
73622
73675
  },
73676
+ "platformProbe.rescanAccelerators": {
73677
+ capName: "platform-probe",
73678
+ capScope: "system",
73679
+ addonId: null,
73680
+ access: "create"
73681
+ },
73623
73682
  "platformProbe.resolveHwAccel": {
73624
73683
  capName: "platform-probe",
73625
73684
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50365,6 +50365,19 @@ var NodeInferenceDeviceSchema = object({
50365
50365
  /** Whether the node's live probe reports the device as usable right now. */
50366
50366
  available: boolean(),
50367
50367
  /**
50368
+ * Is the device on the node at all (D919)? `present` — the live probe
50369
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50370
+ * its stored settings remain (unplugged, moved to another node): never
50371
+ * eligible, whatever its stored `enabled`, and forgettable with
50372
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50373
+ * claimed (D315). Optional only for an orchestrator older than the field.
50374
+ */
50375
+ presence: _enum([
50376
+ "present",
50377
+ "absent",
50378
+ "unknown"
50379
+ ]).optional(),
50380
+ /**
50368
50381
  * Whether this device participates in dispatch. AUTO default (spec C2):
50369
50382
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50370
50383
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50590,7 +50603,13 @@ method(object({
50590
50603
  }), object({ success: literal(true) }), {
50591
50604
  kind: "mutation",
50592
50605
  auth: "admin"
50593
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50606
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50607
+ agentNodeId: string(),
50608
+ deviceKey: string()
50609
+ }), object({ success: literal(true) }), {
50610
+ kind: "mutation",
50611
+ auth: "admin"
50612
+ }), method(object({ agentNodeId: string() }), object({
50594
50613
  success: literal(true),
50595
50614
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50596
50615
  effectiveModelId: string().nullable(),
@@ -58945,7 +58964,7 @@ var motionTriggerCapability = {
58945
58964
  enabled: boolean()
58946
58965
  }), _void(), {
58947
58966
  kind: "mutation",
58948
- auth: "admin"
58967
+ auth: "protected"
58949
58968
  }) },
58950
58969
  events: { onMotionTriggerChanged: { data: object({
58951
58970
  deviceId: number(),
@@ -59675,6 +59694,13 @@ var TopologyNodeSchema = object({
59675
59694
  cpuModel: string().nullable(),
59676
59695
  cpuCores: number(),
59677
59696
  memoryMB: number(),
59697
+ /**
59698
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59699
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59700
+ * about whether its hardware is there (a Coral delegate stays installed
59701
+ * after the stick leaves, D919); the live device set is
59702
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59703
+ */
59678
59704
  engines: array(string()).readonly(),
59679
59705
  isHub: boolean(),
59680
59706
  isOnline: boolean(),
@@ -60792,7 +60818,28 @@ var ResolvedInferenceConfigSchema = object({
60792
60818
  format: ModelFormatSchema,
60793
60819
  reason: string()
60794
60820
  });
60795
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60821
+ /**
60822
+ * The answer of an accelerator rescan (D919): the node's device list after
60823
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60824
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60825
+ * bus, the installed-delegate fallback, or nothing).
60826
+ */
60827
+ var AcceleratorRescanSchema = object({
60828
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60829
+ appeared: array(string()).readonly(),
60830
+ disappeared: array(string()).readonly(),
60831
+ usbBus: _enum(["observed", "unobservable"]),
60832
+ decidedBy: _enum([
60833
+ "usb-ids",
60834
+ "pci",
60835
+ "delegate-fallback",
60836
+ "none"
60837
+ ])
60838
+ });
60839
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60840
+ kind: "mutation",
60841
+ auth: "admin"
60842
+ });
60796
60843
  /**
60797
60844
  * Multi-metric electrical meter. One slice can carry any combination
60798
60845
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73020,6 +73067,12 @@ Object.freeze({
73020
73067
  addonId: null,
73021
73068
  access: "delete"
73022
73069
  },
73070
+ "pipelineOrchestrator.forgetInferenceDevice": {
73071
+ capName: "pipeline-orchestrator",
73072
+ capScope: "system",
73073
+ addonId: null,
73074
+ access: "delete"
73075
+ },
73023
73076
  "pipelineOrchestrator.getAgentLoad": {
73024
73077
  capName: "pipeline-orchestrator",
73025
73078
  capScope: "system",
@@ -73596,6 +73649,12 @@ Object.freeze({
73596
73649
  addonId: null,
73597
73650
  access: "view"
73598
73651
  },
73652
+ "platformProbe.rescanAccelerators": {
73653
+ capName: "platform-probe",
73654
+ capScope: "system",
73655
+ addonId: null,
73656
+ access: "create"
73657
+ },
73599
73658
  "platformProbe.resolveHwAccel": {
73600
73659
  capName: "platform-probe",
73601
73660
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.144",
3
+ "version": "1.2.145",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",