## tf ask "..." - chat with a session frame, rendered in the terminal. ## ## Self-contained TUI command. ShellCommand scans this directory for .html templates; the ## trailing CLI argument arrives as $prompt, and --session / --model as $session / $model. ## ## TuiModule.ask runs first (ask.xconf) and drives the session frame, publishing $kind, ## $subtitle, $answer or $error. $ansi.reset() #if($error) ${ansi.bgRed()}${ansi.brightWhite()} ERROR ${ansi.reset()} ${ansi.red()}$error${ansi.reset()} #else ${ansi.brightBlack()}$!{kind}${ansi.reset()} ${ansi.dim()}$!{subtitle}${ansi.reset()} ${ansi.brightCyan()}$!{answer}${ansi.reset()} #end ${ansi.brightBlack()}────────────────────────────────────────────────────────────────────${ansi.reset()}