@parhelia/core 0.3.12831 → 0.3.12833

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 (600) hide show
  1. package/dist/components/emoji/EmojiPicker.d.ts +18 -0
  2. package/dist/components/emoji/EmojiPicker.js +102 -0
  3. package/dist/components/emoji/EmojiPicker.js.map +1 -0
  4. package/dist/components/emoji/EmojiText.d.ts +19 -0
  5. package/dist/components/emoji/EmojiText.js +30 -0
  6. package/dist/components/emoji/EmojiText.js.map +1 -0
  7. package/dist/components/emoji/emojiData.generated.d.ts +2 -0
  8. package/dist/components/emoji/emojiData.generated.js +1878 -0
  9. package/dist/components/emoji/emojiData.generated.js.map +1 -0
  10. package/dist/components/emoji/emojiIndex.d.ts +46 -0
  11. package/dist/components/emoji/emojiIndex.js +173 -0
  12. package/dist/components/emoji/emojiIndex.js.map +1 -0
  13. package/dist/components/emoji/emoticons.d.ts +21 -0
  14. package/dist/components/emoji/emoticons.js +167 -0
  15. package/dist/components/emoji/emoticons.js.map +1 -0
  16. package/dist/components/emoji/textareaInsert.d.ts +19 -0
  17. package/dist/components/emoji/textareaInsert.js +29 -0
  18. package/dist/components/emoji/textareaInsert.js.map +1 -0
  19. package/dist/components/emoji/twemoji.d.ts +30 -0
  20. package/dist/components/emoji/twemoji.js +84 -0
  21. package/dist/components/emoji/twemoji.js.map +1 -0
  22. package/dist/editor/agent-changes/agentChangeTargets.d.ts +58 -0
  23. package/dist/editor/agent-changes/agentChangeTargets.js +180 -0
  24. package/dist/editor/agent-changes/agentChangeTargets.js.map +1 -0
  25. package/dist/editor/agent-changes/agentChangeTextHighlight.d.ts +101 -0
  26. package/dist/editor/agent-changes/agentChangeTextHighlight.js +167 -0
  27. package/dist/editor/agent-changes/agentChangeTextHighlight.js.map +1 -0
  28. package/dist/editor/ai/AgentImagePreview.d.ts +13 -0
  29. package/dist/editor/ai/AgentImagePreview.js +41 -0
  30. package/dist/editor/ai/AgentImagePreview.js.map +1 -0
  31. package/dist/editor/ai/activityRowNavigation.d.ts +28 -0
  32. package/dist/editor/ai/activityRowNavigation.js +53 -0
  33. package/dist/editor/ai/activityRowNavigation.js.map +1 -0
  34. package/dist/editor/ai/terminal/activeReasoningModel.d.ts +9 -0
  35. package/dist/editor/ai/terminal/activeReasoningModel.js +20 -0
  36. package/dist/editor/ai/terminal/activeReasoningModel.js.map +1 -0
  37. package/dist/editor/ai/terminal/agentDurations.d.ts +27 -0
  38. package/dist/editor/ai/terminal/agentDurations.js +89 -0
  39. package/dist/editor/ai/terminal/agentDurations.js.map +1 -0
  40. package/dist/editor/ai/terminal/agentTurnTiming.d.ts +35 -0
  41. package/dist/editor/ai/terminal/agentTurnTiming.js +128 -0
  42. package/dist/editor/ai/terminal/agentTurnTiming.js.map +1 -0
  43. package/dist/editor/ai/terminal/components/AgentMemorySettingsSection.d.ts +9 -0
  44. package/dist/editor/ai/terminal/components/AgentMemorySettingsSection.js +75 -0
  45. package/dist/editor/ai/terminal/components/AgentMemorySettingsSection.js.map +1 -0
  46. package/dist/editor/ai/terminal/components/AgentProfileRecovery.d.ts +10 -0
  47. package/dist/editor/ai/terminal/components/AgentProfileRecovery.js +12 -0
  48. package/dist/editor/ai/terminal/components/AgentProfileRecovery.js.map +1 -0
  49. package/dist/editor/ai/terminal/components/CreateItemToolCallContent.d.ts +3 -0
  50. package/dist/editor/ai/terminal/components/CreateItemToolCallContent.js +47 -0
  51. package/dist/editor/ai/terminal/components/CreateItemToolCallContent.js.map +1 -0
  52. package/dist/editor/ai/terminal/components/ResponseTurnDuration.d.ts +15 -0
  53. package/dist/editor/ai/terminal/components/ResponseTurnDuration.js +62 -0
  54. package/dist/editor/ai/terminal/components/ResponseTurnDuration.js.map +1 -0
  55. package/dist/editor/ai/terminal/components/ToolCallDiagnosticsPanel.d.ts +6 -0
  56. package/dist/editor/ai/terminal/components/ToolCallDiagnosticsPanel.js +61 -0
  57. package/dist/editor/ai/terminal/components/ToolCallDiagnosticsPanel.js.map +1 -0
  58. package/dist/editor/ai/terminal/components/toolCallResultJson.d.ts +1 -0
  59. package/dist/editor/ai/terminal/components/toolCallResultJson.js +46 -0
  60. package/dist/editor/ai/terminal/components/toolCallResultJson.js.map +1 -0
  61. package/dist/editor/ai/terminal/reasoningEffortLevels.d.ts +8 -0
  62. package/dist/editor/ai/terminal/reasoningEffortLevels.js +54 -0
  63. package/dist/editor/ai/terminal/reasoningEffortLevels.js.map +1 -0
  64. package/dist/editor/ai/terminal/requestUsage.d.ts +3 -0
  65. package/dist/editor/ai/terminal/requestUsage.js +22 -0
  66. package/dist/editor/ai/terminal/requestUsage.js.map +1 -0
  67. package/dist/editor/ai/terminal/toolCallDiagnostics.d.ts +34 -0
  68. package/dist/editor/ai/terminal/toolCallDiagnostics.js +218 -0
  69. package/dist/editor/ai/terminal/toolCallDiagnostics.js.map +1 -0
  70. package/dist/editor/ai/terminal/useAgentProviderWait.d.ts +18 -0
  71. package/dist/editor/ai/terminal/useAgentProviderWait.js +23 -0
  72. package/dist/editor/ai/terminal/useAgentProviderWait.js.map +1 -0
  73. package/dist/editor/ai/terminal/useAgentReasoningEffortState.d.ts +5 -0
  74. package/dist/editor/ai/terminal/useAgentReasoningEffortState.js +10 -0
  75. package/dist/editor/ai/terminal/useAgentReasoningEffortState.js.map +1 -0
  76. package/dist/editor/bridge/bridgeKeys.d.ts +5 -0
  77. package/dist/editor/bridge/bridgeKeys.js +8 -0
  78. package/dist/editor/bridge/bridgeKeys.js.map +1 -0
  79. package/dist/editor/bridge/linkDownload.d.ts +3 -0
  80. package/dist/editor/bridge/linkDownload.js +52 -0
  81. package/dist/editor/bridge/linkDownload.js.map +1 -0
  82. package/dist/editor/client/SessionsDialog.d.ts +2 -0
  83. package/dist/editor/client/SessionsDialog.js +27 -0
  84. package/dist/editor/client/SessionsDialog.js.map +1 -0
  85. package/dist/editor/client/agentLoadItemPolicy.d.ts +22 -0
  86. package/dist/editor/client/agentLoadItemPolicy.js +60 -0
  87. package/dist/editor/client/agentLoadItemPolicy.js.map +1 -0
  88. package/dist/editor/client/clipboardStorage.d.ts +10 -0
  89. package/dist/editor/client/clipboardStorage.js +57 -0
  90. package/dist/editor/client/clipboardStorage.js.map +1 -0
  91. package/dist/editor/client/hooks/useRepositoryItemRefresh.d.ts +4 -0
  92. package/dist/editor/client/hooks/useRepositoryItemRefresh.js +62 -0
  93. package/dist/editor/client/hooks/useRepositoryItemRefresh.js.map +1 -0
  94. package/dist/editor/client/liveEditState.d.ts +16 -0
  95. package/dist/editor/client/liveEditState.js +25 -0
  96. package/dist/editor/client/liveEditState.js.map +1 -0
  97. package/dist/editor/client/liveSessionState.d.ts +6 -0
  98. package/dist/editor/client/liveSessionState.js +20 -0
  99. package/dist/editor/client/liveSessionState.js.map +1 -0
  100. package/dist/editor/client/localUserEditActivity.d.ts +3 -0
  101. package/dist/editor/client/localUserEditActivity.js +12 -0
  102. package/dist/editor/client/localUserEditActivity.js.map +1 -0
  103. package/dist/editor/client/valueStore.d.ts +22 -0
  104. package/dist/editor/client/valueStore.js +29 -0
  105. package/dist/editor/client/valueStore.js.map +1 -0
  106. package/dist/editor/commands/componentClipboardCommands.d.ts +35 -0
  107. package/dist/editor/commands/componentClipboardCommands.js +271 -0
  108. package/dist/editor/commands/componentClipboardCommands.js.map +1 -0
  109. package/dist/editor/commands/componentMenuGroups.d.ts +2 -0
  110. package/dist/editor/commands/componentMenuGroups.js +43 -0
  111. package/dist/editor/commands/componentMenuGroups.js.map +1 -0
  112. package/dist/editor/commands/mediaCommands.d.ts +5 -0
  113. package/dist/editor/commands/mediaCommands.js +59 -0
  114. package/dist/editor/commands/mediaCommands.js.map +1 -0
  115. package/dist/editor/component-conversion/ComponentTypePickerDialog.d.ts +12 -0
  116. package/dist/editor/component-conversion/ComponentTypePickerDialog.js +40 -0
  117. package/dist/editor/component-conversion/ComponentTypePickerDialog.js.map +1 -0
  118. package/dist/editor/component-conversion/ConversionAiDebugButton.d.ts +17 -0
  119. package/dist/editor/component-conversion/ConversionAiDebugButton.js +80 -0
  120. package/dist/editor/component-conversion/ConversionAiDebugButton.js.map +1 -0
  121. package/dist/editor/component-conversion/ConvertComponentDialog.d.ts +28 -0
  122. package/dist/editor/component-conversion/ConvertComponentDialog.js +633 -0
  123. package/dist/editor/component-conversion/ConvertComponentDialog.js.map +1 -0
  124. package/dist/editor/component-conversion/conversionModel.d.ts +109 -0
  125. package/dist/editor/component-conversion/conversionModel.js +519 -0
  126. package/dist/editor/component-conversion/conversionModel.js.map +1 -0
  127. package/dist/editor/component-conversion/conversionService.d.ts +12 -0
  128. package/dist/editor/component-conversion/conversionService.js +16 -0
  129. package/dist/editor/component-conversion/conversionService.js.map +1 -0
  130. package/dist/editor/component-conversion/conversionTypes.d.ts +214 -0
  131. package/dist/editor/component-conversion/conversionTypes.js +2 -0
  132. package/dist/editor/component-conversion/conversionTypes.js.map +1 -0
  133. package/dist/editor/component-conversion/convertComponentsCommand.d.ts +25 -0
  134. package/dist/editor/component-conversion/convertComponentsCommand.js +196 -0
  135. package/dist/editor/component-conversion/convertComponentsCommand.js.map +1 -0
  136. package/dist/editor/componentVisualMode.d.ts +14 -0
  137. package/dist/editor/componentVisualMode.js +43 -0
  138. package/dist/editor/componentVisualMode.js.map +1 -0
  139. package/dist/editor/field-types/FieldHistoryBoundary.d.ts +7 -0
  140. package/dist/editor/field-types/FieldHistoryBoundary.js +40 -0
  141. package/dist/editor/field-types/FieldHistoryBoundary.js.map +1 -0
  142. package/dist/editor/field-types/fieldStyles.d.ts +21 -0
  143. package/dist/editor/field-types/fieldStyles.js +22 -0
  144. package/dist/editor/field-types/fieldStyles.js.map +1 -0
  145. package/dist/editor/field-types/richtext/utils/changeHighlight.d.ts +32 -0
  146. package/dist/editor/field-types/richtext/utils/changeHighlight.js +68 -0
  147. package/dist/editor/field-types/richtext/utils/changeHighlight.js.map +1 -0
  148. package/dist/editor/field-types/richtext/utils/spellCheckText.d.ts +31 -0
  149. package/dist/editor/field-types/richtext/utils/spellCheckText.js +82 -0
  150. package/dist/editor/field-types/richtext/utils/spellCheckText.js.map +1 -0
  151. package/dist/editor/field-types/useFocusedFieldInput.d.ts +13 -0
  152. package/dist/editor/field-types/useFocusedFieldInput.js +50 -0
  153. package/dist/editor/field-types/useFocusedFieldInput.js.map +1 -0
  154. package/dist/editor/field-types/useFormFieldSelectionRange.d.ts +43 -0
  155. package/dist/editor/field-types/useFormFieldSelectionRange.js +149 -0
  156. package/dist/editor/field-types/useFormFieldSelectionRange.js.map +1 -0
  157. package/dist/editor/find-replace/FindReplacePanel.d.ts +11 -0
  158. package/dist/editor/find-replace/FindReplacePanel.js +311 -0
  159. package/dist/editor/find-replace/FindReplacePanel.js.map +1 -0
  160. package/dist/editor/find-replace/findReplaceCommand.d.ts +8 -0
  161. package/dist/editor/find-replace/findReplaceCommand.js +25 -0
  162. package/dist/editor/find-replace/findReplaceCommand.js.map +1 -0
  163. package/dist/editor/find-replace/findReplaceMatches.d.ts +42 -0
  164. package/dist/editor/find-replace/findReplaceMatches.js +66 -0
  165. package/dist/editor/find-replace/findReplaceMatches.js.map +1 -0
  166. package/dist/editor/find-replace/findReplaceStore.d.ts +30 -0
  167. package/dist/editor/find-replace/findReplaceStore.js +61 -0
  168. package/dist/editor/find-replace/findReplaceStore.js.map +1 -0
  169. package/dist/editor/find-replace/findReplaceTargets.d.ts +51 -0
  170. package/dist/editor/find-replace/findReplaceTargets.js +110 -0
  171. package/dist/editor/find-replace/findReplaceTargets.js.map +1 -0
  172. package/dist/editor/find-replace/findReplaceText.d.ts +50 -0
  173. package/dist/editor/find-replace/findReplaceText.js +189 -0
  174. package/dist/editor/find-replace/findReplaceText.js.map +1 -0
  175. package/dist/editor/itemContextMenuGroups.d.ts +16 -0
  176. package/dist/editor/itemContextMenuGroups.js +57 -0
  177. package/dist/editor/itemContextMenuGroups.js.map +1 -0
  178. package/dist/editor/media-selector/MediaDetailsView.d.ts +14 -0
  179. package/dist/editor/media-selector/MediaDetailsView.js +152 -0
  180. package/dist/editor/media-selector/MediaDetailsView.js.map +1 -0
  181. package/dist/editor/media-selector/UploadMediaFileDialog.d.ts +5 -0
  182. package/dist/editor/media-selector/UploadMediaFileDialog.js +14 -0
  183. package/dist/editor/media-selector/UploadMediaFileDialog.js.map +1 -0
  184. package/dist/editor/media-selector/useMediaFolderDrag.d.ts +26 -0
  185. package/dist/editor/media-selector/useMediaFolderDrag.js +153 -0
  186. package/dist/editor/media-selector/useMediaFolderDrag.js.map +1 -0
  187. package/dist/editor/menubar/OpenPublishedPageButton.d.ts +1 -0
  188. package/dist/editor/menubar/OpenPublishedPageButton.js +22 -0
  189. package/dist/editor/menubar/OpenPublishedPageButton.js.map +1 -0
  190. package/dist/editor/menubar/toolbar-sections/CommentsToggleControl.d.ts +11 -0
  191. package/dist/editor/menubar/toolbar-sections/CommentsToggleControl.js +65 -0
  192. package/dist/editor/menubar/toolbar-sections/CommentsToggleControl.js.map +1 -0
  193. package/dist/editor/menubar/toolbar-sections/FindReplaceControls.d.ts +6 -0
  194. package/dist/editor/menubar/toolbar-sections/FindReplaceControls.js +31 -0
  195. package/dist/editor/menubar/toolbar-sections/FindReplaceControls.js.map +1 -0
  196. package/dist/editor/menubar/toolbar-sections/SpellCheckToggleControl.d.ts +5 -0
  197. package/dist/editor/menubar/toolbar-sections/SpellCheckToggleControl.js +16 -0
  198. package/dist/editor/menubar/toolbar-sections/SpellCheckToggleControl.js.map +1 -0
  199. package/dist/editor/mobileBottomPanel.d.ts +40 -0
  200. package/dist/editor/mobileBottomPanel.js +63 -0
  201. package/dist/editor/mobileBottomPanel.js.map +1 -0
  202. package/dist/editor/page-editor-chrome/AgentChangeHighlightings.d.ts +17 -0
  203. package/dist/editor/page-editor-chrome/AgentChangeHighlightings.js +33 -0
  204. package/dist/editor/page-editor-chrome/AgentChangeHighlightings.js.map +1 -0
  205. package/dist/editor/page-editor-chrome/BridgePasteCleanupOverlay.d.ts +6 -0
  206. package/dist/editor/page-editor-chrome/BridgePasteCleanupOverlay.js +100 -0
  207. package/dist/editor/page-editor-chrome/BridgePasteCleanupOverlay.js.map +1 -0
  208. package/dist/editor/page-editor-chrome/CanvasOverviewRulerBinding.d.ts +9 -0
  209. package/dist/editor/page-editor-chrome/CanvasOverviewRulerBinding.js +32 -0
  210. package/dist/editor/page-editor-chrome/CanvasOverviewRulerBinding.js.map +1 -0
  211. package/dist/editor/page-editor-chrome/CommentTargetPickerCanvasLayer.d.ts +14 -0
  212. package/dist/editor/page-editor-chrome/CommentTargetPickerCanvasLayer.js +110 -0
  213. package/dist/editor/page-editor-chrome/CommentTargetPickerCanvasLayer.js.map +1 -0
  214. package/dist/editor/page-editor-chrome/ConversionIndicators.d.ts +8 -0
  215. package/dist/editor/page-editor-chrome/ConversionIndicators.js +75 -0
  216. package/dist/editor/page-editor-chrome/ConversionIndicators.js.map +1 -0
  217. package/dist/editor/page-editor-chrome/DiffHighlightOverlay.d.ts +29 -0
  218. package/dist/editor/page-editor-chrome/DiffHighlightOverlay.js +295 -0
  219. package/dist/editor/page-editor-chrome/DiffHighlightOverlay.js.map +1 -0
  220. package/dist/editor/page-editor-chrome/FeedbackLeaderCanvasSegment.d.ts +15 -0
  221. package/dist/editor/page-editor-chrome/FeedbackLeaderCanvasSegment.js +31 -0
  222. package/dist/editor/page-editor-chrome/FeedbackLeaderCanvasSegment.js.map +1 -0
  223. package/dist/editor/page-editor-chrome/FindReplaceHighlightings.d.ts +11 -0
  224. package/dist/editor/page-editor-chrome/FindReplaceHighlightings.js +120 -0
  225. package/dist/editor/page-editor-chrome/FindReplaceHighlightings.js.map +1 -0
  226. package/dist/editor/page-editor-chrome/SpellCheckHighlightings.d.ts +12 -0
  227. package/dist/editor/page-editor-chrome/SpellCheckHighlightings.js +197 -0
  228. package/dist/editor/page-editor-chrome/SpellCheckHighlightings.js.map +1 -0
  229. package/dist/editor/page-editor-chrome/ValidationRulerMarks.d.ts +11 -0
  230. package/dist/editor/page-editor-chrome/ValidationRulerMarks.js +56 -0
  231. package/dist/editor/page-editor-chrome/ValidationRulerMarks.js.map +1 -0
  232. package/dist/editor/page-editor-chrome/diffRulerSegments.d.ts +18 -0
  233. package/dist/editor/page-editor-chrome/diffRulerSegments.js +37 -0
  234. package/dist/editor/page-editor-chrome/diffRulerSegments.js.map +1 -0
  235. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorMeasurements.d.ts +44 -0
  236. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorMeasurements.js +89 -0
  237. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorMeasurements.js.map +1 -0
  238. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorStore.d.ts +17 -0
  239. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorStore.js +53 -0
  240. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorStore.js.map +1 -0
  241. package/dist/editor/page-editor-chrome/overlay/useBridgeTextRangeRequest.d.ts +11 -0
  242. package/dist/editor/page-editor-chrome/overlay/useBridgeTextRangeRequest.js +84 -0
  243. package/dist/editor/page-editor-chrome/overlay/useBridgeTextRangeRequest.js.map +1 -0
  244. package/dist/editor/page-editor-chrome/overlay/useCommentAnchorMeasurements.d.ts +34 -0
  245. package/dist/editor/page-editor-chrome/overlay/useCommentAnchorMeasurements.js +229 -0
  246. package/dist/editor/page-editor-chrome/overlay/useCommentAnchorMeasurements.js.map +1 -0
  247. package/dist/editor/page-editor-chrome/overlay/useOverlayViewportRight.d.ts +9 -0
  248. package/dist/editor/page-editor-chrome/overlay/useOverlayViewportRight.js +34 -0
  249. package/dist/editor/page-editor-chrome/overlay/useOverlayViewportRight.js.map +1 -0
  250. package/dist/editor/page-editor-chrome/overlay/useSuggestionAnchorMeasurements.d.ts +49 -0
  251. package/dist/editor/page-editor-chrome/overlay/useSuggestionAnchorMeasurements.js +241 -0
  252. package/dist/editor/page-editor-chrome/overlay/useSuggestionAnchorMeasurements.js.map +1 -0
  253. package/dist/editor/page-viewer/CanvasOverviewRuler.d.ts +11 -0
  254. package/dist/editor/page-viewer/CanvasOverviewRuler.js +65 -0
  255. package/dist/editor/page-viewer/CanvasOverviewRuler.js.map +1 -0
  256. package/dist/editor/page-viewer/DynamicRenderingsBar.d.ts +23 -0
  257. package/dist/editor/page-viewer/DynamicRenderingsBar.js +28 -0
  258. package/dist/editor/page-viewer/DynamicRenderingsBar.js.map +1 -0
  259. package/dist/editor/page-viewer/DynamicRenderingsStrip.d.ts +18 -0
  260. package/dist/editor/page-viewer/DynamicRenderingsStrip.js +29 -0
  261. package/dist/editor/page-viewer/DynamicRenderingsStrip.js.map +1 -0
  262. package/dist/editor/page-viewer/FeedbackMargin.d.ts +57 -0
  263. package/dist/editor/page-viewer/FeedbackMargin.js +377 -0
  264. package/dist/editor/page-viewer/FeedbackMargin.js.map +1 -0
  265. package/dist/editor/page-viewer/FeedbackMarginController.d.ts +76 -0
  266. package/dist/editor/page-viewer/FeedbackMarginController.js +241 -0
  267. package/dist/editor/page-viewer/FeedbackMarginController.js.map +1 -0
  268. package/dist/editor/page-viewer/FeedbackMarginMarker.d.ts +16 -0
  269. package/dist/editor/page-viewer/FeedbackMarginMarker.js +24 -0
  270. package/dist/editor/page-viewer/FeedbackMarginMarker.js.map +1 -0
  271. package/dist/editor/page-viewer/FeedbackMarginResizeHandle.d.ts +23 -0
  272. package/dist/editor/page-viewer/FeedbackMarginResizeHandle.js +105 -0
  273. package/dist/editor/page-viewer/FeedbackMarginResizeHandle.js.map +1 -0
  274. package/dist/editor/page-viewer/InteractivePreviewBar.d.ts +24 -0
  275. package/dist/editor/page-viewer/InteractivePreviewBar.js +31 -0
  276. package/dist/editor/page-viewer/InteractivePreviewBar.js.map +1 -0
  277. package/dist/editor/page-viewer/MobileCommentsPanel.d.ts +16 -0
  278. package/dist/editor/page-viewer/MobileCommentsPanel.js +112 -0
  279. package/dist/editor/page-viewer/MobileCommentsPanel.js.map +1 -0
  280. package/dist/editor/page-viewer/PreviewModeNotice.d.ts +7 -0
  281. package/dist/editor/page-viewer/PreviewModeNotice.js +19 -0
  282. package/dist/editor/page-viewer/PreviewModeNotice.js.map +1 -0
  283. package/dist/editor/page-viewer/RenderingAiCheck.d.ts +18 -0
  284. package/dist/editor/page-viewer/RenderingAiCheck.js +45 -0
  285. package/dist/editor/page-viewer/RenderingAiCheck.js.map +1 -0
  286. package/dist/editor/page-viewer/RenderingApprovalDialog.d.ts +32 -0
  287. package/dist/editor/page-viewer/RenderingApprovalDialog.js +191 -0
  288. package/dist/editor/page-viewer/RenderingApprovalDialog.js.map +1 -0
  289. package/dist/editor/page-viewer/SealedClientCodePreview.d.ts +17 -0
  290. package/dist/editor/page-viewer/SealedClientCodePreview.js +38 -0
  291. package/dist/editor/page-viewer/SealedClientCodePreview.js.map +1 -0
  292. package/dist/editor/page-viewer/canvasFrameNavigation.d.ts +18 -0
  293. package/dist/editor/page-viewer/canvasFrameNavigation.js +36 -0
  294. package/dist/editor/page-viewer/canvasFrameNavigation.js.map +1 -0
  295. package/dist/editor/page-viewer/canvasLoadSettling.d.ts +42 -0
  296. package/dist/editor/page-viewer/canvasLoadSettling.js +46 -0
  297. package/dist/editor/page-viewer/canvasLoadSettling.js.map +1 -0
  298. package/dist/editor/page-viewer/canvasScrollHandoff.d.ts +34 -0
  299. package/dist/editor/page-viewer/canvasScrollHandoff.js +55 -0
  300. package/dist/editor/page-viewer/canvasScrollHandoff.js.map +1 -0
  301. package/dist/editor/page-viewer/compareFrameWidth.d.ts +8 -0
  302. package/dist/editor/page-viewer/compareFrameWidth.js +25 -0
  303. package/dist/editor/page-viewer/compareFrameWidth.js.map +1 -0
  304. package/dist/editor/page-viewer/feedbackMarginLayout.d.ts +119 -0
  305. package/dist/editor/page-viewer/feedbackMarginLayout.js +155 -0
  306. package/dist/editor/page-viewer/feedbackMarginLayout.js.map +1 -0
  307. package/dist/editor/page-viewer/feedbackMarginSources.d.ts +36 -0
  308. package/dist/editor/page-viewer/feedbackMarginSources.js +196 -0
  309. package/dist/editor/page-viewer/feedbackMarginSources.js.map +1 -0
  310. package/dist/editor/page-viewer/feedbackMarginWidth.d.ts +43 -0
  311. package/dist/editor/page-viewer/feedbackMarginWidth.js +107 -0
  312. package/dist/editor/page-viewer/feedbackMarginWidth.js.map +1 -0
  313. package/dist/editor/page-viewer/interactivePreview.d.ts +168 -0
  314. package/dist/editor/page-viewer/interactivePreview.js +344 -0
  315. package/dist/editor/page-viewer/interactivePreview.js.map +1 -0
  316. package/dist/editor/page-viewer/minimapViewport.d.ts +2 -0
  317. package/dist/editor/page-viewer/minimapViewport.js +34 -0
  318. package/dist/editor/page-viewer/minimapViewport.js.map +1 -0
  319. package/dist/editor/page-viewer/openPageItems.d.ts +29 -0
  320. package/dist/editor/page-viewer/openPageItems.js +73 -0
  321. package/dist/editor/page-viewer/openPageItems.js.map +1 -0
  322. package/dist/editor/page-viewer/overviewRuler.d.ts +128 -0
  323. package/dist/editor/page-viewer/overviewRuler.js +226 -0
  324. package/dist/editor/page-viewer/overviewRuler.js.map +1 -0
  325. package/dist/editor/page-viewer/previewEditAttempt.d.ts +31 -0
  326. package/dist/editor/page-viewer/previewEditAttempt.js +68 -0
  327. package/dist/editor/page-viewer/previewEditAttempt.js.map +1 -0
  328. package/dist/editor/page-viewer/renderingApproval.d.ts +59 -0
  329. package/dist/editor/page-viewer/renderingApproval.js +186 -0
  330. package/dist/editor/page-viewer/renderingApproval.js.map +1 -0
  331. package/dist/editor/page-viewer/renderingChanges.d.ts +29 -0
  332. package/dist/editor/page-viewer/renderingChanges.js +40 -0
  333. package/dist/editor/page-viewer/renderingChanges.js.map +1 -0
  334. package/dist/editor/page-viewer/scrollIntoViewTextRanges.d.ts +23 -0
  335. package/dist/editor/page-viewer/scrollIntoViewTextRanges.js +26 -0
  336. package/dist/editor/page-viewer/scrollIntoViewTextRanges.js.map +1 -0
  337. package/dist/editor/page-viewer/useInteractivePreview.d.ts +77 -0
  338. package/dist/editor/page-viewer/useInteractivePreview.js +210 -0
  339. package/dist/editor/page-viewer/useInteractivePreview.js.map +1 -0
  340. package/dist/editor/reviews/CollapsibleText.d.ts +13 -0
  341. package/dist/editor/reviews/CollapsibleText.js +41 -0
  342. package/dist/editor/reviews/CollapsibleText.js.map +1 -0
  343. package/dist/editor/reviews/CommentImageAttachments.d.ts +12 -0
  344. package/dist/editor/reviews/CommentImageAttachments.js +19 -0
  345. package/dist/editor/reviews/CommentImageAttachments.js.map +1 -0
  346. package/dist/editor/reviews/CommentQuote.d.ts +13 -0
  347. package/dist/editor/reviews/CommentQuote.js +35 -0
  348. package/dist/editor/reviews/CommentQuote.js.map +1 -0
  349. package/dist/editor/reviews/CommentTargetOutline.d.ts +13 -0
  350. package/dist/editor/reviews/CommentTargetOutline.js +21 -0
  351. package/dist/editor/reviews/CommentTargetOutline.js.map +1 -0
  352. package/dist/editor/reviews/CommentTargetPickerDomLayer.d.ts +7 -0
  353. package/dist/editor/reviews/CommentTargetPickerDomLayer.js +117 -0
  354. package/dist/editor/reviews/CommentTargetPickerDomLayer.js.map +1 -0
  355. package/dist/editor/reviews/CommentThreadAgentLink.d.ts +28 -0
  356. package/dist/editor/reviews/CommentThreadAgentLink.js +37 -0
  357. package/dist/editor/reviews/CommentThreadAgentLink.js.map +1 -0
  358. package/dist/editor/reviews/CommentThreadCard.d.ts +34 -0
  359. package/dist/editor/reviews/CommentThreadCard.js +156 -0
  360. package/dist/editor/reviews/CommentThreadCard.js.map +1 -0
  361. package/dist/editor/reviews/SuggestionThreadCard.d.ts +19 -0
  362. package/dist/editor/reviews/SuggestionThreadCard.js +25 -0
  363. package/dist/editor/reviews/SuggestionThreadCard.js.map +1 -0
  364. package/dist/editor/reviews/addCommentOnTarget.d.ts +22 -0
  365. package/dist/editor/reviews/addCommentOnTarget.js +32 -0
  366. package/dist/editor/reviews/addCommentOnTarget.js.map +1 -0
  367. package/dist/editor/reviews/balloonLayout.d.ts +51 -0
  368. package/dist/editor/reviews/balloonLayout.js +101 -0
  369. package/dist/editor/reviews/balloonLayout.js.map +1 -0
  370. package/dist/editor/reviews/commentAgentAttachments.d.ts +5 -0
  371. package/dist/editor/reviews/commentAgentAttachments.js +51 -0
  372. package/dist/editor/reviews/commentAgentAttachments.js.map +1 -0
  373. package/dist/editor/reviews/commentImages.d.ts +48 -0
  374. package/dist/editor/reviews/commentImages.js +128 -0
  375. package/dist/editor/reviews/commentImages.js.map +1 -0
  376. package/dist/editor/reviews/commentTargetPicker.d.ts +114 -0
  377. package/dist/editor/reviews/commentTargetPicker.js +153 -0
  378. package/dist/editor/reviews/commentTargetPicker.js.map +1 -0
  379. package/dist/editor/reviews/feedbackBalloonDate.d.ts +8 -0
  380. package/dist/editor/reviews/feedbackBalloonDate.js +22 -0
  381. package/dist/editor/reviews/feedbackBalloonDate.js.map +1 -0
  382. package/dist/editor/reviews/feedbackDrafts.d.ts +49 -0
  383. package/dist/editor/reviews/feedbackDrafts.js +74 -0
  384. package/dist/editor/reviews/feedbackDrafts.js.map +1 -0
  385. package/dist/editor/reviews/feedbackHoverState.d.ts +18 -0
  386. package/dist/editor/reviews/feedbackHoverState.js +35 -0
  387. package/dist/editor/reviews/feedbackHoverState.js.map +1 -0
  388. package/dist/editor/reviews/feedbackPersonFilter.d.ts +3 -0
  389. package/dist/editor/reviews/feedbackPersonFilter.js +32 -0
  390. package/dist/editor/reviews/feedbackPersonFilter.js.map +1 -0
  391. package/dist/editor/reviews/feedbackThreadSelection.d.ts +10 -0
  392. package/dist/editor/reviews/feedbackThreadSelection.js +31 -0
  393. package/dist/editor/reviews/feedbackThreadSelection.js.map +1 -0
  394. package/dist/editor/reviews/feedbackThreads.d.ts +50 -0
  395. package/dist/editor/reviews/feedbackThreads.js +135 -0
  396. package/dist/editor/reviews/feedbackThreads.js.map +1 -0
  397. package/dist/editor/reviews/feedbackWheelForwarding.d.ts +34 -0
  398. package/dist/editor/reviews/feedbackWheelForwarding.js +108 -0
  399. package/dist/editor/reviews/feedbackWheelForwarding.js.map +1 -0
  400. package/dist/editor/reviews/reviewUrlScope.d.ts +23 -0
  401. package/dist/editor/reviews/reviewUrlScope.js +86 -0
  402. package/dist/editor/reviews/reviewUrlScope.js.map +1 -0
  403. package/dist/editor/reviews/scrollWithin.d.ts +29 -0
  404. package/dist/editor/reviews/scrollWithin.js +87 -0
  405. package/dist/editor/reviews/scrollWithin.js.map +1 -0
  406. package/dist/editor/reviews/subtreeFeedback.d.ts +57 -0
  407. package/dist/editor/reviews/subtreeFeedback.js +137 -0
  408. package/dist/editor/reviews/subtreeFeedback.js.map +1 -0
  409. package/dist/editor/reviews/useCommentImagePaste.d.ts +80 -0
  410. package/dist/editor/reviews/useCommentImagePaste.js +252 -0
  411. package/dist/editor/reviews/useCommentImagePaste.js.map +1 -0
  412. package/dist/editor/reviews/useFeedbackThreads.d.ts +35 -0
  413. package/dist/editor/reviews/useFeedbackThreads.js +137 -0
  414. package/dist/editor/reviews/useFeedbackThreads.js.map +1 -0
  415. package/dist/editor/reviews/useMeasuredHeights.d.ts +25 -0
  416. package/dist/editor/reviews/useMeasuredHeights.js +176 -0
  417. package/dist/editor/reviews/useMeasuredHeights.js.map +1 -0
  418. package/dist/editor/reviews/usePendingFeedbackFocus.d.ts +7 -0
  419. package/dist/editor/reviews/usePendingFeedbackFocus.js +42 -0
  420. package/dist/editor/reviews/usePendingFeedbackFocus.js.map +1 -0
  421. package/dist/editor/services/mcpAccessService.d.ts +93 -0
  422. package/dist/editor/services/mcpAccessService.js +41 -0
  423. package/dist/editor/services/mcpAccessService.js.map +1 -0
  424. package/dist/editor/services/migrationService.d.ts +31 -0
  425. package/dist/editor/services/migrationService.js +22 -0
  426. package/dist/editor/services/migrationService.js.map +1 -0
  427. package/dist/editor/services/previewTokenService.d.ts +14 -0
  428. package/dist/editor/services/previewTokenService.js +34 -0
  429. package/dist/editor/services/previewTokenService.js.map +1 -0
  430. package/dist/editor/services/publicSiteService.d.ts +40 -0
  431. package/dist/editor/services/publicSiteService.js +5 -0
  432. package/dist/editor/services/publicSiteService.js.map +1 -0
  433. package/dist/editor/services/renderingsService.d.ts +117 -0
  434. package/dist/editor/services/renderingsService.js +245 -0
  435. package/dist/editor/services/renderingsService.js.map +1 -0
  436. package/dist/editor/services/spellCheckService.d.ts +13 -0
  437. package/dist/editor/services/spellCheckService.js +33 -0
  438. package/dist/editor/services/spellCheckService.js.map +1 -0
  439. package/dist/editor/settings/MigrationJournalCard.d.ts +12 -0
  440. package/dist/editor/settings/MigrationJournalCard.js +114 -0
  441. package/dist/editor/settings/MigrationJournalCard.js.map +1 -0
  442. package/dist/editor/settings/panels/McpAccessPanel.d.ts +7 -0
  443. package/dist/editor/settings/panels/McpAccessPanel.js +95 -0
  444. package/dist/editor/settings/panels/McpAccessPanel.js.map +1 -0
  445. package/dist/editor/settings/panels/McpAccessSettingsView.d.ts +8 -0
  446. package/dist/editor/settings/panels/McpAccessSettingsView.js +221 -0
  447. package/dist/editor/settings/panels/McpAccessSettingsView.js.map +1 -0
  448. package/dist/editor/settings/panels/PublicSiteEntryDialog.d.ts +8 -0
  449. package/dist/editor/settings/panels/PublicSiteEntryDialog.js +113 -0
  450. package/dist/editor/settings/panels/PublicSiteEntryDialog.js.map +1 -0
  451. package/dist/editor/settings/panels/PublicSitesPanel.d.ts +1 -0
  452. package/dist/editor/settings/panels/PublicSitesPanel.js +153 -0
  453. package/dist/editor/settings/panels/PublicSitesPanel.js.map +1 -0
  454. package/dist/editor/settings/panels/SpellCheckPanel.d.ts +8 -0
  455. package/dist/editor/settings/panels/SpellCheckPanel.js +253 -0
  456. package/dist/editor/settings/panels/SpellCheckPanel.js.map +1 -0
  457. package/dist/editor/settings/panels/publicSiteHelpers.d.ts +6 -0
  458. package/dist/editor/settings/panels/publicSiteHelpers.js +30 -0
  459. package/dist/editor/settings/panels/publicSiteHelpers.js.map +1 -0
  460. package/dist/editor/sidebar/FeedbackSidebar.d.ts +7 -0
  461. package/dist/editor/sidebar/FeedbackSidebar.js +300 -0
  462. package/dist/editor/sidebar/FeedbackSidebar.js.map +1 -0
  463. package/dist/editor/sidebar/OperationDetailsContent.d.ts +14 -0
  464. package/dist/editor/sidebar/OperationDetailsContent.js +571 -0
  465. package/dist/editor/sidebar/OperationDetailsContent.js.map +1 -0
  466. package/dist/editor/sidebar/liveComponentThumbnails.d.ts +66 -0
  467. package/dist/editor/sidebar/liveComponentThumbnails.js +225 -0
  468. package/dist/editor/sidebar/liveComponentThumbnails.js.map +1 -0
  469. package/dist/editor/spellcheck/canvasSpellCheckContextMenu.d.ts +30 -0
  470. package/dist/editor/spellcheck/canvasSpellCheckContextMenu.js +69 -0
  471. package/dist/editor/spellcheck/canvasSpellCheckContextMenu.js.map +1 -0
  472. package/dist/editor/spellcheck/htmlSpellDocument.d.ts +60 -0
  473. package/dist/editor/spellcheck/htmlSpellDocument.js +181 -0
  474. package/dist/editor/spellcheck/htmlSpellDocument.js.map +1 -0
  475. package/dist/editor/spellcheck/htmlSpellTokenizer.d.ts +45 -0
  476. package/dist/editor/spellcheck/htmlSpellTokenizer.js +277 -0
  477. package/dist/editor/spellcheck/htmlSpellTokenizer.js.map +1 -0
  478. package/dist/editor/spellcheck/replacementGuard.d.ts +27 -0
  479. package/dist/editor/spellcheck/replacementGuard.js +29 -0
  480. package/dist/editor/spellcheck/replacementGuard.js.map +1 -0
  481. package/dist/editor/spellcheck/spellCheckCanvasStore.d.ts +17 -0
  482. package/dist/editor/spellcheck/spellCheckCanvasStore.js +37 -0
  483. package/dist/editor/spellcheck/spellCheckCanvasStore.js.map +1 -0
  484. package/dist/editor/spellcheck/spellCheckCanvasTargets.d.ts +71 -0
  485. package/dist/editor/spellcheck/spellCheckCanvasTargets.js +126 -0
  486. package/dist/editor/spellcheck/spellCheckCanvasTargets.js.map +1 -0
  487. package/dist/editor/spellcheck/spellCheckClient.d.ts +66 -0
  488. package/dist/editor/spellcheck/spellCheckClient.js +0 -0
  489. package/dist/editor/spellcheck/spellCheckClient.js.map +1 -0
  490. package/dist/editor/spellcheck/spellCheckContextMenu.d.ts +52 -0
  491. package/dist/editor/spellcheck/spellCheckContextMenu.js +120 -0
  492. package/dist/editor/spellcheck/spellCheckContextMenu.js.map +1 -0
  493. package/dist/editor/spellcheck/spellCheckReplace.d.ts +8 -0
  494. package/dist/editor/spellcheck/spellCheckReplace.js +20 -0
  495. package/dist/editor/spellcheck/spellCheckReplace.js.map +1 -0
  496. package/dist/editor/spellcheck/spellCheckStyles.d.ts +11 -0
  497. package/dist/editor/spellcheck/spellCheckStyles.js +12 -0
  498. package/dist/editor/spellcheck/spellCheckStyles.js.map +1 -0
  499. package/dist/editor/spellcheck/spellCheckTypes.d.ts +94 -0
  500. package/dist/editor/spellcheck/spellCheckTypes.js +2 -0
  501. package/dist/editor/spellcheck/spellCheckTypes.js.map +1 -0
  502. package/dist/editor/spellcheck/textMarkHitTest.d.ts +14 -0
  503. package/dist/editor/spellcheck/textMarkHitTest.js +39 -0
  504. package/dist/editor/spellcheck/textMarkHitTest.js.map +1 -0
  505. package/dist/editor/spellcheck/useSpellCheck.d.ts +16 -0
  506. package/dist/editor/spellcheck/useSpellCheck.js +57 -0
  507. package/dist/editor/spellcheck/useSpellCheck.js.map +1 -0
  508. package/dist/editor/ui/DynamicRenderingsPublishWarning.d.ts +14 -0
  509. package/dist/editor/ui/DynamicRenderingsPublishWarning.js +40 -0
  510. package/dist/editor/ui/DynamicRenderingsPublishWarning.js.map +1 -0
  511. package/dist/editor/ui/ParheliaMark.d.ts +15 -0
  512. package/dist/editor/ui/ParheliaMark.js +12 -0
  513. package/dist/editor/ui/ParheliaMark.js.map +1 -0
  514. package/dist/editor/ui/PublishReadinessSummary.d.ts +12 -0
  515. package/dist/editor/ui/PublishReadinessSummary.js +34 -0
  516. package/dist/editor/ui/PublishReadinessSummary.js.map +1 -0
  517. package/dist/editor/ui/RootItemPicker.d.ts +18 -0
  518. package/dist/editor/ui/RootItemPicker.js +112 -0
  519. package/dist/editor/ui/RootItemPicker.js.map +1 -0
  520. package/dist/editor/ui/publishReadiness.d.ts +98 -0
  521. package/dist/editor/ui/publishReadiness.js +307 -0
  522. package/dist/editor/ui/publishReadiness.js.map +1 -0
  523. package/dist/editor/ui/usePublishingItem.d.ts +8 -0
  524. package/dist/editor/ui/usePublishingItem.js +47 -0
  525. package/dist/editor/ui/usePublishingItem.js.map +1 -0
  526. package/dist/editor/undoEligibility.d.ts +2 -0
  527. package/dist/editor/undoEligibility.js +8 -0
  528. package/dist/editor/undoEligibility.js.map +1 -0
  529. package/dist/editor/utils/dataTransferImages.d.ts +7 -0
  530. package/dist/editor/utils/dataTransferImages.js +43 -0
  531. package/dist/editor/utils/dataTransferImages.js.map +1 -0
  532. package/dist/editor/utils/linkDisplay.d.ts +12 -0
  533. package/dist/editor/utils/linkDisplay.js +23 -0
  534. package/dist/editor/utils/linkDisplay.js.map +1 -0
  535. package/dist/editor/validation/ValidationIssuesPopover.d.ts +39 -0
  536. package/dist/editor/validation/ValidationIssuesPopover.js +51 -0
  537. package/dist/editor/validation/ValidationIssuesPopover.js.map +1 -0
  538. package/dist/editor/validation/navigateToValidationIssue.d.ts +13 -0
  539. package/dist/editor/validation/navigateToValidationIssue.js +43 -0
  540. package/dist/editor/validation/navigateToValidationIssue.js.map +1 -0
  541. package/dist/editor/validation/validationFixAgent.d.ts +26 -0
  542. package/dist/editor/validation/validationFixAgent.js +124 -0
  543. package/dist/editor/validation/validationFixAgent.js.map +1 -0
  544. package/dist/editor/validation/validationRulerIssues.d.ts +17 -0
  545. package/dist/editor/validation/validationRulerIssues.js +44 -0
  546. package/dist/editor/validation/validationRulerIssues.js.map +1 -0
  547. package/dist/editor/validation/validationSeverity.d.ts +15 -0
  548. package/dist/editor/validation/validationSeverity.js +47 -0
  549. package/dist/editor/validation/validationSeverity.js.map +1 -0
  550. package/dist/lib/viewportClip.d.ts +18 -0
  551. package/dist/lib/viewportClip.js +22 -0
  552. package/dist/lib/viewportClip.js.map +1 -0
  553. package/dist/revision.d.ts +2 -2
  554. package/dist/revision.js +2 -2
  555. package/dist/task-board/components/AttentionPromptDialog.d.ts +13 -0
  556. package/dist/task-board/components/AttentionPromptDialog.js +45 -0
  557. package/dist/task-board/components/AttentionPromptDialog.js.map +1 -0
  558. package/dist/task-board/components/GoalFindingsTable.d.ts +43 -0
  559. package/dist/task-board/components/GoalFindingsTable.js +160 -0
  560. package/dist/task-board/components/GoalFindingsTable.js.map +1 -0
  561. package/dist/task-board/components/IssuePanel.d.ts +31 -0
  562. package/dist/task-board/components/IssuePanel.js +268 -0
  563. package/dist/task-board/components/IssuePanel.js.map +1 -0
  564. package/dist/task-board/components/ProjectProgressIndicator.d.ts +8 -0
  565. package/dist/task-board/components/ProjectProgressIndicator.js +17 -0
  566. package/dist/task-board/components/ProjectProgressIndicator.js.map +1 -0
  567. package/dist/task-board/components/SubgoalFindings.d.ts +40 -0
  568. package/dist/task-board/components/SubgoalFindings.js +88 -0
  569. package/dist/task-board/components/SubgoalFindings.js.map +1 -0
  570. package/dist/task-board/components/commentAuthor.d.ts +14 -0
  571. package/dist/task-board/components/commentAuthor.js +25 -0
  572. package/dist/task-board/components/commentAuthor.js.map +1 -0
  573. package/dist/task-board/services/issueService.d.ts +193 -0
  574. package/dist/task-board/services/issueService.js +97 -0
  575. package/dist/task-board/services/issueService.js.map +1 -0
  576. package/dist/task-board/taskBlockers.d.ts +10 -0
  577. package/dist/task-board/taskBlockers.js +66 -0
  578. package/dist/task-board/taskBlockers.js.map +1 -0
  579. package/dist/task-board/utils/projectDashboardModel.d.ts +68 -0
  580. package/dist/task-board/utils/projectDashboardModel.js +369 -0
  581. package/dist/task-board/utils/projectDashboardModel.js.map +1 -0
  582. package/dist/task-board/views/ProjectDashboardView.d.ts +28 -0
  583. package/dist/task-board/views/ProjectDashboardView.js +308 -0
  584. package/dist/task-board/views/ProjectDashboardView.js.map +1 -0
  585. package/dist/tour/TourInputBoundary.d.ts +6 -0
  586. package/dist/tour/TourInputBoundary.js +82 -0
  587. package/dist/tour/TourInputBoundary.js.map +1 -0
  588. package/dist/tour/sandbox-tour-copy.d.ts +8 -0
  589. package/dist/tour/sandbox-tour-copy.js +8 -0
  590. package/dist/tour/sandbox-tour-copy.js.map +1 -1
  591. package/dist/tour/sandbox-tour.d.ts +3 -0
  592. package/dist/tour/sandbox-tour.js +112 -6
  593. package/dist/tour/sandbox-tour.js.map +1 -1
  594. package/dist/tour/tour-utils.d.ts +6 -0
  595. package/dist/tour/tour-utils.js +10 -0
  596. package/dist/tour/tour-utils.js.map +1 -1
  597. package/package.json +1 -1
  598. package/dist/editor/page-editor-chrome/bridgeLinkValue.d.ts +0 -10
  599. package/dist/editor/page-editor-chrome/bridgeLinkValue.js +0 -55
  600. package/dist/editor/page-editor-chrome/bridgeLinkValue.js.map +0 -1
@@ -0,0 +1,43 @@
1
+ import { stripGuid } from "../utils";
2
+ // All validation click-throughs open in this one shared slot (EditorSlot.tag).
3
+ export const VALIDATION_SLOT_TAG = "validation";
4
+ /**
5
+ * Opens the item a validation issue belongs to and focuses the field.
6
+ * Shared by the Validation sidebar rows and the issue popovers.
7
+ */
8
+ export async function navigateToValidationIssue(editContext, target, setFocusedField) {
9
+ const itemDescriptor = {
10
+ id: target.itemId,
11
+ language: target.language,
12
+ version: target.version,
13
+ };
14
+ const slots = editContext.editorSlots ?? [];
15
+ const openSlot = slots.find((slot) => stripGuid(slot.itemDescriptor?.id ?? "") === stripGuid(itemDescriptor.id) &&
16
+ slot.itemDescriptor?.language?.toLowerCase() ===
17
+ itemDescriptor.language?.toLowerCase() &&
18
+ slot.itemDescriptor?.version === itemDescriptor.version);
19
+ if (openSlot) {
20
+ editContext.setActiveSlot(openSlot.slotId);
21
+ }
22
+ else {
23
+ // Open the result in the shared validation slot instead of replacing the
24
+ // reviewed page: replacing the page collapses the workbox scope and
25
+ // re-scopes the validation list to the single clicked item. Every click
26
+ // routes into the same tagged slot, so stepping through results never
27
+ // accumulates panes.
28
+ const validationSlot = slots.find((slot) => slot.tag === VALIDATION_SLOT_TAG);
29
+ const loadedItem = await editContext.loadItem(itemDescriptor, validationSlot
30
+ ? { targetSlotId: validationSlot.slotId }
31
+ : { openInNewSlot: true, newSlotTag: VALIDATION_SLOT_TAG });
32
+ if (!loadedItem)
33
+ return;
34
+ }
35
+ // Selection first: it keeps the component highlighted on its page canvas,
36
+ // and the focus-clearing effect only retains focusedField while
37
+ // selection[0] matches its item id.
38
+ editContext.select?.([target.itemId]);
39
+ if (target.fieldId) {
40
+ await setFocusedField?.({ item: itemDescriptor, fieldId: target.fieldId }, false);
41
+ }
42
+ }
43
+ //# sourceMappingURL=navigateToValidationIssue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigateToValidationIssue.js","sourceRoot":"","sources":["../../../src/editor/validation/navigateToValidationIssue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,+EAA+E;AAC/E,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAShD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,WAA4B,EAC5B,MAA6B,EAC7B,eAAqE;IAErE,MAAM,cAAc,GAAG;QACrB,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC;IAEF,MAAM,KAAK,GAAG,WAAW,CAAC,WAAW,IAAI,EAAE,CAAC;IAC5C,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CACzB,CAAC,IAAI,EAAE,EAAE,CACP,SAAS,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC,cAAc,CAAC,EAAE,CAAC;QACzE,IAAI,CAAC,cAAc,EAAE,QAAQ,EAAE,WAAW,EAAE;YAC1C,cAAc,CAAC,QAAQ,EAAE,WAAW,EAAE;QACxC,IAAI,CAAC,cAAc,EAAE,OAAO,KAAK,cAAc,CAAC,OAAO,CAC1D,CAAC;IAEF,IAAI,QAAQ,EAAE,CAAC;QACb,WAAW,CAAC,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;SAAM,CAAC;QACN,yEAAyE;QACzE,oEAAoE;QACpE,wEAAwE;QACxE,sEAAsE;QACtE,qBAAqB;QACrB,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,CAC/B,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,mBAAmB,CAC3C,CAAC;QACF,MAAM,UAAU,GAAG,MAAM,WAAW,CAAC,QAAQ,CAC3C,cAAc,EACd,cAAc;YACZ,CAAC,CAAC,EAAE,YAAY,EAAE,cAAc,CAAC,MAAM,EAAE;YACzC,CAAC,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,UAAU,EAAE,mBAAmB,EAAE,CAC7D,CAAC;QACF,IAAI,CAAC,UAAU;YAAE,OAAO;IAC1B,CAAC;IAED,0EAA0E;IAC1E,gEAAgE;IAChE,oCAAoC;IACpC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACtC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,MAAM,eAAe,EAAE,CACrB,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,EACjD,KAAK,CACN,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { SingleValidatorResult } from "../../types";
2
+ import { EditContextType } from "../client/editContext";
3
+ import { ItemDescriptor } from "../pageModel";
4
+ export type ValidationFixTarget = {
5
+ /** The item the issues belong to (a page or an embedded component item). */
6
+ item: ItemDescriptor;
7
+ issues: readonly SingleValidatorResult[];
8
+ /** Set when the button was clicked on a single field of the item. */
9
+ field?: {
10
+ fieldId: string;
11
+ fieldName?: string;
12
+ };
13
+ };
14
+ export declare function hasAgentsPanel(editContext?: EditContextType): boolean;
15
+ /**
16
+ * Prompt for the agent. The vocabulary (field, validator, level, message)
17
+ * mirrors the validate-items tool's findings so the agent can match them
18
+ * after re-running the validation.
19
+ */
20
+ export declare function buildValidationFixPrompt(target: ValidationFixTarget): string;
21
+ /**
22
+ * Opens the Agents panel and starts a new agent that fixes the given
23
+ * validation issues. Mirrors openAiAgentForComment (reviews/commentAi.ts).
24
+ * Returns false when nothing was started (no panel, quota exceeded, error).
25
+ */
26
+ export declare function openAiAgentForValidationIssues(target: ValidationFixTarget, editContext?: EditContextType): boolean;
@@ -0,0 +1,124 @@
1
+ import { stripGuid } from "../utils";
2
+ import { getValidationSeverity, validationSeverityStyles, } from "./validationSeverity";
3
+ export function hasAgentsPanel(editContext) {
4
+ return !!editContext?.configuration?.editor?.sidebars?.some((sidebar) => sidebar.id === "agents-panel");
5
+ }
6
+ function describeItem(item, fallbackName) {
7
+ const name = item.displayName || item.name || fallbackName || item.id;
8
+ const details = [
9
+ item.path,
10
+ item.language ? `${item.language} v${item.version ?? 0}` : undefined,
11
+ ].filter(Boolean);
12
+ return details.length ? `"${name}" (${details.join(", ")})` : `"${name}"`;
13
+ }
14
+ /**
15
+ * Prompt for the agent. The vocabulary (field, validator, level, message)
16
+ * mirrors the validate-items tool's findings so the agent can match them
17
+ * after re-running the validation.
18
+ */
19
+ export function buildValidationFixPrompt(target) {
20
+ const { item, issues, field } = target;
21
+ const scope = field
22
+ ? `, field "${field.fieldName || issues[0]?.fieldName || field.fieldId}"`
23
+ : "";
24
+ const lines = issues.map((issue) => {
25
+ const level = validationSeverityStyles[getValidationSeverity(issue.result)]
26
+ .label;
27
+ const fieldPart = !field && issue.fieldName ? ` — Field "${issue.fieldName}"` : "";
28
+ return `- [${level}] ${issue.validator}${fieldPart}: ${issue.message}`;
29
+ });
30
+ return [
31
+ `Fix the following validation ${issues.length === 1 ? "issue" : "issues"} on ${describeItem(item, issues[0]?.itemName)}${scope}:`,
32
+ ...lines,
33
+ "",
34
+ "Make the smallest content change that resolves each issue, then run validate-items on this item to confirm nothing is left, and summarize what you changed.",
35
+ ].join("\n");
36
+ }
37
+ /**
38
+ * Opens the Agents panel and starts a new agent that fixes the given
39
+ * validation issues. Mirrors openAiAgentForComment (reviews/commentAi.ts).
40
+ * Returns false when nothing was started (no panel, quota exceeded, error).
41
+ */
42
+ export function openAiAgentForValidationIssues(target, editContext) {
43
+ if (!editContext)
44
+ return false;
45
+ if (!hasAgentsPanel(editContext))
46
+ return false;
47
+ if (target.issues.length === 0)
48
+ return false;
49
+ if (editContext.isQuotaExceeded) {
50
+ editContext.showToast?.("AI quota exceeded. Please try again later or adjust settings.");
51
+ return false;
52
+ }
53
+ try {
54
+ if (editContext.isMobile) {
55
+ editContext.openSidebar("agents-panel");
56
+ }
57
+ else {
58
+ editContext.setShowAgentsPanel(true);
59
+ }
60
+ const { item, issues, field } = target;
61
+ const itemName = item.name || issues[0]?.itemName;
62
+ const targetItem = {
63
+ id: item.id,
64
+ language: item.language,
65
+ version: item.version,
66
+ name: itemName,
67
+ path: item.path,
68
+ };
69
+ // The loaded page gives the agent the surrounding context when the
70
+ // issues sit on an embedded component item of that page.
71
+ const pageItem = editContext.item;
72
+ const pageDiffers = !!pageItem?.id && stripGuid(pageItem.id) !== stripGuid(item.id);
73
+ const items = pageDiffers
74
+ ? [
75
+ {
76
+ id: pageItem.id,
77
+ language: pageItem.language,
78
+ version: pageItem.version,
79
+ name: pageItem.name,
80
+ path: pageItem.path,
81
+ },
82
+ targetItem,
83
+ ]
84
+ : [targetItem];
85
+ const metadata = {
86
+ items,
87
+ currentItemId: item.id,
88
+ field: field
89
+ ? {
90
+ fieldId: field.fieldId,
91
+ fieldName: field.fieldName || issues[0]?.fieldName,
92
+ item: targetItem,
93
+ }
94
+ : undefined,
95
+ additionalData: {
96
+ initialPrompt: buildValidationFixPrompt(target),
97
+ profileId: editContext.parheliaSettings?.validationFixProfileId || undefined,
98
+ profileName: editContext.parheliaSettings?.validationFixProfileName || undefined,
99
+ },
100
+ };
101
+ const dispatchEvent = () => {
102
+ try {
103
+ window.dispatchEvent(new CustomEvent("editor:addNewAgent", {
104
+ detail: { metadata },
105
+ }));
106
+ }
107
+ catch { }
108
+ };
109
+ if (editContext.isMobile) {
110
+ // Mobile: the sidebar needs a moment to mount and start listening.
111
+ setTimeout(dispatchEvent, 500);
112
+ }
113
+ else {
114
+ dispatchEvent();
115
+ }
116
+ return true;
117
+ }
118
+ catch (e) {
119
+ console.error("Failed to start agent for validation issues:", e);
120
+ editContext.showToast?.("Failed to start AI agent for these issues.");
121
+ return false;
122
+ }
123
+ }
124
+ //# sourceMappingURL=validationFixAgent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validationFixAgent.js","sourceRoot":"","sources":["../../../src/editor/validation/validationFixAgent.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EACL,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAU9B,MAAM,UAAU,cAAc,CAAC,WAA6B;IAC1D,OAAO,CAAC,CAAC,WAAW,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CACzD,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,KAAK,cAAc,CAC3C,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CAAC,IAAoB,EAAE,YAAqB;IAC/D,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,IAAI,IAAI,YAAY,IAAI,IAAI,CAAC,EAAE,CAAC;IACtE,MAAM,OAAO,GAAG;QACd,IAAI,CAAC,IAAI;QACT,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,OAAO,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;KACrE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClB,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,IAAI,MAAM,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,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@
1
+ import type { ValidationResult } from "../../types";
2
+ import type { FieldDescriptor } from "../pageModel";
3
+ import { type ValidationSeverity } from "./validationSeverity";
4
+ /** The validation issues of one field, as the canvas overview ruler marks them. */
5
+ export type ValidationRulerIssue = {
6
+ key: string;
7
+ field: FieldDescriptor;
8
+ severity: ValidationSeverity;
9
+ /** Distinct messages, worst first. */
10
+ messages: string[];
11
+ };
12
+ /**
13
+ * One entry per field with issues (results above "Valid"), carrying the worst
14
+ * severity and every distinct message. Issues without a field have no place
15
+ * on the canvas and are left to the Validation sidebar.
16
+ */
17
+ export declare function collectValidationRulerIssues(validationResults: readonly ValidationResult[] | undefined): ValidationRulerIssue[];
@@ -0,0 +1,44 @@
1
+ import { filterValidationIssues, getWorstValidationSeverity, } from "./validationSeverity";
2
+ /**
3
+ * One entry per field with issues (results above "Valid"), carrying the worst
4
+ * severity and every distinct message. Issues without a field have no place
5
+ * on the canvas and are left to the Validation sidebar.
6
+ */
7
+ export function collectValidationRulerIssues(validationResults) {
8
+ const byField = new Map();
9
+ for (const validation of validationResults ?? []) {
10
+ for (const result of filterValidationIssues(validation.results)) {
11
+ if (!result.fieldId)
12
+ continue;
13
+ const item = {
14
+ id: result.itemId || validation.item.id,
15
+ language: validation.item.language,
16
+ version: validation.item.version,
17
+ };
18
+ const key = [
19
+ item.id.toLowerCase(),
20
+ item.language,
21
+ item.version,
22
+ result.fieldId.toLowerCase(),
23
+ ].join("|");
24
+ const entry = byField.get(key) ?? {
25
+ field: { item, fieldId: result.fieldId },
26
+ results: [],
27
+ };
28
+ entry.results.push(result);
29
+ byField.set(key, entry);
30
+ }
31
+ }
32
+ return Array.from(byField, ([key, { field, results }]) => {
33
+ const worstFirst = filterValidationIssues(results);
34
+ return {
35
+ key,
36
+ field,
37
+ severity: getWorstValidationSeverity(worstFirst),
38
+ messages: Array.from(new Set(worstFirst
39
+ .map((result) => result.message?.trim())
40
+ .filter((message) => !!message))),
41
+ };
42
+ });
43
+ }
44
+ //# sourceMappingURL=validationRulerIssues.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validationRulerIssues.js","sourceRoot":"","sources":["../../../src/editor/validation/validationRulerIssues.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,0BAA0B,GAE3B,MAAM,sBAAsB,CAAC;AAW9B;;;;GAIG;AACH,MAAM,UAAU,4BAA4B,CAC1C,iBAA0D;IAE1D,MAAM,OAAO,GAAG,IAAI,GAAG,EAGpB,CAAC;IAEJ,KAAK,MAAM,UAAU,IAAI,iBAAiB,IAAI,EAAE,EAAE,CAAC;QACjD,KAAK,MAAM,MAAM,IAAI,sBAAsB,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;YAChE,IAAI,CAAC,MAAM,CAAC,OAAO;gBAAE,SAAS;YAC9B,MAAM,IAAI,GAAG;gBACX,EAAE,EAAE,MAAM,CAAC,MAAM,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE;gBACvC,QAAQ,EAAE,UAAU,CAAC,IAAI,CAAC,QAAQ;gBAClC,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC,OAAO;aACjC,CAAC;YACF,MAAM,GAAG,GAAG;gBACV,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE;gBACrB,IAAI,CAAC,QAAQ;gBACb,IAAI,CAAC,OAAO;gBACZ,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE;aAC7B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACZ,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI;gBAChC,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE;gBACxC,OAAO,EAAE,EAA6B;aACvC,CAAC;YACF,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3B,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;QACvD,MAAM,UAAU,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,GAAG;YACH,KAAK;YACL,QAAQ,EAAE,0BAA0B,CAAC,UAAU,CAAE;YACjD,QAAQ,EAAE,KAAK,CAAC,IAAI,CAClB,IAAI,GAAG,CACL,UAAU;iBACP,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC;iBACvC,MAAM,CAAC,CAAC,OAAO,EAAqB,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CACrD,CACF;SACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { AlertCircle } from "lucide-react";
2
+ import { SingleValidatorResult } from "../../types";
3
+ export type ValidationSeverity = "suggestion" | "warning" | "error";
4
+ export declare function getValidationSeverity(result: SingleValidatorResult["result"] | number): ValidationSeverity;
5
+ export declare const validationSeverityStyles: Record<ValidationSeverity, {
6
+ label: string;
7
+ icon: typeof AlertCircle;
8
+ text: string;
9
+ badge: string;
10
+ bar: string;
11
+ }>;
12
+ /** Keeps only results above "Valid", worst first. */
13
+ export declare function filterValidationIssues<T extends SingleValidatorResult>(results: readonly T[] | undefined): T[];
14
+ export declare function getWorstValidationSeverity(issues: readonly SingleValidatorResult[]): ValidationSeverity | undefined;
15
+ export declare function formatValidationIssueCount(count: number): string;
@@ -0,0 +1,47 @@
1
+ import { AlertCircle, AlertTriangle, Lightbulb } from "lucide-react";
2
+ export function getValidationSeverity(result) {
3
+ if (result >= 4)
4
+ return "error";
5
+ if (result === 3)
6
+ return "warning";
7
+ return "suggestion";
8
+ }
9
+ export const validationSeverityStyles = {
10
+ error: {
11
+ label: "Error",
12
+ icon: AlertCircle,
13
+ text: "text-feedback-red",
14
+ badge: "bg-feedback-red-light text-feedback-red",
15
+ bar: "border-feedback-red",
16
+ },
17
+ warning: {
18
+ label: "Warning",
19
+ icon: AlertTriangle,
20
+ text: "text-feedback-orange",
21
+ badge: "bg-feedback-orange-light text-feedback-orange",
22
+ bar: "border-feedback-orange",
23
+ },
24
+ suggestion: {
25
+ label: "Suggestion",
26
+ icon: Lightbulb,
27
+ text: "text-feedback-blue",
28
+ badge: "bg-feedback-blue-light text-feedback-blue",
29
+ bar: "border-feedback-blue",
30
+ },
31
+ };
32
+ /** Keeps only results above "Valid", worst first. */
33
+ export function filterValidationIssues(results) {
34
+ return [...(results ?? [])]
35
+ .filter((x) => x.result > 1)
36
+ .sort((a, b) => b.result - a.result);
37
+ }
38
+ export function getWorstValidationSeverity(issues) {
39
+ if (issues.length === 0)
40
+ return undefined;
41
+ const worst = issues.reduce((max, issue) => Math.max(max, issue.result), 0);
42
+ return getValidationSeverity(worst);
43
+ }
44
+ export function formatValidationIssueCount(count) {
45
+ return `${count} ${count === 1 ? "issue" : "issues"}`;
46
+ }
47
+ //# sourceMappingURL=validationSeverity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validationSeverity.js","sourceRoot":"","sources":["../../../src/editor/validation/validationSeverity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQrE,MAAM,UAAU,qBAAqB,CACnC,MAAgD;IAEhD,IAAI,MAAM,IAAI,CAAC;QAAE,OAAO,OAAO,CAAC;IAChC,IAAI,MAAM,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IACnC,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,MAAM,CAAC,MAAM,wBAAwB,GASjC;IACF,KAAK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,mBAAmB;QACzB,KAAK,EAAE,yCAAyC;QAChD,GAAG,EAAE,qBAAq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;
6
+ };
7
+ export type ViewportClipRect = {
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ };
13
+ export type ViewportClipOptions = {
14
+ horizontal?: boolean;
15
+ vertical?: boolean;
16
+ };
17
+ /** Clips a fixed-position overlay to the viewport that owns its anchor. */
18
+ export declare function getViewportClipPath(rect: ViewportClipRect, bounds: ViewportClipBounds | undefined, options?: ViewportClipOptions): string | undefined;
@@ -0,0 +1,22 @@
1
+ /** Clips a fixed-position overlay to the viewport that owns its anchor. */
2
+ export function getViewportClipPath(rect, bounds, options = {}) {
3
+ if (!bounds)
4
+ return undefined;
5
+ const clipHorizontal = options.horizontal !== false;
6
+ const clipVertical = options.vertical !== false;
7
+ const right = rect.left + rect.width;
8
+ const bottom = rect.top + rect.height;
9
+ if ((clipHorizontal && (right <= bounds.left || rect.left >= bounds.right)) ||
10
+ (clipVertical && (bottom <= bounds.top || rect.top >= bounds.bottom))) {
11
+ return "inset(100%)";
12
+ }
13
+ const top = clipVertical ? Math.max(0, bounds.top - rect.top) : 0;
14
+ const rightInset = clipHorizontal ? Math.max(0, right - bounds.right) : 0;
15
+ const bottomInset = clipVertical ? Math.max(0, bottom - bounds.bottom) : 0;
16
+ const left = clipHorizontal ? Math.max(0, bounds.left - rect.left) : 0;
17
+ if (top === 0 && rightInset === 0 && bottomInset === 0 && left === 0) {
18
+ return undefined;
19
+ }
20
+ return `inset(${top}px ${rightInset}px ${bottomInset}px ${left}px)`;
21
+ }
22
+ //# sourceMappingURL=viewportClip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"viewportClip.js","sourceRoot":"","sources":["../../src/lib/viewportClip.ts"],"names":[],"mappings":"AAmBA,2EAA2E;AAC3E,MAAM,UAAU,mBAAmB,CACjC,IAAsB,EACtB,MAAsC,EACtC,OAAO,GAAwB,EAAE;IAEjC,IAAI,CAAC,MAAM;QAAE,OAAO,SAAS,CAAC;IAE9B,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,KAAK,K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,CAAC,EAAE,CAAC;QACrE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,SAAS,GAAG,MAAM,UAAU,MAAM,WAAW,MAAM,IAAI,KAAK,CAAC;AACtE,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const version = "0.3.12831";
2
- export declare const buildDate = "2026-09-03 14:25:47";
1
+ export declare const version = "0.3.12833";
2
+ export declare const buildDate = "2026-10-06 15:19:23";
package/dist/revision.js CHANGED
@@ -1,3 +1,3 @@
1
- export const version = "0.3.12831";
2
- export const buildDate = "2026-09-03 14:25:47";
1
+ export const version = "0.3.12833";
2
+ export const buildDate = "2026-10-06 15:19:23";
3
3
  //# sourceMappingURL=revision.js.map
@@ -0,0 +1,13 @@
1
+ import type { TaskItem } from "../types";
2
+ /**
3
+ * Semi-modal prompt shown on the dashboard when tasks newly need the user
4
+ * (tool approval, questions, review, errors). It does not block the page:
5
+ * `modal={false}` keeps the rest of the board clickable and scrollable, and
6
+ * focus is left where it is when the user is typing somewhere else.
7
+ */
8
+ export declare function AttentionPromptDialog({ tasks, onReview, onDismiss, }: {
9
+ /** Tasks to prompt for. An empty list closes the dialog. */
10
+ tasks: TaskItem[];
11
+ onReview: (taskId: string) => void;
12
+ onDismiss: () => void;
13
+ }): import("react").JSX.Element;
@@ -0,0 +1,45 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useMemo } from "react";
3
+ import { AlertCircle, HelpCircle } from "lucide-react";
4
+ import { Button } from "../../components/ui/button";
5
+ import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from "../../components/ui/dialog";
6
+ import { cn } from "../../lib/utils";
7
+ import { describeAttention, isFailedTask, } from "../utils/projectDashboardModel";
8
+ function isEditableElement(element) {
9
+ if (!element)
10
+ return false;
11
+ const tag = element.tagName;
12
+ if (tag === "INPUT" || tag === "TEXTAREA" || tag === "SELECT")
13
+ return true;
14
+ return element.isContentEditable === true;
15
+ }
16
+ /**
17
+ * Semi-modal prompt shown on the dashboard when tasks newly need the user
18
+ * (tool approval, questions, review, errors). It does not block the page:
19
+ * `modal={false}` keeps the rest of the board clickable and scrollable, and
20
+ * focus is left where it is when the user is typing somewhere else.
21
+ */
22
+ export function AttentionPromptDialog({ tasks, onReview, onDismiss, }) {
23
+ const entries = useMemo(() => tasks.map((task) => ({ task, ...describeAttention(task) })), [tasks]);
24
+ const open = entries.length > 0;
25
+ const description = entries.length === 1
26
+ ? "An agent needs you before it can continue."
27
+ : `${entries.length} agents need you before they can continue.`;
28
+ return (_jsx(Dialog, { open: open, modal: false, onOpenChange: (nextOpen) => {
29
+ if (!nextOpen)
30
+ onDismiss();
31
+ }, children: _jsxs(DialogContent, { "data-testid": "taskboard-attention-prompt", className: "max-w-md shadow-2xl", onOpenAutoFocus: (event) => {
32
+ // Never pull focus out of a field the user is typing in.
33
+ if (isEditableElement(document.activeElement)) {
34
+ event.preventDefault();
35
+ }
36
+ }, children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Waiting for you" }), _jsx(DialogDescription, { children: description })] }), _jsx("div", { className: "flex flex-col px-8 py-4", children: entries.map(({ task, description: reason, action }) => {
37
+ const asksQuestion = task.executionState === "Questions" ||
38
+ task.executionState === "WaitingForInput";
39
+ const Icon = asksQuestion ? HelpCircle : AlertCircle;
40
+ return (_jsxs("div", { "data-testid": `taskboard-attention-prompt-task-${task.taskId}`, className: "border-border-default/70 grid grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-3 border-t py-3 first:border-t-0", children: [_jsx(Icon, { strokeWidth: 1.5, "aria-hidden": "true", className: cn("size-4 shrink-0", isFailedTask(task)
41
+ ? "text-feedback-red"
42
+ : "text-feedback-orange") }), _jsxs("span", { className: "min-w-0", children: [_jsxs("span", { className: "text-neutral-grey-100 block truncate text-sm font-medium", children: [task.taskKey?.trim() ? (_jsx("span", { className: "text-neutral-grey-50 mr-1.5 text-[10px] font-medium tracking-widest", children: task.taskKey.trim() })) : null, task.title] }), _jsx("span", { className: "text-neutral-grey-50 block truncate text-xs", children: reason })] }), _jsx(Button, { type: "button", size: "sm", "data-testid": `taskboard-attention-prompt-review-${task.taskId}`, onClick: () => onReview(task.taskId), children: action })] }, task.taskId));
43
+ }) }), _jsx(DialogFooter, { children: _jsx(Button, { type: "button", variant: "outline", "data-testid": "taskboard-attention-prompt-later", onClick: onDismiss, children: "Later" }) })] }) }));
44
+ }
45
+ //# sourceMappingURL=AttentionPromptDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttentionPromptDialog.js","sourceRoot":"","sources":["../../../src/task-board/components/AttentionPromptDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EACL,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,OAAO,EACL,iBAAiB,EACjB,YAAY,GACb,MAAM,gCAAgC,CAAC;AAExC,SAAS,iBAAiB,CAAC,OAAuB;IAChD,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;IAC5B,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,UAAU,IAAI,GAAG,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IAC3E,OAAQ,OAAuB,CAAC,iBAAiB,KAAK,IAAI,CAAC;AAC7D,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,EACpC,KAAK,EACL,QAAQ,EACR,SAAS,GAMV;IACC,MAAM,OAAO,GAAG,OAAO,CACrB,GAAG,EAAE,CAA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,IAAI,CAAC,MAAM,EAAE,EAC7D,SAAS,EAAC,qHAAqH,aAE/H,KAAC,IAAI,IACH,WAAW,EAAE,GAAG,iBACJ,MAAM,EAClB,SAAS,EAAE,EAAE,CACX,iBAAiB,EACjB,YAAY,CAAC,IAAI,CAAC;wCAChB,CAAC,CAAC,mBAAmB;wCACrB,CAAC,CAAC,sBAAsB,CAC3B,GACD,EACF,gBAAM,SAAS,EAAC,SAAS,aACvB,gBAAM,SAAS,EAAC,0DAA0D,aACvE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CACtB,eAAM,SAAS,EAAC,qEAAqE,YAClF,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GACf,CACR,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,KAAK,IACN,EACP,eAAM,SAAS,EAAC,6CAA6C,YAC1D,MAAM,GACF,IACF,EACP,KAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,IAAI,iBACI,qCAAqC,IAAI,CAAC,MAAM,EAAE,EAC/D,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,YAEnC,MAAM,GACA,KAlCJ,IAAI,CAAC,MAAM,CAmCZ,CACP,CAAC;oBACJ,CAAC,CAAC,GACE,EACN,KAAC,YAAY,cACX,KAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,SAAS,iBACL,kCAAkC,EAC9C,OAAO,EAAE,SAAS,sBAGX,GACI,IACD,GACT,CACV,CAAC;AACJ,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { Subgoal } from "../types";
2
+ import { type GoalRecommendation, type GoalSeverity } from "./GoalDataView";
3
+ /** One recommendation of one subgoal, flattened for a cross-page table. */
4
+ export type GoalFinding = {
5
+ key: string;
6
+ subgoalId: string;
7
+ /** The page the finding belongs to: the subgoal's item path, else its title. */
8
+ page: string | null;
9
+ /** The subgoal's own item, opened from the page column. */
10
+ pageItemId: string | null;
11
+ /** The item the recommendation points at (often a component), else the page. */
12
+ itemId: string | null;
13
+ language: string | null;
14
+ severity: GoalSeverity | null;
15
+ text: string;
16
+ recommendation: GoalRecommendation;
17
+ };
18
+ /**
19
+ * Flattens the `recommendations` of every subgoal into findings, ordered by
20
+ * severity, then page, then the order the subgoal listed them in. Subgoals
21
+ * whose data carries no recommendations contribute nothing, so goal templates
22
+ * that never write them simply get no table.
23
+ */
24
+ export declare function collectGoalFindings(subgoals: Subgoal[]): GoalFinding[];
25
+ /** RFC 4180 CSV with a header row; one line per finding. */
26
+ export declare function findingsToCsv(findings: GoalFinding[]): string;
27
+ /**
28
+ * Every finding of the given subgoals as one flat, sortable table with a
29
+ * severity filter and a CSV export. Callers pass the subgoals that survive
30
+ * their own page-level filters, so a check or text filter narrows this too.
31
+ */
32
+ export declare function GoalFindingsTable({ subgoals, query, exportName, onOpenItem, onCreateTaskFromRecommendation, }: {
33
+ subgoals: Subgoal[];
34
+ /** Whitespace-separated terms; every term must occur in the page or text. */
35
+ query?: string;
36
+ /** Base name for the CSV download, e.g. the goal title. */
37
+ exportName: string;
38
+ onOpenItem?: (ref: {
39
+ itemId: string;
40
+ language?: string | null;
41
+ }) => void;
42
+ onCreateTaskFromRecommendation?: (recommendation: GoalRecommendation) => void;
43
+ }): import("react").JSX.Element;