@openclaw/openshell-sandbox 2026.5.28-beta.2 → 2026.5.28-beta.4
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 +25 -0
- package/dist/index.js +2 -1
- package/npm-shrinkwrap.json +2 -2
- package/openclaw.plugin.json +2 -1
- package/package.json +6 -5
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @openclaw/openshell-sandbox
|
|
2
|
+
|
|
3
|
+
Official NVIDIA OpenShell sandbox backend for OpenClaw.
|
|
4
|
+
|
|
5
|
+
This plugin lets OpenClaw use OpenShell-managed sandboxes with mirrored local workspaces and SSH command execution.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
openclaw plugins install @openclaw/openshell-sandbox
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Restart the Gateway after installing or updating the plugin.
|
|
14
|
+
|
|
15
|
+
## Configure
|
|
16
|
+
|
|
17
|
+
Use the OpenShell docs for credentials, workspace mirroring, runtime selection, and troubleshooting:
|
|
18
|
+
|
|
19
|
+
- https://docs.openclaw.ai/gateway/openshell
|
|
20
|
+
|
|
21
|
+
## Package
|
|
22
|
+
|
|
23
|
+
- Plugin id: `openshell`
|
|
24
|
+
- Package: `@openclaw/openshell-sandbox`
|
|
25
|
+
- Minimum OpenClaw host: `2026.5.12-beta.1`
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import path from "node:path";
|
|
|
5
5
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { buildPluginConfigSchema } from "openclaw/plugin-sdk/core";
|
|
7
7
|
import { formatPluginConfigIssue, mapPluginConfigIssues } from "openclaw/plugin-sdk/extension-shared";
|
|
8
|
+
import { MAX_TIMER_TIMEOUT_SECONDS } from "openclaw/plugin-sdk/number-runtime";
|
|
8
9
|
import { z } from "zod";
|
|
9
10
|
import { root } from "openclaw/plugin-sdk/file-access-runtime";
|
|
10
11
|
import { isPathInside, movePathWithCopyFallback } from "openclaw/plugin-sdk/security-runtime";
|
|
@@ -86,7 +87,7 @@ const OpenShellPluginConfigSchema = z.strictObject({
|
|
|
86
87
|
autoProviders: z.boolean({ error: "autoProviders must be a boolean" }).optional(),
|
|
87
88
|
remoteWorkspaceDir: nonEmptyTrimmedString("remoteWorkspaceDir must be a non-empty string").optional(),
|
|
88
89
|
remoteAgentWorkspaceDir: nonEmptyTrimmedString("remoteAgentWorkspaceDir must be a non-empty string").optional(),
|
|
89
|
-
timeoutSeconds: z.number({ error:
|
|
90
|
+
timeoutSeconds: z.number({ error: `timeoutSeconds must be a number between 1 and ${MAX_TIMER_TIMEOUT_SECONDS}` }).min(1, { error: "timeoutSeconds must be a number >= 1" }).max(MAX_TIMER_TIMEOUT_SECONDS, { error: `timeoutSeconds must be a number <= ${MAX_TIMER_TIMEOUT_SECONDS}` }).optional()
|
|
90
91
|
});
|
|
91
92
|
function isManagedOpenShellRemotePath(value) {
|
|
92
93
|
return OPEN_SHELL_MANAGED_REMOTE_ROOTS.some((root) => value === root || value.startsWith(`${root}/`));
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/openshell-sandbox",
|
|
3
|
-
"version": "2026.5.28-beta.
|
|
3
|
+
"version": "2026.5.28-beta.4",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/openshell-sandbox",
|
|
9
|
-
"version": "2026.5.28-beta.
|
|
9
|
+
"version": "2026.5.28-beta.4",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"zod": "4.4.3"
|
|
12
12
|
}
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/openshell-sandbox",
|
|
3
|
-
"version": "2026.5.28-beta.
|
|
3
|
+
"version": "2026.5.28-beta.4",
|
|
4
4
|
"description": "OpenClaw sandbox backend for the NVIDIA OpenShell CLI with mirrored local workspaces and SSH command execution.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"minHostVersion": ">=2026.5.12-beta.1"
|
|
21
21
|
},
|
|
22
22
|
"compat": {
|
|
23
|
-
"pluginApi": ">=2026.5.28-beta.
|
|
23
|
+
"pluginApi": ">=2026.5.28-beta.4"
|
|
24
24
|
},
|
|
25
25
|
"build": {
|
|
26
|
-
"openclawVersion": "2026.5.28-beta.
|
|
26
|
+
"openclawVersion": "2026.5.28-beta.4",
|
|
27
27
|
"bundledDist": false
|
|
28
28
|
},
|
|
29
29
|
"release": {
|
|
@@ -37,10 +37,11 @@
|
|
|
37
37
|
"files": [
|
|
38
38
|
"dist/**",
|
|
39
39
|
"openclaw.plugin.json",
|
|
40
|
-
"npm-shrinkwrap.json"
|
|
40
|
+
"npm-shrinkwrap.json",
|
|
41
|
+
"README.md"
|
|
41
42
|
],
|
|
42
43
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.5.28-beta.
|
|
44
|
+
"openclaw": ">=2026.5.28-beta.4"
|
|
44
45
|
},
|
|
45
46
|
"peerDependenciesMeta": {
|
|
46
47
|
"openclaw": {
|