@qwen-code/web-shell 0.26.5-nightly.20261101.7b4b353750 → 0.26.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PierreFilePreview-Bv9TGp1f.js → PierreFilePreview-BqZBliqk.js} +1 -1
- package/dist/{SpreadsheetPreview-DS68HfFp.js → SpreadsheetPreview-Bn-HzKXD.js} +2 -2
- package/dist/{WorkspaceFileBrowser-DvLZSVTe.js → WorkspaceFileBrowser-BSNZoggH.js} +2 -2
- package/dist/{agents-route-DSGTFqET.js → agents-route-B1Ckyab-.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/{index-B_wpcKAs.js → index-minpPSyG.js} +51147 -52219
- package/dist/index.js +3 -3
- package/dist/sw.js +1 -1
- package/dist/transcript.js +3226 -3309
- package/dist/types/components/WorkflowModeControl.d.ts +8 -0
- package/dist/types/components/composer/AddMenu.d.ts +1 -3
- package/dist/types/components/plugins/PluginManagerPage.d.ts +1 -2
- package/dist/types/components/plugins/manager-page.d.ts +0 -1
- package/dist/types/components/sidebar/WebShellSidebar.d.ts +3 -6
- package/dist/types/utils/standalone-session-routing.d.ts +1 -20
- package/dist/{useDaemonMidTurnInjected-CZfHzDlj.js → useDaemonMidTurnInjected-CyCL08_O.js} +1173 -1257
- package/package.json +1 -1
- package/dist/types/components/sidebar/ActivityView.d.ts +0 -41
- package/dist/types/components/sidebar/SidebarSectionHeader.d.ts +0 -7
- package/dist/types/components/sidebar/activity-messages.d.ts +0 -4
- package/dist/types/components/sidebar/activity-model.d.ts +0 -34
- package/dist/types/components/sidebar/pinned-session-order.d.ts +0 -2
- package/dist/types/components/sidebar/use-activity-catalog.d.ts +0 -31
- package/dist/types/components/workflow-mode-control-state.d.ts +0 -32
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DaemonWorkflowMode, DaemonWorkflowModeStatus } from '@qwen-code/web-shell/daemon-react-sdk';
|
|
2
|
+
export interface WorkflowModeControlProps {
|
|
3
|
+
workflowMode?: DaemonWorkflowMode;
|
|
4
|
+
workflowModeStatus?: DaemonWorkflowModeStatus;
|
|
5
|
+
workflowModePending?: boolean;
|
|
6
|
+
onWorkflowModeChange?: (requested: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function WorkflowModeControl({ workflowMode, workflowModeStatus: status, workflowModePending: pending, onWorkflowModeChange, }: WorkflowModeControlProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -3,7 +3,6 @@ import { type SkillInfo } from '../../completions/slashCompletion';
|
|
|
3
3
|
import type { CommandDisplayCategoryOrder } from '../../utils/commandDisplay';
|
|
4
4
|
import type { WebShellComposerTag } from '../../customization';
|
|
5
5
|
import type { AtMentionWorkspaceActions } from '../../hooks/useAtMentionSources';
|
|
6
|
-
import { type WorkflowModeControlOptions } from '../workflow-mode-control-state';
|
|
7
6
|
export interface AddMenuProps {
|
|
8
7
|
disabled?: boolean;
|
|
9
8
|
availabilityKey: string;
|
|
@@ -24,7 +23,6 @@ export interface AddMenuProps {
|
|
|
24
23
|
* Omitted when the host has not enabled Plan.
|
|
25
24
|
*/
|
|
26
25
|
plan?: AddMenuPlanControl;
|
|
27
|
-
workflow?: WorkflowModeControlOptions;
|
|
28
26
|
btw?: {
|
|
29
27
|
onSelect: () => void;
|
|
30
28
|
disabledReason?: string;
|
|
@@ -46,4 +44,4 @@ export interface AddMenuPlanControl {
|
|
|
46
44
|
disabled?: boolean;
|
|
47
45
|
onToggle: () => void;
|
|
48
46
|
}
|
|
49
|
-
export declare function AddMenu({ disabled, availabilityKey, addFileAvailable, uploadAvailable, onAddFiles, onFilePickerCancel, onInsertReference, onPrependSkill, getWorkspaceActions, skills, onSkillsOpenChange, skillsLoading, skillsLoadError, skillsLoaded, plan,
|
|
47
|
+
export declare function AddMenu({ disabled, availabilityKey, addFileAvailable, uploadAvailable, onAddFiles, onFilePickerCancel, onInsertReference, onPrependSkill, getWorkspaceActions, skills, onSkillsOpenChange, skillsLoading, skillsLoadError, skillsLoaded, plan, btw, mobileActions, commandsOnly, simpleMode, }: AddMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,7 +5,6 @@ type PluginTab = 'extensions' | 'mcp' | 'skills' | 'agents';
|
|
|
5
5
|
interface PluginManagerPageProps {
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
onUseSkill: (name: string) => void;
|
|
8
|
-
showBackButton?: boolean;
|
|
9
8
|
initialFocusRef?: Ref<HTMLButtonElement>;
|
|
10
9
|
initialTab?: PluginTab;
|
|
11
10
|
skillsWorkspaceCwd?: string;
|
|
@@ -14,5 +13,5 @@ interface PluginManagerPageProps {
|
|
|
14
13
|
managedExtensions?: Omit<ManagedExtensionsManagerPageProps, 'onClose'>;
|
|
15
14
|
managedMcp?: ManagedMcpManagerPageProps;
|
|
16
15
|
}
|
|
17
|
-
export declare function PluginManagerPage({ onClose, onUseSkill,
|
|
16
|
+
export declare function PluginManagerPage({ onClose, onUseSkill, initialFocusRef, initialTab, skillsWorkspaceCwd, onSkillsWorkspaceChange, managedSkills, managedExtensions, managedMcp, }: PluginManagerPageProps): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export {};
|
|
@@ -33,7 +33,7 @@ export interface WebShellSidebarFooterOptions {
|
|
|
33
33
|
export declare const DEFAULT_FOOTER_ITEMS: readonly WebShellSidebarFooterItem[];
|
|
34
34
|
export declare const DESKTOP_DEFAULT_FOOTER_ITEMS: readonly WebShellSidebarFooterItem[];
|
|
35
35
|
export declare const DEFAULT_PRIMARY_NAV_ITEMS: readonly WebShellSidebarPrimaryNavItem[];
|
|
36
|
-
export type WebShellSidebarSessionActionItem = 'details' | 'rename' | 'group' | 'export' | 'delete' | 'pin' | '
|
|
36
|
+
export type WebShellSidebarSessionActionItem = 'details' | 'rename' | 'group' | 'export' | 'delete' | 'pin' | 'archive';
|
|
37
37
|
/** Subset of action items that have working inline (hover-button) handlers. */
|
|
38
38
|
export type WebShellSidebarSessionInlineActionItem = 'pin' | 'rename' | 'export' | 'delete';
|
|
39
39
|
export interface WebShellSidebarSessionActionsOptions {
|
|
@@ -46,7 +46,7 @@ export interface WebShellSidebarSessionActionsOptions {
|
|
|
46
46
|
* archive a session.
|
|
47
47
|
* Only items that also pass their built-in visibility condition are rendered.
|
|
48
48
|
* Only items with working inline handlers are accepted
|
|
49
|
-
* (details/group/archive
|
|
49
|
+
* (details/group/archive are dropdown-only).
|
|
50
50
|
* Recent sessions use dedicated Pin and Archive buttons instead of this
|
|
51
51
|
* layout; the items policy still controls whether those actions are enabled.
|
|
52
52
|
* Archived rows use Export and Restore inline, independently of this option.
|
|
@@ -92,8 +92,6 @@ interface WebShellSidebarProps {
|
|
|
92
92
|
/** Opens the Workspaces overview panel (table of registered workspaces). */
|
|
93
93
|
onOpenWorkspacesOverview?: () => void;
|
|
94
94
|
onOpenSplitView: () => void;
|
|
95
|
-
onAddSessionToSplitView?: (sessionId: string) => void;
|
|
96
|
-
splitSessionIds?: readonly string[];
|
|
97
95
|
/** Whether to offer the in-window split view (large screens only). */
|
|
98
96
|
canOpenSplitView?: boolean;
|
|
99
97
|
onNewSession: (workspaceCwd?: string) => Promise<boolean> | boolean;
|
|
@@ -106,7 +104,6 @@ interface WebShellSidebarProps {
|
|
|
106
104
|
*/
|
|
107
105
|
onOpenHostSession?: (origin: string, sessionId: string, workspaceCwd?: string) => void;
|
|
108
106
|
onSelectCurrentSession?: () => void;
|
|
109
|
-
onSessionArchived?: (sessionId: string, workspaceCwd: string) => void;
|
|
110
107
|
onSessionRenameConfirmed?: (workspaceCwd: string | undefined, sessionId: string, displayName: string) => void;
|
|
111
108
|
/**
|
|
112
109
|
* `attachedSessionId` is the session this client was attached to when the
|
|
@@ -185,4 +182,4 @@ interface WebShellSidebarProps {
|
|
|
185
182
|
onLoadStandaloneSession?: (sessionId: string, displayName?: string) => Promise<void> | void;
|
|
186
183
|
onStandaloneNotice?: (message: string) => void;
|
|
187
184
|
}
|
|
188
|
-
export declare function WebShellSidebar({ collapsed, layout, activePage, containerWidth, onOpenHome, onCollapsedChange, onOpenSettings, canOpenSettings, onOpenAgents, onOpenPlugins, onOpenChannels, onOpenLive, onLiveVoiceSlotChange, onOpenManagedSessions, onOpenDaemonStatus, onOpenScheduledTasks, onOpenPrWatches, onOpenWorkflows, onOpenGoals, onOpenSessions, canOpenSessionsOverview, onOpenWorkspacesOverview, onOpenSplitView,
|
|
185
|
+
export declare function WebShellSidebar({ collapsed, layout, activePage, containerWidth, onOpenHome, onCollapsedChange, onOpenSettings, canOpenSettings, onOpenAgents, onOpenPlugins, onOpenChannels, onOpenLive, onLiveVoiceSlotChange, onOpenManagedSessions, onOpenDaemonStatus, onOpenScheduledTasks, onOpenPrWatches, onOpenWorkflows, onOpenGoals, onOpenSessions, canOpenSessionsOverview, onOpenWorkspacesOverview, onOpenSplitView, canOpenSplitView, onNewSession, onNewStandaloneSession, onLoadSession, onOpenHostSession, onSelectCurrentSession, onSessionRenameConfirmed, onSessionsDeleted, onError, theme, onThemeChange, mobileOpen, onMobileClose, selectedWorkspaceCwd, onSelectWorkspace, onOpenGitDiff, onOpenCommit, onOpenAddWorkspace, workspaces: providedWorkspaces, lockedWorkspaceCwd, lockedWorkspace: lockedWorkspaceOptions, branding, primaryNav: primaryNavOptions, sessionContent, sessionHeader, managedWorkspaces, managedArchivedSessions, archivedSessionsTarget, onSearchQueryChange, currentSessionActive, showSessionSourceSwitch, showLive, hideProjectHeader, sessionActions: sessionActionsOptions, footer, workspaceOverview, onOpenWorkspaceManagement, onNewWorktreeSession, projectFeaturesEnabled, onLoadStandaloneSession, onStandaloneNotice, }: WebShellSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +1,2 @@
|
|
|
1
1
|
import { type DaemonClient, type DaemonCapabilities } from '@qwen-code/sdk/daemon';
|
|
2
|
-
|
|
3
|
-
* Outcome of classifying one session id for the workspace split view.
|
|
4
|
-
*
|
|
5
|
-
* - `standalone`: the id resolves in the standalone registry, so it is
|
|
6
|
-
* ineligible for a workspace split and is dropped silently.
|
|
7
|
-
* - `workspace`: the id is provably absent from the standalone registry
|
|
8
|
-
* (404 `standalone_session_not_found`), so it belongs to the workspace and
|
|
9
|
-
* is kept.
|
|
10
|
-
* - `failed`: classification could not complete (non-404 error). The id is
|
|
11
|
-
* dropped, but unlike the other two outcomes it is reported separately so
|
|
12
|
-
* the caller can surface the failure instead of opening a partial split
|
|
13
|
-
* silently.
|
|
14
|
-
*/
|
|
15
|
-
export type SplitSessionOutcome = 'standalone' | 'workspace' | 'failed';
|
|
16
|
-
export interface SplitSessionClassification {
|
|
17
|
-
kept: string[];
|
|
18
|
-
transientFailures: string[];
|
|
19
|
-
}
|
|
20
|
-
export type SplitSessionClassifier = (sessionId: string) => Promise<SplitSessionOutcome>;
|
|
21
|
-
export declare function keepWorkspaceSplitSessionIds(client: DaemonClient, capabilities: DaemonCapabilities | undefined, sessionIds: readonly string[], classify?: SplitSessionClassifier): Promise<SplitSessionClassification>;
|
|
2
|
+
export declare function keepWorkspaceSplitSessionIds(client: DaemonClient, capabilities: DaemonCapabilities | undefined, sessionIds: readonly string[]): Promise<string[]>;
|