Skip to content

v0.9.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 08:44
· 367 commits to main since this release

fold 0.9.1

fold checks Claude tokens before it stores them, waits when a login fails, and cleans up old workspaces and worker folders. The fld gc --dry-run report explains what it would keep or remove.

Claude tokens

  • fld account add and fld account update check a token with one small claude -p turn. The check uses no tools, MCP servers, or saved session.
  • If Claude rejects the token, fold stores nothing. An update keeps the old token, and the command returns account_token_rejected.
  • If fold cannot check the token because of a network issue, usage limit, missing claude, or timeout, it stores the token and tells you why.

Login waits

  • A turn with a refused Claude login waits instead of failing or stalling. Its claim stays fresh, and Needs you names the refused account and how to fix it.
  • A refused account does not appear in Switch account until it has a newer token (fld account update). default comes back once a turn on it works again, for example after claude login.
  • After an account change, login, or daemon start, fold retries waiting turns in their own sessions. Otherwise, it retries after 10 minutes, then less often, up to once an hour.
  • fld doctor reports workers that wait for a working login.

Disk cleanup

  • fold removes a closed workspace when its owner has no running process and no open session, or after closed_workspace_days days even if its owner still runs, as a lead does. The default is 14 days; an open session that works inside the folder always keeps it.
  • fold also removes stopped task-worker and reviewer folders after that period when no claim, session, park, waiting turn, owed resume, or owed message needs them. Leads and the main agent keep their folders.
  • A folder that comes back at the path of a removed workspace gets a final checkpoint of the tracked files it holds before it goes (a review checkout takes none). fold never removes files across a mount point.
  • The daemon removes finished worker folders at project open and each day, and fld gc does it too.
  • fld gc --dry-run lists what it would do and why it would keep a folder. It also reports counts and disk space for removed worker folders.
  • After the upgrade, the first daemon start may remove many old review checkouts and worker folders at once.

Message delivery

  • Each message notice reaches its agent once, even when newer messages arrive while fold prepares it. Live sessions of one agent take turns, so they do not receive the same message at the same time.

Breaking changes

  • Migration 0076 changes the project database. A v0.9.0 daemon cannot open it after the upgrade.
  • closed_workspace_days must be at least 1. A project config that sets it to 0 is refused.

Install or upgrade

  • Install or update fold:

    curl -fsSL https://omukk.dev/fold/install.sh | sh
  • The installer puts fld in ~/.local/bin. Set FOLD_VERSION to choose a release or FOLD_INSTALL_DIR to choose another folder.

  • After updating, run fld restart.

  • Binaries support Linux x86_64 and aarch64, and macOS 13 or newer on Apple silicon. Linux binaries are static. The web app comes with fld.

  • Use Claude Code 2.1.299 or newer and sign in before starting fold. Projects with Git require Git 2.36 or newer.

Full changelog