@google/gemini-cli 0.0.8999999 → 0.0.77777773
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/README.md +105 -62
- package/dist/package.json +13 -5
- package/dist/src/commands/extensions/examples/context/GEMINI.md +9 -3
- package/dist/src/commands/extensions/examples/context/gemini-extension.json +1 -2
- package/dist/src/commands/extensions/examples/mcp-server/gemini-extension.json +3 -2
- package/dist/src/commands/extensions/examples/mcp-server/package.json +18 -0
- package/dist/src/commands/extensions/examples/mcp-server/tsconfig.json +13 -0
- package/dist/src/commands/extensions/install.d.ts +2 -2
- package/dist/src/commands/extensions/install.js +35 -36
- package/dist/src/commands/extensions/install.js.map +1 -1
- package/dist/src/commands/extensions/install.test.js +25 -25
- package/dist/src/commands/extensions/install.test.js.map +1 -1
- package/dist/src/commands/extensions/link.js +2 -2
- package/dist/src/commands/extensions/link.js.map +1 -1
- 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.js +28 -8
- package/dist/src/commands/extensions/new.js.map +1 -1
- package/dist/src/commands/extensions/new.test.js +14 -5
- package/dist/src/commands/extensions/new.test.js.map +1 -1
- 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 +4 -1
- package/dist/src/commands/extensions/uninstall.test.js.map +1 -1
- package/dist/src/commands/extensions/update.js +35 -24
- package/dist/src/commands/extensions/update.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 +5 -4
- package/dist/src/commands/mcp/list.js.map +1 -1
- package/dist/src/config/config.d.ts +7 -4
- package/dist/src/config/config.js +125 -39
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/extension.d.ts +44 -18
- package/dist/src/config/extension.js +250 -143
- package/dist/src/config/extension.js.map +1 -1
- package/dist/src/config/extensions/extensionEnablement.d.ts +12 -9
- package/dist/src/config/extensions/extensionEnablement.js +36 -9
- package/dist/src/config/extensions/extensionEnablement.js.map +1 -1
- package/dist/src/config/extensions/extensionEnablement.test.js +74 -1
- package/dist/src/config/extensions/extensionEnablement.test.js.map +1 -1
- package/dist/src/config/extensions/github.d.ts +14 -2
- package/dist/src/config/extensions/github.js +111 -89
- package/dist/src/config/extensions/github.js.map +1 -1
- package/dist/src/config/extensions/github.test.js +124 -13
- package/dist/src/config/extensions/github.test.js.map +1 -1
- package/dist/src/config/extensions/github_fetch.d.ts +7 -0
- package/dist/src/config/extensions/github_fetch.js +34 -0
- package/dist/src/config/extensions/github_fetch.js.map +1 -0
- package/dist/src/config/extensions/update.d.ts +4 -5
- package/dist/src/config/extensions/update.js +64 -42
- package/dist/src/config/extensions/update.js.map +1 -1
- package/dist/src/config/extensions/update.test.js +121 -71
- package/dist/src/config/extensions/update.test.js.map +1 -1
- package/dist/src/config/keyBindings.js +1 -1
- package/dist/src/config/keyBindings.js.map +1 -1
- package/dist/src/config/policy.js +2 -2
- package/dist/src/config/policy.js.map +1 -1
- package/dist/src/config/settings.d.ts +10 -1
- package/dist/src/config/settings.js +21 -6
- package/dist/src/config/settings.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +97 -5
- package/dist/src/config/settingsSchema.js +96 -4
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/config/settingsSchema.test.js +8 -0
- package/dist/src/config/settingsSchema.test.js.map +1 -1
- package/dist/src/config/trustedFolders.d.ts +10 -2
- package/dist/src/config/trustedFolders.js +41 -16
- package/dist/src/config/trustedFolders.js.map +1 -1
- package/dist/src/config/trustedFolders.test.js +95 -14
- package/dist/src/config/trustedFolders.test.js.map +1 -1
- package/dist/src/gemini.js +114 -132
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/gemini.test.js +95 -14
- 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/generated/git-commit.js.map +1 -1
- package/dist/src/services/BuiltinCommandLoader.js +7 -0
- package/dist/src/services/BuiltinCommandLoader.js.map +1 -1
- package/dist/src/services/BuiltinCommandLoader.test.js +87 -1
- package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -1
- package/dist/src/services/FileCommandLoader.d.ts +1 -1
- package/dist/src/services/FileCommandLoader.js +4 -4
- package/dist/src/services/FileCommandLoader.js.map +1 -1
- package/dist/src/services/prompt-processors/shellProcessor.js +1 -1
- package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -1
- package/dist/src/test-utils/render.d.ts +12 -1
- package/dist/src/test-utils/render.js +56 -1
- package/dist/src/test-utils/render.js.map +1 -1
- package/dist/src/ui/App.js +7 -9
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/AppContainer.js +99 -27
- package/dist/src/ui/AppContainer.js.map +1 -1
- package/dist/src/ui/AppContainer.test.js +300 -7
- package/dist/src/ui/AppContainer.test.js.map +1 -1
- package/dist/src/ui/IdeIntegrationNudge.js +3 -0
- package/dist/src/ui/IdeIntegrationNudge.js.map +1 -1
- package/dist/src/ui/auth/AuthDialog.js +8 -1
- package/dist/src/ui/auth/AuthDialog.js.map +1 -1
- package/dist/src/ui/auth/AuthDialog.test.js +1 -0
- package/dist/src/ui/auth/AuthDialog.test.js.map +1 -1
- package/dist/src/ui/auth/AuthInProgress.js +2 -2
- package/dist/src/ui/auth/AuthInProgress.js.map +1 -1
- package/dist/src/ui/commands/chatCommand.js +21 -27
- package/dist/src/ui/commands/chatCommand.js.map +1 -1
- package/dist/src/ui/commands/extensionsCommand.js +39 -34
- package/dist/src/ui/commands/extensionsCommand.js.map +1 -1
- package/dist/src/ui/commands/mcpCommand.js +78 -260
- package/dist/src/ui/commands/mcpCommand.js.map +1 -1
- package/dist/src/ui/commands/memoryCommand.js +23 -5
- package/dist/src/ui/commands/memoryCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.d.ts +7 -0
- package/dist/src/ui/commands/modelCommand.js +16 -0
- package/dist/src/ui/commands/modelCommand.js.map +1 -0
- package/dist/src/ui/commands/modelCommand.test.js +30 -0
- package/dist/src/ui/commands/modelCommand.test.js.map +1 -0
- package/dist/src/ui/commands/permissionsCommand.d.ts +7 -0
- package/dist/src/ui/commands/permissionsCommand.js +16 -0
- package/dist/src/ui/commands/permissionsCommand.js.map +1 -0
- package/dist/src/ui/commands/permissionsCommand.test.d.ts +6 -0
- package/dist/src/ui/commands/permissionsCommand.test.js +30 -0
- package/dist/src/ui/commands/permissionsCommand.test.js.map +1 -0
- package/dist/src/ui/commands/profileCommand.d.ts +7 -0
- package/dist/src/ui/commands/profileCommand.js +23 -0
- package/dist/src/ui/commands/profileCommand.js.map +1 -0
- package/dist/src/ui/commands/setupGithubCommand.test.js +2 -1
- package/dist/src/ui/commands/setupGithubCommand.test.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 +8 -6
- package/dist/src/ui/commands/types.js.map +1 -1
- package/dist/src/ui/components/AnsiOutput.d.ts +1 -0
- package/dist/src/ui/components/AnsiOutput.js +5 -5
- package/dist/src/ui/components/AnsiOutput.js.map +1 -1
- package/dist/src/ui/components/AnsiOutput.test.js +6 -6
- package/dist/src/ui/components/AnsiOutput.test.js.map +1 -1
- package/dist/src/ui/components/AppHeader.js +2 -5
- package/dist/src/ui/components/AppHeader.js.map +1 -1
- package/dist/src/ui/components/CliSpinner.d.ts +10 -0
- package/dist/src/ui/components/CliSpinner.js +20 -0
- package/dist/src/ui/components/CliSpinner.js.map +1 -0
- package/dist/src/ui/components/Composer.js +7 -29
- package/dist/src/ui/components/Composer.js.map +1 -1
- 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/ContextSummaryDisplay.js +2 -2
- 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 +4 -2
- package/dist/src/ui/components/ContextUsageDisplay.js.map +1 -1
- package/dist/src/ui/components/DebugProfiler.d.ts +18 -0
- package/dist/src/ui/components/DebugProfiler.js +158 -12
- package/dist/src/ui/components/DebugProfiler.js.map +1 -1
- package/dist/src/ui/components/DebugProfiler.test.d.ts +6 -0
- package/dist/src/ui/components/DebugProfiler.test.js +140 -0
- package/dist/src/ui/components/DebugProfiler.test.js.map +1 -0
- package/dist/src/ui/components/DialogManager.d.ts +7 -1
- package/dist/src/ui/components/DialogManager.js +18 -9
- package/dist/src/ui/components/DialogManager.js.map +1 -1
- package/dist/src/ui/components/EditorSettingsDialog.js +11 -2
- 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 +3 -0
- package/dist/src/ui/components/FolderTrustDialog.js.map +1 -1
- package/dist/src/ui/components/FolderTrustDialog.test.js +2 -2
- package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -1
- package/dist/src/ui/components/Footer.d.ts +1 -19
- package/dist/src/ui/components/Footer.js +35 -17
- package/dist/src/ui/components/Footer.js.map +1 -1
- package/dist/src/ui/components/GeminiRespondingSpinner.js +2 -2
- package/dist/src/ui/components/GeminiRespondingSpinner.js.map +1 -1
- package/dist/src/ui/components/Help.js +1 -1
- package/dist/src/ui/components/Help.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.d.ts +2 -1
- package/dist/src/ui/components/HistoryItemDisplay.js +10 -1
- 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 +8 -2
- package/dist/src/ui/components/InputPrompt.js +66 -32
- package/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.js +1 -1
- 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.js +2 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.js.map +1 -1
- package/dist/src/ui/components/MainContent.js +7 -2
- package/dist/src/ui/components/MainContent.js.map +1 -1
- package/dist/src/ui/components/ModelDialog.d.ts +11 -0
- package/dist/src/ui/components/ModelDialog.js +57 -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 +153 -0
- package/dist/src/ui/components/ModelDialog.test.js.map +1 -0
- package/dist/src/ui/components/Notifications.js +12 -4
- package/dist/src/ui/components/Notifications.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/ProQuotaDialog.js +2 -0
- package/dist/src/ui/components/ProQuotaDialog.js.map +1 -1
- package/dist/src/ui/components/ProQuotaDialog.test.js +2 -0
- package/dist/src/ui/components/ProQuotaDialog.test.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.js +6 -3
- package/dist/src/ui/components/SettingsDialog.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.test.js +47 -13
- package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
- package/dist/src/ui/components/ShellConfirmationDialog.js +3 -0
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.js +2 -0
- package/dist/src/ui/components/ThemeDialog.js.map +1 -1
- package/dist/src/ui/components/WorkspaceMigrationDialog.d.ts +2 -2
- package/dist/src/ui/components/WorkspaceMigrationDialog.js +7 -5
- package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +1 -1
- package/dist/src/ui/components/messages/CompressionMessage.js +2 -2
- package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +15 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.js +5 -5
- package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.d.ts +1 -1
- package/dist/src/ui/components/messages/ToolMessage.js +28 -5
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/dist/src/ui/components/messages/UserMessage.js +1 -2
- package/dist/src/ui/components/messages/UserMessage.js.map +1 -1
- 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/RadioButtonSelect.d.ts +2 -3
- package/dist/src/ui/components/shared/RadioButtonSelect.js +9 -104
- 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.js +4 -1
- package/dist/src/ui/components/shared/ScopeSelector.js.map +1 -1
- package/dist/src/ui/components/views/ChatList.d.ts +12 -0
- package/dist/src/ui/components/views/ChatList.js +17 -0
- package/dist/src/ui/components/views/ChatList.js.map +1 -0
- package/dist/src/ui/components/views/ChatList.test.d.ts +6 -0
- package/dist/src/ui/components/views/ChatList.test.js +42 -0
- package/dist/src/ui/components/views/ChatList.test.js.map +1 -0
- package/dist/src/ui/components/views/ExtensionsList.test.js +1 -1
- package/dist/src/ui/components/views/ExtensionsList.test.js.map +1 -1
- 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/contexts/KeypressContext.js +3 -0
- package/dist/src/ui/contexts/KeypressContext.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 +2 -0
- package/dist/src/ui/contexts/UIActionsContext.js.map +1 -1
- package/dist/src/ui/contexts/UIStateContext.d.ts +11 -2
- package/dist/src/ui/contexts/UIStateContext.js +2 -0
- package/dist/src/ui/contexts/UIStateContext.js.map +1 -1
- package/dist/src/ui/hooks/shellCommandProcessor.js +5 -6
- package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/shellCommandProcessor.test.js +19 -32
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +8 -5
- package/dist/src/ui/hooks/slashCommandProcessor.js +11 -2
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/useExtensionUpdates.d.ts +10 -1
- package/dist/src/ui/hooks/useExtensionUpdates.js +140 -38
- package/dist/src/ui/hooks/useExtensionUpdates.js.map +1 -1
- package/dist/src/ui/hooks/useExtensionUpdates.test.js +163 -84
- package/dist/src/ui/hooks/useExtensionUpdates.test.js.map +1 -1
- package/dist/src/ui/hooks/useFlickerDetector.d.ts +14 -0
- package/dist/src/ui/hooks/useFlickerDetector.js +37 -0
- package/dist/src/ui/hooks/useFlickerDetector.js.map +1 -0
- package/dist/src/ui/hooks/useFlickerDetector.test.d.ts +6 -0
- package/dist/src/ui/hooks/useFlickerDetector.test.js +102 -0
- package/dist/src/ui/hooks/useFlickerDetector.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.d.ts +2 -1
- package/dist/src/ui/hooks/useFolderTrust.js +13 -9
- package/dist/src/ui/hooks/useFolderTrust.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.js +38 -3
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
- package/dist/src/ui/hooks/useHistoryManager.js +3 -3
- package/dist/src/ui/hooks/useHistoryManager.js.map +1 -1
- package/dist/src/ui/hooks/useIdeTrustListener.d.ts +4 -2
- package/dist/src/ui/hooks/useIdeTrustListener.js +40 -14
- package/dist/src/ui/hooks/useIdeTrustListener.js.map +1 -1
- 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/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.js +1 -0
- package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
- package/dist/src/ui/hooks/useQuotaAndFallback.js +3 -17
- package/dist/src/ui/hooks/useQuotaAndFallback.js.map +1 -1
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js +13 -43
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js.map +1 -1
- package/dist/src/ui/hooks/useSelectionList.d.ts +34 -0
- package/dist/src/ui/hooks/useSelectionList.js +272 -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 +725 -0
- package/dist/src/ui/hooks/useSelectionList.test.js.map +1 -0
- package/dist/src/ui/hooks/useShellHistory.test.js +12 -8
- package/dist/src/ui/hooks/useShellHistory.test.js.map +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.js +7 -2
- package/dist/src/ui/hooks/useSlashCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.js +33 -0
- package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -1
- package/dist/src/ui/hooks/useTerminalSize.js +2 -3
- package/dist/src/ui/hooks/useTerminalSize.js.map +1 -1
- package/dist/src/ui/hooks/useToolScheduler.test.js +2 -2
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.d.ts +2 -2
- package/dist/src/ui/hooks/useWorkspaceMigration.js +13 -8
- package/dist/src/ui/hooks/useWorkspaceMigration.js.map +1 -1
- package/dist/src/ui/layouts/DefaultAppLayout.d.ts +7 -0
- package/dist/src/ui/layouts/DefaultAppLayout.js +16 -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 +17 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js.map +1 -0
- package/dist/src/ui/noninteractive/nonInteractiveUi.js +3 -1
- package/dist/src/ui/noninteractive/nonInteractiveUi.js.map +1 -1
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js +5 -5
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js.map +1 -1
- package/dist/src/ui/state/extensions.d.ts +47 -1
- package/dist/src/ui/state/extensions.js +68 -1
- package/dist/src/ui/state/extensions.js.map +1 -1
- package/dist/src/ui/themes/theme.js +2 -2
- package/dist/src/ui/themes/theme.js.map +1 -1
- package/dist/src/ui/types.d.ts +54 -3
- package/dist/src/ui/types.js +3 -0
- package/dist/src/ui/types.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.js +1 -2
- package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.test.js +94 -91
- package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -1
- package/dist/src/ui/utils/displayUtils.d.ts +1 -0
- package/dist/src/ui/utils/displayUtils.js +4 -1
- package/dist/src/ui/utils/displayUtils.js.map +1 -1
- package/dist/src/ui/utils/displayUtils.test.js +36 -17
- package/dist/src/ui/utils/displayUtils.test.js.map +1 -1
- package/dist/src/ui/utils/textUtils.d.ts +1 -0
- package/dist/src/ui/utils/textUtils.js +56 -0
- 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/ui/utils/ui-sizing.d.ts +7 -0
- package/dist/src/ui/utils/ui-sizing.js +23 -0
- package/dist/src/ui/utils/ui-sizing.js.map +1 -0
- package/dist/src/utils/commentJson.js +95 -13
- package/dist/src/utils/commentJson.js.map +1 -1
- package/dist/src/utils/commentJson.test.js +161 -0
- package/dist/src/utils/commentJson.test.js.map +1 -1
- package/dist/src/utils/deepMerge.d.ts +2 -3
- package/dist/src/utils/errors.d.ts +8 -3
- package/dist/src/utils/errors.js +23 -13
- package/dist/src/utils/errors.js.map +1 -1
- package/dist/src/utils/errors.test.js +40 -46
- package/dist/src/utils/errors.test.js.map +1 -1
- 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/handleAutoUpdate.js +4 -1
- package/dist/src/utils/handleAutoUpdate.js.map +1 -1
- package/dist/src/utils/installationInfo.d.ts +1 -0
- package/dist/src/utils/installationInfo.js +2 -0
- package/dist/src/utils/installationInfo.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/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.js +31 -17
- package/dist/src/utils/sandbox.js.map +1 -1
- package/dist/src/utils/sessionCleanup.d.ts +22 -0
- package/dist/src/utils/sessionCleanup.integration.test.d.ts +6 -0
- package/dist/src/utils/sessionCleanup.integration.test.js +182 -0
- package/dist/src/utils/sessionCleanup.integration.test.js.map +1 -0
- package/dist/src/utils/sessionCleanup.js +214 -0
- package/dist/src/utils/sessionCleanup.js.map +1 -0
- package/dist/src/utils/sessionCleanup.test.d.ts +6 -0
- package/dist/src/utils/sessionCleanup.test.js +1232 -0
- package/dist/src/utils/sessionCleanup.test.js.map +1 -0
- package/dist/src/utils/sessionUtils.d.ts +37 -0
- package/dist/src/utils/sessionUtils.js +71 -0
- package/dist/src/utils/sessionUtils.js.map +1 -0
- 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.js +6 -7
- package/dist/src/validateNonInterActiveAuth.js.map +1 -1
- package/dist/src/zed-integration/acp.js +1 -2
- package/dist/src/zed-integration/acp.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 +70 -70
- package/dist/src/zed-integration/zedIntegration.d.ts +9 -3
- package/dist/src/zed-integration/zedIntegration.js +23 -28
- package/dist/src/zed-integration/zedIntegration.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -5
- package/dist/src/commands/extensions/examples/mcp-server/example.js +0 -46
- package/dist/src/commands/extensions/examples/mcp-server/example.js.map +0 -1
- package/dist/src/ui/contexts/FocusContext.d.ts +0 -7
- package/dist/src/ui/contexts/FocusContext.js +0 -9
- package/dist/src/ui/contexts/FocusContext.js.map +0 -1
- /package/dist/src/{commands/extensions/examples/mcp-server/example.d.ts → ui/commands/modelCommand.test.d.ts} +0 -0
|
@@ -298,16 +298,16 @@ export declare const mcpServerSchema: z.ZodObject<{
|
|
|
298
298
|
name: z.ZodString;
|
|
299
299
|
}, "strip", z.ZodTypeAny, {
|
|
300
300
|
name: string;
|
|
301
|
-
args: string[];
|
|
302
301
|
command: string;
|
|
302
|
+
args: string[];
|
|
303
303
|
env: {
|
|
304
304
|
name: string;
|
|
305
305
|
value: string;
|
|
306
306
|
}[];
|
|
307
307
|
}, {
|
|
308
308
|
name: string;
|
|
309
|
-
args: string[];
|
|
310
309
|
command: string;
|
|
310
|
+
args: string[];
|
|
311
311
|
env: {
|
|
312
312
|
name: string;
|
|
313
313
|
value: string;
|
|
@@ -318,12 +318,12 @@ export declare const promptCapabilitiesSchema: z.ZodObject<{
|
|
|
318
318
|
embeddedContext: z.ZodOptional<z.ZodBoolean>;
|
|
319
319
|
image: z.ZodOptional<z.ZodBoolean>;
|
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
image?: boolean | undefined;
|
|
322
321
|
audio?: boolean | undefined;
|
|
322
|
+
image?: boolean | undefined;
|
|
323
323
|
embeddedContext?: boolean | undefined;
|
|
324
324
|
}, {
|
|
325
|
-
image?: boolean | undefined;
|
|
326
325
|
audio?: boolean | undefined;
|
|
326
|
+
image?: boolean | undefined;
|
|
327
327
|
embeddedContext?: boolean | undefined;
|
|
328
328
|
}>;
|
|
329
329
|
export declare const agentCapabilitiesSchema: z.ZodObject<{
|
|
@@ -333,26 +333,26 @@ export declare const agentCapabilitiesSchema: z.ZodObject<{
|
|
|
333
333
|
embeddedContext: z.ZodOptional<z.ZodBoolean>;
|
|
334
334
|
image: z.ZodOptional<z.ZodBoolean>;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
|
-
image?: boolean | undefined;
|
|
337
336
|
audio?: boolean | undefined;
|
|
337
|
+
image?: boolean | undefined;
|
|
338
338
|
embeddedContext?: boolean | undefined;
|
|
339
339
|
}, {
|
|
340
|
-
image?: boolean | undefined;
|
|
341
340
|
audio?: boolean | undefined;
|
|
341
|
+
image?: boolean | undefined;
|
|
342
342
|
embeddedContext?: boolean | undefined;
|
|
343
343
|
}>>;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
345
345
|
loadSession?: boolean | undefined;
|
|
346
346
|
promptCapabilities?: {
|
|
347
|
-
image?: boolean | undefined;
|
|
348
347
|
audio?: boolean | undefined;
|
|
348
|
+
image?: boolean | undefined;
|
|
349
349
|
embeddedContext?: boolean | undefined;
|
|
350
350
|
} | undefined;
|
|
351
351
|
}, {
|
|
352
352
|
loadSession?: boolean | undefined;
|
|
353
353
|
promptCapabilities?: {
|
|
354
|
-
image?: boolean | undefined;
|
|
355
354
|
audio?: boolean | undefined;
|
|
355
|
+
image?: boolean | undefined;
|
|
356
356
|
embeddedContext?: boolean | undefined;
|
|
357
357
|
} | undefined;
|
|
358
358
|
}>;
|
|
@@ -457,16 +457,16 @@ export declare const newSessionRequestSchema: z.ZodObject<{
|
|
|
457
457
|
name: z.ZodString;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
459
|
name: string;
|
|
460
|
-
args: string[];
|
|
461
460
|
command: string;
|
|
461
|
+
args: string[];
|
|
462
462
|
env: {
|
|
463
463
|
name: string;
|
|
464
464
|
value: string;
|
|
465
465
|
}[];
|
|
466
466
|
}, {
|
|
467
467
|
name: string;
|
|
468
|
-
args: string[];
|
|
469
468
|
command: string;
|
|
469
|
+
args: string[];
|
|
470
470
|
env: {
|
|
471
471
|
name: string;
|
|
472
472
|
value: string;
|
|
@@ -475,8 +475,8 @@ export declare const newSessionRequestSchema: z.ZodObject<{
|
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
476
|
mcpServers: {
|
|
477
477
|
name: string;
|
|
478
|
-
args: string[];
|
|
479
478
|
command: string;
|
|
479
|
+
args: string[];
|
|
480
480
|
env: {
|
|
481
481
|
name: string;
|
|
482
482
|
value: string;
|
|
@@ -486,8 +486,8 @@ export declare const newSessionRequestSchema: z.ZodObject<{
|
|
|
486
486
|
}, {
|
|
487
487
|
mcpServers: {
|
|
488
488
|
name: string;
|
|
489
|
-
args: string[];
|
|
490
489
|
command: string;
|
|
490
|
+
args: string[];
|
|
491
491
|
env: {
|
|
492
492
|
name: string;
|
|
493
493
|
value: string;
|
|
@@ -513,16 +513,16 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
|
|
|
513
513
|
name: z.ZodString;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
515
|
name: string;
|
|
516
|
-
args: string[];
|
|
517
516
|
command: string;
|
|
517
|
+
args: string[];
|
|
518
518
|
env: {
|
|
519
519
|
name: string;
|
|
520
520
|
value: string;
|
|
521
521
|
}[];
|
|
522
522
|
}, {
|
|
523
523
|
name: string;
|
|
524
|
-
args: string[];
|
|
525
524
|
command: string;
|
|
525
|
+
args: string[];
|
|
526
526
|
env: {
|
|
527
527
|
name: string;
|
|
528
528
|
value: string;
|
|
@@ -532,27 +532,27 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
|
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
533
|
mcpServers: {
|
|
534
534
|
name: string;
|
|
535
|
-
args: string[];
|
|
536
535
|
command: string;
|
|
536
|
+
args: string[];
|
|
537
537
|
env: {
|
|
538
538
|
name: string;
|
|
539
539
|
value: string;
|
|
540
540
|
}[];
|
|
541
541
|
}[];
|
|
542
|
-
sessionId: string;
|
|
543
542
|
cwd: string;
|
|
543
|
+
sessionId: string;
|
|
544
544
|
}, {
|
|
545
545
|
mcpServers: {
|
|
546
546
|
name: string;
|
|
547
|
-
args: string[];
|
|
548
547
|
command: string;
|
|
548
|
+
args: string[];
|
|
549
549
|
env: {
|
|
550
550
|
name: string;
|
|
551
551
|
value: string;
|
|
552
552
|
}[];
|
|
553
553
|
}[];
|
|
554
|
-
sessionId: string;
|
|
555
554
|
cwd: string;
|
|
555
|
+
sessionId: string;
|
|
556
556
|
}>;
|
|
557
557
|
export declare const initializeResponseSchema: z.ZodObject<{
|
|
558
558
|
agentCapabilities: z.ZodObject<{
|
|
@@ -562,26 +562,26 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
562
562
|
embeddedContext: z.ZodOptional<z.ZodBoolean>;
|
|
563
563
|
image: z.ZodOptional<z.ZodBoolean>;
|
|
564
564
|
}, "strip", z.ZodTypeAny, {
|
|
565
|
-
image?: boolean | undefined;
|
|
566
565
|
audio?: boolean | undefined;
|
|
566
|
+
image?: boolean | undefined;
|
|
567
567
|
embeddedContext?: boolean | undefined;
|
|
568
568
|
}, {
|
|
569
|
-
image?: boolean | undefined;
|
|
570
569
|
audio?: boolean | undefined;
|
|
570
|
+
image?: boolean | undefined;
|
|
571
571
|
embeddedContext?: boolean | undefined;
|
|
572
572
|
}>>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
574
|
loadSession?: boolean | undefined;
|
|
575
575
|
promptCapabilities?: {
|
|
576
|
-
image?: boolean | undefined;
|
|
577
576
|
audio?: boolean | undefined;
|
|
577
|
+
image?: boolean | undefined;
|
|
578
578
|
embeddedContext?: boolean | undefined;
|
|
579
579
|
} | undefined;
|
|
580
580
|
}, {
|
|
581
581
|
loadSession?: boolean | undefined;
|
|
582
582
|
promptCapabilities?: {
|
|
583
|
-
image?: boolean | undefined;
|
|
584
583
|
audio?: boolean | undefined;
|
|
584
|
+
image?: boolean | undefined;
|
|
585
585
|
embeddedContext?: boolean | undefined;
|
|
586
586
|
} | undefined;
|
|
587
587
|
}>;
|
|
@@ -603,8 +603,8 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
603
603
|
agentCapabilities: {
|
|
604
604
|
loadSession?: boolean | undefined;
|
|
605
605
|
promptCapabilities?: {
|
|
606
|
-
image?: boolean | undefined;
|
|
607
606
|
audio?: boolean | undefined;
|
|
607
|
+
image?: boolean | undefined;
|
|
608
608
|
embeddedContext?: boolean | undefined;
|
|
609
609
|
} | undefined;
|
|
610
610
|
};
|
|
@@ -618,8 +618,8 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
618
618
|
agentCapabilities: {
|
|
619
619
|
loadSession?: boolean | undefined;
|
|
620
620
|
promptCapabilities?: {
|
|
621
|
-
image?: boolean | undefined;
|
|
622
621
|
audio?: boolean | undefined;
|
|
622
|
+
image?: boolean | undefined;
|
|
623
623
|
embeddedContext?: boolean | undefined;
|
|
624
624
|
} | undefined;
|
|
625
625
|
};
|
|
@@ -1581,7 +1581,7 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1581
1581
|
title: z.ZodString;
|
|
1582
1582
|
toolCallId: z.ZodString;
|
|
1583
1583
|
}, "strip", z.ZodTypeAny, {
|
|
1584
|
-
status: "
|
|
1584
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
1585
1585
|
title: string;
|
|
1586
1586
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
1587
1587
|
toolCallId: string;
|
|
@@ -1655,7 +1655,7 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1655
1655
|
}[] | undefined;
|
|
1656
1656
|
rawInput?: unknown;
|
|
1657
1657
|
}, {
|
|
1658
|
-
status: "
|
|
1658
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
1659
1659
|
title: string;
|
|
1660
1660
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
1661
1661
|
toolCallId: string;
|
|
@@ -3486,7 +3486,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3486
3486
|
title: z.ZodString;
|
|
3487
3487
|
toolCallId: z.ZodString;
|
|
3488
3488
|
}, "strip", z.ZodTypeAny, {
|
|
3489
|
-
status: "
|
|
3489
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
3490
3490
|
title: string;
|
|
3491
3491
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
3492
3492
|
toolCallId: string;
|
|
@@ -3561,7 +3561,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3561
3561
|
}[] | undefined;
|
|
3562
3562
|
rawInput?: unknown;
|
|
3563
3563
|
}, {
|
|
3564
|
-
status: "
|
|
3564
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
3565
3565
|
title: string;
|
|
3566
3566
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
3567
3567
|
toolCallId: string;
|
|
@@ -4075,7 +4075,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4075
4075
|
newText: string;
|
|
4076
4076
|
oldText: string | null;
|
|
4077
4077
|
})[] | null | undefined;
|
|
4078
|
-
status?: "
|
|
4078
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
4079
4079
|
title?: string | null | undefined;
|
|
4080
4080
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
4081
4081
|
locations?: {
|
|
@@ -4150,7 +4150,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4150
4150
|
newText: string;
|
|
4151
4151
|
oldText: string | null;
|
|
4152
4152
|
})[] | null | undefined;
|
|
4153
|
-
status?: "
|
|
4153
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
4154
4154
|
title?: string | null | undefined;
|
|
4155
4155
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
4156
4156
|
locations?: {
|
|
@@ -4196,26 +4196,26 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4196
4196
|
embeddedContext: z.ZodOptional<z.ZodBoolean>;
|
|
4197
4197
|
image: z.ZodOptional<z.ZodBoolean>;
|
|
4198
4198
|
}, "strip", z.ZodTypeAny, {
|
|
4199
|
-
image?: boolean | undefined;
|
|
4200
4199
|
audio?: boolean | undefined;
|
|
4200
|
+
image?: boolean | undefined;
|
|
4201
4201
|
embeddedContext?: boolean | undefined;
|
|
4202
4202
|
}, {
|
|
4203
|
-
image?: boolean | undefined;
|
|
4204
4203
|
audio?: boolean | undefined;
|
|
4204
|
+
image?: boolean | undefined;
|
|
4205
4205
|
embeddedContext?: boolean | undefined;
|
|
4206
4206
|
}>>;
|
|
4207
4207
|
}, "strip", z.ZodTypeAny, {
|
|
4208
4208
|
loadSession?: boolean | undefined;
|
|
4209
4209
|
promptCapabilities?: {
|
|
4210
|
-
image?: boolean | undefined;
|
|
4211
4210
|
audio?: boolean | undefined;
|
|
4211
|
+
image?: boolean | undefined;
|
|
4212
4212
|
embeddedContext?: boolean | undefined;
|
|
4213
4213
|
} | undefined;
|
|
4214
4214
|
}, {
|
|
4215
4215
|
loadSession?: boolean | undefined;
|
|
4216
4216
|
promptCapabilities?: {
|
|
4217
|
-
image?: boolean | undefined;
|
|
4218
4217
|
audio?: boolean | undefined;
|
|
4218
|
+
image?: boolean | undefined;
|
|
4219
4219
|
embeddedContext?: boolean | undefined;
|
|
4220
4220
|
} | undefined;
|
|
4221
4221
|
}>;
|
|
@@ -4237,8 +4237,8 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4237
4237
|
agentCapabilities: {
|
|
4238
4238
|
loadSession?: boolean | undefined;
|
|
4239
4239
|
promptCapabilities?: {
|
|
4240
|
-
image?: boolean | undefined;
|
|
4241
4240
|
audio?: boolean | undefined;
|
|
4241
|
+
image?: boolean | undefined;
|
|
4242
4242
|
embeddedContext?: boolean | undefined;
|
|
4243
4243
|
} | undefined;
|
|
4244
4244
|
};
|
|
@@ -4252,8 +4252,8 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4252
4252
|
agentCapabilities: {
|
|
4253
4253
|
loadSession?: boolean | undefined;
|
|
4254
4254
|
promptCapabilities?: {
|
|
4255
|
-
image?: boolean | undefined;
|
|
4256
4255
|
audio?: boolean | undefined;
|
|
4256
|
+
image?: boolean | undefined;
|
|
4257
4257
|
embeddedContext?: boolean | undefined;
|
|
4258
4258
|
} | undefined;
|
|
4259
4259
|
};
|
|
@@ -4664,7 +4664,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4664
4664
|
title: z.ZodString;
|
|
4665
4665
|
toolCallId: z.ZodString;
|
|
4666
4666
|
}, "strip", z.ZodTypeAny, {
|
|
4667
|
-
status: "
|
|
4667
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
4668
4668
|
title: string;
|
|
4669
4669
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
4670
4670
|
toolCallId: string;
|
|
@@ -4738,7 +4738,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4738
4738
|
}[] | undefined;
|
|
4739
4739
|
rawInput?: unknown;
|
|
4740
4740
|
}, {
|
|
4741
|
-
status: "
|
|
4741
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
4742
4742
|
title: string;
|
|
4743
4743
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
4744
4744
|
toolCallId: string;
|
|
@@ -4820,7 +4820,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4820
4820
|
}[];
|
|
4821
4821
|
sessionId: string;
|
|
4822
4822
|
toolCall: {
|
|
4823
|
-
status: "
|
|
4823
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
4824
4824
|
title: string;
|
|
4825
4825
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
4826
4826
|
toolCallId: string;
|
|
@@ -4902,7 +4902,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4902
4902
|
}[];
|
|
4903
4903
|
sessionId: string;
|
|
4904
4904
|
toolCall: {
|
|
4905
|
-
status: "
|
|
4905
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
4906
4906
|
title: string;
|
|
4907
4907
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
4908
4908
|
toolCallId: string;
|
|
@@ -6414,7 +6414,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6414
6414
|
title: z.ZodString;
|
|
6415
6415
|
toolCallId: z.ZodString;
|
|
6416
6416
|
}, "strip", z.ZodTypeAny, {
|
|
6417
|
-
status: "
|
|
6417
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
6418
6418
|
title: string;
|
|
6419
6419
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
6420
6420
|
toolCallId: string;
|
|
@@ -6489,7 +6489,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6489
6489
|
}[] | undefined;
|
|
6490
6490
|
rawInput?: unknown;
|
|
6491
6491
|
}, {
|
|
6492
|
-
status: "
|
|
6492
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
6493
6493
|
title: string;
|
|
6494
6494
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
6495
6495
|
toolCallId: string;
|
|
@@ -7003,7 +7003,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7003
7003
|
newText: string;
|
|
7004
7004
|
oldText: string | null;
|
|
7005
7005
|
})[] | null | undefined;
|
|
7006
|
-
status?: "
|
|
7006
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
7007
7007
|
title?: string | null | undefined;
|
|
7008
7008
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7009
7009
|
locations?: {
|
|
@@ -7078,7 +7078,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7078
7078
|
newText: string;
|
|
7079
7079
|
oldText: string | null;
|
|
7080
7080
|
})[] | null | undefined;
|
|
7081
|
-
status?: "
|
|
7081
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
7082
7082
|
title?: string | null | undefined;
|
|
7083
7083
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7084
7084
|
locations?: {
|
|
@@ -7293,7 +7293,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7293
7293
|
};
|
|
7294
7294
|
sessionUpdate: "agent_thought_chunk";
|
|
7295
7295
|
} | {
|
|
7296
|
-
status: "
|
|
7296
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
7297
7297
|
title: string;
|
|
7298
7298
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
7299
7299
|
toolCallId: string;
|
|
@@ -7434,7 +7434,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7434
7434
|
newText: string;
|
|
7435
7435
|
oldText: string | null;
|
|
7436
7436
|
})[] | null | undefined;
|
|
7437
|
-
status?: "
|
|
7437
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
7438
7438
|
title?: string | null | undefined;
|
|
7439
7439
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7440
7440
|
locations?: {
|
|
@@ -7627,7 +7627,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7627
7627
|
};
|
|
7628
7628
|
sessionUpdate: "agent_thought_chunk";
|
|
7629
7629
|
} | {
|
|
7630
|
-
status: "
|
|
7630
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
7631
7631
|
title: string;
|
|
7632
7632
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
7633
7633
|
toolCallId: string;
|
|
@@ -7768,7 +7768,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7768
7768
|
newText: string;
|
|
7769
7769
|
oldText: string | null;
|
|
7770
7770
|
})[] | null | undefined;
|
|
7771
|
-
status?: "
|
|
7771
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
7772
7772
|
title?: string | null | undefined;
|
|
7773
7773
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7774
7774
|
locations?: {
|
|
@@ -8200,7 +8200,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8200
8200
|
title: z.ZodString;
|
|
8201
8201
|
toolCallId: z.ZodString;
|
|
8202
8202
|
}, "strip", z.ZodTypeAny, {
|
|
8203
|
-
status: "
|
|
8203
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
8204
8204
|
title: string;
|
|
8205
8205
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
8206
8206
|
toolCallId: string;
|
|
@@ -8274,7 +8274,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8274
8274
|
}[] | undefined;
|
|
8275
8275
|
rawInput?: unknown;
|
|
8276
8276
|
}, {
|
|
8277
|
-
status: "
|
|
8277
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
8278
8278
|
title: string;
|
|
8279
8279
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
8280
8280
|
toolCallId: string;
|
|
@@ -8356,7 +8356,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8356
8356
|
}[];
|
|
8357
8357
|
sessionId: string;
|
|
8358
8358
|
toolCall: {
|
|
8359
|
-
status: "
|
|
8359
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
8360
8360
|
title: string;
|
|
8361
8361
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
8362
8362
|
toolCallId: string;
|
|
@@ -8438,7 +8438,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8438
8438
|
}[];
|
|
8439
8439
|
sessionId: string;
|
|
8440
8440
|
toolCall: {
|
|
8441
|
-
status: "
|
|
8441
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
8442
8442
|
title: string;
|
|
8443
8443
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
8444
8444
|
toolCallId: string;
|
|
@@ -8577,16 +8577,16 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8577
8577
|
name: z.ZodString;
|
|
8578
8578
|
}, "strip", z.ZodTypeAny, {
|
|
8579
8579
|
name: string;
|
|
8580
|
-
args: string[];
|
|
8581
8580
|
command: string;
|
|
8581
|
+
args: string[];
|
|
8582
8582
|
env: {
|
|
8583
8583
|
name: string;
|
|
8584
8584
|
value: string;
|
|
8585
8585
|
}[];
|
|
8586
8586
|
}, {
|
|
8587
8587
|
name: string;
|
|
8588
|
-
args: string[];
|
|
8589
8588
|
command: string;
|
|
8589
|
+
args: string[];
|
|
8590
8590
|
env: {
|
|
8591
8591
|
name: string;
|
|
8592
8592
|
value: string;
|
|
@@ -8595,8 +8595,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8595
8595
|
}, "strip", z.ZodTypeAny, {
|
|
8596
8596
|
mcpServers: {
|
|
8597
8597
|
name: string;
|
|
8598
|
-
args: string[];
|
|
8599
8598
|
command: string;
|
|
8599
|
+
args: string[];
|
|
8600
8600
|
env: {
|
|
8601
8601
|
name: string;
|
|
8602
8602
|
value: string;
|
|
@@ -8606,8 +8606,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8606
8606
|
}, {
|
|
8607
8607
|
mcpServers: {
|
|
8608
8608
|
name: string;
|
|
8609
|
-
args: string[];
|
|
8610
8609
|
command: string;
|
|
8610
|
+
args: string[];
|
|
8611
8611
|
env: {
|
|
8612
8612
|
name: string;
|
|
8613
8613
|
value: string;
|
|
@@ -8632,16 +8632,16 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8632
8632
|
name: z.ZodString;
|
|
8633
8633
|
}, "strip", z.ZodTypeAny, {
|
|
8634
8634
|
name: string;
|
|
8635
|
-
args: string[];
|
|
8636
8635
|
command: string;
|
|
8636
|
+
args: string[];
|
|
8637
8637
|
env: {
|
|
8638
8638
|
name: string;
|
|
8639
8639
|
value: string;
|
|
8640
8640
|
}[];
|
|
8641
8641
|
}, {
|
|
8642
8642
|
name: string;
|
|
8643
|
-
args: string[];
|
|
8644
8643
|
command: string;
|
|
8644
|
+
args: string[];
|
|
8645
8645
|
env: {
|
|
8646
8646
|
name: string;
|
|
8647
8647
|
value: string;
|
|
@@ -8651,27 +8651,27 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8651
8651
|
}, "strip", z.ZodTypeAny, {
|
|
8652
8652
|
mcpServers: {
|
|
8653
8653
|
name: string;
|
|
8654
|
-
args: string[];
|
|
8655
8654
|
command: string;
|
|
8655
|
+
args: string[];
|
|
8656
8656
|
env: {
|
|
8657
8657
|
name: string;
|
|
8658
8658
|
value: string;
|
|
8659
8659
|
}[];
|
|
8660
8660
|
}[];
|
|
8661
|
-
sessionId: string;
|
|
8662
8661
|
cwd: string;
|
|
8662
|
+
sessionId: string;
|
|
8663
8663
|
}, {
|
|
8664
8664
|
mcpServers: {
|
|
8665
8665
|
name: string;
|
|
8666
|
-
args: string[];
|
|
8667
8666
|
command: string;
|
|
8667
|
+
args: string[];
|
|
8668
8668
|
env: {
|
|
8669
8669
|
name: string;
|
|
8670
8670
|
value: string;
|
|
8671
8671
|
}[];
|
|
8672
8672
|
}[];
|
|
8673
|
-
sessionId: string;
|
|
8674
8673
|
cwd: string;
|
|
8674
|
+
sessionId: string;
|
|
8675
8675
|
}>, z.ZodObject<{
|
|
8676
8676
|
prompt: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8677
8677
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -10409,7 +10409,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10409
10409
|
title: z.ZodString;
|
|
10410
10410
|
toolCallId: z.ZodString;
|
|
10411
10411
|
}, "strip", z.ZodTypeAny, {
|
|
10412
|
-
status: "
|
|
10412
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
10413
10413
|
title: string;
|
|
10414
10414
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
10415
10415
|
toolCallId: string;
|
|
@@ -10484,7 +10484,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10484
10484
|
}[] | undefined;
|
|
10485
10485
|
rawInput?: unknown;
|
|
10486
10486
|
}, {
|
|
10487
|
-
status: "
|
|
10487
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
10488
10488
|
title: string;
|
|
10489
10489
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
10490
10490
|
toolCallId: string;
|
|
@@ -10998,7 +10998,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10998
10998
|
newText: string;
|
|
10999
10999
|
oldText: string | null;
|
|
11000
11000
|
})[] | null | undefined;
|
|
11001
|
-
status?: "
|
|
11001
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
11002
11002
|
title?: string | null | undefined;
|
|
11003
11003
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11004
11004
|
locations?: {
|
|
@@ -11073,7 +11073,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11073
11073
|
newText: string;
|
|
11074
11074
|
oldText: string | null;
|
|
11075
11075
|
})[] | null | undefined;
|
|
11076
|
-
status?: "
|
|
11076
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
11077
11077
|
title?: string | null | undefined;
|
|
11078
11078
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11079
11079
|
locations?: {
|
|
@@ -11288,7 +11288,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11288
11288
|
};
|
|
11289
11289
|
sessionUpdate: "agent_thought_chunk";
|
|
11290
11290
|
} | {
|
|
11291
|
-
status: "
|
|
11291
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
11292
11292
|
title: string;
|
|
11293
11293
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
11294
11294
|
toolCallId: string;
|
|
@@ -11429,7 +11429,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11429
11429
|
newText: string;
|
|
11430
11430
|
oldText: string | null;
|
|
11431
11431
|
})[] | null | undefined;
|
|
11432
|
-
status?: "
|
|
11432
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
11433
11433
|
title?: string | null | undefined;
|
|
11434
11434
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11435
11435
|
locations?: {
|
|
@@ -11622,7 +11622,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11622
11622
|
};
|
|
11623
11623
|
sessionUpdate: "agent_thought_chunk";
|
|
11624
11624
|
} | {
|
|
11625
|
-
status: "
|
|
11625
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
11626
11626
|
title: string;
|
|
11627
11627
|
kind: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
|
|
11628
11628
|
toolCallId: string;
|
|
@@ -11763,7 +11763,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11763
11763
|
newText: string;
|
|
11764
11764
|
oldText: string | null;
|
|
11765
11765
|
})[] | null | undefined;
|
|
11766
|
-
status?: "
|
|
11766
|
+
status?: "failed" | "pending" | "in_progress" | "completed" | null | undefined;
|
|
11767
11767
|
title?: string | null | undefined;
|
|
11768
11768
|
kind?: "search" | "move" | "delete" | "other" | "edit" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11769
11769
|
locations?: {
|
|
@@ -3,8 +3,14 @@
|
|
|
3
3
|
* Copyright 2025 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import type { Config } from '@google/gemini-cli-core';
|
|
6
|
+
import type { Config, GeminiCLIExtension } from '@google/gemini-cli-core';
|
|
7
7
|
import type { LoadedSettings } from '../config/settings.js';
|
|
8
|
-
import type { Extension } from '../config/extension.js';
|
|
9
8
|
import type { CliArgs } from '../config/config.js';
|
|
10
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Resolves the model to use based on the current configuration.
|
|
11
|
+
*
|
|
12
|
+
* If the model is set to "auto", it will use the flash model if in fallback
|
|
13
|
+
* mode, otherwise it will use the default model.
|
|
14
|
+
*/
|
|
15
|
+
export declare function resolveModel(model: string, isInFallbackMode: boolean): string;
|
|
16
|
+
export declare function runZedIntegration(config: Config, settings: LoadedSettings, extensions: GeminiCLIExtension[], argv: CliArgs): Promise<void>;
|