WebviewRunner instance to use for execution.
VS Code webview API for posting messages.
Method to send messages to extension.
OptionalmutableServiceManager: { updateToPyodide: (url?: string) => void }Optional service manager for runtime switching.
Method to switch to Pyodide runtime.
Cleanup function to remove the listener.
Sets up tool execution message listener for webview. Listens for "tool-execution" messages from the extension and executes them via the runner.