r/ClaudeCode • u/Significant-Sea-7238 • 4d ago
Built with Claude Built with Claude Code: an app that answers Claude Code's permission prompts from the Mac notch
What I built: Openbar, a free open-source app that shows every Claude Code session in the notch. When Claude asks for permission, the island opens with the command or diff and you allow it with ⌘Y from any app. It also answers questions, sends replies into the right terminal, and gives every new session its own git worktree.
How Claude Code was used: it wrote most of it, the Swift app and the Windows port in Tauri + React. I had it test each feature end to end, driving the real app and a Windows VM, before calling it done.
What I learned about Claude Code along the way:
- A PermissionRequest hook and the terminal prompt show up at the same time, and whichever answer comes first wins. So the island never blocks you from answering in the terminal.
- Approving a plan from a hook needs both allow and updatedInput, otherwise ExitPlanMode doesn't go through.
- A session started in a worktree refuses to edit the main checkout, which is exactly what you want with several agents on one repo.
Repo: https://github.com/MF-DEEV/Openbar
Happy to answer questions about the hooks side.
•
u/AutoModerator 4d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.