diff --git a/internal/grpc/pb/vantage.pb.go b/internal/grpc/pb/vantage.pb.go index 42441f9..6064354 100644 --- a/internal/grpc/pb/vantage.pb.go +++ b/internal/grpc/pb/vantage.pb.go @@ -89,11 +89,12 @@ type GenerateKeyCmd struct { } type AgentMessage struct { - ServerId string `json:"server_id"` - AgentToken string `json:"agent_token"` - Ready *AgentReady `json:"ready,omitempty"` - Result *CommandResult `json:"result,omitempty"` - StepResult *StepResult `json:"step_result,omitempty"` + ServerId string `json:"server_id"` + AgentToken string `json:"agent_token"` + Ready *AgentReady `json:"ready,omitempty"` + Result *CommandResult `json:"result,omitempty"` + StepResult *StepResult `json:"step_result,omitempty"` + StepOutput *StepOutputChunk `json:"step_output,omitempty"` } type AgentReady struct{} @@ -119,6 +120,13 @@ type StepResult struct { OutputEnv map[string]string `json:"output_env,omitempty"` } +type StepOutputChunk struct { + CommandId string `json:"command_id"` + Seq uint64 `json:"seq"` + Data []byte `json:"data,omitempty"` + Eof bool `json:"eof,omitempty"` +} + // CommandStream client-side interface type Vantage_CommandStreamClient interface {