This is caused by enabling an updated terminal implementation in 2025.1 EAPs. Please avoid casting to ShellTerminalWidget with ShellTerminalWidget.toShellJediTermWidgetOrThrow(terminalWidget). Instead, please use com.intellij.terminal.ui.TerminalWidget directly. Is there any API missing for you?