@camstack/addon-provider-onvif 1.2.146 → 1.2.147
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 +62 -3
- package/dist/addon.mjs +62 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -49984,6 +49984,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
49984
49984
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
49985
49985
|
available: boolean(),
|
|
49986
49986
|
/**
|
|
49987
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
49988
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
49989
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
49990
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
49991
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
49992
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
49993
|
+
*/
|
|
49994
|
+
presence: _enum([
|
|
49995
|
+
"present",
|
|
49996
|
+
"absent",
|
|
49997
|
+
"unknown"
|
|
49998
|
+
]).optional(),
|
|
49999
|
+
/**
|
|
49987
50000
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
49988
50001
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
49989
50002
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50209,7 +50222,13 @@ method(object({
|
|
|
50209
50222
|
}), object({ success: literal(true) }), {
|
|
50210
50223
|
kind: "mutation",
|
|
50211
50224
|
auth: "admin"
|
|
50212
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50225
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50226
|
+
agentNodeId: string(),
|
|
50227
|
+
deviceKey: string()
|
|
50228
|
+
}), object({ success: literal(true) }), {
|
|
50229
|
+
kind: "mutation",
|
|
50230
|
+
auth: "admin"
|
|
50231
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50213
50232
|
success: literal(true),
|
|
50214
50233
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50215
50234
|
effectiveModelId: string().nullable(),
|
|
@@ -56868,7 +56887,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
56868
56887
|
enabled: boolean()
|
|
56869
56888
|
}), _void(), {
|
|
56870
56889
|
kind: "mutation",
|
|
56871
|
-
auth: "
|
|
56890
|
+
auth: "protected"
|
|
56872
56891
|
}), object({
|
|
56873
56892
|
deviceId: number(),
|
|
56874
56893
|
enabled: boolean(),
|
|
@@ -57358,6 +57377,13 @@ var TopologyNodeSchema = object({
|
|
|
57358
57377
|
cpuModel: string().nullable(),
|
|
57359
57378
|
cpuCores: number(),
|
|
57360
57379
|
memoryMB: number(),
|
|
57380
|
+
/**
|
|
57381
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57382
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57383
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57384
|
+
* after the stick leaves, D919); the live device set is
|
|
57385
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57386
|
+
*/
|
|
57361
57387
|
engines: array(string()).readonly(),
|
|
57362
57388
|
isHub: boolean(),
|
|
57363
57389
|
isOnline: boolean(),
|
|
@@ -58322,7 +58348,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58322
58348
|
format: ModelFormatSchema,
|
|
58323
58349
|
reason: string()
|
|
58324
58350
|
});
|
|
58325
|
-
|
|
58351
|
+
/**
|
|
58352
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58353
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58354
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58355
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58356
|
+
*/
|
|
58357
|
+
var AcceleratorRescanSchema = object({
|
|
58358
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58359
|
+
appeared: array(string()).readonly(),
|
|
58360
|
+
disappeared: array(string()).readonly(),
|
|
58361
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58362
|
+
decidedBy: _enum([
|
|
58363
|
+
"usb-ids",
|
|
58364
|
+
"pci",
|
|
58365
|
+
"delegate-fallback",
|
|
58366
|
+
"none"
|
|
58367
|
+
])
|
|
58368
|
+
});
|
|
58369
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58370
|
+
kind: "mutation",
|
|
58371
|
+
auth: "admin"
|
|
58372
|
+
});
|
|
58326
58373
|
object({
|
|
58327
58374
|
/** Instantaneous power draw in watts. */
|
|
58328
58375
|
watts: number().optional(),
|
|
@@ -68741,6 +68788,12 @@ Object.freeze({
|
|
|
68741
68788
|
addonId: null,
|
|
68742
68789
|
access: "delete"
|
|
68743
68790
|
},
|
|
68791
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68792
|
+
capName: "pipeline-orchestrator",
|
|
68793
|
+
capScope: "system",
|
|
68794
|
+
addonId: null,
|
|
68795
|
+
access: "delete"
|
|
68796
|
+
},
|
|
68744
68797
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68745
68798
|
capName: "pipeline-orchestrator",
|
|
68746
68799
|
capScope: "system",
|
|
@@ -69317,6 +69370,12 @@ Object.freeze({
|
|
|
69317
69370
|
addonId: null,
|
|
69318
69371
|
access: "view"
|
|
69319
69372
|
},
|
|
69373
|
+
"platformProbe.rescanAccelerators": {
|
|
69374
|
+
capName: "platform-probe",
|
|
69375
|
+
capScope: "system",
|
|
69376
|
+
addonId: null,
|
|
69377
|
+
access: "create"
|
|
69378
|
+
},
|
|
69320
69379
|
"platformProbe.resolveHwAccel": {
|
|
69321
69380
|
capName: "platform-probe",
|
|
69322
69381
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -49985,6 +49985,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
49985
49985
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
49986
49986
|
available: boolean(),
|
|
49987
49987
|
/**
|
|
49988
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
49989
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
49990
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
49991
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
49992
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
49993
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
49994
|
+
*/
|
|
49995
|
+
presence: _enum([
|
|
49996
|
+
"present",
|
|
49997
|
+
"absent",
|
|
49998
|
+
"unknown"
|
|
49999
|
+
]).optional(),
|
|
50000
|
+
/**
|
|
49988
50001
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
49989
50002
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
49990
50003
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50210,7 +50223,13 @@ method(object({
|
|
|
50210
50223
|
}), object({ success: literal(true) }), {
|
|
50211
50224
|
kind: "mutation",
|
|
50212
50225
|
auth: "admin"
|
|
50213
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50226
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50227
|
+
agentNodeId: string(),
|
|
50228
|
+
deviceKey: string()
|
|
50229
|
+
}), object({ success: literal(true) }), {
|
|
50230
|
+
kind: "mutation",
|
|
50231
|
+
auth: "admin"
|
|
50232
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50214
50233
|
success: literal(true),
|
|
50215
50234
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50216
50235
|
effectiveModelId: string().nullable(),
|
|
@@ -56869,7 +56888,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
56869
56888
|
enabled: boolean()
|
|
56870
56889
|
}), _void(), {
|
|
56871
56890
|
kind: "mutation",
|
|
56872
|
-
auth: "
|
|
56891
|
+
auth: "protected"
|
|
56873
56892
|
}), object({
|
|
56874
56893
|
deviceId: number(),
|
|
56875
56894
|
enabled: boolean(),
|
|
@@ -57359,6 +57378,13 @@ var TopologyNodeSchema = object({
|
|
|
57359
57378
|
cpuModel: string().nullable(),
|
|
57360
57379
|
cpuCores: number(),
|
|
57361
57380
|
memoryMB: number(),
|
|
57381
|
+
/**
|
|
57382
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57383
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57384
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57385
|
+
* after the stick leaves, D919); the live device set is
|
|
57386
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57387
|
+
*/
|
|
57362
57388
|
engines: array(string()).readonly(),
|
|
57363
57389
|
isHub: boolean(),
|
|
57364
57390
|
isOnline: boolean(),
|
|
@@ -58323,7 +58349,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58323
58349
|
format: ModelFormatSchema,
|
|
58324
58350
|
reason: string()
|
|
58325
58351
|
});
|
|
58326
|
-
|
|
58352
|
+
/**
|
|
58353
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58354
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58355
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58356
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58357
|
+
*/
|
|
58358
|
+
var AcceleratorRescanSchema = object({
|
|
58359
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58360
|
+
appeared: array(string()).readonly(),
|
|
58361
|
+
disappeared: array(string()).readonly(),
|
|
58362
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58363
|
+
decidedBy: _enum([
|
|
58364
|
+
"usb-ids",
|
|
58365
|
+
"pci",
|
|
58366
|
+
"delegate-fallback",
|
|
58367
|
+
"none"
|
|
58368
|
+
])
|
|
58369
|
+
});
|
|
58370
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58371
|
+
kind: "mutation",
|
|
58372
|
+
auth: "admin"
|
|
58373
|
+
});
|
|
58327
58374
|
object({
|
|
58328
58375
|
/** Instantaneous power draw in watts. */
|
|
58329
58376
|
watts: number().optional(),
|
|
@@ -68742,6 +68789,12 @@ Object.freeze({
|
|
|
68742
68789
|
addonId: null,
|
|
68743
68790
|
access: "delete"
|
|
68744
68791
|
},
|
|
68792
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68793
|
+
capName: "pipeline-orchestrator",
|
|
68794
|
+
capScope: "system",
|
|
68795
|
+
addonId: null,
|
|
68796
|
+
access: "delete"
|
|
68797
|
+
},
|
|
68745
68798
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68746
68799
|
capName: "pipeline-orchestrator",
|
|
68747
68800
|
capScope: "system",
|
|
@@ -69318,6 +69371,12 @@ Object.freeze({
|
|
|
69318
69371
|
addonId: null,
|
|
69319
69372
|
access: "view"
|
|
69320
69373
|
},
|
|
69374
|
+
"platformProbe.rescanAccelerators": {
|
|
69375
|
+
capName: "platform-probe",
|
|
69376
|
+
capScope: "system",
|
|
69377
|
+
addonId: null,
|
|
69378
|
+
access: "create"
|
|
69379
|
+
},
|
|
69321
69380
|
"platformProbe.resolveHwAccel": {
|
|
69322
69381
|
capName: "platform-probe",
|
|
69323
69382
|
capScope: "system",
|