@qwen-code/web-shell 0.27.4 → 0.28.0-nightly.20261120.19b31401f5

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 (217) hide show
  1. package/NOTICES.txt +464 -0
  2. package/README.md +4 -3
  3. package/dist/{PierreFilePreview-BMd8Nqyr.js → PierreFilePreview-CfXrxlQc.js} +1 -1
  4. package/dist/{SpreadsheetPreview-MnZX4z-A.js → SpreadsheetPreview-BPurJ_TG.js} +11 -11
  5. package/dist/{WorkspaceFileBrowser-CvJS8MdL.js → WorkspaceFileBrowser-SyFKPQPx.js} +189 -189
  6. package/dist/WorkspacePdfRangePreview-CsiD3ccc.js +22384 -0
  7. package/dist/agents-route-V3vhM8Gj.js +1746 -0
  8. package/dist/daemon-react-sdk.js +1 -1
  9. package/dist/i18n-ru-CfZvlNRX.js +4399 -0
  10. package/dist/i18n-zh-cn-oYBQlyci.js +4455 -0
  11. package/dist/i18n-zh-tw-meIHyJiH.js +5548 -0
  12. package/dist/{index-ENe4NzKy.js → index-B1Jw6-bY.js} +76003 -78380
  13. package/dist/index.js +3 -3
  14. package/dist/sw.js +1 -1
  15. package/dist/terminal-runtime-BQaN1NCS.js +7881 -0
  16. package/dist/transcript.js +14748 -14211
  17. package/dist/types/App.d.ts +6 -2
  18. package/dist/types/adapters/messageTypes.d.ts +10 -1
  19. package/dist/types/adapters/toolClassification.d.ts +2 -1
  20. package/dist/types/adapters/transcriptAdapter.d.ts +8 -0
  21. package/dist/types/browser-notifications/messages.d.ts +1 -0
  22. package/dist/types/browser-notifications/messages.transcript-stub.d.ts +1 -0
  23. package/dist/types/chat-core/capabilities.d.ts +3 -0
  24. package/dist/types/chat-core/contract.d.ts +106 -0
  25. package/dist/types/chat-core/intent.d.ts +8 -0
  26. package/dist/types/completions/sendCompletion.d.ts +28 -0
  27. package/dist/types/completions/slashCompletion.d.ts +8 -1
  28. package/dist/types/components/BranchPickerPopover.d.ts +11 -1
  29. package/dist/types/components/ChatContextHeader.d.ts +11 -1
  30. package/dist/types/components/ChatEditor.d.ts +7 -1
  31. package/dist/types/components/ChatPane.d.ts +3 -1
  32. package/dist/types/components/ComposerStatusStack.d.ts +8 -0
  33. package/dist/types/components/ComposerTaskChips.d.ts +5 -2
  34. package/dist/types/components/GoalStatusStrip.d.ts +23 -2
  35. package/dist/types/components/LocalFilesControl.d.ts +40 -1
  36. package/dist/types/components/ManagedLocalFilesControl.d.ts +3 -1
  37. package/dist/types/components/MessageItem.d.ts +2 -0
  38. package/dist/types/components/MessageList.d.ts +1 -0
  39. package/dist/types/components/ReportedArtifactRegistration.d.ts +25 -0
  40. package/dist/types/components/RestartRecoveryPanel.d.ts +22 -0
  41. package/dist/types/components/SessionGoalMarker.d.ts +24 -0
  42. package/dist/types/components/ToastHost.d.ts +27 -1
  43. package/dist/types/components/UnavailableModelTooltip.d.ts +4 -2
  44. package/dist/types/components/WebShellTranscript.d.ts +3 -1
  45. package/dist/types/components/artifacts/ArtifactPanel.d.ts +47 -2
  46. package/dist/types/components/artifacts/ArtifactsListPanel.d.ts +13 -0
  47. package/dist/types/components/artifacts/ChangeOverviewPanel.d.ts +4 -0
  48. package/dist/types/components/artifacts/SessionPanel.d.ts +19 -0
  49. package/dist/types/components/artifacts/WorkspacePdfRangePreview.d.ts +10 -0
  50. package/dist/types/components/artifacts/artifactUtils.d.ts +9 -5
  51. package/dist/types/components/artifacts/change-overview.d.ts +102 -0
  52. package/dist/types/components/artifacts/files-messages.d.ts +33 -0
  53. package/dist/types/components/artifacts/files-messages.transcript-stub.d.ts +1 -0
  54. package/dist/types/components/artifacts/token-usage-messages.d.ts +1 -0
  55. package/dist/types/components/artifacts/token-usage-messages.transcript-stub.d.ts +1 -0
  56. package/dist/types/components/artifacts/useChangeOverview.d.ts +21 -0
  57. package/dist/types/components/channels/channel-events-messages.d.ts +1 -0
  58. package/dist/types/components/channels/channel-platform.d.ts +1 -1
  59. package/dist/types/components/dialogs/GoalsDialog.d.ts +2 -1
  60. package/dist/types/components/managed/ManagedArtifactLibraryPage.d.ts +15 -0
  61. package/dist/types/components/managed/ManagedSurfaceDecisionsDialog.d.ts +1 -0
  62. package/dist/types/components/managed/ManagedTerminalPanel.d.ts +0 -1
  63. package/dist/types/components/managed/ManagedWorkspaceNavigation.d.ts +2 -1
  64. package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +14 -2
  65. package/dist/types/components/managed/chat-capabilities.d.ts +5 -0
  66. package/dist/types/components/managed/generated/managed-agent-api.d.ts +100 -6
  67. package/dist/types/components/managed/java-managed-agent-client.d.ts +21 -0
  68. package/dist/types/components/managed/managed-agent-provider.d.ts +4 -1
  69. package/dist/types/components/managed/managed-artifact-library-messages.d.ts +8 -0
  70. package/dist/types/components/managed/managed-artifact-library-messages.transcript-stub.d.ts +8 -0
  71. package/dist/types/components/managed/managed-diagnostics-messages.d.ts +167 -167
  72. package/dist/types/components/managed/managed-extension-install.d.ts +3 -0
  73. package/dist/types/components/managed/managed-extension-messages.d.ts +1 -0
  74. package/dist/types/components/managed/managed-lifecycle-messages.d.ts +40 -0
  75. package/dist/types/components/managed/managed-lifecycle-messages.transcript-stub.d.ts +1 -0
  76. package/dist/types/components/managed/managed-mcp-messages.d.ts +1 -0
  77. package/dist/types/components/managed/managed-mcp-messages.transcript-stub.d.ts +1 -0
  78. package/dist/types/components/managed/managed-recovery-messages.d.ts +4 -1
  79. package/dist/types/components/managed/managed-surface-decisions.d.ts +10 -0
  80. package/dist/types/components/managed/managed-task-messages.d.ts +1 -0
  81. package/dist/types/components/managed/managed-task-messages.transcript-stub.d.ts +1 -0
  82. package/dist/types/components/managed/managed-tool-result-types.d.ts +6 -0
  83. package/dist/types/components/managed/managed-workspace-messages.d.ts +1 -0
  84. package/dist/types/components/managed/managed-workspace-messages.transcript-stub.d.ts +1 -0
  85. package/dist/types/components/managed/use-managed-recovery.d.ts +1 -2
  86. package/dist/types/components/message-deletion-messages.d.ts +1 -0
  87. package/dist/types/components/message-deletion-messages.transcript-stub.d.ts +1 -0
  88. package/dist/types/components/messages/AssistantMessage.d.ts +6 -1
  89. package/dist/types/components/messages/AssistantMessageRow.d.ts +13 -0
  90. package/dist/types/components/messages/AssistantMessageRow.transcript-stub.d.ts +6 -0
  91. package/dist/types/components/messages/BtwMessage.d.ts +6 -0
  92. package/dist/types/components/messages/HookStatistics.d.ts +4 -0
  93. package/dist/types/components/messages/HookStatistics.transcript-stub.d.ts +4 -0
  94. package/dist/types/components/messages/Markdown.d.ts +1 -0
  95. package/dist/types/components/messages/MemoryMessage.d.ts +1 -2
  96. package/dist/types/components/messages/ModAssistantMessage.d.ts +15 -0
  97. package/dist/types/components/messages/UserMessage.d.ts +5 -1
  98. package/dist/types/components/messages/WorkflowExecutionView.d.ts +4 -0
  99. package/dist/types/components/messages/hook-statistics-context.d.ts +13 -0
  100. package/dist/types/components/messages/hook-statistics-turns.d.ts +3 -0
  101. package/dist/types/components/messages/mod-rows.d.ts +53 -0
  102. package/dist/types/components/messages/session-link.d.ts +1 -0
  103. package/dist/types/components/sidebar/ActivityDateSessions.d.ts +22 -0
  104. package/dist/types/components/sidebar/SessionGroupSection.d.ts +4 -2
  105. package/dist/types/components/sidebar/SessionSortMenu.d.ts +15 -1
  106. package/dist/types/components/sidebar/WebShellSidebar.d.ts +1 -1
  107. package/dist/types/components/sidebar/activity-messages.d.ts +1 -0
  108. package/dist/types/components/sidebar/activity-model.d.ts +1 -1
  109. package/dist/types/components/streaming-tail.d.ts +8 -0
  110. package/dist/types/components/streaming-tail.transcript-stub.d.ts +6 -0
  111. package/dist/types/components/terminal/TerminalPanel.d.ts +0 -1
  112. package/dist/types/components/terminal/terminal-runtime.d.ts +8 -0
  113. package/dist/types/components/terminal/use-terminal-runtime.d.ts +6 -0
  114. package/dist/types/components/ui/dialog.d.ts +1 -0
  115. package/dist/types/components/ui/drawer.d.ts +1 -1
  116. package/dist/types/components/workspace-agents/add-runtime-dialog.d.ts +13 -5
  117. package/dist/types/components/workspace-agents/messages.d.ts +1 -0
  118. package/dist/types/components/workspace-agents/messages.transcript-stub.d.ts +1 -0
  119. package/dist/types/constants/approvalModes.d.ts +7 -0
  120. package/dist/types/constants/localCommands.d.ts +3 -1
  121. package/dist/types/constants/sessions.d.ts +1 -0
  122. package/dist/types/customization.d.ts +23 -2
  123. package/dist/types/daemon/chat-capabilities.d.ts +3 -0
  124. package/dist/types/daemon/chat-controller.d.ts +67 -0
  125. package/dist/types/daemon/chat-intents.d.ts +88 -0
  126. package/dist/types/daemon/permission-signals.d.ts +35 -0
  127. package/dist/types/daemon/session/types.d.ts +42 -2
  128. package/dist/types/daemon/useDaemonChatController.d.ts +15 -0
  129. package/dist/types/daemon/workspace/hooks/useDaemonAgents.d.ts +5 -0
  130. package/dist/types/daemon/workspace/hooks/useDaemonAuth.d.ts +5 -0
  131. package/dist/types/daemon/workspace/hooks/useDaemonChannelEvents.d.ts +5 -0
  132. package/dist/types/daemon/workspace/hooks/useDaemonDiagnostics.d.ts +14 -2
  133. package/dist/types/daemon/workspace/hooks/useDaemonMcp.d.ts +5 -0
  134. package/dist/types/daemon/workspace/hooks/useDaemonMemory.d.ts +5 -0
  135. package/dist/types/daemon/workspace/hooks/useDaemonProviders.d.ts +5 -0
  136. package/dist/types/daemon/workspace/hooks/useDaemonResource.d.ts +7 -1
  137. package/dist/types/daemon/workspace/hooks/useDaemonSessions.d.ts +6 -0
  138. package/dist/types/daemon/workspace/hooks/useDaemonSettings.d.ts +5 -0
  139. package/dist/types/daemon/workspace/hooks/useDaemonStatusReport.d.ts +5 -0
  140. package/dist/types/daemon/workspace/hooks/useDaemonTools.d.ts +5 -0
  141. package/dist/types/daemon/workspace/hooks/useDaemonUsageDashboard.d.ts +5 -0
  142. package/dist/types/generated-ui/instance-store.d.ts +4 -1
  143. package/dist/types/generated-ui/view-state.d.ts +51 -0
  144. package/dist/types/hooks/useAtMentionSources.d.ts +1 -1
  145. package/dist/types/hooks/useComposerCore.d.ts +22 -2
  146. package/dist/types/hooks/useComposerWorkspace.d.ts +7 -0
  147. package/dist/types/hooks/useIsTouchComposer.d.ts +1 -0
  148. package/dist/types/hooks/useModelConfigurations.d.ts +7 -0
  149. package/dist/types/hooks/useModelRefresh.d.ts +1 -0
  150. package/dist/types/hooks/useScopedSessions.d.ts +1 -0
  151. package/dist/types/hooks/useSessionArtifacts.d.ts +8 -2
  152. package/dist/types/hooks/useSubSessionTasks.d.ts +8 -0
  153. package/dist/types/i18n-catalogs.d.ts +3 -0
  154. package/dist/types/i18n-catalogs.eager.d.ts +3 -0
  155. package/dist/types/i18n-language.d.ts +2 -0
  156. package/dist/types/i18n-ru-part1.d.ts +1 -0
  157. package/dist/types/i18n-ru-part1.transcript-stub.d.ts +12 -0
  158. package/dist/types/i18n-ru-part2.d.ts +1 -0
  159. package/dist/types/i18n-ru-part2.transcript-stub.d.ts +12 -0
  160. package/dist/types/i18n-ru-part3.d.ts +1 -0
  161. package/dist/types/i18n-ru-part3.transcript-stub.d.ts +12 -0
  162. package/dist/types/i18n-ru-part4.d.ts +1 -0
  163. package/dist/types/i18n-ru-part4.transcript-stub.d.ts +12 -0
  164. package/dist/types/i18n-ru-part5.d.ts +1 -0
  165. package/dist/types/i18n-ru-part5.transcript-stub.d.ts +12 -0
  166. package/dist/types/i18n-ru-part6.d.ts +1 -0
  167. package/dist/types/i18n-ru-part6.transcript-stub.d.ts +12 -0
  168. package/dist/types/i18n-ru-remainder.d.ts +6 -0
  169. package/dist/types/i18n-ru-remainder.transcript-stub.d.ts +11 -0
  170. package/dist/types/i18n-ru.d.ts +7 -0
  171. package/dist/types/i18n-zh-cn.d.ts +7 -0
  172. package/dist/types/i18n-zh-tw.d.ts +8 -0
  173. package/dist/types/i18n-zh-tw.transcript-stub.d.ts +6 -0
  174. package/dist/types/i18n.d.ts +13 -2
  175. package/dist/types/index.d.ts +1 -1
  176. package/dist/types/live/messages.d.ts +1 -0
  177. package/dist/types/live/messages.transcript-stub.d.ts +1 -0
  178. package/dist/types/local-files/useLocalFilesBridge.d.ts +7 -1
  179. package/dist/types/local-files/useManagedLocalFilesBridge.d.ts +5 -1
  180. package/dist/types/mcp-app/messages.d.ts +1 -0
  181. package/dist/types/mcp-app/messages.transcript-stub.d.ts +1 -0
  182. package/dist/types/mcpAppHostContext.d.ts +4 -0
  183. package/dist/types/session-catalog/session-catalog-hooks.d.ts +5 -1
  184. package/dist/types/session-catalog/session-live-work.d.ts +39 -0
  185. package/dist/types/settings/messages.d.ts +1 -0
  186. package/dist/types/settings/messages.transcript-stub.d.ts +1 -0
  187. package/dist/types/settings.d.ts +3 -0
  188. package/dist/types/subagentDetailsContext.d.ts +9 -1
  189. package/dist/types/trajectory/buildTimeline.d.ts +1 -1
  190. package/dist/types/trajectory/execution-messages.d.ts +1 -0
  191. package/dist/types/trajectory/execution-messages.transcript-stub.d.ts +1 -0
  192. package/dist/types/trajectory/filter-messages.d.ts +1 -0
  193. package/dist/types/trajectory/filter-messages.transcript-stub.d.ts +1 -0
  194. package/dist/types/trajectory/project-trajectory-lifecycle.d.ts +1 -1
  195. package/dist/types/trajectory/trajectory-live-store.d.ts +3 -1
  196. package/dist/types/trajectory/types.d.ts +2 -0
  197. package/dist/types/trajectory/window-messages.d.ts +1 -0
  198. package/dist/types/trajectory/window-messages.transcript-stub.d.ts +1 -0
  199. package/dist/types/utils/askUserPermission.d.ts +1 -1
  200. package/dist/types/utils/composerTasks.d.ts +16 -4
  201. package/dist/types/utils/gitModeIntent.d.ts +14 -4
  202. package/dist/types/utils/imageIngestion.d.ts +1 -0
  203. package/dist/types/utils/planMode.d.ts +2 -2
  204. package/dist/types/utils/plural.d.ts +5 -0
  205. package/dist/types/utils/sendCommand.d.ts +31 -0
  206. package/dist/types/utils/sessionPreparation.d.ts +16 -14
  207. package/dist/types/vision-timeout-command.d.ts +17 -0
  208. package/dist/types/voice/VoiceButton.d.ts +9 -1
  209. package/dist/types/voice/messages.d.ts +1 -0
  210. package/dist/types/voice/messages.transcript-stub.d.ts +1 -0
  211. package/dist/types/voice/use-voice-workspace-settings.d.ts +1 -0
  212. package/dist/types/voice/useVoiceCapture.d.ts +8 -0
  213. package/dist/types/voice/voice-workspace-target.d.ts +1 -0
  214. package/dist/{useDaemonMidTurnInjected-BCExZTLK.js → useDaemonMidTurnInjected-BjQ9zxRv.js} +8475 -10940
  215. package/package.json +4 -1
  216. package/dist/agents-route-BYqfB9LM.js +0 -1727
  217. package/dist/types/components/managed/ManagedRecoveryPanel.d.ts +0 -9
@@ -5,3 +5,4 @@
5
5
  */
6
6
  export declare const MANAGED_TASK_MESSAGES_EN: {};
7
7
  export declare const MANAGED_TASK_MESSAGES_ZH: {};
8
+ export declare const MANAGED_TASK_MESSAGES_RU: {};
@@ -10,6 +10,12 @@ export type ManagedArtifactSave = (artifact: ManagedArtifact, options: {
10
10
  signal?: AbortSignal;
11
11
  openStream: () => Promise<ReadableStream<Uint8Array>>;
12
12
  }) => Promise<void>;
13
+ export interface ManagedWorkspaceArtifactReader {
14
+ listArtifacts(workspaceId: string, options: ManagedAgentRequestOptions & {
15
+ cursor?: string;
16
+ limit?: number;
17
+ }): Promise<ManagedArtifactPage>;
18
+ }
13
19
  export interface ManagedToolResultReader {
14
20
  readonly canDownload: boolean;
15
21
  getResult(sessionId: string, itemId: string, options: ManagedAgentRequestOptions): Promise<ManagedToolResultResponse>;
@@ -5,3 +5,4 @@
5
5
  */
6
6
  export declare const WORKSPACE_REGISTRATION_MESSAGES_EN: Record<string, string>;
7
7
  export declare const WORKSPACE_REGISTRATION_MESSAGES_ZH: Record<string, string>;
8
+ export declare const WORKSPACE_REGISTRATION_MESSAGES_RU: Record<string, string>;
@@ -5,3 +5,4 @@
5
5
  */
6
6
  export declare const WORKSPACE_REGISTRATION_MESSAGES_EN: {};
7
7
  export declare const WORKSPACE_REGISTRATION_MESSAGES_ZH: {};
8
+ export declare const WORKSPACE_REGISTRATION_MESSAGES_RU: {};
@@ -8,7 +8,6 @@ export declare function useManagedRecovery(provider: ManagedAgentProvider, clien
8
8
  actions: import("./generated/managed-agent-api").components["schemas"]["SessionRecoveryActions"];
9
9
  nextRecheckAt?: number;
10
10
  } | undefined;
11
- busy: boolean;
11
+ canSend: boolean | undefined;
12
12
  error: string | undefined;
13
- recheck: () => Promise<void>;
14
13
  };
@@ -5,3 +5,4 @@
5
5
  */
6
6
  export declare const MESSAGE_DELETION_MESSAGES_EN: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
7
7
  export declare const MESSAGE_DELETION_MESSAGES_ZH: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
8
+ export declare const MESSAGE_DELETION_MESSAGES_RU: Record<string, string | ((vars?: Record<string, string | number>) => string)>;
@@ -5,3 +5,4 @@
5
5
  */
6
6
  export declare const MESSAGE_DELETION_MESSAGES_EN: {};
7
7
  export declare const MESSAGE_DELETION_MESSAGES_ZH: {};
8
+ export declare const MESSAGE_DELETION_MESSAGES_RU: {};
@@ -1,7 +1,10 @@
1
+ import { type RefObject } from 'react';
1
2
  import { type WebShellAssistantFeedbackRating, type WebShellAssistantTurnFooterRenderInfo, type WebShellSource } from '../../customization';
2
3
  import type { DaemonSessionGenerationEvent, QwenAgentMessageMeta } from '@qwen-code/sdk/daemon';
3
4
  import type { DaemonMessageAuthor } from '../../adapters/messageTypes';
4
- interface AssistantMessageProps {
5
+ import type { HookStatisticsTurn } from './hook-statistics-context';
6
+ export interface AssistantMessageProps {
7
+ hookTurn?: HookStatisticsTurn;
5
8
  content: string;
6
9
  author?: DaemonMessageAuthor;
7
10
  /** A workspace agent's reply: its run status, error, steps and tokens. */
@@ -20,6 +23,8 @@ interface AssistantMessageProps {
20
23
  customFooterInfo?: WebShellAssistantTurnFooterRenderInfo;
21
24
  turnSources?: readonly WebShellSource[];
22
25
  onSourceOpen?: (source: WebShellSource) => void;
26
+ displayContent?: string;
27
+ copySource?: RefObject<HTMLDivElement | null>;
23
28
  }
24
29
  export declare const AssistantMessage: import("react").NamedExoticComponent<AssistantMessageProps>;
25
30
  interface ThinkingMessageProps {
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { type ComponentType } from 'react';
7
+ import { type AssistantMessageProps } from './AssistantMessage';
8
+ type AssistantMessageRowProps = AssistantMessageProps & {
9
+ messageId: string;
10
+ };
11
+ export declare const AssistantMessageComponentContext: import("react").Context<ComponentType<AssistantMessageRowProps> | undefined>;
12
+ export declare function AssistantMessageRow(props: AssistantMessageRowProps): import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export { AssistantMessage as AssistantMessageRow } from './AssistantMessage';
@@ -2,6 +2,12 @@ interface BtwMessageProps {
2
2
  question: string;
3
3
  answer: string;
4
4
  isPending: boolean;
5
+ /** Task explanations are button-triggered, not a typed /btw command. */
6
+ hidePrefix?: boolean;
7
+ /** The detail-panel mirror has no focusable surface of its own, so the
8
+ * composer panel's key hints would advertise keys that act on whatever
9
+ * control holds focus (Enter on the header "?" re-asks). */
10
+ hideShortcuts?: boolean;
5
11
  }
6
12
  export declare const BtwMessage: import("react").NamedExoticComponent<BtwMessageProps>;
7
13
  export {};
@@ -0,0 +1,4 @@
1
+ import { type HookStatisticsTurn } from './hook-statistics-context';
2
+ export declare const HookStatistics: import("react").NamedExoticComponent<{
3
+ turn: HookStatisticsTurn;
4
+ }>;
@@ -0,0 +1,4 @@
1
+ import type { HookStatisticsTurn } from './hook-statistics-context';
2
+ export declare function HookStatistics(_props: {
3
+ turn: HookStatisticsTurn;
4
+ }): null;
@@ -34,5 +34,6 @@ export declare function isSafeImageSrc(url: string | undefined, documentMode?: b
34
34
  * Every other href keeps the default sanitizer.
35
35
  */
36
36
  export declare function markdownUrlTransform(url: string, documentMode?: boolean): string;
37
+ export declare function isLocalFilePath(src: string | undefined): boolean;
37
38
  export declare const Markdown: import("react").NamedExoticComponent<MarkdownProps>;
38
39
  export {};
@@ -1,9 +1,8 @@
1
1
  import { type DaemonContextFileScope } from '@qwen-code/web-shell/daemon-react-sdk';
2
2
  interface MemoryMessageProps {
3
- refreshSignal?: number;
4
3
  addSignal?: number;
5
4
  addScope?: DaemonContextFileScope;
6
5
  onMessage?: (message: string, type?: 'status' | 'error') => void;
7
6
  }
8
- export declare function MemoryMessage({ refreshSignal, addSignal, addScope, onMessage, }: MemoryMessageProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function MemoryMessage({ addSignal, addScope, onMessage, }: MemoryMessageProps): import("react/jsx-runtime").JSX.Element;
9
8
  export {};
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { ReactNode } from 'react';
7
+ import type { Message } from '../../adapters/types';
8
+ import { type AssistantMessageProps } from './AssistantMessage';
9
+ export declare function ModReplyRowsProvider({ messages, children, }: {
10
+ messages: readonly Message[];
11
+ children: ReactNode;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ export declare function ModAssistantMessage({ messageId, ...props }: AssistantMessageProps & {
14
+ messageId: string;
15
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { DaemonInputAnnotation } from '@qwen-code/sdk/daemon';
1
+ import type { DaemonInputAnnotation, DaemonInputSourceAnnotation, SessionMessageTarget } from '@qwen-code/sdk/daemon';
2
2
  import type { ComposerTagClickHandler, ComposerTagRenderer, WebShellComposerTag, WebShellComposerTagIconMap } from '../../customization';
3
3
  import type { AttachmentPreviewRequest, DaemonMessageAuthor } from '../../adapters/messageTypes';
4
4
  import type { ImageTabSource } from '../artifacts/ArtifactPanel';
@@ -34,6 +34,10 @@ interface UserMessageProps {
34
34
  onAttachmentPreview?: (file: AttachmentPreviewRequest) => void;
35
35
  /** Set when a workspace agent, not the user, posted this message. */
36
36
  author?: DaemonMessageAuthor;
37
+ /** Set when another session sent this message here. */
38
+ sentFrom?: DaemonInputSourceAnnotation;
39
+ /** Set when the user sent this message to another session with `/send`. */
40
+ sentTo?: SessionMessageTarget;
37
41
  }
38
42
  export declare const UserMessage: import("react").NamedExoticComponent<UserMessageProps>;
39
43
  export declare function ReadonlyComposerTag({ tag, composerTagIcons, renderComposerTag, renderComposerTagTooltip, onComposerTagClick, title, preserveCustomKindLabel, }: {
@@ -25,6 +25,10 @@ export interface WorkflowGraphLayout {
25
25
  id: string | null;
26
26
  title: string;
27
27
  index: number;
28
+ /** Declared in `meta.phases` and not reached yet; it has no dispatches. */
29
+ planned?: {
30
+ detail?: string;
31
+ };
28
32
  }>;
29
33
  nodes: WorkflowGraphNode[];
30
34
  edges: WorkflowGraphEdge[];
@@ -0,0 +1,13 @@
1
+ import type { HookTurnPage, DaemonSessionTurnHooksPageOptions } from '@qwen-code/sdk/daemon';
2
+ import type { DaemonTurnNavigationStore } from '../../daemon/session/turn-navigation-store.js';
3
+ export interface HookStatisticsTurn {
4
+ sessionId: string;
5
+ promptId?: string;
6
+ recordId?: string;
7
+ }
8
+ export interface HookStatisticsSource {
9
+ sessionId: string;
10
+ navigation: DaemonTurnNavigationStore;
11
+ readPage(promptId: string, options: DaemonSessionTurnHooksPageOptions): Promise<HookTurnPage>;
12
+ }
13
+ export declare const HookStatisticsContext: import("react").Context<HookStatisticsSource | undefined>;
@@ -0,0 +1,3 @@
1
+ import type { Message } from '../../adapters/types';
2
+ import type { HookStatisticsTurn } from './hook-statistics-context';
3
+ export declare function collectHookStatisticsTurns(messages: readonly Message[], sessionId: string): ReadonlyMap<string, HookStatisticsTurn>;
@@ -0,0 +1,53 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { type RefObject } from 'react';
7
+ import type { DaemonModRow, DaemonModRowAnswer } from '@qwen-code/sdk/daemon';
8
+ import type { Message } from '../../adapters/types.js';
9
+ /** Asks a session's Mods for one row this client draws. */
10
+ export type ModRowAsk = (row: DaemonModRow) => Promise<DaemonModRowAnswer>;
11
+ /**
12
+ * The Mod rows of one session that this client draws. A row is asked once
13
+ * per props, one ask at a time, since the session's Mods render one row at a
14
+ * time anyway. A row that is no longer shown leaves the queue before it is
15
+ * asked. An ask that fails or goes unanswered is not kept, so the row is
16
+ * asked again the next time it is shown.
17
+ */
18
+ export declare class ModRowAsker {
19
+ private readonly ask;
20
+ private readonly answers;
21
+ private readonly unhooked;
22
+ private readonly waiting;
23
+ private asking;
24
+ constructor(ask: ModRowAsk);
25
+ /**
26
+ * The props a row draws with: those its hooks rewrote, null to draw its
27
+ * own, or undefined while it is not answered.
28
+ */
29
+ answer(row: DaemonModRow): Record<string, unknown> | null | undefined;
30
+ /**
31
+ * Shows a row until it is answered, calling `listener` once its answer is
32
+ * known. Returns the release.
33
+ */
34
+ watch(row: DaemonModRow, listener: () => void): () => void;
35
+ private pump;
36
+ private settle;
37
+ }
38
+ export declare const ModRowAskerContext: import("react").Context<ModRowAsker | undefined>;
39
+ /** Reply blocks and whether they open the reply. Ephemeral logs and thinking
40
+ * are skipped so a row keeps its identity when the transcript is replayed. */
41
+ export declare function modReplyRows(messages: readonly Message[]): Map<string, boolean>;
42
+ /**
43
+ * Whether the element intersects the viewport, watched only while `enabled`.
44
+ * Without IntersectionObserver a mounted element counts as shown.
45
+ */
46
+ export declare function useOnScreen(ref: RefObject<Element | null>, enabled: boolean): boolean;
47
+ /**
48
+ * The props the session's Mods drew a row with, once answered: undefined
49
+ * while `row` is unset, unanswered, or drawn as it is. The row is asked for
50
+ * only while `shown`; its answer stays drawn after it scrolls away, so the
51
+ * rows above the viewport keep their height.
52
+ */
53
+ export declare function useModRow(asker: ModRowAsker | undefined, row: DaemonModRow | undefined, shown: boolean): Record<string, unknown> | undefined;
@@ -0,0 +1 @@
1
+ export declare function openSessionLink(target: string): void;
@@ -0,0 +1,22 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { DaemonSessionSummary } from '@qwen-code/sdk/daemon';
3
+ import { type ActivityEntry } from './activity-model';
4
+ import type { SessionSort } from './SessionSortMenu';
5
+ export type ActivityDateGroupId = 'today' | 'thisWeek' | 'last30Days' | 'older';
6
+ export declare function groupActivityDateSessions(entries: readonly ActivityEntry[], sortBy: SessionSort, now?: number): Array<{
7
+ id: ActivityDateGroupId;
8
+ entries: ActivityEntry[];
9
+ }>;
10
+ interface ActivityDateSessionsProps {
11
+ entries: readonly ActivityEntry[];
12
+ sortBy: SessionSort;
13
+ loading: boolean;
14
+ unavailable: boolean;
15
+ hasMore: boolean;
16
+ onRetry: () => void;
17
+ renderSession: (entry: ActivityEntry) => ReactNode;
18
+ editingSessionIdentity?: string | null;
19
+ sessionIdentity: (session: DaemonSessionSummary) => string;
20
+ }
21
+ export declare function ActivityDateSessions({ entries, sortBy, loading, unavailable, hasMore, onRetry, renderSession, editingSessionIdentity, sessionIdentity, }: ActivityDateSessionsProps): import("react/jsx-runtime").JSX.Element;
22
+ export {};
@@ -7,7 +7,9 @@ export interface SessionGroupSectionProps {
7
7
  expanded: boolean;
8
8
  color?: DaemonSessionGroupColor;
9
9
  icon?: ReactNode;
10
- children: ReactNode;
10
+ children?: ReactNode;
11
+ itemCount?: number;
12
+ renderChildren?: (visibleCount: number) => ReactNode;
11
13
  onToggle: () => void;
12
14
  onRename?: () => void;
13
15
  onDelete?: () => void;
@@ -16,4 +18,4 @@ export interface SessionGroupSectionProps {
16
18
  actionsDisabled?: boolean;
17
19
  limitSessions?: boolean;
18
20
  }
19
- export declare function SessionGroupSection({ label, count, expanded, color, icon, children, onToggle, onRename, onDelete, renameLabel, deleteLabel, actionsDisabled, limitSessions, }: SessionGroupSectionProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function SessionGroupSection({ label, count, expanded, color, icon, children, itemCount, renderChildren, onToggle, onRename, onDelete, renameLabel, deleteLabel, actionsDisabled, limitSessions, }: SessionGroupSectionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,22 @@
1
+ import type { DaemonWorkspaceCapability } from '@qwen-code/sdk/daemon';
1
2
  export type SessionSort = 'updatedAt' | 'lastUserPromptAt';
3
+ export type SessionGroupBy = 'workspace' | 'activityDate';
4
+ export type WorkspaceFilter = 'all' | 'standalone' | `workspace:${string}`;
2
5
  export declare function readSessionSort(host: string): SessionSort;
3
6
  export declare function writeSessionSort(host: string, sort: SessionSort): void;
4
- export declare function SessionSortMenu({ value, onChange, triggerClassName, }: {
7
+ export declare function readSessionGroupBy(host: string): SessionGroupBy;
8
+ export declare function writeSessionGroupBy(host: string, groupBy: SessionGroupBy): void;
9
+ export declare function readWorkspaceFilter(host: string): WorkspaceFilter;
10
+ export declare function writeWorkspaceFilter(host: string, filter: WorkspaceFilter): void;
11
+ export declare function SessionSortMenu({ value, onChange, workspaceValue, onWorkspaceChange, groupValue, onGroupChange, groupEnabled, workspaces, sortEnabled, triggerClassName, }: {
5
12
  value: SessionSort;
6
13
  onChange: (value: SessionSort) => void;
14
+ workspaceValue: WorkspaceFilter;
15
+ onWorkspaceChange: (value: WorkspaceFilter) => void;
16
+ groupValue: SessionGroupBy;
17
+ onGroupChange: (value: SessionGroupBy) => void;
18
+ groupEnabled: boolean;
19
+ workspaces: readonly DaemonWorkspaceCapability[];
20
+ sortEnabled?: boolean;
7
21
  triggerClassName?: string;
8
22
  }): import("react/jsx-runtime").JSX.Element;
@@ -102,7 +102,7 @@ interface WebShellSidebarProps {
102
102
  onNewSession: (workspaceCwd?: string) => Promise<boolean> | boolean;
103
103
  onNewStandaloneSession?: () => Promise<boolean> | boolean;
104
104
  standaloneSessionsReloadToken?: number;
105
- onLoadSession: (sessionId: string, workspaceCwd?: string) => Promise<void> | void;
105
+ onLoadSession: (sessionId: string, workspaceCwd?: string, artifactCount?: number) => Promise<void> | void;
106
106
  /**
107
107
  * Opens a session listed by a fan-out host group (#13727): the caller
108
108
  * focuses that host in-app and loads the session there. When absent, the
@@ -1,4 +1,5 @@
1
1
  type Message = string | ((vars?: Record<string, string | number>) => string);
2
2
  export declare const ACTIVITY_MESSAGES_EN: Record<string, Message>;
3
3
  export declare const ACTIVITY_MESSAGES_ZH: Record<string, Message>;
4
+ export declare const ACTIVITY_MESSAGES_RU: Record<string, Message>;
4
5
  export {};
@@ -20,7 +20,7 @@ export declare function activityRecency({ session }: ActivityEntry): number;
20
20
  export declare function isActivityUnread(entry: ActivityEntry): boolean;
21
21
  export declare function activityState(entry: ActivityEntry): ActivityState;
22
22
  export declare function activityNeedsAttention(entry: ActivityEntry): boolean;
23
- export declare function isActivityEligible(entry: ActivityEntry, preferences: ActivityPreferences): boolean;
23
+ export declare function isActivityEligible(entry: ActivityEntry, preferences: ActivityPreferences, includeChildren?: boolean): boolean;
24
24
  export declare function openActivitySnapshot(entries: ActivityEntry[], preferences: ActivityPreferences, now?: number): ActivitySnapshot;
25
25
  export declare function updateActivitySnapshot(snapshot: ActivitySnapshot, entries: ActivityEntry[], preferences: ActivityPreferences): ActivitySnapshot;
26
26
  export declare function clearReadActivitySnapshot(snapshot: ActivitySnapshot, entries: ActivityEntry[], preferences: ActivityPreferences): ActivitySnapshot;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { Message } from '../adapters/types.js';
7
+ /** Negative index of the only streaming row that changed, skipping Mod logs. */
8
+ export declare function streamingTailUpdatePosition(previous: readonly Message[] | undefined, current: readonly Message[]): number | undefined;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export declare const streamingTailUpdatePosition: () => undefined;
@@ -3,7 +3,6 @@
3
3
  * Copyright 2025 Qwen Team
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import '@xterm/xterm/css/xterm.css';
7
6
  interface TerminalPanelProps {
8
7
  /** Stable id shared with the backend PTY session; reconnects reuse it. */
9
8
  terminalId: string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export { Terminal } from '@xterm/xterm';
7
+ export { FitAddon } from '@xterm/addon-fit';
8
+ export { default as styles } from '@xterm/xterm/css/xterm.css?inline';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export declare function useTerminalRuntime(enabled?: boolean): "failed" | typeof import("./terminal-runtime") | undefined;
@@ -7,6 +7,7 @@ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPri
7
7
  declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
8
  type DialogContentProps = React.ComponentProps<typeof DialogPrimitive.Content> & {
9
9
  showCloseButton?: boolean;
10
+ closeLabel?: string;
10
11
  overlayProps?: React.ComponentProps<typeof DialogPrimitive.Overlay>;
11
12
  };
12
13
  declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Drawer as DrawerPrimitive } from 'vaul';
3
3
  declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
4
+ declare const DrawerTrigger: React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Trigger> & React.RefAttributes<React.ComponentRef<typeof DrawerPrimitive.Trigger>>>;
5
5
  declare function DrawerPortal({ container, ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
6
  declare function DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
7
  declare const DrawerOverlay: React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Overlay> & React.RefAttributes<HTMLDivElement>>;
@@ -60,21 +60,29 @@ export declare function joinCommands(address: string, join: JoinToken): {
60
60
  /**
61
61
  * A join that went through, as the dialog sees it: whether the computer that
62
62
  * joined saved the connection. A `saveError` means it will not reconnect
63
- * after a restart or a workspace reload. `workspaceCwd`, from a remote
64
- * connect: the workspace the remote answered from, which its runtime
65
- * reports too. `false` is a connect that failed and was already reported
66
- * elsewhere; a failed join throws instead.
63
+ * after a restart or a workspace reload. The notice advises a rerun only on
64
+ * `recorded: true`: the credential then records this join's token, so the
65
+ * same join again goes on. Absent means unknown (an older daemon), and
66
+ * `recorded: false` means the rerun can be refused; neither earns the
67
+ * advice. `workspaceCwd`, from a remote connect: the workspace the remote
68
+ * answered from, which its runtime reports too. `false` is a connect that
69
+ * failed and was already reported elsewhere; a failed join throws instead.
67
70
  */
68
71
  export type RuntimeJoinOutcome = false | {
69
72
  saveError?: string;
70
73
  workspaceCwd?: string;
74
+ recorded?: boolean;
71
75
  };
72
76
  /**
73
77
  * Reads a `hosts/connect` answer, which `hosts/remote-connect` passes on. An
74
- * older daemon sends no `saved` field; it always claimed the save.
78
+ * older daemon sends no `saved` field; it always claimed the save. Nor
79
+ * `recorded`; absent means unknown, not recorded, and the notice then drops
80
+ * the remedy: a released daemon aborts the live connection on a token-bearing
81
+ * rerun and refuses the spent token.
75
82
  */
76
83
  export declare function joinOutcome(answer: unknown): {
77
84
  saveError?: string;
85
+ recorded?: boolean;
78
86
  };
79
87
  /**
80
88
  * The dialog's "I have its address and token" callback over `run`, which
@@ -13,4 +13,5 @@
13
13
  type CollabMessage = string | ((vars?: Record<string, string | number>) => string);
14
14
  export declare const COLLAB_MESSAGES_EN: Record<string, CollabMessage>;
15
15
  export declare const COLLAB_MESSAGES_ZH: Record<string, CollabMessage>;
16
+ export declare const COLLAB_MESSAGES_RU: Record<string, CollabMessage>;
16
17
  export {};
@@ -10,3 +10,4 @@
10
10
  */
11
11
  export declare const COLLAB_MESSAGES_EN: {};
12
12
  export declare const COLLAB_MESSAGES_ZH: {};
13
+ export declare const COLLAB_MESSAGES_RU: {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Neutral mirror of the SDK's permission-mode vocabulary, for shared
3
+ * composer code that must not value-import the daemon SDK. The parity test
4
+ * pins this list against `DAEMON_APPROVAL_MODES`; update both together.
5
+ */
6
+ export declare const APPROVAL_MODES: readonly ["plan", "default", "auto-edit", "auto", "yolo"];
7
+ export type ApprovalMode = (typeof APPROVAL_MODES)[number];
@@ -1,5 +1,5 @@
1
1
  import type { CommandInfo } from '../adapters/types';
2
- import type { useI18n } from '../i18n';
2
+ import { type useI18n } from '../i18n';
3
3
  type Translate = ReturnType<typeof useI18n>['t'];
4
4
  /**
5
5
  * Commands that should always appear in the slash-command completion menu,
@@ -10,6 +10,8 @@ type Translate = ReturnType<typeof useI18n>['t'];
10
10
  export declare function getLocalCommands(t: Translate, options?: {
11
11
  sideTaskAvailable?: boolean;
12
12
  subscriptionAvailable?: boolean;
13
+ /** The daemon accepts `/send` (`session_sub_session_send`). */
14
+ sendAvailable?: boolean;
13
15
  }): CommandInfo[];
14
16
  /**
15
17
  * i18n key for a known skill's localized menu description, or undefined for a
@@ -18,6 +18,7 @@ export declare const SESSION_TURN_NAVIGATION_FEATURE = "session_turn_navigation"
18
18
  export declare const SESSION_TIMELINE_MIN_VISIBLE_ENTRIES = 4;
19
19
  export declare const SESSION_MONITOR_TOOL_CORRELATION_FEATURE = "session_monitor_tool_correlation";
20
20
  export declare const SESSION_SIDE_TASK_FEATURE = "session_side_task";
21
+ export declare const SESSION_SUB_SESSION_SEND_FEATURE = "session_sub_session_send";
21
22
  export declare const WEB_SHELL_SESSION_SOURCE_TYPE = "default";
22
23
  export declare const WEB_SHELL_SIDE_TASK_SOURCE_TYPE = "side_task";
23
24
  export declare const WEB_SHELL_HISTORY_PAGE_SIZE = 200;
@@ -136,14 +136,14 @@ export interface ToolHeaderExtraRenderInfo {
136
136
  export type ToolHeaderExtraRenderer = (info: ToolHeaderExtraRenderInfo) => ReactNode;
137
137
  export type WelcomeHeaderRenderer = (props: WelcomeHeaderProps) => ReactNode;
138
138
  export type WelcomeFooterRenderer = (props: WelcomeHeaderProps) => ReactNode;
139
- export type WebShellChatHeaderItem = 'title' | 'environment' | 'rightPanel' | 'tokenUsage' | 'contextUsage';
139
+ export type WebShellChatHeaderItem = 'title' | 'environment' | 'rightPanel' | 'artifacts' | 'tokenUsage' | 'contextUsage';
140
140
  export interface WebShellChatHeaderOptions {
141
141
  /** Show the mobile-access QR entry in chat headers. Defaults to false. */
142
142
  showMobileAccess?: boolean;
143
143
  /** Built-in header actions to show. Token and context usage are opt-in. */
144
144
  items?: readonly WebShellChatHeaderItem[];
145
145
  }
146
- export type WebShellRightPanelItem = 'files' | 'review' | 'sideTask' | 'terminal' | 'webPreview' | 'trajectory';
146
+ export type WebShellRightPanelItem = 'files' | 'review' | 'sideTask' | 'terminal' | 'webPreview' | 'trajectory' | 'changeOverview';
147
147
  export interface WebShellRightPanelOptions {
148
148
  /** Empty-state actions to show. Defaults to review and sideTask. */
149
149
  items?: readonly WebShellRightPanelItem[];
@@ -181,6 +181,25 @@ export interface ChatHeaderRenderInfo {
181
181
  onOpenTokenUsage?: () => void;
182
182
  /** Opens context usage for the current session, when available. */
183
183
  onOpenContextUsage?: () => void;
184
+ /**
185
+ * Number of session artifacts. Published together with `onOpenArtifacts`
186
+ * only when the artifacts list tab can actually be opened or closed, so a
187
+ * count never appears without a way to act on it: either there are artifacts
188
+ * to reveal, or the artifacts list tab is the active right-panel tab and the
189
+ * entry serves as its close affordance.
190
+ */
191
+ artifactCount?: number;
192
+ /**
193
+ * Toggles the right panel's artifacts list tab, when available. Opening
194
+ * reveals the session's artifacts; clicking again closes the right panel.
195
+ */
196
+ onOpenArtifacts?: () => void;
197
+ /**
198
+ * Whether the artifacts list tab is the active right-panel tab. With zero
199
+ * artifacts the entry renders only in that case (as the close affordance),
200
+ * not while unrelated right-panel tabs are open.
201
+ */
202
+ artifactsTabActive?: boolean;
184
203
  /** Opens Settings deep-linked to Local Control (Daemon category). */
185
204
  onOpenLocalControlSettings?: () => void;
186
205
  }
@@ -558,6 +577,7 @@ export interface WebShellCustomization {
558
577
  renderUserMessageContent?: UserMessageContentRenderer;
559
578
  composerTagIcons?: WebShellComposerTagIconMap;
560
579
  composerVariant?: 'default' | 'simple';
580
+ composerGlowEnabled?: boolean;
561
581
  /**
562
582
  * Built-in / host @ mention providers. Split-view panes share this context
563
583
  * so they match the main composer without ChatPane prop drilling.
@@ -629,6 +649,7 @@ export interface WebShellCustomization {
629
649
  * expanded. Defaults to enabled when unset.
630
650
  */
631
651
  collapseCompletedTurns?: boolean;
652
+ overscan?: number;
632
653
  markdownTableMode?: MarkdownTableMode;
633
654
  markdown?: WebShellMarkdownCustomization;
634
655
  loadingPhrases?: LoadingPhrasesResolver;
@@ -0,0 +1,3 @@
1
+ import type { ServeFeature } from '@qwen-code/sdk/daemon';
2
+ import type { ChatRegion } from '../chat-core/capabilities.js';
3
+ export declare const DAEMON_CHAT_CAPABILITY_MAP: Record<ServeFeature, readonly ChatRegion[]>;