OptionalactivateActivate a task pane by key (e.g. dataValidationDetails). Threaded from the bridge's
useTaskPaneArea() — sheet commands that open a side pane (data validation, table details) can't
reach the task-pane area themselves (it lives deeper in the tree). No-op if omitted.
OptionaleditEdit-mode handler — insert-cells reads the copy/cut mode; image clears it. From useEditMode().
OptionalglobalGlobal clipboard — insert-cells reads a copied range reference to "insert copied cells".
OptionalmanagerUndo manager the sheet records into — enables F4 / redo-as-repeat (see the transactional middleware).
OptionalnotifierBusy + error UI for the transactional middleware.
OptionalpickerPersistent last-used values for the style pickers (color quick swatch + border) + memory. From the bridge's usePersistentState.
OptionaltaskThe read side of the same task-pane area activateTaskPane writes to — which pane is showing,
plus the subscription that says when that changed. A command whose state is "my pane is the one
on screen" (editTable) needs both; opening one only needs the writer above. Threaded from the
bridge's useTaskPaneArea(); omitted ⇒ those commands carry no state.
OptionalviewportThe sheet's scroll controller — the cell area's client size, which Zoom to Selection fits the selection into. The model has no viewport size, so it cannot do this itself. Omitted ⇒ the command is a no-op (a bare grid).
Options for contributeSheetCommands.