Structs§
Enums§
- Cursor
Identity - Stable cursor identity — survives session appear/disappear and expand-state changes.
Functions§
- apply_
cache - Pre-populate workspace with cached state before first live sync.
- collect_
session_ names - Collect session names per worktree path — shared by snapshot write and restore fallback.
- find_
cursor_ index - Resolve a saved CursorIdentity back to a flat-tree index.
- load_
session_ snapshot - Load the session snapshot written by
save_session_snapshot. - load_
session_ snapshot_ with_ meta - migrate_
flags_ to_ tmux - One-time migration: write cached muted session names as tmux user options so they survive future cache writes and are visible to all instances. Idempotent and non-fatal.
- resolve_
cursor_ identity - save_
cache - Persist session names, expand states, cursor position, active_tab, and command history. Returns an error string if the save fails (caller should surface it in TUI).
- save_
session_ snapshot - Persist session names to Application Support — survives tmux crashes because it’s outside the cache and written whenever sessions change.