changeKind
plan-mode-enter
fromMode
default
toMode
plan
scope
session
requiresUserApproval
true
invalidatesCaches
description
Model-initiated plan-mode entry — destination=session means the change
survives the tool's turn and only restores via ExitPlanMode (or session
end). prePlanMode is captured as the previous mode for restore.