@twelvehart/supermemory-runtime 1.0.0-next.0 → 1.0.0-next.1
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.
- package/README.md +32 -0
- package/package.json +1 -1
- package/scripts/check-runtime-pack.ts +0 -1
package/README.md
CHANGED
|
@@ -331,6 +331,38 @@ claude mcp get supermemory
|
|
|
331
331
|
- `npm run pack:check:runtime` - Verify the runtime npm tarball contents
|
|
332
332
|
- `npm run validate` - typecheck + lint + format + tests
|
|
333
333
|
|
|
334
|
+
## Claude Sandbox VM
|
|
335
|
+
|
|
336
|
+
For isolated Claude Code and plugin testing on macOS/Linux hosts, use Multipass with the bundled sandbox scripts.
|
|
337
|
+
|
|
338
|
+
Host prerequisite: install Multipass on the host. On macOS, for example:
|
|
339
|
+
|
|
340
|
+
```bash
|
|
341
|
+
brew install --cask multipass
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
Create and provision a reusable Ubuntu VM with Docker, Node/npm, uv, Claude Code, and common CLI tools:
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
./scripts/claude-sandbox-vm.sh create --mount "$PWD:/home/ubuntu/workspace/repo"
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
Common operations:
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
./scripts/claude-sandbox-vm.sh info
|
|
354
|
+
./scripts/claude-sandbox-vm.sh shell
|
|
355
|
+
./scripts/claude-sandbox-vm.sh exec -- claude --version
|
|
356
|
+
./scripts/claude-sandbox-vm.sh provision
|
|
357
|
+
./scripts/claude-sandbox-vm.sh delete
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
Notes:
|
|
361
|
+
|
|
362
|
+
- The VM installs Claude Code from npm but does not authenticate it for you; run `claude login` inside the VM.
|
|
363
|
+
- Docker group membership is added during provisioning; reconnect or run `exec newgrp docker` before using Docker.
|
|
364
|
+
- Override defaults with env vars such as `CLAUDE_SANDBOX_VM_NAME`, `CLAUDE_SANDBOX_MEMORY`, `NODE_MAJOR`, and `CLAUDE_NPM_PACKAGE`.
|
|
365
|
+
|
|
334
366
|
## Testing
|
|
335
367
|
|
|
336
368
|
- Unit/integration tests: `vitest`
|
package/package.json
CHANGED