From 7622522776168577d9f4bf7846e7f5052e2418e2 Mon Sep 17 00:00:00 2001 From: t Date: Tue, 1 Dec 2026 17:42:15 -0700 Subject: Distinguish explicit TUI prompts from automatic rig prompts in tests and docs --- tests/tui.exp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/tui.exp') diff --git a/tests/tui.exp b/tests/tui.exp index 77ef267..f60f43e 100644 --- a/tests/tui.exp +++ b/tests/tui.exp @@ -63,8 +63,12 @@ send -- "\003"; expect eof; wait # Also check unconditional launch flags when nothing is exported. set cfg [open "$env(HOME)/.panto/config.toml" a]; puts $cfg {tools=[]}; close $cfg set flag [open "$env(HOME)/.local/share/panto-antigravity/google/no-tools" w]; close $flag -spawn -noecho $env(PANTO) --incognito -m antigravity:fast -r low -see {antigravity:}; send -- "no-tools"; see {no-tools}; send -- "\r"; see {no-tools-ok} +set rig "$env(HOME)/.panto" +set file [open "$rig/PROMPT.md" w]; puts -nonewline $file {no-tools}; close $file +spawn -noecho $env(PANTO) --incognito --rig $rig -m antigravity:fast -r low +see {requires direct TUI input}; send -- "\003"; expect eof; wait +spawn -noecho $env(PANTO) --incognito -m antigravity:fast -r low -- no-tools +see {no-tools-ok} send -- "\003"; expect eof; wait # xhigh exists before switching models, but not on gemini-test. spawn -noecho $env(PANTO) --incognito -m antigravity:fast -r xhigh -- cgit v1.3