@agimon-ai/po-web-dashboard 0.0.0-alpha.166 → 0.0.0-alpha.168

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 (58) hide show
  1. package/dist/index.cjs +2 -0
  2. package/dist/index.d.mts +2 -1
  3. package/dist/index.mjs +2 -1
  4. package/dist/views.cjs +6 -2
  5. package/dist/views.d.mts +4 -2
  6. package/dist/views.mjs +5 -3
  7. package/dist/web/components/ConversationAside.cjs +90 -0
  8. package/dist/web/components/ConversationAside.cjs.map +1 -0
  9. package/dist/web/components/ConversationAside.d.mts +20 -0
  10. package/dist/web/components/ConversationAside.d.mts.map +1 -0
  11. package/dist/web/components/ConversationAside.mjs +90 -0
  12. package/dist/web/components/ConversationAside.mjs.map +1 -0
  13. package/dist/web/components/HomePage.cjs +11 -18
  14. package/dist/web/components/HomePage.cjs.map +1 -1
  15. package/dist/web/components/HomePage.d.mts.map +1 -1
  16. package/dist/web/components/HomePage.mjs +12 -19
  17. package/dist/web/components/HomePage.mjs.map +1 -1
  18. package/dist/web/features/activity/ActivityDock.cjs +7 -4
  19. package/dist/web/features/activity/ActivityDock.cjs.map +1 -1
  20. package/dist/web/features/activity/ActivityDock.d.mts +11 -1
  21. package/dist/web/features/activity/ActivityDock.d.mts.map +1 -1
  22. package/dist/web/features/activity/ActivityDock.mjs +7 -4
  23. package/dist/web/features/activity/ActivityDock.mjs.map +1 -1
  24. package/dist/web/features/activity/DockTabs.cjs +63 -39
  25. package/dist/web/features/activity/DockTabs.cjs.map +1 -1
  26. package/dist/web/features/activity/DockTabs.d.mts +12 -2
  27. package/dist/web/features/activity/DockTabs.d.mts.map +1 -1
  28. package/dist/web/features/activity/DockTabs.mjs +64 -40
  29. package/dist/web/features/activity/DockTabs.mjs.map +1 -1
  30. package/dist/web/features/session/DockConversation.cjs +36 -0
  31. package/dist/web/features/session/DockConversation.cjs.map +1 -0
  32. package/dist/web/features/session/DockConversation.d.mts +16 -0
  33. package/dist/web/features/session/DockConversation.d.mts.map +1 -0
  34. package/dist/web/features/session/DockConversation.mjs +36 -0
  35. package/dist/web/features/session/DockConversation.mjs.map +1 -0
  36. package/dist/web/features/session/Timeline.cjs +62 -52
  37. package/dist/web/features/session/Timeline.cjs.map +1 -1
  38. package/dist/web/features/session/Timeline.d.mts +11 -2
  39. package/dist/web/features/session/Timeline.d.mts.map +1 -1
  40. package/dist/web/features/session/Timeline.mjs +62 -52
  41. package/dist/web/features/session/Timeline.mjs.map +1 -1
  42. package/dist/web/lib/composition.cjs +0 -4
  43. package/dist/web/lib/composition.cjs.map +1 -1
  44. package/dist/web/lib/composition.d.mts.map +1 -1
  45. package/dist/web/lib/composition.mjs +0 -4
  46. package/dist/web/lib/composition.mjs.map +1 -1
  47. package/dist/web/lib/settingsSections.cjs +16 -11
  48. package/dist/web/lib/settingsSections.cjs.map +1 -1
  49. package/dist/web/lib/settingsSections.d.mts.map +1 -1
  50. package/dist/web/lib/settingsSections.mjs +16 -11
  51. package/dist/web/lib/settingsSections.mjs.map +1 -1
  52. package/dist/web/lib/useMediaQuery.cjs +21 -0
  53. package/dist/web/lib/useMediaQuery.cjs.map +1 -0
  54. package/dist/web/lib/useMediaQuery.d.mts +9 -0
  55. package/dist/web/lib/useMediaQuery.d.mts.map +1 -0
  56. package/dist/web/lib/useMediaQuery.mjs +21 -0
  57. package/dist/web/lib/useMediaQuery.mjs.map +1 -0
  58. package/package.json +5 -5
package/dist/index.cjs CHANGED
@@ -90,6 +90,7 @@ const require_dashboardStateStore = require("./web/stores/dashboardStateStore.cj
90
90
  const require_cloudHub = require("./web/lib/cloudHub.cjs");
91
91
  const require_hostPairing = require("./web/lib/hostPairing.cjs");
92
92
  const require_pairedHosts = require("./web/lib/pairedHosts.cjs");
93
+ const require_useMediaQuery = require("./web/lib/useMediaQuery.cjs");
93
94
  let _agimon_ai_po_core_web = require("@agimon-ai/po-core/web");
94
95
  exports.ACCOUNT_SETTINGS_SECTION = require_settingsSections.ACCOUNT_SETTINGS_SECTION;
95
96
  exports.BUILTIN_COMMANDS = require_commands.BUILTIN_COMMANDS;
@@ -704,6 +705,7 @@ exports.useDockFaceBadges = require_composition.useDockFaceBadges;
704
705
  exports.useDockFaces = require_composition.useDockFaces;
705
706
  exports.useFileLinks = require_composition.useFileLinks;
706
707
  exports.useHasOlderHistory = require_sessionStore.useHasOlderHistory;
708
+ exports.useMediaQuery = require_useMediaQuery.useMediaQuery;
707
709
  exports.useNoSessions = require_sessionsStore.useNoSessions;
708
710
  exports.useOpenTab = require_useOpenTab.useOpenTab;
709
711
  exports.usePluginSlotProps = require_usePluginSlotProps.usePluginSlotProps;
package/dist/index.d.mts CHANGED
@@ -89,4 +89,5 @@ import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStat
89
89
  import { DashboardRendererProvider, DashboardRenderers } from "./web/lib/dashboardRenderers.mjs";
90
90
  import { DesktopPairingBridge, HostPairingGrant, PairingAccount, PairingAccountStatus, PairingHost, PairingRequest, createHostBrowserAccount, createHostPairingChannels, hostPairingPrefix, hostPairingStorageKey, pairHost, pairingJson, pairingPost, pairingRequest, readHostPairing, selectedHostAccount, signingFingerprint } from "./web/lib/hostPairing.mjs";
91
91
  import { PairedHost, connectPairedHost, forgetPairedHost, onPairedHostsChanged, pairedHosts } from "./web/lib/pairedHosts.mjs";
92
- export { ACCOUNT_SETTINGS_SECTION, AccountState, ActivityGroup, AddCoordinatorResult, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, BrowserPerformanceEvent, BrowserPerformanceEventName, CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerPromptClaim, ComposerSessionState, ComposerTextAttachment, ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, CreateProfileInput, CreateSessionResult, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, type DashboardRenderers, DashboardRoute, DesktopPairingBridge, DevProxyState, DialogDraft, DialogMethod, DialogPromptClaim, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnsureHomeCoordinatorResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GatewaySettings, GroupUnit, HOST_SLOTS, HistoryPage, HostPairingGrant, ImageSettingsResult, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledNativeTemplate, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, InstalledWebTemplate, IntercomEntry, LEGACY_WORKSPACE_ID, LeaderConflict, LeaderGroup, LeaderOption, LivePushStatus, LoginFlowResult, LogoutResult, MAX_COMPLETION_ITEMS, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, MenuClaim, MenuKind, MenuState, Mode, ModeAvailability, ModeSource, ModelChoice, NativeTemplateCatalog, NewSessionDraft, NewSessionState, NoticeEntry, PACKAGED_MODES, PACKAGED_SELECTION_AXES, PLUGINS_PAGE_ID, PLUGINS_ROUTE, PairTarget, PairedHost, PairingAccount, PairingAccountStatus, PairingHost, PairingRequest, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, PoAccountBridge, PoAccountStatus, PoTeam, PoTeamClient, PoTeamGrant, PoTeamRole, PresetSettingsResult, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, RemovedSessionsResult, ResolvedFill, RestartSessionResult, RestoreRemovedSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ResumeView, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SetSessionRoleResult, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsSectionGroup, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusClock, StatusLineInput, StopSessionResult, StoredSessionAttachment, TEAM_PAGE_ID, TEAM_ROUTE, TRIGGER_CHARS, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, ThreadTranscriptReader, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UPDATE_REQUIRED_REASON, UiState, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebPluginRegistry, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspaceSandboxRequest, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, accountStore, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, addPresetLayer, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindAccount, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindTeam, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, botCoordinatorBlocked, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearCommand, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeSessionSharing, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, connectPairedHost, contextGroups, coordinatorHostTargets, createBotWithProfile, createCloudHub, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createHostBrowserAccount, createHostPairingChannels, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, forgetPairedHost, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPairingPrefix, hostPairingStorageKey, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installBundledWebPlugins, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, mintPairingCode, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onPairedHostsChanged, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openSessionSharing, openTransientTab, ownerLabel, ownersOf, pairHost, pairedHosts, pairingJson, pairingPost, pairingRequest, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railParentIds, railRestartStore, railSessionStatus, railShortcutOrder, readDormantTranscriptPage, readHostHome, readHostPairing, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshAccount, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveModes, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectedHostAccount, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setBotActAsCoordinator, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, signOutAccount, signingFingerprint, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, teamPageUrl, teamStore, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubAccess, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
92
+ import { useMediaQuery } from "./web/lib/useMediaQuery.mjs";
93
+ export { ACCOUNT_SETTINGS_SECTION, AccountState, ActivityGroup, AddCoordinatorResult, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, BrowserPerformanceEvent, BrowserPerformanceEventName, CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerPromptClaim, ComposerSessionState, ComposerTextAttachment, ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, CreateProfileInput, CreateSessionResult, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, type DashboardRenderers, DashboardRoute, DesktopPairingBridge, DevProxyState, DialogDraft, DialogMethod, DialogPromptClaim, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnsureHomeCoordinatorResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GatewaySettings, GroupUnit, HOST_SLOTS, HistoryPage, HostPairingGrant, ImageSettingsResult, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledNativeTemplate, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, InstalledWebTemplate, IntercomEntry, LEGACY_WORKSPACE_ID, LeaderConflict, LeaderGroup, LeaderOption, LivePushStatus, LoginFlowResult, LogoutResult, MAX_COMPLETION_ITEMS, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, MenuClaim, MenuKind, MenuState, Mode, ModeAvailability, ModeSource, ModelChoice, NativeTemplateCatalog, NewSessionDraft, NewSessionState, NoticeEntry, PACKAGED_MODES, PACKAGED_SELECTION_AXES, PLUGINS_PAGE_ID, PLUGINS_ROUTE, PairTarget, PairedHost, PairingAccount, PairingAccountStatus, PairingHost, PairingRequest, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, PoAccountBridge, PoAccountStatus, PoTeam, PoTeamClient, PoTeamGrant, PoTeamRole, PresetSettingsResult, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, RemovedSessionsResult, ResolvedFill, RestartSessionResult, RestoreRemovedSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ResumeView, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SetSessionRoleResult, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsSectionGroup, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusClock, StatusLineInput, StopSessionResult, StoredSessionAttachment, TEAM_PAGE_ID, TEAM_ROUTE, TRIGGER_CHARS, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, ThreadTranscriptReader, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UPDATE_REQUIRED_REASON, UiState, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebPluginRegistry, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspaceSandboxRequest, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, accountStore, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, addPresetLayer, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindAccount, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindTeam, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, botCoordinatorBlocked, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearCommand, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeSessionSharing, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, connectPairedHost, contextGroups, coordinatorHostTargets, createBotWithProfile, createCloudHub, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createHostBrowserAccount, createHostPairingChannels, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, forgetPairedHost, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPairingPrefix, hostPairingStorageKey, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installBundledWebPlugins, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, mintPairingCode, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onPairedHostsChanged, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openSessionSharing, openTransientTab, ownerLabel, ownersOf, pairHost, pairedHosts, pairingJson, pairingPost, pairingRequest, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railParentIds, railRestartStore, railSessionStatus, railShortcutOrder, readDormantTranscriptPage, readHostHome, readHostPairing, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshAccount, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveModes, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectedHostAccount, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setBotActAsCoordinator, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, signOutAccount, signingFingerprint, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, teamPageUrl, teamStore, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useMediaQuery, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubAccess, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
package/dist/index.mjs CHANGED
@@ -89,4 +89,5 @@ import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStat
89
89
  import { CLOUD_HUB_POLL_MS, createCloudHub } from "./web/lib/cloudHub.mjs";
90
90
  import { createHostBrowserAccount, createHostPairingChannels, hostPairingPrefix, hostPairingStorageKey, pairHost, pairingJson, pairingPost, pairingRequest, readHostPairing, selectedHostAccount, signingFingerprint } from "./web/lib/hostPairing.mjs";
91
91
  import { connectPairedHost, forgetPairedHost, onPairedHostsChanged, pairedHosts } from "./web/lib/pairedHosts.mjs";
92
- export { ACCOUNT_SETTINGS_SECTION, BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, HOST_SLOTS, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, PACKAGED_MODES, PACKAGED_SELECTION_AXES, PLUGINS_PAGE_ID, PLUGINS_ROUTE, STEP_UP_HEADER_NAME, TEAM_PAGE_ID, TEAM_ROUTE, TRIGGER_CHARS, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, accountStore, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, addPresetLayer, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindAccount, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindTeam, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, botCoordinatorBlocked, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearCommand, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeSessionSharing, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, connectPairedHost, contextGroups, coordinatorHostTargets, createBotWithProfile, createCloudHub, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createHostBrowserAccount, createHostPairingChannels, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, forgetPairedHost, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPairingPrefix, hostPairingStorageKey, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installBundledWebPlugins, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, mintPairingCode, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onPairedHostsChanged, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openSessionSharing, openTransientTab, ownerLabel, ownersOf, pairHost, pairedHosts, pairingJson, pairingPost, pairingRequest, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railParentIds, railRestartStore, railSessionStatus, railShortcutOrder, readDormantTranscriptPage, readHostHome, readHostPairing, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshAccount, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveModes, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectedHostAccount, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setBotActAsCoordinator, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, signOutAccount, signingFingerprint, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, teamPageUrl, teamStore, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubAccess, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
92
+ import { useMediaQuery } from "./web/lib/useMediaQuery.mjs";
93
+ export { ACCOUNT_SETTINGS_SECTION, BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, HOST_SLOTS, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, PACKAGED_MODES, PACKAGED_SELECTION_AXES, PLUGINS_PAGE_ID, PLUGINS_ROUTE, STEP_UP_HEADER_NAME, TEAM_PAGE_ID, TEAM_ROUTE, TRIGGER_CHARS, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, accountStore, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, addPresetLayer, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindAccount, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindTeam, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, botCoordinatorBlocked, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearCommand, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeSessionSharing, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, connectPairedHost, contextGroups, coordinatorHostTargets, createBotWithProfile, createCloudHub, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createHostBrowserAccount, createHostPairingChannels, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, forgetPairedHost, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPairingPrefix, hostPairingStorageKey, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installBundledWebPlugins, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, mintPairingCode, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onPairedHostsChanged, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openSessionSharing, openTransientTab, ownerLabel, ownersOf, pairHost, pairedHosts, pairingJson, pairingPost, pairingRequest, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railParentIds, railRestartStore, railSessionStatus, railShortcutOrder, readDormantTranscriptPage, readHostHome, readHostPairing, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshAccount, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveModes, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectedHostAccount, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setBotActAsCoordinator, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, signOutAccount, signingFingerprint, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, teamPageUrl, teamStore, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useMediaQuery, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubAccess, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
package/dist/views.cjs CHANGED
@@ -1,11 +1,12 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_ToolRendererBoundary = require("./web/lib/ToolRendererBoundary.cjs");
3
3
  const require_DashboardTileGrid = require("./web/components/DashboardTileGrid.cjs");
4
- const require_GentleAsk = require("./web/components/GentleAsk.cjs");
5
4
  const require_HomePage = require("./web/components/HomePage.cjs");
6
5
  const require_WorkspacePage = require("./web/components/WorkspacePage.cjs");
7
6
  const require_FolderBrowser = require("./web/components/FolderBrowser.cjs");
8
7
  const require_AccountButton = require("./web/components/AccountButton.cjs");
8
+ const require_ConversationAside = require("./web/components/ConversationAside.cjs");
9
+ const require_GentleAsk = require("./web/components/GentleAsk.cjs");
9
10
  const require_MascotMark = require("./web/components/MascotMark.cjs");
10
11
  const require_PluginPage = require("./web/components/PluginPage.cjs");
11
12
  const require_ContributedSettings = require("./web/components/ContributedSettings.cjs");
@@ -39,9 +40,10 @@ const require_QueueSheet = require("./web/features/session/QueueSheet.cjs");
39
40
  const require_Composer = require("./web/features/session/Composer.cjs");
40
41
  const require_MentionPreviews = require("./web/features/session/MentionPreviews.cjs");
41
42
  const require_MessageMarkdown = require("./web/features/session/MessageMarkdown.cjs");
42
- const require_SessionActivity = require("./web/features/session/SessionActivity.cjs");
43
43
  const require_ToolCard = require("./web/features/session/ToolCard.cjs");
44
44
  const require_Timeline = require("./web/features/session/Timeline.cjs");
45
+ const require_DockConversation = require("./web/features/session/DockConversation.cjs");
46
+ const require_SessionActivity = require("./web/features/session/SessionActivity.cjs");
45
47
  const require_SessionTranscriptView = require("./web/features/session/SessionTranscriptView.cjs");
46
48
  const require_ThreadView = require("./web/features/session/ThreadView.cjs");
47
49
  const require_WelcomePanel = require("./web/components/WelcomePanel.cjs");
@@ -80,9 +82,11 @@ exports.ContextItemDialog = require_ContextItemDialog.ContextItemDialog;
80
82
  exports.ContextPanel = require_ContextPanel.ContextPanel;
81
83
  exports.ContextPanelView = require_ContextPanel.ContextPanelView;
82
84
  exports.ContributedSettings = require_ContributedSettings.ContributedSettings;
85
+ exports.ConversationAside = require_ConversationAside.ConversationAside;
83
86
  exports.DashboardTileGrid = require_DashboardTileGrid.DashboardTileGrid;
84
87
  exports.DevProxyTargets = require_DevProxyTargets.DevProxyTargets;
85
88
  exports.DialogOverlay = require_DialogOverlay.DialogOverlay;
89
+ exports.DockConversation = require_DockConversation.DockConversation;
86
90
  exports.DockTabs = require_DockTabs.DockTabs;
87
91
  exports.DormantPanel = require_DormantPanel.DormantPanel;
88
92
  exports.FolderBrowser = require_FolderBrowser.FolderBrowser;
package/dist/views.d.mts CHANGED
@@ -4,6 +4,7 @@ import { HomeHost, HomePage, HomeView, HomeViewProps } from "./web/components/Ho
4
4
  import { WorkspacePage, WorkspaceView, WorkspaceViewProps } from "./web/components/WorkspacePage.mjs";
5
5
  import { FolderBrowser } from "./web/components/FolderBrowser.mjs";
6
6
  import { AccountButton, AccountSummary } from "./web/components/AccountButton.mjs";
7
+ import { ConversationAside } from "./web/components/ConversationAside.mjs";
7
8
  import { GentleAsk } from "./web/components/GentleAsk.mjs";
8
9
  import { MascotMark, MascotMarkProps } from "./web/components/MascotMark.mjs";
9
10
  import { PluginPage } from "./web/components/PluginPage.mjs";
@@ -31,12 +32,13 @@ import { ModelPopup, SelectionBar } from "./web/features/selection/SelectionBar.
31
32
  import { SessionSettings } from "./web/features/selection/SessionSettings.mjs";
32
33
  import { Composer, addComposerFiles, readComposerFiles } from "./web/features/session/Composer.mjs";
33
34
  import { ComposerPrompt } from "./web/features/session/ComposerPrompt.mjs";
35
+ import { Timeline, Transcript, TranscriptTurnRenderProps } from "./web/features/session/Timeline.mjs";
36
+ import { DockConversation } from "./web/features/session/DockConversation.mjs";
34
37
  import { DormantPanel } from "./web/features/session/DormantPanel.mjs";
35
38
  import { MessageFileLinkHandler, MessageMarkdown } from "./web/features/session/MessageMarkdown.mjs";
36
39
  import { MentionPreviewAsset, MentionPreviews } from "./web/features/session/MentionPreviews.mjs";
37
40
  import { QueueSheet } from "./web/features/session/QueueSheet.mjs";
38
41
  import { SessionActivity, SessionActivityView, sessionActivity } from "./web/features/session/SessionActivity.mjs";
39
- import { Timeline, Transcript, TranscriptTurnRenderProps } from "./web/features/session/Timeline.mjs";
40
42
  import { SessionTranscriptView } from "./web/features/session/SessionTranscriptView.mjs";
41
43
  import { ThreadView } from "./web/features/session/ThreadView.mjs";
42
44
  import { ToolCard, hasVisualOutput, nestedToolCard, toolOutputDescriptors } from "./web/features/session/ToolCard.mjs";
@@ -66,4 +68,4 @@ import { SettingsPanelHost } from "./web/components/SettingsPanelHost.mjs";
66
68
  import { TemplateSettings } from "./web/features/settings/TemplateSettings.mjs";
67
69
  import { TunnelSettings } from "./web/features/settings/TunnelSettings.mjs";
68
70
  import { TopBar } from "./web/features/status/TopBar.mjs";
69
- export { AccountButton, AccountSettings, AccountSummary, ActivityDock, AppearanceSettings, ClientDevices, ClientDevicesProps, CockpitHost, CommandPalette, Composer, ComposerPrompt, ConnectedRow, ContextItemDialog, ContextItemDialogProps, ContextPanel, ContextPanelView, ContributedSettings, DashboardTileGrid, DashboardTileView, DevProxyTargets, DialogOverlay, DockFaceSnapshot, DockTabs, DormantPanel, FolderBrowser, GentleAsk, HomeHost, HomePage, HomeView, HomeViewProps, HostsSettings, HostsSettingsProps, ImageSettings, LoginFlowDialog, METHOD_LABEL, MascotMark, MascotMarkProps, MentionPreviewAsset, MentionPreviews, MessageFileLinkHandler, MessageMarkdown, ModelPopup, NewSessionDialog, NewSessionDialogView, NotificationSettings, OnboardingAgent, OnboardingFlow, PairedDeviceList, PairingApprovalDialog, PluginPage, PluginSurface, PluginsPage, PresetSettings, ProviderPeers, ProviderSettings, QrCode, QrCodeProps, QueueSheet, RefusedCard, Region, RemoteAccessDialog, RemoteAccessOptions, RemoteAccessPairing, RemoteControlSettings, RepositorySettings, RepositoryWorkspace, ResumeSessionDialog, SelectionBar, SessionActivity, SessionActivityView, SessionMcp, SessionMcpSettings, SessionMcpTools, SessionRailDialogs, SessionSettings, SessionTranscriptView, SettingsMenu, SettingsPanelHost, TeamPage, TemplateSettings, ThreadView, Timeline, ToolCard, ToolRendererBoundary, TopBar, Transcript, TranscriptTurnRenderProps, TrustedDeviceList, TrustedDeviceListView, TrustedDeviceListViewProps, TunnelSettings, WelcomePanel, WorkspacePage, WorkspaceView, WorkspaceViewProps, addComposerFiles, appearedFaces, finishOnboarding, hasVisualOutput, hostKeyFor, isQuickTunnel, nestedToolCard, readComposerFiles, sessionActivity, toolOutputDescriptors, useNewSessionActions, useSessionRail };
71
+ export { AccountButton, AccountSettings, AccountSummary, ActivityDock, AppearanceSettings, ClientDevices, ClientDevicesProps, CockpitHost, CommandPalette, Composer, ComposerPrompt, ConnectedRow, ContextItemDialog, ContextItemDialogProps, ContextPanel, ContextPanelView, ContributedSettings, ConversationAside, DashboardTileGrid, DashboardTileView, DevProxyTargets, DialogOverlay, DockConversation, DockFaceSnapshot, DockTabs, DormantPanel, FolderBrowser, GentleAsk, HomeHost, HomePage, HomeView, HomeViewProps, HostsSettings, HostsSettingsProps, ImageSettings, LoginFlowDialog, METHOD_LABEL, MascotMark, MascotMarkProps, MentionPreviewAsset, MentionPreviews, MessageFileLinkHandler, MessageMarkdown, ModelPopup, NewSessionDialog, NewSessionDialogView, NotificationSettings, OnboardingAgent, OnboardingFlow, PairedDeviceList, PairingApprovalDialog, PluginPage, PluginSurface, PluginsPage, PresetSettings, ProviderPeers, ProviderSettings, QrCode, QrCodeProps, QueueSheet, RefusedCard, Region, RemoteAccessDialog, RemoteAccessOptions, RemoteAccessPairing, RemoteControlSettings, RepositorySettings, RepositoryWorkspace, ResumeSessionDialog, SelectionBar, SessionActivity, SessionActivityView, SessionMcp, SessionMcpSettings, SessionMcpTools, SessionRailDialogs, SessionSettings, SessionTranscriptView, SettingsMenu, SettingsPanelHost, TeamPage, TemplateSettings, ThreadView, Timeline, ToolCard, ToolRendererBoundary, TopBar, Transcript, TranscriptTurnRenderProps, TrustedDeviceList, TrustedDeviceListView, TrustedDeviceListViewProps, TunnelSettings, WelcomePanel, WorkspacePage, WorkspaceView, WorkspaceViewProps, addComposerFiles, appearedFaces, finishOnboarding, hasVisualOutput, hostKeyFor, isQuickTunnel, nestedToolCard, readComposerFiles, sessionActivity, toolOutputDescriptors, useNewSessionActions, useSessionRail };
package/dist/views.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  import { ToolRendererBoundary } from "./web/lib/ToolRendererBoundary.mjs";
2
2
  import { DashboardTileGrid } from "./web/components/DashboardTileGrid.mjs";
3
- import { GentleAsk } from "./web/components/GentleAsk.mjs";
4
3
  import { HomePage, HomeView } from "./web/components/HomePage.mjs";
5
4
  import { WorkspacePage, WorkspaceView } from "./web/components/WorkspacePage.mjs";
6
5
  import { FolderBrowser } from "./web/components/FolderBrowser.mjs";
7
6
  import { AccountButton } from "./web/components/AccountButton.mjs";
7
+ import { ConversationAside } from "./web/components/ConversationAside.mjs";
8
+ import { GentleAsk } from "./web/components/GentleAsk.mjs";
8
9
  import { MascotMark } from "./web/components/MascotMark.mjs";
9
10
  import { PluginPage } from "./web/components/PluginPage.mjs";
10
11
  import { ContributedSettings } from "./web/components/ContributedSettings.mjs";
@@ -38,9 +39,10 @@ import { QueueSheet } from "./web/features/session/QueueSheet.mjs";
38
39
  import { Composer, addComposerFiles, readComposerFiles } from "./web/features/session/Composer.mjs";
39
40
  import { MentionPreviewAsset, MentionPreviews } from "./web/features/session/MentionPreviews.mjs";
40
41
  import { MessageMarkdown } from "./web/features/session/MessageMarkdown.mjs";
41
- import { SessionActivity, sessionActivity } from "./web/features/session/SessionActivity.mjs";
42
42
  import { ToolCard, hasVisualOutput, nestedToolCard, toolOutputDescriptors } from "./web/features/session/ToolCard.mjs";
43
43
  import { Timeline, Transcript } from "./web/features/session/Timeline.mjs";
44
+ import { DockConversation } from "./web/features/session/DockConversation.mjs";
45
+ import { SessionActivity, sessionActivity } from "./web/features/session/SessionActivity.mjs";
44
46
  import { SessionTranscriptView } from "./web/features/session/SessionTranscriptView.mjs";
45
47
  import { ThreadView } from "./web/features/session/ThreadView.mjs";
46
48
  import { WelcomePanel } from "./web/components/WelcomePanel.mjs";
@@ -66,4 +68,4 @@ import { RepositorySettings } from "./web/features/settings/RepositorySettings.m
66
68
  import { SettingsMenu } from "./web/features/settings/SettingsMenu.mjs";
67
69
  import { RepositoryWorkspace } from "./web/features/settings/RepositoryWorkspace.mjs";
68
70
  import { TopBar } from "./web/features/status/TopBar.mjs";
69
- export { AccountButton, AccountSettings, ActivityDock, AppearanceSettings, ClientDevices, CommandPalette, Composer, ComposerPrompt, ConnectedRow, ContextItemDialog, ContextPanel, ContextPanelView, ContributedSettings, DashboardTileGrid, DevProxyTargets, DialogOverlay, DockTabs, DormantPanel, FolderBrowser, GentleAsk, HomePage, HomeView, HostsSettings, ImageSettings, LoginFlowDialog, METHOD_LABEL, MascotMark, MentionPreviewAsset, MentionPreviews, MessageMarkdown, ModelPopup, NewSessionDialog, NewSessionDialogView, NotificationSettings, OnboardingFlow, PairedDeviceList, PairingApprovalDialog, PluginPage, PluginSurface, PluginsPage, PresetSettings, ProviderPeers, ProviderSettings, QrCode, QueueSheet, RefusedCard, Region, RemoteAccessDialog, RemoteAccessOptions, RemoteAccessPairing, RemoteControlSettings, RepositorySettings, RepositoryWorkspace, ResumeSessionDialog, SelectionBar, SessionActivity, SessionMcp, SessionMcpSettings, SessionMcpTools, SessionRailDialogs, SessionSettings, SessionTranscriptView, SettingsMenu, SettingsPanelHost, TeamPage, TemplateSettings, ThreadView, Timeline, ToolCard, ToolRendererBoundary, TopBar, Transcript, TrustedDeviceList, TrustedDeviceListView, TunnelSettings, WelcomePanel, WorkspacePage, WorkspaceView, addComposerFiles, appearedFaces, finishOnboarding, hasVisualOutput, hostKeyFor, isQuickTunnel, nestedToolCard, readComposerFiles, sessionActivity, toolOutputDescriptors, useNewSessionActions, useSessionRail };
71
+ export { AccountButton, AccountSettings, ActivityDock, AppearanceSettings, ClientDevices, CommandPalette, Composer, ComposerPrompt, ConnectedRow, ContextItemDialog, ContextPanel, ContextPanelView, ContributedSettings, ConversationAside, DashboardTileGrid, DevProxyTargets, DialogOverlay, DockConversation, DockTabs, DormantPanel, FolderBrowser, GentleAsk, HomePage, HomeView, HostsSettings, ImageSettings, LoginFlowDialog, METHOD_LABEL, MascotMark, MentionPreviewAsset, MentionPreviews, MessageMarkdown, ModelPopup, NewSessionDialog, NewSessionDialogView, NotificationSettings, OnboardingFlow, PairedDeviceList, PairingApprovalDialog, PluginPage, PluginSurface, PluginsPage, PresetSettings, ProviderPeers, ProviderSettings, QrCode, QueueSheet, RefusedCard, Region, RemoteAccessDialog, RemoteAccessOptions, RemoteAccessPairing, RemoteControlSettings, RepositorySettings, RepositoryWorkspace, ResumeSessionDialog, SelectionBar, SessionActivity, SessionMcp, SessionMcpSettings, SessionMcpTools, SessionRailDialogs, SessionSettings, SessionTranscriptView, SettingsMenu, SettingsPanelHost, TeamPage, TemplateSettings, ThreadView, Timeline, ToolCard, ToolRendererBoundary, TopBar, Transcript, TrustedDeviceList, TrustedDeviceListView, TunnelSettings, WelcomePanel, WorkspacePage, WorkspaceView, addComposerFiles, appearedFaces, finishOnboarding, hasVisualOutput, hostKeyFor, isQuickTunnel, nestedToolCard, readComposerFiles, sessionActivity, toolOutputDescriptors, useNewSessionActions, useSessionRail };
@@ -0,0 +1,90 @@
1
+ const require_promptFocus = require("../lib/promptFocus.cjs");
2
+ const require_useToolPrompt = require("../stores/useToolPrompt.cjs");
3
+ let react = require("react");
4
+ let _agimon_ai_po_web_components = require("@agimon-ai/po-web-components");
5
+ let react_jsx_runtime = require("react/jsx-runtime");
6
+ //#region src/web/components/ConversationAside.tsx
7
+ /**
8
+ * Wraps a file canvas whose conversation sits beside it rather than below.
9
+ * While the conversation is off screen an "Ask Po" cue floats at the canvas's
10
+ * bottom right, rose while Po waits on a question. Wide, the cue asks the host
11
+ * to show its rail; narrow, it opens a sheet over the lower canvas holding
12
+ * `conversation`, which mounts only while the sheet is open so one prompt is
13
+ * mounted at a time. Open state is local: key this on the tab id.
14
+ */
15
+ function ConversationAside({ children, narrow, conversationShown, onOpenRail, conversation }) {
16
+ const asking = require_useToolPrompt.useToolPrompt() !== null;
17
+ const [open, setOpen] = (0, react.useState)(false);
18
+ const sheetOpen = narrow && open;
19
+ const cueRef = (0, react.useRef)(null);
20
+ const wasOpen = (0, react.useRef)(false);
21
+ (0, react.useEffect)(() => {
22
+ if (wasOpen.current && !sheetOpen) cueRef.current?.focus();
23
+ wasOpen.current = sheetOpen;
24
+ }, [sheetOpen]);
25
+ const ask = () => {
26
+ if (narrow) setOpen(true);
27
+ else onOpenRail();
28
+ requestAnimationFrame(() => require_promptFocus.focusPrompt());
29
+ };
30
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
31
+ className: "relative flex min-h-0 flex-1 flex-col",
32
+ children: [
33
+ children,
34
+ !conversationShown && !sheetOpen ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_agimon_ai_po_web_components.Button, {
35
+ ref: cueRef,
36
+ "data-testid": "ask-po",
37
+ variant: asking ? "secondary" : "outline",
38
+ size: "md",
39
+ "aria-label": asking ? "Po is asking you something. Open the conversation" : "Ask Po about this file",
40
+ className: `absolute right-4 bottom-14 z-10 gap-2 rounded-full shadow-lg ${asking ? "" : "bg-po-panel text-po-hi"}`,
41
+ onClick: ask,
42
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.MessageIcon, {
43
+ "aria-hidden": true,
44
+ className: "size-4"
45
+ }), asking ? "Po is asking" : "Ask Po"]
46
+ }) : null,
47
+ sheetOpen ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
48
+ role: "dialog",
49
+ "aria-modal": "false",
50
+ "aria-label": "Conversation",
51
+ "data-testid": "conversation-sheet",
52
+ "data-po-region": "activity",
53
+ onKeyDown: (event) => {
54
+ if (event.key !== "Escape" || event.defaultPrevented) return;
55
+ event.preventDefault();
56
+ setOpen(false);
57
+ },
58
+ className: "absolute inset-x-0 bottom-0 z-20 flex h-[60%] flex-col overflow-hidden rounded-t-2xl border-t border-po-border-soft bg-po-bg/100 shadow-2xl",
59
+ children: [
60
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
61
+ "aria-hidden": true,
62
+ className: "mx-auto mt-2 h-1 w-10 shrink-0 rounded-full bg-po-border"
63
+ }),
64
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", {
65
+ className: "flex h-11 shrink-0 items-center gap-2 pr-2 pl-5",
66
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
67
+ className: "min-w-0 flex-1 truncate text-base font-semibold text-po-hi",
68
+ children: "Conversation"
69
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Button, {
70
+ variant: "ghost",
71
+ size: "icon-md",
72
+ "aria-label": "Close conversation",
73
+ className: "text-po-dim",
74
+ onClick: () => setOpen(false),
75
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.CloseIcon, {
76
+ "aria-hidden": true,
77
+ className: "size-4"
78
+ })
79
+ })]
80
+ }),
81
+ conversation
82
+ ]
83
+ }) : null
84
+ ]
85
+ });
86
+ }
87
+ //#endregion
88
+ exports.ConversationAside = ConversationAside;
89
+
90
+ //# sourceMappingURL=ConversationAside.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationAside.cjs","names":["useToolPrompt","useState","useRef","focusPrompt","Button","MessageIcon","CloseIcon"],"sources":["../../../src/web/components/ConversationAside.tsx"],"sourcesContent":["import { Button, CloseIcon, MessageIcon } from '@agimon-ai/po-web-components';\nimport { type ReactNode, useEffect, useRef, useState } from 'react';\n\nimport { focusPrompt } from '../lib/promptFocus';\nimport { useToolPrompt } from '../stores/useToolPrompt';\n\n/**\n * Wraps a file canvas whose conversation sits beside it rather than below.\n * While the conversation is off screen an \"Ask Po\" cue floats at the canvas's\n * bottom right, rose while Po waits on a question. Wide, the cue asks the host\n * to show its rail; narrow, it opens a sheet over the lower canvas holding\n * `conversation`, which mounts only while the sheet is open so one prompt is\n * mounted at a time. Open state is local: key this on the tab id.\n */\nexport function ConversationAside({\n children,\n narrow,\n conversationShown,\n onOpenRail,\n conversation,\n}: {\n children: ReactNode;\n narrow: boolean;\n /** The host is already showing the conversation, so the cue stays out of the way. */\n conversationShown: boolean;\n onOpenRail: () => void;\n conversation: ReactNode;\n}) {\n const asking = useToolPrompt() !== null;\n const [open, setOpen] = useState(false);\n const sheetOpen = narrow && open;\n const cueRef = useRef<HTMLButtonElement>(null);\n const wasOpen = useRef(false);\n\n // The cue unmounts behind the sheet, so focus goes back to it once it returns.\n useEffect(() => {\n if (wasOpen.current && !sheetOpen) cueRef.current?.focus();\n wasOpen.current = sheetOpen;\n }, [sheetOpen]);\n\n const ask = () => {\n if (narrow) setOpen(true);\n else onOpenRail();\n // The prompt mounts with the rail or sheet, a frame after this click.\n requestAnimationFrame(() => focusPrompt());\n };\n\n return (\n <div className=\"relative flex min-h-0 flex-1 flex-col\">\n {children}\n {!conversationShown && !sheetOpen ? (\n <Button\n ref={cueRef}\n data-testid=\"ask-po\"\n variant={asking ? 'secondary' : 'outline'}\n size=\"md\"\n aria-label={asking ? 'Po is asking you something. Open the conversation' : 'Ask Po about this file'}\n className={`absolute right-4 bottom-14 z-10 gap-2 rounded-full shadow-lg ${asking ? '' : 'bg-po-panel text-po-hi'}`}\n onClick={ask}\n >\n <MessageIcon aria-hidden className=\"size-4\" />\n {asking ? 'Po is asking' : 'Ask Po'}\n </Button>\n ) : null}\n {sheetOpen ? (\n <section\n role=\"dialog\"\n aria-modal=\"false\"\n aria-label=\"Conversation\"\n data-testid=\"conversation-sheet\"\n // Over a person's backdrop the content region clears every .bg-po-bg, which would let the canvas\n // show through; as its own region the sheet gets the backdrop wash and blur like the Activity overlay.\n data-po-region=\"activity\"\n onKeyDown={(event) => {\n if (event.key !== 'Escape' || event.defaultPrevented) return;\n event.preventDefault();\n setOpen(false);\n }}\n // ponytail: bg-po-bg/100 is the same colour under a class name the backdrop rule does not clear.\n className=\"absolute inset-x-0 bottom-0 z-20 flex h-[60%] flex-col overflow-hidden rounded-t-2xl border-t border-po-border-soft bg-po-bg/100 shadow-2xl\"\n >\n <span aria-hidden className=\"mx-auto mt-2 h-1 w-10 shrink-0 rounded-full bg-po-border\" />\n <header className=\"flex h-11 shrink-0 items-center gap-2 pr-2 pl-5\">\n <span className=\"min-w-0 flex-1 truncate text-base font-semibold text-po-hi\">Conversation</span>\n <Button\n variant=\"ghost\"\n size=\"icon-md\"\n aria-label=\"Close conversation\"\n className=\"text-po-dim\"\n onClick={() => setOpen(false)}\n >\n <CloseIcon aria-hidden className=\"size-4\" />\n </Button>\n </header>\n {conversation}\n </section>\n ) : null}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAcA,SAAgB,kBAAkB,EAChC,UACA,QACA,mBACA,YACA,gBAQC;CACD,MAAM,SAASA,sBAAAA,cAAc,MAAM;CACnC,MAAM,CAAC,MAAM,YAAA,GAAWC,MAAAA,SAAAA,CAAS,KAAK;CACtC,MAAM,YAAY,UAAU;CAC5B,MAAM,UAAA,GAASC,MAAAA,OAAAA,CAA0B,IAAI;CAC7C,MAAM,WAAA,GAAUA,MAAAA,OAAAA,CAAO,KAAK;CAG5B,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,IAAI,QAAQ,WAAW,CAAC,WAAW,OAAO,SAAS,MAAM;EACzD,QAAQ,UAAU;CACpB,GAAG,CAAC,SAAS,CAAC;CAEd,MAAM,YAAY;EAChB,IAAI,QAAQ,QAAQ,IAAI;OACnB,WAAW;EAEhB,4BAA4BC,oBAAAA,YAAY,CAAC;CAC3C;CAEA,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,WAAU;EAAf,UAAA;GACG;GACA,CAAC,qBAAqB,CAAC,YACtB,iBAAA,GAAA,kBAAA,KAAA,CAACC,6BAAAA,QAAD;IACE,KAAK;IACL,eAAY;IACZ,SAAS,SAAS,cAAc;IAChC,MAAK;IACL,cAAY,SAAS,sDAAsD;IAC3E,WAAW,gEAAgE,SAAS,KAAK;IACzF,SAAS;IAPX,UAAA,CASE,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAAA,aAAD;KAAa,eAAA;KAAY,WAAU;IAAU,CAAA,GAC5C,SAAS,iBAAiB,QACrB;GACN,CAAA,IAAA;GACH,YACC,iBAAA,GAAA,kBAAA,KAAA,CAAC,WAAD;IACE,MAAK;IACL,cAAW;IACX,cAAW;IACX,eAAY;IAGZ,kBAAe;IACf,YAAY,UAAU;KACpB,IAAI,MAAM,QAAQ,YAAY,MAAM,kBAAkB;KACtD,MAAM,eAAe;KACrB,QAAQ,KAAK;IACf;IAEA,WAAU;IAdZ,UAAA;KAgBE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;MAAM,eAAA;MAAY,WAAU;KAA4D,CAAA;KACxF,iBAAA,GAAA,kBAAA,KAAA,CAAC,UAAD;MAAQ,WAAU;MAAlB,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;OAAM,WAAU;OAA6D,UAAA;MAAkB,CAAA,GAC/F,iBAAA,GAAA,kBAAA,IAAA,CAACD,6BAAAA,QAAD;OACE,SAAQ;OACR,MAAK;OACL,cAAW;OACX,WAAU;OACV,eAAe,QAAQ,KAAK;OAE5B,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACE,6BAAAA,WAAD;QAAW,eAAA;QAAY,WAAU;OAAU,CAAA;MACrC,CAAA,CACF;;KACP;IACM;GACP,CAAA,IAAA;EACD;;AAET"}
@@ -0,0 +1,20 @@
1
+ import { ReactNode } from "react";
2
+ //#region src/web/components/ConversationAside.d.ts
3
+ /**
4
+ * Wraps a file canvas whose conversation sits beside it rather than below.
5
+ * While the conversation is off screen an "Ask Po" cue floats at the canvas's
6
+ * bottom right, rose while Po waits on a question. Wide, the cue asks the host
7
+ * to show its rail; narrow, it opens a sheet over the lower canvas holding
8
+ * `conversation`, which mounts only while the sheet is open so one prompt is
9
+ * mounted at a time. Open state is local: key this on the tab id.
10
+ */
11
+ export declare function ConversationAside({ children, narrow, conversationShown, onOpenRail, conversation }: {
12
+ children: ReactNode;
13
+ narrow: boolean;
14
+ /** The host is already showing the conversation, so the cue stays out of the way. */
15
+ conversationShown: boolean;
16
+ onOpenRail: () => void;
17
+ conversation: ReactNode;
18
+ }): import("react").JSX.Element;
19
+ //#endregion
20
+ //# sourceMappingURL=ConversationAside.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationAside.d.mts","names":[],"sources":["../../../src/web/components/ConversationAside.tsx"],"mappings":";;;;;;;;;;wBAcgB,oBACd,UACA,QACA,mBACA,YACA;EAEA,UAAU;EACV;;EAEA;EACA;EACA,cAAc;oBACf,IAAA"}
@@ -0,0 +1,90 @@
1
+ import { focusPrompt } from "../lib/promptFocus.mjs";
2
+ import { useToolPrompt } from "../stores/useToolPrompt.mjs";
3
+ import { useEffect, useRef, useState } from "react";
4
+ import { Button, CloseIcon, MessageIcon } from "@agimon-ai/po-web-components";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ //#region src/web/components/ConversationAside.tsx
7
+ /**
8
+ * Wraps a file canvas whose conversation sits beside it rather than below.
9
+ * While the conversation is off screen an "Ask Po" cue floats at the canvas's
10
+ * bottom right, rose while Po waits on a question. Wide, the cue asks the host
11
+ * to show its rail; narrow, it opens a sheet over the lower canvas holding
12
+ * `conversation`, which mounts only while the sheet is open so one prompt is
13
+ * mounted at a time. Open state is local: key this on the tab id.
14
+ */
15
+ function ConversationAside({ children, narrow, conversationShown, onOpenRail, conversation }) {
16
+ const asking = useToolPrompt() !== null;
17
+ const [open, setOpen] = useState(false);
18
+ const sheetOpen = narrow && open;
19
+ const cueRef = useRef(null);
20
+ const wasOpen = useRef(false);
21
+ useEffect(() => {
22
+ if (wasOpen.current && !sheetOpen) cueRef.current?.focus();
23
+ wasOpen.current = sheetOpen;
24
+ }, [sheetOpen]);
25
+ const ask = () => {
26
+ if (narrow) setOpen(true);
27
+ else onOpenRail();
28
+ requestAnimationFrame(() => focusPrompt());
29
+ };
30
+ return /* @__PURE__ */ jsxs("div", {
31
+ className: "relative flex min-h-0 flex-1 flex-col",
32
+ children: [
33
+ children,
34
+ !conversationShown && !sheetOpen ? /* @__PURE__ */ jsxs(Button, {
35
+ ref: cueRef,
36
+ "data-testid": "ask-po",
37
+ variant: asking ? "secondary" : "outline",
38
+ size: "md",
39
+ "aria-label": asking ? "Po is asking you something. Open the conversation" : "Ask Po about this file",
40
+ className: `absolute right-4 bottom-14 z-10 gap-2 rounded-full shadow-lg ${asking ? "" : "bg-po-panel text-po-hi"}`,
41
+ onClick: ask,
42
+ children: [/* @__PURE__ */ jsx(MessageIcon, {
43
+ "aria-hidden": true,
44
+ className: "size-4"
45
+ }), asking ? "Po is asking" : "Ask Po"]
46
+ }) : null,
47
+ sheetOpen ? /* @__PURE__ */ jsxs("section", {
48
+ role: "dialog",
49
+ "aria-modal": "false",
50
+ "aria-label": "Conversation",
51
+ "data-testid": "conversation-sheet",
52
+ "data-po-region": "activity",
53
+ onKeyDown: (event) => {
54
+ if (event.key !== "Escape" || event.defaultPrevented) return;
55
+ event.preventDefault();
56
+ setOpen(false);
57
+ },
58
+ className: "absolute inset-x-0 bottom-0 z-20 flex h-[60%] flex-col overflow-hidden rounded-t-2xl border-t border-po-border-soft bg-po-bg/100 shadow-2xl",
59
+ children: [
60
+ /* @__PURE__ */ jsx("span", {
61
+ "aria-hidden": true,
62
+ className: "mx-auto mt-2 h-1 w-10 shrink-0 rounded-full bg-po-border"
63
+ }),
64
+ /* @__PURE__ */ jsxs("header", {
65
+ className: "flex h-11 shrink-0 items-center gap-2 pr-2 pl-5",
66
+ children: [/* @__PURE__ */ jsx("span", {
67
+ className: "min-w-0 flex-1 truncate text-base font-semibold text-po-hi",
68
+ children: "Conversation"
69
+ }), /* @__PURE__ */ jsx(Button, {
70
+ variant: "ghost",
71
+ size: "icon-md",
72
+ "aria-label": "Close conversation",
73
+ className: "text-po-dim",
74
+ onClick: () => setOpen(false),
75
+ children: /* @__PURE__ */ jsx(CloseIcon, {
76
+ "aria-hidden": true,
77
+ className: "size-4"
78
+ })
79
+ })]
80
+ }),
81
+ conversation
82
+ ]
83
+ }) : null
84
+ ]
85
+ });
86
+ }
87
+ //#endregion
88
+ export { ConversationAside };
89
+
90
+ //# sourceMappingURL=ConversationAside.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationAside.mjs","names":[],"sources":["../../../src/web/components/ConversationAside.tsx"],"sourcesContent":["import { Button, CloseIcon, MessageIcon } from '@agimon-ai/po-web-components';\nimport { type ReactNode, useEffect, useRef, useState } from 'react';\n\nimport { focusPrompt } from '../lib/promptFocus';\nimport { useToolPrompt } from '../stores/useToolPrompt';\n\n/**\n * Wraps a file canvas whose conversation sits beside it rather than below.\n * While the conversation is off screen an \"Ask Po\" cue floats at the canvas's\n * bottom right, rose while Po waits on a question. Wide, the cue asks the host\n * to show its rail; narrow, it opens a sheet over the lower canvas holding\n * `conversation`, which mounts only while the sheet is open so one prompt is\n * mounted at a time. Open state is local: key this on the tab id.\n */\nexport function ConversationAside({\n children,\n narrow,\n conversationShown,\n onOpenRail,\n conversation,\n}: {\n children: ReactNode;\n narrow: boolean;\n /** The host is already showing the conversation, so the cue stays out of the way. */\n conversationShown: boolean;\n onOpenRail: () => void;\n conversation: ReactNode;\n}) {\n const asking = useToolPrompt() !== null;\n const [open, setOpen] = useState(false);\n const sheetOpen = narrow && open;\n const cueRef = useRef<HTMLButtonElement>(null);\n const wasOpen = useRef(false);\n\n // The cue unmounts behind the sheet, so focus goes back to it once it returns.\n useEffect(() => {\n if (wasOpen.current && !sheetOpen) cueRef.current?.focus();\n wasOpen.current = sheetOpen;\n }, [sheetOpen]);\n\n const ask = () => {\n if (narrow) setOpen(true);\n else onOpenRail();\n // The prompt mounts with the rail or sheet, a frame after this click.\n requestAnimationFrame(() => focusPrompt());\n };\n\n return (\n <div className=\"relative flex min-h-0 flex-1 flex-col\">\n {children}\n {!conversationShown && !sheetOpen ? (\n <Button\n ref={cueRef}\n data-testid=\"ask-po\"\n variant={asking ? 'secondary' : 'outline'}\n size=\"md\"\n aria-label={asking ? 'Po is asking you something. Open the conversation' : 'Ask Po about this file'}\n className={`absolute right-4 bottom-14 z-10 gap-2 rounded-full shadow-lg ${asking ? '' : 'bg-po-panel text-po-hi'}`}\n onClick={ask}\n >\n <MessageIcon aria-hidden className=\"size-4\" />\n {asking ? 'Po is asking' : 'Ask Po'}\n </Button>\n ) : null}\n {sheetOpen ? (\n <section\n role=\"dialog\"\n aria-modal=\"false\"\n aria-label=\"Conversation\"\n data-testid=\"conversation-sheet\"\n // Over a person's backdrop the content region clears every .bg-po-bg, which would let the canvas\n // show through; as its own region the sheet gets the backdrop wash and blur like the Activity overlay.\n data-po-region=\"activity\"\n onKeyDown={(event) => {\n if (event.key !== 'Escape' || event.defaultPrevented) return;\n event.preventDefault();\n setOpen(false);\n }}\n // ponytail: bg-po-bg/100 is the same colour under a class name the backdrop rule does not clear.\n className=\"absolute inset-x-0 bottom-0 z-20 flex h-[60%] flex-col overflow-hidden rounded-t-2xl border-t border-po-border-soft bg-po-bg/100 shadow-2xl\"\n >\n <span aria-hidden className=\"mx-auto mt-2 h-1 w-10 shrink-0 rounded-full bg-po-border\" />\n <header className=\"flex h-11 shrink-0 items-center gap-2 pr-2 pl-5\">\n <span className=\"min-w-0 flex-1 truncate text-base font-semibold text-po-hi\">Conversation</span>\n <Button\n variant=\"ghost\"\n size=\"icon-md\"\n aria-label=\"Close conversation\"\n className=\"text-po-dim\"\n onClick={() => setOpen(false)}\n >\n <CloseIcon aria-hidden className=\"size-4\" />\n </Button>\n </header>\n {conversation}\n </section>\n ) : null}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAcA,SAAgB,kBAAkB,EAChC,UACA,QACA,mBACA,YACA,gBAQC;CACD,MAAM,SAAS,cAAc,MAAM;CACnC,MAAM,CAAC,MAAM,WAAW,SAAS,KAAK;CACtC,MAAM,YAAY,UAAU;CAC5B,MAAM,SAAS,OAA0B,IAAI;CAC7C,MAAM,UAAU,OAAO,KAAK;CAG5B,gBAAgB;EACd,IAAI,QAAQ,WAAW,CAAC,WAAW,OAAO,SAAS,MAAM;EACzD,QAAQ,UAAU;CACpB,GAAG,CAAC,SAAS,CAAC;CAEd,MAAM,YAAY;EAChB,IAAI,QAAQ,QAAQ,IAAI;OACnB,WAAW;EAEhB,4BAA4B,YAAY,CAAC;CAC3C;CAEA,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA;GACG;GACA,CAAC,qBAAqB,CAAC,YACtB,qBAAC,QAAD;IACE,KAAK;IACL,eAAY;IACZ,SAAS,SAAS,cAAc;IAChC,MAAK;IACL,cAAY,SAAS,sDAAsD;IAC3E,WAAW,gEAAgE,SAAS,KAAK;IACzF,SAAS;IAPX,UAAA,CASE,oBAAC,aAAD;KAAa,eAAA;KAAY,WAAU;IAAU,CAAA,GAC5C,SAAS,iBAAiB,QACrB;GACN,CAAA,IAAA;GACH,YACC,qBAAC,WAAD;IACE,MAAK;IACL,cAAW;IACX,cAAW;IACX,eAAY;IAGZ,kBAAe;IACf,YAAY,UAAU;KACpB,IAAI,MAAM,QAAQ,YAAY,MAAM,kBAAkB;KACtD,MAAM,eAAe;KACrB,QAAQ,KAAK;IACf;IAEA,WAAU;IAdZ,UAAA;KAgBE,oBAAC,QAAD;MAAM,eAAA;MAAY,WAAU;KAA4D,CAAA;KACxF,qBAAC,UAAD;MAAQ,WAAU;MAAlB,UAAA,CACE,oBAAC,QAAD;OAAM,WAAU;OAA6D,UAAA;MAAkB,CAAA,GAC/F,oBAAC,QAAD;OACE,SAAQ;OACR,MAAK;OACL,cAAW;OACX,WAAU;OACV,eAAe,QAAQ,KAAK;OAE5B,UAAA,oBAAC,WAAD;QAAW,eAAA;QAAY,WAAU;OAAU,CAAA;MACrC,CAAA,CACF;;KACP;IACM;GACP,CAAA,IAAA;EACD;;AAET"}
@@ -11,7 +11,6 @@ const require_providerStatusStore = require("../stores/providerStatusStore.cjs")
11
11
  const require_useHomeReads = require("../stores/useHomeReads.cjs");
12
12
  const require_useSessionAvatars = require("../stores/useSessionAvatars.cjs");
13
13
  const require_DashboardTileGrid = require("./DashboardTileGrid.cjs");
14
- const require_GentleAsk = require("./GentleAsk.cjs");
15
14
  const require_HomeActivity = require("./HomeActivity.cjs");
16
15
  let react = require("react");
17
16
  let _tanstack_react_router = require("@tanstack/react-router");
@@ -256,27 +255,21 @@ function HomePage({ onShowSessions, navigationToggle = "mobile", bare, hosts: su
256
255
  });
257
256
  };
258
257
  const lead = attention.filter((tile) => visible(tile.hostId));
259
- const asks = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [providerConnected === false ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_GentleAsk.GentleAsk, {
260
- testId: "home-provider-ask",
261
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.SparklesIcon, {
262
- "aria-hidden": true,
263
- className: "size-5 shrink-0"
264
- }),
265
- title: `${coordinatorName} needs an AI provider to start work`,
266
- description: "Connect one whenever you are ready. You can keep looking around until then.",
267
- action: "Connect a provider",
258
+ const asks = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [providerConnected === false ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.CtaCard, {
259
+ "data-testid": "home-provider-ask",
260
+ artwork: "/mascot/cta-provider.png",
261
+ title: `${coordinatorName} needs a provider`,
262
+ description: `Pick the AI that does the thinking. ${coordinatorName} handles the rest.`,
263
+ action: "Connect provider",
268
264
  onAction: () => void navigate({
269
265
  to: "/settings/$section",
270
266
  params: { section: "providers" }
271
267
  })
272
- }) : null, account.bridge && account.openAccount && account.checked && !account.status.signedIn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_GentleAsk.GentleAsk, {
273
- testId: "home-sign-in-ask",
274
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.GlobeIcon, {
275
- "aria-hidden": true,
276
- className: "size-5 shrink-0"
277
- }),
278
- title: "Your Po Cloud sessions can live here too",
279
- description: "Sign in whenever you are ready. Sessions on this computer stay here.",
268
+ }) : null, account.bridge && account.openAccount && account.checked && !account.status.signedIn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.CtaCard, {
269
+ "data-testid": "home-sign-in-ask",
270
+ artwork: "/mascot/cta-sign-in.png",
271
+ title: "Your cloud sessions, here too",
272
+ description: "Sign in to Po Cloud. Sessions on this computer stay as they are.",
280
273
  action: "Sign in with Po",
281
274
  onAction: account.openAccount
282
275
  }) : null] });