opencode-sandbox 0.1.18 → 0.1.19

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.
Files changed (2) hide show
  1. package/README.md +2 -25
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -186,32 +186,9 @@ The AI model interprets sandbox errors (like "Read-only file system" or "Connect
186
186
 
187
187
  If anything goes wrong (sandbox init fails, wrapping fails, platform unsupported), commands run normally without sandbox. The plugin never breaks your workflow.
188
188
 
189
- ## Local development
189
+ ## Contributing
190
190
 
191
- ```bash
192
- # Clone and install
193
- git clone https://github.com/isanchez31/opencode-sandbox-plugin.git
194
- cd opencode-sandbox-plugin
195
- bun install
196
-
197
- # Run tests
198
- bun test
199
-
200
- # Build
201
- bun run build
202
- ```
203
-
204
- ## Architecture
205
-
206
- ```
207
- src/
208
- ├── index.ts # Plugin entry — exports SandboxPlugin, hooks into tool.execute.before/after
209
- └── config.ts # Config loading (env var, .opencode/sandbox.json) + defaults + path validation
210
-
211
- test/
212
- ├── config.test.ts # Unit tests for config resolution and path safety
213
- └── plugin.test.ts # Integration tests for plugin hooks
214
- ```
191
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, architecture, and guidelines.
215
192
 
216
193
  ## Related
217
194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sandbox",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "OpenCode plugin that sandboxes agent commands using @anthropic-ai/sandbox-runtime (seatbelt on macOS, bubblewrap on Linux)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",