import { AgentInfo, AssistantEntry, CommandInfo, DialogMethod, DialogRequest, EditorTextRequest, EntryKind, InputSender, IntercomEntry, ModelChoice, NoticeEntry, ProfileIdentity, QueuedEntry, ReduceSessionOptions, SessionState, SessionStats, SettledEntry, TimelineEntry, ToolEntry, UserEntry, UserImage, appendQueued, appendUserPrompt, applySelectionAnswer, assistantFailureText, clearDialog, clearQueuedEntries, imagesFromContent, initialSessionState, isSupportedImageMimeType, prependHistory, reduceSession, removeQueuedEntry, replaceQueuedEntries, selectionStatuses, summariseArgs, textFromContent } from "./web/lib/sessionModel.mjs"; import { BUILTIN_COMMANDS, RpcImage, abortCommand, builtinCommandFrame, clearCommand, clearQueueCommand, compactCommand, dialogCancelled, dialogConfirmed, dialogValue, enqueueAutomaticCommand, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, promoteQueuedCommand, promptCommand, removeQueuedCommand, resumeQueueCommand, rewindCommand, setModelCommand, setSessionNameCommand, setThinkingLevelCommand, steerCommand } from "./web/lib/commands.mjs"; import { CompletionItem, CompletionKind, CompletionTrigger, MAX_COMPLETION_ITEMS, TRIGGER_CHARS, commandCompletions, fileCompletions, triggerTokenAt } from "./web/lib/composerCompletion.mjs"; import { MentionableSession, SESSION_REFERENCE_SCHEME, resolveSessionReference, sessionCompletions } from "./web/lib/sessionMentions.mjs"; import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs"; import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHostConnected, onHubConnected, readHostHome, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs"; import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket, watchHubAccess, watchHubLifecycle } from "./web/lib/protocolHubSocket.mjs"; import { homeAppEntries, homePageRoute } from "./web/lib/homeApps.mjs"; import { InstalledPluginTheme, isHexTheme } from "./web/lib/pluginThemes.mjs"; import { InstalledNativeTemplate, NativeTemplateCatalog, bindBundledNativeTemplates, bundledNativeTemplate, resolveNativeTemplate } from "./web/lib/templateCatalog.mjs"; import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginLocales, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installBundledWebPlugins, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, recordWebPluginRenderFailure, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginHostPlatform, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs"; import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs"; import { ComposerPromptClaim, DialogPromptClaim, ToolPromptClaim, ToolPromptInput, toolPromptClaim } from "./web/lib/toolPrompt.mjs"; import { UiTraceRecord, UiTraceSink, flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs"; import { repositorySettingsViewFromWire, settingsConfigViewFromWire, settingsScopeToWire, settingsWriteToWire } from "./web/lib/settingsWire.mjs"; import { INSTALL_LOST_AFTER, catalogEntries, destinationOf, externalId, externalServerRows, filterEntries, installReadLost, presetSummaries } from "./web/lib/catalogEntries.mjs"; import { TransientTabActions, pluginSessionContext, pluginSlotProps, renderRegion } from "./web/lib/pluginSlotProps.mjs"; import { toolMessageProps } from "./web/lib/toolMessageProps.mjs"; import { ToolRendererBoundary } from "./web/lib/ToolRendererBoundary.mjs"; import { updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs"; import { AttachPhase, StatusClock, StatusLineInput, abbreviateCwd, personaInitials, runningCount, sessionStatusClock, sessionStatusLine, summaryValueEqual } from "./web/lib/sessionSummary.mjs"; import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, activityWaitingCount, botCoordinatorBlocked, buildRailWorkspaces, coordinatorHostTargets, liveSessionOptions, pendingSetupView, railSessionStatus, railShortcutOrder, reuseRailWorkspaces, sessionMoveTarget, sessionSetupActionFor, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs"; import { HomeActivityItem, HomeActivityModel, HomeActor, HomeHostRead, HomeSessionInput, HomeTarget, HomeWaitingItem, TODAY_PAGE_SIZE, WAITING_PAGE_SIZE, homeActivity, homeTime, pageOf } from "./web/lib/homeActivity.mjs"; import { SessionMeta, SessionsState, UPDATE_REQUIRED_REASON, activeSessionId, applySessionBacklog, applySessionInteractions, applySessionLifecycleSnapshot, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, markUpdateRequired, mentionableSessions, noSessions, railParentIds, resetSessions, resolveParentId, sameRailEntries, sameRailEntry, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, useRailEntries, useRailEntry, waitForSession, whenSessionReady } from "./web/stores/sessionsStore.mjs"; import { HistoryPage, abortRun, answerDialogConfirm, answerDialogValue, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionFrame, applySessionLifecycle, applyThreadFrame, beginSessionReplay, bindHistoryReader, cancelDialog, clearQueuedMessages, deleteQueuedMessage, dropSessionStore, endSessionReplay, invokeModeAction, loadModelChoices, promoteQueuedMessage, queueFollowUp, queueFollowUpWithAck, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, releaseProtocolTranscript, renameSession, requestLatestHistory, requestNewerHistory, requestOlderHistory, resetSessionStore, resetSessionStores, resumeQueuedMessages, rewindToMessage, runCommand, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, sessionStoreFor, setAgentLock, setHasNewerHistory, setSessionStreamed, streamedSessions, submitMessage, submitMessageWithAck, toggleMode, useActiveSession, useHasOlderHistory } from "./web/stores/sessionStore.mjs"; import { createPagedTranscript } from "./web/stores/pagedTranscriptStore.mjs"; import { ImageRefScope, bindImageReader, loadImageRef, useImageRefs } from "./web/stores/imageRefStore.mjs"; import { dispatchHeldSessionChannel, heldSessionChannels, heldVoiceSessions, holdSessionChannels, holdVoiceSession } from "./web/stores/sessionChannelHoldsStore.mjs"; import { ThreadTranscriptReader, applyThreadTranscriptFrame, bindThreadReader, dropThreads, heldThreads, resetThreads, resubscribeThreads, subscribeThread, threadStoreKey, unsubscribeThread } from "./web/stores/threadStore.mjs"; import { WorkspacesState, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, resetWorkspaces, selectWorkspace, setWorkspaceHostLabel, workspaceHostLabelsStore, workspacesStore } from "./web/stores/workspacesStore.mjs"; import { AccountState, PoAccountBridge, PoAccountStatus, accountStore, bindAccount, refreshAccount, signOutAccount } from "./web/stores/accountStore.mjs"; import { PoTeam, PoTeamClient, PoTeamGrant, PoTeamRole, bindTeam, teamStore } from "./web/stores/teamStore.mjs"; import { ActivityGroup, Mode, SelectionAxis, activityGroups, fileLinkMentions, fileTabForPath, resolveModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs"; import { parseSelection } from "./web/lib/statusLine.mjs"; import { parseWakeMinutes, useBotWake, wakePeriodLabel } from "./web/stores/useBotWake.mjs"; import { canSaveSettings, plannedSettingsWrites, settingsKeyOf, settingsLockedReason } from "./web/lib/settingsDraft.mjs"; import { MenuClaim, MenuKind, MenuState, claimDialogMenu, clearPendingMenu, menuStore, pendingMenuFor, releaseDialogMenu, resetMenuStore, setPendingMenu } from "./web/stores/menuStore.mjs"; import { ContextGroup, ContextItemSource, contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs"; import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, setTransientTabSession, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs"; import { validateComposerCapture } from "./web/lib/composerCapture.mjs"; import { applyCaptureFrame, disconnectCaptures, onCaptureStatus, submitCapture } from "./web/stores/captureStore.mjs"; import { onComposerSubmitted } from "./web/lib/composerSubmissions.mjs"; import { bindSessionFileLinkModes, sessionModes } from "./web/stores/fileLinkModesStore.mjs"; import { createToolCompletionTabs } from "./web/lib/toolCompletionTabs.mjs"; import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs"; import { defaultHostId, isHostId, localHostId, parseHostKey, qualifyHostId, qualifyHostKey, setDefaultHostId, splitHostId } from "./web/lib/hostIdentity.mjs"; import { STARTER_POS, START_HERE, StarterPo, startersFor } from "./web/lib/starterPos.mjs"; import { createStarterProfile, saveStarterAboutYou } from "./web/lib/firstRunProfile.mjs"; import { CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, createCloudHub } from "./web/lib/cloudHub.mjs"; import { asWorkspace } from "./web/lib/workspaceSummary.mjs"; export { AccountState, type ActivityGroup, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, ComposerPromptClaim, type ContextGroup, type ContextItemSource, DialogMethod, DialogPromptClaim, DialogRequest, EditorTextRequest, EntryKind, HOST_SLOTS, HistoryPage, HomeActivityItem, HomeActivityModel, HomeActor, HomeHostRead, HomeSessionInput, HomeTarget, HomeWaitingItem, INSTALL_LOST_AFTER, ImageRefScope, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, type InstalledNativeTemplate, InstalledOnboarding, type InstalledPluginTheme, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, IntercomEntry, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MentionableSession, MenuClaim, MenuKind, MenuState, type Mode, ModelChoice, type NativeTemplateCatalog, NoticeEntry, PoAccountBridge, PoAccountStatus, PoTeam, PoTeamClient, PoTeamGrant, PoTeamRole, ProfileIdentity, QueuedEntry, RailRestartState, RailSessionInput, ReduceSessionOptions, ResolvedFill, RpcImage, SESSION_REFERENCE_SCHEME, STARTER_POS, START_HERE, type SelectionAxis, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettledEntry, StarterPo, StatusClock, StatusLineInput, TODAY_PAGE_SIZE, TRIGGER_CHARS, ThreadTranscriptReader, TimelineEntry, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolRendererBoundary, type TransientTabActions, UPDATE_REQUIRED_REASON, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WAITING_PAGE_SIZE, WebPluginRegistry, WorkspacesState, abbreviateCwd, abortCommand, abortRun, accountStore, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginLocales, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionLifecycleSnapshot, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, assistantFailureText, beginSessionReplay, beginSessionTransfer, bindAccount, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindTeam, bindThreadReader, bindTransport, botCoordinatorBlocked, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, catalogEntries, claimDialogMenu, clearCommand, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createStarterProfile, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, destinationOf, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, externalId, externalServerRows, fileCompletions, fileLinkMentions, fileTabForPath, filterEntries, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeActivity, homeAppEntries, homePageRoute, homeTime, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installBundledWebPlugins, installHostWebPlugins, installReadLost, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeModeAction, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, pageOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, parseWakeMinutes, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, presetSummaries, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railParentIds, railSessionStatus, railShortcutOrder, readHostHome, recordWebPluginRenderFailure, reduceSession, refreshAccount, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, repositorySettingsViewFromWire, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveModes, resolveNativeTemplate, resolveParentId, resolveSessionReference, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, reuseRailWorkspaces, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveStarterAboutYou, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionModes, sessionMoveTarget, sessionSetupActionFor, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginHostPlatform, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsConfigViewFromWire, settingsKeyOf, settingsLockedReason, settingsScopeToWire, settingsWriteToWire, signOutAccount, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, startersFor, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, teamStore, textFromContent, threadStoreKey, toggleMode, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useBotWake, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, wakePeriodLabel, watchHubAccess, watchHubLifecycle, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, whenSessionReady, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };