sanduary 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,6 @@
6
6
  "updateRemoteUserUID": true,
7
7
  "initializeCommand": "echo 'PROJECT_ROOT='$(pwd) > .devcontainer/.env && echo 'PROJECT_NAME='$(basename $(pwd)) >> .devcontainer/.env && echo 'GIT_ORIGIN_URL='$(git remote get-url origin 2>/dev/null || echo '') >> .devcontainer/.env && [ -f ~/.claude-sandbox-credentials.json ] || echo '{}' > ~/.claude-sandbox-credentials.json && [ -f ~/.claude-sandbox.json ] || echo '{}' > ~/.claude-sandbox.json",
8
8
  "postCreateCommand": "git init && git remote add origin \"${GIT_ORIGIN_URL:-/host-project}\" && git fetch && git checkout $(git -C /host-project branch --show-current) && echo 'alias claude=\"npx claude --dangerously-skip-permissions\"' >> ~/.bashrc",
9
- "postStartCommand": "cp -r /home/node/.claude-host /home/node/.claude && sed -i 's|/Users/[^/]*/|/home/node/|g' /home/node/.claude/plugins/known_marketplaces.json",
10
9
  "shutdownAction": "stopCompose",
11
10
  "remoteUser": "node",
12
11
  "remoteEnv": {
@@ -3,11 +3,12 @@
3
3
  "dockerComposeFile": [
4
4
  "docker-compose.yml"
5
5
  ],
6
- "workspaceFolder": "/workspaces/${PROJECT_NAME:-project}",
6
+ "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
7
7
  "workspaceMount": "",
8
8
  "updateRemoteUserUID": true,
9
- "initializeCommand": "echo 'PROJECT_ROOT='$(pwd) > .devcontainer/.env && echo 'PROJECT_NAME='$(basename $(pwd)) >> .devcontainer/.env && [ -f ~/.claude-sandbox-credentials.json ] || echo '{}' > ~/.claude-sandbox-credentials.json && [ -f ~/.claude-sandbox.json ] || echo '{}' > ~/.claude-sandbox.json",
9
+ "initializeCommand": "echo 'PROJECT_ROOT='$(pwd) > .devcontainer/.env && echo 'PROJECT_NAME='$(basename $(pwd)) >> .devcontainer/.env && echo 'GIT_ORIGIN_URL='$(git remote get-url origin 2>/dev/null || echo '') >> .devcontainer/.env && [ -f ~/.claude-sandbox-credentials.json ] || echo '{}' > ~/.claude-sandbox-credentials.json && [ -f ~/.claude-sandbox.json ] || echo '{}' > ~/.claude-sandbox.json",
10
10
  "postCreateCommand": "git init && git remote add origin \"${GIT_ORIGIN_URL:-/host-project}\" && git fetch && git checkout $(git -C /host-project branch --show-current) && echo 'alias claude=\"npx claude --dangerously-skip-permissions\"' >> ~/.bashrc",
11
+ "postStartCommand": "cp -rT /home/node/.claude-host /home/node/.claude && sed -i 's|/Users/[^/]*/|/home/node/|g' /home/node/.claude/plugins/known_marketplaces.json",
11
12
  "shutdownAction": "stopCompose",
12
13
  "remoteUser": "node",
13
14
  "remoteEnv": {
@@ -11,7 +11,7 @@ services:
11
11
  volumes:
12
12
  - /var/run/docker.sock:/var/run/docker.sock
13
13
  - ${PROJECT_ROOT:-..}:/host-project
14
- - ${HOME}/.claude:/home/node/.claude-host:ro
14
+ - ${HOME}/.claude:/home/node/.claude
15
15
  - ${HOME}/.claude-sandbox.json:/home/node/.claude.json
16
16
  - ${HOME}/.claude-sandbox-credentials.json:/home/node/.claude/.credentials.json
17
17
  - ${HOME}/.gitconfig:/home/node/.gitconfig
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "sandbox",
3
3
  "dockerComposeFile": ["docker-compose.override.yml"],
4
- "postCreateCommand": "npm ci && npx prisma generate",
5
- "postStartCommand": "npx prisma migrate deploy",
4
+ "postCreateCommand": "npm ci",
6
5
  "forwardPorts": [3000, 3306],
7
6
  "portsAttributes": {
8
7
  "3000": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanduary",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Development sandbox environment for AI agents - A secure sanctuary for running AI coding assistants in Docker DevContainers",
5
5
  "keywords": [
6
6
  "devcontainer",
@@ -31,6 +31,7 @@
31
31
  "dependencies": {
32
32
  "js-yaml": "^4.1.0"
33
33
  },
34
+ "main": "index.js",
34
35
  "devDependencies": {
35
36
  "@anthropic-ai/claude-code": "^2.0.72"
36
37
  },