@umsai/ums-code 0.0.11-post5 → 0.0.13-v1
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/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +9 -6
- package/dist/src/commands/extensions/disable.d.ts +14 -0
- package/dist/src/commands/extensions/disable.js +42 -0
- package/dist/src/commands/extensions/disable.js.map +1 -0
- package/dist/src/commands/extensions/enable.d.ts +14 -0
- package/dist/src/commands/extensions/enable.js +48 -0
- package/dist/src/commands/extensions/enable.js.map +1 -0
- package/dist/src/commands/extensions/install.d.ts +13 -0
- package/dist/src/commands/extensions/install.js +48 -0
- package/dist/src/commands/extensions/install.js.map +1 -0
- package/dist/src/commands/extensions/install.test.d.ts +6 -0
- package/dist/src/commands/extensions/install.test.js +25 -0
- package/dist/src/commands/extensions/install.test.js.map +1 -0
- package/dist/src/commands/extensions/list.d.ts +8 -0
- package/dist/src/commands/extensions/list.js +32 -0
- package/dist/src/commands/extensions/list.js.map +1 -0
- package/dist/src/commands/extensions/uninstall.d.ts +12 -0
- package/dist/src/commands/extensions/uninstall.js +38 -0
- package/dist/src/commands/extensions/uninstall.js.map +1 -0
- package/dist/src/commands/extensions/uninstall.test.d.ts +6 -0
- package/dist/src/commands/extensions/uninstall.test.js +18 -0
- package/dist/src/commands/extensions/uninstall.test.js.map +1 -0
- package/dist/src/commands/extensions/update.d.ts +12 -0
- package/dist/src/commands/extensions/update.js +38 -0
- package/dist/src/commands/extensions/update.js.map +1 -0
- package/dist/src/commands/extensions.d.ts +7 -0
- package/dist/src/commands/extensions.js +29 -0
- package/dist/src/commands/extensions.js.map +1 -0
- package/dist/src/commands/mcp/add.js +1 -0
- package/dist/src/commands/mcp/add.js.map +1 -1
- package/dist/src/commands/mcp/list.js +1 -1
- package/dist/src/commands/mcp/list.js.map +1 -1
- package/dist/src/config/auth.js +1 -1
- package/dist/src/config/auth.js.map +1 -1
- package/dist/src/config/config.d.ts +8 -6
- package/dist/src/config/config.js +128 -82
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/extension.d.ts +41 -4
- package/dist/src/config/extension.js +270 -16
- package/dist/src/config/extension.js.map +1 -1
- package/dist/src/config/extensions/variableSchema.d.ts +28 -0
- package/dist/src/config/extensions/variableSchema.js +18 -0
- package/dist/src/config/extensions/variableSchema.js.map +1 -0
- package/dist/src/config/extensions/variables.d.ts +17 -0
- package/dist/src/config/extensions/variables.js +40 -0
- package/dist/src/config/extensions/variables.js.map +1 -0
- package/dist/src/config/extensions/variables.test.d.ts +6 -0
- package/dist/src/config/extensions/variables.test.js +17 -0
- package/dist/src/config/extensions/variables.test.js.map +1 -0
- package/dist/src/config/keyBindings.test.js +1 -1
- package/dist/src/config/keyBindings.test.js.map +1 -1
- package/dist/src/config/sandboxConfig.d.ts +2 -2
- package/dist/src/config/sandboxConfig.js +5 -7
- package/dist/src/config/sandboxConfig.js.map +1 -1
- package/dist/src/config/settings.d.ts +12 -6
- package/dist/src/config/settings.js +398 -87
- package/dist/src/config/settings.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +664 -393
- package/dist/src/config/settingsSchema.js +659 -388
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/config/settingsSchema.test.js +87 -89
- package/dist/src/config/settingsSchema.test.js.map +1 -1
- package/dist/src/config/trustedFolders.d.ts +2 -2
- package/dist/src/config/trustedFolders.js +6 -6
- package/dist/src/config/trustedFolders.js.map +1 -1
- package/dist/src/config/trustedFolders.test.js +9 -5
- package/dist/src/config/trustedFolders.test.js.map +1 -1
- package/dist/src/gemini.d.ts +3 -1
- package/dist/src/gemini.js +96 -73
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/gemini.test.js +78 -24
- 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 +1 -1
- package/dist/src/nonInteractiveCli.js +24 -35
- package/dist/src/nonInteractiveCli.js.map +1 -1
- package/dist/src/services/BuiltinCommandLoader.d.ts +3 -3
- package/dist/src/services/BuiltinCommandLoader.js +7 -3
- package/dist/src/services/BuiltinCommandLoader.js.map +1 -1
- package/dist/src/services/BuiltinCommandLoader.test.js +19 -0
- package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -1
- package/dist/src/services/CommandService.d.ts +2 -2
- package/dist/src/services/CommandService.test.js +1 -0
- package/dist/src/services/CommandService.test.js.map +1 -1
- package/dist/src/services/FileCommandLoader.d.ts +3 -3
- package/dist/src/services/FileCommandLoader.js +26 -16
- package/dist/src/services/FileCommandLoader.js.map +1 -1
- package/dist/src/services/McpPromptLoader.d.ts +14 -4
- package/dist/src/services/McpPromptLoader.js +43 -17
- package/dist/src/services/McpPromptLoader.js.map +1 -1
- package/dist/src/services/McpPromptLoader.test.d.ts +6 -0
- package/dist/src/services/McpPromptLoader.test.js +114 -0
- package/dist/src/services/McpPromptLoader.test.js.map +1 -0
- package/dist/src/services/prompt-processors/argumentProcessor.d.ts +3 -3
- package/dist/src/services/prompt-processors/argumentProcessor.js +3 -2
- package/dist/src/services/prompt-processors/argumentProcessor.js.map +1 -1
- package/dist/src/services/prompt-processors/atFileProcessor.d.ts +12 -0
- package/dist/src/services/prompt-processors/atFileProcessor.js +62 -0
- package/dist/src/services/prompt-processors/atFileProcessor.js.map +1 -0
- package/dist/src/services/prompt-processors/atFileProcessor.test.d.ts +6 -0
- package/dist/src/services/prompt-processors/atFileProcessor.test.js +174 -0
- package/dist/src/services/prompt-processors/atFileProcessor.test.js.map +1 -0
- package/dist/src/services/prompt-processors/injectionParser.d.ts +29 -0
- package/dist/src/services/prompt-processors/injectionParser.js +60 -0
- package/dist/src/services/prompt-processors/injectionParser.js.map +1 -0
- package/dist/src/services/prompt-processors/injectionParser.test.d.ts +6 -0
- package/dist/src/services/prompt-processors/injectionParser.test.js +189 -0
- package/dist/src/services/prompt-processors/injectionParser.test.js.map +1 -0
- package/dist/src/services/prompt-processors/shellProcessor.d.ts +4 -12
- package/dist/src/services/prompt-processors/shellProcessor.js +17 -58
- package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -1
- package/dist/src/services/prompt-processors/types.d.ts +13 -8
- package/dist/src/services/prompt-processors/types.js +4 -0
- package/dist/src/services/prompt-processors/types.js.map +1 -1
- package/dist/src/services/types.d.ts +1 -1
- package/dist/src/test-utils/customMatchers.js +0 -6
- package/dist/src/test-utils/customMatchers.js.map +1 -1
- package/dist/src/test-utils/mockCommandContext.d.ts +1 -1
- package/dist/src/test-utils/mockCommandContext.js +4 -1
- package/dist/src/test-utils/mockCommandContext.js.map +1 -1
- package/dist/src/test-utils/render.d.ts +1 -1
- package/dist/src/ui/App.d.ts +2 -2
- package/dist/src/ui/App.js +131 -38
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/IdeIntegrationNudge.d.ts +1 -1
- package/dist/src/ui/IdeIntegrationNudge.js +2 -2
- package/dist/src/ui/IdeIntegrationNudge.js.map +1 -1
- package/dist/src/ui/colors.d.ts +1 -1
- package/dist/src/ui/commands/aboutCommand.d.ts +1 -1
- package/dist/src/ui/commands/aboutCommand.js +1 -1
- package/dist/src/ui/commands/aboutCommand.js.map +1 -1
- package/dist/src/ui/commands/agentsCommand.d.ts +1 -1
- package/dist/src/ui/commands/agentsCommand.js +1 -1
- package/dist/src/ui/commands/agentsCommand.js.map +1 -1
- package/dist/src/ui/commands/approvalModeCommand.d.ts +7 -0
- package/dist/src/ui/commands/approvalModeCommand.js +340 -0
- package/dist/src/ui/commands/approvalModeCommand.js.map +1 -0
- package/dist/src/ui/commands/approvalModeCommand.test.d.ts +6 -0
- package/dist/src/ui/commands/approvalModeCommand.test.js +293 -0
- package/dist/src/ui/commands/approvalModeCommand.test.js.map +1 -0
- package/dist/src/ui/commands/authCommand.d.ts +1 -1
- package/dist/src/ui/commands/authCommand.js.map +1 -1
- package/dist/src/ui/commands/chatCommand.d.ts +1 -1
- package/dist/src/ui/commands/chatCommand.js +4 -3
- package/dist/src/ui/commands/chatCommand.js.map +1 -1
- package/dist/src/ui/commands/clearCommand.d.ts +1 -1
- package/dist/src/ui/commands/clearCommand.js.map +1 -1
- package/dist/src/ui/commands/compressCommand.d.ts +1 -1
- package/dist/src/ui/commands/compressCommand.js +2 -0
- package/dist/src/ui/commands/compressCommand.js.map +1 -1
- package/dist/src/ui/commands/copyCommand.d.ts +1 -1
- package/dist/src/ui/commands/copyCommand.js +2 -2
- package/dist/src/ui/commands/copyCommand.js.map +1 -1
- package/dist/src/ui/commands/directoryCommand.d.ts +1 -1
- package/dist/src/ui/commands/directoryCommand.js +20 -18
- package/dist/src/ui/commands/directoryCommand.js.map +1 -1
- package/dist/src/ui/commands/helpCommand.d.ts +1 -1
- package/dist/src/ui/commands/helpCommand.js.map +1 -1
- package/dist/src/ui/commands/ideCommand.d.ts +2 -2
- package/dist/src/ui/commands/ideCommand.js +6 -8
- package/dist/src/ui/commands/ideCommand.js.map +1 -1
- package/dist/src/ui/commands/initCommand.d.ts +1 -1
- package/dist/src/ui/commands/initCommand.js +3 -3
- package/dist/src/ui/commands/initCommand.js.map +1 -1
- package/dist/src/ui/commands/mcpCommand.d.ts +1 -1
- package/dist/src/ui/commands/mcpCommand.js +1 -1
- package/dist/src/ui/commands/mcpCommand.js.map +1 -1
- package/dist/src/ui/commands/memoryCommand.d.ts +1 -1
- package/dist/src/ui/commands/memoryCommand.js +6 -5
- package/dist/src/ui/commands/memoryCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.d.ts +7 -0
- package/dist/src/ui/commands/modelCommand.js +68 -0
- package/dist/src/ui/commands/modelCommand.js.map +1 -0
- package/dist/src/ui/commands/modelCommand.test.d.ts +6 -0
- package/dist/src/ui/commands/modelCommand.test.js +138 -0
- package/dist/src/ui/commands/modelCommand.test.js.map +1 -0
- package/dist/src/ui/commands/privacyCommand.d.ts +1 -1
- package/dist/src/ui/commands/privacyCommand.js.map +1 -1
- package/dist/src/ui/commands/restoreCommand.d.ts +1 -1
- package/dist/src/ui/commands/restoreCommand.js +4 -8
- package/dist/src/ui/commands/restoreCommand.js.map +1 -1
- package/dist/src/ui/commands/settingsCommand.d.ts +1 -1
- package/dist/src/ui/commands/settingsCommand.js.map +1 -1
- package/dist/src/ui/commands/setupGithubCommand.d.ts +1 -1
- package/dist/src/ui/commands/setupGithubCommand.js +1 -1
- package/dist/src/ui/commands/setupGithubCommand.js.map +1 -1
- package/dist/src/ui/commands/statsCommand.js.map +1 -1
- package/dist/src/ui/commands/summaryCommand.d.ts +1 -1
- package/dist/src/ui/commands/summaryCommand.js +4 -4
- package/dist/src/ui/commands/summaryCommand.js.map +1 -1
- package/dist/src/ui/commands/terminalSetupCommand.d.ts +1 -1
- package/dist/src/ui/commands/terminalSetupCommand.js.map +1 -1
- package/dist/src/ui/commands/themeCommand.d.ts +1 -1
- package/dist/src/ui/commands/themeCommand.js.map +1 -1
- package/dist/src/ui/commands/toolsCommand.js +1 -1
- package/dist/src/ui/commands/toolsCommand.js.map +1 -1
- package/dist/src/ui/commands/types.d.ts +8 -9
- package/dist/src/ui/commands/types.js +1 -0
- package/dist/src/ui/commands/types.js.map +1 -1
- package/dist/src/ui/commands/ums/umsInitCommand.d.ts +1 -1
- package/dist/src/ui/commands/ums/umsInitCommand.js +2 -2
- package/dist/src/ui/commands/ums/umsInitCommand.js.map +1 -1
- package/dist/src/ui/commands/vimCommand.d.ts +1 -1
- package/dist/src/ui/commands/vimCommand.js.map +1 -1
- package/dist/src/ui/components/AboutBox.d.ts +1 -1
- package/dist/src/ui/components/AuthDialog.d.ts +2 -2
- package/dist/src/ui/components/AuthDialog.js +7 -12
- package/dist/src/ui/components/AuthDialog.js.map +1 -1
- package/dist/src/ui/components/AuthDialog.test.js +116 -56
- package/dist/src/ui/components/AuthDialog.test.js.map +1 -1
- package/dist/src/ui/components/AuthInProgress.d.ts +1 -1
- package/dist/src/ui/components/AuthInProgress.js +0 -5
- package/dist/src/ui/components/AuthInProgress.js.map +1 -1
- package/dist/src/ui/components/AutoAcceptIndicator.d.ts +1 -1
- package/dist/src/ui/components/AutoAcceptIndicator.js +8 -3
- package/dist/src/ui/components/AutoAcceptIndicator.js.map +1 -1
- package/dist/src/ui/components/ConsoleSummaryDisplay.d.ts +1 -1
- package/dist/src/ui/components/ContextSummaryDisplay.d.ts +1 -1
- package/dist/src/ui/components/ContextSummaryDisplay.js +1 -0
- package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/DetailedMessagesDisplay.d.ts +2 -2
- package/dist/src/ui/components/DetailedMessagesDisplay.js +1 -1
- package/dist/src/ui/components/DetailedMessagesDisplay.js.map +1 -1
- package/dist/src/ui/components/EditorSettingsDialog.d.ts +4 -3
- package/dist/src/ui/components/EditorSettingsDialog.js +8 -11
- package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -1
- package/dist/src/ui/components/FolderTrustDialog.d.ts +2 -1
- package/dist/src/ui/components/FolderTrustDialog.js +10 -4
- package/dist/src/ui/components/FolderTrustDialog.js.map +1 -1
- package/dist/src/ui/components/FolderTrustDialog.test.js +41 -4
- package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -1
- package/dist/src/ui/components/Footer.d.ts +1 -1
- package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +1 -1
- package/dist/src/ui/components/GeminiRespondingSpinner.js +5 -3
- package/dist/src/ui/components/GeminiRespondingSpinner.js.map +1 -1
- package/dist/src/ui/components/Header.d.ts +1 -1
- package/dist/src/ui/components/Help.d.ts +2 -2
- package/dist/src/ui/components/Help.js +1 -1
- package/dist/src/ui/components/Help.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.d.ts +5 -5
- package/dist/src/ui/components/HistoryItemDisplay.js +4 -1
- package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.test.js +2 -0
- package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -1
- package/dist/src/ui/components/InputPrompt.d.ts +5 -5
- package/dist/src/ui/components/InputPrompt.js +142 -20
- package/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.d.ts +2 -2
- package/dist/src/ui/components/MemoryUsageDisplay.d.ts +1 -1
- package/dist/src/ui/components/MemoryUsageDisplay.js +0 -5
- package/dist/src/ui/components/MemoryUsageDisplay.js.map +1 -1
- package/dist/src/ui/components/ModelSelectionDialog.d.ts +14 -0
- package/dist/src/ui/components/ModelSelectionDialog.js +26 -0
- package/dist/src/ui/components/ModelSelectionDialog.js.map +1 -0
- package/dist/src/ui/components/ModelSelectionDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ModelSelectionDialog.test.js +124 -0
- package/dist/src/ui/components/ModelSelectionDialog.test.js.map +1 -0
- package/dist/src/ui/components/ModelStatsDisplay.d.ts +1 -1
- package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -1
- package/dist/src/ui/components/ModelSwitchDialog.d.ts +15 -0
- package/dist/src/ui/components/ModelSwitchDialog.js +37 -0
- package/dist/src/ui/components/ModelSwitchDialog.js.map +1 -0
- package/dist/src/ui/components/ModelSwitchDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ModelSwitchDialog.test.js +125 -0
- package/dist/src/ui/components/ModelSwitchDialog.test.js.map +1 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +1 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.js +0 -5
- package/dist/src/ui/components/OpenAIKeyPrompt.js.map +1 -1
- package/dist/src/ui/components/PlanSummaryDisplay.d.ts +14 -0
- package/dist/src/ui/components/PlanSummaryDisplay.js +9 -0
- package/dist/src/ui/components/PlanSummaryDisplay.js.map +1 -0
- package/dist/src/ui/components/PrepareLabel.d.ts +1 -1
- package/dist/src/ui/components/QuitConfirmationDialog.d.ts +1 -1
- package/dist/src/ui/components/QwenOAuthProgress.d.ts +2 -2
- package/dist/src/ui/components/QwenOAuthProgress.js +0 -5
- package/dist/src/ui/components/QwenOAuthProgress.js.map +1 -1
- package/dist/src/ui/components/SessionSummaryDisplay.d.ts +1 -1
- package/dist/src/ui/components/SettingsDialog.d.ts +2 -1
- package/dist/src/ui/components/SettingsDialog.js +68 -37
- package/dist/src/ui/components/SettingsDialog.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.test.js +135 -57
- package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
- package/dist/src/ui/components/ShellConfirmationDialog.d.ts +1 -1
- package/dist/src/ui/components/ShellConfirmationDialog.js +2 -2
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/ShellModeIndicator.d.ts +1 -1
- package/dist/src/ui/components/StatsDisplay.d.ts +1 -1
- package/dist/src/ui/components/StatsDisplay.js +3 -3
- package/dist/src/ui/components/StatsDisplay.js.map +1 -1
- package/dist/src/ui/components/SuggestionsDisplay.js +12 -4
- package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.d.ts +3 -2
- package/dist/src/ui/components/ThemeDialog.js +5 -10
- package/dist/src/ui/components/ThemeDialog.js.map +1 -1
- package/dist/src/ui/components/Tips.d.ts +1 -1
- package/dist/src/ui/components/Tips.js +1 -0
- package/dist/src/ui/components/Tips.js.map +1 -1
- package/dist/src/ui/components/TodoDisplay.d.ts +1 -1
- package/dist/src/ui/components/TodoDisplay.test.js.map +1 -1
- package/dist/src/ui/components/ToolStatsDisplay.d.ts +1 -1
- package/dist/src/ui/components/WelcomeBackDialog.d.ts +1 -1
- package/dist/src/ui/components/WelcomeBackDialog.js +1 -0
- package/dist/src/ui/components/WelcomeBackDialog.js.map +1 -1
- package/dist/src/ui/components/WorkspaceMigrationDialog.d.ts +11 -0
- package/dist/src/ui/components/WorkspaceMigrationDialog.js +42 -0
- package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +1 -0
- package/dist/src/ui/components/messages/CompressionMessage.d.ts +2 -2
- package/dist/src/ui/components/messages/CompressionMessage.js +2 -1
- package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -1
- package/dist/src/ui/components/messages/DiffRenderer.d.ts +1 -1
- package/dist/src/ui/components/messages/DiffRenderer.js +6 -2
- package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -1
- package/dist/src/ui/components/messages/ErrorMessage.d.ts +1 -1
- package/dist/src/ui/components/messages/GeminiMessage.d.ts +1 -1
- package/dist/src/ui/components/messages/GeminiMessage.js +2 -1
- package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -1
- package/dist/src/ui/components/messages/GeminiMessageContent.d.ts +1 -1
- package/dist/src/ui/components/messages/InfoMessage.d.ts +1 -1
- package/dist/src/ui/components/messages/SummaryMessage.d.ts +2 -2
- package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +4 -3
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +79 -25
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +102 -2
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +4 -4
- package/dist/src/ui/components/messages/ToolGroupMessage.js +1 -6
- package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.test.d.ts +6 -0
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js +259 -0
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -0
- package/dist/src/ui/components/messages/ToolMessage.d.ts +3 -1
- package/dist/src/ui/components/messages/ToolMessage.js +16 -4
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.test.js +3 -0
- package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/UserMessage.d.ts +1 -1
- package/dist/src/ui/components/messages/UserMessage.js +4 -2
- package/dist/src/ui/components/messages/UserMessage.js.map +1 -1
- package/dist/src/ui/components/messages/UserShellMessage.d.ts +1 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +1 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.js +1 -6
- package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -1
- package/dist/src/ui/components/shared/text-buffer.js +5 -49
- package/dist/src/ui/components/shared/text-buffer.js.map +1 -1
- package/dist/src/ui/components/shared/vim-buffer-actions.d.ts +1 -1
- package/dist/src/ui/components/shared/vim-buffer-actions.js.map +1 -1
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.d.ts +1 -1
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +20 -17
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +1 -1
- package/dist/src/ui/components/subagents/create/ColorSelector.js +1 -0
- package/dist/src/ui/components/subagents/create/ColorSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/CreationSummary.d.ts +1 -1
- package/dist/src/ui/components/subagents/create/CreationSummary.js +2 -2
- package/dist/src/ui/components/subagents/create/CreationSummary.js.map +1 -1
- package/dist/src/ui/components/subagents/create/DescriptionInput.d.ts +1 -1
- package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +1 -1
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.d.ts +1 -1
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +1 -1
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/LocationSelector.d.ts +1 -1
- package/dist/src/ui/components/subagents/create/LocationSelector.js +2 -2
- package/dist/src/ui/components/subagents/create/LocationSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/TextEntryStep.d.ts +1 -1
- package/dist/src/ui/components/subagents/create/ToolSelector.d.ts +1 -1
- package/dist/src/ui/components/subagents/create/ToolSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.d.ts +1 -1
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +1 -0
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentDeleteStep.d.ts +2 -2
- package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js +1 -0
- package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentEditStep.d.ts +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.d.ts +1 -1
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +2 -1
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentViewerStep.d.ts +1 -1
- package/dist/src/ui/components/subagents/manage/AgentViewerStep.js +1 -0
- package/dist/src/ui/components/subagents/manage/AgentViewerStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.d.ts +1 -1
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +16 -24
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +1 -1
- package/dist/src/ui/components/subagents/reducers.d.ts +1 -1
- package/dist/src/ui/components/subagents/reducers.js +1 -0
- package/dist/src/ui/components/subagents/reducers.js.map +1 -1
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.d.ts +4 -3
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +22 -12
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +1 -1
- package/dist/src/ui/components/subagents/types.d.ts +1 -1
- package/dist/src/ui/components/ums/UMSKeyPrompt.js +2 -2
- package/dist/src/ui/components/ums/UMSKeyPrompt.js.map +1 -1
- package/dist/src/ui/components/ums/useUMSAuth.d.ts +1 -1
- package/dist/src/ui/components/ums/useUMSAuth.js +1 -1
- package/dist/src/ui/components/ums/useUMSAuth.js.map +1 -1
- package/dist/src/ui/constants.d.ts +8 -0
- package/dist/src/ui/constants.js +9 -0
- package/dist/src/ui/constants.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.d.ts +4 -3
- package/dist/src/ui/contexts/KeypressContext.js +30 -47
- package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.test.js +184 -44
- package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
- package/dist/src/ui/contexts/OverflowContext.d.ts +1 -1
- package/dist/src/ui/contexts/OverflowContext.js +0 -5
- package/dist/src/ui/contexts/OverflowContext.js.map +1 -1
- package/dist/src/ui/contexts/SessionContext.d.ts +2 -2
- package/dist/src/ui/contexts/SessionContext.js +1 -6
- package/dist/src/ui/contexts/SessionContext.js.map +1 -1
- package/dist/src/ui/contexts/SettingsContext.d.ts +1 -1
- package/dist/src/ui/contexts/StreamingContext.d.ts +1 -1
- package/dist/src/ui/contexts/VimModeContext.d.ts +1 -1
- package/dist/src/ui/contexts/VimModeContext.js +4 -4
- package/dist/src/ui/contexts/VimModeContext.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.d.ts +3 -3
- package/dist/src/ui/hooks/atCommandProcessor.js +3 -4
- package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.js +16 -8
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/shellCommandProcessor.d.ts +3 -3
- package/dist/src/ui/hooks/shellCommandProcessor.js +7 -6
- package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/shellCommandProcessor.test.js +5 -4
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +6 -5
- package/dist/src/ui/hooks/slashCommandProcessor.js +11 -5
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/useAtCompletion.d.ts +2 -2
- package/dist/src/ui/hooks/useAtCompletion.js +3 -2
- package/dist/src/ui/hooks/useAtCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useAuthCommand.d.ts +2 -2
- package/dist/src/ui/hooks/useAuthCommand.js +6 -5
- package/dist/src/ui/hooks/useAuthCommand.js.map +1 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +4 -2
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js +16 -15
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +1 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +88 -16
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useCommandCompletion.d.ts +8 -5
- package/dist/src/ui/hooks/useCommandCompletion.js +30 -9
- package/dist/src/ui/hooks/useCommandCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useCompletion.d.ts +1 -1
- package/dist/src/ui/hooks/useCompletion.js +1 -1
- package/dist/src/ui/hooks/useCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useConsoleMessages.d.ts +1 -1
- package/dist/src/ui/hooks/useDialogClose.d.ts +1 -1
- package/dist/src/ui/hooks/useEditorSettings.d.ts +2 -2
- package/dist/src/ui/hooks/useEditorSettings.js.map +1 -1
- package/dist/src/ui/hooks/useEditorSettings.test.js.map +1 -1
- package/dist/src/ui/hooks/useFolderTrust.d.ts +2 -1
- package/dist/src/ui/hooks/useFolderTrust.js +19 -10
- package/dist/src/ui/hooks/useFolderTrust.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.d.ts +9 -5
- package/dist/src/ui/hooks/useGeminiStream.js +87 -57
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.js +1 -1
- package/dist/src/ui/hooks/useGitBranchName.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.test.js +169 -233
- package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
- package/dist/src/ui/hooks/useHistoryManager.d.ts +1 -1
- package/dist/src/ui/hooks/useKeypress.d.ts +2 -2
- package/dist/src/ui/hooks/useKeypress.js +1 -1
- package/dist/src/ui/hooks/useKeypress.js.map +1 -1
- package/dist/src/ui/hooks/useLaunchEditor.js +2 -2
- package/dist/src/ui/hooks/useLaunchEditor.js.map +1 -1
- package/dist/src/ui/hooks/useLogger.d.ts +2 -1
- package/dist/src/ui/hooks/useLogger.js +3 -3
- package/dist/src/ui/hooks/useLogger.js.map +1 -1
- package/dist/src/ui/hooks/usePrivacySettings.d.ts +1 -1
- package/dist/src/ui/hooks/usePrivacySettings.js.map +1 -1
- package/dist/src/ui/hooks/usePrivacySettings.test.js.map +1 -1
- package/dist/src/ui/hooks/usePromptCompletion.d.ts +23 -0
- package/dist/src/ui/hooks/usePromptCompletion.js +177 -0
- package/dist/src/ui/hooks/usePromptCompletion.js.map +1 -0
- package/dist/src/ui/hooks/useQwenAuth.d.ts +1 -1
- package/dist/src/ui/hooks/useQwenAuth.js +1 -1
- package/dist/src/ui/hooks/useQwenAuth.js.map +1 -1
- package/dist/src/ui/hooks/useQwenAuth.test.js +5 -1
- package/dist/src/ui/hooks/useQwenAuth.test.js.map +1 -1
- package/dist/src/ui/hooks/useReactToolScheduler.d.ts +2 -2
- package/dist/src/ui/hooks/useReactToolScheduler.js +2 -3
- package/dist/src/ui/hooks/useReactToolScheduler.js.map +1 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +2 -2
- package/dist/src/ui/hooks/useShellHistory.d.ts +2 -1
- package/dist/src/ui/hooks/useShellHistory.js +9 -10
- package/dist/src/ui/hooks/useShellHistory.js.map +1 -1
- package/dist/src/ui/hooks/useShellHistory.test.js +30 -5
- package/dist/src/ui/hooks/useShellHistory.test.js.map +1 -1
- package/dist/src/ui/hooks/useShowMemoryCommand.d.ts +3 -3
- package/dist/src/ui/hooks/useShowMemoryCommand.js +1 -1
- package/dist/src/ui/hooks/useShowMemoryCommand.js.map +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.d.ts +2 -2
- package/dist/src/ui/hooks/useThemeCommand.d.ts +1 -1
- package/dist/src/ui/hooks/useThemeCommand.js +8 -8
- package/dist/src/ui/hooks/useThemeCommand.js.map +1 -1
- package/dist/src/ui/hooks/useToolScheduler.test.js +41 -37
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.d.ts +47 -0
- package/dist/src/ui/hooks/useVisionAutoSwitch.js +262 -0
- package/dist/src/ui/hooks/useVisionAutoSwitch.js.map +1 -0
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.d.ts +6 -0
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.js +515 -0
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.js.map +1 -0
- package/dist/src/ui/hooks/useWelcomeBack.js +2 -1
- package/dist/src/ui/hooks/useWelcomeBack.js.map +1 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.d.ts +13 -0
- package/dist/src/ui/hooks/useWorkspaceMigration.js +53 -0
- package/dist/src/ui/hooks/useWorkspaceMigration.js.map +1 -0
- package/dist/src/ui/keyMatchers.d.ts +2 -1
- package/dist/src/ui/keyMatchers.js +1 -1
- package/dist/src/ui/keyMatchers.js.map +1 -1
- package/dist/src/ui/keyMatchers.test.js.map +1 -1
- package/dist/src/ui/models/availableModels.d.ts +29 -0
- package/dist/src/ui/models/availableModels.js +40 -0
- package/dist/src/ui/models/availableModels.js.map +1 -0
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +1 -1
- package/dist/src/ui/semantic-colors.d.ts +1 -1
- package/dist/src/ui/textConstants.d.ts +9 -0
- package/dist/src/ui/textConstants.js +10 -0
- package/dist/src/ui/textConstants.js.map +1 -0
- package/dist/src/ui/themes/atom-one-dark.js +1 -2
- package/dist/src/ui/themes/atom-one-dark.js.map +1 -1
- package/dist/src/ui/themes/ayu-light.js +1 -2
- package/dist/src/ui/themes/ayu-light.js.map +1 -1
- package/dist/src/ui/themes/ayu.js +1 -2
- package/dist/src/ui/themes/ayu.js.map +1 -1
- package/dist/src/ui/themes/default-light.js +1 -2
- package/dist/src/ui/themes/default-light.js.map +1 -1
- package/dist/src/ui/themes/default.js +1 -2
- package/dist/src/ui/themes/default.js.map +1 -1
- package/dist/src/ui/themes/dracula.js +1 -2
- package/dist/src/ui/themes/dracula.js.map +1 -1
- package/dist/src/ui/themes/github-dark.js +1 -2
- package/dist/src/ui/themes/github-dark.js.map +1 -1
- package/dist/src/ui/themes/github-light.js +1 -2
- package/dist/src/ui/themes/github-light.js.map +1 -1
- package/dist/src/ui/themes/googlecode.js +2 -3
- package/dist/src/ui/themes/googlecode.js.map +1 -1
- package/dist/src/ui/themes/no-color.js.map +1 -1
- package/dist/src/ui/themes/shades-of-purple.js +1 -2
- package/dist/src/ui/themes/shades-of-purple.js.map +1 -1
- package/dist/src/ui/themes/theme-manager.d.ts +4 -2
- package/dist/src/ui/themes/theme-manager.js +73 -6
- package/dist/src/ui/themes/theme-manager.js.map +1 -1
- package/dist/src/ui/themes/theme-manager.test.js +60 -1
- package/dist/src/ui/themes/theme-manager.test.js.map +1 -1
- package/dist/src/ui/themes/theme.d.ts +3 -3
- package/dist/src/ui/themes/theme.js +30 -2
- package/dist/src/ui/themes/theme.js.map +1 -1
- package/dist/src/ui/themes/xcode.js +1 -2
- package/dist/src/ui/themes/xcode.js.map +1 -1
- package/dist/src/ui/types.d.ts +4 -2
- package/dist/src/ui/types.js.map +1 -1
- package/dist/src/ui/utils/CodeColorizer.d.ts +2 -2
- package/dist/src/ui/utils/CodeColorizer.js +1 -1
- package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
- package/dist/src/ui/utils/ConsolePatcher.d.ts +1 -1
- package/dist/src/ui/utils/ConsolePatcher.js +1 -1
- package/dist/src/ui/utils/ConsolePatcher.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.js +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.test.js +12 -2
- package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -1
- package/dist/src/ui/utils/clipboardUtils.js +4 -4
- package/dist/src/ui/utils/clipboardUtils.js.map +1 -1
- package/dist/src/ui/utils/commandUtils.d.ts +1 -1
- package/dist/src/ui/utils/commandUtils.js +52 -14
- package/dist/src/ui/utils/commandUtils.js.map +1 -1
- package/dist/src/ui/utils/commandUtils.test.js +76 -21
- package/dist/src/ui/utils/commandUtils.test.js.map +1 -1
- package/dist/src/ui/utils/computeStats.d.ts +1 -1
- package/dist/src/ui/utils/platformConstants.d.ts +7 -0
- package/dist/src/ui/utils/platformConstants.js +7 -0
- package/dist/src/ui/utils/platformConstants.js.map +1 -1
- package/dist/src/ui/utils/terminalSetup.js +5 -5
- package/dist/src/ui/utils/terminalSetup.js.map +1 -1
- package/dist/src/ui/utils/textUtils.d.ts +18 -0
- package/dist/src/ui/utils/textUtils.js +44 -0
- package/dist/src/ui/utils/textUtils.js.map +1 -1
- package/dist/src/ui/utils/updateCheck.d.ts +1 -1
- package/dist/src/ui/utils/updateCheck.js +8 -2
- package/dist/src/ui/utils/updateCheck.js.map +1 -1
- package/dist/src/utils/cleanup.js +5 -4
- package/dist/src/utils/cleanup.js.map +1 -1
- package/dist/src/utils/dialogScopeUtils.d.ts +2 -1
- package/dist/src/utils/dialogScopeUtils.js.map +1 -1
- package/dist/src/utils/errors.d.ts +6 -0
- package/dist/src/utils/errors.js +12 -0
- package/dist/src/utils/errors.js.map +1 -0
- package/dist/src/utils/events.d.ts +1 -1
- package/dist/src/utils/events.js +1 -1
- package/dist/src/utils/events.js.map +1 -1
- package/dist/src/utils/gitUtils.js +1 -1
- package/dist/src/utils/gitUtils.js.map +1 -1
- package/dist/src/utils/gitUtils.test.js +4 -4
- package/dist/src/utils/gitUtils.test.js.map +1 -1
- package/dist/src/utils/handleAutoUpdate.d.ts +4 -4
- package/dist/src/utils/handleAutoUpdate.js +4 -3
- package/dist/src/utils/handleAutoUpdate.js.map +1 -1
- package/dist/src/utils/installationInfo.js +8 -8
- package/dist/src/utils/installationInfo.js.map +1 -1
- package/dist/src/utils/installationInfo.test.js +9 -9
- package/dist/src/utils/installationInfo.test.js.map +1 -1
- package/dist/src/utils/package.js +2 -2
- package/dist/src/utils/package.js.map +1 -1
- package/dist/src/utils/readStdin.js +15 -0
- package/dist/src/utils/readStdin.js.map +1 -1
- package/dist/src/utils/readStdin.test.d.ts +6 -0
- package/dist/src/utils/readStdin.test.js +88 -0
- package/dist/src/utils/readStdin.test.js.map +1 -0
- package/dist/src/utils/resolvePath.js +2 -2
- package/dist/src/utils/resolvePath.js.map +1 -1
- package/dist/src/utils/sandbox.d.ts +2 -2
- package/dist/src/utils/sandbox.js +20 -27
- package/dist/src/utils/sandbox.js.map +1 -1
- package/dist/src/utils/settingsUtils.d.ts +2 -2
- package/dist/src/utils/settingsUtils.js +2 -8
- package/dist/src/utils/settingsUtils.js.map +1 -1
- package/dist/src/utils/settingsUtils.test.js +145 -148
- package/dist/src/utils/settingsUtils.test.js.map +1 -1
- package/dist/src/utils/spawnWrapper.d.ts +1 -1
- package/dist/src/utils/spawnWrapper.js +1 -1
- package/dist/src/utils/spawnWrapper.js.map +1 -1
- package/dist/src/utils/startupWarnings.js +2 -2
- package/dist/src/utils/startupWarnings.js.map +1 -1
- package/dist/src/utils/updateEventEmitter.d.ts +1 -1
- package/dist/src/utils/updateEventEmitter.js +1 -1
- package/dist/src/utils/updateEventEmitter.js.map +1 -1
- package/dist/src/utils/userStartupWarnings.js +3 -3
- package/dist/src/utils/userStartupWarnings.js.map +1 -1
- package/dist/src/utils/userStartupWarnings.test.js +3 -3
- package/dist/src/utils/userStartupWarnings.test.js.map +1 -1
- package/dist/src/validateNonInterActiveAuth.d.ts +1 -1
- package/dist/src/validateNonInterActiveAuth.js.map +1 -1
- package/dist/src/zed-integration/acp.d.ts +1 -1
- package/dist/src/zed-integration/acp.js +2 -1
- package/dist/src/zed-integration/acp.js.map +1 -1
- package/dist/src/zed-integration/fileSystemService.d.ts +2 -2
- package/dist/src/zed-integration/schema.d.ts +592 -592
- package/dist/src/zed-integration/zedIntegration.d.ts +4 -4
- package/dist/src/zed-integration/zedIntegration.js +43 -21
- package/dist/src/zed-integration/zedIntegration.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -6
|
@@ -72,12 +72,12 @@ export declare const writeTextFileRequestSchema: z.ZodObject<{
|
|
|
72
72
|
path: z.ZodString;
|
|
73
73
|
sessionId: z.ZodString;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
content: string;
|
|
76
75
|
path: string;
|
|
76
|
+
content: string;
|
|
77
77
|
sessionId: string;
|
|
78
78
|
}, {
|
|
79
|
-
content: string;
|
|
80
79
|
path: string;
|
|
80
|
+
content: string;
|
|
81
81
|
sessionId: string;
|
|
82
82
|
}>;
|
|
83
83
|
export declare const readTextFileRequestSchema: z.ZodObject<{
|
|
@@ -144,11 +144,11 @@ export declare const requestPermissionOutcomeSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
144
144
|
optionId: z.ZodString;
|
|
145
145
|
outcome: z.ZodLiteral<"selected">;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
optionId: string;
|
|
148
147
|
outcome: "selected";
|
|
149
|
-
}, {
|
|
150
148
|
optionId: string;
|
|
149
|
+
}, {
|
|
151
150
|
outcome: "selected";
|
|
151
|
+
optionId: string;
|
|
152
152
|
}>]>;
|
|
153
153
|
export declare const cancelNotificationSchema: z.ZodObject<{
|
|
154
154
|
sessionId: z.ZodString;
|
|
@@ -196,12 +196,12 @@ export declare const planEntrySchema: z.ZodObject<{
|
|
|
196
196
|
priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
|
|
197
197
|
status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
|
|
198
198
|
}, "strip", z.ZodTypeAny, {
|
|
199
|
+
status: "completed" | "pending" | "in_progress";
|
|
199
200
|
content: string;
|
|
200
|
-
status: "pending" | "in_progress" | "completed";
|
|
201
201
|
priority: "high" | "medium" | "low";
|
|
202
202
|
}, {
|
|
203
|
+
status: "completed" | "pending" | "in_progress";
|
|
203
204
|
content: string;
|
|
204
|
-
status: "pending" | "in_progress" | "completed";
|
|
205
205
|
priority: "high" | "medium" | "low";
|
|
206
206
|
}>;
|
|
207
207
|
export declare const permissionOptionSchema: z.ZodObject<{
|
|
@@ -241,25 +241,25 @@ export declare const requestPermissionResponseSchema: z.ZodObject<{
|
|
|
241
241
|
optionId: z.ZodString;
|
|
242
242
|
outcome: z.ZodLiteral<"selected">;
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
|
-
optionId: string;
|
|
245
244
|
outcome: "selected";
|
|
246
|
-
}, {
|
|
247
245
|
optionId: string;
|
|
246
|
+
}, {
|
|
248
247
|
outcome: "selected";
|
|
248
|
+
optionId: string;
|
|
249
249
|
}>]>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
outcome: {
|
|
252
252
|
outcome: "cancelled";
|
|
253
253
|
} | {
|
|
254
|
-
optionId: string;
|
|
255
254
|
outcome: "selected";
|
|
255
|
+
optionId: string;
|
|
256
256
|
};
|
|
257
257
|
}, {
|
|
258
258
|
outcome: {
|
|
259
259
|
outcome: "cancelled";
|
|
260
260
|
} | {
|
|
261
|
-
optionId: string;
|
|
262
261
|
outcome: "selected";
|
|
262
|
+
optionId: string;
|
|
263
263
|
};
|
|
264
264
|
}>;
|
|
265
265
|
export declare const fileSystemCapabilitySchema: z.ZodObject<{
|
|
@@ -298,33 +298,33 @@ export declare const mcpServerSchema: z.ZodObject<{
|
|
|
298
298
|
name: z.ZodString;
|
|
299
299
|
}, "strip", z.ZodTypeAny, {
|
|
300
300
|
name: string;
|
|
301
|
-
args: string[];
|
|
302
301
|
env: {
|
|
303
302
|
name: string;
|
|
304
303
|
value: string;
|
|
305
304
|
}[];
|
|
306
305
|
command: string;
|
|
306
|
+
args: string[];
|
|
307
307
|
}, {
|
|
308
308
|
name: string;
|
|
309
|
-
args: string[];
|
|
310
309
|
env: {
|
|
311
310
|
name: string;
|
|
312
311
|
value: string;
|
|
313
312
|
}[];
|
|
314
313
|
command: string;
|
|
314
|
+
args: string[];
|
|
315
315
|
}>;
|
|
316
316
|
export declare const promptCapabilitiesSchema: z.ZodObject<{
|
|
317
317
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
318
318
|
embeddedContext: z.ZodOptional<z.ZodBoolean>;
|
|
319
319
|
image: z.ZodOptional<z.ZodBoolean>;
|
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
image?: boolean | undefined;
|
|
321
322
|
audio?: boolean | undefined;
|
|
322
323
|
embeddedContext?: boolean | undefined;
|
|
323
|
-
image?: boolean | undefined;
|
|
324
324
|
}, {
|
|
325
|
+
image?: boolean | undefined;
|
|
325
326
|
audio?: boolean | undefined;
|
|
326
327
|
embeddedContext?: boolean | undefined;
|
|
327
|
-
image?: boolean | undefined;
|
|
328
328
|
}>;
|
|
329
329
|
export declare const agentCapabilitiesSchema: z.ZodObject<{
|
|
330
330
|
loadSession: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -333,27 +333,27 @@ export declare const agentCapabilitiesSchema: z.ZodObject<{
|
|
|
333
333
|
embeddedContext: z.ZodOptional<z.ZodBoolean>;
|
|
334
334
|
image: z.ZodOptional<z.ZodBoolean>;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
image?: boolean | undefined;
|
|
336
337
|
audio?: boolean | undefined;
|
|
337
338
|
embeddedContext?: boolean | undefined;
|
|
338
|
-
image?: boolean | undefined;
|
|
339
339
|
}, {
|
|
340
|
+
image?: boolean | undefined;
|
|
340
341
|
audio?: boolean | undefined;
|
|
341
342
|
embeddedContext?: boolean | undefined;
|
|
342
|
-
image?: boolean | undefined;
|
|
343
343
|
}>>;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
345
345
|
loadSession?: boolean | undefined;
|
|
346
346
|
promptCapabilities?: {
|
|
347
|
+
image?: boolean | undefined;
|
|
347
348
|
audio?: boolean | undefined;
|
|
348
349
|
embeddedContext?: boolean | undefined;
|
|
349
|
-
image?: boolean | undefined;
|
|
350
350
|
} | undefined;
|
|
351
351
|
}, {
|
|
352
352
|
loadSession?: boolean | undefined;
|
|
353
353
|
promptCapabilities?: {
|
|
354
|
+
image?: boolean | undefined;
|
|
354
355
|
audio?: boolean | undefined;
|
|
355
356
|
embeddedContext?: boolean | undefined;
|
|
356
|
-
image?: boolean | undefined;
|
|
357
357
|
} | undefined;
|
|
358
358
|
}>;
|
|
359
359
|
export declare const authMethodSchema: z.ZodObject<{
|
|
@@ -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
|
-
name: string;
|
|
366
364
|
description: string | null;
|
|
367
|
-
}, {
|
|
368
|
-
id: string;
|
|
369
365
|
name: string;
|
|
366
|
+
id: string;
|
|
367
|
+
}, {
|
|
370
368
|
description: string | null;
|
|
369
|
+
name: string;
|
|
370
|
+
id: string;
|
|
371
371
|
}>;
|
|
372
372
|
export declare const clientResponseSchema: z.ZodUnion<[z.ZodNull, z.ZodObject<{
|
|
373
373
|
content: z.ZodString;
|
|
@@ -386,25 +386,25 @@ export declare const clientResponseSchema: z.ZodUnion<[z.ZodNull, z.ZodObject<{
|
|
|
386
386
|
optionId: z.ZodString;
|
|
387
387
|
outcome: z.ZodLiteral<"selected">;
|
|
388
388
|
}, "strip", z.ZodTypeAny, {
|
|
389
|
-
optionId: string;
|
|
390
389
|
outcome: "selected";
|
|
391
|
-
}, {
|
|
392
390
|
optionId: string;
|
|
391
|
+
}, {
|
|
393
392
|
outcome: "selected";
|
|
393
|
+
optionId: string;
|
|
394
394
|
}>]>;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
396
|
outcome: {
|
|
397
397
|
outcome: "cancelled";
|
|
398
398
|
} | {
|
|
399
|
-
optionId: string;
|
|
400
399
|
outcome: "selected";
|
|
400
|
+
optionId: string;
|
|
401
401
|
};
|
|
402
402
|
}, {
|
|
403
403
|
outcome: {
|
|
404
404
|
outcome: "cancelled";
|
|
405
405
|
} | {
|
|
406
|
-
optionId: string;
|
|
407
406
|
outcome: "selected";
|
|
407
|
+
optionId: string;
|
|
408
408
|
};
|
|
409
409
|
}>]>;
|
|
410
410
|
export declare const clientNotificationSchema: z.ZodObject<{
|
|
@@ -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
|
-
args: string[];
|
|
461
460
|
env: {
|
|
462
461
|
name: string;
|
|
463
462
|
value: string;
|
|
464
463
|
}[];
|
|
465
464
|
command: string;
|
|
465
|
+
args: string[];
|
|
466
466
|
}, {
|
|
467
467
|
name: string;
|
|
468
|
-
args: string[];
|
|
469
468
|
env: {
|
|
470
469
|
name: string;
|
|
471
470
|
value: string;
|
|
472
471
|
}[];
|
|
473
472
|
command: string;
|
|
473
|
+
args: string[];
|
|
474
474
|
}>, "many">;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
476
|
mcpServers: {
|
|
477
477
|
name: string;
|
|
478
|
-
args: string[];
|
|
479
478
|
env: {
|
|
480
479
|
name: string;
|
|
481
480
|
value: string;
|
|
482
481
|
}[];
|
|
483
482
|
command: string;
|
|
483
|
+
args: string[];
|
|
484
484
|
}[];
|
|
485
485
|
cwd: string;
|
|
486
486
|
}, {
|
|
487
487
|
mcpServers: {
|
|
488
488
|
name: string;
|
|
489
|
-
args: string[];
|
|
490
489
|
env: {
|
|
491
490
|
name: string;
|
|
492
491
|
value: string;
|
|
493
492
|
}[];
|
|
494
493
|
command: string;
|
|
494
|
+
args: string[];
|
|
495
495
|
}[];
|
|
496
496
|
cwd: string;
|
|
497
497
|
}>;
|
|
@@ -513,43 +513,43 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
|
|
|
513
513
|
name: z.ZodString;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
515
|
name: string;
|
|
516
|
-
args: string[];
|
|
517
516
|
env: {
|
|
518
517
|
name: string;
|
|
519
518
|
value: string;
|
|
520
519
|
}[];
|
|
521
520
|
command: string;
|
|
521
|
+
args: string[];
|
|
522
522
|
}, {
|
|
523
523
|
name: string;
|
|
524
|
-
args: string[];
|
|
525
524
|
env: {
|
|
526
525
|
name: string;
|
|
527
526
|
value: string;
|
|
528
527
|
}[];
|
|
529
528
|
command: string;
|
|
529
|
+
args: string[];
|
|
530
530
|
}>, "many">;
|
|
531
531
|
sessionId: z.ZodString;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
533
|
mcpServers: {
|
|
534
534
|
name: string;
|
|
535
|
-
args: string[];
|
|
536
535
|
env: {
|
|
537
536
|
name: string;
|
|
538
537
|
value: string;
|
|
539
538
|
}[];
|
|
540
539
|
command: string;
|
|
540
|
+
args: string[];
|
|
541
541
|
}[];
|
|
542
542
|
cwd: string;
|
|
543
543
|
sessionId: string;
|
|
544
544
|
}, {
|
|
545
545
|
mcpServers: {
|
|
546
546
|
name: string;
|
|
547
|
-
args: string[];
|
|
548
547
|
env: {
|
|
549
548
|
name: string;
|
|
550
549
|
value: string;
|
|
551
550
|
}[];
|
|
552
551
|
command: string;
|
|
552
|
+
args: string[];
|
|
553
553
|
}[];
|
|
554
554
|
cwd: string;
|
|
555
555
|
sessionId: string;
|
|
@@ -562,27 +562,27 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
562
562
|
embeddedContext: z.ZodOptional<z.ZodBoolean>;
|
|
563
563
|
image: z.ZodOptional<z.ZodBoolean>;
|
|
564
564
|
}, "strip", z.ZodTypeAny, {
|
|
565
|
+
image?: boolean | undefined;
|
|
565
566
|
audio?: boolean | undefined;
|
|
566
567
|
embeddedContext?: boolean | undefined;
|
|
567
|
-
image?: boolean | undefined;
|
|
568
568
|
}, {
|
|
569
|
+
image?: boolean | undefined;
|
|
569
570
|
audio?: boolean | undefined;
|
|
570
571
|
embeddedContext?: boolean | undefined;
|
|
571
|
-
image?: boolean | undefined;
|
|
572
572
|
}>>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
574
|
loadSession?: boolean | undefined;
|
|
575
575
|
promptCapabilities?: {
|
|
576
|
+
image?: boolean | undefined;
|
|
576
577
|
audio?: boolean | undefined;
|
|
577
578
|
embeddedContext?: boolean | undefined;
|
|
578
|
-
image?: boolean | undefined;
|
|
579
579
|
} | undefined;
|
|
580
580
|
}, {
|
|
581
581
|
loadSession?: boolean | undefined;
|
|
582
582
|
promptCapabilities?: {
|
|
583
|
+
image?: boolean | undefined;
|
|
583
584
|
audio?: boolean | undefined;
|
|
584
585
|
embeddedContext?: boolean | undefined;
|
|
585
|
-
image?: boolean | undefined;
|
|
586
586
|
} | undefined;
|
|
587
587
|
}>;
|
|
588
588
|
authMethods: z.ZodArray<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
|
-
name: string;
|
|
595
593
|
description: string | null;
|
|
596
|
-
}, {
|
|
597
|
-
id: string;
|
|
598
594
|
name: string;
|
|
595
|
+
id: string;
|
|
596
|
+
}, {
|
|
599
597
|
description: string | null;
|
|
598
|
+
name: string;
|
|
599
|
+
id: string;
|
|
600
600
|
}>, "many">;
|
|
601
601
|
protocolVersion: z.ZodNumber;
|
|
602
602
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -604,30 +604,30 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
604
604
|
agentCapabilities: {
|
|
605
605
|
loadSession?: boolean | undefined;
|
|
606
606
|
promptCapabilities?: {
|
|
607
|
+
image?: boolean | undefined;
|
|
607
608
|
audio?: boolean | undefined;
|
|
608
609
|
embeddedContext?: boolean | undefined;
|
|
609
|
-
image?: boolean | undefined;
|
|
610
610
|
} | undefined;
|
|
611
611
|
};
|
|
612
612
|
authMethods: {
|
|
613
|
-
id: string;
|
|
614
|
-
name: string;
|
|
615
613
|
description: string | null;
|
|
614
|
+
name: string;
|
|
615
|
+
id: string;
|
|
616
616
|
}[];
|
|
617
617
|
}, {
|
|
618
618
|
protocolVersion: number;
|
|
619
619
|
agentCapabilities: {
|
|
620
620
|
loadSession?: boolean | undefined;
|
|
621
621
|
promptCapabilities?: {
|
|
622
|
+
image?: boolean | undefined;
|
|
622
623
|
audio?: boolean | undefined;
|
|
623
624
|
embeddedContext?: boolean | undefined;
|
|
624
|
-
image?: boolean | undefined;
|
|
625
625
|
} | undefined;
|
|
626
626
|
};
|
|
627
627
|
authMethods: {
|
|
628
|
-
id: string;
|
|
629
|
-
name: string;
|
|
630
628
|
description: string | null;
|
|
629
|
+
name: string;
|
|
630
|
+
id: string;
|
|
631
631
|
}[];
|
|
632
632
|
}>;
|
|
633
633
|
export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
654
654
|
lastModified?: string | null | undefined;
|
|
655
655
|
priority?: number | null | undefined;
|
|
656
656
|
} | null | undefined;
|
|
657
657
|
}, {
|
|
658
|
-
text: string;
|
|
659
658
|
type: "text";
|
|
659
|
+
text: string;
|
|
660
660
|
annotations?: {
|
|
661
661
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
662
662
|
lastModified?: string | null | undefined;
|
|
@@ -757,28 +757,28 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
757
757
|
type: "resource_link";
|
|
758
758
|
name: string;
|
|
759
759
|
uri: string;
|
|
760
|
-
size?: number | null | undefined;
|
|
761
760
|
description?: string | null | undefined;
|
|
762
761
|
title?: string | null | undefined;
|
|
762
|
+
mimeType?: string | null | undefined;
|
|
763
|
+
size?: number | null | undefined;
|
|
763
764
|
annotations?: {
|
|
764
765
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
765
766
|
lastModified?: string | null | undefined;
|
|
766
767
|
priority?: number | null | undefined;
|
|
767
768
|
} | null | undefined;
|
|
768
|
-
mimeType?: string | null | undefined;
|
|
769
769
|
}, {
|
|
770
770
|
type: "resource_link";
|
|
771
771
|
name: string;
|
|
772
772
|
uri: string;
|
|
773
|
-
size?: number | null | undefined;
|
|
774
773
|
description?: string | null | undefined;
|
|
775
774
|
title?: string | null | undefined;
|
|
775
|
+
mimeType?: string | null | undefined;
|
|
776
|
+
size?: number | null | undefined;
|
|
776
777
|
annotations?: {
|
|
777
778
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
778
779
|
lastModified?: string | null | undefined;
|
|
779
780
|
priority?: number | null | undefined;
|
|
780
781
|
} | null | undefined;
|
|
781
|
-
mimeType?: string | null | undefined;
|
|
782
782
|
}>, z.ZodObject<{
|
|
783
783
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
784
784
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
877
877
|
lastModified?: string | null | undefined;
|
|
878
878
|
priority?: number | null | undefined;
|
|
879
879
|
} | null | undefined;
|
|
880
880
|
}, {
|
|
881
|
-
text: string;
|
|
882
881
|
type: "text";
|
|
882
|
+
text: string;
|
|
883
883
|
annotations?: {
|
|
884
884
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
885
885
|
lastModified?: string | null | undefined;
|
|
@@ -980,28 +980,28 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
980
980
|
type: "resource_link";
|
|
981
981
|
name: string;
|
|
982
982
|
uri: string;
|
|
983
|
-
size?: number | null | undefined;
|
|
984
983
|
description?: string | null | undefined;
|
|
985
984
|
title?: string | null | undefined;
|
|
985
|
+
mimeType?: string | null | undefined;
|
|
986
|
+
size?: number | null | undefined;
|
|
986
987
|
annotations?: {
|
|
987
988
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
988
989
|
lastModified?: string | null | undefined;
|
|
989
990
|
priority?: number | null | undefined;
|
|
990
991
|
} | null | undefined;
|
|
991
|
-
mimeType?: string | null | undefined;
|
|
992
992
|
}, {
|
|
993
993
|
type: "resource_link";
|
|
994
994
|
name: string;
|
|
995
995
|
uri: string;
|
|
996
|
-
size?: number | null | undefined;
|
|
997
996
|
description?: string | null | undefined;
|
|
998
997
|
title?: string | null | undefined;
|
|
998
|
+
mimeType?: string | null | undefined;
|
|
999
|
+
size?: number | null | undefined;
|
|
999
1000
|
annotations?: {
|
|
1000
1001
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1001
1002
|
lastModified?: string | null | undefined;
|
|
1002
1003
|
priority?: number | null | undefined;
|
|
1003
1004
|
} | null | undefined;
|
|
1004
|
-
mimeType?: string | null | undefined;
|
|
1005
1005
|
}>, z.ZodObject<{
|
|
1006
1006
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1007
1007
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -1079,8 +1079,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1079
1079
|
}, "strip", z.ZodTypeAny, {
|
|
1080
1080
|
type: "content";
|
|
1081
1081
|
content: {
|
|
1082
|
-
text: string;
|
|
1083
1082
|
type: "text";
|
|
1083
|
+
text: string;
|
|
1084
1084
|
annotations?: {
|
|
1085
1085
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1086
1086
|
lastModified?: string | null | undefined;
|
|
@@ -1108,15 +1108,15 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1108
1108
|
type: "resource_link";
|
|
1109
1109
|
name: string;
|
|
1110
1110
|
uri: string;
|
|
1111
|
-
size?: number | null | undefined;
|
|
1112
1111
|
description?: string | null | undefined;
|
|
1113
1112
|
title?: string | null | undefined;
|
|
1113
|
+
mimeType?: string | null | undefined;
|
|
1114
|
+
size?: number | null | undefined;
|
|
1114
1115
|
annotations?: {
|
|
1115
1116
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1116
1117
|
lastModified?: string | null | undefined;
|
|
1117
1118
|
priority?: number | null | undefined;
|
|
1118
1119
|
} | null | undefined;
|
|
1119
|
-
mimeType?: string | null | undefined;
|
|
1120
1120
|
} | {
|
|
1121
1121
|
type: "resource";
|
|
1122
1122
|
resource: {
|
|
@@ -1137,8 +1137,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1137
1137
|
}, {
|
|
1138
1138
|
type: "content";
|
|
1139
1139
|
content: {
|
|
1140
|
-
text: string;
|
|
1141
1140
|
type: "text";
|
|
1141
|
+
text: string;
|
|
1142
1142
|
annotations?: {
|
|
1143
1143
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1144
1144
|
lastModified?: string | null | undefined;
|
|
@@ -1166,15 +1166,15 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1166
1166
|
type: "resource_link";
|
|
1167
1167
|
name: string;
|
|
1168
1168
|
uri: string;
|
|
1169
|
-
size?: number | null | undefined;
|
|
1170
1169
|
description?: string | null | undefined;
|
|
1171
1170
|
title?: string | null | undefined;
|
|
1171
|
+
mimeType?: string | null | undefined;
|
|
1172
|
+
size?: number | null | undefined;
|
|
1172
1173
|
annotations?: {
|
|
1173
1174
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1174
1175
|
lastModified?: string | null | undefined;
|
|
1175
1176
|
priority?: number | null | undefined;
|
|
1176
1177
|
} | null | undefined;
|
|
1177
|
-
mimeType?: string | null | undefined;
|
|
1178
1178
|
} | {
|
|
1179
1179
|
type: "resource";
|
|
1180
1180
|
resource: {
|
|
@@ -1198,13 +1198,13 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1198
1198
|
path: z.ZodString;
|
|
1199
1199
|
type: z.ZodLiteral<"diff">;
|
|
1200
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1201
|
-
type: "diff";
|
|
1202
1201
|
path: string;
|
|
1202
|
+
type: "diff";
|
|
1203
1203
|
newText: string;
|
|
1204
1204
|
oldText: string | null;
|
|
1205
1205
|
}, {
|
|
1206
|
-
type: "diff";
|
|
1207
1206
|
path: string;
|
|
1207
|
+
type: "diff";
|
|
1208
1208
|
newText: string;
|
|
1209
1209
|
oldText: string | null;
|
|
1210
1210
|
}>]>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1234
1234
|
lastModified?: string | null | undefined;
|
|
1235
1235
|
priority?: number | null | undefined;
|
|
1236
1236
|
} | null | undefined;
|
|
1237
1237
|
}, {
|
|
1238
|
-
text: string;
|
|
1239
1238
|
type: "text";
|
|
1239
|
+
text: string;
|
|
1240
1240
|
annotations?: {
|
|
1241
1241
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1242
1242
|
lastModified?: string | null | undefined;
|
|
@@ -1337,28 +1337,28 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1337
1337
|
type: "resource_link";
|
|
1338
1338
|
name: string;
|
|
1339
1339
|
uri: string;
|
|
1340
|
-
size?: number | null | undefined;
|
|
1341
1340
|
description?: string | null | undefined;
|
|
1342
1341
|
title?: string | null | undefined;
|
|
1342
|
+
mimeType?: string | null | undefined;
|
|
1343
|
+
size?: number | null | undefined;
|
|
1343
1344
|
annotations?: {
|
|
1344
1345
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1345
1346
|
lastModified?: string | null | undefined;
|
|
1346
1347
|
priority?: number | null | undefined;
|
|
1347
1348
|
} | null | undefined;
|
|
1348
|
-
mimeType?: string | null | undefined;
|
|
1349
1349
|
}, {
|
|
1350
1350
|
type: "resource_link";
|
|
1351
1351
|
name: string;
|
|
1352
1352
|
uri: string;
|
|
1353
|
-
size?: number | null | undefined;
|
|
1354
1353
|
description?: string | null | undefined;
|
|
1355
1354
|
title?: string | null | undefined;
|
|
1355
|
+
mimeType?: string | null | undefined;
|
|
1356
|
+
size?: number | null | undefined;
|
|
1356
1357
|
annotations?: {
|
|
1357
1358
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1358
1359
|
lastModified?: string | null | undefined;
|
|
1359
1360
|
priority?: number | null | undefined;
|
|
1360
1361
|
} | null | undefined;
|
|
1361
|
-
mimeType?: string | null | undefined;
|
|
1362
1362
|
}>, z.ZodObject<{
|
|
1363
1363
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1364
1364
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -1436,8 +1436,8 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1436
1436
|
}, "strip", z.ZodTypeAny, {
|
|
1437
1437
|
type: "content";
|
|
1438
1438
|
content: {
|
|
1439
|
-
text: string;
|
|
1440
1439
|
type: "text";
|
|
1440
|
+
text: string;
|
|
1441
1441
|
annotations?: {
|
|
1442
1442
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1443
1443
|
lastModified?: string | null | undefined;
|
|
@@ -1465,15 +1465,15 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1465
1465
|
type: "resource_link";
|
|
1466
1466
|
name: string;
|
|
1467
1467
|
uri: string;
|
|
1468
|
-
size?: number | null | undefined;
|
|
1469
1468
|
description?: string | null | undefined;
|
|
1470
1469
|
title?: string | null | undefined;
|
|
1470
|
+
mimeType?: string | null | undefined;
|
|
1471
|
+
size?: number | null | undefined;
|
|
1471
1472
|
annotations?: {
|
|
1472
1473
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1473
1474
|
lastModified?: string | null | undefined;
|
|
1474
1475
|
priority?: number | null | undefined;
|
|
1475
1476
|
} | null | undefined;
|
|
1476
|
-
mimeType?: string | null | undefined;
|
|
1477
1477
|
} | {
|
|
1478
1478
|
type: "resource";
|
|
1479
1479
|
resource: {
|
|
@@ -1494,8 +1494,8 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1494
1494
|
}, {
|
|
1495
1495
|
type: "content";
|
|
1496
1496
|
content: {
|
|
1497
|
-
text: string;
|
|
1498
1497
|
type: "text";
|
|
1498
|
+
text: string;
|
|
1499
1499
|
annotations?: {
|
|
1500
1500
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1501
1501
|
lastModified?: string | null | undefined;
|
|
@@ -1523,15 +1523,15 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1523
1523
|
type: "resource_link";
|
|
1524
1524
|
name: string;
|
|
1525
1525
|
uri: string;
|
|
1526
|
-
size?: number | null | undefined;
|
|
1527
1526
|
description?: string | null | undefined;
|
|
1528
1527
|
title?: string | null | undefined;
|
|
1528
|
+
mimeType?: string | null | undefined;
|
|
1529
|
+
size?: number | null | undefined;
|
|
1529
1530
|
annotations?: {
|
|
1530
1531
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1531
1532
|
lastModified?: string | null | undefined;
|
|
1532
1533
|
priority?: number | null | undefined;
|
|
1533
1534
|
} | null | undefined;
|
|
1534
|
-
mimeType?: string | null | undefined;
|
|
1535
1535
|
} | {
|
|
1536
1536
|
type: "resource";
|
|
1537
1537
|
resource: {
|
|
@@ -1555,13 +1555,13 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1555
1555
|
path: z.ZodString;
|
|
1556
1556
|
type: z.ZodLiteral<"diff">;
|
|
1557
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1558
|
-
type: "diff";
|
|
1559
1558
|
path: string;
|
|
1559
|
+
type: "diff";
|
|
1560
1560
|
newText: string;
|
|
1561
1561
|
oldText: string | null;
|
|
1562
1562
|
}, {
|
|
1563
|
-
type: "diff";
|
|
1564
1563
|
path: string;
|
|
1564
|
+
type: "diff";
|
|
1565
1565
|
newText: string;
|
|
1566
1566
|
oldText: string | null;
|
|
1567
1567
|
}>]>, "many">>;
|
|
@@ -1582,14 +1582,14 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1582
1582
|
toolCallId: z.ZodString;
|
|
1583
1583
|
}, "strip", z.ZodTypeAny, {
|
|
1584
1584
|
title: string;
|
|
1585
|
-
status: "
|
|
1586
|
-
kind: "
|
|
1585
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
1586
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
1587
1587
|
toolCallId: string;
|
|
1588
1588
|
content?: ({
|
|
1589
1589
|
type: "content";
|
|
1590
1590
|
content: {
|
|
1591
|
-
text: string;
|
|
1592
1591
|
type: "text";
|
|
1592
|
+
text: string;
|
|
1593
1593
|
annotations?: {
|
|
1594
1594
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1595
1595
|
lastModified?: string | null | undefined;
|
|
@@ -1617,15 +1617,15 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1617
1617
|
type: "resource_link";
|
|
1618
1618
|
name: string;
|
|
1619
1619
|
uri: string;
|
|
1620
|
-
size?: number | null | undefined;
|
|
1621
1620
|
description?: string | null | undefined;
|
|
1622
1621
|
title?: string | null | undefined;
|
|
1622
|
+
mimeType?: string | null | undefined;
|
|
1623
|
+
size?: number | null | undefined;
|
|
1623
1624
|
annotations?: {
|
|
1624
1625
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1625
1626
|
lastModified?: string | null | undefined;
|
|
1626
1627
|
priority?: number | null | undefined;
|
|
1627
1628
|
} | null | undefined;
|
|
1628
|
-
mimeType?: string | null | undefined;
|
|
1629
1629
|
} | {
|
|
1630
1630
|
type: "resource";
|
|
1631
1631
|
resource: {
|
|
@@ -1644,8 +1644,8 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1644
1644
|
} | null | undefined;
|
|
1645
1645
|
};
|
|
1646
1646
|
} | {
|
|
1647
|
-
type: "diff";
|
|
1648
1647
|
path: string;
|
|
1648
|
+
type: "diff";
|
|
1649
1649
|
newText: string;
|
|
1650
1650
|
oldText: string | null;
|
|
1651
1651
|
})[] | undefined;
|
|
@@ -1656,14 +1656,14 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1656
1656
|
rawInput?: unknown;
|
|
1657
1657
|
}, {
|
|
1658
1658
|
title: string;
|
|
1659
|
-
status: "
|
|
1660
|
-
kind: "
|
|
1659
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
1660
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
1661
1661
|
toolCallId: string;
|
|
1662
1662
|
content?: ({
|
|
1663
1663
|
type: "content";
|
|
1664
1664
|
content: {
|
|
1665
|
-
text: string;
|
|
1666
1665
|
type: "text";
|
|
1666
|
+
text: string;
|
|
1667
1667
|
annotations?: {
|
|
1668
1668
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1669
1669
|
lastModified?: string | null | undefined;
|
|
@@ -1691,15 +1691,15 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1691
1691
|
type: "resource_link";
|
|
1692
1692
|
name: string;
|
|
1693
1693
|
uri: string;
|
|
1694
|
-
size?: number | null | undefined;
|
|
1695
1694
|
description?: string | null | undefined;
|
|
1696
1695
|
title?: string | null | undefined;
|
|
1696
|
+
mimeType?: string | null | undefined;
|
|
1697
|
+
size?: number | null | undefined;
|
|
1697
1698
|
annotations?: {
|
|
1698
1699
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1699
1700
|
lastModified?: string | null | undefined;
|
|
1700
1701
|
priority?: number | null | undefined;
|
|
1701
1702
|
} | null | undefined;
|
|
1702
|
-
mimeType?: string | null | undefined;
|
|
1703
1703
|
} | {
|
|
1704
1704
|
type: "resource";
|
|
1705
1705
|
resource: {
|
|
@@ -1718,8 +1718,8 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1718
1718
|
} | null | undefined;
|
|
1719
1719
|
};
|
|
1720
1720
|
} | {
|
|
1721
|
-
type: "diff";
|
|
1722
1721
|
path: string;
|
|
1722
|
+
type: "diff";
|
|
1723
1723
|
newText: string;
|
|
1724
1724
|
oldText: string | null;
|
|
1725
1725
|
})[] | undefined;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1776
1776
|
lastModified?: string | null | undefined;
|
|
1777
1777
|
priority?: number | null | undefined;
|
|
1778
1778
|
} | null | undefined;
|
|
1779
1779
|
}, {
|
|
1780
|
-
text: string;
|
|
1781
1780
|
type: "text";
|
|
1781
|
+
text: string;
|
|
1782
1782
|
annotations?: {
|
|
1783
1783
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1784
1784
|
lastModified?: string | null | undefined;
|
|
@@ -1879,28 +1879,28 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
1879
1879
|
type: "resource_link";
|
|
1880
1880
|
name: string;
|
|
1881
1881
|
uri: string;
|
|
1882
|
-
size?: number | null | undefined;
|
|
1883
1882
|
description?: string | null | undefined;
|
|
1884
1883
|
title?: string | null | undefined;
|
|
1884
|
+
mimeType?: string | null | undefined;
|
|
1885
|
+
size?: number | null | undefined;
|
|
1885
1886
|
annotations?: {
|
|
1886
1887
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1887
1888
|
lastModified?: string | null | undefined;
|
|
1888
1889
|
priority?: number | null | undefined;
|
|
1889
1890
|
} | null | undefined;
|
|
1890
|
-
mimeType?: string | null | undefined;
|
|
1891
1891
|
}, {
|
|
1892
1892
|
type: "resource_link";
|
|
1893
1893
|
name: string;
|
|
1894
1894
|
uri: string;
|
|
1895
|
-
size?: number | null | undefined;
|
|
1896
1895
|
description?: string | null | undefined;
|
|
1897
1896
|
title?: string | null | undefined;
|
|
1897
|
+
mimeType?: string | null | undefined;
|
|
1898
|
+
size?: number | null | undefined;
|
|
1898
1899
|
annotations?: {
|
|
1899
1900
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1900
1901
|
lastModified?: string | null | undefined;
|
|
1901
1902
|
priority?: number | null | undefined;
|
|
1902
1903
|
} | null | undefined;
|
|
1903
|
-
mimeType?: string | null | undefined;
|
|
1904
1904
|
}>, z.ZodObject<{
|
|
1905
1905
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1906
1906
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -1977,8 +1977,8 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
1977
1977
|
sessionId: z.ZodString;
|
|
1978
1978
|
}, "strip", z.ZodTypeAny, {
|
|
1979
1979
|
prompt: ({
|
|
1980
|
-
text: string;
|
|
1981
1980
|
type: "text";
|
|
1981
|
+
text: string;
|
|
1982
1982
|
annotations?: {
|
|
1983
1983
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1984
1984
|
lastModified?: string | null | undefined;
|
|
@@ -2006,15 +2006,15 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
2006
2006
|
type: "resource_link";
|
|
2007
2007
|
name: string;
|
|
2008
2008
|
uri: string;
|
|
2009
|
-
size?: number | null | undefined;
|
|
2010
2009
|
description?: string | null | undefined;
|
|
2011
2010
|
title?: string | null | undefined;
|
|
2011
|
+
mimeType?: string | null | undefined;
|
|
2012
|
+
size?: number | null | undefined;
|
|
2012
2013
|
annotations?: {
|
|
2013
2014
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2014
2015
|
lastModified?: string | null | undefined;
|
|
2015
2016
|
priority?: number | null | undefined;
|
|
2016
2017
|
} | null | undefined;
|
|
2017
|
-
mimeType?: string | null | undefined;
|
|
2018
2018
|
} | {
|
|
2019
2019
|
type: "resource";
|
|
2020
2020
|
resource: {
|
|
@@ -2035,8 +2035,8 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
2035
2035
|
sessionId: string;
|
|
2036
2036
|
}, {
|
|
2037
2037
|
prompt: ({
|
|
2038
|
-
text: string;
|
|
2039
2038
|
type: "text";
|
|
2039
|
+
text: string;
|
|
2040
2040
|
annotations?: {
|
|
2041
2041
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2042
2042
|
lastModified?: string | null | undefined;
|
|
@@ -2064,15 +2064,15 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
2064
2064
|
type: "resource_link";
|
|
2065
2065
|
name: string;
|
|
2066
2066
|
uri: string;
|
|
2067
|
-
size?: number | null | undefined;
|
|
2068
2067
|
description?: string | null | undefined;
|
|
2069
2068
|
title?: string | null | undefined;
|
|
2069
|
+
mimeType?: string | null | undefined;
|
|
2070
|
+
size?: number | null | undefined;
|
|
2070
2071
|
annotations?: {
|
|
2071
2072
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2072
2073
|
lastModified?: string | null | undefined;
|
|
2073
2074
|
priority?: number | null | undefined;
|
|
2074
2075
|
} | null | undefined;
|
|
2075
|
-
mimeType?: string | null | undefined;
|
|
2076
2076
|
} | {
|
|
2077
2077
|
type: "resource";
|
|
2078
2078
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2117
2117
|
lastModified?: string | null | undefined;
|
|
2118
2118
|
priority?: number | null | undefined;
|
|
2119
2119
|
} | null | undefined;
|
|
2120
2120
|
}, {
|
|
2121
|
-
text: string;
|
|
2122
2121
|
type: "text";
|
|
2122
|
+
text: string;
|
|
2123
2123
|
annotations?: {
|
|
2124
2124
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2125
2125
|
lastModified?: string | null | undefined;
|
|
@@ -2220,28 +2220,28 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2220
2220
|
type: "resource_link";
|
|
2221
2221
|
name: string;
|
|
2222
2222
|
uri: string;
|
|
2223
|
-
size?: number | null | undefined;
|
|
2224
2223
|
description?: string | null | undefined;
|
|
2225
2224
|
title?: string | null | undefined;
|
|
2225
|
+
mimeType?: string | null | undefined;
|
|
2226
|
+
size?: number | null | undefined;
|
|
2226
2227
|
annotations?: {
|
|
2227
2228
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2228
2229
|
lastModified?: string | null | undefined;
|
|
2229
2230
|
priority?: number | null | undefined;
|
|
2230
2231
|
} | null | undefined;
|
|
2231
|
-
mimeType?: string | null | undefined;
|
|
2232
2232
|
}, {
|
|
2233
2233
|
type: "resource_link";
|
|
2234
2234
|
name: string;
|
|
2235
2235
|
uri: string;
|
|
2236
|
-
size?: number | null | undefined;
|
|
2237
2236
|
description?: string | null | undefined;
|
|
2238
2237
|
title?: string | null | undefined;
|
|
2238
|
+
mimeType?: string | null | undefined;
|
|
2239
|
+
size?: number | null | undefined;
|
|
2239
2240
|
annotations?: {
|
|
2240
2241
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2241
2242
|
lastModified?: string | null | undefined;
|
|
2242
2243
|
priority?: number | null | undefined;
|
|
2243
2244
|
} | null | undefined;
|
|
2244
|
-
mimeType?: string | null | undefined;
|
|
2245
2245
|
}>, z.ZodObject<{
|
|
2246
2246
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2247
2247
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2325
2325
|
lastModified?: string | null | undefined;
|
|
@@ -2347,15 +2347,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2347
2347
|
type: "resource_link";
|
|
2348
2348
|
name: string;
|
|
2349
2349
|
uri: string;
|
|
2350
|
-
size?: number | null | undefined;
|
|
2351
2350
|
description?: string | null | undefined;
|
|
2352
2351
|
title?: string | null | undefined;
|
|
2352
|
+
mimeType?: string | null | undefined;
|
|
2353
|
+
size?: number | null | undefined;
|
|
2353
2354
|
annotations?: {
|
|
2354
2355
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2355
2356
|
lastModified?: string | null | undefined;
|
|
2356
2357
|
priority?: number | null | undefined;
|
|
2357
2358
|
} | null | undefined;
|
|
2358
|
-
mimeType?: string | null | undefined;
|
|
2359
2359
|
} | {
|
|
2360
2360
|
type: "resource";
|
|
2361
2361
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2383
2383
|
lastModified?: string | null | undefined;
|
|
@@ -2405,15 +2405,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2405
2405
|
type: "resource_link";
|
|
2406
2406
|
name: string;
|
|
2407
2407
|
uri: string;
|
|
2408
|
-
size?: number | null | undefined;
|
|
2409
2408
|
description?: string | null | undefined;
|
|
2410
2409
|
title?: string | null | undefined;
|
|
2410
|
+
mimeType?: string | null | undefined;
|
|
2411
|
+
size?: number | null | undefined;
|
|
2411
2412
|
annotations?: {
|
|
2412
2413
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2413
2414
|
lastModified?: string | null | undefined;
|
|
2414
2415
|
priority?: number | null | undefined;
|
|
2415
2416
|
} | null | undefined;
|
|
2416
|
-
mimeType?: string | null | undefined;
|
|
2417
2417
|
} | {
|
|
2418
2418
|
type: "resource";
|
|
2419
2419
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2457
2457
|
lastModified?: string | null | undefined;
|
|
2458
2458
|
priority?: number | null | undefined;
|
|
2459
2459
|
} | null | undefined;
|
|
2460
2460
|
}, {
|
|
2461
|
-
text: string;
|
|
2462
2461
|
type: "text";
|
|
2462
|
+
text: string;
|
|
2463
2463
|
annotations?: {
|
|
2464
2464
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2465
2465
|
lastModified?: string | null | undefined;
|
|
@@ -2560,28 +2560,28 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2560
2560
|
type: "resource_link";
|
|
2561
2561
|
name: string;
|
|
2562
2562
|
uri: string;
|
|
2563
|
-
size?: number | null | undefined;
|
|
2564
2563
|
description?: string | null | undefined;
|
|
2565
2564
|
title?: string | null | undefined;
|
|
2565
|
+
mimeType?: string | null | undefined;
|
|
2566
|
+
size?: number | null | undefined;
|
|
2566
2567
|
annotations?: {
|
|
2567
2568
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2568
2569
|
lastModified?: string | null | undefined;
|
|
2569
2570
|
priority?: number | null | undefined;
|
|
2570
2571
|
} | null | undefined;
|
|
2571
|
-
mimeType?: string | null | undefined;
|
|
2572
2572
|
}, {
|
|
2573
2573
|
type: "resource_link";
|
|
2574
2574
|
name: string;
|
|
2575
2575
|
uri: string;
|
|
2576
|
-
size?: number | null | undefined;
|
|
2577
2576
|
description?: string | null | undefined;
|
|
2578
2577
|
title?: string | null | undefined;
|
|
2578
|
+
mimeType?: string | null | undefined;
|
|
2579
|
+
size?: number | null | undefined;
|
|
2579
2580
|
annotations?: {
|
|
2580
2581
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2581
2582
|
lastModified?: string | null | undefined;
|
|
2582
2583
|
priority?: number | null | undefined;
|
|
2583
2584
|
} | null | undefined;
|
|
2584
|
-
mimeType?: string | null | undefined;
|
|
2585
2585
|
}>, z.ZodObject<{
|
|
2586
2586
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2587
2587
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2665
2665
|
lastModified?: string | null | undefined;
|
|
@@ -2687,15 +2687,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2687
2687
|
type: "resource_link";
|
|
2688
2688
|
name: string;
|
|
2689
2689
|
uri: string;
|
|
2690
|
-
size?: number | null | undefined;
|
|
2691
2690
|
description?: string | null | undefined;
|
|
2692
2691
|
title?: string | null | undefined;
|
|
2692
|
+
mimeType?: string | null | undefined;
|
|
2693
|
+
size?: number | null | undefined;
|
|
2693
2694
|
annotations?: {
|
|
2694
2695
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2695
2696
|
lastModified?: string | null | undefined;
|
|
2696
2697
|
priority?: number | null | undefined;
|
|
2697
2698
|
} | null | undefined;
|
|
2698
|
-
mimeType?: string | null | undefined;
|
|
2699
2699
|
} | {
|
|
2700
2700
|
type: "resource";
|
|
2701
2701
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2723
2723
|
lastModified?: string | null | undefined;
|
|
@@ -2745,15 +2745,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2745
2745
|
type: "resource_link";
|
|
2746
2746
|
name: string;
|
|
2747
2747
|
uri: string;
|
|
2748
|
-
size?: number | null | undefined;
|
|
2749
2748
|
description?: string | null | undefined;
|
|
2750
2749
|
title?: string | null | undefined;
|
|
2750
|
+
mimeType?: string | null | undefined;
|
|
2751
|
+
size?: number | null | undefined;
|
|
2751
2752
|
annotations?: {
|
|
2752
2753
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2753
2754
|
lastModified?: string | null | undefined;
|
|
2754
2755
|
priority?: number | null | undefined;
|
|
2755
2756
|
} | null | undefined;
|
|
2756
|
-
mimeType?: string | null | undefined;
|
|
2757
2757
|
} | {
|
|
2758
2758
|
type: "resource";
|
|
2759
2759
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2797
2797
|
lastModified?: string | null | undefined;
|
|
2798
2798
|
priority?: number | null | undefined;
|
|
2799
2799
|
} | null | undefined;
|
|
2800
2800
|
}, {
|
|
2801
|
-
text: string;
|
|
2802
2801
|
type: "text";
|
|
2802
|
+
text: string;
|
|
2803
2803
|
annotations?: {
|
|
2804
2804
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2805
2805
|
lastModified?: string | null | undefined;
|
|
@@ -2900,28 +2900,28 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2900
2900
|
type: "resource_link";
|
|
2901
2901
|
name: string;
|
|
2902
2902
|
uri: string;
|
|
2903
|
-
size?: number | null | undefined;
|
|
2904
2903
|
description?: string | null | undefined;
|
|
2905
2904
|
title?: string | null | undefined;
|
|
2905
|
+
mimeType?: string | null | undefined;
|
|
2906
|
+
size?: number | null | undefined;
|
|
2906
2907
|
annotations?: {
|
|
2907
2908
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2908
2909
|
lastModified?: string | null | undefined;
|
|
2909
2910
|
priority?: number | null | undefined;
|
|
2910
2911
|
} | null | undefined;
|
|
2911
|
-
mimeType?: string | null | undefined;
|
|
2912
2912
|
}, {
|
|
2913
2913
|
type: "resource_link";
|
|
2914
2914
|
name: string;
|
|
2915
2915
|
uri: string;
|
|
2916
|
-
size?: number | null | undefined;
|
|
2917
2916
|
description?: string | null | undefined;
|
|
2918
2917
|
title?: string | null | undefined;
|
|
2918
|
+
mimeType?: string | null | undefined;
|
|
2919
|
+
size?: number | null | undefined;
|
|
2919
2920
|
annotations?: {
|
|
2920
2921
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2921
2922
|
lastModified?: string | null | undefined;
|
|
2922
2923
|
priority?: number | null | undefined;
|
|
2923
2924
|
} | null | undefined;
|
|
2924
|
-
mimeType?: string | null | undefined;
|
|
2925
2925
|
}>, z.ZodObject<{
|
|
2926
2926
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2927
2927
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3005
3005
|
lastModified?: string | null | undefined;
|
|
@@ -3027,15 +3027,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3027
3027
|
type: "resource_link";
|
|
3028
3028
|
name: string;
|
|
3029
3029
|
uri: string;
|
|
3030
|
-
size?: number | null | undefined;
|
|
3031
3030
|
description?: string | null | undefined;
|
|
3032
3031
|
title?: string | null | undefined;
|
|
3032
|
+
mimeType?: string | null | undefined;
|
|
3033
|
+
size?: number | null | undefined;
|
|
3033
3034
|
annotations?: {
|
|
3034
3035
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3035
3036
|
lastModified?: string | null | undefined;
|
|
3036
3037
|
priority?: number | null | undefined;
|
|
3037
3038
|
} | null | undefined;
|
|
3038
|
-
mimeType?: string | null | undefined;
|
|
3039
3039
|
} | {
|
|
3040
3040
|
type: "resource";
|
|
3041
3041
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3063
3063
|
lastModified?: string | null | undefined;
|
|
@@ -3085,15 +3085,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3085
3085
|
type: "resource_link";
|
|
3086
3086
|
name: string;
|
|
3087
3087
|
uri: string;
|
|
3088
|
-
size?: number | null | undefined;
|
|
3089
3088
|
description?: string | null | undefined;
|
|
3090
3089
|
title?: string | null | undefined;
|
|
3090
|
+
mimeType?: string | null | undefined;
|
|
3091
|
+
size?: number | null | undefined;
|
|
3091
3092
|
annotations?: {
|
|
3092
3093
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3093
3094
|
lastModified?: string | null | undefined;
|
|
3094
3095
|
priority?: number | null | undefined;
|
|
3095
3096
|
} | null | undefined;
|
|
3096
|
-
mimeType?: string | null | undefined;
|
|
3097
3097
|
} | {
|
|
3098
3098
|
type: "resource";
|
|
3099
3099
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3138
3138
|
lastModified?: string | null | undefined;
|
|
3139
3139
|
priority?: number | null | undefined;
|
|
3140
3140
|
} | null | undefined;
|
|
3141
3141
|
}, {
|
|
3142
|
-
text: string;
|
|
3143
3142
|
type: "text";
|
|
3143
|
+
text: string;
|
|
3144
3144
|
annotations?: {
|
|
3145
3145
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3146
3146
|
lastModified?: string | null | undefined;
|
|
@@ -3241,28 +3241,28 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3241
3241
|
type: "resource_link";
|
|
3242
3242
|
name: string;
|
|
3243
3243
|
uri: string;
|
|
3244
|
-
size?: number | null | undefined;
|
|
3245
3244
|
description?: string | null | undefined;
|
|
3246
3245
|
title?: string | null | undefined;
|
|
3246
|
+
mimeType?: string | null | undefined;
|
|
3247
|
+
size?: number | null | undefined;
|
|
3247
3248
|
annotations?: {
|
|
3248
3249
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3249
3250
|
lastModified?: string | null | undefined;
|
|
3250
3251
|
priority?: number | null | undefined;
|
|
3251
3252
|
} | null | undefined;
|
|
3252
|
-
mimeType?: string | null | undefined;
|
|
3253
3253
|
}, {
|
|
3254
3254
|
type: "resource_link";
|
|
3255
3255
|
name: string;
|
|
3256
3256
|
uri: string;
|
|
3257
|
-
size?: number | null | undefined;
|
|
3258
3257
|
description?: string | null | undefined;
|
|
3259
3258
|
title?: string | null | undefined;
|
|
3259
|
+
mimeType?: string | null | undefined;
|
|
3260
|
+
size?: number | null | undefined;
|
|
3260
3261
|
annotations?: {
|
|
3261
3262
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3262
3263
|
lastModified?: string | null | undefined;
|
|
3263
3264
|
priority?: number | null | undefined;
|
|
3264
3265
|
} | null | undefined;
|
|
3265
|
-
mimeType?: string | null | undefined;
|
|
3266
3266
|
}>, z.ZodObject<{
|
|
3267
3267
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3268
3268
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -3340,8 +3340,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3340
3340
|
}, "strip", z.ZodTypeAny, {
|
|
3341
3341
|
type: "content";
|
|
3342
3342
|
content: {
|
|
3343
|
-
text: string;
|
|
3344
3343
|
type: "text";
|
|
3344
|
+
text: string;
|
|
3345
3345
|
annotations?: {
|
|
3346
3346
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3347
3347
|
lastModified?: string | null | undefined;
|
|
@@ -3369,15 +3369,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3369
3369
|
type: "resource_link";
|
|
3370
3370
|
name: string;
|
|
3371
3371
|
uri: string;
|
|
3372
|
-
size?: number | null | undefined;
|
|
3373
3372
|
description?: string | null | undefined;
|
|
3374
3373
|
title?: string | null | undefined;
|
|
3374
|
+
mimeType?: string | null | undefined;
|
|
3375
|
+
size?: number | null | undefined;
|
|
3375
3376
|
annotations?: {
|
|
3376
3377
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3377
3378
|
lastModified?: string | null | undefined;
|
|
3378
3379
|
priority?: number | null | undefined;
|
|
3379
3380
|
} | null | undefined;
|
|
3380
|
-
mimeType?: string | null | undefined;
|
|
3381
3381
|
} | {
|
|
3382
3382
|
type: "resource";
|
|
3383
3383
|
resource: {
|
|
@@ -3398,8 +3398,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3398
3398
|
}, {
|
|
3399
3399
|
type: "content";
|
|
3400
3400
|
content: {
|
|
3401
|
-
text: string;
|
|
3402
3401
|
type: "text";
|
|
3402
|
+
text: string;
|
|
3403
3403
|
annotations?: {
|
|
3404
3404
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3405
3405
|
lastModified?: string | null | undefined;
|
|
@@ -3427,15 +3427,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3427
3427
|
type: "resource_link";
|
|
3428
3428
|
name: string;
|
|
3429
3429
|
uri: string;
|
|
3430
|
-
size?: number | null | undefined;
|
|
3431
3430
|
description?: string | null | undefined;
|
|
3432
3431
|
title?: string | null | undefined;
|
|
3432
|
+
mimeType?: string | null | undefined;
|
|
3433
|
+
size?: number | null | undefined;
|
|
3433
3434
|
annotations?: {
|
|
3434
3435
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3435
3436
|
lastModified?: string | null | undefined;
|
|
3436
3437
|
priority?: number | null | undefined;
|
|
3437
3438
|
} | null | undefined;
|
|
3438
|
-
mimeType?: string | null | undefined;
|
|
3439
3439
|
} | {
|
|
3440
3440
|
type: "resource";
|
|
3441
3441
|
resource: {
|
|
@@ -3459,13 +3459,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3459
3459
|
path: z.ZodString;
|
|
3460
3460
|
type: z.ZodLiteral<"diff">;
|
|
3461
3461
|
}, "strip", z.ZodTypeAny, {
|
|
3462
|
-
type: "diff";
|
|
3463
3462
|
path: string;
|
|
3463
|
+
type: "diff";
|
|
3464
3464
|
newText: string;
|
|
3465
3465
|
oldText: string | null;
|
|
3466
3466
|
}, {
|
|
3467
|
-
type: "diff";
|
|
3468
3467
|
path: string;
|
|
3468
|
+
type: "diff";
|
|
3469
3469
|
newText: string;
|
|
3470
3470
|
oldText: string | null;
|
|
3471
3471
|
}>]>, "many">>;
|
|
@@ -3487,15 +3487,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3487
3487
|
toolCallId: z.ZodString;
|
|
3488
3488
|
}, "strip", z.ZodTypeAny, {
|
|
3489
3489
|
title: string;
|
|
3490
|
-
status: "
|
|
3490
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
3491
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
3491
3492
|
sessionUpdate: "tool_call";
|
|
3492
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
3493
3493
|
toolCallId: string;
|
|
3494
3494
|
content?: ({
|
|
3495
3495
|
type: "content";
|
|
3496
3496
|
content: {
|
|
3497
|
-
text: string;
|
|
3498
3497
|
type: "text";
|
|
3498
|
+
text: string;
|
|
3499
3499
|
annotations?: {
|
|
3500
3500
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3501
3501
|
lastModified?: string | null | undefined;
|
|
@@ -3523,15 +3523,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3523
3523
|
type: "resource_link";
|
|
3524
3524
|
name: string;
|
|
3525
3525
|
uri: string;
|
|
3526
|
-
size?: number | null | undefined;
|
|
3527
3526
|
description?: string | null | undefined;
|
|
3528
3527
|
title?: string | null | undefined;
|
|
3528
|
+
mimeType?: string | null | undefined;
|
|
3529
|
+
size?: number | null | undefined;
|
|
3529
3530
|
annotations?: {
|
|
3530
3531
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3531
3532
|
lastModified?: string | null | undefined;
|
|
3532
3533
|
priority?: number | null | undefined;
|
|
3533
3534
|
} | null | undefined;
|
|
3534
|
-
mimeType?: string | null | undefined;
|
|
3535
3535
|
} | {
|
|
3536
3536
|
type: "resource";
|
|
3537
3537
|
resource: {
|
|
@@ -3550,8 +3550,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3550
3550
|
} | null | undefined;
|
|
3551
3551
|
};
|
|
3552
3552
|
} | {
|
|
3553
|
-
type: "diff";
|
|
3554
3553
|
path: string;
|
|
3554
|
+
type: "diff";
|
|
3555
3555
|
newText: string;
|
|
3556
3556
|
oldText: string | null;
|
|
3557
3557
|
})[] | undefined;
|
|
@@ -3562,15 +3562,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3562
3562
|
rawInput?: unknown;
|
|
3563
3563
|
}, {
|
|
3564
3564
|
title: string;
|
|
3565
|
-
status: "
|
|
3565
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
3566
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
3566
3567
|
sessionUpdate: "tool_call";
|
|
3567
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
3568
3568
|
toolCallId: string;
|
|
3569
3569
|
content?: ({
|
|
3570
3570
|
type: "content";
|
|
3571
3571
|
content: {
|
|
3572
|
-
text: string;
|
|
3573
3572
|
type: "text";
|
|
3573
|
+
text: string;
|
|
3574
3574
|
annotations?: {
|
|
3575
3575
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3576
3576
|
lastModified?: string | null | undefined;
|
|
@@ -3598,15 +3598,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3598
3598
|
type: "resource_link";
|
|
3599
3599
|
name: string;
|
|
3600
3600
|
uri: string;
|
|
3601
|
-
size?: number | null | undefined;
|
|
3602
3601
|
description?: string | null | undefined;
|
|
3603
3602
|
title?: string | null | undefined;
|
|
3603
|
+
mimeType?: string | null | undefined;
|
|
3604
|
+
size?: number | null | undefined;
|
|
3604
3605
|
annotations?: {
|
|
3605
3606
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3606
3607
|
lastModified?: string | null | undefined;
|
|
3607
3608
|
priority?: number | null | undefined;
|
|
3608
3609
|
} | null | undefined;
|
|
3609
|
-
mimeType?: string | null | undefined;
|
|
3610
3610
|
} | {
|
|
3611
3611
|
type: "resource";
|
|
3612
3612
|
resource: {
|
|
@@ -3625,8 +3625,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3625
3625
|
} | null | undefined;
|
|
3626
3626
|
};
|
|
3627
3627
|
} | {
|
|
3628
|
-
type: "diff";
|
|
3629
3628
|
path: string;
|
|
3629
|
+
type: "diff";
|
|
3630
3630
|
newText: string;
|
|
3631
3631
|
oldText: string | null;
|
|
3632
3632
|
})[] | undefined;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3661
3661
|
lastModified?: string | null | undefined;
|
|
3662
3662
|
priority?: number | null | undefined;
|
|
3663
3663
|
} | null | undefined;
|
|
3664
3664
|
}, {
|
|
3665
|
-
text: string;
|
|
3666
3665
|
type: "text";
|
|
3666
|
+
text: string;
|
|
3667
3667
|
annotations?: {
|
|
3668
3668
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3669
3669
|
lastModified?: string | null | undefined;
|
|
@@ -3764,28 +3764,28 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3764
3764
|
type: "resource_link";
|
|
3765
3765
|
name: string;
|
|
3766
3766
|
uri: string;
|
|
3767
|
-
size?: number | null | undefined;
|
|
3768
3767
|
description?: string | null | undefined;
|
|
3769
3768
|
title?: string | null | undefined;
|
|
3769
|
+
mimeType?: string | null | undefined;
|
|
3770
|
+
size?: number | null | undefined;
|
|
3770
3771
|
annotations?: {
|
|
3771
3772
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3772
3773
|
lastModified?: string | null | undefined;
|
|
3773
3774
|
priority?: number | null | undefined;
|
|
3774
3775
|
} | null | undefined;
|
|
3775
|
-
mimeType?: string | null | undefined;
|
|
3776
3776
|
}, {
|
|
3777
3777
|
type: "resource_link";
|
|
3778
3778
|
name: string;
|
|
3779
3779
|
uri: string;
|
|
3780
|
-
size?: number | null | undefined;
|
|
3781
3780
|
description?: string | null | undefined;
|
|
3782
3781
|
title?: string | null | undefined;
|
|
3782
|
+
mimeType?: string | null | undefined;
|
|
3783
|
+
size?: number | null | undefined;
|
|
3783
3784
|
annotations?: {
|
|
3784
3785
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3785
3786
|
lastModified?: string | null | undefined;
|
|
3786
3787
|
priority?: number | null | undefined;
|
|
3787
3788
|
} | null | undefined;
|
|
3788
|
-
mimeType?: string | null | undefined;
|
|
3789
3789
|
}>, z.ZodObject<{
|
|
3790
3790
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3791
3791
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -3863,8 +3863,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3863
3863
|
}, "strip", z.ZodTypeAny, {
|
|
3864
3864
|
type: "content";
|
|
3865
3865
|
content: {
|
|
3866
|
-
text: string;
|
|
3867
3866
|
type: "text";
|
|
3867
|
+
text: string;
|
|
3868
3868
|
annotations?: {
|
|
3869
3869
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3870
3870
|
lastModified?: string | null | undefined;
|
|
@@ -3892,15 +3892,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3892
3892
|
type: "resource_link";
|
|
3893
3893
|
name: string;
|
|
3894
3894
|
uri: string;
|
|
3895
|
-
size?: number | null | undefined;
|
|
3896
3895
|
description?: string | null | undefined;
|
|
3897
3896
|
title?: string | null | undefined;
|
|
3897
|
+
mimeType?: string | null | undefined;
|
|
3898
|
+
size?: number | null | undefined;
|
|
3898
3899
|
annotations?: {
|
|
3899
3900
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3900
3901
|
lastModified?: string | null | undefined;
|
|
3901
3902
|
priority?: number | null | undefined;
|
|
3902
3903
|
} | null | undefined;
|
|
3903
|
-
mimeType?: string | null | undefined;
|
|
3904
3904
|
} | {
|
|
3905
3905
|
type: "resource";
|
|
3906
3906
|
resource: {
|
|
@@ -3921,8 +3921,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3921
3921
|
}, {
|
|
3922
3922
|
type: "content";
|
|
3923
3923
|
content: {
|
|
3924
|
-
text: string;
|
|
3925
3924
|
type: "text";
|
|
3925
|
+
text: string;
|
|
3926
3926
|
annotations?: {
|
|
3927
3927
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3928
3928
|
lastModified?: string | null | undefined;
|
|
@@ -3950,15 +3950,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3950
3950
|
type: "resource_link";
|
|
3951
3951
|
name: string;
|
|
3952
3952
|
uri: string;
|
|
3953
|
-
size?: number | null | undefined;
|
|
3954
3953
|
description?: string | null | undefined;
|
|
3955
3954
|
title?: string | null | undefined;
|
|
3955
|
+
mimeType?: string | null | undefined;
|
|
3956
|
+
size?: number | null | undefined;
|
|
3956
3957
|
annotations?: {
|
|
3957
3958
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3958
3959
|
lastModified?: string | null | undefined;
|
|
3959
3960
|
priority?: number | null | undefined;
|
|
3960
3961
|
} | null | undefined;
|
|
3961
|
-
mimeType?: string | null | undefined;
|
|
3962
3962
|
} | {
|
|
3963
3963
|
type: "resource";
|
|
3964
3964
|
resource: {
|
|
@@ -3982,13 +3982,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3982
3982
|
path: z.ZodString;
|
|
3983
3983
|
type: z.ZodLiteral<"diff">;
|
|
3984
3984
|
}, "strip", z.ZodTypeAny, {
|
|
3985
|
-
type: "diff";
|
|
3986
3985
|
path: string;
|
|
3986
|
+
type: "diff";
|
|
3987
3987
|
newText: string;
|
|
3988
3988
|
oldText: string | null;
|
|
3989
3989
|
}, {
|
|
3990
|
-
type: "diff";
|
|
3991
3990
|
path: string;
|
|
3991
|
+
type: "diff";
|
|
3992
3992
|
newText: string;
|
|
3993
3993
|
oldText: string | null;
|
|
3994
3994
|
}>]>, "many">>>;
|
|
@@ -4011,11 +4011,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4011
4011
|
}, "strip", z.ZodTypeAny, {
|
|
4012
4012
|
sessionUpdate: "tool_call_update";
|
|
4013
4013
|
toolCallId: string;
|
|
4014
|
+
title?: string | null | undefined;
|
|
4015
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
4014
4016
|
content?: ({
|
|
4015
4017
|
type: "content";
|
|
4016
4018
|
content: {
|
|
4017
|
-
text: string;
|
|
4018
4019
|
type: "text";
|
|
4020
|
+
text: string;
|
|
4019
4021
|
annotations?: {
|
|
4020
4022
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4021
4023
|
lastModified?: string | null | undefined;
|
|
@@ -4043,15 +4045,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4043
4045
|
type: "resource_link";
|
|
4044
4046
|
name: string;
|
|
4045
4047
|
uri: string;
|
|
4046
|
-
size?: number | null | undefined;
|
|
4047
4048
|
description?: string | null | undefined;
|
|
4048
4049
|
title?: string | null | undefined;
|
|
4050
|
+
mimeType?: string | null | undefined;
|
|
4051
|
+
size?: number | null | undefined;
|
|
4049
4052
|
annotations?: {
|
|
4050
4053
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4051
4054
|
lastModified?: string | null | undefined;
|
|
4052
4055
|
priority?: number | null | undefined;
|
|
4053
4056
|
} | null | undefined;
|
|
4054
|
-
mimeType?: string | null | undefined;
|
|
4055
4057
|
} | {
|
|
4056
4058
|
type: "resource";
|
|
4057
4059
|
resource: {
|
|
@@ -4070,14 +4072,12 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4070
4072
|
} | null | undefined;
|
|
4071
4073
|
};
|
|
4072
4074
|
} | {
|
|
4073
|
-
type: "diff";
|
|
4074
4075
|
path: string;
|
|
4076
|
+
type: "diff";
|
|
4075
4077
|
newText: string;
|
|
4076
4078
|
oldText: string | null;
|
|
4077
4079
|
})[] | null | undefined;
|
|
4078
|
-
|
|
4079
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
4080
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
4080
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
4081
4081
|
locations?: {
|
|
4082
4082
|
path: string;
|
|
4083
4083
|
line?: number | null | undefined;
|
|
@@ -4086,11 +4086,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4086
4086
|
}, {
|
|
4087
4087
|
sessionUpdate: "tool_call_update";
|
|
4088
4088
|
toolCallId: string;
|
|
4089
|
+
title?: string | null | undefined;
|
|
4090
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
4089
4091
|
content?: ({
|
|
4090
4092
|
type: "content";
|
|
4091
4093
|
content: {
|
|
4092
|
-
text: string;
|
|
4093
4094
|
type: "text";
|
|
4095
|
+
text: string;
|
|
4094
4096
|
annotations?: {
|
|
4095
4097
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4096
4098
|
lastModified?: string | null | undefined;
|
|
@@ -4118,15 +4120,15 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4118
4120
|
type: "resource_link";
|
|
4119
4121
|
name: string;
|
|
4120
4122
|
uri: string;
|
|
4121
|
-
size?: number | null | undefined;
|
|
4122
4123
|
description?: string | null | undefined;
|
|
4123
4124
|
title?: string | null | undefined;
|
|
4125
|
+
mimeType?: string | null | undefined;
|
|
4126
|
+
size?: number | null | undefined;
|
|
4124
4127
|
annotations?: {
|
|
4125
4128
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4126
4129
|
lastModified?: string | null | undefined;
|
|
4127
4130
|
priority?: number | null | undefined;
|
|
4128
4131
|
} | null | undefined;
|
|
4129
|
-
mimeType?: string | null | undefined;
|
|
4130
4132
|
} | {
|
|
4131
4133
|
type: "resource";
|
|
4132
4134
|
resource: {
|
|
@@ -4145,14 +4147,12 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4145
4147
|
} | null | undefined;
|
|
4146
4148
|
};
|
|
4147
4149
|
} | {
|
|
4148
|
-
type: "diff";
|
|
4149
4150
|
path: string;
|
|
4151
|
+
type: "diff";
|
|
4150
4152
|
newText: string;
|
|
4151
4153
|
oldText: string | null;
|
|
4152
4154
|
})[] | null | undefined;
|
|
4153
|
-
|
|
4154
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
4155
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
4155
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
4156
4156
|
locations?: {
|
|
4157
4157
|
path: string;
|
|
4158
4158
|
line?: number | null | undefined;
|
|
@@ -4164,26 +4164,26 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4164
4164
|
priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
|
|
4165
4165
|
status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
|
|
4166
4166
|
}, "strip", z.ZodTypeAny, {
|
|
4167
|
+
status: "completed" | "pending" | "in_progress";
|
|
4167
4168
|
content: string;
|
|
4168
|
-
status: "pending" | "in_progress" | "completed";
|
|
4169
4169
|
priority: "high" | "medium" | "low";
|
|
4170
4170
|
}, {
|
|
4171
|
+
status: "completed" | "pending" | "in_progress";
|
|
4171
4172
|
content: string;
|
|
4172
|
-
status: "pending" | "in_progress" | "completed";
|
|
4173
4173
|
priority: "high" | "medium" | "low";
|
|
4174
4174
|
}>, "many">;
|
|
4175
4175
|
sessionUpdate: z.ZodLiteral<"plan">;
|
|
4176
4176
|
}, "strip", z.ZodTypeAny, {
|
|
4177
4177
|
entries: {
|
|
4178
|
+
status: "completed" | "pending" | "in_progress";
|
|
4178
4179
|
content: string;
|
|
4179
|
-
status: "pending" | "in_progress" | "completed";
|
|
4180
4180
|
priority: "high" | "medium" | "low";
|
|
4181
4181
|
}[];
|
|
4182
4182
|
sessionUpdate: "plan";
|
|
4183
4183
|
}, {
|
|
4184
4184
|
entries: {
|
|
4185
|
+
status: "completed" | "pending" | "in_progress";
|
|
4185
4186
|
content: string;
|
|
4186
|
-
status: "pending" | "in_progress" | "completed";
|
|
4187
4187
|
priority: "high" | "medium" | "low";
|
|
4188
4188
|
}[];
|
|
4189
4189
|
sessionUpdate: "plan";
|
|
@@ -4196,27 +4196,27 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4196
4196
|
embeddedContext: z.ZodOptional<z.ZodBoolean>;
|
|
4197
4197
|
image: z.ZodOptional<z.ZodBoolean>;
|
|
4198
4198
|
}, "strip", z.ZodTypeAny, {
|
|
4199
|
+
image?: boolean | undefined;
|
|
4199
4200
|
audio?: boolean | undefined;
|
|
4200
4201
|
embeddedContext?: boolean | undefined;
|
|
4201
|
-
image?: boolean | undefined;
|
|
4202
4202
|
}, {
|
|
4203
|
+
image?: boolean | undefined;
|
|
4203
4204
|
audio?: boolean | undefined;
|
|
4204
4205
|
embeddedContext?: boolean | undefined;
|
|
4205
|
-
image?: boolean | undefined;
|
|
4206
4206
|
}>>;
|
|
4207
4207
|
}, "strip", z.ZodTypeAny, {
|
|
4208
4208
|
loadSession?: boolean | undefined;
|
|
4209
4209
|
promptCapabilities?: {
|
|
4210
|
+
image?: boolean | undefined;
|
|
4210
4211
|
audio?: boolean | undefined;
|
|
4211
4212
|
embeddedContext?: boolean | undefined;
|
|
4212
|
-
image?: boolean | undefined;
|
|
4213
4213
|
} | undefined;
|
|
4214
4214
|
}, {
|
|
4215
4215
|
loadSession?: boolean | undefined;
|
|
4216
4216
|
promptCapabilities?: {
|
|
4217
|
+
image?: boolean | undefined;
|
|
4217
4218
|
audio?: boolean | undefined;
|
|
4218
4219
|
embeddedContext?: boolean | undefined;
|
|
4219
|
-
image?: boolean | undefined;
|
|
4220
4220
|
} | undefined;
|
|
4221
4221
|
}>;
|
|
4222
4222
|
authMethods: z.ZodArray<z.ZodObject<{
|
|
@@ -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
|
-
name: string;
|
|
4229
4227
|
description: string | null;
|
|
4230
|
-
}, {
|
|
4231
|
-
id: string;
|
|
4232
4228
|
name: string;
|
|
4229
|
+
id: string;
|
|
4230
|
+
}, {
|
|
4233
4231
|
description: string | null;
|
|
4232
|
+
name: string;
|
|
4233
|
+
id: string;
|
|
4234
4234
|
}>, "many">;
|
|
4235
4235
|
protocolVersion: z.ZodNumber;
|
|
4236
4236
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4238,30 +4238,30 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4238
4238
|
agentCapabilities: {
|
|
4239
4239
|
loadSession?: boolean | undefined;
|
|
4240
4240
|
promptCapabilities?: {
|
|
4241
|
+
image?: boolean | undefined;
|
|
4241
4242
|
audio?: boolean | undefined;
|
|
4242
4243
|
embeddedContext?: boolean | undefined;
|
|
4243
|
-
image?: boolean | undefined;
|
|
4244
4244
|
} | undefined;
|
|
4245
4245
|
};
|
|
4246
4246
|
authMethods: {
|
|
4247
|
-
id: string;
|
|
4248
|
-
name: string;
|
|
4249
4247
|
description: string | null;
|
|
4248
|
+
name: string;
|
|
4249
|
+
id: string;
|
|
4250
4250
|
}[];
|
|
4251
4251
|
}, {
|
|
4252
4252
|
protocolVersion: number;
|
|
4253
4253
|
agentCapabilities: {
|
|
4254
4254
|
loadSession?: boolean | undefined;
|
|
4255
4255
|
promptCapabilities?: {
|
|
4256
|
+
image?: boolean | undefined;
|
|
4256
4257
|
audio?: boolean | undefined;
|
|
4257
4258
|
embeddedContext?: boolean | undefined;
|
|
4258
|
-
image?: boolean | undefined;
|
|
4259
4259
|
} | undefined;
|
|
4260
4260
|
};
|
|
4261
4261
|
authMethods: {
|
|
4262
|
-
id: string;
|
|
4263
|
-
name: string;
|
|
4264
4262
|
description: string | null;
|
|
4263
|
+
name: string;
|
|
4264
|
+
id: string;
|
|
4265
4265
|
}[];
|
|
4266
4266
|
}>, z.ZodNull, z.ZodObject<{
|
|
4267
4267
|
sessionId: z.ZodString;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4317
4317
|
lastModified?: string | null | undefined;
|
|
4318
4318
|
priority?: number | null | undefined;
|
|
4319
4319
|
} | null | undefined;
|
|
4320
4320
|
}, {
|
|
4321
|
-
text: string;
|
|
4322
4321
|
type: "text";
|
|
4322
|
+
text: string;
|
|
4323
4323
|
annotations?: {
|
|
4324
4324
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4325
4325
|
lastModified?: string | null | undefined;
|
|
@@ -4420,28 +4420,28 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4420
4420
|
type: "resource_link";
|
|
4421
4421
|
name: string;
|
|
4422
4422
|
uri: string;
|
|
4423
|
-
size?: number | null | undefined;
|
|
4424
4423
|
description?: string | null | undefined;
|
|
4425
4424
|
title?: string | null | undefined;
|
|
4425
|
+
mimeType?: string | null | undefined;
|
|
4426
|
+
size?: number | null | undefined;
|
|
4426
4427
|
annotations?: {
|
|
4427
4428
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4428
4429
|
lastModified?: string | null | undefined;
|
|
4429
4430
|
priority?: number | null | undefined;
|
|
4430
4431
|
} | null | undefined;
|
|
4431
|
-
mimeType?: string | null | undefined;
|
|
4432
4432
|
}, {
|
|
4433
4433
|
type: "resource_link";
|
|
4434
4434
|
name: string;
|
|
4435
4435
|
uri: string;
|
|
4436
|
-
size?: number | null | undefined;
|
|
4437
4436
|
description?: string | null | undefined;
|
|
4438
4437
|
title?: string | null | undefined;
|
|
4438
|
+
mimeType?: string | null | undefined;
|
|
4439
|
+
size?: number | null | undefined;
|
|
4439
4440
|
annotations?: {
|
|
4440
4441
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4441
4442
|
lastModified?: string | null | undefined;
|
|
4442
4443
|
priority?: number | null | undefined;
|
|
4443
4444
|
} | null | undefined;
|
|
4444
|
-
mimeType?: string | null | undefined;
|
|
4445
4445
|
}>, z.ZodObject<{
|
|
4446
4446
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4447
4447
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -4519,8 +4519,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4519
4519
|
}, "strip", z.ZodTypeAny, {
|
|
4520
4520
|
type: "content";
|
|
4521
4521
|
content: {
|
|
4522
|
-
text: string;
|
|
4523
4522
|
type: "text";
|
|
4523
|
+
text: string;
|
|
4524
4524
|
annotations?: {
|
|
4525
4525
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4526
4526
|
lastModified?: string | null | undefined;
|
|
@@ -4548,15 +4548,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4548
4548
|
type: "resource_link";
|
|
4549
4549
|
name: string;
|
|
4550
4550
|
uri: string;
|
|
4551
|
-
size?: number | null | undefined;
|
|
4552
4551
|
description?: string | null | undefined;
|
|
4553
4552
|
title?: string | null | undefined;
|
|
4553
|
+
mimeType?: string | null | undefined;
|
|
4554
|
+
size?: number | null | undefined;
|
|
4554
4555
|
annotations?: {
|
|
4555
4556
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4556
4557
|
lastModified?: string | null | undefined;
|
|
4557
4558
|
priority?: number | null | undefined;
|
|
4558
4559
|
} | null | undefined;
|
|
4559
|
-
mimeType?: string | null | undefined;
|
|
4560
4560
|
} | {
|
|
4561
4561
|
type: "resource";
|
|
4562
4562
|
resource: {
|
|
@@ -4577,8 +4577,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4577
4577
|
}, {
|
|
4578
4578
|
type: "content";
|
|
4579
4579
|
content: {
|
|
4580
|
-
text: string;
|
|
4581
4580
|
type: "text";
|
|
4581
|
+
text: string;
|
|
4582
4582
|
annotations?: {
|
|
4583
4583
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4584
4584
|
lastModified?: string | null | undefined;
|
|
@@ -4606,15 +4606,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4606
4606
|
type: "resource_link";
|
|
4607
4607
|
name: string;
|
|
4608
4608
|
uri: string;
|
|
4609
|
-
size?: number | null | undefined;
|
|
4610
4609
|
description?: string | null | undefined;
|
|
4611
4610
|
title?: string | null | undefined;
|
|
4611
|
+
mimeType?: string | null | undefined;
|
|
4612
|
+
size?: number | null | undefined;
|
|
4612
4613
|
annotations?: {
|
|
4613
4614
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4614
4615
|
lastModified?: string | null | undefined;
|
|
4615
4616
|
priority?: number | null | undefined;
|
|
4616
4617
|
} | null | undefined;
|
|
4617
|
-
mimeType?: string | null | undefined;
|
|
4618
4618
|
} | {
|
|
4619
4619
|
type: "resource";
|
|
4620
4620
|
resource: {
|
|
@@ -4638,13 +4638,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4638
4638
|
path: z.ZodString;
|
|
4639
4639
|
type: z.ZodLiteral<"diff">;
|
|
4640
4640
|
}, "strip", z.ZodTypeAny, {
|
|
4641
|
-
type: "diff";
|
|
4642
4641
|
path: string;
|
|
4642
|
+
type: "diff";
|
|
4643
4643
|
newText: string;
|
|
4644
4644
|
oldText: string | null;
|
|
4645
4645
|
}, {
|
|
4646
|
-
type: "diff";
|
|
4647
4646
|
path: string;
|
|
4647
|
+
type: "diff";
|
|
4648
4648
|
newText: string;
|
|
4649
4649
|
oldText: string | null;
|
|
4650
4650
|
}>]>, "many">>;
|
|
@@ -4665,14 +4665,14 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4665
4665
|
toolCallId: z.ZodString;
|
|
4666
4666
|
}, "strip", z.ZodTypeAny, {
|
|
4667
4667
|
title: string;
|
|
4668
|
-
status: "
|
|
4669
|
-
kind: "
|
|
4668
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
4669
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
4670
4670
|
toolCallId: string;
|
|
4671
4671
|
content?: ({
|
|
4672
4672
|
type: "content";
|
|
4673
4673
|
content: {
|
|
4674
|
-
text: string;
|
|
4675
4674
|
type: "text";
|
|
4675
|
+
text: string;
|
|
4676
4676
|
annotations?: {
|
|
4677
4677
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4678
4678
|
lastModified?: string | null | undefined;
|
|
@@ -4700,15 +4700,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4700
4700
|
type: "resource_link";
|
|
4701
4701
|
name: string;
|
|
4702
4702
|
uri: string;
|
|
4703
|
-
size?: number | null | undefined;
|
|
4704
4703
|
description?: string | null | undefined;
|
|
4705
4704
|
title?: string | null | undefined;
|
|
4705
|
+
mimeType?: string | null | undefined;
|
|
4706
|
+
size?: number | null | undefined;
|
|
4706
4707
|
annotations?: {
|
|
4707
4708
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4708
4709
|
lastModified?: string | null | undefined;
|
|
4709
4710
|
priority?: number | null | undefined;
|
|
4710
4711
|
} | null | undefined;
|
|
4711
|
-
mimeType?: string | null | undefined;
|
|
4712
4712
|
} | {
|
|
4713
4713
|
type: "resource";
|
|
4714
4714
|
resource: {
|
|
@@ -4727,8 +4727,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4727
4727
|
} | null | undefined;
|
|
4728
4728
|
};
|
|
4729
4729
|
} | {
|
|
4730
|
-
type: "diff";
|
|
4731
4730
|
path: string;
|
|
4731
|
+
type: "diff";
|
|
4732
4732
|
newText: string;
|
|
4733
4733
|
oldText: string | null;
|
|
4734
4734
|
})[] | undefined;
|
|
@@ -4739,14 +4739,14 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4739
4739
|
rawInput?: unknown;
|
|
4740
4740
|
}, {
|
|
4741
4741
|
title: string;
|
|
4742
|
-
status: "
|
|
4743
|
-
kind: "
|
|
4742
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
4743
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
4744
4744
|
toolCallId: string;
|
|
4745
4745
|
content?: ({
|
|
4746
4746
|
type: "content";
|
|
4747
4747
|
content: {
|
|
4748
|
-
text: string;
|
|
4749
4748
|
type: "text";
|
|
4749
|
+
text: string;
|
|
4750
4750
|
annotations?: {
|
|
4751
4751
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4752
4752
|
lastModified?: string | null | undefined;
|
|
@@ -4774,15 +4774,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4774
4774
|
type: "resource_link";
|
|
4775
4775
|
name: string;
|
|
4776
4776
|
uri: string;
|
|
4777
|
-
size?: number | null | undefined;
|
|
4778
4777
|
description?: string | null | undefined;
|
|
4779
4778
|
title?: string | null | undefined;
|
|
4779
|
+
mimeType?: string | null | undefined;
|
|
4780
|
+
size?: number | null | undefined;
|
|
4780
4781
|
annotations?: {
|
|
4781
4782
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4782
4783
|
lastModified?: string | null | undefined;
|
|
4783
4784
|
priority?: number | null | undefined;
|
|
4784
4785
|
} | null | undefined;
|
|
4785
|
-
mimeType?: string | null | undefined;
|
|
4786
4786
|
} | {
|
|
4787
4787
|
type: "resource";
|
|
4788
4788
|
resource: {
|
|
@@ -4801,8 +4801,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4801
4801
|
} | null | undefined;
|
|
4802
4802
|
};
|
|
4803
4803
|
} | {
|
|
4804
|
-
type: "diff";
|
|
4805
4804
|
path: string;
|
|
4805
|
+
type: "diff";
|
|
4806
4806
|
newText: string;
|
|
4807
4807
|
oldText: string | null;
|
|
4808
4808
|
})[] | undefined;
|
|
@@ -4821,14 +4821,14 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4821
4821
|
sessionId: string;
|
|
4822
4822
|
toolCall: {
|
|
4823
4823
|
title: string;
|
|
4824
|
-
status: "
|
|
4825
|
-
kind: "
|
|
4824
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
4825
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
4826
4826
|
toolCallId: string;
|
|
4827
4827
|
content?: ({
|
|
4828
4828
|
type: "content";
|
|
4829
4829
|
content: {
|
|
4830
|
-
text: string;
|
|
4831
4830
|
type: "text";
|
|
4831
|
+
text: string;
|
|
4832
4832
|
annotations?: {
|
|
4833
4833
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4834
4834
|
lastModified?: string | null | undefined;
|
|
@@ -4856,15 +4856,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4856
4856
|
type: "resource_link";
|
|
4857
4857
|
name: string;
|
|
4858
4858
|
uri: string;
|
|
4859
|
-
size?: number | null | undefined;
|
|
4860
4859
|
description?: string | null | undefined;
|
|
4861
4860
|
title?: string | null | undefined;
|
|
4861
|
+
mimeType?: string | null | undefined;
|
|
4862
|
+
size?: number | null | undefined;
|
|
4862
4863
|
annotations?: {
|
|
4863
4864
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4864
4865
|
lastModified?: string | null | undefined;
|
|
4865
4866
|
priority?: number | null | undefined;
|
|
4866
4867
|
} | null | undefined;
|
|
4867
|
-
mimeType?: string | null | undefined;
|
|
4868
4868
|
} | {
|
|
4869
4869
|
type: "resource";
|
|
4870
4870
|
resource: {
|
|
@@ -4883,8 +4883,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4883
4883
|
} | null | undefined;
|
|
4884
4884
|
};
|
|
4885
4885
|
} | {
|
|
4886
|
-
type: "diff";
|
|
4887
4886
|
path: string;
|
|
4887
|
+
type: "diff";
|
|
4888
4888
|
newText: string;
|
|
4889
4889
|
oldText: string | null;
|
|
4890
4890
|
})[] | undefined;
|
|
@@ -4903,14 +4903,14 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4903
4903
|
sessionId: string;
|
|
4904
4904
|
toolCall: {
|
|
4905
4905
|
title: string;
|
|
4906
|
-
status: "
|
|
4907
|
-
kind: "
|
|
4906
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
4907
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
4908
4908
|
toolCallId: string;
|
|
4909
4909
|
content?: ({
|
|
4910
4910
|
type: "content";
|
|
4911
4911
|
content: {
|
|
4912
|
-
text: string;
|
|
4913
4912
|
type: "text";
|
|
4913
|
+
text: string;
|
|
4914
4914
|
annotations?: {
|
|
4915
4915
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4916
4916
|
lastModified?: string | null | undefined;
|
|
@@ -4938,15 +4938,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4938
4938
|
type: "resource_link";
|
|
4939
4939
|
name: string;
|
|
4940
4940
|
uri: string;
|
|
4941
|
-
size?: number | null | undefined;
|
|
4942
4941
|
description?: string | null | undefined;
|
|
4943
4942
|
title?: string | null | undefined;
|
|
4943
|
+
mimeType?: string | null | undefined;
|
|
4944
|
+
size?: number | null | undefined;
|
|
4944
4945
|
annotations?: {
|
|
4945
4946
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4946
4947
|
lastModified?: string | null | undefined;
|
|
4947
4948
|
priority?: number | null | undefined;
|
|
4948
4949
|
} | null | undefined;
|
|
4949
|
-
mimeType?: string | null | undefined;
|
|
4950
4950
|
} | {
|
|
4951
4951
|
type: "resource";
|
|
4952
4952
|
resource: {
|
|
@@ -4965,8 +4965,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4965
4965
|
} | null | undefined;
|
|
4966
4966
|
};
|
|
4967
4967
|
} | {
|
|
4968
|
-
type: "diff";
|
|
4969
4968
|
path: string;
|
|
4969
|
+
type: "diff";
|
|
4970
4970
|
newText: string;
|
|
4971
4971
|
oldText: string | null;
|
|
4972
4972
|
})[] | undefined;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5045
5045
|
lastModified?: string | null | undefined;
|
|
5046
5046
|
priority?: number | null | undefined;
|
|
5047
5047
|
} | null | undefined;
|
|
5048
5048
|
}, {
|
|
5049
|
-
text: string;
|
|
5050
5049
|
type: "text";
|
|
5050
|
+
text: string;
|
|
5051
5051
|
annotations?: {
|
|
5052
5052
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5053
5053
|
lastModified?: string | null | undefined;
|
|
@@ -5148,28 +5148,28 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5148
5148
|
type: "resource_link";
|
|
5149
5149
|
name: string;
|
|
5150
5150
|
uri: string;
|
|
5151
|
-
size?: number | null | undefined;
|
|
5152
5151
|
description?: string | null | undefined;
|
|
5153
5152
|
title?: string | null | undefined;
|
|
5153
|
+
mimeType?: string | null | undefined;
|
|
5154
|
+
size?: number | null | undefined;
|
|
5154
5155
|
annotations?: {
|
|
5155
5156
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5156
5157
|
lastModified?: string | null | undefined;
|
|
5157
5158
|
priority?: number | null | undefined;
|
|
5158
5159
|
} | null | undefined;
|
|
5159
|
-
mimeType?: string | null | undefined;
|
|
5160
5160
|
}, {
|
|
5161
5161
|
type: "resource_link";
|
|
5162
5162
|
name: string;
|
|
5163
5163
|
uri: string;
|
|
5164
|
-
size?: number | null | undefined;
|
|
5165
5164
|
description?: string | null | undefined;
|
|
5166
5165
|
title?: string | null | undefined;
|
|
5166
|
+
mimeType?: string | null | undefined;
|
|
5167
|
+
size?: number | null | undefined;
|
|
5167
5168
|
annotations?: {
|
|
5168
5169
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5169
5170
|
lastModified?: string | null | undefined;
|
|
5170
5171
|
priority?: number | null | undefined;
|
|
5171
5172
|
} | null | undefined;
|
|
5172
|
-
mimeType?: string | null | undefined;
|
|
5173
5173
|
}>, z.ZodObject<{
|
|
5174
5174
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5175
5175
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5253
5253
|
lastModified?: string | null | undefined;
|
|
@@ -5275,15 +5275,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5275
5275
|
type: "resource_link";
|
|
5276
5276
|
name: string;
|
|
5277
5277
|
uri: string;
|
|
5278
|
-
size?: number | null | undefined;
|
|
5279
5278
|
description?: string | null | undefined;
|
|
5280
5279
|
title?: string | null | undefined;
|
|
5280
|
+
mimeType?: string | null | undefined;
|
|
5281
|
+
size?: number | null | undefined;
|
|
5281
5282
|
annotations?: {
|
|
5282
5283
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5283
5284
|
lastModified?: string | null | undefined;
|
|
5284
5285
|
priority?: number | null | undefined;
|
|
5285
5286
|
} | null | undefined;
|
|
5286
|
-
mimeType?: string | null | undefined;
|
|
5287
5287
|
} | {
|
|
5288
5288
|
type: "resource";
|
|
5289
5289
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5311
5311
|
lastModified?: string | null | undefined;
|
|
@@ -5333,15 +5333,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5333
5333
|
type: "resource_link";
|
|
5334
5334
|
name: string;
|
|
5335
5335
|
uri: string;
|
|
5336
|
-
size?: number | null | undefined;
|
|
5337
5336
|
description?: string | null | undefined;
|
|
5338
5337
|
title?: string | null | undefined;
|
|
5338
|
+
mimeType?: string | null | undefined;
|
|
5339
|
+
size?: number | null | undefined;
|
|
5339
5340
|
annotations?: {
|
|
5340
5341
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5341
5342
|
lastModified?: string | null | undefined;
|
|
5342
5343
|
priority?: number | null | undefined;
|
|
5343
5344
|
} | null | undefined;
|
|
5344
|
-
mimeType?: string | null | undefined;
|
|
5345
5345
|
} | {
|
|
5346
5346
|
type: "resource";
|
|
5347
5347
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5385
5385
|
lastModified?: string | null | undefined;
|
|
5386
5386
|
priority?: number | null | undefined;
|
|
5387
5387
|
} | null | undefined;
|
|
5388
5388
|
}, {
|
|
5389
|
-
text: string;
|
|
5390
5389
|
type: "text";
|
|
5390
|
+
text: string;
|
|
5391
5391
|
annotations?: {
|
|
5392
5392
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5393
5393
|
lastModified?: string | null | undefined;
|
|
@@ -5488,28 +5488,28 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5488
5488
|
type: "resource_link";
|
|
5489
5489
|
name: string;
|
|
5490
5490
|
uri: string;
|
|
5491
|
-
size?: number | null | undefined;
|
|
5492
5491
|
description?: string | null | undefined;
|
|
5493
5492
|
title?: string | null | undefined;
|
|
5493
|
+
mimeType?: string | null | undefined;
|
|
5494
|
+
size?: number | null | undefined;
|
|
5494
5495
|
annotations?: {
|
|
5495
5496
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5496
5497
|
lastModified?: string | null | undefined;
|
|
5497
5498
|
priority?: number | null | undefined;
|
|
5498
5499
|
} | null | undefined;
|
|
5499
|
-
mimeType?: string | null | undefined;
|
|
5500
5500
|
}, {
|
|
5501
5501
|
type: "resource_link";
|
|
5502
5502
|
name: string;
|
|
5503
5503
|
uri: string;
|
|
5504
|
-
size?: number | null | undefined;
|
|
5505
5504
|
description?: string | null | undefined;
|
|
5506
5505
|
title?: string | null | undefined;
|
|
5506
|
+
mimeType?: string | null | undefined;
|
|
5507
|
+
size?: number | null | undefined;
|
|
5507
5508
|
annotations?: {
|
|
5508
5509
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5509
5510
|
lastModified?: string | null | undefined;
|
|
5510
5511
|
priority?: number | null | undefined;
|
|
5511
5512
|
} | null | undefined;
|
|
5512
|
-
mimeType?: string | null | undefined;
|
|
5513
5513
|
}>, z.ZodObject<{
|
|
5514
5514
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5515
5515
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5593
5593
|
lastModified?: string | null | undefined;
|
|
@@ -5615,15 +5615,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5615
5615
|
type: "resource_link";
|
|
5616
5616
|
name: string;
|
|
5617
5617
|
uri: string;
|
|
5618
|
-
size?: number | null | undefined;
|
|
5619
5618
|
description?: string | null | undefined;
|
|
5620
5619
|
title?: string | null | undefined;
|
|
5620
|
+
mimeType?: string | null | undefined;
|
|
5621
|
+
size?: number | null | undefined;
|
|
5621
5622
|
annotations?: {
|
|
5622
5623
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5623
5624
|
lastModified?: string | null | undefined;
|
|
5624
5625
|
priority?: number | null | undefined;
|
|
5625
5626
|
} | null | undefined;
|
|
5626
|
-
mimeType?: string | null | undefined;
|
|
5627
5627
|
} | {
|
|
5628
5628
|
type: "resource";
|
|
5629
5629
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5651
5651
|
lastModified?: string | null | undefined;
|
|
@@ -5673,15 +5673,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5673
5673
|
type: "resource_link";
|
|
5674
5674
|
name: string;
|
|
5675
5675
|
uri: string;
|
|
5676
|
-
size?: number | null | undefined;
|
|
5677
5676
|
description?: string | null | undefined;
|
|
5678
5677
|
title?: string | null | undefined;
|
|
5678
|
+
mimeType?: string | null | undefined;
|
|
5679
|
+
size?: number | null | undefined;
|
|
5679
5680
|
annotations?: {
|
|
5680
5681
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5681
5682
|
lastModified?: string | null | undefined;
|
|
5682
5683
|
priority?: number | null | undefined;
|
|
5683
5684
|
} | null | undefined;
|
|
5684
|
-
mimeType?: string | null | undefined;
|
|
5685
5685
|
} | {
|
|
5686
5686
|
type: "resource";
|
|
5687
5687
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5725
5725
|
lastModified?: string | null | undefined;
|
|
5726
5726
|
priority?: number | null | undefined;
|
|
5727
5727
|
} | null | undefined;
|
|
5728
5728
|
}, {
|
|
5729
|
-
text: string;
|
|
5730
5729
|
type: "text";
|
|
5730
|
+
text: string;
|
|
5731
5731
|
annotations?: {
|
|
5732
5732
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5733
5733
|
lastModified?: string | null | undefined;
|
|
@@ -5828,28 +5828,28 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5828
5828
|
type: "resource_link";
|
|
5829
5829
|
name: string;
|
|
5830
5830
|
uri: string;
|
|
5831
|
-
size?: number | null | undefined;
|
|
5832
5831
|
description?: string | null | undefined;
|
|
5833
5832
|
title?: string | null | undefined;
|
|
5833
|
+
mimeType?: string | null | undefined;
|
|
5834
|
+
size?: number | null | undefined;
|
|
5834
5835
|
annotations?: {
|
|
5835
5836
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5836
5837
|
lastModified?: string | null | undefined;
|
|
5837
5838
|
priority?: number | null | undefined;
|
|
5838
5839
|
} | null | undefined;
|
|
5839
|
-
mimeType?: string | null | undefined;
|
|
5840
5840
|
}, {
|
|
5841
5841
|
type: "resource_link";
|
|
5842
5842
|
name: string;
|
|
5843
5843
|
uri: string;
|
|
5844
|
-
size?: number | null | undefined;
|
|
5845
5844
|
description?: string | null | undefined;
|
|
5846
5845
|
title?: string | null | undefined;
|
|
5846
|
+
mimeType?: string | null | undefined;
|
|
5847
|
+
size?: number | null | undefined;
|
|
5847
5848
|
annotations?: {
|
|
5848
5849
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5849
5850
|
lastModified?: string | null | undefined;
|
|
5850
5851
|
priority?: number | null | undefined;
|
|
5851
5852
|
} | null | undefined;
|
|
5852
|
-
mimeType?: string | null | undefined;
|
|
5853
5853
|
}>, z.ZodObject<{
|
|
5854
5854
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5855
5855
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5933
5933
|
lastModified?: string | null | undefined;
|
|
@@ -5955,15 +5955,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5955
5955
|
type: "resource_link";
|
|
5956
5956
|
name: string;
|
|
5957
5957
|
uri: string;
|
|
5958
|
-
size?: number | null | undefined;
|
|
5959
5958
|
description?: string | null | undefined;
|
|
5960
5959
|
title?: string | null | undefined;
|
|
5960
|
+
mimeType?: string | null | undefined;
|
|
5961
|
+
size?: number | null | undefined;
|
|
5961
5962
|
annotations?: {
|
|
5962
5963
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5963
5964
|
lastModified?: string | null | undefined;
|
|
5964
5965
|
priority?: number | null | undefined;
|
|
5965
5966
|
} | null | undefined;
|
|
5966
|
-
mimeType?: string | null | undefined;
|
|
5967
5967
|
} | {
|
|
5968
5968
|
type: "resource";
|
|
5969
5969
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5991
5991
|
lastModified?: string | null | undefined;
|
|
@@ -6013,15 +6013,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6013
6013
|
type: "resource_link";
|
|
6014
6014
|
name: string;
|
|
6015
6015
|
uri: string;
|
|
6016
|
-
size?: number | null | undefined;
|
|
6017
6016
|
description?: string | null | undefined;
|
|
6018
6017
|
title?: string | null | undefined;
|
|
6018
|
+
mimeType?: string | null | undefined;
|
|
6019
|
+
size?: number | null | undefined;
|
|
6019
6020
|
annotations?: {
|
|
6020
6021
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6021
6022
|
lastModified?: string | null | undefined;
|
|
6022
6023
|
priority?: number | null | undefined;
|
|
6023
6024
|
} | null | undefined;
|
|
6024
|
-
mimeType?: string | null | undefined;
|
|
6025
6025
|
} | {
|
|
6026
6026
|
type: "resource";
|
|
6027
6027
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6066
6066
|
lastModified?: string | null | undefined;
|
|
6067
6067
|
priority?: number | null | undefined;
|
|
6068
6068
|
} | null | undefined;
|
|
6069
6069
|
}, {
|
|
6070
|
-
text: string;
|
|
6071
6070
|
type: "text";
|
|
6071
|
+
text: string;
|
|
6072
6072
|
annotations?: {
|
|
6073
6073
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6074
6074
|
lastModified?: string | null | undefined;
|
|
@@ -6169,28 +6169,28 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6169
6169
|
type: "resource_link";
|
|
6170
6170
|
name: string;
|
|
6171
6171
|
uri: string;
|
|
6172
|
-
size?: number | null | undefined;
|
|
6173
6172
|
description?: string | null | undefined;
|
|
6174
6173
|
title?: string | null | undefined;
|
|
6174
|
+
mimeType?: string | null | undefined;
|
|
6175
|
+
size?: number | null | undefined;
|
|
6175
6176
|
annotations?: {
|
|
6176
6177
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6177
6178
|
lastModified?: string | null | undefined;
|
|
6178
6179
|
priority?: number | null | undefined;
|
|
6179
6180
|
} | null | undefined;
|
|
6180
|
-
mimeType?: string | null | undefined;
|
|
6181
6181
|
}, {
|
|
6182
6182
|
type: "resource_link";
|
|
6183
6183
|
name: string;
|
|
6184
6184
|
uri: string;
|
|
6185
|
-
size?: number | null | undefined;
|
|
6186
6185
|
description?: string | null | undefined;
|
|
6187
6186
|
title?: string | null | undefined;
|
|
6187
|
+
mimeType?: string | null | undefined;
|
|
6188
|
+
size?: number | null | undefined;
|
|
6188
6189
|
annotations?: {
|
|
6189
6190
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6190
6191
|
lastModified?: string | null | undefined;
|
|
6191
6192
|
priority?: number | null | undefined;
|
|
6192
6193
|
} | null | undefined;
|
|
6193
|
-
mimeType?: string | null | undefined;
|
|
6194
6194
|
}>, z.ZodObject<{
|
|
6195
6195
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6196
6196
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -6268,8 +6268,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6268
6268
|
}, "strip", z.ZodTypeAny, {
|
|
6269
6269
|
type: "content";
|
|
6270
6270
|
content: {
|
|
6271
|
-
text: string;
|
|
6272
6271
|
type: "text";
|
|
6272
|
+
text: string;
|
|
6273
6273
|
annotations?: {
|
|
6274
6274
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6275
6275
|
lastModified?: string | null | undefined;
|
|
@@ -6297,15 +6297,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6297
6297
|
type: "resource_link";
|
|
6298
6298
|
name: string;
|
|
6299
6299
|
uri: string;
|
|
6300
|
-
size?: number | null | undefined;
|
|
6301
6300
|
description?: string | null | undefined;
|
|
6302
6301
|
title?: string | null | undefined;
|
|
6302
|
+
mimeType?: string | null | undefined;
|
|
6303
|
+
size?: number | null | undefined;
|
|
6303
6304
|
annotations?: {
|
|
6304
6305
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6305
6306
|
lastModified?: string | null | undefined;
|
|
6306
6307
|
priority?: number | null | undefined;
|
|
6307
6308
|
} | null | undefined;
|
|
6308
|
-
mimeType?: string | null | undefined;
|
|
6309
6309
|
} | {
|
|
6310
6310
|
type: "resource";
|
|
6311
6311
|
resource: {
|
|
@@ -6326,8 +6326,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6326
6326
|
}, {
|
|
6327
6327
|
type: "content";
|
|
6328
6328
|
content: {
|
|
6329
|
-
text: string;
|
|
6330
6329
|
type: "text";
|
|
6330
|
+
text: string;
|
|
6331
6331
|
annotations?: {
|
|
6332
6332
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6333
6333
|
lastModified?: string | null | undefined;
|
|
@@ -6355,15 +6355,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6355
6355
|
type: "resource_link";
|
|
6356
6356
|
name: string;
|
|
6357
6357
|
uri: string;
|
|
6358
|
-
size?: number | null | undefined;
|
|
6359
6358
|
description?: string | null | undefined;
|
|
6360
6359
|
title?: string | null | undefined;
|
|
6360
|
+
mimeType?: string | null | undefined;
|
|
6361
|
+
size?: number | null | undefined;
|
|
6361
6362
|
annotations?: {
|
|
6362
6363
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6363
6364
|
lastModified?: string | null | undefined;
|
|
6364
6365
|
priority?: number | null | undefined;
|
|
6365
6366
|
} | null | undefined;
|
|
6366
|
-
mimeType?: string | null | undefined;
|
|
6367
6367
|
} | {
|
|
6368
6368
|
type: "resource";
|
|
6369
6369
|
resource: {
|
|
@@ -6387,13 +6387,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6387
6387
|
path: z.ZodString;
|
|
6388
6388
|
type: z.ZodLiteral<"diff">;
|
|
6389
6389
|
}, "strip", z.ZodTypeAny, {
|
|
6390
|
-
type: "diff";
|
|
6391
6390
|
path: string;
|
|
6391
|
+
type: "diff";
|
|
6392
6392
|
newText: string;
|
|
6393
6393
|
oldText: string | null;
|
|
6394
6394
|
}, {
|
|
6395
|
-
type: "diff";
|
|
6396
6395
|
path: string;
|
|
6396
|
+
type: "diff";
|
|
6397
6397
|
newText: string;
|
|
6398
6398
|
oldText: string | null;
|
|
6399
6399
|
}>]>, "many">>;
|
|
@@ -6415,15 +6415,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6415
6415
|
toolCallId: z.ZodString;
|
|
6416
6416
|
}, "strip", z.ZodTypeAny, {
|
|
6417
6417
|
title: string;
|
|
6418
|
-
status: "
|
|
6418
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
6419
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
6419
6420
|
sessionUpdate: "tool_call";
|
|
6420
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
6421
6421
|
toolCallId: string;
|
|
6422
6422
|
content?: ({
|
|
6423
6423
|
type: "content";
|
|
6424
6424
|
content: {
|
|
6425
|
-
text: string;
|
|
6426
6425
|
type: "text";
|
|
6426
|
+
text: string;
|
|
6427
6427
|
annotations?: {
|
|
6428
6428
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6429
6429
|
lastModified?: string | null | undefined;
|
|
@@ -6451,15 +6451,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6451
6451
|
type: "resource_link";
|
|
6452
6452
|
name: string;
|
|
6453
6453
|
uri: string;
|
|
6454
|
-
size?: number | null | undefined;
|
|
6455
6454
|
description?: string | null | undefined;
|
|
6456
6455
|
title?: string | null | undefined;
|
|
6456
|
+
mimeType?: string | null | undefined;
|
|
6457
|
+
size?: number | null | undefined;
|
|
6457
6458
|
annotations?: {
|
|
6458
6459
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6459
6460
|
lastModified?: string | null | undefined;
|
|
6460
6461
|
priority?: number | null | undefined;
|
|
6461
6462
|
} | null | undefined;
|
|
6462
|
-
mimeType?: string | null | undefined;
|
|
6463
6463
|
} | {
|
|
6464
6464
|
type: "resource";
|
|
6465
6465
|
resource: {
|
|
@@ -6478,8 +6478,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6478
6478
|
} | null | undefined;
|
|
6479
6479
|
};
|
|
6480
6480
|
} | {
|
|
6481
|
-
type: "diff";
|
|
6482
6481
|
path: string;
|
|
6482
|
+
type: "diff";
|
|
6483
6483
|
newText: string;
|
|
6484
6484
|
oldText: string | null;
|
|
6485
6485
|
})[] | undefined;
|
|
@@ -6490,15 +6490,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6490
6490
|
rawInput?: unknown;
|
|
6491
6491
|
}, {
|
|
6492
6492
|
title: string;
|
|
6493
|
-
status: "
|
|
6493
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
6494
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
6494
6495
|
sessionUpdate: "tool_call";
|
|
6495
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
6496
6496
|
toolCallId: string;
|
|
6497
6497
|
content?: ({
|
|
6498
6498
|
type: "content";
|
|
6499
6499
|
content: {
|
|
6500
|
-
text: string;
|
|
6501
6500
|
type: "text";
|
|
6501
|
+
text: string;
|
|
6502
6502
|
annotations?: {
|
|
6503
6503
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6504
6504
|
lastModified?: string | null | undefined;
|
|
@@ -6526,15 +6526,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6526
6526
|
type: "resource_link";
|
|
6527
6527
|
name: string;
|
|
6528
6528
|
uri: string;
|
|
6529
|
-
size?: number | null | undefined;
|
|
6530
6529
|
description?: string | null | undefined;
|
|
6531
6530
|
title?: string | null | undefined;
|
|
6531
|
+
mimeType?: string | null | undefined;
|
|
6532
|
+
size?: number | null | undefined;
|
|
6532
6533
|
annotations?: {
|
|
6533
6534
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6534
6535
|
lastModified?: string | null | undefined;
|
|
6535
6536
|
priority?: number | null | undefined;
|
|
6536
6537
|
} | null | undefined;
|
|
6537
|
-
mimeType?: string | null | undefined;
|
|
6538
6538
|
} | {
|
|
6539
6539
|
type: "resource";
|
|
6540
6540
|
resource: {
|
|
@@ -6553,8 +6553,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6553
6553
|
} | null | undefined;
|
|
6554
6554
|
};
|
|
6555
6555
|
} | {
|
|
6556
|
-
type: "diff";
|
|
6557
6556
|
path: string;
|
|
6557
|
+
type: "diff";
|
|
6558
6558
|
newText: string;
|
|
6559
6559
|
oldText: string | null;
|
|
6560
6560
|
})[] | undefined;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6589
6589
|
lastModified?: string | null | undefined;
|
|
6590
6590
|
priority?: number | null | undefined;
|
|
6591
6591
|
} | null | undefined;
|
|
6592
6592
|
}, {
|
|
6593
|
-
text: string;
|
|
6594
6593
|
type: "text";
|
|
6594
|
+
text: string;
|
|
6595
6595
|
annotations?: {
|
|
6596
6596
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6597
6597
|
lastModified?: string | null | undefined;
|
|
@@ -6692,28 +6692,28 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6692
6692
|
type: "resource_link";
|
|
6693
6693
|
name: string;
|
|
6694
6694
|
uri: string;
|
|
6695
|
-
size?: number | null | undefined;
|
|
6696
6695
|
description?: string | null | undefined;
|
|
6697
6696
|
title?: string | null | undefined;
|
|
6697
|
+
mimeType?: string | null | undefined;
|
|
6698
|
+
size?: number | null | undefined;
|
|
6698
6699
|
annotations?: {
|
|
6699
6700
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6700
6701
|
lastModified?: string | null | undefined;
|
|
6701
6702
|
priority?: number | null | undefined;
|
|
6702
6703
|
} | null | undefined;
|
|
6703
|
-
mimeType?: string | null | undefined;
|
|
6704
6704
|
}, {
|
|
6705
6705
|
type: "resource_link";
|
|
6706
6706
|
name: string;
|
|
6707
6707
|
uri: string;
|
|
6708
|
-
size?: number | null | undefined;
|
|
6709
6708
|
description?: string | null | undefined;
|
|
6710
6709
|
title?: string | null | undefined;
|
|
6710
|
+
mimeType?: string | null | undefined;
|
|
6711
|
+
size?: number | null | undefined;
|
|
6711
6712
|
annotations?: {
|
|
6712
6713
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6713
6714
|
lastModified?: string | null | undefined;
|
|
6714
6715
|
priority?: number | null | undefined;
|
|
6715
6716
|
} | null | undefined;
|
|
6716
|
-
mimeType?: string | null | undefined;
|
|
6717
6717
|
}>, z.ZodObject<{
|
|
6718
6718
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6719
6719
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -6791,8 +6791,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6791
6791
|
}, "strip", z.ZodTypeAny, {
|
|
6792
6792
|
type: "content";
|
|
6793
6793
|
content: {
|
|
6794
|
-
text: string;
|
|
6795
6794
|
type: "text";
|
|
6795
|
+
text: string;
|
|
6796
6796
|
annotations?: {
|
|
6797
6797
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6798
6798
|
lastModified?: string | null | undefined;
|
|
@@ -6820,15 +6820,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6820
6820
|
type: "resource_link";
|
|
6821
6821
|
name: string;
|
|
6822
6822
|
uri: string;
|
|
6823
|
-
size?: number | null | undefined;
|
|
6824
6823
|
description?: string | null | undefined;
|
|
6825
6824
|
title?: string | null | undefined;
|
|
6825
|
+
mimeType?: string | null | undefined;
|
|
6826
|
+
size?: number | null | undefined;
|
|
6826
6827
|
annotations?: {
|
|
6827
6828
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6828
6829
|
lastModified?: string | null | undefined;
|
|
6829
6830
|
priority?: number | null | undefined;
|
|
6830
6831
|
} | null | undefined;
|
|
6831
|
-
mimeType?: string | null | undefined;
|
|
6832
6832
|
} | {
|
|
6833
6833
|
type: "resource";
|
|
6834
6834
|
resource: {
|
|
@@ -6849,8 +6849,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6849
6849
|
}, {
|
|
6850
6850
|
type: "content";
|
|
6851
6851
|
content: {
|
|
6852
|
-
text: string;
|
|
6853
6852
|
type: "text";
|
|
6853
|
+
text: string;
|
|
6854
6854
|
annotations?: {
|
|
6855
6855
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6856
6856
|
lastModified?: string | null | undefined;
|
|
@@ -6878,15 +6878,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6878
6878
|
type: "resource_link";
|
|
6879
6879
|
name: string;
|
|
6880
6880
|
uri: string;
|
|
6881
|
-
size?: number | null | undefined;
|
|
6882
6881
|
description?: string | null | undefined;
|
|
6883
6882
|
title?: string | null | undefined;
|
|
6883
|
+
mimeType?: string | null | undefined;
|
|
6884
|
+
size?: number | null | undefined;
|
|
6884
6885
|
annotations?: {
|
|
6885
6886
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6886
6887
|
lastModified?: string | null | undefined;
|
|
6887
6888
|
priority?: number | null | undefined;
|
|
6888
6889
|
} | null | undefined;
|
|
6889
|
-
mimeType?: string | null | undefined;
|
|
6890
6890
|
} | {
|
|
6891
6891
|
type: "resource";
|
|
6892
6892
|
resource: {
|
|
@@ -6910,13 +6910,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6910
6910
|
path: z.ZodString;
|
|
6911
6911
|
type: z.ZodLiteral<"diff">;
|
|
6912
6912
|
}, "strip", z.ZodTypeAny, {
|
|
6913
|
-
type: "diff";
|
|
6914
6913
|
path: string;
|
|
6914
|
+
type: "diff";
|
|
6915
6915
|
newText: string;
|
|
6916
6916
|
oldText: string | null;
|
|
6917
6917
|
}, {
|
|
6918
|
-
type: "diff";
|
|
6919
6918
|
path: string;
|
|
6919
|
+
type: "diff";
|
|
6920
6920
|
newText: string;
|
|
6921
6921
|
oldText: string | null;
|
|
6922
6922
|
}>]>, "many">>>;
|
|
@@ -6939,11 +6939,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6939
6939
|
}, "strip", z.ZodTypeAny, {
|
|
6940
6940
|
sessionUpdate: "tool_call_update";
|
|
6941
6941
|
toolCallId: string;
|
|
6942
|
+
title?: string | null | undefined;
|
|
6943
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
6942
6944
|
content?: ({
|
|
6943
6945
|
type: "content";
|
|
6944
6946
|
content: {
|
|
6945
|
-
text: string;
|
|
6946
6947
|
type: "text";
|
|
6948
|
+
text: string;
|
|
6947
6949
|
annotations?: {
|
|
6948
6950
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6949
6951
|
lastModified?: string | null | undefined;
|
|
@@ -6971,15 +6973,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6971
6973
|
type: "resource_link";
|
|
6972
6974
|
name: string;
|
|
6973
6975
|
uri: string;
|
|
6974
|
-
size?: number | null | undefined;
|
|
6975
6976
|
description?: string | null | undefined;
|
|
6976
6977
|
title?: string | null | undefined;
|
|
6978
|
+
mimeType?: string | null | undefined;
|
|
6979
|
+
size?: number | null | undefined;
|
|
6977
6980
|
annotations?: {
|
|
6978
6981
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6979
6982
|
lastModified?: string | null | undefined;
|
|
6980
6983
|
priority?: number | null | undefined;
|
|
6981
6984
|
} | null | undefined;
|
|
6982
|
-
mimeType?: string | null | undefined;
|
|
6983
6985
|
} | {
|
|
6984
6986
|
type: "resource";
|
|
6985
6987
|
resource: {
|
|
@@ -6998,14 +7000,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6998
7000
|
} | null | undefined;
|
|
6999
7001
|
};
|
|
7000
7002
|
} | {
|
|
7001
|
-
type: "diff";
|
|
7002
7003
|
path: string;
|
|
7004
|
+
type: "diff";
|
|
7003
7005
|
newText: string;
|
|
7004
7006
|
oldText: string | null;
|
|
7005
7007
|
})[] | null | undefined;
|
|
7006
|
-
|
|
7007
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
7008
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
7008
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7009
7009
|
locations?: {
|
|
7010
7010
|
path: string;
|
|
7011
7011
|
line?: number | null | undefined;
|
|
@@ -7014,11 +7014,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7014
7014
|
}, {
|
|
7015
7015
|
sessionUpdate: "tool_call_update";
|
|
7016
7016
|
toolCallId: string;
|
|
7017
|
+
title?: string | null | undefined;
|
|
7018
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7017
7019
|
content?: ({
|
|
7018
7020
|
type: "content";
|
|
7019
7021
|
content: {
|
|
7020
|
-
text: string;
|
|
7021
7022
|
type: "text";
|
|
7023
|
+
text: string;
|
|
7022
7024
|
annotations?: {
|
|
7023
7025
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7024
7026
|
lastModified?: string | null | undefined;
|
|
@@ -7046,15 +7048,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7046
7048
|
type: "resource_link";
|
|
7047
7049
|
name: string;
|
|
7048
7050
|
uri: string;
|
|
7049
|
-
size?: number | null | undefined;
|
|
7050
7051
|
description?: string | null | undefined;
|
|
7051
7052
|
title?: string | null | undefined;
|
|
7053
|
+
mimeType?: string | null | undefined;
|
|
7054
|
+
size?: number | null | undefined;
|
|
7052
7055
|
annotations?: {
|
|
7053
7056
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7054
7057
|
lastModified?: string | null | undefined;
|
|
7055
7058
|
priority?: number | null | undefined;
|
|
7056
7059
|
} | null | undefined;
|
|
7057
|
-
mimeType?: string | null | undefined;
|
|
7058
7060
|
} | {
|
|
7059
7061
|
type: "resource";
|
|
7060
7062
|
resource: {
|
|
@@ -7073,14 +7075,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7073
7075
|
} | null | undefined;
|
|
7074
7076
|
};
|
|
7075
7077
|
} | {
|
|
7076
|
-
type: "diff";
|
|
7077
7078
|
path: string;
|
|
7079
|
+
type: "diff";
|
|
7078
7080
|
newText: string;
|
|
7079
7081
|
oldText: string | null;
|
|
7080
7082
|
})[] | null | undefined;
|
|
7081
|
-
|
|
7082
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
7083
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
7083
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7084
7084
|
locations?: {
|
|
7085
7085
|
path: string;
|
|
7086
7086
|
line?: number | null | undefined;
|
|
@@ -7092,26 +7092,26 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7092
7092
|
priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
|
|
7093
7093
|
status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
|
|
7094
7094
|
}, "strip", z.ZodTypeAny, {
|
|
7095
|
+
status: "completed" | "pending" | "in_progress";
|
|
7095
7096
|
content: string;
|
|
7096
|
-
status: "pending" | "in_progress" | "completed";
|
|
7097
7097
|
priority: "high" | "medium" | "low";
|
|
7098
7098
|
}, {
|
|
7099
|
+
status: "completed" | "pending" | "in_progress";
|
|
7099
7100
|
content: string;
|
|
7100
|
-
status: "pending" | "in_progress" | "completed";
|
|
7101
7101
|
priority: "high" | "medium" | "low";
|
|
7102
7102
|
}>, "many">;
|
|
7103
7103
|
sessionUpdate: z.ZodLiteral<"plan">;
|
|
7104
7104
|
}, "strip", z.ZodTypeAny, {
|
|
7105
7105
|
entries: {
|
|
7106
|
+
status: "completed" | "pending" | "in_progress";
|
|
7106
7107
|
content: string;
|
|
7107
|
-
status: "pending" | "in_progress" | "completed";
|
|
7108
7108
|
priority: "high" | "medium" | "low";
|
|
7109
7109
|
}[];
|
|
7110
7110
|
sessionUpdate: "plan";
|
|
7111
7111
|
}, {
|
|
7112
7112
|
entries: {
|
|
7113
|
+
status: "completed" | "pending" | "in_progress";
|
|
7113
7114
|
content: string;
|
|
7114
|
-
status: "pending" | "in_progress" | "completed";
|
|
7115
7115
|
priority: "high" | "medium" | "low";
|
|
7116
7116
|
}[];
|
|
7117
7117
|
sessionUpdate: "plan";
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7127
7127
|
lastModified?: string | null | undefined;
|
|
@@ -7149,15 +7149,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7149
7149
|
type: "resource_link";
|
|
7150
7150
|
name: string;
|
|
7151
7151
|
uri: string;
|
|
7152
|
-
size?: number | null | undefined;
|
|
7153
7152
|
description?: string | null | undefined;
|
|
7154
7153
|
title?: string | null | undefined;
|
|
7154
|
+
mimeType?: string | null | undefined;
|
|
7155
|
+
size?: number | null | undefined;
|
|
7155
7156
|
annotations?: {
|
|
7156
7157
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7157
7158
|
lastModified?: string | null | undefined;
|
|
7158
7159
|
priority?: number | null | undefined;
|
|
7159
7160
|
} | null | undefined;
|
|
7160
|
-
mimeType?: string | null | undefined;
|
|
7161
7161
|
} | {
|
|
7162
7162
|
type: "resource";
|
|
7163
7163
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7185
7185
|
lastModified?: string | null | undefined;
|
|
@@ -7207,15 +7207,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7207
7207
|
type: "resource_link";
|
|
7208
7208
|
name: string;
|
|
7209
7209
|
uri: string;
|
|
7210
|
-
size?: number | null | undefined;
|
|
7211
7210
|
description?: string | null | undefined;
|
|
7212
7211
|
title?: string | null | undefined;
|
|
7212
|
+
mimeType?: string | null | undefined;
|
|
7213
|
+
size?: number | null | undefined;
|
|
7213
7214
|
annotations?: {
|
|
7214
7215
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7215
7216
|
lastModified?: string | null | undefined;
|
|
7216
7217
|
priority?: number | null | undefined;
|
|
7217
7218
|
} | null | undefined;
|
|
7218
|
-
mimeType?: string | null | undefined;
|
|
7219
7219
|
} | {
|
|
7220
7220
|
type: "resource";
|
|
7221
7221
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7243
7243
|
lastModified?: string | null | undefined;
|
|
@@ -7265,15 +7265,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7265
7265
|
type: "resource_link";
|
|
7266
7266
|
name: string;
|
|
7267
7267
|
uri: string;
|
|
7268
|
-
size?: number | null | undefined;
|
|
7269
7268
|
description?: string | null | undefined;
|
|
7270
7269
|
title?: string | null | undefined;
|
|
7270
|
+
mimeType?: string | null | undefined;
|
|
7271
|
+
size?: number | null | undefined;
|
|
7271
7272
|
annotations?: {
|
|
7272
7273
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7273
7274
|
lastModified?: string | null | undefined;
|
|
7274
7275
|
priority?: number | null | undefined;
|
|
7275
7276
|
} | null | undefined;
|
|
7276
|
-
mimeType?: string | null | undefined;
|
|
7277
7277
|
} | {
|
|
7278
7278
|
type: "resource";
|
|
7279
7279
|
resource: {
|
|
@@ -7294,15 +7294,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7294
7294
|
sessionUpdate: "agent_thought_chunk";
|
|
7295
7295
|
} | {
|
|
7296
7296
|
title: string;
|
|
7297
|
-
status: "
|
|
7297
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
7298
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
7298
7299
|
sessionUpdate: "tool_call";
|
|
7299
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
7300
7300
|
toolCallId: string;
|
|
7301
7301
|
content?: ({
|
|
7302
7302
|
type: "content";
|
|
7303
7303
|
content: {
|
|
7304
|
-
text: string;
|
|
7305
7304
|
type: "text";
|
|
7305
|
+
text: string;
|
|
7306
7306
|
annotations?: {
|
|
7307
7307
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7308
7308
|
lastModified?: string | null | undefined;
|
|
@@ -7330,15 +7330,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7330
7330
|
type: "resource_link";
|
|
7331
7331
|
name: string;
|
|
7332
7332
|
uri: string;
|
|
7333
|
-
size?: number | null | undefined;
|
|
7334
7333
|
description?: string | null | undefined;
|
|
7335
7334
|
title?: string | null | undefined;
|
|
7335
|
+
mimeType?: string | null | undefined;
|
|
7336
|
+
size?: number | null | undefined;
|
|
7336
7337
|
annotations?: {
|
|
7337
7338
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7338
7339
|
lastModified?: string | null | undefined;
|
|
7339
7340
|
priority?: number | null | undefined;
|
|
7340
7341
|
} | null | undefined;
|
|
7341
|
-
mimeType?: string | null | undefined;
|
|
7342
7342
|
} | {
|
|
7343
7343
|
type: "resource";
|
|
7344
7344
|
resource: {
|
|
@@ -7357,8 +7357,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7357
7357
|
} | null | undefined;
|
|
7358
7358
|
};
|
|
7359
7359
|
} | {
|
|
7360
|
-
type: "diff";
|
|
7361
7360
|
path: string;
|
|
7361
|
+
type: "diff";
|
|
7362
7362
|
newText: string;
|
|
7363
7363
|
oldText: string | null;
|
|
7364
7364
|
})[] | undefined;
|
|
@@ -7370,11 +7370,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7370
7370
|
} | {
|
|
7371
7371
|
sessionUpdate: "tool_call_update";
|
|
7372
7372
|
toolCallId: string;
|
|
7373
|
+
title?: string | null | undefined;
|
|
7374
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7373
7375
|
content?: ({
|
|
7374
7376
|
type: "content";
|
|
7375
7377
|
content: {
|
|
7376
|
-
text: string;
|
|
7377
7378
|
type: "text";
|
|
7379
|
+
text: string;
|
|
7378
7380
|
annotations?: {
|
|
7379
7381
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7380
7382
|
lastModified?: string | null | undefined;
|
|
@@ -7402,15 +7404,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7402
7404
|
type: "resource_link";
|
|
7403
7405
|
name: string;
|
|
7404
7406
|
uri: string;
|
|
7405
|
-
size?: number | null | undefined;
|
|
7406
7407
|
description?: string | null | undefined;
|
|
7407
7408
|
title?: string | null | undefined;
|
|
7409
|
+
mimeType?: string | null | undefined;
|
|
7410
|
+
size?: number | null | undefined;
|
|
7408
7411
|
annotations?: {
|
|
7409
7412
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7410
7413
|
lastModified?: string | null | undefined;
|
|
7411
7414
|
priority?: number | null | undefined;
|
|
7412
7415
|
} | null | undefined;
|
|
7413
|
-
mimeType?: string | null | undefined;
|
|
7414
7416
|
} | {
|
|
7415
7417
|
type: "resource";
|
|
7416
7418
|
resource: {
|
|
@@ -7429,14 +7431,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7429
7431
|
} | null | undefined;
|
|
7430
7432
|
};
|
|
7431
7433
|
} | {
|
|
7432
|
-
type: "diff";
|
|
7433
7434
|
path: string;
|
|
7435
|
+
type: "diff";
|
|
7434
7436
|
newText: string;
|
|
7435
7437
|
oldText: string | null;
|
|
7436
7438
|
})[] | null | undefined;
|
|
7437
|
-
|
|
7438
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
7439
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
7439
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7440
7440
|
locations?: {
|
|
7441
7441
|
path: string;
|
|
7442
7442
|
line?: number | null | undefined;
|
|
@@ -7444,8 +7444,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7444
7444
|
rawInput?: unknown;
|
|
7445
7445
|
} | {
|
|
7446
7446
|
entries: {
|
|
7447
|
+
status: "completed" | "pending" | "in_progress";
|
|
7447
7448
|
content: string;
|
|
7448
|
-
status: "pending" | "in_progress" | "completed";
|
|
7449
7449
|
priority: "high" | "medium" | "low";
|
|
7450
7450
|
}[];
|
|
7451
7451
|
sessionUpdate: "plan";
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7461
7461
|
lastModified?: string | null | undefined;
|
|
@@ -7483,15 +7483,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7483
7483
|
type: "resource_link";
|
|
7484
7484
|
name: string;
|
|
7485
7485
|
uri: string;
|
|
7486
|
-
size?: number | null | undefined;
|
|
7487
7486
|
description?: string | null | undefined;
|
|
7488
7487
|
title?: string | null | undefined;
|
|
7488
|
+
mimeType?: string | null | undefined;
|
|
7489
|
+
size?: number | null | undefined;
|
|
7489
7490
|
annotations?: {
|
|
7490
7491
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7491
7492
|
lastModified?: string | null | undefined;
|
|
7492
7493
|
priority?: number | null | undefined;
|
|
7493
7494
|
} | null | undefined;
|
|
7494
|
-
mimeType?: string | null | undefined;
|
|
7495
7495
|
} | {
|
|
7496
7496
|
type: "resource";
|
|
7497
7497
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7519
7519
|
lastModified?: string | null | undefined;
|
|
@@ -7541,15 +7541,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7541
7541
|
type: "resource_link";
|
|
7542
7542
|
name: string;
|
|
7543
7543
|
uri: string;
|
|
7544
|
-
size?: number | null | undefined;
|
|
7545
7544
|
description?: string | null | undefined;
|
|
7546
7545
|
title?: string | null | undefined;
|
|
7546
|
+
mimeType?: string | null | undefined;
|
|
7547
|
+
size?: number | null | undefined;
|
|
7547
7548
|
annotations?: {
|
|
7548
7549
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7549
7550
|
lastModified?: string | null | undefined;
|
|
7550
7551
|
priority?: number | null | undefined;
|
|
7551
7552
|
} | null | undefined;
|
|
7552
|
-
mimeType?: string | null | undefined;
|
|
7553
7553
|
} | {
|
|
7554
7554
|
type: "resource";
|
|
7555
7555
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7577
7577
|
lastModified?: string | null | undefined;
|
|
@@ -7599,15 +7599,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7599
7599
|
type: "resource_link";
|
|
7600
7600
|
name: string;
|
|
7601
7601
|
uri: string;
|
|
7602
|
-
size?: number | null | undefined;
|
|
7603
7602
|
description?: string | null | undefined;
|
|
7604
7603
|
title?: string | null | undefined;
|
|
7604
|
+
mimeType?: string | null | undefined;
|
|
7605
|
+
size?: number | null | undefined;
|
|
7605
7606
|
annotations?: {
|
|
7606
7607
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7607
7608
|
lastModified?: string | null | undefined;
|
|
7608
7609
|
priority?: number | null | undefined;
|
|
7609
7610
|
} | null | undefined;
|
|
7610
|
-
mimeType?: string | null | undefined;
|
|
7611
7611
|
} | {
|
|
7612
7612
|
type: "resource";
|
|
7613
7613
|
resource: {
|
|
@@ -7628,15 +7628,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7628
7628
|
sessionUpdate: "agent_thought_chunk";
|
|
7629
7629
|
} | {
|
|
7630
7630
|
title: string;
|
|
7631
|
-
status: "
|
|
7631
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
7632
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
7632
7633
|
sessionUpdate: "tool_call";
|
|
7633
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
7634
7634
|
toolCallId: string;
|
|
7635
7635
|
content?: ({
|
|
7636
7636
|
type: "content";
|
|
7637
7637
|
content: {
|
|
7638
|
-
text: string;
|
|
7639
7638
|
type: "text";
|
|
7639
|
+
text: string;
|
|
7640
7640
|
annotations?: {
|
|
7641
7641
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7642
7642
|
lastModified?: string | null | undefined;
|
|
@@ -7664,15 +7664,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7664
7664
|
type: "resource_link";
|
|
7665
7665
|
name: string;
|
|
7666
7666
|
uri: string;
|
|
7667
|
-
size?: number | null | undefined;
|
|
7668
7667
|
description?: string | null | undefined;
|
|
7669
7668
|
title?: string | null | undefined;
|
|
7669
|
+
mimeType?: string | null | undefined;
|
|
7670
|
+
size?: number | null | undefined;
|
|
7670
7671
|
annotations?: {
|
|
7671
7672
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7672
7673
|
lastModified?: string | null | undefined;
|
|
7673
7674
|
priority?: number | null | undefined;
|
|
7674
7675
|
} | null | undefined;
|
|
7675
|
-
mimeType?: string | null | undefined;
|
|
7676
7676
|
} | {
|
|
7677
7677
|
type: "resource";
|
|
7678
7678
|
resource: {
|
|
@@ -7691,8 +7691,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7691
7691
|
} | null | undefined;
|
|
7692
7692
|
};
|
|
7693
7693
|
} | {
|
|
7694
|
-
type: "diff";
|
|
7695
7694
|
path: string;
|
|
7695
|
+
type: "diff";
|
|
7696
7696
|
newText: string;
|
|
7697
7697
|
oldText: string | null;
|
|
7698
7698
|
})[] | undefined;
|
|
@@ -7704,11 +7704,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7704
7704
|
} | {
|
|
7705
7705
|
sessionUpdate: "tool_call_update";
|
|
7706
7706
|
toolCallId: string;
|
|
7707
|
+
title?: string | null | undefined;
|
|
7708
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7707
7709
|
content?: ({
|
|
7708
7710
|
type: "content";
|
|
7709
7711
|
content: {
|
|
7710
|
-
text: string;
|
|
7711
7712
|
type: "text";
|
|
7713
|
+
text: string;
|
|
7712
7714
|
annotations?: {
|
|
7713
7715
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7714
7716
|
lastModified?: string | null | undefined;
|
|
@@ -7736,15 +7738,15 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7736
7738
|
type: "resource_link";
|
|
7737
7739
|
name: string;
|
|
7738
7740
|
uri: string;
|
|
7739
|
-
size?: number | null | undefined;
|
|
7740
7741
|
description?: string | null | undefined;
|
|
7741
7742
|
title?: string | null | undefined;
|
|
7743
|
+
mimeType?: string | null | undefined;
|
|
7744
|
+
size?: number | null | undefined;
|
|
7742
7745
|
annotations?: {
|
|
7743
7746
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7744
7747
|
lastModified?: string | null | undefined;
|
|
7745
7748
|
priority?: number | null | undefined;
|
|
7746
7749
|
} | null | undefined;
|
|
7747
|
-
mimeType?: string | null | undefined;
|
|
7748
7750
|
} | {
|
|
7749
7751
|
type: "resource";
|
|
7750
7752
|
resource: {
|
|
@@ -7763,14 +7765,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7763
7765
|
} | null | undefined;
|
|
7764
7766
|
};
|
|
7765
7767
|
} | {
|
|
7766
|
-
type: "diff";
|
|
7767
7768
|
path: string;
|
|
7769
|
+
type: "diff";
|
|
7768
7770
|
newText: string;
|
|
7769
7771
|
oldText: string | null;
|
|
7770
7772
|
})[] | null | undefined;
|
|
7771
|
-
|
|
7772
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
7773
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
7773
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7774
7774
|
locations?: {
|
|
7775
7775
|
path: string;
|
|
7776
7776
|
line?: number | null | undefined;
|
|
@@ -7778,8 +7778,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7778
7778
|
rawInput?: unknown;
|
|
7779
7779
|
} | {
|
|
7780
7780
|
entries: {
|
|
7781
|
+
status: "completed" | "pending" | "in_progress";
|
|
7781
7782
|
content: string;
|
|
7782
|
-
status: "pending" | "in_progress" | "completed";
|
|
7783
7783
|
priority: "high" | "medium" | "low";
|
|
7784
7784
|
}[];
|
|
7785
7785
|
sessionUpdate: "plan";
|
|
@@ -7790,12 +7790,12 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7790
7790
|
path: z.ZodString;
|
|
7791
7791
|
sessionId: z.ZodString;
|
|
7792
7792
|
}, "strip", z.ZodTypeAny, {
|
|
7793
|
-
content: string;
|
|
7794
7793
|
path: string;
|
|
7794
|
+
content: string;
|
|
7795
7795
|
sessionId: string;
|
|
7796
7796
|
}, {
|
|
7797
|
-
content: string;
|
|
7798
7797
|
path: string;
|
|
7798
|
+
content: string;
|
|
7799
7799
|
sessionId: string;
|
|
7800
7800
|
}>, z.ZodObject<{
|
|
7801
7801
|
limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7853
7853
|
lastModified?: string | null | undefined;
|
|
7854
7854
|
priority?: number | null | undefined;
|
|
7855
7855
|
} | null | undefined;
|
|
7856
7856
|
}, {
|
|
7857
|
-
text: string;
|
|
7858
7857
|
type: "text";
|
|
7858
|
+
text: string;
|
|
7859
7859
|
annotations?: {
|
|
7860
7860
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7861
7861
|
lastModified?: string | null | undefined;
|
|
@@ -7956,28 +7956,28 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7956
7956
|
type: "resource_link";
|
|
7957
7957
|
name: string;
|
|
7958
7958
|
uri: string;
|
|
7959
|
-
size?: number | null | undefined;
|
|
7960
7959
|
description?: string | null | undefined;
|
|
7961
7960
|
title?: string | null | undefined;
|
|
7961
|
+
mimeType?: string | null | undefined;
|
|
7962
|
+
size?: number | null | undefined;
|
|
7962
7963
|
annotations?: {
|
|
7963
7964
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7964
7965
|
lastModified?: string | null | undefined;
|
|
7965
7966
|
priority?: number | null | undefined;
|
|
7966
7967
|
} | null | undefined;
|
|
7967
|
-
mimeType?: string | null | undefined;
|
|
7968
7968
|
}, {
|
|
7969
7969
|
type: "resource_link";
|
|
7970
7970
|
name: string;
|
|
7971
7971
|
uri: string;
|
|
7972
|
-
size?: number | null | undefined;
|
|
7973
7972
|
description?: string | null | undefined;
|
|
7974
7973
|
title?: string | null | undefined;
|
|
7974
|
+
mimeType?: string | null | undefined;
|
|
7975
|
+
size?: number | null | undefined;
|
|
7975
7976
|
annotations?: {
|
|
7976
7977
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7977
7978
|
lastModified?: string | null | undefined;
|
|
7978
7979
|
priority?: number | null | undefined;
|
|
7979
7980
|
} | null | undefined;
|
|
7980
|
-
mimeType?: string | null | undefined;
|
|
7981
7981
|
}>, z.ZodObject<{
|
|
7982
7982
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7983
7983
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -8055,8 +8055,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8055
8055
|
}, "strip", z.ZodTypeAny, {
|
|
8056
8056
|
type: "content";
|
|
8057
8057
|
content: {
|
|
8058
|
-
text: string;
|
|
8059
8058
|
type: "text";
|
|
8059
|
+
text: string;
|
|
8060
8060
|
annotations?: {
|
|
8061
8061
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8062
8062
|
lastModified?: string | null | undefined;
|
|
@@ -8084,15 +8084,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8084
8084
|
type: "resource_link";
|
|
8085
8085
|
name: string;
|
|
8086
8086
|
uri: string;
|
|
8087
|
-
size?: number | null | undefined;
|
|
8088
8087
|
description?: string | null | undefined;
|
|
8089
8088
|
title?: string | null | undefined;
|
|
8089
|
+
mimeType?: string | null | undefined;
|
|
8090
|
+
size?: number | null | undefined;
|
|
8090
8091
|
annotations?: {
|
|
8091
8092
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8092
8093
|
lastModified?: string | null | undefined;
|
|
8093
8094
|
priority?: number | null | undefined;
|
|
8094
8095
|
} | null | undefined;
|
|
8095
|
-
mimeType?: string | null | undefined;
|
|
8096
8096
|
} | {
|
|
8097
8097
|
type: "resource";
|
|
8098
8098
|
resource: {
|
|
@@ -8113,8 +8113,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8113
8113
|
}, {
|
|
8114
8114
|
type: "content";
|
|
8115
8115
|
content: {
|
|
8116
|
-
text: string;
|
|
8117
8116
|
type: "text";
|
|
8117
|
+
text: string;
|
|
8118
8118
|
annotations?: {
|
|
8119
8119
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8120
8120
|
lastModified?: string | null | undefined;
|
|
@@ -8142,15 +8142,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8142
8142
|
type: "resource_link";
|
|
8143
8143
|
name: string;
|
|
8144
8144
|
uri: string;
|
|
8145
|
-
size?: number | null | undefined;
|
|
8146
8145
|
description?: string | null | undefined;
|
|
8147
8146
|
title?: string | null | undefined;
|
|
8147
|
+
mimeType?: string | null | undefined;
|
|
8148
|
+
size?: number | null | undefined;
|
|
8148
8149
|
annotations?: {
|
|
8149
8150
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8150
8151
|
lastModified?: string | null | undefined;
|
|
8151
8152
|
priority?: number | null | undefined;
|
|
8152
8153
|
} | null | undefined;
|
|
8153
|
-
mimeType?: string | null | undefined;
|
|
8154
8154
|
} | {
|
|
8155
8155
|
type: "resource";
|
|
8156
8156
|
resource: {
|
|
@@ -8174,13 +8174,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8174
8174
|
path: z.ZodString;
|
|
8175
8175
|
type: z.ZodLiteral<"diff">;
|
|
8176
8176
|
}, "strip", z.ZodTypeAny, {
|
|
8177
|
-
type: "diff";
|
|
8178
8177
|
path: string;
|
|
8178
|
+
type: "diff";
|
|
8179
8179
|
newText: string;
|
|
8180
8180
|
oldText: string | null;
|
|
8181
8181
|
}, {
|
|
8182
|
-
type: "diff";
|
|
8183
8182
|
path: string;
|
|
8183
|
+
type: "diff";
|
|
8184
8184
|
newText: string;
|
|
8185
8185
|
oldText: string | null;
|
|
8186
8186
|
}>]>, "many">>;
|
|
@@ -8201,14 +8201,14 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8201
8201
|
toolCallId: z.ZodString;
|
|
8202
8202
|
}, "strip", z.ZodTypeAny, {
|
|
8203
8203
|
title: string;
|
|
8204
|
-
status: "
|
|
8205
|
-
kind: "
|
|
8204
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
8205
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
8206
8206
|
toolCallId: string;
|
|
8207
8207
|
content?: ({
|
|
8208
8208
|
type: "content";
|
|
8209
8209
|
content: {
|
|
8210
|
-
text: string;
|
|
8211
8210
|
type: "text";
|
|
8211
|
+
text: string;
|
|
8212
8212
|
annotations?: {
|
|
8213
8213
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8214
8214
|
lastModified?: string | null | undefined;
|
|
@@ -8236,15 +8236,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8236
8236
|
type: "resource_link";
|
|
8237
8237
|
name: string;
|
|
8238
8238
|
uri: string;
|
|
8239
|
-
size?: number | null | undefined;
|
|
8240
8239
|
description?: string | null | undefined;
|
|
8241
8240
|
title?: string | null | undefined;
|
|
8241
|
+
mimeType?: string | null | undefined;
|
|
8242
|
+
size?: number | null | undefined;
|
|
8242
8243
|
annotations?: {
|
|
8243
8244
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8244
8245
|
lastModified?: string | null | undefined;
|
|
8245
8246
|
priority?: number | null | undefined;
|
|
8246
8247
|
} | null | undefined;
|
|
8247
|
-
mimeType?: string | null | undefined;
|
|
8248
8248
|
} | {
|
|
8249
8249
|
type: "resource";
|
|
8250
8250
|
resource: {
|
|
@@ -8263,8 +8263,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8263
8263
|
} | null | undefined;
|
|
8264
8264
|
};
|
|
8265
8265
|
} | {
|
|
8266
|
-
type: "diff";
|
|
8267
8266
|
path: string;
|
|
8267
|
+
type: "diff";
|
|
8268
8268
|
newText: string;
|
|
8269
8269
|
oldText: string | null;
|
|
8270
8270
|
})[] | undefined;
|
|
@@ -8275,14 +8275,14 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8275
8275
|
rawInput?: unknown;
|
|
8276
8276
|
}, {
|
|
8277
8277
|
title: string;
|
|
8278
|
-
status: "
|
|
8279
|
-
kind: "
|
|
8278
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
8279
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
8280
8280
|
toolCallId: string;
|
|
8281
8281
|
content?: ({
|
|
8282
8282
|
type: "content";
|
|
8283
8283
|
content: {
|
|
8284
|
-
text: string;
|
|
8285
8284
|
type: "text";
|
|
8285
|
+
text: string;
|
|
8286
8286
|
annotations?: {
|
|
8287
8287
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8288
8288
|
lastModified?: string | null | undefined;
|
|
@@ -8310,15 +8310,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8310
8310
|
type: "resource_link";
|
|
8311
8311
|
name: string;
|
|
8312
8312
|
uri: string;
|
|
8313
|
-
size?: number | null | undefined;
|
|
8314
8313
|
description?: string | null | undefined;
|
|
8315
8314
|
title?: string | null | undefined;
|
|
8315
|
+
mimeType?: string | null | undefined;
|
|
8316
|
+
size?: number | null | undefined;
|
|
8316
8317
|
annotations?: {
|
|
8317
8318
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8318
8319
|
lastModified?: string | null | undefined;
|
|
8319
8320
|
priority?: number | null | undefined;
|
|
8320
8321
|
} | null | undefined;
|
|
8321
|
-
mimeType?: string | null | undefined;
|
|
8322
8322
|
} | {
|
|
8323
8323
|
type: "resource";
|
|
8324
8324
|
resource: {
|
|
@@ -8337,8 +8337,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8337
8337
|
} | null | undefined;
|
|
8338
8338
|
};
|
|
8339
8339
|
} | {
|
|
8340
|
-
type: "diff";
|
|
8341
8340
|
path: string;
|
|
8341
|
+
type: "diff";
|
|
8342
8342
|
newText: string;
|
|
8343
8343
|
oldText: string | null;
|
|
8344
8344
|
})[] | undefined;
|
|
@@ -8357,14 +8357,14 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8357
8357
|
sessionId: string;
|
|
8358
8358
|
toolCall: {
|
|
8359
8359
|
title: string;
|
|
8360
|
-
status: "
|
|
8361
|
-
kind: "
|
|
8360
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
8361
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
8362
8362
|
toolCallId: string;
|
|
8363
8363
|
content?: ({
|
|
8364
8364
|
type: "content";
|
|
8365
8365
|
content: {
|
|
8366
|
-
text: string;
|
|
8367
8366
|
type: "text";
|
|
8367
|
+
text: string;
|
|
8368
8368
|
annotations?: {
|
|
8369
8369
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8370
8370
|
lastModified?: string | null | undefined;
|
|
@@ -8392,15 +8392,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8392
8392
|
type: "resource_link";
|
|
8393
8393
|
name: string;
|
|
8394
8394
|
uri: string;
|
|
8395
|
-
size?: number | null | undefined;
|
|
8396
8395
|
description?: string | null | undefined;
|
|
8397
8396
|
title?: string | null | undefined;
|
|
8397
|
+
mimeType?: string | null | undefined;
|
|
8398
|
+
size?: number | null | undefined;
|
|
8398
8399
|
annotations?: {
|
|
8399
8400
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8400
8401
|
lastModified?: string | null | undefined;
|
|
8401
8402
|
priority?: number | null | undefined;
|
|
8402
8403
|
} | null | undefined;
|
|
8403
|
-
mimeType?: string | null | undefined;
|
|
8404
8404
|
} | {
|
|
8405
8405
|
type: "resource";
|
|
8406
8406
|
resource: {
|
|
@@ -8419,8 +8419,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8419
8419
|
} | null | undefined;
|
|
8420
8420
|
};
|
|
8421
8421
|
} | {
|
|
8422
|
-
type: "diff";
|
|
8423
8422
|
path: string;
|
|
8423
|
+
type: "diff";
|
|
8424
8424
|
newText: string;
|
|
8425
8425
|
oldText: string | null;
|
|
8426
8426
|
})[] | undefined;
|
|
@@ -8439,14 +8439,14 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8439
8439
|
sessionId: string;
|
|
8440
8440
|
toolCall: {
|
|
8441
8441
|
title: string;
|
|
8442
|
-
status: "
|
|
8443
|
-
kind: "
|
|
8442
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
8443
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
8444
8444
|
toolCallId: string;
|
|
8445
8445
|
content?: ({
|
|
8446
8446
|
type: "content";
|
|
8447
8447
|
content: {
|
|
8448
|
-
text: string;
|
|
8449
8448
|
type: "text";
|
|
8449
|
+
text: string;
|
|
8450
8450
|
annotations?: {
|
|
8451
8451
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8452
8452
|
lastModified?: string | null | undefined;
|
|
@@ -8474,15 +8474,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8474
8474
|
type: "resource_link";
|
|
8475
8475
|
name: string;
|
|
8476
8476
|
uri: string;
|
|
8477
|
-
size?: number | null | undefined;
|
|
8478
8477
|
description?: string | null | undefined;
|
|
8479
8478
|
title?: string | null | undefined;
|
|
8479
|
+
mimeType?: string | null | undefined;
|
|
8480
|
+
size?: number | null | undefined;
|
|
8480
8481
|
annotations?: {
|
|
8481
8482
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8482
8483
|
lastModified?: string | null | undefined;
|
|
8483
8484
|
priority?: number | null | undefined;
|
|
8484
8485
|
} | null | undefined;
|
|
8485
|
-
mimeType?: string | null | undefined;
|
|
8486
8486
|
} | {
|
|
8487
8487
|
type: "resource";
|
|
8488
8488
|
resource: {
|
|
@@ -8501,8 +8501,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8501
8501
|
} | null | undefined;
|
|
8502
8502
|
};
|
|
8503
8503
|
} | {
|
|
8504
|
-
type: "diff";
|
|
8505
8504
|
path: string;
|
|
8505
|
+
type: "diff";
|
|
8506
8506
|
newText: string;
|
|
8507
8507
|
oldText: string | null;
|
|
8508
8508
|
})[] | undefined;
|
|
@@ -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
|
-
args: string[];
|
|
8581
8580
|
env: {
|
|
8582
8581
|
name: string;
|
|
8583
8582
|
value: string;
|
|
8584
8583
|
}[];
|
|
8585
8584
|
command: string;
|
|
8585
|
+
args: string[];
|
|
8586
8586
|
}, {
|
|
8587
8587
|
name: string;
|
|
8588
|
-
args: string[];
|
|
8589
8588
|
env: {
|
|
8590
8589
|
name: string;
|
|
8591
8590
|
value: string;
|
|
8592
8591
|
}[];
|
|
8593
8592
|
command: string;
|
|
8593
|
+
args: string[];
|
|
8594
8594
|
}>, "many">;
|
|
8595
8595
|
}, "strip", z.ZodTypeAny, {
|
|
8596
8596
|
mcpServers: {
|
|
8597
8597
|
name: string;
|
|
8598
|
-
args: string[];
|
|
8599
8598
|
env: {
|
|
8600
8599
|
name: string;
|
|
8601
8600
|
value: string;
|
|
8602
8601
|
}[];
|
|
8603
8602
|
command: string;
|
|
8603
|
+
args: string[];
|
|
8604
8604
|
}[];
|
|
8605
8605
|
cwd: string;
|
|
8606
8606
|
}, {
|
|
8607
8607
|
mcpServers: {
|
|
8608
8608
|
name: string;
|
|
8609
|
-
args: string[];
|
|
8610
8609
|
env: {
|
|
8611
8610
|
name: string;
|
|
8612
8611
|
value: string;
|
|
8613
8612
|
}[];
|
|
8614
8613
|
command: string;
|
|
8614
|
+
args: string[];
|
|
8615
8615
|
}[];
|
|
8616
8616
|
cwd: string;
|
|
8617
8617
|
}>, z.ZodObject<{
|
|
@@ -8632,43 +8632,43 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8632
8632
|
name: z.ZodString;
|
|
8633
8633
|
}, "strip", z.ZodTypeAny, {
|
|
8634
8634
|
name: string;
|
|
8635
|
-
args: string[];
|
|
8636
8635
|
env: {
|
|
8637
8636
|
name: string;
|
|
8638
8637
|
value: string;
|
|
8639
8638
|
}[];
|
|
8640
8639
|
command: string;
|
|
8640
|
+
args: string[];
|
|
8641
8641
|
}, {
|
|
8642
8642
|
name: string;
|
|
8643
|
-
args: string[];
|
|
8644
8643
|
env: {
|
|
8645
8644
|
name: string;
|
|
8646
8645
|
value: string;
|
|
8647
8646
|
}[];
|
|
8648
8647
|
command: string;
|
|
8648
|
+
args: string[];
|
|
8649
8649
|
}>, "many">;
|
|
8650
8650
|
sessionId: z.ZodString;
|
|
8651
8651
|
}, "strip", z.ZodTypeAny, {
|
|
8652
8652
|
mcpServers: {
|
|
8653
8653
|
name: string;
|
|
8654
|
-
args: string[];
|
|
8655
8654
|
env: {
|
|
8656
8655
|
name: string;
|
|
8657
8656
|
value: string;
|
|
8658
8657
|
}[];
|
|
8659
8658
|
command: string;
|
|
8659
|
+
args: string[];
|
|
8660
8660
|
}[];
|
|
8661
8661
|
cwd: string;
|
|
8662
8662
|
sessionId: string;
|
|
8663
8663
|
}, {
|
|
8664
8664
|
mcpServers: {
|
|
8665
8665
|
name: string;
|
|
8666
|
-
args: string[];
|
|
8667
8666
|
env: {
|
|
8668
8667
|
name: string;
|
|
8669
8668
|
value: string;
|
|
8670
8669
|
}[];
|
|
8671
8670
|
command: string;
|
|
8671
|
+
args: string[];
|
|
8672
8672
|
}[];
|
|
8673
8673
|
cwd: string;
|
|
8674
8674
|
sessionId: string;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8697
8697
|
lastModified?: string | null | undefined;
|
|
8698
8698
|
priority?: number | null | undefined;
|
|
8699
8699
|
} | null | undefined;
|
|
8700
8700
|
}, {
|
|
8701
|
-
text: string;
|
|
8702
8701
|
type: "text";
|
|
8702
|
+
text: string;
|
|
8703
8703
|
annotations?: {
|
|
8704
8704
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8705
8705
|
lastModified?: string | null | undefined;
|
|
@@ -8800,28 +8800,28 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8800
8800
|
type: "resource_link";
|
|
8801
8801
|
name: string;
|
|
8802
8802
|
uri: string;
|
|
8803
|
-
size?: number | null | undefined;
|
|
8804
8803
|
description?: string | null | undefined;
|
|
8805
8804
|
title?: string | null | undefined;
|
|
8805
|
+
mimeType?: string | null | undefined;
|
|
8806
|
+
size?: number | null | undefined;
|
|
8806
8807
|
annotations?: {
|
|
8807
8808
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8808
8809
|
lastModified?: string | null | undefined;
|
|
8809
8810
|
priority?: number | null | undefined;
|
|
8810
8811
|
} | null | undefined;
|
|
8811
|
-
mimeType?: string | null | undefined;
|
|
8812
8812
|
}, {
|
|
8813
8813
|
type: "resource_link";
|
|
8814
8814
|
name: string;
|
|
8815
8815
|
uri: string;
|
|
8816
|
-
size?: number | null | undefined;
|
|
8817
8816
|
description?: string | null | undefined;
|
|
8818
8817
|
title?: string | null | undefined;
|
|
8818
|
+
mimeType?: string | null | undefined;
|
|
8819
|
+
size?: number | null | undefined;
|
|
8819
8820
|
annotations?: {
|
|
8820
8821
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8821
8822
|
lastModified?: string | null | undefined;
|
|
8822
8823
|
priority?: number | null | undefined;
|
|
8823
8824
|
} | null | undefined;
|
|
8824
|
-
mimeType?: string | null | undefined;
|
|
8825
8825
|
}>, z.ZodObject<{
|
|
8826
8826
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8827
8827
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -8898,8 +8898,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8898
8898
|
sessionId: z.ZodString;
|
|
8899
8899
|
}, "strip", z.ZodTypeAny, {
|
|
8900
8900
|
prompt: ({
|
|
8901
|
-
text: string;
|
|
8902
8901
|
type: "text";
|
|
8902
|
+
text: string;
|
|
8903
8903
|
annotations?: {
|
|
8904
8904
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8905
8905
|
lastModified?: string | null | undefined;
|
|
@@ -8927,15 +8927,15 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8927
8927
|
type: "resource_link";
|
|
8928
8928
|
name: string;
|
|
8929
8929
|
uri: string;
|
|
8930
|
-
size?: number | null | undefined;
|
|
8931
8930
|
description?: string | null | undefined;
|
|
8932
8931
|
title?: string | null | undefined;
|
|
8932
|
+
mimeType?: string | null | undefined;
|
|
8933
|
+
size?: number | null | undefined;
|
|
8933
8934
|
annotations?: {
|
|
8934
8935
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8935
8936
|
lastModified?: string | null | undefined;
|
|
8936
8937
|
priority?: number | null | undefined;
|
|
8937
8938
|
} | null | undefined;
|
|
8938
|
-
mimeType?: string | null | undefined;
|
|
8939
8939
|
} | {
|
|
8940
8940
|
type: "resource";
|
|
8941
8941
|
resource: {
|
|
@@ -8956,8 +8956,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8956
8956
|
sessionId: string;
|
|
8957
8957
|
}, {
|
|
8958
8958
|
prompt: ({
|
|
8959
|
-
text: string;
|
|
8960
8959
|
type: "text";
|
|
8960
|
+
text: string;
|
|
8961
8961
|
annotations?: {
|
|
8962
8962
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8963
8963
|
lastModified?: string | null | undefined;
|
|
@@ -8985,15 +8985,15 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8985
8985
|
type: "resource_link";
|
|
8986
8986
|
name: string;
|
|
8987
8987
|
uri: string;
|
|
8988
|
-
size?: number | null | undefined;
|
|
8989
8988
|
description?: string | null | undefined;
|
|
8990
8989
|
title?: string | null | undefined;
|
|
8990
|
+
mimeType?: string | null | undefined;
|
|
8991
|
+
size?: number | null | undefined;
|
|
8991
8992
|
annotations?: {
|
|
8992
8993
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8993
8994
|
lastModified?: string | null | undefined;
|
|
8994
8995
|
priority?: number | null | undefined;
|
|
8995
8996
|
} | null | undefined;
|
|
8996
|
-
mimeType?: string | null | undefined;
|
|
8997
8997
|
} | {
|
|
8998
8998
|
type: "resource";
|
|
8999
8999
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9040
9040
|
lastModified?: string | null | undefined;
|
|
9041
9041
|
priority?: number | null | undefined;
|
|
9042
9042
|
} | null | undefined;
|
|
9043
9043
|
}, {
|
|
9044
|
-
text: string;
|
|
9045
9044
|
type: "text";
|
|
9045
|
+
text: string;
|
|
9046
9046
|
annotations?: {
|
|
9047
9047
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9048
9048
|
lastModified?: string | null | undefined;
|
|
@@ -9143,28 +9143,28 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9143
9143
|
type: "resource_link";
|
|
9144
9144
|
name: string;
|
|
9145
9145
|
uri: string;
|
|
9146
|
-
size?: number | null | undefined;
|
|
9147
9146
|
description?: string | null | undefined;
|
|
9148
9147
|
title?: string | null | undefined;
|
|
9148
|
+
mimeType?: string | null | undefined;
|
|
9149
|
+
size?: number | null | undefined;
|
|
9149
9150
|
annotations?: {
|
|
9150
9151
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9151
9152
|
lastModified?: string | null | undefined;
|
|
9152
9153
|
priority?: number | null | undefined;
|
|
9153
9154
|
} | null | undefined;
|
|
9154
|
-
mimeType?: string | null | undefined;
|
|
9155
9155
|
}, {
|
|
9156
9156
|
type: "resource_link";
|
|
9157
9157
|
name: string;
|
|
9158
9158
|
uri: string;
|
|
9159
|
-
size?: number | null | undefined;
|
|
9160
9159
|
description?: string | null | undefined;
|
|
9161
9160
|
title?: string | null | undefined;
|
|
9161
|
+
mimeType?: string | null | undefined;
|
|
9162
|
+
size?: number | null | undefined;
|
|
9162
9163
|
annotations?: {
|
|
9163
9164
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9164
9165
|
lastModified?: string | null | undefined;
|
|
9165
9166
|
priority?: number | null | undefined;
|
|
9166
9167
|
} | null | undefined;
|
|
9167
|
-
mimeType?: string | null | undefined;
|
|
9168
9168
|
}>, z.ZodObject<{
|
|
9169
9169
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9170
9170
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9248
9248
|
lastModified?: string | null | undefined;
|
|
@@ -9270,15 +9270,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9270
9270
|
type: "resource_link";
|
|
9271
9271
|
name: string;
|
|
9272
9272
|
uri: string;
|
|
9273
|
-
size?: number | null | undefined;
|
|
9274
9273
|
description?: string | null | undefined;
|
|
9275
9274
|
title?: string | null | undefined;
|
|
9275
|
+
mimeType?: string | null | undefined;
|
|
9276
|
+
size?: number | null | undefined;
|
|
9276
9277
|
annotations?: {
|
|
9277
9278
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9278
9279
|
lastModified?: string | null | undefined;
|
|
9279
9280
|
priority?: number | null | undefined;
|
|
9280
9281
|
} | null | undefined;
|
|
9281
|
-
mimeType?: string | null | undefined;
|
|
9282
9282
|
} | {
|
|
9283
9283
|
type: "resource";
|
|
9284
9284
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9306
9306
|
lastModified?: string | null | undefined;
|
|
@@ -9328,15 +9328,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9328
9328
|
type: "resource_link";
|
|
9329
9329
|
name: string;
|
|
9330
9330
|
uri: string;
|
|
9331
|
-
size?: number | null | undefined;
|
|
9332
9331
|
description?: string | null | undefined;
|
|
9333
9332
|
title?: string | null | undefined;
|
|
9333
|
+
mimeType?: string | null | undefined;
|
|
9334
|
+
size?: number | null | undefined;
|
|
9334
9335
|
annotations?: {
|
|
9335
9336
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9336
9337
|
lastModified?: string | null | undefined;
|
|
9337
9338
|
priority?: number | null | undefined;
|
|
9338
9339
|
} | null | undefined;
|
|
9339
|
-
mimeType?: string | null | undefined;
|
|
9340
9340
|
} | {
|
|
9341
9341
|
type: "resource";
|
|
9342
9342
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9380
9380
|
lastModified?: string | null | undefined;
|
|
9381
9381
|
priority?: number | null | undefined;
|
|
9382
9382
|
} | null | undefined;
|
|
9383
9383
|
}, {
|
|
9384
|
-
text: string;
|
|
9385
9384
|
type: "text";
|
|
9385
|
+
text: string;
|
|
9386
9386
|
annotations?: {
|
|
9387
9387
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9388
9388
|
lastModified?: string | null | undefined;
|
|
@@ -9483,28 +9483,28 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9483
9483
|
type: "resource_link";
|
|
9484
9484
|
name: string;
|
|
9485
9485
|
uri: string;
|
|
9486
|
-
size?: number | null | undefined;
|
|
9487
9486
|
description?: string | null | undefined;
|
|
9488
9487
|
title?: string | null | undefined;
|
|
9488
|
+
mimeType?: string | null | undefined;
|
|
9489
|
+
size?: number | null | undefined;
|
|
9489
9490
|
annotations?: {
|
|
9490
9491
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9491
9492
|
lastModified?: string | null | undefined;
|
|
9492
9493
|
priority?: number | null | undefined;
|
|
9493
9494
|
} | null | undefined;
|
|
9494
|
-
mimeType?: string | null | undefined;
|
|
9495
9495
|
}, {
|
|
9496
9496
|
type: "resource_link";
|
|
9497
9497
|
name: string;
|
|
9498
9498
|
uri: string;
|
|
9499
|
-
size?: number | null | undefined;
|
|
9500
9499
|
description?: string | null | undefined;
|
|
9501
9500
|
title?: string | null | undefined;
|
|
9501
|
+
mimeType?: string | null | undefined;
|
|
9502
|
+
size?: number | null | undefined;
|
|
9502
9503
|
annotations?: {
|
|
9503
9504
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9504
9505
|
lastModified?: string | null | undefined;
|
|
9505
9506
|
priority?: number | null | undefined;
|
|
9506
9507
|
} | null | undefined;
|
|
9507
|
-
mimeType?: string | null | undefined;
|
|
9508
9508
|
}>, z.ZodObject<{
|
|
9509
9509
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9510
9510
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9588
9588
|
lastModified?: string | null | undefined;
|
|
@@ -9610,15 +9610,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9610
9610
|
type: "resource_link";
|
|
9611
9611
|
name: string;
|
|
9612
9612
|
uri: string;
|
|
9613
|
-
size?: number | null | undefined;
|
|
9614
9613
|
description?: string | null | undefined;
|
|
9615
9614
|
title?: string | null | undefined;
|
|
9615
|
+
mimeType?: string | null | undefined;
|
|
9616
|
+
size?: number | null | undefined;
|
|
9616
9617
|
annotations?: {
|
|
9617
9618
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9618
9619
|
lastModified?: string | null | undefined;
|
|
9619
9620
|
priority?: number | null | undefined;
|
|
9620
9621
|
} | null | undefined;
|
|
9621
|
-
mimeType?: string | null | undefined;
|
|
9622
9622
|
} | {
|
|
9623
9623
|
type: "resource";
|
|
9624
9624
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9646
9646
|
lastModified?: string | null | undefined;
|
|
@@ -9668,15 +9668,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9668
9668
|
type: "resource_link";
|
|
9669
9669
|
name: string;
|
|
9670
9670
|
uri: string;
|
|
9671
|
-
size?: number | null | undefined;
|
|
9672
9671
|
description?: string | null | undefined;
|
|
9673
9672
|
title?: string | null | undefined;
|
|
9673
|
+
mimeType?: string | null | undefined;
|
|
9674
|
+
size?: number | null | undefined;
|
|
9674
9675
|
annotations?: {
|
|
9675
9676
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9676
9677
|
lastModified?: string | null | undefined;
|
|
9677
9678
|
priority?: number | null | undefined;
|
|
9678
9679
|
} | null | undefined;
|
|
9679
|
-
mimeType?: string | null | undefined;
|
|
9680
9680
|
} | {
|
|
9681
9681
|
type: "resource";
|
|
9682
9682
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9720
9720
|
lastModified?: string | null | undefined;
|
|
9721
9721
|
priority?: number | null | undefined;
|
|
9722
9722
|
} | null | undefined;
|
|
9723
9723
|
}, {
|
|
9724
|
-
text: string;
|
|
9725
9724
|
type: "text";
|
|
9725
|
+
text: string;
|
|
9726
9726
|
annotations?: {
|
|
9727
9727
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9728
9728
|
lastModified?: string | null | undefined;
|
|
@@ -9823,28 +9823,28 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9823
9823
|
type: "resource_link";
|
|
9824
9824
|
name: string;
|
|
9825
9825
|
uri: string;
|
|
9826
|
-
size?: number | null | undefined;
|
|
9827
9826
|
description?: string | null | undefined;
|
|
9828
9827
|
title?: string | null | undefined;
|
|
9828
|
+
mimeType?: string | null | undefined;
|
|
9829
|
+
size?: number | null | undefined;
|
|
9829
9830
|
annotations?: {
|
|
9830
9831
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9831
9832
|
lastModified?: string | null | undefined;
|
|
9832
9833
|
priority?: number | null | undefined;
|
|
9833
9834
|
} | null | undefined;
|
|
9834
|
-
mimeType?: string | null | undefined;
|
|
9835
9835
|
}, {
|
|
9836
9836
|
type: "resource_link";
|
|
9837
9837
|
name: string;
|
|
9838
9838
|
uri: string;
|
|
9839
|
-
size?: number | null | undefined;
|
|
9840
9839
|
description?: string | null | undefined;
|
|
9841
9840
|
title?: string | null | undefined;
|
|
9841
|
+
mimeType?: string | null | undefined;
|
|
9842
|
+
size?: number | null | undefined;
|
|
9842
9843
|
annotations?: {
|
|
9843
9844
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9844
9845
|
lastModified?: string | null | undefined;
|
|
9845
9846
|
priority?: number | null | undefined;
|
|
9846
9847
|
} | null | undefined;
|
|
9847
|
-
mimeType?: string | null | undefined;
|
|
9848
9848
|
}>, z.ZodObject<{
|
|
9849
9849
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9850
9850
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9928
9928
|
lastModified?: string | null | undefined;
|
|
@@ -9950,15 +9950,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9950
9950
|
type: "resource_link";
|
|
9951
9951
|
name: string;
|
|
9952
9952
|
uri: string;
|
|
9953
|
-
size?: number | null | undefined;
|
|
9954
9953
|
description?: string | null | undefined;
|
|
9955
9954
|
title?: string | null | undefined;
|
|
9955
|
+
mimeType?: string | null | undefined;
|
|
9956
|
+
size?: number | null | undefined;
|
|
9956
9957
|
annotations?: {
|
|
9957
9958
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9958
9959
|
lastModified?: string | null | undefined;
|
|
9959
9960
|
priority?: number | null | undefined;
|
|
9960
9961
|
} | null | undefined;
|
|
9961
|
-
mimeType?: string | null | undefined;
|
|
9962
9962
|
} | {
|
|
9963
9963
|
type: "resource";
|
|
9964
9964
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9986
9986
|
lastModified?: string | null | undefined;
|
|
@@ -10008,15 +10008,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10008
10008
|
type: "resource_link";
|
|
10009
10009
|
name: string;
|
|
10010
10010
|
uri: string;
|
|
10011
|
-
size?: number | null | undefined;
|
|
10012
10011
|
description?: string | null | undefined;
|
|
10013
10012
|
title?: string | null | undefined;
|
|
10013
|
+
mimeType?: string | null | undefined;
|
|
10014
|
+
size?: number | null | undefined;
|
|
10014
10015
|
annotations?: {
|
|
10015
10016
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10016
10017
|
lastModified?: string | null | undefined;
|
|
10017
10018
|
priority?: number | null | undefined;
|
|
10018
10019
|
} | null | undefined;
|
|
10019
|
-
mimeType?: string | null | undefined;
|
|
10020
10020
|
} | {
|
|
10021
10021
|
type: "resource";
|
|
10022
10022
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10061
10061
|
lastModified?: string | null | undefined;
|
|
10062
10062
|
priority?: number | null | undefined;
|
|
10063
10063
|
} | null | undefined;
|
|
10064
10064
|
}, {
|
|
10065
|
-
text: string;
|
|
10066
10065
|
type: "text";
|
|
10066
|
+
text: string;
|
|
10067
10067
|
annotations?: {
|
|
10068
10068
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10069
10069
|
lastModified?: string | null | undefined;
|
|
@@ -10164,28 +10164,28 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10164
10164
|
type: "resource_link";
|
|
10165
10165
|
name: string;
|
|
10166
10166
|
uri: string;
|
|
10167
|
-
size?: number | null | undefined;
|
|
10168
10167
|
description?: string | null | undefined;
|
|
10169
10168
|
title?: string | null | undefined;
|
|
10169
|
+
mimeType?: string | null | undefined;
|
|
10170
|
+
size?: number | null | undefined;
|
|
10170
10171
|
annotations?: {
|
|
10171
10172
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10172
10173
|
lastModified?: string | null | undefined;
|
|
10173
10174
|
priority?: number | null | undefined;
|
|
10174
10175
|
} | null | undefined;
|
|
10175
|
-
mimeType?: string | null | undefined;
|
|
10176
10176
|
}, {
|
|
10177
10177
|
type: "resource_link";
|
|
10178
10178
|
name: string;
|
|
10179
10179
|
uri: string;
|
|
10180
|
-
size?: number | null | undefined;
|
|
10181
10180
|
description?: string | null | undefined;
|
|
10182
10181
|
title?: string | null | undefined;
|
|
10182
|
+
mimeType?: string | null | undefined;
|
|
10183
|
+
size?: number | null | undefined;
|
|
10183
10184
|
annotations?: {
|
|
10184
10185
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10185
10186
|
lastModified?: string | null | undefined;
|
|
10186
10187
|
priority?: number | null | undefined;
|
|
10187
10188
|
} | null | undefined;
|
|
10188
|
-
mimeType?: string | null | undefined;
|
|
10189
10189
|
}>, z.ZodObject<{
|
|
10190
10190
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
10191
10191
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -10263,8 +10263,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10263
10263
|
}, "strip", z.ZodTypeAny, {
|
|
10264
10264
|
type: "content";
|
|
10265
10265
|
content: {
|
|
10266
|
-
text: string;
|
|
10267
10266
|
type: "text";
|
|
10267
|
+
text: string;
|
|
10268
10268
|
annotations?: {
|
|
10269
10269
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10270
10270
|
lastModified?: string | null | undefined;
|
|
@@ -10292,15 +10292,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10292
10292
|
type: "resource_link";
|
|
10293
10293
|
name: string;
|
|
10294
10294
|
uri: string;
|
|
10295
|
-
size?: number | null | undefined;
|
|
10296
10295
|
description?: string | null | undefined;
|
|
10297
10296
|
title?: string | null | undefined;
|
|
10297
|
+
mimeType?: string | null | undefined;
|
|
10298
|
+
size?: number | null | undefined;
|
|
10298
10299
|
annotations?: {
|
|
10299
10300
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10300
10301
|
lastModified?: string | null | undefined;
|
|
10301
10302
|
priority?: number | null | undefined;
|
|
10302
10303
|
} | null | undefined;
|
|
10303
|
-
mimeType?: string | null | undefined;
|
|
10304
10304
|
} | {
|
|
10305
10305
|
type: "resource";
|
|
10306
10306
|
resource: {
|
|
@@ -10321,8 +10321,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10321
10321
|
}, {
|
|
10322
10322
|
type: "content";
|
|
10323
10323
|
content: {
|
|
10324
|
-
text: string;
|
|
10325
10324
|
type: "text";
|
|
10325
|
+
text: string;
|
|
10326
10326
|
annotations?: {
|
|
10327
10327
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10328
10328
|
lastModified?: string | null | undefined;
|
|
@@ -10350,15 +10350,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10350
10350
|
type: "resource_link";
|
|
10351
10351
|
name: string;
|
|
10352
10352
|
uri: string;
|
|
10353
|
-
size?: number | null | undefined;
|
|
10354
10353
|
description?: string | null | undefined;
|
|
10355
10354
|
title?: string | null | undefined;
|
|
10355
|
+
mimeType?: string | null | undefined;
|
|
10356
|
+
size?: number | null | undefined;
|
|
10356
10357
|
annotations?: {
|
|
10357
10358
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10358
10359
|
lastModified?: string | null | undefined;
|
|
10359
10360
|
priority?: number | null | undefined;
|
|
10360
10361
|
} | null | undefined;
|
|
10361
|
-
mimeType?: string | null | undefined;
|
|
10362
10362
|
} | {
|
|
10363
10363
|
type: "resource";
|
|
10364
10364
|
resource: {
|
|
@@ -10382,13 +10382,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10382
10382
|
path: z.ZodString;
|
|
10383
10383
|
type: z.ZodLiteral<"diff">;
|
|
10384
10384
|
}, "strip", z.ZodTypeAny, {
|
|
10385
|
-
type: "diff";
|
|
10386
10385
|
path: string;
|
|
10386
|
+
type: "diff";
|
|
10387
10387
|
newText: string;
|
|
10388
10388
|
oldText: string | null;
|
|
10389
10389
|
}, {
|
|
10390
|
-
type: "diff";
|
|
10391
10390
|
path: string;
|
|
10391
|
+
type: "diff";
|
|
10392
10392
|
newText: string;
|
|
10393
10393
|
oldText: string | null;
|
|
10394
10394
|
}>]>, "many">>;
|
|
@@ -10410,15 +10410,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10410
10410
|
toolCallId: z.ZodString;
|
|
10411
10411
|
}, "strip", z.ZodTypeAny, {
|
|
10412
10412
|
title: string;
|
|
10413
|
-
status: "
|
|
10413
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
10414
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
10414
10415
|
sessionUpdate: "tool_call";
|
|
10415
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
10416
10416
|
toolCallId: string;
|
|
10417
10417
|
content?: ({
|
|
10418
10418
|
type: "content";
|
|
10419
10419
|
content: {
|
|
10420
|
-
text: string;
|
|
10421
10420
|
type: "text";
|
|
10421
|
+
text: string;
|
|
10422
10422
|
annotations?: {
|
|
10423
10423
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10424
10424
|
lastModified?: string | null | undefined;
|
|
@@ -10446,15 +10446,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10446
10446
|
type: "resource_link";
|
|
10447
10447
|
name: string;
|
|
10448
10448
|
uri: string;
|
|
10449
|
-
size?: number | null | undefined;
|
|
10450
10449
|
description?: string | null | undefined;
|
|
10451
10450
|
title?: string | null | undefined;
|
|
10451
|
+
mimeType?: string | null | undefined;
|
|
10452
|
+
size?: number | null | undefined;
|
|
10452
10453
|
annotations?: {
|
|
10453
10454
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10454
10455
|
lastModified?: string | null | undefined;
|
|
10455
10456
|
priority?: number | null | undefined;
|
|
10456
10457
|
} | null | undefined;
|
|
10457
|
-
mimeType?: string | null | undefined;
|
|
10458
10458
|
} | {
|
|
10459
10459
|
type: "resource";
|
|
10460
10460
|
resource: {
|
|
@@ -10473,8 +10473,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10473
10473
|
} | null | undefined;
|
|
10474
10474
|
};
|
|
10475
10475
|
} | {
|
|
10476
|
-
type: "diff";
|
|
10477
10476
|
path: string;
|
|
10477
|
+
type: "diff";
|
|
10478
10478
|
newText: string;
|
|
10479
10479
|
oldText: string | null;
|
|
10480
10480
|
})[] | undefined;
|
|
@@ -10485,15 +10485,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10485
10485
|
rawInput?: unknown;
|
|
10486
10486
|
}, {
|
|
10487
10487
|
title: string;
|
|
10488
|
-
status: "
|
|
10488
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
10489
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
10489
10490
|
sessionUpdate: "tool_call";
|
|
10490
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
10491
10491
|
toolCallId: string;
|
|
10492
10492
|
content?: ({
|
|
10493
10493
|
type: "content";
|
|
10494
10494
|
content: {
|
|
10495
|
-
text: string;
|
|
10496
10495
|
type: "text";
|
|
10496
|
+
text: string;
|
|
10497
10497
|
annotations?: {
|
|
10498
10498
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10499
10499
|
lastModified?: string | null | undefined;
|
|
@@ -10521,15 +10521,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10521
10521
|
type: "resource_link";
|
|
10522
10522
|
name: string;
|
|
10523
10523
|
uri: string;
|
|
10524
|
-
size?: number | null | undefined;
|
|
10525
10524
|
description?: string | null | undefined;
|
|
10526
10525
|
title?: string | null | undefined;
|
|
10526
|
+
mimeType?: string | null | undefined;
|
|
10527
|
+
size?: number | null | undefined;
|
|
10527
10528
|
annotations?: {
|
|
10528
10529
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10529
10530
|
lastModified?: string | null | undefined;
|
|
10530
10531
|
priority?: number | null | undefined;
|
|
10531
10532
|
} | null | undefined;
|
|
10532
|
-
mimeType?: string | null | undefined;
|
|
10533
10533
|
} | {
|
|
10534
10534
|
type: "resource";
|
|
10535
10535
|
resource: {
|
|
@@ -10548,8 +10548,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10548
10548
|
} | null | undefined;
|
|
10549
10549
|
};
|
|
10550
10550
|
} | {
|
|
10551
|
-
type: "diff";
|
|
10552
10551
|
path: string;
|
|
10552
|
+
type: "diff";
|
|
10553
10553
|
newText: string;
|
|
10554
10554
|
oldText: string | null;
|
|
10555
10555
|
})[] | undefined;
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10584
10584
|
lastModified?: string | null | undefined;
|
|
10585
10585
|
priority?: number | null | undefined;
|
|
10586
10586
|
} | null | undefined;
|
|
10587
10587
|
}, {
|
|
10588
|
-
text: string;
|
|
10589
10588
|
type: "text";
|
|
10589
|
+
text: string;
|
|
10590
10590
|
annotations?: {
|
|
10591
10591
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10592
10592
|
lastModified?: string | null | undefined;
|
|
@@ -10687,28 +10687,28 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10687
10687
|
type: "resource_link";
|
|
10688
10688
|
name: string;
|
|
10689
10689
|
uri: string;
|
|
10690
|
-
size?: number | null | undefined;
|
|
10691
10690
|
description?: string | null | undefined;
|
|
10692
10691
|
title?: string | null | undefined;
|
|
10692
|
+
mimeType?: string | null | undefined;
|
|
10693
|
+
size?: number | null | undefined;
|
|
10693
10694
|
annotations?: {
|
|
10694
10695
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10695
10696
|
lastModified?: string | null | undefined;
|
|
10696
10697
|
priority?: number | null | undefined;
|
|
10697
10698
|
} | null | undefined;
|
|
10698
|
-
mimeType?: string | null | undefined;
|
|
10699
10699
|
}, {
|
|
10700
10700
|
type: "resource_link";
|
|
10701
10701
|
name: string;
|
|
10702
10702
|
uri: string;
|
|
10703
|
-
size?: number | null | undefined;
|
|
10704
10703
|
description?: string | null | undefined;
|
|
10705
10704
|
title?: string | null | undefined;
|
|
10705
|
+
mimeType?: string | null | undefined;
|
|
10706
|
+
size?: number | null | undefined;
|
|
10706
10707
|
annotations?: {
|
|
10707
10708
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10708
10709
|
lastModified?: string | null | undefined;
|
|
10709
10710
|
priority?: number | null | undefined;
|
|
10710
10711
|
} | null | undefined;
|
|
10711
|
-
mimeType?: string | null | undefined;
|
|
10712
10712
|
}>, z.ZodObject<{
|
|
10713
10713
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
10714
10714
|
audience: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>, "many">>>;
|
|
@@ -10786,8 +10786,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10786
10786
|
}, "strip", z.ZodTypeAny, {
|
|
10787
10787
|
type: "content";
|
|
10788
10788
|
content: {
|
|
10789
|
-
text: string;
|
|
10790
10789
|
type: "text";
|
|
10790
|
+
text: string;
|
|
10791
10791
|
annotations?: {
|
|
10792
10792
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10793
10793
|
lastModified?: string | null | undefined;
|
|
@@ -10815,15 +10815,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10815
10815
|
type: "resource_link";
|
|
10816
10816
|
name: string;
|
|
10817
10817
|
uri: string;
|
|
10818
|
-
size?: number | null | undefined;
|
|
10819
10818
|
description?: string | null | undefined;
|
|
10820
10819
|
title?: string | null | undefined;
|
|
10820
|
+
mimeType?: string | null | undefined;
|
|
10821
|
+
size?: number | null | undefined;
|
|
10821
10822
|
annotations?: {
|
|
10822
10823
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10823
10824
|
lastModified?: string | null | undefined;
|
|
10824
10825
|
priority?: number | null | undefined;
|
|
10825
10826
|
} | null | undefined;
|
|
10826
|
-
mimeType?: string | null | undefined;
|
|
10827
10827
|
} | {
|
|
10828
10828
|
type: "resource";
|
|
10829
10829
|
resource: {
|
|
@@ -10844,8 +10844,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10844
10844
|
}, {
|
|
10845
10845
|
type: "content";
|
|
10846
10846
|
content: {
|
|
10847
|
-
text: string;
|
|
10848
10847
|
type: "text";
|
|
10848
|
+
text: string;
|
|
10849
10849
|
annotations?: {
|
|
10850
10850
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10851
10851
|
lastModified?: string | null | undefined;
|
|
@@ -10873,15 +10873,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10873
10873
|
type: "resource_link";
|
|
10874
10874
|
name: string;
|
|
10875
10875
|
uri: string;
|
|
10876
|
-
size?: number | null | undefined;
|
|
10877
10876
|
description?: string | null | undefined;
|
|
10878
10877
|
title?: string | null | undefined;
|
|
10878
|
+
mimeType?: string | null | undefined;
|
|
10879
|
+
size?: number | null | undefined;
|
|
10879
10880
|
annotations?: {
|
|
10880
10881
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10881
10882
|
lastModified?: string | null | undefined;
|
|
10882
10883
|
priority?: number | null | undefined;
|
|
10883
10884
|
} | null | undefined;
|
|
10884
|
-
mimeType?: string | null | undefined;
|
|
10885
10885
|
} | {
|
|
10886
10886
|
type: "resource";
|
|
10887
10887
|
resource: {
|
|
@@ -10905,13 +10905,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10905
10905
|
path: z.ZodString;
|
|
10906
10906
|
type: z.ZodLiteral<"diff">;
|
|
10907
10907
|
}, "strip", z.ZodTypeAny, {
|
|
10908
|
-
type: "diff";
|
|
10909
10908
|
path: string;
|
|
10909
|
+
type: "diff";
|
|
10910
10910
|
newText: string;
|
|
10911
10911
|
oldText: string | null;
|
|
10912
10912
|
}, {
|
|
10913
|
-
type: "diff";
|
|
10914
10913
|
path: string;
|
|
10914
|
+
type: "diff";
|
|
10915
10915
|
newText: string;
|
|
10916
10916
|
oldText: string | null;
|
|
10917
10917
|
}>]>, "many">>>;
|
|
@@ -10934,11 +10934,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10934
10934
|
}, "strip", z.ZodTypeAny, {
|
|
10935
10935
|
sessionUpdate: "tool_call_update";
|
|
10936
10936
|
toolCallId: string;
|
|
10937
|
+
title?: string | null | undefined;
|
|
10938
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
10937
10939
|
content?: ({
|
|
10938
10940
|
type: "content";
|
|
10939
10941
|
content: {
|
|
10940
|
-
text: string;
|
|
10941
10942
|
type: "text";
|
|
10943
|
+
text: string;
|
|
10942
10944
|
annotations?: {
|
|
10943
10945
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10944
10946
|
lastModified?: string | null | undefined;
|
|
@@ -10966,15 +10968,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10966
10968
|
type: "resource_link";
|
|
10967
10969
|
name: string;
|
|
10968
10970
|
uri: string;
|
|
10969
|
-
size?: number | null | undefined;
|
|
10970
10971
|
description?: string | null | undefined;
|
|
10971
10972
|
title?: string | null | undefined;
|
|
10973
|
+
mimeType?: string | null | undefined;
|
|
10974
|
+
size?: number | null | undefined;
|
|
10972
10975
|
annotations?: {
|
|
10973
10976
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10974
10977
|
lastModified?: string | null | undefined;
|
|
10975
10978
|
priority?: number | null | undefined;
|
|
10976
10979
|
} | null | undefined;
|
|
10977
|
-
mimeType?: string | null | undefined;
|
|
10978
10980
|
} | {
|
|
10979
10981
|
type: "resource";
|
|
10980
10982
|
resource: {
|
|
@@ -10993,14 +10995,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10993
10995
|
} | null | undefined;
|
|
10994
10996
|
};
|
|
10995
10997
|
} | {
|
|
10996
|
-
type: "diff";
|
|
10997
10998
|
path: string;
|
|
10999
|
+
type: "diff";
|
|
10998
11000
|
newText: string;
|
|
10999
11001
|
oldText: string | null;
|
|
11000
11002
|
})[] | null | undefined;
|
|
11001
|
-
|
|
11002
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
11003
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
11003
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11004
11004
|
locations?: {
|
|
11005
11005
|
path: string;
|
|
11006
11006
|
line?: number | null | undefined;
|
|
@@ -11009,11 +11009,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11009
11009
|
}, {
|
|
11010
11010
|
sessionUpdate: "tool_call_update";
|
|
11011
11011
|
toolCallId: string;
|
|
11012
|
+
title?: string | null | undefined;
|
|
11013
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11012
11014
|
content?: ({
|
|
11013
11015
|
type: "content";
|
|
11014
11016
|
content: {
|
|
11015
|
-
text: string;
|
|
11016
11017
|
type: "text";
|
|
11018
|
+
text: string;
|
|
11017
11019
|
annotations?: {
|
|
11018
11020
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11019
11021
|
lastModified?: string | null | undefined;
|
|
@@ -11041,15 +11043,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11041
11043
|
type: "resource_link";
|
|
11042
11044
|
name: string;
|
|
11043
11045
|
uri: string;
|
|
11044
|
-
size?: number | null | undefined;
|
|
11045
11046
|
description?: string | null | undefined;
|
|
11046
11047
|
title?: string | null | undefined;
|
|
11048
|
+
mimeType?: string | null | undefined;
|
|
11049
|
+
size?: number | null | undefined;
|
|
11047
11050
|
annotations?: {
|
|
11048
11051
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11049
11052
|
lastModified?: string | null | undefined;
|
|
11050
11053
|
priority?: number | null | undefined;
|
|
11051
11054
|
} | null | undefined;
|
|
11052
|
-
mimeType?: string | null | undefined;
|
|
11053
11055
|
} | {
|
|
11054
11056
|
type: "resource";
|
|
11055
11057
|
resource: {
|
|
@@ -11068,14 +11070,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11068
11070
|
} | null | undefined;
|
|
11069
11071
|
};
|
|
11070
11072
|
} | {
|
|
11071
|
-
type: "diff";
|
|
11072
11073
|
path: string;
|
|
11074
|
+
type: "diff";
|
|
11073
11075
|
newText: string;
|
|
11074
11076
|
oldText: string | null;
|
|
11075
11077
|
})[] | null | undefined;
|
|
11076
|
-
|
|
11077
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
11078
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
11078
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11079
11079
|
locations?: {
|
|
11080
11080
|
path: string;
|
|
11081
11081
|
line?: number | null | undefined;
|
|
@@ -11087,26 +11087,26 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11087
11087
|
priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
|
|
11088
11088
|
status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
|
|
11089
11089
|
}, "strip", z.ZodTypeAny, {
|
|
11090
|
+
status: "completed" | "pending" | "in_progress";
|
|
11090
11091
|
content: string;
|
|
11091
|
-
status: "pending" | "in_progress" | "completed";
|
|
11092
11092
|
priority: "high" | "medium" | "low";
|
|
11093
11093
|
}, {
|
|
11094
|
+
status: "completed" | "pending" | "in_progress";
|
|
11094
11095
|
content: string;
|
|
11095
|
-
status: "pending" | "in_progress" | "completed";
|
|
11096
11096
|
priority: "high" | "medium" | "low";
|
|
11097
11097
|
}>, "many">;
|
|
11098
11098
|
sessionUpdate: z.ZodLiteral<"plan">;
|
|
11099
11099
|
}, "strip", z.ZodTypeAny, {
|
|
11100
11100
|
entries: {
|
|
11101
|
+
status: "completed" | "pending" | "in_progress";
|
|
11101
11102
|
content: string;
|
|
11102
|
-
status: "pending" | "in_progress" | "completed";
|
|
11103
11103
|
priority: "high" | "medium" | "low";
|
|
11104
11104
|
}[];
|
|
11105
11105
|
sessionUpdate: "plan";
|
|
11106
11106
|
}, {
|
|
11107
11107
|
entries: {
|
|
11108
|
+
status: "completed" | "pending" | "in_progress";
|
|
11108
11109
|
content: string;
|
|
11109
|
-
status: "pending" | "in_progress" | "completed";
|
|
11110
11110
|
priority: "high" | "medium" | "low";
|
|
11111
11111
|
}[];
|
|
11112
11112
|
sessionUpdate: "plan";
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11122
11122
|
lastModified?: string | null | undefined;
|
|
@@ -11144,15 +11144,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11144
11144
|
type: "resource_link";
|
|
11145
11145
|
name: string;
|
|
11146
11146
|
uri: string;
|
|
11147
|
-
size?: number | null | undefined;
|
|
11148
11147
|
description?: string | null | undefined;
|
|
11149
11148
|
title?: string | null | undefined;
|
|
11149
|
+
mimeType?: string | null | undefined;
|
|
11150
|
+
size?: number | null | undefined;
|
|
11150
11151
|
annotations?: {
|
|
11151
11152
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11152
11153
|
lastModified?: string | null | undefined;
|
|
11153
11154
|
priority?: number | null | undefined;
|
|
11154
11155
|
} | null | undefined;
|
|
11155
|
-
mimeType?: string | null | undefined;
|
|
11156
11156
|
} | {
|
|
11157
11157
|
type: "resource";
|
|
11158
11158
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11180
11180
|
lastModified?: string | null | undefined;
|
|
@@ -11202,15 +11202,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11202
11202
|
type: "resource_link";
|
|
11203
11203
|
name: string;
|
|
11204
11204
|
uri: string;
|
|
11205
|
-
size?: number | null | undefined;
|
|
11206
11205
|
description?: string | null | undefined;
|
|
11207
11206
|
title?: string | null | undefined;
|
|
11207
|
+
mimeType?: string | null | undefined;
|
|
11208
|
+
size?: number | null | undefined;
|
|
11208
11209
|
annotations?: {
|
|
11209
11210
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11210
11211
|
lastModified?: string | null | undefined;
|
|
11211
11212
|
priority?: number | null | undefined;
|
|
11212
11213
|
} | null | undefined;
|
|
11213
|
-
mimeType?: string | null | undefined;
|
|
11214
11214
|
} | {
|
|
11215
11215
|
type: "resource";
|
|
11216
11216
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11238
11238
|
lastModified?: string | null | undefined;
|
|
@@ -11260,15 +11260,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11260
11260
|
type: "resource_link";
|
|
11261
11261
|
name: string;
|
|
11262
11262
|
uri: string;
|
|
11263
|
-
size?: number | null | undefined;
|
|
11264
11263
|
description?: string | null | undefined;
|
|
11265
11264
|
title?: string | null | undefined;
|
|
11265
|
+
mimeType?: string | null | undefined;
|
|
11266
|
+
size?: number | null | undefined;
|
|
11266
11267
|
annotations?: {
|
|
11267
11268
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11268
11269
|
lastModified?: string | null | undefined;
|
|
11269
11270
|
priority?: number | null | undefined;
|
|
11270
11271
|
} | null | undefined;
|
|
11271
|
-
mimeType?: string | null | undefined;
|
|
11272
11272
|
} | {
|
|
11273
11273
|
type: "resource";
|
|
11274
11274
|
resource: {
|
|
@@ -11289,15 +11289,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11289
11289
|
sessionUpdate: "agent_thought_chunk";
|
|
11290
11290
|
} | {
|
|
11291
11291
|
title: string;
|
|
11292
|
-
status: "
|
|
11292
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
11293
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
11293
11294
|
sessionUpdate: "tool_call";
|
|
11294
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
11295
11295
|
toolCallId: string;
|
|
11296
11296
|
content?: ({
|
|
11297
11297
|
type: "content";
|
|
11298
11298
|
content: {
|
|
11299
|
-
text: string;
|
|
11300
11299
|
type: "text";
|
|
11300
|
+
text: string;
|
|
11301
11301
|
annotations?: {
|
|
11302
11302
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11303
11303
|
lastModified?: string | null | undefined;
|
|
@@ -11325,15 +11325,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11325
11325
|
type: "resource_link";
|
|
11326
11326
|
name: string;
|
|
11327
11327
|
uri: string;
|
|
11328
|
-
size?: number | null | undefined;
|
|
11329
11328
|
description?: string | null | undefined;
|
|
11330
11329
|
title?: string | null | undefined;
|
|
11330
|
+
mimeType?: string | null | undefined;
|
|
11331
|
+
size?: number | null | undefined;
|
|
11331
11332
|
annotations?: {
|
|
11332
11333
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11333
11334
|
lastModified?: string | null | undefined;
|
|
11334
11335
|
priority?: number | null | undefined;
|
|
11335
11336
|
} | null | undefined;
|
|
11336
|
-
mimeType?: string | null | undefined;
|
|
11337
11337
|
} | {
|
|
11338
11338
|
type: "resource";
|
|
11339
11339
|
resource: {
|
|
@@ -11352,8 +11352,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11352
11352
|
} | null | undefined;
|
|
11353
11353
|
};
|
|
11354
11354
|
} | {
|
|
11355
|
-
type: "diff";
|
|
11356
11355
|
path: string;
|
|
11356
|
+
type: "diff";
|
|
11357
11357
|
newText: string;
|
|
11358
11358
|
oldText: string | null;
|
|
11359
11359
|
})[] | undefined;
|
|
@@ -11365,11 +11365,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11365
11365
|
} | {
|
|
11366
11366
|
sessionUpdate: "tool_call_update";
|
|
11367
11367
|
toolCallId: string;
|
|
11368
|
+
title?: string | null | undefined;
|
|
11369
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11368
11370
|
content?: ({
|
|
11369
11371
|
type: "content";
|
|
11370
11372
|
content: {
|
|
11371
|
-
text: string;
|
|
11372
11373
|
type: "text";
|
|
11374
|
+
text: string;
|
|
11373
11375
|
annotations?: {
|
|
11374
11376
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11375
11377
|
lastModified?: string | null | undefined;
|
|
@@ -11397,15 +11399,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11397
11399
|
type: "resource_link";
|
|
11398
11400
|
name: string;
|
|
11399
11401
|
uri: string;
|
|
11400
|
-
size?: number | null | undefined;
|
|
11401
11402
|
description?: string | null | undefined;
|
|
11402
11403
|
title?: string | null | undefined;
|
|
11404
|
+
mimeType?: string | null | undefined;
|
|
11405
|
+
size?: number | null | undefined;
|
|
11403
11406
|
annotations?: {
|
|
11404
11407
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11405
11408
|
lastModified?: string | null | undefined;
|
|
11406
11409
|
priority?: number | null | undefined;
|
|
11407
11410
|
} | null | undefined;
|
|
11408
|
-
mimeType?: string | null | undefined;
|
|
11409
11411
|
} | {
|
|
11410
11412
|
type: "resource";
|
|
11411
11413
|
resource: {
|
|
@@ -11424,14 +11426,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11424
11426
|
} | null | undefined;
|
|
11425
11427
|
};
|
|
11426
11428
|
} | {
|
|
11427
|
-
type: "diff";
|
|
11428
11429
|
path: string;
|
|
11430
|
+
type: "diff";
|
|
11429
11431
|
newText: string;
|
|
11430
11432
|
oldText: string | null;
|
|
11431
11433
|
})[] | null | undefined;
|
|
11432
|
-
|
|
11433
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
11434
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
11434
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11435
11435
|
locations?: {
|
|
11436
11436
|
path: string;
|
|
11437
11437
|
line?: number | null | undefined;
|
|
@@ -11439,8 +11439,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11439
11439
|
rawInput?: unknown;
|
|
11440
11440
|
} | {
|
|
11441
11441
|
entries: {
|
|
11442
|
+
status: "completed" | "pending" | "in_progress";
|
|
11442
11443
|
content: string;
|
|
11443
|
-
status: "pending" | "in_progress" | "completed";
|
|
11444
11444
|
priority: "high" | "medium" | "low";
|
|
11445
11445
|
}[];
|
|
11446
11446
|
sessionUpdate: "plan";
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11456
11456
|
lastModified?: string | null | undefined;
|
|
@@ -11478,15 +11478,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11478
11478
|
type: "resource_link";
|
|
11479
11479
|
name: string;
|
|
11480
11480
|
uri: string;
|
|
11481
|
-
size?: number | null | undefined;
|
|
11482
11481
|
description?: string | null | undefined;
|
|
11483
11482
|
title?: string | null | undefined;
|
|
11483
|
+
mimeType?: string | null | undefined;
|
|
11484
|
+
size?: number | null | undefined;
|
|
11484
11485
|
annotations?: {
|
|
11485
11486
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11486
11487
|
lastModified?: string | null | undefined;
|
|
11487
11488
|
priority?: number | null | undefined;
|
|
11488
11489
|
} | null | undefined;
|
|
11489
|
-
mimeType?: string | null | undefined;
|
|
11490
11490
|
} | {
|
|
11491
11491
|
type: "resource";
|
|
11492
11492
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11514
11514
|
lastModified?: string | null | undefined;
|
|
@@ -11536,15 +11536,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11536
11536
|
type: "resource_link";
|
|
11537
11537
|
name: string;
|
|
11538
11538
|
uri: string;
|
|
11539
|
-
size?: number | null | undefined;
|
|
11540
11539
|
description?: string | null | undefined;
|
|
11541
11540
|
title?: string | null | undefined;
|
|
11541
|
+
mimeType?: string | null | undefined;
|
|
11542
|
+
size?: number | null | undefined;
|
|
11542
11543
|
annotations?: {
|
|
11543
11544
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11544
11545
|
lastModified?: string | null | undefined;
|
|
11545
11546
|
priority?: number | null | undefined;
|
|
11546
11547
|
} | null | undefined;
|
|
11547
|
-
mimeType?: string | null | undefined;
|
|
11548
11548
|
} | {
|
|
11549
11549
|
type: "resource";
|
|
11550
11550
|
resource: {
|
|
@@ -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
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11572
11572
|
lastModified?: string | null | undefined;
|
|
@@ -11594,15 +11594,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11594
11594
|
type: "resource_link";
|
|
11595
11595
|
name: string;
|
|
11596
11596
|
uri: string;
|
|
11597
|
-
size?: number | null | undefined;
|
|
11598
11597
|
description?: string | null | undefined;
|
|
11599
11598
|
title?: string | null | undefined;
|
|
11599
|
+
mimeType?: string | null | undefined;
|
|
11600
|
+
size?: number | null | undefined;
|
|
11600
11601
|
annotations?: {
|
|
11601
11602
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11602
11603
|
lastModified?: string | null | undefined;
|
|
11603
11604
|
priority?: number | null | undefined;
|
|
11604
11605
|
} | null | undefined;
|
|
11605
|
-
mimeType?: string | null | undefined;
|
|
11606
11606
|
} | {
|
|
11607
11607
|
type: "resource";
|
|
11608
11608
|
resource: {
|
|
@@ -11623,15 +11623,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11623
11623
|
sessionUpdate: "agent_thought_chunk";
|
|
11624
11624
|
} | {
|
|
11625
11625
|
title: string;
|
|
11626
|
-
status: "
|
|
11626
|
+
status: "completed" | "failed" | "pending" | "in_progress";
|
|
11627
|
+
kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
|
|
11627
11628
|
sessionUpdate: "tool_call";
|
|
11628
|
-
kind: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other";
|
|
11629
11629
|
toolCallId: string;
|
|
11630
11630
|
content?: ({
|
|
11631
11631
|
type: "content";
|
|
11632
11632
|
content: {
|
|
11633
|
-
text: string;
|
|
11634
11633
|
type: "text";
|
|
11634
|
+
text: string;
|
|
11635
11635
|
annotations?: {
|
|
11636
11636
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11637
11637
|
lastModified?: string | null | undefined;
|
|
@@ -11659,15 +11659,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11659
11659
|
type: "resource_link";
|
|
11660
11660
|
name: string;
|
|
11661
11661
|
uri: string;
|
|
11662
|
-
size?: number | null | undefined;
|
|
11663
11662
|
description?: string | null | undefined;
|
|
11664
11663
|
title?: string | null | undefined;
|
|
11664
|
+
mimeType?: string | null | undefined;
|
|
11665
|
+
size?: number | null | undefined;
|
|
11665
11666
|
annotations?: {
|
|
11666
11667
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11667
11668
|
lastModified?: string | null | undefined;
|
|
11668
11669
|
priority?: number | null | undefined;
|
|
11669
11670
|
} | null | undefined;
|
|
11670
|
-
mimeType?: string | null | undefined;
|
|
11671
11671
|
} | {
|
|
11672
11672
|
type: "resource";
|
|
11673
11673
|
resource: {
|
|
@@ -11686,8 +11686,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11686
11686
|
} | null | undefined;
|
|
11687
11687
|
};
|
|
11688
11688
|
} | {
|
|
11689
|
-
type: "diff";
|
|
11690
11689
|
path: string;
|
|
11690
|
+
type: "diff";
|
|
11691
11691
|
newText: string;
|
|
11692
11692
|
oldText: string | null;
|
|
11693
11693
|
})[] | undefined;
|
|
@@ -11699,11 +11699,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11699
11699
|
} | {
|
|
11700
11700
|
sessionUpdate: "tool_call_update";
|
|
11701
11701
|
toolCallId: string;
|
|
11702
|
+
title?: string | null | undefined;
|
|
11703
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11702
11704
|
content?: ({
|
|
11703
11705
|
type: "content";
|
|
11704
11706
|
content: {
|
|
11705
|
-
text: string;
|
|
11706
11707
|
type: "text";
|
|
11708
|
+
text: string;
|
|
11707
11709
|
annotations?: {
|
|
11708
11710
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11709
11711
|
lastModified?: string | null | undefined;
|
|
@@ -11731,15 +11733,15 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11731
11733
|
type: "resource_link";
|
|
11732
11734
|
name: string;
|
|
11733
11735
|
uri: string;
|
|
11734
|
-
size?: number | null | undefined;
|
|
11735
11736
|
description?: string | null | undefined;
|
|
11736
11737
|
title?: string | null | undefined;
|
|
11738
|
+
mimeType?: string | null | undefined;
|
|
11739
|
+
size?: number | null | undefined;
|
|
11737
11740
|
annotations?: {
|
|
11738
11741
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
11739
11742
|
lastModified?: string | null | undefined;
|
|
11740
11743
|
priority?: number | null | undefined;
|
|
11741
11744
|
} | null | undefined;
|
|
11742
|
-
mimeType?: string | null | undefined;
|
|
11743
11745
|
} | {
|
|
11744
11746
|
type: "resource";
|
|
11745
11747
|
resource: {
|
|
@@ -11758,14 +11760,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11758
11760
|
} | null | undefined;
|
|
11759
11761
|
};
|
|
11760
11762
|
} | {
|
|
11761
|
-
type: "diff";
|
|
11762
11763
|
path: string;
|
|
11764
|
+
type: "diff";
|
|
11763
11765
|
newText: string;
|
|
11764
11766
|
oldText: string | null;
|
|
11765
11767
|
})[] | null | undefined;
|
|
11766
|
-
|
|
11767
|
-
status?: "pending" | "in_progress" | "completed" | "failed" | null | undefined;
|
|
11768
|
-
kind?: "delete" | "edit" | "search" | "read" | "move" | "execute" | "think" | "fetch" | "other" | null | undefined;
|
|
11768
|
+
kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11769
11769
|
locations?: {
|
|
11770
11770
|
path: string;
|
|
11771
11771
|
line?: number | null | undefined;
|
|
@@ -11773,8 +11773,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11773
11773
|
rawInput?: unknown;
|
|
11774
11774
|
} | {
|
|
11775
11775
|
entries: {
|
|
11776
|
+
status: "completed" | "pending" | "in_progress";
|
|
11776
11777
|
content: string;
|
|
11777
|
-
status: "pending" | "in_progress" | "completed";
|
|
11778
11778
|
priority: "high" | "medium" | "low";
|
|
11779
11779
|
}[];
|
|
11780
11780
|
sessionUpdate: "plan";
|