@camstack/addon-decoder-nodeav 1.2.128 → 1.2.129
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/index.js +16 -1
- package/dist/index.mjs +16 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -57937,9 +57937,24 @@ var NpuInfoSchema = object({
|
|
|
57937
57937
|
name: string().optional(),
|
|
57938
57938
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
57939
57939
|
});
|
|
57940
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
57940
57941
|
var CoralInfoSchema = object({
|
|
57941
57942
|
type: literal("coral-edgetpu"),
|
|
57942
|
-
bus
|
|
57943
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
57944
|
+
bus: string().optional(),
|
|
57945
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
57946
|
+
count: number().int().nonnegative().optional(),
|
|
57947
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
57948
|
+
units: array(object({
|
|
57949
|
+
bus: CoralBusSchema,
|
|
57950
|
+
count: number().int().nonnegative()
|
|
57951
|
+
})).readonly().optional(),
|
|
57952
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
57953
|
+
unavailable: array(object({
|
|
57954
|
+
bus: CoralBusSchema,
|
|
57955
|
+
count: number().int().nonnegative(),
|
|
57956
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
57957
|
+
})).readonly().optional()
|
|
57943
57958
|
});
|
|
57944
57959
|
var HardwareInfoSchema = object({
|
|
57945
57960
|
platform: HardwarePlatformSchema,
|
package/dist/index.mjs
CHANGED
|
@@ -57933,9 +57933,24 @@ var NpuInfoSchema = object({
|
|
|
57933
57933
|
name: string().optional(),
|
|
57934
57934
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
57935
57935
|
});
|
|
57936
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
57936
57937
|
var CoralInfoSchema = object({
|
|
57937
57938
|
type: literal("coral-edgetpu"),
|
|
57938
|
-
bus
|
|
57939
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
57940
|
+
bus: string().optional(),
|
|
57941
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
57942
|
+
count: number().int().nonnegative().optional(),
|
|
57943
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
57944
|
+
units: array(object({
|
|
57945
|
+
bus: CoralBusSchema,
|
|
57946
|
+
count: number().int().nonnegative()
|
|
57947
|
+
})).readonly().optional(),
|
|
57948
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
57949
|
+
unavailable: array(object({
|
|
57950
|
+
bus: CoralBusSchema,
|
|
57951
|
+
count: number().int().nonnegative(),
|
|
57952
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
57953
|
+
})).readonly().optional()
|
|
57939
57954
|
});
|
|
57940
57955
|
var HardwareInfoSchema = object({
|
|
57941
57956
|
platform: HardwarePlatformSchema,
|