From fb138f5170df22d01f4e036c6d1f92ad8480ff3a Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Wed, 4 Feb 2026 15:54:01 -0800 Subject: [PATCH] Fix hook to read output field instead of message --- hooks/inject-comms-reports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/inject-comms-reports.py b/hooks/inject-comms-reports.py index 5092fe8..98c7668 100755 --- a/hooks/inject-comms-reports.py +++ b/hooks/inject-comms-reports.py @@ -56,7 +56,7 @@ def main(): sys.exit(0) # Extract the report from tool result - result_message = tool_result.get("message", "") + result_message = tool_result.get("output", "") or tool_result.get("message", "") if not result_message: sys.exit(0) -- 2.51.2