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

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
@@ -0,0 +1,470 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { OutputFormat, ToolErrorType, getMCPServerStatus, } from '@umsai/ums-code-core';
7
+ import { CommandService } from '../services/CommandService.js';
8
+ import { BuiltinCommandLoader } from '../services/BuiltinCommandLoader.js';
9
+ import { computeSessionStats } from '../ui/utils/computeStats.js';
10
+ /**
11
+ * Normalizes various part list formats into a consistent Part[] array.
12
+ *
13
+ * @param parts - Input parts in various formats (string, Part, Part[], or null)
14
+ * @returns Normalized array of Part objects
15
+ */
16
+ export function normalizePartList(parts) {
17
+ if (!parts) {
18
+ return [];
19
+ }
20
+ if (typeof parts === 'string') {
21
+ return [{ text: parts }];
22
+ }
23
+ if (Array.isArray(parts)) {
24
+ return parts.map((part) => typeof part === 'string' ? { text: part } : part);
25
+ }
26
+ return [parts];
27
+ }
28
+ /**
29
+ * Extracts user message parts from a CLI protocol message.
30
+ *
31
+ * @param message - User message sourced from the CLI protocol layer
32
+ * @returns Extracted parts or null if the message lacks textual content
33
+ */
34
+ export function extractPartsFromUserMessage(message) {
35
+ if (!message) {
36
+ return null;
37
+ }
38
+ const content = message.message?.content;
39
+ if (typeof content === 'string') {
40
+ return content;
41
+ }
42
+ if (Array.isArray(content)) {
43
+ const parts = [];
44
+ for (const block of content) {
45
+ if (!block || typeof block !== 'object' || !('type' in block)) {
46
+ continue;
47
+ }
48
+ if (block.type === 'text' && 'text' in block && block.text) {
49
+ parts.push({ text: block.text });
50
+ }
51
+ else {
52
+ parts.push({ text: JSON.stringify(block) });
53
+ }
54
+ }
55
+ return parts.length > 0 ? parts : null;
56
+ }
57
+ return null;
58
+ }
59
+ /**
60
+ * Extracts usage metadata from the Gemini client's debug responses.
61
+ *
62
+ * @param geminiClient - The Gemini client instance
63
+ * @returns Usage information or undefined if not available
64
+ */
65
+ export function extractUsageFromGeminiClient(geminiClient) {
66
+ if (!geminiClient ||
67
+ typeof geminiClient !== 'object' ||
68
+ typeof geminiClient.getChat !== 'function') {
69
+ return undefined;
70
+ }
71
+ try {
72
+ const chat = geminiClient.getChat();
73
+ if (!chat ||
74
+ typeof chat !== 'object' ||
75
+ typeof chat.getDebugResponses !==
76
+ 'function') {
77
+ return undefined;
78
+ }
79
+ const responses = chat.getDebugResponses();
80
+ for (let i = responses.length - 1; i >= 0; i--) {
81
+ const metadata = responses[i]?.['usageMetadata'];
82
+ if (metadata) {
83
+ const promptTokens = metadata['promptTokenCount'];
84
+ const completionTokens = metadata['candidatesTokenCount'];
85
+ const totalTokens = metadata['totalTokenCount'];
86
+ const cachedTokens = metadata['cachedContentTokenCount'];
87
+ return {
88
+ input_tokens: typeof promptTokens === 'number' ? promptTokens : 0,
89
+ output_tokens: typeof completionTokens === 'number' ? completionTokens : 0,
90
+ total_tokens: typeof totalTokens === 'number' ? totalTokens : undefined,
91
+ cache_read_input_tokens: typeof cachedTokens === 'number' ? cachedTokens : undefined,
92
+ };
93
+ }
94
+ }
95
+ }
96
+ catch (error) {
97
+ console.debug('Failed to extract usage metadata:', error);
98
+ }
99
+ return undefined;
100
+ }
101
+ /**
102
+ * Computes Usage information from SessionMetrics using computeSessionStats.
103
+ * Aggregates token usage across all models in the session.
104
+ *
105
+ * @param metrics - Session metrics from uiTelemetryService
106
+ * @returns Usage object with token counts
107
+ */
108
+ export function computeUsageFromMetrics(metrics) {
109
+ const stats = computeSessionStats(metrics);
110
+ const { models } = metrics;
111
+ // Sum up output tokens (candidates) and total tokens across all models
112
+ const totalOutputTokens = Object.values(models).reduce((acc, model) => acc + model.tokens.candidates, 0);
113
+ const totalTokens = Object.values(models).reduce((acc, model) => acc + model.tokens.total, 0);
114
+ const usage = {
115
+ input_tokens: stats.totalPromptTokens,
116
+ output_tokens: totalOutputTokens,
117
+ cache_read_input_tokens: stats.totalCachedTokens,
118
+ };
119
+ // Only include total_tokens if it's greater than 0
120
+ if (totalTokens > 0) {
121
+ usage.total_tokens = totalTokens;
122
+ }
123
+ return usage;
124
+ }
125
+ /**
126
+ * Load slash command names using CommandService
127
+ *
128
+ * @param config - Config instance
129
+ * @returns Promise resolving to array of slash command names
130
+ */
131
+ async function loadSlashCommandNames(config) {
132
+ const controller = new AbortController();
133
+ try {
134
+ const service = await CommandService.create([new BuiltinCommandLoader(config)], controller.signal);
135
+ const names = new Set();
136
+ const commands = service.getCommands();
137
+ for (const command of commands) {
138
+ names.add(command.name);
139
+ }
140
+ return Array.from(names).sort();
141
+ }
142
+ catch (error) {
143
+ if (config.getDebugMode()) {
144
+ console.error('[buildSystemMessage] Failed to load slash commands:', error);
145
+ }
146
+ return [];
147
+ }
148
+ finally {
149
+ controller.abort();
150
+ }
151
+ }
152
+ /**
153
+ * Build system message for SDK
154
+ *
155
+ * Constructs a system initialization message including tools, MCP servers,
156
+ * and model configuration. System messages are independent of the control
157
+ * system and are sent before every turn regardless of whether control
158
+ * system is available.
159
+ *
160
+ * Note: Control capabilities are NOT included in system messages. They
161
+ * are only included in the initialize control response, which is handled
162
+ * separately by SystemController.
163
+ *
164
+ * @param config - Config instance
165
+ * @param sessionId - Session identifier
166
+ * @param permissionMode - Current permission/approval mode
167
+ * @returns Promise resolving to CLISystemMessage
168
+ */
169
+ export async function buildSystemMessage(config, sessionId, permissionMode) {
170
+ const toolRegistry = config.getToolRegistry();
171
+ const tools = toolRegistry ? toolRegistry.getAllToolNames() : [];
172
+ const mcpServers = config.getMcpServers();
173
+ const mcpServerList = mcpServers
174
+ ? Object.keys(mcpServers).map((name) => ({
175
+ name,
176
+ status: getMCPServerStatus(name),
177
+ }))
178
+ : [];
179
+ // Load slash commands
180
+ const slashCommands = await loadSlashCommandNames(config);
181
+ // Load subagent names from config
182
+ let agentNames = [];
183
+ try {
184
+ const subagentManager = config.getSubagentManager();
185
+ const subagents = await subagentManager.listSubagents();
186
+ agentNames = subagents.map((subagent) => subagent.name);
187
+ }
188
+ catch (error) {
189
+ if (config.getDebugMode()) {
190
+ console.error('[buildSystemMessage] Failed to load subagents:', error);
191
+ }
192
+ }
193
+ const systemMessage = {
194
+ type: 'system',
195
+ subtype: 'init',
196
+ uuid: sessionId,
197
+ session_id: sessionId,
198
+ cwd: config.getTargetDir(),
199
+ tools,
200
+ mcp_servers: mcpServerList,
201
+ model: config.getModel(),
202
+ permissionMode,
203
+ slash_commands: slashCommands,
204
+ qwen_code_version: config.getCliVersion() || 'unknown',
205
+ agents: agentNames,
206
+ };
207
+ return systemMessage;
208
+ }
209
+ /**
210
+ * Creates an output update handler specifically for Task tool subagent execution.
211
+ * This handler monitors TaskResultDisplay updates and converts them to protocol messages
212
+ * using the unified adapter's subagent APIs. All emitted messages will have parent_tool_use_id set to
213
+ * the task tool's callId.
214
+ *
215
+ * @param config - Config instance for getting output format
216
+ * @param taskToolCallId - The task tool's callId to use as parent_tool_use_id for all subagent messages
217
+ * @param adapter - The unified adapter instance (JsonOutputAdapter or StreamJsonOutputAdapter)
218
+ * @returns An object containing the output update handler
219
+ */
220
+ export function createTaskToolProgressHandler(config, taskToolCallId, adapter) {
221
+ // Track previous TaskResultDisplay states per tool call to detect changes
222
+ const previousTaskStates = new Map();
223
+ // Track which tool call IDs have already emitted tool_use to prevent duplicates
224
+ const emittedToolUseIds = new Set();
225
+ // Track which tool call IDs have already emitted tool_result to prevent duplicates
226
+ const emittedToolResultIds = new Set();
227
+ /**
228
+ * Builds a ToolCallRequestInfo object from a tool call.
229
+ *
230
+ * @param toolCall - The tool call information
231
+ * @returns ToolCallRequestInfo object
232
+ */
233
+ const buildRequest = (toolCall) => ({
234
+ callId: toolCall.callId,
235
+ name: toolCall.name,
236
+ args: toolCall.args || {},
237
+ isClientInitiated: true,
238
+ prompt_id: '',
239
+ response_id: undefined,
240
+ });
241
+ /**
242
+ * Builds a ToolCallResponseInfo object from a tool call.
243
+ *
244
+ * @param toolCall - The tool call information
245
+ * @returns ToolCallResponseInfo object
246
+ */
247
+ const buildResponse = (toolCall) => ({
248
+ callId: toolCall.callId,
249
+ error: toolCall.status === 'failed'
250
+ ? new Error(toolCall.error || 'Tool execution failed')
251
+ : undefined,
252
+ errorType: toolCall.status === 'failed' ? ToolErrorType.EXECUTION_FAILED : undefined,
253
+ resultDisplay: toolCall.resultDisplay,
254
+ responseParts: toolCall.responseParts || [],
255
+ });
256
+ /**
257
+ * Checks if a tool call has result content that should be emitted.
258
+ *
259
+ * @param toolCall - The tool call information
260
+ * @returns True if the tool call has result content to emit
261
+ */
262
+ const hasResultContent = (toolCall) => {
263
+ // Check resultDisplay string
264
+ if (typeof toolCall.resultDisplay === 'string' &&
265
+ toolCall.resultDisplay.trim().length > 0) {
266
+ return true;
267
+ }
268
+ // Check responseParts - only check existence, don't parse for performance
269
+ if (toolCall.responseParts && toolCall.responseParts.length > 0) {
270
+ return true;
271
+ }
272
+ // Failed status should always emit result
273
+ return toolCall.status === 'failed';
274
+ };
275
+ /**
276
+ * Emits tool_use for a tool call if it hasn't been emitted yet.
277
+ *
278
+ * @param toolCall - The tool call information
279
+ * @param fallbackStatus - Optional fallback status if toolCall.status should be overridden
280
+ */
281
+ const emitToolUseIfNeeded = (toolCall, fallbackStatus) => {
282
+ if (emittedToolUseIds.has(toolCall.callId)) {
283
+ return;
284
+ }
285
+ const toolCallToEmit = fallbackStatus
286
+ ? {
287
+ ...toolCall,
288
+ status: fallbackStatus,
289
+ }
290
+ : toolCall;
291
+ if (toolCallToEmit.status === 'executing' ||
292
+ toolCallToEmit.status === 'awaiting_approval') {
293
+ if (adapter?.processSubagentToolCall) {
294
+ adapter.processSubagentToolCall(toolCallToEmit, taskToolCallId);
295
+ emittedToolUseIds.add(toolCall.callId);
296
+ }
297
+ }
298
+ };
299
+ /**
300
+ * Emits tool_result for a tool call if it hasn't been emitted yet and has content.
301
+ *
302
+ * @param toolCall - The tool call information
303
+ */
304
+ const emitToolResultIfNeeded = (toolCall) => {
305
+ if (emittedToolResultIds.has(toolCall.callId)) {
306
+ return;
307
+ }
308
+ if (!hasResultContent(toolCall)) {
309
+ return;
310
+ }
311
+ // Mark as emitted even if we skip, to prevent duplicate emits
312
+ emittedToolResultIds.add(toolCall.callId);
313
+ if (adapter) {
314
+ const request = buildRequest(toolCall);
315
+ const response = buildResponse(toolCall);
316
+ // For subagent tool results, we need to pass parentToolUseId
317
+ // The adapter implementations accept an optional parentToolUseId parameter
318
+ if ('emitToolResult' in adapter &&
319
+ typeof adapter.emitToolResult === 'function') {
320
+ adapter.emitToolResult(request, response, taskToolCallId);
321
+ }
322
+ else {
323
+ adapter.emitToolResult(request, response);
324
+ }
325
+ }
326
+ };
327
+ /**
328
+ * Processes a tool call, ensuring tool_use and tool_result are emitted exactly once.
329
+ *
330
+ * @param toolCall - The tool call information
331
+ * @param previousCall - The previous state of the tool call (if any)
332
+ */
333
+ const processToolCall = (toolCall, previousCall) => {
334
+ const isCompleted = toolCall.status === 'success' || toolCall.status === 'failed';
335
+ const isExecuting = toolCall.status === 'executing' ||
336
+ toolCall.status === 'awaiting_approval';
337
+ const wasExecuting = previousCall &&
338
+ (previousCall.status === 'executing' ||
339
+ previousCall.status === 'awaiting_approval');
340
+ // Emit tool_use if needed
341
+ if (isExecuting) {
342
+ // Normal case: tool call is executing or awaiting approval
343
+ emitToolUseIfNeeded(toolCall);
344
+ }
345
+ else if (isCompleted && !emittedToolUseIds.has(toolCall.callId)) {
346
+ // Edge case: tool call appeared with result already (shouldn't happen normally,
347
+ // but handle it gracefully by emitting tool_use with 'executing' status first)
348
+ emitToolUseIfNeeded(toolCall, 'executing');
349
+ }
350
+ else if (wasExecuting && isCompleted) {
351
+ // Status changed from executing to completed - ensure tool_use was emitted
352
+ emitToolUseIfNeeded(toolCall, 'executing');
353
+ }
354
+ // Emit tool_result if tool call is completed
355
+ if (isCompleted) {
356
+ emitToolResultIfNeeded(toolCall);
357
+ }
358
+ };
359
+ const outputUpdateHandler = (callId, outputChunk) => {
360
+ // Only process TaskResultDisplay (Task tool updates)
361
+ if (typeof outputChunk === 'object' &&
362
+ outputChunk !== null &&
363
+ 'type' in outputChunk &&
364
+ outputChunk.type === 'task_execution') {
365
+ const taskDisplay = outputChunk;
366
+ const previous = previousTaskStates.get(callId);
367
+ // If no adapter, just track state (for non-JSON modes)
368
+ if (!adapter) {
369
+ previousTaskStates.set(callId, taskDisplay);
370
+ return;
371
+ }
372
+ // Only process if adapter supports subagent APIs
373
+ if (!adapter.processSubagentToolCall ||
374
+ !adapter.emitSubagentErrorResult) {
375
+ previousTaskStates.set(callId, taskDisplay);
376
+ return;
377
+ }
378
+ if (taskDisplay.toolCalls) {
379
+ if (!previous || !previous.toolCalls) {
380
+ // First time seeing tool calls - process all initial ones
381
+ for (const toolCall of taskDisplay.toolCalls) {
382
+ processToolCall(toolCall);
383
+ }
384
+ }
385
+ else {
386
+ // Compare with previous state to find new/changed tool calls
387
+ for (const toolCall of taskDisplay.toolCalls) {
388
+ const previousCall = previous.toolCalls.find((tc) => tc.callId === toolCall.callId);
389
+ processToolCall(toolCall, previousCall);
390
+ }
391
+ }
392
+ }
393
+ // Handle task-level errors (status: 'failed', 'cancelled')
394
+ if (taskDisplay.status === 'failed' ||
395
+ taskDisplay.status === 'cancelled') {
396
+ const previousStatus = previous?.status;
397
+ // Only emit error result if status changed to failed/cancelled
398
+ if (previousStatus !== 'failed' &&
399
+ previousStatus !== 'cancelled' &&
400
+ previousStatus !== undefined) {
401
+ const errorMessage = taskDisplay.terminateReason ||
402
+ (taskDisplay.status === 'cancelled'
403
+ ? 'Task was cancelled'
404
+ : 'Task execution failed');
405
+ // Use subagent adapter's emitSubagentErrorResult method
406
+ adapter.emitSubagentErrorResult(errorMessage, 0, taskToolCallId);
407
+ }
408
+ }
409
+ // Handle subagent initial message (prompt) in non-interactive mode with json/stream-json output
410
+ // Emit when this is the first update (previous is undefined) and task starts
411
+ if (!previous &&
412
+ taskDisplay.taskPrompt &&
413
+ !config.isInteractive() &&
414
+ (config.getOutputFormat() === OutputFormat.JSON ||
415
+ config.getOutputFormat() === OutputFormat.STREAM_JSON)) {
416
+ // Emit the user message with the correct parent_tool_use_id
417
+ adapter.emitUserMessage([{ text: taskDisplay.taskPrompt }], taskToolCallId);
418
+ }
419
+ // Update previous state
420
+ previousTaskStates.set(callId, taskDisplay);
421
+ }
422
+ };
423
+ // No longer need to attach adapter to handler - task.ts uses TaskResultDisplay.message instead
424
+ return {
425
+ handler: outputUpdateHandler,
426
+ };
427
+ }
428
+ /**
429
+ * Converts function response parts to a string representation.
430
+ * Handles functionResponse parts specially by extracting their output content.
431
+ *
432
+ * @param parts - Array of Part objects to convert
433
+ * @returns String representation of the parts
434
+ */
435
+ export function functionResponsePartsToString(parts) {
436
+ return parts
437
+ .map((part) => {
438
+ if ('functionResponse' in part) {
439
+ const content = part.functionResponse?.response?.['output'] ?? '';
440
+ return content;
441
+ }
442
+ return JSON.stringify(part);
443
+ })
444
+ .join('');
445
+ }
446
+ /**
447
+ * Extracts content from a tool call response for inclusion in tool_result blocks.
448
+ * Uses functionResponsePartsToString to properly handle functionResponse parts,
449
+ * which correctly extracts output content from functionResponse objects rather
450
+ * than simply concatenating text or JSON.stringify.
451
+ *
452
+ * @param response - Tool call response information
453
+ * @returns String content for the tool_result block, or undefined if no content available
454
+ */
455
+ export function toolResultContent(response) {
456
+ if (typeof response.resultDisplay === 'string' &&
457
+ response.resultDisplay.trim().length > 0) {
458
+ return response.resultDisplay;
459
+ }
460
+ if (response.responseParts && response.responseParts.length > 0) {
461
+ // Always use functionResponsePartsToString to properly handle
462
+ // functionResponse parts that contain output content
463
+ return functionResponsePartsToString(response.responseParts);
464
+ }
465
+ if (response.error) {
466
+ return response.error.message;
467
+ }
468
+ return undefined;
469
+ }
470
+ //# sourceMappingURL=nonInteractiveHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nonInteractiveHelpers.js","sourceRoot":"","sources":["../../../src/utils/nonInteractiveHelpers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAWH,OAAO,EACL,YAAY,EACZ,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAQ9B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElE;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAA2B;IAC3D,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3B,CAAC;IAED,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACxB,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAE,IAAa,CAC3D,CAAC;IACJ,CAAC;IAED,OAAO,CAAC,KAAa,CAAC,CAAC;AACzB,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CACzC,OAAmC;IAEnC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;IACzC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,IAAI,KAAK,CAAC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