@camstack/addon-notifiers 1.2.618 → 1.2.619
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
|
@@ -50347,6 +50347,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50347
50347
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50348
50348
|
available: boolean(),
|
|
50349
50349
|
/**
|
|
50350
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50351
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50352
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50353
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50354
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50355
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50356
|
+
*/
|
|
50357
|
+
presence: _enum([
|
|
50358
|
+
"present",
|
|
50359
|
+
"absent",
|
|
50360
|
+
"unknown"
|
|
50361
|
+
]).optional(),
|
|
50362
|
+
/**
|
|
50350
50363
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50351
50364
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50352
50365
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50572,7 +50585,13 @@ method(object({
|
|
|
50572
50585
|
}), object({ success: literal(true) }), {
|
|
50573
50586
|
kind: "mutation",
|
|
50574
50587
|
auth: "admin"
|
|
50575
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50588
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50589
|
+
agentNodeId: string(),
|
|
50590
|
+
deviceKey: string()
|
|
50591
|
+
}), object({ success: literal(true) }), {
|
|
50592
|
+
kind: "mutation",
|
|
50593
|
+
auth: "admin"
|
|
50594
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50576
50595
|
success: literal(true),
|
|
50577
50596
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50578
50597
|
effectiveModelId: string().nullable(),
|
|
@@ -57127,7 +57146,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
57127
57146
|
enabled: boolean()
|
|
57128
57147
|
}), _void(), {
|
|
57129
57148
|
kind: "mutation",
|
|
57130
|
-
auth: "
|
|
57149
|
+
auth: "protected"
|
|
57131
57150
|
}), object({
|
|
57132
57151
|
deviceId: number(),
|
|
57133
57152
|
enabled: boolean(),
|
|
@@ -57617,6 +57636,13 @@ var TopologyNodeSchema = object({
|
|
|
57617
57636
|
cpuModel: string().nullable(),
|
|
57618
57637
|
cpuCores: number(),
|
|
57619
57638
|
memoryMB: number(),
|
|
57639
|
+
/**
|
|
57640
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57641
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57642
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57643
|
+
* after the stick leaves, D919); the live device set is
|
|
57644
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57645
|
+
*/
|
|
57620
57646
|
engines: array(string()).readonly(),
|
|
57621
57647
|
isHub: boolean(),
|
|
57622
57648
|
isOnline: boolean(),
|
|
@@ -58581,7 +58607,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58581
58607
|
format: ModelFormatSchema,
|
|
58582
58608
|
reason: string()
|
|
58583
58609
|
});
|
|
58584
|
-
|
|
58610
|
+
/**
|
|
58611
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58612
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58613
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58614
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58615
|
+
*/
|
|
58616
|
+
var AcceleratorRescanSchema = object({
|
|
58617
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58618
|
+
appeared: array(string()).readonly(),
|
|
58619
|
+
disappeared: array(string()).readonly(),
|
|
58620
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58621
|
+
decidedBy: _enum([
|
|
58622
|
+
"usb-ids",
|
|
58623
|
+
"pci",
|
|
58624
|
+
"delegate-fallback",
|
|
58625
|
+
"none"
|
|
58626
|
+
])
|
|
58627
|
+
});
|
|
58628
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58629
|
+
kind: "mutation",
|
|
58630
|
+
auth: "admin"
|
|
58631
|
+
});
|
|
58585
58632
|
object({
|
|
58586
58633
|
/** Instantaneous power draw in watts. */
|
|
58587
58634
|
watts: number().optional(),
|
|
@@ -68083,6 +68130,12 @@ Object.freeze({
|
|
|
68083
68130
|
addonId: null,
|
|
68084
68131
|
access: "delete"
|
|
68085
68132
|
},
|
|
68133
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68134
|
+
capName: "pipeline-orchestrator",
|
|
68135
|
+
capScope: "system",
|
|
68136
|
+
addonId: null,
|
|
68137
|
+
access: "delete"
|
|
68138
|
+
},
|
|
68086
68139
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68087
68140
|
capName: "pipeline-orchestrator",
|
|
68088
68141
|
capScope: "system",
|
|
@@ -68659,6 +68712,12 @@ Object.freeze({
|
|
|
68659
68712
|
addonId: null,
|
|
68660
68713
|
access: "view"
|
|
68661
68714
|
},
|
|
68715
|
+
"platformProbe.rescanAccelerators": {
|
|
68716
|
+
capName: "platform-probe",
|
|
68717
|
+
capScope: "system",
|
|
68718
|
+
addonId: null,
|
|
68719
|
+
access: "create"
|
|
68720
|
+
},
|
|
68662
68721
|
"platformProbe.resolveHwAccel": {
|
|
68663
68722
|
capName: "platform-probe",
|
|
68664
68723
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -50320,6 +50320,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50320
50320
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50321
50321
|
available: boolean(),
|
|
50322
50322
|
/**
|
|
50323
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50324
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50325
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50326
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50327
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50328
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50329
|
+
*/
|
|
50330
|
+
presence: _enum([
|
|
50331
|
+
"present",
|
|
50332
|
+
"absent",
|
|
50333
|
+
"unknown"
|
|
50334
|
+
]).optional(),
|
|
50335
|
+
/**
|
|
50323
50336
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50324
50337
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50325
50338
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -50545,7 +50558,13 @@ method(object({
|
|
|
50545
50558
|
}), object({ success: literal(true) }), {
|
|
50546
50559
|
kind: "mutation",
|
|
50547
50560
|
auth: "admin"
|
|
50548
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50561
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50562
|
+
agentNodeId: string(),
|
|
50563
|
+
deviceKey: string()
|
|
50564
|
+
}), object({ success: literal(true) }), {
|
|
50565
|
+
kind: "mutation",
|
|
50566
|
+
auth: "admin"
|
|
50567
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
50549
50568
|
success: literal(true),
|
|
50550
50569
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50551
50570
|
effectiveModelId: string().nullable(),
|
|
@@ -57100,7 +57119,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
57100
57119
|
enabled: boolean()
|
|
57101
57120
|
}), _void(), {
|
|
57102
57121
|
kind: "mutation",
|
|
57103
|
-
auth: "
|
|
57122
|
+
auth: "protected"
|
|
57104
57123
|
}), object({
|
|
57105
57124
|
deviceId: number(),
|
|
57106
57125
|
enabled: boolean(),
|
|
@@ -57590,6 +57609,13 @@ var TopologyNodeSchema = object({
|
|
|
57590
57609
|
cpuModel: string().nullable(),
|
|
57591
57610
|
cpuCores: number(),
|
|
57592
57611
|
memoryMB: number(),
|
|
57612
|
+
/**
|
|
57613
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
57614
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
57615
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
57616
|
+
* after the stick leaves, D919); the live device set is
|
|
57617
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
57618
|
+
*/
|
|
57593
57619
|
engines: array(string()).readonly(),
|
|
57594
57620
|
isHub: boolean(),
|
|
57595
57621
|
isOnline: boolean(),
|
|
@@ -58554,7 +58580,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
58554
58580
|
format: ModelFormatSchema,
|
|
58555
58581
|
reason: string()
|
|
58556
58582
|
});
|
|
58557
|
-
|
|
58583
|
+
/**
|
|
58584
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
58585
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
58586
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
58587
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
58588
|
+
*/
|
|
58589
|
+
var AcceleratorRescanSchema = object({
|
|
58590
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
58591
|
+
appeared: array(string()).readonly(),
|
|
58592
|
+
disappeared: array(string()).readonly(),
|
|
58593
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
58594
|
+
decidedBy: _enum([
|
|
58595
|
+
"usb-ids",
|
|
58596
|
+
"pci",
|
|
58597
|
+
"delegate-fallback",
|
|
58598
|
+
"none"
|
|
58599
|
+
])
|
|
58600
|
+
});
|
|
58601
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
58602
|
+
kind: "mutation",
|
|
58603
|
+
auth: "admin"
|
|
58604
|
+
});
|
|
58558
58605
|
object({
|
|
58559
58606
|
/** Instantaneous power draw in watts. */
|
|
58560
58607
|
watts: number().optional(),
|
|
@@ -68056,6 +68103,12 @@ Object.freeze({
|
|
|
68056
68103
|
addonId: null,
|
|
68057
68104
|
access: "delete"
|
|
68058
68105
|
},
|
|
68106
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68107
|
+
capName: "pipeline-orchestrator",
|
|
68108
|
+
capScope: "system",
|
|
68109
|
+
addonId: null,
|
|
68110
|
+
access: "delete"
|
|
68111
|
+
},
|
|
68059
68112
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68060
68113
|
capName: "pipeline-orchestrator",
|
|
68061
68114
|
capScope: "system",
|
|
@@ -68632,6 +68685,12 @@ Object.freeze({
|
|
|
68632
68685
|
addonId: null,
|
|
68633
68686
|
access: "view"
|
|
68634
68687
|
},
|
|
68688
|
+
"platformProbe.rescanAccelerators": {
|
|
68689
|
+
capName: "platform-probe",
|
|
68690
|
+
capScope: "system",
|
|
68691
|
+
addonId: null,
|
|
68692
|
+
access: "create"
|
|
68693
|
+
},
|
|
68635
68694
|
"platformProbe.resolveHwAccel": {
|
|
68636
68695
|
capName: "platform-probe",
|
|
68637
68696
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-notifiers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.619",
|
|
4
4
|
"description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|