Repository navigation
tmux sessions, nested shells and terminal activity in the timeline and the sidebar.
Timeline
- Panes are grouped by tmux session. Each tmux session is a group with a header that folds it; shells outside tmux form their own group. Panes are ordered by window and pane index and named
<window> <window name> · <pane index>(0 deploy · 1) instead ofops:0.%1. - Nested shells get their own row. A
sudo -iinside a pane is drawn in an indented row below it (↳ root (sudo)) instead of being merged into the pane's row. The row is tinted, and shaded stronger from the start to the end of each nested session. - A shell that attached to tmux points to its panes. While a shell runs
tmux attach, its own recording pauses and the panes are recorded. That pause is now drawn quieter, names the tmux session, and a click unfolds and highlights its panes. - Activity strip. A thin strip under every row shows keystrokes and output per minute, also where no command boundaries exist: inside
ssh, an editor or a nested shell. Strong blue is the terminal the person was typing in, light blue is typing in another of their terminals at the same time, grey is output without keystrokes. Only counts are indexed, no content. Suppressed input (password prompts,record.input = false) is not counted, and the strip is left out in the aggregated view of very busy windows.
Sidebar
- tmux servers show a live dot or "since " instead of their process id.
- A tmux session shows how many recordings it holds, starts open while it is live, and lists the shells that attached to it. A shell links to the tmux sessions it attached to.
- Windows show index and name; a window with one pane has no separate pane line.
- Nested sessions carry a
sudobadge.
Recorder
- Attach link. After pausing for a tmux client, the recorder asks that client's own tmux server which session it attached to and notes it in the cast. It only asks for a client running as the same user, so
sudo tmux attachstays unlinked. A laterswitch-clientis not followed. - Fixed: pane names missing outside a UTF-8 locale. With
LANGunset,CorPOSIX, tmux replaced the separators in the recorder's query, so a pane was recorded without its session, window and pane names and showed up as$1/%3. Sessions recorded that way keep their ids; new ones are named.
Both apply to shells started after the upgrade; running recorders keep the old binary until their shell exits.
Index and API
index.dbmoves to schema version 3 (pane index, activity counts). It is migrated on the first start; pane indexes of existing sessions are filled in from what is already indexed.- Activity for existing recordings needs a rebuild: run
cinelog index --rebuildonce (annotations are kept). Without it, only sessions recorded from now on have an activity strip. Casts of the old plugin never get one. - A 1.0.x binary that finds the migrated database opens it read-only and does not index, so update every binary that shares a database.
- Web API: new fields only (
TimelineRow.group,parent,depth,activity;TimelineMark.tmux;TmuxLocation.pane_index; more detail in/api/tree). One behaviour change: nested sessions are no longer listed in their parent's timeline row, they have a row of their own. See docs/API.md.
Upgrade
zimfw update fetches and verifies the new binary. With a team install, also run sudo ~/.zim/modules/cinelog/bin/cinelog install --team --upgrade to update the root-owned copy and restart the team server.
Full Changelog: v1.0.1...v1.1.0