Agent Executor (AX) is Google's open agentic orchestration runtime
Go
Remove EVENT_TYPE_PROGRESS
JBDf9ed93bcb06f
diff --git a/README.md b/README.mdindex 08c125b..cffd74f 100644--- a/README.md+++ b/README.md@@ -12,7 +12,7 @@ GAR, a short for Google Agent Runtime, is a single-writer agent orchestrator sysBuilt-in consistency and resumability features:- **Single-Writer Architecture**: Centralized controller ensures consistent state management- **Event Log**: Durable session state with automatic recovery-- **Lifecycle Events**: PROGRESS and HEARTBEAT events for monitoring agent health+- **Lifecycle Events**: HEARTBEAT events for monitoring agent health## Overview@@ -271,7 +271,7 @@ processFunc := func(ctx context.Context, sessionID string, inputs []*proto.ContelifecycleFunc := func(ctx context.Context, handler agent.LifecycleHandler) error {// Send lifecycle events via handler callbackreturn handler(&proto.LifecycleEvent{- EventType: proto.EventType_EVENT_TYPE_PROGRESS,+ EventType: proto.EventType_EVENT_TYPE_HEARTBEAT,Timestamp: timestamppb.Now(),})}@@ -329,7 +329,7 @@ func (s *server) Process(stream proto.AgentService_ProcessServer) error {func (s *server) StreamLifecycle(stream proto.AgentService_StreamLifecycleServer) error {// Stream lifecycle events to gar controller- // Send periodic PROGRESS, HEARTBEAT events+ // Send periodic HEARTBEAT events}func (s *server) HealthCheck(ctx context.Context, req *proto.HealthCheckRequest) (*proto.HealthCheckResponse, error) {diff --git a/examples/local_agent/main.go b/examples/local_agent/main.goindex 0168cc7..8596c39 100644--- a/examples/local_agent/main.go+++ b/examples/local_agent/main.go@@ -97,9 +97,9 @@ func createEchoAgent(id string) (*agent.LocalAgent, error) {}lifecycleFunc := func(ctx context.Context, handler agent.LifecycleHandler) error {- // Send initial PROGRESS event+ // Send initial heartbeat eventif err := handler(&proto.LifecycleEvent{- EventType: proto.EventType_EVENT_TYPE_PROGRESS,+ EventType: proto.EventType_EVENT_TYPE_HEARTBEAT,Timestamp: timestamppb.Now(),}); err != nil {return err@@ -113,7 +113,7 @@ func createEchoAgent(id string) (*agent.LocalAgent, error) {select {case <-ticker.C:if err := handler(&proto.LifecycleEvent{- EventType: proto.EventType_EVENT_TYPE_PROGRESS,+ EventType: proto.EventType_EVENT_TYPE_HEARTBEAT,Timestamp: timestamppb.Now(),}); err != nil {return errdiff --git a/proto/gar.pb.go b/proto/gar.pb.goindex 0853130..585259e 100644--- a/proto/gar.pb.go+++ b/proto/gar.pb.go@@ -27,7 +27,6 @@ type EventType int32const (EventType_EVENT_TYPE_UNSPECIFIED EventType = 0 // Unspecified event type- EventType_EVENT_TYPE_PROGRESS EventType = 1 // Progress updateEventType_EVENT_TYPE_HEARTBEAT EventType = 2 // Heartbeat signal)@@ -35,12 +34,10 @@ const (var (EventType_name = map[int32]string{0: "EVENT_TYPE_UNSPECIFIED",- 1: "EVENT_TYPE_PROGRESS",2: "EVENT_TYPE_HEARTBEAT",}EventType_value = map[string]int32{"EVENT_TYPE_UNSPECIFIED": 0,- "EVENT_TYPE_PROGRESS": 1,"EVENT_TYPE_HEARTBEAT": 2,})@@ -911,10 +908,9 @@ const file_proto_gar_proto_rawDesc = "" +"\x15RegisterAgentResponse\"3\n" +"\x16UnregisterAgentRequest\x12\x19\n" +"\bagent_id\x18\x01 \x01(\tR\aagentId\"\x19\n" +- "\x17UnregisterAgentResponse*Z\n" ++ "\x17UnregisterAgentResponse*A\n" +"\tEventType\x12\x1a\n" +- "\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x17\n" +- "\x13EVENT_TYPE_PROGRESS\x10\x01\x12\x18\n" ++ "\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x18\n" +"\x14EVENT_TYPE_HEARTBEAT\x10\x02*C\n" +"\x05State\x12\x15\n" +"\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n" +diff --git a/proto/gar.proto b/proto/gar.protoindex a521928..b8cc3bc 100644--- a/proto/gar.proto+++ b/proto/gar.proto@@ -20,7 +20,6 @@ message Content {// EventType represents the type of lifecycle eventenum EventType {EVENT_TYPE_UNSPECIFIED = 0; // Unspecified event type- EVENT_TYPE_PROGRESS = 1; // Progress updateEVENT_TYPE_HEARTBEAT = 2; // Heartbeat signal}