@umsai/ums-code 0.1.4-v2 → 0.3.0-v1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/dist/package.json +11 -3
  2. package/dist/src/config/config.d.ts +6 -0
  3. package/dist/src/config/config.js +102 -11
  4. package/dist/src/config/config.js.map +1 -1
  5. package/dist/src/config/settings.d.ts +5 -0
  6. package/dist/src/config/settings.js +15 -1
  7. package/dist/src/config/settings.js.map +1 -1
  8. package/dist/src/config/settingsSchema.d.ts +75 -17
  9. package/dist/src/config/settingsSchema.js +57 -17
  10. package/dist/src/config/settingsSchema.js.map +1 -1
  11. package/dist/src/config/webSearch.d.ts +35 -0
  12. package/dist/src/config/webSearch.js +87 -0
  13. package/dist/src/config/webSearch.js.map +1 -0
  14. package/dist/src/core/auth.d.ts +1 -1
  15. package/dist/src/core/auth.js +19 -3
  16. package/dist/src/core/auth.js.map +1 -1
  17. package/dist/src/core/initializer.js +13 -2
  18. package/dist/src/core/initializer.js.map +1 -1
  19. package/dist/src/core/theme.js +4 -1
  20. package/dist/src/core/theme.js.map +1 -1
  21. package/dist/src/gemini.d.ts +1 -1
  22. package/dist/src/gemini.js +53 -44
  23. package/dist/src/gemini.js.map +1 -1
  24. package/dist/src/gemini.test.js +117 -0
  25. package/dist/src/gemini.test.js.map +1 -1
  26. package/dist/src/generated/git-commit.d.ts +2 -2
  27. package/dist/src/generated/git-commit.js +2 -2
  28. package/dist/src/i18n/index.d.ts +18 -0
  29. package/dist/src/i18n/index.js +184 -0
  30. package/dist/src/i18n/index.js.map +1 -0
  31. package/dist/src/i18n/locales/en.js +1129 -0
  32. package/dist/src/i18n/locales/zh.js +1052 -0
  33. package/dist/src/nonInteractive/control/ControlContext.d.ts +63 -0
  34. package/dist/src/nonInteractive/control/ControlContext.js +31 -0
  35. package/dist/src/nonInteractive/control/ControlContext.js.map +1 -0
  36. package/dist/src/nonInteractive/control/ControlDispatcher.d.ts +86 -0
  37. package/dist/src/nonInteractive/control/ControlDispatcher.js +238 -0
  38. package/dist/src/nonInteractive/control/ControlDispatcher.js.map +1 -0
  39. package/dist/src/nonInteractive/control/ControlDispatcher.test.d.ts +6 -0
  40. package/dist/src/nonInteractive/control/ControlDispatcher.test.js +549 -0
  41. package/dist/src/nonInteractive/control/ControlDispatcher.test.js.map +1 -0
  42. package/dist/src/nonInteractive/control/ControlService.d.ts +78 -0
  43. package/dist/src/nonInteractive/control/ControlService.js +154 -0
  44. package/dist/src/nonInteractive/control/ControlService.js.map +1 -0
  45. package/dist/src/nonInteractive/control/controllers/baseController.d.ts +50 -0
  46. package/dist/src/nonInteractive/control/controllers/baseController.js +102 -0
  47. package/dist/src/nonInteractive/control/controllers/baseController.js.map +1 -0
  48. package/dist/src/nonInteractive/control/controllers/hookController.d.ts +25 -0
  49. package/dist/src/nonInteractive/control/controllers/hookController.js +42 -0
  50. package/dist/src/nonInteractive/control/controllers/hookController.js.map +1 -0
  51. package/dist/src/nonInteractive/control/controllers/mcpController.d.ts +42 -0
  52. package/dist/src/nonInteractive/control/controllers/mcpController.js +205 -0
  53. package/dist/src/nonInteractive/control/controllers/mcpController.js.map +1 -0
  54. package/dist/src/nonInteractive/control/controllers/permissionController.d.ts +78 -0
  55. package/dist/src/nonInteractive/control/controllers/permissionController.js +358 -0
  56. package/dist/src/nonInteractive/control/controllers/permissionController.js.map +1 -0
  57. package/dist/src/nonInteractive/control/controllers/systemController.d.ts +56 -0
  58. package/dist/src/nonInteractive/control/controllers/systemController.js +166 -0
  59. package/dist/src/nonInteractive/control/controllers/systemController.js.map +1 -0
  60. package/dist/src/nonInteractive/control/types/serviceAPIs.d.ts +120 -0
  61. package/dist/src/nonInteractive/control/types/serviceAPIs.js +7 -0
  62. package/dist/src/nonInteractive/control/types/serviceAPIs.js.map +1 -0
  63. package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.d.ts +446 -0
  64. package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.js +891 -0
  65. package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.js.map +1 -0
  66. package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.d.ts +6 -0
  67. package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.js +1197 -0
  68. package/dist/src/nonInteractive/io/BaseJsonOutputAdapter.test.js.map +1 -0
  69. package/dist/src/nonInteractive/io/JsonOutputAdapter.d.ts +29 -0
  70. package/dist/src/nonInteractive/io/JsonOutputAdapter.js +56 -0
  71. package/dist/src/nonInteractive/io/JsonOutputAdapter.js.map +1 -0
  72. package/dist/src/nonInteractive/io/JsonOutputAdapter.test.d.ts +6 -0
  73. package/dist/src/nonInteractive/io/JsonOutputAdapter.test.js +624 -0
  74. package/dist/src/nonInteractive/io/JsonOutputAdapter.test.js.map +1 -0
  75. package/dist/src/nonInteractive/io/StreamJsonInputReader.d.ts +16 -0
  76. package/dist/src/nonInteractive/io/StreamJsonInputReader.js +54 -0
  77. package/dist/src/nonInteractive/io/StreamJsonInputReader.js.map +1 -0
  78. package/dist/src/nonInteractive/io/StreamJsonInputReader.test.d.ts +6 -0
  79. package/dist/src/nonInteractive/io/StreamJsonInputReader.test.js +178 -0
  80. package/dist/src/nonInteractive/io/StreamJsonInputReader.test.js.map +1 -0
  81. package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.d.ts +69 -0
  82. package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.js +185 -0
  83. package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.js.map +1 -0
  84. package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.d.ts +6 -0
  85. package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.js +808 -0
  86. package/dist/src/nonInteractive/io/StreamJsonOutputAdapter.test.js.map +1 -0
  87. package/dist/src/nonInteractive/session.d.ts +23 -0
  88. package/dist/src/nonInteractive/session.js +549 -0
  89. package/dist/src/nonInteractive/session.js.map +1 -0
  90. package/dist/src/nonInteractive/session.test.d.ts +6 -0
  91. package/dist/src/nonInteractive/session.test.js +407 -0
  92. package/dist/src/nonInteractive/session.test.js.map +1 -0
  93. package/dist/src/nonInteractive/types.d.ts +344 -0
  94. package/dist/src/nonInteractive/types.js +78 -0
  95. package/dist/src/nonInteractive/types.js.map +1 -0
  96. package/dist/src/nonInteractiveCli.d.ts +21 -1
  97. package/dist/src/nonInteractiveCli.js +204 -57
  98. package/dist/src/nonInteractiveCli.js.map +1 -1
  99. package/dist/src/nonInteractiveCliCommands.d.ts +19 -1
  100. package/dist/src/nonInteractiveCliCommands.js +69 -4
  101. package/dist/src/nonInteractiveCliCommands.js.map +1 -1
  102. package/dist/src/services/BuiltinCommandLoader.js +2 -0
  103. package/dist/src/services/BuiltinCommandLoader.js.map +1 -1
  104. package/dist/src/services/FileCommandLoader.js +4 -1
  105. package/dist/src/services/FileCommandLoader.js.map +1 -1
  106. package/dist/src/ui/AppContainer.js +41 -38
  107. package/dist/src/ui/AppContainer.js.map +1 -1
  108. package/dist/src/ui/auth/AuthDialog.d.ts +1 -13
  109. package/dist/src/ui/auth/AuthDialog.js +41 -111
  110. package/dist/src/ui/auth/AuthDialog.js.map +1 -1
  111. package/dist/src/ui/auth/AuthDialog.test.js +49 -19
  112. package/dist/src/ui/auth/AuthDialog.test.js.map +1 -1
  113. package/dist/src/ui/auth/AuthInProgress.js +2 -1
  114. package/dist/src/ui/auth/AuthInProgress.js.map +1 -1
  115. package/dist/src/ui/auth/useAuth.d.ts +9 -8
  116. package/dist/src/ui/auth/useAuth.js +135 -63
  117. package/dist/src/ui/auth/useAuth.js.map +1 -1
  118. package/dist/src/ui/commands/aboutCommand.js +7 -31
  119. package/dist/src/ui/commands/aboutCommand.js.map +1 -1
  120. package/dist/src/ui/commands/agentsCommand.js +10 -3
  121. package/dist/src/ui/commands/agentsCommand.js.map +1 -1
  122. package/dist/src/ui/commands/approvalModeCommand.js +8 -329
  123. package/dist/src/ui/commands/approvalModeCommand.js.map +1 -1
  124. package/dist/src/ui/commands/approvalModeCommand.test.js +19 -263
  125. package/dist/src/ui/commands/approvalModeCommand.test.js.map +1 -1
  126. package/dist/src/ui/commands/authCommand.js +4 -1
  127. package/dist/src/ui/commands/authCommand.js.map +1 -1
  128. package/dist/src/ui/commands/bugCommand.js +13 -47
  129. package/dist/src/ui/commands/bugCommand.js.map +1 -1
  130. package/dist/src/ui/commands/chatCommand.js +51 -25
  131. package/dist/src/ui/commands/chatCommand.js.map +1 -1
  132. package/dist/src/ui/commands/clearCommand.js +6 -3
  133. package/dist/src/ui/commands/clearCommand.js.map +1 -1
  134. package/dist/src/ui/commands/compressCommand.js +9 -4
  135. package/dist/src/ui/commands/compressCommand.js.map +1 -1
  136. package/dist/src/ui/commands/copyCommand.js +4 -1
  137. package/dist/src/ui/commands/copyCommand.js.map +1 -1
  138. package/dist/src/ui/commands/directoryCommand.js +30 -12
  139. package/dist/src/ui/commands/directoryCommand.js.map +1 -1
  140. package/dist/src/ui/commands/docsCommand.js +9 -3
  141. package/dist/src/ui/commands/docsCommand.js.map +1 -1
  142. package/dist/src/ui/commands/editorCommand.js +4 -1
  143. package/dist/src/ui/commands/editorCommand.js.map +1 -1
  144. package/dist/src/ui/commands/extensionsCommand.js +10 -3
  145. package/dist/src/ui/commands/extensionsCommand.js.map +1 -1
  146. package/dist/src/ui/commands/helpCommand.js +4 -1
  147. package/dist/src/ui/commands/helpCommand.js.map +1 -1
  148. package/dist/src/ui/commands/ideCommand.js +23 -7
  149. package/dist/src/ui/commands/ideCommand.js.map +1 -1
  150. package/dist/src/ui/commands/initCommand.js +5 -3
  151. package/dist/src/ui/commands/initCommand.js.map +1 -1
  152. package/dist/src/ui/commands/languageCommand.d.ts +7 -0
  153. package/dist/src/ui/commands/languageCommand.js +386 -0
  154. package/dist/src/ui/commands/languageCommand.js.map +1 -0
  155. package/dist/src/ui/commands/mcpCommand.js +38 -18
  156. package/dist/src/ui/commands/mcpCommand.js.map +1 -1
  157. package/dist/src/ui/commands/memoryCommand.js +54 -25
  158. package/dist/src/ui/commands/memoryCommand.js.map +1 -1
  159. package/dist/src/ui/commands/modelCommand.js +9 -4
  160. package/dist/src/ui/commands/modelCommand.js.map +1 -1
  161. package/dist/src/ui/commands/permissionsCommand.js +4 -1
  162. package/dist/src/ui/commands/permissionsCommand.js.map +1 -1
  163. package/dist/src/ui/commands/quitCommand.js +7 -2
  164. package/dist/src/ui/commands/quitCommand.js.map +1 -1
  165. package/dist/src/ui/commands/settingsCommand.js +4 -1
  166. package/dist/src/ui/commands/settingsCommand.js.map +1 -1
  167. package/dist/src/ui/commands/setupGithubCommand.js +4 -1
  168. package/dist/src/ui/commands/setupGithubCommand.js.map +1 -1
  169. package/dist/src/ui/commands/statsCommand.js +11 -4
  170. package/dist/src/ui/commands/statsCommand.js.map +1 -1
  171. package/dist/src/ui/commands/summaryCommand.js +15 -8
  172. package/dist/src/ui/commands/summaryCommand.js.map +1 -1
  173. package/dist/src/ui/commands/terminalSetupCommand.js +9 -3
  174. package/dist/src/ui/commands/terminalSetupCommand.js.map +1 -1
  175. package/dist/src/ui/commands/themeCommand.js +4 -1
  176. package/dist/src/ui/commands/themeCommand.js.map +1 -1
  177. package/dist/src/ui/commands/toolsCommand.js +5 -2
  178. package/dist/src/ui/commands/toolsCommand.js.map +1 -1
  179. package/dist/src/ui/commands/types.d.ts +1 -1
  180. package/dist/src/ui/commands/types.js.map +1 -1
  181. package/dist/src/ui/commands/vimCommand.js +4 -1
  182. package/dist/src/ui/commands/vimCommand.js.map +1 -1
  183. package/dist/src/ui/components/AboutBox.d.ts +2 -9
  184. package/dist/src/ui/components/AboutBox.js +6 -2
  185. package/dist/src/ui/components/AboutBox.js.map +1 -1
  186. package/dist/src/ui/components/ApprovalModeDialog.d.ts +21 -0
  187. package/dist/src/ui/components/ApprovalModeDialog.js +68 -0
  188. package/dist/src/ui/components/ApprovalModeDialog.js.map +1 -0
  189. package/dist/src/ui/components/AutoAcceptIndicator.js +7 -6
  190. package/dist/src/ui/components/AutoAcceptIndicator.js.map +1 -1
  191. package/dist/src/ui/components/Composer.js +4 -3
  192. package/dist/src/ui/components/Composer.js.map +1 -1
  193. package/dist/src/ui/components/ConfigInitDisplay.js +7 -3
  194. package/dist/src/ui/components/ConfigInitDisplay.js.map +1 -1
  195. package/dist/src/ui/components/ContextSummaryDisplay.js +33 -9
  196. package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -1
  197. package/dist/src/ui/components/DialogManager.js +60 -13
  198. package/dist/src/ui/components/DialogManager.js.map +1 -1
  199. package/dist/src/ui/components/EditorSettingsDialog.js +8 -3
  200. package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -1
  201. package/dist/src/ui/components/Help.js +14 -4
  202. package/dist/src/ui/components/Help.js.map +1 -1
  203. package/dist/src/ui/components/HistoryItemDisplay.js +1 -1
  204. package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
  205. package/dist/src/ui/components/HistoryItemDisplay.test.js +17 -8
  206. package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -1
  207. package/dist/src/ui/components/InputPrompt.js +10 -136
  208. package/dist/src/ui/components/InputPrompt.js.map +1 -1
  209. package/dist/src/ui/components/LoadingIndicator.js +6 -1
  210. package/dist/src/ui/components/LoadingIndicator.js.map +1 -1
  211. package/dist/src/ui/components/ModelDialog.js +2 -1
  212. package/dist/src/ui/components/ModelDialog.js.map +1 -1
  213. package/dist/src/ui/components/ModelStatsDisplay.js +6 -5
  214. package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -1
  215. package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +19 -1
  216. package/dist/src/ui/components/OpenAIKeyPrompt.js +38 -6
  217. package/dist/src/ui/components/OpenAIKeyPrompt.js.map +1 -1
  218. package/dist/src/ui/components/ProQuotaDialog.js +5 -4
  219. package/dist/src/ui/components/ProQuotaDialog.js.map +1 -1
  220. package/dist/src/ui/components/QuitConfirmationDialog.js +6 -5
  221. package/dist/src/ui/components/QuitConfirmationDialog.js.map +1 -1
  222. package/dist/src/ui/components/QwenOAuthProgress.d.ts +2 -2
  223. package/dist/src/ui/components/QwenOAuthProgress.js +14 -7
  224. package/dist/src/ui/components/QwenOAuthProgress.js.map +1 -1
  225. package/dist/src/ui/components/QwenOAuthProgress.test.js +1 -0
  226. package/dist/src/ui/components/QwenOAuthProgress.test.js.map +1 -1
  227. package/dist/src/ui/components/SessionSummaryDisplay.js +2 -1
  228. package/dist/src/ui/components/SessionSummaryDisplay.js.map +1 -1
  229. package/dist/src/ui/components/SettingsDialog.d.ts +3 -1
  230. package/dist/src/ui/components/SettingsDialog.js +35 -12
  231. package/dist/src/ui/components/SettingsDialog.js.map +1 -1
  232. package/dist/src/ui/components/SettingsDialog.test.js +5 -4
  233. package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
  234. package/dist/src/ui/components/ShellConfirmationDialog.js +5 -4
  235. package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -1
  236. package/dist/src/ui/components/StatsDisplay.js +5 -4
  237. package/dist/src/ui/components/StatsDisplay.js.map +1 -1
  238. package/dist/src/ui/components/ThemeDialog.js +5 -2
  239. package/dist/src/ui/components/ThemeDialog.js.map +1 -1
  240. package/dist/src/ui/components/ToolStatsDisplay.js +3 -2
  241. package/dist/src/ui/components/ToolStatsDisplay.js.map +1 -1
  242. package/dist/src/ui/components/WelcomeBackDialog.js +13 -4
  243. package/dist/src/ui/components/WelcomeBackDialog.js.map +1 -1
  244. package/dist/src/ui/components/messages/CompressionMessage.js +10 -6
  245. package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -1
  246. package/dist/src/ui/components/messages/ToolConfirmationMessage.js +40 -29
  247. package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
  248. package/dist/src/ui/components/shared/BaseSelectionList.test.js +1 -1
  249. package/dist/src/ui/components/shared/BaseSelectionList.test.js.map +1 -1
  250. package/dist/src/ui/components/shared/ScopeSelector.js +3 -1
  251. package/dist/src/ui/components/shared/ScopeSelector.js.map +1 -1
  252. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +39 -26
  253. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +1 -1
  254. package/dist/src/ui/components/subagents/create/CreationSummary.js +20 -10
  255. package/dist/src/ui/components/subagents/create/CreationSummary.js.map +1 -1
  256. package/dist/src/ui/components/subagents/create/DescriptionInput.js +6 -3
  257. package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +1 -1
  258. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +7 -2
  259. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +1 -1
  260. package/dist/src/ui/components/subagents/create/LocationSelector.js +7 -2
  261. package/dist/src/ui/components/subagents/create/LocationSelector.js.map +1 -1
  262. package/dist/src/ui/components/subagents/create/ToolSelector.js +8 -7
  263. package/dist/src/ui/components/subagents/create/ToolSelector.js.map +1 -1
  264. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +29 -4
  265. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +1 -1
  266. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js +6 -3
  267. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js.map +1 -1
  268. package/dist/src/ui/components/subagents/manage/AgentEditStep.js +14 -5
  269. package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +1 -1
  270. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +13 -6
  271. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +1 -1
  272. package/dist/src/ui/components/subagents/manage/AgentViewerStep.js +3 -2
  273. package/dist/src/ui/components/subagents/manage/AgentViewerStep.js.map +1 -1
  274. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +14 -13
  275. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +1 -1
  276. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +8 -8
  277. package/dist/src/ui/components/views/McpStatus.js +28 -15
  278. package/dist/src/ui/components/views/McpStatus.js.map +1 -1
  279. package/dist/src/ui/components/views/ToolsList.js +2 -1
  280. package/dist/src/ui/components/views/ToolsList.js.map +1 -1
  281. package/dist/src/ui/contexts/UIActionsContext.d.ts +5 -4
  282. package/dist/src/ui/contexts/UIActionsContext.js +1 -0
  283. package/dist/src/ui/contexts/UIActionsContext.js.map +1 -1
  284. package/dist/src/ui/contexts/UIStateContext.d.ts +5 -7
  285. package/dist/src/ui/contexts/UIStateContext.js.map +1 -1
  286. package/dist/src/ui/editors/editorSettingsManager.js +1 -0
  287. package/dist/src/ui/editors/editorSettingsManager.js.map +1 -1
  288. package/dist/src/ui/hooks/atCommandProcessor.test.js +2 -0
  289. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
  290. package/dist/src/ui/hooks/slashCommandProcessor.d.ts +1 -0
  291. package/dist/src/ui/hooks/slashCommandProcessor.js +4 -7
  292. package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
  293. package/dist/src/ui/hooks/useApprovalModeCommand.d.ts +14 -0
  294. package/dist/src/ui/hooks/useApprovalModeCommand.js +33 -0
  295. package/dist/src/ui/hooks/useApprovalModeCommand.js.map +1 -0
  296. package/dist/src/ui/hooks/useAttentionNotifications.d.ts +14 -0
  297. package/dist/src/ui/hooks/useAttentionNotifications.js +41 -0
  298. package/dist/src/ui/hooks/useAttentionNotifications.js.map +1 -0
  299. package/dist/src/ui/hooks/useAttentionNotifications.test.d.ts +6 -0
  300. package/dist/src/ui/hooks/useAttentionNotifications.test.js +113 -0
  301. package/dist/src/ui/hooks/useAttentionNotifications.test.js.map +1 -0
  302. package/dist/src/ui/hooks/useCommandCompletion.d.ts +1 -4
  303. package/dist/src/ui/hooks/useCommandCompletion.js +1 -23
  304. package/dist/src/ui/hooks/useCommandCompletion.js.map +1 -1
  305. package/dist/src/ui/hooks/useDialogClose.d.ts +6 -3
  306. package/dist/src/ui/hooks/useDialogClose.js +5 -0
  307. package/dist/src/ui/hooks/useDialogClose.js.map +1 -1
  308. package/dist/src/ui/hooks/useGitBranchName.js +6 -3
  309. package/dist/src/ui/hooks/useGitBranchName.js.map +1 -1
  310. package/dist/src/ui/hooks/useGitBranchName.test.js +39 -21
  311. package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -1
  312. package/dist/src/ui/hooks/useInitializationAuthError.d.ts +22 -0
  313. package/dist/src/ui/hooks/useInitializationAuthError.js +40 -0
  314. package/dist/src/ui/hooks/useInitializationAuthError.js.map +1 -0
  315. package/dist/src/ui/hooks/usePhraseCycler.js +6 -4
  316. package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
  317. package/dist/src/ui/hooks/useQwenAuth.d.ts +7 -12
  318. package/dist/src/ui/hooks/useQwenAuth.js +4 -8
  319. package/dist/src/ui/hooks/useQwenAuth.js.map +1 -1
  320. package/dist/src/ui/hooks/useQwenAuth.test.js +72 -98
  321. package/dist/src/ui/hooks/useQwenAuth.test.js.map +1 -1
  322. package/dist/src/ui/hooks/useThemeCommand.js +8 -3
  323. package/dist/src/ui/hooks/useThemeCommand.js.map +1 -1
  324. package/dist/src/ui/models/availableModels.js +7 -2
  325. package/dist/src/ui/models/availableModels.js.map +1 -1
  326. package/dist/src/ui/types.d.ts +32 -14
  327. package/dist/src/ui/types.js.map +1 -1
  328. package/dist/src/ui/utils/clipboardUtils.js +3 -3
  329. package/dist/src/ui/utils/clipboardUtils.js.map +1 -1
  330. package/dist/src/ui/utils/commandUtils.d.ts +16 -0
  331. package/dist/src/ui/utils/commandUtils.js +16 -1
  332. package/dist/src/ui/utils/commandUtils.js.map +1 -1
  333. package/dist/src/ui/utils/commandUtils.test.js +5 -2
  334. package/dist/src/ui/utils/commandUtils.test.js.map +1 -1
  335. package/dist/src/ui/utils/terminalSetup.js +45 -18
  336. package/dist/src/ui/utils/terminalSetup.js.map +1 -1
  337. package/dist/src/utils/attentionNotification.d.ts +20 -0
  338. package/dist/src/utils/attentionNotification.js +34 -0
  339. package/dist/src/utils/attentionNotification.js.map +1 -0
  340. package/dist/src/utils/attentionNotification.test.d.ts +6 -0
  341. package/dist/src/utils/attentionNotification.test.js +46 -0
  342. package/dist/src/utils/attentionNotification.test.js.map +1 -0
  343. package/dist/src/utils/dialogScopeUtils.d.ts +0 -4
  344. package/dist/src/utils/dialogScopeUtils.js +5 -2
  345. package/dist/src/utils/dialogScopeUtils.js.map +1 -1
  346. package/dist/src/utils/errors.d.ts +10 -2
  347. package/dist/src/utils/errors.js +14 -13
  348. package/dist/src/utils/errors.js.map +1 -1
  349. package/dist/src/utils/errors.test.js +91 -54
  350. package/dist/src/utils/errors.test.js.map +1 -1
  351. package/dist/src/utils/nonInteractiveHelpers.d.ts +88 -0
  352. package/dist/src/utils/nonInteractiveHelpers.js +470 -0
  353. package/dist/src/utils/nonInteractiveHelpers.js.map +1 -0
  354. package/dist/src/utils/nonInteractiveHelpers.test.d.ts +6 -0
  355. package/dist/src/utils/nonInteractiveHelpers.test.js +945 -0
  356. package/dist/src/utils/nonInteractiveHelpers.test.js.map +1 -0
  357. package/dist/src/utils/sandbox.js +1 -1
  358. package/dist/src/utils/sandbox.js.map +1 -1
  359. package/dist/src/utils/settingsUtils.js +7 -1
  360. package/dist/src/utils/settingsUtils.js.map +1 -1
  361. package/dist/src/utils/systemInfo.d.ts +66 -0
  362. package/dist/src/utils/systemInfo.js +125 -0
  363. package/dist/src/utils/systemInfo.js.map +1 -0
  364. package/dist/src/utils/systemInfo.test.d.ts +6 -0
  365. package/dist/src/utils/systemInfo.test.js +259 -0
  366. package/dist/src/utils/systemInfo.test.js.map +1 -0
  367. package/dist/src/utils/systemInfoFields.d.ts +22 -0
  368. package/dist/src/utils/systemInfoFields.js +96 -0
  369. package/dist/src/utils/systemInfoFields.js.map +1 -0
  370. package/dist/src/utils/userStartupWarnings.js +9 -4
  371. package/dist/src/utils/userStartupWarnings.js.map +1 -1
  372. package/dist/src/validateNonInterActiveAuth.js +27 -6
  373. package/dist/src/validateNonInterActiveAuth.js.map +1 -1
  374. package/dist/src/zed-integration/acp.js +1 -2
  375. package/dist/src/zed-integration/acp.js.map +1 -1
  376. package/dist/src/zed-integration/schema.d.ts +506 -264
  377. package/dist/src/zed-integration/schema.js +13 -0
  378. package/dist/src/zed-integration/schema.js.map +1 -1
  379. package/dist/src/zed-integration/zedIntegration.js +376 -32
  380. package/dist/src/zed-integration/zedIntegration.js.map +1 -1
  381. package/dist/tsconfig.tsbuildinfo +1 -1
  382. package/package.json +12 -4
@@ -67,17 +67,20 @@ export type SessionNotification = z.infer<typeof sessionNotificationSchema>;
67
67
  export type ClientRequest = z.infer<typeof clientRequestSchema>;
68
68
  export type AgentRequest = z.infer<typeof agentRequestSchema>;
69
69
  export type AgentNotification = z.infer<typeof agentNotificationSchema>;
70
+ export type AvailableCommandInput = z.infer<typeof availableCommandInputSchema>;
71
+ export type AvailableCommand = z.infer<typeof availableCommandSchema>;
72
+ export type AvailableCommandsUpdate = z.infer<typeof availableCommandsUpdateSchema>;
70
73
  export declare const writeTextFileRequestSchema: z.ZodObject<{
71
74
  content: z.ZodString;
72
75
  path: z.ZodString;
73
76
  sessionId: z.ZodString;
74
77
  }, "strip", z.ZodTypeAny, {
75
- content: string;
76
78
  path: string;
79
+ content: string;
77
80
  sessionId: string;
78
81
  }, {
79
- content: string;
80
82
  path: string;
83
+ content: string;
81
84
  sessionId: string;
82
85
  }>;
83
86
  export declare const readTextFileRequestSchema: z.ZodObject<{
@@ -196,12 +199,12 @@ export declare const planEntrySchema: z.ZodObject<{
196
199
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
197
200
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
198
201
  }, "strip", z.ZodTypeAny, {
199
- content: string;
200
202
  status: "completed" | "pending" | "in_progress";
203
+ content: string;
201
204
  priority: "medium" | "high" | "low";
202
205
  }, {
203
- content: string;
204
206
  status: "completed" | "pending" | "in_progress";
207
+ content: string;
205
208
  priority: "medium" | "high" | "low";
206
209
  }>;
207
210
  export declare const permissionOptionSchema: z.ZodObject<{
@@ -757,10 +760,10 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
757
760
  type: "resource_link";
758
761
  name: string;
759
762
  uri: string;
760
- size?: number | null | undefined;
761
763
  description?: string | null | undefined;
762
764
  title?: string | null | undefined;
763
765
  mimeType?: string | null | undefined;
766
+ size?: number | null | undefined;
764
767
  annotations?: {
765
768
  priority?: number | null | undefined;
766
769
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -770,10 +773,10 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
770
773
  type: "resource_link";
771
774
  name: string;
772
775
  uri: string;
773
- size?: number | null | undefined;
774
776
  description?: string | null | undefined;
775
777
  title?: string | null | undefined;
776
778
  mimeType?: string | null | undefined;
779
+ size?: number | null | undefined;
777
780
  annotations?: {
778
781
  priority?: number | null | undefined;
779
782
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -980,10 +983,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
980
983
  type: "resource_link";
981
984
  name: string;
982
985
  uri: string;
983
- size?: number | null | undefined;
984
986
  description?: string | null | undefined;
985
987
  title?: string | null | undefined;
986
988
  mimeType?: string | null | undefined;
989
+ size?: number | null | undefined;
987
990
  annotations?: {
988
991
  priority?: number | null | undefined;
989
992
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -993,10 +996,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
993
996
  type: "resource_link";
994
997
  name: string;
995
998
  uri: string;
996
- size?: number | null | undefined;
997
999
  description?: string | null | undefined;
998
1000
  title?: string | null | undefined;
999
1001
  mimeType?: string | null | undefined;
1002
+ size?: number | null | undefined;
1000
1003
  annotations?: {
1001
1004
  priority?: number | null | undefined;
1002
1005
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1077,6 +1080,7 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1077
1080
  }>]>;
1078
1081
  type: z.ZodLiteral<"content">;
1079
1082
  }, "strip", z.ZodTypeAny, {
1083
+ type: "content";
1080
1084
  content: {
1081
1085
  type: "text";
1082
1086
  text: string;
@@ -1107,10 +1111,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1107
1111
  type: "resource_link";
1108
1112
  name: string;
1109
1113
  uri: string;
1110
- size?: number | null | undefined;
1111
1114
  description?: string | null | undefined;
1112
1115
  title?: string | null | undefined;
1113
1116
  mimeType?: string | null | undefined;
1117
+ size?: number | null | undefined;
1114
1118
  annotations?: {
1115
1119
  priority?: number | null | undefined;
1116
1120
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1133,8 +1137,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1133
1137
  lastModified?: string | null | undefined;
1134
1138
  } | null | undefined;
1135
1139
  };
1136
- type: "content";
1137
1140
  }, {
1141
+ type: "content";
1138
1142
  content: {
1139
1143
  type: "text";
1140
1144
  text: string;
@@ -1165,10 +1169,10 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1165
1169
  type: "resource_link";
1166
1170
  name: string;
1167
1171
  uri: string;
1168
- size?: number | null | undefined;
1169
1172
  description?: string | null | undefined;
1170
1173
  title?: string | null | undefined;
1171
1174
  mimeType?: string | null | undefined;
1175
+ size?: number | null | undefined;
1172
1176
  annotations?: {
1173
1177
  priority?: number | null | undefined;
1174
1178
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1191,7 +1195,6 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1191
1195
  lastModified?: string | null | undefined;
1192
1196
  } | null | undefined;
1193
1197
  };
1194
- type: "content";
1195
1198
  }>, z.ZodObject<{
1196
1199
  newText: z.ZodString;
1197
1200
  oldText: z.ZodNullable<z.ZodString>;
@@ -1337,10 +1340,10 @@ export declare const toolCallSchema: z.ZodObject<{
1337
1340
  type: "resource_link";
1338
1341
  name: string;
1339
1342
  uri: string;
1340
- size?: number | null | undefined;
1341
1343
  description?: string | null | undefined;
1342
1344
  title?: string | null | undefined;
1343
1345
  mimeType?: string | null | undefined;
1346
+ size?: number | null | undefined;
1344
1347
  annotations?: {
1345
1348
  priority?: number | null | undefined;
1346
1349
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1350,10 +1353,10 @@ export declare const toolCallSchema: z.ZodObject<{
1350
1353
  type: "resource_link";
1351
1354
  name: string;
1352
1355
  uri: string;
1353
- size?: number | null | undefined;
1354
1356
  description?: string | null | undefined;
1355
1357
  title?: string | null | undefined;
1356
1358
  mimeType?: string | null | undefined;
1359
+ size?: number | null | undefined;
1357
1360
  annotations?: {
1358
1361
  priority?: number | null | undefined;
1359
1362
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1434,6 +1437,7 @@ export declare const toolCallSchema: z.ZodObject<{
1434
1437
  }>]>;
1435
1438
  type: z.ZodLiteral<"content">;
1436
1439
  }, "strip", z.ZodTypeAny, {
1440
+ type: "content";
1437
1441
  content: {
1438
1442
  type: "text";
1439
1443
  text: string;
@@ -1464,10 +1468,10 @@ export declare const toolCallSchema: z.ZodObject<{
1464
1468
  type: "resource_link";
1465
1469
  name: string;
1466
1470
  uri: string;
1467
- size?: number | null | undefined;
1468
1471
  description?: string | null | undefined;
1469
1472
  title?: string | null | undefined;
1470
1473
  mimeType?: string | null | undefined;
1474
+ size?: number | null | undefined;
1471
1475
  annotations?: {
1472
1476
  priority?: number | null | undefined;
1473
1477
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1490,8 +1494,8 @@ export declare const toolCallSchema: z.ZodObject<{
1490
1494
  lastModified?: string | null | undefined;
1491
1495
  } | null | undefined;
1492
1496
  };
1493
- type: "content";
1494
1497
  }, {
1498
+ type: "content";
1495
1499
  content: {
1496
1500
  type: "text";
1497
1501
  text: string;
@@ -1522,10 +1526,10 @@ export declare const toolCallSchema: z.ZodObject<{
1522
1526
  type: "resource_link";
1523
1527
  name: string;
1524
1528
  uri: string;
1525
- size?: number | null | undefined;
1526
1529
  description?: string | null | undefined;
1527
1530
  title?: string | null | undefined;
1528
1531
  mimeType?: string | null | undefined;
1532
+ size?: number | null | undefined;
1529
1533
  annotations?: {
1530
1534
  priority?: number | null | undefined;
1531
1535
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1548,7 +1552,6 @@ export declare const toolCallSchema: z.ZodObject<{
1548
1552
  lastModified?: string | null | undefined;
1549
1553
  } | null | undefined;
1550
1554
  };
1551
- type: "content";
1552
1555
  }>, z.ZodObject<{
1553
1556
  newText: z.ZodString;
1554
1557
  oldText: z.ZodNullable<z.ZodString>;
@@ -1581,11 +1584,12 @@ export declare const toolCallSchema: z.ZodObject<{
1581
1584
  title: z.ZodString;
1582
1585
  toolCallId: z.ZodString;
1583
1586
  }, "strip", z.ZodTypeAny, {
1584
- status: "completed" | "pending" | "in_progress" | "failed";
1587
+ status: "completed" | "failed" | "pending" | "in_progress";
1585
1588
  title: string;
1586
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
1589
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
1587
1590
  toolCallId: string;
1588
1591
  content?: ({
1592
+ type: "content";
1589
1593
  content: {
1590
1594
  type: "text";
1591
1595
  text: string;
@@ -1616,10 +1620,10 @@ export declare const toolCallSchema: z.ZodObject<{
1616
1620
  type: "resource_link";
1617
1621
  name: string;
1618
1622
  uri: string;
1619
- size?: number | null | undefined;
1620
1623
  description?: string | null | undefined;
1621
1624
  title?: string | null | undefined;
1622
1625
  mimeType?: string | null | undefined;
1626
+ size?: number | null | undefined;
1623
1627
  annotations?: {
1624
1628
  priority?: number | null | undefined;
1625
1629
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1642,7 +1646,6 @@ export declare const toolCallSchema: z.ZodObject<{
1642
1646
  lastModified?: string | null | undefined;
1643
1647
  } | null | undefined;
1644
1648
  };
1645
- type: "content";
1646
1649
  } | {
1647
1650
  type: "diff";
1648
1651
  path: string;
@@ -1655,11 +1658,12 @@ export declare const toolCallSchema: z.ZodObject<{
1655
1658
  }[] | undefined;
1656
1659
  rawInput?: unknown;
1657
1660
  }, {
1658
- status: "completed" | "pending" | "in_progress" | "failed";
1661
+ status: "completed" | "failed" | "pending" | "in_progress";
1659
1662
  title: string;
1660
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
1663
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
1661
1664
  toolCallId: string;
1662
1665
  content?: ({
1666
+ type: "content";
1663
1667
  content: {
1664
1668
  type: "text";
1665
1669
  text: string;
@@ -1690,10 +1694,10 @@ export declare const toolCallSchema: z.ZodObject<{
1690
1694
  type: "resource_link";
1691
1695
  name: string;
1692
1696
  uri: string;
1693
- size?: number | null | undefined;
1694
1697
  description?: string | null | undefined;
1695
1698
  title?: string | null | undefined;
1696
1699
  mimeType?: string | null | undefined;
1700
+ size?: number | null | undefined;
1697
1701
  annotations?: {
1698
1702
  priority?: number | null | undefined;
1699
1703
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1716,7 +1720,6 @@ export declare const toolCallSchema: z.ZodObject<{
1716
1720
  lastModified?: string | null | undefined;
1717
1721
  } | null | undefined;
1718
1722
  };
1719
- type: "content";
1720
1723
  } | {
1721
1724
  type: "diff";
1722
1725
  path: string;
@@ -1879,10 +1882,10 @@ export declare const promptRequestSchema: z.ZodObject<{
1879
1882
  type: "resource_link";
1880
1883
  name: string;
1881
1884
  uri: string;
1882
- size?: number | null | undefined;
1883
1885
  description?: string | null | undefined;
1884
1886
  title?: string | null | undefined;
1885
1887
  mimeType?: string | null | undefined;
1888
+ size?: number | null | undefined;
1886
1889
  annotations?: {
1887
1890
  priority?: number | null | undefined;
1888
1891
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1892,10 +1895,10 @@ export declare const promptRequestSchema: z.ZodObject<{
1892
1895
  type: "resource_link";
1893
1896
  name: string;
1894
1897
  uri: string;
1895
- size?: number | null | undefined;
1896
1898
  description?: string | null | undefined;
1897
1899
  title?: string | null | undefined;
1898
1900
  mimeType?: string | null | undefined;
1901
+ size?: number | null | undefined;
1899
1902
  annotations?: {
1900
1903
  priority?: number | null | undefined;
1901
1904
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1976,7 +1979,6 @@ export declare const promptRequestSchema: z.ZodObject<{
1976
1979
  }>]>, "many">;
1977
1980
  sessionId: z.ZodString;
1978
1981
  }, "strip", z.ZodTypeAny, {
1979
- sessionId: string;
1980
1982
  prompt: ({
1981
1983
  type: "text";
1982
1984
  text: string;
@@ -2007,10 +2009,10 @@ export declare const promptRequestSchema: z.ZodObject<{
2007
2009
  type: "resource_link";
2008
2010
  name: string;
2009
2011
  uri: string;
2010
- size?: number | null | undefined;
2011
2012
  description?: string | null | undefined;
2012
2013
  title?: string | null | undefined;
2013
2014
  mimeType?: string | null | undefined;
2015
+ size?: number | null | undefined;
2014
2016
  annotations?: {
2015
2017
  priority?: number | null | undefined;
2016
2018
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2033,8 +2035,8 @@ export declare const promptRequestSchema: z.ZodObject<{
2033
2035
  lastModified?: string | null | undefined;
2034
2036
  } | null | undefined;
2035
2037
  })[];
2036
- }, {
2037
2038
  sessionId: string;
2039
+ }, {
2038
2040
  prompt: ({
2039
2041
  type: "text";
2040
2042
  text: string;
@@ -2065,10 +2067,10 @@ export declare const promptRequestSchema: z.ZodObject<{
2065
2067
  type: "resource_link";
2066
2068
  name: string;
2067
2069
  uri: string;
2068
- size?: number | null | undefined;
2069
2070
  description?: string | null | undefined;
2070
2071
  title?: string | null | undefined;
2071
2072
  mimeType?: string | null | undefined;
2073
+ size?: number | null | undefined;
2072
2074
  annotations?: {
2073
2075
  priority?: number | null | undefined;
2074
2076
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2091,6 +2093,81 @@ export declare const promptRequestSchema: z.ZodObject<{
2091
2093
  lastModified?: string | null | undefined;
2092
2094
  } | null | undefined;
2093
2095
  })[];
2096
+ sessionId: string;
2097
+ }>;
2098
+ export declare const availableCommandInputSchema: z.ZodObject<{
2099
+ hint: z.ZodString;
2100
+ }, "strip", z.ZodTypeAny, {
2101
+ hint: string;
2102
+ }, {
2103
+ hint: string;
2104
+ }>;
2105
+ export declare const availableCommandSchema: z.ZodObject<{
2106
+ description: z.ZodString;
2107
+ input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2108
+ hint: z.ZodString;
2109
+ }, "strip", z.ZodTypeAny, {
2110
+ hint: string;
2111
+ }, {
2112
+ hint: string;
2113
+ }>>>;
2114
+ name: z.ZodString;
2115
+ }, "strip", z.ZodTypeAny, {
2116
+ name: string;
2117
+ description: string;
2118
+ input?: {
2119
+ hint: string;
2120
+ } | null | undefined;
2121
+ }, {
2122
+ name: string;
2123
+ description: string;
2124
+ input?: {
2125
+ hint: string;
2126
+ } | null | undefined;
2127
+ }>;
2128
+ export declare const availableCommandsUpdateSchema: z.ZodObject<{
2129
+ availableCommands: z.ZodArray<z.ZodObject<{
2130
+ description: z.ZodString;
2131
+ input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2132
+ hint: z.ZodString;
2133
+ }, "strip", z.ZodTypeAny, {
2134
+ hint: string;
2135
+ }, {
2136
+ hint: string;
2137
+ }>>>;
2138
+ name: z.ZodString;
2139
+ }, "strip", z.ZodTypeAny, {
2140
+ name: string;
2141
+ description: string;
2142
+ input?: {
2143
+ hint: string;
2144
+ } | null | undefined;
2145
+ }, {
2146
+ name: string;
2147
+ description: string;
2148
+ input?: {
2149
+ hint: string;
2150
+ } | null | undefined;
2151
+ }>, "many">;
2152
+ sessionUpdate: z.ZodLiteral<"available_commands_update">;
2153
+ }, "strip", z.ZodTypeAny, {
2154
+ sessionUpdate: "available_commands_update";
2155
+ availableCommands: {
2156
+ name: string;
2157
+ description: string;
2158
+ input?: {
2159
+ hint: string;
2160
+ } | null | undefined;
2161
+ }[];
2162
+ }, {
2163
+ sessionUpdate: "available_commands_update";
2164
+ availableCommands: {
2165
+ name: string;
2166
+ description: string;
2167
+ input?: {
2168
+ hint: string;
2169
+ } | null | undefined;
2170
+ }[];
2094
2171
  }>;
2095
2172
  export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2096
2173
  content: z.ZodUnion<[z.ZodObject<{
@@ -2220,10 +2297,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2220
2297
  type: "resource_link";
2221
2298
  name: string;
2222
2299
  uri: string;
2223
- size?: number | null | undefined;
2224
2300
  description?: string | null | undefined;
2225
2301
  title?: string | null | undefined;
2226
2302
  mimeType?: string | null | undefined;
2303
+ size?: number | null | undefined;
2227
2304
  annotations?: {
2228
2305
  priority?: number | null | undefined;
2229
2306
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2233,10 +2310,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2233
2310
  type: "resource_link";
2234
2311
  name: string;
2235
2312
  uri: string;
2236
- size?: number | null | undefined;
2237
2313
  description?: string | null | undefined;
2238
2314
  title?: string | null | undefined;
2239
2315
  mimeType?: string | null | undefined;
2316
+ size?: number | null | undefined;
2240
2317
  annotations?: {
2241
2318
  priority?: number | null | undefined;
2242
2319
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2347,10 +2424,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2347
2424
  type: "resource_link";
2348
2425
  name: string;
2349
2426
  uri: string;
2350
- size?: number | null | undefined;
2351
2427
  description?: string | null | undefined;
2352
2428
  title?: string | null | undefined;
2353
2429
  mimeType?: string | null | undefined;
2430
+ size?: number | null | undefined;
2354
2431
  annotations?: {
2355
2432
  priority?: number | null | undefined;
2356
2433
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2405,10 +2482,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2405
2482
  type: "resource_link";
2406
2483
  name: string;
2407
2484
  uri: string;
2408
- size?: number | null | undefined;
2409
2485
  description?: string | null | undefined;
2410
2486
  title?: string | null | undefined;
2411
2487
  mimeType?: string | null | undefined;
2488
+ size?: number | null | undefined;
2412
2489
  annotations?: {
2413
2490
  priority?: number | null | undefined;
2414
2491
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2560,10 +2637,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2560
2637
  type: "resource_link";
2561
2638
  name: string;
2562
2639
  uri: string;
2563
- size?: number | null | undefined;
2564
2640
  description?: string | null | undefined;
2565
2641
  title?: string | null | undefined;
2566
2642
  mimeType?: string | null | undefined;
2643
+ size?: number | null | undefined;
2567
2644
  annotations?: {
2568
2645
  priority?: number | null | undefined;
2569
2646
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2573,10 +2650,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2573
2650
  type: "resource_link";
2574
2651
  name: string;
2575
2652
  uri: string;
2576
- size?: number | null | undefined;
2577
2653
  description?: string | null | undefined;
2578
2654
  title?: string | null | undefined;
2579
2655
  mimeType?: string | null | undefined;
2656
+ size?: number | null | undefined;
2580
2657
  annotations?: {
2581
2658
  priority?: number | null | undefined;
2582
2659
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2687,10 +2764,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2687
2764
  type: "resource_link";
2688
2765
  name: string;
2689
2766
  uri: string;
2690
- size?: number | null | undefined;
2691
2767
  description?: string | null | undefined;
2692
2768
  title?: string | null | undefined;
2693
2769
  mimeType?: string | null | undefined;
2770
+ size?: number | null | undefined;
2694
2771
  annotations?: {
2695
2772
  priority?: number | null | undefined;
2696
2773
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2745,10 +2822,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2745
2822
  type: "resource_link";
2746
2823
  name: string;
2747
2824
  uri: string;
2748
- size?: number | null | undefined;
2749
2825
  description?: string | null | undefined;
2750
2826
  title?: string | null | undefined;
2751
2827
  mimeType?: string | null | undefined;
2828
+ size?: number | null | undefined;
2752
2829
  annotations?: {
2753
2830
  priority?: number | null | undefined;
2754
2831
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2900,10 +2977,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2900
2977
  type: "resource_link";
2901
2978
  name: string;
2902
2979
  uri: string;
2903
- size?: number | null | undefined;
2904
2980
  description?: string | null | undefined;
2905
2981
  title?: string | null | undefined;
2906
2982
  mimeType?: string | null | undefined;
2983
+ size?: number | null | undefined;
2907
2984
  annotations?: {
2908
2985
  priority?: number | null | undefined;
2909
2986
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2913,10 +2990,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2913
2990
  type: "resource_link";
2914
2991
  name: string;
2915
2992
  uri: string;
2916
- size?: number | null | undefined;
2917
2993
  description?: string | null | undefined;
2918
2994
  title?: string | null | undefined;
2919
2995
  mimeType?: string | null | undefined;
2996
+ size?: number | null | undefined;
2920
2997
  annotations?: {
2921
2998
  priority?: number | null | undefined;
2922
2999
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3027,10 +3104,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3027
3104
  type: "resource_link";
3028
3105
  name: string;
3029
3106
  uri: string;
3030
- size?: number | null | undefined;
3031
3107
  description?: string | null | undefined;
3032
3108
  title?: string | null | undefined;
3033
3109
  mimeType?: string | null | undefined;
3110
+ size?: number | null | undefined;
3034
3111
  annotations?: {
3035
3112
  priority?: number | null | undefined;
3036
3113
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3085,10 +3162,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3085
3162
  type: "resource_link";
3086
3163
  name: string;
3087
3164
  uri: string;
3088
- size?: number | null | undefined;
3089
3165
  description?: string | null | undefined;
3090
3166
  title?: string | null | undefined;
3091
3167
  mimeType?: string | null | undefined;
3168
+ size?: number | null | undefined;
3092
3169
  annotations?: {
3093
3170
  priority?: number | null | undefined;
3094
3171
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3241,10 +3318,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3241
3318
  type: "resource_link";
3242
3319
  name: string;
3243
3320
  uri: string;
3244
- size?: number | null | undefined;
3245
3321
  description?: string | null | undefined;
3246
3322
  title?: string | null | undefined;
3247
3323
  mimeType?: string | null | undefined;
3324
+ size?: number | null | undefined;
3248
3325
  annotations?: {
3249
3326
  priority?: number | null | undefined;
3250
3327
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3254,10 +3331,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3254
3331
  type: "resource_link";
3255
3332
  name: string;
3256
3333
  uri: string;
3257
- size?: number | null | undefined;
3258
3334
  description?: string | null | undefined;
3259
3335
  title?: string | null | undefined;
3260
3336
  mimeType?: string | null | undefined;
3337
+ size?: number | null | undefined;
3261
3338
  annotations?: {
3262
3339
  priority?: number | null | undefined;
3263
3340
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3338,6 +3415,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3338
3415
  }>]>;
3339
3416
  type: z.ZodLiteral<"content">;
3340
3417
  }, "strip", z.ZodTypeAny, {
3418
+ type: "content";
3341
3419
  content: {
3342
3420
  type: "text";
3343
3421
  text: string;
@@ -3368,10 +3446,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3368
3446
  type: "resource_link";
3369
3447
  name: string;
3370
3448
  uri: string;
3371
- size?: number | null | undefined;
3372
3449
  description?: string | null | undefined;
3373
3450
  title?: string | null | undefined;
3374
3451
  mimeType?: string | null | undefined;
3452
+ size?: number | null | undefined;
3375
3453
  annotations?: {
3376
3454
  priority?: number | null | undefined;
3377
3455
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3394,8 +3472,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3394
3472
  lastModified?: string | null | undefined;
3395
3473
  } | null | undefined;
3396
3474
  };
3397
- type: "content";
3398
3475
  }, {
3476
+ type: "content";
3399
3477
  content: {
3400
3478
  type: "text";
3401
3479
  text: string;
@@ -3426,10 +3504,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3426
3504
  type: "resource_link";
3427
3505
  name: string;
3428
3506
  uri: string;
3429
- size?: number | null | undefined;
3430
3507
  description?: string | null | undefined;
3431
3508
  title?: string | null | undefined;
3432
3509
  mimeType?: string | null | undefined;
3510
+ size?: number | null | undefined;
3433
3511
  annotations?: {
3434
3512
  priority?: number | null | undefined;
3435
3513
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3452,7 +3530,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3452
3530
  lastModified?: string | null | undefined;
3453
3531
  } | null | undefined;
3454
3532
  };
3455
- type: "content";
3456
3533
  }>, z.ZodObject<{
3457
3534
  newText: z.ZodString;
3458
3535
  oldText: z.ZodNullable<z.ZodString>;
@@ -3486,12 +3563,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3486
3563
  title: z.ZodString;
3487
3564
  toolCallId: z.ZodString;
3488
3565
  }, "strip", z.ZodTypeAny, {
3489
- status: "completed" | "pending" | "in_progress" | "failed";
3566
+ status: "completed" | "failed" | "pending" | "in_progress";
3490
3567
  title: string;
3491
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
3568
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
3492
3569
  toolCallId: string;
3493
3570
  sessionUpdate: "tool_call";
3494
3571
  content?: ({
3572
+ type: "content";
3495
3573
  content: {
3496
3574
  type: "text";
3497
3575
  text: string;
@@ -3522,10 +3600,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3522
3600
  type: "resource_link";
3523
3601
  name: string;
3524
3602
  uri: string;
3525
- size?: number | null | undefined;
3526
3603
  description?: string | null | undefined;
3527
3604
  title?: string | null | undefined;
3528
3605
  mimeType?: string | null | undefined;
3606
+ size?: number | null | undefined;
3529
3607
  annotations?: {
3530
3608
  priority?: number | null | undefined;
3531
3609
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3548,7 +3626,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3548
3626
  lastModified?: string | null | undefined;
3549
3627
  } | null | undefined;
3550
3628
  };
3551
- type: "content";
3552
3629
  } | {
3553
3630
  type: "diff";
3554
3631
  path: string;
@@ -3561,12 +3638,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3561
3638
  }[] | undefined;
3562
3639
  rawInput?: unknown;
3563
3640
  }, {
3564
- status: "completed" | "pending" | "in_progress" | "failed";
3641
+ status: "completed" | "failed" | "pending" | "in_progress";
3565
3642
  title: string;
3566
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
3643
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
3567
3644
  toolCallId: string;
3568
3645
  sessionUpdate: "tool_call";
3569
3646
  content?: ({
3647
+ type: "content";
3570
3648
  content: {
3571
3649
  type: "text";
3572
3650
  text: string;
@@ -3597,10 +3675,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3597
3675
  type: "resource_link";
3598
3676
  name: string;
3599
3677
  uri: string;
3600
- size?: number | null | undefined;
3601
3678
  description?: string | null | undefined;
3602
3679
  title?: string | null | undefined;
3603
3680
  mimeType?: string | null | undefined;
3681
+ size?: number | null | undefined;
3604
3682
  annotations?: {
3605
3683
  priority?: number | null | undefined;
3606
3684
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3623,7 +3701,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3623
3701
  lastModified?: string | null | undefined;
3624
3702
  } | null | undefined;
3625
3703
  };
3626
- type: "content";
3627
3704
  } | {
3628
3705
  type: "diff";
3629
3706
  path: string;
@@ -3764,10 +3841,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3764
3841
  type: "resource_link";
3765
3842
  name: string;
3766
3843
  uri: string;
3767
- size?: number | null | undefined;
3768
3844
  description?: string | null | undefined;
3769
3845
  title?: string | null | undefined;
3770
3846
  mimeType?: string | null | undefined;
3847
+ size?: number | null | undefined;
3771
3848
  annotations?: {
3772
3849
  priority?: number | null | undefined;
3773
3850
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3777,10 +3854,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3777
3854
  type: "resource_link";
3778
3855
  name: string;
3779
3856
  uri: string;
3780
- size?: number | null | undefined;
3781
3857
  description?: string | null | undefined;
3782
3858
  title?: string | null | undefined;
3783
3859
  mimeType?: string | null | undefined;
3860
+ size?: number | null | undefined;
3784
3861
  annotations?: {
3785
3862
  priority?: number | null | undefined;
3786
3863
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3861,6 +3938,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3861
3938
  }>]>;
3862
3939
  type: z.ZodLiteral<"content">;
3863
3940
  }, "strip", z.ZodTypeAny, {
3941
+ type: "content";
3864
3942
  content: {
3865
3943
  type: "text";
3866
3944
  text: string;
@@ -3891,10 +3969,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3891
3969
  type: "resource_link";
3892
3970
  name: string;
3893
3971
  uri: string;
3894
- size?: number | null | undefined;
3895
3972
  description?: string | null | undefined;
3896
3973
  title?: string | null | undefined;
3897
3974
  mimeType?: string | null | undefined;
3975
+ size?: number | null | undefined;
3898
3976
  annotations?: {
3899
3977
  priority?: number | null | undefined;
3900
3978
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3917,8 +3995,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3917
3995
  lastModified?: string | null | undefined;
3918
3996
  } | null | undefined;
3919
3997
  };
3920
- type: "content";
3921
3998
  }, {
3999
+ type: "content";
3922
4000
  content: {
3923
4001
  type: "text";
3924
4002
  text: string;
@@ -3949,10 +4027,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3949
4027
  type: "resource_link";
3950
4028
  name: string;
3951
4029
  uri: string;
3952
- size?: number | null | undefined;
3953
4030
  description?: string | null | undefined;
3954
4031
  title?: string | null | undefined;
3955
4032
  mimeType?: string | null | undefined;
4033
+ size?: number | null | undefined;
3956
4034
  annotations?: {
3957
4035
  priority?: number | null | undefined;
3958
4036
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3975,7 +4053,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3975
4053
  lastModified?: string | null | undefined;
3976
4054
  } | null | undefined;
3977
4055
  };
3978
- type: "content";
3979
4056
  }>, z.ZodObject<{
3980
4057
  newText: z.ZodString;
3981
4058
  oldText: z.ZodNullable<z.ZodString>;
@@ -4011,7 +4088,9 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4011
4088
  }, "strip", z.ZodTypeAny, {
4012
4089
  toolCallId: string;
4013
4090
  sessionUpdate: "tool_call_update";
4091
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
4014
4092
  content?: ({
4093
+ type: "content";
4015
4094
  content: {
4016
4095
  type: "text";
4017
4096
  text: string;
@@ -4042,10 +4121,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4042
4121
  type: "resource_link";
4043
4122
  name: string;
4044
4123
  uri: string;
4045
- size?: number | null | undefined;
4046
4124
  description?: string | null | undefined;
4047
4125
  title?: string | null | undefined;
4048
4126
  mimeType?: string | null | undefined;
4127
+ size?: number | null | undefined;
4049
4128
  annotations?: {
4050
4129
  priority?: number | null | undefined;
4051
4130
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4068,16 +4147,14 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4068
4147
  lastModified?: string | null | undefined;
4069
4148
  } | null | undefined;
4070
4149
  };
4071
- type: "content";
4072
4150
  } | {
4073
4151
  type: "diff";
4074
4152
  path: string;
4075
4153
  newText: string;
4076
4154
  oldText: string | null;
4077
4155
  })[] | null | undefined;
4078
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
4079
4156
  title?: string | null | undefined;
4080
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
4157
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
4081
4158
  locations?: {
4082
4159
  path: string;
4083
4160
  line?: number | null | undefined;
@@ -4086,7 +4163,9 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4086
4163
  }, {
4087
4164
  toolCallId: string;
4088
4165
  sessionUpdate: "tool_call_update";
4166
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
4089
4167
  content?: ({
4168
+ type: "content";
4090
4169
  content: {
4091
4170
  type: "text";
4092
4171
  text: string;
@@ -4117,10 +4196,10 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4117
4196
  type: "resource_link";
4118
4197
  name: string;
4119
4198
  uri: string;
4120
- size?: number | null | undefined;
4121
4199
  description?: string | null | undefined;
4122
4200
  title?: string | null | undefined;
4123
4201
  mimeType?: string | null | undefined;
4202
+ size?: number | null | undefined;
4124
4203
  annotations?: {
4125
4204
  priority?: number | null | undefined;
4126
4205
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4143,16 +4222,14 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4143
4222
  lastModified?: string | null | undefined;
4144
4223
  } | null | undefined;
4145
4224
  };
4146
- type: "content";
4147
4225
  } | {
4148
4226
  type: "diff";
4149
4227
  path: string;
4150
4228
  newText: string;
4151
4229
  oldText: string | null;
4152
4230
  })[] | null | undefined;
4153
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
4154
4231
  title?: string | null | undefined;
4155
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
4232
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
4156
4233
  locations?: {
4157
4234
  path: string;
4158
4235
  line?: number | null | undefined;
@@ -4164,29 +4241,72 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4164
4241
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
4165
4242
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
4166
4243
  }, "strip", z.ZodTypeAny, {
4167
- content: string;
4168
4244
  status: "completed" | "pending" | "in_progress";
4245
+ content: string;
4169
4246
  priority: "medium" | "high" | "low";
4170
4247
  }, {
4171
- content: string;
4172
4248
  status: "completed" | "pending" | "in_progress";
4249
+ content: string;
4173
4250
  priority: "medium" | "high" | "low";
4174
4251
  }>, "many">;
4175
4252
  sessionUpdate: z.ZodLiteral<"plan">;
4176
4253
  }, "strip", z.ZodTypeAny, {
4177
4254
  entries: {
4178
- content: string;
4179
4255
  status: "completed" | "pending" | "in_progress";
4256
+ content: string;
4180
4257
  priority: "medium" | "high" | "low";
4181
4258
  }[];
4182
4259
  sessionUpdate: "plan";
4183
4260
  }, {
4184
4261
  entries: {
4185
- content: string;
4186
4262
  status: "completed" | "pending" | "in_progress";
4263
+ content: string;
4187
4264
  priority: "medium" | "high" | "low";
4188
4265
  }[];
4189
4266
  sessionUpdate: "plan";
4267
+ }>, z.ZodObject<{
4268
+ availableCommands: z.ZodArray<z.ZodObject<{
4269
+ description: z.ZodString;
4270
+ input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4271
+ hint: z.ZodString;
4272
+ }, "strip", z.ZodTypeAny, {
4273
+ hint: string;
4274
+ }, {
4275
+ hint: string;
4276
+ }>>>;
4277
+ name: z.ZodString;
4278
+ }, "strip", z.ZodTypeAny, {
4279
+ name: string;
4280
+ description: string;
4281
+ input?: {
4282
+ hint: string;
4283
+ } | null | undefined;
4284
+ }, {
4285
+ name: string;
4286
+ description: string;
4287
+ input?: {
4288
+ hint: string;
4289
+ } | null | undefined;
4290
+ }>, "many">;
4291
+ sessionUpdate: z.ZodLiteral<"available_commands_update">;
4292
+ }, "strip", z.ZodTypeAny, {
4293
+ sessionUpdate: "available_commands_update";
4294
+ availableCommands: {
4295
+ name: string;
4296
+ description: string;
4297
+ input?: {
4298
+ hint: string;
4299
+ } | null | undefined;
4300
+ }[];
4301
+ }, {
4302
+ sessionUpdate: "available_commands_update";
4303
+ availableCommands: {
4304
+ name: string;
4305
+ description: string;
4306
+ input?: {
4307
+ hint: string;
4308
+ } | null | undefined;
4309
+ }[];
4190
4310
  }>]>;
4191
4311
  export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4192
4312
  agentCapabilities: z.ZodObject<{
@@ -4420,10 +4540,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4420
4540
  type: "resource_link";
4421
4541
  name: string;
4422
4542
  uri: string;
4423
- size?: number | null | undefined;
4424
4543
  description?: string | null | undefined;
4425
4544
  title?: string | null | undefined;
4426
4545
  mimeType?: string | null | undefined;
4546
+ size?: number | null | undefined;
4427
4547
  annotations?: {
4428
4548
  priority?: number | null | undefined;
4429
4549
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4433,10 +4553,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4433
4553
  type: "resource_link";
4434
4554
  name: string;
4435
4555
  uri: string;
4436
- size?: number | null | undefined;
4437
4556
  description?: string | null | undefined;
4438
4557
  title?: string | null | undefined;
4439
4558
  mimeType?: string | null | undefined;
4559
+ size?: number | null | undefined;
4440
4560
  annotations?: {
4441
4561
  priority?: number | null | undefined;
4442
4562
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4517,6 +4637,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4517
4637
  }>]>;
4518
4638
  type: z.ZodLiteral<"content">;
4519
4639
  }, "strip", z.ZodTypeAny, {
4640
+ type: "content";
4520
4641
  content: {
4521
4642
  type: "text";
4522
4643
  text: string;
@@ -4547,10 +4668,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4547
4668
  type: "resource_link";
4548
4669
  name: string;
4549
4670
  uri: string;
4550
- size?: number | null | undefined;
4551
4671
  description?: string | null | undefined;
4552
4672
  title?: string | null | undefined;
4553
4673
  mimeType?: string | null | undefined;
4674
+ size?: number | null | undefined;
4554
4675
  annotations?: {
4555
4676
  priority?: number | null | undefined;
4556
4677
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4573,8 +4694,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4573
4694
  lastModified?: string | null | undefined;
4574
4695
  } | null | undefined;
4575
4696
  };
4576
- type: "content";
4577
4697
  }, {
4698
+ type: "content";
4578
4699
  content: {
4579
4700
  type: "text";
4580
4701
  text: string;
@@ -4605,10 +4726,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4605
4726
  type: "resource_link";
4606
4727
  name: string;
4607
4728
  uri: string;
4608
- size?: number | null | undefined;
4609
4729
  description?: string | null | undefined;
4610
4730
  title?: string | null | undefined;
4611
4731
  mimeType?: string | null | undefined;
4732
+ size?: number | null | undefined;
4612
4733
  annotations?: {
4613
4734
  priority?: number | null | undefined;
4614
4735
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4631,7 +4752,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4631
4752
  lastModified?: string | null | undefined;
4632
4753
  } | null | undefined;
4633
4754
  };
4634
- type: "content";
4635
4755
  }>, z.ZodObject<{
4636
4756
  newText: z.ZodString;
4637
4757
  oldText: z.ZodNullable<z.ZodString>;
@@ -4664,11 +4784,12 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4664
4784
  title: z.ZodString;
4665
4785
  toolCallId: z.ZodString;
4666
4786
  }, "strip", z.ZodTypeAny, {
4667
- status: "completed" | "pending" | "in_progress" | "failed";
4787
+ status: "completed" | "failed" | "pending" | "in_progress";
4668
4788
  title: string;
4669
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
4789
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
4670
4790
  toolCallId: string;
4671
4791
  content?: ({
4792
+ type: "content";
4672
4793
  content: {
4673
4794
  type: "text";
4674
4795
  text: string;
@@ -4699,10 +4820,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4699
4820
  type: "resource_link";
4700
4821
  name: string;
4701
4822
  uri: string;
4702
- size?: number | null | undefined;
4703
4823
  description?: string | null | undefined;
4704
4824
  title?: string | null | undefined;
4705
4825
  mimeType?: string | null | undefined;
4826
+ size?: number | null | undefined;
4706
4827
  annotations?: {
4707
4828
  priority?: number | null | undefined;
4708
4829
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4725,7 +4846,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4725
4846
  lastModified?: string | null | undefined;
4726
4847
  } | null | undefined;
4727
4848
  };
4728
- type: "content";
4729
4849
  } | {
4730
4850
  type: "diff";
4731
4851
  path: string;
@@ -4738,11 +4858,12 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4738
4858
  }[] | undefined;
4739
4859
  rawInput?: unknown;
4740
4860
  }, {
4741
- status: "completed" | "pending" | "in_progress" | "failed";
4861
+ status: "completed" | "failed" | "pending" | "in_progress";
4742
4862
  title: string;
4743
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
4863
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
4744
4864
  toolCallId: string;
4745
4865
  content?: ({
4866
+ type: "content";
4746
4867
  content: {
4747
4868
  type: "text";
4748
4869
  text: string;
@@ -4773,10 +4894,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4773
4894
  type: "resource_link";
4774
4895
  name: string;
4775
4896
  uri: string;
4776
- size?: number | null | undefined;
4777
4897
  description?: string | null | undefined;
4778
4898
  title?: string | null | undefined;
4779
4899
  mimeType?: string | null | undefined;
4900
+ size?: number | null | undefined;
4780
4901
  annotations?: {
4781
4902
  priority?: number | null | undefined;
4782
4903
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4799,7 +4920,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4799
4920
  lastModified?: string | null | undefined;
4800
4921
  } | null | undefined;
4801
4922
  };
4802
- type: "content";
4803
4923
  } | {
4804
4924
  type: "diff";
4805
4925
  path: string;
@@ -4820,11 +4940,12 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4820
4940
  }[];
4821
4941
  sessionId: string;
4822
4942
  toolCall: {
4823
- status: "completed" | "pending" | "in_progress" | "failed";
4943
+ status: "completed" | "failed" | "pending" | "in_progress";
4824
4944
  title: string;
4825
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
4945
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
4826
4946
  toolCallId: string;
4827
4947
  content?: ({
4948
+ type: "content";
4828
4949
  content: {
4829
4950
  type: "text";
4830
4951
  text: string;
@@ -4855,10 +4976,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4855
4976
  type: "resource_link";
4856
4977
  name: string;
4857
4978
  uri: string;
4858
- size?: number | null | undefined;
4859
4979
  description?: string | null | undefined;
4860
4980
  title?: string | null | undefined;
4861
4981
  mimeType?: string | null | undefined;
4982
+ size?: number | null | undefined;
4862
4983
  annotations?: {
4863
4984
  priority?: number | null | undefined;
4864
4985
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4881,7 +5002,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4881
5002
  lastModified?: string | null | undefined;
4882
5003
  } | null | undefined;
4883
5004
  };
4884
- type: "content";
4885
5005
  } | {
4886
5006
  type: "diff";
4887
5007
  path: string;
@@ -4902,11 +5022,12 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4902
5022
  }[];
4903
5023
  sessionId: string;
4904
5024
  toolCall: {
4905
- status: "completed" | "pending" | "in_progress" | "failed";
5025
+ status: "completed" | "failed" | "pending" | "in_progress";
4906
5026
  title: string;
4907
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
5027
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
4908
5028
  toolCallId: string;
4909
5029
  content?: ({
5030
+ type: "content";
4910
5031
  content: {
4911
5032
  type: "text";
4912
5033
  text: string;
@@ -4937,10 +5058,10 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4937
5058
  type: "resource_link";
4938
5059
  name: string;
4939
5060
  uri: string;
4940
- size?: number | null | undefined;
4941
5061
  description?: string | null | undefined;
4942
5062
  title?: string | null | undefined;
4943
5063
  mimeType?: string | null | undefined;
5064
+ size?: number | null | undefined;
4944
5065
  annotations?: {
4945
5066
  priority?: number | null | undefined;
4946
5067
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4963,7 +5084,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4963
5084
  lastModified?: string | null | undefined;
4964
5085
  } | null | undefined;
4965
5086
  };
4966
- type: "content";
4967
5087
  } | {
4968
5088
  type: "diff";
4969
5089
  path: string;
@@ -5148,10 +5268,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5148
5268
  type: "resource_link";
5149
5269
  name: string;
5150
5270
  uri: string;
5151
- size?: number | null | undefined;
5152
5271
  description?: string | null | undefined;
5153
5272
  title?: string | null | undefined;
5154
5273
  mimeType?: string | null | undefined;
5274
+ size?: number | null | undefined;
5155
5275
  annotations?: {
5156
5276
  priority?: number | null | undefined;
5157
5277
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5161,10 +5281,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5161
5281
  type: "resource_link";
5162
5282
  name: string;
5163
5283
  uri: string;
5164
- size?: number | null | undefined;
5165
5284
  description?: string | null | undefined;
5166
5285
  title?: string | null | undefined;
5167
5286
  mimeType?: string | null | undefined;
5287
+ size?: number | null | undefined;
5168
5288
  annotations?: {
5169
5289
  priority?: number | null | undefined;
5170
5290
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5275,10 +5395,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5275
5395
  type: "resource_link";
5276
5396
  name: string;
5277
5397
  uri: string;
5278
- size?: number | null | undefined;
5279
5398
  description?: string | null | undefined;
5280
5399
  title?: string | null | undefined;
5281
5400
  mimeType?: string | null | undefined;
5401
+ size?: number | null | undefined;
5282
5402
  annotations?: {
5283
5403
  priority?: number | null | undefined;
5284
5404
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5333,10 +5453,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5333
5453
  type: "resource_link";
5334
5454
  name: string;
5335
5455
  uri: string;
5336
- size?: number | null | undefined;
5337
5456
  description?: string | null | undefined;
5338
5457
  title?: string | null | undefined;
5339
5458
  mimeType?: string | null | undefined;
5459
+ size?: number | null | undefined;
5340
5460
  annotations?: {
5341
5461
  priority?: number | null | undefined;
5342
5462
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5488,10 +5608,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5488
5608
  type: "resource_link";
5489
5609
  name: string;
5490
5610
  uri: string;
5491
- size?: number | null | undefined;
5492
5611
  description?: string | null | undefined;
5493
5612
  title?: string | null | undefined;
5494
5613
  mimeType?: string | null | undefined;
5614
+ size?: number | null | undefined;
5495
5615
  annotations?: {
5496
5616
  priority?: number | null | undefined;
5497
5617
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5501,10 +5621,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5501
5621
  type: "resource_link";
5502
5622
  name: string;
5503
5623
  uri: string;
5504
- size?: number | null | undefined;
5505
5624
  description?: string | null | undefined;
5506
5625
  title?: string | null | undefined;
5507
5626
  mimeType?: string | null | undefined;
5627
+ size?: number | null | undefined;
5508
5628
  annotations?: {
5509
5629
  priority?: number | null | undefined;
5510
5630
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5615,10 +5735,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5615
5735
  type: "resource_link";
5616
5736
  name: string;
5617
5737
  uri: string;
5618
- size?: number | null | undefined;
5619
5738
  description?: string | null | undefined;
5620
5739
  title?: string | null | undefined;
5621
5740
  mimeType?: string | null | undefined;
5741
+ size?: number | null | undefined;
5622
5742
  annotations?: {
5623
5743
  priority?: number | null | undefined;
5624
5744
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5673,10 +5793,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5673
5793
  type: "resource_link";
5674
5794
  name: string;
5675
5795
  uri: string;
5676
- size?: number | null | undefined;
5677
5796
  description?: string | null | undefined;
5678
5797
  title?: string | null | undefined;
5679
5798
  mimeType?: string | null | undefined;
5799
+ size?: number | null | undefined;
5680
5800
  annotations?: {
5681
5801
  priority?: number | null | undefined;
5682
5802
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5828,10 +5948,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5828
5948
  type: "resource_link";
5829
5949
  name: string;
5830
5950
  uri: string;
5831
- size?: number | null | undefined;
5832
5951
  description?: string | null | undefined;
5833
5952
  title?: string | null | undefined;
5834
5953
  mimeType?: string | null | undefined;
5954
+ size?: number | null | undefined;
5835
5955
  annotations?: {
5836
5956
  priority?: number | null | undefined;
5837
5957
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5841,10 +5961,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5841
5961
  type: "resource_link";
5842
5962
  name: string;
5843
5963
  uri: string;
5844
- size?: number | null | undefined;
5845
5964
  description?: string | null | undefined;
5846
5965
  title?: string | null | undefined;
5847
5966
  mimeType?: string | null | undefined;
5967
+ size?: number | null | undefined;
5848
5968
  annotations?: {
5849
5969
  priority?: number | null | undefined;
5850
5970
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5955,10 +6075,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5955
6075
  type: "resource_link";
5956
6076
  name: string;
5957
6077
  uri: string;
5958
- size?: number | null | undefined;
5959
6078
  description?: string | null | undefined;
5960
6079
  title?: string | null | undefined;
5961
6080
  mimeType?: string | null | undefined;
6081
+ size?: number | null | undefined;
5962
6082
  annotations?: {
5963
6083
  priority?: number | null | undefined;
5964
6084
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6013,10 +6133,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6013
6133
  type: "resource_link";
6014
6134
  name: string;
6015
6135
  uri: string;
6016
- size?: number | null | undefined;
6017
6136
  description?: string | null | undefined;
6018
6137
  title?: string | null | undefined;
6019
6138
  mimeType?: string | null | undefined;
6139
+ size?: number | null | undefined;
6020
6140
  annotations?: {
6021
6141
  priority?: number | null | undefined;
6022
6142
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6169,10 +6289,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6169
6289
  type: "resource_link";
6170
6290
  name: string;
6171
6291
  uri: string;
6172
- size?: number | null | undefined;
6173
6292
  description?: string | null | undefined;
6174
6293
  title?: string | null | undefined;
6175
6294
  mimeType?: string | null | undefined;
6295
+ size?: number | null | undefined;
6176
6296
  annotations?: {
6177
6297
  priority?: number | null | undefined;
6178
6298
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6182,10 +6302,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6182
6302
  type: "resource_link";
6183
6303
  name: string;
6184
6304
  uri: string;
6185
- size?: number | null | undefined;
6186
6305
  description?: string | null | undefined;
6187
6306
  title?: string | null | undefined;
6188
6307
  mimeType?: string | null | undefined;
6308
+ size?: number | null | undefined;
6189
6309
  annotations?: {
6190
6310
  priority?: number | null | undefined;
6191
6311
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6266,6 +6386,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6266
6386
  }>]>;
6267
6387
  type: z.ZodLiteral<"content">;
6268
6388
  }, "strip", z.ZodTypeAny, {
6389
+ type: "content";
6269
6390
  content: {
6270
6391
  type: "text";
6271
6392
  text: string;
@@ -6296,10 +6417,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6296
6417
  type: "resource_link";
6297
6418
  name: string;
6298
6419
  uri: string;
6299
- size?: number | null | undefined;
6300
6420
  description?: string | null | undefined;
6301
6421
  title?: string | null | undefined;
6302
6422
  mimeType?: string | null | undefined;
6423
+ size?: number | null | undefined;
6303
6424
  annotations?: {
6304
6425
  priority?: number | null | undefined;
6305
6426
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6322,8 +6443,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6322
6443
  lastModified?: string | null | undefined;
6323
6444
  } | null | undefined;
6324
6445
  };
6325
- type: "content";
6326
6446
  }, {
6447
+ type: "content";
6327
6448
  content: {
6328
6449
  type: "text";
6329
6450
  text: string;
@@ -6354,10 +6475,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6354
6475
  type: "resource_link";
6355
6476
  name: string;
6356
6477
  uri: string;
6357
- size?: number | null | undefined;
6358
6478
  description?: string | null | undefined;
6359
6479
  title?: string | null | undefined;
6360
6480
  mimeType?: string | null | undefined;
6481
+ size?: number | null | undefined;
6361
6482
  annotations?: {
6362
6483
  priority?: number | null | undefined;
6363
6484
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6380,7 +6501,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6380
6501
  lastModified?: string | null | undefined;
6381
6502
  } | null | undefined;
6382
6503
  };
6383
- type: "content";
6384
6504
  }>, z.ZodObject<{
6385
6505
  newText: z.ZodString;
6386
6506
  oldText: z.ZodNullable<z.ZodString>;
@@ -6414,12 +6534,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6414
6534
  title: z.ZodString;
6415
6535
  toolCallId: z.ZodString;
6416
6536
  }, "strip", z.ZodTypeAny, {
6417
- status: "completed" | "pending" | "in_progress" | "failed";
6537
+ status: "completed" | "failed" | "pending" | "in_progress";
6418
6538
  title: string;
6419
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
6539
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
6420
6540
  toolCallId: string;
6421
6541
  sessionUpdate: "tool_call";
6422
6542
  content?: ({
6543
+ type: "content";
6423
6544
  content: {
6424
6545
  type: "text";
6425
6546
  text: string;
@@ -6450,10 +6571,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6450
6571
  type: "resource_link";
6451
6572
  name: string;
6452
6573
  uri: string;
6453
- size?: number | null | undefined;
6454
6574
  description?: string | null | undefined;
6455
6575
  title?: string | null | undefined;
6456
6576
  mimeType?: string | null | undefined;
6577
+ size?: number | null | undefined;
6457
6578
  annotations?: {
6458
6579
  priority?: number | null | undefined;
6459
6580
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6476,7 +6597,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6476
6597
  lastModified?: string | null | undefined;
6477
6598
  } | null | undefined;
6478
6599
  };
6479
- type: "content";
6480
6600
  } | {
6481
6601
  type: "diff";
6482
6602
  path: string;
@@ -6489,12 +6609,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6489
6609
  }[] | undefined;
6490
6610
  rawInput?: unknown;
6491
6611
  }, {
6492
- status: "completed" | "pending" | "in_progress" | "failed";
6612
+ status: "completed" | "failed" | "pending" | "in_progress";
6493
6613
  title: string;
6494
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
6614
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
6495
6615
  toolCallId: string;
6496
6616
  sessionUpdate: "tool_call";
6497
6617
  content?: ({
6618
+ type: "content";
6498
6619
  content: {
6499
6620
  type: "text";
6500
6621
  text: string;
@@ -6525,10 +6646,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6525
6646
  type: "resource_link";
6526
6647
  name: string;
6527
6648
  uri: string;
6528
- size?: number | null | undefined;
6529
6649
  description?: string | null | undefined;
6530
6650
  title?: string | null | undefined;
6531
6651
  mimeType?: string | null | undefined;
6652
+ size?: number | null | undefined;
6532
6653
  annotations?: {
6533
6654
  priority?: number | null | undefined;
6534
6655
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6551,7 +6672,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6551
6672
  lastModified?: string | null | undefined;
6552
6673
  } | null | undefined;
6553
6674
  };
6554
- type: "content";
6555
6675
  } | {
6556
6676
  type: "diff";
6557
6677
  path: string;
@@ -6692,10 +6812,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6692
6812
  type: "resource_link";
6693
6813
  name: string;
6694
6814
  uri: string;
6695
- size?: number | null | undefined;
6696
6815
  description?: string | null | undefined;
6697
6816
  title?: string | null | undefined;
6698
6817
  mimeType?: string | null | undefined;
6818
+ size?: number | null | undefined;
6699
6819
  annotations?: {
6700
6820
  priority?: number | null | undefined;
6701
6821
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6705,10 +6825,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6705
6825
  type: "resource_link";
6706
6826
  name: string;
6707
6827
  uri: string;
6708
- size?: number | null | undefined;
6709
6828
  description?: string | null | undefined;
6710
6829
  title?: string | null | undefined;
6711
6830
  mimeType?: string | null | undefined;
6831
+ size?: number | null | undefined;
6712
6832
  annotations?: {
6713
6833
  priority?: number | null | undefined;
6714
6834
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6789,6 +6909,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6789
6909
  }>]>;
6790
6910
  type: z.ZodLiteral<"content">;
6791
6911
  }, "strip", z.ZodTypeAny, {
6912
+ type: "content";
6792
6913
  content: {
6793
6914
  type: "text";
6794
6915
  text: string;
@@ -6819,10 +6940,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6819
6940
  type: "resource_link";
6820
6941
  name: string;
6821
6942
  uri: string;
6822
- size?: number | null | undefined;
6823
6943
  description?: string | null | undefined;
6824
6944
  title?: string | null | undefined;
6825
6945
  mimeType?: string | null | undefined;
6946
+ size?: number | null | undefined;
6826
6947
  annotations?: {
6827
6948
  priority?: number | null | undefined;
6828
6949
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6845,8 +6966,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6845
6966
  lastModified?: string | null | undefined;
6846
6967
  } | null | undefined;
6847
6968
  };
6848
- type: "content";
6849
6969
  }, {
6970
+ type: "content";
6850
6971
  content: {
6851
6972
  type: "text";
6852
6973
  text: string;
@@ -6877,10 +6998,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6877
6998
  type: "resource_link";
6878
6999
  name: string;
6879
7000
  uri: string;
6880
- size?: number | null | undefined;
6881
7001
  description?: string | null | undefined;
6882
7002
  title?: string | null | undefined;
6883
7003
  mimeType?: string | null | undefined;
7004
+ size?: number | null | undefined;
6884
7005
  annotations?: {
6885
7006
  priority?: number | null | undefined;
6886
7007
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6903,7 +7024,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6903
7024
  lastModified?: string | null | undefined;
6904
7025
  } | null | undefined;
6905
7026
  };
6906
- type: "content";
6907
7027
  }>, z.ZodObject<{
6908
7028
  newText: z.ZodString;
6909
7029
  oldText: z.ZodNullable<z.ZodString>;
@@ -6939,7 +7059,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6939
7059
  }, "strip", z.ZodTypeAny, {
6940
7060
  toolCallId: string;
6941
7061
  sessionUpdate: "tool_call_update";
7062
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
6942
7063
  content?: ({
7064
+ type: "content";
6943
7065
  content: {
6944
7066
  type: "text";
6945
7067
  text: string;
@@ -6970,10 +7092,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6970
7092
  type: "resource_link";
6971
7093
  name: string;
6972
7094
  uri: string;
6973
- size?: number | null | undefined;
6974
7095
  description?: string | null | undefined;
6975
7096
  title?: string | null | undefined;
6976
7097
  mimeType?: string | null | undefined;
7098
+ size?: number | null | undefined;
6977
7099
  annotations?: {
6978
7100
  priority?: number | null | undefined;
6979
7101
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6996,16 +7118,14 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6996
7118
  lastModified?: string | null | undefined;
6997
7119
  } | null | undefined;
6998
7120
  };
6999
- type: "content";
7000
7121
  } | {
7001
7122
  type: "diff";
7002
7123
  path: string;
7003
7124
  newText: string;
7004
7125
  oldText: string | null;
7005
7126
  })[] | null | undefined;
7006
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
7007
7127
  title?: string | null | undefined;
7008
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
7128
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7009
7129
  locations?: {
7010
7130
  path: string;
7011
7131
  line?: number | null | undefined;
@@ -7014,7 +7134,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7014
7134
  }, {
7015
7135
  toolCallId: string;
7016
7136
  sessionUpdate: "tool_call_update";
7137
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7017
7138
  content?: ({
7139
+ type: "content";
7018
7140
  content: {
7019
7141
  type: "text";
7020
7142
  text: string;
@@ -7045,10 +7167,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7045
7167
  type: "resource_link";
7046
7168
  name: string;
7047
7169
  uri: string;
7048
- size?: number | null | undefined;
7049
7170
  description?: string | null | undefined;
7050
7171
  title?: string | null | undefined;
7051
7172
  mimeType?: string | null | undefined;
7173
+ size?: number | null | undefined;
7052
7174
  annotations?: {
7053
7175
  priority?: number | null | undefined;
7054
7176
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7071,16 +7193,14 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7071
7193
  lastModified?: string | null | undefined;
7072
7194
  } | null | undefined;
7073
7195
  };
7074
- type: "content";
7075
7196
  } | {
7076
7197
  type: "diff";
7077
7198
  path: string;
7078
7199
  newText: string;
7079
7200
  oldText: string | null;
7080
7201
  })[] | null | undefined;
7081
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
7082
7202
  title?: string | null | undefined;
7083
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
7203
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7084
7204
  locations?: {
7085
7205
  path: string;
7086
7206
  line?: number | null | undefined;
@@ -7092,29 +7212,72 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7092
7212
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
7093
7213
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
7094
7214
  }, "strip", z.ZodTypeAny, {
7095
- content: string;
7096
7215
  status: "completed" | "pending" | "in_progress";
7216
+ content: string;
7097
7217
  priority: "medium" | "high" | "low";
7098
7218
  }, {
7099
- content: string;
7100
7219
  status: "completed" | "pending" | "in_progress";
7220
+ content: string;
7101
7221
  priority: "medium" | "high" | "low";
7102
7222
  }>, "many">;
7103
7223
  sessionUpdate: z.ZodLiteral<"plan">;
7104
7224
  }, "strip", z.ZodTypeAny, {
7105
7225
  entries: {
7106
- content: string;
7107
7226
  status: "completed" | "pending" | "in_progress";
7227
+ content: string;
7108
7228
  priority: "medium" | "high" | "low";
7109
7229
  }[];
7110
7230
  sessionUpdate: "plan";
7111
7231
  }, {
7112
7232
  entries: {
7113
- content: string;
7114
7233
  status: "completed" | "pending" | "in_progress";
7234
+ content: string;
7115
7235
  priority: "medium" | "high" | "low";
7116
7236
  }[];
7117
7237
  sessionUpdate: "plan";
7238
+ }>, z.ZodObject<{
7239
+ availableCommands: z.ZodArray<z.ZodObject<{
7240
+ description: z.ZodString;
7241
+ input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7242
+ hint: z.ZodString;
7243
+ }, "strip", z.ZodTypeAny, {
7244
+ hint: string;
7245
+ }, {
7246
+ hint: string;
7247
+ }>>>;
7248
+ name: z.ZodString;
7249
+ }, "strip", z.ZodTypeAny, {
7250
+ name: string;
7251
+ description: string;
7252
+ input?: {
7253
+ hint: string;
7254
+ } | null | undefined;
7255
+ }, {
7256
+ name: string;
7257
+ description: string;
7258
+ input?: {
7259
+ hint: string;
7260
+ } | null | undefined;
7261
+ }>, "many">;
7262
+ sessionUpdate: z.ZodLiteral<"available_commands_update">;
7263
+ }, "strip", z.ZodTypeAny, {
7264
+ sessionUpdate: "available_commands_update";
7265
+ availableCommands: {
7266
+ name: string;
7267
+ description: string;
7268
+ input?: {
7269
+ hint: string;
7270
+ } | null | undefined;
7271
+ }[];
7272
+ }, {
7273
+ sessionUpdate: "available_commands_update";
7274
+ availableCommands: {
7275
+ name: string;
7276
+ description: string;
7277
+ input?: {
7278
+ hint: string;
7279
+ } | null | undefined;
7280
+ }[];
7118
7281
  }>]>;
7119
7282
  }, "strip", z.ZodTypeAny, {
7120
7283
  sessionId: string;
@@ -7149,10 +7312,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7149
7312
  type: "resource_link";
7150
7313
  name: string;
7151
7314
  uri: string;
7152
- size?: number | null | undefined;
7153
7315
  description?: string | null | undefined;
7154
7316
  title?: string | null | undefined;
7155
7317
  mimeType?: string | null | undefined;
7318
+ size?: number | null | undefined;
7156
7319
  annotations?: {
7157
7320
  priority?: number | null | undefined;
7158
7321
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7207,10 +7370,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7207
7370
  type: "resource_link";
7208
7371
  name: string;
7209
7372
  uri: string;
7210
- size?: number | null | undefined;
7211
7373
  description?: string | null | undefined;
7212
7374
  title?: string | null | undefined;
7213
7375
  mimeType?: string | null | undefined;
7376
+ size?: number | null | undefined;
7214
7377
  annotations?: {
7215
7378
  priority?: number | null | undefined;
7216
7379
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7265,10 +7428,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7265
7428
  type: "resource_link";
7266
7429
  name: string;
7267
7430
  uri: string;
7268
- size?: number | null | undefined;
7269
7431
  description?: string | null | undefined;
7270
7432
  title?: string | null | undefined;
7271
7433
  mimeType?: string | null | undefined;
7434
+ size?: number | null | undefined;
7272
7435
  annotations?: {
7273
7436
  priority?: number | null | undefined;
7274
7437
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7293,12 +7456,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7293
7456
  };
7294
7457
  sessionUpdate: "agent_thought_chunk";
7295
7458
  } | {
7296
- status: "completed" | "pending" | "in_progress" | "failed";
7459
+ status: "completed" | "failed" | "pending" | "in_progress";
7297
7460
  title: string;
7298
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
7461
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
7299
7462
  toolCallId: string;
7300
7463
  sessionUpdate: "tool_call";
7301
7464
  content?: ({
7465
+ type: "content";
7302
7466
  content: {
7303
7467
  type: "text";
7304
7468
  text: string;
@@ -7329,10 +7493,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7329
7493
  type: "resource_link";
7330
7494
  name: string;
7331
7495
  uri: string;
7332
- size?: number | null | undefined;
7333
7496
  description?: string | null | undefined;
7334
7497
  title?: string | null | undefined;
7335
7498
  mimeType?: string | null | undefined;
7499
+ size?: number | null | undefined;
7336
7500
  annotations?: {
7337
7501
  priority?: number | null | undefined;
7338
7502
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7355,7 +7519,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7355
7519
  lastModified?: string | null | undefined;
7356
7520
  } | null | undefined;
7357
7521
  };
7358
- type: "content";
7359
7522
  } | {
7360
7523
  type: "diff";
7361
7524
  path: string;
@@ -7370,7 +7533,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7370
7533
  } | {
7371
7534
  toolCallId: string;
7372
7535
  sessionUpdate: "tool_call_update";
7536
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7373
7537
  content?: ({
7538
+ type: "content";
7374
7539
  content: {
7375
7540
  type: "text";
7376
7541
  text: string;
@@ -7401,10 +7566,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7401
7566
  type: "resource_link";
7402
7567
  name: string;
7403
7568
  uri: string;
7404
- size?: number | null | undefined;
7405
7569
  description?: string | null | undefined;
7406
7570
  title?: string | null | undefined;
7407
7571
  mimeType?: string | null | undefined;
7572
+ size?: number | null | undefined;
7408
7573
  annotations?: {
7409
7574
  priority?: number | null | undefined;
7410
7575
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7427,16 +7592,14 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7427
7592
  lastModified?: string | null | undefined;
7428
7593
  } | null | undefined;
7429
7594
  };
7430
- type: "content";
7431
7595
  } | {
7432
7596
  type: "diff";
7433
7597
  path: string;
7434
7598
  newText: string;
7435
7599
  oldText: string | null;
7436
7600
  })[] | null | undefined;
7437
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
7438
7601
  title?: string | null | undefined;
7439
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
7602
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7440
7603
  locations?: {
7441
7604
  path: string;
7442
7605
  line?: number | null | undefined;
@@ -7444,11 +7607,20 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7444
7607
  rawInput?: unknown;
7445
7608
  } | {
7446
7609
  entries: {
7447
- content: string;
7448
7610
  status: "completed" | "pending" | "in_progress";
7611
+ content: string;
7449
7612
  priority: "medium" | "high" | "low";
7450
7613
  }[];
7451
7614
  sessionUpdate: "plan";
7615
+ } | {
7616
+ sessionUpdate: "available_commands_update";
7617
+ availableCommands: {
7618
+ name: string;
7619
+ description: string;
7620
+ input?: {
7621
+ hint: string;
7622
+ } | null | undefined;
7623
+ }[];
7452
7624
  };
7453
7625
  }, {
7454
7626
  sessionId: string;
@@ -7483,10 +7655,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7483
7655
  type: "resource_link";
7484
7656
  name: string;
7485
7657
  uri: string;
7486
- size?: number | null | undefined;
7487
7658
  description?: string | null | undefined;
7488
7659
  title?: string | null | undefined;
7489
7660
  mimeType?: string | null | undefined;
7661
+ size?: number | null | undefined;
7490
7662
  annotations?: {
7491
7663
  priority?: number | null | undefined;
7492
7664
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7541,10 +7713,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7541
7713
  type: "resource_link";
7542
7714
  name: string;
7543
7715
  uri: string;
7544
- size?: number | null | undefined;
7545
7716
  description?: string | null | undefined;
7546
7717
  title?: string | null | undefined;
7547
7718
  mimeType?: string | null | undefined;
7719
+ size?: number | null | undefined;
7548
7720
  annotations?: {
7549
7721
  priority?: number | null | undefined;
7550
7722
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7599,10 +7771,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7599
7771
  type: "resource_link";
7600
7772
  name: string;
7601
7773
  uri: string;
7602
- size?: number | null | undefined;
7603
7774
  description?: string | null | undefined;
7604
7775
  title?: string | null | undefined;
7605
7776
  mimeType?: string | null | undefined;
7777
+ size?: number | null | undefined;
7606
7778
  annotations?: {
7607
7779
  priority?: number | null | undefined;
7608
7780
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7627,12 +7799,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7627
7799
  };
7628
7800
  sessionUpdate: "agent_thought_chunk";
7629
7801
  } | {
7630
- status: "completed" | "pending" | "in_progress" | "failed";
7802
+ status: "completed" | "failed" | "pending" | "in_progress";
7631
7803
  title: string;
7632
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
7804
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
7633
7805
  toolCallId: string;
7634
7806
  sessionUpdate: "tool_call";
7635
7807
  content?: ({
7808
+ type: "content";
7636
7809
  content: {
7637
7810
  type: "text";
7638
7811
  text: string;
@@ -7663,10 +7836,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7663
7836
  type: "resource_link";
7664
7837
  name: string;
7665
7838
  uri: string;
7666
- size?: number | null | undefined;
7667
7839
  description?: string | null | undefined;
7668
7840
  title?: string | null | undefined;
7669
7841
  mimeType?: string | null | undefined;
7842
+ size?: number | null | undefined;
7670
7843
  annotations?: {
7671
7844
  priority?: number | null | undefined;
7672
7845
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7689,7 +7862,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7689
7862
  lastModified?: string | null | undefined;
7690
7863
  } | null | undefined;
7691
7864
  };
7692
- type: "content";
7693
7865
  } | {
7694
7866
  type: "diff";
7695
7867
  path: string;
@@ -7704,7 +7876,9 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7704
7876
  } | {
7705
7877
  toolCallId: string;
7706
7878
  sessionUpdate: "tool_call_update";
7879
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7707
7880
  content?: ({
7881
+ type: "content";
7708
7882
  content: {
7709
7883
  type: "text";
7710
7884
  text: string;
@@ -7735,10 +7909,10 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7735
7909
  type: "resource_link";
7736
7910
  name: string;
7737
7911
  uri: string;
7738
- size?: number | null | undefined;
7739
7912
  description?: string | null | undefined;
7740
7913
  title?: string | null | undefined;
7741
7914
  mimeType?: string | null | undefined;
7915
+ size?: number | null | undefined;
7742
7916
  annotations?: {
7743
7917
  priority?: number | null | undefined;
7744
7918
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7761,16 +7935,14 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7761
7935
  lastModified?: string | null | undefined;
7762
7936
  } | null | undefined;
7763
7937
  };
7764
- type: "content";
7765
7938
  } | {
7766
7939
  type: "diff";
7767
7940
  path: string;
7768
7941
  newText: string;
7769
7942
  oldText: string | null;
7770
7943
  })[] | null | undefined;
7771
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
7772
7944
  title?: string | null | undefined;
7773
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
7945
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7774
7946
  locations?: {
7775
7947
  path: string;
7776
7948
  line?: number | null | undefined;
@@ -7778,11 +7950,20 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7778
7950
  rawInput?: unknown;
7779
7951
  } | {
7780
7952
  entries: {
7781
- content: string;
7782
7953
  status: "completed" | "pending" | "in_progress";
7954
+ content: string;
7783
7955
  priority: "medium" | "high" | "low";
7784
7956
  }[];
7785
7957
  sessionUpdate: "plan";
7958
+ } | {
7959
+ sessionUpdate: "available_commands_update";
7960
+ availableCommands: {
7961
+ name: string;
7962
+ description: string;
7963
+ input?: {
7964
+ hint: string;
7965
+ } | null | undefined;
7966
+ }[];
7786
7967
  };
7787
7968
  }>;
7788
7969
  export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
@@ -7790,12 +7971,12 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7790
7971
  path: z.ZodString;
7791
7972
  sessionId: z.ZodString;
7792
7973
  }, "strip", z.ZodTypeAny, {
7793
- content: string;
7794
7974
  path: string;
7975
+ content: string;
7795
7976
  sessionId: string;
7796
7977
  }, {
7797
- content: string;
7798
7978
  path: string;
7979
+ content: string;
7799
7980
  sessionId: string;
7800
7981
  }>, z.ZodObject<{
7801
7982
  limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -7956,10 +8137,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7956
8137
  type: "resource_link";
7957
8138
  name: string;
7958
8139
  uri: string;
7959
- size?: number | null | undefined;
7960
8140
  description?: string | null | undefined;
7961
8141
  title?: string | null | undefined;
7962
8142
  mimeType?: string | null | undefined;
8143
+ size?: number | null | undefined;
7963
8144
  annotations?: {
7964
8145
  priority?: number | null | undefined;
7965
8146
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7969,10 +8150,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7969
8150
  type: "resource_link";
7970
8151
  name: string;
7971
8152
  uri: string;
7972
- size?: number | null | undefined;
7973
8153
  description?: string | null | undefined;
7974
8154
  title?: string | null | undefined;
7975
8155
  mimeType?: string | null | undefined;
8156
+ size?: number | null | undefined;
7976
8157
  annotations?: {
7977
8158
  priority?: number | null | undefined;
7978
8159
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8053,6 +8234,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8053
8234
  }>]>;
8054
8235
  type: z.ZodLiteral<"content">;
8055
8236
  }, "strip", z.ZodTypeAny, {
8237
+ type: "content";
8056
8238
  content: {
8057
8239
  type: "text";
8058
8240
  text: string;
@@ -8083,10 +8265,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8083
8265
  type: "resource_link";
8084
8266
  name: string;
8085
8267
  uri: string;
8086
- size?: number | null | undefined;
8087
8268
  description?: string | null | undefined;
8088
8269
  title?: string | null | undefined;
8089
8270
  mimeType?: string | null | undefined;
8271
+ size?: number | null | undefined;
8090
8272
  annotations?: {
8091
8273
  priority?: number | null | undefined;
8092
8274
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8109,8 +8291,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8109
8291
  lastModified?: string | null | undefined;
8110
8292
  } | null | undefined;
8111
8293
  };
8112
- type: "content";
8113
8294
  }, {
8295
+ type: "content";
8114
8296
  content: {
8115
8297
  type: "text";
8116
8298
  text: string;
@@ -8141,10 +8323,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8141
8323
  type: "resource_link";
8142
8324
  name: string;
8143
8325
  uri: string;
8144
- size?: number | null | undefined;
8145
8326
  description?: string | null | undefined;
8146
8327
  title?: string | null | undefined;
8147
8328
  mimeType?: string | null | undefined;
8329
+ size?: number | null | undefined;
8148
8330
  annotations?: {
8149
8331
  priority?: number | null | undefined;
8150
8332
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8167,7 +8349,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8167
8349
  lastModified?: string | null | undefined;
8168
8350
  } | null | undefined;
8169
8351
  };
8170
- type: "content";
8171
8352
  }>, z.ZodObject<{
8172
8353
  newText: z.ZodString;
8173
8354
  oldText: z.ZodNullable<z.ZodString>;
@@ -8200,11 +8381,12 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8200
8381
  title: z.ZodString;
8201
8382
  toolCallId: z.ZodString;
8202
8383
  }, "strip", z.ZodTypeAny, {
8203
- status: "completed" | "pending" | "in_progress" | "failed";
8384
+ status: "completed" | "failed" | "pending" | "in_progress";
8204
8385
  title: string;
8205
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
8386
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
8206
8387
  toolCallId: string;
8207
8388
  content?: ({
8389
+ type: "content";
8208
8390
  content: {
8209
8391
  type: "text";
8210
8392
  text: string;
@@ -8235,10 +8417,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8235
8417
  type: "resource_link";
8236
8418
  name: string;
8237
8419
  uri: string;
8238
- size?: number | null | undefined;
8239
8420
  description?: string | null | undefined;
8240
8421
  title?: string | null | undefined;
8241
8422
  mimeType?: string | null | undefined;
8423
+ size?: number | null | undefined;
8242
8424
  annotations?: {
8243
8425
  priority?: number | null | undefined;
8244
8426
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8261,7 +8443,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8261
8443
  lastModified?: string | null | undefined;
8262
8444
  } | null | undefined;
8263
8445
  };
8264
- type: "content";
8265
8446
  } | {
8266
8447
  type: "diff";
8267
8448
  path: string;
@@ -8274,11 +8455,12 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8274
8455
  }[] | undefined;
8275
8456
  rawInput?: unknown;
8276
8457
  }, {
8277
- status: "completed" | "pending" | "in_progress" | "failed";
8458
+ status: "completed" | "failed" | "pending" | "in_progress";
8278
8459
  title: string;
8279
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
8460
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
8280
8461
  toolCallId: string;
8281
8462
  content?: ({
8463
+ type: "content";
8282
8464
  content: {
8283
8465
  type: "text";
8284
8466
  text: string;
@@ -8309,10 +8491,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8309
8491
  type: "resource_link";
8310
8492
  name: string;
8311
8493
  uri: string;
8312
- size?: number | null | undefined;
8313
8494
  description?: string | null | undefined;
8314
8495
  title?: string | null | undefined;
8315
8496
  mimeType?: string | null | undefined;
8497
+ size?: number | null | undefined;
8316
8498
  annotations?: {
8317
8499
  priority?: number | null | undefined;
8318
8500
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8335,7 +8517,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8335
8517
  lastModified?: string | null | undefined;
8336
8518
  } | null | undefined;
8337
8519
  };
8338
- type: "content";
8339
8520
  } | {
8340
8521
  type: "diff";
8341
8522
  path: string;
@@ -8356,11 +8537,12 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8356
8537
  }[];
8357
8538
  sessionId: string;
8358
8539
  toolCall: {
8359
- status: "completed" | "pending" | "in_progress" | "failed";
8540
+ status: "completed" | "failed" | "pending" | "in_progress";
8360
8541
  title: string;
8361
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
8542
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
8362
8543
  toolCallId: string;
8363
8544
  content?: ({
8545
+ type: "content";
8364
8546
  content: {
8365
8547
  type: "text";
8366
8548
  text: string;
@@ -8391,10 +8573,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8391
8573
  type: "resource_link";
8392
8574
  name: string;
8393
8575
  uri: string;
8394
- size?: number | null | undefined;
8395
8576
  description?: string | null | undefined;
8396
8577
  title?: string | null | undefined;
8397
8578
  mimeType?: string | null | undefined;
8579
+ size?: number | null | undefined;
8398
8580
  annotations?: {
8399
8581
  priority?: number | null | undefined;
8400
8582
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8417,7 +8599,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8417
8599
  lastModified?: string | null | undefined;
8418
8600
  } | null | undefined;
8419
8601
  };
8420
- type: "content";
8421
8602
  } | {
8422
8603
  type: "diff";
8423
8604
  path: string;
@@ -8438,11 +8619,12 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8438
8619
  }[];
8439
8620
  sessionId: string;
8440
8621
  toolCall: {
8441
- status: "completed" | "pending" | "in_progress" | "failed";
8622
+ status: "completed" | "failed" | "pending" | "in_progress";
8442
8623
  title: string;
8443
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
8624
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
8444
8625
  toolCallId: string;
8445
8626
  content?: ({
8627
+ type: "content";
8446
8628
  content: {
8447
8629
  type: "text";
8448
8630
  text: string;
@@ -8473,10 +8655,10 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8473
8655
  type: "resource_link";
8474
8656
  name: string;
8475
8657
  uri: string;
8476
- size?: number | null | undefined;
8477
8658
  description?: string | null | undefined;
8478
8659
  title?: string | null | undefined;
8479
8660
  mimeType?: string | null | undefined;
8661
+ size?: number | null | undefined;
8480
8662
  annotations?: {
8481
8663
  priority?: number | null | undefined;
8482
8664
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8499,7 +8681,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8499
8681
  lastModified?: string | null | undefined;
8500
8682
  } | null | undefined;
8501
8683
  };
8502
- type: "content";
8503
8684
  } | {
8504
8685
  type: "diff";
8505
8686
  path: string;
@@ -8800,10 +8981,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8800
8981
  type: "resource_link";
8801
8982
  name: string;
8802
8983
  uri: string;
8803
- size?: number | null | undefined;
8804
8984
  description?: string | null | undefined;
8805
8985
  title?: string | null | undefined;
8806
8986
  mimeType?: string | null | undefined;
8987
+ size?: number | null | undefined;
8807
8988
  annotations?: {
8808
8989
  priority?: number | null | undefined;
8809
8990
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8813,10 +8994,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8813
8994
  type: "resource_link";
8814
8995
  name: string;
8815
8996
  uri: string;
8816
- size?: number | null | undefined;
8817
8997
  description?: string | null | undefined;
8818
8998
  title?: string | null | undefined;
8819
8999
  mimeType?: string | null | undefined;
9000
+ size?: number | null | undefined;
8820
9001
  annotations?: {
8821
9002
  priority?: number | null | undefined;
8822
9003
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8897,7 +9078,6 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8897
9078
  }>]>, "many">;
8898
9079
  sessionId: z.ZodString;
8899
9080
  }, "strip", z.ZodTypeAny, {
8900
- sessionId: string;
8901
9081
  prompt: ({
8902
9082
  type: "text";
8903
9083
  text: string;
@@ -8928,10 +9108,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8928
9108
  type: "resource_link";
8929
9109
  name: string;
8930
9110
  uri: string;
8931
- size?: number | null | undefined;
8932
9111
  description?: string | null | undefined;
8933
9112
  title?: string | null | undefined;
8934
9113
  mimeType?: string | null | undefined;
9114
+ size?: number | null | undefined;
8935
9115
  annotations?: {
8936
9116
  priority?: number | null | undefined;
8937
9117
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8954,8 +9134,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8954
9134
  lastModified?: string | null | undefined;
8955
9135
  } | null | undefined;
8956
9136
  })[];
8957
- }, {
8958
9137
  sessionId: string;
9138
+ }, {
8959
9139
  prompt: ({
8960
9140
  type: "text";
8961
9141
  text: string;
@@ -8986,10 +9166,10 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8986
9166
  type: "resource_link";
8987
9167
  name: string;
8988
9168
  uri: string;
8989
- size?: number | null | undefined;
8990
9169
  description?: string | null | undefined;
8991
9170
  title?: string | null | undefined;
8992
9171
  mimeType?: string | null | undefined;
9172
+ size?: number | null | undefined;
8993
9173
  annotations?: {
8994
9174
  priority?: number | null | undefined;
8995
9175
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9012,6 +9192,7 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
9012
9192
  lastModified?: string | null | undefined;
9013
9193
  } | null | undefined;
9014
9194
  })[];
9195
+ sessionId: string;
9015
9196
  }>]>;
9016
9197
  export declare const agentNotificationSchema: z.ZodObject<{
9017
9198
  sessionId: z.ZodString;
@@ -9143,10 +9324,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9143
9324
  type: "resource_link";
9144
9325
  name: string;
9145
9326
  uri: string;
9146
- size?: number | null | undefined;
9147
9327
  description?: string | null | undefined;
9148
9328
  title?: string | null | undefined;
9149
9329
  mimeType?: string | null | undefined;
9330
+ size?: number | null | undefined;
9150
9331
  annotations?: {
9151
9332
  priority?: number | null | undefined;
9152
9333
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9156,10 +9337,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9156
9337
  type: "resource_link";
9157
9338
  name: string;
9158
9339
  uri: string;
9159
- size?: number | null | undefined;
9160
9340
  description?: string | null | undefined;
9161
9341
  title?: string | null | undefined;
9162
9342
  mimeType?: string | null | undefined;
9343
+ size?: number | null | undefined;
9163
9344
  annotations?: {
9164
9345
  priority?: number | null | undefined;
9165
9346
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9270,10 +9451,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9270
9451
  type: "resource_link";
9271
9452
  name: string;
9272
9453
  uri: string;
9273
- size?: number | null | undefined;
9274
9454
  description?: string | null | undefined;
9275
9455
  title?: string | null | undefined;
9276
9456
  mimeType?: string | null | undefined;
9457
+ size?: number | null | undefined;
9277
9458
  annotations?: {
9278
9459
  priority?: number | null | undefined;
9279
9460
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9328,10 +9509,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9328
9509
  type: "resource_link";
9329
9510
  name: string;
9330
9511
  uri: string;
9331
- size?: number | null | undefined;
9332
9512
  description?: string | null | undefined;
9333
9513
  title?: string | null | undefined;
9334
9514
  mimeType?: string | null | undefined;
9515
+ size?: number | null | undefined;
9335
9516
  annotations?: {
9336
9517
  priority?: number | null | undefined;
9337
9518
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9483,10 +9664,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9483
9664
  type: "resource_link";
9484
9665
  name: string;
9485
9666
  uri: string;
9486
- size?: number | null | undefined;
9487
9667
  description?: string | null | undefined;
9488
9668
  title?: string | null | undefined;
9489
9669
  mimeType?: string | null | undefined;
9670
+ size?: number | null | undefined;
9490
9671
  annotations?: {
9491
9672
  priority?: number | null | undefined;
9492
9673
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9496,10 +9677,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9496
9677
  type: "resource_link";
9497
9678
  name: string;
9498
9679
  uri: string;
9499
- size?: number | null | undefined;
9500
9680
  description?: string | null | undefined;
9501
9681
  title?: string | null | undefined;
9502
9682
  mimeType?: string | null | undefined;
9683
+ size?: number | null | undefined;
9503
9684
  annotations?: {
9504
9685
  priority?: number | null | undefined;
9505
9686
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9610,10 +9791,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9610
9791
  type: "resource_link";
9611
9792
  name: string;
9612
9793
  uri: string;
9613
- size?: number | null | undefined;
9614
9794
  description?: string | null | undefined;
9615
9795
  title?: string | null | undefined;
9616
9796
  mimeType?: string | null | undefined;
9797
+ size?: number | null | undefined;
9617
9798
  annotations?: {
9618
9799
  priority?: number | null | undefined;
9619
9800
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9668,10 +9849,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9668
9849
  type: "resource_link";
9669
9850
  name: string;
9670
9851
  uri: string;
9671
- size?: number | null | undefined;
9672
9852
  description?: string | null | undefined;
9673
9853
  title?: string | null | undefined;
9674
9854
  mimeType?: string | null | undefined;
9855
+ size?: number | null | undefined;
9675
9856
  annotations?: {
9676
9857
  priority?: number | null | undefined;
9677
9858
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9823,10 +10004,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9823
10004
  type: "resource_link";
9824
10005
  name: string;
9825
10006
  uri: string;
9826
- size?: number | null | undefined;
9827
10007
  description?: string | null | undefined;
9828
10008
  title?: string | null | undefined;
9829
10009
  mimeType?: string | null | undefined;
10010
+ size?: number | null | undefined;
9830
10011
  annotations?: {
9831
10012
  priority?: number | null | undefined;
9832
10013
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9836,10 +10017,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9836
10017
  type: "resource_link";
9837
10018
  name: string;
9838
10019
  uri: string;
9839
- size?: number | null | undefined;
9840
10020
  description?: string | null | undefined;
9841
10021
  title?: string | null | undefined;
9842
10022
  mimeType?: string | null | undefined;
10023
+ size?: number | null | undefined;
9843
10024
  annotations?: {
9844
10025
  priority?: number | null | undefined;
9845
10026
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9950,10 +10131,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
9950
10131
  type: "resource_link";
9951
10132
  name: string;
9952
10133
  uri: string;
9953
- size?: number | null | undefined;
9954
10134
  description?: string | null | undefined;
9955
10135
  title?: string | null | undefined;
9956
10136
  mimeType?: string | null | undefined;
10137
+ size?: number | null | undefined;
9957
10138
  annotations?: {
9958
10139
  priority?: number | null | undefined;
9959
10140
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10008,10 +10189,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10008
10189
  type: "resource_link";
10009
10190
  name: string;
10010
10191
  uri: string;
10011
- size?: number | null | undefined;
10012
10192
  description?: string | null | undefined;
10013
10193
  title?: string | null | undefined;
10014
10194
  mimeType?: string | null | undefined;
10195
+ size?: number | null | undefined;
10015
10196
  annotations?: {
10016
10197
  priority?: number | null | undefined;
10017
10198
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10164,10 +10345,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10164
10345
  type: "resource_link";
10165
10346
  name: string;
10166
10347
  uri: string;
10167
- size?: number | null | undefined;
10168
10348
  description?: string | null | undefined;
10169
10349
  title?: string | null | undefined;
10170
10350
  mimeType?: string | null | undefined;
10351
+ size?: number | null | undefined;
10171
10352
  annotations?: {
10172
10353
  priority?: number | null | undefined;
10173
10354
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10177,10 +10358,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10177
10358
  type: "resource_link";
10178
10359
  name: string;
10179
10360
  uri: string;
10180
- size?: number | null | undefined;
10181
10361
  description?: string | null | undefined;
10182
10362
  title?: string | null | undefined;
10183
10363
  mimeType?: string | null | undefined;
10364
+ size?: number | null | undefined;
10184
10365
  annotations?: {
10185
10366
  priority?: number | null | undefined;
10186
10367
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10261,6 +10442,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10261
10442
  }>]>;
10262
10443
  type: z.ZodLiteral<"content">;
10263
10444
  }, "strip", z.ZodTypeAny, {
10445
+ type: "content";
10264
10446
  content: {
10265
10447
  type: "text";
10266
10448
  text: string;
@@ -10291,10 +10473,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10291
10473
  type: "resource_link";
10292
10474
  name: string;
10293
10475
  uri: string;
10294
- size?: number | null | undefined;
10295
10476
  description?: string | null | undefined;
10296
10477
  title?: string | null | undefined;
10297
10478
  mimeType?: string | null | undefined;
10479
+ size?: number | null | undefined;
10298
10480
  annotations?: {
10299
10481
  priority?: number | null | undefined;
10300
10482
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10317,8 +10499,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10317
10499
  lastModified?: string | null | undefined;
10318
10500
  } | null | undefined;
10319
10501
  };
10320
- type: "content";
10321
10502
  }, {
10503
+ type: "content";
10322
10504
  content: {
10323
10505
  type: "text";
10324
10506
  text: string;
@@ -10349,10 +10531,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10349
10531
  type: "resource_link";
10350
10532
  name: string;
10351
10533
  uri: string;
10352
- size?: number | null | undefined;
10353
10534
  description?: string | null | undefined;
10354
10535
  title?: string | null | undefined;
10355
10536
  mimeType?: string | null | undefined;
10537
+ size?: number | null | undefined;
10356
10538
  annotations?: {
10357
10539
  priority?: number | null | undefined;
10358
10540
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10375,7 +10557,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10375
10557
  lastModified?: string | null | undefined;
10376
10558
  } | null | undefined;
10377
10559
  };
10378
- type: "content";
10379
10560
  }>, z.ZodObject<{
10380
10561
  newText: z.ZodString;
10381
10562
  oldText: z.ZodNullable<z.ZodString>;
@@ -10409,12 +10590,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10409
10590
  title: z.ZodString;
10410
10591
  toolCallId: z.ZodString;
10411
10592
  }, "strip", z.ZodTypeAny, {
10412
- status: "completed" | "pending" | "in_progress" | "failed";
10593
+ status: "completed" | "failed" | "pending" | "in_progress";
10413
10594
  title: string;
10414
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
10595
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
10415
10596
  toolCallId: string;
10416
10597
  sessionUpdate: "tool_call";
10417
10598
  content?: ({
10599
+ type: "content";
10418
10600
  content: {
10419
10601
  type: "text";
10420
10602
  text: string;
@@ -10445,10 +10627,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10445
10627
  type: "resource_link";
10446
10628
  name: string;
10447
10629
  uri: string;
10448
- size?: number | null | undefined;
10449
10630
  description?: string | null | undefined;
10450
10631
  title?: string | null | undefined;
10451
10632
  mimeType?: string | null | undefined;
10633
+ size?: number | null | undefined;
10452
10634
  annotations?: {
10453
10635
  priority?: number | null | undefined;
10454
10636
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10471,7 +10653,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10471
10653
  lastModified?: string | null | undefined;
10472
10654
  } | null | undefined;
10473
10655
  };
10474
- type: "content";
10475
10656
  } | {
10476
10657
  type: "diff";
10477
10658
  path: string;
@@ -10484,12 +10665,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10484
10665
  }[] | undefined;
10485
10666
  rawInput?: unknown;
10486
10667
  }, {
10487
- status: "completed" | "pending" | "in_progress" | "failed";
10668
+ status: "completed" | "failed" | "pending" | "in_progress";
10488
10669
  title: string;
10489
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
10670
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
10490
10671
  toolCallId: string;
10491
10672
  sessionUpdate: "tool_call";
10492
10673
  content?: ({
10674
+ type: "content";
10493
10675
  content: {
10494
10676
  type: "text";
10495
10677
  text: string;
@@ -10520,10 +10702,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10520
10702
  type: "resource_link";
10521
10703
  name: string;
10522
10704
  uri: string;
10523
- size?: number | null | undefined;
10524
10705
  description?: string | null | undefined;
10525
10706
  title?: string | null | undefined;
10526
10707
  mimeType?: string | null | undefined;
10708
+ size?: number | null | undefined;
10527
10709
  annotations?: {
10528
10710
  priority?: number | null | undefined;
10529
10711
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10546,7 +10728,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10546
10728
  lastModified?: string | null | undefined;
10547
10729
  } | null | undefined;
10548
10730
  };
10549
- type: "content";
10550
10731
  } | {
10551
10732
  type: "diff";
10552
10733
  path: string;
@@ -10687,10 +10868,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10687
10868
  type: "resource_link";
10688
10869
  name: string;
10689
10870
  uri: string;
10690
- size?: number | null | undefined;
10691
10871
  description?: string | null | undefined;
10692
10872
  title?: string | null | undefined;
10693
10873
  mimeType?: string | null | undefined;
10874
+ size?: number | null | undefined;
10694
10875
  annotations?: {
10695
10876
  priority?: number | null | undefined;
10696
10877
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10700,10 +10881,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10700
10881
  type: "resource_link";
10701
10882
  name: string;
10702
10883
  uri: string;
10703
- size?: number | null | undefined;
10704
10884
  description?: string | null | undefined;
10705
10885
  title?: string | null | undefined;
10706
10886
  mimeType?: string | null | undefined;
10887
+ size?: number | null | undefined;
10707
10888
  annotations?: {
10708
10889
  priority?: number | null | undefined;
10709
10890
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10784,6 +10965,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10784
10965
  }>]>;
10785
10966
  type: z.ZodLiteral<"content">;
10786
10967
  }, "strip", z.ZodTypeAny, {
10968
+ type: "content";
10787
10969
  content: {
10788
10970
  type: "text";
10789
10971
  text: string;
@@ -10814,10 +10996,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10814
10996
  type: "resource_link";
10815
10997
  name: string;
10816
10998
  uri: string;
10817
- size?: number | null | undefined;
10818
10999
  description?: string | null | undefined;
10819
11000
  title?: string | null | undefined;
10820
11001
  mimeType?: string | null | undefined;
11002
+ size?: number | null | undefined;
10821
11003
  annotations?: {
10822
11004
  priority?: number | null | undefined;
10823
11005
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10840,8 +11022,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10840
11022
  lastModified?: string | null | undefined;
10841
11023
  } | null | undefined;
10842
11024
  };
10843
- type: "content";
10844
11025
  }, {
11026
+ type: "content";
10845
11027
  content: {
10846
11028
  type: "text";
10847
11029
  text: string;
@@ -10872,10 +11054,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10872
11054
  type: "resource_link";
10873
11055
  name: string;
10874
11056
  uri: string;
10875
- size?: number | null | undefined;
10876
11057
  description?: string | null | undefined;
10877
11058
  title?: string | null | undefined;
10878
11059
  mimeType?: string | null | undefined;
11060
+ size?: number | null | undefined;
10879
11061
  annotations?: {
10880
11062
  priority?: number | null | undefined;
10881
11063
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10898,7 +11080,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10898
11080
  lastModified?: string | null | undefined;
10899
11081
  } | null | undefined;
10900
11082
  };
10901
- type: "content";
10902
11083
  }>, z.ZodObject<{
10903
11084
  newText: z.ZodString;
10904
11085
  oldText: z.ZodNullable<z.ZodString>;
@@ -10934,7 +11115,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
10934
11115
  }, "strip", z.ZodTypeAny, {
10935
11116
  toolCallId: string;
10936
11117
  sessionUpdate: "tool_call_update";
11118
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
10937
11119
  content?: ({
11120
+ type: "content";
10938
11121
  content: {
10939
11122
  type: "text";
10940
11123
  text: string;
@@ -10965,10 +11148,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
10965
11148
  type: "resource_link";
10966
11149
  name: string;
10967
11150
  uri: string;
10968
- size?: number | null | undefined;
10969
11151
  description?: string | null | undefined;
10970
11152
  title?: string | null | undefined;
10971
11153
  mimeType?: string | null | undefined;
11154
+ size?: number | null | undefined;
10972
11155
  annotations?: {
10973
11156
  priority?: number | null | undefined;
10974
11157
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10991,16 +11174,14 @@ export declare const agentNotificationSchema: z.ZodObject<{
10991
11174
  lastModified?: string | null | undefined;
10992
11175
  } | null | undefined;
10993
11176
  };
10994
- type: "content";
10995
11177
  } | {
10996
11178
  type: "diff";
10997
11179
  path: string;
10998
11180
  newText: string;
10999
11181
  oldText: string | null;
11000
11182
  })[] | null | undefined;
11001
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
11002
11183
  title?: string | null | undefined;
11003
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
11184
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11004
11185
  locations?: {
11005
11186
  path: string;
11006
11187
  line?: number | null | undefined;
@@ -11009,7 +11190,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
11009
11190
  }, {
11010
11191
  toolCallId: string;
11011
11192
  sessionUpdate: "tool_call_update";
11193
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11012
11194
  content?: ({
11195
+ type: "content";
11013
11196
  content: {
11014
11197
  type: "text";
11015
11198
  text: string;
@@ -11040,10 +11223,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11040
11223
  type: "resource_link";
11041
11224
  name: string;
11042
11225
  uri: string;
11043
- size?: number | null | undefined;
11044
11226
  description?: string | null | undefined;
11045
11227
  title?: string | null | undefined;
11046
11228
  mimeType?: string | null | undefined;
11229
+ size?: number | null | undefined;
11047
11230
  annotations?: {
11048
11231
  priority?: number | null | undefined;
11049
11232
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11066,16 +11249,14 @@ export declare const agentNotificationSchema: z.ZodObject<{
11066
11249
  lastModified?: string | null | undefined;
11067
11250
  } | null | undefined;
11068
11251
  };
11069
- type: "content";
11070
11252
  } | {
11071
11253
  type: "diff";
11072
11254
  path: string;
11073
11255
  newText: string;
11074
11256
  oldText: string | null;
11075
11257
  })[] | null | undefined;
11076
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
11077
11258
  title?: string | null | undefined;
11078
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
11259
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11079
11260
  locations?: {
11080
11261
  path: string;
11081
11262
  line?: number | null | undefined;
@@ -11087,29 +11268,72 @@ export declare const agentNotificationSchema: z.ZodObject<{
11087
11268
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
11088
11269
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
11089
11270
  }, "strip", z.ZodTypeAny, {
11090
- content: string;
11091
11271
  status: "completed" | "pending" | "in_progress";
11272
+ content: string;
11092
11273
  priority: "medium" | "high" | "low";
11093
11274
  }, {
11094
- content: string;
11095
11275
  status: "completed" | "pending" | "in_progress";
11276
+ content: string;
11096
11277
  priority: "medium" | "high" | "low";
11097
11278
  }>, "many">;
11098
11279
  sessionUpdate: z.ZodLiteral<"plan">;
11099
11280
  }, "strip", z.ZodTypeAny, {
11100
11281
  entries: {
11101
- content: string;
11102
11282
  status: "completed" | "pending" | "in_progress";
11283
+ content: string;
11103
11284
  priority: "medium" | "high" | "low";
11104
11285
  }[];
11105
11286
  sessionUpdate: "plan";
11106
11287
  }, {
11107
11288
  entries: {
11108
- content: string;
11109
11289
  status: "completed" | "pending" | "in_progress";
11290
+ content: string;
11110
11291
  priority: "medium" | "high" | "low";
11111
11292
  }[];
11112
11293
  sessionUpdate: "plan";
11294
+ }>, z.ZodObject<{
11295
+ availableCommands: z.ZodArray<z.ZodObject<{
11296
+ description: z.ZodString;
11297
+ input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11298
+ hint: z.ZodString;
11299
+ }, "strip", z.ZodTypeAny, {
11300
+ hint: string;
11301
+ }, {
11302
+ hint: string;
11303
+ }>>>;
11304
+ name: z.ZodString;
11305
+ }, "strip", z.ZodTypeAny, {
11306
+ name: string;
11307
+ description: string;
11308
+ input?: {
11309
+ hint: string;
11310
+ } | null | undefined;
11311
+ }, {
11312
+ name: string;
11313
+ description: string;
11314
+ input?: {
11315
+ hint: string;
11316
+ } | null | undefined;
11317
+ }>, "many">;
11318
+ sessionUpdate: z.ZodLiteral<"available_commands_update">;
11319
+ }, "strip", z.ZodTypeAny, {
11320
+ sessionUpdate: "available_commands_update";
11321
+ availableCommands: {
11322
+ name: string;
11323
+ description: string;
11324
+ input?: {
11325
+ hint: string;
11326
+ } | null | undefined;
11327
+ }[];
11328
+ }, {
11329
+ sessionUpdate: "available_commands_update";
11330
+ availableCommands: {
11331
+ name: string;
11332
+ description: string;
11333
+ input?: {
11334
+ hint: string;
11335
+ } | null | undefined;
11336
+ }[];
11113
11337
  }>]>;
11114
11338
  }, "strip", z.ZodTypeAny, {
11115
11339
  sessionId: string;
@@ -11144,10 +11368,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11144
11368
  type: "resource_link";
11145
11369
  name: string;
11146
11370
  uri: string;
11147
- size?: number | null | undefined;
11148
11371
  description?: string | null | undefined;
11149
11372
  title?: string | null | undefined;
11150
11373
  mimeType?: string | null | undefined;
11374
+ size?: number | null | undefined;
11151
11375
  annotations?: {
11152
11376
  priority?: number | null | undefined;
11153
11377
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11202,10 +11426,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11202
11426
  type: "resource_link";
11203
11427
  name: string;
11204
11428
  uri: string;
11205
- size?: number | null | undefined;
11206
11429
  description?: string | null | undefined;
11207
11430
  title?: string | null | undefined;
11208
11431
  mimeType?: string | null | undefined;
11432
+ size?: number | null | undefined;
11209
11433
  annotations?: {
11210
11434
  priority?: number | null | undefined;
11211
11435
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11260,10 +11484,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11260
11484
  type: "resource_link";
11261
11485
  name: string;
11262
11486
  uri: string;
11263
- size?: number | null | undefined;
11264
11487
  description?: string | null | undefined;
11265
11488
  title?: string | null | undefined;
11266
11489
  mimeType?: string | null | undefined;
11490
+ size?: number | null | undefined;
11267
11491
  annotations?: {
11268
11492
  priority?: number | null | undefined;
11269
11493
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11288,12 +11512,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11288
11512
  };
11289
11513
  sessionUpdate: "agent_thought_chunk";
11290
11514
  } | {
11291
- status: "completed" | "pending" | "in_progress" | "failed";
11515
+ status: "completed" | "failed" | "pending" | "in_progress";
11292
11516
  title: string;
11293
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
11517
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
11294
11518
  toolCallId: string;
11295
11519
  sessionUpdate: "tool_call";
11296
11520
  content?: ({
11521
+ type: "content";
11297
11522
  content: {
11298
11523
  type: "text";
11299
11524
  text: string;
@@ -11324,10 +11549,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11324
11549
  type: "resource_link";
11325
11550
  name: string;
11326
11551
  uri: string;
11327
- size?: number | null | undefined;
11328
11552
  description?: string | null | undefined;
11329
11553
  title?: string | null | undefined;
11330
11554
  mimeType?: string | null | undefined;
11555
+ size?: number | null | undefined;
11331
11556
  annotations?: {
11332
11557
  priority?: number | null | undefined;
11333
11558
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11350,7 +11575,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11350
11575
  lastModified?: string | null | undefined;
11351
11576
  } | null | undefined;
11352
11577
  };
11353
- type: "content";
11354
11578
  } | {
11355
11579
  type: "diff";
11356
11580
  path: string;
@@ -11365,7 +11589,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
11365
11589
  } | {
11366
11590
  toolCallId: string;
11367
11591
  sessionUpdate: "tool_call_update";
11592
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11368
11593
  content?: ({
11594
+ type: "content";
11369
11595
  content: {
11370
11596
  type: "text";
11371
11597
  text: string;
@@ -11396,10 +11622,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11396
11622
  type: "resource_link";
11397
11623
  name: string;
11398
11624
  uri: string;
11399
- size?: number | null | undefined;
11400
11625
  description?: string | null | undefined;
11401
11626
  title?: string | null | undefined;
11402
11627
  mimeType?: string | null | undefined;
11628
+ size?: number | null | undefined;
11403
11629
  annotations?: {
11404
11630
  priority?: number | null | undefined;
11405
11631
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11422,16 +11648,14 @@ export declare const agentNotificationSchema: z.ZodObject<{
11422
11648
  lastModified?: string | null | undefined;
11423
11649
  } | null | undefined;
11424
11650
  };
11425
- type: "content";
11426
11651
  } | {
11427
11652
  type: "diff";
11428
11653
  path: string;
11429
11654
  newText: string;
11430
11655
  oldText: string | null;
11431
11656
  })[] | null | undefined;
11432
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
11433
11657
  title?: string | null | undefined;
11434
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
11658
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11435
11659
  locations?: {
11436
11660
  path: string;
11437
11661
  line?: number | null | undefined;
@@ -11439,11 +11663,20 @@ export declare const agentNotificationSchema: z.ZodObject<{
11439
11663
  rawInput?: unknown;
11440
11664
  } | {
11441
11665
  entries: {
11442
- content: string;
11443
11666
  status: "completed" | "pending" | "in_progress";
11667
+ content: string;
11444
11668
  priority: "medium" | "high" | "low";
11445
11669
  }[];
11446
11670
  sessionUpdate: "plan";
11671
+ } | {
11672
+ sessionUpdate: "available_commands_update";
11673
+ availableCommands: {
11674
+ name: string;
11675
+ description: string;
11676
+ input?: {
11677
+ hint: string;
11678
+ } | null | undefined;
11679
+ }[];
11447
11680
  };
11448
11681
  }, {
11449
11682
  sessionId: string;
@@ -11478,10 +11711,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11478
11711
  type: "resource_link";
11479
11712
  name: string;
11480
11713
  uri: string;
11481
- size?: number | null | undefined;
11482
11714
  description?: string | null | undefined;
11483
11715
  title?: string | null | undefined;
11484
11716
  mimeType?: string | null | undefined;
11717
+ size?: number | null | undefined;
11485
11718
  annotations?: {
11486
11719
  priority?: number | null | undefined;
11487
11720
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11536,10 +11769,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11536
11769
  type: "resource_link";
11537
11770
  name: string;
11538
11771
  uri: string;
11539
- size?: number | null | undefined;
11540
11772
  description?: string | null | undefined;
11541
11773
  title?: string | null | undefined;
11542
11774
  mimeType?: string | null | undefined;
11775
+ size?: number | null | undefined;
11543
11776
  annotations?: {
11544
11777
  priority?: number | null | undefined;
11545
11778
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11594,10 +11827,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11594
11827
  type: "resource_link";
11595
11828
  name: string;
11596
11829
  uri: string;
11597
- size?: number | null | undefined;
11598
11830
  description?: string | null | undefined;
11599
11831
  title?: string | null | undefined;
11600
11832
  mimeType?: string | null | undefined;
11833
+ size?: number | null | undefined;
11601
11834
  annotations?: {
11602
11835
  priority?: number | null | undefined;
11603
11836
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11622,12 +11855,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11622
11855
  };
11623
11856
  sessionUpdate: "agent_thought_chunk";
11624
11857
  } | {
11625
- status: "completed" | "pending" | "in_progress" | "failed";
11858
+ status: "completed" | "failed" | "pending" | "in_progress";
11626
11859
  title: string;
11627
- kind: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch";
11860
+ kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
11628
11861
  toolCallId: string;
11629
11862
  sessionUpdate: "tool_call";
11630
11863
  content?: ({
11864
+ type: "content";
11631
11865
  content: {
11632
11866
  type: "text";
11633
11867
  text: string;
@@ -11658,10 +11892,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11658
11892
  type: "resource_link";
11659
11893
  name: string;
11660
11894
  uri: string;
11661
- size?: number | null | undefined;
11662
11895
  description?: string | null | undefined;
11663
11896
  title?: string | null | undefined;
11664
11897
  mimeType?: string | null | undefined;
11898
+ size?: number | null | undefined;
11665
11899
  annotations?: {
11666
11900
  priority?: number | null | undefined;
11667
11901
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11684,7 +11918,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11684
11918
  lastModified?: string | null | undefined;
11685
11919
  } | null | undefined;
11686
11920
  };
11687
- type: "content";
11688
11921
  } | {
11689
11922
  type: "diff";
11690
11923
  path: string;
@@ -11699,7 +11932,9 @@ export declare const agentNotificationSchema: z.ZodObject<{
11699
11932
  } | {
11700
11933
  toolCallId: string;
11701
11934
  sessionUpdate: "tool_call_update";
11935
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11702
11936
  content?: ({
11937
+ type: "content";
11703
11938
  content: {
11704
11939
  type: "text";
11705
11940
  text: string;
@@ -11730,10 +11965,10 @@ export declare const agentNotificationSchema: z.ZodObject<{
11730
11965
  type: "resource_link";
11731
11966
  name: string;
11732
11967
  uri: string;
11733
- size?: number | null | undefined;
11734
11968
  description?: string | null | undefined;
11735
11969
  title?: string | null | undefined;
11736
11970
  mimeType?: string | null | undefined;
11971
+ size?: number | null | undefined;
11737
11972
  annotations?: {
11738
11973
  priority?: number | null | undefined;
11739
11974
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11756,16 +11991,14 @@ export declare const agentNotificationSchema: z.ZodObject<{
11756
11991
  lastModified?: string | null | undefined;
11757
11992
  } | null | undefined;
11758
11993
  };
11759
- type: "content";
11760
11994
  } | {
11761
11995
  type: "diff";
11762
11996
  path: string;
11763
11997
  newText: string;
11764
11998
  oldText: string | null;
11765
11999
  })[] | null | undefined;
11766
- status?: "completed" | "pending" | "in_progress" | "failed" | null | undefined;
11767
12000
  title?: string | null | undefined;
11768
- kind?: "search" | "move" | "delete" | "other" | "read" | "edit" | "execute" | "think" | "fetch" | null | undefined;
12001
+ kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11769
12002
  locations?: {
11770
12003
  path: string;
11771
12004
  line?: number | null | undefined;
@@ -11773,10 +12006,19 @@ export declare const agentNotificationSchema: z.ZodObject<{
11773
12006
  rawInput?: unknown;
11774
12007
  } | {
11775
12008
  entries: {
11776
- content: string;
11777
12009
  status: "completed" | "pending" | "in_progress";
12010
+ content: string;
11778
12011
  priority: "medium" | "high" | "low";
11779
12012
  }[];
11780
12013
  sessionUpdate: "plan";
12014
+ } | {
12015
+ sessionUpdate: "available_commands_update";
12016
+ availableCommands: {
12017
+ name: string;
12018
+ description: string;
12019
+ input?: {
12020
+ hint: string;
12021
+ } | null | undefined;
12022
+ }[];
11781
12023
  };
11782
12024
  }>;