Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Remove GetSession RPC (#33)
Jaana Dogane0798818f2ae
diff --git a/.gitignore b/.gitignoreindex 775b05f..abb80eb 100644--- a/.gitignore+++ b/.gitignore@@ -1,5 +1,5 @@bin/*eventlog/*-gar-local_agent-remote_agent+./gar+./local_agent+./remote_agentdiff --git a/README.md b/README.mdindex ebdc7aa..c55c75c 100644--- a/README.md+++ b/README.md@@ -84,9 +84,6 @@ gar register \gar trigger \--session session123 \--input "Hello remote agent"--# Inspect session details-gar inspect --session session123```#### [Option B] Headless Mode (Simplified)@@ -153,16 +150,6 @@ gar trigger --session abc123 \gar trigger --headless --input "Quick test to upper case"```-#### Inspect a Session--```bash-gar inspect --session <id> [--server <address>]-```--Options:-- `--session`: Session identifier to inspect (required)-- `--server`: gRPC controller server address (default: "localhost:8494")-#### Register a Remote Agent```bash@@ -233,9 +220,6 @@ Checkpoints provide a mechanism to save and resume session state at specific poi**Usage Examples:**```bash-# Inspect a session to see available checkpoints-gar inspect --session session123-# Resume from a specific checkpointgar trigger --session session123 \--checkpoint "550e8400-e29b-41d4-a716-446655440000" \diff --git a/cmd/gar/inspect.go b/cmd/gar/inspect.godeleted file mode 100644index 76f7dae..0000000--- a/cmd/gar/inspect.go+++ /dev/null@@ -1,74 +0,0 @@-// Copyright 2026 Google LLC-//-// Licensed under the Apache License, Version 2.0 (the "License");-// you may not use this file except in compliance with the License.-// You may obtain a copy of the License at-//-// http://www.apache.org/licenses/LICENSE-2.0-//-// Unless required by applicable law or agreed to in writing, software-// distributed under the License is distributed on an "AS IS" BASIS,-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-// See the License for the specific language governing permissions and-// limitations under the License.--package main--import (- "context"- "fmt"- "time"-- "github.com/google/gar/proto"- "github.com/spf13/cobra"-)--var (- inspectSessionID string- inspectServerAddr string-)--var inspectCmd = &cobra.Command{- Use: "inspect",- Short: "Inspect a session",- Long: `Inspect a session to view its current state, step count, and other details.`,- RunE: runInspect,-}--func init() {- inspectCmd.Flags().StringVar(&inspectSessionID, "session", "", "Session ID (required)")- inspectCmd.Flags().StringVar(&inspectServerAddr, "server", "localhost:8494", "gRPC controller server address (default: localhost:8494)")- inspectCmd.MarkFlagRequired("session")-}--func runInspect(cmd *cobra.Command, args []string) error {- ctx := context.Background()- conn, err := connect(inspectServerAddr)- if err != nil {- return err- }- defer conn.Close()-- client := proto.NewGARServiceClient(conn)-- // Get session details- resp, err := client.GetSession(ctx, &proto.GetSessionRequest{- SessionId: inspectSessionID,- })- if err != nil {- return fmt.Errorf("error getting session: %w", err)- }-- session := resp.Session-- // Print session details- fmt.Println("\nSession Details:")- fmt.Printf(" ID: %s\n", inspectSessionID)- fmt.Printf(" State: %s\n", session.State)- fmt.Printf(" Created At: %s\n", session.CreatedAt.AsTime().Format(time.RFC3339))- fmt.Printf(" Updated At: %s\n", session.UpdatedAt.AsTime().Format(time.RFC3339))- fmt.Printf(" Checkpoints: %v\n", session.CheckpointIds)- fmt.Printf(" Active Agents: %v\n", session.ActiveAgents)-- return nil-}diff --git a/cmd/gar/main.go b/cmd/gar/main.goindex 90ad3d5..80b223f 100644--- a/cmd/gar/main.go+++ b/cmd/gar/main.go@@ -14,7 +14,7 @@// Gar is a CLI tool for managing agent orchestrator sessions.// It provides commands to trigger sessions, resume from checkpoints,-// inspect session state, register agents, and run the controller server.+// register agents, and run the controller server.package mainimport (@@ -38,13 +38,12 @@ var rootCmd = &cobra.Command{Short: "GAR - Google Agent Runtime CLI",Long: `Gar is a CLI tool for managing agent orchestrator sessions.It provides commands to trigger sessions, resume from checkpoints,-inspect session state, register agents, and run the controller server.`,+register agents, and run the controller server.`,}func init() {// Add subcommandsrootCmd.AddCommand(triggerCmd)- rootCmd.AddCommand(inspectCmd)rootCmd.AddCommand(registerCmd)rootCmd.AddCommand(serveCmd)}diff --git a/internal/server/server.go b/internal/server/server.goindex fd19385..0bb2a15 100644--- a/internal/server/server.go+++ b/internal/server/server.go@@ -79,26 +79,6 @@ func (s *Server) TriggerSession(req *proto.TriggerSessionRequest, stream grpc.Sestream.Context(), sessionID, incoming, outputHandler)}-// GetSession retrieves session details.-func (s *Server) GetSession(ctx context.Context, req *proto.GetSessionRequest) (*proto.GetSessionResponse, error) {- if req.SessionId == "" {- return nil, fmt.Errorf("session_id is required")- }-- // Load session if not already loaded- session, err := s.controller.LoadSession(ctx, req.SessionId)- if err != nil {- return nil, fmt.Errorf("error loading session: %w", err)- }-- return &proto.GetSessionResponse{- Session: &proto.SessionInfo{- State: session.State(),- CheckpointIds: session.CheckpointIDs(),- },- }, nil-}-// RegisterAgent registers a new remote agent with the controller.func (s *Server) RegisterAgent(ctx context.Context, req *proto.RegisterAgentRequest) (*proto.RegisterAgentResponse, error) {if req.AgentId == "" {diff --git a/proto/gar.pb.go b/proto/gar.pb.goindex 03edfad..c7c011b 100644--- a/proto/gar.pb.go+++ b/proto/gar.pb.go@@ -936,176 +936,6 @@ func (x *TriggerSessionResponse) GetState() State {return State_STATE_UNSPECIFIED}-// GetSessionRequest for retrieving session details.-type GetSessionRequest struct {- 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"`-}--func (x *GetSessionRequest) Reset() {- *x = GetSessionRequest{}- mi := &file_proto_gar_proto_msgTypes[13]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *GetSessionRequest) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*GetSessionRequest) ProtoMessage() {}--func (x *GetSessionRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[13]- 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 GetSessionRequest.ProtoReflect.Descriptor instead.-func (*GetSessionRequest) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{13}-}--func (x *GetSessionRequest) GetSessionId() string {- if x != nil {- return x.SessionId- }- return ""-}--// SessionInfo contains session details.-type SessionInfo struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- State State `protobuf:"varint,1,opt,name=state,proto3,enum=proto.State" json:"state,omitempty"`- ActiveAgents []string `protobuf:"bytes,2,rep,name=active_agents,json=activeAgents,proto3" json:"active_agents,omitempty"`- CheckpointIds []string `protobuf:"bytes,3,rep,name=checkpoint_ids,json=checkpointIds,proto3" json:"checkpoint_ids,omitempty"`- CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Session creation time- UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Last update time-}--func (x *SessionInfo) Reset() {- *x = SessionInfo{}- mi := &file_proto_gar_proto_msgTypes[14]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *SessionInfo) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*SessionInfo) ProtoMessage() {}--func (x *SessionInfo) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[14]- 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 SessionInfo.ProtoReflect.Descriptor instead.-func (*SessionInfo) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{14}-}--func (x *SessionInfo) GetState() State {- if x != nil {- return x.State- }- return State_STATE_UNSPECIFIED-}--func (x *SessionInfo) GetActiveAgents() []string {- if x != nil {- return x.ActiveAgents- }- return nil-}--func (x *SessionInfo) GetCheckpointIds() []string {- if x != nil {- return x.CheckpointIds- }- return nil-}--func (x *SessionInfo) GetCreatedAt() *timestamppb.Timestamp {- if x != nil {- return x.CreatedAt- }- return nil-}--func (x *SessionInfo) GetUpdatedAt() *timestamppb.Timestamp {- if x != nil {- return x.UpdatedAt- }- return nil-}--// GetSessionResponse contains session information.-type GetSessionResponse struct {- state protoimpl.MessageState- sizeCache protoimpl.SizeCache- unknownFields protoimpl.UnknownFields-- Session *SessionInfo `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`-}--func (x *GetSessionResponse) Reset() {- *x = GetSessionResponse{}- mi := &file_proto_gar_proto_msgTypes[15]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *GetSessionResponse) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*GetSessionResponse) ProtoMessage() {}--func (x *GetSessionResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[15]- 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 GetSessionResponse.ProtoReflect.Descriptor instead.-func (*GetSessionResponse) Descriptor() ([]byte, []int) {- return file_proto_gar_proto_rawDescGZIP(), []int{15}-}--func (x *GetSessionResponse) GetSession() *SessionInfo {- if x != nil {- return x.Session- }- return nil-}-// RegisterAgentRequest for registering an agenttype RegisterAgentRequest struct {state protoimpl.MessageState@@ -1121,7 +951,7 @@ type RegisterAgentRequest struct {func (x *RegisterAgentRequest) Reset() {*x = RegisterAgentRequest{}- mi := &file_proto_gar_proto_msgTypes[16]+ mi := &file_proto_gar_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1133,7 +963,7 @@ func (x *RegisterAgentRequest) String() string {func (*RegisterAgentRequest) ProtoMessage() {}func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[16]+ mi := &file_proto_gar_proto_msgTypes[13]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1146,7 +976,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{16}+ return file_proto_gar_proto_rawDescGZIP(), []int{13}}func (x *RegisterAgentRequest) GetAgentId() string {@@ -1193,7 +1023,7 @@ type RegisterAgentResponse struct {func (x *RegisterAgentResponse) Reset() {*x = RegisterAgentResponse{}- mi := &file_proto_gar_proto_msgTypes[17]+ mi := &file_proto_gar_proto_msgTypes[14]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1205,7 +1035,7 @@ func (x *RegisterAgentResponse) String() string {func (*RegisterAgentResponse) ProtoMessage() {}func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[17]+ mi := &file_proto_gar_proto_msgTypes[14]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1218,7 +1048,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{17}+ return file_proto_gar_proto_rawDescGZIP(), []int{14}}// UnregisterAgentRequest for unregistering an agent@@ -1232,7 +1062,7 @@ type UnregisterAgentRequest struct {func (x *UnregisterAgentRequest) Reset() {*x = UnregisterAgentRequest{}- mi := &file_proto_gar_proto_msgTypes[18]+ mi := &file_proto_gar_proto_msgTypes[15]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1244,7 +1074,7 @@ func (x *UnregisterAgentRequest) String() string {func (*UnregisterAgentRequest) ProtoMessage() {}func (x *UnregisterAgentRequest) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[18]+ mi := &file_proto_gar_proto_msgTypes[15]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1257,7 +1087,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{18}+ return file_proto_gar_proto_rawDescGZIP(), []int{15}}func (x *UnregisterAgentRequest) GetAgentId() string {@@ -1276,7 +1106,7 @@ type UnregisterAgentResponse struct {func (x *UnregisterAgentResponse) Reset() {*x = UnregisterAgentResponse{}- mi := &file_proto_gar_proto_msgTypes[19]+ mi := &file_proto_gar_proto_msgTypes[16]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1288,7 +1118,7 @@ func (x *UnregisterAgentResponse) String() string {func (*UnregisterAgentResponse) ProtoMessage() {}func (x *UnregisterAgentResponse) ProtoReflect() protoreflect.Message {- mi := &file_proto_gar_proto_msgTypes[19]+ mi := &file_proto_gar_proto_msgTypes[16]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1301,7 +1131,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{19}+ return file_proto_gar_proto_rawDescGZIP(), []int{16}}var File_proto_gar_proto protoreflect.FileDescriptor@@ -1420,90 +1250,63 @@ var file_proto_gar_proto_rawDesc = []byte{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, 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, 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,+ 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, 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,+ 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, 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, 0xfb, 0x01, 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, 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 (@@ -1519,7 +1322,7 @@ 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, 21)+var file_proto_gar_proto_msgTypes = make([]protoimpl.MessageInfo, 18)var file_proto_gar_proto_goTypes = []any{(State)(0), // 0: proto.State(*ProcessRequest)(nil), // 1: proto.ProcessRequest@@ -1535,15 +1338,12 @@ var file_proto_gar_proto_goTypes = []any{(*HealthCheckResponse)(nil), // 11: proto.HealthCheckResponse(*TriggerSessionRequest)(nil), // 12: proto.TriggerSessionRequest(*TriggerSessionResponse)(nil), // 13: proto.TriggerSessionResponse- (*GetSessionRequest)(nil), // 14: proto.GetSessionRequest- (*SessionInfo)(nil), // 15: proto.SessionInfo- (*GetSessionResponse)(nil), // 16: proto.GetSessionResponse- (*RegisterAgentRequest)(nil), // 17: proto.RegisterAgentRequest- (*RegisterAgentResponse)(nil), // 18: proto.RegisterAgentResponse- (*UnregisterAgentRequest)(nil), // 19: proto.UnregisterAgentRequest- (*UnregisterAgentResponse)(nil), // 20: proto.UnregisterAgentResponse- nil, // 21: proto.RegisterAgentRequest.MetadataEntry- (*timestamppb.Timestamp)(nil), // 22: google.protobuf.Timestamp+ (*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}var file_proto_gar_proto_depIdxs = []int32{4, // 0: proto.ProcessRequest.contents:type_name -> proto.Content@@ -1553,8 +1353,8 @@ var file_proto_gar_proto_depIdxs = []int32{4, // 4: proto.AgentCallEvent.contents:type_name -> proto.Content4, // 5: proto.HandoffEvent.contents:type_name -> proto.Content4, // 6: proto.ContentEvent.contents:type_name -> proto.Content- 22, // 7: proto.Event.timestamp:type_name -> google.protobuf.Timestamp- 22, // 8: proto.Event.controller_timestamp:type_name -> google.protobuf.Timestamp+ 19, // 7: proto.Event.timestamp:type_name -> google.protobuf.Timestamp+ 19, // 8: proto.Event.controller_timestamp:type_name -> google.protobuf.Timestamp5, // 9: proto.Event.session_state_event:type_name -> proto.SessionStateEvent6, // 10: proto.Event.agent_call_event:type_name -> proto.AgentCallEvent7, // 11: proto.Event.handoff_event:type_name -> proto.HandoffEvent@@ -1562,28 +1362,22 @@ var file_proto_gar_proto_depIdxs = []int32{4, // 13: proto.TriggerSessionRequest.inputs:type_name -> proto.Content4, // 14: proto.TriggerSessionResponse.outputs:type_name -> proto.Content0, // 15: proto.TriggerSessionResponse.state:type_name -> proto.State- 0, // 16: proto.SessionInfo.state:type_name -> proto.State- 22, // 17: proto.SessionInfo.created_at:type_name -> google.protobuf.Timestamp- 22, // 18: proto.SessionInfo.updated_at:type_name -> google.protobuf.Timestamp- 15, // 19: proto.GetSessionResponse.session:type_name -> proto.SessionInfo- 21, // 20: proto.RegisterAgentRequest.metadata:type_name -> proto.RegisterAgentRequest.MetadataEntry- 1, // 21: proto.AgentService.Process:input_type -> proto.ProcessRequest- 10, // 22: proto.AgentService.HealthCheck:input_type -> proto.HealthCheckRequest- 12, // 23: proto.GARService.TriggerSession:input_type -> proto.TriggerSessionRequest- 14, // 24: proto.GARService.GetSession:input_type -> proto.GetSessionRequest- 17, // 25: proto.GARService.RegisterAgent:input_type -> proto.RegisterAgentRequest- 19, // 26: proto.GARService.UnregisterAgent:input_type -> proto.UnregisterAgentRequest- 2, // 27: proto.AgentService.Process:output_type -> proto.ProcessResponse- 11, // 28: proto.AgentService.HealthCheck:output_type -> proto.HealthCheckResponse- 13, // 29: proto.GARService.TriggerSession:output_type -> proto.TriggerSessionResponse- 16, // 30: proto.GARService.GetSession:output_type -> proto.GetSessionResponse- 18, // 31: proto.GARService.RegisterAgent:output_type -> proto.RegisterAgentResponse- 20, // 32: proto.GARService.UnregisterAgent:output_type -> proto.UnregisterAgentResponse- 27, // [27:33] is the sub-list for method output_type- 21, // [21:27] is the sub-list for method input_type- 21, // [21:21] is the sub-list for extension type_name- 21, // [21:21] is the sub-list for extension extendee- 0, // [0:21] is the sub-list for field type_name+ 18, // 16: proto.RegisterAgentRequest.metadata:type_name -> proto.RegisterAgentRequest.MetadataEntry+ 1, // 17: proto.AgentService.Process:input_type -> proto.ProcessRequest+ 10, // 18: proto.AgentService.HealthCheck:input_type -> proto.HealthCheckRequest+ 12, // 19: proto.GARService.TriggerSession:input_type -> proto.TriggerSessionRequest+ 14, // 20: proto.GARService.RegisterAgent:input_type -> proto.RegisterAgentRequest+ 16, // 21: proto.GARService.UnregisterAgent:input_type -> proto.UnregisterAgentRequest+ 2, // 22: proto.AgentService.Process:output_type -> proto.ProcessResponse+ 11, // 23: proto.AgentService.HealthCheck:output_type -> proto.HealthCheckResponse+ 13, // 24: proto.GARService.TriggerSession:output_type -> proto.TriggerSessionResponse+ 15, // 25: proto.GARService.RegisterAgent:output_type -> proto.RegisterAgentResponse+ 17, // 26: proto.GARService.UnregisterAgent:output_type -> proto.UnregisterAgentResponse+ 22, // [22:27] is the sub-list for method output_type+ 17, // [17:22] is the sub-list for method input_type+ 17, // [17:17] is the sub-list for extension type_name+ 17, // [17:17] is the sub-list for extension extendee+ 0, // [0:17] is the sub-list for field type_name}func init() { file_proto_gar_proto_init() }@@ -1606,7 +1400,7 @@ func file_proto_gar_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_proto_gar_proto_rawDesc,NumEnums: 1,- NumMessages: 21,+ NumMessages: 18,NumExtensions: 0,NumServices: 2,},diff --git a/proto/gar.proto b/proto/gar.protoindex 7520d2f..6b9be0a 100644--- a/proto/gar.proto+++ b/proto/gar.proto@@ -165,25 +165,6 @@ message TriggerSessionResponse {State state = 4; // Session state}-// GetSessionRequest for retrieving session details.-message GetSessionRequest {- string session_id = 1;-}--// SessionInfo contains session details.-message SessionInfo {- State state = 1;- repeated string active_agents = 2;- repeated string checkpoint_ids = 3;- google.protobuf.Timestamp created_at = 4; // Session creation time- google.protobuf.Timestamp updated_at = 5; // Last update time-}--// GetSessionResponse contains session information.-message GetSessionResponse {- SessionInfo session = 1;-}-// RegisterAgentRequest for registering an agentmessage RegisterAgentRequest {string agent_id = 1;@@ -212,9 +193,6 @@ service GARService {// If the session_id already exists, it will be resumed from the last checkpointrpc TriggerSession(TriggerSessionRequest) returns (stream TriggerSessionResponse);- // GetSession retrieves session details- rpc GetSession(GetSessionRequest) returns (GetSessionResponse);-// RegisterAgent registers a new agent with the controllerrpc RegisterAgent(RegisterAgentRequest) returns (RegisterAgentResponse);diff --git a/proto/gar_grpc.pb.go b/proto/gar_grpc.pb.goindex 6640f06..04a824d 100644--- a/proto/gar_grpc.pb.go+++ b/proto/gar_grpc.pb.go@@ -177,7 +177,6 @@ var AgentService_ServiceDesc = grpc.ServiceDesc{const (GARService_TriggerSession_FullMethodName = "/proto.GARService/TriggerSession"- GARService_GetSession_FullMethodName = "/proto.GARService/GetSession"GARService_RegisterAgent_FullMethodName = "/proto.GARService/RegisterAgent"GARService_UnregisterAgent_FullMethodName = "/proto.GARService/UnregisterAgent")@@ -191,8 +190,6 @@ type GARServiceClient interface {// TriggerSession triggers a new agentic loop session or resumes an existing one with streaming responses// If the session_id already exists, it will be resumed from the last checkpointTriggerSession(ctx context.Context, in *TriggerSessionRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TriggerSessionResponse], error)- // GetSession retrieves session details- GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*GetSessionResponse, error)// RegisterAgent registers a new agent with the controllerRegisterAgent(ctx context.Context, in *RegisterAgentRequest, opts ...grpc.CallOption) (*RegisterAgentResponse, error)// UnregisterAgent removes an agent from the controller@@ -226,16 +223,6 @@ func (c *gARServiceClient) TriggerSession(ctx context.Context, in *TriggerSessio// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.type GARService_TriggerSessionClient = grpc.ServerStreamingClient[TriggerSessionResponse]-func (c *gARServiceClient) GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*GetSessionResponse, error) {- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)- out := new(GetSessionResponse)- err := c.cc.Invoke(ctx, GARService_GetSession_FullMethodName, in, out, cOpts...)- if err != nil {- return nil, err- }- return out, nil-}-func (c *gARServiceClient) RegisterAgent(ctx context.Context, in *RegisterAgentRequest, opts ...grpc.CallOption) (*RegisterAgentResponse, error) {cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)out := new(RegisterAgentResponse)@@ -265,8 +252,6 @@ type GARServiceServer interface {// TriggerSession triggers a new agentic loop session or resumes an existing one with streaming responses// If the session_id already exists, it will be resumed from the last checkpointTriggerSession(*TriggerSessionRequest, grpc.ServerStreamingServer[TriggerSessionResponse]) error- // GetSession retrieves session details- GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)// RegisterAgent registers a new agent with the controllerRegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error)// UnregisterAgent removes an agent from the controller@@ -284,9 +269,6 @@ type UnimplementedGARServiceServer struct{}func (UnimplementedGARServiceServer) TriggerSession(*TriggerSessionRequest, grpc.ServerStreamingServer[TriggerSessionResponse]) error {return status.Errorf(codes.Unimplemented, "method TriggerSession not implemented")}-func (UnimplementedGARServiceServer) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error) {- return nil, status.Errorf(codes.Unimplemented, "method GetSession not implemented")-}func (UnimplementedGARServiceServer) RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error) {return nil, status.Errorf(codes.Unimplemented, "method RegisterAgent not implemented")}@@ -325,24 +307,6 @@ func _GARService_TriggerSession_Handler(srv interface{}, stream grpc.ServerStrea// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.type GARService_TriggerSessionServer = grpc.ServerStreamingServer[TriggerSessionResponse]-func _GARService_GetSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {- in := new(GetSessionRequest)- if err := dec(in); err != nil {- return nil, err- }- if interceptor == nil {- return srv.(GARServiceServer).GetSession(ctx, in)- }- info := &grpc.UnaryServerInfo{- Server: srv,- FullMethod: GARService_GetSession_FullMethodName,- }- handler := func(ctx context.Context, req interface{}) (interface{}, error) {- return srv.(GARServiceServer).GetSession(ctx, req.(*GetSessionRequest))- }- return interceptor(ctx, in, info, handler)-}-func _GARService_RegisterAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {in := new(RegisterAgentRequest)if err := dec(in); err != nil {@@ -386,10 +350,6 @@ var GARService_ServiceDesc = grpc.ServiceDesc{ServiceName: "proto.GARService",HandlerType: (*GARServiceServer)(nil),Methods: []grpc.MethodDesc{- {- MethodName: "GetSession",- Handler: _GARService_GetSession_Handler,- },{MethodName: "RegisterAgent",Handler: _GARService_RegisterAgent_Handler,