Skip to content

armgit / ax

Public Imported from GitHub
0

Agent Executor (AX) is Google's open agentic orchestration runtime

Go

Fix EVENT_TYPE_HEARTBEAT

JBD3f1ab3ae8f53
diff --git a/proto/gar.pb.go b/proto/gar.pb.go
index 585259e..74ef9c3 100644
--- a/proto/gar.pb.go
+++ b/proto/gar.pb.go
@@ -27,18 +27,18 @@ type EventType int32
const (
EventType_EVENT_TYPE_UNSPECIFIED EventType = 0 // Unspecified event type
- EventType_EVENT_TYPE_HEARTBEAT EventType = 2 // Heartbeat signal
+ EventType_EVENT_TYPE_HEARTBEAT EventType = 1 // Heartbeat signal
)
// Enum value maps for EventType.
var (
EventType_name = map[int32]string{
0: "EVENT_TYPE_UNSPECIFIED",
- 2: "EVENT_TYPE_HEARTBEAT",
+ 1: "EVENT_TYPE_HEARTBEAT",
}
EventType_value = map[string]int32{
"EVENT_TYPE_UNSPECIFIED": 0,
- "EVENT_TYPE_HEARTBEAT": 2,
+ "EVENT_TYPE_HEARTBEAT": 1,
}
)
@@ -911,7 +911,7 @@ const file_proto_gar_proto_rawDesc = "" +
"\x17UnregisterAgentResponse*A\n" +
"\tEventType\x12\x1a\n" +
"\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x18\n" +
- "\x14EVENT_TYPE_HEARTBEAT\x10\x02*C\n" +
+ "\x14EVENT_TYPE_HEARTBEAT\x10\x01*C\n" +
"\x05State\x12\x15\n" +
"\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n" +
"\rSTATE_RUNNING\x10\x01\x12\x10\n" +
diff --git a/proto/gar.proto b/proto/gar.proto
index b8cc3bc..45a110b 100644
--- a/proto/gar.proto
+++ b/proto/gar.proto
@@ -20,7 +20,7 @@ message Content {
// EventType represents the type of lifecycle event
enum EventType {
EVENT_TYPE_UNSPECIFIED = 0; // Unspecified event type
- EVENT_TYPE_HEARTBEAT = 2; // Heartbeat signal
+ EVENT_TYPE_HEARTBEAT = 1; // Heartbeat signal
}
// LifecycleEvent represents events from agent lifecycle