Add Apple Shortcuts and webhook actions for CodexBar notifications#801
Open
kibermaks wants to merge 3 commits intosteipete:mainfrom
Open
Add Apple Shortcuts and webhook actions for CodexBar notifications#801kibermaks wants to merge 3 commits intosteipete:mainfrom
kibermaks wants to merge 3 commits intosteipete:mainfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f76fb2c99c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds automation delivery options for CodexBar notification events, plus a dedicated Notifications tab in Preferences.
CodexBar can now route important events to:
This makes notifications useful when the user steps away from the Mac, and it also enables autonomous workflows. For example, a quota-restored event can run an Apple Shortcut that alerts an iPhone or Apple Watch, triggers HomeKit/Home Assistant automation, calls Pushover/ntfy/Telegram/Pushcut, or invokes a webhook that resumes a paused agent/task once quota is available again.
What Changed
docs/shortcuts.Why
The current local macOS notification is useful while actively sitting at the computer, but it does not cover common “step away from the machine” workflows or longer autonomous runs.
This PR lets CodexBar act as the event source and lets users decide what happens next:
The goal is not to make CodexBar own every integration. It exposes clean notification events that can be connected to the automation system users already rely on.
Scope
This PR focuses on notification delivery and notification settings.
It does not add configurable quota threshold warnings yet. That remains a separate feature request, but this gives that work a cleaner delivery layer to build on.
It also does not implement CLI permission-prompt detection yet. The event model should make that easier to add later without duplicating delivery logic.
Related
Related to:
Testing
git diff --checkswift testswift test --filter SubprocessRunnerTests