Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Remove ContentEvent (#76)
Jaana Doganc547bcb639ff
diff --git a/internal/controller/session.go b/internal/controller/session.goindex 0d84fb7..0cb4112 100644--- a/internal/controller/session.go+++ b/internal/controller/session.go@@ -260,13 +260,6 @@ func (s *Session) reconstructState(events []*proto.Event) error {s.state = x.SessionStateEvent.Statecase *proto.Event_HandoffEvent:// TODO: Visit this section when resuming the waiting agents.- case *proto.Event_ContentEvent:- if len(x.ContentEvent.Contents) > 0 {- s.steps = append(s.steps, &Step{- AgentID: e.SenderId,- Contents: x.ContentEvent.Contents,- })- }default:return fmt.Errorf("unknown event kind: %v", e.Kind)}@@ -359,9 +352,11 @@ func (s *Session) WriteContent(ctx context.Context, sender string, checkpointIDSenderId: sender,Timestamp: timestamppb.Now(),ControllerTimestamp: timestamppb.Now(),- Kind: &proto.Event_ContentEvent{- ContentEvent: &proto.ContentEvent{- Contents: contents,+ Kind: &proto.Event_AgentCallEvent{+ AgentCallEvent: &proto.AgentCallEvent{+ Sender: sender,+ AwaitingMore: false,+ Contents: contents,},},}); err != nil {diff --git a/internal/controller/session_test.go b/internal/controller/session_test.goindex e41452c..2c24310 100644--- a/internal/controller/session_test.go+++ b/internal/controller/session_test.go@@ -98,7 +98,7 @@ func TestSessionManager_ForkSession_Success(t *testing.T) {// Setup source session with eventssourceEL, _ := factory(sourceID)sourceEvents := []*proto.Event{- {SessionId: sourceID, CheckpointId: checkpointID, Kind: &proto.Event_ContentEvent{ContentEvent: &proto.ContentEvent{Contents: []*proto.Content{{Role: "user"}}}}},+ {SessionId: sourceID, CheckpointId: checkpointID, Kind: &proto.Event_AgentCallEvent{AgentCallEvent: &proto.AgentCallEvent{Contents: []*proto.Content{{Role: "user"}}}}},{SessionId: sourceID, Kind: &proto.Event_SessionStateEvent{SessionStateEvent: &proto.SessionStateEvent{State: proto.State_STATE_COMPLETED}}},}for _, e := range sourceEvents {@@ -151,7 +151,11 @@ func TestSessionManager_ForkSession_Concurrent(t *testing.T) {// Setup sourcesourceEL, _ := factory(sourceID)- sourceEL.AppendEvent(ctx, &proto.Event{SessionId: sourceID, Kind: &proto.Event_ContentEvent{ContentEvent: &proto.ContentEvent{}}})+ sourceEL.AppendEvent(ctx,+ &proto.Event{+ SessionId: sourceID,+ Kind: &proto.Event_AgentCallEvent{AgentCallEvent: &proto.AgentCallEvent{}},+ })// Run multiple forks concurrentlyvar wg sync.WaitGroupdiff --git a/proto/gar.pb.go b/proto/gar.pb.goindex 5e72ec6..33f432b 100644--- a/proto/gar.pb.go+++ b/proto/gar.pb.go@@ -14,8 +14,8 @@// Code generated by protoc-gen-go. DO NOT EDIT.// versions:-// protoc-gen-go v1.36.11-// protoc v6.33.4+// protoc-gen-go v1.35.1+// protoc v5.28.2// source: proto/gar.protopackage proto@@ -27,7 +27,6 @@ import (timestamppb "google.golang.org/protobuf/types/known/timestamppb"reflect "reflect"sync "sync"- unsafe "unsafe")const (@@ -92,14 +91,15 @@ func (State) EnumDescriptor() ([]byte, []int) {// ProcessRequest is an input to an agent.type ProcessRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields+// Checkpoint is the optional checkpoint associated with// the contents.CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`// Contents as input.- Contents []*Content `protobuf:"bytes,2,rep,name=contents,proto3" json:"contents,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ Contents []*Content `protobuf:"bytes,2,rep,name=contents,proto3" json:"contents,omitempty"`}func (x *ProcessRequest) Reset() {@@ -149,7 +149,10 @@ func (x *ProcessRequest) GetContents() []*Content {// ProcessResponse is an output from an agent.// It can be returned in a streaming fashion.type ProcessResponse struct {- state protoimpl.MessageState `protogen:"open.v1"`+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields+// Checkpoint is the optional checkpoint associated with// the contents.CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`@@ -157,9 +160,7 @@ type ProcessResponse struct {Contents []*Content `protobuf:"bytes,2,rep,name=contents,proto3" json:"contents,omitempty"`// Optional agent handoff. If set controller, hands off the// execution to the provided agent.- AgentHandoff string `protobuf:"bytes,3,opt,name=agent_handoff,json=agentHandoff,proto3" json:"agent_handoff,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ AgentHandoff string `protobuf:"bytes,3,opt,name=agent_handoff,json=agentHandoff,proto3" json:"agent_handoff,omitempty"`}func (x *ProcessResponse) Reset() {@@ -215,10 +216,11 @@ func (x *ProcessResponse) GetAgentHandoff() string {// TextContent represents a text content.type TextContent struct {- state protoimpl.MessageState `protogen:"open.v1"`- Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`}func (x *TextContent) Reset() {@@ -259,10 +261,11 @@ func (x *TextContent) GetText() string {}type ApprovalDecision struct {- state protoimpl.MessageState `protogen:"open.v1"`- Approved bool `protobuf:"varint,1,opt,name=approved,proto3" json:"approved,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Approved bool `protobuf:"varint,1,opt,name=approved,proto3" json:"approved,omitempty"`}func (x *ApprovalDecision) Reset() {@@ -303,10 +306,11 @@ func (x *ApprovalDecision) GetApproved() bool {}type DeclineDecision struct {- state protoimpl.MessageState `protogen:"open.v1"`- Declined bool `protobuf:"varint,1,opt,name=declined,proto3" json:"declined,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Declined bool `protobuf:"varint,1,opt,name=declined,proto3" json:"declined,omitempty"`}func (x *DeclineDecision) Reset() {@@ -347,16 +351,17 @@ func (x *DeclineDecision) GetDeclined() bool {}type ConfirmationContent struct {- state protoimpl.MessageState `protogen:"open.v1"`- Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`- Question string `protobuf:"bytes,4,opt,name=question,proto3" json:"question,omitempty"`- // Types that are valid to be assigned to Decision:+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`+ Question string `protobuf:"bytes,4,opt,name=question,proto3" json:"question,omitempty"`+ // Types that are assignable to Decision://// *ConfirmationContent_Approval// *ConfirmationContent_Decline- Decision isConfirmationContent_Decision `protobuf_oneof:"decision"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ Decision isConfirmationContent_Decision `protobuf_oneof:"decision"`}func (x *ConfirmationContent) Reset() {@@ -403,27 +408,23 @@ func (x *ConfirmationContent) GetQuestion() string {return ""}-func (x *ConfirmationContent) GetDecision() isConfirmationContent_Decision {- if x != nil {- return x.Decision+func (m *ConfirmationContent) GetDecision() isConfirmationContent_Decision {+ if m != nil {+ return m.Decision}return nil}func (x *ConfirmationContent) GetApproval() *ApprovalDecision {- if x != nil {- if x, ok := x.Decision.(*ConfirmationContent_Approval); ok {- return x.Approval- }+ if x, ok := x.GetDecision().(*ConfirmationContent_Approval); ok {+ return x.Approval}return nil}func (x *ConfirmationContent) GetDecline() *DeclineDecision {- if x != nil {- if x, ok := x.Decision.(*ConfirmationContent_Decline); ok {- return x.Decline- }+ if x, ok := x.GetDecision().(*ConfirmationContent_Decline); ok {+ return x.Decline}return nil}@@ -445,13 +446,14 @@ func (*ConfirmationContent_Approval) isConfirmationContent_Decision() {}func (*ConfirmationContent_Decline) isConfirmationContent_Decision() {}type FunctionCallContent struct {- state protoimpl.MessageState `protogen:"open.v1"`- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`- Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`- ThoughtSignature []byte `protobuf:"bytes,4,opt,name=thought_signature,json=thoughtSignature,proto3" json:"thought_signature,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`+ Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`+ ThoughtSignature []byte `protobuf:"bytes,4,opt,name=thought_signature,json=thoughtSignature,proto3" json:"thought_signature,omitempty"`}func (x *FunctionCallContent) Reset() {@@ -513,12 +515,13 @@ func (x *FunctionCallContent) GetThoughtSignature() []byte {}type FunctionResponseContent struct {- state protoimpl.MessageState `protogen:"open.v1"`- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- Response *structpb.Struct `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`- Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`+ Response *structpb.Struct `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`+ Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`}func (x *FunctionResponseContent) Reset() {@@ -574,17 +577,18 @@ func (x *FunctionResponseContent) GetId() string {// Content represents a message with role, type, mimetype, and data fieldstype Content struct {- state protoimpl.MessageState `protogen:"open.v1"`- // Types that are valid to be assigned to Content:+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ // Types that are assignable to Content://// *Content_Text// *Content_Confirmation// *Content_FunctionCall// *Content_FunctionResponse- Content isContent_Content `protobuf_oneof:"content"`- Role string `protobuf:"bytes,1000,opt,name=role,proto3" json:"role,omitempty"` // The role of the content (e.g., "user", "assistant", "system")- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ Content isContent_Content `protobuf_oneof:"content"`+ Role string `protobuf:"bytes,1000,opt,name=role,proto3" json:"role,omitempty"` // The role of the content (e.g., "user", "assistant", "system")}func (x *Content) Reset() {@@ -617,45 +621,37 @@ func (*Content) Descriptor() ([]byte, []int) {return file_proto_gar_proto_rawDescGZIP(), []int{8}}-func (x *Content) GetContent() isContent_Content {- if x != nil {- return x.Content+func (m *Content) GetContent() isContent_Content {+ if m != nil {+ return m.Content}return nil}func (x *Content) GetText() *TextContent {- if x != nil {- if x, ok := x.Content.(*Content_Text); ok {- return x.Text- }+ if x, ok := x.GetContent().(*Content_Text); ok {+ return x.Text}return nil}func (x *Content) GetConfirmation() *ConfirmationContent {- if x != nil {- if x, ok := x.Content.(*Content_Confirmation); ok {- return x.Confirmation- }+ if x, ok := x.GetContent().(*Content_Confirmation); ok {+ return x.Confirmation}return nil}func (x *Content) GetFunctionCall() *FunctionCallContent {- if x != nil {- if x, ok := x.Content.(*Content_FunctionCall); ok {- return x.FunctionCall- }+ if x, ok := x.GetContent().(*Content_FunctionCall); ok {+ return x.FunctionCall}return nil}func (x *Content) GetFunctionResponse() *FunctionResponseContent {- if x != nil {- if x, ok := x.Content.(*Content_FunctionResponse); ok {- return x.FunctionResponse- }+ if x, ok := x.GetContent().(*Content_FunctionResponse); ok {+ return x.FunctionResponse}return nil}@@ -700,10 +696,11 @@ func (*Content_FunctionResponse) isContent_Content() {}// For example, controller doesn't continue a session once// the state is set to STATE_FAILED.type SessionStateEvent struct {- state protoimpl.MessageState `protogen:"open.v1"`- State State `protobuf:"varint,1,opt,name=state,proto3,enum=proto.State" json:"state,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ State State `protobuf:"varint,1,opt,name=state,proto3,enum=proto.State" json:"state,omitempty"`}func (x *SessionStateEvent) Reset() {@@ -745,12 +742,13 @@ func (x *SessionStateEvent) GetState() State {// AgentCallEvent represents an agent call.type AgentCallEvent struct {- state protoimpl.MessageState `protogen:"open.v1"`- Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`- Contents []*Content `protobuf:"bytes,4,rep,name=contents,proto3" json:"contents,omitempty"`- AwaitingMore bool `protobuf:"varint,5,opt,name=awaiting_more,json=awaitingMore,proto3" json:"awaiting_more,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`+ Contents []*Content `protobuf:"bytes,4,rep,name=contents,proto3" json:"contents,omitempty"`+ AwaitingMore bool `protobuf:"varint,5,opt,name=awaiting_more,json=awaitingMore,proto3" json:"awaiting_more,omitempty"`}func (x *AgentCallEvent) Reset() {@@ -808,12 +806,13 @@ func (x *AgentCallEvent) GetAwaitingMore() bool {// Controller records the agent handoff with// associated content.type HandoffEvent struct {- state protoimpl.MessageState `protogen:"open.v1"`- SourceAgentId string `protobuf:"bytes,3,opt,name=source_agent_id,json=sourceAgentId,proto3" json:"source_agent_id,omitempty"`- TargetAgentId string `protobuf:"bytes,4,opt,name=target_agent_id,json=targetAgentId,proto3" json:"target_agent_id,omitempty"`- Contents []*Content `protobuf:"bytes,5,rep,name=contents,proto3" json:"contents,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ SourceAgentId string `protobuf:"bytes,3,opt,name=source_agent_id,json=sourceAgentId,proto3" json:"source_agent_id,omitempty"`+ TargetAgentId string `protobuf:"bytes,4,opt,name=target_agent_id,json=targetAgentId,proto3" json:"target_agent_id,omitempty"`+ Contents []*Content `protobuf:"bytes,5,rep,name=contents,proto3" json:"contents,omitempty"`}func (x *HandoffEvent) Reset() {@@ -867,77 +866,31 @@ func (x *HandoffEvent) GetContents() []*Content {return nil}-// Content changes such as user inputs are recorded-// as content events.-type ContentEvent struct {- state protoimpl.MessageState `protogen:"open.v1"`- Contents []*Content `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *ContentEvent) Reset() {- *x = ContentEvent{}- mi := &file_proto_gar_proto_msgTypes[12]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *ContentEvent) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ContentEvent) ProtoMessage() {}--func (x *ContentEvent) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[12]- 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 ContentEvent.ProtoReflect.Descriptor instead.-func (*ContentEvent) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{12}-}--func (x *ContentEvent) GetContents() []*Content {- if x != nil {- return x.Contents- }- return nil-}-// Event is the entry in the event log. Events are used// to record the actions taken place in the GAR controller.// GAR controller can replay the events for resumability.type Event struct {- state protoimpl.MessageState `protogen:"open.v1"`+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields+SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`CheckpointId string `protobuf:"bytes,2,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`SenderName string `protobuf:"bytes,3,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"`SenderId string `protobuf:"bytes,4,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`ControllerTimestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=controller_timestamp,json=controllerTimestamp,proto3" json:"controller_timestamp,omitempty"`- // Types that are valid to be assigned to Kind:+ // Types that are assignable to Kind://// *Event_SessionStateEvent// *Event_AgentCallEvent// *Event_HandoffEvent- // *Event_ContentEvent- Kind isEvent_Kind `protobuf_oneof:"kind"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ Kind isEvent_Kind `protobuf_oneof:"kind"`}func (x *Event) Reset() {*x = Event{}- mi := &file_proto_gar_proto_msgTypes[13]+ mi := &file_proto_gar_proto_msgTypes[12]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -949,7 +902,7 @@ func (x *Event) String() string {func (*Event) ProtoMessage() {}func (x *Event) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[13]+ mi := &file_proto_gar_proto_msgTypes[12]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -962,7 +915,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{13}+ return file_proto_gar_proto_rawDescGZIP(), []int{12}}func (x *Event) GetSessionId() string {@@ -1007,45 +960,30 @@ func (x *Event) GetControllerTimestamp() *timestamppb.Timestamp {return nil}-func (x *Event) GetKind() isEvent_Kind {- if x != nil {- return x.Kind+func (m *Event) GetKind() isEvent_Kind {+ if m != nil {+ return m.Kind}return nil}func (x *Event) GetSessionStateEvent() *SessionStateEvent {- if x != nil {- if x, ok := x.Kind.(*Event_SessionStateEvent); ok {- return x.SessionStateEvent- }+ if x, ok := x.GetKind().(*Event_SessionStateEvent); ok {+ return x.SessionStateEvent}return nil}func (x *Event) GetAgentCallEvent() *AgentCallEvent {- if x != nil {- if x, ok := x.Kind.(*Event_AgentCallEvent); ok {- return x.AgentCallEvent- }+ if x, ok := x.GetKind().(*Event_AgentCallEvent); ok {+ return x.AgentCallEvent}return nil}func (x *Event) GetHandoffEvent() *HandoffEvent {- if x != nil {- if x, ok := x.Kind.(*Event_HandoffEvent); ok {- return x.HandoffEvent- }- }- return nil-}--func (x *Event) GetContentEvent() *ContentEvent {- if x != nil {- if x, ok := x.Kind.(*Event_ContentEvent); ok {- return x.ContentEvent- }+ if x, ok := x.GetKind().(*Event_HandoffEvent); ok {+ return x.HandoffEvent}return nil}@@ -1055,7 +993,7 @@ type isEvent_Kind interface {}type Event_SessionStateEvent struct {- SessionStateEvent *SessionStateEvent `protobuf:"bytes,7,opt,name=session_state_event,json=sessionStateEvent,proto3,oneof"`+ SessionStateEvent *SessionStateEvent `protobuf:"bytes,7,opt,name=session_state_event,json=sessionStateEvent,proto3,oneof"` // TODO: remove}type Event_AgentCallEvent struct {@@ -1066,28 +1004,22 @@ type Event_HandoffEvent struct {HandoffEvent *HandoffEvent `protobuf:"bytes,9,opt,name=handoff_event,json=handoffEvent,proto3,oneof"`}-type Event_ContentEvent struct {- ContentEvent *ContentEvent `protobuf:"bytes,10,opt,name=content_event,json=contentEvent,proto3,oneof"`-}-func (*Event_SessionStateEvent) isEvent_Kind() {}func (*Event_AgentCallEvent) isEvent_Kind() {}func (*Event_HandoffEvent) isEvent_Kind() {}-func (*Event_ContentEvent) isEvent_Kind() {}-// HealthCheckRequest for agent health checkstype HealthCheckRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields}func (x *HealthCheckRequest) Reset() {*x = HealthCheckRequest{}- mi := &file_proto_gar_proto_msgTypes[14]+ mi := &file_proto_gar_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1099,7 +1031,7 @@ func (x *HealthCheckRequest) String() string {func (*HealthCheckRequest) ProtoMessage() {}func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[14]+ mi := &file_proto_gar_proto_msgTypes[13]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1112,21 +1044,22 @@ func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.func (*HealthCheckRequest) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{14}+ return file_proto_gar_proto_rawDescGZIP(), []int{13}}// HealthCheckResponse contains agent health statustype HealthCheckResponse struct {- state protoimpl.MessageState `protogen:"open.v1"`- Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`- Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`}func (x *HealthCheckResponse) Reset() {*x = HealthCheckResponse{}- mi := &file_proto_gar_proto_msgTypes[15]+ mi := &file_proto_gar_proto_msgTypes[14]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1138,7 +1071,7 @@ func (x *HealthCheckResponse) String() string {func (*HealthCheckResponse) ProtoMessage() {}func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[15]+ mi := &file_proto_gar_proto_msgTypes[14]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1151,7 +1084,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{15}+ return file_proto_gar_proto_rawDescGZIP(), []int{14}}func (x *HealthCheckResponse) GetHealthy() bool {@@ -1170,16 +1103,17 @@ func (x *HealthCheckResponse) GetMessage() string {// TriggerSessionRequest for triggering a new sessiontype TriggerSessionRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Unique session identifier- Inputs []*Content `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` // Input content to process- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Unique session identifier+ Inputs []*Content `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` // Input content to process}func (x *TriggerSessionRequest) Reset() {*x = TriggerSessionRequest{}- mi := &file_proto_gar_proto_msgTypes[16]+ mi := &file_proto_gar_proto_msgTypes[15]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1191,7 +1125,7 @@ func (x *TriggerSessionRequest) String() string {func (*TriggerSessionRequest) ProtoMessage() {}func (x *TriggerSessionRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[16]+ mi := &file_proto_gar_proto_msgTypes[15]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1204,7 +1138,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{16}+ return file_proto_gar_proto_rawDescGZIP(), []int{15}}func (x *TriggerSessionRequest) GetSessionId() string {@@ -1223,18 +1157,19 @@ func (x *TriggerSessionRequest) GetInputs() []*Content {// TriggerSessionResponse contains the result of triggering a sessiontype TriggerSessionResponse struct {- state protoimpl.MessageState `protogen:"open.v1"`- 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- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields 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)+ 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[17]+ mi := &file_proto_gar_proto_msgTypes[16]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1246,7 +1181,7 @@ func (x *TriggerSessionResponse) String() string {func (*TriggerSessionResponse) ProtoMessage() {}func (x *TriggerSessionResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[17]+ mi := &file_proto_gar_proto_msgTypes[16]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1259,7 +1194,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{17}+ return file_proto_gar_proto_rawDescGZIP(), []int{16}}func (x *TriggerSessionResponse) GetSessionId() string {@@ -1291,17 +1226,18 @@ func (x *TriggerSessionResponse) GetState() State {}type ForkSessionRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- SrcSessionId string `protobuf:"bytes,1,opt,name=src_session_id,json=srcSessionId,proto3" json:"src_session_id,omitempty"`- SrcCheckpointId string `protobuf:"bytes,2,opt,name=src_checkpoint_id,json=srcCheckpointId,proto3" json:"src_checkpoint_id,omitempty"` // Checkpoint ID within the source session to fork from.- DestSessionId string `protobuf:"bytes,3,opt,name=dest_session_id,json=destSessionId,proto3" json:"dest_session_id,omitempty"` // New session ID. If provided, must not exist.- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ SrcSessionId string `protobuf:"bytes,1,opt,name=src_session_id,json=srcSessionId,proto3" json:"src_session_id,omitempty"`+ SrcCheckpointId string `protobuf:"bytes,2,opt,name=src_checkpoint_id,json=srcCheckpointId,proto3" json:"src_checkpoint_id,omitempty"` // Checkpoint ID within the source session to fork from.+ DestSessionId string `protobuf:"bytes,3,opt,name=dest_session_id,json=destSessionId,proto3" json:"dest_session_id,omitempty"` // New session ID. If provided, must not exist.}func (x *ForkSessionRequest) Reset() {*x = ForkSessionRequest{}- mi := &file_proto_gar_proto_msgTypes[18]+ mi := &file_proto_gar_proto_msgTypes[17]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1313,7 +1249,7 @@ func (x *ForkSessionRequest) String() string {func (*ForkSessionRequest) ProtoMessage() {}func (x *ForkSessionRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[18]+ mi := &file_proto_gar_proto_msgTypes[17]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1326,7 +1262,7 @@ func (x *ForkSessionRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ForkSessionRequest.ProtoReflect.Descriptor instead.func (*ForkSessionRequest) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{18}+ return file_proto_gar_proto_rawDescGZIP(), []int{17}}func (x *ForkSessionRequest) GetSrcSessionId() string {@@ -1351,15 +1287,16 @@ func (x *ForkSessionRequest) GetDestSessionId() string {}type ForkSessionResponse struct {- state protoimpl.MessageState `protogen:"open.v1"`- NewSessionId string `protobuf:"bytes,1,opt,name=new_session_id,json=newSessionId,proto3" json:"new_session_id,omitempty"` // New session ID (in case it was generated or modified by server)- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ NewSessionId string `protobuf:"bytes,1,opt,name=new_session_id,json=newSessionId,proto3" json:"new_session_id,omitempty"` // New session ID (in case it was generated or modified by server)}func (x *ForkSessionResponse) Reset() {*x = ForkSessionResponse{}- mi := &file_proto_gar_proto_msgTypes[19]+ mi := &file_proto_gar_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1371,7 +1308,7 @@ func (x *ForkSessionResponse) String() string {func (*ForkSessionResponse) ProtoMessage() {}func (x *ForkSessionResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[19]+ mi := &file_proto_gar_proto_msgTypes[18]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1384,7 +1321,7 @@ func (x *ForkSessionResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ForkSessionResponse.ProtoReflect.Descriptor instead.func (*ForkSessionResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{19}+ return file_proto_gar_proto_rawDescGZIP(), []int{18}}func (x *ForkSessionResponse) GetNewSessionId() string {@@ -1395,15 +1332,16 @@ func (x *ForkSessionResponse) GetNewSessionId() string {}type RemoteAgentConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // gRPC address for remote agents- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // gRPC address for remote agents}func (x *RemoteAgentConfig) Reset() {*x = RemoteAgentConfig{}- mi := &file_proto_gar_proto_msgTypes[20]+ mi := &file_proto_gar_proto_msgTypes[19]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1415,7 +1353,7 @@ func (x *RemoteAgentConfig) String() string {func (*RemoteAgentConfig) ProtoMessage() {}func (x *RemoteAgentConfig) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[20]+ mi := &file_proto_gar_proto_msgTypes[19]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1428,7 +1366,7 @@ func (x *RemoteAgentConfig) ProtoReflect() protoreflect.Message {// Deprecated: Use RemoteAgentConfig.ProtoReflect.Descriptor instead.func (*RemoteAgentConfig) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{20}+ return file_proto_gar_proto_rawDescGZIP(), []int{19}}func (x *RemoteAgentConfig) GetAddress() string {@@ -1440,22 +1378,23 @@ func (x *RemoteAgentConfig) GetAddress() string {// RegisterAgentRequest for registering an agenttype RegisterAgentRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Human-readable name for the agent- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Description of agent capabilities- Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`- // Types that are valid to be assigned to Config:+ state protoimpl.MessageState+ sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Human-readable name for the agent+ Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Description of agent capabilities+ Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`+ // Types that are assignable to Config://// *RegisterAgentRequest_Remote- Config isRegisterAgentRequest_Config `protobuf_oneof:"config"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ Config isRegisterAgentRequest_Config `protobuf_oneof:"config"`}func (x *RegisterAgentRequest) Reset() {*x = RegisterAgentRequest{}- mi := &file_proto_gar_proto_msgTypes[21]+ mi := &file_proto_gar_proto_msgTypes[20]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1467,7 +1406,7 @@ func (x *RegisterAgentRequest) String() string {func (*RegisterAgentRequest) ProtoMessage() {}func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[21]+ mi := &file_proto_gar_proto_msgTypes[20]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1480,7 +1419,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{21}+ return file_proto_gar_proto_rawDescGZIP(), []int{20}}func (x *RegisterAgentRequest) GetAgentId() string {@@ -1511,18 +1450,16 @@ func (x *RegisterAgentRequest) GetMetadata() map[string]string {return nil}-func (x *RegisterAgentRequest) GetConfig() isRegisterAgentRequest_Config {- if x != nil {- return x.Config+func (m *RegisterAgentRequest) GetConfig() isRegisterAgentRequest_Config {+ if m != nil {+ return m.Config}return nil}func (x *RegisterAgentRequest) GetRemote() *RemoteAgentConfig {- if x != nil {- if x, ok := x.Config.(*RegisterAgentRequest_Remote); ok {- return x.Remote- }+ if x, ok := x.GetConfig().(*RegisterAgentRequest_Remote); ok {+ return x.Remote}return nil}@@ -1539,14 +1476,14 @@ func (*RegisterAgentRequest_Remote) isRegisterAgentRequest_Config() {}// RegisterAgentResponse contains registration resulttype RegisterAgentResponse struct {- state protoimpl.MessageState `protogen:"open.v1"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields}func (x *RegisterAgentResponse) Reset() {*x = RegisterAgentResponse{}- mi := &file_proto_gar_proto_msgTypes[22]+ mi := &file_proto_gar_proto_msgTypes[21]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1558,7 +1495,7 @@ func (x *RegisterAgentResponse) String() string {func (*RegisterAgentResponse) ProtoMessage() {}func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[22]+ mi := &file_proto_gar_proto_msgTypes[21]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1571,20 +1508,21 @@ func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use RegisterAgentResponse.ProtoReflect.Descriptor instead.func (*RegisterAgentResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{22}+ return file_proto_gar_proto_rawDescGZIP(), []int{21}}// UnregisterAgentRequest for unregistering an agenttype UnregisterAgentRequest struct {- state protoimpl.MessageState `protogen:"open.v1"`- AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields++ AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`}func (x *UnregisterAgentRequest) Reset() {*x = UnregisterAgentRequest{}- mi := &file_proto_gar_proto_msgTypes[23]+ mi := &file_proto_gar_proto_msgTypes[22]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1596,7 +1534,7 @@ func (x *UnregisterAgentRequest) String() string {func (*UnregisterAgentRequest) ProtoMessage() {}func (x *UnregisterAgentRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[23]+ mi := &file_proto_gar_proto_msgTypes[22]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1609,7 +1547,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{23}+ return file_proto_gar_proto_rawDescGZIP(), []int{22}}func (x *UnregisterAgentRequest) GetAgentId() string {@@ -1621,14 +1559,14 @@ func (x *UnregisterAgentRequest) GetAgentId() string {// UnregisterAgentResponse contains unregistration resulttype UnregisterAgentResponse struct {- state protoimpl.MessageState `protogen:"open.v1"`- unknownFields protoimpl.UnknownFields+ state protoimpl.MessageStatesizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields}func (x *UnregisterAgentResponse) Reset() {*x = UnregisterAgentResponse{}- mi := &file_proto_gar_proto_msgTypes[24]+ mi := &file_proto_gar_proto_msgTypes[23]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1640,7 +1578,7 @@ func (x *UnregisterAgentResponse) String() string {func (*UnregisterAgentResponse) ProtoMessage() {}func (x *UnregisterAgentResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[24]+ mi := &file_proto_gar_proto_msgTypes[23]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1653,144 +1591,262 @@ func (x *UnregisterAgentResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use UnregisterAgentResponse.ProtoReflect.Descriptor instead.func (*UnregisterAgentResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{24}+ return file_proto_gar_proto_rawDescGZIP(), []int{23}}var File_proto_gar_proto protoreflect.FileDescriptor-const file_proto_gar_proto_rawDesc = "" +- "\n" +- "\x0fproto/gar.proto\x12\x05proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"a\n" +- "\x0eProcessRequest\x12#\n" +- "\rcheckpoint_id\x18\x01 \x01(\tR\fcheckpointId\x12*\n" +- "\bcontents\x18\x02 \x03(\v2\x0e.proto.ContentR\bcontents\"\x87\x01\n" +- "\x0fProcessResponse\x12#\n" +- "\rcheckpoint_id\x18\x01 \x01(\tR\fcheckpointId\x12*\n" +- "\bcontents\x18\x02 \x03(\v2\x0e.proto.ContentR\bcontents\x12#\n" +- "\ragent_handoff\x18\x03 \x01(\tR\fagentHandoff\"3\n" +- "\vTextContent\x12\x12\n" +- "\x04text\x18\x03 \x01(\tR\x04textJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03R\x04type\".\n" +- "\x10ApprovalDecision\x12\x1a\n" +- "\bapproved\x18\x01 \x01(\bR\bapproved\";\n" +- "\x0fDeclineDecision\x12\x1a\n" +- "\bdeclined\x18\x01 \x01(\bR\bdeclinedJ\x04\b\x02\x10\x03R\x06reason\"\xca\x01\n" +- "\x13ConfirmationContent\x12\x0e\n" +- "\x02id\x18\x03 \x01(\tR\x02id\x12\x1a\n" +- "\bquestion\x18\x04 \x01(\tR\bquestion\x125\n" +- "\bapproval\x18\x05 \x01(\v2\x17.proto.ApprovalDecisionH\x00R\bapproval\x122\n" +- "\adecline\x18\x06 \x01(\v2\x16.proto.DeclineDecisionH\x00R\adeclineB\n" +- "\n" +- "\bdecisionJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03R\x04type\"\x93\x01\n" +- "\x13FunctionCallContent\x12\x12\n" +- "\x04name\x18\x01 \x01(\tR\x04name\x12+\n" +- "\x04args\x18\x02 \x01(\v2\x17.google.protobuf.StructR\x04args\x12\x0e\n" +- "\x02id\x18\x03 \x01(\tR\x02id\x12+\n" +- "\x11thought_signature\x18\x04 \x01(\fR\x10thoughtSignature\"r\n" +- "\x17FunctionResponseContent\x12\x12\n" +- "\x04name\x18\x01 \x01(\tR\x04name\x123\n" +- "\bresponse\x18\x02 \x01(\v2\x17.google.protobuf.StructR\bresponse\x12\x0e\n" +- "\x02id\x18\x03 \x01(\tR\x02id\"\xb9\x02\n" +- "\aContent\x12(\n" +- "\x04text\x18\n" +- " \x01(\v2\x12.proto.TextContentH\x00R\x04text\x12@\n" +- "\fconfirmation\x18\x1a \x01(\v2\x1a.proto.ConfirmationContentH\x00R\fconfirmation\x12A\n" +- "\rfunction_call\x18\x1b \x01(\v2\x1a.proto.FunctionCallContentH\x00R\ffunctionCall\x12M\n" +- "\x11function_response\x18\x1c \x01(\v2\x1e.proto.FunctionResponseContentH\x00R\x10functionResponse\x12\x13\n" +- "\x04role\x18\xe8\a \x01(\tR\x04roleB\t\n" +- "\acontentJ\x04\b\x01\x10\x05J\x04\b\x06\x10\n" +- "J\x04\b\v\x10\x1a\"7\n" +- "\x11SessionStateEvent\x12\"\n" +- "\x05state\x18\x01 \x01(\x0e2\f.proto.StateR\x05state\"\x85\x01\n" +- "\x0eAgentCallEvent\x12\x16\n" +- "\x06sender\x18\x03 \x01(\tR\x06sender\x12*\n" +- "\bcontents\x18\x04 \x03(\v2\x0e.proto.ContentR\bcontents\x12#\n" +- "\rawaiting_more\x18\x05 \x01(\bR\fawaitingMoreJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03\"\x96\x01\n" +- "\fHandoffEvent\x12&\n" +- "\x0fsource_agent_id\x18\x03 \x01(\tR\rsourceAgentId\x12&\n" +- "\x0ftarget_agent_id\x18\x04 \x01(\tR\rtargetAgentId\x12*\n" +- "\bcontents\x18\x05 \x03(\v2\x0e.proto.ContentR\bcontentsJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03\":\n" +- "\fContentEvent\x12*\n" +- "\bcontents\x18\x01 \x03(\v2\x0e.proto.ContentR\bcontents\"\xa1\x04\n" +- "\x05Event\x12\x1d\n" +- "\n" +- "session_id\x18\x01 \x01(\tR\tsessionId\x12#\n" +- "\rcheckpoint_id\x18\x02 \x01(\tR\fcheckpointId\x12\x1f\n" +- "\vsender_name\x18\x03 \x01(\tR\n" +- "senderName\x12\x1b\n" +- "\tsender_id\x18\x04 \x01(\tR\bsenderId\x128\n" +- "\ttimestamp\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\x12M\n" +- "\x14controller_timestamp\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x13controllerTimestamp\x12J\n" +- "\x13session_state_event\x18\a \x01(\v2\x18.proto.SessionStateEventH\x00R\x11sessionStateEvent\x12A\n" +- "\x10agent_call_event\x18\b \x01(\v2\x15.proto.AgentCallEventH\x00R\x0eagentCallEvent\x12:\n" +- "\rhandoff_event\x18\t \x01(\v2\x13.proto.HandoffEventH\x00R\fhandoffEvent\x12:\n" +- "\rcontent_event\x18\n" +- " \x01(\v2\x13.proto.ContentEventH\x00R\fcontentEventB\x06\n" +- "\x04kind\"\x14\n" +- "\x12HealthCheckRequest\"I\n" +- "\x13HealthCheckResponse\x12\x18\n" +- "\ahealthy\x18\x01 \x01(\bR\ahealthy\x12\x18\n" +- "\amessage\x18\x02 \x01(\tR\amessage\"^\n" +- "\x15TriggerSessionRequest\x12\x1d\n" +- "\n" +- "session_id\x18\x01 \x01(\tR\tsessionId\x12&\n" +- "\x06inputs\x18\x02 \x03(\v2\x0e.proto.ContentR\x06inputs\"\xaa\x01\n" +- "\x16TriggerSessionResponse\x12\x1d\n" +- "\n" +- "session_id\x18\x01 \x01(\tR\tsessionId\x12#\n" +- "\rcheckpoint_id\x18\x02 \x01(\tR\fcheckpointId\x12(\n" +- "\aoutputs\x18\x03 \x03(\v2\x0e.proto.ContentR\aoutputs\x12\"\n" +- "\x05state\x18\x04 \x01(\x0e2\f.proto.StateR\x05state\"\x8e\x01\n" +- "\x12ForkSessionRequest\x12$\n" +- "\x0esrc_session_id\x18\x01 \x01(\tR\fsrcSessionId\x12*\n" +- "\x11src_checkpoint_id\x18\x02 \x01(\tR\x0fsrcCheckpointId\x12&\n" +- "\x0fdest_session_id\x18\x03 \x01(\tR\rdestSessionId\";\n" +- "\x13ForkSessionResponse\x12$\n" +- "\x0enew_session_id\x18\x01 \x01(\tR\fnewSessionId\"-\n" +- "\x11RemoteAgentConfig\x12\x18\n" +- "\aaddress\x18\x01 \x01(\tR\aaddress\"\xa9\x02\n" +- "\x14RegisterAgentRequest\x12\x19\n" +- "\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x12\n" +- "\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +- "\vdescription\x18\x03 \x01(\tR\vdescription\x12E\n" +- "\bmetadata\x18\x04 \x03(\v2).proto.RegisterAgentRequest.MetadataEntryR\bmetadata\x122\n" +- "\x06remote\x18\x05 \x01(\v2\x18.proto.RemoteAgentConfigH\x00R\x06remote\x1a;\n" +- "\rMetadataEntry\x12\x10\n" +- "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +- "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\b\n" +- "\x06config\"\x17\n" +- "\x15RegisterAgentResponse\"3\n" +- "\x16UnregisterAgentRequest\x12\x19\n" +- "\bagent_id\x18\x01 \x01(\tR\aagentId\"\x19\n" +- "\x17UnregisterAgentResponse*X\n" +- "\x05State\x12\x15\n" +- "\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n" +- "\rSTATE_RUNNING\x10\x01\x12\x10\n" +- "\fSTATE_FAILED\x10\x02\x12\x13\n" +- "\x0fSTATE_COMPLETED\x10\x032\x92\x01\n" +- "\fAgentService\x12<\n" +- "\aProcess\x12\x15.proto.ProcessRequest\x1a\x16.proto.ProcessResponse(\x010\x01\x12D\n" +- "\vHealthCheck\x12\x19.proto.HealthCheckRequest\x1a\x1a.proto.HealthCheckResponse2\xc1\x02\n" +- "\n" +- "GARService\x12O\n" +- "\x0eTriggerSession\x12\x1c.proto.TriggerSessionRequest\x1a\x1d.proto.TriggerSessionResponse0\x01\x12D\n" +- "\vForkSession\x12\x19.proto.ForkSessionRequest\x1a\x1a.proto.ForkSessionResponse\x12J\n" +- "\rRegisterAgent\x12\x1b.proto.RegisterAgentRequest\x1a\x1c.proto.RegisterAgentResponse\x12P\n" +- "\x0fUnregisterAgent\x12\x1d.proto.UnregisterAgentRequest\x1a\x1e.proto.UnregisterAgentResponseB\x1dZ\x1bgithub.com/google/gar/protob\x06proto3"+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, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,+ 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63,+ 0x74, 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, 0x87, 0x01, 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,+ 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, 0x12,+ 0x23, 0x0a, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6f, 0x66, 0x66,+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e,+ 0x64, 0x6f, 0x66, 0x66, 0x22, 0x33, 0x0a, 0x0b, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6f, 0x6e, 0x74,+ 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08,+ 0x02, 0x10, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x2e, 0x0a, 0x10, 0x41, 0x70, 0x70,+ 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a,+ 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,+ 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x3b, 0x0a, 0x0f, 0x44, 0x65, 0x63,+ 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08,+ 0x64, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,+ 0x64, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x06,+ 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xca, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x66, 0x69,+ 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x0e,+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a,+ 0x0a, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x08, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x08, 0x61, 0x70,+ 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x44, 0x65, 0x63,+ 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61,+ 0x6c, 0x12, 0x32, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x69,+ 0x6e, 0x65, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65,+ 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f,+ 0x6e, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x04, 0x74,+ 0x79, 0x70, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x13, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,+ 0x43, 0x61, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,+ 0x2b, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,+ 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x0e, 0x0a, 0x02,+ 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11,+ 0x74, 0x68, 0x6f, 0x75, 0x67, 0x68, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,+ 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x74, 0x68, 0x6f, 0x75, 0x67, 0x68, 0x74,+ 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x72, 0x0a, 0x17, 0x46, 0x75, 0x6e,+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e,+ 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f,+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,+ 0x75, 0x63, 0x74, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a,+ 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xb9, 0x02,+ 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x65, 0x78,+ 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,+ 0x54, 0x65, 0x78, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x04, 0x74,+ 0x65, 0x78, 0x74, 0x12, 0x40, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f,+ 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,+ 0x6e, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6c,+ 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x4d, 0x0a, 0x11, 0x66, 0x75, 0x6e, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x1c, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x75, 0x6e, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74,+ 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x13, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18,+ 0xe8, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x09, 0x0a, 0x07,+ 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x05, 0x4a, 0x04, 0x08,+ 0x06, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x1a, 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, 0xe5, 0x03, 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, 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, 0x5e, 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, 0x26, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 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, 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, 0x22, 0x8e, 0x01, 0x0a, 0x12, 0x46, 0x6f,+ 0x72, 0x6b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x72, 0x63, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f,+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x72, 0x63, 0x53, 0x65, 0x73,+ 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x72, 0x63, 0x5f, 0x63, 0x68,+ 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x0f, 0x73, 0x72, 0x63, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74,+ 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69,+ 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x73,+ 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x13, 0x46, 0x6f,+ 0x72, 0x6b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,+ 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x53, 0x65,+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x74,+ 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07,+ 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,+ 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa9, 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, 0x45, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 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, 0x12, 0x32, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74,+ 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,+ 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,+ 0x67, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 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, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66,+ 0x69, 0x67, 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, 0xc1, 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, 0x44, 0x0a, 0x0b, 0x46, 0x6f,+ 0x72, 0x6b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x6f, 0x72,+ 0x6b, 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 (file_proto_gar_proto_rawDescOnce sync.Once- file_proto_gar_proto_rawDescData []byte+ file_proto_gar_proto_rawDescData = file_proto_gar_proto_rawDesc)func file_proto_gar_proto_rawDescGZIP() []byte {file_proto_gar_proto_rawDescOnce.Do(func() {- file_proto_gar_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_gar_proto_rawDesc), len(file_proto_gar_proto_rawDesc)))+ file_proto_gar_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_gar_proto_rawDescData)})return file_proto_gar_proto_rawDescData}var file_proto_gar_proto_enumTypes = make([]protoimpl.EnumInfo, 1)-var file_proto_gar_proto_msgTypes = make([]protoimpl.MessageInfo, 26)+var file_proto_gar_proto_msgTypes = make([]protoimpl.MessageInfo, 25)var file_proto_gar_proto_goTypes = []any{(State)(0), // 0: proto.State(*ProcessRequest)(nil), // 1: proto.ProcessRequest@@ -1805,30 +1861,29 @@ var file_proto_gar_proto_goTypes = []any{(*SessionStateEvent)(nil), // 10: proto.SessionStateEvent(*AgentCallEvent)(nil), // 11: proto.AgentCallEvent(*HandoffEvent)(nil), // 12: proto.HandoffEvent- (*ContentEvent)(nil), // 13: proto.ContentEvent- (*Event)(nil), // 14: proto.Event- (*HealthCheckRequest)(nil), // 15: proto.HealthCheckRequest- (*HealthCheckResponse)(nil), // 16: proto.HealthCheckResponse- (*TriggerSessionRequest)(nil), // 17: proto.TriggerSessionRequest- (*TriggerSessionResponse)(nil), // 18: proto.TriggerSessionResponse- (*ForkSessionRequest)(nil), // 19: proto.ForkSessionRequest- (*ForkSessionResponse)(nil), // 20: proto.ForkSessionResponse- (*RemoteAgentConfig)(nil), // 21: proto.RemoteAgentConfig- (*RegisterAgentRequest)(nil), // 22: proto.RegisterAgentRequest- (*RegisterAgentResponse)(nil), // 23: proto.RegisterAgentResponse- (*UnregisterAgentRequest)(nil), // 24: proto.UnregisterAgentRequest- (*UnregisterAgentResponse)(nil), // 25: proto.UnregisterAgentResponse- nil, // 26: proto.RegisterAgentRequest.MetadataEntry- (*structpb.Struct)(nil), // 27: google.protobuf.Struct- (*timestamppb.Timestamp)(nil), // 28: google.protobuf.Timestamp+ (*Event)(nil), // 13: proto.Event+ (*HealthCheckRequest)(nil), // 14: proto.HealthCheckRequest+ (*HealthCheckResponse)(nil), // 15: proto.HealthCheckResponse+ (*TriggerSessionRequest)(nil), // 16: proto.TriggerSessionRequest+ (*TriggerSessionResponse)(nil), // 17: proto.TriggerSessionResponse+ (*ForkSessionRequest)(nil), // 18: proto.ForkSessionRequest+ (*ForkSessionResponse)(nil), // 19: proto.ForkSessionResponse+ (*RemoteAgentConfig)(nil), // 20: proto.RemoteAgentConfig+ (*RegisterAgentRequest)(nil), // 21: proto.RegisterAgentRequest+ (*RegisterAgentResponse)(nil), // 22: proto.RegisterAgentResponse+ (*UnregisterAgentRequest)(nil), // 23: proto.UnregisterAgentRequest+ (*UnregisterAgentResponse)(nil), // 24: proto.UnregisterAgentResponse+ nil, // 25: proto.RegisterAgentRequest.MetadataEntry+ (*structpb.Struct)(nil), // 26: google.protobuf.Struct+ (*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp}var file_proto_gar_proto_depIdxs = []int32{9, // 0: proto.ProcessRequest.contents:type_name -> proto.Content9, // 1: proto.ProcessResponse.contents:type_name -> proto.Content4, // 2: proto.ConfirmationContent.approval:type_name -> proto.ApprovalDecision5, // 3: proto.ConfirmationContent.decline:type_name -> proto.DeclineDecision- 27, // 4: proto.FunctionCallContent.args:type_name -> google.protobuf.Struct- 27, // 5: proto.FunctionResponseContent.response:type_name -> google.protobuf.Struct+ 26, // 4: proto.FunctionCallContent.args:type_name -> google.protobuf.Struct+ 26, // 5: proto.FunctionResponseContent.response:type_name -> google.protobuf.Struct3, // 6: proto.Content.text:type_name -> proto.TextContent6, // 7: proto.Content.confirmation:type_name -> proto.ConfirmationContent7, // 8: proto.Content.function_call:type_name -> proto.FunctionCallContent@@ -1836,35 +1891,33 @@ var file_proto_gar_proto_depIdxs = []int32{0, // 10: proto.SessionStateEvent.state:type_name -> proto.State9, // 11: proto.AgentCallEvent.contents:type_name -> proto.Content9, // 12: proto.HandoffEvent.contents:type_name -> proto.Content- 9, // 13: proto.ContentEvent.contents:type_name -> proto.Content- 28, // 14: proto.Event.timestamp:type_name -> google.protobuf.Timestamp- 28, // 15: proto.Event.controller_timestamp:type_name -> google.protobuf.Timestamp- 10, // 16: proto.Event.session_state_event:type_name -> proto.SessionStateEvent- 11, // 17: proto.Event.agent_call_event:type_name -> proto.AgentCallEvent- 12, // 18: proto.Event.handoff_event:type_name -> proto.HandoffEvent- 13, // 19: proto.Event.content_event:type_name -> proto.ContentEvent- 9, // 20: proto.TriggerSessionRequest.inputs:type_name -> proto.Content- 9, // 21: proto.TriggerSessionResponse.outputs:type_name -> proto.Content- 0, // 22: proto.TriggerSessionResponse.state:type_name -> proto.State- 26, // 23: proto.RegisterAgentRequest.metadata:type_name -> proto.RegisterAgentRequest.MetadataEntry- 21, // 24: proto.RegisterAgentRequest.remote:type_name -> proto.RemoteAgentConfig- 1, // 25: proto.AgentService.Process:input_type -> proto.ProcessRequest- 15, // 26: proto.AgentService.HealthCheck:input_type -> proto.HealthCheckRequest- 17, // 27: proto.GARService.TriggerSession:input_type -> proto.TriggerSessionRequest- 19, // 28: proto.GARService.ForkSession:input_type -> proto.ForkSessionRequest- 22, // 29: proto.GARService.RegisterAgent:input_type -> proto.RegisterAgentRequest- 24, // 30: proto.GARService.UnregisterAgent:input_type -> proto.UnregisterAgentRequest- 2, // 31: proto.AgentService.Process:output_type -> proto.ProcessResponse- 16, // 32: proto.AgentService.HealthCheck:output_type -> proto.HealthCheckResponse- 18, // 33: proto.GARService.TriggerSession:output_type -> proto.TriggerSessionResponse- 20, // 34: proto.GARService.ForkSession:output_type -> proto.ForkSessionResponse- 23, // 35: proto.GARService.RegisterAgent:output_type -> proto.RegisterAgentResponse- 25, // 36: proto.GARService.UnregisterAgent:output_type -> proto.UnregisterAgentResponse- 31, // [31:37] is the sub-list for method output_type- 25, // [25:31] is the sub-list for method input_type- 25, // [25:25] is the sub-list for extension type_name- 25, // [25:25] is the sub-list for extension extendee- 0, // [0:25] is the sub-list for field type_name+ 27, // 13: proto.Event.timestamp:type_name -> google.protobuf.Timestamp+ 27, // 14: proto.Event.controller_timestamp:type_name -> google.protobuf.Timestamp+ 10, // 15: proto.Event.session_state_event:type_name -> proto.SessionStateEvent+ 11, // 16: proto.Event.agent_call_event:type_name -> proto.AgentCallEvent+ 12, // 17: proto.Event.handoff_event:type_name -> proto.HandoffEvent+ 9, // 18: proto.TriggerSessionRequest.inputs:type_name -> proto.Content+ 9, // 19: proto.TriggerSessionResponse.outputs:type_name -> proto.Content+ 0, // 20: proto.TriggerSessionResponse.state:type_name -> proto.State+ 25, // 21: proto.RegisterAgentRequest.metadata:type_name -> proto.RegisterAgentRequest.MetadataEntry+ 20, // 22: proto.RegisterAgentRequest.remote:type_name -> proto.RemoteAgentConfig+ 1, // 23: proto.AgentService.Process:input_type -> proto.ProcessRequest+ 14, // 24: proto.AgentService.HealthCheck:input_type -> proto.HealthCheckRequest+ 16, // 25: proto.GARService.TriggerSession:input_type -> proto.TriggerSessionRequest+ 18, // 26: proto.GARService.ForkSession:input_type -> proto.ForkSessionRequest+ 21, // 27: proto.GARService.RegisterAgent:input_type -> proto.RegisterAgentRequest+ 23, // 28: proto.GARService.UnregisterAgent:input_type -> proto.UnregisterAgentRequest+ 2, // 29: proto.AgentService.Process:output_type -> proto.ProcessResponse+ 15, // 30: proto.AgentService.HealthCheck:output_type -> proto.HealthCheckResponse+ 17, // 31: proto.GARService.TriggerSession:output_type -> proto.TriggerSessionResponse+ 19, // 32: proto.GARService.ForkSession:output_type -> proto.ForkSessionResponse+ 22, // 33: proto.GARService.RegisterAgent:output_type -> proto.RegisterAgentResponse+ 24, // 34: proto.GARService.UnregisterAgent:output_type -> proto.UnregisterAgentResponse+ 29, // [29:35] is the sub-list for method output_type+ 23, // [23:29] is the sub-list for method input_type+ 23, // [23:23] is the sub-list for extension type_name+ 23, // [23:23] is the sub-list for extension extendee+ 0, // [0:23] is the sub-list for field type_name}func init() { file_proto_gar_proto_init() }@@ -1882,22 +1935,21 @@ func file_proto_gar_proto_init() {(*Content_FunctionCall)(nil),(*Content_FunctionResponse)(nil),}- file_proto_gar_proto_msgTypes[13].OneofWrappers = []any{+ file_proto_gar_proto_msgTypes[12].OneofWrappers = []any{(*Event_SessionStateEvent)(nil),(*Event_AgentCallEvent)(nil),(*Event_HandoffEvent)(nil),- (*Event_ContentEvent)(nil),}- file_proto_gar_proto_msgTypes[21].OneofWrappers = []any{+ file_proto_gar_proto_msgTypes[20].OneofWrappers = []any{(*RegisterAgentRequest_Remote)(nil),}type x struct{}out := protoimpl.TypeBuilder{File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),- RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_gar_proto_rawDesc), len(file_proto_gar_proto_rawDesc)),+ RawDescriptor: file_proto_gar_proto_rawDesc,NumEnums: 1,- NumMessages: 26,+ NumMessages: 25,NumExtensions: 0,NumServices: 2,},@@ -1907,6 +1959,7 @@ func file_proto_gar_proto_init() {MessageInfos: file_proto_gar_proto_msgTypes,}.Build()File_proto_gar_proto = out.File+ file_proto_gar_proto_rawDesc = nilfile_proto_gar_proto_goTypes = nilfile_proto_gar_proto_depIdxs = nil}diff --git a/proto/gar.proto b/proto/gar.protoindex 0ab5264..3bd9e1d 100644--- a/proto/gar.proto+++ b/proto/gar.proto@@ -133,12 +133,6 @@ message HandoffEvent {repeated Content contents = 5;}-// Content changes such as user inputs are recorded-// as content events.-message ContentEvent {- repeated Content contents = 1;-}-// Event is the entry in the event log. Events are used// to record the actions taken place in the GAR controller.// GAR controller can replay the events for resumability.@@ -153,10 +147,9 @@ message Event {google.protobuf.Timestamp controller_timestamp = 6;oneof kind {- SessionStateEvent session_state_event = 7;+ SessionStateEvent session_state_event = 7; // TODO: removeAgentCallEvent agent_call_event = 8;HandoffEvent handoff_event = 9;- ContentEvent content_event = 10;}}diff --git a/proto/gar_grpc.pb.go b/proto/gar_grpc.pb.goindex 9fc7b7c..2ef8ed7 100644--- a/proto/gar_grpc.pb.go+++ b/proto/gar_grpc.pb.go@@ -14,8 +14,8 @@// Code generated by protoc-gen-go-grpc. DO NOT EDIT.// versions:-// - protoc-gen-go-grpc v1.6.1-// - protoc v6.33.4+// - protoc-gen-go-grpc v1.5.1+// - protoc v5.28.2// source: proto/gar.protopackage proto@@ -101,10 +101,10 @@ type AgentServiceServer interface {type UnimplementedAgentServiceServer struct{}func (UnimplementedAgentServiceServer) Process(grpc.BidiStreamingServer[ProcessRequest, ProcessResponse]) error {- return status.Error(codes.Unimplemented, "method Process not implemented")+ return status.Errorf(codes.Unimplemented, "method Process not implemented")}func (UnimplementedAgentServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) {- return nil, status.Error(codes.Unimplemented, "method HealthCheck not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method HealthCheck not implemented")}func (UnimplementedAgentServiceServer) mustEmbedUnimplementedAgentServiceServer() {}func (UnimplementedAgentServiceServer) testEmbeddedByValue() {}@@ -117,7 +117,7 @@ type UnsafeAgentServiceServer interface {}func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer) {- // If the following call panics, it indicates UnimplementedAgentServiceServer was+ // If the following call pancis, it indicates UnimplementedAgentServiceServer was// embedded by pointer and is nil. This will cause panics if an// unimplemented method is ever invoked, so we test this at initialization// time to prevent it from happening at runtime later due to I/O.@@ -282,16 +282,16 @@ type GARServiceServer interface {type UnimplementedGARServiceServer struct{}func (UnimplementedGARServiceServer) TriggerSession(*TriggerSessionRequest, grpc.ServerStreamingServer[TriggerSessionResponse]) error {- return status.Error(codes.Unimplemented, "method TriggerSession not implemented")+ return status.Errorf(codes.Unimplemented, "method TriggerSession not implemented")}func (UnimplementedGARServiceServer) ForkSession(context.Context, *ForkSessionRequest) (*ForkSessionResponse, error) {- return nil, status.Error(codes.Unimplemented, "method ForkSession not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method ForkSession not implemented")}func (UnimplementedGARServiceServer) RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error) {- return nil, status.Error(codes.Unimplemented, "method RegisterAgent not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method RegisterAgent not implemented")}func (UnimplementedGARServiceServer) UnregisterAgent(context.Context, *UnregisterAgentRequest) (*UnregisterAgentResponse, error) {- return nil, status.Error(codes.Unimplemented, "method UnregisterAgent not implemented")+ return nil, status.Errorf(codes.Unimplemented, "method UnregisterAgent not implemented")}func (UnimplementedGARServiceServer) mustEmbedUnimplementedGARServiceServer() {}func (UnimplementedGARServiceServer) testEmbeddedByValue() {}@@ -304,7 +304,7 @@ type UnsafeGARServiceServer interface {}func RegisterGARServiceServer(s grpc.ServiceRegistrar, srv GARServiceServer) {- // If the following call panics, it indicates UnimplementedGARServiceServer was+ // If the following call pancis, it indicates UnimplementedGARServiceServer was// embedded by pointer and is nil. This will cause panics if an// unimplemented method is ever invoked, so we test this at initialization// time to prevent it from happening at runtime later due to I/O.