@camstack/addon-import-alexa 0.2.145 → 0.2.146

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 CHANGED
@@ -50806,6 +50806,19 @@ var NodeInferenceDeviceSchema = object({
50806
50806
  /** Whether the node's live probe reports the device as usable right now. */
50807
50807
  available: boolean(),
50808
50808
  /**
50809
+ * Is the device on the node at all (D919)? `present` — the live probe
50810
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50811
+ * its stored settings remain (unplugged, moved to another node): never
50812
+ * eligible, whatever its stored `enabled`, and forgettable with
50813
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50814
+ * claimed (D315). Optional only for an orchestrator older than the field.
50815
+ */
50816
+ presence: _enum([
50817
+ "present",
50818
+ "absent",
50819
+ "unknown"
50820
+ ]).optional(),
50821
+ /**
50809
50822
  * Whether this device participates in dispatch. AUTO default (spec C2):
50810
50823
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50811
50824
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -51031,7 +51044,13 @@ method(object({
51031
51044
  }), object({ success: literal(true) }), {
51032
51045
  kind: "mutation",
51033
51046
  auth: "admin"
51034
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
51047
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
51048
+ agentNodeId: string(),
51049
+ deviceKey: string()
51050
+ }), object({ success: literal(true) }), {
51051
+ kind: "mutation",
51052
+ auth: "admin"
51053
+ }), method(object({ agentNodeId: string() }), object({
51035
51054
  success: literal(true),
51036
51055
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
51037
51056
  effectiveModelId: string().nullable(),
@@ -59291,7 +59310,7 @@ var motionTriggerCapability = {
59291
59310
  enabled: boolean()
59292
59311
  }), _void(), {
59293
59312
  kind: "mutation",
59294
- auth: "admin"
59313
+ auth: "protected"
59295
59314
  }) },
59296
59315
  events: { onMotionTriggerChanged: { data: object({
59297
59316
  deviceId: number(),
@@ -60021,6 +60040,13 @@ var TopologyNodeSchema = object({
60021
60040
  cpuModel: string().nullable(),
60022
60041
  cpuCores: number(),
60023
60042
  memoryMB: number(),
60043
+ /**
60044
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
60045
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
60046
+ * about whether its hardware is there (a Coral delegate stays installed
60047
+ * after the stick leaves, D919); the live device set is
60048
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
60049
+ */
60024
60050
  engines: array(string()).readonly(),
60025
60051
  isHub: boolean(),
60026
60052
  isOnline: boolean(),
@@ -61138,7 +61164,28 @@ var ResolvedInferenceConfigSchema = object({
61138
61164
  format: ModelFormatSchema,
61139
61165
  reason: string()
61140
61166
  });
61141
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61167
+ /**
61168
+ * The answer of an accelerator rescan (D919): the node's device list after
61169
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61170
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61171
+ * bus, the installed-delegate fallback, or nothing).
61172
+ */
61173
+ var AcceleratorRescanSchema = object({
61174
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61175
+ appeared: array(string()).readonly(),
61176
+ disappeared: array(string()).readonly(),
61177
+ usbBus: _enum(["observed", "unobservable"]),
61178
+ decidedBy: _enum([
61179
+ "usb-ids",
61180
+ "pci",
61181
+ "delegate-fallback",
61182
+ "none"
61183
+ ])
61184
+ });
61185
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61186
+ kind: "mutation",
61187
+ auth: "admin"
61188
+ });
61142
61189
  /**
61143
61190
  * Multi-metric electrical meter. One slice can carry any combination
61144
61191
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73366,6 +73413,12 @@ Object.freeze({
73366
73413
  addonId: null,
73367
73414
  access: "delete"
73368
73415
  },
73416
+ "pipelineOrchestrator.forgetInferenceDevice": {
73417
+ capName: "pipeline-orchestrator",
73418
+ capScope: "system",
73419
+ addonId: null,
73420
+ access: "delete"
73421
+ },
73369
73422
  "pipelineOrchestrator.getAgentLoad": {
73370
73423
  capName: "pipeline-orchestrator",
73371
73424
  capScope: "system",
@@ -73942,6 +73995,12 @@ Object.freeze({
73942
73995
  addonId: null,
73943
73996
  access: "view"
73944
73997
  },
73998
+ "platformProbe.rescanAccelerators": {
73999
+ capName: "platform-probe",
74000
+ capScope: "system",
74001
+ addonId: null,
74002
+ access: "create"
74003
+ },
73945
74004
  "platformProbe.resolveHwAccel": {
73946
74005
  capName: "platform-probe",
73947
74006
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50806,6 +50806,19 @@ var NodeInferenceDeviceSchema = object({
50806
50806
  /** Whether the node's live probe reports the device as usable right now. */
50807
50807
  available: boolean(),
50808
50808
  /**
50809
+ * Is the device on the node at all (D919)? `present` — the live probe
50810
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50811
+ * its stored settings remain (unplugged, moved to another node): never
50812
+ * eligible, whatever its stored `enabled`, and forgettable with
50813
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50814
+ * claimed (D315). Optional only for an orchestrator older than the field.
50815
+ */
50816
+ presence: _enum([
50817
+ "present",
50818
+ "absent",
50819
+ "unknown"
50820
+ ]).optional(),
50821
+ /**
50809
50822
  * Whether this device participates in dispatch. AUTO default (spec C2):
50810
50823
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50811
50824
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -51031,7 +51044,13 @@ method(object({
51031
51044
  }), object({ success: literal(true) }), {
51032
51045
  kind: "mutation",
51033
51046
  auth: "admin"
51034
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
51047
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
51048
+ agentNodeId: string(),
51049
+ deviceKey: string()
51050
+ }), object({ success: literal(true) }), {
51051
+ kind: "mutation",
51052
+ auth: "admin"
51053
+ }), method(object({ agentNodeId: string() }), object({
51035
51054
  success: literal(true),
51036
51055
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
51037
51056
  effectiveModelId: string().nullable(),
@@ -59291,7 +59310,7 @@ var motionTriggerCapability = {
59291
59310
  enabled: boolean()
59292
59311
  }), _void(), {
59293
59312
  kind: "mutation",
59294
- auth: "admin"
59313
+ auth: "protected"
59295
59314
  }) },
59296
59315
  events: { onMotionTriggerChanged: { data: object({
59297
59316
  deviceId: number(),
@@ -60021,6 +60040,13 @@ var TopologyNodeSchema = object({
60021
60040
  cpuModel: string().nullable(),
60022
60041
  cpuCores: number(),
60023
60042
  memoryMB: number(),
60043
+ /**
60044
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
60045
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
60046
+ * about whether its hardware is there (a Coral delegate stays installed
60047
+ * after the stick leaves, D919); the live device set is
60048
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
60049
+ */
60024
60050
  engines: array(string()).readonly(),
60025
60051
  isHub: boolean(),
60026
60052
  isOnline: boolean(),
@@ -61138,7 +61164,28 @@ var ResolvedInferenceConfigSchema = object({
61138
61164
  format: ModelFormatSchema,
61139
61165
  reason: string()
61140
61166
  });
61141
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
61167
+ /**
61168
+ * The answer of an accelerator rescan (D919): the node's device list after
61169
+ * the re-probe, what changed, and the evidence that decided the Coral answer
61170
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
61171
+ * bus, the installed-delegate fallback, or nothing).
61172
+ */
61173
+ var AcceleratorRescanSchema = object({
61174
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
61175
+ appeared: array(string()).readonly(),
61176
+ disappeared: array(string()).readonly(),
61177
+ usbBus: _enum(["observed", "unobservable"]),
61178
+ decidedBy: _enum([
61179
+ "usb-ids",
61180
+ "pci",
61181
+ "delegate-fallback",
61182
+ "none"
61183
+ ])
61184
+ });
61185
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
61186
+ kind: "mutation",
61187
+ auth: "admin"
61188
+ });
61142
61189
  /**
61143
61190
  * Multi-metric electrical meter. One slice can carry any combination
61144
61191
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -73366,6 +73413,12 @@ Object.freeze({
73366
73413
  addonId: null,
73367
73414
  access: "delete"
73368
73415
  },
73416
+ "pipelineOrchestrator.forgetInferenceDevice": {
73417
+ capName: "pipeline-orchestrator",
73418
+ capScope: "system",
73419
+ addonId: null,
73420
+ access: "delete"
73421
+ },
73369
73422
  "pipelineOrchestrator.getAgentLoad": {
73370
73423
  capName: "pipeline-orchestrator",
73371
73424
  capScope: "system",
@@ -73942,6 +73995,12 @@ Object.freeze({
73942
73995
  addonId: null,
73943
73996
  access: "view"
73944
73997
  },
73998
+ "platformProbe.rescanAccelerators": {
73999
+ capName: "platform-probe",
74000
+ capScope: "system",
74001
+ addonId: null,
74002
+ access: "create"
74003
+ },
73945
74004
  "platformProbe.resolveHwAccel": {
73946
74005
  capName: "platform-probe",
73947
74006
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.145",
3
+ "version": "0.2.146",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",