@camstack/addon-terminal 0.1.101 → 0.1.102
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 +31 -2
- package/dist/addon.mjs +31 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -20716,6 +20716,14 @@ var NativeCropResultSchema = object({
|
|
|
20716
20716
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20717
20717
|
*/
|
|
20718
20718
|
jpeg: string().optional(),
|
|
20719
|
+
/**
|
|
20720
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20721
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20722
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20723
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20724
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20725
|
+
*/
|
|
20726
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20719
20727
|
width: number().int().positive(),
|
|
20720
20728
|
height: number().int().positive(),
|
|
20721
20729
|
/**
|
|
@@ -20782,7 +20790,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20782
20790
|
})]);
|
|
20783
20791
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20784
20792
|
var ParkedTrackFrameSchema = object({
|
|
20785
|
-
|
|
20793
|
+
/**
|
|
20794
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20795
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20796
|
+
* Exactly one of the two is present.
|
|
20797
|
+
*/
|
|
20798
|
+
jpeg: string().optional(),
|
|
20799
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20800
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20786
20801
|
width: number().int().positive(),
|
|
20787
20802
|
height: number().int().positive(),
|
|
20788
20803
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21369,6 +21384,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21369
21384
|
bbox: NativeCropBboxSchema,
|
|
21370
21385
|
maxWidth: number().int().positive().optional(),
|
|
21371
21386
|
/**
|
|
21387
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21388
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21389
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21390
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21391
|
+
*/
|
|
21392
|
+
acceptJpegBytes: boolean().optional(),
|
|
21393
|
+
/**
|
|
21372
21394
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21373
21395
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21374
21396
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21436,7 +21458,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21436
21458
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21437
21459
|
deviceId: number(),
|
|
21438
21460
|
trackId: string(),
|
|
21439
|
-
kind: ParkedFrameKindSchema
|
|
21461
|
+
kind: ParkedFrameKindSchema,
|
|
21462
|
+
/**
|
|
21463
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21464
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21465
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21466
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21467
|
+
*/
|
|
21468
|
+
acceptJpegBytes: boolean().optional()
|
|
21440
21469
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21441
21470
|
deviceId: number(),
|
|
21442
21471
|
trackId: string()
|
package/dist/addon.mjs
CHANGED
|
@@ -20693,6 +20693,14 @@ var NativeCropResultSchema = object({
|
|
|
20693
20693
|
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
20694
20694
|
*/
|
|
20695
20695
|
jpeg: string().optional(),
|
|
20696
|
+
/**
|
|
20697
|
+
* The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
|
|
20698
|
+
* `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
|
|
20699
|
+
* `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
|
|
20700
|
+
* `bytes` above has crossed this boundary as a `Uint8Array` all along — so
|
|
20701
|
+
* base64 was buying nothing but a multi-megabyte string in the relay's heap.
|
|
20702
|
+
*/
|
|
20703
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20696
20704
|
width: number().int().positive(),
|
|
20697
20705
|
height: number().int().positive(),
|
|
20698
20706
|
/**
|
|
@@ -20759,7 +20767,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
|
20759
20767
|
})]);
|
|
20760
20768
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20761
20769
|
var ParkedTrackFrameSchema = object({
|
|
20762
|
-
|
|
20770
|
+
/**
|
|
20771
|
+
* Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
|
|
20772
|
+
* `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
|
|
20773
|
+
* Exactly one of the two is present.
|
|
20774
|
+
*/
|
|
20775
|
+
jpeg: string().optional(),
|
|
20776
|
+
/** The same JPEG as bytes, for a caller that declared it reads them (D462). */
|
|
20777
|
+
jpegBytes: _instanceof(Uint8Array).optional(),
|
|
20763
20778
|
width: number().int().positive(),
|
|
20764
20779
|
height: number().int().positive(),
|
|
20765
20780
|
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
@@ -21346,6 +21361,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21346
21361
|
bbox: NativeCropBboxSchema,
|
|
21347
21362
|
maxWidth: number().int().positive().optional(),
|
|
21348
21363
|
/**
|
|
21364
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21365
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21366
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21367
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21368
|
+
*/
|
|
21369
|
+
acceptJpegBytes: boolean().optional(),
|
|
21370
|
+
/**
|
|
21349
21371
|
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
21350
21372
|
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
21351
21373
|
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
@@ -21413,7 +21435,14 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21413
21435
|
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21414
21436
|
deviceId: number(),
|
|
21415
21437
|
trackId: string(),
|
|
21416
|
-
kind: ParkedFrameKindSchema
|
|
21438
|
+
kind: ParkedFrameKindSchema,
|
|
21439
|
+
/**
|
|
21440
|
+
* The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
|
|
21441
|
+
* back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
|
|
21442
|
+
* wire — never assume consent: a pre-D462 caller parses the field as
|
|
21443
|
+
* base64 and bytes would decode to garbage rather than fail.
|
|
21444
|
+
*/
|
|
21445
|
+
acceptJpegBytes: boolean().optional()
|
|
21417
21446
|
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21418
21447
|
deviceId: number(),
|
|
21419
21448
|
trackId: string()
|