feat(protocol): define gateway control envelopes
This commit is contained in:
@@ -32,3 +32,10 @@ message ClipboardText {
|
||||
string text = 1;
|
||||
string encoding = 2;
|
||||
}
|
||||
|
||||
message GatewayClipboardText {
|
||||
string direction = 1;
|
||||
string text = 2;
|
||||
string encoding = 3;
|
||||
string loop_token = 4;
|
||||
}
|
||||
|
||||
@@ -135,6 +135,15 @@ message ProviderSessionWork {
|
||||
string client_private_key_pem = 15;
|
||||
string server_certificate_pem = 16;
|
||||
string client_id = 17;
|
||||
ClipboardPolicy clipboard_policy = 18;
|
||||
bool provider_application_termination_allowed = 19;
|
||||
}
|
||||
|
||||
message ClipboardPolicy {
|
||||
bool client_to_provider_enabled = 1;
|
||||
bool provider_to_client_enabled = 2;
|
||||
uint32 max_text_bytes = 3;
|
||||
uint32 max_updates_per_minute = 4;
|
||||
}
|
||||
|
||||
message ChannelFrame {
|
||||
@@ -156,6 +165,15 @@ message ProviderState {
|
||||
repeated string channels = 5;
|
||||
}
|
||||
|
||||
message GatewayClipboardAudit {
|
||||
string version = 1;
|
||||
string session_id = 2;
|
||||
string direction = 3;
|
||||
string outcome = 4;
|
||||
uint32 text_bytes = 5;
|
||||
string reason = 6;
|
||||
}
|
||||
|
||||
message StableError {
|
||||
string version = 1;
|
||||
string code = 2;
|
||||
|
||||
Reference in New Issue
Block a user