Repository navigation
Releases: Danil0ws/klean
Releases · Danil0ws/klean
Release list
v1.6.0
Full Changelog: v1.5.3...v1.6.0
v1.5.3
v1.5.2
v1.5.0
klean v1.4.0 — Global Package Manager
✨ Novidade: klean globals
Novo modo interativo para gerenciar pacotes instalados globalmente via TUI.
Como usar
klean globals # abre o TUI interativo
klean globals --dry-run # simula sem removerO que gerencia
| Gerenciador | Detecção | Remoção |
|---|---|---|
| npm | npm list -g --depth=0 |
npm uninstall -g <pkg> |
| cargo | cargo install --list |
cargo uninstall <pkg> |
| pip | pip3 list --format=json |
pip3 uninstall -y <pkg> |
Interface TUI
- Tela de scan: escaneia os três gerenciadores em paralelo
- Lista de pacotes: agrupado por gerenciador com tamanho em disco
- Seleção:
Espaçoseleciona,amarca/desmarca tudo,↑↓/jknavega - Confirmação: diálogo com preview do espaço a ser liberado
- Progresso: gauge de remoção com log em tempo real
- Resumo: total removido e espaço liberado
Correções e melhorias
- npm: calcula tamanho real do diretório de cada pacote em
npm root -g - cargo: soma o tamanho de cada binário em
~/.cargo/bin/ - pip: ignora automaticamente pacotes de sistema (
pip,setuptools,wheel) - Seguro: gerenciadores não instalados são pulados silenciosamente
Instalação
Veja INSTALLATION.md ou baixe o binário abaixo para sua plataforma.
Full Changelog: v1.3.0...v1.4.0
Full Changelog: v1.3.0...v1.4.0
Full Changelog: v1.3.0...v1.4.0
klean v1.3.0
What's new in v1.3.0
TUI: Live cleaning progress & visual feedback
- Live progress screen: gauge + scrolling log showing each file/dir being deleted in real time
- Three-button confirmation dialog: Confirmar / Cancelar / Selecionar Tudo with Tab/arrow navigation
- Selection feedback: toast notifications (2.5 s) and flash highlights (450 ms) on toggle
- New keybindings:
Iinvert selection,Xalternate toggle,Esccancel cleaning mid-run - Scanning screen: animated spinner while artifact discovery runs
Bug fixes
- Fix zero-sized terminal panic on 0×0 PTY area (clamp dialog bounds + set window size before exec)
- Small-terminal safety: dialog content trimmed and clamped from 12×4 upward
Project
- Add
AGENTS.mdwith project conventions for AI agents
v1.2.0
v0.1.2
Full Changelog: https://github.com/Danil0ws/klean/commits/v0.1.2