@agimon-ai/po-web-dashboard 0.0.0-alpha.0
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/LICENSE +29 -0
- package/README.md +10 -0
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/core.cjs +222 -0
- package/dist/core.d.mts +21 -0
- package/dist/core.mjs +21 -0
- package/dist/index.cjs +546 -0
- package/dist/index.d.mts +81 -0
- package/dist/index.mjs +81 -0
- package/dist/testing.cjs +18 -0
- package/dist/testing.d.mts +6 -0
- package/dist/testing.mjs +6 -0
- package/dist/types/auth.cjs +20 -0
- package/dist/types/auth.cjs.map +1 -0
- package/dist/types/auth.d.mts +160 -0
- package/dist/types/auth.d.mts.map +1 -0
- package/dist/types/auth.mjs +19 -0
- package/dist/types/auth.mjs.map +1 -0
- package/dist/types/bridge.d.mts +18 -0
- package/dist/types/bridge.d.mts.map +1 -0
- package/dist/types/devProxy.cjs +41 -0
- package/dist/types/devProxy.cjs.map +1 -0
- package/dist/types/devProxy.d.mts +54 -0
- package/dist/types/devProxy.d.mts.map +1 -0
- package/dist/types/devProxy.mjs +39 -0
- package/dist/types/devProxy.mjs.map +1 -0
- package/dist/types/hub.cjs +220 -0
- package/dist/types/hub.cjs.map +1 -0
- package/dist/types/hub.d.mts +447 -0
- package/dist/types/hub.d.mts.map +1 -0
- package/dist/types/hub.mjs +179 -0
- package/dist/types/hub.mjs.map +1 -0
- package/dist/types/media.cjs +75 -0
- package/dist/types/media.cjs.map +1 -0
- package/dist/types/media.d.mts +22 -0
- package/dist/types/media.d.mts.map +1 -0
- package/dist/types/media.mjs +70 -0
- package/dist/types/media.mjs.map +1 -0
- package/dist/types/notification.cjs +19 -0
- package/dist/types/notification.cjs.map +1 -0
- package/dist/types/notification.d.mts +10 -0
- package/dist/types/notification.d.mts.map +1 -0
- package/dist/types/notification.mjs +19 -0
- package/dist/types/notification.mjs.map +1 -0
- package/dist/types/remoteAccess.cjs +92 -0
- package/dist/types/remoteAccess.cjs.map +1 -0
- package/dist/types/remoteAccess.d.mts +214 -0
- package/dist/types/remoteAccess.d.mts.map +1 -0
- package/dist/types/remoteAccess.mjs +68 -0
- package/dist/types/remoteAccess.mjs.map +1 -0
- package/dist/types/session.cjs +23 -0
- package/dist/types/session.cjs.map +1 -0
- package/dist/types/session.d.mts +29 -0
- package/dist/types/session.d.mts.map +1 -0
- package/dist/types/session.mjs +18 -0
- package/dist/types/session.mjs.map +1 -0
- package/dist/types/sessionMcp.d.mts +56 -0
- package/dist/types/sessionMcp.d.mts.map +1 -0
- package/dist/types/settings.cjs +18 -0
- package/dist/types/settings.cjs.map +1 -0
- package/dist/types/settings.d.mts +126 -0
- package/dist/types/settings.d.mts.map +1 -0
- package/dist/types/settings.mjs +12 -0
- package/dist/types/settings.mjs.map +1 -0
- package/dist/types.cjs +101 -0
- package/dist/types.d.mts +11 -0
- package/dist/types.mjs +9 -0
- package/dist/views.cjs +120 -0
- package/dist/views.d.mts +56 -0
- package/dist/views.mjs +56 -0
- package/dist/web/components/MascotMark.cjs +18 -0
- package/dist/web/components/MascotMark.cjs.map +1 -0
- package/dist/web/components/MascotMark.d.mts +9 -0
- package/dist/web/components/MascotMark.d.mts.map +1 -0
- package/dist/web/components/MascotMark.mjs +18 -0
- package/dist/web/components/MascotMark.mjs.map +1 -0
- package/dist/web/components/PluginSurface.cjs +15 -0
- package/dist/web/components/PluginSurface.cjs.map +1 -0
- package/dist/web/components/PluginSurface.d.mts +13 -0
- package/dist/web/components/PluginSurface.d.mts.map +1 -0
- package/dist/web/components/PluginSurface.mjs +15 -0
- package/dist/web/components/PluginSurface.mjs.map +1 -0
- package/dist/web/components/QrCode.cjs +37 -0
- package/dist/web/components/QrCode.cjs.map +1 -0
- package/dist/web/components/QrCode.d.mts +22 -0
- package/dist/web/components/QrCode.d.mts.map +1 -0
- package/dist/web/components/QrCode.mjs +37 -0
- package/dist/web/components/QrCode.mjs.map +1 -0
- package/dist/web/components/Remote.fixture.cjs +73 -0
- package/dist/web/components/Remote.fixture.cjs.map +1 -0
- package/dist/web/components/Remote.fixture.mjs +72 -0
- package/dist/web/components/Remote.fixture.mjs.map +1 -0
- package/dist/web/components/SessionMcp.cjs +279 -0
- package/dist/web/components/SessionMcp.cjs.map +1 -0
- package/dist/web/components/SessionMcp.d.mts +12 -0
- package/dist/web/components/SessionMcp.d.mts.map +1 -0
- package/dist/web/components/SessionMcp.mjs +278 -0
- package/dist/web/components/SessionMcp.mjs.map +1 -0
- package/dist/web/components/Story.fixture.cjs +124 -0
- package/dist/web/components/Story.fixture.cjs.map +1 -0
- package/dist/web/components/Story.fixture.d.mts +19 -0
- package/dist/web/components/Story.fixture.d.mts.map +1 -0
- package/dist/web/components/Story.fixture.mjs +119 -0
- package/dist/web/components/Story.fixture.mjs.map +1 -0
- package/dist/web/components/Template.fixture.cjs +67 -0
- package/dist/web/components/Template.fixture.cjs.map +1 -0
- package/dist/web/components/Template.fixture.d.mts +7 -0
- package/dist/web/components/Template.fixture.d.mts.map +1 -0
- package/dist/web/components/Template.fixture.mjs +65 -0
- package/dist/web/components/Template.fixture.mjs.map +1 -0
- package/dist/web/components/ToolRendererBoundary.cjs +23 -0
- package/dist/web/components/ToolRendererBoundary.cjs.map +1 -0
- package/dist/web/components/ToolRendererBoundary.d.mts +23 -0
- package/dist/web/components/ToolRendererBoundary.d.mts.map +1 -0
- package/dist/web/components/ToolRendererBoundary.mjs +23 -0
- package/dist/web/components/ToolRendererBoundary.mjs.map +1 -0
- package/dist/web/features/activity/ActivityDock.cjs +271 -0
- package/dist/web/features/activity/ActivityDock.cjs.map +1 -0
- package/dist/web/features/activity/ActivityDock.d.mts +22 -0
- package/dist/web/features/activity/ActivityDock.d.mts.map +1 -0
- package/dist/web/features/activity/ActivityDock.mjs +271 -0
- package/dist/web/features/activity/ActivityDock.mjs.map +1 -0
- package/dist/web/features/activity/ContextItemDialog.cjs +276 -0
- package/dist/web/features/activity/ContextItemDialog.cjs.map +1 -0
- package/dist/web/features/activity/ContextItemDialog.d.mts +16 -0
- package/dist/web/features/activity/ContextItemDialog.d.mts.map +1 -0
- package/dist/web/features/activity/ContextItemDialog.mjs +276 -0
- package/dist/web/features/activity/ContextItemDialog.mjs.map +1 -0
- package/dist/web/features/activity/ContextPanel.cjs +248 -0
- package/dist/web/features/activity/ContextPanel.cjs.map +1 -0
- package/dist/web/features/activity/ContextPanel.d.mts +4 -0
- package/dist/web/features/activity/ContextPanel.d.mts.map +1 -0
- package/dist/web/features/activity/ContextPanel.mjs +248 -0
- package/dist/web/features/activity/ContextPanel.mjs.map +1 -0
- package/dist/web/features/activity/DockTabs.cjs +47 -0
- package/dist/web/features/activity/DockTabs.cjs.map +1 -0
- package/dist/web/features/activity/DockTabs.d.mts +9 -0
- package/dist/web/features/activity/DockTabs.d.mts.map +1 -0
- package/dist/web/features/activity/DockTabs.mjs +47 -0
- package/dist/web/features/activity/DockTabs.mjs.map +1 -0
- package/dist/web/features/connection/RefusedCard.cjs +76 -0
- package/dist/web/features/connection/RefusedCard.cjs.map +1 -0
- package/dist/web/features/connection/RefusedCard.d.mts +5 -0
- package/dist/web/features/connection/RefusedCard.d.mts.map +1 -0
- package/dist/web/features/connection/RefusedCard.mjs +76 -0
- package/dist/web/features/connection/RefusedCard.mjs.map +1 -0
- package/dist/web/features/dialogs/DialogOverlay.cjs +164 -0
- package/dist/web/features/dialogs/DialogOverlay.cjs.map +1 -0
- package/dist/web/features/dialogs/DialogOverlay.d.mts +15 -0
- package/dist/web/features/dialogs/DialogOverlay.d.mts.map +1 -0
- package/dist/web/features/dialogs/DialogOverlay.mjs +164 -0
- package/dist/web/features/dialogs/DialogOverlay.mjs.map +1 -0
- package/dist/web/features/leader/CommandPalette.cjs +390 -0
- package/dist/web/features/leader/CommandPalette.cjs.map +1 -0
- package/dist/web/features/leader/CommandPalette.d.mts +14 -0
- package/dist/web/features/leader/CommandPalette.d.mts.map +1 -0
- package/dist/web/features/leader/CommandPalette.mjs +390 -0
- package/dist/web/features/leader/CommandPalette.mjs.map +1 -0
- package/dist/web/features/remote/DevProxyTargets.cjs +122 -0
- package/dist/web/features/remote/DevProxyTargets.cjs.map +1 -0
- package/dist/web/features/remote/DevProxyTargets.d.mts +15 -0
- package/dist/web/features/remote/DevProxyTargets.d.mts.map +1 -0
- package/dist/web/features/remote/DevProxyTargets.mjs +122 -0
- package/dist/web/features/remote/DevProxyTargets.mjs.map +1 -0
- package/dist/web/features/remote/HandoverProgress.cjs +28 -0
- package/dist/web/features/remote/HandoverProgress.cjs.map +1 -0
- package/dist/web/features/remote/HandoverProgress.d.mts +12 -0
- package/dist/web/features/remote/HandoverProgress.d.mts.map +1 -0
- package/dist/web/features/remote/HandoverProgress.mjs +28 -0
- package/dist/web/features/remote/HandoverProgress.mjs.map +1 -0
- package/dist/web/features/remote/PairedDeviceList.cjs +37 -0
- package/dist/web/features/remote/PairedDeviceList.cjs.map +1 -0
- package/dist/web/features/remote/PairedDeviceList.d.mts +5 -0
- package/dist/web/features/remote/PairedDeviceList.d.mts.map +1 -0
- package/dist/web/features/remote/PairedDeviceList.mjs +37 -0
- package/dist/web/features/remote/PairedDeviceList.mjs.map +1 -0
- package/dist/web/features/remote/PairingApprovalDialog.cjs +65 -0
- package/dist/web/features/remote/PairingApprovalDialog.cjs.map +1 -0
- package/dist/web/features/remote/PairingApprovalDialog.d.mts +11 -0
- package/dist/web/features/remote/PairingApprovalDialog.d.mts.map +1 -0
- package/dist/web/features/remote/PairingApprovalDialog.mjs +65 -0
- package/dist/web/features/remote/PairingApprovalDialog.mjs.map +1 -0
- package/dist/web/features/remote/RemoteAccessDialog.cjs +83 -0
- package/dist/web/features/remote/RemoteAccessDialog.cjs.map +1 -0
- package/dist/web/features/remote/RemoteAccessDialog.d.mts +11 -0
- package/dist/web/features/remote/RemoteAccessDialog.d.mts.map +1 -0
- package/dist/web/features/remote/RemoteAccessDialog.mjs +83 -0
- package/dist/web/features/remote/RemoteAccessDialog.mjs.map +1 -0
- package/dist/web/features/remote/RemoteAccessOptions.cjs +154 -0
- package/dist/web/features/remote/RemoteAccessOptions.cjs.map +1 -0
- package/dist/web/features/remote/RemoteAccessOptions.d.mts +11 -0
- package/dist/web/features/remote/RemoteAccessOptions.d.mts.map +1 -0
- package/dist/web/features/remote/RemoteAccessOptions.mjs +154 -0
- package/dist/web/features/remote/RemoteAccessOptions.mjs.map +1 -0
- package/dist/web/features/remote/RemoteAccessPairing.cjs +93 -0
- package/dist/web/features/remote/RemoteAccessPairing.cjs.map +1 -0
- package/dist/web/features/remote/RemoteAccessPairing.d.mts +5 -0
- package/dist/web/features/remote/RemoteAccessPairing.d.mts.map +1 -0
- package/dist/web/features/remote/RemoteAccessPairing.mjs +93 -0
- package/dist/web/features/remote/RemoteAccessPairing.mjs.map +1 -0
- package/dist/web/features/remote/SandboxWorkspaces.cjs +87 -0
- package/dist/web/features/remote/SandboxWorkspaces.cjs.map +1 -0
- package/dist/web/features/remote/SandboxWorkspaces.d.mts +7 -0
- package/dist/web/features/remote/SandboxWorkspaces.d.mts.map +1 -0
- package/dist/web/features/remote/SandboxWorkspaces.mjs +87 -0
- package/dist/web/features/remote/SandboxWorkspaces.mjs.map +1 -0
- package/dist/web/features/remote/TrustedDeviceList.cjs +65 -0
- package/dist/web/features/remote/TrustedDeviceList.cjs.map +1 -0
- package/dist/web/features/remote/TrustedDeviceList.d.mts +13 -0
- package/dist/web/features/remote/TrustedDeviceList.d.mts.map +1 -0
- package/dist/web/features/remote/TrustedDeviceList.mjs +64 -0
- package/dist/web/features/remote/TrustedDeviceList.mjs.map +1 -0
- package/dist/web/features/selection/SelectionBar.cjs +401 -0
- package/dist/web/features/selection/SelectionBar.cjs.map +1 -0
- package/dist/web/features/selection/SelectionBar.d.mts +14 -0
- package/dist/web/features/selection/SelectionBar.d.mts.map +1 -0
- package/dist/web/features/selection/SelectionBar.mjs +400 -0
- package/dist/web/features/selection/SelectionBar.mjs.map +1 -0
- package/dist/web/features/session/AgentLockPanel.cjs +31 -0
- package/dist/web/features/session/AgentLockPanel.cjs.map +1 -0
- package/dist/web/features/session/AgentLockPanel.mjs +31 -0
- package/dist/web/features/session/AgentLockPanel.mjs.map +1 -0
- package/dist/web/features/session/Composer.cjs +808 -0
- package/dist/web/features/session/Composer.cjs.map +1 -0
- package/dist/web/features/session/Composer.d.mts +21 -0
- package/dist/web/features/session/Composer.d.mts.map +1 -0
- package/dist/web/features/session/Composer.mjs +806 -0
- package/dist/web/features/session/Composer.mjs.map +1 -0
- package/dist/web/features/session/ComposerPrompt.cjs +47 -0
- package/dist/web/features/session/ComposerPrompt.cjs.map +1 -0
- package/dist/web/features/session/ComposerPrompt.d.mts +16 -0
- package/dist/web/features/session/ComposerPrompt.d.mts.map +1 -0
- package/dist/web/features/session/ComposerPrompt.mjs +47 -0
- package/dist/web/features/session/ComposerPrompt.mjs.map +1 -0
- package/dist/web/features/session/DormantPanel.cjs +61 -0
- package/dist/web/features/session/DormantPanel.cjs.map +1 -0
- package/dist/web/features/session/DormantPanel.d.mts +8 -0
- package/dist/web/features/session/DormantPanel.d.mts.map +1 -0
- package/dist/web/features/session/DormantPanel.mjs +61 -0
- package/dist/web/features/session/DormantPanel.mjs.map +1 -0
- package/dist/web/features/session/MentionPreviews.cjs +128 -0
- package/dist/web/features/session/MentionPreviews.cjs.map +1 -0
- package/dist/web/features/session/MentionPreviews.d.mts +17 -0
- package/dist/web/features/session/MentionPreviews.d.mts.map +1 -0
- package/dist/web/features/session/MentionPreviews.mjs +127 -0
- package/dist/web/features/session/MentionPreviews.mjs.map +1 -0
- package/dist/web/features/session/MessageMarkdown.cjs +20 -0
- package/dist/web/features/session/MessageMarkdown.cjs.map +1 -0
- package/dist/web/features/session/MessageMarkdown.d.mts +19 -0
- package/dist/web/features/session/MessageMarkdown.d.mts.map +1 -0
- package/dist/web/features/session/MessageMarkdown.mjs +20 -0
- package/dist/web/features/session/MessageMarkdown.mjs.map +1 -0
- package/dist/web/features/session/QueueSheet.cjs +189 -0
- package/dist/web/features/session/QueueSheet.cjs.map +1 -0
- package/dist/web/features/session/QueueSheet.d.mts +16 -0
- package/dist/web/features/session/QueueSheet.d.mts.map +1 -0
- package/dist/web/features/session/QueueSheet.mjs +189 -0
- package/dist/web/features/session/QueueSheet.mjs.map +1 -0
- package/dist/web/features/session/SessionActivity.cjs +88 -0
- package/dist/web/features/session/SessionActivity.cjs.map +1 -0
- package/dist/web/features/session/SessionActivity.d.mts +16 -0
- package/dist/web/features/session/SessionActivity.d.mts.map +1 -0
- package/dist/web/features/session/SessionActivity.mjs +87 -0
- package/dist/web/features/session/SessionActivity.mjs.map +1 -0
- package/dist/web/features/session/SessionTranscriptView.cjs +34 -0
- package/dist/web/features/session/SessionTranscriptView.cjs.map +1 -0
- package/dist/web/features/session/SessionTranscriptView.d.mts +16 -0
- package/dist/web/features/session/SessionTranscriptView.d.mts.map +1 -0
- package/dist/web/features/session/SessionTranscriptView.mjs +34 -0
- package/dist/web/features/session/SessionTranscriptView.mjs.map +1 -0
- package/dist/web/features/session/ThreadView.cjs +40 -0
- package/dist/web/features/session/ThreadView.cjs.map +1 -0
- package/dist/web/features/session/ThreadView.d.mts +18 -0
- package/dist/web/features/session/ThreadView.d.mts.map +1 -0
- package/dist/web/features/session/ThreadView.mjs +40 -0
- package/dist/web/features/session/ThreadView.mjs.map +1 -0
- package/dist/web/features/session/Timeline.cjs +620 -0
- package/dist/web/features/session/Timeline.cjs.map +1 -0
- package/dist/web/features/session/Timeline.d.mts +28 -0
- package/dist/web/features/session/Timeline.d.mts.map +1 -0
- package/dist/web/features/session/Timeline.mjs +619 -0
- package/dist/web/features/session/Timeline.mjs.map +1 -0
- package/dist/web/features/session/ToolCard.cjs +210 -0
- package/dist/web/features/session/ToolCard.cjs.map +1 -0
- package/dist/web/features/session/ToolCard.d.mts +16 -0
- package/dist/web/features/session/ToolCard.d.mts.map +1 -0
- package/dist/web/features/session/ToolCard.mjs +210 -0
- package/dist/web/features/session/ToolCard.mjs.map +1 -0
- package/dist/web/features/session/session.fixture.cjs +76 -0
- package/dist/web/features/session/session.fixture.cjs.map +1 -0
- package/dist/web/features/session/session.fixture.d.mts +6 -0
- package/dist/web/features/session/session.fixture.d.mts.map +1 -0
- package/dist/web/features/session/session.fixture.mjs +74 -0
- package/dist/web/features/session/session.fixture.mjs.map +1 -0
- package/dist/web/features/sessions/NewSessionDialog.cjs +70 -0
- package/dist/web/features/sessions/NewSessionDialog.cjs.map +1 -0
- package/dist/web/features/sessions/NewSessionDialog.d.mts +9 -0
- package/dist/web/features/sessions/NewSessionDialog.d.mts.map +1 -0
- package/dist/web/features/sessions/NewSessionDialog.mjs +70 -0
- package/dist/web/features/sessions/NewSessionDialog.mjs.map +1 -0
- package/dist/web/features/sessions/ResumeSessionDialog.cjs +131 -0
- package/dist/web/features/sessions/ResumeSessionDialog.cjs.map +1 -0
- package/dist/web/features/sessions/ResumeSessionDialog.d.mts +14 -0
- package/dist/web/features/sessions/ResumeSessionDialog.d.mts.map +1 -0
- package/dist/web/features/sessions/ResumeSessionDialog.mjs +131 -0
- package/dist/web/features/sessions/ResumeSessionDialog.mjs.map +1 -0
- package/dist/web/features/sessions/SessionRailDialogs.cjs +62 -0
- package/dist/web/features/sessions/SessionRailDialogs.cjs.map +1 -0
- package/dist/web/features/sessions/SessionRailDialogs.d.mts +10 -0
- package/dist/web/features/sessions/SessionRailDialogs.d.mts.map +1 -0
- package/dist/web/features/sessions/SessionRailDialogs.mjs +62 -0
- package/dist/web/features/sessions/SessionRailDialogs.mjs.map +1 -0
- package/dist/web/features/sessions/WelcomePanel.cjs +42 -0
- package/dist/web/features/sessions/WelcomePanel.cjs.map +1 -0
- package/dist/web/features/sessions/WelcomePanel.d.mts +16 -0
- package/dist/web/features/sessions/WelcomePanel.d.mts.map +1 -0
- package/dist/web/features/sessions/WelcomePanel.mjs +42 -0
- package/dist/web/features/sessions/WelcomePanel.mjs.map +1 -0
- package/dist/web/features/sessions/useNewSessionActions.cjs +38 -0
- package/dist/web/features/sessions/useNewSessionActions.cjs.map +1 -0
- package/dist/web/features/sessions/useNewSessionActions.d.mts +12 -0
- package/dist/web/features/sessions/useNewSessionActions.d.mts.map +1 -0
- package/dist/web/features/sessions/useNewSessionActions.mjs +38 -0
- package/dist/web/features/sessions/useNewSessionActions.mjs.map +1 -0
- package/dist/web/features/sessions/useSessionRail.cjs +302 -0
- package/dist/web/features/sessions/useSessionRail.cjs.map +1 -0
- package/dist/web/features/sessions/useSessionRail.d.mts +14 -0
- package/dist/web/features/sessions/useSessionRail.d.mts.map +1 -0
- package/dist/web/features/sessions/useSessionRail.mjs +302 -0
- package/dist/web/features/sessions/useSessionRail.mjs.map +1 -0
- package/dist/web/features/settings/AppearanceSettings.cjs +126 -0
- package/dist/web/features/settings/AppearanceSettings.cjs.map +1 -0
- package/dist/web/features/settings/AppearanceSettings.d.mts +12 -0
- package/dist/web/features/settings/AppearanceSettings.d.mts.map +1 -0
- package/dist/web/features/settings/AppearanceSettings.mjs +126 -0
- package/dist/web/features/settings/AppearanceSettings.mjs.map +1 -0
- package/dist/web/features/settings/ContributedSettings.cjs +257 -0
- package/dist/web/features/settings/ContributedSettings.cjs.map +1 -0
- package/dist/web/features/settings/ContributedSettings.d.mts +14 -0
- package/dist/web/features/settings/ContributedSettings.d.mts.map +1 -0
- package/dist/web/features/settings/ContributedSettings.mjs +257 -0
- package/dist/web/features/settings/ContributedSettings.mjs.map +1 -0
- package/dist/web/features/settings/ImageSettings.cjs +146 -0
- package/dist/web/features/settings/ImageSettings.cjs.map +1 -0
- package/dist/web/features/settings/ImageSettings.d.mts +12 -0
- package/dist/web/features/settings/ImageSettings.d.mts.map +1 -0
- package/dist/web/features/settings/ImageSettings.mjs +146 -0
- package/dist/web/features/settings/ImageSettings.mjs.map +1 -0
- package/dist/web/features/settings/LoginFlowDialog.cjs +226 -0
- package/dist/web/features/settings/LoginFlowDialog.cjs.map +1 -0
- package/dist/web/features/settings/LoginFlowDialog.d.mts +15 -0
- package/dist/web/features/settings/LoginFlowDialog.d.mts.map +1 -0
- package/dist/web/features/settings/LoginFlowDialog.mjs +225 -0
- package/dist/web/features/settings/LoginFlowDialog.mjs.map +1 -0
- package/dist/web/features/settings/NotificationSettings.cjs +69 -0
- package/dist/web/features/settings/NotificationSettings.cjs.map +1 -0
- package/dist/web/features/settings/NotificationSettings.d.mts +5 -0
- package/dist/web/features/settings/NotificationSettings.d.mts.map +1 -0
- package/dist/web/features/settings/NotificationSettings.mjs +69 -0
- package/dist/web/features/settings/NotificationSettings.mjs.map +1 -0
- package/dist/web/features/settings/PluginSettings.cjs +106 -0
- package/dist/web/features/settings/PluginSettings.cjs.map +1 -0
- package/dist/web/features/settings/PluginSettings.d.mts +10 -0
- package/dist/web/features/settings/PluginSettings.d.mts.map +1 -0
- package/dist/web/features/settings/PluginSettings.mjs +106 -0
- package/dist/web/features/settings/PluginSettings.mjs.map +1 -0
- package/dist/web/features/settings/ProviderSettings.cjs +323 -0
- package/dist/web/features/settings/ProviderSettings.cjs.map +1 -0
- package/dist/web/features/settings/ProviderSettings.d.mts +9 -0
- package/dist/web/features/settings/ProviderSettings.d.mts.map +1 -0
- package/dist/web/features/settings/ProviderSettings.mjs +323 -0
- package/dist/web/features/settings/ProviderSettings.mjs.map +1 -0
- package/dist/web/features/settings/RemoteControlSettings.cjs +50 -0
- package/dist/web/features/settings/RemoteControlSettings.cjs.map +1 -0
- package/dist/web/features/settings/RemoteControlSettings.d.mts +5 -0
- package/dist/web/features/settings/RemoteControlSettings.d.mts.map +1 -0
- package/dist/web/features/settings/RemoteControlSettings.mjs +50 -0
- package/dist/web/features/settings/RemoteControlSettings.mjs.map +1 -0
- package/dist/web/features/settings/RepositorySettings.cjs +318 -0
- package/dist/web/features/settings/RepositorySettings.cjs.map +1 -0
- package/dist/web/features/settings/RepositorySettings.d.mts +7 -0
- package/dist/web/features/settings/RepositorySettings.d.mts.map +1 -0
- package/dist/web/features/settings/RepositorySettings.mjs +318 -0
- package/dist/web/features/settings/RepositorySettings.mjs.map +1 -0
- package/dist/web/features/settings/RepositoryWorkspace.cjs +160 -0
- package/dist/web/features/settings/RepositoryWorkspace.cjs.map +1 -0
- package/dist/web/features/settings/RepositoryWorkspace.d.mts +10 -0
- package/dist/web/features/settings/RepositoryWorkspace.d.mts.map +1 -0
- package/dist/web/features/settings/RepositoryWorkspace.mjs +160 -0
- package/dist/web/features/settings/RepositoryWorkspace.mjs.map +1 -0
- package/dist/web/features/settings/SessionMcpSettings.cjs +488 -0
- package/dist/web/features/settings/SessionMcpSettings.cjs.map +1 -0
- package/dist/web/features/settings/SessionMcpSettings.d.mts +5 -0
- package/dist/web/features/settings/SessionMcpSettings.d.mts.map +1 -0
- package/dist/web/features/settings/SessionMcpSettings.mjs +488 -0
- package/dist/web/features/settings/SessionMcpSettings.mjs.map +1 -0
- package/dist/web/features/settings/SettingsMenu.cjs +135 -0
- package/dist/web/features/settings/SettingsMenu.cjs.map +1 -0
- package/dist/web/features/settings/SettingsMenu.d.mts +9 -0
- package/dist/web/features/settings/SettingsMenu.d.mts.map +1 -0
- package/dist/web/features/settings/SettingsMenu.mjs +135 -0
- package/dist/web/features/settings/SettingsMenu.mjs.map +1 -0
- package/dist/web/features/settings/SettingsPanelHost.cjs +32 -0
- package/dist/web/features/settings/SettingsPanelHost.cjs.map +1 -0
- package/dist/web/features/settings/SettingsPanelHost.d.mts +8 -0
- package/dist/web/features/settings/SettingsPanelHost.d.mts.map +1 -0
- package/dist/web/features/settings/SettingsPanelHost.mjs +32 -0
- package/dist/web/features/settings/SettingsPanelHost.mjs.map +1 -0
- package/dist/web/features/settings/TemplateSettings.cjs +177 -0
- package/dist/web/features/settings/TemplateSettings.cjs.map +1 -0
- package/dist/web/features/settings/TemplateSettings.d.mts +8 -0
- package/dist/web/features/settings/TemplateSettings.d.mts.map +1 -0
- package/dist/web/features/settings/TemplateSettings.mjs +177 -0
- package/dist/web/features/settings/TemplateSettings.mjs.map +1 -0
- package/dist/web/features/settings/TunnelSettings.cjs +182 -0
- package/dist/web/features/settings/TunnelSettings.cjs.map +1 -0
- package/dist/web/features/settings/TunnelSettings.d.mts +8 -0
- package/dist/web/features/settings/TunnelSettings.d.mts.map +1 -0
- package/dist/web/features/settings/TunnelSettings.mjs +182 -0
- package/dist/web/features/settings/TunnelSettings.mjs.map +1 -0
- package/dist/web/features/settings/settings.fixture.cjs +230 -0
- package/dist/web/features/settings/settings.fixture.cjs.map +1 -0
- package/dist/web/features/settings/settings.fixture.d.mts +6 -0
- package/dist/web/features/settings/settings.fixture.d.mts.map +1 -0
- package/dist/web/features/settings/settings.fixture.mjs +223 -0
- package/dist/web/features/settings/settings.fixture.mjs.map +1 -0
- package/dist/web/features/status/TopBar.cjs +200 -0
- package/dist/web/features/status/TopBar.cjs.map +1 -0
- package/dist/web/features/status/TopBar.d.mts +11 -0
- package/dist/web/features/status/TopBar.d.mts.map +1 -0
- package/dist/web/features/status/TopBar.mjs +200 -0
- package/dist/web/features/status/TopBar.mjs.map +1 -0
- package/dist/web/lib/authApi.cjs +77 -0
- package/dist/web/lib/authApi.cjs.map +1 -0
- package/dist/web/lib/authApi.d.mts +28 -0
- package/dist/web/lib/authApi.d.mts.map +1 -0
- package/dist/web/lib/authApi.mjs +72 -0
- package/dist/web/lib/authApi.mjs.map +1 -0
- package/dist/web/lib/browserNotifications.cjs +37 -0
- package/dist/web/lib/browserNotifications.cjs.map +1 -0
- package/dist/web/lib/browserNotifications.d.mts +12 -0
- package/dist/web/lib/browserNotifications.d.mts.map +1 -0
- package/dist/web/lib/browserNotifications.mjs +35 -0
- package/dist/web/lib/browserNotifications.mjs.map +1 -0
- package/dist/web/lib/browserTelemetry.cjs +158 -0
- package/dist/web/lib/browserTelemetry.cjs.map +1 -0
- package/dist/web/lib/browserTelemetry.d.mts +28 -0
- package/dist/web/lib/browserTelemetry.d.mts.map +1 -0
- package/dist/web/lib/browserTelemetry.mjs +154 -0
- package/dist/web/lib/browserTelemetry.mjs.map +1 -0
- package/dist/web/lib/commands.cjs +176 -0
- package/dist/web/lib/commands.cjs.map +1 -0
- package/dist/web/lib/commands.d.mts +53 -0
- package/dist/web/lib/commands.d.mts.map +1 -0
- package/dist/web/lib/commands.mjs +153 -0
- package/dist/web/lib/commands.mjs.map +1 -0
- package/dist/web/lib/composerSubmissions.cjs +20 -0
- package/dist/web/lib/composerSubmissions.cjs.map +1 -0
- package/dist/web/lib/composerSubmissions.d.mts +7 -0
- package/dist/web/lib/composerSubmissions.d.mts.map +1 -0
- package/dist/web/lib/composerSubmissions.mjs +19 -0
- package/dist/web/lib/composerSubmissions.mjs.map +1 -0
- package/dist/web/lib/composition.cjs +403 -0
- package/dist/web/lib/composition.cjs.map +1 -0
- package/dist/web/lib/composition.d.mts +137 -0
- package/dist/web/lib/composition.d.mts.map +1 -0
- package/dist/web/lib/composition.mjs +392 -0
- package/dist/web/lib/composition.mjs.map +1 -0
- package/dist/web/lib/contextComposition.cjs +132 -0
- package/dist/web/lib/contextComposition.cjs.map +1 -0
- package/dist/web/lib/contextComposition.d.mts +75 -0
- package/dist/web/lib/contextComposition.d.mts.map +1 -0
- package/dist/web/lib/contextComposition.mjs +127 -0
- package/dist/web/lib/contextComposition.mjs.map +1 -0
- package/dist/web/lib/contextDetailApi.cjs +61 -0
- package/dist/web/lib/contextDetailApi.cjs.map +1 -0
- package/dist/web/lib/contextDetailApi.d.mts +12 -0
- package/dist/web/lib/contextDetailApi.d.mts.map +1 -0
- package/dist/web/lib/contextDetailApi.mjs +61 -0
- package/dist/web/lib/contextDetailApi.mjs.map +1 -0
- package/dist/web/lib/dashboardRenderers.cjs +9 -0
- package/dist/web/lib/dashboardRenderers.cjs.map +1 -0
- package/dist/web/lib/dashboardRenderers.d.mts +12 -0
- package/dist/web/lib/dashboardRenderers.d.mts.map +1 -0
- package/dist/web/lib/dashboardRenderers.mjs +9 -0
- package/dist/web/lib/dashboardRenderers.mjs.map +1 -0
- package/dist/web/lib/dashboardRoute.cjs +27 -0
- package/dist/web/lib/dashboardRoute.cjs.map +1 -0
- package/dist/web/lib/dashboardRoute.d.mts +29 -0
- package/dist/web/lib/dashboardRoute.d.mts.map +1 -0
- package/dist/web/lib/dashboardRoute.mjs +26 -0
- package/dist/web/lib/dashboardRoute.mjs.map +1 -0
- package/dist/web/lib/dashboardTranscript.cjs +15 -0
- package/dist/web/lib/dashboardTranscript.cjs.map +1 -0
- package/dist/web/lib/dashboardTranscript.d.mts +6 -0
- package/dist/web/lib/dashboardTranscript.d.mts.map +1 -0
- package/dist/web/lib/dashboardTranscript.mjs +14 -0
- package/dist/web/lib/dashboardTranscript.mjs.map +1 -0
- package/dist/web/lib/devProxyApi.cjs +74 -0
- package/dist/web/lib/devProxyApi.cjs.map +1 -0
- package/dist/web/lib/devProxyApi.d.mts +21 -0
- package/dist/web/lib/devProxyApi.d.mts.map +1 -0
- package/dist/web/lib/devProxyApi.mjs +72 -0
- package/dist/web/lib/devProxyApi.mjs.map +1 -0
- package/dist/web/lib/fileMentions.cjs +30 -0
- package/dist/web/lib/fileMentions.cjs.map +1 -0
- package/dist/web/lib/fileMentions.d.mts +13 -0
- package/dist/web/lib/fileMentions.d.mts.map +1 -0
- package/dist/web/lib/fileMentions.mjs +29 -0
- package/dist/web/lib/fileMentions.mjs.map +1 -0
- package/dist/web/lib/hubApi.cjs +283 -0
- package/dist/web/lib/hubApi.cjs.map +1 -0
- package/dist/web/lib/hubApi.d.mts +109 -0
- package/dist/web/lib/hubApi.d.mts.map +1 -0
- package/dist/web/lib/hubApi.mjs +268 -0
- package/dist/web/lib/hubApi.mjs.map +1 -0
- package/dist/web/lib/leaderTree.cjs +150 -0
- package/dist/web/lib/leaderTree.cjs.map +1 -0
- package/dist/web/lib/leaderTree.d.mts +41 -0
- package/dist/web/lib/leaderTree.d.mts.map +1 -0
- package/dist/web/lib/leaderTree.mjs +149 -0
- package/dist/web/lib/leaderTree.mjs.map +1 -0
- package/dist/web/lib/livePush.cjs +97 -0
- package/dist/web/lib/livePush.cjs.map +1 -0
- package/dist/web/lib/livePush.d.mts +10 -0
- package/dist/web/lib/livePush.d.mts.map +1 -0
- package/dist/web/lib/livePush.mjs +94 -0
- package/dist/web/lib/livePush.mjs.map +1 -0
- package/dist/web/lib/modelContextAdapter.cjs +63 -0
- package/dist/web/lib/modelContextAdapter.cjs.map +1 -0
- package/dist/web/lib/modelContextAdapter.d.mts +11 -0
- package/dist/web/lib/modelContextAdapter.d.mts.map +1 -0
- package/dist/web/lib/modelContextAdapter.mjs +62 -0
- package/dist/web/lib/modelContextAdapter.mjs.map +1 -0
- package/dist/web/lib/piTransport.cjs +103 -0
- package/dist/web/lib/piTransport.cjs.map +1 -0
- package/dist/web/lib/piTransport.d.mts +8 -0
- package/dist/web/lib/piTransport.d.mts.map +1 -0
- package/dist/web/lib/piTransport.mjs +102 -0
- package/dist/web/lib/piTransport.mjs.map +1 -0
- package/dist/web/lib/pluginCompositions.cjs +57 -0
- package/dist/web/lib/pluginCompositions.cjs.map +1 -0
- package/dist/web/lib/pluginCompositions.d.mts +37 -0
- package/dist/web/lib/pluginCompositions.d.mts.map +1 -0
- package/dist/web/lib/pluginCompositions.mjs +52 -0
- package/dist/web/lib/pluginCompositions.mjs.map +1 -0
- package/dist/web/lib/pluginRegistry.cjs +675 -0
- package/dist/web/lib/pluginRegistry.cjs.map +1 -0
- package/dist/web/lib/pluginRegistry.d.mts +155 -0
- package/dist/web/lib/pluginRegistry.d.mts.map +1 -0
- package/dist/web/lib/pluginRegistry.mjs +633 -0
- package/dist/web/lib/pluginRegistry.mjs.map +1 -0
- package/dist/web/lib/pluginScopes.cjs +48 -0
- package/dist/web/lib/pluginScopes.cjs.map +1 -0
- package/dist/web/lib/pluginScopes.d.mts +8 -0
- package/dist/web/lib/pluginScopes.d.mts.map +1 -0
- package/dist/web/lib/pluginScopes.mjs +47 -0
- package/dist/web/lib/pluginScopes.mjs.map +1 -0
- package/dist/web/lib/pluginSlotProps.cjs +83 -0
- package/dist/web/lib/pluginSlotProps.cjs.map +1 -0
- package/dist/web/lib/pluginSlotProps.d.mts +21 -0
- package/dist/web/lib/pluginSlotProps.d.mts.map +1 -0
- package/dist/web/lib/pluginSlotProps.mjs +82 -0
- package/dist/web/lib/pluginSlotProps.mjs.map +1 -0
- package/dist/web/lib/promptFocus.cjs +30 -0
- package/dist/web/lib/promptFocus.cjs.map +1 -0
- package/dist/web/lib/promptFocus.d.mts +7 -0
- package/dist/web/lib/promptFocus.d.mts.map +1 -0
- package/dist/web/lib/promptFocus.mjs +29 -0
- package/dist/web/lib/promptFocus.mjs.map +1 -0
- package/dist/web/lib/protocolHubSocket.cjs +107 -0
- package/dist/web/lib/protocolHubSocket.cjs.map +1 -0
- package/dist/web/lib/protocolHubSocket.d.mts +18 -0
- package/dist/web/lib/protocolHubSocket.d.mts.map +1 -0
- package/dist/web/lib/protocolHubSocket.mjs +107 -0
- package/dist/web/lib/protocolHubSocket.mjs.map +1 -0
- package/dist/web/lib/protocolTimeline.cjs +86 -0
- package/dist/web/lib/protocolTimeline.cjs.map +1 -0
- package/dist/web/lib/protocolTimeline.d.mts +9 -0
- package/dist/web/lib/protocolTimeline.d.mts.map +1 -0
- package/dist/web/lib/protocolTimeline.mjs +85 -0
- package/dist/web/lib/protocolTimeline.mjs.map +1 -0
- package/dist/web/lib/qrMatrix.cjs +37 -0
- package/dist/web/lib/qrMatrix.cjs.map +1 -0
- package/dist/web/lib/qrMatrix.d.mts +5 -0
- package/dist/web/lib/qrMatrix.d.mts.map +1 -0
- package/dist/web/lib/qrMatrix.mjs +35 -0
- package/dist/web/lib/qrMatrix.mjs.map +1 -0
- package/dist/web/lib/remoteApi.cjs +100 -0
- package/dist/web/lib/remoteApi.cjs.map +1 -0
- package/dist/web/lib/remoteApi.d.mts +45 -0
- package/dist/web/lib/remoteApi.d.mts.map +1 -0
- package/dist/web/lib/remoteApi.mjs +92 -0
- package/dist/web/lib/remoteApi.mjs.map +1 -0
- package/dist/web/lib/sealedSession.cjs +81 -0
- package/dist/web/lib/sealedSession.cjs.map +1 -0
- package/dist/web/lib/sealedSession.d.mts +24 -0
- package/dist/web/lib/sealedSession.d.mts.map +1 -0
- package/dist/web/lib/sealedSession.mjs +75 -0
- package/dist/web/lib/sealedSession.mjs.map +1 -0
- package/dist/web/lib/sessionActivityRenderer.cjs +19 -0
- package/dist/web/lib/sessionActivityRenderer.cjs.map +1 -0
- package/dist/web/lib/sessionActivityRenderer.d.mts +10 -0
- package/dist/web/lib/sessionActivityRenderer.d.mts.map +1 -0
- package/dist/web/lib/sessionActivityRenderer.mjs +17 -0
- package/dist/web/lib/sessionActivityRenderer.mjs.map +1 -0
- package/dist/web/lib/sessionAsset.cjs +45 -0
- package/dist/web/lib/sessionAsset.cjs.map +1 -0
- package/dist/web/lib/sessionAsset.d.mts +17 -0
- package/dist/web/lib/sessionAsset.d.mts.map +1 -0
- package/dist/web/lib/sessionAsset.mjs +44 -0
- package/dist/web/lib/sessionAsset.mjs.map +1 -0
- package/dist/web/lib/sessionAvatar.cjs +18 -0
- package/dist/web/lib/sessionAvatar.cjs.map +1 -0
- package/dist/web/lib/sessionAvatar.d.mts +10 -0
- package/dist/web/lib/sessionAvatar.d.mts.map +1 -0
- package/dist/web/lib/sessionAvatar.mjs +18 -0
- package/dist/web/lib/sessionAvatar.mjs.map +1 -0
- package/dist/web/lib/sessionMcpApi.cjs +120 -0
- package/dist/web/lib/sessionMcpApi.cjs.map +1 -0
- package/dist/web/lib/sessionMcpApi.d.mts +27 -0
- package/dist/web/lib/sessionMcpApi.d.mts.map +1 -0
- package/dist/web/lib/sessionMcpApi.mjs +114 -0
- package/dist/web/lib/sessionMcpApi.mjs.map +1 -0
- package/dist/web/lib/sessionMcpPrompt.cjs +24 -0
- package/dist/web/lib/sessionMcpPrompt.cjs.map +1 -0
- package/dist/web/lib/sessionMcpPrompt.mjs +23 -0
- package/dist/web/lib/sessionMcpPrompt.mjs.map +1 -0
- package/dist/web/lib/sessionModel.cjs +970 -0
- package/dist/web/lib/sessionModel.cjs.map +1 -0
- package/dist/web/lib/sessionModel.d.mts +254 -0
- package/dist/web/lib/sessionModel.d.mts.map +1 -0
- package/dist/web/lib/sessionModel.mjs +958 -0
- package/dist/web/lib/sessionModel.mjs.map +1 -0
- package/dist/web/lib/sessionProtocolCommands.cjs +196 -0
- package/dist/web/lib/sessionProtocolCommands.cjs.map +1 -0
- package/dist/web/lib/sessionProtocolCommands.d.mts +15 -0
- package/dist/web/lib/sessionProtocolCommands.d.mts.map +1 -0
- package/dist/web/lib/sessionProtocolCommands.mjs +193 -0
- package/dist/web/lib/sessionProtocolCommands.mjs.map +1 -0
- package/dist/web/lib/sessionRailModel.cjs +107 -0
- package/dist/web/lib/sessionRailModel.cjs.map +1 -0
- package/dist/web/lib/sessionRailModel.d.mts +38 -0
- package/dist/web/lib/sessionRailModel.d.mts.map +1 -0
- package/dist/web/lib/sessionRailModel.mjs +104 -0
- package/dist/web/lib/sessionRailModel.mjs.map +1 -0
- package/dist/web/lib/sessionSummary.cjs +58 -0
- package/dist/web/lib/sessionSummary.cjs.map +1 -0
- package/dist/web/lib/sessionSummary.d.mts +39 -0
- package/dist/web/lib/sessionSummary.d.mts.map +1 -0
- package/dist/web/lib/sessionSummary.mjs +54 -0
- package/dist/web/lib/sessionSummary.mjs.map +1 -0
- package/dist/web/lib/sessionTranscriptRenderer.cjs +19 -0
- package/dist/web/lib/sessionTranscriptRenderer.cjs.map +1 -0
- package/dist/web/lib/sessionTranscriptRenderer.d.mts +11 -0
- package/dist/web/lib/sessionTranscriptRenderer.d.mts.map +1 -0
- package/dist/web/lib/sessionTranscriptRenderer.mjs +17 -0
- package/dist/web/lib/sessionTranscriptRenderer.mjs.map +1 -0
- package/dist/web/lib/settingsApi.cjs +237 -0
- package/dist/web/lib/settingsApi.cjs.map +1 -0
- package/dist/web/lib/settingsApi.d.mts +57 -0
- package/dist/web/lib/settingsApi.d.mts.map +1 -0
- package/dist/web/lib/settingsApi.mjs +230 -0
- package/dist/web/lib/settingsApi.mjs.map +1 -0
- package/dist/web/lib/settingsDraft.cjs +48 -0
- package/dist/web/lib/settingsDraft.cjs.map +1 -0
- package/dist/web/lib/settingsDraft.d.mts +28 -0
- package/dist/web/lib/settingsDraft.d.mts.map +1 -0
- package/dist/web/lib/settingsDraft.mjs +45 -0
- package/dist/web/lib/settingsDraft.mjs.map +1 -0
- package/dist/web/lib/settingsSections.cjs +108 -0
- package/dist/web/lib/settingsSections.cjs.map +1 -0
- package/dist/web/lib/settingsSections.d.mts +36 -0
- package/dist/web/lib/settingsSections.d.mts.map +1 -0
- package/dist/web/lib/settingsSections.mjs +105 -0
- package/dist/web/lib/settingsSections.mjs.map +1 -0
- package/dist/web/lib/statusLine.cjs +82 -0
- package/dist/web/lib/statusLine.cjs.map +1 -0
- package/dist/web/lib/statusLine.d.mts +27 -0
- package/dist/web/lib/statusLine.d.mts.map +1 -0
- package/dist/web/lib/statusLine.mjs +79 -0
- package/dist/web/lib/statusLine.mjs.map +1 -0
- package/dist/web/lib/stepUp.cjs +41 -0
- package/dist/web/lib/stepUp.cjs.map +1 -0
- package/dist/web/lib/stepUp.d.mts +18 -0
- package/dist/web/lib/stepUp.d.mts.map +1 -0
- package/dist/web/lib/stepUp.mjs +41 -0
- package/dist/web/lib/stepUp.mjs.map +1 -0
- package/dist/web/lib/templateCatalog.cjs +123 -0
- package/dist/web/lib/templateCatalog.cjs.map +1 -0
- package/dist/web/lib/templateCatalog.d.mts +38 -0
- package/dist/web/lib/templateCatalog.d.mts.map +1 -0
- package/dist/web/lib/templateCatalog.mjs +118 -0
- package/dist/web/lib/templateCatalog.mjs.map +1 -0
- package/dist/web/lib/threadRenderer.cjs +25 -0
- package/dist/web/lib/threadRenderer.cjs.map +1 -0
- package/dist/web/lib/threadRenderer.d.mts +17 -0
- package/dist/web/lib/threadRenderer.d.mts.map +1 -0
- package/dist/web/lib/threadRenderer.mjs +23 -0
- package/dist/web/lib/threadRenderer.mjs.map +1 -0
- package/dist/web/lib/timelineGroups.cjs +83 -0
- package/dist/web/lib/timelineGroups.cjs.map +1 -0
- package/dist/web/lib/timelineGroups.d.mts +36 -0
- package/dist/web/lib/timelineGroups.d.mts.map +1 -0
- package/dist/web/lib/timelineGroups.mjs +81 -0
- package/dist/web/lib/timelineGroups.mjs.map +1 -0
- package/dist/web/lib/toolCompletionTabs.cjs +98 -0
- package/dist/web/lib/toolCompletionTabs.cjs.map +1 -0
- package/dist/web/lib/toolCompletionTabs.d.mts +14 -0
- package/dist/web/lib/toolCompletionTabs.d.mts.map +1 -0
- package/dist/web/lib/toolCompletionTabs.mjs +98 -0
- package/dist/web/lib/toolCompletionTabs.mjs.map +1 -0
- package/dist/web/lib/toolMessageProps.cjs +19 -0
- package/dist/web/lib/toolMessageProps.cjs.map +1 -0
- package/dist/web/lib/toolMessageProps.d.mts +7 -0
- package/dist/web/lib/toolMessageProps.d.mts.map +1 -0
- package/dist/web/lib/toolMessageProps.mjs +19 -0
- package/dist/web/lib/toolMessageProps.mjs.map +1 -0
- package/dist/web/lib/toolPrompt.cjs +44 -0
- package/dist/web/lib/toolPrompt.cjs.map +1 -0
- package/dist/web/lib/toolPrompt.d.mts +34 -0
- package/dist/web/lib/toolPrompt.d.mts.map +1 -0
- package/dist/web/lib/toolPrompt.mjs +44 -0
- package/dist/web/lib/toolPrompt.mjs.map +1 -0
- package/dist/web/lib/transport.cjs +57 -0
- package/dist/web/lib/transport.cjs.map +1 -0
- package/dist/web/lib/transport.d.mts +40 -0
- package/dist/web/lib/transport.d.mts.map +1 -0
- package/dist/web/lib/transport.mjs +50 -0
- package/dist/web/lib/transport.mjs.map +1 -0
- package/dist/web/lib/useSessionMcp.cjs +65 -0
- package/dist/web/lib/useSessionMcp.cjs.map +1 -0
- package/dist/web/lib/useSessionMcp.d.mts +15 -0
- package/dist/web/lib/useSessionMcp.d.mts.map +1 -0
- package/dist/web/lib/useSessionMcp.mjs +65 -0
- package/dist/web/lib/useSessionMcp.mjs.map +1 -0
- package/dist/web/lib/webauthnClient.cjs +110 -0
- package/dist/web/lib/webauthnClient.cjs.map +1 -0
- package/dist/web/lib/webauthnClient.d.mts +32 -0
- package/dist/web/lib/webauthnClient.d.mts.map +1 -0
- package/dist/web/lib/webauthnClient.mjs +106 -0
- package/dist/web/lib/webauthnClient.mjs.map +1 -0
- package/dist/web/lib/webmcpSimulator.cjs +105 -0
- package/dist/web/lib/webmcpSimulator.cjs.map +1 -0
- package/dist/web/lib/webmcpSimulator.mjs +105 -0
- package/dist/web/lib/webmcpSimulator.mjs.map +1 -0
- package/dist/web/stores/captureStore.cjs +137 -0
- package/dist/web/stores/captureStore.cjs.map +1 -0
- package/dist/web/stores/captureStore.d.mts +13 -0
- package/dist/web/stores/captureStore.d.mts.map +1 -0
- package/dist/web/stores/captureStore.mjs +133 -0
- package/dist/web/stores/captureStore.mjs.map +1 -0
- package/dist/web/stores/composerStore.cjs +390 -0
- package/dist/web/stores/composerStore.cjs.map +1 -0
- package/dist/web/stores/composerStore.d.mts +101 -0
- package/dist/web/stores/composerStore.d.mts.map +1 -0
- package/dist/web/stores/composerStore.mjs +370 -0
- package/dist/web/stores/composerStore.mjs.map +1 -0
- package/dist/web/stores/composerSubmissionStore.cjs +88 -0
- package/dist/web/stores/composerSubmissionStore.cjs.map +1 -0
- package/dist/web/stores/composerSubmissionStore.d.mts +11 -0
- package/dist/web/stores/composerSubmissionStore.d.mts.map +1 -0
- package/dist/web/stores/composerSubmissionStore.mjs +87 -0
- package/dist/web/stores/composerSubmissionStore.mjs.map +1 -0
- package/dist/web/stores/dashboardStateStore.cjs +35 -0
- package/dist/web/stores/dashboardStateStore.cjs.map +1 -0
- package/dist/web/stores/dashboardStateStore.d.mts +11 -0
- package/dist/web/stores/dashboardStateStore.d.mts.map +1 -0
- package/dist/web/stores/dashboardStateStore.mjs +33 -0
- package/dist/web/stores/dashboardStateStore.mjs.map +1 -0
- package/dist/web/stores/devProxyStore.cjs +76 -0
- package/dist/web/stores/devProxyStore.cjs.map +1 -0
- package/dist/web/stores/devProxyStore.d.mts +25 -0
- package/dist/web/stores/devProxyStore.d.mts.map +1 -0
- package/dist/web/stores/devProxyStore.mjs +73 -0
- package/dist/web/stores/devProxyStore.mjs.map +1 -0
- package/dist/web/stores/dialogDraftStore.cjs +38 -0
- package/dist/web/stores/dialogDraftStore.cjs.map +1 -0
- package/dist/web/stores/dialogDraftStore.d.mts +13 -0
- package/dist/web/stores/dialogDraftStore.d.mts.map +1 -0
- package/dist/web/stores/dialogDraftStore.mjs +36 -0
- package/dist/web/stores/dialogDraftStore.mjs.map +1 -0
- package/dist/web/stores/fileLinkModesStore.cjs +20 -0
- package/dist/web/stores/fileLinkModesStore.cjs.map +1 -0
- package/dist/web/stores/fileLinkModesStore.d.mts +5 -0
- package/dist/web/stores/fileLinkModesStore.d.mts.map +1 -0
- package/dist/web/stores/fileLinkModesStore.mjs +20 -0
- package/dist/web/stores/fileLinkModesStore.mjs.map +1 -0
- package/dist/web/stores/menuStore.cjs +85 -0
- package/dist/web/stores/menuStore.cjs.map +1 -0
- package/dist/web/stores/menuStore.d.mts +42 -0
- package/dist/web/stores/menuStore.d.mts.map +1 -0
- package/dist/web/stores/menuStore.mjs +79 -0
- package/dist/web/stores/menuStore.mjs.map +1 -0
- package/dist/web/stores/newSessionStore.cjs +93 -0
- package/dist/web/stores/newSessionStore.cjs.map +1 -0
- package/dist/web/stores/newSessionStore.d.mts +30 -0
- package/dist/web/stores/newSessionStore.d.mts.map +1 -0
- package/dist/web/stores/newSessionStore.mjs +86 -0
- package/dist/web/stores/newSessionStore.mjs.map +1 -0
- package/dist/web/stores/pagedTranscriptStore.cjs +235 -0
- package/dist/web/stores/pagedTranscriptStore.cjs.map +1 -0
- package/dist/web/stores/pagedTranscriptStore.d.mts +12 -0
- package/dist/web/stores/pagedTranscriptStore.d.mts.map +1 -0
- package/dist/web/stores/pagedTranscriptStore.mjs +235 -0
- package/dist/web/stores/pagedTranscriptStore.mjs.map +1 -0
- package/dist/web/stores/paletteStore.cjs +37 -0
- package/dist/web/stores/paletteStore.cjs.map +1 -0
- package/dist/web/stores/paletteStore.d.mts +14 -0
- package/dist/web/stores/paletteStore.d.mts.map +1 -0
- package/dist/web/stores/paletteStore.mjs +34 -0
- package/dist/web/stores/paletteStore.mjs.map +1 -0
- package/dist/web/stores/railDialogStore.cjs +105 -0
- package/dist/web/stores/railDialogStore.cjs.map +1 -0
- package/dist/web/stores/railDialogStore.d.mts +32 -0
- package/dist/web/stores/railDialogStore.d.mts.map +1 -0
- package/dist/web/stores/railDialogStore.mjs +97 -0
- package/dist/web/stores/railDialogStore.mjs.map +1 -0
- package/dist/web/stores/remoteAccessStore.cjs +216 -0
- package/dist/web/stores/remoteAccessStore.cjs.map +1 -0
- package/dist/web/stores/remoteAccessStore.d.mts +48 -0
- package/dist/web/stores/remoteAccessStore.d.mts.map +1 -0
- package/dist/web/stores/remoteAccessStore.mjs +202 -0
- package/dist/web/stores/remoteAccessStore.mjs.map +1 -0
- package/dist/web/stores/sessionChannelHoldsStore.cjs +43 -0
- package/dist/web/stores/sessionChannelHoldsStore.cjs.map +1 -0
- package/dist/web/stores/sessionChannelHoldsStore.d.mts +9 -0
- package/dist/web/stores/sessionChannelHoldsStore.d.mts.map +1 -0
- package/dist/web/stores/sessionChannelHoldsStore.mjs +42 -0
- package/dist/web/stores/sessionChannelHoldsStore.mjs.map +1 -0
- package/dist/web/stores/sessionStore.cjs +610 -0
- package/dist/web/stores/sessionStore.cjs.map +1 -0
- package/dist/web/stores/sessionStore.d.mts +116 -0
- package/dist/web/stores/sessionStore.d.mts.map +1 -0
- package/dist/web/stores/sessionStore.mjs +568 -0
- package/dist/web/stores/sessionStore.mjs.map +1 -0
- package/dist/web/stores/sessionsStore.cjs +272 -0
- package/dist/web/stores/sessionsStore.cjs.map +1 -0
- package/dist/web/stores/sessionsStore.d.mts +74 -0
- package/dist/web/stores/sessionsStore.d.mts.map +1 -0
- package/dist/web/stores/sessionsStore.mjs +257 -0
- package/dist/web/stores/sessionsStore.mjs.map +1 -0
- package/dist/web/stores/settingsDraftStore.cjs +138 -0
- package/dist/web/stores/settingsDraftStore.cjs.map +1 -0
- package/dist/web/stores/settingsDraftStore.d.mts +27 -0
- package/dist/web/stores/settingsDraftStore.d.mts.map +1 -0
- package/dist/web/stores/settingsDraftStore.mjs +132 -0
- package/dist/web/stores/settingsDraftStore.mjs.map +1 -0
- package/dist/web/stores/templateStore.cjs +136 -0
- package/dist/web/stores/templateStore.cjs.map +1 -0
- package/dist/web/stores/templateStore.d.mts +20 -0
- package/dist/web/stores/templateStore.d.mts.map +1 -0
- package/dist/web/stores/templateStore.mjs +131 -0
- package/dist/web/stores/templateStore.mjs.map +1 -0
- package/dist/web/stores/themeStore.cjs +42 -0
- package/dist/web/stores/themeStore.cjs.map +1 -0
- package/dist/web/stores/themeStore.d.mts +20 -0
- package/dist/web/stores/themeStore.d.mts.map +1 -0
- package/dist/web/stores/themeStore.mjs +39 -0
- package/dist/web/stores/themeStore.mjs.map +1 -0
- package/dist/web/stores/threadStore.cjs +122 -0
- package/dist/web/stores/threadStore.cjs.map +1 -0
- package/dist/web/stores/threadStore.d.mts +24 -0
- package/dist/web/stores/threadStore.d.mts.map +1 -0
- package/dist/web/stores/threadStore.mjs +114 -0
- package/dist/web/stores/threadStore.mjs.map +1 -0
- package/dist/web/stores/toolPromptStore.cjs +15 -0
- package/dist/web/stores/toolPromptStore.cjs.map +1 -0
- package/dist/web/stores/toolPromptStore.d.mts +23 -0
- package/dist/web/stores/toolPromptStore.d.mts.map +1 -0
- package/dist/web/stores/toolPromptStore.mjs +14 -0
- package/dist/web/stores/toolPromptStore.mjs.map +1 -0
- package/dist/web/stores/transientTabsStore.cjs +66 -0
- package/dist/web/stores/transientTabsStore.cjs.map +1 -0
- package/dist/web/stores/transientTabsStore.d.mts +21 -0
- package/dist/web/stores/transientTabsStore.d.mts.map +1 -0
- package/dist/web/stores/transientTabsStore.mjs +59 -0
- package/dist/web/stores/transientTabsStore.mjs.map +1 -0
- package/dist/web/stores/uiStore.cjs +47 -0
- package/dist/web/stores/uiStore.cjs.map +1 -0
- package/dist/web/stores/uiStore.d.mts +18 -0
- package/dist/web/stores/uiStore.d.mts.map +1 -0
- package/dist/web/stores/uiStore.mjs +45 -0
- package/dist/web/stores/uiStore.mjs.map +1 -0
- package/dist/web/stores/useOpenTab.cjs +31 -0
- package/dist/web/stores/useOpenTab.cjs.map +1 -0
- package/dist/web/stores/useOpenTab.d.mts +9 -0
- package/dist/web/stores/useOpenTab.d.mts.map +1 -0
- package/dist/web/stores/useOpenTab.mjs +31 -0
- package/dist/web/stores/useOpenTab.mjs.map +1 -0
- package/dist/web/stores/usePluginSlotProps.cjs +115 -0
- package/dist/web/stores/usePluginSlotProps.cjs.map +1 -0
- package/dist/web/stores/usePluginSlotProps.d.mts +6 -0
- package/dist/web/stores/usePluginSlotProps.d.mts.map +1 -0
- package/dist/web/stores/usePluginSlotProps.mjs +115 -0
- package/dist/web/stores/usePluginSlotProps.mjs.map +1 -0
- package/dist/web/stores/useToolPrompt.cjs +42 -0
- package/dist/web/stores/useToolPrompt.cjs.map +1 -0
- package/dist/web/stores/useToolPrompt.d.mts +14 -0
- package/dist/web/stores/useToolPrompt.d.mts.map +1 -0
- package/dist/web/stores/useToolPrompt.mjs +42 -0
- package/dist/web/stores/useToolPrompt.mjs.map +1 -0
- package/dist/web/stores/useWebPluginRegistry.cjs +11 -0
- package/dist/web/stores/useWebPluginRegistry.cjs.map +1 -0
- package/dist/web/stores/useWebPluginRegistry.d.mts +5 -0
- package/dist/web/stores/useWebPluginRegistry.d.mts.map +1 -0
- package/dist/web/stores/useWebPluginRegistry.mjs +11 -0
- package/dist/web/stores/useWebPluginRegistry.mjs.map +1 -0
- package/dist/web/stores/workspaceAdmissionStore.cjs +67 -0
- package/dist/web/stores/workspaceAdmissionStore.cjs.map +1 -0
- package/dist/web/stores/workspaceAdmissionStore.d.mts +24 -0
- package/dist/web/stores/workspaceAdmissionStore.d.mts.map +1 -0
- package/dist/web/stores/workspaceAdmissionStore.mjs +64 -0
- package/dist/web/stores/workspaceAdmissionStore.mjs.map +1 -0
- package/dist/web/stores/workspacesStore.cjs +83 -0
- package/dist/web/stores/workspacesStore.cjs.map +1 -0
- package/dist/web/stores/workspacesStore.d.mts +17 -0
- package/dist/web/stores/workspacesStore.d.mts.map +1 -0
- package/dist/web/stores/workspacesStore.mjs +78 -0
- package/dist/web/stores/workspacesStore.mjs.map +1 -0
- package/llms.txt +3 -0
- package/package.json +107 -0
- package/styles/dashboard.css +2 -0
- package/styles/preview.css +3 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { AgentInfo, AssistantEntry, CommandInfo, DialogMethod, DialogRequest, EditorTextRequest, EntryKind, ModelChoice, NoticeEntry, ProfileIdentity, QueuedEntry, ReduceSessionOptions, SessionState, SessionStats, SettledEntry, TimelineEntry, ToolEntry, UserEntry, UserImage, appendQueued, appendUserPrompt, clearDialog, clearQueuedEntries, imagesFromContent, initialSessionState, isSupportedImageMimeType, prependHistory, reduceSession, removeQueuedEntry, replaceQueuedEntries, summariseArgs, textFromContent } from "./web/lib/sessionModel.mjs";
|
|
2
|
+
import { BUILTIN_COMMANDS, RpcImage, abortCommand, builtinCommandFrame, clearQueueCommand, compactCommand, dialogCancelled, dialogConfirmed, dialogValue, enqueueAutomaticCommand, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, promoteQueuedCommand, promptCommand, removeQueuedCommand, resumeQueueCommand, rewindCommand, setModelCommand, setSessionNameCommand, setThinkingLevelCommand, steerCommand } from "./web/lib/commands.mjs";
|
|
3
|
+
import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
|
|
4
|
+
import { bindTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame } from "./web/lib/transport.mjs";
|
|
5
|
+
import { SessionSocket, SessionSocketHandlers, createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
|
|
6
|
+
import { InstalledNativeTemplate, InstalledWebTemplate, NativeTemplateCatalog, WebTemplateCatalog, WebTemplateDiagnostic, bindBundledNativeTemplates, bindBundledWebTemplates, collectNativeTemplates, collectWebTemplates, resolveNativeTemplate, resolveWebTemplate } from "./web/lib/templateCatalog.mjs";
|
|
7
|
+
import { HOST_SLOTS, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, ResolvedFill, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, bindSessionWebWorkspace, dispatchChannelFrame, dropPluginSessionData, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, nativeTemplateCatalog, paletteCommands, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
8
|
+
import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
9
|
+
import { ToolPromptClaim, ToolPromptInput, toolPromptClaim } from "./web/lib/toolPrompt.mjs";
|
|
10
|
+
import { AttachPhase, StatusLineInput, abbreviateCwd, formatRunDuration, personaInitials, runningCount, sessionStatusLine } from "./web/lib/sessionSummary.mjs";
|
|
11
|
+
import { LEGACY_WORKSPACE_ID, RailRestartState, RailSessionInput, SessionRailModelInput, buildRailWorkspaces, pendingSetupView, workspaceName } from "./web/lib/sessionRailModel.mjs";
|
|
12
|
+
import { SessionMeta, SessionsState, activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, noSessions, resetSessions, resolveParentId, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, waitForSession } from "./web/stores/sessionsStore.mjs";
|
|
13
|
+
import { HistoryPage, abortRun, answerDialogConfirm, answerDialogValue, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionFrame, applySessionLifecycle, applyThreadFrame, beginSessionReplay, bindHistoryReader, cancelDialog, clearQueuedMessages, deleteQueuedMessage, dropSessionStore, endSessionReplay, loadModelChoices, promoteQueuedMessage, queueFollowUp, queueFollowUpWithAck, refreshSessionFacts, refreshSessionStats, releaseProtocolTranscript, renameSession, requestLatestHistory, requestNewerHistory, requestOlderHistory, resetSessionStore, resetSessionStores, resumeQueuedMessages, rewindToMessage, runCommand, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, sessionStoreFor, setAgentLock, setHasNewerHistory, submitMessage, submitMessageWithAck, useActiveSession, useHasOlderHistory } from "./web/stores/sessionStore.mjs";
|
|
14
|
+
import { BrowserPerformanceEvent, BrowserPerformanceEventName, browserReadyDuration, flushBrowserTelemetry, installBrowserErrorReporting, recordBrowserError, recordBrowserPerformance } from "./web/lib/browserTelemetry.mjs";
|
|
15
|
+
import { createPagedTranscript } from "./web/stores/pagedTranscriptStore.mjs";
|
|
16
|
+
import { applyThreadTranscriptFrame, bindThreadReader, dropThreads, heldThreads, resetThreads, resubscribeThreads, subscribeThread, threadStoreKey, unsubscribeThread } from "./web/stores/threadStore.mjs";
|
|
17
|
+
import { WorkspacesState, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, resetWorkspaces, selectWorkspace, workspacesStore } from "./web/stores/workspacesStore.mjs";
|
|
18
|
+
import { ActivityGroup, FileLinkResolver, MinorMode, MinorModeAvailability, MinorModeSource, PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, SelectionAxis, activityGroups, bindFileLinkModes, fileLinkFor, fileTabForPath, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
19
|
+
import { Selection, ansiSegments, emptySelection, parseSelection, stripAnsi } from "./web/lib/statusLine.mjs";
|
|
20
|
+
import { MenuClaim, MenuKind, MenuState, claimDialogMenu, clearPendingMenu, menuStore, pendingMenuFor, releaseDialogMenu, resetMenuStore, setPendingMenu } from "./web/stores/menuStore.mjs";
|
|
21
|
+
import { ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
|
|
22
|
+
import { LoginFlowResult, LogoutResult, ProvidersResult, answerLogin, cancelLogin, listProviders, logoutProvider, readLogin, startLogin } from "./web/lib/authApi.mjs";
|
|
23
|
+
import { BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, browserNotificationPermission, deliverBrowserNotification, requestBrowserNotificationPermission } from "./web/lib/browserNotifications.mjs";
|
|
24
|
+
import { onComposerSubmitted, publishComposerSubmission } from "./web/lib/composerSubmissions.mjs";
|
|
25
|
+
import { FetchItemDetailResult, fetchContextItemDetail } from "./web/lib/contextDetailApi.mjs";
|
|
26
|
+
import { DashboardRoute, dashboardRouteFrom, useDashboardRoute } from "./web/lib/dashboardRoute.mjs";
|
|
27
|
+
import { bindDashboardTranscriptWatcher, watchDashboardTranscript } from "./web/lib/dashboardTranscript.mjs";
|
|
28
|
+
import { TargetResult, TargetsResult, addDevProxyTarget, fetchDevProxyTargets, removeDevProxyTarget } from "./web/lib/devProxyApi.mjs";
|
|
29
|
+
import { FileMention, mediaKindFor, parseFileMentions } from "./web/lib/fileMentions.mjs";
|
|
30
|
+
import { CreateSessionResult, RemoveWorkspaceResult, RestartSessionResult, ResumeSessionResult, ReviveSessionResult, SessionHistoryResult, StopSessionResult, WorkspaceResult, WorkspacesResult, admitWorkspace, createSession, createWorkspaceSession, listDirectory, listSessionHistory, listWorkspaceHistory, listWorkspaces, readDormantTranscriptPage, removeWorkspace, restartSession, resumeSession, resumeWorkspaceSession, reviveSession, searchDirectories, searchSessionFiles, stopSession } from "./web/lib/hubApi.mjs";
|
|
31
|
+
import { LeaderConflict, LeaderGroup, LeaderOption, leaderConflicts, leaderGroup } from "./web/lib/leaderTree.mjs";
|
|
32
|
+
import { LivePushStatus, disableLivePush, enableLivePush, livePushStatus, restoreLivePushRegistration } from "./web/lib/livePush.mjs";
|
|
33
|
+
import { acquireModelContext, disposeModelContextAdapter } from "./web/lib/modelContextAdapter.mjs";
|
|
34
|
+
import { createProtocolTransport, protocolSocketUrl } from "./web/lib/piTransport.mjs";
|
|
35
|
+
import { WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebTemplateDecision, bindWebPluginCompositions, focusWorkspaceWebPlugins, refreshWebPluginCompositions, reloadWebTemplateDecision, retryWebPluginCompositions, webPluginCompositionStore, webPluginMountState } from "./web/lib/pluginCompositions.mjs";
|
|
36
|
+
import { TransientTabActions, pluginSessionContext, pluginSlotProps } from "./web/lib/pluginSlotProps.mjs";
|
|
37
|
+
import { focusPrompt, registerPromptInput } from "./web/lib/promptFocus.mjs";
|
|
38
|
+
import { toQueuedEntries, toTimelineEntries } from "./web/lib/protocolTimeline.mjs";
|
|
39
|
+
import { qrMatrix } from "./web/lib/qrMatrix.mjs";
|
|
40
|
+
import { EnableResult, PairingResult, StateResult, approvePairing, denyPairing, disableRemoteAccess, enableRemoteAccess, fetchRemoteState, mintPairingCode, revokeDevice, revokeTrustedDevice, saveRemoteSettings } from "./web/lib/remoteApi.mjs";
|
|
41
|
+
import { rememberHostChannelKey, rememberedHostChannelKey, resetSealedSessions, restoreSealedSession, sealedHttpSession, sealedProtocolSession, sealedSession } from "./web/lib/sealedSession.mjs";
|
|
42
|
+
import { bindSessionActivityRenderer, releaseSessionActivityRenderer, renderSessionActivity } from "./web/lib/sessionActivityRenderer.mjs";
|
|
43
|
+
import { SessionAsset, StoredSessionAttachment, loadSessionAsset, uploadSessionAttachment } from "./web/lib/sessionAsset.mjs";
|
|
44
|
+
import { loadSessionAvatar } from "./web/lib/sessionAvatar.mjs";
|
|
45
|
+
import { SessionMcpResult, createSessionMcpClient, isSessionMcpActivity, listSessionMcpClients, readSessionMcpActivity, readSessionMcpConfig, removeSessionMcpSetup, revokeSessionMcpClient } from "./web/lib/sessionMcpApi.mjs";
|
|
46
|
+
import { bindSessionTranscriptRenderer, releaseSessionTranscriptRenderer, renderSessionTranscript } from "./web/lib/sessionTranscriptRenderer.mjs";
|
|
47
|
+
import { ImageSettingsResult, ReadConfigResult, ReadRepositorySettingsResult, WriteConfigResult, listSettingsModels, listSettingsRepositories, readImageSettings, readRepositorySettings, readSettingsConfig, writeImageSettings, writeRepositorySelection, writeSettingsValue } from "./web/lib/settingsApi.mjs";
|
|
48
|
+
import { PlannedWritesInput, canSaveSettings, plannedSettingsWrites, settingsKeyOf, settingsLockedReason } from "./web/lib/settingsDraft.mjs";
|
|
49
|
+
import { DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, SettingsSection, SettingsWorkspace, settingsSection, settingsSections } from "./web/lib/settingsSections.mjs";
|
|
50
|
+
import { fetchWithStepUp } from "./web/lib/stepUp.mjs";
|
|
51
|
+
import { bindThreadRenderer, releaseThreadRenderer, renderThread } from "./web/lib/threadRenderer.mjs";
|
|
52
|
+
import { GroupUnit, SingleUnit, TimelineUnit, groupSummary, groupTone, timelineUnits } from "./web/lib/timelineGroups.mjs";
|
|
53
|
+
import { createToolCompletionTabs } from "./web/lib/toolCompletionTabs.mjs";
|
|
54
|
+
import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
|
|
55
|
+
import { SessionMcpViewState, useSessionMcp } from "./web/lib/useSessionMcp.mjs";
|
|
56
|
+
import { PasskeyOutcome, STEP_UP_HEADER_NAME, assertionFor, passkeysAvailable, registerPasskey, signInWithPasskey } from "./web/lib/webauthnClient.mjs";
|
|
57
|
+
import { applyCaptureFrame, disconnectCaptures, onCaptureStatus, pendingCaptureSessions, submitCapture } from "./web/stores/captureStore.mjs";
|
|
58
|
+
import { ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerSessionState, ComposerTextAttachment, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, appendComposerDraft, appendComposerQuote, attachComposerCapture, attachComposerContext, clearComposerState, composerStore, dropComposerState, inlineTextBytes, resetComposerStore, restoreComposerDrafts, saveComposerDrafts, tabComposerContext, updateComposerState, useComposerState, validateComposerCapture } from "./web/stores/composerStore.mjs";
|
|
59
|
+
import { attachmentPrompt, composerSubmissionStore, submitComposerDraft } from "./web/stores/composerSubmissionStore.mjs";
|
|
60
|
+
import { DevProxyState, createDevProxyTarget, deleteDevProxyTarget, devProxyStore, refreshDevProxyTargets, resetDevProxyStore } from "./web/stores/devProxyStore.mjs";
|
|
61
|
+
import { bindSessionFileLinkModes } from "./web/stores/fileLinkModesStore.mjs";
|
|
62
|
+
import { EMPTY_NEW_SESSION_DRAFT, NewSessionDraft, NewSessionState, closeNewSession, createPlainSession, newSessionDraftStore, newSessionStore, openNewSession, resetNewSessionStore, setNewSessionName } from "./web/stores/newSessionStore.mjs";
|
|
63
|
+
import { PaletteState, closePalette, openPalette, paletteStore, setPalettePath, togglePalette } from "./web/stores/paletteStore.mjs";
|
|
64
|
+
import { RailDialogState, ResumeDraft, ResumeTarget, closeResumeDialog, openResumeDialog, railDialogStore, railRestartStore, resetRailDialogStore, restartDashboardSession, resumeDashboardSession, resumeDraftStore, updateResumeDraft } from "./web/stores/railDialogStore.mjs";
|
|
65
|
+
import { PasskeySupportView, RemoteAccessState, RemoteStep, addPasskey, applyRemoteState, approveDevice, closeRemoteDialog, denyDevice, newPairingCode, openRemoteDialog, refreshPasskeys, refreshRemoteState, remoteAccessStore, revokePairedDevice, revokeTrustedNativeDevice, showRemoteOptions, turnRemoteAccessOff, turnRemoteAccessOn, updateRemoteSettings } from "./web/stores/remoteAccessStore.mjs";
|
|
66
|
+
import { dispatchHeldSessionChannel, heldSessionChannels, holdSessionChannels } from "./web/stores/sessionChannelHoldsStore.mjs";
|
|
67
|
+
import { TemplateConfiguration, configuredTemplate, ensureTemplateConfiguration, refreshTemplateConfiguration, saveTemplateDefault, templateStore, useTemplateConfiguration } from "./web/stores/templateStore.mjs";
|
|
68
|
+
import { ThemeState, applyStoredTheme, availableThemes, selectTheme, themeStore } from "./web/stores/themeStore.mjs";
|
|
69
|
+
import { ToolPromptState, markToolPromptFailed, resetToolPromptStore, toolPromptStore } from "./web/stores/toolPromptStore.mjs";
|
|
70
|
+
import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, resetTransientTabs, transientTabsOf, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs";
|
|
71
|
+
import { DockTab, UiState, setDockOpen, setDockTab, uiStore } from "./web/stores/uiStore.mjs";
|
|
72
|
+
import { useOpenTab } from "./web/stores/useOpenTab.mjs";
|
|
73
|
+
import { usePluginSlotProps } from "./web/stores/usePluginSlotProps.mjs";
|
|
74
|
+
import { useToolPrompt } from "./web/stores/useToolPrompt.mjs";
|
|
75
|
+
import { useWebPluginRegistry } from "./web/stores/useWebPluginRegistry.mjs";
|
|
76
|
+
import { WorkspaceAdmissionDraft, admitDashboardWorkspace, resetWorkspaceAdmission, updateWorkspaceAdmission, workspaceAdmissionStore } from "./web/stores/workspaceAdmissionStore.mjs";
|
|
77
|
+
import { DialogDraft, dialogDraftStore, updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
|
|
78
|
+
import { EMPTY_SETTINGS_DRAFT, SettingsDraftState, SettingsDraftTarget, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
|
|
79
|
+
import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
|
|
80
|
+
import { DashboardRendererProvider, DashboardRenderers } from "./web/lib/dashboardRenderers.mjs";
|
|
81
|
+
export { ActivityGroup, AgentInfo, AssistantEntry, AttachPhase, BUILTIN_COMMANDS, BrowserNotificationDeliveryStatus, BrowserNotificationPermissionStatus, BrowserPerformanceEvent, BrowserPerformanceEventName, CommandInfo, ComposerAttachment, ComposerContextAttachment, ComposerFileAttachment, ComposerImageAttachment, ComposerSessionState, ComposerTextAttachment, ContextGroup, ContextGroupKind, ContextItem, ContextItemSource, ContextOwner, CreateSessionResult, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, type DashboardRenderers, DashboardRoute, DevProxyState, DialogDraft, DialogMethod, DialogRequest, DockTab, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, EditorTextRequest, EnableResult, EntryKind, FetchItemDetailResult, FileLinkResolver, FileMention, GroupUnit, HOST_SLOTS, HistoryPage, ImageSettingsResult, InstallDiagnostic, InstallDiagnosticKind, InstalledContextAction, InstalledNativeTemplate, InstalledRepositorySettingsPanel, InstalledSettingsPanel, InstalledUserMessageAction, InstalledWebTemplate, LEGACY_WORKSPACE_ID, LeaderConflict, LeaderGroup, LeaderOption, LivePushStatus, LoginFlowResult, LogoutResult, MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, MenuClaim, MenuKind, MenuState, MinorMode, MinorModeAvailability, MinorModeSource, ModelChoice, NativeTemplateCatalog, NewSessionDraft, NewSessionState, NoticeEntry, PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, PairingResult, PaletteState, PasskeyOutcome, PasskeySupportView, PlannedWritesInput, ProfileIdentity, ProvidersResult, QueuedEntry, RailDialogState, RailRestartState, RailSessionInput, ReadConfigResult, ReadRepositorySettingsResult, ReduceSessionOptions, RemoteAccessState, RemoteStep, RemoveWorkspaceResult, ResolvedFill, RestartSessionResult, ResumeDraft, ResumeSessionResult, ResumeTarget, ReviveSessionResult, RpcImage, STEP_UP_HEADER_NAME, Selection, SelectionAxis, SessionAsset, SessionHistoryResult, SessionMcpResult, SessionMcpViewState, SessionMeta, SessionRailModelInput, SessionSocket, SessionSocketHandlers, SessionState, SessionStats, SessionsState, SettingsDraftState, SettingsDraftTarget, SettingsSection, SettingsWorkspace, SettledEntry, SingleUnit, StateResult, StatusLineInput, StopSessionResult, StoredSessionAttachment, TargetResult, TargetsResult, TemplateConfiguration, ThemeState, TimelineEntry, TimelineUnit, ToolEntry, ToolPromptClaim, ToolPromptInput, ToolPromptState, TransientTabActions, UiState, UserEntry, UserImage, WebPluginCompositionPhase, WebPluginCompositionState, WebPluginMountState, WebTemplateCatalog, WebTemplateDecision, WebTemplateDiagnostic, WorkspaceAdmissionDraft, WorkspaceResult, WorkspacesResult, WorkspacesState, WriteConfigResult, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitWorkspace, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applyRemoteState, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, canSaveSettings, cancelDialog, cancelLogin, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredTemplate, contextGroups, createDevProxyTarget, createPagedTranscript, createPlainSession, createProtocolHubSocket, createProtocolTransport, createSession, createSessionMcpClient, createToolCompletionTabs, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, deleteDevProxyTarget, deleteQueuedMessage, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileLinkFor, fileTabForPath, findTransientTab, flushBrowserTelemetry, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, formatRunDuration, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, holdSessionChannels, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, listDirectory, listProviders, listSessionHistory, listSessionMcpClients, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, logoutProvider, markSocketClosed, markToolPromptFailed, mediaKindFor, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHubConnected, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseFileMentions, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, readDormantTranscriptPage, readImageSettings, readLogin, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, recordBrowserError, recordBrowserPerformance, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, saveComposerDrafts, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setPalettePath, setPendingMenu, setSessionNameCommand, setSettingsDraft, setThinkingLevelCommand, setWebPluginLoadDiagnostics, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, tabComposerContext, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, transientTabsOf, transientTabsStore, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writeRepositorySelection, writeSettingsValue };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { rememberHostChannelKey, rememberedHostChannelKey, resetSealedSessions, restoreSealedSession, sealedHttpSession, sealedProtocolSession, sealedSession } from "./web/lib/sealedSession.mjs";
|
|
2
|
+
import { STEP_UP_HEADER_NAME, assertionFor, passkeysAvailable, registerPasskey, signInWithPasskey } from "./web/lib/webauthnClient.mjs";
|
|
3
|
+
import { fetchWithStepUp } from "./web/lib/stepUp.mjs";
|
|
4
|
+
import { answerLogin, cancelLogin, listProviders, logoutProvider, readLogin, startLogin } from "./web/lib/authApi.mjs";
|
|
5
|
+
import { browserNotificationPermission, deliverBrowserNotification, requestBrowserNotificationPermission } from "./web/lib/browserNotifications.mjs";
|
|
6
|
+
import { browserReadyDuration, flushBrowserTelemetry, installBrowserErrorReporting, recordBrowserError, recordBrowserPerformance } from "./web/lib/browserTelemetry.mjs";
|
|
7
|
+
import { BUILTIN_COMMANDS, abortCommand, builtinCommandFrame, clearQueueCommand, compactCommand, dialogCancelled, dialogConfirmed, dialogValue, enqueueAutomaticCommand, followUpCommand, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, promoteQueuedCommand, promptCommand, removeQueuedCommand, resumeQueueCommand, rewindCommand, setModelCommand, setSessionNameCommand, setThinkingLevelCommand, steerCommand } from "./web/lib/commands.mjs";
|
|
8
|
+
import { onComposerSubmitted, publishComposerSubmission } from "./web/lib/composerSubmissions.mjs";
|
|
9
|
+
import { leaderConflicts, leaderGroup } from "./web/lib/leaderTree.mjs";
|
|
10
|
+
import { mergeScopedPlugins, pluginsAtScope } from "./web/lib/pluginScopes.mjs";
|
|
11
|
+
import { bindBundledNativeTemplates, bindBundledWebTemplates, collectNativeTemplates, collectWebTemplates, resolveNativeTemplate, resolveWebTemplate } from "./web/lib/templateCatalog.mjs";
|
|
12
|
+
import { HOST_SLOTS, activateWebPluginSession, activateWebPluginWorkspace, activityGroupSlot, bindSessionWebWorkspace, dispatchChannelFrame, dropPluginSessionData, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, isDesktopClient, nativeTemplateCatalog, paletteCommands, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSettingsPanels, pluginSettingsSections, pluginToolRenderer, pluginUserMessageActions, removeSessionWebPlugins, removeWorkspaceWebPlugins, resetWebPlugins, sessionToolRenderer, sessionWebPluginsInstalled, setWebPluginLoadDiagnostics, slotFills, startPluginDefinitions, startWebPlugins, subscribeWebPluginRegistry, webPluginDiagnostics, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceSlotFills } from "./web/lib/pluginRegistry.mjs";
|
|
13
|
+
import { ansiSegments, emptySelection, parseSelection, stripAnsi } from "./web/lib/statusLine.mjs";
|
|
14
|
+
import { PACKAGED_MINOR_MODES, PACKAGED_SELECTION_AXES, activityGroups, bindFileLinkModes, fileLinkFor, fileTabForPath, minorModes, selectionAxes, subscribeActivitySources, useActivityGroups, useDockFaces, useFileLinks } from "./web/lib/composition.mjs";
|
|
15
|
+
import { contextGroups, inactiveTotal, ownerLabel, ownersOf, projectedGroups, totalTokens } from "./web/lib/contextComposition.mjs";
|
|
16
|
+
import { fetchContextItemDetail } from "./web/lib/contextDetailApi.mjs";
|
|
17
|
+
import { dashboardRouteFrom, useDashboardRoute } from "./web/lib/dashboardRoute.mjs";
|
|
18
|
+
import { bindDashboardTranscriptWatcher, watchDashboardTranscript } from "./web/lib/dashboardTranscript.mjs";
|
|
19
|
+
import { addDevProxyTarget, fetchDevProxyTargets, removeDevProxyTarget } from "./web/lib/devProxyApi.mjs";
|
|
20
|
+
import { mediaKindFor, parseFileMentions } from "./web/lib/fileMentions.mjs";
|
|
21
|
+
import { admitWorkspace, createSession, createWorkspaceSession, listDirectory, listSessionHistory, listWorkspaceHistory, listWorkspaces, readDormantTranscriptPage, removeWorkspace, restartSession, resumeSession, resumeWorkspaceSession, reviveSession, searchDirectories, searchSessionFiles, stopSession } from "./web/lib/hubApi.mjs";
|
|
22
|
+
import { disableLivePush, enableLivePush, livePushStatus, restoreLivePushRegistration } from "./web/lib/livePush.mjs";
|
|
23
|
+
import { acquireModelContext, disposeModelContextAdapter } from "./web/lib/modelContextAdapter.mjs";
|
|
24
|
+
import { createProtocolTransport, protocolSocketUrl } from "./web/lib/piTransport.mjs";
|
|
25
|
+
import { bindWebPluginCompositions, focusWorkspaceWebPlugins, refreshWebPluginCompositions, reloadWebTemplateDecision, retryWebPluginCompositions, webPluginCompositionStore, webPluginMountState } from "./web/lib/pluginCompositions.mjs";
|
|
26
|
+
import { bindSessionActivityRenderer, releaseSessionActivityRenderer, renderSessionActivity } from "./web/lib/sessionActivityRenderer.mjs";
|
|
27
|
+
import { bindSessionTranscriptRenderer, releaseSessionTranscriptRenderer, renderSessionTranscript } from "./web/lib/sessionTranscriptRenderer.mjs";
|
|
28
|
+
import { bindThreadRenderer, releaseThreadRenderer, renderThread } from "./web/lib/threadRenderer.mjs";
|
|
29
|
+
import { bindSessionProtocol, hasSessionProtocol, requestSessionProtocolFrame, sendSessionProtocolFrame } from "./web/lib/sessionProtocolCommands.mjs";
|
|
30
|
+
import { bindTransport, invokeServerMethod, notifyHubConnected, onHubConnected, releaseTransport, sendFrame, sendFrameWithAck, sendHubFrame } from "./web/lib/transport.mjs";
|
|
31
|
+
import { pluginSessionContext, pluginSlotProps } from "./web/lib/pluginSlotProps.mjs";
|
|
32
|
+
import { focusPrompt, registerPromptInput } from "./web/lib/promptFocus.mjs";
|
|
33
|
+
import { createProtocolHubSocket } from "./web/lib/protocolHubSocket.mjs";
|
|
34
|
+
import { appendQueued, appendUserPrompt, clearDialog, clearQueuedEntries, imagesFromContent, initialSessionState, isSupportedImageMimeType, prependHistory, reduceSession, removeQueuedEntry, replaceQueuedEntries, summariseArgs, textFromContent } from "./web/lib/sessionModel.mjs";
|
|
35
|
+
import { toQueuedEntries, toTimelineEntries } from "./web/lib/protocolTimeline.mjs";
|
|
36
|
+
import { qrMatrix } from "./web/lib/qrMatrix.mjs";
|
|
37
|
+
import { approvePairing, denyPairing, disableRemoteAccess, enableRemoteAccess, fetchRemoteState, mintPairingCode, revokeDevice, revokeTrustedDevice, saveRemoteSettings } from "./web/lib/remoteApi.mjs";
|
|
38
|
+
import { loadSessionAsset, uploadSessionAttachment } from "./web/lib/sessionAsset.mjs";
|
|
39
|
+
import { loadSessionAvatar } from "./web/lib/sessionAvatar.mjs";
|
|
40
|
+
import { createSessionMcpClient, isSessionMcpActivity, listSessionMcpClients, readSessionMcpActivity, readSessionMcpConfig, removeSessionMcpSetup, revokeSessionMcpClient } from "./web/lib/sessionMcpApi.mjs";
|
|
41
|
+
import { abbreviateCwd, formatRunDuration, personaInitials, runningCount, sessionStatusLine } from "./web/lib/sessionSummary.mjs";
|
|
42
|
+
import { LEGACY_WORKSPACE_ID, buildRailWorkspaces, pendingSetupView, workspaceName } from "./web/lib/sessionRailModel.mjs";
|
|
43
|
+
import { listSettingsModels, listSettingsRepositories, readImageSettings, readRepositorySettings, readSettingsConfig, writeImageSettings, writeRepositorySelection, writeSettingsValue } from "./web/lib/settingsApi.mjs";
|
|
44
|
+
import { canSaveSettings, plannedSettingsWrites, settingsKeyOf, settingsLockedReason } from "./web/lib/settingsDraft.mjs";
|
|
45
|
+
import { DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, settingsSection, settingsSections } from "./web/lib/settingsSections.mjs";
|
|
46
|
+
import { groupSummary, groupTone, timelineUnits } from "./web/lib/timelineGroups.mjs";
|
|
47
|
+
import { createToolCompletionTabs } from "./web/lib/toolCompletionTabs.mjs";
|
|
48
|
+
import { toolMessageProps } from "./web/lib/toolMessageProps.mjs";
|
|
49
|
+
import { toolPromptClaim } from "./web/lib/toolPrompt.mjs";
|
|
50
|
+
import { useSessionMcp } from "./web/lib/useSessionMcp.mjs";
|
|
51
|
+
import { MAX_COMPOSER_ATTACHMENTS, MAX_COMPOSER_IMAGE_BYTES, MAX_COMPOSER_TEXT_BYTES, MAX_COMPOSER_TOTAL_IMAGE_BYTES, MAX_COMPOSER_TOTAL_TEXT_BYTES, MAX_COMPOSER_UPLOAD_BYTES, appendComposerDraft, appendComposerQuote, attachComposerCapture, attachComposerContext, clearComposerState, composerStore, dropComposerState, inlineTextBytes, resetComposerStore, restoreComposerDrafts, saveComposerDrafts, tabComposerContext, updateComposerState, useComposerState, validateComposerCapture } from "./web/stores/composerStore.mjs";
|
|
52
|
+
import { activeSessionId, applySessionBacklog, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, beginSessionTransfer, completeSessionTransfer, markSocketClosed, noSessions, resetSessions, resolveParentId, sessionsStore, setActiveSession, useActiveSessionMeta, useNoSessions, waitForSession } from "./web/stores/sessionsStore.mjs";
|
|
53
|
+
import { abortRun, answerDialogConfirm, answerDialogValue, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applySessionFrame, applySessionLifecycle, applyThreadFrame, beginSessionReplay, bindHistoryReader, cancelDialog, clearQueuedMessages, deleteQueuedMessage, dropSessionStore, endSessionReplay, loadModelChoices, promoteQueuedMessage, queueFollowUp, queueFollowUpWithAck, refreshSessionFacts, refreshSessionStats, releaseProtocolTranscript, renameSession, requestLatestHistory, requestNewerHistory, requestOlderHistory, resetSessionStore, resetSessionStores, resumeQueuedMessages, rewindToMessage, runCommand, seedHistoryCursor, selectFastMode, selectModel, selectThinkingLevel, sessionStoreFor, setAgentLock, setHasNewerHistory, submitMessage, submitMessageWithAck, useActiveSession, useHasOlderHistory } from "./web/stores/sessionStore.mjs";
|
|
54
|
+
import { applyCaptureFrame, disconnectCaptures, onCaptureStatus, pendingCaptureSessions, submitCapture } from "./web/stores/captureStore.mjs";
|
|
55
|
+
import { attachmentPrompt, composerSubmissionStore, submitComposerDraft } from "./web/stores/composerSubmissionStore.mjs";
|
|
56
|
+
import { createDevProxyTarget, deleteDevProxyTarget, devProxyStore, refreshDevProxyTargets, resetDevProxyStore } from "./web/stores/devProxyStore.mjs";
|
|
57
|
+
import { bindSessionFileLinkModes } from "./web/stores/fileLinkModesStore.mjs";
|
|
58
|
+
import { claimDialogMenu, clearPendingMenu, menuStore, pendingMenuFor, releaseDialogMenu, resetMenuStore, setPendingMenu } from "./web/stores/menuStore.mjs";
|
|
59
|
+
import { EMPTY_NEW_SESSION_DRAFT, closeNewSession, createPlainSession, newSessionDraftStore, newSessionStore, openNewSession, resetNewSessionStore, setNewSessionName } from "./web/stores/newSessionStore.mjs";
|
|
60
|
+
import { createPagedTranscript } from "./web/stores/pagedTranscriptStore.mjs";
|
|
61
|
+
import { closePalette, openPalette, paletteStore, setPalettePath, togglePalette } from "./web/stores/paletteStore.mjs";
|
|
62
|
+
import { closeResumeDialog, openResumeDialog, railDialogStore, railRestartStore, resetRailDialogStore, restartDashboardSession, resumeDashboardSession, resumeDraftStore, updateResumeDraft } from "./web/stores/railDialogStore.mjs";
|
|
63
|
+
import { addPasskey, applyRemoteState, approveDevice, closeRemoteDialog, denyDevice, newPairingCode, openRemoteDialog, refreshPasskeys, refreshRemoteState, remoteAccessStore, revokePairedDevice, revokeTrustedNativeDevice, showRemoteOptions, turnRemoteAccessOff, turnRemoteAccessOn, updateRemoteSettings } from "./web/stores/remoteAccessStore.mjs";
|
|
64
|
+
import { dispatchHeldSessionChannel, heldSessionChannels, holdSessionChannels } from "./web/stores/sessionChannelHoldsStore.mjs";
|
|
65
|
+
import { configuredTemplate, ensureTemplateConfiguration, refreshTemplateConfiguration, saveTemplateDefault, templateStore, useTemplateConfiguration } from "./web/stores/templateStore.mjs";
|
|
66
|
+
import { applyStoredTheme, availableThemes, selectTheme, themeStore } from "./web/stores/themeStore.mjs";
|
|
67
|
+
import { applyThreadTranscriptFrame, bindThreadReader, dropThreads, heldThreads, resetThreads, resubscribeThreads, subscribeThread, threadStoreKey, unsubscribeThread } from "./web/stores/threadStore.mjs";
|
|
68
|
+
import { markToolPromptFailed, resetToolPromptStore, toolPromptStore } from "./web/stores/toolPromptStore.mjs";
|
|
69
|
+
import { closeTransientTab, dropTransientTabs, findTransientTab, openTransientTab, resetTransientTabs, transientTabsOf, transientTabsStore, useTransientTabs } from "./web/stores/transientTabsStore.mjs";
|
|
70
|
+
import { setDockOpen, setDockTab, uiStore } from "./web/stores/uiStore.mjs";
|
|
71
|
+
import { useOpenTab } from "./web/stores/useOpenTab.mjs";
|
|
72
|
+
import { DashboardRendererProvider } from "./web/lib/dashboardRenderers.mjs";
|
|
73
|
+
import { useWebPluginRegistry } from "./web/stores/useWebPluginRegistry.mjs";
|
|
74
|
+
import { usePluginSlotProps } from "./web/stores/usePluginSlotProps.mjs";
|
|
75
|
+
import { useToolPrompt } from "./web/stores/useToolPrompt.mjs";
|
|
76
|
+
import { applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, resetWorkspaces, selectWorkspace, workspacesStore } from "./web/stores/workspacesStore.mjs";
|
|
77
|
+
import { admitDashboardWorkspace, resetWorkspaceAdmission, updateWorkspaceAdmission, workspaceAdmissionStore } from "./web/stores/workspaceAdmissionStore.mjs";
|
|
78
|
+
import { dialogDraftStore, updateDialogDraft, useDialogDraft } from "./web/stores/dialogDraftStore.mjs";
|
|
79
|
+
import { EMPTY_SETTINGS_DRAFT, discardSettingsDraft, loadSettingsDraft, saveSettingsDraft, setSettingsDraft, settingsDraftKey, settingsDraftStore } from "./web/stores/settingsDraftStore.mjs";
|
|
80
|
+
import { dashboardStateFor, useDashboardState } from "./web/stores/dashboardStateStore.mjs";
|
|
81
|
+
export { BUILTIN_COMMANDS, DEFAULT_REPOSITORY_SETTINGS_SECTION, DEFAULT_SETTINGS_SECTION, DashboardRendererProvider, EMPTY_NEW_SESSION_DRAFT, EMPTY_SETTINGS_DRAFT, HOST_SLOTS, LEGACY_WORKSPACE_ID, 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, abbreviateCwd, abortCommand, abortRun, acquireModelContext, activateWebPluginSession, activateWebPluginWorkspace, activeSessionId, activityGroupSlot, activityGroups, addDevProxyTarget, addPasskey, admitDashboardWorkspace, admitWorkspace, ansiSegments, answerDialogConfirm, answerDialogValue, answerLogin, appendComposerDraft, appendComposerQuote, appendQueued, appendUserPrompt, applyCaptureFrame, applyHistoryPage, applyProtocolQueue, applyProtocolTranscript, applyRemoteState, applySessionBacklog, applySessionFrame, applySessionLifecycle, applySessionRemoved, applySessionUpsert, applySessionsSnapshot, applyStoredTheme, applyThreadFrame, applyThreadTranscriptFrame, applyWorkspaceRemoved, applyWorkspaceUpsert, applyWorkspacesSnapshot, approveDevice, approvePairing, assertionFor, attachComposerCapture, attachComposerContext, attachmentPrompt, availableThemes, beginSessionReplay, beginSessionTransfer, bindBundledNativeTemplates, bindBundledWebTemplates, bindDashboardTranscriptWatcher, bindFileLinkModes, bindHistoryReader, bindSessionActivityRenderer, bindSessionFileLinkModes, bindSessionProtocol, bindSessionTranscriptRenderer, bindSessionWebWorkspace, bindThreadReader, bindThreadRenderer, bindTransport, bindWebPluginCompositions, browserNotificationPermission, browserReadyDuration, buildRailWorkspaces, builtinCommandFrame, canSaveSettings, cancelDialog, cancelLogin, claimDialogMenu, clearComposerState, clearDialog, clearPendingMenu, clearQueueCommand, clearQueuedEntries, clearQueuedMessages, closeNewSession, closePalette, closeRemoteDialog, closeResumeDialog, closeTransientTab, collectNativeTemplates, collectWebTemplates, compactCommand, completeSessionTransfer, composerStore, composerSubmissionStore, configuredTemplate, contextGroups, createDevProxyTarget, createPagedTranscript, createPlainSession, createProtocolHubSocket, createProtocolTransport, createSession, createSessionMcpClient, createToolCompletionTabs, createWorkspaceSession, dashboardRouteFrom, dashboardStateFor, deleteDevProxyTarget, deleteQueuedMessage, deliverBrowserNotification, denyDevice, denyPairing, devProxyStore, dialogCancelled, dialogConfirmed, dialogDraftStore, dialogValue, disableLivePush, disableRemoteAccess, discardSettingsDraft, disconnectCaptures, dispatchChannelFrame, dispatchHeldSessionChannel, disposeModelContextAdapter, dropComposerState, dropPluginSessionData, dropSessionStore, dropThreads, dropTransientTabs, emptySelection, enableLivePush, enableRemoteAccess, endSessionReplay, enqueueAutomaticCommand, ensureTemplateConfiguration, fetchContextItemDetail, fetchDevProxyTargets, fetchRemoteState, fetchWithStepUp, fileLinkFor, fileTabForPath, findTransientTab, flushBrowserTelemetry, focusPrompt, focusWorkspaceWebPlugins, followUpCommand, formatRunDuration, getAvailableModelsCommand, getAvailableThinkingLevelsCommand, getCommandsCommand, getSessionStatsCommand, getStateCommand, groupSummary, groupTone, hasSessionProtocol, heldSessionChannels, heldThreads, holdSessionChannels, imagesFromContent, inactiveTotal, initialSessionState, inlineTextBytes, installBrowserErrorReporting, installGlobalWebPlugins, installSessionWebPlugins, installWebPlugins, installWorkspaceWebPlugins, installedWebPlugins, invokeServerMethod, isDesktopClient, isSessionMcpActivity, isSupportedImageMimeType, leaderConflicts, leaderGroup, listDirectory, listProviders, listSessionHistory, listSessionMcpClients, listSettingsModels, listSettingsRepositories, listWorkspaceHistory, listWorkspaces, livePushStatus, loadModelChoices, loadSessionAsset, loadSessionAvatar, loadSettingsDraft, logoutProvider, markSocketClosed, markToolPromptFailed, mediaKindFor, menuStore, mergeScopedPlugins, minorModes, mintPairingCode, nativeTemplateCatalog, newPairingCode, newSessionDraftStore, newSessionStore, noSessions, notifyHubConnected, onCaptureStatus, onComposerSubmitted, onHubConnected, openNewSession, openPalette, openRemoteDialog, openResumeDialog, openTransientTab, ownerLabel, ownersOf, paletteCommands, paletteStore, parseFileMentions, parseSelection, passkeysAvailable, pendingCaptureSessions, pendingMenuFor, pendingSetupView, personaInitials, plannedSettingsWrites, pluginActivityGroups, pluginContextActions, pluginDockFaces, pluginFileLinks, pluginLeaderBindings, pluginMinorModes, pluginRepositorySettingsPanels, pluginSelectionAxes, pluginSessionContext, pluginSettingsPanels, pluginSettingsSections, pluginSlotProps, pluginToolRenderer, pluginUserMessageActions, pluginsAtScope, prependHistory, projectedGroups, promoteQueuedCommand, promoteQueuedMessage, promptCommand, protocolSocketUrl, publishComposerSubmission, qrMatrix, queueFollowUp, queueFollowUpWithAck, railDialogStore, railRestartStore, readDormantTranscriptPage, readImageSettings, readLogin, readRepositorySettings, readSessionMcpActivity, readSessionMcpConfig, readSettingsConfig, recordBrowserError, recordBrowserPerformance, reduceSession, refreshDevProxyTargets, refreshPasskeys, refreshRemoteState, refreshSessionFacts, refreshSessionStats, refreshTemplateConfiguration, refreshWebPluginCompositions, registerPasskey, registerPromptInput, releaseDialogMenu, releaseProtocolTranscript, releaseSessionActivityRenderer, releaseSessionTranscriptRenderer, releaseThreadRenderer, releaseTransport, reloadWebTemplateDecision, rememberHostChannelKey, rememberedHostChannelKey, remoteAccessStore, removeDevProxyTarget, removeQueuedCommand, removeQueuedEntry, removeSessionMcpSetup, removeSessionWebPlugins, removeWorkspace, removeWorkspaceWebPlugins, renameSession, renderSessionActivity, renderSessionTranscript, renderThread, replaceQueuedEntries, requestBrowserNotificationPermission, requestLatestHistory, requestNewerHistory, requestOlderHistory, requestSessionProtocolFrame, resetComposerStore, resetDevProxyStore, resetMenuStore, resetNewSessionStore, resetRailDialogStore, resetSealedSessions, resetSessionStore, resetSessionStores, resetSessions, resetThreads, resetToolPromptStore, resetTransientTabs, resetWebPlugins, resetWorkspaceAdmission, resetWorkspaces, resolveNativeTemplate, resolveParentId, resolveWebTemplate, restartDashboardSession, restartSession, restoreComposerDrafts, restoreLivePushRegistration, restoreSealedSession, resubscribeThreads, resumeDashboardSession, resumeDraftStore, resumeQueueCommand, resumeQueuedMessages, resumeSession, resumeWorkspaceSession, retryWebPluginCompositions, reviveSession, revokeDevice, revokePairedDevice, revokeSessionMcpClient, revokeTrustedDevice, revokeTrustedNativeDevice, rewindCommand, rewindToMessage, runCommand, runningCount, saveComposerDrafts, saveRemoteSettings, saveSettingsDraft, saveTemplateDefault, sealedHttpSession, sealedProtocolSession, sealedSession, searchDirectories, searchSessionFiles, seedHistoryCursor, selectFastMode, selectModel, selectTheme, selectThinkingLevel, selectWorkspace, selectionAxes, sendFrame, sendFrameWithAck, sendHubFrame, sendSessionProtocolFrame, sessionStatusLine, sessionStoreFor, sessionToolRenderer, sessionWebPluginsInstalled, sessionsStore, setActiveSession, setAgentLock, setDockOpen, setDockTab, setHasNewerHistory, setModelCommand, setNewSessionName, setPalettePath, setPendingMenu, setSessionNameCommand, setSettingsDraft, setThinkingLevelCommand, setWebPluginLoadDiagnostics, settingsDraftKey, settingsDraftStore, settingsKeyOf, settingsLockedReason, settingsSection, settingsSections, showRemoteOptions, signInWithPasskey, slotFills, startLogin, startPluginDefinitions, startWebPlugins, steerCommand, stopSession, stripAnsi, submitCapture, submitComposerDraft, submitMessage, submitMessageWithAck, subscribeActivitySources, subscribeThread, subscribeWebPluginRegistry, summariseArgs, tabComposerContext, templateStore, textFromContent, themeStore, threadStoreKey, timelineUnits, toQueuedEntries, toTimelineEntries, togglePalette, toolMessageProps, toolPromptClaim, toolPromptStore, totalTokens, transientTabsOf, transientTabsStore, turnRemoteAccessOff, turnRemoteAccessOn, uiStore, unsubscribeThread, updateComposerState, updateDialogDraft, updateRemoteSettings, updateResumeDraft, updateWorkspaceAdmission, uploadSessionAttachment, useActiveSession, useActiveSessionMeta, useActivityGroups, useComposerState, useDashboardRoute, useDashboardState, useDialogDraft, useDockFaces, useFileLinks, useHasOlderHistory, useNoSessions, useOpenTab, usePluginSlotProps, useSessionMcp, useTemplateConfiguration, useToolPrompt, useTransientTabs, useWebPluginRegistry, validateComposerCapture, waitForSession, watchDashboardTranscript, webPluginCompositionStore, webPluginDiagnostics, webPluginMountState, webPluginRegistryRevision, webPluginsInstalled, webTabs, webTemplateCatalog, workspaceAdmissionStore, workspaceName, workspaceSlotFills, workspacesStore, writeImageSettings, writeRepositorySelection, writeSettingsValue };
|
package/dist/testing.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_dashboardStateStore = require("./web/stores/dashboardStateStore.cjs");
|
|
3
|
+
const require_Story_fixture = require("./web/components/Story.fixture.cjs");
|
|
4
|
+
const require_Template_fixture = require("./web/components/Template.fixture.cjs");
|
|
5
|
+
const require_settings_fixture = require("./web/features/settings/settings.fixture.cjs");
|
|
6
|
+
const require_session_fixture = require("./web/features/session/session.fixture.cjs");
|
|
7
|
+
exports.STORY_SESSION_ID = require_Story_fixture.STORY_SESSION_ID;
|
|
8
|
+
exports.STORY_WORKSPACE_ID = require_Story_fixture.STORY_WORKSPACE_ID;
|
|
9
|
+
exports.StoryFrame = require_Story_fixture.StoryFrame;
|
|
10
|
+
exports.mockStoryRequests = require_Story_fixture.mockStoryRequests;
|
|
11
|
+
exports.resetDashboardState = require_dashboardStateStore.resetDashboardState;
|
|
12
|
+
exports.seedConversationStory = require_session_fixture.seedConversationStory;
|
|
13
|
+
exports.seedSettingsStory = require_settings_fixture.seedSettingsStory;
|
|
14
|
+
exports.seedStorySession = require_Story_fixture.seedStorySession;
|
|
15
|
+
exports.seedTemplateStory = require_Template_fixture.seedTemplateStory;
|
|
16
|
+
exports.storyTemplate = require_Template_fixture.storyTemplate;
|
|
17
|
+
exports.storyTheme = require_Story_fixture.storyTheme;
|
|
18
|
+
exports.templateConfig = require_Template_fixture.templateConfig;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { resetDashboardState } from "./web/stores/dashboardStateStore.mjs";
|
|
2
|
+
import { STORY_SESSION_ID, STORY_WORKSPACE_ID, StoryFrame, mockStoryRequests, seedStorySession, storyTheme } from "./web/components/Story.fixture.mjs";
|
|
3
|
+
import { seedTemplateStory, storyTemplate, templateConfig } from "./web/components/Template.fixture.mjs";
|
|
4
|
+
import { seedSettingsStory } from "./web/features/settings/settings.fixture.mjs";
|
|
5
|
+
import { seedConversationStory } from "./web/features/session/session.fixture.mjs";
|
|
6
|
+
export { STORY_SESSION_ID, STORY_WORKSPACE_ID, StoryFrame, mockStoryRequests, resetDashboardState, seedConversationStory, seedSettingsStory, seedStorySession, seedTemplateStory, storyTemplate, storyTheme, templateConfig };
|
package/dist/testing.mjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { resetDashboardState } from "./web/stores/dashboardStateStore.mjs";
|
|
2
|
+
import { STORY_SESSION_ID, STORY_WORKSPACE_ID, StoryFrame, mockStoryRequests, seedStorySession, storyTheme } from "./web/components/Story.fixture.mjs";
|
|
3
|
+
import { seedTemplateStory, storyTemplate, templateConfig } from "./web/components/Template.fixture.mjs";
|
|
4
|
+
import { seedSettingsStory } from "./web/features/settings/settings.fixture.mjs";
|
|
5
|
+
import { seedConversationStory } from "./web/features/session/session.fixture.mjs";
|
|
6
|
+
export { STORY_SESSION_ID, STORY_WORKSPACE_ID, StoryFrame, mockStoryRequests, resetDashboardState, seedConversationStory, seedSettingsStory, seedStorySession, seedTemplateStory, storyTemplate, storyTheme, templateConfig };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/types/auth.ts
|
|
2
|
+
/**
|
|
3
|
+
* Wire vocabulary for provider authentication, shared by the hub routes and
|
|
4
|
+
* the settings page.
|
|
5
|
+
*
|
|
6
|
+
* The hub keeps one Pi ModelRuntime over the same auth.json the sessions
|
|
7
|
+
* read, so a login here is a login for every session on this machine. Prompt
|
|
8
|
+
* and event shapes restate pi-ai's AuthPrompt and AuthEvent so neither the
|
|
9
|
+
* flow service nor the page needs a pi import; the abort signal never leaves
|
|
10
|
+
* the hub.
|
|
11
|
+
*/
|
|
12
|
+
/** REST endpoint listing providers with their auth state; DELETE /:providerId signs out. */
|
|
13
|
+
const AUTH_PROVIDERS_API_ROUTE = "/api/plugins/po/providers";
|
|
14
|
+
/** REST endpoint for login flows: POST starts one, GET /:flowId polls it, POST /:flowId/answer answers its prompt, DELETE /:flowId cancels. */
|
|
15
|
+
const AUTH_LOGINS_API_ROUTE = "/api/plugins/po/logins";
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.AUTH_LOGINS_API_ROUTE = AUTH_LOGINS_API_ROUTE;
|
|
18
|
+
exports.AUTH_PROVIDERS_API_ROUTE = AUTH_PROVIDERS_API_ROUTE;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=auth.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.cjs","names":[],"sources":["../../src/types/auth.ts"],"sourcesContent":["/**\n * Wire vocabulary for provider authentication, shared by the hub routes and\n * the settings page.\n *\n * The hub keeps one Pi ModelRuntime over the same auth.json the sessions\n * read, so a login here is a login for every session on this machine. Prompt\n * and event shapes restate pi-ai's AuthPrompt and AuthEvent so neither the\n * flow service nor the page needs a pi import; the abort signal never leaves\n * the hub.\n */\n\n/** REST endpoint listing providers with their auth state; DELETE /:providerId signs out. */\nexport const AUTH_PROVIDERS_API_ROUTE = '/api/plugins/po/providers';\n/** REST endpoint for login flows: POST starts one, GET /:flowId polls it, POST /:flowId/answer answers its prompt, DELETE /:flowId cancels. */\nexport const AUTH_LOGINS_API_ROUTE = '/api/plugins/po/logins';\n\nexport type AuthMethodType = 'api_key' | 'oauth';\n\nexport interface ProviderAuthMethod {\n type: AuthMethodType;\n /** What the provider calls this method: \"Anthropic API key\", \"Anthropic (Claude Pro/Max)\". */\n label: string;\n}\n\nexport interface ProviderAuthSummary {\n id: string;\n name: string;\n /** Login methods the provider offers; ambient-only providers list none. */\n methods: ProviderAuthMethod[];\n /**\n * Present once the provider has working auth: how, and where the credential\n * comes from (\"stored\", or the environment variable that holds the key).\n */\n authenticated?: { type: AuthMethodType; source?: string };\n}\n\nexport interface LoginSelectOption {\n id: string;\n label: string;\n description?: string;\n}\n\n/** pi-ai's AuthPrompt, restated. `signal` cancels this one question, not the flow. */\nexport type LoginPrompt = { signal?: AbortSignal } & (\n | { type: 'text'; message: string; placeholder?: string }\n | { type: 'secret'; message: string; placeholder?: string }\n | { type: 'select'; message: string; options: readonly LoginSelectOption[] }\n | { type: 'manual_code'; message: string; placeholder?: string }\n);\n\n/** The question the page answers: a prompt with an id and without its signal. */\nexport interface LoginPromptView {\n id: string;\n type: LoginPrompt['type'];\n message: string;\n placeholder?: string;\n /** Present for select prompts. */\n options?: LoginSelectOption[];\n}\n\n/** pi-ai's AuthEvent, restated. */\nexport type LoginEvent =\n | { type: 'info'; message: string; links?: readonly { url: string; label?: string }[] }\n | { type: 'auth_url'; url: string; instructions?: string }\n | {\n type: 'device_code';\n userCode: string;\n verificationUri: string;\n intervalSeconds?: number;\n expiresInSeconds?: number;\n }\n | { type: 'progress'; message: string };\n\nexport type LoginFlowStatus = 'running' | 'succeeded' | 'failed' | 'cancelled';\n\nexport interface LoginFlowSnapshot {\n id: string;\n providerId: string;\n providerName: string;\n type: AuthMethodType;\n status: LoginFlowStatus;\n events: LoginEvent[];\n /** The question the flow is waiting on, while there is one. */\n prompt?: LoginPromptView;\n /**\n * The login was started from the tunnel. The page uses this to explain that\n * the provider's redirect lands on a loopback address this browser cannot\n * reach, so the code has to be pasted back.\n */\n remote?: boolean;\n /** Why the flow failed, once it has. */\n error?: string;\n}\n\n/** pi-ai's AuthInteraction: what a provider's login needs from its host. */\nexport interface LoginInteraction {\n signal: AbortSignal;\n prompt(prompt: LoginPrompt): Promise<string>;\n notify(event: LoginEvent): void;\n}\n\nexport interface AuthRuntimeProvider {\n readonly id: string;\n readonly name: string;\n readonly auth: {\n /** Absent `login` means ambient-only (env vars, AWS profiles): nothing to sign in to. */\n apiKey?: { name: string; login?: unknown };\n oauth?: { name: string; loginLabel?: string };\n };\n}\n\n/**\n * The slice of Pi's ModelRuntime the hub relies on, so a test can stand in a\n * fake and the adapter never types against the whole agent.\n */\nexport interface AuthRuntime {\n getProviders(): readonly AuthRuntimeProvider[];\n getProviderAuthStatus(providerId: string): { configured: boolean; source?: string; label?: string };\n /** Models the runtime already knows about, without touching the network. */\n getAvailableSnapshot(): readonly { provider: string; id: string }[];\n hasConfiguredAuth(providerId: string): boolean;\n isUsingOAuth(providerId: string): boolean;\n /** Re-reads models.json and every provider's auth state without touching the network. */\n refresh(options: { allowNetwork: boolean }): Promise<unknown>;\n login(providerId: string, type: AuthMethodType, interaction: LoginInteraction): Promise<unknown>;\n logout(providerId: string, options?: { signal?: AbortSignal }): Promise<void>;\n}\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,2BAA2B;;AAExC,MAAa,wBAAwB"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
//#region src/types/auth.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Wire vocabulary for provider authentication, shared by the hub routes and
|
|
4
|
+
* the settings page.
|
|
5
|
+
*
|
|
6
|
+
* The hub keeps one Pi ModelRuntime over the same auth.json the sessions
|
|
7
|
+
* read, so a login here is a login for every session on this machine. Prompt
|
|
8
|
+
* and event shapes restate pi-ai's AuthPrompt and AuthEvent so neither the
|
|
9
|
+
* flow service nor the page needs a pi import; the abort signal never leaves
|
|
10
|
+
* the hub.
|
|
11
|
+
*/
|
|
12
|
+
/** REST endpoint listing providers with their auth state; DELETE /:providerId signs out. */
|
|
13
|
+
export declare const AUTH_PROVIDERS_API_ROUTE = "/api/plugins/po/providers";
|
|
14
|
+
/** REST endpoint for login flows: POST starts one, GET /:flowId polls it, POST /:flowId/answer answers its prompt, DELETE /:flowId cancels. */
|
|
15
|
+
export declare const AUTH_LOGINS_API_ROUTE = "/api/plugins/po/logins";
|
|
16
|
+
export type AuthMethodType = 'api_key' | 'oauth';
|
|
17
|
+
export interface ProviderAuthMethod {
|
|
18
|
+
type: AuthMethodType;
|
|
19
|
+
/** What the provider calls this method: "Anthropic API key", "Anthropic (Claude Pro/Max)". */
|
|
20
|
+
label: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ProviderAuthSummary {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
/** Login methods the provider offers; ambient-only providers list none. */
|
|
26
|
+
methods: ProviderAuthMethod[];
|
|
27
|
+
/**
|
|
28
|
+
* Present once the provider has working auth: how, and where the credential
|
|
29
|
+
* comes from ("stored", or the environment variable that holds the key).
|
|
30
|
+
*/
|
|
31
|
+
authenticated?: {
|
|
32
|
+
type: AuthMethodType;
|
|
33
|
+
source?: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface LoginSelectOption {
|
|
37
|
+
id: string;
|
|
38
|
+
label: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
}
|
|
41
|
+
/** pi-ai's AuthPrompt, restated. `signal` cancels this one question, not the flow. */
|
|
42
|
+
export type LoginPrompt = {
|
|
43
|
+
signal?: AbortSignal;
|
|
44
|
+
} & ({
|
|
45
|
+
type: 'text';
|
|
46
|
+
message: string;
|
|
47
|
+
placeholder?: string;
|
|
48
|
+
} | {
|
|
49
|
+
type: 'secret';
|
|
50
|
+
message: string;
|
|
51
|
+
placeholder?: string;
|
|
52
|
+
} | {
|
|
53
|
+
type: 'select';
|
|
54
|
+
message: string;
|
|
55
|
+
options: readonly LoginSelectOption[];
|
|
56
|
+
} | {
|
|
57
|
+
type: 'manual_code';
|
|
58
|
+
message: string;
|
|
59
|
+
placeholder?: string;
|
|
60
|
+
});
|
|
61
|
+
/** The question the page answers: a prompt with an id and without its signal. */
|
|
62
|
+
export interface LoginPromptView {
|
|
63
|
+
id: string;
|
|
64
|
+
type: LoginPrompt['type'];
|
|
65
|
+
message: string;
|
|
66
|
+
placeholder?: string;
|
|
67
|
+
/** Present for select prompts. */
|
|
68
|
+
options?: LoginSelectOption[];
|
|
69
|
+
}
|
|
70
|
+
/** pi-ai's AuthEvent, restated. */
|
|
71
|
+
export type LoginEvent = {
|
|
72
|
+
type: 'info';
|
|
73
|
+
message: string;
|
|
74
|
+
links?: readonly {
|
|
75
|
+
url: string;
|
|
76
|
+
label?: string;
|
|
77
|
+
}[];
|
|
78
|
+
} | {
|
|
79
|
+
type: 'auth_url';
|
|
80
|
+
url: string;
|
|
81
|
+
instructions?: string;
|
|
82
|
+
} | {
|
|
83
|
+
type: 'device_code';
|
|
84
|
+
userCode: string;
|
|
85
|
+
verificationUri: string;
|
|
86
|
+
intervalSeconds?: number;
|
|
87
|
+
expiresInSeconds?: number;
|
|
88
|
+
} | {
|
|
89
|
+
type: 'progress';
|
|
90
|
+
message: string;
|
|
91
|
+
};
|
|
92
|
+
export type LoginFlowStatus = 'running' | 'succeeded' | 'failed' | 'cancelled';
|
|
93
|
+
export interface LoginFlowSnapshot {
|
|
94
|
+
id: string;
|
|
95
|
+
providerId: string;
|
|
96
|
+
providerName: string;
|
|
97
|
+
type: AuthMethodType;
|
|
98
|
+
status: LoginFlowStatus;
|
|
99
|
+
events: LoginEvent[];
|
|
100
|
+
/** The question the flow is waiting on, while there is one. */
|
|
101
|
+
prompt?: LoginPromptView;
|
|
102
|
+
/**
|
|
103
|
+
* The login was started from the tunnel. The page uses this to explain that
|
|
104
|
+
* the provider's redirect lands on a loopback address this browser cannot
|
|
105
|
+
* reach, so the code has to be pasted back.
|
|
106
|
+
*/
|
|
107
|
+
remote?: boolean;
|
|
108
|
+
/** Why the flow failed, once it has. */
|
|
109
|
+
error?: string;
|
|
110
|
+
}
|
|
111
|
+
/** pi-ai's AuthInteraction: what a provider's login needs from its host. */
|
|
112
|
+
export interface LoginInteraction {
|
|
113
|
+
signal: AbortSignal;
|
|
114
|
+
prompt(prompt: LoginPrompt): Promise<string>;
|
|
115
|
+
notify(event: LoginEvent): void;
|
|
116
|
+
}
|
|
117
|
+
export interface AuthRuntimeProvider {
|
|
118
|
+
readonly id: string;
|
|
119
|
+
readonly name: string;
|
|
120
|
+
readonly auth: {
|
|
121
|
+
/** Absent `login` means ambient-only (env vars, AWS profiles): nothing to sign in to. */
|
|
122
|
+
apiKey?: {
|
|
123
|
+
name: string;
|
|
124
|
+
login?: unknown;
|
|
125
|
+
};
|
|
126
|
+
oauth?: {
|
|
127
|
+
name: string;
|
|
128
|
+
loginLabel?: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* The slice of Pi's ModelRuntime the hub relies on, so a test can stand in a
|
|
134
|
+
* fake and the adapter never types against the whole agent.
|
|
135
|
+
*/
|
|
136
|
+
export interface AuthRuntime {
|
|
137
|
+
getProviders(): readonly AuthRuntimeProvider[];
|
|
138
|
+
getProviderAuthStatus(providerId: string): {
|
|
139
|
+
configured: boolean;
|
|
140
|
+
source?: string;
|
|
141
|
+
label?: string;
|
|
142
|
+
};
|
|
143
|
+
/** Models the runtime already knows about, without touching the network. */
|
|
144
|
+
getAvailableSnapshot(): readonly {
|
|
145
|
+
provider: string;
|
|
146
|
+
id: string;
|
|
147
|
+
}[];
|
|
148
|
+
hasConfiguredAuth(providerId: string): boolean;
|
|
149
|
+
isUsingOAuth(providerId: string): boolean;
|
|
150
|
+
/** Re-reads models.json and every provider's auth state without touching the network. */
|
|
151
|
+
refresh(options: {
|
|
152
|
+
allowNetwork: boolean;
|
|
153
|
+
}): Promise<unknown>;
|
|
154
|
+
login(providerId: string, type: AuthMethodType, interaction: LoginInteraction): Promise<unknown>;
|
|
155
|
+
logout(providerId: string, options?: {
|
|
156
|
+
signal?: AbortSignal;
|
|
157
|
+
}): Promise<void>;
|
|
158
|
+
}
|
|
159
|
+
//#endregion
|
|
160
|
+
//# sourceMappingURL=auth.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.mts","names":[],"sources":["../../src/types/auth.ts"],"mappings":";;;;;;;;;;;;qBAYa;;qBAEA;YAED;iBAEK;EACf,MAAM;;EAEN;;iBAGe;EACf;EACA;;EAEA,SAAS;;;;;EAKT;IAAkB,MAAM;IAAgB;;;iBAGzB;EACf;EACA;EACA;;;YAIU;EAAgB,SAAS;;EAC/B;EAAc;EAAiB;;EAC/B;EAAgB;EAAiB;;EACjC;EAAgB;EAAiB,kBAAkB;;EACnD;EAAqB;EAAiB;;;iBAI3B;EACf;EACA,MAAM;EACN;EACA;;EAEA,UAAU;;;YAIA;EACN;EAAc;EAAiB;IAAmB;IAAa;;;EAC/D;EAAkB;EAAa;;EAE/B;EACA;EACA;EACA;EACA;;EAEA;EAAkB;;YAEZ;iBAEK;EACf;EACA;EACA;EACA,MAAM;EACN,QAAQ;EACR,QAAQ;;EAER,SAAS;;;;;;EAMT;;EAEA;;;iBAIe;EACf,QAAQ;EACR,OAAO,QAAQ,cAAc;EAC7B,OAAO,OAAO;;iBAGC;WACN;WACA;WACA;;IAEP;MAAW;MAAc;;IACzB;MAAU;MAAc;;;;;;;;iBAQX;EACf,yBAAyB;EACzB,sBAAsB;IAAuB;IAAqB;IAAiB;;;EAEnF;IAAmC;IAAkB;;EACrD,kBAAkB;EAClB,aAAa;;EAEb,QAAQ;IAAW;MAA0B;EAC7C,MAAM,oBAAoB,MAAM,gBAAgB,aAAa,mBAAmB;EAChF,OAAO,oBAAoB;IAAY,SAAS;MAAgB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/types/auth.ts
|
|
2
|
+
/**
|
|
3
|
+
* Wire vocabulary for provider authentication, shared by the hub routes and
|
|
4
|
+
* the settings page.
|
|
5
|
+
*
|
|
6
|
+
* The hub keeps one Pi ModelRuntime over the same auth.json the sessions
|
|
7
|
+
* read, so a login here is a login for every session on this machine. Prompt
|
|
8
|
+
* and event shapes restate pi-ai's AuthPrompt and AuthEvent so neither the
|
|
9
|
+
* flow service nor the page needs a pi import; the abort signal never leaves
|
|
10
|
+
* the hub.
|
|
11
|
+
*/
|
|
12
|
+
/** REST endpoint listing providers with their auth state; DELETE /:providerId signs out. */
|
|
13
|
+
const AUTH_PROVIDERS_API_ROUTE = "/api/plugins/po/providers";
|
|
14
|
+
/** REST endpoint for login flows: POST starts one, GET /:flowId polls it, POST /:flowId/answer answers its prompt, DELETE /:flowId cancels. */
|
|
15
|
+
const AUTH_LOGINS_API_ROUTE = "/api/plugins/po/logins";
|
|
16
|
+
//#endregion
|
|
17
|
+
export { AUTH_LOGINS_API_ROUTE, AUTH_PROVIDERS_API_ROUTE };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=auth.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.mjs","names":[],"sources":["../../src/types/auth.ts"],"sourcesContent":["/**\n * Wire vocabulary for provider authentication, shared by the hub routes and\n * the settings page.\n *\n * The hub keeps one Pi ModelRuntime over the same auth.json the sessions\n * read, so a login here is a login for every session on this machine. Prompt\n * and event shapes restate pi-ai's AuthPrompt and AuthEvent so neither the\n * flow service nor the page needs a pi import; the abort signal never leaves\n * the hub.\n */\n\n/** REST endpoint listing providers with their auth state; DELETE /:providerId signs out. */\nexport const AUTH_PROVIDERS_API_ROUTE = '/api/plugins/po/providers';\n/** REST endpoint for login flows: POST starts one, GET /:flowId polls it, POST /:flowId/answer answers its prompt, DELETE /:flowId cancels. */\nexport const AUTH_LOGINS_API_ROUTE = '/api/plugins/po/logins';\n\nexport type AuthMethodType = 'api_key' | 'oauth';\n\nexport interface ProviderAuthMethod {\n type: AuthMethodType;\n /** What the provider calls this method: \"Anthropic API key\", \"Anthropic (Claude Pro/Max)\". */\n label: string;\n}\n\nexport interface ProviderAuthSummary {\n id: string;\n name: string;\n /** Login methods the provider offers; ambient-only providers list none. */\n methods: ProviderAuthMethod[];\n /**\n * Present once the provider has working auth: how, and where the credential\n * comes from (\"stored\", or the environment variable that holds the key).\n */\n authenticated?: { type: AuthMethodType; source?: string };\n}\n\nexport interface LoginSelectOption {\n id: string;\n label: string;\n description?: string;\n}\n\n/** pi-ai's AuthPrompt, restated. `signal` cancels this one question, not the flow. */\nexport type LoginPrompt = { signal?: AbortSignal } & (\n | { type: 'text'; message: string; placeholder?: string }\n | { type: 'secret'; message: string; placeholder?: string }\n | { type: 'select'; message: string; options: readonly LoginSelectOption[] }\n | { type: 'manual_code'; message: string; placeholder?: string }\n);\n\n/** The question the page answers: a prompt with an id and without its signal. */\nexport interface LoginPromptView {\n id: string;\n type: LoginPrompt['type'];\n message: string;\n placeholder?: string;\n /** Present for select prompts. */\n options?: LoginSelectOption[];\n}\n\n/** pi-ai's AuthEvent, restated. */\nexport type LoginEvent =\n | { type: 'info'; message: string; links?: readonly { url: string; label?: string }[] }\n | { type: 'auth_url'; url: string; instructions?: string }\n | {\n type: 'device_code';\n userCode: string;\n verificationUri: string;\n intervalSeconds?: number;\n expiresInSeconds?: number;\n }\n | { type: 'progress'; message: string };\n\nexport type LoginFlowStatus = 'running' | 'succeeded' | 'failed' | 'cancelled';\n\nexport interface LoginFlowSnapshot {\n id: string;\n providerId: string;\n providerName: string;\n type: AuthMethodType;\n status: LoginFlowStatus;\n events: LoginEvent[];\n /** The question the flow is waiting on, while there is one. */\n prompt?: LoginPromptView;\n /**\n * The login was started from the tunnel. The page uses this to explain that\n * the provider's redirect lands on a loopback address this browser cannot\n * reach, so the code has to be pasted back.\n */\n remote?: boolean;\n /** Why the flow failed, once it has. */\n error?: string;\n}\n\n/** pi-ai's AuthInteraction: what a provider's login needs from its host. */\nexport interface LoginInteraction {\n signal: AbortSignal;\n prompt(prompt: LoginPrompt): Promise<string>;\n notify(event: LoginEvent): void;\n}\n\nexport interface AuthRuntimeProvider {\n readonly id: string;\n readonly name: string;\n readonly auth: {\n /** Absent `login` means ambient-only (env vars, AWS profiles): nothing to sign in to. */\n apiKey?: { name: string; login?: unknown };\n oauth?: { name: string; loginLabel?: string };\n };\n}\n\n/**\n * The slice of Pi's ModelRuntime the hub relies on, so a test can stand in a\n * fake and the adapter never types against the whole agent.\n */\nexport interface AuthRuntime {\n getProviders(): readonly AuthRuntimeProvider[];\n getProviderAuthStatus(providerId: string): { configured: boolean; source?: string; label?: string };\n /** Models the runtime already knows about, without touching the network. */\n getAvailableSnapshot(): readonly { provider: string; id: string }[];\n hasConfiguredAuth(providerId: string): boolean;\n isUsingOAuth(providerId: string): boolean;\n /** Re-reads models.json and every provider's auth state without touching the network. */\n refresh(options: { allowNetwork: boolean }): Promise<unknown>;\n login(providerId: string, type: AuthMethodType, interaction: LoginInteraction): Promise<unknown>;\n logout(providerId: string, options?: { signal?: AbortSignal }): Promise<void>;\n}\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,2BAA2B;;AAExC,MAAa,wBAAwB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/types/bridge.d.ts
|
|
2
|
+
export interface WebServerOptions {
|
|
3
|
+
port: number;
|
|
4
|
+
host?: string;
|
|
5
|
+
assetsDir?: string;
|
|
6
|
+
/** Client-neutral headless HTTP/WebSocket endpoint. Defaults to local po-server. */
|
|
7
|
+
headlessUrl?: string;
|
|
8
|
+
/** Credential forwarded only from this server to the headless endpoint. */
|
|
9
|
+
headlessToken?: string;
|
|
10
|
+
onNotice?: (message: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export interface WebServer {
|
|
13
|
+
readonly url: string;
|
|
14
|
+
readonly port: number;
|
|
15
|
+
close(): Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
//# sourceMappingURL=bridge.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge.d.mts","names":[],"sources":["../../src/types/bridge.ts"],"mappings":";iBAAiB;EACf;EACA;EACA;;EAEA;;EAEA;EACA,YAAY;;iBAGG;WACN;WACA;EACT,SAAS"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//#region src/types/devProxy.ts
|
|
2
|
+
/**
|
|
3
|
+
* Wire vocabulary for the dev-site reverse proxy, shared by the hub routes,
|
|
4
|
+
* the cockpit, and the service worker.
|
|
5
|
+
*
|
|
6
|
+
* The cockpit proxies a developer's local HTTP server under a path prefix on
|
|
7
|
+
* its own origin, the way nginx or Caddy would. That choice buys one thing
|
|
8
|
+
* worth more than everything it costs: the request is already authenticated.
|
|
9
|
+
* A paired device sends `__Host-po_device` on every same-origin path, so
|
|
10
|
+
* the proxy needs no second hostname, no grant token, and no pairing ceremony
|
|
11
|
+
* of its own.
|
|
12
|
+
*
|
|
13
|
+
* It also means the proxied application shares an origin with the cockpit, and
|
|
14
|
+
* a sub-path deployment requires the application to know its base path. Both
|
|
15
|
+
* are documented in docs/security.md rather than worked around here.
|
|
16
|
+
*
|
|
17
|
+
* This module holds constants and shapes only. `src/pwa` may import
|
|
18
|
+
* `src/types` and nothing else from the server tree, and the service worker
|
|
19
|
+
* needs the prefix, so the prefix has to live here.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Control plane for listing and registering targets; registration is local-only. It lives under
|
|
23
|
+
* the Remote Control API, which is how both the host and a paired device reach the hub's proxy.
|
|
24
|
+
*/
|
|
25
|
+
const DEV_PROXY_API_ROUTE = "/api/remote/dev-proxy";
|
|
26
|
+
const DEV_PROXY_TARGETS_ROUTE = `${DEV_PROXY_API_ROUTE}/targets`;
|
|
27
|
+
/**
|
|
28
|
+
* The path every proxied request lives under.
|
|
29
|
+
*
|
|
30
|
+
* Both slashes matter. The leading one anchors it at the root so no other
|
|
31
|
+
* route can be shadowed, and the trailing one makes `startsWith` exact: a
|
|
32
|
+
* request for `/devproxyevil` must not match, and without the trailing slash
|
|
33
|
+
* it would.
|
|
34
|
+
*/
|
|
35
|
+
const DEV_PROXY_PREFIX = "/devproxy/";
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.DEV_PROXY_API_ROUTE = DEV_PROXY_API_ROUTE;
|
|
38
|
+
exports.DEV_PROXY_PREFIX = DEV_PROXY_PREFIX;
|
|
39
|
+
exports.DEV_PROXY_TARGETS_ROUTE = DEV_PROXY_TARGETS_ROUTE;
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=devProxy.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devProxy.cjs","names":[],"sources":["../../src/types/devProxy.ts"],"sourcesContent":["/**\n * Wire vocabulary for the dev-site reverse proxy, shared by the hub routes,\n * the cockpit, and the service worker.\n *\n * The cockpit proxies a developer's local HTTP server under a path prefix on\n * its own origin, the way nginx or Caddy would. That choice buys one thing\n * worth more than everything it costs: the request is already authenticated.\n * A paired device sends `__Host-po_device` on every same-origin path, so\n * the proxy needs no second hostname, no grant token, and no pairing ceremony\n * of its own.\n *\n * It also means the proxied application shares an origin with the cockpit, and\n * a sub-path deployment requires the application to know its base path. Both\n * are documented in docs/security.md rather than worked around here.\n *\n * This module holds constants and shapes only. `src/pwa` may import\n * `src/types` and nothing else from the server tree, and the service worker\n * needs the prefix, so the prefix has to live here.\n */\n\n/**\n * Control plane for listing and registering targets; registration is local-only. It lives under\n * the Remote Control API, which is how both the host and a paired device reach the hub's proxy.\n */\nexport const DEV_PROXY_API_ROUTE = '/api/remote/dev-proxy';\nexport const DEV_PROXY_TARGETS_ROUTE = `${DEV_PROXY_API_ROUTE}/targets`;\n\n/**\n * The path every proxied request lives under.\n *\n * Both slashes matter. The leading one anchors it at the root so no other\n * route can be shadowed, and the trailing one makes `startsWith` exact: a\n * request for `/devproxyevil` must not match, and without the trailing slash\n * it would.\n */\nexport const DEV_PROXY_PREFIX = '/devproxy/';\n\n/**\n * A registered upstream.\n *\n * `name` rather than a generated id because it appears in the developer's own\n * build configuration as `base: '/devproxy/<name>/'`. A uuid would change\n * nothing functionally and would make that line unreadable and unmemorable.\n */\nexport interface DevProxyTarget {\n name: string;\n port: number;\n createdAt: number;\n}\n\nexport interface DevProxyStateView {\n targets: readonly DevProxyTarget[];\n /** False on the tunnel listener, where registering a new target is refused. */\n canRegister: boolean;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAwBA,MAAa,sBAAsB;AACnC,MAAa,0BAA0B,GAAG,oBAAoB;;;;;;;;;AAU9D,MAAa,mBAAmB"}
|