2 Commits

Author SHA1 Message Date
Mathews-Tom ebca062175 fix(coding-agent): expect allowAskReopen in merged tree-summary navigateTree assertions
Upstream's shift+enter summarize-and-switch test file (f33465a97, brought in
by the upstream/main merge) asserts navigateTree's options literally, but
this PR's ask-reanswer flow always passes allowAskReopen: true. Update the
NavigateTree mock type and the four call assertions to match.
2026-07-19 15:15:58 +05:30
can1357 f33465a977 feat(tui): added shift+enter summarize-and-switch to the session tree selector
- Shift+Enter on a tree entry forks with a branch summary directly, skipping
  the summary prompt and ignoring the branchSummary.enabled gate.
- Plain Enter keeps existing behavior: direct switch, with the summary prompt
  only for users who enabled branchSummary.enabled.
- Updated the selector help line and added controller-level regression tests.

Fixes #5152
2026-07-18 21:27:12 +02:00