@agimon-ai/po-web-dashboard 0.0.0-alpha.148 → 0.0.0-alpha.149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/core.cjs +5 -0
  2. package/dist/core.d.mts +3 -2
  3. package/dist/core.mjs +3 -2
  4. package/dist/index.cjs +2 -0
  5. package/dist/index.d.mts +2 -2
  6. package/dist/index.mjs +2 -2
  7. package/dist/web/components/HomeActivity.cjs +254 -0
  8. package/dist/web/components/HomeActivity.cjs.map +1 -0
  9. package/dist/web/components/HomeActivity.mjs +254 -0
  10. package/dist/web/components/HomeActivity.mjs.map +1 -0
  11. package/dist/web/components/HomePage.cjs +155 -45
  12. package/dist/web/components/HomePage.cjs.map +1 -1
  13. package/dist/web/components/HomePage.d.mts +2 -2
  14. package/dist/web/components/HomePage.d.mts.map +1 -1
  15. package/dist/web/components/HomePage.mjs +157 -47
  16. package/dist/web/components/HomePage.mjs.map +1 -1
  17. package/dist/web/features/sessions/useSessionRail.cjs +2 -51
  18. package/dist/web/features/sessions/useSessionRail.cjs.map +1 -1
  19. package/dist/web/features/sessions/useSessionRail.d.mts.map +1 -1
  20. package/dist/web/features/sessions/useSessionRail.mjs +2 -51
  21. package/dist/web/features/sessions/useSessionRail.mjs.map +1 -1
  22. package/dist/web/lib/homeActivity.cjs +251 -0
  23. package/dist/web/lib/homeActivity.cjs.map +1 -0
  24. package/dist/web/lib/homeActivity.d.mts +80 -0
  25. package/dist/web/lib/homeActivity.d.mts.map +1 -0
  26. package/dist/web/lib/homeActivity.mjs +250 -0
  27. package/dist/web/lib/homeActivity.mjs.map +1 -0
  28. package/dist/web/lib/pluginRegistry.cjs +3 -1
  29. package/dist/web/lib/pluginRegistry.cjs.map +1 -1
  30. package/dist/web/lib/pluginRegistry.d.mts +2 -0
  31. package/dist/web/lib/pluginRegistry.d.mts.map +1 -1
  32. package/dist/web/lib/pluginRegistry.mjs +3 -1
  33. package/dist/web/lib/pluginRegistry.mjs.map +1 -1
  34. package/dist/web/lib/protocolHubSocket.cjs +7 -5
  35. package/dist/web/lib/protocolHubSocket.cjs.map +1 -1
  36. package/dist/web/lib/protocolHubSocket.mjs +7 -5
  37. package/dist/web/lib/protocolHubSocket.mjs.map +1 -1
  38. package/dist/web/lib/transport.cjs +18 -1
  39. package/dist/web/lib/transport.cjs.map +1 -1
  40. package/dist/web/lib/transport.d.mts +7 -2
  41. package/dist/web/lib/transport.d.mts.map +1 -1
  42. package/dist/web/lib/transport.mjs +17 -2
  43. package/dist/web/lib/transport.mjs.map +1 -1
  44. package/dist/web/stores/useHomeReads.cjs +62 -0
  45. package/dist/web/stores/useHomeReads.cjs.map +1 -0
  46. package/dist/web/stores/useHomeReads.mjs +62 -0
  47. package/dist/web/stores/useHomeReads.mjs.map +1 -0
  48. package/dist/web/stores/useSessionAvatars.cjs +56 -0
  49. package/dist/web/stores/useSessionAvatars.cjs.map +1 -0
  50. package/dist/web/stores/useSessionAvatars.mjs +56 -0
  51. package/dist/web/stores/useSessionAvatars.mjs.map +1 -0
  52. package/package.json +5 -5
package/dist/core.cjs CHANGED
@@ -42,6 +42,7 @@ const require_threadStore = require("./web/stores/threadStore.cjs");
42
42
  const require_transientTabsStore = require("./web/stores/transientTabsStore.cjs");
43
43
  const require_dialogDraftStore = require("./web/stores/dialogDraftStore.cjs");
44
44
  const require_cloudHub = require("./web/lib/cloudHub.cjs");
45
+ const require_homeActivity = require("./web/lib/homeActivity.cjs");
45
46
  const require_webmcpSimulator = require("./web/lib/webmcpSimulator.cjs");
46
47
  let _agimon_ai_po_core_web = require("@agimon-ai/po-core/web");
47
48
  exports.BUILTIN_COMMANDS = require_commands.BUILTIN_COMMANDS;
@@ -163,8 +164,10 @@ exports.heldThreads = require_threadStore.heldThreads;
163
164
  exports.heldVoiceSessions = require_sessionChannelHoldsStore.heldVoiceSessions;
164
165
  exports.holdSessionChannels = require_sessionChannelHoldsStore.holdSessionChannels;
165
166
  exports.holdVoiceSession = require_sessionChannelHoldsStore.holdVoiceSession;
167
+ exports.homeActivity = require_homeActivity.homeActivity;
166
168
  exports.homeAppEntries = require_homeApps.homeAppEntries;
167
169
  exports.homePageRoute = require_homeApps.homePageRoute;
170
+ exports.homeTime = require_homeActivity.homeTime;
168
171
  exports.hostPluginProviders = require_pluginRegistry.hostPluginProviders;
169
172
  exports.hostSlotFills = require_pluginRegistry.hostSlotFills;
170
173
  exports.hostSlotFillsAcrossHosts = require_pluginRegistry.hostSlotFillsAcrossHosts;
@@ -199,6 +202,7 @@ exports.noteStoreUpdate = require_uiTrace.noteStoreUpdate;
199
202
  exports.notifyHubConnected = require_transport.notifyHubConnected;
200
203
  exports.onCaptureStatus = require_captureStore.onCaptureStatus;
201
204
  exports.onComposerSubmitted = require_composerSubmissions.onComposerSubmitted;
205
+ exports.onHostConnected = require_transport.onHostConnected;
202
206
  exports.onHubConnected = require_transport.onHubConnected;
203
207
  exports.openTransientTab = require_transientTabsStore.openTransientTab;
204
208
  exports.ownerLabel = require_contextComposition.ownerLabel;
@@ -240,6 +244,7 @@ exports.qualifyHostKey = require_hostIdentity.qualifyHostKey;
240
244
  exports.queueFollowUp = require_sessionStore.queueFollowUp;
241
245
  exports.queueFollowUpWithAck = require_sessionStore.queueFollowUpWithAck;
242
246
  exports.railSessionStatus = require_sessionRailModel.railSessionStatus;
247
+ exports.readHostHome = require_transport.readHostHome;
243
248
  exports.reduceSession = require_sessionModel.reduceSession;
244
249
  exports.refreshSessionFacts = require_sessionStore.refreshSessionFacts;
245
250
  exports.refreshSessionSelection = require_sessionStore.refreshSessionSelection;
package/dist/core.d.mts CHANGED
@@ -4,7 +4,7 @@ import { BUILTIN_COMMANDS, RpcImage, abortCommand, builtinCommandFrame, clearQue
4
4
  import { CompletionItem, CompletionKind, CompletionTrigger, MAX_COMPLETION_ITEMS, TRIGGER_CHARS, commandCompletions, fileCompletions, triggerTokenAt } from "./web/lib/composerCompletion.mjs";
5
5
  import { MentionableSession, SESSION_REFERENCE_SCHEME, resolveSessionReference, sessionCompletions, sessionSlug, sessionToken } from "./web/lib/sessionMentions.mjs";
6
6
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
7
- import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
7
+ import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHostConnected, onHubConnected, readHostHome, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
8
8
  import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
9
9
  import { homeAppEntries, homePageRoute } from "./web/lib/homeApps.mjs";
10
10
  import { InstalledPluginTheme, isHexTheme } from "./web/lib/pluginThemes.mjs";
@@ -20,6 +20,7 @@ import { ToolRendererBoundary } from "./web/lib/ToolRendererBoundary.mjs";
20
20
  import { updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
21
21
  import { AttachPhase, StatusClock, StatusLineInput, abbreviateCwd, personaInitials, runningCount, sessionStatusClock, sessionStatusLine, summaryValueEqual } from "./web/lib/sessionSummary.mjs";
22
22
  import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, liveSessionOptions, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
23
+ import { HomeActivityItem, HomeActivityModel, HomeActor, HomeHostRead, HomeSessionInput, HomeTarget, HomeWaitingItem, homeActivity, homeTime } from "./web/lib/homeActivity.mjs";
23
24
  import { SessionMeta, SessionsState, UPDATE_REQUIRED_REASON, activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, markUpdateRequired, mentionableSessions, noSessions, resetSessions, resolveParentId, sameRailEntries, sameRailEntry, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, useRailEntries, useRailEntry, waitForSession } from "./web/stores/sessionsStore.mjs";
24
25
  import { HistoryPage, abortRun, answerDialogConfirm, answerDialogValue, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionFrame, applySessionLifecycle, applyThreadFrame, beginSessionReplay, bindHistoryReader, cancelDialog, clearQueuedMessages, deleteQueuedMessage, dropSessionStore, endSessionReplay, loadModelChoices, promoteQueuedMessage, queueFollowUp, queueFollowUpWithAck, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, releaseProtocolTranscript, renameSession, requestLatestHistory, requestNewerHistory, requestOlderHistory, resetSessionStore, resetSessionStores, resumeQueuedMessages, rewindToMessage, runCommand, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, sessionStoreFor, setAgentLock, setHasNewerHistory, setSessionStreamed, streamedSessions, submitMessage, submitMessageWithAck, useActiveSession, useHasOlderHistory } from "./web/stores/sessionStore.mjs";
25
26
  import { createPagedTranscript } from "./web/stores/pagedTranscriptStore.mjs";
@@ -42,4 +43,4 @@ import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs";
42
43
  import { defaultHostId, isHostId, localHostId, parseHostKey, qualifyHostId, qualifyHostKey, setDefaultHostId, splitHostId } from "./web/lib/hostIdentity.mjs";
43
44
  import { CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, createCloudHub } from "./web/lib/cloudHub.mjs";
44
45
  import { asWorkspace } from "./web/lib/workspaceSummary.mjs";
45
- export { 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, ImageRefScope, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, type InstalledNativeTemplate, type InstalledPluginTheme, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, IntercomEntry, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MentionableSession, MenuClaim, MenuKind, MenuState, type MinorMode, ModelChoice, type NativeTemplateCatalog, NoticeEntry, ProfileIdentity, QueuedEntry, RailRestartState, RailSessionInput, ReduceSessionOptions, ResolvedFill, RpcImage, SESSION_REFERENCE_SCHEME, type SelectionAxis, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettledEntry, StatusClock, StatusLineInput, TRIGGER_CHARS, ThreadTranscriptReader, TimelineEntry, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolRendererBoundary, type TransientTabActions, UPDATE_REQUIRED_REASON, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginRegistry, WorkspacesState, abbreviateCwd, abortCommand, abortRun, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railSessionStatus, reduceSession, 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, 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, sessionMinorModes, sessionMoveTarget, 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, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
46
+ export { 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, ImageRefScope, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, type InstalledNativeTemplate, type InstalledPluginTheme, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, IntercomEntry, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MentionableSession, MenuClaim, MenuKind, MenuState, type MinorMode, ModelChoice, type NativeTemplateCatalog, NoticeEntry, ProfileIdentity, QueuedEntry, RailRestartState, RailSessionInput, ReduceSessionOptions, ResolvedFill, RpcImage, SESSION_REFERENCE_SCHEME, type SelectionAxis, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettledEntry, StatusClock, StatusLineInput, TRIGGER_CHARS, ThreadTranscriptReader, TimelineEntry, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolRendererBoundary, type TransientTabActions, UPDATE_REQUIRED_REASON, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginRegistry, WorkspacesState, abbreviateCwd, abortCommand, abortRun, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeActivity, homeAppEntries, homePageRoute, homeTime, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railSessionStatus, readHostHome, reduceSession, 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, 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, sessionMinorModes, sessionMoveTarget, 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, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
package/dist/core.mjs CHANGED
@@ -15,7 +15,7 @@ import { SESSION_REFERENCE_SCHEME, resolveSessionReference, sessionCompletions,
15
15
  import { asWorkspace } from "./web/lib/workspaceSummary.mjs";
16
16
  import { ToolRendererBoundary } from "./web/lib/ToolRendererBoundary.mjs";
17
17
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
18
- import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
18
+ import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHostConnected, onHubConnected, readHostHome, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
19
19
  import { pluginSessionContext, pluginSlotProps, renderRegion } from "./web/lib/pluginSlotProps.mjs";
20
20
  import { createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
21
21
  import { abbreviateCwd, personaInitials, runningCount, sessionStatusClock, sessionStatusLine, summaryValueEqual } from "./web/lib/sessionSummary.mjs";
@@ -41,5 +41,6 @@ import { applyThreadTranscriptFrame, bindThreadReader, dropThreads, heldThreads,
41
41
  import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, setTransientTabSession, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs";
42
42
  import { updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
43
43
  import { CLOUD_HUB_POLL_MS, createCloudHub } from "./web/lib/cloudHub.mjs";
44
+ import { homeActivity, homeTime } from "./web/lib/homeActivity.mjs";
44
45
  import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs";
45
- export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, HOST_SLOTS, ImageRefScope, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, SESSION_REFERENCE_SCHEME, TRIGGER_CHARS, ToolRendererBoundary, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railSessionStatus, reduceSession, 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, 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, sessionMinorModes, sessionMoveTarget, 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, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
46
+ export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, HOST_SLOTS, ImageRefScope, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, SESSION_REFERENCE_SCHEME, TRIGGER_CHARS, ToolRendererBoundary, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeActivity, homeAppEntries, homePageRoute, homeTime, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railSessionStatus, readHostHome, reduceSession, 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, 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, sessionMinorModes, sessionMoveTarget, 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, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
package/dist/index.cjs CHANGED
@@ -368,6 +368,7 @@ exports.noteStoreUpdate = require_uiTrace.noteStoreUpdate;
368
368
  exports.notifyHubConnected = require_transport.notifyHubConnected;
369
369
  exports.onCaptureStatus = require_captureStore.onCaptureStatus;
370
370
  exports.onComposerSubmitted = require_composerSubmissions.onComposerSubmitted;
371
+ exports.onHostConnected = require_transport.onHostConnected;
371
372
  exports.onHubConnected = require_transport.onHubConnected;
372
373
  exports.onSealedSignInRequired = require_sealedSession.onSealedSignInRequired;
373
374
  exports.openGeneralSession = require_newSessionStore.openGeneralSession;
@@ -426,6 +427,7 @@ exports.railDialogStore = require_railDialogStore.railDialogStore;
426
427
  exports.railRestartStore = require_railDialogStore.railRestartStore;
427
428
  exports.railSessionStatus = require_sessionRailModel.railSessionStatus;
428
429
  exports.readDormantTranscriptPage = require_hubApi.readDormantTranscriptPage;
430
+ exports.readHostHome = require_transport.readHostHome;
429
431
  exports.readImageSettings = require_settingsApi.readImageSettings;
430
432
  exports.readLogin = require_authApi.readLogin;
431
433
  exports.readPresetSettings = require_settingsApi.readPresetSettings;
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import { AgentInfo, AssistantEntry, CommandInfo, DialogMethod, DialogRequest, Ed
3
3
  import { BUILTIN_COMMANDS, RpcImage, abortCommand, builtinCommandFrame, clearQueueCommand, compactCommand, dialogCancelled, dialogConfirmed, dialogValue, enqueueAutomaticCommand, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, promoteQueuedCommand, promptCommand, removeQueuedCommand, resumeQueueCommand, rewindCommand, setModelCommand, setSessionNameCommand, setThinkingLevelCommand, steerCommand } from "./web/lib/commands.mjs";
4
4
  import { CompletionItem, CompletionKind, CompletionTrigger, MAX_COMPLETION_ITEMS, TRIGGER_CHARS, commandCompletions, fileCompletions, triggerTokenAt } from "./web/lib/composerCompletion.mjs";
5
5
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
6
- import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
6
+ import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHostConnected, onHubConnected, readHostHome, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
7
7
  import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
8
8
  import { homeAppEntries, homePageRoute } from "./web/lib/homeApps.mjs";
9
9
  import { InstalledNativeTemplate, InstalledWebTemplate, NativeTemplateCatalog, WebTemplateCatalog, WebTemplateDiagnostic, backdropId, bindBundledNativeTemplates, bindBundledWebTemplates, bundledNativeTemplate, collectNativeTemplates, collectWebTemplates, resolveBackdrop, resolveNativeTemplate, resolveWebTemplate } from "./web/lib/templateCatalog.mjs";
@@ -84,4 +84,4 @@ import { WorkspaceAdmissionDraft, admitDashboardWorkspace, admitDeclaredDashboar
84
84
  import { EMPTY_SETTINGS_DRAFT, SettingsDraftState, SettingsDraftTarget, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
85
85
  import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
86
86
  import { DashboardRendererProvider, DashboardRenderers } from "./web/lib/dashboardRenderers.mjs";
87
- export { 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, DevProxyState, DialogDraft, DialogMethod, DialogPromptClaim, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnsureHomeCoordinatorResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GatewaySettings, GroupUnit, HOST_SLOTS, HistoryPage, ImageSettingsResult, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledNativeTemplate, InstalledRepositorySettingsPanel, InstalledSettingsPanel, 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, MinorMode, MinorModeAvailability, MinorModeSource, ModelChoice, NativeTemplateCatalog, NewSessionDraft, NewSessionState, NoticeEntry, PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, PairTarget, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, PresetSettingsResult, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, RemovedSessionsResult, ResolvedFill, RestartSessionResult, RestoreRemovedSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ResumeView, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SetSessionRoleResult, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsSectionGroup, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusClock, StatusLineInput, StopSessionResult, StoredSessionAttachment, TRIGGER_CHARS, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, ThreadTranscriptReader, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UPDATE_REQUIRED_REASON, UiState, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebPluginRegistry, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspaceSandboxRequest, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, moveDashboardSession, moveSession, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHubConnected, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, railSessionStatus, readDormantTranscriptPage, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
87
+ export { 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, DevProxyState, DialogDraft, DialogMethod, DialogPromptClaim, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnsureHomeCoordinatorResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GatewaySettings, GroupUnit, HOST_SLOTS, HistoryPage, ImageSettingsResult, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledNativeTemplate, InstalledRepositorySettingsPanel, InstalledSettingsPanel, 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, MinorMode, MinorModeAvailability, MinorModeSource, ModelChoice, NativeTemplateCatalog, NewSessionDraft, NewSessionState, NoticeEntry, PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, PairTarget, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, PresetSettingsResult, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, RemovedSessionsResult, ResolvedFill, RestartSessionResult, RestoreRemovedSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ResumeView, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SetSessionRoleResult, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsSectionGroup, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusClock, StatusLineInput, StopSessionResult, StoredSessionAttachment, TRIGGER_CHARS, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, ThreadTranscriptReader, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UPDATE_REQUIRED_REASON, UiState, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebPluginRegistry, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspaceSandboxRequest, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, moveDashboardSession, moveSession, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, railSessionStatus, readDormantTranscriptPage, readHostHome, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
package/dist/index.mjs CHANGED
@@ -31,7 +31,7 @@ import { bindSessionActivityRenderer, releaseSessionActivityRenderer, renderSess
31
31
  import { bindSessionTranscriptRenderer, releaseSessionTranscriptRenderer, renderSessionTranscript } from "./web/lib/sessionTranscriptRenderer.mjs";
32
32
  import { bindThreadRenderer, releaseThreadRenderer, renderThread } from "./web/lib/threadRenderer.mjs";
33
33
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
34
- import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
34
+ import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHostConnected, onHubConnected, readHostHome, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
35
35
  import { pluginSessionContext, pluginSlotFills, pluginSlotProps, renderRegion } from "./web/lib/pluginSlotProps.mjs";
36
36
  import { focusPrompt, registerPromptInput } from "./web/lib/promptFocus.mjs";
37
37
  import { createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
@@ -84,4 +84,4 @@ import { dialogDraftStore, updateDialogDraft, useDialogDraft } from "./web/store
84
84
  import { EMPTY_SETTINGS_DRAFT, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
85
85
  import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
86
86
  import { CLOUD_HUB_POLL_MS, createCloudHub } from "./web/lib/cloudHub.mjs";
87
- export { 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_MINOR_MODES, PACKAGED_SELECTION_AXES, STEP_UP_HEADER_NAME, TRIGGER_CHARS, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, moveDashboardSession, moveSession, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHubConnected, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, railSessionStatus, readDormantTranscriptPage, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
87
+ export { 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_MINOR_MODES, PACKAGED_SELECTION_AXES, STEP_UP_HEADER_NAME, TRIGGER_CHARS, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, moveDashboardSession, moveSession, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, railSessionStatus, readDormantTranscriptPage, readHostHome, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
@@ -0,0 +1,254 @@
1
+ let react = require("react");
2
+ let _agimon_ai_po_web_components = require("@agimon-ai/po-web-components");
3
+ let react_jsx_runtime = require("react/jsx-runtime");
4
+ //#region src/web/components/HomeActivity.tsx
5
+ /** Rows per page of the Today timeline, so a busy day stays one screen tall. */
6
+ const PAGE_SIZE = 8;
7
+ function Source({ row }) {
8
+ if (row.actor) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.AgentAvatar, {
9
+ name: row.actor.name,
10
+ ...row.actor.image === void 0 ? {} : { image: row.actor.image },
11
+ size: "sm"
12
+ });
13
+ const Icon = row.icon ?? _agimon_ai_po_web_components.ActivityIcon;
14
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
15
+ className: "flex size-6 shrink-0 items-center justify-center rounded-md bg-po-deep text-po-dim",
16
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, {
17
+ "aria-hidden": true,
18
+ className: "size-3.5"
19
+ })
20
+ });
21
+ }
22
+ function RowBody({ row }) {
23
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Source, { row }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
24
+ className: "flex min-w-0 flex-1 flex-col",
25
+ children: [
26
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
27
+ className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
28
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
29
+ className: "truncate text-base font-semibold text-po-hi",
30
+ children: row.name
31
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
32
+ className: `text-base ${row.tone === "red" ? "text-po-red" : "text-po-text"}`,
33
+ children: row.outcome
34
+ })]
35
+ }),
36
+ row.branch ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
37
+ className: "font-mono text-sm text-po-dim",
38
+ children: row.branch
39
+ }) : null,
40
+ row.source ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
41
+ className: "text-sm text-po-dim",
42
+ children: row.source
43
+ }) : null
44
+ ]
45
+ })] });
46
+ }
47
+ function Timeline({ rows, onShowEarlier }) {
48
+ const [requestedPage, setPage] = (0, react.useState)(0);
49
+ const pages = Math.max(1, Math.ceil(rows.length / PAGE_SIZE));
50
+ const page = Math.min(requestedPage, pages - 1);
51
+ const first = page * PAGE_SIZE;
52
+ const shown = rows.slice(first, first + PAGE_SIZE);
53
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_agimon_ai_po_web_components.Panel, {
54
+ className: "bg-po-panel/80",
55
+ children: [
56
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.PanelHeader, {
57
+ className: "min-h-11 px-4",
58
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
59
+ className: "text-lg font-semibold text-po-hi",
60
+ children: "Today"
61
+ })
62
+ }),
63
+ rows.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.EmptyState, {
64
+ title: "Nothing yet today",
65
+ description: "What Po works on shows up here as it happens."
66
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ol", {
67
+ className: "px-4 pb-2",
68
+ children: shown.map((row, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
69
+ className: "flex gap-3",
70
+ children: [
71
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("time", {
72
+ className: "w-12 shrink-0 pt-2.5 text-sm text-po-dim tabular-nums",
73
+ children: row.at
74
+ }),
75
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
76
+ "aria-hidden": true,
77
+ className: "flex w-2 shrink-0 flex-col items-center",
78
+ children: [
79
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: `h-3.5 w-px ${index === 0 ? "" : "bg-po-border-soft"}` }),
80
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Dot, {
81
+ tone: row.tone,
82
+ size: "md"
83
+ }),
84
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: `w-px flex-1 ${index === shown.length - 1 ? "" : "bg-po-border-soft"}` })
85
+ ]
86
+ }),
87
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
88
+ className: "min-w-0 flex-1 pb-1.5",
89
+ children: row.onOpen ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Button, {
90
+ variant: "ghost",
91
+ size: "card",
92
+ onClick: row.onOpen,
93
+ className: "-mx-2 flex-row items-start gap-2.5 px-2 py-1.5 font-normal",
94
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RowBody, { row })
95
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
96
+ className: "flex items-start gap-2.5 py-1.5",
97
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RowBody, { row })
98
+ })
99
+ })
100
+ ]
101
+ }, row.id))
102
+ }),
103
+ pages > 1 || onShowEarlier ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("nav", {
104
+ "aria-label": "Today pages",
105
+ className: "flex items-center gap-2 border-t border-po-border-soft px-4 py-2",
106
+ children: [onShowEarlier ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Button, {
107
+ variant: "ghost",
108
+ size: "sm",
109
+ onClick: onShowEarlier,
110
+ children: "Show earlier"
111
+ }) : null, pages > 1 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
112
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
113
+ className: "ml-auto text-sm text-po-dim tabular-nums",
114
+ "aria-live": "polite",
115
+ children: [
116
+ first + 1,
117
+ "–",
118
+ first + shown.length,
119
+ " of ",
120
+ rows.length
121
+ ]
122
+ }),
123
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Button, {
124
+ variant: "ghost",
125
+ size: "sm",
126
+ disabled: page === 0,
127
+ onClick: () => setPage(page - 1),
128
+ children: "Newer"
129
+ }),
130
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Button, {
131
+ variant: "ghost",
132
+ size: "sm",
133
+ disabled: page === pages - 1,
134
+ onClick: () => setPage(page + 1),
135
+ children: "Older"
136
+ })
137
+ ] }) : null]
138
+ }) : null
139
+ ]
140
+ });
141
+ }
142
+ function Waiting({ rows }) {
143
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_agimon_ai_po_web_components.Panel, {
144
+ className: "bg-po-panel/80",
145
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.PanelHeader, {
146
+ className: "min-h-11 px-4",
147
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
148
+ className: "text-lg font-semibold text-po-hi",
149
+ children: "Waiting on you"
150
+ })
151
+ }), rows.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
152
+ className: "px-4 pb-4 text-base text-po-dim",
153
+ children: "Nothing needs you right now."
154
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
155
+ className: "px-1.5 pb-1.5",
156
+ children: rows.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_agimon_ai_po_web_components.Button, {
157
+ variant: "ghost",
158
+ size: "card",
159
+ onClick: row.onOpen,
160
+ disabled: row.onOpen === void 0,
161
+ className: "flex-row items-center gap-2.5 font-normal",
162
+ children: [
163
+ row.actor ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.AgentAvatar, {
164
+ name: row.actor.name,
165
+ ...row.actor.image === void 0 ? {} : { image: row.actor.image },
166
+ size: "sm"
167
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
168
+ className: "flex size-6 shrink-0 items-center justify-center",
169
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Dot, {
170
+ tone: row.failed ? "red" : "magenta",
171
+ size: "md"
172
+ })
173
+ }),
174
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
175
+ className: "flex min-w-0 flex-1 flex-col",
176
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
177
+ className: "truncate text-base font-semibold text-po-hi",
178
+ children: row.name
179
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
180
+ className: `text-sm ${row.failed ? "text-po-red" : "text-po-dim"}`,
181
+ children: row.detail
182
+ })]
183
+ }),
184
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.ChevronRightIcon, {
185
+ "aria-hidden": true,
186
+ className: "size-4 text-po-dim"
187
+ })
188
+ ]
189
+ }) }, row.id))
190
+ })]
191
+ });
192
+ }
193
+ function TimelineLoading() {
194
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_agimon_ai_po_web_components.Panel, {
195
+ className: "space-y-3 bg-po-panel/80 p-4",
196
+ "aria-busy": "true",
197
+ "aria-label": "Loading today",
198
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Skeleton, { className: "h-5 w-24" }), [
199
+ 0,
200
+ 1,
201
+ 2,
202
+ 3
203
+ ].map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Skeleton, { className: "h-8 w-full" }, row))]
204
+ });
205
+ }
206
+ /** Home: what Po is doing, newest first, beside what waits on the person. */
207
+ function HomeActivity({ summary, activity, waiting, coverage, title = "Home", loading = false, onShowEarlier, toolbar, controls, lead, main, aside, bare = false }) {
208
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
209
+ "aria-label": title,
210
+ "data-testid": "home-page",
211
+ className: `flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto font-sans text-base text-po-text ${bare ? "" : "bg-po-bg"}`,
212
+ children: [toolbar, /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
213
+ className: "mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-6 md:px-8 md:py-8",
214
+ children: [
215
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", {
216
+ className: "flex flex-col gap-1",
217
+ children: [bare ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
218
+ className: "text-2xl font-semibold text-po-hi",
219
+ children: title
220
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
221
+ className: "text-base text-po-dim",
222
+ children: summary
223
+ })]
224
+ }),
225
+ controls,
226
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
227
+ className: "grid items-start gap-4 md:grid-cols-3",
228
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
229
+ className: "flex min-w-0 flex-col gap-4 md:col-span-2",
230
+ children: [
231
+ lead,
232
+ loading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TimelineLoading, {}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Timeline, {
233
+ rows: activity,
234
+ ...onShowEarlier === void 0 ? {} : { onShowEarlier }
235
+ }),
236
+ main
237
+ ]
238
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("aside", {
239
+ className: "order-first flex min-w-0 flex-col gap-4 md:order-none",
240
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Waiting, { rows: waiting }), aside]
241
+ })]
242
+ }),
243
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
244
+ className: "text-sm text-po-dim",
245
+ children: coverage
246
+ })
247
+ ]
248
+ })]
249
+ });
250
+ }
251
+ //#endregion
252
+ exports.HomeActivity = HomeActivity;
253
+
254
+ //# sourceMappingURL=HomeActivity.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HomeActivity.cjs","names":["AgentAvatar","ActivityIcon","useState","Panel","PanelHeader","EmptyState","Dot","Button","ChevronRightIcon","Skeleton"],"sources":["../../../src/web/components/HomeActivity.tsx"],"sourcesContent":["import {\n ActivityIcon,\n AgentAvatar,\n Button,\n ChevronRightIcon,\n Dot,\n EmptyState,\n Panel,\n PanelHeader,\n Skeleton,\n} from '@agimon-ai/po-web-components';\nimport { type ReactNode, useState } from 'react';\n\n/** Rows per page of the Today timeline, so a busy day stays one screen tall. */\nconst PAGE_SIZE = 8;\nimport type { HomeActivityItem, HomeWaitingItem } from '../lib/homeActivity';\n\nexport interface HomeActivityRow extends Omit<HomeActivityItem, 'target'> {\n onOpen?: () => void;\n}\n\nexport interface HomeWaitingRow extends Omit<HomeWaitingItem, 'target'> {\n onOpen?: () => void;\n}\n\nexport interface HomeActivityProps {\n summary: string;\n activity: readonly HomeActivityRow[];\n waiting: readonly HomeWaitingRow[];\n coverage: string;\n title?: string;\n loading?: boolean;\n /** Shown while older rows are hidden. */\n onShowEarlier?: () => void;\n /** Above the heading, such as the narrow-screen sessions button. */\n toolbar?: ReactNode;\n /** Under the heading, such as the host filter. */\n controls?: ReactNode;\n /** Plugin cards for things waiting on the person; they lead the main column and hide when idle. */\n lead?: ReactNode;\n /** Plugin cards under the timeline. */\n main?: ReactNode;\n /** Narrow plugin cards under Waiting on you. */\n aside?: ReactNode;\n /** Drawn on a template's own background, such as a desktop: no page background and no heading. */\n bare?: boolean;\n}\n\nfunction Source({ row }: { row: HomeActivityRow }) {\n if (row.actor)\n return (\n <AgentAvatar\n name={row.actor.name}\n {...(row.actor.image === undefined ? {} : { image: row.actor.image })}\n size=\"sm\"\n />\n );\n const Icon = row.icon ?? ActivityIcon;\n return (\n <span className=\"flex size-6 shrink-0 items-center justify-center rounded-md bg-po-deep text-po-dim\">\n <Icon aria-hidden className=\"size-3.5\" />\n </span>\n );\n}\n\nfunction RowBody({ row }: { row: HomeActivityRow }) {\n return (\n <>\n <Source row={row} />\n <span className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"flex min-w-0 flex-wrap items-baseline gap-x-2\">\n <span className=\"truncate text-base font-semibold text-po-hi\">{row.name}</span>\n <span className={`text-base ${row.tone === 'red' ? 'text-po-red' : 'text-po-text'}`}>{row.outcome}</span>\n </span>\n {row.branch ? <span className=\"font-mono text-sm text-po-dim\">{row.branch}</span> : null}\n {row.source ? <span className=\"text-sm text-po-dim\">{row.source}</span> : null}\n </span>\n </>\n );\n}\n\nfunction Timeline({ rows, onShowEarlier }: { rows: readonly HomeActivityRow[]; onShowEarlier?: () => void }) {\n const [requestedPage, setPage] = useState(0);\n const pages = Math.max(1, Math.ceil(rows.length / PAGE_SIZE));\n // Rows come and go live, so a page past the end shows the last one.\n const page = Math.min(requestedPage, pages - 1);\n const first = page * PAGE_SIZE;\n const shown = rows.slice(first, first + PAGE_SIZE);\n return (\n <Panel className=\"bg-po-panel/80\">\n <PanelHeader className=\"min-h-11 px-4\">\n <h2 className=\"text-lg font-semibold text-po-hi\">Today</h2>\n </PanelHeader>\n {rows.length === 0 ? (\n <EmptyState title=\"Nothing yet today\" description=\"What Po works on shows up here as it happens.\" />\n ) : (\n <ol className=\"px-4 pb-2\">\n {shown.map((row, index) => (\n <li key={row.id} className=\"flex gap-3\">\n <time className=\"w-12 shrink-0 pt-2.5 text-sm text-po-dim tabular-nums\">{row.at}</time>\n {/* One unbroken line: a segment above and below each dot, trimmed at both ends. */}\n <div aria-hidden className=\"flex w-2 shrink-0 flex-col items-center\">\n <span className={`h-3.5 w-px ${index === 0 ? '' : 'bg-po-border-soft'}`} />\n <Dot tone={row.tone} size=\"md\" />\n <span className={`w-px flex-1 ${index === shown.length - 1 ? '' : 'bg-po-border-soft'}`} />\n </div>\n <div className=\"min-w-0 flex-1 pb-1.5\">\n {row.onOpen ? (\n <Button\n variant=\"ghost\"\n size=\"card\"\n onClick={row.onOpen}\n className=\"-mx-2 flex-row items-start gap-2.5 px-2 py-1.5 font-normal\"\n >\n <RowBody row={row} />\n </Button>\n ) : (\n <div className=\"flex items-start gap-2.5 py-1.5\">\n <RowBody row={row} />\n </div>\n )}\n </div>\n </li>\n ))}\n </ol>\n )}\n {pages > 1 || onShowEarlier ? (\n <nav aria-label=\"Today pages\" className=\"flex items-center gap-2 border-t border-po-border-soft px-4 py-2\">\n {onShowEarlier ? (\n <Button variant=\"ghost\" size=\"sm\" onClick={onShowEarlier}>\n Show earlier\n </Button>\n ) : null}\n {pages > 1 ? (\n <>\n <span className=\"ml-auto text-sm text-po-dim tabular-nums\" aria-live=\"polite\">\n {first + 1}–{first + shown.length} of {rows.length}\n </span>\n <Button variant=\"ghost\" size=\"sm\" disabled={page === 0} onClick={() => setPage(page - 1)}>\n Newer\n </Button>\n <Button variant=\"ghost\" size=\"sm\" disabled={page === pages - 1} onClick={() => setPage(page + 1)}>\n Older\n </Button>\n </>\n ) : null}\n </nav>\n ) : null}\n </Panel>\n );\n}\n\nfunction Waiting({ rows }: { rows: readonly HomeWaitingRow[] }) {\n return (\n <Panel className=\"bg-po-panel/80\">\n <PanelHeader className=\"min-h-11 px-4\">\n <h2 className=\"text-lg font-semibold text-po-hi\">Waiting on you</h2>\n </PanelHeader>\n {rows.length === 0 ? (\n <p className=\"px-4 pb-4 text-base text-po-dim\">Nothing needs you right now.</p>\n ) : (\n <ul className=\"px-1.5 pb-1.5\">\n {rows.map((row) => (\n <li key={row.id}>\n <Button\n variant=\"ghost\"\n size=\"card\"\n onClick={row.onOpen}\n disabled={row.onOpen === undefined}\n className=\"flex-row items-center gap-2.5 font-normal\"\n >\n {row.actor ? (\n <AgentAvatar\n name={row.actor.name}\n {...(row.actor.image === undefined ? {} : { image: row.actor.image })}\n size=\"sm\"\n />\n ) : (\n <span className=\"flex size-6 shrink-0 items-center justify-center\">\n <Dot tone={row.failed ? 'red' : 'magenta'} size=\"md\" />\n </span>\n )}\n <span className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"truncate text-base font-semibold text-po-hi\">{row.name}</span>\n <span className={`text-sm ${row.failed ? 'text-po-red' : 'text-po-dim'}`}>{row.detail}</span>\n </span>\n <ChevronRightIcon aria-hidden className=\"size-4 text-po-dim\" />\n </Button>\n </li>\n ))}\n </ul>\n )}\n </Panel>\n );\n}\n\nfunction TimelineLoading() {\n return (\n <Panel className=\"space-y-3 bg-po-panel/80 p-4\" aria-busy=\"true\" aria-label=\"Loading today\">\n <Skeleton className=\"h-5 w-24\" />\n {[0, 1, 2, 3].map((row) => (\n <Skeleton key={row} className=\"h-8 w-full\" />\n ))}\n </Panel>\n );\n}\n\n/** Home: what Po is doing, newest first, beside what waits on the person. */\nexport function HomeActivity({\n summary,\n activity,\n waiting,\n coverage,\n title = 'Home',\n loading = false,\n onShowEarlier,\n toolbar,\n controls,\n lead,\n main,\n aside,\n bare = false,\n}: HomeActivityProps) {\n return (\n <section\n aria-label={title}\n data-testid=\"home-page\"\n className={`flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto font-sans text-base text-po-text ${bare ? '' : 'bg-po-bg'}`}\n >\n {toolbar}\n <div className=\"mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-6 md:px-8 md:py-8\">\n <header className=\"flex flex-col gap-1\">\n {bare ? null : <h1 className=\"text-2xl font-semibold text-po-hi\">{title}</h1>}\n <p className=\"text-base text-po-dim\">{summary}</p>\n </header>\n {controls}\n <div className=\"grid items-start gap-4 md:grid-cols-3\">\n <div className=\"flex min-w-0 flex-col gap-4 md:col-span-2\">\n {lead}\n {loading ? (\n <TimelineLoading />\n ) : (\n <Timeline rows={activity} {...(onShowEarlier === undefined ? {} : { onShowEarlier })} />\n )}\n {main}\n </div>\n {/* What waits on the person leads on a phone, where the columns stack. */}\n <aside className=\"order-first flex min-w-0 flex-col gap-4 md:order-none\">\n <Waiting rows={waiting} />\n {aside}\n </aside>\n </div>\n <p className=\"text-sm text-po-dim\">{coverage}</p>\n </div>\n </section>\n );\n}\n"],"mappings":";;;;;AAcA,MAAM,YAAY;AAkClB,SAAS,OAAO,EAAE,OAAiC;CACjD,IAAI,IAAI,OACN,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,6BAAAA,aAAD;EACE,MAAM,IAAI,MAAM;EAChB,GAAK,IAAI,MAAM,UAAU,KAAA,IAAY,CAAC,IAAI,EAAE,OAAO,IAAI,MAAM,MAAM;EACnE,MAAK;CACN,CAAA;CAEL,MAAM,OAAO,IAAI,QAAQC,6BAAAA;CACzB,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EAAM,WAAU;EACd,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;GAAM,eAAA;GAAY,WAAU;EAAY,CAAA;CACpC,CAAA;AAEV;AAEA,SAAS,QAAQ,EAAE,OAAiC;CAClD,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAA,kBAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAa,IAAM,CAAA,GACnB,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;EAAM,WAAU;EAAhB,UAAA;GACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;KAAM,WAAU;KAA+C,UAAA,IAAI;IAAW,CAAA,GAC9E,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;KAAM,WAAW,aAAa,IAAI,SAAS,QAAQ,gBAAgB;KAAmB,UAAA,IAAI;IAAc,CAAA,CACpG;;GACL,IAAI,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;IAAM,WAAU;IAAiC,UAAA,IAAI;GAAa,CAAA,IAAI;GACnF,IAAI,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;IAAM,WAAU;IAAuB,UAAA,IAAI;GAAa,CAAA,IAAI;EACtE;CACN,CAAA,CAAA,EAAA,CAAA;AAEN;AAEA,SAAS,SAAS,EAAE,MAAM,iBAAmF;CAC3G,MAAM,CAAC,eAAe,YAAA,GAAWC,MAAAA,SAAAA,CAAS,CAAC;CAC3C,MAAM,QAAQ,KAAK,IAAI,GAAG,KAAK,KAAK,KAAK,SAAS,SAAS,CAAC;CAE5D,MAAM,OAAO,KAAK,IAAI,eAAe,QAAQ,CAAC;CAC9C,MAAM,QAAQ,OAAO;CACrB,MAAM,QAAQ,KAAK,MAAM,OAAO,QAAQ,SAAS;CACjD,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACC,6BAAAA,OAAD;EAAO,WAAU;EAAjB,UAAA;GACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAAA,aAAD;IAAa,WAAU;IACrB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;KAAI,WAAU;KAAmC,UAAA;IAAS,CAAA;GAC/C,CAAA;GACZ,KAAK,WAAW,IACf,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAAA,YAAD;IAAY,OAAM;IAAoB,aAAY;GAAiD,CAAA,IAEnG,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;IAAI,WAAU;IACX,UAAA,MAAM,KAAK,KAAK,UACf,iBAAA,GAAA,kBAAA,KAAA,CAAC,MAAD;KAAiB,WAAU;KAA3B,UAAA;MACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;OAAM,WAAU;OAAyD,UAAA,IAAI;MAAS,CAAA;MAEtF,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;OAAK,eAAA;OAAY,WAAU;OAA3B,UAAA;QACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,WAAW,cAAc,UAAU,IAAI,KAAK,sBAAwB,CAAA;QAC1E,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAAA,KAAD;SAAK,MAAM,IAAI;SAAM,MAAK;QAAM,CAAA;QAChC,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,WAAW,eAAe,UAAU,MAAM,SAAS,IAAI,KAAK,sBAAwB,CAAA;OACvF;;MACL,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;OAAK,WAAU;OACZ,UAAA,IAAI,SACH,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAAA,QAAD;QACE,SAAQ;QACR,MAAK;QACL,SAAS,IAAI;QACb,WAAU;QAEV,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD,EAAc,IAAM,CAAA;OACd,CAAA,IAER,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;QAAK,WAAU;QACb,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD,EAAc,IAAM,CAAA;OACjB,CAAA;MAEJ,CAAA;KACH;IAxBK,GAAA,IAAI,EAwBT,CACL;GACC,CAAA;GAEL,QAAQ,KAAK,gBACZ,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;IAAK,cAAW;IAAc,WAAU;IAAxC,UAAA,CACG,gBACC,iBAAA,GAAA,kBAAA,IAAA,CAACA,6BAAAA,QAAD;KAAQ,SAAQ;KAAQ,MAAK;KAAK,SAAS;KAAe,UAAA;IAElD,CAAA,IACN,MACH,QAAQ,IACP,iBAAA,GAAA,kBAAA,KAAA,CAAA,kBAAA,UAAA,EAAA,UAAA;KACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;MAAM,WAAU;MAA2C,aAAU;MAArE,UAAA;OACG,QAAQ;OAAE;OAAE,QAAQ,MAAM;OAAO;OAAK,KAAK;MACxC;;KACN,iBAAA,GAAA,kBAAA,IAAA,CAACA,6BAAAA,QAAD;MAAQ,SAAQ;MAAQ,MAAK;MAAK,UAAU,SAAS;MAAG,eAAe,QAAQ,OAAO,CAAC;MAAG,UAAA;KAElF,CAAA;KACR,iBAAA,GAAA,kBAAA,IAAA,CAACA,6BAAAA,QAAD;MAAQ,SAAQ;MAAQ,MAAK;MAAK,UAAU,SAAS,QAAQ;MAAG,eAAe,QAAQ,OAAO,CAAC;MAAG,UAAA;KAE1F,CAAA;IACR,EAAA,CAAA,IACA,IACD;GACH,CAAA,IAAA;EACC;;AAEX;AAEA,SAAS,QAAQ,EAAE,QAA6C;CAC9D,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACJ,6BAAAA,OAAD;EAAO,WAAU;EAAjB,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAAA,aAAD;GAAa,WAAU;GACrB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;IAAI,WAAU;IAAmC,UAAA;GAAkB,CAAA;EACxD,CAAA,GACZ,KAAK,WAAW,IACf,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;GAAG,WAAU;GAAkC,UAAA;EAA+B,CAAA,IAE9E,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;GAAI,WAAU;GACX,UAAA,KAAK,KAAK,QACT,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAAA,CAACG,6BAAAA,QAAD;IACE,SAAQ;IACR,MAAK;IACL,SAAS,IAAI;IACb,UAAU,IAAI,WAAW,KAAA;IACzB,WAAU;IALZ,UAAA;KAOG,IAAI,QACH,iBAAA,GAAA,kBAAA,IAAA,CAACP,6BAAAA,aAAD;MACE,MAAM,IAAI,MAAM;MAChB,GAAK,IAAI,MAAM,UAAU,KAAA,IAAY,CAAC,IAAI,EAAE,OAAO,IAAI,MAAM,MAAM;MACnE,MAAK;KACN,CAAA,IAED,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;MAAM,WAAU;MACd,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACM,6BAAAA,KAAD;OAAK,MAAM,IAAI,SAAS,QAAQ;OAAW,MAAK;MAAM,CAAA;KAClD,CAAA;KAER,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;MAAM,WAAU;MAAhB,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;OAAM,WAAU;OAA+C,UAAA,IAAI;MAAW,CAAA,GAC9E,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;OAAM,WAAW,WAAW,IAAI,SAAS,gBAAgB;OAAkB,UAAA,IAAI;MAAa,CAAA,CACxF;;KACN,iBAAA,GAAA,kBAAA,IAAA,CAACE,6BAAAA,kBAAD;MAAkB,eAAA;MAAY,WAAU;KAAsB,CAAA;IACxD;GACN,CAAA,EAAA,GAzBK,IAAI,EAyBT,CACL;EACC,CAAA,CAED;;AAEX;AAEA,SAAS,kBAAkB;CACzB,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACL,6BAAAA,OAAD;EAAO,WAAU;EAA+B,aAAU;EAAO,cAAW;EAA5E,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACM,6BAAAA,UAAD,EAAU,WAAU,WAAY,CAAA,GAC/B;GAAC;GAAG;GAAG;GAAG;EAAC,CAAC,CAAC,KAAK,QACjB,iBAAA,GAAA,kBAAA,IAAA,CAACA,6BAAAA,UAAD,EAAoB,WAAU,aAAc,GAA7B,GAA6B,CAC7C,CACI;;AAEX;;AAGA,SAAgB,aAAa,EAC3B,SACA,UACA,SACA,UACA,QAAQ,QACR,UAAU,OACV,eACA,SACA,UACA,MACA,MACA,OACA,OAAO,SACa;CACpB,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,WAAD;EACE,cAAY;EACZ,eAAY;EACZ,WAAW,yFAAyF,OAAO,KAAK;EAHlH,UAAA,CAKG,SACD,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,WAAU;GAAf,UAAA;IACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,UAAD;KAAQ,WAAU;KAAlB,UAAA,CACG,OAAO,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;MAAI,WAAU;MAAqC,UAAA;KAAU,CAAA,GAC5E,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;MAAG,WAAU;MAAyB,UAAA;KAAW,CAAA,CAC3C;;IACP;IACD,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;MAAK,WAAU;MAAf,UAAA;OACG;OACA,UACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,iBAAD,CAAkB,CAAA,IAElB,iBAAA,GAAA,kBAAA,IAAA,CAAC,UAAD;QAAU,MAAM;QAAU,GAAK,kBAAkB,KAAA,IAAY,CAAC,IAAI,EAAE,cAAc;OAAK,CAAA;OAExF;MACE;KAEL,CAAA,GAAA,iBAAA,GAAA,kBAAA,KAAA,CAAC,SAAD;MAAO,WAAU;MAAjB,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD,EAAS,MAAM,QAAU,CAAA,GACxB,KACI;KACJ,CAAA,CAAA;;IACL,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;KAAG,WAAU;KAAuB,UAAA;IAAY,CAAA;GAC7C;EACE,CAAA,CAAA;;AAEb"}