@parhelia/core 0.1.11619 → 0.1.11620

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 (1145) hide show
  1. package/dist/editor/ai/AgentProfilesOverview.js +2 -2
  2. package/dist/editor/ai/AgentProfilesOverview.js.map +1 -1
  3. package/dist/editor/control-center/ControlCenterMenu.js +1 -8
  4. package/dist/editor/control-center/ControlCenterMenu.js.map +1 -1
  5. package/dist/editor/control-center/IndexOverview.js +116 -249
  6. package/dist/editor/control-center/IndexOverview.js.map +1 -1
  7. package/dist/editor/control-center/Setup.js +15 -192
  8. package/dist/editor/control-center/Setup.js.map +1 -1
  9. package/dist/editor/control-center/Status.js +1 -8
  10. package/dist/editor/control-center/Status.js.map +1 -1
  11. package/dist/editor/control-center/setup-steps/AiSetupStep/utils.d.ts +0 -1
  12. package/dist/editor/control-center/setup-steps/AiSetupStep/utils.js +0 -19
  13. package/dist/editor/control-center/setup-steps/AiSetupStep/utils.js.map +1 -1
  14. package/dist/editor/sidebar/SidebarView.d.ts +1 -4
  15. package/dist/editor/sidebar/SidebarView.js +10 -23
  16. package/dist/editor/sidebar/SidebarView.js.map +1 -1
  17. package/dist/editor/sidebar/ViewSelector.js +2 -2
  18. package/dist/editor/sidebar/ViewSelector.js.map +1 -1
  19. package/dist/revision.d.ts +2 -2
  20. package/dist/revision.js +2 -2
  21. package/dist/setup/SetupWizardPage.js +2 -2
  22. package/dist/setup/SetupWizardPage.js.map +1 -1
  23. package/dist/setup/wizard/index.d.ts +4 -5
  24. package/dist/setup/wizard/index.js +4 -6
  25. package/dist/setup/wizard/index.js.map +1 -1
  26. package/dist/setup/wizard/steps/AgentsStep.js +15 -6
  27. package/dist/setup/wizard/steps/AgentsStep.js.map +1 -1
  28. package/dist/setup/wizard/steps/ModelsStep.js +79 -182
  29. package/dist/setup/wizard/steps/ModelsStep.js.map +1 -1
  30. package/package.json +1 -1
  31. package/dist/dist/agents-view/AgentCard.d.ts +0 -12
  32. package/dist/dist/agents-view/AgentCard.js +0 -30
  33. package/dist/dist/agents-view/AgentCard.js.map +0 -1
  34. package/dist/dist/agents-view/AgentsView.d.ts +0 -5
  35. package/dist/dist/agents-view/AgentsView.js +0 -255
  36. package/dist/dist/agents-view/AgentsView.js.map +0 -1
  37. package/dist/dist/agents-view/ProfileAgentsGroup.d.ts +0 -17
  38. package/dist/dist/agents-view/ProfileAgentsGroup.js +0 -13
  39. package/dist/dist/agents-view/ProfileAgentsGroup.js.map +0 -1
  40. package/dist/dist/client-components/api.d.ts +0 -1
  41. package/dist/dist/client-components/api.js +0 -4
  42. package/dist/dist/client-components/api.js.map +0 -1
  43. package/dist/dist/client-components/index.d.ts +0 -17
  44. package/dist/dist/client-components/index.js +0 -18
  45. package/dist/dist/client-components/index.js.map +0 -1
  46. package/dist/dist/components/ActionButton.d.ts +0 -14
  47. package/dist/dist/components/ActionButton.js +0 -6
  48. package/dist/dist/components/ActionButton.js.map +0 -1
  49. package/dist/dist/components/Error.d.ts +0 -9
  50. package/dist/dist/components/Error.js +0 -24
  51. package/dist/dist/components/Error.js.map +0 -1
  52. package/dist/dist/components/FilterInput.d.ts +0 -22
  53. package/dist/dist/components/FilterInput.js +0 -29
  54. package/dist/dist/components/FilterInput.js.map +0 -1
  55. package/dist/dist/components/index.d.ts +0 -7
  56. package/dist/dist/components/index.js +0 -5
  57. package/dist/dist/components/index.js.map +0 -1
  58. package/dist/dist/components/ui/CardConnector.d.ts +0 -4
  59. package/dist/dist/components/ui/CardConnector.js +0 -6
  60. package/dist/dist/components/ui/CardConnector.js.map +0 -1
  61. package/dist/dist/components/ui/LanguageSelector.d.ts +0 -8
  62. package/dist/dist/components/ui/LanguageSelector.js +0 -53
  63. package/dist/dist/components/ui/LanguageSelector.js.map +0 -1
  64. package/dist/dist/components/ui/PlaceholderInput.d.ts +0 -41
  65. package/dist/dist/components/ui/PlaceholderInput.js +0 -160
  66. package/dist/dist/components/ui/PlaceholderInput.js.map +0 -1
  67. package/dist/dist/components/ui/PlaceholderInputTypes.d.ts +0 -41
  68. package/dist/dist/components/ui/PlaceholderInputTypes.js +0 -48
  69. package/dist/dist/components/ui/PlaceholderInputTypes.js.map +0 -1
  70. package/dist/dist/components/ui/PlaceholderItemSelector.d.ts +0 -7
  71. package/dist/dist/components/ui/PlaceholderItemSelector.js +0 -154
  72. package/dist/dist/components/ui/PlaceholderItemSelector.js.map +0 -1
  73. package/dist/dist/components/ui/alert.d.ts +0 -7
  74. package/dist/dist/components/ui/alert.js +0 -21
  75. package/dist/dist/components/ui/alert.js.map +0 -1
  76. package/dist/dist/components/ui/badge.d.ts +0 -9
  77. package/dist/dist/components/ui/badge.js +0 -23
  78. package/dist/dist/components/ui/badge.js.map +0 -1
  79. package/dist/dist/components/ui/button.d.ts +0 -10
  80. package/dist/dist/components/ui/button.js +0 -33
  81. package/dist/dist/components/ui/button.js.map +0 -1
  82. package/dist/dist/components/ui/calendar.d.ts +0 -7
  83. package/dist/dist/components/ui/calendar.js +0 -58
  84. package/dist/dist/components/ui/calendar.js.map +0 -1
  85. package/dist/dist/components/ui/card.d.ts +0 -19
  86. package/dist/dist/components/ui/card.js +0 -78
  87. package/dist/dist/components/ui/card.js.map +0 -1
  88. package/dist/dist/components/ui/checkbox.d.ts +0 -4
  89. package/dist/dist/components/ui/checkbox.js +0 -10
  90. package/dist/dist/components/ui/checkbox.js.map +0 -1
  91. package/dist/dist/components/ui/command.d.ts +0 -18
  92. package/dist/dist/components/ui/command.js +0 -35
  93. package/dist/dist/components/ui/command.js.map +0 -1
  94. package/dist/dist/components/ui/context-menu.d.ts +0 -53
  95. package/dist/dist/components/ui/context-menu.js +0 -290
  96. package/dist/dist/components/ui/context-menu.js.map +0 -1
  97. package/dist/dist/components/ui/copy-button.d.ts +0 -10
  98. package/dist/dist/components/ui/copy-button.js +0 -61
  99. package/dist/dist/components/ui/copy-button.js.map +0 -1
  100. package/dist/dist/components/ui/dialog.d.ts +0 -16
  101. package/dist/dist/components/ui/dialog.js +0 -37
  102. package/dist/dist/components/ui/dialog.js.map +0 -1
  103. package/dist/dist/components/ui/dropdown-menu.d.ts +0 -25
  104. package/dist/dist/components/ui/dropdown-menu.js +0 -52
  105. package/dist/dist/components/ui/dropdown-menu.js.map +0 -1
  106. package/dist/dist/components/ui/input.d.ts +0 -3
  107. package/dist/dist/components/ui/input.js +0 -9
  108. package/dist/dist/components/ui/input.js.map +0 -1
  109. package/dist/dist/components/ui/label.d.ts +0 -5
  110. package/dist/dist/components/ui/label.js +0 -9
  111. package/dist/dist/components/ui/label.js.map +0 -1
  112. package/dist/dist/components/ui/menubar.d.ts +0 -26
  113. package/dist/dist/components/ui/menubar.js +0 -55
  114. package/dist/dist/components/ui/menubar.js.map +0 -1
  115. package/dist/dist/components/ui/paste-button.d.ts +0 -14
  116. package/dist/dist/components/ui/paste-button.js +0 -114
  117. package/dist/dist/components/ui/paste-button.js.map +0 -1
  118. package/dist/dist/components/ui/popover.d.ts +0 -11
  119. package/dist/dist/components/ui/popover.js +0 -66
  120. package/dist/dist/components/ui/popover.js.map +0 -1
  121. package/dist/dist/components/ui/progress.d.ts +0 -7
  122. package/dist/dist/components/ui/progress.js +0 -9
  123. package/dist/dist/components/ui/progress.js.map +0 -1
  124. package/dist/dist/components/ui/select.d.ts +0 -18
  125. package/dist/dist/components/ui/select.js +0 -34
  126. package/dist/dist/components/ui/select.js.map +0 -1
  127. package/dist/dist/components/ui/sonner.d.ts +0 -3
  128. package/dist/dist/components/ui/sonner.js +0 -16
  129. package/dist/dist/components/ui/sonner.js.map +0 -1
  130. package/dist/dist/components/ui/switch.d.ts +0 -4
  131. package/dist/dist/components/ui/switch.js +0 -9
  132. package/dist/dist/components/ui/switch.js.map +0 -1
  133. package/dist/dist/components/ui/tabs.d.ts +0 -17
  134. package/dist/dist/components/ui/tabs.js +0 -27
  135. package/dist/dist/components/ui/tabs.js.map +0 -1
  136. package/dist/dist/components/ui/textarea.d.ts +0 -3
  137. package/dist/dist/components/ui/textarea.js +0 -11
  138. package/dist/dist/components/ui/textarea.js.map +0 -1
  139. package/dist/dist/components/ui/tooltip.d.ts +0 -9
  140. package/dist/dist/components/ui/tooltip.js +0 -18
  141. package/dist/dist/components/ui/tooltip.js.map +0 -1
  142. package/dist/dist/components/ui/upload-button.d.ts +0 -15
  143. package/dist/dist/components/ui/upload-button.js +0 -56
  144. package/dist/dist/components/ui/upload-button.js.map +0 -1
  145. package/dist/dist/config/config.d.ts +0 -24
  146. package/dist/dist/config/config.js +0 -1088
  147. package/dist/dist/config/config.js.map +0 -1
  148. package/dist/dist/config/types.d.ts +0 -244
  149. package/dist/dist/config/types.js +0 -2
  150. package/dist/dist/config/types.js.map +0 -1
  151. package/dist/dist/editor/AspectRatioSelector.d.ts +0 -13
  152. package/dist/dist/editor/AspectRatioSelector.js +0 -71
  153. package/dist/dist/editor/AspectRatioSelector.js.map +0 -1
  154. package/dist/dist/editor/ComponentInfo.d.ts +0 -4
  155. package/dist/dist/editor/ComponentInfo.js +0 -41
  156. package/dist/dist/editor/ComponentInfo.js.map +0 -1
  157. package/dist/dist/editor/ConfirmationDialog.d.ts +0 -19
  158. package/dist/dist/editor/ConfirmationDialog.js +0 -31
  159. package/dist/dist/editor/ConfirmationDialog.js.map +0 -1
  160. package/dist/dist/editor/ContentTree.d.ts +0 -39
  161. package/dist/dist/editor/ContentTree.js +0 -602
  162. package/dist/dist/editor/ContentTree.js.map +0 -1
  163. package/dist/dist/editor/ContextMenu.d.ts +0 -15
  164. package/dist/dist/editor/ContextMenu.js +0 -239
  165. package/dist/dist/editor/ContextMenu.js.map +0 -1
  166. package/dist/dist/editor/Editor.d.ts +0 -12
  167. package/dist/dist/editor/Editor.js +0 -116
  168. package/dist/dist/editor/Editor.js.map +0 -1
  169. package/dist/dist/editor/EditorWarning.d.ts +0 -5
  170. package/dist/dist/editor/EditorWarning.js +0 -12
  171. package/dist/dist/editor/EditorWarning.js.map +0 -1
  172. package/dist/dist/editor/EditorWarnings.d.ts +0 -9
  173. package/dist/dist/editor/EditorWarnings.js +0 -19
  174. package/dist/dist/editor/EditorWarnings.js.map +0 -1
  175. package/dist/dist/editor/FieldActionsOverlay.d.ts +0 -18
  176. package/dist/dist/editor/FieldActionsOverlay.js +0 -201
  177. package/dist/dist/editor/FieldActionsOverlay.js.map +0 -1
  178. package/dist/dist/editor/FieldEditorPopup.d.ts +0 -10
  179. package/dist/dist/editor/FieldEditorPopup.js +0 -23
  180. package/dist/dist/editor/FieldEditorPopup.js.map +0 -1
  181. package/dist/dist/editor/FieldHistory.d.ts +0 -7
  182. package/dist/dist/editor/FieldHistory.js +0 -45
  183. package/dist/dist/editor/FieldHistory.js.map +0 -1
  184. package/dist/dist/editor/FieldList.d.ts +0 -19
  185. package/dist/dist/editor/FieldList.js +0 -90
  186. package/dist/dist/editor/FieldList.js.map +0 -1
  187. package/dist/dist/editor/FieldListField.d.ts +0 -16
  188. package/dist/dist/editor/FieldListField.js +0 -286
  189. package/dist/dist/editor/FieldListField.js.map +0 -1
  190. package/dist/dist/editor/FieldListFieldWithFallbacks.d.ts +0 -11
  191. package/dist/dist/editor/FieldListFieldWithFallbacks.js +0 -120
  192. package/dist/dist/editor/FieldListFieldWithFallbacks.js.map +0 -1
  193. package/dist/dist/editor/FloatingToolbar.d.ts +0 -7
  194. package/dist/dist/editor/FloatingToolbar.js +0 -91
  195. package/dist/dist/editor/FloatingToolbar.js.map +0 -1
  196. package/dist/dist/editor/ImageEditButton.d.ts +0 -27
  197. package/dist/dist/editor/ImageEditButton.js +0 -22
  198. package/dist/dist/editor/ImageEditButton.js.map +0 -1
  199. package/dist/dist/editor/ImageEditor.d.ts +0 -5
  200. package/dist/dist/editor/ImageEditor.js +0 -76
  201. package/dist/dist/editor/ImageEditor.js.map +0 -1
  202. package/dist/dist/editor/ItemInfo.d.ts +0 -4
  203. package/dist/dist/editor/ItemInfo.js +0 -60
  204. package/dist/dist/editor/ItemInfo.js.map +0 -1
  205. package/dist/dist/editor/LinkEditorDialog.d.ts +0 -18
  206. package/dist/dist/editor/LinkEditorDialog.js +0 -101
  207. package/dist/dist/editor/LinkEditorDialog.js.map +0 -1
  208. package/dist/dist/editor/MainLayout.d.ts +0 -12
  209. package/dist/dist/editor/MainLayout.js +0 -124
  210. package/dist/dist/editor/MainLayout.js.map +0 -1
  211. package/dist/dist/editor/MobileLayout.d.ts +0 -2
  212. package/dist/dist/editor/MobileLayout.js +0 -34
  213. package/dist/dist/editor/MobileLayout.js.map +0 -1
  214. package/dist/dist/editor/NewEditorClient.d.ts +0 -5
  215. package/dist/dist/editor/NewEditorClient.js +0 -7
  216. package/dist/dist/editor/NewEditorClient.js.map +0 -1
  217. package/dist/dist/editor/PictureCropper.d.ts +0 -6
  218. package/dist/dist/editor/PictureCropper.js +0 -722
  219. package/dist/dist/editor/PictureCropper.js.map +0 -1
  220. package/dist/dist/editor/PictureEditor.d.ts +0 -9
  221. package/dist/dist/editor/PictureEditor.js +0 -180
  222. package/dist/dist/editor/PictureEditor.js.map +0 -1
  223. package/dist/dist/editor/PictureEditorDialog.d.ts +0 -8
  224. package/dist/dist/editor/PictureEditorDialog.js +0 -195
  225. package/dist/dist/editor/PictureEditorDialog.js.map +0 -1
  226. package/dist/dist/editor/QuickItemSwitcher.d.ts +0 -9
  227. package/dist/dist/editor/QuickItemSwitcher.js +0 -78
  228. package/dist/dist/editor/QuickItemSwitcher.js.map +0 -1
  229. package/dist/dist/editor/ScrollingContentTree.d.ts +0 -10
  230. package/dist/dist/editor/ScrollingContentTree.js +0 -48
  231. package/dist/dist/editor/ScrollingContentTree.js.map +0 -1
  232. package/dist/dist/editor/SetupLoadingScreen.d.ts +0 -5
  233. package/dist/dist/editor/SetupLoadingScreen.js +0 -11
  234. package/dist/dist/editor/SetupLoadingScreen.js.map +0 -1
  235. package/dist/dist/editor/Titlebar.d.ts +0 -1
  236. package/dist/dist/editor/Titlebar.js +0 -46
  237. package/dist/dist/editor/Titlebar.js.map +0 -1
  238. package/dist/dist/editor/ai/AgentCostDisplay.d.ts +0 -32
  239. package/dist/dist/editor/ai/AgentCostDisplay.js +0 -93
  240. package/dist/dist/editor/ai/AgentCostDisplay.js.map +0 -1
  241. package/dist/dist/editor/ai/AgentDocumentList.d.ts +0 -8
  242. package/dist/dist/editor/ai/AgentDocumentList.js +0 -132
  243. package/dist/dist/editor/ai/AgentDocumentList.js.map +0 -1
  244. package/dist/dist/editor/ai/AgentHistory.d.ts +0 -11
  245. package/dist/dist/editor/ai/AgentHistory.js +0 -12
  246. package/dist/dist/editor/ai/AgentHistory.js.map +0 -1
  247. package/dist/dist/editor/ai/AgentProfilesOverview.d.ts +0 -9
  248. package/dist/dist/editor/ai/AgentProfilesOverview.js +0 -16
  249. package/dist/dist/editor/ai/AgentProfilesOverview.js.map +0 -1
  250. package/dist/dist/editor/ai/AgentStatusBadge.d.ts +0 -26
  251. package/dist/dist/editor/ai/AgentStatusBadge.js +0 -126
  252. package/dist/dist/editor/ai/AgentStatusBadge.js.map +0 -1
  253. package/dist/dist/editor/ai/AgentTerminal.d.ts +0 -14
  254. package/dist/dist/editor/ai/AgentTerminal.js +0 -3012
  255. package/dist/dist/editor/ai/AgentTerminal.js.map +0 -1
  256. package/dist/dist/editor/ai/Agents.d.ts +0 -4
  257. package/dist/dist/editor/ai/Agents.js +0 -891
  258. package/dist/dist/editor/ai/Agents.js.map +0 -1
  259. package/dist/dist/editor/ai/AiResponseMessage.d.ts +0 -18
  260. package/dist/dist/editor/ai/AiResponseMessage.js +0 -684
  261. package/dist/dist/editor/ai/AiResponseMessage.js.map +0 -1
  262. package/dist/dist/editor/ai/ContextInfoBar.d.ts +0 -14
  263. package/dist/dist/editor/ai/ContextInfoBar.js +0 -432
  264. package/dist/dist/editor/ai/ContextInfoBar.js.map +0 -1
  265. package/dist/dist/editor/ai/DancingDots.d.ts +0 -1
  266. package/dist/dist/editor/ai/DancingDots.js +0 -6
  267. package/dist/dist/editor/ai/DancingDots.js.map +0 -1
  268. package/dist/dist/editor/ai/MediaImage.d.ts +0 -6
  269. package/dist/dist/editor/ai/MediaImage.js +0 -38
  270. package/dist/dist/editor/ai/MediaImage.js.map +0 -1
  271. package/dist/dist/editor/ai/ToolCallDisplay.d.ts +0 -45
  272. package/dist/dist/editor/ai/ToolCallDisplay.js +0 -292
  273. package/dist/dist/editor/ai/ToolCallDisplay.js.map +0 -1
  274. package/dist/dist/editor/ai/aiPageModel.d.ts +0 -24
  275. package/dist/dist/editor/ai/aiPageModel.js +0 -97
  276. package/dist/dist/editor/ai/aiPageModel.js.map +0 -1
  277. package/dist/dist/editor/ai/editorAiContext.d.ts +0 -10
  278. package/dist/dist/editor/ai/editorAiContext.js +0 -10
  279. package/dist/dist/editor/ai/editorAiContext.js.map +0 -1
  280. package/dist/dist/editor/ai/types.d.ts +0 -30
  281. package/dist/dist/editor/ai/types.js +0 -2
  282. package/dist/dist/editor/ai/types.js.map +0 -1
  283. package/dist/dist/editor/ai/useAgentStatus.d.ts +0 -14
  284. package/dist/dist/editor/ai/useAgentStatus.js +0 -203
  285. package/dist/dist/editor/ai/useAgentStatus.js.map +0 -1
  286. package/dist/dist/editor/client/AboutDialog.d.ts +0 -2
  287. package/dist/dist/editor/client/AboutDialog.js +0 -23
  288. package/dist/dist/editor/client/AboutDialog.js.map +0 -1
  289. package/dist/dist/editor/client/EditorShell.d.ts +0 -37
  290. package/dist/dist/editor/client/EditorShell.js +0 -2283
  291. package/dist/dist/editor/client/EditorShell.js.map +0 -1
  292. package/dist/dist/editor/client/GenericDialog.d.ts +0 -10
  293. package/dist/dist/editor/client/GenericDialog.js +0 -25
  294. package/dist/dist/editor/client/GenericDialog.js.map +0 -1
  295. package/dist/dist/editor/client/editContext.d.ts +0 -262
  296. package/dist/dist/editor/client/editContext.js +0 -29
  297. package/dist/dist/editor/client/editContext.js.map +0 -1
  298. package/dist/dist/editor/client/fieldModificationStore.d.ts +0 -25
  299. package/dist/dist/editor/client/fieldModificationStore.js +0 -184
  300. package/dist/dist/editor/client/fieldModificationStore.js.map +0 -1
  301. package/dist/dist/editor/client/helpers.d.ts +0 -12
  302. package/dist/dist/editor/client/helpers.js +0 -29
  303. package/dist/dist/editor/client/helpers.js.map +0 -1
  304. package/dist/dist/editor/client/hooks/useEditorUrlSync.d.ts +0 -18
  305. package/dist/dist/editor/client/hooks/useEditorUrlSync.js +0 -56
  306. package/dist/dist/editor/client/hooks/useEditorUrlSync.js.map +0 -1
  307. package/dist/dist/editor/client/hooks/useEditorWebSocket.d.ts +0 -11
  308. package/dist/dist/editor/client/hooks/useEditorWebSocket.js +0 -86
  309. package/dist/dist/editor/client/hooks/useEditorWebSocket.js.map +0 -1
  310. package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.d.ts +0 -1
  311. package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.js +0 -12
  312. package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.js.map +0 -1
  313. package/dist/dist/editor/client/hooks/useMediaQuery.d.ts +0 -1
  314. package/dist/dist/editor/client/hooks/useMediaQuery.js +0 -19
  315. package/dist/dist/editor/client/hooks/useMediaQuery.js.map +0 -1
  316. package/dist/dist/editor/client/hooks/useMediaSelector.d.ts +0 -12
  317. package/dist/dist/editor/client/hooks/useMediaSelector.js +0 -30
  318. package/dist/dist/editor/client/hooks/useMediaSelector.js.map +0 -1
  319. package/dist/dist/editor/client/hooks/useQuota.d.ts +0 -29
  320. package/dist/dist/editor/client/hooks/useQuota.js +0 -53
  321. package/dist/dist/editor/client/hooks/useQuota.js.map +0 -1
  322. package/dist/dist/editor/client/hooks/useSocketMessageHandler.d.ts +0 -35
  323. package/dist/dist/editor/client/hooks/useSocketMessageHandler.js +0 -241
  324. package/dist/dist/editor/client/hooks/useSocketMessageHandler.js.map +0 -1
  325. package/dist/dist/editor/client/hooks/useWorkbox.d.ts +0 -9
  326. package/dist/dist/editor/client/hooks/useWorkbox.js +0 -52
  327. package/dist/dist/editor/client/hooks/useWorkbox.js.map +0 -1
  328. package/dist/dist/editor/client/itemsRepository.d.ts +0 -38
  329. package/dist/dist/editor/client/itemsRepository.js +0 -482
  330. package/dist/dist/editor/client/itemsRepository.js.map +0 -1
  331. package/dist/dist/editor/client/operations.d.ts +0 -69
  332. package/dist/dist/editor/client/operations.js +0 -633
  333. package/dist/dist/editor/client/operations.js.map +0 -1
  334. package/dist/dist/editor/client/pageModelBuilder.d.ts +0 -6
  335. package/dist/dist/editor/client/pageModelBuilder.js +0 -171
  336. package/dist/dist/editor/client/pageModelBuilder.js.map +0 -1
  337. package/dist/dist/editor/client/ui/EditorChrome.d.ts +0 -12
  338. package/dist/dist/editor/client/ui/EditorChrome.js +0 -30
  339. package/dist/dist/editor/client/ui/EditorChrome.js.map +0 -1
  340. package/dist/dist/editor/client/ui/FullscreenControls.d.ts +0 -7
  341. package/dist/dist/editor/client/ui/FullscreenControls.js +0 -21
  342. package/dist/dist/editor/client/ui/FullscreenControls.js.map +0 -1
  343. package/dist/dist/editor/commands/agentCommands.d.ts +0 -9
  344. package/dist/dist/editor/commands/agentCommands.js +0 -30
  345. package/dist/dist/editor/commands/agentCommands.js.map +0 -1
  346. package/dist/dist/editor/commands/commands.d.ts +0 -19
  347. package/dist/dist/editor/commands/commands.js +0 -2
  348. package/dist/dist/editor/commands/commands.js.map +0 -1
  349. package/dist/dist/editor/commands/componentCommands.d.ts +0 -12
  350. package/dist/dist/editor/commands/componentCommands.js +0 -367
  351. package/dist/dist/editor/commands/componentCommands.js.map +0 -1
  352. package/dist/dist/editor/commands/createVersionCommand.d.ts +0 -4
  353. package/dist/dist/editor/commands/createVersionCommand.js +0 -24
  354. package/dist/dist/editor/commands/createVersionCommand.js.map +0 -1
  355. package/dist/dist/editor/commands/deleteVersionCommand.d.ts +0 -4
  356. package/dist/dist/editor/commands/deleteVersionCommand.js +0 -53
  357. package/dist/dist/editor/commands/deleteVersionCommand.js.map +0 -1
  358. package/dist/dist/editor/commands/itemCommands.d.ts +0 -29
  359. package/dist/dist/editor/commands/itemCommands.js +0 -448
  360. package/dist/dist/editor/commands/itemCommands.js.map +0 -1
  361. package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +0 -8
  362. package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.js +0 -91
  363. package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +0 -1
  364. package/dist/dist/editor/commands/undo.d.ts +0 -15
  365. package/dist/dist/editor/commands/undo.js +0 -29
  366. package/dist/dist/editor/commands/undo.js.map +0 -1
  367. package/dist/dist/editor/componentTreeHelper.d.ts +0 -18
  368. package/dist/dist/editor/componentTreeHelper.js +0 -123
  369. package/dist/dist/editor/componentTreeHelper.js.map +0 -1
  370. package/dist/dist/editor/context-menu/CopyMoveMenu.d.ts +0 -7
  371. package/dist/dist/editor/context-menu/CopyMoveMenu.js +0 -58
  372. package/dist/dist/editor/context-menu/CopyMoveMenu.js.map +0 -1
  373. package/dist/dist/editor/context-menu/InsertMenu.d.ts +0 -9
  374. package/dist/dist/editor/context-menu/InsertMenu.js +0 -229
  375. package/dist/dist/editor/context-menu/InsertMenu.js.map +0 -1
  376. package/dist/dist/editor/control-center/About.d.ts +0 -1
  377. package/dist/dist/editor/control-center/About.js +0 -8
  378. package/dist/dist/editor/control-center/About.js.map +0 -1
  379. package/dist/dist/editor/control-center/AllAgentsPanel.d.ts +0 -5
  380. package/dist/dist/editor/control-center/AllAgentsPanel.js +0 -126
  381. package/dist/dist/editor/control-center/AllAgentsPanel.js.map +0 -1
  382. package/dist/dist/editor/control-center/ControlCenterMenu.d.ts +0 -1
  383. package/dist/dist/editor/control-center/ControlCenterMenu.js +0 -66
  384. package/dist/dist/editor/control-center/ControlCenterMenu.js.map +0 -1
  385. package/dist/dist/editor/control-center/IndexOverview.d.ts +0 -1
  386. package/dist/dist/editor/control-center/IndexOverview.js +0 -323
  387. package/dist/dist/editor/control-center/IndexOverview.js.map +0 -1
  388. package/dist/dist/editor/control-center/Info.d.ts +0 -1
  389. package/dist/dist/editor/control-center/Info.js +0 -10
  390. package/dist/dist/editor/control-center/Info.js.map +0 -1
  391. package/dist/dist/editor/control-center/LatestFeedback.d.ts +0 -1
  392. package/dist/dist/editor/control-center/LatestFeedback.js +0 -136
  393. package/dist/dist/editor/control-center/LatestFeedback.js.map +0 -1
  394. package/dist/dist/editor/control-center/QuotaInfo.d.ts +0 -1
  395. package/dist/dist/editor/control-center/QuotaInfo.js +0 -102
  396. package/dist/dist/editor/control-center/QuotaInfo.js.map +0 -1
  397. package/dist/dist/editor/control-center/Setup.d.ts +0 -1
  398. package/dist/dist/editor/control-center/Setup.js +0 -174
  399. package/dist/dist/editor/control-center/Setup.js.map +0 -1
  400. package/dist/dist/editor/control-center/Status.d.ts +0 -1
  401. package/dist/dist/editor/control-center/Status.js +0 -79
  402. package/dist/dist/editor/control-center/Status.js.map +0 -1
  403. package/dist/dist/editor/control-center/WebSocketMessages.d.ts +0 -1
  404. package/dist/dist/editor/control-center/WebSocketMessages.js +0 -71
  405. package/dist/dist/editor/control-center/WebSocketMessages.js.map +0 -1
  406. package/dist/dist/editor/control-center/parhelia-setup/Overview.d.ts +0 -1
  407. package/dist/dist/editor/control-center/parhelia-setup/Overview.js +0 -91
  408. package/dist/dist/editor/control-center/parhelia-setup/Overview.js.map +0 -1
  409. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.d.ts +0 -2
  410. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.js +0 -195
  411. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.js.map +0 -1
  412. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.d.ts +0 -2
  413. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.js +0 -22
  414. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.js.map +0 -1
  415. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.d.ts +0 -1
  416. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.js +0 -233
  417. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.js.map +0 -1
  418. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.d.ts +0 -15
  419. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js +0 -14
  420. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js.map +0 -1
  421. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.d.ts +0 -1
  422. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js +0 -94
  423. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js.map +0 -1
  424. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.d.ts +0 -1
  425. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.js +0 -367
  426. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.js.map +0 -1
  427. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.d.ts +0 -1
  428. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.js +0 -2
  429. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.js.map +0 -1
  430. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.d.ts +0 -5
  431. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.js +0 -44
  432. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.js.map +0 -1
  433. package/dist/dist/editor/control-center/setup-steps/DbSetupStep.d.ts +0 -2
  434. package/dist/dist/editor/control-center/setup-steps/DbSetupStep.js +0 -46
  435. package/dist/dist/editor/control-center/setup-steps/DbSetupStep.js.map +0 -1
  436. package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.d.ts +0 -2
  437. package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.js +0 -36
  438. package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.js.map +0 -1
  439. package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.d.ts +0 -2
  440. package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.js +0 -111
  441. package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.js.map +0 -1
  442. package/dist/dist/editor/control-center/setup-steps/SetupOverview.d.ts +0 -14
  443. package/dist/dist/editor/control-center/setup-steps/SetupOverview.js +0 -38
  444. package/dist/dist/editor/control-center/setup-steps/SetupOverview.js.map +0 -1
  445. package/dist/dist/editor/editor-warnings/ItemLocked.d.ts +0 -2
  446. package/dist/dist/editor/editor-warnings/ItemLocked.js +0 -38
  447. package/dist/dist/editor/editor-warnings/ItemLocked.js.map +0 -1
  448. package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.d.ts +0 -2
  449. package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.js +0 -14
  450. package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.js.map +0 -1
  451. package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.d.ts +0 -2
  452. package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.js +0 -14
  453. package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.js.map +0 -1
  454. package/dist/dist/editor/editor-warnings/NoWriteAccess.d.ts +0 -2
  455. package/dist/dist/editor/editor-warnings/NoWriteAccess.js +0 -14
  456. package/dist/dist/editor/editor-warnings/NoWriteAccess.js.map +0 -1
  457. package/dist/dist/editor/editor-warnings/ValidationErrors.d.ts +0 -2
  458. package/dist/dist/editor/editor-warnings/ValidationErrors.js +0 -28
  459. package/dist/dist/editor/editor-warnings/ValidationErrors.js.map +0 -1
  460. package/dist/dist/editor/field-types/AttachmentEditor.d.ts +0 -9
  461. package/dist/dist/editor/field-types/AttachmentEditor.js +0 -68
  462. package/dist/dist/editor/field-types/AttachmentEditor.js.map +0 -1
  463. package/dist/dist/editor/field-types/CheckboxEditor.d.ts +0 -5
  464. package/dist/dist/editor/field-types/CheckboxEditor.js +0 -30
  465. package/dist/dist/editor/field-types/CheckboxEditor.js.map +0 -1
  466. package/dist/dist/editor/field-types/DateFieldEditor.d.ts +0 -5
  467. package/dist/dist/editor/field-types/DateFieldEditor.js +0 -93
  468. package/dist/dist/editor/field-types/DateFieldEditor.js.map +0 -1
  469. package/dist/dist/editor/field-types/DateTimeFieldEditor.d.ts +0 -5
  470. package/dist/dist/editor/field-types/DateTimeFieldEditor.js +0 -151
  471. package/dist/dist/editor/field-types/DateTimeFieldEditor.js.map +0 -1
  472. package/dist/dist/editor/field-types/DropLinkEditor.d.ts +0 -5
  473. package/dist/dist/editor/field-types/DropLinkEditor.js +0 -42
  474. package/dist/dist/editor/field-types/DropLinkEditor.js.map +0 -1
  475. package/dist/dist/editor/field-types/DropListEditor.d.ts +0 -5
  476. package/dist/dist/editor/field-types/DropListEditor.js +0 -46
  477. package/dist/dist/editor/field-types/DropListEditor.js.map +0 -1
  478. package/dist/dist/editor/field-types/ImageFieldEditor.d.ts +0 -5
  479. package/dist/dist/editor/field-types/ImageFieldEditor.js +0 -34
  480. package/dist/dist/editor/field-types/ImageFieldEditor.js.map +0 -1
  481. package/dist/dist/editor/field-types/InternalLinkFieldEditor.d.ts +0 -5
  482. package/dist/dist/editor/field-types/InternalLinkFieldEditor.js +0 -172
  483. package/dist/dist/editor/field-types/InternalLinkFieldEditor.js.map +0 -1
  484. package/dist/dist/editor/field-types/LinkFieldEditor.d.ts +0 -5
  485. package/dist/dist/editor/field-types/LinkFieldEditor.js +0 -62
  486. package/dist/dist/editor/field-types/LinkFieldEditor.js.map +0 -1
  487. package/dist/dist/editor/field-types/MultiLineText.d.ts +0 -7
  488. package/dist/dist/editor/field-types/MultiLineText.js +0 -48
  489. package/dist/dist/editor/field-types/MultiLineText.js.map +0 -1
  490. package/dist/dist/editor/field-types/NameValueListEditor.d.ts +0 -7
  491. package/dist/dist/editor/field-types/NameValueListEditor.js +0 -101
  492. package/dist/dist/editor/field-types/NameValueListEditor.js.map +0 -1
  493. package/dist/dist/editor/field-types/PictureFieldEditor.d.ts +0 -5
  494. package/dist/dist/editor/field-types/PictureFieldEditor.js +0 -58
  495. package/dist/dist/editor/field-types/PictureFieldEditor.js.map +0 -1
  496. package/dist/dist/editor/field-types/RawEditor.d.ts +0 -6
  497. package/dist/dist/editor/field-types/RawEditor.js +0 -31
  498. package/dist/dist/editor/field-types/RawEditor.js.map +0 -1
  499. package/dist/dist/editor/field-types/ReactQuill.d.ts +0 -125
  500. package/dist/dist/editor/field-types/ReactQuill.js +0 -385
  501. package/dist/dist/editor/field-types/ReactQuill.js.map +0 -1
  502. package/dist/dist/editor/field-types/RichTextEditor.d.ts +0 -7
  503. package/dist/dist/editor/field-types/RichTextEditor.js +0 -21
  504. package/dist/dist/editor/field-types/RichTextEditor.js.map +0 -1
  505. package/dist/dist/editor/field-types/RichTextEditorComponent.d.ts +0 -8
  506. package/dist/dist/editor/field-types/RichTextEditorComponent.js +0 -88
  507. package/dist/dist/editor/field-types/RichTextEditorComponent.js.map +0 -1
  508. package/dist/dist/editor/field-types/SingleLineText.d.ts +0 -7
  509. package/dist/dist/editor/field-types/SingleLineText.js +0 -113
  510. package/dist/dist/editor/field-types/SingleLineText.js.map +0 -1
  511. package/dist/dist/editor/field-types/TreeListEditor.d.ts +0 -5
  512. package/dist/dist/editor/field-types/TreeListEditor.js +0 -387
  513. package/dist/dist/editor/field-types/TreeListEditor.js.map +0 -1
  514. package/dist/dist/editor/field-types/richtext/components/EditorDropdown.css +0 -82
  515. package/dist/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +0 -11
  516. package/dist/dist/editor/field-types/richtext/components/EditorDropdown.js +0 -83
  517. package/dist/dist/editor/field-types/richtext/components/EditorDropdown.js.map +0 -1
  518. package/dist/dist/editor/field-types/richtext/components/ReactSlate.css +0 -208
  519. package/dist/dist/editor/field-types/richtext/components/ReactSlate.d.ts +0 -5
  520. package/dist/dist/editor/field-types/richtext/components/ReactSlate.js +0 -607
  521. package/dist/dist/editor/field-types/richtext/components/ReactSlate.js.map +0 -1
  522. package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.d.ts +0 -18
  523. package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.js +0 -71
  524. package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.js.map +0 -1
  525. package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.css +0 -325
  526. package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.d.ts +0 -5
  527. package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +0 -359
  528. package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +0 -1
  529. package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.d.ts +0 -16
  530. package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.js +0 -181
  531. package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.js.map +0 -1
  532. package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.d.ts +0 -9
  533. package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.js +0 -14
  534. package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.js.map +0 -1
  535. package/dist/dist/editor/field-types/richtext/components/ToolbarButton.d.ts +0 -3
  536. package/dist/dist/editor/field-types/richtext/components/ToolbarButton.js +0 -6
  537. package/dist/dist/editor/field-types/richtext/components/ToolbarButton.js.map +0 -1
  538. package/dist/dist/editor/field-types/richtext/config/pluginFactory.d.ts +0 -19
  539. package/dist/dist/editor/field-types/richtext/config/pluginFactory.js +0 -17
  540. package/dist/dist/editor/field-types/richtext/config/pluginFactory.js.map +0 -1
  541. package/dist/dist/editor/field-types/richtext/contextMenuFactory.d.ts +0 -4
  542. package/dist/dist/editor/field-types/richtext/contextMenuFactory.js +0 -201
  543. package/dist/dist/editor/field-types/richtext/contextMenuFactory.js.map +0 -1
  544. package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.d.ts +0 -68
  545. package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.js +0 -214
  546. package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +0 -1
  547. package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +0 -25
  548. package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +0 -64
  549. package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +0 -1
  550. package/dist/dist/editor/field-types/richtext/index.d.ts +0 -6
  551. package/dist/dist/editor/field-types/richtext/index.js +0 -7
  552. package/dist/dist/editor/field-types/richtext/index.js.map +0 -1
  553. package/dist/dist/editor/field-types/richtext/types.d.ts +0 -288
  554. package/dist/dist/editor/field-types/richtext/types.js +0 -107
  555. package/dist/dist/editor/field-types/richtext/types.js.map +0 -1
  556. package/dist/dist/editor/field-types/richtext/utils/conversion.d.ts +0 -7
  557. package/dist/dist/editor/field-types/richtext/utils/conversion.js +0 -762
  558. package/dist/dist/editor/field-types/richtext/utils/conversion.js.map +0 -1
  559. package/dist/dist/editor/field-types/richtext/utils/plugins.d.ts +0 -170
  560. package/dist/dist/editor/field-types/richtext/utils/plugins.js +0 -490
  561. package/dist/dist/editor/field-types/richtext/utils/plugins.js.map +0 -1
  562. package/dist/dist/editor/field-types/richtext/utils/profileMapper.d.ts +0 -38
  563. package/dist/dist/editor/field-types/richtext/utils/profileMapper.js +0 -386
  564. package/dist/dist/editor/field-types/richtext/utils/profileMapper.js.map +0 -1
  565. package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.d.ts +0 -37
  566. package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.js +0 -119
  567. package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.js.map +0 -1
  568. package/dist/dist/editor/fieldTypes.d.ts +0 -129
  569. package/dist/dist/editor/fieldTypes.js +0 -2
  570. package/dist/dist/editor/fieldTypes.js.map +0 -1
  571. package/dist/dist/editor/hooks/useEditorSettings.d.ts +0 -17
  572. package/dist/dist/editor/hooks/useEditorSettings.js +0 -61
  573. package/dist/dist/editor/hooks/useEditorSettings.js.map +0 -1
  574. package/dist/dist/editor/hooks/useParheliaSettings.d.ts +0 -17
  575. package/dist/dist/editor/hooks/useParheliaSettings.js +0 -61
  576. package/dist/dist/editor/hooks/useParheliaSettings.js.map +0 -1
  577. package/dist/dist/editor/media-selector/AiImageSearch.d.ts +0 -4
  578. package/dist/dist/editor/media-selector/AiImageSearch.js +0 -164
  579. package/dist/dist/editor/media-selector/AiImageSearch.js.map +0 -1
  580. package/dist/dist/editor/media-selector/AiImageSearchPrompt.d.ts +0 -3
  581. package/dist/dist/editor/media-selector/AiImageSearchPrompt.js +0 -57
  582. package/dist/dist/editor/media-selector/AiImageSearchPrompt.js.map +0 -1
  583. package/dist/dist/editor/media-selector/MediaFolderBrowser.d.ts +0 -5
  584. package/dist/dist/editor/media-selector/MediaFolderBrowser.js +0 -182
  585. package/dist/dist/editor/media-selector/MediaFolderBrowser.js.map +0 -1
  586. package/dist/dist/editor/media-selector/MediaSelector.d.ts +0 -9
  587. package/dist/dist/editor/media-selector/MediaSelector.js +0 -8
  588. package/dist/dist/editor/media-selector/MediaSelector.js.map +0 -1
  589. package/dist/dist/editor/media-selector/Preview.d.ts +0 -4
  590. package/dist/dist/editor/media-selector/Preview.js +0 -19
  591. package/dist/dist/editor/media-selector/Preview.js.map +0 -1
  592. package/dist/dist/editor/media-selector/Thumbnails.d.ts +0 -8
  593. package/dist/dist/editor/media-selector/Thumbnails.js +0 -10
  594. package/dist/dist/editor/media-selector/Thumbnails.js.map +0 -1
  595. package/dist/dist/editor/media-selector/TreeSelector.d.ts +0 -7
  596. package/dist/dist/editor/media-selector/TreeSelector.js +0 -183
  597. package/dist/dist/editor/media-selector/TreeSelector.js.map +0 -1
  598. package/dist/dist/editor/media-selector/UploadZone.d.ts +0 -4
  599. package/dist/dist/editor/media-selector/UploadZone.js +0 -81
  600. package/dist/dist/editor/media-selector/UploadZone.js.map +0 -1
  601. package/dist/dist/editor/media-selector/index.d.ts +0 -8
  602. package/dist/dist/editor/media-selector/index.js +0 -9
  603. package/dist/dist/editor/media-selector/index.js.map +0 -1
  604. package/dist/dist/editor/menubar/ActiveUsers.d.ts +0 -1
  605. package/dist/dist/editor/menubar/ActiveUsers.js +0 -120
  606. package/dist/dist/editor/menubar/ActiveUsers.js.map +0 -1
  607. package/dist/dist/editor/menubar/ApproveAndPublish.d.ts +0 -1
  608. package/dist/dist/editor/menubar/ApproveAndPublish.js +0 -13
  609. package/dist/dist/editor/menubar/ApproveAndPublish.js.map +0 -1
  610. package/dist/dist/editor/menubar/FavoritesControls.d.ts +0 -8
  611. package/dist/dist/editor/menubar/FavoritesControls.js +0 -217
  612. package/dist/dist/editor/menubar/FavoritesControls.js.map +0 -1
  613. package/dist/dist/editor/menubar/GenericToolbar.d.ts +0 -11
  614. package/dist/dist/editor/menubar/GenericToolbar.js +0 -10
  615. package/dist/dist/editor/menubar/GenericToolbar.js.map +0 -1
  616. package/dist/dist/editor/menubar/ItemActionsMenu.d.ts +0 -3
  617. package/dist/dist/editor/menubar/ItemActionsMenu.js +0 -23
  618. package/dist/dist/editor/menubar/ItemActionsMenu.js.map +0 -1
  619. package/dist/dist/editor/menubar/ItemLanguageVersion.d.ts +0 -1
  620. package/dist/dist/editor/menubar/ItemLanguageVersion.js +0 -54
  621. package/dist/dist/editor/menubar/ItemLanguageVersion.js.map +0 -1
  622. package/dist/dist/editor/menubar/ItemToolbar.d.ts +0 -1
  623. package/dist/dist/editor/menubar/ItemToolbar.js +0 -11
  624. package/dist/dist/editor/menubar/ItemToolbar.js.map +0 -1
  625. package/dist/dist/editor/menubar/NavButtons.d.ts +0 -1
  626. package/dist/dist/editor/menubar/NavButtons.js +0 -40
  627. package/dist/dist/editor/menubar/NavButtons.js.map +0 -1
  628. package/dist/dist/editor/menubar/PageSelector.d.ts +0 -4
  629. package/dist/dist/editor/menubar/PageSelector.js +0 -152
  630. package/dist/dist/editor/menubar/PageSelector.js.map +0 -1
  631. package/dist/dist/editor/menubar/Separator.d.ts +0 -3
  632. package/dist/dist/editor/menubar/Separator.js +0 -6
  633. package/dist/dist/editor/menubar/Separator.js.map +0 -1
  634. package/dist/dist/editor/menubar/SiteInfo.d.ts +0 -1
  635. package/dist/dist/editor/menubar/SiteInfo.js +0 -24
  636. package/dist/dist/editor/menubar/SiteInfo.js.map +0 -1
  637. package/dist/dist/editor/menubar/ToolbarFactory.d.ts +0 -2
  638. package/dist/dist/editor/menubar/ToolbarFactory.js +0 -55
  639. package/dist/dist/editor/menubar/ToolbarFactory.js.map +0 -1
  640. package/dist/dist/editor/menubar/User.d.ts +0 -4
  641. package/dist/dist/editor/menubar/User.js +0 -18
  642. package/dist/dist/editor/menubar/User.js.map +0 -1
  643. package/dist/dist/editor/menubar/VersionSelector.d.ts +0 -10
  644. package/dist/dist/editor/menubar/VersionSelector.js +0 -53
  645. package/dist/dist/editor/menubar/VersionSelector.js.map +0 -1
  646. package/dist/dist/editor/menubar/WorkflowButton.d.ts +0 -1
  647. package/dist/dist/editor/menubar/WorkflowButton.js +0 -93
  648. package/dist/dist/editor/menubar/WorkflowButton.js.map +0 -1
  649. package/dist/dist/editor/menubar/toolbar-sections/CompareControls.d.ts +0 -1
  650. package/dist/dist/editor/menubar/toolbar-sections/CompareControls.js +0 -11
  651. package/dist/dist/editor/menubar/toolbar-sections/CompareControls.js.map +0 -1
  652. package/dist/dist/editor/menubar/toolbar-sections/EditControls.d.ts +0 -7
  653. package/dist/dist/editor/menubar/toolbar-sections/EditControls.js +0 -15
  654. package/dist/dist/editor/menubar/toolbar-sections/EditControls.js.map +0 -1
  655. package/dist/dist/editor/menubar/toolbar-sections/InsertControls.d.ts +0 -1
  656. package/dist/dist/editor/menubar/toolbar-sections/InsertControls.js +0 -15
  657. package/dist/dist/editor/menubar/toolbar-sections/InsertControls.js.map +0 -1
  658. package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.d.ts +0 -1
  659. package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.js +0 -41
  660. package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +0 -1
  661. package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.d.ts +0 -1
  662. package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.js +0 -17
  663. package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +0 -1
  664. package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +0 -1
  665. package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.js +0 -21
  666. package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +0 -1
  667. package/dist/dist/editor/menubar/toolbar-sections/index.d.ts +0 -6
  668. package/dist/dist/editor/menubar/toolbar-sections/index.js +0 -7
  669. package/dist/dist/editor/menubar/toolbar-sections/index.js.map +0 -1
  670. package/dist/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +0 -6
  671. package/dist/dist/editor/page-editor-chrome/CommentHighlighting.js +0 -270
  672. package/dist/dist/editor/page-editor-chrome/CommentHighlighting.js.map +0 -1
  673. package/dist/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +0 -4
  674. package/dist/dist/editor/page-editor-chrome/CommentHighlightings.js +0 -15
  675. package/dist/dist/editor/page-editor-chrome/CommentHighlightings.js.map +0 -1
  676. package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.d.ts +0 -4
  677. package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.js +0 -35
  678. package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +0 -1
  679. package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.d.ts +0 -1
  680. package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.js +0 -13
  681. package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.js.map +0 -1
  682. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +0 -8
  683. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.js +0 -26
  684. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +0 -1
  685. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +0 -6
  686. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.js +0 -14
  687. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.js.map +0 -1
  688. package/dist/dist/editor/page-editor-chrome/FrameMenu.d.ts +0 -7
  689. package/dist/dist/editor/page-editor-chrome/FrameMenu.js +0 -346
  690. package/dist/dist/editor/page-editor-chrome/FrameMenu.js.map +0 -1
  691. package/dist/dist/editor/page-editor-chrome/FrameMenus.d.ts +0 -5
  692. package/dist/dist/editor/page-editor-chrome/FrameMenus.js +0 -22
  693. package/dist/dist/editor/page-editor-chrome/FrameMenus.js.map +0 -1
  694. package/dist/dist/editor/page-editor-chrome/InlineEditor.d.ts +0 -5
  695. package/dist/dist/editor/page-editor-chrome/InlineEditor.js +0 -704
  696. package/dist/dist/editor/page-editor-chrome/InlineEditor.js.map +0 -1
  697. package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +0 -1
  698. package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.js +0 -33
  699. package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +0 -1
  700. package/dist/dist/editor/page-editor-chrome/NoLayout.d.ts +0 -1
  701. package/dist/dist/editor/page-editor-chrome/NoLayout.js +0 -19
  702. package/dist/dist/editor/page-editor-chrome/NoLayout.js.map +0 -1
  703. package/dist/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +0 -6
  704. package/dist/dist/editor/page-editor-chrome/PageEditorChrome.js +0 -64
  705. package/dist/dist/editor/page-editor-chrome/PageEditorChrome.js.map +0 -1
  706. package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.d.ts +0 -1
  707. package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.js +0 -190
  708. package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +0 -1
  709. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +0 -18
  710. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.js +0 -122
  711. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +0 -1
  712. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +0 -5
  713. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.js +0 -289
  714. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +0 -1
  715. package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.d.ts +0 -6
  716. package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.js +0 -224
  717. package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.js.map +0 -1
  718. package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +0 -4
  719. package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.js +0 -16
  720. package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +0 -1
  721. package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.d.ts +0 -7
  722. package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.js +0 -699
  723. package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +0 -1
  724. package/dist/dist/editor/page-viewer/DeviceToolbar.d.ts +0 -6
  725. package/dist/dist/editor/page-viewer/DeviceToolbar.js +0 -21
  726. package/dist/dist/editor/page-viewer/DeviceToolbar.js.map +0 -1
  727. package/dist/dist/editor/page-viewer/EditorForm.d.ts +0 -8
  728. package/dist/dist/editor/page-viewer/EditorForm.js +0 -264
  729. package/dist/dist/editor/page-viewer/EditorForm.js.map +0 -1
  730. package/dist/dist/editor/page-viewer/EditorFormPopup.d.ts +0 -11
  731. package/dist/dist/editor/page-viewer/EditorFormPopup.js +0 -41
  732. package/dist/dist/editor/page-viewer/EditorFormPopup.js.map +0 -1
  733. package/dist/dist/editor/page-viewer/MiniMap.d.ts +0 -9
  734. package/dist/dist/editor/page-viewer/MiniMap.js +0 -234
  735. package/dist/dist/editor/page-viewer/MiniMap.js.map +0 -1
  736. package/dist/dist/editor/page-viewer/PageViewer.d.ts +0 -10
  737. package/dist/dist/editor/page-viewer/PageViewer.js +0 -67
  738. package/dist/dist/editor/page-viewer/PageViewer.js.map +0 -1
  739. package/dist/dist/editor/page-viewer/PageViewerFrame.d.ts +0 -11
  740. package/dist/dist/editor/page-viewer/PageViewerFrame.js +0 -846
  741. package/dist/dist/editor/page-viewer/PageViewerFrame.js.map +0 -1
  742. package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.d.ts +0 -3
  743. package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.js +0 -349
  744. package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +0 -1
  745. package/dist/dist/editor/page-viewer/pageViewContext.d.ts +0 -40
  746. package/dist/dist/editor/page-viewer/pageViewContext.js +0 -155
  747. package/dist/dist/editor/page-viewer/pageViewContext.js.map +0 -1
  748. package/dist/dist/editor/pageModel.d.ts +0 -223
  749. package/dist/dist/editor/pageModel.js +0 -2
  750. package/dist/dist/editor/pageModel.js.map +0 -1
  751. package/dist/dist/editor/picture-shared.d.ts +0 -16
  752. package/dist/dist/editor/picture-shared.js +0 -25
  753. package/dist/dist/editor/picture-shared.js.map +0 -1
  754. package/dist/dist/editor/reviews/Comment.d.ts +0 -8
  755. package/dist/dist/editor/reviews/Comment.js +0 -162
  756. package/dist/dist/editor/reviews/Comment.js.map +0 -1
  757. package/dist/dist/editor/reviews/CommentDisplayPopover.d.ts +0 -9
  758. package/dist/dist/editor/reviews/CommentDisplayPopover.js +0 -104
  759. package/dist/dist/editor/reviews/CommentDisplayPopover.js.map +0 -1
  760. package/dist/dist/editor/reviews/CommentEditor.d.ts +0 -20
  761. package/dist/dist/editor/reviews/CommentEditor.js +0 -57
  762. package/dist/dist/editor/reviews/CommentEditor.js.map +0 -1
  763. package/dist/dist/editor/reviews/CommentPopover.d.ts +0 -22
  764. package/dist/dist/editor/reviews/CommentPopover.js +0 -145
  765. package/dist/dist/editor/reviews/CommentPopover.js.map +0 -1
  766. package/dist/dist/editor/reviews/CommentView.d.ts +0 -21
  767. package/dist/dist/editor/reviews/CommentView.js +0 -52
  768. package/dist/dist/editor/reviews/CommentView.js.map +0 -1
  769. package/dist/dist/editor/reviews/Comments.d.ts +0 -3
  770. package/dist/dist/editor/reviews/Comments.js +0 -118
  771. package/dist/dist/editor/reviews/Comments.js.map +0 -1
  772. package/dist/dist/editor/reviews/CreateReviewDialog.d.ts +0 -9
  773. package/dist/dist/editor/reviews/CreateReviewDialog.js +0 -454
  774. package/dist/dist/editor/reviews/CreateReviewDialog.js.map +0 -1
  775. package/dist/dist/editor/reviews/DecisionsMatrix.d.ts +0 -29
  776. package/dist/dist/editor/reviews/DecisionsMatrix.js +0 -739
  777. package/dist/dist/editor/reviews/DecisionsMatrix.js.map +0 -1
  778. package/dist/dist/editor/reviews/DiffView.d.ts +0 -17
  779. package/dist/dist/editor/reviews/DiffView.js +0 -57
  780. package/dist/dist/editor/reviews/DiffView.js.map +0 -1
  781. package/dist/dist/editor/reviews/EditReviewSettingsDialog.d.ts +0 -20
  782. package/dist/dist/editor/reviews/EditReviewSettingsDialog.js +0 -208
  783. package/dist/dist/editor/reviews/EditReviewSettingsDialog.js.map +0 -1
  784. package/dist/dist/editor/reviews/ItemTreeSelector.d.ts +0 -9
  785. package/dist/dist/editor/reviews/ItemTreeSelector.js +0 -43
  786. package/dist/dist/editor/reviews/ItemTreeSelector.js.map +0 -1
  787. package/dist/dist/editor/reviews/MultiReviewManager.d.ts +0 -1
  788. package/dist/dist/editor/reviews/MultiReviewManager.js +0 -50
  789. package/dist/dist/editor/reviews/MultiReviewManager.js.map +0 -1
  790. package/dist/dist/editor/reviews/PagesPanel.d.ts +0 -21
  791. package/dist/dist/editor/reviews/PagesPanel.js +0 -124
  792. package/dist/dist/editor/reviews/PagesPanel.js.map +0 -1
  793. package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.d.ts +0 -9
  794. package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.js +0 -55
  795. package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.js.map +0 -1
  796. package/dist/dist/editor/reviews/PreviewInfo.d.ts +0 -1
  797. package/dist/dist/editor/reviews/PreviewInfo.js +0 -12
  798. package/dist/dist/editor/reviews/PreviewInfo.js.map +0 -1
  799. package/dist/dist/editor/reviews/ReviewDetail.d.ts +0 -8
  800. package/dist/dist/editor/reviews/ReviewDetail.js +0 -189
  801. package/dist/dist/editor/reviews/ReviewDetail.js.map +0 -1
  802. package/dist/dist/editor/reviews/ReviewersPanel.d.ts +0 -14
  803. package/dist/dist/editor/reviews/ReviewersPanel.js +0 -216
  804. package/dist/dist/editor/reviews/ReviewersPanel.js.map +0 -1
  805. package/dist/dist/editor/reviews/Reviews.d.ts +0 -1
  806. package/dist/dist/editor/reviews/Reviews.js +0 -6
  807. package/dist/dist/editor/reviews/Reviews.js.map +0 -1
  808. package/dist/dist/editor/reviews/ReviewsList.d.ts +0 -11
  809. package/dist/dist/editor/reviews/ReviewsList.js +0 -134
  810. package/dist/dist/editor/reviews/ReviewsList.js.map +0 -1
  811. package/dist/dist/editor/reviews/SuggestedEdit.d.ts +0 -4
  812. package/dist/dist/editor/reviews/SuggestedEdit.js +0 -200
  813. package/dist/dist/editor/reviews/SuggestedEdit.js.map +0 -1
  814. package/dist/dist/editor/reviews/SuggestionDisplayPopover.d.ts +0 -9
  815. package/dist/dist/editor/reviews/SuggestionDisplayPopover.js +0 -204
  816. package/dist/dist/editor/reviews/SuggestionDisplayPopover.js.map +0 -1
  817. package/dist/dist/editor/reviews/commentAi.d.ts +0 -7
  818. package/dist/dist/editor/reviews/commentAi.js +0 -100
  819. package/dist/dist/editor/reviews/commentAi.js.map +0 -1
  820. package/dist/dist/editor/reviews/reviewCommands.d.ts +0 -3
  821. package/dist/dist/editor/reviews/reviewCommands.js +0 -38
  822. package/dist/dist/editor/reviews/reviewCommands.js.map +0 -1
  823. package/dist/dist/editor/reviews/useMultiReview.d.ts +0 -42
  824. package/dist/dist/editor/reviews/useMultiReview.js +0 -377
  825. package/dist/dist/editor/reviews/useMultiReview.js.map +0 -1
  826. package/dist/dist/editor/reviews/useReviews.d.ts +0 -12
  827. package/dist/dist/editor/reviews/useReviews.js +0 -43
  828. package/dist/dist/editor/reviews/useReviews.js.map +0 -1
  829. package/dist/dist/editor/services/agentService.d.ts +0 -368
  830. package/dist/dist/editor/services/agentService.js +0 -721
  831. package/dist/dist/editor/services/agentService.js.map +0 -1
  832. package/dist/dist/editor/services/aiService.d.ts +0 -111
  833. package/dist/dist/editor/services/aiService.js +0 -294
  834. package/dist/dist/editor/services/aiService.js.map +0 -1
  835. package/dist/dist/editor/services/componentDesignerService.d.ts +0 -46
  836. package/dist/dist/editor/services/componentDesignerService.js +0 -72
  837. package/dist/dist/editor/services/componentDesignerService.js.map +0 -1
  838. package/dist/dist/editor/services/contentService.d.ts +0 -79
  839. package/dist/dist/editor/services/contentService.js +0 -127
  840. package/dist/dist/editor/services/contentService.js.map +0 -1
  841. package/dist/dist/editor/services/contextService.d.ts +0 -26
  842. package/dist/dist/editor/services/contextService.js +0 -103
  843. package/dist/dist/editor/services/contextService.js.map +0 -1
  844. package/dist/dist/editor/services/editService.d.ts +0 -66
  845. package/dist/dist/editor/services/editService.js +0 -325
  846. package/dist/dist/editor/services/editService.js.map +0 -1
  847. package/dist/dist/editor/services/favouritesService.d.ts +0 -47
  848. package/dist/dist/editor/services/favouritesService.js +0 -28
  849. package/dist/dist/editor/services/favouritesService.js.map +0 -1
  850. package/dist/dist/editor/services/iconService.d.ts +0 -8
  851. package/dist/dist/editor/services/iconService.js +0 -6
  852. package/dist/dist/editor/services/iconService.js.map +0 -1
  853. package/dist/dist/editor/services/indexService.d.ts +0 -13
  854. package/dist/dist/editor/services/indexService.js +0 -45
  855. package/dist/dist/editor/services/indexService.js.map +0 -1
  856. package/dist/dist/editor/services/reviewsService.d.ts +0 -53
  857. package/dist/dist/editor/services/reviewsService.js +0 -130
  858. package/dist/dist/editor/services/reviewsService.js.map +0 -1
  859. package/dist/dist/editor/services/searchService.d.ts +0 -17
  860. package/dist/dist/editor/services/searchService.js +0 -25
  861. package/dist/dist/editor/services/searchService.js.map +0 -1
  862. package/dist/dist/editor/services/serviceHelper.d.ts +0 -10
  863. package/dist/dist/editor/services/serviceHelper.js +0 -118
  864. package/dist/dist/editor/services/serviceHelper.js.map +0 -1
  865. package/dist/dist/editor/services/setupService.d.ts +0 -30
  866. package/dist/dist/editor/services/setupService.js +0 -17
  867. package/dist/dist/editor/services/setupService.js.map +0 -1
  868. package/dist/dist/editor/services/suggestedEditsService.d.ts +0 -18
  869. package/dist/dist/editor/services/suggestedEditsService.js +0 -44
  870. package/dist/dist/editor/services/suggestedEditsService.js.map +0 -1
  871. package/dist/dist/editor/services/systemService.d.ts +0 -4
  872. package/dist/dist/editor/services/systemService.js +0 -11
  873. package/dist/dist/editor/services/systemService.js.map +0 -1
  874. package/dist/dist/editor/services-server/api.d.ts +0 -19
  875. package/dist/dist/editor/services-server/api.js +0 -111
  876. package/dist/dist/editor/services-server/api.js.map +0 -1
  877. package/dist/dist/editor/services-server/graphQL.d.ts +0 -29
  878. package/dist/dist/editor/services-server/graphQL.js +0 -53
  879. package/dist/dist/editor/services-server/graphQL.js.map +0 -1
  880. package/dist/dist/editor/sidebar/Completions.d.ts +0 -1
  881. package/dist/dist/editor/sidebar/Completions.js +0 -55
  882. package/dist/dist/editor/sidebar/Completions.js.map +0 -1
  883. package/dist/dist/editor/sidebar/ComponentPalette.d.ts +0 -1
  884. package/dist/dist/editor/sidebar/ComponentPalette.js +0 -86
  885. package/dist/dist/editor/sidebar/ComponentPalette.js.map +0 -1
  886. package/dist/dist/editor/sidebar/ComponentTree.d.ts +0 -1
  887. package/dist/dist/editor/sidebar/ComponentTree.js +0 -691
  888. package/dist/dist/editor/sidebar/ComponentTree.js.map +0 -1
  889. package/dist/dist/editor/sidebar/Debug.d.ts +0 -1
  890. package/dist/dist/editor/sidebar/Debug.js +0 -71
  891. package/dist/dist/editor/sidebar/Debug.js.map +0 -1
  892. package/dist/dist/editor/sidebar/DictionaryEditor.d.ts +0 -1
  893. package/dist/dist/editor/sidebar/DictionaryEditor.js +0 -158
  894. package/dist/dist/editor/sidebar/DictionaryEditor.js.map +0 -1
  895. package/dist/dist/editor/sidebar/Divider.d.ts +0 -6
  896. package/dist/dist/editor/sidebar/Divider.js +0 -6
  897. package/dist/dist/editor/sidebar/Divider.js.map +0 -1
  898. package/dist/dist/editor/sidebar/EditHistory.d.ts +0 -1
  899. package/dist/dist/editor/sidebar/EditHistory.js +0 -80
  900. package/dist/dist/editor/sidebar/EditHistory.js.map +0 -1
  901. package/dist/dist/editor/sidebar/GraphQL.d.ts +0 -2
  902. package/dist/dist/editor/sidebar/GraphQL.js +0 -234
  903. package/dist/dist/editor/sidebar/GraphQL.js.map +0 -1
  904. package/dist/dist/editor/sidebar/Insert.d.ts +0 -1
  905. package/dist/dist/editor/sidebar/Insert.js +0 -22
  906. package/dist/dist/editor/sidebar/Insert.js.map +0 -1
  907. package/dist/dist/editor/sidebar/LeftToolbar.d.ts +0 -1
  908. package/dist/dist/editor/sidebar/LeftToolbar.js +0 -16
  909. package/dist/dist/editor/sidebar/LeftToolbar.js.map +0 -1
  910. package/dist/dist/editor/sidebar/MainContentTree.d.ts +0 -5
  911. package/dist/dist/editor/sidebar/MainContentTree.js +0 -70
  912. package/dist/dist/editor/sidebar/MainContentTree.js.map +0 -1
  913. package/dist/dist/editor/sidebar/Performance.d.ts +0 -1
  914. package/dist/dist/editor/sidebar/Performance.js +0 -32
  915. package/dist/dist/editor/sidebar/Performance.js.map +0 -1
  916. package/dist/dist/editor/sidebar/SEOInfo.d.ts +0 -1
  917. package/dist/dist/editor/sidebar/SEOInfo.js +0 -158
  918. package/dist/dist/editor/sidebar/SEOInfo.js.map +0 -1
  919. package/dist/dist/editor/sidebar/Sessions.d.ts +0 -1
  920. package/dist/dist/editor/sidebar/Sessions.js +0 -29
  921. package/dist/dist/editor/sidebar/Sessions.js.map +0 -1
  922. package/dist/dist/editor/sidebar/Sidebar.d.ts +0 -1
  923. package/dist/dist/editor/sidebar/Sidebar.js +0 -13
  924. package/dist/dist/editor/sidebar/Sidebar.js.map +0 -1
  925. package/dist/dist/editor/sidebar/SidebarView.d.ts +0 -13
  926. package/dist/dist/editor/sidebar/SidebarView.js +0 -53
  927. package/dist/dist/editor/sidebar/SidebarView.js.map +0 -1
  928. package/dist/dist/editor/sidebar/Validation.d.ts +0 -1
  929. package/dist/dist/editor/sidebar/Validation.js +0 -51
  930. package/dist/dist/editor/sidebar/Validation.js.map +0 -1
  931. package/dist/dist/editor/sidebar/ViewSelector.d.ts +0 -4
  932. package/dist/dist/editor/sidebar/ViewSelector.js +0 -191
  933. package/dist/dist/editor/sidebar/ViewSelector.js.map +0 -1
  934. package/dist/dist/editor/sidebar/Workbox.d.ts +0 -1
  935. package/dist/dist/editor/sidebar/Workbox.js +0 -79
  936. package/dist/dist/editor/sidebar/Workbox.js.map +0 -1
  937. package/dist/dist/editor/ui/CenteredMessage.d.ts +0 -3
  938. package/dist/dist/editor/ui/CenteredMessage.js +0 -5
  939. package/dist/dist/editor/ui/CenteredMessage.js.map +0 -1
  940. package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.d.ts +0 -10
  941. package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.js +0 -38
  942. package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.js.map +0 -1
  943. package/dist/dist/editor/ui/DialogButtons.d.ts +0 -4
  944. package/dist/dist/editor/ui/DialogButtons.js +0 -6
  945. package/dist/dist/editor/ui/DialogButtons.js.map +0 -1
  946. package/dist/dist/editor/ui/DragPreview.d.ts +0 -14
  947. package/dist/dist/editor/ui/DragPreview.js +0 -33
  948. package/dist/dist/editor/ui/DragPreview.js.map +0 -1
  949. package/dist/dist/editor/ui/IconSelectorDialog.d.ts +0 -5
  950. package/dist/dist/editor/ui/IconSelectorDialog.js +0 -239
  951. package/dist/dist/editor/ui/IconSelectorDialog.js.map +0 -1
  952. package/dist/dist/editor/ui/Icons.d.ts +0 -74
  953. package/dist/dist/editor/ui/Icons.js +0 -106
  954. package/dist/dist/editor/ui/Icons.js.map +0 -1
  955. package/dist/dist/editor/ui/ItemList.d.ts +0 -16
  956. package/dist/dist/editor/ui/ItemList.js +0 -19
  957. package/dist/dist/editor/ui/ItemList.js.map +0 -1
  958. package/dist/dist/editor/ui/ItemNameDialogNew.d.ts +0 -10
  959. package/dist/dist/editor/ui/ItemNameDialogNew.js +0 -82
  960. package/dist/dist/editor/ui/ItemNameDialogNew.js.map +0 -1
  961. package/dist/dist/editor/ui/ItemSearch.d.ts +0 -25
  962. package/dist/dist/editor/ui/ItemSearch.js +0 -92
  963. package/dist/dist/editor/ui/ItemSearch.js.map +0 -1
  964. package/dist/dist/editor/ui/PerfectTree.d.ts +0 -78
  965. package/dist/dist/editor/ui/PerfectTree.js +0 -860
  966. package/dist/dist/editor/ui/PerfectTree.js.map +0 -1
  967. package/dist/dist/editor/ui/Section.d.ts +0 -4
  968. package/dist/dist/editor/ui/Section.js +0 -12
  969. package/dist/dist/editor/ui/Section.js.map +0 -1
  970. package/dist/dist/editor/ui/SimpleIconButton.d.ts +0 -14
  971. package/dist/dist/editor/ui/SimpleIconButton.js +0 -15
  972. package/dist/dist/editor/ui/SimpleIconButton.js.map +0 -1
  973. package/dist/dist/editor/ui/SimpleMenu.d.ts +0 -6
  974. package/dist/dist/editor/ui/SimpleMenu.js +0 -7
  975. package/dist/dist/editor/ui/SimpleMenu.js.map +0 -1
  976. package/dist/dist/editor/ui/SimpleTable.d.ts +0 -14
  977. package/dist/dist/editor/ui/SimpleTable.js +0 -9
  978. package/dist/dist/editor/ui/SimpleTable.js.map +0 -1
  979. package/dist/dist/editor/ui/SimpleTabs.d.ts +0 -16
  980. package/dist/dist/editor/ui/SimpleTabs.js +0 -20
  981. package/dist/dist/editor/ui/SimpleTabs.js.map +0 -1
  982. package/dist/dist/editor/ui/SimpleToolbar.d.ts +0 -3
  983. package/dist/dist/editor/ui/SimpleToolbar.js +0 -5
  984. package/dist/dist/editor/ui/SimpleToolbar.js.map +0 -1
  985. package/dist/dist/editor/ui/Spinner.d.ts +0 -4
  986. package/dist/dist/editor/ui/Spinner.js +0 -18
  987. package/dist/dist/editor/ui/Spinner.js.map +0 -1
  988. package/dist/dist/editor/ui/Splitter.d.ts +0 -22
  989. package/dist/dist/editor/ui/Splitter.js +0 -443
  990. package/dist/dist/editor/ui/Splitter.js.map +0 -1
  991. package/dist/dist/editor/ui/TemplateSelectorDialog.d.ts +0 -8
  992. package/dist/dist/editor/ui/TemplateSelectorDialog.js +0 -138
  993. package/dist/dist/editor/ui/TemplateSelectorDialog.js.map +0 -1
  994. package/dist/dist/editor/ui/Toolbar.d.ts +0 -3
  995. package/dist/dist/editor/ui/Toolbar.js +0 -5
  996. package/dist/dist/editor/ui/Toolbar.js.map +0 -1
  997. package/dist/dist/editor/utils/id-helper.d.ts +0 -1
  998. package/dist/dist/editor/utils/id-helper.js +0 -5
  999. package/dist/dist/editor/utils/id-helper.js.map +0 -1
  1000. package/dist/dist/editor/utils/insertOptions.d.ts +0 -3
  1001. package/dist/dist/editor/utils/insertOptions.js +0 -43
  1002. package/dist/dist/editor/utils/insertOptions.js.map +0 -1
  1003. package/dist/dist/editor/utils/itemConverters.d.ts +0 -3
  1004. package/dist/dist/editor/utils/itemConverters.js +0 -53
  1005. package/dist/dist/editor/utils/itemConverters.js.map +0 -1
  1006. package/dist/dist/editor/utils/itemutils.d.ts +0 -3
  1007. package/dist/dist/editor/utils/itemutils.js +0 -24
  1008. package/dist/dist/editor/utils/itemutils.js.map +0 -1
  1009. package/dist/dist/editor/utils/jsonCleaner.d.ts +0 -8
  1010. package/dist/dist/editor/utils/jsonCleaner.js +0 -76
  1011. package/dist/dist/editor/utils/jsonCleaner.js.map +0 -1
  1012. package/dist/dist/editor/utils/keyboardNavigation.d.ts +0 -34
  1013. package/dist/dist/editor/utils/keyboardNavigation.js +0 -237
  1014. package/dist/dist/editor/utils/keyboardNavigation.js.map +0 -1
  1015. package/dist/dist/editor/utils/urlUtils.d.ts +0 -9
  1016. package/dist/dist/editor/utils/urlUtils.js +0 -25
  1017. package/dist/dist/editor/utils/urlUtils.js.map +0 -1
  1018. package/dist/dist/editor/utils/useMemoDebug.d.ts +0 -1
  1019. package/dist/dist/editor/utils/useMemoDebug.js +0 -18
  1020. package/dist/dist/editor/utils/useMemoDebug.js.map +0 -1
  1021. package/dist/dist/editor/utils.d.ts +0 -65
  1022. package/dist/dist/editor/utils.js +0 -488
  1023. package/dist/dist/editor/utils.js.map +0 -1
  1024. package/dist/dist/editor/views/CompareView.d.ts +0 -1
  1025. package/dist/dist/editor/views/CompareView.js +0 -148
  1026. package/dist/dist/editor/views/CompareView.js.map +0 -1
  1027. package/dist/dist/editor/views/EditView.d.ts +0 -1
  1028. package/dist/dist/editor/views/EditView.js +0 -15
  1029. package/dist/dist/editor/views/EditView.js.map +0 -1
  1030. package/dist/dist/editor/views/ItemEditor.d.ts +0 -7
  1031. package/dist/dist/editor/views/ItemEditor.js +0 -29
  1032. package/dist/dist/editor/views/ItemEditor.js.map +0 -1
  1033. package/dist/dist/editor/views/MediaFolderEditView.d.ts +0 -4
  1034. package/dist/dist/editor/views/MediaFolderEditView.js +0 -40
  1035. package/dist/dist/editor/views/MediaFolderEditView.js.map +0 -1
  1036. package/dist/dist/editor/views/ParheliaView.d.ts +0 -5
  1037. package/dist/dist/editor/views/ParheliaView.js +0 -163
  1038. package/dist/dist/editor/views/ParheliaView.js.map +0 -1
  1039. package/dist/dist/editor/views/SingleEditView.d.ts +0 -9
  1040. package/dist/dist/editor/views/SingleEditView.js +0 -33
  1041. package/dist/dist/editor/views/SingleEditView.js.map +0 -1
  1042. package/dist/dist/images/bg-shape-black.webp +0 -0
  1043. package/dist/dist/images/wizard-bg.png +0 -0
  1044. package/dist/dist/images/wizard-tour.png +0 -0
  1045. package/dist/dist/images/wizard.png +0 -0
  1046. package/dist/dist/index.d.ts +0 -67
  1047. package/dist/dist/index.js +0 -57
  1048. package/dist/dist/index.js.map +0 -1
  1049. package/dist/dist/lib/safelist.d.ts +0 -1
  1050. package/dist/dist/lib/safelist.js +0 -5
  1051. package/dist/dist/lib/safelist.js.map +0 -1
  1052. package/dist/dist/lib/utils.d.ts +0 -2
  1053. package/dist/dist/lib/utils.js +0 -6
  1054. package/dist/dist/lib/utils.js.map +0 -1
  1055. package/dist/dist/revision.d.ts +0 -2
  1056. package/dist/dist/revision.js +0 -3
  1057. package/dist/dist/revision.js.map +0 -1
  1058. package/dist/dist/setup/SetupWizardPage.d.ts +0 -5
  1059. package/dist/dist/setup/SetupWizardPage.js +0 -8
  1060. package/dist/dist/setup/SetupWizardPage.js.map +0 -1
  1061. package/dist/dist/setup/services/setupWizardService.d.ts +0 -89
  1062. package/dist/dist/setup/services/setupWizardService.js +0 -92
  1063. package/dist/dist/setup/services/setupWizardService.js.map +0 -1
  1064. package/dist/dist/setup/utils/modelPricing.d.ts +0 -7
  1065. package/dist/dist/setup/utils/modelPricing.js +0 -106
  1066. package/dist/dist/setup/utils/modelPricing.js.map +0 -1
  1067. package/dist/dist/setup/wizard/SetupWizard.d.ts +0 -27
  1068. package/dist/dist/setup/wizard/SetupWizard.js +0 -92
  1069. package/dist/dist/setup/wizard/SetupWizard.js.map +0 -1
  1070. package/dist/dist/setup/wizard/index.d.ts +0 -6
  1071. package/dist/dist/setup/wizard/index.js +0 -6
  1072. package/dist/dist/setup/wizard/index.js.map +0 -1
  1073. package/dist/dist/setup/wizard/steps/AgentsStep.d.ts +0 -2
  1074. package/dist/dist/setup/wizard/steps/AgentsStep.js +0 -117
  1075. package/dist/dist/setup/wizard/steps/AgentsStep.js.map +0 -1
  1076. package/dist/dist/setup/wizard/steps/EndpointsStep.d.ts +0 -2
  1077. package/dist/dist/setup/wizard/steps/EndpointsStep.js +0 -94
  1078. package/dist/dist/setup/wizard/steps/EndpointsStep.js.map +0 -1
  1079. package/dist/dist/setup/wizard/steps/ModelsStep.d.ts +0 -2
  1080. package/dist/dist/setup/wizard/steps/ModelsStep.js +0 -287
  1081. package/dist/dist/setup/wizard/steps/ModelsStep.js.map +0 -1
  1082. package/dist/dist/setup/wizard/steps/SearchStep.d.ts +0 -2
  1083. package/dist/dist/setup/wizard/steps/SearchStep.js +0 -95
  1084. package/dist/dist/setup/wizard/steps/SearchStep.js.map +0 -1
  1085. package/dist/dist/splash-screen/ModernSplashScreen.d.ts +0 -8
  1086. package/dist/dist/splash-screen/ModernSplashScreen.js +0 -36
  1087. package/dist/dist/splash-screen/ModernSplashScreen.js.map +0 -1
  1088. package/dist/dist/splash-screen/NewPage.d.ts +0 -3
  1089. package/dist/dist/splash-screen/NewPage.js +0 -145
  1090. package/dist/dist/splash-screen/NewPage.js.map +0 -1
  1091. package/dist/dist/splash-screen/OpenPage.d.ts +0 -1
  1092. package/dist/dist/splash-screen/OpenPage.js +0 -56
  1093. package/dist/dist/splash-screen/OpenPage.js.map +0 -1
  1094. package/dist/dist/splash-screen/ParheliaAssistantChat.d.ts +0 -8
  1095. package/dist/dist/splash-screen/ParheliaAssistantChat.js +0 -169
  1096. package/dist/dist/splash-screen/ParheliaAssistantChat.js.map +0 -1
  1097. package/dist/dist/splash-screen/ParheliaLogo.d.ts +0 -5
  1098. package/dist/dist/splash-screen/ParheliaLogo.js +0 -71
  1099. package/dist/dist/splash-screen/ParheliaLogo.js.map +0 -1
  1100. package/dist/dist/splash-screen/RecentAgents.d.ts +0 -7
  1101. package/dist/dist/splash-screen/RecentAgents.js +0 -76
  1102. package/dist/dist/splash-screen/RecentAgents.js.map +0 -1
  1103. package/dist/dist/splash-screen/RecentPages.d.ts +0 -1
  1104. package/dist/dist/splash-screen/RecentPages.js +0 -59
  1105. package/dist/dist/splash-screen/RecentPages.js.map +0 -1
  1106. package/dist/dist/splash-screen/SectionHeadline.d.ts +0 -4
  1107. package/dist/dist/splash-screen/SectionHeadline.js +0 -7
  1108. package/dist/dist/splash-screen/SectionHeadline.js.map +0 -1
  1109. package/dist/dist/styles.css +0 -6035
  1110. package/dist/dist/tour/Tour.d.ts +0 -3
  1111. package/dist/dist/tour/Tour.js +0 -426
  1112. package/dist/dist/tour/Tour.js.map +0 -1
  1113. package/dist/dist/tour/default-tour.d.ts +0 -9
  1114. package/dist/dist/tour/default-tour.js +0 -302
  1115. package/dist/dist/tour/default-tour.js.map +0 -1
  1116. package/dist/dist/tour/preview-tour.d.ts +0 -2
  1117. package/dist/dist/tour/preview-tour.js +0 -93
  1118. package/dist/dist/tour/preview-tour.js.map +0 -1
  1119. package/dist/dist/types.d.ts +0 -490
  1120. package/dist/dist/types.js +0 -2
  1121. package/dist/dist/types.js.map +0 -1
  1122. package/dist/editor/control-center/setup-steps/SetupOverview.d.ts +0 -14
  1123. package/dist/editor/control-center/setup-steps/SetupOverview.js +0 -38
  1124. package/dist/editor/control-center/setup-steps/SetupOverview.js.map +0 -1
  1125. package/dist/editor/hooks/useEditorSettings.d.ts +0 -17
  1126. package/dist/editor/hooks/useEditorSettings.js +0 -61
  1127. package/dist/editor/hooks/useEditorSettings.js.map +0 -1
  1128. package/dist/editor/menubar/toolbar-sections/AgentCommandsToolbar.d.ts +0 -5
  1129. package/dist/editor/menubar/toolbar-sections/AgentCommandsToolbar.js +0 -91
  1130. package/dist/editor/menubar/toolbar-sections/AgentCommandsToolbar.js.map +0 -1
  1131. package/dist/editor/page-viewer/EditorFormPopup.d.ts +0 -11
  1132. package/dist/editor/page-viewer/EditorFormPopup.js +0 -41
  1133. package/dist/editor/page-viewer/EditorFormPopup.js.map +0 -1
  1134. package/dist/editor/services/agentCommandsService.d.ts +0 -22
  1135. package/dist/editor/services/agentCommandsService.js +0 -43
  1136. package/dist/editor/services/agentCommandsService.js.map +0 -1
  1137. package/dist/editor/settings/SettingsMenu.d.ts +0 -1
  1138. package/dist/editor/settings/SettingsMenu.js +0 -74
  1139. package/dist/editor/settings/SettingsMenu.js.map +0 -1
  1140. package/dist/editor/settings/panels/ToolsPanel.d.ts +0 -6
  1141. package/dist/editor/settings/panels/ToolsPanel.js +0 -192
  1142. package/dist/editor/settings/panels/ToolsPanel.js.map +0 -1
  1143. package/dist/editor/settings/setup-steps/AiSetupStep/tools/GenerateToolsSection.d.ts +0 -1
  1144. package/dist/editor/settings/setup-steps/AiSetupStep/tools/GenerateToolsSection.js +0 -372
  1145. package/dist/editor/settings/setup-steps/AiSetupStep/tools/GenerateToolsSection.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { cn } from "../../lib/utils";
3
- import { SecretAgentIcon } from "../ui/Icons";
3
+ import { Bot } from "lucide-react";
4
4
  export const AgentProfilesOverview = ({ profiles, onSelectProfile, className, }) => {
5
5
  // Filter out hidden profiles
6
6
  const visibleProfiles = profiles.filter((profile) => !profile.hiddenFromOverview);
@@ -10,7 +10,7 @@ export const AgentProfilesOverview = ({ profiles, onSelectProfile, className, })
10
10
  return (_jsx("div", { className: cn("grid grid-cols-[repeat(auto-fit,minmax(min(200px,100%),1fr))] gap-3", className), children: visibleProfiles.map((profile) => {
11
11
  const displayTitle = profile.displayTitle || profile.name;
12
12
  const description = profile.description || "";
13
- return (_jsxs("button", { onClick: () => onSelectProfile(profile.id), className: "group flex flex-col gap-3 rounded-lg border border-gray-200 bg-white p-4 text-left transition-all hover:border-blue-300 hover:shadow-md max-w-sm cursor-pointer", "data-testid": "agent-profile-card", "data-profile-id": profile.id, children: [_jsx("div", { className: "flex items-center justify-center", children: profile.svgIcon ? (_jsx("div", { className: "flex h-12 w-12 items-center justify-center transition-transform group-hover:scale-110 [&>svg]:h-full [&>svg]:w-full", dangerouslySetInnerHTML: { __html: profile.svgIcon } })) : (_jsx(SecretAgentIcon, { size: 48, strokeWidth: 1, className: "text-gray-400 transition-transform group-hover:scale-110 group-hover:text-blue-500" })) }), _jsx("h3", { className: "text-sm font-semibold text-gray-900", children: displayTitle }), description && (_jsx("p", { className: "line-clamp-3 text-xs text-gray-500", children: description }))] }, profile.id));
13
+ return (_jsxs("button", { onClick: () => onSelectProfile(profile.id), className: "group flex flex-col gap-3 rounded-lg border border-gray-200 bg-white p-4 text-left transition-all hover:border-blue-300 hover:shadow-md max-w-sm", "data-testid": "agent-profile-card", "data-profile-id": profile.id, children: [_jsx("div", { className: "flex items-center justify-center", children: profile.svgIcon ? (_jsx("div", { className: "flex h-12 w-12 items-center justify-center transition-transform group-hover:scale-110 [&>svg]:h-full [&>svg]:w-full", dangerouslySetInnerHTML: { __html: profile.svgIcon } })) : (_jsx(Bot, { className: "h-12 w-12 text-gray-400 transition-transform group-hover:scale-110 group-hover:text-blue-500", strokeWidth: 1 })) }), _jsx("h3", { className: "text-sm font-semibold text-gray-900", children: displayTitle }), description && (_jsx("p", { className: "line-clamp-3 text-xs text-gray-500", children: description }))] }, profile.id));
14
14
  }) }));
15
15
  };
16
16
  //# sourceMappingURL=AgentProfilesOverview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentProfilesOverview.js","sourceRoot":"","sources":["../../../src/editor/ai/AgentProfilesOverview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAQ9C,MAAM,CAAC,MAAM,qBAAqB,GAAyC,CAAC,EAC1E,QAAQ,EACR,eAAe,EACf,SAAS,GACV,EAAE,EAAE;IACH,6BAA6B;IAC7B,MAAM,eAAe,GAAG,QAAQ,CAAC,MAAM,CACrC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CACzC,CAAC;IAEF,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,OAAO,CACL,cAAK,SAAS,EAAE,EAAE,CAAC,mCAAmC,EAAE,SAAS,CAAC,4CAE5D,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CACX,qEAAqE,EACrE,SAAS,CACV,YAEA,eAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;YAC/B,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;YAC1D,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC;YAE9C,OAAO,CACL,kBAEE,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,EAC1C,SAAS,EAAC,iKAAiK,iBAC/J,oBAAoB,qBACf,OAAO,CAAC,EAAE,aAG3B,cAAK,SAAS,EAAC,kCAAkC,YAC9C,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CACjB,cACE,SAAS,EAAC,qHAAqH,EAC/H,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,EAAE,GACpD,CACH,CAAC,CAAC,CAAC,CACF,KAAC,eAAe,IACd,IAAI,EAAE,EAAE,EACR,WAAW,EAAE,CAAC,EACd,SAAS,EAAC,oFAAoF,GAC9F,CACH,GACG,EAGN,aAAI,SAAS,EAAC,qCAAqC,YAChD,YAAY,GACV,EAGJ,WAAW,IAAI,CACd,YAAG,SAAS,EAAC,oCAAoC,YAC9C,WAAW,GACV,CACL,KAhCI,OAAO,CAAC,EAAE,CAiCR,CACV,CAAC;QACJ,CAAC,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"AgentProfilesOverview.js","sourceRoot":"","sources":["../../../src/editor/ai/AgentProfilesOverview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAQnC,MAAM,CAAC,MAAM,qBAAqB,GAAyC,CAAC,EAC1E,QAAQ,EACR,eAAe,EACf,SAAS,GACV,EAAE,EAAE;IACH,6BAA6B;IAC7B,MAAM,eAAe,GAAG,QAAQ,CAAC,MAAM,CACrC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CACzC,CAAC;IAEF,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,OAAO,CACL,cAAK,SAAS,EAAE,EAAE,CAAC,mCAAmC,EAAE,SAAS,CAAC,4CAE5D,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CACX,qEAAqE,EACrE,SAAS,CACV,YAEA,eAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;YAC/B,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;YAC1D,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC;YAE9C,OAAO,CACL,kBAEE,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,EAC1C,SAAS,EAAC,kJAAkJ,iBAChJ,oBAAoB,qBACf,OAAO,CAAC,EAAE,aAG3B,cAAK,SAAS,EAAC,kCAAkC,YAC9C,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CACjB,cACE,SAAS,EAAC,qHAAqH,EAC/H,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,EAAE,GACpD,CACH,CAAC,CAAC,CAAC,CACF,KAAC,GAAG,IACF,SAAS,EAAC,8FAA8F,EACxG,WAAW,EAAE,CAAC,GACd,CACH,GACG,EAGN,aAAI,SAAS,EAAC,qCAAqC,YAChD,YAAY,GACV,EAGJ,WAAW,IAAI,CACd,YAAG,SAAS,EAAC,oCAAoC,YAC9C,WAAW,GACV,CACL,KA/BI,OAAO,CAAC,EAAE,CAgCR,CACV,CAAC;QACJ,CAAC,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -18,18 +18,11 @@ export function ControlCenterMenu() {
18
18
  const current = new URLSearchParams(Array.from(searchParams.entries()));
19
19
  if (key) {
20
20
  current.set("ccpanel", key);
21
- // Ensure view=control-center is set when navigating within Control Center
22
- if (!current.has("view")) {
23
- current.set("view", "control-center");
24
- }
25
21
  }
26
22
  else {
27
23
  current.delete("ccpanel");
28
24
  }
29
- // Use window.history.pushState directly to avoid page reloads in static export mode
30
- // This matches the pattern used in EditorShell.tsx
31
- const newUrl = `${pathname}?${current.toString()}`;
32
- window.history.pushState(null, "", newUrl);
25
+ router.push(`${pathname}?${current.toString()}`, { scroll: false });
33
26
  };
34
27
  useEffect(() => {
35
28
  updateUrl(activeItemKey);
@@ -1 +1 @@
1
- {"version":3,"file":"ControlCenterMenu.js","sourceRoot":"","sources":["../../../src/editor/control-center/ControlCenterMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,MAAM,UAAU,iBAAiB;IAC/B,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,MAAM,GAAG,WAAW,EAAE,aAAa,CAAC;IAC1C,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IACvC,MAAM,gBAAgB,GAAG,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACrD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAChD,gBAAgB,CACjB,CAAC;IAEF,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,SAAS,GAAG,CAAC,GAAkB,EAAE,EAAE;QACvC,IAAI,gBAAgB,KAAK,GAAG;YAAE,OAAO;QAErC,MAAM,OAAO,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAExE,IAAI,GAAG,EAAE,CAAC;YACR,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;YAC5B,0EAA0E;YAC1E,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;gBACzB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAC5B,CAAC;QAED,oFAAoF;QACpF,mDAAmD;QACnD,MAAM,MAAM,GAAG,GAAG,QAAQ,IAAI,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC;QACnD,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,SAAS,CAAC,aAAa,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,gFAAgF;IAChF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,gBAAgB,KAAK,aAAa,EAAE,CAAC;YACvC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;QACrC,CAAC;IACH,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAEvB,MAAM,KAAK,GAAG,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACvD,OAAO;YACL,EAAE,EAAE,KAAK,CAAC,KAAK;YACf,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,KAAK,EACH,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;gBAC3B,EAAE,EAAE,KAAK,CAAC,EAAE;gBACZ,KAAK,EAAE,KAAK,CAAC,KAAK;aACnB,CAAC,CAAC,IAAI,EAAE;SACZ,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,MAAM,GAAG,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC;QAC5C,MAAM,IAAI,GAAG,MAAM;YACjB,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;YAC1B,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,aAAa,CAAC,CAAC;QAE9C,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,IAAI,CAAC,CAAC;QACzD,CAAC;QAED,IAAI,IAAI,EAAE,CAAC;YACT,WAAW,EAAE,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,CAAC;IACH,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,UAAU,IACT,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;YACpB,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC,GACD,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ControlCenterMenu.js","sourceRoot":"","sources":["../../../src/editor/control-center/ControlCenterMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,MAAM,UAAU,iBAAiB;IAC/B,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,MAAM,GAAG,WAAW,EAAE,aAAa,CAAC;IAC1C,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IACvC,MAAM,gBAAgB,GAAG,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACrD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAChD,gBAAgB,CACjB,CAAC;IAEF,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,SAAS,GAAG,CAAC,GAAkB,EAAE,EAAE;QACvC,IAAI,gBAAgB,KAAK,GAAG;YAAE,OAAO;QAErC,MAAM,OAAO,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAExE,IAAI,GAAG,EAAE,CAAC;YACR,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;QAC9B,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAC5B,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,IAAI,OAAO,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACtE,CAAC,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,SAAS,CAAC,aAAa,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,gFAAgF;IAChF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,gBAAgB,KAAK,aAAa,EAAE,CAAC;YACvC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;QACrC,CAAC;IACH,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAEvB,MAAM,KAAK,GAAG,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACvD,OAAO;YACL,EAAE,EAAE,KAAK,CAAC,KAAK;YACf,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,KAAK,EACH,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;gBAC3B,EAAE,EAAE,KAAK,CAAC,EAAE;gBACZ,KAAK,EAAE,KAAK,CAAC,KAAK;aACnB,CAAC,CAAC,IAAI,EAAE;SACZ,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,MAAM,GAAG,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC;QAC5C,MAAM,IAAI,GAAG,MAAM;YACjB,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;YAC1B,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,aAAa,CAAC,CAAC;QAE9C,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,IAAI,CAAC,CAAC;QACzD,CAAC;QAED,IAAI,IAAI,EAAE,CAAC;YACT,WAAW,EAAE,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,CAAC;IACH,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,UAAU,IACT,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;YACpB,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC,GACD,CACH,CAAC;AACJ,CAAC"}
@@ -1,10 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useCallback, useEffect, useState } from "react";
3
- import { RefreshCw, ExternalLink, Database, Clock, CheckCircle, AlertCircle, Trash2, ChevronDown, Settings, } from "lucide-react";
3
+ import { RefreshCw, ExternalLink, Database, Clock, CheckCircle, AlertCircle, Trash2, } from "lucide-react";
4
4
  import { Button } from "../../components/ui/button";
5
5
  import { cn } from "../../lib/utils";
6
6
  import { formatDateOnly, formatDateTime } from "../utils";
7
- import { getCombinedIndexStatus, cleanupBatches, populateCentroids, processCompletedBatches, collectAndUpload, submitStaged, startDirectGeneration, discardStaged, } from "../services/indexService";
7
+ import { getCombinedIndexStatus, cleanupBatches, populateCentroids, processCompletedBatches, collectAndUpload, submitStaged, startDirectGeneration, } from "../services/indexService";
8
8
  import { useEditContext } from "../client/editContext";
9
9
  export function IndexOverview() {
10
10
  const [indexStatus, setIndexStatus] = useState(null);
@@ -17,12 +17,9 @@ export function IndexOverview() {
17
17
  const [staging, setStaging] = useState(null);
18
18
  const [importStatus, setImportStatus] = useState(null);
19
19
  const [centroidsStatus, setCentroidsStatus] = useState(null);
20
- const [collectionStatus, setCollectionStatus] = useState(null);
21
20
  const [isCollecting, setIsCollecting] = useState(false);
22
21
  const [isSubmitting, setIsSubmitting] = useState(false);
23
22
  const [isStartingDirect, setIsStartingDirect] = useState(false);
24
- const [isDiscarding, setIsDiscarding] = useState(false);
25
- const [showAdvanced, setShowAdvanced] = useState(false);
26
23
  const fetchStatus = async () => {
27
24
  try {
28
25
  setIsLoading(true);
@@ -32,7 +29,6 @@ export function IndexOverview() {
32
29
  setStaging(combined?.stagingStatus || null);
33
30
  setImportStatus(combined?.importStatus || null);
34
31
  setCentroidsStatus(combined?.centroidsStatus || null);
35
- setCollectionStatus(combined?.collectionStatus || null);
36
32
  }
37
33
  catch (err) {
38
34
  setError(err instanceof Error ? err.message : "Failed to fetch index status");
@@ -85,23 +81,6 @@ export function IndexOverview() {
85
81
  setIsStartingDirect(false);
86
82
  }
87
83
  };
88
- const handleDiscard = async () => {
89
- if (!confirm("Are you sure you want to discard the current rebuild? This will delete all staged files and cannot be undone.")) {
90
- return;
91
- }
92
- try {
93
- setIsDiscarding(true);
94
- setError(null);
95
- await discardStaged();
96
- await fetchStatus();
97
- }
98
- catch (err) {
99
- setError(err instanceof Error ? err.message : "Failed to discard staged files");
100
- }
101
- finally {
102
- setIsDiscarding(false);
103
- }
104
- };
105
84
  const handleCleanup = async () => {
106
85
  try {
107
86
  setIsCleaning(true);
@@ -144,31 +123,12 @@ export function IndexOverview() {
144
123
  setIsFinalizing(false);
145
124
  }
146
125
  };
147
- // Fetch initial status on mount
148
126
  useEffect(() => {
149
127
  fetchStatus();
150
- }, []);
151
- // Poll for status updates every 2 seconds while collecting
152
- useEffect(() => {
153
- const isCollectingNow = isCollecting || collectionStatus?.isCollecting;
154
- if (!isCollectingNow)
155
- return;
156
- const pollStatus = async () => {
157
- try {
158
- const combined = await getCombinedIndexStatus();
159
- setIndexStatus(combined?.indexStatus || null);
160
- setStaging(combined?.stagingStatus || null);
161
- setImportStatus(combined?.importStatus || null);
162
- setCentroidsStatus(combined?.centroidsStatus || null);
163
- setCollectionStatus(combined?.collectionStatus || null);
164
- }
165
- catch {
166
- // Silently fail during polling - don't overwrite existing error state
167
- }
168
- };
169
- const interval = setInterval(pollStatus, 2000);
128
+ // Poll for status updates every 60 seconds
129
+ const interval = setInterval(fetchStatus, 60000);
170
130
  return () => clearInterval(interval);
171
- }, [isCollecting, collectionStatus?.isCollecting]);
131
+ }, []);
172
132
  const getBatchStatusIcon = (status) => {
173
133
  switch (status?.toLowerCase()) {
174
134
  case "completed":
@@ -199,233 +159,148 @@ export function IndexOverview() {
199
159
  editContext?.updateUrl({ view: "control-center", ccpanel: "setup" });
200
160
  editContext?.switchView("control-center");
201
161
  }, [editContext]);
202
- // Subscribe to websocket rebuild status updates
203
- useEffect(() => {
204
- if (!editContext?.addSocketMessageListener)
205
- return;
206
- const unsubscribe = editContext.addSocketMessageListener((message) => {
207
- if (message.type === "index-rebuild-status") {
208
- const payload = message.payload;
209
- if (!payload)
210
- return;
211
- // Update collection status
212
- if (payload.Phase === "collection") {
213
- setCollectionStatus((prev) => ({
214
- isCollecting: payload.IsActive === true,
215
- status: payload.Status || "",
216
- startedAt: payload.IsActive
217
- ? new Date().toISOString()
218
- : prev?.startedAt,
219
- itemsProcessed: payload.ItemsProcessed ?? 0,
220
- languageVersionsProcessed: payload.LanguageVersionsProcessed ?? 0,
221
- batchesUploaded: payload.BatchesUploaded ?? 0,
222
- }));
223
- }
224
- // Update import status
225
- if (payload.Phase === "import") {
226
- setImportStatus((prev) => ({
227
- isImporting: payload.IsActive === true,
228
- status: payload.Status || "",
229
- startedAt: payload.IsActive
230
- ? new Date().toISOString()
231
- : prev?.startedAt,
232
- successCount: payload.SuccessCount ?? 0,
233
- errorCount: payload.ErrorCount ?? 0,
234
- recentErrors: payload.RecentErrors || [],
235
- }));
236
- }
237
- // Update centroids status
238
- if (payload.Phase === "centroids") {
239
- setCentroidsStatus((prev) => ({
240
- isPopulating: payload.IsActive === true,
241
- status: payload.Status || "",
242
- startedAt: payload.IsActive
243
- ? new Date().toISOString()
244
- : prev?.startedAt,
245
- }));
246
- }
247
- }
248
- });
249
- return unsubscribe;
250
- }, [editContext]);
251
- // Returns index health status only (Ready or configuration errors)
252
- const getIndexStatus = (indexStatus) => {
253
- if (indexStatus?.messages != null &&
254
- indexStatus.messages.length > 0 &&
255
- indexStatus.messages[0]?.message) {
256
- return {
257
- statusLabel: indexStatus.messages[0].message,
258
- statusClass: "text-red-600",
259
- hasSettingsIssue: true,
260
- };
261
- }
262
- else {
263
- return {
264
- statusLabel: "Ready",
265
- statusClass: "text-green-600",
266
- hasSettingsIssue: false,
267
- };
268
- }
269
- };
270
- // Returns rebuild progress status (or null if no rebuild operation active)
271
- const getRebuildStatus = (isCollecting, isSubmitting, indexStatus, importStatus, centroidsStatus, collectionStatus) => {
162
+ const getIndexStatusInfo = (isCollecting, isSubmitting, indexStatus, importStatus, centroidsStatus) => {
272
163
  const batches = indexStatus?.batches || [];
273
164
  const inProgress = batches.some((b) => {
274
165
  const s = (b.status || "").toLowerCase();
275
166
  return s === "submitted" || s === "processing" || s === "queued";
276
167
  });
277
- // Use backend collection status for detailed progress, fall back to local state
278
- const actuallyCollecting = collectionStatus?.isCollecting || isCollecting;
279
- if (actuallyCollecting) {
280
- // Build a detailed status label from the backend status
281
- let statusLabel = collectionStatus?.status || "Collecting items";
282
- const details = [];
283
- if (collectionStatus?.itemsProcessed &&
284
- collectionStatus.itemsProcessed > 0) {
285
- details.push(`${collectionStatus.itemsProcessed.toLocaleString()} items`);
286
- }
287
- if (collectionStatus?.languageVersionsProcessed &&
288
- collectionStatus.languageVersionsProcessed > 0) {
289
- details.push(`${collectionStatus.languageVersionsProcessed.toLocaleString()} versions`);
290
- }
291
- if (collectionStatus?.batchesUploaded &&
292
- collectionStatus.batchesUploaded > 0) {
293
- details.push(`${collectionStatus.batchesUploaded} batches uploaded`);
294
- }
168
+ if (isCollecting) {
295
169
  return {
296
- statusLabel,
170
+ statusLabel: "Collecting items",
297
171
  statusClass: "text-indigo-600",
298
- errorCount: undefined,
299
- recentErrors: undefined,
300
- showSpinner: true,
301
- progressDetails: details.length > 0 ? details : undefined,
172
+ hasSettingsIssue: false,
302
173
  };
303
174
  }
304
175
  else if (isSubmitting || inProgress) {
305
176
  return {
306
177
  statusLabel: "Generating Embeddings",
307
178
  statusClass: "text-blue-600",
308
- errorCount: undefined,
309
- recentErrors: undefined,
310
- showSpinner: false,
311
- progressDetails: undefined,
179
+ hasSettingsIssue: false,
312
180
  };
313
181
  }
314
182
  else if (importStatus?.isImporting) {
315
- const hasErrors = (importStatus.errorCount ?? 0) > 0;
316
183
  return {
317
184
  statusLabel: importStatus.status || "Importing embeddings",
318
- statusClass: hasErrors ? "text-orange-600" : "text-purple-600",
319
- errorCount: importStatus.errorCount,
320
- recentErrors: importStatus.recentErrors,
321
- showSpinner: false,
322
- progressDetails: undefined,
185
+ statusClass: "text-purple-600",
186
+ hasSettingsIssue: false,
323
187
  };
324
188
  }
325
189
  else if (centroidsStatus?.isPopulating) {
326
190
  return {
327
191
  statusLabel: centroidsStatus.status || "Populating centroids",
328
192
  statusClass: "text-pink-600",
329
- errorCount: undefined,
330
- recentErrors: undefined,
331
- showSpinner: false,
332
- progressDetails: undefined,
193
+ hasSettingsIssue: false,
333
194
  };
334
195
  }
335
196
  else if (indexStatus?.rebuilding) {
336
197
  return {
337
198
  statusLabel: "Rebuilding",
338
199
  statusClass: "text-orange-600",
339
- errorCount: undefined,
340
- recentErrors: undefined,
341
- showSpinner: false,
342
- progressDetails: undefined,
200
+ hasSettingsIssue: false,
201
+ };
202
+ }
203
+ else if (indexStatus?.messages != null &&
204
+ indexStatus.messages.length > 0 &&
205
+ indexStatus.messages[0]?.message) {
206
+ return {
207
+ statusLabel: indexStatus.messages[0].message,
208
+ statusClass: "text-red-600",
209
+ hasSettingsIssue: true,
210
+ };
211
+ }
212
+ else {
213
+ return {
214
+ statusLabel: "Ready",
215
+ statusClass: "text-green-600",
216
+ hasSettingsIssue: false,
343
217
  };
344
218
  }
345
- return null;
346
219
  };
347
- return (_jsx("div", { className: "flex h-full items-stretch select-text", children: _jsxs("div", { className: "flex min-w-96 flex-col gap-4 p-4", children: [_jsxs("div", { className: "flex items-center gap-2 border-b border-gray-200 pb-2", children: [_jsx(Database, { className: "h-5 w-5", strokeWidth: 1 }), _jsx("span", { className: "font-semibold", children: "Search Index" })] }), error && (_jsx("div", { className: "rounded border border-red-200 bg-red-50 p-3 text-sm text-red-700", children: error })), isLoading && !indexStatus ? (_jsx("div", { className: "flex items-center justify-center py-8", children: _jsx(RefreshCw, { className: "h-6 w-6 animate-spin text-gray-400", strokeWidth: 1 }) })) : indexStatus ? (_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "rounded bg-gray-50 p-3", children: [_jsx("div", { className: "text-sm text-gray-600", children: "Indexed Items" }), _jsx("div", { className: "text-2xl font-semibold", children: indexStatus.numberOfIndexedItems?.toLocaleString() ?? "0" })] }), _jsxs("div", { className: "rounded bg-gray-50 p-3", children: [_jsx("div", { className: "text-sm text-gray-600", children: "Status" }), (() => {
348
- const { statusLabel, statusClass, hasSettingsIssue } = getIndexStatus(indexStatus);
349
- return (_jsx("div", { className: "space-y-1", children: _jsxs("div", { className: cn("flex items-center gap-2 text-sm font-medium", statusClass), children: [statusLabel, hasSettingsIssue && (_jsxs(Button, { size: "sm", variant: "outline", onClick: goToSettings, children: [_jsx(ExternalLink, { className: "h-4 w-4", strokeWidth: 1 }), "Settings"] }))] }) }));
350
- })()] })] }), _jsxs("div", { className: "rounded-lg border border-gray-200 bg-white p-4", children: [_jsx("h3", { className: "mb-3 text-sm font-semibold text-gray-700", children: "Rebuild Index" }), _jsx("div", { className: "space-y-3", children: (() => {
351
- // Get rebuild status
352
- const rebuildStatus = getRebuildStatus(isCollecting, isSubmitting, indexStatus, importStatus, centroidsStatus, collectionStatus);
353
- const stagedCount = staging?.fileCount ?? 0;
354
- const batches = indexStatus?.batches || [];
355
- const completedCount = batches.filter((b) => (b.status || "").toLowerCase() === "completed").length;
356
- const inProgressCount = batches.filter((b) => {
357
- const s = (b.status || "").toLowerCase();
358
- return (s === "submitted" || s === "processing" || s === "queued");
359
- }).length;
360
- // Check if an operation is in progress
361
- const operationInProgress = isCollecting ||
362
- collectionStatus?.isCollecting ||
363
- isSubmitting ||
364
- isStartingDirect ||
365
- isDiscarding ||
366
- inProgressCount > 0 ||
367
- indexStatus?.rebuilding ||
368
- importStatus?.isImporting ||
369
- centroidsStatus?.isPopulating;
370
- // Rebuild status display
371
- const rebuildStatusDisplay = rebuildStatus ? (_jsx("div", { className: "rounded bg-gray-50 p-3", children: _jsxs("div", { className: "space-y-1", children: [_jsxs("div", { className: cn("flex items-center gap-2 text-sm font-medium", rebuildStatus.statusClass), children: [rebuildStatus.showSpinner && (_jsx(RefreshCw, { className: "h-4 w-4 animate-spin", strokeWidth: 1 })), rebuildStatus.statusLabel] }), rebuildStatus.progressDetails &&
372
- rebuildStatus.progressDetails.length > 0 && (_jsx("div", { className: "text-xs text-gray-600", children: rebuildStatus.progressDetails.join(" ") })), rebuildStatus.errorCount !== undefined &&
373
- rebuildStatus.errorCount > 0 && (_jsxs("div", { className: "text-xs text-orange-600", children: [rebuildStatus.errorCount, " error", rebuildStatus.errorCount !== 1 ? "s" : "", rebuildStatus.recentErrors &&
374
- rebuildStatus.recentErrors.length > 0 && (_jsxs("details", { className: "mt-1", children: [_jsx("summary", { className: "cursor-pointer hover:underline", children: "Show recent errors" }), _jsx("ul", { className: "mt-1 list-disc space-y-0.5 pl-5", children: rebuildStatus.recentErrors.map((error, idx) => (_jsx("li", { className: "text-xs", children: error }, idx))) })] }))] }))] }) })) : null;
375
- // Action buttons
376
- const actionButtons = (() => {
377
- if (isCollecting ||
378
- collectionStatus?.isCollecting ||
379
- isSubmitting ||
380
- isStartingDirect ||
381
- isDiscarding ||
382
- inProgressCount > 0 ||
383
- indexStatus?.rebuilding ||
384
- importStatus?.isImporting ||
385
- centroidsStatus?.isPopulating) {
386
- return null;
387
- }
388
- else if (stagedCount > 0) {
389
- const batchCost = staging?.estimatedBatchCost ??
390
- staging?.estimatedCost ??
391
- 0;
392
- const directCost = staging?.estimatedDirectCost ?? 0;
393
- return (_jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [_jsxs("button", { onClick: handleSubmitStaged, disabled: isSubmitting || stagedCount === 0, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
394
- "cursor-pointer bg-amber-600 text-white hover:bg-amber-700": !isSubmitting && stagedCount > 0,
395
- "cursor-not-allowed bg-gray-300 text-gray-500": isSubmitting || stagedCount === 0,
396
- }), children: [_jsx(CheckCircle, { className: "h-4 w-4", strokeWidth: 1 }), isSubmitting
397
- ? "Submitting..."
398
- : `Batch (~$${batchCost.toFixed(2)})`] }), _jsxs("button", { onClick: handleStartDirect, disabled: isStartingDirect || stagedCount === 0, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
399
- "cursor-pointer bg-rose-600 text-white hover:bg-rose-700": !isStartingDirect && stagedCount > 0,
400
- "cursor-not-allowed bg-gray-300 text-gray-500": isStartingDirect || stagedCount === 0,
401
- }), children: [_jsx(CheckCircle, { className: "h-4 w-4", strokeWidth: 1 }), isStartingDirect
402
- ? "Starting..."
403
- : `Direct (~$${directCost.toFixed(2)})`] }), _jsxs("button", { onClick: handleDiscard, disabled: isDiscarding || stagedCount === 0, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
404
- "cursor-pointer bg-gray-600 text-white hover:bg-gray-700": !isDiscarding && stagedCount > 0,
405
- "cursor-not-allowed bg-gray-300 text-gray-500": isDiscarding || stagedCount === 0,
406
- }), children: [_jsx(Trash2, { className: "h-4 w-4", strokeWidth: 1 }), isDiscarding ? "Discarding..." : "Discard"] })] }));
407
- }
408
- else if (completedCount > 0) {
409
- return (_jsxs("button", { onClick: handleFinalize, disabled: isFinalizing, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
410
- "cursor-pointer bg-green-600 text-white hover:bg-green-700": !isFinalizing,
411
- "cursor-not-allowed bg-gray-300 text-gray-500": isFinalizing,
412
- }), children: [_jsx(CheckCircle, { className: "h-4 w-4", strokeWidth: 1 }), isFinalizing ? "Importing..." : "Import embeddings"] }));
413
- }
414
- const collectingNow = isCollecting || collectionStatus?.isCollecting;
415
- return (_jsxs("button", { onClick: handleCollectAndUpload, disabled: collectingNow, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
416
- "cursor-pointer bg-indigo-600 text-white hover:bg-indigo-700": !collectingNow,
417
- "cursor-not-allowed bg-gray-300 text-gray-500": collectingNow,
418
- }), children: [_jsx(RefreshCw, { className: "h-4 w-4", strokeWidth: 1 }), collectingNow ? "Collecting..." : "Rebuild Index"] }));
419
- })();
420
- // Staging stats
421
- const stagingStats = stagedCount > 0 ? (_jsxs("div", { className: "rounded bg-gray-50 p-3", children: [_jsxs("div", { className: "flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Staged Files" }), _jsx("span", { children: stagedCount })] }), staging?.itemsProcessed !== undefined &&
422
- staging.itemsProcessed > 0 && (_jsxs("div", { className: "mt-1 flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Items" }), _jsx("span", { children: staging.itemsProcessed.toLocaleString() })] })), _jsxs("div", { className: "mt-1 flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Estimated Input Tokens" }), _jsx("span", { children: (staging?.estimatedInputTokens ?? 0).toLocaleString() })] }), _jsxs("div", { className: "mt-1 flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Estimated Batch Cost" }), _jsxs("span", { children: ["~$", (staging?.estimatedBatchCost ??
423
- staging?.estimatedCost ??
424
- 0).toFixed(2)] })] }), _jsxs("div", { className: "mt-1 flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Estimated Direct Cost" }), _jsxs("span", { children: ["~$", (staging?.estimatedDirectCost ?? 0).toFixed(2)] })] })] })) : null;
425
- // Next step info
426
- const nextStepInfo = !operationInProgress ? (stagedCount > 0 ? (_jsxs("div", { className: "text-xs text-gray-700", children: ["Next step:", " ", _jsx("span", { className: "font-medium", children: "Choose: Batch or Direct generation" })] })) : inProgressCount > 0 ? (_jsxs("div", { className: "text-xs text-gray-700", children: ["Next step:", " ", _jsx("span", { className: "font-medium", children: "Generating Embeddings" })] })) : completedCount > 0 ? (_jsxs("div", { className: "text-xs text-gray-700", children: ["Next step:", " ", _jsx("span", { className: "font-medium", children: "Import embeddings" })] })) : null) : null;
427
- return (_jsxs(_Fragment, { children: [rebuildStatusDisplay, actionButtons && (_jsx("div", { className: "flex flex-wrap items-center gap-2", children: actionButtons })), stagingStats, nextStepInfo && (_jsx("div", { className: "text-xs text-gray-700", children: nextStepInfo }))] }));
428
- })() })] }), indexStatus.batches && indexStatus.batches.length > 0 && (_jsxs("div", { children: [_jsx("h3", { className: "mb-2 text-sm font-medium text-gray-700", children: "Recent Batches" }), _jsx("div", { className: "space-y-2 overflow-y-auto", children: indexStatus.batches.map((batch) => (_jsxs("div", { className: "rounded bg-gray-50 p-2 text-sm", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [getBatchStatusIcon(batch.status), _jsx("span", { className: `rounded px-2 py-0.5 text-xs font-medium ${getBatchStatusLabelStyles(batch.status)}`, children: batch.status ?? "Unknown" }), _jsx("span", { className: "font-mono text-xs", children: batch.id?.slice(-8) ?? "Unknown" })] }), _jsxs("div", { className: "text-right", children: [_jsxs("div", { className: "text-gray-600", children: [batch.numberOfItems ?? 0, " items"] }), _jsx("div", { className: "text-xs text-gray-500", children: batch.created
220
+ return (_jsx("div", { className: "flex h-full items-stretch", children: _jsxs("div", { className: "flex min-w-96 flex-col gap-4 p-4", children: [_jsxs("div", { className: "flex items-center justify-between gap-4 border-b border-gray-200 pb-2", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Database, { className: "h-5 w-5", strokeWidth: 1 }), _jsx("span", { className: "font-semibold", children: "Search Index" })] }), _jsxs("div", { className: "flex items-center gap-2", children: [(() => {
221
+ const stagedCount = staging?.fileCount ?? 0;
222
+ const batches = indexStatus?.batches || [];
223
+ const completedCount = batches.filter((b) => (b.status || "").toLowerCase() === "completed").length;
224
+ const inProgressCount = batches.filter((b) => {
225
+ const s = (b.status || "").toLowerCase();
226
+ return (s === "submitted" || s === "processing" || s === "queued");
227
+ }).length;
228
+ if (isCollecting ||
229
+ isSubmitting ||
230
+ inProgressCount > 0 ||
231
+ indexStatus?.rebuilding ||
232
+ importStatus?.isImporting ||
233
+ centroidsStatus?.isPopulating) {
234
+ return null;
235
+ }
236
+ else if (stagedCount > 0) {
237
+ const batchCost = staging?.estimatedBatchCost ?? staging?.estimatedCost ?? 0;
238
+ const directCost = staging?.estimatedDirectCost ?? 0;
239
+ return (_jsxs("div", { className: "flex items-center gap-2", children: [_jsxs("button", { onClick: handleSubmitStaged, disabled: isSubmitting || stagedCount === 0, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
240
+ "bg-amber-600 text-white hover:bg-amber-700": !isSubmitting && stagedCount > 0,
241
+ "cursor-not-allowed bg-gray-300 text-gray-500": isSubmitting || stagedCount === 0,
242
+ }), children: [_jsx(CheckCircle, { className: "h-4 w-4", strokeWidth: 1 }), isSubmitting
243
+ ? "Submitting..."
244
+ : `Batch (~$${batchCost.toFixed(2)})`] }), _jsxs("button", { onClick: handleStartDirect, disabled: isStartingDirect || stagedCount === 0, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
245
+ "bg-rose-600 text-white hover:bg-rose-700": !isStartingDirect && stagedCount > 0,
246
+ "cursor-not-allowed bg-gray-300 text-gray-500": isStartingDirect || stagedCount === 0,
247
+ }), children: [_jsx(CheckCircle, { className: "h-4 w-4", strokeWidth: 1 }), isStartingDirect
248
+ ? "Starting..."
249
+ : `Direct (~$${directCost.toFixed(2)})`] })] }));
250
+ }
251
+ else if (completedCount > 0) {
252
+ return (_jsxs("button", { onClick: handleFinalize, disabled: isFinalizing, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
253
+ "bg-green-600 text-white hover:bg-green-700": !isFinalizing,
254
+ "cursor-not-allowed bg-gray-300 text-gray-500": isFinalizing,
255
+ }), children: [_jsx(CheckCircle, { className: "h-4 w-4", strokeWidth: 1 }), isFinalizing ? "Importing..." : "Import embeddings"] }));
256
+ }
257
+ return (_jsxs("button", { onClick: handleCollectAndUpload, disabled: isCollecting, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
258
+ "bg-indigo-600 text-white hover:bg-indigo-700": !isCollecting,
259
+ "cursor-not-allowed bg-gray-300 text-gray-500": isCollecting,
260
+ }), children: [_jsx(RefreshCw, { className: "h-4 w-4", strokeWidth: 1 }), isCollecting ? "Collecting..." : "Rebuild Index"] }));
261
+ })(), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx("input", { type: "number", min: 1, value: kCentroids, onChange: (e) => setKCentroids(parseInt(e.target.value) || 1024), className: "w-24 rounded border border-gray-300 px-2 py-1 text-sm" }), _jsxs("button", { onClick: handlePopulateCentroids, disabled: centroidsStatus?.isPopulating || isPopulating, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
262
+ "bg-purple-500 text-white hover:bg-purple-600": !centroidsStatus?.isPopulating && !isPopulating,
263
+ "cursor-not-allowed bg-gray-300 text-gray-500": centroidsStatus?.isPopulating || isPopulating,
264
+ }), children: [_jsx(Database, { className: "h-4 w-4", strokeWidth: 1 }), centroidsStatus?.isPopulating || isPopulating
265
+ ? centroidsStatus?.status || "Populating..."
266
+ : "Populate Centroids"] }), _jsxs("button", { onClick: handleCleanup, disabled: isCleaning, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
267
+ "bg-gray-100 text-gray-700 hover:bg-gray-200": !isCleaning,
268
+ "cursor-not-allowed bg-gray-300 text-gray-500": isCleaning,
269
+ }), children: [_jsx(Trash2, { className: "h-4 w-4", strokeWidth: 1 }), isCleaning ? "Cleaning..." : "Cleanup"] })] })] })] }), error && (_jsx("div", { className: "rounded border border-red-200 bg-red-50 p-3 text-sm text-red-700", children: error })), isLoading && !indexStatus ? (_jsx("div", { className: "flex items-center justify-center py-8", children: _jsx(RefreshCw, { className: "h-6 w-6 animate-spin text-gray-400", strokeWidth: 1 }) })) : indexStatus ? (_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "rounded bg-gray-50 p-3", children: [_jsx("div", { className: "text-sm text-gray-600", children: "Indexed Items" }), _jsx("div", { className: "text-2xl font-semibold", children: indexStatus.numberOfIndexedItems?.toLocaleString() ?? "0" })] }), _jsxs("div", { className: "rounded bg-gray-50 p-3", children: [_jsx("div", { className: "text-sm text-gray-600", children: "Status" }), (() => {
270
+ const { statusLabel, statusClass, hasSettingsIssue } = getIndexStatusInfo(isCollecting, isSubmitting, indexStatus, importStatus, centroidsStatus);
271
+ return (_jsxs("div", { className: cn("flex items-center gap-2 text-sm font-medium", statusClass), children: [statusLabel, hasSettingsIssue && (_jsxs(Button, { size: "sm", variant: "outline", onClick: goToSettings, children: [_jsx(ExternalLink, { className: "h-4 w-4", strokeWidth: 1 }), "Settings"] }))] }));
272
+ })()] })] }), (() => {
273
+ const stagedCount = staging?.fileCount ?? 0;
274
+ // Only show staging section if there are staged files
275
+ if (stagedCount > 0) {
276
+ return (_jsxs("div", { className: "rounded bg-gray-50 p-3", children: [_jsxs("div", { className: "flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Staged Files" }), _jsx("span", { children: stagedCount })] }), _jsxs("div", { className: "mt-1 flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Estimated Input Tokens" }), _jsx("span", { children: (staging?.estimatedInputTokens ?? 0).toLocaleString() })] }), _jsxs("div", { className: "mt-1 flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Estimated Batch Cost" }), _jsxs("span", { children: ["~$", (staging?.estimatedBatchCost ??
277
+ staging?.estimatedCost ??
278
+ 0).toFixed(2)] })] }), _jsxs("div", { className: "mt-1 flex items-center justify-between text-sm text-gray-600", children: [_jsx("span", { children: "Estimated Direct Cost" }), _jsxs("span", { children: ["~$", (staging?.estimatedDirectCost ?? 0).toFixed(2)] })] }), _jsxs("div", { className: "mt-2 text-xs text-gray-700", children: ["Next step:", " ", _jsx("span", { className: "font-medium", children: "Choose: Batch or Direct generation" })] })] }));
279
+ }
280
+ // Show next step info even when no staged files (but not "Rebuild Index")
281
+ const batches = indexStatus?.batches || [];
282
+ const completedCount = batches.filter((b) => (b.status || "").toLowerCase() === "completed").length;
283
+ const inProgress = batches.some((b) => {
284
+ const s = (b.status || "").toLowerCase();
285
+ return (s === "submitted" || s === "processing" || s === "queued");
286
+ });
287
+ const nextStep = isCollecting ||
288
+ isSubmitting ||
289
+ isStartingDirect ||
290
+ indexStatus?.rebuilding ||
291
+ importStatus?.isImporting ||
292
+ centroidsStatus?.isPopulating
293
+ ? ""
294
+ : inProgress
295
+ ? "Generating Embeddings"
296
+ : completedCount > 0
297
+ ? "Import embeddings"
298
+ : ""; // Don't show "Rebuild Index" as next step
299
+ if (nextStep) {
300
+ return (_jsx("div", { className: "rounded bg-gray-50 p-3", children: _jsxs("div", { className: "text-xs text-gray-700", children: ["Next step: ", _jsx("span", { className: "font-medium", children: nextStep })] }) }));
301
+ }
302
+ return null;
303
+ })(), indexStatus.batches && indexStatus.batches.length > 0 && (_jsxs("div", { children: [_jsx("h3", { className: "mb-2 text-sm font-medium text-gray-700", children: "Recent Batches" }), _jsx("div", { className: "space-y-2 overflow-y-auto", children: indexStatus.batches.map((batch) => (_jsxs("div", { className: "rounded bg-gray-50 p-2 text-sm", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [getBatchStatusIcon(batch.status), _jsx("span", { className: `rounded px-2 py-0.5 text-xs font-medium ${getBatchStatusLabelStyles(batch.status)}`, children: batch.status ?? "Unknown" }), _jsx("span", { className: "font-mono text-xs", children: batch.id?.slice(-8) ?? "Unknown" })] }), _jsxs("div", { className: "text-right", children: [_jsxs("div", { className: "text-gray-600", children: [batch.numberOfItems ?? 0, " items"] }), _jsx("div", { className: "text-xs text-gray-500", children: batch.created
429
304
  ? formatDateOnly(new Date(batch.created))
430
305
  : "Unknown" })] })] }), ((batch.firstErrors && batch.firstErrors.length > 0) ||
431
306
  batch.errorMessage) && (_jsx("div", { className: "mt-1 text-xs text-red-600", children: (() => {
@@ -443,14 +318,6 @@ export function IndexOverview() {
443
318
  : "";
444
319
  return `${messages.join(" · ")}${suffix}`;
445
320
  })() }))] }, batch.id))) })] })), indexStatus.latestEmbeddedItems &&
446
- indexStatus.latestEmbeddedItems.length > 0 && (_jsxs("div", { children: [_jsx("h3", { className: "mb-2 text-sm font-medium text-gray-700", children: "Latest Embeddings Generated" }), _jsx("div", { className: "max-h-72 space-y-1 overflow-y-auto", children: indexStatus.latestEmbeddedItems.slice(0, 50).map((it) => (_jsxs("div", { className: "flex items-center justify-between rounded bg-gray-50 p-2 text-sm", children: [_jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate font-medium", children: it.name || it.itemId.slice(-8) }), it.path && (_jsx("div", { className: "truncate text-xs text-gray-500", children: it.path }))] }), _jsx("div", { className: "ml-2 shrink-0 text-xs text-gray-500", children: formatDateTime(new Date(it.created)) })] }, it.itemId + it.created))) })] })), _jsxs("div", { className: "border-t border-gray-200 pt-4", children: [_jsxs("button", { onClick: () => setShowAdvanced(!showAdvanced), className: "flex w-full cursor-pointer items-center justify-between text-sm text-gray-600 hover:text-gray-900", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Settings, { className: "h-4 w-4", strokeWidth: 1 }), _jsx("span", { className: "font-medium", children: "Advanced Settings" })] }), _jsx(ChevronDown, { className: cn("h-4 w-4 transition-transform duration-200", showAdvanced ? "rotate-180" : ""), strokeWidth: 1 })] }), _jsx("div", { className: cn("grid overflow-hidden transition-[grid-template-rows] duration-200", showAdvanced ? "grid-rows-[1fr]" : "grid-rows-[0fr]"), children: _jsx("div", { className: "min-h-0 overflow-hidden", children: _jsxs("div", { className: "mt-4 space-y-4", children: [_jsxs("div", { className: "rounded-lg border border-gray-200 bg-gray-50 p-4", children: [_jsx("h4", { className: "mb-2 text-sm font-medium text-gray-700", children: "Centroids Configuration" }), _jsx("p", { className: "mb-3 text-xs text-gray-500", children: "Centroids improve search performance by clustering embeddings. Higher values (e.g., 1024) provide better accuracy for large indexes. Only needed after importing new embeddings." }), _jsxs("div", { className: "flex items-center gap-3", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("label", { htmlFor: "kCentroids", className: "text-sm text-gray-600", children: "K Centroids:" }), _jsx("input", { id: "kCentroids", type: "number", min: 1, value: kCentroids, onChange: (e) => setKCentroids(parseInt(e.target.value) || 1024), className: "w-24 rounded border border-gray-300 px-2 py-1.5 text-sm focus:border-purple-500 focus:ring-1 focus:ring-purple-500 focus:outline-none" })] }), _jsxs("button", { onClick: handlePopulateCentroids, disabled: centroidsStatus?.isPopulating || isPopulating, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
447
- "cursor-pointer bg-purple-500 text-white hover:bg-purple-600": !centroidsStatus?.isPopulating && !isPopulating,
448
- "cursor-not-allowed bg-gray-300 text-gray-500": centroidsStatus?.isPopulating || isPopulating,
449
- }), children: [_jsx(Database, { className: "h-4 w-4", strokeWidth: 1 }), centroidsStatus?.isPopulating || isPopulating
450
- ? centroidsStatus?.status || "Populating..."
451
- : "Populate Centroids"] })] })] }), _jsxs("div", { className: "rounded-lg border border-gray-200 bg-gray-50 p-4", children: [_jsx("h4", { className: "mb-2 text-sm font-medium text-gray-700", children: "Maintenance" }), _jsx("p", { className: "mb-3 text-xs text-gray-500", children: "Clean up completed batch files from storage. This removes temporary files used during embedding generation." }), _jsxs("button", { onClick: handleCleanup, disabled: isCleaning, className: cn("flex items-center gap-2 rounded px-3 py-1.5 text-sm font-medium transition-colors", {
452
- "cursor-pointer bg-gray-200 text-gray-700 hover:bg-gray-300": !isCleaning,
453
- "cursor-not-allowed bg-gray-300 text-gray-500": isCleaning,
454
- }), children: [_jsx(Trash2, { className: "h-4 w-4", strokeWidth: 1 }), isCleaning ? "Cleaning..." : "Cleanup Batches"] })] })] }) }) })] })] })) : null] }) }));
321
+ indexStatus.latestEmbeddedItems.length > 0 && (_jsxs("div", { children: [_jsx("h3", { className: "mb-2 text-sm font-medium text-gray-700", children: "Latest Embeddings Generated" }), _jsx("div", { className: "max-h-72 space-y-1 overflow-y-auto", children: indexStatus.latestEmbeddedItems.slice(0, 50).map((it) => (_jsxs("div", { className: "flex items-center justify-between rounded bg-gray-50 p-2 text-sm", children: [_jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate font-medium", children: it.name || it.itemId.slice(-8) }), it.path && (_jsx("div", { className: "truncate text-xs text-gray-500", children: it.path }))] }), _jsx("div", { className: "ml-2 shrink-0 text-xs text-gray-500", children: formatDateTime(new Date(it.created)) })] }, it.itemId + it.created))) })] }))] })) : null] }) }));
455
322
  }
456
323
  //# sourceMappingURL=IndexOverview.js.map