Skip to content

feat(herdr): add automatic no-sleep plugin - #7

Open
princejoogie wants to merge 4 commits into
omsimos:mainfrom
princejoogie:feat/herdr-nosleep-plugin
Open

feat(herdr): add automatic no-sleep plugin#7
princejoogie wants to merge 4 commits into
omsimos:mainfrom
princejoogie:feat/herdr-nosleep-plugin

Conversation

@princejoogie

Copy link
Copy Markdown
Member

Summary

  • add an installable Herdr plugin that keeps macOS awake while any live agent exists
  • aggregate agents across named Herdr sessions and retain the 20% battery cutoff
  • manage caffeinate, lid-aware brightness, plugin enable/disable, updates, and privileged cleanup
  • install a narrowly scoped sudoers rule for only the two required pmset commands
  • document installation/removal and add a minor changeset

Verification

  • bash -n herdr-plugin/*.sh
  • shellcheck herdr-plugin/*.sh
  • git diff --check
  • Herdr manifest linked and validated on Herdr 0.8.0
  • live local installation verified with active agents
  • plugin disable restored SleepDisabled=0 and stopped helper processes
  • plugin re-enable restored SleepDisabled=1, caffeinate, and the lid watcher automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant