Skip to content

deploy pages#2

Merged
Augani merged 19 commits into
mainfrom
harp/session-20260104-134624
Jan 5, 2026
Merged

deploy pages#2
Augani merged 19 commits into
mainfrom
harp/session-20260104-134624

Conversation

@Augani
Copy link
Copy Markdown
Owner

@Augani Augani commented Jan 5, 2026

No description provided.

Augani and others added 19 commits January 5, 2026 11:59
- Display status message in header after deletion operations complete
- Color-coded messages: green for success, red for failure
- Updated web binary sizes to actual values (~1MB GUI, ~633KB CLI)
- Removed debug print statement
The issue was that `statFile()` only works for files, not directories.
When trying to delete directories like node_modules, the stat call would
fail immediately, causing the deletion to silently fail.

Fixed by:
- First trying to open path as directory to detect directories
- Only using statFile() for actual files
- Updated permanentDelete() with same fix
- Readonly check now only applies to files (skipped for directories)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add safer roundness calculation for button backgrounds (clamp 0-1)
- Update release workflow to prefer zig-out/bin/resources
- Add verification logging for package contents
- Fix potential edge case in Windows packaging

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Show proper status message with success/failure counts after deletion
- Deselect items that failed to delete instead of leaving them selected
- Remove ~/Library/Caches and ~/Library/Logs from scan (system protected)
- Only scan specific app cache subfolders that users can safely delete
- Add more cache paths: yarn, npm, node-gyp

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Each DeleteResult contains allocated strings (path, trash_path, error_message)
that need to be freed. Added proper cleanup in defer block to call deinit()
on each result before freeing the results array.
TrashResult.original_path was being allocated but never freed.
Since we already have the path in DeleteResult, we don't need
original_path and should free it in the defer block.
The home and temp paths from getHomeDir() and getTempDir() were
allocated but never freed in Paths.deinit().

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…tructions, and fix a memory leak in trash handling.
…nd direct GitHub links for downloads and source.
@Augani Augani merged commit b5c9a30 into main Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant