diff --git a/.github/workflows/ci-bundling-trial.yml b/.github/workflows/ci-bundling-trial.yml index 3d247a888b..89ec436db8 100644 --- a/.github/workflows/ci-bundling-trial.yml +++ b/.github/workflows/ci-bundling-trial.yml @@ -27,7 +27,7 @@ jobs: mode: 'source' - name: 'Run Suspect Tests' - run: 'npx vitest run --pool=forks packages/cli/src/test-utils/render.test.tsx packages/cli/src/ui/App.test.tsx packages/cli/src/test-utils/AppRig.test.tsx packages/cli/src/ui/components/SettingsDialog.test.tsx packages/cli/src/ui/components/messages/DiffRenderer.test.tsx packages/cli/src/ui/components/messages/ThinkingMessage.test.tsx packages/cli/src/ui/components/messages/ToolResultDisplay.test.tsx packages/cli/src/ui/components/messages/ToolResultDisplayOverflow.test.tsx packages/cli/src/ui/components/messages/UserMessage.test.tsx packages/cli/src/ui/components/shared/SearchableList.test.tsx packages/cli/src/ui/components/shared/TextInput.test.tsx packages/cli/src/ui/components/views/ExtensionRegistryView.test.tsx' + run: 'npx vitest run --pool=forks packages/cli/src/ui/components/SettingsDialog.test.tsx' shell: 'bash' diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg index 8679bf95d8..8d5b49c6b6 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ > Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ ● Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ Apply To - │ ● User Settings - │ Workspace Settings - │ System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ ● Vim Mode false │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update true │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ Apply To │ + │ ● User Settings │ + │ Workspace Settings │ + │ System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg index 8679bf95d8..e43de863f0 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ > Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ ● Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ Apply To - │ ● User Settings - │ Workspace Settings - │ System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ ● Vim Mode true* │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update true │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ Apply To │ + │ ● User Settings │ + │ Workspace Settings │ + │ System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg index 8679bf95d8..9ab472e5f2 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ > Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ ● Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ Apply To - │ ● User Settings - │ Workspace Settings - │ System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ ● Vim Mode false* │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update true* │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ Apply To │ + │ ● User Settings │ + │ Workspace Settings │ + │ System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg index 8679bf95d8..8d5b49c6b6 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ > Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ ● Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ Apply To - │ ● User Settings - │ Workspace Settings - │ System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ ● Vim Mode false │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update true │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ Apply To │ + │ ● User Settings │ + │ Workspace Settings │ + │ System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg index 8679bf95d8..8d5b49c6b6 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ > Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ ● Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ Apply To - │ ● User Settings - │ Workspace Settings - │ System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ ● Vim Mode false │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update true │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ Apply To │ + │ ● User Settings │ + │ Workspace Settings │ + │ System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg index 95e80c6aa2..8bead856a5 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ > Apply To - │ ● 1. User Settings - │ 2. Workspace Settings - │ 3. System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ Vim Mode false │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update true │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ > Apply To │ + │ ● 1. User Settings │ + │ 2. Workspace Settings │ + │ 3. System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg index 8679bf95d8..7e87cb8376 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ > Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ ● Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ Apply To - │ ● User Settings - │ Workspace Settings - │ System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ ● Vim Mode false* │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update false* │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ Apply To │ + │ ● User Settings │ + │ Workspace Settings │ + │ System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg index 8679bf95d8..8d5b49c6b6 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ > Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ ● Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ Apply To - │ ● User Settings - │ Workspace Settings - │ System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ ● Vim Mode false │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update true │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ Apply To │ + │ ● User Settings │ + │ Workspace Settings │ + │ System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-various-boolean-settings-enabled-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-various-boolean-settings-enabled-correctly.snap.svg index 8679bf95d8..dbfb7f515e 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-various-boolean-settings-enabled-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-various-boolean-settings-enabled-correctly.snap.svg @@ -4,48 +4,48 @@ - ╭─────────────────────────────────────────────────────────────────────────────── - - │ > Settings - - │ ╭───────────────────────────────────────────────────────────────────────────── - │ │ Search to filter - │ ╰───────────────────────────────────────────────────────────────────────────── - - │ ▲ - │ ● Vim Mode - │ Enable Vim keybindings - - │ Default Approval Mode - │ The default approval mode for tool execution. 'default' prompts for approva - - │ Enable Auto Update - │ Enable automatic updates. - - │ Enable Notifications - │ Enable run-event notifications for action-required prompts and session comp - - │ Enable Plan Mode - │ Enable Plan Mode for read-only safety during planning. - - │ Plan Directory - │ The directory where planning artifacts are stored. If not specified, defaul - - │ Plan Model Routing - │ Automatically switch between Pro and Flash models based on Plan Mode status - - │ Retry Fetch Errors - │ Retry on "exception TypeError: fetch failed sending request" errors. - - │ ▼ - - │ Apply To - │ ● User Settings - │ Workspace Settings - │ System Settings - - │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - ╰─────────────────────────────────────────────────────────────────────────────── + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + │ │ + │ > Settings │ + │ │ + │ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ + │ │ Search to filter │ │ + │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ + │ │ + │ ▲ │ + │ ● Vim Mode true* │ + │ Enable Vim keybindings │ + │ │ + │ Default Approval Mode Default │ + │ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ + │ │ + │ Enable Auto Update false* │ + │ Enable automatic updates. │ + │ │ + │ Enable Notifications false │ + │ Enable run-event notifications for action-required prompts and session completion. │ + │ │ + │ Enable Plan Mode true │ + │ Enable Plan Mode for read-only safety during planning. │ + │ │ + │ Plan Directory undefined │ + │ The directory where planning artifacts are stored. If not specified, defaults t… │ + │ │ + │ Plan Model Routing true │ + │ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ + │ │ + │ Retry Fetch Errors true │ + │ Retry on "exception TypeError: fetch failed sending request" errors. │ + │ │ + │ ▼ │ + │ │ + │ Apply To │ + │ ● User Settings │ + │ Workspace Settings │ + │ System Settings │ + │ │ + │ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ + │ │ + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/SettingsDialog.test.tsx.snap index c82b780cf2..d585c9a918 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog.test.tsx.snap @@ -1,415 +1,415 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`SettingsDialog > Initial Rendering > should render settings list with visual indicators 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ > Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ ● Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ Apply To -│ ● User Settings -│ Workspace Settings -│ System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ ● Vim Mode false │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update true │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ Apply To │ +│ ● User Settings │ +│ Workspace Settings │ +│ System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`SettingsDialog > Snapshot Tests > should render 'accessibility settings enabled' correctly 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ > Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ ● Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ Apply To -│ ● User Settings -│ Workspace Settings -│ System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ ● Vim Mode true* │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update true │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ Apply To │ +│ ● User Settings │ +│ Workspace Settings │ +│ System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`SettingsDialog > Snapshot Tests > should render 'all boolean settings disabled' correctly 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ > Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ ● Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ Apply To -│ ● User Settings -│ Workspace Settings -│ System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ ● Vim Mode false* │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update true* │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ Apply To │ +│ ● User Settings │ +│ Workspace Settings │ +│ System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`SettingsDialog > Snapshot Tests > should render 'default state' correctly 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ > Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ ● Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ Apply To -│ ● User Settings -│ Workspace Settings -│ System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ ● Vim Mode false │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update true │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ Apply To │ +│ ● User Settings │ +│ Workspace Settings │ +│ System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`SettingsDialog > Snapshot Tests > should render 'file filtering settings configured' correctly 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ > Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ ● Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ Apply To -│ ● User Settings -│ Workspace Settings -│ System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ ● Vim Mode false │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update true │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ Apply To │ +│ ● User Settings │ +│ Workspace Settings │ +│ System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`SettingsDialog > Snapshot Tests > should render 'focused on scope selector' correctly 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ > Apply To -│ ● 1. User Settings -│ 2. Workspace Settings -│ 3. System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ Vim Mode false │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update true │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ > Apply To │ +│ ● 1. User Settings │ +│ 2. Workspace Settings │ +│ 3. System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`SettingsDialog > Snapshot Tests > should render 'mixed boolean and number settings' correctly 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ > Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ ● Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ Apply To -│ ● User Settings -│ Workspace Settings -│ System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ ● Vim Mode false* │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update false* │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ Apply To │ +│ ● User Settings │ +│ Workspace Settings │ +│ System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`SettingsDialog > Snapshot Tests > should render 'tools and security settings' correctly 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ > Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ ● Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ Apply To -│ ● User Settings -│ Workspace Settings -│ System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ ● Vim Mode false │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update true │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ Apply To │ +│ ● User Settings │ +│ Workspace Settings │ +│ System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`SettingsDialog > Snapshot Tests > should render 'various boolean settings enabled' correctly 1`] = ` -"╭─────────────────────────────────────────────────────────────────────────────── -│ -│ > Settings -│ -│ ╭───────────────────────────────────────────────────────────────────────────── -│ │ Search to filter -│ ╰───────────────────────────────────────────────────────────────────────────── -│ -│ ▲ -│ ● Vim Mode -│ Enable Vim keybindings -│ -│ Default Approval Mode -│ The default approval mode for tool execution. 'default' prompts for approva -│ -│ Enable Auto Update -│ Enable automatic updates. -│ -│ Enable Notifications -│ Enable run-event notifications for action-required prompts and session comp -│ -│ Enable Plan Mode -│ Enable Plan Mode for read-only safety during planning. -│ -│ Plan Directory -│ The directory where planning artifacts are stored. If not specified, defaul -│ -│ Plan Model Routing -│ Automatically switch between Pro and Flash models based on Plan Mode status -│ -│ Retry Fetch Errors -│ Retry on "exception TypeError: fetch failed sending request" errors. -│ -│ ▼ -│ -│ Apply To -│ ● User Settings -│ Workspace Settings -│ System Settings -│ -│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) -│ -╰───────────────────────────────────────────────────────────────────────────────" +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Settings │ +│ │ +│ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ Search to filter │ │ +│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ │ +│ ▲ │ +│ ● Vim Mode true* │ +│ Enable Vim keybindings │ +│ │ +│ Default Approval Mode Default │ +│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │ +│ │ +│ Enable Auto Update false* │ +│ Enable automatic updates. │ +│ │ +│ Enable Notifications false │ +│ Enable run-event notifications for action-required prompts and session completion. │ +│ │ +│ Enable Plan Mode true │ +│ Enable Plan Mode for read-only safety during planning. │ +│ │ +│ Plan Directory undefined │ +│ The directory where planning artifacts are stored. If not specified, defaults t… │ +│ │ +│ Plan Model Routing true │ +│ Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… │ +│ │ +│ Retry Fetch Errors true │ +│ Retry on "exception TypeError: fetch failed sending request" errors. │ +│ │ +│ ▼ │ +│ │ +│ Apply To │ +│ ● User Settings │ +│ Workspace Settings │ +│ System Settings │ +│ │ +│ (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯" `;