Files
Netcatty/components/sftp
陈大猫 0ceec3d45c fix(sftp): stop follow-terminal-cwd retry loop on unreachable paths (#1629)
* fix(sftp): stop follow-terminal-cwd retry loop on unreachable paths

When per-host follow navigates to a terminal cwd that SFTP cannot reach, stop retrying and allow the toolbar toggle to update immediately.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(sftp): address Codex review on follow-terminal-cwd blocking

Return navigateTo success explicitly and scope blocked follow paths per connection so successful navigations and host switches are not misclassified.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(sftp): clear follow block after manual go-to-terminal-cwd

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(sftp): honor cleared follow-cwd overrides from vault sync

Use an explicit pending toggle override instead of stale session host values when the vault clears per-host follow settings back to inherit-global.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(sftp): ignore stale follow navigation when follow is disabled mid-flight

Bump a follow-sync generation when follow is turned off so pending navigateTo failures cannot restore a blocked cwd after the user disables and re-enables follow.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 19:27:20 +08:00
..
2026-06-12 14:40:22 +08:00
2026-01-21 23:13:31 +08:00
2026-06-12 14:40:22 +08:00