Skip to content

Commit 3c6a013

Browse files
committed
remove sandbox kill
1 parent bdeab7c commit 3c6a013

File tree

7 files changed

+0
-26
lines changed

7 files changed

+0
-26
lines changed

examples/mcp-browserbase-js/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ async function runBrowserbaseExample() {
7070
await mcpServer.close();
7171
console.log('MCP server closed successfully');
7272

73-
console.log('Cleaning up sandbox...');
74-
await sandbox.kill();
75-
console.log('Sandbox closed successfully');
7673
}
7774

7875
// Run the browserbase example

examples/mcp-claude-code-js/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ async function runClaudeCodeExample() {
6161
console.log(`Visit the research results at: http://${webserverUrl}/index.html`);
6262
console.log(`The page contains the paper summary and author information`);
6363

64-
// Cleanup
65-
console.log('\nCleaning up sandbox...');
66-
await sandbox.kill();
67-
console.log('Sandbox closed successfully');
6864
}
6965

7066
// Run the Claude Code example

examples/mcp-client-js/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ async function run() {
5858

5959
console.log(`\nTotal tools available: ${tools.tools.length}`);
6060

61-
// Cleanup
62-
console.log('\nCleaning up sandbox...');
63-
await sandbox.kill();
64-
console.log('Sandbox closed successfully');
6561
}
6662

6763
// Run the example

examples/mcp-custom-server-js/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ async function run() {
7878
});
7979
console.log('Directory contents:', result.content);
8080

81-
// Cleanup
82-
console.log('\nCleaning up sandbox...');
83-
await sandbox.kill();
84-
console.log('Sandbox closed successfully');
8581
}
8682

8783
// Run the example

examples/mcp-custom-template-js/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ async function runSandboxExample() {
6666

6767
console.log(`\nTotal tools available: ${tools.tools.length}`);
6868

69-
// Cleanup
70-
console.log('\nCleaning up sandbox...');
71-
await sandbox.kill();
72-
console.log('Sandbox closed successfully');
7369
}
7470

7571
runSandboxExample().catch((error) => {

examples/mcp-groq-exa-js/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ async function runGroqExaExample() {
4646
console.log('\nResearch Results:');
4747
console.log(response.output_text);
4848

49-
// Cleanup
50-
console.log('\nCleaning up sandbox...');
51-
await sandbox.kill();
52-
console.log('Sandbox closed successfully');
5349
}
5450

5551
// Run the Groq Exa example

examples/mcp-research-agent-js/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ async function runResearchAgent() {
6868
await mcpServer.close();
6969
console.log('MCP server closed successfully');
7070

71-
console.log('Cleaning up sandbox...');
72-
await sandbox.kill();
73-
console.log('Sandbox closed successfully');
7471
}
7572

7673
// Run the research agent

0 commit comments

Comments
 (0)