{"_id":"@adobe/aio-sandbox-run","_rev":"6-9062e985e20f97cf878f804608bb7561","name":"@adobe/aio-sandbox-run","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.1":{"name":"@adobe/aio-sandbox-run","version":"1.1.1","_id":"@adobe/aio-sandbox-run@1.1.1","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"bin":{"aio-sandbox":"sandbox.js"},"dist":{"shasum":"537d23b989a5f7f5b3958711e28c9ddeef0dce0c","tarball":"https://registry.npmjs.org/@adobe/aio-sandbox-run/-/aio-sandbox-run-1.1.1.tgz","fileCount":3,"integrity":"sha512-j6Jwnfbcs6HcSRuuQtoqn87IhUDyFBlqUkH1u/pry35R/ZbUAaBR+PRo4IxHqAvg1euYCH/XVEg0JA4v1sKIpA==","signatures":[{"sig":"MEUCIBe8r5Vt2KX4hyZCh1GuRthLhWTiBsvGDhki0vGmv+e1AiEAoy1rPB0FJ4GhmBJeog8cHnlraCtVuJlCgzDm9z2rFWg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11909},"engines":{"node":">=18"},"gitHead":"128cbc3a15bf76a078e899ee6c6243ec83c13899","_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"_npmVersion":"11.12.1","description":"Interactive CLI for working with Adobe I/O Runtime compute sandboxes","directories":{},"_nodeVersion":"24.15.0","dependencies":{"dotenv":"^16.0.0","@adobe/aio-lib-sandbox":"^0.1.0-alpha.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/aio-sandbox-run_1.1.1_1779922116276_0.6360055374026332","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-05-27T22:48:36.093Z","modified":"2026-10-01T01:32:25.137Z","1.1.1":"2026-05-27T22:48:36.405Z"},"description":"Interactive CLI for working with Adobe I/O Runtime compute sandboxes","maintainers":[{"email":"mabecker@adobe.com","name":"marbec"},{"email":"tripod@bocanegra.ch","name":"tripod"},{"email":"garthdb@gmail.com","name":"garthdb"},{"email":"lazdnet@gmail.com","name":"lazd"},{"email":"grp-opensourceoffice@adobe.com","name":"adobe-admin"},{"email":"patrickfulton@gmail.com","name":"patrickfulton"},{"email":"lars@trieloff.net","name":"trieloff"},{"email":"krisnye@gmail.com","name":"krisnye"},{"email":"dcpfsdk@adobe.com","name":"dcpfsdk"},{"email":"natebaldwindesign@gmail.com","name":"natebaldwin"},{"email":"devongovett@gmail.com","name":"devongovett"},{"email":"danniintheus@gmail.com","name":"aspro83"},{"email":"symanovi@adobe.com","name":"symanovi"},{"email":"dominique.pfister@gmail.com","name":"dpfister"},{"email":"sg@adobe.com","name":"stefan-guggisberg"},{"email":"npm@rofe.com","name":"rofe"},{"email":"kptdobe@gmail.com","name":"kptdobe"},{"email":"halls@adobe.com","name":"adobehalls"},{"email":"bradjohn@adobe.com","name":"fullcolorcoder"},{"email":"djaeggi@adobe.com","name":"djaeggi"},{"email":"dylandepass@gmail.com","name":"dylandepass"},{"email":"mhaack@adobe.com","name":"mhaack"},{"email":"amol@adobe.com","name":"amol-anand"},{"email":"stopp@adobe.com","name":"stopp-adobe"},{"email":"namarora@adobe.com","name":"namarora"},{"email":"doten@adobe.com","name":"doten"},{"email":"schmidt@adobe.com","name":"duh_schmidt"},{"email":"astha.bhargava23@gmail.com","name":"asthabh23"},{"email":"aljoseph@adobe.com","name":"aljoseph"},{"email":"zouhir.dahbi@outlook.com","name":"zdahbi"},{"email":"tuicu@adobe.com","name":"tuicu"},{"email":"fmeschbe@adobe.com","name":"fmeschbe"}],"readme":"# Adobe I/O Runtime Sandbox — Interactive CLI\n\nAn interactive CLI for creating and exploring [Adobe I/O Runtime compute sandboxes](https://github.com/adobe/aio-lib-sandbox).\n\n> [!WARNING]\n> **Alpha.** The underlying SDK is in active alpha development. The API surface and authentication model may change without notice.\n\n## Pre-requisites\n\nSandboxes must be enabled for your Runtime namespace. Contact Michael Goberling (mgoberling@adobe.com) or Cosmin Stanciu (stanciu@adobe.com) to request access.\n\n## Usage\n\n```bash\nnpx github:adobe/aio-lib-sandbox/run --type cpu:default\n```\n\nCredentials are read from environment variables or prompted interactively on first run:\n\n| Variable | Description |\n|---|---|\n| `AIO_RUNTIME_APIHOST` | Runtime API host (default: `https://adobeioruntime.net`) |\n| `AIO_RUNTIME_NAMESPACE` | Your Runtime namespace |\n| `AIO_RUNTIME_AUTH` | Your Runtime API key |\n\nCopy `.env.example` to `.env` in your working directory to avoid typing credentials each time.\n\n## Flags\n\n| Flag | Short | Description |\n|---|---|---|\n| `--namespace` | `-n` | Runtime namespace |\n| `--apihost` | `-H` | Runtime API host |\n| `--api-key` | `-k` | Runtime API key |\n| `--type` | `-t` | Sandbox type (e.g. `cpu:default`, `cpu:large`) |\n| `--size` | `-s` | Sandbox size |\n| `--egress` | `-e` | Egress rule(s) — repeatable (see below) |\n| `--port` | `-p` | Print a preview URL for this port at startup — repeatable |\n\n## Egress rules\n\nSandboxes are default-deny. Use `--egress` to allowlist outbound endpoints:\n\n```bash\n# Single rule\nnpx github:adobe/aio-lib-sandbox/run --egress \"api.github.com:443\"\n\n# Multiple rules\nnpx github:adobe/aio-lib-sandbox/run \\\n  --egress \"httpbin.org:443\" \\\n  --egress \"api.github.com:443|GET:/repos/**\"\n\n# Allow all outbound traffic\nnpx github:adobe/aio-lib-sandbox/run --egress allow-all\n```\n\n**Format:** `host:port[:TCP|UDP][|METHOD[,METHOD]:/path/pattern]`\n\n## Preview URLs\n\nUse `--port` to print preview URLs for servers running inside the sandbox:\n\n```bash\nnpx github:adobe/aio-lib-sandbox/run --port 3000 --port 5173\n```\n\n## REPL commands\n\nOnce the sandbox is created, you get an interactive REPL:\n\n| Command | Description |\n|---|---|\n| `<any shell command>` | Run command on the sandbox |\n| `cmd <<< \"text\"` | Send inline text as stdin |\n| `.help` | Show help |\n| `exit` / `quit` | Destroy sandbox and exit |\n\n> **Note:** Each command runs in a fresh process. Shell state (working directory, exports) does not persist between commands. Chain commands to work around this: `cd mydir && npm install`.\n","readmeFilename":"README.md"}