@camstack/addon-provider-velux 0.2.144 → 0.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 +62 -3
- package/dist/addon.mjs +62 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -50371,6 +50371,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50371
50371
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50372
50372
|
available: boolean(),
|
|
50373
50373
|
/**
|
|
50374
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50375
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50376
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50377
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50378
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50379
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50380
|
+
*/
|
|
50381
|
+
presence: _enum([
|
|
50382
|
+
"present",
|
|
50383
|
+
"absent",
|
|
50384
|
+
"unknown"
|
|
50385
|
+
]).optional(),
|
|
50386
|
+
/**
|
|
50374
50387
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50375
50388
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50376
50389
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50596,7 +50609,13 @@ method(object({
|
|
|
50596
50609
|
}), object({ success: literal(true) }), {
|
|
50597
50610
|
kind: "mutation",
|
|
50598
50611
|
auth: "admin"
|
|
50599
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50612
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50613
|
+
agentNodeId: string(),
|
|
50614
|
+
deviceKey: string()
|
|
50615
|
+
}), object({ success: literal(true) }), {
|
|
50616
|
+
kind: "mutation",
|
|
50617
|
+
auth: "admin"
|
|
50618
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50600
50619
|
success: literal(true),
|
|
50601
50620
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50602
50621
|
effectiveModelId: string().nullable(),
|
|
@@ -58839,7 +58858,7 @@ var motionTriggerCapability = {
|
|
|
58839
58858
|
enabled: boolean()
|
|
58840
58859
|
}), _void(), {
|
|
58841
58860
|
kind: "mutation",
|
|
58842
|
-
auth: "
|
|
58861
|
+
auth: "protected"
|
|
58843
58862
|
}) },
|
|
58844
58863
|
events: { onMotionTriggerChanged: { data: object({
|
|
58845
58864
|
deviceId: number(),
|
|
@@ -59569,6 +59588,13 @@ var TopologyNodeSchema = object({
|
|
|
59569
59588
|
cpuModel: string().nullable(),
|
|
59570
59589
|
cpuCores: number(),
|
|
59571
59590
|
memoryMB: number(),
|
|
59591
|
+
/**
|
|
59592
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
59593
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
59594
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
59595
|
+
* after the stick leaves, D919); the live device set is
|
|
59596
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
59597
|
+
*/
|
|
59572
59598
|
engines: array(string()).readonly(),
|
|
59573
59599
|
isHub: boolean(),
|
|
59574
59600
|
isOnline: boolean(),
|
|
@@ -60686,7 +60712,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
60686
60712
|
format: ModelFormatSchema,
|
|
60687
60713
|
reason: string()
|
|
60688
60714
|
});
|
|
60689
|
-
|
|
60715
|
+
/**
|
|
60716
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
60717
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
60718
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
60719
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
60720
|
+
*/
|
|
60721
|
+
var AcceleratorRescanSchema = object({
|
|
60722
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
60723
|
+
appeared: array(string()).readonly(),
|
|
60724
|
+
disappeared: array(string()).readonly(),
|
|
60725
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
60726
|
+
decidedBy: _enum([
|
|
60727
|
+
"usb-ids",
|
|
60728
|
+
"pci",
|
|
60729
|
+
"delegate-fallback",
|
|
60730
|
+
"none"
|
|
60731
|
+
])
|
|
60732
|
+
});
|
|
60733
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
60734
|
+
kind: "mutation",
|
|
60735
|
+
auth: "admin"
|
|
60736
|
+
});
|
|
60690
60737
|
/**
|
|
60691
60738
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
60692
60739
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -72914,6 +72961,12 @@ Object.freeze({
|
|
|
72914
72961
|
addonId: null,
|
|
72915
72962
|
access: "delete"
|
|
72916
72963
|
},
|
|
72964
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
72965
|
+
capName: "pipeline-orchestrator",
|
|
72966
|
+
capScope: "system",
|
|
72967
|
+
addonId: null,
|
|
72968
|
+
access: "delete"
|
|
72969
|
+
},
|
|
72917
72970
|
"pipelineOrchestrator.getAgentLoad": {
|
|
72918
72971
|
capName: "pipeline-orchestrator",
|
|
72919
72972
|
capScope: "system",
|
|
@@ -73490,6 +73543,12 @@ Object.freeze({
|
|
|
73490
73543
|
addonId: null,
|
|
73491
73544
|
access: "view"
|
|
73492
73545
|
},
|
|
73546
|
+
"platformProbe.rescanAccelerators": {
|
|
73547
|
+
capName: "platform-probe",
|
|
73548
|
+
capScope: "system",
|
|
73549
|
+
addonId: null,
|
|
73550
|
+
access: "create"
|
|
73551
|
+
},
|
|
73493
73552
|
"platformProbe.resolveHwAccel": {
|
|
73494
73553
|
capName: "platform-probe",
|
|
73495
73554
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -50370,6 +50370,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50370
50370
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50371
50371
|
available: boolean(),
|
|
50372
50372
|
/**
|
|
50373
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50374
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50375
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50376
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50377
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50378
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50379
|
+
*/
|
|
50380
|
+
presence: _enum([
|
|
50381
|
+
"present",
|
|
50382
|
+
"absent",
|
|
50383
|
+
"unknown"
|
|
50384
|
+
]).optional(),
|
|
50385
|
+
/**
|
|
50373
50386
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50374
50387
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50375
50388
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50595,7 +50608,13 @@ method(object({
|
|
|
50595
50608
|
}), object({ success: literal(true) }), {
|
|
50596
50609
|
kind: "mutation",
|
|
50597
50610
|
auth: "admin"
|
|
50598
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50611
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50612
|
+
agentNodeId: string(),
|
|
50613
|
+
deviceKey: string()
|
|
50614
|
+
}), object({ success: literal(true) }), {
|
|
50615
|
+
kind: "mutation",
|
|
50616
|
+
auth: "admin"
|
|
50617
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50599
50618
|
success: literal(true),
|
|
50600
50619
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50601
50620
|
effectiveModelId: string().nullable(),
|
|
@@ -58838,7 +58857,7 @@ var motionTriggerCapability = {
|
|
|
58838
58857
|
enabled: boolean()
|
|
58839
58858
|
}), _void(), {
|
|
58840
58859
|
kind: "mutation",
|
|
58841
|
-
auth: "
|
|
58860
|
+
auth: "protected"
|
|
58842
58861
|
}) },
|
|
58843
58862
|
events: { onMotionTriggerChanged: { data: object({
|
|
58844
58863
|
deviceId: number(),
|
|
@@ -59568,6 +59587,13 @@ var TopologyNodeSchema = object({
|
|
|
59568
59587
|
cpuModel: string().nullable(),
|
|
59569
59588
|
cpuCores: number(),
|
|
59570
59589
|
memoryMB: number(),
|
|
59590
|
+
/**
|
|
59591
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
59592
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
59593
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
59594
|
+
* after the stick leaves, D919); the live device set is
|
|
59595
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
59596
|
+
*/
|
|
59571
59597
|
engines: array(string()).readonly(),
|
|
59572
59598
|
isHub: boolean(),
|
|
59573
59599
|
isOnline: boolean(),
|
|
@@ -60685,7 +60711,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
60685
60711
|
format: ModelFormatSchema,
|
|
60686
60712
|
reason: string()
|
|
60687
60713
|
});
|
|
60688
|
-
|
|
60714
|
+
/**
|
|
60715
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
60716
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
60717
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
60718
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
60719
|
+
*/
|
|
60720
|
+
var AcceleratorRescanSchema = object({
|
|
60721
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
60722
|
+
appeared: array(string()).readonly(),
|
|
60723
|
+
disappeared: array(string()).readonly(),
|
|
60724
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
60725
|
+
decidedBy: _enum([
|
|
60726
|
+
"usb-ids",
|
|
60727
|
+
"pci",
|
|
60728
|
+
"delegate-fallback",
|
|
60729
|
+
"none"
|
|
60730
|
+
])
|
|
60731
|
+
});
|
|
60732
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
60733
|
+
kind: "mutation",
|
|
60734
|
+
auth: "admin"
|
|
60735
|
+
});
|
|
60689
60736
|
/**
|
|
60690
60737
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
60691
60738
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -72913,6 +72960,12 @@ Object.freeze({
|
|
|
72913
72960
|
addonId: null,
|
|
72914
72961
|
access: "delete"
|
|
72915
72962
|
},
|
|
72963
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
72964
|
+
capName: "pipeline-orchestrator",
|
|
72965
|
+
capScope: "system",
|
|
72966
|
+
addonId: null,
|
|
72967
|
+
access: "delete"
|
|
72968
|
+
},
|
|
72916
72969
|
"pipelineOrchestrator.getAgentLoad": {
|
|
72917
72970
|
capName: "pipeline-orchestrator",
|
|
72918
72971
|
capScope: "system",
|
|
@@ -73489,6 +73542,12 @@ Object.freeze({
|
|
|
73489
73542
|
addonId: null,
|
|
73490
73543
|
access: "view"
|
|
73491
73544
|
},
|
|
73545
|
+
"platformProbe.rescanAccelerators": {
|
|
73546
|
+
capName: "platform-probe",
|
|
73547
|
+
capScope: "system",
|
|
73548
|
+
addonId: null,
|
|
73549
|
+
access: "create"
|
|
73550
|
+
},
|
|
73492
73551
|
"platformProbe.resolveHwAccel": {
|
|
73493
73552
|
capName: "platform-probe",
|
|
73494
73553
|
capScope: "system",
|
package/package.json
CHANGED