@hachej/boring-workspace 0.1.71 → 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.
- package/dist/{FileTree-B_fRS4Om.js → FileTree-C8JPlZtS.js} +1 -1
- package/dist/{MarkdownEditor-C55gVDyW.js → MarkdownEditor-B9wN6tGH.js} +14 -14
- package/dist/{WorkspaceLoadingState-D3i4X-eH.js → WorkspaceLoadingState-TgOWTNJC.js} +350 -203
- package/dist/{WorkspaceProvider-Ddx7GByq.js → WorkspaceProvider-DcOiZU24.js} +9 -9
- package/dist/app-front.d.ts +2 -883
- package/dist/app-front.js +1049 -1033
- package/dist/app-server.d.ts +4 -4
- package/dist/bridge-client.d.ts +2 -2
- package/dist/charts.d.ts +2 -119
- package/dist/plugin.d.ts +3 -3
- package/dist/{runtimeEnv-CU-c4kaV.d.ts → runtimeEnv-DKtVLBXo.d.ts} +2 -2
- package/dist/server.d.ts +6 -6
- package/dist/shared.d.ts +3 -3
- package/dist/src/__tests__/WorkspaceProvider.test.d.ts +1 -0
- package/dist/src/__tests__/exploration.property.test.d.ts +1 -0
- package/dist/src/__tests__/plugin-integration.test.d.ts +1 -0
- package/dist/src/__tests__/public-api.test.d.ts +1 -0
- package/dist/src/__tests__/publicFileStateApi.test.d.ts +1 -0
- package/dist/src/__tests__/theme-system.test.d.ts +1 -0
- package/dist/src/app/front/CloseLeftPaneOnAttention.d.ts +10 -0
- package/dist/src/app/front/PluginAppLeftHost.d.ts +18 -0
- package/dist/src/app/front/WorkspaceAgentFront.d.ts +174 -0
- package/dist/src/app/front/WorkspaceAgentStatusStates.d.ts +5 -0
- package/dist/src/app/front/WorkspaceBackgroundBoot.d.ts +10 -0
- package/dist/src/app/front/WorkspaceBootGate.d.ts +12 -0
- package/dist/src/app/front/WorkspaceFullPagePanel.d.ts +5 -0
- package/dist/src/app/front/WorkspaceShellCapabilitiesHost.d.ts +20 -0
- package/dist/src/app/front/WorkspaceUiStateSync.d.ts +9 -0
- package/dist/src/app/front/__tests__/WorkspaceAgentFront.test.d.ts +1 -0
- package/dist/src/app/front/__tests__/WorkspaceBackgroundBoot.test.d.ts +1 -0
- package/dist/src/app/front/__tests__/WorkspaceBootGate.test.d.ts +1 -0
- package/dist/src/app/front/__tests__/WorkspaceFullPagePanel.test.d.ts +1 -0
- package/dist/src/app/front/__tests__/chatPaneState.property.test.d.ts +1 -0
- package/dist/src/app/front/__tests__/useWorkspaceShellCapabilitiesController.test.d.ts +1 -0
- package/dist/src/app/front/__tests__/workspacePreload.test.d.ts +1 -0
- package/dist/src/app/front/chatPaneState.d.ts +8 -0
- package/dist/src/app/front/fullPageRoute.d.ts +10 -0
- package/dist/src/app/front/fullPageRouteErrors.d.ts +7 -0
- package/dist/src/app/front/index.d.ts +8 -0
- package/dist/src/app/front/localStorageSessions.d.ts +18 -0
- package/dist/src/app/front/useWorkspaceShellCapabilitiesController.d.ts +8 -0
- package/dist/src/app/front/workspaceBuiltinPlugins.d.ts +6 -0
- package/dist/src/app/front/workspacePreload.d.ts +64 -0
- package/dist/src/bridge-client/__tests__/client.test.d.ts +1 -0
- package/dist/src/bridge-client/index.d.ts +65 -0
- package/dist/src/front/agentPlugins/__tests__/registerAgentPlugin.test.d.ts +1 -0
- package/dist/src/front/agentPlugins/registerAgentPlugin.d.ts +26 -0
- package/dist/src/front/agentPlugins/reloadEvent.d.ts +7 -0
- package/dist/src/front/attention/WorkspaceAttentionProvider.d.ts +71 -0
- package/dist/src/front/attention/__tests__/WorkspaceAttentionProvider.test.d.ts +1 -0
- package/dist/src/front/attention/index.d.ts +2 -0
- package/dist/src/front/bridge/WorkspaceLink.d.ts +35 -0
- package/dist/src/front/bridge/__tests__/WorkspaceLink.test.d.ts +1 -0
- package/dist/src/front/bridge/__tests__/bridge.property.test.d.ts +1 -0
- package/dist/src/front/bridge/__tests__/bridge.test.d.ts +1 -0
- package/dist/src/front/bridge/__tests__/client.test.d.ts +1 -0
- package/dist/src/front/bridge/__tests__/uiCommandDispatcher.test.d.ts +1 -0
- package/dist/src/front/bridge/__tests__/uiCommandStream.test.d.ts +1 -0
- package/dist/src/front/bridge/client.d.ts +33 -0
- package/dist/src/front/bridge/createBridge.d.ts +8 -0
- package/dist/src/front/bridge/index.d.ts +12 -0
- package/dist/src/front/bridge/types.d.ts +92 -0
- package/dist/src/front/bridge/uiCommandBus.d.ts +3 -0
- package/dist/src/front/bridge/uiCommandDispatcher.d.ts +44 -0
- package/dist/src/front/bridge/uiCommandStream.d.ts +41 -0
- package/dist/src/front/bridge/validation.d.ts +66 -0
- package/dist/src/front/charts/__tests__/charts.test.d.ts +1 -0
- package/dist/src/front/charts/index.d.ts +92 -0
- package/dist/src/front/chrome/artifact-surface/ArtifactSurfacePane.d.ts +18 -0
- package/dist/src/front/chrome/artifact-surface/SurfaceShell.d.ts +84 -0
- package/dist/src/front/chrome/artifact-surface/__tests__/ArtifactSurfacePane.persistence.test.d.ts +1 -0
- package/dist/src/front/chrome/artifact-surface/__tests__/ArtifactSurfacePane.test.d.ts +1 -0
- package/dist/src/front/chrome/artifact-surface/__tests__/SurfaceShell.test.d.ts +1 -0
- package/dist/src/front/chrome/artifact-surface/__tests__/resolvePanelForPath.test.d.ts +1 -0
- package/dist/src/front/chrome/artifact-surface/definition.d.ts +12 -0
- package/dist/src/front/chrome/artifact-surface/surfaceShellHelpers.d.ts +10 -0
- package/dist/src/front/chrome/chat/ChatPanelHost.d.ts +16 -0
- package/dist/src/front/chrome/chat/DetachedChatPopover.d.ts +11 -0
- package/dist/src/front/chrome/chat/__tests__/ChatPanelHost.test.d.ts +1 -0
- package/dist/src/front/chrome/chat/composerStop.d.ts +19 -0
- package/dist/src/front/chrome/chat/definition.d.ts +16 -0
- package/dist/src/front/chrome/chat/types.d.ts +30 -0
- package/dist/src/front/chrome/empty-pane/EmptyPane.d.ts +5 -0
- package/dist/src/front/chrome/empty-pane/__tests__/EmptyPane.test.d.ts +1 -0
- package/dist/src/front/chrome/management/ManagementOverlaySurface.d.ts +16 -0
- package/dist/src/front/chrome/plugins/PluginsOverlay.d.ts +16 -0
- package/dist/src/front/chrome/session-list/SessionBrowser.d.ts +20 -0
- package/dist/src/front/chrome/session-list/__tests__/SessionBrowser.test.d.ts +1 -0
- package/dist/src/front/chrome/session-list/definition.d.ts +28 -0
- package/dist/src/front/chrome/skills/SkillsPage.d.ts +11 -0
- package/dist/src/front/chrome/skills/definition.d.ts +3 -0
- package/dist/src/front/chrome/workbench-left/WorkbenchLeftPane.d.ts +28 -0
- package/dist/src/front/chrome/workbench-left/__tests__/WorkbenchLeftPane.test.d.ts +1 -0
- package/dist/src/front/chrome/workbench-left/definition.d.ts +12 -0
- package/dist/src/front/chrome/workbench-left/useWorkspaceLeftPaneActions.d.ts +48 -0
- package/dist/src/front/components/CommandPalette.d.ts +21 -0
- package/dist/src/front/components/ControlTooltip.d.ts +12 -0
- package/dist/src/front/components/ErrorChip.d.ts +6 -0
- package/dist/src/front/components/PanelErrorBoundary.d.ts +22 -0
- package/dist/src/front/components/SessionList.d.ts +15 -0
- package/dist/src/front/components/WorkspaceLoadingState.d.ts +8 -0
- package/dist/src/front/components/__tests__/CommandPalette.test.d.ts +1 -0
- package/dist/src/front/components/__tests__/PanelErrorBoundary.test.d.ts +1 -0
- package/dist/src/front/components/__tests__/SessionList.test.d.ts +1 -0
- package/dist/src/front/components/__tests__/WorkspaceLoadingState.test.d.ts +1 -0
- package/dist/src/front/components/commandPaletteHelpers.d.ts +16 -0
- package/dist/src/front/components/recent/__tests__/migrate.test.d.ts +1 -0
- package/dist/src/front/components/recent/__tests__/recentStore.test.d.ts +1 -0
- package/dist/src/front/components/recent/index.d.ts +2 -0
- package/dist/src/front/components/recent/recentStore.d.ts +9 -0
- package/dist/src/front/components/recent/types.d.ts +23 -0
- package/dist/src/front/components/useCommandPaletteCatalogSearch.d.ts +7 -0
- package/dist/src/front/components/useCommandPaletteChrome.d.ts +14 -0
- package/dist/src/front/components/useCommandPaletteSelection.d.ts +15 -0
- package/dist/src/front/detached/DetachedPanelPopover.d.ts +2 -0
- package/dist/src/front/detached/detachedPanelTypes.d.ts +21 -0
- package/dist/src/front/detached/useDetachedPanelPosition.d.ts +10 -0
- package/dist/src/front/dock/DockviewShell.d.ts +6 -0
- package/dist/src/front/dock/PanelChrome.d.ts +16 -0
- package/dist/src/front/dock/ShadcnTab.d.ts +2 -0
- package/dist/src/front/dock/__tests__/dock.test.d.ts +1 -0
- package/dist/src/front/dock/index.d.ts +3 -0
- package/dist/src/front/dock/types.d.ts +69 -0
- package/dist/src/front/events/__tests__/agentBridge.test.d.ts +1 -0
- package/dist/src/front/events/__tests__/bus.test.d.ts +1 -0
- package/dist/src/front/events/__tests__/types.test.d.ts +1 -0
- package/dist/src/front/events/__tests__/useEvent.test.d.ts +1 -0
- package/dist/src/front/events/agentBridge.d.ts +1 -0
- package/dist/src/front/events/bus.d.ts +21 -0
- package/dist/src/front/events/index.d.ts +7 -0
- package/dist/src/front/events/types.d.ts +137 -0
- package/dist/src/front/events/useEvent.d.ts +7 -0
- package/dist/src/front/fullPage.d.ts +24 -0
- package/dist/src/front/hooks/__tests__/useArtifactPanels.test.d.ts +1 -0
- package/dist/src/front/hooks/__tests__/useArtifactRouting.test.d.ts +1 -0
- package/dist/src/front/hooks/__tests__/useEditorLifecycle.test.d.ts +1 -0
- package/dist/src/front/hooks/__tests__/useKeyboardShortcuts.test.d.ts +1 -0
- package/dist/src/front/hooks/__tests__/useViewportBreakpoint.test.d.ts +1 -0
- package/dist/src/front/hooks/index.d.ts +6 -0
- package/dist/src/front/hooks/useArtifactPanels.d.ts +14 -0
- package/dist/src/front/hooks/useArtifactRouting.d.ts +12 -0
- package/dist/src/front/hooks/useEditorLifecycle.d.ts +27 -0
- package/dist/src/front/hooks/useKeyboardShortcuts.d.ts +13 -0
- package/dist/src/front/hooks/useResponsiveSidebarCollapse.d.ts +6 -0
- package/dist/src/front/hooks/useViewportBreakpoint.d.ts +1 -0
- package/dist/src/front/layout/ChatLayout.d.ts +4 -0
- package/dist/src/front/layout/ChatPaneStage.d.ts +59 -0
- package/dist/src/front/layout/ChatPaneStageDock.d.ts +5 -0
- package/dist/src/front/layout/IdeLayout.d.ts +4 -0
- package/dist/src/front/layout/ResponsiveDockviewShell.d.ts +6 -0
- package/dist/src/front/layout/ThemeToggle.d.ts +10 -0
- package/dist/src/front/layout/TopBar.d.ts +17 -0
- package/dist/src/front/layout/__tests__/ChatPaneStageDock.test.d.ts +1 -0
- package/dist/src/front/layout/__tests__/TopBar.test.d.ts +1 -0
- package/dist/src/front/layout/__tests__/presets.test.d.ts +1 -0
- package/dist/src/front/layout/cornerChrome.d.ts +10 -0
- package/dist/src/front/layout/index.d.ts +9 -0
- package/dist/src/front/layout/mobileShell.d.ts +18 -0
- package/dist/src/front/layout/paneCollapseButton.d.ts +15 -0
- package/dist/src/front/layout/plugin-tabs/AppLeftOverlayChromeContext.d.ts +1 -0
- package/dist/src/front/layout/plugin-tabs/AppLeftPane.d.ts +75 -0
- package/dist/src/front/layout/plugin-tabs/AppLeftPaneActions.d.ts +13 -0
- package/dist/src/front/layout/plugin-tabs/AppLeftPaneHeader.d.ts +7 -0
- package/dist/src/front/layout/plugin-tabs/AppLeftPaneProjects.d.ts +18 -0
- package/dist/src/front/layout/plugin-tabs/AppLeftPaneSections.d.ts +6 -0
- package/dist/src/front/layout/plugin-tabs/AppLeftPaneSessionRow.d.ts +18 -0
- package/dist/src/front/layout/plugin-tabs/PluginTabsWorkspaceShell.d.ts +15 -0
- package/dist/src/front/layout/plugin-tabs/__tests__/AppLeftPane.test.d.ts +1 -0
- package/dist/src/front/layout/types.d.ts +40 -0
- package/dist/src/front/layout/useViewportWidth.d.ts +1 -0
- package/dist/src/front/lib/utils.d.ts +2 -0
- package/dist/src/front/lib/utils.test.d.ts +1 -0
- package/dist/src/front/lib/validation.d.ts +189 -0
- package/dist/src/front/plugin/PluginErrorBoundary.d.ts +21 -0
- package/dist/src/front/plugin/PluginErrorContext.d.ts +19 -0
- package/dist/src/front/plugin/PluginInspector.d.ts +8 -0
- package/dist/src/front/plugin/__tests__/CatalogRegistry.test.d.ts +1 -0
- package/dist/src/front/plugin/__tests__/PluginErrorBoundary.test.d.ts +1 -0
- package/dist/src/front/plugin/__tests__/PluginInspector.test.d.ts +1 -0
- package/dist/src/front/plugin/__tests__/useWorkspacePluginClient.test.d.ts +1 -0
- package/dist/src/front/plugin/index.d.ts +10 -0
- package/dist/src/front/plugin/useActivePanels.d.ts +2 -0
- package/dist/src/front/plugin/useCatalogs.d.ts +2 -0
- package/dist/src/front/plugin/useCommands.d.ts +2 -0
- package/dist/src/front/plugin/useWorkspacePluginClient.d.ts +29 -0
- package/dist/src/front/provider/WorkspaceProvider.d.ts +84 -0
- package/dist/src/front/provider/index.d.ts +9 -0
- package/dist/src/front/provider/workspaceTitle.d.ts +5 -0
- package/dist/src/front/registry/PanelRegistry.d.ts +39 -0
- package/dist/src/front/registry/PanelRenderStatusBoundary.d.ts +38 -0
- package/dist/src/front/registry/RegistryProvider.d.ts +21 -0
- package/dist/src/front/registry/WorkspaceSourceRegistry.d.ts +25 -0
- package/dist/src/front/registry/__tests__/registry.test.d.ts +1 -0
- package/dist/src/front/registry/__tests__/replaceByPluginId.test.d.ts +1 -0
- package/dist/src/front/registry/__tests__/subscribe.test.d.ts +1 -0
- package/dist/src/front/registry/coreRegistrations.d.ts +2 -0
- package/dist/src/front/registry/getFileIcon.d.ts +2 -0
- package/dist/src/front/registry/index.d.ts +7 -0
- package/dist/src/front/registry/types.d.ts +2 -0
- package/dist/src/front/shell/WorkspaceShellCapabilitiesContext.d.ts +1 -0
- package/dist/src/front/store/__tests__/store.property.test.d.ts +1 -0
- package/dist/src/front/store/__tests__/store.test.d.ts +1 -0
- package/dist/src/front/store/index.d.ts +35 -0
- package/dist/src/front/store/localStorageValues.d.ts +4 -0
- package/dist/src/front/store/selectors.d.ts +21 -0
- package/dist/src/front/store/types.d.ts +53 -0
- package/dist/src/front/testing/TestWorkspaceProvider.d.ts +13 -0
- package/dist/src/front/testing/__tests__/testing.test.d.ts +1 -0
- package/dist/src/front/testing/createLocalStorageSessions.d.ts +16 -0
- package/dist/src/front/testing/createMockBridge.d.ts +20 -0
- package/dist/src/front/testing/createMockPaneProps.d.ts +11 -0
- package/dist/src/front/testing/createMockRegistry.d.ts +7 -0
- package/dist/src/front/testing/createMockSessions.d.ts +24 -0
- package/dist/src/front/testing/e2e.d.ts +61 -0
- package/dist/src/front/testing/index.d.ts +17 -0
- package/dist/src/front/testing/mockApi.d.ts +9 -0
- package/dist/src/front/testing/renderPane.d.ts +20 -0
- package/dist/src/front/theme/codemirror-theme.d.ts +4 -0
- package/dist/src/front/theme/index.d.ts +1 -0
- package/dist/src/front/toast/__tests__/toast.test.d.ts +1 -0
- package/dist/src/front/toast/index.d.ts +1 -0
- package/dist/src/index.d.ts +90 -0
- package/dist/src/plugin.d.ts +19 -0
- package/dist/src/plugins/filesystemPlugin/front/ConflictBanner.d.ts +14 -0
- package/dist/src/plugins/filesystemPlugin/front/FilePaneShell.d.ts +73 -0
- package/dist/src/plugins/filesystemPlugin/front/__tests__/agentFileBridge.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/__tests__/filePanelBinding.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/__tests__/filesystemPlugin.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/__tests__/search.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/__tests__/useFilePane.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/agentFileBridge.d.ts +12 -0
- package/dist/src/plugins/filesystemPlugin/front/catalogs.d.ts +9 -0
- package/dist/src/plugins/filesystemPlugin/front/code-editor/CodeEditor.d.ts +10 -0
- package/dist/src/plugins/filesystemPlugin/front/code-editor/CodeEditorPane.d.ts +8 -0
- package/dist/src/plugins/filesystemPlugin/front/code-editor/__tests__/CodeEditor.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/code-editor/__tests__/CodeEditorPane.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/data/DataProvider.d.ts +16 -0
- package/dist/src/plugins/filesystemPlugin/front/data/__tests__/fetchClient.integration.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/data/__tests__/fetchClient.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/data/__tests__/fileRecords.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/data/__tests__/hooks.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/data/__tests__/useFileEventInvalidation.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/data/__tests__/useFileEventStream.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/data/__tests__/useFileUpload.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/data/fetchClient.d.ts +63 -0
- package/dist/src/plugins/filesystemPlugin/front/data/fileRecords.d.ts +34 -0
- package/dist/src/plugins/filesystemPlugin/front/data/filesystemErrorRedaction.d.ts +2 -0
- package/dist/src/plugins/filesystemPlugin/front/data/hooks.d.ts +48 -0
- package/dist/src/plugins/filesystemPlugin/front/data/index.d.ts +9 -0
- package/dist/src/plugins/filesystemPlugin/front/data/treePreloadCache.d.ts +3 -0
- package/dist/src/plugins/filesystemPlugin/front/data/types.d.ts +37 -0
- package/dist/src/plugins/filesystemPlugin/front/data/useFileEventInvalidation.d.ts +28 -0
- package/dist/src/plugins/filesystemPlugin/front/data/useFileEventStream.d.ts +27 -0
- package/dist/src/plugins/filesystemPlugin/front/data/useFileUpload.d.ts +12 -0
- package/dist/src/plugins/filesystemPlugin/front/empty-file-panel/EmptyFilePanel.d.ts +6 -0
- package/dist/src/plugins/filesystemPlugin/front/empty-file-panel/definition.d.ts +8 -0
- package/dist/src/plugins/filesystemPlugin/front/events.d.ts +6 -0
- package/dist/src/plugins/filesystemPlugin/front/file-tree/FileTree.d.ts +59 -0
- package/dist/src/plugins/filesystemPlugin/front/file-tree/FileTreeView.d.ts +83 -0
- package/dist/src/plugins/filesystemPlugin/front/file-tree/__tests__/FileTree.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/file-tree/__tests__/FileTreePane.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/file-tree/__tests__/copyToClipboard.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/file-tree/clipboard.d.ts +6 -0
- package/dist/src/plugins/filesystemPlugin/front/file-tree/dndManager.d.ts +8 -0
- package/dist/src/plugins/filesystemPlugin/front/file-tree/treeModel.d.ts +20 -0
- package/dist/src/plugins/filesystemPlugin/front/filePanelBinding.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/html-viewer/HtmlViewer.d.ts +18 -0
- package/dist/src/plugins/filesystemPlugin/front/html-viewer/HtmlViewer.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/html-viewer/HtmlViewerPane.d.ts +7 -0
- package/dist/src/plugins/filesystemPlugin/front/index.d.ts +11 -0
- package/dist/src/plugins/filesystemPlugin/front/markdown-editor/MarkdownEditor.d.ts +44 -0
- package/dist/src/plugins/filesystemPlugin/front/markdown-editor/MarkdownEditorPane.d.ts +8 -0
- package/dist/src/plugins/filesystemPlugin/front/markdown-editor/ResizableImage.d.ts +10 -0
- package/dist/src/plugins/filesystemPlugin/front/markdown-editor/__tests__/MarkdownEditor.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/markdown-editor/__tests__/MarkdownEditorPane.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/media-viewer/MediaViewer.d.ts +9 -0
- package/dist/src/plugins/filesystemPlugin/front/media-viewer/MediaViewer.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/media-viewer/MediaViewerPane.d.ts +8 -0
- package/dist/src/plugins/filesystemPlugin/front/media-viewer/useMediaViewerReload.d.ts +8 -0
- package/dist/src/plugins/filesystemPlugin/front/media-viewer/useMediaViewerReload.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/search.d.ts +5 -0
- package/dist/src/plugins/filesystemPlugin/front/search.test.d.ts +1 -0
- package/dist/src/plugins/filesystemPlugin/front/surfaceResolver.d.ts +10 -0
- package/dist/src/plugins/filesystemPlugin/front/useFilePane.d.ts +61 -0
- package/dist/src/plugins/filesystemPlugin/shared/constants.d.ts +12 -0
- package/dist/src/plugins/filesystemPlugin/shared/events.d.ts +39 -0
- package/dist/src/shared/__tests__/filesystem.test.d.ts +1 -0
- package/dist/src/shared/__tests__/telemetry.test.d.ts +1 -0
- package/dist/src/shared/__tests__/workspaceBridgeRpc.test.d.ts +1 -0
- package/dist/src/shared/index.d.ts +25 -0
- package/dist/src/shared/plugins/CatalogRegistry.d.ts +28 -0
- package/dist/src/shared/plugins/CommandRegistry.d.ts +23 -0
- package/dist/src/shared/plugins/SurfaceResolverRegistry.d.ts +24 -0
- package/dist/src/shared/plugins/__tests__/bootstrap.test.d.ts +1 -0
- package/dist/src/shared/plugins/__tests__/frontFactory.test.d.ts +1 -0
- package/dist/src/shared/plugins/__tests__/manifest.test.d.ts +1 -0
- package/dist/src/shared/plugins/__tests__/uiBridgeRegistry.test.d.ts +1 -0
- package/dist/src/shared/plugins/appLeftOverlayChrome.d.ts +10 -0
- package/dist/src/shared/plugins/bootstrap.d.ts +41 -0
- package/dist/src/shared/plugins/errors.d.ts +5 -0
- package/dist/src/shared/plugins/frontFactory.d.ts +166 -0
- package/dist/src/shared/plugins/index.d.ts +5 -0
- package/dist/src/shared/plugins/manifest.d.ts +58 -0
- package/dist/src/shared/plugins/runtimePluginTypes.d.ts +51 -0
- package/dist/src/shared/plugins/types.d.ts +84 -0
- package/dist/src/shared/plugins/uiBridgeRegistry.d.ts +44 -0
- package/dist/src/shared/plugins/workspaceShellCapabilities.d.ts +44 -0
- package/dist/src/shared/telemetry.d.ts +11 -0
- package/dist/src/shared/types/agent-tool.d.ts +30 -0
- package/dist/src/shared/types/boring-core-front.d.ts +2 -0
- package/dist/src/shared/types/filesystem.d.ts +15 -0
- package/dist/src/shared/types/panel.d.ts +123 -0
- package/dist/src/shared/types/surface.d.ts +42 -0
- package/dist/src/shared/ui-bridge.d.ts +77 -0
- package/dist/src/shared/workspace-bridge-rpc.d.ts +122 -0
- package/dist/{surface-aLQ_Hryw.d.ts → surface-h6IgrsK5.d.ts} +1 -1
- package/dist/testing-e2e.d.ts +2 -73
- package/dist/testing.d.ts +2 -433
- package/dist/testing.js +11 -11
- package/dist/{ui-bridge-D2eO3epD.d.ts → ui-bridge-C4CyIrQA.d.ts} +1 -1
- package/dist/{workspace-bridge-rpc-A98RA5o6.d.ts → workspace-bridge-rpc-BHsOJMlW.d.ts} +1 -1
- package/dist/workspace.css +21 -0
- package/dist/workspace.d.ts +2 -2649
- package/dist/workspace.js +40 -40
- package/package.json +4 -4
package/dist/workspace.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $ as e, $t as t,
|
|
2
|
-
import { t as bt } from "./MarkdownEditor-
|
|
1
|
+
import { $ as e, $t as t, A as n, At as r, Bt as i, Ct as a, D as o, Dt as s, E as c, Et as l, Ft as u, Gt as d, Ht as f, It as p, J as m, Jt as h, K as g, Lt as _, Mt as v, Nt as y, O as b, Ot as x, Pt as S, Q as C, Qt as w, Rt as T, S as ee, Sn as te, St as ne, T as re, Tt as E, U as ie, Ut as ae, Vt as oe, W as se, Wt as ce, Xt as le, Y as ue, Yt as de, Z as fe, Zt as pe, _n as me, _t as he, a as ge, an as _e, at as ve, b as ye, bn as be, bt as xe, cn as Se, ct as Ce, d as we, dn as D, dt as O, en as k, et as Te, f as Ee, fn as De, ft as Oe, gn as ke, gt as A, h as Ae, hn as je, ht as Me, i as Ne, in as Pe, it as Fe, jt as Ie, k as Le, l as Re, ln as ze, lt as Be, mn as j, mt as Ve, n as He, nt as Ue, o as We, on as Ge, ot as Ke, p as qe, pn as Je, pt as Ye, q as Xe, qt as Ze, r as Qe, rn as $e, rt as et, s as tt, sn as nt, st as rt, t as it, tn as at, tt as ot, u as st, un as ct, ut as lt, vn as ut, vt as dt, w as ft, wt as pt, x as mt, xt as ht, y as gt, yn as _t, yt as vt, zt as yt } from "./WorkspaceProvider-DcOiZU24.js";
|
|
2
|
+
import { t as bt } from "./MarkdownEditor-B9wN6tGH.js";
|
|
3
3
|
import { t as M } from "./utils-BRcxFdrz.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as Dt } from "./FileTree-
|
|
4
|
+
import { d as xt, i as St, n as Ct, p as wt, r as Tt, t as Et } from "./WorkspaceLoadingState-TgOWTNJC.js";
|
|
5
|
+
import { t as Dt } from "./FileTree-C8JPlZtS.js";
|
|
6
6
|
import { Component as Ot, Suspense as kt, useCallback as N, useEffect as P, useMemo as F, useRef as I, useState as L, useSyncExternalStore as R } from "react";
|
|
7
7
|
import { Fragment as At, jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
8
8
|
import { CheckIcon as jt, CopyIcon as Mt, MenuIcon as Nt, PanelLeftIcon as V, PinIcon as Pt } from "lucide-react";
|
|
9
9
|
import { Button as H, EmptyState as Ft, ErrorState as It, IconButton as U, Kbd as W, Sheet as Lt, SheetContent as Rt, SheetDescription as zt, SheetHeader as Bt, SheetTitle as Vt } from "@hachej/boring-ui-kit";
|
|
10
10
|
//#region src/front/plugin/useActivePanels.ts
|
|
11
11
|
function Ht() {
|
|
12
|
-
let e =
|
|
12
|
+
let e = j();
|
|
13
13
|
return R(e.subscribe, e.getSnapshot);
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
@@ -60,7 +60,7 @@ function Wt({ to: e, children: t, className: n, title: r, href: i, onClick: a })
|
|
|
60
60
|
className: n,
|
|
61
61
|
title: r,
|
|
62
62
|
onClick: (t) => {
|
|
63
|
-
a?.(t), !(t.defaultPrevented || !Ut(t)) && (t.preventDefault(),
|
|
63
|
+
a?.(t), !(t.defaultPrevented || !Ut(t)) && (t.preventDefault(), T(G(e)));
|
|
64
64
|
},
|
|
65
65
|
children: t
|
|
66
66
|
});
|
|
@@ -198,20 +198,20 @@ function Zt(e) {
|
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
200
|
function Z({ layout: e, className: t }) {
|
|
201
|
-
let n =
|
|
202
|
-
isNarrowViewport:
|
|
201
|
+
let n = j(), r = l(), i = E(), a = Y(Yt), o = Y(Xt), s = o && !a, c = F(() => e.groups.find((e) => e.id === "sidebar" && e.panel), [e])?.panel, u = !!c, d = X({
|
|
202
|
+
isNarrowViewport: u && o,
|
|
203
203
|
isCollapsed: r.collapsed,
|
|
204
204
|
setCollapsed: (e) => i({ collapsed: e })
|
|
205
|
-
}), [
|
|
205
|
+
}), [f, p] = L(!1);
|
|
206
206
|
P(() => {
|
|
207
|
-
(!
|
|
207
|
+
(!u || !a && !s) && p(!1);
|
|
208
208
|
}, [
|
|
209
|
-
|
|
209
|
+
u,
|
|
210
210
|
a,
|
|
211
211
|
s
|
|
212
212
|
]);
|
|
213
|
-
let
|
|
214
|
-
let e =
|
|
213
|
+
let m = u && (a || s && r.collapsed), h = u && !a && (!s || !r.collapsed), g = F(() => h ? e : Zt(e), [h, e]), _ = F(() => {
|
|
214
|
+
let e = h ? "inline-sidebar" : "overlay-sidebar", t = g.groups.map((e) => {
|
|
215
215
|
let t = "";
|
|
216
216
|
try {
|
|
217
217
|
t = JSON.stringify(e.params ?? null);
|
|
@@ -220,74 +220,74 @@ function Z({ layout: e, className: t }) {
|
|
|
220
220
|
}
|
|
221
221
|
return `${e.id}:${e.panel ?? ""}:${t}`;
|
|
222
222
|
}).join(",");
|
|
223
|
-
return `${
|
|
224
|
-
}, [
|
|
225
|
-
|
|
226
|
-
}, []),
|
|
227
|
-
|
|
228
|
-
}, [
|
|
229
|
-
|
|
230
|
-
}, [
|
|
231
|
-
e.target.closest("[role='treeitem']") &&
|
|
223
|
+
return `${g.version}:${e}:${t}`;
|
|
224
|
+
}, [g, h]), v = F(() => n.getComponents(), [n, R(n.subscribe, n.getSnapshot, n.getSnapshot)]), y = c ? v[c] : null, b = c ? n.get(c)?.title ?? "Sidebar" : "Sidebar", x = N(() => {
|
|
225
|
+
p(!0);
|
|
226
|
+
}, []), S = N(() => {
|
|
227
|
+
d(), i({ collapsed: !1 }), p(!1);
|
|
228
|
+
}, [d, i]), C = N(() => {
|
|
229
|
+
d(), i({ collapsed: !0 }), p(!1);
|
|
230
|
+
}, [d, i]), w = N((e) => {
|
|
231
|
+
e.target.closest("[role='treeitem']") && p(!1);
|
|
232
232
|
}, []);
|
|
233
233
|
return /* @__PURE__ */ B("div", {
|
|
234
234
|
className: "relative h-full w-full",
|
|
235
235
|
children: [
|
|
236
|
-
s &&
|
|
236
|
+
s && u && r.collapsed && /* @__PURE__ */ z("div", {
|
|
237
237
|
className: "pointer-events-none absolute inset-y-0 left-0 z-20 w-10 border-r border-border bg-background/95",
|
|
238
238
|
"aria-hidden": "true"
|
|
239
239
|
}),
|
|
240
|
-
|
|
240
|
+
m && /* @__PURE__ */ z("div", {
|
|
241
241
|
className: M("absolute z-30", "left-2 top-2"),
|
|
242
242
|
children: /* @__PURE__ */ z(H, {
|
|
243
243
|
type: "button",
|
|
244
244
|
variant: "outline",
|
|
245
245
|
size: "icon-sm",
|
|
246
|
-
onClick:
|
|
246
|
+
onClick: x,
|
|
247
247
|
"aria-label": a ? "Open sidebar menu" : "Open collapsed sidebar",
|
|
248
248
|
children: z(a ? Nt : V, { className: "h-4 w-4" })
|
|
249
249
|
})
|
|
250
250
|
}),
|
|
251
|
-
s &&
|
|
251
|
+
s && u && !r.collapsed && /* @__PURE__ */ z("div", {
|
|
252
252
|
className: "absolute left-2 top-2 z-30",
|
|
253
253
|
children: /* @__PURE__ */ z(H, {
|
|
254
254
|
type: "button",
|
|
255
255
|
variant: "outline",
|
|
256
256
|
size: "icon-sm",
|
|
257
|
-
onClick:
|
|
257
|
+
onClick: C,
|
|
258
258
|
"aria-label": "Collapse sidebar",
|
|
259
259
|
children: /* @__PURE__ */ z(V, { className: "h-4 w-4" })
|
|
260
260
|
})
|
|
261
261
|
}),
|
|
262
|
-
/* @__PURE__ */ z(
|
|
263
|
-
layout:
|
|
264
|
-
className: M(t, s &&
|
|
265
|
-
},
|
|
266
|
-
|
|
267
|
-
open:
|
|
268
|
-
onOpenChange:
|
|
262
|
+
/* @__PURE__ */ z(A, {
|
|
263
|
+
layout: g,
|
|
264
|
+
className: M(t, s && u && r.collapsed && "pl-10")
|
|
265
|
+
}, _),
|
|
266
|
+
m && /* @__PURE__ */ z(Lt, {
|
|
267
|
+
open: f,
|
|
268
|
+
onOpenChange: p,
|
|
269
269
|
children: /* @__PURE__ */ B(Rt, {
|
|
270
270
|
side: "left",
|
|
271
271
|
className: "w-[85vw] max-w-sm p-0",
|
|
272
272
|
children: [/* @__PURE__ */ B(Bt, {
|
|
273
273
|
className: "flex flex-row items-center justify-between border-b border-border px-4 py-3",
|
|
274
|
-
children: [/* @__PURE__ */ B("div", { children: [/* @__PURE__ */ z(Vt, { children:
|
|
274
|
+
children: [/* @__PURE__ */ B("div", { children: [/* @__PURE__ */ z(Vt, { children: b }), /* @__PURE__ */ z(zt, {
|
|
275
275
|
className: "sr-only",
|
|
276
276
|
children: "Responsive sidebar panel"
|
|
277
277
|
})] }), s && /* @__PURE__ */ B(H, {
|
|
278
278
|
type: "button",
|
|
279
279
|
variant: "outline",
|
|
280
280
|
size: "sm",
|
|
281
|
-
onClick:
|
|
281
|
+
onClick: S,
|
|
282
282
|
"aria-label": "Pin sidebar open",
|
|
283
283
|
children: [/* @__PURE__ */ z(Pt, { className: "h-4 w-4" }), "Pin"]
|
|
284
284
|
})]
|
|
285
285
|
}), /* @__PURE__ */ z("div", {
|
|
286
286
|
className: "h-full min-h-0 overflow-auto",
|
|
287
|
-
onClickCapture:
|
|
288
|
-
children:
|
|
287
|
+
onClickCapture: w,
|
|
288
|
+
children: y ? /* @__PURE__ */ z(kt, {
|
|
289
289
|
fallback: /* @__PURE__ */ z(Q, {}),
|
|
290
|
-
children: /* @__PURE__ */ z(
|
|
290
|
+
children: /* @__PURE__ */ z(y, {})
|
|
291
291
|
}) : /* @__PURE__ */ z(Q, {})
|
|
292
292
|
})]
|
|
293
293
|
})
|
|
@@ -587,4 +587,4 @@ function rn({ session: e, isActive: t, isFocused: n, onSwitch: r, onDelete: i, o
|
|
|
587
587
|
});
|
|
588
588
|
}
|
|
589
589
|
//#endregion
|
|
590
|
-
export {
|
|
590
|
+
export { st as ArtifactSurfacePane, _t as CatalogRegistry, Tt as ChatLayout, ot as CodeEditor, Te as CodeEditorPane, ie as CommandPalette, fe as CommandRegistry, A as DockviewShell, $t as EmptyPane, Dt as FileTree, lt as FileTreePane, O as FileTreeView, Qt as IdeLayout, de as MAX_PANELS, bt as MarkdownEditor, e as MarkdownEditorPane, Me as PanelChrome, en as PanelErrorBoundary, Ie as PanelRegistry, te as PluginError, Ge as PluginErrorBoundary, nt as PluginErrorProvider, D as RegistryProvider, Z as ResponsiveDockviewShell, Ae as SessionBrowser, tn as SessionList, me as SurfaceResolverRegistry, Re as SurfaceShell, it as ThemeProvider, Oe as Toaster, Ct as TopBar, _ as UI_COMMAND_EVENT, gt as WORKSPACE_ATTENTION_ACTION_EVENT, ft as WORKSPACE_COMPOSER_STOP_EVENT, re as WORKSPACE_COMPOSER_STOP_REASONS, x as WORKSPACE_OPEN_PATH_SURFACE_KIND, d as WORKSPACE_SURFACE_OPEN_SKIPPED_EVENT, we as WorkbenchLeftPane, v as WorkspaceFilesProvider, Wt as WorkspaceLink, Et as WorkspaceLoadingState, $e as WorkspacePluginClientProvider, He as WorkspaceProvider, ut as WorkspaceSourceRegistry, f as agentMeta, dt as bindStore, be as bootstrap, St as buildChatLayout, g as buildFullPagePanelHref, $ as buildIdeLayout, le as closePanelSchema, M as cn, h as createBridge, Ze as createBridgeClient, Ue as createShadcnTheme, Pe as createWorkspacePluginClient, se as createWorkspaceStore, qe as definePanel, Ye as dismissToast, i as emitAgentData, rt as emitFilesystemAgentFileChange, ye as emitWorkspaceAttentionAction, c as emitWorkspaceComposerStop, yt as events, pe as expandToFileSchema, p as filesystemEvents, C as filesystemPlugin, Fe as formatShortcut, r as getFileIcon, o as isWorkspaceComposerStopDetail, b as isWorkspaceComposerStopReason, w as navigateToLineSchema, t as notificationSchema, Ce as onFilesystemChanged, k as openFileSchema, at as openPanelSchema, T as postUiCommand, q as readFileRecords, Ve as toast, vt as useActiveFile, xe as useActivePanel, Ht as useActivePanels, y as useApiBaseUrl, wt as useAppLeftOverlayChrome, qt as useArtifactPanels, Jt as useArtifactRouting, Be as useAutoOpenAgentFiles, De as useCatalogRegistry, ze as useCatalogs, Je as useCommandRegistry, ct as useCommands, ht as useDirtyFiles, he as useDockviewApi, Ke as useEditorLifecycle, oe as useEvent, et as useFilePane, Xe as useFullPagePanelHref, S as useHasWorkspaceFilesProvider, ne as useHydrationComplete, m as useIsFullPagePanel, ve as useKeyboardShortcuts, a as useOpenPanels, ue as usePanelRenderMode, Se as usePluginErrors, j as useRegistry, pt as useResetLayout, X as useResponsiveSidebarCollapse, E as useSetSidebar, l as useSidebarState, je as useSurfaceResolverRegistry, Qe as useTheme, s as useThemePreference, Y as useViewportBreakpoint, mt as useWorkspaceAttention, Ne as useWorkspaceBridge, ge as useWorkspaceChatPanel, We as useWorkspaceContext, tt as useWorkspaceContextOptional, Ee as useWorkspaceLeftPaneActions, _e as useWorkspacePluginClient, u as useWorkspaceRequestId, xt as useWorkspaceShellCapabilities, ke as useWorkspaceSourceRegistry, ae as userMeta, ee as workspaceAttentionSessionBadgeForBlocker, Le as workspaceComposerStopAppliesToSession, n as workspaceComposerStopTargetSessionId, ce as workspaceEvents, G as workspaceLinkCommand, K as workspaceLinkHref };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hachej/boring-workspace",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.72",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Workspace UI, plugin, and bridge package for composing chat, files, catalogs, editors, and app-specific panes.",
|
|
@@ -139,9 +139,9 @@
|
|
|
139
139
|
"tailwind-merge": "^2.0.0",
|
|
140
140
|
"zod": "^3.23.0",
|
|
141
141
|
"zustand": "^5.0.14",
|
|
142
|
-
"@hachej/boring-
|
|
143
|
-
"@hachej/boring-ui-
|
|
144
|
-
"@hachej/boring-
|
|
142
|
+
"@hachej/boring-agent": "0.1.72",
|
|
143
|
+
"@hachej/boring-ui-kit": "0.1.72",
|
|
144
|
+
"@hachej/boring-ui-plugin-cli": "0.1.72"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
147
|
"@tailwindcss/postcss": "^4.3.1",
|