Repository navigation
AFKSwitch 0.7.0
While you are away
- An approval prompt no longer stops a session until you return. In Claude Code, a prompt that opens while you are away is declined, and the session is told to defer that one step and keep working. It never approves anything, and
/backis never declined. SetAFKSWITCH_KEEP_PROMPTS=1to keep the prompts. - A small label beside the switch names the kind of absence found in your
/afktext:💤 sleeping,💼 at work,🛒 shopping,🛫 traveling. With no text at all, an idle label such as🌳 at the parkshows now and then for 8 seconds. Your text itself is never drawn. - Decisions that need you are queued and come back together as multiple-choice questions on
/back.
Fixed
- The presence note is no longer repeated on almost every prompt in a busy session.
/afkand/backgive up after 15 seconds on a lock they cannot remove, instead of spinning forever.- On Windows the switch reads the same home folder as the state helper.
install.ps1refuses to overwrite or delete anafkorbackfolder that is not an AFKSwitch skill.
Changed
- Presence notes print the context as one quoted string, so context text cannot pose as part of the note.
- The switch module also draws in the Claude Code desktop app. Module tests cover that; it has not been checked by eye there.
- The switch module tests now run in CI on Linux, Windows and macOS.
Full list: CHANGELOG.
Update: /plugin marketplace update afkswitch then /reload-plugins (Claude Code 2.1.287+).