Repository navigation
sweep 1.0: new interactive screen, projects, sorting, mouse, Rust and Python - #2
Merged
Merged
Conversation
- Bubble Tea owns the terminal: raw input, key parsing, the alternate screen, resizes, restoring on exit. The hand-written versions are gone. - The list and its rules (cursor follows folders, the enter guard, selections) are unchanged in screen. - Paths are cut by display width, so wide characters no longer overflow. - Closing stdin no longer quits; Ctrl-D and a hangup still do.
|
devloop01
force-pushed
the
release-1.0
branch
from
November 4, 2026 09:58
a2cf7d9 to
35962e8
Compare
…close ? on any key, decimal size colors
… folder once per scan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sweep 1.0. The interactive screen moves to Charm's Bubble Tea, Bubbles and Lip Gloss, and gains projects, sorting, a key list and mouse support. sweep now also cleans Rust and Python build folders.
Screen
[ ]/[✓]checkboxes, column names, a spinner while scanning or deleting, free disk space in the header, and a key bar that shows only keys that do something.d(or ⌫) opens a confirm dialog. Cancel has focus first, so a held-downddeletes nothing. Enter acts on the row: it selects a folder, or collapses or opens a project. It never deletes.tlists folders under their project. A monorepo (Turborepo, Nx, Lerna, pnpm or npm/Yarn workspaces, Cargo workspaces) counts as one project. Other projects are labelled by framework or language (Next.js, SvelteKit, Astro, Rust, Python, ...).←/→collapse and open a project,tabjumps to the next one, andccollapses or opens all of them.ssorts by size, name, or last change. The sorted column is marked.?lists every key.oshows a folder in Finder.New targets
targetfolders get the same git check asdistandbuild..pytest_cache,.mypy_cacheand.ruff_cache.__pycache__and.venvare left out.Safety
dist,build,outandtargetin a repo are deleted only when an ignore rule names them (dist/,/build,**/target), with nothing inside tracked. Before, "nothing tracked" was enough, so abuild/holding new, uncommitted files could be deleted. A catch-all*(a repo around the home folder) doesn't count..git, apps, odd names). Each checks that only the picked folders disappear and every other file is byte-for-byte unchanged. Planted bugs in the selection, dialog, click, cursor, symlink and git code were each caught.turbo.jsonandpackage.jsonin place.Runends with an error.Other
sweep -n,-y) gains a Touched column ("3mo ago") and free disk space on the total line. It stays flat, so it pipes well.Replaces #1, which GitHub closed when its branch was renamed.
Testing
go test -race ./...passes. I checked the screen by hand in a real terminal: dialog, project view, collapse, sort, the key list, mouse clicks, and Rust and Python projects.🤖 Generated with Claude Code