@vybestack/llxprt-code 0.8.0 → 0.9.0-nightly.260120.c5843db0e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +8 -9
- package/dist/src/auth/BucketFailoverHandlerImpl.spec.js +6 -0
- package/dist/src/auth/BucketFailoverHandlerImpl.spec.js.map +1 -1
- package/dist/src/auth/__tests__/OAuthBucketManager.spec.js +6 -0
- package/dist/src/auth/__tests__/OAuthBucketManager.spec.js.map +1 -1
- package/dist/src/auth/__tests__/oauth-manager.issue913.spec.js +2 -0
- package/dist/src/auth/__tests__/oauth-manager.issue913.spec.js.map +1 -1
- package/dist/src/auth/anthropic-oauth-provider.d.ts +7 -0
- package/dist/src/auth/anthropic-oauth-provider.js +48 -0
- package/dist/src/auth/anthropic-oauth-provider.js.map +1 -1
- package/dist/src/auth/anthropic-oauth-provider.local-flow.spec.js +2 -0
- package/dist/src/auth/anthropic-oauth-provider.local-flow.spec.js.map +1 -1
- package/dist/src/auth/anthropic-oauth-provider.refresh.spec.js +2 -0
- package/dist/src/auth/anthropic-oauth-provider.refresh.spec.js.map +1 -1
- package/dist/src/auth/anthropic-oauth-provider.test.js +2 -0
- package/dist/src/auth/anthropic-oauth-provider.test.js.map +1 -1
- package/dist/src/auth/codex-oauth-provider.spec.js +2 -0
- package/dist/src/auth/codex-oauth-provider.spec.js.map +1 -1
- package/dist/src/auth/oauth-manager.bucketFailover.spec.js +2 -0
- package/dist/src/auth/oauth-manager.bucketFailover.spec.js.map +1 -1
- package/dist/src/auth/oauth-manager.bucketRefresh.spec.js +2 -0
- package/dist/src/auth/oauth-manager.bucketRefresh.spec.js.map +1 -1
- package/dist/src/auth/oauth-manager.concurrency.spec.js +2 -0
- package/dist/src/auth/oauth-manager.concurrency.spec.js.map +1 -1
- package/dist/src/auth/oauth-manager.js +66 -10
- package/dist/src/auth/oauth-manager.js.map +1 -1
- package/dist/src/auth/oauth-manager.logout.spec.js +6 -0
- package/dist/src/auth/oauth-manager.logout.spec.js.map +1 -1
- package/dist/src/auth/oauth-manager.refresh-race.spec.d.ts +11 -0
- package/dist/src/auth/oauth-manager.refresh-race.spec.js +191 -0
- package/dist/src/auth/oauth-manager.refresh-race.spec.js.map +1 -0
- package/dist/src/auth/oauth-manager.spec.js +6 -0
- package/dist/src/auth/oauth-manager.spec.js.map +1 -1
- package/dist/src/auth/qwen-oauth-provider.test.js +2 -0
- package/dist/src/auth/qwen-oauth-provider.test.js.map +1 -1
- package/dist/src/commands/extensions/install.js +21 -5
- package/dist/src/commands/extensions/install.js.map +1 -1
- package/dist/src/commands/extensions/install.test.js +66 -135
- package/dist/src/commands/extensions/install.test.js.map +1 -1
- package/dist/src/commands/extensions/link.d.ts +1 -1
- package/dist/src/commands/extensions/link.js +6 -4
- package/dist/src/commands/extensions/link.js.map +1 -1
- package/dist/src/commands/extensions/update.js +1 -1
- 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 +90 -0
- package/dist/src/commands/extensions/validate.js.map +1 -0
- package/dist/src/commands/extensions/validate.test.js +94 -0
- package/dist/src/commands/extensions/validate.test.js.map +1 -0
- package/dist/src/commands/extensions.js +2 -0
- package/dist/src/commands/extensions.js.map +1 -1
- package/dist/src/config/config.js +19 -12
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/config.loadMemory.test.js.map +1 -1
- package/dist/src/config/extension.js +8 -2
- package/dist/src/config/extension.js.map +1 -1
- package/dist/src/config/extensions/update.d.ts +2 -2
- package/dist/src/config/extensions/update.js +28 -22
- package/dist/src/config/extensions/update.js.map +1 -1
- package/dist/src/config/keyBindings.d.ts +3 -0
- package/dist/src/config/keyBindings.js +18 -2
- package/dist/src/config/keyBindings.js.map +1 -1
- package/dist/src/config/keyBindings.test.js +17 -0
- package/dist/src/config/keyBindings.test.js.map +1 -1
- package/dist/src/config/policy.d.ts +9 -0
- package/dist/src/config/policy.js +28 -0
- package/dist/src/config/policy.js.map +1 -0
- package/dist/src/config/sandboxConfig.d.ts +1 -1
- package/dist/src/config/sandboxConfig.js +6 -3
- package/dist/src/config/sandboxConfig.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +95 -16
- package/dist/src/config/settingsSchema.js +334 -13
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/config/settingsSchema.test.js +44 -1
- package/dist/src/config/settingsSchema.test.js.map +1 -1
- package/dist/src/gemini.js +14 -7
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/gemini.test.js +1 -0
- package/dist/src/gemini.test.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +1 -1
- package/dist/src/generated/git-commit.js +1 -1
- package/dist/src/integration-tests/todo-continuation.integration.test.js +1 -3
- package/dist/src/integration-tests/todo-continuation.integration.test.js.map +1 -1
- package/dist/src/nonInteractiveCli.d.ts +9 -1
- package/dist/src/nonInteractiveCli.js +84 -2
- package/dist/src/nonInteractiveCli.js.map +1 -1
- package/dist/src/providers/aliases/anthropic.config +9 -0
- package/dist/src/providers/aliases/cerebras-code.config +3 -1
- package/dist/src/providers/aliases/chutes-ai.config +4 -2
- package/dist/src/providers/aliases/codex.config +1 -0
- package/dist/src/providers/aliases/fireworks.config +3 -1
- package/dist/src/providers/aliases/gemini.config +9 -0
- package/dist/src/providers/aliases/kimi.config +1 -0
- package/dist/src/providers/aliases/llama-cpp.config +1 -0
- package/dist/src/providers/aliases/lm-studio.config +1 -0
- package/dist/src/providers/aliases/mistral.config +1 -0
- package/dist/src/providers/aliases/openai-responses.config +9 -0
- package/dist/src/providers/aliases/openai-vercel.config +9 -0
- package/dist/src/providers/aliases/openai.config +9 -0
- package/dist/src/providers/aliases/openrouter.config +3 -1
- package/dist/src/providers/aliases/qwen.config +1 -0
- package/dist/src/providers/aliases/qwenvercel.config +1 -0
- package/dist/src/providers/aliases/synthetic.config +1 -0
- package/dist/src/providers/aliases/xai.config +3 -1
- package/dist/src/providers/providerAliases.builtin-qwen.test.js +3 -1
- package/dist/src/providers/providerAliases.builtin-qwen.test.js.map +1 -1
- package/dist/src/providers/providerAliases.codex.test.js +3 -1
- package/dist/src/providers/providerAliases.codex.test.js.map +1 -1
- package/dist/src/providers/providerAliases.d.ts +2 -0
- package/dist/src/providers/providerAliases.js.map +1 -1
- package/dist/src/providers/providerManagerInstance.js +67 -33
- package/dist/src/providers/providerManagerInstance.js.map +1 -1
- package/dist/src/providers/providerManagerInstance.oauthRegistration.test.js +2 -0
- package/dist/src/providers/providerManagerInstance.oauthRegistration.test.js.map +1 -1
- package/dist/src/runtime/__tests__/profileApplication.test.js.map +1 -1
- package/dist/src/runtime/__tests__/runtimeIsolation.test.js.map +1 -1
- package/dist/src/runtime/runtimeSettings.d.ts +2 -2
- package/dist/src/runtime/runtimeSettings.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 +21 -1
- package/dist/src/test-utils/render.js +73 -2
- package/dist/src/test-utils/render.js.map +1 -1
- package/dist/src/test-utils/responsive-testing.d.ts +3 -1
- package/dist/src/test-utils/responsive-testing.js +1 -1
- package/dist/src/test-utils/responsive-testing.js.map +1 -1
- package/dist/src/test-utils/responsive-testing.test.js +18 -12
- package/dist/src/test-utils/responsive-testing.test.js.map +1 -1
- package/dist/src/ui/App.js +1 -1
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/AppContainer.js +44 -41
- package/dist/src/ui/AppContainer.js.map +1 -1
- package/dist/src/ui/colors.d.ts +1 -0
- package/dist/src/ui/colors.js +12 -0
- package/dist/src/ui/colors.js.map +1 -1
- package/dist/src/ui/commands/__tests__/diagnosticsCommand.bucket.spec.js +2 -0
- package/dist/src/ui/commands/__tests__/diagnosticsCommand.bucket.spec.js.map +1 -1
- package/dist/src/ui/commands/__tests__/statsCommand.bucket.spec.js +2 -0
- package/dist/src/ui/commands/__tests__/statsCommand.bucket.spec.js.map +1 -1
- package/dist/src/ui/commands/aboutCommand.js.map +1 -1
- package/dist/src/ui/commands/mcpCommand.js +3 -3
- package/dist/src/ui/commands/mcpCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.js +95 -26
- package/dist/src/ui/commands/modelCommand.js.map +1 -1
- package/dist/src/ui/commands/mouseCommand.test.js +1 -1
- package/dist/src/ui/commands/mouseCommand.test.js.map +1 -1
- package/dist/src/ui/commands/providerCommand.test.js +2 -0
- package/dist/src/ui/commands/providerCommand.test.js.map +1 -1
- package/dist/src/ui/commands/test/useSlashCompletion.schema.test.js +1 -1
- package/dist/src/ui/commands/test/useSlashCompletion.schema.test.js.map +1 -1
- package/dist/src/ui/commands/types.d.ts +24 -2
- package/dist/src/ui/commands/types.js.map +1 -1
- package/dist/src/ui/components/DialogManager.js +66 -5
- package/dist/src/ui/components/DialogManager.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/InputPrompt.js +1 -10
- package/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/dist/src/ui/components/ModelDialog.d.ts +25 -0
- package/dist/src/ui/components/ModelDialog.js +373 -0
- package/dist/src/ui/components/ModelDialog.js.map +1 -0
- package/dist/src/ui/components/Notifications.js +36 -2
- package/dist/src/ui/components/Notifications.js.map +1 -1
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js +1 -2
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js.map +1 -1
- package/dist/src/ui/components/ProfileCreateWizard/ModelSelectStep.js +36 -4
- package/dist/src/ui/components/ProfileCreateWizard/ModelSelectStep.js.map +1 -1
- package/dist/src/ui/components/ProfileInlineEditor.js +2 -3
- package/dist/src/ui/components/ProfileInlineEditor.js.map +1 -1
- package/dist/src/ui/components/ProfileListDialog.js +1 -1
- package/dist/src/ui/components/ProfileListDialog.js.map +1 -1
- package/dist/src/ui/components/ProviderDialog.js +1 -1
- package/dist/src/ui/components/ProviderDialog.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.js +32 -25
- package/dist/src/ui/components/SettingsDialog.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.test.js +528 -340
- package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
- package/dist/src/ui/components/ShellConfirmationDialog.d.ts +2 -2
- package/dist/src/ui/components/ShellConfirmationDialog.js +4 -10
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/__tests__/LayoutManager.test.js +24 -22
- package/dist/src/ui/components/__tests__/LayoutManager.test.js.map +1 -1
- package/dist/src/ui/components/messages/InfoMessage.d.ts +2 -2
- package/dist/src/ui/components/messages/InfoMessage.js +3 -3
- package/dist/src/ui/components/messages/InfoMessage.js.map +1 -1
- package/dist/src/ui/components/messages/OAuthUrlMessage.js +3 -3
- package/dist/src/ui/components/messages/OAuthUrlMessage.js.map +1 -1
- package/dist/src/ui/components/messages/OAuthUrlMessage.test.js +28 -44
- package/dist/src/ui/components/messages/OAuthUrlMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +3 -3
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +45 -139
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.js +12 -2
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/dist/src/ui/components/messages/WarningMessage.js +2 -2
- package/dist/src/ui/components/messages/WarningMessage.js.map +1 -1
- package/dist/src/ui/components/shared/BaseSelectionList.test.js +1 -2
- package/dist/src/ui/components/shared/BaseSelectionList.test.js.map +1 -1
- package/dist/src/ui/components/views/ExtensionsList.js +3 -0
- package/dist/src/ui/components/views/ExtensionsList.js.map +1 -1
- package/dist/src/ui/components/views/ExtensionsList.test.js +4 -0
- package/dist/src/ui/components/views/ExtensionsList.test.js.map +1 -1
- package/dist/src/ui/containers/SessionController.test.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.d.ts +6 -21
- package/dist/src/ui/contexts/KeypressContext.js +601 -813
- package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.test.js +231 -665
- package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
- package/dist/src/ui/contexts/MouseContext.d.ts +5 -3
- package/dist/src/ui/contexts/MouseContext.js +20 -6
- package/dist/src/ui/contexts/MouseContext.js.map +1 -1
- package/dist/src/ui/contexts/MouseContext.test.js +2 -1
- package/dist/src/ui/contexts/MouseContext.test.js.map +1 -1
- package/dist/src/ui/contexts/ScrollProvider.test.js +1 -2
- package/dist/src/ui/contexts/ScrollProvider.test.js.map +1 -1
- package/dist/src/ui/contexts/UIActionsContext.d.ts +11 -3
- package/dist/src/ui/contexts/UIActionsContext.js.map +1 -1
- package/dist/src/ui/contexts/UIStateContext.d.ts +17 -3
- package/dist/src/ui/contexts/UIStateContext.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.js +27 -29
- package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.js +2 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/index.d.ts +0 -1
- package/dist/src/ui/hooks/index.js +0 -1
- package/dist/src/ui/hooks/index.js.map +1 -1
- package/dist/src/ui/hooks/shellCommandProcessor.test.js +2 -1
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +2 -2
- package/dist/src/ui/hooks/slashCommandProcessor.js +6 -3
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +2 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useEditorSettings.test.js +1 -2
- package/dist/src/ui/hooks/useEditorSettings.test.js.map +1 -1
- package/dist/src/ui/hooks/useExtensionUpdates.test.js +13 -78
- package/dist/src/ui/hooks/useExtensionUpdates.test.js.map +1 -1
- package/dist/src/ui/hooks/useFlickerDetector.test.js +1 -1
- package/dist/src/ui/hooks/useFlickerDetector.test.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.dedup.test.js +2 -1
- package/dist/src/ui/hooks/useGeminiStream.dedup.test.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.integration.test.js +2 -2
- package/dist/src/ui/hooks/useGeminiStream.integration.test.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.js +4 -2
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.subagent.spec.js +2 -2
- package/dist/src/ui/hooks/useGeminiStream.subagent.spec.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.test.js +1 -1
- package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
- package/dist/src/ui/hooks/useHistoryManager.test.js +2 -1
- package/dist/src/ui/hooks/useHistoryManager.test.js.map +1 -1
- package/dist/src/ui/hooks/useInputHistory.test.js +2 -1
- package/dist/src/ui/hooks/useInputHistory.test.js.map +1 -1
- package/dist/src/ui/hooks/useInputHistoryStore.test.js +2 -1
- package/dist/src/ui/hooks/useInputHistoryStore.test.js.map +1 -1
- package/dist/src/ui/hooks/useKeypress.d.ts +1 -3
- package/dist/src/ui/hooks/useKeypress.js +1 -2
- package/dist/src/ui/hooks/useKeypress.js.map +1 -1
- package/dist/src/ui/hooks/useKeypress.test.d.ts +1 -1
- package/dist/src/ui/hooks/useKeypress.test.js +135 -40
- package/dist/src/ui/hooks/useKeypress.test.js.map +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.test.js +2 -1
- package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useMouse.d.ts +9 -1
- package/dist/src/ui/hooks/useMouse.js +7 -0
- package/dist/src/ui/hooks/useMouse.js.map +1 -1
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js.map +1 -1
- package/dist/src/ui/hooks/usePrivacySettings.test.js +1 -1
- package/dist/src/ui/hooks/usePrivacySettings.test.js.map +1 -1
- package/dist/src/ui/hooks/useResponsive.test.js +1 -1
- package/dist/src/ui/hooks/useResponsive.test.js.map +1 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.test.js +2 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.test.js.map +1 -1
- package/dist/src/ui/hooks/useSelectionList.js +4 -3
- package/dist/src/ui/hooks/useSelectionList.js.map +1 -1
- package/dist/src/ui/hooks/useSelectionList.test.js +26 -4
- package/dist/src/ui/hooks/useSelectionList.test.js.map +1 -1
- package/dist/src/ui/hooks/useShellHistory.test.js +11 -5
- package/dist/src/ui/hooks/useShellHistory.test.js.map +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.js +2 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -1
- package/dist/src/ui/hooks/useStableCallback.test.js +1 -1
- package/dist/src/ui/hooks/useStableCallback.test.js.map +1 -1
- package/dist/src/ui/hooks/useStaticHistoryRefresh.test.js +1 -1
- package/dist/src/ui/hooks/useStaticHistoryRefresh.test.js.map +1 -1
- package/dist/src/ui/hooks/useTodoContinuation.spec.js +2 -1
- package/dist/src/ui/hooks/useTodoContinuation.spec.js.map +1 -1
- package/dist/src/ui/hooks/useToolScheduler.test.js +11 -5
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
- package/dist/src/ui/keyMatchers.test.js +22 -0
- package/dist/src/ui/keyMatchers.test.js.map +1 -1
- package/dist/src/ui/layouts/DefaultAppLayout.js +1 -1
- package/dist/src/ui/layouts/DefaultAppLayout.js.map +1 -1
- package/dist/src/ui/privacy/MultiProviderPrivacyNotice.test.js +1 -1
- package/dist/src/ui/privacy/MultiProviderPrivacyNotice.test.js.map +1 -1
- package/dist/src/ui/reducers/appReducer.d.ts +2 -3
- package/dist/src/ui/reducers/appReducer.js +0 -1
- package/dist/src/ui/reducers/appReducer.js.map +1 -1
- package/dist/src/ui/reducers/appReducer.test.js +0 -4
- package/dist/src/ui/reducers/appReducer.test.js.map +1 -1
- package/dist/src/ui/state/extensions.d.ts +1 -0
- package/dist/src/ui/state/extensions.js +1 -0
- package/dist/src/ui/state/extensions.js.map +1 -1
- package/dist/src/ui/themes/ansi-light.js +1 -0
- package/dist/src/ui/themes/ansi-light.js.map +1 -1
- package/dist/src/ui/themes/ansi.js +1 -0
- package/dist/src/ui/themes/ansi.js.map +1 -1
- package/dist/src/ui/themes/atom-one-dark.js +2 -0
- package/dist/src/ui/themes/atom-one-dark.js.map +1 -1
- package/dist/src/ui/themes/ayu-light.js +2 -0
- package/dist/src/ui/themes/ayu-light.js.map +1 -1
- package/dist/src/ui/themes/ayu.js +2 -0
- package/dist/src/ui/themes/ayu.js.map +1 -1
- package/dist/src/ui/themes/color-utils.d.ts +1 -0
- package/dist/src/ui/themes/color-utils.js +6 -0
- package/dist/src/ui/themes/color-utils.js.map +1 -1
- package/dist/src/ui/themes/color-utils.test.js +13 -1
- package/dist/src/ui/themes/color-utils.test.js.map +1 -1
- package/dist/src/ui/themes/dracula.js +2 -0
- package/dist/src/ui/themes/dracula.js.map +1 -1
- package/dist/src/ui/themes/github-dark.js +2 -0
- package/dist/src/ui/themes/github-dark.js.map +1 -1
- package/dist/src/ui/themes/github-light.js +2 -0
- package/dist/src/ui/themes/github-light.js.map +1 -1
- package/dist/src/ui/themes/googlecode.js +2 -0
- package/dist/src/ui/themes/googlecode.js.map +1 -1
- package/dist/src/ui/themes/green-screen.js +1 -0
- package/dist/src/ui/themes/green-screen.js.map +1 -1
- package/dist/src/ui/themes/no-color.js +33 -1
- package/dist/src/ui/themes/no-color.js.map +1 -1
- package/dist/src/ui/themes/semantic-resolver.js +2 -0
- package/dist/src/ui/themes/semantic-resolver.js.map +1 -1
- package/dist/src/ui/themes/semantic-resolver.test.js +14 -0
- package/dist/src/ui/themes/semantic-resolver.test.js.map +1 -1
- package/dist/src/ui/themes/semantic-tokens.d.ts +2 -0
- package/dist/src/ui/themes/semantic-tokens.js +6 -0
- package/dist/src/ui/themes/semantic-tokens.js.map +1 -1
- package/dist/src/ui/themes/semantic-tokens.test.js +5 -0
- package/dist/src/ui/themes/semantic-tokens.test.js.map +1 -1
- package/dist/src/ui/themes/shades-of-purple.js +2 -0
- package/dist/src/ui/themes/shades-of-purple.js.map +1 -1
- package/dist/src/ui/themes/theme-manager.test.js +3 -0
- package/dist/src/ui/themes/theme-manager.test.js.map +1 -1
- package/dist/src/ui/themes/theme.d.ts +77 -2
- package/dist/src/ui/themes/theme.js +62 -4
- package/dist/src/ui/themes/theme.js.map +1 -1
- package/dist/src/ui/themes/xcode.js +2 -0
- package/dist/src/ui/themes/xcode.js.map +1 -1
- package/dist/src/ui/utils/CodeColorizer.js +1 -1
- package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
- package/dist/src/ui/utils/InlineMarkdownRenderer.d.ts +2 -1
- package/dist/src/ui/utils/InlineMarkdownRenderer.js +19 -18
- package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.d.ts +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.js +16 -15
- package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.test.js +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -1
- package/dist/src/ui/utils/input.d.ts +6 -0
- package/dist/src/ui/utils/input.js +28 -4
- package/dist/src/ui/utils/input.js.map +1 -1
- package/dist/src/ui/utils/mouse.d.ts +5 -10
- package/dist/src/ui/utils/mouse.js +131 -119
- package/dist/src/ui/utils/mouse.js.map +1 -1
- package/dist/src/ui/utils/mouse.test.js +9 -11
- package/dist/src/ui/utils/mouse.test.js.map +1 -1
- package/dist/src/ui/utils/terminalContract.test.js +2 -2
- package/dist/src/ui/utils/terminalContract.test.js.map +1 -1
- package/dist/src/ui/utils/updateCheck.js +6 -2
- package/dist/src/ui/utils/updateCheck.js.map +1 -1
- package/dist/src/ui/utils/updateCheck.test.js +5 -1
- package/dist/src/ui/utils/updateCheck.test.js.map +1 -1
- package/dist/src/utils/commentJson.js +2 -2
- package/dist/src/utils/commentJson.js.map +1 -1
- package/dist/src/utils/commentJson.test.js +7 -6
- package/dist/src/utils/commentJson.test.js.map +1 -1
- package/dist/src/utils/events.d.ts +35 -3
- package/dist/src/utils/events.js +5 -1
- package/dist/src/utils/events.js.map +1 -1
- package/dist/src/utils/version.js +7 -3
- package/dist/src/utils/version.js.map +1 -1
- package/dist/src/zed-integration/acp.d.ts +1 -1
- package/dist/src/zed-integration/acp.js +2 -2
- package/dist/src/zed-integration/acp.js.map +1 -1
- package/dist/src/zed-integration/schema.d.ts +46 -46
- package/dist/src/zed-integration/zedIntegration.js +12 -1
- package/dist/src/zed-integration/zedIntegration.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -9
- package/dist/src/ui/components/ProviderModelDialog.d.ts +0 -15
- package/dist/src/ui/components/ProviderModelDialog.js +0 -182
- package/dist/src/ui/components/ProviderModelDialog.js.map +0 -1
- package/dist/src/ui/components/ProviderModelDialog.responsive.test.js +0 -252
- package/dist/src/ui/components/ProviderModelDialog.responsive.test.js.map +0 -1
- package/dist/src/ui/components/ProviderModelDialog.test.d.ts +0 -6
- package/dist/src/ui/components/ProviderModelDialog.test.js +0 -197
- package/dist/src/ui/components/ProviderModelDialog.test.js.map +0 -1
- package/dist/src/ui/hooks/useProviderModelDialog.d.ts +0 -26
- package/dist/src/ui/hooks/useProviderModelDialog.js +0 -61
- package/dist/src/ui/hooks/useProviderModelDialog.js.map +0 -1
- package/dist/src/ui/oauthUrlMessage.test.d.ts +0 -6
- package/dist/src/ui/oauthUrlMessage.test.js +0 -19
- package/dist/src/ui/oauthUrlMessage.test.js.map +0 -1
- package/dist/src/utils/package.d.ts +0 -12
- package/dist/src/utils/package.js +0 -24
- package/dist/src/utils/package.js.map +0 -1
- /package/dist/src/{ui/components/ProviderModelDialog.responsive.test.d.ts → commands/extensions/validate.test.d.ts} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2025 Vybestack LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { MCPServerConfig, BugCommandSettings, TelemetrySettings, AuthType, ChatCompressionSettings } from '@vybestack/llxprt-code-core';
|
|
6
|
+
import { MCPServerConfig, BugCommandSettings, TelemetrySettings, AuthType, ChatCompressionSettings, HookDefinition, HookEventName } from '@vybestack/llxprt-code-core';
|
|
7
7
|
import { CustomTheme } from '../ui/themes/theme.js';
|
|
8
8
|
import type { SessionRetentionSettings } from './settings.js';
|
|
9
9
|
export type SettingsType = 'boolean' | 'string' | 'number' | 'array' | 'object' | 'enum';
|
|
@@ -18,6 +18,18 @@ export interface SettingEnumOption {
|
|
|
18
18
|
value: string | number;
|
|
19
19
|
label: string;
|
|
20
20
|
}
|
|
21
|
+
export interface SettingCollectionDefinition {
|
|
22
|
+
type: SettingsType;
|
|
23
|
+
description?: string;
|
|
24
|
+
properties?: SettingsSchema;
|
|
25
|
+
/** Enum type options */
|
|
26
|
+
options?: readonly SettingEnumOption[];
|
|
27
|
+
/**
|
|
28
|
+
* Optional reference identifier for generators that emit a `$ref`.
|
|
29
|
+
* For example, a JSON schema generator can use this to point to a shared definition.
|
|
30
|
+
*/
|
|
31
|
+
ref?: string;
|
|
32
|
+
}
|
|
21
33
|
export declare enum MergeStrategy {
|
|
22
34
|
REPLACE = "replace",
|
|
23
35
|
CONCAT = "concat",
|
|
@@ -39,6 +51,18 @@ export interface SettingDefinition {
|
|
|
39
51
|
mergeStrategy?: MergeStrategy;
|
|
40
52
|
/** Enum type options */
|
|
41
53
|
options?: readonly SettingEnumOption[];
|
|
54
|
+
/**
|
|
55
|
+
* For collection types (e.g. arrays), describes the shape of each item.
|
|
56
|
+
*/
|
|
57
|
+
items?: SettingCollectionDefinition;
|
|
58
|
+
/**
|
|
59
|
+
* For map-like objects without explicit `properties`, describes the shape of the values.
|
|
60
|
+
*/
|
|
61
|
+
additionalProperties?: SettingCollectionDefinition;
|
|
62
|
+
/**
|
|
63
|
+
* Optional reference identifier for generators that emit a `$ref`.
|
|
64
|
+
*/
|
|
65
|
+
ref?: string;
|
|
42
66
|
subSettings?: SettingsSchema;
|
|
43
67
|
}
|
|
44
68
|
export interface SettingsSchema {
|
|
@@ -296,6 +320,11 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
296
320
|
readonly default: Record<string, MCPServerConfig>;
|
|
297
321
|
readonly description: "Configuration for MCP servers.";
|
|
298
322
|
readonly showInDialog: false;
|
|
323
|
+
readonly mergeStrategy: MergeStrategy.SHALLOW_MERGE;
|
|
324
|
+
readonly additionalProperties: {
|
|
325
|
+
readonly type: "object";
|
|
326
|
+
readonly ref: "MCPServerConfig";
|
|
327
|
+
};
|
|
299
328
|
};
|
|
300
329
|
readonly sessionRetention: {
|
|
301
330
|
readonly type: "object";
|
|
@@ -358,6 +387,10 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
358
387
|
readonly default: Record<string, CustomTheme>;
|
|
359
388
|
readonly description: "Custom theme definitions.";
|
|
360
389
|
readonly showInDialog: false;
|
|
390
|
+
readonly additionalProperties: {
|
|
391
|
+
readonly type: "object";
|
|
392
|
+
readonly ref: "CustomTheme";
|
|
393
|
+
};
|
|
361
394
|
};
|
|
362
395
|
readonly hideWindowTitle: {
|
|
363
396
|
readonly type: "boolean";
|
|
@@ -616,8 +649,9 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
616
649
|
readonly label: "Context File Name";
|
|
617
650
|
readonly category: "UI";
|
|
618
651
|
readonly requiresRestart: false;
|
|
619
|
-
readonly default: string | undefined;
|
|
620
|
-
readonly
|
|
652
|
+
readonly default: string | string[] | undefined;
|
|
653
|
+
readonly ref: "StringOrStringArray";
|
|
654
|
+
readonly description: "The name of the context file or files to load into memory. Accepts either a single string or an array of strings.";
|
|
621
655
|
readonly showInDialog: false;
|
|
622
656
|
};
|
|
623
657
|
readonly usageStatisticsEnabled: {
|
|
@@ -748,6 +782,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
748
782
|
readonly default: TelemetrySettings | undefined;
|
|
749
783
|
readonly description: "Telemetry configuration.";
|
|
750
784
|
readonly showInDialog: false;
|
|
785
|
+
readonly ref: "TelemetrySettings";
|
|
751
786
|
};
|
|
752
787
|
readonly bugCommand: {
|
|
753
788
|
readonly type: "object";
|
|
@@ -757,6 +792,7 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
757
792
|
readonly default: BugCommandSettings | undefined;
|
|
758
793
|
readonly description: "Configuration for the bug report command.";
|
|
759
794
|
readonly showInDialog: false;
|
|
795
|
+
readonly ref: "BugCommandSettings";
|
|
760
796
|
};
|
|
761
797
|
readonly summarizeToolOutput: {
|
|
762
798
|
readonly type: "object";
|
|
@@ -766,8 +802,13 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
766
802
|
readonly default: Record<string, {
|
|
767
803
|
tokenBudget?: number;
|
|
768
804
|
}> | undefined;
|
|
769
|
-
readonly description:
|
|
805
|
+
readonly description: string;
|
|
770
806
|
readonly showInDialog: false;
|
|
807
|
+
readonly additionalProperties: {
|
|
808
|
+
readonly type: "object";
|
|
809
|
+
readonly description: "Per-tool summarization settings with an optional tokenBudget.";
|
|
810
|
+
readonly ref: "SummarizeToolOutputSettings";
|
|
811
|
+
};
|
|
771
812
|
};
|
|
772
813
|
readonly dnsResolutionOrder: {
|
|
773
814
|
readonly type: "string";
|
|
@@ -788,12 +829,13 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
788
829
|
readonly showInDialog: false;
|
|
789
830
|
readonly properties: {
|
|
790
831
|
readonly sandbox: {
|
|
791
|
-
readonly type: "
|
|
832
|
+
readonly type: "string";
|
|
792
833
|
readonly label: "Sandbox";
|
|
793
834
|
readonly category: "Tools";
|
|
794
835
|
readonly requiresRestart: true;
|
|
795
836
|
readonly default: boolean | string | undefined;
|
|
796
|
-
readonly
|
|
837
|
+
readonly ref: "BooleanOrString";
|
|
838
|
+
readonly description: string;
|
|
797
839
|
readonly showInDialog: false;
|
|
798
840
|
};
|
|
799
841
|
readonly autoAccept: {
|
|
@@ -895,6 +937,15 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
895
937
|
readonly description: "Absolute path to a TOML policy file that augments the built-in policy rules.";
|
|
896
938
|
readonly showInDialog: false;
|
|
897
939
|
};
|
|
940
|
+
readonly enableHooks: {
|
|
941
|
+
readonly type: "boolean";
|
|
942
|
+
readonly label: "Enable Hooks System";
|
|
943
|
+
readonly category: "Advanced";
|
|
944
|
+
readonly requiresRestart: true;
|
|
945
|
+
readonly default: false;
|
|
946
|
+
readonly description: "Enable the hooks system for intercepting and customizing LLxprt CLI behavior. When enabled, hooks configured in settings will execute at appropriate lifecycle events (BeforeTool, AfterTool, BeforeModel, etc.). Requires MessageBus integration.";
|
|
947
|
+
readonly showInDialog: false;
|
|
948
|
+
};
|
|
898
949
|
};
|
|
899
950
|
};
|
|
900
951
|
readonly mcp: {
|
|
@@ -1085,14 +1136,25 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
1085
1136
|
readonly description: "Chat compression settings.";
|
|
1086
1137
|
readonly showInDialog: false;
|
|
1087
1138
|
};
|
|
1088
|
-
readonly
|
|
1089
|
-
readonly type: "
|
|
1090
|
-
readonly label: "
|
|
1091
|
-
readonly category: "
|
|
1092
|
-
readonly requiresRestart:
|
|
1093
|
-
readonly default:
|
|
1094
|
-
readonly description: "
|
|
1095
|
-
readonly showInDialog:
|
|
1139
|
+
readonly experimental: {
|
|
1140
|
+
readonly type: "object";
|
|
1141
|
+
readonly label: "Experimental";
|
|
1142
|
+
readonly category: "Experimental";
|
|
1143
|
+
readonly requiresRestart: true;
|
|
1144
|
+
readonly default: {};
|
|
1145
|
+
readonly description: "Experimental features.";
|
|
1146
|
+
readonly showInDialog: false;
|
|
1147
|
+
readonly properties: {
|
|
1148
|
+
readonly extensionReloading: {
|
|
1149
|
+
readonly type: "boolean";
|
|
1150
|
+
readonly label: "Extension Reloading";
|
|
1151
|
+
readonly category: "Experimental";
|
|
1152
|
+
readonly requiresRestart: true;
|
|
1153
|
+
readonly default: false;
|
|
1154
|
+
readonly description: "Enables extension loading/unloading within the CLI session.";
|
|
1155
|
+
readonly showInDialog: false;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1096
1158
|
};
|
|
1097
1159
|
readonly defaultProfile: {
|
|
1098
1160
|
readonly type: "string";
|
|
@@ -1375,8 +1437,11 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
1375
1437
|
readonly category: "UI";
|
|
1376
1438
|
readonly requiresRestart: false;
|
|
1377
1439
|
readonly default: string[];
|
|
1378
|
-
readonly description:
|
|
1440
|
+
readonly description: string;
|
|
1379
1441
|
readonly showInDialog: false;
|
|
1442
|
+
readonly items: {
|
|
1443
|
+
readonly type: "string";
|
|
1444
|
+
};
|
|
1380
1445
|
};
|
|
1381
1446
|
readonly wittyPhraseStyle: {
|
|
1382
1447
|
readonly type: "enum";
|
|
@@ -1403,13 +1468,27 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
1403
1468
|
label: string;
|
|
1404
1469
|
})[];
|
|
1405
1470
|
};
|
|
1471
|
+
readonly hooks: {
|
|
1472
|
+
readonly type: "object";
|
|
1473
|
+
readonly label: "Hooks";
|
|
1474
|
+
readonly category: "Advanced";
|
|
1475
|
+
readonly requiresRestart: false;
|
|
1476
|
+
readonly default: { [K in HookEventName]?: HookDefinition[]; };
|
|
1477
|
+
readonly description: "Hook configurations for intercepting and customizing agent behavior.";
|
|
1478
|
+
readonly showInDialog: false;
|
|
1479
|
+
readonly mergeStrategy: MergeStrategy.SHALLOW_MERGE;
|
|
1480
|
+
};
|
|
1406
1481
|
};
|
|
1482
|
+
export type SettingsSchemaType = typeof SETTINGS_SCHEMA;
|
|
1483
|
+
export type SettingsJsonSchemaDefinition = Record<string, unknown>;
|
|
1484
|
+
export declare const SETTINGS_SCHEMA_DEFINITIONS: Record<string, SettingsJsonSchemaDefinition>;
|
|
1485
|
+
export declare function getSettingsSchema(): SettingsSchemaType;
|
|
1407
1486
|
type InferSettings<T extends SettingsSchema> = {
|
|
1408
1487
|
-readonly [K in keyof T]?: T[K] extends {
|
|
1409
1488
|
properties: SettingsSchema;
|
|
1410
1489
|
} ? InferSettings<T[K]['properties']> : T[K]['type'] extends 'enum' ? T[K]['options'] extends readonly SettingEnumOption[] ? T[K]['options'][number]['value'] : T[K]['default'] : T[K]['default'] extends boolean ? boolean : T[K]['default'];
|
|
1411
1490
|
};
|
|
1412
|
-
export type Settings = InferSettings<
|
|
1491
|
+
export type Settings = InferSettings<SettingsSchemaType>;
|
|
1413
1492
|
export interface FooterSettings {
|
|
1414
1493
|
hideCWD?: boolean;
|
|
1415
1494
|
hideSandboxStatus?: boolean;
|
|
@@ -13,6 +13,16 @@ export const TOGGLE_TYPES = new Set([
|
|
|
13
13
|
'boolean',
|
|
14
14
|
'enum',
|
|
15
15
|
]);
|
|
16
|
+
function oneLine(strings, ...values) {
|
|
17
|
+
let result = '';
|
|
18
|
+
for (let i = 0; i < strings.length; i++) {
|
|
19
|
+
result += strings[i];
|
|
20
|
+
if (i < values.length) {
|
|
21
|
+
result += String(values[i]);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return result.replace(/\s+/g, ' ').trim();
|
|
25
|
+
}
|
|
16
26
|
export var MergeStrategy;
|
|
17
27
|
(function (MergeStrategy) {
|
|
18
28
|
// Replace the old value with the new value. This is the default.
|
|
@@ -276,6 +286,11 @@ export const SETTINGS_SCHEMA = {
|
|
|
276
286
|
default: {},
|
|
277
287
|
description: 'Configuration for MCP servers.',
|
|
278
288
|
showInDialog: false,
|
|
289
|
+
mergeStrategy: MergeStrategy.SHALLOW_MERGE,
|
|
290
|
+
additionalProperties: {
|
|
291
|
+
type: 'object',
|
|
292
|
+
ref: 'MCPServerConfig',
|
|
293
|
+
},
|
|
279
294
|
},
|
|
280
295
|
sessionRetention: {
|
|
281
296
|
type: 'object',
|
|
@@ -335,6 +350,10 @@ export const SETTINGS_SCHEMA = {
|
|
|
335
350
|
default: {},
|
|
336
351
|
description: 'Custom theme definitions.',
|
|
337
352
|
showInDialog: false,
|
|
353
|
+
additionalProperties: {
|
|
354
|
+
type: 'object',
|
|
355
|
+
ref: 'CustomTheme',
|
|
356
|
+
},
|
|
338
357
|
},
|
|
339
358
|
hideWindowTitle: {
|
|
340
359
|
type: 'boolean',
|
|
@@ -585,7 +604,8 @@ export const SETTINGS_SCHEMA = {
|
|
|
585
604
|
category: 'UI',
|
|
586
605
|
requiresRestart: false,
|
|
587
606
|
default: undefined,
|
|
588
|
-
|
|
607
|
+
ref: 'StringOrStringArray',
|
|
608
|
+
description: 'The name of the context file or files to load into memory. Accepts either a single string or an array of strings.',
|
|
589
609
|
showInDialog: false,
|
|
590
610
|
},
|
|
591
611
|
usageStatisticsEnabled: {
|
|
@@ -717,6 +737,7 @@ export const SETTINGS_SCHEMA = {
|
|
|
717
737
|
default: undefined,
|
|
718
738
|
description: 'Telemetry configuration.',
|
|
719
739
|
showInDialog: false,
|
|
740
|
+
ref: 'TelemetrySettings',
|
|
720
741
|
},
|
|
721
742
|
bugCommand: {
|
|
722
743
|
type: 'object',
|
|
@@ -726,6 +747,7 @@ export const SETTINGS_SCHEMA = {
|
|
|
726
747
|
default: undefined,
|
|
727
748
|
description: 'Configuration for the bug report command.',
|
|
728
749
|
showInDialog: false,
|
|
750
|
+
ref: 'BugCommandSettings',
|
|
729
751
|
},
|
|
730
752
|
summarizeToolOutput: {
|
|
731
753
|
type: 'object',
|
|
@@ -733,8 +755,17 @@ export const SETTINGS_SCHEMA = {
|
|
|
733
755
|
category: 'Advanced',
|
|
734
756
|
requiresRestart: false,
|
|
735
757
|
default: undefined,
|
|
736
|
-
description:
|
|
758
|
+
description: oneLine `
|
|
759
|
+
Enables or disables summarization of tool output.
|
|
760
|
+
Configure per-tool token budgets (for example {"run_shell_command": {"tokenBudget": 2000}}).
|
|
761
|
+
Currently only the run_shell_command tool supports summarization.
|
|
762
|
+
`,
|
|
737
763
|
showInDialog: false,
|
|
764
|
+
additionalProperties: {
|
|
765
|
+
type: 'object',
|
|
766
|
+
description: 'Per-tool summarization settings with an optional tokenBudget.',
|
|
767
|
+
ref: 'SummarizeToolOutputSettings',
|
|
768
|
+
},
|
|
738
769
|
},
|
|
739
770
|
dnsResolutionOrder: {
|
|
740
771
|
type: 'string',
|
|
@@ -755,12 +786,16 @@ export const SETTINGS_SCHEMA = {
|
|
|
755
786
|
showInDialog: false,
|
|
756
787
|
properties: {
|
|
757
788
|
sandbox: {
|
|
758
|
-
type: '
|
|
789
|
+
type: 'string',
|
|
759
790
|
label: 'Sandbox',
|
|
760
791
|
category: 'Tools',
|
|
761
792
|
requiresRestart: true,
|
|
762
793
|
default: undefined,
|
|
763
|
-
|
|
794
|
+
ref: 'BooleanOrString',
|
|
795
|
+
description: oneLine `
|
|
796
|
+
Sandbox execution environment.
|
|
797
|
+
Set to a boolean to enable or disable the sandbox, or provide a string path to a sandbox profile.
|
|
798
|
+
`,
|
|
764
799
|
showInDialog: false,
|
|
765
800
|
},
|
|
766
801
|
autoAccept: {
|
|
@@ -862,6 +897,15 @@ export const SETTINGS_SCHEMA = {
|
|
|
862
897
|
description: 'Absolute path to a TOML policy file that augments the built-in policy rules.',
|
|
863
898
|
showInDialog: false,
|
|
864
899
|
},
|
|
900
|
+
enableHooks: {
|
|
901
|
+
type: 'boolean',
|
|
902
|
+
label: 'Enable Hooks System',
|
|
903
|
+
category: 'Advanced',
|
|
904
|
+
requiresRestart: true,
|
|
905
|
+
default: false,
|
|
906
|
+
description: 'Enable the hooks system for intercepting and customizing LLxprt CLI behavior. When enabled, hooks configured in settings will execute at appropriate lifecycle events (BeforeTool, AfterTool, BeforeModel, etc.). Requires MessageBus integration.',
|
|
907
|
+
showInDialog: false,
|
|
908
|
+
},
|
|
865
909
|
},
|
|
866
910
|
},
|
|
867
911
|
mcp: {
|
|
@@ -1052,14 +1096,25 @@ export const SETTINGS_SCHEMA = {
|
|
|
1052
1096
|
description: 'Chat compression settings.',
|
|
1053
1097
|
showInDialog: false,
|
|
1054
1098
|
},
|
|
1055
|
-
|
|
1056
|
-
type: '
|
|
1057
|
-
label: '
|
|
1058
|
-
category: '
|
|
1059
|
-
requiresRestart:
|
|
1060
|
-
default:
|
|
1061
|
-
description: '
|
|
1062
|
-
showInDialog:
|
|
1099
|
+
experimental: {
|
|
1100
|
+
type: 'object',
|
|
1101
|
+
label: 'Experimental',
|
|
1102
|
+
category: 'Experimental',
|
|
1103
|
+
requiresRestart: true,
|
|
1104
|
+
default: {},
|
|
1105
|
+
description: 'Experimental features.',
|
|
1106
|
+
showInDialog: false,
|
|
1107
|
+
properties: {
|
|
1108
|
+
extensionReloading: {
|
|
1109
|
+
type: 'boolean',
|
|
1110
|
+
label: 'Extension Reloading',
|
|
1111
|
+
category: 'Experimental',
|
|
1112
|
+
requiresRestart: true,
|
|
1113
|
+
default: false,
|
|
1114
|
+
description: 'Enables extension loading/unloading within the CLI session.',
|
|
1115
|
+
showInDialog: false,
|
|
1116
|
+
},
|
|
1117
|
+
},
|
|
1063
1118
|
},
|
|
1064
1119
|
// LLxprt-specific provider settings
|
|
1065
1120
|
defaultProfile: {
|
|
@@ -1311,8 +1366,12 @@ export const SETTINGS_SCHEMA = {
|
|
|
1311
1366
|
category: 'UI',
|
|
1312
1367
|
requiresRestart: false,
|
|
1313
1368
|
default: [],
|
|
1314
|
-
description:
|
|
1369
|
+
description: oneLine `
|
|
1370
|
+
Custom witty phrases to display during loading.
|
|
1371
|
+
When provided, the CLI cycles through these instead of the defaults.
|
|
1372
|
+
`,
|
|
1315
1373
|
showInDialog: false,
|
|
1374
|
+
items: { type: 'string' },
|
|
1316
1375
|
},
|
|
1317
1376
|
wittyPhraseStyle: {
|
|
1318
1377
|
type: 'enum',
|
|
@@ -1330,5 +1389,267 @@ export const SETTINGS_SCHEMA = {
|
|
|
1330
1389
|
{ value: 'custom', label: 'Custom Phrases Only' },
|
|
1331
1390
|
],
|
|
1332
1391
|
},
|
|
1392
|
+
hooks: {
|
|
1393
|
+
type: 'object',
|
|
1394
|
+
label: 'Hooks',
|
|
1395
|
+
category: 'Advanced',
|
|
1396
|
+
requiresRestart: false,
|
|
1397
|
+
default: {},
|
|
1398
|
+
description: 'Hook configurations for intercepting and customizing agent behavior.',
|
|
1399
|
+
showInDialog: false,
|
|
1400
|
+
mergeStrategy: MergeStrategy.SHALLOW_MERGE,
|
|
1401
|
+
},
|
|
1402
|
+
};
|
|
1403
|
+
export const SETTINGS_SCHEMA_DEFINITIONS = {
|
|
1404
|
+
MCPServerConfig: {
|
|
1405
|
+
type: 'object',
|
|
1406
|
+
description: 'Definition of a Model Context Protocol (MCP) server configuration.',
|
|
1407
|
+
additionalProperties: false,
|
|
1408
|
+
properties: {
|
|
1409
|
+
command: {
|
|
1410
|
+
type: 'string',
|
|
1411
|
+
description: 'Executable invoked for stdio transport.',
|
|
1412
|
+
},
|
|
1413
|
+
args: {
|
|
1414
|
+
type: 'array',
|
|
1415
|
+
description: 'Command-line arguments for the stdio transport command.',
|
|
1416
|
+
items: { type: 'string' },
|
|
1417
|
+
},
|
|
1418
|
+
env: {
|
|
1419
|
+
type: 'object',
|
|
1420
|
+
description: 'Environment variables to set for the server process.',
|
|
1421
|
+
additionalProperties: { type: 'string' },
|
|
1422
|
+
},
|
|
1423
|
+
cwd: {
|
|
1424
|
+
type: 'string',
|
|
1425
|
+
description: 'Working directory for the server process.',
|
|
1426
|
+
},
|
|
1427
|
+
url: {
|
|
1428
|
+
type: 'string',
|
|
1429
|
+
description: 'SSE transport URL.',
|
|
1430
|
+
},
|
|
1431
|
+
httpUrl: {
|
|
1432
|
+
type: 'string',
|
|
1433
|
+
description: 'Streaming HTTP transport URL.',
|
|
1434
|
+
},
|
|
1435
|
+
headers: {
|
|
1436
|
+
type: 'object',
|
|
1437
|
+
description: 'Additional HTTP headers sent to the server.',
|
|
1438
|
+
additionalProperties: { type: 'string' },
|
|
1439
|
+
},
|
|
1440
|
+
tcp: {
|
|
1441
|
+
type: 'string',
|
|
1442
|
+
description: 'TCP address for websocket transport.',
|
|
1443
|
+
},
|
|
1444
|
+
timeout: {
|
|
1445
|
+
type: 'number',
|
|
1446
|
+
description: 'Timeout in milliseconds for MCP requests.',
|
|
1447
|
+
},
|
|
1448
|
+
trust: {
|
|
1449
|
+
type: 'boolean',
|
|
1450
|
+
description: 'Marks the server as trusted. Trusted servers may gain additional capabilities.',
|
|
1451
|
+
},
|
|
1452
|
+
description: {
|
|
1453
|
+
type: 'string',
|
|
1454
|
+
description: 'Human-readable description of the server.',
|
|
1455
|
+
},
|
|
1456
|
+
includeTools: {
|
|
1457
|
+
type: 'array',
|
|
1458
|
+
description: 'Subset of tools that should be enabled for this server. When omitted all tools are enabled.',
|
|
1459
|
+
items: { type: 'string' },
|
|
1460
|
+
},
|
|
1461
|
+
excludeTools: {
|
|
1462
|
+
type: 'array',
|
|
1463
|
+
description: 'Tools that should be disabled for this server even if exposed.',
|
|
1464
|
+
items: { type: 'string' },
|
|
1465
|
+
},
|
|
1466
|
+
extension: {
|
|
1467
|
+
type: 'object',
|
|
1468
|
+
description: 'Metadata describing the LLxprt Code extension that owns this MCP server.',
|
|
1469
|
+
additionalProperties: { type: ['string', 'boolean', 'number'] },
|
|
1470
|
+
},
|
|
1471
|
+
oauth: {
|
|
1472
|
+
type: 'object',
|
|
1473
|
+
description: 'OAuth configuration for authenticating with the server.',
|
|
1474
|
+
additionalProperties: true,
|
|
1475
|
+
},
|
|
1476
|
+
authProviderType: {
|
|
1477
|
+
type: 'string',
|
|
1478
|
+
description: 'Authentication provider used for acquiring credentials (for example `dynamic_discovery`).',
|
|
1479
|
+
enum: [
|
|
1480
|
+
'dynamic_discovery',
|
|
1481
|
+
'google_credentials',
|
|
1482
|
+
'service_account_impersonation',
|
|
1483
|
+
],
|
|
1484
|
+
},
|
|
1485
|
+
targetAudience: {
|
|
1486
|
+
type: 'string',
|
|
1487
|
+
description: 'OAuth target audience (CLIENT_ID.apps.googleusercontent.com).',
|
|
1488
|
+
},
|
|
1489
|
+
targetServiceAccount: {
|
|
1490
|
+
type: 'string',
|
|
1491
|
+
description: 'Service account email to impersonate (name@project.iam.gserviceaccount.com).',
|
|
1492
|
+
},
|
|
1493
|
+
},
|
|
1494
|
+
},
|
|
1495
|
+
TelemetrySettings: {
|
|
1496
|
+
type: 'object',
|
|
1497
|
+
description: 'Telemetry configuration for LLxprt Code.',
|
|
1498
|
+
additionalProperties: false,
|
|
1499
|
+
properties: {
|
|
1500
|
+
enabled: {
|
|
1501
|
+
type: 'boolean',
|
|
1502
|
+
description: 'Enables telemetry emission.',
|
|
1503
|
+
},
|
|
1504
|
+
target: {
|
|
1505
|
+
type: 'string',
|
|
1506
|
+
description: 'Telemetry destination (for example `stderr`, `stdout`, or `otlp`).',
|
|
1507
|
+
},
|
|
1508
|
+
otlpEndpoint: {
|
|
1509
|
+
type: 'string',
|
|
1510
|
+
description: 'Endpoint for OTLP exporters.',
|
|
1511
|
+
},
|
|
1512
|
+
otlpProtocol: {
|
|
1513
|
+
type: 'string',
|
|
1514
|
+
description: 'Protocol for OTLP exporters.',
|
|
1515
|
+
enum: ['grpc', 'http'],
|
|
1516
|
+
},
|
|
1517
|
+
logPrompts: {
|
|
1518
|
+
type: 'boolean',
|
|
1519
|
+
description: 'Whether prompts are logged in telemetry payloads.',
|
|
1520
|
+
},
|
|
1521
|
+
outfile: {
|
|
1522
|
+
type: 'string',
|
|
1523
|
+
description: 'File path for writing telemetry output.',
|
|
1524
|
+
},
|
|
1525
|
+
useCollector: {
|
|
1526
|
+
type: 'boolean',
|
|
1527
|
+
description: 'Whether to forward telemetry to an OTLP collector.',
|
|
1528
|
+
},
|
|
1529
|
+
},
|
|
1530
|
+
},
|
|
1531
|
+
BugCommandSettings: {
|
|
1532
|
+
type: 'object',
|
|
1533
|
+
description: 'Configuration for the bug report helper command.',
|
|
1534
|
+
additionalProperties: false,
|
|
1535
|
+
properties: {
|
|
1536
|
+
urlTemplate: {
|
|
1537
|
+
type: 'string',
|
|
1538
|
+
description: 'Template used to open a bug report URL. Variables in the template are populated at runtime.',
|
|
1539
|
+
},
|
|
1540
|
+
},
|
|
1541
|
+
required: ['urlTemplate'],
|
|
1542
|
+
},
|
|
1543
|
+
SummarizeToolOutputSettings: {
|
|
1544
|
+
type: 'object',
|
|
1545
|
+
description: 'Controls summarization behavior for individual tools. All properties are optional.',
|
|
1546
|
+
additionalProperties: false,
|
|
1547
|
+
properties: {
|
|
1548
|
+
tokenBudget: {
|
|
1549
|
+
type: 'number',
|
|
1550
|
+
description: 'Maximum number of tokens used when summarizing tool output.',
|
|
1551
|
+
},
|
|
1552
|
+
},
|
|
1553
|
+
},
|
|
1554
|
+
CustomTheme: {
|
|
1555
|
+
type: 'object',
|
|
1556
|
+
description: 'Custom theme definition used for styling LLxprt Code output. Colors are provided as hex strings or named ANSI colors.',
|
|
1557
|
+
additionalProperties: false,
|
|
1558
|
+
properties: {
|
|
1559
|
+
type: {
|
|
1560
|
+
type: 'string',
|
|
1561
|
+
enum: ['custom'],
|
|
1562
|
+
default: 'custom',
|
|
1563
|
+
},
|
|
1564
|
+
name: {
|
|
1565
|
+
type: 'string',
|
|
1566
|
+
description: 'Theme display name.',
|
|
1567
|
+
},
|
|
1568
|
+
text: {
|
|
1569
|
+
type: 'object',
|
|
1570
|
+
additionalProperties: false,
|
|
1571
|
+
properties: {
|
|
1572
|
+
primary: { type: 'string' },
|
|
1573
|
+
secondary: { type: 'string' },
|
|
1574
|
+
link: { type: 'string' },
|
|
1575
|
+
accent: { type: 'string' },
|
|
1576
|
+
},
|
|
1577
|
+
},
|
|
1578
|
+
background: {
|
|
1579
|
+
type: 'object',
|
|
1580
|
+
additionalProperties: false,
|
|
1581
|
+
properties: {
|
|
1582
|
+
primary: { type: 'string' },
|
|
1583
|
+
diff: {
|
|
1584
|
+
type: 'object',
|
|
1585
|
+
additionalProperties: false,
|
|
1586
|
+
properties: {
|
|
1587
|
+
added: { type: 'string' },
|
|
1588
|
+
removed: { type: 'string' },
|
|
1589
|
+
},
|
|
1590
|
+
},
|
|
1591
|
+
},
|
|
1592
|
+
},
|
|
1593
|
+
border: {
|
|
1594
|
+
type: 'object',
|
|
1595
|
+
additionalProperties: false,
|
|
1596
|
+
properties: {
|
|
1597
|
+
default: { type: 'string' },
|
|
1598
|
+
focused: { type: 'string' },
|
|
1599
|
+
},
|
|
1600
|
+
},
|
|
1601
|
+
ui: {
|
|
1602
|
+
type: 'object',
|
|
1603
|
+
additionalProperties: false,
|
|
1604
|
+
properties: {
|
|
1605
|
+
comment: { type: 'string' },
|
|
1606
|
+
symbol: { type: 'string' },
|
|
1607
|
+
gradient: {
|
|
1608
|
+
type: 'array',
|
|
1609
|
+
items: { type: 'string' },
|
|
1610
|
+
},
|
|
1611
|
+
},
|
|
1612
|
+
},
|
|
1613
|
+
status: {
|
|
1614
|
+
type: 'object',
|
|
1615
|
+
additionalProperties: false,
|
|
1616
|
+
properties: {
|
|
1617
|
+
error: { type: 'string' },
|
|
1618
|
+
success: { type: 'string' },
|
|
1619
|
+
warning: { type: 'string' },
|
|
1620
|
+
},
|
|
1621
|
+
},
|
|
1622
|
+
Background: { type: 'string' },
|
|
1623
|
+
Foreground: { type: 'string' },
|
|
1624
|
+
LightBlue: { type: 'string' },
|
|
1625
|
+
AccentBlue: { type: 'string' },
|
|
1626
|
+
AccentPurple: { type: 'string' },
|
|
1627
|
+
AccentCyan: { type: 'string' },
|
|
1628
|
+
AccentGreen: { type: 'string' },
|
|
1629
|
+
AccentYellow: { type: 'string' },
|
|
1630
|
+
AccentRed: { type: 'string' },
|
|
1631
|
+
DiffAdded: { type: 'string' },
|
|
1632
|
+
DiffRemoved: { type: 'string' },
|
|
1633
|
+
Comment: { type: 'string' },
|
|
1634
|
+
Gray: { type: 'string' },
|
|
1635
|
+
DarkGray: { type: 'string' },
|
|
1636
|
+
GradientColors: {
|
|
1637
|
+
type: 'array',
|
|
1638
|
+
items: { type: 'string' },
|
|
1639
|
+
},
|
|
1640
|
+
},
|
|
1641
|
+
required: ['type', 'name'],
|
|
1642
|
+
},
|
|
1643
|
+
StringOrStringArray: {
|
|
1644
|
+
description: 'Accepts either a single string or an array of strings.',
|
|
1645
|
+
anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],
|
|
1646
|
+
},
|
|
1647
|
+
BooleanOrString: {
|
|
1648
|
+
description: 'Accepts either a boolean flag or a string command name.',
|
|
1649
|
+
anyOf: [{ type: 'boolean' }, { type: 'string' }],
|
|
1650
|
+
},
|
|
1333
1651
|
};
|
|
1652
|
+
export function getSettingsSchema() {
|
|
1653
|
+
return SETTINGS_SCHEMA;
|
|
1654
|
+
}
|
|
1334
1655
|
//# sourceMappingURL=settingsSchema.js.map
|