Are files written into the sandbox with createBashTool?

This post might have stale content, as HEAD is 6 commits ahead.

if i do import { Sandbox } from "@vercel/sandbox";

const sandbox = await Sandbox.create(); // Files are written to ./workspace by default const { tools } = await createBashTool({ sandbox, files: { "index.ts": "console.log('hello');" }, });

are those files (index.ts) written into the sandbox? what if they're already there?

Avatar of julianbenegas
Julian Benegas
commented

what about Skills? how do they relate to vercel sandbox with bash-tool?

Avatar of julianbenegas
Julian Benegas
commented

when you say

Scans skillsDirectory for subdirectories containing SKILL.md files (discoverSkills).

are these subdirs in the sandbox? or in the application server?


END OF POST

Are files written into the sandbox with createBashTool? — vercel-labs/bash-tool