-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.proto
1706 lines (1434 loc) · 30 KB
/
api.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// @replit/protocol 0.3.6
syntax = "proto3";
package api;
import "google/protobuf/timestamp.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/field_mask.proto";
message Command {
int32 channel = 1;
int32 session = 2;
string ref = 1000;
map<string,string> traceInfo = 1001;
oneof body {
OpenChannel openChan = 3;
OpenChannelRes openChanRes = 4;
CloseChannel closeChan = 5;
CloseChannelRes closeChanRes = 6;
ContainerState containerState = 9;
PortOpen portOpen = 10;
PortClose portClose = 48;
Toast toast = 11;
ProtocolError protocolError = 45;
Redirect redirect = 12;
AlwaysOn alwaysOn = 13;
RunMain runMain = 16;
Clear clear = 17;
string eval = 20;
string result = 21;
string input = 22;
string output = 23;
string error = 24;
string stderr = 46;
string log = 47;
string record = 422;
SaneTerm saneTerm = 26;
ResizeTerm resizeTerm = 27;
State state = 28;
OK ok = 30;
File persist = 31;
File persistMirror = 41;
File write = 32;
File remove = 33;
Move move = 34;
File tryRemove = 36;
File mkdir = 39;
File stat = 368;
StatResult statRes = 369;
TransferStart transferStart = 320;
TransferChunk transferChunk = 321;
TransferComplete transferComplete = 322;
Transfer transferCancel = 323;
Transfer transfer = 324;
File read = 35;
File readdir = 37;
Files files = 38;
File file = 40;
CheckChanges checkChanges = 42;
Files changedFiles = 43;
LintResults lintResults = 44;
ContainedTest runContainedTest = 70;
TestResult testResult = 71;
string debuggerStart = 90;
RunMain debuggerStep = 91;
DebugStatus debuggerStatus = 92;
EnsurePackages ensurePackages = 100;
Ping ping = 120;
Pong pong = 121;
Hello hello = 122;
Goodbye goodbye = 123;
ProxyGoingAway proxyGoingAway = 124;
Hint hint = 130;
Connect connect = 150;
Send send = 151;
Recv recv = 152;
Disconnect disconnect = 153;
FileAuthReq fileAuthReq = 200;
FileAuthRes fileAuthRes = 201;
MultiFileAuthRes mutliFileAuthRes = 202;
ListObjects listObjects = 205;
ListObjectsResp listObjectsResp = 206;
OTPacket ot = 220;
OTStatus otstatus = 221;
OTLinkFile otLinkFile = 222;
OTLinkFileResponse otLinkFileResponse = 229;
OTCursor otNewCursor = 223;
OTCursor otDeleteCursor = 224;
OTFetchRequest otFetchRequest = 225;
OTFetchResponse otFetchResponse = 226;
OTTransformSelectionRequest otTransformSelectionRequest = 227;
OTTransformSelectionResponse otTransformSelectionResponse = 228;
Flush flush = 251;
Debug debug = 230;
StartVCR startVCR = 231;
ReadVCR readVCR = 232;
VCRLog VCRLog = 233;
Auth auth = 235;
ExecInfo execInfo = 240;
SubscribeFile subscribeFile = 256;
FileEvent fileEvent = 257;
Roster roster = 260;
User join = 261;
User part = 262;
OpenFile openFile = 263;
FileOpened fileOpened = 264;
FollowUser followUser = 265;
UnfollowUser unfollowUser = 268;
UpdateSessionTimestamp updateSessionTimestamp = 266;
SessionTimestampUpdated sessionTimestampUpdated = 267;
Exec exec = 270;
PackageSearch packageSearch = 280;
PackageSearchResp packageSearchResp = 281;
PackageInfo packageInfo = 282;
PackageInfoResp packageInfoResp = 283;
PackageAdd packageAdd = 284;
PackageRemove packageRemove = 285;
PackageInstall packageInstall = 286;
PackageListSpecfile packageListSpecfile = 287;
PackageListSpecfileResp packageListSpecfileResp = 288;
PackageCacheSave packageCacheSave = 289;
ChatMessage chatMessage = 310;
ChatTyping chatTyping = 311;
ChatScrollback chatScrollback = 312;
FSSnapshot fsSnapshot = 330;
FSSnapshotEvent fsSnapshotEvent = 388;
FSLock fsTakeLock = 331;
FSLock fsReleaseLock = 332;
bool hasCap = 335;
SnapshotEvent snapshotEvent = 389;
bool NoninteractiveFSChangeEvent = 392;
Pid1Config pid1Config = 340;
Metrics metrics = 350;
BootStatus bootStatus = 351;
ReadMetaRequest readMetaRequest = 360;
ReadMetaResponse readMetaResponse = 384;
WriteMetaRequest writeMetaRequest = 361;
WriteMetaResponse writeMetaResponse = 385;
AppendMetaRequest appendMetaRequest = 362;
AppendMetaResponse appendMetaResponse = 386;
Audio audio = 363;
PprofRequest pprofRequest = 364;
PprofResponse pprofResponse = 365;
Audio2 audio2 = 366;
PTYConfig PTYConfig = 367;
DebugMain debugMain = 370;
DebugState debugState = 371;
DebugMainReply debugMainReply = 372;
DebugInput debugInput = 373;
DebugOutput debugOutput = 374;
DebugStop debugStop = 375;
DebugLeave debugLeave = 376;
DebugSessions debugSessions = 377;
DebugAddBreakpointRequest debugAddBreakpointRequest = 380;
DebugUpdateBreakpointRequest debugUpdateBreakpointRequest = 387;
DebugRemoveBreakpointRequest debugRemoveBreakpointRequest = 381;
DebugBreakpointEvent debugBreakpointEvent = 383;
DotReplitGetRequest dotReplitGetRequest = 378;
DotReplitGetResponse dotReplitGetResponse = 379;
RunConfigGetRequest runConfigGetRequest = 390;
RunConfigGetResponse runConfigGetResponse = 391;
DotReplitUpdateRequest dotReplitUpdateRequest = 395;
DotReplitUpdateResponse dotReplitUpdateResponse = 396;
StartLSP startLSP = 345;
FirewallDenied firewallDenied = 393;
NixPackageAddRequest nixPackageAddRequest = 410;
NixPackageAddResponse nixPackageAddResponse = 411;
NixPackageRemoveRequest nixPackageRemoveRequest = 412;
NixPackageRemoveResponse nixPackageRemoveResponse = 413;
NixPackageListRequest nixPackageListRequest = 414;
NixPackageListResponse nixPackageListResponse = 415;
NixChannelsRequest nixChannelsRequest = 416;
NixChannelsResponse nixChannelsResponse = 417;
NixChannelLatestStableRequest nixChannelLatestStableRequest = 418;
NixChannelLatestStableResponse nixChannelLatestStableResponse = 419;
NixPackageSearchRequest nixPackageSearchRequest = 420;
NixPackageSearchResponse nixPackageSearchResponse = 421;
UserEvent userEvent = 423;
ReplspaceApiOpenFile replspaceApiOpenFile = 424;
ReplspaceApiCloseFile replspaceApiCloseFile = 425;
ReplspaceApiGetGitHubToken replspaceApiGetGitHubToken = 426;
ReplspaceApiGitHubToken replspaceApiGitHubToken = 427;
Focused focused = 428;
NixModulesGetRequest nixModulesGetRequest = 429;
NixModulesGetResponse nixModulesGetResponse = 430;
NixModulesChanged nixModulesChanged = 431;
NixModulesBuildRequest nixModulesBuildRequest = 432;
PackageSetPackagerRequest packageSetPackagerRequest = 433;
PackageSetPackagerResponse packageSetPackagerResp = 434;
ToolchainGetRequest toolchainGetRequest = 435;
ToolchainGetResponse toolchainGetResponse = 436;
ToolchainChanged toolchainChanged = 437;
}
}
message NixPackageAddRequest {
repeated string packages = 1;
}
message NixPackageAddResponse {
}
message NixPackageRemoveRequest {
repeated string packages = 1;
}
message NixPackageRemoveResponse {
}
message NixPackageListRequest {
}
message NixPackageListResponse {
repeated NixPackage packages = 1;
}
message NixPackage {
string name = 1;
string description = 2;
string version = 3;
repeated string homepageURL = 4;
repeated string maintainers = 5;
repeated string licenses = 6;
}
message NixChannelsRequest {
}
message NixChannelsResponse {
repeated string channels = 1;
}
message NixChannelLatestStableRequest {
}
message NixChannelLatestStableResponse {
string channel = 1;
}
message NixPackageSearchRequest {
string query = 1;
}
message NixPackageSearchResponse {
repeated NixPackage packages = 1;
}
message StartLSP {
string language = 1;
string languageServerId = 2;
}
message Audio {
repeated int32 data = 1;
}
message Audio2 {
repeated sint32 data = 1;
int64 samples = 2;
}
message Preconditions {
int64 generation = 1;
int64 metageneration = 2;
bool doesNotExist = 3;
}
message ReadMetaRequest {
string key = 1;
bool exists = 2;
bytes data = 3;
}
message ReadMetaResponse {
string key = 1;
bool exists = 2;
bytes data = 3;
int64 generation = 4;
int64 metageneration = 5;
}
message WriteMetaRequest {
string key = 1;
bytes data = 2;
Preconditions preconditions = 5;
}
message WriteMetaResponse {
int64 generation = 1;
int64 metageneration = 2;
}
message AppendMetaRequest {
string key = 1;
bytes data = 2;
Preconditions preconditions = 5;
}
message AppendMetaResponse {
int64 generation = 1;
int64 metageneration = 2;
}
message BootStatus {
enum Stage {
HANDSHAKE = 0;
ACQUIRING = 3;
COMPLETE = 4;
PROXY = 5;
PULL_FILES = 6;
LOAD_BLOCK = 7;
BLOCK_MIGRATION = 9;
RETRY = 8;
}
BootStatus.Stage stage = 1;
uint32 progress = 2;
uint32 total = 3;
}
message Pid1Config {
string cwd = 1;
string language = 2;
map<string,string> env = 3;
bool noStore = 4;
bool noninteractiveFSChange = 5;
}
message FSLock {
string name = 1;
}
message FSSnapshot {
}
message FSSnapshotEvent {
repeated string sources = 1;
}
message SnapshotEvent {
repeated string sources = 1;
}
message SubscribeFile {
repeated File files = 1;
}
message FileEvent {
enum Op {
Create = 0;
Move = 1;
Remove = 2;
Modify = 3;
}
File file = 1;
File dest = 3;
FileEvent.Op op = 2;
}
message Flush {
enum Consistency {
PermanentStorage = 0;
Disk = 1;
}
Flush.Consistency consistency = 1;
}
message OTLinkFile {
File file = 1;
bool highConsistency = 2;
bool OBSOLETEUseModTime = 3;
}
message OTLinkFileResponse {
uint32 version = 1;
File linkedFile = 2;
}
message Auth {
string token = 1;
string containerID = 2;
}
message VCREntry {
enum Direction {
IN = 0;
OUT = 1;
}
uint64 timestamp = 1;
VCREntry.Direction direction = 2;
Command command = 3;
string uid = 4;
string replid = 5;
}
message StartVCR {
}
message ReadVCR {
}
message VCRLog {
repeated VCREntry log = 1;
File logfile = 2;
}
message ExecInfo {
repeated string command = 1;
string reason = 2;
}
message Debug {
string text = 1;
}
enum FileAuthMethod {
GET = 0;
HEAD = 1;
PUT = 2;
DELETE = 3;
}
message FileAuthReq {
File file = 1;
FileAuthMethod method = 2;
}
message MultiFileAuthRes {
FileAuthRes put = 1;
FileAuthRes del = 2;
FileAuthRes get = 3;
}
message FileAuthRes {
File file = 1;
string url = 2;
FileAuthMethod method = 3;
int64 expire = 4;
string error = 5;
bool replError = 7;
}
message ListObjects {
string prefix = 1;
}
message ListObjectsResp {
repeated string objects = 1;
}
message Disconnect {
string error = 1;
}
message Send {
bytes buff = 1;
}
message Recv {
bytes buff = 1;
}
message Connect {
string proto = 1;
string addr = 2;
}
message Hint {
string text = 1;
}
message Ping {
}
message Pong {
}
message Hello {
uint32 userid = 1;
string username = 2;
string token = 3;
}
message Goodbye {
}
enum State {
Stopped = 0;
Running = 1;
}
message CheckChanges {
}
message EnsurePackages {
bool install = 1;
File file = 2;
}
message Start {
}
message DebugStatus {
bool done = 1;
repeated StackFrame stack = 2;
}
message StackFrame {
string function = 1;
uint32 line = 2;
}
message ContainedTest {
File suite = 1;
repeated File project = 2;
}
message TestResult {
bool passed = 1;
string stderr = 2;
repeated TestFailure fails = 3;
}
message TestFailure {
string name = 1;
string trace = 2;
}
message ResizeTerm {
uint32 rows = 1;
uint32 cols = 2;
}
message SaneTerm {
}
message LintResults {
repeated LintResult results = 1;
}
message LintResult {
string text = 1;
int32 row = 2;
int32 column = 3;
string type = 4;
}
message OK {
}
message Move {
string oldPath = 1;
string newPath = 2;
}
message Files {
repeated File files = 1;
}
message StatResult {
bool exists = 1;
File.Type type = 2;
int64 size = 3;
string fileMode = 4;
int64 modTime = 5;
}
message File {
enum Type {
REGULAR = 0;
DIRECTORY = 1;
}
string path = 1;
File.Type type = 2;
bytes content = 3;
}
message Transfer {
string id = 1;
}
message TransferStart {
string path = 1;
int64 size = 2;
}
message TransferChunk {
string id = 1;
bytes content = 2;
}
message TransferComplete {
string id = 1;
uint32 crc32 = 2;
}
message Clear {
}
message Toast {
string text = 1;
}
message ProtocolError {
string text = 1;
}
message Redirect {
string url = 1;
}
message AlwaysOn {
bool enable = 1;
}
message RunMain {
enum RunMode {
RUN = 0;
RECORD = 1;
}
RunMain.RunMode runMode = 1;
bool idempotent = 2;
string filePath = 3;
string runnerId = 4;
}
message OpenChannel {
enum Action {
CREATE = 0;
ATTACH = 1;
ATTACH_OR_CREATE = 2;
}
string service = 1;
string name = 2;
OpenChannel.Action action = 3;
int32 id = 4;
}
message OpenChannelRes {
enum State {
CREATED = 0;
ATTACHED = 1;
ERROR = 2;
}
int32 id = 1;
OpenChannelRes.State state = 2;
string error = 3;
}
message CloseChannel {
enum Action {
DISCONNECT = 0;
TRY_CLOSE = 1;
CLOSE = 2;
}
int32 id = 1;
CloseChannel.Action action = 2;
}
message CloseChannelRes {
enum Status {
DISCONNECT = 0;
CLOSE = 1;
NOTHING = 2;
}
int32 id = 1;
CloseChannelRes.Status status = 2;
}
message ContainerState {
enum State {
SLEEP = 0;
READY = 1;
}
ContainerState.State state = 1;
}
message PortOpen {
bool forwarded = 1;
uint32 port = 2;
string address = 3;
uint32 externalPort = 4;
}
message PortClose {
uint32 port = 2;
string address = 3;
uint32 externalPort = 4;
}
message OTFetchRequest {
uint32 versionFrom = 1;
uint32 versionTo = 2;
}
message OTFetchResponse {
repeated OTPacket packets = 1;
}
message OTTransformSelectionRequest {
uint32 indexStart = 1;
uint32 indexEnd = 2;
uint32 versionFrom = 3;
uint32 versionTo = 4;
}
message OTTransformSelectionResponse {
uint32 indexStart = 1;
uint32 indexEnd = 2;
uint32 version = 3;
}
message OTPacket {
enum Author {
USER = 0;
GHOSTWRITER = 1;
}
uint32 spookyVersion = 1;
uint32 version = 5;
repeated OTOpComponent op = 2;
uint32 crc32 = 3;
google.protobuf.Timestamp committed = 4;
uint32 nonce = 6;
uint32 userId = 7;
OTPacket.Author author = 8;
}
message OTOpComponent {
oneof opComponent {
uint32 skip = 1;
uint32 delete = 2;
string insert = 3;
}
}
message OTStatus {
string contents = 1;
uint32 version = 2;
File linkedFile = 3;
repeated OTCursor cursors = 4;
}
message OTCursor {
uint32 position = 1;
uint32 selectionStart = 2;
uint32 selectionEnd = 3;
User user = 4;
string id = 5;
}
message ChatMessage {
string username = 1;
string text = 2;
}
message ChatTyping {
string username = 1;
bool typing = 2;
}
message User {
uint32 id = 1;
string name = 2;
repeated string roles = 3;
int32 session = 4;
repeated string teams = 5;
string bio = 6;
string url = 7;
string profileImage = 8;
}
message Roster {
repeated User user = 1;
repeated FileOpened files = 2;
}
message OpenFile {
string file = 1;
}
message FileOpened {
uint32 userId = 1;
string file = 2;
int32 session = 3;
google.protobuf.Timestamp timestamp = 4;
}
message ReplspaceApiOpenFile {
string file = 1;
bool waitForClose = 2;
string nonce = 3;
}
message ReplspaceApiCloseFile {
string file = 1;
string nonce = 2;
}
message ReplspaceApiGetGitHubToken {
string nonce = 1;
}
message ReplspaceApiGitHubToken {
string nonce = 1;
string token = 2;
}
message Focused {
}
message UpdateSessionTimestamp {
}
message SessionTimestampUpdated {
int32 session = 1;
google.protobuf.Timestamp timestamp = 2;
}
message FollowUser {
int32 session = 1;
}
message UnfollowUser {
int32 session = 1;
}
message Exec {
enum Lifecycle {
NON_BLOCKING = 0;
BLOCKING = 1;
STDIN = 2;
}
repeated string args = 1;
map<string,string> env = 2;
bool blocking = 3;
Exec.Lifecycle lifecycle = 6;
bool splitStderr = 4;
bool splitLogs = 5;
}
message Package {
string name = 1;
string spec = 2;
string description = 10;
string version = 11;
string homepageURL = 12;
string documentationURL = 13;
string sourceCodeURL = 14;
string bugTrackerURL = 15;
string author = 16;
string license = 17;
repeated Package dependencies = 18;
}
message PackageSetPackagerRequest {
string packagerId = 1;
}
message PackageSetPackagerResponse {
string packagerId = 1;
}
message PackageSearch {
string query = 1;
}
message PackageSearchResp {
repeated Package results = 1;
}
message PackageInfo {
Package pkg = 1;
}
message PackageInfoResp {
Package pkg = 1;
}
message PackageAdd {
repeated Package pkgs = 1;
}
message PackageRemove {
repeated Package pkgs = 1;
}
message PackageInstall {
bool fromHosting = 1;
}
message PackageListSpecfile {
}
message PackageListSpecfileResp {
repeated Package pkgs = 1;
}
message PackageCacheSave {
}
message ChatScrollback {
repeated ChatMessage scrollback = 1;
}
message Metrics {
repeated bytes prometheusMetricFamilies = 1;
}
message PprofRequest {
string id = 1;
oneof body {
PprofCpuProfileRequest pprofCpuProfileRequest = 2;
PprofHeapProfileRequest pprofHeapProfileRequest = 3;
PprofAllocsProfileRequest pprofAllocsProfileRequest = 4;
PprofBlockProfileRequest pprofBlockProfileRequest = 5;
PprofMutexProfileRequest pprofMutexProfileRequest = 6;
}
}
message PprofAllocsProfileRequest {
bool debug = 1;
}
message PprofBlockProfileRequest {
bool debug = 1;
}
message PprofCpuProfileRequest {
int64 seconds = 1;
}
message PprofHeapProfileRequest {
bool gc = 1;
bool debug = 2;
}
message PprofMutexProfileRequest {
bool debug = 1;
}
message PprofResponse {
string id = 1;
bytes profile = 2;
}
message PTYConfig {
bool pipeMode = 1;
}
message DebugMain {
string session = 1;
bool readOnly = 2;
string filePath = 3;
string debuggerId = 4;
}
message DebugMainReply {
enum Protocol {
DAP = 0;
}
bool joined = 1;
DebugMainReply.Protocol protocol = 2;
}
message DebugState {
string session = 1;
State state = 2;
}
message DebugInput {
string session = 1;
oneof stream {
string input = 2;
string adapterInput = 3;
}
}
message DebugOutput {
string session = 1;
oneof stream {
string output = 2;
string adapterOutput = 3;
}
}
message DebugStop {
string session = 1;