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

+14 -11
View File
@@ -19,19 +19,22 @@ export default {
},
// ── Legacy dark-* aliases (backward compat → surface tokens) ───
dark: {
950: 'var(--color-surface-base)',
900: 'var(--color-surface-base)',
850: 'var(--color-surface-raised)',
800: 'var(--color-surface-raised)',
700: 'var(--color-surface-overlay)',
600: 'var(--color-surface-inset)',
500: 'var(--color-text-dim)',
},
// ── Accent colors ──────────────────────────────────────────────
// ── Accent colors (RGB channels → /opacity works in light & dark) ──
accent: {
blue: 'var(--color-accent-blue)',
'blue-hover':'var(--color-accent-blue-hover)',
green: 'var(--color-accent-green)',
purple: 'var(--color-accent-purple)',
orange: 'var(--color-accent-orange)',
red: 'var(--color-accent-red)',
blue: 'rgb(var(--color-accent-blue-rgb) / <alpha-value>)',
'blue-hover': 'rgb(var(--color-accent-blue-hover-rgb) / <alpha-value>)',
green: 'rgb(var(--color-accent-green-rgb) / <alpha-value>)',
purple: 'rgb(var(--color-accent-purple-rgb) / <alpha-value>)',
orange: 'rgb(var(--color-accent-orange-rgb) / <alpha-value>)',
red: 'rgb(var(--color-accent-red-rgb) / <alpha-value>)',
},
// ── Content / text tokens ──────────────────────────────────────
content: {
@@ -62,13 +65,13 @@ export default {
},
// ── Feedback / status tokens ───────────────────────────────────
feedback: {
'success': 'var(--color-feedback-success)',
success: 'rgb(var(--color-feedback-success-rgb) / <alpha-value>)',
'success-bg': 'var(--color-feedback-success-bg)',
'warning': 'var(--color-feedback-warning)',
warning: 'rgb(var(--color-feedback-warning-rgb) / <alpha-value>)',
'warning-bg': 'var(--color-feedback-warning-bg)',
'error': 'var(--color-feedback-error)',
error: 'rgb(var(--color-feedback-error-rgb) / <alpha-value>)',
'error-bg': 'var(--color-feedback-error-bg)',
'info': 'var(--color-feedback-info)',
info: 'rgb(var(--color-feedback-info-rgb) / <alpha-value>)',
'info-bg': 'var(--color-feedback-info-bg)',
},
},