Skip to content

fix: change subagent navigation order to newest-to-oldest#5680

Merged
rekram1-node merged 1 commit intoanomalyco:devfrom
RhysSullivan:rhys/fix-subagent-navigation-order
Dec 17, 2025
Merged

fix: change subagent navigation order to newest-to-oldest#5680
rekram1-node merged 1 commit intoanomalyco:devfrom
RhysSullivan:rhys/fix-subagent-navigation-order

Conversation

@RhysSullivan
Copy link
Contributor

@RhysSullivan RhysSullivan commented Dec 17, 2025

Summary

When a subagent spawns and you want to navigate to it to view it's progress, the natural intuition is to go to "the next subagent" at least for me - this ends up in me going to the oldest subagent which feels weird

Swaps the ordering so newest is first, and also removes localCompare as it's not needed for the ID comparison

@rekram1-node rekram1-node merged commit 1b39199 into anomalyco:dev Dec 17, 2025
3 checks passed
terakael pushed a commit to terakael/opencode that referenced this pull request Dec 23, 2025
- Add [current/total] indicator in session header to show position among siblings
- Extract sibling-finding logic into sync.session.siblings() helper
- Use descending sort (chronological order: main, sub1, sub2, ...)
- Navigation: shift-right goes main → sub1 → sub2 → main
- Display: main shows [1/N], first subagent [2/N], etc.

This reverts the navigation order change from PR anomalyco#5680 (commit 1b39199)
which had reversed subagent navigation to newest-to-oldest. The original
chronological ordering is more intuitive for tracking subagent hierarchy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments