The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
Fix notebook_path missing from diff resolvers in parseClaudeCopilotInput and FromToolResponse
Cursor Agent9dba36e69ca4
diff --git a/cli/beacon-hooks/cmd/post_tool.go b/cli/beacon-hooks/cmd/post_tool.goindex 8f2531f6..99e44c42 100644--- a/cli/beacon-hooks/cmd/post_tool.go+++ b/cli/beacon-hooks/cmd/post_tool.go@@ -183,6 +183,9 @@ func parseClaudeCopilotInput(input map[string]interface{}, logger *logging.Loggeif filePath == "" {filePath = diff.GetStringFromMaps("absolute_path", toolInput, toolResponse)}+ if filePath == "" {+ filePath = diff.GetStringFromMaps("notebook_path", toolInput, toolResponse)+ }filePath = diff.NormalizePath(filePath)if (sessionID == "" && !isDevinLikePlatform(platformFlag)) || toolName == "" || filePath == "" {diff --git a/cli/beacon-hooks/internal/diff/diff.go b/cli/beacon-hooks/internal/diff/diff.goindex 8a513bd8..d70fd206 100644--- a/cli/beacon-hooks/internal/diff/diff.go+++ b/cli/beacon-hooks/internal/diff/diff.go@@ -24,6 +24,9 @@ func FromToolResponse(toolName string, toolInput, toolResponse map[string]interfif filePath == "" {filePath = GetStringFromMaps("absolute_path", toolInput, toolResponse)}+ if filePath == "" {+ filePath = GetStringFromMaps("notebook_path", toolInput, toolResponse)+ }filePath = NormalizePath(filePath)if filePath == "" {return ""