diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 40ed969a82..ef5039acad 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -2621,6 +2621,7 @@ export class Config implements McpContext { } isInteractiveShellEnabled(): boolean { + if (this.isForeverMode) return false; return ( this.interactive && this.ptyInfo !== 'child_process' &&