@hachej/boring-workspace 0.1.70 → 0.1.72

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 (325) hide show
  1. package/dist/{FileTree-B_fRS4Om.js → FileTree-C8JPlZtS.js} +1 -1
  2. package/dist/{MarkdownEditor-C55gVDyW.js → MarkdownEditor-B9wN6tGH.js} +14 -14
  3. package/dist/{WorkspaceLoadingState-D3i4X-eH.js → WorkspaceLoadingState-TgOWTNJC.js} +350 -203
  4. package/dist/{WorkspaceProvider-Ddx7GByq.js → WorkspaceProvider-DcOiZU24.js} +9 -9
  5. package/dist/app-front.d.ts +2 -883
  6. package/dist/app-front.js +1049 -1033
  7. package/dist/app-server.d.ts +4 -4
  8. package/dist/bridge-client.d.ts +2 -2
  9. package/dist/charts.d.ts +2 -119
  10. package/dist/plugin.d.ts +3 -3
  11. package/dist/{runtimeEnv-CU-c4kaV.d.ts → runtimeEnv-DKtVLBXo.d.ts} +2 -2
  12. package/dist/server.d.ts +6 -6
  13. package/dist/shared.d.ts +3 -3
  14. package/dist/src/__tests__/WorkspaceProvider.test.d.ts +1 -0
  15. package/dist/src/__tests__/exploration.property.test.d.ts +1 -0
  16. package/dist/src/__tests__/plugin-integration.test.d.ts +1 -0
  17. package/dist/src/__tests__/public-api.test.d.ts +1 -0
  18. package/dist/src/__tests__/publicFileStateApi.test.d.ts +1 -0
  19. package/dist/src/__tests__/theme-system.test.d.ts +1 -0
  20. package/dist/src/app/front/CloseLeftPaneOnAttention.d.ts +10 -0
  21. package/dist/src/app/front/PluginAppLeftHost.d.ts +18 -0
  22. package/dist/src/app/front/WorkspaceAgentFront.d.ts +174 -0
  23. package/dist/src/app/front/WorkspaceAgentStatusStates.d.ts +5 -0
  24. package/dist/src/app/front/WorkspaceBackgroundBoot.d.ts +10 -0
  25. package/dist/src/app/front/WorkspaceBootGate.d.ts +12 -0
  26. package/dist/src/app/front/WorkspaceFullPagePanel.d.ts +5 -0
  27. package/dist/src/app/front/WorkspaceShellCapabilitiesHost.d.ts +20 -0
  28. package/dist/src/app/front/WorkspaceUiStateSync.d.ts +9 -0
  29. package/dist/src/app/front/__tests__/WorkspaceAgentFront.test.d.ts +1 -0
  30. package/dist/src/app/front/__tests__/WorkspaceBackgroundBoot.test.d.ts +1 -0
  31. package/dist/src/app/front/__tests__/WorkspaceBootGate.test.d.ts +1 -0
  32. package/dist/src/app/front/__tests__/WorkspaceFullPagePanel.test.d.ts +1 -0
  33. package/dist/src/app/front/__tests__/chatPaneState.property.test.d.ts +1 -0
  34. package/dist/src/app/front/__tests__/useWorkspaceShellCapabilitiesController.test.d.ts +1 -0
  35. package/dist/src/app/front/__tests__/workspacePreload.test.d.ts +1 -0
  36. package/dist/src/app/front/chatPaneState.d.ts +8 -0
  37. package/dist/src/app/front/fullPageRoute.d.ts +10 -0
  38. package/dist/src/app/front/fullPageRouteErrors.d.ts +7 -0
  39. package/dist/src/app/front/index.d.ts +8 -0
  40. package/dist/src/app/front/localStorageSessions.d.ts +18 -0
  41. package/dist/src/app/front/useWorkspaceShellCapabilitiesController.d.ts +8 -0
  42. package/dist/src/app/front/workspaceBuiltinPlugins.d.ts +6 -0
  43. package/dist/src/app/front/workspacePreload.d.ts +64 -0
  44. package/dist/src/bridge-client/__tests__/client.test.d.ts +1 -0
  45. package/dist/src/bridge-client/index.d.ts +65 -0
  46. package/dist/src/front/agentPlugins/__tests__/registerAgentPlugin.test.d.ts +1 -0
  47. package/dist/src/front/agentPlugins/registerAgentPlugin.d.ts +26 -0
  48. package/dist/src/front/agentPlugins/reloadEvent.d.ts +7 -0
  49. package/dist/src/front/attention/WorkspaceAttentionProvider.d.ts +71 -0
  50. package/dist/src/front/attention/__tests__/WorkspaceAttentionProvider.test.d.ts +1 -0
  51. package/dist/src/front/attention/index.d.ts +2 -0
  52. package/dist/src/front/bridge/WorkspaceLink.d.ts +35 -0
  53. package/dist/src/front/bridge/__tests__/WorkspaceLink.test.d.ts +1 -0
  54. package/dist/src/front/bridge/__tests__/bridge.property.test.d.ts +1 -0
  55. package/dist/src/front/bridge/__tests__/bridge.test.d.ts +1 -0
  56. package/dist/src/front/bridge/__tests__/client.test.d.ts +1 -0
  57. package/dist/src/front/bridge/__tests__/uiCommandDispatcher.test.d.ts +1 -0
  58. package/dist/src/front/bridge/__tests__/uiCommandStream.test.d.ts +1 -0
  59. package/dist/src/front/bridge/client.d.ts +33 -0
  60. package/dist/src/front/bridge/createBridge.d.ts +8 -0
  61. package/dist/src/front/bridge/index.d.ts +12 -0
  62. package/dist/src/front/bridge/types.d.ts +92 -0
  63. package/dist/src/front/bridge/uiCommandBus.d.ts +3 -0
  64. package/dist/src/front/bridge/uiCommandDispatcher.d.ts +44 -0
  65. package/dist/src/front/bridge/uiCommandStream.d.ts +41 -0
  66. package/dist/src/front/bridge/validation.d.ts +66 -0
  67. package/dist/src/front/charts/__tests__/charts.test.d.ts +1 -0
  68. package/dist/src/front/charts/index.d.ts +92 -0
  69. package/dist/src/front/chrome/artifact-surface/ArtifactSurfacePane.d.ts +18 -0
  70. package/dist/src/front/chrome/artifact-surface/SurfaceShell.d.ts +84 -0
  71. package/dist/src/front/chrome/artifact-surface/__tests__/ArtifactSurfacePane.persistence.test.d.ts +1 -0
  72. package/dist/src/front/chrome/artifact-surface/__tests__/ArtifactSurfacePane.test.d.ts +1 -0
  73. package/dist/src/front/chrome/artifact-surface/__tests__/SurfaceShell.test.d.ts +1 -0
  74. package/dist/src/front/chrome/artifact-surface/__tests__/resolvePanelForPath.test.d.ts +1 -0
  75. package/dist/src/front/chrome/artifact-surface/definition.d.ts +12 -0
  76. package/dist/src/front/chrome/artifact-surface/surfaceShellHelpers.d.ts +10 -0
  77. package/dist/src/front/chrome/chat/ChatPanelHost.d.ts +16 -0
  78. package/dist/src/front/chrome/chat/DetachedChatPopover.d.ts +11 -0
  79. package/dist/src/front/chrome/chat/__tests__/ChatPanelHost.test.d.ts +1 -0
  80. package/dist/src/front/chrome/chat/composerStop.d.ts +19 -0
  81. package/dist/src/front/chrome/chat/definition.d.ts +16 -0
  82. package/dist/src/front/chrome/chat/types.d.ts +30 -0
  83. package/dist/src/front/chrome/empty-pane/EmptyPane.d.ts +5 -0
  84. package/dist/src/front/chrome/empty-pane/__tests__/EmptyPane.test.d.ts +1 -0
  85. package/dist/src/front/chrome/management/ManagementOverlaySurface.d.ts +16 -0
  86. package/dist/src/front/chrome/plugins/PluginsOverlay.d.ts +16 -0
  87. package/dist/src/front/chrome/session-list/SessionBrowser.d.ts +20 -0
  88. package/dist/src/front/chrome/session-list/__tests__/SessionBrowser.test.d.ts +1 -0
  89. package/dist/src/front/chrome/session-list/definition.d.ts +28 -0
  90. package/dist/src/front/chrome/skills/SkillsPage.d.ts +11 -0
  91. package/dist/src/front/chrome/skills/definition.d.ts +3 -0
  92. package/dist/src/front/chrome/workbench-left/WorkbenchLeftPane.d.ts +28 -0
  93. package/dist/src/front/chrome/workbench-left/__tests__/WorkbenchLeftPane.test.d.ts +1 -0
  94. package/dist/src/front/chrome/workbench-left/definition.d.ts +12 -0
  95. package/dist/src/front/chrome/workbench-left/useWorkspaceLeftPaneActions.d.ts +48 -0
  96. package/dist/src/front/components/CommandPalette.d.ts +21 -0
  97. package/dist/src/front/components/ControlTooltip.d.ts +12 -0
  98. package/dist/src/front/components/ErrorChip.d.ts +6 -0
  99. package/dist/src/front/components/PanelErrorBoundary.d.ts +22 -0
  100. package/dist/src/front/components/SessionList.d.ts +15 -0
  101. package/dist/src/front/components/WorkspaceLoadingState.d.ts +8 -0
  102. package/dist/src/front/components/__tests__/CommandPalette.test.d.ts +1 -0
  103. package/dist/src/front/components/__tests__/PanelErrorBoundary.test.d.ts +1 -0
  104. package/dist/src/front/components/__tests__/SessionList.test.d.ts +1 -0
  105. package/dist/src/front/components/__tests__/WorkspaceLoadingState.test.d.ts +1 -0
  106. package/dist/src/front/components/commandPaletteHelpers.d.ts +16 -0
  107. package/dist/src/front/components/recent/__tests__/migrate.test.d.ts +1 -0
  108. package/dist/src/front/components/recent/__tests__/recentStore.test.d.ts +1 -0
  109. package/dist/src/front/components/recent/index.d.ts +2 -0
  110. package/dist/src/front/components/recent/recentStore.d.ts +9 -0
  111. package/dist/src/front/components/recent/types.d.ts +23 -0
  112. package/dist/src/front/components/useCommandPaletteCatalogSearch.d.ts +7 -0
  113. package/dist/src/front/components/useCommandPaletteChrome.d.ts +14 -0
  114. package/dist/src/front/components/useCommandPaletteSelection.d.ts +15 -0
  115. package/dist/src/front/detached/DetachedPanelPopover.d.ts +2 -0
  116. package/dist/src/front/detached/detachedPanelTypes.d.ts +21 -0
  117. package/dist/src/front/detached/useDetachedPanelPosition.d.ts +10 -0
  118. package/dist/src/front/dock/DockviewShell.d.ts +6 -0
  119. package/dist/src/front/dock/PanelChrome.d.ts +16 -0
  120. package/dist/src/front/dock/ShadcnTab.d.ts +2 -0
  121. package/dist/src/front/dock/__tests__/dock.test.d.ts +1 -0
  122. package/dist/src/front/dock/index.d.ts +3 -0
  123. package/dist/src/front/dock/types.d.ts +69 -0
  124. package/dist/src/front/events/__tests__/agentBridge.test.d.ts +1 -0
  125. package/dist/src/front/events/__tests__/bus.test.d.ts +1 -0
  126. package/dist/src/front/events/__tests__/types.test.d.ts +1 -0
  127. package/dist/src/front/events/__tests__/useEvent.test.d.ts +1 -0
  128. package/dist/src/front/events/agentBridge.d.ts +1 -0
  129. package/dist/src/front/events/bus.d.ts +21 -0
  130. package/dist/src/front/events/index.d.ts +7 -0
  131. package/dist/src/front/events/types.d.ts +137 -0
  132. package/dist/src/front/events/useEvent.d.ts +7 -0
  133. package/dist/src/front/fullPage.d.ts +24 -0
  134. package/dist/src/front/hooks/__tests__/useArtifactPanels.test.d.ts +1 -0
  135. package/dist/src/front/hooks/__tests__/useArtifactRouting.test.d.ts +1 -0
  136. package/dist/src/front/hooks/__tests__/useEditorLifecycle.test.d.ts +1 -0
  137. package/dist/src/front/hooks/__tests__/useKeyboardShortcuts.test.d.ts +1 -0
  138. package/dist/src/front/hooks/__tests__/useViewportBreakpoint.test.d.ts +1 -0
  139. package/dist/src/front/hooks/index.d.ts +6 -0
  140. package/dist/src/front/hooks/useArtifactPanels.d.ts +14 -0
  141. package/dist/src/front/hooks/useArtifactRouting.d.ts +12 -0
  142. package/dist/src/front/hooks/useEditorLifecycle.d.ts +27 -0
  143. package/dist/src/front/hooks/useKeyboardShortcuts.d.ts +13 -0
  144. package/dist/src/front/hooks/useResponsiveSidebarCollapse.d.ts +6 -0
  145. package/dist/src/front/hooks/useViewportBreakpoint.d.ts +1 -0
  146. package/dist/src/front/layout/ChatLayout.d.ts +4 -0
  147. package/dist/src/front/layout/ChatPaneStage.d.ts +59 -0
  148. package/dist/src/front/layout/ChatPaneStageDock.d.ts +5 -0
  149. package/dist/src/front/layout/IdeLayout.d.ts +4 -0
  150. package/dist/src/front/layout/ResponsiveDockviewShell.d.ts +6 -0
  151. package/dist/src/front/layout/ThemeToggle.d.ts +10 -0
  152. package/dist/src/front/layout/TopBar.d.ts +17 -0
  153. package/dist/src/front/layout/__tests__/ChatPaneStageDock.test.d.ts +1 -0
  154. package/dist/src/front/layout/__tests__/TopBar.test.d.ts +1 -0
  155. package/dist/src/front/layout/__tests__/presets.test.d.ts +1 -0
  156. package/dist/src/front/layout/cornerChrome.d.ts +10 -0
  157. package/dist/src/front/layout/index.d.ts +9 -0
  158. package/dist/src/front/layout/mobileShell.d.ts +18 -0
  159. package/dist/src/front/layout/paneCollapseButton.d.ts +15 -0
  160. package/dist/src/front/layout/plugin-tabs/AppLeftOverlayChromeContext.d.ts +1 -0
  161. package/dist/src/front/layout/plugin-tabs/AppLeftPane.d.ts +75 -0
  162. package/dist/src/front/layout/plugin-tabs/AppLeftPaneActions.d.ts +13 -0
  163. package/dist/src/front/layout/plugin-tabs/AppLeftPaneHeader.d.ts +7 -0
  164. package/dist/src/front/layout/plugin-tabs/AppLeftPaneProjects.d.ts +18 -0
  165. package/dist/src/front/layout/plugin-tabs/AppLeftPaneSections.d.ts +6 -0
  166. package/dist/src/front/layout/plugin-tabs/AppLeftPaneSessionRow.d.ts +18 -0
  167. package/dist/src/front/layout/plugin-tabs/PluginTabsWorkspaceShell.d.ts +15 -0
  168. package/dist/src/front/layout/plugin-tabs/__tests__/AppLeftPane.test.d.ts +1 -0
  169. package/dist/src/front/layout/types.d.ts +40 -0
  170. package/dist/src/front/layout/useViewportWidth.d.ts +1 -0
  171. package/dist/src/front/lib/utils.d.ts +2 -0
  172. package/dist/src/front/lib/utils.test.d.ts +1 -0
  173. package/dist/src/front/lib/validation.d.ts +189 -0
  174. package/dist/src/front/plugin/PluginErrorBoundary.d.ts +21 -0
  175. package/dist/src/front/plugin/PluginErrorContext.d.ts +19 -0
  176. package/dist/src/front/plugin/PluginInspector.d.ts +8 -0
  177. package/dist/src/front/plugin/__tests__/CatalogRegistry.test.d.ts +1 -0
  178. package/dist/src/front/plugin/__tests__/PluginErrorBoundary.test.d.ts +1 -0
  179. package/dist/src/front/plugin/__tests__/PluginInspector.test.d.ts +1 -0
  180. package/dist/src/front/plugin/__tests__/useWorkspacePluginClient.test.d.ts +1 -0
  181. package/dist/src/front/plugin/index.d.ts +10 -0
  182. package/dist/src/front/plugin/useActivePanels.d.ts +2 -0
  183. package/dist/src/front/plugin/useCatalogs.d.ts +2 -0
  184. package/dist/src/front/plugin/useCommands.d.ts +2 -0
  185. package/dist/src/front/plugin/useWorkspacePluginClient.d.ts +29 -0
  186. package/dist/src/front/provider/WorkspaceProvider.d.ts +84 -0
  187. package/dist/src/front/provider/index.d.ts +9 -0
  188. package/dist/src/front/provider/workspaceTitle.d.ts +5 -0
  189. package/dist/src/front/registry/PanelRegistry.d.ts +39 -0
  190. package/dist/src/front/registry/PanelRenderStatusBoundary.d.ts +38 -0
  191. package/dist/src/front/registry/RegistryProvider.d.ts +21 -0
  192. package/dist/src/front/registry/WorkspaceSourceRegistry.d.ts +25 -0
  193. package/dist/src/front/registry/__tests__/registry.test.d.ts +1 -0
  194. package/dist/src/front/registry/__tests__/replaceByPluginId.test.d.ts +1 -0
  195. package/dist/src/front/registry/__tests__/subscribe.test.d.ts +1 -0
  196. package/dist/src/front/registry/coreRegistrations.d.ts +2 -0
  197. package/dist/src/front/registry/getFileIcon.d.ts +2 -0
  198. package/dist/src/front/registry/index.d.ts +7 -0
  199. package/dist/src/front/registry/types.d.ts +2 -0
  200. package/dist/src/front/shell/WorkspaceShellCapabilitiesContext.d.ts +1 -0
  201. package/dist/src/front/store/__tests__/store.property.test.d.ts +1 -0
  202. package/dist/src/front/store/__tests__/store.test.d.ts +1 -0
  203. package/dist/src/front/store/index.d.ts +35 -0
  204. package/dist/src/front/store/localStorageValues.d.ts +4 -0
  205. package/dist/src/front/store/selectors.d.ts +21 -0
  206. package/dist/src/front/store/types.d.ts +53 -0
  207. package/dist/src/front/testing/TestWorkspaceProvider.d.ts +13 -0
  208. package/dist/src/front/testing/__tests__/testing.test.d.ts +1 -0
  209. package/dist/src/front/testing/createLocalStorageSessions.d.ts +16 -0
  210. package/dist/src/front/testing/createMockBridge.d.ts +20 -0
  211. package/dist/src/front/testing/createMockPaneProps.d.ts +11 -0
  212. package/dist/src/front/testing/createMockRegistry.d.ts +7 -0
  213. package/dist/src/front/testing/createMockSessions.d.ts +24 -0
  214. package/dist/src/front/testing/e2e.d.ts +61 -0
  215. package/dist/src/front/testing/index.d.ts +17 -0
  216. package/dist/src/front/testing/mockApi.d.ts +9 -0
  217. package/dist/src/front/testing/renderPane.d.ts +20 -0
  218. package/dist/src/front/theme/codemirror-theme.d.ts +4 -0
  219. package/dist/src/front/theme/index.d.ts +1 -0
  220. package/dist/src/front/toast/__tests__/toast.test.d.ts +1 -0
  221. package/dist/src/front/toast/index.d.ts +1 -0
  222. package/dist/src/index.d.ts +90 -0
  223. package/dist/src/plugin.d.ts +19 -0
  224. package/dist/src/plugins/filesystemPlugin/front/ConflictBanner.d.ts +14 -0
  225. package/dist/src/plugins/filesystemPlugin/front/FilePaneShell.d.ts +73 -0
  226. package/dist/src/plugins/filesystemPlugin/front/__tests__/agentFileBridge.test.d.ts +1 -0
  227. package/dist/src/plugins/filesystemPlugin/front/__tests__/filePanelBinding.test.d.ts +1 -0
  228. package/dist/src/plugins/filesystemPlugin/front/__tests__/filesystemPlugin.test.d.ts +1 -0
  229. package/dist/src/plugins/filesystemPlugin/front/__tests__/search.test.d.ts +1 -0
  230. package/dist/src/plugins/filesystemPlugin/front/__tests__/useFilePane.test.d.ts +1 -0
  231. package/dist/src/plugins/filesystemPlugin/front/agentFileBridge.d.ts +12 -0
  232. package/dist/src/plugins/filesystemPlugin/front/catalogs.d.ts +9 -0
  233. package/dist/src/plugins/filesystemPlugin/front/code-editor/CodeEditor.d.ts +10 -0
  234. package/dist/src/plugins/filesystemPlugin/front/code-editor/CodeEditorPane.d.ts +8 -0
  235. package/dist/src/plugins/filesystemPlugin/front/code-editor/__tests__/CodeEditor.test.d.ts +1 -0
  236. package/dist/src/plugins/filesystemPlugin/front/code-editor/__tests__/CodeEditorPane.test.d.ts +1 -0
  237. package/dist/src/plugins/filesystemPlugin/front/data/DataProvider.d.ts +16 -0
  238. package/dist/src/plugins/filesystemPlugin/front/data/__tests__/fetchClient.integration.test.d.ts +1 -0
  239. package/dist/src/plugins/filesystemPlugin/front/data/__tests__/fetchClient.test.d.ts +1 -0
  240. package/dist/src/plugins/filesystemPlugin/front/data/__tests__/fileRecords.test.d.ts +1 -0
  241. package/dist/src/plugins/filesystemPlugin/front/data/__tests__/hooks.test.d.ts +1 -0
  242. package/dist/src/plugins/filesystemPlugin/front/data/__tests__/useFileEventInvalidation.test.d.ts +1 -0
  243. package/dist/src/plugins/filesystemPlugin/front/data/__tests__/useFileEventStream.test.d.ts +1 -0
  244. package/dist/src/plugins/filesystemPlugin/front/data/__tests__/useFileUpload.test.d.ts +1 -0
  245. package/dist/src/plugins/filesystemPlugin/front/data/fetchClient.d.ts +63 -0
  246. package/dist/src/plugins/filesystemPlugin/front/data/fileRecords.d.ts +34 -0
  247. package/dist/src/plugins/filesystemPlugin/front/data/filesystemErrorRedaction.d.ts +2 -0
  248. package/dist/src/plugins/filesystemPlugin/front/data/hooks.d.ts +48 -0
  249. package/dist/src/plugins/filesystemPlugin/front/data/index.d.ts +9 -0
  250. package/dist/src/plugins/filesystemPlugin/front/data/treePreloadCache.d.ts +3 -0
  251. package/dist/src/plugins/filesystemPlugin/front/data/types.d.ts +37 -0
  252. package/dist/src/plugins/filesystemPlugin/front/data/useFileEventInvalidation.d.ts +28 -0
  253. package/dist/src/plugins/filesystemPlugin/front/data/useFileEventStream.d.ts +27 -0
  254. package/dist/src/plugins/filesystemPlugin/front/data/useFileUpload.d.ts +12 -0
  255. package/dist/src/plugins/filesystemPlugin/front/empty-file-panel/EmptyFilePanel.d.ts +6 -0
  256. package/dist/src/plugins/filesystemPlugin/front/empty-file-panel/definition.d.ts +8 -0
  257. package/dist/src/plugins/filesystemPlugin/front/events.d.ts +6 -0
  258. package/dist/src/plugins/filesystemPlugin/front/file-tree/FileTree.d.ts +59 -0
  259. package/dist/src/plugins/filesystemPlugin/front/file-tree/FileTreeView.d.ts +83 -0
  260. package/dist/src/plugins/filesystemPlugin/front/file-tree/__tests__/FileTree.test.d.ts +1 -0
  261. package/dist/src/plugins/filesystemPlugin/front/file-tree/__tests__/FileTreePane.test.d.ts +1 -0
  262. package/dist/src/plugins/filesystemPlugin/front/file-tree/__tests__/copyToClipboard.test.d.ts +1 -0
  263. package/dist/src/plugins/filesystemPlugin/front/file-tree/clipboard.d.ts +6 -0
  264. package/dist/src/plugins/filesystemPlugin/front/file-tree/dndManager.d.ts +8 -0
  265. package/dist/src/plugins/filesystemPlugin/front/file-tree/treeModel.d.ts +20 -0
  266. package/dist/src/plugins/filesystemPlugin/front/filePanelBinding.d.ts +1 -0
  267. package/dist/src/plugins/filesystemPlugin/front/html-viewer/HtmlViewer.d.ts +18 -0
  268. package/dist/src/plugins/filesystemPlugin/front/html-viewer/HtmlViewer.test.d.ts +1 -0
  269. package/dist/src/plugins/filesystemPlugin/front/html-viewer/HtmlViewerPane.d.ts +7 -0
  270. package/dist/src/plugins/filesystemPlugin/front/index.d.ts +11 -0
  271. package/dist/src/plugins/filesystemPlugin/front/markdown-editor/MarkdownEditor.d.ts +44 -0
  272. package/dist/src/plugins/filesystemPlugin/front/markdown-editor/MarkdownEditorPane.d.ts +8 -0
  273. package/dist/src/plugins/filesystemPlugin/front/markdown-editor/ResizableImage.d.ts +10 -0
  274. package/dist/src/plugins/filesystemPlugin/front/markdown-editor/__tests__/MarkdownEditor.test.d.ts +1 -0
  275. package/dist/src/plugins/filesystemPlugin/front/markdown-editor/__tests__/MarkdownEditorPane.test.d.ts +1 -0
  276. package/dist/src/plugins/filesystemPlugin/front/media-viewer/MediaViewer.d.ts +9 -0
  277. package/dist/src/plugins/filesystemPlugin/front/media-viewer/MediaViewer.test.d.ts +1 -0
  278. package/dist/src/plugins/filesystemPlugin/front/media-viewer/MediaViewerPane.d.ts +8 -0
  279. package/dist/src/plugins/filesystemPlugin/front/media-viewer/useMediaViewerReload.d.ts +8 -0
  280. package/dist/src/plugins/filesystemPlugin/front/media-viewer/useMediaViewerReload.test.d.ts +1 -0
  281. package/dist/src/plugins/filesystemPlugin/front/search.d.ts +5 -0
  282. package/dist/src/plugins/filesystemPlugin/front/search.test.d.ts +1 -0
  283. package/dist/src/plugins/filesystemPlugin/front/surfaceResolver.d.ts +10 -0
  284. package/dist/src/plugins/filesystemPlugin/front/useFilePane.d.ts +61 -0
  285. package/dist/src/plugins/filesystemPlugin/shared/constants.d.ts +12 -0
  286. package/dist/src/plugins/filesystemPlugin/shared/events.d.ts +39 -0
  287. package/dist/src/shared/__tests__/filesystem.test.d.ts +1 -0
  288. package/dist/src/shared/__tests__/telemetry.test.d.ts +1 -0
  289. package/dist/src/shared/__tests__/workspaceBridgeRpc.test.d.ts +1 -0
  290. package/dist/src/shared/index.d.ts +25 -0
  291. package/dist/src/shared/plugins/CatalogRegistry.d.ts +28 -0
  292. package/dist/src/shared/plugins/CommandRegistry.d.ts +23 -0
  293. package/dist/src/shared/plugins/SurfaceResolverRegistry.d.ts +24 -0
  294. package/dist/src/shared/plugins/__tests__/bootstrap.test.d.ts +1 -0
  295. package/dist/src/shared/plugins/__tests__/frontFactory.test.d.ts +1 -0
  296. package/dist/src/shared/plugins/__tests__/manifest.test.d.ts +1 -0
  297. package/dist/src/shared/plugins/__tests__/uiBridgeRegistry.test.d.ts +1 -0
  298. package/dist/src/shared/plugins/appLeftOverlayChrome.d.ts +10 -0
  299. package/dist/src/shared/plugins/bootstrap.d.ts +41 -0
  300. package/dist/src/shared/plugins/errors.d.ts +5 -0
  301. package/dist/src/shared/plugins/frontFactory.d.ts +166 -0
  302. package/dist/src/shared/plugins/index.d.ts +5 -0
  303. package/dist/src/shared/plugins/manifest.d.ts +58 -0
  304. package/dist/src/shared/plugins/runtimePluginTypes.d.ts +51 -0
  305. package/dist/src/shared/plugins/types.d.ts +84 -0
  306. package/dist/src/shared/plugins/uiBridgeRegistry.d.ts +44 -0
  307. package/dist/src/shared/plugins/workspaceShellCapabilities.d.ts +44 -0
  308. package/dist/src/shared/telemetry.d.ts +11 -0
  309. package/dist/src/shared/types/agent-tool.d.ts +30 -0
  310. package/dist/src/shared/types/boring-core-front.d.ts +2 -0
  311. package/dist/src/shared/types/filesystem.d.ts +15 -0
  312. package/dist/src/shared/types/panel.d.ts +123 -0
  313. package/dist/src/shared/types/surface.d.ts +42 -0
  314. package/dist/src/shared/ui-bridge.d.ts +77 -0
  315. package/dist/src/shared/workspace-bridge-rpc.d.ts +122 -0
  316. package/dist/{surface-aLQ_Hryw.d.ts → surface-h6IgrsK5.d.ts} +1 -1
  317. package/dist/testing-e2e.d.ts +2 -73
  318. package/dist/testing.d.ts +2 -433
  319. package/dist/testing.js +11 -11
  320. package/dist/{ui-bridge-D2eO3epD.d.ts → ui-bridge-C4CyIrQA.d.ts} +1 -1
  321. package/dist/{workspace-bridge-rpc-A98RA5o6.d.ts → workspace-bridge-rpc-BHsOJMlW.d.ts} +1 -1
  322. package/dist/workspace.css +21 -0
  323. package/dist/workspace.d.ts +2 -2649
  324. package/dist/workspace.js +40 -40
  325. package/package.json +5 -5
package/dist/testing.d.ts CHANGED
@@ -1,433 +1,2 @@
1
- import { ComponentType } from 'react';
2
- import { DockviewApi } from 'dockview-react';
3
- import { DockviewPanelApi } from 'dockview-react';
4
- import { JSX } from 'react';
5
- import { Page } from '@playwright/test';
6
- import { ReactElement } from 'react';
7
- import { ReactNode } from 'react';
8
- import { RenderOptions } from '@testing-library/react';
9
- import { RenderResult } from '@testing-library/react';
10
-
11
- /**
12
- * Land on the app with a clean localStorage so persistence-sensitive tests
13
- * start from defaults. Pre-opens the workbench surface unless told
14
- * otherwise — see `openWorkbenchAtBoot`.
15
- *
16
- * Also drains the server-side bridge command queue. The bridge is process-
17
- * global on a shared dev server (E2E_EXTERNAL_SERVER=1); without an
18
- * explicit drain, a leftover command from a previous test (e.g. an
19
- * openPanel posted just before that test ended) gets re-delivered to the
20
- * next test's SSE subscriber and mounts an unexpected pane. The drain is
21
- * a no-op when the queue is already empty.
22
- */
23
- export declare function bootClean(page: Page, opts: BootCleanOptions): Promise<void>;
24
-
25
- export declare interface BootCleanOptions {
26
- /**
27
- * Storage prefix used by declarative chat shells. The
28
- * bootClean default is to pre-seed `${shellKey}:surface=1` so the
29
- * workbench mounts at boot — required for any test that posts an
30
- * openPanel via the bridge (the dispatcher early-returns when no
31
- * surface is mounted).
32
- */
33
- shellKey: string;
34
- /** Extra localStorage entries to seed after the clear. */
35
- seed?: Record<string, string>;
36
- /**
37
- * If false, surface=1 is NOT pre-seeded — the test starts with the
38
- * workbench closed. Default: true.
39
- */
40
- openWorkbenchAtBoot?: boolean;
41
- /** Vite + dockview cold-mount allowance. Default 2500ms. */
42
- mountSettleMs?: number;
43
- }
44
-
45
- declare interface BridgeEventMap {
46
- "panel:opened": {
47
- panelId: string;
48
- params: Record<string, unknown>;
49
- };
50
- "panel:closed": {
51
- panelId: string;
52
- };
53
- "panel:activated": {
54
- panelId: string;
55
- previousPanelId: string | null;
56
- };
57
- "file:opened": {
58
- path: string;
59
- mode: "view" | "edit" | "diff";
60
- filesystem?: FilesystemId;
61
- };
62
- "file:saved": {
63
- path: string;
64
- };
65
- "file:dirty": {
66
- path: string;
67
- dirty: boolean;
68
- };
69
- "sidebar:toggled": {
70
- collapsed: boolean;
71
- };
72
- "tree:expand": {
73
- path: string;
74
- };
75
- "notification:shown": {
76
- message: string;
77
- level: "info" | "warn" | "error";
78
- };
79
- "pane:error": {
80
- panelId: string;
81
- error: string;
82
- stack?: string;
83
- };
84
- }
85
-
86
- declare interface CommandResult {
87
- seq: number;
88
- status: "ok" | "error";
89
- error?: {
90
- code: string;
91
- message: string;
92
- };
93
- }
94
-
95
- export declare function createLocalStorageSessions(opts?: CreateLocalStorageSessionsOptions): MockSessionsStore;
96
-
97
- export declare interface CreateLocalStorageSessionsOptions {
98
- /** localStorage key prefix. Defaults to `"workspace:sessions"`. */
99
- storageKey?: string;
100
- /**
101
- * Seed used the first time we run (no value at `storageKey` yet).
102
- * Defaults to a single "New session" row with `id = "s${Date.now()}"`.
103
- */
104
- initial?: () => MockSessionsState;
105
- }
106
-
107
- export declare function createMockBridge(options?: CreateMockBridgeOptions): MockWorkspaceBridge;
108
-
109
- export declare interface CreateMockBridgeOptions {
110
- state?: Partial<MockBridgeState>;
111
- fn?: SpyFactory;
112
- }
113
-
114
- export declare interface CreateMockPaneOptions<T> {
115
- params: T;
116
- panelId?: string;
117
- className?: string;
118
- /** Override individual `api` fields without re-stubbing the whole surface. */
119
- apiOverrides?: Partial<PaneProps<T>["api"]>;
120
- /** Override individual `containerApi` fields. */
121
- containerApiOverrides?: Partial<PaneProps<T>["containerApi"]>;
122
- }
123
-
124
- export declare function createMockPaneProps<T>(optsOrParams: T | CreateMockPaneOptions<T>): PaneProps<T>;
125
-
126
- export declare function createMockRegistry(options?: CreateMockRegistryOptions): PanelRegistry;
127
-
128
- export declare interface CreateMockRegistryOptions {
129
- panels?: PanelConfig[];
130
- capabilities?: Record<string, boolean>;
131
- }
132
-
133
- export declare function createMockSessions(opts?: CreateMockSessionsOptions): MockSessionsStore;
134
-
135
- export declare interface CreateMockSessionsOptions {
136
- /** Initial sessions. Defaults to a 5-row demo set with descending updatedAt. */
137
- initial?: SessionItem[];
138
- /** Initial active session id. Defaults to the first session's id. */
139
- activeId?: string;
140
- }
141
-
142
- declare interface DynamicPaneConfig {
143
- id: string;
144
- component: string;
145
- params?: Record<string, unknown>;
146
- title?: string;
147
- }
148
-
149
- declare type FilesystemId = "user" | "company_context" | (string & {});
150
-
151
- export declare interface MockBridgeState {
152
- openPanels: PanelState[];
153
- activeFile: string | null;
154
- dirtyFiles: string[];
155
- visibleFiles: string[];
156
- }
157
-
158
- export declare interface MockDataFixtures {
159
- files?: MockFileFixture[];
160
- }
161
-
162
- export declare interface MockFileFixture {
163
- path: string;
164
- content: string;
165
- mtimeMs?: number;
166
- }
167
-
168
- export declare interface MockSessionsState {
169
- sessions: SessionItem[];
170
- activeId: string;
171
- }
172
-
173
- export declare interface MockSessionsStore {
174
- getState: () => MockSessionsState;
175
- subscribe: (fn: () => void) => () => void;
176
- switchTo: (id: string) => void;
177
- create: () => void;
178
- remove: (id: string) => void;
179
- }
180
-
181
- export declare type MockWorkspaceBridge = WorkspaceBridge & {
182
- emit<K extends keyof BridgeEventMap>(event: K, payload: BridgeEventMap[K]): void;
183
- setState(next: Partial<MockBridgeState>): void;
184
- getStateSnapshot(): MockBridgeState;
185
- };
186
-
187
- declare interface Notification_2 {
188
- id: string;
189
- message: string;
190
- type: "info" | "warning" | "error";
191
- timestamp: number;
192
- }
193
-
194
- /**
195
- * Push an openPanel command through the workspace UI bridge, then poll
196
- * until the corresponding dockview tab actually appears. The chat shell
197
- * receives commands over an SSE stream; subscribe latency is
198
- * non-deterministic (cold Vite, ClickHouse warm-up, EventSource reconnect
199
- * budget), so we wait on the rendered tab rather than a fixed sleep.
200
- */
201
- export declare function openPaneViaBridge(page: Page, cfg: OpenPaneViaBridgeConfig): Promise<void>;
202
-
203
- export declare interface OpenPaneViaBridgeConfig {
204
- /** Tab/panel instance id (e.g. `"chart:CPIAUCSL"`, `"deck:intro.md"`). */
205
- id: string;
206
- /** Registered panel component id. Must appear in `extraPanels`. */
207
- component: string;
208
- /** Tab title to wait for. */
209
- title: string;
210
- /** Forwarded to the panel component as its `params`. */
211
- params: Record<string, unknown>;
212
- /** Override the dockview-tab wait timeout. Default 10s. */
213
- paneMountTimeoutMs?: number;
214
- }
215
-
216
- /**
217
- * Ensure the workbench surface is OPEN. Idempotent — checks the persisted
218
- * flag rather than blindly toggling, so it's safe to call after bootClean
219
- * (which pre-seeds the open flag by default) or independently.
220
- */
221
- export declare function openWorkbench(page: Page, opts: {
222
- shellKey: string;
223
- }): Promise<void>;
224
-
225
- declare interface PanelConfig<T = any> {
226
- id: string;
227
- title: string;
228
- icon?: ComponentType<{
229
- className?: string;
230
- }>;
231
- /** Placement hint. Public plugin placements: "workspace-page" | "shared-dockview". */
232
- placement?: PanelPlacement | string;
233
- requiresCapabilities?: string[];
234
- essential?: boolean;
235
- chromeless?: boolean;
236
- supportsFullPage?: boolean;
237
- /** Source: "builtin" | "app" */
238
- source?: string;
239
- pluginId?: string;
240
- /** Revision emitted by the runtime plugin asset manager for hot-loaded panels. */
241
- pluginRevision?: number;
242
- /**
243
- * Whether to wrap the component with React.lazy + Suspense. Omit to let
244
- * the registry auto-detect: zero-arg functions (factories) are treated as
245
- * lazy; components that accept a props argument are treated as eager.
246
- */
247
- lazy?: boolean;
248
- component: ComponentType<PaneProps<T>> | (() => Promise<{
249
- default: ComponentType<PaneProps<T>>;
250
- }>);
251
- }
252
-
253
- declare type PanelPlacement = "left" | "center" | "right" | "bottom" | "shared-dockview" | "workspace-page" | "right-tab";
254
-
255
- declare type PanelRegistration<T = any> = Omit<PanelConfig<T>, 'id'>;
256
-
257
- declare class PanelRegistry {
258
- private panels;
259
- private registrationOrder;
260
- private capabilities;
261
- private listeners;
262
- private snapshotCache;
263
- private lazyComponentCache;
264
- private wrapperComponentCache;
265
- private generation;
266
- constructor(capabilities?: Record<string, boolean>);
267
- register(id: string, config: PanelRegistration): void;
268
- unregister(id: string): void;
269
- /**
270
- * Atomic replace: unregister all panels owned by `pluginId`, then register
271
- * the new set, in one emit cycle. Subscribers see exactly one intermediate
272
- * state — never an empty registry between unregister and re-register.
273
- *
274
- * Collision policy: a new registration whose id is already owned by a
275
- * DIFFERENT pluginId is skipped with a warning. Preserves cross-plugin
276
- * isolation during reload — a renamed plugin can't silently steal another
277
- * plugin's panel id. Teardown + rebuild as a single observable transition,
278
- * driven by the front-side SSE reload subscriber.
279
- */
280
- replaceByPluginId(pluginId: string, panels: PanelConfig[]): void;
281
- get(id: string): PanelConfig | undefined;
282
- has(id: string): boolean;
283
- list(): PanelConfig[];
284
- listAll(): PanelConfig[];
285
- getComponents(): Record<string, ComponentType<any>>;
286
- subscribe: (cb: () => void) => (() => void);
287
- getSnapshot: () => readonly PanelConfig[];
288
- private getWrappedComponent;
289
- private getLazyComponent;
290
- private emit;
291
- private filteredPanels;
292
- private satisfiesCapabilities;
293
- }
294
-
295
- declare interface PanelState {
296
- id: string;
297
- component: string;
298
- params?: Record<string, unknown>;
299
- groupId?: string;
300
- essential?: boolean;
301
- }
302
-
303
- /**
304
- * Unified prop shape for panel components rendered inside DockviewShell.
305
- *
306
- * Structurally mirrors dockview's `IDockviewPanelProps<T>` so dockview
307
- * can render registered components directly — no wrapper, no field
308
- * renaming, no `as` casts. We re-state the shape (rather than re-export
309
- * dockview's type) so the workspace package owns its public contract:
310
- * if dockview's type ever drifts, only the wiring inside DockviewShell
311
- * needs to change.
312
- *
313
- * Use {@link definePanel} for type-safe registration.
314
- *
315
- * @typeParam T - Shape of the panel-specific `params` payload. Defaults
316
- * to `unknown` because layouts restored from JSON are inherently
317
- * un-typed at runtime; use a generic param when you control the
318
- * addPanel call site, otherwise read defensively.
319
- */
320
- declare interface PaneProps<T = unknown> {
321
- /** App-supplied data for this panel instance (e.g. `{ path: string }`). */
322
- params: T;
323
- /** Per-panel control surface (close, setActive, setTitle, …). */
324
- api: DockviewPanelApi;
325
- /** Top-level dockview API (groups, addPanel, removePanel, fromJSON, …). */
326
- containerApi: DockviewApi;
327
- /** Optional className forwarded to the pane's root element. */
328
- className?: string;
329
- }
330
-
331
- export declare function renderPane(ui: ReactElement, options?: RenderPaneOptions): RenderPaneResult;
332
-
333
- export declare interface RenderPaneOptions extends Omit<RenderOptions, "wrapper"> {
334
- fixtures?: MockDataFixtures;
335
- bridge?: MockWorkspaceBridge;
336
- registry?: PanelRegistry;
337
- apiBaseUrl?: string;
338
- authHeaders?: Record<string, string>;
339
- defaultTheme?: "light" | "dark";
340
- timeout?: number;
341
- injectBridgeProp?: boolean;
342
- }
343
-
344
- export declare type RenderPaneResult = RenderResult & {
345
- bridge: MockWorkspaceBridge;
346
- registry: PanelRegistry;
347
- };
348
-
349
- declare interface SessionItem {
350
- id: string;
351
- title: string;
352
- updatedAt?: string | number;
353
- }
354
-
355
- declare interface SidebarState {
356
- collapsed: boolean;
357
- width: number;
358
- }
359
-
360
- declare type SpyFactory = <T extends (...args: any[]) => any>(implementation?: T) => any;
361
-
362
- export declare function TestWorkspaceProvider({ children, fixtures, registry, apiBaseUrl, authHeaders, defaultTheme, timeout, }: TestWorkspaceProviderProps): JSX.Element;
363
-
364
- export declare interface TestWorkspaceProviderProps {
365
- children: ReactNode;
366
- fixtures?: MockDataFixtures;
367
- registry?: PanelRegistry;
368
- apiBaseUrl?: string;
369
- authHeaders?: Record<string, string>;
370
- defaultTheme?: "light" | "dark";
371
- timeout?: number;
372
- }
373
-
374
- declare type Unsubscribe = () => void;
375
-
376
- /**
377
- * React hook bound to a specific store instance. Identical signature to
378
- * `useMockSessions` — both stores share the `MockSessionsStore` type.
379
- */
380
- export declare function useLocalStorageSessions(store: MockSessionsStore): MockSessionsState;
381
-
382
- /**
383
- * Convenience hook bound to a specific store instance. Subscribes via
384
- * useSyncExternalStore so React only re-renders on actual state changes.
385
- */
386
- export declare function useMockSessions(store: MockSessionsStore): MockSessionsState;
387
-
388
- declare interface WorkspaceBridge {
389
- getOpenPanels(): PanelState[];
390
- getActiveFile(): string | null;
391
- getDirtyFiles(): string[];
392
- getVisibleFiles(): string[];
393
- openFile(path: string, opts?: {
394
- mode?: "view" | "edit" | "diff";
395
- filesystem?: FilesystemId;
396
- }): Promise<CommandResult>;
397
- openPanel(config: DynamicPaneConfig): Promise<CommandResult>;
398
- closePanel(id: string): Promise<CommandResult>;
399
- closeWorkbenchLeftPane(): Promise<CommandResult>;
400
- showNotification(msg: string, level?: "info" | "warn" | "error"): Promise<CommandResult>;
401
- navigateToLine(file: string, line: number): Promise<CommandResult>;
402
- expandToFile(path: string): Promise<CommandResult>;
403
- markDirty(path: string): void;
404
- markClean(path: string): void;
405
- subscribe<K extends keyof BridgeEventMap>(event: K, handler: (data: BridgeEventMap[K]) => void): Unsubscribe;
406
- select<T>(selector: (state: WorkspaceState) => T, handler: (value: T) => void): Unsubscribe;
407
- }
408
-
409
- declare interface WorkspaceState {
410
- hydrationComplete: boolean;
411
- layout: unknown | null;
412
- sidebar: SidebarState;
413
- panelSizes: Record<string, number>;
414
- preferences: {
415
- theme: "light" | "dark";
416
- };
417
- panels: PanelState[];
418
- activePanel: string | null;
419
- activeFile: string | null;
420
- visibleFiles: string[];
421
- dirtyFiles: Record<string, {
422
- panelId: string;
423
- savedAt: number | null;
424
- }>;
425
- notifications: Notification_2[];
426
- }
427
-
428
- export { }
429
-
430
-
431
- declare global {
432
- var __BORING_RUNTIME_SINGLETONS__: Record<string, unknown> | undefined;
433
- }
1
+ export * from './src/front/testing/index.js'
2
+ export {}
package/dist/testing.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as e, t } from "./rolldown-runtime-Dqa2HsxW.js";
2
- import { At as n, jt as r, n as i, p as a } from "./WorkspaceProvider-Ddx7GByq.js";
2
+ import { Mt as n, jt as r, n as i, p as a } from "./WorkspaceProvider-DcOiZU24.js";
3
3
  import { bootClean as o, openPaneViaBridge as s, openWorkbench as c } from "./testing-e2e.js";
4
4
  import * as l from "react";
5
5
  import { cloneElement as u, createElement as d, isValidElement as f, useLayoutEffect as p, useMemo as m, useSyncExternalStore as h } from "react";
@@ -19,8 +19,8 @@ var x = [a({
19
19
  placement: "center"
20
20
  })];
21
21
  function S(e = {}) {
22
- let t = new n(e.capabilities), r = e.panels ?? x;
23
- for (let e of r) {
22
+ let t = new r(e.capabilities), n = e.panels ?? x;
23
+ for (let e of n) {
24
24
  let { id: n, ...r } = e;
25
25
  t.register(n, r);
26
26
  }
@@ -193,8 +193,8 @@ function te(e = {}, t) {
193
193
  }
194
194
  //#endregion
195
195
  //#region src/front/testing/TestWorkspaceProvider.tsx
196
- function M({ children: e, fixtures: t, registry: n, apiBaseUrl: a = "", authHeaders: o = {}, defaultTheme: s = "dark", timeout: c = 1e3 }) {
197
- let l = m(() => n ?? S(), [n]), u = m(() => l.list(), [l]);
196
+ function M({ children: e, fixtures: t, registry: r, apiBaseUrl: a = "", authHeaders: o = {}, defaultTheme: s = "dark", timeout: c = 1e3 }) {
197
+ let l = m(() => r ?? S(), [r]), u = m(() => l.list(), [l]);
198
198
  return p(() => {
199
199
  if (typeof globalThis.fetch != "function") return;
200
200
  let e = globalThis.fetch.bind(globalThis), n = te(t, e);
@@ -211,7 +211,7 @@ function M({ children: e, fixtures: t, registry: n, apiBaseUrl: a = "", authHead
211
211
  defaultTheme: s,
212
212
  persistenceEnabled: !1,
213
213
  bridgeEndpoint: null,
214
- children: /* @__PURE__ */ g(r, {
214
+ children: /* @__PURE__ */ g(n, {
215
215
  apiBaseUrl: a,
216
216
  authHeaders: o,
217
217
  timeout: c,
@@ -1480,7 +1480,7 @@ function gt(e) {
1480
1480
  return t.length === 0 ? F(e.childNodes) : t;
1481
1481
  }
1482
1482
  function _t(e) {
1483
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new Ne(), r = Ke(e), i = t.compute, a = i === void 0 ? "name" : i, o = t.computedStyleSupportsPseudoElements, s = o === void 0 ? t.getComputedStyle !== void 0 : o, c = t.getComputedStyle, l = c === void 0 ? r.getComputedStyle.bind(r) : c, u = t.hidden, d = u === void 0 ? !1 : u;
1483
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new Ne(), r = Ke(e), i = t.compute, a = i === void 0 ? "name" : i, o = t.computedStyleSupportsPseudoElements, s = o === void 0 ? t.getComputedStyle !== void 0 : o, c = t.getComputedStyle, l = c === void 0 ? r.getComputedStyle.bind(r) : c, u = t.hidden, d = u !== void 0 && u;
1484
1484
  function f(e, t) {
1485
1485
  var n = "";
1486
1486
  if (L(e) && s && (n = `${dt(l(e, "::before"))} ${n}`), (Ye(e) ? gt(e) : F(e.childNodes).concat($e(e, "aria-owns"))).forEach(function(e) {
@@ -7518,7 +7518,7 @@ function Ii(e) {
7518
7518
  var Li = null, Ri = null, zi = null;
7519
7519
  try {
7520
7520
  let e = module && module.require;
7521
- Ri = e.call(module, "fs").readFileSync, zi = e.call(module, "@babel/code-frame").codeFrameColumns, Li = e.call(module, "picocolors");
7521
+ Ri = e.call(module, "fs").readFileSync, zi = e.call(module, "@babel/code-frame").codeFrameColumns, Li = e.call(module, "chalk");
7522
7522
  } catch {}
7523
7523
  function Bi(e) {
7524
7524
  let t = e.indexOf("(") + 1, n = e.indexOf(")"), r = e.slice(t, n), i = r.split(":"), [a, o, s] = [
@@ -7762,7 +7762,7 @@ function _a(e, t) {
7762
7762
  function r(e) {
7763
7763
  return [e, ...Array.from(e.children).reduce((e, t) => [...e, ...r(t)], [])];
7764
7764
  }
7765
- return r(e).filter((e) => n === !1 ? ma(e) === !1 : !0).reduce((e, t) => {
7765
+ return r(e).filter((e) => n !== !1 || ma(e) === !1).reduce((e, t) => {
7766
7766
  let n = [];
7767
7767
  return n = t.hasAttribute("role") ? t.getAttribute("role").split(" ").slice(0, 1) : ha(t), n.reduce((e, n) => Array.isArray(e[n]) ? {
7768
7768
  ...e,
@@ -8171,7 +8171,7 @@ var Za = (e, t) => "Found multiple elements with the text of: " + t, Qa = Ga(Va(
8171
8171
  return m !== void 0 && (t &&= m === Da(e)), g !== void 0 && (t &&= g === Oa(e)), h !== void 0 && (t &&= h === ka(e)), _ !== void 0 && (t &&= W(Aa(e) ?? null, e, _, (e) => e)), t;
8172
8172
  }
8173
8173
  return !0;
8174
- }).filter((e) => i === void 0 ? !0 : W(Et(e, { computedStyleSupportsPseudoElements: U().computedStyleSupportsPseudoElements }), e, i, (e) => e)).filter((e) => a === void 0 ? !0 : W(wt(e, { computedStyleSupportsPseudoElements: U().computedStyleSupportsPseudoElements }), e, a, (e) => e)).filter((e) => r === !1 ? ma(e, { isSubtreeInaccessible: y }) === !1 : !0);
8174
+ }).filter((e) => i === void 0 || W(Et(e, { computedStyleSupportsPseudoElements: U().computedStyleSupportsPseudoElements }), e, i, (e) => e)).filter((e) => a === void 0 || W(wt(e, { computedStyleSupportsPseudoElements: U().computedStyleSupportsPseudoElements }), e, a, (e) => e)).filter((e) => r !== !1 || ma(e, { isSubtreeInaccessible: y }) === !1);
8175
8175
  };
8176
8176
  function es(e) {
8177
8177
  let t = "*[role~=\"" + e + "\"]", n = B.roleElements.get(e) ?? /* @__PURE__ */ new Set(), r = new Set(Array.from(n).map((e) => {
@@ -9022,7 +9022,7 @@ typeof document < "u" && document.body ? xs(document.body, bs, As) : Object.keys
9022
9022
  throw TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error");
9023
9023
  }, e), As);
9024
9024
  //#endregion
9025
- //#region ../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.3_@type_11d2d49f5a29711711a9ee76b83cb539/node_modules/@testing-library/react/dist/@testing-library/react.esm.js
9025
+ //#region ../../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.0_@types+react-dom@19.2.3_@type_ba8587520443101ef3292115a57d0340/node_modules/@testing-library/react/dist/@testing-library/react.esm.js
9026
9026
  var js = typeof l.act == "function" ? l.act : y.act;
9027
9027
  function Ms() {
9028
9028
  /* istanbul ignore else */
@@ -77,4 +77,4 @@ interface CommandResult {
77
77
  };
78
78
  }
79
79
 
80
- export type { CommandResult as C, UiBridge as U, WorkspaceBridge as W, UiCommand as a, UiState as b };
80
+ export type { CommandResult as C, UiCommand as U, WorkspaceBridge as W, UiBridge as a, UiState as b };
@@ -121,4 +121,4 @@ type WorkspaceBridgeJsonValue = null | boolean | number | string | WorkspaceBrid
121
121
  [key: string]: WorkspaceBridgeJsonValue;
122
122
  };
123
123
 
124
- export { type BridgeAuthContext as B, type WorkspaceBridgeOperationDefinition as W, type WorkspaceBridgeCallRequest as a, type WorkspaceBridgeCallResponse as b, type WorkspaceBridgeError as c, type BridgeCallerClass as d, type BridgeIdempotencyPolicy as e, type BridgeActorAttribution as f, type BridgeActorKind as g, type BridgeRedactedActorRef as h, type WorkspaceBridgeCallFailure as i, type WorkspaceBridgeCallSuccess as j, WorkspaceBridgeErrorCode as k, type WorkspaceBridgeFileAssetPointer as l, type WorkspaceBridgeJsonValue as m, createWorkspaceBridgeError as n, WORKSPACE_BRIDGE_DISABLED_ENV as o, WORKSPACE_BRIDGE_REFRESH_TOKEN_ENV as p, WORKSPACE_BRIDGE_TOKEN_ENV as q, WORKSPACE_BRIDGE_TOKEN_URL_ENV as r, WORKSPACE_BRIDGE_URL_ENV as s };
124
+ export { type BridgeAuthContext as B, type WorkspaceBridgeOperationDefinition as W, WorkspaceBridgeErrorCode as a, WORKSPACE_BRIDGE_DISABLED_ENV as b, WORKSPACE_BRIDGE_REFRESH_TOKEN_ENV as c, WORKSPACE_BRIDGE_TOKEN_ENV as d, WORKSPACE_BRIDGE_TOKEN_URL_ENV as e, WORKSPACE_BRIDGE_URL_ENV as f, type WorkspaceBridgeCallFailure as g, type WorkspaceBridgeCallRequest as h, type WorkspaceBridgeCallResponse as i, type WorkspaceBridgeCallSuccess as j, type WorkspaceBridgeError as k, type BridgeCallerClass as l, type BridgeIdempotencyPolicy as m, type BridgeActorAttribution as n, type BridgeActorKind as o, type BridgeRedactedActorRef as p, type WorkspaceBridgeFileAssetPointer as q, type WorkspaceBridgeJsonValue as r, createWorkspaceBridgeError as s };
@@ -3768,6 +3768,9 @@
3768
3768
  .z-\[60\] {
3769
3769
  z-index: 60;
3770
3770
  }
3771
+ .z-\[64\] {
3772
+ z-index: 64;
3773
+ }
3771
3774
  .z-\[65\] {
3772
3775
  z-index: 65;
3773
3776
  }
@@ -4010,6 +4013,18 @@
4010
4013
  .min-h-8 {
4011
4014
  min-height: calc(var(--spacing) * 8);
4012
4015
  }
4016
+ .min-h-9 {
4017
+ min-height: calc(var(--spacing) * 9);
4018
+ }
4019
+ .min-h-10 {
4020
+ min-height: calc(var(--spacing) * 10);
4021
+ }
4022
+ .min-h-11 {
4023
+ min-height: calc(var(--spacing) * 11);
4024
+ }
4025
+ .min-h-12 {
4026
+ min-height: calc(var(--spacing) * 12);
4027
+ }
4013
4028
  .min-h-\[180px\] {
4014
4029
  min-height: 180px;
4015
4030
  }
@@ -4079,6 +4094,9 @@
4079
4094
  .w-\[360px\] {
4080
4095
  width: 360px;
4081
4096
  }
4097
+ .w-\[min\(86vw\,360px\)\] {
4098
+ width: min(86vw, 360px);
4099
+ }
4082
4100
  .w-auto {
4083
4101
  width: auto;
4084
4102
  }
@@ -4094,6 +4112,9 @@
4094
4112
  .max-w-\[280px\] {
4095
4113
  max-width: 280px;
4096
4114
  }
4115
+ .max-w-\[360px\] {
4116
+ max-width: 360px;
4117
+ }
4097
4118
  .max-w-\[calc\(100vw-2rem\)\] {
4098
4119
  max-width: calc(100vw - 2rem);
4099
4120
  }