tui: clarify local shell exec consent prompt

This commit is contained in:
Vignesh Natarajan authored and Peter Steinberger committed 2026-01-22 23:26:01 +00:00
1 parent 110b5dafee
commit dc66527114
1 file changed
+3
+3
View File
@@ -525,6 +525,9 @@ export async function runTui(opts: TuiOptions) {
return await new Promise<boolean>((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(
[