Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-08T03:38:14Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-08 03:38:14 +00:00
1 parent a5a8d628af
commit f445da7eb0
1 file changed
+5 -5
+5 -5
View File
@@ -530,6 +530,11 @@ export class MCPServerManager extends EventEmitter {
* Wait for server to be ready
*/
private async waitForReady(timeout = 10000): Promise<void> {
// For stdio transport, we're ready immediately (in-process)
if (this.options.transport === 'stdio') {
return;
}
const startTime = Date.now();
while (Date.now() - startTime < timeout) {
@@ -540,11 +545,6 @@ export class MCPServerManager extends EventEmitter {
await this.sleep(100);
}
// For stdio, just check if process is running
if (this.options.transport === 'stdio' && this.process && !this.process.killed) {
return;
}
throw new Error('Server failed to start within timeout');
}