Skip to content

Commit e640931

Browse files
authored
Merge pull request mattpocock#482 from mattpocock/changeset-release/main
Version Packages
2 parents ed0cbcf + 944ee9a commit e640931

10 files changed

Lines changed: 14 additions & 41 deletions

.changeset/add-copy-to-worktree-timeout-option.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-copy-to-worktree-fallback-error.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-prune-stale-symlink.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-run-basebranch.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-windows-encode-project-path.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/per-hook-timeout.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/recommend-dev-dependency.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/use-apfs-clonefile-macos.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @ai-hero/sandcastle
22

3+
## 0.5.6
4+
5+
### Patch Changes
6+
7+
- 54b5111: Add `timeouts.copyToWorktreeMs` option to override the host-to-worktree copy timeout (default: 60 000 ms).
8+
- d8484ca: Surface fallback `cp -R` failures from `copyToWorktree` as a typed `CopyToWorktreeError` instead of silently swallowing them
9+
- b6cc84f: Fix `WorktreeManager.pruneStale` deleting active worktrees when `.sandcastle` (or any ancestor of the repo directory) is a symlink. `git worktree list` returns canonicalized paths, so the un-canonicalized prefix never matched the active set and parallel `createSandbox()` calls would wipe each other's worktrees mid-run, surfacing as `spawn /bin/sh ENOENT`.
10+
- 26920ca: Fix `branchStrategy.baseBranch` being silently dropped when calling `sandcastle.run()` with a worktree-based sandbox. New branches now correctly fork from the requested `baseBranch` instead of the host's HEAD.
11+
- bbb0f39: Fix `encodeProjectPath` to handle Windows paths by replacing backslashes with hyphens and stripping drive-letter colons, producing a valid single directory-name component on Windows.
12+
- b2123e4: Add optional `timeoutMs` field to hook objects, allowing per-hook timeout overrides with fallback to the default 60s
13+
- a658fcc: Update Quick Start install command to recommend `--save-dev` and note that Sandcastle is a dev/CI tool
14+
- 425b77e: Use APFS clonefile (`cp -cR`) on macOS for copy-to-worktree instead of GNU `--reflink=auto`, giving Mac users instant copy-on-write on APFS volumes
15+
316
## 0.5.5
417

518
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai-hero/sandcastle",
3-
"version": "0.5.5",
3+
"version": "0.5.6",
44
"description": "CLI for orchestrating AI agents in isolated sandbox environments",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)