Skip to content

Commit a497bf4

Browse files
committed
feat: Add e2b sandbox tools and update dependencies
- Introduced new tools for e2b sandbox functionality: - createSandbox: Create a new e2b sandbox with custom metadata and environment variables. - runCode: Execute code within an e2b sandbox, supporting multiple languages. - readFile: Read a file from the e2b sandbox. - writeFile: Write a single file to the e2b sandbox. - writeFiles: Write multiple files to the e2b sandbox. - listFiles: List files and directories in a specified path within the e2b sandbox. - deleteFile: Delete a file or directory from the e2b sandbox. - createDirectory: Create a directory in the e2b sandbox. - getFileInfo: Retrieve detailed information about a file or directory in the e2b sandbox. - checkFileExists: Check if a file or directory exists in the e2b sandbox. - getFileSize: Get the size of a file or directory in the e2b sandbox. - watchDirectory: Monitor a directory for file system changes in the e2b sandbox. - runCommand: Execute a shell command in the e2b sandbox. - Updated package.json and package-lock.json to include new dependencies: - Added "@e2b/code-interpreter": "^2.3.3".
1 parent 1a2bf76 commit a497bf4

3 files changed

Lines changed: 666 additions & 1 deletion

File tree

package-lock.json

Lines changed: 145 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"@ai-sdk/openai-compatible": "^2.0.2",
4949
"@ai-sdk/react": "^3.0.7",
5050
"@dotenvx/dotenvx": "^1.51.4",
51+
"@e2b/code-interpreter": "^2.3.3",
5152
"@emotion/react": "^11.14.0",
5253
"@mastra/ai-sdk": "^1.0.0-beta.12",
5354
"@mastra/auth-supabase": "^1.0.0-beta.1",
@@ -226,4 +227,4 @@
226227
"qs": "^6.14.1",
227228
"eslint": "^9.39.2"
228229
}
229-
}
230+
}

0 commit comments

Comments
 (0)