ConstThe editor no longer needs a pushed-in IScriptEditor.Context: it reads the live workbook via useWorkbook
(ranges/scripts), executes the workbook insertFunction command for the fx picker, and listens to the
workbook's own onBeforeSave to flush its source. So this component contributes plain callbacks — no context
marshalling.
showScriptEditor defers to a registered ScriptEditorOpener when present (e.g. the VS Code
host opens a native editor); otherwise it toggles the in-app scriptEditor task pane.
Wires the workbook-level scripting commands' behavior —
executeScript(run a macro) andshowScriptEditor(toggle the task pane) — onto the per-workbookworkbookscope, and starts the script engine on workbook load.