From 397c92c3a4498d8cfb1d60b49f564e81bf126d7b Mon Sep 17 00:00:00 2001 From: mrhid6 Date: Mon, 20 Jul 2026 11:24:08 +0100 Subject: [PATCH] feat(proto): add RunStepCmd and StepResult messages --- internal/grpc/pb/vantage.pb.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/internal/grpc/pb/vantage.pb.go b/internal/grpc/pb/vantage.pb.go index 37a9b65..42441f9 100644 --- a/internal/grpc/pb/vantage.pb.go +++ b/internal/grpc/pb/vantage.pb.go @@ -68,6 +68,7 @@ type ServerCommand struct { DeleteKey *DeleteKeyCmd `json:"delete_key,omitempty"` UpdateAgent *UpdateAgentCmd `json:"update_agent,omitempty"` ApplyUpdates *ApplyUpdatesCmd `json:"apply_updates,omitempty"` + RunStep *RunStepCmd `json:"run_step,omitempty"` } type DeleteKeyCmd struct { @@ -92,6 +93,7 @@ type AgentMessage struct { AgentToken string `json:"agent_token"` Ready *AgentReady `json:"ready,omitempty"` Result *CommandResult `json:"result,omitempty"` + StepResult *StepResult `json:"step_result,omitempty"` } type AgentReady struct{} @@ -102,6 +104,21 @@ type CommandResult struct { Message string `json:"message"` } +type RunStepCmd struct { + Interpreter string `json:"interpreter"` + Script string `json:"script"` + Env map[string]string `json:"env,omitempty"` + TimeoutSeconds int `json:"timeout_seconds,omitempty"` +} + +type StepResult struct { + CommandId string `json:"command_id"` + ExitCode int `json:"exit_code"` + Stdout string `json:"stdout,omitempty"` + Stderr string `json:"stderr,omitempty"` + OutputEnv map[string]string `json:"output_env,omitempty"` +} + // CommandStream client-side interface type Vantage_CommandStreamClient interface {