@camstack/addon-provider-hikvision 1.2.170 → 1.2.171

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
@@ -50728,6 +50728,19 @@ var NodeInferenceDeviceSchema = object({
50728
50728
  /** Whether the node's live probe reports the device as usable right now. */
50729
50729
  available: boolean(),
50730
50730
  /**
50731
+ * Is the device on the node at all (D919)? `present` — the live probe
50732
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50733
+ * its stored settings remain (unplugged, moved to another node): never
50734
+ * eligible, whatever its stored `enabled`, and forgettable with
50735
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50736
+ * claimed (D315). Optional only for an orchestrator older than the field.
50737
+ */
50738
+ presence: _enum([
50739
+ "present",
50740
+ "absent",
50741
+ "unknown"
50742
+ ]).optional(),
50743
+ /**
50731
50744
  * Whether this device participates in dispatch. AUTO default (spec C2):
50732
50745
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50733
50746
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50953,7 +50966,13 @@ method(object({
50953
50966
  }), object({ success: literal(true) }), {
50954
50967
  kind: "mutation",
50955
50968
  auth: "admin"
50956
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50969
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50970
+ agentNodeId: string(),
50971
+ deviceKey: string()
50972
+ }), object({ success: literal(true) }), {
50973
+ kind: "mutation",
50974
+ auth: "admin"
50975
+ }), method(object({ agentNodeId: string() }), object({
50957
50976
  success: literal(true),
50958
50977
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50959
50978
  effectiveModelId: string().nullable(),
@@ -59718,7 +59737,7 @@ var motionTriggerCapability = {
59718
59737
  enabled: boolean()
59719
59738
  }), _void(), {
59720
59739
  kind: "mutation",
59721
- auth: "admin"
59740
+ auth: "protected"
59722
59741
  }) },
59723
59742
  events: { onMotionTriggerChanged: { data: object({
59724
59743
  deviceId: number(),
@@ -60448,6 +60467,13 @@ var TopologyNodeSchema = object({
60448
60467
  cpuModel: string().nullable(),
60449
60468
  cpuCores: number(),
60450
60469
  memoryMB: number(),
60470
+ /**
60471
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
60472
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
60473
+ * about whether its hardware is there (a Coral delegate stays installed
60474
+ * after the stick leaves, D919); the live device set is
60475
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
60476
+ */
60451
60477
  engines: array(string()).readonly(),
60452
60478
  isHub: boolean(),
60453
60479
  isOnline: boolean(),
@@ -61611,7 +61637,28 @@ var ResolvedInferenceConfigSchema = object({
61611
61637
  format: ModelFormatSchema,
61612
61638
  reason: string()
61613
61639
  });
61614
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61640
+ /**
61641
+ * The answer of an accelerator rescan (D919): the node's device list after
61642
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61643
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61644
+ * bus, the installed-delegate fallback, or nothing).
61645
+ */
61646
+ var AcceleratorRescanSchema = object({
61647
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61648
+ appeared: array(string()).readonly(),
61649
+ disappeared: array(string()).readonly(),
61650
+ usbBus: _enum(["observed", "unobservable"]),
61651
+ decidedBy: _enum([
61652
+ "usb-ids",
61653
+ "pci",
61654
+ "delegate-fallback",
61655
+ "none"
61656
+ ])
61657
+ });
61658
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61659
+ kind: "mutation",
61660
+ auth: "admin"
61661
+ });
61615
61662
  /**
61616
61663
  * Multi-metric electrical meter. One slice can carry any combination
61617
61664
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -74373,6 +74420,12 @@ Object.freeze({
74373
74420
  addonId: null,
74374
74421
  access: "delete"
74375
74422
  },
74423
+ "pipelineOrchestrator.forgetInferenceDevice": {
74424
+ capName: "pipeline-orchestrator",
74425
+ capScope: "system",
74426
+ addonId: null,
74427
+ access: "delete"
74428
+ },
74376
74429
  "pipelineOrchestrator.getAgentLoad": {
74377
74430
  capName: "pipeline-orchestrator",
74378
74431
  capScope: "system",
@@ -74949,6 +75002,12 @@ Object.freeze({
74949
75002
  addonId: null,
74950
75003
  access: "view"
74951
75004
  },
75005
+ "platformProbe.rescanAccelerators": {
75006
+ capName: "platform-probe",
75007
+ capScope: "system",
75008
+ addonId: null,
75009
+ access: "create"
75010
+ },
74952
75011
  "platformProbe.resolveHwAccel": {
74953
75012
  capName: "platform-probe",
74954
75013
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50707,6 +50707,19 @@ var NodeInferenceDeviceSchema = object({
50707
50707
  /** Whether the node's live probe reports the device as usable right now. */
50708
50708
  available: boolean(),
50709
50709
  /**
50710
+ * Is the device on the node at all (D919)? `present` — the live probe
50711
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50712
+ * its stored settings remain (unplugged, moved to another node): never
50713
+ * eligible, whatever its stored `enabled`, and forgettable with
50714
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50715
+ * claimed (D315). Optional only for an orchestrator older than the field.
50716
+ */
50717
+ presence: _enum([
50718
+ "present",
50719
+ "absent",
50720
+ "unknown"
50721
+ ]).optional(),
50722
+ /**
50710
50723
  * Whether this device participates in dispatch. AUTO default (spec C2):
50711
50724
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50712
50725
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50932,7 +50945,13 @@ method(object({
50932
50945
  }), object({ success: literal(true) }), {
50933
50946
  kind: "mutation",
50934
50947
  auth: "admin"
50935
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50948
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50949
+ agentNodeId: string(),
50950
+ deviceKey: string()
50951
+ }), object({ success: literal(true) }), {
50952
+ kind: "mutation",
50953
+ auth: "admin"
50954
+ }), method(object({ agentNodeId: string() }), object({
50936
50955
  success: literal(true),
50937
50956
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50938
50957
  effectiveModelId: string().nullable(),
@@ -59697,7 +59716,7 @@ var motionTriggerCapability = {
59697
59716
  enabled: boolean()
59698
59717
  }), _void(), {
59699
59718
  kind: "mutation",
59700
- auth: "admin"
59719
+ auth: "protected"
59701
59720
  }) },
59702
59721
  events: { onMotionTriggerChanged: { data: object({
59703
59722
  deviceId: number(),
@@ -60427,6 +60446,13 @@ var TopologyNodeSchema = object({
60427
60446
  cpuModel: string().nullable(),
60428
60447
  cpuCores: number(),
60429
60448
  memoryMB: number(),
60449
+ /**
60450
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
60451
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
60452
+ * about whether its hardware is there (a Coral delegate stays installed
60453
+ * after the stick leaves, D919); the live device set is
60454
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
60455
+ */
60430
60456
  engines: array(string()).readonly(),
60431
60457
  isHub: boolean(),
60432
60458
  isOnline: boolean(),
@@ -61590,7 +61616,28 @@ var ResolvedInferenceConfigSchema = object({
61590
61616
  format: ModelFormatSchema,
61591
61617
  reason: string()
61592
61618
  });
61593
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61619
+ /**
61620
+ * The answer of an accelerator rescan (D919): the node's device list after
61621
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61622
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61623
+ * bus, the installed-delegate fallback, or nothing).
61624
+ */
61625
+ var AcceleratorRescanSchema = object({
61626
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61627
+ appeared: array(string()).readonly(),
61628
+ disappeared: array(string()).readonly(),
61629
+ usbBus: _enum(["observed", "unobservable"]),
61630
+ decidedBy: _enum([
61631
+ "usb-ids",
61632
+ "pci",
61633
+ "delegate-fallback",
61634
+ "none"
61635
+ ])
61636
+ });
61637
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61638
+ kind: "mutation",
61639
+ auth: "admin"
61640
+ });
61594
61641
  /**
61595
61642
  * Multi-metric electrical meter. One slice can carry any combination
61596
61643
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -74352,6 +74399,12 @@ Object.freeze({
74352
74399
  addonId: null,
74353
74400
  access: "delete"
74354
74401
  },
74402
+ "pipelineOrchestrator.forgetInferenceDevice": {
74403
+ capName: "pipeline-orchestrator",
74404
+ capScope: "system",
74405
+ addonId: null,
74406
+ access: "delete"
74407
+ },
74355
74408
  "pipelineOrchestrator.getAgentLoad": {
74356
74409
  capName: "pipeline-orchestrator",
74357
74410
  capScope: "system",
@@ -74928,6 +74981,12 @@ Object.freeze({
74928
74981
  addonId: null,
74929
74982
  access: "view"
74930
74983
  },
74984
+ "platformProbe.rescanAccelerators": {
74985
+ capName: "platform-probe",
74986
+ capScope: "system",
74987
+ addonId: null,
74988
+ access: "create"
74989
+ },
74931
74990
  "platformProbe.resolveHwAccel": {
74932
74991
  capName: "platform-probe",
74933
74992
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.170",
3
+ "version": "1.2.171",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",