mirror of
https://github.com/cline/cline.git
synced 2025-06-03 03:59:07 +00:00

* Removing redundant settings * Add chromeExecutablePath to BrowserSettings and UpdateBrowserSettingsRequest - Introduced optional chromeExecutablePath field in BrowserSettings and UpdateBrowserSettingsRequest. - Updated updateBrowserSettings function to merge new settings with existing ones, preserving previous values. - Enhanced BrowserSession to check for the chromeExecutablePath in global state. - Modified BrowserSettingsSection to include a UI input for specifying the Chrome executable path. * Removing browser stuff * Removing browser stuff * Removing browser stuff * Removing browser stuff * Add cute animation * Add cute animation * Add cute animation * Add cute animation * Add cute animation * Add cute animation * Add cute animation * adding stuff --------- Co-authored-by: Cline Evaluation <cline@example.com>
55 lines
1.3 KiB
Protocol Buffer
55 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cline;
|
|
option java_package = "bot.cline.proto";
|
|
option java_multiple_files = true;
|
|
|
|
import "common.proto";
|
|
|
|
service BrowserService {
|
|
rpc getBrowserConnectionInfo(EmptyRequest) returns (BrowserConnectionInfo);
|
|
rpc testBrowserConnection(StringRequest) returns (BrowserConnection);
|
|
rpc discoverBrowser(EmptyRequest) returns (BrowserConnection);
|
|
rpc getDetectedChromePath(EmptyRequest) returns (ChromePath);
|
|
rpc updateBrowserSettings(UpdateBrowserSettingsRequest) returns (Boolean);
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
message ChromePath {
|
|
string path = 1;
|
|
bool is_bundled = 2;
|
|
}
|
|
|
|
message Viewport {
|
|
int32 width = 1;
|
|
int32 height = 2;
|
|
}
|
|
|
|
message BrowserSettings {
|
|
Viewport viewport = 1;
|
|
optional string remote_browser_host = 2;
|
|
optional bool remote_browser_enabled = 3;
|
|
optional string chrome_executable_path = 4;
|
|
optional bool disable_tool_use = 5;
|
|
}
|
|
|
|
message UpdateBrowserSettingsRequest {
|
|
Metadata metadata = 1;
|
|
Viewport viewport = 2;
|
|
optional string remote_browser_host = 3;
|
|
optional bool remote_browser_enabled = 4;
|
|
optional string chrome_executable_path = 5;
|
|
optional bool disable_tool_use = 6;
|
|
}
|