Commit Graph

34 Commits

Author SHA1 Message Date
56742224a5 Revert "Add stale worktree detection to list command"
This reverts commit 003c42bc03.
2026-03-11 13:57:27 -07:00
003c42bc03 Add stale worktree detection to list command 2026-03-11 13:31:19 -07:00
4b8f5a61a1 Prevent worktree creation on main branch 2026-03-09 19:45:21 -07:00
1f1b3f2a0d Track branch creation to avoid deleting pre-existing branches 2026-03-09 19:45:18 -07:00
6b5135c96e Fix worktree cleanup and dirty-check on branch move 2026-03-09 19:45:09 -07:00
223a4406ce Refactor worktree branch checkout logic 2026-03-09 19:44:18 -07:00
c09f7ced5f fix: checkout main if branch active in worktree 2026-03-09 19:44:18 -07:00
1e89608d11 Add stat formatting with colorized diff indicators 2026-02-24 08:49:36 -08:00
33f820f124 sandlot web <branch> 2026-02-23 21:14:29 -08:00
909189b745 Extract browse HTML into external template
The HTML for the browse view was inlined as a template literal in
browse.ts, making it hard to edit and losing syntax highlighting.
Move it to browse.html and use placeholder replacement instead.

Also update branchDiff to accept the main branch as a parameter
so the caller resolves it once and reuses it for diffStat too.
2026-02-23 20:33:10 -08:00
b8f7aea3b0 add browse command to open branch diff in web browser 2026-02-23 20:17:25 -08:00
a5fb4c2555 Merge branch 'sandlot-squash'
# Conflicts:
#	src/commands/merge.ts
2026-02-21 08:56:32 -08:00
31df93016b Refactor merge/squash into shared mergeAndClose helper with AI-generated squash commit messages 2026-02-21 08:54:58 -08:00
daf436f90e Merge branch 'improve-conflict-context'
# Conflicts:
#	src/commands/merge.ts
2026-02-21 08:53:45 -08:00
db9f40dac9 improve conflict complexity analysis and merge error messaging 2026-02-21 08:46:58 -08:00
668f66d3c9 Add squash-merge command with conflict resolution 2026-02-21 08:39:37 -08:00
376f918a66 refactor merge: extract lineCount helper, hoist preamble, and gracefully handle git errors 2026-02-21 08:36:44 -08:00
386954b3c4 Truncate large diffs in merge context and add error handling to git log/diff helpers 2026-02-21 07:54:23 -08:00
0932fd5ef5 Rename spinner variables and add rebase-in-progress guard with improved error messages 2026-02-20 20:12:44 -08:00
ae6604caad add merge context (branch log, diff stats, per-file diffs) to improve conflict resolution quality 2026-02-20 19:21:16 -08:00
0c5e44bb5d Add rebase command with AI-assisted conflict resolution 2026-02-20 16:01:26 -08:00
14cad28488 Refactor cli.ts into per-command modules with shared utilities 2026-02-20 15:43:15 -08:00
814bbb39a0 Make worktree removal idempotent by pruning and cleaning up stale directories instead of throwing on failure 2026-02-20 07:41:24 -08:00
be29b5fcd7 die more gracefully 2026-02-20 07:40:24 -08:00
c76340777e add status icons to list command showing session activity state 2026-02-19 12:35:23 -08:00
3bcea58729 Consolidate close action logs into a single summary message 2026-02-19 11:17:07 -08:00
2a90c59b3b diff: show uncommitted changes or full branch diff vs main when working tree is clean 2026-02-19 10:14:11 -08:00
8cbeede82b Auto-resolve merge conflicts using Claude when merging branches 2026-02-19 09:50:01 -08:00
cedf6705ef sandlot merge <branch>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 19:13:11 -08:00
4cb3b10047 error handling 2026-02-17 09:57:44 -08:00
994c26647d updates 2026-02-17 08:52:07 -08:00
6f6d921c54 simplify 2026-02-17 07:57:24 -08:00
033331db98 updates 2026-02-16 20:22:44 -08:00
5d7bf302f2 Add sandlot CLI for branch-based dev with worktrees and Apple containers
Implements all 7 commands: new, save, push, list, open, stop, rm.
Uses Commander for CLI parsing, Anthropic SDK for AI commit messages
and merge conflict resolution, and Apple container for VMs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 20:15:29 -08:00