From dc66527114df330c6b387a6bdb9acf85e10bd2e7 Mon Sep 17 00:00:00 2001 From: Vignesh Natarajan Date: Thu, 22 Jan 2026 11:57:44 -0800 Subject: [PATCH] tui: clarify local shell exec consent prompt --- src/tui/tui.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tui/tui.ts b/src/tui/tui.ts index 95c444981..9ea188f7a 100644 --- a/src/tui/tui.ts +++ b/src/tui/tui.ts @@ -525,6 +525,9 @@ export async function runTui(opts: TuiOptions) { return await new Promise((resolve) => { chatLog.addSystem("Allow local shell commands for this session?"); + chatLog.addSystem( + "This runs commands on YOUR machine (not the gateway) and may delete files or reveal secrets.", + ); chatLog.addSystem("Select Yes/No (arrows + Enter), Esc to cancel."); const selector = createSearchableSelectList( [