@agimon-ai/po-web-dashboard 0.0.0-alpha.1 → 0.0.0-alpha.3

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 (171) hide show
  1. package/dist/core.cjs +31 -0
  2. package/dist/core.d.mts +11 -3
  3. package/dist/core.mjs +11 -3
  4. package/dist/index.cjs +16 -5
  5. package/dist/index.d.mts +12 -10
  6. package/dist/index.mjs +7 -5
  7. package/dist/types/auth.cjs.map +1 -1
  8. package/dist/types/auth.d.mts +2 -0
  9. package/dist/types/auth.d.mts.map +1 -1
  10. package/dist/types/auth.mjs.map +1 -1
  11. package/dist/types/hub.cjs.map +1 -1
  12. package/dist/types/hub.d.mts +2 -0
  13. package/dist/types/hub.d.mts.map +1 -1
  14. package/dist/types/hub.mjs.map +1 -1
  15. package/dist/views.cjs +1 -1
  16. package/dist/views.d.mts +1 -1
  17. package/dist/views.mjs +1 -1
  18. package/dist/web/components/ToolRendererBoundary.d.mts +1 -0
  19. package/dist/web/features/activity/ActivityDock.cjs +23 -18
  20. package/dist/web/features/activity/ActivityDock.cjs.map +1 -1
  21. package/dist/web/features/activity/ActivityDock.mjs +23 -18
  22. package/dist/web/features/activity/ActivityDock.mjs.map +1 -1
  23. package/dist/web/features/activity/ContextItemDialog.d.mts +1 -0
  24. package/dist/web/features/selection/SelectionBar.cjs +12 -12
  25. package/dist/web/features/selection/SelectionBar.cjs.map +1 -1
  26. package/dist/web/features/selection/SelectionBar.d.mts.map +1 -1
  27. package/dist/web/features/selection/SelectionBar.mjs +12 -12
  28. package/dist/web/features/selection/SelectionBar.mjs.map +1 -1
  29. package/dist/web/features/session/Composer.cjs +9 -55
  30. package/dist/web/features/session/Composer.cjs.map +1 -1
  31. package/dist/web/features/session/Composer.d.mts.map +1 -1
  32. package/dist/web/features/session/Composer.mjs +5 -51
  33. package/dist/web/features/session/Composer.mjs.map +1 -1
  34. package/dist/web/features/session/ComposerPrompt.cjs +4 -3
  35. package/dist/web/features/session/ComposerPrompt.cjs.map +1 -1
  36. package/dist/web/features/session/ComposerPrompt.d.mts.map +1 -1
  37. package/dist/web/features/session/ComposerPrompt.mjs +5 -4
  38. package/dist/web/features/session/ComposerPrompt.mjs.map +1 -1
  39. package/dist/web/features/session/Timeline.cjs +1 -1
  40. package/dist/web/features/session/Timeline.mjs +1 -1
  41. package/dist/web/features/sessions/ResumeSessionDialog.d.mts +1 -0
  42. package/dist/web/features/sessions/useSessionRail.cjs +12 -0
  43. package/dist/web/features/sessions/useSessionRail.cjs.map +1 -1
  44. package/dist/web/features/sessions/useSessionRail.d.mts.map +1 -1
  45. package/dist/web/features/sessions/useSessionRail.mjs +13 -1
  46. package/dist/web/features/sessions/useSessionRail.mjs.map +1 -1
  47. package/dist/web/features/settings/ContributedSettings.cjs +192 -57
  48. package/dist/web/features/settings/ContributedSettings.cjs.map +1 -1
  49. package/dist/web/features/settings/ContributedSettings.d.mts +1 -0
  50. package/dist/web/features/settings/ContributedSettings.d.mts.map +1 -1
  51. package/dist/web/features/settings/ContributedSettings.mjs +194 -59
  52. package/dist/web/features/settings/ContributedSettings.mjs.map +1 -1
  53. package/dist/web/features/settings/ProviderSettings.cjs +71 -51
  54. package/dist/web/features/settings/ProviderSettings.cjs.map +1 -1
  55. package/dist/web/features/settings/ProviderSettings.d.mts.map +1 -1
  56. package/dist/web/features/settings/ProviderSettings.mjs +72 -52
  57. package/dist/web/features/settings/ProviderSettings.mjs.map +1 -1
  58. package/dist/web/features/settings/SettingsPanelHost.d.mts +1 -0
  59. package/dist/web/features/settings/settings.fixture.cjs +17 -0
  60. package/dist/web/features/settings/settings.fixture.cjs.map +1 -1
  61. package/dist/web/features/settings/settings.fixture.mjs +17 -0
  62. package/dist/web/features/settings/settings.fixture.mjs.map +1 -1
  63. package/dist/web/lib/browserTelemetry.d.mts +1 -0
  64. package/dist/web/lib/commands.d.mts +1 -0
  65. package/dist/web/lib/composerCapture.cjs +104 -0
  66. package/dist/web/lib/composerCapture.cjs.map +1 -0
  67. package/dist/web/lib/composerCapture.d.mts +8 -0
  68. package/dist/web/lib/composerCapture.d.mts.map +1 -0
  69. package/dist/web/lib/composerCapture.mjs +98 -0
  70. package/dist/web/lib/composerCapture.mjs.map +1 -0
  71. package/dist/web/lib/composerCompletion.cjs +66 -0
  72. package/dist/web/lib/composerCompletion.cjs.map +1 -0
  73. package/dist/web/lib/composerCompletion.d.mts +30 -0
  74. package/dist/web/lib/composerCompletion.d.mts.map +1 -0
  75. package/dist/web/lib/composerCompletion.mjs +62 -0
  76. package/dist/web/lib/composerCompletion.mjs.map +1 -0
  77. package/dist/web/lib/composerSubmissions.d.mts +1 -0
  78. package/dist/web/lib/composition.cjs +1 -1
  79. package/dist/web/lib/composition.cjs.map +1 -1
  80. package/dist/web/lib/composition.d.mts +1 -0
  81. package/dist/web/lib/composition.mjs +1 -1
  82. package/dist/web/lib/composition.mjs.map +1 -1
  83. package/dist/web/lib/dashboardRoute.d.mts +1 -0
  84. package/dist/web/lib/hubApi.cjs +35 -0
  85. package/dist/web/lib/hubApi.cjs.map +1 -1
  86. package/dist/web/lib/hubApi.d.mts +11 -0
  87. package/dist/web/lib/hubApi.d.mts.map +1 -1
  88. package/dist/web/lib/hubApi.mjs +33 -1
  89. package/dist/web/lib/hubApi.mjs.map +1 -1
  90. package/dist/web/lib/modelContextAdapter.d.mts +1 -0
  91. package/dist/web/lib/piTransport.cjs +34 -53
  92. package/dist/web/lib/piTransport.cjs.map +1 -1
  93. package/dist/web/lib/piTransport.d.mts +3 -3
  94. package/dist/web/lib/piTransport.d.mts.map +1 -1
  95. package/dist/web/lib/piTransport.mjs +34 -53
  96. package/dist/web/lib/piTransport.mjs.map +1 -1
  97. package/dist/web/lib/pluginRegistry.cjs +84 -18
  98. package/dist/web/lib/pluginRegistry.cjs.map +1 -1
  99. package/dist/web/lib/pluginRegistry.d.mts +24 -7
  100. package/dist/web/lib/pluginRegistry.d.mts.map +1 -1
  101. package/dist/web/lib/pluginRegistry.mjs +84 -19
  102. package/dist/web/lib/pluginRegistry.mjs.map +1 -1
  103. package/dist/web/lib/pluginSlotProps.cjs +3 -3
  104. package/dist/web/lib/pluginSlotProps.cjs.map +1 -1
  105. package/dist/web/lib/pluginSlotProps.mjs +3 -3
  106. package/dist/web/lib/pluginSlotProps.mjs.map +1 -1
  107. package/dist/web/lib/protocolHubSocket.cjs +40 -18
  108. package/dist/web/lib/protocolHubSocket.cjs.map +1 -1
  109. package/dist/web/lib/protocolHubSocket.d.mts +5 -3
  110. package/dist/web/lib/protocolHubSocket.d.mts.map +1 -1
  111. package/dist/web/lib/protocolHubSocket.mjs +40 -18
  112. package/dist/web/lib/protocolHubSocket.mjs.map +1 -1
  113. package/dist/web/lib/sessionActivityRenderer.d.mts +1 -0
  114. package/dist/web/lib/sessionModel.d.mts +1 -0
  115. package/dist/web/lib/sessionProtocolCommands.d.mts +1 -0
  116. package/dist/web/lib/sessionRailModel.cjs +1 -0
  117. package/dist/web/lib/sessionRailModel.cjs.map +1 -1
  118. package/dist/web/lib/sessionRailModel.d.mts +1 -0
  119. package/dist/web/lib/sessionRailModel.d.mts.map +1 -1
  120. package/dist/web/lib/sessionRailModel.mjs +1 -0
  121. package/dist/web/lib/sessionRailModel.mjs.map +1 -1
  122. package/dist/web/lib/sessionTranscriptRenderer.d.mts +1 -0
  123. package/dist/web/lib/statusLine.d.mts +1 -0
  124. package/dist/web/lib/stepUp.d.mts.map +1 -1
  125. package/dist/web/lib/threadRenderer.d.mts +1 -0
  126. package/dist/web/lib/toolCompletionTabs.cjs +4 -3
  127. package/dist/web/lib/toolCompletionTabs.cjs.map +1 -1
  128. package/dist/web/lib/toolCompletionTabs.d.mts +2 -1
  129. package/dist/web/lib/toolCompletionTabs.d.mts.map +1 -1
  130. package/dist/web/lib/toolCompletionTabs.mjs +4 -3
  131. package/dist/web/lib/toolCompletionTabs.mjs.map +1 -1
  132. package/dist/web/lib/toolPrompt.cjs +7 -3
  133. package/dist/web/lib/toolPrompt.cjs.map +1 -1
  134. package/dist/web/lib/toolPrompt.d.mts +1 -1
  135. package/dist/web/lib/toolPrompt.d.mts.map +1 -1
  136. package/dist/web/lib/toolPrompt.mjs +8 -4
  137. package/dist/web/lib/toolPrompt.mjs.map +1 -1
  138. package/dist/web/lib/transport.d.mts +1 -0
  139. package/dist/web/stores/captureStore.cjs +2 -2
  140. package/dist/web/stores/captureStore.cjs.map +1 -1
  141. package/dist/web/stores/captureStore.mjs +1 -1
  142. package/dist/web/stores/captureStore.mjs.map +1 -1
  143. package/dist/web/stores/composerStore.cjs +10 -102
  144. package/dist/web/stores/composerStore.cjs.map +1 -1
  145. package/dist/web/stores/composerStore.d.mts +2 -4
  146. package/dist/web/stores/composerStore.d.mts.map +1 -1
  147. package/dist/web/stores/composerStore.mjs +1 -93
  148. package/dist/web/stores/composerStore.mjs.map +1 -1
  149. package/dist/web/stores/composerSubmissionStore.cjs +1 -1
  150. package/dist/web/stores/composerSubmissionStore.mjs +1 -1
  151. package/dist/web/stores/sessionStore.cjs +12 -4
  152. package/dist/web/stores/sessionStore.cjs.map +1 -1
  153. package/dist/web/stores/sessionStore.d.mts +8 -2
  154. package/dist/web/stores/sessionStore.d.mts.map +1 -1
  155. package/dist/web/stores/sessionStore.mjs +12 -4
  156. package/dist/web/stores/sessionStore.mjs.map +1 -1
  157. package/dist/web/stores/sessionsStore.cjs +1 -1
  158. package/dist/web/stores/sessionsStore.mjs +1 -1
  159. package/dist/web/stores/transientTabsStore.d.mts +1 -0
  160. package/dist/web/stores/usePluginSlotProps.cjs +12 -1
  161. package/dist/web/stores/usePluginSlotProps.cjs.map +1 -1
  162. package/dist/web/stores/usePluginSlotProps.d.mts.map +1 -1
  163. package/dist/web/stores/usePluginSlotProps.mjs +12 -1
  164. package/dist/web/stores/usePluginSlotProps.mjs.map +1 -1
  165. package/dist/web/stores/useToolPrompt.cjs +18 -9
  166. package/dist/web/stores/useToolPrompt.cjs.map +1 -1
  167. package/dist/web/stores/useToolPrompt.d.mts +3 -2
  168. package/dist/web/stores/useToolPrompt.d.mts.map +1 -1
  169. package/dist/web/stores/useToolPrompt.mjs +18 -9
  170. package/dist/web/stores/useToolPrompt.mjs.map +1 -1
  171. package/package.json +10 -12
package/dist/core.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_commands = require("./web/lib/commands.cjs");
3
+ const require_composerCompletion = require("./web/lib/composerCompletion.cjs");
3
4
  const require_pluginScopes = require("./web/lib/pluginScopes.cjs");
4
5
  const require_templateCatalog = require("./web/lib/templateCatalog.cjs");
5
6
  const require_pluginRegistry = require("./web/lib/pluginRegistry.cjs");
@@ -8,20 +9,30 @@ const require_composition = require("./web/lib/composition.cjs");
8
9
  const require_contextComposition = require("./web/lib/contextComposition.cjs");
9
10
  const require_sessionProtocolCommands = require("./web/lib/sessionProtocolCommands.cjs");
10
11
  const require_transport = require("./web/lib/transport.cjs");
12
+ const require_pluginSlotProps = require("./web/lib/pluginSlotProps.cjs");
11
13
  const require_protocolHubSocket = require("./web/lib/protocolHubSocket.cjs");
12
14
  const require_sessionModel = require("./web/lib/sessionModel.cjs");
13
15
  const require_sessionSummary = require("./web/lib/sessionSummary.cjs");
14
16
  const require_sessionRailModel = require("./web/lib/sessionRailModel.cjs");
17
+ const require_toolMessageProps = require("./web/lib/toolMessageProps.cjs");
15
18
  const require_toolPrompt = require("./web/lib/toolPrompt.cjs");
19
+ const require_composerCapture = require("./web/lib/composerCapture.cjs");
16
20
  const require_sessionsStore = require("./web/stores/sessionsStore.cjs");
17
21
  const require_sessionStore = require("./web/stores/sessionStore.cjs");
22
+ const require_captureStore = require("./web/stores/captureStore.cjs");
18
23
  const require_menuStore = require("./web/stores/menuStore.cjs");
19
24
  const require_pagedTranscriptStore = require("./web/stores/pagedTranscriptStore.cjs");
20
25
  const require_threadStore = require("./web/stores/threadStore.cjs");
26
+ const require_transientTabsStore = require("./web/stores/transientTabsStore.cjs");
21
27
  const require_workspacesStore = require("./web/stores/workspacesStore.cjs");
28
+ const require_dialogDraftStore = require("./web/stores/dialogDraftStore.cjs");
29
+ const require_ToolRendererBoundary = require("./web/components/ToolRendererBoundary.cjs");
22
30
  exports.BUILTIN_COMMANDS = require_commands.BUILTIN_COMMANDS;
23
31
  exports.HOST_SLOTS = require_pluginRegistry.HOST_SLOTS;
24
32
  exports.LEGACY_WORKSPACE_ID = require_sessionRailModel.LEGACY_WORKSPACE_ID;
33
+ exports.MAX_COMPLETION_ITEMS = require_composerCompletion.MAX_COMPLETION_ITEMS;
34
+ exports.TRIGGER_CHARS = require_composerCompletion.TRIGGER_CHARS;
35
+ exports.ToolRendererBoundary = require_ToolRendererBoundary.ToolRendererBoundary;
25
36
  exports.abbreviateCwd = require_sessionSummary.abbreviateCwd;
26
37
  exports.abortCommand = require_commands.abortCommand;
27
38
  exports.abortRun = require_sessionStore.abortRun;
@@ -34,6 +45,7 @@ exports.answerDialogConfirm = require_sessionStore.answerDialogConfirm;
34
45
  exports.answerDialogValue = require_sessionStore.answerDialogValue;
35
46
  exports.appendQueued = require_sessionModel.appendQueued;
36
47
  exports.appendUserPrompt = require_sessionModel.appendUserPrompt;
48
+ exports.applyCaptureFrame = require_captureStore.applyCaptureFrame;
37
49
  exports.applyHistoryPage = require_sessionStore.applyHistoryPage;
38
50
  exports.applyProtocolQueue = require_sessionStore.applyProtocolQueue;
39
51
  exports.applyProtocolTranscript = require_sessionStore.applyProtocolTranscript;
@@ -65,6 +77,8 @@ exports.clearPendingMenu = require_menuStore.clearPendingMenu;
65
77
  exports.clearQueueCommand = require_commands.clearQueueCommand;
66
78
  exports.clearQueuedEntries = require_sessionModel.clearQueuedEntries;
67
79
  exports.clearQueuedMessages = require_sessionStore.clearQueuedMessages;
80
+ exports.closeTransientTab = require_transientTabsStore.closeTransientTab;
81
+ exports.commandCompletions = require_composerCompletion.commandCompletions;
68
82
  exports.compactCommand = require_commands.compactCommand;
69
83
  exports.completeSessionTransfer = require_sessionsStore.completeSessionTransfer;
70
84
  exports.contextGroups = require_contextComposition.contextGroups;
@@ -74,12 +88,16 @@ exports.deleteQueuedMessage = require_sessionStore.deleteQueuedMessage;
74
88
  exports.dialogCancelled = require_commands.dialogCancelled;
75
89
  exports.dialogConfirmed = require_commands.dialogConfirmed;
76
90
  exports.dialogValue = require_commands.dialogValue;
91
+ exports.disconnectCaptures = require_captureStore.disconnectCaptures;
77
92
  exports.dispatchChannelFrame = require_pluginRegistry.dispatchChannelFrame;
78
93
  exports.dropPluginSessionData = require_pluginRegistry.dropPluginSessionData;
79
94
  exports.dropSessionStore = require_sessionStore.dropSessionStore;
80
95
  exports.dropThreads = require_threadStore.dropThreads;
96
+ exports.dropTransientTabs = require_transientTabsStore.dropTransientTabs;
81
97
  exports.endSessionReplay = require_sessionStore.endSessionReplay;
82
98
  exports.enqueueAutomaticCommand = require_commands.enqueueAutomaticCommand;
99
+ exports.fileCompletions = require_composerCompletion.fileCompletions;
100
+ exports.findTransientTab = require_transientTabsStore.findTransientTab;
83
101
  exports.followUpCommand = require_commands.followUpCommand;
84
102
  exports.formatRunDuration = require_sessionSummary.formatRunDuration;
85
103
  exports.getAvailableModelsCommand = require_commands.getAvailableModelsCommand;
@@ -109,6 +127,7 @@ exports.nativeTemplateCatalog = require_pluginRegistry.nativeTemplateCatalog;
109
127
  exports.noSessions = require_sessionsStore.noSessions;
110
128
  exports.notifyHubConnected = require_transport.notifyHubConnected;
111
129
  exports.onHubConnected = require_transport.onHubConnected;
130
+ exports.openTransientTab = require_transientTabsStore.openTransientTab;
112
131
  exports.ownerLabel = require_contextComposition.ownerLabel;
113
132
  exports.ownersOf = require_contextComposition.ownersOf;
114
133
  exports.paletteCommands = require_pluginRegistry.paletteCommands;
@@ -120,12 +139,15 @@ exports.pluginActivityGroups = require_pluginRegistry.pluginActivityGroups;
120
139
  exports.pluginContextActions = require_pluginRegistry.pluginContextActions;
121
140
  exports.pluginDockFaces = require_pluginRegistry.pluginDockFaces;
122
141
  exports.pluginFileLinks = require_pluginRegistry.pluginFileLinks;
142
+ exports.pluginHomeContributions = require_pluginRegistry.pluginHomeContributions;
123
143
  exports.pluginLeaderBindings = require_pluginRegistry.pluginLeaderBindings;
124
144
  exports.pluginMinorModes = require_pluginRegistry.pluginMinorModes;
125
145
  exports.pluginRepositorySettingsPanels = require_pluginRegistry.pluginRepositorySettingsPanels;
126
146
  exports.pluginSelectionAxes = require_pluginRegistry.pluginSelectionAxes;
147
+ exports.pluginSessionContext = require_pluginSlotProps.pluginSessionContext;
127
148
  exports.pluginSettingsPanels = require_pluginRegistry.pluginSettingsPanels;
128
149
  exports.pluginSettingsSections = require_pluginRegistry.pluginSettingsSections;
150
+ exports.pluginSlotProps = require_pluginSlotProps.pluginSlotProps;
129
151
  exports.pluginToolRenderer = require_pluginRegistry.pluginToolRenderer;
130
152
  exports.pluginUserMessageActions = require_pluginRegistry.pluginUserMessageActions;
131
153
  exports.pluginsAtScope = require_pluginScopes.pluginsAtScope;
@@ -195,6 +217,7 @@ exports.slotFills = require_pluginRegistry.slotFills;
195
217
  exports.startPluginDefinitions = require_pluginRegistry.startPluginDefinitions;
196
218
  exports.startWebPlugins = require_pluginRegistry.startWebPlugins;
197
219
  exports.steerCommand = require_commands.steerCommand;
220
+ exports.submitCapture = require_captureStore.submitCapture;
198
221
  exports.submitMessage = require_sessionStore.submitMessage;
199
222
  exports.submitMessageWithAck = require_sessionStore.submitMessageWithAck;
200
223
  exports.subscribeActivitySources = require_composition.subscribeActivitySources;
@@ -203,14 +226,22 @@ exports.subscribeWebPluginRegistry = require_pluginRegistry.subscribeWebPluginRe
203
226
  exports.summariseArgs = require_sessionModel.summariseArgs;
204
227
  exports.textFromContent = require_sessionModel.textFromContent;
205
228
  exports.threadStoreKey = require_threadStore.threadStoreKey;
229
+ exports.toolMessageProps = require_toolMessageProps.toolMessageProps;
206
230
  exports.toolPromptClaim = require_toolPrompt.toolPromptClaim;
207
231
  exports.totalTokens = require_contextComposition.totalTokens;
232
+ exports.transientTabsStore = require_transientTabsStore.transientTabsStore;
233
+ exports.triggerTokenAt = require_composerCompletion.triggerTokenAt;
208
234
  exports.unsubscribeThread = require_threadStore.unsubscribeThread;
235
+ exports.updateDialogDraft = require_dialogDraftStore.updateDialogDraft;
209
236
  exports.useActiveSession = require_sessionStore.useActiveSession;
210
237
  exports.useActiveSessionMeta = require_sessionsStore.useActiveSessionMeta;
211
238
  exports.useActivityGroups = require_composition.useActivityGroups;
239
+ exports.useDialogDraft = require_dialogDraftStore.useDialogDraft;
240
+ exports.useDockFaces = require_composition.useDockFaces;
212
241
  exports.useHasOlderHistory = require_sessionStore.useHasOlderHistory;
213
242
  exports.useNoSessions = require_sessionsStore.useNoSessions;
243
+ exports.useTransientTabs = require_transientTabsStore.useTransientTabs;
244
+ exports.validateComposerCapture = require_composerCapture.validateComposerCapture;
214
245
  exports.waitForSession = require_sessionsStore.waitForSession;
215
246
  exports.webPluginDiagnostics = require_pluginRegistry.webPluginDiagnostics;
216
247
  exports.webPluginRegistryRevision = require_pluginRegistry.webPluginRegistryRevision;
package/dist/core.d.mts CHANGED
@@ -1,12 +1,17 @@
1
1
  import { AgentInfo, AssistantEntry, CommandInfo, DialogMethod, DialogRequest, EditorTextRequest, EntryKind, ModelChoice, NoticeEntry, ProfileIdentity, QueuedEntry, ReduceSessionOptions, SessionState, SessionStats, SettledEntry, TimelineEntry, ToolEntry, UserEntry, UserImage, appendQueued, appendUserPrompt, clearDialog, clearQueuedEntries, imagesFromContent, initialSessionState, isSupportedImageMimeType, prependHistory, reduceSession, removeQueuedEntry, replaceQueuedEntries, summariseArgs, textFromContent } from "./web/lib/sessionModel.mjs";
2
2
  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";
3
+ import { CompletionItem, CompletionKind, CompletionTrigger, MAX_COMPLETION_ITEMS, TRIGGER_CHARS, commandCompletions, fileCompletions, triggerTokenAt } from "./web/lib/composerCompletion.mjs";
3
4
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
4
5
  import { bindTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame } from "./web/lib/transport.mjs";
5
6
  import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
6
7
  import { InstalledNativeTemplate, NativeTemplateCatalog, bindBundledNativeTemplates, resolveNativeTemplate } from "./web/lib/templateCatalog.mjs";
7
- import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, ResolvedFill, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, bindSessionWebWorkspace, dispatchChannelFrame, dropPluginSessionData, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, nativeTemplateCatalog, paletteCommands, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
8
+ import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledHomeContribution, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, ResolvedFill, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, bindSessionWebWorkspace, dispatchChannelFrame, dropPluginSessionData, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, nativeTemplateCatalog, paletteCommands, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
8
9
  import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
9
10
  import { ToolPromptClaim, ToolPromptInput, toolPromptClaim } from "./web/lib/toolPrompt.mjs";
11
+ import { TransientTabActions, pluginSessionContext, pluginSlotProps } from "./web/lib/pluginSlotProps.mjs";
12
+ import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
13
+ import { ToolRendererBoundary } from "./web/components/ToolRendererBoundary.mjs";
14
+ import { updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
10
15
  import { AttachPhase, StatusLineInput, abbreviateCwd, formatRunDuration, personaInitials, runningCount, sessionStatusLine } from "./web/lib/sessionSummary.mjs";
11
16
  import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, buildRailWorkspaces, pendingSetupView, workspaceName } from "./web/lib/sessionRailModel.mjs";
12
17
  import { SessionMeta, SessionsState, activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, noSessions, resetSessions, resolveParentId, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, waitForSession } from "./web/stores/sessionsStore.mjs";
@@ -14,8 +19,11 @@ import { HistoryPage, abortRun, answerDialogConfirm, answerDialogValue, applyHis
14
19
  import { createPagedTranscript } from "./web/stores/pagedTranscriptStore.mjs";
15
20
  import { applyThreadTranscriptFrame, bindThreadReader, dropThreads, heldThreads, resetThreads, resubscribeThreads, subscribeThread, threadStoreKey, unsubscribeThread } from "./web/stores/threadStore.mjs";
16
21
  import { WorkspacesState, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, resetWorkspaces, selectWorkspace, workspacesStore } from "./web/stores/workspacesStore.mjs";
17
- import { ActivityGroup, MinorMode, SelectionAxis, activityGroups, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups } from "./web/lib/composition.mjs";
22
+ import { ActivityGroup, MinorMode, SelectionAxis, activityGroups, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaces } from "./web/lib/composition.mjs";
18
23
  import { parseSelection } from "./web/lib/statusLine.mjs";
19
24
  import { MenuClaim, MenuKind, MenuState, claimDialogMenu, clearPendingMenu, menuStore, pendingMenuFor, releaseDialogMenu, resetMenuStore, setPendingMenu } from "./web/stores/menuStore.mjs";
20
25
  import { ContextGroup, ContextItemSource, contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
21
- export { type ActivityGroup, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, CommandInfo, type ContextGroup, type ContextItemSource, DialogMethod, DialogRequest, EditorTextRequest, EntryKind, HOST_SLOTS, HistoryPage, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, type InstalledNativeTemplate, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, LEGACY_WORKSPACE_ID, 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, StatusLineInput, TimelineEntry, ToolEntry, ToolPromptClaim, ToolPromptInput, UserEntry, UserImage, WorkspacesState, abbreviateCwd, abortCommand, abortRun, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, compactCommand, completeSessionTransfer, contextGroups, createPagedTranscript, createProtocolHubSocket, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, dispatchChannelFrame, dropPluginSessionData, dropSessionStore, dropThreads, endSessionReplay, enqueueAutomaticCommand, followUpCommand, formatRunDuration, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldThreads, imagesFromContent, inactiveTotal, initialSessionState, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSupportedImageMimeType, loadModelChoices, markSocketClosed, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, notifyHubConnected, onHubConnected, ownerLabel, ownersOf, paletteCommands, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, queueFollowUp, queueFollowUpWithAck, reduceSession, refreshSessionFacts, refreshSessionStats, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, replaceQueuedEntries, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, rewindCommand, rewindToMessage, runCommand, runningCount, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setThinkingLevelCommand, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, steerCommand, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, textFromContent, threadStoreKey, toolPromptClaim, totalTokens, unsubscribeThread, useActiveSession, useActiveSessionMeta, useActivityGroups, useHasOlderHistory, useNoSessions, waitForSession, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceName, workspaceSlotFills, workspacesStore };
26
+ import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs";
27
+ import { validateComposerCapture } from "./web/lib/composerCapture.mjs";
28
+ import { applyCaptureFrame, disconnectCaptures, submitCapture } from "./web/stores/captureStore.mjs";
29
+ export { type ActivityGroup, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, type ContextGroup, type ContextItemSource, DialogMethod, DialogRequest, EditorTextRequest, EntryKind, HOST_SLOTS, HistoryPage, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledHomeContribution, type InstalledNativeTemplate, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, 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, StatusLineInput, TRIGGER_CHARS, TimelineEntry, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolRendererBoundary, type TransientTabActions, UserEntry, UserImage, WorkspacesState, abbreviateCwd, abortCommand, abortRun, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, createPagedTranscript, createProtocolHubSocket, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, findTransientTab, followUpCommand, formatRunDuration, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldThreads, imagesFromContent, inactiveTotal, initialSessionState, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSupportedImageMimeType, loadModelChoices, markSocketClosed, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, notifyHubConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, queueFollowUp, queueFollowUpWithAck, reduceSession, refreshSessionFacts, refreshSessionStats, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, replaceQueuedEntries, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, rewindCommand, rewindToMessage, runCommand, runningCount, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setThinkingLevelCommand, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, steerCommand, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, transientTabsStore, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaces, useHasOlderHistory, useNoSessions, useTransientTabs, validateComposerCapture, waitForSession, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceName, workspaceSlotFills, workspacesStore };
package/dist/core.mjs CHANGED
@@ -1,21 +1,29 @@
1
1
  import { BUILTIN_COMMANDS, 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";
2
+ import { MAX_COMPLETION_ITEMS, TRIGGER_CHARS, commandCompletions, fileCompletions, triggerTokenAt } from "./web/lib/composerCompletion.mjs";
2
3
  import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
3
4
  import { bindBundledNativeTemplates, resolveNativeTemplate } from "./web/lib/templateCatalog.mjs";
4
- import { HOST_SLOTS, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, bindSessionWebWorkspace, dispatchChannelFrame, dropPluginSessionData, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, nativeTemplateCatalog, paletteCommands, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
5
+ import { HOST_SLOTS, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, bindSessionWebWorkspace, dispatchChannelFrame, dropPluginSessionData, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, nativeTemplateCatalog, paletteCommands, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
5
6
  import { parseSelection } from "./web/lib/statusLine.mjs";
6
- import { activityGroups, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups } from "./web/lib/composition.mjs";
7
+ import { activityGroups, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaces } from "./web/lib/composition.mjs";
7
8
  import { contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
8
9
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
9
10
  import { bindTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame } from "./web/lib/transport.mjs";
11
+ import { pluginSessionContext, pluginSlotProps } from "./web/lib/pluginSlotProps.mjs";
10
12
  import { createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
11
13
  import { appendQueued, appendUserPrompt, clearDialog, clearQueuedEntries, imagesFromContent, initialSessionState, isSupportedImageMimeType, prependHistory, reduceSession, removeQueuedEntry, replaceQueuedEntries, summariseArgs, textFromContent } from "./web/lib/sessionModel.mjs";
12
14
  import { abbreviateCwd, formatRunDuration, personaInitials, runningCount, sessionStatusLine } from "./web/lib/sessionSummary.mjs";
13
15
  import { LEGACY_WORKSPACE_ID, buildRailWorkspaces, pendingSetupView, workspaceName } from "./web/lib/sessionRailModel.mjs";
16
+ import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
14
17
  import { toolPromptClaim } from "./web/lib/toolPrompt.mjs";
18
+ import { validateComposerCapture } from "./web/lib/composerCapture.mjs";
15
19
  import { activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, noSessions, resetSessions, resolveParentId, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, waitForSession } from "./web/stores/sessionsStore.mjs";
16
20
  import { abortRun, answerDialogConfirm, answerDialogValue, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionFrame, applySessionLifecycle, applyThreadFrame, beginSessionReplay, bindHistoryReader, cancelDialog, clearQueuedMessages, deleteQueuedMessage, dropSessionStore, endSessionReplay, loadModelChoices, promoteQueuedMessage, queueFollowUp, queueFollowUpWithAck, refreshSessionFacts, refreshSessionStats, releaseProtocolTranscript, renameSession, requestLatestHistory, requestNewerHistory, requestOlderHistory, resetSessionStore, resetSessionStores, resumeQueuedMessages, rewindToMessage, runCommand, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, sessionStoreFor, setAgentLock, setHasNewerHistory, submitMessage, submitMessageWithAck, useActiveSession, useHasOlderHistory } from "./web/stores/sessionStore.mjs";
21
+ import { applyCaptureFrame, disconnectCaptures, submitCapture } from "./web/stores/captureStore.mjs";
17
22
  import { claimDialogMenu, clearPendingMenu, menuStore, pendingMenuFor, releaseDialogMenu, resetMenuStore, setPendingMenu } from "./web/stores/menuStore.mjs";
18
23
  import { createPagedTranscript } from "./web/stores/pagedTranscriptStore.mjs";
19
24
  import { applyThreadTranscriptFrame, bindThreadReader, dropThreads, heldThreads, resetThreads, resubscribeThreads, subscribeThread, threadStoreKey, unsubscribeThread } from "./web/stores/threadStore.mjs";
25
+ import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs";
20
26
  import { applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, resetWorkspaces, selectWorkspace, workspacesStore } from "./web/stores/workspacesStore.mjs";
21
- export { BUILTIN_COMMANDS, HOST_SLOTS, LEGACY_WORKSPACE_ID, abbreviateCwd, abortCommand, abortRun, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, compactCommand, completeSessionTransfer, contextGroups, createPagedTranscript, createProtocolHubSocket, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, dispatchChannelFrame, dropPluginSessionData, dropSessionStore, dropThreads, endSessionReplay, enqueueAutomaticCommand, followUpCommand, formatRunDuration, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldThreads, imagesFromContent, inactiveTotal, initialSessionState, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSupportedImageMimeType, loadModelChoices, markSocketClosed, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, notifyHubConnected, onHubConnected, ownerLabel, ownersOf, paletteCommands, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, queueFollowUp, queueFollowUpWithAck, reduceSession, refreshSessionFacts, refreshSessionStats, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, replaceQueuedEntries, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, rewindCommand, rewindToMessage, runCommand, runningCount, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setThinkingLevelCommand, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, steerCommand, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, textFromContent, threadStoreKey, toolPromptClaim, totalTokens, unsubscribeThread, useActiveSession, useActiveSessionMeta, useActivityGroups, useHasOlderHistory, useNoSessions, waitForSession, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceName, workspaceSlotFills, workspacesStore };
27
+ import { updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
28
+ import { ToolRendererBoundary } from "./web/components/ToolRendererBoundary.mjs";
29
+ export { BUILTIN_COMMANDS, HOST_SLOTS, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, TRIGGER_CHARS, ToolRendererBoundary, abbreviateCwd, abortCommand, abortRun, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, createPagedTranscript, createProtocolHubSocket, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, findTransientTab, followUpCommand, formatRunDuration, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldThreads, imagesFromContent, inactiveTotal, initialSessionState, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSupportedImageMimeType, loadModelChoices, markSocketClosed, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, notifyHubConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, queueFollowUp, queueFollowUpWithAck, reduceSession, refreshSessionFacts, refreshSessionStats, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, replaceQueuedEntries, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, rewindCommand, rewindToMessage, runCommand, runningCount, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setThinkingLevelCommand, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, steerCommand, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, transientTabsStore, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaces, useHasOlderHistory, useNoSessions, useTransientTabs, validateComposerCapture, waitForSession, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceName, workspaceSlotFills, workspacesStore };
package/dist/index.cjs CHANGED
@@ -6,6 +6,7 @@ const require_authApi = require("./web/lib/authApi.cjs");
6
6
  const require_browserNotifications = require("./web/lib/browserNotifications.cjs");
7
7
  const require_browserTelemetry = require("./web/lib/browserTelemetry.cjs");
8
8
  const require_commands = require("./web/lib/commands.cjs");
9
+ const require_composerCompletion = require("./web/lib/composerCompletion.cjs");
9
10
  const require_composerSubmissions = require("./web/lib/composerSubmissions.cjs");
10
11
  const require_leaderTree = require("./web/lib/leaderTree.cjs");
11
12
  const require_pluginScopes = require("./web/lib/pluginScopes.cjs");
@@ -49,10 +50,11 @@ const require_toolCompletionTabs = require("./web/lib/toolCompletionTabs.cjs");
49
50
  const require_toolMessageProps = require("./web/lib/toolMessageProps.cjs");
50
51
  const require_toolPrompt = require("./web/lib/toolPrompt.cjs");
51
52
  const require_useSessionMcp = require("./web/lib/useSessionMcp.cjs");
52
- const require_composerStore = require("./web/stores/composerStore.cjs");
53
+ const require_composerCapture = require("./web/lib/composerCapture.cjs");
53
54
  const require_sessionsStore = require("./web/stores/sessionsStore.cjs");
54
55
  const require_sessionStore = require("./web/stores/sessionStore.cjs");
55
56
  const require_captureStore = require("./web/stores/captureStore.cjs");
57
+ const require_composerStore = require("./web/stores/composerStore.cjs");
56
58
  const require_composerSubmissionStore = require("./web/stores/composerSubmissionStore.cjs");
57
59
  const require_devProxyStore = require("./web/stores/devProxyStore.cjs");
58
60
  const require_fileLinkModesStore = require("./web/stores/fileLinkModesStore.cjs");
@@ -87,15 +89,17 @@ exports.EMPTY_NEW_SESSION_DRAFT = require_newSessionStore.EMPTY_NEW_SESSION_DRAF
87
89
  exports.EMPTY_SETTINGS_DRAFT = require_settingsDraftStore.EMPTY_SETTINGS_DRAFT;
88
90
  exports.HOST_SLOTS = require_pluginRegistry.HOST_SLOTS;
89
91
  exports.LEGACY_WORKSPACE_ID = require_sessionRailModel.LEGACY_WORKSPACE_ID;
92
+ exports.MAX_COMPLETION_ITEMS = require_composerCompletion.MAX_COMPLETION_ITEMS;
90
93
  exports.MAX_COMPOSER_ATTACHMENTS = require_composerStore.MAX_COMPOSER_ATTACHMENTS;
91
- exports.MAX_COMPOSER_IMAGE_BYTES = require_composerStore.MAX_COMPOSER_IMAGE_BYTES;
92
- exports.MAX_COMPOSER_TEXT_BYTES = require_composerStore.MAX_COMPOSER_TEXT_BYTES;
94
+ exports.MAX_COMPOSER_IMAGE_BYTES = require_composerCapture.MAX_COMPOSER_IMAGE_BYTES;
95
+ exports.MAX_COMPOSER_TEXT_BYTES = require_composerCapture.MAX_COMPOSER_TEXT_BYTES;
93
96
  exports.MAX_COMPOSER_TOTAL_IMAGE_BYTES = require_composerStore.MAX_COMPOSER_TOTAL_IMAGE_BYTES;
94
97
  exports.MAX_COMPOSER_TOTAL_TEXT_BYTES = require_composerStore.MAX_COMPOSER_TOTAL_TEXT_BYTES;
95
98
  exports.MAX_COMPOSER_UPLOAD_BYTES = require_composerStore.MAX_COMPOSER_UPLOAD_BYTES;
96
99
  exports.PACKAGED_MINOR_MODES = require_composition.PACKAGED_MINOR_MODES;
97
100
  exports.PACKAGED_SELECTION_AXES = require_composition.PACKAGED_SELECTION_AXES;
98
101
  exports.STEP_UP_HEADER_NAME = require_webauthnClient.STEP_UP_HEADER_NAME;
102
+ exports.TRIGGER_CHARS = require_composerCompletion.TRIGGER_CHARS;
99
103
  exports.abbreviateCwd = require_sessionSummary.abbreviateCwd;
100
104
  exports.abortCommand = require_commands.abortCommand;
101
105
  exports.abortRun = require_sessionStore.abortRun;
@@ -178,6 +182,7 @@ exports.closeResumeDialog = require_railDialogStore.closeResumeDialog;
178
182
  exports.closeTransientTab = require_transientTabsStore.closeTransientTab;
179
183
  exports.collectNativeTemplates = require_templateCatalog.collectNativeTemplates;
180
184
  exports.collectWebTemplates = require_templateCatalog.collectWebTemplates;
185
+ exports.commandCompletions = require_composerCompletion.commandCompletions;
181
186
  exports.compactCommand = require_commands.compactCommand;
182
187
  exports.completeSessionTransfer = require_sessionsStore.completeSessionTransfer;
183
188
  exports.composerStore = require_composerStore.composerStore;
@@ -188,7 +193,7 @@ exports.createDevProxyTarget = require_devProxyStore.createDevProxyTarget;
188
193
  exports.createPagedTranscript = require_pagedTranscriptStore.createPagedTranscript;
189
194
  exports.createPlainSession = require_newSessionStore.createPlainSession;
190
195
  exports.createProtocolHubSocket = require_protocolHubSocket.createProtocolHubSocket;
191
- exports.createProtocolTransport = require_piTransport.createProtocolTransport;
196
+ exports.createProtocolLink = require_piTransport.createProtocolLink;
192
197
  exports.createSession = require_hubApi.createSession;
193
198
  exports.createSessionMcpClient = require_sessionMcpApi.createSessionMcpClient;
194
199
  exports.createToolCompletionTabs = require_toolCompletionTabs.createToolCompletionTabs;
@@ -197,6 +202,7 @@ exports.dashboardRouteFrom = require_dashboardRoute.dashboardRouteFrom;
197
202
  exports.dashboardStateFor = require_dashboardStateStore.dashboardStateFor;
198
203
  exports.deleteDevProxyTarget = require_devProxyStore.deleteDevProxyTarget;
199
204
  exports.deleteQueuedMessage = require_sessionStore.deleteQueuedMessage;
205
+ exports.deleteSessionGroup = require_hubApi.deleteSessionGroup;
200
206
  exports.deliverBrowserNotification = require_browserNotifications.deliverBrowserNotification;
201
207
  exports.denyDevice = require_remoteAccessStore.denyDevice;
202
208
  exports.denyPairing = require_remoteApi.denyPairing;
@@ -227,6 +233,7 @@ exports.fetchContextItemDetail = require_contextDetailApi.fetchContextItemDetail
227
233
  exports.fetchDevProxyTargets = require_devProxyApi.fetchDevProxyTargets;
228
234
  exports.fetchRemoteState = require_remoteApi.fetchRemoteState;
229
235
  exports.fetchWithStepUp = require_stepUp.fetchWithStepUp;
236
+ exports.fileCompletions = require_composerCompletion.fileCompletions;
230
237
  exports.fileLinkFor = require_composition.fileLinkFor;
231
238
  exports.fileTabForPath = require_composition.fileTabForPath;
232
239
  exports.findTransientTab = require_transientTabsStore.findTransientTab;
@@ -313,6 +320,7 @@ exports.pluginActivityGroups = require_pluginRegistry.pluginActivityGroups;
313
320
  exports.pluginContextActions = require_pluginRegistry.pluginContextActions;
314
321
  exports.pluginDockFaces = require_pluginRegistry.pluginDockFaces;
315
322
  exports.pluginFileLinks = require_pluginRegistry.pluginFileLinks;
323
+ exports.pluginHomeContributions = require_pluginRegistry.pluginHomeContributions;
316
324
  exports.pluginLeaderBindings = require_pluginRegistry.pluginLeaderBindings;
317
325
  exports.pluginMinorModes = require_pluginRegistry.pluginMinorModes;
318
326
  exports.pluginRepositorySettingsPanels = require_pluginRegistry.pluginRepositorySettingsPanels;
@@ -373,6 +381,7 @@ exports.removeSessionWebPlugins = require_pluginRegistry.removeSessionWebPlugins
373
381
  exports.removeWorkspace = require_hubApi.removeWorkspace;
374
382
  exports.removeWorkspaceWebPlugins = require_pluginRegistry.removeWorkspaceWebPlugins;
375
383
  exports.renameSession = require_sessionStore.renameSession;
384
+ exports.renameSessionGroup = require_hubApi.renameSessionGroup;
376
385
  exports.renderSessionActivity = require_sessionActivityRenderer.renderSessionActivity;
377
386
  exports.renderSessionTranscript = require_sessionTranscriptRenderer.renderSessionTranscript;
378
387
  exports.renderThread = require_threadRenderer.renderThread;
@@ -457,6 +466,7 @@ exports.setModelCommand = require_commands.setModelCommand;
457
466
  exports.setNewSessionName = require_newSessionStore.setNewSessionName;
458
467
  exports.setPalettePath = require_paletteStore.setPalettePath;
459
468
  exports.setPendingMenu = require_menuStore.setPendingMenu;
469
+ exports.setSessionGroups = require_hubApi.setSessionGroups;
460
470
  exports.setSessionNameCommand = require_commands.setSessionNameCommand;
461
471
  exports.setSettingsDraft = require_settingsDraftStore.setSettingsDraft;
462
472
  exports.setThinkingLevelCommand = require_commands.setThinkingLevelCommand;
@@ -499,6 +509,7 @@ exports.toolPromptStore = require_toolPromptStore.toolPromptStore;
499
509
  exports.totalTokens = require_contextComposition.totalTokens;
500
510
  exports.transientTabsOf = require_transientTabsStore.transientTabsOf;
501
511
  exports.transientTabsStore = require_transientTabsStore.transientTabsStore;
512
+ exports.triggerTokenAt = require_composerCompletion.triggerTokenAt;
502
513
  exports.turnRemoteAccessOff = require_remoteAccessStore.turnRemoteAccessOff;
503
514
  exports.turnRemoteAccessOn = require_remoteAccessStore.turnRemoteAccessOn;
504
515
  exports.uiStore = require_uiStore.uiStore;
@@ -527,7 +538,7 @@ exports.useTemplateConfiguration = require_templateStore.useTemplateConfiguratio
527
538
  exports.useToolPrompt = require_useToolPrompt.useToolPrompt;
528
539
  exports.useTransientTabs = require_transientTabsStore.useTransientTabs;
529
540
  exports.useWebPluginRegistry = require_useWebPluginRegistry.useWebPluginRegistry;
530
- exports.validateComposerCapture = require_composerStore.validateComposerCapture;
541
+ exports.validateComposerCapture = require_composerCapture.validateComposerCapture;
531
542
  exports.waitForSession = require_sessionsStore.waitForSession;
532
543
  exports.watchDashboardTranscript = require_dashboardTranscript.watchDashboardTranscript;
533
544
  exports.webPluginCompositionStore = require_pluginCompositions.webPluginCompositionStore;
package/dist/index.d.mts CHANGED
@@ -1,12 +1,16 @@
1
1
  import { AgentInfo, AssistantEntry, CommandInfo, DialogMethod, DialogRequest, EditorTextRequest, EntryKind, ModelChoice, NoticeEntry, ProfileIdentity, QueuedEntry, ReduceSessionOptions, SessionState, SessionStats, SettledEntry, TimelineEntry, ToolEntry, UserEntry, UserImage, appendQueued, appendUserPrompt, clearDialog, clearQueuedEntries, imagesFromContent, initialSessionState, isSupportedImageMimeType, prependHistory, reduceSession, removeQueuedEntry, replaceQueuedEntries, summariseArgs, textFromContent } from "./web/lib/sessionModel.mjs";
2
2
  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";
3
+ import { CompletionItem, CompletionKind, CompletionTrigger, MAX_COMPLETION_ITEMS, TRIGGER_CHARS, commandCompletions, fileCompletions, triggerTokenAt } from "./web/lib/composerCompletion.mjs";
3
4
  import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
4
5
  import { bindTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame } from "./web/lib/transport.mjs";
5
6
  import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
6
7
  import { InstalledNativeTemplate, InstalledWebTemplate, NativeTemplateCatalog, WebTemplateCatalog, WebTemplateDiagnostic, bindBundledNativeTemplates, bindBundledWebTemplates, collectNativeTemplates, collectWebTemplates, resolveNativeTemplate, resolveWebTemplate } from "./web/lib/templateCatalog.mjs";
7
- import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, ResolvedFill, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, bindSessionWebWorkspace, dispatchChannelFrame, dropPluginSessionData, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, nativeTemplateCatalog, paletteCommands, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
8
+ import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledHomeContribution, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, ResolvedFill, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, bindSessionWebWorkspace, dispatchChannelFrame, dropPluginSessionData, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, nativeTemplateCatalog, paletteCommands, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
8
9
  import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
9
10
  import { ToolPromptClaim, ToolPromptInput, toolPromptClaim } from "./web/lib/toolPrompt.mjs";
11
+ import { TransientTabActions, pluginSessionContext, pluginSlotProps } from "./web/lib/pluginSlotProps.mjs";
12
+ import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
13
+ import { DialogDraft, dialogDraftStore, updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
10
14
  import { AttachPhase, StatusLineInput, abbreviateCwd, formatRunDuration, personaInitials, runningCount, sessionStatusLine } from "./web/lib/sessionSummary.mjs";
11
15
  import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, buildRailWorkspaces, pendingSetupView, workspaceName } from "./web/lib/sessionRailModel.mjs";
12
16
  import { SessionMeta, SessionsState, activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, noSessions, resetSessions, resolveParentId, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, waitForSession } from "./web/stores/sessionsStore.mjs";
@@ -19,6 +23,9 @@ import { ActivityGroup, FileLinkResolver, MinorMode, MinorModeAvailability, Mino
19
23
  import { Selection, ansiSegments, emptySelection, parseSelection, stripAnsi } from "./web/lib/statusLine.mjs";
20
24
  import { MenuClaim, MenuKind, MenuState, claimDialogMenu, clearPendingMenu, menuStore, pendingMenuFor, releaseDialogMenu, resetMenuStore, setPendingMenu } from "./web/stores/menuStore.mjs";
21
25
  import { ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
26
+ import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, resetTransientTabs, transientTabsOf, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs";
27
+ import { MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, validateComposerCapture } from "./web/lib/composerCapture.mjs";
28
+ import { applyCaptureFrame, disconnectCaptures, onCaptureStatus, pendingCaptureSessions, submitCapture } from "./web/stores/captureStore.mjs";
22
29
  import { LoginFlowResult, LogoutResult, ProvidersResult, answerLogin, cancelLogin, listProviders, logoutProvider, readLogin, startLogin } from "./web/lib/authApi.mjs";
23
30
  import { BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, browserNotificationPermission, deliverBrowserNotification, requestBrowserNotificationPermission } from "./web/lib/browserNotifications.mjs";
24
31
  import { onComposerSubmitted, publishComposerSubmission } from "./web/lib/composerSubmissions.mjs";
@@ -27,13 +34,12 @@ import { DashboardRoute, dashboardRouteFrom, useDashboardRoute } from "./web/lib
27
34
  import { bindDashboardTranscriptWatcher, watchDashboardTranscript } from "./web/lib/dashboardTranscript.mjs";
28
35
  import { TargetResult, TargetsResult, addDevProxyTarget, fetchDevProxyTargets, removeDevProxyTarget } from "./web/lib/devProxyApi.mjs";
29
36
  import { FileMention, mediaKindFor, parseFileMentions } from "./web/lib/fileMentions.mjs";
30
- import { CreateSessionResult, RemoveWorkspaceResult, RestartSessionResult, ResumeSessionResult, ReviveSessionResult, SessionHistoryResult, StopSessionResult, WorkspaceResult, WorkspacesResult, admitWorkspace, createSession, createWorkspaceSession, listDirectory, listSessionHistory, listWorkspaceHistory, listWorkspaces, readDormantTranscriptPage, removeWorkspace, restartSession, resumeSession, resumeWorkspaceSession, reviveSession, searchDirectories, searchSessionFiles, stopSession } from "./web/lib/hubApi.mjs";
37
+ import { CreateSessionResult, RemoveWorkspaceResult, RestartSessionResult, ResumeSessionResult, ReviveSessionResult, SessionGroupsResult, SessionHistoryResult, StopSessionResult, WorkspaceResult, WorkspacesResult, admitWorkspace, createSession, createWorkspaceSession, deleteSessionGroup, listDirectory, listSessionHistory, listWorkspaceHistory, listWorkspaces, readDormantTranscriptPage, removeWorkspace, renameSessionGroup, restartSession, resumeSession, resumeWorkspaceSession, reviveSession, searchDirectories, searchSessionFiles, setSessionGroups, stopSession } from "./web/lib/hubApi.mjs";
31
38
  import { LeaderConflict, LeaderGroup, LeaderOption, leaderConflicts, leaderGroup } from "./web/lib/leaderTree.mjs";
32
39
  import { LivePushStatus, disableLivePush, enableLivePush, livePushStatus, restoreLivePushRegistration } from "./web/lib/livePush.mjs";
33
40
  import { acquireModelContext, disposeModelContextAdapter } from "./web/lib/modelContextAdapter.mjs";
34
- import { createProtocolTransport, protocolSocketUrl } from "./web/lib/piTransport.mjs";
41
+ import { createProtocolLink, protocolSocketUrl } from "./web/lib/piTransport.mjs";
35
42
  import { WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebTemplateDecision, bindWebPluginCompositions, focusWorkspaceWebPlugins, refreshWebPluginCompositions, reloadWebTemplateDecision, retryWebPluginCompositions, webPluginCompositionStore, webPluginMountState } from "./web/lib/pluginCompositions.mjs";
36
- import { TransientTabActions, pluginSessionContext, pluginSlotProps } from "./web/lib/pluginSlotProps.mjs";
37
43
  import { focusPrompt, registerPromptInput } from "./web/lib/promptFocus.mjs";
38
44
  import { toQueuedEntries, toTimelineEntries } from "./web/lib/protocolTimeline.mjs";
39
45
  import { qrMatrix } from "./web/lib/qrMatrix.mjs";
@@ -51,11 +57,9 @@ import { fetchWithStepUp } from "./web/lib/stepUp.mjs";
51
57
  import { bindThreadRenderer, releaseThreadRenderer, renderThread } from "./web/lib/threadRenderer.mjs";
52
58
  import { GroupUnit, SingleUnit, TimelineUnit, groupSummary, groupTone, timelineUnits } from "./web/lib/timelineGroups.mjs";
53
59
  import { createToolCompletionTabs } from "./web/lib/toolCompletionTabs.mjs";
54
- import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
55
60
  import { SessionMcpViewState, useSessionMcp } from "./web/lib/useSessionMcp.mjs";
56
61
  import { PasskeyOutcome, STEP_UP_HEADER_NAME, assertionFor, passkeysAvailable, registerPasskey, signInWithPasskey } from "./web/lib/webauthnClient.mjs";
57
- import { applyCaptureFrame, disconnectCaptures, onCaptureStatus, pendingCaptureSessions, submitCapture } from "./web/stores/captureStore.mjs";
58
- import { ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerSessionState, ComposerTextAttachment, 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, appendComposerDraft, appendComposerQuote, attachComposerCapture, attachComposerContext, clearComposerState, composerStore, dropComposerState, inlineTextBytes, resetComposerStore, restoreComposerDrafts, saveComposerDrafts, tabComposerContext, updateComposerState, useComposerState, validateComposerCapture } from "./web/stores/composerStore.mjs";
62
+ 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";
59
63
  import { attachmentPrompt, composerSubmissionStore, submitComposerDraft } from "./web/stores/composerSubmissionStore.mjs";
60
64
  import { DevProxyState, createDevProxyTarget, deleteDevProxyTarget, devProxyStore, refreshDevProxyTargets, resetDevProxyStore } from "./web/stores/devProxyStore.mjs";
61
65
  import { bindSessionFileLinkModes } from "./web/stores/fileLinkModesStore.mjs";
@@ -67,15 +71,13 @@ import { dispatchHeldSessionChannel, heldSessionChannels, holdSessionChannels }
67
71
  import { TemplateConfiguration, configuredTemplate, ensureTemplateConfiguration, refreshTemplateConfiguration, saveTemplateDefault, templateStore, useTemplateConfiguration } from "./web/stores/templateStore.mjs";
68
72
  import { ThemeState, applyStoredTheme, availableThemes, selectTheme, themeStore } from "./web/stores/themeStore.mjs";
69
73
  import { ToolPromptState, markToolPromptFailed, resetToolPromptStore, toolPromptStore } from "./web/stores/toolPromptStore.mjs";
70
- import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, resetTransientTabs, transientTabsOf, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs";
71
74
  import { DockTab, UiState, setDockOpen, setDockTab, uiStore } from "./web/stores/uiStore.mjs";
72
75
  import { useOpenTab } from "./web/stores/useOpenTab.mjs";
73
76
  import { usePluginSlotProps } from "./web/stores/usePluginSlotProps.mjs";
74
77
  import { useToolPrompt } from "./web/stores/useToolPrompt.mjs";
75
78
  import { useWebPluginRegistry } from "./web/stores/useWebPluginRegistry.mjs";
76
79
  import { WorkspaceAdmissionDraft, admitDashboardWorkspace, resetWorkspaceAdmission, updateWorkspaceAdmission, workspaceAdmissionStore } from "./web/stores/workspaceAdmissionStore.mjs";
77
- import { DialogDraft, dialogDraftStore, updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
78
80
  import { EMPTY_SETTINGS_DRAFT, SettingsDraftState, SettingsDraftTarget, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
79
81
  import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
80
82
  import { DashboardRendererProvider, DashboardRenderers } from "./web/lib/dashboardRenderers.mjs";
81
- export { ActivityGroup, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, BrowserPerformanceEvent, BrowserPerformanceEventName, CommandInfo, ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerSessionState, ComposerTextAttachment, ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, CreateSessionResult, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, type DashboardRenderers, DashboardRoute, DevProxyState, DialogDraft, DialogMethod, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnableResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GroupUnit, HOST_SLOTS, HistoryPage, ImageSettingsResult, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledNativeTemplate, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, InstalledWebTemplate, LEGACY_WORKSPACE_ID, LeaderConflict, LeaderGroup, LeaderOption, LivePushStatus, LoginFlowResult, LogoutResult, 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, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, ResolvedFill, RestartSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusLineInput, StopSessionResult, StoredSessionAttachment, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UiState, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitWorkspace, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applyRemoteState, 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, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, canSaveSettings, cancelDialog, cancelLogin, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredTemplate, contextGroups, createDevProxyTarget, createPagedTranscript, createPlainSession, createProtocolHubSocket, createProtocolTransport, createSession, createSessionMcpClient, createToolCompletionTabs, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, deleteDevProxyTarget, deleteQueuedMessage, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileLinkFor, fileTabForPath, findTransientTab, flushBrowserTelemetry, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, formatRunDuration, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, holdSessionChannels, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, listDirectory, listProviders, listSessionHistory, listSessionMcpClients, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, logoutProvider, markSocketClosed, markToolPromptFailed, mediaKindFor, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHubConnected, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseFileMentions, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, readDormantTranscriptPage, readImageSettings, readLogin, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, recordBrowserError, recordBrowserPerformance, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, 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, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, saveComposerDrafts, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setPalettePath, setPendingMenu, setSessionNameCommand, setSettingsDraft, setThinkingLevelCommand, setWebPluginLoadDiagnostics, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, tabComposerContext, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, transientTabsOf, transientTabsStore, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writeRepositorySelection, writeSettingsValue };
83
+ export { ActivityGroup, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, BrowserPerformanceEvent, BrowserPerformanceEventName, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerSessionState, ComposerTextAttachment, ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, CreateSessionResult, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, type DashboardRenderers, DashboardRoute, DevProxyState, DialogDraft, DialogMethod, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnableResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GroupUnit, HOST_SLOTS, HistoryPage, ImageSettingsResult, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledHomeContribution, InstalledNativeTemplate, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, InstalledWebTemplate, 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, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, ResolvedFill, RestartSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusLineInput, StopSessionResult, StoredSessionAttachment, TRIGGER_CHARS, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UiState, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitWorkspace, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applyRemoteState, 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, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, canSaveSettings, cancelDialog, cancelLogin, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredTemplate, contextGroups, createDevProxyTarget, createPagedTranscript, createPlainSession, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, deleteDevProxyTarget, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileTabForPath, findTransientTab, flushBrowserTelemetry, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, formatRunDuration, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, holdSessionChannels, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, listDirectory, listProviders, listSessionHistory, listSessionMcpClients, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, logoutProvider, markSocketClosed, markToolPromptFailed, mediaKindFor, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHubConnected, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseFileMentions, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, readDormantTranscriptPage, readImageSettings, readLogin, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, recordBrowserError, recordBrowserPerformance, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renameSessionGroup, 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, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, saveComposerDrafts, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setPalettePath, setPendingMenu, setSessionGroups, setSessionNameCommand, setSettingsDraft, setThinkingLevelCommand, setWebPluginLoadDiagnostics, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, tabComposerContext, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, transientTabsOf, transientTabsStore, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writeRepositorySelection, writeSettingsValue };