@camstack/addon-terminal 0.1.150 → 0.1.151

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
@@ -50286,6 +50286,19 @@ var NodeInferenceDeviceSchema = object({
50286
50286
  /** Whether the node's live probe reports the device as usable right now. */
50287
50287
  available: boolean(),
50288
50288
  /**
50289
+ * Is the device on the node at all (D919)? `present` — the live probe
50290
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50291
+ * its stored settings remain (unplugged, moved to another node): never
50292
+ * eligible, whatever its stored `enabled`, and forgettable with
50293
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50294
+ * claimed (D315). Optional only for an orchestrator older than the field.
50295
+ */
50296
+ presence: _enum([
50297
+ "present",
50298
+ "absent",
50299
+ "unknown"
50300
+ ]).optional(),
50301
+ /**
50289
50302
  * Whether this device participates in dispatch. AUTO default (spec C2):
50290
50303
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50291
50304
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50511,7 +50524,13 @@ method(object({
50511
50524
  }), object({ success: literal(true) }), {
50512
50525
  kind: "mutation",
50513
50526
  auth: "admin"
50514
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50527
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50528
+ agentNodeId: string(),
50529
+ deviceKey: string()
50530
+ }), object({ success: literal(true) }), {
50531
+ kind: "mutation",
50532
+ auth: "admin"
50533
+ }), method(object({ agentNodeId: string() }), object({
50515
50534
  success: literal(true),
50516
50535
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50517
50536
  effectiveModelId: string().nullable(),
@@ -58902,7 +58921,7 @@ var motionTriggerCapability = {
58902
58921
  enabled: boolean()
58903
58922
  }), _void(), {
58904
58923
  kind: "mutation",
58905
- auth: "admin"
58924
+ auth: "protected"
58906
58925
  }) },
58907
58926
  events: { onMotionTriggerChanged: { data: object({
58908
58927
  deviceId: number(),
@@ -59632,6 +59651,13 @@ var TopologyNodeSchema = object({
59632
59651
  cpuModel: string().nullable(),
59633
59652
  cpuCores: number(),
59634
59653
  memoryMB: number(),
59654
+ /**
59655
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59656
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59657
+ * about whether its hardware is there (a Coral delegate stays installed
59658
+ * after the stick leaves, D919); the live device set is
59659
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59660
+ */
59635
59661
  engines: array(string()).readonly(),
59636
59662
  isHub: boolean(),
59637
59663
  isOnline: boolean(),
@@ -60749,7 +60775,28 @@ var ResolvedInferenceConfigSchema = object({
60749
60775
  format: ModelFormatSchema,
60750
60776
  reason: string()
60751
60777
  });
60752
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60778
+ /**
60779
+ * The answer of an accelerator rescan (D919): the node's device list after
60780
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60781
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60782
+ * bus, the installed-delegate fallback, or nothing).
60783
+ */
60784
+ var AcceleratorRescanSchema = object({
60785
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60786
+ appeared: array(string()).readonly(),
60787
+ disappeared: array(string()).readonly(),
60788
+ usbBus: _enum(["observed", "unobservable"]),
60789
+ decidedBy: _enum([
60790
+ "usb-ids",
60791
+ "pci",
60792
+ "delegate-fallback",
60793
+ "none"
60794
+ ])
60795
+ });
60796
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60797
+ kind: "mutation",
60798
+ auth: "admin"
60799
+ });
60753
60800
  /**
60754
60801
  * Multi-metric electrical meter. One slice can carry any combination
60755
60802
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -72494,6 +72541,12 @@ Object.freeze({
72494
72541
  addonId: null,
72495
72542
  access: "delete"
72496
72543
  },
72544
+ "pipelineOrchestrator.forgetInferenceDevice": {
72545
+ capName: "pipeline-orchestrator",
72546
+ capScope: "system",
72547
+ addonId: null,
72548
+ access: "delete"
72549
+ },
72497
72550
  "pipelineOrchestrator.getAgentLoad": {
72498
72551
  capName: "pipeline-orchestrator",
72499
72552
  capScope: "system",
@@ -73070,6 +73123,12 @@ Object.freeze({
73070
73123
  addonId: null,
73071
73124
  access: "view"
73072
73125
  },
73126
+ "platformProbe.rescanAccelerators": {
73127
+ capName: "platform-probe",
73128
+ capScope: "system",
73129
+ addonId: null,
73130
+ access: "create"
73131
+ },
73073
73132
  "platformProbe.resolveHwAccel": {
73074
73133
  capName: "platform-probe",
73075
73134
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -50263,6 +50263,19 @@ var NodeInferenceDeviceSchema = object({
50263
50263
  /** Whether the node's live probe reports the device as usable right now. */
50264
50264
  available: boolean(),
50265
50265
  /**
50266
+ * Is the device on the node at all (D919)? `present` — the live probe
50267
+ * reported it; `absent` — the probe ANSWERED and did not report it, so only
50268
+ * its stored settings remain (unplugged, moved to another node): never
50269
+ * eligible, whatever its stored `enabled`, and forgettable with
50270
+ * `forgetInferenceDevice`; `unknown` — the probe did not answer, nothing is
50271
+ * claimed (D315). Optional only for an orchestrator older than the field.
50272
+ */
50273
+ presence: _enum([
50274
+ "present",
50275
+ "absent",
50276
+ "unknown"
50277
+ ]).optional(),
50278
+ /**
50266
50279
  * Whether this device participates in dispatch. AUTO default (spec C2):
50267
50280
  * accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
50268
50281
  * entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
@@ -50488,7 +50501,13 @@ method(object({
50488
50501
  }), object({ success: literal(true) }), {
50489
50502
  kind: "mutation",
50490
50503
  auth: "admin"
50491
- }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({ agentNodeId: string() }), object({
50504
+ }), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
50505
+ agentNodeId: string(),
50506
+ deviceKey: string()
50507
+ }), object({ success: literal(true) }), {
50508
+ kind: "mutation",
50509
+ auth: "admin"
50510
+ }), method(object({ agentNodeId: string() }), object({
50492
50511
  success: literal(true),
50493
50512
  /** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
50494
50513
  effectiveModelId: string().nullable(),
@@ -58879,7 +58898,7 @@ var motionTriggerCapability = {
58879
58898
  enabled: boolean()
58880
58899
  }), _void(), {
58881
58900
  kind: "mutation",
58882
- auth: "admin"
58901
+ auth: "protected"
58883
58902
  }) },
58884
58903
  events: { onMotionTriggerChanged: { data: object({
58885
58904
  deviceId: number(),
@@ -59609,6 +59628,13 @@ var TopologyNodeSchema = object({
59609
59628
  cpuModel: string().nullable(),
59610
59629
  cpuCores: number(),
59611
59630
  memoryMB: number(),
59631
+ /**
59632
+ * The inference RUNTIMES installed on the node (`pythonRuntimes`: onnx,
59633
+ * openvino, edgetpu …) — not its devices. An installed runtime says nothing
59634
+ * about whether its hardware is there (a Coral delegate stays installed
59635
+ * after the stick leaves, D919); the live device set is
59636
+ * `pipelineOrchestrator.getNodeInferenceDevices`.
59637
+ */
59612
59638
  engines: array(string()).readonly(),
59613
59639
  isHub: boolean(),
59614
59640
  isOnline: boolean(),
@@ -60726,7 +60752,28 @@ var ResolvedInferenceConfigSchema = object({
60726
60752
  format: ModelFormatSchema,
60727
60753
  reason: string()
60728
60754
  });
60729
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
60755
+ /**
60756
+ * The answer of an accelerator rescan (D919): the node's device list after
60757
+ * the re-probe, what changed, and the evidence that decided the Coral answer
60758
+ * (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
60759
+ * bus, the installed-delegate fallback, or nothing).
60760
+ */
60761
+ var AcceleratorRescanSchema = object({
60762
+ devices: array(InferenceDeviceDescriptorSchema).readonly(),
60763
+ appeared: array(string()).readonly(),
60764
+ disappeared: array(string()).readonly(),
60765
+ usbBus: _enum(["observed", "unobservable"]),
60766
+ decidedBy: _enum([
60767
+ "usb-ids",
60768
+ "pci",
60769
+ "delegate-fallback",
60770
+ "none"
60771
+ ])
60772
+ });
60773
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), AcceleratorRescanSchema, {
60774
+ kind: "mutation",
60775
+ auth: "admin"
60776
+ });
60730
60777
  /**
60731
60778
  * Multi-metric electrical meter. One slice can carry any combination
60732
60779
  * of instantaneous power (W), cumulative energy (kWh), voltage (V),
@@ -72471,6 +72518,12 @@ Object.freeze({
72471
72518
  addonId: null,
72472
72519
  access: "delete"
72473
72520
  },
72521
+ "pipelineOrchestrator.forgetInferenceDevice": {
72522
+ capName: "pipeline-orchestrator",
72523
+ capScope: "system",
72524
+ addonId: null,
72525
+ access: "delete"
72526
+ },
72474
72527
  "pipelineOrchestrator.getAgentLoad": {
72475
72528
  capName: "pipeline-orchestrator",
72476
72529
  capScope: "system",
@@ -73047,6 +73100,12 @@ Object.freeze({
73047
73100
  addonId: null,
73048
73101
  access: "view"
73049
73102
  },
73103
+ "platformProbe.rescanAccelerators": {
73104
+ capName: "platform-probe",
73105
+ capScope: "system",
73106
+ addonId: null,
73107
+ access: "create"
73108
+ },
73050
73109
  "platformProbe.resolveHwAccel": {
73051
73110
  capName: "platform-probe",
73052
73111
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-terminal",
3
- "version": "0.1.150",
3
+ "version": "0.1.151",
4
4
  "description": "Interactive terminal sessions (pty + xterm) as a CamStack addon",
5
5
  "keywords": [
6
6
  "camstack",