{"version":"2.1.324","anchor":"claude-purge-refuses-to-prompt-without-a-terminal","canonical_anchor":"claude-purge-refuses-to-prompt-without-a-terminal","heading":"claude purge no longer hangs when no one can answer its prompt","tier":"notice","area":"Purge","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/claude-purge-refuses-to-prompt-without-a-terminal","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### `claude purge` no longer hangs when no one can answer its prompt\n\nWithout a terminal to type into, `claude purge` now stops with a message instead of waiting forever for an answer\n\n**What**\n\n`claude purge` now checks whether it is attached to a terminal (a window where someone can type) before it asks anything. If it is not, it stops with a message instead of waiting. This covers both the project picker and the `-i` interactive mode.\n\nThe message suggests other ways to run it:\n\n- Name a project path, without `-i`: `claude purge <path>`.\n\n- Add `--dry-run` to see what it would delete without deleting anything.\n\n- Run without `-i` to confirm the whole list once at a single yes or no prompt.\n\n**Why**\n\nThis makes `claude purge` safe to use in scripts and automated pipelines, where a question nobody can answer would otherwise hang the run.\n\n- Area: Purge\n- Names: `claude purge`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}