@camstack/addon-export-google 0.1.98 → 0.1.99

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.
@@ -58111,9 +58111,24 @@ var NpuInfoSchema = object({
58111
58111
  name: string().optional(),
58112
58112
  generation: _enum(["xdna1", "xdna2"]).optional()
58113
58113
  });
58114
+ var CoralBusSchema = _enum(["usb", "pci"]);
58114
58115
  var CoralInfoSchema = object({
58115
58116
  type: literal("coral-edgetpu"),
58116
- bus: string().optional()
58117
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58118
+ bus: string().optional(),
58119
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58120
+ count: number().int().nonnegative().optional(),
58121
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58122
+ units: array(object({
58123
+ bus: CoralBusSchema,
58124
+ count: number().int().nonnegative()
58125
+ })).readonly().optional(),
58126
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58127
+ unavailable: array(object({
58128
+ bus: CoralBusSchema,
58129
+ count: number().int().nonnegative(),
58130
+ reason: _enum(["driver-missing", "device-not-accessible"])
58131
+ })).readonly().optional()
58117
58132
  });
58118
58133
  var HardwareInfoSchema = object({
58119
58134
  platform: HardwarePlatformSchema,
@@ -58107,9 +58107,24 @@ var NpuInfoSchema = object({
58107
58107
  name: string().optional(),
58108
58108
  generation: _enum(["xdna1", "xdna2"]).optional()
58109
58109
  });
58110
+ var CoralBusSchema = _enum(["usb", "pci"]);
58110
58111
  var CoralInfoSchema = object({
58111
58112
  type: literal("coral-edgetpu"),
58112
- bus: string().optional()
58113
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58114
+ bus: string().optional(),
58115
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58116
+ count: number().int().nonnegative().optional(),
58117
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58118
+ units: array(object({
58119
+ bus: CoralBusSchema,
58120
+ count: number().int().nonnegative()
58121
+ })).readonly().optional(),
58122
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58123
+ unavailable: array(object({
58124
+ bus: CoralBusSchema,
58125
+ count: number().int().nonnegative(),
58126
+ reason: _enum(["driver-missing", "device-not-accessible"])
58127
+ })).readonly().optional()
58113
58128
  });
58114
58129
  var HardwareInfoSchema = object({
58115
58130
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.98",
3
+ "version": "0.1.99",
4
4
  "description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
5
5
  "keywords": [
6
6
  "camstack",