@blackbox_ai/blackbox-cli 0.0.7 → 0.8.1
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 +11 -183
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/package.json +13 -3
- package/dist/src/built-in-extensions/conductor/README.md +242 -0
- package/dist/src/built-in-extensions/conductor/blackbox-extension.json +5 -0
- package/dist/src/built-in-extensions/conductor/commands/conductor/implement.toml +170 -0
- package/dist/src/built-in-extensions/conductor/commands/conductor/newTrack.toml +142 -0
- package/dist/src/built-in-extensions/conductor/commands/conductor/revert.toml +122 -0
- package/dist/src/built-in-extensions/conductor/commands/conductor/setup.toml +424 -0
- package/dist/src/built-in-extensions/conductor/commands/conductor/status.toml +57 -0
- package/dist/src/built-in-extensions/conductor/templates/code_styleguides/general.md +23 -0
- package/dist/src/built-in-extensions/conductor/templates/code_styleguides/go.md +48 -0
- package/dist/src/built-in-extensions/conductor/templates/code_styleguides/html-css.md +49 -0
- package/dist/src/built-in-extensions/conductor/templates/code_styleguides/javascript.md +51 -0
- package/dist/src/built-in-extensions/conductor/templates/code_styleguides/python.md +37 -0
- package/dist/src/built-in-extensions/conductor/templates/code_styleguides/typescript.md +43 -0
- package/dist/src/built-in-extensions/conductor/templates/workflow.md +333 -0
- package/dist/src/built-in-extensions-data.d.ts +15 -0
- package/dist/src/built-in-extensions-data.js +61 -0
- package/dist/src/built-in-extensions-data.js.map +1 -0
- package/dist/src/commands/configure/ConfigureUI.d.ts +14 -0
- package/dist/src/commands/configure/ConfigureUI.js +556 -0
- package/dist/src/commands/configure/ConfigureUI.js.map +1 -0
- package/dist/src/commands/configure/index.d.ts +7 -0
- package/dist/src/commands/configure/index.js +62 -0
- package/dist/src/commands/configure/index.js.map +1 -0
- package/dist/src/commands/configure.d.ts +7 -0
- package/dist/src/commands/configure.js +276 -0
- package/dist/src/commands/configure.js.map +1 -0
- package/dist/src/commands/configure.test.d.ts +6 -0
- package/dist/src/commands/configure.test.js +32 -0
- package/dist/src/commands/configure.test.js.map +1 -0
- package/dist/src/commands/extensions/enable.js +1 -1
- package/dist/src/commands/extensions/enable.js.map +1 -1
- package/dist/src/commands/extensions/examples/context/CONTEXT.md +16 -0
- package/dist/src/commands/extensions/examples/context/blackbox-extension.json +5 -0
- package/dist/src/commands/extensions/examples/custom-commands/blackbox-extension.json +4 -0
- package/dist/src/commands/extensions/examples/custom-commands/commands/deploy.toml +12 -0
- package/dist/src/commands/extensions/examples/exclude-tools/README.md +28 -0
- package/dist/src/commands/extensions/examples/exclude-tools/blackbox-extension.json +5 -0
- package/dist/src/commands/extensions/install.d.ts +6 -2
- package/dist/src/commands/extensions/install.js +109 -15
- package/dist/src/commands/extensions/install.js.map +1 -1
- package/dist/src/commands/extensions/link.d.ts +12 -0
- package/dist/src/commands/extensions/link.js +53 -0
- package/dist/src/commands/extensions/link.js.map +1 -0
- package/dist/src/commands/extensions/list.js +2 -2
- package/dist/src/commands/extensions/list.js.map +1 -1
- package/dist/src/commands/extensions/new.d.ts +13 -0
- package/dist/src/commands/extensions/new.js +145 -0
- package/dist/src/commands/extensions/new.js.map +1 -0
- package/dist/src/commands/extensions/settings.d.ts +18 -0
- package/dist/src/commands/extensions/settings.js +98 -0
- package/dist/src/commands/extensions/settings.js.map +1 -0
- package/dist/src/commands/extensions/update.d.ts +2 -1
- package/dist/src/commands/extensions/update.js +59 -10
- package/dist/src/commands/extensions/update.js.map +1 -1
- package/dist/src/commands/extensions/validate.d.ts +12 -0
- package/dist/src/commands/extensions/validate.js +72 -0
- package/dist/src/commands/extensions/validate.js.map +1 -0
- package/dist/src/commands/extensions.js +10 -1
- package/dist/src/commands/extensions.js.map +1 -1
- package/dist/src/commands/mcp/add.d.ts +11 -0
- package/dist/src/commands/mcp/add.js +61 -7
- package/dist/src/commands/mcp/add.js.map +1 -1
- package/dist/src/commands/update.d.ts +7 -0
- package/dist/src/commands/update.js +103 -0
- package/dist/src/commands/update.js.map +1 -0
- package/dist/src/commands/voice.d.ts +7 -0
- package/dist/src/commands/voice.js +510 -0
- package/dist/src/commands/voice.js.map +1 -0
- package/dist/src/config/auth.d.ts +32 -1
- package/dist/src/config/auth.js +317 -2
- package/dist/src/config/auth.js.map +1 -1
- package/dist/src/config/config.d.ts +7 -1
- package/dist/src/config/config.js +71 -10
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/extension.d.ts +6 -1
- package/dist/src/config/extension.js +137 -11
- package/dist/src/config/extension.js.map +1 -1
- package/dist/src/config/extensions/github.d.ts +48 -0
- package/dist/src/config/extensions/github.js +308 -0
- package/dist/src/config/extensions/github.js.map +1 -0
- package/dist/src/config/keyBindings.d.ts +1 -0
- package/dist/src/config/keyBindings.js +3 -0
- package/dist/src/config/keyBindings.js.map +1 -1
- package/dist/src/config/modelFetcher.d.ts +21 -0
- package/dist/src/config/modelFetcher.js +226 -0
- package/dist/src/config/modelFetcher.js.map +1 -0
- package/dist/src/config/settings.js +101 -0
- package/dist/src/config/settings.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +626 -0
- package/dist/src/config/settingsSchema.js +626 -0
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/config/voice.d.ts +31 -0
- package/dist/src/config/voice.js +82 -0
- package/dist/src/config/voice.js.map +1 -0
- package/dist/src/encrypt/attestation.d.ts +5 -0
- package/dist/src/encrypt/attestation.js +100 -0
- package/dist/src/encrypt/attestation.js.map +1 -0
- package/dist/src/encrypt/bridge.d.ts +30 -0
- package/dist/src/encrypt/bridge.js +32 -0
- package/dist/src/encrypt/bridge.js.map +1 -0
- package/dist/src/encrypt/client.d.ts +14 -0
- package/dist/src/encrypt/client.js +133 -0
- package/dist/src/encrypt/client.js.map +1 -0
- package/dist/src/encrypt/config.d.ts +26 -0
- package/dist/src/encrypt/config.js +51 -0
- package/dist/src/encrypt/config.js.map +1 -0
- package/dist/src/encrypt/crypto-utils.d.ts +57 -0
- package/dist/src/encrypt/crypto-utils.js +257 -0
- package/dist/src/encrypt/crypto-utils.js.map +1 -0
- package/dist/src/encrypt/index.d.ts +12 -0
- package/dist/src/encrypt/index.js +13 -0
- package/dist/src/encrypt/index.js.map +1 -0
- package/dist/src/encrypt/retry-utils.d.ts +20 -0
- package/dist/src/encrypt/retry-utils.js +60 -0
- package/dist/src/encrypt/retry-utils.js.map +1 -0
- package/dist/src/encrypt/sessions.d.ts +17 -0
- package/dist/src/encrypt/sessions.js +221 -0
- package/dist/src/encrypt/sessions.js.map +1 -0
- package/dist/src/encrypt/streaming-client.d.ts +29 -0
- package/dist/src/encrypt/streaming-client.js +226 -0
- package/dist/src/encrypt/streaming-client.js.map +1 -0
- package/dist/src/encrypt/types.d.ts +81 -0
- package/dist/src/encrypt/types.js +2 -0
- package/dist/src/encrypt/types.js.map +1 -0
- package/dist/src/gemini.d.ts +1 -1
- package/dist/src/gemini.js +61 -28
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +3 -3
- package/dist/src/generated/git-commit.js +3 -3
- package/dist/src/nonInteractiveCli.d.ts +4 -0
- package/dist/src/nonInteractiveCli.js +563 -6
- package/dist/src/nonInteractiveCli.js.map +1 -1
- package/dist/src/on-demand-extensions/README.md +266 -0
- package/dist/src/on-demand-extensions/git-helper/README.md +16 -0
- package/dist/src/on-demand-extensions/git-helper/blackbox-extension.json +5 -0
- package/dist/src/on-demand-extensions/git-helper/commands/git/branch-cleanup.toml +18 -0
- package/dist/src/on-demand-extensions/git-helper/commands/git/smart-commit.toml +22 -0
- package/dist/src/on-demand-extensions/greet/README.md +76 -0
- package/dist/src/on-demand-extensions/greet/blackbox-extension.json +5 -0
- package/dist/src/on-demand-extensions/greet/commands/greet/hello.toml +9 -0
- package/dist/src/on-demand-extensions/registry.json +251 -0
- package/dist/src/services/BuiltinCommandLoader.js +20 -2
- package/dist/src/services/BuiltinCommandLoader.js.map +1 -1
- package/dist/src/services/EncryptedContentGenerator.d.ts +63 -0
- package/dist/src/services/EncryptedContentGenerator.js +426 -0
- package/dist/src/services/EncryptedContentGenerator.js.map +1 -0
- package/dist/src/services/McpCommandLoader.d.ts +24 -0
- package/dist/src/services/McpCommandLoader.js +50 -0
- package/dist/src/services/McpCommandLoader.js.map +1 -0
- package/dist/src/services/McpPromptLoader.js +17 -2
- package/dist/src/services/McpPromptLoader.js.map +1 -1
- package/dist/src/services/ReleaseNotesCache.d.ts +57 -0
- package/dist/src/services/ReleaseNotesCache.js +186 -0
- package/dist/src/services/ReleaseNotesCache.js.map +1 -0
- package/dist/src/services/elevenLabsErrors.d.ts +65 -0
- package/dist/src/services/elevenLabsErrors.js +233 -0
- package/dist/src/services/elevenLabsErrors.js.map +1 -0
- package/dist/src/services/elevenLabsService.d.ts +62 -0
- package/dist/src/services/elevenLabsService.js +186 -0
- package/dist/src/services/elevenLabsService.js.map +1 -0
- package/dist/src/services/elevenLabsStreamingService.d.ts +59 -0
- package/dist/src/services/elevenLabsStreamingService.js +202 -0
- package/dist/src/services/elevenLabsStreamingService.js.map +1 -0
- package/dist/src/services/elevenLabsTokenService.d.ts +21 -0
- package/dist/src/services/elevenLabsTokenService.js +42 -0
- package/dist/src/services/elevenLabsTokenService.js.map +1 -0
- package/dist/src/services/voiceInputHandler.d.ts +26 -0
- package/dist/src/services/voiceInputHandler.js +209 -0
- package/dist/src/services/voiceInputHandler.js.map +1 -0
- package/dist/src/services/voiceRecordingService.d.ts +69 -0
- package/dist/src/services/voiceRecordingService.js +397 -0
- package/dist/src/services/voiceRecordingService.js.map +1 -0
- package/dist/src/ui/App.d.ts +1 -0
- package/dist/src/ui/App.js +412 -63
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/commands/browseExtensionsCommand.d.ts +7 -0
- package/dist/src/ui/commands/browseExtensionsCommand.js +16 -0
- package/dist/src/ui/commands/browseExtensionsCommand.js.map +1 -0
- package/dist/src/ui/commands/chatCommand.js +356 -16
- package/dist/src/ui/commands/chatCommand.js.map +1 -1
- package/dist/src/ui/commands/dbCommand.d.ts +7 -0
- package/dist/src/ui/commands/dbCommand.js +37 -0
- package/dist/src/ui/commands/dbCommand.js.map +1 -0
- package/dist/src/ui/commands/docsCommand.js +1 -1
- package/dist/src/ui/commands/docsCommand.js.map +1 -1
- package/dist/src/ui/commands/mcpCommand.js +3 -2
- package/dist/src/ui/commands/mcpCommand.js.map +1 -1
- package/dist/src/ui/commands/mcpInvokeCommand.d.ts +16 -0
- package/dist/src/ui/commands/mcpInvokeCommand.js +263 -0
- package/dist/src/ui/commands/mcpInvokeCommand.js.map +1 -0
- package/dist/src/ui/commands/modelCommand.js +79 -5
- package/dist/src/ui/commands/modelCommand.js.map +1 -1
- package/dist/src/ui/commands/multiAgentCommand.d.ts +7 -0
- package/dist/src/ui/commands/multiAgentCommand.js +833 -0
- package/dist/src/ui/commands/multiAgentCommand.js.map +1 -0
- package/dist/src/ui/commands/multiAgentConfigureCommand.d.ts +7 -0
- package/dist/src/ui/commands/multiAgentConfigureCommand.js +17 -0
- package/dist/src/ui/commands/multiAgentConfigureCommand.js.map +1 -0
- package/dist/src/ui/commands/quitCommand.js +71 -2
- package/dist/src/ui/commands/quitCommand.js.map +1 -1
- package/dist/src/ui/commands/releasesCommand.d.ts +7 -0
- package/dist/src/ui/commands/releasesCommand.js +16 -0
- package/dist/src/ui/commands/releasesCommand.js.map +1 -0
- package/dist/src/ui/commands/setupGithubCommand.js.map +1 -1
- package/dist/src/ui/commands/shellPermissionsCommand.d.ts +7 -0
- package/dist/src/ui/commands/shellPermissionsCommand.js +109 -0
- package/dist/src/ui/commands/shellPermissionsCommand.js.map +1 -0
- package/dist/src/ui/commands/skillCommand.d.ts +7 -0
- package/dist/src/ui/commands/skillCommand.js +240 -0
- package/dist/src/ui/commands/skillCommand.js.map +1 -0
- package/dist/src/ui/commands/statsCommand.js +243 -1
- package/dist/src/ui/commands/statsCommand.js.map +1 -1
- package/dist/src/ui/commands/tasksCommand.d.ts +7 -0
- package/dist/src/ui/commands/tasksCommand.js +535 -0
- package/dist/src/ui/commands/tasksCommand.js.map +1 -0
- package/dist/src/ui/commands/toolPermissionsCommand.d.ts +7 -0
- package/dist/src/ui/commands/toolPermissionsCommand.js +408 -0
- package/dist/src/ui/commands/toolPermissionsCommand.js.map +1 -0
- package/dist/src/ui/commands/types.d.ts +10 -2
- package/dist/src/ui/commands/types.js.map +1 -1
- package/dist/src/ui/commands/voiceCommand.d.ts +7 -0
- package/dist/src/ui/commands/voiceCommand.js +525 -0
- package/dist/src/ui/commands/voiceCommand.js.map +1 -0
- package/dist/src/ui/components/AuthDialog.d.ts +4 -2
- package/dist/src/ui/components/AuthDialog.js +349 -64
- package/dist/src/ui/components/AuthDialog.js.map +1 -1
- package/dist/src/ui/components/AuthInProgress.js +3 -1
- package/dist/src/ui/components/AuthInProgress.js.map +1 -1
- package/dist/src/ui/components/ExtensionsDialog.d.ts +11 -0
- package/dist/src/ui/components/ExtensionsDialog.js +303 -0
- package/dist/src/ui/components/ExtensionsDialog.js.map +1 -0
- package/dist/src/ui/components/GenericProviderKeyPrompt.d.ts +24 -0
- package/dist/src/ui/components/GenericProviderKeyPrompt.js +99 -0
- package/dist/src/ui/components/GenericProviderKeyPrompt.js.map +1 -0
- package/dist/src/ui/components/Header.js +10 -1
- package/dist/src/ui/components/Header.js.map +1 -1
- package/dist/src/ui/components/HistoryBrowserDialog.d.ts +15 -0
- package/dist/src/ui/components/HistoryBrowserDialog.js +166 -0
- package/dist/src/ui/components/HistoryBrowserDialog.js.map +1 -0
- package/dist/src/ui/components/HistoryItemDisplay.js +13 -1
- package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
- package/dist/src/ui/components/InputPrompt.js +22 -8
- package/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.d.ts +4 -0
- package/dist/src/ui/components/LoadingIndicator.js +16 -4
- package/dist/src/ui/components/LoadingIndicator.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.test.js +108 -16
- package/dist/src/ui/components/LoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/components/ModelSelectionDialog.d.ts +2 -0
- package/dist/src/ui/components/ModelSelectionDialog.js +33 -4
- package/dist/src/ui/components/ModelSelectionDialog.js.map +1 -1
- package/dist/src/ui/components/ModelSelectionDialog.test.js +41 -4
- package/dist/src/ui/components/ModelSelectionDialog.test.js.map +1 -1
- package/dist/src/ui/components/ReleaseNotesDialog.d.ts +23 -0
- package/dist/src/ui/components/ReleaseNotesDialog.js +150 -0
- package/dist/src/ui/components/ReleaseNotesDialog.js.map +1 -0
- package/dist/src/ui/components/ReleaseNotesDisplay.d.ts +18 -0
- package/dist/src/ui/components/ReleaseNotesDisplay.js +14 -0
- package/dist/src/ui/components/ReleaseNotesDisplay.js.map +1 -0
- package/dist/src/ui/components/SessionSummaryDisplay.d.ts +2 -0
- package/dist/src/ui/components/SessionSummaryDisplay.js +1 -1
- package/dist/src/ui/components/SessionSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.d.ts +3 -1
- package/dist/src/ui/components/SettingsDialog.js +17 -7
- package/dist/src/ui/components/SettingsDialog.js.map +1 -1
- package/dist/src/ui/components/ShellConfirmationDialog.d.ts +2 -0
- package/dist/src/ui/components/ShellConfirmationDialog.js +7 -3
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/StatsDisplay.d.ts +2 -0
- package/dist/src/ui/components/StatsDisplay.js +92 -7
- package/dist/src/ui/components/StatsDisplay.js.map +1 -1
- package/dist/src/ui/components/SuggestionsDisplay.js +6 -1
- package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.d.ts +3 -1
- package/dist/src/ui/components/ThemeDialog.js +5 -2
- package/dist/src/ui/components/ThemeDialog.js.map +1 -1
- package/dist/src/ui/components/Tips.js +1 -4
- package/dist/src/ui/components/Tips.js.map +1 -1
- package/dist/src/ui/components/TodoListDialog.d.ts +13 -0
- package/dist/src/ui/components/TodoListDialog.js +29 -0
- package/dist/src/ui/components/TodoListDialog.js.map +1 -0
- package/dist/src/ui/components/TodoListDialog.test.d.ts +6 -0
- package/dist/src/ui/components/TodoListDialog.test.js +60 -0
- package/dist/src/ui/components/TodoListDialog.test.js.map +1 -0
- package/dist/src/ui/components/VoiceConfigDialog.d.ts +17 -0
- package/dist/src/ui/components/VoiceConfigDialog.js +47 -0
- package/dist/src/ui/components/VoiceConfigDialog.js.map +1 -0
- package/dist/src/ui/components/messages/GeminiMessage.js +4 -0
- package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -1
- package/dist/src/ui/components/messages/GeminiMessageContent.js +4 -0
- package/dist/src/ui/components/messages/GeminiMessageContent.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +2 -0
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +96 -9
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js +3 -3
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.js +1 -1
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.test.js +9 -12
- package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -1
- package/dist/src/ui/components/multiagent/MultiAgentConfigDialog.d.ts +25 -0
- package/dist/src/ui/components/multiagent/MultiAgentConfigDialog.js +179 -0
- package/dist/src/ui/components/multiagent/MultiAgentConfigDialog.js.map +1 -0
- package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +3 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.js +57 -18
- package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -1
- package/dist/src/ui/components/shared/TextInput.d.ts +2 -1
- package/dist/src/ui/components/shared/TextInput.js +5 -2
- package/dist/src/ui/components/shared/TextInput.js.map +1 -1
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +3 -3
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +1 -1
- package/dist/src/ui/constants.d.ts +3 -3
- package/dist/src/ui/constants.js +3 -3
- package/dist/src/ui/constants.js.map +1 -1
- package/dist/src/ui/contexts/SessionContext.d.ts +6 -0
- package/dist/src/ui/contexts/SessionContext.js +24 -2
- package/dist/src/ui/contexts/SessionContext.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.js +139 -57
- package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +2 -1
- package/dist/src/ui/hooks/slashCommandProcessor.js +189 -17
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/useAdaptiveStream.d.ts +42 -0
- package/dist/src/ui/hooks/useAdaptiveStream.js +31 -0
- package/dist/src/ui/hooks/useAdaptiveStream.js.map +1 -0
- package/dist/src/ui/hooks/useAtCompletion.js +20 -4
- package/dist/src/ui/hooks/useAtCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useAuthCommand.d.ts +2 -2
- package/dist/src/ui/hooks/useAuthCommand.js +99 -5
- package/dist/src/ui/hooks/useAuthCommand.js.map +1 -1
- package/dist/src/ui/hooks/useCommandCompletion.js +14 -10
- package/dist/src/ui/hooks/useCommandCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useDialogClose.d.ts +10 -0
- package/dist/src/ui/hooks/useDialogClose.js +25 -0
- package/dist/src/ui/hooks/useDialogClose.js.map +1 -1
- package/dist/src/ui/hooks/useDialogCloseAnimation.d.ts +22 -0
- package/dist/src/ui/hooks/useDialogCloseAnimation.js +68 -0
- package/dist/src/ui/hooks/useDialogCloseAnimation.js.map +1 -0
- package/dist/src/ui/hooks/useEncryptedStream.d.ts +22 -0
- package/dist/src/ui/hooks/useEncryptedStream.js +378 -0
- package/dist/src/ui/hooks/useEncryptedStream.js.map +1 -0
- package/dist/src/ui/hooks/useExtensionsDialog.d.ts +10 -0
- package/dist/src/ui/hooks/useExtensionsDialog.js +21 -0
- package/dist/src/ui/hooks/useExtensionsDialog.js.map +1 -0
- package/dist/src/ui/hooks/useGeminiStream.js +6 -2
- 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/useLoadingIndicator.d.ts +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.js +3 -2
- package/dist/src/ui/hooks/useLoadingIndicator.js.map +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.test.js +27 -5
- package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useMultiAgentConfigCommand.d.ts +10 -0
- package/dist/src/ui/hooks/useMultiAgentConfigCommand.js +21 -0
- package/dist/src/ui/hooks/useMultiAgentConfigCommand.js.map +1 -0
- package/dist/src/ui/hooks/useReleasesDialog.d.ts +20 -0
- package/dist/src/ui/hooks/useReleasesDialog.js +214 -0
- package/dist/src/ui/hooks/useReleasesDialog.js.map +1 -0
- package/dist/src/ui/hooks/useSlashCompletion.js +10 -8
- package/dist/src/ui/hooks/useSlashCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useTodoList.d.ts +17 -0
- package/dist/src/ui/hooks/useTodoList.js +51 -0
- package/dist/src/ui/hooks/useTodoList.js.map +1 -0
- package/dist/src/ui/keyMatchers.test.js +6 -0
- package/dist/src/ui/keyMatchers.test.js.map +1 -1
- package/dist/src/ui/themes/blackbox-dark.js +1 -1
- package/dist/src/ui/themes/blackbox-dark.js.map +1 -1
- package/dist/src/ui/themes/blackbox-light.js +1 -1
- package/dist/src/ui/themes/blackbox-light.js.map +1 -1
- package/dist/src/ui/types.d.ts +15 -2
- package/dist/src/ui/types.js +1 -0
- package/dist/src/ui/types.js.map +1 -1
- package/dist/src/ui/utils/computeStats.d.ts +25 -1
- package/dist/src/ui/utils/computeStats.js +58 -1
- package/dist/src/ui/utils/computeStats.js.map +1 -1
- package/dist/src/ui/utils/updateCheck.js +37 -54
- package/dist/src/ui/utils/updateCheck.js.map +1 -1
- package/dist/src/utils/backgroundUpdateCheck.d.ts +15 -0
- package/dist/src/utils/backgroundUpdateCheck.js +48 -0
- package/dist/src/utils/backgroundUpdateCheck.js.map +1 -0
- package/dist/src/utils/gitAutoDetect.d.ts +16 -0
- package/dist/src/utils/gitAutoDetect.js +45 -0
- package/dist/src/utils/gitAutoDetect.js.map +1 -0
- package/dist/src/utils/installationInfo.d.ts +1 -0
- package/dist/src/utils/installationInfo.js +24 -4
- package/dist/src/utils/installationInfo.js.map +1 -1
- package/dist/src/utils/preLaunchUpdateCheck.d.ts +17 -0
- package/dist/src/utils/preLaunchUpdateCheck.js +75 -0
- package/dist/src/utils/preLaunchUpdateCheck.js.map +1 -0
- package/dist/src/utils/version.js +12 -1
- package/dist/src/utils/version.js.map +1 -1
- package/dist/src/utils/versionStorage.d.ts +50 -0
- package/dist/src/utils/versionStorage.js +224 -0
- package/dist/src/utils/versionStorage.js.map +1 -0
- package/dist/src/validateNonInterActiveAuth.js +10 -3
- package/dist/src/validateNonInterActiveAuth.js.map +1 -1
- package/dist/src/virtual-extensions.d.ts +14 -0
- package/dist/src/virtual-extensions.js +56 -0
- package/dist/src/virtual-extensions.js.map +1 -0
- package/dist/src/zed-integration/fileSystemService.d.ts +3 -3
- package/dist/src/zed-integration/fileSystemService.js +5 -7
- package/dist/src/zed-integration/fileSystemService.js.map +1 -1
- package/dist/src/zed-integration/zedIntegration.js +62 -17
- package/dist/src/zed-integration/zedIntegration.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -3
- package/dist/src/utils/handleAutoUpdate.d.ts +0 -11
- package/dist/src/utils/handleAutoUpdate.js +0 -102
- package/dist/src/utils/handleAutoUpdate.js.map +0 -1
- package/dist/src/utils/updateEventEmitter.d.ts +0 -11
- package/dist/src/utils/updateEventEmitter.js +0 -12
- package/dist/src/utils/updateEventEmitter.js.map +0 -1
- package/dist/src/zed-integration/acp.d.ts +0 -63
- package/dist/src/zed-integration/acp.js +0 -226
- package/dist/src/zed-integration/acp.js.map +0 -1
- package/dist/src/zed-integration/schema.d.ts +0 -11782
- package/dist/src/zed-integration/schema.js +0 -311
- package/dist/src/zed-integration/schema.js.map +0 -1
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extensions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "git-helper",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Git workflow automation commands for common git operations",
|
|
7
|
+
"category": "productivity",
|
|
8
|
+
"author": "Blackbox Team",
|
|
9
|
+
"path": "./git-helper"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "greet",
|
|
13
|
+
"version": "1.0.0",
|
|
14
|
+
"description": "A friendly greeting extension that says hello",
|
|
15
|
+
"category": "fun",
|
|
16
|
+
"author": "Blackbox Team",
|
|
17
|
+
"path": "./greet"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "workspace",
|
|
21
|
+
"version": "1.0.0",
|
|
22
|
+
"description": "Access Google Workspace when using CLI",
|
|
23
|
+
"category": "productivity",
|
|
24
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/workspace.git"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "security",
|
|
28
|
+
"version": "1.0.0",
|
|
29
|
+
"description": "Google's Security extension for the CLI that finds vulnerabilities in your code changes and pull requests",
|
|
30
|
+
"category": "quality",
|
|
31
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/security.git"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "code-review",
|
|
35
|
+
"version": "1.0.0",
|
|
36
|
+
"description": "Google's Code Review extension for the CLI that reviews your code changes",
|
|
37
|
+
"category": "quality",
|
|
38
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/code-review.git"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "alloydb",
|
|
42
|
+
"version": "1.0.0",
|
|
43
|
+
"description": "AlloyDB extension for CLI",
|
|
44
|
+
"category": "database",
|
|
45
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/alloydb.git"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "bigquery-data-analytics",
|
|
49
|
+
"version": "1.0.0",
|
|
50
|
+
"description": "BigQuery Data Analytics extension for CLI",
|
|
51
|
+
"category": "analytics",
|
|
52
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/bigquery-data-analytics.git"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "cloud-sql-postgresql",
|
|
56
|
+
"version": "1.0.0",
|
|
57
|
+
"description": "Cloud SQL PostgreSQL extension for CLI",
|
|
58
|
+
"category": "database",
|
|
59
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/cloud-sql-postgresql.git"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "cloud-sql-mysql",
|
|
63
|
+
"version": "1.0.0",
|
|
64
|
+
"description": "Cloud SQL MySQL extension for CLI",
|
|
65
|
+
"category": "database",
|
|
66
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/cloud-sql-mysql.git"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "cloud-sql-sqlserver",
|
|
70
|
+
"version": "1.0.0",
|
|
71
|
+
"description": "Cloud SQL SQL Server extension for CLI",
|
|
72
|
+
"category": "database",
|
|
73
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/cloud-sql-sqlserver.git"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "dataplex",
|
|
77
|
+
"version": "1.0.0",
|
|
78
|
+
"description": "Dataplex extension for CLI",
|
|
79
|
+
"category": "data",
|
|
80
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/dataplex.git"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "firestore-native",
|
|
84
|
+
"version": "1.0.0",
|
|
85
|
+
"description": "Firestore Native extension for CLI",
|
|
86
|
+
"category": "database",
|
|
87
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/firestore-native.git"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "looker",
|
|
91
|
+
"version": "1.0.0",
|
|
92
|
+
"description": "Looker extension for CLI",
|
|
93
|
+
"category": "analytics",
|
|
94
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/looker.git"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "spanner",
|
|
98
|
+
"version": "1.0.0",
|
|
99
|
+
"description": "Spanner extension for CLI",
|
|
100
|
+
"category": "database",
|
|
101
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/spanner.git"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "mcp-toolbox",
|
|
105
|
+
"version": "1.0.0",
|
|
106
|
+
"description": "MCP Toolbox extension for CLI",
|
|
107
|
+
"category": "tools",
|
|
108
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/mcp-toolbox.git"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "postgres",
|
|
112
|
+
"version": "1.0.0",
|
|
113
|
+
"description": "PostgreSQL extension for CLI",
|
|
114
|
+
"category": "database",
|
|
115
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/postgres.git"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "mysql",
|
|
119
|
+
"version": "1.0.0",
|
|
120
|
+
"description": "MySQL extension for CLI",
|
|
121
|
+
"category": "database",
|
|
122
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/mysql.git"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "sql-server",
|
|
126
|
+
"version": "1.0.0",
|
|
127
|
+
"description": "SQL Server extension for CLI",
|
|
128
|
+
"category": "database",
|
|
129
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/sql-server.git"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "cloud-sql-postgresql-observability",
|
|
133
|
+
"version": "1.0.0",
|
|
134
|
+
"description": "Cloud SQL PostgreSQL Observability extension for CLI",
|
|
135
|
+
"category": "observability",
|
|
136
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/cloud-sql-postgresql-observability.git"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "cloud-sql-mysql-observability",
|
|
140
|
+
"version": "1.0.0",
|
|
141
|
+
"description": "Cloud SQL MySQL Observability extension for CLI",
|
|
142
|
+
"category": "observability",
|
|
143
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/cloud-sql-mysql-observability.git"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "cloud-sql-sqlserver-observability",
|
|
147
|
+
"version": "1.0.0",
|
|
148
|
+
"description": "Cloud SQL SQL Server Observability extension for CLI",
|
|
149
|
+
"category": "observability",
|
|
150
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/cloud-sql-sqlserver-observability.git"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "alloydb-observability",
|
|
154
|
+
"version": "1.0.0",
|
|
155
|
+
"description": "AlloyDB Observability extension for CLI",
|
|
156
|
+
"category": "observability",
|
|
157
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/alloydb-observability.git"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "flutter",
|
|
161
|
+
"version": "1.0.0",
|
|
162
|
+
"description": "Flutter extension for CLI",
|
|
163
|
+
"category": "development",
|
|
164
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/flutter.git"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "gcloud",
|
|
168
|
+
"version": "1.0.0",
|
|
169
|
+
"description": "gcloud CLI Extension",
|
|
170
|
+
"category": "cloud",
|
|
171
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/gcloud.git"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "bigquery-conversational-analytics",
|
|
175
|
+
"version": "1.0.0",
|
|
176
|
+
"description": "BigQuery Conversational Analytics extension for CLI",
|
|
177
|
+
"category": "analytics",
|
|
178
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/bigquery-conversational-analytics.git"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "observability",
|
|
182
|
+
"version": "1.0.0",
|
|
183
|
+
"description": "Cloud Observability CLI Extension",
|
|
184
|
+
"category": "observability",
|
|
185
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/observability.git"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "firebase",
|
|
189
|
+
"version": "1.0.0",
|
|
190
|
+
"description": "Firebase extension for CLI",
|
|
191
|
+
"category": "development",
|
|
192
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/firebase.git"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "genkit",
|
|
196
|
+
"version": "1.0.0",
|
|
197
|
+
"description": "Genkit extension for CLI",
|
|
198
|
+
"category": "development",
|
|
199
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/genkit.git"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "jules",
|
|
203
|
+
"version": "1.0.0",
|
|
204
|
+
"description": "A CLI extension that allows you to use the CLI to orchestrate the Jules asynchronous agent to perform coding tasks like bug fixing, refactoring, and dependency updates",
|
|
205
|
+
"category": "productivity",
|
|
206
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/jules.git"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "datacommons",
|
|
210
|
+
"version": "1.0.0",
|
|
211
|
+
"description": "Data Commons extension for CLI",
|
|
212
|
+
"category": "data",
|
|
213
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/datacommons.git"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "looker-conversational-analytics",
|
|
217
|
+
"version": "1.0.0",
|
|
218
|
+
"description": "Looker Conversational Analytics extension for CLI",
|
|
219
|
+
"category": "analytics",
|
|
220
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/looker-conversational-analytics.git"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "vertex",
|
|
224
|
+
"version": "1.0.0",
|
|
225
|
+
"description": "A CLI extension provides tools to manage prompts in Vertex AI",
|
|
226
|
+
"category": "cloud",
|
|
227
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/vertex.git"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "stitch",
|
|
231
|
+
"version": "1.0.0",
|
|
232
|
+
"description": "The Stitch extension for CLI enables you to interact with the Stitch MCP server using natural language commands",
|
|
233
|
+
"category": "tools",
|
|
234
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/stitch.git"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "angular",
|
|
238
|
+
"version": "1.0.0",
|
|
239
|
+
"description": "Angular Extension for CLI",
|
|
240
|
+
"category": "development",
|
|
241
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/angular.git"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "conductor",
|
|
245
|
+
"version": "1.0.0",
|
|
246
|
+
"description": "Conductor is a CLI extension that allows you to specify, plan, and implement software features",
|
|
247
|
+
"category": "productivity",
|
|
248
|
+
"gitUrl": "https://github.com/gemini-cli-extensions/conductor.git"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
}
|
|
@@ -7,6 +7,7 @@ import { aboutCommand } from '../ui/commands/aboutCommand.js';
|
|
|
7
7
|
import { agentsCommand } from '../ui/commands/agentsCommand.js';
|
|
8
8
|
import { approvalModeCommand } from '../ui/commands/approvalModeCommand.js';
|
|
9
9
|
import { authCommand } from '../ui/commands/authCommand.js';
|
|
10
|
+
import { browseExtensionsCommand } from '../ui/commands/browseExtensionsCommand.js';
|
|
10
11
|
import { bugCommand } from '../ui/commands/bugCommand.js';
|
|
11
12
|
import { chatCommand } from '../ui/commands/chatCommand.js';
|
|
12
13
|
import { clearCommand } from '../ui/commands/clearCommand.js';
|
|
@@ -18,7 +19,6 @@ import { directoryCommand } from '../ui/commands/directoryCommand.js';
|
|
|
18
19
|
import { editorCommand } from '../ui/commands/editorCommand.js';
|
|
19
20
|
import { extensionsCommand } from '../ui/commands/extensionsCommand.js';
|
|
20
21
|
import { helpCommand } from '../ui/commands/helpCommand.js';
|
|
21
|
-
import { ideCommand } from '../ui/commands/ideCommand.js';
|
|
22
22
|
import { initCommand } from '../ui/commands/initCommand.js';
|
|
23
23
|
import { mcpCommand } from '../ui/commands/mcpCommand.js';
|
|
24
24
|
import { memoryCommand } from '../ui/commands/memoryCommand.js';
|
|
@@ -34,6 +34,15 @@ import { themeCommand } from '../ui/commands/themeCommand.js';
|
|
|
34
34
|
import { toolsCommand } from '../ui/commands/toolsCommand.js';
|
|
35
35
|
import { vimCommand } from '../ui/commands/vimCommand.js';
|
|
36
36
|
import { setupGithubCommand } from '../ui/commands/setupGithubCommand.js';
|
|
37
|
+
import { dbCommand } from '../ui/commands/dbCommand.js';
|
|
38
|
+
import { voiceCommand } from '../ui/commands/voiceCommand.js';
|
|
39
|
+
import { multiAgentCommand } from '../ui/commands/multiAgentCommand.js';
|
|
40
|
+
import { multiAgentConfigureCommand } from '../ui/commands/multiAgentConfigureCommand.js';
|
|
41
|
+
import { shellPermissionsCommand } from '../ui/commands/shellPermissionsCommand.js';
|
|
42
|
+
import { toolPermissionsCommand } from '../ui/commands/toolPermissionsCommand.js';
|
|
43
|
+
import { skillCommand } from '../ui/commands/skillCommand.js';
|
|
44
|
+
import { releasesCommand } from '../ui/commands/releasesCommand.js';
|
|
45
|
+
import { tasksCommand } from '../ui/commands/tasksCommand.js';
|
|
37
46
|
/**
|
|
38
47
|
* Loads the core, hard-coded slash commands that are an integral part
|
|
39
48
|
* of the Gemini CLI application.
|
|
@@ -56,6 +65,7 @@ export class BuiltinCommandLoader {
|
|
|
56
65
|
agentsCommand,
|
|
57
66
|
approvalModeCommand,
|
|
58
67
|
authCommand,
|
|
68
|
+
browseExtensionsCommand,
|
|
59
69
|
bugCommand,
|
|
60
70
|
chatCommand,
|
|
61
71
|
clearCommand,
|
|
@@ -67,11 +77,12 @@ export class BuiltinCommandLoader {
|
|
|
67
77
|
editorCommand,
|
|
68
78
|
extensionsCommand,
|
|
69
79
|
helpCommand,
|
|
70
|
-
ideCommand(this.config),
|
|
71
80
|
initCommand,
|
|
72
81
|
mcpCommand,
|
|
73
82
|
memoryCommand,
|
|
74
83
|
modelCommand,
|
|
84
|
+
multiAgentCommand,
|
|
85
|
+
multiAgentConfigureCommand,
|
|
75
86
|
privacyCommand,
|
|
76
87
|
quitCommand,
|
|
77
88
|
quitConfirmCommand,
|
|
@@ -81,9 +92,16 @@ export class BuiltinCommandLoader {
|
|
|
81
92
|
themeCommand,
|
|
82
93
|
toolsCommand,
|
|
83
94
|
settingsCommand,
|
|
95
|
+
shellPermissionsCommand,
|
|
96
|
+
toolPermissionsCommand,
|
|
97
|
+
skillCommand,
|
|
98
|
+
releasesCommand,
|
|
84
99
|
vimCommand,
|
|
85
100
|
setupGithubCommand,
|
|
86
101
|
terminalSetupCommand,
|
|
102
|
+
voiceCommand,
|
|
103
|
+
dbCommand,
|
|
104
|
+
tasksCommand,
|
|
87
105
|
];
|
|
88
106
|
return allDefinitions.filter((cmd) => cmd !== null);
|
|
89
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuiltinCommandLoader.js","sourceRoot":"","sources":["../../../src/services/BuiltinCommandLoader.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO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Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import type { CountTokensParameters, CountTokensResponse, EmbedContentParameters, EmbedContentResponse, GenerateContentParameters } from '@google/genai';
|
|
7
|
+
import { GenerateContentResponse } from '@google/genai';
|
|
8
|
+
import type { ContentGenerator, UserTierId } from '@blackbox_ai/blackbox-cli-core';
|
|
9
|
+
/**
|
|
10
|
+
* EncryptedContentGenerator implements the ContentGenerator interface
|
|
11
|
+
* but routes requests through the BlackboxAI encryption system instead of OpenAI API
|
|
12
|
+
*/
|
|
13
|
+
export declare class EncryptedContentGenerator implements ContentGenerator {
|
|
14
|
+
private encryptedService;
|
|
15
|
+
private initialized;
|
|
16
|
+
constructor(_sessionId?: string);
|
|
17
|
+
/**
|
|
18
|
+
* Initialize the encrypted service
|
|
19
|
+
*/
|
|
20
|
+
private ensureInitialized;
|
|
21
|
+
/**
|
|
22
|
+
* Extract tools from request and format them for system prompt
|
|
23
|
+
*/
|
|
24
|
+
private extractAndFormatTools;
|
|
25
|
+
/**
|
|
26
|
+
* Convert Content[] to message history format expected by EncryptedChatService
|
|
27
|
+
*/
|
|
28
|
+
private convertToMessageHistory;
|
|
29
|
+
/**
|
|
30
|
+
* Convert Parts to text content
|
|
31
|
+
*/
|
|
32
|
+
private convertPartsToText;
|
|
33
|
+
/**
|
|
34
|
+
* Extract Content objects from the mixed content array
|
|
35
|
+
*/
|
|
36
|
+
private extractContentArray;
|
|
37
|
+
/**
|
|
38
|
+
* Parse tool calls from encrypted response text using enhanced parser
|
|
39
|
+
*/
|
|
40
|
+
private parseToolCallsFromResponse;
|
|
41
|
+
/**
|
|
42
|
+
* Detect model type from response format
|
|
43
|
+
*/
|
|
44
|
+
private detectModelType;
|
|
45
|
+
/**
|
|
46
|
+
* Remove tool call markup from response text to get clean text content
|
|
47
|
+
*/
|
|
48
|
+
private removeToolCallMarkup;
|
|
49
|
+
/**
|
|
50
|
+
* Extract tools from request for validation
|
|
51
|
+
*/
|
|
52
|
+
private extractToolsFromRequest;
|
|
53
|
+
/**
|
|
54
|
+
* Create a fallback response for errors
|
|
55
|
+
*/
|
|
56
|
+
private createFallbackResponse;
|
|
57
|
+
generateContent(request: GenerateContentParameters, _userPromptId: string): Promise<GenerateContentResponse>;
|
|
58
|
+
generateContentStream(request: GenerateContentParameters, _userPromptId: string): Promise<AsyncGenerator<GenerateContentResponse>>;
|
|
59
|
+
private generateContentStreamInternal;
|
|
60
|
+
countTokens(request: CountTokensParameters): Promise<CountTokensResponse>;
|
|
61
|
+
embedContent(request: EmbedContentParameters): Promise<EmbedContentResponse>;
|
|
62
|
+
userTier?: UserTierId;
|
|
63
|
+
}
|