@camstack/addon-provider-amcrest 0.2.155 → 0.2.156
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
|
@@ -50417,6 +50417,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50417
50417
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50418
50418
|
available: boolean(),
|
|
50419
50419
|
/**
|
|
50420
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50421
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50422
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50423
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50424
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50425
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50426
|
+
*/
|
|
50427
|
+
presence: _enum([
|
|
50428
|
+
"present",
|
|
50429
|
+
"absent",
|
|
50430
|
+
"unknown"
|
|
50431
|
+
]).optional(),
|
|
50432
|
+
/**
|
|
50420
50433
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50421
50434
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50422
50435
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50642,7 +50655,13 @@ method(object({
|
|
|
50642
50655
|
}), object({ success: literal(true) }), {
|
|
50643
50656
|
kind: "mutation",
|
|
50644
50657
|
auth: "admin"
|
|
50645
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50658
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50659
|
+
agentNodeId: string(),
|
|
50660
|
+
deviceKey: string()
|
|
50661
|
+
}), object({ success: literal(true) }), {
|
|
50662
|
+
kind: "mutation",
|
|
50663
|
+
auth: "admin"
|
|
50664
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50646
50665
|
success: literal(true),
|
|
50647
50666
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50648
50667
|
effectiveModelId: string().nullable(),
|
|
@@ -59398,7 +59417,7 @@ var motionTriggerCapability = {
|
|
|
59398
59417
|
enabled: boolean()
|
|
59399
59418
|
}), _void(), {
|
|
59400
59419
|
kind: "mutation",
|
|
59401
|
-
auth: "
|
|
59420
|
+
auth: "protected"
|
|
59402
59421
|
}) },
|
|
59403
59422
|
events: { onMotionTriggerChanged: { data: object({
|
|
59404
59423
|
deviceId: number(),
|
|
@@ -60128,6 +60147,13 @@ var TopologyNodeSchema = object({
|
|
|
60128
60147
|
cpuModel: string().nullable(),
|
|
60129
60148
|
cpuCores: number(),
|
|
60130
60149
|
memoryMB: number(),
|
|
60150
|
+
/**
|
|
60151
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
60152
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
60153
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
60154
|
+
* after the stick leaves, D919); the live device set is
|
|
60155
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
60156
|
+
*/
|
|
60131
60157
|
engines: array(string()).readonly(),
|
|
60132
60158
|
isHub: boolean(),
|
|
60133
60159
|
isOnline: boolean(),
|
|
@@ -61291,7 +61317,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
61291
61317
|
format: ModelFormatSchema,
|
|
61292
61318
|
reason: string()
|
|
61293
61319
|
});
|
|
61294
|
-
|
|
61320
|
+
/**
|
|
61321
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
61322
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
61323
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
61324
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
61325
|
+
*/
|
|
61326
|
+
var AcceleratorRescanSchema = object({
|
|
61327
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
61328
|
+
appeared: array(string()).readonly(),
|
|
61329
|
+
disappeared: array(string()).readonly(),
|
|
61330
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
61331
|
+
decidedBy: _enum([
|
|
61332
|
+
"usb-ids",
|
|
61333
|
+
"pci",
|
|
61334
|
+
"delegate-fallback",
|
|
61335
|
+
"none"
|
|
61336
|
+
])
|
|
61337
|
+
});
|
|
61338
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
61339
|
+
kind: "mutation",
|
|
61340
|
+
auth: "admin"
|
|
61341
|
+
});
|
|
61295
61342
|
/**
|
|
61296
61343
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
61297
61344
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -73939,6 +73986,12 @@ Object.freeze({
|
|
|
73939
73986
|
addonId: null,
|
|
73940
73987
|
access: "delete"
|
|
73941
73988
|
},
|
|
73989
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
73990
|
+
capName: "pipeline-orchestrator",
|
|
73991
|
+
capScope: "system",
|
|
73992
|
+
addonId: null,
|
|
73993
|
+
access: "delete"
|
|
73994
|
+
},
|
|
73942
73995
|
"pipelineOrchestrator.getAgentLoad": {
|
|
73943
73996
|
capName: "pipeline-orchestrator",
|
|
73944
73997
|
capScope: "system",
|
|
@@ -74515,6 +74568,12 @@ Object.freeze({
|
|
|
74515
74568
|
addonId: null,
|
|
74516
74569
|
access: "view"
|
|
74517
74570
|
},
|
|
74571
|
+
"platformProbe.rescanAccelerators": {
|
|
74572
|
+
capName: "platform-probe",
|
|
74573
|
+
capScope: "system",
|
|
74574
|
+
addonId: null,
|
|
74575
|
+
access: "create"
|
|
74576
|
+
},
|
|
74518
74577
|
"platformProbe.resolveHwAccel": {
|
|
74519
74578
|
capName: "platform-probe",
|
|
74520
74579
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -50396,6 +50396,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50396
50396
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50397
50397
|
available: boolean(),
|
|
50398
50398
|
/**
|
|
50399
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50400
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50401
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50402
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50403
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50404
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50405
|
+
*/
|
|
50406
|
+
presence: _enum([
|
|
50407
|
+
"present",
|
|
50408
|
+
"absent",
|
|
50409
|
+
"unknown"
|
|
50410
|
+
]).optional(),
|
|
50411
|
+
/**
|
|
50399
50412
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50400
50413
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50401
50414
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50621,7 +50634,13 @@ method(object({
|
|
|
50621
50634
|
}), object({ success: literal(true) }), {
|
|
50622
50635
|
kind: "mutation",
|
|
50623
50636
|
auth: "admin"
|
|
50624
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50637
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50638
|
+
agentNodeId: string(),
|
|
50639
|
+
deviceKey: string()
|
|
50640
|
+
}), object({ success: literal(true) }), {
|
|
50641
|
+
kind: "mutation",
|
|
50642
|
+
auth: "admin"
|
|
50643
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50625
50644
|
success: literal(true),
|
|
50626
50645
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50627
50646
|
effectiveModelId: string().nullable(),
|
|
@@ -59377,7 +59396,7 @@ var motionTriggerCapability = {
|
|
|
59377
59396
|
enabled: boolean()
|
|
59378
59397
|
}), _void(), {
|
|
59379
59398
|
kind: "mutation",
|
|
59380
|
-
auth: "
|
|
59399
|
+
auth: "protected"
|
|
59381
59400
|
}) },
|
|
59382
59401
|
events: { onMotionTriggerChanged: { data: object({
|
|
59383
59402
|
deviceId: number(),
|
|
@@ -60107,6 +60126,13 @@ var TopologyNodeSchema = object({
|
|
|
60107
60126
|
cpuModel: string().nullable(),
|
|
60108
60127
|
cpuCores: number(),
|
|
60109
60128
|
memoryMB: number(),
|
|
60129
|
+
/**
|
|
60130
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
60131
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
60132
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
60133
|
+
* after the stick leaves, D919); the live device set is
|
|
60134
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
60135
|
+
*/
|
|
60110
60136
|
engines: array(string()).readonly(),
|
|
60111
60137
|
isHub: boolean(),
|
|
60112
60138
|
isOnline: boolean(),
|
|
@@ -61270,7 +61296,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
61270
61296
|
format: ModelFormatSchema,
|
|
61271
61297
|
reason: string()
|
|
61272
61298
|
});
|
|
61273
|
-
|
|
61299
|
+
/**
|
|
61300
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
61301
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
61302
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
61303
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
61304
|
+
*/
|
|
61305
|
+
var AcceleratorRescanSchema = object({
|
|
61306
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
61307
|
+
appeared: array(string()).readonly(),
|
|
61308
|
+
disappeared: array(string()).readonly(),
|
|
61309
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
61310
|
+
decidedBy: _enum([
|
|
61311
|
+
"usb-ids",
|
|
61312
|
+
"pci",
|
|
61313
|
+
"delegate-fallback",
|
|
61314
|
+
"none"
|
|
61315
|
+
])
|
|
61316
|
+
});
|
|
61317
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
61318
|
+
kind: "mutation",
|
|
61319
|
+
auth: "admin"
|
|
61320
|
+
});
|
|
61274
61321
|
/**
|
|
61275
61322
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
61276
61323
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -73918,6 +73965,12 @@ Object.freeze({
|
|
|
73918
73965
|
addonId: null,
|
|
73919
73966
|
access: "delete"
|
|
73920
73967
|
},
|
|
73968
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
73969
|
+
capName: "pipeline-orchestrator",
|
|
73970
|
+
capScope: "system",
|
|
73971
|
+
addonId: null,
|
|
73972
|
+
access: "delete"
|
|
73973
|
+
},
|
|
73921
73974
|
"pipelineOrchestrator.getAgentLoad": {
|
|
73922
73975
|
capName: "pipeline-orchestrator",
|
|
73923
73976
|
capScope: "system",
|
|
@@ -74494,6 +74547,12 @@ Object.freeze({
|
|
|
74494
74547
|
addonId: null,
|
|
74495
74548
|
access: "view"
|
|
74496
74549
|
},
|
|
74550
|
+
"platformProbe.rescanAccelerators": {
|
|
74551
|
+
capName: "platform-probe",
|
|
74552
|
+
capScope: "system",
|
|
74553
|
+
addonId: null,
|
|
74554
|
+
access: "create"
|
|
74555
|
+
},
|
|
74497
74556
|
"platformProbe.resolveHwAccel": {
|
|
74498
74557
|
capName: "platform-probe",
|
|
74499
74558
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-amcrest",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.156",
|
|
4
4
|
"description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|