@agimon-ai/po-web-dashboard 0.0.0-alpha.134 → 0.0.0-alpha.136

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 (77) hide show
  1. package/dist/core.cjs +8 -0
  2. package/dist/core.d.mts +4 -3
  3. package/dist/core.mjs +4 -3
  4. package/dist/index.cjs +3 -0
  5. package/dist/index.d.mts +4 -4
  6. package/dist/index.mjs +4 -4
  7. package/dist/web/components/HomePage.cjs +6 -5
  8. package/dist/web/components/HomePage.cjs.map +1 -1
  9. package/dist/web/components/HomePage.d.mts +5 -2
  10. package/dist/web/components/HomePage.d.mts.map +1 -1
  11. package/dist/web/components/HomePage.mjs +6 -5
  12. package/dist/web/components/HomePage.mjs.map +1 -1
  13. package/dist/web/features/session/Composer.cjs +11 -8
  14. package/dist/web/features/session/Composer.cjs.map +1 -1
  15. package/dist/web/features/session/Composer.d.mts.map +1 -1
  16. package/dist/web/features/session/Composer.mjs +12 -9
  17. package/dist/web/features/session/Composer.mjs.map +1 -1
  18. package/dist/web/features/session/MessageMarkdown.cjs +3 -1
  19. package/dist/web/features/session/MessageMarkdown.cjs.map +1 -1
  20. package/dist/web/features/session/MessageMarkdown.d.mts.map +1 -1
  21. package/dist/web/features/session/MessageMarkdown.mjs +3 -1
  22. package/dist/web/features/session/MessageMarkdown.mjs.map +1 -1
  23. package/dist/web/features/session/SessionMention.cjs +35 -0
  24. package/dist/web/features/session/SessionMention.cjs.map +1 -0
  25. package/dist/web/features/session/SessionMention.mjs +35 -0
  26. package/dist/web/features/session/SessionMention.mjs.map +1 -0
  27. package/dist/web/features/session/ToolCard.cjs +28 -11
  28. package/dist/web/features/session/ToolCard.cjs.map +1 -1
  29. package/dist/web/features/session/ToolCard.d.mts +5 -2
  30. package/dist/web/features/session/ToolCard.d.mts.map +1 -1
  31. package/dist/web/features/session/ToolCard.mjs +28 -11
  32. package/dist/web/features/session/ToolCard.mjs.map +1 -1
  33. package/dist/web/features/sessions/CoordinatorProfileDialog.cjs +8 -2
  34. package/dist/web/features/sessions/CoordinatorProfileDialog.cjs.map +1 -1
  35. package/dist/web/features/sessions/CoordinatorProfileDialog.mjs +8 -2
  36. package/dist/web/features/sessions/CoordinatorProfileDialog.mjs.map +1 -1
  37. package/dist/web/lib/fileMentions.cjs +3 -2
  38. package/dist/web/lib/fileMentions.cjs.map +1 -1
  39. package/dist/web/lib/fileMentions.d.mts +1 -1
  40. package/dist/web/lib/fileMentions.d.mts.map +1 -1
  41. package/dist/web/lib/fileMentions.mjs +3 -2
  42. package/dist/web/lib/fileMentions.mjs.map +1 -1
  43. package/dist/web/lib/sessionMentions.cjs +50 -0
  44. package/dist/web/lib/sessionMentions.cjs.map +1 -0
  45. package/dist/web/lib/sessionMentions.d.mts +27 -0
  46. package/dist/web/lib/sessionMentions.d.mts.map +1 -0
  47. package/dist/web/lib/sessionMentions.mjs +46 -0
  48. package/dist/web/lib/sessionMentions.mjs.map +1 -0
  49. package/dist/web/lib/sessionModel.cjs +1 -0
  50. package/dist/web/lib/sessionModel.cjs.map +1 -1
  51. package/dist/web/lib/sessionModel.d.mts.map +1 -1
  52. package/dist/web/lib/sessionModel.mjs +1 -0
  53. package/dist/web/lib/sessionModel.mjs.map +1 -1
  54. package/dist/web/lib/sessionRailModel.cjs +20 -0
  55. package/dist/web/lib/sessionRailModel.cjs.map +1 -1
  56. package/dist/web/lib/sessionRailModel.d.mts +9 -1
  57. package/dist/web/lib/sessionRailModel.d.mts.map +1 -1
  58. package/dist/web/lib/sessionRailModel.mjs +20 -1
  59. package/dist/web/lib/sessionRailModel.mjs.map +1 -1
  60. package/dist/web/stores/composerStore.cjs +13 -0
  61. package/dist/web/stores/composerStore.cjs.map +1 -1
  62. package/dist/web/stores/composerStore.d.mts +2 -0
  63. package/dist/web/stores/composerStore.d.mts.map +1 -1
  64. package/dist/web/stores/composerStore.mjs +13 -1
  65. package/dist/web/stores/composerStore.mjs.map +1 -1
  66. package/dist/web/stores/sessionsStore.cjs +14 -0
  67. package/dist/web/stores/sessionsStore.cjs.map +1 -1
  68. package/dist/web/stores/sessionsStore.d.mts +3 -0
  69. package/dist/web/stores/sessionsStore.d.mts.map +1 -1
  70. package/dist/web/stores/sessionsStore.mjs +14 -1
  71. package/dist/web/stores/sessionsStore.mjs.map +1 -1
  72. package/dist/web/stores/usePluginSlotProps.cjs +6 -0
  73. package/dist/web/stores/usePluginSlotProps.cjs.map +1 -1
  74. package/dist/web/stores/usePluginSlotProps.d.mts.map +1 -1
  75. package/dist/web/stores/usePluginSlotProps.mjs +7 -1
  76. package/dist/web/stores/usePluginSlotProps.mjs.map +1 -1
  77. package/package.json +5 -5
package/dist/core.cjs CHANGED
@@ -11,6 +11,7 @@ const require_pluginRegistry = require("./web/lib/pluginRegistry.cjs");
11
11
  const require_statusLine = require("./web/lib/statusLine.cjs");
12
12
  const require_composition = require("./web/lib/composition.cjs");
13
13
  const require_contextComposition = require("./web/lib/contextComposition.cjs");
14
+ const require_sessionMentions = require("./web/lib/sessionMentions.cjs");
14
15
  const require_workspaceSummary = require("./web/lib/workspaceSummary.cjs");
15
16
  const require_ToolRendererBoundary = require("./web/lib/ToolRendererBoundary.cjs");
16
17
  const require_sessionProtocolCommands = require("./web/lib/sessionProtocolCommands.cjs");
@@ -52,6 +53,7 @@ Object.defineProperty(exports, "HOST_SLOTS", {
52
53
  exports.ImageRefScope = require_imageRefStore.ImageRefScope;
53
54
  exports.LEGACY_WORKSPACE_ID = require_sessionRailModel.LEGACY_WORKSPACE_ID;
54
55
  exports.MAX_COMPLETION_ITEMS = require_composerCompletion.MAX_COMPLETION_ITEMS;
56
+ exports.SESSION_REFERENCE_SCHEME = require_sessionMentions.SESSION_REFERENCE_SCHEME;
55
57
  exports.TRIGGER_CHARS = require_composerCompletion.TRIGGER_CHARS;
56
58
  exports.ToolRendererBoundary = require_ToolRendererBoundary.ToolRendererBoundary;
57
59
  exports.UPDATE_REQUIRED_REASON = require_sessionsStore.UPDATE_REQUIRED_REASON;
@@ -173,11 +175,13 @@ exports.isDesktopClient = require_pluginRegistry.isDesktopClient;
173
175
  exports.isHexTheme = require_pluginThemes.isHexTheme;
174
176
  exports.isSupportedImageMimeType = require_sessionModel.isSupportedImageMimeType;
175
177
  exports.legacyHomeAppFills = require_pluginRegistry.legacyHomeAppFills;
178
+ exports.liveSessionOptions = require_sessionRailModel.liveSessionOptions;
176
179
  exports.loadImageRef = require_imageRefStore.loadImageRef;
177
180
  exports.loadModelChoices = require_sessionStore.loadModelChoices;
178
181
  exports.localHostId = require_hostIdentity.localHostId;
179
182
  exports.markSocketClosed = require_sessionsStore.markSocketClosed;
180
183
  exports.markUpdateRequired = require_sessionsStore.markUpdateRequired;
184
+ exports.mentionableSessions = require_sessionsStore.mentionableSessions;
181
185
  exports.menuStore = require_menuStore.menuStore;
182
186
  exports.mergeScopedPlugins = require_pluginScopes.mergeScopedPlugins;
183
187
  exports.minorModes = require_composition.minorModes;
@@ -257,6 +261,7 @@ exports.resetWebPlugins = require_pluginRegistry.resetWebPlugins;
257
261
  exports.resetWorkspaces = require_workspacesStore.resetWorkspaces;
258
262
  exports.resolveNativeTemplate = require_templateCatalog.resolveNativeTemplate;
259
263
  exports.resolveParentId = require_sessionsStore.resolveParentId;
264
+ exports.resolveSessionReference = require_sessionMentions.resolveSessionReference;
260
265
  exports.resubscribeThreads = require_threadStore.resubscribeThreads;
261
266
  exports.resumeQueueCommand = require_commands.resumeQueueCommand;
262
267
  exports.resumeQueuedMessages = require_sessionStore.resumeQueuedMessages;
@@ -278,11 +283,14 @@ exports.sendFrame = require_transport.sendFrame;
278
283
  exports.sendFrameWithAck = require_transport.sendFrameWithAck;
279
284
  exports.sendHubFrame = require_transport.sendHubFrame;
280
285
  exports.sendSessionProtocolFrame = require_sessionProtocolCommands.sendSessionProtocolFrame;
286
+ exports.sessionCompletions = require_sessionMentions.sessionCompletions;
281
287
  exports.sessionMinorModes = require_fileLinkModesStore.sessionMinorModes;
282
288
  exports.sessionMoveTarget = require_sessionRailModel.sessionMoveTarget;
289
+ exports.sessionSlug = require_sessionMentions.sessionSlug;
283
290
  exports.sessionStatusClock = require_sessionSummary.sessionStatusClock;
284
291
  exports.sessionStatusLine = require_sessionSummary.sessionStatusLine;
285
292
  exports.sessionStoreFor = require_sessionStore.sessionStoreFor;
293
+ exports.sessionToken = require_sessionMentions.sessionToken;
286
294
  exports.sessionToolRenderer = require_pluginRegistry.sessionToolRenderer;
287
295
  exports.sessionWaitingCount = require_sessionRailModel.sessionWaitingCount;
288
296
  exports.sessionWebPluginsInstalled = require_pluginRegistry.sessionWebPluginsInstalled;
package/dist/core.d.mts CHANGED
@@ -2,6 +2,7 @@ import { qrMatrix } from "./web/lib/qrMatrix.mjs";
2
2
  import { AgentInfo, AssistantEntry, CommandInfo, DialogMethod, DialogRequest, EditorTextRequest, EntryKind, InputSender, IntercomEntry, ModelChoice, NoticeEntry, ProfileIdentity, QueuedEntry, ReduceSessionOptions, SessionState, SessionStats, SettledEntry, TimelineEntry, ToolEntry, UserEntry, UserImage, appendQueued, appendUserPrompt, applySelectionAnswer, clearDialog, clearQueuedEntries, imagesFromContent, initialSessionState, isSupportedImageMimeType, prependHistory, reduceSession, removeQueuedEntry, replaceQueuedEntries, selectionStatuses, summariseArgs, textFromContent } from "./web/lib/sessionModel.mjs";
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
+ import { MentionableSession, SESSION_REFERENCE_SCHEME, resolveSessionReference, sessionCompletions, sessionSlug, sessionToken } from "./web/lib/sessionMentions.mjs";
5
6
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
6
7
  import { bindHostTransport, bindTransport, createDashboardTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame, transportForHost, watchHubThread } from "./web/lib/transport.mjs";
7
8
  import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
@@ -16,8 +17,8 @@ import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
16
17
  import { ToolRendererBoundary } from "./web/lib/ToolRendererBoundary.mjs";
17
18
  import { updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
18
19
  import { AttachPhase, StatusClock, StatusLineInput, abbreviateCwd, personaInitials, runningCount, sessionStatusClock, sessionStatusLine, summaryValueEqual } from "./web/lib/sessionSummary.mjs";
19
- import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
20
- import { SessionMeta, SessionsState, UPDATE_REQUIRED_REASON, activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, markUpdateRequired, noSessions, resetSessions, resolveParentId, sameRailEntries, sameRailEntry, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, useRailEntries, useRailEntry, waitForSession } from "./web/stores/sessionsStore.mjs";
20
+ import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, liveSessionOptions, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
21
+ 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";
21
22
  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";
22
23
  import { createPagedTranscript } from "./web/stores/pagedTranscriptStore.mjs";
23
24
  import { ImageRefScope, bindImageReader, loadImageRef, useImageRefs } from "./web/stores/imageRefStore.mjs";
@@ -39,4 +40,4 @@ import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs";
39
40
  import { defaultHostId, localHostId, parseHostKey, qualifyHostId, qualifyHostKey, setDefaultHostId, splitHostId } from "./web/lib/hostIdentity.mjs";
40
41
  import { CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, createCloudHub } from "./web/lib/cloudHub.mjs";
41
42
  import { asWorkspace } from "./web/lib/workspaceSummary.mjs";
42
- 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, InstalledGlobalPluginProvider, InstalledHomeContribution, type InstalledNativeTemplate, type InstalledPluginTheme, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, IntercomEntry, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MenuClaim, MenuKind, MenuState, type MinorMode, ModelChoice, type NativeTemplateCatalog, NoticeEntry, ProfileIdentity, QueuedEntry, RailRestartState, RailSessionInput, ReduceSessionOptions, ResolvedFill, RpcImage, 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, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, globalPluginProviders, globalSlotFills, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, imagesFromContent, inactiveTotal, initialSessionState, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isSupportedImageMimeType, legacyHomeAppFills, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, 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, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, reuseRailWorkspaces, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsKeyOf, settingsLockedReason, 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 };
43
+ 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, InstalledGlobalPluginProvider, InstalledHomeContribution, 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, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, globalPluginProviders, globalSlotFills, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, imagesFromContent, inactiveTotal, initialSessionState, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, 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, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, 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, settingsKeyOf, settingsLockedReason, 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
@@ -10,6 +10,7 @@ import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWe
10
10
  import { parseSelection } from "./web/lib/statusLine.mjs";
11
11
  import { activityGroups, fileTabForPath, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
12
12
  import { contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
13
+ import { SESSION_REFERENCE_SCHEME, resolveSessionReference, sessionCompletions, sessionSlug, sessionToken } from "./web/lib/sessionMentions.mjs";
13
14
  import { asWorkspace } from "./web/lib/workspaceSummary.mjs";
14
15
  import { ToolRendererBoundary } from "./web/lib/ToolRendererBoundary.mjs";
15
16
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
@@ -19,13 +20,13 @@ import { createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
19
20
  import { abbreviateCwd, personaInitials, runningCount, sessionStatusClock, sessionStatusLine, summaryValueEqual } from "./web/lib/sessionSummary.mjs";
20
21
  import { appendQueued, appendUserPrompt, applySelectionAnswer, clearDialog, clearQueuedEntries, imagesFromContent, initialSessionState, isSupportedImageMimeType, prependHistory, reduceSession, removeQueuedEntry, replaceQueuedEntries, selectionStatuses, summariseArgs, textFromContent } from "./web/lib/sessionModel.mjs";
21
22
  import { qrMatrix } from "./web/lib/qrMatrix.mjs";
22
- import { LEGACY_WORKSPACE_ID, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
23
+ import { LEGACY_WORKSPACE_ID, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, liveSessionOptions, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
23
24
  import { canSaveSettings, plannedSettingsWrites, settingsKeyOf, settingsLockedReason } from "./web/lib/settingsDraft.mjs";
24
25
  import { createToolCompletionTabs } from "./web/lib/toolCompletionTabs.mjs";
25
26
  import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
26
27
  import { toolPromptClaim } from "./web/lib/toolPrompt.mjs";
27
28
  import { validateComposerCapture } from "./web/lib/composerCapture.mjs";
28
- import { UPDATE_REQUIRED_REASON, activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, markUpdateRequired, noSessions, resetSessions, resolveParentId, sameRailEntries, sameRailEntry, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, useRailEntries, useRailEntry, waitForSession } from "./web/stores/sessionsStore.mjs";
29
+ import { 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";
29
30
  import { applyCaptureFrame, disconnectCaptures, onCaptureStatus, submitCapture } from "./web/stores/captureStore.mjs";
30
31
  import { 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";
31
32
  import { bindSessionFileLinkModes, sessionMinorModes } from "./web/stores/fileLinkModesStore.mjs";
@@ -39,4 +40,4 @@ import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTa
39
40
  import { updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
40
41
  import { CLOUD_HUB_POLL_MS, createCloudHub } from "./web/lib/cloudHub.mjs";
41
42
  import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs";
42
- export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, HOST_SLOTS, ImageRefScope, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, 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, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, globalPluginProviders, globalSlotFills, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, imagesFromContent, inactiveTotal, initialSessionState, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isSupportedImageMimeType, legacyHomeAppFills, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, 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, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, reuseRailWorkspaces, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsKeyOf, settingsLockedReason, 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 };
43
+ 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, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, globalPluginProviders, globalSlotFills, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, imagesFromContent, inactiveTotal, initialSessionState, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, 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, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, 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, settingsKeyOf, settingsLockedReason, 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
@@ -332,6 +332,7 @@ exports.listSettingsRepositories = require_settingsApi.listSettingsRepositories;
332
332
  exports.listWorkspaceHistory = require_hubApi.listWorkspaceHistory;
333
333
  exports.listWorkspaces = require_hubApi.listWorkspaces;
334
334
  exports.livePushStatus = require_livePush.livePushStatus;
335
+ exports.liveSessionOptions = require_sessionRailModel.liveSessionOptions;
335
336
  exports.loadModelChoices = require_sessionStore.loadModelChoices;
336
337
  exports.loadSessionAsset = require_sessionAsset.loadSessionAsset;
337
338
  exports.loadSessionAvatar = require_sessionAvatar.loadSessionAvatar;
@@ -342,6 +343,7 @@ exports.markSocketClosed = require_sessionsStore.markSocketClosed;
342
343
  exports.markToolPromptFailed = require_toolPromptStore.markToolPromptFailed;
343
344
  exports.markUpdateRequired = require_sessionsStore.markUpdateRequired;
344
345
  exports.mediaKindFor = require_fileMentions.mediaKindFor;
346
+ exports.mentionableSessions = require_sessionsStore.mentionableSessions;
345
347
  exports.menuStore = require_menuStore.menuStore;
346
348
  exports.mergeScopedPlugins = require_pluginScopes.mergeScopedPlugins;
347
349
  exports.minorModes = require_composition.minorModes;
@@ -599,6 +601,7 @@ exports.subscribeWebPluginRegistry = require_pluginRegistry.subscribeWebPluginRe
599
601
  exports.summariseArgs = require_sessionModel.summariseArgs;
600
602
  exports.summaryValueEqual = require_sessionSummary.summaryValueEqual;
601
603
  exports.tabComposerContext = require_composerStore.tabComposerContext;
604
+ exports.takeComposerDraft = require_composerStore.takeComposerDraft;
602
605
  exports.templateStore = require_templateStore.templateStore;
603
606
  exports.textFromContent = require_sessionModel.textFromContent;
604
607
  exports.themeStore = require_themeStore.themeStore;
package/dist/index.d.mts CHANGED
@@ -14,8 +14,8 @@ import { TransientTabActions, pluginSessionContext, pluginSlotFills, pluginSlotP
14
14
  import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
15
15
  import { DialogDraft, dialogDraftStore, updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
16
16
  import { AttachPhase, StatusClock, StatusLineInput, abbreviateCwd, personaInitials, runningCount, sessionStatusClock, sessionStatusLine, summaryValueEqual } from "./web/lib/sessionSummary.mjs";
17
- import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
18
- import { SessionMeta, SessionsState, UPDATE_REQUIRED_REASON, activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, markUpdateRequired, noSessions, resetSessions, resolveParentId, sameRailEntries, sameRailEntry, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, useRailEntries, useRailEntry, waitForSession } from "./web/stores/sessionsStore.mjs";
17
+ import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, liveSessionOptions, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
18
+ 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";
19
19
  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";
20
20
  import { BrowserPerformanceEvent, BrowserPerformanceEventName, browserReadyDuration, disableBrowserTelemetry, flushBrowserTelemetry, installBrowserErrorReporting, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace } from "./web/lib/browserTelemetry.mjs";
21
21
  import { createPagedTranscript } from "./web/stores/pagedTranscriptStore.mjs";
@@ -64,7 +64,7 @@ import { bindThreadRenderer, releaseThreadRenderer, renderThread } from "./web/l
64
64
  import { GroupUnit, SingleUnit, TimelineUnit, groupSummary, groupTone, timelineUnits } from "./web/lib/timelineGroups.mjs";
65
65
  import { SessionMcpViewState, useSessionMcp } from "./web/lib/useSessionMcp.mjs";
66
66
  import { PasskeyOutcome, STEP_UP_HEADER_NAME, assertionFor, passkeysAvailable, registerPasskey, signInWithPasskey } from "./web/lib/webauthnClient.mjs";
67
- import { ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerSessionState, ComposerTextAttachment, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, appendComposerDraft, appendComposerQuote, attachComposerCapture, attachComposerContext, clearComposerState, composerStore, dropComposerState, inlineTextBytes, resetComposerStore, restoreComposerDrafts, saveComposerDrafts, tabComposerContext, updateComposerState, useComposerState } from "./web/stores/composerStore.mjs";
67
+ import { ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerSessionState, ComposerTextAttachment, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, appendComposerDraft, appendComposerQuote, attachComposerCapture, attachComposerContext, clearComposerState, composerStore, dropComposerState, inlineTextBytes, resetComposerStore, restoreComposerDrafts, saveComposerDrafts, tabComposerContext, takeComposerDraft, updateComposerState, useComposerState } from "./web/stores/composerStore.mjs";
68
68
  import { attachmentPrompt, composerSubmissionStore, submitComposerDraft } from "./web/stores/composerSubmissionStore.mjs";
69
69
  import { DevProxyState, createDevProxyTarget, deleteDevProxyTarget, devProxyStore, refreshDevProxyTargets, resetDevProxyStore } from "./web/stores/devProxyStore.mjs";
70
70
  import { EMPTY_NEW_SESSION_DRAFT, NewSessionDraft, NewSessionState, closeNewSession, createGeneralSession, createPlainSession, generalSessionDraftKey, newSessionDraftStore, newSessionStore, openGeneralSession, openNewSession, resetNewSessionStore, setNewSessionName, setNewSessionProfile } from "./web/stores/newSessionStore.mjs";
@@ -83,4 +83,4 @@ import { WorkspaceAdmissionDraft, admitDashboardWorkspace, admitDeclaredDashboar
83
83
  import { EMPTY_SETTINGS_DRAFT, SettingsDraftState, SettingsDraftTarget, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
84
84
  import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
85
85
  import { DashboardRendererProvider, DashboardRenderers } from "./web/lib/dashboardRenderers.mjs";
86
- 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, InstalledGlobalPluginProvider, InstalledHomeContribution, 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, 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, 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, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, 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, globalPluginProviders, globalSlotFills, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, 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, 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, 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, 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, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, 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 };
86
+ 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, InstalledGlobalPluginProvider, InstalledHomeContribution, 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, 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, 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, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, 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, globalPluginProviders, globalSlotFills, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, 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, 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, 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, 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, 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
@@ -42,7 +42,7 @@ import { approvePairing, denyPairing, disableRemoteAccess, enableRemoteAccess, f
42
42
  import { loadSessionAsset, uploadSessionAttachment } from "./web/lib/sessionAsset.mjs";
43
43
  import { loadSessionAvatar } from "./web/lib/sessionAvatar.mjs";
44
44
  import { createSessionMcpClient, isSessionMcpActivity, listSessionMcpClients, readSessionMcpActivity, readSessionMcpConfig, removeSessionMcpSetup, revokeSessionMcpClient } from "./web/lib/sessionMcpApi.mjs";
45
- import { LEGACY_WORKSPACE_ID, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
45
+ import { LEGACY_WORKSPACE_ID, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, liveSessionOptions, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
46
46
  import { listSettingsModels, listSettingsRepositories, readImageSettings, readPresetSettings, readRepositorySettings, readSettingsConfig, writeImageSettings, writePresetSettings, writeRepositorySelection, writeSettingsValue } from "./web/lib/settingsApi.mjs";
47
47
  import { canSaveSettings, plannedSettingsWrites, settingsKeyOf, settingsLockedReason } from "./web/lib/settingsDraft.mjs";
48
48
  import { DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, settingsSection, settingsSections } from "./web/lib/settingsSections.mjs";
@@ -52,9 +52,9 @@ import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
52
52
  import { toolPromptClaim } from "./web/lib/toolPrompt.mjs";
53
53
  import { useSessionMcp } from "./web/lib/useSessionMcp.mjs";
54
54
  import { MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, validateComposerCapture } from "./web/lib/composerCapture.mjs";
55
- import { UPDATE_REQUIRED_REASON, activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, markUpdateRequired, noSessions, resetSessions, resolveParentId, sameRailEntries, sameRailEntry, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, useRailEntries, useRailEntry, waitForSession } from "./web/stores/sessionsStore.mjs";
55
+ import { 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";
56
56
  import { applyCaptureFrame, disconnectCaptures, onCaptureStatus, pendingCaptureSessions, submitCapture } from "./web/stores/captureStore.mjs";
57
- import { MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, appendComposerDraft, appendComposerQuote, attachComposerCapture, attachComposerContext, clearComposerState, composerStore, dropComposerState, inlineTextBytes, resetComposerStore, restoreComposerDrafts, saveComposerDrafts, tabComposerContext, updateComposerState, useComposerState } from "./web/stores/composerStore.mjs";
57
+ import { MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, appendComposerDraft, appendComposerQuote, attachComposerCapture, attachComposerContext, clearComposerState, composerStore, dropComposerState, inlineTextBytes, resetComposerStore, restoreComposerDrafts, saveComposerDrafts, tabComposerContext, takeComposerDraft, updateComposerState, useComposerState } from "./web/stores/composerStore.mjs";
58
58
  import { 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";
59
59
  import { attachmentPrompt, composerSubmissionStore, submitComposerDraft } from "./web/stores/composerSubmissionStore.mjs";
60
60
  import { createDevProxyTarget, deleteDevProxyTarget, devProxyStore, refreshDevProxyTargets, resetDevProxyStore } from "./web/stores/devProxyStore.mjs";
@@ -83,4 +83,4 @@ import { dialogDraftStore, updateDialogDraft, useDialogDraft } from "./web/store
83
83
  import { EMPTY_SETTINGS_DRAFT, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
84
84
  import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
85
85
  import { CLOUD_HUB_POLL_MS, createCloudHub } from "./web/lib/cloudHub.mjs";
86
- 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, 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, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, 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, globalPluginProviders, globalSlotFills, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, 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, 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, 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, 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, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, 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 };
86
+ 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, 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, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, 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, globalPluginProviders, globalSlotFills, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, 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, 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, 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, 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, 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 };
@@ -7,7 +7,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
7
7
  let _agimon_ai_po_core_web = require("@agimon-ai/po-core/web");
8
8
  //#region src/web/components/HomePage.tsx
9
9
  /** The shared Home and Workspace frame, independent of plugins, navigation and data loading. */
10
- function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "Nothing on Home yet", emptyDescription = "Apps you add show up here.", onShowSessions, navigationToggle = "mobile" }) {
10
+ function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "Nothing on Home yet", emptyDescription = "Apps you add show up here.", onShowSessions, navigationToggle = "mobile", bare = false }) {
11
11
  const entries = tiles ?? [...main.map((body, index) => ({
12
12
  id: `main-${index}`,
13
13
  size: "wide",
@@ -22,7 +22,7 @@ function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "N
22
22
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
23
23
  "aria-label": title,
24
24
  "data-testid": "home-page",
25
- className: "flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto bg-po-bg font-sans text-base text-po-text",
25
+ 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"}`,
26
26
  children: [onShowSessions ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
27
27
  className: `shrink-0 px-3 pt-2 ${navigationToggle === "mobile" ? "md:hidden" : ""}`,
28
28
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.Button, {
@@ -40,7 +40,7 @@ function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "N
40
40
  })
41
41
  }) : null, /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
42
42
  className: "mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-6 md:px-8 md:py-8",
43
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
43
+ children: [bare ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
44
44
  className: "text-2xl font-semibold text-po-hi",
45
45
  children: title
46
46
  }), entries.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_agimon_ai_po_web_components.EmptyState, {
@@ -51,7 +51,7 @@ function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "N
51
51
  });
52
52
  }
53
53
  /** Home reads only global fills, regardless of the focused session or workspace. */
54
- function HomePage({ onShowSessions, navigationToggle }) {
54
+ function HomePage({ onShowSessions, navigationToggle, bare }) {
55
55
  const props = require_usePluginSlotProps.usePluginSlotProps(null);
56
56
  const fills = [...require_pluginRegistry.dashboardTileFills({ scope: "global" }), ...require_pluginRegistry.legacyHomeAppFills()].sort((left, right) => left.order - right.order || left.pluginId.localeCompare(right.pluginId) || left.id.localeCompare(right.id));
57
57
  const tiles = require_pluginRegistry.globalSlotFills(_agimon_ai_po_core_web.HOST_SLOTS.homeAttention).flatMap((fill) => fill.component === void 0 ? [] : [{
@@ -82,7 +82,8 @@ function HomePage({ onShowSessions, navigationToggle }) {
82
82
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(HomeView, {
83
83
  tiles,
84
84
  ...onShowSessions === void 0 ? {} : { onShowSessions },
85
- ...navigationToggle === void 0 ? {} : { navigationToggle }
85
+ ...navigationToggle === void 0 ? {} : { navigationToggle },
86
+ ...bare === void 0 ? {} : { bare }
86
87
  });
87
88
  }
88
89
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"HomePage.cjs","names":["Button","SidebarIcon","EmptyState","DashboardTileGrid","usePluginSlotProps","dashboardTileFills","legacyHomeAppFills","globalSlotFills","HOST_SLOTS","createElement","parseDashboardTileData"],"sources":["../../../src/web/components/HomePage.tsx"],"sourcesContent":["import { Button, EmptyState, SidebarIcon } from '@agimon-ai/po-web-components';\nimport { createElement, type ReactNode } from 'react';\n\nimport {\n dashboardTileFills,\n globalSlotFills,\n HOST_SLOTS,\n legacyHomeAppFills,\n parseDashboardTileData,\n} from '../lib/pluginRegistry';\nimport { usePluginSlotProps } from '../stores/usePluginSlotProps';\nimport { DashboardTileGrid, type DashboardTileView } from './DashboardTileGrid';\n\nexport interface HomeViewProps {\n tiles?: readonly DashboardTileView[];\n /** Legacy callers may still supply full cards; new callers supply ordered tiles instead. */\n main?: readonly ReactNode[];\n side?: readonly ReactNode[];\n title?: string;\n emptyTitle?: string;\n emptyDescription?: string;\n onShowSessions?: () => void;\n navigationToggle?: 'mobile' | 'always';\n}\n\n/** The shared Home and Workspace frame, independent of plugins, navigation and data loading. */\nexport function HomeView({\n tiles,\n main = [],\n side = [],\n title = 'Home',\n emptyTitle = 'Nothing on Home yet',\n emptyDescription = 'Apps you add show up here.',\n onShowSessions,\n navigationToggle = 'mobile',\n}: HomeViewProps) {\n const entries = tiles ?? [\n ...main.map((body, index): DashboardTileView => ({ id: `main-${index}`, size: 'wide', body, legacy: true })),\n ...side.map((body, index): DashboardTileView => ({ id: `side-${index}`, size: 'small', body, legacy: true })),\n ];\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 bg-po-bg font-sans text-base text-po-text\"\n >\n {onShowSessions ? (\n <div className={`shrink-0 px-3 pt-2 ${navigationToggle === 'mobile' ? 'md:hidden' : ''}`}>\n <Button\n variant=\"ghost\"\n size=\"icon-md\"\n data-testid=\"mobile-sessions-open\"\n title=\"Show sessions\"\n aria-label=\"Show sessions\"\n onClick={onShowSessions}\n className=\"rounded-lg bg-po-panel/60 text-po-text hover:bg-po-panel hover:text-po-hi\"\n >\n <SidebarIcon aria-hidden className=\"size-4\" />\n </Button>\n </div>\n ) : null}\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 <h1 className=\"text-2xl font-semibold text-po-hi\">{title}</h1>\n {entries.length === 0 ? (\n <EmptyState title={emptyTitle} description={emptyDescription} />\n ) : (\n <DashboardTileGrid tiles={entries} />\n )}\n </div>\n </section>\n );\n}\n\n/** Home reads only global fills, regardless of the focused session or workspace. */\nexport function HomePage({\n onShowSessions,\n navigationToggle,\n}: {\n onShowSessions?: () => void;\n navigationToggle?: 'mobile' | 'always';\n}) {\n const props = usePluginSlotProps(null);\n const fills = [...dashboardTileFills({ scope: 'global' }), ...legacyHomeAppFills()].sort(\n (left, right) =>\n left.order - right.order || left.pluginId.localeCompare(right.pluginId) || left.id.localeCompare(right.id),\n );\n // What waits on the person leads the main column; each fill draws its own frame and hides when idle.\n const tiles: DashboardTileView[] = globalSlotFills(HOST_SLOTS.homeAttention).flatMap((fill) =>\n fill.component === undefined\n ? []\n : [\n {\n id: JSON.stringify([fill.pluginId, fill.id]),\n size: 'wide' as const,\n legacy: true,\n body: createElement(fill.component, props),\n },\n ],\n );\n for (const fill of fills) {\n const component = fill.component;\n if (component === undefined) continue;\n const id = JSON.stringify([fill.pluginId, fill.id]);\n const data = parseDashboardTileData(fill.data);\n const destination = data?.open;\n const open = destination?.kind === 'page' ? props.openPage : props.openSettings;\n tiles.push({\n id,\n size:\n data === null\n ? (fill.data as { column?: unknown } | undefined)?.column === 'side'\n ? 'small'\n : 'wide'\n : (data.size ?? 'small'),\n ...(data === null ? { legacy: true } : { title: data.title, icon: data.icon, column: data.column }),\n ...(destination === undefined || open === undefined ? {} : { onOpen: () => open(destination.id) }),\n body: createElement(component, props),\n });\n }\n return (\n <HomeView\n tiles={tiles}\n {...(onShowSessions === undefined ? {} : { onShowSessions })}\n {...(navigationToggle === undefined ? {} : { navigationToggle })}\n />\n );\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"HomePage.cjs","names":["Button","SidebarIcon","EmptyState","DashboardTileGrid","usePluginSlotProps","dashboardTileFills","legacyHomeAppFills","globalSlotFills","HOST_SLOTS","createElement","parseDashboardTileData"],"sources":["../../../src/web/components/HomePage.tsx"],"sourcesContent":["import { Button, EmptyState, SidebarIcon } from '@agimon-ai/po-web-components';\nimport { createElement, type ReactNode } from 'react';\n\nimport {\n dashboardTileFills,\n globalSlotFills,\n HOST_SLOTS,\n legacyHomeAppFills,\n parseDashboardTileData,\n} from '../lib/pluginRegistry';\nimport { usePluginSlotProps } from '../stores/usePluginSlotProps';\nimport { DashboardTileGrid, type DashboardTileView } from './DashboardTileGrid';\n\nexport interface HomeViewProps {\n tiles?: readonly DashboardTileView[];\n /** Legacy callers may still supply full cards; new callers supply ordered tiles instead. */\n main?: readonly ReactNode[];\n side?: readonly ReactNode[];\n title?: string;\n emptyTitle?: string;\n emptyDescription?: string;\n onShowSessions?: () => void;\n navigationToggle?: 'mobile' | 'always';\n /** Drawn on a template's own background, such as a desktop: no page background and no heading. */\n bare?: boolean;\n}\n\n/** The shared Home and Workspace frame, independent of plugins, navigation and data loading. */\nexport function HomeView({\n tiles,\n main = [],\n side = [],\n title = 'Home',\n emptyTitle = 'Nothing on Home yet',\n emptyDescription = 'Apps you add show up here.',\n onShowSessions,\n navigationToggle = 'mobile',\n bare = false,\n}: HomeViewProps) {\n const entries = tiles ?? [\n ...main.map((body, index): DashboardTileView => ({ id: `main-${index}`, size: 'wide', body, legacy: true })),\n ...side.map((body, index): DashboardTileView => ({ id: `side-${index}`, size: 'small', body, legacy: true })),\n ];\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 {onShowSessions ? (\n <div className={`shrink-0 px-3 pt-2 ${navigationToggle === 'mobile' ? 'md:hidden' : ''}`}>\n <Button\n variant=\"ghost\"\n size=\"icon-md\"\n data-testid=\"mobile-sessions-open\"\n title=\"Show sessions\"\n aria-label=\"Show sessions\"\n onClick={onShowSessions}\n className=\"rounded-lg bg-po-panel/60 text-po-text hover:bg-po-panel hover:text-po-hi\"\n >\n <SidebarIcon aria-hidden className=\"size-4\" />\n </Button>\n </div>\n ) : null}\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 {bare ? null : <h1 className=\"text-2xl font-semibold text-po-hi\">{title}</h1>}\n {entries.length === 0 ? (\n <EmptyState title={emptyTitle} description={emptyDescription} />\n ) : (\n <DashboardTileGrid tiles={entries} />\n )}\n </div>\n </section>\n );\n}\n\n/** Home reads only global fills, regardless of the focused session or workspace. */\nexport function HomePage({\n onShowSessions,\n navigationToggle,\n bare,\n}: {\n onShowSessions?: () => void;\n navigationToggle?: 'mobile' | 'always';\n bare?: boolean;\n}) {\n const props = usePluginSlotProps(null);\n const fills = [...dashboardTileFills({ scope: 'global' }), ...legacyHomeAppFills()].sort(\n (left, right) =>\n left.order - right.order || left.pluginId.localeCompare(right.pluginId) || left.id.localeCompare(right.id),\n );\n // What waits on the person leads the main column; each fill draws its own frame and hides when idle.\n const tiles: DashboardTileView[] = globalSlotFills(HOST_SLOTS.homeAttention).flatMap((fill) =>\n fill.component === undefined\n ? []\n : [\n {\n id: JSON.stringify([fill.pluginId, fill.id]),\n size: 'wide' as const,\n legacy: true,\n body: createElement(fill.component, props),\n },\n ],\n );\n for (const fill of fills) {\n const component = fill.component;\n if (component === undefined) continue;\n const id = JSON.stringify([fill.pluginId, fill.id]);\n const data = parseDashboardTileData(fill.data);\n const destination = data?.open;\n const open = destination?.kind === 'page' ? props.openPage : props.openSettings;\n tiles.push({\n id,\n size:\n data === null\n ? (fill.data as { column?: unknown } | undefined)?.column === 'side'\n ? 'small'\n : 'wide'\n : (data.size ?? 'small'),\n ...(data === null ? { legacy: true } : { title: data.title, icon: data.icon, column: data.column }),\n ...(destination === undefined || open === undefined ? {} : { onOpen: () => open(destination.id) }),\n body: createElement(component, props),\n });\n }\n return (\n <HomeView\n tiles={tiles}\n {...(onShowSessions === undefined ? {} : { onShowSessions })}\n {...(navigationToggle === undefined ? {} : { navigationToggle })}\n {...(bare === undefined ? {} : { bare })}\n />\n );\n}\n"],"mappings":"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"}
@@ -11,13 +11,16 @@ export interface HomeViewProps {
11
11
  emptyDescription?: string;
12
12
  onShowSessions?: () => void;
13
13
  navigationToggle?: 'mobile' | 'always';
14
+ /** Drawn on a template's own background, such as a desktop: no page background and no heading. */
15
+ bare?: boolean;
14
16
  }
15
17
  /** The shared Home and Workspace frame, independent of plugins, navigation and data loading. */
16
- export declare function HomeView({ tiles, main, side, title, emptyTitle, emptyDescription, onShowSessions, navigationToggle }: HomeViewProps): import("react").JSX.Element;
18
+ export declare function HomeView({ tiles, main, side, title, emptyTitle, emptyDescription, onShowSessions, navigationToggle, bare }: HomeViewProps): import("react").JSX.Element;
17
19
  /** Home reads only global fills, regardless of the focused session or workspace. */
18
- export declare function HomePage({ onShowSessions, navigationToggle }: {
20
+ export declare function HomePage({ onShowSessions, navigationToggle, bare }: {
19
21
  onShowSessions?: () => void;
20
22
  navigationToggle?: 'mobile' | 'always';
23
+ bare?: boolean;
21
24
  }): import("react").JSX.Element;
22
25
  //#endregion
23
26
  //# sourceMappingURL=HomePage.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HomePage.d.mts","names":[],"sources":["../../../src/web/components/HomePage.tsx"],"mappings":";;;iBAaiB;EACf,iBAAiB;;EAEjB,gBAAgB;EAChB,gBAAgB;EAChB;EACA;EACA;EACA;EACA;;;wBAIc,WACd,OACA,MACA,MACA,OACA,YACA,kBACA,gBACA,oBACC,gCAAa,IAAA;;wBAuCA,WACd,gBACA;EAEA;EACA;oBACD,IAAA"}
1
+ {"version":3,"file":"HomePage.d.mts","names":[],"sources":["../../../src/web/components/HomePage.tsx"],"mappings":";;;iBAaiB;EACf,iBAAiB;;EAEjB,gBAAgB;EAChB,gBAAgB;EAChB;EACA;EACA;EACA;EACA;;EAEA;;;wBAIc,WACd,OACA,MACA,MACA,OACA,YACA,kBACA,gBACA,kBACA,QACC,gCAAa,IAAA;;wBAuCA,WACd,gBACA,kBACA;EAEA;EACA;EACA;oBACD,IAAA"}
@@ -6,7 +6,7 @@ import { Button, EmptyState, SidebarIcon } from "@agimon-ai/po-web-components";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region src/web/components/HomePage.tsx
8
8
  /** The shared Home and Workspace frame, independent of plugins, navigation and data loading. */
9
- function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "Nothing on Home yet", emptyDescription = "Apps you add show up here.", onShowSessions, navigationToggle = "mobile" }) {
9
+ function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "Nothing on Home yet", emptyDescription = "Apps you add show up here.", onShowSessions, navigationToggle = "mobile", bare = false }) {
10
10
  const entries = tiles ?? [...main.map((body, index) => ({
11
11
  id: `main-${index}`,
12
12
  size: "wide",
@@ -21,7 +21,7 @@ function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "N
21
21
  return /* @__PURE__ */ jsxs("section", {
22
22
  "aria-label": title,
23
23
  "data-testid": "home-page",
24
- className: "flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto bg-po-bg font-sans text-base text-po-text",
24
+ 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"}`,
25
25
  children: [onShowSessions ? /* @__PURE__ */ jsx("div", {
26
26
  className: `shrink-0 px-3 pt-2 ${navigationToggle === "mobile" ? "md:hidden" : ""}`,
27
27
  children: /* @__PURE__ */ jsx(Button, {
@@ -39,7 +39,7 @@ function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "N
39
39
  })
40
40
  }) : null, /* @__PURE__ */ jsxs("div", {
41
41
  className: "mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-6 md:px-8 md:py-8",
42
- children: [/* @__PURE__ */ jsx("h1", {
42
+ children: [bare ? null : /* @__PURE__ */ jsx("h1", {
43
43
  className: "text-2xl font-semibold text-po-hi",
44
44
  children: title
45
45
  }), entries.length === 0 ? /* @__PURE__ */ jsx(EmptyState, {
@@ -50,7 +50,7 @@ function HomeView({ tiles, main = [], side = [], title = "Home", emptyTitle = "N
50
50
  });
51
51
  }
52
52
  /** Home reads only global fills, regardless of the focused session or workspace. */
53
- function HomePage({ onShowSessions, navigationToggle }) {
53
+ function HomePage({ onShowSessions, navigationToggle, bare }) {
54
54
  const props = usePluginSlotProps(null);
55
55
  const fills = [...dashboardTileFills({ scope: "global" }), ...legacyHomeAppFills()].sort((left, right) => left.order - right.order || left.pluginId.localeCompare(right.pluginId) || left.id.localeCompare(right.id));
56
56
  const tiles = globalSlotFills(HOST_SLOTS.homeAttention).flatMap((fill) => fill.component === void 0 ? [] : [{
@@ -81,7 +81,8 @@ function HomePage({ onShowSessions, navigationToggle }) {
81
81
  return /* @__PURE__ */ jsx(HomeView, {
82
82
  tiles,
83
83
  ...onShowSessions === void 0 ? {} : { onShowSessions },
84
- ...navigationToggle === void 0 ? {} : { navigationToggle }
84
+ ...navigationToggle === void 0 ? {} : { navigationToggle },
85
+ ...bare === void 0 ? {} : { bare }
85
86
  });
86
87
  }
87
88
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"HomePage.mjs","names":[],"sources":["../../../src/web/components/HomePage.tsx"],"sourcesContent":["import { Button, EmptyState, SidebarIcon } from '@agimon-ai/po-web-components';\nimport { createElement, type ReactNode } from 'react';\n\nimport {\n dashboardTileFills,\n globalSlotFills,\n HOST_SLOTS,\n legacyHomeAppFills,\n parseDashboardTileData,\n} from '../lib/pluginRegistry';\nimport { usePluginSlotProps } from '../stores/usePluginSlotProps';\nimport { DashboardTileGrid, type DashboardTileView } from './DashboardTileGrid';\n\nexport interface HomeViewProps {\n tiles?: readonly DashboardTileView[];\n /** Legacy callers may still supply full cards; new callers supply ordered tiles instead. */\n main?: readonly ReactNode[];\n side?: readonly ReactNode[];\n title?: string;\n emptyTitle?: string;\n emptyDescription?: string;\n onShowSessions?: () => void;\n navigationToggle?: 'mobile' | 'always';\n}\n\n/** The shared Home and Workspace frame, independent of plugins, navigation and data loading. */\nexport function HomeView({\n tiles,\n main = [],\n side = [],\n title = 'Home',\n emptyTitle = 'Nothing on Home yet',\n emptyDescription = 'Apps you add show up here.',\n onShowSessions,\n navigationToggle = 'mobile',\n}: HomeViewProps) {\n const entries = tiles ?? [\n ...main.map((body, index): DashboardTileView => ({ id: `main-${index}`, size: 'wide', body, legacy: true })),\n ...side.map((body, index): DashboardTileView => ({ id: `side-${index}`, size: 'small', body, legacy: true })),\n ];\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 bg-po-bg font-sans text-base text-po-text\"\n >\n {onShowSessions ? (\n <div className={`shrink-0 px-3 pt-2 ${navigationToggle === 'mobile' ? 'md:hidden' : ''}`}>\n <Button\n variant=\"ghost\"\n size=\"icon-md\"\n data-testid=\"mobile-sessions-open\"\n title=\"Show sessions\"\n aria-label=\"Show sessions\"\n onClick={onShowSessions}\n className=\"rounded-lg bg-po-panel/60 text-po-text hover:bg-po-panel hover:text-po-hi\"\n >\n <SidebarIcon aria-hidden className=\"size-4\" />\n </Button>\n </div>\n ) : null}\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 <h1 className=\"text-2xl font-semibold text-po-hi\">{title}</h1>\n {entries.length === 0 ? (\n <EmptyState title={emptyTitle} description={emptyDescription} />\n ) : (\n <DashboardTileGrid tiles={entries} />\n )}\n </div>\n </section>\n );\n}\n\n/** Home reads only global fills, regardless of the focused session or workspace. */\nexport function HomePage({\n onShowSessions,\n navigationToggle,\n}: {\n onShowSessions?: () => void;\n navigationToggle?: 'mobile' | 'always';\n}) {\n const props = usePluginSlotProps(null);\n const fills = [...dashboardTileFills({ scope: 'global' }), ...legacyHomeAppFills()].sort(\n (left, right) =>\n left.order - right.order || left.pluginId.localeCompare(right.pluginId) || left.id.localeCompare(right.id),\n );\n // What waits on the person leads the main column; each fill draws its own frame and hides when idle.\n const tiles: DashboardTileView[] = globalSlotFills(HOST_SLOTS.homeAttention).flatMap((fill) =>\n fill.component === undefined\n ? []\n : [\n {\n id: JSON.stringify([fill.pluginId, fill.id]),\n size: 'wide' as const,\n legacy: true,\n body: createElement(fill.component, props),\n },\n ],\n );\n for (const fill of fills) {\n const component = fill.component;\n if (component === undefined) continue;\n const id = JSON.stringify([fill.pluginId, fill.id]);\n const data = parseDashboardTileData(fill.data);\n const destination = data?.open;\n const open = destination?.kind === 'page' ? props.openPage : props.openSettings;\n tiles.push({\n id,\n size:\n data === null\n ? (fill.data as { column?: unknown } | undefined)?.column === 'side'\n ? 'small'\n : 'wide'\n : (data.size ?? 'small'),\n ...(data === null ? { legacy: true } : { title: data.title, icon: data.icon, column: data.column }),\n ...(destination === undefined || open === undefined ? {} : { onOpen: () => open(destination.id) }),\n body: createElement(component, props),\n });\n }\n return (\n <HomeView\n tiles={tiles}\n {...(onShowSessions === undefined ? {} : { onShowSessions })}\n {...(navigationToggle === undefined ? {} : { navigationToggle })}\n />\n );\n}\n"],"mappings":";;;;;;;;AA0BA,SAAgB,SAAS,EACvB,OACA,OAAO,CAAC,GACR,OAAO,CAAC,GACR,QAAQ,QACR,aAAa,uBACb,mBAAmB,8BACnB,gBACA,mBAAmB,YACH;CAChB,MAAM,UAAU,SAAS,CACvB,GAAG,KAAK,KAAK,MAAM,WAA8B;EAAE,IAAI,QAAQ;EAAS,MAAM;EAAQ;EAAM,QAAQ;CAAK,EAAE,GAC3G,GAAG,KAAK,KAAK,MAAM,WAA8B;EAAE,IAAI,QAAQ;EAAS,MAAM;EAAS;EAAM,QAAQ;CAAK,EAAE,CAC9G;CACA,OACE,qBAAC,WAAD;EACE,cAAY;EACZ,eAAY;EACZ,WAAU;EAHZ,UAAA,CAKG,iBACC,oBAAC,OAAD;GAAK,WAAW,sBAAsB,qBAAqB,WAAW,cAAc;GAClF,UAAA,oBAAC,QAAD;IACE,SAAQ;IACR,MAAK;IACL,eAAY;IACZ,OAAM;IACN,cAAW;IACX,SAAS;IACT,WAAU;IAEV,UAAA,oBAAC,aAAD;KAAa,eAAA;KAAY,WAAU;IAAU,CAAA;GACvC,CAAA;EACL,CAAA,IACH,MACJ,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,oBAAC,MAAD;IAAI,WAAU;IAAqC,UAAA;GAAU,CAAA,GAC5D,QAAQ,WAAW,IAClB,oBAAC,YAAD;IAAY,OAAO;IAAY,aAAa;GAAmB,CAAA,IAE/D,oBAAC,mBAAD,EAAmB,OAAO,QAAU,CAAA,CAEnC;EACE,CAAA,CAAA;;AAEb;;AAGA,SAAgB,SAAS,EACvB,gBACA,oBAIC;CACD,MAAM,QAAQ,mBAAmB,IAAI;CACrC,MAAM,QAAQ,CAAC,GAAG,mBAAmB,EAAE,OAAO,SAAS,CAAC,GAAG,GAAG,mBAAmB,CAAC,CAAC,CAAC,MACjF,MAAM,UACL,KAAK,QAAQ,MAAM,SAAS,KAAK,SAAS,cAAc,MAAM,QAAQ,KAAK,KAAK,GAAG,cAAc,MAAM,EAAE,CAC7G;CAEA,MAAM,QAA6B,gBAAgB,WAAW,aAAa,CAAC,CAAC,SAAS,SACpF,KAAK,cAAc,KAAA,IACf,CAAC,IACD,CACE;EACE,IAAI,KAAK,UAAU,CAAC,KAAK,UAAU,KAAK,EAAE,CAAC;EAC3C,MAAM;EACN,QAAQ;EACR,MAAM,cAAc,KAAK,WAAW,KAAK;CAC3C,CACF,CACN;CACA,KAAK,MAAM,QAAQ,OAAO;EACxB,MAAM,YAAY,KAAK;EACvB,IAAI,cAAc,KAAA,GAAW;EAC7B,MAAM,KAAK,KAAK,UAAU,CAAC,KAAK,UAAU,KAAK,EAAE,CAAC;EAClD,MAAM,OAAO,uBAAuB,KAAK,IAAI;EAC7C,MAAM,cAAc,MAAM;EAC1B,MAAM,OAAO,aAAa,SAAS,SAAS,MAAM,WAAW,MAAM;EACnE,MAAM,KAAK;GACT;GACA,MACE,SAAS,OACJ,KAAK,MAA2C,WAAW,SAC1D,UACA,SACD,KAAK,QAAQ;GACpB,GAAI,SAAS,OAAO,EAAE,QAAQ,KAAK,IAAI;IAAE,OAAO,KAAK;IAAO,MAAM,KAAK;IAAM,QAAQ,KAAK;GAAO;GACjG,GAAI,gBAAgB,KAAA,KAAa,SAAS,KAAA,IAAY,CAAC,IAAI,EAAE,cAAc,KAAK,YAAY,EAAE,EAAE;GAChG,MAAM,cAAc,WAAW,KAAK;EACtC,CAAC;CACH;CACA,OACE,oBAAC,UAAD;EACS;EACP,GAAK,mBAAmB,KAAA,IAAY,CAAC,IAAI,EAAE,eAAe;EAC1D,GAAK,qBAAqB,KAAA,IAAY,CAAC,IAAI,EAAE,iBAAiB;CAC/D,CAAA;AAEL"}
1
+ {"version":3,"file":"HomePage.mjs","names":[],"sources":["../../../src/web/components/HomePage.tsx"],"sourcesContent":["import { Button, EmptyState, SidebarIcon } from '@agimon-ai/po-web-components';\nimport { createElement, type ReactNode } from 'react';\n\nimport {\n dashboardTileFills,\n globalSlotFills,\n HOST_SLOTS,\n legacyHomeAppFills,\n parseDashboardTileData,\n} from '../lib/pluginRegistry';\nimport { usePluginSlotProps } from '../stores/usePluginSlotProps';\nimport { DashboardTileGrid, type DashboardTileView } from './DashboardTileGrid';\n\nexport interface HomeViewProps {\n tiles?: readonly DashboardTileView[];\n /** Legacy callers may still supply full cards; new callers supply ordered tiles instead. */\n main?: readonly ReactNode[];\n side?: readonly ReactNode[];\n title?: string;\n emptyTitle?: string;\n emptyDescription?: string;\n onShowSessions?: () => void;\n navigationToggle?: 'mobile' | 'always';\n /** Drawn on a template's own background, such as a desktop: no page background and no heading. */\n bare?: boolean;\n}\n\n/** The shared Home and Workspace frame, independent of plugins, navigation and data loading. */\nexport function HomeView({\n tiles,\n main = [],\n side = [],\n title = 'Home',\n emptyTitle = 'Nothing on Home yet',\n emptyDescription = 'Apps you add show up here.',\n onShowSessions,\n navigationToggle = 'mobile',\n bare = false,\n}: HomeViewProps) {\n const entries = tiles ?? [\n ...main.map((body, index): DashboardTileView => ({ id: `main-${index}`, size: 'wide', body, legacy: true })),\n ...side.map((body, index): DashboardTileView => ({ id: `side-${index}`, size: 'small', body, legacy: true })),\n ];\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 {onShowSessions ? (\n <div className={`shrink-0 px-3 pt-2 ${navigationToggle === 'mobile' ? 'md:hidden' : ''}`}>\n <Button\n variant=\"ghost\"\n size=\"icon-md\"\n data-testid=\"mobile-sessions-open\"\n title=\"Show sessions\"\n aria-label=\"Show sessions\"\n onClick={onShowSessions}\n className=\"rounded-lg bg-po-panel/60 text-po-text hover:bg-po-panel hover:text-po-hi\"\n >\n <SidebarIcon aria-hidden className=\"size-4\" />\n </Button>\n </div>\n ) : null}\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 {bare ? null : <h1 className=\"text-2xl font-semibold text-po-hi\">{title}</h1>}\n {entries.length === 0 ? (\n <EmptyState title={emptyTitle} description={emptyDescription} />\n ) : (\n <DashboardTileGrid tiles={entries} />\n )}\n </div>\n </section>\n );\n}\n\n/** Home reads only global fills, regardless of the focused session or workspace. */\nexport function HomePage({\n onShowSessions,\n navigationToggle,\n bare,\n}: {\n onShowSessions?: () => void;\n navigationToggle?: 'mobile' | 'always';\n bare?: boolean;\n}) {\n const props = usePluginSlotProps(null);\n const fills = [...dashboardTileFills({ scope: 'global' }), ...legacyHomeAppFills()].sort(\n (left, right) =>\n left.order - right.order || left.pluginId.localeCompare(right.pluginId) || left.id.localeCompare(right.id),\n );\n // What waits on the person leads the main column; each fill draws its own frame and hides when idle.\n const tiles: DashboardTileView[] = globalSlotFills(HOST_SLOTS.homeAttention).flatMap((fill) =>\n fill.component === undefined\n ? []\n : [\n {\n id: JSON.stringify([fill.pluginId, fill.id]),\n size: 'wide' as const,\n legacy: true,\n body: createElement(fill.component, props),\n },\n ],\n );\n for (const fill of fills) {\n const component = fill.component;\n if (component === undefined) continue;\n const id = JSON.stringify([fill.pluginId, fill.id]);\n const data = parseDashboardTileData(fill.data);\n const destination = data?.open;\n const open = destination?.kind === 'page' ? props.openPage : props.openSettings;\n tiles.push({\n id,\n size:\n data === null\n ? (fill.data as { column?: unknown } | undefined)?.column === 'side'\n ? 'small'\n : 'wide'\n : (data.size ?? 'small'),\n ...(data === null ? { legacy: true } : { title: data.title, icon: data.icon, column: data.column }),\n ...(destination === undefined || open === undefined ? {} : { onOpen: () => open(destination.id) }),\n body: createElement(component, props),\n });\n }\n return (\n <HomeView\n tiles={tiles}\n {...(onShowSessions === undefined ? {} : { onShowSessions })}\n {...(navigationToggle === undefined ? {} : { navigationToggle })}\n {...(bare === undefined ? {} : { bare })}\n />\n );\n}\n"],"mappings":"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"}