Add CMUX_SURFACE_ID to docs
Follow-up to CMUX_SURFACE_ID env var support — document it alongside KITTY_WINDOW_ID, TMUX_PANE, etc. in environment-variables.md and session-switching-and-recent-listing.md.
This commit is contained in:
@@ -372,7 +372,7 @@ These are read as runtime signals; they are usually set by the terminal/OS rathe
|
||||
| `COLORFGBG` | Terminal background light/dark auto-detection |
|
||||
| `TERM_PROGRAM`, `TERM_PROGRAM_VERSION`, `TERMINAL_EMULATOR` | Terminal identity in system prompt/context |
|
||||
| `KDE_FULL_SESSION`, `XDG_CURRENT_DESKTOP`, `DESKTOP_SESSION`, `XDG_SESSION_DESKTOP`, `GDMSESSION`, `WINDOWMANAGER` | Desktop/window-manager detection in system prompt/context |
|
||||
| `KITTY_WINDOW_ID`, `TMUX_PANE`, `TERM_SESSION_ID`, `WT_SESSION` | Stable per-terminal session breadcrumb IDs |
|
||||
| `KITTY_WINDOW_ID`, `TMUX_PANE`, `TERM_SESSION_ID`, `WT_SESSION`, `CMUX_SURFACE_ID` | Stable per-terminal session breadcrumb IDs |
|
||||
| `SHELL`, `ComSpec`, `TERM_PROGRAM`, `TERM` | System info diagnostics |
|
||||
| `APPDATA`, `XDG_CONFIG_HOME` | lspmux config path resolution |
|
||||
| `HOME` | Path shortening in MCP command UI |
|
||||
|
||||
@@ -67,7 +67,7 @@ For `SessionInfo` list entries:
|
||||
3. If breadcrumb is invalid/missing, fall back to newest file by mtime in the session dir (`findMostRecentSession`)
|
||||
4. If none found, create a new session
|
||||
|
||||
Terminal ID derivation prefers TTY path and falls back to env-based identifiers (`KITTY_WINDOW_ID`, `TMUX_PANE`, `TERM_SESSION_ID`, `WT_SESSION`).
|
||||
Terminal ID derivation prefers TTY path and falls back to env-based identifiers (`KITTY_WINDOW_ID`, `TMUX_PANE`, `TERM_SESSION_ID`, `WT_SESSION`, `CMUX_SURFACE_ID`).
|
||||
|
||||
Breadcrumb writes are best-effort and non-fatal.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user