@rdmind/rdmind 0.0.15-alpha.1 → 0.0.15-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +15 -10
- package/dist/src/commands/extensions/disable.d.ts +2 -3
- package/dist/src/commands/extensions/disable.js +20 -6
- package/dist/src/commands/extensions/disable.js.map +1 -1
- package/dist/src/commands/extensions/enable.d.ts +2 -3
- package/dist/src/commands/extensions/enable.js +21 -10
- package/dist/src/commands/extensions/enable.js.map +1 -1
- package/dist/src/commands/extensions/examples/context/QWEN.md +8 -0
- package/dist/src/commands/extensions/examples/context/qwen-extension.json +4 -0
- package/dist/src/commands/extensions/examples/custom-commands/commands/fs/grep-code.toml +6 -0
- package/dist/src/commands/extensions/examples/custom-commands/qwen-extension.json +4 -0
- package/dist/src/commands/extensions/examples/exclude-tools/qwen-extension.json +5 -0
- package/dist/src/commands/extensions/examples/mcp-server/example.ts +60 -0
- package/dist/src/commands/extensions/examples/mcp-server/package.json +18 -0
- package/dist/src/commands/extensions/examples/mcp-server/qwen-extension.json +11 -0
- package/dist/src/commands/extensions/examples/mcp-server/tsconfig.json +13 -0
- package/dist/src/commands/extensions/install.d.ts +3 -2
- package/dist/src/commands/extensions/install.js +47 -17
- package/dist/src/commands/extensions/install.js.map +1 -1
- package/dist/src/commands/extensions/install.test.js +86 -9
- package/dist/src/commands/extensions/install.test.js.map +1 -1
- package/dist/src/commands/extensions/link.d.ts +12 -0
- package/dist/src/commands/extensions/link.js +37 -0
- package/dist/src/commands/extensions/link.js.map +1 -0
- package/dist/src/commands/extensions/list.js +1 -1
- package/dist/src/commands/extensions/list.js.map +1 -1
- package/dist/src/commands/extensions/new.d.ts +7 -0
- package/dist/src/commands/extensions/new.js +90 -0
- package/dist/src/commands/extensions/new.js.map +1 -0
- package/dist/src/commands/extensions/new.test.js +59 -0
- package/dist/src/commands/extensions/new.test.js.map +1 -0
- package/dist/src/commands/extensions/uninstall.js +1 -1
- package/dist/src/commands/extensions/uninstall.js.map +1 -1
- package/dist/src/commands/extensions/uninstall.test.js +2 -2
- package/dist/src/commands/extensions/uninstall.test.js.map +1 -1
- package/dist/src/commands/extensions/update.d.ts +2 -1
- package/dist/src/commands/extensions/update.js +80 -14
- package/dist/src/commands/extensions/update.js.map +1 -1
- package/dist/src/commands/extensions.js +4 -0
- package/dist/src/commands/extensions.js.map +1 -1
- package/dist/src/commands/mcp/add.js +6 -1
- package/dist/src/commands/mcp/add.js.map +1 -1
- package/dist/src/commands/mcp/list.js +4 -3
- package/dist/src/commands/mcp/list.js.map +1 -1
- package/dist/src/commands/mcp/remove.js +1 -1
- package/dist/src/commands/mcp/remove.js.map +1 -1
- package/dist/src/config/auth.d.ts +1 -1
- package/dist/src/config/auth.js +4 -4
- package/dist/src/config/auth.js.map +1 -1
- package/dist/src/config/auth.test.js +15 -7
- package/dist/src/config/auth.test.js.map +1 -1
- package/dist/src/config/config.d.ts +7 -2
- package/dist/src/config/config.js +178 -122
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/extension.d.ts +39 -16
- package/dist/src/config/extension.js +349 -192
- package/dist/src/config/extension.js.map +1 -1
- package/dist/src/config/extensions/extensionEnablement.d.ts +47 -0
- package/dist/src/config/extensions/extensionEnablement.js +189 -0
- package/dist/src/config/extensions/extensionEnablement.js.map +1 -0
- package/dist/src/{ui/components/ModelSelectionDialog.test.d.ts → config/extensions/extensionEnablement.test.d.ts} +1 -1
- package/dist/src/config/extensions/extensionEnablement.test.js +333 -0
- package/dist/src/config/extensions/extensionEnablement.test.js.map +1 -0
- package/dist/src/config/extensions/github.d.ts +30 -0
- package/dist/src/config/extensions/github.js +322 -0
- package/dist/src/config/extensions/github.js.map +1 -0
- package/dist/src/config/extensions/github.test.d.ts +6 -0
- package/dist/src/config/extensions/github.test.js +334 -0
- package/dist/src/config/extensions/github.test.js.map +1 -0
- package/dist/src/config/extensions/update.d.ts +19 -0
- package/dist/src/config/extensions/update.js +113 -0
- package/dist/src/config/extensions/update.js.map +1 -0
- package/dist/src/config/extensions/update.test.d.ts +6 -0
- package/dist/src/config/extensions/update.test.js +342 -0
- package/dist/src/config/extensions/update.test.js.map +1 -0
- package/dist/src/config/extensions/variableSchema.d.ts +8 -0
- package/dist/src/config/extensions/variableSchema.js +4 -0
- package/dist/src/config/extensions/variableSchema.js.map +1 -1
- package/dist/src/config/keyBindings.d.ts +5 -1
- package/dist/src/config/keyBindings.js +14 -25
- package/dist/src/config/keyBindings.js.map +1 -1
- package/dist/src/config/settings.d.ts +8 -5
- package/dist/src/config/settings.js +178 -275
- package/dist/src/config/settings.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +332 -141
- package/dist/src/config/settingsSchema.js +321 -153
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/config/settingsSchema.test.js +64 -57
- package/dist/src/config/settingsSchema.test.js.map +1 -1
- package/dist/src/config/trustedFolders.d.ts +23 -4
- package/dist/src/config/trustedFolders.js +97 -47
- package/dist/src/config/trustedFolders.js.map +1 -1
- package/dist/src/config/trustedFolders.test.js +196 -20
- package/dist/src/config/trustedFolders.test.js.map +1 -1
- package/dist/src/core/auth.d.ts +13 -0
- package/dist/src/core/auth.js +27 -0
- package/dist/src/core/auth.js.map +1 -0
- package/dist/src/core/initializer.d.ts +21 -0
- package/dist/src/core/initializer.js +33 -0
- package/dist/src/core/initializer.js.map +1 -0
- package/dist/src/core/theme.d.ts +12 -0
- package/dist/src/core/theme.js +20 -0
- package/dist/src/core/theme.js.map +1 -0
- package/dist/src/gemini.d.ts +3 -2
- package/dist/src/gemini.js +156 -128
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/gemini.test.js +190 -47
- package/dist/src/gemini.test.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/nonInteractiveCli.d.ts +2 -1
- package/dist/src/nonInteractiveCli.js +101 -72
- package/dist/src/nonInteractiveCli.js.map +1 -1
- package/dist/src/nonInteractiveCliCommands.d.ts +17 -0
- package/dist/src/nonInteractiveCliCommands.js +79 -0
- package/dist/src/nonInteractiveCliCommands.js.map +1 -0
- package/dist/src/services/BuiltinCommandLoader.js +1 -1
- package/dist/src/services/BuiltinCommandLoader.js.map +1 -1
- package/dist/src/services/BuiltinCommandLoader.test.js +30 -18
- package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -1
- package/dist/src/services/FileCommandLoader.d.ts +2 -0
- package/dist/src/services/FileCommandLoader.js +7 -0
- package/dist/src/services/FileCommandLoader.js.map +1 -1
- package/dist/src/services/McpPromptLoader.js +43 -8
- package/dist/src/services/McpPromptLoader.js.map +1 -1
- package/dist/src/services/McpPromptLoader.test.js +228 -1
- package/dist/src/services/McpPromptLoader.test.js.map +1 -1
- package/dist/src/services/prompt-processors/shellProcessor.js +8 -1
- package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -1
- package/dist/src/test-utils/createExtension.d.ts +15 -0
- package/dist/src/test-utils/createExtension.js +25 -0
- package/dist/src/test-utils/createExtension.js.map +1 -0
- package/dist/src/test-utils/mockCommandContext.js +2 -0
- package/dist/src/test-utils/mockCommandContext.js.map +1 -1
- package/dist/src/test-utils/render.d.ts +5 -1
- package/dist/src/test-utils/render.js +5 -1
- package/dist/src/test-utils/render.js.map +1 -1
- package/dist/src/ui/App.d.ts +1 -10
- package/dist/src/ui/App.js +26 -834
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/AppContainer.d.ts +17 -0
- package/dist/src/ui/AppContainer.js +1062 -0
- package/dist/src/ui/AppContainer.js.map +1 -0
- package/dist/src/ui/AppContainer.test.d.ts +6 -0
- package/dist/src/ui/AppContainer.test.js +831 -0
- package/dist/src/ui/AppContainer.test.js.map +1 -0
- package/dist/src/ui/IdeIntegrationNudge.d.ts +2 -2
- package/dist/src/ui/IdeIntegrationNudge.js +6 -8
- package/dist/src/ui/IdeIntegrationNudge.js.map +1 -1
- package/dist/src/ui/{components → auth}/AuthDialog.js +8 -4
- package/dist/src/ui/auth/AuthDialog.js.map +1 -0
- package/dist/src/ui/auth/AuthDialog.test.d.ts +6 -0
- package/dist/src/ui/{components → auth}/AuthDialog.test.js +92 -10
- package/dist/src/ui/auth/AuthDialog.test.js.map +1 -0
- package/dist/src/ui/{components → auth}/AuthInProgress.js +2 -2
- package/dist/src/ui/auth/AuthInProgress.js.map +1 -0
- package/dist/src/ui/{hooks/useAuthCommand.d.ts → auth/useAuth.d.ts} +9 -3
- package/dist/src/ui/{hooks/useAuthCommand.js → auth/useAuth.js} +49 -14
- package/dist/src/ui/auth/useAuth.js.map +1 -0
- package/dist/src/ui/commands/aboutCommand.js +9 -3
- package/dist/src/ui/commands/aboutCommand.js.map +1 -1
- package/dist/src/ui/commands/chatCommand.d.ts +2 -0
- package/dist/src/ui/commands/chatCommand.js +93 -3
- package/dist/src/ui/commands/chatCommand.js.map +1 -1
- package/dist/src/ui/commands/clearCommand.js +1 -1
- package/dist/src/ui/commands/clearCommand.js.map +1 -1
- package/dist/src/ui/commands/corgiCommand.js +1 -0
- package/dist/src/ui/commands/corgiCommand.js.map +1 -1
- package/dist/src/ui/commands/directoryCommand.js +2 -2
- package/dist/src/ui/commands/directoryCommand.js.map +1 -1
- package/dist/src/ui/commands/extensionsCommand.js +92 -15
- package/dist/src/ui/commands/extensionsCommand.js.map +1 -1
- package/dist/src/ui/commands/ideCommand.d.ts +1 -2
- package/dist/src/ui/commands/ideCommand.js +19 -10
- package/dist/src/ui/commands/ideCommand.js.map +1 -1
- package/dist/src/ui/commands/mcpCommand.js +88 -261
- package/dist/src/ui/commands/mcpCommand.js.map +1 -1
- package/dist/src/ui/commands/memoryCommand.js +1 -1
- package/dist/src/ui/commands/memoryCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.js +1 -16
- package/dist/src/ui/commands/modelCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.test.js +10 -11
- package/dist/src/ui/commands/modelCommand.test.js.map +1 -1
- package/dist/src/ui/commands/summaryCommand.js +1 -1
- package/dist/src/ui/commands/summaryCommand.js.map +1 -1
- package/dist/src/ui/commands/toolsCommand.js +10 -24
- package/dist/src/ui/commands/toolsCommand.js.map +1 -1
- package/dist/src/ui/commands/types.d.ts +7 -2
- package/dist/src/ui/commands/types.js +0 -1
- package/dist/src/ui/commands/types.js.map +1 -1
- package/dist/src/ui/components/AboutBox.js +2 -2
- package/dist/src/ui/components/AboutBox.js.map +1 -1
- package/dist/src/ui/components/AnsiOutput.d.ts +13 -0
- package/dist/src/ui/components/AnsiOutput.js +12 -0
- package/dist/src/ui/components/AnsiOutput.js.map +1 -0
- package/dist/src/ui/components/AnsiOutput.test.d.ts +6 -0
- package/dist/src/ui/components/AnsiOutput.test.js +97 -0
- package/dist/src/ui/components/AnsiOutput.test.js.map +1 -0
- package/dist/src/ui/components/AppHeader.d.ts +10 -0
- package/dist/src/ui/components/AppHeader.js +19 -0
- package/dist/src/ui/components/AppHeader.js.map +1 -0
- package/dist/src/ui/components/AutoAcceptIndicator.js +5 -5
- package/dist/src/ui/components/AutoAcceptIndicator.js.map +1 -1
- package/dist/src/ui/components/Composer.d.ts +6 -0
- package/dist/src/ui/components/Composer.js +54 -0
- package/dist/src/ui/components/Composer.js.map +1 -0
- package/dist/src/ui/components/Composer.test.d.ts +6 -0
- package/dist/src/ui/components/Composer.test.js +337 -0
- package/dist/src/ui/components/Composer.test.js.map +1 -0
- package/dist/src/ui/components/ConfigInitDisplay.d.ts +6 -0
- package/dist/src/ui/components/ConfigInitDisplay.js +38 -0
- package/dist/src/ui/components/ConfigInitDisplay.js.map +1 -0
- package/dist/src/ui/components/ConsentPrompt.d.ts +13 -0
- package/dist/src/ui/components/ConsentPrompt.js +19 -0
- package/dist/src/ui/components/ConsentPrompt.js.map +1 -0
- package/dist/src/ui/components/ConsentPrompt.test.d.ts +6 -0
- package/dist/src/ui/components/ConsentPrompt.test.js +67 -0
- package/dist/src/ui/components/ConsentPrompt.test.js.map +1 -0
- package/dist/src/ui/components/ConsoleSummaryDisplay.js +2 -2
- package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/ContextSummaryDisplay.js +3 -3
- package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/ContextUsageDisplay.d.ts +2 -1
- package/dist/src/ui/components/ContextUsageDisplay.js +5 -3
- package/dist/src/ui/components/ContextUsageDisplay.js.map +1 -1
- package/dist/src/ui/components/DebugProfiler.js +2 -2
- package/dist/src/ui/components/DebugProfiler.js.map +1 -1
- package/dist/src/ui/components/DetailedMessagesDisplay.js +7 -7
- package/dist/src/ui/components/DetailedMessagesDisplay.js.map +1 -1
- package/dist/src/ui/components/DialogManager.d.ts +12 -0
- package/dist/src/ui/components/DialogManager.js +129 -0
- package/dist/src/ui/components/DialogManager.js.map +1 -0
- package/dist/src/ui/components/EditorSettingsDialog.js +16 -7
- package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -1
- package/dist/src/ui/components/ExitWarning.d.ts +7 -0
- package/dist/src/ui/components/ExitWarning.js +9 -0
- package/dist/src/ui/components/ExitWarning.js.map +1 -0
- package/dist/src/ui/components/FolderTrustDialog.js +22 -9
- package/dist/src/ui/components/FolderTrustDialog.js.map +1 -1
- package/dist/src/ui/components/FolderTrustDialog.test.js +37 -12
- package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -1
- package/dist/src/ui/components/Footer.d.ts +1 -17
- package/dist/src/ui/components/Footer.js +33 -11
- package/dist/src/ui/components/Footer.js.map +1 -1
- package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +5 -0
- package/dist/src/ui/components/GeminiRespondingSpinner.js +7 -2
- package/dist/src/ui/components/GeminiRespondingSpinner.js.map +1 -1
- package/dist/src/ui/components/Header.js +2 -2
- package/dist/src/ui/components/Header.js.map +1 -1
- package/dist/src/ui/components/Help.d.ts +1 -1
- package/dist/src/ui/components/Help.js +9 -6
- package/dist/src/ui/components/Help.js.map +1 -1
- package/dist/src/ui/components/Help.test.d.ts +6 -0
- package/dist/src/ui/components/Help.test.js +57 -0
- package/dist/src/ui/components/Help.test.js.map +1 -0
- package/dist/src/ui/components/HistoryItemDisplay.d.ts +5 -4
- package/dist/src/ui/components/HistoryItemDisplay.js +13 -4
- package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.test.js +90 -9
- package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -1
- package/dist/src/ui/components/IdeTrustChangeDialog.d.ts +11 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.js +32 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.js.map +1 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.d.ts +6 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.js +57 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.js.map +1 -0
- package/dist/src/ui/components/InputPrompt.d.ts +9 -0
- package/dist/src/ui/components/InputPrompt.js +192 -45
- package/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.js +2 -2
- package/dist/src/ui/components/LoadingIndicator.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.test.js +4 -0
- package/dist/src/ui/components/LoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/components/LoopDetectionConfirmation.d.ts +13 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.js +37 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.js.map +1 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.d.ts +6 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.js +28 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.js.map +1 -0
- package/dist/src/ui/components/MainContent.d.ts +6 -0
- package/dist/src/ui/components/MainContent.js +28 -0
- package/dist/src/ui/components/MainContent.js.map +1 -0
- package/dist/src/ui/components/MemoryUsageDisplay.js +6 -4
- package/dist/src/ui/components/MemoryUsageDisplay.js.map +1 -1
- package/dist/src/ui/components/ModelDialog.d.ts +11 -0
- package/dist/src/ui/components/ModelDialog.js +42 -0
- package/dist/src/ui/components/ModelDialog.js.map +1 -0
- package/dist/src/ui/components/ModelDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ModelDialog.test.js +158 -0
- package/dist/src/ui/components/ModelDialog.test.js.map +1 -0
- package/dist/src/ui/components/ModelStatsDisplay.js +7 -7
- package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -1
- package/dist/src/ui/components/ModelSwitchDialog.js +3 -0
- package/dist/src/ui/components/ModelSwitchDialog.js.map +1 -1
- package/dist/src/ui/components/ModelSwitchDialog.test.js +3 -0
- package/dist/src/ui/components/ModelSwitchDialog.test.js.map +1 -1
- package/dist/src/ui/components/Notifications.d.ts +6 -0
- package/dist/src/ui/components/Notifications.js +23 -0
- package/dist/src/ui/components/Notifications.js.map +1 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.js +63 -39
- package/dist/src/ui/components/OpenAIKeyPrompt.js.map +1 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js +8 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +1 -1
- package/dist/src/ui/components/PermissionsModifyTrustDialog.d.ts +13 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.js +48 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.js.map +1 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.d.ts +6 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js +154 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js.map +1 -0
- package/dist/src/ui/components/PrepareLabel.d.ts +5 -5
- package/dist/src/ui/components/PrepareLabel.js +67 -11
- package/dist/src/ui/components/PrepareLabel.js.map +1 -1
- package/dist/src/ui/components/PrepareLabel.test.d.ts +6 -0
- package/dist/src/ui/components/PrepareLabel.test.js +71 -0
- package/dist/src/ui/components/PrepareLabel.test.js.map +1 -0
- package/dist/src/ui/components/ProQuotaDialog.d.ts +13 -0
- package/dist/src/ui/components/ProQuotaDialog.js +23 -0
- package/dist/src/ui/components/ProQuotaDialog.js.map +1 -0
- package/dist/src/ui/components/ProQuotaDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ProQuotaDialog.test.js +58 -0
- package/dist/src/ui/components/ProQuotaDialog.test.js.map +1 -0
- package/dist/src/ui/components/QueuedMessageDisplay.d.ts +9 -0
- package/dist/src/ui/components/QueuedMessageDisplay.js +20 -0
- package/dist/src/ui/components/QueuedMessageDisplay.js.map +1 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.d.ts +6 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.js +56 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.js.map +1 -0
- package/dist/src/ui/components/QuitConfirmationDialog.js +4 -0
- package/dist/src/ui/components/QuitConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/QuittingDisplay.d.ts +6 -0
- package/dist/src/ui/components/QuittingDisplay.js +20 -0
- package/dist/src/ui/components/QuittingDisplay.js.map +1 -0
- package/dist/src/ui/components/QwenOAuthProgress.js +5 -4
- package/dist/src/ui/components/QwenOAuthProgress.js.map +1 -1
- package/dist/src/ui/components/QwenOAuthProgress.test.js +82 -11
- package/dist/src/ui/components/QwenOAuthProgress.test.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.d.ts +2 -1
- package/dist/src/ui/components/SettingsDialog.js +97 -23
- package/dist/src/ui/components/SettingsDialog.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.test.js +474 -84
- package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
- package/dist/src/ui/components/ShellConfirmationDialog.js +5 -2
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/ShellInputPrompt.d.ts +11 -0
- package/dist/src/ui/components/ShellInputPrompt.js +36 -0
- package/dist/src/ui/components/ShellInputPrompt.js.map +1 -0
- package/dist/src/ui/components/ShellModeIndicator.js +2 -2
- package/dist/src/ui/components/ShellModeIndicator.js.map +1 -1
- package/dist/src/ui/components/ShowMoreLines.js +2 -2
- package/dist/src/ui/components/ShowMoreLines.js.map +1 -1
- package/dist/src/ui/components/StatsDisplay.js +6 -6
- package/dist/src/ui/components/StatsDisplay.js.map +1 -1
- package/dist/src/ui/components/SuggestionsDisplay.d.ts +7 -2
- package/dist/src/ui/components/SuggestionsDisplay.js +17 -17
- package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.js +14 -29
- package/dist/src/ui/components/ThemeDialog.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ThemeDialog.test.js +75 -0
- package/dist/src/ui/components/ThemeDialog.test.js.map +1 -0
- package/dist/src/ui/components/Tips.js +2 -2
- package/dist/src/ui/components/Tips.js.map +1 -1
- package/dist/src/ui/components/ToolStatsDisplay.js +4 -4
- package/dist/src/ui/components/ToolStatsDisplay.js.map +1 -1
- package/dist/src/ui/components/UpdateNotification.js +2 -2
- package/dist/src/ui/components/UpdateNotification.js.map +1 -1
- package/dist/src/ui/components/WelcomeBackDialog.js +2 -0
- package/dist/src/ui/components/WelcomeBackDialog.js.map +1 -1
- package/dist/src/ui/components/WorkspaceMigrationDialog.js +14 -11
- package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +1 -1
- package/dist/src/ui/components/messages/CompressionMessage.d.ts +1 -2
- package/dist/src/ui/components/messages/CompressionMessage.js +37 -8
- package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -1
- package/dist/src/ui/components/messages/CompressionMessage.test.d.ts +6 -0
- package/dist/src/ui/components/messages/CompressionMessage.test.js +160 -0
- package/dist/src/ui/components/messages/CompressionMessage.test.js.map +1 -0
- package/dist/src/ui/components/messages/DiffRenderer.d.ts +2 -1
- package/dist/src/ui/components/messages/DiffRenderer.js +14 -22
- package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -1
- package/dist/src/ui/components/messages/ErrorMessage.js +2 -2
- package/dist/src/ui/components/messages/ErrorMessage.js.map +1 -1
- package/dist/src/ui/components/messages/GeminiMessage.js +2 -2
- package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -1
- package/dist/src/ui/components/messages/InfoMessage.js +2 -2
- package/dist/src/ui/components/messages/InfoMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +53 -21
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +0 -8
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +3 -2
- package/dist/src/ui/components/messages/ToolGroupMessage.js +18 -10
- package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js +17 -15
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.d.ts +3 -1
- package/dist/src/ui/components/messages/ToolMessage.js +53 -11
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.test.js +34 -1
- package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/UserMessage.js +3 -4
- package/dist/src/ui/components/messages/UserMessage.js.map +1 -1
- package/dist/src/ui/components/messages/UserShellMessage.js +2 -2
- package/dist/src/ui/components/messages/UserShellMessage.js.map +1 -1
- package/dist/src/ui/components/messages/WarningMessage.d.ts +11 -0
- package/dist/src/ui/components/messages/WarningMessage.js +10 -0
- package/dist/src/ui/components/messages/WarningMessage.js.map +1 -0
- package/dist/src/ui/components/shared/BaseSelectionList.d.ts +38 -0
- package/dist/src/ui/components/shared/BaseSelectionList.js +72 -0
- package/dist/src/ui/components/shared/BaseSelectionList.js.map +1 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.d.ts +6 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.js +376 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.js.map +1 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.d.ts +35 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js +13 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js.map +1 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.d.ts +6 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js +79 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js.map +1 -0
- package/dist/src/ui/components/shared/EnumSelector.d.ts +18 -0
- package/dist/src/ui/components/shared/EnumSelector.js +44 -0
- package/dist/src/ui/components/shared/EnumSelector.js.map +1 -0
- package/dist/src/ui/components/shared/EnumSelector.test.d.ts +6 -0
- package/dist/src/ui/components/shared/EnumSelector.test.js +70 -0
- package/dist/src/ui/components/shared/EnumSelector.test.js.map +1 -0
- package/dist/src/ui/components/shared/MaxSizedBox.js +2 -2
- package/dist/src/ui/components/shared/MaxSizedBox.js.map +1 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +2 -3
- package/dist/src/ui/components/shared/RadioButtonSelect.js +10 -105
- package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js +115 -92
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +1 -1
- package/dist/src/ui/components/shared/ScopeSelector.d.ts +19 -0
- package/dist/src/ui/components/shared/ScopeSelector.js +14 -0
- package/dist/src/ui/components/shared/ScopeSelector.js.map +1 -0
- package/dist/src/ui/components/shared/text-buffer.d.ts +25 -2
- package/dist/src/ui/components/shared/text-buffer.js +296 -187
- package/dist/src/ui/components/shared/text-buffer.js.map +1 -1
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +2 -3
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +1 -1
- package/dist/src/ui/components/subagents/create/ColorSelector.js +3 -2
- package/dist/src/ui/components/subagents/create/ColorSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/CreationSummary.js +6 -5
- package/dist/src/ui/components/subagents/create/CreationSummary.js.map +1 -1
- package/dist/src/ui/components/subagents/create/DescriptionInput.js +2 -3
- package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +1 -1
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +1 -0
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/LocationSelector.js +1 -0
- package/dist/src/ui/components/subagents/create/LocationSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/TextEntryStep.js +2 -2
- package/dist/src/ui/components/subagents/create/TextEntryStep.js.map +1 -1
- package/dist/src/ui/components/subagents/create/ToolSelector.js +4 -3
- package/dist/src/ui/components/subagents/create/ToolSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +4 -4
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentEditStep.js +1 -0
- package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +1 -2
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +1 -2
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +1 -1
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +9 -10
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +1 -1
- package/dist/src/ui/components/views/ExtensionsList.d.ts +6 -0
- package/dist/src/ui/components/views/ExtensionsList.js +47 -0
- package/dist/src/ui/components/views/ExtensionsList.js.map +1 -0
- package/dist/src/ui/components/views/ExtensionsList.test.d.ts +6 -0
- package/dist/src/ui/components/views/ExtensionsList.test.js +97 -0
- package/dist/src/ui/components/views/ExtensionsList.test.js.map +1 -0
- package/dist/src/ui/components/views/McpStatus.d.ts +27 -0
- package/dist/src/ui/components/views/McpStatus.js +77 -0
- package/dist/src/ui/components/views/McpStatus.js.map +1 -0
- package/dist/src/ui/components/views/McpStatus.test.d.ts +6 -0
- package/dist/src/ui/components/views/McpStatus.test.js +117 -0
- package/dist/src/ui/components/views/McpStatus.test.js.map +1 -0
- package/dist/src/ui/components/views/ToolsList.d.ts +14 -0
- package/dist/src/ui/components/views/ToolsList.js +7 -0
- package/dist/src/ui/components/views/ToolsList.js.map +1 -0
- package/dist/src/ui/components/views/ToolsList.test.d.ts +6 -0
- package/dist/src/ui/components/views/ToolsList.test.js +45 -0
- package/dist/src/ui/components/views/ToolsList.test.js.map +1 -0
- package/dist/src/ui/constants.d.ts +1 -0
- package/dist/src/ui/constants.js +1 -0
- package/dist/src/ui/constants.js.map +1 -1
- package/dist/src/ui/contexts/AppContext.d.ts +11 -0
- package/dist/src/ui/contexts/AppContext.js +15 -0
- package/dist/src/ui/contexts/AppContext.js.map +1 -0
- package/dist/src/ui/contexts/ConfigContext.d.ts +9 -0
- package/dist/src/ui/contexts/ConfigContext.js +16 -0
- package/dist/src/ui/contexts/ConfigContext.js.map +1 -0
- package/dist/src/ui/contexts/KeypressContext.d.ts +3 -0
- package/dist/src/ui/contexts/KeypressContext.js +309 -44
- package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.test.js +288 -2
- package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
- package/dist/src/ui/contexts/SessionContext.d.ts +6 -0
- package/dist/src/ui/contexts/SessionContext.js +107 -5
- package/dist/src/ui/contexts/SessionContext.js.map +1 -1
- package/dist/src/ui/contexts/ShellFocusContext.d.ts +7 -0
- package/dist/src/ui/contexts/ShellFocusContext.js +9 -0
- package/dist/src/ui/contexts/ShellFocusContext.js.map +1 -0
- package/dist/src/ui/contexts/UIActionsContext.d.ts +45 -0
- package/dist/src/ui/contexts/UIActionsContext.js +21 -0
- package/dist/src/ui/contexts/UIActionsContext.js.map +1 -0
- package/dist/src/ui/contexts/UIStateContext.d.ts +117 -0
- package/dist/src/ui/contexts/UIStateContext.js +17 -0
- package/dist/src/ui/contexts/UIStateContext.js.map +1 -0
- package/dist/src/ui/hooks/atCommandProcessor.js +12 -12
- package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.js +21 -19
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/keyToAnsi.d.ts +15 -0
- package/dist/src/ui/hooks/keyToAnsi.js +67 -0
- package/dist/src/ui/hooks/keyToAnsi.js.map +1 -0
- package/dist/src/ui/hooks/shellCommandProcessor.d.ts +2 -1
- package/dist/src/ui/hooks/shellCommandProcessor.js +65 -15
- package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/shellCommandProcessor.test.js +196 -17
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +20 -2
- package/dist/src/ui/hooks/slashCommandProcessor.js +41 -82
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/useAtCompletion.js +1 -1
- package/dist/src/ui/hooks/useAtCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +3 -2
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js +20 -18
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +1 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +43 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useExtensionUpdates.d.ts +21 -0
- package/dist/src/ui/hooks/useExtensionUpdates.js +116 -0
- package/dist/src/ui/hooks/useExtensionUpdates.js.map +1 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.d.ts +6 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.js +243 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.js.map +1 -0
- package/dist/src/ui/hooks/useFocus.js +10 -0
- package/dist/src/ui/hooks/useFocus.js.map +1 -1
- package/dist/src/ui/hooks/useFolderTrust.js +6 -10
- package/dist/src/ui/hooks/useFolderTrust.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.d.ts +14 -3
- package/dist/src/ui/hooks/useGeminiStream.js +173 -79
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.js +15 -18
- package/dist/src/ui/hooks/useGitBranchName.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.test.js +49 -53
- package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
- package/dist/src/ui/hooks/useIdeTrustListener.d.ts +16 -0
- package/dist/src/ui/hooks/useIdeTrustListener.js +65 -0
- package/dist/src/ui/hooks/useIdeTrustListener.js.map +1 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.d.ts +6 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.js +183 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.js.map +1 -0
- package/dist/src/ui/hooks/useInputHistoryStore.d.ts +19 -0
- package/dist/src/ui/hooks/useInputHistoryStore.js +81 -0
- package/dist/src/ui/hooks/useInputHistoryStore.js.map +1 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.d.ts +6 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.js +234 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.js.map +1 -0
- package/dist/src/ui/hooks/useLoadingIndicator.d.ts +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.js +2 -2
- package/dist/src/ui/hooks/useLoadingIndicator.js.map +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.test.js +2 -2
- package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useMemoryMonitor.d.ts +13 -0
- package/dist/src/ui/hooks/useMemoryMonitor.js +28 -0
- package/dist/src/ui/hooks/useMemoryMonitor.js.map +1 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.d.ts +6 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.js +57 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.js.map +1 -0
- package/dist/src/ui/hooks/useMessageQueue.d.ts +2 -1
- package/dist/src/ui/hooks/useMessageQueue.js +5 -3
- package/dist/src/ui/hooks/useMessageQueue.js.map +1 -1
- package/dist/src/ui/hooks/useMessageQueue.test.js +9 -0
- package/dist/src/ui/hooks/useMessageQueue.test.js.map +1 -1
- package/dist/src/ui/hooks/useModelCommand.d.ts +12 -0
- package/dist/src/ui/hooks/useModelCommand.js +21 -0
- package/dist/src/ui/hooks/useModelCommand.js.map +1 -0
- package/dist/src/ui/hooks/useModelCommand.test.d.ts +6 -0
- package/dist/src/ui/hooks/useModelCommand.test.js +35 -0
- package/dist/src/ui/hooks/useModelCommand.test.js.map +1 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.d.ts +17 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.js +78 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.js.map +1 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.d.ts +6 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js +182 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js.map +1 -0
- package/dist/src/ui/hooks/usePhraseCycler.d.ts +1 -1
- package/dist/src/ui/hooks/usePhraseCycler.js +11 -8
- package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
- package/dist/src/ui/hooks/useQuotaAndFallback.d.ts +21 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.js +122 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.js.map +1 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.d.ts +6 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js +269 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js.map +1 -0
- package/dist/src/ui/hooks/useReactToolScheduler.d.ts +3 -2
- package/dist/src/ui/hooks/useReactToolScheduler.js +23 -17
- package/dist/src/ui/hooks/useReactToolScheduler.js.map +1 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +1 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.js +67 -20
- package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useSelectionList.d.ts +34 -0
- package/dist/src/ui/hooks/useSelectionList.js +245 -0
- package/dist/src/ui/hooks/useSelectionList.js.map +1 -0
- package/dist/src/ui/hooks/useSelectionList.test.d.ts +6 -0
- package/dist/src/ui/hooks/useSelectionList.test.js +701 -0
- package/dist/src/ui/hooks/useSelectionList.test.js.map +1 -0
- package/dist/src/ui/hooks/useSlashCompletion.d.ts +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.js +281 -67
- package/dist/src/ui/hooks/useSlashCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +4 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.js +390 -65
- package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -1
- package/dist/src/ui/hooks/useStateAndRef.d.ts +1 -1
- package/dist/src/ui/hooks/useStateAndRef.js +2 -2
- package/dist/src/ui/hooks/useStateAndRef.js.map +1 -1
- package/dist/src/ui/hooks/useThemeCommand.d.ts +1 -1
- package/dist/src/ui/hooks/useThemeCommand.js +3 -14
- package/dist/src/ui/hooks/useThemeCommand.js.map +1 -1
- package/dist/src/ui/hooks/useToolScheduler.test.js +64 -291
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
- package/dist/src/ui/hooks/useWelcomeBack.js +2 -2
- package/dist/src/ui/hooks/useWelcomeBack.js.map +1 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.js +2 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.js.map +1 -1
- package/dist/src/ui/keyMatchers.test.js +17 -0
- package/dist/src/ui/keyMatchers.test.js.map +1 -1
- package/dist/src/ui/layouts/DefaultAppLayout.d.ts +9 -0
- package/dist/src/ui/layouts/DefaultAppLayout.js +13 -0
- package/dist/src/ui/layouts/DefaultAppLayout.js.map +1 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.d.ts +7 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js +14 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js.map +1 -0
- package/dist/src/ui/models/availableModels.d.ts +3 -0
- package/dist/src/ui/models/availableModels.js +27 -3
- package/dist/src/ui/models/availableModels.js.map +1 -1
- package/dist/src/ui/noninteractive/nonInteractiveUi.d.ts +12 -0
- package/dist/src/ui/noninteractive/nonInteractiveUi.js +28 -0
- package/dist/src/ui/noninteractive/nonInteractiveUi.js.map +1 -0
- package/dist/src/ui/state/extensions.d.ts +42 -0
- package/dist/src/ui/state/extensions.js +62 -0
- package/dist/src/ui/state/extensions.js.map +1 -0
- package/dist/src/ui/themes/ayu.js +1 -1
- package/dist/src/ui/themes/dracula.js +2 -2
- package/dist/src/ui/themes/github-dark.js +1 -1
- package/dist/src/ui/themes/theme.js +19 -19
- package/dist/src/ui/themes/theme.js.map +1 -1
- package/dist/src/ui/types.d.ts +79 -3
- package/dist/src/ui/types.js +14 -0
- package/dist/src/ui/types.js.map +1 -1
- package/dist/src/ui/utils/CodeColorizer.js +3 -2
- package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
- package/dist/src/ui/utils/InlineMarkdownRenderer.js +7 -7
- package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.js +11 -11
- package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.test.js +95 -87
- package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -1
- package/dist/src/ui/utils/TableRenderer.js +4 -4
- package/dist/src/ui/utils/TableRenderer.js.map +1 -1
- package/dist/src/ui/utils/clipboardUtils.js +5 -6
- package/dist/src/ui/utils/clipboardUtils.js.map +1 -1
- package/dist/src/ui/utils/displayUtils.d.ts +1 -0
- package/dist/src/ui/utils/displayUtils.js +7 -4
- package/dist/src/ui/utils/displayUtils.js.map +1 -1
- package/dist/src/ui/utils/displayUtils.test.js +37 -18
- package/dist/src/ui/utils/displayUtils.test.js.map +1 -1
- package/dist/src/ui/utils/highlight.d.ts +11 -0
- package/dist/src/ui/utils/highlight.js +78 -0
- package/dist/src/ui/utils/highlight.js.map +1 -0
- package/dist/src/ui/utils/highlight.test.d.ts +6 -0
- package/dist/src/ui/utils/highlight.test.js +120 -0
- package/dist/src/ui/utils/highlight.test.js.map +1 -0
- package/dist/src/ui/utils/kittyProtocolDetector.js +39 -29
- package/dist/src/ui/utils/kittyProtocolDetector.js.map +1 -1
- package/dist/src/ui/utils/platformConstants.d.ts +24 -1
- package/dist/src/ui/utils/platformConstants.js +26 -1
- package/dist/src/ui/utils/platformConstants.js.map +1 -1
- package/dist/src/ui/utils/textUtils.d.ts +10 -0
- package/dist/src/ui/utils/textUtils.js +108 -3
- package/dist/src/ui/utils/textUtils.js.map +1 -1
- package/dist/src/ui/utils/textUtils.test.d.ts +6 -0
- package/dist/src/ui/utils/textUtils.test.js +132 -0
- package/dist/src/ui/utils/textUtils.test.js.map +1 -0
- package/dist/src/utils/commands.d.ts +20 -0
- package/dist/src/utils/commands.js +53 -0
- package/dist/src/utils/commands.js.map +1 -0
- package/dist/src/utils/commands.test.d.ts +6 -0
- package/dist/src/utils/commands.test.js +115 -0
- package/dist/src/utils/commands.test.js.map +1 -0
- package/dist/src/utils/commentJson.d.ts +9 -0
- package/dist/src/utils/commentJson.js +48 -0
- package/dist/src/utils/commentJson.js.map +1 -0
- package/dist/src/utils/commentJson.test.d.ts +6 -0
- package/dist/src/utils/commentJson.test.js +146 -0
- package/dist/src/utils/commentJson.test.js.map +1 -0
- package/dist/src/utils/deepMerge.d.ts +9 -0
- package/dist/src/utils/deepMerge.js +58 -0
- package/dist/src/utils/deepMerge.js.map +1 -0
- package/dist/src/utils/deepMerge.test.d.ts +6 -0
- package/dist/src/utils/deepMerge.test.js +143 -0
- package/dist/src/utils/deepMerge.test.js.map +1 -0
- package/dist/src/utils/envVarResolver.d.ts +39 -0
- package/dist/src/utils/envVarResolver.js +97 -0
- package/dist/src/utils/envVarResolver.js.map +1 -0
- package/dist/src/utils/envVarResolver.test.d.ts +6 -0
- package/dist/src/utils/envVarResolver.test.js +221 -0
- package/dist/src/utils/envVarResolver.test.js.map +1 -0
- package/dist/src/utils/errors.d.ts +21 -0
- package/dist/src/utils/errors.js +93 -0
- package/dist/src/utils/errors.js.map +1 -1
- package/dist/src/utils/errors.test.d.ts +6 -0
- package/dist/src/utils/errors.test.js +303 -0
- package/dist/src/utils/errors.test.js.map +1 -0
- package/dist/src/utils/events.d.ts +2 -1
- package/dist/src/utils/events.js +1 -0
- package/dist/src/utils/events.js.map +1 -1
- package/dist/src/utils/math.d.ts +13 -0
- package/dist/src/utils/math.js +14 -0
- package/dist/src/utils/math.js.map +1 -0
- package/dist/src/utils/processUtils.d.ts +13 -0
- package/dist/src/utils/processUtils.js +18 -0
- package/dist/src/utils/processUtils.js.map +1 -0
- package/dist/src/utils/processUtils.test.d.ts +6 -0
- package/dist/src/utils/processUtils.test.js +20 -0
- package/dist/src/utils/processUtils.test.js.map +1 -0
- package/dist/src/utils/relaunch.d.ts +7 -0
- package/dist/src/utils/relaunch.js +57 -0
- package/dist/src/utils/relaunch.js.map +1 -0
- package/dist/src/utils/relaunch.test.d.ts +6 -0
- package/dist/src/utils/relaunch.test.js +273 -0
- package/dist/src/utils/relaunch.test.js.map +1 -0
- package/dist/src/utils/sandbox.d.ts +1 -1
- package/dist/src/utils/sandbox.js +42 -17
- package/dist/src/utils/sandbox.js.map +1 -1
- package/dist/src/utils/settingsUtils.d.ts +16 -6
- package/dist/src/utils/settingsUtils.js +35 -25
- package/dist/src/utils/settingsUtils.js.map +1 -1
- package/dist/src/utils/settingsUtils.test.js +455 -158
- package/dist/src/utils/settingsUtils.test.js.map +1 -1
- package/dist/src/utils/userStartupWarnings.d.ts +1 -1
- package/dist/src/utils/userStartupWarnings.js +1 -1
- package/dist/src/utils/userStartupWarnings.js.map +1 -1
- package/dist/src/utils/windowTitle.d.ts +12 -0
- package/dist/src/utils/windowTitle.js +19 -0
- package/dist/src/utils/windowTitle.js.map +1 -0
- package/dist/src/utils/windowTitle.test.d.ts +6 -0
- package/dist/src/utils/windowTitle.test.js +49 -0
- package/dist/src/utils/windowTitle.test.js.map +1 -0
- package/dist/src/validateNonInterActiveAuth.d.ts +4 -2
- package/dist/src/validateNonInterActiveAuth.js +33 -12
- package/dist/src/validateNonInterActiveAuth.js.map +1 -1
- package/dist/src/zed-integration/fileSystemService.d.ts +1 -0
- package/dist/src/zed-integration/fileSystemService.js +3 -0
- package/dist/src/zed-integration/fileSystemService.js.map +1 -1
- package/dist/src/zed-integration/schema.d.ts +310 -310
- package/dist/src/zed-integration/zedIntegration.d.ts +8 -1
- package/dist/src/zed-integration/zedIntegration.js +32 -15
- package/dist/src/zed-integration/zedIntegration.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -10
- package/dist/src/ui/components/AuthDialog.js.map +0 -1
- package/dist/src/ui/components/AuthDialog.test.js.map +0 -1
- package/dist/src/ui/components/AuthInProgress.js.map +0 -1
- package/dist/src/ui/components/ModelSelectionDialog.d.ts +0 -14
- package/dist/src/ui/components/ModelSelectionDialog.js +0 -26
- package/dist/src/ui/components/ModelSelectionDialog.js.map +0 -1
- package/dist/src/ui/components/ModelSelectionDialog.test.js +0 -124
- package/dist/src/ui/components/ModelSelectionDialog.test.js.map +0 -1
- package/dist/src/ui/hooks/useAuthCommand.js.map +0 -1
- /package/dist/src/{ui/components/AuthDialog.test.d.ts → commands/extensions/new.test.d.ts} +0 -0
- /package/dist/src/ui/{components → auth}/AuthDialog.d.ts +0 -0
- /package/dist/src/ui/{components → auth}/AuthInProgress.d.ts +0 -0
|
@@ -5,18 +5,39 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { MCPServerConfig, BugCommandSettings, TelemetrySettings, AuthType, ChatCompressionSettings } from '@rdmind/rdmind-core';
|
|
7
7
|
import type { CustomTheme } from '../ui/themes/theme.js';
|
|
8
|
+
export type SettingsType = 'boolean' | 'string' | 'number' | 'array' | 'object' | 'enum';
|
|
9
|
+
export type SettingsValue = boolean | string | number | string[] | object | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Setting datatypes that "toggle" through a fixed list of options
|
|
12
|
+
* (e.g. an enum or true/false) rather than allowing for free form input
|
|
13
|
+
* (like a number or string).
|
|
14
|
+
*/
|
|
15
|
+
export declare const TOGGLE_TYPES: ReadonlySet<SettingsType | undefined>;
|
|
16
|
+
export interface SettingEnumOption {
|
|
17
|
+
value: string | number;
|
|
18
|
+
label: string;
|
|
19
|
+
}
|
|
20
|
+
export declare enum MergeStrategy {
|
|
21
|
+
REPLACE = "replace",
|
|
22
|
+
CONCAT = "concat",
|
|
23
|
+
UNION = "union",
|
|
24
|
+
SHALLOW_MERGE = "shallow_merge"
|
|
25
|
+
}
|
|
8
26
|
export interface SettingDefinition {
|
|
9
|
-
type:
|
|
27
|
+
type: SettingsType;
|
|
10
28
|
label: string;
|
|
11
29
|
category: string;
|
|
12
30
|
requiresRestart: boolean;
|
|
13
|
-
default:
|
|
31
|
+
default: SettingsValue;
|
|
14
32
|
description?: string;
|
|
15
33
|
parentKey?: string;
|
|
16
34
|
childKey?: string;
|
|
17
35
|
key?: string;
|
|
18
36
|
properties?: SettingsSchema;
|
|
19
37
|
showInDialog?: boolean;
|
|
38
|
+
mergeStrategy?: MergeStrategy;
|
|
39
|
+
/** Enum type options */
|
|
40
|
+
options?: readonly SettingEnumOption[];
|
|
20
41
|
}
|
|
21
42
|
export interface SettingsSchema {
|
|
22
43
|
[key: string]: SettingDefinition;
|
|
@@ -28,7 +49,7 @@ export type DnsResolutionOrder = 'ipv4first' | 'verbatim';
|
|
|
28
49
|
* The structure of this object defines the structure of the `Settings` type.
|
|
29
50
|
* `as const` is crucial for TypeScript to infer the most specific types possible.
|
|
30
51
|
*/
|
|
31
|
-
|
|
52
|
+
declare const SETTINGS_SCHEMA: {
|
|
32
53
|
readonly mcpServers: {
|
|
33
54
|
readonly type: "object";
|
|
34
55
|
readonly label: "MCP Servers";
|
|
@@ -37,6 +58,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
37
58
|
readonly default: Record<string, MCPServerConfig>;
|
|
38
59
|
readonly description: "Configuration for MCP servers.";
|
|
39
60
|
readonly showInDialog: false;
|
|
61
|
+
readonly mergeStrategy: MergeStrategy.SHALLOW_MERGE;
|
|
40
62
|
};
|
|
41
63
|
readonly general: {
|
|
42
64
|
readonly type: "object";
|
|
@@ -123,6 +145,33 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
123
145
|
};
|
|
124
146
|
};
|
|
125
147
|
};
|
|
148
|
+
readonly output: {
|
|
149
|
+
readonly type: "object";
|
|
150
|
+
readonly label: "Output";
|
|
151
|
+
readonly category: "General";
|
|
152
|
+
readonly requiresRestart: false;
|
|
153
|
+
readonly default: {};
|
|
154
|
+
readonly description: "Settings for the CLI output.";
|
|
155
|
+
readonly showInDialog: false;
|
|
156
|
+
readonly properties: {
|
|
157
|
+
readonly format: {
|
|
158
|
+
readonly type: "enum";
|
|
159
|
+
readonly label: "Output Format";
|
|
160
|
+
readonly category: "General";
|
|
161
|
+
readonly requiresRestart: false;
|
|
162
|
+
readonly default: "text";
|
|
163
|
+
readonly description: "The format of the CLI output.";
|
|
164
|
+
readonly showInDialog: true;
|
|
165
|
+
readonly options: readonly [{
|
|
166
|
+
readonly value: "text";
|
|
167
|
+
readonly label: "Text";
|
|
168
|
+
}, {
|
|
169
|
+
readonly value: "json";
|
|
170
|
+
readonly label: "JSON";
|
|
171
|
+
}];
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
126
175
|
readonly ui: {
|
|
127
176
|
readonly type: "object";
|
|
128
177
|
readonly label: "UI";
|
|
@@ -159,6 +208,15 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
159
208
|
readonly description: "Hide the window title bar";
|
|
160
209
|
readonly showInDialog: true;
|
|
161
210
|
};
|
|
211
|
+
readonly showStatusInTitle: {
|
|
212
|
+
readonly type: "boolean";
|
|
213
|
+
readonly label: "Show Status in Title";
|
|
214
|
+
readonly category: "UI";
|
|
215
|
+
readonly requiresRestart: false;
|
|
216
|
+
readonly default: false;
|
|
217
|
+
readonly description: "Show Gemini CLI status and thoughts in the terminal window title";
|
|
218
|
+
readonly showInDialog: true;
|
|
219
|
+
};
|
|
162
220
|
readonly hideTips: {
|
|
163
221
|
readonly type: "boolean";
|
|
164
222
|
readonly label: "Hide Tips";
|
|
@@ -177,6 +235,53 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
177
235
|
readonly description: "Hide the application banner";
|
|
178
236
|
readonly showInDialog: true;
|
|
179
237
|
};
|
|
238
|
+
readonly hideContextSummary: {
|
|
239
|
+
readonly type: "boolean";
|
|
240
|
+
readonly label: "Hide Context Summary";
|
|
241
|
+
readonly category: "UI";
|
|
242
|
+
readonly requiresRestart: false;
|
|
243
|
+
readonly default: false;
|
|
244
|
+
readonly description: "Hide the context summary (GEMINI.md, MCP servers) above the input.";
|
|
245
|
+
readonly showInDialog: true;
|
|
246
|
+
};
|
|
247
|
+
readonly footer: {
|
|
248
|
+
readonly type: "object";
|
|
249
|
+
readonly label: "Footer";
|
|
250
|
+
readonly category: "UI";
|
|
251
|
+
readonly requiresRestart: false;
|
|
252
|
+
readonly default: {};
|
|
253
|
+
readonly description: "Settings for the footer.";
|
|
254
|
+
readonly showInDialog: false;
|
|
255
|
+
readonly properties: {
|
|
256
|
+
readonly hideCWD: {
|
|
257
|
+
readonly type: "boolean";
|
|
258
|
+
readonly label: "Hide CWD";
|
|
259
|
+
readonly category: "UI";
|
|
260
|
+
readonly requiresRestart: false;
|
|
261
|
+
readonly default: false;
|
|
262
|
+
readonly description: "Hide the current working directory path in the footer.";
|
|
263
|
+
readonly showInDialog: true;
|
|
264
|
+
};
|
|
265
|
+
readonly hideSandboxStatus: {
|
|
266
|
+
readonly type: "boolean";
|
|
267
|
+
readonly label: "Hide Sandbox Status";
|
|
268
|
+
readonly category: "UI";
|
|
269
|
+
readonly requiresRestart: false;
|
|
270
|
+
readonly default: false;
|
|
271
|
+
readonly description: "Hide the sandbox status indicator in the footer.";
|
|
272
|
+
readonly showInDialog: true;
|
|
273
|
+
};
|
|
274
|
+
readonly hideModelInfo: {
|
|
275
|
+
readonly type: "boolean";
|
|
276
|
+
readonly label: "Hide Model Info";
|
|
277
|
+
readonly category: "UI";
|
|
278
|
+
readonly requiresRestart: false;
|
|
279
|
+
readonly default: false;
|
|
280
|
+
readonly description: "Hide the model name and context usage in the footer.";
|
|
281
|
+
readonly showInDialog: true;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
180
285
|
readonly hideFooter: {
|
|
181
286
|
readonly type: "boolean";
|
|
182
287
|
readonly label: "Hide Footer";
|
|
@@ -204,6 +309,33 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
204
309
|
readonly description: "Show line numbers in the chat.";
|
|
205
310
|
readonly showInDialog: true;
|
|
206
311
|
};
|
|
312
|
+
readonly showCitations: {
|
|
313
|
+
readonly type: "boolean";
|
|
314
|
+
readonly label: "Show Citations";
|
|
315
|
+
readonly category: "UI";
|
|
316
|
+
readonly requiresRestart: false;
|
|
317
|
+
readonly default: false;
|
|
318
|
+
readonly description: "Show citations for generated text in the chat.";
|
|
319
|
+
readonly showInDialog: true;
|
|
320
|
+
};
|
|
321
|
+
readonly customWittyPhrases: {
|
|
322
|
+
readonly type: "array";
|
|
323
|
+
readonly label: "Custom Witty Phrases";
|
|
324
|
+
readonly category: "UI";
|
|
325
|
+
readonly requiresRestart: false;
|
|
326
|
+
readonly default: string[];
|
|
327
|
+
readonly description: "Custom witty phrases to display during loading.";
|
|
328
|
+
readonly showInDialog: false;
|
|
329
|
+
};
|
|
330
|
+
readonly enableWelcomeBack: {
|
|
331
|
+
readonly type: "boolean";
|
|
332
|
+
readonly label: "Enable Welcome Back";
|
|
333
|
+
readonly category: "UI";
|
|
334
|
+
readonly requiresRestart: false;
|
|
335
|
+
readonly default: true;
|
|
336
|
+
readonly description: "Show welcome back dialog when returning to a project with conversation history.";
|
|
337
|
+
readonly showInDialog: true;
|
|
338
|
+
};
|
|
207
339
|
readonly accessibility: {
|
|
208
340
|
readonly type: "object";
|
|
209
341
|
readonly label: "Accessibility";
|
|
@@ -340,15 +472,86 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
340
472
|
readonly description: "Chat compression settings.";
|
|
341
473
|
readonly showInDialog: false;
|
|
342
474
|
};
|
|
475
|
+
readonly sessionTokenLimit: {
|
|
476
|
+
readonly type: "number";
|
|
477
|
+
readonly label: "Session Token Limit";
|
|
478
|
+
readonly category: "Model";
|
|
479
|
+
readonly requiresRestart: false;
|
|
480
|
+
readonly default: number | undefined;
|
|
481
|
+
readonly description: "The maximum number of tokens allowed in a session.";
|
|
482
|
+
readonly showInDialog: false;
|
|
483
|
+
};
|
|
343
484
|
readonly skipNextSpeakerCheck: {
|
|
344
485
|
readonly type: "boolean";
|
|
345
486
|
readonly label: "Skip Next Speaker Check";
|
|
346
487
|
readonly category: "Model";
|
|
347
488
|
readonly requiresRestart: false;
|
|
348
|
-
readonly default:
|
|
489
|
+
readonly default: true;
|
|
349
490
|
readonly description: "Skip the next speaker check.";
|
|
350
491
|
readonly showInDialog: true;
|
|
351
492
|
};
|
|
493
|
+
readonly skipLoopDetection: {
|
|
494
|
+
readonly type: "boolean";
|
|
495
|
+
readonly label: "Skip Loop Detection";
|
|
496
|
+
readonly category: "Model";
|
|
497
|
+
readonly requiresRestart: false;
|
|
498
|
+
readonly default: false;
|
|
499
|
+
readonly description: "Disable all loop detection checks (streaming and LLM).";
|
|
500
|
+
readonly showInDialog: true;
|
|
501
|
+
};
|
|
502
|
+
readonly enableOpenAILogging: {
|
|
503
|
+
readonly type: "boolean";
|
|
504
|
+
readonly label: "Enable OpenAI Logging";
|
|
505
|
+
readonly category: "Model";
|
|
506
|
+
readonly requiresRestart: false;
|
|
507
|
+
readonly default: false;
|
|
508
|
+
readonly description: "Enable OpenAI logging.";
|
|
509
|
+
readonly showInDialog: true;
|
|
510
|
+
};
|
|
511
|
+
readonly generationConfig: {
|
|
512
|
+
readonly type: "object";
|
|
513
|
+
readonly label: "Generation Configuration";
|
|
514
|
+
readonly category: "Model";
|
|
515
|
+
readonly requiresRestart: false;
|
|
516
|
+
readonly default: Record<string, unknown> | undefined;
|
|
517
|
+
readonly description: "Generation configuration settings.";
|
|
518
|
+
readonly showInDialog: false;
|
|
519
|
+
readonly properties: {
|
|
520
|
+
readonly timeout: {
|
|
521
|
+
readonly type: "number";
|
|
522
|
+
readonly label: "Timeout";
|
|
523
|
+
readonly category: "Generation Configuration";
|
|
524
|
+
readonly requiresRestart: false;
|
|
525
|
+
readonly default: number | undefined;
|
|
526
|
+
readonly description: "Request timeout in milliseconds.";
|
|
527
|
+
readonly parentKey: "generationConfig";
|
|
528
|
+
readonly childKey: "timeout";
|
|
529
|
+
readonly showInDialog: true;
|
|
530
|
+
};
|
|
531
|
+
readonly maxRetries: {
|
|
532
|
+
readonly type: "number";
|
|
533
|
+
readonly label: "Max Retries";
|
|
534
|
+
readonly category: "Generation Configuration";
|
|
535
|
+
readonly requiresRestart: false;
|
|
536
|
+
readonly default: number | undefined;
|
|
537
|
+
readonly description: "Maximum number of retries for failed requests.";
|
|
538
|
+
readonly parentKey: "generationConfig";
|
|
539
|
+
readonly childKey: "maxRetries";
|
|
540
|
+
readonly showInDialog: true;
|
|
541
|
+
};
|
|
542
|
+
readonly disableCacheControl: {
|
|
543
|
+
readonly type: "boolean";
|
|
544
|
+
readonly label: "Disable Cache Control";
|
|
545
|
+
readonly category: "Generation Configuration";
|
|
546
|
+
readonly requiresRestart: false;
|
|
547
|
+
readonly default: false;
|
|
548
|
+
readonly description: "Disable cache control for DashScope providers.";
|
|
549
|
+
readonly parentKey: "generationConfig";
|
|
550
|
+
readonly childKey: "disableCacheControl";
|
|
551
|
+
readonly showInDialog: true;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
};
|
|
352
555
|
};
|
|
353
556
|
};
|
|
354
557
|
readonly context: {
|
|
@@ -395,6 +598,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
395
598
|
readonly default: string[];
|
|
396
599
|
readonly description: "Additional directories to include in the workspace context. Missing directories will be skipped with a warning.";
|
|
397
600
|
readonly showInDialog: false;
|
|
601
|
+
readonly mergeStrategy: MergeStrategy.CONCAT;
|
|
398
602
|
};
|
|
399
603
|
readonly loadMemoryFromIncludeDirectories: {
|
|
400
604
|
readonly type: "boolean";
|
|
@@ -423,7 +627,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
423
627
|
readonly description: "Respect .gitignore files when searching";
|
|
424
628
|
readonly showInDialog: true;
|
|
425
629
|
};
|
|
426
|
-
readonly
|
|
630
|
+
readonly respectQwenIgnore: {
|
|
427
631
|
readonly type: "boolean";
|
|
428
632
|
readonly label: "Respect .rdmindignore";
|
|
429
633
|
readonly category: "Context";
|
|
@@ -472,13 +676,51 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
472
676
|
readonly description: "Sandbox execution environment (can be a boolean or a path string).";
|
|
473
677
|
readonly showInDialog: false;
|
|
474
678
|
};
|
|
475
|
-
readonly
|
|
679
|
+
readonly shell: {
|
|
680
|
+
readonly type: "object";
|
|
681
|
+
readonly label: "Shell";
|
|
682
|
+
readonly category: "Tools";
|
|
683
|
+
readonly requiresRestart: false;
|
|
684
|
+
readonly default: {};
|
|
685
|
+
readonly description: "Settings for shell execution.";
|
|
686
|
+
readonly showInDialog: false;
|
|
687
|
+
readonly properties: {
|
|
688
|
+
readonly enableInteractiveShell: {
|
|
689
|
+
readonly type: "boolean";
|
|
690
|
+
readonly label: "Enable Interactive Shell";
|
|
691
|
+
readonly category: "Tools";
|
|
692
|
+
readonly requiresRestart: true;
|
|
693
|
+
readonly default: false;
|
|
694
|
+
readonly description: "Use node-pty for an interactive shell experience. Fallback to child_process still applies.";
|
|
695
|
+
readonly showInDialog: true;
|
|
696
|
+
};
|
|
697
|
+
readonly pager: {
|
|
698
|
+
readonly type: "string";
|
|
699
|
+
readonly label: "Pager";
|
|
700
|
+
readonly category: "Tools";
|
|
701
|
+
readonly requiresRestart: false;
|
|
702
|
+
readonly default: string | undefined;
|
|
703
|
+
readonly description: "The pager command to use for shell output. Defaults to `cat`.";
|
|
704
|
+
readonly showInDialog: false;
|
|
705
|
+
};
|
|
706
|
+
readonly showColor: {
|
|
707
|
+
readonly type: "boolean";
|
|
708
|
+
readonly label: "Show Color";
|
|
709
|
+
readonly category: "Tools";
|
|
710
|
+
readonly requiresRestart: false;
|
|
711
|
+
readonly default: false;
|
|
712
|
+
readonly description: "Show color in shell output.";
|
|
713
|
+
readonly showInDialog: true;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
readonly autoAccept: {
|
|
476
718
|
readonly type: "boolean";
|
|
477
|
-
readonly label: "
|
|
719
|
+
readonly label: "Auto Accept";
|
|
478
720
|
readonly category: "Tools";
|
|
479
|
-
readonly requiresRestart:
|
|
721
|
+
readonly requiresRestart: false;
|
|
480
722
|
readonly default: false;
|
|
481
|
-
readonly description: "
|
|
723
|
+
readonly description: "Automatically accept and execute tool calls that are considered safe (e.g., read-only operations).";
|
|
482
724
|
readonly showInDialog: true;
|
|
483
725
|
};
|
|
484
726
|
readonly core: {
|
|
@@ -507,6 +749,16 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
507
749
|
readonly default: string[] | undefined;
|
|
508
750
|
readonly description: "Tool names to exclude from discovery.";
|
|
509
751
|
readonly showInDialog: false;
|
|
752
|
+
readonly mergeStrategy: MergeStrategy.UNION;
|
|
753
|
+
};
|
|
754
|
+
readonly approvalMode: {
|
|
755
|
+
readonly type: "string";
|
|
756
|
+
readonly label: "Default Approval Mode";
|
|
757
|
+
readonly category: "Tools";
|
|
758
|
+
readonly requiresRestart: false;
|
|
759
|
+
readonly default: "default";
|
|
760
|
+
readonly description: "Default approval mode for tool usage. Valid values: plan, default, auto-edit, yolo.";
|
|
761
|
+
readonly showInDialog: true;
|
|
510
762
|
};
|
|
511
763
|
readonly discoveryCommand: {
|
|
512
764
|
readonly type: "string";
|
|
@@ -531,10 +783,37 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
531
783
|
readonly label: "Use Ripgrep";
|
|
532
784
|
readonly category: "Tools";
|
|
533
785
|
readonly requiresRestart: false;
|
|
534
|
-
readonly default:
|
|
786
|
+
readonly default: true;
|
|
535
787
|
readonly description: "Use ripgrep for file content search instead of the fallback implementation. Provides faster search performance.";
|
|
536
788
|
readonly showInDialog: true;
|
|
537
789
|
};
|
|
790
|
+
readonly enableToolOutputTruncation: {
|
|
791
|
+
readonly type: "boolean";
|
|
792
|
+
readonly label: "Enable Tool Output Truncation";
|
|
793
|
+
readonly category: "General";
|
|
794
|
+
readonly requiresRestart: true;
|
|
795
|
+
readonly default: true;
|
|
796
|
+
readonly description: "Enable truncation of large tool outputs.";
|
|
797
|
+
readonly showInDialog: true;
|
|
798
|
+
};
|
|
799
|
+
readonly truncateToolOutputThreshold: {
|
|
800
|
+
readonly type: "number";
|
|
801
|
+
readonly label: "Tool Output Truncation Threshold";
|
|
802
|
+
readonly category: "General";
|
|
803
|
+
readonly requiresRestart: true;
|
|
804
|
+
readonly default: 4000000;
|
|
805
|
+
readonly description: "Truncate tool output if it is larger than this many characters. Set to -1 to disable.";
|
|
806
|
+
readonly showInDialog: true;
|
|
807
|
+
};
|
|
808
|
+
readonly truncateToolOutputLines: {
|
|
809
|
+
readonly type: "number";
|
|
810
|
+
readonly label: "Tool Output Truncation Lines";
|
|
811
|
+
readonly category: "General";
|
|
812
|
+
readonly requiresRestart: true;
|
|
813
|
+
readonly default: 1000;
|
|
814
|
+
readonly description: "The number of lines to keep when truncating tool output.";
|
|
815
|
+
readonly showInDialog: true;
|
|
816
|
+
};
|
|
538
817
|
};
|
|
539
818
|
};
|
|
540
819
|
readonly mcp: {
|
|
@@ -561,7 +840,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
561
840
|
readonly category: "MCP";
|
|
562
841
|
readonly requiresRestart: true;
|
|
563
842
|
readonly default: string[] | undefined;
|
|
564
|
-
readonly description: "A
|
|
843
|
+
readonly description: "A list of MCP servers to allow.";
|
|
565
844
|
readonly showInDialog: false;
|
|
566
845
|
};
|
|
567
846
|
readonly excluded: {
|
|
@@ -570,11 +849,20 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
570
849
|
readonly category: "MCP";
|
|
571
850
|
readonly requiresRestart: true;
|
|
572
851
|
readonly default: string[] | undefined;
|
|
573
|
-
readonly description: "A
|
|
852
|
+
readonly description: "A list of MCP servers to exclude.";
|
|
574
853
|
readonly showInDialog: false;
|
|
575
854
|
};
|
|
576
855
|
};
|
|
577
856
|
};
|
|
857
|
+
readonly useSmartEdit: {
|
|
858
|
+
readonly type: "boolean";
|
|
859
|
+
readonly label: "Use Smart Edit";
|
|
860
|
+
readonly category: "Advanced";
|
|
861
|
+
readonly requiresRestart: false;
|
|
862
|
+
readonly default: false;
|
|
863
|
+
readonly description: "Enable the smart-edit tool instead of the replace tool.";
|
|
864
|
+
readonly showInDialog: false;
|
|
865
|
+
};
|
|
578
866
|
readonly security: {
|
|
579
867
|
readonly type: "object";
|
|
580
868
|
readonly label: "Security";
|
|
@@ -593,20 +881,11 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
593
881
|
readonly description: "Settings for folder trust.";
|
|
594
882
|
readonly showInDialog: false;
|
|
595
883
|
readonly properties: {
|
|
596
|
-
readonly featureEnabled: {
|
|
597
|
-
readonly type: "boolean";
|
|
598
|
-
readonly label: "Folder Trust Feature";
|
|
599
|
-
readonly category: "Security";
|
|
600
|
-
readonly requiresRestart: false;
|
|
601
|
-
readonly default: false;
|
|
602
|
-
readonly description: "Enable folder trust feature for enhanced security.";
|
|
603
|
-
readonly showInDialog: true;
|
|
604
|
-
};
|
|
605
884
|
readonly enabled: {
|
|
606
885
|
readonly type: "boolean";
|
|
607
886
|
readonly label: "Folder Trust";
|
|
608
887
|
readonly category: "Security";
|
|
609
|
-
readonly requiresRestart:
|
|
888
|
+
readonly requiresRestart: true;
|
|
610
889
|
readonly default: false;
|
|
611
890
|
readonly description: "Setting to track whether Folder trust is enabled.";
|
|
612
891
|
readonly showInDialog: true;
|
|
@@ -631,6 +910,15 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
631
910
|
readonly description: "The currently selected authentication type.";
|
|
632
911
|
readonly showInDialog: false;
|
|
633
912
|
};
|
|
913
|
+
readonly enforcedType: {
|
|
914
|
+
readonly type: "string";
|
|
915
|
+
readonly label: "Enforced Auth Type";
|
|
916
|
+
readonly category: "Advanced";
|
|
917
|
+
readonly requiresRestart: true;
|
|
918
|
+
readonly default: AuthType | undefined;
|
|
919
|
+
readonly description: "The required auth type. If this does not match the selected auth type, the user will be prompted to re-authenticate.";
|
|
920
|
+
readonly showInDialog: false;
|
|
921
|
+
};
|
|
634
922
|
readonly useExternal: {
|
|
635
923
|
readonly type: "boolean";
|
|
636
924
|
readonly label: "Use External Auth";
|
|
@@ -679,6 +967,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
679
967
|
readonly default: string[];
|
|
680
968
|
readonly description: "Environment variables to exclude from project context.";
|
|
681
969
|
readonly showInDialog: false;
|
|
970
|
+
readonly mergeStrategy: MergeStrategy.UNION;
|
|
682
971
|
};
|
|
683
972
|
readonly bugCommand: {
|
|
684
973
|
readonly type: "object";
|
|
@@ -689,6 +978,15 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
689
978
|
readonly description: "Configuration for the bug report command.";
|
|
690
979
|
readonly showInDialog: false;
|
|
691
980
|
};
|
|
981
|
+
readonly tavilyApiKey: {
|
|
982
|
+
readonly type: "string";
|
|
983
|
+
readonly label: "Tavily API Key";
|
|
984
|
+
readonly category: "Advanced";
|
|
985
|
+
readonly requiresRestart: false;
|
|
986
|
+
readonly default: string | undefined;
|
|
987
|
+
readonly description: "The API key for the Tavily API. Required to enable the web_search tool functionality.";
|
|
988
|
+
readonly showInDialog: false;
|
|
989
|
+
};
|
|
692
990
|
};
|
|
693
991
|
};
|
|
694
992
|
readonly experimental: {
|
|
@@ -705,7 +1003,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
705
1003
|
readonly label: "Extension Management";
|
|
706
1004
|
readonly category: "Experimental";
|
|
707
1005
|
readonly requiresRestart: true;
|
|
708
|
-
readonly default:
|
|
1006
|
+
readonly default: true;
|
|
709
1007
|
readonly description: "Enable extension management features.";
|
|
710
1008
|
readonly showInDialog: false;
|
|
711
1009
|
};
|
|
@@ -746,6 +1044,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
746
1044
|
readonly default: string[];
|
|
747
1045
|
readonly description: "List of disabled extensions.";
|
|
748
1046
|
readonly showInDialog: false;
|
|
1047
|
+
readonly mergeStrategy: MergeStrategy.UNION;
|
|
749
1048
|
};
|
|
750
1049
|
readonly workspacesWithMigrationNudge: {
|
|
751
1050
|
readonly type: "array";
|
|
@@ -755,130 +1054,22 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
755
1054
|
readonly default: string[];
|
|
756
1055
|
readonly description: "List of workspaces for which the migration nudge has been shown.";
|
|
757
1056
|
readonly showInDialog: false;
|
|
1057
|
+
readonly mergeStrategy: MergeStrategy.UNION;
|
|
758
1058
|
};
|
|
759
1059
|
};
|
|
760
1060
|
};
|
|
761
|
-
readonly contentGenerator: {
|
|
762
|
-
readonly type: "object";
|
|
763
|
-
readonly label: "Content Generator";
|
|
764
|
-
readonly category: "General";
|
|
765
|
-
readonly requiresRestart: false;
|
|
766
|
-
readonly default: Record<string, unknown> | undefined;
|
|
767
|
-
readonly description: "Content generator settings.";
|
|
768
|
-
readonly showInDialog: false;
|
|
769
|
-
readonly properties: {
|
|
770
|
-
readonly timeout: {
|
|
771
|
-
readonly type: "number";
|
|
772
|
-
readonly label: "Timeout";
|
|
773
|
-
readonly category: "Content Generator";
|
|
774
|
-
readonly requiresRestart: false;
|
|
775
|
-
readonly default: number | undefined;
|
|
776
|
-
readonly description: "Request timeout in milliseconds.";
|
|
777
|
-
readonly parentKey: "contentGenerator";
|
|
778
|
-
readonly childKey: "timeout";
|
|
779
|
-
readonly showInDialog: true;
|
|
780
|
-
};
|
|
781
|
-
readonly maxRetries: {
|
|
782
|
-
readonly type: "number";
|
|
783
|
-
readonly label: "Max Retries";
|
|
784
|
-
readonly category: "Content Generator";
|
|
785
|
-
readonly requiresRestart: false;
|
|
786
|
-
readonly default: number | undefined;
|
|
787
|
-
readonly description: "Maximum number of retries for failed requests.";
|
|
788
|
-
readonly parentKey: "contentGenerator";
|
|
789
|
-
readonly childKey: "maxRetries";
|
|
790
|
-
readonly showInDialog: true;
|
|
791
|
-
};
|
|
792
|
-
readonly disableCacheControl: {
|
|
793
|
-
readonly type: "boolean";
|
|
794
|
-
readonly label: "Disable Cache Control";
|
|
795
|
-
readonly category: "Content Generator";
|
|
796
|
-
readonly requiresRestart: false;
|
|
797
|
-
readonly default: false;
|
|
798
|
-
readonly description: "Disable cache control for DashScope providers.";
|
|
799
|
-
readonly parentKey: "contentGenerator";
|
|
800
|
-
readonly childKey: "disableCacheControl";
|
|
801
|
-
readonly showInDialog: true;
|
|
802
|
-
};
|
|
803
|
-
};
|
|
804
|
-
};
|
|
805
|
-
readonly enableOpenAILogging: {
|
|
806
|
-
readonly type: "boolean";
|
|
807
|
-
readonly label: "Enable OpenAI Logging";
|
|
808
|
-
readonly category: "General";
|
|
809
|
-
readonly requiresRestart: false;
|
|
810
|
-
readonly default: false;
|
|
811
|
-
readonly description: "Enable OpenAI logging.";
|
|
812
|
-
readonly showInDialog: true;
|
|
813
|
-
};
|
|
814
|
-
readonly sessionTokenLimit: {
|
|
815
|
-
readonly type: "number";
|
|
816
|
-
readonly label: "Session Token Limit";
|
|
817
|
-
readonly category: "General";
|
|
818
|
-
readonly requiresRestart: false;
|
|
819
|
-
readonly default: number | undefined;
|
|
820
|
-
readonly description: "The maximum number of tokens allowed in a session.";
|
|
821
|
-
readonly showInDialog: false;
|
|
822
|
-
};
|
|
823
|
-
readonly systemPromptMappings: {
|
|
824
|
-
readonly type: "object";
|
|
825
|
-
readonly label: "System Prompt Mappings";
|
|
826
|
-
readonly category: "General";
|
|
827
|
-
readonly requiresRestart: false;
|
|
828
|
-
readonly default: Record<string, string> | undefined;
|
|
829
|
-
readonly description: "Mappings of system prompts to model names.";
|
|
830
|
-
readonly showInDialog: false;
|
|
831
|
-
};
|
|
832
|
-
readonly tavilyApiKey: {
|
|
833
|
-
readonly type: "string";
|
|
834
|
-
readonly label: "Tavily API Key";
|
|
835
|
-
readonly category: "General";
|
|
836
|
-
readonly requiresRestart: false;
|
|
837
|
-
readonly default: string | undefined;
|
|
838
|
-
readonly description: "The API key for the Tavily API.";
|
|
839
|
-
readonly showInDialog: false;
|
|
840
|
-
};
|
|
841
|
-
readonly skipNextSpeakerCheck: {
|
|
842
|
-
readonly type: "boolean";
|
|
843
|
-
readonly label: "Skip Next Speaker Check";
|
|
844
|
-
readonly category: "General";
|
|
845
|
-
readonly requiresRestart: false;
|
|
846
|
-
readonly default: false;
|
|
847
|
-
readonly description: "Skip the next speaker check.";
|
|
848
|
-
readonly showInDialog: true;
|
|
849
|
-
};
|
|
850
|
-
readonly skipLoopDetection: {
|
|
851
|
-
readonly type: "boolean";
|
|
852
|
-
readonly label: "Skip Loop Detection";
|
|
853
|
-
readonly category: "General";
|
|
854
|
-
readonly requiresRestart: false;
|
|
855
|
-
readonly default: false;
|
|
856
|
-
readonly description: "Disable all loop detection checks (streaming and LLM).";
|
|
857
|
-
readonly showInDialog: true;
|
|
858
|
-
};
|
|
859
|
-
readonly approvalMode: {
|
|
860
|
-
readonly type: "string";
|
|
861
|
-
readonly label: "Default Approval Mode";
|
|
862
|
-
readonly category: "General";
|
|
863
|
-
readonly requiresRestart: false;
|
|
864
|
-
readonly default: "default";
|
|
865
|
-
readonly description: "Default approval mode for tool usage. Valid values: plan, default, auto-edit, yolo.";
|
|
866
|
-
readonly showInDialog: true;
|
|
867
|
-
};
|
|
868
|
-
readonly enableWelcomeBack: {
|
|
869
|
-
readonly type: "boolean";
|
|
870
|
-
readonly label: "Enable Welcome Back";
|
|
871
|
-
readonly category: "UI";
|
|
872
|
-
readonly requiresRestart: false;
|
|
873
|
-
readonly default: true;
|
|
874
|
-
readonly description: "Show welcome back dialog when returning to a project with conversation history.";
|
|
875
|
-
readonly showInDialog: true;
|
|
876
|
-
};
|
|
877
1061
|
};
|
|
1062
|
+
export type SettingsSchemaType = typeof SETTINGS_SCHEMA;
|
|
1063
|
+
export declare function getSettingsSchema(): SettingsSchemaType;
|
|
878
1064
|
type InferSettings<T extends SettingsSchema> = {
|
|
879
1065
|
-readonly [K in keyof T]?: T[K] extends {
|
|
880
1066
|
properties: SettingsSchema;
|
|
881
|
-
} ? InferSettings<T[K]['properties']> : T[K]['default'] extends boolean ? boolean : T[K]['default'];
|
|
1067
|
+
} ? InferSettings<T[K]['properties']> : T[K]['type'] extends 'enum' ? T[K]['options'] extends readonly SettingEnumOption[] ? T[K]['options'][number]['value'] : T[K]['default'] : T[K]['default'] extends boolean ? boolean : T[K]['default'];
|
|
882
1068
|
};
|
|
883
|
-
export type Settings = InferSettings<
|
|
1069
|
+
export type Settings = InferSettings<SettingsSchemaType>;
|
|
1070
|
+
export interface FooterSettings {
|
|
1071
|
+
hideCWD?: boolean;
|
|
1072
|
+
hideSandboxStatus?: boolean;
|
|
1073
|
+
hideModelInfo?: boolean;
|
|
1074
|
+
}
|
|
884
1075
|
export {};
|