From bd6ac796567033f4efb490ae4c8dc61eda0e6479 Mon Sep 17 00:00:00 2001 From: David Hill Date: Thu, 12 Mar 2026 17:22:36 +0000 Subject: [PATCH] tui: remove shell/normal mode toggle from prompt input Users no longer need to manually switch between shell and normal modes as the agent now automatically determines the appropriate mode based on context. --- packages/app/src/components/prompt-input.tsx | 31 -------------------- 1 file changed, 31 deletions(-) diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index e129b499ae1..af9c7530f1a 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -26,7 +26,6 @@ import { ProviderIcon } from "@opencode-ai/ui/provider-icon" import { Tooltip, TooltipKeybind } from "@opencode-ai/ui/tooltip" import { IconButton } from "@opencode-ai/ui/icon-button" import { Select } from "@opencode-ai/ui/select" -import { RadioGroup } from "@opencode-ai/ui/radio-group" import { useDialog } from "@opencode-ai/ui/context/dialog" import { ModelSelectorPopover } from "@/components/dialog-select-model" import { DialogSelectModelUnpaid } from "@/components/dialog-select-model-unpaid" @@ -1488,36 +1487,6 @@ export const PromptInput: Component = (props) => { -
- mode} - label={(mode) => ( - - - - )} - onSelect={(mode) => mode && setMode(mode)} - fill - pad="none" - class="w-[68px]" - /> -