@camstack/addon-terminal 0.1.138 → 0.1.139

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
@@ -60514,9 +60514,24 @@ var NpuInfoSchema = object({
60514
60514
  name: string().optional(),
60515
60515
  generation: _enum(["xdna1", "xdna2"]).optional()
60516
60516
  });
60517
+ var CoralBusSchema = _enum(["usb", "pci"]);
60517
60518
  var CoralInfoSchema = object({
60518
60519
  type: literal("coral-edgetpu"),
60519
- bus: string().optional()
60520
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60521
+ bus: string().optional(),
60522
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60523
+ count: number().int().nonnegative().optional(),
60524
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60525
+ units: array(object({
60526
+ bus: CoralBusSchema,
60527
+ count: number().int().nonnegative()
60528
+ })).readonly().optional(),
60529
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60530
+ unavailable: array(object({
60531
+ bus: CoralBusSchema,
60532
+ count: number().int().nonnegative(),
60533
+ reason: _enum(["driver-missing", "device-not-accessible"])
60534
+ })).readonly().optional()
60520
60535
  });
60521
60536
  var HardwareInfoSchema = object({
60522
60537
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -60491,9 +60491,24 @@ var NpuInfoSchema = object({
60491
60491
  name: string().optional(),
60492
60492
  generation: _enum(["xdna1", "xdna2"]).optional()
60493
60493
  });
60494
+ var CoralBusSchema = _enum(["usb", "pci"]);
60494
60495
  var CoralInfoSchema = object({
60495
60496
  type: literal("coral-edgetpu"),
60496
- bus: string().optional()
60497
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
60498
+ bus: string().optional(),
60499
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
60500
+ count: number().int().nonnegative().optional(),
60501
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
60502
+ units: array(object({
60503
+ bus: CoralBusSchema,
60504
+ count: number().int().nonnegative()
60505
+ })).readonly().optional(),
60506
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
60507
+ unavailable: array(object({
60508
+ bus: CoralBusSchema,
60509
+ count: number().int().nonnegative(),
60510
+ reason: _enum(["driver-missing", "device-not-accessible"])
60511
+ })).readonly().optional()
60497
60512
  });
60498
60513
  var HardwareInfoSchema = object({
60499
60514
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-terminal",
3
- "version": "0.1.138",
3
+ "version": "0.1.139",
4
4
  "description": "Interactive terminal sessions (pty + xterm) as a CamStack addon",
5
5
  "keywords": [
6
6
  "camstack",