The function was comparing the entire ModelSelection (provider, model, options)
via JSON.stringify, but shouldRestartForModelSelectionChange is meant to restart
claudeAgent sessions only when options change. Since both adapters report
sessionModelSwitch: "in-session", model-name-only changes should use the
in-session setModel call, not trigger a full session restart.
Changed the comparison to only look at the options field of ModelSelection.