Skip to content

Commit 308b6a7

Browse files
authored
Merge pull request #394 from mattpocock/changeset-release/main
Version Packages
2 parents ba6121e + 94dc4ce commit 308b6a7

4 files changed

Lines changed: 8 additions & 11 deletions

File tree

.changeset/add-cwd-option.md

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

.changeset/fix-session-capture-tmp-path.md

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

CHANGELOG.md

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

3+
## 0.5.1
4+
5+
### Patch Changes
6+
7+
- ba6121e: Add a `cwd` option to `createSandbox()`, `createWorktree()`, `run()`, and `interactive()`. When provided, `cwd` replaces `process.cwd()` as the host repo directory used for worktrees, `.sandcastle/.env`, logs, patches, and git operations, letting you drive Sandcastle from outside the target repo. Relative paths resolve against `process.cwd()`; absolute paths pass through. A `CwdError` is raised when the path does not exist or is not a directory.
8+
- f872268: Fix session capture, which always failed with "Could not find the file". Sandcastle was looking for session JSONLs under a `sessions/` subdirectory that Claude Code does not actually use.
9+
310
## 0.5.0
411

512
### Minor 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.0",
3+
"version": "0.5.1",
44
"description": "CLI for orchestrating AI agents in isolated sandbox environments",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)