@agimon-ai/po-web-dashboard 0.0.0-alpha.149 → 0.0.0-alpha.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.cjs +8 -0
- package/dist/core.d.mts +4 -3
- package/dist/core.mjs +4 -3
- package/dist/index.cjs +9 -0
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +5 -5
- package/dist/types/media.cjs +3 -1
- package/dist/types/media.cjs.map +1 -1
- package/dist/types/media.mjs +3 -1
- package/dist/types/media.mjs.map +1 -1
- package/dist/types/plugins.d.mts +76 -0
- package/dist/types/plugins.d.mts.map +1 -0
- package/dist/types/settings.cjs.map +1 -1
- package/dist/types/settings.d.mts +51 -1
- package/dist/types/settings.d.mts.map +1 -1
- package/dist/types/settings.mjs.map +1 -1
- package/dist/types.d.mts +3 -2
- package/dist/views.cjs +5 -3
- package/dist/views.d.mts +5 -4
- package/dist/views.mjs +5 -4
- package/dist/web/{features/settings → components}/ContributedSettings.cjs +6 -6
- package/dist/web/components/ContributedSettings.cjs.map +1 -0
- package/dist/web/{features/settings → components}/ContributedSettings.d.mts +2 -2
- package/dist/web/components/ContributedSettings.d.mts.map +1 -0
- package/dist/web/{features/settings → components}/ContributedSettings.mjs +6 -6
- package/dist/web/components/ContributedSettings.mjs.map +1 -0
- package/dist/web/{features/settings → components}/LoginFlowDialog.cjs +2 -2
- package/dist/web/components/LoginFlowDialog.cjs.map +1 -0
- package/dist/web/{features/settings → components}/LoginFlowDialog.d.mts +2 -2
- package/dist/web/components/LoginFlowDialog.d.mts.map +1 -0
- package/dist/web/{features/settings → components}/LoginFlowDialog.mjs +2 -2
- package/dist/web/components/LoginFlowDialog.mjs.map +1 -0
- package/dist/web/components/PluginPage.cjs +5 -4
- package/dist/web/components/PluginPage.cjs.map +1 -1
- package/dist/web/components/PluginPage.d.mts +5 -2
- package/dist/web/components/PluginPage.d.mts.map +1 -1
- package/dist/web/components/PluginPage.mjs +5 -4
- package/dist/web/components/PluginPage.mjs.map +1 -1
- package/dist/web/components/PluginsRailItem.cjs +32 -0
- package/dist/web/components/PluginsRailItem.cjs.map +1 -0
- package/dist/web/components/PluginsRailItem.mjs +32 -0
- package/dist/web/components/PluginsRailItem.mjs.map +1 -0
- package/dist/web/{features/settings → components}/SettingsPanelHost.cjs +2 -2
- package/dist/web/components/SettingsPanelHost.cjs.map +1 -0
- package/dist/web/{features/settings → components}/SettingsPanelHost.d.mts +2 -2
- package/dist/web/components/SettingsPanelHost.d.mts.map +1 -0
- package/dist/web/{features/settings → components}/SettingsPanelHost.mjs +2 -2
- package/dist/web/components/SettingsPanelHost.mjs.map +1 -0
- package/dist/web/features/plugins/PluginCatalogView.cjs +221 -0
- package/dist/web/features/plugins/PluginCatalogView.cjs.map +1 -0
- package/dist/web/features/plugins/PluginCatalogView.mjs +219 -0
- package/dist/web/features/plugins/PluginCatalogView.mjs.map +1 -0
- package/dist/web/features/plugins/PluginDetailView.cjs +280 -0
- package/dist/web/features/plugins/PluginDetailView.cjs.map +1 -0
- package/dist/web/features/plugins/PluginDetailView.mjs +280 -0
- package/dist/web/features/plugins/PluginDetailView.mjs.map +1 -0
- package/dist/web/features/plugins/PluginMark.cjs +36 -0
- package/dist/web/features/plugins/PluginMark.cjs.map +1 -0
- package/dist/web/features/plugins/PluginMark.mjs +36 -0
- package/dist/web/features/plugins/PluginMark.mjs.map +1 -0
- package/dist/web/features/plugins/PluginOnboarding.cjs +108 -0
- package/dist/web/features/plugins/PluginOnboarding.cjs.map +1 -0
- package/dist/web/features/plugins/PluginOnboarding.mjs +108 -0
- package/dist/web/features/plugins/PluginOnboarding.mjs.map +1 -0
- package/dist/web/features/plugins/PluginOnboardingFrame.cjs +166 -0
- package/dist/web/features/plugins/PluginOnboardingFrame.cjs.map +1 -0
- package/dist/web/features/plugins/PluginOnboardingFrame.mjs +166 -0
- package/dist/web/features/plugins/PluginOnboardingFrame.mjs.map +1 -0
- package/dist/web/features/plugins/PluginsPage.cjs +471 -0
- package/dist/web/features/plugins/PluginsPage.cjs.map +1 -0
- package/dist/web/features/plugins/PluginsPage.d.mts +12 -0
- package/dist/web/features/plugins/PluginsPage.d.mts.map +1 -0
- package/dist/web/features/plugins/PluginsPage.mjs +471 -0
- package/dist/web/features/plugins/PluginsPage.mjs.map +1 -0
- package/dist/web/features/plugins/PluginsPageView.cjs +39 -0
- package/dist/web/features/plugins/PluginsPageView.cjs.map +1 -0
- package/dist/web/features/plugins/PluginsPageView.mjs +39 -0
- package/dist/web/features/plugins/PluginsPageView.mjs.map +1 -0
- package/dist/web/features/plugins/PresetEditorView.cjs +243 -0
- package/dist/web/features/plugins/PresetEditorView.cjs.map +1 -0
- package/dist/web/features/plugins/PresetEditorView.mjs +243 -0
- package/dist/web/features/plugins/PresetEditorView.mjs.map +1 -0
- package/dist/web/features/plugins/onboardingStatus.cjs +58 -0
- package/dist/web/features/plugins/onboardingStatus.cjs.map +1 -0
- package/dist/web/features/plugins/onboardingStatus.mjs +56 -0
- package/dist/web/features/plugins/onboardingStatus.mjs.map +1 -0
- package/dist/web/features/sessions/useSessionRail.cjs +14 -2
- package/dist/web/features/sessions/useSessionRail.cjs.map +1 -1
- package/dist/web/features/sessions/useSessionRail.d.mts.map +1 -1
- package/dist/web/features/sessions/useSessionRail.mjs +16 -4
- package/dist/web/features/sessions/useSessionRail.mjs.map +1 -1
- package/dist/web/features/settings/AppearanceSettings.cjs +32 -29
- package/dist/web/features/settings/AppearanceSettings.cjs.map +1 -1
- package/dist/web/features/settings/AppearanceSettings.mjs +32 -29
- package/dist/web/features/settings/AppearanceSettings.mjs.map +1 -1
- package/dist/web/features/settings/BackdropSettings.cjs +2 -1
- package/dist/web/features/settings/BackdropSettings.cjs.map +1 -1
- package/dist/web/features/settings/BackdropSettings.mjs +2 -1
- package/dist/web/features/settings/BackdropSettings.mjs.map +1 -1
- package/dist/web/features/settings/ClientDevices.cjs +16 -10
- package/dist/web/features/settings/ClientDevices.cjs.map +1 -1
- package/dist/web/features/settings/ClientDevices.d.mts.map +1 -1
- package/dist/web/features/settings/ClientDevices.mjs +16 -10
- package/dist/web/features/settings/ClientDevices.mjs.map +1 -1
- package/dist/web/features/settings/ClientDevicesView.cjs +118 -105
- package/dist/web/features/settings/ClientDevicesView.cjs.map +1 -1
- package/dist/web/features/settings/ClientDevicesView.mjs +119 -106
- package/dist/web/features/settings/ClientDevicesView.mjs.map +1 -1
- package/dist/web/features/settings/PresetSettings.cjs +21 -13
- package/dist/web/features/settings/PresetSettings.cjs.map +1 -1
- package/dist/web/features/settings/PresetSettings.mjs +21 -13
- package/dist/web/features/settings/PresetSettings.mjs.map +1 -1
- package/dist/web/features/settings/ProviderSettings.cjs +15 -12
- package/dist/web/features/settings/ProviderSettings.cjs.map +1 -1
- package/dist/web/features/settings/ProviderSettings.d.mts.map +1 -1
- package/dist/web/features/settings/ProviderSettings.mjs +15 -12
- package/dist/web/features/settings/ProviderSettings.mjs.map +1 -1
- package/dist/web/features/settings/RepositoryWorkspace.cjs +1 -1
- package/dist/web/features/settings/RepositoryWorkspace.cjs.map +1 -1
- package/dist/web/features/settings/RepositoryWorkspace.mjs +1 -1
- package/dist/web/features/settings/RepositoryWorkspace.mjs.map +1 -1
- package/dist/web/features/settings/SettingsMenu.cjs +1 -0
- package/dist/web/features/settings/SettingsMenu.cjs.map +1 -1
- package/dist/web/features/settings/SettingsMenu.d.mts.map +1 -1
- package/dist/web/features/settings/SettingsMenu.mjs +2 -1
- package/dist/web/features/settings/SettingsMenu.mjs.map +1 -1
- package/dist/web/features/settings/TemplateSettings.cjs +39 -23
- package/dist/web/features/settings/TemplateSettings.cjs.map +1 -1
- package/dist/web/features/settings/TemplateSettings.d.mts.map +1 -1
- package/dist/web/features/settings/TemplateSettings.mjs +39 -23
- package/dist/web/features/settings/TemplateSettings.mjs.map +1 -1
- package/dist/web/features/settings/settings.fixture.cjs +2 -1
- package/dist/web/features/settings/settings.fixture.cjs.map +1 -1
- package/dist/web/features/settings/settings.fixture.d.mts.map +1 -1
- package/dist/web/features/settings/settings.fixture.mjs +2 -1
- package/dist/web/features/settings/settings.fixture.mjs.map +1 -1
- package/dist/web/lib/catalogEntries.cjs +88 -0
- package/dist/web/lib/catalogEntries.cjs.map +1 -0
- package/dist/web/lib/catalogEntries.d.mts +23 -0
- package/dist/web/lib/catalogEntries.d.mts.map +1 -0
- package/dist/web/lib/catalogEntries.mjs +84 -0
- package/dist/web/lib/catalogEntries.mjs.map +1 -0
- package/dist/web/lib/dashboardRoute.cjs +8 -2
- package/dist/web/lib/dashboardRoute.cjs.map +1 -1
- package/dist/web/lib/dashboardRoute.d.mts +5 -1
- package/dist/web/lib/dashboardRoute.d.mts.map +1 -1
- package/dist/web/lib/dashboardRoute.mjs +7 -3
- package/dist/web/lib/dashboardRoute.mjs.map +1 -1
- package/dist/web/lib/pluginMarketplaceApi.cjs +111 -0
- package/dist/web/lib/pluginMarketplaceApi.cjs.map +1 -0
- package/dist/web/lib/pluginMarketplaceApi.mjs +105 -0
- package/dist/web/lib/pluginMarketplaceApi.mjs.map +1 -0
- package/dist/web/lib/pluginRegistry.cjs +38 -6
- package/dist/web/lib/pluginRegistry.cjs.map +1 -1
- package/dist/web/lib/pluginRegistry.d.mts +11 -3
- package/dist/web/lib/pluginRegistry.d.mts.map +1 -1
- package/dist/web/lib/pluginRegistry.mjs +39 -8
- package/dist/web/lib/pluginRegistry.mjs.map +1 -1
- package/dist/web/lib/pluginScopes.cjs +2 -1
- package/dist/web/lib/pluginScopes.cjs.map +1 -1
- package/dist/web/lib/pluginScopes.d.mts.map +1 -1
- package/dist/web/lib/pluginScopes.mjs +2 -1
- package/dist/web/lib/pluginScopes.mjs.map +1 -1
- package/dist/web/lib/settingsApi.cjs +45 -4
- package/dist/web/lib/settingsApi.cjs.map +1 -1
- package/dist/web/lib/settingsApi.d.mts +11 -2
- package/dist/web/lib/settingsApi.d.mts.map +1 -1
- package/dist/web/lib/settingsApi.mjs +41 -5
- package/dist/web/lib/settingsApi.mjs.map +1 -1
- package/dist/web/lib/settingsSections.cjs +43 -14
- package/dist/web/lib/settingsSections.cjs.map +1 -1
- package/dist/web/lib/settingsSections.d.mts +5 -0
- package/dist/web/lib/settingsSections.d.mts.map +1 -1
- package/dist/web/lib/settingsSections.mjs +44 -16
- package/dist/web/lib/settingsSections.mjs.map +1 -1
- package/dist/web/stores/usePluginSlotProps.cjs +11 -3
- package/dist/web/stores/usePluginSlotProps.cjs.map +1 -1
- package/dist/web/stores/usePluginSlotProps.mjs +12 -4
- package/dist/web/stores/usePluginSlotProps.mjs.map +1 -1
- package/dist/web/stores/useWebPluginRegistry.cjs +6 -2
- package/dist/web/stores/useWebPluginRegistry.cjs.map +1 -1
- package/dist/web/stores/useWebPluginRegistry.d.mts +4 -1
- package/dist/web/stores/useWebPluginRegistry.d.mts.map +1 -1
- package/dist/web/stores/useWebPluginRegistry.mjs +6 -2
- package/dist/web/stores/useWebPluginRegistry.mjs.map +1 -1
- package/package.json +5 -5
- package/dist/web/features/settings/ContributedSettings.cjs.map +0 -1
- package/dist/web/features/settings/ContributedSettings.d.mts.map +0 -1
- package/dist/web/features/settings/ContributedSettings.mjs.map +0 -1
- package/dist/web/features/settings/LoginFlowDialog.cjs.map +0 -1
- package/dist/web/features/settings/LoginFlowDialog.d.mts.map +0 -1
- package/dist/web/features/settings/LoginFlowDialog.mjs.map +0 -1
- package/dist/web/features/settings/SettingsPanelHost.cjs.map +0 -1
- package/dist/web/features/settings/SettingsPanelHost.d.mts.map +0 -1
- package/dist/web/features/settings/SettingsPanelHost.mjs.map +0 -1
package/dist/core.cjs
CHANGED
|
@@ -42,6 +42,7 @@ const require_threadStore = require("./web/stores/threadStore.cjs");
|
|
|
42
42
|
const require_transientTabsStore = require("./web/stores/transientTabsStore.cjs");
|
|
43
43
|
const require_dialogDraftStore = require("./web/stores/dialogDraftStore.cjs");
|
|
44
44
|
const require_cloudHub = require("./web/lib/cloudHub.cjs");
|
|
45
|
+
const require_catalogEntries = require("./web/lib/catalogEntries.cjs");
|
|
45
46
|
const require_homeActivity = require("./web/lib/homeActivity.cjs");
|
|
46
47
|
const require_webmcpSimulator = require("./web/lib/webmcpSimulator.cjs");
|
|
47
48
|
let _agimon_ai_po_core_web = require("@agimon-ai/po-core/web");
|
|
@@ -113,6 +114,7 @@ exports.builtinCommandFrame = require_commands.builtinCommandFrame;
|
|
|
113
114
|
exports.bundledNativeTemplate = require_templateCatalog.bundledNativeTemplate;
|
|
114
115
|
exports.canSaveSettings = require_settingsDraft.canSaveSettings;
|
|
115
116
|
exports.cancelDialog = require_sessionStore.cancelDialog;
|
|
117
|
+
exports.catalogEntries = require_catalogEntries.catalogEntries;
|
|
116
118
|
exports.claimDialogMenu = require_menuStore.claimDialogMenu;
|
|
117
119
|
exports.clearDialog = require_sessionModel.clearDialog;
|
|
118
120
|
exports.clearPendingMenu = require_menuStore.clearPendingMenu;
|
|
@@ -136,6 +138,7 @@ exports.dashboardTileFills = require_pluginRegistry.dashboardTileFills;
|
|
|
136
138
|
exports.dashboardTileFillsAcrossHosts = require_pluginRegistry.dashboardTileFillsAcrossHosts;
|
|
137
139
|
exports.defaultHostId = require_hostIdentity.defaultHostId;
|
|
138
140
|
exports.deleteQueuedMessage = require_sessionStore.deleteQueuedMessage;
|
|
141
|
+
exports.destinationOf = require_catalogEntries.destinationOf;
|
|
139
142
|
exports.dialogCancelled = require_commands.dialogCancelled;
|
|
140
143
|
exports.dialogConfirmed = require_commands.dialogConfirmed;
|
|
141
144
|
exports.dialogValue = require_commands.dialogValue;
|
|
@@ -148,8 +151,11 @@ exports.dropThreads = require_threadStore.dropThreads;
|
|
|
148
151
|
exports.dropTransientTabs = require_transientTabsStore.dropTransientTabs;
|
|
149
152
|
exports.endSessionReplay = require_sessionStore.endSessionReplay;
|
|
150
153
|
exports.enqueueAutomaticCommand = require_commands.enqueueAutomaticCommand;
|
|
154
|
+
exports.externalId = require_catalogEntries.externalId;
|
|
151
155
|
exports.fileCompletions = require_composerCompletion.fileCompletions;
|
|
156
|
+
exports.fileLinkMentions = require_composition.fileLinkMentions;
|
|
152
157
|
exports.fileTabForPath = require_composition.fileTabForPath;
|
|
158
|
+
exports.filterEntries = require_catalogEntries.filterEntries;
|
|
153
159
|
exports.findTransientTab = require_transientTabsStore.findTransientTab;
|
|
154
160
|
exports.flushUiTrace = require_uiTrace.flushUiTrace;
|
|
155
161
|
exports.followUpCommand = require_commands.followUpCommand;
|
|
@@ -223,6 +229,7 @@ exports.pluginHomeContributions = require_pluginRegistry.pluginHomeContributions
|
|
|
223
229
|
exports.pluginLeaderBindings = require_pluginRegistry.pluginLeaderBindings;
|
|
224
230
|
exports.pluginMcpAppRenderer = require_pluginRegistry.pluginMcpAppRenderer;
|
|
225
231
|
exports.pluginMinorModes = require_pluginRegistry.pluginMinorModes;
|
|
232
|
+
exports.pluginOnboarding = require_pluginRegistry.pluginOnboarding;
|
|
226
233
|
exports.pluginRepositorySettingsPanels = require_pluginRegistry.pluginRepositorySettingsPanels;
|
|
227
234
|
exports.pluginSelectionAxes = require_pluginRegistry.pluginSelectionAxes;
|
|
228
235
|
exports.pluginSessionContext = require_pluginSlotProps.pluginSessionContext;
|
|
@@ -234,6 +241,7 @@ exports.pluginToolRenderer = require_pluginRegistry.pluginToolRenderer;
|
|
|
234
241
|
exports.pluginUserMessageActions = require_pluginRegistry.pluginUserMessageActions;
|
|
235
242
|
exports.pluginsAtScope = require_pluginScopes.pluginsAtScope;
|
|
236
243
|
exports.prependHistory = require_sessionModel.prependHistory;
|
|
244
|
+
exports.presetSummaries = require_catalogEntries.presetSummaries;
|
|
237
245
|
exports.projectedGroups = require_contextComposition.projectedGroups;
|
|
238
246
|
exports.promoteQueuedCommand = require_commands.promoteQueuedCommand;
|
|
239
247
|
exports.promoteQueuedMessage = require_sessionStore.promoteQueuedMessage;
|
package/dist/core.d.mts
CHANGED
|
@@ -9,11 +9,12 @@ import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket } from ".
|
|
|
9
9
|
import { homeAppEntries, homePageRoute } from "./web/lib/homeApps.mjs";
|
|
10
10
|
import { InstalledPluginTheme, isHexTheme } from "./web/lib/pluginThemes.mjs";
|
|
11
11
|
import { InstalledNativeTemplate, NativeTemplateCatalog, bindBundledNativeTemplates, bundledNativeTemplate, resolveNativeTemplate } from "./web/lib/templateCatalog.mjs";
|
|
12
|
-
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
12
|
+
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
13
13
|
import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
14
14
|
import { ComposerPromptClaim, DialogPromptClaim, ToolPromptClaim, ToolPromptInput, toolPromptClaim } from "./web/lib/toolPrompt.mjs";
|
|
15
15
|
import { UiTraceRecord, UiTraceSink, flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs";
|
|
16
16
|
import { repositorySettingsViewFromWire, settingsConfigViewFromWire, settingsScopeToWire, settingsWriteToWire } from "./web/lib/settingsWire.mjs";
|
|
17
|
+
import { catalogEntries, destinationOf, externalId, filterEntries, presetSummaries } from "./web/lib/catalogEntries.mjs";
|
|
17
18
|
import { TransientTabActions, pluginSessionContext, pluginSlotProps, renderRegion } from "./web/lib/pluginSlotProps.mjs";
|
|
18
19
|
import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
|
|
19
20
|
import { ToolRendererBoundary } from "./web/lib/ToolRendererBoundary.mjs";
|
|
@@ -28,7 +29,7 @@ import { ImageRefScope, bindImageReader, loadImageRef, useImageRefs } from "./we
|
|
|
28
29
|
import { dispatchHeldSessionChannel, heldSessionChannels, heldVoiceSessions, holdSessionChannels, holdVoiceSession } from "./web/stores/sessionChannelHoldsStore.mjs";
|
|
29
30
|
import { ThreadTranscriptReader, applyThreadTranscriptFrame, bindThreadReader, dropThreads, heldThreads, resetThreads, resubscribeThreads, subscribeThread, threadStoreKey, unsubscribeThread } from "./web/stores/threadStore.mjs";
|
|
30
31
|
import { WorkspacesState, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, resetWorkspaces, selectWorkspace, setWorkspaceHostLabel, workspaceHostLabelsStore, workspacesStore } from "./web/stores/workspacesStore.mjs";
|
|
31
|
-
import { ActivityGroup, MinorMode, SelectionAxis, activityGroups, fileTabForPath, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
32
|
+
import { ActivityGroup, MinorMode, SelectionAxis, activityGroups, fileLinkMentions, fileTabForPath, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
32
33
|
import { parseSelection } from "./web/lib/statusLine.mjs";
|
|
33
34
|
import { canSaveSettings, plannedSettingsWrites, settingsKeyOf, settingsLockedReason } from "./web/lib/settingsDraft.mjs";
|
|
34
35
|
import { MenuClaim, MenuKind, MenuState, claimDialogMenu, clearPendingMenu, menuStore, pendingMenuFor, releaseDialogMenu, resetMenuStore, setPendingMenu } from "./web/stores/menuStore.mjs";
|
|
@@ -43,4 +44,4 @@ import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs";
|
|
|
43
44
|
import { defaultHostId, isHostId, localHostId, parseHostKey, qualifyHostId, qualifyHostKey, setDefaultHostId, splitHostId } from "./web/lib/hostIdentity.mjs";
|
|
44
45
|
import { CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, createCloudHub } from "./web/lib/cloudHub.mjs";
|
|
45
46
|
import { asWorkspace } from "./web/lib/workspaceSummary.mjs";
|
|
46
|
-
export { type ActivityGroup, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, ComposerPromptClaim, type ContextGroup, type ContextItemSource, DialogMethod, DialogPromptClaim, DialogRequest, EditorTextRequest, EntryKind, HOST_SLOTS, HistoryPage, HomeActivityItem, HomeActivityModel, HomeActor, HomeHostRead, HomeSessionInput, HomeTarget, HomeWaitingItem, ImageRefScope, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, type InstalledNativeTemplate, type InstalledPluginTheme, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, IntercomEntry, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MentionableSession, MenuClaim, MenuKind, MenuState, type MinorMode, ModelChoice, type NativeTemplateCatalog, NoticeEntry, ProfileIdentity, QueuedEntry, RailRestartState, RailSessionInput, ReduceSessionOptions, ResolvedFill, RpcImage, SESSION_REFERENCE_SCHEME, type SelectionAxis, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettledEntry, StatusClock, StatusLineInput, TRIGGER_CHARS, ThreadTranscriptReader, TimelineEntry, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolRendererBoundary, type TransientTabActions, UPDATE_REQUIRED_REASON, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginRegistry, WorkspacesState, abbreviateCwd, abortCommand, abortRun, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeActivity, homeAppEntries, homePageRoute, homeTime, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railSessionStatus, readHostHome, reduceSession, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, repositorySettingsViewFromWire, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resolveSessionReference, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, reuseRailWorkspaces, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionMinorModes, sessionMoveTarget, sessionSlug, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToken, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsConfigViewFromWire, settingsKeyOf, settingsLockedReason, settingsScopeToWire, settingsWriteToWire, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
|
|
47
|
+
export { type ActivityGroup, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, ComposerPromptClaim, type ContextGroup, type ContextItemSource, DialogMethod, DialogPromptClaim, DialogRequest, EditorTextRequest, EntryKind, HOST_SLOTS, HistoryPage, HomeActivityItem, HomeActivityModel, HomeActor, HomeHostRead, HomeSessionInput, HomeTarget, HomeWaitingItem, ImageRefScope, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, type InstalledNativeTemplate, InstalledOnboarding, type InstalledPluginTheme, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, IntercomEntry, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MentionableSession, MenuClaim, MenuKind, MenuState, type MinorMode, ModelChoice, type NativeTemplateCatalog, NoticeEntry, ProfileIdentity, QueuedEntry, RailRestartState, RailSessionInput, ReduceSessionOptions, ResolvedFill, RpcImage, SESSION_REFERENCE_SCHEME, type SelectionAxis, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettledEntry, StatusClock, StatusLineInput, TRIGGER_CHARS, ThreadTranscriptReader, TimelineEntry, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolRendererBoundary, type TransientTabActions, UPDATE_REQUIRED_REASON, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginRegistry, WorkspacesState, abbreviateCwd, abortCommand, abortRun, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, catalogEntries, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, destinationOf, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, externalId, fileCompletions, fileLinkMentions, fileTabForPath, filterEntries, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeActivity, homeAppEntries, homePageRoute, homeTime, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, presetSummaries, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railSessionStatus, readHostHome, reduceSession, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, repositorySettingsViewFromWire, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resolveSessionReference, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, reuseRailWorkspaces, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionMinorModes, sessionMoveTarget, sessionSlug, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToken, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsConfigViewFromWire, settingsKeyOf, settingsLockedReason, settingsScopeToWire, settingsWriteToWire, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
|
package/dist/core.mjs
CHANGED
|
@@ -7,9 +7,9 @@ import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
|
7
7
|
import { isHexTheme } from "./web/lib/pluginThemes.mjs";
|
|
8
8
|
import { bindBundledNativeTemplates, bundledNativeTemplate, resolveNativeTemplate } from "./web/lib/templateCatalog.mjs";
|
|
9
9
|
import { flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs";
|
|
10
|
-
import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
10
|
+
import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
11
11
|
import { parseSelection } from "./web/lib/statusLine.mjs";
|
|
12
|
-
import { activityGroups, fileTabForPath, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
12
|
+
import { activityGroups, fileLinkMentions, fileTabForPath, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
13
13
|
import { contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
|
|
14
14
|
import { SESSION_REFERENCE_SCHEME, resolveSessionReference, sessionCompletions, sessionSlug, sessionToken } from "./web/lib/sessionMentions.mjs";
|
|
15
15
|
import { asWorkspace } from "./web/lib/workspaceSummary.mjs";
|
|
@@ -41,6 +41,7 @@ import { applyThreadTranscriptFrame, bindThreadReader, dropThreads, heldThreads,
|
|
|
41
41
|
import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, setTransientTabSession, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs";
|
|
42
42
|
import { updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
|
|
43
43
|
import { CLOUD_HUB_POLL_MS, createCloudHub } from "./web/lib/cloudHub.mjs";
|
|
44
|
+
import { catalogEntries, destinationOf, externalId, filterEntries, presetSummaries } from "./web/lib/catalogEntries.mjs";
|
|
44
45
|
import { homeActivity, homeTime } from "./web/lib/homeActivity.mjs";
|
|
45
46
|
import { createWebMcpSimulator } from "./web/lib/webmcpSimulator.mjs";
|
|
46
|
-
export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, HOST_SLOTS, ImageRefScope, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, SESSION_REFERENCE_SCHEME, TRIGGER_CHARS, ToolRendererBoundary, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, fileCompletions, fileTabForPath, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeActivity, homeAppEntries, homePageRoute, homeTime, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railSessionStatus, readHostHome, reduceSession, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, repositorySettingsViewFromWire, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resolveSessionReference, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, reuseRailWorkspaces, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionMinorModes, sessionMoveTarget, sessionSlug, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToken, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsConfigViewFromWire, settingsKeyOf, settingsLockedReason, settingsScopeToWire, settingsWriteToWire, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
|
|
47
|
+
export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, HOST_SLOTS, ImageRefScope, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, SESSION_REFERENCE_SCHEME, TRIGGER_CHARS, ToolRendererBoundary, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, allPluginThemes, answerDialogConfirm, answerDialogValue, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, asWorkspace, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindHistoryReader, bindHostTransport, bindImageReader, bindSessionFileLinkModes, bindSessionProtocol, bindSessionWebWorkspace, bindThreadReader, bindTransport, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, catalogEntries, claimDialogMenu, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeTransientTab, commandCompletions, compactCommand, completeSessionTransfer, contextGroups, coordinatorHostTargets, createCloudHub, createDashboardTransport, createPagedTranscript, createProtocolHubSocket, createToolCompletionTabs, createWebMcpSimulator, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteQueuedMessage, destinationOf, dialogCancelled, dialogConfirmed, dialogValue, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, endSessionReplay, enqueueAutomaticCommand, externalId, fileCompletions, fileLinkMentions, fileTabForPath, filterEntries, findTransientTab, flushUiTrace, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeActivity, homeAppEntries, homePageRoute, homeTime, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHexTheme, isHostId, isSupportedImageMimeType, legacyHomeAppFills, liveSessionOptions, loadImageRef, loadModelChoices, localHostId, markSocketClosed, markUpdateRequired, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, nativeTemplateCatalog, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, openTransientTab, ownerLabel, ownersOf, paletteCommands, parseDashboardTileData, parseHostKey, parseSelection, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, presetSummaries, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railSessionStatus, readHostHome, reduceSession, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseTransport, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionWebPlugins, removeWorkspaceWebPlugins, renameSession, renderRegion, replaceQueuedEntries, repositorySettingsViewFromWire, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetMenuStore, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetWebPlugins, resetWorkspaces, resolveNativeTemplate, resolveParentId, resolveSessionReference, resubscribeThreads, resumeQueueCommand, resumeQueuedMessages, reuseRailWorkspaces, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionCompletions, sessionMinorModes, sessionMoveTarget, sessionSlug, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToken, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDefaultHostId, setHasNewerHistory, setModelCommand, setPendingMenu, setSessionNameCommand, setSessionStreamed, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, settingsConfigViewFromWire, settingsKeyOf, settingsLockedReason, settingsScopeToWire, settingsWriteToWire, slotFills, splitHostId, startPluginDefinitions, startWebPlugins, steerCommand, streamedSessions, submitCapture, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, textFromContent, threadStoreKey, toolMessageProps, toolPromptClaim, totalTokens, traceProfilerRender, traceStore, transientTabsStore, transportForHost, triggerTokenAt, unsubscribeThread, updateDialogDraft, useActiveSession, useActiveSessionMeta, useActivityGroups, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useImageRefs, useNoSessions, useRailEntries, useRailEntry, useRenderTrace, useTransientTabs, validateComposerCapture, waitForSession, watchHubThread, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore };
|
package/dist/index.cjs
CHANGED
|
@@ -109,6 +109,8 @@ exports.MAX_COMPOSER_TOTAL_TEXT_BYTES = require_composerStore.MAX_COMPOSER_TOTAL
|
|
|
109
109
|
exports.MAX_COMPOSER_UPLOAD_BYTES = require_composerStore.MAX_COMPOSER_UPLOAD_BYTES;
|
|
110
110
|
exports.PACKAGED_MINOR_MODES = require_composition.PACKAGED_MINOR_MODES;
|
|
111
111
|
exports.PACKAGED_SELECTION_AXES = require_composition.PACKAGED_SELECTION_AXES;
|
|
112
|
+
exports.PLUGINS_PAGE_ID = require_dashboardRoute.PLUGINS_PAGE_ID;
|
|
113
|
+
exports.PLUGINS_ROUTE = require_dashboardRoute.PLUGINS_ROUTE;
|
|
112
114
|
exports.STEP_UP_HEADER_NAME = require_webauthnClient.STEP_UP_HEADER_NAME;
|
|
113
115
|
exports.TRIGGER_CHARS = require_composerCompletion.TRIGGER_CHARS;
|
|
114
116
|
exports.UPDATE_REQUIRED_REASON = require_sessionsStore.UPDATE_REQUIRED_REASON;
|
|
@@ -132,6 +134,7 @@ exports.addCoordinator = require_hubApi.addCoordinator;
|
|
|
132
134
|
exports.addDashboardCoordinator = require_railDialogStore.addDashboardCoordinator;
|
|
133
135
|
exports.addDevProxyTarget = require_devProxyApi.addDevProxyTarget;
|
|
134
136
|
exports.addPasskey = require_remoteAccessStore.addPasskey;
|
|
137
|
+
exports.addPresetLayer = require_settingsApi.addPresetLayer;
|
|
135
138
|
exports.admitDashboardWorkspace = require_workspaceAdmissionStore.admitDashboardWorkspace;
|
|
136
139
|
exports.admitDeclaredDashboardWorkspaces = require_workspaceAdmissionStore.admitDeclaredDashboardWorkspaces;
|
|
137
140
|
exports.admitWorkspace = require_hubApi.admitWorkspace;
|
|
@@ -228,6 +231,7 @@ exports.createGeneralSession = require_newSessionStore.createGeneralSession;
|
|
|
228
231
|
exports.createGeneralSessionRequest = require_hubApi.createGeneralSessionRequest;
|
|
229
232
|
exports.createPagedTranscript = require_pagedTranscriptStore.createPagedTranscript;
|
|
230
233
|
exports.createPlainSession = require_newSessionStore.createPlainSession;
|
|
234
|
+
exports.createPreset = require_settingsApi.createPreset;
|
|
231
235
|
exports.createProfile = require_hubApi.createProfile;
|
|
232
236
|
exports.createProtocolHubSocket = require_protocolHubSocket.createProtocolHubSocket;
|
|
233
237
|
exports.createProtocolLink = require_piTransport.createProtocolLink;
|
|
@@ -242,6 +246,7 @@ exports.dashboardTileFills = require_pluginRegistry.dashboardTileFills;
|
|
|
242
246
|
exports.dashboardTileFillsAcrossHosts = require_pluginRegistry.dashboardTileFillsAcrossHosts;
|
|
243
247
|
exports.defaultHostId = require_hostIdentity.defaultHostId;
|
|
244
248
|
exports.deleteDevProxyTarget = require_devProxyStore.deleteDevProxyTarget;
|
|
249
|
+
exports.deletePreset = require_settingsApi.deletePreset;
|
|
245
250
|
exports.deleteQueuedMessage = require_sessionStore.deleteQueuedMessage;
|
|
246
251
|
exports.deleteSessionGroup = require_hubApi.deleteSessionGroup;
|
|
247
252
|
exports.deliverBrowserNotification = require_browserNotifications.deliverBrowserNotification;
|
|
@@ -358,6 +363,7 @@ exports.minorModes = require_composition.minorModes;
|
|
|
358
363
|
exports.mintPairingCode = require_remoteApi.mintPairingCode;
|
|
359
364
|
exports.moveDashboardSession = require_railDialogStore.moveDashboardSession;
|
|
360
365
|
exports.moveSession = require_hubApi.moveSession;
|
|
366
|
+
exports.movedSettingsLayer = require_settingsSections.movedSettingsLayer;
|
|
361
367
|
exports.nativeTemplateCatalog = require_pluginRegistry.nativeTemplateCatalog;
|
|
362
368
|
exports.newPairingCode = require_remoteAccessStore.newPairingCode;
|
|
363
369
|
exports.newSessionDraftStore = require_newSessionStore.newSessionDraftStore;
|
|
@@ -400,6 +406,7 @@ exports.pluginHomeContributions = require_pluginRegistry.pluginHomeContributions
|
|
|
400
406
|
exports.pluginLeaderBindings = require_pluginRegistry.pluginLeaderBindings;
|
|
401
407
|
exports.pluginMcpAppRenderer = require_pluginRegistry.pluginMcpAppRenderer;
|
|
402
408
|
exports.pluginMinorModes = require_pluginRegistry.pluginMinorModes;
|
|
409
|
+
exports.pluginOnboarding = require_pluginRegistry.pluginOnboarding;
|
|
403
410
|
exports.pluginRepositorySettingsPanels = require_pluginRegistry.pluginRepositorySettingsPanels;
|
|
404
411
|
exports.pluginSelectionAxes = require_pluginRegistry.pluginSelectionAxes;
|
|
405
412
|
exports.pluginSessionContext = require_pluginSlotProps.pluginSessionContext;
|
|
@@ -464,12 +471,14 @@ exports.rememberedHostChannelKey = require_sealedSession.rememberedHostChannelKe
|
|
|
464
471
|
exports.remoteAccessStore = require_remoteAccessStore.remoteAccessStore;
|
|
465
472
|
exports.removeDevProxyTarget = require_devProxyApi.removeDevProxyTarget;
|
|
466
473
|
exports.removeHostWebPlugins = require_pluginRegistry.removeHostWebPlugins;
|
|
474
|
+
exports.removePresetLayer = require_settingsApi.removePresetLayer;
|
|
467
475
|
exports.removeQueuedCommand = require_commands.removeQueuedCommand;
|
|
468
476
|
exports.removeQueuedEntry = require_sessionModel.removeQueuedEntry;
|
|
469
477
|
exports.removeSessionMcpSetup = require_sessionMcpApi.removeSessionMcpSetup;
|
|
470
478
|
exports.removeSessionWebPlugins = require_pluginRegistry.removeSessionWebPlugins;
|
|
471
479
|
exports.removeWorkspace = require_hubApi.removeWorkspace;
|
|
472
480
|
exports.removeWorkspaceWebPlugins = require_pluginRegistry.removeWorkspaceWebPlugins;
|
|
481
|
+
exports.renamePreset = require_settingsApi.renamePreset;
|
|
473
482
|
exports.renameSession = require_sessionStore.renameSession;
|
|
474
483
|
exports.renameSessionGroup = require_hubApi.renameSessionGroup;
|
|
475
484
|
exports.renderRegion = require_pluginSlotProps.renderRegion;
|
package/dist/index.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ import { bindHostTransport, bindTransport, createDashboardTransport, invokeServe
|
|
|
7
7
|
import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
|
|
8
8
|
import { homeAppEntries, homePageRoute } from "./web/lib/homeApps.mjs";
|
|
9
9
|
import { InstalledNativeTemplate, InstalledWebTemplate, NativeTemplateCatalog, WebTemplateCatalog, WebTemplateDiagnostic, backdropId, bindBundledNativeTemplates, bindBundledWebTemplates, bundledNativeTemplate, collectNativeTemplates, collectWebTemplates, resolveBackdrop, resolveNativeTemplate, resolveWebTemplate } from "./web/lib/templateCatalog.mjs";
|
|
10
|
-
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
10
|
+
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, ResolvedFill, WebPluginRegistry, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
11
11
|
import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
12
12
|
import { ComposerPromptClaim, DialogPromptClaim, ToolPromptClaim, ToolPromptInput, toolPromptClaim } from "./web/lib/toolPrompt.mjs";
|
|
13
13
|
import { UiTraceRecord, UiTraceSink, flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs";
|
|
@@ -39,7 +39,7 @@ import { CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSn
|
|
|
39
39
|
import { GatewaySettings, LoginFlowResult, LogoutResult, ProvidersResult, answerLogin, cancelLogin, listProviders, logoutProvider, readLogin, readProviderSharing, startLogin, writeProviderSharing } from "./web/lib/authApi.mjs";
|
|
40
40
|
import { BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, browserNotificationPermission, deliverBrowserNotification, requestBrowserNotificationPermission } from "./web/lib/browserNotifications.mjs";
|
|
41
41
|
import { FetchItemDetailResult, fetchContextItemDetail } from "./web/lib/contextDetailApi.mjs";
|
|
42
|
-
import { DashboardRoute, dashboardRouteFrom, useDashboardRoute } from "./web/lib/dashboardRoute.mjs";
|
|
42
|
+
import { DashboardRoute, PLUGINS_PAGE_ID, PLUGINS_ROUTE, dashboardRouteFrom, useDashboardRoute } from "./web/lib/dashboardRoute.mjs";
|
|
43
43
|
import { bindDashboardTranscriptWatcher, watchDashboardTranscript } from "./web/lib/dashboardTranscript.mjs";
|
|
44
44
|
import { TargetResult, TargetsResult, addDevProxyTarget, fetchDevProxyTargets, removeDevProxyTarget } from "./web/lib/devProxyApi.mjs";
|
|
45
45
|
import { FileMention, mediaKindFor, parseFileMentions } from "./web/lib/fileMentions.mjs";
|
|
@@ -58,8 +58,8 @@ import { SessionAsset, StoredSessionAttachment, loadSessionAsset, uploadSessionA
|
|
|
58
58
|
import { loadSessionAvatar } from "./web/lib/sessionAvatar.mjs";
|
|
59
59
|
import { SessionMcpResult, createSessionMcpClient, isSessionMcpActivity, listSessionMcpClients, readSessionMcpActivity, readSessionMcpConfig, removeSessionMcpSetup, revokeSessionMcpClient } from "./web/lib/sessionMcpApi.mjs";
|
|
60
60
|
import { bindSessionTranscriptRenderer, releaseSessionTranscriptRenderer, renderSessionTranscript } from "./web/lib/sessionTranscriptRenderer.mjs";
|
|
61
|
-
import { ImageSettingsResult, PresetSettingsResult, ReadConfigResult, ReadRepositorySettingsResult, WriteConfigResult, listSettingsModels, listSettingsRepositories, readImageSettings, readPresetSettings, readRepositorySettings, readSettingsConfig, writeImageSettings, writePresetSettings, writeRepositorySelection, writeSettingsValue } from "./web/lib/settingsApi.mjs";
|
|
62
|
-
import { DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, SettingsSection, SettingsSectionGroup, SettingsWorkspace, settingsSection, settingsSectionGroups, settingsSections } from "./web/lib/settingsSections.mjs";
|
|
61
|
+
import { ImageSettingsResult, PresetSettingsResult, ReadConfigResult, ReadRepositorySettingsResult, WriteConfigResult, addPresetLayer, createPreset, deletePreset, listSettingsModels, listSettingsRepositories, readImageSettings, readPresetSettings, readRepositorySettings, readSettingsConfig, removePresetLayer, renamePreset, writeImageSettings, writePresetSettings, writeRepositorySelection, writeSettingsValue } from "./web/lib/settingsApi.mjs";
|
|
62
|
+
import { DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, SettingsSection, SettingsSectionGroup, SettingsWorkspace, movedSettingsLayer, settingsSection, settingsSectionGroups, settingsSections } from "./web/lib/settingsSections.mjs";
|
|
63
63
|
import { fetchWithStepUp } from "./web/lib/stepUp.mjs";
|
|
64
64
|
import { bindThreadRenderer, releaseThreadRenderer, renderThread } from "./web/lib/threadRenderer.mjs";
|
|
65
65
|
import { GroupUnit, SingleUnit, TimelineUnit, groupSummary, groupTone, timelineUnits } from "./web/lib/timelineGroups.mjs";
|
|
@@ -84,4 +84,4 @@ import { WorkspaceAdmissionDraft, admitDashboardWorkspace, admitDeclaredDashboar
|
|
|
84
84
|
import { EMPTY_SETTINGS_DRAFT, SettingsDraftState, SettingsDraftTarget, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
|
|
85
85
|
import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
|
|
86
86
|
import { DashboardRendererProvider, DashboardRenderers } from "./web/lib/dashboardRenderers.mjs";
|
|
87
|
-
export { ActivityGroup, AddCoordinatorResult, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, BrowserPerformanceEvent, BrowserPerformanceEventName, CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerPromptClaim, ComposerSessionState, ComposerTextAttachment, ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, CreateProfileInput, CreateSessionResult, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, type DashboardRenderers, DashboardRoute, DevProxyState, DialogDraft, DialogMethod, DialogPromptClaim, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnsureHomeCoordinatorResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GatewaySettings, GroupUnit, HOST_SLOTS, HistoryPage, ImageSettingsResult, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledNativeTemplate, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, InstalledWebTemplate, IntercomEntry, LEGACY_WORKSPACE_ID, LeaderConflict, LeaderGroup, LeaderOption, LivePushStatus, LoginFlowResult, LogoutResult, MAX_COMPLETION_ITEMS, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, MenuClaim, MenuKind, MenuState, MinorMode, MinorModeAvailability, MinorModeSource, ModelChoice, NativeTemplateCatalog, NewSessionDraft, NewSessionState, NoticeEntry, PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, PairTarget, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, PresetSettingsResult, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, RemovedSessionsResult, ResolvedFill, RestartSessionResult, RestoreRemovedSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ResumeView, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SetSessionRoleResult, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsSectionGroup, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusClock, StatusLineInput, StopSessionResult, StoredSessionAttachment, TRIGGER_CHARS, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, ThreadTranscriptReader, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UPDATE_REQUIRED_REASON, UiState, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebPluginRegistry, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspaceSandboxRequest, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, moveDashboardSession, moveSession, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, railSessionStatus, readDormantTranscriptPage, readHostHome, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
|
|
87
|
+
export { ActivityGroup, AddCoordinatorResult, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, BrowserPerformanceEvent, BrowserPerformanceEventName, CLOUD_HUB_POLL_MS, CloudHub, CloudHubFetch, CloudHubOptions, CloudHubSnapshot, CommandInfo, CompletionItem, CompletionKind, CompletionTrigger, ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerPromptClaim, ComposerSessionState, ComposerTextAttachment, ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, CreateProfileInput, CreateSessionResult, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, type DashboardRenderers, DashboardRoute, DevProxyState, DialogDraft, DialogMethod, DialogPromptClaim, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnsureHomeCoordinatorResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GatewaySettings, GroupUnit, HOST_SLOTS, HistoryPage, ImageSettingsResult, InputSender, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledDashboardTile, InstalledHomeContribution, InstalledHostPluginProvider, InstalledNativeTemplate, InstalledOnboarding, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledSettingsSection, InstalledUserMessageAction, InstalledWebTemplate, IntercomEntry, LEGACY_WORKSPACE_ID, LeaderConflict, LeaderGroup, LeaderOption, LivePushStatus, LoginFlowResult, LogoutResult, MAX_COMPLETION_ITEMS, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, MenuClaim, MenuKind, MenuState, MinorMode, MinorModeAvailability, MinorModeSource, ModelChoice, NativeTemplateCatalog, NewSessionDraft, NewSessionState, NoticeEntry, PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, PLUGINS_PAGE_ID, PLUGINS_ROUTE, PairTarget, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, PresetSettingsResult, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, RemovedSessionsResult, ResolvedFill, RestartSessionResult, RestoreRemovedSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ResumeView, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionGroupsResult, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SetSessionRoleResult, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsSectionGroup, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusClock, StatusLineInput, StopSessionResult, StoredSessionAttachment, TRIGGER_CHARS, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, ThreadTranscriptReader, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UPDATE_REQUIRED_REASON, UiState, UiTraceRecord, UiTraceSink, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebPluginRegistry, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspaceSandboxRequest, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, addPresetLayer, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, railSessionStatus, readDormantTranscriptPage, readHostHome, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
|
package/dist/index.mjs
CHANGED
|
@@ -13,12 +13,12 @@ import { leaderConflicts, leaderGroup } from "./web/lib/leaderTree.mjs";
|
|
|
13
13
|
import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
14
14
|
import { backdropId, bindBundledNativeTemplates, bindBundledWebTemplates, bundledNativeTemplate, collectNativeTemplates, collectWebTemplates, resolveBackdrop, resolveNativeTemplate, resolveWebTemplate } from "./web/lib/templateCatalog.mjs";
|
|
15
15
|
import { flushUiTrace, noteRender, noteStoreUpdate, setUiTraceSink, traceProfilerRender, traceStore, useRenderTrace } from "./web/lib/uiTrace.mjs";
|
|
16
|
-
import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
16
|
+
import { HOST_SLOTS, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, allPluginThemes, bindSessionWebWorkspace, createWebPluginRegistry, dashboardTileFills, dashboardTileFillsAcrossHosts, dispatchChannelFrame, dropPluginSessionData, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, legacyHomeAppFills, nativeTemplateCatalog, paletteCommands, parseDashboardTileData, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginThemes, pluginToolRenderer, pluginUserMessageActions, registeredWebPluginHostIds, removeHostWebPlugins, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
17
17
|
import { ansiSegments, emptySelection, parseSelection, stripAnsi } from "./web/lib/statusLine.mjs";
|
|
18
18
|
import { PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, activityGroups, bindFileLinkModes, fileLinkFor, fileLinkMentions, fileTabForPath, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaceBadges, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
19
19
|
import { contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
|
|
20
20
|
import { fetchContextItemDetail } from "./web/lib/contextDetailApi.mjs";
|
|
21
|
-
import { dashboardRouteFrom, useDashboardRoute } from "./web/lib/dashboardRoute.mjs";
|
|
21
|
+
import { PLUGINS_PAGE_ID, PLUGINS_ROUTE, dashboardRouteFrom, useDashboardRoute } from "./web/lib/dashboardRoute.mjs";
|
|
22
22
|
import { bindDashboardTranscriptWatcher, watchDashboardTranscript } from "./web/lib/dashboardTranscript.mjs";
|
|
23
23
|
import { addDevProxyTarget, fetchDevProxyTargets, removeDevProxyTarget } from "./web/lib/devProxyApi.mjs";
|
|
24
24
|
import { mediaKindFor, parseFileMentions } from "./web/lib/fileMentions.mjs";
|
|
@@ -44,9 +44,9 @@ import { loadSessionAsset, uploadSessionAttachment } from "./web/lib/sessionAsse
|
|
|
44
44
|
import { loadSessionAvatar } from "./web/lib/sessionAvatar.mjs";
|
|
45
45
|
import { createSessionMcpClient, isSessionMcpActivity, listSessionMcpClients, readSessionMcpActivity, readSessionMcpConfig, removeSessionMcpSetup, revokeSessionMcpClient } from "./web/lib/sessionMcpApi.mjs";
|
|
46
46
|
import { LEGACY_WORKSPACE_ID, activityWaitingCount, buildRailWorkspaces, coordinatorHostTargets, liveSessionOptions, pendingSetupView, railSessionStatus, reuseRailWorkspaces, sessionMoveTarget, sessionWaitingCount, workspaceName } from "./web/lib/sessionRailModel.mjs";
|
|
47
|
-
import { listSettingsModels, listSettingsRepositories, readImageSettings, readPresetSettings, readRepositorySettings, readSettingsConfig, writeImageSettings, writePresetSettings, writeRepositorySelection, writeSettingsValue } from "./web/lib/settingsApi.mjs";
|
|
47
|
+
import { addPresetLayer, createPreset, deletePreset, listSettingsModels, listSettingsRepositories, readImageSettings, readPresetSettings, readRepositorySettings, readSettingsConfig, removePresetLayer, renamePreset, writeImageSettings, writePresetSettings, writeRepositorySelection, writeSettingsValue } from "./web/lib/settingsApi.mjs";
|
|
48
48
|
import { canSaveSettings, plannedSettingsWrites, settingsKeyOf, settingsLockedReason } from "./web/lib/settingsDraft.mjs";
|
|
49
|
-
import { DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, settingsSection, settingsSectionGroups, settingsSections } from "./web/lib/settingsSections.mjs";
|
|
49
|
+
import { DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, movedSettingsLayer, settingsSection, settingsSectionGroups, settingsSections } from "./web/lib/settingsSections.mjs";
|
|
50
50
|
import { groupSummary, groupTone, timelineUnits } from "./web/lib/timelineGroups.mjs";
|
|
51
51
|
import { createToolCompletionTabs } from "./web/lib/toolCompletionTabs.mjs";
|
|
52
52
|
import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
|
|
@@ -84,4 +84,4 @@ import { dialogDraftStore, updateDialogDraft, useDialogDraft } from "./web/store
|
|
|
84
84
|
import { EMPTY_SETTINGS_DRAFT, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
|
|
85
85
|
import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
|
|
86
86
|
import { CLOUD_HUB_POLL_MS, createCloudHub } from "./web/lib/cloudHub.mjs";
|
|
87
|
-
export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, HOST_SLOTS, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, STEP_UP_HEADER_NAME, TRIGGER_CHARS, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, moveDashboardSession, moveSession, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, railSessionStatus, readDormantTranscriptPage, readHostHome, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
|
|
87
|
+
export { BUILTIN_COMMANDS, CLOUD_HUB_POLL_MS, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, HOST_SLOTS, LEGACY_WORKSPACE_ID, MAX_COMPLETION_ITEMS, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, PLUGINS_PAGE_ID, PLUGINS_ROUTE, STEP_UP_HEADER_NAME, TRIGGER_CHARS, UPDATE_REQUIRED_REASON, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginHost, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, activityWaitingCount, addCoordinator, addDashboardCoordinator, addDevProxyTarget, addPasskey, addPresetLayer, admitDashboardWorkspace, admitDeclaredDashboardWorkspaces, admitWorkspace, allPluginThemes, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySelectionAnswer, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, backdropId, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindHostTransport, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, bundledNativeTemplate, canSaveSettings, cancelDialog, cancelLogin, choosePairTarget, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeCoordinatorProfile, closeMoveSessionDialog, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, commandCompletions, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredBackdrop, configuredTemplate, contextGroups, coordinatorHostTargets, createCloudHub, createCoordinatorWithProfile, createDashboardTransport, createDevProxyTarget, createGeneralSession, createGeneralSessionRequest, createPagedTranscript, createPlainSession, createPreset, createProfile, createProtocolHubSocket, createProtocolLink, createSession, createSessionMcpClient, createToolCompletionTabs, createWebPluginRegistry, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, dashboardTileFills, dashboardTileFillsAcrossHosts, defaultHostId, deleteDevProxyTarget, deletePreset, deleteQueuedMessage, deleteSessionGroup, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableBrowserTelemetry, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, discoverWorkspaceAdmission, discoverWorkspaces, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dockTabFor, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureHomeCoordinator, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileCompletions, fileLinkFor, fileLinkMentions, fileTabForPath, findTransientTab, flushBrowserTelemetry, flushUiTrace, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, generalSessionDraftKey, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, getWorkspace, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, heldVoiceSessions, holdSessionChannels, holdVoiceSession, homeAppEntries, homePageRoute, hostPluginProviders, hostSlotFills, hostSlotFillsAcrossHosts, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installHostWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isHostId, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, legacyHomeAppFills, listDirectory, listLaunchProfiles, listPoFolders, listProviders, listRemovedSessions, listSessionHistory, listSessionMcpClients, listSessions, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, liveSessionOptions, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, localHostId, logoutProvider, markSocketClosed, markToolPromptFailed, markUpdateRequired, mediaKindFor, mentionableSessions, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, moveDashboardSession, moveSession, movedSettingsLayer, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, noteRender, noteStoreUpdate, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHostConnected, onHubConnected, onSealedSignInRequired, openGeneralSession, openMoveSessionDialog, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseDashboardTileData, parseFileMentions, parseHostKey, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginHomeContributions, pluginLeaderBindings, pluginMcpAppRenderer, pluginMinorModes, pluginOnboarding, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotFills, pluginSlotProps, pluginThemes, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, qualifyHostId, qualifyHostKey, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, railSessionStatus, readDormantTranscriptPage, readHostHome, readImageSettings, readLogin, readPresetSettings, readProviderSharing, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, reconcileStoredTheme, recordBrowserError, recordBrowserPerformance, recordBrowserUiTrace, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionSelection, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, registeredWebPluginHostIds, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeHostWebPlugins, removePresetLayer, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renamePreset, renameSession, renameSessionGroup, renderRegion, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveBackdrop, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreRemovedSession, restoreRemovedThread, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reuseRailWorkspaces, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, sameRailEntries, sameRailEntry, saveBackdropDefault, saveComposerDrafts, saveCoordinatorProfile, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, selectionStatuses, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionMinorModes, sessionMoveTarget, sessionStatusClock, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWaitingCount, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setCoordinatorProfile, setCoordinatorProfileForm, setDefaultHostId, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setNewSessionProfile, setPalettePath, setPendingMenu, setResumeView, setSessionGroups, setSessionNameCommand, setSessionRole, setSessionStreamed, setSettingsDraft, setThinkingLevelCommand, setTransientTabSession, setUiTraceSink, setWebPluginLoadDiagnostics, setWorkspaceHostLabel, setWorkspaceInstructions, setWorkspaceSandbox, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSectionGroups, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, splitHostId, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, streamedSessions, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, summaryValueEqual, tabComposerContext, takeComposerDraft, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, traceProfilerRender, traceStore, transientTabsOf, transientTabsStore, transportForHost, triggerTokenAt, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateCoordinatorProfileDraft, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaceBadges, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useRailEntries, useRailEntry, useRenderTrace, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, watchHubThread, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryForHost, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceHostLabelsStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writePresetSettings, writeProviderSharing, writeRepositorySelection, writeSettingsValue };
|
package/dist/types/media.cjs
CHANGED
|
@@ -64,8 +64,10 @@ const SESSION_FILE_EXPECTED_SHA256_HEADER = "X-Expected-SHA256";
|
|
|
64
64
|
/** Explicit artifact references stay on the artifact owner's guarded, session-scoped content route. */
|
|
65
65
|
function sessionFileUrl(sessionId, relativePath) {
|
|
66
66
|
const artifact = /^@?artifact:(.*)$/su.exec(relativePath)?.[1];
|
|
67
|
+
const host = artifact?.startsWith("host/") ? artifact.slice(5) : void 0;
|
|
67
68
|
const route = artifact === void 0 ? "file" : "plugins/artifacts/content";
|
|
68
|
-
|
|
69
|
+
const scope = host === void 0 ? "" : "&scope=host";
|
|
70
|
+
return `${(0, _agimon_ai_po_core_web.sessionApiPath)(sessionId)}/${route}?path=${encodeURIComponent(host ?? artifact ?? relativePath)}${scope}`;
|
|
69
71
|
}
|
|
70
72
|
//#endregion
|
|
71
73
|
exports.MAX_SESSION_FILE_BYTES = MAX_SESSION_FILE_BYTES;
|
package/dist/types/media.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.cjs","names":["sessionApiPath"],"sources":["../../src/types/media.ts"],"sourcesContent":["import { sessionApiPath } from '@agimon-ai/po-core/web';\n/**\n * How the cockpit previews a file a message mentions: the hub serves it from\n * the session's working directory and the timeline picks the element by\n * kind. Anything not listed here is offered as a plain file link.\n */\nexport type MediaKind = 'image' | 'video' | 'pdf';\n\nexport interface MediaType {\n kind: MediaKind;\n contentType: string;\n}\n\n/** Keyed by lower-case extension without the dot. */\nexport const MEDIA_TYPES: Readonly<Record<string, MediaType>> = {\n avif: { kind: 'image', contentType: 'image/avif' },\n bmp: { kind: 'image', contentType: 'image/bmp' },\n gif: { kind: 'image', contentType: 'image/gif' },\n jpeg: { kind: 'image', contentType: 'image/jpeg' },\n jpg: { kind: 'image', contentType: 'image/jpeg' },\n png: { kind: 'image', contentType: 'image/png' },\n svg: { kind: 'image', contentType: 'image/svg+xml' },\n webp: { kind: 'image', contentType: 'image/webp' },\n m4v: { kind: 'video', contentType: 'video/mp4' },\n mov: { kind: 'video', contentType: 'video/quicktime' },\n mp4: { kind: 'video', contentType: 'video/mp4' },\n webm: { kind: 'video', contentType: 'video/webm' },\n pdf: { kind: 'pdf', contentType: 'application/pdf' },\n};\n\n/** The hub refuses to serve a mentioned file past this size. */\nexport const MAX_SESSION_FILE_BYTES = 25 * 1024 * 1024;\n\n/** Session file bytes; paths may be cwd-relative or absolute inside the working directory. */\nexport const SESSION_FILE_ROUTE = '/api/workspaces/:workspaceId/sessions/:sessionId/file';\nexport const SESSION_FILE_SHA256_HEADER = 'X-File-SHA256';\nexport const SESSION_FILE_EXPECTED_SHA256_HEADER = 'X-Expected-SHA256';\n\n/** Explicit artifact references stay on the artifact owner's guarded, session-scoped content route. */\nexport function sessionFileUrl(sessionId: string, relativePath: string): string {\n const artifact = /^@?artifact:(.*)$/su.exec(relativePath)?.[1];\n const route = artifact === undefined ? 'file' : 'plugins/artifacts/content';\n return `${sessionApiPath(sessionId)}/${route}?path=${encodeURIComponent(artifact ?? relativePath)}`;\n}\n"],"mappings":";;;AAcA,MAAa,cAAmD;CAC9D,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAa;CAChD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAgB;CACnD,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAkB;CACrD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAO,aAAa;CAAkB;AACrD;;AAGA,MAAa,yBAAyB;;AAGtC,MAAa,qBAAqB;AAClC,MAAa,6BAA6B;AAC1C,MAAa,sCAAsC;;AAGnD,SAAgB,eAAe,WAAmB,cAA8B;CAC9E,MAAM,WAAW,sBAAsB,KAAK,YAAY,CAAC,GAAG;
|
|
1
|
+
{"version":3,"file":"media.cjs","names":["sessionApiPath"],"sources":["../../src/types/media.ts"],"sourcesContent":["import { sessionApiPath } from '@agimon-ai/po-core/web';\n/**\n * How the cockpit previews a file a message mentions: the hub serves it from\n * the session's working directory and the timeline picks the element by\n * kind. Anything not listed here is offered as a plain file link.\n */\nexport type MediaKind = 'image' | 'video' | 'pdf';\n\nexport interface MediaType {\n kind: MediaKind;\n contentType: string;\n}\n\n/** Keyed by lower-case extension without the dot. */\nexport const MEDIA_TYPES: Readonly<Record<string, MediaType>> = {\n avif: { kind: 'image', contentType: 'image/avif' },\n bmp: { kind: 'image', contentType: 'image/bmp' },\n gif: { kind: 'image', contentType: 'image/gif' },\n jpeg: { kind: 'image', contentType: 'image/jpeg' },\n jpg: { kind: 'image', contentType: 'image/jpeg' },\n png: { kind: 'image', contentType: 'image/png' },\n svg: { kind: 'image', contentType: 'image/svg+xml' },\n webp: { kind: 'image', contentType: 'image/webp' },\n m4v: { kind: 'video', contentType: 'video/mp4' },\n mov: { kind: 'video', contentType: 'video/quicktime' },\n mp4: { kind: 'video', contentType: 'video/mp4' },\n webm: { kind: 'video', contentType: 'video/webm' },\n pdf: { kind: 'pdf', contentType: 'application/pdf' },\n};\n\n/** The hub refuses to serve a mentioned file past this size. */\nexport const MAX_SESSION_FILE_BYTES = 25 * 1024 * 1024;\n\n/** Session file bytes; paths may be cwd-relative or absolute inside the working directory. */\nexport const SESSION_FILE_ROUTE = '/api/workspaces/:workspaceId/sessions/:sessionId/file';\nexport const SESSION_FILE_SHA256_HEADER = 'X-File-SHA256';\nexport const SESSION_FILE_EXPECTED_SHA256_HEADER = 'X-Expected-SHA256';\n\n/** Explicit artifact references stay on the artifact owner's guarded, session-scoped content route. */\nexport function sessionFileUrl(sessionId: string, relativePath: string): string {\n const artifact = /^@?artifact:(.*)$/su.exec(relativePath)?.[1];\n // `artifact:host/<path>` names the host Artifacts shelf (po-artifact HOST_ARTIFACT_PREFIX), read through the same route.\n const host = artifact?.startsWith('host/') ? artifact.slice('host/'.length) : undefined;\n const route = artifact === undefined ? 'file' : 'plugins/artifacts/content';\n const scope = host === undefined ? '' : '&scope=host';\n return `${sessionApiPath(sessionId)}/${route}?path=${encodeURIComponent(host ?? artifact ?? relativePath)}${scope}`;\n}\n"],"mappings":";;;AAcA,MAAa,cAAmD;CAC9D,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAa;CAChD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAgB;CACnD,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAkB;CACrD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAO,aAAa;CAAkB;AACrD;;AAGA,MAAa,yBAAyB;;AAGtC,MAAa,qBAAqB;AAClC,MAAa,6BAA6B;AAC1C,MAAa,sCAAsC;;AAGnD,SAAgB,eAAe,WAAmB,cAA8B;CAC9E,MAAM,WAAW,sBAAsB,KAAK,YAAY,CAAC,GAAG;CAE5D,MAAM,OAAO,UAAU,WAAW,OAAO,IAAI,SAAS,MAAM,CAAc,IAAI,KAAA;CAC9E,MAAM,QAAQ,aAAa,KAAA,IAAY,SAAS;CAChD,MAAM,QAAQ,SAAS,KAAA,IAAY,KAAK;CACxC,OAAO,IAAA,GAAGA,uBAAAA,eAAAA,CAAe,SAAS,EAAE,GAAG,MAAM,QAAQ,mBAAmB,QAAQ,YAAY,YAAY,IAAI;AAC9G"}
|
package/dist/types/media.mjs
CHANGED
|
@@ -64,8 +64,10 @@ const SESSION_FILE_EXPECTED_SHA256_HEADER = "X-Expected-SHA256";
|
|
|
64
64
|
/** Explicit artifact references stay on the artifact owner's guarded, session-scoped content route. */
|
|
65
65
|
function sessionFileUrl(sessionId, relativePath) {
|
|
66
66
|
const artifact = /^@?artifact:(.*)$/su.exec(relativePath)?.[1];
|
|
67
|
+
const host = artifact?.startsWith("host/") ? artifact.slice(5) : void 0;
|
|
67
68
|
const route = artifact === void 0 ? "file" : "plugins/artifacts/content";
|
|
68
|
-
|
|
69
|
+
const scope = host === void 0 ? "" : "&scope=host";
|
|
70
|
+
return `${sessionApiPath(sessionId)}/${route}?path=${encodeURIComponent(host ?? artifact ?? relativePath)}${scope}`;
|
|
69
71
|
}
|
|
70
72
|
//#endregion
|
|
71
73
|
export { MAX_SESSION_FILE_BYTES, MEDIA_TYPES, SESSION_FILE_EXPECTED_SHA256_HEADER, SESSION_FILE_ROUTE, SESSION_FILE_SHA256_HEADER, sessionFileUrl };
|
package/dist/types/media.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.mjs","names":[],"sources":["../../src/types/media.ts"],"sourcesContent":["import { sessionApiPath } from '@agimon-ai/po-core/web';\n/**\n * How the cockpit previews a file a message mentions: the hub serves it from\n * the session's working directory and the timeline picks the element by\n * kind. Anything not listed here is offered as a plain file link.\n */\nexport type MediaKind = 'image' | 'video' | 'pdf';\n\nexport interface MediaType {\n kind: MediaKind;\n contentType: string;\n}\n\n/** Keyed by lower-case extension without the dot. */\nexport const MEDIA_TYPES: Readonly<Record<string, MediaType>> = {\n avif: { kind: 'image', contentType: 'image/avif' },\n bmp: { kind: 'image', contentType: 'image/bmp' },\n gif: { kind: 'image', contentType: 'image/gif' },\n jpeg: { kind: 'image', contentType: 'image/jpeg' },\n jpg: { kind: 'image', contentType: 'image/jpeg' },\n png: { kind: 'image', contentType: 'image/png' },\n svg: { kind: 'image', contentType: 'image/svg+xml' },\n webp: { kind: 'image', contentType: 'image/webp' },\n m4v: { kind: 'video', contentType: 'video/mp4' },\n mov: { kind: 'video', contentType: 'video/quicktime' },\n mp4: { kind: 'video', contentType: 'video/mp4' },\n webm: { kind: 'video', contentType: 'video/webm' },\n pdf: { kind: 'pdf', contentType: 'application/pdf' },\n};\n\n/** The hub refuses to serve a mentioned file past this size. */\nexport const MAX_SESSION_FILE_BYTES = 25 * 1024 * 1024;\n\n/** Session file bytes; paths may be cwd-relative or absolute inside the working directory. */\nexport const SESSION_FILE_ROUTE = '/api/workspaces/:workspaceId/sessions/:sessionId/file';\nexport const SESSION_FILE_SHA256_HEADER = 'X-File-SHA256';\nexport const SESSION_FILE_EXPECTED_SHA256_HEADER = 'X-Expected-SHA256';\n\n/** Explicit artifact references stay on the artifact owner's guarded, session-scoped content route. */\nexport function sessionFileUrl(sessionId: string, relativePath: string): string {\n const artifact = /^@?artifact:(.*)$/su.exec(relativePath)?.[1];\n const route = artifact === undefined ? 'file' : 'plugins/artifacts/content';\n return `${sessionApiPath(sessionId)}/${route}?path=${encodeURIComponent(artifact ?? relativePath)}`;\n}\n"],"mappings":";;;AAcA,MAAa,cAAmD;CAC9D,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAa;CAChD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAgB;CACnD,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAkB;CACrD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAO,aAAa;CAAkB;AACrD;;AAGA,MAAa,yBAAyB;;AAGtC,MAAa,qBAAqB;AAClC,MAAa,6BAA6B;AAC1C,MAAa,sCAAsC;;AAGnD,SAAgB,eAAe,WAAmB,cAA8B;CAC9E,MAAM,WAAW,sBAAsB,KAAK,YAAY,CAAC,GAAG;
|
|
1
|
+
{"version":3,"file":"media.mjs","names":[],"sources":["../../src/types/media.ts"],"sourcesContent":["import { sessionApiPath } from '@agimon-ai/po-core/web';\n/**\n * How the cockpit previews a file a message mentions: the hub serves it from\n * the session's working directory and the timeline picks the element by\n * kind. Anything not listed here is offered as a plain file link.\n */\nexport type MediaKind = 'image' | 'video' | 'pdf';\n\nexport interface MediaType {\n kind: MediaKind;\n contentType: string;\n}\n\n/** Keyed by lower-case extension without the dot. */\nexport const MEDIA_TYPES: Readonly<Record<string, MediaType>> = {\n avif: { kind: 'image', contentType: 'image/avif' },\n bmp: { kind: 'image', contentType: 'image/bmp' },\n gif: { kind: 'image', contentType: 'image/gif' },\n jpeg: { kind: 'image', contentType: 'image/jpeg' },\n jpg: { kind: 'image', contentType: 'image/jpeg' },\n png: { kind: 'image', contentType: 'image/png' },\n svg: { kind: 'image', contentType: 'image/svg+xml' },\n webp: { kind: 'image', contentType: 'image/webp' },\n m4v: { kind: 'video', contentType: 'video/mp4' },\n mov: { kind: 'video', contentType: 'video/quicktime' },\n mp4: { kind: 'video', contentType: 'video/mp4' },\n webm: { kind: 'video', contentType: 'video/webm' },\n pdf: { kind: 'pdf', contentType: 'application/pdf' },\n};\n\n/** The hub refuses to serve a mentioned file past this size. */\nexport const MAX_SESSION_FILE_BYTES = 25 * 1024 * 1024;\n\n/** Session file bytes; paths may be cwd-relative or absolute inside the working directory. */\nexport const SESSION_FILE_ROUTE = '/api/workspaces/:workspaceId/sessions/:sessionId/file';\nexport const SESSION_FILE_SHA256_HEADER = 'X-File-SHA256';\nexport const SESSION_FILE_EXPECTED_SHA256_HEADER = 'X-Expected-SHA256';\n\n/** Explicit artifact references stay on the artifact owner's guarded, session-scoped content route. */\nexport function sessionFileUrl(sessionId: string, relativePath: string): string {\n const artifact = /^@?artifact:(.*)$/su.exec(relativePath)?.[1];\n // `artifact:host/<path>` names the host Artifacts shelf (po-artifact HOST_ARTIFACT_PREFIX), read through the same route.\n const host = artifact?.startsWith('host/') ? artifact.slice('host/'.length) : undefined;\n const route = artifact === undefined ? 'file' : 'plugins/artifacts/content';\n const scope = host === undefined ? '' : '&scope=host';\n return `${sessionApiPath(sessionId)}/${route}?path=${encodeURIComponent(host ?? artifact ?? relativePath)}${scope}`;\n}\n"],"mappings":";;;AAcA,MAAa,cAAmD;CAC9D,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAa;CAChD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAgB;CACnD,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,KAAK;EAAE,MAAM;EAAS,aAAa;CAAkB;CACrD,KAAK;EAAE,MAAM;EAAS,aAAa;CAAY;CAC/C,MAAM;EAAE,MAAM;EAAS,aAAa;CAAa;CACjD,KAAK;EAAE,MAAM;EAAO,aAAa;CAAkB;AACrD;;AAGA,MAAa,yBAAyB;;AAGtC,MAAa,qBAAqB;AAClC,MAAa,6BAA6B;AAC1C,MAAa,sCAAsC;;AAGnD,SAAgB,eAAe,WAAmB,cAA8B;CAC9E,MAAM,WAAW,sBAAsB,KAAK,YAAY,CAAC,GAAG;CAE5D,MAAM,OAAO,UAAU,WAAW,OAAO,IAAI,SAAS,MAAM,CAAc,IAAI,KAAA;CAC9E,MAAM,QAAQ,aAAa,KAAA,IAAY,SAAS;CAChD,MAAM,QAAQ,SAAS,KAAA,IAAY,KAAK;CACxC,OAAO,GAAG,eAAe,SAAS,EAAE,GAAG,MAAM,QAAQ,mBAAmB,QAAQ,YAAY,YAAY,IAAI;AAC9G"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { PluginInstallOperation, PluginMarketplaceCatalog } from "@agimon-ai/po-core/apiContracts";
|
|
2
|
+
//#region src/types/plugins.d.ts
|
|
3
|
+
/** What the catalog and plugin pages draw. Containers map server state onto these; views never fetch. */
|
|
4
|
+
/**
|
|
5
|
+
* Po plugins are layers turned on through presets; Codex and Claude Code plugins keep po-domain activation.
|
|
6
|
+
* `external` is one of those when the host doesn't say which tool it came from.
|
|
7
|
+
*/
|
|
8
|
+
export type PluginSource = 'po' | 'codex' | 'claude' | 'external';
|
|
9
|
+
export type PluginInstall = 'available' | 'installing' | 'failed' | 'installed';
|
|
10
|
+
/** Derived from the plugin's onboarding `status()`, never stored. `none` means the plugin has no setup. */
|
|
11
|
+
export type PluginSetup = 'none' | 'checking' | 'needs-setup' | 'ready' | 'failed' | 'unavailable';
|
|
12
|
+
export type PluginIconKey = 'image' | 'calendar' | 'users' | 'globe' | 'search' | 'branch' | 'palette' | 'task' | 'message' | 'puzzle' | 'smartphone';
|
|
13
|
+
export interface PluginEntry {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
/** One line, written for someone who has never heard of the plugin. */
|
|
17
|
+
description: string;
|
|
18
|
+
category: string;
|
|
19
|
+
icon: PluginIconKey;
|
|
20
|
+
/** The plugin's own logo as a `data:image` URI, when it ships one; `icon` is the fallback. */
|
|
21
|
+
logo?: string;
|
|
22
|
+
publisher: string;
|
|
23
|
+
source: PluginSource;
|
|
24
|
+
install: PluginInstall;
|
|
25
|
+
/** While installing: the files are in place and Po is switching the plugin on. */
|
|
26
|
+
finishing?: boolean;
|
|
27
|
+
setup: PluginSetup;
|
|
28
|
+
/** Presets in the current scope that include this plugin. */
|
|
29
|
+
inPresets: readonly string[];
|
|
30
|
+
/** Codex and Claude Code plugins only: on everywhere, or the domains that load it. */
|
|
31
|
+
domains?: 'everywhere' | readonly string[];
|
|
32
|
+
}
|
|
33
|
+
/** Where a change lands: the host's presets, or one workspace's. */
|
|
34
|
+
export interface PluginScope {
|
|
35
|
+
kind: 'host' | 'workspace';
|
|
36
|
+
/** "Studio Mac" or the workspace folder name. */
|
|
37
|
+
label: string;
|
|
38
|
+
/** The computer that installs and runs plugins for this scope. */
|
|
39
|
+
host: string;
|
|
40
|
+
}
|
|
41
|
+
export interface PresetSummary {
|
|
42
|
+
name: string;
|
|
43
|
+
description: string;
|
|
44
|
+
pluginIds: readonly string[];
|
|
45
|
+
isDefault: boolean;
|
|
46
|
+
/** A workspace preset that replaces the host preset of the same name in this workspace. */
|
|
47
|
+
overridesHost?: boolean;
|
|
48
|
+
/** Read from the host because the workspace has no preset of its own. */
|
|
49
|
+
inherited?: boolean;
|
|
50
|
+
}
|
|
51
|
+
/** One curated layer as the host's catalog describes it. Never carries integrity or registry URLs. */
|
|
52
|
+
export type CatalogLayer = PluginMarketplaceCatalog['layers'][number];
|
|
53
|
+
/** An install's progress; `conflict` and `clash` say why nothing was turned on. */
|
|
54
|
+
export type InstallOperation = PluginInstallOperation;
|
|
55
|
+
export interface ExternalPluginsView {
|
|
56
|
+
domains: {
|
|
57
|
+
name: string;
|
|
58
|
+
plugins: readonly string[];
|
|
59
|
+
}[];
|
|
60
|
+
plugins: {
|
|
61
|
+
name: string;
|
|
62
|
+
version?: string;
|
|
63
|
+
description?: string;
|
|
64
|
+
origin: {
|
|
65
|
+
kind: string;
|
|
66
|
+
marketplace?: string;
|
|
67
|
+
};
|
|
68
|
+
skills: readonly string[];
|
|
69
|
+
mcpServers: readonly string[];
|
|
70
|
+
hooks: number;
|
|
71
|
+
domains: readonly string[];
|
|
72
|
+
enabled: boolean;
|
|
73
|
+
}[];
|
|
74
|
+
}
|
|
75
|
+
//#endregion
|
|
76
|
+
//# sourceMappingURL=plugins.d.mts.map
|