@qwen-code/web-shell 0.26.8 → 0.26.9-nightly.20261106.80fd7c3353
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-BFgHDFfb.js → PierreFilePreview-ByIBnEvk.js} +1 -1
- package/dist/{SpreadsheetPreview-CeMwcgfx.js → SpreadsheetPreview-Bbu8gtpn.js} +2 -2
- package/dist/{WorkspaceFileBrowser-C5R9bwVy.js → WorkspaceFileBrowser-BAWzZGFu.js} +2 -2
- package/dist/{agents-route-BGwI44Wi.js → agents-route-BQUrLi7R.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/{index-BurR4Gb3.js → index-BZCHDBFN.js} +56568 -55580
- package/dist/index.js +3 -3
- package/dist/sw.js +1 -1
- package/dist/transcript.js +2823 -2790
- 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/channels/ChannelEventsPage.d.ts +7 -0
- package/dist/types/components/managed/ManagedQuestionForm.d.ts +6 -0
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +8 -5
- package/dist/types/components/managed/managed-agent-provider.d.ts +18 -4
- package/dist/types/components/managed/managed-question-response.d.ts +4 -0
- package/dist/types/components/managed/managed-question.test-fixtures.d.ts +2 -0
- package/dist/types/components/managed/use-managed-actions.d.ts +2 -2
- package/dist/types/components/messages/AuthMessage.d.ts +4 -1
- package/dist/types/components/messages/QwenSubscriptionPanel.d.ts +1 -1
- package/dist/types/components/sidebar/WorkspaceSection.d.ts +3 -1
- package/dist/types/components/skills/SkillInstallDialog.d.ts +8 -2
- package/dist/types/daemon/session/types.d.ts +4 -1
- package/dist/types/daemon/workspace/hooks/useDaemonSkills.d.ts +6 -2
- package/dist/types/daemon/workspace/types.d.ts +2 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{useDaemonMidTurnInjected-DjE4i35e.js → useDaemonMidTurnInjected-Bu_h8NWh.js} +2645 -2524
- package/package.json +2 -1
- package/dist/types/live/LiveVoiceMenuItem.d.ts +0 -9
|
@@ -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 {};
|
|
@@ -8,5 +8,12 @@ interface ChannelEventsPageProps {
|
|
|
8
8
|
onClose?: () => void;
|
|
9
9
|
initialFocusRef?: Ref<HTMLHeadingElement>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Outcomes the page knows how to label. Anything else renders as its raw
|
|
13
|
+
* token, so a new adapter outcome degrades to an unreadable-but-safe row
|
|
14
|
+
* rather than a missing translation key. Exported for the catalog
|
|
15
|
+
* completeness test: every entry here needs an EN and a ZH label.
|
|
16
|
+
*/
|
|
17
|
+
export declare const KNOWN_OUTCOMES: Set<string>;
|
|
11
18
|
export declare function ChannelEventsPage({ onClose, initialFocusRef, }: ChannelEventsPageProps): import("react/jsx-runtime").JSX.Element;
|
|
12
19
|
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ManagedAgentPendingQuestionAction, ManagedAgentQuestionResponse } from './managed-agent-provider';
|
|
2
|
+
export declare function ManagedQuestionForm({ action, disabled, onSubmit, }: {
|
|
3
|
+
action: ManagedAgentPendingQuestionAction;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onSubmit(response: ManagedAgentQuestionResponse): Promise<void>;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -175,7 +175,7 @@ export interface paths {
|
|
|
175
175
|
};
|
|
176
176
|
get?: never;
|
|
177
177
|
put?: never;
|
|
178
|
-
/** @description
|
|
178
|
+
/** @description Serves Hosted permission and structured question Actions. Question answers preserve the original question and option IDs, allow one to four answers, and are bounded to 32 KiB of canonical UTF-8 JSON. vote_recorded remains planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
179
179
|
post: operations["queryWebShellActions"];
|
|
180
180
|
delete?: never;
|
|
181
181
|
options?: never;
|
|
@@ -192,7 +192,7 @@ export interface paths {
|
|
|
192
192
|
};
|
|
193
193
|
get?: never;
|
|
194
194
|
put?: never;
|
|
195
|
-
/** @description
|
|
195
|
+
/** @description Serves Hosted permission and structured question Actions. Question answers preserve the original question and option IDs, allow one to four answers, and are bounded to 32 KiB of canonical UTF-8 JSON. vote_recorded remains planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
196
196
|
post: operations["getWebShellAction"];
|
|
197
197
|
delete?: never;
|
|
198
198
|
options?: never;
|
|
@@ -209,7 +209,7 @@ export interface paths {
|
|
|
209
209
|
};
|
|
210
210
|
get?: never;
|
|
211
211
|
put?: never;
|
|
212
|
-
/** @description
|
|
212
|
+
/** @description Serves Hosted permission and structured question Actions. Question answers preserve the original question and option IDs, allow one to four answers, and are bounded to 32 KiB of canonical UTF-8 JSON. vote_recorded remains planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
213
213
|
post: operations["respondWebShellAction"];
|
|
214
214
|
delete?: never;
|
|
215
215
|
options?: never;
|
|
@@ -1665,7 +1665,7 @@ export interface components {
|
|
|
1665
1665
|
questionId: string;
|
|
1666
1666
|
optionIds?: string[];
|
|
1667
1667
|
text?: string;
|
|
1668
|
-
}
|
|
1668
|
+
} & (unknown | unknown);
|
|
1669
1669
|
WebShellActionQuestion: {
|
|
1670
1670
|
id: string;
|
|
1671
1671
|
prompt: string;
|
|
@@ -1712,6 +1712,9 @@ export interface components {
|
|
|
1712
1712
|
/** Format: int64 */
|
|
1713
1713
|
expiresAt: number;
|
|
1714
1714
|
decisionReceiptId?: string;
|
|
1715
|
+
turnId?: string;
|
|
1716
|
+
functionCallId: string;
|
|
1717
|
+
toolName: string;
|
|
1715
1718
|
questions: components["schemas"]["WebShellActionQuestion"][];
|
|
1716
1719
|
} & unknown;
|
|
1717
1720
|
/** @description At most one requested Hosted approval per Turn. allow and deny are stable option IDs. A requested native-tool Action may carry a bounded input preview when the producer supplies an input reference. Version 1 Actions and unavailable inputs omit it. Public timestamps are milliseconds, as recorded by the Harness. Decision receipts are opaque product IDs. */
|
|
@@ -1779,7 +1782,7 @@ export interface components {
|
|
|
1779
1782
|
/** @default 20 */
|
|
1780
1783
|
limit?: number;
|
|
1781
1784
|
/**
|
|
1782
|
-
* @description Include pending
|
|
1785
|
+
* @description Include pending Actions of this public root Session and its direct children; each Action retains its actual owning sessionId.
|
|
1783
1786
|
* @default false
|
|
1784
1787
|
*/
|
|
1785
1788
|
includeChildren?: boolean;
|
|
@@ -199,8 +199,7 @@ export interface ManagedWorkspaceRegistration {
|
|
|
199
199
|
create(request: Omit<components['schemas']['WebShellWorkspaceRegisterRequest'], 'idempotencyKey' | 'requestId'>, options: ManagedAgentCommandOptions): Promise<ManagedWorkspaceCreateOperation>;
|
|
200
200
|
query(operationId: string, options: ManagedAgentRequestOptions): Promise<ManagedWorkspaceCreateOperation>;
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
export interface ManagedAgentPendingAction {
|
|
202
|
+
interface ManagedAgentActionIdentity {
|
|
204
203
|
actionId: string;
|
|
205
204
|
sessionId: string;
|
|
206
205
|
/** Public Turn ID; absent when the Turn could not be resolved. */
|
|
@@ -210,12 +209,26 @@ export interface ManagedAgentPendingAction {
|
|
|
210
209
|
inputRevision: number;
|
|
211
210
|
policyRevision: string;
|
|
212
211
|
expiresAt: number;
|
|
212
|
+
}
|
|
213
|
+
export interface ManagedAgentPendingPermissionAction extends ManagedAgentActionIdentity {
|
|
214
|
+
kind?: 'permission';
|
|
213
215
|
options: Array<{
|
|
214
216
|
id: string;
|
|
215
217
|
label: string;
|
|
216
218
|
}>;
|
|
217
219
|
inputPreview?: components['schemas']['WebShellActionInputPreview'];
|
|
218
220
|
}
|
|
221
|
+
export interface ManagedAgentPendingQuestionAction extends ManagedAgentActionIdentity {
|
|
222
|
+
kind: 'question';
|
|
223
|
+
questions: components['schemas']['WebShellActionQuestion'][];
|
|
224
|
+
}
|
|
225
|
+
export type ManagedAgentPendingAction = ManagedAgentPendingPermissionAction | ManagedAgentPendingQuestionAction;
|
|
226
|
+
export type ManagedAgentQuestionAnswer = components['schemas']['WebShellQuestionAnswer'];
|
|
227
|
+
export interface ManagedAgentQuestionResponse {
|
|
228
|
+
kind: 'question';
|
|
229
|
+
answers: ManagedAgentQuestionAnswer[];
|
|
230
|
+
}
|
|
231
|
+
export type ManagedAgentActionResponse = string | ManagedAgentQuestionResponse;
|
|
219
232
|
export interface ManagedAgentProvider {
|
|
220
233
|
readonly userMessages?: {
|
|
221
234
|
query(sessionId: string, options: ManagedAgentRequestOptions): Promise<import('./use-managed-user-messages').ManagedUserMessageSnapshot>;
|
|
@@ -269,12 +282,12 @@ export interface ManagedAgentProvider {
|
|
|
269
282
|
}): Promise<ManagedMcpManagementSnapshot>;
|
|
270
283
|
operation(sessionId: string, operationId: string, options: ManagedAgentRequestOptions): Promise<ManagedMcpManagementSnapshot>;
|
|
271
284
|
};
|
|
272
|
-
/** Present when the provider can serve Hosted
|
|
285
|
+
/** Present when the provider can serve Hosted Actions. */
|
|
273
286
|
readonly actions?: {
|
|
274
287
|
listPending(sessionId: string, options: ManagedAgentRequestOptions & {
|
|
275
288
|
includeChildren?: boolean;
|
|
276
289
|
}): Promise<ManagedAgentPendingAction[]>;
|
|
277
|
-
respond(action: ManagedAgentPendingAction,
|
|
290
|
+
respond(action: ManagedAgentPendingAction, response: ManagedAgentActionResponse, options: ManagedAgentCommandOptions): Promise<void>;
|
|
278
291
|
};
|
|
279
292
|
readonly toolResults?: ManagedToolResultReader;
|
|
280
293
|
readonly toolDetails?: {
|
|
@@ -462,3 +475,4 @@ export interface ManagedAgentWorkspace {
|
|
|
462
475
|
defaultCwdRelative?: string;
|
|
463
476
|
canSelectDirectory?: boolean;
|
|
464
477
|
}
|
|
478
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ManagedAgentPendingQuestionAction, ManagedAgentQuestionAnswer } from './managed-agent-provider';
|
|
2
|
+
export declare const MAX_MANAGED_QUESTION_ANSWER_BYTES: number;
|
|
3
|
+
export declare function canonicalQuestionAnswers(action: ManagedAgentPendingQuestionAction, answers: readonly ManagedAgentQuestionAnswer[]): ManagedAgentQuestionAnswer[];
|
|
4
|
+
export declare function questionResponseKey(action: ManagedAgentPendingQuestionAction, answers: readonly ManagedAgentQuestionAnswer[]): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ManagedAgentPendingAction, ManagedAgentProvider, ManagedAgentSessionEvent } from './managed-agent-provider';
|
|
1
|
+
import type { ManagedAgentPendingAction, ManagedAgentActionResponse, ManagedAgentProvider, ManagedAgentSessionEvent } from './managed-agent-provider';
|
|
2
2
|
export interface ManagedActionsState {
|
|
3
3
|
actions: readonly ManagedAgentPendingAction[];
|
|
4
4
|
/** The approval to show; answered ones stay hidden while they settle. */
|
|
@@ -21,7 +21,7 @@ export interface ManagedActionsState {
|
|
|
21
21
|
* re-probes instead of treating one 403 as permanent for the mount.
|
|
22
22
|
*/
|
|
23
23
|
respondForbidden: boolean;
|
|
24
|
-
respond(actionId: string,
|
|
24
|
+
respond(actionId: string, response: ManagedAgentActionResponse): Promise<void>;
|
|
25
25
|
/** Reads the pending approvals again now. */
|
|
26
26
|
retry(): void;
|
|
27
27
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
interface AuthMessageProps {
|
|
2
2
|
dialog?: boolean;
|
|
3
|
+
standalone?: boolean;
|
|
3
4
|
allowAdd?: boolean;
|
|
4
5
|
onMessage: (text: string, type?: 'status' | 'error') => void;
|
|
5
6
|
onModelActivated?: (modelId: string) => void;
|
|
7
|
+
getWorkspaceCwd?: () => string | undefined;
|
|
8
|
+
activateSessionSubscriptionModel: (workspaceCwd: string | undefined, sessionId: string, modelId: string) => Promise<void>;
|
|
6
9
|
onClose: () => void;
|
|
7
10
|
}
|
|
8
|
-
export declare function AuthMessage({ onMessage, onModelActivated, onClose, allowAdd, dialog, }: AuthMessageProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function AuthMessage({ onMessage, onModelActivated, getWorkspaceCwd, activateSessionSubscriptionModel, onClose, allowAdd, dialog, standalone, }: AuthMessageProps): import("react/jsx-runtime").JSX.Element;
|
|
9
12
|
export {};
|
|
@@ -15,7 +15,7 @@ type FlowProps = {
|
|
|
15
15
|
onClose: () => void;
|
|
16
16
|
onSignedOut?: () => void;
|
|
17
17
|
onOtherProviders: () => void;
|
|
18
|
-
onActivate?: (signal: AbortSignal) => Promise<string | void>;
|
|
18
|
+
onActivate?: (signal: AbortSignal, onSettingsSaved: () => void) => Promise<string | void>;
|
|
19
19
|
onActivated?: (message?: string) => void;
|
|
20
20
|
onModelsUnavailable?: () => void;
|
|
21
21
|
onAuthError?: (message: string) => void;
|
|
@@ -30,6 +30,8 @@ interface WorkspaceSectionProps {
|
|
|
30
30
|
trustToOpenLabel: string;
|
|
31
31
|
noSessionsLabel: string;
|
|
32
32
|
loadErrorLabel: string;
|
|
33
|
+
/** Shown instead of an id prefix when a session has no persisted name. */
|
|
34
|
+
untitledSessionLabel?: string;
|
|
33
35
|
organizationEnabled: boolean;
|
|
34
36
|
sessionCatalogRequestsEnabled?: boolean;
|
|
35
37
|
sessionGroupCatalog?: DaemonSessionGroupCatalog;
|
|
@@ -135,5 +137,5 @@ interface WorkspaceSectionProps {
|
|
|
135
137
|
/** Commit entry for the same picker; the row still opens without it. */
|
|
136
138
|
onOpenCommit?: (workspaceCwd: string) => void;
|
|
137
139
|
}
|
|
138
|
-
export declare function WorkspaceSection({ workspace, executionLabel, storageKey, remote, renderHeader, hideHeader, client, reloadToken, untrustedLabel, readOnlyLabel, trustToOpenLabel, noSessionsLabel, loadErrorLabel, organizationEnabled, sessionCatalogRequestsEnabled, sessionGroupCatalog, sessionLiveStateEnabled, sourceType, channelGroupingEnabled, ungroupedLabel, searchQuery, expanded: controlledExpanded, autoExpandKey, forceAutoExpand, onExpandedChange, renderSessions, renderSession, pendingSession, mapSession, showSessionDetails, headerActions, overviewEnabled, overviewMenuOpen, overviewItems, gitBranchWanted, sessionStats, onRenameGroup, onDeleteGroup, renameGroupLabel, deleteGroupLabel, groupActionsDisabled, excludePinned, limitSessions, editingSessionId, isPinnedSectionMember, onOpenPathLocally, onOpenTerminalLocally, onOpenGitDiff, onOpenCommit, }: WorkspaceSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
140
|
+
export declare function WorkspaceSection({ workspace, executionLabel, storageKey, remote, renderHeader, hideHeader, client, reloadToken, untrustedLabel, readOnlyLabel, trustToOpenLabel, noSessionsLabel, loadErrorLabel, untitledSessionLabel, organizationEnabled, sessionCatalogRequestsEnabled, sessionGroupCatalog, sessionLiveStateEnabled, sourceType, channelGroupingEnabled, ungroupedLabel, searchQuery, expanded: controlledExpanded, autoExpandKey, forceAutoExpand, onExpandedChange, renderSessions, renderSession, pendingSession, mapSession, showSessionDetails, headerActions, overviewEnabled, overviewMenuOpen, overviewItems, gitBranchWanted, sessionStats, onRenameGroup, onDeleteGroup, renameGroupLabel, deleteGroupLabel, groupActionsDisabled, excludePinned, limitSessions, editingSessionId, isPinnedSectionMember, onOpenPathLocally, onOpenTerminalLocally, onOpenGitDiff, onOpenCommit, }: WorkspaceSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
139
141
|
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import type { DaemonSkillInstallRequest } from '@qwen-code/sdk/daemon';
|
|
1
|
+
import type { DaemonSkillInstallRequest, DaemonSkillScope, DaemonSkillArchiveInstallRequest, DaemonSkillArchiveInstallResult, DaemonSkillInstallAttempt, DaemonSkillMutationResult, DaemonCapabilities } from '@qwen-code/sdk/daemon';
|
|
2
2
|
interface SkillInstallDialogProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
onOpenChange: (open: boolean) => void;
|
|
5
5
|
onInstall: (request: DaemonSkillInstallRequest) => Promise<void>;
|
|
6
|
+
archive?: {
|
|
7
|
+
limits?: DaemonCapabilities['limits'];
|
|
8
|
+
install(request: DaemonSkillArchiveInstallRequest, scope: DaemonSkillScope): Promise<DaemonSkillArchiveInstallResult>;
|
|
9
|
+
lookup(scope: DaemonSkillScope, attemptId: string): Promise<DaemonSkillInstallAttempt | undefined>;
|
|
10
|
+
committed(result: DaemonSkillMutationResult): Promise<void>;
|
|
11
|
+
};
|
|
6
12
|
}
|
|
7
|
-
export declare function SkillInstallDialog({ open, onOpenChange, onInstall, }: SkillInstallDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function SkillInstallDialog({ open, onOpenChange, onInstall, archive, }: SkillInstallDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
8
14
|
export {};
|
|
@@ -468,7 +468,10 @@ export interface DaemonSessionActions {
|
|
|
468
468
|
releaseSession(sessionId: string): Promise<void>;
|
|
469
469
|
closeSession(): Promise<void>;
|
|
470
470
|
refreshCommands(): Promise<void>;
|
|
471
|
-
getContext(
|
|
471
|
+
getContext(opts?: {
|
|
472
|
+
/** Rethrow transient failures without recording a notice. */
|
|
473
|
+
silent?: boolean;
|
|
474
|
+
}): Promise<DaemonSessionContextStatus>;
|
|
472
475
|
getContextUsage(opts?: {
|
|
473
476
|
detail?: boolean;
|
|
474
477
|
/** Reconcile composer counters after compression, without changing billing usage. */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2025 Qwen Team
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import type { DaemonSkillInstallRequest } from '@qwen-code/sdk/daemon';
|
|
6
|
+
import type { DaemonSkillInstallRequest, DaemonSkillArchiveInstallRequest, DaemonSkillScope } from '@qwen-code/sdk/daemon';
|
|
7
7
|
import type { DaemonResourceOptions } from '../types.js';
|
|
8
8
|
interface DaemonSkillsOptions extends DaemonResourceOptions {
|
|
9
9
|
workspaceCwd?: string;
|
|
@@ -20,11 +20,15 @@ export declare function useDaemonSkills(options?: DaemonSkillsOptions): {
|
|
|
20
20
|
reload: () => Promise<import("@qwen-code/sdk/daemon").DaemonWorkspaceSkillsStatus | undefined>;
|
|
21
21
|
reloadConfig: () => Promise<import("@qwen-code/sdk/daemon").DaemonWorkspaceSkillsStatus | undefined>;
|
|
22
22
|
reloadRuntime: () => Promise<import("@qwen-code/sdk/daemon").DaemonWorkspaceSkillsStatus | undefined>;
|
|
23
|
-
ensureRuntime: (
|
|
23
|
+
ensureRuntime: (options?: {
|
|
24
|
+
throwOnError?: boolean;
|
|
25
|
+
}) => Promise<import("@qwen-code/sdk/daemon").DaemonWorkspaceSkillsStatus | undefined>;
|
|
24
26
|
setEnabled: (skillName: string, enabled: boolean, opts?: {
|
|
25
27
|
clientId?: string;
|
|
26
28
|
}) => Promise<import("@qwen-code/sdk/daemon").DaemonSkillToggleResult>;
|
|
27
29
|
install: (request: DaemonSkillInstallRequest) => Promise<import("@qwen-code/sdk/daemon").DaemonSkillMutationResult>;
|
|
30
|
+
installArchive: (request: DaemonSkillArchiveInstallRequest, scope: DaemonSkillScope) => Promise<import("@qwen-code/sdk/daemon").DaemonSkillArchiveInstallResult>;
|
|
31
|
+
lookupInstallAttempt: (scope: DaemonSkillScope, attemptId: string) => Promise<import("@qwen-code/sdk/daemon").DaemonSkillInstallAttempt | undefined>;
|
|
28
32
|
remove: (skillName: string, scope: "workspace" | "global") => Promise<import("@qwen-code/sdk/daemon").DaemonSkillMutationResult>;
|
|
29
33
|
};
|
|
30
34
|
export {};
|
|
@@ -366,8 +366,9 @@ export type DaemonWorkspaceDirectoryPickerResult = {
|
|
|
366
366
|
kind: 'workspace-directory-picker';
|
|
367
367
|
selected: false;
|
|
368
368
|
};
|
|
369
|
-
export interface DaemonWorkspaceActions extends Pick<DaemonClient, 'getSubscriptionConfig' | 'startSubscriptionLogin' | 'getSubscriptionLogin' | 'cancelSubscriptionLogin' | 'getSubscriptionUserInfo' | 'signOutSubscription'> {
|
|
369
|
+
export interface DaemonWorkspaceActions extends Pick<DaemonClient, 'getSubscriptionConfig' | 'startSubscriptionLogin' | 'getSubscriptionLogin' | 'cancelSubscriptionLogin' | 'getSubscriptionUserInfo' | 'getSubscriptionDefaultModel' | 'signOutSubscription'> {
|
|
370
370
|
activateSubscription(options?: {
|
|
371
|
+
workspaceCwd?: string;
|
|
371
372
|
signal?: AbortSignal;
|
|
372
373
|
}): Promise<DaemonSubscriptionActivation>;
|
|
373
374
|
setUiLanguage(language: string, scope: 'user' | 'workspace', workspaceCwd?: string): Promise<SetUserLanguageResult>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export { JavaManagedAgentClient, JavaManagedAgentHttpError, type JavaAgentComman
|
|
|
12
12
|
export { createJavaManagedAgentProvider, type JavaManagedAgentProviderOptions, } from './components/managed/java-managed-agent-provider';
|
|
13
13
|
export { ManagedAgentWebShell, type ManagedAgentWebShellProps, } from './ManagedAgentWebShell';
|
|
14
14
|
export type { ManagedArtifact, ManagedArtifactPage, ManagedArtifactResponse, ManagedArtifactSave, ManagedToolResult, ManagedToolResultReader, ManagedToolResultResponse, } from './components/managed/managed-tool-result-types';
|
|
15
|
-
export { type ManagedAgentCommandOptions, type ManagedAgentPendingAction, type ManagedAgentProvider, type ManagedAgentRequestOptions, type ManagedAgentRuntimeState, type ManagedAgentSessionEvent, type ManagedAgentSessionEventType, type ManagedAgentSessionPhase, type ManagedAgentSessionSummary, type ManagedAgentSessionTranscript, type ManagedAgentTurnAdmission, type ManagedRuntimeNode, type ManagedWorkspaceDirectory, type ManagedWorkspaceCreateOperation, type ManagedWorkspaceRegistration, } from './components/managed/managed-agent-provider';
|
|
15
|
+
export { type ManagedAgentCommandOptions, type ManagedAgentPendingAction, type ManagedAgentPendingPermissionAction, type ManagedAgentPendingQuestionAction, type ManagedAgentQuestionAnswer, type ManagedAgentQuestionResponse, type ManagedAgentActionResponse, type ManagedAgentProvider, type ManagedAgentRequestOptions, type ManagedAgentRuntimeState, type ManagedAgentSessionEvent, type ManagedAgentSessionEventType, type ManagedAgentSessionPhase, type ManagedAgentSessionSummary, type ManagedAgentSessionTranscript, type ManagedAgentTurnAdmission, type ManagedRuntimeNode, type ManagedWorkspaceDirectory, type ManagedWorkspaceCreateOperation, type ManagedWorkspaceRegistration, } from './components/managed/managed-agent-provider';
|
|
16
16
|
export interface WebShellWithProvidersProps extends WebShellProps {
|
|
17
17
|
/** Unmount the chat view and its portals while keeping the daemon session attached. */
|
|
18
18
|
viewHidden?: boolean;
|