Debian Codegraph @

cleaners/claude.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 SPDX-License-Identifier: GPL-3.0-or-later
4 Copyright (c) 2008-2026 Andrew Ziem.
5
6 This work is licensed under the terms of the GNU GPL, version 3 or
7 later. See the COPYING file in the top-level directory.
8 -->
9 <cleaner id="claude">
10 <label>Claude</label>
11 <description translators="Label for Claude coding assistant">AI assistant</description>
12 <running type="exe" os="windows">Claude.exe</running>
13 <running type="exe" os="linux">claude</running>
14 <option id="backup">
15 <label>Backup files</label>
16 <description>Delete the backup files</description>
17 <action command="delete" search="walk.all" path="~/.claude/backups/"/>
18 </option>
19 <option id="cache">
20 <label>Cache</label>
21 <description>Delete the cache</description>
22 <action command="delete" search="walk.all" path="~/.claude/cache/"/>
23 <action command="delete" search="walk.all" path="~/.claude/plugins/cache/"/>
24 </option>
25 <option id="file_history">
26 <label translators="Pre-edit snapshots of files Claude Code changed, used for checkpoint restore">File history</label>
27 <description translators="Claude Code: checkpoint restore for past sessions. Also, do not translate /restore, which is a command.">Delete the file history used for /restore</description>
28 <action command="delete" search="walk.all" path="~/.claude/file-history/"/>
29 </option>
30 <option id="logs">
31 <label>Logs</label>
32 <description>Delete the logs</description>
33 <action command="delete" search="walk.files" path="~/.claude/debug/"/>
34 <action command="delete" search="walk.files" path="~/.claude/logs/"/>
35 <action command="delete" search="glob" path="~/.claude/*.log" type="f"/>
36 </option>
37 <option id="session">
38 <label>Session</label>
39 <description translators="Description for deleting Claude Code sessions">Delete the conversation history</description>
40 <warning>You would lose resume, continue, and rewind for past sessions</warning>
41 <action command="delete" search="walk.all" path="~/.claude/projects/"/>
42 <action command="delete" search="walk.all" path="~/.claude/sessions/"/>
43 <action command="delete" search="walk.all" path="~/.claude/session-env/"/>
44 </option>
45 <option id="shell_snapshots">
46 <label translators="In Claude Code: captured shell environment used by the Bash tool">Shell snapshots</label>
47 <description>Delete the files</description>
48 <action command="delete" search="walk.all" path="~/.claude/shell-snapshots/"/>
49 </option>
50 <option id="tmp">
51 <label>Temporary files</label>
52 <description>Delete the temporary files</description>
53 <action command="delete" search="walk.files" path="~/.claude/" regex="\.tmp$"/>
54 <action command="delete" search="walk.files" path="~/.claude/" regex="\.temp$"/>
55 </option>
56 </cleaner>