@google/gemini-cli 0.1.21 → 0.1.22

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 (283) hide show
  1. package/README.md +26 -28
  2. package/dist/package.json +2 -2
  3. package/dist/src/commands/mcp/add.js +21 -10
  4. package/dist/src/commands/mcp/add.js.map +1 -1
  5. package/dist/src/commands/mcp/remove.js +2 -2
  6. package/dist/src/commands/mcp/remove.js.map +1 -1
  7. package/dist/src/config/auth.js +4 -3
  8. package/dist/src/config/auth.js.map +1 -1
  9. package/dist/src/config/auth.test.d.ts +6 -0
  10. package/dist/src/config/auth.test.js +57 -0
  11. package/dist/src/config/auth.test.js.map +1 -0
  12. package/dist/src/config/config.d.ts +1 -0
  13. package/dist/src/config/config.js +18 -11
  14. package/dist/src/config/config.js.map +1 -1
  15. package/dist/src/config/keyBindings.js +3 -2
  16. package/dist/src/config/keyBindings.js.map +1 -1
  17. package/dist/src/config/keyBindings.test.d.ts +6 -0
  18. package/dist/src/config/keyBindings.test.js +51 -0
  19. package/dist/src/config/keyBindings.test.js.map +1 -0
  20. package/dist/src/config/sandboxConfig.js +3 -3
  21. package/dist/src/config/sandboxConfig.js.map +1 -1
  22. package/dist/src/config/settings.js +7 -7
  23. package/dist/src/config/settings.js.map +1 -1
  24. package/dist/src/config/settingsSchema.test.d.ts +6 -0
  25. package/dist/src/config/settingsSchema.test.js +195 -0
  26. package/dist/src/config/settingsSchema.test.js.map +1 -0
  27. package/dist/src/config/trustedFolders.d.ts +2 -1
  28. package/dist/src/config/trustedFolders.js +7 -1
  29. package/dist/src/config/trustedFolders.js.map +1 -1
  30. package/dist/src/config/trustedFolders.test.d.ts +6 -0
  31. package/dist/src/config/trustedFolders.test.js +160 -0
  32. package/dist/src/config/trustedFolders.test.js.map +1 -0
  33. package/dist/src/gemini.js +17 -7
  34. package/dist/src/gemini.js.map +1 -1
  35. package/dist/src/gemini.test.d.ts +6 -0
  36. package/dist/src/gemini.test.js +193 -0
  37. package/dist/src/gemini.test.js.map +1 -0
  38. package/dist/src/generated/git-commit.d.ts +2 -1
  39. package/dist/src/generated/git-commit.js +2 -1
  40. package/dist/src/generated/git-commit.js.map +1 -1
  41. package/dist/src/nonInteractiveCli.js +1 -3
  42. package/dist/src/nonInteractiveCli.js.map +1 -1
  43. package/dist/src/services/BuiltinCommandLoader.test.d.ts +6 -0
  44. package/dist/src/services/BuiltinCommandLoader.test.js +108 -0
  45. package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -0
  46. package/dist/src/services/CommandService.test.d.ts +6 -0
  47. package/dist/src/services/CommandService.test.js +232 -0
  48. package/dist/src/services/CommandService.test.js.map +1 -0
  49. package/dist/src/services/FileCommandLoader.js +10 -8
  50. package/dist/src/services/FileCommandLoader.js.map +1 -1
  51. package/dist/src/services/McpPromptLoader.js +3 -3
  52. package/dist/src/services/McpPromptLoader.js.map +1 -1
  53. package/dist/src/services/prompt-processors/argumentProcessor.d.ts +2 -7
  54. package/dist/src/services/prompt-processors/argumentProcessor.js +2 -10
  55. package/dist/src/services/prompt-processors/argumentProcessor.js.map +1 -1
  56. package/dist/src/services/prompt-processors/shellProcessor.d.ts +16 -13
  57. package/dist/src/services/prompt-processors/shellProcessor.js +133 -40
  58. package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -1
  59. package/dist/src/services/prompt-processors/types.d.ts +2 -0
  60. package/dist/src/services/prompt-processors/types.js +2 -0
  61. package/dist/src/services/prompt-processors/types.js.map +1 -1
  62. package/dist/src/test-utils/customMatchers.d.ts +14 -0
  63. package/dist/src/test-utils/customMatchers.js +46 -0
  64. package/dist/src/test-utils/customMatchers.js.map +1 -0
  65. package/dist/src/test-utils/mockCommandContext.d.ts +18 -0
  66. package/dist/src/test-utils/mockCommandContext.js +86 -0
  67. package/dist/src/test-utils/mockCommandContext.js.map +1 -0
  68. package/dist/src/test-utils/mockCommandContext.test.d.ts +6 -0
  69. package/dist/src/test-utils/mockCommandContext.test.js +51 -0
  70. package/dist/src/test-utils/mockCommandContext.test.js.map +1 -0
  71. package/dist/src/test-utils/render.d.ts +8 -0
  72. package/dist/src/test-utils/render.js +10 -0
  73. package/dist/src/test-utils/render.js.map +1 -0
  74. package/dist/src/ui/App.js +10 -8
  75. package/dist/src/ui/App.js.map +1 -1
  76. package/dist/src/ui/IdeIntegrationNudge.js +3 -3
  77. package/dist/src/ui/IdeIntegrationNudge.js.map +1 -1
  78. package/dist/src/ui/commands/aboutCommand.js +8 -5
  79. package/dist/src/ui/commands/aboutCommand.js.map +1 -1
  80. package/dist/src/ui/commands/bugCommand.js +6 -4
  81. package/dist/src/ui/commands/bugCommand.js.map +1 -1
  82. package/dist/src/ui/commands/chatCommand.js +8 -6
  83. package/dist/src/ui/commands/chatCommand.js.map +1 -1
  84. package/dist/src/ui/commands/docsCommand.js +1 -1
  85. package/dist/src/ui/commands/docsCommand.js.map +1 -1
  86. package/dist/src/ui/commands/ideCommand.js +2 -2
  87. package/dist/src/ui/commands/ideCommand.js.map +1 -1
  88. package/dist/src/ui/commands/setupGithubCommand.test.d.ts +6 -0
  89. package/dist/src/ui/commands/setupGithubCommand.test.js +74 -0
  90. package/dist/src/ui/commands/setupGithubCommand.test.js.map +1 -0
  91. package/dist/src/ui/components/AboutBox.d.ts +1 -0
  92. package/dist/src/ui/components/AboutBox.js +1 -1
  93. package/dist/src/ui/components/AboutBox.js.map +1 -1
  94. package/dist/src/ui/components/AuthDialog.js +8 -8
  95. package/dist/src/ui/components/AuthDialog.js.map +1 -1
  96. package/dist/src/ui/components/AuthDialog.test.d.ts +6 -0
  97. package/dist/src/ui/components/AuthDialog.test.js +242 -0
  98. package/dist/src/ui/components/AuthDialog.test.js.map +1 -0
  99. package/dist/src/ui/components/ContextSummaryDisplay.js +1 -1
  100. package/dist/src/ui/components/FolderTrustDialog.test.d.ts +6 -0
  101. package/dist/src/ui/components/FolderTrustDialog.test.js +26 -0
  102. package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -0
  103. package/dist/src/ui/components/Footer.d.ts +1 -0
  104. package/dist/src/ui/components/Footer.js +3 -2
  105. package/dist/src/ui/components/Footer.js.map +1 -1
  106. package/dist/src/ui/components/Header.test.d.ts +6 -0
  107. package/dist/src/ui/components/Header.test.js +37 -0
  108. package/dist/src/ui/components/Header.test.js.map +1 -0
  109. package/dist/src/ui/components/HistoryItemDisplay.js +1 -1
  110. package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
  111. package/dist/src/ui/components/HistoryItemDisplay.test.d.ts +6 -0
  112. package/dist/src/ui/components/HistoryItemDisplay.test.js +91 -0
  113. package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -0
  114. package/dist/src/ui/components/InputPrompt.js +0 -4
  115. package/dist/src/ui/components/InputPrompt.js.map +1 -1
  116. package/dist/src/ui/components/LoadingIndicator.test.d.ts +6 -0
  117. package/dist/src/ui/components/LoadingIndicator.test.js +190 -0
  118. package/dist/src/ui/components/LoadingIndicator.test.js.map +1 -0
  119. package/dist/src/ui/components/SettingsDialog.test.d.ts +6 -0
  120. package/dist/src/ui/components/SettingsDialog.test.js +555 -0
  121. package/dist/src/ui/components/SettingsDialog.test.js.map +1 -0
  122. package/dist/src/ui/components/ShellConfirmationDialog.js +2 -1
  123. package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
  124. package/dist/src/ui/components/ShellConfirmationDialog.test.d.ts +6 -0
  125. package/dist/src/ui/components/ShellConfirmationDialog.test.js +40 -0
  126. package/dist/src/ui/components/ShellConfirmationDialog.test.js.map +1 -0
  127. package/dist/src/ui/components/StatsDisplay.js +1 -1
  128. package/dist/src/ui/components/StatsDisplay.js.map +1 -1
  129. package/dist/src/ui/components/messages/DiffRenderer.js +10 -1
  130. package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -1
  131. package/dist/src/ui/components/messages/DiffRenderer.test.d.ts +6 -0
  132. package/dist/src/ui/components/messages/DiffRenderer.test.js +239 -0
  133. package/dist/src/ui/components/messages/DiffRenderer.test.js.map +1 -0
  134. package/dist/src/ui/components/messages/InfoMessage.js +2 -1
  135. package/dist/src/ui/components/messages/InfoMessage.js.map +1 -1
  136. package/dist/src/ui/components/messages/ToolConfirmationMessage.js +2 -1
  137. package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
  138. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.d.ts +6 -0
  139. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +37 -0
  140. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -0
  141. package/dist/src/ui/components/messages/ToolMessage.test.d.ts +6 -0
  142. package/dist/src/ui/components/messages/ToolMessage.test.js +118 -0
  143. package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -0
  144. package/dist/src/ui/components/shared/MaxSizedBox.js +1 -1
  145. package/dist/src/ui/components/shared/MaxSizedBox.js.map +1 -1
  146. package/dist/src/ui/components/shared/MaxSizedBox.test.d.ts +6 -0
  147. package/dist/src/ui/components/shared/MaxSizedBox.test.js +154 -0
  148. package/dist/src/ui/components/shared/MaxSizedBox.test.js.map +1 -0
  149. package/dist/src/ui/components/shared/RadioButtonSelect.js +1 -1
  150. package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -1
  151. package/dist/src/ui/components/shared/RadioButtonSelect.test.d.ts +6 -0
  152. package/dist/src/ui/components/shared/RadioButtonSelect.test.js +111 -0
  153. package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +1 -0
  154. package/dist/src/ui/contexts/KeypressContext.d.ts +30 -0
  155. package/dist/src/ui/contexts/KeypressContext.js +310 -0
  156. package/dist/src/ui/contexts/KeypressContext.js.map +1 -0
  157. package/dist/src/ui/contexts/KeypressContext.test.d.ts +6 -0
  158. package/dist/src/ui/contexts/KeypressContext.test.js +220 -0
  159. package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -0
  160. package/dist/src/ui/contexts/SessionContext.d.ts +1 -0
  161. package/dist/src/ui/contexts/SessionContext.js +2 -1
  162. package/dist/src/ui/contexts/SessionContext.js.map +1 -1
  163. package/dist/src/ui/hooks/atCommandProcessor.js +9 -9
  164. package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
  165. package/dist/src/ui/hooks/atCommandProcessor.test.d.ts +6 -0
  166. package/dist/src/ui/hooks/atCommandProcessor.test.js +802 -0
  167. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -0
  168. package/dist/src/ui/hooks/shellCommandProcessor.test.d.ts +6 -0
  169. package/dist/src/ui/hooks/shellCommandProcessor.test.js +328 -0
  170. package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -0
  171. package/dist/src/ui/hooks/slashCommandProcessor.js +7 -7
  172. package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
  173. package/dist/src/ui/hooks/useAtCompletion.js +3 -5
  174. package/dist/src/ui/hooks/useAtCompletion.js.map +1 -1
  175. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.d.ts +6 -0
  176. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +191 -0
  177. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -0
  178. package/dist/src/ui/hooks/useEditorSettings.test.d.ts +6 -0
  179. package/dist/src/ui/hooks/useEditorSettings.test.js +164 -0
  180. package/dist/src/ui/hooks/useEditorSettings.test.js.map +1 -0
  181. package/dist/src/ui/hooks/useFolderTrust.d.ts +2 -2
  182. package/dist/src/ui/hooks/useFolderTrust.js +23 -5
  183. package/dist/src/ui/hooks/useFolderTrust.js.map +1 -1
  184. package/dist/src/ui/hooks/useGitBranchName.test.d.ts +6 -0
  185. package/dist/src/ui/hooks/useGitBranchName.test.js +175 -0
  186. package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -0
  187. package/dist/src/ui/hooks/useHistoryManager.test.d.ts +6 -0
  188. package/dist/src/ui/hooks/useHistoryManager.test.js +171 -0
  189. package/dist/src/ui/hooks/useHistoryManager.test.js.map +1 -0
  190. package/dist/src/ui/hooks/useInputHistory.test.d.ts +6 -0
  191. package/dist/src/ui/hooks/useInputHistory.test.js +207 -0
  192. package/dist/src/ui/hooks/useInputHistory.test.js.map +1 -0
  193. package/dist/src/ui/hooks/useKeypress.d.ts +4 -24
  194. package/dist/src/ui/hooks/useKeypress.js +9 -330
  195. package/dist/src/ui/hooks/useKeypress.js.map +1 -1
  196. package/dist/src/ui/hooks/useLoadingIndicator.test.d.ts +6 -0
  197. package/dist/src/ui/hooks/useLoadingIndicator.test.js +91 -0
  198. package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -0
  199. package/dist/src/ui/hooks/useReverseSearchCompletion.test.d.ts +6 -0
  200. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js +163 -0
  201. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js.map +1 -0
  202. package/dist/src/ui/hooks/useShellHistory.test.d.ts +6 -0
  203. package/dist/src/ui/hooks/useShellHistory.test.js +162 -0
  204. package/dist/src/ui/hooks/useShellHistory.test.js.map +1 -0
  205. package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +6 -0
  206. package/dist/src/ui/hooks/useSlashCompletion.test.js +272 -0
  207. package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -0
  208. package/dist/src/ui/hooks/useThemeCommand.js +1 -1
  209. package/dist/src/ui/hooks/useThemeCommand.js.map +1 -1
  210. package/dist/src/ui/hooks/useTimer.test.d.ts +6 -0
  211. package/dist/src/ui/hooks/useTimer.test.js +90 -0
  212. package/dist/src/ui/hooks/useTimer.test.js.map +1 -0
  213. package/dist/src/ui/hooks/useToolScheduler.test.d.ts +6 -0
  214. package/dist/src/ui/hooks/useToolScheduler.test.js +841 -0
  215. package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -0
  216. package/dist/src/ui/keyMatchers.test.d.ts +6 -0
  217. package/dist/src/ui/keyMatchers.test.js +276 -0
  218. package/dist/src/ui/keyMatchers.test.js.map +1 -0
  219. package/dist/src/ui/themes/color-utils.test.d.ts +6 -0
  220. package/dist/src/ui/themes/color-utils.test.js +197 -0
  221. package/dist/src/ui/themes/color-utils.test.js.map +1 -0
  222. package/dist/src/ui/themes/theme-manager.js +1 -1
  223. package/dist/src/ui/themes/theme-manager.js.map +1 -1
  224. package/dist/src/ui/themes/theme-manager.test.d.ts +6 -0
  225. package/dist/src/ui/themes/theme-manager.test.js +83 -0
  226. package/dist/src/ui/themes/theme-manager.test.js.map +1 -0
  227. package/dist/src/ui/types.d.ts +2 -0
  228. package/dist/src/ui/types.js.map +1 -1
  229. package/dist/src/ui/utils/CodeColorizer.js +1 -1
  230. package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
  231. package/dist/src/ui/utils/InlineMarkdownRenderer.js +8 -1
  232. package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +1 -1
  233. package/dist/src/ui/utils/MarkdownDisplay.test.d.ts +6 -0
  234. package/dist/src/ui/utils/MarkdownDisplay.test.js +151 -0
  235. package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -0
  236. package/dist/src/ui/utils/clipboardUtils.test.d.ts +6 -0
  237. package/dist/src/ui/utils/clipboardUtils.test.js +65 -0
  238. package/dist/src/ui/utils/clipboardUtils.test.js.map +1 -0
  239. package/dist/src/ui/utils/commandUtils.test.d.ts +6 -0
  240. package/dist/src/ui/utils/commandUtils.test.js +294 -0
  241. package/dist/src/ui/utils/commandUtils.test.js.map +1 -0
  242. package/dist/src/ui/utils/displayUtils.test.d.ts +6 -0
  243. package/dist/src/ui/utils/displayUtils.test.js +42 -0
  244. package/dist/src/ui/utils/displayUtils.test.js.map +1 -0
  245. package/dist/src/ui/utils/formatters.test.d.ts +6 -0
  246. package/dist/src/ui/utils/formatters.test.js +56 -0
  247. package/dist/src/ui/utils/formatters.test.js.map +1 -0
  248. package/dist/src/ui/utils/markdownUtilities.test.d.ts +6 -0
  249. package/dist/src/ui/utils/markdownUtilities.test.js +42 -0
  250. package/dist/src/ui/utils/markdownUtilities.test.js.map +1 -0
  251. package/dist/src/ui/utils/platformConstants.d.ts +5 -0
  252. package/dist/src/ui/utils/platformConstants.js +5 -0
  253. package/dist/src/ui/utils/platformConstants.js.map +1 -1
  254. package/dist/src/ui/utils/terminalSetup.js +7 -7
  255. package/dist/src/ui/utils/terminalSetup.js.map +1 -1
  256. package/dist/src/ui/utils/updateCheck.js +1 -1
  257. package/dist/src/ui/utils/updateCheck.js.map +1 -1
  258. package/dist/src/ui/utils/updateCheck.test.d.ts +6 -0
  259. package/dist/src/ui/utils/updateCheck.test.js +145 -0
  260. package/dist/src/ui/utils/updateCheck.test.js.map +1 -0
  261. package/dist/src/utils/gitUtils.test.d.ts +6 -0
  262. package/dist/src/utils/gitUtils.test.js +113 -0
  263. package/dist/src/utils/gitUtils.test.js.map +1 -0
  264. package/dist/src/utils/installationInfo.test.d.ts +6 -0
  265. package/dist/src/utils/installationInfo.test.js +242 -0
  266. package/dist/src/utils/installationInfo.test.js.map +1 -0
  267. package/dist/src/utils/readStdin.js +10 -0
  268. package/dist/src/utils/readStdin.js.map +1 -1
  269. package/dist/src/utils/sandbox.js +62 -60
  270. package/dist/src/utils/sandbox.js.map +1 -1
  271. package/dist/src/utils/settingsUtils.test.d.ts +6 -0
  272. package/dist/src/utils/settingsUtils.test.js +514 -0
  273. package/dist/src/utils/settingsUtils.test.js.map +1 -0
  274. package/dist/src/utils/userStartupWarnings.test.d.ts +6 -0
  275. package/dist/src/utils/userStartupWarnings.test.js +67 -0
  276. package/dist/src/utils/userStartupWarnings.test.js.map +1 -0
  277. package/dist/src/utils/version.js +1 -1
  278. package/dist/src/utils/version.js.map +1 -1
  279. package/dist/src/validateNonInterActiveAuth.js +3 -3
  280. package/dist/src/validateNonInterActiveAuth.js.map +1 -1
  281. package/dist/src/zed-integration/schema.d.ts +322 -322
  282. package/dist/tsconfig.tsbuildinfo +1 -1
  283. package/package.json +3 -3
@@ -493,6 +493,7 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
493
493
  }>, "many">;
494
494
  sessionId: z.ZodString;
495
495
  }, "strip", z.ZodTypeAny, {
496
+ sessionId: string;
496
497
  mcpServers: {
497
498
  name: string;
498
499
  args: string[];
@@ -503,8 +504,8 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
503
504
  }[];
504
505
  }[];
505
506
  cwd: string;
506
- sessionId: string;
507
507
  }, {
508
+ sessionId: string;
508
509
  mcpServers: {
509
510
  name: string;
510
511
  args: string[];
@@ -515,7 +516,6 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
515
516
  }[];
516
517
  }[];
517
518
  cwd: string;
518
- sessionId: string;
519
519
  }>;
520
520
  export declare const initializeResponseSchema: z.ZodObject<{
521
521
  agentCapabilities: z.ZodObject<{
@@ -610,8 +610,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
610
610
  mimeType: z.ZodString;
611
611
  type: z.ZodLiteral<"image">;
612
612
  }, "strip", z.ZodTypeAny, {
613
- data: string;
614
613
  type: "image";
614
+ data: string;
615
615
  mimeType: string;
616
616
  annotations?: {
617
617
  priority?: number | null | undefined;
@@ -619,8 +619,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
619
619
  lastModified?: string | null | undefined;
620
620
  } | null | undefined;
621
621
  }, {
622
- data: string;
623
622
  type: "image";
623
+ data: string;
624
624
  mimeType: string;
625
625
  annotations?: {
626
626
  priority?: number | null | undefined;
@@ -645,8 +645,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
645
645
  mimeType: z.ZodString;
646
646
  type: z.ZodLiteral<"audio">;
647
647
  }, "strip", z.ZodTypeAny, {
648
- data: string;
649
648
  type: "audio";
649
+ data: string;
650
650
  mimeType: string;
651
651
  annotations?: {
652
652
  priority?: number | null | undefined;
@@ -654,8 +654,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
654
654
  lastModified?: string | null | undefined;
655
655
  } | null | undefined;
656
656
  }, {
657
- data: string;
658
657
  type: "audio";
658
+ data: string;
659
659
  mimeType: string;
660
660
  annotations?: {
661
661
  priority?: number | null | undefined;
@@ -833,8 +833,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
833
833
  mimeType: z.ZodString;
834
834
  type: z.ZodLiteral<"image">;
835
835
  }, "strip", z.ZodTypeAny, {
836
- data: string;
837
836
  type: "image";
837
+ data: string;
838
838
  mimeType: string;
839
839
  annotations?: {
840
840
  priority?: number | null | undefined;
@@ -842,8 +842,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
842
842
  lastModified?: string | null | undefined;
843
843
  } | null | undefined;
844
844
  }, {
845
- data: string;
846
845
  type: "image";
846
+ data: string;
847
847
  mimeType: string;
848
848
  annotations?: {
849
849
  priority?: number | null | undefined;
@@ -868,8 +868,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
868
868
  mimeType: z.ZodString;
869
869
  type: z.ZodLiteral<"audio">;
870
870
  }, "strip", z.ZodTypeAny, {
871
- data: string;
872
871
  type: "audio";
872
+ data: string;
873
873
  mimeType: string;
874
874
  annotations?: {
875
875
  priority?: number | null | undefined;
@@ -877,8 +877,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
877
877
  lastModified?: string | null | undefined;
878
878
  } | null | undefined;
879
879
  }, {
880
- data: string;
881
880
  type: "audio";
881
+ data: string;
882
882
  mimeType: string;
883
883
  annotations?: {
884
884
  priority?: number | null | undefined;
@@ -1007,6 +1007,7 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1007
1007
  }>]>;
1008
1008
  type: z.ZodLiteral<"content">;
1009
1009
  }, "strip", z.ZodTypeAny, {
1010
+ type: "content";
1010
1011
  content: {
1011
1012
  text: string;
1012
1013
  type: "text";
@@ -1016,8 +1017,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1016
1017
  lastModified?: string | null | undefined;
1017
1018
  } | null | undefined;
1018
1019
  } | {
1019
- data: string;
1020
1020
  type: "image";
1021
+ data: string;
1021
1022
  mimeType: string;
1022
1023
  annotations?: {
1023
1024
  priority?: number | null | undefined;
@@ -1025,8 +1026,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1025
1026
  lastModified?: string | null | undefined;
1026
1027
  } | null | undefined;
1027
1028
  } | {
1028
- data: string;
1029
1029
  type: "audio";
1030
+ data: string;
1030
1031
  mimeType: string;
1031
1032
  annotations?: {
1032
1033
  priority?: number | null | undefined;
@@ -1063,8 +1064,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1063
1064
  lastModified?: string | null | undefined;
1064
1065
  } | null | undefined;
1065
1066
  };
1066
- type: "content";
1067
1067
  }, {
1068
+ type: "content";
1068
1069
  content: {
1069
1070
  text: string;
1070
1071
  type: "text";
@@ -1074,8 +1075,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1074
1075
  lastModified?: string | null | undefined;
1075
1076
  } | null | undefined;
1076
1077
  } | {
1077
- data: string;
1078
1078
  type: "image";
1079
+ data: string;
1079
1080
  mimeType: string;
1080
1081
  annotations?: {
1081
1082
  priority?: number | null | undefined;
@@ -1083,8 +1084,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1083
1084
  lastModified?: string | null | undefined;
1084
1085
  } | null | undefined;
1085
1086
  } | {
1086
- data: string;
1087
1087
  type: "audio";
1088
+ data: string;
1088
1089
  mimeType: string;
1089
1090
  annotations?: {
1090
1091
  priority?: number | null | undefined;
@@ -1121,7 +1122,6 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1121
1122
  lastModified?: string | null | undefined;
1122
1123
  } | null | undefined;
1123
1124
  };
1124
- type: "content";
1125
1125
  }>, z.ZodObject<{
1126
1126
  newText: z.ZodString;
1127
1127
  oldText: z.ZodNullable<z.ZodString>;
@@ -1190,8 +1190,8 @@ export declare const toolCallSchema: z.ZodObject<{
1190
1190
  mimeType: z.ZodString;
1191
1191
  type: z.ZodLiteral<"image">;
1192
1192
  }, "strip", z.ZodTypeAny, {
1193
- data: string;
1194
1193
  type: "image";
1194
+ data: string;
1195
1195
  mimeType: string;
1196
1196
  annotations?: {
1197
1197
  priority?: number | null | undefined;
@@ -1199,8 +1199,8 @@ export declare const toolCallSchema: z.ZodObject<{
1199
1199
  lastModified?: string | null | undefined;
1200
1200
  } | null | undefined;
1201
1201
  }, {
1202
- data: string;
1203
1202
  type: "image";
1203
+ data: string;
1204
1204
  mimeType: string;
1205
1205
  annotations?: {
1206
1206
  priority?: number | null | undefined;
@@ -1225,8 +1225,8 @@ export declare const toolCallSchema: z.ZodObject<{
1225
1225
  mimeType: z.ZodString;
1226
1226
  type: z.ZodLiteral<"audio">;
1227
1227
  }, "strip", z.ZodTypeAny, {
1228
- data: string;
1229
1228
  type: "audio";
1229
+ data: string;
1230
1230
  mimeType: string;
1231
1231
  annotations?: {
1232
1232
  priority?: number | null | undefined;
@@ -1234,8 +1234,8 @@ export declare const toolCallSchema: z.ZodObject<{
1234
1234
  lastModified?: string | null | undefined;
1235
1235
  } | null | undefined;
1236
1236
  }, {
1237
- data: string;
1238
1237
  type: "audio";
1238
+ data: string;
1239
1239
  mimeType: string;
1240
1240
  annotations?: {
1241
1241
  priority?: number | null | undefined;
@@ -1364,6 +1364,7 @@ export declare const toolCallSchema: z.ZodObject<{
1364
1364
  }>]>;
1365
1365
  type: z.ZodLiteral<"content">;
1366
1366
  }, "strip", z.ZodTypeAny, {
1367
+ type: "content";
1367
1368
  content: {
1368
1369
  text: string;
1369
1370
  type: "text";
@@ -1373,8 +1374,8 @@ export declare const toolCallSchema: z.ZodObject<{
1373
1374
  lastModified?: string | null | undefined;
1374
1375
  } | null | undefined;
1375
1376
  } | {
1376
- data: string;
1377
1377
  type: "image";
1378
+ data: string;
1378
1379
  mimeType: string;
1379
1380
  annotations?: {
1380
1381
  priority?: number | null | undefined;
@@ -1382,8 +1383,8 @@ export declare const toolCallSchema: z.ZodObject<{
1382
1383
  lastModified?: string | null | undefined;
1383
1384
  } | null | undefined;
1384
1385
  } | {
1385
- data: string;
1386
1386
  type: "audio";
1387
+ data: string;
1387
1388
  mimeType: string;
1388
1389
  annotations?: {
1389
1390
  priority?: number | null | undefined;
@@ -1420,8 +1421,8 @@ export declare const toolCallSchema: z.ZodObject<{
1420
1421
  lastModified?: string | null | undefined;
1421
1422
  } | null | undefined;
1422
1423
  };
1423
- type: "content";
1424
1424
  }, {
1425
+ type: "content";
1425
1426
  content: {
1426
1427
  text: string;
1427
1428
  type: "text";
@@ -1431,8 +1432,8 @@ export declare const toolCallSchema: z.ZodObject<{
1431
1432
  lastModified?: string | null | undefined;
1432
1433
  } | null | undefined;
1433
1434
  } | {
1434
- data: string;
1435
1435
  type: "image";
1436
+ data: string;
1436
1437
  mimeType: string;
1437
1438
  annotations?: {
1438
1439
  priority?: number | null | undefined;
@@ -1440,8 +1441,8 @@ export declare const toolCallSchema: z.ZodObject<{
1440
1441
  lastModified?: string | null | undefined;
1441
1442
  } | null | undefined;
1442
1443
  } | {
1443
- data: string;
1444
1444
  type: "audio";
1445
+ data: string;
1445
1446
  mimeType: string;
1446
1447
  annotations?: {
1447
1448
  priority?: number | null | undefined;
@@ -1478,7 +1479,6 @@ export declare const toolCallSchema: z.ZodObject<{
1478
1479
  lastModified?: string | null | undefined;
1479
1480
  } | null | undefined;
1480
1481
  };
1481
- type: "content";
1482
1482
  }>, z.ZodObject<{
1483
1483
  newText: z.ZodString;
1484
1484
  oldText: z.ZodNullable<z.ZodString>;
@@ -1516,6 +1516,7 @@ export declare const toolCallSchema: z.ZodObject<{
1516
1516
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1517
1517
  toolCallId: string;
1518
1518
  content?: ({
1519
+ type: "content";
1519
1520
  content: {
1520
1521
  text: string;
1521
1522
  type: "text";
@@ -1525,8 +1526,8 @@ export declare const toolCallSchema: z.ZodObject<{
1525
1526
  lastModified?: string | null | undefined;
1526
1527
  } | null | undefined;
1527
1528
  } | {
1528
- data: string;
1529
1529
  type: "image";
1530
+ data: string;
1530
1531
  mimeType: string;
1531
1532
  annotations?: {
1532
1533
  priority?: number | null | undefined;
@@ -1534,8 +1535,8 @@ export declare const toolCallSchema: z.ZodObject<{
1534
1535
  lastModified?: string | null | undefined;
1535
1536
  } | null | undefined;
1536
1537
  } | {
1537
- data: string;
1538
1538
  type: "audio";
1539
+ data: string;
1539
1540
  mimeType: string;
1540
1541
  annotations?: {
1541
1542
  priority?: number | null | undefined;
@@ -1572,7 +1573,6 @@ export declare const toolCallSchema: z.ZodObject<{
1572
1573
  lastModified?: string | null | undefined;
1573
1574
  } | null | undefined;
1574
1575
  };
1575
- type: "content";
1576
1576
  } | {
1577
1577
  type: "diff";
1578
1578
  path: string;
@@ -1590,6 +1590,7 @@ export declare const toolCallSchema: z.ZodObject<{
1590
1590
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1591
1591
  toolCallId: string;
1592
1592
  content?: ({
1593
+ type: "content";
1593
1594
  content: {
1594
1595
  text: string;
1595
1596
  type: "text";
@@ -1599,8 +1600,8 @@ export declare const toolCallSchema: z.ZodObject<{
1599
1600
  lastModified?: string | null | undefined;
1600
1601
  } | null | undefined;
1601
1602
  } | {
1602
- data: string;
1603
1603
  type: "image";
1604
+ data: string;
1604
1605
  mimeType: string;
1605
1606
  annotations?: {
1606
1607
  priority?: number | null | undefined;
@@ -1608,8 +1609,8 @@ export declare const toolCallSchema: z.ZodObject<{
1608
1609
  lastModified?: string | null | undefined;
1609
1610
  } | null | undefined;
1610
1611
  } | {
1611
- data: string;
1612
1612
  type: "audio";
1613
+ data: string;
1613
1614
  mimeType: string;
1614
1615
  annotations?: {
1615
1616
  priority?: number | null | undefined;
@@ -1646,7 +1647,6 @@ export declare const toolCallSchema: z.ZodObject<{
1646
1647
  lastModified?: string | null | undefined;
1647
1648
  } | null | undefined;
1648
1649
  };
1649
- type: "content";
1650
1650
  } | {
1651
1651
  type: "diff";
1652
1652
  path: string;
@@ -1732,8 +1732,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1732
1732
  mimeType: z.ZodString;
1733
1733
  type: z.ZodLiteral<"image">;
1734
1734
  }, "strip", z.ZodTypeAny, {
1735
- data: string;
1736
1735
  type: "image";
1736
+ data: string;
1737
1737
  mimeType: string;
1738
1738
  annotations?: {
1739
1739
  priority?: number | null | undefined;
@@ -1741,8 +1741,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1741
1741
  lastModified?: string | null | undefined;
1742
1742
  } | null | undefined;
1743
1743
  }, {
1744
- data: string;
1745
1744
  type: "image";
1745
+ data: string;
1746
1746
  mimeType: string;
1747
1747
  annotations?: {
1748
1748
  priority?: number | null | undefined;
@@ -1767,8 +1767,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1767
1767
  mimeType: z.ZodString;
1768
1768
  type: z.ZodLiteral<"audio">;
1769
1769
  }, "strip", z.ZodTypeAny, {
1770
- data: string;
1771
1770
  type: "audio";
1771
+ data: string;
1772
1772
  mimeType: string;
1773
1773
  annotations?: {
1774
1774
  priority?: number | null | undefined;
@@ -1776,8 +1776,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1776
1776
  lastModified?: string | null | undefined;
1777
1777
  } | null | undefined;
1778
1778
  }, {
1779
- data: string;
1780
1779
  type: "audio";
1780
+ data: string;
1781
1781
  mimeType: string;
1782
1782
  annotations?: {
1783
1783
  priority?: number | null | undefined;
@@ -1906,6 +1906,7 @@ export declare const promptRequestSchema: z.ZodObject<{
1906
1906
  }>]>, "many">;
1907
1907
  sessionId: z.ZodString;
1908
1908
  }, "strip", z.ZodTypeAny, {
1909
+ sessionId: string;
1909
1910
  prompt: ({
1910
1911
  text: string;
1911
1912
  type: "text";
@@ -1915,8 +1916,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1915
1916
  lastModified?: string | null | undefined;
1916
1917
  } | null | undefined;
1917
1918
  } | {
1918
- data: string;
1919
1919
  type: "image";
1920
+ data: string;
1920
1921
  mimeType: string;
1921
1922
  annotations?: {
1922
1923
  priority?: number | null | undefined;
@@ -1924,8 +1925,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1924
1925
  lastModified?: string | null | undefined;
1925
1926
  } | null | undefined;
1926
1927
  } | {
1927
- data: string;
1928
1928
  type: "audio";
1929
+ data: string;
1929
1930
  mimeType: string;
1930
1931
  annotations?: {
1931
1932
  priority?: number | null | undefined;
@@ -1962,8 +1963,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1962
1963
  lastModified?: string | null | undefined;
1963
1964
  } | null | undefined;
1964
1965
  })[];
1965
- sessionId: string;
1966
1966
  }, {
1967
+ sessionId: string;
1967
1968
  prompt: ({
1968
1969
  text: string;
1969
1970
  type: "text";
@@ -1973,8 +1974,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1973
1974
  lastModified?: string | null | undefined;
1974
1975
  } | null | undefined;
1975
1976
  } | {
1976
- data: string;
1977
1977
  type: "image";
1978
+ data: string;
1978
1979
  mimeType: string;
1979
1980
  annotations?: {
1980
1981
  priority?: number | null | undefined;
@@ -1982,8 +1983,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1982
1983
  lastModified?: string | null | undefined;
1983
1984
  } | null | undefined;
1984
1985
  } | {
1985
- data: string;
1986
1986
  type: "audio";
1987
+ data: string;
1987
1988
  mimeType: string;
1988
1989
  annotations?: {
1989
1990
  priority?: number | null | undefined;
@@ -2020,7 +2021,6 @@ export declare const promptRequestSchema: z.ZodObject<{
2020
2021
  lastModified?: string | null | undefined;
2021
2022
  } | null | undefined;
2022
2023
  })[];
2023
- sessionId: string;
2024
2024
  }>;
2025
2025
  export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2026
2026
  content: z.ZodUnion<[z.ZodObject<{
@@ -2073,8 +2073,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2073
2073
  mimeType: z.ZodString;
2074
2074
  type: z.ZodLiteral<"image">;
2075
2075
  }, "strip", z.ZodTypeAny, {
2076
- data: string;
2077
2076
  type: "image";
2077
+ data: string;
2078
2078
  mimeType: string;
2079
2079
  annotations?: {
2080
2080
  priority?: number | null | undefined;
@@ -2082,8 +2082,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2082
2082
  lastModified?: string | null | undefined;
2083
2083
  } | null | undefined;
2084
2084
  }, {
2085
- data: string;
2086
2085
  type: "image";
2086
+ data: string;
2087
2087
  mimeType: string;
2088
2088
  annotations?: {
2089
2089
  priority?: number | null | undefined;
@@ -2108,8 +2108,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2108
2108
  mimeType: z.ZodString;
2109
2109
  type: z.ZodLiteral<"audio">;
2110
2110
  }, "strip", z.ZodTypeAny, {
2111
- data: string;
2112
2111
  type: "audio";
2112
+ data: string;
2113
2113
  mimeType: string;
2114
2114
  annotations?: {
2115
2115
  priority?: number | null | undefined;
@@ -2117,8 +2117,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2117
2117
  lastModified?: string | null | undefined;
2118
2118
  } | null | undefined;
2119
2119
  }, {
2120
- data: string;
2121
2120
  type: "audio";
2121
+ data: string;
2122
2122
  mimeType: string;
2123
2123
  annotations?: {
2124
2124
  priority?: number | null | undefined;
@@ -2256,8 +2256,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2256
2256
  lastModified?: string | null | undefined;
2257
2257
  } | null | undefined;
2258
2258
  } | {
2259
- data: string;
2260
2259
  type: "image";
2260
+ data: string;
2261
2261
  mimeType: string;
2262
2262
  annotations?: {
2263
2263
  priority?: number | null | undefined;
@@ -2265,8 +2265,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2265
2265
  lastModified?: string | null | undefined;
2266
2266
  } | null | undefined;
2267
2267
  } | {
2268
- data: string;
2269
2268
  type: "audio";
2269
+ data: string;
2270
2270
  mimeType: string;
2271
2271
  annotations?: {
2272
2272
  priority?: number | null | undefined;
@@ -2314,8 +2314,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2314
2314
  lastModified?: string | null | undefined;
2315
2315
  } | null | undefined;
2316
2316
  } | {
2317
- data: string;
2318
2317
  type: "image";
2318
+ data: string;
2319
2319
  mimeType: string;
2320
2320
  annotations?: {
2321
2321
  priority?: number | null | undefined;
@@ -2323,8 +2323,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2323
2323
  lastModified?: string | null | undefined;
2324
2324
  } | null | undefined;
2325
2325
  } | {
2326
- data: string;
2327
2326
  type: "audio";
2327
+ data: string;
2328
2328
  mimeType: string;
2329
2329
  annotations?: {
2330
2330
  priority?: number | null | undefined;
@@ -2413,8 +2413,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2413
2413
  mimeType: z.ZodString;
2414
2414
  type: z.ZodLiteral<"image">;
2415
2415
  }, "strip", z.ZodTypeAny, {
2416
- data: string;
2417
2416
  type: "image";
2417
+ data: string;
2418
2418
  mimeType: string;
2419
2419
  annotations?: {
2420
2420
  priority?: number | null | undefined;
@@ -2422,8 +2422,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2422
2422
  lastModified?: string | null | undefined;
2423
2423
  } | null | undefined;
2424
2424
  }, {
2425
- data: string;
2426
2425
  type: "image";
2426
+ data: string;
2427
2427
  mimeType: string;
2428
2428
  annotations?: {
2429
2429
  priority?: number | null | undefined;
@@ -2448,8 +2448,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2448
2448
  mimeType: z.ZodString;
2449
2449
  type: z.ZodLiteral<"audio">;
2450
2450
  }, "strip", z.ZodTypeAny, {
2451
- data: string;
2452
2451
  type: "audio";
2452
+ data: string;
2453
2453
  mimeType: string;
2454
2454
  annotations?: {
2455
2455
  priority?: number | null | undefined;
@@ -2457,8 +2457,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2457
2457
  lastModified?: string | null | undefined;
2458
2458
  } | null | undefined;
2459
2459
  }, {
2460
- data: string;
2461
2460
  type: "audio";
2461
+ data: string;
2462
2462
  mimeType: string;
2463
2463
  annotations?: {
2464
2464
  priority?: number | null | undefined;
@@ -2596,8 +2596,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2596
2596
  lastModified?: string | null | undefined;
2597
2597
  } | null | undefined;
2598
2598
  } | {
2599
- data: string;
2600
2599
  type: "image";
2600
+ data: string;
2601
2601
  mimeType: string;
2602
2602
  annotations?: {
2603
2603
  priority?: number | null | undefined;
@@ -2605,8 +2605,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2605
2605
  lastModified?: string | null | undefined;
2606
2606
  } | null | undefined;
2607
2607
  } | {
2608
- data: string;
2609
2608
  type: "audio";
2609
+ data: string;
2610
2610
  mimeType: string;
2611
2611
  annotations?: {
2612
2612
  priority?: number | null | undefined;
@@ -2654,8 +2654,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2654
2654
  lastModified?: string | null | undefined;
2655
2655
  } | null | undefined;
2656
2656
  } | {
2657
- data: string;
2658
2657
  type: "image";
2658
+ data: string;
2659
2659
  mimeType: string;
2660
2660
  annotations?: {
2661
2661
  priority?: number | null | undefined;
@@ -2663,8 +2663,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2663
2663
  lastModified?: string | null | undefined;
2664
2664
  } | null | undefined;
2665
2665
  } | {
2666
- data: string;
2667
2666
  type: "audio";
2667
+ data: string;
2668
2668
  mimeType: string;
2669
2669
  annotations?: {
2670
2670
  priority?: number | null | undefined;
@@ -2753,8 +2753,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2753
2753
  mimeType: z.ZodString;
2754
2754
  type: z.ZodLiteral<"image">;
2755
2755
  }, "strip", z.ZodTypeAny, {
2756
- data: string;
2757
2756
  type: "image";
2757
+ data: string;
2758
2758
  mimeType: string;
2759
2759
  annotations?: {
2760
2760
  priority?: number | null | undefined;
@@ -2762,8 +2762,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2762
2762
  lastModified?: string | null | undefined;
2763
2763
  } | null | undefined;
2764
2764
  }, {
2765
- data: string;
2766
2765
  type: "image";
2766
+ data: string;
2767
2767
  mimeType: string;
2768
2768
  annotations?: {
2769
2769
  priority?: number | null | undefined;
@@ -2788,8 +2788,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2788
2788
  mimeType: z.ZodString;
2789
2789
  type: z.ZodLiteral<"audio">;
2790
2790
  }, "strip", z.ZodTypeAny, {
2791
- data: string;
2792
2791
  type: "audio";
2792
+ data: string;
2793
2793
  mimeType: string;
2794
2794
  annotations?: {
2795
2795
  priority?: number | null | undefined;
@@ -2797,8 +2797,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2797
2797
  lastModified?: string | null | undefined;
2798
2798
  } | null | undefined;
2799
2799
  }, {
2800
- data: string;
2801
2800
  type: "audio";
2801
+ data: string;
2802
2802
  mimeType: string;
2803
2803
  annotations?: {
2804
2804
  priority?: number | null | undefined;
@@ -2936,8 +2936,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2936
2936
  lastModified?: string | null | undefined;
2937
2937
  } | null | undefined;
2938
2938
  } | {
2939
- data: string;
2940
2939
  type: "image";
2940
+ data: string;
2941
2941
  mimeType: string;
2942
2942
  annotations?: {
2943
2943
  priority?: number | null | undefined;
@@ -2945,8 +2945,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2945
2945
  lastModified?: string | null | undefined;
2946
2946
  } | null | undefined;
2947
2947
  } | {
2948
- data: string;
2949
2948
  type: "audio";
2949
+ data: string;
2950
2950
  mimeType: string;
2951
2951
  annotations?: {
2952
2952
  priority?: number | null | undefined;
@@ -2994,8 +2994,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2994
2994
  lastModified?: string | null | undefined;
2995
2995
  } | null | undefined;
2996
2996
  } | {
2997
- data: string;
2998
2997
  type: "image";
2998
+ data: string;
2999
2999
  mimeType: string;
3000
3000
  annotations?: {
3001
3001
  priority?: number | null | undefined;
@@ -3003,8 +3003,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3003
3003
  lastModified?: string | null | undefined;
3004
3004
  } | null | undefined;
3005
3005
  } | {
3006
- data: string;
3007
3006
  type: "audio";
3007
+ data: string;
3008
3008
  mimeType: string;
3009
3009
  annotations?: {
3010
3010
  priority?: number | null | undefined;
@@ -3094,8 +3094,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3094
3094
  mimeType: z.ZodString;
3095
3095
  type: z.ZodLiteral<"image">;
3096
3096
  }, "strip", z.ZodTypeAny, {
3097
- data: string;
3098
3097
  type: "image";
3098
+ data: string;
3099
3099
  mimeType: string;
3100
3100
  annotations?: {
3101
3101
  priority?: number | null | undefined;
@@ -3103,8 +3103,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3103
3103
  lastModified?: string | null | undefined;
3104
3104
  } | null | undefined;
3105
3105
  }, {
3106
- data: string;
3107
3106
  type: "image";
3107
+ data: string;
3108
3108
  mimeType: string;
3109
3109
  annotations?: {
3110
3110
  priority?: number | null | undefined;
@@ -3129,8 +3129,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3129
3129
  mimeType: z.ZodString;
3130
3130
  type: z.ZodLiteral<"audio">;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
- data: string;
3133
3132
  type: "audio";
3133
+ data: string;
3134
3134
  mimeType: string;
3135
3135
  annotations?: {
3136
3136
  priority?: number | null | undefined;
@@ -3138,8 +3138,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3138
3138
  lastModified?: string | null | undefined;
3139
3139
  } | null | undefined;
3140
3140
  }, {
3141
- data: string;
3142
3141
  type: "audio";
3142
+ data: string;
3143
3143
  mimeType: string;
3144
3144
  annotations?: {
3145
3145
  priority?: number | null | undefined;
@@ -3268,6 +3268,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3268
3268
  }>]>;
3269
3269
  type: z.ZodLiteral<"content">;
3270
3270
  }, "strip", z.ZodTypeAny, {
3271
+ type: "content";
3271
3272
  content: {
3272
3273
  text: string;
3273
3274
  type: "text";
@@ -3277,8 +3278,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3277
3278
  lastModified?: string | null | undefined;
3278
3279
  } | null | undefined;
3279
3280
  } | {
3280
- data: string;
3281
3281
  type: "image";
3282
+ data: string;
3282
3283
  mimeType: string;
3283
3284
  annotations?: {
3284
3285
  priority?: number | null | undefined;
@@ -3286,8 +3287,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3286
3287
  lastModified?: string | null | undefined;
3287
3288
  } | null | undefined;
3288
3289
  } | {
3289
- data: string;
3290
3290
  type: "audio";
3291
+ data: string;
3291
3292
  mimeType: string;
3292
3293
  annotations?: {
3293
3294
  priority?: number | null | undefined;
@@ -3324,8 +3325,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3324
3325
  lastModified?: string | null | undefined;
3325
3326
  } | null | undefined;
3326
3327
  };
3327
- type: "content";
3328
3328
  }, {
3329
+ type: "content";
3329
3330
  content: {
3330
3331
  text: string;
3331
3332
  type: "text";
@@ -3335,8 +3336,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3335
3336
  lastModified?: string | null | undefined;
3336
3337
  } | null | undefined;
3337
3338
  } | {
3338
- data: string;
3339
3339
  type: "image";
3340
+ data: string;
3340
3341
  mimeType: string;
3341
3342
  annotations?: {
3342
3343
  priority?: number | null | undefined;
@@ -3344,8 +3345,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3344
3345
  lastModified?: string | null | undefined;
3345
3346
  } | null | undefined;
3346
3347
  } | {
3347
- data: string;
3348
3348
  type: "audio";
3349
+ data: string;
3349
3350
  mimeType: string;
3350
3351
  annotations?: {
3351
3352
  priority?: number | null | undefined;
@@ -3382,7 +3383,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3382
3383
  lastModified?: string | null | undefined;
3383
3384
  } | null | undefined;
3384
3385
  };
3385
- type: "content";
3386
3386
  }>, z.ZodObject<{
3387
3387
  newText: z.ZodString;
3388
3388
  oldText: z.ZodNullable<z.ZodString>;
@@ -3422,6 +3422,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3422
3422
  toolCallId: string;
3423
3423
  sessionUpdate: "tool_call";
3424
3424
  content?: ({
3425
+ type: "content";
3425
3426
  content: {
3426
3427
  text: string;
3427
3428
  type: "text";
@@ -3431,8 +3432,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3431
3432
  lastModified?: string | null | undefined;
3432
3433
  } | null | undefined;
3433
3434
  } | {
3434
- data: string;
3435
3435
  type: "image";
3436
+ data: string;
3436
3437
  mimeType: string;
3437
3438
  annotations?: {
3438
3439
  priority?: number | null | undefined;
@@ -3440,8 +3441,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3440
3441
  lastModified?: string | null | undefined;
3441
3442
  } | null | undefined;
3442
3443
  } | {
3443
- data: string;
3444
3444
  type: "audio";
3445
+ data: string;
3445
3446
  mimeType: string;
3446
3447
  annotations?: {
3447
3448
  priority?: number | null | undefined;
@@ -3478,7 +3479,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3478
3479
  lastModified?: string | null | undefined;
3479
3480
  } | null | undefined;
3480
3481
  };
3481
- type: "content";
3482
3482
  } | {
3483
3483
  type: "diff";
3484
3484
  path: string;
@@ -3497,6 +3497,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3497
3497
  toolCallId: string;
3498
3498
  sessionUpdate: "tool_call";
3499
3499
  content?: ({
3500
+ type: "content";
3500
3501
  content: {
3501
3502
  text: string;
3502
3503
  type: "text";
@@ -3506,8 +3507,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3506
3507
  lastModified?: string | null | undefined;
3507
3508
  } | null | undefined;
3508
3509
  } | {
3509
- data: string;
3510
3510
  type: "image";
3511
+ data: string;
3511
3512
  mimeType: string;
3512
3513
  annotations?: {
3513
3514
  priority?: number | null | undefined;
@@ -3515,8 +3516,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3515
3516
  lastModified?: string | null | undefined;
3516
3517
  } | null | undefined;
3517
3518
  } | {
3518
- data: string;
3519
3519
  type: "audio";
3520
+ data: string;
3520
3521
  mimeType: string;
3521
3522
  annotations?: {
3522
3523
  priority?: number | null | undefined;
@@ -3553,7 +3554,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3553
3554
  lastModified?: string | null | undefined;
3554
3555
  } | null | undefined;
3555
3556
  };
3556
- type: "content";
3557
3557
  } | {
3558
3558
  type: "diff";
3559
3559
  path: string;
@@ -3617,8 +3617,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3617
3617
  mimeType: z.ZodString;
3618
3618
  type: z.ZodLiteral<"image">;
3619
3619
  }, "strip", z.ZodTypeAny, {
3620
- data: string;
3621
3620
  type: "image";
3621
+ data: string;
3622
3622
  mimeType: string;
3623
3623
  annotations?: {
3624
3624
  priority?: number | null | undefined;
@@ -3626,8 +3626,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3626
3626
  lastModified?: string | null | undefined;
3627
3627
  } | null | undefined;
3628
3628
  }, {
3629
- data: string;
3630
3629
  type: "image";
3630
+ data: string;
3631
3631
  mimeType: string;
3632
3632
  annotations?: {
3633
3633
  priority?: number | null | undefined;
@@ -3652,8 +3652,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3652
3652
  mimeType: z.ZodString;
3653
3653
  type: z.ZodLiteral<"audio">;
3654
3654
  }, "strip", z.ZodTypeAny, {
3655
- data: string;
3656
3655
  type: "audio";
3656
+ data: string;
3657
3657
  mimeType: string;
3658
3658
  annotations?: {
3659
3659
  priority?: number | null | undefined;
@@ -3661,8 +3661,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3661
3661
  lastModified?: string | null | undefined;
3662
3662
  } | null | undefined;
3663
3663
  }, {
3664
- data: string;
3665
3664
  type: "audio";
3665
+ data: string;
3666
3666
  mimeType: string;
3667
3667
  annotations?: {
3668
3668
  priority?: number | null | undefined;
@@ -3791,6 +3791,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3791
3791
  }>]>;
3792
3792
  type: z.ZodLiteral<"content">;
3793
3793
  }, "strip", z.ZodTypeAny, {
3794
+ type: "content";
3794
3795
  content: {
3795
3796
  text: string;
3796
3797
  type: "text";
@@ -3800,8 +3801,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3800
3801
  lastModified?: string | null | undefined;
3801
3802
  } | null | undefined;
3802
3803
  } | {
3803
- data: string;
3804
3804
  type: "image";
3805
+ data: string;
3805
3806
  mimeType: string;
3806
3807
  annotations?: {
3807
3808
  priority?: number | null | undefined;
@@ -3809,8 +3810,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3809
3810
  lastModified?: string | null | undefined;
3810
3811
  } | null | undefined;
3811
3812
  } | {
3812
- data: string;
3813
3813
  type: "audio";
3814
+ data: string;
3814
3815
  mimeType: string;
3815
3816
  annotations?: {
3816
3817
  priority?: number | null | undefined;
@@ -3847,8 +3848,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3847
3848
  lastModified?: string | null | undefined;
3848
3849
  } | null | undefined;
3849
3850
  };
3850
- type: "content";
3851
3851
  }, {
3852
+ type: "content";
3852
3853
  content: {
3853
3854
  text: string;
3854
3855
  type: "text";
@@ -3858,8 +3859,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3858
3859
  lastModified?: string | null | undefined;
3859
3860
  } | null | undefined;
3860
3861
  } | {
3861
- data: string;
3862
3862
  type: "image";
3863
+ data: string;
3863
3864
  mimeType: string;
3864
3865
  annotations?: {
3865
3866
  priority?: number | null | undefined;
@@ -3867,8 +3868,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3867
3868
  lastModified?: string | null | undefined;
3868
3869
  } | null | undefined;
3869
3870
  } | {
3870
- data: string;
3871
3871
  type: "audio";
3872
+ data: string;
3872
3873
  mimeType: string;
3873
3874
  annotations?: {
3874
3875
  priority?: number | null | undefined;
@@ -3905,7 +3906,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3905
3906
  lastModified?: string | null | undefined;
3906
3907
  } | null | undefined;
3907
3908
  };
3908
- type: "content";
3909
3909
  }>, z.ZodObject<{
3910
3910
  newText: z.ZodString;
3911
3911
  oldText: z.ZodNullable<z.ZodString>;
@@ -3942,6 +3942,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3942
3942
  toolCallId: string;
3943
3943
  sessionUpdate: "tool_call_update";
3944
3944
  content?: ({
3945
+ type: "content";
3945
3946
  content: {
3946
3947
  text: string;
3947
3948
  type: "text";
@@ -3951,8 +3952,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3951
3952
  lastModified?: string | null | undefined;
3952
3953
  } | null | undefined;
3953
3954
  } | {
3954
- data: string;
3955
3955
  type: "image";
3956
+ data: string;
3956
3957
  mimeType: string;
3957
3958
  annotations?: {
3958
3959
  priority?: number | null | undefined;
@@ -3960,8 +3961,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3960
3961
  lastModified?: string | null | undefined;
3961
3962
  } | null | undefined;
3962
3963
  } | {
3963
- data: string;
3964
3964
  type: "audio";
3965
+ data: string;
3965
3966
  mimeType: string;
3966
3967
  annotations?: {
3967
3968
  priority?: number | null | undefined;
@@ -3998,7 +3999,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3998
3999
  lastModified?: string | null | undefined;
3999
4000
  } | null | undefined;
4000
4001
  };
4001
- type: "content";
4002
4002
  } | {
4003
4003
  type: "diff";
4004
4004
  path: string;
@@ -4017,6 +4017,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4017
4017
  toolCallId: string;
4018
4018
  sessionUpdate: "tool_call_update";
4019
4019
  content?: ({
4020
+ type: "content";
4020
4021
  content: {
4021
4022
  text: string;
4022
4023
  type: "text";
@@ -4026,8 +4027,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4026
4027
  lastModified?: string | null | undefined;
4027
4028
  } | null | undefined;
4028
4029
  } | {
4029
- data: string;
4030
4030
  type: "image";
4031
+ data: string;
4031
4032
  mimeType: string;
4032
4033
  annotations?: {
4033
4034
  priority?: number | null | undefined;
@@ -4035,8 +4036,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4035
4036
  lastModified?: string | null | undefined;
4036
4037
  } | null | undefined;
4037
4038
  } | {
4038
- data: string;
4039
4039
  type: "audio";
4040
+ data: string;
4040
4041
  mimeType: string;
4041
4042
  annotations?: {
4042
4043
  priority?: number | null | undefined;
@@ -4073,7 +4074,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4073
4074
  lastModified?: string | null | undefined;
4074
4075
  } | null | undefined;
4075
4076
  };
4076
- type: "content";
4077
4077
  } | {
4078
4078
  type: "diff";
4079
4079
  path: string;
@@ -4240,8 +4240,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4240
4240
  mimeType: z.ZodString;
4241
4241
  type: z.ZodLiteral<"image">;
4242
4242
  }, "strip", z.ZodTypeAny, {
4243
- data: string;
4244
4243
  type: "image";
4244
+ data: string;
4245
4245
  mimeType: string;
4246
4246
  annotations?: {
4247
4247
  priority?: number | null | undefined;
@@ -4249,8 +4249,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4249
4249
  lastModified?: string | null | undefined;
4250
4250
  } | null | undefined;
4251
4251
  }, {
4252
- data: string;
4253
4252
  type: "image";
4253
+ data: string;
4254
4254
  mimeType: string;
4255
4255
  annotations?: {
4256
4256
  priority?: number | null | undefined;
@@ -4275,8 +4275,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4275
4275
  mimeType: z.ZodString;
4276
4276
  type: z.ZodLiteral<"audio">;
4277
4277
  }, "strip", z.ZodTypeAny, {
4278
- data: string;
4279
4278
  type: "audio";
4279
+ data: string;
4280
4280
  mimeType: string;
4281
4281
  annotations?: {
4282
4282
  priority?: number | null | undefined;
@@ -4284,8 +4284,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4284
4284
  lastModified?: string | null | undefined;
4285
4285
  } | null | undefined;
4286
4286
  }, {
4287
- data: string;
4288
4287
  type: "audio";
4288
+ data: string;
4289
4289
  mimeType: string;
4290
4290
  annotations?: {
4291
4291
  priority?: number | null | undefined;
@@ -4414,6 +4414,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4414
4414
  }>]>;
4415
4415
  type: z.ZodLiteral<"content">;
4416
4416
  }, "strip", z.ZodTypeAny, {
4417
+ type: "content";
4417
4418
  content: {
4418
4419
  text: string;
4419
4420
  type: "text";
@@ -4423,8 +4424,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4423
4424
  lastModified?: string | null | undefined;
4424
4425
  } | null | undefined;
4425
4426
  } | {
4426
- data: string;
4427
4427
  type: "image";
4428
+ data: string;
4428
4429
  mimeType: string;
4429
4430
  annotations?: {
4430
4431
  priority?: number | null | undefined;
@@ -4432,8 +4433,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4432
4433
  lastModified?: string | null | undefined;
4433
4434
  } | null | undefined;
4434
4435
  } | {
4435
- data: string;
4436
4436
  type: "audio";
4437
+ data: string;
4437
4438
  mimeType: string;
4438
4439
  annotations?: {
4439
4440
  priority?: number | null | undefined;
@@ -4470,8 +4471,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4470
4471
  lastModified?: string | null | undefined;
4471
4472
  } | null | undefined;
4472
4473
  };
4473
- type: "content";
4474
4474
  }, {
4475
+ type: "content";
4475
4476
  content: {
4476
4477
  text: string;
4477
4478
  type: "text";
@@ -4481,8 +4482,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4481
4482
  lastModified?: string | null | undefined;
4482
4483
  } | null | undefined;
4483
4484
  } | {
4484
- data: string;
4485
4485
  type: "image";
4486
+ data: string;
4486
4487
  mimeType: string;
4487
4488
  annotations?: {
4488
4489
  priority?: number | null | undefined;
@@ -4490,8 +4491,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4490
4491
  lastModified?: string | null | undefined;
4491
4492
  } | null | undefined;
4492
4493
  } | {
4493
- data: string;
4494
4494
  type: "audio";
4495
+ data: string;
4495
4496
  mimeType: string;
4496
4497
  annotations?: {
4497
4498
  priority?: number | null | undefined;
@@ -4528,7 +4529,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4528
4529
  lastModified?: string | null | undefined;
4529
4530
  } | null | undefined;
4530
4531
  };
4531
- type: "content";
4532
4532
  }>, z.ZodObject<{
4533
4533
  newText: z.ZodString;
4534
4534
  oldText: z.ZodNullable<z.ZodString>;
@@ -4566,6 +4566,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4566
4566
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4567
4567
  toolCallId: string;
4568
4568
  content?: ({
4569
+ type: "content";
4569
4570
  content: {
4570
4571
  text: string;
4571
4572
  type: "text";
@@ -4575,8 +4576,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4575
4576
  lastModified?: string | null | undefined;
4576
4577
  } | null | undefined;
4577
4578
  } | {
4578
- data: string;
4579
4579
  type: "image";
4580
+ data: string;
4580
4581
  mimeType: string;
4581
4582
  annotations?: {
4582
4583
  priority?: number | null | undefined;
@@ -4584,8 +4585,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4584
4585
  lastModified?: string | null | undefined;
4585
4586
  } | null | undefined;
4586
4587
  } | {
4587
- data: string;
4588
4588
  type: "audio";
4589
+ data: string;
4589
4590
  mimeType: string;
4590
4591
  annotations?: {
4591
4592
  priority?: number | null | undefined;
@@ -4622,7 +4623,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4622
4623
  lastModified?: string | null | undefined;
4623
4624
  } | null | undefined;
4624
4625
  };
4625
- type: "content";
4626
4626
  } | {
4627
4627
  type: "diff";
4628
4628
  path: string;
@@ -4640,6 +4640,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4640
4640
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4641
4641
  toolCallId: string;
4642
4642
  content?: ({
4643
+ type: "content";
4643
4644
  content: {
4644
4645
  text: string;
4645
4646
  type: "text";
@@ -4649,8 +4650,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4649
4650
  lastModified?: string | null | undefined;
4650
4651
  } | null | undefined;
4651
4652
  } | {
4652
- data: string;
4653
4653
  type: "image";
4654
+ data: string;
4654
4655
  mimeType: string;
4655
4656
  annotations?: {
4656
4657
  priority?: number | null | undefined;
@@ -4658,8 +4659,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4658
4659
  lastModified?: string | null | undefined;
4659
4660
  } | null | undefined;
4660
4661
  } | {
4661
- data: string;
4662
4662
  type: "audio";
4663
+ data: string;
4663
4664
  mimeType: string;
4664
4665
  annotations?: {
4665
4666
  priority?: number | null | undefined;
@@ -4696,7 +4697,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4696
4697
  lastModified?: string | null | undefined;
4697
4698
  } | null | undefined;
4698
4699
  };
4699
- type: "content";
4700
4700
  } | {
4701
4701
  type: "diff";
4702
4702
  path: string;
@@ -4710,18 +4710,19 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4710
4710
  rawInput?: unknown;
4711
4711
  }>;
4712
4712
  }, "strip", z.ZodTypeAny, {
4713
+ sessionId: string;
4713
4714
  options: {
4714
4715
  name: string;
4715
4716
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
4716
4717
  optionId: string;
4717
4718
  }[];
4718
- sessionId: string;
4719
4719
  toolCall: {
4720
4720
  status: "pending" | "in_progress" | "completed" | "failed";
4721
4721
  title: string;
4722
4722
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4723
4723
  toolCallId: string;
4724
4724
  content?: ({
4725
+ type: "content";
4725
4726
  content: {
4726
4727
  text: string;
4727
4728
  type: "text";
@@ -4731,8 +4732,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4731
4732
  lastModified?: string | null | undefined;
4732
4733
  } | null | undefined;
4733
4734
  } | {
4734
- data: string;
4735
4735
  type: "image";
4736
+ data: string;
4736
4737
  mimeType: string;
4737
4738
  annotations?: {
4738
4739
  priority?: number | null | undefined;
@@ -4740,8 +4741,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4740
4741
  lastModified?: string | null | undefined;
4741
4742
  } | null | undefined;
4742
4743
  } | {
4743
- data: string;
4744
4744
  type: "audio";
4745
+ data: string;
4745
4746
  mimeType: string;
4746
4747
  annotations?: {
4747
4748
  priority?: number | null | undefined;
@@ -4778,7 +4779,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4778
4779
  lastModified?: string | null | undefined;
4779
4780
  } | null | undefined;
4780
4781
  };
4781
- type: "content";
4782
4782
  } | {
4783
4783
  type: "diff";
4784
4784
  path: string;
@@ -4792,18 +4792,19 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4792
4792
  rawInput?: unknown;
4793
4793
  };
4794
4794
  }, {
4795
+ sessionId: string;
4795
4796
  options: {
4796
4797
  name: string;
4797
4798
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
4798
4799
  optionId: string;
4799
4800
  }[];
4800
- sessionId: string;
4801
4801
  toolCall: {
4802
4802
  status: "pending" | "in_progress" | "completed" | "failed";
4803
4803
  title: string;
4804
4804
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4805
4805
  toolCallId: string;
4806
4806
  content?: ({
4807
+ type: "content";
4807
4808
  content: {
4808
4809
  text: string;
4809
4810
  type: "text";
@@ -4813,8 +4814,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4813
4814
  lastModified?: string | null | undefined;
4814
4815
  } | null | undefined;
4815
4816
  } | {
4816
- data: string;
4817
4817
  type: "image";
4818
+ data: string;
4818
4819
  mimeType: string;
4819
4820
  annotations?: {
4820
4821
  priority?: number | null | undefined;
@@ -4822,8 +4823,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4822
4823
  lastModified?: string | null | undefined;
4823
4824
  } | null | undefined;
4824
4825
  } | {
4825
- data: string;
4826
4826
  type: "audio";
4827
+ data: string;
4827
4828
  mimeType: string;
4828
4829
  annotations?: {
4829
4830
  priority?: number | null | undefined;
@@ -4860,7 +4861,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4860
4861
  lastModified?: string | null | undefined;
4861
4862
  } | null | undefined;
4862
4863
  };
4863
- type: "content";
4864
4864
  } | {
4865
4865
  type: "diff";
4866
4866
  path: string;
@@ -4968,8 +4968,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
4968
4968
  mimeType: z.ZodString;
4969
4969
  type: z.ZodLiteral<"image">;
4970
4970
  }, "strip", z.ZodTypeAny, {
4971
- data: string;
4972
4971
  type: "image";
4972
+ data: string;
4973
4973
  mimeType: string;
4974
4974
  annotations?: {
4975
4975
  priority?: number | null | undefined;
@@ -4977,8 +4977,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
4977
4977
  lastModified?: string | null | undefined;
4978
4978
  } | null | undefined;
4979
4979
  }, {
4980
- data: string;
4981
4980
  type: "image";
4981
+ data: string;
4982
4982
  mimeType: string;
4983
4983
  annotations?: {
4984
4984
  priority?: number | null | undefined;
@@ -5003,8 +5003,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5003
5003
  mimeType: z.ZodString;
5004
5004
  type: z.ZodLiteral<"audio">;
5005
5005
  }, "strip", z.ZodTypeAny, {
5006
- data: string;
5007
5006
  type: "audio";
5007
+ data: string;
5008
5008
  mimeType: string;
5009
5009
  annotations?: {
5010
5010
  priority?: number | null | undefined;
@@ -5012,8 +5012,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5012
5012
  lastModified?: string | null | undefined;
5013
5013
  } | null | undefined;
5014
5014
  }, {
5015
- data: string;
5016
5015
  type: "audio";
5016
+ data: string;
5017
5017
  mimeType: string;
5018
5018
  annotations?: {
5019
5019
  priority?: number | null | undefined;
@@ -5151,8 +5151,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5151
5151
  lastModified?: string | null | undefined;
5152
5152
  } | null | undefined;
5153
5153
  } | {
5154
- data: string;
5155
5154
  type: "image";
5155
+ data: string;
5156
5156
  mimeType: string;
5157
5157
  annotations?: {
5158
5158
  priority?: number | null | undefined;
@@ -5160,8 +5160,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5160
5160
  lastModified?: string | null | undefined;
5161
5161
  } | null | undefined;
5162
5162
  } | {
5163
- data: string;
5164
5163
  type: "audio";
5164
+ data: string;
5165
5165
  mimeType: string;
5166
5166
  annotations?: {
5167
5167
  priority?: number | null | undefined;
@@ -5209,8 +5209,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5209
5209
  lastModified?: string | null | undefined;
5210
5210
  } | null | undefined;
5211
5211
  } | {
5212
- data: string;
5213
5212
  type: "image";
5213
+ data: string;
5214
5214
  mimeType: string;
5215
5215
  annotations?: {
5216
5216
  priority?: number | null | undefined;
@@ -5218,8 +5218,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5218
5218
  lastModified?: string | null | undefined;
5219
5219
  } | null | undefined;
5220
5220
  } | {
5221
- data: string;
5222
5221
  type: "audio";
5222
+ data: string;
5223
5223
  mimeType: string;
5224
5224
  annotations?: {
5225
5225
  priority?: number | null | undefined;
@@ -5308,8 +5308,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5308
5308
  mimeType: z.ZodString;
5309
5309
  type: z.ZodLiteral<"image">;
5310
5310
  }, "strip", z.ZodTypeAny, {
5311
- data: string;
5312
5311
  type: "image";
5312
+ data: string;
5313
5313
  mimeType: string;
5314
5314
  annotations?: {
5315
5315
  priority?: number | null | undefined;
@@ -5317,8 +5317,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5317
5317
  lastModified?: string | null | undefined;
5318
5318
  } | null | undefined;
5319
5319
  }, {
5320
- data: string;
5321
5320
  type: "image";
5321
+ data: string;
5322
5322
  mimeType: string;
5323
5323
  annotations?: {
5324
5324
  priority?: number | null | undefined;
@@ -5343,8 +5343,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5343
5343
  mimeType: z.ZodString;
5344
5344
  type: z.ZodLiteral<"audio">;
5345
5345
  }, "strip", z.ZodTypeAny, {
5346
- data: string;
5347
5346
  type: "audio";
5347
+ data: string;
5348
5348
  mimeType: string;
5349
5349
  annotations?: {
5350
5350
  priority?: number | null | undefined;
@@ -5352,8 +5352,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5352
5352
  lastModified?: string | null | undefined;
5353
5353
  } | null | undefined;
5354
5354
  }, {
5355
- data: string;
5356
5355
  type: "audio";
5356
+ data: string;
5357
5357
  mimeType: string;
5358
5358
  annotations?: {
5359
5359
  priority?: number | null | undefined;
@@ -5491,8 +5491,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5491
5491
  lastModified?: string | null | undefined;
5492
5492
  } | null | undefined;
5493
5493
  } | {
5494
- data: string;
5495
5494
  type: "image";
5495
+ data: string;
5496
5496
  mimeType: string;
5497
5497
  annotations?: {
5498
5498
  priority?: number | null | undefined;
@@ -5500,8 +5500,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5500
5500
  lastModified?: string | null | undefined;
5501
5501
  } | null | undefined;
5502
5502
  } | {
5503
- data: string;
5504
5503
  type: "audio";
5504
+ data: string;
5505
5505
  mimeType: string;
5506
5506
  annotations?: {
5507
5507
  priority?: number | null | undefined;
@@ -5549,8 +5549,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5549
5549
  lastModified?: string | null | undefined;
5550
5550
  } | null | undefined;
5551
5551
  } | {
5552
- data: string;
5553
5552
  type: "image";
5553
+ data: string;
5554
5554
  mimeType: string;
5555
5555
  annotations?: {
5556
5556
  priority?: number | null | undefined;
@@ -5558,8 +5558,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5558
5558
  lastModified?: string | null | undefined;
5559
5559
  } | null | undefined;
5560
5560
  } | {
5561
- data: string;
5562
5561
  type: "audio";
5562
+ data: string;
5563
5563
  mimeType: string;
5564
5564
  annotations?: {
5565
5565
  priority?: number | null | undefined;
@@ -5648,8 +5648,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5648
5648
  mimeType: z.ZodString;
5649
5649
  type: z.ZodLiteral<"image">;
5650
5650
  }, "strip", z.ZodTypeAny, {
5651
- data: string;
5652
5651
  type: "image";
5652
+ data: string;
5653
5653
  mimeType: string;
5654
5654
  annotations?: {
5655
5655
  priority?: number | null | undefined;
@@ -5657,8 +5657,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5657
5657
  lastModified?: string | null | undefined;
5658
5658
  } | null | undefined;
5659
5659
  }, {
5660
- data: string;
5661
5660
  type: "image";
5661
+ data: string;
5662
5662
  mimeType: string;
5663
5663
  annotations?: {
5664
5664
  priority?: number | null | undefined;
@@ -5683,8 +5683,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5683
5683
  mimeType: z.ZodString;
5684
5684
  type: z.ZodLiteral<"audio">;
5685
5685
  }, "strip", z.ZodTypeAny, {
5686
- data: string;
5687
5686
  type: "audio";
5687
+ data: string;
5688
5688
  mimeType: string;
5689
5689
  annotations?: {
5690
5690
  priority?: number | null | undefined;
@@ -5692,8 +5692,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5692
5692
  lastModified?: string | null | undefined;
5693
5693
  } | null | undefined;
5694
5694
  }, {
5695
- data: string;
5696
5695
  type: "audio";
5696
+ data: string;
5697
5697
  mimeType: string;
5698
5698
  annotations?: {
5699
5699
  priority?: number | null | undefined;
@@ -5831,8 +5831,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5831
5831
  lastModified?: string | null | undefined;
5832
5832
  } | null | undefined;
5833
5833
  } | {
5834
- data: string;
5835
5834
  type: "image";
5835
+ data: string;
5836
5836
  mimeType: string;
5837
5837
  annotations?: {
5838
5838
  priority?: number | null | undefined;
@@ -5840,8 +5840,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5840
5840
  lastModified?: string | null | undefined;
5841
5841
  } | null | undefined;
5842
5842
  } | {
5843
- data: string;
5844
5843
  type: "audio";
5844
+ data: string;
5845
5845
  mimeType: string;
5846
5846
  annotations?: {
5847
5847
  priority?: number | null | undefined;
@@ -5889,8 +5889,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5889
5889
  lastModified?: string | null | undefined;
5890
5890
  } | null | undefined;
5891
5891
  } | {
5892
- data: string;
5893
5892
  type: "image";
5893
+ data: string;
5894
5894
  mimeType: string;
5895
5895
  annotations?: {
5896
5896
  priority?: number | null | undefined;
@@ -5898,8 +5898,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5898
5898
  lastModified?: string | null | undefined;
5899
5899
  } | null | undefined;
5900
5900
  } | {
5901
- data: string;
5902
5901
  type: "audio";
5902
+ data: string;
5903
5903
  mimeType: string;
5904
5904
  annotations?: {
5905
5905
  priority?: number | null | undefined;
@@ -5989,8 +5989,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5989
5989
  mimeType: z.ZodString;
5990
5990
  type: z.ZodLiteral<"image">;
5991
5991
  }, "strip", z.ZodTypeAny, {
5992
- data: string;
5993
5992
  type: "image";
5993
+ data: string;
5994
5994
  mimeType: string;
5995
5995
  annotations?: {
5996
5996
  priority?: number | null | undefined;
@@ -5998,8 +5998,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5998
5998
  lastModified?: string | null | undefined;
5999
5999
  } | null | undefined;
6000
6000
  }, {
6001
- data: string;
6002
6001
  type: "image";
6002
+ data: string;
6003
6003
  mimeType: string;
6004
6004
  annotations?: {
6005
6005
  priority?: number | null | undefined;
@@ -6024,8 +6024,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6024
6024
  mimeType: z.ZodString;
6025
6025
  type: z.ZodLiteral<"audio">;
6026
6026
  }, "strip", z.ZodTypeAny, {
6027
- data: string;
6028
6027
  type: "audio";
6028
+ data: string;
6029
6029
  mimeType: string;
6030
6030
  annotations?: {
6031
6031
  priority?: number | null | undefined;
@@ -6033,8 +6033,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6033
6033
  lastModified?: string | null | undefined;
6034
6034
  } | null | undefined;
6035
6035
  }, {
6036
- data: string;
6037
6036
  type: "audio";
6037
+ data: string;
6038
6038
  mimeType: string;
6039
6039
  annotations?: {
6040
6040
  priority?: number | null | undefined;
@@ -6163,6 +6163,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6163
6163
  }>]>;
6164
6164
  type: z.ZodLiteral<"content">;
6165
6165
  }, "strip", z.ZodTypeAny, {
6166
+ type: "content";
6166
6167
  content: {
6167
6168
  text: string;
6168
6169
  type: "text";
@@ -6172,8 +6173,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6172
6173
  lastModified?: string | null | undefined;
6173
6174
  } | null | undefined;
6174
6175
  } | {
6175
- data: string;
6176
6176
  type: "image";
6177
+ data: string;
6177
6178
  mimeType: string;
6178
6179
  annotations?: {
6179
6180
  priority?: number | null | undefined;
@@ -6181,8 +6182,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6181
6182
  lastModified?: string | null | undefined;
6182
6183
  } | null | undefined;
6183
6184
  } | {
6184
- data: string;
6185
6185
  type: "audio";
6186
+ data: string;
6186
6187
  mimeType: string;
6187
6188
  annotations?: {
6188
6189
  priority?: number | null | undefined;
@@ -6219,8 +6220,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6219
6220
  lastModified?: string | null | undefined;
6220
6221
  } | null | undefined;
6221
6222
  };
6222
- type: "content";
6223
6223
  }, {
6224
+ type: "content";
6224
6225
  content: {
6225
6226
  text: string;
6226
6227
  type: "text";
@@ -6230,8 +6231,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6230
6231
  lastModified?: string | null | undefined;
6231
6232
  } | null | undefined;
6232
6233
  } | {
6233
- data: string;
6234
6234
  type: "image";
6235
+ data: string;
6235
6236
  mimeType: string;
6236
6237
  annotations?: {
6237
6238
  priority?: number | null | undefined;
@@ -6239,8 +6240,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6239
6240
  lastModified?: string | null | undefined;
6240
6241
  } | null | undefined;
6241
6242
  } | {
6242
- data: string;
6243
6243
  type: "audio";
6244
+ data: string;
6244
6245
  mimeType: string;
6245
6246
  annotations?: {
6246
6247
  priority?: number | null | undefined;
@@ -6277,7 +6278,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6277
6278
  lastModified?: string | null | undefined;
6278
6279
  } | null | undefined;
6279
6280
  };
6280
- type: "content";
6281
6281
  }>, z.ZodObject<{
6282
6282
  newText: z.ZodString;
6283
6283
  oldText: z.ZodNullable<z.ZodString>;
@@ -6317,6 +6317,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6317
6317
  toolCallId: string;
6318
6318
  sessionUpdate: "tool_call";
6319
6319
  content?: ({
6320
+ type: "content";
6320
6321
  content: {
6321
6322
  text: string;
6322
6323
  type: "text";
@@ -6326,8 +6327,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6326
6327
  lastModified?: string | null | undefined;
6327
6328
  } | null | undefined;
6328
6329
  } | {
6329
- data: string;
6330
6330
  type: "image";
6331
+ data: string;
6331
6332
  mimeType: string;
6332
6333
  annotations?: {
6333
6334
  priority?: number | null | undefined;
@@ -6335,8 +6336,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6335
6336
  lastModified?: string | null | undefined;
6336
6337
  } | null | undefined;
6337
6338
  } | {
6338
- data: string;
6339
6339
  type: "audio";
6340
+ data: string;
6340
6341
  mimeType: string;
6341
6342
  annotations?: {
6342
6343
  priority?: number | null | undefined;
@@ -6373,7 +6374,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6373
6374
  lastModified?: string | null | undefined;
6374
6375
  } | null | undefined;
6375
6376
  };
6376
- type: "content";
6377
6377
  } | {
6378
6378
  type: "diff";
6379
6379
  path: string;
@@ -6392,6 +6392,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6392
6392
  toolCallId: string;
6393
6393
  sessionUpdate: "tool_call";
6394
6394
  content?: ({
6395
+ type: "content";
6395
6396
  content: {
6396
6397
  text: string;
6397
6398
  type: "text";
@@ -6401,8 +6402,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6401
6402
  lastModified?: string | null | undefined;
6402
6403
  } | null | undefined;
6403
6404
  } | {
6404
- data: string;
6405
6405
  type: "image";
6406
+ data: string;
6406
6407
  mimeType: string;
6407
6408
  annotations?: {
6408
6409
  priority?: number | null | undefined;
@@ -6410,8 +6411,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6410
6411
  lastModified?: string | null | undefined;
6411
6412
  } | null | undefined;
6412
6413
  } | {
6413
- data: string;
6414
6414
  type: "audio";
6415
+ data: string;
6415
6416
  mimeType: string;
6416
6417
  annotations?: {
6417
6418
  priority?: number | null | undefined;
@@ -6448,7 +6449,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6448
6449
  lastModified?: string | null | undefined;
6449
6450
  } | null | undefined;
6450
6451
  };
6451
- type: "content";
6452
6452
  } | {
6453
6453
  type: "diff";
6454
6454
  path: string;
@@ -6512,8 +6512,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6512
6512
  mimeType: z.ZodString;
6513
6513
  type: z.ZodLiteral<"image">;
6514
6514
  }, "strip", z.ZodTypeAny, {
6515
- data: string;
6516
6515
  type: "image";
6516
+ data: string;
6517
6517
  mimeType: string;
6518
6518
  annotations?: {
6519
6519
  priority?: number | null | undefined;
@@ -6521,8 +6521,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6521
6521
  lastModified?: string | null | undefined;
6522
6522
  } | null | undefined;
6523
6523
  }, {
6524
- data: string;
6525
6524
  type: "image";
6525
+ data: string;
6526
6526
  mimeType: string;
6527
6527
  annotations?: {
6528
6528
  priority?: number | null | undefined;
@@ -6547,8 +6547,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6547
6547
  mimeType: z.ZodString;
6548
6548
  type: z.ZodLiteral<"audio">;
6549
6549
  }, "strip", z.ZodTypeAny, {
6550
- data: string;
6551
6550
  type: "audio";
6551
+ data: string;
6552
6552
  mimeType: string;
6553
6553
  annotations?: {
6554
6554
  priority?: number | null | undefined;
@@ -6556,8 +6556,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6556
6556
  lastModified?: string | null | undefined;
6557
6557
  } | null | undefined;
6558
6558
  }, {
6559
- data: string;
6560
6559
  type: "audio";
6560
+ data: string;
6561
6561
  mimeType: string;
6562
6562
  annotations?: {
6563
6563
  priority?: number | null | undefined;
@@ -6686,6 +6686,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6686
6686
  }>]>;
6687
6687
  type: z.ZodLiteral<"content">;
6688
6688
  }, "strip", z.ZodTypeAny, {
6689
+ type: "content";
6689
6690
  content: {
6690
6691
  text: string;
6691
6692
  type: "text";
@@ -6695,8 +6696,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6695
6696
  lastModified?: string | null | undefined;
6696
6697
  } | null | undefined;
6697
6698
  } | {
6698
- data: string;
6699
6699
  type: "image";
6700
+ data: string;
6700
6701
  mimeType: string;
6701
6702
  annotations?: {
6702
6703
  priority?: number | null | undefined;
@@ -6704,8 +6705,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6704
6705
  lastModified?: string | null | undefined;
6705
6706
  } | null | undefined;
6706
6707
  } | {
6707
- data: string;
6708
6708
  type: "audio";
6709
+ data: string;
6709
6710
  mimeType: string;
6710
6711
  annotations?: {
6711
6712
  priority?: number | null | undefined;
@@ -6742,8 +6743,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6742
6743
  lastModified?: string | null | undefined;
6743
6744
  } | null | undefined;
6744
6745
  };
6745
- type: "content";
6746
6746
  }, {
6747
+ type: "content";
6747
6748
  content: {
6748
6749
  text: string;
6749
6750
  type: "text";
@@ -6753,8 +6754,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6753
6754
  lastModified?: string | null | undefined;
6754
6755
  } | null | undefined;
6755
6756
  } | {
6756
- data: string;
6757
6757
  type: "image";
6758
+ data: string;
6758
6759
  mimeType: string;
6759
6760
  annotations?: {
6760
6761
  priority?: number | null | undefined;
@@ -6762,8 +6763,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6762
6763
  lastModified?: string | null | undefined;
6763
6764
  } | null | undefined;
6764
6765
  } | {
6765
- data: string;
6766
6766
  type: "audio";
6767
+ data: string;
6767
6768
  mimeType: string;
6768
6769
  annotations?: {
6769
6770
  priority?: number | null | undefined;
@@ -6800,7 +6801,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6800
6801
  lastModified?: string | null | undefined;
6801
6802
  } | null | undefined;
6802
6803
  };
6803
- type: "content";
6804
6804
  }>, z.ZodObject<{
6805
6805
  newText: z.ZodString;
6806
6806
  oldText: z.ZodNullable<z.ZodString>;
@@ -6837,6 +6837,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6837
6837
  toolCallId: string;
6838
6838
  sessionUpdate: "tool_call_update";
6839
6839
  content?: ({
6840
+ type: "content";
6840
6841
  content: {
6841
6842
  text: string;
6842
6843
  type: "text";
@@ -6846,8 +6847,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6846
6847
  lastModified?: string | null | undefined;
6847
6848
  } | null | undefined;
6848
6849
  } | {
6849
- data: string;
6850
6850
  type: "image";
6851
+ data: string;
6851
6852
  mimeType: string;
6852
6853
  annotations?: {
6853
6854
  priority?: number | null | undefined;
@@ -6855,8 +6856,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6855
6856
  lastModified?: string | null | undefined;
6856
6857
  } | null | undefined;
6857
6858
  } | {
6858
- data: string;
6859
6859
  type: "audio";
6860
+ data: string;
6860
6861
  mimeType: string;
6861
6862
  annotations?: {
6862
6863
  priority?: number | null | undefined;
@@ -6893,7 +6894,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6893
6894
  lastModified?: string | null | undefined;
6894
6895
  } | null | undefined;
6895
6896
  };
6896
- type: "content";
6897
6897
  } | {
6898
6898
  type: "diff";
6899
6899
  path: string;
@@ -6912,6 +6912,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6912
6912
  toolCallId: string;
6913
6913
  sessionUpdate: "tool_call_update";
6914
6914
  content?: ({
6915
+ type: "content";
6915
6916
  content: {
6916
6917
  text: string;
6917
6918
  type: "text";
@@ -6921,8 +6922,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6921
6922
  lastModified?: string | null | undefined;
6922
6923
  } | null | undefined;
6923
6924
  } | {
6924
- data: string;
6925
6925
  type: "image";
6926
+ data: string;
6926
6927
  mimeType: string;
6927
6928
  annotations?: {
6928
6929
  priority?: number | null | undefined;
@@ -6930,8 +6931,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6930
6931
  lastModified?: string | null | undefined;
6931
6932
  } | null | undefined;
6932
6933
  } | {
6933
- data: string;
6934
6934
  type: "audio";
6935
+ data: string;
6935
6936
  mimeType: string;
6936
6937
  annotations?: {
6937
6938
  priority?: number | null | undefined;
@@ -6968,7 +6969,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6968
6969
  lastModified?: string | null | undefined;
6969
6970
  } | null | undefined;
6970
6971
  };
6971
- type: "content";
6972
6972
  } | {
6973
6973
  type: "diff";
6974
6974
  path: string;
@@ -7014,6 +7014,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7014
7014
  sessionUpdate: "plan";
7015
7015
  }>]>;
7016
7016
  }, "strip", z.ZodTypeAny, {
7017
+ sessionId: string;
7017
7018
  update: {
7018
7019
  content: {
7019
7020
  text: string;
@@ -7024,8 +7025,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7024
7025
  lastModified?: string | null | undefined;
7025
7026
  } | null | undefined;
7026
7027
  } | {
7027
- data: string;
7028
7028
  type: "image";
7029
+ data: string;
7029
7030
  mimeType: string;
7030
7031
  annotations?: {
7031
7032
  priority?: number | null | undefined;
@@ -7033,8 +7034,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7033
7034
  lastModified?: string | null | undefined;
7034
7035
  } | null | undefined;
7035
7036
  } | {
7036
- data: string;
7037
7037
  type: "audio";
7038
+ data: string;
7038
7039
  mimeType: string;
7039
7040
  annotations?: {
7040
7041
  priority?: number | null | undefined;
@@ -7082,8 +7083,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7082
7083
  lastModified?: string | null | undefined;
7083
7084
  } | null | undefined;
7084
7085
  } | {
7085
- data: string;
7086
7086
  type: "image";
7087
+ data: string;
7087
7088
  mimeType: string;
7088
7089
  annotations?: {
7089
7090
  priority?: number | null | undefined;
@@ -7091,8 +7092,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7091
7092
  lastModified?: string | null | undefined;
7092
7093
  } | null | undefined;
7093
7094
  } | {
7094
- data: string;
7095
7095
  type: "audio";
7096
+ data: string;
7096
7097
  mimeType: string;
7097
7098
  annotations?: {
7098
7099
  priority?: number | null | undefined;
@@ -7140,8 +7141,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7140
7141
  lastModified?: string | null | undefined;
7141
7142
  } | null | undefined;
7142
7143
  } | {
7143
- data: string;
7144
7144
  type: "image";
7145
+ data: string;
7145
7146
  mimeType: string;
7146
7147
  annotations?: {
7147
7148
  priority?: number | null | undefined;
@@ -7149,8 +7150,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7149
7150
  lastModified?: string | null | undefined;
7150
7151
  } | null | undefined;
7151
7152
  } | {
7152
- data: string;
7153
7153
  type: "audio";
7154
+ data: string;
7154
7155
  mimeType: string;
7155
7156
  annotations?: {
7156
7157
  priority?: number | null | undefined;
@@ -7195,6 +7196,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7195
7196
  toolCallId: string;
7196
7197
  sessionUpdate: "tool_call";
7197
7198
  content?: ({
7199
+ type: "content";
7198
7200
  content: {
7199
7201
  text: string;
7200
7202
  type: "text";
@@ -7204,8 +7206,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7204
7206
  lastModified?: string | null | undefined;
7205
7207
  } | null | undefined;
7206
7208
  } | {
7207
- data: string;
7208
7209
  type: "image";
7210
+ data: string;
7209
7211
  mimeType: string;
7210
7212
  annotations?: {
7211
7213
  priority?: number | null | undefined;
@@ -7213,8 +7215,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7213
7215
  lastModified?: string | null | undefined;
7214
7216
  } | null | undefined;
7215
7217
  } | {
7216
- data: string;
7217
7218
  type: "audio";
7219
+ data: string;
7218
7220
  mimeType: string;
7219
7221
  annotations?: {
7220
7222
  priority?: number | null | undefined;
@@ -7251,7 +7253,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7251
7253
  lastModified?: string | null | undefined;
7252
7254
  } | null | undefined;
7253
7255
  };
7254
- type: "content";
7255
7256
  } | {
7256
7257
  type: "diff";
7257
7258
  path: string;
@@ -7267,6 +7268,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7267
7268
  toolCallId: string;
7268
7269
  sessionUpdate: "tool_call_update";
7269
7270
  content?: ({
7271
+ type: "content";
7270
7272
  content: {
7271
7273
  text: string;
7272
7274
  type: "text";
@@ -7276,8 +7278,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7276
7278
  lastModified?: string | null | undefined;
7277
7279
  } | null | undefined;
7278
7280
  } | {
7279
- data: string;
7280
7281
  type: "image";
7282
+ data: string;
7281
7283
  mimeType: string;
7282
7284
  annotations?: {
7283
7285
  priority?: number | null | undefined;
@@ -7285,8 +7287,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7285
7287
  lastModified?: string | null | undefined;
7286
7288
  } | null | undefined;
7287
7289
  } | {
7288
- data: string;
7289
7290
  type: "audio";
7291
+ data: string;
7290
7292
  mimeType: string;
7291
7293
  annotations?: {
7292
7294
  priority?: number | null | undefined;
@@ -7323,7 +7325,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7323
7325
  lastModified?: string | null | undefined;
7324
7326
  } | null | undefined;
7325
7327
  };
7326
- type: "content";
7327
7328
  } | {
7328
7329
  type: "diff";
7329
7330
  path: string;
@@ -7346,8 +7347,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7346
7347
  }[];
7347
7348
  sessionUpdate: "plan";
7348
7349
  };
7349
- sessionId: string;
7350
7350
  }, {
7351
+ sessionId: string;
7351
7352
  update: {
7352
7353
  content: {
7353
7354
  text: string;
@@ -7358,8 +7359,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7358
7359
  lastModified?: string | null | undefined;
7359
7360
  } | null | undefined;
7360
7361
  } | {
7361
- data: string;
7362
7362
  type: "image";
7363
+ data: string;
7363
7364
  mimeType: string;
7364
7365
  annotations?: {
7365
7366
  priority?: number | null | undefined;
@@ -7367,8 +7368,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7367
7368
  lastModified?: string | null | undefined;
7368
7369
  } | null | undefined;
7369
7370
  } | {
7370
- data: string;
7371
7371
  type: "audio";
7372
+ data: string;
7372
7373
  mimeType: string;
7373
7374
  annotations?: {
7374
7375
  priority?: number | null | undefined;
@@ -7416,8 +7417,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7416
7417
  lastModified?: string | null | undefined;
7417
7418
  } | null | undefined;
7418
7419
  } | {
7419
- data: string;
7420
7420
  type: "image";
7421
+ data: string;
7421
7422
  mimeType: string;
7422
7423
  annotations?: {
7423
7424
  priority?: number | null | undefined;
@@ -7425,8 +7426,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7425
7426
  lastModified?: string | null | undefined;
7426
7427
  } | null | undefined;
7427
7428
  } | {
7428
- data: string;
7429
7429
  type: "audio";
7430
+ data: string;
7430
7431
  mimeType: string;
7431
7432
  annotations?: {
7432
7433
  priority?: number | null | undefined;
@@ -7474,8 +7475,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7474
7475
  lastModified?: string | null | undefined;
7475
7476
  } | null | undefined;
7476
7477
  } | {
7477
- data: string;
7478
7478
  type: "image";
7479
+ data: string;
7479
7480
  mimeType: string;
7480
7481
  annotations?: {
7481
7482
  priority?: number | null | undefined;
@@ -7483,8 +7484,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7483
7484
  lastModified?: string | null | undefined;
7484
7485
  } | null | undefined;
7485
7486
  } | {
7486
- data: string;
7487
7487
  type: "audio";
7488
+ data: string;
7488
7489
  mimeType: string;
7489
7490
  annotations?: {
7490
7491
  priority?: number | null | undefined;
@@ -7529,6 +7530,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7529
7530
  toolCallId: string;
7530
7531
  sessionUpdate: "tool_call";
7531
7532
  content?: ({
7533
+ type: "content";
7532
7534
  content: {
7533
7535
  text: string;
7534
7536
  type: "text";
@@ -7538,8 +7540,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7538
7540
  lastModified?: string | null | undefined;
7539
7541
  } | null | undefined;
7540
7542
  } | {
7541
- data: string;
7542
7543
  type: "image";
7544
+ data: string;
7543
7545
  mimeType: string;
7544
7546
  annotations?: {
7545
7547
  priority?: number | null | undefined;
@@ -7547,8 +7549,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7547
7549
  lastModified?: string | null | undefined;
7548
7550
  } | null | undefined;
7549
7551
  } | {
7550
- data: string;
7551
7552
  type: "audio";
7553
+ data: string;
7552
7554
  mimeType: string;
7553
7555
  annotations?: {
7554
7556
  priority?: number | null | undefined;
@@ -7585,7 +7587,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7585
7587
  lastModified?: string | null | undefined;
7586
7588
  } | null | undefined;
7587
7589
  };
7588
- type: "content";
7589
7590
  } | {
7590
7591
  type: "diff";
7591
7592
  path: string;
@@ -7601,6 +7602,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7601
7602
  toolCallId: string;
7602
7603
  sessionUpdate: "tool_call_update";
7603
7604
  content?: ({
7605
+ type: "content";
7604
7606
  content: {
7605
7607
  text: string;
7606
7608
  type: "text";
@@ -7610,8 +7612,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7610
7612
  lastModified?: string | null | undefined;
7611
7613
  } | null | undefined;
7612
7614
  } | {
7613
- data: string;
7614
7615
  type: "image";
7616
+ data: string;
7615
7617
  mimeType: string;
7616
7618
  annotations?: {
7617
7619
  priority?: number | null | undefined;
@@ -7619,8 +7621,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7619
7621
  lastModified?: string | null | undefined;
7620
7622
  } | null | undefined;
7621
7623
  } | {
7622
- data: string;
7623
7624
  type: "audio";
7625
+ data: string;
7624
7626
  mimeType: string;
7625
7627
  annotations?: {
7626
7628
  priority?: number | null | undefined;
@@ -7657,7 +7659,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7657
7659
  lastModified?: string | null | undefined;
7658
7660
  } | null | undefined;
7659
7661
  };
7660
- type: "content";
7661
7662
  } | {
7662
7663
  type: "diff";
7663
7664
  path: string;
@@ -7680,7 +7681,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7680
7681
  }[];
7681
7682
  sessionUpdate: "plan";
7682
7683
  };
7683
- sessionId: string;
7684
7684
  }>;
7685
7685
  export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7686
7686
  content: z.ZodString;
@@ -7776,8 +7776,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7776
7776
  mimeType: z.ZodString;
7777
7777
  type: z.ZodLiteral<"image">;
7778
7778
  }, "strip", z.ZodTypeAny, {
7779
- data: string;
7780
7779
  type: "image";
7780
+ data: string;
7781
7781
  mimeType: string;
7782
7782
  annotations?: {
7783
7783
  priority?: number | null | undefined;
@@ -7785,8 +7785,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7785
7785
  lastModified?: string | null | undefined;
7786
7786
  } | null | undefined;
7787
7787
  }, {
7788
- data: string;
7789
7788
  type: "image";
7789
+ data: string;
7790
7790
  mimeType: string;
7791
7791
  annotations?: {
7792
7792
  priority?: number | null | undefined;
@@ -7811,8 +7811,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7811
7811
  mimeType: z.ZodString;
7812
7812
  type: z.ZodLiteral<"audio">;
7813
7813
  }, "strip", z.ZodTypeAny, {
7814
- data: string;
7815
7814
  type: "audio";
7815
+ data: string;
7816
7816
  mimeType: string;
7817
7817
  annotations?: {
7818
7818
  priority?: number | null | undefined;
@@ -7820,8 +7820,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7820
7820
  lastModified?: string | null | undefined;
7821
7821
  } | null | undefined;
7822
7822
  }, {
7823
- data: string;
7824
7823
  type: "audio";
7824
+ data: string;
7825
7825
  mimeType: string;
7826
7826
  annotations?: {
7827
7827
  priority?: number | null | undefined;
@@ -7950,6 +7950,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7950
7950
  }>]>;
7951
7951
  type: z.ZodLiteral<"content">;
7952
7952
  }, "strip", z.ZodTypeAny, {
7953
+ type: "content";
7953
7954
  content: {
7954
7955
  text: string;
7955
7956
  type: "text";
@@ -7959,8 +7960,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7959
7960
  lastModified?: string | null | undefined;
7960
7961
  } | null | undefined;
7961
7962
  } | {
7962
- data: string;
7963
7963
  type: "image";
7964
+ data: string;
7964
7965
  mimeType: string;
7965
7966
  annotations?: {
7966
7967
  priority?: number | null | undefined;
@@ -7968,8 +7969,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7968
7969
  lastModified?: string | null | undefined;
7969
7970
  } | null | undefined;
7970
7971
  } | {
7971
- data: string;
7972
7972
  type: "audio";
7973
+ data: string;
7973
7974
  mimeType: string;
7974
7975
  annotations?: {
7975
7976
  priority?: number | null | undefined;
@@ -8006,8 +8007,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8006
8007
  lastModified?: string | null | undefined;
8007
8008
  } | null | undefined;
8008
8009
  };
8009
- type: "content";
8010
8010
  }, {
8011
+ type: "content";
8011
8012
  content: {
8012
8013
  text: string;
8013
8014
  type: "text";
@@ -8017,8 +8018,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8017
8018
  lastModified?: string | null | undefined;
8018
8019
  } | null | undefined;
8019
8020
  } | {
8020
- data: string;
8021
8021
  type: "image";
8022
+ data: string;
8022
8023
  mimeType: string;
8023
8024
  annotations?: {
8024
8025
  priority?: number | null | undefined;
@@ -8026,8 +8027,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8026
8027
  lastModified?: string | null | undefined;
8027
8028
  } | null | undefined;
8028
8029
  } | {
8029
- data: string;
8030
8030
  type: "audio";
8031
+ data: string;
8031
8032
  mimeType: string;
8032
8033
  annotations?: {
8033
8034
  priority?: number | null | undefined;
@@ -8064,7 +8065,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8064
8065
  lastModified?: string | null | undefined;
8065
8066
  } | null | undefined;
8066
8067
  };
8067
- type: "content";
8068
8068
  }>, z.ZodObject<{
8069
8069
  newText: z.ZodString;
8070
8070
  oldText: z.ZodNullable<z.ZodString>;
@@ -8102,6 +8102,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8102
8102
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8103
8103
  toolCallId: string;
8104
8104
  content?: ({
8105
+ type: "content";
8105
8106
  content: {
8106
8107
  text: string;
8107
8108
  type: "text";
@@ -8111,8 +8112,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8111
8112
  lastModified?: string | null | undefined;
8112
8113
  } | null | undefined;
8113
8114
  } | {
8114
- data: string;
8115
8115
  type: "image";
8116
+ data: string;
8116
8117
  mimeType: string;
8117
8118
  annotations?: {
8118
8119
  priority?: number | null | undefined;
@@ -8120,8 +8121,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8120
8121
  lastModified?: string | null | undefined;
8121
8122
  } | null | undefined;
8122
8123
  } | {
8123
- data: string;
8124
8124
  type: "audio";
8125
+ data: string;
8125
8126
  mimeType: string;
8126
8127
  annotations?: {
8127
8128
  priority?: number | null | undefined;
@@ -8158,7 +8159,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8158
8159
  lastModified?: string | null | undefined;
8159
8160
  } | null | undefined;
8160
8161
  };
8161
- type: "content";
8162
8162
  } | {
8163
8163
  type: "diff";
8164
8164
  path: string;
@@ -8176,6 +8176,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8176
8176
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8177
8177
  toolCallId: string;
8178
8178
  content?: ({
8179
+ type: "content";
8179
8180
  content: {
8180
8181
  text: string;
8181
8182
  type: "text";
@@ -8185,8 +8186,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8185
8186
  lastModified?: string | null | undefined;
8186
8187
  } | null | undefined;
8187
8188
  } | {
8188
- data: string;
8189
8189
  type: "image";
8190
+ data: string;
8190
8191
  mimeType: string;
8191
8192
  annotations?: {
8192
8193
  priority?: number | null | undefined;
@@ -8194,8 +8195,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8194
8195
  lastModified?: string | null | undefined;
8195
8196
  } | null | undefined;
8196
8197
  } | {
8197
- data: string;
8198
8198
  type: "audio";
8199
+ data: string;
8199
8200
  mimeType: string;
8200
8201
  annotations?: {
8201
8202
  priority?: number | null | undefined;
@@ -8232,7 +8233,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8232
8233
  lastModified?: string | null | undefined;
8233
8234
  } | null | undefined;
8234
8235
  };
8235
- type: "content";
8236
8236
  } | {
8237
8237
  type: "diff";
8238
8238
  path: string;
@@ -8246,18 +8246,19 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8246
8246
  rawInput?: unknown;
8247
8247
  }>;
8248
8248
  }, "strip", z.ZodTypeAny, {
8249
+ sessionId: string;
8249
8250
  options: {
8250
8251
  name: string;
8251
8252
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
8252
8253
  optionId: string;
8253
8254
  }[];
8254
- sessionId: string;
8255
8255
  toolCall: {
8256
8256
  status: "pending" | "in_progress" | "completed" | "failed";
8257
8257
  title: string;
8258
8258
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8259
8259
  toolCallId: string;
8260
8260
  content?: ({
8261
+ type: "content";
8261
8262
  content: {
8262
8263
  text: string;
8263
8264
  type: "text";
@@ -8267,8 +8268,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8267
8268
  lastModified?: string | null | undefined;
8268
8269
  } | null | undefined;
8269
8270
  } | {
8270
- data: string;
8271
8271
  type: "image";
8272
+ data: string;
8272
8273
  mimeType: string;
8273
8274
  annotations?: {
8274
8275
  priority?: number | null | undefined;
@@ -8276,8 +8277,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8276
8277
  lastModified?: string | null | undefined;
8277
8278
  } | null | undefined;
8278
8279
  } | {
8279
- data: string;
8280
8280
  type: "audio";
8281
+ data: string;
8281
8282
  mimeType: string;
8282
8283
  annotations?: {
8283
8284
  priority?: number | null | undefined;
@@ -8314,7 +8315,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8314
8315
  lastModified?: string | null | undefined;
8315
8316
  } | null | undefined;
8316
8317
  };
8317
- type: "content";
8318
8318
  } | {
8319
8319
  type: "diff";
8320
8320
  path: string;
@@ -8328,18 +8328,19 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8328
8328
  rawInput?: unknown;
8329
8329
  };
8330
8330
  }, {
8331
+ sessionId: string;
8331
8332
  options: {
8332
8333
  name: string;
8333
8334
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
8334
8335
  optionId: string;
8335
8336
  }[];
8336
- sessionId: string;
8337
8337
  toolCall: {
8338
8338
  status: "pending" | "in_progress" | "completed" | "failed";
8339
8339
  title: string;
8340
8340
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8341
8341
  toolCallId: string;
8342
8342
  content?: ({
8343
+ type: "content";
8343
8344
  content: {
8344
8345
  text: string;
8345
8346
  type: "text";
@@ -8349,8 +8350,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8349
8350
  lastModified?: string | null | undefined;
8350
8351
  } | null | undefined;
8351
8352
  } | {
8352
- data: string;
8353
8353
  type: "image";
8354
+ data: string;
8354
8355
  mimeType: string;
8355
8356
  annotations?: {
8356
8357
  priority?: number | null | undefined;
@@ -8358,8 +8359,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8358
8359
  lastModified?: string | null | undefined;
8359
8360
  } | null | undefined;
8360
8361
  } | {
8361
- data: string;
8362
8362
  type: "audio";
8363
+ data: string;
8363
8364
  mimeType: string;
8364
8365
  annotations?: {
8365
8366
  priority?: number | null | undefined;
@@ -8396,7 +8397,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8396
8397
  lastModified?: string | null | undefined;
8397
8398
  } | null | undefined;
8398
8399
  };
8399
- type: "content";
8400
8400
  } | {
8401
8401
  type: "diff";
8402
8402
  path: string;
@@ -8546,6 +8546,7 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8546
8546
  }>, "many">;
8547
8547
  sessionId: z.ZodString;
8548
8548
  }, "strip", z.ZodTypeAny, {
8549
+ sessionId: string;
8549
8550
  mcpServers: {
8550
8551
  name: string;
8551
8552
  args: string[];
@@ -8556,8 +8557,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8556
8557
  }[];
8557
8558
  }[];
8558
8559
  cwd: string;
8559
- sessionId: string;
8560
8560
  }, {
8561
+ sessionId: string;
8561
8562
  mcpServers: {
8562
8563
  name: string;
8563
8564
  args: string[];
@@ -8568,7 +8569,6 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8568
8569
  }[];
8569
8570
  }[];
8570
8571
  cwd: string;
8571
- sessionId: string;
8572
8572
  }>, z.ZodObject<{
8573
8573
  prompt: z.ZodArray<z.ZodUnion<[z.ZodObject<{
8574
8574
  annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -8620,8 +8620,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8620
8620
  mimeType: z.ZodString;
8621
8621
  type: z.ZodLiteral<"image">;
8622
8622
  }, "strip", z.ZodTypeAny, {
8623
- data: string;
8624
8623
  type: "image";
8624
+ data: string;
8625
8625
  mimeType: string;
8626
8626
  annotations?: {
8627
8627
  priority?: number | null | undefined;
@@ -8629,8 +8629,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8629
8629
  lastModified?: string | null | undefined;
8630
8630
  } | null | undefined;
8631
8631
  }, {
8632
- data: string;
8633
8632
  type: "image";
8633
+ data: string;
8634
8634
  mimeType: string;
8635
8635
  annotations?: {
8636
8636
  priority?: number | null | undefined;
@@ -8655,8 +8655,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8655
8655
  mimeType: z.ZodString;
8656
8656
  type: z.ZodLiteral<"audio">;
8657
8657
  }, "strip", z.ZodTypeAny, {
8658
- data: string;
8659
8658
  type: "audio";
8659
+ data: string;
8660
8660
  mimeType: string;
8661
8661
  annotations?: {
8662
8662
  priority?: number | null | undefined;
@@ -8664,8 +8664,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8664
8664
  lastModified?: string | null | undefined;
8665
8665
  } | null | undefined;
8666
8666
  }, {
8667
- data: string;
8668
8667
  type: "audio";
8668
+ data: string;
8669
8669
  mimeType: string;
8670
8670
  annotations?: {
8671
8671
  priority?: number | null | undefined;
@@ -8794,6 +8794,7 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8794
8794
  }>]>, "many">;
8795
8795
  sessionId: z.ZodString;
8796
8796
  }, "strip", z.ZodTypeAny, {
8797
+ sessionId: string;
8797
8798
  prompt: ({
8798
8799
  text: string;
8799
8800
  type: "text";
@@ -8803,8 +8804,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8803
8804
  lastModified?: string | null | undefined;
8804
8805
  } | null | undefined;
8805
8806
  } | {
8806
- data: string;
8807
8807
  type: "image";
8808
+ data: string;
8808
8809
  mimeType: string;
8809
8810
  annotations?: {
8810
8811
  priority?: number | null | undefined;
@@ -8812,8 +8813,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8812
8813
  lastModified?: string | null | undefined;
8813
8814
  } | null | undefined;
8814
8815
  } | {
8815
- data: string;
8816
8816
  type: "audio";
8817
+ data: string;
8817
8818
  mimeType: string;
8818
8819
  annotations?: {
8819
8820
  priority?: number | null | undefined;
@@ -8850,8 +8851,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8850
8851
  lastModified?: string | null | undefined;
8851
8852
  } | null | undefined;
8852
8853
  })[];
8853
- sessionId: string;
8854
8854
  }, {
8855
+ sessionId: string;
8855
8856
  prompt: ({
8856
8857
  text: string;
8857
8858
  type: "text";
@@ -8861,8 +8862,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8861
8862
  lastModified?: string | null | undefined;
8862
8863
  } | null | undefined;
8863
8864
  } | {
8864
- data: string;
8865
8865
  type: "image";
8866
+ data: string;
8866
8867
  mimeType: string;
8867
8868
  annotations?: {
8868
8869
  priority?: number | null | undefined;
@@ -8870,8 +8871,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8870
8871
  lastModified?: string | null | undefined;
8871
8872
  } | null | undefined;
8872
8873
  } | {
8873
- data: string;
8874
8874
  type: "audio";
8875
+ data: string;
8875
8876
  mimeType: string;
8876
8877
  annotations?: {
8877
8878
  priority?: number | null | undefined;
@@ -8908,7 +8909,6 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8908
8909
  lastModified?: string | null | undefined;
8909
8910
  } | null | undefined;
8910
8911
  })[];
8911
- sessionId: string;
8912
8912
  }>]>;
8913
8913
  export declare const agentNotificationSchema: z.ZodObject<{
8914
8914
  sessionId: z.ZodString;
@@ -8963,8 +8963,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8963
8963
  mimeType: z.ZodString;
8964
8964
  type: z.ZodLiteral<"image">;
8965
8965
  }, "strip", z.ZodTypeAny, {
8966
- data: string;
8967
8966
  type: "image";
8967
+ data: string;
8968
8968
  mimeType: string;
8969
8969
  annotations?: {
8970
8970
  priority?: number | null | undefined;
@@ -8972,8 +8972,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8972
8972
  lastModified?: string | null | undefined;
8973
8973
  } | null | undefined;
8974
8974
  }, {
8975
- data: string;
8976
8975
  type: "image";
8976
+ data: string;
8977
8977
  mimeType: string;
8978
8978
  annotations?: {
8979
8979
  priority?: number | null | undefined;
@@ -8998,8 +8998,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8998
8998
  mimeType: z.ZodString;
8999
8999
  type: z.ZodLiteral<"audio">;
9000
9000
  }, "strip", z.ZodTypeAny, {
9001
- data: string;
9002
9001
  type: "audio";
9002
+ data: string;
9003
9003
  mimeType: string;
9004
9004
  annotations?: {
9005
9005
  priority?: number | null | undefined;
@@ -9007,8 +9007,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9007
9007
  lastModified?: string | null | undefined;
9008
9008
  } | null | undefined;
9009
9009
  }, {
9010
- data: string;
9011
9010
  type: "audio";
9011
+ data: string;
9012
9012
  mimeType: string;
9013
9013
  annotations?: {
9014
9014
  priority?: number | null | undefined;
@@ -9146,8 +9146,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9146
9146
  lastModified?: string | null | undefined;
9147
9147
  } | null | undefined;
9148
9148
  } | {
9149
- data: string;
9150
9149
  type: "image";
9150
+ data: string;
9151
9151
  mimeType: string;
9152
9152
  annotations?: {
9153
9153
  priority?: number | null | undefined;
@@ -9155,8 +9155,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9155
9155
  lastModified?: string | null | undefined;
9156
9156
  } | null | undefined;
9157
9157
  } | {
9158
- data: string;
9159
9158
  type: "audio";
9159
+ data: string;
9160
9160
  mimeType: string;
9161
9161
  annotations?: {
9162
9162
  priority?: number | null | undefined;
@@ -9204,8 +9204,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9204
9204
  lastModified?: string | null | undefined;
9205
9205
  } | null | undefined;
9206
9206
  } | {
9207
- data: string;
9208
9207
  type: "image";
9208
+ data: string;
9209
9209
  mimeType: string;
9210
9210
  annotations?: {
9211
9211
  priority?: number | null | undefined;
@@ -9213,8 +9213,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9213
9213
  lastModified?: string | null | undefined;
9214
9214
  } | null | undefined;
9215
9215
  } | {
9216
- data: string;
9217
9216
  type: "audio";
9217
+ data: string;
9218
9218
  mimeType: string;
9219
9219
  annotations?: {
9220
9220
  priority?: number | null | undefined;
@@ -9303,8 +9303,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9303
9303
  mimeType: z.ZodString;
9304
9304
  type: z.ZodLiteral<"image">;
9305
9305
  }, "strip", z.ZodTypeAny, {
9306
- data: string;
9307
9306
  type: "image";
9307
+ data: string;
9308
9308
  mimeType: string;
9309
9309
  annotations?: {
9310
9310
  priority?: number | null | undefined;
@@ -9312,8 +9312,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9312
9312
  lastModified?: string | null | undefined;
9313
9313
  } | null | undefined;
9314
9314
  }, {
9315
- data: string;
9316
9315
  type: "image";
9316
+ data: string;
9317
9317
  mimeType: string;
9318
9318
  annotations?: {
9319
9319
  priority?: number | null | undefined;
@@ -9338,8 +9338,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9338
9338
  mimeType: z.ZodString;
9339
9339
  type: z.ZodLiteral<"audio">;
9340
9340
  }, "strip", z.ZodTypeAny, {
9341
- data: string;
9342
9341
  type: "audio";
9342
+ data: string;
9343
9343
  mimeType: string;
9344
9344
  annotations?: {
9345
9345
  priority?: number | null | undefined;
@@ -9347,8 +9347,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9347
9347
  lastModified?: string | null | undefined;
9348
9348
  } | null | undefined;
9349
9349
  }, {
9350
- data: string;
9351
9350
  type: "audio";
9351
+ data: string;
9352
9352
  mimeType: string;
9353
9353
  annotations?: {
9354
9354
  priority?: number | null | undefined;
@@ -9486,8 +9486,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9486
9486
  lastModified?: string | null | undefined;
9487
9487
  } | null | undefined;
9488
9488
  } | {
9489
- data: string;
9490
9489
  type: "image";
9490
+ data: string;
9491
9491
  mimeType: string;
9492
9492
  annotations?: {
9493
9493
  priority?: number | null | undefined;
@@ -9495,8 +9495,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9495
9495
  lastModified?: string | null | undefined;
9496
9496
  } | null | undefined;
9497
9497
  } | {
9498
- data: string;
9499
9498
  type: "audio";
9499
+ data: string;
9500
9500
  mimeType: string;
9501
9501
  annotations?: {
9502
9502
  priority?: number | null | undefined;
@@ -9544,8 +9544,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9544
9544
  lastModified?: string | null | undefined;
9545
9545
  } | null | undefined;
9546
9546
  } | {
9547
- data: string;
9548
9547
  type: "image";
9548
+ data: string;
9549
9549
  mimeType: string;
9550
9550
  annotations?: {
9551
9551
  priority?: number | null | undefined;
@@ -9553,8 +9553,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9553
9553
  lastModified?: string | null | undefined;
9554
9554
  } | null | undefined;
9555
9555
  } | {
9556
- data: string;
9557
9556
  type: "audio";
9557
+ data: string;
9558
9558
  mimeType: string;
9559
9559
  annotations?: {
9560
9560
  priority?: number | null | undefined;
@@ -9643,8 +9643,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9643
9643
  mimeType: z.ZodString;
9644
9644
  type: z.ZodLiteral<"image">;
9645
9645
  }, "strip", z.ZodTypeAny, {
9646
- data: string;
9647
9646
  type: "image";
9647
+ data: string;
9648
9648
  mimeType: string;
9649
9649
  annotations?: {
9650
9650
  priority?: number | null | undefined;
@@ -9652,8 +9652,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9652
9652
  lastModified?: string | null | undefined;
9653
9653
  } | null | undefined;
9654
9654
  }, {
9655
- data: string;
9656
9655
  type: "image";
9656
+ data: string;
9657
9657
  mimeType: string;
9658
9658
  annotations?: {
9659
9659
  priority?: number | null | undefined;
@@ -9678,8 +9678,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9678
9678
  mimeType: z.ZodString;
9679
9679
  type: z.ZodLiteral<"audio">;
9680
9680
  }, "strip", z.ZodTypeAny, {
9681
- data: string;
9682
9681
  type: "audio";
9682
+ data: string;
9683
9683
  mimeType: string;
9684
9684
  annotations?: {
9685
9685
  priority?: number | null | undefined;
@@ -9687,8 +9687,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9687
9687
  lastModified?: string | null | undefined;
9688
9688
  } | null | undefined;
9689
9689
  }, {
9690
- data: string;
9691
9690
  type: "audio";
9691
+ data: string;
9692
9692
  mimeType: string;
9693
9693
  annotations?: {
9694
9694
  priority?: number | null | undefined;
@@ -9826,8 +9826,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9826
9826
  lastModified?: string | null | undefined;
9827
9827
  } | null | undefined;
9828
9828
  } | {
9829
- data: string;
9830
9829
  type: "image";
9830
+ data: string;
9831
9831
  mimeType: string;
9832
9832
  annotations?: {
9833
9833
  priority?: number | null | undefined;
@@ -9835,8 +9835,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9835
9835
  lastModified?: string | null | undefined;
9836
9836
  } | null | undefined;
9837
9837
  } | {
9838
- data: string;
9839
9838
  type: "audio";
9839
+ data: string;
9840
9840
  mimeType: string;
9841
9841
  annotations?: {
9842
9842
  priority?: number | null | undefined;
@@ -9884,8 +9884,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9884
9884
  lastModified?: string | null | undefined;
9885
9885
  } | null | undefined;
9886
9886
  } | {
9887
- data: string;
9888
9887
  type: "image";
9888
+ data: string;
9889
9889
  mimeType: string;
9890
9890
  annotations?: {
9891
9891
  priority?: number | null | undefined;
@@ -9893,8 +9893,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9893
9893
  lastModified?: string | null | undefined;
9894
9894
  } | null | undefined;
9895
9895
  } | {
9896
- data: string;
9897
9896
  type: "audio";
9897
+ data: string;
9898
9898
  mimeType: string;
9899
9899
  annotations?: {
9900
9900
  priority?: number | null | undefined;
@@ -9984,8 +9984,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9984
9984
  mimeType: z.ZodString;
9985
9985
  type: z.ZodLiteral<"image">;
9986
9986
  }, "strip", z.ZodTypeAny, {
9987
- data: string;
9988
9987
  type: "image";
9988
+ data: string;
9989
9989
  mimeType: string;
9990
9990
  annotations?: {
9991
9991
  priority?: number | null | undefined;
@@ -9993,8 +9993,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9993
9993
  lastModified?: string | null | undefined;
9994
9994
  } | null | undefined;
9995
9995
  }, {
9996
- data: string;
9997
9996
  type: "image";
9997
+ data: string;
9998
9998
  mimeType: string;
9999
9999
  annotations?: {
10000
10000
  priority?: number | null | undefined;
@@ -10019,8 +10019,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10019
10019
  mimeType: z.ZodString;
10020
10020
  type: z.ZodLiteral<"audio">;
10021
10021
  }, "strip", z.ZodTypeAny, {
10022
- data: string;
10023
10022
  type: "audio";
10023
+ data: string;
10024
10024
  mimeType: string;
10025
10025
  annotations?: {
10026
10026
  priority?: number | null | undefined;
@@ -10028,8 +10028,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10028
10028
  lastModified?: string | null | undefined;
10029
10029
  } | null | undefined;
10030
10030
  }, {
10031
- data: string;
10032
10031
  type: "audio";
10032
+ data: string;
10033
10033
  mimeType: string;
10034
10034
  annotations?: {
10035
10035
  priority?: number | null | undefined;
@@ -10158,6 +10158,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10158
10158
  }>]>;
10159
10159
  type: z.ZodLiteral<"content">;
10160
10160
  }, "strip", z.ZodTypeAny, {
10161
+ type: "content";
10161
10162
  content: {
10162
10163
  text: string;
10163
10164
  type: "text";
@@ -10167,8 +10168,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10167
10168
  lastModified?: string | null | undefined;
10168
10169
  } | null | undefined;
10169
10170
  } | {
10170
- data: string;
10171
10171
  type: "image";
10172
+ data: string;
10172
10173
  mimeType: string;
10173
10174
  annotations?: {
10174
10175
  priority?: number | null | undefined;
@@ -10176,8 +10177,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10176
10177
  lastModified?: string | null | undefined;
10177
10178
  } | null | undefined;
10178
10179
  } | {
10179
- data: string;
10180
10180
  type: "audio";
10181
+ data: string;
10181
10182
  mimeType: string;
10182
10183
  annotations?: {
10183
10184
  priority?: number | null | undefined;
@@ -10214,8 +10215,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10214
10215
  lastModified?: string | null | undefined;
10215
10216
  } | null | undefined;
10216
10217
  };
10217
- type: "content";
10218
10218
  }, {
10219
+ type: "content";
10219
10220
  content: {
10220
10221
  text: string;
10221
10222
  type: "text";
@@ -10225,8 +10226,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10225
10226
  lastModified?: string | null | undefined;
10226
10227
  } | null | undefined;
10227
10228
  } | {
10228
- data: string;
10229
10229
  type: "image";
10230
+ data: string;
10230
10231
  mimeType: string;
10231
10232
  annotations?: {
10232
10233
  priority?: number | null | undefined;
@@ -10234,8 +10235,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10234
10235
  lastModified?: string | null | undefined;
10235
10236
  } | null | undefined;
10236
10237
  } | {
10237
- data: string;
10238
10238
  type: "audio";
10239
+ data: string;
10239
10240
  mimeType: string;
10240
10241
  annotations?: {
10241
10242
  priority?: number | null | undefined;
@@ -10272,7 +10273,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10272
10273
  lastModified?: string | null | undefined;
10273
10274
  } | null | undefined;
10274
10275
  };
10275
- type: "content";
10276
10276
  }>, z.ZodObject<{
10277
10277
  newText: z.ZodString;
10278
10278
  oldText: z.ZodNullable<z.ZodString>;
@@ -10312,6 +10312,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10312
10312
  toolCallId: string;
10313
10313
  sessionUpdate: "tool_call";
10314
10314
  content?: ({
10315
+ type: "content";
10315
10316
  content: {
10316
10317
  text: string;
10317
10318
  type: "text";
@@ -10321,8 +10322,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10321
10322
  lastModified?: string | null | undefined;
10322
10323
  } | null | undefined;
10323
10324
  } | {
10324
- data: string;
10325
10325
  type: "image";
10326
+ data: string;
10326
10327
  mimeType: string;
10327
10328
  annotations?: {
10328
10329
  priority?: number | null | undefined;
@@ -10330,8 +10331,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10330
10331
  lastModified?: string | null | undefined;
10331
10332
  } | null | undefined;
10332
10333
  } | {
10333
- data: string;
10334
10334
  type: "audio";
10335
+ data: string;
10335
10336
  mimeType: string;
10336
10337
  annotations?: {
10337
10338
  priority?: number | null | undefined;
@@ -10368,7 +10369,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10368
10369
  lastModified?: string | null | undefined;
10369
10370
  } | null | undefined;
10370
10371
  };
10371
- type: "content";
10372
10372
  } | {
10373
10373
  type: "diff";
10374
10374
  path: string;
@@ -10387,6 +10387,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10387
10387
  toolCallId: string;
10388
10388
  sessionUpdate: "tool_call";
10389
10389
  content?: ({
10390
+ type: "content";
10390
10391
  content: {
10391
10392
  text: string;
10392
10393
  type: "text";
@@ -10396,8 +10397,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10396
10397
  lastModified?: string | null | undefined;
10397
10398
  } | null | undefined;
10398
10399
  } | {
10399
- data: string;
10400
10400
  type: "image";
10401
+ data: string;
10401
10402
  mimeType: string;
10402
10403
  annotations?: {
10403
10404
  priority?: number | null | undefined;
@@ -10405,8 +10406,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10405
10406
  lastModified?: string | null | undefined;
10406
10407
  } | null | undefined;
10407
10408
  } | {
10408
- data: string;
10409
10409
  type: "audio";
10410
+ data: string;
10410
10411
  mimeType: string;
10411
10412
  annotations?: {
10412
10413
  priority?: number | null | undefined;
@@ -10443,7 +10444,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10443
10444
  lastModified?: string | null | undefined;
10444
10445
  } | null | undefined;
10445
10446
  };
10446
- type: "content";
10447
10447
  } | {
10448
10448
  type: "diff";
10449
10449
  path: string;
@@ -10507,8 +10507,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10507
10507
  mimeType: z.ZodString;
10508
10508
  type: z.ZodLiteral<"image">;
10509
10509
  }, "strip", z.ZodTypeAny, {
10510
- data: string;
10511
10510
  type: "image";
10511
+ data: string;
10512
10512
  mimeType: string;
10513
10513
  annotations?: {
10514
10514
  priority?: number | null | undefined;
@@ -10516,8 +10516,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10516
10516
  lastModified?: string | null | undefined;
10517
10517
  } | null | undefined;
10518
10518
  }, {
10519
- data: string;
10520
10519
  type: "image";
10520
+ data: string;
10521
10521
  mimeType: string;
10522
10522
  annotations?: {
10523
10523
  priority?: number | null | undefined;
@@ -10542,8 +10542,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10542
10542
  mimeType: z.ZodString;
10543
10543
  type: z.ZodLiteral<"audio">;
10544
10544
  }, "strip", z.ZodTypeAny, {
10545
- data: string;
10546
10545
  type: "audio";
10546
+ data: string;
10547
10547
  mimeType: string;
10548
10548
  annotations?: {
10549
10549
  priority?: number | null | undefined;
@@ -10551,8 +10551,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10551
10551
  lastModified?: string | null | undefined;
10552
10552
  } | null | undefined;
10553
10553
  }, {
10554
- data: string;
10555
10554
  type: "audio";
10555
+ data: string;
10556
10556
  mimeType: string;
10557
10557
  annotations?: {
10558
10558
  priority?: number | null | undefined;
@@ -10681,6 +10681,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10681
10681
  }>]>;
10682
10682
  type: z.ZodLiteral<"content">;
10683
10683
  }, "strip", z.ZodTypeAny, {
10684
+ type: "content";
10684
10685
  content: {
10685
10686
  text: string;
10686
10687
  type: "text";
@@ -10690,8 +10691,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10690
10691
  lastModified?: string | null | undefined;
10691
10692
  } | null | undefined;
10692
10693
  } | {
10693
- data: string;
10694
10694
  type: "image";
10695
+ data: string;
10695
10696
  mimeType: string;
10696
10697
  annotations?: {
10697
10698
  priority?: number | null | undefined;
@@ -10699,8 +10700,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10699
10700
  lastModified?: string | null | undefined;
10700
10701
  } | null | undefined;
10701
10702
  } | {
10702
- data: string;
10703
10703
  type: "audio";
10704
+ data: string;
10704
10705
  mimeType: string;
10705
10706
  annotations?: {
10706
10707
  priority?: number | null | undefined;
@@ -10737,8 +10738,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10737
10738
  lastModified?: string | null | undefined;
10738
10739
  } | null | undefined;
10739
10740
  };
10740
- type: "content";
10741
10741
  }, {
10742
+ type: "content";
10742
10743
  content: {
10743
10744
  text: string;
10744
10745
  type: "text";
@@ -10748,8 +10749,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10748
10749
  lastModified?: string | null | undefined;
10749
10750
  } | null | undefined;
10750
10751
  } | {
10751
- data: string;
10752
10752
  type: "image";
10753
+ data: string;
10753
10754
  mimeType: string;
10754
10755
  annotations?: {
10755
10756
  priority?: number | null | undefined;
@@ -10757,8 +10758,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10757
10758
  lastModified?: string | null | undefined;
10758
10759
  } | null | undefined;
10759
10760
  } | {
10760
- data: string;
10761
10761
  type: "audio";
10762
+ data: string;
10762
10763
  mimeType: string;
10763
10764
  annotations?: {
10764
10765
  priority?: number | null | undefined;
@@ -10795,7 +10796,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10795
10796
  lastModified?: string | null | undefined;
10796
10797
  } | null | undefined;
10797
10798
  };
10798
- type: "content";
10799
10799
  }>, z.ZodObject<{
10800
10800
  newText: z.ZodString;
10801
10801
  oldText: z.ZodNullable<z.ZodString>;
@@ -10832,6 +10832,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10832
10832
  toolCallId: string;
10833
10833
  sessionUpdate: "tool_call_update";
10834
10834
  content?: ({
10835
+ type: "content";
10835
10836
  content: {
10836
10837
  text: string;
10837
10838
  type: "text";
@@ -10841,8 +10842,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10841
10842
  lastModified?: string | null | undefined;
10842
10843
  } | null | undefined;
10843
10844
  } | {
10844
- data: string;
10845
10845
  type: "image";
10846
+ data: string;
10846
10847
  mimeType: string;
10847
10848
  annotations?: {
10848
10849
  priority?: number | null | undefined;
@@ -10850,8 +10851,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10850
10851
  lastModified?: string | null | undefined;
10851
10852
  } | null | undefined;
10852
10853
  } | {
10853
- data: string;
10854
10854
  type: "audio";
10855
+ data: string;
10855
10856
  mimeType: string;
10856
10857
  annotations?: {
10857
10858
  priority?: number | null | undefined;
@@ -10888,7 +10889,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10888
10889
  lastModified?: string | null | undefined;
10889
10890
  } | null | undefined;
10890
10891
  };
10891
- type: "content";
10892
10892
  } | {
10893
10893
  type: "diff";
10894
10894
  path: string;
@@ -10907,6 +10907,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10907
10907
  toolCallId: string;
10908
10908
  sessionUpdate: "tool_call_update";
10909
10909
  content?: ({
10910
+ type: "content";
10910
10911
  content: {
10911
10912
  text: string;
10912
10913
  type: "text";
@@ -10916,8 +10917,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10916
10917
  lastModified?: string | null | undefined;
10917
10918
  } | null | undefined;
10918
10919
  } | {
10919
- data: string;
10920
10920
  type: "image";
10921
+ data: string;
10921
10922
  mimeType: string;
10922
10923
  annotations?: {
10923
10924
  priority?: number | null | undefined;
@@ -10925,8 +10926,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10925
10926
  lastModified?: string | null | undefined;
10926
10927
  } | null | undefined;
10927
10928
  } | {
10928
- data: string;
10929
10929
  type: "audio";
10930
+ data: string;
10930
10931
  mimeType: string;
10931
10932
  annotations?: {
10932
10933
  priority?: number | null | undefined;
@@ -10963,7 +10964,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10963
10964
  lastModified?: string | null | undefined;
10964
10965
  } | null | undefined;
10965
10966
  };
10966
- type: "content";
10967
10967
  } | {
10968
10968
  type: "diff";
10969
10969
  path: string;
@@ -11009,6 +11009,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11009
11009
  sessionUpdate: "plan";
11010
11010
  }>]>;
11011
11011
  }, "strip", z.ZodTypeAny, {
11012
+ sessionId: string;
11012
11013
  update: {
11013
11014
  content: {
11014
11015
  text: string;
@@ -11019,8 +11020,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11019
11020
  lastModified?: string | null | undefined;
11020
11021
  } | null | undefined;
11021
11022
  } | {
11022
- data: string;
11023
11023
  type: "image";
11024
+ data: string;
11024
11025
  mimeType: string;
11025
11026
  annotations?: {
11026
11027
  priority?: number | null | undefined;
@@ -11028,8 +11029,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11028
11029
  lastModified?: string | null | undefined;
11029
11030
  } | null | undefined;
11030
11031
  } | {
11031
- data: string;
11032
11032
  type: "audio";
11033
+ data: string;
11033
11034
  mimeType: string;
11034
11035
  annotations?: {
11035
11036
  priority?: number | null | undefined;
@@ -11077,8 +11078,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11077
11078
  lastModified?: string | null | undefined;
11078
11079
  } | null | undefined;
11079
11080
  } | {
11080
- data: string;
11081
11081
  type: "image";
11082
+ data: string;
11082
11083
  mimeType: string;
11083
11084
  annotations?: {
11084
11085
  priority?: number | null | undefined;
@@ -11086,8 +11087,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11086
11087
  lastModified?: string | null | undefined;
11087
11088
  } | null | undefined;
11088
11089
  } | {
11089
- data: string;
11090
11090
  type: "audio";
11091
+ data: string;
11091
11092
  mimeType: string;
11092
11093
  annotations?: {
11093
11094
  priority?: number | null | undefined;
@@ -11135,8 +11136,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11135
11136
  lastModified?: string | null | undefined;
11136
11137
  } | null | undefined;
11137
11138
  } | {
11138
- data: string;
11139
11139
  type: "image";
11140
+ data: string;
11140
11141
  mimeType: string;
11141
11142
  annotations?: {
11142
11143
  priority?: number | null | undefined;
@@ -11144,8 +11145,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11144
11145
  lastModified?: string | null | undefined;
11145
11146
  } | null | undefined;
11146
11147
  } | {
11147
- data: string;
11148
11148
  type: "audio";
11149
+ data: string;
11149
11150
  mimeType: string;
11150
11151
  annotations?: {
11151
11152
  priority?: number | null | undefined;
@@ -11190,6 +11191,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11190
11191
  toolCallId: string;
11191
11192
  sessionUpdate: "tool_call";
11192
11193
  content?: ({
11194
+ type: "content";
11193
11195
  content: {
11194
11196
  text: string;
11195
11197
  type: "text";
@@ -11199,8 +11201,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11199
11201
  lastModified?: string | null | undefined;
11200
11202
  } | null | undefined;
11201
11203
  } | {
11202
- data: string;
11203
11204
  type: "image";
11205
+ data: string;
11204
11206
  mimeType: string;
11205
11207
  annotations?: {
11206
11208
  priority?: number | null | undefined;
@@ -11208,8 +11210,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11208
11210
  lastModified?: string | null | undefined;
11209
11211
  } | null | undefined;
11210
11212
  } | {
11211
- data: string;
11212
11213
  type: "audio";
11214
+ data: string;
11213
11215
  mimeType: string;
11214
11216
  annotations?: {
11215
11217
  priority?: number | null | undefined;
@@ -11246,7 +11248,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11246
11248
  lastModified?: string | null | undefined;
11247
11249
  } | null | undefined;
11248
11250
  };
11249
- type: "content";
11250
11251
  } | {
11251
11252
  type: "diff";
11252
11253
  path: string;
@@ -11262,6 +11263,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11262
11263
  toolCallId: string;
11263
11264
  sessionUpdate: "tool_call_update";
11264
11265
  content?: ({
11266
+ type: "content";
11265
11267
  content: {
11266
11268
  text: string;
11267
11269
  type: "text";
@@ -11271,8 +11273,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11271
11273
  lastModified?: string | null | undefined;
11272
11274
  } | null | undefined;
11273
11275
  } | {
11274
- data: string;
11275
11276
  type: "image";
11277
+ data: string;
11276
11278
  mimeType: string;
11277
11279
  annotations?: {
11278
11280
  priority?: number | null | undefined;
@@ -11280,8 +11282,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11280
11282
  lastModified?: string | null | undefined;
11281
11283
  } | null | undefined;
11282
11284
  } | {
11283
- data: string;
11284
11285
  type: "audio";
11286
+ data: string;
11285
11287
  mimeType: string;
11286
11288
  annotations?: {
11287
11289
  priority?: number | null | undefined;
@@ -11318,7 +11320,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11318
11320
  lastModified?: string | null | undefined;
11319
11321
  } | null | undefined;
11320
11322
  };
11321
- type: "content";
11322
11323
  } | {
11323
11324
  type: "diff";
11324
11325
  path: string;
@@ -11341,8 +11342,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11341
11342
  }[];
11342
11343
  sessionUpdate: "plan";
11343
11344
  };
11344
- sessionId: string;
11345
11345
  }, {
11346
+ sessionId: string;
11346
11347
  update: {
11347
11348
  content: {
11348
11349
  text: string;
@@ -11353,8 +11354,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11353
11354
  lastModified?: string | null | undefined;
11354
11355
  } | null | undefined;
11355
11356
  } | {
11356
- data: string;
11357
11357
  type: "image";
11358
+ data: string;
11358
11359
  mimeType: string;
11359
11360
  annotations?: {
11360
11361
  priority?: number | null | undefined;
@@ -11362,8 +11363,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11362
11363
  lastModified?: string | null | undefined;
11363
11364
  } | null | undefined;
11364
11365
  } | {
11365
- data: string;
11366
11366
  type: "audio";
11367
+ data: string;
11367
11368
  mimeType: string;
11368
11369
  annotations?: {
11369
11370
  priority?: number | null | undefined;
@@ -11411,8 +11412,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11411
11412
  lastModified?: string | null | undefined;
11412
11413
  } | null | undefined;
11413
11414
  } | {
11414
- data: string;
11415
11415
  type: "image";
11416
+ data: string;
11416
11417
  mimeType: string;
11417
11418
  annotations?: {
11418
11419
  priority?: number | null | undefined;
@@ -11420,8 +11421,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11420
11421
  lastModified?: string | null | undefined;
11421
11422
  } | null | undefined;
11422
11423
  } | {
11423
- data: string;
11424
11424
  type: "audio";
11425
+ data: string;
11425
11426
  mimeType: string;
11426
11427
  annotations?: {
11427
11428
  priority?: number | null | undefined;
@@ -11469,8 +11470,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11469
11470
  lastModified?: string | null | undefined;
11470
11471
  } | null | undefined;
11471
11472
  } | {
11472
- data: string;
11473
11473
  type: "image";
11474
+ data: string;
11474
11475
  mimeType: string;
11475
11476
  annotations?: {
11476
11477
  priority?: number | null | undefined;
@@ -11478,8 +11479,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11478
11479
  lastModified?: string | null | undefined;
11479
11480
  } | null | undefined;
11480
11481
  } | {
11481
- data: string;
11482
11482
  type: "audio";
11483
+ data: string;
11483
11484
  mimeType: string;
11484
11485
  annotations?: {
11485
11486
  priority?: number | null | undefined;
@@ -11524,6 +11525,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11524
11525
  toolCallId: string;
11525
11526
  sessionUpdate: "tool_call";
11526
11527
  content?: ({
11528
+ type: "content";
11527
11529
  content: {
11528
11530
  text: string;
11529
11531
  type: "text";
@@ -11533,8 +11535,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11533
11535
  lastModified?: string | null | undefined;
11534
11536
  } | null | undefined;
11535
11537
  } | {
11536
- data: string;
11537
11538
  type: "image";
11539
+ data: string;
11538
11540
  mimeType: string;
11539
11541
  annotations?: {
11540
11542
  priority?: number | null | undefined;
@@ -11542,8 +11544,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11542
11544
  lastModified?: string | null | undefined;
11543
11545
  } | null | undefined;
11544
11546
  } | {
11545
- data: string;
11546
11547
  type: "audio";
11548
+ data: string;
11547
11549
  mimeType: string;
11548
11550
  annotations?: {
11549
11551
  priority?: number | null | undefined;
@@ -11580,7 +11582,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11580
11582
  lastModified?: string | null | undefined;
11581
11583
  } | null | undefined;
11582
11584
  };
11583
- type: "content";
11584
11585
  } | {
11585
11586
  type: "diff";
11586
11587
  path: string;
@@ -11596,6 +11597,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11596
11597
  toolCallId: string;
11597
11598
  sessionUpdate: "tool_call_update";
11598
11599
  content?: ({
11600
+ type: "content";
11599
11601
  content: {
11600
11602
  text: string;
11601
11603
  type: "text";
@@ -11605,8 +11607,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11605
11607
  lastModified?: string | null | undefined;
11606
11608
  } | null | undefined;
11607
11609
  } | {
11608
- data: string;
11609
11610
  type: "image";
11611
+ data: string;
11610
11612
  mimeType: string;
11611
11613
  annotations?: {
11612
11614
  priority?: number | null | undefined;
@@ -11614,8 +11616,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11614
11616
  lastModified?: string | null | undefined;
11615
11617
  } | null | undefined;
11616
11618
  } | {
11617
- data: string;
11618
11619
  type: "audio";
11620
+ data: string;
11619
11621
  mimeType: string;
11620
11622
  annotations?: {
11621
11623
  priority?: number | null | undefined;
@@ -11652,7 +11654,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11652
11654
  lastModified?: string | null | undefined;
11653
11655
  } | null | undefined;
11654
11656
  };
11655
- type: "content";
11656
11657
  } | {
11657
11658
  type: "diff";
11658
11659
  path: string;
@@ -11675,5 +11676,4 @@ export declare const agentNotificationSchema: z.ZodObject<{
11675
11676
  }[];
11676
11677
  sessionUpdate: "plan";
11677
11678
  };
11678
- sessionId: string;
11679
11679
  }>;