opencode-landstrip 0.20.1 → 0.20.3

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 +6 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -17,11 +17,12 @@ Only AI `bash` is OS-isolated; the plugin API cannot replace user shell commands
17
17
  Tool approval never overrides hard sandbox denials. Interactive requests without
18
18
  a live presenter remain denied.
19
19
 
20
- Configuration: bundled [`sandbox.json`](sandbox.json) → global →
21
- `.opencode/sandbox.json` → plugin options. Global:
22
- `$XDG_CONFIG_HOME/opencode/sandbox.json`, with `~/.config` as fallback for an unset,
23
- empty, or relative `XDG_CONFIG_HOME`. Arrays combine; later scalars win.
24
- Persistent approvals update the selected global/project file.
20
+ Configuration is loaded in order from the bundled [`sandbox.json`](sandbox.json),
21
+ the global config at `$XDG_CONFIG_HOME/opencode/sandbox.json` (or
22
+ `~/.config/opencode/sandbox.json` when `XDG_CONFIG_HOME` is unset, empty, or
23
+ relative), `.opencode/sandbox.json`, and plugin options. Later sources append to
24
+ list settings and override non-list settings. Persistent approvals are written to
25
+ the selected global or project file.
25
26
 
26
27
  Defaults allow project writes, deny sensitive-file writes, and block networking.
27
28
  Unusable sandboxing fails closed; `enabled: false` permits unsandboxed Bash.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-landstrip",
3
- "version": "0.20.1",
3
+ "version": "0.20.3",
4
4
  "description": "OS-level AI command sandboxing for OpenCode with Landstrip",
5
5
  "keywords": [
6
6
  "landlock",
@@ -48,7 +48,7 @@
48
48
  "ci:test": "npm test"
49
49
  },
50
50
  "dependencies": {
51
- "@landstrip/landstrip-api": "^0.20.1",
51
+ "@landstrip/landstrip-api": "^0.20.3",
52
52
  "@opentui/core": ">=0.5.12",
53
53
  "@opentui/solid": ">=0.5.12",
54
54
  "solid-js": "1.9.12"