v1.6.1

TUI Guide

Last updated


Single bubbletea textarea (internal/runtime/tui); slash commands open transient popups that close cleanly back to the prompt.
Since v1.4.1, when no session exists yet the TUI creates one with a random id at startup instead of opening the session picker. Since v1.5.0, when config.json cannot be parsed the TUI asks before starting whether to reset it: y renames the file to config.json.corrupt and writes a fresh initial config, any other answer exits.
Since v1.2.0 the TUI no longer runs agents itself: the daemon runs every request and the TUI is a client over the Unix socket ~/.config/agenvoy/daemon.sock (mode 0600, newline-delimited JSON frames). A run is bound to the connection that started it, so closing the TUI stops the run while its pending snapshot is kept. Confirmations and ask_user questions from that run go only to the TUI window that started it; a confirmation for a path outside $HOME, a sudo argv or sandbox: false asks for the system password in a TUI password field (a sensitive path inside $HOME only needs a plain confirmation) and the daemon verifies it (sudo -S -v). When the socket is down the status line shows Connecting and the TUI retries every 5 seconds; plain input, skills, /pending resume and scheduler dispatch wait until it reconnects, while local / commands keep working. The work directory is the TUI's own: set it with Shift+P. Removed in v1.3.0: the daemon no longer pushes a directory the agent switched to with cd, because the agent can no longer change it.
Since v1.3.8, while the session has background legs running, the line above the input reads N background task(s) running, followed by (esc to cancel) when no run is in progress; it refreshes every second. The v1.3.0 Waiting for background tasks (the reply continues here) line, and the follow-up mode behind it, were Removed in v1.3.8 because a run no longer stays pending for its background work (see Background Job Reports).
The TUI auto-tails the active session's action.log (foreign-process writes prefixed with ▌ in warn-purple). Single-session view only.