@agimon-ai/po-web-dashboard 0.0.0-alpha.185 → 0.0.0-alpha.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.cjs +2 -0
- package/dist/core.d.mts +2 -2
- package/dist/core.mjs +2 -2
- package/dist/index.cjs +2 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/web/lib/pluginRegistry.cjs +45 -7
- package/dist/web/lib/pluginRegistry.cjs.map +1 -1
- package/dist/web/lib/pluginRegistry.d.mts +5 -1
- package/dist/web/lib/pluginRegistry.d.mts.map +1 -1
- package/dist/web/lib/pluginRegistry.mjs +44 -8
- package/dist/web/lib/pluginRegistry.mjs.map +1 -1
- package/dist/web/lib/pluginSlotProps.cjs +25 -11
- package/dist/web/lib/pluginSlotProps.cjs.map +1 -1
- package/dist/web/lib/pluginSlotProps.d.mts.map +1 -1
- package/dist/web/lib/pluginSlotProps.mjs +26 -12
- package/dist/web/lib/pluginSlotProps.mjs.map +1 -1
- package/package.json +5 -5
package/dist/core.cjs
CHANGED
|
@@ -269,6 +269,7 @@ exports.railParentIds = require_sessionsStore.railParentIds;
|
|
|
269
269
|
exports.railSessionStatus = require_sessionRailModel.railSessionStatus;
|
|
270
270
|
exports.railShortcutOrder = require_sessionRailModel.railShortcutOrder;
|
|
271
271
|
exports.readHostHome = require_transport.readHostHome;
|
|
272
|
+
exports.recordWebPluginRenderFailure = require_pluginRegistry.recordWebPluginRenderFailure;
|
|
272
273
|
exports.reduceSession = require_sessionModel.reduceSession;
|
|
273
274
|
exports.refreshAccount = require_accountStore.refreshAccount;
|
|
274
275
|
exports.refreshSessionFacts = require_sessionStore.refreshSessionFacts;
|
|
@@ -347,6 +348,7 @@ exports.setSessionStreamed = require_sessionStore.setSessionStreamed;
|
|
|
347
348
|
exports.setThinkingLevelCommand = require_commands.setThinkingLevelCommand;
|
|
348
349
|
exports.setTransientTabSession = require_transientTabsStore.setTransientTabSession;
|
|
349
350
|
exports.setUiTraceSink = require_uiTrace.setUiTraceSink;
|
|
351
|
+
exports.setWebPluginHostPlatform = require_pluginRegistry.setWebPluginHostPlatform;
|
|
350
352
|
exports.setWebPluginLoadDiagnostics = require_pluginRegistry.setWebPluginLoadDiagnostics;
|
|
351
353
|
exports.setWorkspaceHostLabel = require_workspacesStore.setWorkspaceHostLabel;
|
|
352
354
|
exports.settingsConfigViewFromWire = require_settingsWire.settingsConfigViewFromWire;
|
package/dist/core.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket, watchHub
|
|
|
8
8
|
import { homeAppEntries, homePageRoute } from "./web/lib/homeApps.mjs";
|
|
9
9
|
import { InstalledPluginTheme, isHexTheme } from "./web/lib/pluginThemes.mjs";
|
|
10
10
|
import { InstalledNativeTemplate, NativeTemplateCatalog, bindBundledNativeTemplates, bundledNativeTemplate, resolveNativeTemplate } from "./web/lib/templateCatalog.mjs";
|
|
11
|
-
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, 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, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
11
|
+
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, 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";
|
|
12
12
|
import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
13
13
|
import { ComposerPromptClaim, DialogPromptClaim, ToolPromptClaim, ToolPromptInput, toolPromptClaim } from "./web/lib/toolPrompt.mjs";
|
|
14
14
|
import { UiTraceRecord, UiTraceSink, flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs";
|
|
@@ -46,4 +46,4 @@ import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs";
|
|
|
46
46
|
import { defaultHostId, isHostId, localHostId, parseHostKey, qualifyHostId, qualifyHostKey, setDefaultHostId, splitHostId } from "./web/lib/hostIdentity.mjs";
|
|
47
47
|
import { CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, createCloudHub } from "./web/lib/cloudHub.mjs";
|
|
48
48
|
import { asWorkspace } from "./web/lib/workspaceSummary.mjs";
|
|
49
|
-
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, type SelectionAxis, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettledEntry, 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, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, 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, 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, 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, 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, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionModes, sessionMoveTarget, sessionSetupActionFor, sessionSlug, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToken, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsConfigViewFromWire, settingsKeyOf, settingsLockedReason, settingsScopeToWire, settingsWriteToWire, signOutAccount, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, teamStore, textFromContent, threadStoreKey, 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, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
|
|
49
|
+
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, type SelectionAxis, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettledEntry, 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, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, 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, 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, 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, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionModes, sessionMoveTarget, sessionSetupActionFor, sessionSlug, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToken, 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, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, teamStore, textFromContent, threadStoreKey, 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, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
|
package/dist/core.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
|
7
7
|
import { isHexTheme } from "./web/lib/pluginThemes.mjs";
|
|
8
8
|
import { bindBundledNativeTemplates, bundledNativeTemplate, resolveNativeTemplate } from "./web/lib/templateCatalog.mjs";
|
|
9
9
|
import { flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs";
|
|
10
|
-
import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, 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, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
10
|
+
import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, 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";
|
|
11
11
|
import { parseSelection } from "./web/lib/statusLine.mjs";
|
|
12
12
|
import { activityGroups, fileLinkMentions, fileTabForPath, resolveModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
13
13
|
import { contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
|
|
@@ -46,4 +46,4 @@ import { INSTALL_LOST_AFTER, catalogEntries, destinationOf, externalId, external
|
|
|
46
46
|
import { TODAY_PAGE_SIZE, WAITING_PAGE_SIZE, homeActivity, homeTime, pageOf } from "./web/lib/homeActivity.mjs";
|
|
47
47
|
import { parseWakeMinutes, useBotWake, wakePeriodLabel } from "./web/stores/useBotWake.mjs";
|
|
48
48
|
import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs";
|
|
49
|
-
export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, HOST_SLOTS, INSTALL_LOST_AFTER, ImageRefScope, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, SESSION_REFERENCE_SCHEME, TODAY_PAGE_SIZE, TRIGGER_CHARS, ToolRendererBoundary, UPDATE_REQUIRED_REASON, WAITING_PAGE_SIZE, abbreviateCwd, abortCommand, abortRun, accountStore, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, 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, 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, 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, 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, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionModes, sessionMoveTarget, sessionSetupActionFor, sessionSlug, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToken, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsConfigViewFromWire, settingsKeyOf, settingsLockedReason, settingsScopeToWire, settingsWriteToWire, signOutAccount, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, teamStore, textFromContent, threadStoreKey, 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, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
|
|
49
|
+
export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, HOST_SLOTS, INSTALL_LOST_AFTER, ImageRefScope, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, SESSION_REFERENCE_SCHEME, TODAY_PAGE_SIZE, TRIGGER_CHARS, ToolRendererBoundary, UPDATE_REQUIRED_REASON, WAITING_PAGE_SIZE, abbreviateCwd, abortCommand, abortRun, accountStore, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionInteractions, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, 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, 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, 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, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionModes, sessionMoveTarget, sessionSetupActionFor, sessionSlug, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToken, 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, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, teamStore, textFromContent, threadStoreKey, 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, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
|
package/dist/index.cjs
CHANGED
|
@@ -442,6 +442,7 @@ exports.reconcileStoredTheme = require_themeStore.reconcileStoredTheme;
|
|
|
442
442
|
exports.recordBrowserError = require_browserTelemetry.recordBrowserError;
|
|
443
443
|
exports.recordBrowserPerformance = require_browserTelemetry.recordBrowserPerformance;
|
|
444
444
|
exports.recordBrowserUiTrace = require_browserTelemetry.recordBrowserUiTrace;
|
|
445
|
+
exports.recordWebPluginRenderFailure = require_pluginRegistry.recordWebPluginRenderFailure;
|
|
445
446
|
exports.reduceSession = require_sessionModel.reduceSession;
|
|
446
447
|
exports.refreshAccount = require_accountStore.refreshAccount;
|
|
447
448
|
exports.refreshSessionFacts = require_sessionStore.refreshSessionFacts;
|
|
@@ -578,6 +579,7 @@ exports.setSettingsDraft = require_settingsDraftStore.setSettingsDraft;
|
|
|
578
579
|
exports.setThinkingLevelCommand = require_commands.setThinkingLevelCommand;
|
|
579
580
|
exports.setTransientTabSession = require_transientTabsStore.setTransientTabSession;
|
|
580
581
|
exports.setUiTraceSink = require_uiTrace.setUiTraceSink;
|
|
582
|
+
exports.setWebPluginHostPlatform = require_pluginRegistry.setWebPluginHostPlatform;
|
|
581
583
|
exports.setWebPluginLoadDiagnostics = require_pluginRegistry.setWebPluginLoadDiagnostics;
|
|
582
584
|
exports.setWorkspaceHostLabel = require_workspacesStore.setWorkspaceHostLabel;
|
|
583
585
|
exports.setWorkspaceInstructions = require_hubApi.setWorkspaceInstructions;
|
package/dist/index.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ import { bindHostTransport, bindTransport, createDashboardTransport, invokeServe
|
|
|
6
6
|
import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket, watchHubAccess } from "./web/lib/protocolHubSocket.mjs";
|
|
7
7
|
import { homeAppEntries, homePageRoute } from "./web/lib/homeApps.mjs";
|
|
8
8
|
import { InstalledNativeTemplate, InstalledWebTemplate, NativeTemplateCatalog, WebTemplateCatalog, WebTemplateDiagnostic, backdropId, bindBundledNativeTemplates, bindBundledWebTemplates, bundledNativeTemplate, collectNativeTemplates, collectWebTemplates, resolveBackdrop, resolveNativeTemplate, resolveWebTemplate } from "./web/lib/templateCatalog.mjs";
|
|
9
|
-
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, 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, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
9
|
+
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, 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";
|
|
10
10
|
import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
11
11
|
import { ComposerPromptClaim, DialogPromptClaim, ToolPromptClaim, ToolPromptInput, toolPromptClaim } from "./web/lib/toolPrompt.mjs";
|
|
12
12
|
import { UiTraceRecord, UiTraceSink, flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs";
|
|
@@ -81,4 +81,4 @@ import { DashboardRendererProvider, DashboardRenderers } from "./web/lib/dashboa
|
|
|
81
81
|
import { DesktopPairingBridge, HostPairingGrant, PairingAccount, PairingAccountStatus, PairingHost, PairingRequest, createHostBrowserAccount, createHostPairingChannels, hostPairingPrefix, hostPairingStorageKey, pairHost, pairingJson, pairingPost, pairingRequest, readHostPairing, selectedHostAccount, signingFingerprint } from "./web/lib/hostPairing.mjs";
|
|
82
82
|
import { PairedHost, connectPairedHost, forgetPairedHost, onPairedHostsChanged, pairedHosts } from "./web/lib/pairedHosts.mjs";
|
|
83
83
|
import { useMediaQuery } from "./web/lib/useMediaQuery.mjs";
|
|
84
|
-
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, 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, PairedHost, PairingAccount, PairingAccountStatus, PairingHost, PairingRequest, PaletteState, PlannedWritesInput, PoAccountBridge, PoAccountStatus, PoTeam, PoTeamClient, PoTeamGrant, PoTeamRole, PresetSettingsResult, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoveWorkspaceResult, RemovedSessionsResult, ResolvedFill, RestartSessionResult, RestoreRemovedSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ResumeView, ReviveSessionResult, RpcImage, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SetSessionRoleResult, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsSectionGroup, SettingsWorkspace, SettledEntry, SingleUnit, StatusClock, StatusLineInput, StopSessionResult, StoredSessionAttachment, TEAM_PAGE_ID, TEAM_ROUTE, TRIGGER_CHARS, 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, 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, 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, claimDialogMenu, clearCommand, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeResumeDialog, closeSessionSharing, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, connectPairedHost, contextGroups, coordinatorHostTargets, createBotWithProfile, createCloudHub, createDashboardTransport, createGeneralSession, createGeneralSessionRequest, createHostBrowserAccount, createHostPairingChannels, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, 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, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onPairedHostsChanged, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openResumeDialog, openSessionSharing, openTransientTab, ownerLabel, ownersOf, pairHost, pairedHosts, pairingJson, pairingPost, pairingRequest, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, 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, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railParentIds, railRestartStore, railSessionStatus, railShortcutOrder, readDormantTranscriptPage, readHostHome, readHostPairing, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshAccount, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, 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, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectedHostAccount, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionModes, sessionMoveTarget, sessionSetupActionFor, 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, 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, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useMediaQuery, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, 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 };
|
|
84
|
+
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, 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, PairedHost, PairingAccount, PairingAccountStatus, PairingHost, PairingRequest, PaletteState, PlannedWritesInput, PoAccountBridge, PoAccountStatus, PoTeam, PoTeamClient, PoTeamGrant, PoTeamRole, PresetSettingsResult, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoveWorkspaceResult, RemovedSessionsResult, ResolvedFill, RestartSessionResult, RestoreRemovedSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ResumeView, ReviveSessionResult, RpcImage, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SetSessionRoleResult, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsSectionGroup, SettingsWorkspace, SettledEntry, SingleUnit, StatusClock, StatusLineInput, StopSessionResult, StoredSessionAttachment, TEAM_PAGE_ID, TEAM_ROUTE, TRIGGER_CHARS, 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, 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, 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, claimDialogMenu, clearCommand, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeResumeDialog, closeSessionSharing, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, connectPairedHost, contextGroups, coordinatorHostTargets, createBotWithProfile, createCloudHub, createDashboardTransport, createGeneralSession, createGeneralSessionRequest, createHostBrowserAccount, createHostPairingChannels, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, 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, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onPairedHostsChanged, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openResumeDialog, openSessionSharing, openTransientTab, ownerLabel, ownersOf, pairHost, pairedHosts, pairingJson, pairingPost, pairingRequest, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, 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, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railParentIds, railRestartStore, railSessionStatus, railShortcutOrder, readDormantTranscriptPage, readHostHome, readHostPairing, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, recordWebPluginRenderFailure, reduceSession, refreshAccount, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, 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, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectedHostAccount, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionModes, sessionMoveTarget, sessionSetupActionFor, 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, setWebPluginHostPlatform, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, 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, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useMediaQuery, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, 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
|
@@ -12,7 +12,7 @@ import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
|
12
12
|
import { teamPageUrl } from "./web/lib/selfHostShell.mjs";
|
|
13
13
|
import { backdropId, bindBundledNativeTemplates, bindBundledWebTemplates, bundledNativeTemplate, collectNativeTemplates, collectWebTemplates, resolveBackdrop, resolveNativeTemplate, resolveWebTemplate } from "./web/lib/templateCatalog.mjs";
|
|
14
14
|
import { flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs";
|
|
15
|
-
import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, 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, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
15
|
+
import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, 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";
|
|
16
16
|
import { ansiSegments, emptySelection, parseSelection, stripAnsi } from "./web/lib/statusLine.mjs";
|
|
17
17
|
import { PACKAGED_MODES, PACKAGED_SELECTION_AXES, activityGroups, bindFileLinkModes, fileLinkFor, fileLinkMentions, fileTabForPath, resolveModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
18
18
|
import { contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
|
|
@@ -81,4 +81,4 @@ import { CLOUD_HUB_POLL_MS, createCloudHub } from "./web/lib/cloudHub.mjs";
|
|
|
81
81
|
import { createHostBrowserAccount, createHostPairingChannels, hostPairingPrefix, hostPairingStorageKey, pairHost, pairingJson, pairingPost, pairingRequest, readHostPairing, selectedHostAccount, signingFingerprint } from "./web/lib/hostPairing.mjs";
|
|
82
82
|
import { connectPairedHost, forgetPairedHost, onPairedHostsChanged, pairedHosts } from "./web/lib/pairedHosts.mjs";
|
|
83
83
|
import { useMediaQuery } from "./web/lib/useMediaQuery.mjs";
|
|
84
|
-
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, TEAM_PAGE_ID, TEAM_ROUTE, TRIGGER_CHARS, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, accountStore, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, 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, 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, claimDialogMenu, clearCommand, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeResumeDialog, closeSessionSharing, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, connectPairedHost, contextGroups, coordinatorHostTargets, createBotWithProfile, createCloudHub, createDashboardTransport, createGeneralSession, createGeneralSessionRequest, createHostBrowserAccount, createHostPairingChannels, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, 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, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onPairedHostsChanged, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openResumeDialog, openSessionSharing, openTransientTab, ownerLabel, ownersOf, pairHost, pairedHosts, pairingJson, pairingPost, pairingRequest, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, 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, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railParentIds, railRestartStore, railSessionStatus, railShortcutOrder, readDormantTranscriptPage, readHostHome, readHostPairing, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshAccount, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, 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, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectedHostAccount, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionModes, sessionMoveTarget, sessionSetupActionFor, 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, 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, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useMediaQuery, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, 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 };
|
|
84
|
+
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, TEAM_PAGE_ID, TEAM_ROUTE, TRIGGER_CHARS, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, accountStore, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, 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, 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, claimDialogMenu, clearCommand, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeResumeDialog, closeSessionSharing, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, connectPairedHost, contextGroups, coordinatorHostTargets, createBotWithProfile, createCloudHub, createDashboardTransport, createGeneralSession, createGeneralSessionRequest, createHostBrowserAccount, createHostPairingChannels, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, 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, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onPairedHostsChanged, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openResumeDialog, openSessionSharing, openTransientTab, ownerLabel, ownersOf, pairHost, pairedHosts, pairingJson, pairingPost, pairingRequest, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, 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, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railParentIds, railRestartStore, railSessionStatus, railShortcutOrder, readDormantTranscriptPage, readHostHome, readHostPairing, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, recordWebPluginRenderFailure, reduceSession, refreshAccount, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, 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, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectedHostAccount, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionModes, sessionMoveTarget, sessionSetupActionFor, 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, setWebPluginHostPlatform, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, 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, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useMediaQuery, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, 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 };
|
|
@@ -77,6 +77,7 @@ function createWebPluginRegistry(hostId) {
|
|
|
77
77
|
const loadDiagnostics = /* @__PURE__ */ new Map();
|
|
78
78
|
let registryRevision = 0;
|
|
79
79
|
const registryListeners = /* @__PURE__ */ new Set();
|
|
80
|
+
const renderDiagnostics = /* @__PURE__ */ new Map();
|
|
80
81
|
function activeState(sessionId) {
|
|
81
82
|
if (sessionId !== void 0 && sessionId !== null) {
|
|
82
83
|
const workspaceId = sessionWorkspaces.get(sessionId);
|
|
@@ -161,6 +162,7 @@ function createWebPluginRegistry(hostId) {
|
|
|
161
162
|
rebuildSession(sessionId);
|
|
162
163
|
}
|
|
163
164
|
function emitRegistryChange() {
|
|
165
|
+
renderDiagnostics.clear();
|
|
164
166
|
registryRevision += 1;
|
|
165
167
|
for (const listener of registryListeners) listener();
|
|
166
168
|
}
|
|
@@ -586,6 +588,15 @@ function createWebPluginRegistry(hostId) {
|
|
|
586
588
|
else loadDiagnostics.set(key, [...diagnostics]);
|
|
587
589
|
emitRegistryChange();
|
|
588
590
|
}
|
|
591
|
+
function recordWebPluginRenderFailure(pluginId, fillId, slot) {
|
|
592
|
+
const key = `${pluginId}:${fillId}`;
|
|
593
|
+
if (renderDiagnostics.has(key)) return;
|
|
594
|
+
renderDiagnostics.set(key, {
|
|
595
|
+
pluginId,
|
|
596
|
+
kind: "render-failed",
|
|
597
|
+
message: `Slot '${slot}' fill '${fillId}' threw while rendering.`
|
|
598
|
+
});
|
|
599
|
+
}
|
|
589
600
|
/**
|
|
590
601
|
* What the install had to resolve between plugins, plus the slots the visible mounts could not
|
|
591
602
|
* load; empty for a composition whose plugins all load and never collide.
|
|
@@ -598,7 +609,13 @@ function createWebPluginRegistry(hostId) {
|
|
|
598
609
|
...activeSessionId === null ? [] : [`session:${activeSessionId}`]
|
|
599
610
|
].flatMap((key) => loadDiagnostics.get(key) ?? []);
|
|
600
611
|
const installed = activeState().diagnostics;
|
|
601
|
-
|
|
612
|
+
const rendered = [...renderDiagnostics.values()];
|
|
613
|
+
if (failed.length === 0 && rendered.length === 0) return installed;
|
|
614
|
+
return [
|
|
615
|
+
...installed,
|
|
616
|
+
...failed,
|
|
617
|
+
...rendered
|
|
618
|
+
];
|
|
602
619
|
}
|
|
603
620
|
/** Every installed plugin definition, in install order; the settings page lists them. */
|
|
604
621
|
function installedWebPlugins() {
|
|
@@ -620,7 +637,7 @@ function createWebPluginRegistry(hostId) {
|
|
|
620
637
|
}
|
|
621
638
|
/** UI discovery only. Requests still require a proof injected by Electron's main process. */
|
|
622
639
|
function isDesktopClient() {
|
|
623
|
-
return
|
|
640
|
+
return hostPlatform === "desktop";
|
|
624
641
|
}
|
|
625
642
|
/**
|
|
626
643
|
* The settings pages plugins contribute, in menu order. Sorted here rather than
|
|
@@ -805,13 +822,20 @@ function createWebPluginRegistry(hostId) {
|
|
|
805
822
|
return sessionId === null ? void 0 : mcpAppRenderers.get(sessionId);
|
|
806
823
|
}
|
|
807
824
|
/**
|
|
808
|
-
* Starts every plugin runtime in install order; the disposer runs in reverse. With `onFailure`
|
|
809
|
-
* a plugin whose start throws is reported and skipped, so the others still start.
|
|
825
|
+
* Starts every plugin runtime in install order; the disposer runs in reverse, once. With `onFailure`
|
|
826
|
+
* a plugin whose start throws is reported and skipped, so the others still start. A disposer that
|
|
827
|
+
* throws does not stop the rest; the failures are rethrown together.
|
|
810
828
|
*/
|
|
811
829
|
function startPluginDefinitions(plugins, runtime, onFailure) {
|
|
812
830
|
const disposers = [];
|
|
813
831
|
const disposeStarted = () => {
|
|
814
|
-
|
|
832
|
+
const failures = [];
|
|
833
|
+
for (const dispose of disposers.splice(0).reverse()) try {
|
|
834
|
+
dispose();
|
|
835
|
+
} catch (error) {
|
|
836
|
+
failures.push(error);
|
|
837
|
+
}
|
|
838
|
+
if (failures.length > 0) throw new AggregateError(failures, "Web plugin teardown failed");
|
|
815
839
|
};
|
|
816
840
|
for (const plugin of plugins) try {
|
|
817
841
|
const sessionId = runtime.mount?.scope === "session" ? runtime.mount.sessionId : void 0;
|
|
@@ -826,13 +850,17 @@ function createWebPluginRegistry(hostId) {
|
|
|
826
850
|
return unregister;
|
|
827
851
|
} }
|
|
828
852
|
});
|
|
829
|
-
if (dispose) disposers.push(dispose);
|
|
853
|
+
if (typeof dispose === "function") disposers.push(dispose);
|
|
830
854
|
} catch (error) {
|
|
831
855
|
if (onFailure) {
|
|
832
856
|
onFailure(plugin.id, error);
|
|
833
857
|
continue;
|
|
834
858
|
}
|
|
835
|
-
|
|
859
|
+
try {
|
|
860
|
+
disposeStarted();
|
|
861
|
+
} catch (cleanup) {
|
|
862
|
+
throw new AggregateError([error, cleanup], "Web plugin start failed and its rollback failed", { cause: error });
|
|
863
|
+
}
|
|
836
864
|
throw error;
|
|
837
865
|
}
|
|
838
866
|
return disposeStarted;
|
|
@@ -864,6 +892,7 @@ function createWebPluginRegistry(hostId) {
|
|
|
864
892
|
subscribeWebPluginRegistry,
|
|
865
893
|
webPluginRegistryRevision,
|
|
866
894
|
setWebPluginLoadDiagnostics,
|
|
895
|
+
recordWebPluginRenderFailure,
|
|
867
896
|
webPluginDiagnostics: (...args) => webPluginDiagnostics(...args).map(owner),
|
|
868
897
|
installedWebPlugins: () => installedWebPlugins().map((plugin) => hostId === void 0 ? plugin : {
|
|
869
898
|
...plugin,
|
|
@@ -966,6 +995,7 @@ const webPluginsInstalled = (...args) => selectedRegistry().webPluginsInstalled(
|
|
|
966
995
|
const installSessionWebPlugins = (...args) => registryForKey(args[0]).installSessionWebPlugins(...args);
|
|
967
996
|
const removeSessionWebPlugins = (...args) => registryForKey(args[0]).removeSessionWebPlugins(...args);
|
|
968
997
|
const setWebPluginLoadDiagnostics = (...args) => registryForMount(args[0]).setWebPluginLoadDiagnostics(...args);
|
|
998
|
+
const recordWebPluginRenderFailure = (...args) => selectedRegistry().recordWebPluginRenderFailure(...args);
|
|
969
999
|
const webPluginDiagnostics = (...args) => selectedRegistry().webPluginDiagnostics(...args);
|
|
970
1000
|
const installedWebPlugins = (...args) => selectedRegistry().installedWebPlugins(...args);
|
|
971
1001
|
const pluginRepositorySettingsPanels = (...args) => selectedRegistry().pluginRepositorySettingsPanels(...args);
|
|
@@ -1066,7 +1096,13 @@ function activateWebPluginWorkspace(workspaceId) {
|
|
|
1066
1096
|
notifyRegistrySubscribers();
|
|
1067
1097
|
}
|
|
1068
1098
|
}
|
|
1099
|
+
let hostPlatform;
|
|
1100
|
+
/** Sets the shell platform identity from the web shell entrypoint instead of sniffing `window.poDesktop`. */
|
|
1101
|
+
function setWebPluginHostPlatform(platform) {
|
|
1102
|
+
hostPlatform = platform;
|
|
1103
|
+
}
|
|
1069
1104
|
function resetWebPlugins() {
|
|
1105
|
+
hostPlatform = void 0;
|
|
1070
1106
|
for (const registry of hostRegistries.values()) registry.resetWebPlugins();
|
|
1071
1107
|
hostRegistries.clear();
|
|
1072
1108
|
activeHostId = void 0;
|
|
@@ -1127,6 +1163,7 @@ exports.pluginSettingsSections = pluginSettingsSections;
|
|
|
1127
1163
|
exports.pluginThemes = pluginThemes;
|
|
1128
1164
|
exports.pluginToolRenderer = pluginToolRenderer;
|
|
1129
1165
|
exports.pluginUserMessageActions = pluginUserMessageActions;
|
|
1166
|
+
exports.recordWebPluginRenderFailure = recordWebPluginRenderFailure;
|
|
1130
1167
|
exports.registeredWebPluginHostIds = registeredWebPluginHostIds;
|
|
1131
1168
|
exports.removeHostWebPlugins = removeHostWebPlugins;
|
|
1132
1169
|
exports.removeSessionWebPlugins = removeSessionWebPlugins;
|
|
@@ -1134,6 +1171,7 @@ exports.removeWorkspaceWebPlugins = removeWorkspaceWebPlugins;
|
|
|
1134
1171
|
exports.resetWebPlugins = resetWebPlugins;
|
|
1135
1172
|
exports.sessionToolRenderer = sessionToolRenderer;
|
|
1136
1173
|
exports.sessionWebPluginsInstalled = sessionWebPluginsInstalled;
|
|
1174
|
+
exports.setWebPluginHostPlatform = setWebPluginHostPlatform;
|
|
1137
1175
|
exports.setWebPluginLoadDiagnostics = setWebPluginLoadDiagnostics;
|
|
1138
1176
|
exports.slotFills = slotFills;
|
|
1139
1177
|
exports.startPluginDefinitions = startPluginDefinitions;
|