[{"data":1,"prerenderedAt":276,"buildId":277},["ShallowReactive",2],{"docs:\u002Fguide":3},{"page":4,"section":17,"document":18,"credits":11,"prev":11,"next":274},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":9,"description":10,"tagline":10,"eyebrow":11,"credits":11,"keywords":12,"icon":13,"layout":14,"sidebar":15,"toc":15,"kind":11,"group":11,"navigation":15,"order":16},"index","\u002Fguide","guide\u002Findex.md","Introduction","Introduction to whatfrees","whatfrees tells a coding agent what deleting each thing on the disk really frees, whether it's safe, and the command to run.",null,[],"i-lucide-book-open","article",true,1,"guide",{"nodes":19,"toc":270},[20,29,32,85,88,114,122,134,140],[21,22,23,24,28],"p",{},"An agent that has to free disk space has a bad choice. It can run ",[25,26,27],"code",{},"du",", guess which folders are safe, and delete. Or it can ask a person. whatfrees gives it the facts instead.",[21,30,31],{},"For each thing that holds space, whatfrees reports:",[33,34,35,46,79],"ul",{},[36,37,38,42,43,45],"li",{},[39,40,41],"strong",{},"What deleting it frees."," Not what ",[25,44,27],{}," prints. A file that has a hard link outside the folder stays on disk, so it doesn't count.",[36,47,48,51,52,55,56,55,59,55,62,55,65,68,69,72,73,78],{},[39,49,50],{},"A verdict."," ",[25,53,54],{},"safe",", ",[25,57,58],{},"orphan",[25,60,61],{},"ask",[25,63,64],{},"unsaved",[25,66,67],{},"live"," or ",[25,70,71],{},"unchecked",", with the evidence behind it. See ",[74,75,77],"a",{"href":76},"\u002Fguide\u002Fverdicts","Verdicts",".",[36,80,81,84],{},[39,82,83],{},"The command."," A POSIX shell command, quoted, built from a short list of known verbs.",[21,86,87],{},"It runs on Linux and macOS. It reads and prints. It never deletes, moves or changes your files. The one file it writes is its own size cache.",[89,90,94],"pre",{"language":91,"frame":92,"class":93,"wrap":15},"sh","terminal","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[25,95,97],{"class":96},"language-sh",[98,99,102,106,110],"span",{"class":100,"style":101},"line","display: inline",[98,103,105],{"style":104},"color:#953800;--shiki-dark:#FFA657","whatfrees",[98,107,109],{"style":108},"color:#0550AE;--shiki-dark:#79C0FF"," --min",[98,111,113],{"style":112},"color:#0A3069;--shiki-dark:#A5D6FF"," 10MB",[115,116,121],"h2",{"id":117,"anchor":118},"where-it-looks",{"label":119,"icon":120},"Section titled \"Where it looks\"","#","Where it looks",[21,123,124,125,129,130,133],{},"A source is a place that holds space. The built-in sources look for agent worktrees and pnpm stores, using Git metadata or pnpm settings when available. See ",[74,126,128],{"href":127},"\u002Fguide\u002Fsources","Sources"," for details, or run ",[25,131,132],{},"whatfrees sources"," to list the sources your installed version supports.",[115,135,139],{"id":136,"anchor":137},"pages",{"label":138,"icon":120},"Section titled \"Pages\"","Pages",[141,142,143,156],"table",{},[144,145,146],"thead",{},[147,148,149,153],"tr",{},[150,151,152],"th",{},"Page",[150,154,155],{},"What it answers",[157,158,159,171,182,191,200,211,222,233,247],"tbody",{},[147,160,161,168],{},[162,163,164],"td",{},[74,165,167],{"href":166},"\u002Fguide\u002Finstallation","Installation",[162,169,170],{},"How to install it and run it the first time",[147,172,173,179],{},[162,174,175],{},[74,176,178],{"href":177},"\u002Fguide\u002Fspeed","How it stays fast",[162,180,181],{},"Owners first, a walker with a deadline, hard links counted once",[147,183,184,188],{},[162,185,186],{},[74,187,77],{"href":76},[162,189,190],{},"What each verdict means and which facts decide it",[147,192,193,197],{},[162,194,195],{},[74,196,128],{"href":127},[162,198,199],{},"Every place whatfrees looks",[147,201,202,208],{},[162,203,204],{},[74,205,207],{"href":206},"\u002Fguide\u002Fcheck","whatfrees check",[162,209,210],{},"The re-check to run right before a delete",[147,212,213,219],{},[162,214,215],{},[74,216,218],{"href":217},"\u002Fguide\u002Fagents","For agents",[162,220,221],{},"The loop an agent follows",[147,223,224,230],{},[162,225,226],{},[74,227,229],{"href":228},"\u002Freference\u002Fcli","Command line",[162,231,232],{},"Every flag and exit code",[147,234,235,241],{},[162,236,237],{},[74,238,240],{"href":239},"\u002Freference\u002Freport","JSON report",[162,242,243,246],{},[25,244,245],{},"whatfrees\u002Freport@1",", field by field",[147,248,249,255],{},[162,250,251],{},[74,252,254],{"href":253},"\u002Freference\u002Fapi","JavaScript API",[162,256,257,55,260,55,263,266,267],{},[25,258,259],{},"scan",[25,261,262],{},"check",[25,264,265],{},"measure"," and ",[25,268,269],{},"defineSource",[271,273],{"id":117,"depth":272,"text":121},2,{"id":136,"depth":272,"text":139},{"path":166,"title":167,"description":275},"Run whatfrees once with npx, install it as a command, or add it to a Node program as a library.",1796464608020,"84b4d453-0d43-4339-8103-d1d78e551efe"]