@qwen-code/web-shell 0.26.9 → 0.27.1
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/README.md +30 -6
- package/dist/{PierreFilePreview-BWMV28K1.js → PierreFilePreview-BT_JRIvF.js} +1 -1
- package/dist/{SpreadsheetPreview-CpnnnQKn.js → SpreadsheetPreview-d5XL70Ho.js} +2 -2
- package/dist/{WorkspaceFileBrowser-CwWFGqIW.js → WorkspaceFileBrowser-G1yA2eBf.js} +2 -2
- package/dist/{agents-route-BmgI-UF0.js → agents-route-bkxyBAkN.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/{index-DrPRgTJc.js → index-B6wNHUaX.js} +68664 -62370
- package/dist/index.js +3 -3
- package/dist/sw.js +1 -1
- package/dist/transcript.js +8958 -8544
- package/dist/types/App.d.ts +9 -1
- package/dist/types/ManagedAgentWebShell.d.ts +15 -2
- package/dist/types/browser-notifications/messages.d.ts +9 -0
- package/dist/types/browser-notifications/messages.transcript-stub.d.ts +7 -0
- package/dist/types/completions/slashCompletion.d.ts +1 -0
- package/dist/types/components/ChatPane.d.ts +2 -1
- package/dist/types/components/MessageList.d.ts +2 -4
- package/dist/types/components/SessionLimitBanner.d.ts +4 -0
- package/dist/types/components/SessionOverviewPanel.d.ts +2 -1
- package/dist/types/components/SplitView.d.ts +3 -1
- package/dist/types/components/StreamingStatus.d.ts +4 -1
- package/dist/types/components/WaitingMinigame.d.ts +24 -0
- package/dist/types/components/artifacts/ArtifactPanel.d.ts +1 -0
- package/dist/types/components/artifacts/TokenUsageTrend.d.ts +20 -3
- package/dist/types/components/artifacts/TurnOutputs.d.ts +1 -0
- package/dist/types/components/artifacts/tool-call-content.d.ts +2 -1
- package/dist/types/components/artifacts/useWorkspaceFileChanges.d.ts +4 -0
- package/dist/types/components/artifacts/workspace-file-changes.d.ts +7 -0
- package/dist/types/components/channels/channel-editor-state.d.ts +28 -1
- package/dist/types/components/dialogs/ScheduledTaskDeliveryFields.d.ts +18 -0
- package/dist/types/components/dialogs/ScheduledTasksDialog.d.ts +6 -2
- package/dist/types/components/local-control-api.d.ts +14 -0
- package/dist/types/components/managed/ManagedActivityView.d.ts +10 -0
- package/dist/types/components/managed/ManagedDiagnosticsPanel.d.ts +11 -0
- package/dist/types/components/managed/ManagedExtensionInstaller.d.ts +31 -0
- package/dist/types/components/managed/ManagedExtensionsManagerPage.d.ts +2 -1
- package/dist/types/components/managed/ManagedInvocationTree.d.ts +13 -0
- package/dist/types/components/managed/ManagedMcpManagerPage.d.ts +1 -0
- package/dist/types/components/managed/ManagedQuestionForm.d.ts +8 -1
- package/dist/types/components/managed/ManagedSessionsPage.d.ts +5 -1
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +1164 -54
- package/dist/types/components/managed/java-managed-agent-client.d.ts +206 -1
- package/dist/types/components/managed/managed-activity.test-fixtures.d.ts +6 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +31 -1
- package/dist/types/components/managed/managed-diagnostics-messages.d.ts +157 -0
- package/dist/types/components/managed/managed-diagnostics.test-fixtures.d.ts +5 -0
- package/dist/types/components/managed/managed-extension-install.d.ts +68 -0
- package/dist/types/components/managed/managed-extension-messages.d.ts +48 -0
- package/dist/types/components/managed/managed-extension-types.d.ts +3 -0
- package/dist/types/components/managed/use-managed-actions.d.ts +8 -2
- package/dist/types/components/managed/use-managed-diagnostics.d.ts +32 -0
- package/dist/types/components/messages/AskUserQuestion.d.ts +7 -1
- package/dist/types/components/messages/AuthMessage.d.ts +2 -1
- package/dist/types/components/messages/toolFormatting.d.ts +23 -0
- package/dist/types/components/plugins/PluginManagerPage.d.ts +1 -1
- package/dist/types/components/sidebar/RecentSessions.d.ts +3 -2
- package/dist/types/components/sidebar/SessionSortMenu.d.ts +8 -0
- package/dist/types/components/sidebar/StandaloneRecents.d.ts +2 -1
- package/dist/types/components/sidebar/WebShellSidebar.d.ts +2 -1
- package/dist/types/components/sidebar/WorkspaceSection.d.ts +8 -2
- package/dist/types/components/sidebar/useWorkspaceOrder.d.ts +12 -0
- package/dist/types/components/sidebar/workspaceOrder.d.ts +1 -0
- package/dist/types/components/ui/alert.d.ts +1 -1
- package/dist/types/components/ui/badge.d.ts +1 -1
- package/dist/types/components/ui/button.d.ts +2 -2
- package/dist/types/components/workflow-mode-control-state.d.ts +1 -1
- package/dist/types/components/workspace-agents/useAgentChatEntry.d.ts +6 -0
- package/dist/types/config/host-fanout.d.ts +2 -0
- package/dist/types/customization.d.ts +33 -0
- package/dist/types/daemon/index.d.ts +1 -1
- package/dist/types/daemon/session/actions.d.ts +1 -1
- package/dist/types/daemon/session/httpErrors.d.ts +1 -0
- package/dist/types/daemon/session/session-context.d.ts +3 -1
- package/dist/types/daemon/session/types.d.ts +34 -1
- package/dist/types/daemon/workspace/index.d.ts +1 -1
- package/dist/types/daemon/workspace/types.d.ts +21 -1
- package/dist/types/daemon-react-sdk.d.ts +1 -1
- package/dist/types/hooks/useQueuedPrompts.d.ts +4 -1
- package/dist/types/hooks/useScopedSessions.d.ts +4 -0
- package/dist/types/session-catalog/session-catalog-hooks.d.ts +2 -0
- package/dist/types/settings.d.ts +1 -0
- package/dist/types/utils/askUserPermission.d.ts +7 -0
- package/dist/types/utils/planMode.d.ts +1 -1
- package/dist/types/utils/sessionPreparation.d.ts +19 -3
- package/dist/types/utils/waitingActivity.d.ts +55 -0
- package/dist/types/utils/waitingGamesConfig.d.ts +7 -0
- package/dist/types/utils/waitingMinigame.d.ts +53 -0
- package/dist/types/utils/waitingSnake.d.ts +40 -0
- package/dist/{useDaemonMidTurnInjected-4PDPakvk.js → useDaemonMidTurnInjected-tBzI77Ar.js} +5795 -5380
- package/package.json +2 -1
package/dist/types/App.d.ts
CHANGED
|
@@ -223,6 +223,11 @@ export interface WebShellProps {
|
|
|
223
223
|
* needs them. Plan must be explicitly included.
|
|
224
224
|
*/
|
|
225
225
|
composerToolbarActions?: readonly ComposerToolbarAction[];
|
|
226
|
+
/**
|
|
227
|
+
* The host renders its own add ("+") entry in
|
|
228
|
+
* `renderComposerToolbarStart`; hide the built-in composer AddMenu.
|
|
229
|
+
*/
|
|
230
|
+
hostOwnsAddMenu?: boolean;
|
|
226
231
|
/** Execution mode choices. Overrides ui.allowedApprovalModes; [] offers none. Presentation only. */
|
|
227
232
|
allowedApprovalModes?: readonly WebShellApprovalMode[];
|
|
228
233
|
/** Composer presentation shared by the main chat, split panes, and side tasks. */
|
|
@@ -259,6 +264,9 @@ export interface WebShellProps {
|
|
|
259
264
|
* so its sessions stay distinguishable from CLI and browser ones.
|
|
260
265
|
*/
|
|
261
266
|
sessionSourceType?: string;
|
|
267
|
+
subscriptionDraft?: {
|
|
268
|
+
modelId: string;
|
|
269
|
+
};
|
|
262
270
|
/** Built-in actions appended to the context-sensitive default toolbar. */
|
|
263
271
|
composerToolbarAdditionalActions?: readonly ComposerToolbarAction[];
|
|
264
272
|
/**
|
|
@@ -463,4 +471,4 @@ export declare function canArchiveSideTaskSummary(session: Pick<DaemonSessionSum
|
|
|
463
471
|
export declare function mergeSideTaskCatalog(catalog: SideTaskCatalogState, parentSessionId: string, listedItems: SideTaskListItem[], optimisticIds: ReadonlySet<string>): SideTaskCatalogState;
|
|
464
472
|
export declare function getEnvironmentAgentTasks(messages: readonly Message[], sessionTasks: readonly DaemonSessionTaskWithWorkflowStatus[]): EnvironmentAgentTask[];
|
|
465
473
|
export declare function mergeAgentTrace(liveAgents: readonly EnvironmentAgentTask[], trace: DaemonAgentTrace | undefined, now?: number): EnvironmentAgentTask[];
|
|
466
|
-
export declare function App({ onRefreshModels, askUserFreeTextLabel, onSessionIdChange, onSessionInfoChange, onModelChange, onSessionCreated, managedAgentProvider, theme: providedTheme, onThemeChange, onThemeResolved, language: providedLanguage, onLanguageChange, onLanguageResolved, brand: providedBrand, onBrandResolved, className: externalClassName, style: externalStyle, shadowDom, onConnectionChange, onStreamingStateChange, onError, onBugReport, hiddenSlashCommands, slashCommandCategoryOrder, onSlashCommand, builtinAtProviders, atProviders, composerTagIcons, fileUploadEnabled, fileUploadDirectory, artifact, fileDropAction, renderToolHeaderExtra, renderWelcomeHeader, renderWelcomeFooter, mobileWelcomeFooterMiddle, parseUserMessageContent, renderUserMessageContent, renderComposerTag, renderComposerTagTooltip, onComposerTagClick, renderAssistantTurnFooter, assistantFeedback, getAssistantSourcesIcon, sourceReferences, renderComposerToolbarStart, renderComposerToolbarEnd, renderComposerToolbarRight, renderComposerHeader, renderComposerFooter, renderChatHeader, renderFooter, bottomStatusItems, chatMaxWidth, sidebar, settings: settingsPresentation, modelManagement, unavailableModels, mountUnavailableModelTooltip, header, rightPanel, showToolCalls, environmentPanel, splitSessionIds: externalSplitSessionIds, onSplitSessionIdsChange, renderPaneHeaderActions, onRightPanelOpen, onFileReviewOpen, onWorkspaceFileOpen, onPickWorkspaceDirectory, onInsightReportOpen, onContextUsageOpen, messageTurnOutputs, filterArtifact, shellRef, composerToolbarActions, allowedApprovalModes: allowedApprovalModesProp, composerVariant, mainModelFilter, compactComposerOverlays, autoSubmitSlashCommands, additionalSlashCommands, contextUsageAlwaysVisible, userMessageEditing, onUserMessageEditRequest, cycleModeOnTab, sessionSourceType, composerToolbarAdditionalActions, composerPlaceholders, compactThinking, hostOwnsEditDiffPreview, collapseCompletedTurns, markdownTableMode, virtualScrollThreshold, conversationSearchThreshold, markdown, loadingPhrases, onAgentTasksChange, onTranscriptChange, onSessionArtifactsChange, onToast, composerRef, onComposerReady, composerInput, composerInputVersion, onSessionChange, onAssistantTurnSettled, prepareSubmit, onSubmitBefore, restartSseOnPrompt, historyPageSize, initialSelectedWorkspaceCwd, lockedWorkspaceCwd, lockedWorkspaceCapability, }?: AppProps): import("react/jsx-runtime").JSX.Element;
|
|
474
|
+
export declare function App({ onRefreshModels, askUserFreeTextLabel, onSessionIdChange, onSessionInfoChange, onModelChange, onSessionCreated, managedAgentProvider, theme: providedTheme, onThemeChange, onThemeResolved, language: providedLanguage, onLanguageChange, onLanguageResolved, brand: providedBrand, onBrandResolved, className: externalClassName, style: externalStyle, shadowDom, onConnectionChange, onStreamingStateChange, onError, onBugReport, hiddenSlashCommands, slashCommandCategoryOrder, onSlashCommand, builtinAtProviders, atProviders, composerTagIcons, fileUploadEnabled, fileUploadDirectory, artifact, fileDropAction, renderToolHeaderExtra, renderWelcomeHeader, renderWelcomeFooter, mobileWelcomeFooterMiddle, parseUserMessageContent, renderUserMessageContent, renderComposerTag, renderComposerTagTooltip, onComposerTagClick, renderAssistantTurnFooter, assistantFeedback, getAssistantSourcesIcon, sourceReferences, renderComposerToolbarStart, renderComposerToolbarEnd, renderComposerToolbarRight, renderComposerHeader, renderComposerFooter, renderChatHeader, renderFooter, bottomStatusItems, chatMaxWidth, sidebar, settings: settingsPresentation, modelManagement, unavailableModels, mountUnavailableModelTooltip, header, rightPanel, showToolCalls, environmentPanel, splitSessionIds: externalSplitSessionIds, onSplitSessionIdsChange, renderPaneHeaderActions, onRightPanelOpen, onFileReviewOpen, onWorkspaceFileOpen, onPickWorkspaceDirectory, onInsightReportOpen, onContextUsageOpen, messageTurnOutputs, filterArtifact, shellRef, composerToolbarActions, hostOwnsAddMenu, allowedApprovalModes: allowedApprovalModesProp, composerVariant, mainModelFilter, compactComposerOverlays, autoSubmitSlashCommands, additionalSlashCommands, contextUsageAlwaysVisible, userMessageEditing, onUserMessageEditRequest, cycleModeOnTab, sessionSourceType, subscriptionDraft, composerToolbarAdditionalActions, composerPlaceholders, compactThinking, hostOwnsEditDiffPreview, collapseCompletedTurns, markdownTableMode, virtualScrollThreshold, conversationSearchThreshold, markdown, loadingPhrases, onAgentTasksChange, onTranscriptChange, onSessionArtifactsChange, onToast, composerRef, onComposerReady, composerInput, composerInputVersion, onSessionChange, onAssistantTurnSettled, prepareSubmit, onSubmitBefore, restartSseOnPrompt, historyPageSize, initialSelectedWorkspaceCwd, lockedWorkspaceCwd, lockedWorkspaceCapability, }?: AppProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,8 +12,14 @@ import { type WebShellTheme } from './themeContext';
|
|
|
12
12
|
*/
|
|
13
13
|
type ManagedSessionsNavigationProps = Pick<ComponentProps<typeof ManagedSessionsPage>, 'navigationTarget' | 'archivedNavigationTarget' | 'onArchivedSessionsStatusChange' | 'navigationActive' | 'navigationSearch'>;
|
|
14
14
|
/** Change productScope with tenant/actor identity so saved selections and output caches are discarded. */
|
|
15
|
-
export interface ManagedAgentWebShellProps extends JavaManagedAgentProviderOptions, ManagedSessionsNavigationProps {
|
|
15
|
+
export interface ManagedAgentWebShellProps extends Omit<JavaManagedAgentProviderOptions, 'baseUrl'>, ManagedSessionsNavigationProps {
|
|
16
16
|
managedAgentProvider?: ManagedAgentProvider;
|
|
17
|
+
/**
|
|
18
|
+
* Backend base URL for the built-in Java provider. Required unless
|
|
19
|
+
* `managedAgentProvider` is supplied; a missing value fails loudly instead
|
|
20
|
+
* of resolving requests against `<origin>/undefined`.
|
|
21
|
+
*/
|
|
22
|
+
baseUrl?: string;
|
|
17
23
|
/** Only open the existing Session explicitly selected by the host. */
|
|
18
24
|
hostSessionOnly?: boolean;
|
|
19
25
|
sessionId?: string;
|
|
@@ -24,6 +30,13 @@ export interface ManagedAgentWebShellProps extends JavaManagedAgentProviderOptio
|
|
|
24
30
|
className?: string;
|
|
25
31
|
style?: CSSProperties;
|
|
26
32
|
}
|
|
27
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Managed-only 产品入口,不创建 daemon workspace/session context。
|
|
35
|
+
*
|
|
36
|
+
* The provider (and its `baseUrl` guard) resolves one level below this
|
|
37
|
+
* boundary: an error boundary cannot catch a throw from the component that
|
|
38
|
+
* renders it, and a host mounting before its config resolves would otherwise
|
|
39
|
+
* get a blank container instead of the shell's own fallback.
|
|
40
|
+
*/
|
|
28
41
|
export declare function ManagedAgentWebShell(props: ManagedAgentWebShellProps): import("react/jsx-runtime").JSX.Element;
|
|
29
42
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
type BrowserNotificationMessage = string | ((vars?: Record<string, string | number>) => string);
|
|
7
|
+
export declare const BROWSER_NOTIFICATION_MESSAGES_EN: Record<string, BrowserNotificationMessage>;
|
|
8
|
+
export declare const BROWSER_NOTIFICATION_MESSAGES_ZH: Record<string, BrowserNotificationMessage>;
|
|
9
|
+
export {};
|
|
@@ -23,6 +23,7 @@ export interface ChatPaneProps {
|
|
|
23
23
|
title?: string;
|
|
24
24
|
/** Session-list metadata for the shared title details. */
|
|
25
25
|
sessionSummary?: DaemonSessionSummary;
|
|
26
|
+
showSessionDetails?: boolean;
|
|
26
27
|
/** Last interacted pane, independent of whether its session is running. */
|
|
27
28
|
isActive?: boolean;
|
|
28
29
|
/** Must be referentially stable; reports pending state and unmount cleanup. */
|
|
@@ -96,4 +97,4 @@ export interface ChatPaneProps {
|
|
|
96
97
|
* state, approvals, and composer, and the browser scopes keyboard focus to the
|
|
97
98
|
* pane the user clicks into — so there is no cross-pane approval arbitration.
|
|
98
99
|
*/
|
|
99
|
-
export declare function ChatPane({ title, sessionSummary, isActive, onApprovalChange, workspaceCwd, renderHeaderActions, onClose, onToggleMaximize, isMaximized, onError, onImageIngestionNotice, onSlashCommand, modelManagement, unavailableModels, mountUnavailableModelTooltip, onOpenGoals, onRightPanelOpen, onOpenMonitor, onPaneArtifactsChange, registerContextUsageControls, onBeforeContextCompress, onOpenContextUsage, messageTurnOutputs, embedded, onFirstPromptAdmitted, reportCatalogTurnCompletion, hidden, voiceUserRevision, voiceWorkspaceRevisions, voiceWorkspaces, sessionWorkflowEnabled, showResponseTokensPerSecond, planControlVisible, }: ChatPaneProps): import("react/jsx-runtime").JSX.Element;
|
|
100
|
+
export declare function ChatPane({ title, sessionSummary, showSessionDetails, isActive, onApprovalChange, workspaceCwd, renderHeaderActions, onClose, onToggleMaximize, isMaximized, onError, onImageIngestionNotice, onSlashCommand, modelManagement, unavailableModels, mountUnavailableModelTooltip, onOpenGoals, onRightPanelOpen, onOpenMonitor, onPaneArtifactsChange, registerContextUsageControls, onBeforeContextCompress, onOpenContextUsage, messageTurnOutputs, embedded, onFirstPromptAdmitted, reportCatalogTurnCompletion, hidden, voiceUserRevision, voiceWorkspaceRevisions, voiceWorkspaces, sessionWorkflowEnabled, showResponseTokensPerSecond, planControlVisible, }: ChatPaneProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -37,10 +37,8 @@ export interface MessageListProps {
|
|
|
37
37
|
}) => Promise<void>;
|
|
38
38
|
/**
|
|
39
39
|
* Identity of the session whose transcript `messages` show. Block ids are
|
|
40
|
-
* per-session ordinals, so changing it resets
|
|
41
|
-
*
|
|
42
|
-
* scroll anchor, the settled-stale-message latch) — a direct session switch
|
|
43
|
-
* never renders empty messages.
|
|
40
|
+
* per-session ordinals, so changing it resets the reading pause, collapse
|
|
41
|
+
* overrides, pagination keep-open, pending page snapshots and scroll anchor.
|
|
44
42
|
*/
|
|
45
43
|
sessionKey?: string;
|
|
46
44
|
transcriptBlockCount?: number;
|
|
@@ -38,12 +38,13 @@ export declare function deriveSessionCards(sessions: DaemonSessionSummary[], cur
|
|
|
38
38
|
* A malformed daemon payload must not white-screen the shell; contain any
|
|
39
39
|
* render throw to the panel, mirroring DaemonStatusDialog.
|
|
40
40
|
*/
|
|
41
|
-
export declare function SessionOverviewPanel({ onOpenSession, onOpenSplit, onCurrentSessionRemoved, includeOtherWorkspaces, workspaceCwd, manageLiveState, }: {
|
|
41
|
+
export declare function SessionOverviewPanel({ onOpenSession, onOpenSplit, onCurrentSessionRemoved, includeOtherWorkspaces, workspaceCwd, manageLiveState, onLiveStateWorkspaceCwdsChange, }: {
|
|
42
42
|
onOpenSession: (sessionId: string, workspaceCwd?: string, sessionContext?: DaemonProductSessionContext) => void;
|
|
43
43
|
onOpenSplit?: (sessionIds: string[]) => void;
|
|
44
44
|
onCurrentSessionRemoved?: (session: SessionIdentity) => Promise<boolean | void> | boolean | void;
|
|
45
45
|
includeOtherWorkspaces?: boolean;
|
|
46
46
|
workspaceCwd?: string;
|
|
47
47
|
manageLiveState?: boolean;
|
|
48
|
+
onLiveStateWorkspaceCwdsChange?: (cwds: readonly string[]) => void;
|
|
48
49
|
}): import("react/jsx-runtime").JSX.Element;
|
|
49
50
|
export {};
|
|
@@ -26,6 +26,8 @@ export interface SplitViewProps {
|
|
|
26
26
|
* each render would re-fire the reporting effect and loop.
|
|
27
27
|
*/
|
|
28
28
|
onPanesChange?: (sessionIds: string[]) => void;
|
|
29
|
+
/** Report the resolved owners of mounted panes for the app-level poller. */
|
|
30
|
+
onPaneWorkspacesChange?: (cwds: readonly string[]) => void;
|
|
29
31
|
onAssistantTurnSettled?: (event: WebShellAssistantTurnSettledEvent) => void;
|
|
30
32
|
/**
|
|
31
33
|
* Report panes surfacing approvals, including hidden panes. Keep stable while
|
|
@@ -74,4 +76,4 @@ export interface SplitViewProps {
|
|
|
74
76
|
* naturally scopes the keyboard to the pane the user clicks into, so panes never
|
|
75
77
|
* fight over which session an approval or Enter belongs to.
|
|
76
78
|
*/
|
|
77
|
-
export declare function SplitView({ sessionIds, showSessionDetails, onPanesChange, onAssistantTurnSettled, onPendingPanesChange, onExit, onError, onImageIngestionNotice, onSlashCommand, modelManagement, unavailableModels, mountUnavailableModelTooltip, onOpenGoals, onRightPanelOpen, onOpenMonitor, onPaneArtifactsChange, registerContextUsageControls, onBeforeContextCompress, onOpenContextUsage, messageTurnOutputs, renderPaneHeaderActions, includeOtherWorkspaces, workspaceCwd, restartSseOnPrompt, historyPageSize, voiceUserRevision, voiceWorkspaceRevisions, voiceWorkspaces, sessionWorkflowEnabled, showResponseTokensPerSecond, planControlVisible, }: SplitViewProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
export declare function SplitView({ sessionIds, showSessionDetails, onPanesChange, onPaneWorkspacesChange, onAssistantTurnSettled, onPendingPanesChange, onExit, onError, onImageIngestionNotice, onSlashCommand, modelManagement, unavailableModels, mountUnavailableModelTooltip, onOpenGoals, onRightPanelOpen, onOpenMonitor, onPaneArtifactsChange, registerContextUsageControls, onBeforeContextCompress, onOpenContextUsage, messageTurnOutputs, renderPaneHeaderActions, includeOtherWorkspaces, workspaceCwd, restartSseOnPrompt, historyPageSize, voiceUserRevision, voiceWorkspaceRevisions, voiceWorkspaces, sessionWorkflowEnabled, showResponseTokensPerSecond, planControlVisible, }: SplitViewProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
1
2
|
interface StreamingStatusProps {
|
|
2
3
|
startedAt?: number;
|
|
3
4
|
backgroundLabel?: string;
|
|
@@ -16,6 +17,8 @@ interface StreamingStatusProps {
|
|
|
16
17
|
*/
|
|
17
18
|
hasActivePrompt?: boolean;
|
|
18
19
|
showResponseTokensPerSecond?: boolean;
|
|
20
|
+
/** Optional control rendered after the status metadata, e.g. the minigame. */
|
|
21
|
+
trailing?: ReactNode;
|
|
19
22
|
}
|
|
20
|
-
export declare function StreamingStatus({ startedAt, backgroundLabel, showPhrase, hasActivePrompt, showResponseTokensPerSecond, }: StreamingStatusProps): import("react/jsx-runtime").JSX.Element | null;
|
|
23
|
+
export declare function StreamingStatus({ startedAt, backgroundLabel, showPhrase, hasActivePrompt, showResponseTokensPerSecond, trailing, }: StreamingStatusProps): import("react/jsx-runtime").JSX.Element | null;
|
|
21
24
|
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { type WaitingActivityDay, type WaitingTokenUsage } from '../utils/waitingActivity';
|
|
7
|
+
export interface WaitingMinigameProps {
|
|
8
|
+
open: boolean;
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
activity?: readonly WaitingActivityDay[];
|
|
11
|
+
tokenUsage?: WaitingTokenUsage;
|
|
12
|
+
/** Jump to the message that represents the clicked activity bucket. */
|
|
13
|
+
onSelectActivity?: (messageId: string) => void;
|
|
14
|
+
/** Game entry is opt-in; the activity and token views are always available. */
|
|
15
|
+
gamesEnabled?: boolean;
|
|
16
|
+
/** Delay before the game entry appears; the product default is 5s. */
|
|
17
|
+
entryDelayMs?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function WaitingMinigame({ open, onClose, activity, tokenUsage, onSelectActivity, gamesEnabled, entryDelayMs, }: WaitingMinigameProps): import("react/jsx-runtime").JSX.Element | null;
|
|
20
|
+
export interface WaitingMinigameButtonProps {
|
|
21
|
+
open: boolean;
|
|
22
|
+
onToggle: () => void;
|
|
23
|
+
}
|
|
24
|
+
export declare function WaitingMinigameButton({ open, onToggle, }: WaitingMinigameButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -42,6 +42,7 @@ export type ArtifactPanelTab = {
|
|
|
42
42
|
workspaceCwd?: string;
|
|
43
43
|
workspaceId?: string;
|
|
44
44
|
changes?: readonly TurnOutputFileChange[];
|
|
45
|
+
unfilteredChanges?: readonly TurnOutputFileChange[];
|
|
45
46
|
selectedPath?: string;
|
|
46
47
|
sourceTurnId?: string;
|
|
47
48
|
sourceSessionId?: string;
|
|
@@ -12,19 +12,36 @@ export interface TrendSeries {
|
|
|
12
12
|
/** Color slot shared with the model card. */
|
|
13
13
|
color: string;
|
|
14
14
|
samples: TimingSample[];
|
|
15
|
+
/** Samples from a daemon without full-request speed; see `isLegacySpeed`. */
|
|
16
|
+
legacySpeed?: boolean;
|
|
15
17
|
failures: FailureSample[];
|
|
16
18
|
}
|
|
17
19
|
export type TrendMetric = 'speed' | 'ttft';
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Whether these totals come from a daemon before full-request output speed.
|
|
22
|
+
* Its sums and samples only support the rate over the generation window.
|
|
23
|
+
*/
|
|
24
|
+
export declare function isLegacySpeed(generation: DaemonSessionStatsModelMetrics['generation']): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Output tokens per second over `durationMs`; undefined without output tokens
|
|
27
|
+
* (no usage reported) or time.
|
|
28
|
+
*/
|
|
29
|
+
export declare function tokensPerSecond(outputTokens: number, durationMs: number): number | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Output tokens per second over the time from sending the request to its last
|
|
32
|
+
* visible output, TTFT included. From an older daemon, over the generation
|
|
33
|
+
* window when it is long enough to measure a rate.
|
|
34
|
+
*/
|
|
35
|
+
export declare function sampleSpeed(sample: TimingSample, legacy?: boolean): number | undefined;
|
|
20
36
|
/** Linear-interpolated quantile of an unsorted list; undefined when empty. */
|
|
21
37
|
export declare function quantile(values: number[], q: number): number | undefined;
|
|
22
38
|
export declare function TokenUsageTrend({ series }: {
|
|
23
39
|
series: TrendSeries[];
|
|
24
40
|
}): import("react/jsx-runtime").JSX.Element;
|
|
25
41
|
/** Per-model output-speed spread: every sample as a dot on a shared scale. */
|
|
26
|
-
export declare function SpeedSpread({ samples, scaleMax, }: {
|
|
42
|
+
export declare function SpeedSpread({ samples, legacy, scaleMax, }: {
|
|
27
43
|
samples: TimingSample[];
|
|
44
|
+
legacy: boolean;
|
|
28
45
|
scaleMax: number;
|
|
29
46
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
30
47
|
export {};
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { DaemonToolTranscriptBlock } from '@qwen-code/sdk/daemon';
|
|
7
7
|
import type { ACPToolCall } from '../../adapters/types';
|
|
8
|
+
import { stringifyValue } from '../messages/toolFormatting';
|
|
8
9
|
/** The longest stretch of one argument or result put in the DOM by default. */
|
|
9
10
|
export declare const MAX_DETAIL_LENGTH = 4000;
|
|
10
|
-
export
|
|
11
|
+
export { stringifyValue };
|
|
11
12
|
/** Valid JSON renders as a code block; anything else stays plain text. */
|
|
12
13
|
export declare function ToolCallDetail({ text, limit, }: {
|
|
13
14
|
text: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DaemonSessionArtifact } from '@qwen-code/sdk/daemon';
|
|
2
|
+
import type { Message } from '../../adapters/types';
|
|
3
|
+
import type { TurnOutputFileChange } from './TurnOutputs';
|
|
4
|
+
export declare function useWorkspaceFileChanges(messages: readonly Message[], artifactsByTurn: ReadonlyMap<string, readonly DaemonSessionArtifact[]>, workspaceCwd: string, sessionId?: string, gitCwd?: string | null): ReadonlyMap<string, readonly TurnOutputFileChange[]>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TurnOutputFileChange } from './TurnOutputs';
|
|
2
|
+
export declare function fileChangeOwnerSessionId(sessionId: string): string | undefined;
|
|
3
|
+
export declare function workspaceRelativeChangePath(filePath: string, workspaceCwd: string): string | undefined;
|
|
4
|
+
export declare function loadGitIgnoredChangePaths(paths: readonly string[], load: (batch: string[]) => Promise<{
|
|
5
|
+
ignoredPaths: string[];
|
|
6
|
+
}>): Promise<ReadonlySet<string>>;
|
|
7
|
+
export declare function filterWorkspaceFileChanges(byTurn: ReadonlyMap<string, readonly TurnOutputFileChange[]>, workspaceCwd: string, ignoredPaths?: ReadonlySet<string>, knownPaths?: ReadonlySet<string>): ReadonlyMap<string, readonly TurnOutputFileChange[]>;
|
|
@@ -30,7 +30,7 @@ export interface ChannelGroupOverrideDraft {
|
|
|
30
30
|
senders: '' | 'open' | 'allowlist';
|
|
31
31
|
allowedUsers: string;
|
|
32
32
|
}
|
|
33
|
-
export type ChannelEditorValidationCode = 'required' | 'credential' | 'duplicate' | 'invalid' | 'invalidGroupId' | 'invalidOption' | 'invalidRepoId' | 'conflictingRepoAliases' | 'invalidGroupEntry' | 'number' | 'outOfRange' | 'policy' | 'requiresBoundDelivery';
|
|
33
|
+
export type ChannelEditorValidationCode = 'required' | 'credential' | 'duplicate' | 'invalid' | 'invalidGroupId' | 'invalidOption' | 'invalidRepoId' | 'repoFilterRequired' | 'conflictingRepoAliases' | 'invalidGroupEntry' | 'number' | 'outOfRange' | 'policy' | 'requiresBoundDelivery';
|
|
34
34
|
export type ChannelEditorValidationErrors = Record<string, ChannelEditorValidationCode>;
|
|
35
35
|
/** Access fields that only gate direct messages, which repository-only channels never receive. */
|
|
36
36
|
export declare const PRIVATE_ONLY_FIELD_KEYS: Set<string>;
|
|
@@ -40,6 +40,33 @@ export declare const PRIVATE_ONLY_FIELD_KEYS: Set<string>;
|
|
|
40
40
|
* and a row for a half-typed repository would only flicker.
|
|
41
41
|
*/
|
|
42
42
|
export declare function repositoryAllowlistIds(value: string): string[];
|
|
43
|
+
/** Whether the repository event filter processes a list at all. */
|
|
44
|
+
export declare function isRepoFilterActive(mode: unknown): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* GitHub areas whose two-segment URLs look like `owner/repo` but are not
|
|
47
|
+
* repositories. Shortening one would silently filter a nonexistent
|
|
48
|
+
* repository — fatal under an allowlist — so these URLs pass through
|
|
49
|
+
* unchanged and validation rejects them by name instead.
|
|
50
|
+
*
|
|
51
|
+
* Best-effort by construction: a denylist of GitHub's top-level paths cannot
|
|
52
|
+
* be complete, and a future GitHub area can reintroduce the hazard until it
|
|
53
|
+
* is added here. The enumerated test over this set keeps every listed root
|
|
54
|
+
* rejected; the residual risk is documented in the design doc.
|
|
55
|
+
*
|
|
56
|
+
* Exported so the test can enumerate every member instead of sampling a few.
|
|
57
|
+
*/
|
|
58
|
+
export declare const GITHUB_RESERVED_URL_PATHS: Set<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Canonicalize the repository filter input: lowercase, deduplicate, strip
|
|
61
|
+
* trailing sentence punctuation a paste can carry (`.`, `)`, …), and shorten
|
|
62
|
+
* GitHub web URLs (repository, PR, or issue pages, with an optional `.git`,
|
|
63
|
+
* trailing path, query, or fragment) to `owner/repo` — only when the URL's
|
|
64
|
+
* host is the channel's own GitHub web host and its path is not the baseUrl's
|
|
65
|
+
* API prefix. Entries that are not repository URLs on that host pass through
|
|
66
|
+
* unchanged so validation can name them. Shared by the validator and the save
|
|
67
|
+
* path so the two cannot disagree.
|
|
68
|
+
*/
|
|
69
|
+
export declare function normalizeRepositoryFilterInput(value: string, baseUrl?: string): string;
|
|
43
70
|
export declare function toList(value: string): string[];
|
|
44
71
|
/**
|
|
45
72
|
* The one record rule, shared by validation, the save path, and the editor's
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import type { DaemonChannelDelivery } from '@qwen-code/sdk/daemon';
|
|
7
|
+
export declare function sameDelivery(left: DaemonChannelDelivery | null, right: DaemonChannelDelivery | null): boolean;
|
|
8
|
+
export declare function ScheduledTaskDeliveryFields({ delivery, onChange, available, observedContactsAvailable, workspaceId, workspaceCwd, workspaceMissing, perRun, disabled, }: {
|
|
9
|
+
delivery: DaemonChannelDelivery | null;
|
|
10
|
+
onChange: (delivery: DaemonChannelDelivery | null) => void;
|
|
11
|
+
available: boolean;
|
|
12
|
+
observedContactsAvailable: boolean;
|
|
13
|
+
workspaceId?: string;
|
|
14
|
+
workspaceCwd?: string;
|
|
15
|
+
workspaceMissing: boolean;
|
|
16
|
+
perRun: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,11 +18,13 @@ interface ScheduledTasksDialogProps {
|
|
|
18
18
|
/** Open a task's bound session — its transcript IS the task's run history.
|
|
19
19
|
* When absent, tasks fall back to the inline fire-timestamp list. */
|
|
20
20
|
onOpenSession?: (sessionId: string, workspaceCwd?: string) => void;
|
|
21
|
-
/** Registered workspaces
|
|
21
|
+
/** Registered workspaces from daemon capabilities.
|
|
22
22
|
* When more than one is present the page aggregates every trusted workspace's
|
|
23
23
|
* tasks (each card tagged with its workspace) and the New-task form offers a
|
|
24
24
|
* workspace picker. Absent or a single entry → the plain primary-only view. */
|
|
25
25
|
workspaces?: DaemonWorkspaceCapability[];
|
|
26
|
+
/** Explicit primary cwd for capabilities without a workspace list. */
|
|
27
|
+
primaryWorkspaceCwd?: string;
|
|
26
28
|
/** Forces all task operations through this workspace's route. */
|
|
27
29
|
lockedWorkspace?: DaemonWorkspaceCapability;
|
|
28
30
|
currentSession?: DaemonSessionSummary;
|
|
@@ -31,10 +33,12 @@ interface ScheduledTasksDialogProps {
|
|
|
31
33
|
* command and the request carries it. An older daemon would drop the field
|
|
32
34
|
* silently, so it is never sent without the capability. */
|
|
33
35
|
gateAvailable?: boolean;
|
|
36
|
+
deliveryAvailable?: boolean;
|
|
37
|
+
observedContactsAvailable?: boolean;
|
|
34
38
|
/** The daemon advertises `autofix_pr_watches`: the card of an
|
|
35
39
|
* `/autofix-pr` watch's task shows the watch's state, and can stop it. */
|
|
36
40
|
autofixPrWatchesAvailable?: boolean;
|
|
37
41
|
onError: (error: unknown, fallback: string) => void;
|
|
38
42
|
}
|
|
39
|
-
export declare function ScheduledTasksDialog({ onRunPrompt, onCreateViaChat, onOpenSession, workspaces, lockedWorkspace, currentSession, currentSessionSchedulingAvailable, gateAvailable, autofixPrWatchesAvailable, onError, }: ScheduledTasksDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare function ScheduledTasksDialog({ onRunPrompt, onCreateViaChat, onOpenSession, workspaces, primaryWorkspaceCwd, lockedWorkspace, currentSession, currentSessionSchedulingAvailable, gateAvailable, deliveryAvailable, observedContactsAvailable, autofixPrWatchesAvailable, onError, }: ScheduledTasksDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
40
44
|
export {};
|
|
@@ -24,6 +24,20 @@ export interface LocalControlStatus {
|
|
|
24
24
|
sleepInhibited?: boolean;
|
|
25
25
|
encrypted?: boolean;
|
|
26
26
|
interfaces?: LanCandidate[];
|
|
27
|
+
/**
|
|
28
|
+
* The address the operator granted with `--local-control-address` when it
|
|
29
|
+
* lies outside the automatic candidate list, present only while the host
|
|
30
|
+
* still holds it. Never folded into `interfaces`: that list is the
|
|
31
|
+
* automatic-candidate set other clients resolve against.
|
|
32
|
+
*/
|
|
33
|
+
explicitCandidate?: LanCandidate;
|
|
34
|
+
/**
|
|
35
|
+
* The address the operator granted with `--local-control-address`, reported
|
|
36
|
+
* from the daemon's recorded grant rather than from live interface state.
|
|
37
|
+
* Unlike `explicitCandidate` it survives the host temporarily losing the
|
|
38
|
+
* address (VPN down, DHCP move) while the listener stays bound to it.
|
|
39
|
+
*/
|
|
40
|
+
grantedAddress?: string;
|
|
27
41
|
}
|
|
28
42
|
export declare class LocalControlRequestError extends Error {
|
|
29
43
|
readonly payload?: LocalControlStatus | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ManagedDiagnosticsProvider } from './managed-agent-provider';
|
|
2
|
+
type Kind = 'tools' | 'files' | 'skills';
|
|
3
|
+
export declare function ManagedActivityView({ provider, sessionId, clientId, kind, running, }: {
|
|
4
|
+
provider: ManagedDiagnosticsProvider;
|
|
5
|
+
sessionId: string;
|
|
6
|
+
clientId: string;
|
|
7
|
+
kind: Kind;
|
|
8
|
+
running: boolean;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ManagedDiagnosticsProvider } from './managed-agent-provider';
|
|
2
|
+
export declare function ManagedDiagnosticsPanel({ provider, sessionId, clientId, running, revision, onClose, restoreFocus, onOpenChild, }: {
|
|
3
|
+
provider: ManagedDiagnosticsProvider;
|
|
4
|
+
sessionId: string;
|
|
5
|
+
clientId: string;
|
|
6
|
+
running: boolean;
|
|
7
|
+
revision?: string;
|
|
8
|
+
onClose(): void;
|
|
9
|
+
restoreFocus(): void;
|
|
10
|
+
onOpenChild?(sessionId: string): void;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ManagedAgentProvider } from './managed-agent-provider';
|
|
2
|
+
import type { ManagedExtensionCatalog, ManagedExtensionInspection, ManagedExtensionSnapshot } from './managed-extension-types';
|
|
3
|
+
export interface ManagedExtensionInstallerProps {
|
|
4
|
+
provider: ManagedAgentProvider;
|
|
5
|
+
workspaceId: string;
|
|
6
|
+
sessionId: string;
|
|
7
|
+
catalog: ManagedExtensionCatalog;
|
|
8
|
+
snapshot: ManagedExtensionSnapshot;
|
|
9
|
+
initialKind?: 'skill' | 'extension' | 'mcp';
|
|
10
|
+
skillsOnly?: boolean;
|
|
11
|
+
editing?: {
|
|
12
|
+
extensionId: string;
|
|
13
|
+
inspection: ManagedExtensionInspection;
|
|
14
|
+
};
|
|
15
|
+
onChanged: () => void;
|
|
16
|
+
onInstalled?: () => void;
|
|
17
|
+
onExitEdit?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare function buildManagedMcpInput(input: {
|
|
20
|
+
name: string;
|
|
21
|
+
serverName: string;
|
|
22
|
+
transport: string;
|
|
23
|
+
command: string;
|
|
24
|
+
args: string;
|
|
25
|
+
url: string;
|
|
26
|
+
environment: string;
|
|
27
|
+
headers: string;
|
|
28
|
+
secretKeys: string[];
|
|
29
|
+
timeout?: number;
|
|
30
|
+
}): Blob;
|
|
31
|
+
export declare function ManagedExtensionInstaller(props: ManagedExtensionInstallerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -4,5 +4,6 @@ export interface ManagedExtensionsManagerPageProps {
|
|
|
4
4
|
workspaceId?: string;
|
|
5
5
|
sessionId?: string;
|
|
6
6
|
onClose: () => void;
|
|
7
|
+
view?: 'extensions' | 'skills';
|
|
7
8
|
}
|
|
8
|
-
export declare function ManagedExtensionsManagerPage({ provider, workspaceId, sessionId, onClose, }: ManagedExtensionsManagerPageProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function ManagedExtensionsManagerPage({ provider, workspaceId, sessionId, onClose, view, }: ManagedExtensionsManagerPageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ManagedDiagnosticAgentTrace, ManagedDiagnosticsProvider } from './managed-agent-provider';
|
|
2
|
+
type Invocation = ManagedDiagnosticAgentTrace['items'][number];
|
|
3
|
+
type Props = {
|
|
4
|
+
provider: ManagedDiagnosticsProvider;
|
|
5
|
+
sessionId: string;
|
|
6
|
+
clientId: string;
|
|
7
|
+
running: boolean;
|
|
8
|
+
onOpenChild?(sessionId: string): void;
|
|
9
|
+
};
|
|
10
|
+
export declare function ManagedInvocationTree({ items, ...props }: Props & {
|
|
11
|
+
items: Invocation[];
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -4,5 +4,6 @@ export interface ManagedMcpManagerPageProps {
|
|
|
4
4
|
sessionId?: string;
|
|
5
5
|
workspaceId?: string;
|
|
6
6
|
onClose?: () => void;
|
|
7
|
+
onOpenExtensions?: () => void;
|
|
7
8
|
}
|
|
8
9
|
export declare function ManagedMcpManagerPage(props: ManagedMcpManagerPageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { ManagedAgentPendingQuestionAction, ManagedAgentQuestionResponse } from './managed-agent-provider';
|
|
2
|
-
export
|
|
2
|
+
export type ManagedQuestionDraft = Record<string, {
|
|
3
|
+
optionIds: string[];
|
|
4
|
+
text: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function ManagedQuestionForm({ action, draft, onDraftChange, submitting, disabled, onSubmit, }: {
|
|
3
7
|
action: ManagedAgentPendingQuestionAction;
|
|
8
|
+
draft: ManagedQuestionDraft;
|
|
9
|
+
onDraftChange(draft: ManagedQuestionDraft): void;
|
|
10
|
+
submitting: boolean;
|
|
4
11
|
disabled?: boolean;
|
|
5
12
|
onSubmit(response: ManagedAgentQuestionResponse): Promise<void>;
|
|
6
13
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
1
2
|
import type { WorkspaceSelectorOption } from '../WorkspaceSelector';
|
|
2
3
|
import type { ManagedCreationSkillsSource } from './managed-creation-skills';
|
|
3
4
|
import { type ManagedArchivedSessionsStatus } from './ManagedArchivedSessions';
|
|
4
5
|
import type { ManagedAgentProvider, ManagedAgentWorkspace } from './managed-agent-provider';
|
|
5
|
-
export declare function ManagedSessionsPage({ sessionId, workspaceCreationOpen, onWorkspaceCreationOpenChange, onWorkspaceCreated, onOpenLocalWorkspace, daemonWorkspaces, onSelectDaemonWorkspace, onWorkspacesChange, onSelectSession, onOpenSession, workspaceId, onSelectWorkspace, onSessionWorkspaceChange, managedAgentProvider, hostSessionOnly, navigationTarget, archivedNavigationTarget, onArchivedSessionsStatusChange, interactive, creationSkills, navigationActive, navigationSearch, }: {
|
|
6
|
+
export declare function ManagedSessionsPage({ sessionId, workspaceCreationOpen, onWorkspaceCreationOpenChange, onWorkspaceCreated, onOpenLocalWorkspace, daemonWorkspaces, onSelectDaemonWorkspace, onWorkspacesChange, onSelectSession, onOpenSession, workspaceId, onSelectWorkspace, onSessionWorkspaceChange, managedAgentProvider, hostSessionOnly, navigationTarget, archivedNavigationTarget, onArchivedSessionsStatusChange, renderNavigation, renderArchivedNavigation, interactive, creationSkills, navigationActive, navigationSearch, }: {
|
|
6
7
|
sessionId?: string;
|
|
7
8
|
workspaceCreationOpen?: boolean;
|
|
8
9
|
onWorkspaceCreationOpenChange?: (open: boolean) => void;
|
|
@@ -22,6 +23,9 @@ export declare function ManagedSessionsPage({ sessionId, workspaceCreationOpen,
|
|
|
22
23
|
navigationTarget?: HTMLElement | null;
|
|
23
24
|
archivedNavigationTarget?: HTMLElement | null;
|
|
24
25
|
onArchivedSessionsStatusChange?: (status: ManagedArchivedSessionsStatus) => void;
|
|
26
|
+
/** Wraps the portaled Session list so a host slot outside the shell keeps scoped CSS. */
|
|
27
|
+
renderNavigation?: (navigation: ReactNode) => ReactNode;
|
|
28
|
+
renderArchivedNavigation?: (archived: ReactNode) => ReactNode;
|
|
25
29
|
interactive?: boolean;
|
|
26
30
|
creationSkills?: ManagedCreationSkillsSource;
|
|
27
31
|
navigationActive?: boolean;
|