@qwen-code/web-shell 0.24.6-nightly.20260926.d6f414190a → 0.24.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/daemon-react-sdk.js +1 -1
  2. package/dist/index.js +47349 -45427
  3. package/dist/sw.js +1 -1
  4. package/dist/{toolNames-B0FO3NVV.js → toolNames-B0O1UjKB.js} +4194 -3923
  5. package/dist/transcript.js +8925 -8606
  6. package/dist/types/components/BranchPickerPopover.d.ts +2 -1
  7. package/dist/types/components/DesktopRelayControl.d.ts +51 -0
  8. package/dist/types/components/MessageList.d.ts +1 -0
  9. package/dist/types/components/artifacts/TrajectoryInspector.d.ts +15 -0
  10. package/dist/types/components/dialogs/BranchSessionDialog.d.ts +6 -0
  11. package/dist/types/components/dialogs/GitDiffDialog.d.ts +2 -1
  12. package/dist/types/components/dialogs/GitLogDialog.d.ts +2 -1
  13. package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +6 -0
  14. package/dist/types/components/managed/generated/managed-agent-api.d.ts +1074 -0
  15. package/dist/types/components/managed/java-managed-agent-client.d.ts +32 -113
  16. package/dist/types/components/managed/java-managed-agent-provider.d.ts +1 -0
  17. package/dist/types/components/managed/managed-agent-provider.d.ts +31 -1
  18. package/dist/types/components/messages/McpApp.d.ts +1 -1
  19. package/dist/types/components/messages/toolFormatting.d.ts +2 -0
  20. package/dist/types/components/panels/EnvironmentPanel.d.ts +2 -1
  21. package/dist/types/components/sidebar/WebShellSidebar.d.ts +1 -1
  22. package/dist/types/daemon/session/transcript-page-table.d.ts +10 -1
  23. package/dist/types/daemon/session/types.d.ts +2 -2
  24. package/dist/types/desktop-relay/desktop-relay-client.d.ts +63 -0
  25. package/dist/types/mcpAppHostContext.d.ts +7 -0
  26. package/dist/types/trajectory/summarizeTrajectory.d.ts +20 -0
  27. package/package.json +3 -1
@@ -11,6 +11,7 @@ interface BranchPickerPopoverProps {
11
11
  onOpenChange: (open: boolean) => void;
12
12
  workspaceCwd: string;
13
13
  gitCwd?: string;
14
+ gitSessionId?: string;
14
15
  side?: 'top' | 'right' | 'bottom' | 'left';
15
16
  onBranchChanged?: () => void;
16
17
  /**
@@ -73,5 +74,5 @@ export declare function deriveActionHints(t: TranslateFn, data: DaemonGitBranche
73
74
  * re-fetched. Exported for tests.
74
75
  */
75
76
  export declare function listingContradictsStatus(data: DaemonGitBranchesResult, status: DaemonWorkspaceGitStatus): boolean;
76
- export declare function BranchPickerPopover({ open, onOpenChange, workspaceCwd, gitCwd, side, onBranchChanged, status, onStatusRefreshed, onOpenDiff, onOpenCommit, onOpenWorktrees, onOpenLog, children, }: BranchPickerPopoverProps): import("react/jsx-runtime").JSX.Element;
77
+ export declare function BranchPickerPopover({ open, onOpenChange, workspaceCwd, gitCwd, gitSessionId, side, onBranchChanged, status, onStatusRefreshed, onOpenDiff, onOpenCommit, onOpenWorktrees, onOpenLog, children, }: BranchPickerPopoverProps): import("react/jsx-runtime").JSX.Element;
77
78
  export {};
@@ -0,0 +1,51 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { DaemonWorkspaceCapability } from '@qwen-code/sdk/daemon';
7
+ import { type DesktopRelayProbe } from '../desktop-relay/desktop-relay-client';
8
+ export type DesktopRelayPhase = 'unavailable' | 'needs-session' | 'checking' | 'permission-required' | 'missing' | 'unknown' | 'idle' | 'awaiting-approval' | 'connecting' | 'connected' | 'other-session' | 'failed';
9
+ export type DesktopRelayBlocker = 'insecure-context' | 'unsupported-daemon' | 'workspace-ineligible' | 'workspace-resolving';
10
+ export interface DesktopRelayStatus {
11
+ phase: DesktopRelayPhase;
12
+ blocker?: DesktopRelayBlocker;
13
+ message?: string;
14
+ canDisconnect?: boolean;
15
+ }
16
+ type DesktopRelayObservation = DesktopRelayProbe | {
17
+ kind: 'unknown';
18
+ };
19
+ export declare function retainLiveDesktopRelayProbe(previous: DesktopRelayObservation | undefined, next: DesktopRelayProbe, inconclusiveProbes?: number): DesktopRelayObservation;
20
+ /** Maps what the relay reports onto what this session can do next. */
21
+ export declare function deriveDesktopRelayStatus(input: {
22
+ blocker: DesktopRelayBlocker | undefined;
23
+ sessionId: string | undefined;
24
+ daemonUrl: string | undefined;
25
+ probe: DesktopRelayObservation | undefined;
26
+ awaitingApproval: boolean;
27
+ error: string | undefined;
28
+ }): DesktopRelayStatus;
29
+ export interface DesktopRelayPanelProps {
30
+ status: DesktopRelayStatus;
31
+ installCommand: string;
32
+ copied: boolean;
33
+ onConnect: () => void;
34
+ onDisconnect: () => void;
35
+ onCheckAgain: () => void;
36
+ onCopyCommand: () => void;
37
+ }
38
+ /** The popover body, prop-driven so every phase is testable without a daemon. */
39
+ export declare function DesktopRelayPanel({ status, installCommand, copied, onConnect, onDisconnect, onCheckAgain, onCopyCommand, }: DesktopRelayPanelProps): import("react/jsx-runtime").JSX.Element;
40
+ interface DesktopRelayControlProps {
41
+ /** Class for the trigger, supplied by the sidebar so it matches its neighbours. */
42
+ triggerClassName: string;
43
+ workspaces?: readonly DaemonWorkspaceCapability[];
44
+ showWhenIdle?: boolean;
45
+ }
46
+ /**
47
+ * "Use this computer": asks the relay on the viewer's computer to lend its
48
+ * node_repl to this session over the daemon's reverse tool channel.
49
+ */
50
+ export declare function DesktopRelayControl({ triggerClassName, workspaces, showWhenIdle, }: DesktopRelayControlProps): import("react/jsx-runtime").JSX.Element | null;
51
+ export {};
@@ -99,6 +99,7 @@ export interface MessageListProps {
99
99
  turnArtifacts?: ReadonlyMap<string, readonly DaemonSessionArtifact[]>;
100
100
  sourceEntries?: readonly WebShellSource[];
101
101
  sourceSessionId?: string;
102
+ mcpAppSessionId?: string;
102
103
  onSourceOpen?: (source: WebShellSource) => void;
103
104
  turnScheduledTasks?: ReadonlyMap<string, readonly TurnOutputScheduledTask[]>;
104
105
  onReviewChanges?: (changes: readonly TurnOutputFileChange[], selectedPath?: string) => void;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { TrajectoryRow } from '../../trajectory/types';
7
+ export declare function TrajectoryInspector({ row, title, stale, turnSelected, hiddenByRange, onClearRange, onClose, }: {
8
+ row?: TrajectoryRow;
9
+ title?: string;
10
+ stale?: boolean;
11
+ turnSelected?: boolean;
12
+ hiddenByRange: boolean;
13
+ onClearRange: () => void;
14
+ onClose: () => void;
15
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export type BranchSessionIsolation = 'current' | 'worktree';
2
+ export declare function BranchSessionDialog({ busy, onCancel, onConfirm, }: {
3
+ busy: boolean;
4
+ onCancel: () => void;
5
+ onConfirm: (isolation: BranchSessionIsolation) => void;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -3,9 +3,10 @@
3
3
  * Copyright 2026 Qwen Team
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- export declare function GitDiffContent({ workspaceCwd, gitCwd, onSubtitleChange, }: {
6
+ export declare function GitDiffContent({ workspaceCwd, gitCwd, gitSessionId, onSubtitleChange, }: {
7
7
  workspaceCwd: string;
8
8
  gitCwd?: string;
9
+ gitSessionId?: string;
9
10
  onSubtitleChange?: (subtitle: string | undefined) => void;
10
11
  }): import("react/jsx-runtime").JSX.Element;
11
12
  export declare function GitDiffDialog({ workspaceCwd, onClose, }: {
@@ -3,9 +3,10 @@
3
3
  * Copyright 2026 Qwen Team
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- export declare function GitLogContent({ workspaceCwd, gitCwd, onSubtitleChange, }: {
6
+ export declare function GitLogContent({ workspaceCwd, gitCwd, gitSessionId, onSubtitleChange, }: {
7
7
  workspaceCwd: string;
8
8
  gitCwd?: string;
9
+ gitSessionId?: string;
9
10
  onSubtitleChange?: (subtitle: string | undefined) => void;
10
11
  }): import("react/jsx-runtime").JSX.Element;
11
12
  export declare function GitLogDialog({ workspaceCwd, onClose, }: {
@@ -0,0 +1,6 @@
1
+ import type { ManagedAgentProvider } from './managed-agent-provider';
2
+ export declare function WorkspaceBindingCreator({ provider, clientId, onCreated, }: {
3
+ provider: ManagedAgentProvider;
4
+ clientId: string;
5
+ onCreated: (sessionId: string) => void;
6
+ }): import("react/jsx-runtime").JSX.Element;