@camstack/addon-export-alexa 1.2.163 → 1.2.164

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.
@@ -50168,6 +50168,19 @@ var NodeInferenceDeviceSchema = object({
50168
50168
  /** Whether the node's live probe reports the device as usable right now. */
50169
50169
  available: boolean(),
50170
50170
  /**
50171
+ * Is the device on the node at all (D919)? `present` — the live probe
50172
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50173
+ * its stored settings remain (unplugged, moved to another node): never
50174
+ * eligible, whatever its stored `enabled`, and forgettable with
50175
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50176
+ * claimed (D315). Optional only for an orchestrator older than the field.
50177
+ */
50178
+ presence: _enum([
50179
+ "present",
50180
+ "absent",
50181
+ "unknown"
50182
+ ]).optional(),
50183
+ /**
50171
50184
  * Whether this device participates in dispatch. AUTO default (spec C2):
50172
50185
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50173
50186
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50393,7 +50406,13 @@ method(object({
50393
50406
  }), object({ success: literal(true) }), {
50394
50407
  kind: "mutation",
50395
50408
  auth: "admin"
50396
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50409
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50410
+ agentNodeId: string(),
50411
+ deviceKey: string()
50412
+ }), object({ success: literal(true) }), {
50413
+ kind: "mutation",
50414
+ auth: "admin"
50415
+ }), method(object({ agentNodeId: string() }), object({
50397
50416
  success: literal(true),
50398
50417
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50399
50418
  effectiveModelId: string().nullable(),
@@ -56980,7 +56999,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
56980
56999
  enabled: boolean()
56981
57000
  }), _void(), {
56982
57001
  kind: "mutation",
56983
- auth: "admin"
57002
+ auth: "protected"
56984
57003
  }), object({
56985
57004
  deviceId: number(),
56986
57005
  enabled: boolean(),
@@ -57470,6 +57489,13 @@ var TopologyNodeSchema = object({
57470
57489
  cpuModel: string().nullable(),
57471
57490
  cpuCores: number(),
57472
57491
  memoryMB: number(),
57492
+ /**
57493
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57494
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57495
+ * about whether its hardware is there (a Coral delegate stays installed
57496
+ * after the stick leaves, D919); the live device set is
57497
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57498
+ */
57473
57499
  engines: array(string()).readonly(),
57474
57500
  isHub: boolean(),
57475
57501
  isOnline: boolean(),
@@ -58434,7 +58460,28 @@ var ResolvedInferenceConfigSchema = object({
58434
58460
  format: ModelFormatSchema,
58435
58461
  reason: string()
58436
58462
  });
58437
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58463
+ /**
58464
+ * The answer of an accelerator rescan (D919): the node's device list after
58465
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58466
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58467
+ * bus, the installed-delegate fallback, or nothing).
58468
+ */
58469
+ var AcceleratorRescanSchema = object({
58470
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58471
+ appeared: array(string()).readonly(),
58472
+ disappeared: array(string()).readonly(),
58473
+ usbBus: _enum(["observed", "unobservable"]),
58474
+ decidedBy: _enum([
58475
+ "usb-ids",
58476
+ "pci",
58477
+ "delegate-fallback",
58478
+ "none"
58479
+ ])
58480
+ });
58481
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58482
+ kind: "mutation",
58483
+ auth: "admin"
58484
+ });
58438
58485
  object({
58439
58486
  /** Instantaneous power draw in watts. */
58440
58487
  watts: number().optional(),
@@ -67959,6 +68006,12 @@ Object.freeze({
67959
68006
  addonId: null,
67960
68007
  access: "delete"
67961
68008
  },
68009
+ "pipelineOrchestrator.forgetInferenceDevice": {
68010
+ capName: "pipeline-orchestrator",
68011
+ capScope: "system",
68012
+ addonId: null,
68013
+ access: "delete"
68014
+ },
67962
68015
  "pipelineOrchestrator.getAgentLoad": {
67963
68016
  capName: "pipeline-orchestrator",
67964
68017
  capScope: "system",
@@ -68535,6 +68588,12 @@ Object.freeze({
68535
68588
  addonId: null,
68536
68589
  access: "view"
68537
68590
  },
68591
+ "platformProbe.rescanAccelerators": {
68592
+ capName: "platform-probe",
68593
+ capScope: "system",
68594
+ addonId: null,
68595
+ access: "create"
68596
+ },
68538
68597
  "platformProbe.resolveHwAccel": {
68539
68598
  capName: "platform-probe",
68540
68599
  capScope: "system",
@@ -50139,6 +50139,19 @@ var NodeInferenceDeviceSchema = object({
50139
50139
  /** Whether the node's live probe reports the device as usable right now. */
50140
50140
  available: boolean(),
50141
50141
  /**
50142
+ * Is the device on the node at all (D919)? `present` — the live probe
50143
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50144
+ * its stored settings remain (unplugged, moved to another node): never
50145
+ * eligible, whatever its stored `enabled`, and forgettable with
50146
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50147
+ * claimed (D315). Optional only for an orchestrator older than the field.
50148
+ */
50149
+ presence: _enum([
50150
+ "present",
50151
+ "absent",
50152
+ "unknown"
50153
+ ]).optional(),
50154
+ /**
50142
50155
  * Whether this device participates in dispatch. AUTO default (spec C2):
50143
50156
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50144
50157
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50364,7 +50377,13 @@ method(object({
50364
50377
  }), object({ success: literal(true) }), {
50365
50378
  kind: "mutation",
50366
50379
  auth: "admin"
50367
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50380
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50381
+ agentNodeId: string(),
50382
+ deviceKey: string()
50383
+ }), object({ success: literal(true) }), {
50384
+ kind: "mutation",
50385
+ auth: "admin"
50386
+ }), method(object({ agentNodeId: string() }), object({
50368
50387
  success: literal(true),
50369
50388
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50370
50389
  effectiveModelId: string().nullable(),
@@ -56951,7 +56970,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
56951
56970
  enabled: boolean()
56952
56971
  }), _void(), {
56953
56972
  kind: "mutation",
56954
- auth: "admin"
56973
+ auth: "protected"
56955
56974
  }), object({
56956
56975
  deviceId: number(),
56957
56976
  enabled: boolean(),
@@ -57441,6 +57460,13 @@ var TopologyNodeSchema = object({
57441
57460
  cpuModel: string().nullable(),
57442
57461
  cpuCores: number(),
57443
57462
  memoryMB: number(),
57463
+ /**
57464
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57465
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57466
+ * about whether its hardware is there (a Coral delegate stays installed
57467
+ * after the stick leaves, D919); the live device set is
57468
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57469
+ */
57444
57470
  engines: array(string()).readonly(),
57445
57471
  isHub: boolean(),
57446
57472
  isOnline: boolean(),
@@ -58405,7 +58431,28 @@ var ResolvedInferenceConfigSchema = object({
58405
58431
  format: ModelFormatSchema,
58406
58432
  reason: string()
58407
58433
  });
58408
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58434
+ /**
58435
+ * The answer of an accelerator rescan (D919): the node's device list after
58436
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58437
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58438
+ * bus, the installed-delegate fallback, or nothing).
58439
+ */
58440
+ var AcceleratorRescanSchema = object({
58441
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58442
+ appeared: array(string()).readonly(),
58443
+ disappeared: array(string()).readonly(),
58444
+ usbBus: _enum(["observed", "unobservable"]),
58445
+ decidedBy: _enum([
58446
+ "usb-ids",
58447
+ "pci",
58448
+ "delegate-fallback",
58449
+ "none"
58450
+ ])
58451
+ });
58452
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58453
+ kind: "mutation",
58454
+ auth: "admin"
58455
+ });
58409
58456
  object({
58410
58457
  /** Instantaneous power draw in watts. */
58411
58458
  watts: number().optional(),
@@ -67930,6 +67977,12 @@ Object.freeze({
67930
67977
  addonId: null,
67931
67978
  access: "delete"
67932
67979
  },
67980
+ "pipelineOrchestrator.forgetInferenceDevice": {
67981
+ capName: "pipeline-orchestrator",
67982
+ capScope: "system",
67983
+ addonId: null,
67984
+ access: "delete"
67985
+ },
67933
67986
  "pipelineOrchestrator.getAgentLoad": {
67934
67987
  capName: "pipeline-orchestrator",
67935
67988
  capScope: "system",
@@ -68506,6 +68559,12 @@ Object.freeze({
68506
68559
  addonId: null,
68507
68560
  access: "view"
68508
68561
  },
68562
+ "platformProbe.rescanAccelerators": {
68563
+ capName: "platform-probe",
68564
+ capScope: "system",
68565
+ addonId: null,
68566
+ access: "create"
68567
+ },
68509
68568
  "platformProbe.resolveHwAccel": {
68510
68569
  capName: "platform-probe",
68511
68570
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.163",
3
+ "version": "1.2.164",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",