\documentclass{article}
\usepackage[margin=2cm]{geometry}
\usepackage[style=terminal,theme=light]{chatui}

\begin{document}

\section*{chatui: terminal style (light theme)}

\begin{chatconversation}[bash: chatui session]

\begin{chatuser}[john]
list the files that reference the auth middleware
\end{chatuser}

\begin{chatthinking}
\tstep{Need to grep the repo for "auth" and "middleware".}
\tstep{Two candidate files found; the second is a test fixture.}
\end{chatthinking}

\begin{chattool}{grep}
\toolargs{pattern="auth middleware", path="src/"}
\toolresult{src/server/auth.ts\\src/server/middleware.ts}
\end{chattool}

\begin{chatassistant}[assistant]
Two files reference it: \texttt{src/server/auth.ts} and
\texttt{src/server/middleware.ts}.
\end{chatassistant}

\end{chatconversation}

\end{document}
