dustclaw 0.1.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,13 +14,14 @@ It scans your disk, shows you what is big, and knows where macOS and dev tools h
14
14
 
15
15
  ## Why Dustclaw Exists
16
16
 
17
- There are excellent disk space tools out there — [dust](https://github.com/bootandy/dust) and [dua-cli](https://github.com/Byron/dua-cli) are blazing fast Rust scanners, [duf](https://github.com/muesli/duf) is a beautiful Go replacement for `df`, and [npkill](https://github.com/voidcosmos/npkill) is great for cleaning up `node_modules`.
17
+ There are excellent disk space tools out there: [dust](https://github.com/bootandy/dust) and [dua-cli](https://github.com/Byron/dua-cli) are blazing fast Rust scanners, [duf](https://github.com/muesli/duf) is a beautiful Go replacement for `df`, and [npkill](https://github.com/voidcosmos/npkill) is great for cleaning up `node_modules`.
18
18
 
19
19
  Dustclaw takes a different angle. It focuses on dev-aware scanning and lives in the npm ecosystem:
20
20
 
21
- - **Dev-aware scanning** — knows about Xcode DerivedData, Docker data, Homebrew caches, Playwright browsers, Gradle, Maven, Cargo, and dozens of other known space wasters
22
- - **Cache breakdown** — shows every application cache individually instead of one mystery lump
23
- - **npm-installable** — `npx dustclaw` and you are running
21
+ - **Dev-aware scanning**: knows about Xcode DerivedData, Docker data, Homebrew caches, Playwright browsers, Gradle, Maven, Cargo, and dozens of other known space wasters
22
+ - **Cache breakdown**: shows every application cache individually instead of one mystery lump
23
+ - **Safe cleanup**: separates what is safe to delete from what needs manual review, prompts per item
24
+ - **npm-installable**: run `npx dustclaw` and you are up
24
25
 
25
26
  ## 10-Second Proof
26
27
 
@@ -28,42 +29,68 @@ Dustclaw takes a different angle. It focuses on dev-aware scanning and lives in
28
29
  npx dustclaw wasteland
29
30
  ```
30
31
 
31
- ```text
32
+ ```
32
33
  Wasteland Report
33
34
 
34
35
  Known space wasters:
35
36
 
36
- ┌────────────────────────────────┬───────────┬──────────────────────────────────────────────────┐
37
- │ Name │ Size │ Path │
38
- ┼────────────────────────────────┼───────────┼──────────────────────────────────────────────────┼
39
- │ Docker Desktop │ 460.5 GB │ ~/Library/Containers/com.docker.docker/Data │
40
- │ npm Cache │ 14.1 GB │ ~/.npm/_cacache │
41
- │ Cache: Cursor Updates │ 7.8 GB │ ~/Library/Caches/com.todesktop.230313mzl4w4u92 │
42
- │ Android Emulators │ 7.8 GB │ ~/.android/avd │
43
- │ Cache: Google/Chrome │ 3.9 GB │ ~/Library/Caches/Google │
44
- │ Homebrew Cache │ 3.4 GB │ ~/Library/Caches/Homebrew │
45
- │ Gradle Cache │ 2.5 GB │ ~/.gradle/caches │
46
- │ pnpm Store │ 2.4 GB │ ~/Library/pnpm/store │
47
- │ Cache: Playwright Browsers │ 2.2 GB │ ~/Library/Caches/ms-playwright │
48
- │ Cache: Spotify │ 1.3 GB │ ~/Library/Caches/com.spotify.client │
49
- └────────────────────────────────┴───────────┴──────────────────────────────────────────────────┘
37
+ ┌─────────────────────────────────────┬──────────┬───────────────────────────────────────────────────────────────────┐
38
+ │ Name │ Size │ Path │
39
+ ┼─────────────────────────────────────┼──────────┼───────────────────────────────────────────────────────────────────┼
40
+ │ Docker Desktop │ 50.9 GB │ /Users/you/Library/Containers/com.docker.docker/Data │
41
+ │ Android Emulators │ 7.7 GB │ /Users/you/.android/avd │
42
+ │ Puppeteer Cache │ 4.0 GB │ /Users/you/.cache/puppeteer │
43
+ │ Cache: Google/Chrome │ 4.0 GB │ /Users/you/Library/Caches/Google │
44
+ │ pnpm Store │ 2.7 GB │ /Users/you/Library/pnpm/store │
45
+ │ Playwright Browsers │ 2.2 GB │ /Users/you/Library/Caches/ms-playwright │
46
+ │ Cache: com.microsoft.VSCode.ShipIt │ 1.7 GB │ /Users/you/Library/Caches/com.microsoft.VSCode.ShipIt │
47
+ │ Cypress Cache │ 1.3 GB │ /Users/you/Library/Caches/Cypress │
48
+ │ Gradle Cache │ 2.5 GB │ /Users/you/.gradle/caches │
49
+ │ Maven Cache │ 332.6 MB │ /Users/you/.m2/repository │
50
+ └─────────────────────────────────────┴──────────┴───────────────────────────────────────────────────────────────────┘
51
+
52
+ Total reclaimable: 81.4 GB
53
+
54
+ Scan saved. Run dustclaw clean to remove safe items.
55
+ ```
56
+
57
+ Then clean what is safe:
50
58
 
51
- Total reclaimable: 515.1 GB
59
+ ```bash
60
+ npx dustclaw clean --force
52
61
  ```
53
62
 
54
- That is real output from a real machine.
63
+ ```
64
+ Safe to clean:
65
+
66
+ ┌──────────────────────┬────────┬──────────────────────────────────┐
67
+ │ Name │ Size │ Path │
68
+ ┼──────────────────────┼────────┼──────────────────────────────────┼
69
+ │ Gradle Cache │ 2.5 GB │ /Users/you/.gradle/caches │
70
+ │ Puppeteer Cache │ 4.0 GB │ /Users/you/.cache/puppeteer │
71
+ │ Playwright Browsers │ 2.2 GB │ /Users/you/Library/Caches/ms-... │
72
+ └──────────────────────┴────────┴──────────────────────────────────┘
73
+
74
+ WARNING: Deletion is permanent. There is no undo.
75
+
76
+ Delete Gradle Cache (2.5 GB)? [y/N] y
77
+ Deleted: /Users/you/.gradle/caches
78
+
79
+ Freed: 2.5 GB
80
+ ```
55
81
 
56
82
  ## Commands
57
83
 
58
84
  | Command | What it does |
59
85
  |---------|-------------|
60
- | `dustclaw` | Quick overview — disk usage, free space, top 10 biggest items |
61
- | `dustclaw scan [path]` | Deep scan — ranked list of largest files and folders |
62
- | `dustclaw wasteland` | Finds known space wasters — caches, build artifacts, Trash, Docker |
86
+ | `dustclaw [path]` | Quick overview: disk usage, free space, top 10 biggest items |
87
+ | `dustclaw scan [path]` | Deep scan: ranked list of largest files and folders |
88
+ | `dustclaw wasteland` | Finds known space wasters: caches, build artifacts, Trash, Docker |
89
+ | `dustclaw clean` | Clean safe items from last wasteland scan (dry run by default) |
63
90
 
64
91
  ## Requirements
65
92
 
66
- - Node.js 18+
93
+ - Node.js 22.12+
67
94
  - macOS or Linux
68
95
 
69
96
  ## Install
@@ -84,8 +111,8 @@ npx dustclaw
84
111
 
85
112
  ```bash
86
113
  dustclaw
114
+ dustclaw ~/Projects # overview of a specific path
87
115
  dustclaw -n 20 # show top 20 instead of 10
88
- dustclaw -p ~/Projects # scan a specific path
89
116
  ```
90
117
 
91
118
  ### Scan
@@ -104,41 +131,127 @@ Scans known locations where dev tools and macOS pile up gigabytes:
104
131
 
105
132
  - Xcode DerivedData, archives, device support
106
133
  - Docker Desktop data
107
- - Homebrew, npm, pnpm, Yarn, pip caches
108
- - Gradle, Maven, Cargo caches
134
+ - Homebrew, npm, pnpm, Yarn, Bun caches
135
+ - Gradle, Maven, Cargo, Go, pip, Poetry, Composer caches
109
136
  - Android emulators, iOS simulators
110
- - Playwright and Cypress browsers
137
+ - Playwright, Cypress, Puppeteer browsers
138
+ - Terraform, Helm plugin caches
139
+ - Ollama and Hugging Face model caches
111
140
  - Every application cache in `~/Library/Caches`, broken down individually
112
- - Trash
141
+ - Trash and system logs
113
142
 
114
143
  ```bash
115
144
  dustclaw wasteland
116
145
  dustclaw wasteland --node-modules ~/Projects # also find all node_modules
117
146
  ```
118
147
 
148
+ ### Clean
149
+
150
+ Reads the last wasteland scan and removes safe items. Dry run by default.
151
+
152
+ ```bash
153
+ dustclaw clean # preview what would be removed
154
+ dustclaw clean --force # delete safe items, prompts per item
155
+ dustclaw clean --only "gradle cache" # filter to a specific entry
156
+ dustclaw clean --only playwright --force
157
+ ```
158
+
159
+ Items marked `safe: false` (Docker, Android Emulators, pnpm Store) are always shown but never auto-deleted. To override, add to `~/.dustclaw.json`:
160
+
161
+ ```json
162
+ {
163
+ "overrides": {
164
+ "pnpm Store": { "safe": true }
165
+ }
166
+ }
167
+ ```
168
+
119
169
  ## Flags
120
170
 
121
171
  | Flag | Available on | What it does |
122
172
  |------|-------------|-------------|
123
173
  | `--json` | all commands | Output as JSON for scripting |
124
- | `--older-than <age>` | scan | Filter by age — `30d`, `6m`, `1y` |
174
+ | `--older-than <age>` | scan | Filter by age: `30d`, `6m`, `1y` |
125
175
  | `-n, --top <count>` | overview, scan | Number of items to show |
126
176
  | `-d, --depth <depth>` | scan | Max directory depth |
127
177
  | `--files-only` | scan | Show only files |
128
178
  | `--dirs-only` | scan | Show only directories |
129
179
  | `--node-modules <path>` | wasteland | Also search for node_modules recursively |
180
+ | `--force` | clean | Actually delete (prompts per item) |
181
+ | `--only <name>` | clean | Filter to entries matching this name |
182
+
183
+ ## Configuration
184
+
185
+ Dustclaw reads `~/.dustclaw.json` for user overrides. All defaults can be changed:
186
+
187
+ ```json
188
+ {
189
+ "minCacheSizeMb": 50,
190
+ "staleThresholdHours": 24,
191
+ "nodeModulesMaxDepth": 5,
192
+ "encoding": "utf-8",
193
+ "scanDepth": 3,
194
+ "overviewTopCount": 10,
195
+ "scanTopCount": 20,
196
+ "overrides": {
197
+ "pnpm Store": { "safe": true }
198
+ },
199
+ "targets": [
200
+ {
201
+ "name": "My Build Cache",
202
+ "path": "~/work/build-cache",
203
+ "safe": true
204
+ }
205
+ ]
206
+ }
207
+ ```
208
+
209
+ ## Storage
210
+
211
+ Dustclaw writes two things to your home directory:
212
+
213
+ | Path | What it is |
214
+ |------|------------|
215
+ | `~/.dustclaw/last-scan.json` | Last wasteland scan result, read by `clean` |
216
+ | `~/.dustclaw.json` | Your config overrides (optional, you create this) |
217
+
218
+ Nothing else is written. To reset state, delete `~/.dustclaw/last-scan.json`.
219
+
220
+ ## Project Structure
221
+
222
+ ```
223
+ data/
224
+ config.json # default configuration (minCacheSizeMb, scanDepth, encoding, ...)
225
+ targets.json # known waste targets and cache display names
226
+ src/
227
+ commands/
228
+ overview.ts # disk usage summary and top N items
229
+ scan.ts # deep recursive scan ranked by size
230
+ wasteland.ts # known space waster report
231
+ clean.ts # interactive cleanup from last wasteland scan
232
+ utils/
233
+ config.ts # loads and merges config.json with ~/.dustclaw.json
234
+ disk.ts # disk info via df
235
+ format.ts # table rendering and size formatting
236
+ scan.ts # recursive directory walker and dirSize
237
+ state.ts # persists last wasteland scan to ~/.dustclaw/last-scan.json
238
+ wasteland.ts # finds known waste targets and Library/Caches entries
239
+ index.ts # CLI entry point
240
+ ```
241
+
242
+ All behavior is driven by `data/config.json` and `data/targets.json`. To add a new waste target or change defaults, edit those files. No code changes needed.
130
243
 
131
244
  ## Standing on the Shoulders of Giants
132
245
 
133
246
  Dustclaw exists because of the excellent work done by these projects:
134
247
 
135
- - [dust](https://github.com/bootandy/dust) — fast, intuitive disk usage viewer written in Rust. If raw scanning speed is what you need, dust is hard to beat.
136
- - [duf](https://github.com/muesli/duf) — a modern `df` replacement written in Go. Beautiful output and JSON support.
137
- - [dua-cli](https://github.com/Byron/dua-cli) — parallel disk usage analyzer with interactive deletion, written in Rust. Maxes out your SSD.
138
- - [npkill](https://github.com/voidcosmos/npkill) — finds and deletes `node_modules` folders. Simple, effective, widely used.
139
- - [space-hogs](https://github.com/dylang/space-hogs) — discovers surprisingly large directories from the command line.
248
+ - [dust](https://github.com/bootandy/dust): fast, intuitive disk usage viewer written in Rust. If raw scanning speed is what you need, dust is hard to beat.
249
+ - [duf](https://github.com/muesli/duf): a modern `df` replacement written in Go. Beautiful output and JSON support.
250
+ - [dua-cli](https://github.com/Byron/dua-cli): parallel disk usage analyzer with interactive deletion, written in Rust. Maxes out your SSD.
251
+ - [npkill](https://github.com/voidcosmos/npkill): finds and deletes `node_modules` folders. Simple, effective, widely used.
252
+ - [space-hogs](https://github.com/dylang/space-hogs): discovers surprisingly large directories from the command line.
140
253
 
141
- These tools do what they do very well. Dustclaw does not try to outperform them on raw speed. Instead, it brings dev-aware scanning and cache breakdown to the npm ecosystem — things those tools were not built to do.
254
+ These tools do what they do very well. Dustclaw does not try to outperform them on raw speed. Instead, it brings dev-aware scanning and cache breakdown to the npm ecosystem, filling a gap those tools were not built to fill.
142
255
 
143
256
  ## Development
144
257
 
@@ -153,15 +266,21 @@ pnpm lint
153
266
 
154
267
  ## Roadmap
155
268
 
156
- - **watch** — track disk usage over time, spot trends before you run out of space
157
- - **duplicates** — find duplicate large files by hash
158
- - **clean** — interactive cleanup with dry-run safety
269
+ - **spinner**: progress indicator during slow scans
270
+ - **watch**: track disk usage over time, spot trends before you run out of space
271
+ - **duplicates**: find duplicate large files by hash
159
272
 
160
273
  ## Related
161
274
 
162
- - 🦀 [Feedclaw](https://github.com/psandis/feedclaw) — RSS/Atom feed reader and AI digest CLI
163
- - 🦀 [Driftclaw](https://github.com/psandis/driftclaw) — Deployment drift detection across environments
164
- - 🦀 [OpenClaw](https://github.com/openclaw/openclaw) — Personal AI assistant
275
+ - 🦀 [Feedclaw](https://github.com/psandis/feedclaw): RSS/Atom feed reader and AI digest CLI
276
+ - 🦀 [Driftclaw](https://github.com/psandis/driftclaw): deployment drift detection across environments
277
+ - 🦀 [Dietclaw](https://github.com/psandis/dietclaw): codebase health monitor for size, bloat, and dependency weight
278
+ - 🦀 [Wirewatch](https://github.com/psandis/wirewatch): network traffic monitoring CLI with AI-assisted anomaly detection
279
+ - 🦀 [Mymailclaw](https://github.com/psandis/mymailclaw): email scanner, categorizer, and cleaner CLI
280
+ - 🦀 [Asciiclaw](https://github.com/psandis/asciiclaw): convert images to ASCII art in the terminal
281
+ - 🦀 [Unasciiclaw](https://github.com/psandis/unasciiclaw): convert ASCII art back to an image
282
+ - 🦀 [psclawmcp](https://github.com/psandis/psclawmcp): MCP server exposing all claw tools to AI assistants
283
+ - 🦀 [OpenClaw](https://github.com/openclaw/openclaw): personal AI assistant
165
284
 
166
285
  ## License
167
286
 
@@ -0,0 +1,23 @@
1
+ {
2
+ "minCacheSizeMb": 50,
3
+ "staleThresholdHours": 24,
4
+ "nodeModulesMaxDepth": 5,
5
+ "encoding": "utf-8",
6
+ "scanDepth": 3,
7
+ "overviewDepth": 1,
8
+ "overviewTopCount": 10,
9
+ "scanTopCount": 20,
10
+ "blockSize": 512,
11
+ "cachesPath": "Library/Caches",
12
+ "cacheSkipList": [
13
+ "Homebrew",
14
+ "CocoaPods",
15
+ "Yarn",
16
+ "pip",
17
+ "ms-playwright",
18
+ "Cypress",
19
+ "pypoetry",
20
+ "composer"
21
+ ],
22
+ "opaqueDirectories": ["node_modules", ".git"]
23
+ }
@@ -0,0 +1,326 @@
1
+ {
2
+ "targets": [
3
+ {
4
+ "name": "Xcode DerivedData",
5
+ "path": "~/Library/Developer/Xcode/DerivedData",
6
+ "description": "Xcode build artifacts, fully regenerated on next build",
7
+ "platform": "mac",
8
+ "safe": true
9
+ },
10
+ {
11
+ "name": "Xcode Device Support",
12
+ "path": "~/Library/Developer/Xcode/iOS DeviceSupport",
13
+ "description": "iOS device debug symbols, re-downloaded when device connects",
14
+ "platform": "mac",
15
+ "safe": true
16
+ },
17
+ {
18
+ "name": "Xcode Archives",
19
+ "path": "~/Library/Developer/Xcode/Archives",
20
+ "description": "Archived app builds, may contain your only copy of a release",
21
+ "platform": "mac",
22
+ "safe": false
23
+ },
24
+ {
25
+ "name": "Xcode Simulators",
26
+ "path": "~/Library/Developer/CoreSimulator/Devices",
27
+ "description": "iOS simulator device data, can be recreated but takes time",
28
+ "platform": "mac",
29
+ "safe": false
30
+ },
31
+ {
32
+ "name": "npm Cache",
33
+ "path": "~/.npm/_cacache",
34
+ "description": "npm download cache, fully regenerated on next install",
35
+ "platform": "all",
36
+ "safe": true
37
+ },
38
+ {
39
+ "name": "pnpm Store",
40
+ "path": "~/Library/pnpm/store",
41
+ "description": "pnpm content-addressable store shared across all projects",
42
+ "platform": "mac",
43
+ "safe": false
44
+ },
45
+ {
46
+ "name": "pnpm Store",
47
+ "path": "~/.local/share/pnpm/store",
48
+ "description": "pnpm content-addressable store shared across all projects",
49
+ "platform": "linux",
50
+ "safe": false
51
+ },
52
+ {
53
+ "name": "Yarn Cache",
54
+ "path": "~/.cache/yarn",
55
+ "description": "Yarn download cache, fully regenerated on next install",
56
+ "platform": "all",
57
+ "safe": true
58
+ },
59
+ {
60
+ "name": "Bun Cache",
61
+ "path": "~/.bun/install/cache",
62
+ "description": "Bun package cache, fully regenerated on next install",
63
+ "platform": "all",
64
+ "safe": true
65
+ },
66
+ {
67
+ "name": "Gradle Cache",
68
+ "path": "~/.gradle/caches",
69
+ "description": "Gradle build and dependency cache, re-downloaded on next build",
70
+ "platform": "all",
71
+ "safe": true
72
+ },
73
+ {
74
+ "name": "Gradle Daemon",
75
+ "path": "~/.gradle/daemon",
76
+ "description": "Gradle daemon logs and metadata",
77
+ "platform": "all",
78
+ "safe": true
79
+ },
80
+ {
81
+ "name": "Maven Cache",
82
+ "path": "~/.m2/repository",
83
+ "description": "Maven local repository, re-downloaded on next build",
84
+ "platform": "all",
85
+ "safe": true
86
+ },
87
+ {
88
+ "name": "Android Emulators",
89
+ "path": "~/.android/avd",
90
+ "description": "Android emulator images and user data",
91
+ "platform": "all",
92
+ "safe": false
93
+ },
94
+ {
95
+ "name": "Android Cache",
96
+ "path": "~/.android/cache",
97
+ "description": "Android SDK download cache",
98
+ "platform": "all",
99
+ "safe": true
100
+ },
101
+ {
102
+ "name": "Cargo Registry",
103
+ "path": "~/.cargo/registry",
104
+ "description": "Rust crate source cache, re-downloaded on next build",
105
+ "platform": "all",
106
+ "safe": true
107
+ },
108
+ {
109
+ "name": "Cargo Git",
110
+ "path": "~/.cargo/git",
111
+ "description": "Rust git dependency cache, re-downloaded on next build",
112
+ "platform": "all",
113
+ "safe": true
114
+ },
115
+ {
116
+ "name": "pip Cache",
117
+ "path": "~/Library/Caches/pip",
118
+ "description": "pip download cache, fully regenerated on next install",
119
+ "platform": "mac",
120
+ "safe": true
121
+ },
122
+ {
123
+ "name": "pip Cache",
124
+ "path": "~/.cache/pip",
125
+ "description": "pip download cache, fully regenerated on next install",
126
+ "platform": "linux",
127
+ "safe": true
128
+ },
129
+ {
130
+ "name": "pypoetry Cache",
131
+ "path": "~/Library/Caches/pypoetry",
132
+ "description": "Poetry package cache, fully regenerated on next install",
133
+ "platform": "mac",
134
+ "safe": true
135
+ },
136
+ {
137
+ "name": "pypoetry Cache",
138
+ "path": "~/.cache/pypoetry",
139
+ "description": "Poetry package cache, fully regenerated on next install",
140
+ "platform": "linux",
141
+ "safe": true
142
+ },
143
+ {
144
+ "name": "Bundler Cache",
145
+ "path": "~/.bundle/cache",
146
+ "description": "Bundler gem cache, re-downloaded on next bundle install",
147
+ "platform": "all",
148
+ "safe": true
149
+ },
150
+ {
151
+ "name": "CocoaPods Cache",
152
+ "path": "~/Library/Caches/CocoaPods",
153
+ "description": "CocoaPods download cache, re-downloaded on next pod install",
154
+ "platform": "mac",
155
+ "safe": true
156
+ },
157
+ {
158
+ "name": "Go Module Cache",
159
+ "path": "~/go/pkg/mod",
160
+ "description": "Go module cache, re-downloaded on next go build",
161
+ "platform": "all",
162
+ "safe": true
163
+ },
164
+ {
165
+ "name": "Go Build Cache",
166
+ "path": "~/Library/Caches/go-build",
167
+ "description": "Go build cache, fully regenerated on next build",
168
+ "platform": "mac",
169
+ "safe": true
170
+ },
171
+ {
172
+ "name": "Go Build Cache",
173
+ "path": "~/.cache/go-build",
174
+ "description": "Go build cache, fully regenerated on next build",
175
+ "platform": "linux",
176
+ "safe": true
177
+ },
178
+ {
179
+ "name": "Composer Cache",
180
+ "path": "~/Library/Caches/composer",
181
+ "description": "Composer package cache, re-downloaded on next install",
182
+ "platform": "mac",
183
+ "safe": true
184
+ },
185
+ {
186
+ "name": "Composer Cache",
187
+ "path": "~/.cache/composer",
188
+ "description": "Composer package cache, re-downloaded on next install",
189
+ "platform": "linux",
190
+ "safe": true
191
+ },
192
+ {
193
+ "name": "Homebrew Cache",
194
+ "path": "~/Library/Caches/Homebrew",
195
+ "description": "Homebrew downloaded package cache, re-downloaded on next install",
196
+ "platform": "mac",
197
+ "safe": true
198
+ },
199
+ {
200
+ "name": "Docker Desktop",
201
+ "path": "~/Library/Containers/com.docker.docker/Data",
202
+ "description": "Docker images, containers, and volumes",
203
+ "platform": "mac",
204
+ "safe": false
205
+ },
206
+ {
207
+ "name": "Playwright Browsers",
208
+ "path": "~/Library/Caches/ms-playwright",
209
+ "description": "Playwright browser binaries, re-downloaded on next install",
210
+ "platform": "mac",
211
+ "safe": true
212
+ },
213
+ {
214
+ "name": "Playwright Browsers",
215
+ "path": "~/.cache/ms-playwright",
216
+ "description": "Playwright browser binaries, re-downloaded on next install",
217
+ "platform": "linux",
218
+ "safe": true
219
+ },
220
+ {
221
+ "name": "Cypress Cache",
222
+ "path": "~/Library/Caches/Cypress",
223
+ "description": "Cypress browser binaries, re-downloaded on next install",
224
+ "platform": "mac",
225
+ "safe": true
226
+ },
227
+ {
228
+ "name": "Cypress Cache",
229
+ "path": "~/.cache/Cypress",
230
+ "description": "Cypress browser binaries, re-downloaded on next install",
231
+ "platform": "linux",
232
+ "safe": true
233
+ },
234
+ {
235
+ "name": "Puppeteer Cache",
236
+ "path": "~/.cache/puppeteer",
237
+ "description": "Puppeteer Chrome binaries, re-downloaded on next install",
238
+ "platform": "all",
239
+ "safe": true
240
+ },
241
+ {
242
+ "name": "Terraform Plugins",
243
+ "path": "~/.terraform.d/plugin-cache",
244
+ "description": "Terraform provider plugin cache, re-downloaded on next init",
245
+ "platform": "all",
246
+ "safe": true
247
+ },
248
+ {
249
+ "name": "Helm Cache",
250
+ "path": "~/Library/Caches/helm",
251
+ "description": "Helm chart repository cache, rebuilt by helm repo update",
252
+ "platform": "mac",
253
+ "safe": true
254
+ },
255
+ {
256
+ "name": "Helm Cache",
257
+ "path": "~/.cache/helm",
258
+ "description": "Helm chart repository cache, rebuilt by helm repo update",
259
+ "platform": "linux",
260
+ "safe": true
261
+ },
262
+ {
263
+ "name": "Ollama Models",
264
+ "path": "~/.ollama/models",
265
+ "description": "Downloaded Ollama AI models, safe only if willing to re-download",
266
+ "platform": "all",
267
+ "safe": false
268
+ },
269
+ {
270
+ "name": "Hugging Face Cache",
271
+ "path": "~/.cache/huggingface",
272
+ "description": "Hugging Face model cache, re-downloaded on next use",
273
+ "platform": "all",
274
+ "safe": true
275
+ },
276
+ {
277
+ "name": "Trash",
278
+ "path": "~/.Trash",
279
+ "description": "Files waiting in Trash",
280
+ "platform": "mac",
281
+ "safe": true
282
+ },
283
+ {
284
+ "name": "System Logs",
285
+ "path": "~/Library/Logs",
286
+ "description": "Application and system log files",
287
+ "platform": "mac",
288
+ "safe": true
289
+ },
290
+ {
291
+ "name": "Thumbnail Cache",
292
+ "path": "~/.cache/thumbnails",
293
+ "description": "File manager thumbnail cache, rebuilt as you browse",
294
+ "platform": "linux",
295
+ "safe": true
296
+ }
297
+ ],
298
+ "cacheNames": {
299
+ "com.spotify.client": "Spotify",
300
+ "com.apple.Safari": "Safari",
301
+ "com.google.Chrome": "Chrome",
302
+ "Google": "Google/Chrome",
303
+ "com.docker.docker": "Docker",
304
+ "com.microsoft.VSCode": "VS Code",
305
+ "com.todesktop.230313mzl4w4u92": "Cursor",
306
+ "com.todesktop.230313mzl4w4u92.ShipIt": "Cursor Updates",
307
+ "com.google.antigravity.ShipIt": "Chrome Updates",
308
+ "icloudmailagent": "iCloud Mail",
309
+ "com.apple.callintelligenced": "Apple Call Intelligence",
310
+ "ms-playwright": "Playwright Browsers",
311
+ "ms-playwright-go": "Playwright Go Browsers",
312
+ "pip": "pip",
313
+ "Cypress": "Cypress",
314
+ "node-gyp": "node-gyp",
315
+ "typescript": "TypeScript",
316
+ "pnpm": "pnpm",
317
+ "colima": "Colima",
318
+ "com.openai.chat": "ChatGPT",
319
+ "com.openai.codex": "OpenAI Codex",
320
+ "ollama": "Ollama",
321
+ "pypoetry": "pypoetry",
322
+ "composer": "Composer",
323
+ "us.zoom.xos": "Zoom",
324
+ "GeoServices": "GeoServices"
325
+ }
326
+ }
@@ -0,0 +1,6 @@
1
+ interface CleanOptions {
2
+ force?: boolean;
3
+ only?: string;
4
+ }
5
+ export declare function clean(opts: CleanOptions): Promise<void>;
6
+ export {};