What
Plan mode is a mode where Claude plans its work for your approval before making changes. Only your main session can enter it, not a subagent (a helper that Claude starts to handle part of a task). Before, a subagent trying to enter plan mode caused an internal error while the EnterPlanMode tool ran. Now the request is checked before it runs and refused with the message "Only the main session can enter plan mode."
Why
The subagent now gets a clean, readable refusal instead of a crash-style error, so it can carry on with its task.
Names in the bundleEnterPlanMode
Documented inclaude-code/agent-sdk/typescript
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear whether subagents can still see the `EnterPlanMode` tool at all.