ExperimentalReturns the extra CLI arguments to append when starting a remote backend for the current window. Implementations should return an empty array when they have nothing to contribute (e.g. for a regular cold-start window whose args are already applied by the shared backend).
Re-applies
--session-preferencevalues on a remote backend that is started for a forwarded (second-instance) window.The shared local backend only knows the preferences of the original cold-start launch, so its
RemoteCliContribution#enhanceArgscannot supply the right values for a window opened by a later launch. This frontend contribution reads the session preferences forwarded to the current window (provided by the trusted main process) and formats them as CLI arguments for the remote backend.