A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.
Swift ai-agentsanthropicantigravityclaudeclaude-codecodexcursordynamic-islandgemini-cliiosiphonlinuxmacosmacos-appmenubar-appnotchopen-sourceswiftswiftuiwindows
fix(mac): return decision allow on PreToolUse for Antigravity
kobaltgit6d482d1a5f33
diff --git a/NotchBuddy/Sources/App/HookServer.swift b/NotchBuddy/Sources/App/HookServer.swiftindex 8be20abd..ec148d79 100644--- a/NotchBuddy/Sources/App/HookServer.swift+++ b/NotchBuddy/Sources/App/HookServer.swift@@ -3353,8 +3353,11 @@ def main():except Exception:pass # Always exit cleanly — never block the agent- # Gemini CLI, Antigravity, Muse Code and Copilot CLI expect {} on stdout (empty = no decision)- if agent in ('gemini', 'antigravity', 'muse', 'copilot'):+ # Antigravity requires {"decision":"allow"} on PreToolUse to avoid denying tool execution+ if agent == 'antigravity' and event == 'PreToolUse':+ sys.stdout.write('{"decision":"allow"}\\n')+ sys.stdout.flush()+ elif agent in ('gemini', 'antigravity', 'muse', 'copilot'):sys.stdout.write('{}\\n')sys.stdout.flush()@@ -3654,8 +3657,11 @@ def main():except Exception:pass # Always exit cleanly — never block the agent- # Gemini CLI, Antigravity, Muse Code and Copilot CLI expect {} on stdout (empty = no decision)- if agent in ('gemini', 'antigravity', 'muse', 'copilot'):+ # Antigravity requires {"decision":"allow"} on PreToolUse to avoid denying tool execution+ if agent == 'antigravity' and event == 'PreToolUse':+ sys.stdout.write('{"decision":"allow"}\\n')+ sys.stdout.flush()+ elif agent in ('gemini', 'antigravity', 'muse', 'copilot'):sys.stdout.write('{}\\n')sys.stdout.flush()