diff --git a/examples/mcp-browserbase-js/index.ts b/examples/mcp-browserbase-js/index.ts index b220a79..3574cec 100644 --- a/examples/mcp-browserbase-js/index.ts +++ b/examples/mcp-browserbase-js/index.ts @@ -70,9 +70,6 @@ async function runBrowserbaseExample() { await mcpServer.close(); console.log('MCP server closed successfully'); - console.log('Cleaning up sandbox...'); - await sandbox.kill(); - console.log('Sandbox closed successfully'); } // Run the browserbase example diff --git a/examples/mcp-claude-code-js/index.ts b/examples/mcp-claude-code-js/index.ts index e65c83d..b7f3cd4 100644 --- a/examples/mcp-claude-code-js/index.ts +++ b/examples/mcp-claude-code-js/index.ts @@ -61,10 +61,6 @@ async function runClaudeCodeExample() { console.log(`Visit the research results at: http://${webserverUrl}/index.html`); console.log(`The page contains the paper summary and author information`); - // Cleanup - console.log('\nCleaning up sandbox...'); - await sandbox.kill(); - console.log('Sandbox closed successfully'); } // Run the Claude Code example diff --git a/examples/mcp-client-js/index.ts b/examples/mcp-client-js/index.ts index b7ff303..8ca06dd 100644 --- a/examples/mcp-client-js/index.ts +++ b/examples/mcp-client-js/index.ts @@ -58,10 +58,6 @@ async function run() { console.log(`\nTotal tools available: ${tools.tools.length}`); - // Cleanup - console.log('\nCleaning up sandbox...'); - await sandbox.kill(); - console.log('Sandbox closed successfully'); } // Run the example diff --git a/examples/mcp-custom-server-js/index.ts b/examples/mcp-custom-server-js/index.ts index 483310c..15b7d67 100644 --- a/examples/mcp-custom-server-js/index.ts +++ b/examples/mcp-custom-server-js/index.ts @@ -78,10 +78,6 @@ async function run() { }); console.log('Directory contents:', result.content); - // Cleanup - console.log('\nCleaning up sandbox...'); - await sandbox.kill(); - console.log('Sandbox closed successfully'); } // Run the example diff --git a/examples/mcp-custom-template-js/index.ts b/examples/mcp-custom-template-js/index.ts index fdfc1a6..03fc896 100644 --- a/examples/mcp-custom-template-js/index.ts +++ b/examples/mcp-custom-template-js/index.ts @@ -66,10 +66,6 @@ async function runSandboxExample() { console.log(`\nTotal tools available: ${tools.tools.length}`); - // Cleanup - console.log('\nCleaning up sandbox...'); - await sandbox.kill(); - console.log('Sandbox closed successfully'); } runSandboxExample().catch((error) => { diff --git a/examples/mcp-groq-exa-js/index.ts b/examples/mcp-groq-exa-js/index.ts index a023f47..4d3bcef 100644 --- a/examples/mcp-groq-exa-js/index.ts +++ b/examples/mcp-groq-exa-js/index.ts @@ -46,10 +46,6 @@ async function runGroqExaExample() { console.log('\nResearch Results:'); console.log(response.output_text); - // Cleanup - console.log('\nCleaning up sandbox...'); - await sandbox.kill(); - console.log('Sandbox closed successfully'); } // Run the Groq Exa example diff --git a/examples/mcp-research-agent-js/index.ts b/examples/mcp-research-agent-js/index.ts index 234f36f..9a6ce8d 100644 --- a/examples/mcp-research-agent-js/index.ts +++ b/examples/mcp-research-agent-js/index.ts @@ -68,9 +68,6 @@ async function runResearchAgent() { await mcpServer.close(); console.log('MCP server closed successfully'); - console.log('Cleaning up sandbox...'); - await sandbox.kill(); - console.log('Sandbox closed successfully'); } // Run the research agent