Repository navigation
rumbo 0.3.0
The terminal UI is new. It draws inline, in the terminal's own scrollback,
shows what the model writes as Markdown and each tool call as a block,
opens pickers for sessions, models, and option values, brings back what
you asked in any session, and can copy an answer and export a session.
Sessions can branch.
Terminal UI
- It draws inline, below what the terminal showed before, instead of
taking the whole screen: the conversation goes into the terminal's
scrollback, and only the part still changing is drawn again. - A slash opens a menu of the commands with what each does, and then of
what each takes, with what describes every value, such as a session's
title. It narrows as you type, by value or description; Tab or Enter take
a choice, and Enter on a command that needs nothing more sends it. - The input takes several lines: Alt-Enter, Shift-Enter, or Ctrl-J starts
a new one, and pasted text keeps its line breaks. - Up and Down bring back what you asked in any session of the project, not
only in this start, and Ctrl-R searches it. It comes from the sessions
themselves, so deleting a session removes it from there too; commands
are remembered until the terminal UI quits. - What the model writes shows as Markdown: headings, lists, quotes, code,
bold, italics, links, and tables lined up in columns. - A tool call shows with a spinner and its time while it works, then with
how it went: an edit with the lines it changed, a command with the start
of its output, or its exit status and the end of its output when it
failed. - A run ends with how long it took, its turns, and its tokens.
- Opening, branching to, or continuing a session (
/open,/branch,-c,
-s) shows what it holds, and the status bar counts that session's
context and tokens. - Enter on a command that still needs something opens the menu of what it
takes:/openlists the sessions, and/use openaithe models of
openai. After/session-options, the menu offers the values of the
provider's options, with those in force marked. - The status bar shows how full the context is as a bar, yellow past half
and red past four fifths, and how long a run has worked, and leaves out
what does not fit, the least needed first. - A run in the background that ends says what it took and how to open its
session. A run that ends, or a provider that asks something, while the
terminal is not in front rings the bell and sends a desktop notification
(OSC 9), in terminals that report their focus. /copyputs the model's last answer in the clipboard, and/copy code
its last code block, through the terminal (OSC 52), so it works over ssh./export [path]writes the session as Markdown, torumbo-<session>.md
in its directory unless a path is given, and never over a file.- Its colors can be chosen in its configuration:
rumbo frontend config tui theme=plainshows none,color_code=#d7875fchanges one, andNO_COLOR
is followed under the default theme,auto.
Sessions
- A session can branch:
/branchgoes on in a new session that starts
from the current one as it is, or as it was before one of your messages,
numbered as/branch-pointslists them. The first session stays as it
was, and can keep working at the same time. The files are not part of a
session, so a branch finds them as they are. /sessions,/status, andrumbo sessionssay which session a branch
came from.
Protocols
Both stay at version 1, and what is new in them is optional.
- A front end can ask the host, with
recall, what the person asked in the
project's sessions, newest first, to bring it back to its input. - A function that lists a parameter's values is called with what was given
for the parameters before it that it takes, so the values of one can
depend on another. - The host lists a provider's models,
provider-models, and the values its
options take,option-values, asking it;use,session-options, and
provider-optionslist their values with them. - For front ends written in Go,
protocol.DialFrontendConfiguredanswers
with the start configuration in force.