@camstack/addon-google-services 0.2.27 → 0.2.28

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.
@@ -50368,6 +50368,19 @@ var NodeInferenceDeviceSchema = object({
50368
50368
  /** Whether the node's live probe reports the device as usable right now. */
50369
50369
  available: boolean(),
50370
50370
  /**
50371
+ * Is the device on the node at all (D919)? `present` — the live probe
50372
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50373
+ * its stored settings remain (unplugged, moved to another node): never
50374
+ * eligible, whatever its stored `enabled`, and forgettable with
50375
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50376
+ * claimed (D315). Optional only for an orchestrator older than the field.
50377
+ */
50378
+ presence: _enum([
50379
+ "present",
50380
+ "absent",
50381
+ "unknown"
50382
+ ]).optional(),
50383
+ /**
50371
50384
  * Whether this device participates in dispatch. AUTO default (spec C2):
50372
50385
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50373
50386
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50593,7 +50606,13 @@ method(object({
50593
50606
  }), object({ success: literal(true) }), {
50594
50607
  kind: "mutation",
50595
50608
  auth: "admin"
50596
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50609
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50610
+ agentNodeId: string(),
50611
+ deviceKey: string()
50612
+ }), object({ success: literal(true) }), {
50613
+ kind: "mutation",
50614
+ auth: "admin"
50615
+ }), method(object({ agentNodeId: string() }), object({
50597
50616
  success: literal(true),
50598
50617
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50599
50618
  effectiveModelId: string().nullable(),
@@ -57171,7 +57190,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
57171
57190
  enabled: boolean()
57172
57191
  }), _void(), {
57173
57192
  kind: "mutation",
57174
- auth: "admin"
57193
+ auth: "protected"
57175
57194
  }), object({
57176
57195
  deviceId: number(),
57177
57196
  enabled: boolean(),
@@ -57661,6 +57680,13 @@ var TopologyNodeSchema = object({
57661
57680
  cpuModel: string().nullable(),
57662
57681
  cpuCores: number(),
57663
57682
  memoryMB: number(),
57683
+ /**
57684
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57685
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57686
+ * about whether its hardware is there (a Coral delegate stays installed
57687
+ * after the stick leaves, D919); the live device set is
57688
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57689
+ */
57664
57690
  engines: array(string()).readonly(),
57665
57691
  isHub: boolean(),
57666
57692
  isOnline: boolean(),
@@ -58625,7 +58651,28 @@ var ResolvedInferenceConfigSchema = object({
58625
58651
  format: ModelFormatSchema,
58626
58652
  reason: string()
58627
58653
  });
58628
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58654
+ /**
58655
+ * The answer of an accelerator rescan (D919): the node's device list after
58656
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58657
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58658
+ * bus, the installed-delegate fallback, or nothing).
58659
+ */
58660
+ var AcceleratorRescanSchema = object({
58661
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58662
+ appeared: array(string()).readonly(),
58663
+ disappeared: array(string()).readonly(),
58664
+ usbBus: _enum(["observed", "unobservable"]),
58665
+ decidedBy: _enum([
58666
+ "usb-ids",
58667
+ "pci",
58668
+ "delegate-fallback",
58669
+ "none"
58670
+ ])
58671
+ });
58672
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58673
+ kind: "mutation",
58674
+ auth: "admin"
58675
+ });
58629
58676
  object({
58630
58677
  /** Instantaneous power draw in watts. */
58631
58678
  watts: number().optional(),
@@ -68127,6 +68174,12 @@ Object.freeze({
68127
68174
  addonId: null,
68128
68175
  access: "delete"
68129
68176
  },
68177
+ "pipelineOrchestrator.forgetInferenceDevice": {
68178
+ capName: "pipeline-orchestrator",
68179
+ capScope: "system",
68180
+ addonId: null,
68181
+ access: "delete"
68182
+ },
68130
68183
  "pipelineOrchestrator.getAgentLoad": {
68131
68184
  capName: "pipeline-orchestrator",
68132
68185
  capScope: "system",
@@ -68703,6 +68756,12 @@ Object.freeze({
68703
68756
  addonId: null,
68704
68757
  access: "view"
68705
68758
  },
68759
+ "platformProbe.rescanAccelerators": {
68760
+ capName: "platform-probe",
68761
+ capScope: "system",
68762
+ addonId: null,
68763
+ access: "create"
68764
+ },
68706
68765
  "platformProbe.resolveHwAccel": {
68707
68766
  capName: "platform-probe",
68708
68767
  capScope: "system",
@@ -50364,6 +50364,19 @@ var NodeInferenceDeviceSchema = object({
50364
50364
  /** Whether the node's live probe reports the device as usable right now. */
50365
50365
  available: boolean(),
50366
50366
  /**
50367
+ * Is the device on the node at all (D919)? `present` — the live probe
50368
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50369
+ * its stored settings remain (unplugged, moved to another node): never
50370
+ * eligible, whatever its stored `enabled`, and forgettable with
50371
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50372
+ * claimed (D315). Optional only for an orchestrator older than the field.
50373
+ */
50374
+ presence: _enum([
50375
+ "present",
50376
+ "absent",
50377
+ "unknown"
50378
+ ]).optional(),
50379
+ /**
50367
50380
  * Whether this device participates in dispatch. AUTO default (spec C2):
50368
50381
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50369
50382
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50589,7 +50602,13 @@ method(object({
50589
50602
  }), object({ success: literal(true) }), {
50590
50603
  kind: "mutation",
50591
50604
  auth: "admin"
50592
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50605
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50606
+ agentNodeId: string(),
50607
+ deviceKey: string()
50608
+ }), object({ success: literal(true) }), {
50609
+ kind: "mutation",
50610
+ auth: "admin"
50611
+ }), method(object({ agentNodeId: string() }), object({
50593
50612
  success: literal(true),
50594
50613
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50595
50614
  effectiveModelId: string().nullable(),
@@ -57167,7 +57186,7 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
57167
57186
  enabled: boolean()
57168
57187
  }), _void(), {
57169
57188
  kind: "mutation",
57170
- auth: "admin"
57189
+ auth: "protected"
57171
57190
  }), object({
57172
57191
  deviceId: number(),
57173
57192
  enabled: boolean(),
@@ -57657,6 +57676,13 @@ var TopologyNodeSchema = object({
57657
57676
  cpuModel: string().nullable(),
57658
57677
  cpuCores: number(),
57659
57678
  memoryMB: number(),
57679
+ /**
57680
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
57681
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
57682
+ * about whether its hardware is there (a Coral delegate stays installed
57683
+ * after the stick leaves, D919); the live device set is
57684
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
57685
+ */
57660
57686
  engines: array(string()).readonly(),
57661
57687
  isHub: boolean(),
57662
57688
  isOnline: boolean(),
@@ -58621,7 +58647,28 @@ var ResolvedInferenceConfigSchema = object({
58621
58647
  format: ModelFormatSchema,
58622
58648
  reason: string()
58623
58649
  });
58624
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
58650
+ /**
58651
+ * The answer of an accelerator rescan (D919): the node's device list after
58652
+ * the re-probe, what changed, and the evidence that decided the Coral answer
58653
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
58654
+ * bus, the installed-delegate fallback, or nothing).
58655
+ */
58656
+ var AcceleratorRescanSchema = object({
58657
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
58658
+ appeared: array(string()).readonly(),
58659
+ disappeared: array(string()).readonly(),
58660
+ usbBus: _enum(["observed", "unobservable"]),
58661
+ decidedBy: _enum([
58662
+ "usb-ids",
58663
+ "pci",
58664
+ "delegate-fallback",
58665
+ "none"
58666
+ ])
58667
+ });
58668
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
58669
+ kind: "mutation",
58670
+ auth: "admin"
58671
+ });
58625
58672
  object({
58626
58673
  /** Instantaneous power draw in watts. */
58627
58674
  watts: number().optional(),
@@ -68123,6 +68170,12 @@ Object.freeze({
68123
68170
  addonId: null,
68124
68171
  access: "delete"
68125
68172
  },
68173
+ "pipelineOrchestrator.forgetInferenceDevice": {
68174
+ capName: "pipeline-orchestrator",
68175
+ capScope: "system",
68176
+ addonId: null,
68177
+ access: "delete"
68178
+ },
68126
68179
  "pipelineOrchestrator.getAgentLoad": {
68127
68180
  capName: "pipeline-orchestrator",
68128
68181
  capScope: "system",
@@ -68699,6 +68752,12 @@ Object.freeze({
68699
68752
  addonId: null,
68700
68753
  access: "view"
68701
68754
  },
68755
+ "platformProbe.rescanAccelerators": {
68756
+ capName: "platform-probe",
68757
+ capScope: "system",
68758
+ addonId: null,
68759
+ access: "create"
68760
+ },
68702
68761
  "platformProbe.resolveHwAccel": {
68703
68762
  capName: "platform-probe",
68704
68763
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-google-services",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "description": "Google Services — Google brokers (OAuth2): Calendar as calendar-source, Gmail send as smtp-provider.",
5
5
  "keywords": [
6
6
  "camstack",