feat: harden local shell, SFTP, and desktop session reliability

Finder-launched terminals now inherit a login PATH so tools like ollama resolve, destructive SFTP/editor actions require confirmation, and terminal search plus window dragging work again. SSH forwards and RDP sessions keep listeners and survive reconnect without FastPath crashes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Logan.LiandCursor committed 2026-08-16 16:08:11 +08:00
1 parent 188f3556ed
commit 08696896f9
223 files changed
+13493 -3423

No files matched your search

+4 -4
View File
@@ -13,10 +13,10 @@ interface SortHeaderProps {
}
const FIELDS: { key: SortField; className: string }[] = [
{ key: 'name', className: 'flex-1 min-w-0 justify-start' },
{ key: 'modified', className: 'w-32 justify-end' },
{ key: 'size', className: 'w-24 justify-end' },
{ key: 'type', className: 'w-24 justify-end' },
{ key: 'name', className: 'sftp-col-name flex-1 min-w-0 justify-start' },
{ key: 'modified', className: 'sftp-col-modified w-28 flex-shrink-0 justify-end' },
{ key: 'size', className: 'sftp-col-size w-16 flex-shrink-0 justify-end' },
{ key: 'type', className: 'sftp-col-type w-16 flex-shrink-0 justify-end' },
]
export function SortHeader({ onSort, sortField, sortOrder }: SortHeaderProps) {