mirror of
https://github.com/cline/cline.git
synced 2026-09-21 05:10:09 +08:00
* gRPC-ized discoverBrowser * clean up a string * remove useless comments --------- Co-authored-by: Andrei Edell <andrei@nugbase.com>
24 lines
517 B
Protocol Buffer
24 lines
517 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cline;
|
|
|
|
import "common.proto";
|
|
|
|
service BrowserService {
|
|
rpc getBrowserConnectionInfo(EmptyRequest) returns (BrowserConnectionInfo);
|
|
rpc testBrowserConnection(StringRequest) returns (BrowserConnection);
|
|
rpc discoverBrowser(EmptyRequest) returns (BrowserConnection);
|
|
}
|
|
|
|
message BrowserConnectionInfo {
|
|
bool is_connected = 1;
|
|
bool is_remote = 2;
|
|
optional string host = 3;
|
|
}
|
|
|
|
message BrowserConnection {
|
|
bool success = 1;
|
|
string message = 2;
|
|
optional string endpoint = 3;
|
|
}
|