@rdmind/rdmind 0.0.15-alpha.0 → 0.0.15-alpha.2

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 (774) hide show
  1. package/dist/package.json +15 -10
  2. package/dist/src/commands/extensions/disable.d.ts +2 -3
  3. package/dist/src/commands/extensions/disable.js +20 -6
  4. package/dist/src/commands/extensions/disable.js.map +1 -1
  5. package/dist/src/commands/extensions/enable.d.ts +2 -3
  6. package/dist/src/commands/extensions/enable.js +21 -10
  7. package/dist/src/commands/extensions/enable.js.map +1 -1
  8. package/dist/src/commands/extensions/examples/context/QWEN.md +8 -0
  9. package/dist/src/commands/extensions/examples/context/qwen-extension.json +4 -0
  10. package/dist/src/commands/extensions/examples/custom-commands/commands/fs/grep-code.toml +6 -0
  11. package/dist/src/commands/extensions/examples/custom-commands/qwen-extension.json +4 -0
  12. package/dist/src/commands/extensions/examples/exclude-tools/qwen-extension.json +5 -0
  13. package/dist/src/commands/extensions/examples/mcp-server/example.ts +60 -0
  14. package/dist/src/commands/extensions/examples/mcp-server/package.json +18 -0
  15. package/dist/src/commands/extensions/examples/mcp-server/qwen-extension.json +11 -0
  16. package/dist/src/commands/extensions/examples/mcp-server/tsconfig.json +13 -0
  17. package/dist/src/commands/extensions/install.d.ts +3 -2
  18. package/dist/src/commands/extensions/install.js +47 -17
  19. package/dist/src/commands/extensions/install.js.map +1 -1
  20. package/dist/src/commands/extensions/install.test.js +86 -9
  21. package/dist/src/commands/extensions/install.test.js.map +1 -1
  22. package/dist/src/commands/extensions/link.d.ts +12 -0
  23. package/dist/src/commands/extensions/link.js +37 -0
  24. package/dist/src/commands/extensions/link.js.map +1 -0
  25. package/dist/src/commands/extensions/list.js +1 -1
  26. package/dist/src/commands/extensions/list.js.map +1 -1
  27. package/dist/src/commands/extensions/new.d.ts +7 -0
  28. package/dist/src/commands/extensions/new.js +90 -0
  29. package/dist/src/commands/extensions/new.js.map +1 -0
  30. package/dist/src/commands/extensions/new.test.js +59 -0
  31. package/dist/src/commands/extensions/new.test.js.map +1 -0
  32. package/dist/src/commands/extensions/uninstall.js +1 -1
  33. package/dist/src/commands/extensions/uninstall.js.map +1 -1
  34. package/dist/src/commands/extensions/uninstall.test.js +2 -2
  35. package/dist/src/commands/extensions/uninstall.test.js.map +1 -1
  36. package/dist/src/commands/extensions/update.d.ts +2 -1
  37. package/dist/src/commands/extensions/update.js +80 -14
  38. package/dist/src/commands/extensions/update.js.map +1 -1
  39. package/dist/src/commands/extensions.js +4 -0
  40. package/dist/src/commands/extensions.js.map +1 -1
  41. package/dist/src/commands/mcp/add.js +6 -1
  42. package/dist/src/commands/mcp/add.js.map +1 -1
  43. package/dist/src/commands/mcp/list.js +4 -3
  44. package/dist/src/commands/mcp/list.js.map +1 -1
  45. package/dist/src/commands/mcp/remove.js +1 -1
  46. package/dist/src/commands/mcp/remove.js.map +1 -1
  47. package/dist/src/config/auth.d.ts +1 -1
  48. package/dist/src/config/auth.js +4 -4
  49. package/dist/src/config/auth.js.map +1 -1
  50. package/dist/src/config/auth.test.js +15 -7
  51. package/dist/src/config/auth.test.js.map +1 -1
  52. package/dist/src/config/config.d.ts +7 -2
  53. package/dist/src/config/config.js +178 -122
  54. package/dist/src/config/config.js.map +1 -1
  55. package/dist/src/config/extension.d.ts +39 -16
  56. package/dist/src/config/extension.js +349 -192
  57. package/dist/src/config/extension.js.map +1 -1
  58. package/dist/src/config/extensions/extensionEnablement.d.ts +47 -0
  59. package/dist/src/config/extensions/extensionEnablement.js +189 -0
  60. package/dist/src/config/extensions/extensionEnablement.js.map +1 -0
  61. package/dist/src/{ui/components/ModelSelectionDialog.test.d.ts → config/extensions/extensionEnablement.test.d.ts} +1 -1
  62. package/dist/src/config/extensions/extensionEnablement.test.js +333 -0
  63. package/dist/src/config/extensions/extensionEnablement.test.js.map +1 -0
  64. package/dist/src/config/extensions/github.d.ts +30 -0
  65. package/dist/src/config/extensions/github.js +322 -0
  66. package/dist/src/config/extensions/github.js.map +1 -0
  67. package/dist/src/config/extensions/github.test.d.ts +6 -0
  68. package/dist/src/config/extensions/github.test.js +334 -0
  69. package/dist/src/config/extensions/github.test.js.map +1 -0
  70. package/dist/src/config/extensions/update.d.ts +19 -0
  71. package/dist/src/config/extensions/update.js +113 -0
  72. package/dist/src/config/extensions/update.js.map +1 -0
  73. package/dist/src/config/extensions/update.test.d.ts +6 -0
  74. package/dist/src/config/extensions/update.test.js +342 -0
  75. package/dist/src/config/extensions/update.test.js.map +1 -0
  76. package/dist/src/config/extensions/variableSchema.d.ts +8 -0
  77. package/dist/src/config/extensions/variableSchema.js +4 -0
  78. package/dist/src/config/extensions/variableSchema.js.map +1 -1
  79. package/dist/src/config/keyBindings.d.ts +5 -1
  80. package/dist/src/config/keyBindings.js +14 -25
  81. package/dist/src/config/keyBindings.js.map +1 -1
  82. package/dist/src/config/settings.d.ts +8 -5
  83. package/dist/src/config/settings.js +178 -275
  84. package/dist/src/config/settings.js.map +1 -1
  85. package/dist/src/config/settingsSchema.d.ts +332 -141
  86. package/dist/src/config/settingsSchema.js +321 -153
  87. package/dist/src/config/settingsSchema.js.map +1 -1
  88. package/dist/src/config/settingsSchema.test.js +64 -57
  89. package/dist/src/config/settingsSchema.test.js.map +1 -1
  90. package/dist/src/config/trustedFolders.d.ts +23 -4
  91. package/dist/src/config/trustedFolders.js +97 -47
  92. package/dist/src/config/trustedFolders.js.map +1 -1
  93. package/dist/src/config/trustedFolders.test.js +196 -20
  94. package/dist/src/config/trustedFolders.test.js.map +1 -1
  95. package/dist/src/core/auth.d.ts +13 -0
  96. package/dist/src/core/auth.js +27 -0
  97. package/dist/src/core/auth.js.map +1 -0
  98. package/dist/src/core/initializer.d.ts +21 -0
  99. package/dist/src/core/initializer.js +33 -0
  100. package/dist/src/core/initializer.js.map +1 -0
  101. package/dist/src/core/theme.d.ts +12 -0
  102. package/dist/src/core/theme.js +20 -0
  103. package/dist/src/core/theme.js.map +1 -0
  104. package/dist/src/gemini.d.ts +3 -2
  105. package/dist/src/gemini.js +156 -128
  106. package/dist/src/gemini.js.map +1 -1
  107. package/dist/src/gemini.test.js +190 -47
  108. package/dist/src/gemini.test.js.map +1 -1
  109. package/dist/src/generated/git-commit.d.ts +2 -2
  110. package/dist/src/generated/git-commit.js +2 -2
  111. package/dist/src/nonInteractiveCli.d.ts +2 -1
  112. package/dist/src/nonInteractiveCli.js +101 -72
  113. package/dist/src/nonInteractiveCli.js.map +1 -1
  114. package/dist/src/nonInteractiveCliCommands.d.ts +17 -0
  115. package/dist/src/nonInteractiveCliCommands.js +79 -0
  116. package/dist/src/nonInteractiveCliCommands.js.map +1 -0
  117. package/dist/src/services/BuiltinCommandLoader.js +1 -1
  118. package/dist/src/services/BuiltinCommandLoader.js.map +1 -1
  119. package/dist/src/services/BuiltinCommandLoader.test.js +30 -18
  120. package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -1
  121. package/dist/src/services/FileCommandLoader.d.ts +2 -0
  122. package/dist/src/services/FileCommandLoader.js +7 -0
  123. package/dist/src/services/FileCommandLoader.js.map +1 -1
  124. package/dist/src/services/McpPromptLoader.js +43 -8
  125. package/dist/src/services/McpPromptLoader.js.map +1 -1
  126. package/dist/src/services/McpPromptLoader.test.js +228 -1
  127. package/dist/src/services/McpPromptLoader.test.js.map +1 -1
  128. package/dist/src/services/prompt-processors/shellProcessor.js +8 -1
  129. package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -1
  130. package/dist/src/test-utils/createExtension.d.ts +15 -0
  131. package/dist/src/test-utils/createExtension.js +25 -0
  132. package/dist/src/test-utils/createExtension.js.map +1 -0
  133. package/dist/src/test-utils/mockCommandContext.js +2 -0
  134. package/dist/src/test-utils/mockCommandContext.js.map +1 -1
  135. package/dist/src/test-utils/render.d.ts +5 -1
  136. package/dist/src/test-utils/render.js +5 -1
  137. package/dist/src/test-utils/render.js.map +1 -1
  138. package/dist/src/ui/App.d.ts +1 -10
  139. package/dist/src/ui/App.js +26 -834
  140. package/dist/src/ui/App.js.map +1 -1
  141. package/dist/src/ui/AppContainer.d.ts +17 -0
  142. package/dist/src/ui/AppContainer.js +1062 -0
  143. package/dist/src/ui/AppContainer.js.map +1 -0
  144. package/dist/src/ui/AppContainer.test.d.ts +6 -0
  145. package/dist/src/ui/AppContainer.test.js +831 -0
  146. package/dist/src/ui/AppContainer.test.js.map +1 -0
  147. package/dist/src/ui/IdeIntegrationNudge.d.ts +2 -2
  148. package/dist/src/ui/IdeIntegrationNudge.js +6 -8
  149. package/dist/src/ui/IdeIntegrationNudge.js.map +1 -1
  150. package/dist/src/ui/{components → auth}/AuthDialog.js +8 -4
  151. package/dist/src/ui/auth/AuthDialog.js.map +1 -0
  152. package/dist/src/ui/auth/AuthDialog.test.d.ts +6 -0
  153. package/dist/src/ui/{components → auth}/AuthDialog.test.js +92 -10
  154. package/dist/src/ui/auth/AuthDialog.test.js.map +1 -0
  155. package/dist/src/ui/{components → auth}/AuthInProgress.js +2 -2
  156. package/dist/src/ui/auth/AuthInProgress.js.map +1 -0
  157. package/dist/src/ui/{hooks/useAuthCommand.d.ts → auth/useAuth.d.ts} +9 -3
  158. package/dist/src/ui/{hooks/useAuthCommand.js → auth/useAuth.js} +49 -14
  159. package/dist/src/ui/auth/useAuth.js.map +1 -0
  160. package/dist/src/ui/commands/aboutCommand.js +9 -3
  161. package/dist/src/ui/commands/aboutCommand.js.map +1 -1
  162. package/dist/src/ui/commands/chatCommand.d.ts +2 -0
  163. package/dist/src/ui/commands/chatCommand.js +93 -3
  164. package/dist/src/ui/commands/chatCommand.js.map +1 -1
  165. package/dist/src/ui/commands/clearCommand.js +1 -1
  166. package/dist/src/ui/commands/clearCommand.js.map +1 -1
  167. package/dist/src/ui/commands/corgiCommand.js +1 -0
  168. package/dist/src/ui/commands/corgiCommand.js.map +1 -1
  169. package/dist/src/ui/commands/directoryCommand.d.ts +1 -0
  170. package/dist/src/ui/commands/directoryCommand.js +156 -4
  171. package/dist/src/ui/commands/directoryCommand.js.map +1 -1
  172. package/dist/src/ui/commands/extensionsCommand.js +92 -15
  173. package/dist/src/ui/commands/extensionsCommand.js.map +1 -1
  174. package/dist/src/ui/commands/ideCommand.d.ts +1 -2
  175. package/dist/src/ui/commands/ideCommand.js +19 -10
  176. package/dist/src/ui/commands/ideCommand.js.map +1 -1
  177. package/dist/src/ui/commands/mcpCommand.js +88 -261
  178. package/dist/src/ui/commands/mcpCommand.js.map +1 -1
  179. package/dist/src/ui/commands/memoryCommand.js +1 -1
  180. package/dist/src/ui/commands/memoryCommand.js.map +1 -1
  181. package/dist/src/ui/commands/modelCommand.js +1 -16
  182. package/dist/src/ui/commands/modelCommand.js.map +1 -1
  183. package/dist/src/ui/commands/modelCommand.test.js +10 -11
  184. package/dist/src/ui/commands/modelCommand.test.js.map +1 -1
  185. package/dist/src/ui/commands/summaryCommand.js +1 -1
  186. package/dist/src/ui/commands/summaryCommand.js.map +1 -1
  187. package/dist/src/ui/commands/toolsCommand.js +10 -24
  188. package/dist/src/ui/commands/toolsCommand.js.map +1 -1
  189. package/dist/src/ui/commands/types.d.ts +7 -2
  190. package/dist/src/ui/commands/types.js +0 -1
  191. package/dist/src/ui/commands/types.js.map +1 -1
  192. package/dist/src/ui/components/AboutBox.js +2 -2
  193. package/dist/src/ui/components/AboutBox.js.map +1 -1
  194. package/dist/src/ui/components/AnsiOutput.d.ts +13 -0
  195. package/dist/src/ui/components/AnsiOutput.js +12 -0
  196. package/dist/src/ui/components/AnsiOutput.js.map +1 -0
  197. package/dist/src/ui/components/AnsiOutput.test.d.ts +6 -0
  198. package/dist/src/ui/components/AnsiOutput.test.js +97 -0
  199. package/dist/src/ui/components/AnsiOutput.test.js.map +1 -0
  200. package/dist/src/ui/components/AppHeader.d.ts +10 -0
  201. package/dist/src/ui/components/AppHeader.js +19 -0
  202. package/dist/src/ui/components/AppHeader.js.map +1 -0
  203. package/dist/src/ui/components/AutoAcceptIndicator.js +5 -5
  204. package/dist/src/ui/components/AutoAcceptIndicator.js.map +1 -1
  205. package/dist/src/ui/components/Composer.d.ts +6 -0
  206. package/dist/src/ui/components/Composer.js +54 -0
  207. package/dist/src/ui/components/Composer.js.map +1 -0
  208. package/dist/src/ui/components/Composer.test.d.ts +6 -0
  209. package/dist/src/ui/components/Composer.test.js +337 -0
  210. package/dist/src/ui/components/Composer.test.js.map +1 -0
  211. package/dist/src/ui/components/ConfigInitDisplay.d.ts +6 -0
  212. package/dist/src/ui/components/ConfigInitDisplay.js +38 -0
  213. package/dist/src/ui/components/ConfigInitDisplay.js.map +1 -0
  214. package/dist/src/ui/components/ConsentPrompt.d.ts +13 -0
  215. package/dist/src/ui/components/ConsentPrompt.js +19 -0
  216. package/dist/src/ui/components/ConsentPrompt.js.map +1 -0
  217. package/dist/src/ui/components/ConsentPrompt.test.d.ts +6 -0
  218. package/dist/src/ui/components/ConsentPrompt.test.js +67 -0
  219. package/dist/src/ui/components/ConsentPrompt.test.js.map +1 -0
  220. package/dist/src/ui/components/ConsoleSummaryDisplay.js +2 -2
  221. package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +1 -1
  222. package/dist/src/ui/components/ContextSummaryDisplay.js +3 -3
  223. package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -1
  224. package/dist/src/ui/components/ContextUsageDisplay.d.ts +2 -1
  225. package/dist/src/ui/components/ContextUsageDisplay.js +5 -3
  226. package/dist/src/ui/components/ContextUsageDisplay.js.map +1 -1
  227. package/dist/src/ui/components/DebugProfiler.js +2 -2
  228. package/dist/src/ui/components/DebugProfiler.js.map +1 -1
  229. package/dist/src/ui/components/DetailedMessagesDisplay.js +7 -7
  230. package/dist/src/ui/components/DetailedMessagesDisplay.js.map +1 -1
  231. package/dist/src/ui/components/DialogManager.d.ts +12 -0
  232. package/dist/src/ui/components/DialogManager.js +129 -0
  233. package/dist/src/ui/components/DialogManager.js.map +1 -0
  234. package/dist/src/ui/components/EditorSettingsDialog.js +16 -7
  235. package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -1
  236. package/dist/src/ui/components/ExitWarning.d.ts +7 -0
  237. package/dist/src/ui/components/ExitWarning.js +9 -0
  238. package/dist/src/ui/components/ExitWarning.js.map +1 -0
  239. package/dist/src/ui/components/FolderTrustDialog.js +22 -9
  240. package/dist/src/ui/components/FolderTrustDialog.js.map +1 -1
  241. package/dist/src/ui/components/FolderTrustDialog.test.js +37 -12
  242. package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -1
  243. package/dist/src/ui/components/Footer.d.ts +1 -17
  244. package/dist/src/ui/components/Footer.js +33 -11
  245. package/dist/src/ui/components/Footer.js.map +1 -1
  246. package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +5 -0
  247. package/dist/src/ui/components/GeminiRespondingSpinner.js +7 -2
  248. package/dist/src/ui/components/GeminiRespondingSpinner.js.map +1 -1
  249. package/dist/src/ui/components/Header.js +2 -2
  250. package/dist/src/ui/components/Header.js.map +1 -1
  251. package/dist/src/ui/components/Help.d.ts +1 -1
  252. package/dist/src/ui/components/Help.js +9 -6
  253. package/dist/src/ui/components/Help.js.map +1 -1
  254. package/dist/src/ui/components/Help.test.d.ts +6 -0
  255. package/dist/src/ui/components/Help.test.js +57 -0
  256. package/dist/src/ui/components/Help.test.js.map +1 -0
  257. package/dist/src/ui/components/HistoryItemDisplay.d.ts +5 -4
  258. package/dist/src/ui/components/HistoryItemDisplay.js +13 -4
  259. package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
  260. package/dist/src/ui/components/HistoryItemDisplay.test.js +90 -9
  261. package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -1
  262. package/dist/src/ui/components/IdeTrustChangeDialog.d.ts +11 -0
  263. package/dist/src/ui/components/IdeTrustChangeDialog.js +32 -0
  264. package/dist/src/ui/components/IdeTrustChangeDialog.js.map +1 -0
  265. package/dist/src/ui/components/IdeTrustChangeDialog.test.d.ts +6 -0
  266. package/dist/src/ui/components/IdeTrustChangeDialog.test.js +57 -0
  267. package/dist/src/ui/components/IdeTrustChangeDialog.test.js.map +1 -0
  268. package/dist/src/ui/components/InputPrompt.d.ts +9 -0
  269. package/dist/src/ui/components/InputPrompt.js +192 -45
  270. package/dist/src/ui/components/InputPrompt.js.map +1 -1
  271. package/dist/src/ui/components/LoadingIndicator.js +2 -2
  272. package/dist/src/ui/components/LoadingIndicator.js.map +1 -1
  273. package/dist/src/ui/components/LoadingIndicator.test.js +4 -0
  274. package/dist/src/ui/components/LoadingIndicator.test.js.map +1 -1
  275. package/dist/src/ui/components/LoopDetectionConfirmation.d.ts +13 -0
  276. package/dist/src/ui/components/LoopDetectionConfirmation.js +37 -0
  277. package/dist/src/ui/components/LoopDetectionConfirmation.js.map +1 -0
  278. package/dist/src/ui/components/LoopDetectionConfirmation.test.d.ts +6 -0
  279. package/dist/src/ui/components/LoopDetectionConfirmation.test.js +28 -0
  280. package/dist/src/ui/components/LoopDetectionConfirmation.test.js.map +1 -0
  281. package/dist/src/ui/components/MainContent.d.ts +6 -0
  282. package/dist/src/ui/components/MainContent.js +28 -0
  283. package/dist/src/ui/components/MainContent.js.map +1 -0
  284. package/dist/src/ui/components/MemoryUsageDisplay.js +6 -4
  285. package/dist/src/ui/components/MemoryUsageDisplay.js.map +1 -1
  286. package/dist/src/ui/components/ModelDialog.d.ts +11 -0
  287. package/dist/src/ui/components/ModelDialog.js +42 -0
  288. package/dist/src/ui/components/ModelDialog.js.map +1 -0
  289. package/dist/src/ui/components/ModelDialog.test.d.ts +6 -0
  290. package/dist/src/ui/components/ModelDialog.test.js +158 -0
  291. package/dist/src/ui/components/ModelDialog.test.js.map +1 -0
  292. package/dist/src/ui/components/ModelStatsDisplay.js +7 -7
  293. package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -1
  294. package/dist/src/ui/components/ModelSwitchDialog.js +3 -0
  295. package/dist/src/ui/components/ModelSwitchDialog.js.map +1 -1
  296. package/dist/src/ui/components/ModelSwitchDialog.test.js +3 -0
  297. package/dist/src/ui/components/ModelSwitchDialog.test.js.map +1 -1
  298. package/dist/src/ui/components/Notifications.d.ts +6 -0
  299. package/dist/src/ui/components/Notifications.js +23 -0
  300. package/dist/src/ui/components/Notifications.js.map +1 -0
  301. package/dist/src/ui/components/OpenAIKeyPrompt.js +63 -39
  302. package/dist/src/ui/components/OpenAIKeyPrompt.js.map +1 -1
  303. package/dist/src/ui/components/OpenAIKeyPrompt.test.js +8 -1
  304. package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +1 -1
  305. package/dist/src/ui/components/PermissionsModifyTrustDialog.d.ts +13 -0
  306. package/dist/src/ui/components/PermissionsModifyTrustDialog.js +48 -0
  307. package/dist/src/ui/components/PermissionsModifyTrustDialog.js.map +1 -0
  308. package/dist/src/ui/components/PermissionsModifyTrustDialog.test.d.ts +6 -0
  309. package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js +154 -0
  310. package/dist/src/ui/components/PermissionsModifyTrustDialog.test.js.map +1 -0
  311. package/dist/src/ui/components/PrepareLabel.d.ts +5 -5
  312. package/dist/src/ui/components/PrepareLabel.js +67 -11
  313. package/dist/src/ui/components/PrepareLabel.js.map +1 -1
  314. package/dist/src/ui/components/PrepareLabel.test.d.ts +6 -0
  315. package/dist/src/ui/components/PrepareLabel.test.js +71 -0
  316. package/dist/src/ui/components/PrepareLabel.test.js.map +1 -0
  317. package/dist/src/ui/components/ProQuotaDialog.d.ts +13 -0
  318. package/dist/src/ui/components/ProQuotaDialog.js +23 -0
  319. package/dist/src/ui/components/ProQuotaDialog.js.map +1 -0
  320. package/dist/src/ui/components/ProQuotaDialog.test.d.ts +6 -0
  321. package/dist/src/ui/components/ProQuotaDialog.test.js +58 -0
  322. package/dist/src/ui/components/ProQuotaDialog.test.js.map +1 -0
  323. package/dist/src/ui/components/QueuedMessageDisplay.d.ts +9 -0
  324. package/dist/src/ui/components/QueuedMessageDisplay.js +20 -0
  325. package/dist/src/ui/components/QueuedMessageDisplay.js.map +1 -0
  326. package/dist/src/ui/components/QueuedMessageDisplay.test.d.ts +6 -0
  327. package/dist/src/ui/components/QueuedMessageDisplay.test.js +56 -0
  328. package/dist/src/ui/components/QueuedMessageDisplay.test.js.map +1 -0
  329. package/dist/src/ui/components/QuitConfirmationDialog.js +4 -0
  330. package/dist/src/ui/components/QuitConfirmationDialog.js.map +1 -1
  331. package/dist/src/ui/components/QuittingDisplay.d.ts +6 -0
  332. package/dist/src/ui/components/QuittingDisplay.js +20 -0
  333. package/dist/src/ui/components/QuittingDisplay.js.map +1 -0
  334. package/dist/src/ui/components/QwenOAuthProgress.js +5 -4
  335. package/dist/src/ui/components/QwenOAuthProgress.js.map +1 -1
  336. package/dist/src/ui/components/QwenOAuthProgress.test.js +82 -11
  337. package/dist/src/ui/components/QwenOAuthProgress.test.js.map +1 -1
  338. package/dist/src/ui/components/SettingsDialog.d.ts +2 -1
  339. package/dist/src/ui/components/SettingsDialog.js +97 -23
  340. package/dist/src/ui/components/SettingsDialog.js.map +1 -1
  341. package/dist/src/ui/components/SettingsDialog.test.js +474 -84
  342. package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
  343. package/dist/src/ui/components/ShellConfirmationDialog.js +5 -2
  344. package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
  345. package/dist/src/ui/components/ShellInputPrompt.d.ts +11 -0
  346. package/dist/src/ui/components/ShellInputPrompt.js +36 -0
  347. package/dist/src/ui/components/ShellInputPrompt.js.map +1 -0
  348. package/dist/src/ui/components/ShellModeIndicator.js +2 -2
  349. package/dist/src/ui/components/ShellModeIndicator.js.map +1 -1
  350. package/dist/src/ui/components/ShowMoreLines.js +2 -2
  351. package/dist/src/ui/components/ShowMoreLines.js.map +1 -1
  352. package/dist/src/ui/components/StatsDisplay.js +6 -6
  353. package/dist/src/ui/components/StatsDisplay.js.map +1 -1
  354. package/dist/src/ui/components/SuggestionsDisplay.d.ts +7 -2
  355. package/dist/src/ui/components/SuggestionsDisplay.js +17 -17
  356. package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -1
  357. package/dist/src/ui/components/ThemeDialog.js +14 -29
  358. package/dist/src/ui/components/ThemeDialog.js.map +1 -1
  359. package/dist/src/ui/components/ThemeDialog.test.d.ts +6 -0
  360. package/dist/src/ui/components/ThemeDialog.test.js +75 -0
  361. package/dist/src/ui/components/ThemeDialog.test.js.map +1 -0
  362. package/dist/src/ui/components/Tips.js +2 -2
  363. package/dist/src/ui/components/Tips.js.map +1 -1
  364. package/dist/src/ui/components/ToolStatsDisplay.js +4 -4
  365. package/dist/src/ui/components/ToolStatsDisplay.js.map +1 -1
  366. package/dist/src/ui/components/UpdateNotification.js +2 -2
  367. package/dist/src/ui/components/UpdateNotification.js.map +1 -1
  368. package/dist/src/ui/components/WelcomeBackDialog.js +2 -0
  369. package/dist/src/ui/components/WelcomeBackDialog.js.map +1 -1
  370. package/dist/src/ui/components/WorkspaceMigrationDialog.js +14 -11
  371. package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +1 -1
  372. package/dist/src/ui/components/messages/CompressionMessage.d.ts +1 -2
  373. package/dist/src/ui/components/messages/CompressionMessage.js +37 -8
  374. package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -1
  375. package/dist/src/ui/components/messages/CompressionMessage.test.d.ts +6 -0
  376. package/dist/src/ui/components/messages/CompressionMessage.test.js +160 -0
  377. package/dist/src/ui/components/messages/CompressionMessage.test.js.map +1 -0
  378. package/dist/src/ui/components/messages/DiffRenderer.d.ts +2 -1
  379. package/dist/src/ui/components/messages/DiffRenderer.js +14 -22
  380. package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -1
  381. package/dist/src/ui/components/messages/ErrorMessage.js +2 -2
  382. package/dist/src/ui/components/messages/ErrorMessage.js.map +1 -1
  383. package/dist/src/ui/components/messages/GeminiMessage.js +2 -2
  384. package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -1
  385. package/dist/src/ui/components/messages/InfoMessage.js +2 -2
  386. package/dist/src/ui/components/messages/InfoMessage.js.map +1 -1
  387. package/dist/src/ui/components/messages/ToolConfirmationMessage.js +53 -21
  388. package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
  389. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +0 -8
  390. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
  391. package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +3 -2
  392. package/dist/src/ui/components/messages/ToolGroupMessage.js +18 -10
  393. package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -1
  394. package/dist/src/ui/components/messages/ToolGroupMessage.test.js +17 -15
  395. package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +1 -1
  396. package/dist/src/ui/components/messages/ToolMessage.d.ts +3 -1
  397. package/dist/src/ui/components/messages/ToolMessage.js +53 -11
  398. package/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
  399. package/dist/src/ui/components/messages/ToolMessage.test.js +34 -1
  400. package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -1
  401. package/dist/src/ui/components/messages/UserMessage.js +3 -4
  402. package/dist/src/ui/components/messages/UserMessage.js.map +1 -1
  403. package/dist/src/ui/components/messages/UserShellMessage.js +2 -2
  404. package/dist/src/ui/components/messages/UserShellMessage.js.map +1 -1
  405. package/dist/src/ui/components/messages/WarningMessage.d.ts +11 -0
  406. package/dist/src/ui/components/messages/WarningMessage.js +10 -0
  407. package/dist/src/ui/components/messages/WarningMessage.js.map +1 -0
  408. package/dist/src/ui/components/shared/BaseSelectionList.d.ts +38 -0
  409. package/dist/src/ui/components/shared/BaseSelectionList.js +72 -0
  410. package/dist/src/ui/components/shared/BaseSelectionList.js.map +1 -0
  411. package/dist/src/ui/components/shared/BaseSelectionList.test.d.ts +6 -0
  412. package/dist/src/ui/components/shared/BaseSelectionList.test.js +376 -0
  413. package/dist/src/ui/components/shared/BaseSelectionList.test.js.map +1 -0
  414. package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.d.ts +35 -0
  415. package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js +13 -0
  416. package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.js.map +1 -0
  417. package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.d.ts +6 -0
  418. package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js +79 -0
  419. package/dist/src/ui/components/shared/DescriptiveRadioButtonSelect.test.js.map +1 -0
  420. package/dist/src/ui/components/shared/EnumSelector.d.ts +18 -0
  421. package/dist/src/ui/components/shared/EnumSelector.js +44 -0
  422. package/dist/src/ui/components/shared/EnumSelector.js.map +1 -0
  423. package/dist/src/ui/components/shared/EnumSelector.test.d.ts +6 -0
  424. package/dist/src/ui/components/shared/EnumSelector.test.js +70 -0
  425. package/dist/src/ui/components/shared/EnumSelector.test.js.map +1 -0
  426. package/dist/src/ui/components/shared/MaxSizedBox.js +2 -2
  427. package/dist/src/ui/components/shared/MaxSizedBox.js.map +1 -1
  428. package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +2 -3
  429. package/dist/src/ui/components/shared/RadioButtonSelect.js +10 -105
  430. package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -1
  431. package/dist/src/ui/components/shared/RadioButtonSelect.test.js +115 -92
  432. package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +1 -1
  433. package/dist/src/ui/components/shared/ScopeSelector.d.ts +19 -0
  434. package/dist/src/ui/components/shared/ScopeSelector.js +14 -0
  435. package/dist/src/ui/components/shared/ScopeSelector.js.map +1 -0
  436. package/dist/src/ui/components/shared/text-buffer.d.ts +25 -2
  437. package/dist/src/ui/components/shared/text-buffer.js +296 -187
  438. package/dist/src/ui/components/shared/text-buffer.js.map +1 -1
  439. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +2 -3
  440. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +1 -1
  441. package/dist/src/ui/components/subagents/create/ColorSelector.js +3 -2
  442. package/dist/src/ui/components/subagents/create/ColorSelector.js.map +1 -1
  443. package/dist/src/ui/components/subagents/create/CreationSummary.js +6 -5
  444. package/dist/src/ui/components/subagents/create/CreationSummary.js.map +1 -1
  445. package/dist/src/ui/components/subagents/create/DescriptionInput.js +2 -3
  446. package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +1 -1
  447. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +1 -0
  448. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +1 -1
  449. package/dist/src/ui/components/subagents/create/LocationSelector.js +1 -0
  450. package/dist/src/ui/components/subagents/create/LocationSelector.js.map +1 -1
  451. package/dist/src/ui/components/subagents/create/TextEntryStep.js +2 -2
  452. package/dist/src/ui/components/subagents/create/TextEntryStep.js.map +1 -1
  453. package/dist/src/ui/components/subagents/create/ToolSelector.js +4 -3
  454. package/dist/src/ui/components/subagents/create/ToolSelector.js.map +1 -1
  455. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +4 -4
  456. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +1 -1
  457. package/dist/src/ui/components/subagents/manage/AgentEditStep.js +1 -0
  458. package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +1 -1
  459. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +1 -2
  460. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +1 -1
  461. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +1 -2
  462. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +1 -1
  463. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +9 -10
  464. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +1 -1
  465. package/dist/src/ui/components/views/ExtensionsList.d.ts +6 -0
  466. package/dist/src/ui/components/views/ExtensionsList.js +47 -0
  467. package/dist/src/ui/components/views/ExtensionsList.js.map +1 -0
  468. package/dist/src/ui/components/views/ExtensionsList.test.d.ts +6 -0
  469. package/dist/src/ui/components/views/ExtensionsList.test.js +97 -0
  470. package/dist/src/ui/components/views/ExtensionsList.test.js.map +1 -0
  471. package/dist/src/ui/components/views/McpStatus.d.ts +27 -0
  472. package/dist/src/ui/components/views/McpStatus.js +77 -0
  473. package/dist/src/ui/components/views/McpStatus.js.map +1 -0
  474. package/dist/src/ui/components/views/McpStatus.test.d.ts +6 -0
  475. package/dist/src/ui/components/views/McpStatus.test.js +117 -0
  476. package/dist/src/ui/components/views/McpStatus.test.js.map +1 -0
  477. package/dist/src/ui/components/views/ToolsList.d.ts +14 -0
  478. package/dist/src/ui/components/views/ToolsList.js +7 -0
  479. package/dist/src/ui/components/views/ToolsList.js.map +1 -0
  480. package/dist/src/ui/components/views/ToolsList.test.d.ts +6 -0
  481. package/dist/src/ui/components/views/ToolsList.test.js +45 -0
  482. package/dist/src/ui/components/views/ToolsList.test.js.map +1 -0
  483. package/dist/src/ui/constants.d.ts +1 -0
  484. package/dist/src/ui/constants.js +1 -0
  485. package/dist/src/ui/constants.js.map +1 -1
  486. package/dist/src/ui/contexts/AppContext.d.ts +11 -0
  487. package/dist/src/ui/contexts/AppContext.js +15 -0
  488. package/dist/src/ui/contexts/AppContext.js.map +1 -0
  489. package/dist/src/ui/contexts/ConfigContext.d.ts +9 -0
  490. package/dist/src/ui/contexts/ConfigContext.js +16 -0
  491. package/dist/src/ui/contexts/ConfigContext.js.map +1 -0
  492. package/dist/src/ui/contexts/KeypressContext.d.ts +3 -0
  493. package/dist/src/ui/contexts/KeypressContext.js +309 -44
  494. package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
  495. package/dist/src/ui/contexts/KeypressContext.test.js +288 -2
  496. package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
  497. package/dist/src/ui/contexts/SessionContext.d.ts +6 -0
  498. package/dist/src/ui/contexts/SessionContext.js +107 -5
  499. package/dist/src/ui/contexts/SessionContext.js.map +1 -1
  500. package/dist/src/ui/contexts/ShellFocusContext.d.ts +7 -0
  501. package/dist/src/ui/contexts/ShellFocusContext.js +9 -0
  502. package/dist/src/ui/contexts/ShellFocusContext.js.map +1 -0
  503. package/dist/src/ui/contexts/UIActionsContext.d.ts +45 -0
  504. package/dist/src/ui/contexts/UIActionsContext.js +21 -0
  505. package/dist/src/ui/contexts/UIActionsContext.js.map +1 -0
  506. package/dist/src/ui/contexts/UIStateContext.d.ts +117 -0
  507. package/dist/src/ui/contexts/UIStateContext.js +17 -0
  508. package/dist/src/ui/contexts/UIStateContext.js.map +1 -0
  509. package/dist/src/ui/hooks/atCommandProcessor.js +12 -12
  510. package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
  511. package/dist/src/ui/hooks/atCommandProcessor.test.js +21 -19
  512. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
  513. package/dist/src/ui/hooks/keyToAnsi.d.ts +15 -0
  514. package/dist/src/ui/hooks/keyToAnsi.js +67 -0
  515. package/dist/src/ui/hooks/keyToAnsi.js.map +1 -0
  516. package/dist/src/ui/hooks/shellCommandProcessor.d.ts +2 -1
  517. package/dist/src/ui/hooks/shellCommandProcessor.js +65 -15
  518. package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -1
  519. package/dist/src/ui/hooks/shellCommandProcessor.test.js +196 -17
  520. package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -1
  521. package/dist/src/ui/hooks/slashCommandProcessor.d.ts +20 -2
  522. package/dist/src/ui/hooks/slashCommandProcessor.js +41 -82
  523. package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
  524. package/dist/src/ui/hooks/useAtCompletion.js +1 -1
  525. package/dist/src/ui/hooks/useAtCompletion.js.map +1 -1
  526. package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +3 -2
  527. package/dist/src/ui/hooks/useAutoAcceptIndicator.js +20 -18
  528. package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +1 -1
  529. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +43 -0
  530. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -1
  531. package/dist/src/ui/hooks/useExtensionUpdates.d.ts +21 -0
  532. package/dist/src/ui/hooks/useExtensionUpdates.js +116 -0
  533. package/dist/src/ui/hooks/useExtensionUpdates.js.map +1 -0
  534. package/dist/src/ui/hooks/useExtensionUpdates.test.d.ts +6 -0
  535. package/dist/src/ui/hooks/useExtensionUpdates.test.js +243 -0
  536. package/dist/src/ui/hooks/useExtensionUpdates.test.js.map +1 -0
  537. package/dist/src/ui/hooks/useFocus.js +10 -0
  538. package/dist/src/ui/hooks/useFocus.js.map +1 -1
  539. package/dist/src/ui/hooks/useFolderTrust.js +6 -10
  540. package/dist/src/ui/hooks/useFolderTrust.js.map +1 -1
  541. package/dist/src/ui/hooks/useGeminiStream.d.ts +14 -3
  542. package/dist/src/ui/hooks/useGeminiStream.js +173 -79
  543. package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
  544. package/dist/src/ui/hooks/useGitBranchName.js +15 -18
  545. package/dist/src/ui/hooks/useGitBranchName.js.map +1 -1
  546. package/dist/src/ui/hooks/useGitBranchName.test.js +49 -53
  547. package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
  548. package/dist/src/ui/hooks/useIdeTrustListener.d.ts +16 -0
  549. package/dist/src/ui/hooks/useIdeTrustListener.js +65 -0
  550. package/dist/src/ui/hooks/useIdeTrustListener.js.map +1 -0
  551. package/dist/src/ui/hooks/useIdeTrustListener.test.d.ts +6 -0
  552. package/dist/src/ui/hooks/useIdeTrustListener.test.js +183 -0
  553. package/dist/src/ui/hooks/useIdeTrustListener.test.js.map +1 -0
  554. package/dist/src/ui/hooks/useInputHistoryStore.d.ts +19 -0
  555. package/dist/src/ui/hooks/useInputHistoryStore.js +81 -0
  556. package/dist/src/ui/hooks/useInputHistoryStore.js.map +1 -0
  557. package/dist/src/ui/hooks/useInputHistoryStore.test.d.ts +6 -0
  558. package/dist/src/ui/hooks/useInputHistoryStore.test.js +234 -0
  559. package/dist/src/ui/hooks/useInputHistoryStore.test.js.map +1 -0
  560. package/dist/src/ui/hooks/useLoadingIndicator.d.ts +1 -1
  561. package/dist/src/ui/hooks/useLoadingIndicator.js +2 -2
  562. package/dist/src/ui/hooks/useLoadingIndicator.js.map +1 -1
  563. package/dist/src/ui/hooks/useLoadingIndicator.test.js +2 -2
  564. package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -1
  565. package/dist/src/ui/hooks/useMemoryMonitor.d.ts +13 -0
  566. package/dist/src/ui/hooks/useMemoryMonitor.js +28 -0
  567. package/dist/src/ui/hooks/useMemoryMonitor.js.map +1 -0
  568. package/dist/src/ui/hooks/useMemoryMonitor.test.d.ts +6 -0
  569. package/dist/src/ui/hooks/useMemoryMonitor.test.js +57 -0
  570. package/dist/src/ui/hooks/useMemoryMonitor.test.js.map +1 -0
  571. package/dist/src/ui/hooks/useMessageQueue.d.ts +2 -1
  572. package/dist/src/ui/hooks/useMessageQueue.js +5 -3
  573. package/dist/src/ui/hooks/useMessageQueue.js.map +1 -1
  574. package/dist/src/ui/hooks/useMessageQueue.test.js +9 -0
  575. package/dist/src/ui/hooks/useMessageQueue.test.js.map +1 -1
  576. package/dist/src/ui/hooks/useModelCommand.d.ts +12 -0
  577. package/dist/src/ui/hooks/useModelCommand.js +21 -0
  578. package/dist/src/ui/hooks/useModelCommand.js.map +1 -0
  579. package/dist/src/ui/hooks/useModelCommand.test.d.ts +6 -0
  580. package/dist/src/ui/hooks/useModelCommand.test.js +35 -0
  581. package/dist/src/ui/hooks/useModelCommand.test.js.map +1 -0
  582. package/dist/src/ui/hooks/usePermissionsModifyTrust.d.ts +17 -0
  583. package/dist/src/ui/hooks/usePermissionsModifyTrust.js +78 -0
  584. package/dist/src/ui/hooks/usePermissionsModifyTrust.js.map +1 -0
  585. package/dist/src/ui/hooks/usePermissionsModifyTrust.test.d.ts +6 -0
  586. package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js +182 -0
  587. package/dist/src/ui/hooks/usePermissionsModifyTrust.test.js.map +1 -0
  588. package/dist/src/ui/hooks/usePhraseCycler.d.ts +1 -1
  589. package/dist/src/ui/hooks/usePhraseCycler.js +11 -8
  590. package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
  591. package/dist/src/ui/hooks/useQuotaAndFallback.d.ts +21 -0
  592. package/dist/src/ui/hooks/useQuotaAndFallback.js +122 -0
  593. package/dist/src/ui/hooks/useQuotaAndFallback.js.map +1 -0
  594. package/dist/src/ui/hooks/useQuotaAndFallback.test.d.ts +6 -0
  595. package/dist/src/ui/hooks/useQuotaAndFallback.test.js +269 -0
  596. package/dist/src/ui/hooks/useQuotaAndFallback.test.js.map +1 -0
  597. package/dist/src/ui/hooks/useReactToolScheduler.d.ts +3 -2
  598. package/dist/src/ui/hooks/useReactToolScheduler.js +23 -17
  599. package/dist/src/ui/hooks/useReactToolScheduler.js.map +1 -1
  600. package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +1 -1
  601. package/dist/src/ui/hooks/useReverseSearchCompletion.js +67 -20
  602. package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +1 -1
  603. package/dist/src/ui/hooks/useSelectionList.d.ts +34 -0
  604. package/dist/src/ui/hooks/useSelectionList.js +245 -0
  605. package/dist/src/ui/hooks/useSelectionList.js.map +1 -0
  606. package/dist/src/ui/hooks/useSelectionList.test.d.ts +6 -0
  607. package/dist/src/ui/hooks/useSelectionList.test.js +701 -0
  608. package/dist/src/ui/hooks/useSelectionList.test.js.map +1 -0
  609. package/dist/src/ui/hooks/useSlashCompletion.d.ts +1 -1
  610. package/dist/src/ui/hooks/useSlashCompletion.js +281 -67
  611. package/dist/src/ui/hooks/useSlashCompletion.js.map +1 -1
  612. package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +4 -1
  613. package/dist/src/ui/hooks/useSlashCompletion.test.js +390 -65
  614. package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -1
  615. package/dist/src/ui/hooks/useStateAndRef.d.ts +1 -1
  616. package/dist/src/ui/hooks/useStateAndRef.js +2 -2
  617. package/dist/src/ui/hooks/useStateAndRef.js.map +1 -1
  618. package/dist/src/ui/hooks/useThemeCommand.d.ts +1 -1
  619. package/dist/src/ui/hooks/useThemeCommand.js +3 -14
  620. package/dist/src/ui/hooks/useThemeCommand.js.map +1 -1
  621. package/dist/src/ui/hooks/useToolScheduler.test.js +64 -291
  622. package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
  623. package/dist/src/ui/hooks/useWelcomeBack.js +2 -2
  624. package/dist/src/ui/hooks/useWelcomeBack.js.map +1 -1
  625. package/dist/src/ui/hooks/useWorkspaceMigration.js +2 -1
  626. package/dist/src/ui/hooks/useWorkspaceMigration.js.map +1 -1
  627. package/dist/src/ui/keyMatchers.test.js +17 -0
  628. package/dist/src/ui/keyMatchers.test.js.map +1 -1
  629. package/dist/src/ui/layouts/DefaultAppLayout.d.ts +9 -0
  630. package/dist/src/ui/layouts/DefaultAppLayout.js +13 -0
  631. package/dist/src/ui/layouts/DefaultAppLayout.js.map +1 -0
  632. package/dist/src/ui/layouts/ScreenReaderAppLayout.d.ts +7 -0
  633. package/dist/src/ui/layouts/ScreenReaderAppLayout.js +14 -0
  634. package/dist/src/ui/layouts/ScreenReaderAppLayout.js.map +1 -0
  635. package/dist/src/ui/models/availableModels.d.ts +3 -0
  636. package/dist/src/ui/models/availableModels.js +27 -3
  637. package/dist/src/ui/models/availableModels.js.map +1 -1
  638. package/dist/src/ui/noninteractive/nonInteractiveUi.d.ts +12 -0
  639. package/dist/src/ui/noninteractive/nonInteractiveUi.js +28 -0
  640. package/dist/src/ui/noninteractive/nonInteractiveUi.js.map +1 -0
  641. package/dist/src/ui/state/extensions.d.ts +42 -0
  642. package/dist/src/ui/state/extensions.js +62 -0
  643. package/dist/src/ui/state/extensions.js.map +1 -0
  644. package/dist/src/ui/themes/ayu.js +1 -1
  645. package/dist/src/ui/themes/dracula.js +2 -2
  646. package/dist/src/ui/themes/github-dark.js +1 -1
  647. package/dist/src/ui/themes/theme.js +19 -19
  648. package/dist/src/ui/themes/theme.js.map +1 -1
  649. package/dist/src/ui/types.d.ts +79 -3
  650. package/dist/src/ui/types.js +14 -0
  651. package/dist/src/ui/types.js.map +1 -1
  652. package/dist/src/ui/utils/CodeColorizer.js +3 -2
  653. package/dist/src/ui/utils/CodeColorizer.js.map +1 -1
  654. package/dist/src/ui/utils/InlineMarkdownRenderer.js +7 -7
  655. package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +1 -1
  656. package/dist/src/ui/utils/MarkdownDisplay.js +11 -11
  657. package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -1
  658. package/dist/src/ui/utils/MarkdownDisplay.test.js +95 -87
  659. package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -1
  660. package/dist/src/ui/utils/TableRenderer.js +4 -4
  661. package/dist/src/ui/utils/TableRenderer.js.map +1 -1
  662. package/dist/src/ui/utils/clipboardUtils.js +7 -8
  663. package/dist/src/ui/utils/clipboardUtils.js.map +1 -1
  664. package/dist/src/ui/utils/displayUtils.d.ts +1 -0
  665. package/dist/src/ui/utils/displayUtils.js +7 -4
  666. package/dist/src/ui/utils/displayUtils.js.map +1 -1
  667. package/dist/src/ui/utils/displayUtils.test.js +37 -18
  668. package/dist/src/ui/utils/displayUtils.test.js.map +1 -1
  669. package/dist/src/ui/utils/highlight.d.ts +11 -0
  670. package/dist/src/ui/utils/highlight.js +78 -0
  671. package/dist/src/ui/utils/highlight.js.map +1 -0
  672. package/dist/src/ui/utils/highlight.test.d.ts +6 -0
  673. package/dist/src/ui/utils/highlight.test.js +120 -0
  674. package/dist/src/ui/utils/highlight.test.js.map +1 -0
  675. package/dist/src/ui/utils/kittyProtocolDetector.js +39 -29
  676. package/dist/src/ui/utils/kittyProtocolDetector.js.map +1 -1
  677. package/dist/src/ui/utils/platformConstants.d.ts +24 -1
  678. package/dist/src/ui/utils/platformConstants.js +26 -1
  679. package/dist/src/ui/utils/platformConstants.js.map +1 -1
  680. package/dist/src/ui/utils/textUtils.d.ts +10 -0
  681. package/dist/src/ui/utils/textUtils.js +108 -3
  682. package/dist/src/ui/utils/textUtils.js.map +1 -1
  683. package/dist/src/ui/utils/textUtils.test.d.ts +6 -0
  684. package/dist/src/ui/utils/textUtils.test.js +132 -0
  685. package/dist/src/ui/utils/textUtils.test.js.map +1 -0
  686. package/dist/src/utils/commands.d.ts +20 -0
  687. package/dist/src/utils/commands.js +53 -0
  688. package/dist/src/utils/commands.js.map +1 -0
  689. package/dist/src/utils/commands.test.d.ts +6 -0
  690. package/dist/src/utils/commands.test.js +115 -0
  691. package/dist/src/utils/commands.test.js.map +1 -0
  692. package/dist/src/utils/commentJson.d.ts +9 -0
  693. package/dist/src/utils/commentJson.js +48 -0
  694. package/dist/src/utils/commentJson.js.map +1 -0
  695. package/dist/src/utils/commentJson.test.d.ts +6 -0
  696. package/dist/src/utils/commentJson.test.js +146 -0
  697. package/dist/src/utils/commentJson.test.js.map +1 -0
  698. package/dist/src/utils/deepMerge.d.ts +9 -0
  699. package/dist/src/utils/deepMerge.js +58 -0
  700. package/dist/src/utils/deepMerge.js.map +1 -0
  701. package/dist/src/utils/deepMerge.test.d.ts +6 -0
  702. package/dist/src/utils/deepMerge.test.js +143 -0
  703. package/dist/src/utils/deepMerge.test.js.map +1 -0
  704. package/dist/src/utils/envVarResolver.d.ts +39 -0
  705. package/dist/src/utils/envVarResolver.js +97 -0
  706. package/dist/src/utils/envVarResolver.js.map +1 -0
  707. package/dist/src/utils/envVarResolver.test.d.ts +6 -0
  708. package/dist/src/utils/envVarResolver.test.js +221 -0
  709. package/dist/src/utils/envVarResolver.test.js.map +1 -0
  710. package/dist/src/utils/errors.d.ts +21 -0
  711. package/dist/src/utils/errors.js +93 -0
  712. package/dist/src/utils/errors.js.map +1 -1
  713. package/dist/src/utils/errors.test.d.ts +6 -0
  714. package/dist/src/utils/errors.test.js +303 -0
  715. package/dist/src/utils/errors.test.js.map +1 -0
  716. package/dist/src/utils/events.d.ts +2 -1
  717. package/dist/src/utils/events.js +1 -0
  718. package/dist/src/utils/events.js.map +1 -1
  719. package/dist/src/utils/math.d.ts +13 -0
  720. package/dist/src/utils/math.js +14 -0
  721. package/dist/src/utils/math.js.map +1 -0
  722. package/dist/src/utils/processUtils.d.ts +13 -0
  723. package/dist/src/utils/processUtils.js +18 -0
  724. package/dist/src/utils/processUtils.js.map +1 -0
  725. package/dist/src/utils/processUtils.test.d.ts +6 -0
  726. package/dist/src/utils/processUtils.test.js +20 -0
  727. package/dist/src/utils/processUtils.test.js.map +1 -0
  728. package/dist/src/utils/relaunch.d.ts +7 -0
  729. package/dist/src/utils/relaunch.js +57 -0
  730. package/dist/src/utils/relaunch.js.map +1 -0
  731. package/dist/src/utils/relaunch.test.d.ts +6 -0
  732. package/dist/src/utils/relaunch.test.js +273 -0
  733. package/dist/src/utils/relaunch.test.js.map +1 -0
  734. package/dist/src/utils/sandbox.d.ts +1 -1
  735. package/dist/src/utils/sandbox.js +42 -17
  736. package/dist/src/utils/sandbox.js.map +1 -1
  737. package/dist/src/utils/settingsUtils.d.ts +16 -6
  738. package/dist/src/utils/settingsUtils.js +35 -25
  739. package/dist/src/utils/settingsUtils.js.map +1 -1
  740. package/dist/src/utils/settingsUtils.test.js +455 -158
  741. package/dist/src/utils/settingsUtils.test.js.map +1 -1
  742. package/dist/src/utils/userStartupWarnings.d.ts +1 -1
  743. package/dist/src/utils/userStartupWarnings.js +1 -1
  744. package/dist/src/utils/userStartupWarnings.js.map +1 -1
  745. package/dist/src/utils/windowTitle.d.ts +12 -0
  746. package/dist/src/utils/windowTitle.js +19 -0
  747. package/dist/src/utils/windowTitle.js.map +1 -0
  748. package/dist/src/utils/windowTitle.test.d.ts +6 -0
  749. package/dist/src/utils/windowTitle.test.js +49 -0
  750. package/dist/src/utils/windowTitle.test.js.map +1 -0
  751. package/dist/src/validateNonInterActiveAuth.d.ts +4 -2
  752. package/dist/src/validateNonInterActiveAuth.js +33 -12
  753. package/dist/src/validateNonInterActiveAuth.js.map +1 -1
  754. package/dist/src/zed-integration/fileSystemService.d.ts +1 -0
  755. package/dist/src/zed-integration/fileSystemService.js +3 -0
  756. package/dist/src/zed-integration/fileSystemService.js.map +1 -1
  757. package/dist/src/zed-integration/schema.d.ts +310 -310
  758. package/dist/src/zed-integration/zedIntegration.d.ts +8 -1
  759. package/dist/src/zed-integration/zedIntegration.js +32 -15
  760. package/dist/src/zed-integration/zedIntegration.js.map +1 -1
  761. package/dist/tsconfig.tsbuildinfo +1 -1
  762. package/package.json +15 -10
  763. package/dist/src/ui/components/AuthDialog.js.map +0 -1
  764. package/dist/src/ui/components/AuthDialog.test.js.map +0 -1
  765. package/dist/src/ui/components/AuthInProgress.js.map +0 -1
  766. package/dist/src/ui/components/ModelSelectionDialog.d.ts +0 -14
  767. package/dist/src/ui/components/ModelSelectionDialog.js +0 -26
  768. package/dist/src/ui/components/ModelSelectionDialog.js.map +0 -1
  769. package/dist/src/ui/components/ModelSelectionDialog.test.js +0 -124
  770. package/dist/src/ui/components/ModelSelectionDialog.test.js.map +0 -1
  771. package/dist/src/ui/hooks/useAuthCommand.js.map +0 -1
  772. /package/dist/src/{ui/components/AuthDialog.test.d.ts → commands/extensions/new.test.d.ts} +0 -0
  773. /package/dist/src/ui/{components → auth}/AuthDialog.d.ts +0 -0
  774. /package/dist/src/ui/{components → auth}/AuthInProgress.d.ts +0 -0
@@ -72,12 +72,12 @@ export declare const writeTextFileRequestSchema: z.ZodObject<{
72
72
  path: z.ZodString;
73
73
  sessionId: z.ZodString;
74
74
  }, "strip", z.ZodTypeAny, {
75
- path: string;
76
75
  content: string;
76
+ path: string;
77
77
  sessionId: string;
78
78
  }, {
79
- path: string;
80
79
  content: string;
80
+ path: string;
81
81
  sessionId: string;
82
82
  }>;
83
83
  export declare const readTextFileRequestSchema: z.ZodObject<{
@@ -196,12 +196,12 @@ export declare const planEntrySchema: z.ZodObject<{
196
196
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
197
197
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
198
198
  }, "strip", z.ZodTypeAny, {
199
- status: "completed" | "pending" | "in_progress";
200
199
  content: string;
200
+ status: "completed" | "pending" | "in_progress";
201
201
  priority: "medium" | "high" | "low";
202
202
  }, {
203
- status: "completed" | "pending" | "in_progress";
204
203
  content: string;
204
+ status: "completed" | "pending" | "in_progress";
205
205
  priority: "medium" | "high" | "low";
206
206
  }>;
207
207
  export declare const permissionOptionSchema: z.ZodObject<{
@@ -298,20 +298,20 @@ export declare const mcpServerSchema: z.ZodObject<{
298
298
  name: z.ZodString;
299
299
  }, "strip", z.ZodTypeAny, {
300
300
  name: string;
301
+ command: string;
302
+ args: string[];
301
303
  env: {
302
304
  name: string;
303
305
  value: string;
304
306
  }[];
305
- command: string;
306
- args: string[];
307
307
  }, {
308
308
  name: string;
309
+ command: string;
310
+ args: string[];
309
311
  env: {
310
312
  name: string;
311
313
  value: string;
312
314
  }[];
313
- command: string;
314
- args: string[];
315
315
  }>;
316
316
  export declare const promptCapabilitiesSchema: z.ZodObject<{
317
317
  audio: z.ZodOptional<z.ZodBoolean>;
@@ -457,41 +457,41 @@ export declare const newSessionRequestSchema: z.ZodObject<{
457
457
  name: z.ZodString;
458
458
  }, "strip", z.ZodTypeAny, {
459
459
  name: string;
460
+ command: string;
461
+ args: string[];
460
462
  env: {
461
463
  name: string;
462
464
  value: string;
463
465
  }[];
464
- command: string;
465
- args: string[];
466
466
  }, {
467
467
  name: string;
468
+ command: string;
469
+ args: string[];
468
470
  env: {
469
471
  name: string;
470
472
  value: string;
471
473
  }[];
472
- command: string;
473
- args: string[];
474
474
  }>, "many">;
475
475
  }, "strip", z.ZodTypeAny, {
476
476
  mcpServers: {
477
477
  name: string;
478
+ command: string;
479
+ args: string[];
478
480
  env: {
479
481
  name: string;
480
482
  value: string;
481
483
  }[];
482
- command: string;
483
- args: string[];
484
484
  }[];
485
485
  cwd: string;
486
486
  }, {
487
487
  mcpServers: {
488
488
  name: string;
489
+ command: string;
490
+ args: string[];
489
491
  env: {
490
492
  name: string;
491
493
  value: string;
492
494
  }[];
493
- command: string;
494
- args: string[];
495
495
  }[];
496
496
  cwd: string;
497
497
  }>;
@@ -513,43 +513,43 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
513
513
  name: z.ZodString;
514
514
  }, "strip", z.ZodTypeAny, {
515
515
  name: string;
516
+ command: string;
517
+ args: string[];
516
518
  env: {
517
519
  name: string;
518
520
  value: string;
519
521
  }[];
520
- command: string;
521
- args: string[];
522
522
  }, {
523
523
  name: string;
524
+ command: string;
525
+ args: string[];
524
526
  env: {
525
527
  name: string;
526
528
  value: string;
527
529
  }[];
528
- command: string;
529
- args: string[];
530
530
  }>, "many">;
531
531
  sessionId: z.ZodString;
532
532
  }, "strip", z.ZodTypeAny, {
533
533
  mcpServers: {
534
534
  name: string;
535
+ command: string;
536
+ args: string[];
535
537
  env: {
536
538
  name: string;
537
539
  value: string;
538
540
  }[];
539
- command: string;
540
- args: string[];
541
541
  }[];
542
542
  cwd: string;
543
543
  sessionId: string;
544
544
  }, {
545
545
  mcpServers: {
546
546
  name: string;
547
+ command: string;
548
+ args: string[];
547
549
  env: {
548
550
  name: string;
549
551
  value: string;
550
552
  }[];
551
- command: string;
552
- args: string[];
553
553
  }[];
554
554
  cwd: string;
555
555
  sessionId: string;
@@ -757,10 +757,10 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
757
757
  type: "resource_link";
758
758
  name: string;
759
759
  uri: string;
760
+ size?: number | null | undefined;
760
761
  description?: string | null | undefined;
761
762
  title?: string | null | undefined;
762
763
  mimeType?: string | null | undefined;
763
- size?: number | null | undefined;
764
764
  annotations?: {
765
765
  priority?: number | null | undefined;
766
766
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -770,10 +770,10 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
770
770
  type: "resource_link";
771
771
  name: string;
772
772
  uri: string;
773
+ size?: number | null | undefined;
773
774
  description?: string | null | undefined;
774
775
  title?: string | null | undefined;
775
776
  mimeType?: string | null | undefined;
776
- size?: number | null | undefined;
777
777
  annotations?: {
778
778
  priority?: number | null | undefined;
779
779
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -980,10 +980,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
980
980
  type: "resource_link";
981
981
  name: string;
982
982
  uri: string;
983
+ size?: number | null | undefined;
983
984
  description?: string | null | undefined;
984
985
  title?: string | null | undefined;
985
986
  mimeType?: string | null | undefined;
986
- size?: number | null | undefined;
987
987
  annotations?: {
988
988
  priority?: number | null | undefined;
989
989
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -993,10 +993,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
993
993
  type: "resource_link";
994
994
  name: string;
995
995
  uri: string;
996
+ size?: number | null | undefined;
996
997
  description?: string | null | undefined;
997
998
  title?: string | null | undefined;
998
999
  mimeType?: string | null | undefined;
999
- size?: number | null | undefined;
1000
1000
  annotations?: {
1001
1001
  priority?: number | null | undefined;
1002
1002
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1077,7 +1077,6 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1077
1077
  }>]>;
1078
1078
  type: z.ZodLiteral<"content">;
1079
1079
  }, "strip", z.ZodTypeAny, {
1080
- type: "content";
1081
1080
  content: {
1082
1081
  type: "text";
1083
1082
  text: string;
@@ -1108,10 +1107,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1108
1107
  type: "resource_link";
1109
1108
  name: string;
1110
1109
  uri: string;
1110
+ size?: number | null | undefined;
1111
1111
  description?: string | null | undefined;
1112
1112
  title?: string | null | undefined;
1113
1113
  mimeType?: string | null | undefined;
1114
- size?: number | null | undefined;
1115
1114
  annotations?: {
1116
1115
  priority?: number | null | undefined;
1117
1116
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1134,8 +1133,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1134
1133
  lastModified?: string | null | undefined;
1135
1134
  } | null | undefined;
1136
1135
  };
1137
- }, {
1138
1136
  type: "content";
1137
+ }, {
1139
1138
  content: {
1140
1139
  type: "text";
1141
1140
  text: string;
@@ -1166,10 +1165,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1166
1165
  type: "resource_link";
1167
1166
  name: string;
1168
1167
  uri: string;
1168
+ size?: number | null | undefined;
1169
1169
  description?: string | null | undefined;
1170
1170
  title?: string | null | undefined;
1171
1171
  mimeType?: string | null | undefined;
1172
- size?: number | null | undefined;
1173
1172
  annotations?: {
1174
1173
  priority?: number | null | undefined;
1175
1174
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1192,6 +1191,7 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1192
1191
  lastModified?: string | null | undefined;
1193
1192
  } | null | undefined;
1194
1193
  };
1194
+ type: "content";
1195
1195
  }>, z.ZodObject<{
1196
1196
  newText: z.ZodString;
1197
1197
  oldText: z.ZodNullable<z.ZodString>;
@@ -1337,10 +1337,10 @@ export declare const toolCallSchema: z.ZodObject<{
1337
1337
  type: "resource_link";
1338
1338
  name: string;
1339
1339
  uri: string;
1340
+ size?: number | null | undefined;
1340
1341
  description?: string | null | undefined;
1341
1342
  title?: string | null | undefined;
1342
1343
  mimeType?: string | null | undefined;
1343
- size?: number | null | undefined;
1344
1344
  annotations?: {
1345
1345
  priority?: number | null | undefined;
1346
1346
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1350,10 +1350,10 @@ export declare const toolCallSchema: z.ZodObject<{
1350
1350
  type: "resource_link";
1351
1351
  name: string;
1352
1352
  uri: string;
1353
+ size?: number | null | undefined;
1353
1354
  description?: string | null | undefined;
1354
1355
  title?: string | null | undefined;
1355
1356
  mimeType?: string | null | undefined;
1356
- size?: number | null | undefined;
1357
1357
  annotations?: {
1358
1358
  priority?: number | null | undefined;
1359
1359
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1434,7 +1434,6 @@ export declare const toolCallSchema: z.ZodObject<{
1434
1434
  }>]>;
1435
1435
  type: z.ZodLiteral<"content">;
1436
1436
  }, "strip", z.ZodTypeAny, {
1437
- type: "content";
1438
1437
  content: {
1439
1438
  type: "text";
1440
1439
  text: string;
@@ -1465,10 +1464,10 @@ export declare const toolCallSchema: z.ZodObject<{
1465
1464
  type: "resource_link";
1466
1465
  name: string;
1467
1466
  uri: string;
1467
+ size?: number | null | undefined;
1468
1468
  description?: string | null | undefined;
1469
1469
  title?: string | null | undefined;
1470
1470
  mimeType?: string | null | undefined;
1471
- size?: number | null | undefined;
1472
1471
  annotations?: {
1473
1472
  priority?: number | null | undefined;
1474
1473
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1491,8 +1490,8 @@ export declare const toolCallSchema: z.ZodObject<{
1491
1490
  lastModified?: string | null | undefined;
1492
1491
  } | null | undefined;
1493
1492
  };
1494
- }, {
1495
1493
  type: "content";
1494
+ }, {
1496
1495
  content: {
1497
1496
  type: "text";
1498
1497
  text: string;
@@ -1523,10 +1522,10 @@ export declare const toolCallSchema: z.ZodObject<{
1523
1522
  type: "resource_link";
1524
1523
  name: string;
1525
1524
  uri: string;
1525
+ size?: number | null | undefined;
1526
1526
  description?: string | null | undefined;
1527
1527
  title?: string | null | undefined;
1528
1528
  mimeType?: string | null | undefined;
1529
- size?: number | null | undefined;
1530
1529
  annotations?: {
1531
1530
  priority?: number | null | undefined;
1532
1531
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1549,6 +1548,7 @@ export declare const toolCallSchema: z.ZodObject<{
1549
1548
  lastModified?: string | null | undefined;
1550
1549
  } | null | undefined;
1551
1550
  };
1551
+ type: "content";
1552
1552
  }>, z.ZodObject<{
1553
1553
  newText: z.ZodString;
1554
1554
  oldText: z.ZodNullable<z.ZodString>;
@@ -1581,12 +1581,11 @@ export declare const toolCallSchema: z.ZodObject<{
1581
1581
  title: z.ZodString;
1582
1582
  toolCallId: z.ZodString;
1583
1583
  }, "strip", z.ZodTypeAny, {
1584
- status: "completed" | "failed" | "pending" | "in_progress";
1584
+ status: "completed" | "pending" | "in_progress" | "failed";
1585
1585
  title: string;
1586
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
1586
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
1587
1587
  toolCallId: string;
1588
1588
  content?: ({
1589
- type: "content";
1590
1589
  content: {
1591
1590
  type: "text";
1592
1591
  text: string;
@@ -1617,10 +1616,10 @@ export declare const toolCallSchema: z.ZodObject<{
1617
1616
  type: "resource_link";
1618
1617
  name: string;
1619
1618
  uri: string;
1619
+ size?: number | null | undefined;
1620
1620
  description?: string | null | undefined;
1621
1621
  title?: string | null | undefined;
1622
1622
  mimeType?: string | null | undefined;
1623
- size?: number | null | undefined;
1624
1623
  annotations?: {
1625
1624
  priority?: number | null | undefined;
1626
1625
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1643,6 +1642,7 @@ export declare const toolCallSchema: z.ZodObject<{
1643
1642
  lastModified?: string | null | undefined;
1644
1643
  } | null | undefined;
1645
1644
  };
1645
+ type: "content";
1646
1646
  } | {
1647
1647
  type: "diff";
1648
1648
  path: string;
@@ -1655,12 +1655,11 @@ export declare const toolCallSchema: z.ZodObject<{
1655
1655
  }[] | undefined;
1656
1656
  rawInput?: unknown;
1657
1657
  }, {
1658
- status: "completed" | "failed" | "pending" | "in_progress";
1658
+ status: "completed" | "pending" | "in_progress" | "failed";
1659
1659
  title: string;
1660
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
1660
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
1661
1661
  toolCallId: string;
1662
1662
  content?: ({
1663
- type: "content";
1664
1663
  content: {
1665
1664
  type: "text";
1666
1665
  text: string;
@@ -1691,10 +1690,10 @@ export declare const toolCallSchema: z.ZodObject<{
1691
1690
  type: "resource_link";
1692
1691
  name: string;
1693
1692
  uri: string;
1693
+ size?: number | null | undefined;
1694
1694
  description?: string | null | undefined;
1695
1695
  title?: string | null | undefined;
1696
1696
  mimeType?: string | null | undefined;
1697
- size?: number | null | undefined;
1698
1697
  annotations?: {
1699
1698
  priority?: number | null | undefined;
1700
1699
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1717,6 +1716,7 @@ export declare const toolCallSchema: z.ZodObject<{
1717
1716
  lastModified?: string | null | undefined;
1718
1717
  } | null | undefined;
1719
1718
  };
1719
+ type: "content";
1720
1720
  } | {
1721
1721
  type: "diff";
1722
1722
  path: string;
@@ -1879,10 +1879,10 @@ export declare const promptRequestSchema: z.ZodObject<{
1879
1879
  type: "resource_link";
1880
1880
  name: string;
1881
1881
  uri: string;
1882
+ size?: number | null | undefined;
1882
1883
  description?: string | null | undefined;
1883
1884
  title?: string | null | undefined;
1884
1885
  mimeType?: string | null | undefined;
1885
- size?: number | null | undefined;
1886
1886
  annotations?: {
1887
1887
  priority?: number | null | undefined;
1888
1888
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1892,10 +1892,10 @@ export declare const promptRequestSchema: z.ZodObject<{
1892
1892
  type: "resource_link";
1893
1893
  name: string;
1894
1894
  uri: string;
1895
+ size?: number | null | undefined;
1895
1896
  description?: string | null | undefined;
1896
1897
  title?: string | null | undefined;
1897
1898
  mimeType?: string | null | undefined;
1898
- size?: number | null | undefined;
1899
1899
  annotations?: {
1900
1900
  priority?: number | null | undefined;
1901
1901
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1976,6 +1976,7 @@ export declare const promptRequestSchema: z.ZodObject<{
1976
1976
  }>]>, "many">;
1977
1977
  sessionId: z.ZodString;
1978
1978
  }, "strip", z.ZodTypeAny, {
1979
+ sessionId: string;
1979
1980
  prompt: ({
1980
1981
  type: "text";
1981
1982
  text: string;
@@ -2006,10 +2007,10 @@ export declare const promptRequestSchema: z.ZodObject<{
2006
2007
  type: "resource_link";
2007
2008
  name: string;
2008
2009
  uri: string;
2010
+ size?: number | null | undefined;
2009
2011
  description?: string | null | undefined;
2010
2012
  title?: string | null | undefined;
2011
2013
  mimeType?: string | null | undefined;
2012
- size?: number | null | undefined;
2013
2014
  annotations?: {
2014
2015
  priority?: number | null | undefined;
2015
2016
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2032,8 +2033,8 @@ export declare const promptRequestSchema: z.ZodObject<{
2032
2033
  lastModified?: string | null | undefined;
2033
2034
  } | null | undefined;
2034
2035
  })[];
2035
- sessionId: string;
2036
2036
  }, {
2037
+ sessionId: string;
2037
2038
  prompt: ({
2038
2039
  type: "text";
2039
2040
  text: string;
@@ -2064,10 +2065,10 @@ export declare const promptRequestSchema: z.ZodObject<{
2064
2065
  type: "resource_link";
2065
2066
  name: string;
2066
2067
  uri: string;
2068
+ size?: number | null | undefined;
2067
2069
  description?: string | null | undefined;
2068
2070
  title?: string | null | undefined;
2069
2071
  mimeType?: string | null | undefined;
2070
- size?: number | null | undefined;
2071
2072
  annotations?: {
2072
2073
  priority?: number | null | undefined;
2073
2074
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2090,7 +2091,6 @@ export declare const promptRequestSchema: z.ZodObject<{
2090
2091
  lastModified?: string | null | undefined;
2091
2092
  } | null | undefined;
2092
2093
  })[];
2093
- sessionId: string;
2094
2094
  }>;
2095
2095
  export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2096
2096
  content: z.ZodUnion<[z.ZodObject<{
@@ -2220,10 +2220,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2220
2220
  type: "resource_link";
2221
2221
  name: string;
2222
2222
  uri: string;
2223
+ size?: number | null | undefined;
2223
2224
  description?: string | null | undefined;
2224
2225
  title?: string | null | undefined;
2225
2226
  mimeType?: string | null | undefined;
2226
- size?: number | null | undefined;
2227
2227
  annotations?: {
2228
2228
  priority?: number | null | undefined;
2229
2229
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2233,10 +2233,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2233
2233
  type: "resource_link";
2234
2234
  name: string;
2235
2235
  uri: string;
2236
+ size?: number | null | undefined;
2236
2237
  description?: string | null | undefined;
2237
2238
  title?: string | null | undefined;
2238
2239
  mimeType?: string | null | undefined;
2239
- size?: number | null | undefined;
2240
2240
  annotations?: {
2241
2241
  priority?: number | null | undefined;
2242
2242
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2347,10 +2347,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2347
2347
  type: "resource_link";
2348
2348
  name: string;
2349
2349
  uri: string;
2350
+ size?: number | null | undefined;
2350
2351
  description?: string | null | undefined;
2351
2352
  title?: string | null | undefined;
2352
2353
  mimeType?: string | null | undefined;
2353
- size?: number | null | undefined;
2354
2354
  annotations?: {
2355
2355
  priority?: number | null | undefined;
2356
2356
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2405,10 +2405,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2405
2405
  type: "resource_link";
2406
2406
  name: string;
2407
2407
  uri: string;
2408
+ size?: number | null | undefined;
2408
2409
  description?: string | null | undefined;
2409
2410
  title?: string | null | undefined;
2410
2411
  mimeType?: string | null | undefined;
2411
- size?: number | null | undefined;
2412
2412
  annotations?: {
2413
2413
  priority?: number | null | undefined;
2414
2414
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2560,10 +2560,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2560
2560
  type: "resource_link";
2561
2561
  name: string;
2562
2562
  uri: string;
2563
+ size?: number | null | undefined;
2563
2564
  description?: string | null | undefined;
2564
2565
  title?: string | null | undefined;
2565
2566
  mimeType?: string | null | undefined;
2566
- size?: number | null | undefined;
2567
2567
  annotations?: {
2568
2568
  priority?: number | null | undefined;
2569
2569
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2573,10 +2573,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2573
2573
  type: "resource_link";
2574
2574
  name: string;
2575
2575
  uri: string;
2576
+ size?: number | null | undefined;
2576
2577
  description?: string | null | undefined;
2577
2578
  title?: string | null | undefined;
2578
2579
  mimeType?: string | null | undefined;
2579
- size?: number | null | undefined;
2580
2580
  annotations?: {
2581
2581
  priority?: number | null | undefined;
2582
2582
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2687,10 +2687,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2687
2687
  type: "resource_link";
2688
2688
  name: string;
2689
2689
  uri: string;
2690
+ size?: number | null | undefined;
2690
2691
  description?: string | null | undefined;
2691
2692
  title?: string | null | undefined;
2692
2693
  mimeType?: string | null | undefined;
2693
- size?: number | null | undefined;
2694
2694
  annotations?: {
2695
2695
  priority?: number | null | undefined;
2696
2696
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2745,10 +2745,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2745
2745
  type: "resource_link";
2746
2746
  name: string;
2747
2747
  uri: string;
2748
+ size?: number | null | undefined;
2748
2749
  description?: string | null | undefined;
2749
2750
  title?: string | null | undefined;
2750
2751
  mimeType?: string | null | undefined;
2751
- size?: number | null | undefined;
2752
2752
  annotations?: {
2753
2753
  priority?: number | null | undefined;
2754
2754
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2900,10 +2900,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2900
2900
  type: "resource_link";
2901
2901
  name: string;
2902
2902
  uri: string;
2903
+ size?: number | null | undefined;
2903
2904
  description?: string | null | undefined;
2904
2905
  title?: string | null | undefined;
2905
2906
  mimeType?: string | null | undefined;
2906
- size?: number | null | undefined;
2907
2907
  annotations?: {
2908
2908
  priority?: number | null | undefined;
2909
2909
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2913,10 +2913,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2913
2913
  type: "resource_link";
2914
2914
  name: string;
2915
2915
  uri: string;
2916
+ size?: number | null | undefined;
2916
2917
  description?: string | null | undefined;
2917
2918
  title?: string | null | undefined;
2918
2919
  mimeType?: string | null | undefined;
2919
- size?: number | null | undefined;
2920
2920
  annotations?: {
2921
2921
  priority?: number | null | undefined;
2922
2922
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3027,10 +3027,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3027
3027
  type: "resource_link";
3028
3028
  name: string;
3029
3029
  uri: string;
3030
+ size?: number | null | undefined;
3030
3031
  description?: string | null | undefined;
3031
3032
  title?: string | null | undefined;
3032
3033
  mimeType?: string | null | undefined;
3033
- size?: number | null | undefined;
3034
3034
  annotations?: {
3035
3035
  priority?: number | null | undefined;
3036
3036
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3085,10 +3085,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3085
3085
  type: "resource_link";
3086
3086
  name: string;
3087
3087
  uri: string;
3088
+ size?: number | null | undefined;
3088
3089
  description?: string | null | undefined;
3089
3090
  title?: string | null | undefined;
3090
3091
  mimeType?: string | null | undefined;
3091
- size?: number | null | undefined;
3092
3092
  annotations?: {
3093
3093
  priority?: number | null | undefined;
3094
3094
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3241,10 +3241,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3241
3241
  type: "resource_link";
3242
3242
  name: string;
3243
3243
  uri: string;
3244
+ size?: number | null | undefined;
3244
3245
  description?: string | null | undefined;
3245
3246
  title?: string | null | undefined;
3246
3247
  mimeType?: string | null | undefined;
3247
- size?: number | null | undefined;
3248
3248
  annotations?: {
3249
3249
  priority?: number | null | undefined;
3250
3250
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3254,10 +3254,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3254
3254
  type: "resource_link";
3255
3255
  name: string;
3256
3256
  uri: string;
3257
+ size?: number | null | undefined;
3257
3258
  description?: string | null | undefined;
3258
3259
  title?: string | null | undefined;
3259
3260
  mimeType?: string | null | undefined;
3260
- size?: number | null | undefined;
3261
3261
  annotations?: {
3262
3262
  priority?: number | null | undefined;
3263
3263
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3338,7 +3338,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3338
3338
  }>]>;
3339
3339
  type: z.ZodLiteral<"content">;
3340
3340
  }, "strip", z.ZodTypeAny, {
3341
- type: "content";
3342
3341
  content: {
3343
3342
  type: "text";
3344
3343
  text: string;
@@ -3369,10 +3368,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3369
3368
  type: "resource_link";
3370
3369
  name: string;
3371
3370
  uri: string;
3371
+ size?: number | null | undefined;
3372
3372
  description?: string | null | undefined;
3373
3373
  title?: string | null | undefined;
3374
3374
  mimeType?: string | null | undefined;
3375
- size?: number | null | undefined;
3376
3375
  annotations?: {
3377
3376
  priority?: number | null | undefined;
3378
3377
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3395,8 +3394,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3395
3394
  lastModified?: string | null | undefined;
3396
3395
  } | null | undefined;
3397
3396
  };
3398
- }, {
3399
3397
  type: "content";
3398
+ }, {
3400
3399
  content: {
3401
3400
  type: "text";
3402
3401
  text: string;
@@ -3427,10 +3426,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3427
3426
  type: "resource_link";
3428
3427
  name: string;
3429
3428
  uri: string;
3429
+ size?: number | null | undefined;
3430
3430
  description?: string | null | undefined;
3431
3431
  title?: string | null | undefined;
3432
3432
  mimeType?: string | null | undefined;
3433
- size?: number | null | undefined;
3434
3433
  annotations?: {
3435
3434
  priority?: number | null | undefined;
3436
3435
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3453,6 +3452,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3453
3452
  lastModified?: string | null | undefined;
3454
3453
  } | null | undefined;
3455
3454
  };
3455
+ type: "content";
3456
3456
  }>, z.ZodObject<{
3457
3457
  newText: z.ZodString;
3458
3458
  oldText: z.ZodNullable<z.ZodString>;
@@ -3486,13 +3486,12 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3486
3486
  title: z.ZodString;
3487
3487
  toolCallId: z.ZodString;
3488
3488
  }, "strip", z.ZodTypeAny, {
3489
- status: "completed" | "failed" | "pending" | "in_progress";
3489
+ status: "completed" | "pending" | "in_progress" | "failed";
3490
3490
  title: string;
3491
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
3491
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
3492
3492
  toolCallId: string;
3493
3493
  sessionUpdate: "tool_call";
3494
3494
  content?: ({
3495
- type: "content";
3496
3495
  content: {
3497
3496
  type: "text";
3498
3497
  text: string;
@@ -3523,10 +3522,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3523
3522
  type: "resource_link";
3524
3523
  name: string;
3525
3524
  uri: string;
3525
+ size?: number | null | undefined;
3526
3526
  description?: string | null | undefined;
3527
3527
  title?: string | null | undefined;
3528
3528
  mimeType?: string | null | undefined;
3529
- size?: number | null | undefined;
3530
3529
  annotations?: {
3531
3530
  priority?: number | null | undefined;
3532
3531
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3549,6 +3548,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3549
3548
  lastModified?: string | null | undefined;
3550
3549
  } | null | undefined;
3551
3550
  };
3551
+ type: "content";
3552
3552
  } | {
3553
3553
  type: "diff";
3554
3554
  path: string;
@@ -3561,13 +3561,12 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3561
3561
  }[] | undefined;
3562
3562
  rawInput?: unknown;
3563
3563
  }, {
3564
- status: "completed" | "failed" | "pending" | "in_progress";
3564
+ status: "completed" | "pending" | "in_progress" | "failed";
3565
3565
  title: string;
3566
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
3566
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
3567
3567
  toolCallId: string;
3568
3568
  sessionUpdate: "tool_call";
3569
3569
  content?: ({
3570
- type: "content";
3571
3570
  content: {
3572
3571
  type: "text";
3573
3572
  text: string;
@@ -3598,10 +3597,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3598
3597
  type: "resource_link";
3599
3598
  name: string;
3600
3599
  uri: string;
3600
+ size?: number | null | undefined;
3601
3601
  description?: string | null | undefined;
3602
3602
  title?: string | null | undefined;
3603
3603
  mimeType?: string | null | undefined;
3604
- size?: number | null | undefined;
3605
3604
  annotations?: {
3606
3605
  priority?: number | null | undefined;
3607
3606
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3624,6 +3623,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3624
3623
  lastModified?: string | null | undefined;
3625
3624
  } | null | undefined;
3626
3625
  };
3626
+ type: "content";
3627
3627
  } | {
3628
3628
  type: "diff";
3629
3629
  path: string;
@@ -3764,10 +3764,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3764
3764
  type: "resource_link";
3765
3765
  name: string;
3766
3766
  uri: string;
3767
+ size?: number | null | undefined;
3767
3768
  description?: string | null | undefined;
3768
3769
  title?: string | null | undefined;
3769
3770
  mimeType?: string | null | undefined;
3770
- size?: number | null | undefined;
3771
3771
  annotations?: {
3772
3772
  priority?: number | null | undefined;
3773
3773
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3777,10 +3777,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3777
3777
  type: "resource_link";
3778
3778
  name: string;
3779
3779
  uri: string;
3780
+ size?: number | null | undefined;
3780
3781
  description?: string | null | undefined;
3781
3782
  title?: string | null | undefined;
3782
3783
  mimeType?: string | null | undefined;
3783
- size?: number | null | undefined;
3784
3784
  annotations?: {
3785
3785
  priority?: number | null | undefined;
3786
3786
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3861,7 +3861,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3861
3861
  }>]>;
3862
3862
  type: z.ZodLiteral<"content">;
3863
3863
  }, "strip", z.ZodTypeAny, {
3864
- type: "content";
3865
3864
  content: {
3866
3865
  type: "text";
3867
3866
  text: string;
@@ -3892,10 +3891,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3892
3891
  type: "resource_link";
3893
3892
  name: string;
3894
3893
  uri: string;
3894
+ size?: number | null | undefined;
3895
3895
  description?: string | null | undefined;
3896
3896
  title?: string | null | undefined;
3897
3897
  mimeType?: string | null | undefined;
3898
- size?: number | null | undefined;
3899
3898
  annotations?: {
3900
3899
  priority?: number | null | undefined;
3901
3900
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3918,8 +3917,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3918
3917
  lastModified?: string | null | undefined;
3919
3918
  } | null | undefined;
3920
3919
  };
3921
- }, {
3922
3920
  type: "content";
3921
+ }, {
3923
3922
  content: {
3924
3923
  type: "text";
3925
3924
  text: string;
@@ -3950,10 +3949,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3950
3949
  type: "resource_link";
3951
3950
  name: string;
3952
3951
  uri: string;
3952
+ size?: number | null | undefined;
3953
3953
  description?: string | null | undefined;
3954
3954
  title?: string | null | undefined;
3955
3955
  mimeType?: string | null | undefined;
3956
- size?: number | null | undefined;
3957
3956
  annotations?: {
3958
3957
  priority?: number | null | undefined;
3959
3958
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3976,6 +3975,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3976
3975
  lastModified?: string | null | undefined;
3977
3976
  } | null | undefined;
3978
3977
  };
3978
+ type: "content";
3979
3979
  }>, z.ZodObject<{
3980
3980
  newText: z.ZodString;
3981
3981
  oldText: z.ZodNullable<z.ZodString>;
@@ -4011,10 +4011,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4011
4011
  }, "strip", z.ZodTypeAny, {
4012
4012
  toolCallId: string;
4013
4013
  sessionUpdate: "tool_call_update";
4014
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
4015
- title?: string | null | undefined;
4016
4014
  content?: ({
4017
- type: "content";
4018
4015
  content: {
4019
4016
  type: "text";
4020
4017
  text: string;
@@ -4045,10 +4042,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4045
4042
  type: "resource_link";
4046
4043
  name: string;
4047
4044
  uri: string;
4045
+ size?: number | null | undefined;
4048
4046
  description?: string | null | undefined;
4049
4047
  title?: string | null | undefined;
4050
4048
  mimeType?: string | null | undefined;
4051
- size?: number | null | undefined;
4052
4049
  annotations?: {
4053
4050
  priority?: number | null | undefined;
4054
4051
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4071,13 +4068,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4071
4068
  lastModified?: string | null | undefined;
4072
4069
  } | null | undefined;
4073
4070
  };
4071
+ type: "content";
4074
4072
  } | {
4075
4073
  type: "diff";
4076
4074
  path: string;
4077
4075
  newText: string;
4078
4076
  oldText: string | null;
4079
4077
  })[] | null | undefined;
4080
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
4078
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
4079
+ title?: string | null | undefined;
4080
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
4081
4081
  locations?: {
4082
4082
  path: string;
4083
4083
  line?: number | null | undefined;
@@ -4086,10 +4086,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4086
4086
  }, {
4087
4087
  toolCallId: string;
4088
4088
  sessionUpdate: "tool_call_update";
4089
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
4090
- title?: string | null | undefined;
4091
4089
  content?: ({
4092
- type: "content";
4093
4090
  content: {
4094
4091
  type: "text";
4095
4092
  text: string;
@@ -4120,10 +4117,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4120
4117
  type: "resource_link";
4121
4118
  name: string;
4122
4119
  uri: string;
4120
+ size?: number | null | undefined;
4123
4121
  description?: string | null | undefined;
4124
4122
  title?: string | null | undefined;
4125
4123
  mimeType?: string | null | undefined;
4126
- size?: number | null | undefined;
4127
4124
  annotations?: {
4128
4125
  priority?: number | null | undefined;
4129
4126
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4146,13 +4143,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4146
4143
  lastModified?: string | null | undefined;
4147
4144
  } | null | undefined;
4148
4145
  };
4146
+ type: "content";
4149
4147
  } | {
4150
4148
  type: "diff";
4151
4149
  path: string;
4152
4150
  newText: string;
4153
4151
  oldText: string | null;
4154
4152
  })[] | null | undefined;
4155
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
4153
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
4154
+ title?: string | null | undefined;
4155
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
4156
4156
  locations?: {
4157
4157
  path: string;
4158
4158
  line?: number | null | undefined;
@@ -4164,26 +4164,26 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4164
4164
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
4165
4165
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
4166
4166
  }, "strip", z.ZodTypeAny, {
4167
- status: "completed" | "pending" | "in_progress";
4168
4167
  content: string;
4168
+ status: "completed" | "pending" | "in_progress";
4169
4169
  priority: "medium" | "high" | "low";
4170
4170
  }, {
4171
- status: "completed" | "pending" | "in_progress";
4172
4171
  content: string;
4172
+ status: "completed" | "pending" | "in_progress";
4173
4173
  priority: "medium" | "high" | "low";
4174
4174
  }>, "many">;
4175
4175
  sessionUpdate: z.ZodLiteral<"plan">;
4176
4176
  }, "strip", z.ZodTypeAny, {
4177
4177
  entries: {
4178
- status: "completed" | "pending" | "in_progress";
4179
4178
  content: string;
4179
+ status: "completed" | "pending" | "in_progress";
4180
4180
  priority: "medium" | "high" | "low";
4181
4181
  }[];
4182
4182
  sessionUpdate: "plan";
4183
4183
  }, {
4184
4184
  entries: {
4185
- status: "completed" | "pending" | "in_progress";
4186
4185
  content: string;
4186
+ status: "completed" | "pending" | "in_progress";
4187
4187
  priority: "medium" | "high" | "low";
4188
4188
  }[];
4189
4189
  sessionUpdate: "plan";
@@ -4420,10 +4420,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4420
4420
  type: "resource_link";
4421
4421
  name: string;
4422
4422
  uri: string;
4423
+ size?: number | null | undefined;
4423
4424
  description?: string | null | undefined;
4424
4425
  title?: string | null | undefined;
4425
4426
  mimeType?: string | null | undefined;
4426
- size?: number | null | undefined;
4427
4427
  annotations?: {
4428
4428
  priority?: number | null | undefined;
4429
4429
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4433,10 +4433,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4433
4433
  type: "resource_link";
4434
4434
  name: string;
4435
4435
  uri: string;
4436
+ size?: number | null | undefined;
4436
4437
  description?: string | null | undefined;
4437
4438
  title?: string | null | undefined;
4438
4439
  mimeType?: string | null | undefined;
4439
- size?: number | null | undefined;
4440
4440
  annotations?: {
4441
4441
  priority?: number | null | undefined;
4442
4442
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4517,7 +4517,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4517
4517
  }>]>;
4518
4518
  type: z.ZodLiteral<"content">;
4519
4519
  }, "strip", z.ZodTypeAny, {
4520
- type: "content";
4521
4520
  content: {
4522
4521
  type: "text";
4523
4522
  text: string;
@@ -4548,10 +4547,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4548
4547
  type: "resource_link";
4549
4548
  name: string;
4550
4549
  uri: string;
4550
+ size?: number | null | undefined;
4551
4551
  description?: string | null | undefined;
4552
4552
  title?: string | null | undefined;
4553
4553
  mimeType?: string | null | undefined;
4554
- size?: number | null | undefined;
4555
4554
  annotations?: {
4556
4555
  priority?: number | null | undefined;
4557
4556
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4574,8 +4573,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4574
4573
  lastModified?: string | null | undefined;
4575
4574
  } | null | undefined;
4576
4575
  };
4577
- }, {
4578
4576
  type: "content";
4577
+ }, {
4579
4578
  content: {
4580
4579
  type: "text";
4581
4580
  text: string;
@@ -4606,10 +4605,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4606
4605
  type: "resource_link";
4607
4606
  name: string;
4608
4607
  uri: string;
4608
+ size?: number | null | undefined;
4609
4609
  description?: string | null | undefined;
4610
4610
  title?: string | null | undefined;
4611
4611
  mimeType?: string | null | undefined;
4612
- size?: number | null | undefined;
4613
4612
  annotations?: {
4614
4613
  priority?: number | null | undefined;
4615
4614
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4632,6 +4631,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4632
4631
  lastModified?: string | null | undefined;
4633
4632
  } | null | undefined;
4634
4633
  };
4634
+ type: "content";
4635
4635
  }>, z.ZodObject<{
4636
4636
  newText: z.ZodString;
4637
4637
  oldText: z.ZodNullable<z.ZodString>;
@@ -4664,12 +4664,11 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4664
4664
  title: z.ZodString;
4665
4665
  toolCallId: z.ZodString;
4666
4666
  }, "strip", z.ZodTypeAny, {
4667
- status: "completed" | "failed" | "pending" | "in_progress";
4667
+ status: "completed" | "pending" | "in_progress" | "failed";
4668
4668
  title: string;
4669
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
4669
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
4670
4670
  toolCallId: string;
4671
4671
  content?: ({
4672
- type: "content";
4673
4672
  content: {
4674
4673
  type: "text";
4675
4674
  text: string;
@@ -4700,10 +4699,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4700
4699
  type: "resource_link";
4701
4700
  name: string;
4702
4701
  uri: string;
4702
+ size?: number | null | undefined;
4703
4703
  description?: string | null | undefined;
4704
4704
  title?: string | null | undefined;
4705
4705
  mimeType?: string | null | undefined;
4706
- size?: number | null | undefined;
4707
4706
  annotations?: {
4708
4707
  priority?: number | null | undefined;
4709
4708
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4726,6 +4725,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4726
4725
  lastModified?: string | null | undefined;
4727
4726
  } | null | undefined;
4728
4727
  };
4728
+ type: "content";
4729
4729
  } | {
4730
4730
  type: "diff";
4731
4731
  path: string;
@@ -4738,12 +4738,11 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4738
4738
  }[] | undefined;
4739
4739
  rawInput?: unknown;
4740
4740
  }, {
4741
- status: "completed" | "failed" | "pending" | "in_progress";
4741
+ status: "completed" | "pending" | "in_progress" | "failed";
4742
4742
  title: string;
4743
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
4743
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
4744
4744
  toolCallId: string;
4745
4745
  content?: ({
4746
- type: "content";
4747
4746
  content: {
4748
4747
  type: "text";
4749
4748
  text: string;
@@ -4774,10 +4773,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4774
4773
  type: "resource_link";
4775
4774
  name: string;
4776
4775
  uri: string;
4776
+ size?: number | null | undefined;
4777
4777
  description?: string | null | undefined;
4778
4778
  title?: string | null | undefined;
4779
4779
  mimeType?: string | null | undefined;
4780
- size?: number | null | undefined;
4781
4780
  annotations?: {
4782
4781
  priority?: number | null | undefined;
4783
4782
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4800,6 +4799,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4800
4799
  lastModified?: string | null | undefined;
4801
4800
  } | null | undefined;
4802
4801
  };
4802
+ type: "content";
4803
4803
  } | {
4804
4804
  type: "diff";
4805
4805
  path: string;
@@ -4820,12 +4820,11 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4820
4820
  }[];
4821
4821
  sessionId: string;
4822
4822
  toolCall: {
4823
- status: "completed" | "failed" | "pending" | "in_progress";
4823
+ status: "completed" | "pending" | "in_progress" | "failed";
4824
4824
  title: string;
4825
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
4825
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
4826
4826
  toolCallId: string;
4827
4827
  content?: ({
4828
- type: "content";
4829
4828
  content: {
4830
4829
  type: "text";
4831
4830
  text: string;
@@ -4856,10 +4855,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4856
4855
  type: "resource_link";
4857
4856
  name: string;
4858
4857
  uri: string;
4858
+ size?: number | null | undefined;
4859
4859
  description?: string | null | undefined;
4860
4860
  title?: string | null | undefined;
4861
4861
  mimeType?: string | null | undefined;
4862
- size?: number | null | undefined;
4863
4862
  annotations?: {
4864
4863
  priority?: number | null | undefined;
4865
4864
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4882,6 +4881,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4882
4881
  lastModified?: string | null | undefined;
4883
4882
  } | null | undefined;
4884
4883
  };
4884
+ type: "content";
4885
4885
  } | {
4886
4886
  type: "diff";
4887
4887
  path: string;
@@ -4902,12 +4902,11 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4902
4902
  }[];
4903
4903
  sessionId: string;
4904
4904
  toolCall: {
4905
- status: "completed" | "failed" | "pending" | "in_progress";
4905
+ status: "completed" | "pending" | "in_progress" | "failed";
4906
4906
  title: string;
4907
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
4907
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
4908
4908
  toolCallId: string;
4909
4909
  content?: ({
4910
- type: "content";
4911
4910
  content: {
4912
4911
  type: "text";
4913
4912
  text: string;
@@ -4938,10 +4937,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4938
4937
  type: "resource_link";
4939
4938
  name: string;
4940
4939
  uri: string;
4940
+ size?: number | null | undefined;
4941
4941
  description?: string | null | undefined;
4942
4942
  title?: string | null | undefined;
4943
4943
  mimeType?: string | null | undefined;
4944
- size?: number | null | undefined;
4945
4944
  annotations?: {
4946
4945
  priority?: number | null | undefined;
4947
4946
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4964,6 +4963,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4964
4963
  lastModified?: string | null | undefined;
4965
4964
  } | null | undefined;
4966
4965
  };
4966
+ type: "content";
4967
4967
  } | {
4968
4968
  type: "diff";
4969
4969
  path: string;
@@ -5148,10 +5148,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5148
5148
  type: "resource_link";
5149
5149
  name: string;
5150
5150
  uri: string;
5151
+ size?: number | null | undefined;
5151
5152
  description?: string | null | undefined;
5152
5153
  title?: string | null | undefined;
5153
5154
  mimeType?: string | null | undefined;
5154
- size?: number | null | undefined;
5155
5155
  annotations?: {
5156
5156
  priority?: number | null | undefined;
5157
5157
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5161,10 +5161,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5161
5161
  type: "resource_link";
5162
5162
  name: string;
5163
5163
  uri: string;
5164
+ size?: number | null | undefined;
5164
5165
  description?: string | null | undefined;
5165
5166
  title?: string | null | undefined;
5166
5167
  mimeType?: string | null | undefined;
5167
- size?: number | null | undefined;
5168
5168
  annotations?: {
5169
5169
  priority?: number | null | undefined;
5170
5170
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5275,10 +5275,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5275
5275
  type: "resource_link";
5276
5276
  name: string;
5277
5277
  uri: string;
5278
+ size?: number | null | undefined;
5278
5279
  description?: string | null | undefined;
5279
5280
  title?: string | null | undefined;
5280
5281
  mimeType?: string | null | undefined;
5281
- size?: number | null | undefined;
5282
5282
  annotations?: {
5283
5283
  priority?: number | null | undefined;
5284
5284
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5333,10 +5333,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5333
5333
  type: "resource_link";
5334
5334
  name: string;
5335
5335
  uri: string;
5336
+ size?: number | null | undefined;
5336
5337
  description?: string | null | undefined;
5337
5338
  title?: string | null | undefined;
5338
5339
  mimeType?: string | null | undefined;
5339
- size?: number | null | undefined;
5340
5340
  annotations?: {
5341
5341
  priority?: number | null | undefined;
5342
5342
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5488,10 +5488,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5488
5488
  type: "resource_link";
5489
5489
  name: string;
5490
5490
  uri: string;
5491
+ size?: number | null | undefined;
5491
5492
  description?: string | null | undefined;
5492
5493
  title?: string | null | undefined;
5493
5494
  mimeType?: string | null | undefined;
5494
- size?: number | null | undefined;
5495
5495
  annotations?: {
5496
5496
  priority?: number | null | undefined;
5497
5497
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5501,10 +5501,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5501
5501
  type: "resource_link";
5502
5502
  name: string;
5503
5503
  uri: string;
5504
+ size?: number | null | undefined;
5504
5505
  description?: string | null | undefined;
5505
5506
  title?: string | null | undefined;
5506
5507
  mimeType?: string | null | undefined;
5507
- size?: number | null | undefined;
5508
5508
  annotations?: {
5509
5509
  priority?: number | null | undefined;
5510
5510
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5615,10 +5615,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5615
5615
  type: "resource_link";
5616
5616
  name: string;
5617
5617
  uri: string;
5618
+ size?: number | null | undefined;
5618
5619
  description?: string | null | undefined;
5619
5620
  title?: string | null | undefined;
5620
5621
  mimeType?: string | null | undefined;
5621
- size?: number | null | undefined;
5622
5622
  annotations?: {
5623
5623
  priority?: number | null | undefined;
5624
5624
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5673,10 +5673,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5673
5673
  type: "resource_link";
5674
5674
  name: string;
5675
5675
  uri: string;
5676
+ size?: number | null | undefined;
5676
5677
  description?: string | null | undefined;
5677
5678
  title?: string | null | undefined;
5678
5679
  mimeType?: string | null | undefined;
5679
- size?: number | null | undefined;
5680
5680
  annotations?: {
5681
5681
  priority?: number | null | undefined;
5682
5682
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5828,10 +5828,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5828
5828
  type: "resource_link";
5829
5829
  name: string;
5830
5830
  uri: string;
5831
+ size?: number | null | undefined;
5831
5832
  description?: string | null | undefined;
5832
5833
  title?: string | null | undefined;
5833
5834
  mimeType?: string | null | undefined;
5834
- size?: number | null | undefined;
5835
5835
  annotations?: {
5836
5836
  priority?: number | null | undefined;
5837
5837
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5841,10 +5841,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5841
5841
  type: "resource_link";
5842
5842
  name: string;
5843
5843
  uri: string;
5844
+ size?: number | null | undefined;
5844
5845
  description?: string | null | undefined;
5845
5846
  title?: string | null | undefined;
5846
5847
  mimeType?: string | null | undefined;
5847
- size?: number | null | undefined;
5848
5848
  annotations?: {
5849
5849
  priority?: number | null | undefined;
5850
5850
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5955,10 +5955,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5955
5955
  type: "resource_link";
5956
5956
  name: string;
5957
5957
  uri: string;
5958
+ size?: number | null | undefined;
5958
5959
  description?: string | null | undefined;
5959
5960
  title?: string | null | undefined;
5960
5961
  mimeType?: string | null | undefined;
5961
- size?: number | null | undefined;
5962
5962
  annotations?: {
5963
5963
  priority?: number | null | undefined;
5964
5964
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6013,10 +6013,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6013
6013
  type: "resource_link";
6014
6014
  name: string;
6015
6015
  uri: string;
6016
+ size?: number | null | undefined;
6016
6017
  description?: string | null | undefined;
6017
6018
  title?: string | null | undefined;
6018
6019
  mimeType?: string | null | undefined;
6019
- size?: number | null | undefined;
6020
6020
  annotations?: {
6021
6021
  priority?: number | null | undefined;
6022
6022
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6169,10 +6169,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6169
6169
  type: "resource_link";
6170
6170
  name: string;
6171
6171
  uri: string;
6172
+ size?: number | null | undefined;
6172
6173
  description?: string | null | undefined;
6173
6174
  title?: string | null | undefined;
6174
6175
  mimeType?: string | null | undefined;
6175
- size?: number | null | undefined;
6176
6176
  annotations?: {
6177
6177
  priority?: number | null | undefined;
6178
6178
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6182,10 +6182,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6182
6182
  type: "resource_link";
6183
6183
  name: string;
6184
6184
  uri: string;
6185
+ size?: number | null | undefined;
6185
6186
  description?: string | null | undefined;
6186
6187
  title?: string | null | undefined;
6187
6188
  mimeType?: string | null | undefined;
6188
- size?: number | null | undefined;
6189
6189
  annotations?: {
6190
6190
  priority?: number | null | undefined;
6191
6191
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6266,7 +6266,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6266
6266
  }>]>;
6267
6267
  type: z.ZodLiteral<"content">;
6268
6268
  }, "strip", z.ZodTypeAny, {
6269
- type: "content";
6270
6269
  content: {
6271
6270
  type: "text";
6272
6271
  text: string;
@@ -6297,10 +6296,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6297
6296
  type: "resource_link";
6298
6297
  name: string;
6299
6298
  uri: string;
6299
+ size?: number | null | undefined;
6300
6300
  description?: string | null | undefined;
6301
6301
  title?: string | null | undefined;
6302
6302
  mimeType?: string | null | undefined;
6303
- size?: number | null | undefined;
6304
6303
  annotations?: {
6305
6304
  priority?: number | null | undefined;
6306
6305
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6323,8 +6322,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6323
6322
  lastModified?: string | null | undefined;
6324
6323
  } | null | undefined;
6325
6324
  };
6326
- }, {
6327
6325
  type: "content";
6326
+ }, {
6328
6327
  content: {
6329
6328
  type: "text";
6330
6329
  text: string;
@@ -6355,10 +6354,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6355
6354
  type: "resource_link";
6356
6355
  name: string;
6357
6356
  uri: string;
6357
+ size?: number | null | undefined;
6358
6358
  description?: string | null | undefined;
6359
6359
  title?: string | null | undefined;
6360
6360
  mimeType?: string | null | undefined;
6361
- size?: number | null | undefined;
6362
6361
  annotations?: {
6363
6362
  priority?: number | null | undefined;
6364
6363
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6381,6 +6380,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6381
6380
  lastModified?: string | null | undefined;
6382
6381
  } | null | undefined;
6383
6382
  };
6383
+ type: "content";
6384
6384
  }>, z.ZodObject<{
6385
6385
  newText: z.ZodString;
6386
6386
  oldText: z.ZodNullable<z.ZodString>;
@@ -6414,13 +6414,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6414
6414
  title: z.ZodString;
6415
6415
  toolCallId: z.ZodString;
6416
6416
  }, "strip", z.ZodTypeAny, {
6417
- status: "completed" | "failed" | "pending" | "in_progress";
6417
+ status: "completed" | "pending" | "in_progress" | "failed";
6418
6418
  title: string;
6419
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
6419
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
6420
6420
  toolCallId: string;
6421
6421
  sessionUpdate: "tool_call";
6422
6422
  content?: ({
6423
- type: "content";
6424
6423
  content: {
6425
6424
  type: "text";
6426
6425
  text: string;
@@ -6451,10 +6450,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6451
6450
  type: "resource_link";
6452
6451
  name: string;
6453
6452
  uri: string;
6453
+ size?: number | null | undefined;
6454
6454
  description?: string | null | undefined;
6455
6455
  title?: string | null | undefined;
6456
6456
  mimeType?: string | null | undefined;
6457
- size?: number | null | undefined;
6458
6457
  annotations?: {
6459
6458
  priority?: number | null | undefined;
6460
6459
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6477,6 +6476,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6477
6476
  lastModified?: string | null | undefined;
6478
6477
  } | null | undefined;
6479
6478
  };
6479
+ type: "content";
6480
6480
  } | {
6481
6481
  type: "diff";
6482
6482
  path: string;
@@ -6489,13 +6489,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6489
6489
  }[] | undefined;
6490
6490
  rawInput?: unknown;
6491
6491
  }, {
6492
- status: "completed" | "failed" | "pending" | "in_progress";
6492
+ status: "completed" | "pending" | "in_progress" | "failed";
6493
6493
  title: string;
6494
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
6494
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
6495
6495
  toolCallId: string;
6496
6496
  sessionUpdate: "tool_call";
6497
6497
  content?: ({
6498
- type: "content";
6499
6498
  content: {
6500
6499
  type: "text";
6501
6500
  text: string;
@@ -6526,10 +6525,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6526
6525
  type: "resource_link";
6527
6526
  name: string;
6528
6527
  uri: string;
6528
+ size?: number | null | undefined;
6529
6529
  description?: string | null | undefined;
6530
6530
  title?: string | null | undefined;
6531
6531
  mimeType?: string | null | undefined;
6532
- size?: number | null | undefined;
6533
6532
  annotations?: {
6534
6533
  priority?: number | null | undefined;
6535
6534
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6552,6 +6551,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6552
6551
  lastModified?: string | null | undefined;
6553
6552
  } | null | undefined;
6554
6553
  };
6554
+ type: "content";
6555
6555
  } | {
6556
6556
  type: "diff";
6557
6557
  path: string;
@@ -6692,10 +6692,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6692
6692
  type: "resource_link";
6693
6693
  name: string;
6694
6694
  uri: string;
6695
+ size?: number | null | undefined;
6695
6696
  description?: string | null | undefined;
6696
6697
  title?: string | null | undefined;
6697
6698
  mimeType?: string | null | undefined;
6698
- size?: number | null | undefined;
6699
6699
  annotations?: {
6700
6700
  priority?: number | null | undefined;
6701
6701
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6705,10 +6705,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6705
6705
  type: "resource_link";
6706
6706
  name: string;
6707
6707
  uri: string;
6708
+ size?: number | null | undefined;
6708
6709
  description?: string | null | undefined;
6709
6710
  title?: string | null | undefined;
6710
6711
  mimeType?: string | null | undefined;
6711
- size?: number | null | undefined;
6712
6712
  annotations?: {
6713
6713
  priority?: number | null | undefined;
6714
6714
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6789,7 +6789,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6789
6789
  }>]>;
6790
6790
  type: z.ZodLiteral<"content">;
6791
6791
  }, "strip", z.ZodTypeAny, {
6792
- type: "content";
6793
6792
  content: {
6794
6793
  type: "text";
6795
6794
  text: string;
@@ -6820,10 +6819,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6820
6819
  type: "resource_link";
6821
6820
  name: string;
6822
6821
  uri: string;
6822
+ size?: number | null | undefined;
6823
6823
  description?: string | null | undefined;
6824
6824
  title?: string | null | undefined;
6825
6825
  mimeType?: string | null | undefined;
6826
- size?: number | null | undefined;
6827
6826
  annotations?: {
6828
6827
  priority?: number | null | undefined;
6829
6828
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6846,8 +6845,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6846
6845
  lastModified?: string | null | undefined;
6847
6846
  } | null | undefined;
6848
6847
  };
6849
- }, {
6850
6848
  type: "content";
6849
+ }, {
6851
6850
  content: {
6852
6851
  type: "text";
6853
6852
  text: string;
@@ -6878,10 +6877,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6878
6877
  type: "resource_link";
6879
6878
  name: string;
6880
6879
  uri: string;
6880
+ size?: number | null | undefined;
6881
6881
  description?: string | null | undefined;
6882
6882
  title?: string | null | undefined;
6883
6883
  mimeType?: string | null | undefined;
6884
- size?: number | null | undefined;
6885
6884
  annotations?: {
6886
6885
  priority?: number | null | undefined;
6887
6886
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6904,6 +6903,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6904
6903
  lastModified?: string | null | undefined;
6905
6904
  } | null | undefined;
6906
6905
  };
6906
+ type: "content";
6907
6907
  }>, z.ZodObject<{
6908
6908
  newText: z.ZodString;
6909
6909
  oldText: z.ZodNullable<z.ZodString>;
@@ -6939,10 +6939,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6939
6939
  }, "strip", z.ZodTypeAny, {
6940
6940
  toolCallId: string;
6941
6941
  sessionUpdate: "tool_call_update";
6942
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
6943
- title?: string | null | undefined;
6944
6942
  content?: ({
6945
- type: "content";
6946
6943
  content: {
6947
6944
  type: "text";
6948
6945
  text: string;
@@ -6973,10 +6970,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6973
6970
  type: "resource_link";
6974
6971
  name: string;
6975
6972
  uri: string;
6973
+ size?: number | null | undefined;
6976
6974
  description?: string | null | undefined;
6977
6975
  title?: string | null | undefined;
6978
6976
  mimeType?: string | null | undefined;
6979
- size?: number | null | undefined;
6980
6977
  annotations?: {
6981
6978
  priority?: number | null | undefined;
6982
6979
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6999,13 +6996,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6999
6996
  lastModified?: string | null | undefined;
7000
6997
  } | null | undefined;
7001
6998
  };
6999
+ type: "content";
7002
7000
  } | {
7003
7001
  type: "diff";
7004
7002
  path: string;
7005
7003
  newText: string;
7006
7004
  oldText: string | null;
7007
7005
  })[] | null | undefined;
7008
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
7006
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
7007
+ title?: string | null | undefined;
7008
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
7009
7009
  locations?: {
7010
7010
  path: string;
7011
7011
  line?: number | null | undefined;
@@ -7014,10 +7014,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7014
7014
  }, {
7015
7015
  toolCallId: string;
7016
7016
  sessionUpdate: "tool_call_update";
7017
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7018
- title?: string | null | undefined;
7019
7017
  content?: ({
7020
- type: "content";
7021
7018
  content: {
7022
7019
  type: "text";
7023
7020
  text: string;
@@ -7048,10 +7045,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7048
7045
  type: "resource_link";
7049
7046
  name: string;
7050
7047
  uri: string;
7048
+ size?: number | null | undefined;
7051
7049
  description?: string | null | undefined;
7052
7050
  title?: string | null | undefined;
7053
7051
  mimeType?: string | null | undefined;
7054
- size?: number | null | undefined;
7055
7052
  annotations?: {
7056
7053
  priority?: number | null | undefined;
7057
7054
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7074,13 +7071,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7074
7071
  lastModified?: string | null | undefined;
7075
7072
  } | null | undefined;
7076
7073
  };
7074
+ type: "content";
7077
7075
  } | {
7078
7076
  type: "diff";
7079
7077
  path: string;
7080
7078
  newText: string;
7081
7079
  oldText: string | null;
7082
7080
  })[] | null | undefined;
7083
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
7081
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
7082
+ title?: string | null | undefined;
7083
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
7084
7084
  locations?: {
7085
7085
  path: string;
7086
7086
  line?: number | null | undefined;
@@ -7092,26 +7092,26 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7092
7092
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
7093
7093
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
7094
7094
  }, "strip", z.ZodTypeAny, {
7095
- status: "completed" | "pending" | "in_progress";
7096
7095
  content: string;
7096
+ status: "completed" | "pending" | "in_progress";
7097
7097
  priority: "medium" | "high" | "low";
7098
7098
  }, {
7099
- status: "completed" | "pending" | "in_progress";
7100
7099
  content: string;
7100
+ status: "completed" | "pending" | "in_progress";
7101
7101
  priority: "medium" | "high" | "low";
7102
7102
  }>, "many">;
7103
7103
  sessionUpdate: z.ZodLiteral<"plan">;
7104
7104
  }, "strip", z.ZodTypeAny, {
7105
7105
  entries: {
7106
- status: "completed" | "pending" | "in_progress";
7107
7106
  content: string;
7107
+ status: "completed" | "pending" | "in_progress";
7108
7108
  priority: "medium" | "high" | "low";
7109
7109
  }[];
7110
7110
  sessionUpdate: "plan";
7111
7111
  }, {
7112
7112
  entries: {
7113
- status: "completed" | "pending" | "in_progress";
7114
7113
  content: string;
7114
+ status: "completed" | "pending" | "in_progress";
7115
7115
  priority: "medium" | "high" | "low";
7116
7116
  }[];
7117
7117
  sessionUpdate: "plan";
@@ -7149,10 +7149,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7149
7149
  type: "resource_link";
7150
7150
  name: string;
7151
7151
  uri: string;
7152
+ size?: number | null | undefined;
7152
7153
  description?: string | null | undefined;
7153
7154
  title?: string | null | undefined;
7154
7155
  mimeType?: string | null | undefined;
7155
- size?: number | null | undefined;
7156
7156
  annotations?: {
7157
7157
  priority?: number | null | undefined;
7158
7158
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7207,10 +7207,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7207
7207
  type: "resource_link";
7208
7208
  name: string;
7209
7209
  uri: string;
7210
+ size?: number | null | undefined;
7210
7211
  description?: string | null | undefined;
7211
7212
  title?: string | null | undefined;
7212
7213
  mimeType?: string | null | undefined;
7213
- size?: number | null | undefined;
7214
7214
  annotations?: {
7215
7215
  priority?: number | null | undefined;
7216
7216
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7265,10 +7265,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7265
7265
  type: "resource_link";
7266
7266
  name: string;
7267
7267
  uri: string;
7268
+ size?: number | null | undefined;
7268
7269
  description?: string | null | undefined;
7269
7270
  title?: string | null | undefined;
7270
7271
  mimeType?: string | null | undefined;
7271
- size?: number | null | undefined;
7272
7272
  annotations?: {
7273
7273
  priority?: number | null | undefined;
7274
7274
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7293,13 +7293,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7293
7293
  };
7294
7294
  sessionUpdate: "agent_thought_chunk";
7295
7295
  } | {
7296
- status: "completed" | "failed" | "pending" | "in_progress";
7296
+ status: "completed" | "pending" | "in_progress" | "failed";
7297
7297
  title: string;
7298
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
7298
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
7299
7299
  toolCallId: string;
7300
7300
  sessionUpdate: "tool_call";
7301
7301
  content?: ({
7302
- type: "content";
7303
7302
  content: {
7304
7303
  type: "text";
7305
7304
  text: string;
@@ -7330,10 +7329,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7330
7329
  type: "resource_link";
7331
7330
  name: string;
7332
7331
  uri: string;
7332
+ size?: number | null | undefined;
7333
7333
  description?: string | null | undefined;
7334
7334
  title?: string | null | undefined;
7335
7335
  mimeType?: string | null | undefined;
7336
- size?: number | null | undefined;
7337
7336
  annotations?: {
7338
7337
  priority?: number | null | undefined;
7339
7338
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7356,6 +7355,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7356
7355
  lastModified?: string | null | undefined;
7357
7356
  } | null | undefined;
7358
7357
  };
7358
+ type: "content";
7359
7359
  } | {
7360
7360
  type: "diff";
7361
7361
  path: string;
@@ -7370,10 +7370,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7370
7370
  } | {
7371
7371
  toolCallId: string;
7372
7372
  sessionUpdate: "tool_call_update";
7373
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7374
- title?: string | null | undefined;
7375
7373
  content?: ({
7376
- type: "content";
7377
7374
  content: {
7378
7375
  type: "text";
7379
7376
  text: string;
@@ -7404,10 +7401,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7404
7401
  type: "resource_link";
7405
7402
  name: string;
7406
7403
  uri: string;
7404
+ size?: number | null | undefined;
7407
7405
  description?: string | null | undefined;
7408
7406
  title?: string | null | undefined;
7409
7407
  mimeType?: string | null | undefined;
7410
- size?: number | null | undefined;
7411
7408
  annotations?: {
7412
7409
  priority?: number | null | undefined;
7413
7410
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7430,13 +7427,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7430
7427
  lastModified?: string | null | undefined;
7431
7428
  } | null | undefined;
7432
7429
  };
7430
+ type: "content";
7433
7431
  } | {
7434
7432
  type: "diff";
7435
7433
  path: string;
7436
7434
  newText: string;
7437
7435
  oldText: string | null;
7438
7436
  })[] | null | undefined;
7439
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
7437
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
7438
+ title?: string | null | undefined;
7439
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
7440
7440
  locations?: {
7441
7441
  path: string;
7442
7442
  line?: number | null | undefined;
@@ -7444,8 +7444,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7444
7444
  rawInput?: unknown;
7445
7445
  } | {
7446
7446
  entries: {
7447
- status: "completed" | "pending" | "in_progress";
7448
7447
  content: string;
7448
+ status: "completed" | "pending" | "in_progress";
7449
7449
  priority: "medium" | "high" | "low";
7450
7450
  }[];
7451
7451
  sessionUpdate: "plan";
@@ -7483,10 +7483,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7483
7483
  type: "resource_link";
7484
7484
  name: string;
7485
7485
  uri: string;
7486
+ size?: number | null | undefined;
7486
7487
  description?: string | null | undefined;
7487
7488
  title?: string | null | undefined;
7488
7489
  mimeType?: string | null | undefined;
7489
- size?: number | null | undefined;
7490
7490
  annotations?: {
7491
7491
  priority?: number | null | undefined;
7492
7492
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7541,10 +7541,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7541
7541
  type: "resource_link";
7542
7542
  name: string;
7543
7543
  uri: string;
7544
+ size?: number | null | undefined;
7544
7545
  description?: string | null | undefined;
7545
7546
  title?: string | null | undefined;
7546
7547
  mimeType?: string | null | undefined;
7547
- size?: number | null | undefined;
7548
7548
  annotations?: {
7549
7549
  priority?: number | null | undefined;
7550
7550
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7599,10 +7599,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7599
7599
  type: "resource_link";
7600
7600
  name: string;
7601
7601
  uri: string;
7602
+ size?: number | null | undefined;
7602
7603
  description?: string | null | undefined;
7603
7604
  title?: string | null | undefined;
7604
7605
  mimeType?: string | null | undefined;
7605
- size?: number | null | undefined;
7606
7606
  annotations?: {
7607
7607
  priority?: number | null | undefined;
7608
7608
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7627,13 +7627,12 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7627
7627
  };
7628
7628
  sessionUpdate: "agent_thought_chunk";
7629
7629
  } | {
7630
- status: "completed" | "failed" | "pending" | "in_progress";
7630
+ status: "completed" | "pending" | "in_progress" | "failed";
7631
7631
  title: string;
7632
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
7632
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
7633
7633
  toolCallId: string;
7634
7634
  sessionUpdate: "tool_call";
7635
7635
  content?: ({
7636
- type: "content";
7637
7636
  content: {
7638
7637
  type: "text";
7639
7638
  text: string;
@@ -7664,10 +7663,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7664
7663
  type: "resource_link";
7665
7664
  name: string;
7666
7665
  uri: string;
7666
+ size?: number | null | undefined;
7667
7667
  description?: string | null | undefined;
7668
7668
  title?: string | null | undefined;
7669
7669
  mimeType?: string | null | undefined;
7670
- size?: number | null | undefined;
7671
7670
  annotations?: {
7672
7671
  priority?: number | null | undefined;
7673
7672
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7690,6 +7689,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7690
7689
  lastModified?: string | null | undefined;
7691
7690
  } | null | undefined;
7692
7691
  };
7692
+ type: "content";
7693
7693
  } | {
7694
7694
  type: "diff";
7695
7695
  path: string;
@@ -7704,10 +7704,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7704
7704
  } | {
7705
7705
  toolCallId: string;
7706
7706
  sessionUpdate: "tool_call_update";
7707
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7708
- title?: string | null | undefined;
7709
7707
  content?: ({
7710
- type: "content";
7711
7708
  content: {
7712
7709
  type: "text";
7713
7710
  text: string;
@@ -7738,10 +7735,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7738
7735
  type: "resource_link";
7739
7736
  name: string;
7740
7737
  uri: string;
7738
+ size?: number | null | undefined;
7741
7739
  description?: string | null | undefined;
7742
7740
  title?: string | null | undefined;
7743
7741
  mimeType?: string | null | undefined;
7744
- size?: number | null | undefined;
7745
7742
  annotations?: {
7746
7743
  priority?: number | null | undefined;
7747
7744
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7764,13 +7761,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7764
7761
  lastModified?: string | null | undefined;
7765
7762
  } | null | undefined;
7766
7763
  };
7764
+ type: "content";
7767
7765
  } | {
7768
7766
  type: "diff";
7769
7767
  path: string;
7770
7768
  newText: string;
7771
7769
  oldText: string | null;
7772
7770
  })[] | null | undefined;
7773
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
7771
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
7772
+ title?: string | null | undefined;
7773
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
7774
7774
  locations?: {
7775
7775
  path: string;
7776
7776
  line?: number | null | undefined;
@@ -7778,8 +7778,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7778
7778
  rawInput?: unknown;
7779
7779
  } | {
7780
7780
  entries: {
7781
- status: "completed" | "pending" | "in_progress";
7782
7781
  content: string;
7782
+ status: "completed" | "pending" | "in_progress";
7783
7783
  priority: "medium" | "high" | "low";
7784
7784
  }[];
7785
7785
  sessionUpdate: "plan";
@@ -7790,12 +7790,12 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7790
7790
  path: z.ZodString;
7791
7791
  sessionId: z.ZodString;
7792
7792
  }, "strip", z.ZodTypeAny, {
7793
- path: string;
7794
7793
  content: string;
7794
+ path: string;
7795
7795
  sessionId: string;
7796
7796
  }, {
7797
- path: string;
7798
7797
  content: string;
7798
+ path: string;
7799
7799
  sessionId: string;
7800
7800
  }>, z.ZodObject<{
7801
7801
  limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -7956,10 +7956,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7956
7956
  type: "resource_link";
7957
7957
  name: string;
7958
7958
  uri: string;
7959
+ size?: number | null | undefined;
7959
7960
  description?: string | null | undefined;
7960
7961
  title?: string | null | undefined;
7961
7962
  mimeType?: string | null | undefined;
7962
- size?: number | null | undefined;
7963
7963
  annotations?: {
7964
7964
  priority?: number | null | undefined;
7965
7965
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7969,10 +7969,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7969
7969
  type: "resource_link";
7970
7970
  name: string;
7971
7971
  uri: string;
7972
+ size?: number | null | undefined;
7972
7973
  description?: string | null | undefined;
7973
7974
  title?: string | null | undefined;
7974
7975
  mimeType?: string | null | undefined;
7975
- size?: number | null | undefined;
7976
7976
  annotations?: {
7977
7977
  priority?: number | null | undefined;
7978
7978
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8053,7 +8053,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8053
8053
  }>]>;
8054
8054
  type: z.ZodLiteral<"content">;
8055
8055
  }, "strip", z.ZodTypeAny, {
8056
- type: "content";
8057
8056
  content: {
8058
8057
  type: "text";
8059
8058
  text: string;
@@ -8084,10 +8083,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8084
8083
  type: "resource_link";
8085
8084
  name: string;
8086
8085
  uri: string;
8086
+ size?: number | null | undefined;
8087
8087
  description?: string | null | undefined;
8088
8088
  title?: string | null | undefined;
8089
8089
  mimeType?: string | null | undefined;
8090
- size?: number | null | undefined;
8091
8090
  annotations?: {
8092
8091
  priority?: number | null | undefined;
8093
8092
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8110,8 +8109,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8110
8109
  lastModified?: string | null | undefined;
8111
8110
  } | null | undefined;
8112
8111
  };
8113
- }, {
8114
8112
  type: "content";
8113
+ }, {
8115
8114
  content: {
8116
8115
  type: "text";
8117
8116
  text: string;
@@ -8142,10 +8141,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8142
8141
  type: "resource_link";
8143
8142
  name: string;
8144
8143
  uri: string;
8144
+ size?: number | null | undefined;
8145
8145
  description?: string | null | undefined;
8146
8146
  title?: string | null | undefined;
8147
8147
  mimeType?: string | null | undefined;
8148
- size?: number | null | undefined;
8149
8148
  annotations?: {
8150
8149
  priority?: number | null | undefined;
8151
8150
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8168,6 +8167,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8168
8167
  lastModified?: string | null | undefined;
8169
8168
  } | null | undefined;
8170
8169
  };
8170
+ type: "content";
8171
8171
  }>, z.ZodObject<{
8172
8172
  newText: z.ZodString;
8173
8173
  oldText: z.ZodNullable<z.ZodString>;
@@ -8200,12 +8200,11 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8200
8200
  title: z.ZodString;
8201
8201
  toolCallId: z.ZodString;
8202
8202
  }, "strip", z.ZodTypeAny, {
8203
- status: "completed" | "failed" | "pending" | "in_progress";
8203
+ status: "completed" | "pending" | "in_progress" | "failed";
8204
8204
  title: string;
8205
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
8205
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
8206
8206
  toolCallId: string;
8207
8207
  content?: ({
8208
- type: "content";
8209
8208
  content: {
8210
8209
  type: "text";
8211
8210
  text: string;
@@ -8236,10 +8235,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8236
8235
  type: "resource_link";
8237
8236
  name: string;
8238
8237
  uri: string;
8238
+ size?: number | null | undefined;
8239
8239
  description?: string | null | undefined;
8240
8240
  title?: string | null | undefined;
8241
8241
  mimeType?: string | null | undefined;
8242
- size?: number | null | undefined;
8243
8242
  annotations?: {
8244
8243
  priority?: number | null | undefined;
8245
8244
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8262,6 +8261,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8262
8261
  lastModified?: string | null | undefined;
8263
8262
  } | null | undefined;
8264
8263
  };
8264
+ type: "content";
8265
8265
  } | {
8266
8266
  type: "diff";
8267
8267
  path: string;
@@ -8274,12 +8274,11 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8274
8274
  }[] | undefined;
8275
8275
  rawInput?: unknown;
8276
8276
  }, {
8277
- status: "completed" | "failed" | "pending" | "in_progress";
8277
+ status: "completed" | "pending" | "in_progress" | "failed";
8278
8278
  title: string;
8279
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
8279
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
8280
8280
  toolCallId: string;
8281
8281
  content?: ({
8282
- type: "content";
8283
8282
  content: {
8284
8283
  type: "text";
8285
8284
  text: string;
@@ -8310,10 +8309,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8310
8309
  type: "resource_link";
8311
8310
  name: string;
8312
8311
  uri: string;
8312
+ size?: number | null | undefined;
8313
8313
  description?: string | null | undefined;
8314
8314
  title?: string | null | undefined;
8315
8315
  mimeType?: string | null | undefined;
8316
- size?: number | null | undefined;
8317
8316
  annotations?: {
8318
8317
  priority?: number | null | undefined;
8319
8318
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8336,6 +8335,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8336
8335
  lastModified?: string | null | undefined;
8337
8336
  } | null | undefined;
8338
8337
  };
8338
+ type: "content";
8339
8339
  } | {
8340
8340
  type: "diff";
8341
8341
  path: string;
@@ -8356,12 +8356,11 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8356
8356
  }[];
8357
8357
  sessionId: string;
8358
8358
  toolCall: {
8359
- status: "completed" | "failed" | "pending" | "in_progress";
8359
+ status: "completed" | "pending" | "in_progress" | "failed";
8360
8360
  title: string;
8361
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
8361
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
8362
8362
  toolCallId: string;
8363
8363
  content?: ({
8364
- type: "content";
8365
8364
  content: {
8366
8365
  type: "text";
8367
8366
  text: string;
@@ -8392,10 +8391,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8392
8391
  type: "resource_link";
8393
8392
  name: string;
8394
8393
  uri: string;
8394
+ size?: number | null | undefined;
8395
8395
  description?: string | null | undefined;
8396
8396
  title?: string | null | undefined;
8397
8397
  mimeType?: string | null | undefined;
8398
- size?: number | null | undefined;
8399
8398
  annotations?: {
8400
8399
  priority?: number | null | undefined;
8401
8400
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8418,6 +8417,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8418
8417
  lastModified?: string | null | undefined;
8419
8418
  } | null | undefined;
8420
8419
  };
8420
+ type: "content";
8421
8421
  } | {
8422
8422
  type: "diff";
8423
8423
  path: string;
@@ -8438,12 +8438,11 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8438
8438
  }[];
8439
8439
  sessionId: string;
8440
8440
  toolCall: {
8441
- status: "completed" | "failed" | "pending" | "in_progress";
8441
+ status: "completed" | "pending" | "in_progress" | "failed";
8442
8442
  title: string;
8443
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
8443
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
8444
8444
  toolCallId: string;
8445
8445
  content?: ({
8446
- type: "content";
8447
8446
  content: {
8448
8447
  type: "text";
8449
8448
  text: string;
@@ -8474,10 +8473,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8474
8473
  type: "resource_link";
8475
8474
  name: string;
8476
8475
  uri: string;
8476
+ size?: number | null | undefined;
8477
8477
  description?: string | null | undefined;
8478
8478
  title?: string | null | undefined;
8479
8479
  mimeType?: string | null | undefined;
8480
- size?: number | null | undefined;
8481
8480
  annotations?: {
8482
8481
  priority?: number | null | undefined;
8483
8482
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8500,6 +8499,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8500
8499
  lastModified?: string | null | undefined;
8501
8500
  } | null | undefined;
8502
8501
  };
8502
+ type: "content";
8503
8503
  } | {
8504
8504
  type: "diff";
8505
8505
  path: string;
@@ -8577,41 +8577,41 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8577
8577
  name: z.ZodString;
8578
8578
  }, "strip", z.ZodTypeAny, {
8579
8579
  name: string;
8580
+ command: string;
8581
+ args: string[];
8580
8582
  env: {
8581
8583
  name: string;
8582
8584
  value: string;
8583
8585
  }[];
8584
- command: string;
8585
- args: string[];
8586
8586
  }, {
8587
8587
  name: string;
8588
+ command: string;
8589
+ args: string[];
8588
8590
  env: {
8589
8591
  name: string;
8590
8592
  value: string;
8591
8593
  }[];
8592
- command: string;
8593
- args: string[];
8594
8594
  }>, "many">;
8595
8595
  }, "strip", z.ZodTypeAny, {
8596
8596
  mcpServers: {
8597
8597
  name: string;
8598
+ command: string;
8599
+ args: string[];
8598
8600
  env: {
8599
8601
  name: string;
8600
8602
  value: string;
8601
8603
  }[];
8602
- command: string;
8603
- args: string[];
8604
8604
  }[];
8605
8605
  cwd: string;
8606
8606
  }, {
8607
8607
  mcpServers: {
8608
8608
  name: string;
8609
+ command: string;
8610
+ args: string[];
8609
8611
  env: {
8610
8612
  name: string;
8611
8613
  value: string;
8612
8614
  }[];
8613
- command: string;
8614
- args: string[];
8615
8615
  }[];
8616
8616
  cwd: string;
8617
8617
  }>, z.ZodObject<{
@@ -8632,43 +8632,43 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8632
8632
  name: z.ZodString;
8633
8633
  }, "strip", z.ZodTypeAny, {
8634
8634
  name: string;
8635
+ command: string;
8636
+ args: string[];
8635
8637
  env: {
8636
8638
  name: string;
8637
8639
  value: string;
8638
8640
  }[];
8639
- command: string;
8640
- args: string[];
8641
8641
  }, {
8642
8642
  name: string;
8643
+ command: string;
8644
+ args: string[];
8643
8645
  env: {
8644
8646
  name: string;
8645
8647
  value: string;
8646
8648
  }[];
8647
- command: string;
8648
- args: string[];
8649
8649
  }>, "many">;
8650
8650
  sessionId: z.ZodString;
8651
8651
  }, "strip", z.ZodTypeAny, {
8652
8652
  mcpServers: {
8653
8653
  name: string;
8654
+ command: string;
8655
+ args: string[];
8654
8656
  env: {
8655
8657
  name: string;
8656
8658
  value: string;
8657
8659
  }[];
8658
- command: string;
8659
- args: string[];
8660
8660
  }[];
8661
8661
  cwd: string;
8662
8662
  sessionId: string;
8663
8663
  }, {
8664
8664
  mcpServers: {
8665
8665
  name: string;
8666
+ command: string;
8667
+ args: string[];
8666
8668
  env: {
8667
8669
  name: string;
8668
8670
  value: string;
8669
8671
  }[];
8670
- command: string;
8671
- args: string[];
8672
8672
  }[];
8673
8673
  cwd: string;
8674
8674
  sessionId: string;
@@ -8800,10 +8800,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8800
8800
  type: "resource_link";
8801
8801
  name: string;
8802
8802
  uri: string;
8803
+ size?: number | null | undefined;
8803
8804
  description?: string | null | undefined;
8804
8805
  title?: string | null | undefined;
8805
8806
  mimeType?: string | null | undefined;
8806
- size?: number | null | undefined;
8807
8807
  annotations?: {
8808
8808
  priority?: number | null | undefined;
8809
8809
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8813,10 +8813,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8813
8813
  type: "resource_link";
8814
8814
  name: string;
8815
8815
  uri: string;
8816
+ size?: number | null | undefined;
8816
8817
  description?: string | null | undefined;
8817
8818
  title?: string | null | undefined;
8818
8819
  mimeType?: string | null | undefined;
8819
- size?: number | null | undefined;
8820
8820
  annotations?: {
8821
8821
  priority?: number | null | undefined;
8822
8822
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8897,6 +8897,7 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8897
8897
  }>]>, "many">;
8898
8898
  sessionId: z.ZodString;
8899
8899
  }, "strip", z.ZodTypeAny, {
8900
+ sessionId: string;
8900
8901
  prompt: ({
8901
8902
  type: "text";
8902
8903
  text: string;
@@ -8927,10 +8928,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8927
8928
  type: "resource_link";
8928
8929
  name: string;
8929
8930
  uri: string;
8931
+ size?: number | null | undefined;
8930
8932
  description?: string | null | undefined;
8931
8933
  title?: string | null | undefined;
8932
8934
  mimeType?: string | null | undefined;
8933
- size?: number | null | undefined;
8934
8935
  annotations?: {
8935
8936
  priority?: number | null | undefined;
8936
8937
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8953,8 +8954,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8953
8954
  lastModified?: string | null | undefined;
8954
8955
  } | null | undefined;
8955
8956
  })[];
8956
- sessionId: string;
8957
8957
  }, {
8958
+ sessionId: string;
8958
8959
  prompt: ({
8959
8960
  type: "text";
8960
8961
  text: string;
@@ -8985,10 +8986,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8985
8986
  type: "resource_link";
8986
8987
  name: string;
8987
8988
  uri: string;
8989
+ size?: number | null | undefined;
8988
8990
  description?: string | null | undefined;
8989
8991
  title?: string | null | undefined;
8990
8992
  mimeType?: string | null | undefined;
8991
- size?: number | null | undefined;
8992
8993
  annotations?: {
8993
8994
  priority?: number | null | undefined;
8994
8995
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9011,7 +9012,6 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
9011
9012
  lastModified?: string | null | undefined;
9012
9013
  } | null | undefined;
9013
9014
  })[];
9014
- sessionId: string;
9015
9015
  }>]>;
9016
9016
  export declare const agentNotificationSchema: z.ZodObject<{
9017
9017
  sessionId: z.ZodString;
@@ -9143,10 +9143,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9143
9143
  type: "resource_link";
9144
9144
  name: string;
9145
9145
  uri: string;
9146
+ size?: number | null | undefined;
9146
9147
  description?: string | null | undefined;
9147
9148
  title?: string | null | undefined;
9148
9149
  mimeType?: string | null | undefined;
9149
- size?: number | null | undefined;
9150
9150
  annotations?: {
9151
9151
  priority?: number | null | undefined;
9152
9152
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9156,10 +9156,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9156
9156
  type: "resource_link";
9157
9157
  name: string;
9158
9158
  uri: string;
9159
+ size?: number | null | undefined;
9159
9160
  description?: string | null | undefined;
9160
9161
  title?: string | null | undefined;
9161
9162
  mimeType?: string | null | undefined;
9162
- size?: number | null | undefined;
9163
9163
  annotations?: {
9164
9164
  priority?: number | null | undefined;
9165
9165
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9270,10 +9270,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9270
9270
  type: "resource_link";
9271
9271
  name: string;
9272
9272
  uri: string;
9273
+ size?: number | null | undefined;
9273
9274
  description?: string | null | undefined;
9274
9275
  title?: string | null | undefined;
9275
9276
  mimeType?: string | null | undefined;
9276
- size?: number | null | undefined;
9277
9277
  annotations?: {
9278
9278
  priority?: number | null | undefined;
9279
9279
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9328,10 +9328,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9328
9328
  type: "resource_link";
9329
9329
  name: string;
9330
9330
  uri: string;
9331
+ size?: number | null | undefined;
9331
9332
  description?: string | null | undefined;
9332
9333
  title?: string | null | undefined;
9333
9334
  mimeType?: string | null | undefined;
9334
- size?: number | null | undefined;
9335
9335
  annotations?: {
9336
9336
  priority?: number | null | undefined;
9337
9337
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9483,10 +9483,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9483
9483
  type: "resource_link";
9484
9484
  name: string;
9485
9485
  uri: string;
9486
+ size?: number | null | undefined;
9486
9487
  description?: string | null | undefined;
9487
9488
  title?: string | null | undefined;
9488
9489
  mimeType?: string | null | undefined;
9489
- size?: number | null | undefined;
9490
9490
  annotations?: {
9491
9491
  priority?: number | null | undefined;
9492
9492
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9496,10 +9496,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9496
9496
  type: "resource_link";
9497
9497
  name: string;
9498
9498
  uri: string;
9499
+ size?: number | null | undefined;
9499
9500
  description?: string | null | undefined;
9500
9501
  title?: string | null | undefined;
9501
9502
  mimeType?: string | null | undefined;
9502
- size?: number | null | undefined;
9503
9503
  annotations?: {
9504
9504
  priority?: number | null | undefined;
9505
9505
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9610,10 +9610,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9610
9610
  type: "resource_link";
9611
9611
  name: string;
9612
9612
  uri: string;
9613
+ size?: number | null | undefined;
9613
9614
  description?: string | null | undefined;
9614
9615
  title?: string | null | undefined;
9615
9616
  mimeType?: string | null | undefined;
9616
- size?: number | null | undefined;
9617
9617
  annotations?: {
9618
9618
  priority?: number | null | undefined;
9619
9619
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9668,10 +9668,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9668
9668
  type: "resource_link";
9669
9669
  name: string;
9670
9670
  uri: string;
9671
+ size?: number | null | undefined;
9671
9672
  description?: string | null | undefined;
9672
9673
  title?: string | null | undefined;
9673
9674
  mimeType?: string | null | undefined;
9674
- size?: number | null | undefined;
9675
9675
  annotations?: {
9676
9676
  priority?: number | null | undefined;
9677
9677
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9823,10 +9823,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9823
9823
  type: "resource_link";
9824
9824
  name: string;
9825
9825
  uri: string;
9826
+ size?: number | null | undefined;
9826
9827
  description?: string | null | undefined;
9827
9828
  title?: string | null | undefined;
9828
9829
  mimeType?: string | null | undefined;
9829
- size?: number | null | undefined;
9830
9830
  annotations?: {
9831
9831
  priority?: number | null | undefined;
9832
9832
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9836,10 +9836,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9836
9836
  type: "resource_link";
9837
9837
  name: string;
9838
9838
  uri: string;
9839
+ size?: number | null | undefined;
9839
9840
  description?: string | null | undefined;
9840
9841
  title?: string | null | undefined;
9841
9842
  mimeType?: string | null | undefined;
9842
- size?: number | null | undefined;
9843
9843
  annotations?: {
9844
9844
  priority?: number | null | undefined;
9845
9845
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9950,10 +9950,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9950
9950
  type: "resource_link";
9951
9951
  name: string;
9952
9952
  uri: string;
9953
+ size?: number | null | undefined;
9953
9954
  description?: string | null | undefined;
9954
9955
  title?: string | null | undefined;
9955
9956
  mimeType?: string | null | undefined;
9956
- size?: number | null | undefined;
9957
9957
  annotations?: {
9958
9958
  priority?: number | null | undefined;
9959
9959
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10008,10 +10008,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10008
10008
  type: "resource_link";
10009
10009
  name: string;
10010
10010
  uri: string;
10011
+ size?: number | null | undefined;
10011
10012
  description?: string | null | undefined;
10012
10013
  title?: string | null | undefined;
10013
10014
  mimeType?: string | null | undefined;
10014
- size?: number | null | undefined;
10015
10015
  annotations?: {
10016
10016
  priority?: number | null | undefined;
10017
10017
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10164,10 +10164,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10164
10164
  type: "resource_link";
10165
10165
  name: string;
10166
10166
  uri: string;
10167
+ size?: number | null | undefined;
10167
10168
  description?: string | null | undefined;
10168
10169
  title?: string | null | undefined;
10169
10170
  mimeType?: string | null | undefined;
10170
- size?: number | null | undefined;
10171
10171
  annotations?: {
10172
10172
  priority?: number | null | undefined;
10173
10173
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10177,10 +10177,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10177
10177
  type: "resource_link";
10178
10178
  name: string;
10179
10179
  uri: string;
10180
+ size?: number | null | undefined;
10180
10181
  description?: string | null | undefined;
10181
10182
  title?: string | null | undefined;
10182
10183
  mimeType?: string | null | undefined;
10183
- size?: number | null | undefined;
10184
10184
  annotations?: {
10185
10185
  priority?: number | null | undefined;
10186
10186
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10261,7 +10261,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10261
10261
  }>]>;
10262
10262
  type: z.ZodLiteral<"content">;
10263
10263
  }, "strip", z.ZodTypeAny, {
10264
- type: "content";
10265
10264
  content: {
10266
10265
  type: "text";
10267
10266
  text: string;
@@ -10292,10 +10291,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10292
10291
  type: "resource_link";
10293
10292
  name: string;
10294
10293
  uri: string;
10294
+ size?: number | null | undefined;
10295
10295
  description?: string | null | undefined;
10296
10296
  title?: string | null | undefined;
10297
10297
  mimeType?: string | null | undefined;
10298
- size?: number | null | undefined;
10299
10298
  annotations?: {
10300
10299
  priority?: number | null | undefined;
10301
10300
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10318,8 +10317,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10318
10317
  lastModified?: string | null | undefined;
10319
10318
  } | null | undefined;
10320
10319
  };
10321
- }, {
10322
10320
  type: "content";
10321
+ }, {
10323
10322
  content: {
10324
10323
  type: "text";
10325
10324
  text: string;
@@ -10350,10 +10349,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10350
10349
  type: "resource_link";
10351
10350
  name: string;
10352
10351
  uri: string;
10352
+ size?: number | null | undefined;
10353
10353
  description?: string | null | undefined;
10354
10354
  title?: string | null | undefined;
10355
10355
  mimeType?: string | null | undefined;
10356
- size?: number | null | undefined;
10357
10356
  annotations?: {
10358
10357
  priority?: number | null | undefined;
10359
10358
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10376,6 +10375,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10376
10375
  lastModified?: string | null | undefined;
10377
10376
  } | null | undefined;
10378
10377
  };
10378
+ type: "content";
10379
10379
  }>, z.ZodObject<{
10380
10380
  newText: z.ZodString;
10381
10381
  oldText: z.ZodNullable<z.ZodString>;
@@ -10409,13 +10409,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
10409
10409
  title: z.ZodString;
10410
10410
  toolCallId: z.ZodString;
10411
10411
  }, "strip", z.ZodTypeAny, {
10412
- status: "completed" | "failed" | "pending" | "in_progress";
10412
+ status: "completed" | "pending" | "in_progress" | "failed";
10413
10413
  title: string;
10414
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
10414
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
10415
10415
  toolCallId: string;
10416
10416
  sessionUpdate: "tool_call";
10417
10417
  content?: ({
10418
- type: "content";
10419
10418
  content: {
10420
10419
  type: "text";
10421
10420
  text: string;
@@ -10446,10 +10445,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10446
10445
  type: "resource_link";
10447
10446
  name: string;
10448
10447
  uri: string;
10448
+ size?: number | null | undefined;
10449
10449
  description?: string | null | undefined;
10450
10450
  title?: string | null | undefined;
10451
10451
  mimeType?: string | null | undefined;
10452
- size?: number | null | undefined;
10453
10452
  annotations?: {
10454
10453
  priority?: number | null | undefined;
10455
10454
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10472,6 +10471,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10472
10471
  lastModified?: string | null | undefined;
10473
10472
  } | null | undefined;
10474
10473
  };
10474
+ type: "content";
10475
10475
  } | {
10476
10476
  type: "diff";
10477
10477
  path: string;
@@ -10484,13 +10484,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
10484
10484
  }[] | undefined;
10485
10485
  rawInput?: unknown;
10486
10486
  }, {
10487
- status: "completed" | "failed" | "pending" | "in_progress";
10487
+ status: "completed" | "pending" | "in_progress" | "failed";
10488
10488
  title: string;
10489
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
10489
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
10490
10490
  toolCallId: string;
10491
10491
  sessionUpdate: "tool_call";
10492
10492
  content?: ({
10493
- type: "content";
10494
10493
  content: {
10495
10494
  type: "text";
10496
10495
  text: string;
@@ -10521,10 +10520,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10521
10520
  type: "resource_link";
10522
10521
  name: string;
10523
10522
  uri: string;
10523
+ size?: number | null | undefined;
10524
10524
  description?: string | null | undefined;
10525
10525
  title?: string | null | undefined;
10526
10526
  mimeType?: string | null | undefined;
10527
- size?: number | null | undefined;
10528
10527
  annotations?: {
10529
10528
  priority?: number | null | undefined;
10530
10529
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10547,6 +10546,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10547
10546
  lastModified?: string | null | undefined;
10548
10547
  } | null | undefined;
10549
10548
  };
10549
+ type: "content";
10550
10550
  } | {
10551
10551
  type: "diff";
10552
10552
  path: string;
@@ -10687,10 +10687,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10687
10687
  type: "resource_link";
10688
10688
  name: string;
10689
10689
  uri: string;
10690
+ size?: number | null | undefined;
10690
10691
  description?: string | null | undefined;
10691
10692
  title?: string | null | undefined;
10692
10693
  mimeType?: string | null | undefined;
10693
- size?: number | null | undefined;
10694
10694
  annotations?: {
10695
10695
  priority?: number | null | undefined;
10696
10696
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10700,10 +10700,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10700
10700
  type: "resource_link";
10701
10701
  name: string;
10702
10702
  uri: string;
10703
+ size?: number | null | undefined;
10703
10704
  description?: string | null | undefined;
10704
10705
  title?: string | null | undefined;
10705
10706
  mimeType?: string | null | undefined;
10706
- size?: number | null | undefined;
10707
10707
  annotations?: {
10708
10708
  priority?: number | null | undefined;
10709
10709
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10784,7 +10784,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10784
10784
  }>]>;
10785
10785
  type: z.ZodLiteral<"content">;
10786
10786
  }, "strip", z.ZodTypeAny, {
10787
- type: "content";
10788
10787
  content: {
10789
10788
  type: "text";
10790
10789
  text: string;
@@ -10815,10 +10814,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10815
10814
  type: "resource_link";
10816
10815
  name: string;
10817
10816
  uri: string;
10817
+ size?: number | null | undefined;
10818
10818
  description?: string | null | undefined;
10819
10819
  title?: string | null | undefined;
10820
10820
  mimeType?: string | null | undefined;
10821
- size?: number | null | undefined;
10822
10821
  annotations?: {
10823
10822
  priority?: number | null | undefined;
10824
10823
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10841,8 +10840,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10841
10840
  lastModified?: string | null | undefined;
10842
10841
  } | null | undefined;
10843
10842
  };
10844
- }, {
10845
10843
  type: "content";
10844
+ }, {
10846
10845
  content: {
10847
10846
  type: "text";
10848
10847
  text: string;
@@ -10873,10 +10872,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10873
10872
  type: "resource_link";
10874
10873
  name: string;
10875
10874
  uri: string;
10875
+ size?: number | null | undefined;
10876
10876
  description?: string | null | undefined;
10877
10877
  title?: string | null | undefined;
10878
10878
  mimeType?: string | null | undefined;
10879
- size?: number | null | undefined;
10880
10879
  annotations?: {
10881
10880
  priority?: number | null | undefined;
10882
10881
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10899,6 +10898,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10899
10898
  lastModified?: string | null | undefined;
10900
10899
  } | null | undefined;
10901
10900
  };
10901
+ type: "content";
10902
10902
  }>, z.ZodObject<{
10903
10903
  newText: z.ZodString;
10904
10904
  oldText: z.ZodNullable<z.ZodString>;
@@ -10934,10 +10934,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10934
10934
  }, "strip", z.ZodTypeAny, {
10935
10935
  toolCallId: string;
10936
10936
  sessionUpdate: "tool_call_update";
10937
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
10938
- title?: string | null | undefined;
10939
10937
  content?: ({
10940
- type: "content";
10941
10938
  content: {
10942
10939
  type: "text";
10943
10940
  text: string;
@@ -10968,10 +10965,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10968
10965
  type: "resource_link";
10969
10966
  name: string;
10970
10967
  uri: string;
10968
+ size?: number | null | undefined;
10971
10969
  description?: string | null | undefined;
10972
10970
  title?: string | null | undefined;
10973
10971
  mimeType?: string | null | undefined;
10974
- size?: number | null | undefined;
10975
10972
  annotations?: {
10976
10973
  priority?: number | null | undefined;
10977
10974
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10994,13 +10991,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
10994
10991
  lastModified?: string | null | undefined;
10995
10992
  } | null | undefined;
10996
10993
  };
10994
+ type: "content";
10997
10995
  } | {
10998
10996
  type: "diff";
10999
10997
  path: string;
11000
10998
  newText: string;
11001
10999
  oldText: string | null;
11002
11000
  })[] | null | undefined;
11003
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
11001
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
11002
+ title?: string | null | undefined;
11003
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
11004
11004
  locations?: {
11005
11005
  path: string;
11006
11006
  line?: number | null | undefined;
@@ -11009,10 +11009,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11009
11009
  }, {
11010
11010
  toolCallId: string;
11011
11011
  sessionUpdate: "tool_call_update";
11012
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11013
- title?: string | null | undefined;
11014
11012
  content?: ({
11015
- type: "content";
11016
11013
  content: {
11017
11014
  type: "text";
11018
11015
  text: string;
@@ -11043,10 +11040,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11043
11040
  type: "resource_link";
11044
11041
  name: string;
11045
11042
  uri: string;
11043
+ size?: number | null | undefined;
11046
11044
  description?: string | null | undefined;
11047
11045
  title?: string | null | undefined;
11048
11046
  mimeType?: string | null | undefined;
11049
- size?: number | null | undefined;
11050
11047
  annotations?: {
11051
11048
  priority?: number | null | undefined;
11052
11049
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11069,13 +11066,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
11069
11066
  lastModified?: string | null | undefined;
11070
11067
  } | null | undefined;
11071
11068
  };
11069
+ type: "content";
11072
11070
  } | {
11073
11071
  type: "diff";
11074
11072
  path: string;
11075
11073
  newText: string;
11076
11074
  oldText: string | null;
11077
11075
  })[] | null | undefined;
11078
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
11076
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
11077
+ title?: string | null | undefined;
11078
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
11079
11079
  locations?: {
11080
11080
  path: string;
11081
11081
  line?: number | null | undefined;
@@ -11087,26 +11087,26 @@ export declare const agentNotificationSchema: z.ZodObject<{
11087
11087
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
11088
11088
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
11089
11089
  }, "strip", z.ZodTypeAny, {
11090
- status: "completed" | "pending" | "in_progress";
11091
11090
  content: string;
11091
+ status: "completed" | "pending" | "in_progress";
11092
11092
  priority: "medium" | "high" | "low";
11093
11093
  }, {
11094
- status: "completed" | "pending" | "in_progress";
11095
11094
  content: string;
11095
+ status: "completed" | "pending" | "in_progress";
11096
11096
  priority: "medium" | "high" | "low";
11097
11097
  }>, "many">;
11098
11098
  sessionUpdate: z.ZodLiteral<"plan">;
11099
11099
  }, "strip", z.ZodTypeAny, {
11100
11100
  entries: {
11101
- status: "completed" | "pending" | "in_progress";
11102
11101
  content: string;
11102
+ status: "completed" | "pending" | "in_progress";
11103
11103
  priority: "medium" | "high" | "low";
11104
11104
  }[];
11105
11105
  sessionUpdate: "plan";
11106
11106
  }, {
11107
11107
  entries: {
11108
- status: "completed" | "pending" | "in_progress";
11109
11108
  content: string;
11109
+ status: "completed" | "pending" | "in_progress";
11110
11110
  priority: "medium" | "high" | "low";
11111
11111
  }[];
11112
11112
  sessionUpdate: "plan";
@@ -11144,10 +11144,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11144
11144
  type: "resource_link";
11145
11145
  name: string;
11146
11146
  uri: string;
11147
+ size?: number | null | undefined;
11147
11148
  description?: string | null | undefined;
11148
11149
  title?: string | null | undefined;
11149
11150
  mimeType?: string | null | undefined;
11150
- size?: number | null | undefined;
11151
11151
  annotations?: {
11152
11152
  priority?: number | null | undefined;
11153
11153
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11202,10 +11202,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11202
11202
  type: "resource_link";
11203
11203
  name: string;
11204
11204
  uri: string;
11205
+ size?: number | null | undefined;
11205
11206
  description?: string | null | undefined;
11206
11207
  title?: string | null | undefined;
11207
11208
  mimeType?: string | null | undefined;
11208
- size?: number | null | undefined;
11209
11209
  annotations?: {
11210
11210
  priority?: number | null | undefined;
11211
11211
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11260,10 +11260,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11260
11260
  type: "resource_link";
11261
11261
  name: string;
11262
11262
  uri: string;
11263
+ size?: number | null | undefined;
11263
11264
  description?: string | null | undefined;
11264
11265
  title?: string | null | undefined;
11265
11266
  mimeType?: string | null | undefined;
11266
- size?: number | null | undefined;
11267
11267
  annotations?: {
11268
11268
  priority?: number | null | undefined;
11269
11269
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11288,13 +11288,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
11288
11288
  };
11289
11289
  sessionUpdate: "agent_thought_chunk";
11290
11290
  } | {
11291
- status: "completed" | "failed" | "pending" | "in_progress";
11291
+ status: "completed" | "pending" | "in_progress" | "failed";
11292
11292
  title: string;
11293
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
11293
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
11294
11294
  toolCallId: string;
11295
11295
  sessionUpdate: "tool_call";
11296
11296
  content?: ({
11297
- type: "content";
11298
11297
  content: {
11299
11298
  type: "text";
11300
11299
  text: string;
@@ -11325,10 +11324,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11325
11324
  type: "resource_link";
11326
11325
  name: string;
11327
11326
  uri: string;
11327
+ size?: number | null | undefined;
11328
11328
  description?: string | null | undefined;
11329
11329
  title?: string | null | undefined;
11330
11330
  mimeType?: string | null | undefined;
11331
- size?: number | null | undefined;
11332
11331
  annotations?: {
11333
11332
  priority?: number | null | undefined;
11334
11333
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11351,6 +11350,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11351
11350
  lastModified?: string | null | undefined;
11352
11351
  } | null | undefined;
11353
11352
  };
11353
+ type: "content";
11354
11354
  } | {
11355
11355
  type: "diff";
11356
11356
  path: string;
@@ -11365,10 +11365,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11365
11365
  } | {
11366
11366
  toolCallId: string;
11367
11367
  sessionUpdate: "tool_call_update";
11368
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11369
- title?: string | null | undefined;
11370
11368
  content?: ({
11371
- type: "content";
11372
11369
  content: {
11373
11370
  type: "text";
11374
11371
  text: string;
@@ -11399,10 +11396,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11399
11396
  type: "resource_link";
11400
11397
  name: string;
11401
11398
  uri: string;
11399
+ size?: number | null | undefined;
11402
11400
  description?: string | null | undefined;
11403
11401
  title?: string | null | undefined;
11404
11402
  mimeType?: string | null | undefined;
11405
- size?: number | null | undefined;
11406
11403
  annotations?: {
11407
11404
  priority?: number | null | undefined;
11408
11405
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11425,13 +11422,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
11425
11422
  lastModified?: string | null | undefined;
11426
11423
  } | null | undefined;
11427
11424
  };
11425
+ type: "content";
11428
11426
  } | {
11429
11427
  type: "diff";
11430
11428
  path: string;
11431
11429
  newText: string;
11432
11430
  oldText: string | null;
11433
11431
  })[] | null | undefined;
11434
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
11432
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
11433
+ title?: string | null | undefined;
11434
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
11435
11435
  locations?: {
11436
11436
  path: string;
11437
11437
  line?: number | null | undefined;
@@ -11439,8 +11439,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11439
11439
  rawInput?: unknown;
11440
11440
  } | {
11441
11441
  entries: {
11442
- status: "completed" | "pending" | "in_progress";
11443
11442
  content: string;
11443
+ status: "completed" | "pending" | "in_progress";
11444
11444
  priority: "medium" | "high" | "low";
11445
11445
  }[];
11446
11446
  sessionUpdate: "plan";
@@ -11478,10 +11478,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11478
11478
  type: "resource_link";
11479
11479
  name: string;
11480
11480
  uri: string;
11481
+ size?: number | null | undefined;
11481
11482
  description?: string | null | undefined;
11482
11483
  title?: string | null | undefined;
11483
11484
  mimeType?: string | null | undefined;
11484
- size?: number | null | undefined;
11485
11485
  annotations?: {
11486
11486
  priority?: number | null | undefined;
11487
11487
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11536,10 +11536,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11536
11536
  type: "resource_link";
11537
11537
  name: string;
11538
11538
  uri: string;
11539
+ size?: number | null | undefined;
11539
11540
  description?: string | null | undefined;
11540
11541
  title?: string | null | undefined;
11541
11542
  mimeType?: string | null | undefined;
11542
- size?: number | null | undefined;
11543
11543
  annotations?: {
11544
11544
  priority?: number | null | undefined;
11545
11545
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11594,10 +11594,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11594
11594
  type: "resource_link";
11595
11595
  name: string;
11596
11596
  uri: string;
11597
+ size?: number | null | undefined;
11597
11598
  description?: string | null | undefined;
11598
11599
  title?: string | null | undefined;
11599
11600
  mimeType?: string | null | undefined;
11600
- size?: number | null | undefined;
11601
11601
  annotations?: {
11602
11602
  priority?: number | null | undefined;
11603
11603
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11622,13 +11622,12 @@ export declare const agentNotificationSchema: z.ZodObject<{
11622
11622
  };
11623
11623
  sessionUpdate: "agent_thought_chunk";
11624
11624
  } | {
11625
- status: "completed" | "failed" | "pending" | "in_progress";
11625
+ status: "completed" | "pending" | "in_progress" | "failed";
11626
11626
  title: string;
11627
- kind: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch";
11627
+ kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
11628
11628
  toolCallId: string;
11629
11629
  sessionUpdate: "tool_call";
11630
11630
  content?: ({
11631
- type: "content";
11632
11631
  content: {
11633
11632
  type: "text";
11634
11633
  text: string;
@@ -11659,10 +11658,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11659
11658
  type: "resource_link";
11660
11659
  name: string;
11661
11660
  uri: string;
11661
+ size?: number | null | undefined;
11662
11662
  description?: string | null | undefined;
11663
11663
  title?: string | null | undefined;
11664
11664
  mimeType?: string | null | undefined;
11665
- size?: number | null | undefined;
11666
11665
  annotations?: {
11667
11666
  priority?: number | null | undefined;
11668
11667
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11685,6 +11684,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11685
11684
  lastModified?: string | null | undefined;
11686
11685
  } | null | undefined;
11687
11686
  };
11687
+ type: "content";
11688
11688
  } | {
11689
11689
  type: "diff";
11690
11690
  path: string;
@@ -11699,10 +11699,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11699
11699
  } | {
11700
11700
  toolCallId: string;
11701
11701
  sessionUpdate: "tool_call_update";
11702
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11703
- title?: string | null | undefined;
11704
11702
  content?: ({
11705
- type: "content";
11706
11703
  content: {
11707
11704
  type: "text";
11708
11705
  text: string;
@@ -11733,10 +11730,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11733
11730
  type: "resource_link";
11734
11731
  name: string;
11735
11732
  uri: string;
11733
+ size?: number | null | undefined;
11736
11734
  description?: string | null | undefined;
11737
11735
  title?: string | null | undefined;
11738
11736
  mimeType?: string | null | undefined;
11739
- size?: number | null | undefined;
11740
11737
  annotations?: {
11741
11738
  priority?: number | null | undefined;
11742
11739
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11759,13 +11756,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
11759
11756
  lastModified?: string | null | undefined;
11760
11757
  } | null | undefined;
11761
11758
  };
11759
+ type: "content";
11762
11760
  } | {
11763
11761
  type: "diff";
11764
11762
  path: string;
11765
11763
  newText: string;
11766
11764
  oldText: string | null;
11767
11765
  })[] | null | undefined;
11768
- kind?: "search" | "edit" | "other" | "delete" | "move" | "read" | "execute" | "think" | "fetch" | null | undefined;
11766
+ status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
11767
+ title?: string | null | undefined;
11768
+ kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
11769
11769
  locations?: {
11770
11770
  path: string;
11771
11771
  line?: number | null | undefined;
@@ -11773,8 +11773,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11773
11773
  rawInput?: unknown;
11774
11774
  } | {
11775
11775
  entries: {
11776
- status: "completed" | "pending" | "in_progress";
11777
11776
  content: string;
11777
+ status: "completed" | "pending" | "in_progress";
11778
11778
  priority: "medium" | "high" | "low";
11779
11779
  }[];
11780
11780
  sessionUpdate: "plan";