mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-31 19:22:15 +08:00
feat(settings): add preferred terminal selection
Allow users to choose their preferred terminal app for opening provider terminals. Supports platform-specific options: - macOS: Terminal.app, iTerm2, Alacritty, Kitty, Ghostty - Windows: cmd, PowerShell, Windows Terminal - Linux: GNOME Terminal, Konsole, Xfce4, Alacritty, Kitty, Ghostty Falls back to system default if selected terminal is unavailable.
This commit is contained in:
@@ -191,6 +191,13 @@ export interface Settings {
|
||||
// ===== Skill 同步设置 =====
|
||||
// Skill 同步方式:auto(默认,优先 symlink)、symlink、copy
|
||||
skillSyncMethod?: SkillSyncMethod;
|
||||
|
||||
// ===== 终端设置 =====
|
||||
// 首选终端应用(可选,默认使用系统默认终端)
|
||||
// macOS: "terminal" | "iterm2" | "warp" | "alacritty" | "kitty" | "ghostty"
|
||||
// Windows: "cmd" | "powershell" | "wt"
|
||||
// Linux: "gnome-terminal" | "konsole" | "xfce4-terminal" | "alacritty" | "kitty" | "ghostty"
|
||||
preferredTerminal?: string;
|
||||
}
|
||||
|
||||
// MCP 服务器连接参数(宽松:允许扩展字段)
|
||||
|
||||
Reference in New Issue
Block a user