feat(tui): add /detach command (#5461)

* feat(tui): add detach command

* fix(tui): print exact detached gateway stop command
This commit is contained in:
chengyongru authored and GitHub committed 2026-08-21 15:50:07 +08:00
1 parent 5b44ebdfd7
commit 26764f2423
9 files changed
+163 -9

No files matched your search

+8 -1
View File
@@ -5,7 +5,14 @@ import { PickerMenu, type PickerMenuTheme } from "./picker-menu"
export type CommandMenuTheme = PickerMenuTheme
export type TuiCommandAction = "sessions" | "new-chat" | "context" | "diff" | "branch" | "exit"
export type TuiCommandAction =
| "sessions"
| "new-chat"
| "context"
| "diff"
| "branch"
| "detach"
| "exit"
export interface TuiCommand {
command: string