@parhelia/core 0.1.12907 → 0.1.12909

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 (2200) hide show
  1. package/dist/agents-view/AgentCard.d.ts +8 -4
  2. package/dist/agents-view/AgentCard.js +80 -175
  3. package/dist/agents-view/AgentCard.js.map +1 -1
  4. package/dist/agents-view/AgentGalleryCard.d.ts +12 -0
  5. package/dist/agents-view/AgentGalleryCard.js +12 -0
  6. package/dist/agents-view/AgentGalleryCard.js.map +1 -0
  7. package/dist/agents-view/AgentGalleryView.d.ts +18 -0
  8. package/dist/agents-view/AgentGalleryView.js +88 -0
  9. package/dist/agents-view/AgentGalleryView.js.map +1 -0
  10. package/dist/agents-view/AgentProfileIcon.d.ts +9 -0
  11. package/dist/agents-view/AgentProfileIcon.js +32 -0
  12. package/dist/agents-view/AgentProfileIcon.js.map +1 -0
  13. package/dist/agents-view/AgentsSidebar.d.ts +4 -11
  14. package/dist/agents-view/AgentsSidebar.js +10 -14
  15. package/dist/agents-view/AgentsSidebar.js.map +1 -1
  16. package/dist/agents-view/AgentsTitlebar.d.ts +2 -3
  17. package/dist/agents-view/AgentsTitlebar.js +6 -7
  18. package/dist/agents-view/AgentsTitlebar.js.map +1 -1
  19. package/dist/agents-view/AgentsView.d.ts +27 -7
  20. package/dist/agents-view/AgentsView.js +126 -294
  21. package/dist/agents-view/AgentsView.js.map +1 -1
  22. package/dist/agents-view/AgentsWorkspaceView.d.ts +1 -1
  23. package/dist/agents-view/AgentsWorkspaceView.js +150 -106
  24. package/dist/agents-view/AgentsWorkspaceView.js.map +1 -1
  25. package/dist/agents-view/CreateAgentView.d.ts +1 -1
  26. package/dist/agents-view/CreateAgentView.js +2 -2
  27. package/dist/agents-view/CreateAgentView.js.map +1 -1
  28. package/dist/agents-view/DateAgentsGroup.d.ts +17 -0
  29. package/dist/agents-view/DateAgentsGroup.js +19 -0
  30. package/dist/agents-view/DateAgentsGroup.js.map +1 -0
  31. package/dist/agents-view/ProfileAgentsGroup.d.ts +4 -4
  32. package/dist/agents-view/ProfileAgentsGroup.js +22 -10
  33. package/dist/agents-view/ProfileAgentsGroup.js.map +1 -1
  34. package/dist/agents-view/RenameAgentDialog.d.ts +12 -0
  35. package/dist/agents-view/RenameAgentDialog.js +40 -0
  36. package/dist/agents-view/RenameAgentDialog.js.map +1 -0
  37. package/dist/agents-view/agentsNavStore.d.ts +8 -0
  38. package/dist/agents-view/agentsNavStore.js +24 -0
  39. package/dist/agents-view/agentsNavStore.js.map +1 -0
  40. package/dist/components/MarkdownDisplay.js +29 -16
  41. package/dist/components/MarkdownDisplay.js.map +1 -1
  42. package/dist/components/PageHeader.d.ts +5 -1
  43. package/dist/components/PageHeader.js +3 -3
  44. package/dist/components/PageHeader.js.map +1 -1
  45. package/dist/components/SearchInput.d.ts +28 -0
  46. package/dist/components/SearchInput.js +38 -0
  47. package/dist/components/SearchInput.js.map +1 -0
  48. package/dist/components/index.d.ts +4 -2
  49. package/dist/components/index.js +2 -1
  50. package/dist/components/index.js.map +1 -1
  51. package/dist/components/ui/LanguageSelectionGrid.d.ts +27 -0
  52. package/dist/components/ui/LanguageSelectionGrid.js +41 -0
  53. package/dist/components/ui/LanguageSelectionGrid.js.map +1 -0
  54. package/dist/components/ui/LanguageSelector.d.ts +6 -1
  55. package/dist/components/ui/LanguageSelector.js +10 -6
  56. package/dist/components/ui/LanguageSelector.js.map +1 -1
  57. package/dist/components/ui/PlaceholderInput.d.ts +0 -8
  58. package/dist/components/ui/PlaceholderInput.js +2 -43
  59. package/dist/components/ui/PlaceholderInput.js.map +1 -1
  60. package/dist/components/ui/PlaceholderInputParser.d.ts +9 -0
  61. package/dist/components/ui/PlaceholderInputParser.js +98 -0
  62. package/dist/components/ui/PlaceholderInputParser.js.map +1 -0
  63. package/dist/components/ui/PlaceholderInputTypes.d.ts +1 -1
  64. package/dist/components/ui/PlaceholderInputTypes.js +1 -1
  65. package/dist/components/ui/PlaceholderInputTypes.js.map +1 -1
  66. package/dist/components/ui/PlaceholderItemSelector.js +3 -3
  67. package/dist/components/ui/PlaceholderItemSelector.js.map +1 -1
  68. package/dist/components/ui/UserPicker.d.ts +34 -0
  69. package/dist/components/ui/UserPicker.js +73 -0
  70. package/dist/components/ui/UserPicker.js.map +1 -0
  71. package/dist/components/ui/accordion.d.ts +7 -0
  72. package/dist/components/ui/accordion.js +17 -0
  73. package/dist/components/ui/accordion.js.map +1 -0
  74. package/dist/components/ui/alert-dialog.d.ts +1 -1
  75. package/dist/components/ui/alert-dialog.js +8 -8
  76. package/dist/components/ui/alert-dialog.js.map +1 -1
  77. package/dist/components/ui/alert.d.ts +3 -2
  78. package/dist/components/ui/alert.js +9 -4
  79. package/dist/components/ui/alert.js.map +1 -1
  80. package/dist/components/ui/avatar.d.ts +30 -0
  81. package/dist/components/ui/avatar.js +46 -0
  82. package/dist/components/ui/avatar.js.map +1 -0
  83. package/dist/components/ui/badge.d.ts +8 -3
  84. package/dist/components/ui/badge.js +18 -8
  85. package/dist/components/ui/badge.js.map +1 -1
  86. package/dist/components/ui/breadcrumb.d.ts +1 -1
  87. package/dist/components/ui/breadcrumb.js +5 -5
  88. package/dist/components/ui/breadcrumb.js.map +1 -1
  89. package/dist/components/ui/button.d.ts +9 -4
  90. package/dist/components/ui/button.js +20 -14
  91. package/dist/components/ui/button.js.map +1 -1
  92. package/dist/components/ui/card.d.ts +4 -1
  93. package/dist/components/ui/card.js +4 -4
  94. package/dist/components/ui/card.js.map +1 -1
  95. package/dist/components/ui/checkbox.js +1 -1
  96. package/dist/components/ui/checkbox.js.map +1 -1
  97. package/dist/components/ui/close-button.d.ts +13 -0
  98. package/dist/components/ui/close-button.js +29 -0
  99. package/dist/components/ui/close-button.js.map +1 -0
  100. package/dist/components/ui/close-icon.d.ts +7 -0
  101. package/dist/components/ui/close-icon.js +14 -0
  102. package/dist/components/ui/close-icon.js.map +1 -0
  103. package/dist/components/ui/command.d.ts +2 -1
  104. package/dist/components/ui/command.js +8 -4
  105. package/dist/components/ui/command.js.map +1 -1
  106. package/dist/components/ui/context-menu.d.ts +17 -3
  107. package/dist/components/ui/context-menu.js +132 -68
  108. package/dist/components/ui/context-menu.js.map +1 -1
  109. package/dist/components/ui/copy-button.js +4 -3
  110. package/dist/components/ui/copy-button.js.map +1 -1
  111. package/dist/components/ui/delete-button.d.ts +13 -0
  112. package/dist/components/ui/delete-button.js +36 -0
  113. package/dist/components/ui/delete-button.js.map +1 -0
  114. package/dist/components/ui/delete-icon.d.ts +7 -0
  115. package/dist/components/ui/delete-icon.js +14 -0
  116. package/dist/components/ui/delete-icon.js.map +1 -0
  117. package/dist/components/ui/dialog.d.ts +3 -3
  118. package/dist/components/ui/dialog.js +30 -7
  119. package/dist/components/ui/dialog.js.map +1 -1
  120. package/dist/components/ui/dropdown-menu.js +5 -5
  121. package/dist/components/ui/dropdown-menu.js.map +1 -1
  122. package/dist/components/ui/input.js +2 -2
  123. package/dist/components/ui/input.js.map +1 -1
  124. package/dist/components/ui/label.js +1 -1
  125. package/dist/components/ui/mention-textarea.d.ts +10 -0
  126. package/dist/components/ui/mention-textarea.js +180 -0
  127. package/dist/components/ui/mention-textarea.js.map +1 -0
  128. package/dist/components/ui/multi-switch-button.d.ts +22 -0
  129. package/dist/components/ui/multi-switch-button.js +12 -0
  130. package/dist/components/ui/multi-switch-button.js.map +1 -0
  131. package/dist/components/ui/paste-button.js +2 -2
  132. package/dist/components/ui/paste-button.js.map +1 -1
  133. package/dist/components/ui/popover.js +22 -4
  134. package/dist/components/ui/popover.js.map +1 -1
  135. package/dist/components/ui/progress.js +2 -2
  136. package/dist/components/ui/progress.js.map +1 -1
  137. package/dist/components/ui/select.js +3 -4
  138. package/dist/components/ui/select.js.map +1 -1
  139. package/dist/components/ui/sonner.js +28 -2
  140. package/dist/components/ui/sonner.js.map +1 -1
  141. package/dist/components/ui/styled-dialog-title.js +2 -2
  142. package/dist/components/ui/styled-dialog-title.js.map +1 -1
  143. package/dist/components/ui/switch.js +1 -1
  144. package/dist/components/ui/switch.js.map +1 -1
  145. package/dist/components/ui/tabs.js +3 -3
  146. package/dist/components/ui/tabs.js.map +1 -1
  147. package/dist/components/ui/textarea.js +2 -2
  148. package/dist/components/ui/textarea.js.map +1 -1
  149. package/dist/components/ui/tooltip.js +1 -1
  150. package/dist/components/ui/tooltip.js.map +1 -1
  151. package/dist/config/config.js +314 -70
  152. package/dist/config/config.js.map +1 -1
  153. package/dist/config/notificationRoutes.js +111 -10
  154. package/dist/config/notificationRoutes.js.map +1 -1
  155. package/dist/config/types/sidebar.d.ts +4 -0
  156. package/dist/config/types/workspace.d.ts +13 -2
  157. package/dist/config/types.d.ts +17 -3
  158. package/dist/config/types.js.map +1 -1
  159. package/dist/editor/AdminRequiredView.js +4 -2
  160. package/dist/editor/AdminRequiredView.js.map +1 -1
  161. package/dist/editor/AspectRatioSelector.js +28 -25
  162. package/dist/editor/AspectRatioSelector.js.map +1 -1
  163. package/dist/editor/ConcurrentUserLimitDialog.js +11 -4
  164. package/dist/editor/ConcurrentUserLimitDialog.js.map +1 -1
  165. package/dist/editor/ConfirmationDialog.js +6 -2
  166. package/dist/editor/ConfirmationDialog.js.map +1 -1
  167. package/dist/editor/ContentTree.d.ts +19 -1
  168. package/dist/editor/ContentTree.js +99 -30
  169. package/dist/editor/ContentTree.js.map +1 -1
  170. package/dist/editor/ContextMenu.d.ts +1 -0
  171. package/dist/editor/ContextMenu.js +9 -11
  172. package/dist/editor/ContextMenu.js.map +1 -1
  173. package/dist/editor/DeleteItemsWarning.js +2 -2
  174. package/dist/editor/DeleteItemsWarning.js.map +1 -1
  175. package/dist/editor/Editor.d.ts +1 -1
  176. package/dist/editor/Editor.js +29 -9
  177. package/dist/editor/Editor.js.map +1 -1
  178. package/dist/editor/EditorLoadingOverlay.d.ts +1 -0
  179. package/dist/editor/EditorLoadingOverlay.js +7 -0
  180. package/dist/editor/EditorLoadingOverlay.js.map +1 -0
  181. package/dist/editor/EditorWarning.js +4 -4
  182. package/dist/editor/EditorWarning.js.map +1 -1
  183. package/dist/editor/FieldActionsOverlay.d.ts +0 -1
  184. package/dist/editor/FieldActionsOverlay.js +8 -25
  185. package/dist/editor/FieldActionsOverlay.js.map +1 -1
  186. package/dist/editor/FieldEditorPopup.js +2 -2
  187. package/dist/editor/FieldEditorPopup.js.map +1 -1
  188. package/dist/editor/FieldHistory.d.ts +2 -1
  189. package/dist/editor/FieldHistory.js +23 -15
  190. package/dist/editor/FieldHistory.js.map +1 -1
  191. package/dist/editor/FieldList.js +2 -2
  192. package/dist/editor/FieldList.js.map +1 -1
  193. package/dist/editor/FieldListField.d.ts +1 -1
  194. package/dist/editor/FieldListField.js +69 -60
  195. package/dist/editor/FieldListField.js.map +1 -1
  196. package/dist/editor/FieldListFieldWithFallbacks.js +4 -3
  197. package/dist/editor/FieldListFieldWithFallbacks.js.map +1 -1
  198. package/dist/editor/GlobalMenuBar.js +28 -19
  199. package/dist/editor/GlobalMenuBar.js.map +1 -1
  200. package/dist/editor/ImageEditButton.js +3 -3
  201. package/dist/editor/ImageEditButton.js.map +1 -1
  202. package/dist/editor/ImageEditor.d.ts +6 -1
  203. package/dist/editor/ImageEditor.js +21 -4
  204. package/dist/editor/ImageEditor.js.map +1 -1
  205. package/dist/editor/ItemInfo.js +10 -7
  206. package/dist/editor/ItemInfo.js.map +1 -1
  207. package/dist/editor/LinkEditorDialog.d.ts +9 -2
  208. package/dist/editor/LinkEditorDialog.js +183 -60
  209. package/dist/editor/LinkEditorDialog.js.map +1 -1
  210. package/dist/editor/MainLayout.js +121 -16
  211. package/dist/editor/MainLayout.js.map +1 -1
  212. package/dist/editor/MigrationsView.js +16 -35
  213. package/dist/editor/MigrationsView.js.map +1 -1
  214. package/dist/editor/MobileLayout.js +35 -3
  215. package/dist/editor/MobileLayout.js.map +1 -1
  216. package/dist/editor/PictureCropper.js +116 -58
  217. package/dist/editor/PictureCropper.js.map +1 -1
  218. package/dist/editor/PictureEditor.d.ts +2 -1
  219. package/dist/editor/PictureEditor.js +17 -19
  220. package/dist/editor/PictureEditor.js.map +1 -1
  221. package/dist/editor/QuickItemSwitcher.js +9 -9
  222. package/dist/editor/QuickItemSwitcher.js.map +1 -1
  223. package/dist/editor/SetupWizard.js +17 -13
  224. package/dist/editor/SetupWizard.js.map +1 -1
  225. package/dist/editor/Titlebar.d.ts +1 -1
  226. package/dist/editor/Titlebar.js +2 -2
  227. package/dist/editor/Titlebar.js.map +1 -1
  228. package/dist/editor/WorkspaceTitleSwitcher.d.ts +5 -0
  229. package/dist/editor/WorkspaceTitleSwitcher.js +67 -0
  230. package/dist/editor/WorkspaceTitleSwitcher.js.map +1 -0
  231. package/dist/editor/ai/AgentInlineDialogContent.js +2 -2
  232. package/dist/editor/ai/AgentInlineDialogContent.js.map +1 -1
  233. package/dist/editor/ai/AgentPanesGrid.js +8 -7
  234. package/dist/editor/ai/AgentPanesGrid.js.map +1 -1
  235. package/dist/editor/ai/AgentProfileSelector.d.ts +1 -0
  236. package/dist/editor/ai/AgentProfileSelector.js +11 -9
  237. package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
  238. package/dist/editor/ai/AgentSharingSection.js +22 -9
  239. package/dist/editor/ai/AgentSharingSection.js.map +1 -1
  240. package/dist/editor/ai/AgentStatusBadge.js +13 -21
  241. package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
  242. package/dist/editor/ai/AgentTerminal.d.ts +2 -38
  243. package/dist/editor/ai/AgentTerminal.js +6 -6503
  244. package/dist/editor/ai/AgentTerminal.js.map +1 -1
  245. package/dist/editor/ai/Agents.js +278 -397
  246. package/dist/editor/ai/Agents.js.map +1 -1
  247. package/dist/editor/ai/ContentInspectorPopover.js +24 -19
  248. package/dist/editor/ai/ContentInspectorPopover.js.map +1 -1
  249. package/dist/editor/ai/GuidanceOverlay.js +12 -19
  250. package/dist/editor/ai/GuidanceOverlay.js.map +1 -1
  251. package/dist/editor/ai/HeartbeatDiagnosticsPanel.d.ts +2 -2
  252. package/dist/editor/ai/HeartbeatDiagnosticsPanel.js +55 -31
  253. package/dist/editor/ai/HeartbeatDiagnosticsPanel.js.map +1 -1
  254. package/dist/editor/ai/InlineAiDialog.d.ts +6 -0
  255. package/dist/editor/ai/InlineAiDialog.js +411 -277
  256. package/dist/editor/ai/InlineAiDialog.js.map +1 -1
  257. package/dist/editor/ai/InlineAiTextEditTooltip.d.ts +8 -0
  258. package/dist/editor/ai/InlineAiTextEditTooltip.js +10 -0
  259. package/dist/editor/ai/InlineAiTextEditTooltip.js.map +1 -0
  260. package/dist/editor/ai/InlineAiTrigger.js +236 -37
  261. package/dist/editor/ai/InlineAiTrigger.js.map +1 -1
  262. package/dist/editor/ai/MediaImage.js +5 -5
  263. package/dist/editor/ai/MediaImage.js.map +1 -1
  264. package/dist/editor/ai/TimeWithTooltip.js +2 -4
  265. package/dist/editor/ai/TimeWithTooltip.js.map +1 -1
  266. package/dist/editor/ai/agentActivitySummary.d.ts +108 -0
  267. package/dist/editor/ai/agentActivitySummary.js +390 -0
  268. package/dist/editor/ai/agentActivitySummary.js.map +1 -0
  269. package/dist/editor/ai/agentDiagnostics.d.ts +26 -0
  270. package/dist/editor/ai/agentDiagnostics.js +41 -1
  271. package/dist/editor/ai/agentDiagnostics.js.map +1 -1
  272. package/dist/editor/ai/agentDialogRegistry.js.map +1 -1
  273. package/dist/editor/ai/agentMessageHelpers.js.map +1 -1
  274. package/dist/editor/ai/agentMessageMarkdown.js +10 -10
  275. package/dist/editor/ai/agentMessageMarkdown.js.map +1 -1
  276. package/dist/editor/ai/agentTodoExtraction.d.ts +7 -1
  277. package/dist/editor/ai/agentTodoExtraction.js +33 -0
  278. package/dist/editor/ai/agentTodoExtraction.js.map +1 -1
  279. package/dist/editor/ai/agentWatchdogStatusRegistry.d.ts +1 -0
  280. package/dist/editor/ai/agentWatchdogStatusRegistry.js.map +1 -1
  281. package/dist/editor/ai/dialogs/AgentDialogHandler.js +99 -13
  282. package/dist/editor/ai/dialogs/AgentDialogHandler.js.map +1 -1
  283. package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js +13 -12
  284. package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js.map +1 -1
  285. package/dist/editor/ai/dialogs/QuestionnaireInline.js +58 -84
  286. package/dist/editor/ai/dialogs/QuestionnaireInline.js.map +1 -1
  287. package/dist/editor/ai/dialogs/agentDialogTypes.d.ts +18 -0
  288. package/dist/editor/ai/dialogs/agentDialogTypes.js +5 -0
  289. package/dist/editor/ai/dialogs/agentDialogTypes.js.map +1 -1
  290. package/dist/editor/ai/dialogs/browserBoundCapture.d.ts +6 -9
  291. package/dist/editor/ai/dialogs/browserBoundCapture.js +18 -27
  292. package/dist/editor/ai/dialogs/browserBoundCapture.js.map +1 -1
  293. package/dist/editor/ai/dialogs/capturePageDom.js +50 -35
  294. package/dist/editor/ai/dialogs/capturePageDom.js.map +1 -1
  295. package/dist/editor/ai/dialogs/capturePageScreenshot.d.ts +27 -1
  296. package/dist/editor/ai/dialogs/capturePageScreenshot.js +270 -159
  297. package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
  298. package/dist/editor/ai/dialogs/captureShared.d.ts +10 -0
  299. package/dist/editor/ai/dialogs/captureShared.js +39 -0
  300. package/dist/editor/ai/dialogs/captureShared.js.map +1 -0
  301. package/dist/editor/ai/dialogs/offscreenPageCapture.d.ts +44 -0
  302. package/dist/editor/ai/dialogs/offscreenPageCapture.js +300 -0
  303. package/dist/editor/ai/dialogs/offscreenPageCapture.js.map +1 -0
  304. package/dist/editor/ai/inlineAiTextEditLabels.d.ts +2 -0
  305. package/dist/editor/ai/inlineAiTextEditLabels.js +8 -0
  306. package/dist/editor/ai/inlineAiTextEditLabels.js.map +1 -0
  307. package/dist/editor/ai/prepareInlineAiTextSelection.d.ts +5 -0
  308. package/dist/editor/ai/prepareInlineAiTextSelection.js +86 -0
  309. package/dist/editor/ai/prepareInlineAiTextSelection.js.map +1 -0
  310. package/dist/editor/ai/terminal/agentContextMerge.d.ts +14 -0
  311. package/dist/editor/ai/terminal/agentContextMerge.js +111 -0
  312. package/dist/editor/ai/terminal/agentContextMerge.js.map +1 -0
  313. package/dist/editor/ai/terminal/agentOptimisticMessage.d.ts +1 -0
  314. package/dist/editor/ai/terminal/agentOptimisticMessage.js +4 -0
  315. package/dist/editor/ai/terminal/agentOptimisticMessage.js.map +1 -0
  316. package/dist/editor/ai/terminal/agentPromptPlaceholders.d.ts +5 -0
  317. package/dist/editor/ai/terminal/agentPromptPlaceholders.js +8 -0
  318. package/dist/editor/ai/terminal/agentPromptPlaceholders.js.map +1 -0
  319. package/dist/editor/ai/terminal/agentQuestionnaireRecap.d.ts +82 -0
  320. package/dist/editor/ai/terminal/agentQuestionnaireRecap.js +277 -0
  321. package/dist/editor/ai/terminal/agentQuestionnaireRecap.js.map +1 -0
  322. package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.d.ts +13 -0
  323. package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js +87 -0
  324. package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js.map +1 -0
  325. package/dist/editor/ai/terminal/agentSessionCostLimit.d.ts +7 -0
  326. package/dist/editor/ai/terminal/agentSessionCostLimit.js +27 -0
  327. package/dist/editor/ai/terminal/agentSessionCostLimit.js.map +1 -0
  328. package/dist/editor/ai/terminal/agentSessionLiveTotals.d.ts +11 -0
  329. package/dist/editor/ai/terminal/agentSessionLiveTotals.js +127 -0
  330. package/dist/editor/ai/terminal/agentSessionLiveTotals.js.map +1 -0
  331. package/dist/editor/ai/terminal/agentSessionMetadata.d.ts +2 -0
  332. package/dist/editor/ai/terminal/agentSessionMetadata.js +24 -0
  333. package/dist/editor/ai/terminal/agentSessionMetadata.js.map +1 -0
  334. package/dist/editor/ai/terminal/agentSessionSelectors.d.ts +65 -0
  335. package/dist/editor/ai/terminal/agentSessionSelectors.js +232 -0
  336. package/dist/editor/ai/terminal/agentSessionSelectors.js.map +1 -0
  337. package/dist/editor/ai/terminal/agentSessionSnapshot.d.ts +16 -0
  338. package/dist/editor/ai/terminal/agentSessionSnapshot.js +77 -0
  339. package/dist/editor/ai/terminal/agentSessionSnapshot.js.map +1 -0
  340. package/dist/editor/ai/terminal/agentSessionState.d.ts +162 -0
  341. package/dist/editor/ai/terminal/agentSessionState.js +830 -0
  342. package/dist/editor/ai/terminal/agentSessionState.js.map +1 -0
  343. package/dist/editor/ai/terminal/agentStartRequest.d.ts +15 -0
  344. package/dist/editor/ai/terminal/agentStartRequest.js +25 -0
  345. package/dist/editor/ai/terminal/agentStartRequest.js.map +1 -0
  346. package/dist/editor/ai/terminal/agentSubmitErrors.d.ts +1 -0
  347. package/dist/editor/ai/terminal/agentSubmitErrors.js +9 -0
  348. package/dist/editor/ai/terminal/agentSubmitErrors.js.map +1 -0
  349. package/dist/editor/ai/terminal/components/ActivitySummaryCell.d.ts +21 -0
  350. package/dist/editor/ai/terminal/components/ActivitySummaryCell.js +133 -0
  351. package/dist/editor/ai/terminal/components/ActivitySummaryCell.js.map +1 -0
  352. package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.d.ts +7 -0
  353. package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js +145 -0
  354. package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js.map +1 -0
  355. package/dist/editor/ai/terminal/components/AgentBanners.js +16 -0
  356. package/dist/editor/ai/terminal/components/AgentBanners.js.map +1 -0
  357. package/dist/editor/ai/terminal/components/AgentContextItemPicker.d.ts +11 -0
  358. package/dist/editor/ai/terminal/components/AgentContextItemPicker.js +81 -0
  359. package/dist/editor/ai/terminal/components/AgentContextItemPicker.js.map +1 -0
  360. package/dist/editor/ai/terminal/components/AgentCostDisplay.js +116 -0
  361. package/dist/editor/ai/terminal/components/AgentCostDisplay.js.map +1 -0
  362. package/dist/editor/ai/terminal/components/AgentDocumentList.d.ts +32 -0
  363. package/dist/editor/ai/terminal/components/AgentDocumentList.js +404 -0
  364. package/dist/editor/ai/terminal/components/AgentDocumentList.js.map +1 -0
  365. package/dist/editor/ai/terminal/components/AgentEditHistoryButton.d.ts +5 -0
  366. package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js +12 -0
  367. package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js.map +1 -0
  368. package/dist/editor/ai/terminal/components/AgentFullPromptControls.d.ts +39 -0
  369. package/dist/editor/ai/terminal/components/AgentFullPromptControls.js +42 -0
  370. package/dist/editor/ai/terminal/components/AgentFullPromptControls.js.map +1 -0
  371. package/dist/editor/ai/terminal/components/AgentGreeting.d.ts +8 -0
  372. package/dist/editor/ai/terminal/components/AgentGreeting.js +14 -0
  373. package/dist/editor/ai/terminal/components/AgentGreeting.js.map +1 -0
  374. package/dist/editor/ai/terminal/components/AgentLoadingContent.d.ts +1 -0
  375. package/dist/editor/ai/terminal/components/AgentLoadingContent.js +6 -0
  376. package/dist/editor/ai/terminal/components/AgentLoadingContent.js.map +1 -0
  377. package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.d.ts +7 -0
  378. package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js +8 -0
  379. package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js.map +1 -0
  380. package/dist/editor/ai/terminal/components/AgentModeSelector.d.ts +8 -0
  381. package/dist/editor/ai/terminal/components/AgentModeSelector.js +90 -0
  382. package/dist/editor/ai/terminal/components/AgentModeSelector.js.map +1 -0
  383. package/dist/editor/ai/terminal/components/AgentParentLink.d.ts +6 -0
  384. package/dist/editor/ai/terminal/components/AgentParentLink.js +9 -0
  385. package/dist/editor/ai/terminal/components/AgentParentLink.js.map +1 -0
  386. package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.d.ts +8 -0
  387. package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js +10 -0
  388. package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js.map +1 -0
  389. package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.d.ts +16 -0
  390. package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js +15 -0
  391. package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js.map +1 -0
  392. package/dist/editor/ai/terminal/components/AgentProjectProgress.d.ts +12 -0
  393. package/dist/editor/ai/terminal/components/AgentProjectProgress.js +207 -0
  394. package/dist/editor/ai/terminal/components/AgentProjectProgress.js.map +1 -0
  395. package/dist/editor/ai/terminal/components/AgentPromptActionButtons.d.ts +14 -0
  396. package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js +17 -0
  397. package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js.map +1 -0
  398. package/dist/editor/ai/terminal/components/AgentPromptComposer.d.ts +8 -0
  399. package/dist/editor/ai/terminal/components/AgentPromptComposer.js +10 -0
  400. package/dist/editor/ai/terminal/components/AgentPromptComposer.js.map +1 -0
  401. package/dist/editor/ai/terminal/components/AgentPromptInputArea.d.ts +39 -0
  402. package/dist/editor/ai/terminal/components/AgentPromptInputArea.js +27 -0
  403. package/dist/editor/ai/terminal/components/AgentPromptInputArea.js.map +1 -0
  404. package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.d.ts +18 -0
  405. package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +106 -0
  406. package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +1 -0
  407. package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.d.ts +5 -0
  408. package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js +7 -0
  409. package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js.map +1 -0
  410. package/dist/editor/ai/terminal/components/AgentRunStatusBanners.d.ts +8 -0
  411. package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js +32 -0
  412. package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js.map +1 -0
  413. package/dist/editor/ai/terminal/components/AgentSettingsContent.d.ts +53 -0
  414. package/dist/editor/ai/terminal/components/AgentSettingsContent.js +9 -0
  415. package/dist/editor/ai/terminal/components/AgentSettingsContent.js.map +1 -0
  416. package/dist/editor/ai/terminal/components/AgentSettingsPopover.d.ts +7 -0
  417. package/dist/editor/ai/terminal/components/AgentSettingsPopover.js +14 -0
  418. package/dist/editor/ai/terminal/components/AgentSettingsPopover.js.map +1 -0
  419. package/dist/editor/ai/terminal/components/AgentSettingsSections.d.ts +43 -0
  420. package/dist/editor/ai/terminal/components/AgentSettingsSections.js +33 -0
  421. package/dist/editor/ai/terminal/components/AgentSettingsSections.js.map +1 -0
  422. package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.d.ts +21 -0
  423. package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js +48 -0
  424. package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js.map +1 -0
  425. package/dist/editor/ai/terminal/components/AgentSuggestionBanner.d.ts +16 -0
  426. package/dist/editor/ai/terminal/components/AgentSuggestionBanner.js +41 -0
  427. package/dist/editor/ai/terminal/components/AgentSuggestionBanner.js.map +1 -0
  428. package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.d.ts +26 -0
  429. package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js +10 -0
  430. package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js.map +1 -0
  431. package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.d.ts +6 -0
  432. package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js +10 -0
  433. package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js.map +1 -0
  434. package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.d.ts +10 -0
  435. package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js +13 -0
  436. package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js.map +1 -0
  437. package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.d.ts +12 -0
  438. package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js +21 -0
  439. package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js.map +1 -0
  440. package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.d.ts +24 -0
  441. package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js +13 -0
  442. package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js.map +1 -0
  443. package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.d.ts +23 -0
  444. package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js +66 -0
  445. package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js.map +1 -0
  446. package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.d.ts +13 -0
  447. package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js +10 -0
  448. package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js.map +1 -0
  449. package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.d.ts +24 -0
  450. package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js +24 -0
  451. package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js.map +1 -0
  452. package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.d.ts +5 -0
  453. package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js +7 -0
  454. package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js.map +1 -0
  455. package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.d.ts +62 -0
  456. package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js +98 -0
  457. package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js.map +1 -0
  458. package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.d.ts +18 -0
  459. package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js +44 -0
  460. package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js.map +1 -0
  461. package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.d.ts +81 -0
  462. package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js +910 -0
  463. package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js.map +1 -0
  464. package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.d.ts +42 -0
  465. package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js +18 -0
  466. package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js.map +1 -0
  467. package/dist/editor/ai/terminal/components/AgentTerminalView.d.ts +18 -0
  468. package/dist/editor/ai/terminal/components/AgentTerminalView.js +42 -0
  469. package/dist/editor/ai/terminal/components/AgentTerminalView.js.map +1 -0
  470. package/dist/editor/ai/terminal/components/AgentThinkingDots.d.ts +5 -0
  471. package/dist/editor/ai/terminal/components/AgentThinkingDots.js +9 -0
  472. package/dist/editor/ai/terminal/components/AgentThinkingDots.js.map +1 -0
  473. package/dist/editor/ai/terminal/components/AiResponseMessage.d.ts +25 -0
  474. package/dist/editor/ai/terminal/components/AiResponseMessage.js +1557 -0
  475. package/dist/editor/ai/terminal/components/AiResponseMessage.js.map +1 -0
  476. package/dist/editor/ai/terminal/components/ContextInfoBar.d.ts +17 -0
  477. package/dist/editor/ai/terminal/components/ContextInfoBar.js +588 -0
  478. package/dist/editor/ai/terminal/components/ContextInfoBar.js.map +1 -0
  479. package/dist/editor/ai/terminal/components/EditOperationsPanel.d.ts +9 -0
  480. package/dist/editor/ai/terminal/components/EditOperationsPanel.js +102 -0
  481. package/dist/editor/ai/terminal/components/EditOperationsPanel.js.map +1 -0
  482. package/dist/editor/ai/terminal/components/HeartbeatMessage.d.ts +4 -0
  483. package/dist/editor/ai/terminal/components/HeartbeatMessage.js +7 -0
  484. package/dist/editor/ai/terminal/components/HeartbeatMessage.js.map +1 -0
  485. package/dist/editor/ai/terminal/components/InitialThinkingSplash.d.ts +1 -0
  486. package/dist/editor/ai/terminal/components/InitialThinkingSplash.js +5 -0
  487. package/dist/editor/ai/terminal/components/InitialThinkingSplash.js.map +1 -0
  488. package/dist/editor/ai/terminal/components/QuestionnaireRecap.d.ts +9 -0
  489. package/dist/editor/ai/terminal/components/QuestionnaireRecap.js +56 -0
  490. package/dist/editor/ai/terminal/components/QuestionnaireRecap.js.map +1 -0
  491. package/dist/editor/ai/terminal/components/QueuedPromptsPanel.d.ts +8 -0
  492. package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js +49 -0
  493. package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js.map +1 -0
  494. package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.d.ts +7 -0
  495. package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js +105 -0
  496. package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js.map +1 -0
  497. package/dist/editor/ai/terminal/components/TodoListPanel.d.ts +6 -0
  498. package/dist/editor/ai/terminal/components/TodoListPanel.js +117 -0
  499. package/dist/editor/ai/terminal/components/TodoListPanel.js.map +1 -0
  500. package/dist/editor/ai/terminal/components/ToolCallDisplay.d.ts +83 -0
  501. package/dist/editor/ai/terminal/components/ToolCallDisplay.js +784 -0
  502. package/dist/editor/ai/terminal/components/ToolCallDisplay.js.map +1 -0
  503. package/dist/editor/ai/terminal/components/UserMessage.d.ts +6 -0
  504. package/dist/editor/ai/terminal/components/UserMessage.js +243 -0
  505. package/dist/editor/ai/terminal/components/UserMessage.js.map +1 -0
  506. package/dist/editor/ai/terminal/components/toolCallApprovalGate.d.ts +21 -0
  507. package/dist/editor/ai/terminal/components/toolCallApprovalGate.js +32 -0
  508. package/dist/editor/ai/terminal/components/toolCallApprovalGate.js.map +1 -0
  509. package/dist/editor/ai/terminal/contextBreakdown.d.ts +17 -0
  510. package/dist/editor/ai/terminal/contextBreakdown.js +58 -0
  511. package/dist/editor/ai/terminal/contextBreakdown.js.map +1 -0
  512. package/dist/editor/ai/terminal/types.d.ts +136 -0
  513. package/dist/editor/ai/terminal/types.js +2 -0
  514. package/dist/editor/ai/terminal/types.js.map +1 -0
  515. package/dist/editor/ai/terminal/useAgentActiveStreaming.d.ts +6 -0
  516. package/dist/editor/ai/terminal/useAgentActiveStreaming.js +9 -0
  517. package/dist/editor/ai/terminal/useAgentActiveStreaming.js.map +1 -0
  518. package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.d.ts +5 -0
  519. package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js +19 -0
  520. package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js.map +1 -0
  521. package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.d.ts +29 -0
  522. package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js +68 -0
  523. package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js.map +1 -0
  524. package/dist/editor/ai/terminal/useAgentContentChunkHandler.d.ts +15 -0
  525. package/dist/editor/ai/terminal/useAgentContentChunkHandler.js +96 -0
  526. package/dist/editor/ai/terminal/useAgentContentChunkHandler.js.map +1 -0
  527. package/dist/editor/ai/terminal/useAgentContextDisplayNames.d.ts +9 -0
  528. package/dist/editor/ai/terminal/useAgentContextDisplayNames.js +98 -0
  529. package/dist/editor/ai/terminal/useAgentContextDisplayNames.js.map +1 -0
  530. package/dist/editor/ai/terminal/useAgentContextUpdateHandler.d.ts +7 -0
  531. package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js +29 -0
  532. package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js.map +1 -0
  533. package/dist/editor/ai/terminal/useAgentCostLimitActions.d.ts +15 -0
  534. package/dist/editor/ai/terminal/useAgentCostLimitActions.js +41 -0
  535. package/dist/editor/ai/terminal/useAgentCostLimitActions.js.map +1 -0
  536. package/dist/editor/ai/terminal/useAgentCostLimitWatcher.d.ts +11 -0
  537. package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js +58 -0
  538. package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js.map +1 -0
  539. package/dist/editor/ai/terminal/useAgentDraftInitializer.d.ts +25 -0
  540. package/dist/editor/ai/terminal/useAgentDraftInitializer.js +121 -0
  541. package/dist/editor/ai/terminal/useAgentDraftInitializer.js.map +1 -0
  542. package/dist/editor/ai/terminal/useAgentEditorContext.d.ts +12 -0
  543. package/dist/editor/ai/terminal/useAgentEditorContext.js +166 -0
  544. package/dist/editor/ai/terminal/useAgentEditorContext.js.map +1 -0
  545. package/dist/editor/ai/terminal/useAgentEditorContextPipeline.d.ts +19 -0
  546. package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js +16 -0
  547. package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js.map +1 -0
  548. package/dist/editor/ai/terminal/useAgentEffectiveModelName.d.ts +7 -0
  549. package/dist/editor/ai/terminal/useAgentEffectiveModelName.js +10 -0
  550. package/dist/editor/ai/terminal/useAgentEffectiveModelName.js.map +1 -0
  551. package/dist/editor/ai/terminal/useAgentHeartbeatMessages.d.ts +16 -0
  552. package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js +55 -0
  553. package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js.map +1 -0
  554. package/dist/editor/ai/terminal/useAgentInfoSocketHandler.d.ts +12 -0
  555. package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js +55 -0
  556. package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js.map +1 -0
  557. package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.d.ts +6 -0
  558. package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js +18 -0
  559. package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js.map +1 -0
  560. package/dist/editor/ai/terminal/useAgentInitialPrompt.d.ts +16 -0
  561. package/dist/editor/ai/terminal/useAgentInitialPrompt.js +51 -0
  562. package/dist/editor/ai/terminal/useAgentInitialPrompt.js.map +1 -0
  563. package/dist/editor/ai/terminal/useAgentInlineDialogEvents.d.ts +23 -0
  564. package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js +196 -0
  565. package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js.map +1 -0
  566. package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.d.ts +23 -0
  567. package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js +28 -0
  568. package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js.map +1 -0
  569. package/dist/editor/ai/terminal/useAgentInlineDialogState.d.ts +22 -0
  570. package/dist/editor/ai/terminal/useAgentInlineDialogState.js +78 -0
  571. package/dist/editor/ai/terminal/useAgentInlineDialogState.js.map +1 -0
  572. package/dist/editor/ai/terminal/useAgentLoadErrorHandler.d.ts +14 -0
  573. package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js +26 -0
  574. package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js.map +1 -0
  575. package/dist/editor/ai/terminal/useAgentLoadLifecycle.d.ts +7 -0
  576. package/dist/editor/ai/terminal/useAgentLoadLifecycle.js +21 -0
  577. package/dist/editor/ai/terminal/useAgentLoadLifecycle.js.map +1 -0
  578. package/dist/editor/ai/terminal/useAgentLoadPipeline.d.ts +40 -0
  579. package/dist/editor/ai/terminal/useAgentLoadPipeline.js +75 -0
  580. package/dist/editor/ai/terminal/useAgentLoadPipeline.js.map +1 -0
  581. package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.d.ts +13 -0
  582. package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js +31 -0
  583. package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js.map +1 -0
  584. package/dist/editor/ai/terminal/useAgentLoader.d.ts +27 -0
  585. package/dist/editor/ai/terminal/useAgentLoader.js +80 -0
  586. package/dist/editor/ai/terminal/useAgentLoader.js.map +1 -0
  587. package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.d.ts +6 -0
  588. package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js +23 -0
  589. package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js.map +1 -0
  590. package/dist/editor/ai/terminal/useAgentModeState.d.ts +13 -0
  591. package/dist/editor/ai/terminal/useAgentModeState.js +52 -0
  592. package/dist/editor/ai/terminal/useAgentModeState.js.map +1 -0
  593. package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.d.ts +8 -0
  594. package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js +26 -0
  595. package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js.map +1 -0
  596. package/dist/editor/ai/terminal/useAgentOperationSocketHandler.d.ts +6 -0
  597. package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js +19 -0
  598. package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js.map +1 -0
  599. package/dist/editor/ai/terminal/useAgentPendingApprovals.d.ts +6 -0
  600. package/dist/editor/ai/terminal/useAgentPendingApprovals.js +35 -0
  601. package/dist/editor/ai/terminal/useAgentPendingApprovals.js.map +1 -0
  602. package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.d.ts +18 -0
  603. package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js +140 -0
  604. package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js.map +1 -0
  605. package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.d.ts +19 -0
  606. package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js +60 -0
  607. package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js.map +1 -0
  608. package/dist/editor/ai/terminal/useAgentProfileSelection.d.ts +17 -0
  609. package/dist/editor/ai/terminal/useAgentProfileSelection.js +61 -0
  610. package/dist/editor/ai/terminal/useAgentProfileSelection.js.map +1 -0
  611. package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.d.ts +37 -0
  612. package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js +206 -0
  613. package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js.map +1 -0
  614. package/dist/editor/ai/terminal/useAgentPromptComposerProps.d.ts +26 -0
  615. package/dist/editor/ai/terminal/useAgentPromptComposerProps.js +51 -0
  616. package/dist/editor/ai/terminal/useAgentPromptComposerProps.js.map +1 -0
  617. package/dist/editor/ai/terminal/useAgentPromptComposerSurface.d.ts +27 -0
  618. package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js +29 -0
  619. package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js.map +1 -0
  620. package/dist/editor/ai/terminal/useAgentPromptDraft.d.ts +11 -0
  621. package/dist/editor/ai/terminal/useAgentPromptDraft.js +39 -0
  622. package/dist/editor/ai/terminal/useAgentPromptDraft.js.map +1 -0
  623. package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.d.ts +6 -0
  624. package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js +22 -0
  625. package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js.map +1 -0
  626. package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.d.ts +12 -0
  627. package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js +61 -0
  628. package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js.map +1 -0
  629. package/dist/editor/ai/terminal/useAgentQueuedPromptReset.d.ts +5 -0
  630. package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js +10 -0
  631. package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js.map +1 -0
  632. package/dist/editor/ai/terminal/useAgentQuickActions.d.ts +15 -0
  633. package/dist/editor/ai/terminal/useAgentQuickActions.js +109 -0
  634. package/dist/editor/ai/terminal/useAgentQuickActions.js.map +1 -0
  635. package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.d.ts +22 -0
  636. package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js +67 -0
  637. package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js.map +1 -0
  638. package/dist/editor/ai/terminal/useAgentRunDeltaRouter.d.ts +18 -0
  639. package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js +53 -0
  640. package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js.map +1 -0
  641. package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.d.ts +24 -0
  642. package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js +66 -0
  643. package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js.map +1 -0
  644. package/dist/editor/ai/terminal/useAgentRunDiagnostics.d.ts +22 -0
  645. package/dist/editor/ai/terminal/useAgentRunDiagnostics.js +70 -0
  646. package/dist/editor/ai/terminal/useAgentRunDiagnostics.js.map +1 -0
  647. package/dist/editor/ai/terminal/useAgentRunMessagePipeline.d.ts +42 -0
  648. package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js +39 -0
  649. package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js.map +1 -0
  650. package/dist/editor/ai/terminal/useAgentRunRefs.d.ts +17 -0
  651. package/dist/editor/ai/terminal/useAgentRunRefs.js +44 -0
  652. package/dist/editor/ai/terminal/useAgentRunRefs.js.map +1 -0
  653. package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.d.ts +15 -0
  654. package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js +118 -0
  655. package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js.map +1 -0
  656. package/dist/editor/ai/terminal/useAgentRunSequenceGuard.d.ts +11 -0
  657. package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js +22 -0
  658. package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js.map +1 -0
  659. package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.d.ts +25 -0
  660. package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js +74 -0
  661. package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js.map +1 -0
  662. package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.d.ts +36 -0
  663. package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js +360 -0
  664. package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js.map +1 -0
  665. package/dist/editor/ai/terminal/useAgentRuntimeStatus.d.ts +11 -0
  666. package/dist/editor/ai/terminal/useAgentRuntimeStatus.js +9 -0
  667. package/dist/editor/ai/terminal/useAgentRuntimeStatus.js.map +1 -0
  668. package/dist/editor/ai/terminal/useAgentServerReconciler.d.ts +5 -0
  669. package/dist/editor/ai/terminal/useAgentServerReconciler.js +22 -0
  670. package/dist/editor/ai/terminal/useAgentServerReconciler.js.map +1 -0
  671. package/dist/editor/ai/terminal/useAgentSession.d.ts +50 -0
  672. package/dist/editor/ai/terminal/useAgentSession.js +181 -0
  673. package/dist/editor/ai/terminal/useAgentSession.js.map +1 -0
  674. package/dist/editor/ai/terminal/useAgentSessionCommandBindings.d.ts +13 -0
  675. package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js +26 -0
  676. package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js.map +1 -0
  677. package/dist/editor/ai/terminal/useAgentSessionErrorBridge.d.ts +10 -0
  678. package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js +14 -0
  679. package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js.map +1 -0
  680. package/dist/editor/ai/terminal/useAgentSessionFacade.d.ts +49 -0
  681. package/dist/editor/ai/terminal/useAgentSessionFacade.js +127 -0
  682. package/dist/editor/ai/terminal/useAgentSessionFacade.js.map +1 -0
  683. package/dist/editor/ai/terminal/useAgentSessionSocketSource.d.ts +8 -0
  684. package/dist/editor/ai/terminal/useAgentSessionSocketSource.js +17 -0
  685. package/dist/editor/ai/terminal/useAgentSessionSocketSource.js.map +1 -0
  686. package/dist/editor/ai/terminal/useAgentSessionSync.d.ts +102 -0
  687. package/dist/editor/ai/terminal/useAgentSessionSync.js +179 -0
  688. package/dist/editor/ai/terminal/useAgentSessionSync.js.map +1 -0
  689. package/dist/editor/ai/terminal/useAgentSettingsCommands.d.ts +49 -0
  690. package/dist/editor/ai/terminal/useAgentSettingsCommands.js +210 -0
  691. package/dist/editor/ai/terminal/useAgentSettingsCommands.js.map +1 -0
  692. package/dist/editor/ai/terminal/useAgentSettingsData.d.ts +46 -0
  693. package/dist/editor/ai/terminal/useAgentSettingsData.js +380 -0
  694. package/dist/editor/ai/terminal/useAgentSettingsData.js.map +1 -0
  695. package/dist/editor/ai/terminal/useAgentSettingsNavigation.d.ts +10 -0
  696. package/dist/editor/ai/terminal/useAgentSettingsNavigation.js +33 -0
  697. package/dist/editor/ai/terminal/useAgentSettingsNavigation.js.map +1 -0
  698. package/dist/editor/ai/terminal/useAgentSettingsPanel.d.ts +87 -0
  699. package/dist/editor/ai/terminal/useAgentSettingsPanel.js +92 -0
  700. package/dist/editor/ai/terminal/useAgentSettingsPanel.js.map +1 -0
  701. package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.d.ts +15 -0
  702. package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js +45 -0
  703. package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js.map +1 -0
  704. package/dist/editor/ai/terminal/useAgentSettleCompletedRun.d.ts +35 -0
  705. package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js +51 -0
  706. package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js.map +1 -0
  707. package/dist/editor/ai/terminal/useAgentSkillActions.d.ts +33 -0
  708. package/dist/editor/ai/terminal/useAgentSkillActions.js +210 -0
  709. package/dist/editor/ai/terminal/useAgentSkillActions.js.map +1 -0
  710. package/dist/editor/ai/terminal/useAgentSocketMessageRouter.d.ts +16 -0
  711. package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js +57 -0
  712. package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js.map +1 -0
  713. package/dist/editor/ai/terminal/useAgentStatusBarContent.d.ts +36 -0
  714. package/dist/editor/ai/terminal/useAgentStatusBarContent.js +70 -0
  715. package/dist/editor/ai/terminal/useAgentStatusBarContent.js.map +1 -0
  716. package/dist/editor/ai/terminal/useAgentStopCommand.d.ts +28 -0
  717. package/dist/editor/ai/terminal/useAgentStopCommand.js +55 -0
  718. package/dist/editor/ai/terminal/useAgentStopCommand.js.map +1 -0
  719. package/dist/editor/ai/terminal/useAgentStopGuardState.d.ts +7 -0
  720. package/dist/editor/ai/terminal/useAgentStopGuardState.js +40 -0
  721. package/dist/editor/ai/terminal/useAgentStopGuardState.js.map +1 -0
  722. package/dist/editor/ai/terminal/useAgentStreamMessageFactory.d.ts +5 -0
  723. package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js +31 -0
  724. package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js.map +1 -0
  725. package/dist/editor/ai/terminal/useAgentStreamPipeline.d.ts +66 -0
  726. package/dist/editor/ai/terminal/useAgentStreamPipeline.js +169 -0
  727. package/dist/editor/ai/terminal/useAgentStreamPipeline.js.map +1 -0
  728. package/dist/editor/ai/terminal/useAgentStreamSubscription.d.ts +27 -0
  729. package/dist/editor/ai/terminal/useAgentStreamSubscription.js +70 -0
  730. package/dist/editor/ai/terminal/useAgentStreamSubscription.js.map +1 -0
  731. package/dist/editor/ai/terminal/useAgentStreamWatchdog.d.ts +38 -0
  732. package/dist/editor/ai/terminal/useAgentStreamWatchdog.js +228 -0
  733. package/dist/editor/ai/terminal/useAgentStreamWatchdog.js.map +1 -0
  734. package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.d.ts +14 -0
  735. package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js +85 -0
  736. package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js.map +1 -0
  737. package/dist/editor/ai/terminal/useAgentSubmitHandlers.d.ts +57 -0
  738. package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +402 -0
  739. package/dist/editor/ai/terminal/useAgentSubmitHandlers.js.map +1 -0
  740. package/dist/editor/ai/terminal/useAgentSubmitLifecycle.d.ts +31 -0
  741. package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js +45 -0
  742. package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js.map +1 -0
  743. package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.d.ts +20 -0
  744. package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js +57 -0
  745. package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js.map +1 -0
  746. package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.d.ts +25 -0
  747. package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.js +35 -0
  748. package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.js.map +1 -0
  749. package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.d.ts +5 -0
  750. package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js +32 -0
  751. package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js.map +1 -0
  752. package/dist/editor/ai/terminal/useAgentTerminalActions.d.ts +23 -0
  753. package/dist/editor/ai/terminal/useAgentTerminalActions.js +54 -0
  754. package/dist/editor/ai/terminal/useAgentTerminalActions.js.map +1 -0
  755. package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.d.ts +15 -0
  756. package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js +16 -0
  757. package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js.map +1 -0
  758. package/dist/editor/ai/terminal/useAgentTerminalChrome.d.ts +30 -0
  759. package/dist/editor/ai/terminal/useAgentTerminalChrome.js +12 -0
  760. package/dist/editor/ai/terminal/useAgentTerminalChrome.js.map +1 -0
  761. package/dist/editor/ai/terminal/useAgentTerminalController.d.ts +2 -0
  762. package/dist/editor/ai/terminal/useAgentTerminalController.js +900 -0
  763. package/dist/editor/ai/terminal/useAgentTerminalController.js.map +1 -0
  764. package/dist/editor/ai/terminal/useAgentTerminalControls.d.ts +19 -0
  765. package/dist/editor/ai/terminal/useAgentTerminalControls.js +21 -0
  766. package/dist/editor/ai/terminal/useAgentTerminalControls.js.map +1 -0
  767. package/dist/editor/ai/terminal/useAgentTerminalElementRefs.d.ts +14 -0
  768. package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js +17 -0
  769. package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js.map +1 -0
  770. package/dist/editor/ai/terminal/useAgentTerminalNotices.d.ts +10 -0
  771. package/dist/editor/ai/terminal/useAgentTerminalNotices.js +11 -0
  772. package/dist/editor/ai/terminal/useAgentTerminalNotices.js.map +1 -0
  773. package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.d.ts +7 -0
  774. package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js +29 -0
  775. package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js.map +1 -0
  776. package/dist/editor/ai/terminal/useAgentTerminalScroll.d.ts +15 -0
  777. package/dist/editor/ai/terminal/useAgentTerminalScroll.js +63 -0
  778. package/dist/editor/ai/terminal/useAgentTerminalScroll.js.map +1 -0
  779. package/dist/editor/ai/terminal/useAgentTerminalUiState.d.ts +27 -0
  780. package/dist/editor/ai/terminal/useAgentTerminalUiState.js +43 -0
  781. package/dist/editor/ai/terminal/useAgentTerminalUiState.js.map +1 -0
  782. package/dist/editor/ai/terminal/useAgentTerminalViewProps.d.ts +19 -0
  783. package/dist/editor/ai/terminal/useAgentTerminalViewProps.js +22 -0
  784. package/dist/editor/ai/terminal/useAgentTerminalViewProps.js.map +1 -0
  785. package/dist/editor/ai/terminal/useAgentTerminalViewState.d.ts +32 -0
  786. package/dist/editor/ai/terminal/useAgentTerminalViewState.js +44 -0
  787. package/dist/editor/ai/terminal/useAgentTerminalViewState.js.map +1 -0
  788. package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.d.ts +25 -0
  789. package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js +187 -0
  790. package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js.map +1 -0
  791. package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.d.ts +14 -0
  792. package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js +65 -0
  793. package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js.map +1 -0
  794. package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.d.ts +8 -0
  795. package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js +53 -0
  796. package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js.map +1 -0
  797. package/dist/editor/ai/terminal/useAgentToolCallHandler.d.ts +12 -0
  798. package/dist/editor/ai/terminal/useAgentToolCallHandler.js +84 -0
  799. package/dist/editor/ai/terminal/useAgentToolCallHandler.js.map +1 -0
  800. package/dist/editor/ai/terminal/useAgentToolResultHandler.d.ts +18 -0
  801. package/dist/editor/ai/terminal/useAgentToolResultHandler.js +127 -0
  802. package/dist/editor/ai/terminal/useAgentToolResultHandler.js.map +1 -0
  803. package/dist/editor/ai/terminal/useAgentToolUiEvents.d.ts +5 -0
  804. package/dist/editor/ai/terminal/useAgentToolUiEvents.js +24 -0
  805. package/dist/editor/ai/terminal/useAgentToolUiEvents.js.map +1 -0
  806. package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.d.ts +9 -0
  807. package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js +44 -0
  808. package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js.map +1 -0
  809. package/dist/editor/ai/terminal/useAgentVoiceInput.d.ts +16 -0
  810. package/dist/editor/ai/terminal/useAgentVoiceInput.js +231 -0
  811. package/dist/editor/ai/terminal/useAgentVoiceInput.js.map +1 -0
  812. package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.d.ts +6 -0
  813. package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js +57 -0
  814. package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js.map +1 -0
  815. package/dist/editor/ai/types.d.ts +1 -1
  816. package/dist/editor/ai/useActiveAgentConversation.d.ts +5 -0
  817. package/dist/editor/ai/useActiveAgentConversation.js +52 -0
  818. package/dist/editor/ai/useActiveAgentConversation.js.map +1 -0
  819. package/dist/editor/ai/useAgentPanes.d.ts +1 -1
  820. package/dist/editor/ai/useAgentPanes.js +33 -5
  821. package/dist/editor/ai/useAgentPanes.js.map +1 -1
  822. package/dist/editor/ai/useAgentStatus.js +3 -1
  823. package/dist/editor/ai/useAgentStatus.js.map +1 -1
  824. package/dist/editor/ai/useInlineAiPosition.d.ts +10 -2
  825. package/dist/editor/ai/useInlineAiPosition.js +69 -86
  826. package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
  827. package/dist/editor/ai-image-editor/AiImageEditorDialog.js +137 -26
  828. package/dist/editor/ai-image-editor/AiImageEditorDialog.js.map +1 -1
  829. package/dist/editor/ai-image-editor/AiImageResultOverlay.js +32 -64
  830. package/dist/editor/ai-image-editor/AiImageResultOverlay.js.map +1 -1
  831. package/dist/editor/bridge/BridgeClient.d.ts +73 -0
  832. package/dist/editor/bridge/BridgeClient.js +415 -0
  833. package/dist/editor/bridge/BridgeClient.js.map +1 -0
  834. package/dist/editor/bridge/protocol.d.ts +564 -0
  835. package/dist/editor/bridge/protocol.js +200 -0
  836. package/dist/editor/bridge/protocol.js.map +1 -0
  837. package/dist/editor/client/AboutDialog.js +18 -6
  838. package/dist/editor/client/AboutDialog.js.map +1 -1
  839. package/dist/editor/client/EditorShell.d.ts +2 -5
  840. package/dist/editor/client/EditorShell.js +736 -253
  841. package/dist/editor/client/EditorShell.js.map +1 -1
  842. package/dist/editor/client/OperationDialogContent.js +3 -3
  843. package/dist/editor/client/OperationDialogContent.js.map +1 -1
  844. package/dist/editor/client/SessionExpiredOverlay.d.ts +1 -0
  845. package/dist/editor/client/SessionExpiredOverlay.js +25 -0
  846. package/dist/editor/client/SessionExpiredOverlay.js.map +1 -0
  847. package/dist/editor/client/editContext.d.ts +127 -13
  848. package/dist/editor/client/editContext.js +3 -7
  849. package/dist/editor/client/editContext.js.map +1 -1
  850. package/dist/editor/client/fieldModificationStore.d.ts +6 -2
  851. package/dist/editor/client/fieldModificationStore.js +38 -23
  852. package/dist/editor/client/fieldModificationStore.js.map +1 -1
  853. package/dist/editor/client/helpers.js +3 -3
  854. package/dist/editor/client/helpers.js.map +1 -1
  855. package/dist/editor/client/hooks/feedbackSocketState.d.ts +6 -0
  856. package/dist/editor/client/hooks/feedbackSocketState.js +16 -0
  857. package/dist/editor/client/hooks/feedbackSocketState.js.map +1 -0
  858. package/dist/editor/client/hooks/useEditorUrlSync.js +14 -1
  859. package/dist/editor/client/hooks/useEditorUrlSync.js.map +1 -1
  860. package/dist/editor/client/hooks/useEditorWebSocket.d.ts +3 -0
  861. package/dist/editor/client/hooks/useEditorWebSocket.js +224 -18
  862. package/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -1
  863. package/dist/editor/client/hooks/useMediaSelector.js.map +1 -1
  864. package/dist/editor/client/hooks/useReducedMotion.d.ts +8 -0
  865. package/dist/editor/client/hooks/useReducedMotion.js +12 -0
  866. package/dist/editor/client/hooks/useReducedMotion.js.map +1 -0
  867. package/dist/editor/client/hooks/useSocketMessageHandler.d.ts +4 -0
  868. package/dist/editor/client/hooks/useSocketMessageHandler.js +127 -86
  869. package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
  870. package/dist/editor/client/hooks/useWorkbox.d.ts +2 -0
  871. package/dist/editor/client/hooks/useWorkbox.js +76 -33
  872. package/dist/editor/client/hooks/useWorkbox.js.map +1 -1
  873. package/dist/editor/client/hooks/workboxDescriptors.d.ts +6 -0
  874. package/dist/editor/client/hooks/workboxDescriptors.js +49 -0
  875. package/dist/editor/client/hooks/workboxDescriptors.js.map +1 -0
  876. package/dist/editor/client/itemsRepository.d.ts +10 -5
  877. package/dist/editor/client/itemsRepository.js +48 -46
  878. package/dist/editor/client/itemsRepository.js.map +1 -1
  879. package/dist/editor/client/manualShowMeFocus.d.ts +17 -0
  880. package/dist/editor/client/manualShowMeFocus.js +32 -0
  881. package/dist/editor/client/manualShowMeFocus.js.map +1 -0
  882. package/dist/editor/client/operationToasts.d.ts +2 -0
  883. package/dist/editor/client/operationToasts.js +35 -0
  884. package/dist/editor/client/operationToasts.js.map +1 -0
  885. package/dist/editor/client/operations.d.ts +20 -5
  886. package/dist/editor/client/operations.js +407 -136
  887. package/dist/editor/client/operations.js.map +1 -1
  888. package/dist/editor/client/pageModelBuilder.d.ts +2 -0
  889. package/dist/editor/client/pageModelBuilder.js +89 -20
  890. package/dist/editor/client/pageModelBuilder.js.map +1 -1
  891. package/dist/editor/client/realtime/realtimeTransport.d.ts +56 -0
  892. package/dist/editor/client/realtime/realtimeTransport.js +197 -0
  893. package/dist/editor/client/realtime/realtimeTransport.js.map +1 -0
  894. package/dist/editor/client/ui/DevModeIndicator.js +1 -1
  895. package/dist/editor/client/ui/DevModeIndicator.js.map +1 -1
  896. package/dist/editor/client/ui/EditorChrome.js +11 -4
  897. package/dist/editor/client/ui/EditorChrome.js.map +1 -1
  898. package/dist/editor/client/ui/FullscreenControls.js +5 -5
  899. package/dist/editor/client/ui/FullscreenControls.js.map +1 -1
  900. package/dist/editor/client/waitForEditOperationTerminal.d.ts +1 -0
  901. package/dist/editor/client/waitForEditOperationTerminal.js +1 -1
  902. package/dist/editor/client/waitForEditOperationTerminal.js.map +1 -1
  903. package/dist/editor/commands/agentCommands.js +1 -1
  904. package/dist/editor/commands/agentCommands.js.map +1 -1
  905. package/dist/editor/commands/commands.js.map +1 -1
  906. package/dist/editor/commands/componentCommands.d.ts +13 -3
  907. package/dist/editor/commands/componentCommands.js +77 -7
  908. package/dist/editor/commands/componentCommands.js.map +1 -1
  909. package/dist/editor/commands/createVersionCommand.js +6 -2
  910. package/dist/editor/commands/createVersionCommand.js.map +1 -1
  911. package/dist/editor/commands/customCommandConverter.js +10 -8
  912. package/dist/editor/commands/customCommandConverter.js.map +1 -1
  913. package/dist/editor/commands/handlers/agentHandler.js.map +1 -1
  914. package/dist/editor/commands/handlers/uiActionHandlers.d.ts +1 -0
  915. package/dist/editor/commands/handlers/uiActionHandlers.js +30 -3
  916. package/dist/editor/commands/handlers/uiActionHandlers.js.map +1 -1
  917. package/dist/editor/commands/itemCommands.js +24 -27
  918. package/dist/editor/commands/itemCommands.js.map +1 -1
  919. package/dist/editor/commands/keyboardCommands.d.ts +6 -0
  920. package/dist/editor/commands/keyboardCommands.js +78 -2
  921. package/dist/editor/commands/keyboardCommands.js.map +1 -1
  922. package/dist/editor/commands/placeholderCommands.d.ts +17 -0
  923. package/dist/editor/commands/placeholderCommands.js +37 -0
  924. package/dist/editor/commands/placeholderCommands.js.map +1 -0
  925. package/dist/editor/commands/reorderComponent.d.ts +20 -0
  926. package/dist/editor/commands/reorderComponent.js +40 -0
  927. package/dist/editor/commands/reorderComponent.js.map +1 -0
  928. package/dist/editor/commands/templateBuilderCommands.js.map +1 -1
  929. package/dist/editor/commands/undo.js +10 -6
  930. package/dist/editor/commands/undo.js.map +1 -1
  931. package/dist/editor/componentFrameColors.d.ts +11 -0
  932. package/dist/editor/componentFrameColors.js +47 -0
  933. package/dist/editor/componentFrameColors.js.map +1 -0
  934. package/dist/editor/content-tree/IndicatorSettings.js +5 -4
  935. package/dist/editor/content-tree/IndicatorSettings.js.map +1 -1
  936. package/dist/editor/content-tree/TreeOptions.js +1 -1
  937. package/dist/editor/content-tree/TreeSettingsMenu.js +7 -3
  938. package/dist/editor/content-tree/TreeSettingsMenu.js.map +1 -1
  939. package/dist/editor/context-menu/InsertMenu.js +9 -9
  940. package/dist/editor/context-menu/InsertMenu.js.map +1 -1
  941. package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js +5 -0
  942. package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js.map +1 -1
  943. package/dist/editor/editor-warnings/ItemLocked.js +6 -3
  944. package/dist/editor/editor-warnings/ItemLocked.js.map +1 -1
  945. package/dist/editor/field-types/AttachmentEditor.js +42 -4
  946. package/dist/editor/field-types/AttachmentEditor.js.map +1 -1
  947. package/dist/editor/field-types/CheckboxEditor.js +3 -1
  948. package/dist/editor/field-types/CheckboxEditor.js.map +1 -1
  949. package/dist/editor/field-types/DateFieldEditor.js +1 -1
  950. package/dist/editor/field-types/DateFieldEditor.js.map +1 -1
  951. package/dist/editor/field-types/DateTimeFieldEditor.js +1 -1
  952. package/dist/editor/field-types/DateTimeFieldEditor.js.map +1 -1
  953. package/dist/editor/field-types/DropLinkEditor.js +31 -16
  954. package/dist/editor/field-types/DropLinkEditor.js.map +1 -1
  955. package/dist/editor/field-types/DropListEditor.js +1 -1
  956. package/dist/editor/field-types/DropListEditor.js.map +1 -1
  957. package/dist/editor/field-types/ImageFieldEditor.js +1 -1
  958. package/dist/editor/field-types/ImageFieldEditor.js.map +1 -1
  959. package/dist/editor/field-types/InternalLinkFieldEditor.js +18 -9
  960. package/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -1
  961. package/dist/editor/field-types/LinkFieldEditor.js +15 -3
  962. package/dist/editor/field-types/LinkFieldEditor.js.map +1 -1
  963. package/dist/editor/field-types/MultiLineText.js +35 -9
  964. package/dist/editor/field-types/MultiLineText.js.map +1 -1
  965. package/dist/editor/field-types/NameValueListEditor.js +7 -3
  966. package/dist/editor/field-types/NameValueListEditor.js.map +1 -1
  967. package/dist/editor/field-types/PictureFieldEditor.js +19 -13
  968. package/dist/editor/field-types/PictureFieldEditor.js.map +1 -1
  969. package/dist/editor/field-types/RawEditor.js +9 -2
  970. package/dist/editor/field-types/RawEditor.js.map +1 -1
  971. package/dist/editor/field-types/RichTextEditor.js +31 -10
  972. package/dist/editor/field-types/RichTextEditor.js.map +1 -1
  973. package/dist/editor/field-types/RichTextEditorComponent.js +194 -81
  974. package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -1
  975. package/dist/editor/field-types/SingleLineText.js +31 -5
  976. package/dist/editor/field-types/SingleLineText.js.map +1 -1
  977. package/dist/editor/field-types/TreeListEditor.js +72 -9
  978. package/dist/editor/field-types/TreeListEditor.js.map +1 -1
  979. package/dist/editor/field-types/richtext/bridgeRichTextProfile.d.ts +21 -0
  980. package/dist/editor/field-types/richtext/bridgeRichTextProfile.js +96 -0
  981. package/dist/editor/field-types/richtext/bridgeRichTextProfile.js.map +1 -0
  982. package/dist/editor/field-types/richtext/components/EditorDropdown.css +7 -6
  983. package/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +5 -5
  984. package/dist/editor/field-types/richtext/components/EditorDropdown.js +21 -20
  985. package/dist/editor/field-types/richtext/components/EditorDropdown.js.map +1 -1
  986. package/dist/editor/field-types/richtext/components/ReactSlate.css +108 -31
  987. package/dist/editor/field-types/richtext/components/ReactSlate.js +240 -50
  988. package/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -1
  989. package/dist/editor/field-types/richtext/components/SimpleDropdown.js +11 -6
  990. package/dist/editor/field-types/richtext/components/SimpleDropdown.js.map +1 -1
  991. package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.css +32 -16
  992. package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +26 -2
  993. package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +1 -1
  994. package/dist/editor/field-types/richtext/components/SimpleToolbar.js +5 -4
  995. package/dist/editor/field-types/richtext/components/SimpleToolbar.js.map +1 -1
  996. package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js +4 -2
  997. package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js.map +1 -1
  998. package/dist/editor/field-types/richtext/components/ToolbarButton.js +3 -3
  999. package/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -1
  1000. package/dist/editor/field-types/richtext/config/pluginFactory.d.ts +1 -1
  1001. package/dist/editor/field-types/richtext/config/pluginFactory.js +1 -1
  1002. package/dist/editor/field-types/richtext/config/pluginFactory.js.map +1 -1
  1003. package/dist/editor/field-types/richtext/contextMenuFactory.d.ts +2 -14
  1004. package/dist/editor/field-types/richtext/contextMenuFactory.js +4 -379
  1005. package/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -1
  1006. package/dist/editor/field-types/richtext/hooks/useProfileCache.d.ts +1 -1
  1007. package/dist/editor/field-types/richtext/hooks/useProfileCache.js +19 -19
  1008. package/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +1 -1
  1009. package/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +5 -2
  1010. package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +41 -13
  1011. package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +1 -1
  1012. package/dist/editor/field-types/richtext/richTextToolbarIcons.d.ts +7 -0
  1013. package/dist/editor/field-types/richtext/richTextToolbarIcons.js +49 -0
  1014. package/dist/editor/field-types/richtext/richTextToolbarIcons.js.map +1 -0
  1015. package/dist/editor/field-types/richtext/types.d.ts +2 -0
  1016. package/dist/editor/field-types/richtext/types.js.map +1 -1
  1017. package/dist/editor/field-types/richtext/utils/conversion.d.ts +2 -2
  1018. package/dist/editor/field-types/richtext/utils/conversion.js +298 -214
  1019. package/dist/editor/field-types/richtext/utils/conversion.js.map +1 -1
  1020. package/dist/editor/field-types/richtext/utils/plugins.js +96 -69
  1021. package/dist/editor/field-types/richtext/utils/plugins.js.map +1 -1
  1022. package/dist/editor/field-types/richtext/utils/profileMapper.d.ts +1 -1
  1023. package/dist/editor/field-types/richtext/utils/profileMapper.js +186 -171
  1024. package/dist/editor/field-types/richtext/utils/profileMapper.js.map +1 -1
  1025. package/dist/editor/field-types/textContextMenuFactory.js +1 -1
  1026. package/dist/editor/field-types/textContextMenuFactory.js.map +1 -1
  1027. package/dist/editor/field-types/useFormFieldCaretPresence.d.ts +13 -0
  1028. package/dist/editor/field-types/useFormFieldCaretPresence.js +92 -0
  1029. package/dist/editor/field-types/useFormFieldCaretPresence.js.map +1 -0
  1030. package/dist/editor/field-types/useTextCompletion.d.ts +20 -0
  1031. package/dist/editor/field-types/useTextCompletion.js +166 -0
  1032. package/dist/editor/field-types/useTextCompletion.js.map +1 -0
  1033. package/dist/editor/fieldTypes.d.ts +2 -0
  1034. package/dist/editor/hooks/useNavigationPanelLogic.d.ts +3 -3
  1035. package/dist/editor/hooks/useNavigationPanelLogic.js +5 -5
  1036. package/dist/editor/hooks/useNavigationPanelLogic.js.map +1 -1
  1037. package/dist/editor/hooks/useParheliaSettings.js +8 -7
  1038. package/dist/editor/hooks/useParheliaSettings.js.map +1 -1
  1039. package/dist/editor/insertMenuItems.d.ts +11 -0
  1040. package/dist/editor/insertMenuItems.js +10 -1
  1041. package/dist/editor/insertMenuItems.js.map +1 -1
  1042. package/dist/editor/manualActionEvents.js +3 -1
  1043. package/dist/editor/manualActionEvents.js.map +1 -1
  1044. package/dist/editor/media-selector/AiImageSearchPrompt.js +3 -3
  1045. package/dist/editor/media-selector/MediaFolderBrowser.d.ts +2 -1
  1046. package/dist/editor/media-selector/MediaFolderBrowser.js +318 -49
  1047. package/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -1
  1048. package/dist/editor/media-selector/MediaSelector.js +4 -2
  1049. package/dist/editor/media-selector/MediaSelector.js.map +1 -1
  1050. package/dist/editor/media-selector/Preview.d.ts +2 -1
  1051. package/dist/editor/media-selector/Preview.js +53 -6
  1052. package/dist/editor/media-selector/Preview.js.map +1 -1
  1053. package/dist/editor/media-selector/Thumbnails.d.ts +5 -1
  1054. package/dist/editor/media-selector/Thumbnails.js +72 -11
  1055. package/dist/editor/media-selector/Thumbnails.js.map +1 -1
  1056. package/dist/editor/media-selector/TreeSelector.js +155 -41
  1057. package/dist/editor/media-selector/TreeSelector.js.map +1 -1
  1058. package/dist/editor/media-selector/UploadZone.d.ts +3 -1
  1059. package/dist/editor/media-selector/UploadZone.js +27 -23
  1060. package/dist/editor/media-selector/UploadZone.js.map +1 -1
  1061. package/dist/editor/media-selector/mediaFileType.d.ts +12 -0
  1062. package/dist/editor/media-selector/mediaFileType.js +95 -0
  1063. package/dist/editor/media-selector/mediaFileType.js.map +1 -0
  1064. package/dist/editor/media-selector/mediaSelectionPath.d.ts +5 -0
  1065. package/dist/editor/media-selector/mediaSelectionPath.js +21 -0
  1066. package/dist/editor/media-selector/mediaSelectionPath.js.map +1 -0
  1067. package/dist/editor/media-selector/mediaUpload.d.ts +30 -0
  1068. package/dist/editor/media-selector/mediaUpload.js +155 -0
  1069. package/dist/editor/media-selector/mediaUpload.js.map +1 -0
  1070. package/dist/editor/menubar/ActiveUsers.js +32 -36
  1071. package/dist/editor/menubar/ActiveUsers.js.map +1 -1
  1072. package/dist/editor/menubar/FavoritesControls.js +51 -30
  1073. package/dist/editor/menubar/FavoritesControls.js.map +1 -1
  1074. package/dist/editor/menubar/GenericToolbar.js +2 -1
  1075. package/dist/editor/menubar/GenericToolbar.js.map +1 -1
  1076. package/dist/editor/menubar/ItemActionsMenu.js +1 -1
  1077. package/dist/editor/menubar/ItemActionsMenu.js.map +1 -1
  1078. package/dist/editor/menubar/ItemLanguageVersion.d.ts +4 -1
  1079. package/dist/editor/menubar/ItemLanguageVersion.js +17 -18
  1080. package/dist/editor/menubar/ItemLanguageVersion.js.map +1 -1
  1081. package/dist/editor/menubar/OpenInNewTabButton.d.ts +15 -0
  1082. package/dist/editor/menubar/OpenInNewTabButton.js +42 -0
  1083. package/dist/editor/menubar/OpenInNewTabButton.js.map +1 -0
  1084. package/dist/editor/menubar/OperationsIndicator.d.ts +7 -0
  1085. package/dist/editor/menubar/OperationsIndicator.js +87 -0
  1086. package/dist/editor/menubar/OperationsIndicator.js.map +1 -0
  1087. package/dist/editor/menubar/PageSelector.js +11 -5
  1088. package/dist/editor/menubar/PageSelector.js.map +1 -1
  1089. package/dist/editor/menubar/PreviewDatePicker.js +40 -21
  1090. package/dist/editor/menubar/PreviewDatePicker.js.map +1 -1
  1091. package/dist/editor/menubar/Separator.d.ts +2 -1
  1092. package/dist/editor/menubar/Separator.js +2 -2
  1093. package/dist/editor/menubar/Separator.js.map +1 -1
  1094. package/dist/editor/menubar/ToolbarFactory.js +30 -19
  1095. package/dist/editor/menubar/ToolbarFactory.js.map +1 -1
  1096. package/dist/editor/menubar/User.js +2 -7
  1097. package/dist/editor/menubar/User.js.map +1 -1
  1098. package/dist/editor/menubar/VersionPreviewCard.js +11 -231
  1099. package/dist/editor/menubar/VersionPreviewCard.js.map +1 -1
  1100. package/dist/editor/menubar/VersionSelector.d.ts +4 -2
  1101. package/dist/editor/menubar/VersionSelector.js +70 -24
  1102. package/dist/editor/menubar/VersionSelector.js.map +1 -1
  1103. package/dist/editor/menubar/WorkflowButton.js +23 -28
  1104. package/dist/editor/menubar/WorkflowButton.js.map +1 -1
  1105. package/dist/editor/menubar/toolbar-sections/CompareControls.js +3 -1
  1106. package/dist/editor/menubar/toolbar-sections/CompareControls.js.map +1 -1
  1107. package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.d.ts +1 -0
  1108. package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js +13 -0
  1109. package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js.map +1 -0
  1110. package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js +1 -1
  1111. package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js.map +1 -1
  1112. package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.d.ts +7 -0
  1113. package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js +132 -0
  1114. package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js.map +1 -0
  1115. package/dist/editor/menubar/toolbar-sections/EditControls.d.ts +4 -2
  1116. package/dist/editor/menubar/toolbar-sections/EditControls.js +82 -11
  1117. package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
  1118. package/dist/editor/menubar/toolbar-sections/FullscreenControl.d.ts +1 -0
  1119. package/dist/editor/menubar/toolbar-sections/FullscreenControl.js +15 -0
  1120. package/dist/editor/menubar/toolbar-sections/FullscreenControl.js.map +1 -0
  1121. package/dist/editor/menubar/toolbar-sections/InsertControls.js +1 -1
  1122. package/dist/editor/menubar/toolbar-sections/InsertControls.js.map +1 -1
  1123. package/dist/editor/menubar/toolbar-sections/ManualBrowser.d.ts +22 -0
  1124. package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +935 -161
  1125. package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
  1126. package/dist/editor/menubar/toolbar-sections/ReviewCommands.js +2 -1
  1127. package/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +1 -1
  1128. package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js +58 -31
  1129. package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js.map +1 -1
  1130. package/dist/editor/menubar/toolbar-sections/UtilityControls.d.ts +3 -1
  1131. package/dist/editor/menubar/toolbar-sections/UtilityControls.js +14 -4
  1132. package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
  1133. package/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +1 -0
  1134. package/dist/editor/menubar/toolbar-sections/ViewportControls.js +100 -38
  1135. package/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -1
  1136. package/dist/editor/menubar/toolbar-sections/index.d.ts +4 -2
  1137. package/dist/editor/menubar/toolbar-sections/index.js +4 -2
  1138. package/dist/editor/menubar/toolbar-sections/index.js.map +1 -1
  1139. package/dist/editor/notifications/NotificationCenter.d.ts +4 -1
  1140. package/dist/editor/notifications/NotificationCenter.js +41 -30
  1141. package/dist/editor/notifications/NotificationCenter.js.map +1 -1
  1142. package/dist/editor/notifications/NotificationItem.js +100 -15
  1143. package/dist/editor/notifications/NotificationItem.js.map +1 -1
  1144. package/dist/editor/notifications/WatchButton.d.ts +5 -4
  1145. package/dist/editor/notifications/WatchButton.js +105 -61
  1146. package/dist/editor/notifications/WatchButton.js.map +1 -1
  1147. package/dist/editor/notifications/notificationListState.js +4 -1
  1148. package/dist/editor/notifications/notificationListState.js.map +1 -1
  1149. package/dist/editor/notifications/notificationRoutes.js.map +1 -1
  1150. package/dist/editor/notifications/useNotificationSubscriptions.d.ts +8 -0
  1151. package/dist/editor/notifications/useNotificationSubscriptions.js +25 -1
  1152. package/dist/editor/notifications/useNotificationSubscriptions.js.map +1 -1
  1153. package/dist/editor/notifications/useNotifications.js +58 -22
  1154. package/dist/editor/notifications/useNotifications.js.map +1 -1
  1155. package/dist/editor/notifications/watchEventOptions.d.ts +13 -0
  1156. package/dist/editor/notifications/watchEventOptions.js +113 -0
  1157. package/dist/editor/notifications/watchEventOptions.js.map +1 -0
  1158. package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.d.ts +8 -0
  1159. package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js +526 -0
  1160. package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js.map +1 -0
  1161. package/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +6 -4
  1162. package/dist/editor/page-editor-chrome/CommentHighlightings.js +497 -11
  1163. package/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -1
  1164. package/dist/editor/page-editor-chrome/ComponentOperationBubble.d.ts +8 -0
  1165. package/dist/editor/page-editor-chrome/ComponentOperationBubble.js +8 -0
  1166. package/dist/editor/page-editor-chrome/ComponentOperationBubble.js.map +1 -0
  1167. package/dist/editor/page-editor-chrome/DragInsertionOverlay.d.ts +36 -0
  1168. package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +1067 -0
  1169. package/dist/editor/page-editor-chrome/DragInsertionOverlay.js.map +1 -0
  1170. package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.d.ts +22 -0
  1171. package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js +40 -0
  1172. package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js.map +1 -0
  1173. package/dist/editor/page-editor-chrome/FieldActionIndicator.js +30 -68
  1174. package/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -1
  1175. package/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +1 -3
  1176. package/dist/editor/page-editor-chrome/FieldEditedIndicator.js +38 -101
  1177. package/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -1
  1178. package/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +1 -3
  1179. package/dist/editor/page-editor-chrome/FieldEditedIndicators.js +2 -2
  1180. package/dist/editor/page-editor-chrome/FieldEditedIndicators.js.map +1 -1
  1181. package/dist/editor/page-editor-chrome/FrameMenu.d.ts +7 -4
  1182. package/dist/editor/page-editor-chrome/FrameMenu.js +264 -223
  1183. package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
  1184. package/dist/editor/page-editor-chrome/FrameMenus.d.ts +1 -1
  1185. package/dist/editor/page-editor-chrome/FrameMenus.js +72 -18
  1186. package/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -1
  1187. package/dist/editor/page-editor-chrome/InsertComponentMenu.d.ts +26 -0
  1188. package/dist/editor/page-editor-chrome/InsertComponentMenu.js +35 -0
  1189. package/dist/editor/page-editor-chrome/InsertComponentMenu.js.map +1 -0
  1190. package/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +3 -2
  1191. package/dist/editor/page-editor-chrome/LockedFieldIndicator.js +191 -20
  1192. package/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +1 -1
  1193. package/dist/editor/page-editor-chrome/NoLayout.js +1 -1
  1194. package/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +6 -2
  1195. package/dist/editor/page-editor-chrome/PageEditorChrome.js +141 -48
  1196. package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -1
  1197. package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +167 -147
  1198. package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -1
  1199. package/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +34 -3
  1200. package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +175 -65
  1201. package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
  1202. package/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +13 -5
  1203. package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +120 -305
  1204. package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -1
  1205. package/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +6 -4
  1206. package/dist/editor/page-editor-chrome/SuggestionHighlightings.js +304 -12
  1207. package/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -1
  1208. package/dist/editor/page-editor-chrome/VersionDiffHighlightings.d.ts +1 -3
  1209. package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js +160 -123
  1210. package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js.map +1 -1
  1211. package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.d.ts +24 -0
  1212. package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js +90 -0
  1213. package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js.map +1 -0
  1214. package/dist/editor/page-editor-chrome/componentDragObject.d.ts +10 -0
  1215. package/dist/editor/page-editor-chrome/componentDragObject.js +22 -0
  1216. package/dist/editor/page-editor-chrome/componentDragObject.js.map +1 -0
  1217. package/dist/editor/page-editor-chrome/insertTargetLabel.d.ts +6 -0
  1218. package/dist/editor/page-editor-chrome/insertTargetLabel.js +21 -0
  1219. package/dist/editor/page-editor-chrome/insertTargetLabel.js.map +1 -0
  1220. package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.d.ts +62 -0
  1221. package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js +306 -0
  1222. package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js.map +1 -0
  1223. package/dist/editor/page-editor-chrome/overlay/InsertionLine.d.ts +44 -0
  1224. package/dist/editor/page-editor-chrome/overlay/InsertionLine.js +160 -0
  1225. package/dist/editor/page-editor-chrome/overlay/InsertionLine.js.map +1 -0
  1226. package/dist/editor/page-editor-chrome/overlay/geometry.d.ts +83 -0
  1227. package/dist/editor/page-editor-chrome/overlay/geometry.js +349 -0
  1228. package/dist/editor/page-editor-chrome/overlay/geometry.js.map +1 -0
  1229. package/dist/editor/page-editor-chrome/overlay/placeholderZones.d.ts +67 -0
  1230. package/dist/editor/page-editor-chrome/overlay/placeholderZones.js +279 -0
  1231. package/dist/editor/page-editor-chrome/overlay/placeholderZones.js.map +1 -0
  1232. package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.d.ts +10 -0
  1233. package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js +28 -0
  1234. package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js.map +1 -0
  1235. package/dist/editor/page-editor-chrome/useBridgeInlineEditing.d.ts +29 -0
  1236. package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js +334 -0
  1237. package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js.map +1 -0
  1238. package/dist/editor/page-editor-chrome/useComponentDragHandle.d.ts +23 -0
  1239. package/dist/editor/page-editor-chrome/useComponentDragHandle.js +41 -0
  1240. package/dist/editor/page-editor-chrome/useComponentDragHandle.js.map +1 -0
  1241. package/dist/editor/page-editor-chrome/useDragInsertionGesture.d.ts +23 -0
  1242. package/dist/editor/page-editor-chrome/useDragInsertionGesture.js +207 -0
  1243. package/dist/editor/page-editor-chrome/useDragInsertionGesture.js.map +1 -0
  1244. package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.d.ts +2 -0
  1245. package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js +18 -0
  1246. package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js.map +1 -0
  1247. package/dist/editor/page-viewer/DeviceToolbar.js +2 -2
  1248. package/dist/editor/page-viewer/DeviceToolbar.js.map +1 -1
  1249. package/dist/editor/page-viewer/EditorForm.js +55 -24
  1250. package/dist/editor/page-viewer/EditorForm.js.map +1 -1
  1251. package/dist/editor/page-viewer/EditorFormHintPopover.d.ts +2 -2
  1252. package/dist/editor/page-viewer/EditorFormHintPopover.js +4 -4
  1253. package/dist/editor/page-viewer/EditorFormHintPopover.js.map +1 -1
  1254. package/dist/editor/page-viewer/MiniMap.d.ts +29 -2
  1255. package/dist/editor/page-viewer/MiniMap.js +375 -340
  1256. package/dist/editor/page-viewer/MiniMap.js.map +1 -1
  1257. package/dist/editor/page-viewer/MinimapDropTargets.d.ts +13 -0
  1258. package/dist/editor/page-viewer/MinimapDropTargets.js +140 -0
  1259. package/dist/editor/page-viewer/MinimapDropTargets.js.map +1 -0
  1260. package/dist/editor/page-viewer/PageViewer.d.ts +4 -2
  1261. package/dist/editor/page-viewer/PageViewer.js +202 -21
  1262. package/dist/editor/page-viewer/PageViewer.js.map +1 -1
  1263. package/dist/editor/page-viewer/PageViewerFrame.d.ts +4 -7
  1264. package/dist/editor/page-viewer/PageViewerFrame.js +2220 -1270
  1265. package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
  1266. package/dist/editor/page-viewer/RenderingParametersSection.js +13 -7
  1267. package/dist/editor/page-viewer/RenderingParametersSection.js.map +1 -1
  1268. package/dist/editor/page-viewer/bridgeFieldPatch.d.ts +19 -0
  1269. package/dist/editor/page-viewer/bridgeFieldPatch.js +33 -0
  1270. package/dist/editor/page-viewer/bridgeFieldPatch.js.map +1 -0
  1271. package/dist/editor/page-viewer/bridgeKeyboardShortcuts.d.ts +3 -0
  1272. package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js +36 -0
  1273. package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js.map +1 -0
  1274. package/dist/editor/page-viewer/pageViewContext.d.ts +35 -0
  1275. package/dist/editor/page-viewer/pageViewContext.js +40 -3
  1276. package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
  1277. package/dist/editor/page-viewer/renderUrl.d.ts +14 -0
  1278. package/dist/editor/page-viewer/renderUrl.js +83 -0
  1279. package/dist/editor/page-viewer/renderUrl.js.map +1 -0
  1280. package/dist/editor/pageModel.d.ts +4 -0
  1281. package/dist/editor/pageModel.js +12 -1
  1282. package/dist/editor/pageModel.js.map +1 -1
  1283. package/dist/editor/personalization/ActionList.js +2 -2
  1284. package/dist/editor/personalization/ActionList.js.map +1 -1
  1285. package/dist/editor/personalization/ConditionTreeEditor.js +9 -9
  1286. package/dist/editor/personalization/ConditionTreeEditor.js.map +1 -1
  1287. package/dist/editor/personalization/PersonalizationPanel.d.ts +3 -1
  1288. package/dist/editor/personalization/PersonalizationPanel.js +39 -18
  1289. package/dist/editor/personalization/PersonalizationPanel.js.map +1 -1
  1290. package/dist/editor/personalization/RuleElementPicker.js +5 -4
  1291. package/dist/editor/personalization/RuleElementPicker.js.map +1 -1
  1292. package/dist/editor/personalization/RuleList.js +13 -10
  1293. package/dist/editor/personalization/RuleList.js.map +1 -1
  1294. package/dist/editor/personalization/RuleParameterInput.js +10 -7
  1295. package/dist/editor/personalization/RuleParameterInput.js.map +1 -1
  1296. package/dist/editor/personalization/TreeItemPicker.js +4 -6
  1297. package/dist/editor/personalization/TreeItemPicker.js.map +1 -1
  1298. package/dist/editor/personalization/utils.js.map +1 -1
  1299. package/dist/editor/reviews/Comment.d.ts +6 -1
  1300. package/dist/editor/reviews/Comment.js +64 -103
  1301. package/dist/editor/reviews/Comment.js.map +1 -1
  1302. package/dist/editor/reviews/CommentDisplayPopover.js +244 -78
  1303. package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
  1304. package/dist/editor/reviews/CommentEditor.d.ts +7 -2
  1305. package/dist/editor/reviews/CommentEditor.js +45 -8
  1306. package/dist/editor/reviews/CommentEditor.js.map +1 -1
  1307. package/dist/editor/reviews/CommentPopover.d.ts +4 -0
  1308. package/dist/editor/reviews/CommentPopover.js +92 -15
  1309. package/dist/editor/reviews/CommentPopover.js.map +1 -1
  1310. package/dist/editor/reviews/CommentView.d.ts +4 -1
  1311. package/dist/editor/reviews/CommentView.js +60 -38
  1312. package/dist/editor/reviews/CommentView.js.map +1 -1
  1313. package/dist/editor/reviews/Comments.d.ts +0 -2
  1314. package/dist/editor/reviews/Comments.js +269 -51
  1315. package/dist/editor/reviews/Comments.js.map +1 -1
  1316. package/dist/editor/reviews/CommentsAndFeedback.d.ts +2 -8
  1317. package/dist/editor/reviews/CommentsAndFeedback.js +10 -43
  1318. package/dist/editor/reviews/CommentsAndFeedback.js.map +1 -1
  1319. package/dist/editor/reviews/CreateReviewConfirmStep.js +2 -2
  1320. package/dist/editor/reviews/CreateReviewConfirmStep.js.map +1 -1
  1321. package/dist/editor/reviews/CreateReviewDetailsStep.js +9 -9
  1322. package/dist/editor/reviews/CreateReviewDetailsStep.js.map +1 -1
  1323. package/dist/editor/reviews/CreateReviewDialog.js +1 -1
  1324. package/dist/editor/reviews/CreateReviewDialog.js.map +1 -1
  1325. package/dist/editor/reviews/CreateReviewSuccessStep.js +2 -2
  1326. package/dist/editor/reviews/CreateReviewSuccessStep.js.map +1 -1
  1327. package/dist/editor/reviews/DecisionsMatrix.js +34 -26
  1328. package/dist/editor/reviews/DecisionsMatrix.js.map +1 -1
  1329. package/dist/editor/reviews/DiffView.js +6 -6
  1330. package/dist/editor/reviews/DiffView.js.map +1 -1
  1331. package/dist/editor/reviews/EditReviewSettingsDialog.js +68 -54
  1332. package/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -1
  1333. package/dist/editor/reviews/FeedbackCard.d.ts +23 -0
  1334. package/dist/editor/reviews/FeedbackCard.js +32 -0
  1335. package/dist/editor/reviews/FeedbackCard.js.map +1 -0
  1336. package/dist/editor/reviews/FeedbackModeIntro.d.ts +15 -0
  1337. package/dist/editor/reviews/FeedbackModeIntro.js +22 -0
  1338. package/dist/editor/reviews/FeedbackModeIntro.js.map +1 -0
  1339. package/dist/editor/reviews/ItemTreeSelector.js +1 -1
  1340. package/dist/editor/reviews/ItemTreeSelector.js.map +1 -1
  1341. package/dist/editor/reviews/LatestFeedback.js +26 -49
  1342. package/dist/editor/reviews/LatestFeedback.js.map +1 -1
  1343. package/dist/editor/reviews/MentionText.d.ts +3 -0
  1344. package/dist/editor/reviews/MentionText.js +139 -0
  1345. package/dist/editor/reviews/MentionText.js.map +1 -0
  1346. package/dist/editor/reviews/PreconfiguredReviewerSelector.js +1 -1
  1347. package/dist/editor/reviews/PreconfiguredReviewerSelector.js.map +1 -1
  1348. package/dist/editor/reviews/ReviewCard.js +12 -11
  1349. package/dist/editor/reviews/ReviewCard.js.map +1 -1
  1350. package/dist/editor/reviews/ReviewDetail.js +5 -5
  1351. package/dist/editor/reviews/ReviewDetail.js.map +1 -1
  1352. package/dist/editor/reviews/ReviewersPanel.js +33 -19
  1353. package/dist/editor/reviews/ReviewersPanel.js.map +1 -1
  1354. package/dist/editor/reviews/ReviewsList.js +4 -3
  1355. package/dist/editor/reviews/ReviewsList.js.map +1 -1
  1356. package/dist/editor/reviews/SuggestedEdit.d.ts +4 -1
  1357. package/dist/editor/reviews/SuggestedEdit.js +101 -61
  1358. package/dist/editor/reviews/SuggestedEdit.js.map +1 -1
  1359. package/dist/editor/reviews/SuggestionCommentThread.d.ts +14 -0
  1360. package/dist/editor/reviews/SuggestionCommentThread.js +151 -0
  1361. package/dist/editor/reviews/SuggestionCommentThread.js.map +1 -0
  1362. package/dist/editor/reviews/SuggestionDisplayPopover.js +45 -47
  1363. package/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -1
  1364. package/dist/editor/reviews/commentAi.js +96 -27
  1365. package/dist/editor/reviews/commentAi.js.map +1 -1
  1366. package/dist/editor/reviews/commentTransientSelection.d.ts +23 -0
  1367. package/dist/editor/reviews/commentTransientSelection.js +7 -0
  1368. package/dist/editor/reviews/commentTransientSelection.js.map +1 -0
  1369. package/dist/editor/reviews/feedbackAvatar.d.ts +14 -0
  1370. package/dist/editor/reviews/feedbackAvatar.js +86 -0
  1371. package/dist/editor/reviews/feedbackAvatar.js.map +1 -0
  1372. package/dist/editor/reviews/feedbackCommentRules.d.ts +3 -0
  1373. package/dist/editor/reviews/feedbackCommentRules.js +15 -0
  1374. package/dist/editor/reviews/feedbackCommentRules.js.map +1 -0
  1375. package/dist/editor/reviews/feedbackOrdering.d.ts +5 -0
  1376. package/dist/editor/reviews/feedbackOrdering.js +27 -0
  1377. package/dist/editor/reviews/feedbackOrdering.js.map +1 -0
  1378. package/dist/editor/reviews/feedbackScrollTarget.d.ts +19 -0
  1379. package/dist/editor/reviews/feedbackScrollTarget.js +171 -0
  1380. package/dist/editor/reviews/feedbackScrollTarget.js.map +1 -0
  1381. package/dist/editor/reviews/feedbackSelection.d.ts +3 -0
  1382. package/dist/editor/reviews/feedbackSelection.js +65 -0
  1383. package/dist/editor/reviews/feedbackSelection.js.map +1 -0
  1384. package/dist/editor/reviews/feedbackSidebarText.d.ts +2 -0
  1385. package/dist/editor/reviews/feedbackSidebarText.js +3 -0
  1386. package/dist/editor/reviews/feedbackSidebarText.js.map +1 -0
  1387. package/dist/editor/reviews/latestFeedbackData.d.ts +11 -0
  1388. package/dist/editor/reviews/latestFeedbackData.js +40 -0
  1389. package/dist/editor/reviews/latestFeedbackData.js.map +1 -0
  1390. package/dist/editor/reviews/openCommentsFeedback.d.ts +35 -0
  1391. package/dist/editor/reviews/openCommentsFeedback.js +89 -0
  1392. package/dist/editor/reviews/openCommentsFeedback.js.map +1 -0
  1393. package/dist/editor/reviews/reviewCommands.js +2 -2
  1394. package/dist/editor/reviews/reviewCommands.js.map +1 -1
  1395. package/dist/editor/reviews/suggestedEditState.d.ts +14 -0
  1396. package/dist/editor/reviews/suggestedEditState.js +110 -0
  1397. package/dist/editor/reviews/suggestedEditState.js.map +1 -0
  1398. package/dist/editor/reviews/suggestionContentChange.d.ts +2 -0
  1399. package/dist/editor/reviews/suggestionContentChange.js +29 -0
  1400. package/dist/editor/reviews/suggestionContentChange.js.map +1 -0
  1401. package/dist/editor/reviews/suggestionDisplayValue.d.ts +43 -0
  1402. package/dist/editor/reviews/suggestionDisplayValue.js +93 -0
  1403. package/dist/editor/reviews/suggestionDisplayValue.js.map +1 -0
  1404. package/dist/editor/reviews/useMultiReview.js +5 -4
  1405. package/dist/editor/reviews/useMultiReview.js.map +1 -1
  1406. package/dist/editor/services/agentService.d.ts +75 -27
  1407. package/dist/editor/services/agentService.js +105 -33
  1408. package/dist/editor/services/agentService.js.map +1 -1
  1409. package/dist/editor/services/agentStatus.js +1 -1
  1410. package/dist/editor/services/agentStatus.js.map +1 -1
  1411. package/dist/editor/services/agentSubscriptionRegistry.js +12 -13
  1412. package/dist/editor/services/agentSubscriptionRegistry.js.map +1 -1
  1413. package/dist/editor/services/aiService.d.ts +8 -38
  1414. package/dist/editor/services/aiService.js +7 -64
  1415. package/dist/editor/services/aiService.js.map +1 -1
  1416. package/dist/editor/services/contentService.d.ts +11 -1
  1417. package/dist/editor/services/contentService.js +7 -20
  1418. package/dist/editor/services/contentService.js.map +1 -1
  1419. package/dist/editor/services/contextService.js.map +1 -1
  1420. package/dist/editor/services/customCommandsService.js.map +1 -1
  1421. package/dist/editor/services/editService.d.ts +16 -0
  1422. package/dist/editor/services/editService.js +8 -3
  1423. package/dist/editor/services/editService.js.map +1 -1
  1424. package/dist/editor/services/indexService.js.map +1 -1
  1425. package/dist/editor/services/indicatorService.js.map +1 -1
  1426. package/dist/editor/services/localStorageService.js +3 -3
  1427. package/dist/editor/services/localStorageService.js.map +1 -1
  1428. package/dist/editor/services/manualService.d.ts +31 -0
  1429. package/dist/editor/services/manualService.js +77 -0
  1430. package/dist/editor/services/manualService.js.map +1 -0
  1431. package/dist/editor/services/notificationService.d.ts +4 -0
  1432. package/dist/editor/services/notificationService.js +5 -1
  1433. package/dist/editor/services/notificationService.js.map +1 -1
  1434. package/dist/editor/services/personalizationService.js.map +1 -1
  1435. package/dist/editor/services/reviewsService.d.ts +6 -3
  1436. package/dist/editor/services/reviewsService.js +10 -2
  1437. package/dist/editor/services/reviewsService.js.map +1 -1
  1438. package/dist/editor/services/serviceHelper.d.ts +8 -0
  1439. package/dist/editor/services/serviceHelper.js +59 -0
  1440. package/dist/editor/services/serviceHelper.js.map +1 -1
  1441. package/dist/editor/services/suggestedEditsService.js.map +1 -1
  1442. package/dist/editor/services/systemService.d.ts +49 -0
  1443. package/dist/editor/services/systemService.js +32 -0
  1444. package/dist/editor/services/systemService.js.map +1 -1
  1445. package/dist/editor/services/templateBuilderService.js +5 -6
  1446. package/dist/editor/services/templateBuilderService.js.map +1 -1
  1447. package/dist/editor/services/userResolution.d.ts +18 -0
  1448. package/dist/editor/services/userResolution.js +86 -0
  1449. package/dist/editor/services/userResolution.js.map +1 -0
  1450. package/dist/editor/services/userService.d.ts +14 -0
  1451. package/dist/editor/services/userService.js +39 -0
  1452. package/dist/editor/services/userService.js.map +1 -0
  1453. package/dist/editor/settings/About.js +219 -32
  1454. package/dist/editor/settings/About.js.map +1 -1
  1455. package/dist/editor/settings/IndexOverview.js +10 -9
  1456. package/dist/editor/settings/IndexOverview.js.map +1 -1
  1457. package/dist/editor/settings/QuotaInfo.js +90 -69
  1458. package/dist/editor/settings/QuotaInfo.js.map +1 -1
  1459. package/dist/editor/settings/QuotaUserPicker.js +15 -55
  1460. package/dist/editor/settings/QuotaUserPicker.js.map +1 -1
  1461. package/dist/editor/settings/SettingsBreadcrumb.d.ts +3 -6
  1462. package/dist/editor/settings/SettingsBreadcrumb.js +18 -2
  1463. package/dist/editor/settings/SettingsBreadcrumb.js.map +1 -1
  1464. package/dist/editor/settings/SettingsCard.d.ts +4 -0
  1465. package/dist/editor/settings/SettingsCard.js +7 -0
  1466. package/dist/editor/settings/SettingsCard.js.map +1 -0
  1467. package/dist/editor/settings/SettingsHeaderActionsContext.d.ts +9 -3
  1468. package/dist/editor/settings/SettingsHeaderActionsContext.js +6 -6
  1469. package/dist/editor/settings/SettingsHeaderActionsContext.js.map +1 -1
  1470. package/dist/editor/settings/SettingsPanelLayout.d.ts +28 -0
  1471. package/dist/editor/settings/SettingsPanelLayout.js +24 -0
  1472. package/dist/editor/settings/SettingsPanelLayout.js.map +1 -0
  1473. package/dist/editor/settings/SettingsView.js +25 -28
  1474. package/dist/editor/settings/SettingsView.js.map +1 -1
  1475. package/dist/editor/settings/StatusSummary.js +17 -27
  1476. package/dist/editor/settings/StatusSummary.js.map +1 -1
  1477. package/dist/editor/settings/index/AdvancedSettings.d.ts +1 -1
  1478. package/dist/editor/settings/index/AdvancedSettings.js +13 -11
  1479. package/dist/editor/settings/index/AdvancedSettings.js.map +1 -1
  1480. package/dist/editor/settings/index/CollectionWarningsDisplay.js +1 -1
  1481. package/dist/editor/settings/index/CollectionWarningsDisplay.js.map +1 -1
  1482. package/dist/editor/settings/index/EmbeddingProviderInfo.js +7 -5
  1483. package/dist/editor/settings/index/EmbeddingProviderInfo.js.map +1 -1
  1484. package/dist/editor/settings/index/IndexStatusCards.js +3 -2
  1485. package/dist/editor/settings/index/IndexStatusCards.js.map +1 -1
  1486. package/dist/editor/settings/index/LatestEmbeddingsList.js +3 -1
  1487. package/dist/editor/settings/index/LatestEmbeddingsList.js.map +1 -1
  1488. package/dist/editor/settings/index/QueueErrorsDisplay.js +1 -1
  1489. package/dist/editor/settings/index/QueueErrorsDisplay.js.map +1 -1
  1490. package/dist/editor/settings/index/RebuildIndexSection.js +24 -22
  1491. package/dist/editor/settings/index/RebuildIndexSection.js.map +1 -1
  1492. package/dist/editor/settings/index/RecentBatchesList.js +20 -18
  1493. package/dist/editor/settings/index/RecentBatchesList.js.map +1 -1
  1494. package/dist/editor/settings/index/types.d.ts +0 -2
  1495. package/dist/editor/settings/index/useIndexStatus.js +10 -2
  1496. package/dist/editor/settings/index/useIndexStatus.js.map +1 -1
  1497. package/dist/editor/settings/index/utils.js +16 -16
  1498. package/dist/editor/settings/index/utils.js.map +1 -1
  1499. package/dist/editor/settings/panels/AgentProfileConfigPanel.d.ts +2 -1
  1500. package/dist/editor/settings/panels/AgentProfileConfigPanel.js +7 -3
  1501. package/dist/editor/settings/panels/AgentProfileConfigPanel.js.map +1 -1
  1502. package/dist/editor/settings/panels/AgentProfileEditorPanel.d.ts +1 -0
  1503. package/dist/editor/settings/panels/AgentProfileEditorPanel.js +1 -1
  1504. package/dist/editor/settings/panels/AgentProfileEditorPanel.js.map +1 -1
  1505. package/dist/editor/settings/panels/AgentToolsPanel.d.ts +2 -0
  1506. package/dist/editor/settings/panels/AgentToolsPanel.js +178 -0
  1507. package/dist/editor/settings/panels/AgentToolsPanel.js.map +1 -0
  1508. package/dist/editor/settings/panels/AgentsPanel.js +30 -8
  1509. package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
  1510. package/dist/editor/settings/panels/ClusterInstancesPanel.js +49 -54
  1511. package/dist/editor/settings/panels/ClusterInstancesPanel.js.map +1 -1
  1512. package/dist/editor/settings/panels/CreateAgentProfileDialog.js +2 -2
  1513. package/dist/editor/settings/panels/CreateAgentProfileDialog.js.map +1 -1
  1514. package/dist/editor/settings/panels/CreateJavaScriptToolDialog.js +3 -3
  1515. package/dist/editor/settings/panels/CreateJavaScriptToolDialog.js.map +1 -1
  1516. package/dist/editor/settings/panels/CreateMcpServerDialog.d.ts +7 -0
  1517. package/dist/editor/settings/panels/CreateMcpServerDialog.js +79 -0
  1518. package/dist/editor/settings/panels/CreateMcpServerDialog.js.map +1 -0
  1519. package/dist/editor/settings/panels/FieldTypeSerializersPanel.d.ts +2 -0
  1520. package/dist/editor/settings/panels/FieldTypeSerializersPanel.js +52 -0
  1521. package/dist/editor/settings/panels/FieldTypeSerializersPanel.js.map +1 -0
  1522. package/dist/editor/settings/panels/GroupedFieldConfigPanel.js +7 -5
  1523. package/dist/editor/settings/panels/GroupedFieldConfigPanel.js.map +1 -1
  1524. package/dist/editor/settings/panels/ItemConfigPanel.js +4 -3
  1525. package/dist/editor/settings/panels/ItemConfigPanel.js.map +1 -1
  1526. package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js +4 -2
  1527. package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js.map +1 -1
  1528. package/dist/editor/settings/panels/JavaScriptToolConfigPanel.js +1 -1
  1529. package/dist/editor/settings/panels/JavaScriptToolConfigPanel.js.map +1 -1
  1530. package/dist/editor/settings/panels/JavaScriptToolsPanel.js +27 -13
  1531. package/dist/editor/settings/panels/JavaScriptToolsPanel.js.map +1 -1
  1532. package/dist/editor/settings/panels/McpToolsPanel.js +36 -16
  1533. package/dist/editor/settings/panels/McpToolsPanel.js.map +1 -1
  1534. package/dist/editor/settings/panels/ModelConfigPanel.js +1 -1
  1535. package/dist/editor/settings/panels/ModelConfigPanel.js.map +1 -1
  1536. package/dist/editor/settings/panels/ModelsPanel.js +178 -41
  1537. package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
  1538. package/dist/editor/settings/panels/NotificationSubscriptionsPanel.d.ts +2 -0
  1539. package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js +156 -0
  1540. package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js.map +1 -0
  1541. package/dist/editor/settings/panels/PersistentLogsPanel.js +25 -14
  1542. package/dist/editor/settings/panels/PersistentLogsPanel.js.map +1 -1
  1543. package/dist/editor/settings/panels/ProjectTemplateAgentPanel.d.ts +2 -1
  1544. package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js +6 -3
  1545. package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js.map +1 -1
  1546. package/dist/editor/settings/panels/ProjectTemplateSelector.js +10 -43
  1547. package/dist/editor/settings/panels/ProjectTemplateSelector.js.map +1 -1
  1548. package/dist/editor/settings/panels/ProjectTemplateSelectorList.d.ts +13 -0
  1549. package/dist/editor/settings/panels/ProjectTemplateSelectorList.js +43 -0
  1550. package/dist/editor/settings/panels/ProjectTemplateSelectorList.js.map +1 -0
  1551. package/dist/editor/settings/panels/ProjectTemplatesPanel.js +119 -90
  1552. package/dist/editor/settings/panels/ProjectTemplatesPanel.js.map +1 -1
  1553. package/dist/editor/settings/panels/ProviderIcon.js +8 -8
  1554. package/dist/editor/settings/panels/ProviderIcon.js.map +1 -1
  1555. package/dist/editor/settings/panels/ProvidersPanel.js +55 -35
  1556. package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
  1557. package/dist/editor/settings/panels/SearchConfigPanel.js +13 -11
  1558. package/dist/editor/settings/panels/SearchConfigPanel.js.map +1 -1
  1559. package/dist/editor/settings/panels/SettingsPanel.js +3 -2
  1560. package/dist/editor/settings/panels/SettingsPanel.js.map +1 -1
  1561. package/dist/editor/settings/panels/StatusPanel.js +39 -14
  1562. package/dist/editor/settings/panels/StatusPanel.js.map +1 -1
  1563. package/dist/editor/settings/panels/SystemSettingsPanel.d.ts +2 -0
  1564. package/dist/editor/settings/panels/SystemSettingsPanel.js +69 -0
  1565. package/dist/editor/settings/panels/SystemSettingsPanel.js.map +1 -0
  1566. package/dist/editor/settings/panels/UserPreferencesPanel.d.ts +2 -0
  1567. package/dist/editor/settings/panels/UserPreferencesPanel.js +66 -0
  1568. package/dist/editor/settings/panels/UserPreferencesPanel.js.map +1 -0
  1569. package/dist/editor/settings/panels/index.d.ts +5 -0
  1570. package/dist/editor/settings/panels/index.js +5 -0
  1571. package/dist/editor/settings/panels/index.js.map +1 -1
  1572. package/dist/editor/settings/status/coreStatusChecks.js +118 -7
  1573. package/dist/editor/settings/status/coreStatusChecks.js.map +1 -1
  1574. package/dist/editor/settings/status/useStartupChecks.js +1 -1
  1575. package/dist/editor/settings/status/useStartupChecks.js.map +1 -1
  1576. package/dist/editor/setup-wizard/SetupStepError.d.ts +8 -0
  1577. package/dist/editor/setup-wizard/SetupStepError.js +7 -0
  1578. package/dist/editor/setup-wizard/SetupStepError.js.map +1 -0
  1579. package/dist/editor/setup-wizard/SetupStepHeader.d.ts +15 -0
  1580. package/dist/editor/setup-wizard/SetupStepHeader.js +6 -0
  1581. package/dist/editor/setup-wizard/SetupStepHeader.js.map +1 -0
  1582. package/dist/editor/setup-wizard/SetupStepLayout.d.ts +33 -0
  1583. package/dist/editor/setup-wizard/SetupStepLayout.js +16 -0
  1584. package/dist/editor/setup-wizard/SetupStepLayout.js.map +1 -0
  1585. package/dist/editor/setup-wizard/steps/CompleteStep.js +12 -7
  1586. package/dist/editor/setup-wizard/steps/CompleteStep.js.map +1 -1
  1587. package/dist/editor/setup-wizard/steps/CreateSettingsStep.d.ts +1 -1
  1588. package/dist/editor/setup-wizard/steps/CreateSettingsStep.js +5 -3
  1589. package/dist/editor/setup-wizard/steps/CreateSettingsStep.js.map +1 -1
  1590. package/dist/editor/setup-wizard/steps/LicenseActivationStep.js +102 -31
  1591. package/dist/editor/setup-wizard/steps/LicenseActivationStep.js.map +1 -1
  1592. package/dist/editor/setup-wizard/steps/LicenseEmailStep.d.ts +2 -1
  1593. package/dist/editor/setup-wizard/steps/LicenseEmailStep.js +13 -5
  1594. package/dist/editor/setup-wizard/steps/LicenseEmailStep.js.map +1 -1
  1595. package/dist/editor/setup-wizard/steps/ModelSelectionStep.d.ts +1 -1
  1596. package/dist/editor/setup-wizard/steps/ModelSelectionStep.js +64 -59
  1597. package/dist/editor/setup-wizard/steps/ModelSelectionStep.js.map +1 -1
  1598. package/dist/editor/setup-wizard/steps/ProviderStep.js +84 -30
  1599. package/dist/editor/setup-wizard/steps/ProviderStep.js.map +1 -1
  1600. package/dist/editor/setup-wizard/steps/WelcomeStep.js +2 -1
  1601. package/dist/editor/setup-wizard/steps/WelcomeStep.js.map +1 -1
  1602. package/dist/editor/sidebar/Completions.js +1 -1
  1603. package/dist/editor/sidebar/Completions.js.map +1 -1
  1604. package/dist/editor/sidebar/ComponentPalette.d.ts +1 -1
  1605. package/dist/editor/sidebar/ComponentPalette.js +61 -26
  1606. package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
  1607. package/dist/editor/sidebar/ComponentTree.js +208 -40
  1608. package/dist/editor/sidebar/ComponentTree.js.map +1 -1
  1609. package/dist/editor/sidebar/ContentTreePanel.d.ts +3 -0
  1610. package/dist/editor/sidebar/ContentTreePanel.js +14 -0
  1611. package/dist/editor/sidebar/ContentTreePanel.js.map +1 -0
  1612. package/dist/editor/sidebar/DictionaryEditor.js +1 -1
  1613. package/dist/editor/sidebar/DictionaryEditor.js.map +1 -1
  1614. package/dist/editor/sidebar/EditHistory.js +17 -4
  1615. package/dist/editor/sidebar/EditHistory.js.map +1 -1
  1616. package/dist/editor/sidebar/Favorites.d.ts +5 -1
  1617. package/dist/editor/sidebar/Favorites.js +41 -57
  1618. package/dist/editor/sidebar/Favorites.js.map +1 -1
  1619. package/dist/editor/sidebar/Insert.js +1 -1
  1620. package/dist/editor/sidebar/MainContentTree.js +5 -2
  1621. package/dist/editor/sidebar/MainContentTree.js.map +1 -1
  1622. package/dist/editor/sidebar/MobileWorkspacePopover.d.ts +2 -2
  1623. package/dist/editor/sidebar/MobileWorkspacePopover.js +3 -3
  1624. package/dist/editor/sidebar/MobileWorkspacePopover.js.map +1 -1
  1625. package/dist/editor/sidebar/MorePanelsButton.js +2 -2
  1626. package/dist/editor/sidebar/MorePanelsButton.js.map +1 -1
  1627. package/dist/editor/sidebar/NavigationPanelItem.js +6 -5
  1628. package/dist/editor/sidebar/NavigationPanelItem.js.map +1 -1
  1629. package/dist/editor/sidebar/NavigationPanelMenuItem.js +2 -2
  1630. package/dist/editor/sidebar/NavigationPanelMenuItem.js.map +1 -1
  1631. package/dist/editor/sidebar/OperationItem.js +111 -25
  1632. package/dist/editor/sidebar/OperationItem.js.map +1 -1
  1633. package/dist/editor/sidebar/SidebarPanel.js +21 -15
  1634. package/dist/editor/sidebar/SidebarPanel.js.map +1 -1
  1635. package/dist/editor/sidebar/SidebarStack.js +2 -0
  1636. package/dist/editor/sidebar/SidebarStack.js.map +1 -1
  1637. package/dist/editor/sidebar/TimelineView.js +3 -3
  1638. package/dist/editor/sidebar/TimelineView.js.map +1 -1
  1639. package/dist/editor/sidebar/Validation.js +6 -3
  1640. package/dist/editor/sidebar/Validation.js.map +1 -1
  1641. package/dist/editor/sidebar/Workbox.js +36 -77
  1642. package/dist/editor/sidebar/Workbox.js.map +1 -1
  1643. package/dist/editor/sidebar/WorkspaceButton.d.ts +3 -1
  1644. package/dist/editor/sidebar/WorkspaceButton.js +16 -8
  1645. package/dist/editor/sidebar/WorkspaceButton.js.map +1 -1
  1646. package/dist/editor/sidebar/WorkspaceRail.js +30 -25
  1647. package/dist/editor/sidebar/WorkspaceRail.js.map +1 -1
  1648. package/dist/editor/sidebar/WorkspaceRailMobile.js +5 -14
  1649. package/dist/editor/sidebar/WorkspaceRailMobile.js.map +1 -1
  1650. package/dist/editor/sidebar/contentTreeConstants.d.ts +2 -0
  1651. package/dist/editor/sidebar/contentTreeConstants.js +3 -0
  1652. package/dist/editor/sidebar/contentTreeConstants.js.map +1 -0
  1653. package/dist/editor/template-wizard/TemplateBuilderDialog.js +1 -1
  1654. package/dist/editor/template-wizard/TemplateBuilderDialog.js.map +1 -1
  1655. package/dist/editor/template-wizard/TemplateStructureInlineEditor.js +164 -97
  1656. package/dist/editor/template-wizard/TemplateStructureInlineEditor.js.map +1 -1
  1657. package/dist/editor/tree-indicators/GutterColumns.js +13 -22
  1658. package/dist/editor/tree-indicators/GutterColumns.js.map +1 -1
  1659. package/dist/editor/tree-indicators/GutterContext.js +5 -1
  1660. package/dist/editor/tree-indicators/GutterContext.js.map +1 -1
  1661. package/dist/editor/ui/CenteredMessage.js +1 -1
  1662. package/dist/editor/ui/CenteredMessage.js.map +1 -1
  1663. package/dist/editor/ui/CopyMoveTargetSelectorDialog.js +3 -3
  1664. package/dist/editor/ui/CopyMoveTargetSelectorDialog.js.map +1 -1
  1665. package/dist/editor/ui/DialogButtons.d.ts +3 -1
  1666. package/dist/editor/ui/DialogButtons.js +3 -2
  1667. package/dist/editor/ui/DialogButtons.js.map +1 -1
  1668. package/dist/editor/ui/DragPreview.d.ts +7 -0
  1669. package/dist/editor/ui/DragPreview.js +107 -10
  1670. package/dist/editor/ui/DragPreview.js.map +1 -1
  1671. package/dist/editor/ui/ExportItemsDialog.js +1 -1
  1672. package/dist/editor/ui/ExportItemsDialog.js.map +1 -1
  1673. package/dist/editor/ui/HomeButton.js +1 -1
  1674. package/dist/editor/ui/HomeButton.js.map +1 -1
  1675. package/dist/editor/ui/HomeListRow.d.ts +11 -0
  1676. package/dist/editor/ui/HomeListRow.js +11 -0
  1677. package/dist/editor/ui/HomeListRow.js.map +1 -0
  1678. package/dist/editor/ui/IconSelectorDialog.js +8 -8
  1679. package/dist/editor/ui/IconSelectorDialog.js.map +1 -1
  1680. package/dist/editor/ui/Icons.d.ts +1 -1
  1681. package/dist/editor/ui/Icons.js +10 -10
  1682. package/dist/editor/ui/Icons.js.map +1 -1
  1683. package/dist/editor/ui/ImportItemsDialog.js +1 -1
  1684. package/dist/editor/ui/ImportItemsDialog.js.map +1 -1
  1685. package/dist/editor/ui/ItemCollectionEditor.d.ts +27 -3
  1686. package/dist/editor/ui/ItemCollectionEditor.js +54 -10
  1687. package/dist/editor/ui/ItemCollectionEditor.js.map +1 -1
  1688. package/dist/editor/ui/ItemList.js +1 -1
  1689. package/dist/editor/ui/ItemList.js.map +1 -1
  1690. package/dist/editor/ui/ItemNameDialogNew.js +1 -1
  1691. package/dist/editor/ui/ItemNameDialogNew.js.map +1 -1
  1692. package/dist/editor/ui/ItemSearch.d.ts +1 -0
  1693. package/dist/editor/ui/ItemSearch.js +4 -4
  1694. package/dist/editor/ui/ItemSearch.js.map +1 -1
  1695. package/dist/editor/ui/LoadingState.d.ts +11 -0
  1696. package/dist/editor/ui/LoadingState.js +27 -0
  1697. package/dist/editor/ui/LoadingState.js.map +1 -0
  1698. package/dist/editor/ui/PerfectTree.d.ts +24 -1
  1699. package/dist/editor/ui/PerfectTree.js +39 -19
  1700. package/dist/editor/ui/PerfectTree.js.map +1 -1
  1701. package/dist/editor/ui/PublishDialog.d.ts +11 -0
  1702. package/dist/editor/ui/PublishDialog.js +101 -0
  1703. package/dist/editor/ui/PublishDialog.js.map +1 -0
  1704. package/dist/editor/ui/PublishItemDialog.d.ts +1 -1
  1705. package/dist/editor/ui/PublishItemDialog.js +40 -75
  1706. package/dist/editor/ui/PublishItemDialog.js.map +1 -1
  1707. package/dist/editor/ui/PublishRestrictionsDialog.js +70 -64
  1708. package/dist/editor/ui/PublishRestrictionsDialog.js.map +1 -1
  1709. package/dist/editor/ui/Section.js +5 -5
  1710. package/dist/editor/ui/Section.js.map +1 -1
  1711. package/dist/editor/ui/SharedFolderSelectorDialog.js +1 -1
  1712. package/dist/editor/ui/SharedFolderSelectorDialog.js.map +1 -1
  1713. package/dist/editor/ui/SimpleIconButton.d.ts +9 -2
  1714. package/dist/editor/ui/SimpleIconButton.js +20 -5
  1715. package/dist/editor/ui/SimpleIconButton.js.map +1 -1
  1716. package/dist/editor/ui/SimpleMenu.js +7 -6
  1717. package/dist/editor/ui/SimpleMenu.js.map +1 -1
  1718. package/dist/editor/ui/SimpleTable.js +1 -1
  1719. package/dist/editor/ui/SimpleTable.js.map +1 -1
  1720. package/dist/editor/ui/SimpleTabs.d.ts +6 -2
  1721. package/dist/editor/ui/SimpleTabs.js +54 -19
  1722. package/dist/editor/ui/SimpleTabs.js.map +1 -1
  1723. package/dist/editor/ui/SimpleToolbar.js +1 -1
  1724. package/dist/editor/ui/SimpleToolbar.js.map +1 -1
  1725. package/dist/editor/ui/Spinner.d.ts +14 -1
  1726. package/dist/editor/ui/Spinner.js.map +1 -1
  1727. package/dist/editor/ui/Splitter.d.ts +2 -0
  1728. package/dist/editor/ui/Splitter.js +160 -21
  1729. package/dist/editor/ui/Splitter.js.map +1 -1
  1730. package/dist/editor/ui/TemplateSelectorDialog.js +5 -5
  1731. package/dist/editor/ui/TemplateSelectorDialog.js.map +1 -1
  1732. package/dist/editor/ui/TreeListSelector.js +1 -1
  1733. package/dist/editor/ui/TreeListSelector.js.map +1 -1
  1734. package/dist/editor/ui/WorkboxItemsTable.d.ts +15 -0
  1735. package/dist/editor/ui/WorkboxItemsTable.js +142 -0
  1736. package/dist/editor/ui/WorkboxItemsTable.js.map +1 -0
  1737. package/dist/editor/ui/animationSettle.d.ts +32 -0
  1738. package/dist/editor/ui/animationSettle.js +85 -0
  1739. package/dist/editor/ui/animationSettle.js.map +1 -0
  1740. package/dist/editor/ui/splitterResizeEvent.d.ts +9 -0
  1741. package/dist/editor/ui/splitterResizeEvent.js +13 -0
  1742. package/dist/editor/ui/splitterResizeEvent.js.map +1 -0
  1743. package/dist/editor/utils/dedupeInflight.d.ts +1 -0
  1744. package/dist/editor/utils/dedupeInflight.js +13 -0
  1745. package/dist/editor/utils/dedupeInflight.js.map +1 -0
  1746. package/dist/editor/utils/expandSelectionAtCaret.d.ts +15 -0
  1747. package/dist/editor/utils/expandSelectionAtCaret.js +183 -0
  1748. package/dist/editor/utils/expandSelectionAtCaret.js.map +1 -0
  1749. package/dist/editor/utils/jsonCleaner.js +10 -10
  1750. package/dist/editor/utils/jsonCleaner.js.map +1 -1
  1751. package/dist/editor/utils/keyboardNavigation.js +2 -1
  1752. package/dist/editor/utils/keyboardNavigation.js.map +1 -1
  1753. package/dist/editor/utils/selectionContext.js.map +1 -1
  1754. package/dist/editor/utils/versionAtDate.js.map +1 -1
  1755. package/dist/editor/utils.d.ts +7 -17
  1756. package/dist/editor/utils.js +35 -145
  1757. package/dist/editor/utils.js.map +1 -1
  1758. package/dist/editor/version-diff/versionDiffHighlightStyles.d.ts +6 -6
  1759. package/dist/editor/version-diff/versionDiffHighlightStyles.js +6 -6
  1760. package/dist/editor/version-diff/versionDiffHighlightStyles.js.map +1 -1
  1761. package/dist/editor/version-diff/versionDiffTargets.d.ts +3 -8
  1762. package/dist/editor/version-diff/versionDiffTargets.js +38 -96
  1763. package/dist/editor/version-diff/versionDiffTargets.js.map +1 -1
  1764. package/dist/editor/views/CompareView.js +3 -3
  1765. package/dist/editor/views/CompareView.js.map +1 -1
  1766. package/dist/editor/views/EditView.js +1 -1
  1767. package/dist/editor/views/EditView.js.map +1 -1
  1768. package/dist/editor/views/EditorSlot.js +7 -6
  1769. package/dist/editor/views/EditorSlot.js.map +1 -1
  1770. package/dist/editor/views/ItemEditor.js +2 -2
  1771. package/dist/editor/views/ItemEditor.js.map +1 -1
  1772. package/dist/editor/views/ItemEditorPane.d.ts +11 -0
  1773. package/dist/editor/views/ItemEditorPane.js +19 -0
  1774. package/dist/editor/views/ItemEditorPane.js.map +1 -0
  1775. package/dist/editor/views/MediaFolderEditView.js +2 -2
  1776. package/dist/editor/views/MediaFolderEditView.js.map +1 -1
  1777. package/dist/editor/views/SingleEditView.js +15 -6
  1778. package/dist/editor/views/SingleEditView.js.map +1 -1
  1779. package/dist/editor/views/editorSlotContext.d.ts +2 -0
  1780. package/dist/editor/views/editorSlotContext.js +10 -1
  1781. package/dist/editor/views/editorSlotContext.js.map +1 -1
  1782. package/dist/editor/workflowFields.d.ts +1 -0
  1783. package/dist/editor/workflowFields.js +16 -0
  1784. package/dist/editor/workflowFields.js.map +1 -0
  1785. package/dist/index.d.ts +39 -6
  1786. package/dist/index.js +23 -3
  1787. package/dist/index.js.map +1 -1
  1788. package/dist/lib/pointerDrag.d.ts +20 -0
  1789. package/dist/lib/pointerDrag.js +57 -0
  1790. package/dist/lib/pointerDrag.js.map +1 -0
  1791. package/dist/lib/safelist.js +1 -1
  1792. package/dist/lib/safelist.js.map +1 -1
  1793. package/dist/lib/sanitize.js +79 -11
  1794. package/dist/lib/sanitize.js.map +1 -1
  1795. package/dist/lib/viewTransition.js +7 -1
  1796. package/dist/lib/viewTransition.js.map +1 -1
  1797. package/dist/licensing/EmailEntry.js +2 -1
  1798. package/dist/licensing/EmailEntry.js.map +1 -1
  1799. package/dist/licensing/FeatureGate.js +6 -6
  1800. package/dist/licensing/FeatureGate.js.map +1 -1
  1801. package/dist/licensing/LicenseActivationForm.js +2 -1
  1802. package/dist/licensing/LicenseActivationForm.js.map +1 -1
  1803. package/dist/licensing/LicenseCodeEntry.js +7 -3
  1804. package/dist/licensing/LicenseCodeEntry.js.map +1 -1
  1805. package/dist/licensing/LicenseContext.js +3 -4
  1806. package/dist/licensing/LicenseContext.js.map +1 -1
  1807. package/dist/licensing/LicenseOverlay.js +3 -1
  1808. package/dist/licensing/LicenseOverlay.js.map +1 -1
  1809. package/dist/licensing/licenseService.js +4 -3
  1810. package/dist/licensing/licenseService.js.map +1 -1
  1811. package/dist/licensing/types.d.ts +1 -1
  1812. package/dist/licensing/types.js +3 -1
  1813. package/dist/licensing/types.js.map +1 -1
  1814. package/dist/logging/consolePrefix.d.ts +2 -0
  1815. package/dist/logging/consolePrefix.js +62 -0
  1816. package/dist/logging/consolePrefix.js.map +1 -0
  1817. package/dist/logging/index.d.ts +1 -0
  1818. package/dist/logging/index.js +2 -0
  1819. package/dist/logging/index.js.map +1 -0
  1820. package/dist/logging/install-browser-console.js +3 -0
  1821. package/dist/logging/install-browser-console.js.map +1 -0
  1822. package/dist/revision.d.ts +2 -2
  1823. package/dist/revision.js +2 -2
  1824. package/dist/setup/services/setupWizardService.d.ts +12 -0
  1825. package/dist/setup/services/setupWizardService.js +47 -13
  1826. package/dist/setup/services/setupWizardService.js.map +1 -1
  1827. package/dist/setup/wizard/steps/AddModelDialog.js +8 -8
  1828. package/dist/setup/wizard/steps/AddModelDialog.js.map +1 -1
  1829. package/dist/setup/wizard/steps/ImportModelDialog.js +38 -87
  1830. package/dist/setup/wizard/steps/ImportModelDialog.js.map +1 -1
  1831. package/dist/splash-screen/DialogWrappers.js +2 -2
  1832. package/dist/splash-screen/DialogWrappers.js.map +1 -1
  1833. package/dist/splash-screen/ModernSplashScreen.d.ts +7 -0
  1834. package/dist/splash-screen/ModernSplashScreen.js +582 -62
  1835. package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
  1836. package/dist/splash-screen/NewPage.js +41 -17
  1837. package/dist/splash-screen/NewPage.js.map +1 -1
  1838. package/dist/splash-screen/OpenPage.js +17 -21
  1839. package/dist/splash-screen/OpenPage.js.map +1 -1
  1840. package/dist/splash-screen/ParheliaAssistantChat.js +13 -12
  1841. package/dist/splash-screen/ParheliaAssistantChat.js.map +1 -1
  1842. package/dist/splash-screen/RecentPages.d.ts +4 -1
  1843. package/dist/splash-screen/RecentPages.js +29 -26
  1844. package/dist/splash-screen/RecentPages.js.map +1 -1
  1845. package/dist/task-board/TaskBoardWorkspace.js +465 -196
  1846. package/dist/task-board/TaskBoardWorkspace.js.map +1 -1
  1847. package/dist/task-board/components/AddDependencyDialog.js +5 -2
  1848. package/dist/task-board/components/AddDependencyDialog.js.map +1 -1
  1849. package/dist/task-board/components/CommentsList.js +22 -9
  1850. package/dist/task-board/components/CommentsList.js.map +1 -1
  1851. package/dist/task-board/components/CreateProjectDialog.js +10 -10
  1852. package/dist/task-board/components/CreateProjectDialog.js.map +1 -1
  1853. package/dist/task-board/components/CreateTaskDialog.js +13 -8
  1854. package/dist/task-board/components/CreateTaskDialog.js.map +1 -1
  1855. package/dist/task-board/components/FinishedProjectCard.d.ts +5 -0
  1856. package/dist/task-board/components/FinishedProjectCard.js +8 -0
  1857. package/dist/task-board/components/FinishedProjectCard.js.map +1 -0
  1858. package/dist/task-board/components/ItemCollectionEditorDialog.js +1 -1
  1859. package/dist/task-board/components/ItemCollectionEditorDialog.js.map +1 -1
  1860. package/dist/task-board/components/ItemCollectionPicker.js +3 -3
  1861. package/dist/task-board/components/ItemCollectionPicker.js.map +1 -1
  1862. package/dist/task-board/components/ProjectBudgetBanner.d.ts +13 -0
  1863. package/dist/task-board/components/ProjectBudgetBanner.js +13 -0
  1864. package/dist/task-board/components/ProjectBudgetBanner.js.map +1 -0
  1865. package/dist/task-board/components/ProjectDashboard.d.ts +21 -21
  1866. package/dist/task-board/components/ProjectDashboard.js +217 -127
  1867. package/dist/task-board/components/ProjectDashboard.js.map +1 -1
  1868. package/dist/task-board/components/ProjectExecutionUserPicker.js +15 -61
  1869. package/dist/task-board/components/ProjectExecutionUserPicker.js.map +1 -1
  1870. package/dist/task-board/components/ProjectListContent.d.ts +1 -0
  1871. package/dist/task-board/components/ProjectListContent.js +12 -10
  1872. package/dist/task-board/components/ProjectListContent.js.map +1 -1
  1873. package/dist/task-board/components/ProjectOverviewContent.js +15 -84
  1874. package/dist/task-board/components/ProjectOverviewContent.js.map +1 -1
  1875. package/dist/task-board/components/ProjectPropertiesPanel.d.ts +2 -0
  1876. package/dist/task-board/components/ProjectPropertiesPanel.js +17 -13
  1877. package/dist/task-board/components/ProjectPropertiesPanel.js.map +1 -1
  1878. package/dist/task-board/components/ProjectSettingsDialog.d.ts +18 -0
  1879. package/dist/task-board/components/ProjectSettingsDialog.js +66 -48
  1880. package/dist/task-board/components/ProjectSettingsDialog.js.map +1 -1
  1881. package/dist/task-board/components/TaskAgentPanel.d.ts +4 -0
  1882. package/dist/task-board/components/TaskAgentPanel.js +23 -8
  1883. package/dist/task-board/components/TaskAgentPanel.js.map +1 -1
  1884. package/dist/task-board/components/TaskAssigneeBadge.d.ts +16 -0
  1885. package/dist/task-board/components/TaskAssigneeBadge.js +21 -0
  1886. package/dist/task-board/components/TaskAssigneeBadge.js.map +1 -0
  1887. package/dist/task-board/components/TaskAssigneePicker.js +18 -7
  1888. package/dist/task-board/components/TaskAssigneePicker.js.map +1 -1
  1889. package/dist/task-board/components/TaskAttachmentDropZone.d.ts +11 -0
  1890. package/dist/task-board/components/TaskAttachmentDropZone.js +100 -0
  1891. package/dist/task-board/components/TaskAttachmentDropZone.js.map +1 -0
  1892. package/dist/task-board/components/TaskAttachmentsSection.d.ts +1 -0
  1893. package/dist/task-board/components/TaskAttachmentsSection.js +19 -41
  1894. package/dist/task-board/components/TaskAttachmentsSection.js.map +1 -1
  1895. package/dist/task-board/components/TaskBoardBreadcrumb.d.ts +17 -0
  1896. package/dist/task-board/components/TaskBoardBreadcrumb.js +14 -0
  1897. package/dist/task-board/components/TaskBoardBreadcrumb.js.map +1 -0
  1898. package/dist/task-board/components/TaskBoardFilterBox.d.ts +4 -0
  1899. package/dist/task-board/components/TaskBoardFilterBox.js +7 -0
  1900. package/dist/task-board/components/TaskBoardFilterBox.js.map +1 -0
  1901. package/dist/task-board/components/TaskBoardHomeView.d.ts +7 -0
  1902. package/dist/task-board/components/TaskBoardHomeView.js +21 -0
  1903. package/dist/task-board/components/TaskBoardHomeView.js.map +1 -0
  1904. package/dist/task-board/components/TaskBoardMyTasksSidebar.js +26 -29
  1905. package/dist/task-board/components/TaskBoardMyTasksSidebar.js.map +1 -1
  1906. package/dist/task-board/components/TaskBoardProjectListSidebar.js +70 -14
  1907. package/dist/task-board/components/TaskBoardProjectListSidebar.js.map +1 -1
  1908. package/dist/task-board/components/TaskBoardProjectSelector.d.ts +8 -0
  1909. package/dist/task-board/components/TaskBoardProjectSelector.js +20 -0
  1910. package/dist/task-board/components/TaskBoardProjectSelector.js.map +1 -0
  1911. package/dist/task-board/components/TaskBoardTitlebar.js +8 -13
  1912. package/dist/task-board/components/TaskBoardTitlebar.js.map +1 -1
  1913. package/dist/task-board/components/TaskCard.js +29 -10
  1914. package/dist/task-board/components/TaskCard.js.map +1 -1
  1915. package/dist/task-board/components/TaskDetailPanel.d.ts +1 -0
  1916. package/dist/task-board/components/TaskDetailPanel.js +45 -32
  1917. package/dist/task-board/components/TaskDetailPanel.js.map +1 -1
  1918. package/dist/task-board/components/TaskReviewActions.d.ts +1 -0
  1919. package/dist/task-board/components/TaskReviewActions.js +7 -4
  1920. package/dist/task-board/components/TaskReviewActions.js.map +1 -1
  1921. package/dist/task-board/components/TaskRow.js +17 -18
  1922. package/dist/task-board/components/TaskRow.js.map +1 -1
  1923. package/dist/task-board/components/TaskboardPersistentLogPanel.js +17 -10
  1924. package/dist/task-board/components/TaskboardPersistentLogPanel.js.map +1 -1
  1925. package/dist/task-board/components/WizardCommunicationCards.js +7 -5
  1926. package/dist/task-board/components/WizardCommunicationCards.js.map +1 -1
  1927. package/dist/task-board/components/WizardCommunicationCenter.d.ts +7 -1
  1928. package/dist/task-board/components/WizardCommunicationCenter.js +14 -7
  1929. package/dist/task-board/components/WizardCommunicationCenter.js.map +1 -1
  1930. package/dist/task-board/components/WizardCommunicationShared.js +22 -22
  1931. package/dist/task-board/components/WizardCommunicationShared.js.map +1 -1
  1932. package/dist/task-board/components/WizardTask.d.ts +5 -1
  1933. package/dist/task-board/components/WizardTask.js +14 -31
  1934. package/dist/task-board/components/WizardTask.js.map +1 -1
  1935. package/dist/task-board/components/WizardTaskDetailsPanel.d.ts +10 -2
  1936. package/dist/task-board/components/WizardTaskDetailsPanel.js +57 -11
  1937. package/dist/task-board/components/WizardTaskDetailsPanel.js.map +1 -1
  1938. package/dist/task-board/persistentLogCopy.js +3 -1
  1939. package/dist/task-board/persistentLogCopy.js.map +1 -1
  1940. package/dist/task-board/persistentLogLabels.js.map +1 -1
  1941. package/dist/task-board/services/taskService.d.ts +7 -0
  1942. package/dist/task-board/services/taskService.js +8 -2
  1943. package/dist/task-board/services/taskService.js.map +1 -1
  1944. package/dist/task-board/taskAgentConfig.js +6 -2
  1945. package/dist/task-board/taskAgentConfig.js.map +1 -1
  1946. package/dist/task-board/taskAgentLink.js +1 -3
  1947. package/dist/task-board/taskAgentLink.js.map +1 -1
  1948. package/dist/task-board/taskBoardNavStore.d.ts +4 -2
  1949. package/dist/task-board/taskBoardNavStore.js +45 -2
  1950. package/dist/task-board/taskBoardNavStore.js.map +1 -1
  1951. package/dist/task-board/taskExecutionRecords.js.map +1 -1
  1952. package/dist/task-board/taskExecutionStatus.js +14 -19
  1953. package/dist/task-board/taskExecutionStatus.js.map +1 -1
  1954. package/dist/task-board/taskPriority.d.ts +4 -0
  1955. package/dist/task-board/taskPriority.js +19 -0
  1956. package/dist/task-board/taskPriority.js.map +1 -0
  1957. package/dist/task-board/taskStatus.js +2 -2
  1958. package/dist/task-board/taskStatus.js.map +1 -1
  1959. package/dist/task-board/useTaskBoardAgentPanelState.js +1 -3
  1960. package/dist/task-board/useTaskBoardAgentPanelState.js.map +1 -1
  1961. package/dist/task-board/utils/projectHierarchy.js.map +1 -1
  1962. package/dist/task-board/utils/taskDependencyOrdering.js +2 -1
  1963. package/dist/task-board/utils/taskDependencyOrdering.js.map +1 -1
  1964. package/dist/task-board/views/DependencyGraphView.d.ts +42 -1
  1965. package/dist/task-board/views/DependencyGraphView.js +239 -74
  1966. package/dist/task-board/views/DependencyGraphView.js.map +1 -1
  1967. package/dist/task-board/views/KanbanView.js +312 -49
  1968. package/dist/task-board/views/KanbanView.js.map +1 -1
  1969. package/dist/task-board/views/ListView.js +6 -5
  1970. package/dist/task-board/views/ListView.js.map +1 -1
  1971. package/dist/task-board/views/WizardView.d.ts +2 -0
  1972. package/dist/task-board/views/WizardView.js +36 -29
  1973. package/dist/task-board/views/WizardView.js.map +1 -1
  1974. package/dist/tour/Tour.js +7 -7
  1975. package/dist/tour/Tour.js.map +1 -1
  1976. package/dist/tour/default-tour.js +169 -17
  1977. package/dist/tour/default-tour.js.map +1 -1
  1978. package/dist/tour/preview-tour.js +1 -1
  1979. package/dist/tour/preview-tour.js.map +1 -1
  1980. package/dist/types.d.ts +16 -1
  1981. package/images/Parhelia-Onboarding-BG.jpg +0 -0
  1982. package/package.json +13 -1
  1983. package/styles.css +320 -843
  1984. package/dist/agents-view/AgentsInbox.d.ts +0 -26
  1985. package/dist/agents-view/AgentsInbox.js +0 -31
  1986. package/dist/agents-view/AgentsInbox.js.map +0 -1
  1987. package/dist/components/Error.d.ts +0 -9
  1988. package/dist/components/Error.js +0 -24
  1989. package/dist/components/Error.js.map +0 -1
  1990. package/dist/components/FilterInput.d.ts +0 -22
  1991. package/dist/components/FilterInput.js +0 -29
  1992. package/dist/components/FilterInput.js.map +0 -1
  1993. package/dist/components/ui/menubar.d.ts +0 -26
  1994. package/dist/components/ui/menubar.js +0 -55
  1995. package/dist/components/ui/menubar.js.map +0 -1
  1996. package/dist/config/types/index.d.ts +0 -2
  1997. package/dist/config/types/index.js +0 -4
  1998. package/dist/config/types/index.js.map +0 -1
  1999. package/dist/editor/FloatingToolbar.d.ts +0 -7
  2000. package/dist/editor/FloatingToolbar.js +0 -91
  2001. package/dist/editor/FloatingToolbar.js.map +0 -1
  2002. package/dist/editor/NewEditorClient.d.ts +0 -5
  2003. package/dist/editor/NewEditorClient.js +0 -7
  2004. package/dist/editor/NewEditorClient.js.map +0 -1
  2005. package/dist/editor/PictureEditorDialog.d.ts +0 -8
  2006. package/dist/editor/PictureEditorDialog.js +0 -198
  2007. package/dist/editor/PictureEditorDialog.js.map +0 -1
  2008. package/dist/editor/SetupLoadingScreen.d.ts +0 -5
  2009. package/dist/editor/SetupLoadingScreen.js +0 -11
  2010. package/dist/editor/SetupLoadingScreen.js.map +0 -1
  2011. package/dist/editor/ai/AgentBanners.js +0 -16
  2012. package/dist/editor/ai/AgentBanners.js.map +0 -1
  2013. package/dist/editor/ai/AgentCostDisplay.js +0 -116
  2014. package/dist/editor/ai/AgentCostDisplay.js.map +0 -1
  2015. package/dist/editor/ai/AgentDocumentList.d.ts +0 -12
  2016. package/dist/editor/ai/AgentDocumentList.js +0 -335
  2017. package/dist/editor/ai/AgentDocumentList.js.map +0 -1
  2018. package/dist/editor/ai/AgentGreeting.d.ts +0 -8
  2019. package/dist/editor/ai/AgentGreeting.js +0 -14
  2020. package/dist/editor/ai/AgentGreeting.js.map +0 -1
  2021. package/dist/editor/ai/AgentTerminalStatusBar.d.ts +0 -72
  2022. package/dist/editor/ai/AgentTerminalStatusBar.js +0 -888
  2023. package/dist/editor/ai/AgentTerminalStatusBar.js.map +0 -1
  2024. package/dist/editor/ai/AiResponseMessage.d.ts +0 -33
  2025. package/dist/editor/ai/AiResponseMessage.js +0 -1239
  2026. package/dist/editor/ai/AiResponseMessage.js.map +0 -1
  2027. package/dist/editor/ai/ContextInfoBar.d.ts +0 -14
  2028. package/dist/editor/ai/ContextInfoBar.js +0 -653
  2029. package/dist/editor/ai/ContextInfoBar.js.map +0 -1
  2030. package/dist/editor/ai/DancingDots.d.ts +0 -1
  2031. package/dist/editor/ai/DancingDots.js +0 -6
  2032. package/dist/editor/ai/DancingDots.js.map +0 -1
  2033. package/dist/editor/ai/EditOperationsPanel.d.ts +0 -7
  2034. package/dist/editor/ai/EditOperationsPanel.js +0 -91
  2035. package/dist/editor/ai/EditOperationsPanel.js.map +0 -1
  2036. package/dist/editor/ai/HeartbeatMessage.d.ts +0 -4
  2037. package/dist/editor/ai/HeartbeatMessage.js +0 -7
  2038. package/dist/editor/ai/HeartbeatMessage.js.map +0 -1
  2039. package/dist/editor/ai/InitialThinkingSplash.d.ts +0 -3
  2040. package/dist/editor/ai/InitialThinkingSplash.js +0 -9
  2041. package/dist/editor/ai/InitialThinkingSplash.js.map +0 -1
  2042. package/dist/editor/ai/QueuedPromptsPanel.d.ts +0 -4
  2043. package/dist/editor/ai/QueuedPromptsPanel.js +0 -37
  2044. package/dist/editor/ai/QueuedPromptsPanel.js.map +0 -1
  2045. package/dist/editor/ai/SpawnedAgentsPanel.d.ts +0 -6
  2046. package/dist/editor/ai/SpawnedAgentsPanel.js +0 -101
  2047. package/dist/editor/ai/SpawnedAgentsPanel.js.map +0 -1
  2048. package/dist/editor/ai/TodoListPanel.d.ts +0 -5
  2049. package/dist/editor/ai/TodoListPanel.js +0 -113
  2050. package/dist/editor/ai/TodoListPanel.js.map +0 -1
  2051. package/dist/editor/ai/ToolCallDisplay.d.ts +0 -80
  2052. package/dist/editor/ai/ToolCallDisplay.js +0 -865
  2053. package/dist/editor/ai/ToolCallDisplay.js.map +0 -1
  2054. package/dist/editor/ai/UserMessage.d.ts +0 -4
  2055. package/dist/editor/ai/UserMessage.js +0 -42
  2056. package/dist/editor/ai/UserMessage.js.map +0 -1
  2057. package/dist/editor/ai/agentDiagnostics.test.js +0 -181
  2058. package/dist/editor/ai/agentDiagnostics.test.js.map +0 -1
  2059. package/dist/editor/ai/useAgentPanes.test.d.ts +0 -1
  2060. package/dist/editor/ai/useAgentPanes.test.js +0 -198
  2061. package/dist/editor/ai/useAgentPanes.test.js.map +0 -1
  2062. package/dist/editor/client/GenericDialog.d.ts +0 -10
  2063. package/dist/editor/client/GenericDialog.js +0 -25
  2064. package/dist/editor/client/GenericDialog.js.map +0 -1
  2065. package/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +0 -8
  2066. package/dist/editor/commands/localizeItem/LocalizeItemDialog.js +0 -91
  2067. package/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +0 -1
  2068. package/dist/editor/content-tree/index.d.ts +0 -3
  2069. package/dist/editor/content-tree/index.js +0 -4
  2070. package/dist/editor/content-tree/index.js.map +0 -1
  2071. package/dist/editor/context-menu/CopyMoveMenu.d.ts +0 -7
  2072. package/dist/editor/context-menu/CopyMoveMenu.js +0 -58
  2073. package/dist/editor/context-menu/CopyMoveMenu.js.map +0 -1
  2074. package/dist/editor/menubar/ApproveAndPublish.d.ts +0 -1
  2075. package/dist/editor/menubar/ApproveAndPublish.js +0 -13
  2076. package/dist/editor/menubar/ApproveAndPublish.js.map +0 -1
  2077. package/dist/editor/menubar/ItemToolbar.d.ts +0 -1
  2078. package/dist/editor/menubar/ItemToolbar.js +0 -12
  2079. package/dist/editor/menubar/ItemToolbar.js.map +0 -1
  2080. package/dist/editor/menubar/NavButtons.d.ts +0 -1
  2081. package/dist/editor/menubar/NavButtons.js +0 -40
  2082. package/dist/editor/menubar/NavButtons.js.map +0 -1
  2083. package/dist/editor/menubar/SiteInfo.d.ts +0 -1
  2084. package/dist/editor/menubar/SiteInfo.js +0 -27
  2085. package/dist/editor/menubar/SiteInfo.js.map +0 -1
  2086. package/dist/editor/menubar/UserMenu.d.ts +0 -5
  2087. package/dist/editor/menubar/UserMenu.js +0 -33
  2088. package/dist/editor/menubar/UserMenu.js.map +0 -1
  2089. package/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +0 -6
  2090. package/dist/editor/page-editor-chrome/CommentHighlighting.js +0 -316
  2091. package/dist/editor/page-editor-chrome/CommentHighlighting.js.map +0 -1
  2092. package/dist/editor/page-editor-chrome/InlineEditor.d.ts +0 -5
  2093. package/dist/editor/page-editor-chrome/InlineEditor.js +0 -832
  2094. package/dist/editor/page-editor-chrome/InlineEditor.js.map +0 -1
  2095. package/dist/editor/page-editor-chrome/SuggestionHighlighting.d.ts +0 -6
  2096. package/dist/editor/page-editor-chrome/SuggestionHighlighting.js +0 -224
  2097. package/dist/editor/page-editor-chrome/SuggestionHighlighting.js.map +0 -1
  2098. package/dist/editor/page-editor-chrome/useInlineAICompletion.d.ts +0 -7
  2099. package/dist/editor/page-editor-chrome/useInlineAICompletion.js +0 -728
  2100. package/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +0 -1
  2101. package/dist/editor/page-viewer/pageModelSkeletonBuilder.d.ts +0 -3
  2102. package/dist/editor/page-viewer/pageModelSkeletonBuilder.js +0 -423
  2103. package/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +0 -1
  2104. package/dist/editor/picture-shared.d.ts +0 -16
  2105. package/dist/editor/picture-shared.js +0 -25
  2106. package/dist/editor/picture-shared.js.map +0 -1
  2107. package/dist/editor/registry/SidebarRegistry.d.ts +0 -96
  2108. package/dist/editor/registry/SidebarRegistry.js +0 -166
  2109. package/dist/editor/registry/SidebarRegistry.js.map +0 -1
  2110. package/dist/editor/registry/WorkspaceRegistry.d.ts +0 -71
  2111. package/dist/editor/registry/WorkspaceRegistry.js +0 -112
  2112. package/dist/editor/registry/WorkspaceRegistry.js.map +0 -1
  2113. package/dist/editor/registry/index.d.ts +0 -2
  2114. package/dist/editor/registry/index.js +0 -4
  2115. package/dist/editor/registry/index.js.map +0 -1
  2116. package/dist/editor/reviews/PagesPanel.d.ts +0 -21
  2117. package/dist/editor/reviews/PagesPanel.js +0 -140
  2118. package/dist/editor/reviews/PagesPanel.js.map +0 -1
  2119. package/dist/editor/reviews/PreviewInfo.d.ts +0 -1
  2120. package/dist/editor/reviews/PreviewInfo.js +0 -9
  2121. package/dist/editor/reviews/PreviewInfo.js.map +0 -1
  2122. package/dist/editor/services/agentDialogService.test.d.ts +0 -1
  2123. package/dist/editor/services/agentDialogService.test.js +0 -56
  2124. package/dist/editor/services/agentDialogService.test.js.map +0 -1
  2125. package/dist/editor/services/agentSubscriptionRegistry.test.d.ts +0 -1
  2126. package/dist/editor/services/agentSubscriptionRegistry.test.js +0 -104
  2127. package/dist/editor/services/agentSubscriptionRegistry.test.js.map +0 -1
  2128. package/dist/editor/services-server/api.d.ts +0 -18
  2129. package/dist/editor/services-server/api.js +0 -116
  2130. package/dist/editor/services-server/api.js.map +0 -1
  2131. package/dist/editor/settings/Info.d.ts +0 -1
  2132. package/dist/editor/settings/Info.js +0 -11
  2133. package/dist/editor/settings/Info.js.map +0 -1
  2134. package/dist/editor/settings/Status.d.ts +0 -1
  2135. package/dist/editor/settings/Status.js +0 -89
  2136. package/dist/editor/settings/Status.js.map +0 -1
  2137. package/dist/editor/settings/WebSocketMessages.d.ts +0 -1
  2138. package/dist/editor/settings/WebSocketMessages.js +0 -74
  2139. package/dist/editor/settings/WebSocketMessages.js.map +0 -1
  2140. package/dist/editor/settings/panels/useSidebarEditor.d.ts +0 -15
  2141. package/dist/editor/settings/panels/useSidebarEditor.js +0 -24
  2142. package/dist/editor/settings/panels/useSidebarEditor.js.map +0 -1
  2143. package/dist/editor/sidebar/Divider.d.ts +0 -6
  2144. package/dist/editor/sidebar/Divider.js +0 -6
  2145. package/dist/editor/sidebar/Divider.js.map +0 -1
  2146. package/dist/editor/sidebar/LabelButton.d.ts +0 -5
  2147. package/dist/editor/sidebar/LabelButton.js +0 -12
  2148. package/dist/editor/sidebar/LabelButton.js.map +0 -1
  2149. package/dist/editor/sidebar/Performance.d.ts +0 -1
  2150. package/dist/editor/sidebar/Performance.js +0 -32
  2151. package/dist/editor/sidebar/Performance.js.map +0 -1
  2152. package/dist/editor/sidebar/SEOInfo.d.ts +0 -1
  2153. package/dist/editor/sidebar/SEOInfo.js +0 -158
  2154. package/dist/editor/sidebar/SEOInfo.js.map +0 -1
  2155. package/dist/editor/sidebar/Sidebar.d.ts +0 -1
  2156. package/dist/editor/sidebar/Sidebar.js +0 -11
  2157. package/dist/editor/sidebar/Sidebar.js.map +0 -1
  2158. package/dist/editor/ui/Toolbar.d.ts +0 -3
  2159. package/dist/editor/ui/Toolbar.js +0 -5
  2160. package/dist/editor/ui/Toolbar.js.map +0 -1
  2161. package/dist/editor/utils/useMemoDebug.d.ts +0 -1
  2162. package/dist/editor/utils/useMemoDebug.js +0 -18
  2163. package/dist/editor/utils/useMemoDebug.js.map +0 -1
  2164. package/dist/editor/views/ParheliaView.d.ts +0 -5
  2165. package/dist/editor/views/ParheliaView.js +0 -181
  2166. package/dist/editor/views/ParheliaView.js.map +0 -1
  2167. package/dist/setup/utils/modelPricing.d.ts +0 -7
  2168. package/dist/setup/utils/modelPricing.js +0 -106
  2169. package/dist/setup/utils/modelPricing.js.map +0 -1
  2170. package/dist/splash-screen/ParheliaLogo.d.ts +0 -4
  2171. package/dist/splash-screen/ParheliaLogo.js +0 -134
  2172. package/dist/splash-screen/ParheliaLogo.js.map +0 -1
  2173. package/dist/splash-screen/SectionHeadline.d.ts +0 -4
  2174. package/dist/splash-screen/SectionHeadline.js +0 -7
  2175. package/dist/splash-screen/SectionHeadline.js.map +0 -1
  2176. package/dist/task-board/components/ProjectAgentsPanel.d.ts +0 -4
  2177. package/dist/task-board/components/ProjectAgentsPanel.js +0 -156
  2178. package/dist/task-board/components/ProjectAgentsPanel.js.map +0 -1
  2179. package/dist/task-board/components/ProjectSelector.d.ts +0 -20
  2180. package/dist/task-board/components/ProjectSelector.js +0 -10
  2181. package/dist/task-board/components/ProjectSelector.js.map +0 -1
  2182. package/dist/task-board/components/TaskDetailDialog.d.ts +0 -12
  2183. package/dist/task-board/components/TaskDetailDialog.js +0 -8
  2184. package/dist/task-board/components/TaskDetailDialog.js.map +0 -1
  2185. package/dist/task-board/index.d.ts +0 -15
  2186. package/dist/task-board/index.js +0 -18
  2187. package/dist/task-board/index.js.map +0 -1
  2188. package/dist/task-board/views/PlanningView.d.ts +0 -7
  2189. package/dist/task-board/views/PlanningView.js +0 -112
  2190. package/dist/task-board/views/PlanningView.js.map +0 -1
  2191. package/dist/test/setup.d.ts +0 -0
  2192. package/dist/test/setup.js +0 -37
  2193. package/dist/test/setup.js.map +0 -1
  2194. package/images/bg-shape-black.webp +0 -0
  2195. package/images/parhelia-logo-1.jpg +0 -0
  2196. package/images/phlogo.png +0 -0
  2197. package/images/wizard-bg.png +0 -0
  2198. /package/dist/editor/ai/{AgentBanners.d.ts → terminal/components/AgentBanners.d.ts} +0 -0
  2199. /package/dist/editor/ai/{AgentCostDisplay.d.ts → terminal/components/AgentCostDisplay.d.ts} +0 -0
  2200. /package/dist/{editor/ai/agentDiagnostics.test.d.ts → logging/install-browser-console.d.ts} +0 -0
@@ -24,48 +24,51 @@ export function AspectRatioSelector({ selectedRatio, onRatioChange, lockedRatio,
24
24
  return (_jsxs("div", { className: cn("space-y-2", className), children: [_jsx("div", { className: "text-sm font-medium", children: "Aspect Ratio" }), _jsx("div", { className: "flex flex-wrap gap-2", children: finalRatios.map((option) => (_jsx(AspectRatioTile, { option: option, selected: selectedRatio === option.ratio, onClick: () => onRatioChange(option.ratio), disabled: lockedRatio !== undefined && lockedRatio !== option.ratio }, option.label))) })] }));
25
25
  }
26
26
  function AspectRatioTile({ option, selected, onClick, disabled, }) {
27
- // Calculate rectangle dimensions within the 64x64 tile
27
+ // Keep the button hit target stable, but draw the selected surface at
28
+ // the represented aspect ratio so locked ratios do not read as squares.
28
29
  const tileSize = 64;
29
- const padding = 8;
30
- const maxWidth = tileSize - padding * 2;
31
- const maxHeight = tileSize - padding * 2;
32
- let rectWidth;
33
- let rectHeight;
30
+ const maxWidth = tileSize;
31
+ const maxHeight = tileSize;
32
+ let previewWidth;
33
+ let previewHeight;
34
34
  if (option.ratio === null) {
35
35
  // Free form - show a dashed rectangle
36
- rectWidth = maxWidth * 0.8;
37
- rectHeight = maxHeight * 0.8;
36
+ previewWidth = maxWidth * 0.8;
37
+ previewHeight = maxHeight * 0.8;
38
38
  }
39
39
  else {
40
40
  // Calculate rectangle size that fits within the tile while maintaining aspect ratio
41
41
  const aspectRatio = option.ratio;
42
42
  if (aspectRatio >= 1) {
43
43
  // Landscape or square
44
- rectWidth = maxWidth;
45
- rectHeight = rectWidth / aspectRatio;
46
- if (rectHeight > maxHeight) {
47
- rectHeight = maxHeight;
48
- rectWidth = rectHeight * aspectRatio;
44
+ previewWidth = maxWidth;
45
+ previewHeight = previewWidth / aspectRatio;
46
+ if (previewHeight > maxHeight) {
47
+ previewHeight = maxHeight;
48
+ previewWidth = previewHeight * aspectRatio;
49
49
  }
50
50
  }
51
51
  else {
52
52
  // Portrait
53
- rectHeight = maxHeight;
54
- rectWidth = rectHeight * aspectRatio;
55
- if (rectWidth > maxWidth) {
56
- rectWidth = maxWidth;
57
- rectHeight = rectWidth / aspectRatio;
53
+ previewHeight = maxHeight;
54
+ previewWidth = previewHeight * aspectRatio;
55
+ if (previewWidth > maxWidth) {
56
+ previewWidth = maxWidth;
57
+ previewHeight = previewWidth / aspectRatio;
58
58
  }
59
59
  }
60
60
  }
61
- return (_jsxs("div", { className: "flex flex-col items-center gap-1", children: [_jsx("button", { onClick: onClick, disabled: disabled, className: cn("relative rounded border-2 transition-all", "hover:border-theme-secondary/50 focus:ring-theme-secondary/20 flex items-center justify-center focus:ring-2 focus:outline-none", {
62
- "border-theme-secondary bg-theme-secondary/10": selected,
63
- "border-gray-300 bg-gray-100": !selected,
61
+ return (_jsxs("div", { className: "flex w-16 flex-col items-center gap-1", children: [_jsx("button", { "aria-label": `${option.label} aspect ratio`, "aria-pressed": selected, onClick: onClick, disabled: disabled, className: cn("group flex items-center justify-center rounded transition-all", "focus:ring-highlight-100/20 focus:ring-2 focus:outline-none", {
64
62
  "cursor-not-allowed opacity-50": disabled,
65
63
  "cursor-pointer": !disabled,
66
- }), style: { width: tileSize, height: tileSize }, title: option.description, children: _jsx("div", { className: "border-gray-1 border", style: {
67
- width: rectWidth,
68
- height: rectHeight,
69
- } }) }), _jsx("div", { className: "text-xs text-gray-600", children: option.label })] }));
64
+ }), style: { width: tileSize, height: tileSize }, title: option.description, children: _jsx("div", { className: cn("border-border-default rounded border-2", {
65
+ "border-highlight-100 bg-highlight-100/10": selected,
66
+ "bg-neutral-grey-5 group-hover:border-highlight-100/50": !selected && !disabled,
67
+ "bg-neutral-grey-5": !selected,
68
+ "border-dashed": option.ratio === null,
69
+ }), style: {
70
+ width: previewWidth,
71
+ height: previewHeight,
72
+ } }) }), _jsx("div", { className: "text-neutral-grey-50 text-xs", children: option.label })] }));
70
73
  }
71
74
  //# sourceMappingURL=AspectRatioSelector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AspectRatioSelector.js","sourceRoot":"","sources":["../../src/editor/AspectRatioSelector.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAelC,uBAAuB;AACvB,MAAM,iBAAiB,GAAwB;IAC7C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE;IACxD,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE;IACjD,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE;IACvD,EAAE,KAAK,EAAE,KAAK,EAAE,K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QACH,CAAC;aAAM,CAAC;YACN,WAAW;YACX,aAAa,GAAG,SAAS,CAAC;YAC1B,YAAY,GAAG,aAAa,GAAG,WAAW,CAAC;YAE3C,IAAI,YAAY,GAAG,QAAQ,EAAE,CAAC;gBAC5B,YAAY,GAAG,QAAQ,CAAC;gBACxB,aAAa,GAAG,YAAY,GAAG,WAAW,CAAC;YAC7C,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,CACL,eAAK,SAAS,EAAC,uCAAuC,aACpD,+BACc,GAAG,MAAM,CAAC,KAAK,eAAe,kBAC5B,QAAQ,EACtB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,EAAE,CACX,+DAA+D,EAC/D,6DAA6D,EAC7D;oBACE,+BAA+B,EAAE,QAAQ;oBACzC,gBAAgB,EAAE,CAAC,QAAQ;iBAC5B,CACF,EACD,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,EAC5C,KAAK,EAAE,MAAM,CAAC,WAAW,YAEzB,cACE,SAAS,EAAE,EAAE,CAAC,wCAAwC,EAAE;wBACtD,0CAA0C,EAAE,QAAQ;wBACpD,uDAAuD,EACrD,CAAC,QAAQ,IAAI,CAAC,QAAQ;wBACxB,mBAAmB,EAAE,CAAC,QAAQ;wBAC9B,eAAe,EAAE,MAAM,CAAC,KAAK,KAAK,IAAI;qBACvC,CAAC,EACF,KAAK,EAAE;wBACL,KAAK,EAAE,YAAY;wBACnB,MAAM,EAAE,aAAa;qBACtB,GACD,GACK,EACT,cAAK,SAAS,EAAC,8BAA8B,YAAE,MAAM,CAAC,KAAK,GAAO,IAC9D,CACP,CAAC;AACJ,CAAC"}
@@ -79,7 +79,14 @@ export function ConcurrentUserLimitDialog({ open, onOpenChange, sessionId, curre
79
79
  return () => {
80
80
  clearInterval(interval);
81
81
  };
82
- }, [open, sessionId, onRetry, onOpenChange, isAdministrator, refreshActiveUsers]);
82
+ }, [
83
+ open,
84
+ sessionId,
85
+ onRetry,
86
+ onOpenChange,
87
+ isAdministrator,
88
+ refreshActiveUsers,
89
+ ]);
83
90
  const handleManualRetry = async () => {
84
91
  setIsChecking(true);
85
92
  try {
@@ -135,9 +142,9 @@ export function ConcurrentUserLimitDialog({ open, onOpenChange, sessionId, curre
135
142
  }
136
143
  };
137
144
  return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { className: isAdministrator
138
- ? "sm:max-w-[640px] flex max-h-[min(90vh,calc(100dvh-2rem))] flex-col overflow-hidden"
139
- : "sm:max-w-[500px]", children: [_jsx(DialogHeader, { className: "shrink-0", children: _jsxs("div", { className: "flex items-start gap-4", children: [_jsx("div", { className: "flex size-10 shrink-0 items-center justify-center rounded-full bg-amber-50 text-amber-600", children: _jsx(Users, { className: "size-5", strokeWidth: 2 }) }), _jsxs("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [_jsx(DialogTitle, { className: "text-xl font-bold", children: "Concurrent User Limit Reached" }), _jsxs("div", { className: "text-sm leading-relaxed text-muted-foreground mt-1", children: [_jsx("p", { className: "mb-3", children: displayMessage }), _jsxs("div", { className: "flex items-center gap-2 text-amber-700 bg-amber-50 border border-amber-200 rounded-lg p-3", children: [_jsx(AlertCircle, { className: "size-4 shrink-0" }), _jsxs("span", { className: "text-xs", children: ["Currently ", displayCurrentUsers, " of ", displayMaxUsers, " user slots are in use."] })] })] })] })] }) }), isAdministrator && (_jsxs("div", { className: "mt-6 flex min-h-0 flex-1 flex-col gap-2 border-t border-border/60 px-6 pb-2 pt-6", children: [_jsx("p", { className: "text-sm font-medium text-foreground", children: "Active users (license seats)" }), _jsx("p", { className: "text-xs text-muted-foreground", children: "Oldest connections first. Disconnect ends that user's editor session so a seat may become available." }), activeUsersLoading && activeUsers.length === 0 ? (_jsxs("div", { className: "flex items-center gap-2 py-4 text-sm text-muted-foreground", children: [_jsx(Spinner, { className: "size-4" }), "Loading\u2026"] })) : activeUsers.length === 0 ? (_jsx("p", { className: "text-sm text-muted-foreground py-2", children: "No active license users found." })) : (_jsx("div", { className: "min-h-0 flex-1 overflow-y-auto rounded-md border", children: _jsxs("table", { className: "w-full text-sm", children: [_jsx("thead", { className: "sticky top-0 z-[1] border-b border-border/60 bg-muted/95 text-left text-xs text-muted-foreground backdrop-blur-sm supports-[backdrop-filter]:bg-muted/80", children: _jsxs("tr", { children: [_jsx("th", { className: "px-3 py-2 font-medium", children: "User" }), _jsx("th", { className: "px-3 py-2 font-medium w-24", children: "Tabs" }), _jsx("th", { className: "px-3 py-2 font-medium", children: "Connected" }), _jsx("th", { className: "px-3 py-2 font-medium w-[140px]" })] }) }), _jsx("tbody", { children: activeUsers.map((row) => (_jsxs("tr", { className: "border-t border-border/60", children: [_jsxs("td", { className: "px-3 py-2 align-top", children: [_jsx("div", { className: "font-medium text-foreground truncate max-w-[220px]", children: row.fullName?.trim() || row.userName }), row.fullName?.trim() ? (_jsx("div", { className: "text-xs text-muted-foreground truncate max-w-[220px]", children: row.userName })) : null] }), _jsx("td", { className: "px-3 py-2 align-top text-muted-foreground", children: row.connectionCount }), _jsx("td", { className: "px-3 py-2 align-top text-muted-foreground text-xs", children: row.connectedSinceUtc
145
+ ? "flex max-h-[min(90vh,calc(100dvh-2rem))] flex-col overflow-hidden sm:max-w-[640px]"
146
+ : "sm:max-w-[500px]", children: [_jsx(DialogHeader, { className: "shrink-0", children: _jsxs("div", { className: "flex items-start gap-4", children: [_jsx("div", { className: "bg-feedback-orange-light text-feedback-orange flex size-10 shrink-0 items-center justify-center rounded-full", children: _jsx(Users, { className: "size-5", strokeWidth: 2 }) }), _jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [_jsx(DialogTitle, { className: "text-xl font-bold", children: "Concurrent User Limit Reached" }), _jsxs("div", { className: "text-muted-foreground mt-1 text-sm leading-relaxed", children: [_jsx("p", { className: "mb-3", children: displayMessage }), _jsxs("div", { className: "text-feedback-orange bg-feedback-orange-light border-feedback-orange flex items-center gap-2 rounded-lg border p-3", children: [_jsx(AlertCircle, { className: "size-4 shrink-0" }), _jsxs("span", { className: "text-xs", children: ["Currently ", displayCurrentUsers, " of ", displayMaxUsers, " user slots are in use."] })] })] })] })] }) }), isAdministrator && (_jsxs("div", { className: "border-border/60 mt-6 flex min-h-0 flex-1 flex-col gap-2 border-t px-6 pt-6 pb-2", children: [_jsx("p", { className: "text-foreground text-sm font-medium", children: "Active users (license seats)" }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Oldest connections first. Disconnect ends that user's editor session so a seat may become available." }), activeUsersLoading && activeUsers.length === 0 ? (_jsxs("div", { className: "text-muted-foreground flex items-center gap-2 py-4 text-sm", children: [_jsx(Spinner, { className: "size-4" }), "Loading\u2026"] })) : activeUsers.length === 0 ? (_jsx("p", { className: "text-muted-foreground py-2 text-sm", children: "No active license users found." })) : (_jsx("div", { className: "min-h-0 flex-1 overflow-y-auto rounded-md border", children: _jsxs("table", { className: "w-full text-sm", children: [_jsx("thead", { className: "border-border/60 bg-muted/95 text-muted-foreground supports-[backdrop-filter]:bg-muted/80 sticky top-0 z-[1] border-b text-left text-xs backdrop-blur-sm", children: _jsxs("tr", { children: [_jsx("th", { className: "px-3 py-2 font-medium", children: "User" }), _jsx("th", { className: "w-24 px-3 py-2 font-medium", children: "Tabs" }), _jsx("th", { className: "px-3 py-2 font-medium", children: "Connected" }), _jsx("th", { className: "w-[140px] px-3 py-2 font-medium" })] }) }), _jsx("tbody", { children: activeUsers.map((row) => (_jsxs("tr", { className: "border-border/60 border-t", children: [_jsxs("td", { className: "px-3 py-2 align-top", children: [_jsx("div", { className: "text-foreground max-w-[220px] truncate font-medium", children: row.fullName?.trim() || row.userName }), row.fullName?.trim() ? (_jsx("div", { className: "text-muted-foreground max-w-[220px] truncate text-xs", children: row.userName })) : null] }), _jsx("td", { className: "text-muted-foreground px-3 py-2 align-top", children: row.connectionCount }), _jsx("td", { className: "text-muted-foreground px-3 py-2 align-top text-xs", children: row.connectedSinceUtc
140
147
  ? `${formatDistanceToNow(new Date(row.connectedSinceUtc), { addSuffix: true })}`
141
- : "—" }), _jsx("td", { className: "px-3 py-2 align-top text-right", children: _jsx(Button, { type: "button", variant: "outline", size: "sm", className: "text-destructive border-destructive/30 hover:bg-destructive/10", disabled: disconnectingUser !== null, onClick: () => void handleDisconnect(row.userName), children: disconnectingUser === row.userName ? (_jsxs(_Fragment, { children: [_jsx(Spinner, { className: "mr-1 size-3" }), "\u2026"] })) : ("Disconnect") }) })] }, row.userName))) })] }) }))] })), _jsxs(DialogFooter, { className: "mt-auto shrink-0 bg-gray-50/50 border-t px-6 py-4 sm:flex-row sm:justify-between", children: [_jsx("div", { className: "text-xs text-muted-foreground flex items-center gap-2 mb-3 sm:mb-0", children: isPolling && (_jsxs(_Fragment, { children: [_jsx(RefreshCw, { className: "size-3 animate-spin" }), _jsx("span", { children: "Checking for available seats..." })] })) }), _jsxs("div", { className: "flex gap-2 w-full sm:w-auto", children: [_jsx(Button, { variant: "outline", onClick: () => onOpenChange(false), disabled: isChecking, children: "Close" }), _jsx(Button, { onClick: handleManualRetry, disabled: isChecking, className: "min-w-[120px]", children: isChecking ? (_jsxs(_Fragment, { children: [_jsx(Spinner, { className: "mr-2 size-4" }), "Checking..."] })) : (_jsxs(_Fragment, { children: [_jsx(RefreshCw, { className: "mr-2 size-4" }), "Try Again"] })) })] })] })] }) }));
148
+ : "—" }), _jsx("td", { className: "px-3 py-2 text-right align-top", children: _jsx(Button, { type: "button", variant: "outline", size: "sm", className: "text-destructive border-destructive/30 hover:bg-destructive/10", disabled: disconnectingUser !== null, onClick: () => void handleDisconnect(row.userName), children: disconnectingUser === row.userName ? (_jsxs(_Fragment, { children: [_jsx(Spinner, { className: "mr-1 size-3" }), "\u2026"] })) : ("Disconnect") }) })] }, row.userName))) })] }) }))] })), _jsxs(DialogFooter, { className: "mt-auto shrink-0 border-t bg-white px-6 py-4 sm:flex-row sm:justify-between", children: [_jsx("div", { className: "text-muted-foreground mb-3 flex items-center gap-2 text-xs sm:mb-0", children: isPolling && (_jsxs(_Fragment, { children: [_jsx(RefreshCw, { className: "size-3 animate-spin" }), _jsx("span", { children: "Checking for available seats..." })] })) }), _jsxs("div", { className: "flex w-full gap-2 sm:w-auto", children: [_jsx(Button, { variant: "outline", onClick: () => onOpenChange(false), disabled: isChecking, children: "Close" }), _jsx(Button, { onClick: handleManualRetry, disabled: isChecking, className: "min-w-[120px]", children: isChecking ? (_jsxs(_Fragment, { children: [_jsx(Spinner, { className: "mr-2 size-4" }), "Checking..."] })) : (_jsxs(_Fragment, { children: [_jsx(RefreshCw, { className: "mr-2 size-4" }), "Try Again"] })) })] })] })] }) }));
142
149
  }
143
150
  //# sourceMappingURL=ConcurrentUserLimitDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConcurrentUserLimitDialog.js","sourceRoot":"","sources":["../../src/editor/ConcurrentUserLimitDialog.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EACL,MAAM,EACN,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,GAEtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAc/B,MAAM,UAAU,yBAAyB,CAAC,EACxC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,YAAY,EAAE,mBAAmB,EACjC,QAAQ,EAAE,eAAe,EACzB,OAAO,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AAQ,CAAC,CAAC,CAAC,CACpC,8BACE,KAAC,OAAO,IAAC,SAAS,EAAC,aAAa,GAAG,cAElC,CACJ,CAAC,CAAC,CAAC,CACF,YAAY,CACb,GACM,GACN,KAvCA,GAAG,CAAC,QAAQ,CAwCd,CACN,CAAC,GACI,IACF,GACJ,CACP,IACG,CACP,EAED,MAAC,YAAY,IAAC,SAAS,EAAC,kFAAkF,aACxG,cAAK,SAAS,EAAC,oEAAoE,YAChF,SAAS,IAAI,CACZ,8BACE,KAAC,SAAS,IAAC,SAAS,EAAC,qBAAqB,GAAG,EAC7C,6DAA4C,IAC3C,CACJ,GACG,EACN,eAAK,SAAS,EAAC,6BAA6B,aAC1C,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,EAClC,QAAQ,EAAE,UAAU,sBAGb,EACT,KAAC,MAAM,IACL,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAC,eAAe,YAExB,UAAU,CAAC,CAAC,CAAC,CACZ,8BACE,KAAC,OAAO,IAAC,SAAS,EAAC,aAAa,GAAG,mBAElC,CACJ,CAAC,CAAC,CAAC,CACF,8BACE,KAAC,SAAS,IAAC,SAAS,EAAC,aAAa,GAAG,iBAEpC,CACJ,GACM,IACL,IACO,IACD,GACT,CACV,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ConcurrentUserLimitDialog.js","sourceRoot":"","sources":["../../src/editor/ConcurrentUserLimitDialog.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EACL,MAAM,EACN,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,SAA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,GACM,IACL,IACO,IACD,GACT,CACV,CAAC;AACJ,CAAC"}
@@ -42,8 +42,12 @@ const ConfirmationDialog = forwardRef((_props, ref) => {
42
42
  }
43
43
  setVisible(false);
44
44
  };
45
- const isDestructive = props?.acceptLabel === "Delete" || props?.acceptLabel === "Remove";
46
- return (_jsx(Dialog, { open: visible, onOpenChange: handleOpenChange, children: _jsx(DialogContent, { className: "gap-0 p-0 sm:max-w-[480px] max-h-[80vh] flex flex-col", "data-testid": "confirmation-dialog", children: _jsxs("div", { className: "flex flex-col pt-8 overflow-hidden", children: [_jsx("div", { className: "px-8 pb-4 overflow-y-auto max-h-[50vh]", children: _jsxs("div", { className: "flex items-start gap-4", children: [_jsx("div", { className: cn("flex size-10 shrink-0 items-center justify-center rounded-full", isDestructive ? "bg-red-50 text-red-600" : "bg-amber-50 text-amber-600"), children: props?.icon ? (props.icon) : (_jsx(AlertTriangle, { className: "size-5", strokeWidth: 2 })) }), _jsxs("div", { className: "flex flex-col gap-1 min-w-0 flex-1", children: [_jsx(DialogTitle, { className: "text-xl font-bold", "data-testid": "confirmation-dialog-title", children: props?.header || "Confirmation" }), _jsx("div", { className: "text-sm leading-relaxed text-muted-foreground mt-1", children: props?.message })] })] }) }), _jsxs(DialogFooter, { className: "bg-gray-50/50 mt-4 border-t px-8 py-6 sm:flex-wrap", children: [props?.showCancel && (_jsx(Button, { variant: "outline", onClick: handleReject, className: "min-w-[100px] w-full sm:w-auto bg-white whitespace-normal break-words text-center max-w-full", children: "Cancel" })), props?.rejectLabel && (_jsx(Button, { variant: "outline", onClick: handleReject, className: "min-w-[100px] w-full sm:w-auto bg-white whitespace-normal break-words text-center max-w-full", children: props.rejectLabel })), showAccept && (_jsx(Button, { onClick: handleAccept, variant: props?.acceptLabel === "Delete" ? "destructive" : "default", className: "min-w-[100px] w-full sm:w-auto whitespace-normal break-words text-center max-w-full", children: props?.acceptLabel || "Yes" }))] })] }) }) }));
45
+ const acceptLabel = props?.acceptLabel || "";
46
+ const isDestructive = /^(Delete|Remove)\b/i.test(acceptLabel) ||
47
+ /^Yes,\s*delete\b/i.test(acceptLabel);
48
+ return (_jsx(Dialog, { open: visible, onOpenChange: handleOpenChange, children: _jsx(DialogContent, { className: "flex max-h-[80vh] flex-col gap-0 p-0 sm:max-w-[480px]", "data-testid": "confirmation-dialog", children: _jsxs("div", { className: "flex flex-col overflow-hidden", children: [_jsxs("div", { className: "border-border-default flex items-center gap-4 border-b px-6 py-4 pr-14", children: [_jsx("div", { className: cn("flex shrink-0 items-center justify-center", isDestructive
49
+ ? "text-feedback-red-strong"
50
+ : "text-feedback-orange"), children: props?.icon ? (props.icon) : (_jsx(AlertTriangle, { className: "size-5", strokeWidth: 2 })) }), _jsx(DialogTitle, { className: "min-w-0 text-xl font-medium", "data-testid": "confirmation-dialog-title", children: props?.header || "Confirmation" })] }), _jsx("div", { className: "max-h-[50vh] overflow-y-auto px-6 py-4", children: _jsx("div", { className: "text-muted-foreground text-sm leading-relaxed", children: props?.message }) }), _jsxs(DialogFooter, { className: "border-border-default mt-0 gap-4 border-t px-3 py-3 sm:flex-wrap sm:gap-4", children: [props?.showCancel && (_jsx(Button, { variant: "ghost", onClick: handleReject, className: "w-full max-w-full min-w-[100px] text-center break-words whitespace-normal sm:w-auto", children: "Cancel" })), props?.rejectLabel && (_jsx(Button, { variant: "ghost", onClick: handleReject, className: "w-full max-w-full min-w-[100px] text-center break-words whitespace-normal sm:w-auto", children: props.rejectLabel })), showAccept && (_jsx(Button, { onClick: handleAccept, variant: isDestructive ? "destructive" : "default", className: "w-full max-w-full min-w-[100px] text-center break-words whitespace-normal sm:w-auto", children: props?.acceptLabel || "Yes" }))] })] }) }) }));
47
51
  });
48
52
  export default ConfirmationDialog;
49
53
  //# sourceMappingURL=ConfirmationDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmationDialog.js","sourceRoot":"","sources":["../../src/editor/ConfirmationDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,E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K,EAAE,MAAM,IAAI,cAAc,GACpB,EACd,cAAK,SAAS,EAAC,oDAAoD,YAChE,KAAK,EAAE,OAAO,GACX,IACF,IACF,GACF,EAEN,MAAC,YAAY,IAAC,SAAS,EAAC,oDAAoD,aACzE,KAAK,EAAE,UAAU,IAAI,CACpB,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,8FAA8F,uBAGjG,CACV,EACA,KAAK,EAAE,WAAW,IAAI,CACrB,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,8FAA8F,YAEvG,KAAK,CAAC,WAAW,GACX,CACV,EACA,UAAU,IAAI,CACb,KAAC,MAAM,IACL,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,KAAK,EAAE,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EACpE,SAAS,EAAC,qFAAqF,YAE9F,KAAK,EAAE,WAAW,IAAI,KAAK,GACrB,CACV,IACY,IACX,GACQ,GACT,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"ConfirmationDialog.js","sourceRoot":"","sources":["../../src/editor/ConfirmationDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAsBlC,MAAM,kBAAkB,GAAG,UAAU,CAGnC,CAAC,MAAM,EAAE,GAAG,EAAE,E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KAAC,MAAM,IACL,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,qFAAqF,YAE9F,KAAK,CAAC,WAAW,GACX,CACV,EACA,UAAU,IAAI,CACb,KAAC,MAAM,IACL,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAClD,SAAS,EAAC,qFAAqF,YAE9F,KAAK,EAAE,WAAW,IAAI,KAAK,GACrB,CACV,IACY,IACX,GACQ,GACT,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
@@ -10,10 +10,12 @@ type CustomTreeNode = TreeNode & {
10
10
  selectable?: boolean;
11
11
  className?: string;
12
12
  };
13
- export default function ContentTree({ isDraggable, dragEnd, expandIdPath, selectionMode, multiSelectRequiresModifier, selectedItemIds, rootItemIds, onSelectionChange, onItemClick, filter, templateIds, className, includeEmbeddedItems, onDoubleClick, selectPagesOnly, renderNode, renderNodePrefix, onItemInserted, language, includeItemPath, scrollToSelected, disableAutoSelectOnExpand, showGrabCursorForDraggableNodes, enableDragAndDrop, enableContextMenu, hideRootNodes, database, }: {
13
+ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, initialExpandedKeys, selectionMode, multiSelectRequiresModifier, selectedItemIds, rootItemIds, onSelectionChange, onItemClick, filter, templateIds, className, includeEmbeddedItems, onDoubleClick, selectPagesOnly, renderNode, renderNodePrefix, onItemInserted, language, includeItemPath, scrollToSelected, disableAutoSelectOnExpand, showGrabCursorForDraggableNodes, enableDragAndDrop, enableItemDrop, enableContextMenu, hideRootNodes, database, showCheckboxes, loadChildrenOverride, }: {
14
14
  isDraggable?: (item: ItemTreeNodeData) => boolean;
15
15
  dragEnd?: () => void;
16
16
  expandIdPath?: string;
17
+ /** Keys to expand on first load (in addition to anything derived from expandIdPath). */
18
+ initialExpandedKeys?: string[];
17
19
  selectionMode?: "single" | "multiple" | "none";
18
20
  multiSelectRequiresModifier?: boolean;
19
21
  rootItemIds?: string[];
@@ -36,8 +38,24 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
36
38
  disableAutoSelectOnExpand?: boolean;
37
39
  showGrabCursorForDraggableNodes?: boolean;
38
40
  enableDragAndDrop?: boolean;
41
+ /**
42
+ * Allows dragged items to be dropped back into this tree, which moves/copies
43
+ * or reorders content items. Keep enabled for the main content tree.
44
+ */
45
+ enableItemDrop?: boolean;
39
46
  enableContextMenu?: boolean;
40
47
  hideRootNodes?: boolean;
41
48
  database?: string;
49
+ /**
50
+ * Render a checkbox in front of each node and switch click semantics to
51
+ * "toggle selection (shift = cascade to descendants)". Disables onItemClick.
52
+ */
53
+ showCheckboxes?: boolean;
54
+ /**
55
+ * Replace the default `getChildren` call. Lets a caller feed pre-fetched
56
+ * subtree data into ContentTree (e.g. when a single backend call returns the
57
+ * whole forest faster than recursive client-side fetches).
58
+ */
59
+ loadChildrenOverride?: (parentId: string, language: string, database: string) => Promise<ItemTreeNodeData[]>;
42
60
  }): import("react/jsx-runtime").JSX.Element;
43
61
  export {};
@@ -3,14 +3,16 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
3
3
  import { useEditContext, useEditContextRef } from "./client/editContext";
4
4
  import { useCallback, useEffect, useRef, useState, memo } from "react";
5
5
  import { getChildren } from "./services/contentService";
6
- import { getAbsoluteIconUrl } from "./utils";
6
+ import { getAbsoluteIconUrl, stripGuid } from "./utils";
7
7
  import { Spinner } from "./ui/Spinner";
8
+ import { setContentTreeItemDragImage } from "./ui/DragPreview";
8
9
  import { PerfectTree } from "./ui/PerfectTree";
9
10
  import { loadInsertOptions } from "./services/editService";
10
11
  import { cn } from "../lib/utils";
11
12
  import { TriangleAlert } from "lucide-react";
12
13
  import { SquarePlus } from "lucide-react";
13
14
  import { toast } from "sonner";
15
+ import { useGutterContextSafe } from "./tree-indicators";
14
16
  // Create a memoized version of PerfectTree
15
17
  const MemoizedPerfectTree = memo(PerfectTree);
16
18
  function getArraySignature(values) {
@@ -38,14 +40,16 @@ function relabelTreeNodes(nodes, showDisplayNames, parent) {
38
40
  return relabeledNode;
39
41
  });
40
42
  }
41
- export default function ContentTree({ isDraggable, dragEnd, expandIdPath, selectionMode, multiSelectRequiresModifier = true, selectedItemIds, rootItemIds, onSelectionChange, onItemClick, filter, templateIds, className, includeEmbeddedItems, onDoubleClick, selectPagesOnly, renderNode, renderNodePrefix, onItemInserted, language, includeItemPath, scrollToSelected, disableAutoSelectOnExpand, showGrabCursorForDraggableNodes, enableDragAndDrop, enableContextMenu, hideRootNodes, database, }) {
43
+ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, initialExpandedKeys, selectionMode, multiSelectRequiresModifier = true, selectedItemIds, rootItemIds, onSelectionChange, onItemClick, filter, templateIds, className, includeEmbeddedItems, onDoubleClick, selectPagesOnly, renderNode, renderNodePrefix, onItemInserted, language, includeItemPath, scrollToSelected, disableAutoSelectOnExpand, showGrabCursorForDraggableNodes, enableDragAndDrop, enableItemDrop = true, enableContextMenu, hideRootNodes, database, showCheckboxes, loadChildrenOverride, }) {
42
44
  const [treeNodes, setTreeNodes] = useState([]);
43
45
  const [isLoadingRootNodes, setIsLoadingRootNodes] = useState(false);
44
46
  const [selectedKeys, setSelectedKeys] = useState([]);
45
- const [expandedKeys, setExpandedKeys] = useState([]);
47
+ const [expandedKeys, setExpandedKeys] = useState(initialExpandedKeys ?? []);
46
48
  const treeContainerRef = useRef(null);
47
49
  const editContext = useEditContext();
48
- const showDisplayNames = editContext?.userInfo?.preferences?.showDisplayNames === true;
50
+ const gutterContext = useGutterContextSafe();
51
+ const showDisplayNames = gutterContext?.showDisplayNames ??
52
+ editContext?.userInfo?.preferences?.showDisplayNames === true;
49
53
  const nodeDictionary = useRef({});
50
54
  const editContextRef = useEditContextRef();
51
55
  const lastSelectedItemId = useRef(undefined);
@@ -58,7 +62,9 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
58
62
  const loadNodeChildren = useCallback(async (node) => {
59
63
  if (!editContext)
60
64
  return [];
61
- let children = await getChildren(node.key, editContext.sessionId, templateIds, includeEmbeddedItems ?? false, language, includeItemPath ? "path,idPath" : undefined, database || "master");
65
+ let children = loadChildrenOverride
66
+ ? await loadChildrenOverride(node.key, language, database || "master")
67
+ : await getChildren(node.key, editContext.sessionId, templateIds, includeEmbeddedItems ?? false, language, includeItemPath ? "path,idPath" : undefined, database || "master");
62
68
  if (filter)
63
69
  children = filter(children);
64
70
  return children.map((x) => ({
@@ -82,6 +88,7 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
82
88
  templateIds,
83
89
  includeItemPath,
84
90
  database,
91
+ loadChildrenOverride,
85
92
  ]);
86
93
  // const updateCorrespondingNode = useCallback(
87
94
  // (x: FullItem, parent: CustomTreeNode) => {
@@ -177,7 +184,11 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
177
184
  // Skip if children === null (loading in progress) to avoid race conditions
178
185
  if (expandedKeys.includes(node.key) &&
179
186
  children === undefined) {
180
- children = node.data.hasChildren ? await loadNodeChildren(node) : [];
187
+ // When a caller has supplied its own children source, the cached
188
+ // FullItem.hasChildren may not match the override's universe — ask
189
+ // the override directly and let its result drive hasChildren.
190
+ const shouldLoad = !!loadChildrenOverride || node.data.hasChildren;
191
+ children = shouldLoad ? await loadNodeChildren(node) : [];
181
192
  node.children = children;
182
193
  node.hasChildren = children.length > 0;
183
194
  }
@@ -187,7 +198,7 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
187
198
  await doPreloadNodes(expandedKeys, children);
188
199
  }
189
200
  }
190
- }, [loadNodeChildren]);
201
+ }, [loadNodeChildren, loadChildrenOverride]);
191
202
  const preLoadNodes = useCallback(async (expandedKeys, force) => {
192
203
  // Increment version for this call to detect stale results
193
204
  const thisVersion = ++preLoadVersionRef.current;
@@ -287,6 +298,7 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
287
298
  const prevDatabaseRef = useRef(database);
288
299
  // Counter to track preLoadNodes calls and prevent race conditions
289
300
  const preLoadVersionRef = useRef(0);
301
+ const rootLoadVersionRef = useRef(0);
290
302
  // Handle root items or language changes
291
303
  useEffect(() => {
292
304
  if (!editContext?.itemsRepository)
@@ -308,18 +320,28 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
308
320
  return;
309
321
  }
310
322
  hasInitializedRef.current = true;
311
- setIsInitialized(true);
323
+ setIsInitialized(false);
324
+ setIsLoadingRootNodes(true);
325
+ const rootLoadVersion = ++rootLoadVersionRef.current;
312
326
  const load = async () => {
313
- setIsLoadingRootNodes(true);
314
327
  try {
315
328
  await preLoadNodes(expandedKeys || [], true);
316
329
  }
317
330
  finally {
318
- setIsLoadingRootNodes(false);
331
+ if (rootLoadVersionRef.current === rootLoadVersion) {
332
+ setIsLoadingRootNodes(false);
333
+ setIsInitialized(true);
334
+ }
319
335
  }
320
336
  };
321
337
  load();
322
- }, [language, rootItemIds, hideRootNodes, database, editContext?.itemsRepository]);
338
+ }, [
339
+ language,
340
+ rootItemIds,
341
+ hideRootNodes,
342
+ database,
343
+ editContext?.itemsRepository,
344
+ ]);
323
345
  useEffect(() => {
324
346
  if (!editContext?.itemsRepository)
325
347
  return;
@@ -367,8 +389,9 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
367
389
  return newExpandedKeys;
368
390
  const idPathArray = expandIdPath.toLowerCase().split("/");
369
391
  idPathArray.forEach((x) => {
370
- if (x !== "")
371
- newExpandedKeys.push(x.substring(1, x.length - 1));
392
+ const key = stripGuid(x);
393
+ if (key !== "")
394
+ newExpandedKeys.push(key);
372
395
  });
373
396
  return newExpandedKeys;
374
397
  }
@@ -406,27 +429,25 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
406
429
  const nodeTemplate = useCallback((node) => {
407
430
  let label = _jsx("span", { children: node.label });
408
431
  if (node.url) {
409
- label = (_jsx("a", { onDragStart: (e) => e.preventDefault(), href: node.url, className: "text-primary font-semibold hover:underline", children: node.label }));
432
+ label = (_jsx("a", { onDragStart: (e) => e.preventDefault(), href: node.url, className: "text-primary font-medium hover:underline", children: node.label }));
410
433
  }
411
434
  const getNodeCursor = (node) => {
412
435
  if (showGrabCursorForDraggableNodes && node.isDraggable)
413
436
  return "cursor-grab";
414
437
  return "";
415
438
  };
416
- return (_jsxs("span", {
417
- // onDragStart={(event: React.DragEvent<HTMLDivElement>) => {
418
- // handleDragStart(node, event);
419
- // }}
420
- // onDragEnd={handleDragEnd}
421
- // draggable={node.isDraggable}
422
- className: cn("flex items-center gap-2 text-xs break-all", getNodeCursor(node), node.className), children: [_jsx("img", { src: node.iconUrl, style: { height: "16px" }, width: "16", height: "16", onDragStart: (e) => e.preventDefault() }), label] }));
423
- }, []);
439
+ const isChecked = showCheckboxes && selectedKeys.includes(node.key);
440
+ return (_jsxs("span", { className: cn("flex items-center gap-2 text-xs break-all", getNodeCursor(node), node.className), children: [showCheckboxes && (_jsx("input", { type: "checkbox", checked: isChecked, readOnly: true, tabIndex: -1, className: "border-border-default pointer-events-none h-3.5 w-3.5 shrink-0 rounded text-[var(--color-highlight-100)] accent-[var(--color-highlight-100)]", "data-testid": `tree-item-checkbox-${node.key}` })), _jsx("img", { src: node.iconUrl, style: { height: "16px" }, width: "16", height: "16", onDragStart: (e) => e.preventDefault() }), label] }));
441
+ }, [showCheckboxes, selectedKeys, showGrabCursorForDraggableNodes]);
424
442
  function handleDragStart(data) {
425
443
  try {
426
444
  // Allow both copy and move operations when dragging items
427
445
  data.event.dataTransfer.effectAllowed = "copyMove";
428
446
  }
429
447
  catch { }
448
+ if (!data.isMultiSelect) {
449
+ setContentTreeItemDragImage(data.event, data.node.label);
450
+ }
430
451
  const items = data.isMultiSelect
431
452
  ? selectedItemIds
432
453
  ?.map((x) => nodeDictionary.current[x]?.data)
@@ -592,24 +613,29 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
592
613
  }, []);
593
614
  const itemCommands = editContext?.configuration.commands.allItemCommands || [];
594
615
  const onContextMenu = useCallback(async (node, originalEvent) => {
595
- const key = node.key;
596
- let itemIds = selectedItemIds;
616
+ const key = String(node.key);
617
+ const currentSelection = selectedItemIds ?? selectedKeys;
618
+ let itemIds = selectionMode === "multiple" &&
619
+ currentSelection?.includes(key) &&
620
+ currentSelection.length > 1
621
+ ? currentSelection
622
+ : [key];
597
623
  if (!enableContextMenu)
598
624
  return;
599
625
  // Always block the native context menu immediately
600
626
  originalEvent.preventDefault();
601
627
  originalEvent.stopPropagation();
602
628
  const openInNewSlotItem = {
603
- id: String(key),
629
+ id: key,
604
630
  language: node.data?.language || language,
605
631
  version: 0,
606
632
  database: database || "master",
607
633
  };
608
- if (!itemIds || !itemIds.includes(key)) {
609
- if (onSelectionChange && selectionMode === "single") {
634
+ if (itemIds.length === 1 && itemIds[0] === key) {
635
+ setSelectedKeys([key]);
636
+ if (onSelectionChange && selectionMode !== "none") {
610
637
  onSelectionChange([node.data]);
611
638
  }
612
- itemIds = [key];
613
639
  }
614
640
  // Prepare a synthetic event for later use (to avoid React event pooling)
615
641
  const { clientX, clientY, shiftKey, altKey, ctrlKey } = originalEvent;
@@ -707,6 +733,7 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
707
733
  itemCommands,
708
734
  editContext,
709
735
  selectedItemIds,
736
+ selectedKeys,
710
737
  onSelectionChange,
711
738
  selectionMode,
712
739
  onItemInserted,
@@ -723,8 +750,48 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
723
750
  return [...value, nodeKey];
724
751
  });
725
752
  }, []);
753
+ // Collect all descendant keys for a node (used by checkbox-mode shift cascade).
754
+ const getDescendantKeys = useCallback((nodeKey) => {
755
+ const start = nodeDictionary.current[nodeKey];
756
+ if (!start?.children)
757
+ return [];
758
+ const out = [];
759
+ const walk = (children) => {
760
+ children?.forEach((c) => {
761
+ out.push(c.key);
762
+ if (c.children)
763
+ walk(c.children);
764
+ });
765
+ };
766
+ walk(start.children);
767
+ return out;
768
+ }, []);
726
769
  // Memoize the node selection handler
727
770
  const handleNodeSelect = useCallback((nodeKey, ev) => {
771
+ // Checkbox mode: click toggles selection of this node; shift cascades to
772
+ // descendants. Range-select via Shift is replaced by cascade semantics.
773
+ if (showCheckboxes) {
774
+ const cascade = ev?.shiftKey === true;
775
+ const targetKeys = cascade
776
+ ? [nodeKey, ...getDescendantKeys(nodeKey)]
777
+ : [nodeKey];
778
+ const willCheck = !selectedKeys.includes(nodeKey);
779
+ const next = new Set(selectedKeys);
780
+ if (willCheck)
781
+ targetKeys.forEach((k) => next.add(k));
782
+ else
783
+ targetKeys.forEach((k) => next.delete(k));
784
+ const newSelection = Array.from(next);
785
+ lastSelectedItemId.current = nodeKey;
786
+ setSelectedKeys(newSelection);
787
+ if (onSelectionChange) {
788
+ const selectedNodes = newSelection
789
+ .map((k) => nodeDictionary.current[k]?.data)
790
+ .filter(Boolean);
791
+ onSelectionChange(selectedNodes);
792
+ }
793
+ return;
794
+ }
728
795
  let newSelection = [...selectedKeys];
729
796
  if (selectionMode === "multiple" &&
730
797
  ev.shiftKey &&
@@ -790,6 +857,8 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
790
857
  onItemClick,
791
858
  selectionMode,
792
859
  selectedKeys,
860
+ showCheckboxes,
861
+ getDescendantKeys,
793
862
  ]);
794
863
  // RenderNode function
795
864
  const memoizedRenderNode = renderNode
@@ -832,7 +901,7 @@ export default function ContentTree({ isDraggable, dragEnd, expandIdPath, select
832
901
  handleDrop(parent, index, event);
833
902
  }, [handleDrop]);
834
903
  if (!memoizedTreeNodes.length)
835
- return (_jsx("div", { className: cn(className, "relative h-full w-full"), "data-testid": "content-tree", children: isLoadingRootNodes ? (_jsxs("div", { className: "absolute inset-0 flex items-center justify-center gap-2 text-xs text-gray-500", children: [_jsx(Spinner, { size: "sm" }), " Loading..."] })) : (_jsx("div", { className: "absolute inset-0 flex items-center justify-center text-xs text-gray-500", children: "No items found" })) }));
836
- return (_jsx(_Fragment, { children: _jsx("div", { className: cn(className, "text-dark h-full w-full font-light"), ref: treeContainerRef, "data-parhelia-content-tree": "true", "data-testid": "content-tree", children: _jsx(MemoizedPerfectTree, { enableKeyboardSearch: true, nodes: memoizedTreeNodes, expandedKeys: expandedKeys, onToggleExpand: handleToggleExpand, renderNode: memoizedRenderNode, renderNodePrefix: renderNodePrefix, onLazyLoad: handleLazyLoad, onDoubleClick: handleDoubleClick, onSelect: handleNodeSelect, selectedKeys: selectedKeys, onContextMenu: onContextMenu, enableDragAndDrop: enableDragAndDrop, multiDragNoun: "items", onStartDrag: handleDragStart, onDragOverZone: handleDragOverZone, onDragEnd: handleDragEnd, isDragging: editContext?.dragObject !== undefined, onDrop: handleDropCallback, scrollToSelected: scrollToSelected, disableAutoSelectOnExpand: disableAutoSelectOnExpand }) }) }));
904
+ return (_jsx("div", { className: cn(className, "relative h-full w-full"), "data-testid": "content-tree", children: isLoadingRootNodes || !isInitialized ? (_jsxs("div", { className: "text-neutral-grey-50 absolute inset-0 flex items-center justify-center gap-2 text-xs", children: [_jsx(Spinner, { size: "sm" }), " Loading..."] })) : (_jsx("div", { className: "text-neutral-grey-50 absolute inset-0 flex items-center justify-center text-xs", children: "No items found" })) }));
905
+ return (_jsx(_Fragment, { children: _jsx("div", { className: cn(className, "text-neutral-grey-100 h-full w-full font-light"), ref: treeContainerRef, "data-parhelia-content-tree": "true", "data-testid": "content-tree", children: _jsx(MemoizedPerfectTree, { enableKeyboardSearch: true, nodes: memoizedTreeNodes, expandedKeys: expandedKeys, onToggleExpand: handleToggleExpand, renderNode: memoizedRenderNode, renderNodePrefix: renderNodePrefix, onLazyLoad: handleLazyLoad, onDoubleClick: handleDoubleClick, onSelect: handleNodeSelect, selectedKeys: selectedKeys, onContextMenu: onContextMenu, enableDragAndDrop: enableDragAndDrop, enableDropTargets: enableItemDrop, multiDragNoun: "items", onStartDrag: handleDragStart, onDragOverZone: handleDragOverZone, onDragEnd: handleDragEnd, isDragging: editContext?.dragObject !== undefined, onDrop: handleDropCallback, scrollToSelected: scrollToSelected, disableAutoSelectOnExpand: disableAutoSelectOnExpand }) }) }));
837
906
  }
838
907
  //# sourceMappingURL=ContentTree.js.map