Isolates tasks to git worktrees
Cline updates to run tasks in isolated git worktrees, keeping the agent off your working tree.
Start a task in its own git worktree. The welcome screen's “Work in” switch (next to the folder and branch chips) now offers Local or Worktree; pick Worktree and the first prompt of a new thread cuts a fresh `cline/` branch off the current one, creates a worktree under `~/.cline/worktrees/`, and runs the task there, so the agent never touches your working tree. The conversation chip shows ` / cline/` with the full path in its tooltip. Deleting the task removes its worktree and branch (discarding uncommitted changes in it), unless another session still lives there. Only new threads are affected — follow-ups and reopened sessions stay where they are Long sessions in the desktop app now compact automatically.
Auto-compaction had never actually run here: the sidecar opted sessions into checkpoints but never into compaction, so the 90% trigger was never installed and long conversations simply ran out of room. This was not a recent regression — the gap dated to compaction becoming opt-in in core back in April On Windows, launching Cline while it is already running now brings the existing window to the front instead of starting a second copy. Closing the window hides Cline to the tray…
- github.comCline: Desktop v0.0.33primary