opencode-landstrip 0.17.4 → 0.17.6
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 -1
- package/package.json +3 -3
- package/shared.ts +7 -1
package/index.ts
CHANGED
|
@@ -1016,7 +1016,7 @@ const plugin: Plugin = async ({ client, directory }: PluginInput, options?: Plug
|
|
|
1016
1016
|
if (!config.enabled) {
|
|
1017
1017
|
await notifyOnce(
|
|
1018
1018
|
`not-configured:${directory}`,
|
|
1019
|
-
'Sandbox is
|
|
1019
|
+
'Sandbox is disabled by configuration',
|
|
1020
1020
|
'info',
|
|
1021
1021
|
);
|
|
1022
1022
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-landstrip",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.6",
|
|
4
4
|
"description": "Landlock-based sandboxing for opencode with landstrip",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"landlock",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"ci:test": "npm test"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@landstrip/landstrip": "^0.17.
|
|
51
|
+
"@landstrip/landstrip": "^0.17.6",
|
|
52
|
+
"@opentui/solid": ">=0.3.4"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
55
|
"@opencode-ai/plugin": "^1.17.7",
|
|
55
56
|
"@opentui/core": ">=0.3.4",
|
|
56
57
|
"@opentui/keymap": ">=0.3.4",
|
|
57
|
-
"@opentui/solid": ">=0.3.4",
|
|
58
58
|
"@types/node": "^24.0.0",
|
|
59
59
|
"oxfmt": "^0.53.0",
|
|
60
60
|
"oxlint": "^1.68.0",
|
package/shared.ts
CHANGED
|
@@ -611,10 +611,16 @@ export function sandboxSummary(
|
|
|
611
611
|
const denyWrite = list(config.filesystem.denyWrite);
|
|
612
612
|
|
|
613
613
|
const status = statusOverride ?? (config.enabled ? 'active' : 'disabled by config');
|
|
614
|
+
let binary: string;
|
|
615
|
+
try {
|
|
616
|
+
binary = landstripBinaryPath();
|
|
617
|
+
} catch {
|
|
618
|
+
binary = '(unavailable)';
|
|
619
|
+
}
|
|
614
620
|
|
|
615
621
|
return [
|
|
616
622
|
`Status: ${status}`,
|
|
617
|
-
`landstrip package binary: ${
|
|
623
|
+
`landstrip package binary: ${binary}`,
|
|
618
624
|
'',
|
|
619
625
|
'Config files',
|
|
620
626
|
`${projectPath} ${existsSync(projectPath) ? '(found)' : '(missing)'}`,
|