Repository navigation
afk-compact 0.1.17
afk-compact 0.1.17 fixes how the plugin recognises running sessions and reads GSD progress under Git Bash and Cygwin on Windows, lets you name folders /afk-compact:prune never works in, and ignores its internal test switches in normal runs. Requires Claude Code 2.1.287 or newer; tested against 2.1.325.
Added
- A
prune_protected_rootssetting, andprune --protect DIR, name folders/afk-compact:prunenever works in. When a folder it would read or delete in is one (also through a link or another spelling), lies inside one or holds one, prune refuses and deletes nothing.
Changed
- After the update, every session reads its whole transcript once more for the GSD line, on any operating system: the GSD line now reads Windows file paths it used to skip, so its saved progress starts over once. Later reads take only the new part of the transcript again.
/afk-compact:prunenow marks a manifest rowprunedonly after its file is deleted, so a file that could not be deleted, or a run that stopped early, never leaves a row sayingprunedfor a file that is still there.
Fixed
- Under Git Bash or Cygwin on Windows, GSD work done through Edit and Write is now seen: Claude Code on Windows records those files as
C:\…\.planning\STATE.md, which the GSD line missed. Paths on a network share or in WSL (\\server\…) are still not read. - Under Git Bash or Cygwin on Windows, when the session's transcript is in more than one project folder, the GSD line now reads it from the folder Claude Code names from the Windows path (
C--work-appforC:\work\app). - Under Git Bash or Cygwin on Windows, a running Claude Code session started from PowerShell, cmd, Windows Terminal or Git Bash is no longer taken for ended, so another session no longer closes its open work, takes over its handoff or reports its background jobs as lost.
- Under Git Bash or Cygwin on Windows, the plugin's skills, which run through the Bash tool, now find the session they run in, instead of working as if outside any session.
- Under Git Bash or Cygwin on Windows, the resume skill's check of background work no longer reports a running Claude Code session started from PowerShell or Git Bash as not running. A session started from PowerShell now reads as unverified, as its start time cannot be read.
Security
- The plugin's internal test switches no longer take effect when they are only set in the environment of a normal run; before, they could change its clock and path reading, so
/afk-compact:prunecould list and delete evidence younger than its age limit.