@umsai/ums-code 0.0.14-v2 → 0.3.0-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/package.json +25 -12
- package/dist/src/commands/extensions/disable.d.ts +2 -3
- package/dist/src/commands/extensions/disable.js +20 -6
- package/dist/src/commands/extensions/disable.js.map +1 -1
- package/dist/src/commands/extensions/enable.d.ts +2 -3
- package/dist/src/commands/extensions/enable.js +21 -10
- package/dist/src/commands/extensions/enable.js.map +1 -1
- package/dist/src/commands/extensions/examples/context/QWEN.md +8 -0
- package/dist/src/commands/extensions/examples/context/qwen-extension.json +4 -0
- package/dist/src/commands/extensions/examples/custom-commands/commands/fs/grep-code.toml +6 -0
- package/dist/src/commands/extensions/examples/custom-commands/qwen-extension.json +4 -0
- package/dist/src/commands/extensions/examples/exclude-tools/qwen-extension.json +5 -0
- package/dist/src/commands/extensions/examples/mcp-server/example.ts +60 -0
- package/dist/src/commands/extensions/examples/mcp-server/package.json +18 -0
- package/dist/src/commands/extensions/examples/mcp-server/qwen-extension.json +11 -0
- package/dist/src/commands/extensions/examples/mcp-server/tsconfig.json +13 -0
- package/dist/src/commands/extensions/install.d.ts +3 -2
- package/dist/src/commands/extensions/install.js +47 -17
- package/dist/src/commands/extensions/install.js.map +1 -1
- package/dist/src/commands/extensions/install.test.js +86 -9
- package/dist/src/commands/extensions/install.test.js.map +1 -1
- package/dist/src/commands/extensions/link.d.ts +12 -0
- package/dist/src/commands/extensions/link.js +37 -0
- package/dist/src/commands/extensions/link.js.map +1 -0
- package/dist/src/commands/extensions/list.js +1 -1
- package/dist/src/commands/extensions/list.js.map +1 -1
- package/dist/src/commands/extensions/new.d.ts +7 -0
- package/dist/src/commands/extensions/new.js +90 -0
- package/dist/src/commands/extensions/new.js.map +1 -0
- package/dist/src/commands/extensions/new.test.js +59 -0
- package/dist/src/commands/extensions/new.test.js.map +1 -0
- package/dist/src/commands/extensions/uninstall.js +1 -1
- package/dist/src/commands/extensions/uninstall.js.map +1 -1
- package/dist/src/commands/extensions/uninstall.test.js +2 -2
- package/dist/src/commands/extensions/uninstall.test.js.map +1 -1
- package/dist/src/commands/extensions/update.d.ts +2 -1
- package/dist/src/commands/extensions/update.js +80 -14
- package/dist/src/commands/extensions/update.js.map +1 -1
- package/dist/src/commands/extensions.js +4 -0
- package/dist/src/commands/extensions.js.map +1 -1
- package/dist/src/commands/mcp/add.js +6 -1
- package/dist/src/commands/mcp/add.js.map +1 -1
- package/dist/src/commands/mcp/list.js +4 -3
- package/dist/src/commands/mcp/list.js.map +1 -1
- package/dist/src/commands/mcp/remove.js +1 -1
- package/dist/src/commands/mcp/remove.js.map +1 -1
- package/dist/src/config/auth.d.ts +2 -4
- package/dist/src/config/auth.js +10 -36
- package/dist/src/config/auth.js.map +1 -1
- package/dist/src/config/auth.test.js +12 -32
- package/dist/src/config/auth.test.js.map +1 -1
- package/dist/src/config/config.d.ts +13 -2
- package/dist/src/config/config.js +278 -128
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/extension.d.ts +41 -18
- package/dist/src/config/extension.js +352 -195
- package/dist/src/config/extension.js.map +1 -1
- package/dist/src/config/extensions/extensionEnablement.d.ts +47 -0
- package/dist/src/config/extensions/extensionEnablement.js +189 -0
- package/dist/src/config/extensions/extensionEnablement.js.map +1 -0
- package/dist/src/config/extensions/extensionEnablement.test.js +333 -0
- package/dist/src/config/extensions/extensionEnablement.test.js.map +1 -0
- package/dist/src/config/extensions/github.d.ts +30 -0
- package/dist/src/config/extensions/github.js +322 -0
- package/dist/src/config/extensions/github.js.map +1 -0
- package/dist/src/config/extensions/github.test.d.ts +6 -0
- package/dist/src/config/extensions/github.test.js +334 -0
- package/dist/src/config/extensions/github.test.js.map +1 -0
- package/dist/src/config/extensions/update.d.ts +19 -0
- package/dist/src/config/extensions/update.js +113 -0
- package/dist/src/config/extensions/update.js.map +1 -0
- package/dist/src/config/extensions/update.test.d.ts +6 -0
- package/dist/src/config/extensions/update.test.js +342 -0
- package/dist/src/config/extensions/update.test.js.map +1 -0
- package/dist/src/config/extensions/variableSchema.d.ts +8 -0
- package/dist/src/config/extensions/variableSchema.js +4 -0
- package/dist/src/config/extensions/variableSchema.js.map +1 -1
- package/dist/src/config/keyBindings.d.ts +5 -1
- package/dist/src/config/keyBindings.js +14 -25
- package/dist/src/config/keyBindings.js.map +1 -1
- package/dist/src/config/settings.d.ts +15 -5
- package/dist/src/config/settings.js +231 -274
- package/dist/src/config/settings.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +425 -149
- package/dist/src/config/settingsSchema.js +396 -145
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/config/settingsSchema.test.js +64 -57
- package/dist/src/config/settingsSchema.test.js.map +1 -1
- package/dist/src/config/trustedFolders.d.ts +24 -5
- package/dist/src/config/trustedFolders.js +98 -48
- package/dist/src/config/trustedFolders.js.map +1 -1
- package/dist/src/config/trustedFolders.test.js +196 -20
- package/dist/src/config/trustedFolders.test.js.map +1 -1
- package/dist/src/config/webSearch.d.ts +35 -0
- package/dist/src/config/webSearch.js +87 -0
- package/dist/src/config/webSearch.js.map +1 -0
- package/dist/src/core/auth.d.ts +13 -0
- package/dist/src/core/auth.js +43 -0
- package/dist/src/core/auth.js.map +1 -0
- package/dist/src/core/initializer.d.ts +21 -0
- package/dist/src/core/initializer.js +44 -0
- package/dist/src/core/initializer.js.map +1 -0
- package/dist/src/core/theme.d.ts +12 -0
- package/dist/src/core/theme.js +23 -0
- package/dist/src/core/theme.js.map +1 -0
- package/dist/src/gemini.d.ts +2 -1
- package/dist/src/gemini.js +166 -128
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/gemini.test.js +307 -47
- package/dist/src/gemini.test.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/generated/git-commit.js.map +1 -1
- package/dist/src/i18n/index.d.ts +18 -0
- package/dist/src/i18n/index.js +184 -0
- package/dist/src/i18n/index.js.map +1 -0
- package/dist/src/i18n/locales/en.js +1129 -0
- package/dist/src/i18n/locales/zh.js +1052 -0
- package/dist/src/nonInteractive/control/ControlContext.d.ts +63 -0
- package/dist/src/nonInteractive/control/ControlContext.js +31 -0
- package/dist/src/nonInteractive/control/ControlContext.js.map +1 -0
- package/dist/src/nonInteractive/control/ControlDispatcher.d.ts +86 -0
- package/dist/src/nonInteractive/control/ControlDispatcher.js +238 -0
- package/dist/src/nonInteractive/control/ControlDispatcher.js.map +1 -0
- package/dist/src/nonInteractive/control/ControlDispatcher.test.d.ts +6 -0
- package/dist/src/nonInteractive/control/ControlDispatcher.test.js +549 -0
- package/dist/src/nonInteractive/control/ControlDispatcher.test.js.map +1 -0
- package/dist/src/nonInteractive/control/ControlService.d.ts +78 -0
- package/dist/src/nonInteractive/control/ControlService.js +154 -0
- package/dist/src/nonInteractive/control/ControlService.js.map +1 -0
- package/dist/src/nonInteractive/control/controllers/baseController.d.ts +50 -0
- package/dist/src/nonInteractive/control/controllers/baseController.js +102 -0
- package/dist/src/nonInteractive/control/controllers/baseController.js.map +1 -0
- package/dist/src/nonInteractive/control/controllers/hookController.d.ts +25 -0
- package/dist/src/nonInteractive/control/controllers/hookController.js +42 -0
- package/dist/src/nonInteractive/control/controllers/hookController.js.map +1 -0
- package/dist/src/nonInteractive/control/controllers/mcpController.d.ts +42 -0
- package/dist/src/nonInteractive/control/controllers/mcpController.js +205 -0
- package/dist/src/nonInteractive/control/controllers/mcpController.js.map +1 -0
- package/dist/src/nonInteractive/control/controllers/permissionController.d.ts +78 -0
- package/dist/src/nonInteractive/control/controllers/permissionController.js +358 -0
- package/dist/src/nonInteractive/control/controllers/permissionController.js.map +1 -0
- package/dist/src/nonInteractive/control/controllers/systemController.d.ts +56 -0
- package/dist/src/nonInteractive/control/controllers/systemController.js +166 -0
- package/dist/src/nonInteractive/control/controllers/systemController.js.map +1 -0
- package/dist/src/nonInteractive/control/types/serviceAPIs.d.ts +120 -0
- package/dist/src/nonInteractive/control/types/serviceAPIs.js +7 -0
- package/dist/src/nonInteractive/control/types/serviceAPIs.js.map +1 -0
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.d.ts +446 -0
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.js +891 -0
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.js.map +1 -0
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.d.ts +6 -0
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.js +1197 -0
- package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.js.map +1 -0
- package/dist/src/nonInteractive/io/JsonOutputAdapter.d.ts +29 -0
- package/dist/src/nonInteractive/io/JsonOutputAdapter.js +56 -0
- package/dist/src/nonInteractive/io/JsonOutputAdapter.js.map +1 -0
- package/dist/src/nonInteractive/io/JsonOutputAdapter.test.d.ts +6 -0
- package/dist/src/nonInteractive/io/JsonOutputAdapter.test.js +624 -0
- package/dist/src/nonInteractive/io/JsonOutputAdapter.test.js.map +1 -0
- package/dist/src/nonInteractive/io/StreamJsonInputReader.d.ts +16 -0
- package/dist/src/nonInteractive/io/StreamJsonInputReader.js +54 -0
- package/dist/src/nonInteractive/io/StreamJsonInputReader.js.map +1 -0
- package/dist/src/nonInteractive/io/StreamJsonInputReader.test.d.ts +6 -0
- package/dist/src/nonInteractive/io/StreamJsonInputReader.test.js +178 -0
- package/dist/src/nonInteractive/io/StreamJsonInputReader.test.js.map +1 -0
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.d.ts +69 -0
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.js +185 -0
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.js.map +1 -0
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.d.ts +6 -0
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.js +808 -0
- package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.js.map +1 -0
- package/dist/src/nonInteractive/session.d.ts +23 -0
- package/dist/src/nonInteractive/session.js +549 -0
- package/dist/src/nonInteractive/session.js.map +1 -0
- package/dist/src/nonInteractive/session.test.d.ts +6 -0
- package/dist/src/nonInteractive/session.test.js +407 -0
- package/dist/src/nonInteractive/session.test.js.map +1 -0
- package/dist/src/nonInteractive/types.d.ts +344 -0
- package/dist/src/nonInteractive/types.js +78 -0
- package/dist/src/nonInteractive/types.js.map +1 -0
- package/dist/src/nonInteractiveCli.d.ts +22 -1
- package/dist/src/nonInteractiveCli.js +245 -69
- package/dist/src/nonInteractiveCli.js.map +1 -1
- package/dist/src/nonInteractiveCliCommands.d.ts +35 -0
- package/dist/src/nonInteractiveCliCommands.js +144 -0
- package/dist/src/nonInteractiveCliCommands.js.map +1 -0
- package/dist/src/services/BuiltinCommandLoader.js +5 -3
- package/dist/src/services/BuiltinCommandLoader.js.map +1 -1
- package/dist/src/services/BuiltinCommandLoader.test.js +53 -19
- package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -1
- package/dist/src/services/FileCommandLoader.d.ts +2 -0
- package/dist/src/services/FileCommandLoader.js +11 -1
- package/dist/src/services/FileCommandLoader.js.map +1 -1
- package/dist/src/services/McpPromptLoader.js +43 -8
- package/dist/src/services/McpPromptLoader.js.map +1 -1
- package/dist/src/services/McpPromptLoader.test.js +228 -1
- package/dist/src/services/McpPromptLoader.test.js.map +1 -1
- package/dist/src/services/prompt-processors/shellProcessor.js +8 -1
- package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -1
- package/dist/src/test-utils/createExtension.d.ts +15 -0
- package/dist/src/test-utils/createExtension.js +25 -0
- package/dist/src/test-utils/createExtension.js.map +1 -0
- package/dist/src/test-utils/mockCommandContext.js +2 -0
- package/dist/src/test-utils/mockCommandContext.js.map +1 -1
- package/dist/src/test-utils/render.d.ts +5 -1
- package/dist/src/test-utils/render.js +5 -1
- package/dist/src/test-utils/render.js.map +1 -1
- package/dist/src/ui/App.d.ts +1 -10
- package/dist/src/ui/App.js +26 -833
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/AppContainer.d.ts +17 -0
- package/dist/src/ui/AppContainer.js +1072 -0
- package/dist/src/ui/AppContainer.js.map +1 -0
- package/dist/src/ui/AppContainer.test.d.ts +6 -0
- package/dist/src/ui/AppContainer.test.js +831 -0
- package/dist/src/ui/AppContainer.test.js.map +1 -0
- package/dist/src/ui/IdeIntegrationNudge.d.ts +2 -2
- package/dist/src/ui/IdeIntegrationNudge.js +6 -8
- package/dist/src/ui/IdeIntegrationNudge.js.map +1 -1
- package/dist/src/ui/auth/AuthDialog.d.ts +7 -0
- package/dist/src/ui/auth/AuthDialog.js +90 -0
- package/dist/src/ui/auth/AuthDialog.js.map +1 -0
- package/dist/src/ui/auth/AuthDialog.test.d.ts +6 -0
- package/dist/src/ui/{components → auth}/AuthDialog.test.js +141 -29
- package/dist/src/ui/auth/AuthDialog.test.js.map +1 -0
- package/dist/src/ui/{components → auth}/AuthInProgress.js +3 -2
- package/dist/src/ui/auth/AuthInProgress.js.map +1 -0
- package/dist/src/ui/auth/useAuth.d.ts +25 -0
- package/dist/src/ui/auth/useAuth.js +180 -0
- package/dist/src/ui/auth/useAuth.js.map +1 -0
- package/dist/src/ui/commands/aboutCommand.js +7 -25
- package/dist/src/ui/commands/aboutCommand.js.map +1 -1
- package/dist/src/ui/commands/agentsCommand.js +10 -3
- package/dist/src/ui/commands/agentsCommand.js.map +1 -1
- package/dist/src/ui/commands/approvalModeCommand.js +8 -329
- package/dist/src/ui/commands/approvalModeCommand.js.map +1 -1
- package/dist/src/ui/commands/approvalModeCommand.test.js +19 -263
- package/dist/src/ui/commands/approvalModeCommand.test.js.map +1 -1
- package/dist/src/ui/commands/authCommand.js +4 -1
- package/dist/src/ui/commands/authCommand.js.map +1 -1
- package/dist/src/ui/commands/bugCommand.js +13 -33
- package/dist/src/ui/commands/bugCommand.js.map +1 -1
- package/dist/src/ui/commands/chatCommand.d.ts +2 -0
- package/dist/src/ui/commands/chatCommand.js +137 -21
- package/dist/src/ui/commands/chatCommand.js.map +1 -1
- package/dist/src/ui/commands/clearCommand.js +7 -4
- package/dist/src/ui/commands/clearCommand.js.map +1 -1
- package/dist/src/ui/commands/compressCommand.js +9 -4
- package/dist/src/ui/commands/compressCommand.js.map +1 -1
- package/dist/src/ui/commands/copyCommand.js +4 -1
- package/dist/src/ui/commands/copyCommand.js.map +1 -1
- package/dist/src/ui/commands/corgiCommand.js +1 -0
- package/dist/src/ui/commands/corgiCommand.js.map +1 -1
- package/dist/src/ui/commands/directoryCommand.js +31 -13
- package/dist/src/ui/commands/directoryCommand.js.map +1 -1
- package/dist/src/ui/commands/docsCommand.js +9 -3
- package/dist/src/ui/commands/docsCommand.js.map +1 -1
- package/dist/src/ui/commands/editorCommand.js +4 -1
- package/dist/src/ui/commands/editorCommand.js.map +1 -1
- package/dist/src/ui/commands/extensionsCommand.js +99 -15
- package/dist/src/ui/commands/extensionsCommand.js.map +1 -1
- package/dist/src/ui/commands/helpCommand.js +4 -1
- package/dist/src/ui/commands/helpCommand.js.map +1 -1
- package/dist/src/ui/commands/ideCommand.d.ts +1 -2
- package/dist/src/ui/commands/ideCommand.js +42 -17
- package/dist/src/ui/commands/ideCommand.js.map +1 -1
- package/dist/src/ui/commands/initCommand.js +5 -3
- package/dist/src/ui/commands/initCommand.js.map +1 -1
- package/dist/src/ui/commands/{privacyCommand.d.ts → languageCommand.d.ts} +1 -1
- package/dist/src/ui/commands/languageCommand.js +386 -0
- package/dist/src/ui/commands/languageCommand.js.map +1 -0
- package/dist/src/ui/commands/mcpCommand.js +124 -279
- package/dist/src/ui/commands/mcpCommand.js.map +1 -1
- package/dist/src/ui/commands/memoryCommand.js +55 -26
- package/dist/src/ui/commands/memoryCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.js +10 -20
- package/dist/src/ui/commands/modelCommand.js.map +1 -1
- package/dist/src/ui/commands/modelCommand.test.js +10 -11
- package/dist/src/ui/commands/modelCommand.test.js.map +1 -1
- package/dist/src/ui/commands/permissionsCommand.d.ts +7 -0
- package/dist/src/ui/commands/permissionsCommand.js +19 -0
- package/dist/src/ui/commands/permissionsCommand.js.map +1 -0
- package/dist/src/ui/commands/permissionsCommand.test.d.ts +6 -0
- package/dist/src/ui/commands/permissionsCommand.test.js +30 -0
- package/dist/src/ui/commands/permissionsCommand.test.js.map +1 -0
- package/dist/src/ui/commands/quitCommand.js +7 -2
- package/dist/src/ui/commands/quitCommand.js.map +1 -1
- package/dist/src/ui/commands/settingsCommand.js +4 -1
- package/dist/src/ui/commands/settingsCommand.js.map +1 -1
- package/dist/src/ui/commands/setupGithubCommand.js +4 -1
- package/dist/src/ui/commands/setupGithubCommand.js.map +1 -1
- package/dist/src/ui/commands/statsCommand.js +11 -4
- package/dist/src/ui/commands/statsCommand.js.map +1 -1
- package/dist/src/ui/commands/summaryCommand.js +16 -9
- package/dist/src/ui/commands/summaryCommand.js.map +1 -1
- package/dist/src/ui/commands/terminalSetupCommand.js +9 -3
- package/dist/src/ui/commands/terminalSetupCommand.js.map +1 -1
- package/dist/src/ui/commands/themeCommand.js +4 -1
- package/dist/src/ui/commands/themeCommand.js.map +1 -1
- package/dist/src/ui/commands/toolsCommand.js +15 -26
- package/dist/src/ui/commands/toolsCommand.js.map +1 -1
- package/dist/src/ui/commands/types.d.ts +8 -3
- package/dist/src/ui/commands/types.js +0 -1
- package/dist/src/ui/commands/types.js.map +1 -1
- package/dist/src/ui/commands/vimCommand.js +4 -1
- package/dist/src/ui/commands/vimCommand.js.map +1 -1
- package/dist/src/ui/components/AboutBox.d.ts +2 -9
- package/dist/src/ui/components/AboutBox.js +7 -3
- package/dist/src/ui/components/AboutBox.js.map +1 -1
- package/dist/src/ui/components/AnsiOutput.d.ts +13 -0
- package/dist/src/ui/components/AnsiOutput.js +12 -0
- package/dist/src/ui/components/AnsiOutput.js.map +1 -0
- package/dist/src/ui/components/AnsiOutput.test.d.ts +6 -0
- package/dist/src/ui/components/AnsiOutput.test.js +97 -0
- package/dist/src/ui/components/AnsiOutput.test.js.map +1 -0
- package/dist/src/ui/components/AppHeader.d.ts +10 -0
- package/dist/src/ui/components/AppHeader.js +19 -0
- package/dist/src/ui/components/AppHeader.js.map +1 -0
- package/dist/src/ui/components/ApprovalModeDialog.d.ts +21 -0
- package/dist/src/ui/components/ApprovalModeDialog.js +68 -0
- package/dist/src/ui/components/ApprovalModeDialog.js.map +1 -0
- package/dist/src/ui/components/AutoAcceptIndicator.js +12 -11
- package/dist/src/ui/components/AutoAcceptIndicator.js.map +1 -1
- package/dist/src/ui/components/Composer.d.ts +6 -0
- package/dist/src/ui/components/Composer.js +55 -0
- package/dist/src/ui/components/Composer.js.map +1 -0
- package/dist/src/ui/components/Composer.test.d.ts +6 -0
- package/dist/src/ui/components/Composer.test.js +337 -0
- package/dist/src/ui/components/Composer.test.js.map +1 -0
- package/dist/src/ui/components/ConfigInitDisplay.d.ts +6 -0
- package/dist/src/ui/components/ConfigInitDisplay.js +42 -0
- package/dist/src/ui/components/ConfigInitDisplay.js.map +1 -0
- package/dist/src/ui/components/ConsentPrompt.d.ts +13 -0
- package/dist/src/ui/components/ConsentPrompt.js +19 -0
- package/dist/src/ui/components/ConsentPrompt.js.map +1 -0
- package/dist/src/ui/components/ConsentPrompt.test.d.ts +6 -0
- package/dist/src/ui/components/ConsentPrompt.test.js +67 -0
- package/dist/src/ui/components/ConsentPrompt.test.js.map +1 -0
- package/dist/src/ui/components/ConsoleSummaryDisplay.js +2 -2
- package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/ContextSummaryDisplay.js +34 -10
- package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/ContextUsageDisplay.d.ts +4 -1
- package/dist/src/ui/components/ContextUsageDisplay.js +27 -5
- package/dist/src/ui/components/ContextUsageDisplay.js.map +1 -1
- package/dist/src/ui/components/DebugProfiler.js +2 -2
- package/dist/src/ui/components/DebugProfiler.js.map +1 -1
- package/dist/src/ui/components/DetailedMessagesDisplay.js +7 -7
- package/dist/src/ui/components/DetailedMessagesDisplay.js.map +1 -1
- package/dist/src/ui/components/DialogManager.d.ts +12 -0
- package/dist/src/ui/components/DialogManager.js +177 -0
- package/dist/src/ui/components/DialogManager.js.map +1 -0
- package/dist/src/ui/components/EditorSettingsDialog.js +21 -7
- package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -1
- package/dist/src/ui/components/ExitWarning.d.ts +7 -0
- package/dist/src/ui/components/ExitWarning.js +9 -0
- package/dist/src/ui/components/ExitWarning.js.map +1 -0
- package/dist/src/ui/components/FolderTrustDialog.js +22 -9
- package/dist/src/ui/components/FolderTrustDialog.js.map +1 -1
- package/dist/src/ui/components/FolderTrustDialog.test.js +37 -12
- package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -1
- package/dist/src/ui/components/Footer.d.ts +1 -17
- package/dist/src/ui/components/Footer.js +33 -11
- package/dist/src/ui/components/Footer.js.map +1 -1
- package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +5 -0
- package/dist/src/ui/components/GeminiRespondingSpinner.js +7 -2
- package/dist/src/ui/components/GeminiRespondingSpinner.js.map +1 -1
- package/dist/src/ui/components/Header.js +2 -2
- package/dist/src/ui/components/Header.js.map +1 -1
- package/dist/src/ui/components/Help.d.ts +1 -1
- package/dist/src/ui/components/Help.js +20 -7
- package/dist/src/ui/components/Help.js.map +1 -1
- package/dist/src/ui/components/Help.test.d.ts +6 -0
- package/dist/src/ui/components/Help.test.js +57 -0
- package/dist/src/ui/components/Help.test.js.map +1 -0
- package/dist/src/ui/components/HistoryItemDisplay.d.ts +5 -4
- package/dist/src/ui/components/HistoryItemDisplay.js +13 -4
- package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.test.js +107 -17
- package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -1
- package/dist/src/ui/components/IdeTrustChangeDialog.d.ts +11 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.js +32 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.js.map +1 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.d.ts +6 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.js +57 -0
- package/dist/src/ui/components/IdeTrustChangeDialog.test.js.map +1 -0
- package/dist/src/ui/components/InputPrompt.d.ts +9 -0
- package/dist/src/ui/components/InputPrompt.js +187 -167
- package/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.js +8 -3
- package/dist/src/ui/components/LoadingIndicator.js.map +1 -1
- package/dist/src/ui/components/LoadingIndicator.test.js +4 -0
- package/dist/src/ui/components/LoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/components/LoopDetectionConfirmation.d.ts +13 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.js +37 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.js.map +1 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.d.ts +6 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.js +28 -0
- package/dist/src/ui/components/LoopDetectionConfirmation.test.js.map +1 -0
- package/dist/src/ui/components/MainContent.d.ts +6 -0
- package/dist/src/ui/components/MainContent.js +28 -0
- package/dist/src/ui/components/MainContent.js.map +1 -0
- package/dist/src/ui/components/MemoryUsageDisplay.js +6 -4
- package/dist/src/ui/components/MemoryUsageDisplay.js.map +1 -1
- package/dist/src/ui/components/ModelDialog.d.ts +11 -0
- package/dist/src/ui/components/ModelDialog.js +43 -0
- package/dist/src/ui/components/ModelDialog.js.map +1 -0
- package/dist/src/ui/components/ModelDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ModelDialog.test.js +158 -0
- package/dist/src/ui/components/ModelDialog.test.js.map +1 -0
- package/dist/src/ui/components/ModelStatsDisplay.js +10 -9
- package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -1
- package/dist/src/ui/components/ModelSwitchDialog.d.ts +3 -1
- package/dist/src/ui/components/ModelSwitchDialog.js +11 -7
- package/dist/src/ui/components/ModelSwitchDialog.js.map +1 -1
- package/dist/src/ui/components/ModelSwitchDialog.test.js +14 -10
- package/dist/src/ui/components/ModelSwitchDialog.test.js.map +1 -1
- package/dist/src/ui/components/Notifications.d.ts +6 -0
- package/dist/src/ui/components/Notifications.js +23 -0
- package/dist/src/ui/components/Notifications.js.map +1 -0
- package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +19 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.js +99 -43
- package/dist/src/ui/components/OpenAIKeyPrompt.js.map +1 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js +8 -1
- package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +1 -1
- package/dist/src/ui/components/PermissionsModifyTrustDialog.d.ts +13 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.js +48 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.js.map +1 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.d.ts +6 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js +154 -0
- package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js.map +1 -0
- package/dist/src/ui/components/PrepareLabel.d.ts +5 -5
- package/dist/src/ui/components/PrepareLabel.js +67 -11
- package/dist/src/ui/components/PrepareLabel.js.map +1 -1
- package/dist/src/ui/components/PrepareLabel.test.d.ts +6 -0
- package/dist/src/ui/components/PrepareLabel.test.js +71 -0
- package/dist/src/ui/components/PrepareLabel.test.js.map +1 -0
- package/dist/src/ui/components/ProQuotaDialog.d.ts +13 -0
- package/dist/src/ui/components/ProQuotaDialog.js +24 -0
- package/dist/src/ui/components/ProQuotaDialog.js.map +1 -0
- package/dist/src/ui/components/ProQuotaDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ProQuotaDialog.test.js +58 -0
- package/dist/src/ui/components/ProQuotaDialog.test.js.map +1 -0
- package/dist/src/ui/components/QueuedMessageDisplay.d.ts +9 -0
- package/dist/src/ui/components/QueuedMessageDisplay.js +20 -0
- package/dist/src/ui/components/QueuedMessageDisplay.js.map +1 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.d.ts +6 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.js +56 -0
- package/dist/src/ui/components/QueuedMessageDisplay.test.js.map +1 -0
- package/dist/src/ui/components/QuitConfirmationDialog.js +10 -5
- package/dist/src/ui/components/QuitConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/QuittingDisplay.d.ts +6 -0
- package/dist/src/ui/components/QuittingDisplay.js +20 -0
- package/dist/src/ui/components/QuittingDisplay.js.map +1 -0
- package/dist/src/ui/components/QwenOAuthProgress.d.ts +2 -2
- package/dist/src/ui/components/QwenOAuthProgress.js +19 -11
- package/dist/src/ui/components/QwenOAuthProgress.js.map +1 -1
- package/dist/src/ui/components/QwenOAuthProgress.test.js +85 -13
- package/dist/src/ui/components/QwenOAuthProgress.test.js.map +1 -1
- package/dist/src/ui/components/SessionSummaryDisplay.js +2 -1
- package/dist/src/ui/components/SessionSummaryDisplay.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.d.ts +4 -1
- package/dist/src/ui/components/SettingsDialog.js +125 -28
- package/dist/src/ui/components/SettingsDialog.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.test.js +475 -84
- package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
- package/dist/src/ui/components/ShellConfirmationDialog.js +9 -5
- package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
- package/dist/src/ui/components/ShellInputPrompt.d.ts +11 -0
- package/dist/src/ui/components/ShellInputPrompt.js +36 -0
- package/dist/src/ui/components/ShellInputPrompt.js.map +1 -0
- package/dist/src/ui/components/ShellModeIndicator.js +2 -2
- package/dist/src/ui/components/ShellModeIndicator.js.map +1 -1
- package/dist/src/ui/components/ShowMoreLines.js +2 -2
- package/dist/src/ui/components/ShowMoreLines.js.map +1 -1
- package/dist/src/ui/components/StatsDisplay.js +8 -7
- package/dist/src/ui/components/StatsDisplay.js.map +1 -1
- package/dist/src/ui/components/SuggestionsDisplay.d.ts +7 -2
- package/dist/src/ui/components/SuggestionsDisplay.js +17 -17
- package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.js +17 -29
- package/dist/src/ui/components/ThemeDialog.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.test.d.ts +6 -0
- package/dist/src/ui/components/ThemeDialog.test.js +75 -0
- package/dist/src/ui/components/ThemeDialog.test.js.map +1 -0
- package/dist/src/ui/components/Tips.js +2 -2
- package/dist/src/ui/components/Tips.js.map +1 -1
- package/dist/src/ui/components/ToolStatsDisplay.js +5 -4
- package/dist/src/ui/components/ToolStatsDisplay.js.map +1 -1
- package/dist/src/ui/components/UpdateNotification.js +2 -2
- package/dist/src/ui/components/UpdateNotification.js.map +1 -1
- package/dist/src/ui/components/WelcomeBackDialog.js +15 -4
- package/dist/src/ui/components/WelcomeBackDialog.js.map +1 -1
- package/dist/src/ui/components/WorkspaceMigrationDialog.js +14 -11
- package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +1 -1
- package/dist/src/ui/components/messages/CompressionMessage.d.ts +1 -2
- package/dist/src/ui/components/messages/CompressionMessage.js +41 -8
- package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -1
- package/dist/src/ui/components/messages/CompressionMessage.test.d.ts +6 -0
- package/dist/src/ui/components/messages/CompressionMessage.test.js +160 -0
- package/dist/src/ui/components/messages/CompressionMessage.test.js.map +1 -0
- package/dist/src/ui/components/messages/DiffRenderer.d.ts +2 -1
- package/dist/src/ui/components/messages/DiffRenderer.js +14 -22
- package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -1
- package/dist/src/ui/components/messages/ErrorMessage.js +2 -2
- package/dist/src/ui/components/messages/ErrorMessage.js.map +1 -1
- package/dist/src/ui/components/messages/GeminiMessage.js +2 -2
- package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -1
- package/dist/src/ui/components/messages/InfoMessage.js +2 -2
- package/dist/src/ui/components/messages/InfoMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js +91 -45
- package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +36 -8
- package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +3 -2
- package/dist/src/ui/components/messages/ToolGroupMessage.js +18 -10
- package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js +17 -15
- package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.d.ts +3 -1
- package/dist/src/ui/components/messages/ToolMessage.js +53 -11
- package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/dist/src/ui/components/messages/ToolMessage.test.js +34 -1
- package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -1
- package/dist/src/ui/components/messages/UserMessage.js +3 -4
- package/dist/src/ui/components/messages/UserMessage.js.map +1 -1
- package/dist/src/ui/components/messages/UserShellMessage.js +2 -2
- package/dist/src/ui/components/messages/UserShellMessage.js.map +1 -1
- package/dist/src/ui/components/messages/WarningMessage.d.ts +11 -0
- package/dist/src/ui/components/messages/WarningMessage.js +10 -0
- package/dist/src/ui/components/messages/WarningMessage.js.map +1 -0
- package/dist/src/ui/components/shared/BaseSelectionList.d.ts +38 -0
- package/dist/src/ui/components/shared/BaseSelectionList.js +72 -0
- package/dist/src/ui/components/shared/BaseSelectionList.js.map +1 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.d.ts +6 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.js +376 -0
- package/dist/src/ui/components/shared/BaseSelectionList.test.js.map +1 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.d.ts +35 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js +13 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js.map +1 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.d.ts +6 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js +79 -0
- package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js.map +1 -0
- package/dist/src/ui/components/shared/EnumSelector.d.ts +18 -0
- package/dist/src/ui/components/shared/EnumSelector.js +44 -0
- package/dist/src/ui/components/shared/EnumSelector.js.map +1 -0
- package/dist/src/ui/components/shared/EnumSelector.test.d.ts +6 -0
- package/dist/src/ui/components/shared/EnumSelector.test.js +70 -0
- package/dist/src/ui/components/shared/EnumSelector.test.js.map +1 -0
- package/dist/src/ui/components/shared/MaxSizedBox.js +2 -2
- package/dist/src/ui/components/shared/MaxSizedBox.js.map +1 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +2 -3
- package/dist/src/ui/components/shared/RadioButtonSelect.js +10 -105
- package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -1
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js +115 -92
- package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +1 -1
- package/dist/src/ui/components/shared/ScopeSelector.d.ts +19 -0
- package/dist/src/ui/components/shared/ScopeSelector.js +16 -0
- package/dist/src/ui/components/shared/ScopeSelector.js.map +1 -0
- package/dist/src/ui/components/shared/text-buffer.d.ts +25 -2
- package/dist/src/ui/components/shared/text-buffer.js +296 -187
- package/dist/src/ui/components/shared/text-buffer.js.map +1 -1
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +41 -29
- package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +1 -1
- package/dist/src/ui/components/subagents/create/ColorSelector.js +3 -2
- package/dist/src/ui/components/subagents/create/ColorSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/CreationSummary.js +26 -15
- package/dist/src/ui/components/subagents/create/CreationSummary.js.map +1 -1
- package/dist/src/ui/components/subagents/create/DescriptionInput.js +7 -5
- package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +1 -1
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +8 -2
- package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/LocationSelector.js +8 -2
- package/dist/src/ui/components/subagents/create/LocationSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/create/TextEntryStep.js +2 -2
- package/dist/src/ui/components/subagents/create/TextEntryStep.js.map +1 -1
- package/dist/src/ui/components/subagents/create/ToolSelector.js +10 -8
- package/dist/src/ui/components/subagents/create/ToolSelector.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +29 -4
- package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js +6 -3
- package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentEditStep.js +15 -5
- package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +13 -7
- package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentViewerStep.js +3 -2
- package/dist/src/ui/components/subagents/manage/AgentViewerStep.js.map +1 -1
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +15 -15
- package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +1 -1
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +16 -17
- package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +1 -1
- package/dist/src/ui/components/ums/UMSKeyPrompt.d.ts +2 -2
- package/dist/src/ui/components/ums/UMSKeyPrompt.js +66 -64
- package/dist/src/ui/components/ums/UMSKeyPrompt.js.map +1 -1
- package/dist/src/ui/components/views/ExtensionsList.d.ts +6 -0
- package/dist/src/ui/components/views/ExtensionsList.js +47 -0
- package/dist/src/ui/components/views/ExtensionsList.js.map +1 -0
- package/dist/src/ui/components/views/ExtensionsList.test.d.ts +6 -0
- package/dist/src/ui/components/views/ExtensionsList.test.js +97 -0
- package/dist/src/ui/components/views/ExtensionsList.test.js.map +1 -0
- package/dist/src/ui/components/views/McpStatus.d.ts +27 -0
- package/dist/src/ui/components/views/McpStatus.js +90 -0
- package/dist/src/ui/components/views/McpStatus.js.map +1 -0
- package/dist/src/ui/components/views/McpStatus.test.d.ts +6 -0
- package/dist/src/ui/components/views/McpStatus.test.js +117 -0
- package/dist/src/ui/components/views/McpStatus.test.js.map +1 -0
- package/dist/src/ui/components/views/ToolsList.d.ts +14 -0
- package/dist/src/ui/components/views/ToolsList.js +8 -0
- package/dist/src/ui/components/views/ToolsList.js.map +1 -0
- package/dist/src/ui/components/views/ToolsList.test.d.ts +6 -0
- package/dist/src/ui/components/views/ToolsList.test.js +45 -0
- package/dist/src/ui/components/views/ToolsList.test.js.map +1 -0
- package/dist/src/ui/constants.d.ts +1 -0
- package/dist/src/ui/constants.js +1 -0
- package/dist/src/ui/constants.js.map +1 -1
- package/dist/src/ui/contexts/AppContext.d.ts +11 -0
- package/dist/src/ui/contexts/AppContext.js +15 -0
- package/dist/src/ui/contexts/AppContext.js.map +1 -0
- package/dist/src/ui/contexts/ConfigContext.d.ts +9 -0
- package/dist/src/ui/contexts/ConfigContext.js +16 -0
- package/dist/src/ui/contexts/ConfigContext.js.map +1 -0
- package/dist/src/ui/contexts/KeypressContext.d.ts +3 -0
- package/dist/src/ui/contexts/KeypressContext.js +309 -44
- package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.test.js +288 -2
- package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
- package/dist/src/ui/contexts/SessionContext.d.ts +6 -0
- package/dist/src/ui/contexts/SessionContext.js +107 -5
- package/dist/src/ui/contexts/SessionContext.js.map +1 -1
- package/dist/src/ui/contexts/ShellFocusContext.d.ts +7 -0
- package/dist/src/ui/contexts/ShellFocusContext.js +9 -0
- package/dist/src/ui/contexts/ShellFocusContext.js.map +1 -0
- package/dist/src/ui/contexts/UIActionsContext.d.ts +46 -0
- package/dist/src/ui/contexts/UIActionsContext.js +22 -0
- package/dist/src/ui/contexts/UIActionsContext.js.map +1 -0
- package/dist/src/ui/contexts/UIStateContext.d.ts +115 -0
- package/dist/src/ui/contexts/UIStateContext.js +17 -0
- package/dist/src/ui/contexts/UIStateContext.js.map +1 -0
- package/dist/src/ui/editors/editorSettingsManager.js +1 -0
- package/dist/src/ui/editors/editorSettingsManager.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.js +12 -12
- package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/atCommandProcessor.test.js +23 -19
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/keyToAnsi.d.ts +15 -0
- package/dist/src/ui/hooks/keyToAnsi.js +67 -0
- package/dist/src/ui/hooks/keyToAnsi.js.map +1 -0
- package/dist/src/ui/hooks/shellCommandProcessor.d.ts +2 -1
- package/dist/src/ui/hooks/shellCommandProcessor.js +65 -15
- package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/shellCommandProcessor.test.js +196 -17
- package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +21 -3
- package/dist/src/ui/hooks/slashCommandProcessor.js +52 -97
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/useApprovalModeCommand.d.ts +14 -0
- package/dist/src/ui/hooks/useApprovalModeCommand.js +33 -0
- package/dist/src/ui/hooks/useApprovalModeCommand.js.map +1 -0
- package/dist/src/ui/hooks/useAtCompletion.js +1 -1
- package/dist/src/ui/hooks/useAtCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useAttentionNotifications.d.ts +14 -0
- package/dist/src/ui/hooks/useAttentionNotifications.js +41 -0
- package/dist/src/ui/hooks/useAttentionNotifications.js.map +1 -0
- package/dist/src/ui/hooks/useAttentionNotifications.test.js +113 -0
- package/dist/src/ui/hooks/useAttentionNotifications.test.js.map +1 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +3 -2
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js +20 -18
- package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +1 -1
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +43 -0
- package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useCommandCompletion.d.ts +1 -4
- package/dist/src/ui/hooks/useCommandCompletion.js +1 -23
- package/dist/src/ui/hooks/useCommandCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useDialogClose.d.ts +6 -5
- package/dist/src/ui/hooks/useDialogClose.js +3 -12
- package/dist/src/ui/hooks/useDialogClose.js.map +1 -1
- package/dist/src/ui/hooks/useEditorSettings.js +1 -1
- package/dist/src/ui/hooks/useEditorSettings.js.map +1 -1
- package/dist/src/ui/hooks/useEditorSettings.test.js +4 -4
- package/dist/src/ui/hooks/useEditorSettings.test.js.map +1 -1
- package/dist/src/ui/hooks/useExtensionUpdates.d.ts +21 -0
- package/dist/src/ui/hooks/useExtensionUpdates.js +116 -0
- package/dist/src/ui/hooks/useExtensionUpdates.js.map +1 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.d.ts +6 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.js +243 -0
- package/dist/src/ui/hooks/useExtensionUpdates.test.js.map +1 -0
- package/dist/src/ui/hooks/useFocus.js +10 -0
- package/dist/src/ui/hooks/useFocus.js.map +1 -1
- package/dist/src/ui/hooks/useFolderTrust.js +6 -10
- package/dist/src/ui/hooks/useFolderTrust.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.d.ts +14 -3
- package/dist/src/ui/hooks/useGeminiStream.js +184 -83
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.js +18 -18
- package/dist/src/ui/hooks/useGitBranchName.js.map +1 -1
- package/dist/src/ui/hooks/useGitBranchName.test.js +66 -52
- package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
- package/dist/src/ui/hooks/useIdeTrustListener.d.ts +16 -0
- package/dist/src/ui/hooks/useIdeTrustListener.js +65 -0
- package/dist/src/ui/hooks/useIdeTrustListener.js.map +1 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.d.ts +6 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.js +183 -0
- package/dist/src/ui/hooks/useIdeTrustListener.test.js.map +1 -0
- package/dist/src/ui/hooks/useInitializationAuthError.d.ts +22 -0
- package/dist/src/ui/hooks/useInitializationAuthError.js +40 -0
- package/dist/src/ui/hooks/useInitializationAuthError.js.map +1 -0
- package/dist/src/ui/hooks/useInputHistoryStore.d.ts +19 -0
- package/dist/src/ui/hooks/useInputHistoryStore.js +81 -0
- package/dist/src/ui/hooks/useInputHistoryStore.js.map +1 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.d.ts +6 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.js +234 -0
- package/dist/src/ui/hooks/useInputHistoryStore.test.js.map +1 -0
- package/dist/src/ui/hooks/useLoadingIndicator.d.ts +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.js +2 -2
- package/dist/src/ui/hooks/useLoadingIndicator.js.map +1 -1
- package/dist/src/ui/hooks/useLoadingIndicator.test.js +2 -2
- package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -1
- package/dist/src/ui/hooks/useMemoryMonitor.d.ts +13 -0
- package/dist/src/ui/hooks/useMemoryMonitor.js +28 -0
- package/dist/src/ui/hooks/useMemoryMonitor.js.map +1 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.d.ts +6 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.js +57 -0
- package/dist/src/ui/hooks/useMemoryMonitor.test.js.map +1 -0
- package/dist/src/ui/hooks/useMessageQueue.d.ts +2 -1
- package/dist/src/ui/hooks/useMessageQueue.js +5 -3
- package/dist/src/ui/hooks/useMessageQueue.js.map +1 -1
- package/dist/src/ui/hooks/useMessageQueue.test.js +9 -0
- package/dist/src/ui/hooks/useMessageQueue.test.js.map +1 -1
- package/dist/src/ui/hooks/useModelCommand.d.ts +12 -0
- package/dist/src/ui/hooks/useModelCommand.js +21 -0
- package/dist/src/ui/hooks/useModelCommand.js.map +1 -0
- package/dist/src/ui/hooks/useModelCommand.test.d.ts +6 -0
- package/dist/src/ui/hooks/useModelCommand.test.js +35 -0
- package/dist/src/ui/hooks/useModelCommand.test.js.map +1 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.d.ts +17 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.js +78 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.js.map +1 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.d.ts +6 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js +182 -0
- package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js.map +1 -0
- package/dist/src/ui/hooks/usePhraseCycler.d.ts +1 -1
- package/dist/src/ui/hooks/usePhraseCycler.js +15 -10
- package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
- package/dist/src/ui/hooks/useQuotaAndFallback.d.ts +21 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.js +122 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.js.map +1 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.d.ts +6 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js +269 -0
- package/dist/src/ui/hooks/useQuotaAndFallback.test.js.map +1 -0
- package/dist/src/ui/hooks/useQwenAuth.d.ts +7 -12
- package/dist/src/ui/hooks/useQwenAuth.js +4 -8
- package/dist/src/ui/hooks/useQwenAuth.js.map +1 -1
- package/dist/src/ui/hooks/useQwenAuth.test.js +72 -98
- package/dist/src/ui/hooks/useQwenAuth.test.js.map +1 -1
- package/dist/src/ui/hooks/useReactToolScheduler.d.ts +3 -2
- package/dist/src/ui/hooks/useReactToolScheduler.js +23 -17
- package/dist/src/ui/hooks/useReactToolScheduler.js.map +1 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +1 -1
- package/dist/src/ui/hooks/useReverseSearchCompletion.js +67 -20
- package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useSelectionList.d.ts +34 -0
- package/dist/src/ui/hooks/useSelectionList.js +245 -0
- package/dist/src/ui/hooks/useSelectionList.js.map +1 -0
- package/dist/src/ui/hooks/useSelectionList.test.d.ts +6 -0
- package/dist/src/ui/hooks/useSelectionList.test.js +701 -0
- package/dist/src/ui/hooks/useSelectionList.test.js.map +1 -0
- package/dist/src/ui/hooks/useSlashCompletion.d.ts +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.js +281 -67
- package/dist/src/ui/hooks/useSlashCompletion.js.map +1 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +4 -1
- package/dist/src/ui/hooks/useSlashCompletion.test.js +390 -65
- package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -1
- package/dist/src/ui/hooks/useStateAndRef.d.ts +1 -1
- package/dist/src/ui/hooks/useStateAndRef.js +2 -2
- package/dist/src/ui/hooks/useStateAndRef.js.map +1 -1
- package/dist/src/ui/hooks/useThemeCommand.d.ts +1 -1
- package/dist/src/ui/hooks/useThemeCommand.js +11 -17
- package/dist/src/ui/hooks/useThemeCommand.js.map +1 -1
- package/dist/src/ui/hooks/useToolScheduler.test.js +64 -291
- package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.d.ts +1 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.js +36 -6
- package/dist/src/ui/hooks/useVisionAutoSwitch.js.map +1 -1
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.js +3 -3
- package/dist/src/ui/hooks/useVisionAutoSwitch.test.js.map +1 -1
- package/dist/src/ui/hooks/useWelcomeBack.js +2 -2
- package/dist/src/ui/hooks/useWelcomeBack.js.map +1 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.js +2 -1
- package/dist/src/ui/hooks/useWorkspaceMigration.js.map +1 -1
- package/dist/src/ui/keyMatchers.test.js +17 -0
- package/dist/src/ui/keyMatchers.test.js.map +1 -1
- package/dist/src/ui/layouts/DefaultAppLayout.d.ts +9 -0
- package/dist/src/ui/layouts/DefaultAppLayout.js +13 -0
- package/dist/src/ui/layouts/DefaultAppLayout.js.map +1 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.d.ts +7 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js +14 -0
- package/dist/src/ui/layouts/ScreenReaderAppLayout.js.map +1 -0
- package/dist/src/ui/models/availableModels.d.ts +11 -5
- package/dist/src/ui/models/availableModels.js +94 -3
- package/dist/src/ui/models/availableModels.js.map +1 -1
- package/dist/src/ui/noninteractive/nonInteractiveUi.d.ts +12 -0
- package/dist/src/ui/noninteractive/nonInteractiveUi.js +28 -0
- package/dist/src/ui/noninteractive/nonInteractiveUi.js.map +1 -0
- package/dist/src/ui/state/extensions.d.ts +42 -0
- package/dist/src/ui/state/extensions.js +62 -0
- package/dist/src/ui/state/extensions.js.map +1 -0
- package/dist/src/ui/themes/ayu.js +1 -1
- package/dist/src/ui/themes/dracula.js +2 -2
- package/dist/src/ui/themes/github-dark.js +1 -1
- package/dist/src/ui/themes/theme.js +19 -19
- package/dist/src/ui/themes/theme.js.map +1 -1
- package/dist/src/ui/types.d.ts +111 -17
- package/dist/src/ui/types.js +14 -0
- package/dist/src/ui/types.js.map +1 -1
- package/dist/src/ui/utils/CodeColorizer.js +3 -2
- package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
- package/dist/src/ui/utils/InlineMarkdownRenderer.js +7 -7
- package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.js +11 -11
- package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -1
- package/dist/src/ui/utils/MarkdownDisplay.test.js +95 -87
- package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -1
- package/dist/src/ui/utils/TableRenderer.js +4 -4
- package/dist/src/ui/utils/TableRenderer.js.map +1 -1
- package/dist/src/ui/utils/clipboardUtils.js +5 -6
- package/dist/src/ui/utils/clipboardUtils.js.map +1 -1
- package/dist/src/ui/utils/commandUtils.d.ts +16 -0
- package/dist/src/ui/utils/commandUtils.js +16 -1
- package/dist/src/ui/utils/commandUtils.js.map +1 -1
- package/dist/src/ui/utils/commandUtils.test.js +5 -2
- package/dist/src/ui/utils/commandUtils.test.js.map +1 -1
- package/dist/src/ui/utils/displayUtils.d.ts +1 -0
- package/dist/src/ui/utils/displayUtils.js +7 -4
- package/dist/src/ui/utils/displayUtils.js.map +1 -1
- package/dist/src/ui/utils/displayUtils.test.js +37 -18
- package/dist/src/ui/utils/displayUtils.test.js.map +1 -1
- package/dist/src/ui/utils/highlight.d.ts +11 -0
- package/dist/src/ui/utils/highlight.js +78 -0
- package/dist/src/ui/utils/highlight.js.map +1 -0
- package/dist/src/ui/utils/highlight.test.d.ts +6 -0
- package/dist/src/ui/utils/highlight.test.js +120 -0
- package/dist/src/ui/utils/highlight.test.js.map +1 -0
- package/dist/src/ui/utils/kittyProtocolDetector.js +39 -29
- package/dist/src/ui/utils/kittyProtocolDetector.js.map +1 -1
- package/dist/src/ui/utils/platformConstants.d.ts +24 -1
- package/dist/src/ui/utils/platformConstants.js +26 -1
- package/dist/src/ui/utils/platformConstants.js.map +1 -1
- package/dist/src/ui/utils/terminalSetup.js +45 -18
- package/dist/src/ui/utils/terminalSetup.js.map +1 -1
- package/dist/src/ui/utils/textUtils.d.ts +10 -0
- package/dist/src/ui/utils/textUtils.js +108 -3
- package/dist/src/ui/utils/textUtils.js.map +1 -1
- package/dist/src/ui/utils/textUtils.test.d.ts +6 -0
- package/dist/src/ui/utils/textUtils.test.js +132 -0
- package/dist/src/ui/utils/textUtils.test.js.map +1 -0
- package/dist/src/ui/utils/updateCheck.d.ts +1 -0
- package/dist/src/ui/utils/updateCheck.js +53 -2
- package/dist/src/ui/utils/updateCheck.js.map +1 -1
- package/dist/src/utils/attentionNotification.d.ts +20 -0
- package/dist/src/utils/attentionNotification.js +34 -0
- package/dist/src/utils/attentionNotification.js.map +1 -0
- package/dist/src/utils/attentionNotification.test.d.ts +6 -0
- package/dist/src/utils/attentionNotification.test.js +46 -0
- package/dist/src/utils/attentionNotification.test.js.map +1 -0
- package/dist/src/utils/commands.d.ts +20 -0
- package/dist/src/utils/commands.js +53 -0
- package/dist/src/utils/commands.js.map +1 -0
- package/dist/src/utils/commands.test.d.ts +6 -0
- package/dist/src/utils/commands.test.js +115 -0
- package/dist/src/utils/commands.test.js.map +1 -0
- package/dist/src/utils/commentJson.d.ts +9 -0
- package/dist/src/utils/commentJson.js +48 -0
- package/dist/src/utils/commentJson.js.map +1 -0
- package/dist/src/utils/commentJson.test.d.ts +6 -0
- package/dist/src/utils/commentJson.test.js +146 -0
- package/dist/src/utils/commentJson.test.js.map +1 -0
- package/dist/src/utils/deepMerge.d.ts +9 -0
- package/dist/src/utils/deepMerge.js +58 -0
- package/dist/src/utils/deepMerge.js.map +1 -0
- package/dist/src/utils/deepMerge.test.d.ts +6 -0
- package/dist/src/utils/deepMerge.test.js +143 -0
- package/dist/src/utils/deepMerge.test.js.map +1 -0
- package/dist/src/utils/dialogScopeUtils.d.ts +0 -4
- package/dist/src/utils/dialogScopeUtils.js +5 -2
- package/dist/src/utils/dialogScopeUtils.js.map +1 -1
- package/dist/src/utils/envVarResolver.d.ts +39 -0
- package/dist/src/utils/envVarResolver.js +97 -0
- package/dist/src/utils/envVarResolver.js.map +1 -0
- package/dist/src/utils/envVarResolver.test.d.ts +6 -0
- package/dist/src/utils/envVarResolver.test.js +221 -0
- package/dist/src/utils/envVarResolver.test.js.map +1 -0
- package/dist/src/utils/errors.d.ts +29 -0
- package/dist/src/utils/errors.js +94 -0
- package/dist/src/utils/errors.js.map +1 -1
- package/dist/src/utils/errors.test.d.ts +6 -0
- package/dist/src/utils/errors.test.js +340 -0
- package/dist/src/utils/errors.test.js.map +1 -0
- package/dist/src/utils/events.d.ts +2 -1
- package/dist/src/utils/events.js +1 -0
- package/dist/src/utils/events.js.map +1 -1
- package/dist/src/utils/handleAutoUpdate.js +6 -3
- package/dist/src/utils/handleAutoUpdate.js.map +1 -1
- package/dist/src/utils/math.d.ts +13 -0
- package/dist/src/utils/math.js +14 -0
- package/dist/src/utils/math.js.map +1 -0
- package/dist/src/utils/nonInteractiveHelpers.d.ts +88 -0
- package/dist/src/utils/nonInteractiveHelpers.js +470 -0
- package/dist/src/utils/nonInteractiveHelpers.js.map +1 -0
- package/dist/src/utils/nonInteractiveHelpers.test.d.ts +6 -0
- package/dist/src/utils/nonInteractiveHelpers.test.js +945 -0
- package/dist/src/utils/nonInteractiveHelpers.test.js.map +1 -0
- package/dist/src/utils/processUtils.d.ts +13 -0
- package/dist/src/utils/processUtils.js +18 -0
- package/dist/src/utils/processUtils.js.map +1 -0
- package/dist/src/utils/processUtils.test.d.ts +6 -0
- package/dist/src/utils/processUtils.test.js +20 -0
- package/dist/src/utils/processUtils.test.js.map +1 -0
- package/dist/src/utils/relaunch.d.ts +7 -0
- package/dist/src/utils/relaunch.js +57 -0
- package/dist/src/utils/relaunch.js.map +1 -0
- package/dist/src/utils/relaunch.test.d.ts +6 -0
- package/dist/src/utils/relaunch.test.js +273 -0
- package/dist/src/utils/relaunch.test.js.map +1 -0
- package/dist/src/utils/sandbox.d.ts +1 -1
- package/dist/src/utils/sandbox.js +43 -18
- package/dist/src/utils/sandbox.js.map +1 -1
- package/dist/src/utils/settingsUtils.d.ts +16 -6
- package/dist/src/utils/settingsUtils.js +41 -25
- package/dist/src/utils/settingsUtils.js.map +1 -1
- package/dist/src/utils/settingsUtils.test.js +455 -158
- package/dist/src/utils/settingsUtils.test.js.map +1 -1
- package/dist/src/utils/startupWarnings.js +1 -1
- package/dist/src/utils/startupWarnings.js.map +1 -1
- package/dist/src/utils/systemInfo.d.ts +66 -0
- package/dist/src/utils/systemInfo.js +125 -0
- package/dist/src/utils/systemInfo.js.map +1 -0
- package/dist/src/utils/systemInfo.test.d.ts +6 -0
- package/dist/src/utils/systemInfo.test.js +259 -0
- package/dist/src/utils/systemInfo.test.js.map +1 -0
- package/dist/src/utils/systemInfoFields.d.ts +22 -0
- package/dist/src/utils/systemInfoFields.js +96 -0
- package/dist/src/utils/systemInfoFields.js.map +1 -0
- package/dist/src/utils/userStartupWarnings.d.ts +7 -1
- package/dist/src/utils/userStartupWarnings.js +26 -6
- package/dist/src/utils/userStartupWarnings.js.map +1 -1
- package/dist/src/utils/userStartupWarnings.test.js +26 -5
- package/dist/src/utils/userStartupWarnings.test.js.map +1 -1
- package/dist/src/utils/windowTitle.d.ts +12 -0
- package/dist/src/utils/windowTitle.js +19 -0
- package/dist/src/utils/windowTitle.js.map +1 -0
- package/dist/src/utils/windowTitle.test.d.ts +6 -0
- package/dist/src/utils/windowTitle.test.js +49 -0
- package/dist/src/utils/windowTitle.test.js.map +1 -0
- package/dist/src/validateNonInterActiveAuth.d.ts +4 -2
- package/dist/src/validateNonInterActiveAuth.js +57 -21
- package/dist/src/validateNonInterActiveAuth.js.map +1 -1
- package/dist/src/zed-integration/acp.js +1 -2
- package/dist/src/zed-integration/acp.js.map +1 -1
- package/dist/src/zed-integration/fileSystemService.d.ts +1 -0
- package/dist/src/zed-integration/fileSystemService.js +3 -0
- package/dist/src/zed-integration/fileSystemService.js.map +1 -1
- package/dist/src/zed-integration/schema.d.ts +608 -366
- package/dist/src/zed-integration/schema.js +13 -0
- package/dist/src/zed-integration/schema.js.map +1 -1
- package/dist/src/zed-integration/zedIntegration.d.ts +8 -1
- package/dist/src/zed-integration/zedIntegration.js +409 -61
- package/dist/src/zed-integration/zedIntegration.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +25 -12
- package/dist/src/ui/commands/privacyCommand.js +0 -16
- package/dist/src/ui/commands/privacyCommand.js.map +0 -1
- package/dist/src/ui/components/AuthDialog.d.ts +0 -15
- package/dist/src/ui/components/AuthDialog.js +0 -163
- package/dist/src/ui/components/AuthDialog.js.map +0 -1
- package/dist/src/ui/components/AuthDialog.test.js.map +0 -1
- package/dist/src/ui/components/AuthInProgress.js.map +0 -1
- package/dist/src/ui/components/ModelSelectionDialog.d.ts +0 -14
- package/dist/src/ui/components/ModelSelectionDialog.js +0 -26
- package/dist/src/ui/components/ModelSelectionDialog.js.map +0 -1
- package/dist/src/ui/components/ModelSelectionDialog.test.js +0 -124
- package/dist/src/ui/components/ModelSelectionDialog.test.js.map +0 -1
- package/dist/src/ui/hooks/useAuthCommand.d.ts +0 -14
- package/dist/src/ui/hooks/useAuthCommand.js +0 -66
- package/dist/src/ui/hooks/useAuthCommand.js.map +0 -1
- package/dist/src/ui/hooks/usePrivacySettings.d.ts +0 -16
- package/dist/src/ui/hooks/usePrivacySettings.js +0 -119
- package/dist/src/ui/hooks/usePrivacySettings.js.map +0 -1
- package/dist/src/ui/hooks/usePrivacySettings.test.js +0 -154
- package/dist/src/ui/hooks/usePrivacySettings.test.js.map +0 -1
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +0 -12
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js +0 -41
- package/dist/src/ui/privacy/CloudFreePrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.d.ts +0 -10
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js +0 -18
- package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/GeminiPrivacyNotice.d.ts +0 -10
- package/dist/src/ui/privacy/GeminiPrivacyNotice.js +0 -18
- package/dist/src/ui/privacy/GeminiPrivacyNotice.js.map +0 -1
- package/dist/src/ui/privacy/PrivacyNotice.d.ts +0 -12
- package/dist/src/ui/privacy/PrivacyNotice.js +0 -25
- package/dist/src/ui/privacy/PrivacyNotice.js.map +0 -1
- /package/dist/src/{ui/components/AuthDialog.test.d.ts → commands/extensions/new.test.d.ts} +0 -0
- /package/dist/src/{ui/hooks/usePrivacySettings.test.d.ts → config/extensions/extensionEnablement.test.d.ts} +0 -0
- /package/dist/src/ui/{components → auth}/AuthInProgress.d.ts +0 -0
- /package/dist/src/ui/{components/ModelSelectionDialog.test.d.ts → hooks/useAttentionNotifications.test.d.ts} +0 -0
|
@@ -67,18 +67,21 @@ export type SessionNotification = z.infer<typeof sessionNotificationSchema>;
|
|
|
67
67
|
export type ClientRequest = z.infer<typeof clientRequestSchema>;
|
|
68
68
|
export type AgentRequest = z.infer<typeof agentRequestSchema>;
|
|
69
69
|
export type AgentNotification = z.infer<typeof agentNotificationSchema>;
|
|
70
|
+
export type AvailableCommandInput = z.infer<typeof availableCommandInputSchema>;
|
|
71
|
+
export type AvailableCommand = z.infer<typeof availableCommandSchema>;
|
|
72
|
+
export type AvailableCommandsUpdate = z.infer<typeof availableCommandsUpdateSchema>;
|
|
70
73
|
export declare const writeTextFileRequestSchema: z.ZodObject<{
|
|
71
74
|
content: z.ZodString;
|
|
72
75
|
path: z.ZodString;
|
|
73
76
|
sessionId: z.ZodString;
|
|
74
77
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
sessionId: string;
|
|
76
|
-
content: string;
|
|
77
78
|
path: string;
|
|
78
|
-
}, {
|
|
79
|
-
sessionId: string;
|
|
80
79
|
content: string;
|
|
80
|
+
sessionId: string;
|
|
81
|
+
}, {
|
|
81
82
|
path: string;
|
|
83
|
+
content: string;
|
|
84
|
+
sessionId: string;
|
|
82
85
|
}>;
|
|
83
86
|
export declare const readTextFileRequestSchema: z.ZodObject<{
|
|
84
87
|
limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -86,13 +89,13 @@ export declare const readTextFileRequestSchema: z.ZodObject<{
|
|
|
86
89
|
path: z.ZodString;
|
|
87
90
|
sessionId: z.ZodString;
|
|
88
91
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
sessionId: string;
|
|
90
92
|
path: string;
|
|
93
|
+
sessionId: string;
|
|
91
94
|
line?: number | null | undefined;
|
|
92
95
|
limit?: number | null | undefined;
|
|
93
96
|
}, {
|
|
94
|
-
sessionId: string;
|
|
95
97
|
path: string;
|
|
98
|
+
sessionId: string;
|
|
96
99
|
line?: number | null | undefined;
|
|
97
100
|
limit?: number | null | undefined;
|
|
98
101
|
}>;
|
|
@@ -196,12 +199,12 @@ export declare const planEntrySchema: z.ZodObject<{
|
|
|
196
199
|
priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
|
|
197
200
|
status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
|
|
198
201
|
}, "strip", z.ZodTypeAny, {
|
|
199
|
-
content: string;
|
|
200
202
|
status: "completed" | "pending" | "in_progress";
|
|
203
|
+
content: string;
|
|
201
204
|
priority: "medium" | "high" | "low";
|
|
202
205
|
}, {
|
|
203
|
-
content: string;
|
|
204
206
|
status: "completed" | "pending" | "in_progress";
|
|
207
|
+
content: string;
|
|
205
208
|
priority: "medium" | "high" | "low";
|
|
206
209
|
}>;
|
|
207
210
|
export declare const permissionOptionSchema: z.ZodObject<{
|
|
@@ -298,20 +301,20 @@ export declare const mcpServerSchema: z.ZodObject<{
|
|
|
298
301
|
name: z.ZodString;
|
|
299
302
|
}, "strip", z.ZodTypeAny, {
|
|
300
303
|
name: string;
|
|
304
|
+
command: string;
|
|
301
305
|
args: string[];
|
|
302
306
|
env: {
|
|
303
307
|
name: string;
|
|
304
308
|
value: string;
|
|
305
309
|
}[];
|
|
306
|
-
command: string;
|
|
307
310
|
}, {
|
|
308
311
|
name: string;
|
|
312
|
+
command: string;
|
|
309
313
|
args: string[];
|
|
310
314
|
env: {
|
|
311
315
|
name: string;
|
|
312
316
|
value: string;
|
|
313
317
|
}[];
|
|
314
|
-
command: string;
|
|
315
318
|
}>;
|
|
316
319
|
export declare const promptCapabilitiesSchema: z.ZodObject<{
|
|
317
320
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -361,13 +364,13 @@ export declare const authMethodSchema: z.ZodObject<{
|
|
|
361
364
|
id: z.ZodString;
|
|
362
365
|
name: z.ZodString;
|
|
363
366
|
}, "strip", z.ZodTypeAny, {
|
|
364
|
-
id: string;
|
|
365
367
|
name: string;
|
|
366
368
|
description: string | null;
|
|
367
|
-
}, {
|
|
368
369
|
id: string;
|
|
370
|
+
}, {
|
|
369
371
|
name: string;
|
|
370
372
|
description: string | null;
|
|
373
|
+
id: string;
|
|
371
374
|
}>;
|
|
372
375
|
export declare const clientResponseSchema: z.ZodUnion<[z.ZodNull, z.ZodObject<{
|
|
373
376
|
content: z.ZodString;
|
|
@@ -457,41 +460,41 @@ export declare const newSessionRequestSchema: z.ZodObject<{
|
|
|
457
460
|
name: z.ZodString;
|
|
458
461
|
}, "strip", z.ZodTypeAny, {
|
|
459
462
|
name: string;
|
|
463
|
+
command: string;
|
|
460
464
|
args: string[];
|
|
461
465
|
env: {
|
|
462
466
|
name: string;
|
|
463
467
|
value: string;
|
|
464
468
|
}[];
|
|
465
|
-
command: string;
|
|
466
469
|
}, {
|
|
467
470
|
name: string;
|
|
471
|
+
command: string;
|
|
468
472
|
args: string[];
|
|
469
473
|
env: {
|
|
470
474
|
name: string;
|
|
471
475
|
value: string;
|
|
472
476
|
}[];
|
|
473
|
-
command: string;
|
|
474
477
|
}>, "many">;
|
|
475
478
|
}, "strip", z.ZodTypeAny, {
|
|
476
479
|
mcpServers: {
|
|
477
480
|
name: string;
|
|
481
|
+
command: string;
|
|
478
482
|
args: string[];
|
|
479
483
|
env: {
|
|
480
484
|
name: string;
|
|
481
485
|
value: string;
|
|
482
486
|
}[];
|
|
483
|
-
command: string;
|
|
484
487
|
}[];
|
|
485
488
|
cwd: string;
|
|
486
489
|
}, {
|
|
487
490
|
mcpServers: {
|
|
488
491
|
name: string;
|
|
492
|
+
command: string;
|
|
489
493
|
args: string[];
|
|
490
494
|
env: {
|
|
491
495
|
name: string;
|
|
492
496
|
value: string;
|
|
493
497
|
}[];
|
|
494
|
-
command: string;
|
|
495
498
|
}[];
|
|
496
499
|
cwd: string;
|
|
497
500
|
}>;
|
|
@@ -513,46 +516,46 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
|
|
|
513
516
|
name: z.ZodString;
|
|
514
517
|
}, "strip", z.ZodTypeAny, {
|
|
515
518
|
name: string;
|
|
519
|
+
command: string;
|
|
516
520
|
args: string[];
|
|
517
521
|
env: {
|
|
518
522
|
name: string;
|
|
519
523
|
value: string;
|
|
520
524
|
}[];
|
|
521
|
-
command: string;
|
|
522
525
|
}, {
|
|
523
526
|
name: string;
|
|
527
|
+
command: string;
|
|
524
528
|
args: string[];
|
|
525
529
|
env: {
|
|
526
530
|
name: string;
|
|
527
531
|
value: string;
|
|
528
532
|
}[];
|
|
529
|
-
command: string;
|
|
530
533
|
}>, "many">;
|
|
531
534
|
sessionId: z.ZodString;
|
|
532
535
|
}, "strip", z.ZodTypeAny, {
|
|
533
536
|
mcpServers: {
|
|
534
537
|
name: string;
|
|
538
|
+
command: string;
|
|
535
539
|
args: string[];
|
|
536
540
|
env: {
|
|
537
541
|
name: string;
|
|
538
542
|
value: string;
|
|
539
543
|
}[];
|
|
540
|
-
command: string;
|
|
541
544
|
}[];
|
|
542
|
-
sessionId: string;
|
|
543
545
|
cwd: string;
|
|
546
|
+
sessionId: string;
|
|
544
547
|
}, {
|
|
545
548
|
mcpServers: {
|
|
546
549
|
name: string;
|
|
550
|
+
command: string;
|
|
547
551
|
args: string[];
|
|
548
552
|
env: {
|
|
549
553
|
name: string;
|
|
550
554
|
value: string;
|
|
551
555
|
}[];
|
|
552
|
-
command: string;
|
|
553
556
|
}[];
|
|
554
|
-
sessionId: string;
|
|
555
557
|
cwd: string;
|
|
558
|
+
sessionId: string;
|
|
556
559
|
}>;
|
|
557
560
|
export declare const initializeResponseSchema: z.ZodObject<{
|
|
558
561
|
agentCapabilities: z.ZodObject<{
|
|
@@ -590,13 +593,13 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
590
593
|
id: z.ZodString;
|
|
591
594
|
name: z.ZodString;
|
|
592
595
|
}, "strip", z.ZodTypeAny, {
|
|
593
|
-
id: string;
|
|
594
596
|
name: string;
|
|
595
597
|
description: string | null;
|
|
596
|
-
}, {
|
|
597
598
|
id: string;
|
|
599
|
+
}, {
|
|
598
600
|
name: string;
|
|
599
601
|
description: string | null;
|
|
602
|
+
id: string;
|
|
600
603
|
}>, "many">;
|
|
601
604
|
protocolVersion: z.ZodNumber;
|
|
602
605
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -609,9 +612,9 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
609
612
|
} | undefined;
|
|
610
613
|
};
|
|
611
614
|
authMethods: {
|
|
612
|
-
id: string;
|
|
613
615
|
name: string;
|
|
614
616
|
description: string | null;
|
|
617
|
+
id: string;
|
|
615
618
|
}[];
|
|
616
619
|
protocolVersion: number;
|
|
617
620
|
}, {
|
|
@@ -624,9 +627,9 @@ export declare const initializeResponseSchema: z.ZodObject<{
|
|
|
624
627
|
} | undefined;
|
|
625
628
|
};
|
|
626
629
|
authMethods: {
|
|
627
|
-
id: string;
|
|
628
630
|
name: string;
|
|
629
631
|
description: string | null;
|
|
632
|
+
id: string;
|
|
630
633
|
}[];
|
|
631
634
|
protocolVersion: number;
|
|
632
635
|
}>;
|
|
@@ -647,16 +650,16 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
647
650
|
text: z.ZodString;
|
|
648
651
|
type: z.ZodLiteral<"text">;
|
|
649
652
|
}, "strip", z.ZodTypeAny, {
|
|
650
|
-
text: string;
|
|
651
653
|
type: "text";
|
|
654
|
+
text: string;
|
|
652
655
|
annotations?: {
|
|
653
656
|
priority?: number | null | undefined;
|
|
654
657
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
655
658
|
lastModified?: string | null | undefined;
|
|
656
659
|
} | null | undefined;
|
|
657
660
|
}, {
|
|
658
|
-
text: string;
|
|
659
661
|
type: "text";
|
|
662
|
+
text: string;
|
|
660
663
|
annotations?: {
|
|
661
664
|
priority?: number | null | undefined;
|
|
662
665
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -757,10 +760,10 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
757
760
|
type: "resource_link";
|
|
758
761
|
name: string;
|
|
759
762
|
uri: string;
|
|
760
|
-
size?: number | null | undefined;
|
|
761
763
|
description?: string | null | undefined;
|
|
762
764
|
title?: string | null | undefined;
|
|
763
765
|
mimeType?: string | null | undefined;
|
|
766
|
+
size?: number | null | undefined;
|
|
764
767
|
annotations?: {
|
|
765
768
|
priority?: number | null | undefined;
|
|
766
769
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -770,10 +773,10 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
770
773
|
type: "resource_link";
|
|
771
774
|
name: string;
|
|
772
775
|
uri: string;
|
|
773
|
-
size?: number | null | undefined;
|
|
774
776
|
description?: string | null | undefined;
|
|
775
777
|
title?: string | null | undefined;
|
|
776
778
|
mimeType?: string | null | undefined;
|
|
779
|
+
size?: number | null | undefined;
|
|
777
780
|
annotations?: {
|
|
778
781
|
priority?: number | null | undefined;
|
|
779
782
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -870,16 +873,16 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
870
873
|
text: z.ZodString;
|
|
871
874
|
type: z.ZodLiteral<"text">;
|
|
872
875
|
}, "strip", z.ZodTypeAny, {
|
|
873
|
-
text: string;
|
|
874
876
|
type: "text";
|
|
877
|
+
text: string;
|
|
875
878
|
annotations?: {
|
|
876
879
|
priority?: number | null | undefined;
|
|
877
880
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
878
881
|
lastModified?: string | null | undefined;
|
|
879
882
|
} | null | undefined;
|
|
880
883
|
}, {
|
|
881
|
-
text: string;
|
|
882
884
|
type: "text";
|
|
885
|
+
text: string;
|
|
883
886
|
annotations?: {
|
|
884
887
|
priority?: number | null | undefined;
|
|
885
888
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -980,10 +983,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
980
983
|
type: "resource_link";
|
|
981
984
|
name: string;
|
|
982
985
|
uri: string;
|
|
983
|
-
size?: number | null | undefined;
|
|
984
986
|
description?: string | null | undefined;
|
|
985
987
|
title?: string | null | undefined;
|
|
986
988
|
mimeType?: string | null | undefined;
|
|
989
|
+
size?: number | null | undefined;
|
|
987
990
|
annotations?: {
|
|
988
991
|
priority?: number | null | undefined;
|
|
989
992
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -993,10 +996,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
993
996
|
type: "resource_link";
|
|
994
997
|
name: string;
|
|
995
998
|
uri: string;
|
|
996
|
-
size?: number | null | undefined;
|
|
997
999
|
description?: string | null | undefined;
|
|
998
1000
|
title?: string | null | undefined;
|
|
999
1001
|
mimeType?: string | null | undefined;
|
|
1002
|
+
size?: number | null | undefined;
|
|
1000
1003
|
annotations?: {
|
|
1001
1004
|
priority?: number | null | undefined;
|
|
1002
1005
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1079,8 +1082,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1079
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1080
1083
|
type: "content";
|
|
1081
1084
|
content: {
|
|
1082
|
-
text: string;
|
|
1083
1085
|
type: "text";
|
|
1086
|
+
text: string;
|
|
1084
1087
|
annotations?: {
|
|
1085
1088
|
priority?: number | null | undefined;
|
|
1086
1089
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1108,10 +1111,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1108
1111
|
type: "resource_link";
|
|
1109
1112
|
name: string;
|
|
1110
1113
|
uri: string;
|
|
1111
|
-
size?: number | null | undefined;
|
|
1112
1114
|
description?: string | null | undefined;
|
|
1113
1115
|
title?: string | null | undefined;
|
|
1114
1116
|
mimeType?: string | null | undefined;
|
|
1117
|
+
size?: number | null | undefined;
|
|
1115
1118
|
annotations?: {
|
|
1116
1119
|
priority?: number | null | undefined;
|
|
1117
1120
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1137,8 +1140,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1137
1140
|
}, {
|
|
1138
1141
|
type: "content";
|
|
1139
1142
|
content: {
|
|
1140
|
-
text: string;
|
|
1141
1143
|
type: "text";
|
|
1144
|
+
text: string;
|
|
1142
1145
|
annotations?: {
|
|
1143
1146
|
priority?: number | null | undefined;
|
|
1144
1147
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1166,10 +1169,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1166
1169
|
type: "resource_link";
|
|
1167
1170
|
name: string;
|
|
1168
1171
|
uri: string;
|
|
1169
|
-
size?: number | null | undefined;
|
|
1170
1172
|
description?: string | null | undefined;
|
|
1171
1173
|
title?: string | null | undefined;
|
|
1172
1174
|
mimeType?: string | null | undefined;
|
|
1175
|
+
size?: number | null | undefined;
|
|
1173
1176
|
annotations?: {
|
|
1174
1177
|
priority?: number | null | undefined;
|
|
1175
1178
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1227,16 +1230,16 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1227
1230
|
text: z.ZodString;
|
|
1228
1231
|
type: z.ZodLiteral<"text">;
|
|
1229
1232
|
}, "strip", z.ZodTypeAny, {
|
|
1230
|
-
text: string;
|
|
1231
1233
|
type: "text";
|
|
1234
|
+
text: string;
|
|
1232
1235
|
annotations?: {
|
|
1233
1236
|
priority?: number | null | undefined;
|
|
1234
1237
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1235
1238
|
lastModified?: string | null | undefined;
|
|
1236
1239
|
} | null | undefined;
|
|
1237
1240
|
}, {
|
|
1238
|
-
text: string;
|
|
1239
1241
|
type: "text";
|
|
1242
|
+
text: string;
|
|
1240
1243
|
annotations?: {
|
|
1241
1244
|
priority?: number | null | undefined;
|
|
1242
1245
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1337,10 +1340,10 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1337
1340
|
type: "resource_link";
|
|
1338
1341
|
name: string;
|
|
1339
1342
|
uri: string;
|
|
1340
|
-
size?: number | null | undefined;
|
|
1341
1343
|
description?: string | null | undefined;
|
|
1342
1344
|
title?: string | null | undefined;
|
|
1343
1345
|
mimeType?: string | null | undefined;
|
|
1346
|
+
size?: number | null | undefined;
|
|
1344
1347
|
annotations?: {
|
|
1345
1348
|
priority?: number | null | undefined;
|
|
1346
1349
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1350,10 +1353,10 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1350
1353
|
type: "resource_link";
|
|
1351
1354
|
name: string;
|
|
1352
1355
|
uri: string;
|
|
1353
|
-
size?: number | null | undefined;
|
|
1354
1356
|
description?: string | null | undefined;
|
|
1355
1357
|
title?: string | null | undefined;
|
|
1356
1358
|
mimeType?: string | null | undefined;
|
|
1359
|
+
size?: number | null | undefined;
|
|
1357
1360
|
annotations?: {
|
|
1358
1361
|
priority?: number | null | undefined;
|
|
1359
1362
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1436,8 +1439,8 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1436
1439
|
}, "strip", z.ZodTypeAny, {
|
|
1437
1440
|
type: "content";
|
|
1438
1441
|
content: {
|
|
1439
|
-
text: string;
|
|
1440
1442
|
type: "text";
|
|
1443
|
+
text: string;
|
|
1441
1444
|
annotations?: {
|
|
1442
1445
|
priority?: number | null | undefined;
|
|
1443
1446
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1465,10 +1468,10 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1465
1468
|
type: "resource_link";
|
|
1466
1469
|
name: string;
|
|
1467
1470
|
uri: string;
|
|
1468
|
-
size?: number | null | undefined;
|
|
1469
1471
|
description?: string | null | undefined;
|
|
1470
1472
|
title?: string | null | undefined;
|
|
1471
1473
|
mimeType?: string | null | undefined;
|
|
1474
|
+
size?: number | null | undefined;
|
|
1472
1475
|
annotations?: {
|
|
1473
1476
|
priority?: number | null | undefined;
|
|
1474
1477
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1494,8 +1497,8 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1494
1497
|
}, {
|
|
1495
1498
|
type: "content";
|
|
1496
1499
|
content: {
|
|
1497
|
-
text: string;
|
|
1498
1500
|
type: "text";
|
|
1501
|
+
text: string;
|
|
1499
1502
|
annotations?: {
|
|
1500
1503
|
priority?: number | null | undefined;
|
|
1501
1504
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1523,10 +1526,10 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1523
1526
|
type: "resource_link";
|
|
1524
1527
|
name: string;
|
|
1525
1528
|
uri: string;
|
|
1526
|
-
size?: number | null | undefined;
|
|
1527
1529
|
description?: string | null | undefined;
|
|
1528
1530
|
title?: string | null | undefined;
|
|
1529
1531
|
mimeType?: string | null | undefined;
|
|
1532
|
+
size?: number | null | undefined;
|
|
1530
1533
|
annotations?: {
|
|
1531
1534
|
priority?: number | null | undefined;
|
|
1532
1535
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1583,13 +1586,13 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1583
1586
|
}, "strip", z.ZodTypeAny, {
|
|
1584
1587
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
1585
1588
|
title: string;
|
|
1586
|
-
kind: "search" | "
|
|
1589
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
1587
1590
|
toolCallId: string;
|
|
1588
1591
|
content?: ({
|
|
1589
1592
|
type: "content";
|
|
1590
1593
|
content: {
|
|
1591
|
-
text: string;
|
|
1592
1594
|
type: "text";
|
|
1595
|
+
text: string;
|
|
1593
1596
|
annotations?: {
|
|
1594
1597
|
priority?: number | null | undefined;
|
|
1595
1598
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1617,10 +1620,10 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1617
1620
|
type: "resource_link";
|
|
1618
1621
|
name: string;
|
|
1619
1622
|
uri: string;
|
|
1620
|
-
size?: number | null | undefined;
|
|
1621
1623
|
description?: string | null | undefined;
|
|
1622
1624
|
title?: string | null | undefined;
|
|
1623
1625
|
mimeType?: string | null | undefined;
|
|
1626
|
+
size?: number | null | undefined;
|
|
1624
1627
|
annotations?: {
|
|
1625
1628
|
priority?: number | null | undefined;
|
|
1626
1629
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1657,13 +1660,13 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1657
1660
|
}, {
|
|
1658
1661
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
1659
1662
|
title: string;
|
|
1660
|
-
kind: "search" | "
|
|
1663
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
1661
1664
|
toolCallId: string;
|
|
1662
1665
|
content?: ({
|
|
1663
1666
|
type: "content";
|
|
1664
1667
|
content: {
|
|
1665
|
-
text: string;
|
|
1666
1668
|
type: "text";
|
|
1669
|
+
text: string;
|
|
1667
1670
|
annotations?: {
|
|
1668
1671
|
priority?: number | null | undefined;
|
|
1669
1672
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1691,10 +1694,10 @@ export declare const toolCallSchema: z.ZodObject<{
|
|
|
1691
1694
|
type: "resource_link";
|
|
1692
1695
|
name: string;
|
|
1693
1696
|
uri: string;
|
|
1694
|
-
size?: number | null | undefined;
|
|
1695
1697
|
description?: string | null | undefined;
|
|
1696
1698
|
title?: string | null | undefined;
|
|
1697
1699
|
mimeType?: string | null | undefined;
|
|
1700
|
+
size?: number | null | undefined;
|
|
1698
1701
|
annotations?: {
|
|
1699
1702
|
priority?: number | null | undefined;
|
|
1700
1703
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1769,16 +1772,16 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
1769
1772
|
text: z.ZodString;
|
|
1770
1773
|
type: z.ZodLiteral<"text">;
|
|
1771
1774
|
}, "strip", z.ZodTypeAny, {
|
|
1772
|
-
text: string;
|
|
1773
1775
|
type: "text";
|
|
1776
|
+
text: string;
|
|
1774
1777
|
annotations?: {
|
|
1775
1778
|
priority?: number | null | undefined;
|
|
1776
1779
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
1777
1780
|
lastModified?: string | null | undefined;
|
|
1778
1781
|
} | null | undefined;
|
|
1779
1782
|
}, {
|
|
1780
|
-
text: string;
|
|
1781
1783
|
type: "text";
|
|
1784
|
+
text: string;
|
|
1782
1785
|
annotations?: {
|
|
1783
1786
|
priority?: number | null | undefined;
|
|
1784
1787
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1879,10 +1882,10 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
1879
1882
|
type: "resource_link";
|
|
1880
1883
|
name: string;
|
|
1881
1884
|
uri: string;
|
|
1882
|
-
size?: number | null | undefined;
|
|
1883
1885
|
description?: string | null | undefined;
|
|
1884
1886
|
title?: string | null | undefined;
|
|
1885
1887
|
mimeType?: string | null | undefined;
|
|
1888
|
+
size?: number | null | undefined;
|
|
1886
1889
|
annotations?: {
|
|
1887
1890
|
priority?: number | null | undefined;
|
|
1888
1891
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1892,10 +1895,10 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
1892
1895
|
type: "resource_link";
|
|
1893
1896
|
name: string;
|
|
1894
1897
|
uri: string;
|
|
1895
|
-
size?: number | null | undefined;
|
|
1896
1898
|
description?: string | null | undefined;
|
|
1897
1899
|
title?: string | null | undefined;
|
|
1898
1900
|
mimeType?: string | null | undefined;
|
|
1901
|
+
size?: number | null | undefined;
|
|
1899
1902
|
annotations?: {
|
|
1900
1903
|
priority?: number | null | undefined;
|
|
1901
1904
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -1976,10 +1979,9 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
1976
1979
|
}>]>, "many">;
|
|
1977
1980
|
sessionId: z.ZodString;
|
|
1978
1981
|
}, "strip", z.ZodTypeAny, {
|
|
1979
|
-
sessionId: string;
|
|
1980
1982
|
prompt: ({
|
|
1981
|
-
text: string;
|
|
1982
1983
|
type: "text";
|
|
1984
|
+
text: string;
|
|
1983
1985
|
annotations?: {
|
|
1984
1986
|
priority?: number | null | undefined;
|
|
1985
1987
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2007,10 +2009,10 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
2007
2009
|
type: "resource_link";
|
|
2008
2010
|
name: string;
|
|
2009
2011
|
uri: string;
|
|
2010
|
-
size?: number | null | undefined;
|
|
2011
2012
|
description?: string | null | undefined;
|
|
2012
2013
|
title?: string | null | undefined;
|
|
2013
2014
|
mimeType?: string | null | undefined;
|
|
2015
|
+
size?: number | null | undefined;
|
|
2014
2016
|
annotations?: {
|
|
2015
2017
|
priority?: number | null | undefined;
|
|
2016
2018
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2033,11 +2035,11 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
2033
2035
|
lastModified?: string | null | undefined;
|
|
2034
2036
|
} | null | undefined;
|
|
2035
2037
|
})[];
|
|
2036
|
-
}, {
|
|
2037
2038
|
sessionId: string;
|
|
2039
|
+
}, {
|
|
2038
2040
|
prompt: ({
|
|
2039
|
-
text: string;
|
|
2040
2041
|
type: "text";
|
|
2042
|
+
text: string;
|
|
2041
2043
|
annotations?: {
|
|
2042
2044
|
priority?: number | null | undefined;
|
|
2043
2045
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2065,10 +2067,10 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
2065
2067
|
type: "resource_link";
|
|
2066
2068
|
name: string;
|
|
2067
2069
|
uri: string;
|
|
2068
|
-
size?: number | null | undefined;
|
|
2069
2070
|
description?: string | null | undefined;
|
|
2070
2071
|
title?: string | null | undefined;
|
|
2071
2072
|
mimeType?: string | null | undefined;
|
|
2073
|
+
size?: number | null | undefined;
|
|
2072
2074
|
annotations?: {
|
|
2073
2075
|
priority?: number | null | undefined;
|
|
2074
2076
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2091,6 +2093,81 @@ export declare const promptRequestSchema: z.ZodObject<{
|
|
|
2091
2093
|
lastModified?: string | null | undefined;
|
|
2092
2094
|
} | null | undefined;
|
|
2093
2095
|
})[];
|
|
2096
|
+
sessionId: string;
|
|
2097
|
+
}>;
|
|
2098
|
+
export declare const availableCommandInputSchema: z.ZodObject<{
|
|
2099
|
+
hint: z.ZodString;
|
|
2100
|
+
}, "strip", z.ZodTypeAny, {
|
|
2101
|
+
hint: string;
|
|
2102
|
+
}, {
|
|
2103
|
+
hint: string;
|
|
2104
|
+
}>;
|
|
2105
|
+
export declare const availableCommandSchema: z.ZodObject<{
|
|
2106
|
+
description: z.ZodString;
|
|
2107
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2108
|
+
hint: z.ZodString;
|
|
2109
|
+
}, "strip", z.ZodTypeAny, {
|
|
2110
|
+
hint: string;
|
|
2111
|
+
}, {
|
|
2112
|
+
hint: string;
|
|
2113
|
+
}>>>;
|
|
2114
|
+
name: z.ZodString;
|
|
2115
|
+
}, "strip", z.ZodTypeAny, {
|
|
2116
|
+
name: string;
|
|
2117
|
+
description: string;
|
|
2118
|
+
input?: {
|
|
2119
|
+
hint: string;
|
|
2120
|
+
} | null | undefined;
|
|
2121
|
+
}, {
|
|
2122
|
+
name: string;
|
|
2123
|
+
description: string;
|
|
2124
|
+
input?: {
|
|
2125
|
+
hint: string;
|
|
2126
|
+
} | null | undefined;
|
|
2127
|
+
}>;
|
|
2128
|
+
export declare const availableCommandsUpdateSchema: z.ZodObject<{
|
|
2129
|
+
availableCommands: z.ZodArray<z.ZodObject<{
|
|
2130
|
+
description: z.ZodString;
|
|
2131
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2132
|
+
hint: z.ZodString;
|
|
2133
|
+
}, "strip", z.ZodTypeAny, {
|
|
2134
|
+
hint: string;
|
|
2135
|
+
}, {
|
|
2136
|
+
hint: string;
|
|
2137
|
+
}>>>;
|
|
2138
|
+
name: z.ZodString;
|
|
2139
|
+
}, "strip", z.ZodTypeAny, {
|
|
2140
|
+
name: string;
|
|
2141
|
+
description: string;
|
|
2142
|
+
input?: {
|
|
2143
|
+
hint: string;
|
|
2144
|
+
} | null | undefined;
|
|
2145
|
+
}, {
|
|
2146
|
+
name: string;
|
|
2147
|
+
description: string;
|
|
2148
|
+
input?: {
|
|
2149
|
+
hint: string;
|
|
2150
|
+
} | null | undefined;
|
|
2151
|
+
}>, "many">;
|
|
2152
|
+
sessionUpdate: z.ZodLiteral<"available_commands_update">;
|
|
2153
|
+
}, "strip", z.ZodTypeAny, {
|
|
2154
|
+
sessionUpdate: "available_commands_update";
|
|
2155
|
+
availableCommands: {
|
|
2156
|
+
name: string;
|
|
2157
|
+
description: string;
|
|
2158
|
+
input?: {
|
|
2159
|
+
hint: string;
|
|
2160
|
+
} | null | undefined;
|
|
2161
|
+
}[];
|
|
2162
|
+
}, {
|
|
2163
|
+
sessionUpdate: "available_commands_update";
|
|
2164
|
+
availableCommands: {
|
|
2165
|
+
name: string;
|
|
2166
|
+
description: string;
|
|
2167
|
+
input?: {
|
|
2168
|
+
hint: string;
|
|
2169
|
+
} | null | undefined;
|
|
2170
|
+
}[];
|
|
2094
2171
|
}>;
|
|
2095
2172
|
export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
2096
2173
|
content: z.ZodUnion<[z.ZodObject<{
|
|
@@ -2110,16 +2187,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2110
2187
|
text: z.ZodString;
|
|
2111
2188
|
type: z.ZodLiteral<"text">;
|
|
2112
2189
|
}, "strip", z.ZodTypeAny, {
|
|
2113
|
-
text: string;
|
|
2114
2190
|
type: "text";
|
|
2191
|
+
text: string;
|
|
2115
2192
|
annotations?: {
|
|
2116
2193
|
priority?: number | null | undefined;
|
|
2117
2194
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2118
2195
|
lastModified?: string | null | undefined;
|
|
2119
2196
|
} | null | undefined;
|
|
2120
2197
|
}, {
|
|
2121
|
-
text: string;
|
|
2122
2198
|
type: "text";
|
|
2199
|
+
text: string;
|
|
2123
2200
|
annotations?: {
|
|
2124
2201
|
priority?: number | null | undefined;
|
|
2125
2202
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2220,10 +2297,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2220
2297
|
type: "resource_link";
|
|
2221
2298
|
name: string;
|
|
2222
2299
|
uri: string;
|
|
2223
|
-
size?: number | null | undefined;
|
|
2224
2300
|
description?: string | null | undefined;
|
|
2225
2301
|
title?: string | null | undefined;
|
|
2226
2302
|
mimeType?: string | null | undefined;
|
|
2303
|
+
size?: number | null | undefined;
|
|
2227
2304
|
annotations?: {
|
|
2228
2305
|
priority?: number | null | undefined;
|
|
2229
2306
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2233,10 +2310,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2233
2310
|
type: "resource_link";
|
|
2234
2311
|
name: string;
|
|
2235
2312
|
uri: string;
|
|
2236
|
-
size?: number | null | undefined;
|
|
2237
2313
|
description?: string | null | undefined;
|
|
2238
2314
|
title?: string | null | undefined;
|
|
2239
2315
|
mimeType?: string | null | undefined;
|
|
2316
|
+
size?: number | null | undefined;
|
|
2240
2317
|
annotations?: {
|
|
2241
2318
|
priority?: number | null | undefined;
|
|
2242
2319
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2318,8 +2395,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2318
2395
|
sessionUpdate: z.ZodLiteral<"user_message_chunk">;
|
|
2319
2396
|
}, "strip", z.ZodTypeAny, {
|
|
2320
2397
|
content: {
|
|
2321
|
-
text: string;
|
|
2322
2398
|
type: "text";
|
|
2399
|
+
text: string;
|
|
2323
2400
|
annotations?: {
|
|
2324
2401
|
priority?: number | null | undefined;
|
|
2325
2402
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2347,10 +2424,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2347
2424
|
type: "resource_link";
|
|
2348
2425
|
name: string;
|
|
2349
2426
|
uri: string;
|
|
2350
|
-
size?: number | null | undefined;
|
|
2351
2427
|
description?: string | null | undefined;
|
|
2352
2428
|
title?: string | null | undefined;
|
|
2353
2429
|
mimeType?: string | null | undefined;
|
|
2430
|
+
size?: number | null | undefined;
|
|
2354
2431
|
annotations?: {
|
|
2355
2432
|
priority?: number | null | undefined;
|
|
2356
2433
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2376,8 +2453,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2376
2453
|
sessionUpdate: "user_message_chunk";
|
|
2377
2454
|
}, {
|
|
2378
2455
|
content: {
|
|
2379
|
-
text: string;
|
|
2380
2456
|
type: "text";
|
|
2457
|
+
text: string;
|
|
2381
2458
|
annotations?: {
|
|
2382
2459
|
priority?: number | null | undefined;
|
|
2383
2460
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2405,10 +2482,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2405
2482
|
type: "resource_link";
|
|
2406
2483
|
name: string;
|
|
2407
2484
|
uri: string;
|
|
2408
|
-
size?: number | null | undefined;
|
|
2409
2485
|
description?: string | null | undefined;
|
|
2410
2486
|
title?: string | null | undefined;
|
|
2411
2487
|
mimeType?: string | null | undefined;
|
|
2488
|
+
size?: number | null | undefined;
|
|
2412
2489
|
annotations?: {
|
|
2413
2490
|
priority?: number | null | undefined;
|
|
2414
2491
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2450,16 +2527,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2450
2527
|
text: z.ZodString;
|
|
2451
2528
|
type: z.ZodLiteral<"text">;
|
|
2452
2529
|
}, "strip", z.ZodTypeAny, {
|
|
2453
|
-
text: string;
|
|
2454
2530
|
type: "text";
|
|
2531
|
+
text: string;
|
|
2455
2532
|
annotations?: {
|
|
2456
2533
|
priority?: number | null | undefined;
|
|
2457
2534
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2458
2535
|
lastModified?: string | null | undefined;
|
|
2459
2536
|
} | null | undefined;
|
|
2460
2537
|
}, {
|
|
2461
|
-
text: string;
|
|
2462
2538
|
type: "text";
|
|
2539
|
+
text: string;
|
|
2463
2540
|
annotations?: {
|
|
2464
2541
|
priority?: number | null | undefined;
|
|
2465
2542
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2560,10 +2637,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2560
2637
|
type: "resource_link";
|
|
2561
2638
|
name: string;
|
|
2562
2639
|
uri: string;
|
|
2563
|
-
size?: number | null | undefined;
|
|
2564
2640
|
description?: string | null | undefined;
|
|
2565
2641
|
title?: string | null | undefined;
|
|
2566
2642
|
mimeType?: string | null | undefined;
|
|
2643
|
+
size?: number | null | undefined;
|
|
2567
2644
|
annotations?: {
|
|
2568
2645
|
priority?: number | null | undefined;
|
|
2569
2646
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2573,10 +2650,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2573
2650
|
type: "resource_link";
|
|
2574
2651
|
name: string;
|
|
2575
2652
|
uri: string;
|
|
2576
|
-
size?: number | null | undefined;
|
|
2577
2653
|
description?: string | null | undefined;
|
|
2578
2654
|
title?: string | null | undefined;
|
|
2579
2655
|
mimeType?: string | null | undefined;
|
|
2656
|
+
size?: number | null | undefined;
|
|
2580
2657
|
annotations?: {
|
|
2581
2658
|
priority?: number | null | undefined;
|
|
2582
2659
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2658,8 +2735,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2658
2735
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
2659
2736
|
}, "strip", z.ZodTypeAny, {
|
|
2660
2737
|
content: {
|
|
2661
|
-
text: string;
|
|
2662
2738
|
type: "text";
|
|
2739
|
+
text: string;
|
|
2663
2740
|
annotations?: {
|
|
2664
2741
|
priority?: number | null | undefined;
|
|
2665
2742
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2687,10 +2764,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2687
2764
|
type: "resource_link";
|
|
2688
2765
|
name: string;
|
|
2689
2766
|
uri: string;
|
|
2690
|
-
size?: number | null | undefined;
|
|
2691
2767
|
description?: string | null | undefined;
|
|
2692
2768
|
title?: string | null | undefined;
|
|
2693
2769
|
mimeType?: string | null | undefined;
|
|
2770
|
+
size?: number | null | undefined;
|
|
2694
2771
|
annotations?: {
|
|
2695
2772
|
priority?: number | null | undefined;
|
|
2696
2773
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2716,8 +2793,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2716
2793
|
sessionUpdate: "agent_message_chunk";
|
|
2717
2794
|
}, {
|
|
2718
2795
|
content: {
|
|
2719
|
-
text: string;
|
|
2720
2796
|
type: "text";
|
|
2797
|
+
text: string;
|
|
2721
2798
|
annotations?: {
|
|
2722
2799
|
priority?: number | null | undefined;
|
|
2723
2800
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2745,10 +2822,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2745
2822
|
type: "resource_link";
|
|
2746
2823
|
name: string;
|
|
2747
2824
|
uri: string;
|
|
2748
|
-
size?: number | null | undefined;
|
|
2749
2825
|
description?: string | null | undefined;
|
|
2750
2826
|
title?: string | null | undefined;
|
|
2751
2827
|
mimeType?: string | null | undefined;
|
|
2828
|
+
size?: number | null | undefined;
|
|
2752
2829
|
annotations?: {
|
|
2753
2830
|
priority?: number | null | undefined;
|
|
2754
2831
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2790,16 +2867,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2790
2867
|
text: z.ZodString;
|
|
2791
2868
|
type: z.ZodLiteral<"text">;
|
|
2792
2869
|
}, "strip", z.ZodTypeAny, {
|
|
2793
|
-
text: string;
|
|
2794
2870
|
type: "text";
|
|
2871
|
+
text: string;
|
|
2795
2872
|
annotations?: {
|
|
2796
2873
|
priority?: number | null | undefined;
|
|
2797
2874
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
2798
2875
|
lastModified?: string | null | undefined;
|
|
2799
2876
|
} | null | undefined;
|
|
2800
2877
|
}, {
|
|
2801
|
-
text: string;
|
|
2802
2878
|
type: "text";
|
|
2879
|
+
text: string;
|
|
2803
2880
|
annotations?: {
|
|
2804
2881
|
priority?: number | null | undefined;
|
|
2805
2882
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2900,10 +2977,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2900
2977
|
type: "resource_link";
|
|
2901
2978
|
name: string;
|
|
2902
2979
|
uri: string;
|
|
2903
|
-
size?: number | null | undefined;
|
|
2904
2980
|
description?: string | null | undefined;
|
|
2905
2981
|
title?: string | null | undefined;
|
|
2906
2982
|
mimeType?: string | null | undefined;
|
|
2983
|
+
size?: number | null | undefined;
|
|
2907
2984
|
annotations?: {
|
|
2908
2985
|
priority?: number | null | undefined;
|
|
2909
2986
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2913,10 +2990,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2913
2990
|
type: "resource_link";
|
|
2914
2991
|
name: string;
|
|
2915
2992
|
uri: string;
|
|
2916
|
-
size?: number | null | undefined;
|
|
2917
2993
|
description?: string | null | undefined;
|
|
2918
2994
|
title?: string | null | undefined;
|
|
2919
2995
|
mimeType?: string | null | undefined;
|
|
2996
|
+
size?: number | null | undefined;
|
|
2920
2997
|
annotations?: {
|
|
2921
2998
|
priority?: number | null | undefined;
|
|
2922
2999
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -2998,8 +3075,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2998
3075
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
2999
3076
|
}, "strip", z.ZodTypeAny, {
|
|
3000
3077
|
content: {
|
|
3001
|
-
text: string;
|
|
3002
3078
|
type: "text";
|
|
3079
|
+
text: string;
|
|
3003
3080
|
annotations?: {
|
|
3004
3081
|
priority?: number | null | undefined;
|
|
3005
3082
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3027,10 +3104,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3027
3104
|
type: "resource_link";
|
|
3028
3105
|
name: string;
|
|
3029
3106
|
uri: string;
|
|
3030
|
-
size?: number | null | undefined;
|
|
3031
3107
|
description?: string | null | undefined;
|
|
3032
3108
|
title?: string | null | undefined;
|
|
3033
3109
|
mimeType?: string | null | undefined;
|
|
3110
|
+
size?: number | null | undefined;
|
|
3034
3111
|
annotations?: {
|
|
3035
3112
|
priority?: number | null | undefined;
|
|
3036
3113
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3056,8 +3133,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3056
3133
|
sessionUpdate: "agent_thought_chunk";
|
|
3057
3134
|
}, {
|
|
3058
3135
|
content: {
|
|
3059
|
-
text: string;
|
|
3060
3136
|
type: "text";
|
|
3137
|
+
text: string;
|
|
3061
3138
|
annotations?: {
|
|
3062
3139
|
priority?: number | null | undefined;
|
|
3063
3140
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3085,10 +3162,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3085
3162
|
type: "resource_link";
|
|
3086
3163
|
name: string;
|
|
3087
3164
|
uri: string;
|
|
3088
|
-
size?: number | null | undefined;
|
|
3089
3165
|
description?: string | null | undefined;
|
|
3090
3166
|
title?: string | null | undefined;
|
|
3091
3167
|
mimeType?: string | null | undefined;
|
|
3168
|
+
size?: number | null | undefined;
|
|
3092
3169
|
annotations?: {
|
|
3093
3170
|
priority?: number | null | undefined;
|
|
3094
3171
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3131,16 +3208,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3131
3208
|
text: z.ZodString;
|
|
3132
3209
|
type: z.ZodLiteral<"text">;
|
|
3133
3210
|
}, "strip", z.ZodTypeAny, {
|
|
3134
|
-
text: string;
|
|
3135
3211
|
type: "text";
|
|
3212
|
+
text: string;
|
|
3136
3213
|
annotations?: {
|
|
3137
3214
|
priority?: number | null | undefined;
|
|
3138
3215
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3139
3216
|
lastModified?: string | null | undefined;
|
|
3140
3217
|
} | null | undefined;
|
|
3141
3218
|
}, {
|
|
3142
|
-
text: string;
|
|
3143
3219
|
type: "text";
|
|
3220
|
+
text: string;
|
|
3144
3221
|
annotations?: {
|
|
3145
3222
|
priority?: number | null | undefined;
|
|
3146
3223
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3241,10 +3318,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3241
3318
|
type: "resource_link";
|
|
3242
3319
|
name: string;
|
|
3243
3320
|
uri: string;
|
|
3244
|
-
size?: number | null | undefined;
|
|
3245
3321
|
description?: string | null | undefined;
|
|
3246
3322
|
title?: string | null | undefined;
|
|
3247
3323
|
mimeType?: string | null | undefined;
|
|
3324
|
+
size?: number | null | undefined;
|
|
3248
3325
|
annotations?: {
|
|
3249
3326
|
priority?: number | null | undefined;
|
|
3250
3327
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3254,10 +3331,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3254
3331
|
type: "resource_link";
|
|
3255
3332
|
name: string;
|
|
3256
3333
|
uri: string;
|
|
3257
|
-
size?: number | null | undefined;
|
|
3258
3334
|
description?: string | null | undefined;
|
|
3259
3335
|
title?: string | null | undefined;
|
|
3260
3336
|
mimeType?: string | null | undefined;
|
|
3337
|
+
size?: number | null | undefined;
|
|
3261
3338
|
annotations?: {
|
|
3262
3339
|
priority?: number | null | undefined;
|
|
3263
3340
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3340,8 +3417,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3340
3417
|
}, "strip", z.ZodTypeAny, {
|
|
3341
3418
|
type: "content";
|
|
3342
3419
|
content: {
|
|
3343
|
-
text: string;
|
|
3344
3420
|
type: "text";
|
|
3421
|
+
text: string;
|
|
3345
3422
|
annotations?: {
|
|
3346
3423
|
priority?: number | null | undefined;
|
|
3347
3424
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3369,10 +3446,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3369
3446
|
type: "resource_link";
|
|
3370
3447
|
name: string;
|
|
3371
3448
|
uri: string;
|
|
3372
|
-
size?: number | null | undefined;
|
|
3373
3449
|
description?: string | null | undefined;
|
|
3374
3450
|
title?: string | null | undefined;
|
|
3375
3451
|
mimeType?: string | null | undefined;
|
|
3452
|
+
size?: number | null | undefined;
|
|
3376
3453
|
annotations?: {
|
|
3377
3454
|
priority?: number | null | undefined;
|
|
3378
3455
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3398,8 +3475,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3398
3475
|
}, {
|
|
3399
3476
|
type: "content";
|
|
3400
3477
|
content: {
|
|
3401
|
-
text: string;
|
|
3402
3478
|
type: "text";
|
|
3479
|
+
text: string;
|
|
3403
3480
|
annotations?: {
|
|
3404
3481
|
priority?: number | null | undefined;
|
|
3405
3482
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3427,10 +3504,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3427
3504
|
type: "resource_link";
|
|
3428
3505
|
name: string;
|
|
3429
3506
|
uri: string;
|
|
3430
|
-
size?: number | null | undefined;
|
|
3431
3507
|
description?: string | null | undefined;
|
|
3432
3508
|
title?: string | null | undefined;
|
|
3433
3509
|
mimeType?: string | null | undefined;
|
|
3510
|
+
size?: number | null | undefined;
|
|
3434
3511
|
annotations?: {
|
|
3435
3512
|
priority?: number | null | undefined;
|
|
3436
3513
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3488,14 +3565,14 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3488
3565
|
}, "strip", z.ZodTypeAny, {
|
|
3489
3566
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
3490
3567
|
title: string;
|
|
3491
|
-
kind: "search" | "
|
|
3568
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
3492
3569
|
toolCallId: string;
|
|
3493
3570
|
sessionUpdate: "tool_call";
|
|
3494
3571
|
content?: ({
|
|
3495
3572
|
type: "content";
|
|
3496
3573
|
content: {
|
|
3497
|
-
text: string;
|
|
3498
3574
|
type: "text";
|
|
3575
|
+
text: string;
|
|
3499
3576
|
annotations?: {
|
|
3500
3577
|
priority?: number | null | undefined;
|
|
3501
3578
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3523,10 +3600,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3523
3600
|
type: "resource_link";
|
|
3524
3601
|
name: string;
|
|
3525
3602
|
uri: string;
|
|
3526
|
-
size?: number | null | undefined;
|
|
3527
3603
|
description?: string | null | undefined;
|
|
3528
3604
|
title?: string | null | undefined;
|
|
3529
3605
|
mimeType?: string | null | undefined;
|
|
3606
|
+
size?: number | null | undefined;
|
|
3530
3607
|
annotations?: {
|
|
3531
3608
|
priority?: number | null | undefined;
|
|
3532
3609
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3563,14 +3640,14 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3563
3640
|
}, {
|
|
3564
3641
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
3565
3642
|
title: string;
|
|
3566
|
-
kind: "search" | "
|
|
3643
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
3567
3644
|
toolCallId: string;
|
|
3568
3645
|
sessionUpdate: "tool_call";
|
|
3569
3646
|
content?: ({
|
|
3570
3647
|
type: "content";
|
|
3571
3648
|
content: {
|
|
3572
|
-
text: string;
|
|
3573
3649
|
type: "text";
|
|
3650
|
+
text: string;
|
|
3574
3651
|
annotations?: {
|
|
3575
3652
|
priority?: number | null | undefined;
|
|
3576
3653
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3598,10 +3675,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3598
3675
|
type: "resource_link";
|
|
3599
3676
|
name: string;
|
|
3600
3677
|
uri: string;
|
|
3601
|
-
size?: number | null | undefined;
|
|
3602
3678
|
description?: string | null | undefined;
|
|
3603
3679
|
title?: string | null | undefined;
|
|
3604
3680
|
mimeType?: string | null | undefined;
|
|
3681
|
+
size?: number | null | undefined;
|
|
3605
3682
|
annotations?: {
|
|
3606
3683
|
priority?: number | null | undefined;
|
|
3607
3684
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3654,16 +3731,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3654
3731
|
text: z.ZodString;
|
|
3655
3732
|
type: z.ZodLiteral<"text">;
|
|
3656
3733
|
}, "strip", z.ZodTypeAny, {
|
|
3657
|
-
text: string;
|
|
3658
3734
|
type: "text";
|
|
3735
|
+
text: string;
|
|
3659
3736
|
annotations?: {
|
|
3660
3737
|
priority?: number | null | undefined;
|
|
3661
3738
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
3662
3739
|
lastModified?: string | null | undefined;
|
|
3663
3740
|
} | null | undefined;
|
|
3664
3741
|
}, {
|
|
3665
|
-
text: string;
|
|
3666
3742
|
type: "text";
|
|
3743
|
+
text: string;
|
|
3667
3744
|
annotations?: {
|
|
3668
3745
|
priority?: number | null | undefined;
|
|
3669
3746
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3764,10 +3841,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3764
3841
|
type: "resource_link";
|
|
3765
3842
|
name: string;
|
|
3766
3843
|
uri: string;
|
|
3767
|
-
size?: number | null | undefined;
|
|
3768
3844
|
description?: string | null | undefined;
|
|
3769
3845
|
title?: string | null | undefined;
|
|
3770
3846
|
mimeType?: string | null | undefined;
|
|
3847
|
+
size?: number | null | undefined;
|
|
3771
3848
|
annotations?: {
|
|
3772
3849
|
priority?: number | null | undefined;
|
|
3773
3850
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3777,10 +3854,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3777
3854
|
type: "resource_link";
|
|
3778
3855
|
name: string;
|
|
3779
3856
|
uri: string;
|
|
3780
|
-
size?: number | null | undefined;
|
|
3781
3857
|
description?: string | null | undefined;
|
|
3782
3858
|
title?: string | null | undefined;
|
|
3783
3859
|
mimeType?: string | null | undefined;
|
|
3860
|
+
size?: number | null | undefined;
|
|
3784
3861
|
annotations?: {
|
|
3785
3862
|
priority?: number | null | undefined;
|
|
3786
3863
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3863,8 +3940,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3863
3940
|
}, "strip", z.ZodTypeAny, {
|
|
3864
3941
|
type: "content";
|
|
3865
3942
|
content: {
|
|
3866
|
-
text: string;
|
|
3867
3943
|
type: "text";
|
|
3944
|
+
text: string;
|
|
3868
3945
|
annotations?: {
|
|
3869
3946
|
priority?: number | null | undefined;
|
|
3870
3947
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3892,10 +3969,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3892
3969
|
type: "resource_link";
|
|
3893
3970
|
name: string;
|
|
3894
3971
|
uri: string;
|
|
3895
|
-
size?: number | null | undefined;
|
|
3896
3972
|
description?: string | null | undefined;
|
|
3897
3973
|
title?: string | null | undefined;
|
|
3898
3974
|
mimeType?: string | null | undefined;
|
|
3975
|
+
size?: number | null | undefined;
|
|
3899
3976
|
annotations?: {
|
|
3900
3977
|
priority?: number | null | undefined;
|
|
3901
3978
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3921,8 +3998,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3921
3998
|
}, {
|
|
3922
3999
|
type: "content";
|
|
3923
4000
|
content: {
|
|
3924
|
-
text: string;
|
|
3925
4001
|
type: "text";
|
|
4002
|
+
text: string;
|
|
3926
4003
|
annotations?: {
|
|
3927
4004
|
priority?: number | null | undefined;
|
|
3928
4005
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -3950,10 +4027,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3950
4027
|
type: "resource_link";
|
|
3951
4028
|
name: string;
|
|
3952
4029
|
uri: string;
|
|
3953
|
-
size?: number | null | undefined;
|
|
3954
4030
|
description?: string | null | undefined;
|
|
3955
4031
|
title?: string | null | undefined;
|
|
3956
4032
|
mimeType?: string | null | undefined;
|
|
4033
|
+
size?: number | null | undefined;
|
|
3957
4034
|
annotations?: {
|
|
3958
4035
|
priority?: number | null | undefined;
|
|
3959
4036
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4011,11 +4088,12 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4011
4088
|
}, "strip", z.ZodTypeAny, {
|
|
4012
4089
|
toolCallId: string;
|
|
4013
4090
|
sessionUpdate: "tool_call_update";
|
|
4091
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
4014
4092
|
content?: ({
|
|
4015
4093
|
type: "content";
|
|
4016
4094
|
content: {
|
|
4017
|
-
text: string;
|
|
4018
4095
|
type: "text";
|
|
4096
|
+
text: string;
|
|
4019
4097
|
annotations?: {
|
|
4020
4098
|
priority?: number | null | undefined;
|
|
4021
4099
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4043,10 +4121,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4043
4121
|
type: "resource_link";
|
|
4044
4122
|
name: string;
|
|
4045
4123
|
uri: string;
|
|
4046
|
-
size?: number | null | undefined;
|
|
4047
4124
|
description?: string | null | undefined;
|
|
4048
4125
|
title?: string | null | undefined;
|
|
4049
4126
|
mimeType?: string | null | undefined;
|
|
4127
|
+
size?: number | null | undefined;
|
|
4050
4128
|
annotations?: {
|
|
4051
4129
|
priority?: number | null | undefined;
|
|
4052
4130
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4075,9 +4153,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4075
4153
|
newText: string;
|
|
4076
4154
|
oldText: string | null;
|
|
4077
4155
|
})[] | null | undefined;
|
|
4078
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
4079
4156
|
title?: string | null | undefined;
|
|
4080
|
-
kind?: "search" | "
|
|
4157
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
4081
4158
|
locations?: {
|
|
4082
4159
|
path: string;
|
|
4083
4160
|
line?: number | null | undefined;
|
|
@@ -4086,11 +4163,12 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4086
4163
|
}, {
|
|
4087
4164
|
toolCallId: string;
|
|
4088
4165
|
sessionUpdate: "tool_call_update";
|
|
4166
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
4089
4167
|
content?: ({
|
|
4090
4168
|
type: "content";
|
|
4091
4169
|
content: {
|
|
4092
|
-
text: string;
|
|
4093
4170
|
type: "text";
|
|
4171
|
+
text: string;
|
|
4094
4172
|
annotations?: {
|
|
4095
4173
|
priority?: number | null | undefined;
|
|
4096
4174
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4118,10 +4196,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4118
4196
|
type: "resource_link";
|
|
4119
4197
|
name: string;
|
|
4120
4198
|
uri: string;
|
|
4121
|
-
size?: number | null | undefined;
|
|
4122
4199
|
description?: string | null | undefined;
|
|
4123
4200
|
title?: string | null | undefined;
|
|
4124
4201
|
mimeType?: string | null | undefined;
|
|
4202
|
+
size?: number | null | undefined;
|
|
4125
4203
|
annotations?: {
|
|
4126
4204
|
priority?: number | null | undefined;
|
|
4127
4205
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4150,9 +4228,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4150
4228
|
newText: string;
|
|
4151
4229
|
oldText: string | null;
|
|
4152
4230
|
})[] | null | undefined;
|
|
4153
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
4154
4231
|
title?: string | null | undefined;
|
|
4155
|
-
kind?: "search" | "
|
|
4232
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
4156
4233
|
locations?: {
|
|
4157
4234
|
path: string;
|
|
4158
4235
|
line?: number | null | undefined;
|
|
@@ -4164,29 +4241,72 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4164
4241
|
priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
|
|
4165
4242
|
status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
|
|
4166
4243
|
}, "strip", z.ZodTypeAny, {
|
|
4167
|
-
content: string;
|
|
4168
4244
|
status: "completed" | "pending" | "in_progress";
|
|
4245
|
+
content: string;
|
|
4169
4246
|
priority: "medium" | "high" | "low";
|
|
4170
4247
|
}, {
|
|
4171
|
-
content: string;
|
|
4172
4248
|
status: "completed" | "pending" | "in_progress";
|
|
4249
|
+
content: string;
|
|
4173
4250
|
priority: "medium" | "high" | "low";
|
|
4174
4251
|
}>, "many">;
|
|
4175
4252
|
sessionUpdate: z.ZodLiteral<"plan">;
|
|
4176
4253
|
}, "strip", z.ZodTypeAny, {
|
|
4177
4254
|
entries: {
|
|
4178
|
-
content: string;
|
|
4179
4255
|
status: "completed" | "pending" | "in_progress";
|
|
4256
|
+
content: string;
|
|
4180
4257
|
priority: "medium" | "high" | "low";
|
|
4181
4258
|
}[];
|
|
4182
4259
|
sessionUpdate: "plan";
|
|
4183
4260
|
}, {
|
|
4184
4261
|
entries: {
|
|
4185
|
-
content: string;
|
|
4186
4262
|
status: "completed" | "pending" | "in_progress";
|
|
4263
|
+
content: string;
|
|
4187
4264
|
priority: "medium" | "high" | "low";
|
|
4188
4265
|
}[];
|
|
4189
4266
|
sessionUpdate: "plan";
|
|
4267
|
+
}>, z.ZodObject<{
|
|
4268
|
+
availableCommands: z.ZodArray<z.ZodObject<{
|
|
4269
|
+
description: z.ZodString;
|
|
4270
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4271
|
+
hint: z.ZodString;
|
|
4272
|
+
}, "strip", z.ZodTypeAny, {
|
|
4273
|
+
hint: string;
|
|
4274
|
+
}, {
|
|
4275
|
+
hint: string;
|
|
4276
|
+
}>>>;
|
|
4277
|
+
name: z.ZodString;
|
|
4278
|
+
}, "strip", z.ZodTypeAny, {
|
|
4279
|
+
name: string;
|
|
4280
|
+
description: string;
|
|
4281
|
+
input?: {
|
|
4282
|
+
hint: string;
|
|
4283
|
+
} | null | undefined;
|
|
4284
|
+
}, {
|
|
4285
|
+
name: string;
|
|
4286
|
+
description: string;
|
|
4287
|
+
input?: {
|
|
4288
|
+
hint: string;
|
|
4289
|
+
} | null | undefined;
|
|
4290
|
+
}>, "many">;
|
|
4291
|
+
sessionUpdate: z.ZodLiteral<"available_commands_update">;
|
|
4292
|
+
}, "strip", z.ZodTypeAny, {
|
|
4293
|
+
sessionUpdate: "available_commands_update";
|
|
4294
|
+
availableCommands: {
|
|
4295
|
+
name: string;
|
|
4296
|
+
description: string;
|
|
4297
|
+
input?: {
|
|
4298
|
+
hint: string;
|
|
4299
|
+
} | null | undefined;
|
|
4300
|
+
}[];
|
|
4301
|
+
}, {
|
|
4302
|
+
sessionUpdate: "available_commands_update";
|
|
4303
|
+
availableCommands: {
|
|
4304
|
+
name: string;
|
|
4305
|
+
description: string;
|
|
4306
|
+
input?: {
|
|
4307
|
+
hint: string;
|
|
4308
|
+
} | null | undefined;
|
|
4309
|
+
}[];
|
|
4190
4310
|
}>]>;
|
|
4191
4311
|
export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
4192
4312
|
agentCapabilities: z.ZodObject<{
|
|
@@ -4224,13 +4344,13 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4224
4344
|
id: z.ZodString;
|
|
4225
4345
|
name: z.ZodString;
|
|
4226
4346
|
}, "strip", z.ZodTypeAny, {
|
|
4227
|
-
id: string;
|
|
4228
4347
|
name: string;
|
|
4229
4348
|
description: string | null;
|
|
4230
|
-
}, {
|
|
4231
4349
|
id: string;
|
|
4350
|
+
}, {
|
|
4232
4351
|
name: string;
|
|
4233
4352
|
description: string | null;
|
|
4353
|
+
id: string;
|
|
4234
4354
|
}>, "many">;
|
|
4235
4355
|
protocolVersion: z.ZodNumber;
|
|
4236
4356
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4243,9 +4363,9 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4243
4363
|
} | undefined;
|
|
4244
4364
|
};
|
|
4245
4365
|
authMethods: {
|
|
4246
|
-
id: string;
|
|
4247
4366
|
name: string;
|
|
4248
4367
|
description: string | null;
|
|
4368
|
+
id: string;
|
|
4249
4369
|
}[];
|
|
4250
4370
|
protocolVersion: number;
|
|
4251
4371
|
}, {
|
|
@@ -4258,9 +4378,9 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4258
4378
|
} | undefined;
|
|
4259
4379
|
};
|
|
4260
4380
|
authMethods: {
|
|
4261
|
-
id: string;
|
|
4262
4381
|
name: string;
|
|
4263
4382
|
description: string | null;
|
|
4383
|
+
id: string;
|
|
4264
4384
|
}[];
|
|
4265
4385
|
protocolVersion: number;
|
|
4266
4386
|
}>, z.ZodNull, z.ZodObject<{
|
|
@@ -4310,16 +4430,16 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4310
4430
|
text: z.ZodString;
|
|
4311
4431
|
type: z.ZodLiteral<"text">;
|
|
4312
4432
|
}, "strip", z.ZodTypeAny, {
|
|
4313
|
-
text: string;
|
|
4314
4433
|
type: "text";
|
|
4434
|
+
text: string;
|
|
4315
4435
|
annotations?: {
|
|
4316
4436
|
priority?: number | null | undefined;
|
|
4317
4437
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
4318
4438
|
lastModified?: string | null | undefined;
|
|
4319
4439
|
} | null | undefined;
|
|
4320
4440
|
}, {
|
|
4321
|
-
text: string;
|
|
4322
4441
|
type: "text";
|
|
4442
|
+
text: string;
|
|
4323
4443
|
annotations?: {
|
|
4324
4444
|
priority?: number | null | undefined;
|
|
4325
4445
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4420,10 +4540,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4420
4540
|
type: "resource_link";
|
|
4421
4541
|
name: string;
|
|
4422
4542
|
uri: string;
|
|
4423
|
-
size?: number | null | undefined;
|
|
4424
4543
|
description?: string | null | undefined;
|
|
4425
4544
|
title?: string | null | undefined;
|
|
4426
4545
|
mimeType?: string | null | undefined;
|
|
4546
|
+
size?: number | null | undefined;
|
|
4427
4547
|
annotations?: {
|
|
4428
4548
|
priority?: number | null | undefined;
|
|
4429
4549
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4433,10 +4553,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4433
4553
|
type: "resource_link";
|
|
4434
4554
|
name: string;
|
|
4435
4555
|
uri: string;
|
|
4436
|
-
size?: number | null | undefined;
|
|
4437
4556
|
description?: string | null | undefined;
|
|
4438
4557
|
title?: string | null | undefined;
|
|
4439
4558
|
mimeType?: string | null | undefined;
|
|
4559
|
+
size?: number | null | undefined;
|
|
4440
4560
|
annotations?: {
|
|
4441
4561
|
priority?: number | null | undefined;
|
|
4442
4562
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4519,8 +4639,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4519
4639
|
}, "strip", z.ZodTypeAny, {
|
|
4520
4640
|
type: "content";
|
|
4521
4641
|
content: {
|
|
4522
|
-
text: string;
|
|
4523
4642
|
type: "text";
|
|
4643
|
+
text: string;
|
|
4524
4644
|
annotations?: {
|
|
4525
4645
|
priority?: number | null | undefined;
|
|
4526
4646
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4548,10 +4668,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4548
4668
|
type: "resource_link";
|
|
4549
4669
|
name: string;
|
|
4550
4670
|
uri: string;
|
|
4551
|
-
size?: number | null | undefined;
|
|
4552
4671
|
description?: string | null | undefined;
|
|
4553
4672
|
title?: string | null | undefined;
|
|
4554
4673
|
mimeType?: string | null | undefined;
|
|
4674
|
+
size?: number | null | undefined;
|
|
4555
4675
|
annotations?: {
|
|
4556
4676
|
priority?: number | null | undefined;
|
|
4557
4677
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4577,8 +4697,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4577
4697
|
}, {
|
|
4578
4698
|
type: "content";
|
|
4579
4699
|
content: {
|
|
4580
|
-
text: string;
|
|
4581
4700
|
type: "text";
|
|
4701
|
+
text: string;
|
|
4582
4702
|
annotations?: {
|
|
4583
4703
|
priority?: number | null | undefined;
|
|
4584
4704
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4606,10 +4726,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4606
4726
|
type: "resource_link";
|
|
4607
4727
|
name: string;
|
|
4608
4728
|
uri: string;
|
|
4609
|
-
size?: number | null | undefined;
|
|
4610
4729
|
description?: string | null | undefined;
|
|
4611
4730
|
title?: string | null | undefined;
|
|
4612
4731
|
mimeType?: string | null | undefined;
|
|
4732
|
+
size?: number | null | undefined;
|
|
4613
4733
|
annotations?: {
|
|
4614
4734
|
priority?: number | null | undefined;
|
|
4615
4735
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4666,13 +4786,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4666
4786
|
}, "strip", z.ZodTypeAny, {
|
|
4667
4787
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
4668
4788
|
title: string;
|
|
4669
|
-
kind: "search" | "
|
|
4789
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
4670
4790
|
toolCallId: string;
|
|
4671
4791
|
content?: ({
|
|
4672
4792
|
type: "content";
|
|
4673
4793
|
content: {
|
|
4674
|
-
text: string;
|
|
4675
4794
|
type: "text";
|
|
4795
|
+
text: string;
|
|
4676
4796
|
annotations?: {
|
|
4677
4797
|
priority?: number | null | undefined;
|
|
4678
4798
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4700,10 +4820,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4700
4820
|
type: "resource_link";
|
|
4701
4821
|
name: string;
|
|
4702
4822
|
uri: string;
|
|
4703
|
-
size?: number | null | undefined;
|
|
4704
4823
|
description?: string | null | undefined;
|
|
4705
4824
|
title?: string | null | undefined;
|
|
4706
4825
|
mimeType?: string | null | undefined;
|
|
4826
|
+
size?: number | null | undefined;
|
|
4707
4827
|
annotations?: {
|
|
4708
4828
|
priority?: number | null | undefined;
|
|
4709
4829
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4740,13 +4860,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4740
4860
|
}, {
|
|
4741
4861
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
4742
4862
|
title: string;
|
|
4743
|
-
kind: "search" | "
|
|
4863
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
4744
4864
|
toolCallId: string;
|
|
4745
4865
|
content?: ({
|
|
4746
4866
|
type: "content";
|
|
4747
4867
|
content: {
|
|
4748
|
-
text: string;
|
|
4749
4868
|
type: "text";
|
|
4869
|
+
text: string;
|
|
4750
4870
|
annotations?: {
|
|
4751
4871
|
priority?: number | null | undefined;
|
|
4752
4872
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4774,10 +4894,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4774
4894
|
type: "resource_link";
|
|
4775
4895
|
name: string;
|
|
4776
4896
|
uri: string;
|
|
4777
|
-
size?: number | null | undefined;
|
|
4778
4897
|
description?: string | null | undefined;
|
|
4779
4898
|
title?: string | null | undefined;
|
|
4780
4899
|
mimeType?: string | null | undefined;
|
|
4900
|
+
size?: number | null | undefined;
|
|
4781
4901
|
annotations?: {
|
|
4782
4902
|
priority?: number | null | undefined;
|
|
4783
4903
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4813,22 +4933,22 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4813
4933
|
rawInput?: unknown;
|
|
4814
4934
|
}>;
|
|
4815
4935
|
}, "strip", z.ZodTypeAny, {
|
|
4816
|
-
sessionId: string;
|
|
4817
4936
|
options: {
|
|
4818
4937
|
name: string;
|
|
4819
4938
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
4820
4939
|
optionId: string;
|
|
4821
4940
|
}[];
|
|
4941
|
+
sessionId: string;
|
|
4822
4942
|
toolCall: {
|
|
4823
4943
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
4824
4944
|
title: string;
|
|
4825
|
-
kind: "search" | "
|
|
4945
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
4826
4946
|
toolCallId: string;
|
|
4827
4947
|
content?: ({
|
|
4828
4948
|
type: "content";
|
|
4829
4949
|
content: {
|
|
4830
|
-
text: string;
|
|
4831
4950
|
type: "text";
|
|
4951
|
+
text: string;
|
|
4832
4952
|
annotations?: {
|
|
4833
4953
|
priority?: number | null | undefined;
|
|
4834
4954
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4856,10 +4976,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4856
4976
|
type: "resource_link";
|
|
4857
4977
|
name: string;
|
|
4858
4978
|
uri: string;
|
|
4859
|
-
size?: number | null | undefined;
|
|
4860
4979
|
description?: string | null | undefined;
|
|
4861
4980
|
title?: string | null | undefined;
|
|
4862
4981
|
mimeType?: string | null | undefined;
|
|
4982
|
+
size?: number | null | undefined;
|
|
4863
4983
|
annotations?: {
|
|
4864
4984
|
priority?: number | null | undefined;
|
|
4865
4985
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4895,22 +5015,22 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4895
5015
|
rawInput?: unknown;
|
|
4896
5016
|
};
|
|
4897
5017
|
}, {
|
|
4898
|
-
sessionId: string;
|
|
4899
5018
|
options: {
|
|
4900
5019
|
name: string;
|
|
4901
5020
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
4902
5021
|
optionId: string;
|
|
4903
5022
|
}[];
|
|
5023
|
+
sessionId: string;
|
|
4904
5024
|
toolCall: {
|
|
4905
5025
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
4906
5026
|
title: string;
|
|
4907
|
-
kind: "search" | "
|
|
5027
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
4908
5028
|
toolCallId: string;
|
|
4909
5029
|
content?: ({
|
|
4910
5030
|
type: "content";
|
|
4911
5031
|
content: {
|
|
4912
|
-
text: string;
|
|
4913
5032
|
type: "text";
|
|
5033
|
+
text: string;
|
|
4914
5034
|
annotations?: {
|
|
4915
5035
|
priority?: number | null | undefined;
|
|
4916
5036
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -4938,10 +5058,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
|
|
|
4938
5058
|
type: "resource_link";
|
|
4939
5059
|
name: string;
|
|
4940
5060
|
uri: string;
|
|
4941
|
-
size?: number | null | undefined;
|
|
4942
5061
|
description?: string | null | undefined;
|
|
4943
5062
|
title?: string | null | undefined;
|
|
4944
5063
|
mimeType?: string | null | undefined;
|
|
5064
|
+
size?: number | null | undefined;
|
|
4945
5065
|
annotations?: {
|
|
4946
5066
|
priority?: number | null | undefined;
|
|
4947
5067
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5038,16 +5158,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5038
5158
|
text: z.ZodString;
|
|
5039
5159
|
type: z.ZodLiteral<"text">;
|
|
5040
5160
|
}, "strip", z.ZodTypeAny, {
|
|
5041
|
-
text: string;
|
|
5042
5161
|
type: "text";
|
|
5162
|
+
text: string;
|
|
5043
5163
|
annotations?: {
|
|
5044
5164
|
priority?: number | null | undefined;
|
|
5045
5165
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5046
5166
|
lastModified?: string | null | undefined;
|
|
5047
5167
|
} | null | undefined;
|
|
5048
5168
|
}, {
|
|
5049
|
-
text: string;
|
|
5050
5169
|
type: "text";
|
|
5170
|
+
text: string;
|
|
5051
5171
|
annotations?: {
|
|
5052
5172
|
priority?: number | null | undefined;
|
|
5053
5173
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5148,10 +5268,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5148
5268
|
type: "resource_link";
|
|
5149
5269
|
name: string;
|
|
5150
5270
|
uri: string;
|
|
5151
|
-
size?: number | null | undefined;
|
|
5152
5271
|
description?: string | null | undefined;
|
|
5153
5272
|
title?: string | null | undefined;
|
|
5154
5273
|
mimeType?: string | null | undefined;
|
|
5274
|
+
size?: number | null | undefined;
|
|
5155
5275
|
annotations?: {
|
|
5156
5276
|
priority?: number | null | undefined;
|
|
5157
5277
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5161,10 +5281,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5161
5281
|
type: "resource_link";
|
|
5162
5282
|
name: string;
|
|
5163
5283
|
uri: string;
|
|
5164
|
-
size?: number | null | undefined;
|
|
5165
5284
|
description?: string | null | undefined;
|
|
5166
5285
|
title?: string | null | undefined;
|
|
5167
5286
|
mimeType?: string | null | undefined;
|
|
5287
|
+
size?: number | null | undefined;
|
|
5168
5288
|
annotations?: {
|
|
5169
5289
|
priority?: number | null | undefined;
|
|
5170
5290
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5246,8 +5366,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5246
5366
|
sessionUpdate: z.ZodLiteral<"user_message_chunk">;
|
|
5247
5367
|
}, "strip", z.ZodTypeAny, {
|
|
5248
5368
|
content: {
|
|
5249
|
-
text: string;
|
|
5250
5369
|
type: "text";
|
|
5370
|
+
text: string;
|
|
5251
5371
|
annotations?: {
|
|
5252
5372
|
priority?: number | null | undefined;
|
|
5253
5373
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5275,10 +5395,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5275
5395
|
type: "resource_link";
|
|
5276
5396
|
name: string;
|
|
5277
5397
|
uri: string;
|
|
5278
|
-
size?: number | null | undefined;
|
|
5279
5398
|
description?: string | null | undefined;
|
|
5280
5399
|
title?: string | null | undefined;
|
|
5281
5400
|
mimeType?: string | null | undefined;
|
|
5401
|
+
size?: number | null | undefined;
|
|
5282
5402
|
annotations?: {
|
|
5283
5403
|
priority?: number | null | undefined;
|
|
5284
5404
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5304,8 +5424,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5304
5424
|
sessionUpdate: "user_message_chunk";
|
|
5305
5425
|
}, {
|
|
5306
5426
|
content: {
|
|
5307
|
-
text: string;
|
|
5308
5427
|
type: "text";
|
|
5428
|
+
text: string;
|
|
5309
5429
|
annotations?: {
|
|
5310
5430
|
priority?: number | null | undefined;
|
|
5311
5431
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5333,10 +5453,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5333
5453
|
type: "resource_link";
|
|
5334
5454
|
name: string;
|
|
5335
5455
|
uri: string;
|
|
5336
|
-
size?: number | null | undefined;
|
|
5337
5456
|
description?: string | null | undefined;
|
|
5338
5457
|
title?: string | null | undefined;
|
|
5339
5458
|
mimeType?: string | null | undefined;
|
|
5459
|
+
size?: number | null | undefined;
|
|
5340
5460
|
annotations?: {
|
|
5341
5461
|
priority?: number | null | undefined;
|
|
5342
5462
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5378,16 +5498,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5378
5498
|
text: z.ZodString;
|
|
5379
5499
|
type: z.ZodLiteral<"text">;
|
|
5380
5500
|
}, "strip", z.ZodTypeAny, {
|
|
5381
|
-
text: string;
|
|
5382
5501
|
type: "text";
|
|
5502
|
+
text: string;
|
|
5383
5503
|
annotations?: {
|
|
5384
5504
|
priority?: number | null | undefined;
|
|
5385
5505
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5386
5506
|
lastModified?: string | null | undefined;
|
|
5387
5507
|
} | null | undefined;
|
|
5388
5508
|
}, {
|
|
5389
|
-
text: string;
|
|
5390
5509
|
type: "text";
|
|
5510
|
+
text: string;
|
|
5391
5511
|
annotations?: {
|
|
5392
5512
|
priority?: number | null | undefined;
|
|
5393
5513
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5488,10 +5608,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5488
5608
|
type: "resource_link";
|
|
5489
5609
|
name: string;
|
|
5490
5610
|
uri: string;
|
|
5491
|
-
size?: number | null | undefined;
|
|
5492
5611
|
description?: string | null | undefined;
|
|
5493
5612
|
title?: string | null | undefined;
|
|
5494
5613
|
mimeType?: string | null | undefined;
|
|
5614
|
+
size?: number | null | undefined;
|
|
5495
5615
|
annotations?: {
|
|
5496
5616
|
priority?: number | null | undefined;
|
|
5497
5617
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5501,10 +5621,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5501
5621
|
type: "resource_link";
|
|
5502
5622
|
name: string;
|
|
5503
5623
|
uri: string;
|
|
5504
|
-
size?: number | null | undefined;
|
|
5505
5624
|
description?: string | null | undefined;
|
|
5506
5625
|
title?: string | null | undefined;
|
|
5507
5626
|
mimeType?: string | null | undefined;
|
|
5627
|
+
size?: number | null | undefined;
|
|
5508
5628
|
annotations?: {
|
|
5509
5629
|
priority?: number | null | undefined;
|
|
5510
5630
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5586,8 +5706,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5586
5706
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
5587
5707
|
}, "strip", z.ZodTypeAny, {
|
|
5588
5708
|
content: {
|
|
5589
|
-
text: string;
|
|
5590
5709
|
type: "text";
|
|
5710
|
+
text: string;
|
|
5591
5711
|
annotations?: {
|
|
5592
5712
|
priority?: number | null | undefined;
|
|
5593
5713
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5615,10 +5735,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5615
5735
|
type: "resource_link";
|
|
5616
5736
|
name: string;
|
|
5617
5737
|
uri: string;
|
|
5618
|
-
size?: number | null | undefined;
|
|
5619
5738
|
description?: string | null | undefined;
|
|
5620
5739
|
title?: string | null | undefined;
|
|
5621
5740
|
mimeType?: string | null | undefined;
|
|
5741
|
+
size?: number | null | undefined;
|
|
5622
5742
|
annotations?: {
|
|
5623
5743
|
priority?: number | null | undefined;
|
|
5624
5744
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5644,8 +5764,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5644
5764
|
sessionUpdate: "agent_message_chunk";
|
|
5645
5765
|
}, {
|
|
5646
5766
|
content: {
|
|
5647
|
-
text: string;
|
|
5648
5767
|
type: "text";
|
|
5768
|
+
text: string;
|
|
5649
5769
|
annotations?: {
|
|
5650
5770
|
priority?: number | null | undefined;
|
|
5651
5771
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5673,10 +5793,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5673
5793
|
type: "resource_link";
|
|
5674
5794
|
name: string;
|
|
5675
5795
|
uri: string;
|
|
5676
|
-
size?: number | null | undefined;
|
|
5677
5796
|
description?: string | null | undefined;
|
|
5678
5797
|
title?: string | null | undefined;
|
|
5679
5798
|
mimeType?: string | null | undefined;
|
|
5799
|
+
size?: number | null | undefined;
|
|
5680
5800
|
annotations?: {
|
|
5681
5801
|
priority?: number | null | undefined;
|
|
5682
5802
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5718,16 +5838,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5718
5838
|
text: z.ZodString;
|
|
5719
5839
|
type: z.ZodLiteral<"text">;
|
|
5720
5840
|
}, "strip", z.ZodTypeAny, {
|
|
5721
|
-
text: string;
|
|
5722
5841
|
type: "text";
|
|
5842
|
+
text: string;
|
|
5723
5843
|
annotations?: {
|
|
5724
5844
|
priority?: number | null | undefined;
|
|
5725
5845
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
5726
5846
|
lastModified?: string | null | undefined;
|
|
5727
5847
|
} | null | undefined;
|
|
5728
5848
|
}, {
|
|
5729
|
-
text: string;
|
|
5730
5849
|
type: "text";
|
|
5850
|
+
text: string;
|
|
5731
5851
|
annotations?: {
|
|
5732
5852
|
priority?: number | null | undefined;
|
|
5733
5853
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5828,10 +5948,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5828
5948
|
type: "resource_link";
|
|
5829
5949
|
name: string;
|
|
5830
5950
|
uri: string;
|
|
5831
|
-
size?: number | null | undefined;
|
|
5832
5951
|
description?: string | null | undefined;
|
|
5833
5952
|
title?: string | null | undefined;
|
|
5834
5953
|
mimeType?: string | null | undefined;
|
|
5954
|
+
size?: number | null | undefined;
|
|
5835
5955
|
annotations?: {
|
|
5836
5956
|
priority?: number | null | undefined;
|
|
5837
5957
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5841,10 +5961,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5841
5961
|
type: "resource_link";
|
|
5842
5962
|
name: string;
|
|
5843
5963
|
uri: string;
|
|
5844
|
-
size?: number | null | undefined;
|
|
5845
5964
|
description?: string | null | undefined;
|
|
5846
5965
|
title?: string | null | undefined;
|
|
5847
5966
|
mimeType?: string | null | undefined;
|
|
5967
|
+
size?: number | null | undefined;
|
|
5848
5968
|
annotations?: {
|
|
5849
5969
|
priority?: number | null | undefined;
|
|
5850
5970
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5926,8 +6046,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5926
6046
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
5927
6047
|
}, "strip", z.ZodTypeAny, {
|
|
5928
6048
|
content: {
|
|
5929
|
-
text: string;
|
|
5930
6049
|
type: "text";
|
|
6050
|
+
text: string;
|
|
5931
6051
|
annotations?: {
|
|
5932
6052
|
priority?: number | null | undefined;
|
|
5933
6053
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5955,10 +6075,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5955
6075
|
type: "resource_link";
|
|
5956
6076
|
name: string;
|
|
5957
6077
|
uri: string;
|
|
5958
|
-
size?: number | null | undefined;
|
|
5959
6078
|
description?: string | null | undefined;
|
|
5960
6079
|
title?: string | null | undefined;
|
|
5961
6080
|
mimeType?: string | null | undefined;
|
|
6081
|
+
size?: number | null | undefined;
|
|
5962
6082
|
annotations?: {
|
|
5963
6083
|
priority?: number | null | undefined;
|
|
5964
6084
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -5984,8 +6104,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
5984
6104
|
sessionUpdate: "agent_thought_chunk";
|
|
5985
6105
|
}, {
|
|
5986
6106
|
content: {
|
|
5987
|
-
text: string;
|
|
5988
6107
|
type: "text";
|
|
6108
|
+
text: string;
|
|
5989
6109
|
annotations?: {
|
|
5990
6110
|
priority?: number | null | undefined;
|
|
5991
6111
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6013,10 +6133,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6013
6133
|
type: "resource_link";
|
|
6014
6134
|
name: string;
|
|
6015
6135
|
uri: string;
|
|
6016
|
-
size?: number | null | undefined;
|
|
6017
6136
|
description?: string | null | undefined;
|
|
6018
6137
|
title?: string | null | undefined;
|
|
6019
6138
|
mimeType?: string | null | undefined;
|
|
6139
|
+
size?: number | null | undefined;
|
|
6020
6140
|
annotations?: {
|
|
6021
6141
|
priority?: number | null | undefined;
|
|
6022
6142
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6059,16 +6179,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6059
6179
|
text: z.ZodString;
|
|
6060
6180
|
type: z.ZodLiteral<"text">;
|
|
6061
6181
|
}, "strip", z.ZodTypeAny, {
|
|
6062
|
-
text: string;
|
|
6063
6182
|
type: "text";
|
|
6183
|
+
text: string;
|
|
6064
6184
|
annotations?: {
|
|
6065
6185
|
priority?: number | null | undefined;
|
|
6066
6186
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6067
6187
|
lastModified?: string | null | undefined;
|
|
6068
6188
|
} | null | undefined;
|
|
6069
6189
|
}, {
|
|
6070
|
-
text: string;
|
|
6071
6190
|
type: "text";
|
|
6191
|
+
text: string;
|
|
6072
6192
|
annotations?: {
|
|
6073
6193
|
priority?: number | null | undefined;
|
|
6074
6194
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6169,10 +6289,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6169
6289
|
type: "resource_link";
|
|
6170
6290
|
name: string;
|
|
6171
6291
|
uri: string;
|
|
6172
|
-
size?: number | null | undefined;
|
|
6173
6292
|
description?: string | null | undefined;
|
|
6174
6293
|
title?: string | null | undefined;
|
|
6175
6294
|
mimeType?: string | null | undefined;
|
|
6295
|
+
size?: number | null | undefined;
|
|
6176
6296
|
annotations?: {
|
|
6177
6297
|
priority?: number | null | undefined;
|
|
6178
6298
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6182,10 +6302,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6182
6302
|
type: "resource_link";
|
|
6183
6303
|
name: string;
|
|
6184
6304
|
uri: string;
|
|
6185
|
-
size?: number | null | undefined;
|
|
6186
6305
|
description?: string | null | undefined;
|
|
6187
6306
|
title?: string | null | undefined;
|
|
6188
6307
|
mimeType?: string | null | undefined;
|
|
6308
|
+
size?: number | null | undefined;
|
|
6189
6309
|
annotations?: {
|
|
6190
6310
|
priority?: number | null | undefined;
|
|
6191
6311
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6268,8 +6388,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6268
6388
|
}, "strip", z.ZodTypeAny, {
|
|
6269
6389
|
type: "content";
|
|
6270
6390
|
content: {
|
|
6271
|
-
text: string;
|
|
6272
6391
|
type: "text";
|
|
6392
|
+
text: string;
|
|
6273
6393
|
annotations?: {
|
|
6274
6394
|
priority?: number | null | undefined;
|
|
6275
6395
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6297,10 +6417,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6297
6417
|
type: "resource_link";
|
|
6298
6418
|
name: string;
|
|
6299
6419
|
uri: string;
|
|
6300
|
-
size?: number | null | undefined;
|
|
6301
6420
|
description?: string | null | undefined;
|
|
6302
6421
|
title?: string | null | undefined;
|
|
6303
6422
|
mimeType?: string | null | undefined;
|
|
6423
|
+
size?: number | null | undefined;
|
|
6304
6424
|
annotations?: {
|
|
6305
6425
|
priority?: number | null | undefined;
|
|
6306
6426
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6326,8 +6446,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6326
6446
|
}, {
|
|
6327
6447
|
type: "content";
|
|
6328
6448
|
content: {
|
|
6329
|
-
text: string;
|
|
6330
6449
|
type: "text";
|
|
6450
|
+
text: string;
|
|
6331
6451
|
annotations?: {
|
|
6332
6452
|
priority?: number | null | undefined;
|
|
6333
6453
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6355,10 +6475,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6355
6475
|
type: "resource_link";
|
|
6356
6476
|
name: string;
|
|
6357
6477
|
uri: string;
|
|
6358
|
-
size?: number | null | undefined;
|
|
6359
6478
|
description?: string | null | undefined;
|
|
6360
6479
|
title?: string | null | undefined;
|
|
6361
6480
|
mimeType?: string | null | undefined;
|
|
6481
|
+
size?: number | null | undefined;
|
|
6362
6482
|
annotations?: {
|
|
6363
6483
|
priority?: number | null | undefined;
|
|
6364
6484
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6416,14 +6536,14 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6416
6536
|
}, "strip", z.ZodTypeAny, {
|
|
6417
6537
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
6418
6538
|
title: string;
|
|
6419
|
-
kind: "search" | "
|
|
6539
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
6420
6540
|
toolCallId: string;
|
|
6421
6541
|
sessionUpdate: "tool_call";
|
|
6422
6542
|
content?: ({
|
|
6423
6543
|
type: "content";
|
|
6424
6544
|
content: {
|
|
6425
|
-
text: string;
|
|
6426
6545
|
type: "text";
|
|
6546
|
+
text: string;
|
|
6427
6547
|
annotations?: {
|
|
6428
6548
|
priority?: number | null | undefined;
|
|
6429
6549
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6451,10 +6571,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6451
6571
|
type: "resource_link";
|
|
6452
6572
|
name: string;
|
|
6453
6573
|
uri: string;
|
|
6454
|
-
size?: number | null | undefined;
|
|
6455
6574
|
description?: string | null | undefined;
|
|
6456
6575
|
title?: string | null | undefined;
|
|
6457
6576
|
mimeType?: string | null | undefined;
|
|
6577
|
+
size?: number | null | undefined;
|
|
6458
6578
|
annotations?: {
|
|
6459
6579
|
priority?: number | null | undefined;
|
|
6460
6580
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6491,14 +6611,14 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6491
6611
|
}, {
|
|
6492
6612
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
6493
6613
|
title: string;
|
|
6494
|
-
kind: "search" | "
|
|
6614
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
6495
6615
|
toolCallId: string;
|
|
6496
6616
|
sessionUpdate: "tool_call";
|
|
6497
6617
|
content?: ({
|
|
6498
6618
|
type: "content";
|
|
6499
6619
|
content: {
|
|
6500
|
-
text: string;
|
|
6501
6620
|
type: "text";
|
|
6621
|
+
text: string;
|
|
6502
6622
|
annotations?: {
|
|
6503
6623
|
priority?: number | null | undefined;
|
|
6504
6624
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6526,10 +6646,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6526
6646
|
type: "resource_link";
|
|
6527
6647
|
name: string;
|
|
6528
6648
|
uri: string;
|
|
6529
|
-
size?: number | null | undefined;
|
|
6530
6649
|
description?: string | null | undefined;
|
|
6531
6650
|
title?: string | null | undefined;
|
|
6532
6651
|
mimeType?: string | null | undefined;
|
|
6652
|
+
size?: number | null | undefined;
|
|
6533
6653
|
annotations?: {
|
|
6534
6654
|
priority?: number | null | undefined;
|
|
6535
6655
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6582,16 +6702,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6582
6702
|
text: z.ZodString;
|
|
6583
6703
|
type: z.ZodLiteral<"text">;
|
|
6584
6704
|
}, "strip", z.ZodTypeAny, {
|
|
6585
|
-
text: string;
|
|
6586
6705
|
type: "text";
|
|
6706
|
+
text: string;
|
|
6587
6707
|
annotations?: {
|
|
6588
6708
|
priority?: number | null | undefined;
|
|
6589
6709
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
6590
6710
|
lastModified?: string | null | undefined;
|
|
6591
6711
|
} | null | undefined;
|
|
6592
6712
|
}, {
|
|
6593
|
-
text: string;
|
|
6594
6713
|
type: "text";
|
|
6714
|
+
text: string;
|
|
6595
6715
|
annotations?: {
|
|
6596
6716
|
priority?: number | null | undefined;
|
|
6597
6717
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6692,10 +6812,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6692
6812
|
type: "resource_link";
|
|
6693
6813
|
name: string;
|
|
6694
6814
|
uri: string;
|
|
6695
|
-
size?: number | null | undefined;
|
|
6696
6815
|
description?: string | null | undefined;
|
|
6697
6816
|
title?: string | null | undefined;
|
|
6698
6817
|
mimeType?: string | null | undefined;
|
|
6818
|
+
size?: number | null | undefined;
|
|
6699
6819
|
annotations?: {
|
|
6700
6820
|
priority?: number | null | undefined;
|
|
6701
6821
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6705,10 +6825,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6705
6825
|
type: "resource_link";
|
|
6706
6826
|
name: string;
|
|
6707
6827
|
uri: string;
|
|
6708
|
-
size?: number | null | undefined;
|
|
6709
6828
|
description?: string | null | undefined;
|
|
6710
6829
|
title?: string | null | undefined;
|
|
6711
6830
|
mimeType?: string | null | undefined;
|
|
6831
|
+
size?: number | null | undefined;
|
|
6712
6832
|
annotations?: {
|
|
6713
6833
|
priority?: number | null | undefined;
|
|
6714
6834
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6791,8 +6911,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6791
6911
|
}, "strip", z.ZodTypeAny, {
|
|
6792
6912
|
type: "content";
|
|
6793
6913
|
content: {
|
|
6794
|
-
text: string;
|
|
6795
6914
|
type: "text";
|
|
6915
|
+
text: string;
|
|
6796
6916
|
annotations?: {
|
|
6797
6917
|
priority?: number | null | undefined;
|
|
6798
6918
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6820,10 +6940,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6820
6940
|
type: "resource_link";
|
|
6821
6941
|
name: string;
|
|
6822
6942
|
uri: string;
|
|
6823
|
-
size?: number | null | undefined;
|
|
6824
6943
|
description?: string | null | undefined;
|
|
6825
6944
|
title?: string | null | undefined;
|
|
6826
6945
|
mimeType?: string | null | undefined;
|
|
6946
|
+
size?: number | null | undefined;
|
|
6827
6947
|
annotations?: {
|
|
6828
6948
|
priority?: number | null | undefined;
|
|
6829
6949
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6849,8 +6969,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6849
6969
|
}, {
|
|
6850
6970
|
type: "content";
|
|
6851
6971
|
content: {
|
|
6852
|
-
text: string;
|
|
6853
6972
|
type: "text";
|
|
6973
|
+
text: string;
|
|
6854
6974
|
annotations?: {
|
|
6855
6975
|
priority?: number | null | undefined;
|
|
6856
6976
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6878,10 +6998,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6878
6998
|
type: "resource_link";
|
|
6879
6999
|
name: string;
|
|
6880
7000
|
uri: string;
|
|
6881
|
-
size?: number | null | undefined;
|
|
6882
7001
|
description?: string | null | undefined;
|
|
6883
7002
|
title?: string | null | undefined;
|
|
6884
7003
|
mimeType?: string | null | undefined;
|
|
7004
|
+
size?: number | null | undefined;
|
|
6885
7005
|
annotations?: {
|
|
6886
7006
|
priority?: number | null | undefined;
|
|
6887
7007
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6939,11 +7059,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6939
7059
|
}, "strip", z.ZodTypeAny, {
|
|
6940
7060
|
toolCallId: string;
|
|
6941
7061
|
sessionUpdate: "tool_call_update";
|
|
7062
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
6942
7063
|
content?: ({
|
|
6943
7064
|
type: "content";
|
|
6944
7065
|
content: {
|
|
6945
|
-
text: string;
|
|
6946
7066
|
type: "text";
|
|
7067
|
+
text: string;
|
|
6947
7068
|
annotations?: {
|
|
6948
7069
|
priority?: number | null | undefined;
|
|
6949
7070
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -6971,10 +7092,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
6971
7092
|
type: "resource_link";
|
|
6972
7093
|
name: string;
|
|
6973
7094
|
uri: string;
|
|
6974
|
-
size?: number | null | undefined;
|
|
6975
7095
|
description?: string | null | undefined;
|
|
6976
7096
|
title?: string | null | undefined;
|
|
6977
7097
|
mimeType?: string | null | undefined;
|
|
7098
|
+
size?: number | null | undefined;
|
|
6978
7099
|
annotations?: {
|
|
6979
7100
|
priority?: number | null | undefined;
|
|
6980
7101
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7003,9 +7124,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7003
7124
|
newText: string;
|
|
7004
7125
|
oldText: string | null;
|
|
7005
7126
|
})[] | null | undefined;
|
|
7006
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7007
7127
|
title?: string | null | undefined;
|
|
7008
|
-
kind?: "search" | "
|
|
7128
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7009
7129
|
locations?: {
|
|
7010
7130
|
path: string;
|
|
7011
7131
|
line?: number | null | undefined;
|
|
@@ -7014,11 +7134,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7014
7134
|
}, {
|
|
7015
7135
|
toolCallId: string;
|
|
7016
7136
|
sessionUpdate: "tool_call_update";
|
|
7137
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7017
7138
|
content?: ({
|
|
7018
7139
|
type: "content";
|
|
7019
7140
|
content: {
|
|
7020
|
-
text: string;
|
|
7021
7141
|
type: "text";
|
|
7142
|
+
text: string;
|
|
7022
7143
|
annotations?: {
|
|
7023
7144
|
priority?: number | null | undefined;
|
|
7024
7145
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7046,10 +7167,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7046
7167
|
type: "resource_link";
|
|
7047
7168
|
name: string;
|
|
7048
7169
|
uri: string;
|
|
7049
|
-
size?: number | null | undefined;
|
|
7050
7170
|
description?: string | null | undefined;
|
|
7051
7171
|
title?: string | null | undefined;
|
|
7052
7172
|
mimeType?: string | null | undefined;
|
|
7173
|
+
size?: number | null | undefined;
|
|
7053
7174
|
annotations?: {
|
|
7054
7175
|
priority?: number | null | undefined;
|
|
7055
7176
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7078,9 +7199,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7078
7199
|
newText: string;
|
|
7079
7200
|
oldText: string | null;
|
|
7080
7201
|
})[] | null | undefined;
|
|
7081
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7082
7202
|
title?: string | null | undefined;
|
|
7083
|
-
kind?: "search" | "
|
|
7203
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7084
7204
|
locations?: {
|
|
7085
7205
|
path: string;
|
|
7086
7206
|
line?: number | null | undefined;
|
|
@@ -7092,36 +7212,79 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7092
7212
|
priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
|
|
7093
7213
|
status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
|
|
7094
7214
|
}, "strip", z.ZodTypeAny, {
|
|
7095
|
-
content: string;
|
|
7096
7215
|
status: "completed" | "pending" | "in_progress";
|
|
7216
|
+
content: string;
|
|
7097
7217
|
priority: "medium" | "high" | "low";
|
|
7098
7218
|
}, {
|
|
7099
|
-
content: string;
|
|
7100
7219
|
status: "completed" | "pending" | "in_progress";
|
|
7220
|
+
content: string;
|
|
7101
7221
|
priority: "medium" | "high" | "low";
|
|
7102
7222
|
}>, "many">;
|
|
7103
7223
|
sessionUpdate: z.ZodLiteral<"plan">;
|
|
7104
7224
|
}, "strip", z.ZodTypeAny, {
|
|
7105
7225
|
entries: {
|
|
7106
|
-
content: string;
|
|
7107
7226
|
status: "completed" | "pending" | "in_progress";
|
|
7227
|
+
content: string;
|
|
7108
7228
|
priority: "medium" | "high" | "low";
|
|
7109
7229
|
}[];
|
|
7110
7230
|
sessionUpdate: "plan";
|
|
7111
7231
|
}, {
|
|
7112
7232
|
entries: {
|
|
7113
|
-
content: string;
|
|
7114
7233
|
status: "completed" | "pending" | "in_progress";
|
|
7234
|
+
content: string;
|
|
7115
7235
|
priority: "medium" | "high" | "low";
|
|
7116
7236
|
}[];
|
|
7117
7237
|
sessionUpdate: "plan";
|
|
7238
|
+
}>, z.ZodObject<{
|
|
7239
|
+
availableCommands: z.ZodArray<z.ZodObject<{
|
|
7240
|
+
description: z.ZodString;
|
|
7241
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7242
|
+
hint: z.ZodString;
|
|
7243
|
+
}, "strip", z.ZodTypeAny, {
|
|
7244
|
+
hint: string;
|
|
7245
|
+
}, {
|
|
7246
|
+
hint: string;
|
|
7247
|
+
}>>>;
|
|
7248
|
+
name: z.ZodString;
|
|
7249
|
+
}, "strip", z.ZodTypeAny, {
|
|
7250
|
+
name: string;
|
|
7251
|
+
description: string;
|
|
7252
|
+
input?: {
|
|
7253
|
+
hint: string;
|
|
7254
|
+
} | null | undefined;
|
|
7255
|
+
}, {
|
|
7256
|
+
name: string;
|
|
7257
|
+
description: string;
|
|
7258
|
+
input?: {
|
|
7259
|
+
hint: string;
|
|
7260
|
+
} | null | undefined;
|
|
7261
|
+
}>, "many">;
|
|
7262
|
+
sessionUpdate: z.ZodLiteral<"available_commands_update">;
|
|
7263
|
+
}, "strip", z.ZodTypeAny, {
|
|
7264
|
+
sessionUpdate: "available_commands_update";
|
|
7265
|
+
availableCommands: {
|
|
7266
|
+
name: string;
|
|
7267
|
+
description: string;
|
|
7268
|
+
input?: {
|
|
7269
|
+
hint: string;
|
|
7270
|
+
} | null | undefined;
|
|
7271
|
+
}[];
|
|
7272
|
+
}, {
|
|
7273
|
+
sessionUpdate: "available_commands_update";
|
|
7274
|
+
availableCommands: {
|
|
7275
|
+
name: string;
|
|
7276
|
+
description: string;
|
|
7277
|
+
input?: {
|
|
7278
|
+
hint: string;
|
|
7279
|
+
} | null | undefined;
|
|
7280
|
+
}[];
|
|
7118
7281
|
}>]>;
|
|
7119
7282
|
}, "strip", z.ZodTypeAny, {
|
|
7120
7283
|
sessionId: string;
|
|
7121
7284
|
update: {
|
|
7122
7285
|
content: {
|
|
7123
|
-
text: string;
|
|
7124
7286
|
type: "text";
|
|
7287
|
+
text: string;
|
|
7125
7288
|
annotations?: {
|
|
7126
7289
|
priority?: number | null | undefined;
|
|
7127
7290
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7149,10 +7312,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7149
7312
|
type: "resource_link";
|
|
7150
7313
|
name: string;
|
|
7151
7314
|
uri: string;
|
|
7152
|
-
size?: number | null | undefined;
|
|
7153
7315
|
description?: string | null | undefined;
|
|
7154
7316
|
title?: string | null | undefined;
|
|
7155
7317
|
mimeType?: string | null | undefined;
|
|
7318
|
+
size?: number | null | undefined;
|
|
7156
7319
|
annotations?: {
|
|
7157
7320
|
priority?: number | null | undefined;
|
|
7158
7321
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7178,8 +7341,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7178
7341
|
sessionUpdate: "user_message_chunk";
|
|
7179
7342
|
} | {
|
|
7180
7343
|
content: {
|
|
7181
|
-
text: string;
|
|
7182
7344
|
type: "text";
|
|
7345
|
+
text: string;
|
|
7183
7346
|
annotations?: {
|
|
7184
7347
|
priority?: number | null | undefined;
|
|
7185
7348
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7207,10 +7370,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7207
7370
|
type: "resource_link";
|
|
7208
7371
|
name: string;
|
|
7209
7372
|
uri: string;
|
|
7210
|
-
size?: number | null | undefined;
|
|
7211
7373
|
description?: string | null | undefined;
|
|
7212
7374
|
title?: string | null | undefined;
|
|
7213
7375
|
mimeType?: string | null | undefined;
|
|
7376
|
+
size?: number | null | undefined;
|
|
7214
7377
|
annotations?: {
|
|
7215
7378
|
priority?: number | null | undefined;
|
|
7216
7379
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7236,8 +7399,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7236
7399
|
sessionUpdate: "agent_message_chunk";
|
|
7237
7400
|
} | {
|
|
7238
7401
|
content: {
|
|
7239
|
-
text: string;
|
|
7240
7402
|
type: "text";
|
|
7403
|
+
text: string;
|
|
7241
7404
|
annotations?: {
|
|
7242
7405
|
priority?: number | null | undefined;
|
|
7243
7406
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7265,10 +7428,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7265
7428
|
type: "resource_link";
|
|
7266
7429
|
name: string;
|
|
7267
7430
|
uri: string;
|
|
7268
|
-
size?: number | null | undefined;
|
|
7269
7431
|
description?: string | null | undefined;
|
|
7270
7432
|
title?: string | null | undefined;
|
|
7271
7433
|
mimeType?: string | null | undefined;
|
|
7434
|
+
size?: number | null | undefined;
|
|
7272
7435
|
annotations?: {
|
|
7273
7436
|
priority?: number | null | undefined;
|
|
7274
7437
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7295,14 +7458,14 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7295
7458
|
} | {
|
|
7296
7459
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
7297
7460
|
title: string;
|
|
7298
|
-
kind: "search" | "
|
|
7461
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
7299
7462
|
toolCallId: string;
|
|
7300
7463
|
sessionUpdate: "tool_call";
|
|
7301
7464
|
content?: ({
|
|
7302
7465
|
type: "content";
|
|
7303
7466
|
content: {
|
|
7304
|
-
text: string;
|
|
7305
7467
|
type: "text";
|
|
7468
|
+
text: string;
|
|
7306
7469
|
annotations?: {
|
|
7307
7470
|
priority?: number | null | undefined;
|
|
7308
7471
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7330,10 +7493,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7330
7493
|
type: "resource_link";
|
|
7331
7494
|
name: string;
|
|
7332
7495
|
uri: string;
|
|
7333
|
-
size?: number | null | undefined;
|
|
7334
7496
|
description?: string | null | undefined;
|
|
7335
7497
|
title?: string | null | undefined;
|
|
7336
7498
|
mimeType?: string | null | undefined;
|
|
7499
|
+
size?: number | null | undefined;
|
|
7337
7500
|
annotations?: {
|
|
7338
7501
|
priority?: number | null | undefined;
|
|
7339
7502
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7370,11 +7533,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7370
7533
|
} | {
|
|
7371
7534
|
toolCallId: string;
|
|
7372
7535
|
sessionUpdate: "tool_call_update";
|
|
7536
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7373
7537
|
content?: ({
|
|
7374
7538
|
type: "content";
|
|
7375
7539
|
content: {
|
|
7376
|
-
text: string;
|
|
7377
7540
|
type: "text";
|
|
7541
|
+
text: string;
|
|
7378
7542
|
annotations?: {
|
|
7379
7543
|
priority?: number | null | undefined;
|
|
7380
7544
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7402,10 +7566,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7402
7566
|
type: "resource_link";
|
|
7403
7567
|
name: string;
|
|
7404
7568
|
uri: string;
|
|
7405
|
-
size?: number | null | undefined;
|
|
7406
7569
|
description?: string | null | undefined;
|
|
7407
7570
|
title?: string | null | undefined;
|
|
7408
7571
|
mimeType?: string | null | undefined;
|
|
7572
|
+
size?: number | null | undefined;
|
|
7409
7573
|
annotations?: {
|
|
7410
7574
|
priority?: number | null | undefined;
|
|
7411
7575
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7434,9 +7598,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7434
7598
|
newText: string;
|
|
7435
7599
|
oldText: string | null;
|
|
7436
7600
|
})[] | null | undefined;
|
|
7437
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7438
7601
|
title?: string | null | undefined;
|
|
7439
|
-
kind?: "search" | "
|
|
7602
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7440
7603
|
locations?: {
|
|
7441
7604
|
path: string;
|
|
7442
7605
|
line?: number | null | undefined;
|
|
@@ -7444,18 +7607,27 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7444
7607
|
rawInput?: unknown;
|
|
7445
7608
|
} | {
|
|
7446
7609
|
entries: {
|
|
7447
|
-
content: string;
|
|
7448
7610
|
status: "completed" | "pending" | "in_progress";
|
|
7611
|
+
content: string;
|
|
7449
7612
|
priority: "medium" | "high" | "low";
|
|
7450
7613
|
}[];
|
|
7451
7614
|
sessionUpdate: "plan";
|
|
7615
|
+
} | {
|
|
7616
|
+
sessionUpdate: "available_commands_update";
|
|
7617
|
+
availableCommands: {
|
|
7618
|
+
name: string;
|
|
7619
|
+
description: string;
|
|
7620
|
+
input?: {
|
|
7621
|
+
hint: string;
|
|
7622
|
+
} | null | undefined;
|
|
7623
|
+
}[];
|
|
7452
7624
|
};
|
|
7453
7625
|
}, {
|
|
7454
7626
|
sessionId: string;
|
|
7455
7627
|
update: {
|
|
7456
7628
|
content: {
|
|
7457
|
-
text: string;
|
|
7458
7629
|
type: "text";
|
|
7630
|
+
text: string;
|
|
7459
7631
|
annotations?: {
|
|
7460
7632
|
priority?: number | null | undefined;
|
|
7461
7633
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7483,10 +7655,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7483
7655
|
type: "resource_link";
|
|
7484
7656
|
name: string;
|
|
7485
7657
|
uri: string;
|
|
7486
|
-
size?: number | null | undefined;
|
|
7487
7658
|
description?: string | null | undefined;
|
|
7488
7659
|
title?: string | null | undefined;
|
|
7489
7660
|
mimeType?: string | null | undefined;
|
|
7661
|
+
size?: number | null | undefined;
|
|
7490
7662
|
annotations?: {
|
|
7491
7663
|
priority?: number | null | undefined;
|
|
7492
7664
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7512,8 +7684,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7512
7684
|
sessionUpdate: "user_message_chunk";
|
|
7513
7685
|
} | {
|
|
7514
7686
|
content: {
|
|
7515
|
-
text: string;
|
|
7516
7687
|
type: "text";
|
|
7688
|
+
text: string;
|
|
7517
7689
|
annotations?: {
|
|
7518
7690
|
priority?: number | null | undefined;
|
|
7519
7691
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7541,10 +7713,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7541
7713
|
type: "resource_link";
|
|
7542
7714
|
name: string;
|
|
7543
7715
|
uri: string;
|
|
7544
|
-
size?: number | null | undefined;
|
|
7545
7716
|
description?: string | null | undefined;
|
|
7546
7717
|
title?: string | null | undefined;
|
|
7547
7718
|
mimeType?: string | null | undefined;
|
|
7719
|
+
size?: number | null | undefined;
|
|
7548
7720
|
annotations?: {
|
|
7549
7721
|
priority?: number | null | undefined;
|
|
7550
7722
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7570,8 +7742,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7570
7742
|
sessionUpdate: "agent_message_chunk";
|
|
7571
7743
|
} | {
|
|
7572
7744
|
content: {
|
|
7573
|
-
text: string;
|
|
7574
7745
|
type: "text";
|
|
7746
|
+
text: string;
|
|
7575
7747
|
annotations?: {
|
|
7576
7748
|
priority?: number | null | undefined;
|
|
7577
7749
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7599,10 +7771,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7599
7771
|
type: "resource_link";
|
|
7600
7772
|
name: string;
|
|
7601
7773
|
uri: string;
|
|
7602
|
-
size?: number | null | undefined;
|
|
7603
7774
|
description?: string | null | undefined;
|
|
7604
7775
|
title?: string | null | undefined;
|
|
7605
7776
|
mimeType?: string | null | undefined;
|
|
7777
|
+
size?: number | null | undefined;
|
|
7606
7778
|
annotations?: {
|
|
7607
7779
|
priority?: number | null | undefined;
|
|
7608
7780
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7629,14 +7801,14 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7629
7801
|
} | {
|
|
7630
7802
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
7631
7803
|
title: string;
|
|
7632
|
-
kind: "search" | "
|
|
7804
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
7633
7805
|
toolCallId: string;
|
|
7634
7806
|
sessionUpdate: "tool_call";
|
|
7635
7807
|
content?: ({
|
|
7636
7808
|
type: "content";
|
|
7637
7809
|
content: {
|
|
7638
|
-
text: string;
|
|
7639
7810
|
type: "text";
|
|
7811
|
+
text: string;
|
|
7640
7812
|
annotations?: {
|
|
7641
7813
|
priority?: number | null | undefined;
|
|
7642
7814
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7664,10 +7836,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7664
7836
|
type: "resource_link";
|
|
7665
7837
|
name: string;
|
|
7666
7838
|
uri: string;
|
|
7667
|
-
size?: number | null | undefined;
|
|
7668
7839
|
description?: string | null | undefined;
|
|
7669
7840
|
title?: string | null | undefined;
|
|
7670
7841
|
mimeType?: string | null | undefined;
|
|
7842
|
+
size?: number | null | undefined;
|
|
7671
7843
|
annotations?: {
|
|
7672
7844
|
priority?: number | null | undefined;
|
|
7673
7845
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7704,11 +7876,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7704
7876
|
} | {
|
|
7705
7877
|
toolCallId: string;
|
|
7706
7878
|
sessionUpdate: "tool_call_update";
|
|
7879
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7707
7880
|
content?: ({
|
|
7708
7881
|
type: "content";
|
|
7709
7882
|
content: {
|
|
7710
|
-
text: string;
|
|
7711
7883
|
type: "text";
|
|
7884
|
+
text: string;
|
|
7712
7885
|
annotations?: {
|
|
7713
7886
|
priority?: number | null | undefined;
|
|
7714
7887
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7736,10 +7909,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7736
7909
|
type: "resource_link";
|
|
7737
7910
|
name: string;
|
|
7738
7911
|
uri: string;
|
|
7739
|
-
size?: number | null | undefined;
|
|
7740
7912
|
description?: string | null | undefined;
|
|
7741
7913
|
title?: string | null | undefined;
|
|
7742
7914
|
mimeType?: string | null | undefined;
|
|
7915
|
+
size?: number | null | undefined;
|
|
7743
7916
|
annotations?: {
|
|
7744
7917
|
priority?: number | null | undefined;
|
|
7745
7918
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7768,9 +7941,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7768
7941
|
newText: string;
|
|
7769
7942
|
oldText: string | null;
|
|
7770
7943
|
})[] | null | undefined;
|
|
7771
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
7772
7944
|
title?: string | null | undefined;
|
|
7773
|
-
kind?: "search" | "
|
|
7945
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
7774
7946
|
locations?: {
|
|
7775
7947
|
path: string;
|
|
7776
7948
|
line?: number | null | undefined;
|
|
@@ -7778,11 +7950,20 @@ export declare const sessionNotificationSchema: z.ZodObject<{
|
|
|
7778
7950
|
rawInput?: unknown;
|
|
7779
7951
|
} | {
|
|
7780
7952
|
entries: {
|
|
7781
|
-
content: string;
|
|
7782
7953
|
status: "completed" | "pending" | "in_progress";
|
|
7954
|
+
content: string;
|
|
7783
7955
|
priority: "medium" | "high" | "low";
|
|
7784
7956
|
}[];
|
|
7785
7957
|
sessionUpdate: "plan";
|
|
7958
|
+
} | {
|
|
7959
|
+
sessionUpdate: "available_commands_update";
|
|
7960
|
+
availableCommands: {
|
|
7961
|
+
name: string;
|
|
7962
|
+
description: string;
|
|
7963
|
+
input?: {
|
|
7964
|
+
hint: string;
|
|
7965
|
+
} | null | undefined;
|
|
7966
|
+
}[];
|
|
7786
7967
|
};
|
|
7787
7968
|
}>;
|
|
7788
7969
|
export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
@@ -7790,26 +7971,26 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7790
7971
|
path: z.ZodString;
|
|
7791
7972
|
sessionId: z.ZodString;
|
|
7792
7973
|
}, "strip", z.ZodTypeAny, {
|
|
7793
|
-
sessionId: string;
|
|
7794
|
-
content: string;
|
|
7795
7974
|
path: string;
|
|
7796
|
-
}, {
|
|
7797
|
-
sessionId: string;
|
|
7798
7975
|
content: string;
|
|
7976
|
+
sessionId: string;
|
|
7977
|
+
}, {
|
|
7799
7978
|
path: string;
|
|
7979
|
+
content: string;
|
|
7980
|
+
sessionId: string;
|
|
7800
7981
|
}>, z.ZodObject<{
|
|
7801
7982
|
limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7802
7983
|
line: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7803
7984
|
path: z.ZodString;
|
|
7804
7985
|
sessionId: z.ZodString;
|
|
7805
7986
|
}, "strip", z.ZodTypeAny, {
|
|
7806
|
-
sessionId: string;
|
|
7807
7987
|
path: string;
|
|
7988
|
+
sessionId: string;
|
|
7808
7989
|
line?: number | null | undefined;
|
|
7809
7990
|
limit?: number | null | undefined;
|
|
7810
7991
|
}, {
|
|
7811
|
-
sessionId: string;
|
|
7812
7992
|
path: string;
|
|
7993
|
+
sessionId: string;
|
|
7813
7994
|
line?: number | null | undefined;
|
|
7814
7995
|
limit?: number | null | undefined;
|
|
7815
7996
|
}>, z.ZodObject<{
|
|
@@ -7846,16 +8027,16 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7846
8027
|
text: z.ZodString;
|
|
7847
8028
|
type: z.ZodLiteral<"text">;
|
|
7848
8029
|
}, "strip", z.ZodTypeAny, {
|
|
7849
|
-
text: string;
|
|
7850
8030
|
type: "text";
|
|
8031
|
+
text: string;
|
|
7851
8032
|
annotations?: {
|
|
7852
8033
|
priority?: number | null | undefined;
|
|
7853
8034
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
7854
8035
|
lastModified?: string | null | undefined;
|
|
7855
8036
|
} | null | undefined;
|
|
7856
8037
|
}, {
|
|
7857
|
-
text: string;
|
|
7858
8038
|
type: "text";
|
|
8039
|
+
text: string;
|
|
7859
8040
|
annotations?: {
|
|
7860
8041
|
priority?: number | null | undefined;
|
|
7861
8042
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7956,10 +8137,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7956
8137
|
type: "resource_link";
|
|
7957
8138
|
name: string;
|
|
7958
8139
|
uri: string;
|
|
7959
|
-
size?: number | null | undefined;
|
|
7960
8140
|
description?: string | null | undefined;
|
|
7961
8141
|
title?: string | null | undefined;
|
|
7962
8142
|
mimeType?: string | null | undefined;
|
|
8143
|
+
size?: number | null | undefined;
|
|
7963
8144
|
annotations?: {
|
|
7964
8145
|
priority?: number | null | undefined;
|
|
7965
8146
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -7969,10 +8150,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7969
8150
|
type: "resource_link";
|
|
7970
8151
|
name: string;
|
|
7971
8152
|
uri: string;
|
|
7972
|
-
size?: number | null | undefined;
|
|
7973
8153
|
description?: string | null | undefined;
|
|
7974
8154
|
title?: string | null | undefined;
|
|
7975
8155
|
mimeType?: string | null | undefined;
|
|
8156
|
+
size?: number | null | undefined;
|
|
7976
8157
|
annotations?: {
|
|
7977
8158
|
priority?: number | null | undefined;
|
|
7978
8159
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8055,8 +8236,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8055
8236
|
}, "strip", z.ZodTypeAny, {
|
|
8056
8237
|
type: "content";
|
|
8057
8238
|
content: {
|
|
8058
|
-
text: string;
|
|
8059
8239
|
type: "text";
|
|
8240
|
+
text: string;
|
|
8060
8241
|
annotations?: {
|
|
8061
8242
|
priority?: number | null | undefined;
|
|
8062
8243
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8084,10 +8265,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8084
8265
|
type: "resource_link";
|
|
8085
8266
|
name: string;
|
|
8086
8267
|
uri: string;
|
|
8087
|
-
size?: number | null | undefined;
|
|
8088
8268
|
description?: string | null | undefined;
|
|
8089
8269
|
title?: string | null | undefined;
|
|
8090
8270
|
mimeType?: string | null | undefined;
|
|
8271
|
+
size?: number | null | undefined;
|
|
8091
8272
|
annotations?: {
|
|
8092
8273
|
priority?: number | null | undefined;
|
|
8093
8274
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8113,8 +8294,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8113
8294
|
}, {
|
|
8114
8295
|
type: "content";
|
|
8115
8296
|
content: {
|
|
8116
|
-
text: string;
|
|
8117
8297
|
type: "text";
|
|
8298
|
+
text: string;
|
|
8118
8299
|
annotations?: {
|
|
8119
8300
|
priority?: number | null | undefined;
|
|
8120
8301
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8142,10 +8323,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8142
8323
|
type: "resource_link";
|
|
8143
8324
|
name: string;
|
|
8144
8325
|
uri: string;
|
|
8145
|
-
size?: number | null | undefined;
|
|
8146
8326
|
description?: string | null | undefined;
|
|
8147
8327
|
title?: string | null | undefined;
|
|
8148
8328
|
mimeType?: string | null | undefined;
|
|
8329
|
+
size?: number | null | undefined;
|
|
8149
8330
|
annotations?: {
|
|
8150
8331
|
priority?: number | null | undefined;
|
|
8151
8332
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8202,13 +8383,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8202
8383
|
}, "strip", z.ZodTypeAny, {
|
|
8203
8384
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
8204
8385
|
title: string;
|
|
8205
|
-
kind: "search" | "
|
|
8386
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
8206
8387
|
toolCallId: string;
|
|
8207
8388
|
content?: ({
|
|
8208
8389
|
type: "content";
|
|
8209
8390
|
content: {
|
|
8210
|
-
text: string;
|
|
8211
8391
|
type: "text";
|
|
8392
|
+
text: string;
|
|
8212
8393
|
annotations?: {
|
|
8213
8394
|
priority?: number | null | undefined;
|
|
8214
8395
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8236,10 +8417,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8236
8417
|
type: "resource_link";
|
|
8237
8418
|
name: string;
|
|
8238
8419
|
uri: string;
|
|
8239
|
-
size?: number | null | undefined;
|
|
8240
8420
|
description?: string | null | undefined;
|
|
8241
8421
|
title?: string | null | undefined;
|
|
8242
8422
|
mimeType?: string | null | undefined;
|
|
8423
|
+
size?: number | null | undefined;
|
|
8243
8424
|
annotations?: {
|
|
8244
8425
|
priority?: number | null | undefined;
|
|
8245
8426
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8276,13 +8457,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8276
8457
|
}, {
|
|
8277
8458
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
8278
8459
|
title: string;
|
|
8279
|
-
kind: "search" | "
|
|
8460
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
8280
8461
|
toolCallId: string;
|
|
8281
8462
|
content?: ({
|
|
8282
8463
|
type: "content";
|
|
8283
8464
|
content: {
|
|
8284
|
-
text: string;
|
|
8285
8465
|
type: "text";
|
|
8466
|
+
text: string;
|
|
8286
8467
|
annotations?: {
|
|
8287
8468
|
priority?: number | null | undefined;
|
|
8288
8469
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8310,10 +8491,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8310
8491
|
type: "resource_link";
|
|
8311
8492
|
name: string;
|
|
8312
8493
|
uri: string;
|
|
8313
|
-
size?: number | null | undefined;
|
|
8314
8494
|
description?: string | null | undefined;
|
|
8315
8495
|
title?: string | null | undefined;
|
|
8316
8496
|
mimeType?: string | null | undefined;
|
|
8497
|
+
size?: number | null | undefined;
|
|
8317
8498
|
annotations?: {
|
|
8318
8499
|
priority?: number | null | undefined;
|
|
8319
8500
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8349,22 +8530,22 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8349
8530
|
rawInput?: unknown;
|
|
8350
8531
|
}>;
|
|
8351
8532
|
}, "strip", z.ZodTypeAny, {
|
|
8352
|
-
sessionId: string;
|
|
8353
8533
|
options: {
|
|
8354
8534
|
name: string;
|
|
8355
8535
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
8356
8536
|
optionId: string;
|
|
8357
8537
|
}[];
|
|
8538
|
+
sessionId: string;
|
|
8358
8539
|
toolCall: {
|
|
8359
8540
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
8360
8541
|
title: string;
|
|
8361
|
-
kind: "search" | "
|
|
8542
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
8362
8543
|
toolCallId: string;
|
|
8363
8544
|
content?: ({
|
|
8364
8545
|
type: "content";
|
|
8365
8546
|
content: {
|
|
8366
|
-
text: string;
|
|
8367
8547
|
type: "text";
|
|
8548
|
+
text: string;
|
|
8368
8549
|
annotations?: {
|
|
8369
8550
|
priority?: number | null | undefined;
|
|
8370
8551
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8392,10 +8573,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8392
8573
|
type: "resource_link";
|
|
8393
8574
|
name: string;
|
|
8394
8575
|
uri: string;
|
|
8395
|
-
size?: number | null | undefined;
|
|
8396
8576
|
description?: string | null | undefined;
|
|
8397
8577
|
title?: string | null | undefined;
|
|
8398
8578
|
mimeType?: string | null | undefined;
|
|
8579
|
+
size?: number | null | undefined;
|
|
8399
8580
|
annotations?: {
|
|
8400
8581
|
priority?: number | null | undefined;
|
|
8401
8582
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8431,22 +8612,22 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8431
8612
|
rawInput?: unknown;
|
|
8432
8613
|
};
|
|
8433
8614
|
}, {
|
|
8434
|
-
sessionId: string;
|
|
8435
8615
|
options: {
|
|
8436
8616
|
name: string;
|
|
8437
8617
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
8438
8618
|
optionId: string;
|
|
8439
8619
|
}[];
|
|
8620
|
+
sessionId: string;
|
|
8440
8621
|
toolCall: {
|
|
8441
8622
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
8442
8623
|
title: string;
|
|
8443
|
-
kind: "search" | "
|
|
8624
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
8444
8625
|
toolCallId: string;
|
|
8445
8626
|
content?: ({
|
|
8446
8627
|
type: "content";
|
|
8447
8628
|
content: {
|
|
8448
|
-
text: string;
|
|
8449
8629
|
type: "text";
|
|
8630
|
+
text: string;
|
|
8450
8631
|
annotations?: {
|
|
8451
8632
|
priority?: number | null | undefined;
|
|
8452
8633
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8474,10 +8655,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8474
8655
|
type: "resource_link";
|
|
8475
8656
|
name: string;
|
|
8476
8657
|
uri: string;
|
|
8477
|
-
size?: number | null | undefined;
|
|
8478
8658
|
description?: string | null | undefined;
|
|
8479
8659
|
title?: string | null | undefined;
|
|
8480
8660
|
mimeType?: string | null | undefined;
|
|
8661
|
+
size?: number | null | undefined;
|
|
8481
8662
|
annotations?: {
|
|
8482
8663
|
priority?: number | null | undefined;
|
|
8483
8664
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8577,41 +8758,41 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8577
8758
|
name: z.ZodString;
|
|
8578
8759
|
}, "strip", z.ZodTypeAny, {
|
|
8579
8760
|
name: string;
|
|
8761
|
+
command: string;
|
|
8580
8762
|
args: string[];
|
|
8581
8763
|
env: {
|
|
8582
8764
|
name: string;
|
|
8583
8765
|
value: string;
|
|
8584
8766
|
}[];
|
|
8585
|
-
command: string;
|
|
8586
8767
|
}, {
|
|
8587
8768
|
name: string;
|
|
8769
|
+
command: string;
|
|
8588
8770
|
args: string[];
|
|
8589
8771
|
env: {
|
|
8590
8772
|
name: string;
|
|
8591
8773
|
value: string;
|
|
8592
8774
|
}[];
|
|
8593
|
-
command: string;
|
|
8594
8775
|
}>, "many">;
|
|
8595
8776
|
}, "strip", z.ZodTypeAny, {
|
|
8596
8777
|
mcpServers: {
|
|
8597
8778
|
name: string;
|
|
8779
|
+
command: string;
|
|
8598
8780
|
args: string[];
|
|
8599
8781
|
env: {
|
|
8600
8782
|
name: string;
|
|
8601
8783
|
value: string;
|
|
8602
8784
|
}[];
|
|
8603
|
-
command: string;
|
|
8604
8785
|
}[];
|
|
8605
8786
|
cwd: string;
|
|
8606
8787
|
}, {
|
|
8607
8788
|
mcpServers: {
|
|
8608
8789
|
name: string;
|
|
8790
|
+
command: string;
|
|
8609
8791
|
args: string[];
|
|
8610
8792
|
env: {
|
|
8611
8793
|
name: string;
|
|
8612
8794
|
value: string;
|
|
8613
8795
|
}[];
|
|
8614
|
-
command: string;
|
|
8615
8796
|
}[];
|
|
8616
8797
|
cwd: string;
|
|
8617
8798
|
}>, z.ZodObject<{
|
|
@@ -8632,46 +8813,46 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8632
8813
|
name: z.ZodString;
|
|
8633
8814
|
}, "strip", z.ZodTypeAny, {
|
|
8634
8815
|
name: string;
|
|
8816
|
+
command: string;
|
|
8635
8817
|
args: string[];
|
|
8636
8818
|
env: {
|
|
8637
8819
|
name: string;
|
|
8638
8820
|
value: string;
|
|
8639
8821
|
}[];
|
|
8640
|
-
command: string;
|
|
8641
8822
|
}, {
|
|
8642
8823
|
name: string;
|
|
8824
|
+
command: string;
|
|
8643
8825
|
args: string[];
|
|
8644
8826
|
env: {
|
|
8645
8827
|
name: string;
|
|
8646
8828
|
value: string;
|
|
8647
8829
|
}[];
|
|
8648
|
-
command: string;
|
|
8649
8830
|
}>, "many">;
|
|
8650
8831
|
sessionId: z.ZodString;
|
|
8651
8832
|
}, "strip", z.ZodTypeAny, {
|
|
8652
8833
|
mcpServers: {
|
|
8653
8834
|
name: string;
|
|
8835
|
+
command: string;
|
|
8654
8836
|
args: string[];
|
|
8655
8837
|
env: {
|
|
8656
8838
|
name: string;
|
|
8657
8839
|
value: string;
|
|
8658
8840
|
}[];
|
|
8659
|
-
command: string;
|
|
8660
8841
|
}[];
|
|
8661
|
-
sessionId: string;
|
|
8662
8842
|
cwd: string;
|
|
8843
|
+
sessionId: string;
|
|
8663
8844
|
}, {
|
|
8664
8845
|
mcpServers: {
|
|
8665
8846
|
name: string;
|
|
8847
|
+
command: string;
|
|
8666
8848
|
args: string[];
|
|
8667
8849
|
env: {
|
|
8668
8850
|
name: string;
|
|
8669
8851
|
value: string;
|
|
8670
8852
|
}[];
|
|
8671
|
-
command: string;
|
|
8672
8853
|
}[];
|
|
8673
|
-
sessionId: string;
|
|
8674
8854
|
cwd: string;
|
|
8855
|
+
sessionId: string;
|
|
8675
8856
|
}>, z.ZodObject<{
|
|
8676
8857
|
prompt: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8677
8858
|
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -8690,16 +8871,16 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8690
8871
|
text: z.ZodString;
|
|
8691
8872
|
type: z.ZodLiteral<"text">;
|
|
8692
8873
|
}, "strip", z.ZodTypeAny, {
|
|
8693
|
-
text: string;
|
|
8694
8874
|
type: "text";
|
|
8875
|
+
text: string;
|
|
8695
8876
|
annotations?: {
|
|
8696
8877
|
priority?: number | null | undefined;
|
|
8697
8878
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
8698
8879
|
lastModified?: string | null | undefined;
|
|
8699
8880
|
} | null | undefined;
|
|
8700
8881
|
}, {
|
|
8701
|
-
text: string;
|
|
8702
8882
|
type: "text";
|
|
8883
|
+
text: string;
|
|
8703
8884
|
annotations?: {
|
|
8704
8885
|
priority?: number | null | undefined;
|
|
8705
8886
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8800,10 +8981,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8800
8981
|
type: "resource_link";
|
|
8801
8982
|
name: string;
|
|
8802
8983
|
uri: string;
|
|
8803
|
-
size?: number | null | undefined;
|
|
8804
8984
|
description?: string | null | undefined;
|
|
8805
8985
|
title?: string | null | undefined;
|
|
8806
8986
|
mimeType?: string | null | undefined;
|
|
8987
|
+
size?: number | null | undefined;
|
|
8807
8988
|
annotations?: {
|
|
8808
8989
|
priority?: number | null | undefined;
|
|
8809
8990
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8813,10 +8994,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8813
8994
|
type: "resource_link";
|
|
8814
8995
|
name: string;
|
|
8815
8996
|
uri: string;
|
|
8816
|
-
size?: number | null | undefined;
|
|
8817
8997
|
description?: string | null | undefined;
|
|
8818
8998
|
title?: string | null | undefined;
|
|
8819
8999
|
mimeType?: string | null | undefined;
|
|
9000
|
+
size?: number | null | undefined;
|
|
8820
9001
|
annotations?: {
|
|
8821
9002
|
priority?: number | null | undefined;
|
|
8822
9003
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8897,10 +9078,9 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8897
9078
|
}>]>, "many">;
|
|
8898
9079
|
sessionId: z.ZodString;
|
|
8899
9080
|
}, "strip", z.ZodTypeAny, {
|
|
8900
|
-
sessionId: string;
|
|
8901
9081
|
prompt: ({
|
|
8902
|
-
text: string;
|
|
8903
9082
|
type: "text";
|
|
9083
|
+
text: string;
|
|
8904
9084
|
annotations?: {
|
|
8905
9085
|
priority?: number | null | undefined;
|
|
8906
9086
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8928,10 +9108,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8928
9108
|
type: "resource_link";
|
|
8929
9109
|
name: string;
|
|
8930
9110
|
uri: string;
|
|
8931
|
-
size?: number | null | undefined;
|
|
8932
9111
|
description?: string | null | undefined;
|
|
8933
9112
|
title?: string | null | undefined;
|
|
8934
9113
|
mimeType?: string | null | undefined;
|
|
9114
|
+
size?: number | null | undefined;
|
|
8935
9115
|
annotations?: {
|
|
8936
9116
|
priority?: number | null | undefined;
|
|
8937
9117
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8954,11 +9134,11 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8954
9134
|
lastModified?: string | null | undefined;
|
|
8955
9135
|
} | null | undefined;
|
|
8956
9136
|
})[];
|
|
8957
|
-
}, {
|
|
8958
9137
|
sessionId: string;
|
|
9138
|
+
}, {
|
|
8959
9139
|
prompt: ({
|
|
8960
|
-
text: string;
|
|
8961
9140
|
type: "text";
|
|
9141
|
+
text: string;
|
|
8962
9142
|
annotations?: {
|
|
8963
9143
|
priority?: number | null | undefined;
|
|
8964
9144
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -8986,10 +9166,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8986
9166
|
type: "resource_link";
|
|
8987
9167
|
name: string;
|
|
8988
9168
|
uri: string;
|
|
8989
|
-
size?: number | null | undefined;
|
|
8990
9169
|
description?: string | null | undefined;
|
|
8991
9170
|
title?: string | null | undefined;
|
|
8992
9171
|
mimeType?: string | null | undefined;
|
|
9172
|
+
size?: number | null | undefined;
|
|
8993
9173
|
annotations?: {
|
|
8994
9174
|
priority?: number | null | undefined;
|
|
8995
9175
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9012,6 +9192,7 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
9012
9192
|
lastModified?: string | null | undefined;
|
|
9013
9193
|
} | null | undefined;
|
|
9014
9194
|
})[];
|
|
9195
|
+
sessionId: string;
|
|
9015
9196
|
}>]>;
|
|
9016
9197
|
export declare const agentNotificationSchema: z.ZodObject<{
|
|
9017
9198
|
sessionId: z.ZodString;
|
|
@@ -9033,16 +9214,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9033
9214
|
text: z.ZodString;
|
|
9034
9215
|
type: z.ZodLiteral<"text">;
|
|
9035
9216
|
}, "strip", z.ZodTypeAny, {
|
|
9036
|
-
text: string;
|
|
9037
9217
|
type: "text";
|
|
9218
|
+
text: string;
|
|
9038
9219
|
annotations?: {
|
|
9039
9220
|
priority?: number | null | undefined;
|
|
9040
9221
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9041
9222
|
lastModified?: string | null | undefined;
|
|
9042
9223
|
} | null | undefined;
|
|
9043
9224
|
}, {
|
|
9044
|
-
text: string;
|
|
9045
9225
|
type: "text";
|
|
9226
|
+
text: string;
|
|
9046
9227
|
annotations?: {
|
|
9047
9228
|
priority?: number | null | undefined;
|
|
9048
9229
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9143,10 +9324,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9143
9324
|
type: "resource_link";
|
|
9144
9325
|
name: string;
|
|
9145
9326
|
uri: string;
|
|
9146
|
-
size?: number | null | undefined;
|
|
9147
9327
|
description?: string | null | undefined;
|
|
9148
9328
|
title?: string | null | undefined;
|
|
9149
9329
|
mimeType?: string | null | undefined;
|
|
9330
|
+
size?: number | null | undefined;
|
|
9150
9331
|
annotations?: {
|
|
9151
9332
|
priority?: number | null | undefined;
|
|
9152
9333
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9156,10 +9337,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9156
9337
|
type: "resource_link";
|
|
9157
9338
|
name: string;
|
|
9158
9339
|
uri: string;
|
|
9159
|
-
size?: number | null | undefined;
|
|
9160
9340
|
description?: string | null | undefined;
|
|
9161
9341
|
title?: string | null | undefined;
|
|
9162
9342
|
mimeType?: string | null | undefined;
|
|
9343
|
+
size?: number | null | undefined;
|
|
9163
9344
|
annotations?: {
|
|
9164
9345
|
priority?: number | null | undefined;
|
|
9165
9346
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9241,8 +9422,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9241
9422
|
sessionUpdate: z.ZodLiteral<"user_message_chunk">;
|
|
9242
9423
|
}, "strip", z.ZodTypeAny, {
|
|
9243
9424
|
content: {
|
|
9244
|
-
text: string;
|
|
9245
9425
|
type: "text";
|
|
9426
|
+
text: string;
|
|
9246
9427
|
annotations?: {
|
|
9247
9428
|
priority?: number | null | undefined;
|
|
9248
9429
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9270,10 +9451,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9270
9451
|
type: "resource_link";
|
|
9271
9452
|
name: string;
|
|
9272
9453
|
uri: string;
|
|
9273
|
-
size?: number | null | undefined;
|
|
9274
9454
|
description?: string | null | undefined;
|
|
9275
9455
|
title?: string | null | undefined;
|
|
9276
9456
|
mimeType?: string | null | undefined;
|
|
9457
|
+
size?: number | null | undefined;
|
|
9277
9458
|
annotations?: {
|
|
9278
9459
|
priority?: number | null | undefined;
|
|
9279
9460
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9299,8 +9480,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9299
9480
|
sessionUpdate: "user_message_chunk";
|
|
9300
9481
|
}, {
|
|
9301
9482
|
content: {
|
|
9302
|
-
text: string;
|
|
9303
9483
|
type: "text";
|
|
9484
|
+
text: string;
|
|
9304
9485
|
annotations?: {
|
|
9305
9486
|
priority?: number | null | undefined;
|
|
9306
9487
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9328,10 +9509,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9328
9509
|
type: "resource_link";
|
|
9329
9510
|
name: string;
|
|
9330
9511
|
uri: string;
|
|
9331
|
-
size?: number | null | undefined;
|
|
9332
9512
|
description?: string | null | undefined;
|
|
9333
9513
|
title?: string | null | undefined;
|
|
9334
9514
|
mimeType?: string | null | undefined;
|
|
9515
|
+
size?: number | null | undefined;
|
|
9335
9516
|
annotations?: {
|
|
9336
9517
|
priority?: number | null | undefined;
|
|
9337
9518
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9373,16 +9554,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9373
9554
|
text: z.ZodString;
|
|
9374
9555
|
type: z.ZodLiteral<"text">;
|
|
9375
9556
|
}, "strip", z.ZodTypeAny, {
|
|
9376
|
-
text: string;
|
|
9377
9557
|
type: "text";
|
|
9558
|
+
text: string;
|
|
9378
9559
|
annotations?: {
|
|
9379
9560
|
priority?: number | null | undefined;
|
|
9380
9561
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9381
9562
|
lastModified?: string | null | undefined;
|
|
9382
9563
|
} | null | undefined;
|
|
9383
9564
|
}, {
|
|
9384
|
-
text: string;
|
|
9385
9565
|
type: "text";
|
|
9566
|
+
text: string;
|
|
9386
9567
|
annotations?: {
|
|
9387
9568
|
priority?: number | null | undefined;
|
|
9388
9569
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9483,10 +9664,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9483
9664
|
type: "resource_link";
|
|
9484
9665
|
name: string;
|
|
9485
9666
|
uri: string;
|
|
9486
|
-
size?: number | null | undefined;
|
|
9487
9667
|
description?: string | null | undefined;
|
|
9488
9668
|
title?: string | null | undefined;
|
|
9489
9669
|
mimeType?: string | null | undefined;
|
|
9670
|
+
size?: number | null | undefined;
|
|
9490
9671
|
annotations?: {
|
|
9491
9672
|
priority?: number | null | undefined;
|
|
9492
9673
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9496,10 +9677,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9496
9677
|
type: "resource_link";
|
|
9497
9678
|
name: string;
|
|
9498
9679
|
uri: string;
|
|
9499
|
-
size?: number | null | undefined;
|
|
9500
9680
|
description?: string | null | undefined;
|
|
9501
9681
|
title?: string | null | undefined;
|
|
9502
9682
|
mimeType?: string | null | undefined;
|
|
9683
|
+
size?: number | null | undefined;
|
|
9503
9684
|
annotations?: {
|
|
9504
9685
|
priority?: number | null | undefined;
|
|
9505
9686
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9581,8 +9762,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9581
9762
|
sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
|
|
9582
9763
|
}, "strip", z.ZodTypeAny, {
|
|
9583
9764
|
content: {
|
|
9584
|
-
text: string;
|
|
9585
9765
|
type: "text";
|
|
9766
|
+
text: string;
|
|
9586
9767
|
annotations?: {
|
|
9587
9768
|
priority?: number | null | undefined;
|
|
9588
9769
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9610,10 +9791,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9610
9791
|
type: "resource_link";
|
|
9611
9792
|
name: string;
|
|
9612
9793
|
uri: string;
|
|
9613
|
-
size?: number | null | undefined;
|
|
9614
9794
|
description?: string | null | undefined;
|
|
9615
9795
|
title?: string | null | undefined;
|
|
9616
9796
|
mimeType?: string | null | undefined;
|
|
9797
|
+
size?: number | null | undefined;
|
|
9617
9798
|
annotations?: {
|
|
9618
9799
|
priority?: number | null | undefined;
|
|
9619
9800
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9639,8 +9820,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9639
9820
|
sessionUpdate: "agent_message_chunk";
|
|
9640
9821
|
}, {
|
|
9641
9822
|
content: {
|
|
9642
|
-
text: string;
|
|
9643
9823
|
type: "text";
|
|
9824
|
+
text: string;
|
|
9644
9825
|
annotations?: {
|
|
9645
9826
|
priority?: number | null | undefined;
|
|
9646
9827
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9668,10 +9849,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9668
9849
|
type: "resource_link";
|
|
9669
9850
|
name: string;
|
|
9670
9851
|
uri: string;
|
|
9671
|
-
size?: number | null | undefined;
|
|
9672
9852
|
description?: string | null | undefined;
|
|
9673
9853
|
title?: string | null | undefined;
|
|
9674
9854
|
mimeType?: string | null | undefined;
|
|
9855
|
+
size?: number | null | undefined;
|
|
9675
9856
|
annotations?: {
|
|
9676
9857
|
priority?: number | null | undefined;
|
|
9677
9858
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9713,16 +9894,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9713
9894
|
text: z.ZodString;
|
|
9714
9895
|
type: z.ZodLiteral<"text">;
|
|
9715
9896
|
}, "strip", z.ZodTypeAny, {
|
|
9716
|
-
text: string;
|
|
9717
9897
|
type: "text";
|
|
9898
|
+
text: string;
|
|
9718
9899
|
annotations?: {
|
|
9719
9900
|
priority?: number | null | undefined;
|
|
9720
9901
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
9721
9902
|
lastModified?: string | null | undefined;
|
|
9722
9903
|
} | null | undefined;
|
|
9723
9904
|
}, {
|
|
9724
|
-
text: string;
|
|
9725
9905
|
type: "text";
|
|
9906
|
+
text: string;
|
|
9726
9907
|
annotations?: {
|
|
9727
9908
|
priority?: number | null | undefined;
|
|
9728
9909
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9823,10 +10004,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9823
10004
|
type: "resource_link";
|
|
9824
10005
|
name: string;
|
|
9825
10006
|
uri: string;
|
|
9826
|
-
size?: number | null | undefined;
|
|
9827
10007
|
description?: string | null | undefined;
|
|
9828
10008
|
title?: string | null | undefined;
|
|
9829
10009
|
mimeType?: string | null | undefined;
|
|
10010
|
+
size?: number | null | undefined;
|
|
9830
10011
|
annotations?: {
|
|
9831
10012
|
priority?: number | null | undefined;
|
|
9832
10013
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9836,10 +10017,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9836
10017
|
type: "resource_link";
|
|
9837
10018
|
name: string;
|
|
9838
10019
|
uri: string;
|
|
9839
|
-
size?: number | null | undefined;
|
|
9840
10020
|
description?: string | null | undefined;
|
|
9841
10021
|
title?: string | null | undefined;
|
|
9842
10022
|
mimeType?: string | null | undefined;
|
|
10023
|
+
size?: number | null | undefined;
|
|
9843
10024
|
annotations?: {
|
|
9844
10025
|
priority?: number | null | undefined;
|
|
9845
10026
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9921,8 +10102,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9921
10102
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
9922
10103
|
}, "strip", z.ZodTypeAny, {
|
|
9923
10104
|
content: {
|
|
9924
|
-
text: string;
|
|
9925
10105
|
type: "text";
|
|
10106
|
+
text: string;
|
|
9926
10107
|
annotations?: {
|
|
9927
10108
|
priority?: number | null | undefined;
|
|
9928
10109
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9950,10 +10131,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9950
10131
|
type: "resource_link";
|
|
9951
10132
|
name: string;
|
|
9952
10133
|
uri: string;
|
|
9953
|
-
size?: number | null | undefined;
|
|
9954
10134
|
description?: string | null | undefined;
|
|
9955
10135
|
title?: string | null | undefined;
|
|
9956
10136
|
mimeType?: string | null | undefined;
|
|
10137
|
+
size?: number | null | undefined;
|
|
9957
10138
|
annotations?: {
|
|
9958
10139
|
priority?: number | null | undefined;
|
|
9959
10140
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -9979,8 +10160,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
9979
10160
|
sessionUpdate: "agent_thought_chunk";
|
|
9980
10161
|
}, {
|
|
9981
10162
|
content: {
|
|
9982
|
-
text: string;
|
|
9983
10163
|
type: "text";
|
|
10164
|
+
text: string;
|
|
9984
10165
|
annotations?: {
|
|
9985
10166
|
priority?: number | null | undefined;
|
|
9986
10167
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10008,10 +10189,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10008
10189
|
type: "resource_link";
|
|
10009
10190
|
name: string;
|
|
10010
10191
|
uri: string;
|
|
10011
|
-
size?: number | null | undefined;
|
|
10012
10192
|
description?: string | null | undefined;
|
|
10013
10193
|
title?: string | null | undefined;
|
|
10014
10194
|
mimeType?: string | null | undefined;
|
|
10195
|
+
size?: number | null | undefined;
|
|
10015
10196
|
annotations?: {
|
|
10016
10197
|
priority?: number | null | undefined;
|
|
10017
10198
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10054,16 +10235,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10054
10235
|
text: z.ZodString;
|
|
10055
10236
|
type: z.ZodLiteral<"text">;
|
|
10056
10237
|
}, "strip", z.ZodTypeAny, {
|
|
10057
|
-
text: string;
|
|
10058
10238
|
type: "text";
|
|
10239
|
+
text: string;
|
|
10059
10240
|
annotations?: {
|
|
10060
10241
|
priority?: number | null | undefined;
|
|
10061
10242
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10062
10243
|
lastModified?: string | null | undefined;
|
|
10063
10244
|
} | null | undefined;
|
|
10064
10245
|
}, {
|
|
10065
|
-
text: string;
|
|
10066
10246
|
type: "text";
|
|
10247
|
+
text: string;
|
|
10067
10248
|
annotations?: {
|
|
10068
10249
|
priority?: number | null | undefined;
|
|
10069
10250
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10164,10 +10345,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10164
10345
|
type: "resource_link";
|
|
10165
10346
|
name: string;
|
|
10166
10347
|
uri: string;
|
|
10167
|
-
size?: number | null | undefined;
|
|
10168
10348
|
description?: string | null | undefined;
|
|
10169
10349
|
title?: string | null | undefined;
|
|
10170
10350
|
mimeType?: string | null | undefined;
|
|
10351
|
+
size?: number | null | undefined;
|
|
10171
10352
|
annotations?: {
|
|
10172
10353
|
priority?: number | null | undefined;
|
|
10173
10354
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10177,10 +10358,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10177
10358
|
type: "resource_link";
|
|
10178
10359
|
name: string;
|
|
10179
10360
|
uri: string;
|
|
10180
|
-
size?: number | null | undefined;
|
|
10181
10361
|
description?: string | null | undefined;
|
|
10182
10362
|
title?: string | null | undefined;
|
|
10183
10363
|
mimeType?: string | null | undefined;
|
|
10364
|
+
size?: number | null | undefined;
|
|
10184
10365
|
annotations?: {
|
|
10185
10366
|
priority?: number | null | undefined;
|
|
10186
10367
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10263,8 +10444,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10263
10444
|
}, "strip", z.ZodTypeAny, {
|
|
10264
10445
|
type: "content";
|
|
10265
10446
|
content: {
|
|
10266
|
-
text: string;
|
|
10267
10447
|
type: "text";
|
|
10448
|
+
text: string;
|
|
10268
10449
|
annotations?: {
|
|
10269
10450
|
priority?: number | null | undefined;
|
|
10270
10451
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10292,10 +10473,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10292
10473
|
type: "resource_link";
|
|
10293
10474
|
name: string;
|
|
10294
10475
|
uri: string;
|
|
10295
|
-
size?: number | null | undefined;
|
|
10296
10476
|
description?: string | null | undefined;
|
|
10297
10477
|
title?: string | null | undefined;
|
|
10298
10478
|
mimeType?: string | null | undefined;
|
|
10479
|
+
size?: number | null | undefined;
|
|
10299
10480
|
annotations?: {
|
|
10300
10481
|
priority?: number | null | undefined;
|
|
10301
10482
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10321,8 +10502,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10321
10502
|
}, {
|
|
10322
10503
|
type: "content";
|
|
10323
10504
|
content: {
|
|
10324
|
-
text: string;
|
|
10325
10505
|
type: "text";
|
|
10506
|
+
text: string;
|
|
10326
10507
|
annotations?: {
|
|
10327
10508
|
priority?: number | null | undefined;
|
|
10328
10509
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10350,10 +10531,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10350
10531
|
type: "resource_link";
|
|
10351
10532
|
name: string;
|
|
10352
10533
|
uri: string;
|
|
10353
|
-
size?: number | null | undefined;
|
|
10354
10534
|
description?: string | null | undefined;
|
|
10355
10535
|
title?: string | null | undefined;
|
|
10356
10536
|
mimeType?: string | null | undefined;
|
|
10537
|
+
size?: number | null | undefined;
|
|
10357
10538
|
annotations?: {
|
|
10358
10539
|
priority?: number | null | undefined;
|
|
10359
10540
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10411,14 +10592,14 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10411
10592
|
}, "strip", z.ZodTypeAny, {
|
|
10412
10593
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
10413
10594
|
title: string;
|
|
10414
|
-
kind: "search" | "
|
|
10595
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
10415
10596
|
toolCallId: string;
|
|
10416
10597
|
sessionUpdate: "tool_call";
|
|
10417
10598
|
content?: ({
|
|
10418
10599
|
type: "content";
|
|
10419
10600
|
content: {
|
|
10420
|
-
text: string;
|
|
10421
10601
|
type: "text";
|
|
10602
|
+
text: string;
|
|
10422
10603
|
annotations?: {
|
|
10423
10604
|
priority?: number | null | undefined;
|
|
10424
10605
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10446,10 +10627,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10446
10627
|
type: "resource_link";
|
|
10447
10628
|
name: string;
|
|
10448
10629
|
uri: string;
|
|
10449
|
-
size?: number | null | undefined;
|
|
10450
10630
|
description?: string | null | undefined;
|
|
10451
10631
|
title?: string | null | undefined;
|
|
10452
10632
|
mimeType?: string | null | undefined;
|
|
10633
|
+
size?: number | null | undefined;
|
|
10453
10634
|
annotations?: {
|
|
10454
10635
|
priority?: number | null | undefined;
|
|
10455
10636
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10486,14 +10667,14 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10486
10667
|
}, {
|
|
10487
10668
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
10488
10669
|
title: string;
|
|
10489
|
-
kind: "search" | "
|
|
10670
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
10490
10671
|
toolCallId: string;
|
|
10491
10672
|
sessionUpdate: "tool_call";
|
|
10492
10673
|
content?: ({
|
|
10493
10674
|
type: "content";
|
|
10494
10675
|
content: {
|
|
10495
|
-
text: string;
|
|
10496
10676
|
type: "text";
|
|
10677
|
+
text: string;
|
|
10497
10678
|
annotations?: {
|
|
10498
10679
|
priority?: number | null | undefined;
|
|
10499
10680
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10521,10 +10702,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10521
10702
|
type: "resource_link";
|
|
10522
10703
|
name: string;
|
|
10523
10704
|
uri: string;
|
|
10524
|
-
size?: number | null | undefined;
|
|
10525
10705
|
description?: string | null | undefined;
|
|
10526
10706
|
title?: string | null | undefined;
|
|
10527
10707
|
mimeType?: string | null | undefined;
|
|
10708
|
+
size?: number | null | undefined;
|
|
10528
10709
|
annotations?: {
|
|
10529
10710
|
priority?: number | null | undefined;
|
|
10530
10711
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10577,16 +10758,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10577
10758
|
text: z.ZodString;
|
|
10578
10759
|
type: z.ZodLiteral<"text">;
|
|
10579
10760
|
}, "strip", z.ZodTypeAny, {
|
|
10580
|
-
text: string;
|
|
10581
10761
|
type: "text";
|
|
10762
|
+
text: string;
|
|
10582
10763
|
annotations?: {
|
|
10583
10764
|
priority?: number | null | undefined;
|
|
10584
10765
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
10585
10766
|
lastModified?: string | null | undefined;
|
|
10586
10767
|
} | null | undefined;
|
|
10587
10768
|
}, {
|
|
10588
|
-
text: string;
|
|
10589
10769
|
type: "text";
|
|
10770
|
+
text: string;
|
|
10590
10771
|
annotations?: {
|
|
10591
10772
|
priority?: number | null | undefined;
|
|
10592
10773
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10687,10 +10868,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10687
10868
|
type: "resource_link";
|
|
10688
10869
|
name: string;
|
|
10689
10870
|
uri: string;
|
|
10690
|
-
size?: number | null | undefined;
|
|
10691
10871
|
description?: string | null | undefined;
|
|
10692
10872
|
title?: string | null | undefined;
|
|
10693
10873
|
mimeType?: string | null | undefined;
|
|
10874
|
+
size?: number | null | undefined;
|
|
10694
10875
|
annotations?: {
|
|
10695
10876
|
priority?: number | null | undefined;
|
|
10696
10877
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10700,10 +10881,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10700
10881
|
type: "resource_link";
|
|
10701
10882
|
name: string;
|
|
10702
10883
|
uri: string;
|
|
10703
|
-
size?: number | null | undefined;
|
|
10704
10884
|
description?: string | null | undefined;
|
|
10705
10885
|
title?: string | null | undefined;
|
|
10706
10886
|
mimeType?: string | null | undefined;
|
|
10887
|
+
size?: number | null | undefined;
|
|
10707
10888
|
annotations?: {
|
|
10708
10889
|
priority?: number | null | undefined;
|
|
10709
10890
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10786,8 +10967,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10786
10967
|
}, "strip", z.ZodTypeAny, {
|
|
10787
10968
|
type: "content";
|
|
10788
10969
|
content: {
|
|
10789
|
-
text: string;
|
|
10790
10970
|
type: "text";
|
|
10971
|
+
text: string;
|
|
10791
10972
|
annotations?: {
|
|
10792
10973
|
priority?: number | null | undefined;
|
|
10793
10974
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10815,10 +10996,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10815
10996
|
type: "resource_link";
|
|
10816
10997
|
name: string;
|
|
10817
10998
|
uri: string;
|
|
10818
|
-
size?: number | null | undefined;
|
|
10819
10999
|
description?: string | null | undefined;
|
|
10820
11000
|
title?: string | null | undefined;
|
|
10821
11001
|
mimeType?: string | null | undefined;
|
|
11002
|
+
size?: number | null | undefined;
|
|
10822
11003
|
annotations?: {
|
|
10823
11004
|
priority?: number | null | undefined;
|
|
10824
11005
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10844,8 +11025,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10844
11025
|
}, {
|
|
10845
11026
|
type: "content";
|
|
10846
11027
|
content: {
|
|
10847
|
-
text: string;
|
|
10848
11028
|
type: "text";
|
|
11029
|
+
text: string;
|
|
10849
11030
|
annotations?: {
|
|
10850
11031
|
priority?: number | null | undefined;
|
|
10851
11032
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10873,10 +11054,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10873
11054
|
type: "resource_link";
|
|
10874
11055
|
name: string;
|
|
10875
11056
|
uri: string;
|
|
10876
|
-
size?: number | null | undefined;
|
|
10877
11057
|
description?: string | null | undefined;
|
|
10878
11058
|
title?: string | null | undefined;
|
|
10879
11059
|
mimeType?: string | null | undefined;
|
|
11060
|
+
size?: number | null | undefined;
|
|
10880
11061
|
annotations?: {
|
|
10881
11062
|
priority?: number | null | undefined;
|
|
10882
11063
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10934,11 +11115,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10934
11115
|
}, "strip", z.ZodTypeAny, {
|
|
10935
11116
|
toolCallId: string;
|
|
10936
11117
|
sessionUpdate: "tool_call_update";
|
|
11118
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
10937
11119
|
content?: ({
|
|
10938
11120
|
type: "content";
|
|
10939
11121
|
content: {
|
|
10940
|
-
text: string;
|
|
10941
11122
|
type: "text";
|
|
11123
|
+
text: string;
|
|
10942
11124
|
annotations?: {
|
|
10943
11125
|
priority?: number | null | undefined;
|
|
10944
11126
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10966,10 +11148,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10966
11148
|
type: "resource_link";
|
|
10967
11149
|
name: string;
|
|
10968
11150
|
uri: string;
|
|
10969
|
-
size?: number | null | undefined;
|
|
10970
11151
|
description?: string | null | undefined;
|
|
10971
11152
|
title?: string | null | undefined;
|
|
10972
11153
|
mimeType?: string | null | undefined;
|
|
11154
|
+
size?: number | null | undefined;
|
|
10973
11155
|
annotations?: {
|
|
10974
11156
|
priority?: number | null | undefined;
|
|
10975
11157
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -10998,9 +11180,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
10998
11180
|
newText: string;
|
|
10999
11181
|
oldText: string | null;
|
|
11000
11182
|
})[] | null | undefined;
|
|
11001
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11002
11183
|
title?: string | null | undefined;
|
|
11003
|
-
kind?: "search" | "
|
|
11184
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11004
11185
|
locations?: {
|
|
11005
11186
|
path: string;
|
|
11006
11187
|
line?: number | null | undefined;
|
|
@@ -11009,11 +11190,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11009
11190
|
}, {
|
|
11010
11191
|
toolCallId: string;
|
|
11011
11192
|
sessionUpdate: "tool_call_update";
|
|
11193
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11012
11194
|
content?: ({
|
|
11013
11195
|
type: "content";
|
|
11014
11196
|
content: {
|
|
11015
|
-
text: string;
|
|
11016
11197
|
type: "text";
|
|
11198
|
+
text: string;
|
|
11017
11199
|
annotations?: {
|
|
11018
11200
|
priority?: number | null | undefined;
|
|
11019
11201
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11041,10 +11223,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11041
11223
|
type: "resource_link";
|
|
11042
11224
|
name: string;
|
|
11043
11225
|
uri: string;
|
|
11044
|
-
size?: number | null | undefined;
|
|
11045
11226
|
description?: string | null | undefined;
|
|
11046
11227
|
title?: string | null | undefined;
|
|
11047
11228
|
mimeType?: string | null | undefined;
|
|
11229
|
+
size?: number | null | undefined;
|
|
11048
11230
|
annotations?: {
|
|
11049
11231
|
priority?: number | null | undefined;
|
|
11050
11232
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11073,9 +11255,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11073
11255
|
newText: string;
|
|
11074
11256
|
oldText: string | null;
|
|
11075
11257
|
})[] | null | undefined;
|
|
11076
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11077
11258
|
title?: string | null | undefined;
|
|
11078
|
-
kind?: "search" | "
|
|
11259
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11079
11260
|
locations?: {
|
|
11080
11261
|
path: string;
|
|
11081
11262
|
line?: number | null | undefined;
|
|
@@ -11087,36 +11268,79 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11087
11268
|
priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
|
|
11088
11269
|
status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
|
|
11089
11270
|
}, "strip", z.ZodTypeAny, {
|
|
11090
|
-
content: string;
|
|
11091
11271
|
status: "completed" | "pending" | "in_progress";
|
|
11272
|
+
content: string;
|
|
11092
11273
|
priority: "medium" | "high" | "low";
|
|
11093
11274
|
}, {
|
|
11094
|
-
content: string;
|
|
11095
11275
|
status: "completed" | "pending" | "in_progress";
|
|
11276
|
+
content: string;
|
|
11096
11277
|
priority: "medium" | "high" | "low";
|
|
11097
11278
|
}>, "many">;
|
|
11098
11279
|
sessionUpdate: z.ZodLiteral<"plan">;
|
|
11099
11280
|
}, "strip", z.ZodTypeAny, {
|
|
11100
11281
|
entries: {
|
|
11101
|
-
content: string;
|
|
11102
11282
|
status: "completed" | "pending" | "in_progress";
|
|
11283
|
+
content: string;
|
|
11103
11284
|
priority: "medium" | "high" | "low";
|
|
11104
11285
|
}[];
|
|
11105
11286
|
sessionUpdate: "plan";
|
|
11106
11287
|
}, {
|
|
11107
11288
|
entries: {
|
|
11108
|
-
content: string;
|
|
11109
11289
|
status: "completed" | "pending" | "in_progress";
|
|
11290
|
+
content: string;
|
|
11110
11291
|
priority: "medium" | "high" | "low";
|
|
11111
11292
|
}[];
|
|
11112
11293
|
sessionUpdate: "plan";
|
|
11294
|
+
}>, z.ZodObject<{
|
|
11295
|
+
availableCommands: z.ZodArray<z.ZodObject<{
|
|
11296
|
+
description: z.ZodString;
|
|
11297
|
+
input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11298
|
+
hint: z.ZodString;
|
|
11299
|
+
}, "strip", z.ZodTypeAny, {
|
|
11300
|
+
hint: string;
|
|
11301
|
+
}, {
|
|
11302
|
+
hint: string;
|
|
11303
|
+
}>>>;
|
|
11304
|
+
name: z.ZodString;
|
|
11305
|
+
}, "strip", z.ZodTypeAny, {
|
|
11306
|
+
name: string;
|
|
11307
|
+
description: string;
|
|
11308
|
+
input?: {
|
|
11309
|
+
hint: string;
|
|
11310
|
+
} | null | undefined;
|
|
11311
|
+
}, {
|
|
11312
|
+
name: string;
|
|
11313
|
+
description: string;
|
|
11314
|
+
input?: {
|
|
11315
|
+
hint: string;
|
|
11316
|
+
} | null | undefined;
|
|
11317
|
+
}>, "many">;
|
|
11318
|
+
sessionUpdate: z.ZodLiteral<"available_commands_update">;
|
|
11319
|
+
}, "strip", z.ZodTypeAny, {
|
|
11320
|
+
sessionUpdate: "available_commands_update";
|
|
11321
|
+
availableCommands: {
|
|
11322
|
+
name: string;
|
|
11323
|
+
description: string;
|
|
11324
|
+
input?: {
|
|
11325
|
+
hint: string;
|
|
11326
|
+
} | null | undefined;
|
|
11327
|
+
}[];
|
|
11328
|
+
}, {
|
|
11329
|
+
sessionUpdate: "available_commands_update";
|
|
11330
|
+
availableCommands: {
|
|
11331
|
+
name: string;
|
|
11332
|
+
description: string;
|
|
11333
|
+
input?: {
|
|
11334
|
+
hint: string;
|
|
11335
|
+
} | null | undefined;
|
|
11336
|
+
}[];
|
|
11113
11337
|
}>]>;
|
|
11114
11338
|
}, "strip", z.ZodTypeAny, {
|
|
11115
11339
|
sessionId: string;
|
|
11116
11340
|
update: {
|
|
11117
11341
|
content: {
|
|
11118
|
-
text: string;
|
|
11119
11342
|
type: "text";
|
|
11343
|
+
text: string;
|
|
11120
11344
|
annotations?: {
|
|
11121
11345
|
priority?: number | null | undefined;
|
|
11122
11346
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11144,10 +11368,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11144
11368
|
type: "resource_link";
|
|
11145
11369
|
name: string;
|
|
11146
11370
|
uri: string;
|
|
11147
|
-
size?: number | null | undefined;
|
|
11148
11371
|
description?: string | null | undefined;
|
|
11149
11372
|
title?: string | null | undefined;
|
|
11150
11373
|
mimeType?: string | null | undefined;
|
|
11374
|
+
size?: number | null | undefined;
|
|
11151
11375
|
annotations?: {
|
|
11152
11376
|
priority?: number | null | undefined;
|
|
11153
11377
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11173,8 +11397,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11173
11397
|
sessionUpdate: "user_message_chunk";
|
|
11174
11398
|
} | {
|
|
11175
11399
|
content: {
|
|
11176
|
-
text: string;
|
|
11177
11400
|
type: "text";
|
|
11401
|
+
text: string;
|
|
11178
11402
|
annotations?: {
|
|
11179
11403
|
priority?: number | null | undefined;
|
|
11180
11404
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11202,10 +11426,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11202
11426
|
type: "resource_link";
|
|
11203
11427
|
name: string;
|
|
11204
11428
|
uri: string;
|
|
11205
|
-
size?: number | null | undefined;
|
|
11206
11429
|
description?: string | null | undefined;
|
|
11207
11430
|
title?: string | null | undefined;
|
|
11208
11431
|
mimeType?: string | null | undefined;
|
|
11432
|
+
size?: number | null | undefined;
|
|
11209
11433
|
annotations?: {
|
|
11210
11434
|
priority?: number | null | undefined;
|
|
11211
11435
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11231,8 +11455,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11231
11455
|
sessionUpdate: "agent_message_chunk";
|
|
11232
11456
|
} | {
|
|
11233
11457
|
content: {
|
|
11234
|
-
text: string;
|
|
11235
11458
|
type: "text";
|
|
11459
|
+
text: string;
|
|
11236
11460
|
annotations?: {
|
|
11237
11461
|
priority?: number | null | undefined;
|
|
11238
11462
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11260,10 +11484,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11260
11484
|
type: "resource_link";
|
|
11261
11485
|
name: string;
|
|
11262
11486
|
uri: string;
|
|
11263
|
-
size?: number | null | undefined;
|
|
11264
11487
|
description?: string | null | undefined;
|
|
11265
11488
|
title?: string | null | undefined;
|
|
11266
11489
|
mimeType?: string | null | undefined;
|
|
11490
|
+
size?: number | null | undefined;
|
|
11267
11491
|
annotations?: {
|
|
11268
11492
|
priority?: number | null | undefined;
|
|
11269
11493
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11290,14 +11514,14 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11290
11514
|
} | {
|
|
11291
11515
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
11292
11516
|
title: string;
|
|
11293
|
-
kind: "search" | "
|
|
11517
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
11294
11518
|
toolCallId: string;
|
|
11295
11519
|
sessionUpdate: "tool_call";
|
|
11296
11520
|
content?: ({
|
|
11297
11521
|
type: "content";
|
|
11298
11522
|
content: {
|
|
11299
|
-
text: string;
|
|
11300
11523
|
type: "text";
|
|
11524
|
+
text: string;
|
|
11301
11525
|
annotations?: {
|
|
11302
11526
|
priority?: number | null | undefined;
|
|
11303
11527
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11325,10 +11549,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11325
11549
|
type: "resource_link";
|
|
11326
11550
|
name: string;
|
|
11327
11551
|
uri: string;
|
|
11328
|
-
size?: number | null | undefined;
|
|
11329
11552
|
description?: string | null | undefined;
|
|
11330
11553
|
title?: string | null | undefined;
|
|
11331
11554
|
mimeType?: string | null | undefined;
|
|
11555
|
+
size?: number | null | undefined;
|
|
11332
11556
|
annotations?: {
|
|
11333
11557
|
priority?: number | null | undefined;
|
|
11334
11558
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11365,11 +11589,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11365
11589
|
} | {
|
|
11366
11590
|
toolCallId: string;
|
|
11367
11591
|
sessionUpdate: "tool_call_update";
|
|
11592
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11368
11593
|
content?: ({
|
|
11369
11594
|
type: "content";
|
|
11370
11595
|
content: {
|
|
11371
|
-
text: string;
|
|
11372
11596
|
type: "text";
|
|
11597
|
+
text: string;
|
|
11373
11598
|
annotations?: {
|
|
11374
11599
|
priority?: number | null | undefined;
|
|
11375
11600
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11397,10 +11622,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11397
11622
|
type: "resource_link";
|
|
11398
11623
|
name: string;
|
|
11399
11624
|
uri: string;
|
|
11400
|
-
size?: number | null | undefined;
|
|
11401
11625
|
description?: string | null | undefined;
|
|
11402
11626
|
title?: string | null | undefined;
|
|
11403
11627
|
mimeType?: string | null | undefined;
|
|
11628
|
+
size?: number | null | undefined;
|
|
11404
11629
|
annotations?: {
|
|
11405
11630
|
priority?: number | null | undefined;
|
|
11406
11631
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11429,9 +11654,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11429
11654
|
newText: string;
|
|
11430
11655
|
oldText: string | null;
|
|
11431
11656
|
})[] | null | undefined;
|
|
11432
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11433
11657
|
title?: string | null | undefined;
|
|
11434
|
-
kind?: "search" | "
|
|
11658
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11435
11659
|
locations?: {
|
|
11436
11660
|
path: string;
|
|
11437
11661
|
line?: number | null | undefined;
|
|
@@ -11439,18 +11663,27 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11439
11663
|
rawInput?: unknown;
|
|
11440
11664
|
} | {
|
|
11441
11665
|
entries: {
|
|
11442
|
-
content: string;
|
|
11443
11666
|
status: "completed" | "pending" | "in_progress";
|
|
11667
|
+
content: string;
|
|
11444
11668
|
priority: "medium" | "high" | "low";
|
|
11445
11669
|
}[];
|
|
11446
11670
|
sessionUpdate: "plan";
|
|
11671
|
+
} | {
|
|
11672
|
+
sessionUpdate: "available_commands_update";
|
|
11673
|
+
availableCommands: {
|
|
11674
|
+
name: string;
|
|
11675
|
+
description: string;
|
|
11676
|
+
input?: {
|
|
11677
|
+
hint: string;
|
|
11678
|
+
} | null | undefined;
|
|
11679
|
+
}[];
|
|
11447
11680
|
};
|
|
11448
11681
|
}, {
|
|
11449
11682
|
sessionId: string;
|
|
11450
11683
|
update: {
|
|
11451
11684
|
content: {
|
|
11452
|
-
text: string;
|
|
11453
11685
|
type: "text";
|
|
11686
|
+
text: string;
|
|
11454
11687
|
annotations?: {
|
|
11455
11688
|
priority?: number | null | undefined;
|
|
11456
11689
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11478,10 +11711,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11478
11711
|
type: "resource_link";
|
|
11479
11712
|
name: string;
|
|
11480
11713
|
uri: string;
|
|
11481
|
-
size?: number | null | undefined;
|
|
11482
11714
|
description?: string | null | undefined;
|
|
11483
11715
|
title?: string | null | undefined;
|
|
11484
11716
|
mimeType?: string | null | undefined;
|
|
11717
|
+
size?: number | null | undefined;
|
|
11485
11718
|
annotations?: {
|
|
11486
11719
|
priority?: number | null | undefined;
|
|
11487
11720
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11507,8 +11740,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11507
11740
|
sessionUpdate: "user_message_chunk";
|
|
11508
11741
|
} | {
|
|
11509
11742
|
content: {
|
|
11510
|
-
text: string;
|
|
11511
11743
|
type: "text";
|
|
11744
|
+
text: string;
|
|
11512
11745
|
annotations?: {
|
|
11513
11746
|
priority?: number | null | undefined;
|
|
11514
11747
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11536,10 +11769,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11536
11769
|
type: "resource_link";
|
|
11537
11770
|
name: string;
|
|
11538
11771
|
uri: string;
|
|
11539
|
-
size?: number | null | undefined;
|
|
11540
11772
|
description?: string | null | undefined;
|
|
11541
11773
|
title?: string | null | undefined;
|
|
11542
11774
|
mimeType?: string | null | undefined;
|
|
11775
|
+
size?: number | null | undefined;
|
|
11543
11776
|
annotations?: {
|
|
11544
11777
|
priority?: number | null | undefined;
|
|
11545
11778
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11565,8 +11798,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11565
11798
|
sessionUpdate: "agent_message_chunk";
|
|
11566
11799
|
} | {
|
|
11567
11800
|
content: {
|
|
11568
|
-
text: string;
|
|
11569
11801
|
type: "text";
|
|
11802
|
+
text: string;
|
|
11570
11803
|
annotations?: {
|
|
11571
11804
|
priority?: number | null | undefined;
|
|
11572
11805
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11594,10 +11827,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11594
11827
|
type: "resource_link";
|
|
11595
11828
|
name: string;
|
|
11596
11829
|
uri: string;
|
|
11597
|
-
size?: number | null | undefined;
|
|
11598
11830
|
description?: string | null | undefined;
|
|
11599
11831
|
title?: string | null | undefined;
|
|
11600
11832
|
mimeType?: string | null | undefined;
|
|
11833
|
+
size?: number | null | undefined;
|
|
11601
11834
|
annotations?: {
|
|
11602
11835
|
priority?: number | null | undefined;
|
|
11603
11836
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11624,14 +11857,14 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11624
11857
|
} | {
|
|
11625
11858
|
status: "completed" | "failed" | "pending" | "in_progress";
|
|
11626
11859
|
title: string;
|
|
11627
|
-
kind: "search" | "
|
|
11860
|
+
kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
|
|
11628
11861
|
toolCallId: string;
|
|
11629
11862
|
sessionUpdate: "tool_call";
|
|
11630
11863
|
content?: ({
|
|
11631
11864
|
type: "content";
|
|
11632
11865
|
content: {
|
|
11633
|
-
text: string;
|
|
11634
11866
|
type: "text";
|
|
11867
|
+
text: string;
|
|
11635
11868
|
annotations?: {
|
|
11636
11869
|
priority?: number | null | undefined;
|
|
11637
11870
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11659,10 +11892,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11659
11892
|
type: "resource_link";
|
|
11660
11893
|
name: string;
|
|
11661
11894
|
uri: string;
|
|
11662
|
-
size?: number | null | undefined;
|
|
11663
11895
|
description?: string | null | undefined;
|
|
11664
11896
|
title?: string | null | undefined;
|
|
11665
11897
|
mimeType?: string | null | undefined;
|
|
11898
|
+
size?: number | null | undefined;
|
|
11666
11899
|
annotations?: {
|
|
11667
11900
|
priority?: number | null | undefined;
|
|
11668
11901
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11699,11 +11932,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11699
11932
|
} | {
|
|
11700
11933
|
toolCallId: string;
|
|
11701
11934
|
sessionUpdate: "tool_call_update";
|
|
11935
|
+
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11702
11936
|
content?: ({
|
|
11703
11937
|
type: "content";
|
|
11704
11938
|
content: {
|
|
11705
|
-
text: string;
|
|
11706
11939
|
type: "text";
|
|
11940
|
+
text: string;
|
|
11707
11941
|
annotations?: {
|
|
11708
11942
|
priority?: number | null | undefined;
|
|
11709
11943
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11731,10 +11965,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11731
11965
|
type: "resource_link";
|
|
11732
11966
|
name: string;
|
|
11733
11967
|
uri: string;
|
|
11734
|
-
size?: number | null | undefined;
|
|
11735
11968
|
description?: string | null | undefined;
|
|
11736
11969
|
title?: string | null | undefined;
|
|
11737
11970
|
mimeType?: string | null | undefined;
|
|
11971
|
+
size?: number | null | undefined;
|
|
11738
11972
|
annotations?: {
|
|
11739
11973
|
priority?: number | null | undefined;
|
|
11740
11974
|
audience?: ("user" | "assistant")[] | null | undefined;
|
|
@@ -11763,9 +11997,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11763
11997
|
newText: string;
|
|
11764
11998
|
oldText: string | null;
|
|
11765
11999
|
})[] | null | undefined;
|
|
11766
|
-
status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
|
|
11767
12000
|
title?: string | null | undefined;
|
|
11768
|
-
kind?: "search" | "
|
|
12001
|
+
kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
|
|
11769
12002
|
locations?: {
|
|
11770
12003
|
path: string;
|
|
11771
12004
|
line?: number | null | undefined;
|
|
@@ -11773,10 +12006,19 @@ export declare const agentNotificationSchema: z.ZodObject<{
|
|
|
11773
12006
|
rawInput?: unknown;
|
|
11774
12007
|
} | {
|
|
11775
12008
|
entries: {
|
|
11776
|
-
content: string;
|
|
11777
12009
|
status: "completed" | "pending" | "in_progress";
|
|
12010
|
+
content: string;
|
|
11778
12011
|
priority: "medium" | "high" | "low";
|
|
11779
12012
|
}[];
|
|
11780
12013
|
sessionUpdate: "plan";
|
|
12014
|
+
} | {
|
|
12015
|
+
sessionUpdate: "available_commands_update";
|
|
12016
|
+
availableCommands: {
|
|
12017
|
+
name: string;
|
|
12018
|
+
description: string;
|
|
12019
|
+
input?: {
|
|
12020
|
+
hint: string;
|
|
12021
|
+
} | null | undefined;
|
|
12022
|
+
}[];
|
|
11781
12023
|
};
|
|
11782
12024
|
}>;
|