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

+1
View File
@@ -7,6 +7,7 @@ interface AgentMarkdownProps {
}
/** 简单检测是否含 Markdown 结构(标题/表格/引用/列表/粗体) */
// eslint-disable-next-line react-refresh/only-export-components -- shared helper colocated with markdown renderer
export function looksLikeMarkdown(text: string): boolean {
const t = text.trim()
if (!t) return false