diff --git a/packages/tui/src/config/v1/keybind.ts b/packages/tui/src/config/v1/keybind.ts index 9787f9ad5d..b75c2d06a5 100644 --- a/packages/tui/src/config/v1/keybind.ts +++ b/packages/tui/src/config/v1/keybind.ts @@ -105,8 +105,6 @@ export const Definitions = { session_compact: keybind("c", "Compact the session"), session_queued_prompts: keybind("q", "View pending work"), session_child_first: keybind("down", "Toggle subagent picker"), - session_child_cycle: keybind("right", "Go to next child session"), - session_child_cycle_reverse: keybind("left", "Go to previous child session"), session_parent: keybind("up", "Go to parent session"), session_pin_toggle: keybind("ctrl+f", "Pin or unpin session in the session list"), session_quick_switch_1: keybind("1", "Switch to session in quick slot 1"), @@ -308,8 +306,6 @@ export const CommandMap = { session_compact: "session.compact", session_queued_prompts: "session.queued_prompts", session_child_first: "session.child.first", - session_child_cycle: "session.child.next", - session_child_cycle_reverse: "session.child.previous", session_parent: "session.parent", session_pin_toggle: "session.pin.toggle", session_quick_switch_1: "session.quick_switch.1", diff --git a/packages/tui/src/routes/session/index.tsx b/packages/tui/src/routes/session/index.tsx index 32bc3a35ed..e9767e669f 100644 --- a/packages/tui/src/routes/session/index.tsx +++ b/packages/tui/src/routes/session/index.tsx @@ -887,22 +887,6 @@ export function Session() { dialog.clear() }, }, - { - title: "Next subagent", - id: "session.child.next", - group: "Session", - palette: undefined, - enabled: !!session()?.parentID, - run: () => unavailable("Subagent navigation"), - }, - { - title: "Previous subagent", - id: "session.child.previous", - group: "Session", - palette: undefined, - enabled: !!session()?.parentID, - run: () => unavailable("Subagent navigation"), - }, ]) const commands = createMemo(() => diff --git a/packages/tui/test/keymap.test.tsx b/packages/tui/test/keymap.test.tsx index e6f2c3fc5c..11141ddf10 100644 --- a/packages/tui/test/keymap.test.tsx +++ b/packages/tui/test/keymap.test.tsx @@ -46,7 +46,7 @@ test("legacy page key aliases compile as page keys", async () => { test("formats navigation keys as arrows", async () => { let read = () => ({}) as Record - const commands = ["session.parent", "session.child.first", "session.child.previous", "session.child.next"] + const commands = ["session.parent", "session.child.first"] function Harness() { const shortcuts = Keymap.useShortcuts() @@ -68,8 +68,6 @@ test("formats navigation keys as arrows", async () => { expect(read()).toEqual({ "session.parent": "↑", "session.child.first": "↓", - "session.child.previous": "←", - "session.child.next": "→", }) } finally { app.renderer.destroy()