protocol: add canonical Phase 3A contract sources

This commit is contained in:
sechmachine
2026-07-21 23:42:13 +07:00
parent 75edd9941b
commit 2d69357052
16 changed files with 1052 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
syntax = "proto3";
package versevdi.tunnel.v1;
import "google/protobuf/timestamp.proto";
option go_package = "github.com/sechmachine/VerseVDI-Protocol/gen/go/tunnel";
message VersionNegotiation {
repeated string supported_versions = 1;
repeated string features = 2;
}
message AdmissionRequest {
string session_id = 1;
string protocol_version = 2;
string audience = 3;
string purpose = 4;
string grant = 5;
}
message AdmissionResult {
bool admitted = 1;
string session_id = 2;
string failure_code = 3;
int64 session_version = 4;
}
message SessionClose {
string session_id = 1;
string code = 2;
string reason = 3;
google.protobuf.Timestamp occurred_at = 4;
}
message Health {
string session_id = 1;
int64 sequence = 2;
google.protobuf.Timestamp observed_at = 3;
}
message BoundedError {
string code = 1;
string message = 2;
}
message ChannelOpen {
string channel_id = 1;
string direction = 2;
uint32 maximum_frame_bytes = 3;
}