@hachej/boring-workspace 0.1.41 → 0.1.43

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.
@@ -421,7 +421,7 @@ export declare type UseWorkspaceAgentSessions<TSession extends WorkspaceAgentSes
421
421
  refreshKey?: unknown;
422
422
  }) => WorkspaceAgentSessionsApi<TSession>;
423
423
 
424
- export declare function WorkspaceAgentFront<TSession extends WorkspaceAgentSession = WorkspaceAgentSession>({ workspaceId, chatPanel: chatPanelProp, useSessions: useSessionsProp, requestHeaders, sessionStorageKey, providerStorageKey, surfaceStorageKey, beforeShell, afterShell, panels, commands, catalogs, plugins, excludeDefaults, capabilities, apiBaseUrl, authHeaders, apiTimeout, defaultTheme, onThemeChange, persistenceEnabled, bridgeEndpoint, fullPageBasePath, onAuthError, sessions, activeSessionId, onSwitchSession, onCreateSession, onDeleteSession, onActiveSessionIdChange, appTitle, workspaceLabel, defaultSessionTitle, navEnabled, defaultNavOpen, defaultSurfaceOpen, defaultWorkbenchLeftTab, surfaceInitialPanels, topBarLeft, topBarRight, showThemeToggle, chatParams, hotReloadEnabled, frontPluginHotReload, extraPanels, extraCommands, provisionWorkspace, bootPreloadPaths, onWorkspaceWarmupStatusChange, onOpenNav, onOpenSurface, surfaceButtonBottomOffset, className, }: WorkspaceAgentFrontProps<TSession>): JSX.Element;
424
+ export declare function WorkspaceAgentFront<TSession extends WorkspaceAgentSession = WorkspaceAgentSession>({ workspaceId, chatPanel: chatPanelProp, useSessions: useSessionsProp, requestHeaders, sessionStorageKey, providerStorageKey, surfaceStorageKey, beforeShell, afterShell, panels, commands, catalogs, plugins, excludeDefaults, capabilities, apiBaseUrl, authHeaders, apiTimeout, defaultTheme, onThemeChange, persistenceEnabled, debug, bridgeEndpoint, fullPageBasePath, onAuthError, sessions, activeSessionId, onSwitchSession, onCreateSession, onDeleteSession, onActiveSessionIdChange, appTitle, workspaceLabel, defaultSessionTitle, navEnabled, defaultNavOpen, defaultSurfaceOpen, defaultWorkbenchLeftTab, defaultWorkbenchLeftOpen, surfaceInitialPanels, topBarLeft, topBarRight, showThemeToggle, chatParams, externalPlugins, hotReloadEnabled, frontPluginHotReload, extraPanels, extraCommands, provisionWorkspace, bootPreloadPaths, onWorkspaceWarmupStatusChange, onOpenNav, onOpenSurface, surfaceButtonBottomOffset, className, }: WorkspaceAgentFrontProps<TSession>): JSX.Element;
425
425
 
426
426
  export declare interface WorkspaceAgentFrontProps<TSession extends WorkspaceAgentSession = WorkspaceAgentSession> extends Omit<WorkspaceProviderProps, "children" | "workspaceId" | "storageKey" | "chatPanel">, Omit<ChatLayoutProps, "nav" | "navParams" | "center" | "centerParams" | "chatPanes" | "activeChatPaneId" | "onActiveChatPaneChange" | "onCloseChatPane" | "onCreateChatPaneAfter" | "onDropChatSession" | "flashChatPaneId" | "surface" | "surfaceParams" | "sidebar" | "sidebarParams" | "storageKey"> {
427
427
  workspaceId: string;
@@ -440,6 +440,7 @@ export declare interface WorkspaceAgentFrontProps<TSession extends WorkspaceAgen
440
440
  defaultNavOpen?: boolean;
441
441
  defaultSurfaceOpen?: boolean;
442
442
  defaultWorkbenchLeftTab?: string;
443
+ defaultWorkbenchLeftOpen?: boolean;
443
444
  surfaceInitialPanels?: SurfaceShellProps["initialPanels"];
444
445
  topBarLeft?: ReactNode;
445
446
  topBarRight?: ReactNode;
@@ -462,6 +463,12 @@ export declare interface WorkspaceAgentFrontProps<TSession extends WorkspaceAgen
462
463
  onDeleteSession?: (id: string) => void;
463
464
  onActiveSessionIdChange?: (sessionId: string | null) => void;
464
465
  chatParams?: Record<string, unknown>;
466
+ /**
467
+ * Enable user-authored external plugin UX in the frontend. When `false`,
468
+ * disables front plugin hot reload and hides the chat `/reload` UX. App/
469
+ * internal statically composed plugins still work.
470
+ */
471
+ externalPlugins?: boolean;
465
472
  /**
466
473
  * Forward to ChatPanel — when `false`, the `/reload` slash command is
467
474
  * hidden and the PluginUpdateStatus banner above the composer is