mirror of
https://github.com/cline/cline.git
synced 2026-09-16 20:51:07 +08:00
20 lines
574 B
Protocol Buffer
20 lines
574 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package host;
|
|
option java_package = "bot.cline.host.proto";
|
|
option java_multiple_files = true;
|
|
|
|
import "common.proto";
|
|
|
|
// Provides methods for working with the user's environment.
|
|
service EnvService {
|
|
// Writes text to the system clipboard.
|
|
rpc clipboardWriteText(cline.StringRequest) returns (cline.Empty);
|
|
|
|
// Reads text from the system clipboard.
|
|
rpc clipboardReadText(cline.EmptyRequest) returns (cline.String);
|
|
|
|
// Opens a URL in the user's default browser or application.
|
|
rpc openExternal(cline.StringRequest) returns (cline.Empty);
|
|
}
|