diff --git a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-handle-security-warning-height-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-handle-security-warning-height-correctly.snap.svg
index 70bd4548f5..8e57fe107e 100644
--- a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-handle-security-warning-height-correctly.snap.svg
+++ b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-handle-security-warning-height-correctly.snap.svg
@@ -4,110 +4,110 @@
- ╭──────────────────────────────────────────────────────────────────────────────╮
- │
+ ╭──────────────────────────────────────────────────────────────────────────────╮
+ │
? Shell
Executes a bash command with a deceptive URL
- 3 of 3
- │
- │
- ... 6 hidden (Ctrl+O) ...
- │
- │
- │
+ 3 of 3
+ │
+ │
+ ... 6 hidden (Ctrl+O) ...
+ │
+ │
+ │
echo
- "Line 45"
- │
- │
- │
- │
+ "Line 44"
+ │
+ │
+ │
+ │
echo
- "Line 46"
- │
- │
- │
- │
+ "Line 45"
+ │
+ │
+ │
+ │
echo
- "Line 47"
- │
- │
- │
- │
+ "Line 46"
+ │
+ │
+ │
+ │
echo
- "Line 48"
- │
- │
- │
- │
+ "Line 47"
+ │
+ │
+ │
+ │
echo
- "Line 49"
- │
- │
- │
- │
+ "Line 48"
+ │
+ │
+ │
+ │
echo
- "Line 50"
- │
- │
- │
- │
- curl https://täst.com
- │
- │
- │
- ╰──────────────────────────────────────────────────────────────────────────╯
- │
- │
- │
- │
- ⚠
- Warning:
- Deceptive URL(s) detected:
- │
- │
- │
- │
- Original:
- https://täst.com/
- │
- │
- Actual Host (Punycode):
- https://xn--tst-qla.com/
- │
- │
- │
- │
- Allow execution of
- [echo]
- ?
- │
- │
- │
- │
-
- ●
-
-
- 1.
-
-
- Allow once
-
- │
- │
- 2.
- Allow for this session
- │
- │
- 3.
- Allow this command for all future sessions
- ~/.gemini/policies/auto-sav
- …
- │
- │
- 4.
+ "Line 49"
+ │
+ │
+ │
+ │
+ echo
+ "Line 50"
+ │
+ │
+ │
+ │
+ curl https://täst.com
+ │
+ │
+ │
+ ╰──────────────────────────────────────────────────────────────────────────╯
+ │
+ │
+ │
+ │
+ ⚠
+ Warning:
+ Deceptive URL(s) detected:
+ │
+ │
+ │
+ │
+ Original:
+ https://täst.com/
+ │
+ │
+ Actual Host (Punycode):
+ https://xn--tst-qla.com/
+ │
+ │
+ │
+ │
+ Allow execution of
+ [echo]
+ ?
+ │
+ │
+ │
+ │
+
+ ●
+
+
+ 1.
+
+
+ Allow once
+
+ │
+ │
+ 2.
+ Allow for this session
+ │
+ │
+ 3.
No, suggest changes (esc)
- │
- ╰──────────────────────────────────────────────────────────────────────────────╯
+ │
+ ╰──────────────────────────────────────────────────────────────────────────────╯
\ No newline at end of file
diff --git a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-edit-diffs.snap.svg b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-edit-diffs.snap.svg
index c192a63c85..a257a1253c 100644
--- a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-edit-diffs.snap.svg
+++ b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-edit-diffs.snap.svg
@@ -4,528 +4,541 @@
- ╭──────────────────────────────────────────────────────────────────────────────╮
- │
+ ╭──────────────────────────────────────────────────────────────────────────────╮
+ │
? replace
Replaces content in a file
- │
- │
- ╭──────────────────────────────────────────────────────────────────────────╮
- │
- │
- │
- ... 14 hidden (Ctrl+O) ...
- │
- │
- │
- │
-
-
- 8
-
-
- -
-
-
+ │
+ │
+ ╭──────────────────────────────────────────────────────────────────────────╮
+ │
+ │
+ │
+ ... 13 hidden (Ctrl+O) ...
+ │
+ │
+ │
+ │
+
+
+ 7
+
+
+ +
+
+
const
-
- oldLine8 =
-
+
+ newLine7 =
+
true
-
+
;
- │
- │
- │
- │
-
-
- 8
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+
+ 8
+
+
+ -
+
+
const
-
- newLine8 =
-
+
+ oldLine8 =
+
true
-
+
;
- │
- │
- │
- │
-
-
- 9
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+
+ 8
+
+
+ +
+
+
const
-
- oldLine9 =
-
+
+ newLine8 =
+
true
-
+
;
- │
- │
- │
- │
-
-
- 9
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+
+ 9
+
+
+ -
+
+
const
-
- newLine9 =
-
+
+ oldLine9 =
+
true
-
+
;
- │
- │
- │
- │
-
- 10
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+
+ 9
+
+
+ +
+
+
const
-
- oldLine10 =
-
- true
-
- ;
- │
- │
- │
- │
-
- 10
-
-
- +
-
-
+
+ newLine9 =
+
+ true
+
+ ;
+ │
+ │
+ │
+ │
+
+ 10
+
+
+ -
+
+
const
-
- newLine10 =
-
+
+ oldLine10 =
+
true
-
+
;
- │
- │
- │
- │
-
- 11
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 10
+
+
+ +
+
+
const
-
- oldLine11 =
-
+
+ newLine10 =
+
true
-
+
;
- │
- │
- │
- │
-
- 11
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 11
+
+
+ -
+
+
const
-
- newLine11 =
-
+
+ oldLine11 =
+
true
-
+
;
- │
- │
- │
- │
-
- 12
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 11
+
+
+ +
+
+
const
-
- oldLine12 =
-
+
+ newLine11 =
+
true
-
+
;
- │
- │
- │
- │
-
- 12
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 12
+
+
+ -
+
+
const
-
- newLine12 =
-
+
+ oldLine12 =
+
true
-
+
;
- │
- │
- │
- │
-
- 13
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 12
+
+
+ +
+
+
const
-
- oldLine13 =
-
+
+ newLine12 =
+
true
-
+
;
- │
- │
- │
- │
-
- 13
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 13
+
+
+ -
+
+
const
-
- newLine13 =
-
+
+ oldLine13 =
+
true
-
+
;
- │
- │
- │
- │
-
- 14
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 13
+
+
+ +
+
+
const
-
- oldLine14 =
-
+
+ newLine13 =
+
true
-
+
;
- │
- │
- │
- │
-
- 14
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 14
+
+
+ -
+
+
const
-
- newLine14 =
-
+
+ oldLine14 =
+
true
-
+
;
- │
- │
- │
- │
-
- 15
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 14
+
+
+ +
+
+
const
-
- oldLine15 =
-
+
+ newLine14 =
+
true
-
+
;
- │
- │
- │
- │
-
- 15
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 15
+
+
+ -
+
+
const
-
- newLine15 =
-
+
+ oldLine15 =
+
true
-
+
;
- │
- │
- │
- │
-
- 16
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 15
+
+
+ +
+
+
const
-
- oldLine16 =
-
+
+ newLine15 =
+
true
-
+
;
- │
- │
- │
- │
-
- 16
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 16
+
+
+ -
+
+
const
-
- newLine16 =
-
+
+ oldLine16 =
+
true
-
+
;
- │
- │
- │
- │
-
- 17
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 16
+
+
+ +
+
+
const
-
- oldLine17 =
-
+
+ newLine16 =
+
true
-
+
;
- │
- │
- │
- │
-
- 17
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 17
+
+
+ -
+
+
const
-
- newLine17 =
-
+
+ oldLine17 =
+
true
-
+
;
- │
- │
- │
- │
-
- 18
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 17
+
+
+ +
+
+
const
-
- oldLine18 =
-
+
+ newLine17 =
+
true
-
+
;
- │
- │
- │
- │
-
- 18
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 18
+
+
+ -
+
+
const
-
- newLine18 =
-
+
+ oldLine18 =
+
true
-
+
;
- │
- │
- │
- │
-
- 19
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 18
+
+
+ +
+
+
const
-
- oldLine19 =
-
+
+ newLine18 =
+
true
-
+
;
- │
- │
- │
- │
-
- 19
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 19
+
+
+ -
+
+
const
-
- newLine19 =
-
+
+ oldLine19 =
+
true
-
+
;
- │
- │
- │
- │
-
- 20
-
-
- -
-
-
+ │
+ │
+ │
+ │
+
+ 19
+
+
+ +
+
+
const
-
- oldLine20 =
-
+
+ newLine19 =
+
true
-
+
;
- │
- │
- │
- │
-
- 20
-
-
- +
-
-
+ │
+ │
+ │
+ │
+
+ 20
+
+
+ -
+
+
const
-
- newLine20 =
-
+
+ oldLine20 =
+
true
-
+
;
- │
- │
- │
- ╰──────────────────────────────────────────────────────────────────────────╯
- │
- │
- Apply this change?
- │
- │
- │
- │
-
- ●
-
-
- 1.
-
-
- Allow once
-
- │
- │
- 2.
- Allow for this session
- │
- │
- 3.
- Allow for this file in all future sessions
- ~/.gemini/policies/auto-sav
- …
- │
- │
- 4.
+ │
+ │
+ │
+ │
+
+ 20
+
+
+ +
+
+
+ const
+
+ newLine20 =
+
+ true
+
+ ;
+ │
+ │
+ │
+ ╰──────────────────────────────────────────────────────────────────────────╯
+ │
+ │
+ Apply this change?
+ │
+ │
+ │
+ │
+
+ ●
+
+
+ 1.
+
+
+ Allow once
+
+ │
+ │
+ 2.
+ Allow for this session
+ │
+ │
+ 3.
Modify with external editor
- │
- │
- 5.
+ │
+ │
+ 4.
No, suggest changes (esc)
- │
- ╰──────────────────────────────────────────────────────────────────────────────╯
+ │
+ ╰──────────────────────────────────────────────────────────────────────────────╯
\ No newline at end of file
diff --git a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-exec-commands.snap.svg b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-exec-commands.snap.svg
index 7838dc9163..3f2d8451a8 100644
--- a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-exec-commands.snap.svg
+++ b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-exec-commands.snap.svg
@@ -4,217 +4,217 @@
- ╭──────────────────────────────────────────────────────────────────────────────╮
- │
+ ╭──────────────────────────────────────────────────────────────────────────────╮
+ │
? Shell
Executes a bash command
- 2 of 3
- │
- │
- ╭──────────────────────────────────────────────────────────────────────────╮
- │
- │
- │
- ... 23 hidden (Ctrl+O) ...
- │
- │
- │
- │
+ 2 of 3
+ │
+ │
+ ╭──────────────────────────────────────────────────────────────────────────╮
+ │
+ │
+ │
+ ... 22 hidden (Ctrl+O) ...
+ │
+ │
+ │
+ │
echo
- "Line 24"
- │
- │
- │
- │
+ "Line 23"
+ │
+ │
+ │
+ │
echo
- "Line 25"
- │
- │
- │
- │
+ "Line 24"
+ │
+ │
+ │
+ │
echo
- "Line 26"
- │
- │
- │
- │
+ "Line 25"
+ │
+ │
+ │
+ │
echo
- "Line 27"
- │
- │
- │
- │
+ "Line 26"
+ │
+ │
+ │
+ │
echo
- "Line 28"
- │
- │
- │
- │
+ "Line 27"
+ │
+ │
+ │
+ │
echo
- "Line 29"
- │
- │
- │
- │
+ "Line 28"
+ │
+ │
+ │
+ │
echo
- "Line 30"
- │
- │
- │
- │
+ "Line 29"
+ │
+ │
+ │
+ │
echo
- "Line 31"
- │
- │
- │
- │
+ "Line 30"
+ │
+ │
+ │
+ │
echo
- "Line 32"
- │
- │
- │
- │
+ "Line 31"
+ │
+ │
+ │
+ │
echo
- "Line 33"
- │
- │
- │
- │
+ "Line 32"
+ │
+ │
+ │
+ │
echo
- "Line 34"
- │
- │
- │
- │
+ "Line 33"
+ │
+ │
+ │
+ │
echo
- "Line 35"
- │
- │
- │
- │
+ "Line 34"
+ │
+ │
+ │
+ │
echo
- "Line 36"
- │
- │
- │
- │
+ "Line 35"
+ │
+ │
+ │
+ │
echo
- "Line 37"
- │
- │
- │
- │
+ "Line 36"
+ │
+ │
+ │
+ │
echo
- "Line 38"
- │
- │
- │
- │
+ "Line 37"
+ │
+ │
+ │
+ │
echo
- "Line 39"
- │
- │
- │
- │
+ "Line 38"
+ │
+ │
+ │
+ │
echo
- "Line 40"
- │
- │
- │
- │
+ "Line 39"
+ │
+ │
+ │
+ │
echo
- "Line 41"
- │
- │
- │
- │
+ "Line 40"
+ │
+ │
+ │
+ │
echo
- "Line 42"
- │
- │
- │
- │
+ "Line 41"
+ │
+ │
+ │
+ │
echo
- "Line 43"
- │
- │
- │
- │
+ "Line 42"
+ │
+ │
+ │
+ │
echo
- "Line 44"
- │
- │
- │
- │
+ "Line 43"
+ │
+ │
+ │
+ │
echo
- "Line 45"
- │
- │
- │
- │
+ "Line 44"
+ │
+ │
+ │
+ │
echo
- "Line 46"
- │
- │
- │
- │
+ "Line 45"
+ │
+ │
+ │
+ │
echo
- "Line 47"
- │
- │
- │
- │
+ "Line 46"
+ │
+ │
+ │
+ │
echo
- "Line 48"
- │
- │
- │
- │
+ "Line 47"
+ │
+ │
+ │
+ │
echo
- "Line 49"
- │
- │
- │
- │
+ "Line 48"
+ │
+ │
+ │
+ │
echo
- "Line 50"
- │
- │
- │
- ╰──────────────────────────────────────────────────────────────────────────╯
- │
- │
- Allow execution of
- [echo]
- ?
- │
- │
- │
- │
-
- ●
-
-
- 1.
-
-
- Allow once
-
- │
- │
- 2.
- Allow for this session
- │
- │
- 3.
- Allow this command for all future sessions
- ~/.gemini/policies/auto-sav
- …
- │
- │
- 4.
+ "Line 49"
+ │
+ │
+ │
+ │
+ echo
+ "Line 50"
+ │
+ │
+ │
+ ╰──────────────────────────────────────────────────────────────────────────╯
+ │
+ │
+ Allow execution of
+ [echo]
+ ?
+ │
+ │
+ │
+ │
+
+ ●
+
+
+ 1.
+
+
+ Allow once
+
+ │
+ │
+ 2.
+ Allow for this session
+ │
+ │
+ 3.
No, suggest changes (esc)
- │
- ╰──────────────────────────────────────────────────────────────────────────────╯
+ │
+ ╰──────────────────────────────────────────────────────────────────────────────╯
\ No newline at end of file
diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-edit-diffs.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-edit-diffs.snap.svg
index b511f8fffc..ffc73fdd5e 100644
--- a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-edit-diffs.snap.svg
+++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-edit-diffs.snap.svg
@@ -4,500 +4,514 @@
- ╭──────────────────────────────────────────────────────────────────────────────╮
- │
- ... 11 hidden (Ctrl+O) ...
- │
- │
-
-
- 6
-
-
- +
-
-
+ ╭──────────────────────────────────────────────────────────────────────────────╮
+ │
+ ... 10 hidden (Ctrl+O) ...
+ │
+ │
+
+
+ 6
+
+
+ -
+
+
const
-
- newLine6 =
-
+
+ oldLine6 =
+
true
-
+
;
- │
- │
-
-
- 7
-
-
- -
-
-
+ │
+ │
+
+
+ 6
+
+
+ +
+
+
const
-
- oldLine7 =
-
+
+ newLine6 =
+
true
-
+
;
- │
- │
-
-
- 7
-
-
- +
-
-
+ │
+ │
+
+
+ 7
+
+
+ -
+
+
const
-
- newLine7 =
-
+
+ oldLine7 =
+
true
-
+
;
- │
- │
-
-
- 8
-
-
- -
-
-
+ │
+ │
+
+
+ 7
+
+
+ +
+
+
const
-
- oldLine8 =
-
+
+ newLine7 =
+
true
-
+
;
- │
- │
-
-
- 8
-
-
- +
-
-
+ │
+ │
+
+
+ 8
+
+
+ -
+
+
const
-
- newLine8 =
-
+
+ oldLine8 =
+
true
-
+
;
- │
- │
-
-
- 9
-
-
- -
-
-
+ │
+ │
+
+
+ 8
+
+
+ +
+
+
const
-
- oldLine9 =
-
+
+ newLine8 =
+
true
-
+
;
- │
- │
-
-
- 9
-
-
- +
-
-
+ │
+ │
+
+
+ 9
+
+
+ -
+
+
const
-
- newLine9 =
-
+
+ oldLine9 =
+
true
-
+
;
- │
- │
-
- 10
-
-
- -
-
-
+ │
+ │
+
+
+ 9
+
+
+ +
+
+
const
-
- oldLine10 =
-
- true
-
- ;
- │
- │
-
- 10
-
-
- +
-
-
+
+ newLine9 =
+
+ true
+
+ ;
+ │
+ │
+
+ 10
+
+
+ -
+
+
const
-
- newLine10 =
-
+
+ oldLine10 =
+
true
-
+
;
- │
- │
-
- 11
-
-
- -
-
-
+ │
+ │
+
+ 10
+
+
+ +
+
+
const
-
- oldLine11 =
-
+
+ newLine10 =
+
true
-
+
;
- │
- │
-
- 11
-
-
- +
-
-
+ │
+ │
+
+ 11
+
+
+ -
+
+
const
-
- newLine11 =
-
+
+ oldLine11 =
+
true
-
+
;
- │
- │
-
- 12
-
-
- -
-
-
+ │
+ │
+
+ 11
+
+
+ +
+
+
const
-
- oldLine12 =
-
+
+ newLine11 =
+
true
-
+
;
- │
- │
-
- 12
-
-
- +
-
-
+ │
+ │
+
+ 12
+
+
+ -
+
+
const
-
- newLine12 =
-
+
+ oldLine12 =
+
true
-
+
;
- │
- │
-
- 13
-
-
- -
-
-
+ │
+ │
+
+ 12
+
+
+ +
+
+
const
-
- oldLine13 =
-
+
+ newLine12 =
+
true
-
+
;
- │
- │
-
- 13
-
-
- +
-
-
+ │
+ │
+
+ 13
+
+
+ -
+
+
const
-
- newLine13 =
-
+
+ oldLine13 =
+
true
-
+
;
- │
- │
-
- 14
-
-
- -
-
-
+ │
+ │
+
+ 13
+
+
+ +
+
+
const
-
- oldLine14 =
-
+
+ newLine13 =
+
true
-
+
;
- │
- │
-
- 14
-
-
- +
-
-
+ │
+ │
+
+ 14
+
+
+ -
+
+
const
-
- newLine14 =
-
+
+ oldLine14 =
+
true
-
+
;
- │
- │
-
- 15
-
-
- -
-
-
+ │
+ │
+
+ 14
+
+
+ +
+
+
const
-
- oldLine15 =
-
+
+ newLine14 =
+
true
-
+
;
- │
- │
-
- 15
-
-
- +
-
-
+ │
+ │
+
+ 15
+
+
+ -
+
+
const
-
- newLine15 =
-
+
+ oldLine15 =
+
true
-
+
;
- │
- │
-
- 16
-
-
- -
-
-
+ │
+ │
+
+ 15
+
+
+ +
+
+
const
-
- oldLine16 =
-
+
+ newLine15 =
+
true
-
+
;
- │
- │
-
- 16
-
-
- +
-
-
+ │
+ │
+
+ 16
+
+
+ -
+
+
const
-
- newLine16 =
-
+
+ oldLine16 =
+
true
-
+
;
- │
- │
-
- 17
-
-
- -
-
-
+ │
+ │
+
+ 16
+
+
+ +
+
+
const
-
- oldLine17 =
-
+
+ newLine16 =
+
true
-
+
;
- │
- │
-
- 17
-
-
- +
-
-
+ │
+ │
+
+ 17
+
+
+ -
+
+
const
-
- newLine17 =
-
+
+ oldLine17 =
+
true
-
+
;
- │
- │
-
- 18
-
-
- -
-
-
+ │
+ │
+
+ 17
+
+
+ +
+
+
const
-
- oldLine18 =
-
+
+ newLine17 =
+
true
-
+
;
- │
- │
-
- 18
-
-
- +
-
-
+ │
+ │
+
+ 18
+
+
+ -
+
+
const
-
- newLine18 =
-
+
+ oldLine18 =
+
true
-
+
;
- │
- │
-
- 19
-
-
- -
-
-
+ │
+ │
+
+ 18
+
+
+ +
+
+
const
-
- oldLine19 =
-
+
+ newLine18 =
+
true
-
+
;
- │
- │
-
- 19
-
-
- +
-
-
+ │
+ │
+
+ 19
+
+
+ -
+
+
const
-
- newLine19 =
-
+
+ oldLine19 =
+
true
-
+
;
- │
- │
-
- 20
-
-
- -
-
-
+ │
+ │
+
+ 19
+
+
+ +
+
+
const
-
- oldLine20 =
-
+
+ newLine19 =
+
true
-
+
;
- │
- │
-
- 20
-
-
- +
-
-
+ │
+ │
+
+ 20
+
+
+ -
+
+
const
-
- newLine20 =
-
+
+ oldLine20 =
+
true
-
+
;
- │
- ╰──────────────────────────────────────────────────────────────────────────────╯
- Apply this change?
-
- ●
-
-
- 1.
-
-
- Allow once
-
- 2.
- Allow for this session
- 3.
- Allow for this file in all future sessions
- ~/.gemini/policies/auto-saved.toml
- 4.
+ │
+ │
+
+ 20
+
+
+ +
+
+
+ const
+
+ newLine20 =
+
+ true
+
+ ;
+ │
+ ╰──────────────────────────────────────────────────────────────────────────────╯
+ Apply this change?
+
+ ●
+
+
+ 1.
+
+
+ Allow once
+
+ 2.
+ Allow for this session
+ 3.
Modify with external editor
- 5.
+ 4.
No, suggest changes (esc)
\ No newline at end of file
diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-exec-commands.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-exec-commands.snap.svg
index 5355e16de0..68e2eb2247 100644
--- a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-exec-commands.snap.svg
+++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-exec-commands.snap.svg
@@ -4,147 +4,148 @@
- ╭──────────────────────────────────────────────────────────────────────────────╮
- │
- ... 20 hidden (Ctrl+O) ...
- │
- │
+ ╭──────────────────────────────────────────────────────────────────────────────╮
+ │
+ ... 19 hidden (Ctrl+O) ...
+ │
+ │
echo
- "Line 21"
- │
- │
+ "Line 20"
+ │
+ │
echo
- "Line 22"
- │
- │
+ "Line 21"
+ │
+ │
echo
- "Line 23"
- │
- │
+ "Line 22"
+ │
+ │
echo
- "Line 24"
- │
- │
+ "Line 23"
+ │
+ │
echo
- "Line 25"
- │
- │
+ "Line 24"
+ │
+ │
echo
- "Line 26"
- │
- │
+ "Line 25"
+ │
+ │
echo
- "Line 27"
- │
- │
+ "Line 26"
+ │
+ │
echo
- "Line 28"
- │
- │
+ "Line 27"
+ │
+ │
echo
- "Line 29"
- │
- │
+ "Line 28"
+ │
+ │
echo
- "Line 30"
- │
- │
+ "Line 29"
+ │
+ │
echo
- "Line 31"
- │
- │
+ "Line 30"
+ │
+ │
echo
- "Line 32"
- │
- │
+ "Line 31"
+ │
+ │
echo
- "Line 33"
- │
- │
+ "Line 32"
+ │
+ │
echo
- "Line 34"
- │
- │
+ "Line 33"
+ │
+ │
echo
- "Line 35"
- │
- │
+ "Line 34"
+ │
+ │
echo
- "Line 36"
- │
- │
+ "Line 35"
+ │
+ │
echo
- "Line 37"
- │
- │
+ "Line 36"
+ │
+ │
echo
- "Line 38"
- │
- │
+ "Line 37"
+ │
+ │
echo
- "Line 39"
- │
- │
+ "Line 38"
+ │
+ │
echo
- "Line 40"
- │
- │
+ "Line 39"
+ │
+ │
echo
- "Line 41"
- │
- │
+ "Line 40"
+ │
+ │
echo
- "Line 42"
- │
- │
+ "Line 41"
+ │
+ │
echo
- "Line 43"
- │
- │
+ "Line 42"
+ │
+ │
echo
- "Line 44"
- │
- │
+ "Line 43"
+ │
+ │
echo
- "Line 45"
- │
- │
+ "Line 44"
+ │
+ │
echo
- "Line 46"
- │
- │
+ "Line 45"
+ │
+ │
echo
- "Line 47"
- │
- │
+ "Line 46"
+ │
+ │
echo
- "Line 48"
- │
- │
+ "Line 47"
+ │
+ │
echo
- "Line 49"
- │
- │
+ "Line 48"
+ │
+ │
echo
- "Line 50"
- │
- ╰──────────────────────────────────────────────────────────────────────────────╯
- Allow execution of [echo]?
-
- ●
-
-
- 1.
-
-
- Allow once
-
- 2.
- Allow for this session
- 3.
- Allow this command for all future sessions
- ~/.gemini/policies/auto-saved.toml
- 4.
+ "Line 49"
+ │
+ │
+ echo
+ "Line 50"
+ │
+ ╰──────────────────────────────────────────────────────────────────────────────╯
+ Allow execution of [echo]?
+
+ ●
+
+
+ 1.
+
+
+ Allow once
+
+ 2.
+ Allow for this session
+ 3.
No, suggest changes (esc)
\ No newline at end of file
diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting.snap.svg
index 0439731934..a30b871f41 100644
--- a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting.snap.svg
+++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting.snap.svg
@@ -1,45 +1,42 @@
-