@toolsdk.ai/registry 1.0.117 → 1.0.118
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.
|
@@ -49,6 +49,7 @@ export class SandockSandboxClient {
|
|
|
49
49
|
body: {
|
|
50
50
|
image: "seey/sandock-mcp:latest",
|
|
51
51
|
workdir: "/mcpspace",
|
|
52
|
+
usePersistentCache: true,
|
|
52
53
|
},
|
|
53
54
|
});
|
|
54
55
|
if (error) {
|
|
@@ -107,7 +108,8 @@ export class SandockSandboxClient {
|
|
|
107
108
|
content: code,
|
|
108
109
|
},
|
|
109
110
|
});
|
|
110
|
-
|
|
111
|
+
// Set custom pnpm store directory (volume-mounted cache directory) before executing code
|
|
112
|
+
const output = await this.executeShellCommand(`cd /mcpspace && pnpm config set store-dir /data/pnpm-store && node ${tempFile}`);
|
|
111
113
|
// Fire-and-forget: cleanup temp file in background without blocking result return
|
|
112
114
|
// The cleanup will complete asynchronously, and logs will appear when it does
|
|
113
115
|
this.cleanupTempFileAsync(tempFile, this.sandboxId).catch((err) => {
|