opencode-landstrip 0.19.13 → 0.19.15

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 +16 -22
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -9,37 +9,31 @@ opencode plugin install opencode-landstrip # project
9
9
  opencode plugin install opencode-landstrip --global # global
10
10
  ```
11
11
 
12
- Installation configures server and TUI plugins. `/landstrip` opens the management
13
- pane; Pi's agent/task subcommands are unavailable.
12
+ Installation configures server/TUI plugins; `/landstrip` opens the management pane.
14
13
 
15
14
  ## Permissions and configuration
16
15
 
17
- OpenCode authorizes tool dispatch; Landstrip enforces filesystem/network access.
18
- Approval never bypasses hard denials. Interactive requests without a live
19
- presenter remain denied. Only AI `bash` receives OS isolation: OpenCode's plugin
20
- API cannot replace direct user shell commands.
16
+ Only AI `bash` is OS-isolated; the plugin API cannot replace user shell commands.
17
+ Tool approval never overrides hard sandbox denials. Interactive requests without
18
+ a live presenter remain denied.
21
19
 
22
- Policy precedence: bundled [`sandbox.json`](sandbox.json) → global →
23
- `.opencode/sandbox.json` → plugin options. The global file is
24
- `$XDG_CONFIG_HOME/opencode/sandbox.json` (`~/.config` when unset, empty, or relative).
25
- Persistent approvals update the chosen project/global file.
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.
26
25
 
27
- Arrays combine; later scalar values win. Defaults allow project writes, deny
28
- sensitive-file writes, and block network access. Enabled sandboxing fails closed
29
- on unusable binaries/platforms; `enabled: false` explicitly permits unsandboxed Bash.
26
+ Defaults allow project writes, deny sensitive-file writes, and block networking.
27
+ Unusable sandboxing fails closed; `enabled: false` permits unsandboxed Bash.
30
28
 
31
- `filesystem.denyReadAlways` and `filesystem.denyWriteAlways` block approvals and
32
- equal/nested grants. Non-empty hard-denial lists are unsupported on Windows.
33
-
34
- See [landstrip(1)](../landstrip/man/man1/landstrip.1) for native CLI/policy semantics.
35
- Runtime seccomp traps/query approval are Linux-only. Native macOS `--trap` reports
36
- setup/launch errors only and closes on successful exec—not runtime violations.
29
+ See [landstrip(1)](../landstrip/man/man1/landstrip.1) for hard-denial rules,
30
+ native traps, and platform limits.
37
31
 
38
32
  ## Development
39
33
 
40
- From this package: `npm ci`, then `npm run all` (format, lint, typecheck, tests).
41
- Read-only formatting check: `npm run ci:fmt`.
34
+ From this package: `npm ci && npm run all`; `npm run ci:fmt` checks formatting
35
+ without edits.
42
36
 
43
37
  ## License
44
38
 
45
- Apache-2.0; see [LICENSE](LICENSE).
39
+ [Apache-2.0](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-landstrip",
3
- "version": "0.19.13",
3
+ "version": "0.19.15",
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.19.13",
51
+ "@landstrip/landstrip-api": "^0.19.15",
52
52
  "@opentui/core": ">=0.5.12",
53
53
  "@opentui/solid": ">=0.5.12",
54
54
  "solid-js": "1.9.12"