Spaces:
Running
Running
Commit
·
1bacf17
1
Parent(s):
18d717e
refactor: remove detailed session logging from MCP sandbox start function
Browse files- lib/mcp-sandbox.ts +0 -7
lib/mcp-sandbox.ts
CHANGED
@@ -81,13 +81,6 @@ export const startMcpSandbox = async ({
|
|
81 |
throw new Error(`MCP server failed to start with exit code ${mcpServer.exitCode}`);
|
82 |
}
|
83 |
|
84 |
-
// Log detailed session information
|
85 |
-
const session = await sandbox.process.getSession(sessionId);
|
86 |
-
console.log(`Session ${sessionId}:`);
|
87 |
-
for (const command of session.commands || []) {
|
88 |
-
console.log(`Command: ${command.command}, Exit Code: ${command.exitCode}`);
|
89 |
-
}
|
90 |
-
|
91 |
console.log("MCP server started at:", url + "/sse");
|
92 |
return new McpSandbox(sandbox, sessionId);
|
93 |
} catch (error) {
|
|
|
81 |
throw new Error(`MCP server failed to start with exit code ${mcpServer.exitCode}`);
|
82 |
}
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
console.log("MCP server started at:", url + "/sse");
|
85 |
return new McpSandbox(sandbox, sessionId);
|
86 |
} catch (error) {
|