opencode-landstrip 0.19.19 → 0.19.20
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/index.ts +1 -2
- package/package.json +2 -2
package/index.ts
CHANGED
|
@@ -335,7 +335,7 @@ function buildWrappedCommand(
|
|
|
335
335
|
trapPort: number | null,
|
|
336
336
|
sessionID?: string,
|
|
337
337
|
): string {
|
|
338
|
-
const baseArgs = ['
|
|
338
|
+
const baseArgs = ['-p', policyPath, '--', ...shellArgs(shell, command)];
|
|
339
339
|
const plain = [landstripBinaryPath(), ...baseArgs].map(shellQuote).join(' ');
|
|
340
340
|
if (trapPort === null) return plain;
|
|
341
341
|
|
|
@@ -345,7 +345,6 @@ function buildWrappedCommand(
|
|
|
345
345
|
// without invoking landstrip, while every started command runs exactly once.
|
|
346
346
|
const trapped = [
|
|
347
347
|
landstripBinaryPath(),
|
|
348
|
-
'run',
|
|
349
348
|
'--trap',
|
|
350
349
|
'3',
|
|
351
350
|
'-p',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-landstrip",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.20",
|
|
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.20",
|
|
52
52
|
"@opentui/core": ">=0.5.12",
|
|
53
53
|
"@opentui/solid": ">=0.5.12",
|
|
54
54
|
"solid-js": "1.9.12"
|