tui: clarify local shell exec consent prompt
This commit is contained in:
committed by
Peter Steinberger
parent
110b5dafee
commit
dc66527114
@@ -525,6 +525,9 @@ export async function runTui(opts: TuiOptions) {
|
|||||||
|
|
||||||
return await new Promise<boolean>((resolve) => {
|
return await new Promise<boolean>((resolve) => {
|
||||||
chatLog.addSystem("Allow local shell commands for this session?");
|
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.");
|
chatLog.addSystem("Select Yes/No (arrows + Enter), Esc to cancel.");
|
||||||
const selector = createSearchableSelectList(
|
const selector = createSearchableSelectList(
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user