@rstreamlabs/webtty 1.9.0 → 1.10.0
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/README.md +39 -9
- package/dist/{chunk-7OHAFDJE.mjs → chunk-6DA72SBW.mjs} +2615 -2065
- package/dist/index.d.mts +140 -126
- package/dist/index.d.ts +140 -126
- package/dist/index.js +2617 -2065
- package/dist/index.mjs +5 -1
- package/dist/node.d.mts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +2631 -2069
- package/dist/node.mjs +20 -6
- package/examples/filesystem-sidecar/package.json +4 -4
- package/examples/remote-command/package.json +4 -4
- package/package.json +8 -7
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ declare namespace rstream {
|
|
|
26
26
|
*/
|
|
27
27
|
constructor(properties?: rstream.webtty.protobuf.Options.$Properties);
|
|
28
28
|
|
|
29
|
-
/** Unknown fields preserved while decoding */
|
|
29
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
30
30
|
$unknowns?: Uint8Array[];
|
|
31
31
|
|
|
32
32
|
/** Options interactive. */
|
|
@@ -131,7 +131,7 @@ declare namespace rstream {
|
|
|
131
131
|
/** Options sendHeartbeat */
|
|
132
132
|
sendHeartbeat?: (boolean|null);
|
|
133
133
|
|
|
134
|
-
/** Unknown fields preserved while decoding */
|
|
134
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
135
135
|
$unknowns?: Uint8Array[];
|
|
136
136
|
}
|
|
137
137
|
|
|
@@ -155,7 +155,7 @@ declare namespace rstream {
|
|
|
155
155
|
*/
|
|
156
156
|
constructor(properties?: rstream.webtty.protobuf.Environment.$Properties);
|
|
157
157
|
|
|
158
|
-
/** Unknown fields preserved while decoding */
|
|
158
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
159
159
|
$unknowns?: Uint8Array[];
|
|
160
160
|
|
|
161
161
|
/** Environment key. */
|
|
@@ -254,7 +254,7 @@ declare namespace rstream {
|
|
|
254
254
|
/** Environment value */
|
|
255
255
|
value?: (string|null);
|
|
256
256
|
|
|
257
|
-
/** Unknown fields preserved while decoding */
|
|
257
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
258
258
|
$unknowns?: Uint8Array[];
|
|
259
259
|
}
|
|
260
260
|
|
|
@@ -278,7 +278,7 @@ declare namespace rstream {
|
|
|
278
278
|
*/
|
|
279
279
|
constructor(properties?: rstream.webtty.protobuf.Username.$Properties);
|
|
280
280
|
|
|
281
|
-
/** Unknown fields preserved while decoding */
|
|
281
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
282
282
|
$unknowns?: Uint8Array[];
|
|
283
283
|
|
|
284
284
|
/** Username name. */
|
|
@@ -383,18 +383,18 @@ declare namespace rstream {
|
|
|
383
383
|
/** Username payload */
|
|
384
384
|
payload?: ("name"|"id");
|
|
385
385
|
|
|
386
|
-
/** Unknown fields preserved while decoding */
|
|
386
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
387
387
|
$unknowns?: Uint8Array[];
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
/** Narrowed shape of a Username. */
|
|
391
391
|
type $Shape = {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
} & (
|
|
396
|
-
|
|
397
|
-
);
|
|
392
|
+
name?: string|null;
|
|
393
|
+
id?: number|null;
|
|
394
|
+
$unknowns?: Uint8Array[];
|
|
395
|
+
} & (
|
|
396
|
+
({ payload?: undefined; name?: null; id?: null }|{ payload?: "name"; name: string; id?: null }|{ payload?: "id"; name?: null; id: number })
|
|
397
|
+
);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
/**
|
|
@@ -413,7 +413,7 @@ declare namespace rstream {
|
|
|
413
413
|
*/
|
|
414
414
|
constructor(properties?: rstream.webtty.protobuf.Workdir.$Properties);
|
|
415
415
|
|
|
416
|
-
/** Unknown fields preserved while decoding */
|
|
416
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
417
417
|
$unknowns?: Uint8Array[];
|
|
418
418
|
|
|
419
419
|
/** Workdir value. */
|
|
@@ -506,7 +506,7 @@ declare namespace rstream {
|
|
|
506
506
|
/** Workdir value */
|
|
507
507
|
value?: (string|null);
|
|
508
508
|
|
|
509
|
-
/** Unknown fields preserved while decoding */
|
|
509
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
510
510
|
$unknowns?: Uint8Array[];
|
|
511
511
|
}
|
|
512
512
|
|
|
@@ -530,7 +530,7 @@ declare namespace rstream {
|
|
|
530
530
|
*/
|
|
531
531
|
constructor(properties?: rstream.webtty.protobuf.Config.$Properties);
|
|
532
532
|
|
|
533
|
-
/** Unknown fields preserved while decoding */
|
|
533
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
534
534
|
$unknowns?: Uint8Array[];
|
|
535
535
|
|
|
536
536
|
/** Config options. */
|
|
@@ -647,19 +647,19 @@ declare namespace rstream {
|
|
|
647
647
|
/** Config username */
|
|
648
648
|
username?: (rstream.webtty.protobuf.Username.$Properties|null);
|
|
649
649
|
|
|
650
|
-
/** Unknown fields preserved while decoding */
|
|
650
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
651
651
|
$unknowns?: Uint8Array[];
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
/** Shape of a Config. */
|
|
655
655
|
type $Shape = {
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
};
|
|
656
|
+
options?: rstream.webtty.protobuf.Options.$Shape|null;
|
|
657
|
+
cmdArgs?: string[]|null;
|
|
658
|
+
envVars?: rstream.webtty.protobuf.Environment.$Shape[]|null;
|
|
659
|
+
workdir?: rstream.webtty.protobuf.Workdir.$Shape|null;
|
|
660
|
+
username?: rstream.webtty.protobuf.Username.$Shape|null;
|
|
661
|
+
$unknowns?: Uint8Array[];
|
|
662
|
+
};
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
/** OpenCapability enum. */
|
|
@@ -685,7 +685,10 @@ declare namespace rstream {
|
|
|
685
685
|
PAYLOAD_CIPHER_SUITE_AES_256_GCM = 1,
|
|
686
686
|
|
|
687
687
|
/** PAYLOAD_CIPHER_SUITE_CHACHA20_POLY1305 value */
|
|
688
|
-
PAYLOAD_CIPHER_SUITE_CHACHA20_POLY1305 = 2
|
|
688
|
+
PAYLOAD_CIPHER_SUITE_CHACHA20_POLY1305 = 2,
|
|
689
|
+
|
|
690
|
+
/** PAYLOAD_CIPHER_SUITE_AES_256_GCM_RANDOM_NONCE value */
|
|
691
|
+
PAYLOAD_CIPHER_SUITE_AES_256_GCM_RANDOM_NONCE = 3
|
|
689
692
|
}
|
|
690
693
|
|
|
691
694
|
/** KeyEnvelopeSuite enum. */
|
|
@@ -698,7 +701,10 @@ declare namespace rstream {
|
|
|
698
701
|
KEY_ENVELOPE_SUITE_HPKE_X25519_HKDF_SHA256_AES_256_GCM = 1,
|
|
699
702
|
|
|
700
703
|
/** KEY_ENVELOPE_SUITE_HPKE_X25519_HKDF_SHA256_CHACHA20_POLY1305 value */
|
|
701
|
-
KEY_ENVELOPE_SUITE_HPKE_X25519_HKDF_SHA256_CHACHA20_POLY1305 = 2
|
|
704
|
+
KEY_ENVELOPE_SUITE_HPKE_X25519_HKDF_SHA256_CHACHA20_POLY1305 = 2,
|
|
705
|
+
|
|
706
|
+
/** KEY_ENVELOPE_SUITE_P256_HKDF_SHA256_AES_256_GCM_RANDOM_NONCE value */
|
|
707
|
+
KEY_ENVELOPE_SUITE_P256_HKDF_SHA256_AES_256_GCM_RANDOM_NONCE = 3
|
|
702
708
|
}
|
|
703
709
|
|
|
704
710
|
/** ProtocolVersion enum. */
|
|
@@ -799,7 +805,7 @@ declare namespace rstream {
|
|
|
799
805
|
*/
|
|
800
806
|
constructor(properties?: rstream.webtty.protobuf.KeyEnvelope.$Properties);
|
|
801
807
|
|
|
802
|
-
/** Unknown fields preserved while decoding */
|
|
808
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
803
809
|
$unknowns?: Uint8Array[];
|
|
804
810
|
|
|
805
811
|
/** KeyEnvelope recipientKeyId. */
|
|
@@ -904,7 +910,7 @@ declare namespace rstream {
|
|
|
904
910
|
/** KeyEnvelope wrappedKey */
|
|
905
911
|
wrappedKey?: (Uint8Array|null);
|
|
906
912
|
|
|
907
|
-
/** Unknown fields preserved while decoding */
|
|
913
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
908
914
|
$unknowns?: Uint8Array[];
|
|
909
915
|
}
|
|
910
916
|
|
|
@@ -928,7 +934,7 @@ declare namespace rstream {
|
|
|
928
934
|
*/
|
|
929
935
|
constructor(properties?: rstream.webtty.protobuf.EndpointIdentity.$Properties);
|
|
930
936
|
|
|
931
|
-
/** Unknown fields preserved while decoding */
|
|
937
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
932
938
|
$unknowns?: Uint8Array[];
|
|
933
939
|
|
|
934
940
|
/** EndpointIdentity signingKeyId. */
|
|
@@ -1051,7 +1057,7 @@ declare namespace rstream {
|
|
|
1051
1057
|
/** EndpointIdentity keyEnvelopeSuite */
|
|
1052
1058
|
keyEnvelopeSuite?: (rstream.webtty.protobuf.KeyEnvelopeSuite|null);
|
|
1053
1059
|
|
|
1054
|
-
/** Unknown fields preserved while decoding */
|
|
1060
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1055
1061
|
$unknowns?: Uint8Array[];
|
|
1056
1062
|
}
|
|
1057
1063
|
|
|
@@ -1075,7 +1081,7 @@ declare namespace rstream {
|
|
|
1075
1081
|
*/
|
|
1076
1082
|
constructor(properties?: rstream.webtty.protobuf.ServerProof.$Properties);
|
|
1077
1083
|
|
|
1078
|
-
/** Unknown fields preserved while decoding */
|
|
1084
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1079
1085
|
$unknowns?: Uint8Array[];
|
|
1080
1086
|
|
|
1081
1087
|
/** ServerProof signatureSuite. */
|
|
@@ -1186,7 +1192,7 @@ declare namespace rstream {
|
|
|
1186
1192
|
/** ServerProof signature */
|
|
1187
1193
|
signature?: (Uint8Array|null);
|
|
1188
1194
|
|
|
1189
|
-
/** Unknown fields preserved while decoding */
|
|
1195
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1190
1196
|
$unknowns?: Uint8Array[];
|
|
1191
1197
|
}
|
|
1192
1198
|
|
|
@@ -1210,7 +1216,7 @@ declare namespace rstream {
|
|
|
1210
1216
|
*/
|
|
1211
1217
|
constructor(properties?: rstream.webtty.protobuf.ServerHello.$Properties);
|
|
1212
1218
|
|
|
1213
|
-
/** Unknown fields preserved while decoding */
|
|
1219
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1214
1220
|
$unknowns?: Uint8Array[];
|
|
1215
1221
|
|
|
1216
1222
|
/** ServerHello protocolVersion. */
|
|
@@ -1369,7 +1375,7 @@ declare namespace rstream {
|
|
|
1369
1375
|
/** ServerHello serverProof */
|
|
1370
1376
|
serverProof?: (rstream.webtty.protobuf.ServerProof.$Properties|null);
|
|
1371
1377
|
|
|
1372
|
-
/** Unknown fields preserved while decoding */
|
|
1378
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1373
1379
|
$unknowns?: Uint8Array[];
|
|
1374
1380
|
}
|
|
1375
1381
|
|
|
@@ -1393,7 +1399,7 @@ declare namespace rstream {
|
|
|
1393
1399
|
*/
|
|
1394
1400
|
constructor(properties?: rstream.webtty.protobuf.ClientHello.$Properties);
|
|
1395
1401
|
|
|
1396
|
-
/** Unknown fields preserved while decoding */
|
|
1402
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1397
1403
|
$unknowns?: Uint8Array[];
|
|
1398
1404
|
|
|
1399
1405
|
/** ClientHello protocolVersion. */
|
|
@@ -1486,7 +1492,7 @@ declare namespace rstream {
|
|
|
1486
1492
|
/** ClientHello protocolVersion */
|
|
1487
1493
|
protocolVersion?: (rstream.webtty.protobuf.ProtocolVersion|null);
|
|
1488
1494
|
|
|
1489
|
-
/** Unknown fields preserved while decoding */
|
|
1495
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1490
1496
|
$unknowns?: Uint8Array[];
|
|
1491
1497
|
}
|
|
1492
1498
|
|
|
@@ -1510,7 +1516,7 @@ declare namespace rstream {
|
|
|
1510
1516
|
*/
|
|
1511
1517
|
constructor(properties?: rstream.webtty.protobuf.SessionKeyGrant.$Properties);
|
|
1512
1518
|
|
|
1513
|
-
/** Unknown fields preserved while decoding */
|
|
1519
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1514
1520
|
$unknowns?: Uint8Array[];
|
|
1515
1521
|
|
|
1516
1522
|
/** SessionKeyGrant payloadSuite. */
|
|
@@ -1627,7 +1633,7 @@ declare namespace rstream {
|
|
|
1627
1633
|
/** SessionKeyGrant keyEnvelopeSuite */
|
|
1628
1634
|
keyEnvelopeSuite?: (rstream.webtty.protobuf.KeyEnvelopeSuite|null);
|
|
1629
1635
|
|
|
1630
|
-
/** Unknown fields preserved while decoding */
|
|
1636
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1631
1637
|
$unknowns?: Uint8Array[];
|
|
1632
1638
|
}
|
|
1633
1639
|
|
|
@@ -1651,7 +1657,7 @@ declare namespace rstream {
|
|
|
1651
1657
|
*/
|
|
1652
1658
|
constructor(properties?: rstream.webtty.protobuf.PayloadCrypto.$Properties);
|
|
1653
1659
|
|
|
1654
|
-
/** Unknown fields preserved while decoding */
|
|
1660
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1655
1661
|
$unknowns?: Uint8Array[];
|
|
1656
1662
|
|
|
1657
1663
|
/** PayloadCrypto payloadSuite. */
|
|
@@ -1762,7 +1768,7 @@ declare namespace rstream {
|
|
|
1762
1768
|
/** PayloadCrypto aadContext */
|
|
1763
1769
|
aadContext?: (Uint8Array|null);
|
|
1764
1770
|
|
|
1765
|
-
/** Unknown fields preserved while decoding */
|
|
1771
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1766
1772
|
$unknowns?: Uint8Array[];
|
|
1767
1773
|
}
|
|
1768
1774
|
|
|
@@ -1786,7 +1792,7 @@ declare namespace rstream {
|
|
|
1786
1792
|
*/
|
|
1787
1793
|
constructor(properties?: rstream.webtty.protobuf.ClientProof.$Properties);
|
|
1788
1794
|
|
|
1789
|
-
/** Unknown fields preserved while decoding */
|
|
1795
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1790
1796
|
$unknowns?: Uint8Array[];
|
|
1791
1797
|
|
|
1792
1798
|
/** ClientProof principalId. */
|
|
@@ -1939,7 +1945,7 @@ declare namespace rstream {
|
|
|
1939
1945
|
/** ClientProof credential */
|
|
1940
1946
|
credential?: (google.protobuf.BytesValue.$Properties|null);
|
|
1941
1947
|
|
|
1942
|
-
/** Unknown fields preserved while decoding */
|
|
1948
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1943
1949
|
$unknowns?: Uint8Array[];
|
|
1944
1950
|
}
|
|
1945
1951
|
|
|
@@ -1963,7 +1969,7 @@ declare namespace rstream {
|
|
|
1963
1969
|
*/
|
|
1964
1970
|
constructor(properties?: rstream.webtty.protobuf.ProtocolError.$Properties);
|
|
1965
1971
|
|
|
1966
|
-
/** Unknown fields preserved while decoding */
|
|
1972
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
1967
1973
|
$unknowns?: Uint8Array[];
|
|
1968
1974
|
|
|
1969
1975
|
/** ProtocolError code. */
|
|
@@ -2062,7 +2068,7 @@ declare namespace rstream {
|
|
|
2062
2068
|
/** ProtocolError msg */
|
|
2063
2069
|
msg?: (string|null);
|
|
2064
2070
|
|
|
2065
|
-
/** Unknown fields preserved while decoding */
|
|
2071
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2066
2072
|
$unknowns?: Uint8Array[];
|
|
2067
2073
|
}
|
|
2068
2074
|
|
|
@@ -2086,7 +2092,7 @@ declare namespace rstream {
|
|
|
2086
2092
|
*/
|
|
2087
2093
|
constructor(properties?: rstream.webtty.protobuf.Open.$Properties);
|
|
2088
2094
|
|
|
2089
|
-
/** Unknown fields preserved while decoding */
|
|
2095
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2090
2096
|
$unknowns?: Uint8Array[];
|
|
2091
2097
|
|
|
2092
2098
|
/** Open config. */
|
|
@@ -2197,18 +2203,18 @@ declare namespace rstream {
|
|
|
2197
2203
|
/** Open clientProof */
|
|
2198
2204
|
clientProof?: (rstream.webtty.protobuf.ClientProof.$Properties|null);
|
|
2199
2205
|
|
|
2200
|
-
/** Unknown fields preserved while decoding */
|
|
2206
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2201
2207
|
$unknowns?: Uint8Array[];
|
|
2202
2208
|
}
|
|
2203
2209
|
|
|
2204
2210
|
/** Shape of an Open. */
|
|
2205
2211
|
type $Shape = {
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
};
|
|
2212
|
+
config?: rstream.webtty.protobuf.Config.$Shape|null;
|
|
2213
|
+
capabilities?: rstream.webtty.protobuf.OpenCapability[]|null;
|
|
2214
|
+
sessionKeyGrant?: rstream.webtty.protobuf.SessionKeyGrant.$Shape|null;
|
|
2215
|
+
clientProof?: rstream.webtty.protobuf.ClientProof.$Shape|null;
|
|
2216
|
+
$unknowns?: Uint8Array[];
|
|
2217
|
+
};
|
|
2212
2218
|
}
|
|
2213
2219
|
|
|
2214
2220
|
/** AttachRole enum. */
|
|
@@ -2272,7 +2278,7 @@ declare namespace rstream {
|
|
|
2272
2278
|
*/
|
|
2273
2279
|
constructor(properties?: rstream.webtty.protobuf.Attach.$Properties);
|
|
2274
2280
|
|
|
2275
|
-
/** Unknown fields preserved while decoding */
|
|
2281
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2276
2282
|
$unknowns?: Uint8Array[];
|
|
2277
2283
|
|
|
2278
2284
|
/** Attach sessionId. */
|
|
@@ -2413,7 +2419,7 @@ declare namespace rstream {
|
|
|
2413
2419
|
/** Attach clientProof */
|
|
2414
2420
|
clientProof?: (rstream.webtty.protobuf.ClientProof.$Properties|null);
|
|
2415
2421
|
|
|
2416
|
-
/** Unknown fields preserved while decoding */
|
|
2422
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2417
2423
|
$unknowns?: Uint8Array[];
|
|
2418
2424
|
}
|
|
2419
2425
|
|
|
@@ -2437,7 +2443,7 @@ declare namespace rstream {
|
|
|
2437
2443
|
*/
|
|
2438
2444
|
constructor(properties?: rstream.webtty.protobuf.Ack.$Properties);
|
|
2439
2445
|
|
|
2440
|
-
/** Unknown fields preserved while decoding */
|
|
2446
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2441
2447
|
$unknowns?: Uint8Array[];
|
|
2442
2448
|
|
|
2443
2449
|
/**
|
|
@@ -2524,7 +2530,7 @@ declare namespace rstream {
|
|
|
2524
2530
|
/** Properties of an Ack. */
|
|
2525
2531
|
interface $Properties {
|
|
2526
2532
|
|
|
2527
|
-
/** Unknown fields preserved while decoding */
|
|
2533
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2528
2534
|
$unknowns?: Uint8Array[];
|
|
2529
2535
|
}
|
|
2530
2536
|
|
|
@@ -2548,7 +2554,7 @@ declare namespace rstream {
|
|
|
2548
2554
|
*/
|
|
2549
2555
|
constructor(properties?: rstream.webtty.protobuf.Error.$Properties);
|
|
2550
2556
|
|
|
2551
|
-
/** Unknown fields preserved while decoding */
|
|
2557
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2552
2558
|
$unknowns?: Uint8Array[];
|
|
2553
2559
|
|
|
2554
2560
|
/** Error msg. */
|
|
@@ -2641,7 +2647,7 @@ declare namespace rstream {
|
|
|
2641
2647
|
/** Error msg */
|
|
2642
2648
|
msg?: (string|null);
|
|
2643
2649
|
|
|
2644
|
-
/** Unknown fields preserved while decoding */
|
|
2650
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2645
2651
|
$unknowns?: Uint8Array[];
|
|
2646
2652
|
}
|
|
2647
2653
|
|
|
@@ -2665,7 +2671,7 @@ declare namespace rstream {
|
|
|
2665
2671
|
*/
|
|
2666
2672
|
constructor(properties?: rstream.webtty.protobuf.Close.$Properties);
|
|
2667
2673
|
|
|
2668
|
-
/** Unknown fields preserved while decoding */
|
|
2674
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2669
2675
|
$unknowns?: Uint8Array[];
|
|
2670
2676
|
|
|
2671
2677
|
/** Close returnCode. */
|
|
@@ -2758,7 +2764,7 @@ declare namespace rstream {
|
|
|
2758
2764
|
/** Close returnCode */
|
|
2759
2765
|
returnCode?: (number|null);
|
|
2760
2766
|
|
|
2761
|
-
/** Unknown fields preserved while decoding */
|
|
2767
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2762
2768
|
$unknowns?: Uint8Array[];
|
|
2763
2769
|
}
|
|
2764
2770
|
|
|
@@ -2782,7 +2788,7 @@ declare namespace rstream {
|
|
|
2782
2788
|
*/
|
|
2783
2789
|
constructor(properties?: rstream.webtty.protobuf.EndOfStream.$Properties);
|
|
2784
2790
|
|
|
2785
|
-
/** Unknown fields preserved while decoding */
|
|
2791
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2786
2792
|
$unknowns?: Uint8Array[];
|
|
2787
2793
|
|
|
2788
2794
|
/**
|
|
@@ -2869,7 +2875,7 @@ declare namespace rstream {
|
|
|
2869
2875
|
/** Properties of an EndOfStream. */
|
|
2870
2876
|
interface $Properties {
|
|
2871
2877
|
|
|
2872
|
-
/** Unknown fields preserved while decoding */
|
|
2878
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2873
2879
|
$unknowns?: Uint8Array[];
|
|
2874
2880
|
}
|
|
2875
2881
|
|
|
@@ -2893,7 +2899,7 @@ declare namespace rstream {
|
|
|
2893
2899
|
*/
|
|
2894
2900
|
constructor(properties?: rstream.webtty.protobuf.EncryptedPayload.$Properties);
|
|
2895
2901
|
|
|
2896
|
-
/** Unknown fields preserved while decoding */
|
|
2902
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
2897
2903
|
$unknowns?: Uint8Array[];
|
|
2898
2904
|
|
|
2899
2905
|
/** EncryptedPayload ciphertext. */
|
|
@@ -2998,7 +3004,7 @@ declare namespace rstream {
|
|
|
2998
3004
|
/** EncryptedPayload payloadCrypto */
|
|
2999
3005
|
payloadCrypto?: (rstream.webtty.protobuf.PayloadCrypto.$Properties|null);
|
|
3000
3006
|
|
|
3001
|
-
/** Unknown fields preserved while decoding */
|
|
3007
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3002
3008
|
$unknowns?: Uint8Array[];
|
|
3003
3009
|
}
|
|
3004
3010
|
|
|
@@ -3022,7 +3028,7 @@ declare namespace rstream {
|
|
|
3022
3028
|
*/
|
|
3023
3029
|
constructor(properties?: rstream.webtty.protobuf.Data.$Properties);
|
|
3024
3030
|
|
|
3025
|
-
/** Unknown fields preserved while decoding */
|
|
3031
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3026
3032
|
$unknowns?: Uint8Array[];
|
|
3027
3033
|
|
|
3028
3034
|
/** Data type. */
|
|
@@ -3139,20 +3145,20 @@ declare namespace rstream {
|
|
|
3139
3145
|
/** Data payload */
|
|
3140
3146
|
payload?: ("data"|"eos"|"encryptedData");
|
|
3141
3147
|
|
|
3142
|
-
/** Unknown fields preserved while decoding */
|
|
3148
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3143
3149
|
$unknowns?: Uint8Array[];
|
|
3144
3150
|
}
|
|
3145
3151
|
|
|
3146
3152
|
/** Narrowed shape of a Data. */
|
|
3147
3153
|
type $Shape = {
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
} & (
|
|
3154
|
-
|
|
3155
|
-
);
|
|
3154
|
+
type?: rstream.webtty.protobuf.Data.Type|null;
|
|
3155
|
+
data?: Uint8Array|null;
|
|
3156
|
+
eos?: rstream.webtty.protobuf.EndOfStream.$Shape|null;
|
|
3157
|
+
encryptedData?: rstream.webtty.protobuf.EncryptedPayload.$Shape|null;
|
|
3158
|
+
$unknowns?: Uint8Array[];
|
|
3159
|
+
} & (
|
|
3160
|
+
({ payload?: undefined; data?: null; eos?: null; encryptedData?: null }|{ payload?: "data"; data: Uint8Array; eos?: null; encryptedData?: null }|{ payload?: "eos"; data?: null; eos: rstream.webtty.protobuf.EndOfStream.$Shape; encryptedData?: null }|{ payload?: "encryptedData"; data?: null; eos?: null; encryptedData: rstream.webtty.protobuf.EncryptedPayload.$Shape })
|
|
3161
|
+
);
|
|
3156
3162
|
|
|
3157
3163
|
/** Type enum. */
|
|
3158
3164
|
enum Type {
|
|
@@ -3184,7 +3190,7 @@ declare namespace rstream {
|
|
|
3184
3190
|
*/
|
|
3185
3191
|
constructor(properties?: rstream.webtty.protobuf.TerminalSize.$Properties);
|
|
3186
3192
|
|
|
3187
|
-
/** Unknown fields preserved while decoding */
|
|
3193
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3188
3194
|
$unknowns?: Uint8Array[];
|
|
3189
3195
|
|
|
3190
3196
|
/** TerminalSize row. */
|
|
@@ -3295,7 +3301,7 @@ declare namespace rstream {
|
|
|
3295
3301
|
/** TerminalSize ypixel */
|
|
3296
3302
|
ypixel?: (number|null);
|
|
3297
3303
|
|
|
3298
|
-
/** Unknown fields preserved while decoding */
|
|
3304
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3299
3305
|
$unknowns?: Uint8Array[];
|
|
3300
3306
|
}
|
|
3301
3307
|
|
|
@@ -3319,7 +3325,7 @@ declare namespace rstream {
|
|
|
3319
3325
|
*/
|
|
3320
3326
|
constructor(properties?: rstream.webtty.protobuf.Parameter.$Properties);
|
|
3321
3327
|
|
|
3322
|
-
/** Unknown fields preserved while decoding */
|
|
3328
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3323
3329
|
$unknowns?: Uint8Array[];
|
|
3324
3330
|
|
|
3325
3331
|
/** Parameter terminalSize. */
|
|
@@ -3418,17 +3424,17 @@ declare namespace rstream {
|
|
|
3418
3424
|
/** Parameter parameter */
|
|
3419
3425
|
parameter?: "terminalSize";
|
|
3420
3426
|
|
|
3421
|
-
/** Unknown fields preserved while decoding */
|
|
3427
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3422
3428
|
$unknowns?: Uint8Array[];
|
|
3423
3429
|
}
|
|
3424
3430
|
|
|
3425
3431
|
/** Narrowed shape of a Parameter. */
|
|
3426
3432
|
type $Shape = {
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
} & (
|
|
3430
|
-
|
|
3431
|
-
);
|
|
3433
|
+
terminalSize?: rstream.webtty.protobuf.TerminalSize.$Shape|null;
|
|
3434
|
+
$unknowns?: Uint8Array[];
|
|
3435
|
+
} & (
|
|
3436
|
+
({ parameter?: undefined; terminalSize?: null }|{ parameter?: "terminalSize"; terminalSize: rstream.webtty.protobuf.TerminalSize.$Shape })
|
|
3437
|
+
);
|
|
3432
3438
|
}
|
|
3433
3439
|
|
|
3434
3440
|
/**
|
|
@@ -3447,7 +3453,7 @@ declare namespace rstream {
|
|
|
3447
3453
|
*/
|
|
3448
3454
|
constructor(properties?: rstream.webtty.protobuf.Heartbeat.$Properties);
|
|
3449
3455
|
|
|
3450
|
-
/** Unknown fields preserved while decoding */
|
|
3456
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3451
3457
|
$unknowns?: Uint8Array[];
|
|
3452
3458
|
|
|
3453
3459
|
/**
|
|
@@ -3534,7 +3540,7 @@ declare namespace rstream {
|
|
|
3534
3540
|
/** Properties of a Heartbeat. */
|
|
3535
3541
|
interface $Properties {
|
|
3536
3542
|
|
|
3537
|
-
/** Unknown fields preserved while decoding */
|
|
3543
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3538
3544
|
$unknowns?: Uint8Array[];
|
|
3539
3545
|
}
|
|
3540
3546
|
|
|
@@ -3558,7 +3564,7 @@ declare namespace rstream {
|
|
|
3558
3564
|
*/
|
|
3559
3565
|
constructor(properties?: rstream.webtty.protobuf.Message.$Properties);
|
|
3560
3566
|
|
|
3561
|
-
/** Unknown fields preserved while decoding */
|
|
3567
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3562
3568
|
$unknowns?: Uint8Array[];
|
|
3563
3569
|
|
|
3564
3570
|
/** Message open. */
|
|
@@ -3717,27 +3723,27 @@ declare namespace rstream {
|
|
|
3717
3723
|
/** Message payload */
|
|
3718
3724
|
payload?: ("open"|"ack"|"error"|"close"|"data"|"parameter"|"heartbeat"|"attach"|"serverHello"|"protocolError"|"clientHello");
|
|
3719
3725
|
|
|
3720
|
-
/** Unknown fields preserved while decoding */
|
|
3726
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3721
3727
|
$unknowns?: Uint8Array[];
|
|
3722
3728
|
}
|
|
3723
3729
|
|
|
3724
3730
|
/** Narrowed shape of a Message. */
|
|
3725
3731
|
type $Shape = {
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
} & (
|
|
3739
|
-
|
|
3740
|
-
);
|
|
3732
|
+
open?: rstream.webtty.protobuf.Open.$Shape|null;
|
|
3733
|
+
ack?: rstream.webtty.protobuf.Ack.$Shape|null;
|
|
3734
|
+
error?: rstream.webtty.protobuf.Error.$Shape|null;
|
|
3735
|
+
close?: rstream.webtty.protobuf.Close.$Shape|null;
|
|
3736
|
+
data?: rstream.webtty.protobuf.Data.$Shape|null;
|
|
3737
|
+
parameter?: rstream.webtty.protobuf.Parameter.$Shape|null;
|
|
3738
|
+
heartbeat?: rstream.webtty.protobuf.Heartbeat.$Shape|null;
|
|
3739
|
+
attach?: rstream.webtty.protobuf.Attach.$Shape|null;
|
|
3740
|
+
serverHello?: rstream.webtty.protobuf.ServerHello.$Shape|null;
|
|
3741
|
+
protocolError?: rstream.webtty.protobuf.ProtocolError.$Shape|null;
|
|
3742
|
+
clientHello?: rstream.webtty.protobuf.ClientHello.$Shape|null;
|
|
3743
|
+
$unknowns?: Uint8Array[];
|
|
3744
|
+
} & (
|
|
3745
|
+
({ payload?: undefined; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "open"; open: rstream.webtty.protobuf.Open.$Shape; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "ack"; open?: null; ack: rstream.webtty.protobuf.Ack.$Shape; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "error"; open?: null; ack?: null; error: rstream.webtty.protobuf.Error.$Shape; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "close"; open?: null; ack?: null; error?: null; close: rstream.webtty.protobuf.Close.$Shape; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "data"; open?: null; ack?: null; error?: null; close?: null; data: rstream.webtty.protobuf.Data.$Shape; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "parameter"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter: rstream.webtty.protobuf.Parameter.$Shape; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "heartbeat"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat: rstream.webtty.protobuf.Heartbeat.$Shape; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "attach"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach: rstream.webtty.protobuf.Attach.$Shape; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "serverHello"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello: rstream.webtty.protobuf.ServerHello.$Shape; protocolError?: null; clientHello?: null }|{ payload?: "protocolError"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError: rstream.webtty.protobuf.ProtocolError.$Shape; clientHello?: null }|{ payload?: "clientHello"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello: rstream.webtty.protobuf.ClientHello.$Shape })
|
|
3746
|
+
);
|
|
3741
3747
|
}
|
|
3742
3748
|
}
|
|
3743
3749
|
}
|
|
@@ -3765,7 +3771,7 @@ declare namespace google {
|
|
|
3765
3771
|
*/
|
|
3766
3772
|
constructor(properties?: google.protobuf.DoubleValue.$Properties);
|
|
3767
3773
|
|
|
3768
|
-
/** Unknown fields preserved while decoding */
|
|
3774
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3769
3775
|
$unknowns?: Uint8Array[];
|
|
3770
3776
|
|
|
3771
3777
|
/** DoubleValue value. */
|
|
@@ -3858,7 +3864,7 @@ declare namespace google {
|
|
|
3858
3864
|
/** DoubleValue value */
|
|
3859
3865
|
value?: (number|null);
|
|
3860
3866
|
|
|
3861
|
-
/** Unknown fields preserved while decoding */
|
|
3867
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3862
3868
|
$unknowns?: Uint8Array[];
|
|
3863
3869
|
}
|
|
3864
3870
|
|
|
@@ -3882,7 +3888,7 @@ declare namespace google {
|
|
|
3882
3888
|
*/
|
|
3883
3889
|
constructor(properties?: google.protobuf.FloatValue.$Properties);
|
|
3884
3890
|
|
|
3885
|
-
/** Unknown fields preserved while decoding */
|
|
3891
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3886
3892
|
$unknowns?: Uint8Array[];
|
|
3887
3893
|
|
|
3888
3894
|
/** FloatValue value. */
|
|
@@ -3975,7 +3981,7 @@ declare namespace google {
|
|
|
3975
3981
|
/** FloatValue value */
|
|
3976
3982
|
value?: (number|null);
|
|
3977
3983
|
|
|
3978
|
-
/** Unknown fields preserved while decoding */
|
|
3984
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
3979
3985
|
$unknowns?: Uint8Array[];
|
|
3980
3986
|
}
|
|
3981
3987
|
|
|
@@ -3999,7 +4005,7 @@ declare namespace google {
|
|
|
3999
4005
|
*/
|
|
4000
4006
|
constructor(properties?: google.protobuf.Int64Value.$Properties);
|
|
4001
4007
|
|
|
4002
|
-
/** Unknown fields preserved while decoding */
|
|
4008
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4003
4009
|
$unknowns?: Uint8Array[];
|
|
4004
4010
|
|
|
4005
4011
|
/** Int64Value value. */
|
|
@@ -4092,7 +4098,7 @@ declare namespace google {
|
|
|
4092
4098
|
/** Int64Value value */
|
|
4093
4099
|
value?: (number|Long|null);
|
|
4094
4100
|
|
|
4095
|
-
/** Unknown fields preserved while decoding */
|
|
4101
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4096
4102
|
$unknowns?: Uint8Array[];
|
|
4097
4103
|
}
|
|
4098
4104
|
|
|
@@ -4116,7 +4122,7 @@ declare namespace google {
|
|
|
4116
4122
|
*/
|
|
4117
4123
|
constructor(properties?: google.protobuf.UInt64Value.$Properties);
|
|
4118
4124
|
|
|
4119
|
-
/** Unknown fields preserved while decoding */
|
|
4125
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4120
4126
|
$unknowns?: Uint8Array[];
|
|
4121
4127
|
|
|
4122
4128
|
/** UInt64Value value. */
|
|
@@ -4209,7 +4215,7 @@ declare namespace google {
|
|
|
4209
4215
|
/** UInt64Value value */
|
|
4210
4216
|
value?: (number|Long|null);
|
|
4211
4217
|
|
|
4212
|
-
/** Unknown fields preserved while decoding */
|
|
4218
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4213
4219
|
$unknowns?: Uint8Array[];
|
|
4214
4220
|
}
|
|
4215
4221
|
|
|
@@ -4233,7 +4239,7 @@ declare namespace google {
|
|
|
4233
4239
|
*/
|
|
4234
4240
|
constructor(properties?: google.protobuf.Int32Value.$Properties);
|
|
4235
4241
|
|
|
4236
|
-
/** Unknown fields preserved while decoding */
|
|
4242
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4237
4243
|
$unknowns?: Uint8Array[];
|
|
4238
4244
|
|
|
4239
4245
|
/** Int32Value value. */
|
|
@@ -4326,7 +4332,7 @@ declare namespace google {
|
|
|
4326
4332
|
/** Int32Value value */
|
|
4327
4333
|
value?: (number|null);
|
|
4328
4334
|
|
|
4329
|
-
/** Unknown fields preserved while decoding */
|
|
4335
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4330
4336
|
$unknowns?: Uint8Array[];
|
|
4331
4337
|
}
|
|
4332
4338
|
|
|
@@ -4350,7 +4356,7 @@ declare namespace google {
|
|
|
4350
4356
|
*/
|
|
4351
4357
|
constructor(properties?: google.protobuf.UInt32Value.$Properties);
|
|
4352
4358
|
|
|
4353
|
-
/** Unknown fields preserved while decoding */
|
|
4359
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4354
4360
|
$unknowns?: Uint8Array[];
|
|
4355
4361
|
|
|
4356
4362
|
/** UInt32Value value. */
|
|
@@ -4443,7 +4449,7 @@ declare namespace google {
|
|
|
4443
4449
|
/** UInt32Value value */
|
|
4444
4450
|
value?: (number|null);
|
|
4445
4451
|
|
|
4446
|
-
/** Unknown fields preserved while decoding */
|
|
4452
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4447
4453
|
$unknowns?: Uint8Array[];
|
|
4448
4454
|
}
|
|
4449
4455
|
|
|
@@ -4467,7 +4473,7 @@ declare namespace google {
|
|
|
4467
4473
|
*/
|
|
4468
4474
|
constructor(properties?: google.protobuf.BoolValue.$Properties);
|
|
4469
4475
|
|
|
4470
|
-
/** Unknown fields preserved while decoding */
|
|
4476
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4471
4477
|
$unknowns?: Uint8Array[];
|
|
4472
4478
|
|
|
4473
4479
|
/** BoolValue value. */
|
|
@@ -4560,7 +4566,7 @@ declare namespace google {
|
|
|
4560
4566
|
/** BoolValue value */
|
|
4561
4567
|
value?: (boolean|null);
|
|
4562
4568
|
|
|
4563
|
-
/** Unknown fields preserved while decoding */
|
|
4569
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4564
4570
|
$unknowns?: Uint8Array[];
|
|
4565
4571
|
}
|
|
4566
4572
|
|
|
@@ -4584,7 +4590,7 @@ declare namespace google {
|
|
|
4584
4590
|
*/
|
|
4585
4591
|
constructor(properties?: google.protobuf.StringValue.$Properties);
|
|
4586
4592
|
|
|
4587
|
-
/** Unknown fields preserved while decoding */
|
|
4593
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4588
4594
|
$unknowns?: Uint8Array[];
|
|
4589
4595
|
|
|
4590
4596
|
/** StringValue value. */
|
|
@@ -4677,7 +4683,7 @@ declare namespace google {
|
|
|
4677
4683
|
/** StringValue value */
|
|
4678
4684
|
value?: (string|null);
|
|
4679
4685
|
|
|
4680
|
-
/** Unknown fields preserved while decoding */
|
|
4686
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4681
4687
|
$unknowns?: Uint8Array[];
|
|
4682
4688
|
}
|
|
4683
4689
|
|
|
@@ -4701,7 +4707,7 @@ declare namespace google {
|
|
|
4701
4707
|
*/
|
|
4702
4708
|
constructor(properties?: google.protobuf.BytesValue.$Properties);
|
|
4703
4709
|
|
|
4704
|
-
/** Unknown fields preserved while decoding */
|
|
4710
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4705
4711
|
$unknowns?: Uint8Array[];
|
|
4706
4712
|
|
|
4707
4713
|
/** BytesValue value. */
|
|
@@ -4794,7 +4800,7 @@ declare namespace google {
|
|
|
4794
4800
|
/** BytesValue value */
|
|
4795
4801
|
value?: (Uint8Array|null);
|
|
4796
4802
|
|
|
4797
|
-
/** Unknown fields preserved while decoding */
|
|
4803
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
4798
4804
|
$unknowns?: Uint8Array[];
|
|
4799
4805
|
}
|
|
4800
4806
|
|
|
@@ -4868,9 +4874,13 @@ interface WebTTYClientConfig {
|
|
|
4868
4874
|
}
|
|
4869
4875
|
type WebTTYClientTransport = "websocket" | "webtransport";
|
|
4870
4876
|
interface WebTTYClientEndpointIdentity {
|
|
4877
|
+
/** Suite profile bound into client proof transcripts. */
|
|
4878
|
+
keyEnvelopeSuite?: WebTTYKeyEnvelopeSuite;
|
|
4871
4879
|
signing: WebTTYSigningIdentity;
|
|
4872
4880
|
}
|
|
4873
4881
|
interface WebTTYExpectedServerIdentity {
|
|
4882
|
+
/** Expected server encryption suite; inferred from the public key when omitted. */
|
|
4883
|
+
keyEnvelopeSuite?: WebTTYKeyEnvelopeSuite;
|
|
4874
4884
|
encryptionKeyId: Uint8Array;
|
|
4875
4885
|
encryptionPublicKey: Uint8Array;
|
|
4876
4886
|
signingKeyId: Uint8Array;
|
|
@@ -4899,10 +4909,10 @@ interface WebTTYWebTransportOptions {
|
|
|
4899
4909
|
serverCertificateHashes?: WebTTYWebTransportCertificateHash[];
|
|
4900
4910
|
}
|
|
4901
4911
|
type WebTTYOpenCapability = "encrypted-payload" | "session-crypto";
|
|
4902
|
-
type WebTTYPayloadCipherSuite = "aes-256-gcm" | "chacha20-poly1305";
|
|
4903
|
-
type WebTTYKeyEnvelopeSuite = "hpke-x25519-hkdf-sha256-aes-256-gcm" | "hpke-x25519-hkdf-sha256-chacha20-poly1305";
|
|
4904
|
-
type WebTTYE2EPayloadCipherSuite = "aes-256-gcm";
|
|
4905
|
-
type WebTTYE2EKeyEnvelopeSuite = "hpke-x25519-hkdf-sha256-aes-256-gcm";
|
|
4912
|
+
type WebTTYPayloadCipherSuite = "aes-256-gcm" | "chacha20-poly1305" | "aes-256-gcm-random-nonce";
|
|
4913
|
+
type WebTTYKeyEnvelopeSuite = "hpke-x25519-hkdf-sha256-aes-256-gcm" | "hpke-x25519-hkdf-sha256-chacha20-poly1305" | "p256-hkdf-sha256-aes-256-gcm-random-nonce";
|
|
4914
|
+
type WebTTYE2EPayloadCipherSuite = "aes-256-gcm" | "aes-256-gcm-random-nonce";
|
|
4915
|
+
type WebTTYE2EKeyEnvelopeSuite = "hpke-x25519-hkdf-sha256-aes-256-gcm" | "p256-hkdf-sha256-aes-256-gcm-random-nonce";
|
|
4906
4916
|
interface WebTTYKeyEnvelope {
|
|
4907
4917
|
encapsulatedKey?: Uint8Array;
|
|
4908
4918
|
recipientKeyId?: Uint8Array;
|
|
@@ -4948,7 +4958,7 @@ interface WebTTYPayloadCryptoInfo {
|
|
|
4948
4958
|
/**
|
|
4949
4959
|
* Key encapsulation mechanism used to grant access to the payload key.
|
|
4950
4960
|
*/
|
|
4951
|
-
keyAgreement: "HPKE X25519";
|
|
4961
|
+
keyAgreement: "HPKE X25519" | "ECDH P-256";
|
|
4952
4962
|
/**
|
|
4953
4963
|
* Key derivation function used by HPKE.
|
|
4954
4964
|
*/
|
|
@@ -5196,9 +5206,12 @@ declare function hashWebTTYSessionKeyGrant(grant?: rstream.webtty.protobuf.Sessi
|
|
|
5196
5206
|
declare function webTTYServerProofTranscriptBytes(transcript: WebTTYServerProofTranscript): Uint8Array;
|
|
5197
5207
|
declare function hashWebTTYServerProofTranscript(transcript: WebTTYServerProofTranscript): Promise<Uint8Array>;
|
|
5198
5208
|
|
|
5209
|
+
declare const webTTYFIPSCompatiblePayloadSuite: WebTTYE2EPayloadCipherSuite;
|
|
5210
|
+
declare const webTTYFIPSCompatibleKeyEnvelopeSuite: WebTTYE2EKeyEnvelopeSuite;
|
|
5199
5211
|
type WebTTYE2EKeyMaterial = Uint8Array | string;
|
|
5200
5212
|
type WebTTYE2ERecipientKind = "public_key" | "user" | "workspace_device" | "workspace_keyset" | "server";
|
|
5201
5213
|
interface WebTTYE2EIdentity {
|
|
5214
|
+
keyEnvelopeSuite?: WebTTYE2EKeyEnvelopeSuite;
|
|
5202
5215
|
keyId: WebTTYE2EKeyMaterial;
|
|
5203
5216
|
privateKey: WebTTYE2EKeyMaterial;
|
|
5204
5217
|
publicKey: WebTTYE2EKeyMaterial;
|
|
@@ -5207,6 +5220,7 @@ interface WebTTYE2ERecipient {
|
|
|
5207
5220
|
id?: string;
|
|
5208
5221
|
keyId?: WebTTYE2EKeyMaterial;
|
|
5209
5222
|
kind?: WebTTYE2ERecipientKind;
|
|
5223
|
+
keyEnvelopeSuite?: WebTTYE2EKeyEnvelopeSuite;
|
|
5210
5224
|
publicKey: WebTTYE2EKeyMaterial;
|
|
5211
5225
|
}
|
|
5212
5226
|
interface WebTTYE2EKeyContextRecipient {
|
|
@@ -5233,7 +5247,7 @@ interface WebTTYE2EPayloadCrypto extends WebTTYPayloadCrypto {
|
|
|
5233
5247
|
encryptStderr: (chunk: Uint8Array) => Promise<WebTTYEncryptedPayload>;
|
|
5234
5248
|
encryptStdout: (chunk: Uint8Array) => Promise<WebTTYEncryptedPayload>;
|
|
5235
5249
|
}
|
|
5236
|
-
declare function generateWebTTYE2EIdentity(): Promise<WebTTYE2EIdentity>;
|
|
5250
|
+
declare function generateWebTTYE2EIdentity(keyEnvelopeSuite?: WebTTYE2EKeyEnvelopeSuite): Promise<WebTTYE2EIdentity>;
|
|
5237
5251
|
declare function webTTYE2EKeyID(publicKey: Uint8Array): Promise<Uint8Array>;
|
|
5238
5252
|
declare function encodeWebTTYE2EKeyMaterial(value: WebTTYE2EKeyMaterial): string;
|
|
5239
5253
|
declare function decodeWebTTYE2EKeyMaterial(value: string): Uint8Array;
|
|
@@ -5462,4 +5476,4 @@ declare function decryptWebTTYRecordedTextLog(events: readonly WebTTYRecordedSes
|
|
|
5462
5476
|
declare function createWebTTYE2EReplayPayloadCryptoFromKeyGrant(grant: WebTTYRecordedKeyGrantDecryptMaterial, identity: WebTTYE2EIdentity): Promise<WebTTYE2EPayloadCrypto>;
|
|
5463
5477
|
declare function renderWebTTYRecordedTextLog(events: readonly WebTTYRecordedSessionEvent[], chunks: readonly WebTTYReplayChunk[], options?: WebTTYRecordedTextLogOptions): WebTTYRecordedTextLog;
|
|
5464
5478
|
|
|
5465
|
-
export { type ExecuteWebTTYCommandOptions, WebTTY, type WebTTYAttachCapability, type WebTTYAttachConfig, type WebTTYAttachRole, type WebTTYAuthRequirement, type WebTTYClientConfig, type WebTTYClientEndpointIdentity, type WebTTYClientProofTranscript, type WebTTYClientTransport, WebTTYCommand, type WebTTYCommandLog, type WebTTYCommandLogBytes, type WebTTYCommandOutput, type WebTTYCommandReadOptions, type WebTTYCommandResult, type WebTTYCommandStatus, type WebTTYCommandStream, type WebTTYE2EIdentity, type WebTTYE2EKeyContextConfig, type WebTTYE2EKeyContextRecipient, type WebTTYE2EKeyEnvelopeSuite, type WebTTYE2EKeyMaterial, type WebTTYE2EPayloadCipherSuite, type WebTTYE2EPayloadCrypto, type WebTTYE2EPayloadCryptoConfig, type WebTTYE2ERecipient, type WebTTYE2ERecipientKind, type WebTTYEncryptedPayload, type WebTTYEvents, type WebTTYExecutionConfig, type WebTTYExpectedServerIdentity, WebTTYFileSystem, type WebTTYFileSystemConfig, WebTTYFileSystemError, type WebTTYFileSystemItem, type WebTTYFileSystemMkdirOptions, type WebTTYFileSystemReadFileOptions, type WebTTYFileSystemReaddirOptions, type WebTTYFileSystemRequestOptions, type WebTTYFileSystemRmOptions, type WebTTYFileSystemWriteData, type WebTTYFileSystemWriteFileOptions, type WebTTYFileSystemWriteStreamOptions, type WebTTYKeyEnvelope, type WebTTYKeyEnvelopeSuite, type WebTTYOpenCapability, type WebTTYPayloadCipherSuite, type WebTTYPayloadCrypto, type WebTTYPayloadCryptoInfo, type WebTTYPayloadCryptoMetadata, type WebTTYProofSignature, type WebTTYRecordedCryptoMetadata, type WebTTYRecordedKeyGrantDecryptMaterial, type WebTTYRecordedSessionEvent, type WebTTYRecordedStreamType, type WebTTYRecordedTextLog, type WebTTYRecordedTextLogOptions, WebTTYRemoteExecutor, type WebTTYRemoteExecutorConfig, type WebTTYReplayChunk, type WebTTYRunCommandOptions, type WebTTYServerProofTranscript, type WebTTYSessionKeyGrant, type WebTTYSignatureSuite, type WebTTYSigningIdentity, type WebTTYURLProvider, type WebTTYWebTransportCertificateHash, type WebTTYWebTransportOptions, createWebTTYE2EClientPayloadCrypto, createWebTTYE2EKeyContext, createWebTTYE2EReplayPayloadCryptoFromKeyGrant, createWebTTYE2EServerPayloadCrypto, decodeWebTTYE2EKeyMaterial, decryptWebTTYRecordedEvent, decryptWebTTYRecordedTextLog, encodeWebTTYE2EKeyMaterial, executeWebTTYCommand, generateWebTTYE2EIdentity, generateWebTTYSigningIdentity, hashWebTTYAttachGrant, hashWebTTYClientCredential, hashWebTTYClientProofTranscript, hashWebTTYConfig, hashWebTTYServerProofTranscript, hashWebTTYSessionKeyGrant, openWebTTYCommand, parseWebDAVMultiStatus, renderWebTTYRecordedTextLog, resolveWebTTYExecutionURL, resolveWebTTYFileSystemURL, runWebTTYCommand, signWebTTYClientProofTranscript, signWebTTYServerProofTranscript, verifyWebTTYClientProofTranscript, verifyWebTTYServerProofTranscript, webTTYClientProofTranscriptBytes, webTTYE2EKeyID, webTTYRecordedEventEncryptedPayload, webTTYServerProofTranscriptBytes, webTTYSigningKeyID };
|
|
5479
|
+
export { type ExecuteWebTTYCommandOptions, WebTTY, type WebTTYAttachCapability, type WebTTYAttachConfig, type WebTTYAttachRole, type WebTTYAuthRequirement, type WebTTYClientConfig, type WebTTYClientEndpointIdentity, type WebTTYClientProofTranscript, type WebTTYClientTransport, WebTTYCommand, type WebTTYCommandLog, type WebTTYCommandLogBytes, type WebTTYCommandOutput, type WebTTYCommandReadOptions, type WebTTYCommandResult, type WebTTYCommandStatus, type WebTTYCommandStream, type WebTTYE2EIdentity, type WebTTYE2EKeyContextConfig, type WebTTYE2EKeyContextRecipient, type WebTTYE2EKeyEnvelopeSuite, type WebTTYE2EKeyMaterial, type WebTTYE2EPayloadCipherSuite, type WebTTYE2EPayloadCrypto, type WebTTYE2EPayloadCryptoConfig, type WebTTYE2ERecipient, type WebTTYE2ERecipientKind, type WebTTYEncryptedPayload, type WebTTYEvents, type WebTTYExecutionConfig, type WebTTYExpectedServerIdentity, WebTTYFileSystem, type WebTTYFileSystemConfig, WebTTYFileSystemError, type WebTTYFileSystemItem, type WebTTYFileSystemMkdirOptions, type WebTTYFileSystemReadFileOptions, type WebTTYFileSystemReaddirOptions, type WebTTYFileSystemRequestOptions, type WebTTYFileSystemRmOptions, type WebTTYFileSystemWriteData, type WebTTYFileSystemWriteFileOptions, type WebTTYFileSystemWriteStreamOptions, type WebTTYKeyEnvelope, type WebTTYKeyEnvelopeSuite, type WebTTYOpenCapability, type WebTTYPayloadCipherSuite, type WebTTYPayloadCrypto, type WebTTYPayloadCryptoInfo, type WebTTYPayloadCryptoMetadata, type WebTTYProofSignature, type WebTTYRecordedCryptoMetadata, type WebTTYRecordedKeyGrantDecryptMaterial, type WebTTYRecordedSessionEvent, type WebTTYRecordedStreamType, type WebTTYRecordedTextLog, type WebTTYRecordedTextLogOptions, WebTTYRemoteExecutor, type WebTTYRemoteExecutorConfig, type WebTTYReplayChunk, type WebTTYRunCommandOptions, type WebTTYServerProofTranscript, type WebTTYSessionKeyGrant, type WebTTYSignatureSuite, type WebTTYSigningIdentity, type WebTTYURLProvider, type WebTTYWebTransportCertificateHash, type WebTTYWebTransportOptions, createWebTTYE2EClientPayloadCrypto, createWebTTYE2EKeyContext, createWebTTYE2EReplayPayloadCryptoFromKeyGrant, createWebTTYE2EServerPayloadCrypto, decodeWebTTYE2EKeyMaterial, decryptWebTTYRecordedEvent, decryptWebTTYRecordedTextLog, encodeWebTTYE2EKeyMaterial, executeWebTTYCommand, generateWebTTYE2EIdentity, generateWebTTYSigningIdentity, hashWebTTYAttachGrant, hashWebTTYClientCredential, hashWebTTYClientProofTranscript, hashWebTTYConfig, hashWebTTYServerProofTranscript, hashWebTTYSessionKeyGrant, openWebTTYCommand, parseWebDAVMultiStatus, renderWebTTYRecordedTextLog, resolveWebTTYExecutionURL, resolveWebTTYFileSystemURL, runWebTTYCommand, signWebTTYClientProofTranscript, signWebTTYServerProofTranscript, verifyWebTTYClientProofTranscript, verifyWebTTYServerProofTranscript, webTTYClientProofTranscriptBytes, webTTYE2EKeyID, webTTYFIPSCompatibleKeyEnvelopeSuite, webTTYFIPSCompatiblePayloadSuite, webTTYRecordedEventEncryptedPayload, webTTYServerProofTranscriptBytes, webTTYSigningKeyID };
|