Commit Graph

189 Commits

Author SHA1 Message Date
a6f6d8b067 Use absolute path for sandlot-activity binary in Claude hooks 2026-02-19 19:55:54 -08:00
e048b20e5c Disable plan mode in system prompt when using print option 2026-02-19 19:54:51 -08:00
f9f87862b0 Merge branch 'vm-create-start' 2026-02-19 19:52:21 -08:00
9aac8298c9 add vm create and vm start commands, refactor ensure to delegate to them 2026-02-19 19:51:33 -08:00
9b6245d9c9 Add branch name prefix to spinner output 2026-02-19 19:22:24 -08:00
e23e84655d Simplify activity hook script and remove unused activeWorktrees function 2026-02-19 19:15:28 -08:00
86fd1e6c25 Track Claude activity state via hook-based marker files 2026-02-19 18:46:51 -08:00
0d059b8940 fix: create host path symlinks in container so git worktree absolute paths resolve correctly 2026-02-19 16:03:07 -08:00
fd5a6f8ed7 Merge branch 'grumpy-reviewer' 2026-02-19 13:28:18 -08:00
eb5acc2049 Merge branch 'lets-add' 2026-02-19 13:26:29 -08:00
b9630e12c6 Add ANSI color coding to session list output 2026-02-19 13:26:18 -08:00
afee01815c add --print flag to review command for non-interactive output 2026-02-19 13:24:59 -08:00
47dc4941b1 add review command for interactive grumpy code review of a branch 2026-02-19 13:23:11 -08:00
e860d6ff57 Tighten branch name generation to 2 words with lower token limit and zero temperature 2026-02-19 13:20:41 -08:00
05dd4f1806 Use Claude API to generate branch names from prompts, falling back to a local slugify function 2026-02-19 13:18:53 -08:00
1edc7b92fb Add header and legend to session list output 2026-02-19 13:14:24 -08:00
bf6b9973d5 Merge branch 'for-sandlot'
# Conflicts:
#	src/cli.ts
2026-02-19 13:07:11 -08:00
ff086cd4d2 Enrich session list with prompts from Claude history for sessions missing one 2026-02-19 13:05:12 -08:00
c76340777e add status icons to list command showing session activity state 2026-02-19 12:35:23 -08:00
25d2de5348 Merge branch 'i-should' 2026-02-19 11:52:34 -08:00
997c0967d4 Merge branch 'show' 2026-02-19 11:50:34 -08:00
fd27c93f82 Merge branch 'icons' 2026-02-19 11:50:18 -08:00
1719a71cd9 Merge branch 'no-worktree'
# Conflicts:
#	src/cli.ts
2026-02-19 11:25:43 -08:00
3580df2ba6 Add symbolic status prefixes to CLI output messages 2026-02-19 11:24:55 -08:00
f47dabbabc Add sandlot show command to display prompt and diff for a branch 2026-02-19 11:24:32 -08:00
40b04f159e Truncate prompt column in session list to fit terminal width 2026-02-19 11:23:53 -08:00
84ff27fd8e Remove worktree column from sessions list output 2026-02-19 11:22:48 -08:00
e5085d50ed Merge branch 'add-sandlot' 2026-02-19 11:21:49 -08:00
de0a3487e4 Merge branch 'sandlot-list' 2026-02-19 11:21:24 -08:00
d5bab69367 add dir command to print worktree path for a session 2026-02-19 11:21:03 -08:00
358c66a073 Pass TERM environment variable when launching Claude in container 2026-02-19 11:19:38 -08:00
38c767ef29 Merge branch 'no-save' 2026-02-19 11:19:27 -08:00
cf28eec718 Store and display prompt in session; improve list formatting with tilde paths and prompt column 2026-02-19 11:19:07 -08:00
d791fb1866 Add --no-save flag to skip auto-save on new and resume commands 2026-02-19 11:18:28 -08:00
3bcea58729 Consolidate close action logs into a single summary message 2026-02-19 11:17:07 -08:00
8b276036bf Merge branch 'fix-prompt' 2026-02-19 11:15:21 -08:00
4399fdef03 capture and return claude print output instead of writing directly to stdout 2026-02-19 11:15:15 -08:00
c5f376d797 Simplify branch name generation to use first two words instead of truncating at 20 chars 2026-02-19 10:59:07 -08:00
d4a3053bd7 Pipe long diff output through less pager when it exceeds terminal height 2026-02-19 10:57:58 -08:00
9fc126d58f Merge branch 'session-ready' 2026-02-19 10:23:18 -08:00
e4bee9c7c8 fix spinner lifecycle to reuse single spinner instance and suppress "Session ready" in print mode 2026-02-19 10:22:44 -08:00
a640d15a2c Add --color=always to git diff commands 2026-02-19 10:21:57 -08:00
b4b5a11a90 Add newline after Claude output before spinner completion 2026-02-19 10:20:29 -08:00
061e7e30b9 Merge branch 'log' 2026-02-19 10:18:48 -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
d4d0010632 add sandlot log command to show branch commits not on main 2026-02-19 10:12:06 -08:00
586e72610a Replace console.log with spinner for prompt progress in CLI 2026-02-19 10:07:31 -08:00
4fefc43eeb Merge branch 'auto-save2' 2026-02-19 10:04:05 -08:00
e96e6878a4 Refactor save logic into shared saveChanges helper and auto-commit after run 2026-02-19 10:04:03 -08:00
7f2119753d Merge branch 'no-branch-p2' 2026-02-19 09:56:07 -08:00
1aaeb53ead Auto-derive branch name from -p prompt when branch arg is omitted 2026-02-19 09:56:04 -08:00
d941af2078 Add prompt and print mode options to the open command 2026-02-19 09:54:21 -08:00
dddd4259f0 Merge branch 'auto-branch'
# Conflicts:
#	src/cli.ts
2026-02-19 09:50:55 -08:00
4d95deebb3 Merge branch 'fix-conflicts' 2026-02-19 09:50:04 -08:00
8cbeede82b Auto-resolve merge conflicts using Claude when merging branches 2026-02-19 09:50:01 -08:00
cc031a8943 Merge branch 'p-feedback' 2026-02-19 09:48:09 -08:00
bae276d4aa Add print mode progress log before running prompt 2026-02-19 09:48:07 -08:00
b67f1c82ed feat: auto-derive branch name from prompt when spaces detected 2026-02-19 09:46:54 -08:00
3c77c43999 Add diff command to show unstaged changes in a session's worktree 2026-02-19 09:46:09 -08:00
37136f5e04 Add -p/--print flag to new command for non-interactive Claude mode 2026-02-19 09:44:48 -08:00
f9d52110bb fix sandlot save 2026-02-19 09:39:14 -08:00
6d6afe73fa better claude 2026-02-19 00:14:24 -08:00
65b8fa29f0 prompt 2026-02-19 00:09:22 -08:00
7e45369681 /host 2026-02-19 00:08:14 -08:00
424cd2a932 fix everthing 2026-02-19 00:05:14 -08:00
218609bffb new new 2026-02-18 23:50:16 -08:00
9eae7c0951 the sandbox 2026-02-18 23:41:21 -08:00
0f18f1e5ff apple container 2026-02-18 23:30:59 -08:00
f90cd3a38d Add symlink in .sandlot/<branch> pointing to worktree on create, remove on close 2026-02-18 16:04:49 -08:00
8874885250 Move worktrees to ~/.sandlot/<repo>/<branch> outside the project directory 2026-02-18 16:03:37 -08:00
a438391d70 Restrict VM mount to ~/dev instead of entire home directory 2026-02-18 16:01:21 -08:00
ef554b694e fix claude login 2026-02-18 15:08:50 -08:00
3a7cda6d74 fix claude login 2026-02-18 12:21:58 -08:00
f7517fbd1b optional prompt for new 2026-02-17 20:15:09 -08:00
9f250188ca allow optional manual commit message in sandlot save, skip AI generation when provided 2026-02-17 19:23:35 -08:00
ec697565ac Merge branch 'save-branch' 2026-02-17 19:17:27 -08:00
dba67fea80 configure git in vm 2026-02-17 19:16:01 -08:00
967b3f4512 sandlot save <branch>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 19:15:24 -08:00
cedf6705ef sandlot merge <branch>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 19:13:11 -08:00
19a1d0c563 close not rm 2026-02-17 18:31:43 -08:00
f27eccf5b0 login with fish 2026-02-17 18:28:14 -08:00
e6aa31f769 sandlot list --json 2026-02-17 10:50:58 -08:00
4cb3b10047 error handling 2026-02-17 09:57:44 -08:00
606b440891 it's alive 2026-02-17 09:55:53 -08:00
994c26647d updates 2026-02-17 08:52:07 -08:00
45bb19a8d9 use lima 2026-02-17 08:15:03 -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