opencode-landstrip 0.19.13 → 0.19.14
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 +16 -22
- 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
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
presenter remain denied.
|
|
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
|
-
|
|
23
|
-
`.opencode/sandbox.json` → plugin options.
|
|
24
|
-
`$XDG_CONFIG_HOME/opencode/sandbox.json
|
|
25
|
-
|
|
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
|
-
|
|
28
|
-
|
|
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
|
-
|
|
32
|
-
|
|
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
|
|
41
|
-
|
|
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
|
|
39
|
+
[Apache-2.0](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-landstrip",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.14",
|
|
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.
|
|
51
|
+
"@landstrip/landstrip-api": "^0.19.14",
|
|
52
52
|
"@opentui/core": ">=0.5.12",
|
|
53
53
|
"@opentui/solid": ">=0.5.12",
|
|
54
54
|
"solid-js": "1.9.12"
|