* feat(sftp): insert file path or cd into paired terminal from SFTP context menu
* fix(sftp): guard terminal path insertion against unclosed quote contexts
* fix(sftp): reject trailing dollar fusion and after-cursor command text
* fix(terminal): detect standard root-directory shell prompts (user@host:/$) for SFTP path injection
* fix(sftp): reject arithmetic insertion contexts and continuation-prompt cd
* fix(terminal): ignore right-aligned prompt decorations in after-cursor readiness check
* fix(sftp): resolve remote shell dialect from prompt/OS and use portable Unix quoting
* fix(terminal): require unwritten xterm gap cells before ignoring right-prompt decorations
* feat(terminal): click archive names to fill extraction command
Paste an absolute tar or unzip command when a Linux session
Ctrl/Cmd-clicks a printed archive name. Cwd comes from OSC 7
markers only, so a later directory change cannot retarget an
old relative name.
Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>
* fix(terminal): anchor wrapped archive links on the continuation row
A token that starts on the next physical row was mapped to the previous
row's exclusive end cell. Inclusive offsets now move to the next segment,
while an end-exclusive offset stays on the row where the match stops.
Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>
* fix(terminal): separate archive fill from text after the cursor
Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>
* fix(terminal): separate archive fill across a wrapped draft
Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>