@camstack/addon-waste-collections 0.1.25 → 0.1.26

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.
@@ -50204,6 +50204,19 @@ var NodeInferenceDeviceSchema = object({
50204
50204
  /** Whether the node's live probe reports the device as usable right now. */
50205
50205
  available: boolean(),
50206
50206
  /**
50207
+ * Is the device on the node at all (D919)? `present` — the live probe
50208
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50209
+ * its stored settings remain (unplugged, moved to another node): never
50210
+ * eligible, whatever its stored `enabled`, and forgettable with
50211
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50212
+ * claimed (D315). Optional only for an orchestrator older than the field.
50213
+ */
50214
+ presence: _enum([
50215
+ "present",
50216
+ "absent",
50217
+ "unknown"
50218
+ ]).optional(),
50219
+ /**
50207
50220
  * Whether this device participates in dispatch. AUTO default (spec C2):
50208
50221
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50209
50222
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50429,7 +50442,13 @@ method(object({
50429
50442
  }), object({ success: literal(true) }), {
50430
50443
  kind: "mutation",
50431
50444
  auth: "admin"
50432
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50445
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50446
+ agentNodeId: string(),
50447
+ deviceKey: string()
50448
+ }), object({ success: literal(true) }), {
50449
+ kind: "mutation",
50450
+ auth: "admin"
50451
+ }), method(object({ agentNodeId: string() }), object({
50433
50452
  success: literal(true),
50434
50453
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50435
50454
  effectiveModelId: string().nullable(),
@@ -56994,7 +57013,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
56994
57013
  enabled: boolean()
56995
57014
  }), _void(), {
56996
57015
  kind: "mutation",
56997
- auth: "admin"
57016
+ auth: "protected"
56998
57017
  }), object({
56999
57018
  deviceId: number(),
57000
57019
  enabled: boolean(),
@@ -57484,6 +57503,13 @@ var TopologyNodeSchema = object({
57484
57503
  cpuModel: string().nullable(),
57485
57504
  cpuCores: number(),
57486
57505
  memoryMB: number(),
57506
+ /**
57507
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57508
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57509
+ * about whether its hardware is there (a Coral delegate stays installed
57510
+ * after the stick leaves, D919); the live device set is
57511
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57512
+ */
57487
57513
  engines: array(string()).readonly(),
57488
57514
  isHub: boolean(),
57489
57515
  isOnline: boolean(),
@@ -58448,7 +58474,28 @@ var ResolvedInferenceConfigSchema = object({
58448
58474
  format: ModelFormatSchema,
58449
58475
  reason: string()
58450
58476
  });
58451
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58477
+ /**
58478
+ * The answer of an accelerator rescan (D919): the node's device list after
58479
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58480
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58481
+ * bus, the installed-delegate fallback, or nothing).
58482
+ */
58483
+ var AcceleratorRescanSchema = object({
58484
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58485
+ appeared: array(string()).readonly(),
58486
+ disappeared: array(string()).readonly(),
58487
+ usbBus: _enum(["observed", "unobservable"]),
58488
+ decidedBy: _enum([
58489
+ "usb-ids",
58490
+ "pci",
58491
+ "delegate-fallback",
58492
+ "none"
58493
+ ])
58494
+ });
58495
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58496
+ kind: "mutation",
58497
+ auth: "admin"
58498
+ });
58452
58499
  object({
58453
58500
  /** Instantaneous power draw in watts. */
58454
58501
  watts: number().optional(),
@@ -67950,6 +67997,12 @@ Object.freeze({
67950
67997
  addonId: null,
67951
67998
  access: "delete"
67952
67999
  },
68000
+ "pipelineOrchestrator.forgetInferenceDevice": {
68001
+ capName: "pipeline-orchestrator",
68002
+ capScope: "system",
68003
+ addonId: null,
68004
+ access: "delete"
68005
+ },
67953
68006
  "pipelineOrchestrator.getAgentLoad": {
67954
68007
  capName: "pipeline-orchestrator",
67955
68008
  capScope: "system",
@@ -68526,6 +68579,12 @@ Object.freeze({
68526
68579
  addonId: null,
68527
68580
  access: "view"
68528
68581
  },
68582
+ "platformProbe.rescanAccelerators": {
68583
+ capName: "platform-probe",
68584
+ capScope: "system",
68585
+ addonId: null,
68586
+ access: "create"
68587
+ },
68529
68588
  "platformProbe.resolveHwAccel": {
68530
68589
  capName: "platform-probe",
68531
68590
  capScope: "system",
@@ -50200,6 +50200,19 @@ var NodeInferenceDeviceSchema = object({
50200
50200
  /** Whether the node's live probe reports the device as usable right now. */
50201
50201
  available: boolean(),
50202
50202
  /**
50203
+ * Is the device on the node at all (D919)? `present` — the live probe
50204
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50205
+ * its stored settings remain (unplugged, moved to another node): never
50206
+ * eligible, whatever its stored `enabled`, and forgettable with
50207
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50208
+ * claimed (D315). Optional only for an orchestrator older than the field.
50209
+ */
50210
+ presence: _enum([
50211
+ "present",
50212
+ "absent",
50213
+ "unknown"
50214
+ ]).optional(),
50215
+ /**
50203
50216
  * Whether this device participates in dispatch. AUTO default (spec C2):
50204
50217
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50205
50218
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50425,7 +50438,13 @@ method(object({
50425
50438
  }), object({ success: literal(true) }), {
50426
50439
  kind: "mutation",
50427
50440
  auth: "admin"
50428
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50441
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50442
+ agentNodeId: string(),
50443
+ deviceKey: string()
50444
+ }), object({ success: literal(true) }), {
50445
+ kind: "mutation",
50446
+ auth: "admin"
50447
+ }), method(object({ agentNodeId: string() }), object({
50429
50448
  success: literal(true),
50430
50449
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50431
50450
  effectiveModelId: string().nullable(),
@@ -56990,7 +57009,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
56990
57009
  enabled: boolean()
56991
57010
  }), _void(), {
56992
57011
  kind: "mutation",
56993
- auth: "admin"
57012
+ auth: "protected"
56994
57013
  }), object({
56995
57014
  deviceId: number(),
56996
57015
  enabled: boolean(),
@@ -57480,6 +57499,13 @@ var TopologyNodeSchema = object({
57480
57499
  cpuModel: string().nullable(),
57481
57500
  cpuCores: number(),
57482
57501
  memoryMB: number(),
57502
+ /**
57503
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57504
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57505
+ * about whether its hardware is there (a Coral delegate stays installed
57506
+ * after the stick leaves, D919); the live device set is
57507
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57508
+ */
57483
57509
  engines: array(string()).readonly(),
57484
57510
  isHub: boolean(),
57485
57511
  isOnline: boolean(),
@@ -58444,7 +58470,28 @@ var ResolvedInferenceConfigSchema = object({
58444
58470
  format: ModelFormatSchema,
58445
58471
  reason: string()
58446
58472
  });
58447
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58473
+ /**
58474
+ * The answer of an accelerator rescan (D919): the node's device list after
58475
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58476
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58477
+ * bus, the installed-delegate fallback, or nothing).
58478
+ */
58479
+ var AcceleratorRescanSchema = object({
58480
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58481
+ appeared: array(string()).readonly(),
58482
+ disappeared: array(string()).readonly(),
58483
+ usbBus: _enum(["observed", "unobservable"]),
58484
+ decidedBy: _enum([
58485
+ "usb-ids",
58486
+ "pci",
58487
+ "delegate-fallback",
58488
+ "none"
58489
+ ])
58490
+ });
58491
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58492
+ kind: "mutation",
58493
+ auth: "admin"
58494
+ });
58448
58495
  object({
58449
58496
  /** Instantaneous power draw in watts. */
58450
58497
  watts: number().optional(),
@@ -67946,6 +67993,12 @@ Object.freeze({
67946
67993
  addonId: null,
67947
67994
  access: "delete"
67948
67995
  },
67996
+ "pipelineOrchestrator.forgetInferenceDevice": {
67997
+ capName: "pipeline-orchestrator",
67998
+ capScope: "system",
67999
+ addonId: null,
68000
+ access: "delete"
68001
+ },
67949
68002
  "pipelineOrchestrator.getAgentLoad": {
67950
68003
  capName: "pipeline-orchestrator",
67951
68004
  capScope: "system",
@@ -68522,6 +68575,12 @@ Object.freeze({
68522
68575
  addonId: null,
68523
68576
  access: "view"
68524
68577
  },
68578
+ "platformProbe.rescanAccelerators": {
68579
+ capName: "platform-probe",
68580
+ capScope: "system",
68581
+ addonId: null,
68582
+ access: "create"
68583
+ },
68525
68584
  "platformProbe.resolveHwAccel": {
68526
68585
  capName: "platform-probe",
68527
68586
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-waste-collections",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "Waste collection schedules via the vendored HACS waste_collection_schedule Python core — full source catalog as calendar-source.",
5
5
  "keywords": [
6
6
  "camstack",