@camstack/addon-export-hap 1.2.176 → 1.2.177
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/hap-export.addon.js +62 -3
- package/dist/hap-export.addon.mjs +62 -3
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -50796,6 +50796,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50796
50796
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50797
50797
|
available: boolean(),
|
|
50798
50798
|
/**
|
|
50799
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50800
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50801
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50802
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50803
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50804
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50805
|
+
*/
|
|
50806
|
+
presence: _enum([
|
|
50807
|
+
"present",
|
|
50808
|
+
"absent",
|
|
50809
|
+
"unknown"
|
|
50810
|
+
]).optional(),
|
|
50811
|
+
/**
|
|
50799
50812
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50800
50813
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50801
50814
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -51021,7 +51034,13 @@ method(object({
|
|
|
51021
51034
|
}), object({ success: literal(true) }), {
|
|
51022
51035
|
kind: "mutation",
|
|
51023
51036
|
auth: "admin"
|
|
51024
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51037
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51038
|
+
agentNodeId: string(),
|
|
51039
|
+
deviceKey: string()
|
|
51040
|
+
}), object({ success: literal(true) }), {
|
|
51041
|
+
kind: "mutation",
|
|
51042
|
+
auth: "admin"
|
|
51043
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
51025
51044
|
success: literal(true),
|
|
51026
51045
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
51027
51046
|
effectiveModelId: string().nullable(),
|
|
@@ -57805,7 +57824,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
57805
57824
|
enabled: boolean()
|
|
57806
57825
|
}), _void(), {
|
|
57807
57826
|
kind: "mutation",
|
|
57808
|
-
auth: "
|
|
57827
|
+
auth: "protected"
|
|
57809
57828
|
}), object({
|
|
57810
57829
|
deviceId: number(),
|
|
57811
57830
|
enabled: boolean(),
|
|
@@ -58295,6 +58314,13 @@ var TopologyNodeSchema = object({
|
|
|
58295
58314
|
cpuModel: string().nullable(),
|
|
58296
58315
|
cpuCores: number(),
|
|
58297
58316
|
memoryMB: number(),
|
|
58317
|
+
/**
|
|
58318
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
58319
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
58320
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
58321
|
+
* after the stick leaves, D919); the live device set is
|
|
58322
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
58323
|
+
*/
|
|
58298
58324
|
engines: array(string()).readonly(),
|
|
58299
58325
|
isHub: boolean(),
|
|
58300
58326
|
isOnline: boolean(),
|
|
@@ -59259,7 +59285,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
59259
59285
|
format: ModelFormatSchema,
|
|
59260
59286
|
reason: string()
|
|
59261
59287
|
});
|
|
59262
|
-
|
|
59288
|
+
/**
|
|
59289
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
59290
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
59291
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
59292
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
59293
|
+
*/
|
|
59294
|
+
var AcceleratorRescanSchema = object({
|
|
59295
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
59296
|
+
appeared: array(string()).readonly(),
|
|
59297
|
+
disappeared: array(string()).readonly(),
|
|
59298
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
59299
|
+
decidedBy: _enum([
|
|
59300
|
+
"usb-ids",
|
|
59301
|
+
"pci",
|
|
59302
|
+
"delegate-fallback",
|
|
59303
|
+
"none"
|
|
59304
|
+
])
|
|
59305
|
+
});
|
|
59306
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
59307
|
+
kind: "mutation",
|
|
59308
|
+
auth: "admin"
|
|
59309
|
+
});
|
|
59263
59310
|
object({
|
|
59264
59311
|
/** Instantaneous power draw in watts. */
|
|
59265
59312
|
watts: number().optional(),
|
|
@@ -68786,6 +68833,12 @@ Object.freeze({
|
|
|
68786
68833
|
addonId: null,
|
|
68787
68834
|
access: "delete"
|
|
68788
68835
|
},
|
|
68836
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68837
|
+
capName: "pipeline-orchestrator",
|
|
68838
|
+
capScope: "system",
|
|
68839
|
+
addonId: null,
|
|
68840
|
+
access: "delete"
|
|
68841
|
+
},
|
|
68789
68842
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68790
68843
|
capName: "pipeline-orchestrator",
|
|
68791
68844
|
capScope: "system",
|
|
@@ -69362,6 +69415,12 @@ Object.freeze({
|
|
|
69362
69415
|
addonId: null,
|
|
69363
69416
|
access: "view"
|
|
69364
69417
|
},
|
|
69418
|
+
"platformProbe.rescanAccelerators": {
|
|
69419
|
+
capName: "platform-probe",
|
|
69420
|
+
capScope: "system",
|
|
69421
|
+
addonId: null,
|
|
69422
|
+
access: "create"
|
|
69423
|
+
},
|
|
69365
69424
|
"platformProbe.resolveHwAccel": {
|
|
69366
69425
|
capName: "platform-probe",
|
|
69367
69426
|
capScope: "system",
|
|
@@ -50786,6 +50786,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
50786
50786
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
50787
50787
|
available: boolean(),
|
|
50788
50788
|
/**
|
|
50789
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
50790
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
50791
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
50792
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
50793
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
50794
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
50795
|
+
*/
|
|
50796
|
+
presence: _enum([
|
|
50797
|
+
"present",
|
|
50798
|
+
"absent",
|
|
50799
|
+
"unknown"
|
|
50800
|
+
]).optional(),
|
|
50801
|
+
/**
|
|
50789
50802
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
50790
50803
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
50791
50804
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -51011,7 +51024,13 @@ method(object({
|
|
|
51011
51024
|
}), object({ success: literal(true) }), {
|
|
51012
51025
|
kind: "mutation",
|
|
51013
51026
|
auth: "admin"
|
|
51014
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51027
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51028
|
+
agentNodeId: string(),
|
|
51029
|
+
deviceKey: string()
|
|
51030
|
+
}), object({ success: literal(true) }), {
|
|
51031
|
+
kind: "mutation",
|
|
51032
|
+
auth: "admin"
|
|
51033
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
51015
51034
|
success: literal(true),
|
|
51016
51035
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
51017
51036
|
effectiveModelId: string().nullable(),
|
|
@@ -57795,7 +57814,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
57795
57814
|
enabled: boolean()
|
|
57796
57815
|
}), _void(), {
|
|
57797
57816
|
kind: "mutation",
|
|
57798
|
-
auth: "
|
|
57817
|
+
auth: "protected"
|
|
57799
57818
|
}), object({
|
|
57800
57819
|
deviceId: number(),
|
|
57801
57820
|
enabled: boolean(),
|
|
@@ -58285,6 +58304,13 @@ var TopologyNodeSchema = object({
|
|
|
58285
58304
|
cpuModel: string().nullable(),
|
|
58286
58305
|
cpuCores: number(),
|
|
58287
58306
|
memoryMB: number(),
|
|
58307
|
+
/**
|
|
58308
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
58309
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
58310
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
58311
|
+
* after the stick leaves, D919); the live device set is
|
|
58312
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
58313
|
+
*/
|
|
58288
58314
|
engines: array(string()).readonly(),
|
|
58289
58315
|
isHub: boolean(),
|
|
58290
58316
|
isOnline: boolean(),
|
|
@@ -59249,7 +59275,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
59249
59275
|
format: ModelFormatSchema,
|
|
59250
59276
|
reason: string()
|
|
59251
59277
|
});
|
|
59252
|
-
|
|
59278
|
+
/**
|
|
59279
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
59280
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
59281
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
59282
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
59283
|
+
*/
|
|
59284
|
+
var AcceleratorRescanSchema = object({
|
|
59285
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
59286
|
+
appeared: array(string()).readonly(),
|
|
59287
|
+
disappeared: array(string()).readonly(),
|
|
59288
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
59289
|
+
decidedBy: _enum([
|
|
59290
|
+
"usb-ids",
|
|
59291
|
+
"pci",
|
|
59292
|
+
"delegate-fallback",
|
|
59293
|
+
"none"
|
|
59294
|
+
])
|
|
59295
|
+
});
|
|
59296
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
59297
|
+
kind: "mutation",
|
|
59298
|
+
auth: "admin"
|
|
59299
|
+
});
|
|
59253
59300
|
object({
|
|
59254
59301
|
/** Instantaneous power draw in watts. */
|
|
59255
59302
|
watts: number().optional(),
|
|
@@ -68776,6 +68823,12 @@ Object.freeze({
|
|
|
68776
68823
|
addonId: null,
|
|
68777
68824
|
access: "delete"
|
|
68778
68825
|
},
|
|
68826
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
68827
|
+
capName: "pipeline-orchestrator",
|
|
68828
|
+
capScope: "system",
|
|
68829
|
+
addonId: null,
|
|
68830
|
+
access: "delete"
|
|
68831
|
+
},
|
|
68779
68832
|
"pipelineOrchestrator.getAgentLoad": {
|
|
68780
68833
|
capName: "pipeline-orchestrator",
|
|
68781
68834
|
capScope: "system",
|
|
@@ -69352,6 +69405,12 @@ Object.freeze({
|
|
|
69352
69405
|
addonId: null,
|
|
69353
69406
|
access: "view"
|
|
69354
69407
|
},
|
|
69408
|
+
"platformProbe.rescanAccelerators": {
|
|
69409
|
+
capName: "platform-probe",
|
|
69410
|
+
capScope: "system",
|
|
69411
|
+
addonId: null,
|
|
69412
|
+
access: "create"
|
|
69413
|
+
},
|
|
69355
69414
|
"platformProbe.resolveHwAccel": {
|
|
69356
69415
|
capName: "platform-probe",
|
|
69357
69416
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.177",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|