feat: Add AI-generated commit messages

Integrate Claude Haiku to automatically generate commit messages when
committing worktree changes. Shows a sparkle animation while generating
and auto-populates the commit message field.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
anonymous
2026-01-10 21:10:33 -08:00
committed by Shirone
parent d2c7a9e05d
commit e56db2362c
7 changed files with 265 additions and 7 deletions

View File

@@ -98,7 +98,7 @@ Binary file ${cleanPath} added
const lines = content.split('\n');
// Remove trailing empty line if the file ends with newline
if (lines.length > 0 && lines.at(-1) === '') {
if (lines.length > 0 && lines[lines.length - 1] === '') {
lines.pop();
}