@qwen-code/web-shell 0.25.4-preview.1 → 0.26.0

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 (51) hide show
  1. package/README.md +1 -1
  2. package/dist/{PierreFilePreview-DDGm1BwT.js → PierreFilePreview-BKwQRLBv.js} +1 -1
  3. package/dist/{SpreadsheetPreview-Bo3dF5jL.js → SpreadsheetPreview-gWWUaRgJ.js} +2 -2
  4. package/dist/{WorkspaceFileBrowser-K5x5fG6c.js → WorkspaceFileBrowser-BLwOb5Br.js} +1008 -1041
  5. package/dist/{agents-route-hV5r9VDG.js → agents-route-Pu5E-8GT.js} +2 -2
  6. package/dist/daemon-react-sdk.js +1 -1
  7. package/dist/{index-CU9u4ISL.js → index-BSBUK1JZ.js} +58987 -57369
  8. package/dist/index.js +3 -3
  9. package/dist/sw.js +1 -1
  10. package/dist/transcript.js +7351 -7368
  11. package/dist/types/components/ChatEditor.d.ts +3 -0
  12. package/dist/types/components/ModelRefreshControl.d.ts +3 -0
  13. package/dist/types/components/SessionPrBadge.d.ts +7 -2
  14. package/dist/types/components/WorkspaceSelector.d.ts +3 -1
  15. package/dist/types/components/artifacts/TrajectoryDetail.d.ts +34 -0
  16. package/dist/types/components/artifacts/TrajectoryExecutions.d.ts +6 -8
  17. package/dist/types/components/artifacts/TrajectoryOverview.d.ts +2 -0
  18. package/dist/types/components/artifacts/TrajectorySummaryBar.d.ts +35 -0
  19. package/dist/types/components/artifacts/TrajectoryToolbar.d.ts +24 -0
  20. package/dist/types/components/artifacts/TurnCallsPanel.d.ts +5 -0
  21. package/dist/types/components/artifacts/tool-call-content.d.ts +34 -0
  22. package/dist/types/components/dialogs/AddWorkspaceDialog.d.ts +5 -1
  23. package/dist/types/components/dialogs/SessionRenameDialog.d.ts +10 -0
  24. package/dist/types/components/dialogs/WorkspaceAddStatusDialog.d.ts +3 -1
  25. package/dist/types/components/managed/ManagedSessionsPage.d.ts +20 -3
  26. package/dist/types/components/managed/ManagedWorkspaceNavigation.d.ts +14 -0
  27. package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +15 -2
  28. package/dist/types/components/managed/generated/managed-agent-api.d.ts +193 -4
  29. package/dist/types/components/managed/java-managed-agent-client.d.ts +6 -0
  30. package/dist/types/components/managed/managed-agent-provider.d.ts +20 -0
  31. package/dist/types/components/managed/managed-creation-skills.d.ts +7 -0
  32. package/dist/types/components/managed/use-managed-mcp.d.ts +3 -0
  33. package/dist/types/components/managed/use-managed-session-rename.d.ts +13 -0
  34. package/dist/types/components/managed/use-managed-session.d.ts +1 -0
  35. package/dist/types/components/managed/use-managed-skills.d.ts +9 -2
  36. package/dist/types/components/messages/McpApp.d.ts +4 -0
  37. package/dist/types/components/plugins/PluginManagerPage.d.ts +6 -1
  38. package/dist/types/components/sidebar/WebShellSidebar.d.ts +5 -1
  39. package/dist/types/components/sidebar/WorkspaceSection.d.ts +2 -1
  40. package/dist/types/components/ui/tabs.d.ts +1 -1
  41. package/dist/types/components/workspaces/WorkspaceExecutionSelect.d.ts +6 -0
  42. package/dist/types/desktop-relay/desktop-relay-client.d.ts +1 -1
  43. package/dist/types/mcpAppHostContext.d.ts +10 -1
  44. package/dist/types/settings.d.ts +1 -0
  45. package/dist/types/trajectory/summarizeTrajectory.d.ts +5 -0
  46. package/dist/types/trajectory/trajectory-status.d.ts +51 -0
  47. package/dist/types/trajectory/useTrajectoryWindow.d.ts +2 -0
  48. package/dist/{useDaemonMidTurnInjected-CfhBFIym.js → useDaemonMidTurnInjected-BoG_wM2a.js} +3937 -3891
  49. package/package.json +1 -1
  50. package/dist/types/components/artifacts/TrajectoryFilters.d.ts +0 -15
  51. package/dist/types/components/artifacts/TrajectoryInspector.d.ts +0 -25
@@ -1,4 +1,5 @@
1
1
  import { type ModelRefreshState } from './ModelRefreshControl';
2
+ import type { ReactNode } from 'react';
2
3
  import type { CommandInfo } from '../adapters/types';
3
4
  import type { AtMentionWorkspaceActions } from '../hooks/useAtMentionSources';
4
5
  import type { AttachmentPreviewRequest } from '../adapters/messageTypes';
@@ -44,6 +45,7 @@ interface ChatEditorProps {
44
45
  availableModes?: readonly string[];
45
46
  planMode?: boolean;
46
47
  modeControlsDisabled?: boolean;
48
+ planControlsDisabled?: boolean;
47
49
  onTogglePlan?: () => void;
48
50
  sessionWorkflowEnabled?: boolean;
49
51
  currentModel?: string;
@@ -113,6 +115,7 @@ interface ChatEditorProps {
113
115
  selectedWorkspaceCwd?: string;
114
116
  workspaceSelectionDisabled?: boolean;
115
117
  workspaceSelectorAlwaysVisible?: boolean;
118
+ workspaceMenuItems?: ReactNode;
116
119
  onSelectWorkspace?: (workspaceCwd: string | undefined) => void;
117
120
  /** Host-aware variant; see WorkspaceSelector. */
118
121
  onSelectHostedWorkspace?: (hostOrigin: string, workspaceCwd: string | undefined) => void;
@@ -3,3 +3,6 @@ export type ModelRefreshState = ReturnType<typeof useModelRefresh>;
3
3
  export declare function ModelRefreshControl({ state }: {
4
4
  state?: ModelRefreshState;
5
5
  }): import("react/jsx-runtime").JSX.Element | null;
6
+ export declare function ModelRefreshError({ state }: {
7
+ state?: ModelRefreshState;
8
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -13,12 +13,17 @@ interface SessionPrBadgeProps {
13
13
  */
14
14
  tabIndex?: number;
15
15
  }
16
+ /**
17
+ * The bound PRs the badge can open. Non-http(s) bindings are filtered out as
18
+ * a defense-in-depth measure on top of the daemon-side validators; callers
19
+ * that lay out around the badge use this to know whether it renders.
20
+ */
21
+ export declare function openableSessionPrs(prs: DaemonSessionPrInfo[]): DaemonSessionPrInfo[];
16
22
  /**
17
23
  * The `#N (+M)` pull-request badge shared by the sidebar session row, the
18
24
  * session overview card, and the picker dialogs. Renders the latest bound
19
25
  * PR with an overflow count and opens it through the desktop-aware
20
- * external-link opener. Non-http(s) bindings are filtered out as a
21
- * defense-in-depth measure on top of the daemon-side validators.
26
+ * external-link opener.
22
27
  */
23
28
  export declare function SessionPrBadge({ prs, tabIndex }: SessionPrBadgeProps): import("react/jsx-runtime").JSX.Element | null;
24
29
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface WorkspaceSelectorOption {
2
3
  id: string;
3
4
  cwd: string;
@@ -13,6 +14,7 @@ interface WorkspaceSelectorProps {
13
14
  disabled?: boolean;
14
15
  busy?: boolean;
15
16
  alwaysVisible?: boolean;
17
+ menuItems?: ReactNode;
16
18
  scratchSupported: boolean;
17
19
  existingFolderSupported: boolean;
18
20
  /** Offer a projectless (standalone) target alongside the workspaces. */
@@ -34,5 +36,5 @@ interface WorkspaceSelectorProps {
34
36
  * Composer workspace menu. Capability-gated creation actions and disabled
35
37
  * untrusted entries keep presentation aligned with daemon authorization.
36
38
  */
37
- export declare function WorkspaceSelector({ workspaces, selectedWorkspaceCwd, disabled, busy, alwaysVisible, scratchSupported, existingFolderSupported, standaloneSupported, selectedStandalone, className, onSelectWorkspace, onSelectHostedWorkspace, onSelectStandalone, onCreateScratch, onOpenExistingFolder, }: WorkspaceSelectorProps): import("react/jsx-runtime").JSX.Element | null;
39
+ export declare function WorkspaceSelector({ workspaces, selectedWorkspaceCwd, disabled, busy, alwaysVisible, menuItems, scratchSupported, existingFolderSupported, standaloneSupported, selectedStandalone, className, onSelectWorkspace, onSelectHostedWorkspace, onSelectStandalone, onCreateScratch, onOpenExistingFolder, }: WorkspaceSelectorProps): import("react/jsx-runtime").JSX.Element | null;
38
40
  export {};
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { TrajectoryLifecycleEntry } from '../../trajectory/project-trajectory-lifecycle';
7
+ import type { TrajectoryExecutionRow } from '../../trajectory/project-trajectory-executions';
8
+ import type { TrajectoryRow, TrajectoryTurn } from '../../trajectory/types';
9
+ /**
10
+ * Everything recorded about one record, turn or live execution: a header that
11
+ * names it and steps through the list, the measured facts, then its content.
12
+ * Docked it covers the list (`drill-in`); fullscreen it sits beside it.
13
+ */
14
+ export declare function TrajectoryDetail({ row, turn, lifecycle, execution, onLocateExecution, title, presentation, stale, hiddenByRange, hiddenByCollapse, hiddenByFilter, onClearFilter, onReveal, onClearRange, onClose, onStep, onFocusedUnmount, }: {
15
+ /** For a turn, its prompt; absent when the window cut the turn's head off. */
16
+ row?: TrajectoryRow;
17
+ turn?: TrajectoryTurn;
18
+ lifecycle?: TrajectoryLifecycleEntry;
19
+ execution?: TrajectoryExecutionRow;
20
+ onLocateExecution?: () => void;
21
+ title?: string;
22
+ presentation: 'drill-in' | 'side';
23
+ stale?: boolean;
24
+ hiddenByRange?: boolean;
25
+ hiddenByCollapse?: boolean;
26
+ hiddenByFilter?: boolean;
27
+ onClearFilter?: () => void;
28
+ onReveal?: () => void;
29
+ onClearRange?: () => void;
30
+ onClose: () => void;
31
+ /** Steps to the previous or next record in the list; absent for executions. */
32
+ onStep?: (direction: 1 | -1) => void;
33
+ onFocusedUnmount?: () => void;
34
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +1,15 @@
1
1
  import type { TrajectoryExecutionRow } from '../../trajectory/project-trajectory-executions';
2
2
  import type { TrajectoryLifecycleProjection } from '../../trajectory/project-trajectory-lifecycle';
3
- export declare function TrajectoryExecutions({ rows, omitted, incomplete, outsideWindow, selectedKey, onSelect, following, liveStatus, historySnapshot, onPause, onReturnToLatest, canReturn, returning, }: {
3
+ export declare function TrajectoryExecutions({ rows, selectedKey, onSelect, following, liveStatus, historySnapshot, onPause, onUpdatedChange, onFocusLost, }: {
4
4
  rows: readonly TrajectoryExecutionRow[];
5
- omitted: number;
6
- incomplete: boolean;
7
- outsideWindow: number;
8
5
  selectedKey?: string;
9
6
  onSelect: (key: string) => void;
10
7
  following: boolean;
11
8
  liveStatus: TrajectoryLifecycleProjection['status'];
12
9
  historySnapshot: object | undefined;
13
10
  onPause: () => void;
14
- onReturnToLatest: () => void;
15
- canReturn: boolean;
16
- returning: boolean;
17
- }): import("react/jsx-runtime").JSX.Element;
11
+ /** New executions arrived while the reader was not following. */
12
+ onUpdatedChange?: (updated: boolean) => void;
13
+ /** The focused grid went away with nothing of the strip left to take it. */
14
+ onFocusLost?: () => void;
15
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -70,4 +70,6 @@ export declare function formatWindowTime(ms: number, windowMs: number): string;
70
70
  * milliseconds.
71
71
  */
72
72
  export declare function formatClockTime(epochMs: number, windowMs: number, language: string): string;
73
+ /** A point on the axis, as the model's mode names one. */
74
+ export declare function formatTimelinePoint(model: Pick<TimelineModel, 'mode' | 'originMs'> | undefined, ms: number, windowMs: number, language: string): string;
73
75
  export declare function TrajectoryOverview({ model, viewportControl, notice, selectedKey, onSelect, describe, range, onRangeChange, onModeChange, }: TrajectoryOverviewProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { TrajectorySummary } from '../../trajectory/summarizeTrajectory';
7
+ import { type TrajectoryPillState, type TrajectoryWarning } from '../../trajectory/trajectory-status';
8
+ /** Same rounding as the table: 999,950 tokens already reads as `1.0M`. */
9
+ export declare function compactTokens(value: number): string;
10
+ export interface TrajectoryAboutInfo {
11
+ pages: number;
12
+ searchExcluded: number;
13
+ executionsOmitted: number;
14
+ executionsOutside: number;
15
+ }
16
+ /**
17
+ * One line above the strip: what the loaded records add up to, whether the
18
+ * panel is following the session, and anything that needs attention. Every
19
+ * caveat about scope lives behind the About button rather than on screen.
20
+ */
21
+ export declare function TrajectorySummaryBar({ summary, pill, onPill, warnings, onRetry, onRefresh, onReturnToLatest, canRefresh, history, failuresOn, onToggleFailures, about, }: {
22
+ summary?: TrajectorySummary;
23
+ pill: TrajectoryPillState;
24
+ onPill: () => void;
25
+ warnings: readonly TrajectoryWarning[];
26
+ onRetry: () => void;
27
+ onRefresh: () => void;
28
+ onReturnToLatest: () => void;
29
+ canRefresh: boolean;
30
+ /** An earlier window is on screen: a refresh would leave it for the latest. */
31
+ history: boolean;
32
+ failuresOn: boolean;
33
+ onToggleFailures: () => void;
34
+ about: TrajectoryAboutInfo;
35
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { TrajectoryFilter } from '../../trajectory/filterTrajectory';
7
+ /**
8
+ * Search, the type and status facets, and the selected time range, in one
9
+ * row. Matching rules live in `filterTrajectory`; this only edits the filter.
10
+ */
11
+ export declare function TrajectoryToolbar({ value, onChange, onNavigate, onClear, count, position, truncatedCount, range, onClearRange, status, }: {
12
+ value: TrajectoryFilter;
13
+ onChange: (filter: TrajectoryFilter) => void;
14
+ onNavigate: (direction: 1 | -1, filter?: TrajectoryFilter) => void;
15
+ onClear: () => void;
16
+ count: number;
17
+ position: number;
18
+ truncatedCount: number;
19
+ /** Label of the selected time range, when there is one. */
20
+ range?: string;
21
+ onClearRange: () => void;
22
+ /** How many records the current filters leave visible; announced only. */
23
+ status?: string;
24
+ }): import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,11 @@ import type { DaemonToolTranscriptBlock, DaemonTranscriptBlock } from '@qwen-cod
2
2
  import type { ACPToolCall } from '../../adapters/types';
3
3
  import type { TurnOutputOpenRequest } from './TurnOutputs';
4
4
  import { type OpenTurnCalls } from '../../turnCallsContext';
5
+ /**
6
+ * Strong ceiling for a single expanded field. Tool arguments and results can be
7
+ * arbitrarily large; the panel keeps them readable instead of letting a
8
+ * multi-megabyte payload reach the DOM.
9
+ */
5
10
  export interface TurnCallRow {
6
11
  block: DaemonToolTranscriptBlock;
7
12
  /** 0 for a top-level call, 1 for a call made by a sub-agent, and so on. */
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { DaemonToolTranscriptBlock } from '@qwen-code/sdk/daemon';
7
+ import type { ACPToolCall } from '../../adapters/types';
8
+ /** The longest stretch of one argument or result put in the DOM by default. */
9
+ export declare const MAX_DETAIL_LENGTH = 4000;
10
+ export declare function stringifyValue(value: unknown): string;
11
+ /** Valid JSON renders as a code block; anything else stays plain text. */
12
+ export declare function ToolCallDetail({ text, limit, }: {
13
+ text: string;
14
+ limit?: number;
15
+ }): import("react/jsx-runtime").JSX.Element;
16
+ export declare function shellDetails(tool: ACPToolCall): {
17
+ command: string;
18
+ output: string;
19
+ other: string;
20
+ };
21
+ /**
22
+ * What a tool call's arguments and result read as: a shell call as its command
23
+ * and output, an edit or write as its diff, anything else as recorded.
24
+ */
25
+ export declare function toolCallContent(tool: ACPToolCall, block: Pick<DaemonToolTranscriptBlock, 'rawInput' | 'rawOutput' | 'content'>): {
26
+ diff: string;
27
+ shell: {
28
+ command: string;
29
+ output: string;
30
+ other: string;
31
+ } | undefined;
32
+ argumentsText: string;
33
+ resultText: string;
34
+ };
@@ -1,3 +1,4 @@
1
+ import { type WorkspaceExecutionMode } from '../workspaces/WorkspaceExecutionSelect';
1
2
  export interface WorkspacePathSuggestion {
2
3
  name: string;
3
4
  path: string;
@@ -14,6 +15,9 @@ export interface WorkspaceLocationOption {
14
15
  remote: boolean;
15
16
  }
16
17
  interface AddWorkspaceDialogProps {
18
+ executionMode?: WorkspaceExecutionMode;
19
+ onExecutionModeChange?: (mode: WorkspaceExecutionMode) => void;
20
+ executionModeLocked?: boolean;
17
21
  browseDirectories?: boolean;
18
22
  initialPath?: string;
19
23
  pathHint?: string;
@@ -32,5 +36,5 @@ interface AddWorkspaceDialogProps {
32
36
  onPick?: () => Promise<string | undefined>;
33
37
  persistenceSupported?: boolean;
34
38
  }
35
- export declare function AddWorkspaceDialog({ browseDirectories, initialPath, pathHint, pathPlaceholder, onClose, onAdd, displayNameEnabled, locations, selectedLocation, onLocationChange, onSuggest, onPick, persistenceSupported, }: AddWorkspaceDialogProps): import("react/jsx-runtime").JSX.Element;
39
+ export declare function AddWorkspaceDialog({ executionMode, onExecutionModeChange, executionModeLocked, browseDirectories, initialPath, pathHint, pathPlaceholder, onClose, onAdd, displayNameEnabled, locations, selectedLocation, onLocationChange, onSuggest, onPick, persistenceSupported, }: AddWorkspaceDialogProps): import("react/jsx-runtime").JSX.Element;
36
40
  export {};
@@ -0,0 +1,10 @@
1
+ interface SessionRenameDialogProps {
2
+ value: string;
3
+ busy: boolean;
4
+ error?: string;
5
+ onChange: (value: string) => void;
6
+ onSubmit: (displayName: string) => void;
7
+ onClose: () => void;
8
+ }
9
+ export declare function SessionRenameDialog({ value, busy, error, onChange, onSubmit, onClose, }: SessionRenameDialogProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -1,11 +1,13 @@
1
+ import type { ReactNode } from 'react';
1
2
  /**
2
3
  * The folder step before it can show folders: the daemon's capabilities are
3
4
  * still loading, the lookup failed, or the daemon cannot register workspaces at
4
5
  * all. One shell for all three, so the states cannot overlap or leave a gap.
5
6
  */
6
- export declare function WorkspaceAddStatusDialog({ message, tone, subtitle, onClose, }: {
7
+ export declare function WorkspaceAddStatusDialog({ message, tone, subtitle, onClose, children, }: {
7
8
  message: string;
8
9
  tone: 'status' | 'alert';
9
10
  subtitle?: string;
10
11
  onClose: () => void;
12
+ children?: ReactNode;
11
13
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,27 @@
1
- import type { ManagedAgentProvider } from './managed-agent-provider';
2
- export declare function ManagedSessionsPage({ sessionId, onSelectSession, workspaceCwd, managedAgentProvider, navigationTarget, interactive, }: {
1
+ import type { WorkspaceSelectorOption } from '../WorkspaceSelector';
2
+ import type { ManagedCreationSkillsSource } from './managed-creation-skills';
3
+ import type { ManagedAgentProvider, ManagedAgentWorkspace } from './managed-agent-provider';
4
+ export declare function ManagedSessionsPage({ sessionId, workspaceCreationOpen, onWorkspaceCreationOpenChange, onWorkspaceCreated, onOpenLocalWorkspace, daemonWorkspaces, onSelectDaemonWorkspace, onWorkspacesChange, onSelectSession, onOpenSession, workspaceId, onSelectWorkspace, onSessionWorkspaceChange, workspaceCwd, managedAgentProvider, navigationTarget, interactive, creationSkills, onManageSkills, navigationActive, navigationSearch, }: {
3
5
  sessionId?: string;
4
- onSelectSession: (sessionId: string | undefined) => void;
6
+ workspaceCreationOpen?: boolean;
7
+ onWorkspaceCreationOpenChange?: (open: boolean) => void;
8
+ onWorkspaceCreated?: (workspaceId: string) => void;
9
+ onOpenLocalWorkspace?: () => void;
10
+ daemonWorkspaces?: WorkspaceSelectorOption[];
11
+ onSelectDaemonWorkspace?: (workspace: WorkspaceSelectorOption) => void;
12
+ onWorkspacesChange?: (workspaces: ManagedAgentWorkspace[]) => void;
13
+ onSelectSession: (sessionId: string | undefined, workspaceId?: string) => void;
14
+ onOpenSession?: (sessionId: string, workspaceId?: string) => void;
15
+ workspaceId?: string;
16
+ onSelectWorkspace?: (workspaceId: string) => void;
17
+ onSessionWorkspaceChange?: (workspaceId: string | null) => void;
5
18
  workspaceCwd?: string;
6
19
  managedAgentProvider?: ManagedAgentProvider;
7
20
  /** Null keeps home layout while its sidebar slot is temporarily unmounted. */
8
21
  navigationTarget?: HTMLElement | null;
9
22
  interactive?: boolean;
23
+ creationSkills?: ManagedCreationSkillsSource;
24
+ onManageSkills?: () => void;
25
+ navigationActive?: boolean;
26
+ navigationSearch?: string;
10
27
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import type { ManagedAgentProvider, ManagedAgentSessionSummary, ManagedAgentWorkspace } from './managed-agent-provider';
2
+ export declare function ManagedWorkspaceNavigation({ provider, clientId, sessions, sessionId, workspaceId, active, search, revision, onSelectWorkspace, onSelectSession, onWorkspacesChange, }: {
3
+ provider: ManagedAgentProvider;
4
+ clientId: string;
5
+ sessions: ManagedAgentSessionSummary[];
6
+ sessionId?: string;
7
+ workspaceId?: string;
8
+ active: boolean;
9
+ search: string;
10
+ revision: number;
11
+ onSelectWorkspace?: (workspaceId: string) => void;
12
+ onSelectSession: (sessionId: string, workspaceId?: string) => void;
13
+ onWorkspacesChange?: (workspaces: ManagedAgentWorkspace[]) => void;
14
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,21 @@
1
+ import { type ManagedCreationSkillsSource } from './managed-creation-skills';
2
+ import type { WorkspaceSelectorOption } from '../WorkspaceSelector';
1
3
  import type { ManagedAgentProvider } from './managed-agent-provider';
2
- export declare function WorkspaceBindingCreator({ provider, clientId, onCreated, onAbandoned, interactive, }: {
4
+ export declare function WorkspaceBindingCreator({ provider, workspaceCreationOpen, onWorkspaceCreationOpenChange, onOpenLocalWorkspace, daemonWorkspaces, onSelectDaemonWorkspace, creationOnly, clientId, onCreated, onAbandoned, workspaceId, onSelectWorkspace, onWorkspaceCreated, interactive, creationSkills, onManageSkills, }: {
3
5
  provider: ManagedAgentProvider;
6
+ workspaceCreationOpen?: boolean;
7
+ onWorkspaceCreationOpenChange?: (open: boolean) => void;
8
+ onOpenLocalWorkspace?: () => void;
9
+ daemonWorkspaces?: WorkspaceSelectorOption[];
10
+ onSelectDaemonWorkspace?: (workspace: WorkspaceSelectorOption) => void;
11
+ creationOnly?: boolean;
4
12
  clientId: string;
5
- onCreated: (sessionId: string) => void;
13
+ onCreated: (sessionId: string, workspaceId: string) => void;
6
14
  onAbandoned?: () => void;
15
+ workspaceId?: string;
16
+ onSelectWorkspace?: (workspaceId: string) => void;
17
+ onWorkspaceCreated?: (workspaceId: string) => void;
7
18
  interactive?: boolean;
19
+ creationSkills?: ManagedCreationSkillsSource;
20
+ onManageSkills?: () => void;
8
21
  }): import("react/jsx-runtime").JSX.Element;