Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Introduce ProcessRequest and ProcessResponse (#14)
Jaana Doganac085e65c213
diff --git a/agent/agent.go b/agent/agent.goindex be05645..e4e5461 100644--- a/agent/agent.go+++ b/agent/agent.go@@ -24,9 +24,7 @@ import (// OutputHandler is a callback function that handles output content from an agent.// It is called for each piece of content the agent generates.-type OutputHandler func(content *proto.Content) error--// TODO(jbd): Allow OutputHandler to provide an awaitingMore as a boolean.+type OutputHandler func(outgoing *proto.ProcessResponse) error// Agent defines the common interface for both local and remote agents.// Agents process content using callback handlers.@@ -34,7 +32,7 @@ type Agent interface {// Process handles processing of input content.// It calls the output handler for each piece of content generated.// The handler may be called multiple times during processing.- Process(ctx context.Context, sessionID string, inputs []*proto.Content, handler OutputHandler) error+ Process(ctx context.Context, sessionID string, incoming *proto.ProcessRequest, handler OutputHandler) error// HealthCheck checks if the agent is healthy and responsive.// Returns an error if the agent is unhealthy or unreachable.diff --git a/agent/local.go b/agent/local.goindex c9af343..cfc335e 100644--- a/agent/local.go+++ b/agent/local.go@@ -24,13 +24,13 @@ import (// LocalAgent wraps a local (in-process) agent implementation.// It implements the Agent interface for agents running in the same process as the controller.type LocalAgent struct {- processFunc func(ctx context.Context, sessionID string, inputs []*proto.Content, handler OutputHandler) error+ processFunc func(ctx context.Context, sessionID string, incoming *proto.ProcessRequest, handler OutputHandler) errorhealthCheckFunc func(ctx context.Context) error}// LocalAgentConfig configures a local agent.type LocalAgentConfig struct {- ProcessFunc func(ctx context.Context, sessionID string, inputs []*proto.Content, handler OutputHandler) error+ ProcessFunc func(ctx context.Context, sessionID string, incoming *proto.ProcessRequest, handler OutputHandler) errorHealthCheckFunc func(ctx context.Context) error}@@ -52,8 +52,8 @@ func NewLocalAgent(config LocalAgentConfig) (*LocalAgent, error) {}// Process handles processing of input content with callback handler.-func (a *LocalAgent) Process(ctx context.Context, sessionID string, inputs []*proto.Content, handler OutputHandler) error {- return a.processFunc(ctx, sessionID, inputs, handler)+func (a *LocalAgent) Process(ctx context.Context, sessionID string, incoming *proto.ProcessRequest, handler OutputHandler) error {+ return a.processFunc(ctx, sessionID, incoming, handler)}// HealthCheck checks if the agent is healthy.diff --git a/agent/remote.go b/agent/remote.goindex d375dff..13b1b69 100644--- a/agent/remote.go+++ b/agent/remote.go@@ -94,7 +94,7 @@ func (a *RemoteAgent) connect() error {}// Process handles processing of input content with the remote agent.-func (a *RemoteAgent) Process(ctx context.Context, sessionID string, inputs []*proto.Content, handler OutputHandler) error {+func (a *RemoteAgent) Process(ctx context.Context, sessionID string, incoming *proto.ProcessRequest, handler OutputHandler) error {// Add session_id to gRPC metadatamd := metadata.Pairs("session-id", sessionID)ctx = metadata.NewOutgoingContext(ctx, md)@@ -105,10 +105,11 @@ func (a *RemoteAgent) Process(ctx context.Context, sessionID string, inputs []*p}// Send all inputs to the remote agent- for _, content := range inputs {- if err := stream.Send(content); err != nil {- return fmt.Errorf("failed to send content: %w", err)- }+ if err := stream.Send(&proto.ProcessRequest{+ CheckpointId: incoming.CheckpointId,+ Contents: incoming.Contents,+ }); err != nil {+ return fmt.Errorf("failed to send content: %w", err)}// Close the send direction to signal we're done sending@@ -118,7 +119,7 @@ func (a *RemoteAgent) Process(ctx context.Context, sessionID string, inputs []*p// Receive outputs and call handler for eachfor {- content, err := stream.Recv()+ resp, err := stream.Recv()if err == io.EOF {// Stream completed successfullyreturn nil@@ -128,7 +129,7 @@ func (a *RemoteAgent) Process(ctx context.Context, sessionID string, inputs []*p}// Call the handler with the received content- if err := handler(content); err != nil {+ if err := handler(resp); err != nil {return fmt.Errorf("handler error: %w", err)}diff --git a/cmd/gar/trigger.go b/cmd/gar/trigger.goindex f197a33..7cbdebf 100644--- a/cmd/gar/trigger.go+++ b/cmd/gar/trigger.go@@ -114,8 +114,10 @@ func runTrigger(cmd *cobra.Command, args []string) error {return fmt.Errorf("error receiving response: %w", err)}- if resp.Output != nil {- fmt.Printf("[%s] %s\n", resp.State, resp.Output.Data)+ if resp.Outputs != nil {+ for _, output := range resp.Outputs {+ fmt.Printf("[%s] %s\n", resp.State, output.Data)+ }}}return nildiff --git a/examples/local_agent/main.go b/examples/local_agent/main.goindex b86a73e..b3039c1 100644--- a/examples/local_agent/main.go+++ b/examples/local_agent/main.go@@ -83,30 +83,34 @@ func main() {}log.Printf("Session ID: %s\n", sessionID)- handler := agent.OutputHandler(func(content *proto.Content) error {- fmt.Printf("Output received: %s\n", content.Data)+ handler := agent.OutputHandler(func(outgoing *proto.ProcessResponse) error {+ for _, c := range outgoing.Contents {+ fmt.Printf("Output received: %s\n", c.Data)+ }return nil})- if err := c.TriggerSession(ctx, sessionID, inputs, handler); err != nil {+ if err := c.TriggerSession(ctx, sessionID, &proto.ProcessRequest{+ Contents: inputs,+ }, handler); err != nil {log.Fatalf("Error triggering session: %v\n", err)}}// createEchoAgent creates a simple echo agent that repeats input with a prefix.func createEchoAgent() (*agent.LocalAgent, error) {- processFunc := func(ctx context.Context, sessionID string, inputs []*proto.Content, handler agent.OutputHandler) error {+ processFunc := func(ctx context.Context, sessionID string, incoming *proto.ProcessRequest, handler agent.OutputHandler) error {// Process each input and call handler with response- for _, content := range inputs {- // Echo the content back with a prefix- response := &proto.Content{- Role: "assistant",- Type: content.Type,- Mimetype: content.Mimetype,- Data: strings.ToUpper(content.Data),- }-- // Call handler with the response- if err := handler(response); err != nil {+ for _, content := range incoming.Contents {+ if err := handler(&proto.ProcessResponse{+ Contents: []*proto.Content{+ {+ Role: "assistant",+ Type: content.Type,+ Mimetype: content.Mimetype,+ Data: strings.ToUpper(content.Data),+ },+ },+ }); err != nil {return err}diff --git a/examples/remote_agent/main.go b/examples/remote_agent/main.goindex 87eb5c9..d956e43 100644--- a/examples/remote_agent/main.go+++ b/examples/remote_agent/main.go@@ -39,7 +39,7 @@ type server struct {func (s *server) Process(stream proto.AgentService_ProcessServer) error {for {// Receive input content from gar controller- content, err := stream.Recv()+ incoming, err := stream.Recv()if err == io.EOF {return nil}@@ -47,20 +47,20 @@ func (s *server) Process(stream proto.AgentService_ProcessServer) error {return err}- // Process the content (simple uppercase echo)- response := &proto.Content{- Role: "assistant",- Type: content.Type,- Mimetype: content.Mimetype,- Data: fmt.Sprintf("Remote Echo: %s", strings.ToUpper(content.Data)),+ var contents []*proto.Content+ for _, input := range incoming.Contents {+ contents = append(contents, &proto.Content{+ Role: "assistant",+ Type: input.Type,+ Mimetype: input.Mimetype,+ Data: strings.ToUpper(input.Data),+ })}-- // Send response back to gar controller- if err := stream.Send(response); err != nil {+ if err := stream.Send(&proto.ProcessResponse{+ Contents: contents,+ }); err != nil {return err}-- log.Printf("Sent to controller: %s", response.Data)}}diff --git a/internal/controller/controller.go b/internal/controller/controller.goindex fed4cf7..5dc894e 100644--- a/internal/controller/controller.go+++ b/internal/controller/controller.go@@ -108,7 +108,7 @@ func New(ctx context.Context, config Config) (*Controller, error) {// If sessionID is empty, a UUID will be generated.// If the session already exists, it will be resumed with optional new inputs.// If checkpointID is provided, resumes from that specific checkpoint instead of the latest.-func (d *Controller) TriggerSession(ctx context.Context, sessionID string, inputs []*proto.Content, handler agent.OutputHandler) error {+func (d *Controller) TriggerSession(ctx context.Context, sessionID string, incoming *proto.ProcessRequest, handler agent.OutputHandler) error {if sessionID == "" {return fmt.Errorf("session_id is required")}@@ -141,17 +141,17 @@ func (d *Controller) TriggerSession(ctx context.Context, sessionID string, inputreturn fmt.Errorf("session has failed and cannot continue")}- if err := d.loopExecutor.Execute(ctx, sess, inputs, handler); err != nil {+ if err := d.loopExecutor.Execute(ctx, sess, incoming, handler); err != nil {return fmt.Errorf("loop execution failed: %w", err)}return nil}-func (d *Controller) TriggerForkedSession(ctx context.Context, sessionID string, checkpointID string, inputs []*proto.Content, handler agent.OutputHandler) error {+func (d *Controller) TriggerForkedSession(ctx context.Context, sessionID string, incoming *proto.ProcessRequest, handler agent.OutputHandler) error {if sessionID == "" {return fmt.Errorf("session_id is required")}- if checkpointID == "" {+ if incoming.CheckpointId == "" {return fmt.Errorf("checkpoint_id is required")}// TODO(jbd): Fork a new session by copying all content todiff --git a/internal/controller/loop.go b/internal/controller/loop.goindex 956ff62..fb4c90c 100644--- a/internal/controller/loop.go+++ b/internal/controller/loop.go@@ -75,13 +75,13 @@ func NewLoopExecutor(ctx context.Context, config LoopConfig) (*LoopExecutor, err}// Execute starts a new agentic loop execution for the given session.-func (e *LoopExecutor) Execute(ctx context.Context, session *Session, inputs []*proto.Content, handler agent.OutputHandler) error {- return e.runLoop(ctx, session, inputs, handler)+func (e *LoopExecutor) Execute(ctx context.Context, session *Session, incoming *proto.ProcessRequest, handler agent.OutputHandler) error {+ return e.runLoop(ctx, session, incoming, handler)}// runLoop executes the main agentic loop.// It runs up to maxSteps iterations per trigger/resume invocation.-func (e *LoopExecutor) runLoop(ctx context.Context, session *Session, inputs []*proto.Content, handler agent.OutputHandler) error {+func (e *LoopExecutor) runLoop(ctx context.Context, session *Session, incoming *proto.ProcessRequest, handler agent.OutputHandler) error {steps := 0for _, agentID := range session.WaitingAgents() {@@ -92,10 +92,8 @@ func (e *LoopExecutor) runLoop(ctx context.Context, session *Session, inputs []*}// Write the new inputs to the event log.- for _, content := range inputs {- if err := session.WriteContent(ctx, "", content); err != nil {- return fmt.Errorf("failed to write input content: %w", err)- }+ if err := session.WriteContent(ctx, "", incoming.CheckpointId, incoming.Contents); err != nil {+ return fmt.Errorf("failed to write input content: %w", err)}for steps < e.maxSteps {@@ -135,11 +133,11 @@ func (e *LoopExecutor) runLoop(ctx context.Context, session *Session, inputs []*func (e *LoopExecutor) runTask(ctx context.Context, session *Session, task *Task, handler agent.OutputHandler) error {// TODO(jbd): Log task start and task end to allow resuming dangling tasks.- taskOutputHandler := func(content *proto.Content) error {- if err := session.WriteContent(ctx, task.AgentID, content); err != nil {+ taskOutputHandler := func(outgoing *proto.ProcessResponse) error {+ if err := session.WriteContent(ctx, task.AgentID, outgoing.CheckpointId, outgoing.Contents); err != nil {return fmt.Errorf("failed to write output content: %w", err)}- return handler(content)+ return handler(outgoing)}ag, err := e.registry.Get(task.AgentID)@@ -147,7 +145,9 @@ func (e *LoopExecutor) runTask(ctx context.Context, session *Session, task *Taskreturn fmt.Errorf("failed to get agent: %w", err)}- if err := ag.Process(ctx, session.ID(), task.Inputs, taskOutputHandler); err != nil {+ if err := ag.Process(ctx, session.ID(), &proto.ProcessRequest{+ Contents: task.Inputs,+ }, taskOutputHandler); err != nil {return fmt.Errorf("agent process failed: %w", err)}return nildiff --git a/internal/controller/session.go b/internal/controller/session.goindex 5703ddf..9491cfc 100644--- a/internal/controller/session.go+++ b/internal/controller/session.go@@ -213,13 +213,10 @@ func (sm *SessionManager) CloseAll() {// WriteContent appends an incoming content message to the session.// Creates a checkpoint only if checkpoint_id is provided in the content.-func (s *Session) WriteContent(ctx context.Context, sender string, content *proto.Content) error {+func (s *Session) WriteContent(ctx context.Context, sender string, checkpointID string, contents []*proto.Content) error {s.mu.Lock()defer s.mu.Unlock()- // Use checkpoint_id from content if provided- checkpointID := content.CheckpointId-if checkpointID != "" {if _, ok := s.checkpointIDs[checkpointID]; ok {return fmt.Errorf("checkpoint %s already exists", checkpointID)@@ -234,16 +231,14 @@ func (s *Session) WriteContent(ctx context.Context, sender string, content *protControllerTimestamp: timestamppb.Now(),Kind: &proto.Event_ContentEvent{ContentEvent: &proto.ContentEvent{- Contents: []*proto.Content{- content,- },+ Contents: contents,},},}); err != nil {return err}- s.messageHistory = append(s.messageHistory, content)+ s.messageHistory = append(s.messageHistory, contents...)if checkpointID != "" {s.checkpointIDs[checkpointID] = struct{}{}}diff --git a/internal/server/server.go b/internal/server/server.goindex d83db07..fd19385 100644--- a/internal/server/server.go+++ b/internal/server/server.go@@ -58,18 +58,25 @@ func (s *Server) TriggerSession(req *proto.TriggerSessionRequest, stream grpc.Se}// Create output handler to stream outputs back to client- outputHandler := agent.OutputHandler(func(content *proto.Content) error {+ outputHandler := agent.OutputHandler(func(outgoing *proto.ProcessResponse) error {return stream.Send(&proto.TriggerSessionResponse{- SessionId: sessionID,- State: proto.State_STATE_RUNNING,- Output: content,+ SessionId: sessionID,+ CheckpointId: outgoing.CheckpointId,+ Outputs: outgoing.Contents,+ State: proto.State_STATE_RUNNING,})})+ incoming := &proto.ProcessRequest{+ CheckpointId: req.CheckpointId,+ Contents: inputs,+ }if checkpointID == "" {- return s.controller.TriggerSession(stream.Context(), sessionID, inputs, outputHandler)+ return s.controller.TriggerSession(+ stream.Context(), sessionID, incoming, outputHandler)}- return s.controller.TriggerForkedSession(stream.Context(), sessionID, checkpointID, inputs, outputHandler)+ return s.controller.TriggerForkedSession(+ stream.Context(), sessionID, incoming, outputHandler)}// GetSession retrieves session details.diff --git a/proto/gar.pb.go b/proto/gar.pb.goindex 0e4e0d3..daa97ff 100644--- a/proto/gar.pb.go+++ b/proto/gar.pb.go@@ -88,33 +88,29 @@ func (State) EnumDescriptor() ([]byte, []int) {return file_proto_gar_proto_rawDescGZIP(), []int{0}}-// Content represents a message with role, type, mimetype, and data fields-type Content struct {+type ProcessRequest struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"` // Optional: Checkpoint ID for this content- Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // The role of the content (e.g., "user", "assistant", "system")- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // The type of content (e.g., "text", "image")- Mimetype string `protobuf:"bytes,4,opt,name=mimetype,proto3" json:"mimetype,omitempty"` // MIME type of the data (e.g., "text/plain", "image/png")- Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // The actual content data+ CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`+ Contents []*Content `protobuf:"bytes,2,rep,name=contents,proto3" json:"contents,omitempty"`}-func (x *Content) Reset() {- *x = Content{}+func (x *ProcessRequest) Reset() {+ *x = ProcessRequest{}mi := &file_proto_gar_proto_msgTypes[0]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}-func (x *Content) String() string {+func (x *ProcessRequest) String() string {return protoimpl.X.MessageStringOf(x)}-func (*Content) ProtoMessage() {}+func (*ProcessRequest) ProtoMessage() {}-func (x *Content) ProtoReflect() protoreflect.Message {+func (x *ProcessRequest) ProtoReflect() protoreflect.Message {mi := &file_proto_gar_proto_msgTypes[0]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))@@ -126,18 +122,120 @@ func (x *Content) ProtoReflect() protoreflect.Message {return mi.MessageOf(x)}-// Deprecated: Use Content.ProtoReflect.Descriptor instead.-func (*Content) Descriptor() ([]byte, []int) {+// Deprecated: Use ProcessRequest.ProtoReflect.Descriptor instead.+func (*ProcessRequest) Descriptor() ([]byte, []int) {return file_proto_gar_proto_rawDescGZIP(), []int{0}}-func (x *Content) GetCheckpointId() string {+func (x *ProcessRequest) GetCheckpointId() string {+ if x != nil {+ return x.CheckpointId+ }+ return ""+}++func (x *ProcessRequest) GetContents() []*Content {+ if x != nil {+ return x.Contents+ }+ return nil+}++type ProcessResponse struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`+ Contents []*Content `protobuf:"bytes,2,rep,name=contents,proto3" json:"contents,omitempty"`+}++func (x *ProcessResponse) Reset() {+ *x = ProcessResponse{}+ mi := &file_proto_gar_proto_msgTypes[1]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *ProcessResponse) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*ProcessResponse) ProtoMessage() {}++func (x *ProcessResponse) ProtoReflect() protoreflect.Message {+ mi := &file_proto_gar_proto_msgTypes[1]+ if x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use ProcessResponse.ProtoReflect.Descriptor instead.+func (*ProcessResponse) Descriptor() ([]byte, []int) {+ return file_proto_gar_proto_rawDescGZIP(), []int{1}+}++func (x *ProcessResponse) GetCheckpointId() string {if x != nil {return x.CheckpointId}return ""}+func (x *ProcessResponse) GetContents() []*Content {+ if x != nil {+ return x.Contents+ }+ return nil+}++// Content represents a message with role, type, mimetype, and data fields+type Content struct {+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // The role of the content (e.g., "user", "assistant", "system")+ Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The type of content (e.g., "text", "image")+ Mimetype string `protobuf:"bytes,3,opt,name=mimetype,proto3" json:"mimetype,omitempty"` // MIME type of the data (e.g., "text/plain", "image/png")+ Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // The actual content data+}++func (x *Content) Reset() {+ *x = Content{}+ mi := &file_proto_gar_proto_msgTypes[2]+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ ms.StoreMessageInfo(mi)+}++func (x *Content) String() string {+ return protoimpl.X.MessageStringOf(x)+}++func (*Content) ProtoMessage() {}++func (x *Content) ProtoReflect() protoreflect.Message {+ mi := &file_proto_gar_proto_msgTypes[2]+ if x != nil {+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))+ if ms.LoadMessageInfo() == nil {+ ms.StoreMessageInfo(mi)+ }+ return ms+ }+ return mi.MessageOf(x)+}++// Deprecated: Use Content.ProtoReflect.Descriptor instead.+func (*Content) Descriptor() ([]byte, []int) {+ return file_proto_gar_proto_rawDescGZIP(), []int{2}+}+func (x *Content) GetRole() string {if x != nil {return x.Role@@ -176,7 +274,7 @@ type SessionStateEvent struct {func (x *SessionStateEvent) Reset() {*x = SessionStateEvent{}- mi := &file_proto_gar_proto_msgTypes[1]+ mi := &file_proto_gar_proto_msgTypes[3]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -188,7 +286,7 @@ func (x *SessionStateEvent) String() string {func (*SessionStateEvent) ProtoMessage() {}func (x *SessionStateEvent) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[1]+ mi := &file_proto_gar_proto_msgTypes[3]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -201,7 +299,7 @@ func (x *SessionStateEvent) ProtoReflect() protoreflect.Message {// Deprecated: Use SessionStateEvent.ProtoReflect.Descriptor instead.func (*SessionStateEvent) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{1}+ return file_proto_gar_proto_rawDescGZIP(), []int{3}}func (x *SessionStateEvent) GetState() State {@@ -224,7 +322,7 @@ type AgentCallEvent struct {func (x *AgentCallEvent) Reset() {*x = AgentCallEvent{}- mi := &file_proto_gar_proto_msgTypes[2]+ mi := &file_proto_gar_proto_msgTypes[4]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -236,7 +334,7 @@ func (x *AgentCallEvent) String() string {func (*AgentCallEvent) ProtoMessage() {}func (x *AgentCallEvent) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[2]+ mi := &file_proto_gar_proto_msgTypes[4]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -249,7 +347,7 @@ func (x *AgentCallEvent) ProtoReflect() protoreflect.Message {// Deprecated: Use AgentCallEvent.ProtoReflect.Descriptor instead.func (*AgentCallEvent) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{2}+ return file_proto_gar_proto_rawDescGZIP(), []int{4}}func (x *AgentCallEvent) GetSender() string {@@ -285,7 +383,7 @@ type HandoffEvent struct {func (x *HandoffEvent) Reset() {*x = HandoffEvent{}- mi := &file_proto_gar_proto_msgTypes[3]+ mi := &file_proto_gar_proto_msgTypes[5]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -297,7 +395,7 @@ func (x *HandoffEvent) String() string {func (*HandoffEvent) ProtoMessage() {}func (x *HandoffEvent) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[3]+ mi := &file_proto_gar_proto_msgTypes[5]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -310,7 +408,7 @@ func (x *HandoffEvent) ProtoReflect() protoreflect.Message {// Deprecated: Use HandoffEvent.ProtoReflect.Descriptor instead.func (*HandoffEvent) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{3}+ return file_proto_gar_proto_rawDescGZIP(), []int{5}}func (x *HandoffEvent) GetSourceAgentId() string {@@ -344,7 +442,7 @@ type ContentEvent struct {func (x *ContentEvent) Reset() {*x = ContentEvent{}- mi := &file_proto_gar_proto_msgTypes[4]+ mi := &file_proto_gar_proto_msgTypes[6]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -356,7 +454,7 @@ func (x *ContentEvent) String() string {func (*ContentEvent) ProtoMessage() {}func (x *ContentEvent) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[4]+ mi := &file_proto_gar_proto_msgTypes[6]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -369,7 +467,7 @@ func (x *ContentEvent) ProtoReflect() protoreflect.Message {// Deprecated: Use ContentEvent.ProtoReflect.Descriptor instead.func (*ContentEvent) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{4}+ return file_proto_gar_proto_rawDescGZIP(), []int{6}}func (x *ContentEvent) GetContents() []*Content {@@ -401,7 +499,7 @@ type Event struct {func (x *Event) Reset() {*x = Event{}- mi := &file_proto_gar_proto_msgTypes[5]+ mi := &file_proto_gar_proto_msgTypes[7]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -413,7 +511,7 @@ func (x *Event) String() string {func (*Event) ProtoMessage() {}func (x *Event) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[5]+ mi := &file_proto_gar_proto_msgTypes[7]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -426,7 +524,7 @@ func (x *Event) ProtoReflect() protoreflect.Message {// Deprecated: Use Event.ProtoReflect.Descriptor instead.func (*Event) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{5}+ return file_proto_gar_proto_rawDescGZIP(), []int{7}}func (x *Event) GetSessionId() string {@@ -543,7 +641,7 @@ type HealthCheckRequest struct {func (x *HealthCheckRequest) Reset() {*x = HealthCheckRequest{}- mi := &file_proto_gar_proto_msgTypes[6]+ mi := &file_proto_gar_proto_msgTypes[8]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -555,7 +653,7 @@ func (x *HealthCheckRequest) String() string {func (*HealthCheckRequest) ProtoMessage() {}func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[6]+ mi := &file_proto_gar_proto_msgTypes[8]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -568,7 +666,7 @@ func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.func (*HealthCheckRequest) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{6}+ return file_proto_gar_proto_rawDescGZIP(), []int{8}}// HealthCheckResponse contains agent health status@@ -583,7 +681,7 @@ type HealthCheckResponse struct {func (x *HealthCheckResponse) Reset() {*x = HealthCheckResponse{}- mi := &file_proto_gar_proto_msgTypes[7]+ mi := &file_proto_gar_proto_msgTypes[9]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -595,7 +693,7 @@ func (x *HealthCheckResponse) String() string {func (*HealthCheckResponse) ProtoMessage() {}func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[7]+ mi := &file_proto_gar_proto_msgTypes[9]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -608,7 +706,7 @@ func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.func (*HealthCheckResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{7}+ return file_proto_gar_proto_rawDescGZIP(), []int{9}}func (x *HealthCheckResponse) GetHealthy() bool {@@ -638,7 +736,7 @@ type TriggerSessionRequest struct {func (x *TriggerSessionRequest) Reset() {*x = TriggerSessionRequest{}- mi := &file_proto_gar_proto_msgTypes[8]+ mi := &file_proto_gar_proto_msgTypes[10]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -650,7 +748,7 @@ func (x *TriggerSessionRequest) String() string {func (*TriggerSessionRequest) ProtoMessage() {}func (x *TriggerSessionRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[8]+ mi := &file_proto_gar_proto_msgTypes[10]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -663,7 +761,7 @@ func (x *TriggerSessionRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use TriggerSessionRequest.ProtoReflect.Descriptor instead.func (*TriggerSessionRequest) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{8}+ return file_proto_gar_proto_rawDescGZIP(), []int{10}}func (x *TriggerSessionRequest) GetSessionId() string {@@ -693,14 +791,15 @@ type TriggerSessionResponse struct {sizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Session ID (in case it was generated or modified by server)- State State `protobuf:"varint,2,opt,name=state,proto3,enum=proto.State" json:"state,omitempty"` // Session state- Output *Content `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` // Output content+ SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Session ID (in case it was generated or modified by server)+ CheckpointId string `protobuf:"bytes,2,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"` // Current checkpoint ID+ Outputs []*Content `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` // Output content+ State State `protobuf:"varint,4,opt,name=state,proto3,enum=proto.State" json:"state,omitempty"` // Session state}func (x *TriggerSessionResponse) Reset() {*x = TriggerSessionResponse{}- mi := &file_proto_gar_proto_msgTypes[9]+ mi := &file_proto_gar_proto_msgTypes[11]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -712,7 +811,7 @@ func (x *TriggerSessionResponse) String() string {func (*TriggerSessionResponse) ProtoMessage() {}func (x *TriggerSessionResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[9]+ mi := &file_proto_gar_proto_msgTypes[11]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -725,7 +824,7 @@ func (x *TriggerSessionResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use TriggerSessionResponse.ProtoReflect.Descriptor instead.func (*TriggerSessionResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{9}+ return file_proto_gar_proto_rawDescGZIP(), []int{11}}func (x *TriggerSessionResponse) GetSessionId() string {@@ -735,20 +834,27 @@ func (x *TriggerSessionResponse) GetSessionId() string {return ""}-func (x *TriggerSessionResponse) GetState() State {+func (x *TriggerSessionResponse) GetCheckpointId() string {if x != nil {- return x.State+ return x.CheckpointId}- return State_STATE_UNSPECIFIED+ return ""}-func (x *TriggerSessionResponse) GetOutput() *Content {+func (x *TriggerSessionResponse) GetOutputs() []*Content {if x != nil {- return x.Output+ return x.Outputs}return nil}+func (x *TriggerSessionResponse) GetState() State {+ if x != nil {+ return x.State+ }+ return State_STATE_UNSPECIFIED+}+// GetSessionRequest for retrieving session detailstype GetSessionRequest struct {state protoimpl.MessageState@@ -760,7 +866,7 @@ type GetSessionRequest struct {func (x *GetSessionRequest) Reset() {*x = GetSessionRequest{}- mi := &file_proto_gar_proto_msgTypes[10]+ mi := &file_proto_gar_proto_msgTypes[12]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -772,7 +878,7 @@ func (x *GetSessionRequest) String() string {func (*GetSessionRequest) ProtoMessage() {}func (x *GetSessionRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[10]+ mi := &file_proto_gar_proto_msgTypes[12]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -785,7 +891,7 @@ func (x *GetSessionRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.func (*GetSessionRequest) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{10}+ return file_proto_gar_proto_rawDescGZIP(), []int{12}}func (x *GetSessionRequest) GetSessionId() string {@@ -810,7 +916,7 @@ type SessionInfo struct {func (x *SessionInfo) Reset() {*x = SessionInfo{}- mi := &file_proto_gar_proto_msgTypes[11]+ mi := &file_proto_gar_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -822,7 +928,7 @@ func (x *SessionInfo) String() string {func (*SessionInfo) ProtoMessage() {}func (x *SessionInfo) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[11]+ mi := &file_proto_gar_proto_msgTypes[13]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -835,7 +941,7 @@ func (x *SessionInfo) ProtoReflect() protoreflect.Message {// Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.func (*SessionInfo) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{11}+ return file_proto_gar_proto_rawDescGZIP(), []int{13}}func (x *SessionInfo) GetState() State {@@ -884,7 +990,7 @@ type GetSessionResponse struct {func (x *GetSessionResponse) Reset() {*x = GetSessionResponse{}- mi := &file_proto_gar_proto_msgTypes[12]+ mi := &file_proto_gar_proto_msgTypes[14]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -896,7 +1002,7 @@ func (x *GetSessionResponse) String() string {func (*GetSessionResponse) ProtoMessage() {}func (x *GetSessionResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[12]+ mi := &file_proto_gar_proto_msgTypes[14]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -909,7 +1015,7 @@ func (x *GetSessionResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use GetSessionResponse.ProtoReflect.Descriptor instead.func (*GetSessionResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{12}+ return file_proto_gar_proto_rawDescGZIP(), []int{14}}func (x *GetSessionResponse) GetSession() *SessionInfo {@@ -934,7 +1040,7 @@ type RegisterAgentRequest struct {func (x *RegisterAgentRequest) Reset() {*x = RegisterAgentRequest{}- mi := &file_proto_gar_proto_msgTypes[13]+ mi := &file_proto_gar_proto_msgTypes[15]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -946,7 +1052,7 @@ func (x *RegisterAgentRequest) String() string {func (*RegisterAgentRequest) ProtoMessage() {}func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[13]+ mi := &file_proto_gar_proto_msgTypes[15]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -959,7 +1065,7 @@ func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use RegisterAgentRequest.ProtoReflect.Descriptor instead.func (*RegisterAgentRequest) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{13}+ return file_proto_gar_proto_rawDescGZIP(), []int{15}}func (x *RegisterAgentRequest) GetAgentId() string {@@ -1006,7 +1112,7 @@ type RegisterAgentResponse struct {func (x *RegisterAgentResponse) Reset() {*x = RegisterAgentResponse{}- mi := &file_proto_gar_proto_msgTypes[14]+ mi := &file_proto_gar_proto_msgTypes[16]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1018,7 +1124,7 @@ func (x *RegisterAgentResponse) String() string {func (*RegisterAgentResponse) ProtoMessage() {}func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[14]+ mi := &file_proto_gar_proto_msgTypes[16]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1031,7 +1137,7 @@ func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use RegisterAgentResponse.ProtoReflect.Descriptor instead.func (*RegisterAgentResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{14}+ return file_proto_gar_proto_rawDescGZIP(), []int{16}}// UnregisterAgentRequest for unregistering an agent@@ -1045,7 +1151,7 @@ type UnregisterAgentRequest struct {func (x *UnregisterAgentRequest) Reset() {*x = UnregisterAgentRequest{}- mi := &file_proto_gar_proto_msgTypes[15]+ mi := &file_proto_gar_proto_msgTypes[17]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1057,7 +1163,7 @@ func (x *UnregisterAgentRequest) String() string {func (*UnregisterAgentRequest) ProtoMessage() {}func (x *UnregisterAgentRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[15]+ mi := &file_proto_gar_proto_msgTypes[17]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1070,7 +1176,7 @@ func (x *UnregisterAgentRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UnregisterAgentRequest.ProtoReflect.Descriptor instead.func (*UnregisterAgentRequest) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{15}+ return file_proto_gar_proto_rawDescGZIP(), []int{17}}func (x *UnregisterAgentRequest) GetAgentId() string {@@ -1089,7 +1195,7 @@ type UnregisterAgentResponse struct {func (x *UnregisterAgentResponse) Reset() {*x = UnregisterAgentResponse{}- mi := &file_proto_gar_proto_msgTypes[16]+ mi := &file_proto_gar_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1101,7 +1207,7 @@ func (x *UnregisterAgentResponse) String() string {func (*UnregisterAgentResponse) ProtoMessage() {}func (x *UnregisterAgentResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[16]+ mi := &file_proto_gar_proto_msgTypes[18]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1114,7 +1220,7 @@ func (x *UnregisterAgentResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use UnregisterAgentResponse.ProtoReflect.Descriptor instead.func (*UnregisterAgentResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{16}+ return file_proto_gar_proto_rawDescGZIP(), []int{18}}var File_proto_gar_proto protoreflect.FileDescriptor@@ -1123,180 +1229,194 @@ var file_proto_gar_proto_rawDesc = []byte{0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,- 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x07, 0x43, 0x6f,- 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f,- 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68,- 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f,- 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x12,- 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79,- 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12,- 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61,- 0x74, 0x61, 0x22, 0x37, 0x0a, 0x11, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,- 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53,- 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x0e,- 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x16,- 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,- 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,- 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,- 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,- 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6d,- 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x77, 0x61, 0x69, 0x74,- 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x72, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08,- 0x02, 0x10, 0x03, 0x22, 0x96, 0x01, 0x0a, 0x0c, 0x48, 0x61, 0x6e, 0x64, 0x6f, 0x66, 0x66, 0x45,- 0x76, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61,- 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73,- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f,- 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x67, 0x65,+ 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x0e, 0x50, 0x72, 0x6f,+ 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63,+ 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64,+ 0x12, 0x2a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65,+ 0x6e, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x62, 0x0a, 0x0f,+ 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,+ 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69,0x6e, 0x74, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73,- 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43,+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43,0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73,- 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x3a, 0x0a, 0x0c,- 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x08,- 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e,- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x08,- 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa1, 0x04, 0x0a, 0x05, 0x45, 0x76, 0x65,- 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49,- 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f,- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70,- 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72,- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e,- 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x65,- 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64,- 0x65, 0x72, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,- 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,- 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x4d,- 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d,- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,- 0x6c, 0x6c, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x4a, 0x0a,- 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x65,- 0x76, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f,- 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45,- 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53,- 0x74, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x10, 0x61, 0x67, 0x65,- 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x67, 0x65, 0x6e,- 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x67,- 0x65, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x0d,- 0x68, 0x61, 0x6e, 0x64, 0x6f, 0x66, 0x66, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x61, 0x6e, 0x64,- 0x6f, 0x66, 0x66, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x68, 0x61, 0x6e, 0x64,- 0x6f, 0x66, 0x66, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74,- 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45,- 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45,- 0x76, 0x65, 0x6e, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x14, 0x0a, 0x12,- 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x22, 0x49, 0x0a, 0x13, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63,- 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61,- 0x6c, 0x74, 0x68, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x65, 0x61, 0x6c,- 0x74, 0x68, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x83, 0x01,- 0x0a, 0x15, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69,- 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73,- 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70,- 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63,- 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x06, 0x69,- 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72,- 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70,- 0x75, 0x74, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x16, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53,- 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d,- 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x22, 0x0a,- 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,- 0x65, 0x12, 0x26, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,- 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,- 0x74, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x65, 0x74,- 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d,- 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xf3, 0x01,- 0x0a, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a,- 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x70,+ 0x22, 0x61, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x72,+ 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12,+ 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,+ 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x74, 0x79, 0x70, 0x65, 0x18,+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x74, 0x79, 0x70, 0x65, 0x12,+ 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64,+ 0x61, 0x74, 0x61, 0x22, 0x37, 0x0a, 0x11, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74,+ 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x85, 0x01, 0x0a,+ 0x0e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12,+ 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65,+ 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65,+ 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f,+ 0x6d, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x77, 0x61, 0x69,+ 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x72, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04,+ 0x08, 0x02, 0x10, 0x03, 0x22, 0x96, 0x01, 0x0a, 0x0c, 0x48, 0x61, 0x6e, 0x64, 0x6f, 0x66, 0x66,+ 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,+ 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a,+ 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x67,+ 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,+ 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,+ 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,+ 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x3a, 0x0a,+ 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a,+ 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52,+ 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa1, 0x04, 0x0a, 0x05, 0x45, 0x76,+ 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69,+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,+ 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74,+ 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b,+ 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x6e, 0x64, 0x65,+ 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65,+ 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64,+ 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e,+ 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,+ 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,+ 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12,+ 0x4d, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x74, 0x69,+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,+ 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x72,+ 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x4a,+ 0x0a, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f,+ 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72,+ 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65,+ 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x10, 0x61, 0x67,+ 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x08,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x67, 0x65,+ 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x61,+ 0x67, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a,+ 0x0d, 0x68, 0x61, 0x6e, 0x64, 0x6f, 0x66, 0x66, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x09,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x61, 0x6e,+ 0x64, 0x6f, 0x66, 0x66, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x68, 0x61, 0x6e,+ 0x64, 0x6f, 0x66, 0x66, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x0d, 0x63, 0x6f, 0x6e,+ 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,+ 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,+ 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,+ 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x14, 0x0a,+ 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x13, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,+ 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65,+ 0x61, 0x6c, 0x74, 0x68, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x65, 0x61,+ 0x6c, 0x74, 0x68, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x83,+ 0x01, 0x0a, 0x15, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73,+ 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65,+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b,+ 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,+ 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x06,+ 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x69, 0x6e,+ 0x70, 0x75, 0x74, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x16, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,+ 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,+ 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23,+ 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e,+ 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e,+ 0x74, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x22, 0x0a,+ 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x70,0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,- 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x67, 0x65, 0x6e,- 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65,- 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70,- 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d,- 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x39, 0x0a,- 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,- 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,- 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63,- 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x64, 0x41, 0x74, 0x22, 0x42, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,- 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x73, 0x65, 0x73,- 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f,- 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07,- 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x67, 0x69,- 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,- 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,- 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, 0x08, 0x6d,- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67,- 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e,- 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,- 0x17, 0x0a, 0x15, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x0a, 0x16, 0x55, 0x6e, 0x72, 0x65,+ 0x65, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,+ 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73,+ 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xf3, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,+ 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61,+ 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x63, 0x74,+ 0x69, 0x76, 0x65, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,+ 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25,+ 0x0a, 0x0e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73,+ 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69,+ 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,+ 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,+ 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,+ 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,+ 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x42, 0x0a, 0x12, 0x47,+ 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69,+ 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22,+ 0x85, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e,+ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e,+ 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e,+ 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,+ 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,+ 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64,+ 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,+ 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18,+ 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65,0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x19, 0x0a,- 0x17, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x58, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74,- 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54,- 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53,- 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a,- 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44,- 0x10, 0x03, 0x32, 0x83, 0x01, 0x0a, 0x0c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76,- 0x69, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x0e,- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x1a, 0x0e,- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x28, 0x01,- 0x30, 0x01, 0x12, 0x44, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63,- 0x6b, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68,- 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbe, 0x02, 0x0a, 0x0a, 0x47, 0x41, 0x52,- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x54, 0x72, 0x69, 0x67, 0x67,- 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,- 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x41, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53,- 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47,- 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73,- 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x52,- 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65,- 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0f, 0x55, 0x6e, 0x72, 0x65, 0x67,- 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f,- 0x74, 0x6f, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65,- 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e,- 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1d, 0x5a, 0x1b, 0x67, 0x69, 0x74,- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x67,- 0x61, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79,+ 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65,+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,+ 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,+ 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x67, 0x69, 0x73,+ 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,+ 0x22, 0x33, 0x0a, 0x16, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67,+ 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67,+ 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67,+ 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73,+ 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,+ 0x2a, 0x58, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41,+ 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,+ 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e,+ 0x47, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49,+ 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43,+ 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x32, 0x92, 0x01, 0x0a, 0x0c, 0x41,+ 0x67, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x50,+ 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50,+ 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73,+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x44, 0x0a, 0x0b, 0x48, 0x65, 0x61,+ 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,+ 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x6c,+ 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,+ 0xbe, 0x02, 0x0a, 0x0a, 0x47, 0x41, 0x52, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f,+ 0x0a, 0x0e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,+ 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,+ 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x65,+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12,+ 0x41, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x2e,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,+ 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67,+ 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69,+ 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,+ 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50,+ 0x0a, 0x0f, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e,+ 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69,+ 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73,+ 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,+ 0x42, 0x1d, 0x5a, 0x1b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x67, 0x61, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,+ 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (@@ -1312,65 +1432,69 @@ func file_proto_gar_proto_rawDescGZIP() []byte {}var file_proto_gar_proto_enumTypes = make([]protoimpl.EnumInfo, 1)-var file_proto_gar_proto_msgTypes = make([]protoimpl.MessageInfo, 18)+var file_proto_gar_proto_msgTypes = make([]protoimpl.MessageInfo, 20)var file_proto_gar_proto_goTypes = []any{(State)(0), // 0: proto.State- (*Content)(nil), // 1: proto.Content- (*SessionStateEvent)(nil), // 2: proto.SessionStateEvent- (*AgentCallEvent)(nil), // 3: proto.AgentCallEvent- (*HandoffEvent)(nil), // 4: proto.HandoffEvent- (*ContentEvent)(nil), // 5: proto.ContentEvent- (*Event)(nil), // 6: proto.Event- (*HealthCheckRequest)(nil), // 7: proto.HealthCheckRequest- (*HealthCheckResponse)(nil), // 8: proto.HealthCheckResponse- (*TriggerSessionRequest)(nil), // 9: proto.TriggerSessionRequest- (*TriggerSessionResponse)(nil), // 10: proto.TriggerSessionResponse- (*GetSessionRequest)(nil), // 11: proto.GetSessionRequest- (*SessionInfo)(nil), // 12: proto.SessionInfo- (*GetSessionResponse)(nil), // 13: proto.GetSessionResponse- (*RegisterAgentRequest)(nil), // 14: proto.RegisterAgentRequest- (*RegisterAgentResponse)(nil), // 15: proto.RegisterAgentResponse- (*UnregisterAgentRequest)(nil), // 16: proto.UnregisterAgentRequest- (*UnregisterAgentResponse)(nil), // 17: proto.UnregisterAgentResponse- nil, // 18: proto.RegisterAgentRequest.MetadataEntry- (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp+ (*ProcessRequest)(nil), // 1: proto.ProcessRequest+ (*ProcessResponse)(nil), // 2: proto.ProcessResponse+ (*Content)(nil), // 3: proto.Content+ (*SessionStateEvent)(nil), // 4: proto.SessionStateEvent+ (*AgentCallEvent)(nil), // 5: proto.AgentCallEvent+ (*HandoffEvent)(nil), // 6: proto.HandoffEvent+ (*ContentEvent)(nil), // 7: proto.ContentEvent+ (*Event)(nil), // 8: proto.Event+ (*HealthCheckRequest)(nil), // 9: proto.HealthCheckRequest+ (*HealthCheckResponse)(nil), // 10: proto.HealthCheckResponse+ (*TriggerSessionRequest)(nil), // 11: proto.TriggerSessionRequest+ (*TriggerSessionResponse)(nil), // 12: proto.TriggerSessionResponse+ (*GetSessionRequest)(nil), // 13: proto.GetSessionRequest+ (*SessionInfo)(nil), // 14: proto.SessionInfo+ (*GetSessionResponse)(nil), // 15: proto.GetSessionResponse+ (*RegisterAgentRequest)(nil), // 16: proto.RegisterAgentRequest+ (*RegisterAgentResponse)(nil), // 17: proto.RegisterAgentResponse+ (*UnregisterAgentRequest)(nil), // 18: proto.UnregisterAgentRequest+ (*UnregisterAgentResponse)(nil), // 19: proto.UnregisterAgentResponse+ nil, // 20: proto.RegisterAgentRequest.MetadataEntry+ (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp}var file_proto_gar_proto_depIdxs = []int32{- 0, // 0: proto.SessionStateEvent.state:type_name -> proto.State- 1, // 1: proto.AgentCallEvent.contents:type_name -> proto.Content- 1, // 2: proto.HandoffEvent.contents:type_name -> proto.Content- 1, // 3: proto.ContentEvent.contents:type_name -> proto.Content- 19, // 4: proto.Event.timestamp:type_name -> google.protobuf.Timestamp- 19, // 5: proto.Event.controller_timestamp:type_name -> google.protobuf.Timestamp- 2, // 6: proto.Event.session_state_event:type_name -> proto.SessionStateEvent- 3, // 7: proto.Event.agent_call_event:type_name -> proto.AgentCallEvent- 4, // 8: proto.Event.handoff_event:type_name -> proto.HandoffEvent- 5, // 9: proto.Event.content_event:type_name -> proto.ContentEvent- 1, // 10: proto.TriggerSessionRequest.inputs:type_name -> proto.Content- 0, // 11: proto.TriggerSessionResponse.state:type_name -> proto.State- 1, // 12: proto.TriggerSessionResponse.output:type_name -> proto.Content- 0, // 13: proto.SessionInfo.state:type_name -> proto.State- 19, // 14: proto.SessionInfo.created_at:type_name -> google.protobuf.Timestamp- 19, // 15: proto.SessionInfo.updated_at:type_name -> google.protobuf.Timestamp- 12, // 16: proto.GetSessionResponse.session:type_name -> proto.SessionInfo- 18, // 17: proto.RegisterAgentRequest.metadata:type_name -> proto.RegisterAgentRequest.MetadataEntry- 1, // 18: proto.AgentService.Process:input_type -> proto.Content- 7, // 19: proto.AgentService.HealthCheck:input_type -> proto.HealthCheckRequest- 9, // 20: proto.GARService.TriggerSession:input_type -> proto.TriggerSessionRequest- 11, // 21: proto.GARService.GetSession:input_type -> proto.GetSessionRequest- 14, // 22: proto.GARService.RegisterAgent:input_type -> proto.RegisterAgentRequest- 16, // 23: proto.GARService.UnregisterAgent:input_type -> proto.UnregisterAgentRequest- 1, // 24: proto.AgentService.Process:output_type -> proto.Content- 8, // 25: proto.AgentService.HealthCheck:output_type -> proto.HealthCheckResponse- 10, // 26: proto.GARService.TriggerSession:output_type -> proto.TriggerSessionResponse- 13, // 27: proto.GARService.GetSession:output_type -> proto.GetSessionResponse- 15, // 28: proto.GARService.RegisterAgent:output_type -> proto.RegisterAgentResponse- 17, // 29: proto.GARService.UnregisterAgent:output_type -> proto.UnregisterAgentResponse- 24, // [24:30] is the sub-list for method output_type- 18, // [18:24] is the sub-list for method input_type- 18, // [18:18] is the sub-list for extension type_name- 18, // [18:18] is the sub-list for extension extendee- 0, // [0:18] is the sub-list for field type_name+ 3, // 0: proto.ProcessRequest.contents:type_name -> proto.Content+ 3, // 1: proto.ProcessResponse.contents:type_name -> proto.Content+ 0, // 2: proto.SessionStateEvent.state:type_name -> proto.State+ 3, // 3: proto.AgentCallEvent.contents:type_name -> proto.Content+ 3, // 4: proto.HandoffEvent.contents:type_name -> proto.Content+ 3, // 5: proto.ContentEvent.contents:type_name -> proto.Content+ 21, // 6: proto.Event.timestamp:type_name -> google.protobuf.Timestamp+ 21, // 7: proto.Event.controller_timestamp:type_name -> google.protobuf.Timestamp+ 4, // 8: proto.Event.session_state_event:type_name -> proto.SessionStateEvent+ 5, // 9: proto.Event.agent_call_event:type_name -> proto.AgentCallEvent+ 6, // 10: proto.Event.handoff_event:type_name -> proto.HandoffEvent+ 7, // 11: proto.Event.content_event:type_name -> proto.ContentEvent+ 3, // 12: proto.TriggerSessionRequest.inputs:type_name -> proto.Content+ 3, // 13: proto.TriggerSessionResponse.outputs:type_name -> proto.Content+ 0, // 14: proto.TriggerSessionResponse.state:type_name -> proto.State+ 0, // 15: proto.SessionInfo.state:type_name -> proto.State+ 21, // 16: proto.SessionInfo.created_at:type_name -> google.protobuf.Timestamp+ 21, // 17: proto.SessionInfo.updated_at:type_name -> google.protobuf.Timestamp+ 14, // 18: proto.GetSessionResponse.session:type_name -> proto.SessionInfo+ 20, // 19: proto.RegisterAgentRequest.metadata:type_name -> proto.RegisterAgentRequest.MetadataEntry+ 1, // 20: proto.AgentService.Process:input_type -> proto.ProcessRequest+ 9, // 21: proto.AgentService.HealthCheck:input_type -> proto.HealthCheckRequest+ 11, // 22: proto.GARService.TriggerSession:input_type -> proto.TriggerSessionRequest+ 13, // 23: proto.GARService.GetSession:input_type -> proto.GetSessionRequest+ 16, // 24: proto.GARService.RegisterAgent:input_type -> proto.RegisterAgentRequest+ 18, // 25: proto.GARService.UnregisterAgent:input_type -> proto.UnregisterAgentRequest+ 2, // 26: proto.AgentService.Process:output_type -> proto.ProcessResponse+ 10, // 27: proto.AgentService.HealthCheck:output_type -> proto.HealthCheckResponse+ 12, // 28: proto.GARService.TriggerSession:output_type -> proto.TriggerSessionResponse+ 15, // 29: proto.GARService.GetSession:output_type -> proto.GetSessionResponse+ 17, // 30: proto.GARService.RegisterAgent:output_type -> proto.RegisterAgentResponse+ 19, // 31: proto.GARService.UnregisterAgent:output_type -> proto.UnregisterAgentResponse+ 26, // [26:32] is the sub-list for method output_type+ 20, // [20:26] is the sub-list for method input_type+ 20, // [20:20] is the sub-list for extension type_name+ 20, // [20:20] is the sub-list for extension extendee+ 0, // [0:20] is the sub-list for field type_name}func init() { file_proto_gar_proto_init() }@@ -1378,7 +1502,7 @@ func file_proto_gar_proto_init() {if File_proto_gar_proto != nil {return}- file_proto_gar_proto_msgTypes[5].OneofWrappers = []any{+ file_proto_gar_proto_msgTypes[7].OneofWrappers = []any{(*Event_SessionStateEvent)(nil),(*Event_AgentCallEvent)(nil),(*Event_HandoffEvent)(nil),@@ -1390,7 +1514,7 @@ func file_proto_gar_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_proto_gar_proto_rawDesc,NumEnums: 1,- NumMessages: 18,+ NumMessages: 20,NumExtensions: 0,NumServices: 2,},diff --git a/proto/gar.proto b/proto/gar.protoindex c8f4ea8..0063db1 100644--- a/proto/gar.proto+++ b/proto/gar.proto@@ -20,13 +20,25 @@ import "google/protobuf/timestamp.proto";option go_package = "github.com/google/gar/proto";+message ProcessRequest {+ string checkpoint_id = 1;++ repeated Content contents = 2;+}++message ProcessResponse {+ string checkpoint_id = 1;++ repeated Content contents = 2;+}++// Content represents a message with role, type, mimetype, and data fieldsmessage Content {- string checkpoint_id = 1; // Optional: Checkpoint ID for this content- string role = 2; // The role of the content (e.g., "user", "assistant", "system")- string type = 3; // The type of content (e.g., "text", "image")- string mimetype = 4; // MIME type of the data (e.g., "text/plain", "image/png")- string data = 5; // The actual content data+ string role = 1; // The role of the content (e.g., "user", "assistant", "system")+ string type = 2; // The type of content (e.g., "text", "image")+ string mimetype = 3; // MIME type of the data (e.g., "text/plain", "image/png")+ string data = 4; // The actual content data// TODO: Replace Content with Interactions Content.}@@ -92,7 +104,7 @@ message HealthCheckResponse {// AgentService defines the gRPC service for agent communicationservice AgentService {// Process handles bidirectional streaming of content between controller and agent- rpc Process(stream Content) returns (stream Content);+ rpc Process(stream ProcessRequest) returns (stream ProcessResponse);// HealthCheck checks if the agent is healthy and responsiverpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse);@@ -118,9 +130,10 @@ message TriggerSessionRequest {// TriggerSessionResponse contains the result of triggering a sessionmessage TriggerSessionResponse {- string session_id = 1; // Session ID (in case it was generated or modified by server)- State state = 2; // Session state- Content output = 3; // Output content+ string session_id = 1; // Session ID (in case it was generated or modified by server)+ string checkpoint_id = 2; // Current checkpoint ID+ repeated Content outputs = 3; // Output content+ State state = 4; // Session state}// GetSessionRequest for retrieving session detailsdiff --git a/proto/gar_grpc.pb.go b/proto/gar_grpc.pb.goindex cce6401..6640f06 100644--- a/proto/gar_grpc.pb.go+++ b/proto/gar_grpc.pb.go@@ -44,7 +44,7 @@ const (// AgentService defines the gRPC service for agent communicationtype AgentServiceClient interface {// Process handles bidirectional streaming of content between controller and agent- Process(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Content, Content], error)+ Process(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ProcessRequest, ProcessResponse], error)// HealthCheck checks if the agent is healthy and responsiveHealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)}@@ -57,18 +57,18 @@ func NewAgentServiceClient(cc grpc.ClientConnInterface) AgentServiceClient {return &agentServiceClient{cc}}-func (c *agentServiceClient) Process(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Content, Content], error) {+func (c *agentServiceClient) Process(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ProcessRequest, ProcessResponse], error) {cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)stream, err := c.cc.NewStream(ctx, &AgentService_ServiceDesc.Streams[0], AgentService_Process_FullMethodName, cOpts...)if err != nil {return nil, err}- x := &grpc.GenericClientStream[Content, Content]{ClientStream: stream}+ x := &grpc.GenericClientStream[ProcessRequest, ProcessResponse]{ClientStream: stream}return x, nil}// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.-type AgentService_ProcessClient = grpc.BidiStreamingClient[Content, Content]+type AgentService_ProcessClient = grpc.BidiStreamingClient[ProcessRequest, ProcessResponse]func (c *agentServiceClient) HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) {cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)@@ -87,7 +87,7 @@ func (c *agentServiceClient) HealthCheck(ctx context.Context, in *HealthCheckReq// AgentService defines the gRPC service for agent communicationtype AgentServiceServer interface {// Process handles bidirectional streaming of content between controller and agent- Process(grpc.BidiStreamingServer[Content, Content]) error+ Process(grpc.BidiStreamingServer[ProcessRequest, ProcessResponse]) error// HealthCheck checks if the agent is healthy and responsiveHealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)mustEmbedUnimplementedAgentServiceServer()@@ -100,7 +100,7 @@ type AgentServiceServer interface {// pointer dereference when methods are called.type UnimplementedAgentServiceServer struct{}-func (UnimplementedAgentServiceServer) Process(grpc.BidiStreamingServer[Content, Content]) error {+func (UnimplementedAgentServiceServer) Process(grpc.BidiStreamingServer[ProcessRequest, ProcessResponse]) error {return status.Errorf(codes.Unimplemented, "method Process not implemented")}func (UnimplementedAgentServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) {@@ -128,11 +128,11 @@ func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer)}func _AgentService_Process_Handler(srv interface{}, stream grpc.ServerStream) error {- return srv.(AgentServiceServer).Process(&grpc.GenericServerStream[Content, Content]{ServerStream: stream})+ return srv.(AgentServiceServer).Process(&grpc.GenericServerStream[ProcessRequest, ProcessResponse]{ServerStream: stream})}// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.-type AgentService_ProcessServer = grpc.BidiStreamingServer[Content, Content]+type AgentService_ProcessServer = grpc.BidiStreamingServer[ProcessRequest, ProcessResponse]func _AgentService_HealthCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {in := new(HealthCheckRequest)