@qwen-code/web-shell 0.28.1-preview.0 → 0.28.3-nightly.20261121.56ef346859
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/NOTICES.txt +464 -0
- package/README.md +4 -3
- package/dist/{PierreFilePreview-Dotc6rOk.js → PierreFilePreview-BirhX9A8.js} +1 -1
- package/dist/{SpreadsheetPreview-B9SWjSd8.js → SpreadsheetPreview-YvYBq0r3.js} +2 -2
- package/dist/{WorkspaceFileBrowser-Ckvcjlmo.js → WorkspaceFileBrowser-CuqdtAcy.js} +189 -189
- package/dist/WorkspacePdfRangePreview-D2qKhlQp.js +22384 -0
- package/dist/{agents-route-B5k1PKCM.js → agents-route-DGqnucS8.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/i18n-ru-CQurqwP6.js +4399 -0
- package/dist/i18n-zh-cn-C3owX7KJ.js +4457 -0
- package/dist/i18n-zh-tw-meIHyJiH.js +5548 -0
- package/dist/{index-Plc_8yWQ.js → index-CVklLnTX.js} +71066 -75714
- package/dist/index.js +3 -3
- package/dist/sw.js +1 -1
- package/dist/terminal-runtime-BQaN1NCS.js +7881 -0
- package/dist/transcript.js +15898 -15572
- package/dist/types/App.d.ts +6 -2
- package/dist/types/adapters/messageTypes.d.ts +11 -1
- package/dist/types/adapters/transcriptAdapter.d.ts +8 -0
- package/dist/types/completions/sendCompletion.d.ts +28 -0
- package/dist/types/completions/slashCompletion.d.ts +8 -1
- package/dist/types/components/ChatContextHeader.d.ts +8 -2
- package/dist/types/components/ChatEditor.d.ts +3 -1
- package/dist/types/components/ChatPane.d.ts +3 -1
- package/dist/types/components/ComposerStatusStack.d.ts +8 -0
- package/dist/types/components/ComposerTaskChips.d.ts +3 -2
- package/dist/types/components/GoalStatusStrip.d.ts +9 -0
- package/dist/types/components/RestartRecoveryPanel.d.ts +22 -0
- package/dist/types/components/SessionGoalMarker.d.ts +24 -0
- package/dist/types/components/UnavailableModelTooltip.d.ts +4 -2
- package/dist/types/components/WebShellTranscript.d.ts +3 -1
- package/dist/types/components/artifacts/ArtifactPanel.d.ts +26 -2
- package/dist/types/components/artifacts/ArtifactsListPanel.d.ts +13 -0
- package/dist/types/components/artifacts/SessionPanel.d.ts +19 -0
- package/dist/types/components/artifacts/WorkspacePdfRangePreview.d.ts +10 -0
- package/dist/types/components/artifacts/artifactUtils.d.ts +9 -5
- package/dist/types/components/artifacts/change-overview.d.ts +21 -14
- package/dist/types/components/channels/channel-platform.d.ts +1 -1
- package/dist/types/components/managed/ManagedArtifactLibraryPage.d.ts +15 -0
- package/dist/types/components/managed/ManagedSurfaceDecisionsDialog.d.ts +1 -0
- package/dist/types/components/managed/ManagedTerminalPanel.d.ts +0 -1
- package/dist/types/components/managed/ManagedWorkspaceNavigation.d.ts +2 -1
- package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +14 -2
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +100 -6
- package/dist/types/components/managed/java-managed-agent-client.d.ts +21 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +4 -1
- package/dist/types/components/managed/managed-artifact-library-messages.d.ts +8 -0
- package/dist/types/components/managed/managed-artifact-library-messages.transcript-stub.d.ts +8 -0
- package/dist/types/components/managed/managed-diagnostics-messages.d.ts +167 -167
- package/dist/types/components/managed/managed-extension-install.d.ts +3 -0
- package/dist/types/components/managed/managed-recovery-messages.d.ts +3 -1
- package/dist/types/components/managed/managed-surface-decisions.d.ts +10 -0
- package/dist/types/components/managed/managed-tool-result-types.d.ts +6 -0
- package/dist/types/components/managed/use-managed-recovery.d.ts +1 -2
- package/dist/types/components/messages/AssistantMessage.d.ts +9 -2
- package/dist/types/components/messages/AssistantMessageRow.d.ts +13 -0
- package/dist/types/components/messages/AssistantMessageRow.transcript-stub.d.ts +6 -0
- package/dist/types/components/messages/Markdown.d.ts +1 -0
- package/dist/types/components/messages/MemoryMessage.d.ts +1 -2
- package/dist/types/components/messages/ModAssistantMessage.d.ts +22 -0
- package/dist/types/components/messages/ThinkingBody.d.ts +20 -0
- package/dist/types/components/messages/ThinkingBody.transcript-stub.d.ts +8 -0
- package/dist/types/components/messages/ToolGroup.d.ts +2 -6
- package/dist/types/components/messages/UserMessage.d.ts +5 -1
- package/dist/types/components/messages/WorkflowExecutionView.d.ts +4 -0
- package/dist/types/components/messages/mod-rows.d.ts +53 -0
- package/dist/types/components/panels/EnvironmentPanel.d.ts +1 -7
- package/dist/types/components/sidebar/WebShellSidebar.d.ts +1 -1
- package/dist/types/components/streaming-tail.d.ts +8 -0
- package/dist/types/components/streaming-tail.transcript-stub.d.ts +6 -0
- package/dist/types/components/terminal/TerminalPanel.d.ts +0 -1
- package/dist/types/components/terminal/terminal-runtime.d.ts +8 -0
- package/dist/types/components/terminal/use-terminal-runtime.d.ts +6 -0
- package/dist/types/components/ui/dialog.d.ts +1 -0
- package/dist/types/components/ui/drawer.d.ts +1 -1
- package/dist/types/constants/approvalModes.d.ts +7 -0
- package/dist/types/constants/localCommands.d.ts +3 -1
- package/dist/types/constants/sessions.d.ts +1 -0
- package/dist/types/customization.d.ts +16 -3
- package/dist/types/daemon/chat-controller.d.ts +67 -0
- package/dist/types/daemon/chat-intents.d.ts +88 -0
- package/dist/types/daemon/permission-signals.d.ts +35 -0
- package/dist/types/daemon/session/types.d.ts +30 -0
- package/dist/types/daemon/useDaemonChatController.d.ts +15 -0
- package/dist/types/daemon/workspace/hooks/useDaemonAgents.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonAuth.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonChannelEvents.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonDiagnostics.d.ts +14 -2
- package/dist/types/daemon/workspace/hooks/useDaemonMcp.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonMemory.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonProviders.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonResource.d.ts +7 -1
- package/dist/types/daemon/workspace/hooks/useDaemonSessions.d.ts +6 -0
- package/dist/types/daemon/workspace/hooks/useDaemonSettings.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonStatusReport.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonTools.d.ts +5 -0
- package/dist/types/daemon/workspace/hooks/useDaemonUsageDashboard.d.ts +5 -0
- package/dist/types/generated-ui/instance-store.d.ts +4 -1
- package/dist/types/generated-ui/view-state.d.ts +51 -0
- package/dist/types/hooks/useAtMentionSources.d.ts +1 -1
- package/dist/types/hooks/useComposerCore.d.ts +4 -2
- package/dist/types/hooks/useComposerWorkspace.d.ts +7 -0
- package/dist/types/hooks/useIsTouchComposer.d.ts +1 -0
- package/dist/types/hooks/useModelConfigurations.d.ts +7 -0
- package/dist/types/hooks/useModelRefresh.d.ts +1 -0
- package/dist/types/hooks/useScopedSessions.d.ts +1 -0
- package/dist/types/hooks/useSessionArtifacts.d.ts +7 -0
- package/dist/types/hooks/useSubSessionTasks.d.ts +8 -0
- package/dist/types/i18n-catalogs.d.ts +3 -0
- package/dist/types/i18n-catalogs.eager.d.ts +3 -0
- package/dist/types/i18n-language.d.ts +2 -0
- package/dist/types/i18n-ru.d.ts +7 -0
- package/dist/types/i18n-zh-cn.d.ts +7 -0
- package/dist/types/i18n-zh-tw.d.ts +8 -0
- package/dist/types/i18n-zh-tw.transcript-stub.d.ts +6 -0
- package/dist/types/i18n.d.ts +7 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/mcpAppHostContext.d.ts +4 -0
- package/dist/types/session-catalog/session-catalog-hooks.d.ts +1 -0
- package/dist/types/session-catalog/session-live-work.d.ts +39 -0
- package/dist/types/settings.d.ts +3 -0
- package/dist/types/subagentDetailsContext.d.ts +9 -1
- package/dist/types/trajectory/buildTimeline.d.ts +1 -1
- package/dist/types/trajectory/types.d.ts +2 -0
- package/dist/types/utils/askUserPermission.d.ts +1 -1
- package/dist/types/utils/composerTasks.d.ts +6 -4
- package/dist/types/utils/imageIngestion.d.ts +1 -0
- package/dist/types/utils/planMode.d.ts +2 -2
- package/dist/types/utils/sendCommand.d.ts +31 -0
- package/dist/types/utils/sessionPreparation.d.ts +16 -14
- package/dist/types/utils/visualViewportInset.d.ts +13 -0
- package/dist/types/vision-timeout-command.d.ts +17 -0
- package/dist/types/voice/use-voice-workspace-settings.d.ts +1 -0
- package/dist/types/voice/voice-workspace-target.d.ts +1 -0
- package/dist/useDaemonMidTurnInjected-BQiO1GP_.js +23555 -0
- package/package.json +4 -1
- package/dist/types/components/managed/ManagedRecoveryPanel.d.ts +0 -9
- package/dist/useDaemonMidTurnInjected-D4Woo-Hh.js +0 -31578
|
@@ -2,13 +2,21 @@ import type { DaemonBackgroundTurn } from '@qwen-code/sdk/daemon';
|
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
3
|
import type { ACPToolCall } from './adapters/types';
|
|
4
4
|
export type OpenSubagentDetails = (tool: ACPToolCall, parentSessionId?: string) => void;
|
|
5
|
+
/** Another session to open, from a turn its reply started. */
|
|
6
|
+
export interface OpenSessionRequest {
|
|
7
|
+
sessionId: string;
|
|
8
|
+
workspaceCwd?: string;
|
|
9
|
+
title: string;
|
|
10
|
+
}
|
|
5
11
|
interface SubagentDetailsContextValue {
|
|
6
12
|
onOpen: OpenSubagentDetails;
|
|
7
13
|
onOpenBackground?: (turn: DaemonBackgroundTurn) => void;
|
|
14
|
+
onOpenSession?: (request: OpenSessionRequest) => void;
|
|
8
15
|
}
|
|
9
|
-
export declare function SubagentDetailsProvider({ onOpen, onOpenBackground, children, }: {
|
|
16
|
+
export declare function SubagentDetailsProvider({ onOpen, onOpenBackground, onOpenSession, children, }: {
|
|
10
17
|
onOpen: OpenSubagentDetails;
|
|
11
18
|
onOpenBackground?: (turn: DaemonBackgroundTurn) => void;
|
|
19
|
+
onOpenSession?: (request: OpenSessionRequest) => void;
|
|
12
20
|
children: ReactNode;
|
|
13
21
|
}): import("react/jsx-runtime").JSX.Element;
|
|
14
22
|
export declare function useSubagentDetails(): SubagentDetailsContextValue | undefined;
|
|
@@ -14,7 +14,7 @@ export interface TimelineSpan {
|
|
|
14
14
|
/** Offset into the compressed domain, ms. */
|
|
15
15
|
start: number;
|
|
16
16
|
end: number;
|
|
17
|
-
/** Requests
|
|
17
|
+
/** Requests only: where the first visible output landed. */
|
|
18
18
|
ttftEnd?: number;
|
|
19
19
|
error: boolean;
|
|
20
20
|
}
|
|
@@ -49,6 +49,8 @@ export interface TrajectoryTiming {
|
|
|
49
49
|
startedAt?: number;
|
|
50
50
|
/** Requests only: dispatch to first user-visible content. */
|
|
51
51
|
ttftMs?: number;
|
|
52
|
+
/** Requests only: request start to first user-visible content. */
|
|
53
|
+
firstVisibleOffsetMs?: number;
|
|
52
54
|
}
|
|
53
55
|
/** What a subagent spent, rolled up onto the tool call that spawned it. */
|
|
54
56
|
export interface TrajectorySubagentSummary {
|
|
@@ -10,7 +10,7 @@ import type { PermissionRequest } from '../adapters/types.js';
|
|
|
10
10
|
* rather than a normal tool-call approval. Shared by the single-session App and
|
|
11
11
|
* the split-view ChatPane so the two never drift.
|
|
12
12
|
*/
|
|
13
|
-
export declare function isAskUserPermission(request: PermissionRequest | null): boolean;
|
|
13
|
+
export declare function isAskUserPermission(request: Pick<PermissionRequest, 'rawInput' | 'toolName'> | null): boolean;
|
|
14
14
|
/**
|
|
15
15
|
* Language-neutral snapshot of a pending AskUserQuestion payload — numbered
|
|
16
16
|
* questions with their option labels and descriptions — for embedding in the
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type { DaemonSessionTaskWithWorkflowStatus } from '@qwen-code/sdk/daemon';
|
|
1
|
+
import type { DaemonSessionSubSessionTaskStatus, DaemonSessionTaskWithWorkflowStatus } from '@qwen-code/sdk/daemon';
|
|
2
|
+
/** A task the chip row can show: the child's own, or a send it made. */
|
|
3
|
+
export type ComposerChipTask = DaemonSessionTaskWithWorkflowStatus | DaemonSessionSubSessionTaskStatus;
|
|
2
4
|
/**
|
|
3
5
|
* Tasks that belong to THIS session's live background state — what the
|
|
4
6
|
* composer chip row draws from and the environment panel lists.
|
|
@@ -14,10 +16,10 @@ export declare function isComposerTask(task: DaemonSessionTaskWithWorkflowStatus
|
|
|
14
16
|
kind: 'agent';
|
|
15
17
|
}>;
|
|
16
18
|
/** The kinds the composer chip row groups live tasks under, in display order. */
|
|
17
|
-
export type ComposerTaskChipKind = 'workflow' | 'agent' | 'shell' | 'monitor';
|
|
19
|
+
export type ComposerTaskChipKind = 'workflow' | 'agent' | 'session' | 'shell' | 'monitor';
|
|
18
20
|
export interface ComposerTaskChipGroup {
|
|
19
21
|
kind: ComposerTaskChipKind;
|
|
20
|
-
tasks:
|
|
22
|
+
tasks: ComposerChipTask[];
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
25
|
* Group this session's unfinished background tasks for the chip row above
|
|
@@ -25,7 +27,7 @@ export interface ComposerTaskChipGroup {
|
|
|
25
27
|
* its chip disappears, and the run stays reachable from the transcript, the
|
|
26
28
|
* environment panel and the tasks dialog.
|
|
27
29
|
*/
|
|
28
|
-
export declare function getComposerTaskChipGroups(tasks: readonly
|
|
30
|
+
export declare function getComposerTaskChipGroups(tasks: readonly ComposerChipTask[], options: {
|
|
29
31
|
includeAgents: boolean;
|
|
30
32
|
}): ComposerTaskChipGroup[];
|
|
31
33
|
export declare function explainDisplayLabel(label: string): string;
|
|
@@ -29,6 +29,7 @@ export interface FileIngestionBatchResult {
|
|
|
29
29
|
interface ReaderLifecycle {
|
|
30
30
|
onReaderCreated?: (reader: FileReader) => void;
|
|
31
31
|
onReaderSettled?: (reader: FileReader) => void;
|
|
32
|
+
isCancelled?: () => boolean;
|
|
32
33
|
maxBytes?: number;
|
|
33
34
|
}
|
|
34
35
|
export declare const MAX_IMAGE_ATTACHMENT_DATA_BYTES: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type WebShellApprovalMode = Exclude<(typeof
|
|
1
|
+
import { APPROVAL_MODES } from '../constants/approvalModes.js';
|
|
2
|
+
export type WebShellApprovalMode = Exclude<(typeof APPROVAL_MODES)[number], 'plan'>;
|
|
3
3
|
export declare const EXECUTION_APPROVAL_MODES: ("default" | "auto-edit" | "yolo" | "auto")[];
|
|
4
4
|
export declare function resolveApprovalModes(value: unknown): readonly WebShellApprovalMode[];
|
|
5
5
|
export declare function nextApprovalMode(available: readonly WebShellApprovalMode[], current: string): WebShellApprovalMode | undefined;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { DaemonWorkspaceCapability } from '@qwen-code/sdk/daemon';
|
|
2
|
+
/**
|
|
3
|
+
* `/send [--workspace <name|path|id>] [--session-id <id>] <message>`.
|
|
4
|
+
*
|
|
5
|
+
* Options come first; everything after them is the message, newlines
|
|
6
|
+
* included. A value may be quoted ("…" or '…') when it holds spaces, and
|
|
7
|
+
* `--option=value` works too. Without `--session-id` the message starts a new
|
|
8
|
+
* session; without `--workspace` it goes to the current workspace.
|
|
9
|
+
*/
|
|
10
|
+
export type SendCommandParse = {
|
|
11
|
+
ok: true;
|
|
12
|
+
workspace?: string;
|
|
13
|
+
sessionId?: string;
|
|
14
|
+
message: string;
|
|
15
|
+
} | {
|
|
16
|
+
ok: false;
|
|
17
|
+
error: 'missing-message' | 'missing-value' | 'duplicate-option';
|
|
18
|
+
option?: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const SEND_COMMAND_OPTIONS: readonly ["--workspace", "--session-id"];
|
|
21
|
+
export declare function getSendWorkspace(args: string): string | undefined;
|
|
22
|
+
export declare function parseSendCommand(args: string): SendCommandParse;
|
|
23
|
+
export type SendCommand = Extract<SendCommandParse, {
|
|
24
|
+
ok: true;
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* Map a `--workspace` value to a registered workspace: its path or id, or
|
|
28
|
+
* its name when only one workspace has that name. Anything else goes to the
|
|
29
|
+
* daemon as typed, which refuses what it does not know.
|
|
30
|
+
*/
|
|
31
|
+
export declare function resolveSendWorkspace(workspaces: readonly DaemonWorkspaceCapability[], value: string): string;
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { type DaemonApprovalMode, type DaemonProductSessionContext } from '@qwen-code/web-shell/daemon-react-sdk';
|
|
2
2
|
import type { DaemonSessionClient, ReasoningSelection, SessionStartupConfig } from '@qwen-code/sdk/daemon';
|
|
3
|
+
type CreatedPromptSession = {
|
|
4
|
+
sessionId: string;
|
|
5
|
+
worktree?: {
|
|
6
|
+
slug: string;
|
|
7
|
+
path: string;
|
|
8
|
+
branch: string;
|
|
9
|
+
};
|
|
10
|
+
branch?: {
|
|
11
|
+
name: string;
|
|
12
|
+
baseBranch: string;
|
|
13
|
+
};
|
|
14
|
+
modelApplied?: boolean;
|
|
15
|
+
updateMetadata?: DaemonSessionClient['updateMetadata'];
|
|
16
|
+
};
|
|
3
17
|
type PromptSessionActions = {
|
|
4
18
|
createSession: (options?: {
|
|
5
19
|
workspaceCwd?: string;
|
|
@@ -21,19 +35,7 @@ type PromptSessionActions = {
|
|
|
21
35
|
};
|
|
22
36
|
sourceVersion?: number;
|
|
23
37
|
getCurrentSourceVersion?: () => number;
|
|
24
|
-
}) => Promise<
|
|
25
|
-
sessionId: string;
|
|
26
|
-
worktree?: {
|
|
27
|
-
slug: string;
|
|
28
|
-
path: string;
|
|
29
|
-
branch: string;
|
|
30
|
-
};
|
|
31
|
-
branch?: {
|
|
32
|
-
name: string;
|
|
33
|
-
baseBranch: string;
|
|
34
|
-
};
|
|
35
|
-
modelApplied?: boolean;
|
|
36
|
-
}>;
|
|
38
|
+
}) => Promise<CreatedPromptSession>;
|
|
37
39
|
attachSession: () => Promise<void>;
|
|
38
40
|
clearSession: () => Promise<void>;
|
|
39
41
|
releaseSession: (sessionId: string) => Promise<void>;
|
|
@@ -73,7 +75,7 @@ export declare function createAndAttachSessionForPrompt({ sessionActions, modelI
|
|
|
73
75
|
* the connection was never bound to the created session, so session-targeted
|
|
74
76
|
* actions (rename, attach, settings) must go through this client instead.
|
|
75
77
|
*/
|
|
76
|
-
onSessionCreated?: (sessionId: string, detachedSession
|
|
78
|
+
onSessionCreated?: (sessionId: string, detachedSession: DaemonSessionClient | undefined, createdSession: CreatedPromptSession) => Promise<void> | void;
|
|
77
79
|
onSessionAllocated?: (sessionId: string) => void;
|
|
78
80
|
getCurrentSessionId: () => string | undefined;
|
|
79
81
|
getCurrentWorkspaceCwd?: () => string | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
interface VisualViewportGeometry {
|
|
7
|
+
height: number;
|
|
8
|
+
offsetTop: number;
|
|
9
|
+
scale: number;
|
|
10
|
+
}
|
|
11
|
+
/** The part of a shell's bottom edge hidden below the visible viewport. */
|
|
12
|
+
export declare function visualViewportBottomInset(root: Pick<DOMRect, 'bottom' | 'height'>, viewport: VisualViewportGeometry): number;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Qwen
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Splits `--timeout <value>` out of a `/model --vision` argument string in any
|
|
8
|
+
* position. A flag without a value yields `timeout: ''`. Reject remaining
|
|
9
|
+
* options before they can be used as the vision model selector.
|
|
10
|
+
*/
|
|
11
|
+
export declare function extractVisionTimeout(modelArg: string): {
|
|
12
|
+
modelArg: string;
|
|
13
|
+
timeout?: string;
|
|
14
|
+
invalidOption?: string;
|
|
15
|
+
};
|
|
16
|
+
/** `60`, `60s` → seconds, `90000ms` → milliseconds; invalid → undefined. */
|
|
17
|
+
export declare function parseVisionTimeoutMs(value: string): number | undefined;
|
|
@@ -7,6 +7,7 @@ import type { DaemonClient, DaemonSettingDescriptor, DaemonWorkspaceSettingsStat
|
|
|
7
7
|
import { type VoiceWorkspaceTarget } from './voice-workspace-target';
|
|
8
8
|
interface VoiceWorkspaceSettingsState {
|
|
9
9
|
descriptor: DaemonSettingDescriptor | undefined;
|
|
10
|
+
status: DaemonWorkspaceSettingsStatus | undefined;
|
|
10
11
|
reload: () => Promise<DaemonWorkspaceSettingsStatus | undefined>;
|
|
11
12
|
}
|
|
12
13
|
export declare function useVoiceWorkspaceSettings(client: DaemonClient, target: VoiceWorkspaceTarget | undefined, enabled: boolean, revisionKey: string): VoiceWorkspaceSettingsState;
|
|
@@ -41,6 +41,7 @@ export interface ResolveVoiceWorkspaceTargetOptions {
|
|
|
41
41
|
export declare function resolveVoiceWorkspaceTarget({ capabilities, intendedCwd, sessionId, workspaces, }: ResolveVoiceWorkspaceTargetOptions): VoiceWorkspaceTarget | undefined;
|
|
42
42
|
export declare function supportsVoiceCapture(target: VoiceWorkspaceTarget | undefined, features: readonly string[]): boolean;
|
|
43
43
|
export declare function supportsVoiceModelSettings(target: VoiceWorkspaceTarget | undefined, features: readonly string[]): boolean;
|
|
44
|
+
export declare function qualifiedWorkspaceClient(client: DaemonClient, target: VoiceWorkspaceTarget): import("@qwen-code/sdk/daemon").WorkspaceDaemonClient | undefined;
|
|
44
45
|
export declare function loadVoiceStatus(client: DaemonClient, target: VoiceWorkspaceTarget): Promise<DaemonWorkspaceVoiceStatus>;
|
|
45
46
|
export declare function loadVoiceSettings(client: DaemonClient, target: VoiceWorkspaceTarget): Promise<DaemonWorkspaceSettingsStatus>;
|
|
46
47
|
export declare function setVoiceModelSetting(client: DaemonClient, target: VoiceWorkspaceTarget, scope: 'workspace' | 'user', value: string): Promise<DaemonSettingUpdateResult>;
|