@pstdio/workbench 0.44.0 → 0.45.0-nightly.20261021030241
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/extensions.d.ts +30 -4
- package/dist/extensions.js +1321 -786
- package/dist/extensions.js.map +1 -1
- package/dist/{file-renderer-view-C5dyoQQW.js → file-renderer-view-CJBCZZIE.js} +46 -46
- package/dist/{file-renderer-view-C5dyoQQW.js.map → file-renderer-view-CJBCZZIE.js.map} +1 -1
- package/dist/{index-8x-QT7wg.d.ts → index-CEjUGkgB.d.ts} +341 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2039 -1656
- package/dist/index.js.map +1 -1
- package/dist/{kanban-presentation-pexk_oCY.d.ts → kanban-presentation-CQNhh7IY.d.ts} +1 -1
- package/dist/navigation-tree-registry-BsMNSEyZ.js +145 -0
- package/dist/navigation-tree-registry-BsMNSEyZ.js.map +1 -0
- package/dist/{react-C-HbdPSw.js → react-hsii-4ZV.js} +3816 -2958
- package/dist/react-hsii-4ZV.js.map +1 -0
- package/dist/react.d.ts +18 -5
- package/dist/react.js +2 -2
- package/dist/storage.d.ts +1 -1
- package/dist/webview-runtime.js +1 -1
- package/dist/workbench-renderers-Ku0_knjs.js +1602 -0
- package/dist/workbench-renderers-Ku0_knjs.js.map +1 -0
- package/package.json +3 -3
- package/dist/navigation-tree-registry-C5l3eO3n.js +0 -120
- package/dist/navigation-tree-registry-C5l3eO3n.js.map +0 -1
- package/dist/react-C-HbdPSw.js.map +0 -1
- package/dist/workbench-renderers-Bz_dLyHW.js +0 -4775
- package/dist/workbench-renderers-Bz_dLyHW.js.map +0 -1
|
@@ -23,6 +23,38 @@ type MaybePromise<T> = T | Promise<T>;
|
|
|
23
23
|
type Struct = object;
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region ../pstdio-api-contracts/src/extensions.terminal.d.ts
|
|
26
|
+
interface TerminalSessionRequest$1 {
|
|
27
|
+
/** Command + args to run; defaults to the user's login shell when omitted. */
|
|
28
|
+
command?: string[];
|
|
29
|
+
/** Working directory; falls back to the extension's workspace root. */
|
|
30
|
+
cwd?: string;
|
|
31
|
+
/** Extra env vars merged over the inherited environment. */
|
|
32
|
+
env?: Record<string, string>;
|
|
33
|
+
/** Initial column count; the renderer can resize later. */
|
|
34
|
+
cols: number;
|
|
35
|
+
/** Initial row count; the renderer can resize later. */
|
|
36
|
+
rows: number;
|
|
37
|
+
}
|
|
38
|
+
type TerminalSessionOperation = {
|
|
39
|
+
operation: "open";
|
|
40
|
+
request: TerminalSessionRequest$1;
|
|
41
|
+
} | {
|
|
42
|
+
operation: "write";
|
|
43
|
+
sessionId: string;
|
|
44
|
+
data: string | Uint8Array;
|
|
45
|
+
} | {
|
|
46
|
+
operation: "resize";
|
|
47
|
+
sessionId: string;
|
|
48
|
+
cols: number;
|
|
49
|
+
rows: number;
|
|
50
|
+
} | {
|
|
51
|
+
operation: "kill";
|
|
52
|
+
sessionId: string;
|
|
53
|
+
signal?: string;
|
|
54
|
+
} | {
|
|
55
|
+
operation: "subscribe";
|
|
56
|
+
sessionId: string;
|
|
57
|
+
};
|
|
26
58
|
type TerminalSessionResult = {
|
|
27
59
|
operation: "open";
|
|
28
60
|
sessionId: string;
|
|
@@ -31,6 +63,150 @@ type TerminalSessionResult = {
|
|
|
31
63
|
accepted: true;
|
|
32
64
|
};
|
|
33
65
|
//#endregion
|
|
66
|
+
//#region ../pstdio-api-contracts/src/agents.d.ts
|
|
67
|
+
declare const harnessParamsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
68
|
+
control: z.ZodOptional<z.ZodLiteral<"command">>;
|
|
69
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
70
|
+
$l10n: z.ZodString;
|
|
71
|
+
default: z.ZodOptional<z.ZodString>;
|
|
72
|
+
}, z.core.$strip>]>>;
|
|
73
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
74
|
+
$l10n: z.ZodString;
|
|
75
|
+
default: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strip>]>>;
|
|
77
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
79
|
+
type: z.ZodLiteral<"select">;
|
|
80
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
81
|
+
options: z.ZodArray<z.ZodObject<{
|
|
82
|
+
label: z.ZodString;
|
|
83
|
+
value: z.ZodString;
|
|
84
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
87
|
+
control: z.ZodOptional<z.ZodLiteral<"command">>;
|
|
88
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
89
|
+
$l10n: z.ZodString;
|
|
90
|
+
default: z.ZodOptional<z.ZodString>;
|
|
91
|
+
}, z.core.$strip>]>>;
|
|
92
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
93
|
+
$l10n: z.ZodString;
|
|
94
|
+
default: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>]>>;
|
|
96
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
|
+
type: z.ZodLiteral<"boolean">;
|
|
99
|
+
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
}, z.core.$strip>]>>;
|
|
101
|
+
declare const agentInfoSchema: z.ZodObject<{
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
name: z.ZodString;
|
|
104
|
+
availability: z.ZodObject<{
|
|
105
|
+
type: z.ZodEnum<{
|
|
106
|
+
INSTALLED: "INSTALLED";
|
|
107
|
+
NOT_FOUND: "NOT_FOUND";
|
|
108
|
+
}>;
|
|
109
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
dir: z.ZodString;
|
|
113
|
+
global_dir: z.ZodString;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
116
|
+
control: z.ZodOptional<z.ZodLiteral<"command">>;
|
|
117
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
118
|
+
$l10n: z.ZodString;
|
|
119
|
+
default: z.ZodOptional<z.ZodString>;
|
|
120
|
+
}, z.core.$strip>]>>;
|
|
121
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
122
|
+
$l10n: z.ZodString;
|
|
123
|
+
default: z.ZodOptional<z.ZodString>;
|
|
124
|
+
}, z.core.$strip>]>>;
|
|
125
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
127
|
+
type: z.ZodLiteral<"select">;
|
|
128
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
129
|
+
options: z.ZodArray<z.ZodObject<{
|
|
130
|
+
label: z.ZodString;
|
|
131
|
+
value: z.ZodString;
|
|
132
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
+
control: z.ZodOptional<z.ZodLiteral<"command">>;
|
|
136
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
137
|
+
$l10n: z.ZodString;
|
|
138
|
+
default: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, z.core.$strip>]>>;
|
|
140
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
141
|
+
$l10n: z.ZodString;
|
|
142
|
+
default: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, z.core.$strip>]>>;
|
|
144
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
146
|
+
type: z.ZodLiteral<"boolean">;
|
|
147
|
+
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
+
}, z.core.$strip>]>>>;
|
|
149
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
150
|
+
SessionFork: "SessionFork";
|
|
151
|
+
ContextUsage: "ContextUsage";
|
|
152
|
+
Approvals: "Approvals";
|
|
153
|
+
SessionReattach: "SessionReattach";
|
|
154
|
+
Attachments: "Attachments";
|
|
155
|
+
}>>;
|
|
156
|
+
supportsModels: z.ZodBoolean;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
declare const agentModelSchema: z.ZodObject<{
|
|
159
|
+
id: z.ZodString;
|
|
160
|
+
label: z.ZodOptional<z.ZodString>;
|
|
161
|
+
description: z.ZodOptional<z.ZodString>;
|
|
162
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
paramOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
164
|
+
control: z.ZodOptional<z.ZodLiteral<"command">>;
|
|
165
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
166
|
+
$l10n: z.ZodString;
|
|
167
|
+
default: z.ZodOptional<z.ZodString>;
|
|
168
|
+
}, z.core.$strip>]>>;
|
|
169
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
170
|
+
$l10n: z.ZodString;
|
|
171
|
+
default: z.ZodOptional<z.ZodString>;
|
|
172
|
+
}, z.core.$strip>]>>;
|
|
173
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
174
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
175
|
+
type: z.ZodLiteral<"select">;
|
|
176
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
177
|
+
options: z.ZodArray<z.ZodObject<{
|
|
178
|
+
label: z.ZodString;
|
|
179
|
+
value: z.ZodString;
|
|
180
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
183
|
+
control: z.ZodOptional<z.ZodLiteral<"command">>;
|
|
184
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
185
|
+
$l10n: z.ZodString;
|
|
186
|
+
default: z.ZodOptional<z.ZodString>;
|
|
187
|
+
}, z.core.$strip>]>>;
|
|
188
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
189
|
+
$l10n: z.ZodString;
|
|
190
|
+
default: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>]>>;
|
|
192
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
194
|
+
type: z.ZodLiteral<"boolean">;
|
|
195
|
+
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
+
}, z.core.$strip>]>>>>;
|
|
197
|
+
}, z.core.$strip>;
|
|
198
|
+
type AgentInfo = z.infer<typeof agentInfoSchema>;
|
|
199
|
+
type AgentModel = z.infer<typeof agentModelSchema>;
|
|
200
|
+
type HarnessParamsInfo = z.infer<typeof harnessParamsSchema>;
|
|
201
|
+
//#endregion
|
|
202
|
+
//#region ../pstdio-api-contracts/src/extension-kernel/types/sessions.d.ts
|
|
203
|
+
interface ExtensionHarnessInput {
|
|
204
|
+
harnessId: string;
|
|
205
|
+
model?: string;
|
|
206
|
+
/** Run params the harness declares for the model, such as reasoning effort. They override the project's defaults. */
|
|
207
|
+
params?: Record<string, string | boolean>;
|
|
208
|
+
}
|
|
209
|
+
//#endregion
|
|
34
210
|
//#region ../pstdio-api-contracts/src/extension-kernel/types/webview-capabilities.d.ts
|
|
35
211
|
interface WebviewCommandsExecuteParams {
|
|
36
212
|
commandId: string;
|
|
@@ -39,6 +215,26 @@ interface WebviewCommandsExecuteParams {
|
|
|
39
215
|
resource?: ResourceRef$2;
|
|
40
216
|
metadata?: JsonObject;
|
|
41
217
|
}
|
|
218
|
+
type WebviewCommandsStreamParams = ({
|
|
219
|
+
operation: "start";
|
|
220
|
+
streamId: string;
|
|
221
|
+
} & WebviewCommandsExecuteParams) | {
|
|
222
|
+
operation: "cancel";
|
|
223
|
+
streamId: string;
|
|
224
|
+
} | {
|
|
225
|
+
operation: "ack";
|
|
226
|
+
streamId: string;
|
|
227
|
+
bytes: number;
|
|
228
|
+
};
|
|
229
|
+
interface WebviewNavigationOpenParams {
|
|
230
|
+
target: NavigationTarget$2;
|
|
231
|
+
}
|
|
232
|
+
/** @deprecated Use CommandNotice with type and message. */
|
|
233
|
+
interface WebviewNotificationShowParams {
|
|
234
|
+
level: "info" | "success" | "warning" | "error";
|
|
235
|
+
title: string;
|
|
236
|
+
message?: string;
|
|
237
|
+
}
|
|
42
238
|
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
43
239
|
type WebviewNotificationActionParams = Omit<CreateNotificationInput, "projectId">;
|
|
44
240
|
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
@@ -47,6 +243,8 @@ interface WebviewNotificationResolveParams {
|
|
|
47
243
|
dedupeKey?: string;
|
|
48
244
|
status?: Extract<NotificationStatus, "done" | "dismissed" | "expired">;
|
|
49
245
|
}
|
|
246
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
247
|
+
type WebviewNotificationDismissParams = Pick<WebviewNotificationResolveParams, "id" | "dedupeKey">;
|
|
50
248
|
interface WebviewPreferencesGetParams {
|
|
51
249
|
/** Access to another extension's registered names is deprecated. Use names owned by the caller. */
|
|
52
250
|
name: string;
|
|
@@ -107,7 +305,65 @@ interface WebviewArtifactFile {
|
|
|
107
305
|
size: number;
|
|
108
306
|
mediaType: string;
|
|
109
307
|
}
|
|
308
|
+
interface WebviewKeyboardEventParams {
|
|
309
|
+
key?: string;
|
|
310
|
+
code?: string;
|
|
311
|
+
ctrlKey?: boolean;
|
|
312
|
+
metaKey?: boolean;
|
|
313
|
+
altKey?: boolean;
|
|
314
|
+
shiftKey?: boolean;
|
|
315
|
+
repeat?: boolean;
|
|
316
|
+
}
|
|
317
|
+
interface WebviewHostCapabilityParams {
|
|
318
|
+
"harnesses.read": {
|
|
319
|
+
harnessId?: string;
|
|
320
|
+
model?: string;
|
|
321
|
+
};
|
|
322
|
+
"resources.actions": {
|
|
323
|
+
operation: "list";
|
|
324
|
+
resource: ResourceRef$2;
|
|
325
|
+
} | {
|
|
326
|
+
operation: "execute";
|
|
327
|
+
resource: ResourceRef$2;
|
|
328
|
+
key: string;
|
|
329
|
+
};
|
|
330
|
+
"commands.execute": WebviewCommandsExecuteParams;
|
|
331
|
+
"commands.stream": WebviewCommandsStreamParams;
|
|
332
|
+
"page.params.update": WebviewPageParamsUpdateParams;
|
|
333
|
+
"navigation.open": WebviewNavigationOpenParams;
|
|
334
|
+
"placement.close": Record<string, never>;
|
|
335
|
+
"notification.show": CommandNotice | WebviewNotificationShowParams;
|
|
336
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
337
|
+
"notification.action": WebviewNotificationActionParams;
|
|
338
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
339
|
+
"notification.resolve": WebviewNotificationResolveParams;
|
|
340
|
+
/** @deprecated Invoke a command using ctx.notify.setStatus or setStatusByKey. */
|
|
341
|
+
"notification.dismiss": WebviewNotificationDismissParams;
|
|
342
|
+
"preferences.get": WebviewPreferencesGetParams;
|
|
343
|
+
"preferences.set": WebviewPreferencesSetParams;
|
|
344
|
+
"extension.settings.all": Record<string, never>;
|
|
345
|
+
"extension.settings.get": WebviewExtensionSettingKeyParams;
|
|
346
|
+
"extension.settings.set": WebviewExtensionSettingSetParams;
|
|
347
|
+
"extension.settings.delete": WebviewExtensionSettingKeyParams;
|
|
348
|
+
/** @deprecated Use the host terminal surface. */
|
|
349
|
+
"terminal.session": TerminalSessionOperation;
|
|
350
|
+
"files.upload": WebviewFilesUploadParams;
|
|
351
|
+
/** @deprecated Use extension commands and owned storage. */
|
|
352
|
+
"files.list": WebviewFilesListParams;
|
|
353
|
+
/** @deprecated Use extension commands and owned storage. */
|
|
354
|
+
"files.delete": WebviewFilesDeleteParams;
|
|
355
|
+
"artifacts.read": WebviewArtifactsReadParams;
|
|
356
|
+
"host.dispatchKeyboardEvent": WebviewKeyboardEventParams;
|
|
357
|
+
}
|
|
110
358
|
interface WebviewHostCapabilityResults {
|
|
359
|
+
"harnesses.read": {
|
|
360
|
+
harnesses: AgentInfo[];
|
|
361
|
+
models: AgentModel[];
|
|
362
|
+
schema?: HarnessParamsInfo;
|
|
363
|
+
defaults?: Record<string, string | boolean>;
|
|
364
|
+
selection?: ExtensionHarnessInput;
|
|
365
|
+
};
|
|
366
|
+
"resources.actions": WebviewResourceAction[];
|
|
111
367
|
"commands.execute": {
|
|
112
368
|
outcome: CommandOutcome;
|
|
113
369
|
};
|
|
@@ -157,6 +413,23 @@ interface WebviewHostCapabilityResults {
|
|
|
157
413
|
"artifacts.read": WebviewArtifactFile[] | string;
|
|
158
414
|
"host.dispatchKeyboardEvent": void;
|
|
159
415
|
}
|
|
416
|
+
interface WebviewResourceAction {
|
|
417
|
+
key: string;
|
|
418
|
+
label: string;
|
|
419
|
+
commandId?: string;
|
|
420
|
+
/** Workbench icon name. */
|
|
421
|
+
icon?: string;
|
|
422
|
+
/** Image URL that replaces `icon` when present. */
|
|
423
|
+
iconSrc?: string;
|
|
424
|
+
/** Help text, or the reason the action is disabled. */
|
|
425
|
+
description?: string;
|
|
426
|
+
isDisabled?: boolean;
|
|
427
|
+
separatorBefore?: boolean;
|
|
428
|
+
group?: {
|
|
429
|
+
id: string;
|
|
430
|
+
label?: string;
|
|
431
|
+
};
|
|
432
|
+
}
|
|
160
433
|
//#endregion
|
|
161
434
|
//#region ../pstdio-api-contracts/src/extension-kernel/types/pages.d.ts
|
|
162
435
|
type PageParamValue$1 = string | number | boolean | readonly string[];
|
|
@@ -1303,6 +1576,20 @@ declare const extensionTreeRendererRecordSchema: z.ZodObject<{
|
|
|
1303
1576
|
$l10n: z.ZodString;
|
|
1304
1577
|
default: z.ZodOptional<z.ZodString>;
|
|
1305
1578
|
}, z.core.$strip>]>>;
|
|
1579
|
+
structure: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1580
|
+
id: z.ZodString;
|
|
1581
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1582
|
+
$l10n: z.ZodString;
|
|
1583
|
+
default: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
}, z.core.$strip>]>>;
|
|
1585
|
+
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
1586
|
+
hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1587
|
+
canHide: z.ZodOptional<z.ZodBoolean>;
|
|
1588
|
+
resourceNode: z.ZodOptional<z.ZodObject<{
|
|
1589
|
+
id: z.ZodString;
|
|
1590
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
}, z.core.$strip>>;
|
|
1592
|
+
}, z.core.$strip>>>;
|
|
1306
1593
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
1307
1594
|
searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1308
1595
|
$l10n: z.ZodString;
|
|
@@ -1662,6 +1949,8 @@ interface WorkbenchRegionState {
|
|
|
1662
1949
|
activeWidgetId?: string;
|
|
1663
1950
|
/** Side region only: how the open Side Panel is shown. `visible` says whether it is open. */
|
|
1664
1951
|
presentation?: Exclude<WorkbenchSidePanelMode, "closed">;
|
|
1952
|
+
/** User choice scoped with this mode layout; reset clears it. */
|
|
1953
|
+
headerVisible?: boolean;
|
|
1665
1954
|
}
|
|
1666
1955
|
interface WorkbenchLayout {
|
|
1667
1956
|
regions: Record<WorkbenchRegion, WorkbenchRegionState>;
|
|
@@ -1916,6 +2205,7 @@ interface ResourceRegistry {
|
|
|
1916
2205
|
preview: ReturnType<typeof createResourcePreview>;
|
|
1917
2206
|
removed(resource: ResourceRef): void;
|
|
1918
2207
|
onWillRemove(listener: (resource: ResourceRef) => readonly PlacementIdentity[]): Disposable;
|
|
2208
|
+
onDidRemove(listener: (resource: ResourceRef) => void): Disposable;
|
|
1919
2209
|
store: WorkbenchStore<ResourceRegistryStoreState>;
|
|
1920
2210
|
registerKind(kind: ResourceKindContribution, metadata?: ContributionMetadata): Disposable;
|
|
1921
2211
|
getKind(kind: string, extensionId?: string): RegisteredResourceKind | undefined;
|
|
@@ -2063,6 +2353,8 @@ interface WorkbenchResourceSearchRequest {
|
|
|
2063
2353
|
subscribe?(listener: () => void): () => void;
|
|
2064
2354
|
}
|
|
2065
2355
|
interface WorkbenchCommandPaletteState {
|
|
2356
|
+
/** Identifies one palette presentation, independently of command params and confirmations. */
|
|
2357
|
+
requestId: number;
|
|
2066
2358
|
resourceSearch: WorkbenchResourceSearchRequest | null;
|
|
2067
2359
|
confirmation: WorkbenchCommandConfirmation | null;
|
|
2068
2360
|
open: boolean;
|
|
@@ -2083,6 +2375,8 @@ interface WorkbenchCommandPaletteController {
|
|
|
2083
2375
|
getParamsRequest(): WorkbenchCommandParamsRequest | null;
|
|
2084
2376
|
open(input?: WorkbenchCommandPaletteOpenInput): void;
|
|
2085
2377
|
close(): void;
|
|
2378
|
+
/** Captures a close callback that cannot dismiss a later palette presentation. */
|
|
2379
|
+
captureClose(onClose: () => void): () => void;
|
|
2086
2380
|
toggle(): void;
|
|
2087
2381
|
requestConfirmation(label: string, options?: Pick<WorkbenchCommandConfirmation, "description" | "buttonLabel" | "onConfirm">): Promise<boolean>;
|
|
2088
2382
|
requestParams(request: WorkbenchCommandParamsRequest): void;
|
|
@@ -2125,7 +2419,7 @@ interface LayoutModel {
|
|
|
2125
2419
|
getWidget(id: string): RegisteredWidgetContribution | undefined;
|
|
2126
2420
|
getPanel(id: string): WorkbenchPanelContribution | undefined;
|
|
2127
2421
|
getRegionSize(regionId: WorkbenchRegion): WorkbenchRegionSize | undefined;
|
|
2128
|
-
getRegionSettings(regionId: WorkbenchRegion): WorkbenchRegionSettings | undefined;
|
|
2422
|
+
getRegionSettings(regionId: WorkbenchRegion, modeId?: string): WorkbenchRegionSettings | undefined;
|
|
2129
2423
|
getRegionCollapsible(regionId: WorkbenchRegion): boolean;
|
|
2130
2424
|
getRegionHeaderBorderBottom(regionId: WorkbenchRegion): boolean;
|
|
2131
2425
|
setRegionVisible(regionId: WorkbenchRegion, visible: boolean): void;
|
|
@@ -2341,6 +2635,8 @@ interface TreeSectionEmptyState {
|
|
|
2341
2635
|
}
|
|
2342
2636
|
interface TreeViewSection {
|
|
2343
2637
|
id: string;
|
|
2638
|
+
/** This section's structure is known, but its contents have not arrived yet. */
|
|
2639
|
+
loading?: boolean;
|
|
2344
2640
|
/** Host-owned customization boundary. Extension callbacks cannot set it. */
|
|
2345
2641
|
moveScope?: string;
|
|
2346
2642
|
label?: string;
|
|
@@ -2377,6 +2673,8 @@ interface TreeRendererContribution {
|
|
|
2377
2673
|
defaultExpandedNodeIds?: string[];
|
|
2378
2674
|
/** Identify the navigation data scope when it differs from the current page resource. */
|
|
2379
2675
|
getReadKey?(ctx: TreeQueryContext): string;
|
|
2676
|
+
/** Synchronous layout available before the first content read. */
|
|
2677
|
+
getStructure?(ctx: TreeQueryContext): TreeViewSection[];
|
|
2380
2678
|
getBody(ctx: TreeContext): Promise<TreeViewSection[]> | TreeViewSection[];
|
|
2381
2679
|
getHeader?(ctx: TreeContext): Promise<TreeViewSection[]> | TreeViewSection[];
|
|
2382
2680
|
getFooter?(ctx: TreeContext): Promise<TreeViewSection[]> | TreeViewSection[];
|
|
@@ -2444,6 +2742,7 @@ interface NavigationTreeOwner {
|
|
|
2444
2742
|
interface NavigationTreeContext {
|
|
2445
2743
|
resource?: ResourceRef$1;
|
|
2446
2744
|
signal?: AbortSignal;
|
|
2745
|
+
onProgress?(sections: TreeViewSection[]): void;
|
|
2447
2746
|
}
|
|
2448
2747
|
interface NavigationTreeMoveContext extends NavigationTreeContext {
|
|
2449
2748
|
position?: "before" | "after" | "inside";
|
|
@@ -2460,6 +2759,7 @@ interface NavigationTreeContribution {
|
|
|
2460
2759
|
defaultExpandedSectionIds?: string[];
|
|
2461
2760
|
/** Resolve the data resource independently of the selected navigation item. */
|
|
2462
2761
|
resolveResource?(resource: ResourceRef$1 | undefined): ResourceRef$1 | undefined;
|
|
2762
|
+
getStructure?(context: NavigationTreeContext): TreeViewSection[];
|
|
2463
2763
|
getSections?(context: NavigationTreeContext): Promise<TreeViewSection[]> | TreeViewSection[];
|
|
2464
2764
|
getChildren?(node: TreeNode, context: NavigationTreeContext): Promise<TreeNode[]> | TreeNode[];
|
|
2465
2765
|
/** Authored actions for discovery, independent of tree data and visibility context. */
|
|
@@ -2472,6 +2772,7 @@ interface NavigationTreeRegistry {
|
|
|
2472
2772
|
registerContribution(contribution: NavigationTreeContribution): Disposable;
|
|
2473
2773
|
resolveOwner(kind: NavigationTreeOwner["kind"], id: string, slot?: NavigationTreeSlot): NavigationTreeOwner | undefined;
|
|
2474
2774
|
getReadKey(owner: NavigationTreeOwner, context?: NavigationTreeContext): string;
|
|
2775
|
+
getStructure(owner: NavigationTreeOwner, slot?: NavigationTreeSlot, context?: NavigationTreeContext): TreeViewSection[];
|
|
2475
2776
|
getSections(owner: NavigationTreeOwner, slot?: NavigationTreeSlot, context?: NavigationTreeContext): Promise<TreeViewSection[]>;
|
|
2476
2777
|
getChildren(node: TreeNode, context?: NavigationTreeContext): Promise<TreeNode[]>;
|
|
2477
2778
|
moveNode(source: TreeNode, target: TreeNode | undefined, context?: NavigationTreeMoveContext): Promise<void>;
|
|
@@ -2613,6 +2914,7 @@ interface AttributesSource<TNode = unknown> {
|
|
|
2613
2914
|
interface KanbanRendererRow {
|
|
2614
2915
|
id: string;
|
|
2615
2916
|
title: string;
|
|
2917
|
+
target?: NavigationTarget$1;
|
|
2616
2918
|
/**
|
|
2617
2919
|
* Optional navigation handle. When set, the renderer's default click handler
|
|
2618
2920
|
* routes through the contribution's onRowActivate (which typically opens the
|
|
@@ -3218,6 +3520,28 @@ interface WorkbenchSidePanelController {
|
|
|
3218
3520
|
onDidChange(listener: WorkbenchSidePanelChangeListener): Disposable;
|
|
3219
3521
|
}
|
|
3220
3522
|
//#endregion
|
|
3523
|
+
//#region src/core/controllers/shell/panel-policy.d.ts
|
|
3524
|
+
declare const resolvePanelPolicy: (input: {
|
|
3525
|
+
region: WorkbenchRegion;
|
|
3526
|
+
mode?: WorkbenchModeContribution;
|
|
3527
|
+
settings?: WorkbenchRegionSettings;
|
|
3528
|
+
state: WorkbenchRegionState;
|
|
3529
|
+
legacyFloatable?: boolean;
|
|
3530
|
+
}) => {
|
|
3531
|
+
provided: boolean;
|
|
3532
|
+
open: boolean;
|
|
3533
|
+
canOpen: boolean;
|
|
3534
|
+
canClose: boolean;
|
|
3535
|
+
canToggle: boolean;
|
|
3536
|
+
acceptsTabs: boolean;
|
|
3537
|
+
resizable: boolean;
|
|
3538
|
+
floatable: boolean;
|
|
3539
|
+
headerExplicit: boolean;
|
|
3540
|
+
showHeader: boolean;
|
|
3541
|
+
legacyHeaders: boolean;
|
|
3542
|
+
};
|
|
3543
|
+
type WorkbenchPanelPolicy = ReturnType<typeof resolvePanelPolicy>;
|
|
3544
|
+
//#endregion
|
|
3221
3545
|
//#region src/core/controllers/shell/shell-controller.d.ts
|
|
3222
3546
|
type WorkbenchSidePanelPresentation = WorkbenchSidePanelMode;
|
|
3223
3547
|
type WorkbenchShellOpenRegion = "sidenav" | "secondary" | "side";
|
|
@@ -3226,6 +3550,8 @@ interface WorkbenchShellRegionState {
|
|
|
3226
3550
|
size?: number;
|
|
3227
3551
|
}
|
|
3228
3552
|
interface WorkbenchShellController {
|
|
3553
|
+
getPanelPolicy(region: WorkbenchRegion): WorkbenchPanelPolicy;
|
|
3554
|
+
setHeaderVisible(region: WorkbenchRegion, visible: boolean): void;
|
|
3229
3555
|
getRegionState(region: WorkbenchRegion): WorkbenchShellRegionState;
|
|
3230
3556
|
setRegionOpen(region: WorkbenchShellOpenRegion, open: boolean): void;
|
|
3231
3557
|
setRegionSize(region: WorkbenchRegion, size: number): void;
|
|
@@ -3415,6 +3741,8 @@ interface WorkbenchNotification {
|
|
|
3415
3741
|
resource?: ResourceRef$1;
|
|
3416
3742
|
actions?: WorkbenchNotificationAction[];
|
|
3417
3743
|
metadata?: Record<string, unknown>;
|
|
3744
|
+
/** The view or region that owns feedback for a failed user action. */
|
|
3745
|
+
inlineTarget?: string;
|
|
3418
3746
|
}
|
|
3419
3747
|
interface RegisteredWorkbenchNotification extends RegisteredContributionMetadata {
|
|
3420
3748
|
id: string;
|
|
@@ -3425,6 +3753,7 @@ interface RegisteredWorkbenchNotification extends RegisteredContributionMetadata
|
|
|
3425
3753
|
resource?: ResourceRef$1;
|
|
3426
3754
|
actions?: WorkbenchNotificationAction[];
|
|
3427
3755
|
metadata?: Record<string, unknown>;
|
|
3756
|
+
inlineTarget?: string;
|
|
3428
3757
|
}
|
|
3429
3758
|
type WorkbenchNotificationEvent = {
|
|
3430
3759
|
type: "show";
|
|
@@ -3445,6 +3774,7 @@ interface NotificationRegistry {
|
|
|
3445
3774
|
clear(): void;
|
|
3446
3775
|
listNotifications(): RegisteredWorkbenchNotification[];
|
|
3447
3776
|
subscribe(listener: WorkbenchNotificationListener): Disposable;
|
|
3777
|
+
captureActionError(label: string, target?: string): (error: unknown) => void;
|
|
3448
3778
|
}
|
|
3449
3779
|
//#endregion
|
|
3450
3780
|
//#region src/core/registries/overlays/overlay-registry.d.ts
|
|
@@ -3921,6 +4251,8 @@ interface WorkbenchModeContribution {
|
|
|
3921
4251
|
label?: string;
|
|
3922
4252
|
defaultTheme?: string;
|
|
3923
4253
|
floatingPanels?: "visible" | "hidden";
|
|
4254
|
+
/** Published extension headers retain their existing implicit tab visibility. */
|
|
4255
|
+
panelHeaders?: "legacy";
|
|
3924
4256
|
chrome?: Partial<Record<"nav" | "sidenav" | "activity" | "status", string | false>>;
|
|
3925
4257
|
panels?: readonly WorkbenchPanelRegion[];
|
|
3926
4258
|
/** Region-level layout policy while this mode is active. */
|
|
@@ -3989,7 +4321,8 @@ interface LevelNavigationHost {
|
|
|
3989
4321
|
}
|
|
3990
4322
|
declare const createLevelNavigation: (host: LevelNavigationHost) => {
|
|
3991
4323
|
getReadKey: () => string;
|
|
3992
|
-
|
|
4324
|
+
getStructure: (slot: NavigationTreeSlot) => TreeViewSection[];
|
|
4325
|
+
getSections(slot: NavigationTreeSlot, signal?: AbortSignal, onProgress?: (sections: TreeViewSection[]) => void): Promise<TreeViewSection[]>;
|
|
3993
4326
|
getDefaultExpandedSectionIds: () => string[];
|
|
3994
4327
|
};
|
|
3995
4328
|
//#endregion
|
|
@@ -4029,12 +4362,15 @@ declare const settleReadBatch: <T>(tasks: ((signal: AbortSignal) => Promise<T> |
|
|
|
4029
4362
|
//#endregion
|
|
4030
4363
|
//#region src/core/shared/run-user-action.d.ts
|
|
4031
4364
|
declare const runUserAction: (workbench: {
|
|
4032
|
-
notifications: Pick<NotificationRegistry, "
|
|
4033
|
-
}, label: string, run: () => unknown
|
|
4365
|
+
notifications: Pick<NotificationRegistry, "captureActionError">;
|
|
4366
|
+
}, label: string, run: () => unknown, options?: {
|
|
4367
|
+
inlineTarget?: string;
|
|
4368
|
+
onSuccess?: () => void;
|
|
4369
|
+
}) => Promise<void>;
|
|
4034
4370
|
//#endregion
|
|
4035
4371
|
//#region src/core/shared/store/workbench-batch.d.ts
|
|
4036
4372
|
/** Commit related stores before their subscribers read the resulting workbench state. */
|
|
4037
4373
|
declare const batchWorkbenchChanges: <Result>(commit: () => Result) => Result;
|
|
4038
4374
|
//#endregion
|
|
4039
|
-
export { WorkflowStatus as $,
|
|
4375
|
+
export { WorkflowStatus as $, WorkbenchTabMenuRow as $i, AttributeDescriptor as $n, WorkbenchCommandPaletteOpenInput as $r, WorkbenchTerminalSessionExit as $t, createWorkbench as A, PageParamValue$1 as Aa, ContextKeyScope as Ai, RendererReadBinding as An, NavigationTreeOwner as Ar, WorkbenchPlaceholderRegistry as At, WorkbenchSnapshot as B, WebviewNotificationResolveParams as Ba, NavigationTargetItem as Bi, FileRendererSaveResult as Bn, TreeRendererContribution as Br, WorkbenchOwnedPlacementItem as Bt, isWorkbenchModePanelAvailable as C, WorkbenchExtensionControlsRendererRecord as Ca, workbenchSelectionResourceKeyMetadataKey as Ci, WorkbenchReactViewBody as Cn, ControlsQueryResult$1 as Cr, PreferenceSchemaContribution as Ct, WorkbenchModeAddablePanelContext as D, CommandNotice as Da, WorkbenchViewHierarchyNode as Di, WorkbenchViewRegistryStoreState as Dn, ControlsUpdateValueInput as Dr, WorkbenchShellPlacementContribution as Dt, WorkbenchModeAddablePanel as E, WebviewHostProps as Ea, WorkbenchHierarchyNode as Ei, WorkbenchViewRegistry as En, ControlsResetInput as Er, PreferenceValue as Et, WorkbenchModuleContribution as F, WebviewFilesListParams as Fa, NavigationParser as Fi, KanbanRendererQueryState as Fn, TreeMoveEndpoint as Fr, WorkbenchNotificationAction as Ft, ThemePreferenceOption as G, WorkbenchLayout as Gi, DataTableRendererContribution as Gn, MenuItem as Gr, CommandPaletteResourceProvider as Gt, ThemeRegistry as H, WebviewPreferencesGetParams as Ha, RegisteredPlaceholderContribution as Hi, DataTableRendererColumn as Hn, TreeRendererState as Hr, KeybindingRegistry as Ht, WorkbenchModuleContributionContext as I, WebviewFilesUploadParams as Ia, NavigationRegistry as Ii, FileRendererContent as In, TreeMovePolicy as Ir, WorkbenchNotificationEvent as It, FileIconThemeFont as J, WorkbenchPanelTab as Ji, DataTableRendererRow as Jn, RegisteredMenuItem as Jr, CommandPaletteResourceRegistry as Jt, ThemePreferenceTokens as K, WorkbenchPanelInstance as Ki, DataTableRendererQueryContext as Kn, MenuPath as Kr, CommandPaletteResourceProviderResult as Kt, WorkbenchPagePersistenceScope as L, WebviewHostCapabilityParams as La, NavigationTarget$1 as Li, FileRendererContribution as Ln, TreeNode as Lr, WorkbenchNotificationLevel as Lt, WorkbenchCoreContributionContext as M, WebviewCommandsExecuteParams as Ma, ContextKeyValue as Mi, RendererReadRequest as Mn, NavigationTreeSlot as Mr, WorkbenchOverlayRegistry as Mt, WorkbenchHost as N, WebviewExtensionSettingSetParams as Na, matchesContextExpression as Ni, createRendererReadRegistry as Nn, TreeAction as Nr, NotificationRegistry as Nt, WorkbenchModeContribution as O, NavigationTarget$2 as Oa, isWorkbenchViewHierarchyNode as Oi, createViewRegistry as On, NavigationTreeContext as Or, WorkbenchShellPlacementRegistry as Ot, WorkbenchModuleContext as P, WebviewFilesDeleteParams as Pa, NavigationDispatcherContext as Pi, KanbanRendererContribution as Pn, TreeContext as Pr, WorkbenchNotification as Pt, WorkbenchStatusSetContribution as Q, WorkbenchTabMenuGroup as Qi, RegisteredDataTableRendererContribution as Qn, WorkbenchCommandPaletteController as Qr, WorkbenchTerminalSessionError as Qt, WorkbenchPagePersistenceScopeInput as R, WebviewHostCapabilityResults as Ra, NavigationTargetCommand as Ri, FileRendererRefreshEnvelope as Rn, TreeNodeInlineInput as Rr, WorkbenchModePlacementContribution as Rt, getWorkbenchModePanelForRegion as S, WorkbenchExtensionDataTableRendererRecord as Sa, workbenchResourceTypeContextKey as Si, RegisteredWorkbenchView as Sn, ControlsApplyInput as Sr, PreferenceRegistry as St, WorkbenchModeActivationResult as T, defaultPageResourceCodec as Ta, ResourceHierarchyProvider as Ti, WorkbenchViewContribution as Tn, ControlsRendererLayout as Tr, PreferenceScopeRef as Tt, ThemePreference as U, WebviewPreferencesSetParams as Ua, RegisteredWidgetContribution as Ui, DataTableRendererColumnRenderer as Un, TreeViewSection as Ur, KeybindingSequence as Ut, createWorkbenchInput as V, WebviewPageParamsUpdateParams as Va, NavigationTargetPanel$1 as Vi, DataTableRendererBadgePalette as Vn, TreeRendererPersistenceAdapter as Vr, Keybinding as Vt, ThemePreferenceMode as W, MaybePromise as Wa, WorkbenchCommandTarget as Wi, DataTableRendererColumnStat as Wn, WorkbenchPanelRenderInput as Wr, getKeybindingSteps as Wt, WorkbenchStatusRegistry as X, WorkbenchSidePanelMode as Xi, DataTableRendererSelectionAction as Xn, WorkbenchFocusRegionId as Xr, WorkbenchTerminalController as Xt, FileIconThemePreferenceOption as Y, WorkbenchRegionSize as Yi, DataTableRendererRowAction as Yn, WorkbenchFocusController as Yr, CommandPaletteResourceResult as Yt, WorkbenchStatusRegistryState as Z, WorkbenchTabAction as Zi, DataTableRendererThemeColor as Zn, LayoutPersistenceAdapter as Zr, WorkbenchTerminalSessionAdapter as Zt, workbenchTopHeaderLeadingMenuPath as _, WorkbenchExtensionFileRendererRecord as _a, createWorkbenchSelectionResourceMetadata as _i, WorkbenchPageNavigationResult as _n, KanbanRendererSettings as _r, SettingsScope as _t, StandardResourceIcon as a, WorkbenchPanelMenuRegion as aa, CommandRegistry as ai, WorkbenchTerminalState as an, BoardColumnConfig as ar, WorkbenchStatusBarRegistry as at, resolveAnchorRegion as b, WorkbenchExtensionCommandPaletteResourceRecord$1 as ba, workbenchResourceMetadataContextKey as bi, WorkbenchViewMenuContribution as bn, ResourceContextAction as br, PreferencePersistenceAdapter as bt, dockedWorkbenchRegions as c, WorkbenchRegion as ca, WorkbenchBreadcrumbController as ci, WorkbenchShellRegionState as cn, CollectionViewsSource as cr, createStatusBarRegistry as ct, headerTrailingMenuPath as d, WorkbenchStore as da, ResourceKindContribution as di, PersistedWorkbenchPageLocation as dn, EnumOptionsSource as dr, SettingsAction as dt, WorkbenchTabPosition as ea, Command as ei, WorkbenchTerminalSessionModel as en, AttributeDisplayDescriptor as er, WorkflowStatusAction as et, resourceContextMenuPath as f, Disposable as fa, ResourceListContext as fi, WorkbenchPageBrowserEntry as fn, KanbanRendererCreateField as fr, SettingsCollectionGroupBy as ft, workbenchRegionTabLeadingMenuPath as g, ExtensionSettingsSectionRecord as ga, createWorkbenchResourceContextValues as gi, WorkbenchPageLocationPersistence as gn, KanbanRendererRow as gr, SettingsRegistry as gt, workbenchRegionTabAddMenuPath as h, ExtensionSettingDefinitionRecord as ha, ResourceRegistry as hi, WorkbenchPageLocationDiagnostic as hn, KanbanRendererCreateSubmission as hr, SettingsPanelPreference as ht, rendererReadKey as i, WorkbenchWidgetTab as ia, CommandParamSchema as ii, WorkbenchTerminalSessionStatus as in, BoardColumnAction as ir, WorkbenchStatusBarPosition as it, WorkbenchCore as j, WebviewArtifactsReadParams as ja, ContextKeyService as ji, RendererReadRegistry as jn, NavigationTreeRegistry as jr, WorkbenchOverlayContribution as jt, WorkbenchModeRegistry as k, PageLocation$1 as ka, resourceHierarchyCycleCode as ki, workbenchViewIdContextKey as kn, NavigationTreeContribution as kr, WorkbenchPlaceholderContribution as kt, getNavigationTargetKey as l, workbenchPanelRegions as la, WorkbenchBreadcrumbItem as li, WorkbenchSidePanelPresentation as ln, EnumOption as lr, CollectionSettingsPanel as lt, workbenchCommandPaletteMenuPath as m, ContributionSource as ma, ResourceRef$1 as mi, WorkbenchPageLocationController as mn, KanbanRendererCreateRowConfig as mr, SettingsPanelContribution as mt, runUserAction as n, WorkbenchTabSnapshot as na, CommandParamDescriptor as ni, WorkbenchTerminalSessionRequest as nn, AttributeType as nr, WorkbenchStatusBarItem as nt, standardResourceIcons as o, WorkbenchPanelMenuSide as oa, WorkbenchCommandExecutionContext as oi, WorkbenchShellController as on, CollectionSavedView as or, WorkbenchStatusBarRegistryState as ot, workbenchBreadcrumbLocationMenuPath as p, ContributionMetadata as pa, ResourceProvider as pi, WorkbenchPageLocationBrowser as pn, KanbanRendererCreateFieldType as pr, SettingsPanelBase as pt, FileIconThemeRegistry as q, WorkbenchPanelMountStrategy as qi, DataTableRendererQueryResult as qn, MenuRegistry as qr, CommandPaletteResourceQueryContext as qt, settleReadBatch as r, WorkbenchWidgetPlacement as ra, CommandParamOption as ri, WorkbenchTerminalSessionSink as rn, AttributesSource as rr, WorkbenchStatusBarPersistenceAdapter as rt, DockedWorkbenchRegion$1 as s, WorkbenchPanelRegion as sa, WorkbenchCommandExecutionError as si, WorkbenchShellOpenRegion as sn, CollectionViewsProvider as sr, WorkbenchStatusBarSlot as st, batchWorkbenchChanges as t, WorkbenchTabRetention as ta, CommandHandler as ti, WorkbenchTerminalSessionOpener as tn, AttributeKind as tr, createStatusRegistry as tt, headerLeadingMenuPath as u, workbenchRegions as ua, ResourceBrowseEntry as ui, WorkbenchPanelMenuStatePersistenceAdapter as un, EnumOptions as ur, SchemaSettingsPanel as ut, workbenchTopHeaderTrailingMenuPath as v, WorkbenchExtensionTreeRendererRecord as va, getWorkbenchSelectionResourceKeys as vi, WorkbenchPageContribution as vn, KanbanRendererViewsProvider as vr, SettingsSectionContribution as vt, WorkbenchModeActivationContext as w, ExtensionMenuContribution$1 as wa, ResourceHierarchyCycle as wi, WorkbenchViewBody as wn, ControlsRendererContribution as wr, PreferenceScope as wt, createLevelNavigation as x, WorkbenchExtensionKanbanRendererRecord as xa, workbenchResourceOwnerContextKey as xi, WorkbenchViewMenuRegistry as xn, ViewMode as xr, PreferencePropertySchema as xt, AnchorId as y, ExtensionKeybindingRecord as ya, workbenchResourceIdContextKey as yi, WorkbenchPlacementPresentation as yn, KanbanRendererViewsSource as yr, ViewSettingsPanel as yt, WorkbenchPersistenceAdapter as z, WebviewNotificationActionParams as za, NavigationTargetCompound as zi, FileRendererRefreshOrigin as zn, TreeQueryContext as zr, WorkbenchModePlacementRegistry as zt };
|
|
4040
4376
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as WorkflowStatus, $i as
|
|
1
|
+
import { $ as WorkflowStatus, $i as WorkbenchTabMenuRow, $n as AttributeDescriptor, $r as WorkbenchCommandPaletteOpenInput, $t as WorkbenchTerminalSessionExit, A as createWorkbench, Ai as ContextKeyScope, An as RendererReadBinding, Ar as NavigationTreeOwner, At as WorkbenchPlaceholderRegistry, B as WorkbenchSnapshot, Bi as NavigationTargetItem, Bn as FileRendererSaveResult, Br as TreeRendererContribution, C as isWorkbenchModePanelAvailable, Ci as workbenchSelectionResourceKeyMetadataKey, Cn as WorkbenchReactViewBody, Cr as ControlsQueryResult, Ct as PreferenceSchemaContribution, D as WorkbenchModeAddablePanelContext, Di as WorkbenchViewHierarchyNode, Dn as WorkbenchViewRegistryStoreState, Dr as ControlsUpdateValueInput, Dt as WorkbenchShellPlacementContribution, E as WorkbenchModeAddablePanel, Ei as WorkbenchHierarchyNode, En as WorkbenchViewRegistry, Er as ControlsResetInput, Et as PreferenceValue, F as WorkbenchModuleContribution, Fi as NavigationParser, Fn as KanbanRendererQueryState, Fr as TreeMoveEndpoint, Ft as WorkbenchNotificationAction, G as ThemePreferenceOption, Gi as WorkbenchLayout, Gn as DataTableRendererContribution, Gr as MenuItem, Gt as CommandPaletteResourceProvider, H as ThemeRegistry, Hn as DataTableRendererColumn, Hr as TreeRendererState, Ht as KeybindingRegistry, I as WorkbenchModuleContributionContext, Ii as NavigationRegistry, In as FileRendererContent, Ir as TreeMovePolicy, It as WorkbenchNotificationEvent, J as FileIconThemeFont, Ji as WorkbenchPanelTab, Jn as DataTableRendererRow, Jt as CommandPaletteResourceRegistry, K as ThemePreferenceTokens, Ki as WorkbenchPanelInstance, Kn as DataTableRendererQueryContext, Kr as MenuPath, Kt as CommandPaletteResourceProviderResult, L as WorkbenchPagePersistenceScope, Li as NavigationTarget, Ln as FileRendererContribution, Lr as TreeNode, Lt as WorkbenchNotificationLevel, Mi as ContextKeyValue, Mn as RendererReadRequest, Mr as NavigationTreeSlot, Mt as WorkbenchOverlayRegistry, N as WorkbenchHost, Ni as matchesContextExpression, Nn as createRendererReadRegistry, Nr as TreeAction, Nt as NotificationRegistry, O as WorkbenchModeContribution, Oi as isWorkbenchViewHierarchyNode, On as createViewRegistry, Or as NavigationTreeContext, Ot as WorkbenchShellPlacementRegistry, P as WorkbenchModuleContext, Pi as NavigationDispatcherContext, Pn as KanbanRendererContribution, Pr as TreeContext, Pt as WorkbenchNotification, Q as WorkbenchStatusSetContribution, Qi as WorkbenchTabMenuGroup, Qr as WorkbenchCommandPaletteController, Qt as WorkbenchTerminalSessionError, R as WorkbenchPagePersistenceScopeInput, Ri as NavigationTargetCommand, Rn as FileRendererRefreshEnvelope, Rr as TreeNodeInlineInput, Rt as WorkbenchModePlacementContribution, S as getWorkbenchModePanelForRegion, Si as workbenchResourceTypeContextKey, Sn as RegisteredWorkbenchView, Sr as ControlsApplyInput, St as PreferenceRegistry, T as WorkbenchModeActivationResult, Ta as defaultPageResourceCodec, Ti as ResourceHierarchyProvider, Tn as WorkbenchViewContribution, Tr as ControlsRendererLayout, Tt as PreferenceScopeRef, U as ThemePreference, Un as DataTableRendererColumnRenderer, Ur as TreeViewSection, Ut as KeybindingSequence, V as createWorkbenchInput, Vi as NavigationTargetPanel, Vn as DataTableRendererBadgePalette, Vt as Keybinding, W as ThemePreferenceMode, Wi as WorkbenchCommandTarget, Wn as DataTableRendererColumnStat, Wr as WorkbenchPanelRenderInput, Wt as getKeybindingSteps, X as WorkbenchStatusRegistry, Xi as WorkbenchSidePanelMode, Xn as DataTableRendererSelectionAction, Xr as WorkbenchFocusRegionId, Xt as WorkbenchTerminalController, Y as FileIconThemePreferenceOption, Yi as WorkbenchRegionSize, Yn as DataTableRendererRowAction, Yr as WorkbenchFocusController, Yt as CommandPaletteResourceResult, Z as WorkbenchStatusRegistryState, Zi as WorkbenchTabAction, Zn as DataTableRendererThemeColor, Zr as LayoutPersistenceAdapter, Zt as WorkbenchTerminalSessionAdapter, _ as workbenchTopHeaderLeadingMenuPath, _i as createWorkbenchSelectionResourceMetadata, _n as WorkbenchPageNavigationResult, _r as KanbanRendererSettings, _t as SettingsScope, a as StandardResourceIcon, aa as WorkbenchPanelMenuRegion, ai as CommandRegistry, an as WorkbenchTerminalState, ar as BoardColumnConfig, at as WorkbenchStatusBarRegistry, b as resolveAnchorRegion, bi as workbenchResourceMetadataContextKey, bn as WorkbenchViewMenuContribution, br as ResourceContextAction, bt as PreferencePersistenceAdapter, c as dockedWorkbenchRegions, ca as WorkbenchRegion, ci as WorkbenchBreadcrumbController, cn as WorkbenchShellRegionState, cr as CollectionViewsSource, ct as createStatusBarRegistry, d as headerTrailingMenuPath, di as ResourceKindContribution, dn as PersistedWorkbenchPageLocation, dr as EnumOptionsSource, dt as SettingsAction, ea as WorkbenchTabPosition, ei as Command, en as WorkbenchTerminalSessionModel, er as AttributeDisplayDescriptor, et as WorkflowStatusAction, f as resourceContextMenuPath, fa as Disposable, fi as ResourceListContext, fn as WorkbenchPageBrowserEntry, fr as KanbanRendererCreateField, ft as SettingsCollectionGroupBy, g as workbenchRegionTabLeadingMenuPath, gi as createWorkbenchResourceContextValues, gn as WorkbenchPageLocationPersistence, gr as KanbanRendererRow, gt as SettingsRegistry, h as workbenchRegionTabAddMenuPath, hi as ResourceRegistry, hn as WorkbenchPageLocationDiagnostic, hr as KanbanRendererCreateSubmission, ht as SettingsPanelPreference, i as rendererReadKey, ia as WorkbenchWidgetTab, ii as CommandParamSchema, in as WorkbenchTerminalSessionStatus, ir as BoardColumnAction, it as WorkbenchStatusBarPosition, j as WorkbenchCore, ji as ContextKeyService, jn as RendererReadRegistry, jr as NavigationTreeRegistry, jt as WorkbenchOverlayContribution, k as WorkbenchModeRegistry, ki as resourceHierarchyCycleCode, kn as workbenchViewIdContextKey, kr as NavigationTreeContribution, kt as WorkbenchPlaceholderContribution, l as getNavigationTargetKey, la as workbenchPanelRegions, li as WorkbenchBreadcrumbItem, ln as WorkbenchSidePanelPresentation, lr as EnumOption, lt as CollectionSettingsPanel, m as workbenchCommandPaletteMenuPath, ma as ContributionSource, mi as ResourceRef, mn as WorkbenchPageLocationController, mr as KanbanRendererCreateRowConfig, mt as SettingsPanelContribution, n as runUserAction, na as WorkbenchTabSnapshot, ni as CommandParamDescriptor, nn as WorkbenchTerminalSessionRequest, nr as AttributeType, nt as WorkbenchStatusBarItem, o as standardResourceIcons, oa as WorkbenchPanelMenuSide, oi as WorkbenchCommandExecutionContext, on as WorkbenchShellController, or as CollectionSavedView, ot as WorkbenchStatusBarRegistryState, p as workbenchBreadcrumbLocationMenuPath, pa as ContributionMetadata, pi as ResourceProvider, pn as WorkbenchPageLocationBrowser, pr as KanbanRendererCreateFieldType, pt as SettingsPanelBase, q as FileIconThemeRegistry, qi as WorkbenchPanelMountStrategy, qn as DataTableRendererQueryResult, qr as MenuRegistry, qt as CommandPaletteResourceQueryContext, r as settleReadBatch, ra as WorkbenchWidgetPlacement, ri as CommandParamOption, rn as WorkbenchTerminalSessionSink, rt as WorkbenchStatusBarPersistenceAdapter, s as DockedWorkbenchRegion, sa as WorkbenchPanelRegion, si as WorkbenchCommandExecutionError, sn as WorkbenchShellOpenRegion, sr as CollectionViewsProvider, st as WorkbenchStatusBarSlot, t as batchWorkbenchChanges, ta as WorkbenchTabRetention, ti as CommandHandler, tn as WorkbenchTerminalSessionOpener, tr as AttributeKind, tt as createStatusRegistry, u as headerLeadingMenuPath, ua as workbenchRegions, ui as ResourceBrowseEntry, ur as EnumOptions, ut as SchemaSettingsPanel, v as workbenchTopHeaderTrailingMenuPath, vi as getWorkbenchSelectionResourceKeys, vr as KanbanRendererViewsProvider, vt as SettingsSectionContribution, w as WorkbenchModeActivationContext, wi as ResourceHierarchyCycle, wn as WorkbenchViewBody, wr as ControlsRendererContribution, wt as PreferenceScope, x as createLevelNavigation, xi as workbenchResourceOwnerContextKey, xn as WorkbenchViewMenuRegistry, xr as ViewMode, xt as PreferencePropertySchema, y as AnchorId, yi as workbenchResourceIdContextKey, yn as WorkbenchPlacementPresentation, yr as KanbanRendererViewsSource, yt as ViewSettingsPanel, z as WorkbenchPersistenceAdapter, zi as NavigationTargetCompound, zn as FileRendererRefreshOrigin, zr as TreeQueryContext, zt as WorkbenchModePlacementRegistry } from "./index-CEjUGkgB.js";
|
|
2
2
|
export { type AnchorId, type AttributeDescriptor, type AttributeDisplayDescriptor, type AttributeKind, type AttributeType, type BoardColumnAction, type BoardColumnConfig, type CollectionSavedView, type CollectionSettingsPanel, type CollectionViewsProvider, type CollectionViewsSource, type Command, type CommandHandler, type CommandPaletteResourceProvider, type CommandPaletteResourceProviderResult, type CommandPaletteResourceQueryContext, type CommandPaletteResourceRegistry, type CommandPaletteResourceResult, type CommandParamDescriptor, type CommandParamOption, type CommandParamSchema, type CommandRegistry, type ContextKeyScope, type ContextKeyService, type ContextKeyValue, type ContributionMetadata, type ContributionSource, type ControlsApplyInput, type ControlsQueryResult, type ControlsRendererContribution, type ControlsRendererLayout, type ControlsResetInput, type ControlsUpdateValueInput, type DataTableRendererBadgePalette, type DataTableRendererColumn, type DataTableRendererColumnRenderer, type DataTableRendererColumnStat, type DataTableRendererContribution, type DataTableRendererQueryContext, type DataTableRendererQueryResult, type DataTableRendererRow, type DataTableRendererRowAction, type DataTableRendererSelectionAction, type DataTableRendererThemeColor, type Disposable, type DockedWorkbenchRegion, type EnumOption, type EnumOptions, type EnumOptionsSource, type FileIconThemeFont, type FileIconThemePreferenceOption, type FileIconThemeRegistry, type FileRendererContent, type FileRendererContribution, type FileRendererRefreshEnvelope, type FileRendererRefreshOrigin, type FileRendererSaveResult, type KanbanRendererContribution, type KanbanRendererCreateField, type KanbanRendererCreateFieldType, type KanbanRendererCreateRowConfig, type KanbanRendererCreateSubmission, type KanbanRendererQueryState, type KanbanRendererRow, type KanbanRendererSettings, type KanbanRendererViewsProvider, type KanbanRendererViewsSource, type Keybinding, type KeybindingRegistry, type KeybindingSequence, type LayoutPersistenceAdapter, type MenuItem, type MenuPath, type MenuRegistry, type NavigationDispatcherContext, type NavigationParser, type NavigationRegistry, type NavigationTarget, type NavigationTargetCommand, type NavigationTargetCompound, type NavigationTargetItem, type NavigationTargetPanel, type NavigationTreeContext, type NavigationTreeContribution, type NavigationTreeOwner, type NavigationTreeRegistry, type NavigationTreeSlot, type NotificationRegistry, type PersistedWorkbenchPageLocation, type PreferencePersistenceAdapter, type PreferencePropertySchema, type PreferenceRegistry, type PreferenceSchemaContribution, type PreferenceScope, type PreferenceScopeRef, type PreferenceValue, type RegisteredWorkbenchView, type RendererReadBinding, type RendererReadRegistry, type RendererReadRequest, type ResourceBrowseEntry, type ResourceContextAction, type ResourceHierarchyCycle, type ResourceHierarchyProvider, type ResourceKindContribution, type ResourceListContext, type ResourceProvider, type ResourceRef, type ResourceRegistry, type SchemaSettingsPanel, type SettingsAction, type SettingsCollectionGroupBy, type SettingsPanelBase, type SettingsPanelContribution, type SettingsPanelPreference, type SettingsRegistry, type SettingsScope, type SettingsSectionContribution, type StandardResourceIcon, type ThemePreference, type ThemePreferenceMode, type ThemePreferenceOption, type ThemePreferenceTokens, type ThemeRegistry, type TreeAction, type TreeContext, type TreeMoveEndpoint, type TreeMovePolicy, type TreeNode, type TreeNodeInlineInput, type TreeQueryContext, type TreeRendererContribution, type TreeRendererState, type TreeViewSection, type ViewMode, type ViewSettingsPanel, type WorkbenchBreadcrumbController, type WorkbenchBreadcrumbItem, type WorkbenchCommandExecutionContext, type WorkbenchCommandExecutionError, type WorkbenchCommandPaletteController, type WorkbenchCommandPaletteOpenInput, type WorkbenchCommandTarget, type WorkbenchCore, type WorkbenchFocusController, type WorkbenchFocusRegionId, type WorkbenchHierarchyNode, type WorkbenchHost, type WorkbenchLayout, type WorkbenchModeActivationContext, type WorkbenchModeActivationResult, type WorkbenchModeAddablePanel, type WorkbenchModeAddablePanelContext, type WorkbenchModeContribution, type WorkbenchModePlacementContribution, type WorkbenchModePlacementRegistry, type WorkbenchModeRegistry, type WorkbenchModuleContext, type WorkbenchModuleContribution, type WorkbenchModuleContributionContext, type WorkbenchNotification, type WorkbenchNotificationAction, type WorkbenchNotificationEvent, type WorkbenchNotificationLevel, type WorkbenchOverlayContribution, type WorkbenchOverlayRegistry, type WorkbenchPageBrowserEntry, type WorkbenchPageLocationBrowser, type WorkbenchPageLocationController, type WorkbenchPageLocationDiagnostic, type WorkbenchPageLocationPersistence, type WorkbenchPageNavigationResult, type WorkbenchPagePersistenceScope, type WorkbenchPagePersistenceScopeInput, type WorkbenchPanelInstance, type WorkbenchPanelMenuRegion, type WorkbenchPanelMenuSide, type WorkbenchPanelMountStrategy, type WorkbenchPanelRegion, type WorkbenchPanelRenderInput, type WorkbenchPanelTab, type WorkbenchPersistenceAdapter, type WorkbenchPlaceholderContribution, type WorkbenchPlaceholderRegistry, type WorkbenchPlacementPresentation, type WorkbenchReactViewBody, type WorkbenchRegion, type WorkbenchRegionSize, type WorkbenchShellController, type WorkbenchShellOpenRegion, type WorkbenchShellPlacementContribution, type WorkbenchShellPlacementRegistry, type WorkbenchShellRegionState, type WorkbenchSidePanelMode, type WorkbenchSidePanelPresentation, type WorkbenchSnapshot, type WorkbenchStatusBarItem, type WorkbenchStatusBarPersistenceAdapter, type WorkbenchStatusBarPosition, type WorkbenchStatusBarRegistry, type WorkbenchStatusBarRegistryState, type WorkbenchStatusBarSlot, type WorkbenchStatusRegistry, type WorkbenchStatusRegistryState, type WorkbenchStatusSetContribution, type WorkbenchTabAction, type WorkbenchTabMenuGroup, type WorkbenchTabMenuRow, type WorkbenchTabPosition, type WorkbenchTabRetention, type WorkbenchTabSnapshot, type WorkbenchTerminalController, type WorkbenchTerminalSessionAdapter, type WorkbenchTerminalSessionError, type WorkbenchTerminalSessionExit, type WorkbenchTerminalSessionModel, type WorkbenchTerminalSessionOpener, type WorkbenchTerminalSessionRequest, type WorkbenchTerminalSessionSink, type WorkbenchTerminalSessionStatus, type WorkbenchTerminalState, type WorkbenchViewBody, type WorkbenchViewContribution, type WorkbenchViewHierarchyNode, type WorkbenchViewMenuContribution, type WorkbenchViewMenuRegistry, type WorkbenchViewRegistry, type WorkbenchViewRegistryStoreState, type WorkbenchWidgetPlacement, type WorkbenchWidgetTab, type WorkflowStatus, type WorkflowStatusAction, batchWorkbenchChanges, createLevelNavigation, createRendererReadRegistry, createStatusBarRegistry, createStatusRegistry, createViewRegistry, createWorkbench, type createWorkbenchInput, createWorkbenchResourceContextValues, createWorkbenchSelectionResourceMetadata, defaultPageResourceCodec, dockedWorkbenchRegions, getKeybindingSteps, getNavigationTargetKey, getWorkbenchModePanelForRegion, getWorkbenchSelectionResourceKeys, headerLeadingMenuPath, headerTrailingMenuPath, isWorkbenchModePanelAvailable, isWorkbenchViewHierarchyNode, matchesContextExpression, rendererReadKey, resolveAnchorRegion, resourceContextMenuPath, resourceHierarchyCycleCode, runUserAction, settleReadBatch, standardResourceIcons, workbenchBreadcrumbLocationMenuPath, workbenchCommandPaletteMenuPath, workbenchPanelRegions, workbenchRegionTabAddMenuPath, workbenchRegionTabLeadingMenuPath, workbenchRegions, workbenchResourceIdContextKey, workbenchResourceMetadataContextKey, workbenchResourceOwnerContextKey, workbenchResourceTypeContextKey, workbenchSelectionResourceKeyMetadataKey, workbenchTopHeaderLeadingMenuPath, workbenchTopHeaderTrailingMenuPath, workbenchViewIdContextKey };
|
|
3
3
|
export {};
|