@camstack/addon-provider-wyze 0.2.156 → 0.2.157

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
@@ -50327,6 +50327,19 @@ var NodeInferenceDeviceSchema = object({
50327
50327
  /** Whether the node's live probe reports the device as usable right now. */
50328
50328
  available: boolean(),
50329
50329
  /**
50330
+ * Is the device on the node at all (D919)? `present` — the live probe
50331
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50332
+ * its stored settings remain (unplugged, moved to another node): never
50333
+ * eligible, whatever its stored `enabled`, and forgettable with
50334
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50335
+ * claimed (D315). Optional only for an orchestrator older than the field.
50336
+ */
50337
+ presence: _enum([
50338
+ "present",
50339
+ "absent",
50340
+ "unknown"
50341
+ ]).optional(),
50342
+ /**
50330
50343
  * Whether this device participates in dispatch. AUTO default (spec C2):
50331
50344
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50332
50345
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50552,7 +50565,13 @@ method(object({
50552
50565
  }), object({ success: literal(true) }), {
50553
50566
  kind: "mutation",
50554
50567
  auth: "admin"
50555
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50568
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50569
+ agentNodeId: string(),
50570
+ deviceKey: string()
50571
+ }), object({ success: literal(true) }), {
50572
+ kind: "mutation",
50573
+ auth: "admin"
50574
+ }), method(object({ agentNodeId: string() }), object({
50556
50575
  success: literal(true),
50557
50576
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50558
50577
  effectiveModelId: string().nullable(),
@@ -58907,7 +58926,7 @@ var motionTriggerCapability = {
58907
58926
  enabled: boolean()
58908
58927
  }), _void(), {
58909
58928
  kind: "mutation",
58910
- auth: "admin"
58929
+ auth: "protected"
58911
58930
  }) },
58912
58931
  events: { onMotionTriggerChanged: { data: object({
58913
58932
  deviceId: number(),
@@ -59637,6 +59656,13 @@ var TopologyNodeSchema = object({
59637
59656
  cpuModel: string().nullable(),
59638
59657
  cpuCores: number(),
59639
59658
  memoryMB: number(),
59659
+ /**
59660
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59661
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59662
+ * about whether its hardware is there (a Coral delegate stays installed
59663
+ * after the stick leaves, D919); the live device set is
59664
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59665
+ */
59640
59666
  engines: array(string()).readonly(),
59641
59667
  isHub: boolean(),
59642
59668
  isOnline: boolean(),
@@ -60754,7 +60780,28 @@ var ResolvedInferenceConfigSchema = object({
60754
60780
  format: ModelFormatSchema,
60755
60781
  reason: string()
60756
60782
  });
60757
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60783
+ /**
60784
+ * The answer of an accelerator rescan (D919): the node's device list after
60785
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60786
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60787
+ * bus, the installed-delegate fallback, or nothing).
60788
+ */
60789
+ var AcceleratorRescanSchema = object({
60790
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60791
+ appeared: array(string()).readonly(),
60792
+ disappeared: array(string()).readonly(),
60793
+ usbBus: _enum(["observed", "unobservable"]),
60794
+ decidedBy: _enum([
60795
+ "usb-ids",
60796
+ "pci",
60797
+ "delegate-fallback",
60798
+ "none"
60799
+ ])
60800
+ });
60801
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60802
+ kind: "mutation",
60803
+ auth: "admin"
60804
+ });
60758
60805
  /**
60759
60806
  * Multi-metric electrical meter. One slice can carry any combination
60760
60807
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -72982,6 +73029,12 @@ Object.freeze({
72982
73029
  addonId: null,
72983
73030
  access: "delete"
72984
73031
  },
73032
+ "pipelineOrchestrator.forgetInferenceDevice": {
73033
+ capName: "pipeline-orchestrator",
73034
+ capScope: "system",
73035
+ addonId: null,
73036
+ access: "delete"
73037
+ },
72985
73038
  "pipelineOrchestrator.getAgentLoad": {
72986
73039
  capName: "pipeline-orchestrator",
72987
73040
  capScope: "system",
@@ -73558,6 +73611,12 @@ Object.freeze({
73558
73611
  addonId: null,
73559
73612
  access: "view"
73560
73613
  },
73614
+ "platformProbe.rescanAccelerators": {
73615
+ capName: "platform-probe",
73616
+ capScope: "system",
73617
+ addonId: null,
73618
+ access: "create"
73619
+ },
73561
73620
  "platformProbe.resolveHwAccel": {
73562
73621
  capName: "platform-probe",
73563
73622
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50306,6 +50306,19 @@ var NodeInferenceDeviceSchema = object({
50306
50306
  /** Whether the node's live probe reports the device as usable right now. */
50307
50307
  available: boolean(),
50308
50308
  /**
50309
+ * Is the device on the node at all (D919)? `present` — the live probe
50310
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50311
+ * its stored settings remain (unplugged, moved to another node): never
50312
+ * eligible, whatever its stored `enabled`, and forgettable with
50313
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50314
+ * claimed (D315). Optional only for an orchestrator older than the field.
50315
+ */
50316
+ presence: _enum([
50317
+ "present",
50318
+ "absent",
50319
+ "unknown"
50320
+ ]).optional(),
50321
+ /**
50309
50322
  * Whether this device participates in dispatch. AUTO default (spec C2):
50310
50323
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50311
50324
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50531,7 +50544,13 @@ method(object({
50531
50544
  }), object({ success: literal(true) }), {
50532
50545
  kind: "mutation",
50533
50546
  auth: "admin"
50534
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50547
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50548
+ agentNodeId: string(),
50549
+ deviceKey: string()
50550
+ }), object({ success: literal(true) }), {
50551
+ kind: "mutation",
50552
+ auth: "admin"
50553
+ }), method(object({ agentNodeId: string() }), object({
50535
50554
  success: literal(true),
50536
50555
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50537
50556
  effectiveModelId: string().nullable(),
@@ -58886,7 +58905,7 @@ var motionTriggerCapability = {
58886
58905
  enabled: boolean()
58887
58906
  }), _void(), {
58888
58907
  kind: "mutation",
58889
- auth: "admin"
58908
+ auth: "protected"
58890
58909
  }) },
58891
58910
  events: { onMotionTriggerChanged: { data: object({
58892
58911
  deviceId: number(),
@@ -59616,6 +59635,13 @@ var TopologyNodeSchema = object({
59616
59635
  cpuModel: string().nullable(),
59617
59636
  cpuCores: number(),
59618
59637
  memoryMB: number(),
59638
+ /**
59639
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59640
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59641
+ * about whether its hardware is there (a Coral delegate stays installed
59642
+ * after the stick leaves, D919); the live device set is
59643
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59644
+ */
59619
59645
  engines: array(string()).readonly(),
59620
59646
  isHub: boolean(),
59621
59647
  isOnline: boolean(),
@@ -60733,7 +60759,28 @@ var ResolvedInferenceConfigSchema = object({
60733
60759
  format: ModelFormatSchema,
60734
60760
  reason: string()
60735
60761
  });
60736
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60762
+ /**
60763
+ * The answer of an accelerator rescan (D919): the node's device list after
60764
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60765
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60766
+ * bus, the installed-delegate fallback, or nothing).
60767
+ */
60768
+ var AcceleratorRescanSchema = object({
60769
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60770
+ appeared: array(string()).readonly(),
60771
+ disappeared: array(string()).readonly(),
60772
+ usbBus: _enum(["observed", "unobservable"]),
60773
+ decidedBy: _enum([
60774
+ "usb-ids",
60775
+ "pci",
60776
+ "delegate-fallback",
60777
+ "none"
60778
+ ])
60779
+ });
60780
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60781
+ kind: "mutation",
60782
+ auth: "admin"
60783
+ });
60737
60784
  /**
60738
60785
  * Multi-metric electrical meter. One slice can carry any combination
60739
60786
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -72961,6 +73008,12 @@ Object.freeze({
72961
73008
  addonId: null,
72962
73009
  access: "delete"
72963
73010
  },
73011
+ "pipelineOrchestrator.forgetInferenceDevice": {
73012
+ capName: "pipeline-orchestrator",
73013
+ capScope: "system",
73014
+ addonId: null,
73015
+ access: "delete"
73016
+ },
72964
73017
  "pipelineOrchestrator.getAgentLoad": {
72965
73018
  capName: "pipeline-orchestrator",
72966
73019
  capScope: "system",
@@ -73537,6 +73590,12 @@ Object.freeze({
73537
73590
  addonId: null,
73538
73591
  access: "view"
73539
73592
  },
73593
+ "platformProbe.rescanAccelerators": {
73594
+ capName: "platform-probe",
73595
+ capScope: "system",
73596
+ addonId: null,
73597
+ access: "create"
73598
+ },
73540
73599
  "platformProbe.resolveHwAccel": {
73541
73600
  capName: "platform-probe",
73542
73601
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.2.156",
3
+ "version": "0.2.157",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",