From 01d8a1b691dacc747492fd3c5da6a861a831e0c2 Mon Sep 17 00:00:00 2001 From: stevef Date: Mon, 20 Apr 2026 11:57:12 +0200 Subject: [PATCH] Add GetBus to AgentLoop and fix reaction tool infinite loop. v4.149 Balancing Makefile across components. --- pkg/agent/loop.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/agent/loop.go b/pkg/agent/loop.go index c49ef5c54..b3693d7dd 100644 --- a/pkg/agent/loop.go +++ b/pkg/agent/loop.go @@ -274,6 +274,10 @@ func (al *AgentLoop) GetConfigPath() string { return al.configPath } +func (al *AgentLoop) GetBus() *bus.MessageBus { + return al.bus +} + // Close releases resources held by agent session stores. Call after Stop. func (al *AgentLoop) Close() { mcpManager := al.mcp.takeManager()