When the agent exits plan mode (ExitPlanMode), the approval dialog always shows the same static list of mode options (auto, acceptEdits, default) — matching the upstream Claude Code SDK behavior. This is not ideal because the user almost always wants to return to whatever mode they were in before entering plan mode.
If a user was in auto mode and the agent entered plan mode, the most natural primary option on plan approval should be "Yes, continue with auto mode" — not a flat list where every option has equal weight.
Claude Code:

PostHog Code:

When the agent exits plan mode (
ExitPlanMode), the approval dialog always shows the same static list of mode options (auto, acceptEdits, default) — matching the upstream Claude Code SDK behavior. This is not ideal because the user almost always wants to return to whatever mode they were in before entering plan mode.If a user was in auto mode and the agent entered plan mode, the most natural primary option on plan approval should be "Yes, continue with auto mode" — not a flat list where every option has equal weight.
Claude Code:

PostHog Code:
