Commit Graph

85 Commits

Author SHA1 Message Date
ea1b09dc8e Move config defaults to a shared constant in config.ts
Eliminates duplicated default values and simplifies the config
command by replacing the generic key metadata registry with
direct validation functions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 10:30:39 -07:00
e3e4419933 Refactor config command and fix default memory limit
Move defaults and normalization into KEYS metadata, validate config
file shape on load, and lower default container memory from 32G to 16G.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 10:24:57 -07:00
f7d876776b Add per-user config system with sandlot config command
Allow users to configure container memory limit (default 32G) via
`sandlot config memory <value>` instead of hardcoding it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 10:13:20 -07:00
6f00cc3556 Add sccache as Rust build cache in container environment
Speeds up repeated cargo builds across sessions by caching
compilation artifacts on the persistent mount.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 10:01:23 -07:00
2dea1d7df7 Merge branch 'active-bug' 2026-03-18 22:50:25 -07:00
2ca978b728 Increase container memory limit from 4G to 32G 2026-03-18 22:36:04 -07:00
de48aeb02a Replace PostToolUseFailure hook with PreToolUse for activity tracking
PostToolUseFailure incorrectly marked the session idle on transient tool
errors. PreToolUse keeps the active signal fresh throughout tool execution,
while Stop alone handles the transition to idle.
2026-03-18 22:18:38 -07:00
97a6a2632a Improve commit message prompts and use Opus model 2026-03-15 23:13:40 -07:00
24ebdf4f5a Merge branch 'path' 2026-03-15 13:50:56 -07:00
b2694a3933 Add /sandlot/bin to container PATH 2026-03-15 13:50:50 -07:00
ec16a6722b Replace make with build-essential in package lists 2026-03-15 12:40:40 -07:00
c68c9b5e0d Replace unzip with make in package list 2026-03-15 09:34:27 -07:00
b8c9603c71 Add musl target and cargo config for Rust 2026-03-15 09:24:27 -07:00
3c6cd05ef7 Add persistent Rust and Go tooling to container 2026-03-14 21:18:02 -07:00
4f487fe3ef Update sandlot-statusline to show cwd basename 2026-03-12 09:00:21 -07:00
3fc59774a5 refactor: extract installScript helper function 2026-03-12 07:45:16 -07:00
ac745d02f6 Add statusline script showing branch in powerline 2026-03-11 22:36:18 -07:00
6d86a988f7 Track activity markers during merge/rebase 2026-03-11 22:13:55 -07:00
8eabd31442 Use unique temp file names for Claude pipe 2026-03-11 21:50:43 -07:00
fa45ea43ce Clear activity after session and on tool failure 2026-03-11 21:39:27 -07:00
Chris Wanstrath
1d55cf427e no oauth 2026-02-25 15:52:22 -08:00
8543179ec6 Merge branch 'fix-worktrees' 2026-02-25 12:28:18 -08:00
aab4f35c89 Mount host dirs read-only in container 2026-02-25 12:28:16 -08:00
8149a6add3 Accept trust dialog for root project in claude.json 2026-02-25 12:25:16 -08:00
65603df7d2 Make hostMounts sync, drop readonly mounts 2026-02-24 23:44:22 -08:00
d11df74ecd Add --enable-kernel-install to container start 2026-02-24 10:23:57 -08:00
9ed2b1c192 Show stderr output in debug mode 2026-02-24 09:58:45 -08:00
8e62ce1a59 Normalize ~/Code path to lowercase ~/code 2026-02-24 09:52:11 -08:00
3b21a2afd1 Use nested paths for host mounts 2026-02-24 08:49:33 -08:00
3d41e3de29 Support optional ~/Code mount alongside ~/dev 2026-02-24 08:47:57 -08:00
b46511efe3 Rename info to neofetch in vm module and command handler 2026-02-23 08:08:59 -08:00
33e47a802c Move retry logic into vm.ts and simplify open.ts command flow 2026-02-23 08:06:58 -08:00
6114540764 Return exit code and output from claude() and retry without --continue on failure 2026-02-23 07:32:42 -08:00
6ec203e67f Start container with progress logging 2026-02-23 07:21:46 -08:00
cfe8eab054 add vm uncache command to clear the package cache 2026-02-21 08:53:06 -08:00
417bb666b2 Refactor tooling install steps and extract PATH constant 2026-02-21 08:45:32 -08:00
ca7af3d671 Remove difftastic from tooling installation and cache 2026-02-21 08:31:02 -08:00
4f913b6091 Add tooling cache and install neofetch, difftastic, and Neovim in containers 2026-02-21 08:24:26 -08:00
71830c6bd5 Merge branch 'code-review'
# Conflicts:
#	src/cli.ts
2026-02-20 15:56:35 -08:00
14cad28488 Refactor cli.ts into per-command modules with shared utilities 2026-02-20 15:43:15 -08:00
89127f98c8 Pass --continue flag when resuming existing sessions 2026-02-20 15:17:07 -08:00
9b8d4d882e Set explicit PATH in shell container exec 2026-02-20 08:25:24 -08:00
59fcb55eb4 Merge branch 'launch-claude-vm' 2026-02-20 07:55:39 -08:00
10c6bd46a0 Add PATH to container exec environment for claude binary 2026-02-20 07:47:40 -08:00
ef8e40ecb3 add sandlot shell <branch> command to open a shell in a session's worktree 2026-02-20 07:44:43 -08:00
3888876ed5 add unzip 2026-02-20 07:38:24 -08:00
5dd0ff2193 dont think bun.$ can do env vars 2026-02-20 07:31:57 -08:00
773e8d56a4 ~/.local/bin for bun 2026-02-19 20:15:42 -08:00
75bbe90b5a add bun 2026-02-19 20:11:18 -08:00
1c31d3ed6f Merge branch 'claude-detection-fix' 2026-02-19 20:08:46 -08:00