feat(tui): go to parent keybind for subagents (#5762)

This commit is contained in:
Rohan Godha
2025-12-22 14:50:45 -06:00
committed by GitHub
parent e015bea462
commit 25f1643e8e
5 changed files with 30 additions and 0 deletions
@@ -870,6 +870,23 @@ export function Session() {
dialog.clear()
},
},
{
title: "Go to parent session",
value: "session.parent",
keybind: "session_parent",
category: "Session",
disabled: true,
onSelect: (dialog) => {
const parentID = session()?.parentID
if (parentID) {
navigate({
type: "session",
sessionID: parentID,
})
}
dialog.clear()
},
},
])
const revertInfo = createMemo(() => session()?.revert)