Enter to send·Shift+Enter new line
mode: ExtensionMode
Runtime mode, either interactive or headless.
interactive
headless