From 9b2fd57e6e0f1fbc7ab803836b3f8ff3cf825888 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sun, 8 Feb 2026 18:44:23 -0500 Subject: [PATCH] tui: remove hardcoded handoff from autocomplete --- .../cli/cmd/tui/component/prompt/autocomplete.tsx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx index 05fd6d143d..42cf82b421 100644 --- a/packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx @@ -355,18 +355,6 @@ export function Autocomplete(props: { const commands = createMemo((): AutocompleteOption[] => { const results: AutocompleteOption[] = [...command.slashes()] - results.push({ - display: "/handoff", - description: "Handoff to another context with a goal", - onSelect: () => { - const newText = "/handoff " - const cursor = props.input().logicalCursor - props.input().deleteRange(0, 0, cursor.row, cursor.col) - props.input().insertText(newText) - props.input().cursorOffset = Bun.stringWidth(newText) - }, - }) - for (const serverCommand of sync.data.command) { if (serverCommand.source === "skill") continue const label = serverCommand.source === "mcp" ? ":mcp" : ""