Skip to content

AFKSwitch 0.7.0

Choose a tag to compare

@augbastos augbastos released this 11 Nov 02:23
· 16 commits to main since this release
8c07568

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 /back is never declined. Set AFKSWITCH_KEEP_PROMPTS=1 to keep the prompts.
  • A small label beside the switch names the kind of absence found in your /afk text: 💤 sleeping, 💼 at work, 🛒 shopping, 🛫 traveling. With no text at all, an idle label such as 🌳 at the park shows 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.
  • /afk and /back give 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.ps1 refuses to overwrite or delete an afk or back folder 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+).