syntax = "proto3"; package msg; import "agent.proto"; import "server.proto"; message FrontendMessage { optional string id = 1; // agent id oneof data { ShellOutputMessage shell_output = 10; ShellErrorMessage shell_error = 11; ShellConnectMessage shell_connect = 50; ShellInputMessage shell_input = 51; ShellResizeMessage shell_resize = 52; ShellDisconnectMessage shell_disconnect = 53; } }