Skip to content

Add demo GIF, document session host, and fix host log location - #386

Merged
neich merged 3 commits into
mainfrom
update/release
Nov 18, 2026
Merged

neich merged 3 commits into
mainfrom
update/release

Conversation

@neich

@neich neich commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

Prepares the update/release branch: adds a demo GIF to the README, documents the session host as a terminal-multiplexer alternative with SSH tabs, and makes a session host with its own state file write its logs beside that file instead of the shared log folder.

Changes

  • README: replaces the demo placeholder with docs/demo/gaviero-demo-wide.gif plus a caption. Rewords the comparison bullets ("any terminal" instead of "tmux", tabs via --sessions). Adds a "no tmux needed" section on the session host and a new SSH tabs section (Local/SSH picker, ~/.ssh/config aliases, Disconnected box, clipboard behavior, sshHosts.<host>.gaviero).
  • Log location (gaviero-tui):
    • Adds LOG_DIR_ENV (GAVIERO_LOG_DIR) and log_dir() in main.rs; gaviero.log now goes there when set, else <cache>/gaviero.
    • Adds session_host::host_log_dir(): a host using GAVIERO_SESSION_HOST_STATE logs beside that state file; otherwise GAVIERO_LOG_DIR, else the default cache folder.
    • Local tabs receive the host's log folder as GAVIERO_LOG_DIR.
    • Adds state::state_override() and refactors state_path() to use it. An empty env value is now treated as unset.
  • Tests: a unit test for log_dir_for, and an e2e assertion that gaviero-sessions.log appears beside the state file.
  • Docs: crates/gaviero-tui/CLAUDE.md describes the new log location.
  • Asset: adds docs/demo/gaviero-demo-wide.gif (~880 KB).

Testing

  • git diff --check origin/main...HEAD
  • cargo test — skipped (only run with --run-tests). The new unit test and the e2e assertion have not been run for this PR.

Risks / Notes

  • Includes a binary file, the demo GIF; it was not reviewed in the diff.
  • Behavior change: a host started with GAVIERO_SESSION_HOST_STATE now writes gaviero-sessions.log and its local tabs' gaviero.log next to that state file, not in the cache folder. Hosts without the override are unchanged, unless GAVIERO_LOG_DIR is set.
  • The e2e test and the new unit test use Windows-style paths; I did not verify them on other platforms.

neich and others added 3 commits November 18, 2026 17:01
Embeds a 38-second tour of gaviero (docs/demo/gaviero-demo-wide.gif) at the
top of the README, replacing the placeholder comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A host started with its own state file now writes gaviero-sessions.log
and its local tabs' gaviero.log next to that file, via a new
GAVIERO_LOG_DIR override. This stops a second host, such as a test or
demo recording, from truncating the logs of a running host. Unit and e2e
tests cover the placement.
The README now explains that --sessions covers what tmux-style
multiplexers are used for and describes SSH tabs in the Alt+N picker.
The TUI CLAUDE.md is updated to match.
@neich
neich merged commit 00c3b8e into main Nov 18, 2026
@neich
neich deleted the update/release branch November 18, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant