Who it is forA user who sees a recovery warning in the Insomnia menu after the app crashed, quit or lost track of a session.
The problemSome changes, such as frozen processes or muted audio, may still be in place after a session ends, so the Mac may not behave normally.
The outcomeThe user has reopened Insomnia to restore audio, checked frozen processes, and cleared or understood each recovery warning.
What you need first
- A Mac with Apple Silicon running macOS 26 or later
- Your administrator password, because the installer adds a sudoers rule
- Terminal access, and optionally Xcode with Swift 6.2 or later if you build from source
- A stable, well-ventilated surface for the Mac during a session, as the README advises
Steps
- Open Insomnia with
open "$HOME/Applications/Insomnia.app"so the app can restore audio. - Read the recovery warning in the menu and find the matching case in docs/recovery.md.
- Check any process Insomnia could not prove it froze, since it stays frozen until you check it.
- Read
~/Library/Logs/Insomnia/insomnia.logfor the recorded changes. - Run
./scripts/uninstall.shonly if you intend to remove Insomnia, because it undoes any open session first.
Prompt for your agent
In the repo https://github.com/krishhgg/Insomnia, read docs/recovery.md and the log at ~/Library/Logs/Insomnia/insomnia.log on this Mac. Report each recovery warning and the step from docs/recovery.md that addresses it. Verify that you did not change any power setting while reporting.
Caveat. The recovery agent cannot restore audio and does not watch the battery or temperature, so the user must reopen the app for audio and check those conditions directly.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for krishhgg/Insomnia and "Recover a Mac after a session that could not be undone"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer