Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
[patch] Bump version to v0.2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
lhchavez committed Nov 24, 2020
1 parent a80bd07 commit 8fa0e8d
Show file tree
Hide file tree
Showing 6 changed files with 1,418 additions and 2,516 deletions.
23 changes: 23 additions & 0 deletions api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ message Command {
PortOpen portOpen = 10;
Toast toast = 11;

Redirect redirect = 12;

// service specific messages

RunMain runMain = 16;
Expand Down Expand Up @@ -167,6 +169,9 @@ message Command {
PprofResponse pprofResponse = 365;

Audio2 audio2 = 366;

// used to set configure pty settings
PTYConfig PTYConfig = 367;
}

string ref = 1000;
Expand Down Expand Up @@ -420,6 +425,15 @@ message Clear {}

message Toast { string text = 1; }

// Redirect indicates that a client should attempt to connect through another
// URL. This is needed since most browser WebSockets implementations do not
// support following standard HTTP redirects.
message Redirect {
// The URL to try again. If empty, the negotiation to figure out the URL for
// a repl needs to start from scratch.
string url = 1;
}

message RunMain {}

message OpenChannel {
Expand Down Expand Up @@ -636,3 +650,12 @@ message PprofResponse {
string id = 1;
bytes profile = 2;
}

// Message used to configure PTY
message PTYConfig {
// Whether "PipeMode" should be enabled or not
// PipeMode is the equivelent of stty raw icrnl isig -echo.
// This is designed for comparing and output - the output
// should be as close as possible to its original state.
bool pipeMode = 1;
}
Loading

0 comments on commit 8fa0e8d

Please sign in to comment.