{"full_name":"mattpocock/sandcastle","owner":"mattpocock","name":"sandcastle","shard":"1","url":"https://github.com/mattpocock/sandcastle","description":"Orchestrate sandboxed coding agents in TypeScript with sandcastle.run()","homepage":"","topics":[],"tag_pages":[],"language":"TypeScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/28293365?u=0d66fa0a2c0a4ec5201818081308c14a43b72fe5&v=4","created_at":"2026-03-17T14:49:05Z","pushed_at":"2026-11-14T06:58:01Z","metrics":{"stars":9094,"forks":982,"watchers":26,"issues":806,"prs":844,"releases":45,"issues_open":96,"issues_closed":710,"prs_open":36,"prs_closed":179,"prs_merged":629,"discussions":0},"growth":{"day":{"stars":18,"forks":4,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[8962,8994,9017,9027,9059,9076,9094],"forks":[968,975,975,976,977,978,982],"watchers":[null,25,25,25,26,26,26],"issues_open":[null,99,98,98,96,96,96],"prs_open":[null,43,35,36,32,36,36]},"boards":{},"same_owner":[{"full_name":"mattpocock/skills","name":"skills","shard":"1","boards":{"daily":69,"weekly":10,"monthly":5,"daily_rate":188,"daily_forks":157,"daily_watchers":13,"total":13}}],"issues":[{"number":488,"title":"Figure out Codex + Subscription","comments":11,"created_at":"2026-04-29T18:55:14Z"},{"number":854,"title":"Bind-mount worktree sandboxes corrupt worktree git metadata on non-Windows hosts","comments":4,"created_at":"2026-06-25T03:54:10Z"},{"number":849,"title":"Concurrent branch-strategy worktrees delete each other","comments":4,"created_at":"2026-06-23T11:18:27Z"},{"number":745,"title":"`pnpm install` in `onSandboxReady` corrupts host `node_modules` with Linux-only native binaries on macOS","comments":4,"created_at":"2026-05-26T20:53:26Z"},{"number":1043,"title":"Reused worktree: 'Could not fetch from origin' drops git's error output","comments":3,"created_at":"2026-10-15T13:42:58Z"},{"number":998,"title":"Giving claude permission for /home/agent","comments":3,"created_at":"2026-09-11T07:35:42Z"},{"number":996,"title":"Windows: worktree-mode createSandbox fails when the host repo is itself a linked worktree (host .git pointer-file mount is never patched)","comments":3,"created_at":"2026-09-11T05:17:36Z"},{"number":852,"title":"Wrong permissions workspace with podman","comments":3,"created_at":"2026-06-24T12:57:53Z"}],"discussions":[],"latest_release":{"name":"v0.14.0","tag":"v0.14.0","published_at":"2026-11-02T22:13:58Z","body":"### Minor Changes\n\n- d99fff8: Add an E2B isolated sandbox provider, `e2b()` from `@ai-hero/sandcastle/sandboxes/e2b`. It needs the optional `e2b` peer dependency and `E2B_API_KEY` (or the `apiKey` option). Use a template that ships your agent's CLI, such as `e2b({ template: \"claude\" })`.\n- 8783573: Add `modal()`, an isolated sandbox provider for [Modal](https://modal.com) sandboxes, at `@ai-hero/sandcastle/sandboxes/modal`. Install `modal` (an optional peer dependency) and set `MODAL_TOKEN_ID` and `MODAL_TOKEN_SECRET`, or pass `tokenId` and `tokenSecret`. By default it builds a `node:24-bookworm` image with Claude Code installed; pass `image` for your own. Sandboxes live for an hour unless `timeoutMs` says otherwise, and `sandboxId` is the Modal sandbox id.\n- 775a8df: Add `sprites()`, a Fly.io Sprites isolated sandbox provider, at `@ai-hero/sandcastle/sandboxes/sprites`. It needs `@fly/sprites` (an optional peer dependency, which asks for Node 24 or later) and a token in `SPRITES_TOKEN` (or `SPRITE_TOKEN`, or the `token` option). Each sandbox is a new Sprite with the repo at `/home/sprite/workspace`; `sandboxId` is the Sprite's name. Sprites persist until deleted, so Sandcastle deletes the Sprite on `close()`, when setup fails, and from a background process when the run is interrupted or exits without closing it.\n\n### Patch Changes\n\n- 73ce215: docker() and podman(): the worktree admin directories can no longer be renamed from inside the sandbox.\n- 14507d6: Add a Glossary page to the user docs (`docs/guide/glossary.md`, in the Reference group) that defines every term in one place. Guide pages no longer open with definition blocks; instead, each page links the first mention of a term to its glossary entry.","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}