Repository navigation
feat(focus): a stack-nudge CLI, Focus mute and per-tag filtering - #274
Open
adefreitas wants to merge 3 commits into
Open
adefreitas wants to merge 3 commits into
adefreitas wants to merge 3 commits into
Conversation
adefreitas
force-pushed
the
feat/focus-cli
branch
from
November 24, 2026 13:57
7f7bf02 to
6f26cc0
Compare
…mute and per-tag filter A socket line with a "cmd" key is now a command and gets one JSON line back, without waiting for the client to close. Lines without it are events, exactly as before, so notify.sh and extensions are untouched. Commands: ping, say, focus on|off|status, poll, state, busy, settings. poll, state and busy are hooks (nav.pollNow, nav.poseOverride/onPoseOverride, nav.busySources) that later branches wire. - ~/.stack-nudge/stack-nudge: shell client over nc -U, bundled by build.sh, installed by install.sh and Bootstrap, refreshed on each launch. - macOS Focus as a mute source pushed in by a Shortcuts automation: banners, sound and voice are held, meeting reminders pass by default, and ending it posts one "While Focus was on: 3 review, 1 CI" notice. The menu, menu-bar icon and compact widget show a moon. - Settings > Focus (respect Focus, meetings still show) and a Notify me about sub-page of per-tag toggles, stored as STACKNUDGE_QUIET_TAGS. A quiet tag keeps its events in the list but pops no banner and moves no companion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adefreitas
force-pushed
the
feat/focus-cli
branch
from
November 24, 2026 14:52
6f26cc0 to
7a9df13
Compare
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 a command channel on the panel's socket and a
stack-nudgeshell CLI that talks to it, so scripts can post events, query state and open Settings. macOS Focus can mute banners, sound and voice through a Shortcuts automation, and Settings gets a "Notify me about" page to filter by tag.Changes
say,focus,state,settings,poll,busy,ping.stack-nudge.shwraps them.←goes back, per AGENTS.md).SettingsCategorygets akeyandinit?(key:), since main dropped itsStringraw value; thesettingscommand uses it and respects the setup and update screens.stack-nudge.shpasses shellcheck at warning level.docs/notifications.mdanddocs/panel.md.Testing
make test-without-xcode: 1918 ok, 0 failed../build.sh arm64builds;bash -nandshellcheck --severity=warningpass on the touched scripts.