Repository navigation
feat(fork): Install now prompt when a nightly lands (OH-10) - #32
Merged
Merged
Conversation
Josh asked for Happier to be closed if needed to refresh it. Waiting for 15 idle minutes never happened, because the Mac sleeps when he steps away, so the agent now quits and relaunches the app at the first run after a release. The relaunch stays in the background and in the same mode, and sessions belong to the daemon.
With the app open, the agent shows one Install now / Later dialog per release, installs on Install now, and otherwise installs after an hour as before. A failed attempt keeps the approval, so later runs retry without asking again. It now runs every 5 minutes so the dialog appears soon after a release lands, closes the dialog once the release installs, and status reports an outdated launch agent.
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
Part of OH-10. Adds an Install now prompt when a nightly lands, as Josh asked on 2026-11-08. It builds on #31; once #31 merges, this PR's diff is only the prompt commit.
statusreports a missing or outdated launch agent. Onlyinstallwrites the plist, so after this release lands, runinstallonce fromhappier-dev.Verification
showInstallPromptran with stand-inosascriptandlaunchctl. A hostile request path and SHA were passed literally, with no injection, and a click records the full SHA and kickstarts the agent.pkillclosed a real prompt and its wrapper shell. It left alone a decoy process whose command line contained the dialog title.Not yet verified
A real click on Install now. That happens on the first release after merge.