@camstack/addon-provider-tuya 0.2.143 → 0.2.144
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
|
@@ -51081,6 +51081,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
51081
51081
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
51082
51082
|
available: boolean(),
|
|
51083
51083
|
/**
|
|
51084
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
51085
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
51086
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
51087
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
51088
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
51089
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
51090
|
+
*/
|
|
51091
|
+
presence: _enum([
|
|
51092
|
+
"present",
|
|
51093
|
+
"absent",
|
|
51094
|
+
"unknown"
|
|
51095
|
+
]).optional(),
|
|
51096
|
+
/**
|
|
51084
51097
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
51085
51098
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
51086
51099
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -51306,7 +51319,13 @@ method(object({
|
|
|
51306
51319
|
}), object({ success: literal(true) }), {
|
|
51307
51320
|
kind: "mutation",
|
|
51308
51321
|
auth: "admin"
|
|
51309
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51322
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51323
|
+
agentNodeId: string(),
|
|
51324
|
+
deviceKey: string()
|
|
51325
|
+
}), object({ success: literal(true) }), {
|
|
51326
|
+
kind: "mutation",
|
|
51327
|
+
auth: "admin"
|
|
51328
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
51310
51329
|
success: literal(true),
|
|
51311
51330
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
51312
51331
|
effectiveModelId: string().nullable(),
|
|
@@ -59557,7 +59576,7 @@ var motionTriggerCapability = {
|
|
|
59557
59576
|
enabled: boolean()
|
|
59558
59577
|
}), _void(), {
|
|
59559
59578
|
kind: "mutation",
|
|
59560
|
-
auth: "
|
|
59579
|
+
auth: "protected"
|
|
59561
59580
|
}) },
|
|
59562
59581
|
events: { onMotionTriggerChanged: { data: object({
|
|
59563
59582
|
deviceId: number(),
|
|
@@ -60287,6 +60306,13 @@ var TopologyNodeSchema = object({
|
|
|
60287
60306
|
cpuModel: string().nullable(),
|
|
60288
60307
|
cpuCores: number(),
|
|
60289
60308
|
memoryMB: number(),
|
|
60309
|
+
/**
|
|
60310
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
60311
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
60312
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
60313
|
+
* after the stick leaves, D919); the live device set is
|
|
60314
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
60315
|
+
*/
|
|
60290
60316
|
engines: array(string()).readonly(),
|
|
60291
60317
|
isHub: boolean(),
|
|
60292
60318
|
isOnline: boolean(),
|
|
@@ -61404,7 +61430,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
61404
61430
|
format: ModelFormatSchema,
|
|
61405
61431
|
reason: string()
|
|
61406
61432
|
});
|
|
61407
|
-
|
|
61433
|
+
/**
|
|
61434
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
61435
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
61436
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
61437
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
61438
|
+
*/
|
|
61439
|
+
var AcceleratorRescanSchema = object({
|
|
61440
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
61441
|
+
appeared: array(string()).readonly(),
|
|
61442
|
+
disappeared: array(string()).readonly(),
|
|
61443
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
61444
|
+
decidedBy: _enum([
|
|
61445
|
+
"usb-ids",
|
|
61446
|
+
"pci",
|
|
61447
|
+
"delegate-fallback",
|
|
61448
|
+
"none"
|
|
61449
|
+
])
|
|
61450
|
+
});
|
|
61451
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
61452
|
+
kind: "mutation",
|
|
61453
|
+
auth: "admin"
|
|
61454
|
+
});
|
|
61408
61455
|
/**
|
|
61409
61456
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
61410
61457
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -73632,6 +73679,12 @@ Object.freeze({
|
|
|
73632
73679
|
addonId: null,
|
|
73633
73680
|
access: "delete"
|
|
73634
73681
|
},
|
|
73682
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
73683
|
+
capName: "pipeline-orchestrator",
|
|
73684
|
+
capScope: "system",
|
|
73685
|
+
addonId: null,
|
|
73686
|
+
access: "delete"
|
|
73687
|
+
},
|
|
73635
73688
|
"pipelineOrchestrator.getAgentLoad": {
|
|
73636
73689
|
capName: "pipeline-orchestrator",
|
|
73637
73690
|
capScope: "system",
|
|
@@ -74208,6 +74261,12 @@ Object.freeze({
|
|
|
74208
74261
|
addonId: null,
|
|
74209
74262
|
access: "view"
|
|
74210
74263
|
},
|
|
74264
|
+
"platformProbe.rescanAccelerators": {
|
|
74265
|
+
capName: "platform-probe",
|
|
74266
|
+
capScope: "system",
|
|
74267
|
+
addonId: null,
|
|
74268
|
+
access: "create"
|
|
74269
|
+
},
|
|
74211
74270
|
"platformProbe.resolveHwAccel": {
|
|
74212
74271
|
capName: "platform-probe",
|
|
74213
74272
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -51080,6 +51080,19 @@ var NodeInferenceDeviceSchema = object({
|
|
|
51080
51080
|
/** Whether the node's live probe reports the device as usable right now. */
|
|
51081
51081
|
available: boolean(),
|
|
51082
51082
|
/**
|
|
51083
|
+
* Is the device on the node at all (D919)? `present` — the live probe
|
|
51084
|
+
* reported it; `absent` — the probe ANSWERED and did not report it, so only
|
|
51085
|
+
* its stored settings remain (unplugged, moved to another node): never
|
|
51086
|
+
* eligible, whatever its stored `enabled`, and forgettable with
|
|
51087
|
+
* `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
|
|
51088
|
+
* claimed (D315). Optional only for an orchestrator older than the field.
|
|
51089
|
+
*/
|
|
51090
|
+
presence: _enum([
|
|
51091
|
+
"present",
|
|
51092
|
+
"absent",
|
|
51093
|
+
"unknown"
|
|
51094
|
+
]).optional(),
|
|
51095
|
+
/**
|
|
51083
51096
|
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
51084
51097
|
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
51085
51098
|
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
@@ -51305,7 +51318,13 @@ method(object({
|
|
|
51305
51318
|
}), object({ success: literal(true) }), {
|
|
51306
51319
|
kind: "mutation",
|
|
51307
51320
|
auth: "admin"
|
|
51308
|
-
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51321
|
+
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51322
|
+
agentNodeId: string(),
|
|
51323
|
+
deviceKey: string()
|
|
51324
|
+
}), object({ success: literal(true) }), {
|
|
51325
|
+
kind: "mutation",
|
|
51326
|
+
auth: "admin"
|
|
51327
|
+
}), method(object({ agentNodeId: string() }), object({
|
|
51309
51328
|
success: literal(true),
|
|
51310
51329
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
51311
51330
|
effectiveModelId: string().nullable(),
|
|
@@ -59556,7 +59575,7 @@ var motionTriggerCapability = {
|
|
|
59556
59575
|
enabled: boolean()
|
|
59557
59576
|
}), _void(), {
|
|
59558
59577
|
kind: "mutation",
|
|
59559
|
-
auth: "
|
|
59578
|
+
auth: "protected"
|
|
59560
59579
|
}) },
|
|
59561
59580
|
events: { onMotionTriggerChanged: { data: object({
|
|
59562
59581
|
deviceId: number(),
|
|
@@ -60286,6 +60305,13 @@ var TopologyNodeSchema = object({
|
|
|
60286
60305
|
cpuModel: string().nullable(),
|
|
60287
60306
|
cpuCores: number(),
|
|
60288
60307
|
memoryMB: number(),
|
|
60308
|
+
/**
|
|
60309
|
+
* The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
|
|
60310
|
+
* openvino, edgetpu …) — not its devices. An installed runtime says nothing
|
|
60311
|
+
* about whether its hardware is there (a Coral delegate stays installed
|
|
60312
|
+
* after the stick leaves, D919); the live device set is
|
|
60313
|
+
* `pipelineOrchestrator.getNodeInferenceDevices`.
|
|
60314
|
+
*/
|
|
60289
60315
|
engines: array(string()).readonly(),
|
|
60290
60316
|
isHub: boolean(),
|
|
60291
60317
|
isOnline: boolean(),
|
|
@@ -61403,7 +61429,28 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
61403
61429
|
format: ModelFormatSchema,
|
|
61404
61430
|
reason: string()
|
|
61405
61431
|
});
|
|
61406
|
-
|
|
61432
|
+
/**
|
|
61433
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
61434
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
61435
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
61436
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
61437
|
+
*/
|
|
61438
|
+
var AcceleratorRescanSchema = object({
|
|
61439
|
+
devices: array(InferenceDeviceDescriptorSchema).readonly(),
|
|
61440
|
+
appeared: array(string()).readonly(),
|
|
61441
|
+
disappeared: array(string()).readonly(),
|
|
61442
|
+
usbBus: _enum(["observed", "unobservable"]),
|
|
61443
|
+
decidedBy: _enum([
|
|
61444
|
+
"usb-ids",
|
|
61445
|
+
"pci",
|
|
61446
|
+
"delegate-fallback",
|
|
61447
|
+
"none"
|
|
61448
|
+
])
|
|
61449
|
+
});
|
|
61450
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
|
|
61451
|
+
kind: "mutation",
|
|
61452
|
+
auth: "admin"
|
|
61453
|
+
});
|
|
61407
61454
|
/**
|
|
61408
61455
|
* Multi-metric electrical meter. One slice can carry any combination
|
|
61409
61456
|
* of instantaneous power (W), cumulative energy (kWh), voltage (V),
|
|
@@ -73631,6 +73678,12 @@ Object.freeze({
|
|
|
73631
73678
|
addonId: null,
|
|
73632
73679
|
access: "delete"
|
|
73633
73680
|
},
|
|
73681
|
+
"pipelineOrchestrator.forgetInferenceDevice": {
|
|
73682
|
+
capName: "pipeline-orchestrator",
|
|
73683
|
+
capScope: "system",
|
|
73684
|
+
addonId: null,
|
|
73685
|
+
access: "delete"
|
|
73686
|
+
},
|
|
73634
73687
|
"pipelineOrchestrator.getAgentLoad": {
|
|
73635
73688
|
capName: "pipeline-orchestrator",
|
|
73636
73689
|
capScope: "system",
|
|
@@ -74207,6 +74260,12 @@ Object.freeze({
|
|
|
74207
74260
|
addonId: null,
|
|
74208
74261
|
access: "view"
|
|
74209
74262
|
},
|
|
74263
|
+
"platformProbe.rescanAccelerators": {
|
|
74264
|
+
capName: "platform-probe",
|
|
74265
|
+
capScope: "system",
|
|
74266
|
+
addonId: null,
|
|
74267
|
+
access: "create"
|
|
74268
|
+
},
|
|
74210
74269
|
"platformProbe.resolveHwAccel": {
|
|
74211
74270
|
capName: "platform-probe",
|
|
74212
74271
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-tuya",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.144",
|
|
4
4
|
"description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|