@umsai/ums-code 0.0.14-v2 → 0.1.4-v2
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 +16 -11
- package/dist/src/commands/extensions/disable.d.ts +2 -3
- package/dist/src/commands/extensions/disable.js +20 -6
- package/dist/src/commands/extensions/disable.js.map +1 -1
- package/dist/src/commands/extensions/enable.d.ts +2 -3
- package/dist/src/commands/extensions/enable.js +21 -10
- package/dist/src/commands/extensions/enable.js.map +1 -1
- package/dist/src/commands/extensions/examples/context/QWEN.md +8 -0
- package/dist/src/commands/extensions/examples/context/qwen-extension.json +4 -0
- package/dist/src/commands/extensions/examples/custom-commands/commands/fs/grep-code.toml +6 -0
- package/dist/src/commands/extensions/examples/custom-commands/qwen-extension.json +4 -0
- package/dist/src/commands/extensions/examples/exclude-tools/qwen-extension.json +5 -0
- package/dist/src/commands/extensions/examples/mcp-server/example.ts +60 -0
- package/dist/src/commands/extensions/examples/mcp-server/package.json +18 -0
- package/dist/src/commands/extensions/examples/mcp-server/qwen-extension.json +11 -0
- package/dist/src/commands/extensions/examples/mcp-server/tsconfig.json +13 -0
- package/dist/src/commands/extensions/install.d.ts +3 -2
- package/dist/src/commands/extensions/install.js +47 -17
- package/dist/src/commands/extensions/install.js.map +1 -1
- package/dist/src/commands/extensions/install.test.js +86 -9
- package/dist/src/commands/extensions/install.test.js.map +1 -1
- package/dist/src/commands/extensions/link.d.ts +12 -0
- package/dist/src/commands/extensions/link.js +37 -0
- package/dist/src/commands/extensions/link.js.map +1 -0
- package/dist/src/commands/extensions/list.js +1 -1
- package/dist/src/commands/extensions/list.js.map +1 -1
- package/dist/src/commands/extensions/new.d.ts +7 -0
- package/dist/src/commands/extensions/new.js +90 -0
- package/dist/src/commands/extensions/new.js.map +1 -0
- package/dist/src/commands/extensions/new.test.js +59 -0
- package/dist/src/commands/extensions/new.test.js.map +1 -0
- package/dist/src/commands/extensions/uninstall.js +1 -1
- package/dist/src/commands/extensions/uninstall.js.map +1 -1
- package/dist/src/commands/extensions/uninstall.test.js +2 -2
- package/dist/src/commands/extensions/uninstall.test.js.map +1 -1
- package/dist/src/commands/extensions/update.d.ts +2 -1
- package/dist/src/commands/extensions/update.js +80 -14
- package/dist/src/commands/extensions/update.js.map +1 -1
- package/dist/src/commands/extensions.js +4 -0
- package/dist/src/commands/extensions.js.map +1 -1
- package/dist/src/commands/mcp/add.js +6 -1
- package/dist/src/commands/mcp/add.js.map +1 -1
- package/dist/src/commands/mcp/list.js +4 -3
- package/dist/src/commands/mcp/list.js.map +1 -1
- package/dist/src/commands/mcp/remove.js +1 -1
- package/dist/src/commands/mcp/remove.js.map +1 -1
- package/dist/src/config/auth.d.ts +2 -4
- package/dist/src/config/auth.js +10 -36
- package/dist/src/config/auth.js.map +1 -1
- package/dist/src/config/auth.test.js +12 -32
- package/dist/src/config/auth.test.js.map +1 -1
- package/dist/src/config/config.d.ts +7 -2
- package/dist/src/config/config.js +183 -124
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/extension.d.ts +41 -18
- package/dist/src/config/extension.js +352 -195
- package/dist/src/config/extension.js.map +1 -1
- package/dist/src/config/extensions/extensionEnablement.d.ts +47 -0
- package/dist/src/config/extensions/extensionEnablement.js +189 -0
- package/dist/src/config/extensions/extensionEnablement.js.map +1 -0
- package/dist/src/config/extensions/extensionEnablement.test.js +333 -0
- package/dist/src/config/extensions/extensionEnablement.test.js.map +1 -0
- package/dist/src/config/extensions/github.d.ts +30 -0
- package/dist/src/config/extensions/github.js +322 -0
- package/dist/src/config/extensions/github.js.map +1 -0
- package/dist/src/{ui/components/ModelSelectionDialog.test.d.ts → config/extensions/github.test.d.ts} +1 -1
- package/dist/src/config/extensions/github.test.js +334 -0
- package/dist/src/config/extensions/github.test.js.map +1 -0
- package/dist/src/config/extensions/update.d.ts +19 -0
- package/dist/src/config/extensions/update.js +113 -0
- package/dist/src/config/extensions/update.js.map +1 -0
- package/dist/src/config/extensions/update.test.d.ts +6 -0
- package/dist/src/config/extensions/update.test.js +342 -0
- package/dist/src/config/extensions/update.test.js.map +1 -0
- package/dist/src/config/extensions/variableSchema.d.ts +8 -0
- package/dist/src/config/extensions/variableSchema.js +4 -0
- package/dist/src/config/extensions/variableSchema.js.map +1 -1
- package/dist/src/config/keyBindings.d.ts +5 -1
- package/dist/src/config/keyBindings.js +14 -25
- package/dist/src/config/keyBindings.js.map +1 -1
- package/dist/src/config/settings.d.ts +10 -5
- package/dist/src/config/settings.js +218 -275
- package/dist/src/config/settings.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +358 -140
- package/dist/src/config/settingsSchema.js +347 -136
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/config/settingsSchema.test.js +64 -57
- package/dist/src/config/settingsSchema.test.js.map +1 -1
- package/dist/src/config/trustedFolders.d.ts +24 -5
- package/dist/src/config/trustedFolders.js +98 -48
- package/dist/src/config/trustedFolders.js.map +1 -1
- package/dist/src/config/trustedFolders.test.js +196 -20
- package/dist/src/config/trustedFolders.test.js.map +1 -1
- package/dist/src/core/auth.d.ts +13 -0
- package/dist/src/core/auth.js +27 -0
- package/dist/src/core/auth.js.map +1 -0
- package/dist/src/core/initializer.d.ts +21 -0
- package/dist/src/core/initializer.js +33 -0
- package/dist/src/core/initializer.js.map +1 -0
- package/dist/src/core/theme.d.ts +12 -0
- package/dist/src/core/theme.js +20 -0
- package/dist/src/core/theme.js.map +1 -0
- package/dist/src/gemini.d.ts +3 -2
- package/dist/src/gemini.js +167 -138
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/gemini.test.js +190 -47
- package/dist/src/gemini.test.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/generated/git-commit.js.map +1 -1
- package/dist/src/nonInteractiveCli.d.ts +2 -1
- package/dist/src/nonInteractiveCli.js +101 -72
- package/dist/src/nonInteractiveCli.js.map +1 -1
- package/dist/src/nonInteractiveCliCommands.d.ts +17 -0
- package/dist/src/nonInteractiveCliCommands.js +79 -0
- package/dist/src/nonInteractiveCliCommands.js.map +1 -0
- package/dist/src/services/BuiltinCommandLoader.js +3 -3
- package/dist/src/services/BuiltinCommandLoader.js.map +1 -1
- package/dist/src/services/BuiltinCommandLoader.test.js +53 -19
- package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -1
- package/dist/src/services/FileCommandLoader.d.ts +2 -0
- package/dist/src/services/FileCommandLoader.js +7 -0
- package/dist/src/services/FileCommandLoader.js.map +1 -1
- package/dist/src/services/McpPromptLoader.js +43 -8
- package/dist/src/services/McpPromptLoader.js.map +1 -1
- package/dist/src/services/McpPromptLoader.test.js +228 -1
- package/dist/src/services/McpPromptLoader.test.js.map +1 -1
- package/dist/src/services/prompt-processors/shellProcessor.js +8 -1
- package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -1
- package/dist/src/test-utils/createExtension.d.ts +15 -0
- package/dist/src/test-utils/createExtension.js +25 -0
- package/dist/src/test-utils/createExtension.js.map +1 -0
- package/dist/src/test-utils/mockCommandContext.js +2 -0
- package/dist/src/test-utils/mockCommandContext.js.map +1 -1
- package/dist/src/test-utils/render.d.ts +5 -1
- package/dist/src/test-utils/render.js +5 -1
- package/dist/src/test-utils/render.js.map +1 -1
- package/dist/src/ui/App.d.ts +1 -10
- package/dist/src/ui/App.js +26 -833
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/AppContainer.d.ts +17 -0
- package/dist/src/ui/AppContainer.js +1069 -0
- package/dist/src/ui/AppContainer.js.map +1 -0
- package/dist/src/ui/AppContainer.test.d.ts +6 -0
- package/dist/src/ui/AppContainer.test.js +831 -0
- package/dist/src/ui/AppContainer.test.js.map +1 -0
- package/dist/src/ui/IdeIntegrationNudge.d.ts +2 -2
- package/dist/src/ui/IdeIntegrationNudge.js +6 -8
- package/dist/src/ui/IdeIntegrationNudge.js.map +1 -1
- package/dist/src/ui/{components → auth}/AuthDialog.d.ts +5 -1
- package/dist/src/ui/{components → auth}/AuthDialog.js +26 -29
- package/dist/src/ui/auth/AuthDialog.js.map +1 -0
- package/dist/src/ui/auth/AuthDialog.test.d.ts +6 -0
- package/dist/src/ui/{components → auth}/AuthDialog.test.js +92 -10
- package/dist/src/ui/auth/AuthDialog.test.js.map +1 -0
- package/dist/src/ui/{components → auth}/AuthInProgress.js +2 -2
- package/dist/src/ui/auth/AuthInProgress.js.map +1 -0
- package/dist/src/ui/auth/useAuth.d.ts +24 -0
- package/dist/src/ui/auth/useAuth.js +108 -0
- package/dist/src/ui/auth/useAuth.js.map +1 -0
- package/dist/src/ui/commands/aboutCommand.js +9 -3
- package/dist/src/ui/commands/aboutCommand.js.map +1 -1
- package/dist/src/ui/commands/bugCommand.js +19 -5
- package/dist/src/ui/commands/bugCommand.js.map +1 -1
- package/dist/src/ui/commands/chatCommand.d.ts +2 -0
- package/dist/src/ui/commands/chatCommand.js +95 -5
- package/dist/src/ui/commands/chatCommand.js.map +1 -1
- package/dist/src/ui/commands/clearCommand.js +1 -1
- package/dist/src/ui/commands/clearCommand.js.map +1 -1
- package/dist/src/ui/commands/corgiCommand.js +1 -0
- package/dist/src/ui/commands/corgiCommand.js.map +1 -1
- package/dist/src/ui/commands/directoryCommand.js +1 -1
- package/dist/src/ui/commands/directoryCommand.js.map +1 -1
- package/dist/src/ui/commands/extensionsCommand.js +92 -15
- package/dist/src/ui/commands/extensionsCommand.js.map +1 -1
- package/dist/src/ui/commands/ideCommand.d.ts +1 -2
- package/dist/src/ui/commands/ideCommand.js +19 -10
- package/dist/src/ui/commands/ideCommand.js.map +1 -1
- package/dist/src/ui/commands/mcpCommand.js +88 -263
- package/dist/src/ui/commands/mcpCommand.js.map +1 -1
- package/dist/src/ui/commands/memoryCommand.js +1 -1
- package/dist/src/ui/commands/memoryCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.js +1 -16
- package/dist/src/ui/commands/modelCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.test.js +10 -11
- package/dist/src/ui/commands/modelCommand.test.js.map +1 -1
- package/dist/src/ui/commands/{privacyCommand.d.ts → permissionsCommand.d.ts} +1 -1
- package/dist/src/ui/commands/{privacyCommand.js → permissionsCommand.js} +5 -5
- package/dist/src/ui/commands/permissionsCommand.js.map +1 -0
- package/dist/src/ui/commands/permissionsCommand.test.d.ts +6 -0
- package/dist/src/ui/commands/permissionsCommand.test.js +30 -0
- package/dist/src/ui/commands/permissionsCommand.test.js.map +1 -0
- package/dist/src/ui/commands/summaryCommand.js +1 -1
- package/dist/src/ui/commands/summaryCommand.js.map +1 -1
- package/dist/src/ui/commands/toolsCommand.js +10 -24
- package/dist/src/ui/commands/toolsCommand.js.map +1 -1
- package/dist/src/ui/commands/types.d.ts +8 -3
- package/dist/src/ui/commands/types.js +0 -1
- package/dist/src/ui/commands/types.js.map +1 -1
- package/dist/src/ui/components/AboutBox.js +2 -2
- package/dist/src/ui/components/AboutBox.js.map +1 -1
- package/dist/src/ui/components/AnsiOutput.d.ts +13 -0
- package/dist/src/ui/components/AnsiOutput.js +12 -0
- package/dist/src/ui/components/AnsiOutput.js.map +1 -0
- package/dist/src/ui/components/AnsiOutput.test.d.ts +6 -0
- package/dist/src/ui/components/AnsiOutput.test.js +97 -0
- package/dist/src/ui/components/AnsiOutput.test.js.map +1 -0
- package/dist/src/ui/components/AppHeader.d.ts +10 -0
- package/dist/src/ui/components/AppHeader.js +19 -0
- package/dist/src/ui/components/AppHeader.js.map +1 -0
- package/dist/src/ui/components/AutoAcceptIndicator.js +5 -5
- package/dist/src/ui/components/AutoAcceptIndicator.js.map +1 -1
- package/dist/src/ui/components/Composer.d.ts +6 -0
- package/dist/src/ui/components/Composer.js +54 -0
- package/dist/src/ui/components/Composer.js.map +1 -0
- package/dist/src/ui/components/Composer.test.d.ts +6 -0
- package/dist/src/ui/components/Composer.test.js +337 -0
- package/dist/src/ui/components/Composer.test.js.map +1 -0
- package/dist/src/ui/components/ConfigInitDisplay.d.ts +6 -0
- package/dist/src/ui/components/ConfigInitDisplay.js +38 -0
- package/dist/src/ui/components/ConfigInitDisplay.js.map +1 -0
- package/dist/src/ui/components/ConsentPrompt.d.ts +13 -0
- package/dist/src/ui/components/ConsentPrompt.js +19 -0
- package/dist/src/ui/components/ConsentPrompt.js.map +1 -0
- package/dist/src/ui/components/ConsentPrompt.test.d.ts +6 -0
- package/dist/src/ui/components/ConsentPrompt.test.js +67 -0
- package/dist/src/ui/components/ConsentPrompt.test.js.map +1 -0
- package/dist/src/ui/components/ConsoleSummaryDisplay.js +2 -2
- package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/ContextSummaryDisplay.js +3 -3
- package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/ContextUsageDisplay.d.ts +4 -1
- package/dist/src/ui/components/ContextUsageDisplay.js +27 -5
- package/dist/src/ui/components/ContextUsageDisplay.js.map +1 -1
- package/dist/src/ui/components/DebugProfiler.js +2 -2
- package/dist/src/ui/components/DebugProfiler.js.map +1 -1
- package/dist/src/ui/components/DetailedMessagesDisplay.js +7 -7
- package/dist/src/ui/components/DetailedMessagesDisplay.js.map +1 -1
- package/dist/src/ui/components/DialogManager.d.ts +12 -0
- package/dist/src/ui/components/DialogManager.js +130 -0
- package/dist/src/ui/components/DialogManager.js.map +1 -0
- package/dist/src/ui/components/EditorSettingsDialog.js +16 -7
- package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -1
- package/dist/src/ui/components/ExitWarning.d.ts +7 -0
- package/dist/src/ui/components/ExitWarning.js +9 -0
- package/dist/src/ui/components/ExitWarning.js.map +1 -0
- package/dist/src/ui/components/FolderTrustDialog.js +22 -9
- package/dist/src/ui/components/FolderTrustDialog.js.map +1 -1
- package/dist/src/ui/components/FolderTrustDialog.test.js +37 -12
- package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -1
- package/dist/src/ui/components/Footer.d.ts +1 -17
- package/dist/src/ui/components/Footer.js +33 -11
- package/dist/src/ui/components/Footer.js.map +1 -1
- package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +5 -0
- package/dist/src/ui/components/GeminiRespondingSpinner.js +7 -2
- package/dist/src/ui/components/GeminiRespondingSpinner.js.map +1 -1
- package/dist/src/ui/components/Header.js +2 -2
- package/dist/src/ui/components/Header.js.map +1 -1
- package/dist/src/ui/components/Help.d.ts +1 -1
- package/dist/src/ui/components/Help.js +9 -6
- package/dist/src/ui/components/Help.js.map +1 -1
- package/dist/src/ui/components/Help.test.d.ts +6 -0
- package/dist/src/ui/components/Help.test.js +57 -0
- package/dist/src/ui/components/Help.test.js.map +1 -0
- package/dist/src/ui/components/HistoryItemDisplay.d.ts +5 -4
- package/dist/src/ui/components/HistoryItemDisplay.js +13 -4
- package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.test.js +90 -9
- package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -1
- package/dist/src/ui/components/IdeTrustChangeDialog.d.ts +11 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.js +32 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.js.map +1 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.d.ts +6 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.js +57 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.js.map +1 -0
- package/dist/src/ui/components/InputPrompt.d.ts +9 -0
- package/dist/src/ui/components/InputPrompt.js +192 -46
- package/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.js +2 -2
- package/dist/src/ui/components/LoadingIndicator.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.test.js +4 -0
- package/dist/src/ui/components/LoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/components/LoopDetectionConfirmation.d.ts +13 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.js +37 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.js.map +1 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.d.ts +6 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.js +28 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.js.map +1 -0
- package/dist/src/ui/components/MainContent.d.ts +6 -0
- package/dist/src/ui/components/MainContent.js +28 -0
- package/dist/src/ui/components/MainContent.js.map +1 -0
- package/dist/src/ui/components/MemoryUsageDisplay.js +6 -4
- package/dist/src/ui/components/MemoryUsageDisplay.js.map +1 -1
- package/dist/src/ui/components/ModelDialog.d.ts +11 -0
- package/dist/src/ui/components/ModelDialog.js +42 -0
- package/dist/src/ui/components/ModelDialog.js.map +1 -0
- package/dist/src/ui/components/ModelDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ModelDialog.test.js +158 -0
- package/dist/src/ui/components/ModelDialog.test.js.map +1 -0
- package/dist/src/ui/components/ModelStatsDisplay.js +7 -7
- package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -1
- package/dist/src/ui/components/ModelSwitchDialog.d.ts +3 -1
- package/dist/src/ui/components/ModelSwitchDialog.js +11 -7
- package/dist/src/ui/components/ModelSwitchDialog.js.map +1 -1
- package/dist/src/ui/components/ModelSwitchDialog.test.js +14 -10
- package/dist/src/ui/components/ModelSwitchDialog.test.js.map +1 -1
- package/dist/src/ui/components/Notifications.d.ts +6 -0
- package/dist/src/ui/components/Notifications.js +23 -0
- package/dist/src/ui/components/Notifications.js.map +1 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.js +63 -39
- package/dist/src/ui/components/OpenAIKeyPrompt.js.map +1 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js +8 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +1 -1
- package/dist/src/ui/components/PermissionsModifyTrustDialog.d.ts +13 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.js +48 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.js.map +1 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.d.ts +6 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js +154 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js.map +1 -0
- package/dist/src/ui/components/PrepareLabel.d.ts +5 -5
- package/dist/src/ui/components/PrepareLabel.js +67 -11
- package/dist/src/ui/components/PrepareLabel.js.map +1 -1
- package/dist/src/ui/components/PrepareLabel.test.d.ts +6 -0
- package/dist/src/ui/components/PrepareLabel.test.js +71 -0
- package/dist/src/ui/components/PrepareLabel.test.js.map +1 -0
- package/dist/src/ui/components/ProQuotaDialog.d.ts +13 -0
- package/dist/src/ui/components/ProQuotaDialog.js +23 -0
- package/dist/src/ui/components/ProQuotaDialog.js.map +1 -0
- package/dist/src/ui/components/ProQuotaDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ProQuotaDialog.test.js +58 -0
- package/dist/src/ui/components/ProQuotaDialog.test.js.map +1 -0
- package/dist/src/ui/components/QueuedMessageDisplay.d.ts +9 -0
- package/dist/src/ui/components/QueuedMessageDisplay.js +20 -0
- package/dist/src/ui/components/QueuedMessageDisplay.js.map +1 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.d.ts +6 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.js +56 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.js.map +1 -0
- package/dist/src/ui/components/QuitConfirmationDialog.js +4 -0
- package/dist/src/ui/components/QuitConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/QuittingDisplay.d.ts +6 -0
- package/dist/src/ui/components/QuittingDisplay.js +20 -0
- package/dist/src/ui/components/QuittingDisplay.js.map +1 -0
- package/dist/src/ui/components/QwenOAuthProgress.js +7 -6
- package/dist/src/ui/components/QwenOAuthProgress.js.map +1 -1
- package/dist/src/ui/components/QwenOAuthProgress.test.js +84 -13
- package/dist/src/ui/components/QwenOAuthProgress.test.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.d.ts +2 -1
- package/dist/src/ui/components/SettingsDialog.js +97 -23
- package/dist/src/ui/components/SettingsDialog.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.test.js +474 -84
- package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
- package/dist/src/ui/components/ShellConfirmationDialog.js +5 -2
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/ShellInputPrompt.d.ts +11 -0
- package/dist/src/ui/components/ShellInputPrompt.js +36 -0
- package/dist/src/ui/components/ShellInputPrompt.js.map +1 -0
- package/dist/src/ui/components/ShellModeIndicator.js +2 -2
- package/dist/src/ui/components/ShellModeIndicator.js.map +1 -1
- package/dist/src/ui/components/ShowMoreLines.js +2 -2
- package/dist/src/ui/components/ShowMoreLines.js.map +1 -1
- package/dist/src/ui/components/StatsDisplay.js +6 -6
- package/dist/src/ui/components/StatsDisplay.js.map +1 -1
- package/dist/src/ui/components/SuggestionsDisplay.d.ts +7 -2
- package/dist/src/ui/components/SuggestionsDisplay.js +17 -17
- package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.js +14 -29
- package/dist/src/ui/components/ThemeDialog.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ThemeDialog.test.js +75 -0
- package/dist/src/ui/components/ThemeDialog.test.js.map +1 -0
- package/dist/src/ui/components/Tips.js +2 -2
- package/dist/src/ui/components/Tips.js.map +1 -1
- package/dist/src/ui/components/ToolStatsDisplay.js +4 -4
- package/dist/src/ui/components/ToolStatsDisplay.js.map +1 -1
- package/dist/src/ui/components/UpdateNotification.js +2 -2
- package/dist/src/ui/components/UpdateNotification.js.map +1 -1
- package/dist/src/ui/components/WelcomeBackDialog.js +2 -0
- package/dist/src/ui/components/WelcomeBackDialog.js.map +1 -1
- package/dist/src/ui/components/WorkspaceMigrationDialog.js +14 -11
- package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +1 -1
- package/dist/src/ui/components/messages/CompressionMessage.d.ts +1 -2
- package/dist/src/ui/components/messages/CompressionMessage.js +37 -8
- package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -1
- package/dist/src/ui/components/messages/CompressionMessage.test.d.ts +6 -0
- package/dist/src/ui/components/messages/CompressionMessage.test.js +160 -0
- package/dist/src/ui/components/messages/CompressionMessage.test.js.map +1 -0
- package/dist/src/ui/components/messages/DiffRenderer.d.ts +2 -1
- package/dist/src/ui/components/messages/DiffRenderer.js +14 -22
- package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -1
- package/dist/src/ui/components/messages/ErrorMessage.js +2 -2
- package/dist/src/ui/components/messages/ErrorMessage.js.map +1 -1
- package/dist/src/ui/components/messages/GeminiMessage.js +2 -2
- package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -1
- package/dist/src/ui/components/messages/InfoMessage.js +2 -2
- package/dist/src/ui/components/messages/InfoMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +56 -21
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +36 -8
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +3 -2
- package/dist/src/ui/components/messages/ToolGroupMessage.js +18 -10
- package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js +17 -15
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.d.ts +3 -1
- package/dist/src/ui/components/messages/ToolMessage.js +53 -11
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.test.js +34 -1
- package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/UserMessage.js +3 -4
- package/dist/src/ui/components/messages/UserMessage.js.map +1 -1
- package/dist/src/ui/components/messages/UserShellMessage.js +2 -2
- package/dist/src/ui/components/messages/UserShellMessage.js.map +1 -1
- package/dist/src/ui/components/messages/WarningMessage.d.ts +11 -0
- package/dist/src/ui/components/messages/WarningMessage.js +10 -0
- package/dist/src/ui/components/messages/WarningMessage.js.map +1 -0
- package/dist/src/ui/components/shared/BaseSelectionList.d.ts +38 -0
- package/dist/src/ui/components/shared/BaseSelectionList.js +72 -0
- package/dist/src/ui/components/shared/BaseSelectionList.js.map +1 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.d.ts +6 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.js +376 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.js.map +1 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.d.ts +35 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js +13 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js.map +1 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.d.ts +6 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js +79 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js.map +1 -0
- package/dist/src/ui/components/shared/EnumSelector.d.ts +18 -0
- package/dist/src/ui/components/shared/EnumSelector.js +44 -0
- package/dist/src/ui/components/shared/EnumSelector.js.map +1 -0
- package/dist/src/ui/components/shared/EnumSelector.test.d.ts +6 -0
- package/dist/src/ui/components/shared/EnumSelector.test.js +70 -0
- package/dist/src/ui/components/shared/EnumSelector.test.js.map +1 -0
- package/dist/src/ui/components/shared/MaxSizedBox.js +2 -2
- package/dist/src/ui/components/shared/MaxSizedBox.js.map +1 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +2 -3
- package/dist/src/ui/components/shared/RadioButtonSelect.js +10 -105
- package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js +115 -92
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +1 -1
- package/dist/src/ui/components/shared/ScopeSelector.d.ts +19 -0
- package/dist/src/ui/components/shared/ScopeSelector.js +14 -0
- package/dist/src/ui/components/shared/ScopeSelector.js.map +1 -0
- package/dist/src/ui/components/shared/text-buffer.d.ts +25 -2
- package/dist/src/ui/components/shared/text-buffer.js +296 -187
- package/dist/src/ui/components/shared/text-buffer.js.map +1 -1
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +2 -3
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +1 -1
- package/dist/src/ui/components/subagents/create/ColorSelector.js +3 -2
- package/dist/src/ui/components/subagents/create/ColorSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/CreationSummary.js +6 -5
- package/dist/src/ui/components/subagents/create/CreationSummary.js.map +1 -1
- package/dist/src/ui/components/subagents/create/DescriptionInput.js +2 -3
- package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +1 -1
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +1 -0
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/LocationSelector.js +1 -0
- package/dist/src/ui/components/subagents/create/LocationSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/TextEntryStep.js +2 -2
- package/dist/src/ui/components/subagents/create/TextEntryStep.js.map +1 -1
- package/dist/src/ui/components/subagents/create/ToolSelector.js +4 -3
- package/dist/src/ui/components/subagents/create/ToolSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +4 -4
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentEditStep.js +1 -0
- package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +1 -2
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +1 -2
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +1 -1
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +9 -10
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +1 -1
- package/dist/src/ui/components/ums/UMSKeyPrompt.d.ts +2 -2
- package/dist/src/ui/components/ums/UMSKeyPrompt.js +66 -64
- package/dist/src/ui/components/ums/UMSKeyPrompt.js.map +1 -1
- package/dist/src/ui/components/views/ExtensionsList.d.ts +6 -0
- package/dist/src/ui/components/views/ExtensionsList.js +47 -0
- package/dist/src/ui/components/views/ExtensionsList.js.map +1 -0
- package/dist/src/ui/components/views/ExtensionsList.test.d.ts +6 -0
- package/dist/src/ui/components/views/ExtensionsList.test.js +97 -0
- package/dist/src/ui/components/views/ExtensionsList.test.js.map +1 -0
- package/dist/src/ui/components/views/McpStatus.d.ts +27 -0
- package/dist/src/ui/components/views/McpStatus.js +77 -0
- package/dist/src/ui/components/views/McpStatus.js.map +1 -0
- package/dist/src/ui/components/views/McpStatus.test.d.ts +6 -0
- package/dist/src/ui/components/views/McpStatus.test.js +117 -0
- package/dist/src/ui/components/views/McpStatus.test.js.map +1 -0
- package/dist/src/ui/components/views/ToolsList.d.ts +14 -0
- package/dist/src/ui/components/views/ToolsList.js +7 -0
- package/dist/src/ui/components/views/ToolsList.js.map +1 -0
- package/dist/src/ui/components/views/ToolsList.test.d.ts +6 -0
- package/dist/src/ui/components/views/ToolsList.test.js +45 -0
- package/dist/src/ui/components/views/ToolsList.test.js.map +1 -0
- package/dist/src/ui/constants.d.ts +1 -0
- package/dist/src/ui/constants.js +1 -0
- package/dist/src/ui/constants.js.map +1 -1
- package/dist/src/ui/contexts/AppContext.d.ts +11 -0
- package/dist/src/ui/contexts/AppContext.js +15 -0
- package/dist/src/ui/contexts/AppContext.js.map +1 -0
- package/dist/src/ui/contexts/ConfigContext.d.ts +9 -0
- package/dist/src/ui/contexts/ConfigContext.js +16 -0
- package/dist/src/ui/contexts/ConfigContext.js.map +1 -0
- package/dist/src/ui/contexts/KeypressContext.d.ts +3 -0
- package/dist/src/ui/contexts/KeypressContext.js +309 -44
- package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.test.js +288 -2
- package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
- package/dist/src/ui/contexts/SessionContext.d.ts +6 -0
- package/dist/src/ui/contexts/SessionContext.js +107 -5
- package/dist/src/ui/contexts/SessionContext.js.map +1 -1
- package/dist/src/ui/contexts/ShellFocusContext.d.ts +7 -0
- package/dist/src/ui/contexts/ShellFocusContext.js +9 -0
- package/dist/src/ui/contexts/ShellFocusContext.js.map +1 -0
- package/dist/src/ui/contexts/UIActionsContext.d.ts +45 -0
- package/dist/src/ui/contexts/UIActionsContext.js +21 -0
- package/dist/src/ui/contexts/UIActionsContext.js.map +1 -0
- package/dist/src/ui/contexts/UIStateContext.d.ts +117 -0
- package/dist/src/ui/contexts/UIStateContext.js +17 -0
- package/dist/src/ui/contexts/UIStateContext.js.map +1 -0
- package/dist/src/ui/hooks/atCommandProcessor.js +12 -12
- package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.js +21 -19
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/keyToAnsi.d.ts +15 -0
- package/dist/src/ui/hooks/keyToAnsi.js +67 -0
- package/dist/src/ui/hooks/keyToAnsi.js.map +1 -0
- package/dist/src/ui/hooks/shellCommandProcessor.d.ts +2 -1
- package/dist/src/ui/hooks/shellCommandProcessor.js +65 -15
- package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/shellCommandProcessor.test.js +196 -17
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +20 -3
- package/dist/src/ui/hooks/slashCommandProcessor.js +48 -90
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/useAtCompletion.js +1 -1
- package/dist/src/ui/hooks/useAtCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +3 -2
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js +20 -18
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +1 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +43 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useDialogClose.d.ts +0 -2
- package/dist/src/ui/hooks/useDialogClose.js +0 -14
- package/dist/src/ui/hooks/useDialogClose.js.map +1 -1
- package/dist/src/ui/hooks/useEditorSettings.js +1 -1
- package/dist/src/ui/hooks/useEditorSettings.js.map +1 -1
- package/dist/src/ui/hooks/useEditorSettings.test.js +4 -4
- package/dist/src/ui/hooks/useEditorSettings.test.js.map +1 -1
- package/dist/src/ui/hooks/useExtensionUpdates.d.ts +21 -0
- package/dist/src/ui/hooks/useExtensionUpdates.js +116 -0
- package/dist/src/ui/hooks/useExtensionUpdates.js.map +1 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.d.ts +6 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.js +243 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.js.map +1 -0
- package/dist/src/ui/hooks/useFocus.js +10 -0
- package/dist/src/ui/hooks/useFocus.js.map +1 -1
- package/dist/src/ui/hooks/useFolderTrust.js +6 -10
- package/dist/src/ui/hooks/useFolderTrust.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.d.ts +14 -3
- package/dist/src/ui/hooks/useGeminiStream.js +184 -83
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.js +15 -18
- package/dist/src/ui/hooks/useGitBranchName.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.test.js +49 -53
- package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
- package/dist/src/ui/hooks/useIdeTrustListener.d.ts +16 -0
- package/dist/src/ui/hooks/useIdeTrustListener.js +65 -0
- package/dist/src/ui/hooks/useIdeTrustListener.js.map +1 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.d.ts +6 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.js +183 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.js.map +1 -0
- package/dist/src/ui/hooks/useInputHistoryStore.d.ts +19 -0
- package/dist/src/ui/hooks/useInputHistoryStore.js +81 -0
- package/dist/src/ui/hooks/useInputHistoryStore.js.map +1 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.d.ts +6 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.js +234 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.js.map +1 -0
- package/dist/src/ui/hooks/useLoadingIndicator.d.ts +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.js +2 -2
- package/dist/src/ui/hooks/useLoadingIndicator.js.map +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.test.js +2 -2
- package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useMemoryMonitor.d.ts +13 -0
- package/dist/src/ui/hooks/useMemoryMonitor.js +28 -0
- package/dist/src/ui/hooks/useMemoryMonitor.js.map +1 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.d.ts +6 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.js +57 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.js.map +1 -0
- package/dist/src/ui/hooks/useMessageQueue.d.ts +2 -1
- package/dist/src/ui/hooks/useMessageQueue.js +5 -3
- package/dist/src/ui/hooks/useMessageQueue.js.map +1 -1
- package/dist/src/ui/hooks/useMessageQueue.test.js +9 -0
- package/dist/src/ui/hooks/useMessageQueue.test.js.map +1 -1
- package/dist/src/ui/hooks/useModelCommand.d.ts +12 -0
- package/dist/src/ui/hooks/useModelCommand.js +21 -0
- package/dist/src/ui/hooks/useModelCommand.js.map +1 -0
- package/dist/src/ui/hooks/useModelCommand.test.d.ts +6 -0
- package/dist/src/ui/hooks/useModelCommand.test.js +35 -0
- package/dist/src/ui/hooks/useModelCommand.test.js.map +1 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.d.ts +17 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.js +78 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.js.map +1 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.d.ts +6 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js +182 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js.map +1 -0
- package/dist/src/ui/hooks/usePhraseCycler.d.ts +1 -1
- package/dist/src/ui/hooks/usePhraseCycler.js +11 -8
- package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
- package/dist/src/ui/hooks/useQuotaAndFallback.d.ts +21 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.js +122 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.js.map +1 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.d.ts +6 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js +269 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js.map +1 -0
- package/dist/src/ui/hooks/useReactToolScheduler.d.ts +3 -2
- package/dist/src/ui/hooks/useReactToolScheduler.js +23 -17
- package/dist/src/ui/hooks/useReactToolScheduler.js.map +1 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +1 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.js +67 -20
- package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useSelectionList.d.ts +34 -0
- package/dist/src/ui/hooks/useSelectionList.js +245 -0
- package/dist/src/ui/hooks/useSelectionList.js.map +1 -0
- package/dist/src/ui/hooks/useSelectionList.test.d.ts +6 -0
- package/dist/src/ui/hooks/useSelectionList.test.js +701 -0
- package/dist/src/ui/hooks/useSelectionList.test.js.map +1 -0
- package/dist/src/ui/hooks/useSlashCompletion.d.ts +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.js +281 -67
- package/dist/src/ui/hooks/useSlashCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +4 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.js +390 -65
- package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -1
- package/dist/src/ui/hooks/useStateAndRef.d.ts +1 -1
- package/dist/src/ui/hooks/useStateAndRef.js +2 -2
- package/dist/src/ui/hooks/useStateAndRef.js.map +1 -1
- package/dist/src/ui/hooks/useThemeCommand.d.ts +1 -1
- package/dist/src/ui/hooks/useThemeCommand.js +3 -14
- package/dist/src/ui/hooks/useThemeCommand.js.map +1 -1
- package/dist/src/ui/hooks/useToolScheduler.test.js +64 -291
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.d.ts +1 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.js +36 -6
- package/dist/src/ui/hooks/useVisionAutoSwitch.js.map +1 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.js +3 -3
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.js.map +1 -1
- package/dist/src/ui/hooks/useWelcomeBack.js +2 -2
- package/dist/src/ui/hooks/useWelcomeBack.js.map +1 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.js +2 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.js.map +1 -1
- package/dist/src/ui/keyMatchers.test.js +17 -0
- package/dist/src/ui/keyMatchers.test.js.map +1 -1
- package/dist/src/ui/layouts/DefaultAppLayout.d.ts +9 -0
- package/dist/src/ui/layouts/DefaultAppLayout.js +13 -0
- package/dist/src/ui/layouts/DefaultAppLayout.js.map +1 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.d.ts +7 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js +14 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js.map +1 -0
- package/dist/src/ui/models/availableModels.d.ts +11 -5
- package/dist/src/ui/models/availableModels.js +89 -3
- package/dist/src/ui/models/availableModels.js.map +1 -1
- package/dist/src/ui/noninteractive/nonInteractiveUi.d.ts +12 -0
- package/dist/src/ui/noninteractive/nonInteractiveUi.js +28 -0
- package/dist/src/ui/noninteractive/nonInteractiveUi.js.map +1 -0
- package/dist/src/ui/state/extensions.d.ts +42 -0
- package/dist/src/ui/state/extensions.js +62 -0
- package/dist/src/ui/state/extensions.js.map +1 -0
- package/dist/src/ui/themes/ayu.js +1 -1
- package/dist/src/ui/themes/dracula.js +2 -2
- package/dist/src/ui/themes/github-dark.js +1 -1
- package/dist/src/ui/themes/theme.js +19 -19
- package/dist/src/ui/themes/theme.js.map +1 -1
- package/dist/src/ui/types.d.ts +79 -3
- package/dist/src/ui/types.js +14 -0
- package/dist/src/ui/types.js.map +1 -1
- package/dist/src/ui/utils/CodeColorizer.js +3 -2
- package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
- package/dist/src/ui/utils/InlineMarkdownRenderer.js +7 -7
- package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.js +11 -11
- package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.test.js +95 -87
- package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -1
- package/dist/src/ui/utils/TableRenderer.js +4 -4
- package/dist/src/ui/utils/TableRenderer.js.map +1 -1
- package/dist/src/ui/utils/clipboardUtils.js +5 -6
- package/dist/src/ui/utils/clipboardUtils.js.map +1 -1
- package/dist/src/ui/utils/displayUtils.d.ts +1 -0
- package/dist/src/ui/utils/displayUtils.js +7 -4
- package/dist/src/ui/utils/displayUtils.js.map +1 -1
- package/dist/src/ui/utils/displayUtils.test.js +37 -18
- package/dist/src/ui/utils/displayUtils.test.js.map +1 -1
- package/dist/src/ui/utils/highlight.d.ts +11 -0
- package/dist/src/ui/utils/highlight.js +78 -0
- package/dist/src/ui/utils/highlight.js.map +1 -0
- package/dist/src/ui/utils/highlight.test.d.ts +6 -0
- package/dist/src/ui/utils/highlight.test.js +120 -0
- package/dist/src/ui/utils/highlight.test.js.map +1 -0
- package/dist/src/ui/utils/kittyProtocolDetector.js +39 -29
- package/dist/src/ui/utils/kittyProtocolDetector.js.map +1 -1
- package/dist/src/ui/utils/platformConstants.d.ts +24 -1
- package/dist/src/ui/utils/platformConstants.js +26 -1
- package/dist/src/ui/utils/platformConstants.js.map +1 -1
- package/dist/src/ui/utils/textUtils.d.ts +10 -0
- package/dist/src/ui/utils/textUtils.js +108 -3
- package/dist/src/ui/utils/textUtils.js.map +1 -1
- package/dist/src/ui/utils/textUtils.test.d.ts +6 -0
- package/dist/src/ui/utils/textUtils.test.js +132 -0
- package/dist/src/ui/utils/textUtils.test.js.map +1 -0
- package/dist/src/ui/utils/updateCheck.d.ts +1 -0
- package/dist/src/ui/utils/updateCheck.js +53 -2
- package/dist/src/ui/utils/updateCheck.js.map +1 -1
- package/dist/src/utils/commands.d.ts +20 -0
- package/dist/src/utils/commands.js +53 -0
- package/dist/src/utils/commands.js.map +1 -0
- package/dist/src/utils/commands.test.d.ts +6 -0
- package/dist/src/utils/commands.test.js +115 -0
- package/dist/src/utils/commands.test.js.map +1 -0
- package/dist/src/utils/commentJson.d.ts +9 -0
- package/dist/src/utils/commentJson.js +48 -0
- package/dist/src/utils/commentJson.js.map +1 -0
- package/dist/src/utils/commentJson.test.d.ts +6 -0
- package/dist/src/utils/commentJson.test.js +146 -0
- package/dist/src/utils/commentJson.test.js.map +1 -0
- package/dist/src/utils/deepMerge.d.ts +9 -0
- package/dist/src/utils/deepMerge.js +58 -0
- package/dist/src/utils/deepMerge.js.map +1 -0
- package/dist/src/utils/deepMerge.test.d.ts +6 -0
- package/dist/src/utils/deepMerge.test.js +143 -0
- package/dist/src/utils/deepMerge.test.js.map +1 -0
- package/dist/src/utils/envVarResolver.d.ts +39 -0
- package/dist/src/utils/envVarResolver.js +97 -0
- package/dist/src/utils/envVarResolver.js.map +1 -0
- package/dist/src/utils/envVarResolver.test.d.ts +6 -0
- package/dist/src/utils/envVarResolver.test.js +221 -0
- package/dist/src/utils/envVarResolver.test.js.map +1 -0
- package/dist/src/utils/errors.d.ts +21 -0
- package/dist/src/utils/errors.js +93 -0
- package/dist/src/utils/errors.js.map +1 -1
- package/dist/src/utils/errors.test.d.ts +6 -0
- package/dist/src/utils/errors.test.js +303 -0
- package/dist/src/utils/errors.test.js.map +1 -0
- package/dist/src/utils/events.d.ts +2 -1
- package/dist/src/utils/events.js +1 -0
- package/dist/src/utils/events.js.map +1 -1
- package/dist/src/utils/handleAutoUpdate.js +6 -3
- package/dist/src/utils/handleAutoUpdate.js.map +1 -1
- package/dist/src/utils/math.d.ts +13 -0
- package/dist/src/utils/math.js +14 -0
- package/dist/src/utils/math.js.map +1 -0
- package/dist/src/utils/processUtils.d.ts +13 -0
- package/dist/src/utils/processUtils.js +18 -0
- package/dist/src/utils/processUtils.js.map +1 -0
- package/dist/src/utils/processUtils.test.d.ts +6 -0
- package/dist/src/utils/processUtils.test.js +20 -0
- package/dist/src/utils/processUtils.test.js.map +1 -0
- package/dist/src/utils/relaunch.d.ts +7 -0
- package/dist/src/utils/relaunch.js +57 -0
- package/dist/src/utils/relaunch.js.map +1 -0
- package/dist/src/utils/relaunch.test.d.ts +6 -0
- package/dist/src/utils/relaunch.test.js +273 -0
- package/dist/src/utils/relaunch.test.js.map +1 -0
- package/dist/src/utils/sandbox.d.ts +1 -1
- package/dist/src/utils/sandbox.js +42 -17
- package/dist/src/utils/sandbox.js.map +1 -1
- package/dist/src/utils/settingsUtils.d.ts +16 -6
- package/dist/src/utils/settingsUtils.js +35 -25
- package/dist/src/utils/settingsUtils.js.map +1 -1
- package/dist/src/utils/settingsUtils.test.js +455 -158
- package/dist/src/utils/settingsUtils.test.js.map +1 -1
- package/dist/src/utils/startupWarnings.js +1 -1
- package/dist/src/utils/startupWarnings.js.map +1 -1
- package/dist/src/utils/userStartupWarnings.d.ts +7 -1
- package/dist/src/utils/userStartupWarnings.js +21 -6
- package/dist/src/utils/userStartupWarnings.js.map +1 -1
- package/dist/src/utils/userStartupWarnings.test.js +26 -5
- package/dist/src/utils/userStartupWarnings.test.js.map +1 -1
- package/dist/src/utils/windowTitle.d.ts +12 -0
- package/dist/src/utils/windowTitle.js +19 -0
- package/dist/src/utils/windowTitle.js.map +1 -0
- package/dist/src/utils/windowTitle.test.d.ts +6 -0
- package/dist/src/utils/windowTitle.test.js +49 -0
- package/dist/src/utils/windowTitle.test.js.map +1 -0
- package/dist/src/validateNonInterActiveAuth.d.ts +4 -2
- package/dist/src/validateNonInterActiveAuth.js +36 -21
- package/dist/src/validateNonInterActiveAuth.js.map +1 -1
- package/dist/src/zed-integration/fileSystemService.d.ts +1 -0
- package/dist/src/zed-integration/fileSystemService.js +3 -0
- package/dist/src/zed-integration/fileSystemService.js.map +1 -1
- package/dist/src/zed-integration/schema.d.ts +282 -282
- package/dist/src/zed-integration/zedIntegration.d.ts +8 -1
- package/dist/src/zed-integration/zedIntegration.js +34 -30
- package/dist/src/zed-integration/zedIntegration.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -11
- package/dist/src/ui/commands/privacyCommand.js.map +0 -1
- package/dist/src/ui/components/AuthDialog.js.map +0 -1
- package/dist/src/ui/components/AuthDialog.test.js.map +0 -1
- package/dist/src/ui/components/AuthInProgress.js.map +0 -1
- package/dist/src/ui/components/ModelSelectionDialog.d.ts +0 -14
- package/dist/src/ui/components/ModelSelectionDialog.js +0 -26
- package/dist/src/ui/components/ModelSelectionDialog.js.map +0 -1
- package/dist/src/ui/components/ModelSelectionDialog.test.js +0 -124
- package/dist/src/ui/components/ModelSelectionDialog.test.js.map +0 -1
- package/dist/src/ui/hooks/useAuthCommand.d.ts +0 -14
- package/dist/src/ui/hooks/useAuthCommand.js +0 -66
- package/dist/src/ui/hooks/useAuthCommand.js.map +0 -1
- package/dist/src/ui/hooks/usePrivacySettings.d.ts +0 -16
- package/dist/src/ui/hooks/usePrivacySettings.js +0 -119
- package/dist/src/ui/hooks/usePrivacySettings.js.map +0 -1
- package/dist/src/ui/hooks/usePrivacySettings.test.js +0 -154
- package/dist/src/ui/hooks/usePrivacySettings.test.js.map +0 -1
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +0 -12
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js +0 -41
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.d.ts +0 -10
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js +0 -18
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/GeminiPrivacyNotice.d.ts +0 -10
- package/dist/src/ui/privacy/GeminiPrivacyNotice.js +0 -18
- package/dist/src/ui/privacy/GeminiPrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/PrivacyNotice.d.ts +0 -12
- package/dist/src/ui/privacy/PrivacyNotice.js +0 -25
- package/dist/src/ui/privacy/PrivacyNotice.js.map +0 -1
- /package/dist/src/{ui/components/AuthDialog.test.d.ts → commands/extensions/new.test.d.ts} +0 -0
- /package/dist/src/{ui/hooks/usePrivacySettings.test.d.ts → config/extensions/extensionEnablement.test.d.ts} +0 -0
- /package/dist/src/ui/{components → auth}/AuthInProgress.d.ts +0 -0
|
@@ -72,13 +72,13 @@ export declare const writeTextFileRequestSchema: z.ZodObject<{
|
|
|
72
72
|
path: z.ZodString;
|
|
73
73
|
sessionId: z.ZodString;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
sessionId: string;
|
|
76
75
|
content: string;
|
|
77
76
|
path: string;
|
|
78
|
-
}, {
|
|
79
77
|
sessionId: string;
|
|
78
|
+
}, {
|
|
80
79
|
content: string;
|
|
81
80
|
path: string;
|
|
81
|
+
sessionId: string;
|
|
82
82
|
}>;
|
|
83
83
|
export declare const readTextFileRequestSchema: z.ZodObject<{
|
|
84
84
|
limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -86,13 +86,13 @@ export declare const readTextFileRequestSchema: z.ZodObject<{
|
|
|
86
86
|
path: z.ZodString;
|
|
87
87
|
sessionId: z.ZodString;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
sessionId: string;
|
|
90
89
|
path: string;
|
|
90
|
+
sessionId: string;
|
|
91
91
|
line?: number | null | undefined;
|
|
92
92
|
limit?: number | null | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
sessionId: string;
|
|
95
94
|
path: string;
|
|
95
|
+
sessionId: string;
|
|
96
96
|
line?: number | null | undefined;
|
|
97
97
|
limit?: number | null | undefined;
|
|
98
98
|
}>;
|
|
@@ -298,20 +298,20 @@ export declare const mcpServerSchema: z.ZodObject<{
|
|
|
298
298
|
name: z.ZodString;
|
|
299
299
|
}, "strip", z.ZodTypeAny, {
|
|
300
300
|
name: string;
|
|
301
|
+
command: string;
|
|
301
302
|
args: string[];
|
|
302
303
|
env: {
|
|
303
304
|
name: string;
|
|
304
305
|
value: string;
|
|
305
306
|
}[];
|
|
306
|
-
command: string;
|
|
307
307
|
}, {
|
|
308
308
|
name: string;
|
|
309
|
+
command: string;
|
|
309
310
|
args: string[];
|
|
310
311
|
env: {
|
|
311
312
|
name: string;
|
|
312
313
|
value: string;
|
|
313
314
|
}[];
|
|
314
|
-
command: string;
|
|
315
315
|
}>;
|
|
316
316
|
export declare const promptCapabilitiesSchema: z.ZodObject<{
|
|
317
317
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -361,13 +361,13 @@ export declare const authMethodSchema: z.ZodObject<{
|
|
|
361
361
|
id: z.ZodString;
|
|
362
362
|
name: z.ZodString;
|
|
363
363
|
}, "strip", z.ZodTypeAny, {
|
|
364
|
-
id: string;
|
|
365
364
|
name: string;
|
|
366
365
|
description: string | null;
|
|
367
|
-
}, {
|
|
368
366
|
id: string;
|
|
367
|
+
}, {
|
|
369
368
|
name: string;
|
|
370
369
|
description: string | null;
|
|
370
|
+
id: string;
|
|
371
371
|
}>;
|
|
372
372
|
export declare const clientResponseSchema: z.ZodUnion<[z.ZodNull, z.ZodObject<{
|
|
373
373
|
content: z.ZodString;
|
|
@@ -457,41 +457,41 @@ export declare const newSessionRequestSchema: z.ZodObject<{
|
|
|
457
457
|
name: z.ZodString;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
459
|
name: string;
|
|
460
|
+
command: string;
|
|
460
461
|
args: string[];
|
|
461
462
|
env: {
|
|
462
463
|
name: string;
|
|
463
464
|
value: string;
|
|
464
465
|
}[];
|
|
465
|
-
command: string;
|
|
466
466
|
}, {
|
|
467
467
|
name: string;
|
|
468
|
+
command: string;
|
|
468
469
|
args: string[];
|
|
469
470
|
env: {
|
|
470
471
|
name: string;
|
|
471
472
|
value: string;
|
|
472
473
|
}[];
|
|
473
|
-
command: string;
|
|
474
474
|
}>, "many">;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
476
|
mcpServers: {
|
|
477
477
|
name: string;
|
|
478
|
+
command: string;
|
|
478
479
|
args: string[];
|
|
479
480
|
env: {
|
|
480
481
|
name: string;
|
|
481
482
|
value: string;
|
|
482
483
|
}[];
|
|
483
|
-
command: string;
|
|
484
484
|
}[];
|
|
485
485
|
cwd: string;
|
|
486
486
|
}, {
|
|
487
487
|
mcpServers: {
|
|
488
488
|
name: string;
|
|
489
|
+
command: string;
|
|
489
490
|
args: string[];
|
|
490
491
|
env: {
|
|
491
492
|
name: string;
|
|
492
493
|
value: string;
|
|
493
494
|
}[];
|
|
494
|
-
command: string;
|
|
495
495
|
}[];
|
|
496
496
|
cwd: string;
|
|
497
497
|
}>;
|
|
@@ -513,46 +513,46 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
|
|
|
513
513
|
name: z.ZodString;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
515
|
name: string;
|
|
516
|
+
command: string;
|
|
516
517
|
args: string[];
|
|
517
518
|
env: {
|
|
518
519
|
name: string;
|
|
519
520
|
value: string;
|
|
520
521
|
}[];
|
|
521
|
-
command: string;
|
|
522
522
|
}, {
|
|
523
523
|
name: string;
|
|
524
|
+
command: string;
|
|
524
525
|
args: string[];
|
|
525
526
|
env: {
|
|
526
527
|
name: string;
|
|
527
528
|
value: string;
|
|
528
529
|
}[];
|
|
529
|
-
command: string;
|
|
530
530
|
}>, "many">;
|
|
531
531
|
sessionId: z.ZodString;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
533
|
mcpServers: {
|
|
534
534
|
name: string;
|
|
535
|
+
command: string;
|
|
535
536
|
args: string[];
|
|
536
537
|
env: {
|
|
537
538
|
name: string;
|
|
538
539
|
value: string;
|
|
539
540
|
}[];
|
|
540
|
-
command: string;
|
|
541
541
|
}[];
|
|
542
|
-
sessionId: string;
|
|
543
542
|
cwd: string;
|
|
543
|
+
sessionId: string;
|
|
544
544
|
}, {
|
|
545
545
|
mcpServers: {
|
|
546
546
|
name: string;
|
|
547
|
+
command: string;
|
|
547
548
|
args: string[];
|
|
548
549
|
env: {
|
|
549
550
|
name: string;
|
|
550
551
|
value: string;
|
|
551
552
|
}[];
|
|
552
|
-
command: string;
|
|
553
553
|
}[];
|
|
554
|
-
sessionId: string;
|
|
555
554
|
cwd: string;
|
|
555
|
+
sessionId: string;
|
|
556
556
|
}>;
|
|
557
557
|
export declare const initializeResponseSchema: z.ZodObject<{
|
|
558
558
|
agentCapabilities: z.ZodObject<{
|
|
@@ -590,13 +590,13 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
590
590
|
id: z.ZodString;
|
|
591
591
|
name: z.ZodString;
|
|
592
592
|
}, "strip", z.ZodTypeAny, {
|
|
593
|
-
id: string;
|
|
594
593
|
name: string;
|
|
595
594
|
description: string | null;
|
|
596
|
-
}, {
|
|
597
595
|
id: string;
|
|
596
|
+
}, {
|
|
598
597
|
name: string;
|
|
599
598
|
description: string | null;
|
|
599
|
+
id: string;
|
|
600
600
|
}>, "many">;
|
|
601
601
|
protocolVersion: z.ZodNumber;
|
|
602
602
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -609,9 +609,9 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
609
609
|
} | undefined;
|
|
610
610
|
};
|
|
611
611
|
authMethods: {
|
|
612
|
-
id: string;
|
|
613
612
|
name: string;
|
|
614
613
|
description: string | null;
|
|
614
|
+
id: string;
|
|
615
615
|
}[];
|
|
616
616
|
protocolVersion: number;
|
|
617
617
|
}, {
|
|
@@ -624,9 +624,9 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
624
624
|
} | undefined;
|
|
625
625
|
};
|
|
626
626
|
authMethods: {
|
|
627
|
-
id: string;
|
|
628
627
|
name: string;
|
|
629
628
|
description: string | null;
|
|
629
|
+
id: string;
|
|
630
630
|
}[];
|
|
631
631
|
protocolVersion: number;
|
|
632
632
|
}>;
|
|
@@ -647,16 +647,16 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
647
647
|
text: z.ZodString;
|
|
648
648
|
type: z.ZodLiteral<"text">;
|
|
649
649
|
}, "strip", z.ZodTypeAny, {
|
|
650
|
-
text: string;
|
|
651
650
|
type: "text";
|
|
651
|
+
text: string;
|
|
652
652
|
annotations?: {
|
|
653
653
|
priority?: number | null | undefined;
|
|
654
654
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
655
655
|
lastModified?: string | null | undefined;
|
|
656
656
|
} | null | undefined;
|
|
657
657
|
}, {
|
|
658
|
-
text: string;
|
|
659
658
|
type: "text";
|
|
659
|
+
text: string;
|
|
660
660
|
annotations?: {
|
|
661
661
|
priority?: number | null | undefined;
|
|
662
662
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -870,16 +870,16 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
870
870
|
text: z.ZodString;
|
|
871
871
|
type: z.ZodLiteral<"text">;
|
|
872
872
|
}, "strip", z.ZodTypeAny, {
|
|
873
|
-
text: string;
|
|
874
873
|
type: "text";
|
|
874
|
+
text: string;
|
|
875
875
|
annotations?: {
|
|
876
876
|
priority?: number | null | undefined;
|
|
877
877
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
878
878
|
lastModified?: string | null | undefined;
|
|
879
879
|
} | null | undefined;
|
|
880
880
|
}, {
|
|
881
|
-
text: string;
|
|
882
881
|
type: "text";
|
|
882
|
+
text: string;
|
|
883
883
|
annotations?: {
|
|
884
884
|
priority?: number | null | undefined;
|
|
885
885
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1077,10 +1077,9 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1077
1077
|
}>]>;
|
|
1078
1078
|
type: z.ZodLiteral<"content">;
|
|
1079
1079
|
}, "strip", z.ZodTypeAny, {
|
|
1080
|
-
type: "content";
|
|
1081
1080
|
content: {
|
|
1082
|
-
text: string;
|
|
1083
1081
|
type: "text";
|
|
1082
|
+
text: string;
|
|
1084
1083
|
annotations?: {
|
|
1085
1084
|
priority?: number | null | undefined;
|
|
1086
1085
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1134,11 +1133,11 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1134
1133
|
lastModified?: string | null | undefined;
|
|
1135
1134
|
} | null | undefined;
|
|
1136
1135
|
};
|
|
1137
|
-
}, {
|
|
1138
1136
|
type: "content";
|
|
1137
|
+
}, {
|
|
1139
1138
|
content: {
|
|
1140
|
-
text: string;
|
|
1141
1139
|
type: "text";
|
|
1140
|
+
text: string;
|
|
1142
1141
|
annotations?: {
|
|
1143
1142
|
priority?: number | null | undefined;
|
|
1144
1143
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1192,6 +1191,7 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1192
1191
|
lastModified?: string | null | undefined;
|
|
1193
1192
|
} | null | undefined;
|
|
1194
1193
|
};
|
|
1194
|
+
type: "content";
|
|
1195
1195
|
}>, z.ZodObject<{
|
|
1196
1196
|
newText: z.ZodString;
|
|
1197
1197
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -1227,16 +1227,16 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1227
1227
|
text: z.ZodString;
|
|
1228
1228
|
type: z.ZodLiteral<"text">;
|
|
1229
1229
|
}, "strip", z.ZodTypeAny, {
|
|
1230
|
-
text: string;
|
|
1231
1230
|
type: "text";
|
|
1231
|
+
text: string;
|
|
1232
1232
|
annotations?: {
|
|
1233
1233
|
priority?: number | null | undefined;
|
|
1234
1234
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1235
1235
|
lastModified?: string | null | undefined;
|
|
1236
1236
|
} | null | undefined;
|
|
1237
1237
|
}, {
|
|
1238
|
-
text: string;
|
|
1239
1238
|
type: "text";
|
|
1239
|
+
text: string;
|
|
1240
1240
|
annotations?: {
|
|
1241
1241
|
priority?: number | null | undefined;
|
|
1242
1242
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1434,10 +1434,9 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1434
1434
|
}>]>;
|
|
1435
1435
|
type: z.ZodLiteral<"content">;
|
|
1436
1436
|
}, "strip", z.ZodTypeAny, {
|
|
1437
|
-
type: "content";
|
|
1438
1437
|
content: {
|
|
1439
|
-
text: string;
|
|
1440
1438
|
type: "text";
|
|
1439
|
+
text: string;
|
|
1441
1440
|
annotations?: {
|
|
1442
1441
|
priority?: number | null | undefined;
|
|
1443
1442
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1491,11 +1490,11 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1491
1490
|
lastModified?: string | null | undefined;
|
|
1492
1491
|
} | null | undefined;
|
|
1493
1492
|
};
|
|
1494
|
-
}, {
|
|
1495
1493
|
type: "content";
|
|
1494
|
+
}, {
|
|
1496
1495
|
content: {
|
|
1497
|
-
text: string;
|
|
1498
1496
|
type: "text";
|
|
1497
|
+
text: string;
|
|
1499
1498
|
annotations?: {
|
|
1500
1499
|
priority?: number | null | undefined;
|
|
1501
1500
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1549,6 +1548,7 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1549
1548
|
lastModified?: string | null | undefined;
|
|
1550
1549
|
} | null | undefined;
|
|
1551
1550
|
};
|
|
1551
|
+
type: "content";
|
|
1552
1552
|
}>, z.ZodObject<{
|
|
1553
1553
|
newText: z.ZodString;
|
|
1554
1554
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -1581,15 +1581,14 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1581
1581
|
title: z.ZodString;
|
|
1582
1582
|
toolCallId: z.ZodString;
|
|
1583
1583
|
}, "strip", z.ZodTypeAny, {
|
|
1584
|
-
status: "completed" | "
|
|
1584
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
1585
1585
|
title: string;
|
|
1586
|
-
kind: "search" | "
|
|
1586
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
1587
1587
|
toolCallId: string;
|
|
1588
1588
|
content?: ({
|
|
1589
|
-
type: "content";
|
|
1590
1589
|
content: {
|
|
1591
|
-
text: string;
|
|
1592
1590
|
type: "text";
|
|
1591
|
+
text: string;
|
|
1593
1592
|
annotations?: {
|
|
1594
1593
|
priority?: number | null | undefined;
|
|
1595
1594
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1643,6 +1642,7 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1643
1642
|
lastModified?: string | null | undefined;
|
|
1644
1643
|
} | null | undefined;
|
|
1645
1644
|
};
|
|
1645
|
+
type: "content";
|
|
1646
1646
|
} | {
|
|
1647
1647
|
type: "diff";
|
|
1648
1648
|
path: string;
|
|
@@ -1655,15 +1655,14 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1655
1655
|
}[] | undefined;
|
|
1656
1656
|
rawInput?: unknown;
|
|
1657
1657
|
}, {
|
|
1658
|
-
status: "completed" | "
|
|
1658
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
1659
1659
|
title: string;
|
|
1660
|
-
kind: "search" | "
|
|
1660
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
1661
1661
|
toolCallId: string;
|
|
1662
1662
|
content?: ({
|
|
1663
|
-
type: "content";
|
|
1664
1663
|
content: {
|
|
1665
|
-
text: string;
|
|
1666
1664
|
type: "text";
|
|
1665
|
+
text: string;
|
|
1667
1666
|
annotations?: {
|
|
1668
1667
|
priority?: number | null | undefined;
|
|
1669
1668
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1717,6 +1716,7 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1717
1716
|
lastModified?: string | null | undefined;
|
|
1718
1717
|
} | null | undefined;
|
|
1719
1718
|
};
|
|
1719
|
+
type: "content";
|
|
1720
1720
|
} | {
|
|
1721
1721
|
type: "diff";
|
|
1722
1722
|
path: string;
|
|
@@ -1769,16 +1769,16 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
1769
1769
|
text: z.ZodString;
|
|
1770
1770
|
type: z.ZodLiteral<"text">;
|
|
1771
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1772
|
-
text: string;
|
|
1773
1772
|
type: "text";
|
|
1773
|
+
text: string;
|
|
1774
1774
|
annotations?: {
|
|
1775
1775
|
priority?: number | null | undefined;
|
|
1776
1776
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1777
1777
|
lastModified?: string | null | undefined;
|
|
1778
1778
|
} | null | undefined;
|
|
1779
1779
|
}, {
|
|
1780
|
-
text: string;
|
|
1781
1780
|
type: "text";
|
|
1781
|
+
text: string;
|
|
1782
1782
|
annotations?: {
|
|
1783
1783
|
priority?: number | null | undefined;
|
|
1784
1784
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1978,8 +1978,8 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
1978
1978
|
}, "strip", z.ZodTypeAny, {
|
|
1979
1979
|
sessionId: string;
|
|
1980
1980
|
prompt: ({
|
|
1981
|
-
text: string;
|
|
1982
1981
|
type: "text";
|
|
1982
|
+
text: string;
|
|
1983
1983
|
annotations?: {
|
|
1984
1984
|
priority?: number | null | undefined;
|
|
1985
1985
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2036,8 +2036,8 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
2036
2036
|
}, {
|
|
2037
2037
|
sessionId: string;
|
|
2038
2038
|
prompt: ({
|
|
2039
|
-
text: string;
|
|
2040
2039
|
type: "text";
|
|
2040
|
+
text: string;
|
|
2041
2041
|
annotations?: {
|
|
2042
2042
|
priority?: number | null | undefined;
|
|
2043
2043
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2110,16 +2110,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2110
2110
|
text: z.ZodString;
|
|
2111
2111
|
type: z.ZodLiteral<"text">;
|
|
2112
2112
|
}, "strip", z.ZodTypeAny, {
|
|
2113
|
-
text: string;
|
|
2114
2113
|
type: "text";
|
|
2114
|
+
text: string;
|
|
2115
2115
|
annotations?: {
|
|
2116
2116
|
priority?: number | null | undefined;
|
|
2117
2117
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2118
2118
|
lastModified?: string | null | undefined;
|
|
2119
2119
|
} | null | undefined;
|
|
2120
2120
|
}, {
|
|
2121
|
-
text: string;
|
|
2122
2121
|
type: "text";
|
|
2122
|
+
text: string;
|
|
2123
2123
|
annotations?: {
|
|
2124
2124
|
priority?: number | null | undefined;
|
|
2125
2125
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2318,8 +2318,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2318
2318
|
sessionUpdate: z.ZodLiteral<"user_message_chunk">;
|
|
2319
2319
|
}, "strip", z.ZodTypeAny, {
|
|
2320
2320
|
content: {
|
|
2321
|
-
text: string;
|
|
2322
2321
|
type: "text";
|
|
2322
|
+
text: string;
|
|
2323
2323
|
annotations?: {
|
|
2324
2324
|
priority?: number | null | undefined;
|
|
2325
2325
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2376,8 +2376,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2376
2376
|
sessionUpdate: "user_message_chunk";
|
|
2377
2377
|
}, {
|
|
2378
2378
|
content: {
|
|
2379
|
-
text: string;
|
|
2380
2379
|
type: "text";
|
|
2380
|
+
text: string;
|
|
2381
2381
|
annotations?: {
|
|
2382
2382
|
priority?: number | null | undefined;
|
|
2383
2383
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2450,16 +2450,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2450
2450
|
text: z.ZodString;
|
|
2451
2451
|
type: z.ZodLiteral<"text">;
|
|
2452
2452
|
}, "strip", z.ZodTypeAny, {
|
|
2453
|
-
text: string;
|
|
2454
2453
|
type: "text";
|
|
2454
|
+
text: string;
|
|
2455
2455
|
annotations?: {
|
|
2456
2456
|
priority?: number | null | undefined;
|
|
2457
2457
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2458
2458
|
lastModified?: string | null | undefined;
|
|
2459
2459
|
} | null | undefined;
|
|
2460
2460
|
}, {
|
|
2461
|
-
text: string;
|
|
2462
2461
|
type: "text";
|
|
2462
|
+
text: string;
|
|
2463
2463
|
annotations?: {
|
|
2464
2464
|
priority?: number | null | undefined;
|
|
2465
2465
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2658,8 +2658,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2658
2658
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
2659
2659
|
}, "strip", z.ZodTypeAny, {
|
|
2660
2660
|
content: {
|
|
2661
|
-
text: string;
|
|
2662
2661
|
type: "text";
|
|
2662
|
+
text: string;
|
|
2663
2663
|
annotations?: {
|
|
2664
2664
|
priority?: number | null | undefined;
|
|
2665
2665
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2716,8 +2716,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2716
2716
|
sessionUpdate: "agent_message_chunk";
|
|
2717
2717
|
}, {
|
|
2718
2718
|
content: {
|
|
2719
|
-
text: string;
|
|
2720
2719
|
type: "text";
|
|
2720
|
+
text: string;
|
|
2721
2721
|
annotations?: {
|
|
2722
2722
|
priority?: number | null | undefined;
|
|
2723
2723
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2790,16 +2790,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2790
2790
|
text: z.ZodString;
|
|
2791
2791
|
type: z.ZodLiteral<"text">;
|
|
2792
2792
|
}, "strip", z.ZodTypeAny, {
|
|
2793
|
-
text: string;
|
|
2794
2793
|
type: "text";
|
|
2794
|
+
text: string;
|
|
2795
2795
|
annotations?: {
|
|
2796
2796
|
priority?: number | null | undefined;
|
|
2797
2797
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2798
2798
|
lastModified?: string | null | undefined;
|
|
2799
2799
|
} | null | undefined;
|
|
2800
2800
|
}, {
|
|
2801
|
-
text: string;
|
|
2802
2801
|
type: "text";
|
|
2802
|
+
text: string;
|
|
2803
2803
|
annotations?: {
|
|
2804
2804
|
priority?: number | null | undefined;
|
|
2805
2805
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2998,8 +2998,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2998
2998
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
2999
2999
|
}, "strip", z.ZodTypeAny, {
|
|
3000
3000
|
content: {
|
|
3001
|
-
text: string;
|
|
3002
3001
|
type: "text";
|
|
3002
|
+
text: string;
|
|
3003
3003
|
annotations?: {
|
|
3004
3004
|
priority?: number | null | undefined;
|
|
3005
3005
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3056,8 +3056,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3056
3056
|
sessionUpdate: "agent_thought_chunk";
|
|
3057
3057
|
}, {
|
|
3058
3058
|
content: {
|
|
3059
|
-
text: string;
|
|
3060
3059
|
type: "text";
|
|
3060
|
+
text: string;
|
|
3061
3061
|
annotations?: {
|
|
3062
3062
|
priority?: number | null | undefined;
|
|
3063
3063
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3131,16 +3131,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3131
3131
|
text: z.ZodString;
|
|
3132
3132
|
type: z.ZodLiteral<"text">;
|
|
3133
3133
|
}, "strip", z.ZodTypeAny, {
|
|
3134
|
-
text: string;
|
|
3135
3134
|
type: "text";
|
|
3135
|
+
text: string;
|
|
3136
3136
|
annotations?: {
|
|
3137
3137
|
priority?: number | null | undefined;
|
|
3138
3138
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3139
3139
|
lastModified?: string | null | undefined;
|
|
3140
3140
|
} | null | undefined;
|
|
3141
3141
|
}, {
|
|
3142
|
-
text: string;
|
|
3143
3142
|
type: "text";
|
|
3143
|
+
text: string;
|
|
3144
3144
|
annotations?: {
|
|
3145
3145
|
priority?: number | null | undefined;
|
|
3146
3146
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3338,10 +3338,9 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3338
3338
|
}>]>;
|
|
3339
3339
|
type: z.ZodLiteral<"content">;
|
|
3340
3340
|
}, "strip", z.ZodTypeAny, {
|
|
3341
|
-
type: "content";
|
|
3342
3341
|
content: {
|
|
3343
|
-
text: string;
|
|
3344
3342
|
type: "text";
|
|
3343
|
+
text: string;
|
|
3345
3344
|
annotations?: {
|
|
3346
3345
|
priority?: number | null | undefined;
|
|
3347
3346
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3395,11 +3394,11 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3395
3394
|
lastModified?: string | null | undefined;
|
|
3396
3395
|
} | null | undefined;
|
|
3397
3396
|
};
|
|
3398
|
-
}, {
|
|
3399
3397
|
type: "content";
|
|
3398
|
+
}, {
|
|
3400
3399
|
content: {
|
|
3401
|
-
text: string;
|
|
3402
3400
|
type: "text";
|
|
3401
|
+
text: string;
|
|
3403
3402
|
annotations?: {
|
|
3404
3403
|
priority?: number | null | undefined;
|
|
3405
3404
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3453,6 +3452,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3453
3452
|
lastModified?: string | null | undefined;
|
|
3454
3453
|
} | null | undefined;
|
|
3455
3454
|
};
|
|
3455
|
+
type: "content";
|
|
3456
3456
|
}>, z.ZodObject<{
|
|
3457
3457
|
newText: z.ZodString;
|
|
3458
3458
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -3486,16 +3486,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3486
3486
|
title: z.ZodString;
|
|
3487
3487
|
toolCallId: z.ZodString;
|
|
3488
3488
|
}, "strip", z.ZodTypeAny, {
|
|
3489
|
-
status: "completed" | "
|
|
3489
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
3490
3490
|
title: string;
|
|
3491
|
-
kind: "search" | "
|
|
3491
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
3492
3492
|
toolCallId: string;
|
|
3493
3493
|
sessionUpdate: "tool_call";
|
|
3494
3494
|
content?: ({
|
|
3495
|
-
type: "content";
|
|
3496
3495
|
content: {
|
|
3497
|
-
text: string;
|
|
3498
3496
|
type: "text";
|
|
3497
|
+
text: string;
|
|
3499
3498
|
annotations?: {
|
|
3500
3499
|
priority?: number | null | undefined;
|
|
3501
3500
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3549,6 +3548,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3549
3548
|
lastModified?: string | null | undefined;
|
|
3550
3549
|
} | null | undefined;
|
|
3551
3550
|
};
|
|
3551
|
+
type: "content";
|
|
3552
3552
|
} | {
|
|
3553
3553
|
type: "diff";
|
|
3554
3554
|
path: string;
|
|
@@ -3561,16 +3561,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3561
3561
|
}[] | undefined;
|
|
3562
3562
|
rawInput?: unknown;
|
|
3563
3563
|
}, {
|
|
3564
|
-
status: "completed" | "
|
|
3564
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
3565
3565
|
title: string;
|
|
3566
|
-
kind: "search" | "
|
|
3566
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
3567
3567
|
toolCallId: string;
|
|
3568
3568
|
sessionUpdate: "tool_call";
|
|
3569
3569
|
content?: ({
|
|
3570
|
-
type: "content";
|
|
3571
3570
|
content: {
|
|
3572
|
-
text: string;
|
|
3573
3571
|
type: "text";
|
|
3572
|
+
text: string;
|
|
3574
3573
|
annotations?: {
|
|
3575
3574
|
priority?: number | null | undefined;
|
|
3576
3575
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3624,6 +3623,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3624
3623
|
lastModified?: string | null | undefined;
|
|
3625
3624
|
} | null | undefined;
|
|
3626
3625
|
};
|
|
3626
|
+
type: "content";
|
|
3627
3627
|
} | {
|
|
3628
3628
|
type: "diff";
|
|
3629
3629
|
path: string;
|
|
@@ -3654,16 +3654,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3654
3654
|
text: z.ZodString;
|
|
3655
3655
|
type: z.ZodLiteral<"text">;
|
|
3656
3656
|
}, "strip", z.ZodTypeAny, {
|
|
3657
|
-
text: string;
|
|
3658
3657
|
type: "text";
|
|
3658
|
+
text: string;
|
|
3659
3659
|
annotations?: {
|
|
3660
3660
|
priority?: number | null | undefined;
|
|
3661
3661
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3662
3662
|
lastModified?: string | null | undefined;
|
|
3663
3663
|
} | null | undefined;
|
|
3664
3664
|
}, {
|
|
3665
|
-
text: string;
|
|
3666
3665
|
type: "text";
|
|
3666
|
+
text: string;
|
|
3667
3667
|
annotations?: {
|
|
3668
3668
|
priority?: number | null | undefined;
|
|
3669
3669
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3861,10 +3861,9 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3861
3861
|
}>]>;
|
|
3862
3862
|
type: z.ZodLiteral<"content">;
|
|
3863
3863
|
}, "strip", z.ZodTypeAny, {
|
|
3864
|
-
type: "content";
|
|
3865
3864
|
content: {
|
|
3866
|
-
text: string;
|
|
3867
3865
|
type: "text";
|
|
3866
|
+
text: string;
|
|
3868
3867
|
annotations?: {
|
|
3869
3868
|
priority?: number | null | undefined;
|
|
3870
3869
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3918,11 +3917,11 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3918
3917
|
lastModified?: string | null | undefined;
|
|
3919
3918
|
} | null | undefined;
|
|
3920
3919
|
};
|
|
3921
|
-
}, {
|
|
3922
3920
|
type: "content";
|
|
3921
|
+
}, {
|
|
3923
3922
|
content: {
|
|
3924
|
-
text: string;
|
|
3925
3923
|
type: "text";
|
|
3924
|
+
text: string;
|
|
3926
3925
|
annotations?: {
|
|
3927
3926
|
priority?: number | null | undefined;
|
|
3928
3927
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3976,6 +3975,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3976
3975
|
lastModified?: string | null | undefined;
|
|
3977
3976
|
} | null | undefined;
|
|
3978
3977
|
};
|
|
3978
|
+
type: "content";
|
|
3979
3979
|
}>, z.ZodObject<{
|
|
3980
3980
|
newText: z.ZodString;
|
|
3981
3981
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -4012,10 +4012,9 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4012
4012
|
toolCallId: string;
|
|
4013
4013
|
sessionUpdate: "tool_call_update";
|
|
4014
4014
|
content?: ({
|
|
4015
|
-
type: "content";
|
|
4016
4015
|
content: {
|
|
4017
|
-
text: string;
|
|
4018
4016
|
type: "text";
|
|
4017
|
+
text: string;
|
|
4019
4018
|
annotations?: {
|
|
4020
4019
|
priority?: number | null | undefined;
|
|
4021
4020
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4069,15 +4068,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4069
4068
|
lastModified?: string | null | undefined;
|
|
4070
4069
|
} | null | undefined;
|
|
4071
4070
|
};
|
|
4071
|
+
type: "content";
|
|
4072
4072
|
} | {
|
|
4073
4073
|
type: "diff";
|
|
4074
4074
|
path: string;
|
|
4075
4075
|
newText: string;
|
|
4076
4076
|
oldText: string | null;
|
|
4077
4077
|
})[] | null | undefined;
|
|
4078
|
-
status?: "completed" | "
|
|
4078
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
4079
4079
|
title?: string | null | undefined;
|
|
4080
|
-
kind?: "search" | "
|
|
4080
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
4081
4081
|
locations?: {
|
|
4082
4082
|
path: string;
|
|
4083
4083
|
line?: number | null | undefined;
|
|
@@ -4087,10 +4087,9 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4087
4087
|
toolCallId: string;
|
|
4088
4088
|
sessionUpdate: "tool_call_update";
|
|
4089
4089
|
content?: ({
|
|
4090
|
-
type: "content";
|
|
4091
4090
|
content: {
|
|
4092
|
-
text: string;
|
|
4093
4091
|
type: "text";
|
|
4092
|
+
text: string;
|
|
4094
4093
|
annotations?: {
|
|
4095
4094
|
priority?: number | null | undefined;
|
|
4096
4095
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4144,15 +4143,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4144
4143
|
lastModified?: string | null | undefined;
|
|
4145
4144
|
} | null | undefined;
|
|
4146
4145
|
};
|
|
4146
|
+
type: "content";
|
|
4147
4147
|
} | {
|
|
4148
4148
|
type: "diff";
|
|
4149
4149
|
path: string;
|
|
4150
4150
|
newText: string;
|
|
4151
4151
|
oldText: string | null;
|
|
4152
4152
|
})[] | null | undefined;
|
|
4153
|
-
status?: "completed" | "
|
|
4153
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
4154
4154
|
title?: string | null | undefined;
|
|
4155
|
-
kind?: "search" | "
|
|
4155
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
4156
4156
|
locations?: {
|
|
4157
4157
|
path: string;
|
|
4158
4158
|
line?: number | null | undefined;
|
|
@@ -4224,13 +4224,13 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4224
4224
|
id: z.ZodString;
|
|
4225
4225
|
name: z.ZodString;
|
|
4226
4226
|
}, "strip", z.ZodTypeAny, {
|
|
4227
|
-
id: string;
|
|
4228
4227
|
name: string;
|
|
4229
4228
|
description: string | null;
|
|
4230
|
-
}, {
|
|
4231
4229
|
id: string;
|
|
4230
|
+
}, {
|
|
4232
4231
|
name: string;
|
|
4233
4232
|
description: string | null;
|
|
4233
|
+
id: string;
|
|
4234
4234
|
}>, "many">;
|
|
4235
4235
|
protocolVersion: z.ZodNumber;
|
|
4236
4236
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4243,9 +4243,9 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4243
4243
|
} | undefined;
|
|
4244
4244
|
};
|
|
4245
4245
|
authMethods: {
|
|
4246
|
-
id: string;
|
|
4247
4246
|
name: string;
|
|
4248
4247
|
description: string | null;
|
|
4248
|
+
id: string;
|
|
4249
4249
|
}[];
|
|
4250
4250
|
protocolVersion: number;
|
|
4251
4251
|
}, {
|
|
@@ -4258,9 +4258,9 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4258
4258
|
} | undefined;
|
|
4259
4259
|
};
|
|
4260
4260
|
authMethods: {
|
|
4261
|
-
id: string;
|
|
4262
4261
|
name: string;
|
|
4263
4262
|
description: string | null;
|
|
4263
|
+
id: string;
|
|
4264
4264
|
}[];
|
|
4265
4265
|
protocolVersion: number;
|
|
4266
4266
|
}>, z.ZodNull, z.ZodObject<{
|
|
@@ -4310,16 +4310,16 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4310
4310
|
text: z.ZodString;
|
|
4311
4311
|
type: z.ZodLiteral<"text">;
|
|
4312
4312
|
}, "strip", z.ZodTypeAny, {
|
|
4313
|
-
text: string;
|
|
4314
4313
|
type: "text";
|
|
4314
|
+
text: string;
|
|
4315
4315
|
annotations?: {
|
|
4316
4316
|
priority?: number | null | undefined;
|
|
4317
4317
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4318
4318
|
lastModified?: string | null | undefined;
|
|
4319
4319
|
} | null | undefined;
|
|
4320
4320
|
}, {
|
|
4321
|
-
text: string;
|
|
4322
4321
|
type: "text";
|
|
4322
|
+
text: string;
|
|
4323
4323
|
annotations?: {
|
|
4324
4324
|
priority?: number | null | undefined;
|
|
4325
4325
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4517,10 +4517,9 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4517
4517
|
}>]>;
|
|
4518
4518
|
type: z.ZodLiteral<"content">;
|
|
4519
4519
|
}, "strip", z.ZodTypeAny, {
|
|
4520
|
-
type: "content";
|
|
4521
4520
|
content: {
|
|
4522
|
-
text: string;
|
|
4523
4521
|
type: "text";
|
|
4522
|
+
text: string;
|
|
4524
4523
|
annotations?: {
|
|
4525
4524
|
priority?: number | null | undefined;
|
|
4526
4525
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4574,11 +4573,11 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4574
4573
|
lastModified?: string | null | undefined;
|
|
4575
4574
|
} | null | undefined;
|
|
4576
4575
|
};
|
|
4577
|
-
}, {
|
|
4578
4576
|
type: "content";
|
|
4577
|
+
}, {
|
|
4579
4578
|
content: {
|
|
4580
|
-
text: string;
|
|
4581
4579
|
type: "text";
|
|
4580
|
+
text: string;
|
|
4582
4581
|
annotations?: {
|
|
4583
4582
|
priority?: number | null | undefined;
|
|
4584
4583
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4632,6 +4631,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4632
4631
|
lastModified?: string | null | undefined;
|
|
4633
4632
|
} | null | undefined;
|
|
4634
4633
|
};
|
|
4634
|
+
type: "content";
|
|
4635
4635
|
}>, z.ZodObject<{
|
|
4636
4636
|
newText: z.ZodString;
|
|
4637
4637
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -4664,15 +4664,14 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4664
4664
|
title: z.ZodString;
|
|
4665
4665
|
toolCallId: z.ZodString;
|
|
4666
4666
|
}, "strip", z.ZodTypeAny, {
|
|
4667
|
-
status: "completed" | "
|
|
4667
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
4668
4668
|
title: string;
|
|
4669
|
-
kind: "search" | "
|
|
4669
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
4670
4670
|
toolCallId: string;
|
|
4671
4671
|
content?: ({
|
|
4672
|
-
type: "content";
|
|
4673
4672
|
content: {
|
|
4674
|
-
text: string;
|
|
4675
4673
|
type: "text";
|
|
4674
|
+
text: string;
|
|
4676
4675
|
annotations?: {
|
|
4677
4676
|
priority?: number | null | undefined;
|
|
4678
4677
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4726,6 +4725,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4726
4725
|
lastModified?: string | null | undefined;
|
|
4727
4726
|
} | null | undefined;
|
|
4728
4727
|
};
|
|
4728
|
+
type: "content";
|
|
4729
4729
|
} | {
|
|
4730
4730
|
type: "diff";
|
|
4731
4731
|
path: string;
|
|
@@ -4738,15 +4738,14 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4738
4738
|
}[] | undefined;
|
|
4739
4739
|
rawInput?: unknown;
|
|
4740
4740
|
}, {
|
|
4741
|
-
status: "completed" | "
|
|
4741
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
4742
4742
|
title: string;
|
|
4743
|
-
kind: "search" | "
|
|
4743
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
4744
4744
|
toolCallId: string;
|
|
4745
4745
|
content?: ({
|
|
4746
|
-
type: "content";
|
|
4747
4746
|
content: {
|
|
4748
|
-
text: string;
|
|
4749
4747
|
type: "text";
|
|
4748
|
+
text: string;
|
|
4750
4749
|
annotations?: {
|
|
4751
4750
|
priority?: number | null | undefined;
|
|
4752
4751
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4800,6 +4799,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4800
4799
|
lastModified?: string | null | undefined;
|
|
4801
4800
|
} | null | undefined;
|
|
4802
4801
|
};
|
|
4802
|
+
type: "content";
|
|
4803
4803
|
} | {
|
|
4804
4804
|
type: "diff";
|
|
4805
4805
|
path: string;
|
|
@@ -4813,22 +4813,21 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4813
4813
|
rawInput?: unknown;
|
|
4814
4814
|
}>;
|
|
4815
4815
|
}, "strip", z.ZodTypeAny, {
|
|
4816
|
-
sessionId: string;
|
|
4817
4816
|
options: {
|
|
4818
4817
|
name: string;
|
|
4819
4818
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
4820
4819
|
optionId: string;
|
|
4821
4820
|
}[];
|
|
4821
|
+
sessionId: string;
|
|
4822
4822
|
toolCall: {
|
|
4823
|
-
status: "completed" | "
|
|
4823
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
4824
4824
|
title: string;
|
|
4825
|
-
kind: "search" | "
|
|
4825
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
4826
4826
|
toolCallId: string;
|
|
4827
4827
|
content?: ({
|
|
4828
|
-
type: "content";
|
|
4829
4828
|
content: {
|
|
4830
|
-
text: string;
|
|
4831
4829
|
type: "text";
|
|
4830
|
+
text: string;
|
|
4832
4831
|
annotations?: {
|
|
4833
4832
|
priority?: number | null | undefined;
|
|
4834
4833
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4882,6 +4881,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4882
4881
|
lastModified?: string | null | undefined;
|
|
4883
4882
|
} | null | undefined;
|
|
4884
4883
|
};
|
|
4884
|
+
type: "content";
|
|
4885
4885
|
} | {
|
|
4886
4886
|
type: "diff";
|
|
4887
4887
|
path: string;
|
|
@@ -4895,22 +4895,21 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4895
4895
|
rawInput?: unknown;
|
|
4896
4896
|
};
|
|
4897
4897
|
}, {
|
|
4898
|
-
sessionId: string;
|
|
4899
4898
|
options: {
|
|
4900
4899
|
name: string;
|
|
4901
4900
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
4902
4901
|
optionId: string;
|
|
4903
4902
|
}[];
|
|
4903
|
+
sessionId: string;
|
|
4904
4904
|
toolCall: {
|
|
4905
|
-
status: "completed" | "
|
|
4905
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
4906
4906
|
title: string;
|
|
4907
|
-
kind: "search" | "
|
|
4907
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
4908
4908
|
toolCallId: string;
|
|
4909
4909
|
content?: ({
|
|
4910
|
-
type: "content";
|
|
4911
4910
|
content: {
|
|
4912
|
-
text: string;
|
|
4913
4911
|
type: "text";
|
|
4912
|
+
text: string;
|
|
4914
4913
|
annotations?: {
|
|
4915
4914
|
priority?: number | null | undefined;
|
|
4916
4915
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4964,6 +4963,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4964
4963
|
lastModified?: string | null | undefined;
|
|
4965
4964
|
} | null | undefined;
|
|
4966
4965
|
};
|
|
4966
|
+
type: "content";
|
|
4967
4967
|
} | {
|
|
4968
4968
|
type: "diff";
|
|
4969
4969
|
path: string;
|
|
@@ -5038,16 +5038,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5038
5038
|
text: z.ZodString;
|
|
5039
5039
|
type: z.ZodLiteral<"text">;
|
|
5040
5040
|
}, "strip", z.ZodTypeAny, {
|
|
5041
|
-
text: string;
|
|
5042
5041
|
type: "text";
|
|
5042
|
+
text: string;
|
|
5043
5043
|
annotations?: {
|
|
5044
5044
|
priority?: number | null | undefined;
|
|
5045
5045
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5046
5046
|
lastModified?: string | null | undefined;
|
|
5047
5047
|
} | null | undefined;
|
|
5048
5048
|
}, {
|
|
5049
|
-
text: string;
|
|
5050
5049
|
type: "text";
|
|
5050
|
+
text: string;
|
|
5051
5051
|
annotations?: {
|
|
5052
5052
|
priority?: number | null | undefined;
|
|
5053
5053
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5246,8 +5246,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5246
5246
|
sessionUpdate: z.ZodLiteral<"user_message_chunk">;
|
|
5247
5247
|
}, "strip", z.ZodTypeAny, {
|
|
5248
5248
|
content: {
|
|
5249
|
-
text: string;
|
|
5250
5249
|
type: "text";
|
|
5250
|
+
text: string;
|
|
5251
5251
|
annotations?: {
|
|
5252
5252
|
priority?: number | null | undefined;
|
|
5253
5253
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5304,8 +5304,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5304
5304
|
sessionUpdate: "user_message_chunk";
|
|
5305
5305
|
}, {
|
|
5306
5306
|
content: {
|
|
5307
|
-
text: string;
|
|
5308
5307
|
type: "text";
|
|
5308
|
+
text: string;
|
|
5309
5309
|
annotations?: {
|
|
5310
5310
|
priority?: number | null | undefined;
|
|
5311
5311
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5378,16 +5378,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5378
5378
|
text: z.ZodString;
|
|
5379
5379
|
type: z.ZodLiteral<"text">;
|
|
5380
5380
|
}, "strip", z.ZodTypeAny, {
|
|
5381
|
-
text: string;
|
|
5382
5381
|
type: "text";
|
|
5382
|
+
text: string;
|
|
5383
5383
|
annotations?: {
|
|
5384
5384
|
priority?: number | null | undefined;
|
|
5385
5385
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5386
5386
|
lastModified?: string | null | undefined;
|
|
5387
5387
|
} | null | undefined;
|
|
5388
5388
|
}, {
|
|
5389
|
-
text: string;
|
|
5390
5389
|
type: "text";
|
|
5390
|
+
text: string;
|
|
5391
5391
|
annotations?: {
|
|
5392
5392
|
priority?: number | null | undefined;
|
|
5393
5393
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5586,8 +5586,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5586
5586
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
5587
5587
|
}, "strip", z.ZodTypeAny, {
|
|
5588
5588
|
content: {
|
|
5589
|
-
text: string;
|
|
5590
5589
|
type: "text";
|
|
5590
|
+
text: string;
|
|
5591
5591
|
annotations?: {
|
|
5592
5592
|
priority?: number | null | undefined;
|
|
5593
5593
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5644,8 +5644,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5644
5644
|
sessionUpdate: "agent_message_chunk";
|
|
5645
5645
|
}, {
|
|
5646
5646
|
content: {
|
|
5647
|
-
text: string;
|
|
5648
5647
|
type: "text";
|
|
5648
|
+
text: string;
|
|
5649
5649
|
annotations?: {
|
|
5650
5650
|
priority?: number | null | undefined;
|
|
5651
5651
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5718,16 +5718,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5718
5718
|
text: z.ZodString;
|
|
5719
5719
|
type: z.ZodLiteral<"text">;
|
|
5720
5720
|
}, "strip", z.ZodTypeAny, {
|
|
5721
|
-
text: string;
|
|
5722
5721
|
type: "text";
|
|
5722
|
+
text: string;
|
|
5723
5723
|
annotations?: {
|
|
5724
5724
|
priority?: number | null | undefined;
|
|
5725
5725
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5726
5726
|
lastModified?: string | null | undefined;
|
|
5727
5727
|
} | null | undefined;
|
|
5728
5728
|
}, {
|
|
5729
|
-
text: string;
|
|
5730
5729
|
type: "text";
|
|
5730
|
+
text: string;
|
|
5731
5731
|
annotations?: {
|
|
5732
5732
|
priority?: number | null | undefined;
|
|
5733
5733
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5926,8 +5926,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5926
5926
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
5927
5927
|
}, "strip", z.ZodTypeAny, {
|
|
5928
5928
|
content: {
|
|
5929
|
-
text: string;
|
|
5930
5929
|
type: "text";
|
|
5930
|
+
text: string;
|
|
5931
5931
|
annotations?: {
|
|
5932
5932
|
priority?: number | null | undefined;
|
|
5933
5933
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5984,8 +5984,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5984
5984
|
sessionUpdate: "agent_thought_chunk";
|
|
5985
5985
|
}, {
|
|
5986
5986
|
content: {
|
|
5987
|
-
text: string;
|
|
5988
5987
|
type: "text";
|
|
5988
|
+
text: string;
|
|
5989
5989
|
annotations?: {
|
|
5990
5990
|
priority?: number | null | undefined;
|
|
5991
5991
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6059,16 +6059,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6059
6059
|
text: z.ZodString;
|
|
6060
6060
|
type: z.ZodLiteral<"text">;
|
|
6061
6061
|
}, "strip", z.ZodTypeAny, {
|
|
6062
|
-
text: string;
|
|
6063
6062
|
type: "text";
|
|
6063
|
+
text: string;
|
|
6064
6064
|
annotations?: {
|
|
6065
6065
|
priority?: number | null | undefined;
|
|
6066
6066
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6067
6067
|
lastModified?: string | null | undefined;
|
|
6068
6068
|
} | null | undefined;
|
|
6069
6069
|
}, {
|
|
6070
|
-
text: string;
|
|
6071
6070
|
type: "text";
|
|
6071
|
+
text: string;
|
|
6072
6072
|
annotations?: {
|
|
6073
6073
|
priority?: number | null | undefined;
|
|
6074
6074
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6266,10 +6266,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6266
6266
|
}>]>;
|
|
6267
6267
|
type: z.ZodLiteral<"content">;
|
|
6268
6268
|
}, "strip", z.ZodTypeAny, {
|
|
6269
|
-
type: "content";
|
|
6270
6269
|
content: {
|
|
6271
|
-
text: string;
|
|
6272
6270
|
type: "text";
|
|
6271
|
+
text: string;
|
|
6273
6272
|
annotations?: {
|
|
6274
6273
|
priority?: number | null | undefined;
|
|
6275
6274
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6323,11 +6322,11 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6323
6322
|
lastModified?: string | null | undefined;
|
|
6324
6323
|
} | null | undefined;
|
|
6325
6324
|
};
|
|
6326
|
-
}, {
|
|
6327
6325
|
type: "content";
|
|
6326
|
+
}, {
|
|
6328
6327
|
content: {
|
|
6329
|
-
text: string;
|
|
6330
6328
|
type: "text";
|
|
6329
|
+
text: string;
|
|
6331
6330
|
annotations?: {
|
|
6332
6331
|
priority?: number | null | undefined;
|
|
6333
6332
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6381,6 +6380,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6381
6380
|
lastModified?: string | null | undefined;
|
|
6382
6381
|
} | null | undefined;
|
|
6383
6382
|
};
|
|
6383
|
+
type: "content";
|
|
6384
6384
|
}>, z.ZodObject<{
|
|
6385
6385
|
newText: z.ZodString;
|
|
6386
6386
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -6414,16 +6414,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6414
6414
|
title: z.ZodString;
|
|
6415
6415
|
toolCallId: z.ZodString;
|
|
6416
6416
|
}, "strip", z.ZodTypeAny, {
|
|
6417
|
-
status: "completed" | "
|
|
6417
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
6418
6418
|
title: string;
|
|
6419
|
-
kind: "search" | "
|
|
6419
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
6420
6420
|
toolCallId: string;
|
|
6421
6421
|
sessionUpdate: "tool_call";
|
|
6422
6422
|
content?: ({
|
|
6423
|
-
type: "content";
|
|
6424
6423
|
content: {
|
|
6425
|
-
text: string;
|
|
6426
6424
|
type: "text";
|
|
6425
|
+
text: string;
|
|
6427
6426
|
annotations?: {
|
|
6428
6427
|
priority?: number | null | undefined;
|
|
6429
6428
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6477,6 +6476,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6477
6476
|
lastModified?: string | null | undefined;
|
|
6478
6477
|
} | null | undefined;
|
|
6479
6478
|
};
|
|
6479
|
+
type: "content";
|
|
6480
6480
|
} | {
|
|
6481
6481
|
type: "diff";
|
|
6482
6482
|
path: string;
|
|
@@ -6489,16 +6489,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6489
6489
|
}[] | undefined;
|
|
6490
6490
|
rawInput?: unknown;
|
|
6491
6491
|
}, {
|
|
6492
|
-
status: "completed" | "
|
|
6492
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
6493
6493
|
title: string;
|
|
6494
|
-
kind: "search" | "
|
|
6494
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
6495
6495
|
toolCallId: string;
|
|
6496
6496
|
sessionUpdate: "tool_call";
|
|
6497
6497
|
content?: ({
|
|
6498
|
-
type: "content";
|
|
6499
6498
|
content: {
|
|
6500
|
-
text: string;
|
|
6501
6499
|
type: "text";
|
|
6500
|
+
text: string;
|
|
6502
6501
|
annotations?: {
|
|
6503
6502
|
priority?: number | null | undefined;
|
|
6504
6503
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6552,6 +6551,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6552
6551
|
lastModified?: string | null | undefined;
|
|
6553
6552
|
} | null | undefined;
|
|
6554
6553
|
};
|
|
6554
|
+
type: "content";
|
|
6555
6555
|
} | {
|
|
6556
6556
|
type: "diff";
|
|
6557
6557
|
path: string;
|
|
@@ -6582,16 +6582,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6582
6582
|
text: z.ZodString;
|
|
6583
6583
|
type: z.ZodLiteral<"text">;
|
|
6584
6584
|
}, "strip", z.ZodTypeAny, {
|
|
6585
|
-
text: string;
|
|
6586
6585
|
type: "text";
|
|
6586
|
+
text: string;
|
|
6587
6587
|
annotations?: {
|
|
6588
6588
|
priority?: number | null | undefined;
|
|
6589
6589
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6590
6590
|
lastModified?: string | null | undefined;
|
|
6591
6591
|
} | null | undefined;
|
|
6592
6592
|
}, {
|
|
6593
|
-
text: string;
|
|
6594
6593
|
type: "text";
|
|
6594
|
+
text: string;
|
|
6595
6595
|
annotations?: {
|
|
6596
6596
|
priority?: number | null | undefined;
|
|
6597
6597
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6789,10 +6789,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6789
6789
|
}>]>;
|
|
6790
6790
|
type: z.ZodLiteral<"content">;
|
|
6791
6791
|
}, "strip", z.ZodTypeAny, {
|
|
6792
|
-
type: "content";
|
|
6793
6792
|
content: {
|
|
6794
|
-
text: string;
|
|
6795
6793
|
type: "text";
|
|
6794
|
+
text: string;
|
|
6796
6795
|
annotations?: {
|
|
6797
6796
|
priority?: number | null | undefined;
|
|
6798
6797
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6846,11 +6845,11 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6846
6845
|
lastModified?: string | null | undefined;
|
|
6847
6846
|
} | null | undefined;
|
|
6848
6847
|
};
|
|
6849
|
-
}, {
|
|
6850
6848
|
type: "content";
|
|
6849
|
+
}, {
|
|
6851
6850
|
content: {
|
|
6852
|
-
text: string;
|
|
6853
6851
|
type: "text";
|
|
6852
|
+
text: string;
|
|
6854
6853
|
annotations?: {
|
|
6855
6854
|
priority?: number | null | undefined;
|
|
6856
6855
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6904,6 +6903,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6904
6903
|
lastModified?: string | null | undefined;
|
|
6905
6904
|
} | null | undefined;
|
|
6906
6905
|
};
|
|
6906
|
+
type: "content";
|
|
6907
6907
|
}>, z.ZodObject<{
|
|
6908
6908
|
newText: z.ZodString;
|
|
6909
6909
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -6940,10 +6940,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6940
6940
|
toolCallId: string;
|
|
6941
6941
|
sessionUpdate: "tool_call_update";
|
|
6942
6942
|
content?: ({
|
|
6943
|
-
type: "content";
|
|
6944
6943
|
content: {
|
|
6945
|
-
text: string;
|
|
6946
6944
|
type: "text";
|
|
6945
|
+
text: string;
|
|
6947
6946
|
annotations?: {
|
|
6948
6947
|
priority?: number | null | undefined;
|
|
6949
6948
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6997,15 +6996,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6997
6996
|
lastModified?: string | null | undefined;
|
|
6998
6997
|
} | null | undefined;
|
|
6999
6998
|
};
|
|
6999
|
+
type: "content";
|
|
7000
7000
|
} | {
|
|
7001
7001
|
type: "diff";
|
|
7002
7002
|
path: string;
|
|
7003
7003
|
newText: string;
|
|
7004
7004
|
oldText: string | null;
|
|
7005
7005
|
})[] | null | undefined;
|
|
7006
|
-
status?: "completed" | "
|
|
7006
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
7007
7007
|
title?: string | null | undefined;
|
|
7008
|
-
kind?: "search" | "
|
|
7008
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
7009
7009
|
locations?: {
|
|
7010
7010
|
path: string;
|
|
7011
7011
|
line?: number | null | undefined;
|
|
@@ -7015,10 +7015,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7015
7015
|
toolCallId: string;
|
|
7016
7016
|
sessionUpdate: "tool_call_update";
|
|
7017
7017
|
content?: ({
|
|
7018
|
-
type: "content";
|
|
7019
7018
|
content: {
|
|
7020
|
-
text: string;
|
|
7021
7019
|
type: "text";
|
|
7020
|
+
text: string;
|
|
7022
7021
|
annotations?: {
|
|
7023
7022
|
priority?: number | null | undefined;
|
|
7024
7023
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7072,15 +7071,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7072
7071
|
lastModified?: string | null | undefined;
|
|
7073
7072
|
} | null | undefined;
|
|
7074
7073
|
};
|
|
7074
|
+
type: "content";
|
|
7075
7075
|
} | {
|
|
7076
7076
|
type: "diff";
|
|
7077
7077
|
path: string;
|
|
7078
7078
|
newText: string;
|
|
7079
7079
|
oldText: string | null;
|
|
7080
7080
|
})[] | null | undefined;
|
|
7081
|
-
status?: "completed" | "
|
|
7081
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
7082
7082
|
title?: string | null | undefined;
|
|
7083
|
-
kind?: "search" | "
|
|
7083
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
7084
7084
|
locations?: {
|
|
7085
7085
|
path: string;
|
|
7086
7086
|
line?: number | null | undefined;
|
|
@@ -7120,8 +7120,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7120
7120
|
sessionId: string;
|
|
7121
7121
|
update: {
|
|
7122
7122
|
content: {
|
|
7123
|
-
text: string;
|
|
7124
7123
|
type: "text";
|
|
7124
|
+
text: string;
|
|
7125
7125
|
annotations?: {
|
|
7126
7126
|
priority?: number | null | undefined;
|
|
7127
7127
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7178,8 +7178,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7178
7178
|
sessionUpdate: "user_message_chunk";
|
|
7179
7179
|
} | {
|
|
7180
7180
|
content: {
|
|
7181
|
-
text: string;
|
|
7182
7181
|
type: "text";
|
|
7182
|
+
text: string;
|
|
7183
7183
|
annotations?: {
|
|
7184
7184
|
priority?: number | null | undefined;
|
|
7185
7185
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7236,8 +7236,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7236
7236
|
sessionUpdate: "agent_message_chunk";
|
|
7237
7237
|
} | {
|
|
7238
7238
|
content: {
|
|
7239
|
-
text: string;
|
|
7240
7239
|
type: "text";
|
|
7240
|
+
text: string;
|
|
7241
7241
|
annotations?: {
|
|
7242
7242
|
priority?: number | null | undefined;
|
|
7243
7243
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7293,16 +7293,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7293
7293
|
};
|
|
7294
7294
|
sessionUpdate: "agent_thought_chunk";
|
|
7295
7295
|
} | {
|
|
7296
|
-
status: "completed" | "
|
|
7296
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
7297
7297
|
title: string;
|
|
7298
|
-
kind: "search" | "
|
|
7298
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
7299
7299
|
toolCallId: string;
|
|
7300
7300
|
sessionUpdate: "tool_call";
|
|
7301
7301
|
content?: ({
|
|
7302
|
-
type: "content";
|
|
7303
7302
|
content: {
|
|
7304
|
-
text: string;
|
|
7305
7303
|
type: "text";
|
|
7304
|
+
text: string;
|
|
7306
7305
|
annotations?: {
|
|
7307
7306
|
priority?: number | null | undefined;
|
|
7308
7307
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7356,6 +7355,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7356
7355
|
lastModified?: string | null | undefined;
|
|
7357
7356
|
} | null | undefined;
|
|
7358
7357
|
};
|
|
7358
|
+
type: "content";
|
|
7359
7359
|
} | {
|
|
7360
7360
|
type: "diff";
|
|
7361
7361
|
path: string;
|
|
@@ -7371,10 +7371,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7371
7371
|
toolCallId: string;
|
|
7372
7372
|
sessionUpdate: "tool_call_update";
|
|
7373
7373
|
content?: ({
|
|
7374
|
-
type: "content";
|
|
7375
7374
|
content: {
|
|
7376
|
-
text: string;
|
|
7377
7375
|
type: "text";
|
|
7376
|
+
text: string;
|
|
7378
7377
|
annotations?: {
|
|
7379
7378
|
priority?: number | null | undefined;
|
|
7380
7379
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7428,15 +7427,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7428
7427
|
lastModified?: string | null | undefined;
|
|
7429
7428
|
} | null | undefined;
|
|
7430
7429
|
};
|
|
7430
|
+
type: "content";
|
|
7431
7431
|
} | {
|
|
7432
7432
|
type: "diff";
|
|
7433
7433
|
path: string;
|
|
7434
7434
|
newText: string;
|
|
7435
7435
|
oldText: string | null;
|
|
7436
7436
|
})[] | null | undefined;
|
|
7437
|
-
status?: "completed" | "
|
|
7437
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
7438
7438
|
title?: string | null | undefined;
|
|
7439
|
-
kind?: "search" | "
|
|
7439
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
7440
7440
|
locations?: {
|
|
7441
7441
|
path: string;
|
|
7442
7442
|
line?: number | null | undefined;
|
|
@@ -7454,8 +7454,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7454
7454
|
sessionId: string;
|
|
7455
7455
|
update: {
|
|
7456
7456
|
content: {
|
|
7457
|
-
text: string;
|
|
7458
7457
|
type: "text";
|
|
7458
|
+
text: string;
|
|
7459
7459
|
annotations?: {
|
|
7460
7460
|
priority?: number | null | undefined;
|
|
7461
7461
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7512,8 +7512,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7512
7512
|
sessionUpdate: "user_message_chunk";
|
|
7513
7513
|
} | {
|
|
7514
7514
|
content: {
|
|
7515
|
-
text: string;
|
|
7516
7515
|
type: "text";
|
|
7516
|
+
text: string;
|
|
7517
7517
|
annotations?: {
|
|
7518
7518
|
priority?: number | null | undefined;
|
|
7519
7519
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7570,8 +7570,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7570
7570
|
sessionUpdate: "agent_message_chunk";
|
|
7571
7571
|
} | {
|
|
7572
7572
|
content: {
|
|
7573
|
-
text: string;
|
|
7574
7573
|
type: "text";
|
|
7574
|
+
text: string;
|
|
7575
7575
|
annotations?: {
|
|
7576
7576
|
priority?: number | null | undefined;
|
|
7577
7577
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7627,16 +7627,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7627
7627
|
};
|
|
7628
7628
|
sessionUpdate: "agent_thought_chunk";
|
|
7629
7629
|
} | {
|
|
7630
|
-
status: "completed" | "
|
|
7630
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
7631
7631
|
title: string;
|
|
7632
|
-
kind: "search" | "
|
|
7632
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
7633
7633
|
toolCallId: string;
|
|
7634
7634
|
sessionUpdate: "tool_call";
|
|
7635
7635
|
content?: ({
|
|
7636
|
-
type: "content";
|
|
7637
7636
|
content: {
|
|
7638
|
-
text: string;
|
|
7639
7637
|
type: "text";
|
|
7638
|
+
text: string;
|
|
7640
7639
|
annotations?: {
|
|
7641
7640
|
priority?: number | null | undefined;
|
|
7642
7641
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7690,6 +7689,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7690
7689
|
lastModified?: string | null | undefined;
|
|
7691
7690
|
} | null | undefined;
|
|
7692
7691
|
};
|
|
7692
|
+
type: "content";
|
|
7693
7693
|
} | {
|
|
7694
7694
|
type: "diff";
|
|
7695
7695
|
path: string;
|
|
@@ -7705,10 +7705,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7705
7705
|
toolCallId: string;
|
|
7706
7706
|
sessionUpdate: "tool_call_update";
|
|
7707
7707
|
content?: ({
|
|
7708
|
-
type: "content";
|
|
7709
7708
|
content: {
|
|
7710
|
-
text: string;
|
|
7711
7709
|
type: "text";
|
|
7710
|
+
text: string;
|
|
7712
7711
|
annotations?: {
|
|
7713
7712
|
priority?: number | null | undefined;
|
|
7714
7713
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7762,15 +7761,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7762
7761
|
lastModified?: string | null | undefined;
|
|
7763
7762
|
} | null | undefined;
|
|
7764
7763
|
};
|
|
7764
|
+
type: "content";
|
|
7765
7765
|
} | {
|
|
7766
7766
|
type: "diff";
|
|
7767
7767
|
path: string;
|
|
7768
7768
|
newText: string;
|
|
7769
7769
|
oldText: string | null;
|
|
7770
7770
|
})[] | null | undefined;
|
|
7771
|
-
status?: "completed" | "
|
|
7771
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
7772
7772
|
title?: string | null | undefined;
|
|
7773
|
-
kind?: "search" | "
|
|
7773
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
7774
7774
|
locations?: {
|
|
7775
7775
|
path: string;
|
|
7776
7776
|
line?: number | null | undefined;
|
|
@@ -7790,26 +7790,26 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7790
7790
|
path: z.ZodString;
|
|
7791
7791
|
sessionId: z.ZodString;
|
|
7792
7792
|
}, "strip", z.ZodTypeAny, {
|
|
7793
|
-
sessionId: string;
|
|
7794
7793
|
content: string;
|
|
7795
7794
|
path: string;
|
|
7796
|
-
}, {
|
|
7797
7795
|
sessionId: string;
|
|
7796
|
+
}, {
|
|
7798
7797
|
content: string;
|
|
7799
7798
|
path: string;
|
|
7799
|
+
sessionId: string;
|
|
7800
7800
|
}>, z.ZodObject<{
|
|
7801
7801
|
limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7802
7802
|
line: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7803
7803
|
path: z.ZodString;
|
|
7804
7804
|
sessionId: z.ZodString;
|
|
7805
7805
|
}, "strip", z.ZodTypeAny, {
|
|
7806
|
-
sessionId: string;
|
|
7807
7806
|
path: string;
|
|
7807
|
+
sessionId: string;
|
|
7808
7808
|
line?: number | null | undefined;
|
|
7809
7809
|
limit?: number | null | undefined;
|
|
7810
7810
|
}, {
|
|
7811
|
-
sessionId: string;
|
|
7812
7811
|
path: string;
|
|
7812
|
+
sessionId: string;
|
|
7813
7813
|
line?: number | null | undefined;
|
|
7814
7814
|
limit?: number | null | undefined;
|
|
7815
7815
|
}>, z.ZodObject<{
|
|
@@ -7846,16 +7846,16 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7846
7846
|
text: z.ZodString;
|
|
7847
7847
|
type: z.ZodLiteral<"text">;
|
|
7848
7848
|
}, "strip", z.ZodTypeAny, {
|
|
7849
|
-
text: string;
|
|
7850
7849
|
type: "text";
|
|
7850
|
+
text: string;
|
|
7851
7851
|
annotations?: {
|
|
7852
7852
|
priority?: number | null | undefined;
|
|
7853
7853
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7854
7854
|
lastModified?: string | null | undefined;
|
|
7855
7855
|
} | null | undefined;
|
|
7856
7856
|
}, {
|
|
7857
|
-
text: string;
|
|
7858
7857
|
type: "text";
|
|
7858
|
+
text: string;
|
|
7859
7859
|
annotations?: {
|
|
7860
7860
|
priority?: number | null | undefined;
|
|
7861
7861
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8053,10 +8053,9 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8053
8053
|
}>]>;
|
|
8054
8054
|
type: z.ZodLiteral<"content">;
|
|
8055
8055
|
}, "strip", z.ZodTypeAny, {
|
|
8056
|
-
type: "content";
|
|
8057
8056
|
content: {
|
|
8058
|
-
text: string;
|
|
8059
8057
|
type: "text";
|
|
8058
|
+
text: string;
|
|
8060
8059
|
annotations?: {
|
|
8061
8060
|
priority?: number | null | undefined;
|
|
8062
8061
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8110,11 +8109,11 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8110
8109
|
lastModified?: string | null | undefined;
|
|
8111
8110
|
} | null | undefined;
|
|
8112
8111
|
};
|
|
8113
|
-
}, {
|
|
8114
8112
|
type: "content";
|
|
8113
|
+
}, {
|
|
8115
8114
|
content: {
|
|
8116
|
-
text: string;
|
|
8117
8115
|
type: "text";
|
|
8116
|
+
text: string;
|
|
8118
8117
|
annotations?: {
|
|
8119
8118
|
priority?: number | null | undefined;
|
|
8120
8119
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8168,6 +8167,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8168
8167
|
lastModified?: string | null | undefined;
|
|
8169
8168
|
} | null | undefined;
|
|
8170
8169
|
};
|
|
8170
|
+
type: "content";
|
|
8171
8171
|
}>, z.ZodObject<{
|
|
8172
8172
|
newText: z.ZodString;
|
|
8173
8173
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -8200,15 +8200,14 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8200
8200
|
title: z.ZodString;
|
|
8201
8201
|
toolCallId: z.ZodString;
|
|
8202
8202
|
}, "strip", z.ZodTypeAny, {
|
|
8203
|
-
status: "completed" | "
|
|
8203
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
8204
8204
|
title: string;
|
|
8205
|
-
kind: "search" | "
|
|
8205
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
8206
8206
|
toolCallId: string;
|
|
8207
8207
|
content?: ({
|
|
8208
|
-
type: "content";
|
|
8209
8208
|
content: {
|
|
8210
|
-
text: string;
|
|
8211
8209
|
type: "text";
|
|
8210
|
+
text: string;
|
|
8212
8211
|
annotations?: {
|
|
8213
8212
|
priority?: number | null | undefined;
|
|
8214
8213
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8262,6 +8261,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8262
8261
|
lastModified?: string | null | undefined;
|
|
8263
8262
|
} | null | undefined;
|
|
8264
8263
|
};
|
|
8264
|
+
type: "content";
|
|
8265
8265
|
} | {
|
|
8266
8266
|
type: "diff";
|
|
8267
8267
|
path: string;
|
|
@@ -8274,15 +8274,14 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8274
8274
|
}[] | undefined;
|
|
8275
8275
|
rawInput?: unknown;
|
|
8276
8276
|
}, {
|
|
8277
|
-
status: "completed" | "
|
|
8277
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
8278
8278
|
title: string;
|
|
8279
|
-
kind: "search" | "
|
|
8279
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
8280
8280
|
toolCallId: string;
|
|
8281
8281
|
content?: ({
|
|
8282
|
-
type: "content";
|
|
8283
8282
|
content: {
|
|
8284
|
-
text: string;
|
|
8285
8283
|
type: "text";
|
|
8284
|
+
text: string;
|
|
8286
8285
|
annotations?: {
|
|
8287
8286
|
priority?: number | null | undefined;
|
|
8288
8287
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8336,6 +8335,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8336
8335
|
lastModified?: string | null | undefined;
|
|
8337
8336
|
} | null | undefined;
|
|
8338
8337
|
};
|
|
8338
|
+
type: "content";
|
|
8339
8339
|
} | {
|
|
8340
8340
|
type: "diff";
|
|
8341
8341
|
path: string;
|
|
@@ -8349,22 +8349,21 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8349
8349
|
rawInput?: unknown;
|
|
8350
8350
|
}>;
|
|
8351
8351
|
}, "strip", z.ZodTypeAny, {
|
|
8352
|
-
sessionId: string;
|
|
8353
8352
|
options: {
|
|
8354
8353
|
name: string;
|
|
8355
8354
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
8356
8355
|
optionId: string;
|
|
8357
8356
|
}[];
|
|
8357
|
+
sessionId: string;
|
|
8358
8358
|
toolCall: {
|
|
8359
|
-
status: "completed" | "
|
|
8359
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
8360
8360
|
title: string;
|
|
8361
|
-
kind: "search" | "
|
|
8361
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
8362
8362
|
toolCallId: string;
|
|
8363
8363
|
content?: ({
|
|
8364
|
-
type: "content";
|
|
8365
8364
|
content: {
|
|
8366
|
-
text: string;
|
|
8367
8365
|
type: "text";
|
|
8366
|
+
text: string;
|
|
8368
8367
|
annotations?: {
|
|
8369
8368
|
priority?: number | null | undefined;
|
|
8370
8369
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8418,6 +8417,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8418
8417
|
lastModified?: string | null | undefined;
|
|
8419
8418
|
} | null | undefined;
|
|
8420
8419
|
};
|
|
8420
|
+
type: "content";
|
|
8421
8421
|
} | {
|
|
8422
8422
|
type: "diff";
|
|
8423
8423
|
path: string;
|
|
@@ -8431,22 +8431,21 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8431
8431
|
rawInput?: unknown;
|
|
8432
8432
|
};
|
|
8433
8433
|
}, {
|
|
8434
|
-
sessionId: string;
|
|
8435
8434
|
options: {
|
|
8436
8435
|
name: string;
|
|
8437
8436
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
8438
8437
|
optionId: string;
|
|
8439
8438
|
}[];
|
|
8439
|
+
sessionId: string;
|
|
8440
8440
|
toolCall: {
|
|
8441
|
-
status: "completed" | "
|
|
8441
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
8442
8442
|
title: string;
|
|
8443
|
-
kind: "search" | "
|
|
8443
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
8444
8444
|
toolCallId: string;
|
|
8445
8445
|
content?: ({
|
|
8446
|
-
type: "content";
|
|
8447
8446
|
content: {
|
|
8448
|
-
text: string;
|
|
8449
8447
|
type: "text";
|
|
8448
|
+
text: string;
|
|
8450
8449
|
annotations?: {
|
|
8451
8450
|
priority?: number | null | undefined;
|
|
8452
8451
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8500,6 +8499,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8500
8499
|
lastModified?: string | null | undefined;
|
|
8501
8500
|
} | null | undefined;
|
|
8502
8501
|
};
|
|
8502
|
+
type: "content";
|
|
8503
8503
|
} | {
|
|
8504
8504
|
type: "diff";
|
|
8505
8505
|
path: string;
|
|
@@ -8577,41 +8577,41 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8577
8577
|
name: z.ZodString;
|
|
8578
8578
|
}, "strip", z.ZodTypeAny, {
|
|
8579
8579
|
name: string;
|
|
8580
|
+
command: string;
|
|
8580
8581
|
args: string[];
|
|
8581
8582
|
env: {
|
|
8582
8583
|
name: string;
|
|
8583
8584
|
value: string;
|
|
8584
8585
|
}[];
|
|
8585
|
-
command: string;
|
|
8586
8586
|
}, {
|
|
8587
8587
|
name: string;
|
|
8588
|
+
command: string;
|
|
8588
8589
|
args: string[];
|
|
8589
8590
|
env: {
|
|
8590
8591
|
name: string;
|
|
8591
8592
|
value: string;
|
|
8592
8593
|
}[];
|
|
8593
|
-
command: string;
|
|
8594
8594
|
}>, "many">;
|
|
8595
8595
|
}, "strip", z.ZodTypeAny, {
|
|
8596
8596
|
mcpServers: {
|
|
8597
8597
|
name: string;
|
|
8598
|
+
command: string;
|
|
8598
8599
|
args: string[];
|
|
8599
8600
|
env: {
|
|
8600
8601
|
name: string;
|
|
8601
8602
|
value: string;
|
|
8602
8603
|
}[];
|
|
8603
|
-
command: string;
|
|
8604
8604
|
}[];
|
|
8605
8605
|
cwd: string;
|
|
8606
8606
|
}, {
|
|
8607
8607
|
mcpServers: {
|
|
8608
8608
|
name: string;
|
|
8609
|
+
command: string;
|
|
8609
8610
|
args: string[];
|
|
8610
8611
|
env: {
|
|
8611
8612
|
name: string;
|
|
8612
8613
|
value: string;
|
|
8613
8614
|
}[];
|
|
8614
|
-
command: string;
|
|
8615
8615
|
}[];
|
|
8616
8616
|
cwd: string;
|
|
8617
8617
|
}>, z.ZodObject<{
|
|
@@ -8632,46 +8632,46 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8632
8632
|
name: z.ZodString;
|
|
8633
8633
|
}, "strip", z.ZodTypeAny, {
|
|
8634
8634
|
name: string;
|
|
8635
|
+
command: string;
|
|
8635
8636
|
args: string[];
|
|
8636
8637
|
env: {
|
|
8637
8638
|
name: string;
|
|
8638
8639
|
value: string;
|
|
8639
8640
|
}[];
|
|
8640
|
-
command: string;
|
|
8641
8641
|
}, {
|
|
8642
8642
|
name: string;
|
|
8643
|
+
command: string;
|
|
8643
8644
|
args: string[];
|
|
8644
8645
|
env: {
|
|
8645
8646
|
name: string;
|
|
8646
8647
|
value: string;
|
|
8647
8648
|
}[];
|
|
8648
|
-
command: string;
|
|
8649
8649
|
}>, "many">;
|
|
8650
8650
|
sessionId: z.ZodString;
|
|
8651
8651
|
}, "strip", z.ZodTypeAny, {
|
|
8652
8652
|
mcpServers: {
|
|
8653
8653
|
name: string;
|
|
8654
|
+
command: string;
|
|
8654
8655
|
args: string[];
|
|
8655
8656
|
env: {
|
|
8656
8657
|
name: string;
|
|
8657
8658
|
value: string;
|
|
8658
8659
|
}[];
|
|
8659
|
-
command: string;
|
|
8660
8660
|
}[];
|
|
8661
|
-
sessionId: string;
|
|
8662
8661
|
cwd: string;
|
|
8662
|
+
sessionId: string;
|
|
8663
8663
|
}, {
|
|
8664
8664
|
mcpServers: {
|
|
8665
8665
|
name: string;
|
|
8666
|
+
command: string;
|
|
8666
8667
|
args: string[];
|
|
8667
8668
|
env: {
|
|
8668
8669
|
name: string;
|
|
8669
8670
|
value: string;
|
|
8670
8671
|
}[];
|
|
8671
|
-
command: string;
|
|
8672
8672
|
}[];
|
|
8673
|
-
sessionId: string;
|
|
8674
8673
|
cwd: string;
|
|
8674
|
+
sessionId: string;
|
|
8675
8675
|
}>, z.ZodObject<{
|
|
8676
8676
|
prompt: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8677
8677
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -8690,16 +8690,16 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8690
8690
|
text: z.ZodString;
|
|
8691
8691
|
type: z.ZodLiteral<"text">;
|
|
8692
8692
|
}, "strip", z.ZodTypeAny, {
|
|
8693
|
-
text: string;
|
|
8694
8693
|
type: "text";
|
|
8694
|
+
text: string;
|
|
8695
8695
|
annotations?: {
|
|
8696
8696
|
priority?: number | null | undefined;
|
|
8697
8697
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8698
8698
|
lastModified?: string | null | undefined;
|
|
8699
8699
|
} | null | undefined;
|
|
8700
8700
|
}, {
|
|
8701
|
-
text: string;
|
|
8702
8701
|
type: "text";
|
|
8702
|
+
text: string;
|
|
8703
8703
|
annotations?: {
|
|
8704
8704
|
priority?: number | null | undefined;
|
|
8705
8705
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8899,8 +8899,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8899
8899
|
}, "strip", z.ZodTypeAny, {
|
|
8900
8900
|
sessionId: string;
|
|
8901
8901
|
prompt: ({
|
|
8902
|
-
text: string;
|
|
8903
8902
|
type: "text";
|
|
8903
|
+
text: string;
|
|
8904
8904
|
annotations?: {
|
|
8905
8905
|
priority?: number | null | undefined;
|
|
8906
8906
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8957,8 +8957,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8957
8957
|
}, {
|
|
8958
8958
|
sessionId: string;
|
|
8959
8959
|
prompt: ({
|
|
8960
|
-
text: string;
|
|
8961
8960
|
type: "text";
|
|
8961
|
+
text: string;
|
|
8962
8962
|
annotations?: {
|
|
8963
8963
|
priority?: number | null | undefined;
|
|
8964
8964
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9033,16 +9033,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9033
9033
|
text: z.ZodString;
|
|
9034
9034
|
type: z.ZodLiteral<"text">;
|
|
9035
9035
|
}, "strip", z.ZodTypeAny, {
|
|
9036
|
-
text: string;
|
|
9037
9036
|
type: "text";
|
|
9037
|
+
text: string;
|
|
9038
9038
|
annotations?: {
|
|
9039
9039
|
priority?: number | null | undefined;
|
|
9040
9040
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9041
9041
|
lastModified?: string | null | undefined;
|
|
9042
9042
|
} | null | undefined;
|
|
9043
9043
|
}, {
|
|
9044
|
-
text: string;
|
|
9045
9044
|
type: "text";
|
|
9045
|
+
text: string;
|
|
9046
9046
|
annotations?: {
|
|
9047
9047
|
priority?: number | null | undefined;
|
|
9048
9048
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9241,8 +9241,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9241
9241
|
sessionUpdate: z.ZodLiteral<"user_message_chunk">;
|
|
9242
9242
|
}, "strip", z.ZodTypeAny, {
|
|
9243
9243
|
content: {
|
|
9244
|
-
text: string;
|
|
9245
9244
|
type: "text";
|
|
9245
|
+
text: string;
|
|
9246
9246
|
annotations?: {
|
|
9247
9247
|
priority?: number | null | undefined;
|
|
9248
9248
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9299,8 +9299,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9299
9299
|
sessionUpdate: "user_message_chunk";
|
|
9300
9300
|
}, {
|
|
9301
9301
|
content: {
|
|
9302
|
-
text: string;
|
|
9303
9302
|
type: "text";
|
|
9303
|
+
text: string;
|
|
9304
9304
|
annotations?: {
|
|
9305
9305
|
priority?: number | null | undefined;
|
|
9306
9306
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9373,16 +9373,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9373
9373
|
text: z.ZodString;
|
|
9374
9374
|
type: z.ZodLiteral<"text">;
|
|
9375
9375
|
}, "strip", z.ZodTypeAny, {
|
|
9376
|
-
text: string;
|
|
9377
9376
|
type: "text";
|
|
9377
|
+
text: string;
|
|
9378
9378
|
annotations?: {
|
|
9379
9379
|
priority?: number | null | undefined;
|
|
9380
9380
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9381
9381
|
lastModified?: string | null | undefined;
|
|
9382
9382
|
} | null | undefined;
|
|
9383
9383
|
}, {
|
|
9384
|
-
text: string;
|
|
9385
9384
|
type: "text";
|
|
9385
|
+
text: string;
|
|
9386
9386
|
annotations?: {
|
|
9387
9387
|
priority?: number | null | undefined;
|
|
9388
9388
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9581,8 +9581,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9581
9581
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
9582
9582
|
}, "strip", z.ZodTypeAny, {
|
|
9583
9583
|
content: {
|
|
9584
|
-
text: string;
|
|
9585
9584
|
type: "text";
|
|
9585
|
+
text: string;
|
|
9586
9586
|
annotations?: {
|
|
9587
9587
|
priority?: number | null | undefined;
|
|
9588
9588
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9639,8 +9639,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9639
9639
|
sessionUpdate: "agent_message_chunk";
|
|
9640
9640
|
}, {
|
|
9641
9641
|
content: {
|
|
9642
|
-
text: string;
|
|
9643
9642
|
type: "text";
|
|
9643
|
+
text: string;
|
|
9644
9644
|
annotations?: {
|
|
9645
9645
|
priority?: number | null | undefined;
|
|
9646
9646
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9713,16 +9713,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9713
9713
|
text: z.ZodString;
|
|
9714
9714
|
type: z.ZodLiteral<"text">;
|
|
9715
9715
|
}, "strip", z.ZodTypeAny, {
|
|
9716
|
-
text: string;
|
|
9717
9716
|
type: "text";
|
|
9717
|
+
text: string;
|
|
9718
9718
|
annotations?: {
|
|
9719
9719
|
priority?: number | null | undefined;
|
|
9720
9720
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9721
9721
|
lastModified?: string | null | undefined;
|
|
9722
9722
|
} | null | undefined;
|
|
9723
9723
|
}, {
|
|
9724
|
-
text: string;
|
|
9725
9724
|
type: "text";
|
|
9725
|
+
text: string;
|
|
9726
9726
|
annotations?: {
|
|
9727
9727
|
priority?: number | null | undefined;
|
|
9728
9728
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9921,8 +9921,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9921
9921
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
9922
9922
|
}, "strip", z.ZodTypeAny, {
|
|
9923
9923
|
content: {
|
|
9924
|
-
text: string;
|
|
9925
9924
|
type: "text";
|
|
9925
|
+
text: string;
|
|
9926
9926
|
annotations?: {
|
|
9927
9927
|
priority?: number | null | undefined;
|
|
9928
9928
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9979,8 +9979,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9979
9979
|
sessionUpdate: "agent_thought_chunk";
|
|
9980
9980
|
}, {
|
|
9981
9981
|
content: {
|
|
9982
|
-
text: string;
|
|
9983
9982
|
type: "text";
|
|
9983
|
+
text: string;
|
|
9984
9984
|
annotations?: {
|
|
9985
9985
|
priority?: number | null | undefined;
|
|
9986
9986
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10054,16 +10054,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10054
10054
|
text: z.ZodString;
|
|
10055
10055
|
type: z.ZodLiteral<"text">;
|
|
10056
10056
|
}, "strip", z.ZodTypeAny, {
|
|
10057
|
-
text: string;
|
|
10058
10057
|
type: "text";
|
|
10058
|
+
text: string;
|
|
10059
10059
|
annotations?: {
|
|
10060
10060
|
priority?: number | null | undefined;
|
|
10061
10061
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10062
10062
|
lastModified?: string | null | undefined;
|
|
10063
10063
|
} | null | undefined;
|
|
10064
10064
|
}, {
|
|
10065
|
-
text: string;
|
|
10066
10065
|
type: "text";
|
|
10066
|
+
text: string;
|
|
10067
10067
|
annotations?: {
|
|
10068
10068
|
priority?: number | null | undefined;
|
|
10069
10069
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10261,10 +10261,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10261
10261
|
}>]>;
|
|
10262
10262
|
type: z.ZodLiteral<"content">;
|
|
10263
10263
|
}, "strip", z.ZodTypeAny, {
|
|
10264
|
-
type: "content";
|
|
10265
10264
|
content: {
|
|
10266
|
-
text: string;
|
|
10267
10265
|
type: "text";
|
|
10266
|
+
text: string;
|
|
10268
10267
|
annotations?: {
|
|
10269
10268
|
priority?: number | null | undefined;
|
|
10270
10269
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10318,11 +10317,11 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10318
10317
|
lastModified?: string | null | undefined;
|
|
10319
10318
|
} | null | undefined;
|
|
10320
10319
|
};
|
|
10321
|
-
}, {
|
|
10322
10320
|
type: "content";
|
|
10321
|
+
}, {
|
|
10323
10322
|
content: {
|
|
10324
|
-
text: string;
|
|
10325
10323
|
type: "text";
|
|
10324
|
+
text: string;
|
|
10326
10325
|
annotations?: {
|
|
10327
10326
|
priority?: number | null | undefined;
|
|
10328
10327
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10376,6 +10375,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10376
10375
|
lastModified?: string | null | undefined;
|
|
10377
10376
|
} | null | undefined;
|
|
10378
10377
|
};
|
|
10378
|
+
type: "content";
|
|
10379
10379
|
}>, z.ZodObject<{
|
|
10380
10380
|
newText: z.ZodString;
|
|
10381
10381
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -10409,16 +10409,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10409
10409
|
title: z.ZodString;
|
|
10410
10410
|
toolCallId: z.ZodString;
|
|
10411
10411
|
}, "strip", z.ZodTypeAny, {
|
|
10412
|
-
status: "completed" | "
|
|
10412
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
10413
10413
|
title: string;
|
|
10414
|
-
kind: "search" | "
|
|
10414
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
10415
10415
|
toolCallId: string;
|
|
10416
10416
|
sessionUpdate: "tool_call";
|
|
10417
10417
|
content?: ({
|
|
10418
|
-
type: "content";
|
|
10419
10418
|
content: {
|
|
10420
|
-
text: string;
|
|
10421
10419
|
type: "text";
|
|
10420
|
+
text: string;
|
|
10422
10421
|
annotations?: {
|
|
10423
10422
|
priority?: number | null | undefined;
|
|
10424
10423
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10472,6 +10471,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10472
10471
|
lastModified?: string | null | undefined;
|
|
10473
10472
|
} | null | undefined;
|
|
10474
10473
|
};
|
|
10474
|
+
type: "content";
|
|
10475
10475
|
} | {
|
|
10476
10476
|
type: "diff";
|
|
10477
10477
|
path: string;
|
|
@@ -10484,16 +10484,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10484
10484
|
}[] | undefined;
|
|
10485
10485
|
rawInput?: unknown;
|
|
10486
10486
|
}, {
|
|
10487
|
-
status: "completed" | "
|
|
10487
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
10488
10488
|
title: string;
|
|
10489
|
-
kind: "search" | "
|
|
10489
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
10490
10490
|
toolCallId: string;
|
|
10491
10491
|
sessionUpdate: "tool_call";
|
|
10492
10492
|
content?: ({
|
|
10493
|
-
type: "content";
|
|
10494
10493
|
content: {
|
|
10495
|
-
text: string;
|
|
10496
10494
|
type: "text";
|
|
10495
|
+
text: string;
|
|
10497
10496
|
annotations?: {
|
|
10498
10497
|
priority?: number | null | undefined;
|
|
10499
10498
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10547,6 +10546,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10547
10546
|
lastModified?: string | null | undefined;
|
|
10548
10547
|
} | null | undefined;
|
|
10549
10548
|
};
|
|
10549
|
+
type: "content";
|
|
10550
10550
|
} | {
|
|
10551
10551
|
type: "diff";
|
|
10552
10552
|
path: string;
|
|
@@ -10577,16 +10577,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10577
10577
|
text: z.ZodString;
|
|
10578
10578
|
type: z.ZodLiteral<"text">;
|
|
10579
10579
|
}, "strip", z.ZodTypeAny, {
|
|
10580
|
-
text: string;
|
|
10581
10580
|
type: "text";
|
|
10581
|
+
text: string;
|
|
10582
10582
|
annotations?: {
|
|
10583
10583
|
priority?: number | null | undefined;
|
|
10584
10584
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10585
10585
|
lastModified?: string | null | undefined;
|
|
10586
10586
|
} | null | undefined;
|
|
10587
10587
|
}, {
|
|
10588
|
-
text: string;
|
|
10589
10588
|
type: "text";
|
|
10589
|
+
text: string;
|
|
10590
10590
|
annotations?: {
|
|
10591
10591
|
priority?: number | null | undefined;
|
|
10592
10592
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10784,10 +10784,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10784
10784
|
}>]>;
|
|
10785
10785
|
type: z.ZodLiteral<"content">;
|
|
10786
10786
|
}, "strip", z.ZodTypeAny, {
|
|
10787
|
-
type: "content";
|
|
10788
10787
|
content: {
|
|
10789
|
-
text: string;
|
|
10790
10788
|
type: "text";
|
|
10789
|
+
text: string;
|
|
10791
10790
|
annotations?: {
|
|
10792
10791
|
priority?: number | null | undefined;
|
|
10793
10792
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10841,11 +10840,11 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10841
10840
|
lastModified?: string | null | undefined;
|
|
10842
10841
|
} | null | undefined;
|
|
10843
10842
|
};
|
|
10844
|
-
}, {
|
|
10845
10843
|
type: "content";
|
|
10844
|
+
}, {
|
|
10846
10845
|
content: {
|
|
10847
|
-
text: string;
|
|
10848
10846
|
type: "text";
|
|
10847
|
+
text: string;
|
|
10849
10848
|
annotations?: {
|
|
10850
10849
|
priority?: number | null | undefined;
|
|
10851
10850
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10899,6 +10898,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10899
10898
|
lastModified?: string | null | undefined;
|
|
10900
10899
|
} | null | undefined;
|
|
10901
10900
|
};
|
|
10901
|
+
type: "content";
|
|
10902
10902
|
}>, z.ZodObject<{
|
|
10903
10903
|
newText: z.ZodString;
|
|
10904
10904
|
oldText: z.ZodNullable<z.ZodString>;
|
|
@@ -10935,10 +10935,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10935
10935
|
toolCallId: string;
|
|
10936
10936
|
sessionUpdate: "tool_call_update";
|
|
10937
10937
|
content?: ({
|
|
10938
|
-
type: "content";
|
|
10939
10938
|
content: {
|
|
10940
|
-
text: string;
|
|
10941
10939
|
type: "text";
|
|
10940
|
+
text: string;
|
|
10942
10941
|
annotations?: {
|
|
10943
10942
|
priority?: number | null | undefined;
|
|
10944
10943
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10992,15 +10991,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10992
10991
|
lastModified?: string | null | undefined;
|
|
10993
10992
|
} | null | undefined;
|
|
10994
10993
|
};
|
|
10994
|
+
type: "content";
|
|
10995
10995
|
} | {
|
|
10996
10996
|
type: "diff";
|
|
10997
10997
|
path: string;
|
|
10998
10998
|
newText: string;
|
|
10999
10999
|
oldText: string | null;
|
|
11000
11000
|
})[] | null | undefined;
|
|
11001
|
-
status?: "completed" | "
|
|
11001
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
11002
11002
|
title?: string | null | undefined;
|
|
11003
|
-
kind?: "search" | "
|
|
11003
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
11004
11004
|
locations?: {
|
|
11005
11005
|
path: string;
|
|
11006
11006
|
line?: number | null | undefined;
|
|
@@ -11010,10 +11010,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11010
11010
|
toolCallId: string;
|
|
11011
11011
|
sessionUpdate: "tool_call_update";
|
|
11012
11012
|
content?: ({
|
|
11013
|
-
type: "content";
|
|
11014
11013
|
content: {
|
|
11015
|
-
text: string;
|
|
11016
11014
|
type: "text";
|
|
11015
|
+
text: string;
|
|
11017
11016
|
annotations?: {
|
|
11018
11017
|
priority?: number | null | undefined;
|
|
11019
11018
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11067,15 +11066,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11067
11066
|
lastModified?: string | null | undefined;
|
|
11068
11067
|
} | null | undefined;
|
|
11069
11068
|
};
|
|
11069
|
+
type: "content";
|
|
11070
11070
|
} | {
|
|
11071
11071
|
type: "diff";
|
|
11072
11072
|
path: string;
|
|
11073
11073
|
newText: string;
|
|
11074
11074
|
oldText: string | null;
|
|
11075
11075
|
})[] | null | undefined;
|
|
11076
|
-
status?: "completed" | "
|
|
11076
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
11077
11077
|
title?: string | null | undefined;
|
|
11078
|
-
kind?: "search" | "
|
|
11078
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
11079
11079
|
locations?: {
|
|
11080
11080
|
path: string;
|
|
11081
11081
|
line?: number | null | undefined;
|
|
@@ -11115,8 +11115,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11115
11115
|
sessionId: string;
|
|
11116
11116
|
update: {
|
|
11117
11117
|
content: {
|
|
11118
|
-
text: string;
|
|
11119
11118
|
type: "text";
|
|
11119
|
+
text: string;
|
|
11120
11120
|
annotations?: {
|
|
11121
11121
|
priority?: number | null | undefined;
|
|
11122
11122
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11173,8 +11173,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11173
11173
|
sessionUpdate: "user_message_chunk";
|
|
11174
11174
|
} | {
|
|
11175
11175
|
content: {
|
|
11176
|
-
text: string;
|
|
11177
11176
|
type: "text";
|
|
11177
|
+
text: string;
|
|
11178
11178
|
annotations?: {
|
|
11179
11179
|
priority?: number | null | undefined;
|
|
11180
11180
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11231,8 +11231,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11231
11231
|
sessionUpdate: "agent_message_chunk";
|
|
11232
11232
|
} | {
|
|
11233
11233
|
content: {
|
|
11234
|
-
text: string;
|
|
11235
11234
|
type: "text";
|
|
11235
|
+
text: string;
|
|
11236
11236
|
annotations?: {
|
|
11237
11237
|
priority?: number | null | undefined;
|
|
11238
11238
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11288,16 +11288,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11288
11288
|
};
|
|
11289
11289
|
sessionUpdate: "agent_thought_chunk";
|
|
11290
11290
|
} | {
|
|
11291
|
-
status: "completed" | "
|
|
11291
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
11292
11292
|
title: string;
|
|
11293
|
-
kind: "search" | "
|
|
11293
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
11294
11294
|
toolCallId: string;
|
|
11295
11295
|
sessionUpdate: "tool_call";
|
|
11296
11296
|
content?: ({
|
|
11297
|
-
type: "content";
|
|
11298
11297
|
content: {
|
|
11299
|
-
text: string;
|
|
11300
11298
|
type: "text";
|
|
11299
|
+
text: string;
|
|
11301
11300
|
annotations?: {
|
|
11302
11301
|
priority?: number | null | undefined;
|
|
11303
11302
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11351,6 +11350,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11351
11350
|
lastModified?: string | null | undefined;
|
|
11352
11351
|
} | null | undefined;
|
|
11353
11352
|
};
|
|
11353
|
+
type: "content";
|
|
11354
11354
|
} | {
|
|
11355
11355
|
type: "diff";
|
|
11356
11356
|
path: string;
|
|
@@ -11366,10 +11366,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11366
11366
|
toolCallId: string;
|
|
11367
11367
|
sessionUpdate: "tool_call_update";
|
|
11368
11368
|
content?: ({
|
|
11369
|
-
type: "content";
|
|
11370
11369
|
content: {
|
|
11371
|
-
text: string;
|
|
11372
11370
|
type: "text";
|
|
11371
|
+
text: string;
|
|
11373
11372
|
annotations?: {
|
|
11374
11373
|
priority?: number | null | undefined;
|
|
11375
11374
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11423,15 +11422,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11423
11422
|
lastModified?: string | null | undefined;
|
|
11424
11423
|
} | null | undefined;
|
|
11425
11424
|
};
|
|
11425
|
+
type: "content";
|
|
11426
11426
|
} | {
|
|
11427
11427
|
type: "diff";
|
|
11428
11428
|
path: string;
|
|
11429
11429
|
newText: string;
|
|
11430
11430
|
oldText: string | null;
|
|
11431
11431
|
})[] | null | undefined;
|
|
11432
|
-
status?: "completed" | "
|
|
11432
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
11433
11433
|
title?: string | null | undefined;
|
|
11434
|
-
kind?: "search" | "
|
|
11434
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
11435
11435
|
locations?: {
|
|
11436
11436
|
path: string;
|
|
11437
11437
|
line?: number | null | undefined;
|
|
@@ -11449,8 +11449,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11449
11449
|
sessionId: string;
|
|
11450
11450
|
update: {
|
|
11451
11451
|
content: {
|
|
11452
|
-
text: string;
|
|
11453
11452
|
type: "text";
|
|
11453
|
+
text: string;
|
|
11454
11454
|
annotations?: {
|
|
11455
11455
|
priority?: number | null | undefined;
|
|
11456
11456
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11507,8 +11507,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11507
11507
|
sessionUpdate: "user_message_chunk";
|
|
11508
11508
|
} | {
|
|
11509
11509
|
content: {
|
|
11510
|
-
text: string;
|
|
11511
11510
|
type: "text";
|
|
11511
|
+
text: string;
|
|
11512
11512
|
annotations?: {
|
|
11513
11513
|
priority?: number | null | undefined;
|
|
11514
11514
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11565,8 +11565,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11565
11565
|
sessionUpdate: "agent_message_chunk";
|
|
11566
11566
|
} | {
|
|
11567
11567
|
content: {
|
|
11568
|
-
text: string;
|
|
11569
11568
|
type: "text";
|
|
11569
|
+
text: string;
|
|
11570
11570
|
annotations?: {
|
|
11571
11571
|
priority?: number | null | undefined;
|
|
11572
11572
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11622,16 +11622,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11622
11622
|
};
|
|
11623
11623
|
sessionUpdate: "agent_thought_chunk";
|
|
11624
11624
|
} | {
|
|
11625
|
-
status: "completed" | "
|
|
11625
|
+
status: "completed" | "pending" | "in_progress" | "failed";
|
|
11626
11626
|
title: string;
|
|
11627
|
-
kind: "search" | "
|
|
11627
|
+
kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
|
|
11628
11628
|
toolCallId: string;
|
|
11629
11629
|
sessionUpdate: "tool_call";
|
|
11630
11630
|
content?: ({
|
|
11631
|
-
type: "content";
|
|
11632
11631
|
content: {
|
|
11633
|
-
text: string;
|
|
11634
11632
|
type: "text";
|
|
11633
|
+
text: string;
|
|
11635
11634
|
annotations?: {
|
|
11636
11635
|
priority?: number | null | undefined;
|
|
11637
11636
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11685,6 +11684,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11685
11684
|
lastModified?: string | null | undefined;
|
|
11686
11685
|
} | null | undefined;
|
|
11687
11686
|
};
|
|
11687
|
+
type: "content";
|
|
11688
11688
|
} | {
|
|
11689
11689
|
type: "diff";
|
|
11690
11690
|
path: string;
|
|
@@ -11700,10 +11700,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11700
11700
|
toolCallId: string;
|
|
11701
11701
|
sessionUpdate: "tool_call_update";
|
|
11702
11702
|
content?: ({
|
|
11703
|
-
type: "content";
|
|
11704
11703
|
content: {
|
|
11705
|
-
text: string;
|
|
11706
11704
|
type: "text";
|
|
11705
|
+
text: string;
|
|
11707
11706
|
annotations?: {
|
|
11708
11707
|
priority?: number | null | undefined;
|
|
11709
11708
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11757,15 +11756,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11757
11756
|
lastModified?: string | null | undefined;
|
|
11758
11757
|
} | null | undefined;
|
|
11759
11758
|
};
|
|
11759
|
+
type: "content";
|
|
11760
11760
|
} | {
|
|
11761
11761
|
type: "diff";
|
|
11762
11762
|
path: string;
|
|
11763
11763
|
newText: string;
|
|
11764
11764
|
oldText: string | null;
|
|
11765
11765
|
})[] | null | undefined;
|
|
11766
|
-
status?: "completed" | "
|
|
11766
|
+
status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
|
|
11767
11767
|
title?: string | null | undefined;
|
|
11768
|
-
kind?: "search" | "
|
|
11768
|
+
kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
|
|
11769
11769
|
locations?: {
|
|
11770
11770
|
path: string;
|
|
11771
11771
|
line?: number | null | undefined;
|