@google/gemini-cli 0.3.0-nightly.20250822.15c62bad → 0.3.0-preview.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (505) hide show
  1. package/dist/index.js +9 -0
  2. package/dist/index.js.map +1 -1
  3. package/dist/package.json +7 -7
  4. package/dist/src/commands/extensions/disable.d.ts +14 -0
  5. package/dist/src/commands/extensions/disable.js +42 -0
  6. package/dist/src/commands/extensions/disable.js.map +1 -0
  7. package/dist/src/commands/extensions/enable.d.ts +14 -0
  8. package/dist/src/commands/extensions/enable.js +48 -0
  9. package/dist/src/commands/extensions/enable.js.map +1 -0
  10. package/dist/src/commands/extensions/install.d.ts +13 -0
  11. package/dist/src/commands/extensions/install.js +48 -0
  12. package/dist/src/commands/extensions/install.js.map +1 -0
  13. package/dist/src/commands/extensions/install.test.d.ts +6 -0
  14. package/dist/src/commands/extensions/install.test.js +19 -0
  15. package/dist/src/commands/extensions/install.test.js.map +1 -0
  16. package/dist/src/commands/extensions/list.d.ts +8 -0
  17. package/dist/src/commands/extensions/list.js +32 -0
  18. package/dist/src/commands/extensions/list.js.map +1 -0
  19. package/dist/src/commands/extensions/uninstall.d.ts +12 -0
  20. package/dist/src/commands/extensions/uninstall.js +38 -0
  21. package/dist/src/commands/extensions/uninstall.js.map +1 -0
  22. package/dist/src/commands/extensions/uninstall.test.d.ts +6 -0
  23. package/dist/src/commands/extensions/uninstall.test.js +15 -0
  24. package/dist/src/commands/extensions/uninstall.test.js.map +1 -0
  25. package/dist/src/commands/extensions/update.d.ts +12 -0
  26. package/dist/src/commands/extensions/update.js +38 -0
  27. package/dist/src/commands/extensions/update.js.map +1 -0
  28. package/dist/src/commands/extensions.d.ts +7 -0
  29. package/dist/src/commands/extensions.js +29 -0
  30. package/dist/src/commands/extensions.js.map +1 -0
  31. package/dist/src/commands/mcp/list.js +1 -1
  32. package/dist/src/commands/mcp/list.js.map +1 -1
  33. package/dist/src/config/config.d.ts +6 -6
  34. package/dist/src/config/config.js +65 -58
  35. package/dist/src/config/config.js.map +1 -1
  36. package/dist/src/config/extension.d.ts +40 -2
  37. package/dist/src/config/extension.js +267 -14
  38. package/dist/src/config/extension.js.map +1 -1
  39. package/dist/src/config/extensions/variableSchema.d.ts +28 -0
  40. package/dist/src/config/extensions/variableSchema.js +18 -0
  41. package/dist/src/config/extensions/variableSchema.js.map +1 -0
  42. package/dist/src/config/extensions/variables.d.ts +17 -0
  43. package/dist/src/config/extensions/variables.js +40 -0
  44. package/dist/src/config/extensions/variables.js.map +1 -0
  45. package/dist/src/config/extensions/variables.test.d.ts +6 -0
  46. package/dist/src/config/extensions/variables.test.js +17 -0
  47. package/dist/src/config/extensions/variables.test.js.map +1 -0
  48. package/dist/src/config/keyBindings.test.js +1 -1
  49. package/dist/src/config/keyBindings.test.js.map +1 -1
  50. package/dist/src/config/sandboxConfig.d.ts +2 -2
  51. package/dist/src/config/sandboxConfig.js +5 -7
  52. package/dist/src/config/sandboxConfig.js.map +1 -1
  53. package/dist/src/config/settings.d.ts +9 -4
  54. package/dist/src/config/settings.js +342 -80
  55. package/dist/src/config/settings.js.map +1 -1
  56. package/dist/src/config/settingsSchema.d.ts +633 -416
  57. package/dist/src/config/settingsSchema.js +628 -411
  58. package/dist/src/config/settingsSchema.js.map +1 -1
  59. package/dist/src/config/settingsSchema.test.js +87 -89
  60. package/dist/src/config/settingsSchema.test.js.map +1 -1
  61. package/dist/src/config/trustedFolders.d.ts +1 -1
  62. package/dist/src/config/trustedFolders.js +5 -5
  63. package/dist/src/config/trustedFolders.js.map +1 -1
  64. package/dist/src/config/trustedFolders.test.js +9 -5
  65. package/dist/src/config/trustedFolders.test.js.map +1 -1
  66. package/dist/src/gemini.d.ts +3 -1
  67. package/dist/src/gemini.js +51 -44
  68. package/dist/src/gemini.js.map +1 -1
  69. package/dist/src/gemini.test.js +78 -24
  70. package/dist/src/gemini.test.js.map +1 -1
  71. package/dist/src/generated/git-commit.d.ts +2 -2
  72. package/dist/src/generated/git-commit.js +2 -2
  73. package/dist/src/generated/git-commit.js.map +1 -1
  74. package/dist/src/nonInteractiveCli.d.ts +1 -1
  75. package/dist/src/nonInteractiveCli.js +5 -17
  76. package/dist/src/nonInteractiveCli.js.map +1 -1
  77. package/dist/src/services/BuiltinCommandLoader.d.ts +3 -3
  78. package/dist/src/services/CommandService.d.ts +2 -2
  79. package/dist/src/services/CommandService.test.js +1 -0
  80. package/dist/src/services/CommandService.test.js.map +1 -1
  81. package/dist/src/services/FileCommandLoader.d.ts +3 -3
  82. package/dist/src/services/FileCommandLoader.js +22 -13
  83. package/dist/src/services/FileCommandLoader.js.map +1 -1
  84. package/dist/src/services/McpPromptLoader.d.ts +14 -4
  85. package/dist/src/services/McpPromptLoader.js +44 -18
  86. package/dist/src/services/McpPromptLoader.js.map +1 -1
  87. package/dist/src/services/McpPromptLoader.test.d.ts +6 -0
  88. package/dist/src/services/McpPromptLoader.test.js +114 -0
  89. package/dist/src/services/McpPromptLoader.test.js.map +1 -0
  90. package/dist/src/services/prompt-processors/argumentProcessor.d.ts +3 -3
  91. package/dist/src/services/prompt-processors/argumentProcessor.js +3 -2
  92. package/dist/src/services/prompt-processors/argumentProcessor.js.map +1 -1
  93. package/dist/src/services/prompt-processors/atFileProcessor.d.ts +12 -0
  94. package/dist/src/services/prompt-processors/atFileProcessor.js +62 -0
  95. package/dist/src/services/prompt-processors/atFileProcessor.js.map +1 -0
  96. package/dist/src/services/prompt-processors/atFileProcessor.test.d.ts +6 -0
  97. package/dist/src/services/prompt-processors/atFileProcessor.test.js +174 -0
  98. package/dist/src/services/prompt-processors/atFileProcessor.test.js.map +1 -0
  99. package/dist/src/services/prompt-processors/injectionParser.d.ts +29 -0
  100. package/dist/src/services/prompt-processors/injectionParser.js +60 -0
  101. package/dist/src/services/prompt-processors/injectionParser.js.map +1 -0
  102. package/dist/src/services/prompt-processors/injectionParser.test.d.ts +6 -0
  103. package/dist/src/services/prompt-processors/injectionParser.test.js +189 -0
  104. package/dist/src/services/prompt-processors/injectionParser.test.js.map +1 -0
  105. package/dist/src/services/prompt-processors/shellProcessor.d.ts +4 -12
  106. package/dist/src/services/prompt-processors/shellProcessor.js +17 -58
  107. package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -1
  108. package/dist/src/services/prompt-processors/types.d.ts +13 -8
  109. package/dist/src/services/prompt-processors/types.js +4 -0
  110. package/dist/src/services/prompt-processors/types.js.map +1 -1
  111. package/dist/src/services/types.d.ts +1 -1
  112. package/dist/src/test-utils/customMatchers.js +0 -6
  113. package/dist/src/test-utils/customMatchers.js.map +1 -1
  114. package/dist/src/test-utils/mockCommandContext.d.ts +1 -1
  115. package/dist/src/test-utils/render.d.ts +1 -1
  116. package/dist/src/ui/App.d.ts +2 -2
  117. package/dist/src/ui/App.js +50 -26
  118. package/dist/src/ui/App.js.map +1 -1
  119. package/dist/src/ui/IdeIntegrationNudge.d.ts +1 -1
  120. package/dist/src/ui/IdeIntegrationNudge.js +2 -7
  121. package/dist/src/ui/IdeIntegrationNudge.js.map +1 -1
  122. package/dist/src/ui/colors.d.ts +1 -1
  123. package/dist/src/ui/commands/aboutCommand.d.ts +1 -1
  124. package/dist/src/ui/commands/aboutCommand.js +1 -1
  125. package/dist/src/ui/commands/aboutCommand.js.map +1 -1
  126. package/dist/src/ui/commands/authCommand.d.ts +1 -1
  127. package/dist/src/ui/commands/authCommand.js.map +1 -1
  128. package/dist/src/ui/commands/chatCommand.d.ts +1 -1
  129. package/dist/src/ui/commands/chatCommand.js +3 -3
  130. package/dist/src/ui/commands/chatCommand.js.map +1 -1
  131. package/dist/src/ui/commands/clearCommand.d.ts +1 -1
  132. package/dist/src/ui/commands/clearCommand.js.map +1 -1
  133. package/dist/src/ui/commands/compressCommand.d.ts +1 -1
  134. package/dist/src/ui/commands/compressCommand.js +2 -0
  135. package/dist/src/ui/commands/compressCommand.js.map +1 -1
  136. package/dist/src/ui/commands/copyCommand.d.ts +1 -1
  137. package/dist/src/ui/commands/copyCommand.js +2 -2
  138. package/dist/src/ui/commands/copyCommand.js.map +1 -1
  139. package/dist/src/ui/commands/directoryCommand.d.ts +1 -1
  140. package/dist/src/ui/commands/directoryCommand.js +5 -4
  141. package/dist/src/ui/commands/directoryCommand.js.map +1 -1
  142. package/dist/src/ui/commands/helpCommand.d.ts +1 -1
  143. package/dist/src/ui/commands/helpCommand.js.map +1 -1
  144. package/dist/src/ui/commands/ideCommand.d.ts +2 -2
  145. package/dist/src/ui/commands/ideCommand.js +6 -8
  146. package/dist/src/ui/commands/ideCommand.js.map +1 -1
  147. package/dist/src/ui/commands/initCommand.d.ts +1 -1
  148. package/dist/src/ui/commands/initCommand.js +3 -3
  149. package/dist/src/ui/commands/initCommand.js.map +1 -1
  150. package/dist/src/ui/commands/mcpCommand.d.ts +1 -1
  151. package/dist/src/ui/commands/mcpCommand.js +1 -1
  152. package/dist/src/ui/commands/mcpCommand.js.map +1 -1
  153. package/dist/src/ui/commands/memoryCommand.d.ts +1 -1
  154. package/dist/src/ui/commands/memoryCommand.js +4 -3
  155. package/dist/src/ui/commands/memoryCommand.js.map +1 -1
  156. package/dist/src/ui/commands/privacyCommand.d.ts +1 -1
  157. package/dist/src/ui/commands/privacyCommand.js.map +1 -1
  158. package/dist/src/ui/commands/restoreCommand.d.ts +1 -1
  159. package/dist/src/ui/commands/restoreCommand.js +2 -2
  160. package/dist/src/ui/commands/restoreCommand.js.map +1 -1
  161. package/dist/src/ui/commands/settingsCommand.d.ts +1 -1
  162. package/dist/src/ui/commands/settingsCommand.js.map +1 -1
  163. package/dist/src/ui/commands/setupGithubCommand.d.ts +2 -1
  164. package/dist/src/ui/commands/setupGithubCommand.js +10 -9
  165. package/dist/src/ui/commands/setupGithubCommand.js.map +1 -1
  166. package/dist/src/ui/commands/setupGithubCommand.test.js +2 -7
  167. package/dist/src/ui/commands/setupGithubCommand.test.js.map +1 -1
  168. package/dist/src/ui/commands/statsCommand.js.map +1 -1
  169. package/dist/src/ui/commands/terminalSetupCommand.d.ts +1 -1
  170. package/dist/src/ui/commands/terminalSetupCommand.js.map +1 -1
  171. package/dist/src/ui/commands/themeCommand.d.ts +1 -1
  172. package/dist/src/ui/commands/themeCommand.js.map +1 -1
  173. package/dist/src/ui/commands/toolsCommand.js +1 -1
  174. package/dist/src/ui/commands/toolsCommand.js.map +1 -1
  175. package/dist/src/ui/commands/types.d.ts +7 -8
  176. package/dist/src/ui/commands/types.js +1 -0
  177. package/dist/src/ui/commands/types.js.map +1 -1
  178. package/dist/src/ui/commands/vimCommand.d.ts +1 -1
  179. package/dist/src/ui/commands/vimCommand.js.map +1 -1
  180. package/dist/src/ui/components/AboutBox.d.ts +1 -1
  181. package/dist/src/ui/components/AuthDialog.d.ts +3 -2
  182. package/dist/src/ui/components/AuthDialog.js +3 -8
  183. package/dist/src/ui/components/AuthDialog.js.map +1 -1
  184. package/dist/src/ui/components/AuthDialog.test.js +83 -49
  185. package/dist/src/ui/components/AuthDialog.test.js.map +1 -1
  186. package/dist/src/ui/components/AuthInProgress.d.ts +1 -1
  187. package/dist/src/ui/components/AuthInProgress.js +0 -5
  188. package/dist/src/ui/components/AuthInProgress.js.map +1 -1
  189. package/dist/src/ui/components/AutoAcceptIndicator.d.ts +1 -1
  190. package/dist/src/ui/components/ConsoleSummaryDisplay.d.ts +1 -1
  191. package/dist/src/ui/components/ContextSummaryDisplay.d.ts +1 -1
  192. package/dist/src/ui/components/ContextSummaryDisplay.js +1 -0
  193. package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -1
  194. package/dist/src/ui/components/DetailedMessagesDisplay.d.ts +2 -2
  195. package/dist/src/ui/components/DetailedMessagesDisplay.js +1 -1
  196. package/dist/src/ui/components/DetailedMessagesDisplay.js.map +1 -1
  197. package/dist/src/ui/components/EditorSettingsDialog.d.ts +4 -3
  198. package/dist/src/ui/components/EditorSettingsDialog.js +8 -11
  199. package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -1
  200. package/dist/src/ui/components/FolderTrustDialog.d.ts +1 -1
  201. package/dist/src/ui/components/FolderTrustDialog.js +2 -2
  202. package/dist/src/ui/components/FolderTrustDialog.js.map +1 -1
  203. package/dist/src/ui/components/FolderTrustDialog.test.js +1 -1
  204. package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -1
  205. package/dist/src/ui/components/Footer.d.ts +1 -1
  206. package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +1 -1
  207. package/dist/src/ui/components/Header.d.ts +1 -1
  208. package/dist/src/ui/components/Help.d.ts +2 -2
  209. package/dist/src/ui/components/HistoryItemDisplay.d.ts +4 -4
  210. package/dist/src/ui/components/HistoryItemDisplay.test.js +2 -0
  211. package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -1
  212. package/dist/src/ui/components/InputPrompt.d.ts +5 -5
  213. package/dist/src/ui/components/InputPrompt.js +1 -7
  214. package/dist/src/ui/components/InputPrompt.js.map +1 -1
  215. package/dist/src/ui/components/LoadingIndicator.d.ts +2 -2
  216. package/dist/src/ui/components/MemoryUsageDisplay.d.ts +1 -1
  217. package/dist/src/ui/components/MemoryUsageDisplay.js +0 -5
  218. package/dist/src/ui/components/MemoryUsageDisplay.js.map +1 -1
  219. package/dist/src/ui/components/ModelStatsDisplay.d.ts +1 -1
  220. package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -1
  221. package/dist/src/ui/components/PrepareLabel.d.ts +1 -1
  222. package/dist/src/ui/components/SessionSummaryDisplay.d.ts +1 -1
  223. package/dist/src/ui/components/SettingsDialog.d.ts +2 -1
  224. package/dist/src/ui/components/SettingsDialog.js +2 -2
  225. package/dist/src/ui/components/SettingsDialog.js.map +1 -1
  226. package/dist/src/ui/components/SettingsDialog.test.js +32 -14
  227. package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
  228. package/dist/src/ui/components/ShellConfirmationDialog.d.ts +1 -1
  229. package/dist/src/ui/components/ShellConfirmationDialog.js +1 -1
  230. package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
  231. package/dist/src/ui/components/ShellModeIndicator.d.ts +1 -1
  232. package/dist/src/ui/components/StatsDisplay.d.ts +1 -1
  233. package/dist/src/ui/components/StatsDisplay.js.map +1 -1
  234. package/dist/src/ui/components/SuggestionsDisplay.js +12 -4
  235. package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -1
  236. package/dist/src/ui/components/ThemeDialog.d.ts +3 -2
  237. package/dist/src/ui/components/ThemeDialog.js +5 -10
  238. package/dist/src/ui/components/ThemeDialog.js.map +1 -1
  239. package/dist/src/ui/components/Tips.d.ts +1 -1
  240. package/dist/src/ui/components/Tips.js +1 -0
  241. package/dist/src/ui/components/Tips.js.map +1 -1
  242. package/dist/src/ui/components/ToolStatsDisplay.d.ts +1 -1
  243. package/dist/src/ui/components/WorkspaceMigrationDialog.d.ts +11 -0
  244. package/dist/src/ui/components/WorkspaceMigrationDialog.js +42 -0
  245. package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +1 -0
  246. package/dist/src/ui/components/messages/CompressionMessage.d.ts +2 -2
  247. package/dist/src/ui/components/messages/DiffRenderer.d.ts +1 -1
  248. package/dist/src/ui/components/messages/DiffRenderer.js +1 -1
  249. package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -1
  250. package/dist/src/ui/components/messages/ErrorMessage.d.ts +1 -1
  251. package/dist/src/ui/components/messages/GeminiMessage.d.ts +1 -1
  252. package/dist/src/ui/components/messages/GeminiMessageContent.d.ts +1 -1
  253. package/dist/src/ui/components/messages/InfoMessage.d.ts +1 -1
  254. package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +3 -3
  255. package/dist/src/ui/components/messages/ToolConfirmationMessage.js +41 -24
  256. package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
  257. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +87 -2
  258. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
  259. package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +4 -4
  260. package/dist/src/ui/components/messages/ToolGroupMessage.js +1 -6
  261. package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -1
  262. package/dist/src/ui/components/messages/ToolGroupMessage.test.d.ts +6 -0
  263. package/dist/src/ui/components/messages/ToolGroupMessage.test.js +259 -0
  264. package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -0
  265. package/dist/src/ui/components/messages/ToolMessage.d.ts +1 -1
  266. package/dist/src/ui/components/messages/ToolMessage.js +2 -1
  267. package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
  268. package/dist/src/ui/components/messages/ToolMessage.test.js +6 -6
  269. package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -1
  270. package/dist/src/ui/components/messages/UserMessage.d.ts +1 -1
  271. package/dist/src/ui/components/messages/UserMessage.js +2 -1
  272. package/dist/src/ui/components/messages/UserMessage.js.map +1 -1
  273. package/dist/src/ui/components/messages/UserShellMessage.d.ts +1 -1
  274. package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +1 -1
  275. package/dist/src/ui/components/shared/RadioButtonSelect.js +0 -5
  276. package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -1
  277. package/dist/src/ui/components/shared/text-buffer.js +4 -4
  278. package/dist/src/ui/components/shared/text-buffer.js.map +1 -1
  279. package/dist/src/ui/components/shared/vim-buffer-actions.d.ts +1 -1
  280. package/dist/src/ui/components/shared/vim-buffer-actions.js.map +1 -1
  281. package/dist/src/ui/constants.d.ts +8 -0
  282. package/dist/src/ui/constants.js +9 -0
  283. package/dist/src/ui/constants.js.map +1 -1
  284. package/dist/src/ui/contexts/KeypressContext.d.ts +4 -3
  285. package/dist/src/ui/contexts/KeypressContext.js +34 -25
  286. package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
  287. package/dist/src/ui/contexts/KeypressContext.test.js +176 -10
  288. package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
  289. package/dist/src/ui/contexts/OverflowContext.d.ts +1 -1
  290. package/dist/src/ui/contexts/OverflowContext.js +0 -5
  291. package/dist/src/ui/contexts/OverflowContext.js.map +1 -1
  292. package/dist/src/ui/contexts/SessionContext.d.ts +2 -2
  293. package/dist/src/ui/contexts/SessionContext.js +1 -6
  294. package/dist/src/ui/contexts/SessionContext.js.map +1 -1
  295. package/dist/src/ui/contexts/SettingsContext.d.ts +1 -1
  296. package/dist/src/ui/contexts/StreamingContext.d.ts +1 -1
  297. package/dist/src/ui/contexts/VimModeContext.d.ts +1 -1
  298. package/dist/src/ui/contexts/VimModeContext.js +4 -4
  299. package/dist/src/ui/contexts/VimModeContext.js.map +1 -1
  300. package/dist/src/ui/hooks/atCommandProcessor.d.ts +3 -3
  301. package/dist/src/ui/hooks/atCommandProcessor.js +3 -4
  302. package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
  303. package/dist/src/ui/hooks/atCommandProcessor.test.js +12 -4
  304. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
  305. package/dist/src/ui/hooks/shellCommandProcessor.d.ts +3 -3
  306. package/dist/src/ui/hooks/shellCommandProcessor.js +7 -6
  307. package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -1
  308. package/dist/src/ui/hooks/shellCommandProcessor.test.js +5 -4
  309. package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
  310. package/dist/src/ui/hooks/slashCommandProcessor.d.ts +5 -4
  311. package/dist/src/ui/hooks/slashCommandProcessor.js +3 -1
  312. package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
  313. package/dist/src/ui/hooks/useAtCompletion.d.ts +2 -2
  314. package/dist/src/ui/hooks/useAtCompletion.js +3 -2
  315. package/dist/src/ui/hooks/useAtCompletion.js.map +1 -1
  316. package/dist/src/ui/hooks/useAuthCommand.d.ts +2 -2
  317. package/dist/src/ui/hooks/useAuthCommand.js +5 -4
  318. package/dist/src/ui/hooks/useAuthCommand.js.map +1 -1
  319. package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +3 -1
  320. package/dist/src/ui/hooks/useAutoAcceptIndicator.js +13 -4
  321. package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +1 -1
  322. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +122 -2
  323. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -1
  324. package/dist/src/ui/hooks/useCommandCompletion.d.ts +5 -5
  325. package/dist/src/ui/hooks/useCommandCompletion.js +2 -2
  326. package/dist/src/ui/hooks/useCommandCompletion.js.map +1 -1
  327. package/dist/src/ui/hooks/useCompletion.d.ts +1 -1
  328. package/dist/src/ui/hooks/useCompletion.js +1 -1
  329. package/dist/src/ui/hooks/useCompletion.js.map +1 -1
  330. package/dist/src/ui/hooks/useConsoleMessages.d.ts +1 -1
  331. package/dist/src/ui/hooks/useEditorSettings.d.ts +2 -2
  332. package/dist/src/ui/hooks/useEditorSettings.js.map +1 -1
  333. package/dist/src/ui/hooks/useEditorSettings.test.js.map +1 -1
  334. package/dist/src/ui/hooks/useFolderTrust.d.ts +1 -1
  335. package/dist/src/ui/hooks/useFolderTrust.js +3 -2
  336. package/dist/src/ui/hooks/useFolderTrust.js.map +1 -1
  337. package/dist/src/ui/hooks/useGeminiStream.d.ts +4 -4
  338. package/dist/src/ui/hooks/useGeminiStream.js +35 -37
  339. package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
  340. package/dist/src/ui/hooks/useGitBranchName.js +1 -1
  341. package/dist/src/ui/hooks/useGitBranchName.js.map +1 -1
  342. package/dist/src/ui/hooks/useGitBranchName.test.js +1 -1
  343. package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
  344. package/dist/src/ui/hooks/useHistoryManager.d.ts +1 -1
  345. package/dist/src/ui/hooks/useKeypress.d.ts +2 -2
  346. package/dist/src/ui/hooks/useKeypress.js +1 -1
  347. package/dist/src/ui/hooks/useKeypress.js.map +1 -1
  348. package/dist/src/ui/hooks/useLogger.d.ts +2 -1
  349. package/dist/src/ui/hooks/useLogger.js.map +1 -1
  350. package/dist/src/ui/hooks/usePrivacySettings.d.ts +1 -1
  351. package/dist/src/ui/hooks/usePrivacySettings.js.map +1 -1
  352. package/dist/src/ui/hooks/usePrivacySettings.test.js.map +1 -1
  353. package/dist/src/ui/hooks/usePromptCompletion.d.ts +2 -2
  354. package/dist/src/ui/hooks/usePromptCompletion.js +3 -2
  355. package/dist/src/ui/hooks/usePromptCompletion.js.map +1 -1
  356. package/dist/src/ui/hooks/useReactToolScheduler.d.ts +2 -2
  357. package/dist/src/ui/hooks/useReactToolScheduler.js +2 -2
  358. package/dist/src/ui/hooks/useReactToolScheduler.js.map +1 -1
  359. package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +2 -2
  360. package/dist/src/ui/hooks/useShellHistory.js +2 -2
  361. package/dist/src/ui/hooks/useShellHistory.js.map +1 -1
  362. package/dist/src/ui/hooks/useShellHistory.test.js +4 -4
  363. package/dist/src/ui/hooks/useShellHistory.test.js.map +1 -1
  364. package/dist/src/ui/hooks/useShowMemoryCommand.d.ts +3 -3
  365. package/dist/src/ui/hooks/useShowMemoryCommand.js +1 -1
  366. package/dist/src/ui/hooks/useShowMemoryCommand.js.map +1 -1
  367. package/dist/src/ui/hooks/useSlashCompletion.d.ts +2 -2
  368. package/dist/src/ui/hooks/useThemeCommand.d.ts +1 -1
  369. package/dist/src/ui/hooks/useThemeCommand.js +8 -8
  370. package/dist/src/ui/hooks/useThemeCommand.js.map +1 -1
  371. package/dist/src/ui/hooks/useToolScheduler.test.js +41 -30
  372. package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
  373. package/dist/src/ui/hooks/useWorkspaceMigration.d.ts +13 -0
  374. package/dist/src/ui/hooks/useWorkspaceMigration.js +53 -0
  375. package/dist/src/ui/hooks/useWorkspaceMigration.js.map +1 -0
  376. package/dist/src/ui/keyMatchers.d.ts +2 -1
  377. package/dist/src/ui/keyMatchers.js +1 -1
  378. package/dist/src/ui/keyMatchers.js.map +1 -1
  379. package/dist/src/ui/keyMatchers.test.js.map +1 -1
  380. package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +1 -1
  381. package/dist/src/ui/semantic-colors.d.ts +1 -1
  382. package/dist/src/ui/themes/atom-one-dark.js +1 -2
  383. package/dist/src/ui/themes/atom-one-dark.js.map +1 -1
  384. package/dist/src/ui/themes/ayu-light.js +1 -2
  385. package/dist/src/ui/themes/ayu-light.js.map +1 -1
  386. package/dist/src/ui/themes/ayu.js +1 -2
  387. package/dist/src/ui/themes/ayu.js.map +1 -1
  388. package/dist/src/ui/themes/default-light.js +1 -2
  389. package/dist/src/ui/themes/default-light.js.map +1 -1
  390. package/dist/src/ui/themes/default.js +1 -2
  391. package/dist/src/ui/themes/default.js.map +1 -1
  392. package/dist/src/ui/themes/dracula.js +1 -2
  393. package/dist/src/ui/themes/dracula.js.map +1 -1
  394. package/dist/src/ui/themes/github-dark.js +1 -2
  395. package/dist/src/ui/themes/github-dark.js.map +1 -1
  396. package/dist/src/ui/themes/github-light.js +1 -2
  397. package/dist/src/ui/themes/github-light.js.map +1 -1
  398. package/dist/src/ui/themes/googlecode.js +2 -3
  399. package/dist/src/ui/themes/googlecode.js.map +1 -1
  400. package/dist/src/ui/themes/no-color.js.map +1 -1
  401. package/dist/src/ui/themes/shades-of-purple.js +1 -2
  402. package/dist/src/ui/themes/shades-of-purple.js.map +1 -1
  403. package/dist/src/ui/themes/theme-manager.d.ts +4 -2
  404. package/dist/src/ui/themes/theme-manager.js +73 -6
  405. package/dist/src/ui/themes/theme-manager.js.map +1 -1
  406. package/dist/src/ui/themes/theme-manager.test.js +60 -1
  407. package/dist/src/ui/themes/theme-manager.test.js.map +1 -1
  408. package/dist/src/ui/themes/theme.d.ts +3 -3
  409. package/dist/src/ui/themes/theme.js +30 -2
  410. package/dist/src/ui/themes/theme.js.map +1 -1
  411. package/dist/src/ui/themes/xcode.js +1 -2
  412. package/dist/src/ui/themes/xcode.js.map +1 -1
  413. package/dist/src/ui/types.d.ts +4 -2
  414. package/dist/src/ui/types.js.map +1 -1
  415. package/dist/src/ui/utils/CodeColorizer.d.ts +2 -2
  416. package/dist/src/ui/utils/CodeColorizer.js +1 -1
  417. package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
  418. package/dist/src/ui/utils/ConsolePatcher.d.ts +1 -1
  419. package/dist/src/ui/utils/ConsolePatcher.js +1 -1
  420. package/dist/src/ui/utils/ConsolePatcher.js.map +1 -1
  421. package/dist/src/ui/utils/MarkdownDisplay.js +2 -1
  422. package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -1
  423. package/dist/src/ui/utils/MarkdownDisplay.test.js +17 -16
  424. package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -1
  425. package/dist/src/ui/utils/clipboardUtils.js +4 -4
  426. package/dist/src/ui/utils/clipboardUtils.js.map +1 -1
  427. package/dist/src/ui/utils/commandUtils.d.ts +1 -1
  428. package/dist/src/ui/utils/commandUtils.js +32 -6
  429. package/dist/src/ui/utils/commandUtils.js.map +1 -1
  430. package/dist/src/ui/utils/commandUtils.test.js +67 -9
  431. package/dist/src/ui/utils/commandUtils.test.js.map +1 -1
  432. package/dist/src/ui/utils/computeStats.d.ts +1 -1
  433. package/dist/src/ui/utils/platformConstants.d.ts +9 -0
  434. package/dist/src/ui/utils/platformConstants.js +9 -0
  435. package/dist/src/ui/utils/platformConstants.js.map +1 -1
  436. package/dist/src/ui/utils/terminalSetup.js +5 -5
  437. package/dist/src/ui/utils/terminalSetup.js.map +1 -1
  438. package/dist/src/ui/utils/textUtils.js +1 -1
  439. package/dist/src/ui/utils/textUtils.js.map +1 -1
  440. package/dist/src/ui/utils/updateCheck.d.ts +1 -1
  441. package/dist/src/ui/utils/updateCheck.js.map +1 -1
  442. package/dist/src/utils/cleanup.js +2 -2
  443. package/dist/src/utils/cleanup.js.map +1 -1
  444. package/dist/src/utils/dialogScopeUtils.d.ts +2 -1
  445. package/dist/src/utils/dialogScopeUtils.js.map +1 -1
  446. package/dist/src/utils/errors.d.ts +6 -0
  447. package/dist/src/utils/errors.js +12 -0
  448. package/dist/src/utils/errors.js.map +1 -0
  449. package/dist/src/utils/events.d.ts +1 -1
  450. package/dist/src/utils/events.js +1 -1
  451. package/dist/src/utils/events.js.map +1 -1
  452. package/dist/src/utils/gitUtils.js +1 -1
  453. package/dist/src/utils/gitUtils.js.map +1 -1
  454. package/dist/src/utils/gitUtils.test.js +4 -4
  455. package/dist/src/utils/gitUtils.test.js.map +1 -1
  456. package/dist/src/utils/handleAutoUpdate.d.ts +4 -4
  457. package/dist/src/utils/handleAutoUpdate.js +4 -3
  458. package/dist/src/utils/handleAutoUpdate.js.map +1 -1
  459. package/dist/src/utils/installationInfo.js +3 -3
  460. package/dist/src/utils/installationInfo.js.map +1 -1
  461. package/dist/src/utils/installationInfo.test.js +3 -3
  462. package/dist/src/utils/installationInfo.test.js.map +1 -1
  463. package/dist/src/utils/package.js +2 -2
  464. package/dist/src/utils/package.js.map +1 -1
  465. package/dist/src/utils/readStdin.js +15 -0
  466. package/dist/src/utils/readStdin.js.map +1 -1
  467. package/dist/src/utils/readStdin.test.d.ts +6 -0
  468. package/dist/src/utils/readStdin.test.js +88 -0
  469. package/dist/src/utils/readStdin.test.js.map +1 -0
  470. package/dist/src/utils/resolvePath.js +2 -2
  471. package/dist/src/utils/resolvePath.js.map +1 -1
  472. package/dist/src/utils/sandbox.d.ts +1 -1
  473. package/dist/src/utils/sandbox.js +13 -21
  474. package/dist/src/utils/sandbox.js.map +1 -1
  475. package/dist/src/utils/settingsUtils.d.ts +2 -2
  476. package/dist/src/utils/settingsUtils.js +2 -8
  477. package/dist/src/utils/settingsUtils.js.map +1 -1
  478. package/dist/src/utils/settingsUtils.test.js +145 -148
  479. package/dist/src/utils/settingsUtils.test.js.map +1 -1
  480. package/dist/src/utils/spawnWrapper.d.ts +1 -1
  481. package/dist/src/utils/spawnWrapper.js +1 -1
  482. package/dist/src/utils/spawnWrapper.js.map +1 -1
  483. package/dist/src/utils/startupWarnings.js +2 -2
  484. package/dist/src/utils/startupWarnings.js.map +1 -1
  485. package/dist/src/utils/updateEventEmitter.d.ts +1 -1
  486. package/dist/src/utils/updateEventEmitter.js +1 -1
  487. package/dist/src/utils/updateEventEmitter.js.map +1 -1
  488. package/dist/src/utils/userStartupWarnings.js +3 -3
  489. package/dist/src/utils/userStartupWarnings.js.map +1 -1
  490. package/dist/src/utils/userStartupWarnings.test.js +3 -3
  491. package/dist/src/utils/userStartupWarnings.test.js.map +1 -1
  492. package/dist/src/validateNonInterActiveAuth.d.ts +2 -1
  493. package/dist/src/validateNonInterActiveAuth.js.map +1 -1
  494. package/dist/src/zed-integration/acp.d.ts +1 -1
  495. package/dist/src/zed-integration/acp.js +2 -1
  496. package/dist/src/zed-integration/acp.js.map +1 -1
  497. package/dist/src/zed-integration/fileSystemService.d.ts +2 -2
  498. package/dist/src/zed-integration/schema.d.ts +422 -319
  499. package/dist/src/zed-integration/schema.js +7 -1
  500. package/dist/src/zed-integration/schema.js.map +1 -1
  501. package/dist/src/zed-integration/zedIntegration.d.ts +4 -4
  502. package/dist/src/zed-integration/zedIntegration.js +188 -152
  503. package/dist/src/zed-integration/zedIntegration.js.map +1 -1
  504. package/dist/tsconfig.tsbuildinfo +1 -1
  505. package/package.json +6 -6
@@ -47,6 +47,7 @@ export type EnvVariable = z.infer<typeof envVariableSchema>;
47
47
  export type McpServer = z.infer<typeof mcpServerSchema>;
48
48
  export type AgentCapabilities = z.infer<typeof agentCapabilitiesSchema>;
49
49
  export type AuthMethod = z.infer<typeof authMethodSchema>;
50
+ export type PromptCapabilities = z.infer<typeof promptCapabilitiesSchema>;
50
51
  export type ClientResponse = z.infer<typeof clientResponseSchema>;
51
52
  export type ClientNotification = z.infer<typeof clientNotificationSchema>;
52
53
  export type EmbeddedResourceResource = z.infer<typeof embeddedResourceResourceSchema>;
@@ -312,12 +313,48 @@ export declare const mcpServerSchema: z.ZodObject<{
312
313
  value: string;
313
314
  }[];
314
315
  }>;
316
+ export declare const promptCapabilitiesSchema: z.ZodObject<{
317
+ audio: z.ZodOptional<z.ZodBoolean>;
318
+ embeddedContext: z.ZodOptional<z.ZodBoolean>;
319
+ image: z.ZodOptional<z.ZodBoolean>;
320
+ }, "strip", z.ZodTypeAny, {
321
+ audio?: boolean | undefined;
322
+ image?: boolean | undefined;
323
+ embeddedContext?: boolean | undefined;
324
+ }, {
325
+ audio?: boolean | undefined;
326
+ image?: boolean | undefined;
327
+ embeddedContext?: boolean | undefined;
328
+ }>;
315
329
  export declare const agentCapabilitiesSchema: z.ZodObject<{
316
- loadSession: z.ZodBoolean;
330
+ loadSession: z.ZodOptional<z.ZodBoolean>;
331
+ promptCapabilities: z.ZodOptional<z.ZodObject<{
332
+ audio: z.ZodOptional<z.ZodBoolean>;
333
+ embeddedContext: z.ZodOptional<z.ZodBoolean>;
334
+ image: z.ZodOptional<z.ZodBoolean>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ audio?: boolean | undefined;
337
+ image?: boolean | undefined;
338
+ embeddedContext?: boolean | undefined;
339
+ }, {
340
+ audio?: boolean | undefined;
341
+ image?: boolean | undefined;
342
+ embeddedContext?: boolean | undefined;
343
+ }>>;
317
344
  }, "strip", z.ZodTypeAny, {
318
- loadSession: boolean;
345
+ loadSession?: boolean | undefined;
346
+ promptCapabilities?: {
347
+ audio?: boolean | undefined;
348
+ image?: boolean | undefined;
349
+ embeddedContext?: boolean | undefined;
350
+ } | undefined;
319
351
  }, {
320
- loadSession: boolean;
352
+ loadSession?: boolean | undefined;
353
+ promptCapabilities?: {
354
+ audio?: boolean | undefined;
355
+ image?: boolean | undefined;
356
+ embeddedContext?: boolean | undefined;
357
+ } | undefined;
321
358
  }>;
322
359
  export declare const authMethodSchema: z.ZodObject<{
323
360
  description: z.ZodNullable<z.ZodString>;
@@ -519,11 +556,34 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
519
556
  }>;
520
557
  export declare const initializeResponseSchema: z.ZodObject<{
521
558
  agentCapabilities: z.ZodObject<{
522
- loadSession: z.ZodBoolean;
559
+ loadSession: z.ZodOptional<z.ZodBoolean>;
560
+ promptCapabilities: z.ZodOptional<z.ZodObject<{
561
+ audio: z.ZodOptional<z.ZodBoolean>;
562
+ embeddedContext: z.ZodOptional<z.ZodBoolean>;
563
+ image: z.ZodOptional<z.ZodBoolean>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ audio?: boolean | undefined;
566
+ image?: boolean | undefined;
567
+ embeddedContext?: boolean | undefined;
568
+ }, {
569
+ audio?: boolean | undefined;
570
+ image?: boolean | undefined;
571
+ embeddedContext?: boolean | undefined;
572
+ }>>;
523
573
  }, "strip", z.ZodTypeAny, {
524
- loadSession: boolean;
574
+ loadSession?: boolean | undefined;
575
+ promptCapabilities?: {
576
+ audio?: boolean | undefined;
577
+ image?: boolean | undefined;
578
+ embeddedContext?: boolean | undefined;
579
+ } | undefined;
525
580
  }, {
526
- loadSession: boolean;
581
+ loadSession?: boolean | undefined;
582
+ promptCapabilities?: {
583
+ audio?: boolean | undefined;
584
+ image?: boolean | undefined;
585
+ embeddedContext?: boolean | undefined;
586
+ } | undefined;
527
587
  }>;
528
588
  authMethods: z.ZodArray<z.ZodObject<{
529
589
  description: z.ZodNullable<z.ZodString>;
@@ -541,7 +601,12 @@ export declare const initializeResponseSchema: z.ZodObject<{
541
601
  protocolVersion: z.ZodNumber;
542
602
  }, "strip", z.ZodTypeAny, {
543
603
  agentCapabilities: {
544
- loadSession: boolean;
604
+ loadSession?: boolean | undefined;
605
+ promptCapabilities?: {
606
+ audio?: boolean | undefined;
607
+ image?: boolean | undefined;
608
+ embeddedContext?: boolean | undefined;
609
+ } | undefined;
545
610
  };
546
611
  authMethods: {
547
612
  id: string;
@@ -551,7 +616,12 @@ export declare const initializeResponseSchema: z.ZodObject<{
551
616
  protocolVersion: number;
552
617
  }, {
553
618
  agentCapabilities: {
554
- loadSession: boolean;
619
+ loadSession?: boolean | undefined;
620
+ promptCapabilities?: {
621
+ audio?: boolean | undefined;
622
+ image?: boolean | undefined;
623
+ embeddedContext?: boolean | undefined;
624
+ } | undefined;
555
625
  };
556
626
  authMethods: {
557
627
  id: string;
@@ -610,8 +680,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
610
680
  mimeType: z.ZodString;
611
681
  type: z.ZodLiteral<"image">;
612
682
  }, "strip", z.ZodTypeAny, {
613
- type: "image";
614
683
  data: string;
684
+ type: "image";
615
685
  mimeType: string;
616
686
  annotations?: {
617
687
  priority?: number | null | undefined;
@@ -619,8 +689,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
619
689
  lastModified?: string | null | undefined;
620
690
  } | null | undefined;
621
691
  }, {
622
- type: "image";
623
692
  data: string;
693
+ type: "image";
624
694
  mimeType: string;
625
695
  annotations?: {
626
696
  priority?: number | null | undefined;
@@ -645,8 +715,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
645
715
  mimeType: z.ZodString;
646
716
  type: z.ZodLiteral<"audio">;
647
717
  }, "strip", z.ZodTypeAny, {
648
- type: "audio";
649
718
  data: string;
719
+ type: "audio";
650
720
  mimeType: string;
651
721
  annotations?: {
652
722
  priority?: number | null | undefined;
@@ -654,8 +724,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
654
724
  lastModified?: string | null | undefined;
655
725
  } | null | undefined;
656
726
  }, {
657
- type: "audio";
658
727
  data: string;
728
+ type: "audio";
659
729
  mimeType: string;
660
730
  annotations?: {
661
731
  priority?: number | null | undefined;
@@ -833,8 +903,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
833
903
  mimeType: z.ZodString;
834
904
  type: z.ZodLiteral<"image">;
835
905
  }, "strip", z.ZodTypeAny, {
836
- type: "image";
837
906
  data: string;
907
+ type: "image";
838
908
  mimeType: string;
839
909
  annotations?: {
840
910
  priority?: number | null | undefined;
@@ -842,8 +912,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
842
912
  lastModified?: string | null | undefined;
843
913
  } | null | undefined;
844
914
  }, {
845
- type: "image";
846
915
  data: string;
916
+ type: "image";
847
917
  mimeType: string;
848
918
  annotations?: {
849
919
  priority?: number | null | undefined;
@@ -868,8 +938,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
868
938
  mimeType: z.ZodString;
869
939
  type: z.ZodLiteral<"audio">;
870
940
  }, "strip", z.ZodTypeAny, {
871
- type: "audio";
872
941
  data: string;
942
+ type: "audio";
873
943
  mimeType: string;
874
944
  annotations?: {
875
945
  priority?: number | null | undefined;
@@ -877,8 +947,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
877
947
  lastModified?: string | null | undefined;
878
948
  } | null | undefined;
879
949
  }, {
880
- type: "audio";
881
950
  data: string;
951
+ type: "audio";
882
952
  mimeType: string;
883
953
  annotations?: {
884
954
  priority?: number | null | undefined;
@@ -1007,7 +1077,6 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1007
1077
  }>]>;
1008
1078
  type: z.ZodLiteral<"content">;
1009
1079
  }, "strip", z.ZodTypeAny, {
1010
- type: "content";
1011
1080
  content: {
1012
1081
  text: string;
1013
1082
  type: "text";
@@ -1017,8 +1086,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1017
1086
  lastModified?: string | null | undefined;
1018
1087
  } | null | undefined;
1019
1088
  } | {
1020
- type: "image";
1021
1089
  data: string;
1090
+ type: "image";
1022
1091
  mimeType: string;
1023
1092
  annotations?: {
1024
1093
  priority?: number | null | undefined;
@@ -1026,8 +1095,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1026
1095
  lastModified?: string | null | undefined;
1027
1096
  } | null | undefined;
1028
1097
  } | {
1029
- type: "audio";
1030
1098
  data: string;
1099
+ type: "audio";
1031
1100
  mimeType: string;
1032
1101
  annotations?: {
1033
1102
  priority?: number | null | undefined;
@@ -1064,8 +1133,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1064
1133
  lastModified?: string | null | undefined;
1065
1134
  } | null | undefined;
1066
1135
  };
1067
- }, {
1068
1136
  type: "content";
1137
+ }, {
1069
1138
  content: {
1070
1139
  text: string;
1071
1140
  type: "text";
@@ -1075,8 +1144,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1075
1144
  lastModified?: string | null | undefined;
1076
1145
  } | null | undefined;
1077
1146
  } | {
1078
- type: "image";
1079
1147
  data: string;
1148
+ type: "image";
1080
1149
  mimeType: string;
1081
1150
  annotations?: {
1082
1151
  priority?: number | null | undefined;
@@ -1084,8 +1153,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1084
1153
  lastModified?: string | null | undefined;
1085
1154
  } | null | undefined;
1086
1155
  } | {
1087
- type: "audio";
1088
1156
  data: string;
1157
+ type: "audio";
1089
1158
  mimeType: string;
1090
1159
  annotations?: {
1091
1160
  priority?: number | null | undefined;
@@ -1122,6 +1191,7 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1122
1191
  lastModified?: string | null | undefined;
1123
1192
  } | null | undefined;
1124
1193
  };
1194
+ type: "content";
1125
1195
  }>, z.ZodObject<{
1126
1196
  newText: z.ZodString;
1127
1197
  oldText: z.ZodNullable<z.ZodString>;
@@ -1190,8 +1260,8 @@ export declare const toolCallSchema: z.ZodObject<{
1190
1260
  mimeType: z.ZodString;
1191
1261
  type: z.ZodLiteral<"image">;
1192
1262
  }, "strip", z.ZodTypeAny, {
1193
- type: "image";
1194
1263
  data: string;
1264
+ type: "image";
1195
1265
  mimeType: string;
1196
1266
  annotations?: {
1197
1267
  priority?: number | null | undefined;
@@ -1199,8 +1269,8 @@ export declare const toolCallSchema: z.ZodObject<{
1199
1269
  lastModified?: string | null | undefined;
1200
1270
  } | null | undefined;
1201
1271
  }, {
1202
- type: "image";
1203
1272
  data: string;
1273
+ type: "image";
1204
1274
  mimeType: string;
1205
1275
  annotations?: {
1206
1276
  priority?: number | null | undefined;
@@ -1225,8 +1295,8 @@ export declare const toolCallSchema: z.ZodObject<{
1225
1295
  mimeType: z.ZodString;
1226
1296
  type: z.ZodLiteral<"audio">;
1227
1297
  }, "strip", z.ZodTypeAny, {
1228
- type: "audio";
1229
1298
  data: string;
1299
+ type: "audio";
1230
1300
  mimeType: string;
1231
1301
  annotations?: {
1232
1302
  priority?: number | null | undefined;
@@ -1234,8 +1304,8 @@ export declare const toolCallSchema: z.ZodObject<{
1234
1304
  lastModified?: string | null | undefined;
1235
1305
  } | null | undefined;
1236
1306
  }, {
1237
- type: "audio";
1238
1307
  data: string;
1308
+ type: "audio";
1239
1309
  mimeType: string;
1240
1310
  annotations?: {
1241
1311
  priority?: number | null | undefined;
@@ -1364,7 +1434,6 @@ export declare const toolCallSchema: z.ZodObject<{
1364
1434
  }>]>;
1365
1435
  type: z.ZodLiteral<"content">;
1366
1436
  }, "strip", z.ZodTypeAny, {
1367
- type: "content";
1368
1437
  content: {
1369
1438
  text: string;
1370
1439
  type: "text";
@@ -1374,8 +1443,8 @@ export declare const toolCallSchema: z.ZodObject<{
1374
1443
  lastModified?: string | null | undefined;
1375
1444
  } | null | undefined;
1376
1445
  } | {
1377
- type: "image";
1378
1446
  data: string;
1447
+ type: "image";
1379
1448
  mimeType: string;
1380
1449
  annotations?: {
1381
1450
  priority?: number | null | undefined;
@@ -1383,8 +1452,8 @@ export declare const toolCallSchema: z.ZodObject<{
1383
1452
  lastModified?: string | null | undefined;
1384
1453
  } | null | undefined;
1385
1454
  } | {
1386
- type: "audio";
1387
1455
  data: string;
1456
+ type: "audio";
1388
1457
  mimeType: string;
1389
1458
  annotations?: {
1390
1459
  priority?: number | null | undefined;
@@ -1421,8 +1490,8 @@ export declare const toolCallSchema: z.ZodObject<{
1421
1490
  lastModified?: string | null | undefined;
1422
1491
  } | null | undefined;
1423
1492
  };
1424
- }, {
1425
1493
  type: "content";
1494
+ }, {
1426
1495
  content: {
1427
1496
  text: string;
1428
1497
  type: "text";
@@ -1432,8 +1501,8 @@ export declare const toolCallSchema: z.ZodObject<{
1432
1501
  lastModified?: string | null | undefined;
1433
1502
  } | null | undefined;
1434
1503
  } | {
1435
- type: "image";
1436
1504
  data: string;
1505
+ type: "image";
1437
1506
  mimeType: string;
1438
1507
  annotations?: {
1439
1508
  priority?: number | null | undefined;
@@ -1441,8 +1510,8 @@ export declare const toolCallSchema: z.ZodObject<{
1441
1510
  lastModified?: string | null | undefined;
1442
1511
  } | null | undefined;
1443
1512
  } | {
1444
- type: "audio";
1445
1513
  data: string;
1514
+ type: "audio";
1446
1515
  mimeType: string;
1447
1516
  annotations?: {
1448
1517
  priority?: number | null | undefined;
@@ -1479,6 +1548,7 @@ export declare const toolCallSchema: z.ZodObject<{
1479
1548
  lastModified?: string | null | undefined;
1480
1549
  } | null | undefined;
1481
1550
  };
1551
+ type: "content";
1482
1552
  }>, z.ZodObject<{
1483
1553
  newText: z.ZodString;
1484
1554
  oldText: z.ZodNullable<z.ZodString>;
@@ -1516,7 +1586,6 @@ export declare const toolCallSchema: z.ZodObject<{
1516
1586
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1517
1587
  toolCallId: string;
1518
1588
  content?: ({
1519
- type: "content";
1520
1589
  content: {
1521
1590
  text: string;
1522
1591
  type: "text";
@@ -1526,8 +1595,8 @@ export declare const toolCallSchema: z.ZodObject<{
1526
1595
  lastModified?: string | null | undefined;
1527
1596
  } | null | undefined;
1528
1597
  } | {
1529
- type: "image";
1530
1598
  data: string;
1599
+ type: "image";
1531
1600
  mimeType: string;
1532
1601
  annotations?: {
1533
1602
  priority?: number | null | undefined;
@@ -1535,8 +1604,8 @@ export declare const toolCallSchema: z.ZodObject<{
1535
1604
  lastModified?: string | null | undefined;
1536
1605
  } | null | undefined;
1537
1606
  } | {
1538
- type: "audio";
1539
1607
  data: string;
1608
+ type: "audio";
1540
1609
  mimeType: string;
1541
1610
  annotations?: {
1542
1611
  priority?: number | null | undefined;
@@ -1573,6 +1642,7 @@ export declare const toolCallSchema: z.ZodObject<{
1573
1642
  lastModified?: string | null | undefined;
1574
1643
  } | null | undefined;
1575
1644
  };
1645
+ type: "content";
1576
1646
  } | {
1577
1647
  type: "diff";
1578
1648
  path: string;
@@ -1590,7 +1660,6 @@ export declare const toolCallSchema: z.ZodObject<{
1590
1660
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1591
1661
  toolCallId: string;
1592
1662
  content?: ({
1593
- type: "content";
1594
1663
  content: {
1595
1664
  text: string;
1596
1665
  type: "text";
@@ -1600,8 +1669,8 @@ export declare const toolCallSchema: z.ZodObject<{
1600
1669
  lastModified?: string | null | undefined;
1601
1670
  } | null | undefined;
1602
1671
  } | {
1603
- type: "image";
1604
1672
  data: string;
1673
+ type: "image";
1605
1674
  mimeType: string;
1606
1675
  annotations?: {
1607
1676
  priority?: number | null | undefined;
@@ -1609,8 +1678,8 @@ export declare const toolCallSchema: z.ZodObject<{
1609
1678
  lastModified?: string | null | undefined;
1610
1679
  } | null | undefined;
1611
1680
  } | {
1612
- type: "audio";
1613
1681
  data: string;
1682
+ type: "audio";
1614
1683
  mimeType: string;
1615
1684
  annotations?: {
1616
1685
  priority?: number | null | undefined;
@@ -1647,6 +1716,7 @@ export declare const toolCallSchema: z.ZodObject<{
1647
1716
  lastModified?: string | null | undefined;
1648
1717
  } | null | undefined;
1649
1718
  };
1719
+ type: "content";
1650
1720
  } | {
1651
1721
  type: "diff";
1652
1722
  path: string;
@@ -1732,8 +1802,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1732
1802
  mimeType: z.ZodString;
1733
1803
  type: z.ZodLiteral<"image">;
1734
1804
  }, "strip", z.ZodTypeAny, {
1735
- type: "image";
1736
1805
  data: string;
1806
+ type: "image";
1737
1807
  mimeType: string;
1738
1808
  annotations?: {
1739
1809
  priority?: number | null | undefined;
@@ -1741,8 +1811,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1741
1811
  lastModified?: string | null | undefined;
1742
1812
  } | null | undefined;
1743
1813
  }, {
1744
- type: "image";
1745
1814
  data: string;
1815
+ type: "image";
1746
1816
  mimeType: string;
1747
1817
  annotations?: {
1748
1818
  priority?: number | null | undefined;
@@ -1767,8 +1837,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1767
1837
  mimeType: z.ZodString;
1768
1838
  type: z.ZodLiteral<"audio">;
1769
1839
  }, "strip", z.ZodTypeAny, {
1770
- type: "audio";
1771
1840
  data: string;
1841
+ type: "audio";
1772
1842
  mimeType: string;
1773
1843
  annotations?: {
1774
1844
  priority?: number | null | undefined;
@@ -1776,8 +1846,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1776
1846
  lastModified?: string | null | undefined;
1777
1847
  } | null | undefined;
1778
1848
  }, {
1779
- type: "audio";
1780
1849
  data: string;
1850
+ type: "audio";
1781
1851
  mimeType: string;
1782
1852
  annotations?: {
1783
1853
  priority?: number | null | undefined;
@@ -1916,8 +1986,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1916
1986
  lastModified?: string | null | undefined;
1917
1987
  } | null | undefined;
1918
1988
  } | {
1919
- type: "image";
1920
1989
  data: string;
1990
+ type: "image";
1921
1991
  mimeType: string;
1922
1992
  annotations?: {
1923
1993
  priority?: number | null | undefined;
@@ -1925,8 +1995,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1925
1995
  lastModified?: string | null | undefined;
1926
1996
  } | null | undefined;
1927
1997
  } | {
1928
- type: "audio";
1929
1998
  data: string;
1999
+ type: "audio";
1930
2000
  mimeType: string;
1931
2001
  annotations?: {
1932
2002
  priority?: number | null | undefined;
@@ -1974,8 +2044,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1974
2044
  lastModified?: string | null | undefined;
1975
2045
  } | null | undefined;
1976
2046
  } | {
1977
- type: "image";
1978
2047
  data: string;
2048
+ type: "image";
1979
2049
  mimeType: string;
1980
2050
  annotations?: {
1981
2051
  priority?: number | null | undefined;
@@ -1983,8 +2053,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1983
2053
  lastModified?: string | null | undefined;
1984
2054
  } | null | undefined;
1985
2055
  } | {
1986
- type: "audio";
1987
2056
  data: string;
2057
+ type: "audio";
1988
2058
  mimeType: string;
1989
2059
  annotations?: {
1990
2060
  priority?: number | null | undefined;
@@ -2073,8 +2143,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2073
2143
  mimeType: z.ZodString;
2074
2144
  type: z.ZodLiteral<"image">;
2075
2145
  }, "strip", z.ZodTypeAny, {
2076
- type: "image";
2077
2146
  data: string;
2147
+ type: "image";
2078
2148
  mimeType: string;
2079
2149
  annotations?: {
2080
2150
  priority?: number | null | undefined;
@@ -2082,8 +2152,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2082
2152
  lastModified?: string | null | undefined;
2083
2153
  } | null | undefined;
2084
2154
  }, {
2085
- type: "image";
2086
2155
  data: string;
2156
+ type: "image";
2087
2157
  mimeType: string;
2088
2158
  annotations?: {
2089
2159
  priority?: number | null | undefined;
@@ -2108,8 +2178,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2108
2178
  mimeType: z.ZodString;
2109
2179
  type: z.ZodLiteral<"audio">;
2110
2180
  }, "strip", z.ZodTypeAny, {
2111
- type: "audio";
2112
2181
  data: string;
2182
+ type: "audio";
2113
2183
  mimeType: string;
2114
2184
  annotations?: {
2115
2185
  priority?: number | null | undefined;
@@ -2117,8 +2187,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2117
2187
  lastModified?: string | null | undefined;
2118
2188
  } | null | undefined;
2119
2189
  }, {
2120
- type: "audio";
2121
2190
  data: string;
2191
+ type: "audio";
2122
2192
  mimeType: string;
2123
2193
  annotations?: {
2124
2194
  priority?: number | null | undefined;
@@ -2256,8 +2326,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2256
2326
  lastModified?: string | null | undefined;
2257
2327
  } | null | undefined;
2258
2328
  } | {
2259
- type: "image";
2260
2329
  data: string;
2330
+ type: "image";
2261
2331
  mimeType: string;
2262
2332
  annotations?: {
2263
2333
  priority?: number | null | undefined;
@@ -2265,8 +2335,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2265
2335
  lastModified?: string | null | undefined;
2266
2336
  } | null | undefined;
2267
2337
  } | {
2268
- type: "audio";
2269
2338
  data: string;
2339
+ type: "audio";
2270
2340
  mimeType: string;
2271
2341
  annotations?: {
2272
2342
  priority?: number | null | undefined;
@@ -2314,8 +2384,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2314
2384
  lastModified?: string | null | undefined;
2315
2385
  } | null | undefined;
2316
2386
  } | {
2317
- type: "image";
2318
2387
  data: string;
2388
+ type: "image";
2319
2389
  mimeType: string;
2320
2390
  annotations?: {
2321
2391
  priority?: number | null | undefined;
@@ -2323,8 +2393,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2323
2393
  lastModified?: string | null | undefined;
2324
2394
  } | null | undefined;
2325
2395
  } | {
2326
- type: "audio";
2327
2396
  data: string;
2397
+ type: "audio";
2328
2398
  mimeType: string;
2329
2399
  annotations?: {
2330
2400
  priority?: number | null | undefined;
@@ -2413,8 +2483,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2413
2483
  mimeType: z.ZodString;
2414
2484
  type: z.ZodLiteral<"image">;
2415
2485
  }, "strip", z.ZodTypeAny, {
2416
- type: "image";
2417
2486
  data: string;
2487
+ type: "image";
2418
2488
  mimeType: string;
2419
2489
  annotations?: {
2420
2490
  priority?: number | null | undefined;
@@ -2422,8 +2492,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2422
2492
  lastModified?: string | null | undefined;
2423
2493
  } | null | undefined;
2424
2494
  }, {
2425
- type: "image";
2426
2495
  data: string;
2496
+ type: "image";
2427
2497
  mimeType: string;
2428
2498
  annotations?: {
2429
2499
  priority?: number | null | undefined;
@@ -2448,8 +2518,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2448
2518
  mimeType: z.ZodString;
2449
2519
  type: z.ZodLiteral<"audio">;
2450
2520
  }, "strip", z.ZodTypeAny, {
2451
- type: "audio";
2452
2521
  data: string;
2522
+ type: "audio";
2453
2523
  mimeType: string;
2454
2524
  annotations?: {
2455
2525
  priority?: number | null | undefined;
@@ -2457,8 +2527,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2457
2527
  lastModified?: string | null | undefined;
2458
2528
  } | null | undefined;
2459
2529
  }, {
2460
- type: "audio";
2461
2530
  data: string;
2531
+ type: "audio";
2462
2532
  mimeType: string;
2463
2533
  annotations?: {
2464
2534
  priority?: number | null | undefined;
@@ -2596,8 +2666,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2596
2666
  lastModified?: string | null | undefined;
2597
2667
  } | null | undefined;
2598
2668
  } | {
2599
- type: "image";
2600
2669
  data: string;
2670
+ type: "image";
2601
2671
  mimeType: string;
2602
2672
  annotations?: {
2603
2673
  priority?: number | null | undefined;
@@ -2605,8 +2675,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2605
2675
  lastModified?: string | null | undefined;
2606
2676
  } | null | undefined;
2607
2677
  } | {
2608
- type: "audio";
2609
2678
  data: string;
2679
+ type: "audio";
2610
2680
  mimeType: string;
2611
2681
  annotations?: {
2612
2682
  priority?: number | null | undefined;
@@ -2654,8 +2724,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2654
2724
  lastModified?: string | null | undefined;
2655
2725
  } | null | undefined;
2656
2726
  } | {
2657
- type: "image";
2658
2727
  data: string;
2728
+ type: "image";
2659
2729
  mimeType: string;
2660
2730
  annotations?: {
2661
2731
  priority?: number | null | undefined;
@@ -2663,8 +2733,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2663
2733
  lastModified?: string | null | undefined;
2664
2734
  } | null | undefined;
2665
2735
  } | {
2666
- type: "audio";
2667
2736
  data: string;
2737
+ type: "audio";
2668
2738
  mimeType: string;
2669
2739
  annotations?: {
2670
2740
  priority?: number | null | undefined;
@@ -2753,8 +2823,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2753
2823
  mimeType: z.ZodString;
2754
2824
  type: z.ZodLiteral<"image">;
2755
2825
  }, "strip", z.ZodTypeAny, {
2756
- type: "image";
2757
2826
  data: string;
2827
+ type: "image";
2758
2828
  mimeType: string;
2759
2829
  annotations?: {
2760
2830
  priority?: number | null | undefined;
@@ -2762,8 +2832,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2762
2832
  lastModified?: string | null | undefined;
2763
2833
  } | null | undefined;
2764
2834
  }, {
2765
- type: "image";
2766
2835
  data: string;
2836
+ type: "image";
2767
2837
  mimeType: string;
2768
2838
  annotations?: {
2769
2839
  priority?: number | null | undefined;
@@ -2788,8 +2858,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2788
2858
  mimeType: z.ZodString;
2789
2859
  type: z.ZodLiteral<"audio">;
2790
2860
  }, "strip", z.ZodTypeAny, {
2791
- type: "audio";
2792
2861
  data: string;
2862
+ type: "audio";
2793
2863
  mimeType: string;
2794
2864
  annotations?: {
2795
2865
  priority?: number | null | undefined;
@@ -2797,8 +2867,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2797
2867
  lastModified?: string | null | undefined;
2798
2868
  } | null | undefined;
2799
2869
  }, {
2800
- type: "audio";
2801
2870
  data: string;
2871
+ type: "audio";
2802
2872
  mimeType: string;
2803
2873
  annotations?: {
2804
2874
  priority?: number | null | undefined;
@@ -2936,8 +3006,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2936
3006
  lastModified?: string | null | undefined;
2937
3007
  } | null | undefined;
2938
3008
  } | {
2939
- type: "image";
2940
3009
  data: string;
3010
+ type: "image";
2941
3011
  mimeType: string;
2942
3012
  annotations?: {
2943
3013
  priority?: number | null | undefined;
@@ -2945,8 +3015,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2945
3015
  lastModified?: string | null | undefined;
2946
3016
  } | null | undefined;
2947
3017
  } | {
2948
- type: "audio";
2949
3018
  data: string;
3019
+ type: "audio";
2950
3020
  mimeType: string;
2951
3021
  annotations?: {
2952
3022
  priority?: number | null | undefined;
@@ -2994,8 +3064,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2994
3064
  lastModified?: string | null | undefined;
2995
3065
  } | null | undefined;
2996
3066
  } | {
2997
- type: "image";
2998
3067
  data: string;
3068
+ type: "image";
2999
3069
  mimeType: string;
3000
3070
  annotations?: {
3001
3071
  priority?: number | null | undefined;
@@ -3003,8 +3073,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3003
3073
  lastModified?: string | null | undefined;
3004
3074
  } | null | undefined;
3005
3075
  } | {
3006
- type: "audio";
3007
3076
  data: string;
3077
+ type: "audio";
3008
3078
  mimeType: string;
3009
3079
  annotations?: {
3010
3080
  priority?: number | null | undefined;
@@ -3094,8 +3164,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3094
3164
  mimeType: z.ZodString;
3095
3165
  type: z.ZodLiteral<"image">;
3096
3166
  }, "strip", z.ZodTypeAny, {
3097
- type: "image";
3098
3167
  data: string;
3168
+ type: "image";
3099
3169
  mimeType: string;
3100
3170
  annotations?: {
3101
3171
  priority?: number | null | undefined;
@@ -3103,8 +3173,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3103
3173
  lastModified?: string | null | undefined;
3104
3174
  } | null | undefined;
3105
3175
  }, {
3106
- type: "image";
3107
3176
  data: string;
3177
+ type: "image";
3108
3178
  mimeType: string;
3109
3179
  annotations?: {
3110
3180
  priority?: number | null | undefined;
@@ -3129,8 +3199,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3129
3199
  mimeType: z.ZodString;
3130
3200
  type: z.ZodLiteral<"audio">;
3131
3201
  }, "strip", z.ZodTypeAny, {
3132
- type: "audio";
3133
3202
  data: string;
3203
+ type: "audio";
3134
3204
  mimeType: string;
3135
3205
  annotations?: {
3136
3206
  priority?: number | null | undefined;
@@ -3138,8 +3208,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3138
3208
  lastModified?: string | null | undefined;
3139
3209
  } | null | undefined;
3140
3210
  }, {
3141
- type: "audio";
3142
3211
  data: string;
3212
+ type: "audio";
3143
3213
  mimeType: string;
3144
3214
  annotations?: {
3145
3215
  priority?: number | null | undefined;
@@ -3268,7 +3338,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3268
3338
  }>]>;
3269
3339
  type: z.ZodLiteral<"content">;
3270
3340
  }, "strip", z.ZodTypeAny, {
3271
- type: "content";
3272
3341
  content: {
3273
3342
  text: string;
3274
3343
  type: "text";
@@ -3278,8 +3347,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3278
3347
  lastModified?: string | null | undefined;
3279
3348
  } | null | undefined;
3280
3349
  } | {
3281
- type: "image";
3282
3350
  data: string;
3351
+ type: "image";
3283
3352
  mimeType: string;
3284
3353
  annotations?: {
3285
3354
  priority?: number | null | undefined;
@@ -3287,8 +3356,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3287
3356
  lastModified?: string | null | undefined;
3288
3357
  } | null | undefined;
3289
3358
  } | {
3290
- type: "audio";
3291
3359
  data: string;
3360
+ type: "audio";
3292
3361
  mimeType: string;
3293
3362
  annotations?: {
3294
3363
  priority?: number | null | undefined;
@@ -3325,8 +3394,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3325
3394
  lastModified?: string | null | undefined;
3326
3395
  } | null | undefined;
3327
3396
  };
3328
- }, {
3329
3397
  type: "content";
3398
+ }, {
3330
3399
  content: {
3331
3400
  text: string;
3332
3401
  type: "text";
@@ -3336,8 +3405,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3336
3405
  lastModified?: string | null | undefined;
3337
3406
  } | null | undefined;
3338
3407
  } | {
3339
- type: "image";
3340
3408
  data: string;
3409
+ type: "image";
3341
3410
  mimeType: string;
3342
3411
  annotations?: {
3343
3412
  priority?: number | null | undefined;
@@ -3345,8 +3414,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3345
3414
  lastModified?: string | null | undefined;
3346
3415
  } | null | undefined;
3347
3416
  } | {
3348
- type: "audio";
3349
3417
  data: string;
3418
+ type: "audio";
3350
3419
  mimeType: string;
3351
3420
  annotations?: {
3352
3421
  priority?: number | null | undefined;
@@ -3383,6 +3452,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3383
3452
  lastModified?: string | null | undefined;
3384
3453
  } | null | undefined;
3385
3454
  };
3455
+ type: "content";
3386
3456
  }>, z.ZodObject<{
3387
3457
  newText: z.ZodString;
3388
3458
  oldText: z.ZodNullable<z.ZodString>;
@@ -3422,7 +3492,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3422
3492
  toolCallId: string;
3423
3493
  sessionUpdate: "tool_call";
3424
3494
  content?: ({
3425
- type: "content";
3426
3495
  content: {
3427
3496
  text: string;
3428
3497
  type: "text";
@@ -3432,8 +3501,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3432
3501
  lastModified?: string | null | undefined;
3433
3502
  } | null | undefined;
3434
3503
  } | {
3435
- type: "image";
3436
3504
  data: string;
3505
+ type: "image";
3437
3506
  mimeType: string;
3438
3507
  annotations?: {
3439
3508
  priority?: number | null | undefined;
@@ -3441,8 +3510,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3441
3510
  lastModified?: string | null | undefined;
3442
3511
  } | null | undefined;
3443
3512
  } | {
3444
- type: "audio";
3445
3513
  data: string;
3514
+ type: "audio";
3446
3515
  mimeType: string;
3447
3516
  annotations?: {
3448
3517
  priority?: number | null | undefined;
@@ -3479,6 +3548,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3479
3548
  lastModified?: string | null | undefined;
3480
3549
  } | null | undefined;
3481
3550
  };
3551
+ type: "content";
3482
3552
  } | {
3483
3553
  type: "diff";
3484
3554
  path: string;
@@ -3497,7 +3567,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3497
3567
  toolCallId: string;
3498
3568
  sessionUpdate: "tool_call";
3499
3569
  content?: ({
3500
- type: "content";
3501
3570
  content: {
3502
3571
  text: string;
3503
3572
  type: "text";
@@ -3507,8 +3576,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3507
3576
  lastModified?: string | null | undefined;
3508
3577
  } | null | undefined;
3509
3578
  } | {
3510
- type: "image";
3511
3579
  data: string;
3580
+ type: "image";
3512
3581
  mimeType: string;
3513
3582
  annotations?: {
3514
3583
  priority?: number | null | undefined;
@@ -3516,8 +3585,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3516
3585
  lastModified?: string | null | undefined;
3517
3586
  } | null | undefined;
3518
3587
  } | {
3519
- type: "audio";
3520
3588
  data: string;
3589
+ type: "audio";
3521
3590
  mimeType: string;
3522
3591
  annotations?: {
3523
3592
  priority?: number | null | undefined;
@@ -3554,6 +3623,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3554
3623
  lastModified?: string | null | undefined;
3555
3624
  } | null | undefined;
3556
3625
  };
3626
+ type: "content";
3557
3627
  } | {
3558
3628
  type: "diff";
3559
3629
  path: string;
@@ -3617,8 +3687,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3617
3687
  mimeType: z.ZodString;
3618
3688
  type: z.ZodLiteral<"image">;
3619
3689
  }, "strip", z.ZodTypeAny, {
3620
- type: "image";
3621
3690
  data: string;
3691
+ type: "image";
3622
3692
  mimeType: string;
3623
3693
  annotations?: {
3624
3694
  priority?: number | null | undefined;
@@ -3626,8 +3696,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3626
3696
  lastModified?: string | null | undefined;
3627
3697
  } | null | undefined;
3628
3698
  }, {
3629
- type: "image";
3630
3699
  data: string;
3700
+ type: "image";
3631
3701
  mimeType: string;
3632
3702
  annotations?: {
3633
3703
  priority?: number | null | undefined;
@@ -3652,8 +3722,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3652
3722
  mimeType: z.ZodString;
3653
3723
  type: z.ZodLiteral<"audio">;
3654
3724
  }, "strip", z.ZodTypeAny, {
3655
- type: "audio";
3656
3725
  data: string;
3726
+ type: "audio";
3657
3727
  mimeType: string;
3658
3728
  annotations?: {
3659
3729
  priority?: number | null | undefined;
@@ -3661,8 +3731,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3661
3731
  lastModified?: string | null | undefined;
3662
3732
  } | null | undefined;
3663
3733
  }, {
3664
- type: "audio";
3665
3734
  data: string;
3735
+ type: "audio";
3666
3736
  mimeType: string;
3667
3737
  annotations?: {
3668
3738
  priority?: number | null | undefined;
@@ -3791,7 +3861,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3791
3861
  }>]>;
3792
3862
  type: z.ZodLiteral<"content">;
3793
3863
  }, "strip", z.ZodTypeAny, {
3794
- type: "content";
3795
3864
  content: {
3796
3865
  text: string;
3797
3866
  type: "text";
@@ -3801,8 +3870,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3801
3870
  lastModified?: string | null | undefined;
3802
3871
  } | null | undefined;
3803
3872
  } | {
3804
- type: "image";
3805
3873
  data: string;
3874
+ type: "image";
3806
3875
  mimeType: string;
3807
3876
  annotations?: {
3808
3877
  priority?: number | null | undefined;
@@ -3810,8 +3879,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3810
3879
  lastModified?: string | null | undefined;
3811
3880
  } | null | undefined;
3812
3881
  } | {
3813
- type: "audio";
3814
3882
  data: string;
3883
+ type: "audio";
3815
3884
  mimeType: string;
3816
3885
  annotations?: {
3817
3886
  priority?: number | null | undefined;
@@ -3848,8 +3917,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3848
3917
  lastModified?: string | null | undefined;
3849
3918
  } | null | undefined;
3850
3919
  };
3851
- }, {
3852
3920
  type: "content";
3921
+ }, {
3853
3922
  content: {
3854
3923
  text: string;
3855
3924
  type: "text";
@@ -3859,8 +3928,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3859
3928
  lastModified?: string | null | undefined;
3860
3929
  } | null | undefined;
3861
3930
  } | {
3862
- type: "image";
3863
3931
  data: string;
3932
+ type: "image";
3864
3933
  mimeType: string;
3865
3934
  annotations?: {
3866
3935
  priority?: number | null | undefined;
@@ -3868,8 +3937,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3868
3937
  lastModified?: string | null | undefined;
3869
3938
  } | null | undefined;
3870
3939
  } | {
3871
- type: "audio";
3872
3940
  data: string;
3941
+ type: "audio";
3873
3942
  mimeType: string;
3874
3943
  annotations?: {
3875
3944
  priority?: number | null | undefined;
@@ -3906,6 +3975,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3906
3975
  lastModified?: string | null | undefined;
3907
3976
  } | null | undefined;
3908
3977
  };
3978
+ type: "content";
3909
3979
  }>, z.ZodObject<{
3910
3980
  newText: z.ZodString;
3911
3981
  oldText: z.ZodNullable<z.ZodString>;
@@ -3942,7 +4012,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3942
4012
  toolCallId: string;
3943
4013
  sessionUpdate: "tool_call_update";
3944
4014
  content?: ({
3945
- type: "content";
3946
4015
  content: {
3947
4016
  text: string;
3948
4017
  type: "text";
@@ -3952,8 +4021,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3952
4021
  lastModified?: string | null | undefined;
3953
4022
  } | null | undefined;
3954
4023
  } | {
3955
- type: "image";
3956
4024
  data: string;
4025
+ type: "image";
3957
4026
  mimeType: string;
3958
4027
  annotations?: {
3959
4028
  priority?: number | null | undefined;
@@ -3961,8 +4030,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3961
4030
  lastModified?: string | null | undefined;
3962
4031
  } | null | undefined;
3963
4032
  } | {
3964
- type: "audio";
3965
4033
  data: string;
4034
+ type: "audio";
3966
4035
  mimeType: string;
3967
4036
  annotations?: {
3968
4037
  priority?: number | null | undefined;
@@ -3999,6 +4068,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3999
4068
  lastModified?: string | null | undefined;
4000
4069
  } | null | undefined;
4001
4070
  };
4071
+ type: "content";
4002
4072
  } | {
4003
4073
  type: "diff";
4004
4074
  path: string;
@@ -4017,7 +4087,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4017
4087
  toolCallId: string;
4018
4088
  sessionUpdate: "tool_call_update";
4019
4089
  content?: ({
4020
- type: "content";
4021
4090
  content: {
4022
4091
  text: string;
4023
4092
  type: "text";
@@ -4027,8 +4096,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4027
4096
  lastModified?: string | null | undefined;
4028
4097
  } | null | undefined;
4029
4098
  } | {
4030
- type: "image";
4031
4099
  data: string;
4100
+ type: "image";
4032
4101
  mimeType: string;
4033
4102
  annotations?: {
4034
4103
  priority?: number | null | undefined;
@@ -4036,8 +4105,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4036
4105
  lastModified?: string | null | undefined;
4037
4106
  } | null | undefined;
4038
4107
  } | {
4039
- type: "audio";
4040
4108
  data: string;
4109
+ type: "audio";
4041
4110
  mimeType: string;
4042
4111
  annotations?: {
4043
4112
  priority?: number | null | undefined;
@@ -4074,6 +4143,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4074
4143
  lastModified?: string | null | undefined;
4075
4144
  } | null | undefined;
4076
4145
  };
4146
+ type: "content";
4077
4147
  } | {
4078
4148
  type: "diff";
4079
4149
  path: string;
@@ -4120,11 +4190,34 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4120
4190
  }>]>;
4121
4191
  export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4122
4192
  agentCapabilities: z.ZodObject<{
4123
- loadSession: z.ZodBoolean;
4193
+ loadSession: z.ZodOptional<z.ZodBoolean>;
4194
+ promptCapabilities: z.ZodOptional<z.ZodObject<{
4195
+ audio: z.ZodOptional<z.ZodBoolean>;
4196
+ embeddedContext: z.ZodOptional<z.ZodBoolean>;
4197
+ image: z.ZodOptional<z.ZodBoolean>;
4198
+ }, "strip", z.ZodTypeAny, {
4199
+ audio?: boolean | undefined;
4200
+ image?: boolean | undefined;
4201
+ embeddedContext?: boolean | undefined;
4202
+ }, {
4203
+ audio?: boolean | undefined;
4204
+ image?: boolean | undefined;
4205
+ embeddedContext?: boolean | undefined;
4206
+ }>>;
4124
4207
  }, "strip", z.ZodTypeAny, {
4125
- loadSession: boolean;
4208
+ loadSession?: boolean | undefined;
4209
+ promptCapabilities?: {
4210
+ audio?: boolean | undefined;
4211
+ image?: boolean | undefined;
4212
+ embeddedContext?: boolean | undefined;
4213
+ } | undefined;
4126
4214
  }, {
4127
- loadSession: boolean;
4215
+ loadSession?: boolean | undefined;
4216
+ promptCapabilities?: {
4217
+ audio?: boolean | undefined;
4218
+ image?: boolean | undefined;
4219
+ embeddedContext?: boolean | undefined;
4220
+ } | undefined;
4128
4221
  }>;
4129
4222
  authMethods: z.ZodArray<z.ZodObject<{
4130
4223
  description: z.ZodNullable<z.ZodString>;
@@ -4142,7 +4235,12 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4142
4235
  protocolVersion: z.ZodNumber;
4143
4236
  }, "strip", z.ZodTypeAny, {
4144
4237
  agentCapabilities: {
4145
- loadSession: boolean;
4238
+ loadSession?: boolean | undefined;
4239
+ promptCapabilities?: {
4240
+ audio?: boolean | undefined;
4241
+ image?: boolean | undefined;
4242
+ embeddedContext?: boolean | undefined;
4243
+ } | undefined;
4146
4244
  };
4147
4245
  authMethods: {
4148
4246
  id: string;
@@ -4152,7 +4250,12 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4152
4250
  protocolVersion: number;
4153
4251
  }, {
4154
4252
  agentCapabilities: {
4155
- loadSession: boolean;
4253
+ loadSession?: boolean | undefined;
4254
+ promptCapabilities?: {
4255
+ audio?: boolean | undefined;
4256
+ image?: boolean | undefined;
4257
+ embeddedContext?: boolean | undefined;
4258
+ } | undefined;
4156
4259
  };
4157
4260
  authMethods: {
4158
4261
  id: string;
@@ -4240,8 +4343,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4240
4343
  mimeType: z.ZodString;
4241
4344
  type: z.ZodLiteral<"image">;
4242
4345
  }, "strip", z.ZodTypeAny, {
4243
- type: "image";
4244
4346
  data: string;
4347
+ type: "image";
4245
4348
  mimeType: string;
4246
4349
  annotations?: {
4247
4350
  priority?: number | null | undefined;
@@ -4249,8 +4352,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4249
4352
  lastModified?: string | null | undefined;
4250
4353
  } | null | undefined;
4251
4354
  }, {
4252
- type: "image";
4253
4355
  data: string;
4356
+ type: "image";
4254
4357
  mimeType: string;
4255
4358
  annotations?: {
4256
4359
  priority?: number | null | undefined;
@@ -4275,8 +4378,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4275
4378
  mimeType: z.ZodString;
4276
4379
  type: z.ZodLiteral<"audio">;
4277
4380
  }, "strip", z.ZodTypeAny, {
4278
- type: "audio";
4279
4381
  data: string;
4382
+ type: "audio";
4280
4383
  mimeType: string;
4281
4384
  annotations?: {
4282
4385
  priority?: number | null | undefined;
@@ -4284,8 +4387,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4284
4387
  lastModified?: string | null | undefined;
4285
4388
  } | null | undefined;
4286
4389
  }, {
4287
- type: "audio";
4288
4390
  data: string;
4391
+ type: "audio";
4289
4392
  mimeType: string;
4290
4393
  annotations?: {
4291
4394
  priority?: number | null | undefined;
@@ -4414,7 +4517,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4414
4517
  }>]>;
4415
4518
  type: z.ZodLiteral<"content">;
4416
4519
  }, "strip", z.ZodTypeAny, {
4417
- type: "content";
4418
4520
  content: {
4419
4521
  text: string;
4420
4522
  type: "text";
@@ -4424,8 +4526,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4424
4526
  lastModified?: string | null | undefined;
4425
4527
  } | null | undefined;
4426
4528
  } | {
4427
- type: "image";
4428
4529
  data: string;
4530
+ type: "image";
4429
4531
  mimeType: string;
4430
4532
  annotations?: {
4431
4533
  priority?: number | null | undefined;
@@ -4433,8 +4535,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4433
4535
  lastModified?: string | null | undefined;
4434
4536
  } | null | undefined;
4435
4537
  } | {
4436
- type: "audio";
4437
4538
  data: string;
4539
+ type: "audio";
4438
4540
  mimeType: string;
4439
4541
  annotations?: {
4440
4542
  priority?: number | null | undefined;
@@ -4471,8 +4573,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4471
4573
  lastModified?: string | null | undefined;
4472
4574
  } | null | undefined;
4473
4575
  };
4474
- }, {
4475
4576
  type: "content";
4577
+ }, {
4476
4578
  content: {
4477
4579
  text: string;
4478
4580
  type: "text";
@@ -4482,8 +4584,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4482
4584
  lastModified?: string | null | undefined;
4483
4585
  } | null | undefined;
4484
4586
  } | {
4485
- type: "image";
4486
4587
  data: string;
4588
+ type: "image";
4487
4589
  mimeType: string;
4488
4590
  annotations?: {
4489
4591
  priority?: number | null | undefined;
@@ -4491,8 +4593,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4491
4593
  lastModified?: string | null | undefined;
4492
4594
  } | null | undefined;
4493
4595
  } | {
4494
- type: "audio";
4495
4596
  data: string;
4597
+ type: "audio";
4496
4598
  mimeType: string;
4497
4599
  annotations?: {
4498
4600
  priority?: number | null | undefined;
@@ -4529,6 +4631,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4529
4631
  lastModified?: string | null | undefined;
4530
4632
  } | null | undefined;
4531
4633
  };
4634
+ type: "content";
4532
4635
  }>, z.ZodObject<{
4533
4636
  newText: z.ZodString;
4534
4637
  oldText: z.ZodNullable<z.ZodString>;
@@ -4566,7 +4669,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4566
4669
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4567
4670
  toolCallId: string;
4568
4671
  content?: ({
4569
- type: "content";
4570
4672
  content: {
4571
4673
  text: string;
4572
4674
  type: "text";
@@ -4576,8 +4678,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4576
4678
  lastModified?: string | null | undefined;
4577
4679
  } | null | undefined;
4578
4680
  } | {
4579
- type: "image";
4580
4681
  data: string;
4682
+ type: "image";
4581
4683
  mimeType: string;
4582
4684
  annotations?: {
4583
4685
  priority?: number | null | undefined;
@@ -4585,8 +4687,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4585
4687
  lastModified?: string | null | undefined;
4586
4688
  } | null | undefined;
4587
4689
  } | {
4588
- type: "audio";
4589
4690
  data: string;
4691
+ type: "audio";
4590
4692
  mimeType: string;
4591
4693
  annotations?: {
4592
4694
  priority?: number | null | undefined;
@@ -4623,6 +4725,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4623
4725
  lastModified?: string | null | undefined;
4624
4726
  } | null | undefined;
4625
4727
  };
4728
+ type: "content";
4626
4729
  } | {
4627
4730
  type: "diff";
4628
4731
  path: string;
@@ -4640,7 +4743,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4640
4743
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4641
4744
  toolCallId: string;
4642
4745
  content?: ({
4643
- type: "content";
4644
4746
  content: {
4645
4747
  text: string;
4646
4748
  type: "text";
@@ -4650,8 +4752,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4650
4752
  lastModified?: string | null | undefined;
4651
4753
  } | null | undefined;
4652
4754
  } | {
4653
- type: "image";
4654
4755
  data: string;
4756
+ type: "image";
4655
4757
  mimeType: string;
4656
4758
  annotations?: {
4657
4759
  priority?: number | null | undefined;
@@ -4659,8 +4761,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4659
4761
  lastModified?: string | null | undefined;
4660
4762
  } | null | undefined;
4661
4763
  } | {
4662
- type: "audio";
4663
4764
  data: string;
4765
+ type: "audio";
4664
4766
  mimeType: string;
4665
4767
  annotations?: {
4666
4768
  priority?: number | null | undefined;
@@ -4697,6 +4799,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4697
4799
  lastModified?: string | null | undefined;
4698
4800
  } | null | undefined;
4699
4801
  };
4802
+ type: "content";
4700
4803
  } | {
4701
4804
  type: "diff";
4702
4805
  path: string;
@@ -4722,7 +4825,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4722
4825
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4723
4826
  toolCallId: string;
4724
4827
  content?: ({
4725
- type: "content";
4726
4828
  content: {
4727
4829
  text: string;
4728
4830
  type: "text";
@@ -4732,8 +4834,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4732
4834
  lastModified?: string | null | undefined;
4733
4835
  } | null | undefined;
4734
4836
  } | {
4735
- type: "image";
4736
4837
  data: string;
4838
+ type: "image";
4737
4839
  mimeType: string;
4738
4840
  annotations?: {
4739
4841
  priority?: number | null | undefined;
@@ -4741,8 +4843,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4741
4843
  lastModified?: string | null | undefined;
4742
4844
  } | null | undefined;
4743
4845
  } | {
4744
- type: "audio";
4745
4846
  data: string;
4847
+ type: "audio";
4746
4848
  mimeType: string;
4747
4849
  annotations?: {
4748
4850
  priority?: number | null | undefined;
@@ -4779,6 +4881,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4779
4881
  lastModified?: string | null | undefined;
4780
4882
  } | null | undefined;
4781
4883
  };
4884
+ type: "content";
4782
4885
  } | {
4783
4886
  type: "diff";
4784
4887
  path: string;
@@ -4804,7 +4907,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4804
4907
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4805
4908
  toolCallId: string;
4806
4909
  content?: ({
4807
- type: "content";
4808
4910
  content: {
4809
4911
  text: string;
4810
4912
  type: "text";
@@ -4814,8 +4916,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4814
4916
  lastModified?: string | null | undefined;
4815
4917
  } | null | undefined;
4816
4918
  } | {
4817
- type: "image";
4818
4919
  data: string;
4920
+ type: "image";
4819
4921
  mimeType: string;
4820
4922
  annotations?: {
4821
4923
  priority?: number | null | undefined;
@@ -4823,8 +4925,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4823
4925
  lastModified?: string | null | undefined;
4824
4926
  } | null | undefined;
4825
4927
  } | {
4826
- type: "audio";
4827
4928
  data: string;
4929
+ type: "audio";
4828
4930
  mimeType: string;
4829
4931
  annotations?: {
4830
4932
  priority?: number | null | undefined;
@@ -4861,6 +4963,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4861
4963
  lastModified?: string | null | undefined;
4862
4964
  } | null | undefined;
4863
4965
  };
4966
+ type: "content";
4864
4967
  } | {
4865
4968
  type: "diff";
4866
4969
  path: string;
@@ -4968,8 +5071,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
4968
5071
  mimeType: z.ZodString;
4969
5072
  type: z.ZodLiteral<"image">;
4970
5073
  }, "strip", z.ZodTypeAny, {
4971
- type: "image";
4972
5074
  data: string;
5075
+ type: "image";
4973
5076
  mimeType: string;
4974
5077
  annotations?: {
4975
5078
  priority?: number | null | undefined;
@@ -4977,8 +5080,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
4977
5080
  lastModified?: string | null | undefined;
4978
5081
  } | null | undefined;
4979
5082
  }, {
4980
- type: "image";
4981
5083
  data: string;
5084
+ type: "image";
4982
5085
  mimeType: string;
4983
5086
  annotations?: {
4984
5087
  priority?: number | null | undefined;
@@ -5003,8 +5106,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5003
5106
  mimeType: z.ZodString;
5004
5107
  type: z.ZodLiteral<"audio">;
5005
5108
  }, "strip", z.ZodTypeAny, {
5006
- type: "audio";
5007
5109
  data: string;
5110
+ type: "audio";
5008
5111
  mimeType: string;
5009
5112
  annotations?: {
5010
5113
  priority?: number | null | undefined;
@@ -5012,8 +5115,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5012
5115
  lastModified?: string | null | undefined;
5013
5116
  } | null | undefined;
5014
5117
  }, {
5015
- type: "audio";
5016
5118
  data: string;
5119
+ type: "audio";
5017
5120
  mimeType: string;
5018
5121
  annotations?: {
5019
5122
  priority?: number | null | undefined;
@@ -5151,8 +5254,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5151
5254
  lastModified?: string | null | undefined;
5152
5255
  } | null | undefined;
5153
5256
  } | {
5154
- type: "image";
5155
5257
  data: string;
5258
+ type: "image";
5156
5259
  mimeType: string;
5157
5260
  annotations?: {
5158
5261
  priority?: number | null | undefined;
@@ -5160,8 +5263,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5160
5263
  lastModified?: string | null | undefined;
5161
5264
  } | null | undefined;
5162
5265
  } | {
5163
- type: "audio";
5164
5266
  data: string;
5267
+ type: "audio";
5165
5268
  mimeType: string;
5166
5269
  annotations?: {
5167
5270
  priority?: number | null | undefined;
@@ -5209,8 +5312,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5209
5312
  lastModified?: string | null | undefined;
5210
5313
  } | null | undefined;
5211
5314
  } | {
5212
- type: "image";
5213
5315
  data: string;
5316
+ type: "image";
5214
5317
  mimeType: string;
5215
5318
  annotations?: {
5216
5319
  priority?: number | null | undefined;
@@ -5218,8 +5321,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5218
5321
  lastModified?: string | null | undefined;
5219
5322
  } | null | undefined;
5220
5323
  } | {
5221
- type: "audio";
5222
5324
  data: string;
5325
+ type: "audio";
5223
5326
  mimeType: string;
5224
5327
  annotations?: {
5225
5328
  priority?: number | null | undefined;
@@ -5308,8 +5411,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5308
5411
  mimeType: z.ZodString;
5309
5412
  type: z.ZodLiteral<"image">;
5310
5413
  }, "strip", z.ZodTypeAny, {
5311
- type: "image";
5312
5414
  data: string;
5415
+ type: "image";
5313
5416
  mimeType: string;
5314
5417
  annotations?: {
5315
5418
  priority?: number | null | undefined;
@@ -5317,8 +5420,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5317
5420
  lastModified?: string | null | undefined;
5318
5421
  } | null | undefined;
5319
5422
  }, {
5320
- type: "image";
5321
5423
  data: string;
5424
+ type: "image";
5322
5425
  mimeType: string;
5323
5426
  annotations?: {
5324
5427
  priority?: number | null | undefined;
@@ -5343,8 +5446,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5343
5446
  mimeType: z.ZodString;
5344
5447
  type: z.ZodLiteral<"audio">;
5345
5448
  }, "strip", z.ZodTypeAny, {
5346
- type: "audio";
5347
5449
  data: string;
5450
+ type: "audio";
5348
5451
  mimeType: string;
5349
5452
  annotations?: {
5350
5453
  priority?: number | null | undefined;
@@ -5352,8 +5455,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5352
5455
  lastModified?: string | null | undefined;
5353
5456
  } | null | undefined;
5354
5457
  }, {
5355
- type: "audio";
5356
5458
  data: string;
5459
+ type: "audio";
5357
5460
  mimeType: string;
5358
5461
  annotations?: {
5359
5462
  priority?: number | null | undefined;
@@ -5491,8 +5594,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5491
5594
  lastModified?: string | null | undefined;
5492
5595
  } | null | undefined;
5493
5596
  } | {
5494
- type: "image";
5495
5597
  data: string;
5598
+ type: "image";
5496
5599
  mimeType: string;
5497
5600
  annotations?: {
5498
5601
  priority?: number | null | undefined;
@@ -5500,8 +5603,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5500
5603
  lastModified?: string | null | undefined;
5501
5604
  } | null | undefined;
5502
5605
  } | {
5503
- type: "audio";
5504
5606
  data: string;
5607
+ type: "audio";
5505
5608
  mimeType: string;
5506
5609
  annotations?: {
5507
5610
  priority?: number | null | undefined;
@@ -5549,8 +5652,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5549
5652
  lastModified?: string | null | undefined;
5550
5653
  } | null | undefined;
5551
5654
  } | {
5552
- type: "image";
5553
5655
  data: string;
5656
+ type: "image";
5554
5657
  mimeType: string;
5555
5658
  annotations?: {
5556
5659
  priority?: number | null | undefined;
@@ -5558,8 +5661,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5558
5661
  lastModified?: string | null | undefined;
5559
5662
  } | null | undefined;
5560
5663
  } | {
5561
- type: "audio";
5562
5664
  data: string;
5665
+ type: "audio";
5563
5666
  mimeType: string;
5564
5667
  annotations?: {
5565
5668
  priority?: number | null | undefined;
@@ -5648,8 +5751,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5648
5751
  mimeType: z.ZodString;
5649
5752
  type: z.ZodLiteral<"image">;
5650
5753
  }, "strip", z.ZodTypeAny, {
5651
- type: "image";
5652
5754
  data: string;
5755
+ type: "image";
5653
5756
  mimeType: string;
5654
5757
  annotations?: {
5655
5758
  priority?: number | null | undefined;
@@ -5657,8 +5760,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5657
5760
  lastModified?: string | null | undefined;
5658
5761
  } | null | undefined;
5659
5762
  }, {
5660
- type: "image";
5661
5763
  data: string;
5764
+ type: "image";
5662
5765
  mimeType: string;
5663
5766
  annotations?: {
5664
5767
  priority?: number | null | undefined;
@@ -5683,8 +5786,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5683
5786
  mimeType: z.ZodString;
5684
5787
  type: z.ZodLiteral<"audio">;
5685
5788
  }, "strip", z.ZodTypeAny, {
5686
- type: "audio";
5687
5789
  data: string;
5790
+ type: "audio";
5688
5791
  mimeType: string;
5689
5792
  annotations?: {
5690
5793
  priority?: number | null | undefined;
@@ -5692,8 +5795,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5692
5795
  lastModified?: string | null | undefined;
5693
5796
  } | null | undefined;
5694
5797
  }, {
5695
- type: "audio";
5696
5798
  data: string;
5799
+ type: "audio";
5697
5800
  mimeType: string;
5698
5801
  annotations?: {
5699
5802
  priority?: number | null | undefined;
@@ -5831,8 +5934,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5831
5934
  lastModified?: string | null | undefined;
5832
5935
  } | null | undefined;
5833
5936
  } | {
5834
- type: "image";
5835
5937
  data: string;
5938
+ type: "image";
5836
5939
  mimeType: string;
5837
5940
  annotations?: {
5838
5941
  priority?: number | null | undefined;
@@ -5840,8 +5943,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5840
5943
  lastModified?: string | null | undefined;
5841
5944
  } | null | undefined;
5842
5945
  } | {
5843
- type: "audio";
5844
5946
  data: string;
5947
+ type: "audio";
5845
5948
  mimeType: string;
5846
5949
  annotations?: {
5847
5950
  priority?: number | null | undefined;
@@ -5889,8 +5992,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5889
5992
  lastModified?: string | null | undefined;
5890
5993
  } | null | undefined;
5891
5994
  } | {
5892
- type: "image";
5893
5995
  data: string;
5996
+ type: "image";
5894
5997
  mimeType: string;
5895
5998
  annotations?: {
5896
5999
  priority?: number | null | undefined;
@@ -5898,8 +6001,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5898
6001
  lastModified?: string | null | undefined;
5899
6002
  } | null | undefined;
5900
6003
  } | {
5901
- type: "audio";
5902
6004
  data: string;
6005
+ type: "audio";
5903
6006
  mimeType: string;
5904
6007
  annotations?: {
5905
6008
  priority?: number | null | undefined;
@@ -5989,8 +6092,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5989
6092
  mimeType: z.ZodString;
5990
6093
  type: z.ZodLiteral<"image">;
5991
6094
  }, "strip", z.ZodTypeAny, {
5992
- type: "image";
5993
6095
  data: string;
6096
+ type: "image";
5994
6097
  mimeType: string;
5995
6098
  annotations?: {
5996
6099
  priority?: number | null | undefined;
@@ -5998,8 +6101,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5998
6101
  lastModified?: string | null | undefined;
5999
6102
  } | null | undefined;
6000
6103
  }, {
6001
- type: "image";
6002
6104
  data: string;
6105
+ type: "image";
6003
6106
  mimeType: string;
6004
6107
  annotations?: {
6005
6108
  priority?: number | null | undefined;
@@ -6024,8 +6127,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6024
6127
  mimeType: z.ZodString;
6025
6128
  type: z.ZodLiteral<"audio">;
6026
6129
  }, "strip", z.ZodTypeAny, {
6027
- type: "audio";
6028
6130
  data: string;
6131
+ type: "audio";
6029
6132
  mimeType: string;
6030
6133
  annotations?: {
6031
6134
  priority?: number | null | undefined;
@@ -6033,8 +6136,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6033
6136
  lastModified?: string | null | undefined;
6034
6137
  } | null | undefined;
6035
6138
  }, {
6036
- type: "audio";
6037
6139
  data: string;
6140
+ type: "audio";
6038
6141
  mimeType: string;
6039
6142
  annotations?: {
6040
6143
  priority?: number | null | undefined;
@@ -6163,7 +6266,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6163
6266
  }>]>;
6164
6267
  type: z.ZodLiteral<"content">;
6165
6268
  }, "strip", z.ZodTypeAny, {
6166
- type: "content";
6167
6269
  content: {
6168
6270
  text: string;
6169
6271
  type: "text";
@@ -6173,8 +6275,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6173
6275
  lastModified?: string | null | undefined;
6174
6276
  } | null | undefined;
6175
6277
  } | {
6176
- type: "image";
6177
6278
  data: string;
6279
+ type: "image";
6178
6280
  mimeType: string;
6179
6281
  annotations?: {
6180
6282
  priority?: number | null | undefined;
@@ -6182,8 +6284,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6182
6284
  lastModified?: string | null | undefined;
6183
6285
  } | null | undefined;
6184
6286
  } | {
6185
- type: "audio";
6186
6287
  data: string;
6288
+ type: "audio";
6187
6289
  mimeType: string;
6188
6290
  annotations?: {
6189
6291
  priority?: number | null | undefined;
@@ -6220,8 +6322,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6220
6322
  lastModified?: string | null | undefined;
6221
6323
  } | null | undefined;
6222
6324
  };
6223
- }, {
6224
6325
  type: "content";
6326
+ }, {
6225
6327
  content: {
6226
6328
  text: string;
6227
6329
  type: "text";
@@ -6231,8 +6333,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6231
6333
  lastModified?: string | null | undefined;
6232
6334
  } | null | undefined;
6233
6335
  } | {
6234
- type: "image";
6235
6336
  data: string;
6337
+ type: "image";
6236
6338
  mimeType: string;
6237
6339
  annotations?: {
6238
6340
  priority?: number | null | undefined;
@@ -6240,8 +6342,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6240
6342
  lastModified?: string | null | undefined;
6241
6343
  } | null | undefined;
6242
6344
  } | {
6243
- type: "audio";
6244
6345
  data: string;
6346
+ type: "audio";
6245
6347
  mimeType: string;
6246
6348
  annotations?: {
6247
6349
  priority?: number | null | undefined;
@@ -6278,6 +6380,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6278
6380
  lastModified?: string | null | undefined;
6279
6381
  } | null | undefined;
6280
6382
  };
6383
+ type: "content";
6281
6384
  }>, z.ZodObject<{
6282
6385
  newText: z.ZodString;
6283
6386
  oldText: z.ZodNullable<z.ZodString>;
@@ -6317,7 +6420,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6317
6420
  toolCallId: string;
6318
6421
  sessionUpdate: "tool_call";
6319
6422
  content?: ({
6320
- type: "content";
6321
6423
  content: {
6322
6424
  text: string;
6323
6425
  type: "text";
@@ -6327,8 +6429,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6327
6429
  lastModified?: string | null | undefined;
6328
6430
  } | null | undefined;
6329
6431
  } | {
6330
- type: "image";
6331
6432
  data: string;
6433
+ type: "image";
6332
6434
  mimeType: string;
6333
6435
  annotations?: {
6334
6436
  priority?: number | null | undefined;
@@ -6336,8 +6438,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6336
6438
  lastModified?: string | null | undefined;
6337
6439
  } | null | undefined;
6338
6440
  } | {
6339
- type: "audio";
6340
6441
  data: string;
6442
+ type: "audio";
6341
6443
  mimeType: string;
6342
6444
  annotations?: {
6343
6445
  priority?: number | null | undefined;
@@ -6374,6 +6476,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6374
6476
  lastModified?: string | null | undefined;
6375
6477
  } | null | undefined;
6376
6478
  };
6479
+ type: "content";
6377
6480
  } | {
6378
6481
  type: "diff";
6379
6482
  path: string;
@@ -6392,7 +6495,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6392
6495
  toolCallId: string;
6393
6496
  sessionUpdate: "tool_call";
6394
6497
  content?: ({
6395
- type: "content";
6396
6498
  content: {
6397
6499
  text: string;
6398
6500
  type: "text";
@@ -6402,8 +6504,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6402
6504
  lastModified?: string | null | undefined;
6403
6505
  } | null | undefined;
6404
6506
  } | {
6405
- type: "image";
6406
6507
  data: string;
6508
+ type: "image";
6407
6509
  mimeType: string;
6408
6510
  annotations?: {
6409
6511
  priority?: number | null | undefined;
@@ -6411,8 +6513,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6411
6513
  lastModified?: string | null | undefined;
6412
6514
  } | null | undefined;
6413
6515
  } | {
6414
- type: "audio";
6415
6516
  data: string;
6517
+ type: "audio";
6416
6518
  mimeType: string;
6417
6519
  annotations?: {
6418
6520
  priority?: number | null | undefined;
@@ -6449,6 +6551,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6449
6551
  lastModified?: string | null | undefined;
6450
6552
  } | null | undefined;
6451
6553
  };
6554
+ type: "content";
6452
6555
  } | {
6453
6556
  type: "diff";
6454
6557
  path: string;
@@ -6512,8 +6615,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6512
6615
  mimeType: z.ZodString;
6513
6616
  type: z.ZodLiteral<"image">;
6514
6617
  }, "strip", z.ZodTypeAny, {
6515
- type: "image";
6516
6618
  data: string;
6619
+ type: "image";
6517
6620
  mimeType: string;
6518
6621
  annotations?: {
6519
6622
  priority?: number | null | undefined;
@@ -6521,8 +6624,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6521
6624
  lastModified?: string | null | undefined;
6522
6625
  } | null | undefined;
6523
6626
  }, {
6524
- type: "image";
6525
6627
  data: string;
6628
+ type: "image";
6526
6629
  mimeType: string;
6527
6630
  annotations?: {
6528
6631
  priority?: number | null | undefined;
@@ -6547,8 +6650,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6547
6650
  mimeType: z.ZodString;
6548
6651
  type: z.ZodLiteral<"audio">;
6549
6652
  }, "strip", z.ZodTypeAny, {
6550
- type: "audio";
6551
6653
  data: string;
6654
+ type: "audio";
6552
6655
  mimeType: string;
6553
6656
  annotations?: {
6554
6657
  priority?: number | null | undefined;
@@ -6556,8 +6659,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6556
6659
  lastModified?: string | null | undefined;
6557
6660
  } | null | undefined;
6558
6661
  }, {
6559
- type: "audio";
6560
6662
  data: string;
6663
+ type: "audio";
6561
6664
  mimeType: string;
6562
6665
  annotations?: {
6563
6666
  priority?: number | null | undefined;
@@ -6686,7 +6789,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6686
6789
  }>]>;
6687
6790
  type: z.ZodLiteral<"content">;
6688
6791
  }, "strip", z.ZodTypeAny, {
6689
- type: "content";
6690
6792
  content: {
6691
6793
  text: string;
6692
6794
  type: "text";
@@ -6696,8 +6798,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6696
6798
  lastModified?: string | null | undefined;
6697
6799
  } | null | undefined;
6698
6800
  } | {
6699
- type: "image";
6700
6801
  data: string;
6802
+ type: "image";
6701
6803
  mimeType: string;
6702
6804
  annotations?: {
6703
6805
  priority?: number | null | undefined;
@@ -6705,8 +6807,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6705
6807
  lastModified?: string | null | undefined;
6706
6808
  } | null | undefined;
6707
6809
  } | {
6708
- type: "audio";
6709
6810
  data: string;
6811
+ type: "audio";
6710
6812
  mimeType: string;
6711
6813
  annotations?: {
6712
6814
  priority?: number | null | undefined;
@@ -6743,8 +6845,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6743
6845
  lastModified?: string | null | undefined;
6744
6846
  } | null | undefined;
6745
6847
  };
6746
- }, {
6747
6848
  type: "content";
6849
+ }, {
6748
6850
  content: {
6749
6851
  text: string;
6750
6852
  type: "text";
@@ -6754,8 +6856,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6754
6856
  lastModified?: string | null | undefined;
6755
6857
  } | null | undefined;
6756
6858
  } | {
6757
- type: "image";
6758
6859
  data: string;
6860
+ type: "image";
6759
6861
  mimeType: string;
6760
6862
  annotations?: {
6761
6863
  priority?: number | null | undefined;
@@ -6763,8 +6865,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6763
6865
  lastModified?: string | null | undefined;
6764
6866
  } | null | undefined;
6765
6867
  } | {
6766
- type: "audio";
6767
6868
  data: string;
6869
+ type: "audio";
6768
6870
  mimeType: string;
6769
6871
  annotations?: {
6770
6872
  priority?: number | null | undefined;
@@ -6801,6 +6903,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6801
6903
  lastModified?: string | null | undefined;
6802
6904
  } | null | undefined;
6803
6905
  };
6906
+ type: "content";
6804
6907
  }>, z.ZodObject<{
6805
6908
  newText: z.ZodString;
6806
6909
  oldText: z.ZodNullable<z.ZodString>;
@@ -6837,7 +6940,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6837
6940
  toolCallId: string;
6838
6941
  sessionUpdate: "tool_call_update";
6839
6942
  content?: ({
6840
- type: "content";
6841
6943
  content: {
6842
6944
  text: string;
6843
6945
  type: "text";
@@ -6847,8 +6949,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6847
6949
  lastModified?: string | null | undefined;
6848
6950
  } | null | undefined;
6849
6951
  } | {
6850
- type: "image";
6851
6952
  data: string;
6953
+ type: "image";
6852
6954
  mimeType: string;
6853
6955
  annotations?: {
6854
6956
  priority?: number | null | undefined;
@@ -6856,8 +6958,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6856
6958
  lastModified?: string | null | undefined;
6857
6959
  } | null | undefined;
6858
6960
  } | {
6859
- type: "audio";
6860
6961
  data: string;
6962
+ type: "audio";
6861
6963
  mimeType: string;
6862
6964
  annotations?: {
6863
6965
  priority?: number | null | undefined;
@@ -6894,6 +6996,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6894
6996
  lastModified?: string | null | undefined;
6895
6997
  } | null | undefined;
6896
6998
  };
6999
+ type: "content";
6897
7000
  } | {
6898
7001
  type: "diff";
6899
7002
  path: string;
@@ -6912,7 +7015,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6912
7015
  toolCallId: string;
6913
7016
  sessionUpdate: "tool_call_update";
6914
7017
  content?: ({
6915
- type: "content";
6916
7018
  content: {
6917
7019
  text: string;
6918
7020
  type: "text";
@@ -6922,8 +7024,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6922
7024
  lastModified?: string | null | undefined;
6923
7025
  } | null | undefined;
6924
7026
  } | {
6925
- type: "image";
6926
7027
  data: string;
7028
+ type: "image";
6927
7029
  mimeType: string;
6928
7030
  annotations?: {
6929
7031
  priority?: number | null | undefined;
@@ -6931,8 +7033,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6931
7033
  lastModified?: string | null | undefined;
6932
7034
  } | null | undefined;
6933
7035
  } | {
6934
- type: "audio";
6935
7036
  data: string;
7037
+ type: "audio";
6936
7038
  mimeType: string;
6937
7039
  annotations?: {
6938
7040
  priority?: number | null | undefined;
@@ -6969,6 +7071,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6969
7071
  lastModified?: string | null | undefined;
6970
7072
  } | null | undefined;
6971
7073
  };
7074
+ type: "content";
6972
7075
  } | {
6973
7076
  type: "diff";
6974
7077
  path: string;
@@ -7025,8 +7128,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7025
7128
  lastModified?: string | null | undefined;
7026
7129
  } | null | undefined;
7027
7130
  } | {
7028
- type: "image";
7029
7131
  data: string;
7132
+ type: "image";
7030
7133
  mimeType: string;
7031
7134
  annotations?: {
7032
7135
  priority?: number | null | undefined;
@@ -7034,8 +7137,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7034
7137
  lastModified?: string | null | undefined;
7035
7138
  } | null | undefined;
7036
7139
  } | {
7037
- type: "audio";
7038
7140
  data: string;
7141
+ type: "audio";
7039
7142
  mimeType: string;
7040
7143
  annotations?: {
7041
7144
  priority?: number | null | undefined;
@@ -7083,8 +7186,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7083
7186
  lastModified?: string | null | undefined;
7084
7187
  } | null | undefined;
7085
7188
  } | {
7086
- type: "image";
7087
7189
  data: string;
7190
+ type: "image";
7088
7191
  mimeType: string;
7089
7192
  annotations?: {
7090
7193
  priority?: number | null | undefined;
@@ -7092,8 +7195,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7092
7195
  lastModified?: string | null | undefined;
7093
7196
  } | null | undefined;
7094
7197
  } | {
7095
- type: "audio";
7096
7198
  data: string;
7199
+ type: "audio";
7097
7200
  mimeType: string;
7098
7201
  annotations?: {
7099
7202
  priority?: number | null | undefined;
@@ -7141,8 +7244,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7141
7244
  lastModified?: string | null | undefined;
7142
7245
  } | null | undefined;
7143
7246
  } | {
7144
- type: "image";
7145
7247
  data: string;
7248
+ type: "image";
7146
7249
  mimeType: string;
7147
7250
  annotations?: {
7148
7251
  priority?: number | null | undefined;
@@ -7150,8 +7253,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7150
7253
  lastModified?: string | null | undefined;
7151
7254
  } | null | undefined;
7152
7255
  } | {
7153
- type: "audio";
7154
7256
  data: string;
7257
+ type: "audio";
7155
7258
  mimeType: string;
7156
7259
  annotations?: {
7157
7260
  priority?: number | null | undefined;
@@ -7196,7 +7299,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7196
7299
  toolCallId: string;
7197
7300
  sessionUpdate: "tool_call";
7198
7301
  content?: ({
7199
- type: "content";
7200
7302
  content: {
7201
7303
  text: string;
7202
7304
  type: "text";
@@ -7206,8 +7308,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7206
7308
  lastModified?: string | null | undefined;
7207
7309
  } | null | undefined;
7208
7310
  } | {
7209
- type: "image";
7210
7311
  data: string;
7312
+ type: "image";
7211
7313
  mimeType: string;
7212
7314
  annotations?: {
7213
7315
  priority?: number | null | undefined;
@@ -7215,8 +7317,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7215
7317
  lastModified?: string | null | undefined;
7216
7318
  } | null | undefined;
7217
7319
  } | {
7218
- type: "audio";
7219
7320
  data: string;
7321
+ type: "audio";
7220
7322
  mimeType: string;
7221
7323
  annotations?: {
7222
7324
  priority?: number | null | undefined;
@@ -7253,6 +7355,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7253
7355
  lastModified?: string | null | undefined;
7254
7356
  } | null | undefined;
7255
7357
  };
7358
+ type: "content";
7256
7359
  } | {
7257
7360
  type: "diff";
7258
7361
  path: string;
@@ -7268,7 +7371,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7268
7371
  toolCallId: string;
7269
7372
  sessionUpdate: "tool_call_update";
7270
7373
  content?: ({
7271
- type: "content";
7272
7374
  content: {
7273
7375
  text: string;
7274
7376
  type: "text";
@@ -7278,8 +7380,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7278
7380
  lastModified?: string | null | undefined;
7279
7381
  } | null | undefined;
7280
7382
  } | {
7281
- type: "image";
7282
7383
  data: string;
7384
+ type: "image";
7283
7385
  mimeType: string;
7284
7386
  annotations?: {
7285
7387
  priority?: number | null | undefined;
@@ -7287,8 +7389,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7287
7389
  lastModified?: string | null | undefined;
7288
7390
  } | null | undefined;
7289
7391
  } | {
7290
- type: "audio";
7291
7392
  data: string;
7393
+ type: "audio";
7292
7394
  mimeType: string;
7293
7395
  annotations?: {
7294
7396
  priority?: number | null | undefined;
@@ -7325,6 +7427,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7325
7427
  lastModified?: string | null | undefined;
7326
7428
  } | null | undefined;
7327
7429
  };
7430
+ type: "content";
7328
7431
  } | {
7329
7432
  type: "diff";
7330
7433
  path: string;
@@ -7359,8 +7462,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7359
7462
  lastModified?: string | null | undefined;
7360
7463
  } | null | undefined;
7361
7464
  } | {
7362
- type: "image";
7363
7465
  data: string;
7466
+ type: "image";
7364
7467
  mimeType: string;
7365
7468
  annotations?: {
7366
7469
  priority?: number | null | undefined;
@@ -7368,8 +7471,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7368
7471
  lastModified?: string | null | undefined;
7369
7472
  } | null | undefined;
7370
7473
  } | {
7371
- type: "audio";
7372
7474
  data: string;
7475
+ type: "audio";
7373
7476
  mimeType: string;
7374
7477
  annotations?: {
7375
7478
  priority?: number | null | undefined;
@@ -7417,8 +7520,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7417
7520
  lastModified?: string | null | undefined;
7418
7521
  } | null | undefined;
7419
7522
  } | {
7420
- type: "image";
7421
7523
  data: string;
7524
+ type: "image";
7422
7525
  mimeType: string;
7423
7526
  annotations?: {
7424
7527
  priority?: number | null | undefined;
@@ -7426,8 +7529,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7426
7529
  lastModified?: string | null | undefined;
7427
7530
  } | null | undefined;
7428
7531
  } | {
7429
- type: "audio";
7430
7532
  data: string;
7533
+ type: "audio";
7431
7534
  mimeType: string;
7432
7535
  annotations?: {
7433
7536
  priority?: number | null | undefined;
@@ -7475,8 +7578,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7475
7578
  lastModified?: string | null | undefined;
7476
7579
  } | null | undefined;
7477
7580
  } | {
7478
- type: "image";
7479
7581
  data: string;
7582
+ type: "image";
7480
7583
  mimeType: string;
7481
7584
  annotations?: {
7482
7585
  priority?: number | null | undefined;
@@ -7484,8 +7587,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7484
7587
  lastModified?: string | null | undefined;
7485
7588
  } | null | undefined;
7486
7589
  } | {
7487
- type: "audio";
7488
7590
  data: string;
7591
+ type: "audio";
7489
7592
  mimeType: string;
7490
7593
  annotations?: {
7491
7594
  priority?: number | null | undefined;
@@ -7530,7 +7633,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7530
7633
  toolCallId: string;
7531
7634
  sessionUpdate: "tool_call";
7532
7635
  content?: ({
7533
- type: "content";
7534
7636
  content: {
7535
7637
  text: string;
7536
7638
  type: "text";
@@ -7540,8 +7642,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7540
7642
  lastModified?: string | null | undefined;
7541
7643
  } | null | undefined;
7542
7644
  } | {
7543
- type: "image";
7544
7645
  data: string;
7646
+ type: "image";
7545
7647
  mimeType: string;
7546
7648
  annotations?: {
7547
7649
  priority?: number | null | undefined;
@@ -7549,8 +7651,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7549
7651
  lastModified?: string | null | undefined;
7550
7652
  } | null | undefined;
7551
7653
  } | {
7552
- type: "audio";
7553
7654
  data: string;
7655
+ type: "audio";
7554
7656
  mimeType: string;
7555
7657
  annotations?: {
7556
7658
  priority?: number | null | undefined;
@@ -7587,6 +7689,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7587
7689
  lastModified?: string | null | undefined;
7588
7690
  } | null | undefined;
7589
7691
  };
7692
+ type: "content";
7590
7693
  } | {
7591
7694
  type: "diff";
7592
7695
  path: string;
@@ -7602,7 +7705,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7602
7705
  toolCallId: string;
7603
7706
  sessionUpdate: "tool_call_update";
7604
7707
  content?: ({
7605
- type: "content";
7606
7708
  content: {
7607
7709
  text: string;
7608
7710
  type: "text";
@@ -7612,8 +7714,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7612
7714
  lastModified?: string | null | undefined;
7613
7715
  } | null | undefined;
7614
7716
  } | {
7615
- type: "image";
7616
7717
  data: string;
7718
+ type: "image";
7617
7719
  mimeType: string;
7618
7720
  annotations?: {
7619
7721
  priority?: number | null | undefined;
@@ -7621,8 +7723,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7621
7723
  lastModified?: string | null | undefined;
7622
7724
  } | null | undefined;
7623
7725
  } | {
7624
- type: "audio";
7625
7726
  data: string;
7727
+ type: "audio";
7626
7728
  mimeType: string;
7627
7729
  annotations?: {
7628
7730
  priority?: number | null | undefined;
@@ -7659,6 +7761,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7659
7761
  lastModified?: string | null | undefined;
7660
7762
  } | null | undefined;
7661
7763
  };
7764
+ type: "content";
7662
7765
  } | {
7663
7766
  type: "diff";
7664
7767
  path: string;
@@ -7776,8 +7879,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7776
7879
  mimeType: z.ZodString;
7777
7880
  type: z.ZodLiteral<"image">;
7778
7881
  }, "strip", z.ZodTypeAny, {
7779
- type: "image";
7780
7882
  data: string;
7883
+ type: "image";
7781
7884
  mimeType: string;
7782
7885
  annotations?: {
7783
7886
  priority?: number | null | undefined;
@@ -7785,8 +7888,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7785
7888
  lastModified?: string | null | undefined;
7786
7889
  } | null | undefined;
7787
7890
  }, {
7788
- type: "image";
7789
7891
  data: string;
7892
+ type: "image";
7790
7893
  mimeType: string;
7791
7894
  annotations?: {
7792
7895
  priority?: number | null | undefined;
@@ -7811,8 +7914,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7811
7914
  mimeType: z.ZodString;
7812
7915
  type: z.ZodLiteral<"audio">;
7813
7916
  }, "strip", z.ZodTypeAny, {
7814
- type: "audio";
7815
7917
  data: string;
7918
+ type: "audio";
7816
7919
  mimeType: string;
7817
7920
  annotations?: {
7818
7921
  priority?: number | null | undefined;
@@ -7820,8 +7923,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7820
7923
  lastModified?: string | null | undefined;
7821
7924
  } | null | undefined;
7822
7925
  }, {
7823
- type: "audio";
7824
7926
  data: string;
7927
+ type: "audio";
7825
7928
  mimeType: string;
7826
7929
  annotations?: {
7827
7930
  priority?: number | null | undefined;
@@ -7950,7 +8053,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7950
8053
  }>]>;
7951
8054
  type: z.ZodLiteral<"content">;
7952
8055
  }, "strip", z.ZodTypeAny, {
7953
- type: "content";
7954
8056
  content: {
7955
8057
  text: string;
7956
8058
  type: "text";
@@ -7960,8 +8062,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7960
8062
  lastModified?: string | null | undefined;
7961
8063
  } | null | undefined;
7962
8064
  } | {
7963
- type: "image";
7964
8065
  data: string;
8066
+ type: "image";
7965
8067
  mimeType: string;
7966
8068
  annotations?: {
7967
8069
  priority?: number | null | undefined;
@@ -7969,8 +8071,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7969
8071
  lastModified?: string | null | undefined;
7970
8072
  } | null | undefined;
7971
8073
  } | {
7972
- type: "audio";
7973
8074
  data: string;
8075
+ type: "audio";
7974
8076
  mimeType: string;
7975
8077
  annotations?: {
7976
8078
  priority?: number | null | undefined;
@@ -8007,8 +8109,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8007
8109
  lastModified?: string | null | undefined;
8008
8110
  } | null | undefined;
8009
8111
  };
8010
- }, {
8011
8112
  type: "content";
8113
+ }, {
8012
8114
  content: {
8013
8115
  text: string;
8014
8116
  type: "text";
@@ -8018,8 +8120,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8018
8120
  lastModified?: string | null | undefined;
8019
8121
  } | null | undefined;
8020
8122
  } | {
8021
- type: "image";
8022
8123
  data: string;
8124
+ type: "image";
8023
8125
  mimeType: string;
8024
8126
  annotations?: {
8025
8127
  priority?: number | null | undefined;
@@ -8027,8 +8129,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8027
8129
  lastModified?: string | null | undefined;
8028
8130
  } | null | undefined;
8029
8131
  } | {
8030
- type: "audio";
8031
8132
  data: string;
8133
+ type: "audio";
8032
8134
  mimeType: string;
8033
8135
  annotations?: {
8034
8136
  priority?: number | null | undefined;
@@ -8065,6 +8167,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8065
8167
  lastModified?: string | null | undefined;
8066
8168
  } | null | undefined;
8067
8169
  };
8170
+ type: "content";
8068
8171
  }>, z.ZodObject<{
8069
8172
  newText: z.ZodString;
8070
8173
  oldText: z.ZodNullable<z.ZodString>;
@@ -8102,7 +8205,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8102
8205
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8103
8206
  toolCallId: string;
8104
8207
  content?: ({
8105
- type: "content";
8106
8208
  content: {
8107
8209
  text: string;
8108
8210
  type: "text";
@@ -8112,8 +8214,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8112
8214
  lastModified?: string | null | undefined;
8113
8215
  } | null | undefined;
8114
8216
  } | {
8115
- type: "image";
8116
8217
  data: string;
8218
+ type: "image";
8117
8219
  mimeType: string;
8118
8220
  annotations?: {
8119
8221
  priority?: number | null | undefined;
@@ -8121,8 +8223,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8121
8223
  lastModified?: string | null | undefined;
8122
8224
  } | null | undefined;
8123
8225
  } | {
8124
- type: "audio";
8125
8226
  data: string;
8227
+ type: "audio";
8126
8228
  mimeType: string;
8127
8229
  annotations?: {
8128
8230
  priority?: number | null | undefined;
@@ -8159,6 +8261,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8159
8261
  lastModified?: string | null | undefined;
8160
8262
  } | null | undefined;
8161
8263
  };
8264
+ type: "content";
8162
8265
  } | {
8163
8266
  type: "diff";
8164
8267
  path: string;
@@ -8176,7 +8279,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8176
8279
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8177
8280
  toolCallId: string;
8178
8281
  content?: ({
8179
- type: "content";
8180
8282
  content: {
8181
8283
  text: string;
8182
8284
  type: "text";
@@ -8186,8 +8288,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8186
8288
  lastModified?: string | null | undefined;
8187
8289
  } | null | undefined;
8188
8290
  } | {
8189
- type: "image";
8190
8291
  data: string;
8292
+ type: "image";
8191
8293
  mimeType: string;
8192
8294
  annotations?: {
8193
8295
  priority?: number | null | undefined;
@@ -8195,8 +8297,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8195
8297
  lastModified?: string | null | undefined;
8196
8298
  } | null | undefined;
8197
8299
  } | {
8198
- type: "audio";
8199
8300
  data: string;
8301
+ type: "audio";
8200
8302
  mimeType: string;
8201
8303
  annotations?: {
8202
8304
  priority?: number | null | undefined;
@@ -8233,6 +8335,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8233
8335
  lastModified?: string | null | undefined;
8234
8336
  } | null | undefined;
8235
8337
  };
8338
+ type: "content";
8236
8339
  } | {
8237
8340
  type: "diff";
8238
8341
  path: string;
@@ -8258,7 +8361,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8258
8361
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8259
8362
  toolCallId: string;
8260
8363
  content?: ({
8261
- type: "content";
8262
8364
  content: {
8263
8365
  text: string;
8264
8366
  type: "text";
@@ -8268,8 +8370,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8268
8370
  lastModified?: string | null | undefined;
8269
8371
  } | null | undefined;
8270
8372
  } | {
8271
- type: "image";
8272
8373
  data: string;
8374
+ type: "image";
8273
8375
  mimeType: string;
8274
8376
  annotations?: {
8275
8377
  priority?: number | null | undefined;
@@ -8277,8 +8379,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8277
8379
  lastModified?: string | null | undefined;
8278
8380
  } | null | undefined;
8279
8381
  } | {
8280
- type: "audio";
8281
8382
  data: string;
8383
+ type: "audio";
8282
8384
  mimeType: string;
8283
8385
  annotations?: {
8284
8386
  priority?: number | null | undefined;
@@ -8315,6 +8417,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8315
8417
  lastModified?: string | null | undefined;
8316
8418
  } | null | undefined;
8317
8419
  };
8420
+ type: "content";
8318
8421
  } | {
8319
8422
  type: "diff";
8320
8423
  path: string;
@@ -8340,7 +8443,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8340
8443
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8341
8444
  toolCallId: string;
8342
8445
  content?: ({
8343
- type: "content";
8344
8446
  content: {
8345
8447
  text: string;
8346
8448
  type: "text";
@@ -8350,8 +8452,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8350
8452
  lastModified?: string | null | undefined;
8351
8453
  } | null | undefined;
8352
8454
  } | {
8353
- type: "image";
8354
8455
  data: string;
8456
+ type: "image";
8355
8457
  mimeType: string;
8356
8458
  annotations?: {
8357
8459
  priority?: number | null | undefined;
@@ -8359,8 +8461,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8359
8461
  lastModified?: string | null | undefined;
8360
8462
  } | null | undefined;
8361
8463
  } | {
8362
- type: "audio";
8363
8464
  data: string;
8465
+ type: "audio";
8364
8466
  mimeType: string;
8365
8467
  annotations?: {
8366
8468
  priority?: number | null | undefined;
@@ -8397,6 +8499,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8397
8499
  lastModified?: string | null | undefined;
8398
8500
  } | null | undefined;
8399
8501
  };
8502
+ type: "content";
8400
8503
  } | {
8401
8504
  type: "diff";
8402
8505
  path: string;
@@ -8620,8 +8723,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8620
8723
  mimeType: z.ZodString;
8621
8724
  type: z.ZodLiteral<"image">;
8622
8725
  }, "strip", z.ZodTypeAny, {
8623
- type: "image";
8624
8726
  data: string;
8727
+ type: "image";
8625
8728
  mimeType: string;
8626
8729
  annotations?: {
8627
8730
  priority?: number | null | undefined;
@@ -8629,8 +8732,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8629
8732
  lastModified?: string | null | undefined;
8630
8733
  } | null | undefined;
8631
8734
  }, {
8632
- type: "image";
8633
8735
  data: string;
8736
+ type: "image";
8634
8737
  mimeType: string;
8635
8738
  annotations?: {
8636
8739
  priority?: number | null | undefined;
@@ -8655,8 +8758,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8655
8758
  mimeType: z.ZodString;
8656
8759
  type: z.ZodLiteral<"audio">;
8657
8760
  }, "strip", z.ZodTypeAny, {
8658
- type: "audio";
8659
8761
  data: string;
8762
+ type: "audio";
8660
8763
  mimeType: string;
8661
8764
  annotations?: {
8662
8765
  priority?: number | null | undefined;
@@ -8664,8 +8767,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8664
8767
  lastModified?: string | null | undefined;
8665
8768
  } | null | undefined;
8666
8769
  }, {
8667
- type: "audio";
8668
8770
  data: string;
8771
+ type: "audio";
8669
8772
  mimeType: string;
8670
8773
  annotations?: {
8671
8774
  priority?: number | null | undefined;
@@ -8804,8 +8907,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8804
8907
  lastModified?: string | null | undefined;
8805
8908
  } | null | undefined;
8806
8909
  } | {
8807
- type: "image";
8808
8910
  data: string;
8911
+ type: "image";
8809
8912
  mimeType: string;
8810
8913
  annotations?: {
8811
8914
  priority?: number | null | undefined;
@@ -8813,8 +8916,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8813
8916
  lastModified?: string | null | undefined;
8814
8917
  } | null | undefined;
8815
8918
  } | {
8816
- type: "audio";
8817
8919
  data: string;
8920
+ type: "audio";
8818
8921
  mimeType: string;
8819
8922
  annotations?: {
8820
8923
  priority?: number | null | undefined;
@@ -8862,8 +8965,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8862
8965
  lastModified?: string | null | undefined;
8863
8966
  } | null | undefined;
8864
8967
  } | {
8865
- type: "image";
8866
8968
  data: string;
8969
+ type: "image";
8867
8970
  mimeType: string;
8868
8971
  annotations?: {
8869
8972
  priority?: number | null | undefined;
@@ -8871,8 +8974,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8871
8974
  lastModified?: string | null | undefined;
8872
8975
  } | null | undefined;
8873
8976
  } | {
8874
- type: "audio";
8875
8977
  data: string;
8978
+ type: "audio";
8876
8979
  mimeType: string;
8877
8980
  annotations?: {
8878
8981
  priority?: number | null | undefined;
@@ -8963,8 +9066,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8963
9066
  mimeType: z.ZodString;
8964
9067
  type: z.ZodLiteral<"image">;
8965
9068
  }, "strip", z.ZodTypeAny, {
8966
- type: "image";
8967
9069
  data: string;
9070
+ type: "image";
8968
9071
  mimeType: string;
8969
9072
  annotations?: {
8970
9073
  priority?: number | null | undefined;
@@ -8972,8 +9075,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8972
9075
  lastModified?: string | null | undefined;
8973
9076
  } | null | undefined;
8974
9077
  }, {
8975
- type: "image";
8976
9078
  data: string;
9079
+ type: "image";
8977
9080
  mimeType: string;
8978
9081
  annotations?: {
8979
9082
  priority?: number | null | undefined;
@@ -8998,8 +9101,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8998
9101
  mimeType: z.ZodString;
8999
9102
  type: z.ZodLiteral<"audio">;
9000
9103
  }, "strip", z.ZodTypeAny, {
9001
- type: "audio";
9002
9104
  data: string;
9105
+ type: "audio";
9003
9106
  mimeType: string;
9004
9107
  annotations?: {
9005
9108
  priority?: number | null | undefined;
@@ -9007,8 +9110,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9007
9110
  lastModified?: string | null | undefined;
9008
9111
  } | null | undefined;
9009
9112
  }, {
9010
- type: "audio";
9011
9113
  data: string;
9114
+ type: "audio";
9012
9115
  mimeType: string;
9013
9116
  annotations?: {
9014
9117
  priority?: number | null | undefined;
@@ -9146,8 +9249,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9146
9249
  lastModified?: string | null | undefined;
9147
9250
  } | null | undefined;
9148
9251
  } | {
9149
- type: "image";
9150
9252
  data: string;
9253
+ type: "image";
9151
9254
  mimeType: string;
9152
9255
  annotations?: {
9153
9256
  priority?: number | null | undefined;
@@ -9155,8 +9258,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9155
9258
  lastModified?: string | null | undefined;
9156
9259
  } | null | undefined;
9157
9260
  } | {
9158
- type: "audio";
9159
9261
  data: string;
9262
+ type: "audio";
9160
9263
  mimeType: string;
9161
9264
  annotations?: {
9162
9265
  priority?: number | null | undefined;
@@ -9204,8 +9307,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9204
9307
  lastModified?: string | null | undefined;
9205
9308
  } | null | undefined;
9206
9309
  } | {
9207
- type: "image";
9208
9310
  data: string;
9311
+ type: "image";
9209
9312
  mimeType: string;
9210
9313
  annotations?: {
9211
9314
  priority?: number | null | undefined;
@@ -9213,8 +9316,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9213
9316
  lastModified?: string | null | undefined;
9214
9317
  } | null | undefined;
9215
9318
  } | {
9216
- type: "audio";
9217
9319
  data: string;
9320
+ type: "audio";
9218
9321
  mimeType: string;
9219
9322
  annotations?: {
9220
9323
  priority?: number | null | undefined;
@@ -9303,8 +9406,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9303
9406
  mimeType: z.ZodString;
9304
9407
  type: z.ZodLiteral<"image">;
9305
9408
  }, "strip", z.ZodTypeAny, {
9306
- type: "image";
9307
9409
  data: string;
9410
+ type: "image";
9308
9411
  mimeType: string;
9309
9412
  annotations?: {
9310
9413
  priority?: number | null | undefined;
@@ -9312,8 +9415,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9312
9415
  lastModified?: string | null | undefined;
9313
9416
  } | null | undefined;
9314
9417
  }, {
9315
- type: "image";
9316
9418
  data: string;
9419
+ type: "image";
9317
9420
  mimeType: string;
9318
9421
  annotations?: {
9319
9422
  priority?: number | null | undefined;
@@ -9338,8 +9441,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9338
9441
  mimeType: z.ZodString;
9339
9442
  type: z.ZodLiteral<"audio">;
9340
9443
  }, "strip", z.ZodTypeAny, {
9341
- type: "audio";
9342
9444
  data: string;
9445
+ type: "audio";
9343
9446
  mimeType: string;
9344
9447
  annotations?: {
9345
9448
  priority?: number | null | undefined;
@@ -9347,8 +9450,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9347
9450
  lastModified?: string | null | undefined;
9348
9451
  } | null | undefined;
9349
9452
  }, {
9350
- type: "audio";
9351
9453
  data: string;
9454
+ type: "audio";
9352
9455
  mimeType: string;
9353
9456
  annotations?: {
9354
9457
  priority?: number | null | undefined;
@@ -9486,8 +9589,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9486
9589
  lastModified?: string | null | undefined;
9487
9590
  } | null | undefined;
9488
9591
  } | {
9489
- type: "image";
9490
9592
  data: string;
9593
+ type: "image";
9491
9594
  mimeType: string;
9492
9595
  annotations?: {
9493
9596
  priority?: number | null | undefined;
@@ -9495,8 +9598,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9495
9598
  lastModified?: string | null | undefined;
9496
9599
  } | null | undefined;
9497
9600
  } | {
9498
- type: "audio";
9499
9601
  data: string;
9602
+ type: "audio";
9500
9603
  mimeType: string;
9501
9604
  annotations?: {
9502
9605
  priority?: number | null | undefined;
@@ -9544,8 +9647,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9544
9647
  lastModified?: string | null | undefined;
9545
9648
  } | null | undefined;
9546
9649
  } | {
9547
- type: "image";
9548
9650
  data: string;
9651
+ type: "image";
9549
9652
  mimeType: string;
9550
9653
  annotations?: {
9551
9654
  priority?: number | null | undefined;
@@ -9553,8 +9656,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9553
9656
  lastModified?: string | null | undefined;
9554
9657
  } | null | undefined;
9555
9658
  } | {
9556
- type: "audio";
9557
9659
  data: string;
9660
+ type: "audio";
9558
9661
  mimeType: string;
9559
9662
  annotations?: {
9560
9663
  priority?: number | null | undefined;
@@ -9643,8 +9746,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9643
9746
  mimeType: z.ZodString;
9644
9747
  type: z.ZodLiteral<"image">;
9645
9748
  }, "strip", z.ZodTypeAny, {
9646
- type: "image";
9647
9749
  data: string;
9750
+ type: "image";
9648
9751
  mimeType: string;
9649
9752
  annotations?: {
9650
9753
  priority?: number | null | undefined;
@@ -9652,8 +9755,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9652
9755
  lastModified?: string | null | undefined;
9653
9756
  } | null | undefined;
9654
9757
  }, {
9655
- type: "image";
9656
9758
  data: string;
9759
+ type: "image";
9657
9760
  mimeType: string;
9658
9761
  annotations?: {
9659
9762
  priority?: number | null | undefined;
@@ -9678,8 +9781,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9678
9781
  mimeType: z.ZodString;
9679
9782
  type: z.ZodLiteral<"audio">;
9680
9783
  }, "strip", z.ZodTypeAny, {
9681
- type: "audio";
9682
9784
  data: string;
9785
+ type: "audio";
9683
9786
  mimeType: string;
9684
9787
  annotations?: {
9685
9788
  priority?: number | null | undefined;
@@ -9687,8 +9790,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9687
9790
  lastModified?: string | null | undefined;
9688
9791
  } | null | undefined;
9689
9792
  }, {
9690
- type: "audio";
9691
9793
  data: string;
9794
+ type: "audio";
9692
9795
  mimeType: string;
9693
9796
  annotations?: {
9694
9797
  priority?: number | null | undefined;
@@ -9826,8 +9929,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9826
9929
  lastModified?: string | null | undefined;
9827
9930
  } | null | undefined;
9828
9931
  } | {
9829
- type: "image";
9830
9932
  data: string;
9933
+ type: "image";
9831
9934
  mimeType: string;
9832
9935
  annotations?: {
9833
9936
  priority?: number | null | undefined;
@@ -9835,8 +9938,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9835
9938
  lastModified?: string | null | undefined;
9836
9939
  } | null | undefined;
9837
9940
  } | {
9838
- type: "audio";
9839
9941
  data: string;
9942
+ type: "audio";
9840
9943
  mimeType: string;
9841
9944
  annotations?: {
9842
9945
  priority?: number | null | undefined;
@@ -9884,8 +9987,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9884
9987
  lastModified?: string | null | undefined;
9885
9988
  } | null | undefined;
9886
9989
  } | {
9887
- type: "image";
9888
9990
  data: string;
9991
+ type: "image";
9889
9992
  mimeType: string;
9890
9993
  annotations?: {
9891
9994
  priority?: number | null | undefined;
@@ -9893,8 +9996,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9893
9996
  lastModified?: string | null | undefined;
9894
9997
  } | null | undefined;
9895
9998
  } | {
9896
- type: "audio";
9897
9999
  data: string;
10000
+ type: "audio";
9898
10001
  mimeType: string;
9899
10002
  annotations?: {
9900
10003
  priority?: number | null | undefined;
@@ -9984,8 +10087,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9984
10087
  mimeType: z.ZodString;
9985
10088
  type: z.ZodLiteral<"image">;
9986
10089
  }, "strip", z.ZodTypeAny, {
9987
- type: "image";
9988
10090
  data: string;
10091
+ type: "image";
9989
10092
  mimeType: string;
9990
10093
  annotations?: {
9991
10094
  priority?: number | null | undefined;
@@ -9993,8 +10096,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9993
10096
  lastModified?: string | null | undefined;
9994
10097
  } | null | undefined;
9995
10098
  }, {
9996
- type: "image";
9997
10099
  data: string;
10100
+ type: "image";
9998
10101
  mimeType: string;
9999
10102
  annotations?: {
10000
10103
  priority?: number | null | undefined;
@@ -10019,8 +10122,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10019
10122
  mimeType: z.ZodString;
10020
10123
  type: z.ZodLiteral<"audio">;
10021
10124
  }, "strip", z.ZodTypeAny, {
10022
- type: "audio";
10023
10125
  data: string;
10126
+ type: "audio";
10024
10127
  mimeType: string;
10025
10128
  annotations?: {
10026
10129
  priority?: number | null | undefined;
@@ -10028,8 +10131,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10028
10131
  lastModified?: string | null | undefined;
10029
10132
  } | null | undefined;
10030
10133
  }, {
10031
- type: "audio";
10032
10134
  data: string;
10135
+ type: "audio";
10033
10136
  mimeType: string;
10034
10137
  annotations?: {
10035
10138
  priority?: number | null | undefined;
@@ -10158,7 +10261,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10158
10261
  }>]>;
10159
10262
  type: z.ZodLiteral<"content">;
10160
10263
  }, "strip", z.ZodTypeAny, {
10161
- type: "content";
10162
10264
  content: {
10163
10265
  text: string;
10164
10266
  type: "text";
@@ -10168,8 +10270,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10168
10270
  lastModified?: string | null | undefined;
10169
10271
  } | null | undefined;
10170
10272
  } | {
10171
- type: "image";
10172
10273
  data: string;
10274
+ type: "image";
10173
10275
  mimeType: string;
10174
10276
  annotations?: {
10175
10277
  priority?: number | null | undefined;
@@ -10177,8 +10279,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10177
10279
  lastModified?: string | null | undefined;
10178
10280
  } | null | undefined;
10179
10281
  } | {
10180
- type: "audio";
10181
10282
  data: string;
10283
+ type: "audio";
10182
10284
  mimeType: string;
10183
10285
  annotations?: {
10184
10286
  priority?: number | null | undefined;
@@ -10215,8 +10317,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10215
10317
  lastModified?: string | null | undefined;
10216
10318
  } | null | undefined;
10217
10319
  };
10218
- }, {
10219
10320
  type: "content";
10321
+ }, {
10220
10322
  content: {
10221
10323
  text: string;
10222
10324
  type: "text";
@@ -10226,8 +10328,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10226
10328
  lastModified?: string | null | undefined;
10227
10329
  } | null | undefined;
10228
10330
  } | {
10229
- type: "image";
10230
10331
  data: string;
10332
+ type: "image";
10231
10333
  mimeType: string;
10232
10334
  annotations?: {
10233
10335
  priority?: number | null | undefined;
@@ -10235,8 +10337,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10235
10337
  lastModified?: string | null | undefined;
10236
10338
  } | null | undefined;
10237
10339
  } | {
10238
- type: "audio";
10239
10340
  data: string;
10341
+ type: "audio";
10240
10342
  mimeType: string;
10241
10343
  annotations?: {
10242
10344
  priority?: number | null | undefined;
@@ -10273,6 +10375,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10273
10375
  lastModified?: string | null | undefined;
10274
10376
  } | null | undefined;
10275
10377
  };
10378
+ type: "content";
10276
10379
  }>, z.ZodObject<{
10277
10380
  newText: z.ZodString;
10278
10381
  oldText: z.ZodNullable<z.ZodString>;
@@ -10312,7 +10415,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10312
10415
  toolCallId: string;
10313
10416
  sessionUpdate: "tool_call";
10314
10417
  content?: ({
10315
- type: "content";
10316
10418
  content: {
10317
10419
  text: string;
10318
10420
  type: "text";
@@ -10322,8 +10424,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10322
10424
  lastModified?: string | null | undefined;
10323
10425
  } | null | undefined;
10324
10426
  } | {
10325
- type: "image";
10326
10427
  data: string;
10428
+ type: "image";
10327
10429
  mimeType: string;
10328
10430
  annotations?: {
10329
10431
  priority?: number | null | undefined;
@@ -10331,8 +10433,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10331
10433
  lastModified?: string | null | undefined;
10332
10434
  } | null | undefined;
10333
10435
  } | {
10334
- type: "audio";
10335
10436
  data: string;
10437
+ type: "audio";
10336
10438
  mimeType: string;
10337
10439
  annotations?: {
10338
10440
  priority?: number | null | undefined;
@@ -10369,6 +10471,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10369
10471
  lastModified?: string | null | undefined;
10370
10472
  } | null | undefined;
10371
10473
  };
10474
+ type: "content";
10372
10475
  } | {
10373
10476
  type: "diff";
10374
10477
  path: string;
@@ -10387,7 +10490,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10387
10490
  toolCallId: string;
10388
10491
  sessionUpdate: "tool_call";
10389
10492
  content?: ({
10390
- type: "content";
10391
10493
  content: {
10392
10494
  text: string;
10393
10495
  type: "text";
@@ -10397,8 +10499,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10397
10499
  lastModified?: string | null | undefined;
10398
10500
  } | null | undefined;
10399
10501
  } | {
10400
- type: "image";
10401
10502
  data: string;
10503
+ type: "image";
10402
10504
  mimeType: string;
10403
10505
  annotations?: {
10404
10506
  priority?: number | null | undefined;
@@ -10406,8 +10508,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10406
10508
  lastModified?: string | null | undefined;
10407
10509
  } | null | undefined;
10408
10510
  } | {
10409
- type: "audio";
10410
10511
  data: string;
10512
+ type: "audio";
10411
10513
  mimeType: string;
10412
10514
  annotations?: {
10413
10515
  priority?: number | null | undefined;
@@ -10444,6 +10546,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10444
10546
  lastModified?: string | null | undefined;
10445
10547
  } | null | undefined;
10446
10548
  };
10549
+ type: "content";
10447
10550
  } | {
10448
10551
  type: "diff";
10449
10552
  path: string;
@@ -10507,8 +10610,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10507
10610
  mimeType: z.ZodString;
10508
10611
  type: z.ZodLiteral<"image">;
10509
10612
  }, "strip", z.ZodTypeAny, {
10510
- type: "image";
10511
10613
  data: string;
10614
+ type: "image";
10512
10615
  mimeType: string;
10513
10616
  annotations?: {
10514
10617
  priority?: number | null | undefined;
@@ -10516,8 +10619,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10516
10619
  lastModified?: string | null | undefined;
10517
10620
  } | null | undefined;
10518
10621
  }, {
10519
- type: "image";
10520
10622
  data: string;
10623
+ type: "image";
10521
10624
  mimeType: string;
10522
10625
  annotations?: {
10523
10626
  priority?: number | null | undefined;
@@ -10542,8 +10645,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10542
10645
  mimeType: z.ZodString;
10543
10646
  type: z.ZodLiteral<"audio">;
10544
10647
  }, "strip", z.ZodTypeAny, {
10545
- type: "audio";
10546
10648
  data: string;
10649
+ type: "audio";
10547
10650
  mimeType: string;
10548
10651
  annotations?: {
10549
10652
  priority?: number | null | undefined;
@@ -10551,8 +10654,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10551
10654
  lastModified?: string | null | undefined;
10552
10655
  } | null | undefined;
10553
10656
  }, {
10554
- type: "audio";
10555
10657
  data: string;
10658
+ type: "audio";
10556
10659
  mimeType: string;
10557
10660
  annotations?: {
10558
10661
  priority?: number | null | undefined;
@@ -10681,7 +10784,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10681
10784
  }>]>;
10682
10785
  type: z.ZodLiteral<"content">;
10683
10786
  }, "strip", z.ZodTypeAny, {
10684
- type: "content";
10685
10787
  content: {
10686
10788
  text: string;
10687
10789
  type: "text";
@@ -10691,8 +10793,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10691
10793
  lastModified?: string | null | undefined;
10692
10794
  } | null | undefined;
10693
10795
  } | {
10694
- type: "image";
10695
10796
  data: string;
10797
+ type: "image";
10696
10798
  mimeType: string;
10697
10799
  annotations?: {
10698
10800
  priority?: number | null | undefined;
@@ -10700,8 +10802,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10700
10802
  lastModified?: string | null | undefined;
10701
10803
  } | null | undefined;
10702
10804
  } | {
10703
- type: "audio";
10704
10805
  data: string;
10806
+ type: "audio";
10705
10807
  mimeType: string;
10706
10808
  annotations?: {
10707
10809
  priority?: number | null | undefined;
@@ -10738,8 +10840,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10738
10840
  lastModified?: string | null | undefined;
10739
10841
  } | null | undefined;
10740
10842
  };
10741
- }, {
10742
10843
  type: "content";
10844
+ }, {
10743
10845
  content: {
10744
10846
  text: string;
10745
10847
  type: "text";
@@ -10749,8 +10851,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10749
10851
  lastModified?: string | null | undefined;
10750
10852
  } | null | undefined;
10751
10853
  } | {
10752
- type: "image";
10753
10854
  data: string;
10855
+ type: "image";
10754
10856
  mimeType: string;
10755
10857
  annotations?: {
10756
10858
  priority?: number | null | undefined;
@@ -10758,8 +10860,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10758
10860
  lastModified?: string | null | undefined;
10759
10861
  } | null | undefined;
10760
10862
  } | {
10761
- type: "audio";
10762
10863
  data: string;
10864
+ type: "audio";
10763
10865
  mimeType: string;
10764
10866
  annotations?: {
10765
10867
  priority?: number | null | undefined;
@@ -10796,6 +10898,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10796
10898
  lastModified?: string | null | undefined;
10797
10899
  } | null | undefined;
10798
10900
  };
10901
+ type: "content";
10799
10902
  }>, z.ZodObject<{
10800
10903
  newText: z.ZodString;
10801
10904
  oldText: z.ZodNullable<z.ZodString>;
@@ -10832,7 +10935,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10832
10935
  toolCallId: string;
10833
10936
  sessionUpdate: "tool_call_update";
10834
10937
  content?: ({
10835
- type: "content";
10836
10938
  content: {
10837
10939
  text: string;
10838
10940
  type: "text";
@@ -10842,8 +10944,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10842
10944
  lastModified?: string | null | undefined;
10843
10945
  } | null | undefined;
10844
10946
  } | {
10845
- type: "image";
10846
10947
  data: string;
10948
+ type: "image";
10847
10949
  mimeType: string;
10848
10950
  annotations?: {
10849
10951
  priority?: number | null | undefined;
@@ -10851,8 +10953,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10851
10953
  lastModified?: string | null | undefined;
10852
10954
  } | null | undefined;
10853
10955
  } | {
10854
- type: "audio";
10855
10956
  data: string;
10957
+ type: "audio";
10856
10958
  mimeType: string;
10857
10959
  annotations?: {
10858
10960
  priority?: number | null | undefined;
@@ -10889,6 +10991,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10889
10991
  lastModified?: string | null | undefined;
10890
10992
  } | null | undefined;
10891
10993
  };
10994
+ type: "content";
10892
10995
  } | {
10893
10996
  type: "diff";
10894
10997
  path: string;
@@ -10907,7 +11010,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10907
11010
  toolCallId: string;
10908
11011
  sessionUpdate: "tool_call_update";
10909
11012
  content?: ({
10910
- type: "content";
10911
11013
  content: {
10912
11014
  text: string;
10913
11015
  type: "text";
@@ -10917,8 +11019,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10917
11019
  lastModified?: string | null | undefined;
10918
11020
  } | null | undefined;
10919
11021
  } | {
10920
- type: "image";
10921
11022
  data: string;
11023
+ type: "image";
10922
11024
  mimeType: string;
10923
11025
  annotations?: {
10924
11026
  priority?: number | null | undefined;
@@ -10926,8 +11028,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10926
11028
  lastModified?: string | null | undefined;
10927
11029
  } | null | undefined;
10928
11030
  } | {
10929
- type: "audio";
10930
11031
  data: string;
11032
+ type: "audio";
10931
11033
  mimeType: string;
10932
11034
  annotations?: {
10933
11035
  priority?: number | null | undefined;
@@ -10964,6 +11066,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10964
11066
  lastModified?: string | null | undefined;
10965
11067
  } | null | undefined;
10966
11068
  };
11069
+ type: "content";
10967
11070
  } | {
10968
11071
  type: "diff";
10969
11072
  path: string;
@@ -11020,8 +11123,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11020
11123
  lastModified?: string | null | undefined;
11021
11124
  } | null | undefined;
11022
11125
  } | {
11023
- type: "image";
11024
11126
  data: string;
11127
+ type: "image";
11025
11128
  mimeType: string;
11026
11129
  annotations?: {
11027
11130
  priority?: number | null | undefined;
@@ -11029,8 +11132,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11029
11132
  lastModified?: string | null | undefined;
11030
11133
  } | null | undefined;
11031
11134
  } | {
11032
- type: "audio";
11033
11135
  data: string;
11136
+ type: "audio";
11034
11137
  mimeType: string;
11035
11138
  annotations?: {
11036
11139
  priority?: number | null | undefined;
@@ -11078,8 +11181,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11078
11181
  lastModified?: string | null | undefined;
11079
11182
  } | null | undefined;
11080
11183
  } | {
11081
- type: "image";
11082
11184
  data: string;
11185
+ type: "image";
11083
11186
  mimeType: string;
11084
11187
  annotations?: {
11085
11188
  priority?: number | null | undefined;
@@ -11087,8 +11190,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11087
11190
  lastModified?: string | null | undefined;
11088
11191
  } | null | undefined;
11089
11192
  } | {
11090
- type: "audio";
11091
11193
  data: string;
11194
+ type: "audio";
11092
11195
  mimeType: string;
11093
11196
  annotations?: {
11094
11197
  priority?: number | null | undefined;
@@ -11136,8 +11239,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11136
11239
  lastModified?: string | null | undefined;
11137
11240
  } | null | undefined;
11138
11241
  } | {
11139
- type: "image";
11140
11242
  data: string;
11243
+ type: "image";
11141
11244
  mimeType: string;
11142
11245
  annotations?: {
11143
11246
  priority?: number | null | undefined;
@@ -11145,8 +11248,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11145
11248
  lastModified?: string | null | undefined;
11146
11249
  } | null | undefined;
11147
11250
  } | {
11148
- type: "audio";
11149
11251
  data: string;
11252
+ type: "audio";
11150
11253
  mimeType: string;
11151
11254
  annotations?: {
11152
11255
  priority?: number | null | undefined;
@@ -11191,7 +11294,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11191
11294
  toolCallId: string;
11192
11295
  sessionUpdate: "tool_call";
11193
11296
  content?: ({
11194
- type: "content";
11195
11297
  content: {
11196
11298
  text: string;
11197
11299
  type: "text";
@@ -11201,8 +11303,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11201
11303
  lastModified?: string | null | undefined;
11202
11304
  } | null | undefined;
11203
11305
  } | {
11204
- type: "image";
11205
11306
  data: string;
11307
+ type: "image";
11206
11308
  mimeType: string;
11207
11309
  annotations?: {
11208
11310
  priority?: number | null | undefined;
@@ -11210,8 +11312,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11210
11312
  lastModified?: string | null | undefined;
11211
11313
  } | null | undefined;
11212
11314
  } | {
11213
- type: "audio";
11214
11315
  data: string;
11316
+ type: "audio";
11215
11317
  mimeType: string;
11216
11318
  annotations?: {
11217
11319
  priority?: number | null | undefined;
@@ -11248,6 +11350,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11248
11350
  lastModified?: string | null | undefined;
11249
11351
  } | null | undefined;
11250
11352
  };
11353
+ type: "content";
11251
11354
  } | {
11252
11355
  type: "diff";
11253
11356
  path: string;
@@ -11263,7 +11366,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11263
11366
  toolCallId: string;
11264
11367
  sessionUpdate: "tool_call_update";
11265
11368
  content?: ({
11266
- type: "content";
11267
11369
  content: {
11268
11370
  text: string;
11269
11371
  type: "text";
@@ -11273,8 +11375,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11273
11375
  lastModified?: string | null | undefined;
11274
11376
  } | null | undefined;
11275
11377
  } | {
11276
- type: "image";
11277
11378
  data: string;
11379
+ type: "image";
11278
11380
  mimeType: string;
11279
11381
  annotations?: {
11280
11382
  priority?: number | null | undefined;
@@ -11282,8 +11384,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11282
11384
  lastModified?: string | null | undefined;
11283
11385
  } | null | undefined;
11284
11386
  } | {
11285
- type: "audio";
11286
11387
  data: string;
11388
+ type: "audio";
11287
11389
  mimeType: string;
11288
11390
  annotations?: {
11289
11391
  priority?: number | null | undefined;
@@ -11320,6 +11422,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11320
11422
  lastModified?: string | null | undefined;
11321
11423
  } | null | undefined;
11322
11424
  };
11425
+ type: "content";
11323
11426
  } | {
11324
11427
  type: "diff";
11325
11428
  path: string;
@@ -11354,8 +11457,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11354
11457
  lastModified?: string | null | undefined;
11355
11458
  } | null | undefined;
11356
11459
  } | {
11357
- type: "image";
11358
11460
  data: string;
11461
+ type: "image";
11359
11462
  mimeType: string;
11360
11463
  annotations?: {
11361
11464
  priority?: number | null | undefined;
@@ -11363,8 +11466,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11363
11466
  lastModified?: string | null | undefined;
11364
11467
  } | null | undefined;
11365
11468
  } | {
11366
- type: "audio";
11367
11469
  data: string;
11470
+ type: "audio";
11368
11471
  mimeType: string;
11369
11472
  annotations?: {
11370
11473
  priority?: number | null | undefined;
@@ -11412,8 +11515,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11412
11515
  lastModified?: string | null | undefined;
11413
11516
  } | null | undefined;
11414
11517
  } | {
11415
- type: "image";
11416
11518
  data: string;
11519
+ type: "image";
11417
11520
  mimeType: string;
11418
11521
  annotations?: {
11419
11522
  priority?: number | null | undefined;
@@ -11421,8 +11524,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11421
11524
  lastModified?: string | null | undefined;
11422
11525
  } | null | undefined;
11423
11526
  } | {
11424
- type: "audio";
11425
11527
  data: string;
11528
+ type: "audio";
11426
11529
  mimeType: string;
11427
11530
  annotations?: {
11428
11531
  priority?: number | null | undefined;
@@ -11470,8 +11573,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11470
11573
  lastModified?: string | null | undefined;
11471
11574
  } | null | undefined;
11472
11575
  } | {
11473
- type: "image";
11474
11576
  data: string;
11577
+ type: "image";
11475
11578
  mimeType: string;
11476
11579
  annotations?: {
11477
11580
  priority?: number | null | undefined;
@@ -11479,8 +11582,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11479
11582
  lastModified?: string | null | undefined;
11480
11583
  } | null | undefined;
11481
11584
  } | {
11482
- type: "audio";
11483
11585
  data: string;
11586
+ type: "audio";
11484
11587
  mimeType: string;
11485
11588
  annotations?: {
11486
11589
  priority?: number | null | undefined;
@@ -11525,7 +11628,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11525
11628
  toolCallId: string;
11526
11629
  sessionUpdate: "tool_call";
11527
11630
  content?: ({
11528
- type: "content";
11529
11631
  content: {
11530
11632
  text: string;
11531
11633
  type: "text";
@@ -11535,8 +11637,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11535
11637
  lastModified?: string | null | undefined;
11536
11638
  } | null | undefined;
11537
11639
  } | {
11538
- type: "image";
11539
11640
  data: string;
11641
+ type: "image";
11540
11642
  mimeType: string;
11541
11643
  annotations?: {
11542
11644
  priority?: number | null | undefined;
@@ -11544,8 +11646,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11544
11646
  lastModified?: string | null | undefined;
11545
11647
  } | null | undefined;
11546
11648
  } | {
11547
- type: "audio";
11548
11649
  data: string;
11650
+ type: "audio";
11549
11651
  mimeType: string;
11550
11652
  annotations?: {
11551
11653
  priority?: number | null | undefined;
@@ -11582,6 +11684,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11582
11684
  lastModified?: string | null | undefined;
11583
11685
  } | null | undefined;
11584
11686
  };
11687
+ type: "content";
11585
11688
  } | {
11586
11689
  type: "diff";
11587
11690
  path: string;
@@ -11597,7 +11700,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11597
11700
  toolCallId: string;
11598
11701
  sessionUpdate: "tool_call_update";
11599
11702
  content?: ({
11600
- type: "content";
11601
11703
  content: {
11602
11704
  text: string;
11603
11705
  type: "text";
@@ -11607,8 +11709,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11607
11709
  lastModified?: string | null | undefined;
11608
11710
  } | null | undefined;
11609
11711
  } | {
11610
- type: "image";
11611
11712
  data: string;
11713
+ type: "image";
11612
11714
  mimeType: string;
11613
11715
  annotations?: {
11614
11716
  priority?: number | null | undefined;
@@ -11616,8 +11718,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11616
11718
  lastModified?: string | null | undefined;
11617
11719
  } | null | undefined;
11618
11720
  } | {
11619
- type: "audio";
11620
11721
  data: string;
11722
+ type: "audio";
11621
11723
  mimeType: string;
11622
11724
  annotations?: {
11623
11725
  priority?: number | null | undefined;
@@ -11654,6 +11756,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11654
11756
  lastModified?: string | null | undefined;
11655
11757
  } | null | undefined;
11656
11758
  };
11759
+ type: "content";
11657
11760
  } | {
11658
11761
  type: "diff";
11659
11762
  path: string;