feat(server): re-introduce client approval flow

This commit is contained in:
hdbg
2026-03-21 14:50:52 +01:00
parent 51674bb39c
commit 8043cdf8d8
11 changed files with 307 additions and 118 deletions

View File

@@ -7,8 +7,8 @@ import "google/protobuf/empty.proto";
message ClientInfo {
string name = 1;
string description = 2;
string version = 3;
optional string description = 2;
optional string version = 3;
}
message AuthChallengeRequest {

View File

@@ -86,9 +86,12 @@ message ClientConnectionRequest {
message ClientConnectionResponse {
bool approved = 1;
bytes pubkey = 2;
}
message ClientConnectionCancel {}
message ClientConnectionCancel {
bytes pubkey = 1;
}
message UserAgentRequest {
int32 id = 14;