Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Commands

Running uji

RunDoes
uji, uji newStarts a new session.
uji resumeResumes the latest session in the current directory.
uji resume --id <ID>Resumes the session with that id.
uji listOpens a picker of the sessions in the current directory.
uji delete <ID>Deletes a session.
uji run <PROMPT>Sends one prompt without the screen and prints the answer. See Running without the screen.
uji --helpPrints the usage.
uji --versionPrints the version.

Any of them takes these options. Where uji keeps its files lists the environment variables that do the same.

OptionSets
--config-dir <DIR>The config directory.
--data-dir <DIR>The data directory.
--db <FILE>The session database.

Slash commands

CommandDoes
/loginAdds a provider.
/setupWrites a starter config, then asks what you want in it. It is there until you have a config. See Configuration.
/modelsPicks the model.
/effortSets the reasoning effort, from the levels the current model accepts.
/thinkingShows or hides the model’s reasoning.
/compactSummarises earlier messages to free context.
/listLists the sessions in this directory. Enter starts uji again in the one you pick.
/resumeStarts uji again in the latest session here, or /resume <ID> in that one.
/syncUpdates installed packs and reloads.
/reloadStarts uji again with your current config and files, keeping the conversation and your draft.
/helpLists every command, including the ones plugins add.
/jobsOpens the background jobs list under the input, finished ones included, and closes it when run again. It picks the first job: Enter opens it, ↑ and ↓ pick another, x stops or drops one, Esc closes the list.
/diagnosticsLists the errors uji ran into while drawing the screen, newest first, with the details of each.
/quitQuits.

Keys

Default bindings lists every key uji binds, and uji.keymap changes them.