@pstdio/sdk 0.24.1 → 0.35.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.
package/dist/api.d.ts CHANGED
@@ -1,3786 +1,15 @@
1
- import { z } from 'zod';
2
-
3
- export declare type ApprovalInput = z.infer<typeof approvalInputSchema>;
4
-
5
- declare const approvalInputSchema: z.ZodObject<{
6
- id: z.ZodString;
7
- decision: z.ZodEnum<{
8
- approve: "approve";
9
- deny: "deny";
10
- }>;
11
- }, z.core.$strip>;
12
-
13
- export declare type AttemptExtensionFixResponse = z.infer<typeof attemptExtensionFixResponseSchema>;
14
-
15
- declare const attemptExtensionFixResponseSchema: z.ZodObject<{
16
- sessionId: z.ZodString;
17
- title: z.ZodString;
18
- }, z.core.$strip>;
19
-
20
- export declare type AutomationRun = z.infer<typeof automationRunSchema>;
21
-
22
- export declare type AutomationRunError = z.infer<typeof automationRunErrorSchema>;
23
-
24
- declare const automationRunErrorSchema: z.ZodObject<{
25
- code: z.ZodString;
26
- message: z.ZodString;
27
- retryable: z.ZodBoolean;
28
- }, z.core.$strip>;
29
-
30
- export declare type AutomationRunEvent = z.infer<typeof automationRunEventSchema>;
31
-
32
- declare const automationRunEventSchema: z.ZodObject<{
33
- cursor: z.ZodNumber;
34
- runId: z.ZodString;
35
- type: z.ZodString;
36
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
37
- createdAt: z.ZodString;
38
- }, z.core.$strip>;
39
-
40
- declare const automationRunSchema: z.ZodObject<{
41
- id: z.ZodString;
42
- projectId: z.ZodString;
43
- commandId: z.ZodString;
44
- status: z.ZodEnum<{
45
- rejected: "rejected";
46
- failed: "failed";
47
- queued: "queued";
48
- cancelled: "cancelled";
49
- running: "running";
50
- succeeded: "succeeded";
51
- }>;
52
- createdAt: z.ZodString;
53
- startedAt: z.ZodNullable<z.ZodString>;
54
- finishedAt: z.ZodNullable<z.ZodString>;
55
- result: z.ZodNullable<z.ZodUnknown>;
56
- error: z.ZodNullable<z.ZodObject<{
57
- code: z.ZodString;
58
- message: z.ZodString;
59
- retryable: z.ZodBoolean;
60
- }, z.core.$strip>>;
61
- }, z.core.$strip>;
62
-
63
- export declare type AutomationRunStatus = z.infer<typeof automationRunStatusSchema>;
64
-
65
- declare const automationRunStatusSchema: z.ZodEnum<{
66
- rejected: "rejected";
67
- failed: "failed";
68
- queued: "queued";
69
- cancelled: "cancelled";
70
- running: "running";
71
- succeeded: "succeeded";
72
- }>;
73
-
74
- export declare type AutomationTokenRecord = z.infer<typeof automationTokenRecordSchema>;
75
-
76
- declare const automationTokenRecordSchema: z.ZodObject<{
77
- id: z.ZodString;
78
- principalId: z.ZodString;
79
- name: z.ZodString;
80
- tokenPrefix: z.ZodString;
81
- projectId: z.ZodString;
82
- commandScopes: z.ZodArray<z.ZodString>;
83
- expiresAt: z.ZodString;
84
- lastUsedAt: z.ZodNullable<z.ZodString>;
85
- revokedAt: z.ZodNullable<z.ZodString>;
86
- createdAt: z.ZodString;
87
- }, z.core.$strip>;
88
-
89
- export declare type CommandExecuteRequest = z.infer<typeof commandExecuteRequestSchema>;
90
-
91
- declare const commandExecuteRequestSchema: z.ZodObject<{
92
- projectId: z.ZodString;
93
- workspaceId: z.ZodOptional<z.ZodString>;
94
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
95
- resource: z.ZodOptional<z.ZodObject<{
96
- shorthand: z.ZodOptional<z.ZodString>;
97
- type: z.ZodString;
98
- id: z.ZodString;
99
- projectId: z.ZodOptional<z.ZodString>;
100
- label: z.ZodOptional<z.ZodString>;
101
- icon: z.ZodOptional<z.ZodString>;
102
- extensionId: z.ZodOptional<z.ZodString>;
103
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
104
- }, z.core.$strip>>;
105
- attachment: z.ZodOptional<z.ZodObject<{
106
- target: z.ZodUnion<readonly [z.ZodEnum<{
107
- "workbench.nav.actions": "workbench.nav.actions";
108
- "workbench.nav.overflow": "workbench.nav.overflow";
109
- }>, z.ZodEnum<{
110
- "workbench.left.tree": "workbench.left.tree";
111
- "workbench.main.left.tree": "workbench.main.left.tree";
112
- "workbench.main.right.tree": "workbench.main.right.tree";
113
- }>, z.ZodEnum<{
114
- "workbench.main": "workbench.main";
115
- "workbench.main.left": "workbench.main.left";
116
- "workbench.main.right": "workbench.main.right";
117
- "workbench.secondary": "workbench.secondary";
118
- }>, z.ZodEnum<{
119
- "workbench.settings": "workbench.settings";
120
- }>]>;
121
- mode: z.ZodOptional<z.ZodString>;
122
- projectId: z.ZodOptional<z.ZodString>;
123
- resource: z.ZodOptional<z.ZodObject<{
124
- shorthand: z.ZodOptional<z.ZodString>;
125
- type: z.ZodString;
126
- id: z.ZodString;
127
- projectId: z.ZodOptional<z.ZodString>;
128
- label: z.ZodOptional<z.ZodString>;
129
- icon: z.ZodOptional<z.ZodString>;
130
- extensionId: z.ZodOptional<z.ZodString>;
131
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
132
- }, z.core.$strip>>;
133
- }, z.core.$strip>>;
134
- slot: z.ZodOptional<z.ZodObject<{
135
- id: z.ZodString;
136
- kind: z.ZodEnum<{
137
- menu: "menu";
138
- panel: "panel";
139
- settings: "settings";
140
- renderer: "renderer";
141
- kanbanRenderer: "kanbanRenderer";
142
- dataTableRenderer: "dataTableRenderer";
143
- }>;
144
- context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
145
- }, z.core.$strip>>;
146
- repo: z.ZodOptional<z.ZodObject<{
147
- projectId: z.ZodString;
148
- repoId: z.ZodString;
149
- path: z.ZodString;
150
- remote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
- role: z.ZodOptional<z.ZodEnum<{
152
- default: "default";
153
- selected: "selected";
154
- workspace: "workspace";
155
- }>>;
156
- }, z.core.$strip>>;
157
- source: z.ZodOptional<z.ZodEnum<{
158
- api: "api";
159
- cli: "cli";
160
- dashboard: "dashboard";
161
- schedule: "schedule";
162
- event: "event";
163
- automation: "automation";
164
- "command-panel": "command-panel";
165
- }>>;
166
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
167
- }, z.core.$strip>;
168
-
169
- export declare type CommandExecuteResponse = z.infer<typeof commandExecuteResponseSchema>;
170
-
171
- declare const commandExecuteResponseSchema: z.ZodObject<{
172
- commandId: z.ZodString;
173
- extensionId: z.ZodString;
174
- eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
175
- outcome: z.ZodObject<{
176
- ok: z.ZodBoolean;
177
- status: z.ZodEnum<{
178
- success: "success";
179
- error: "error";
180
- rejected: "rejected";
181
- }>;
182
- value: z.ZodOptional<z.ZodUnknown>;
183
- code: z.ZodOptional<z.ZodString>;
184
- reason: z.ZodOptional<z.ZodString>;
185
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
186
- error: z.ZodOptional<z.ZodObject<{
187
- name: z.ZodOptional<z.ZodString>;
188
- message: z.ZodString;
189
- stack: z.ZodOptional<z.ZodString>;
190
- }, z.core.$strip>>;
191
- notices: z.ZodOptional<z.ZodArray<z.ZodObject<{
192
- type: z.ZodEnum<{
193
- success: "success";
194
- error: "error";
195
- info: "info";
196
- warning: "warning";
197
- }>;
198
- title: z.ZodOptional<z.ZodString>;
199
- message: z.ZodString;
200
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
201
- }, z.core.$strip>>>;
202
- diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
203
- code: z.ZodString;
204
- message: z.ZodString;
205
- severity: z.ZodEnum<{
206
- error: "error";
207
- info: "info";
208
- warning: "warning";
209
- }>;
210
- extensionId: z.ZodOptional<z.ZodString>;
211
- commandId: z.ZodOptional<z.ZodString>;
212
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
213
- }, z.core.$strip>>>;
214
- }, z.core.$strip>;
215
- }, z.core.$strip>;
216
-
217
- declare interface CommandRef<TParams extends Struct = Struct, TResult = unknown> extends ContributionRef<"command"> {
218
- params?: TParams;
219
- result?: TResult;
220
- }
221
-
222
- declare type CommandSource = "cli" | "dashboard" | "api" | "schedule" | "event" | "automation" | "command-panel";
223
-
224
- declare interface CommandTarget<TParams extends Struct = Struct> {
225
- command: CommandRef<TParams, unknown>;
226
- params?: TParams;
227
- }
228
-
229
- export declare type ConfigureExtensionConnectionInput = z.infer<typeof configureExtensionConnectionSchema>;
230
-
231
- declare const configureExtensionConnectionSchema: z.ZodObject<{
232
- baseUrl: z.ZodURL;
233
- secret: z.ZodOptional<z.ZodString>;
234
- }, z.core.$strip>;
235
-
236
- declare type ContributionKind = "activity-item" | "artifact-mount" | "command" | "command-palette-resource" | "connection" | "file-icon-theme" | "harness" | "hook" | "keybinding" | "middleware" | "mode" | "navigation-item" | "navigation-tree" | "page" | "placement" | "resource-hierarchy-provider" | "resource-kind" | "schedule" | "settings-panel" | "settings-section" | "skill" | "status" | "status-bar-item" | "template" | "template-type" | "theme" | "view" | "view-menu" | "workspace-type";
237
-
238
- declare interface ContributionRef<Kind extends ContributionKind> {
239
- readonly extensionId?: string;
240
- readonly kind: Kind;
241
- readonly id: string;
242
- }
243
-
244
- export declare type CreateAutomationRunInput = z.infer<typeof createAutomationRunInputSchema>;
245
-
246
- declare const createAutomationRunInputSchema: z.ZodObject<{
247
- commandId: z.ZodString;
248
- input: z.ZodObject<{
249
- workspaceId: z.ZodOptional<z.ZodString>;
250
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
251
- resource: z.ZodOptional<z.ZodObject<{
252
- shorthand: z.ZodOptional<z.ZodString>;
253
- type: z.ZodString;
254
- id: z.ZodString;
255
- projectId: z.ZodOptional<z.ZodString>;
256
- label: z.ZodOptional<z.ZodString>;
257
- icon: z.ZodOptional<z.ZodString>;
258
- extensionId: z.ZodOptional<z.ZodString>;
259
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
260
- }, z.core.$strip>>;
261
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
262
- }, z.core.$strict>;
263
- }, z.core.$strict>;
264
-
265
- export declare interface CreateNotificationInput {
266
- projectId: string;
267
- title: string;
268
- body?: string;
269
- kind: NotificationKind;
270
- priority?: NotificationPriority;
271
- target?: ResourceRef;
272
- related?: ResourceRef[];
273
- actions?: NotificationAction[];
274
- dedupeKey?: string;
275
- expiresAt?: string;
276
- snoozedUntil?: string;
277
- metadata?: JsonObject;
278
- }
279
-
280
- export declare type CreateProjectInput = z.infer<typeof createProjectInputSchema>;
281
-
282
- declare const createProjectInputSchema: z.ZodObject<{
283
- name: z.ZodString;
284
- agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
285
- }, z.core.$strip>;
286
-
287
- export declare type CreateSessionInput = z.infer<typeof createSessionInputSchema>;
288
-
289
- declare const createSessionInputSchema: z.ZodObject<{
290
- project_id: z.ZodString;
291
- title: z.ZodString;
292
- prompt: z.ZodOptional<z.ZodString>;
293
- agent: z.ZodOptional<z.ZodString>;
294
- workspace_id: z.ZodOptional<z.ZodString>;
295
- anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
296
- shorthand: z.ZodOptional<z.ZodString>;
297
- type: z.ZodString;
298
- id: z.ZodString;
299
- projectId: z.ZodOptional<z.ZodString>;
300
- label: z.ZodOptional<z.ZodString>;
301
- icon: z.ZodOptional<z.ZodString>;
302
- extensionId: z.ZodOptional<z.ZodString>;
303
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
304
- }, z.core.$strip>>>;
305
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
306
- file_id: z.ZodString;
307
- }, z.core.$strip>>>;
308
- model: z.ZodOptional<z.ZodString>;
309
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
310
- original_session_id: z.ZodOptional<z.ZodString>;
311
- }, z.core.$strip>;
312
-
313
- export declare type CreateWorkspaceInput = CreateWorkspaceInput_2;
314
-
315
- declare type CreateWorkspaceInput_2 = z.infer<typeof createWorkspaceInputSchema>;
316
-
317
- declare const createWorkspaceInputSchema: z.ZodObject<{
318
- project_id: z.ZodString;
319
- provider_id: z.ZodOptional<z.ZodString>;
320
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
321
- repo_id: z.ZodOptional<z.ZodString>;
322
- base: z.ZodOptional<z.ZodString>;
323
- }, z.core.$strip>;
324
-
325
- export declare type ExtensionCommandPaletteContribution = z.infer<typeof extensionCommandPaletteContributionSchema>;
326
-
327
- declare const extensionCommandPaletteContributionSchema: z.ZodObject<{
328
- id: z.ZodString;
329
- extensionId: z.ZodString;
330
- commandId: z.ZodString;
331
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
332
- $l10n: z.ZodString;
333
- default: z.ZodOptional<z.ZodString>;
334
- }, z.core.$strip>]>;
335
- group: z.ZodOptional<z.ZodString>;
336
- placement: z.ZodOptional<z.ZodEnum<{
337
- default: "default";
338
- first: "first";
339
- last: "last";
340
- }>>;
341
- icon: z.ZodOptional<z.ZodString>;
342
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
343
- when: z.ZodOptional<z.ZodObject<{
344
- mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
345
- source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
346
- api: "api";
347
- cli: "cli";
348
- dashboard: "dashboard";
349
- schedule: "schedule";
350
- event: "event";
351
- automation: "automation";
352
- "command-panel": "command-panel";
353
- }>>>;
354
- viewId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
355
- resourceType: z.ZodOptional<z.ZodArray<z.ZodString>>;
356
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
357
- }, z.core.$strip>>;
358
- }, z.core.$strip>;
359
-
360
- export declare type ExtensionCommandPaletteResourceRecord = z.infer<typeof extensionCommandPaletteResourceRecordSchema>;
361
-
362
- declare const extensionCommandPaletteResourceRecordSchema: z.ZodObject<{
363
- id: z.ZodString;
364
- extensionId: z.ZodString;
365
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
366
- $l10n: z.ZodString;
367
- default: z.ZodOptional<z.ZodString>;
368
- }, z.core.$strip>]>;
369
- resourceKind: z.ZodOptional<z.ZodString>;
370
- queryHandlerId: z.ZodString;
371
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
372
- }, z.core.$strip>;
373
-
374
- export declare type ExtensionCommandRecord = z.infer<typeof extensionCommandRecordSchema>;
375
-
376
- declare const extensionCommandRecordSchema: z.ZodObject<{
377
- id: z.ZodString;
378
- extensionId: z.ZodString;
379
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
380
- $l10n: z.ZodString;
381
- default: z.ZodOptional<z.ZodString>;
382
- }, z.core.$strip>]>;
383
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
384
- $l10n: z.ZodString;
385
- default: z.ZodOptional<z.ZodString>;
386
- }, z.core.$strip>]>>;
387
- cliPath: z.ZodOptional<z.ZodString>;
388
- cliAliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
390
- automation: z.ZodOptional<z.ZodBoolean>;
391
- mutating: z.ZodOptional<z.ZodBoolean>;
392
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
393
- type: z.ZodString;
394
- }, z.core.$catchall<z.ZodUnknown>>>>;
395
- }, z.core.$strip>;
396
-
397
- export declare type ExtensionConnectionRecord = z.infer<typeof extensionConnectionRecordSchema>;
398
-
399
- declare const extensionConnectionRecordSchema: z.ZodObject<{
400
- id: z.ZodString;
401
- extensionId: z.ZodString;
402
- connectionId: z.ZodString;
403
- baseUrl: z.ZodString;
404
- authType: z.ZodEnum<{
405
- header: "header";
406
- bearer: "bearer";
407
- }>;
408
- configured: z.ZodBoolean;
409
- lastCheck: z.ZodNullable<z.ZodObject<{
410
- ok: z.ZodBoolean;
411
- status: z.ZodNullable<z.ZodNumber>;
412
- error: z.ZodNullable<z.ZodString>;
413
- checkedAt: z.ZodString;
414
- }, z.core.$strip>>;
415
- updatedAt: z.ZodString;
416
- }, z.core.$strip>;
417
-
418
- export declare type ExtensionDiagnostic = z.infer<typeof extensionDiagnosticSchema>;
419
-
420
- declare const extensionDiagnosticSchema: z.ZodObject<{
421
- code: z.ZodString;
422
- severity: z.ZodEnum<{
423
- error: "error";
424
- info: "info";
425
- warning: "warning";
426
- }>;
427
- message: z.ZodString;
428
- extensionId: z.ZodOptional<z.ZodString>;
429
- commandId: z.ZodOptional<z.ZodString>;
430
- sourcePath: z.ZodOptional<z.ZodString>;
431
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
432
- }, z.core.$strip>;
433
-
434
- export declare type ExtensionKeybindingRecord = z.infer<typeof extensionKeybindingRecordSchema>;
435
-
436
- declare const extensionKeybindingRecordSchema: z.ZodObject<{
437
- id: z.ZodString;
438
- extensionId: z.ZodString;
439
- action: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
440
- kind: z.ZodLiteral<"panel">;
441
- panel: z.ZodUnion<readonly [z.ZodObject<{
442
- extensionId: z.ZodString;
443
- kind: z.ZodLiteral<"placement">;
444
- id: z.ZodString;
445
- }, z.core.$strip>, z.ZodObject<{
446
- kind: z.ZodLiteral<"page-slot">;
447
- page: z.ZodObject<{
448
- extensionId: z.ZodString;
449
- kind: z.ZodLiteral<"page">;
450
- id: z.ZodString;
451
- }, z.core.$strip>;
452
- id: z.ZodString;
453
- }, z.core.$strip>]>;
454
- resource: z.ZodOptional<z.ZodObject<{
455
- shorthand: z.ZodOptional<z.ZodString>;
456
- type: z.ZodString;
457
- id: z.ZodString;
458
- projectId: z.ZodOptional<z.ZodString>;
459
- label: z.ZodOptional<z.ZodString>;
460
- icon: z.ZodOptional<z.ZodString>;
461
- extensionId: z.ZodOptional<z.ZodString>;
462
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
463
- }, z.core.$strip>>;
464
- open: z.ZodOptional<z.ZodEnum<{
465
- preview: "preview";
466
- pin: "pin";
467
- }>>;
468
- }, z.core.$strip>]>, z.ZodObject<{
469
- kind: z.ZodLiteral<"command">;
470
- target: z.ZodObject<{
471
- command: z.ZodObject<{
472
- extensionId: z.ZodString;
473
- kind: z.ZodLiteral<"command">;
474
- id: z.ZodString;
475
- }, z.core.$strip>;
476
- params: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
477
- }, z.core.$strip>;
478
- }, z.core.$strip>, z.ZodObject<{
479
- kind: z.ZodLiteral<"href">;
480
- href: z.ZodString;
481
- }, z.core.$strip>, z.ZodObject<{
482
- kind: z.ZodLiteral<"compound">;
483
- targets: z.ZodArray<z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
484
- kind: z.ZodLiteral<"panel">;
485
- panel: z.ZodUnion<readonly [z.ZodObject<{
486
- extensionId: z.ZodString;
487
- kind: z.ZodLiteral<"placement">;
488
- id: z.ZodString;
489
- }, z.core.$strip>, z.ZodObject<{
490
- kind: z.ZodLiteral<"page-slot">;
491
- page: z.ZodObject<{
492
- extensionId: z.ZodString;
493
- kind: z.ZodLiteral<"page">;
494
- id: z.ZodString;
495
- }, z.core.$strip>;
496
- id: z.ZodString;
497
- }, z.core.$strip>]>;
498
- resource: z.ZodOptional<z.ZodObject<{
499
- shorthand: z.ZodOptional<z.ZodString>;
500
- type: z.ZodString;
501
- id: z.ZodString;
502
- projectId: z.ZodOptional<z.ZodString>;
503
- label: z.ZodOptional<z.ZodString>;
504
- icon: z.ZodOptional<z.ZodString>;
505
- extensionId: z.ZodOptional<z.ZodString>;
506
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
507
- }, z.core.$strip>>;
508
- open: z.ZodOptional<z.ZodEnum<{
509
- preview: "preview";
510
- pin: "pin";
511
- }>>;
512
- }, z.core.$strip>]>>;
513
- }, z.core.$strip>]>;
514
- key: z.ZodString;
515
- canonicalChord: z.ZodString;
516
- parsed: z.ZodObject<{
517
- key: z.ZodString;
518
- ctrl: z.ZodBoolean;
519
- shift: z.ZodBoolean;
520
- alt: z.ZodBoolean;
521
- meta: z.ZodBoolean;
522
- modifiers: z.ZodArray<z.ZodString>;
523
- }, z.core.$strip>;
524
- platformOverrides: z.ZodOptional<z.ZodObject<{
525
- mac: z.ZodOptional<z.ZodString>;
526
- linux: z.ZodOptional<z.ZodString>;
527
- win: z.ZodOptional<z.ZodString>;
528
- }, z.core.$strip>>;
529
- when: z.ZodOptional<z.ZodObject<{
530
- mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
531
- source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
532
- api: "api";
533
- cli: "cli";
534
- dashboard: "dashboard";
535
- schedule: "schedule";
536
- event: "event";
537
- automation: "automation";
538
- "command-panel": "command-panel";
539
- }>>>;
540
- viewId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
541
- resourceType: z.ZodOptional<z.ZodArray<z.ZodString>>;
542
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
543
- }, z.core.$strip>>;
544
- }, z.core.$strip>;
545
-
546
- export declare type ExtensionMenuContribution = z.infer<typeof extensionMenuContributionSchema>;
547
-
548
- declare const extensionMenuContributionSchema: z.ZodObject<{
549
- id: z.ZodString;
550
- extensionId: z.ZodString;
551
- commandId: z.ZodString;
552
- slotId: z.ZodString;
553
- target: z.ZodOptional<z.ZodEnum<{
554
- "workbench.nav.actions": "workbench.nav.actions";
555
- "workbench.nav.overflow": "workbench.nav.overflow";
556
- }>>;
557
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
558
- $l10n: z.ZodString;
559
- default: z.ZodOptional<z.ZodString>;
560
- }, z.core.$strip>]>;
561
- group: z.ZodOptional<z.ZodString>;
562
- placement: z.ZodOptional<z.ZodEnum<{
563
- default: "default";
564
- first: "first";
565
- last: "last";
566
- }>>;
567
- icon: z.ZodOptional<z.ZodString>;
568
- presentation: z.ZodOptional<z.ZodEnum<{
569
- "menu-item": "menu-item";
570
- button: "button";
571
- "icon-button": "icon-button";
572
- }>>;
573
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
574
- when: z.ZodOptional<z.ZodObject<{
575
- mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
576
- source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
577
- api: "api";
578
- cli: "cli";
579
- dashboard: "dashboard";
580
- schedule: "schedule";
581
- event: "event";
582
- automation: "automation";
583
- "command-panel": "command-panel";
584
- }>>>;
585
- viewId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
586
- resourceType: z.ZodOptional<z.ZodArray<z.ZodString>>;
587
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
588
- }, z.core.$strip>>;
589
- }, z.core.$strip>;
590
-
591
- export declare type ExtensionRecord = z.infer<typeof extensionRecordSchema>;
592
-
593
- declare const extensionRecordSchema: z.ZodObject<{
594
- id: z.ZodString;
595
- name: z.ZodString;
596
- displayName: z.ZodString;
597
- extensionInstanceId: z.ZodOptional<z.ZodString>;
598
- installedExtensionId: z.ZodOptional<z.ZodString>;
599
- installName: z.ZodOptional<z.ZodString>;
600
- version: z.ZodOptional<z.ZodString>;
601
- description: z.ZodOptional<z.ZodString>;
602
- sourcePath: z.ZodString;
603
- }, z.core.$strip>;
604
-
605
- declare const extensionResourceRefSchema: z.ZodObject<{
606
- shorthand: z.ZodOptional<z.ZodString>;
607
- type: z.ZodString;
608
- id: z.ZodString;
609
- projectId: z.ZodOptional<z.ZodString>;
610
- label: z.ZodOptional<z.ZodString>;
611
- icon: z.ZodOptional<z.ZodString>;
612
- extensionId: z.ZodOptional<z.ZodString>;
613
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
614
- }, z.core.$strip>;
615
-
616
- export declare type ExtensionSettingDefinitionRecord = z.infer<typeof extensionSettingDefinitionRecordSchema>;
617
-
618
- declare const extensionSettingDefinitionRecordSchema: z.ZodObject<{
619
- key: z.ZodString;
620
- extensionId: z.ZodString;
621
- type: z.ZodEnum<{
622
- string: "string";
623
- number: "number";
624
- boolean: "boolean";
625
- object: "object";
626
- array: "array";
627
- }>;
628
- scope: z.ZodEnum<{
629
- global: "global";
630
- project: "project";
631
- }>;
632
- default: z.ZodOptional<z.ZodUnknown>;
633
- enum: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
634
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
635
- $l10n: z.ZodString;
636
- default: z.ZodOptional<z.ZodString>;
637
- }, z.core.$strip>]>>;
638
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
639
- $l10n: z.ZodString;
640
- default: z.ZodOptional<z.ZodString>;
641
- }, z.core.$strip>]>>;
642
- }, z.core.$strip>;
643
-
644
- export declare type ExtensionSettingsPanelRecord = z.infer<typeof extensionSettingsPanelRecordSchema>;
645
-
646
- declare const extensionSettingsPanelRecordSchema: z.ZodObject<{
647
- id: z.ZodString;
648
- extensionId: z.ZodString;
649
- extensionInstanceId: z.ZodOptional<z.ZodString>;
650
- installedExtensionId: z.ZodOptional<z.ZodString>;
651
- installName: z.ZodOptional<z.ZodString>;
652
- slotId: z.ZodString;
653
- target: z.ZodOptional<z.ZodEnum<{
654
- "workbench.settings": "workbench.settings";
655
- }>>;
656
- scope: z.ZodOptional<z.ZodEnum<{
657
- global: "global";
658
- project: "project";
659
- }>>;
660
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
661
- $l10n: z.ZodString;
662
- default: z.ZodOptional<z.ZodString>;
663
- }, z.core.$strip>]>;
664
- icon: z.ZodOptional<z.ZodString>;
665
- section: z.ZodOptional<z.ZodString>;
666
- webview: z.ZodObject<{
667
- entry: z.ZodObject<{
668
- kind: z.ZodLiteral<"package-asset">;
669
- path: z.ZodString;
670
- baseUrl: z.ZodString;
671
- }, z.core.$strip>;
672
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
673
- $l10n: z.ZodString;
674
- default: z.ZodOptional<z.ZodString>;
675
- }, z.core.$strip>]>>;
676
- capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
677
- }, z.core.$strip>;
678
- }, z.core.$strip>;
679
-
680
- export declare type ExtensionSettingValueRecord = z.infer<typeof extensionSettingValueRecordSchema>;
681
-
682
- declare const extensionSettingValueRecordSchema: z.ZodObject<{
683
- key: z.ZodString;
684
- extensionId: z.ZodString;
685
- type: z.ZodEnum<{
686
- string: "string";
687
- number: "number";
688
- boolean: "boolean";
689
- object: "object";
690
- array: "array";
691
- }>;
692
- scope: z.ZodEnum<{
693
- global: "global";
694
- project: "project";
695
- }>;
696
- default: z.ZodOptional<z.ZodUnknown>;
697
- enum: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
698
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
699
- $l10n: z.ZodString;
700
- default: z.ZodOptional<z.ZodString>;
701
- }, z.core.$strip>]>>;
702
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
703
- $l10n: z.ZodString;
704
- default: z.ZodOptional<z.ZodString>;
705
- }, z.core.$strip>]>>;
706
- value: z.ZodOptional<z.ZodUnknown>;
707
- source: z.ZodEnum<{
708
- default: "default";
709
- stored: "stored";
710
- }>;
711
- }, z.core.$strip>;
712
-
713
- declare interface FileRendererSectionAnchor {
714
- /** Stable extension-owned tree node id. */
715
- id: string;
716
- /** Plain heading text as it appears in the Markdown document. */
717
- heading: string;
718
- /** Zero-based occurrence when the document repeats the same heading text. */
719
- occurrence?: number;
720
- }
721
-
722
- declare interface FileRendererSectionTarget {
723
- /** The document outline used for deep-linking and active-heading sync. */
724
- anchors: FileRendererSectionAnchor[];
725
- }
726
-
727
- export declare type FollowUpInput = z.infer<typeof followUpInputSchema>;
728
-
729
- declare const followUpInputSchema: z.ZodObject<{
730
- prompt: z.ZodOptional<z.ZodString>;
731
- agent: z.ZodOptional<z.ZodString>;
732
- model: z.ZodOptional<z.ZodString>;
733
- question_response: z.ZodOptional<z.ZodObject<{
734
- answers: z.ZodArray<z.ZodArray<z.ZodString>>;
735
- }, z.core.$strip>>;
736
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
737
- summary_from_session_id: z.ZodOptional<z.ZodString>;
738
- summary_format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
739
- brief: "brief";
740
- detailed: "detailed";
741
- }>>>;
742
- summary_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
743
- assistant: "assistant";
744
- all: "all";
745
- }>>>;
746
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
747
- file_id: z.ZodString;
748
- }, z.core.$strip>>>;
749
- }, z.core.$strip>;
750
-
751
- export declare type InstallMarketplaceExtensionResponse = z.infer<typeof installMarketplaceExtensionResponseSchema>;
752
-
753
- declare const installMarketplaceExtensionResponseSchema: z.ZodObject<{
754
- extension: z.ZodObject<{
755
- id: z.ZodString;
756
- projectId: z.ZodString;
757
- extensionId: z.ZodString;
758
- installedExtensionId: z.ZodString;
759
- installName: z.ZodString;
760
- name: z.ZodString;
761
- displayName: z.ZodString;
762
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
763
- description: z.ZodOptional<z.ZodString>;
764
- sourcePath: z.ZodString;
765
- scope: z.ZodEnum<{
766
- global: "global";
767
- repo: "repo";
768
- }>;
769
- status: z.ZodEnum<{
770
- error: "error";
771
- pending: "pending";
772
- disabled: "disabled";
773
- loaded: "loaded";
774
- missing: "missing";
775
- }>;
776
- lastLoadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
777
- lastError: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
778
- enabled: z.ZodBoolean;
779
- config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
780
- canUpgrade: z.ZodBoolean;
781
- updateAvailable: z.ZodBoolean;
782
- }, z.core.$strip>;
783
- }, z.core.$strip>;
784
-
785
- export declare type IssueAutomationTokenInput = z.infer<typeof issueAutomationTokenInputSchema>;
786
-
787
- declare const issueAutomationTokenInputSchema: z.ZodObject<{
788
- name: z.ZodString;
789
- projectId: z.ZodString;
790
- principalId: z.ZodOptional<z.ZodString>;
791
- commandScopes: z.ZodArray<z.ZodString>;
792
- expiresInSeconds: z.ZodNumber;
793
- }, z.core.$strict>;
794
-
795
- export declare type IssueAutomationTokenResponse = z.infer<typeof issueAutomationTokenResponseSchema>;
796
-
797
- declare const issueAutomationTokenResponseSchema: z.ZodObject<{
798
- id: z.ZodString;
799
- principalId: z.ZodString;
800
- name: z.ZodString;
801
- tokenPrefix: z.ZodString;
802
- projectId: z.ZodString;
803
- commandScopes: z.ZodArray<z.ZodString>;
804
- expiresAt: z.ZodString;
805
- lastUsedAt: z.ZodNullable<z.ZodString>;
806
- revokedAt: z.ZodNullable<z.ZodString>;
807
- createdAt: z.ZodString;
808
- token: z.ZodString;
809
- }, z.core.$strip>;
810
-
811
- declare type JsonObject = {
812
- [key: string]: JsonValue;
813
- };
814
-
815
- declare type JsonPrimitive = string | number | boolean | null;
816
-
817
- declare type JsonValue = JsonPrimitive | JsonValue[] | JsonObject;
818
-
819
- export declare type ListAutomationRunEventsResponse = z.infer<typeof listAutomationRunEventsResponseSchema>;
820
-
821
- declare const listAutomationRunEventsResponseSchema: z.ZodObject<{
822
- events: z.ZodArray<z.ZodObject<{
823
- cursor: z.ZodNumber;
824
- runId: z.ZodString;
825
- type: z.ZodString;
826
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
827
- createdAt: z.ZodString;
828
- }, z.core.$strip>>;
829
- }, z.core.$strip>;
830
-
831
- export declare type ListAutomationTokensResponse = z.infer<typeof listAutomationTokensResponseSchema>;
832
-
833
- declare const listAutomationTokensResponseSchema: z.ZodObject<{
834
- tokens: z.ZodArray<z.ZodObject<{
835
- id: z.ZodString;
836
- principalId: z.ZodString;
837
- name: z.ZodString;
838
- tokenPrefix: z.ZodString;
839
- projectId: z.ZodString;
840
- commandScopes: z.ZodArray<z.ZodString>;
841
- expiresAt: z.ZodString;
842
- lastUsedAt: z.ZodNullable<z.ZodString>;
843
- revokedAt: z.ZodNullable<z.ZodString>;
844
- createdAt: z.ZodString;
845
- }, z.core.$strip>>;
846
- }, z.core.$strip>;
847
-
848
- export declare type ListExtensionAppearanceResponse = z.infer<typeof listExtensionAppearanceResponseSchema>;
849
-
850
- declare const listExtensionAppearanceResponseSchema: z.ZodObject<{
851
- themes: z.ZodArray<z.ZodObject<{
852
- id: z.ZodString;
853
- extensionId: z.ZodString;
854
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
855
- $l10n: z.ZodString;
856
- default: z.ZodOptional<z.ZodString>;
857
- }, z.core.$strip>]>;
858
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
859
- $l10n: z.ZodString;
860
- default: z.ZodOptional<z.ZodString>;
861
- }, z.core.$strip>]>>;
862
- format: z.ZodLiteral<"vscode-color-theme">;
863
- mode: z.ZodEnum<{
864
- light: "light";
865
- dark: "dark";
866
- }>;
867
- source: z.ZodObject<{
868
- kind: z.ZodLiteral<"package-asset">;
869
- path: z.ZodString;
870
- baseUrl: z.ZodString;
871
- }, z.core.$strip>;
872
- tokens: z.ZodRecord<z.ZodString, z.ZodString>;
873
- monacoTheme: z.ZodObject<{
874
- base: z.ZodEnum<{
875
- vs: "vs";
876
- "vs-dark": "vs-dark";
877
- }>;
878
- inherit: z.ZodLiteral<true>;
879
- rules: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
880
- colors: z.ZodRecord<z.ZodString, z.ZodString>;
881
- }, z.core.$strip>;
882
- }, z.core.$strip>>;
883
- fileIconThemes: z.ZodArray<z.ZodObject<{
884
- id: z.ZodString;
885
- extensionId: z.ZodString;
886
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
887
- $l10n: z.ZodString;
888
- default: z.ZodOptional<z.ZodString>;
889
- }, z.core.$strip>]>;
890
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
891
- $l10n: z.ZodString;
892
- default: z.ZodOptional<z.ZodString>;
893
- }, z.core.$strip>]>>;
894
- format: z.ZodLiteral<"vscode-file-icon-theme">;
895
- source: z.ZodObject<{
896
- kind: z.ZodLiteral<"package-asset">;
897
- path: z.ZodString;
898
- baseUrl: z.ZodString;
899
- }, z.core.$strip>;
900
- definitions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
901
- fileExtensions: z.ZodRecord<z.ZodString, z.ZodString>;
902
- fileNames: z.ZodRecord<z.ZodString, z.ZodString>;
903
- defaults: z.ZodDefault<z.ZodObject<{
904
- file: z.ZodOptional<z.ZodString>;
905
- folder: z.ZodOptional<z.ZodString>;
906
- }, z.core.$strip>>;
907
- fonts: z.ZodDefault<z.ZodArray<z.ZodObject<{
908
- fontFamily: z.ZodString;
909
- src: z.ZodArray<z.ZodObject<{
910
- url: z.ZodString;
911
- format: z.ZodOptional<z.ZodString>;
912
- }, z.core.$strip>>;
913
- weight: z.ZodOptional<z.ZodString>;
914
- style: z.ZodOptional<z.ZodString>;
915
- }, z.core.$strip>>>;
916
- }, z.core.$strip>>;
917
- translations: z.ZodArray<z.ZodObject<{
918
- extensionId: z.ZodString;
919
- defaultLocale: z.ZodString;
920
- bundles: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
921
- }, z.core.$strip>>;
922
- diagnostics: z.ZodArray<z.ZodObject<{
923
- code: z.ZodString;
924
- severity: z.ZodEnum<{
925
- error: "error";
926
- info: "info";
927
- warning: "warning";
928
- }>;
929
- message: z.ZodString;
930
- extensionId: z.ZodOptional<z.ZodString>;
931
- commandId: z.ZodOptional<z.ZodString>;
932
- sourcePath: z.ZodOptional<z.ZodString>;
933
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
934
- }, z.core.$strip>>;
935
- }, z.core.$strip>;
936
-
937
- export declare type ListExtensionCommandsResponse = z.infer<typeof listExtensionCommandsResponseSchema>;
938
-
939
- declare const listExtensionCommandsResponseSchema: z.ZodObject<{
940
- commands: z.ZodArray<z.ZodObject<{
941
- id: z.ZodString;
942
- extensionId: z.ZodString;
943
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
944
- $l10n: z.ZodString;
945
- default: z.ZodOptional<z.ZodString>;
946
- }, z.core.$strip>]>;
947
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
948
- $l10n: z.ZodString;
949
- default: z.ZodOptional<z.ZodString>;
950
- }, z.core.$strip>]>>;
951
- cliPath: z.ZodOptional<z.ZodString>;
952
- cliAliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
953
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
954
- automation: z.ZodOptional<z.ZodBoolean>;
955
- mutating: z.ZodOptional<z.ZodBoolean>;
956
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
957
- type: z.ZodString;
958
- }, z.core.$catchall<z.ZodUnknown>>>>;
959
- }, z.core.$strip>>;
960
- translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
961
- extensionId: z.ZodString;
962
- defaultLocale: z.ZodString;
963
- bundles: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
964
- }, z.core.$strip>>>;
965
- diagnostics: z.ZodArray<z.ZodObject<{
966
- code: z.ZodString;
967
- severity: z.ZodEnum<{
968
- error: "error";
969
- info: "info";
970
- warning: "warning";
971
- }>;
972
- message: z.ZodString;
973
- extensionId: z.ZodOptional<z.ZodString>;
974
- commandId: z.ZodOptional<z.ZodString>;
975
- sourcePath: z.ZodOptional<z.ZodString>;
976
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
977
- }, z.core.$strip>>;
978
- }, z.core.$strip>;
979
-
980
- export declare type ListExtensionConnectionsResponse = z.infer<typeof listExtensionConnectionsResponseSchema>;
981
-
982
- declare const listExtensionConnectionsResponseSchema: z.ZodObject<{
983
- connections: z.ZodArray<z.ZodObject<{
984
- id: z.ZodString;
985
- extensionId: z.ZodString;
986
- connectionId: z.ZodString;
987
- baseUrl: z.ZodString;
988
- authType: z.ZodEnum<{
989
- header: "header";
990
- bearer: "bearer";
991
- }>;
992
- configured: z.ZodBoolean;
993
- lastCheck: z.ZodNullable<z.ZodObject<{
994
- ok: z.ZodBoolean;
995
- status: z.ZodNullable<z.ZodNumber>;
996
- error: z.ZodNullable<z.ZodString>;
997
- checkedAt: z.ZodString;
998
- }, z.core.$strip>>;
999
- updatedAt: z.ZodString;
1000
- }, z.core.$strip>>;
1001
- }, z.core.$strip>;
1002
-
1003
- export declare type ListExtensionSettingsResponse = z.infer<typeof listExtensionSettingsResponseSchema>;
1004
-
1005
- declare const listExtensionSettingsResponseSchema: z.ZodObject<{
1006
- settings: z.ZodArray<z.ZodObject<{
1007
- key: z.ZodString;
1008
- extensionId: z.ZodString;
1009
- type: z.ZodEnum<{
1010
- string: "string";
1011
- number: "number";
1012
- boolean: "boolean";
1013
- object: "object";
1014
- array: "array";
1015
- }>;
1016
- scope: z.ZodEnum<{
1017
- global: "global";
1018
- project: "project";
1019
- }>;
1020
- default: z.ZodOptional<z.ZodUnknown>;
1021
- enum: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1022
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1023
- $l10n: z.ZodString;
1024
- default: z.ZodOptional<z.ZodString>;
1025
- }, z.core.$strip>]>>;
1026
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1027
- $l10n: z.ZodString;
1028
- default: z.ZodOptional<z.ZodString>;
1029
- }, z.core.$strip>]>>;
1030
- value: z.ZodOptional<z.ZodUnknown>;
1031
- source: z.ZodEnum<{
1032
- default: "default";
1033
- stored: "stored";
1034
- }>;
1035
- }, z.core.$strip>>;
1036
- }, z.core.$strip>;
1037
-
1038
- export declare interface ListNotificationsQuery {
1039
- status?: NotificationStatus | NotificationStatus[];
1040
- priority?: NotificationPriority | NotificationPriority[];
1041
- sourceExtensionId?: string;
1042
- resourceType?: string;
1043
- resourceId?: string;
1044
- cursor?: string;
1045
- limit?: number;
1046
- }
1047
-
1048
- export declare interface ListNotificationsResponse {
1049
- items: Notification_2[];
1050
- nextCursor?: string | null;
1051
- }
1052
-
1053
- export declare type ListProjectExtensionsResponse = z.infer<typeof listProjectExtensionsResponseSchema>;
1054
-
1055
- declare const listProjectExtensionsResponseSchema: z.ZodObject<{
1056
- extensions: z.ZodArray<z.ZodObject<{
1057
- id: z.ZodString;
1058
- projectId: z.ZodString;
1059
- extensionId: z.ZodString;
1060
- installedExtensionId: z.ZodString;
1061
- installName: z.ZodString;
1062
- name: z.ZodString;
1063
- displayName: z.ZodString;
1064
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1065
- description: z.ZodOptional<z.ZodString>;
1066
- sourcePath: z.ZodString;
1067
- scope: z.ZodEnum<{
1068
- global: "global";
1069
- repo: "repo";
1070
- }>;
1071
- status: z.ZodEnum<{
1072
- error: "error";
1073
- pending: "pending";
1074
- disabled: "disabled";
1075
- loaded: "loaded";
1076
- missing: "missing";
1077
- }>;
1078
- lastLoadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
- lastError: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1080
- enabled: z.ZodBoolean;
1081
- config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1082
- canUpgrade: z.ZodBoolean;
1083
- updateAvailable: z.ZodBoolean;
1084
- }, z.core.$strip>>;
1085
- marketplace: z.ZodArray<z.ZodObject<{
1086
- installName: z.ZodString;
1087
- displayName: z.ZodString;
1088
- description: z.ZodString;
1089
- installed: z.ZodBoolean;
1090
- origin: z.ZodObject<{
1091
- kind: z.ZodLiteral<"git">;
1092
- url: z.ZodString;
1093
- path: z.ZodString;
1094
- ref: z.ZodString;
1095
- }, z.core.$strip>;
1096
- publisher: z.ZodOptional<z.ZodString>;
1097
- }, z.core.$strip>>;
1098
- }, z.core.$strip>;
1099
-
1100
- export declare type ListWorkspaceFilesInput = ListWorkspaceFilesInput_2;
1101
-
1102
- declare type ListWorkspaceFilesInput_2 = z.infer<typeof listWorkspaceFilesInputSchema>;
1103
-
1104
- declare const listWorkspaceFilesInputSchema: z.ZodObject<{
1105
- path: z.ZodOptional<z.ZodString>;
1106
- query: z.ZodOptional<z.ZodString>;
1107
- limit: z.ZodOptional<z.ZodNumber>;
1108
- }, z.core.$strip>;
1109
-
1110
- export declare type LocalizableString = z.infer<typeof localizableStringSchema>;
1111
-
1112
- declare const localizableStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1113
- $l10n: z.ZodString;
1114
- default: z.ZodOptional<z.ZodString>;
1115
- }, z.core.$strip>]>;
1116
-
1117
- export declare type MarketplaceExtension = z.infer<typeof marketplaceExtensionSchema>;
1118
-
1119
- declare const marketplaceExtensionSchema: z.ZodObject<{
1120
- installName: z.ZodString;
1121
- displayName: z.ZodString;
1122
- description: z.ZodString;
1123
- installed: z.ZodBoolean;
1124
- origin: z.ZodObject<{
1125
- kind: z.ZodLiteral<"git">;
1126
- url: z.ZodString;
1127
- path: z.ZodString;
1128
- ref: z.ZodString;
1129
- }, z.core.$strip>;
1130
- publisher: z.ZodOptional<z.ZodString>;
1131
- }, z.core.$strip>;
1132
-
1133
- declare interface MetadataPageTarget {
1134
- kind: "page";
1135
- page: z.infer<typeof pageRefSchema>;
1136
- resource?: z.infer<typeof extensionResourceRefSchema>;
1137
- open?: "preview" | "pin";
1138
- section?: z.infer<typeof sectionSchema>;
1139
- parent?: MetadataPageTarget;
1140
- }
1141
-
1142
- declare type NavigationTarget = NavigationTargetItem | NavigationTargetCompound;
1143
-
1144
- declare interface NavigationTargetCommand {
1145
- kind: "command";
1146
- target: CommandTarget<JsonObject>;
1147
- }
1148
-
1149
- declare interface NavigationTargetCompound {
1150
- kind: "compound";
1151
- targets: readonly (NavigationTargetPage | NavigationTargetPanel)[];
1152
- }
1153
-
1154
- declare interface NavigationTargetHref {
1155
- kind: "href";
1156
- href: string;
1157
- }
1158
-
1159
- declare type NavigationTargetItem = NavigationTargetPage | NavigationTargetPanel | NavigationTargetCommand | NavigationTargetHref;
1160
-
1161
- declare interface NavigationTargetPage {
1162
- kind: "page";
1163
- page: PageRef;
1164
- resource?: ResourceRef;
1165
- section?: FileRendererSectionTarget;
1166
- open?: PageOpenIntent;
1167
- parent?: NavigationTargetPage;
1168
- }
1169
-
1170
- declare interface NavigationTargetPanel {
1171
- kind: "panel";
1172
- panel: PanelRef;
1173
- resource?: ResourceRef;
1174
- open?: PageOpenIntent;
1175
- }
1176
-
1177
- declare interface Notification_2 {
1178
- id: string;
1179
- projectId: string;
1180
- title: string;
1181
- body?: string | null;
1182
- kind: NotificationKind;
1183
- status: NotificationStatus;
1184
- priority: NotificationPriority;
1185
- source: CommandSource;
1186
- origin: NotificationOrigin;
1187
- sourceExtensionId?: string | null;
1188
- actorType?: NotificationActorType | null;
1189
- actorId?: string | null;
1190
- target?: ResourceRef | null;
1191
- related: ResourceRef[];
1192
- actions: NotificationAction[];
1193
- dedupeKey?: string | null;
1194
- metadata?: JsonObject | null;
1195
- createdAt: string;
1196
- updatedAt: string;
1197
- readAt?: string | null;
1198
- resolvedAt?: string | null;
1199
- snoozedUntil?: string | null;
1200
- expiresAt?: string | null;
1201
- }
1202
- export { Notification_2 as Notification }
1203
-
1204
- export declare type NotificationAction = {
1205
- id: string;
1206
- label: string;
1207
- kind: "navigate";
1208
- target: NavigationTarget;
1209
- primary?: boolean;
1210
- } | {
1211
- id: string;
1212
- label: string;
1213
- kind: "command";
1214
- command: string;
1215
- params?: JsonObject;
1216
- primary?: boolean;
1217
- destructive?: boolean;
1218
- } | {
1219
- id: string;
1220
- label: string;
1221
- kind: "url";
1222
- href: string;
1223
- primary?: boolean;
1224
- };
1225
-
1226
- export declare type NotificationActorType = "user" | "agent" | "system";
1227
-
1228
- export declare type NotificationKind = "needs_review" | "ready_to_merge" | "blocked" | "approval_required" | "failed" | "info";
1229
-
1230
- export declare type NotificationOrigin = "core" | "extension" | "agent";
1231
-
1232
- export declare type NotificationPriority = "low" | "normal" | "high" | "urgent";
1233
-
1234
- export declare type NotificationStatus = "open" | "read" | "snoozed" | "done" | "dismissed" | "expired";
1235
-
1236
- declare type PageOpenIntent = "preview" | "pin";
1237
-
1238
- declare type PageRef = ContributionRef<"page">;
1239
-
1240
- declare const pageRefSchema: z.ZodObject<{
1241
- extensionId: z.ZodString;
1242
- kind: z.ZodLiteral<"page">;
1243
- id: z.ZodString;
1244
- }, z.core.$strip>;
1245
-
1246
- declare interface PageSlotRef {
1247
- readonly kind: "page-slot";
1248
- readonly page: PageRef;
1249
- readonly id: string;
1250
- }
1251
-
1252
- declare type PanelRef = PlacementRef | PageSlotRef;
1253
-
1254
- declare type PlacementRef = ContributionRef<"placement">;
1255
-
1256
- export declare type ProjectExtensionInstance = z.infer<typeof projectExtensionInstanceSchema>;
1257
-
1258
- declare const projectExtensionInstanceSchema: z.ZodObject<{
1259
- id: z.ZodString;
1260
- projectId: z.ZodString;
1261
- extensionId: z.ZodString;
1262
- installedExtensionId: z.ZodString;
1263
- installName: z.ZodString;
1264
- name: z.ZodString;
1265
- displayName: z.ZodString;
1266
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1267
- description: z.ZodOptional<z.ZodString>;
1268
- sourcePath: z.ZodString;
1269
- scope: z.ZodEnum<{
1270
- global: "global";
1271
- repo: "repo";
1272
- }>;
1273
- status: z.ZodEnum<{
1274
- error: "error";
1275
- pending: "pending";
1276
- disabled: "disabled";
1277
- loaded: "loaded";
1278
- missing: "missing";
1279
- }>;
1280
- lastLoadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1281
- lastError: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1282
- enabled: z.ZodBoolean;
1283
- config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1284
- canUpgrade: z.ZodBoolean;
1285
- updateAvailable: z.ZodBoolean;
1286
- }, z.core.$strip>;
1287
-
1288
- export declare type RegisterRepoInput = z.infer<typeof registerRepoInputSchema>;
1289
-
1290
- declare const registerRepoInputSchema: z.ZodObject<{
1291
- name: z.ZodString;
1292
- path: z.ZodString;
1293
- }, z.core.$strip>;
1294
-
1295
- export declare type RemoveWorktreeResponse = RemoveWorktreeResponse_2;
1296
-
1297
- declare type RemoveWorktreeResponse_2 = z.infer<typeof removeWorktreeResponseSchema>;
1298
-
1299
- declare const removeWorktreeResponseSchema: z.ZodObject<{
1300
- removed: z.ZodBoolean;
1301
- }, z.core.$strip>;
1302
-
1303
- export declare type RenameWorkspaceInput = RenameWorkspaceInput_2;
1304
-
1305
- declare type RenameWorkspaceInput_2 = z.infer<typeof renameWorkspaceInputSchema>;
1306
-
1307
- declare const renameWorkspaceInputSchema: z.ZodObject<{
1308
- name: z.ZodString;
1309
- }, z.core.$strip>;
1310
-
1311
- export declare type ResolveSessionIdInput = z.infer<typeof resolveSessionIdInputSchema>;
1312
-
1313
- declare const resolveSessionIdInputSchema: z.ZodObject<{
1314
- agent: z.ZodString;
1315
- agent_session_id: z.ZodString;
1316
- cwd: z.ZodOptional<z.ZodString>;
1317
- }, z.core.$strip>;
1318
-
1319
- export declare type ResolveSessionIdResponse = z.infer<typeof resolveSessionIdResponseSchema>;
1320
-
1321
- declare const resolveSessionIdResponseSchema: z.ZodObject<{
1322
- session_id: z.ZodNullable<z.ZodString>;
1323
- }, z.core.$strip>;
1324
-
1325
- export declare interface ResourceRef {
1326
- type: string;
1327
- id: string;
1328
- shorthand?: string;
1329
- projectId?: string;
1330
- label?: string;
1331
- icon?: string;
1332
- extensionId?: string;
1333
- metadata?: JsonObject;
1334
- }
1335
-
1336
- declare const sectionSchema: z.ZodObject<{
1337
- anchors: z.ZodArray<z.ZodObject<{
1338
- id: z.ZodString;
1339
- heading: z.ZodString;
1340
- occurrence: z.ZodOptional<z.ZodNumber>;
1341
- }, z.core.$strip>>;
1342
- }, z.core.$strip>;
1343
-
1344
- export declare type SessionAttachment = z.infer<typeof sessionAttachmentSchema>;
1345
-
1346
- export declare const sessionAttachmentMimeTypesByExtension: {
1347
- readonly c: "text/plain";
1348
- readonly cc: "text/plain";
1349
- readonly cpp: "text/plain";
1350
- readonly cs: "text/plain";
1351
- readonly css: "text/css";
1352
- readonly csv: "text/csv";
1353
- readonly cxx: "text/plain";
1354
- readonly go: "text/plain";
1355
- readonly h: "text/plain";
1356
- readonly hpp: "text/plain";
1357
- readonly html: "text/html";
1358
- readonly java: "text/plain";
1359
- readonly js: "application/javascript";
1360
- readonly jsx: "text/plain";
1361
- readonly json: "application/json";
1362
- readonly jsonc: "application/json";
1363
- readonly kt: "text/plain";
1364
- readonly kts: "text/plain";
1365
- readonly lua: "text/plain";
1366
- readonly markdown: "text/markdown";
1367
- readonly md: "text/markdown";
1368
- readonly mjs: "application/javascript";
1369
- readonly pdf: "application/pdf";
1370
- readonly php: "text/plain";
1371
- readonly png: "image/png";
1372
- readonly py: "text/plain";
1373
- readonly rb: "text/plain";
1374
- readonly rs: "text/plain";
1375
- readonly sh: "text/plain";
1376
- readonly sql: "text/plain";
1377
- readonly svg: "image/svg+xml";
1378
- readonly swift: "text/plain";
1379
- readonly toml: "text/plain";
1380
- readonly ts: "text/plain";
1381
- readonly tsx: "text/plain";
1382
- readonly txt: "text/plain";
1383
- readonly vue: "text/plain";
1384
- readonly xml: "text/xml";
1385
- readonly xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
1386
- readonly yaml: "text/plain";
1387
- readonly yml: "text/plain";
1388
- };
1389
-
1390
- export declare type SessionAttachmentRef = z.infer<typeof sessionAttachmentRefSchema>;
1391
-
1392
- declare const sessionAttachmentRefSchema: z.ZodObject<{
1393
- file_id: z.ZodString;
1394
- }, z.core.$strip>;
1395
-
1396
- declare const sessionAttachmentSchema: z.ZodObject<{
1397
- file_id: z.ZodString;
1398
- name: z.ZodString;
1399
- mime_type: z.ZodNullable<z.ZodString>;
1400
- size_bytes: z.ZodNumber;
1401
- hash: z.ZodNullable<z.ZodString>;
1402
- url: z.ZodString;
1403
- created_at: z.ZodString;
1404
- updated_at: z.ZodString;
1405
- }, z.core.$strip>;
1406
-
1407
- export declare type SessionConversationResponse = z.infer<typeof sessionConversationResponseSchema>;
1408
-
1409
- declare const sessionConversationResponseSchema: z.ZodObject<{
1410
- session: z.ZodObject<{
1411
- id: z.ZodString;
1412
- project_id: z.ZodNullable<z.ZodString>;
1413
- title: z.ZodString;
1414
- status: z.ZodEnum<{
1415
- completed: "completed";
1416
- failed: "failed";
1417
- in_progress: "in_progress";
1418
- awaiting_input: "awaiting_input";
1419
- queued: "queued";
1420
- cancelled: "cancelled";
1421
- disconnected: "disconnected";
1422
- }>;
1423
- archived: z.ZodBoolean;
1424
- last_request_started: z.ZodNullable<z.ZodString>;
1425
- last_request_ended: z.ZodNullable<z.ZodString>;
1426
- agent: z.ZodNullable<z.ZodString>;
1427
- last_selected_model: z.ZodNullable<z.ZodString>;
1428
- agent_session_id: z.ZodNullable<z.ZodString>;
1429
- session_file_id: z.ZodNullable<z.ZodString>;
1430
- original_session_id: z.ZodNullable<z.ZodString>;
1431
- cwd: z.ZodNullable<z.ZodString>;
1432
- params_json: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
1433
- anchors_json: z.ZodArray<z.ZodObject<{
1434
- shorthand: z.ZodOptional<z.ZodString>;
1435
- type: z.ZodString;
1436
- id: z.ZodString;
1437
- projectId: z.ZodOptional<z.ZodString>;
1438
- label: z.ZodOptional<z.ZodString>;
1439
- icon: z.ZodOptional<z.ZodString>;
1440
- extensionId: z.ZodOptional<z.ZodString>;
1441
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1442
- }, z.core.$strip>>;
1443
- created_at: z.ZodString;
1444
- updated_at: z.ZodString;
1445
- }, z.core.$strip>;
1446
- messages: z.ZodArray<z.ZodUnknown>;
1447
- }, z.core.$strip>;
1448
-
1449
- export declare type Settings = z.infer<typeof settingsSchema>;
1450
-
1451
- declare const settingsSchema: z.ZodObject<{
1452
- notifications_enabled: z.ZodBoolean;
1453
- max_concurrent_sessions: z.ZodNullable<z.ZodNumber>;
1454
- }, z.core.$strip>;
1455
-
1456
- declare type Struct = object;
1457
-
1458
- export declare type TerminalHostEvent = {
1459
- sessionId: string;
1460
- kind: "data";
1461
- chunk: Uint8Array;
1462
- } | {
1463
- sessionId: string;
1464
- kind: "exit";
1465
- code: number | null;
1466
- signal: string | null;
1467
- };
1468
-
1469
- export declare type TerminalSessionOperation = {
1470
- operation: "open";
1471
- request: TerminalSessionRequest;
1472
- } | {
1473
- operation: "write";
1474
- sessionId: string;
1475
- data: string | Uint8Array;
1476
- } | {
1477
- operation: "resize";
1478
- sessionId: string;
1479
- cols: number;
1480
- rows: number;
1481
- } | {
1482
- operation: "kill";
1483
- sessionId: string;
1484
- signal?: string;
1485
- } | {
1486
- operation: "subscribe";
1487
- sessionId: string;
1488
- };
1489
-
1490
- export declare interface TerminalSessionRequest {
1491
- /** Command + args to run; defaults to the user's login shell when omitted. */
1492
- command?: string[];
1493
- /** Working directory; falls back to the extension's workspace root. */
1494
- cwd?: string;
1495
- /** Extra env vars merged over the inherited environment. */
1496
- env?: Record<string, string>;
1497
- /** Initial column count; the renderer can resize later. */
1498
- cols: number;
1499
- /** Initial row count; the renderer can resize later. */
1500
- rows: number;
1501
- }
1502
-
1503
- export declare type TerminalSessionResult = {
1504
- operation: "open";
1505
- sessionId: string;
1506
- } | {
1507
- operation: "write" | "resize" | "kill" | "subscribe";
1508
- accepted: true;
1509
- };
1510
-
1511
- export declare type UpdateExtensionSettingRequest = z.infer<typeof updateExtensionSettingRequestSchema>;
1512
-
1513
- declare const updateExtensionSettingRequestSchema: z.ZodObject<{
1514
- value: z.ZodUnknown;
1515
- }, z.core.$strip>;
1516
-
1517
- export declare interface UpdateNotificationInput {
1518
- priority?: NotificationPriority;
1519
- snoozedUntil?: string | null;
1520
- metadata?: JsonObject;
1521
- }
1522
-
1523
- export declare type UpdateSettingsInput = z.infer<typeof updateSettingsInputSchema>;
1524
-
1525
- declare const updateSettingsInputSchema: z.ZodObject<{
1526
- notifications_enabled: z.ZodOptional<z.ZodBoolean>;
1527
- max_concurrent_sessions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1528
- }, z.core.$strict>;
1529
-
1530
- export declare type UpdateSkillInput = z.infer<typeof updateSkillInputSchema>;
1531
-
1532
- declare const updateSkillInputSchema: z.ZodObject<{
1533
- enabled: z.ZodOptional<z.ZodBoolean>;
1534
- title: z.ZodOptional<z.ZodString>;
1535
- description: z.ZodOptional<z.ZodString>;
1536
- }, z.core.$strip>;
1537
-
1538
- export declare type UpgradeProjectExtensionResponse = z.infer<typeof upgradeProjectExtensionResponseSchema>;
1539
-
1540
- declare const upgradeProjectExtensionResponseSchema: z.ZodObject<{
1541
- changed: z.ZodBoolean;
1542
- extension: z.ZodObject<{
1543
- id: z.ZodString;
1544
- projectId: z.ZodString;
1545
- extensionId: z.ZodString;
1546
- installedExtensionId: z.ZodString;
1547
- installName: z.ZodString;
1548
- name: z.ZodString;
1549
- displayName: z.ZodString;
1550
- version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1551
- description: z.ZodOptional<z.ZodString>;
1552
- sourcePath: z.ZodString;
1553
- scope: z.ZodEnum<{
1554
- global: "global";
1555
- repo: "repo";
1556
- }>;
1557
- status: z.ZodEnum<{
1558
- error: "error";
1559
- pending: "pending";
1560
- disabled: "disabled";
1561
- loaded: "loaded";
1562
- missing: "missing";
1563
- }>;
1564
- lastLoadedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1565
- lastError: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1566
- enabled: z.ZodBoolean;
1567
- config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1568
- canUpgrade: z.ZodBoolean;
1569
- updateAvailable: z.ZodBoolean;
1570
- }, z.core.$strip>;
1571
- }, z.core.$strip>;
1572
-
1573
- export declare type WorkbenchExtensionAutomationRecord = z.infer<typeof workbenchExtensionAutomationRecordSchema>;
1574
-
1575
- declare const workbenchExtensionAutomationRecordSchema: z.ZodObject<{
1576
- id: z.ZodString;
1577
- localId: z.ZodString;
1578
- extensionId: z.ZodString;
1579
- extensionInstanceId: z.ZodOptional<z.ZodString>;
1580
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1581
- $l10n: z.ZodString;
1582
- default: z.ZodOptional<z.ZodString>;
1583
- }, z.core.$strip>]>;
1584
- cron: z.ZodString;
1585
- commandId: z.ZodString;
1586
- enabled: z.ZodBoolean;
1587
- }, z.core.$strip>;
1588
-
1589
- export declare type WorkbenchExtensionCommandPaletteResourceRecord = z.infer<typeof extensionCommandPaletteResourceRecordSchema>;
1590
-
1591
- export declare type WorkbenchExtensionHarnessRecord = NonNullable<WorkbenchExtensionMetadata["harnesses"]>[number];
1592
-
1593
- export declare type WorkbenchExtensionMetadata = z.infer<typeof workbenchExtensionMetadataSchema>;
1594
-
1595
- declare const workbenchExtensionMetadataSchema: z.ZodObject<{
1596
- extensions: z.ZodArray<z.ZodObject<{
1597
- id: z.ZodString;
1598
- name: z.ZodString;
1599
- displayName: z.ZodString;
1600
- extensionInstanceId: z.ZodOptional<z.ZodString>;
1601
- installedExtensionId: z.ZodOptional<z.ZodString>;
1602
- installName: z.ZodOptional<z.ZodString>;
1603
- version: z.ZodOptional<z.ZodString>;
1604
- description: z.ZodOptional<z.ZodString>;
1605
- sourcePath: z.ZodString;
1606
- }, z.core.$strip>>;
1607
- commands: z.ZodArray<z.ZodObject<{
1608
- id: z.ZodString;
1609
- extensionId: z.ZodString;
1610
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1611
- $l10n: z.ZodString;
1612
- default: z.ZodOptional<z.ZodString>;
1613
- }, z.core.$strip>]>;
1614
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1615
- $l10n: z.ZodString;
1616
- default: z.ZodOptional<z.ZodString>;
1617
- }, z.core.$strip>]>>;
1618
- cliPath: z.ZodOptional<z.ZodString>;
1619
- cliAliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
1620
- examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
1621
- automation: z.ZodOptional<z.ZodBoolean>;
1622
- mutating: z.ZodOptional<z.ZodBoolean>;
1623
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1624
- type: z.ZodString;
1625
- }, z.core.$catchall<z.ZodUnknown>>>>;
1626
- }, z.core.$strip>>;
1627
- menuContributions: z.ZodArray<z.ZodObject<{
1628
- id: z.ZodString;
1629
- extensionId: z.ZodString;
1630
- commandId: z.ZodString;
1631
- slotId: z.ZodString;
1632
- target: z.ZodOptional<z.ZodEnum<{
1633
- "workbench.nav.actions": "workbench.nav.actions";
1634
- "workbench.nav.overflow": "workbench.nav.overflow";
1635
- }>>;
1636
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1637
- $l10n: z.ZodString;
1638
- default: z.ZodOptional<z.ZodString>;
1639
- }, z.core.$strip>]>;
1640
- group: z.ZodOptional<z.ZodString>;
1641
- placement: z.ZodOptional<z.ZodEnum<{
1642
- default: "default";
1643
- first: "first";
1644
- last: "last";
1645
- }>>;
1646
- icon: z.ZodOptional<z.ZodString>;
1647
- presentation: z.ZodOptional<z.ZodEnum<{
1648
- "menu-item": "menu-item";
1649
- button: "button";
1650
- "icon-button": "icon-button";
1651
- }>>;
1652
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1653
- when: z.ZodOptional<z.ZodObject<{
1654
- mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1655
- source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1656
- api: "api";
1657
- cli: "cli";
1658
- dashboard: "dashboard";
1659
- schedule: "schedule";
1660
- event: "event";
1661
- automation: "automation";
1662
- "command-panel": "command-panel";
1663
- }>>>;
1664
- viewId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1665
- resourceType: z.ZodOptional<z.ZodArray<z.ZodString>>;
1666
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1667
- }, z.core.$strip>>;
1668
- }, z.core.$strip>>;
1669
- commandPaletteContributions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1670
- id: z.ZodString;
1671
- extensionId: z.ZodString;
1672
- commandId: z.ZodString;
1673
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1674
- $l10n: z.ZodString;
1675
- default: z.ZodOptional<z.ZodString>;
1676
- }, z.core.$strip>]>;
1677
- group: z.ZodOptional<z.ZodString>;
1678
- placement: z.ZodOptional<z.ZodEnum<{
1679
- default: "default";
1680
- first: "first";
1681
- last: "last";
1682
- }>>;
1683
- icon: z.ZodOptional<z.ZodString>;
1684
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1685
- when: z.ZodOptional<z.ZodObject<{
1686
- mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1687
- source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1688
- api: "api";
1689
- cli: "cli";
1690
- dashboard: "dashboard";
1691
- schedule: "schedule";
1692
- event: "event";
1693
- automation: "automation";
1694
- "command-panel": "command-panel";
1695
- }>>>;
1696
- viewId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1697
- resourceType: z.ZodOptional<z.ZodArray<z.ZodString>>;
1698
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1699
- }, z.core.$strip>>;
1700
- }, z.core.$strip>>>;
1701
- modes: z.ZodArray<z.ZodObject<{
1702
- id: z.ZodString;
1703
- localId: z.ZodString;
1704
- extensionId: z.ZodString;
1705
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1706
- $l10n: z.ZodString;
1707
- default: z.ZodOptional<z.ZodString>;
1708
- }, z.core.$strip>]>;
1709
- icon: z.ZodOptional<z.ZodString>;
1710
- regions: z.ZodArray<z.ZodEnum<{
1711
- main: "main";
1712
- secondary: "secondary";
1713
- side: "side";
1714
- }>>;
1715
- floatingPanels: z.ZodOptional<z.ZodEnum<{
1716
- visible: "visible";
1717
- hidden: "hidden";
1718
- }>>;
1719
- regionSettings: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
1720
- sidenav: "sidenav";
1721
- main: "main";
1722
- secondary: "secondary";
1723
- side: "side";
1724
- }> & z.core.$partial, z.ZodObject<{
1725
- showHeader: z.ZodOptional<z.ZodBoolean>;
1726
- size: z.ZodOptional<z.ZodObject<{
1727
- defaultPx: z.ZodOptional<z.ZodNumber>;
1728
- minPx: z.ZodOptional<z.ZodNumber>;
1729
- maxPx: z.ZodOptional<z.ZodNumber>;
1730
- }, z.core.$strip>>;
1731
- collapsible: z.ZodOptional<z.ZodBoolean>;
1732
- alwaysShowTabs: z.ZodOptional<z.ZodBoolean>;
1733
- }, z.core.$strip>>>;
1734
- defaultTheme: z.ZodOptional<z.ZodObject<{
1735
- extensionId: z.ZodString;
1736
- kind: z.ZodLiteral<"theme">;
1737
- id: z.ZodString;
1738
- }, z.core.$strip>>;
1739
- chrome: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
1740
- nav: "nav";
1741
- activity: "activity";
1742
- sidenav: "sidenav";
1743
- status: "status";
1744
- }> & z.core.$partial, z.ZodUnion<readonly [z.ZodObject<{
1745
- extensionId: z.ZodString;
1746
- kind: z.ZodLiteral<"view">;
1747
- id: z.ZodString;
1748
- }, z.core.$strip>, z.ZodLiteral<false>]>>>;
1749
- }, z.core.$strip>>;
1750
- pages: z.ZodArray<z.ZodObject<{
1751
- id: z.ZodString;
1752
- localId: z.ZodString;
1753
- extensionId: z.ZodString;
1754
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1755
- $l10n: z.ZodString;
1756
- default: z.ZodOptional<z.ZodString>;
1757
- }, z.core.$strip>]>;
1758
- icon: z.ZodOptional<z.ZodString>;
1759
- path: z.ZodString;
1760
- mode: z.ZodObject<{
1761
- extensionId: z.ZodString;
1762
- kind: z.ZodLiteral<"mode">;
1763
- id: z.ZodString;
1764
- }, z.core.$strip>;
1765
- parent: z.ZodOptional<z.ZodObject<{
1766
- extensionId: z.ZodString;
1767
- kind: z.ZodLiteral<"page">;
1768
- id: z.ZodString;
1769
- }, z.core.$strip>>;
1770
- resource: z.ZodOptional<z.ZodObject<{
1771
- kinds: z.ZodArray<z.ZodObject<{
1772
- extensionId: z.ZodString;
1773
- kind: z.ZodLiteral<"resource-kind">;
1774
- id: z.ZodString;
1775
- }, z.core.$strip>>;
1776
- }, z.core.$strict>>;
1777
- main: z.ZodDiscriminatedUnion<[z.ZodObject<{
1778
- mountStrategy: z.ZodOptional<z.ZodEnum<{
1779
- active: "active";
1780
- "keep-mounted": "keep-mounted";
1781
- }>>;
1782
- hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
1783
- headerBorderBottom: z.ZodOptional<z.ZodBoolean>;
1784
- tab: z.ZodOptional<z.ZodObject<{
1785
- queryHandlerId: z.ZodString;
1786
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1787
- }, z.core.$strip>>;
1788
- kind: z.ZodLiteral<"view">;
1789
- view: z.ZodObject<{
1790
- extensionId: z.ZodString;
1791
- kind: z.ZodLiteral<"view">;
1792
- id: z.ZodString;
1793
- }, z.core.$strip>;
1794
- cardinality: z.ZodEnum<{
1795
- one: "one";
1796
- many: "many";
1797
- }>;
1798
- }, z.core.$strict>, z.ZodObject<{
1799
- kind: z.ZodLiteral<"panels">;
1800
- empty: z.ZodObject<{
1801
- extensionId: z.ZodString;
1802
- kind: z.ZodLiteral<"view">;
1803
- id: z.ZodString;
1804
- }, z.core.$strip>;
1805
- }, z.core.$strict>], "kind">;
1806
- slots: z.ZodArray<z.ZodObject<{
1807
- mountStrategy: z.ZodOptional<z.ZodEnum<{
1808
- active: "active";
1809
- "keep-mounted": "keep-mounted";
1810
- }>>;
1811
- hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
1812
- headerBorderBottom: z.ZodOptional<z.ZodBoolean>;
1813
- tab: z.ZodOptional<z.ZodObject<{
1814
- queryHandlerId: z.ZodString;
1815
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1816
- }, z.core.$strip>>;
1817
- id: z.ZodString;
1818
- region: z.ZodEnum<{
1819
- main: "main";
1820
- secondary: "secondary";
1821
- side: "side";
1822
- }>;
1823
- order: z.ZodOptional<z.ZodNumber>;
1824
- item: z.ZodDiscriminatedUnion<[z.ZodObject<{
1825
- kind: z.ZodLiteral<"view">;
1826
- view: z.ZodObject<{
1827
- extensionId: z.ZodString;
1828
- kind: z.ZodLiteral<"view">;
1829
- id: z.ZodString;
1830
- }, z.core.$strip>;
1831
- presence: z.ZodEnum<{
1832
- fixed: "fixed";
1833
- open: "open";
1834
- closed: "closed";
1835
- }>;
1836
- }, z.core.$strict>, z.ZodObject<{
1837
- kind: z.ZodLiteral<"binding">;
1838
- binding: z.ZodObject<{
1839
- kinds: z.ZodArray<z.ZodObject<{
1840
- extensionId: z.ZodString;
1841
- kind: z.ZodLiteral<"resource-kind">;
1842
- id: z.ZodString;
1843
- }, z.core.$strip>>;
1844
- view: z.ZodObject<{
1845
- extensionId: z.ZodString;
1846
- kind: z.ZodLiteral<"view">;
1847
- id: z.ZodString;
1848
- }, z.core.$strip>;
1849
- cardinality: z.ZodEnum<{
1850
- one: "one";
1851
- many: "many";
1852
- }>;
1853
- add: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
1854
- kind: z.ZodLiteral<"panel">;
1855
- panel: z.ZodUnion<readonly [z.ZodObject<{
1856
- extensionId: z.ZodString;
1857
- kind: z.ZodLiteral<"placement">;
1858
- id: z.ZodString;
1859
- }, z.core.$strip>, z.ZodObject<{
1860
- kind: z.ZodLiteral<"page-slot">;
1861
- page: z.ZodObject<{
1862
- extensionId: z.ZodString;
1863
- kind: z.ZodLiteral<"page">;
1864
- id: z.ZodString;
1865
- }, z.core.$strip>;
1866
- id: z.ZodString;
1867
- }, z.core.$strip>]>;
1868
- resource: z.ZodOptional<z.ZodObject<{
1869
- shorthand: z.ZodOptional<z.ZodString>;
1870
- type: z.ZodString;
1871
- id: z.ZodString;
1872
- projectId: z.ZodOptional<z.ZodString>;
1873
- label: z.ZodOptional<z.ZodString>;
1874
- icon: z.ZodOptional<z.ZodString>;
1875
- extensionId: z.ZodOptional<z.ZodString>;
1876
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1877
- }, z.core.$strip>>;
1878
- open: z.ZodOptional<z.ZodEnum<{
1879
- preview: "preview";
1880
- pin: "pin";
1881
- }>>;
1882
- }, z.core.$strip>]>, z.ZodObject<{
1883
- kind: z.ZodLiteral<"command">;
1884
- target: z.ZodObject<{
1885
- command: z.ZodObject<{
1886
- extensionId: z.ZodString;
1887
- kind: z.ZodLiteral<"command">;
1888
- id: z.ZodString;
1889
- }, z.core.$strip>;
1890
- params: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1891
- }, z.core.$strip>;
1892
- }, z.core.$strip>, z.ZodObject<{
1893
- kind: z.ZodLiteral<"href">;
1894
- href: z.ZodString;
1895
- }, z.core.$strip>, z.ZodObject<{
1896
- kind: z.ZodLiteral<"compound">;
1897
- targets: z.ZodArray<z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
1898
- kind: z.ZodLiteral<"panel">;
1899
- panel: z.ZodUnion<readonly [z.ZodObject<{
1900
- extensionId: z.ZodString;
1901
- kind: z.ZodLiteral<"placement">;
1902
- id: z.ZodString;
1903
- }, z.core.$strip>, z.ZodObject<{
1904
- kind: z.ZodLiteral<"page-slot">;
1905
- page: z.ZodObject<{
1906
- extensionId: z.ZodString;
1907
- kind: z.ZodLiteral<"page">;
1908
- id: z.ZodString;
1909
- }, z.core.$strip>;
1910
- id: z.ZodString;
1911
- }, z.core.$strip>]>;
1912
- resource: z.ZodOptional<z.ZodObject<{
1913
- shorthand: z.ZodOptional<z.ZodString>;
1914
- type: z.ZodString;
1915
- id: z.ZodString;
1916
- projectId: z.ZodOptional<z.ZodString>;
1917
- label: z.ZodOptional<z.ZodString>;
1918
- icon: z.ZodOptional<z.ZodString>;
1919
- extensionId: z.ZodOptional<z.ZodString>;
1920
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
1921
- }, z.core.$strip>>;
1922
- open: z.ZodOptional<z.ZodEnum<{
1923
- preview: "preview";
1924
- pin: "pin";
1925
- }>>;
1926
- }, z.core.$strip>]>>;
1927
- }, z.core.$strip>]>>;
1928
- }, z.core.$strict>;
1929
- }, z.core.$strict>], "kind">;
1930
- openOn: z.ZodOptional<z.ZodLiteral<"page-resource">>;
1931
- }, z.core.$strict>>;
1932
- }, z.core.$strip>>;
1933
- views: z.ZodArray<z.ZodObject<{
1934
- id: z.ZodString;
1935
- localId: z.ZodString;
1936
- extensionId: z.ZodString;
1937
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1938
- $l10n: z.ZodString;
1939
- default: z.ZodOptional<z.ZodString>;
1940
- }, z.core.$strip>]>;
1941
- icon: z.ZodOptional<z.ZodString>;
1942
- body: z.ZodDiscriminatedUnion<[z.ZodObject<{
1943
- kind: z.ZodLiteral<"webview">;
1944
- webview: z.ZodObject<{
1945
- entry: z.ZodObject<{
1946
- kind: z.ZodLiteral<"package-asset">;
1947
- path: z.ZodString;
1948
- baseUrl: z.ZodString;
1949
- }, z.core.$strip>;
1950
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1951
- $l10n: z.ZodString;
1952
- default: z.ZodOptional<z.ZodString>;
1953
- }, z.core.$strip>]>>;
1954
- capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
1955
- runtimeUrl: z.ZodString;
1956
- moduleUrl: z.ZodString;
1957
- styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1958
- }, z.core.$strip>;
1959
- }, z.core.$strip>, z.ZodObject<{
1960
- searchable: z.ZodOptional<z.ZodBoolean>;
1961
- searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1962
- $l10n: z.ZodString;
1963
- default: z.ZodOptional<z.ZodString>;
1964
- }, z.core.$strip>]>>;
1965
- defaultExpandedSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1966
- defaultExpandedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1967
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1968
- $l10n: z.ZodString;
1969
- default: z.ZodOptional<z.ZodString>;
1970
- }, z.core.$strip>]>>;
1971
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1972
- $l10n: z.ZodString;
1973
- default: z.ZodOptional<z.ZodString>;
1974
- }, z.core.$strip>]>>;
1975
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1976
- headerHandlerId: z.ZodOptional<z.ZodString>;
1977
- bodyHandlerId: z.ZodString;
1978
- childrenHandlerId: z.ZodOptional<z.ZodString>;
1979
- footerHandlerId: z.ZodOptional<z.ZodString>;
1980
- kind: z.ZodLiteral<"tree">;
1981
- }, z.core.$strip>, z.ZodObject<{
1982
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1983
- $l10n: z.ZodString;
1984
- default: z.ZodOptional<z.ZodString>;
1985
- }, z.core.$strip>]>>;
1986
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1987
- $l10n: z.ZodString;
1988
- default: z.ZodOptional<z.ZodString>;
1989
- }, z.core.$strip>]>>;
1990
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1991
- loadHandlerId: z.ZodString;
1992
- saveHandlerId: z.ZodOptional<z.ZodString>;
1993
- kind: z.ZodLiteral<"file">;
1994
- }, z.core.$strip>, z.ZodObject<{
1995
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1996
- $l10n: z.ZodString;
1997
- default: z.ZodOptional<z.ZodString>;
1998
- }, z.core.$strip>]>>;
1999
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2000
- $l10n: z.ZodString;
2001
- default: z.ZodOptional<z.ZodString>;
2002
- }, z.core.$strip>]>>;
2003
- defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
2004
- x: z.ZodNumber;
2005
- y: z.ZodNumber;
2006
- }, z.core.$strict>]>>>;
2007
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2008
- queryHandlerId: z.ZodString;
2009
- valueChangeHandlerId: z.ZodOptional<z.ZodString>;
2010
- applyHandlerId: z.ZodOptional<z.ZodString>;
2011
- resetHandlerId: z.ZodOptional<z.ZodString>;
2012
- kind: z.ZodLiteral<"controls">;
2013
- }, z.core.$strip>, z.ZodObject<{
2014
- extensionInstanceId: z.ZodOptional<z.ZodString>;
2015
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2016
- $l10n: z.ZodString;
2017
- default: z.ZodOptional<z.ZodString>;
2018
- }, z.core.$strip>]>>;
2019
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2020
- $l10n: z.ZodString;
2021
- default: z.ZodOptional<z.ZodString>;
2022
- }, z.core.$strip>]>>;
2023
- attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2024
- id: z.ZodString;
2025
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2026
- $l10n: z.ZodString;
2027
- default: z.ZodOptional<z.ZodString>;
2028
- }, z.core.$strip>]>;
2029
- type: z.ZodDiscriminatedUnion<[z.ZodObject<{
2030
- kind: z.ZodLiteral<"enum">;
2031
- options: z.ZodArray<z.ZodObject<{
2032
- value: z.ZodString;
2033
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2034
- $l10n: z.ZodString;
2035
- default: z.ZodOptional<z.ZodString>;
2036
- }, z.core.$strip>]>;
2037
- color: z.ZodOptional<z.ZodString>;
2038
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2039
- }, z.core.$strip>>;
2040
- }, z.core.$strip>, z.ZodObject<{
2041
- kind: z.ZodLiteral<"enum-multi">;
2042
- options: z.ZodArray<z.ZodObject<{
2043
- value: z.ZodString;
2044
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2045
- $l10n: z.ZodString;
2046
- default: z.ZodOptional<z.ZodString>;
2047
- }, z.core.$strip>]>;
2048
- color: z.ZodOptional<z.ZodString>;
2049
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2050
- }, z.core.$strip>>;
2051
- }, z.core.$strip>, z.ZodObject<{
2052
- kind: z.ZodLiteral<"status">;
2053
- statuses: z.ZodObject<{
2054
- extensionId: z.ZodOptional<z.ZodString>;
2055
- kind: z.ZodLiteral<"status">;
2056
- id: z.ZodString;
2057
- }, z.core.$strip>;
2058
- }, z.core.$strip>, z.ZodObject<{
2059
- kind: z.ZodLiteral<"string">;
2060
- }, z.core.$strip>, z.ZodObject<{
2061
- kind: z.ZodLiteral<"date">;
2062
- }, z.core.$strip>, z.ZodObject<{
2063
- kind: z.ZodLiteral<"number">;
2064
- }, z.core.$strip>, z.ZodObject<{
2065
- kind: z.ZodLiteral<"user">;
2066
- }, z.core.$strip>], "kind">;
2067
- filterable: z.ZodOptional<z.ZodBoolean>;
2068
- groupable: z.ZodOptional<z.ZodBoolean>;
2069
- sortable: z.ZodOptional<z.ZodBoolean>;
2070
- displayable: z.ZodOptional<z.ZodBoolean>;
2071
- editable: z.ZodOptional<z.ZodBoolean>;
2072
- display: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2073
- kind: z.ZodLiteral<"badge-list">;
2074
- itemsAttributeId: z.ZodString;
2075
- }, z.core.$strip>, z.ZodObject<{
2076
- kind: z.ZodString;
2077
- }, z.core.$loose>]>>;
2078
- }, z.core.$strip>>>;
2079
- defaultSettings: z.ZodOptional<z.ZodObject<{
2080
- viewMode: z.ZodOptional<z.ZodEnum<{
2081
- list: "list";
2082
- board: "board";
2083
- }>>;
2084
- columnGrouping: z.ZodOptional<z.ZodString>;
2085
- rowGrouping: z.ZodOptional<z.ZodString>;
2086
- ordering: z.ZodOptional<z.ZodObject<{
2087
- attributeId: z.ZodString;
2088
- direction: z.ZodEnum<{
2089
- asc: "asc";
2090
- desc: "desc";
2091
- }>;
2092
- }, z.core.$strip>>;
2093
- displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
2094
- }, z.core.$strip>>;
2095
- defaultFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
2096
- defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
2097
- id: z.ZodString;
2098
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2099
- $l10n: z.ZodString;
2100
- default: z.ZodOptional<z.ZodString>;
2101
- }, z.core.$strip>]>;
2102
- settings: z.ZodObject<{
2103
- viewMode: z.ZodEnum<{
2104
- list: "list";
2105
- board: "board";
2106
- }>;
2107
- columnGrouping: z.ZodString;
2108
- rowGrouping: z.ZodString;
2109
- ordering: z.ZodObject<{
2110
- attributeId: z.ZodString;
2111
- direction: z.ZodEnum<{
2112
- asc: "asc";
2113
- desc: "desc";
2114
- }>;
2115
- }, z.core.$strip>;
2116
- displayProperties: z.ZodArray<z.ZodString>;
2117
- }, z.core.$strip>;
2118
- filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
2119
- isDefault: z.ZodOptional<z.ZodBoolean>;
2120
- }, z.core.$strip>>>;
2121
- defaultActiveViewId: z.ZodOptional<z.ZodString>;
2122
- hideToolbar: z.ZodOptional<z.ZodBoolean>;
2123
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2124
- queryHandlerId: z.ZodString;
2125
- rowActivationHandlerId: z.ZodOptional<z.ZodString>;
2126
- attributeChangeHandlerId: z.ZodOptional<z.ZodString>;
2127
- reorderHandlerId: z.ZodOptional<z.ZodString>;
2128
- columnActionHandlerId: z.ZodOptional<z.ZodString>;
2129
- kind: z.ZodLiteral<"kanban">;
2130
- createRow: z.ZodOptional<z.ZodObject<{
2131
- command: z.ZodObject<{
2132
- extensionId: z.ZodString;
2133
- kind: z.ZodLiteral<"command">;
2134
- id: z.ZodString;
2135
- }, z.core.$strip>;
2136
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2137
- $l10n: z.ZodString;
2138
- default: z.ZodOptional<z.ZodString>;
2139
- }, z.core.$strip>]>>;
2140
- submitLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2141
- $l10n: z.ZodString;
2142
- default: z.ZodOptional<z.ZodString>;
2143
- }, z.core.$strip>]>>;
2144
- columnParam: z.ZodOptional<z.ZodString>;
2145
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2146
- attributesParam: z.ZodOptional<z.ZodString>;
2147
- attachments: z.ZodOptional<z.ZodObject<{
2148
- command: z.ZodObject<{
2149
- extensionId: z.ZodString;
2150
- kind: z.ZodLiteral<"command">;
2151
- id: z.ZodString;
2152
- }, z.core.$strip>;
2153
- resourceParam: z.ZodString;
2154
- fileParam: z.ZodString;
2155
- }, z.core.$strip>>;
2156
- labels: z.ZodOptional<z.ZodObject<{
2157
- cancel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2158
- $l10n: z.ZodString;
2159
- default: z.ZodOptional<z.ZodString>;
2160
- }, z.core.$strip>]>>;
2161
- properties: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2162
- $l10n: z.ZodString;
2163
- default: z.ZodOptional<z.ZodString>;
2164
- }, z.core.$strip>]>>;
2165
- submitError: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2166
- $l10n: z.ZodString;
2167
- default: z.ZodOptional<z.ZodString>;
2168
- }, z.core.$strip>]>>;
2169
- removeFile: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2170
- $l10n: z.ZodString;
2171
- default: z.ZodOptional<z.ZodString>;
2172
- }, z.core.$strip>]>>;
2173
- }, z.core.$strip>>;
2174
- }, z.core.$strip>>;
2175
- rowActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2176
- id: z.ZodString;
2177
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2178
- $l10n: z.ZodString;
2179
- default: z.ZodOptional<z.ZodString>;
2180
- }, z.core.$strip>]>;
2181
- icon: z.ZodOptional<z.ZodString>;
2182
- destructive: z.ZodOptional<z.ZodBoolean>;
2183
- command: z.ZodObject<{
2184
- extensionId: z.ZodString;
2185
- kind: z.ZodLiteral<"command">;
2186
- id: z.ZodString;
2187
- }, z.core.$strip>;
2188
- }, z.core.$strip>>>;
2189
- }, z.core.$strip>, z.ZodObject<{
2190
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2191
- $l10n: z.ZodString;
2192
- default: z.ZodOptional<z.ZodString>;
2193
- }, z.core.$strip>]>>;
2194
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2195
- $l10n: z.ZodString;
2196
- default: z.ZodOptional<z.ZodString>;
2197
- }, z.core.$strip>]>>;
2198
- columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
2199
- id: z.ZodString;
2200
- label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2201
- $l10n: z.ZodString;
2202
- default: z.ZodOptional<z.ZodString>;
2203
- }, z.core.$strip>]>>;
2204
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2205
- $l10n: z.ZodString;
2206
- default: z.ZodOptional<z.ZodString>;
2207
- }, z.core.$strip>]>>;
2208
- icon: z.ZodOptional<z.ZodString>;
2209
- hidden: z.ZodOptional<z.ZodBoolean>;
2210
- stat: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2211
- type: z.ZodLiteral<"unique">;
2212
- }, z.core.$strip>, z.ZodObject<{
2213
- type: z.ZodLiteral<"histogram">;
2214
- bins: z.ZodOptional<z.ZodNumber>;
2215
- }, z.core.$strip>, z.ZodObject<{
2216
- type: z.ZodLiteral<"top-values">;
2217
- limit: z.ZodOptional<z.ZodNumber>;
2218
- }, z.core.$strip>], "type">>;
2219
- renderer: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2220
- type: z.ZodLiteral<"json">;
2221
- }, z.core.$strip>, z.ZodObject<{
2222
- type: z.ZodLiteral<"color-scale">;
2223
- stops: z.ZodArray<z.ZodObject<{
2224
- value: z.ZodNumber;
2225
- color: z.ZodObject<{
2226
- light: z.ZodString;
2227
- dark: z.ZodString;
2228
- foreground: z.ZodOptional<z.ZodObject<{
2229
- light: z.ZodString;
2230
- dark: z.ZodString;
2231
- }, z.core.$strip>>;
2232
- }, z.core.$strip>;
2233
- }, z.core.$strip>>;
2234
- }, z.core.$strip>, z.ZodObject<{
2235
- type: z.ZodLiteral<"categorical-color">;
2236
- categories: z.ZodArray<z.ZodObject<{
2237
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2238
- color: z.ZodObject<{
2239
- light: z.ZodString;
2240
- dark: z.ZodString;
2241
- foreground: z.ZodOptional<z.ZodObject<{
2242
- light: z.ZodString;
2243
- dark: z.ZodString;
2244
- }, z.core.$strip>>;
2245
- }, z.core.$strip>;
2246
- }, z.core.$strip>>;
2247
- }, z.core.$strip>], "type">>;
2248
- }, z.core.$strip>>>;
2249
- selectionMode: z.ZodOptional<z.ZodEnum<{
2250
- multiple: "multiple";
2251
- none: "none";
2252
- }>>;
2253
- initialPageSize: z.ZodOptional<z.ZodNumber>;
2254
- pageSizeOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2255
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2256
- queryHandlerId: z.ZodString;
2257
- rowActivationHandlerId: z.ZodOptional<z.ZodString>;
2258
- kind: z.ZodLiteral<"dataTable">;
2259
- selectionActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2260
- id: z.ZodString;
2261
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2262
- $l10n: z.ZodString;
2263
- default: z.ZodOptional<z.ZodString>;
2264
- }, z.core.$strip>]>;
2265
- icon: z.ZodOptional<z.ZodString>;
2266
- destructive: z.ZodOptional<z.ZodBoolean>;
2267
- command: z.ZodObject<{
2268
- extensionId: z.ZodString;
2269
- kind: z.ZodLiteral<"command">;
2270
- id: z.ZodString;
2271
- }, z.core.$strip>;
2272
- }, z.core.$strip>>>;
2273
- rowActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2274
- id: z.ZodString;
2275
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2276
- $l10n: z.ZodString;
2277
- default: z.ZodOptional<z.ZodString>;
2278
- }, z.core.$strip>]>;
2279
- icon: z.ZodOptional<z.ZodString>;
2280
- destructive: z.ZodOptional<z.ZodBoolean>;
2281
- command: z.ZodObject<{
2282
- extensionId: z.ZodString;
2283
- kind: z.ZodLiteral<"command">;
2284
- id: z.ZodString;
2285
- }, z.core.$strip>;
2286
- }, z.core.$strip>>>;
2287
- }, z.core.$strip>], "kind">;
2288
- }, z.core.$strip>>;
2289
- viewMenus: z.ZodArray<z.ZodObject<{
2290
- id: z.ZodString;
2291
- extensionId: z.ZodString;
2292
- owner: z.ZodObject<{
2293
- extensionId: z.ZodString;
2294
- kind: z.ZodLiteral<"view">;
2295
- id: z.ZodString;
2296
- }, z.core.$strip>;
2297
- view: z.ZodObject<{
2298
- extensionId: z.ZodString;
2299
- kind: z.ZodLiteral<"view">;
2300
- id: z.ZodString;
2301
- }, z.core.$strip>;
2302
- side: z.ZodEnum<{
2303
- left: "left";
2304
- right: "right";
2305
- }>;
2306
- group: z.ZodOptional<z.ZodString>;
2307
- placement: z.ZodOptional<z.ZodEnum<{
2308
- default: "default";
2309
- first: "first";
2310
- last: "last";
2311
- }>>;
2312
- hostTreeHeader: z.ZodOptional<z.ZodEnum<{
2313
- default: "default";
2314
- none: "none";
2315
- }>>;
2316
- hostTreeFooter: z.ZodOptional<z.ZodEnum<{
2317
- default: "default";
2318
- none: "none";
2319
- }>>;
2320
- }, z.core.$strip>>;
2321
- placements: z.ZodArray<z.ZodObject<{
2322
- mountStrategy: z.ZodOptional<z.ZodEnum<{
2323
- active: "active";
2324
- "keep-mounted": "keep-mounted";
2325
- }>>;
2326
- hiddenByDefault: z.ZodOptional<z.ZodBoolean>;
2327
- headerBorderBottom: z.ZodOptional<z.ZodBoolean>;
2328
- tab: z.ZodOptional<z.ZodObject<{
2329
- queryHandlerId: z.ZodString;
2330
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2331
- }, z.core.$strip>>;
2332
- id: z.ZodString;
2333
- localId: z.ZodString;
2334
- extensionId: z.ZodString;
2335
- mode: z.ZodObject<{
2336
- extensionId: z.ZodString;
2337
- kind: z.ZodLiteral<"mode">;
2338
- id: z.ZodString;
2339
- }, z.core.$strip>;
2340
- item: z.ZodDiscriminatedUnion<[z.ZodObject<{
2341
- kind: z.ZodLiteral<"view">;
2342
- view: z.ZodObject<{
2343
- extensionId: z.ZodString;
2344
- kind: z.ZodLiteral<"view">;
2345
- id: z.ZodString;
2346
- }, z.core.$strip>;
2347
- presence: z.ZodEnum<{
2348
- fixed: "fixed";
2349
- open: "open";
2350
- closed: "closed";
2351
- }>;
2352
- }, z.core.$strict>, z.ZodObject<{
2353
- kind: z.ZodLiteral<"binding">;
2354
- binding: z.ZodObject<{
2355
- kinds: z.ZodArray<z.ZodObject<{
2356
- extensionId: z.ZodString;
2357
- kind: z.ZodLiteral<"resource-kind">;
2358
- id: z.ZodString;
2359
- }, z.core.$strip>>;
2360
- view: z.ZodObject<{
2361
- extensionId: z.ZodString;
2362
- kind: z.ZodLiteral<"view">;
2363
- id: z.ZodString;
2364
- }, z.core.$strip>;
2365
- cardinality: z.ZodEnum<{
2366
- one: "one";
2367
- many: "many";
2368
- }>;
2369
- add: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
2370
- kind: z.ZodLiteral<"panel">;
2371
- panel: z.ZodUnion<readonly [z.ZodObject<{
2372
- extensionId: z.ZodString;
2373
- kind: z.ZodLiteral<"placement">;
2374
- id: z.ZodString;
2375
- }, z.core.$strip>, z.ZodObject<{
2376
- kind: z.ZodLiteral<"page-slot">;
2377
- page: z.ZodObject<{
2378
- extensionId: z.ZodString;
2379
- kind: z.ZodLiteral<"page">;
2380
- id: z.ZodString;
2381
- }, z.core.$strip>;
2382
- id: z.ZodString;
2383
- }, z.core.$strip>]>;
2384
- resource: z.ZodOptional<z.ZodObject<{
2385
- shorthand: z.ZodOptional<z.ZodString>;
2386
- type: z.ZodString;
2387
- id: z.ZodString;
2388
- projectId: z.ZodOptional<z.ZodString>;
2389
- label: z.ZodOptional<z.ZodString>;
2390
- icon: z.ZodOptional<z.ZodString>;
2391
- extensionId: z.ZodOptional<z.ZodString>;
2392
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2393
- }, z.core.$strip>>;
2394
- open: z.ZodOptional<z.ZodEnum<{
2395
- preview: "preview";
2396
- pin: "pin";
2397
- }>>;
2398
- }, z.core.$strip>]>, z.ZodObject<{
2399
- kind: z.ZodLiteral<"command">;
2400
- target: z.ZodObject<{
2401
- command: z.ZodObject<{
2402
- extensionId: z.ZodString;
2403
- kind: z.ZodLiteral<"command">;
2404
- id: z.ZodString;
2405
- }, z.core.$strip>;
2406
- params: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2407
- }, z.core.$strip>;
2408
- }, z.core.$strip>, z.ZodObject<{
2409
- kind: z.ZodLiteral<"href">;
2410
- href: z.ZodString;
2411
- }, z.core.$strip>, z.ZodObject<{
2412
- kind: z.ZodLiteral<"compound">;
2413
- targets: z.ZodArray<z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
2414
- kind: z.ZodLiteral<"panel">;
2415
- panel: z.ZodUnion<readonly [z.ZodObject<{
2416
- extensionId: z.ZodString;
2417
- kind: z.ZodLiteral<"placement">;
2418
- id: z.ZodString;
2419
- }, z.core.$strip>, z.ZodObject<{
2420
- kind: z.ZodLiteral<"page-slot">;
2421
- page: z.ZodObject<{
2422
- extensionId: z.ZodString;
2423
- kind: z.ZodLiteral<"page">;
2424
- id: z.ZodString;
2425
- }, z.core.$strip>;
2426
- id: z.ZodString;
2427
- }, z.core.$strip>]>;
2428
- resource: z.ZodOptional<z.ZodObject<{
2429
- shorthand: z.ZodOptional<z.ZodString>;
2430
- type: z.ZodString;
2431
- id: z.ZodString;
2432
- projectId: z.ZodOptional<z.ZodString>;
2433
- label: z.ZodOptional<z.ZodString>;
2434
- icon: z.ZodOptional<z.ZodString>;
2435
- extensionId: z.ZodOptional<z.ZodString>;
2436
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2437
- }, z.core.$strip>>;
2438
- open: z.ZodOptional<z.ZodEnum<{
2439
- preview: "preview";
2440
- pin: "pin";
2441
- }>>;
2442
- }, z.core.$strip>]>>;
2443
- }, z.core.$strip>]>>;
2444
- }, z.core.$strict>;
2445
- }, z.core.$strict>], "kind">;
2446
- region: z.ZodEnum<{
2447
- main: "main";
2448
- secondary: "secondary";
2449
- side: "side";
2450
- }>;
2451
- order: z.ZodOptional<z.ZodNumber>;
2452
- movableTo: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2453
- main: "main";
2454
- secondary: "secondary";
2455
- side: "side";
2456
- }>>>;
2457
- }, z.core.$strip>>;
2458
- resourceKinds: z.ZodArray<z.ZodObject<{
2459
- id: z.ZodString;
2460
- localId: z.ZodString;
2461
- extensionId: z.ZodString;
2462
- label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2463
- $l10n: z.ZodString;
2464
- default: z.ZodOptional<z.ZodString>;
2465
- }, z.core.$strip>]>>;
2466
- icon: z.ZodOptional<z.ZodString>;
2467
- menuSlots: z.ZodOptional<z.ZodArray<z.ZodObject<{
2468
- id: z.ZodString;
2469
- placement: z.ZodEnum<{
2470
- "header-primary": "header-primary";
2471
- "header-overflow": "header-overflow";
2472
- "context-menu": "context-menu";
2473
- }>;
2474
- label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2475
- $l10n: z.ZodString;
2476
- default: z.ZodOptional<z.ZodString>;
2477
- }, z.core.$strip>]>>;
2478
- access: z.ZodEnum<{
2479
- owner: "owner";
2480
- public: "public";
2481
- }>;
2482
- order: z.ZodOptional<z.ZodNumber>;
2483
- }, z.core.$strip>>>;
2484
- }, z.core.$strip>>;
2485
- resourceHierarchyProviders: z.ZodOptional<z.ZodArray<z.ZodObject<{
2486
- id: z.ZodString;
2487
- extensionId: z.ZodString;
2488
- resourceKind: z.ZodObject<{
2489
- extensionId: z.ZodString;
2490
- kind: z.ZodLiteral<"resource-kind">;
2491
- id: z.ZodString;
2492
- }, z.core.$strip>;
2493
- }, z.core.$strip>>>;
2494
- navigationItems: z.ZodArray<z.ZodObject<{
2495
- id: z.ZodString;
2496
- extensionId: z.ZodString;
2497
- owner: z.ZodUnion<readonly [z.ZodObject<{
2498
- extensionId: z.ZodString;
2499
- kind: z.ZodLiteral<"mode">;
2500
- id: z.ZodString;
2501
- }, z.core.$strip>, z.ZodObject<{
2502
- extensionId: z.ZodString;
2503
- kind: z.ZodLiteral<"page">;
2504
- id: z.ZodString;
2505
- }, z.core.$strip>]>;
2506
- slot: z.ZodEnum<{
2507
- header: "header";
2508
- footer: "footer";
2509
- content: "content";
2510
- }>;
2511
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2512
- $l10n: z.ZodString;
2513
- default: z.ZodOptional<z.ZodString>;
2514
- }, z.core.$strip>]>;
2515
- icon: z.ZodOptional<z.ZodString>;
2516
- group: z.ZodOptional<z.ZodString>;
2517
- when: z.ZodOptional<z.ZodObject<{
2518
- mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2519
- extensionId: z.ZodString;
2520
- kind: z.ZodLiteral<"mode">;
2521
- id: z.ZodString;
2522
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2523
- extensionId: z.ZodString;
2524
- kind: z.ZodLiteral<"mode">;
2525
- id: z.ZodString;
2526
- }, z.core.$strip>>]>>;
2527
- source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2528
- api: "api";
2529
- cli: "cli";
2530
- dashboard: "dashboard";
2531
- schedule: "schedule";
2532
- event: "event";
2533
- automation: "automation";
2534
- "command-panel": "command-panel";
2535
- }>>>;
2536
- view: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2537
- extensionId: z.ZodString;
2538
- kind: z.ZodLiteral<"view">;
2539
- id: z.ZodString;
2540
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2541
- extensionId: z.ZodString;
2542
- kind: z.ZodLiteral<"view">;
2543
- id: z.ZodString;
2544
- }, z.core.$strip>>]>>;
2545
- resourceType: z.ZodOptional<z.ZodArray<z.ZodObject<{
2546
- extensionId: z.ZodString;
2547
- kind: z.ZodLiteral<"resource-kind">;
2548
- id: z.ZodString;
2549
- }, z.core.$strip>>>;
2550
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2551
- }, z.core.$strip>>;
2552
- action: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
2553
- kind: z.ZodLiteral<"panel">;
2554
- panel: z.ZodUnion<readonly [z.ZodObject<{
2555
- extensionId: z.ZodString;
2556
- kind: z.ZodLiteral<"placement">;
2557
- id: z.ZodString;
2558
- }, z.core.$strip>, z.ZodObject<{
2559
- kind: z.ZodLiteral<"page-slot">;
2560
- page: z.ZodObject<{
2561
- extensionId: z.ZodString;
2562
- kind: z.ZodLiteral<"page">;
2563
- id: z.ZodString;
2564
- }, z.core.$strip>;
2565
- id: z.ZodString;
2566
- }, z.core.$strip>]>;
2567
- resource: z.ZodOptional<z.ZodObject<{
2568
- shorthand: z.ZodOptional<z.ZodString>;
2569
- type: z.ZodString;
2570
- id: z.ZodString;
2571
- projectId: z.ZodOptional<z.ZodString>;
2572
- label: z.ZodOptional<z.ZodString>;
2573
- icon: z.ZodOptional<z.ZodString>;
2574
- extensionId: z.ZodOptional<z.ZodString>;
2575
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2576
- }, z.core.$strip>>;
2577
- open: z.ZodOptional<z.ZodEnum<{
2578
- preview: "preview";
2579
- pin: "pin";
2580
- }>>;
2581
- }, z.core.$strip>]>, z.ZodObject<{
2582
- kind: z.ZodLiteral<"command">;
2583
- target: z.ZodObject<{
2584
- command: z.ZodObject<{
2585
- extensionId: z.ZodString;
2586
- kind: z.ZodLiteral<"command">;
2587
- id: z.ZodString;
2588
- }, z.core.$strip>;
2589
- params: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2590
- }, z.core.$strip>;
2591
- }, z.core.$strip>, z.ZodObject<{
2592
- kind: z.ZodLiteral<"href">;
2593
- href: z.ZodString;
2594
- }, z.core.$strip>, z.ZodObject<{
2595
- kind: z.ZodLiteral<"compound">;
2596
- targets: z.ZodArray<z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
2597
- kind: z.ZodLiteral<"panel">;
2598
- panel: z.ZodUnion<readonly [z.ZodObject<{
2599
- extensionId: z.ZodString;
2600
- kind: z.ZodLiteral<"placement">;
2601
- id: z.ZodString;
2602
- }, z.core.$strip>, z.ZodObject<{
2603
- kind: z.ZodLiteral<"page-slot">;
2604
- page: z.ZodObject<{
2605
- extensionId: z.ZodString;
2606
- kind: z.ZodLiteral<"page">;
2607
- id: z.ZodString;
2608
- }, z.core.$strip>;
2609
- id: z.ZodString;
2610
- }, z.core.$strip>]>;
2611
- resource: z.ZodOptional<z.ZodObject<{
2612
- shorthand: z.ZodOptional<z.ZodString>;
2613
- type: z.ZodString;
2614
- id: z.ZodString;
2615
- projectId: z.ZodOptional<z.ZodString>;
2616
- label: z.ZodOptional<z.ZodString>;
2617
- icon: z.ZodOptional<z.ZodString>;
2618
- extensionId: z.ZodOptional<z.ZodString>;
2619
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2620
- }, z.core.$strip>>;
2621
- open: z.ZodOptional<z.ZodEnum<{
2622
- preview: "preview";
2623
- pin: "pin";
2624
- }>>;
2625
- }, z.core.$strip>]>>;
2626
- }, z.core.$strip>]>;
2627
- }, z.core.$strip>>;
2628
- navigationTrees: z.ZodArray<z.ZodObject<{
2629
- id: z.ZodString;
2630
- extensionId: z.ZodString;
2631
- owner: z.ZodUnion<readonly [z.ZodObject<{
2632
- extensionId: z.ZodString;
2633
- kind: z.ZodLiteral<"mode">;
2634
- id: z.ZodString;
2635
- }, z.core.$strip>, z.ZodObject<{
2636
- extensionId: z.ZodString;
2637
- kind: z.ZodLiteral<"page">;
2638
- id: z.ZodString;
2639
- }, z.core.$strip>]>;
2640
- slot: z.ZodEnum<{
2641
- header: "header";
2642
- footer: "footer";
2643
- content: "content";
2644
- }>;
2645
- view: z.ZodObject<{
2646
- extensionId: z.ZodString;
2647
- kind: z.ZodLiteral<"view">;
2648
- id: z.ZodString;
2649
- }, z.core.$strip>;
2650
- }, z.core.$strip>>;
2651
- statusBarItems: z.ZodArray<z.ZodObject<{
2652
- id: z.ZodString;
2653
- extensionId: z.ZodString;
2654
- view: z.ZodObject<{
2655
- extensionId: z.ZodString;
2656
- kind: z.ZodLiteral<"view">;
2657
- id: z.ZodString;
2658
- }, z.core.$strip>;
2659
- slot: z.ZodObject<{
2660
- id: z.ZodString;
2661
- }, z.core.$strip>;
2662
- order: z.ZodOptional<z.ZodNumber>;
2663
- when: z.ZodOptional<z.ZodObject<{
2664
- mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2665
- extensionId: z.ZodString;
2666
- kind: z.ZodLiteral<"mode">;
2667
- id: z.ZodString;
2668
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2669
- extensionId: z.ZodString;
2670
- kind: z.ZodLiteral<"mode">;
2671
- id: z.ZodString;
2672
- }, z.core.$strip>>]>>;
2673
- source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2674
- api: "api";
2675
- cli: "cli";
2676
- dashboard: "dashboard";
2677
- schedule: "schedule";
2678
- event: "event";
2679
- automation: "automation";
2680
- "command-panel": "command-panel";
2681
- }>>>;
2682
- view: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2683
- extensionId: z.ZodString;
2684
- kind: z.ZodLiteral<"view">;
2685
- id: z.ZodString;
2686
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2687
- extensionId: z.ZodString;
2688
- kind: z.ZodLiteral<"view">;
2689
- id: z.ZodString;
2690
- }, z.core.$strip>>]>>;
2691
- resourceType: z.ZodOptional<z.ZodArray<z.ZodObject<{
2692
- extensionId: z.ZodString;
2693
- kind: z.ZodLiteral<"resource-kind">;
2694
- id: z.ZodString;
2695
- }, z.core.$strip>>>;
2696
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2697
- }, z.core.$strip>>;
2698
- }, z.core.$strip>>;
2699
- statuses: z.ZodArray<z.ZodObject<{
2700
- id: z.ZodString;
2701
- localId: z.ZodString;
2702
- extensionId: z.ZodString;
2703
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2704
- $l10n: z.ZodString;
2705
- default: z.ZodOptional<z.ZodString>;
2706
- }, z.core.$strip>]>;
2707
- actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2708
- id: z.ZodString;
2709
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2710
- $l10n: z.ZodString;
2711
- default: z.ZodOptional<z.ZodString>;
2712
- }, z.core.$strip>]>;
2713
- icon: z.ZodOptional<z.ZodString>;
2714
- }, z.core.$strip>>>;
2715
- queryHandlerId: z.ZodString;
2716
- saveHandlerId: z.ZodOptional<z.ZodString>;
2717
- }, z.core.$strip>>;
2718
- activityItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2719
- id: z.ZodString;
2720
- extensionId: z.ZodString;
2721
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2722
- $l10n: z.ZodString;
2723
- default: z.ZodOptional<z.ZodString>;
2724
- }, z.core.$strip>]>;
2725
- icon: z.ZodString;
2726
- modes: z.ZodArray<z.ZodObject<{
2727
- extensionId: z.ZodString;
2728
- kind: z.ZodLiteral<"mode">;
2729
- id: z.ZodString;
2730
- }, z.core.$strip>>;
2731
- placement: z.ZodOptional<z.ZodEnum<{
2732
- default: "default";
2733
- first: "first";
2734
- last: "last";
2735
- }>>;
2736
- command: z.ZodObject<{
2737
- extensionId: z.ZodString;
2738
- kind: z.ZodLiteral<"command">;
2739
- id: z.ZodString;
2740
- }, z.core.$strip>;
2741
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2742
- }, z.core.$strip>>>;
2743
- settingsSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
2744
- id: z.ZodString;
2745
- extensionId: z.ZodString;
2746
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2747
- $l10n: z.ZodString;
2748
- default: z.ZodOptional<z.ZodString>;
2749
- }, z.core.$strip>]>;
2750
- scope: z.ZodOptional<z.ZodEnum<{
2751
- global: "global";
2752
- project: "project";
2753
- }>>;
2754
- order: z.ZodOptional<z.ZodNumber>;
2755
- }, z.core.$strip>>>;
2756
- settingsPanels: z.ZodArray<z.ZodObject<{
2757
- id: z.ZodString;
2758
- extensionId: z.ZodString;
2759
- view: z.ZodObject<{
2760
- extensionId: z.ZodString;
2761
- kind: z.ZodLiteral<"view">;
2762
- id: z.ZodString;
2763
- }, z.core.$strip>;
2764
- slot: z.ZodObject<{
2765
- id: z.ZodString;
2766
- }, z.core.$strip>;
2767
- section: z.ZodOptional<z.ZodObject<{
2768
- extensionId: z.ZodString;
2769
- kind: z.ZodLiteral<"settings-section">;
2770
- id: z.ZodString;
2771
- }, z.core.$strip>>;
2772
- }, z.core.$strip>>;
2773
- commandPaletteResources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2774
- id: z.ZodString;
2775
- extensionId: z.ZodString;
2776
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2777
- $l10n: z.ZodString;
2778
- default: z.ZodOptional<z.ZodString>;
2779
- }, z.core.$strip>]>;
2780
- resourceKind: z.ZodOptional<z.ZodString>;
2781
- queryHandlerId: z.ZodString;
2782
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2783
- }, z.core.$strip>>>;
2784
- keybindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2785
- id: z.ZodString;
2786
- extensionId: z.ZodString;
2787
- action: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
2788
- kind: z.ZodLiteral<"panel">;
2789
- panel: z.ZodUnion<readonly [z.ZodObject<{
2790
- extensionId: z.ZodString;
2791
- kind: z.ZodLiteral<"placement">;
2792
- id: z.ZodString;
2793
- }, z.core.$strip>, z.ZodObject<{
2794
- kind: z.ZodLiteral<"page-slot">;
2795
- page: z.ZodObject<{
2796
- extensionId: z.ZodString;
2797
- kind: z.ZodLiteral<"page">;
2798
- id: z.ZodString;
2799
- }, z.core.$strip>;
2800
- id: z.ZodString;
2801
- }, z.core.$strip>]>;
2802
- resource: z.ZodOptional<z.ZodObject<{
2803
- shorthand: z.ZodOptional<z.ZodString>;
2804
- type: z.ZodString;
2805
- id: z.ZodString;
2806
- projectId: z.ZodOptional<z.ZodString>;
2807
- label: z.ZodOptional<z.ZodString>;
2808
- icon: z.ZodOptional<z.ZodString>;
2809
- extensionId: z.ZodOptional<z.ZodString>;
2810
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2811
- }, z.core.$strip>>;
2812
- open: z.ZodOptional<z.ZodEnum<{
2813
- preview: "preview";
2814
- pin: "pin";
2815
- }>>;
2816
- }, z.core.$strip>]>, z.ZodObject<{
2817
- kind: z.ZodLiteral<"command">;
2818
- target: z.ZodObject<{
2819
- command: z.ZodObject<{
2820
- extensionId: z.ZodString;
2821
- kind: z.ZodLiteral<"command">;
2822
- id: z.ZodString;
2823
- }, z.core.$strip>;
2824
- params: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2825
- }, z.core.$strip>;
2826
- }, z.core.$strip>, z.ZodObject<{
2827
- kind: z.ZodLiteral<"href">;
2828
- href: z.ZodString;
2829
- }, z.core.$strip>, z.ZodObject<{
2830
- kind: z.ZodLiteral<"compound">;
2831
- targets: z.ZodArray<z.ZodUnion<readonly [z.ZodType<MetadataPageTarget, unknown, z.core.$ZodTypeInternals<MetadataPageTarget, unknown>>, z.ZodObject<{
2832
- kind: z.ZodLiteral<"panel">;
2833
- panel: z.ZodUnion<readonly [z.ZodObject<{
2834
- extensionId: z.ZodString;
2835
- kind: z.ZodLiteral<"placement">;
2836
- id: z.ZodString;
2837
- }, z.core.$strip>, z.ZodObject<{
2838
- kind: z.ZodLiteral<"page-slot">;
2839
- page: z.ZodObject<{
2840
- extensionId: z.ZodString;
2841
- kind: z.ZodLiteral<"page">;
2842
- id: z.ZodString;
2843
- }, z.core.$strip>;
2844
- id: z.ZodString;
2845
- }, z.core.$strip>]>;
2846
- resource: z.ZodOptional<z.ZodObject<{
2847
- shorthand: z.ZodOptional<z.ZodString>;
2848
- type: z.ZodString;
2849
- id: z.ZodString;
2850
- projectId: z.ZodOptional<z.ZodString>;
2851
- label: z.ZodOptional<z.ZodString>;
2852
- icon: z.ZodOptional<z.ZodString>;
2853
- extensionId: z.ZodOptional<z.ZodString>;
2854
- metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2855
- }, z.core.$strip>>;
2856
- open: z.ZodOptional<z.ZodEnum<{
2857
- preview: "preview";
2858
- pin: "pin";
2859
- }>>;
2860
- }, z.core.$strip>]>>;
2861
- }, z.core.$strip>]>;
2862
- key: z.ZodString;
2863
- canonicalChord: z.ZodString;
2864
- parsed: z.ZodObject<{
2865
- key: z.ZodString;
2866
- ctrl: z.ZodBoolean;
2867
- shift: z.ZodBoolean;
2868
- alt: z.ZodBoolean;
2869
- meta: z.ZodBoolean;
2870
- modifiers: z.ZodArray<z.ZodString>;
2871
- }, z.core.$strip>;
2872
- platformOverrides: z.ZodOptional<z.ZodObject<{
2873
- mac: z.ZodOptional<z.ZodString>;
2874
- linux: z.ZodOptional<z.ZodString>;
2875
- win: z.ZodOptional<z.ZodString>;
2876
- }, z.core.$strip>>;
2877
- when: z.ZodOptional<z.ZodObject<{
2878
- mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2879
- source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2880
- api: "api";
2881
- cli: "cli";
2882
- dashboard: "dashboard";
2883
- schedule: "schedule";
2884
- event: "event";
2885
- automation: "automation";
2886
- "command-panel": "command-panel";
2887
- }>>>;
2888
- viewId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2889
- resourceType: z.ZodOptional<z.ZodArray<z.ZodString>>;
2890
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2891
- }, z.core.$strip>>;
2892
- }, z.core.$strip>>>;
2893
- settingsDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2894
- key: z.ZodString;
2895
- extensionId: z.ZodString;
2896
- type: z.ZodEnum<{
2897
- string: "string";
2898
- number: "number";
2899
- boolean: "boolean";
2900
- object: "object";
2901
- array: "array";
2902
- }>;
2903
- scope: z.ZodEnum<{
2904
- global: "global";
2905
- project: "project";
2906
- }>;
2907
- default: z.ZodOptional<z.ZodUnknown>;
2908
- enum: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
2909
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2910
- $l10n: z.ZodString;
2911
- default: z.ZodOptional<z.ZodString>;
2912
- }, z.core.$strip>]>>;
2913
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2914
- $l10n: z.ZodString;
2915
- default: z.ZodOptional<z.ZodString>;
2916
- }, z.core.$strip>]>>;
2917
- }, z.core.$strip>>>;
2918
- automations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2919
- id: z.ZodString;
2920
- localId: z.ZodString;
2921
- extensionId: z.ZodString;
2922
- extensionInstanceId: z.ZodOptional<z.ZodString>;
2923
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2924
- $l10n: z.ZodString;
2925
- default: z.ZodOptional<z.ZodString>;
2926
- }, z.core.$strip>]>;
2927
- cron: z.ZodString;
2928
- commandId: z.ZodString;
2929
- enabled: z.ZodBoolean;
2930
- }, z.core.$strip>>>;
2931
- connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
2932
- id: z.ZodString;
2933
- localId: z.ZodString;
2934
- extensionId: z.ZodString;
2935
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2936
- $l10n: z.ZodString;
2937
- default: z.ZodOptional<z.ZodString>;
2938
- }, z.core.$strip>]>;
2939
- authType: z.ZodEnum<{
2940
- header: "header";
2941
- bearer: "bearer";
2942
- }>;
2943
- supportsCheck: z.ZodBoolean;
2944
- }, z.core.$strip>>>;
2945
- harnesses: z.ZodOptional<z.ZodArray<z.ZodObject<{
2946
- id: z.ZodString;
2947
- localId: z.ZodString;
2948
- extensionId: z.ZodString;
2949
- label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2950
- $l10n: z.ZodString;
2951
- default: z.ZodOptional<z.ZodString>;
2952
- }, z.core.$strip>]>>;
2953
- }, z.core.$strip>>>;
2954
- skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
2955
- id: z.ZodString;
2956
- localId: z.ZodString;
2957
- extensionId: z.ZodString;
2958
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2959
- $l10n: z.ZodString;
2960
- default: z.ZodOptional<z.ZodString>;
2961
- }, z.core.$strip>]>>;
2962
- }, z.core.$strip>>>;
2963
- templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2964
- id: z.ZodString;
2965
- localId: z.ZodString;
2966
- extensionId: z.ZodString;
2967
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2968
- $l10n: z.ZodString;
2969
- default: z.ZodOptional<z.ZodString>;
2970
- }, z.core.$strip>]>>;
2971
- }, z.core.$strip>>>;
2972
- templateTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2973
- id: z.ZodString;
2974
- localId: z.ZodString;
2975
- extensionId: z.ZodString;
2976
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2977
- $l10n: z.ZodString;
2978
- default: z.ZodOptional<z.ZodString>;
2979
- }, z.core.$strip>]>;
2980
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2981
- $l10n: z.ZodString;
2982
- default: z.ZodOptional<z.ZodString>;
2983
- }, z.core.$strip>]>>;
2984
- order: z.ZodOptional<z.ZodNumber>;
2985
- commands: z.ZodOptional<z.ZodObject<{
2986
- list: z.ZodString;
2987
- read: z.ZodString;
2988
- save: z.ZodString;
2989
- delete: z.ZodString;
2990
- }, z.core.$strip>>;
2991
- }, z.core.$strip>>>;
2992
- themes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2993
- id: z.ZodString;
2994
- localId: z.ZodString;
2995
- extensionId: z.ZodString;
2996
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2997
- $l10n: z.ZodString;
2998
- default: z.ZodOptional<z.ZodString>;
2999
- }, z.core.$strip>]>>;
3000
- }, z.core.$strip>>>;
3001
- diagnostics: z.ZodArray<z.ZodObject<{
3002
- code: z.ZodString;
3003
- severity: z.ZodEnum<{
3004
- error: "error";
3005
- info: "info";
3006
- warning: "warning";
3007
- }>;
3008
- message: z.ZodString;
3009
- extensionId: z.ZodOptional<z.ZodString>;
3010
- commandId: z.ZodOptional<z.ZodString>;
3011
- sourcePath: z.ZodOptional<z.ZodString>;
3012
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3013
- }, z.core.$strip>>;
3014
- }, z.core.$strip>;
3015
-
3016
- export declare type WorkbenchExtensionViewBody = z.infer<typeof workbenchExtensionViewBodySchema>;
3017
-
3018
- declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3019
- kind: z.ZodLiteral<"webview">;
3020
- webview: z.ZodObject<{
3021
- entry: z.ZodObject<{
3022
- kind: z.ZodLiteral<"package-asset">;
3023
- path: z.ZodString;
3024
- baseUrl: z.ZodString;
3025
- }, z.core.$strip>;
3026
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3027
- $l10n: z.ZodString;
3028
- default: z.ZodOptional<z.ZodString>;
3029
- }, z.core.$strip>]>>;
3030
- capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
3031
- runtimeUrl: z.ZodString;
3032
- moduleUrl: z.ZodString;
3033
- styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3034
- }, z.core.$strip>;
3035
- }, z.core.$strip>, z.ZodObject<{
3036
- searchable: z.ZodOptional<z.ZodBoolean>;
3037
- searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3038
- $l10n: z.ZodString;
3039
- default: z.ZodOptional<z.ZodString>;
3040
- }, z.core.$strip>]>>;
3041
- defaultExpandedSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3042
- defaultExpandedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3043
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3044
- $l10n: z.ZodString;
3045
- default: z.ZodOptional<z.ZodString>;
3046
- }, z.core.$strip>]>>;
3047
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3048
- $l10n: z.ZodString;
3049
- default: z.ZodOptional<z.ZodString>;
3050
- }, z.core.$strip>]>>;
3051
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3052
- headerHandlerId: z.ZodOptional<z.ZodString>;
3053
- bodyHandlerId: z.ZodString;
3054
- childrenHandlerId: z.ZodOptional<z.ZodString>;
3055
- footerHandlerId: z.ZodOptional<z.ZodString>;
3056
- kind: z.ZodLiteral<"tree">;
3057
- }, z.core.$strip>, z.ZodObject<{
3058
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3059
- $l10n: z.ZodString;
3060
- default: z.ZodOptional<z.ZodString>;
3061
- }, z.core.$strip>]>>;
3062
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3063
- $l10n: z.ZodString;
3064
- default: z.ZodOptional<z.ZodString>;
3065
- }, z.core.$strip>]>>;
3066
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3067
- loadHandlerId: z.ZodString;
3068
- saveHandlerId: z.ZodOptional<z.ZodString>;
3069
- kind: z.ZodLiteral<"file">;
3070
- }, z.core.$strip>, z.ZodObject<{
3071
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3072
- $l10n: z.ZodString;
3073
- default: z.ZodOptional<z.ZodString>;
3074
- }, z.core.$strip>]>>;
3075
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3076
- $l10n: z.ZodString;
3077
- default: z.ZodOptional<z.ZodString>;
3078
- }, z.core.$strip>]>>;
3079
- defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
3080
- x: z.ZodNumber;
3081
- y: z.ZodNumber;
3082
- }, z.core.$strict>]>>>;
3083
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3084
- queryHandlerId: z.ZodString;
3085
- valueChangeHandlerId: z.ZodOptional<z.ZodString>;
3086
- applyHandlerId: z.ZodOptional<z.ZodString>;
3087
- resetHandlerId: z.ZodOptional<z.ZodString>;
3088
- kind: z.ZodLiteral<"controls">;
3089
- }, z.core.$strip>, z.ZodObject<{
3090
- extensionInstanceId: z.ZodOptional<z.ZodString>;
3091
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3092
- $l10n: z.ZodString;
3093
- default: z.ZodOptional<z.ZodString>;
3094
- }, z.core.$strip>]>>;
3095
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3096
- $l10n: z.ZodString;
3097
- default: z.ZodOptional<z.ZodString>;
3098
- }, z.core.$strip>]>>;
3099
- attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3100
- id: z.ZodString;
3101
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3102
- $l10n: z.ZodString;
3103
- default: z.ZodOptional<z.ZodString>;
3104
- }, z.core.$strip>]>;
3105
- type: z.ZodDiscriminatedUnion<[z.ZodObject<{
3106
- kind: z.ZodLiteral<"enum">;
3107
- options: z.ZodArray<z.ZodObject<{
3108
- value: z.ZodString;
3109
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3110
- $l10n: z.ZodString;
3111
- default: z.ZodOptional<z.ZodString>;
3112
- }, z.core.$strip>]>;
3113
- color: z.ZodOptional<z.ZodString>;
3114
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3115
- }, z.core.$strip>>;
3116
- }, z.core.$strip>, z.ZodObject<{
3117
- kind: z.ZodLiteral<"enum-multi">;
3118
- options: z.ZodArray<z.ZodObject<{
3119
- value: z.ZodString;
3120
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3121
- $l10n: z.ZodString;
3122
- default: z.ZodOptional<z.ZodString>;
3123
- }, z.core.$strip>]>;
3124
- color: z.ZodOptional<z.ZodString>;
3125
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3126
- }, z.core.$strip>>;
3127
- }, z.core.$strip>, z.ZodObject<{
3128
- kind: z.ZodLiteral<"status">;
3129
- statuses: z.ZodObject<{
3130
- extensionId: z.ZodOptional<z.ZodString>;
3131
- kind: z.ZodLiteral<"status">;
3132
- id: z.ZodString;
3133
- }, z.core.$strip>;
3134
- }, z.core.$strip>, z.ZodObject<{
3135
- kind: z.ZodLiteral<"string">;
3136
- }, z.core.$strip>, z.ZodObject<{
3137
- kind: z.ZodLiteral<"date">;
3138
- }, z.core.$strip>, z.ZodObject<{
3139
- kind: z.ZodLiteral<"number">;
3140
- }, z.core.$strip>, z.ZodObject<{
3141
- kind: z.ZodLiteral<"user">;
3142
- }, z.core.$strip>], "kind">;
3143
- filterable: z.ZodOptional<z.ZodBoolean>;
3144
- groupable: z.ZodOptional<z.ZodBoolean>;
3145
- sortable: z.ZodOptional<z.ZodBoolean>;
3146
- displayable: z.ZodOptional<z.ZodBoolean>;
3147
- editable: z.ZodOptional<z.ZodBoolean>;
3148
- display: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3149
- kind: z.ZodLiteral<"badge-list">;
3150
- itemsAttributeId: z.ZodString;
3151
- }, z.core.$strip>, z.ZodObject<{
3152
- kind: z.ZodString;
3153
- }, z.core.$loose>]>>;
3154
- }, z.core.$strip>>>;
3155
- defaultSettings: z.ZodOptional<z.ZodObject<{
3156
- viewMode: z.ZodOptional<z.ZodEnum<{
3157
- list: "list";
3158
- board: "board";
3159
- }>>;
3160
- columnGrouping: z.ZodOptional<z.ZodString>;
3161
- rowGrouping: z.ZodOptional<z.ZodString>;
3162
- ordering: z.ZodOptional<z.ZodObject<{
3163
- attributeId: z.ZodString;
3164
- direction: z.ZodEnum<{
3165
- asc: "asc";
3166
- desc: "desc";
3167
- }>;
3168
- }, z.core.$strip>>;
3169
- displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
3170
- }, z.core.$strip>>;
3171
- defaultFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
3172
- defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
3173
- id: z.ZodString;
3174
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3175
- $l10n: z.ZodString;
3176
- default: z.ZodOptional<z.ZodString>;
3177
- }, z.core.$strip>]>;
3178
- settings: z.ZodObject<{
3179
- viewMode: z.ZodEnum<{
3180
- list: "list";
3181
- board: "board";
3182
- }>;
3183
- columnGrouping: z.ZodString;
3184
- rowGrouping: z.ZodString;
3185
- ordering: z.ZodObject<{
3186
- attributeId: z.ZodString;
3187
- direction: z.ZodEnum<{
3188
- asc: "asc";
3189
- desc: "desc";
3190
- }>;
3191
- }, z.core.$strip>;
3192
- displayProperties: z.ZodArray<z.ZodString>;
3193
- }, z.core.$strip>;
3194
- filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
3195
- isDefault: z.ZodOptional<z.ZodBoolean>;
3196
- }, z.core.$strip>>>;
3197
- defaultActiveViewId: z.ZodOptional<z.ZodString>;
3198
- hideToolbar: z.ZodOptional<z.ZodBoolean>;
3199
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3200
- queryHandlerId: z.ZodString;
3201
- rowActivationHandlerId: z.ZodOptional<z.ZodString>;
3202
- attributeChangeHandlerId: z.ZodOptional<z.ZodString>;
3203
- reorderHandlerId: z.ZodOptional<z.ZodString>;
3204
- columnActionHandlerId: z.ZodOptional<z.ZodString>;
3205
- kind: z.ZodLiteral<"kanban">;
3206
- createRow: z.ZodOptional<z.ZodObject<{
3207
- command: z.ZodObject<{
3208
- extensionId: z.ZodString;
3209
- kind: z.ZodLiteral<"command">;
3210
- id: z.ZodString;
3211
- }, z.core.$strip>;
3212
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3213
- $l10n: z.ZodString;
3214
- default: z.ZodOptional<z.ZodString>;
3215
- }, z.core.$strip>]>>;
3216
- submitLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3217
- $l10n: z.ZodString;
3218
- default: z.ZodOptional<z.ZodString>;
3219
- }, z.core.$strip>]>>;
3220
- columnParam: z.ZodOptional<z.ZodString>;
3221
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3222
- attributesParam: z.ZodOptional<z.ZodString>;
3223
- attachments: z.ZodOptional<z.ZodObject<{
3224
- command: z.ZodObject<{
3225
- extensionId: z.ZodString;
3226
- kind: z.ZodLiteral<"command">;
3227
- id: z.ZodString;
3228
- }, z.core.$strip>;
3229
- resourceParam: z.ZodString;
3230
- fileParam: z.ZodString;
3231
- }, z.core.$strip>>;
3232
- labels: z.ZodOptional<z.ZodObject<{
3233
- cancel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3234
- $l10n: z.ZodString;
3235
- default: z.ZodOptional<z.ZodString>;
3236
- }, z.core.$strip>]>>;
3237
- properties: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3238
- $l10n: z.ZodString;
3239
- default: z.ZodOptional<z.ZodString>;
3240
- }, z.core.$strip>]>>;
3241
- submitError: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3242
- $l10n: z.ZodString;
3243
- default: z.ZodOptional<z.ZodString>;
3244
- }, z.core.$strip>]>>;
3245
- removeFile: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3246
- $l10n: z.ZodString;
3247
- default: z.ZodOptional<z.ZodString>;
3248
- }, z.core.$strip>]>>;
3249
- }, z.core.$strip>>;
3250
- }, z.core.$strip>>;
3251
- rowActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3252
- id: z.ZodString;
3253
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3254
- $l10n: z.ZodString;
3255
- default: z.ZodOptional<z.ZodString>;
3256
- }, z.core.$strip>]>;
3257
- icon: z.ZodOptional<z.ZodString>;
3258
- destructive: z.ZodOptional<z.ZodBoolean>;
3259
- command: z.ZodObject<{
3260
- extensionId: z.ZodString;
3261
- kind: z.ZodLiteral<"command">;
3262
- id: z.ZodString;
3263
- }, z.core.$strip>;
3264
- }, z.core.$strip>>>;
3265
- }, z.core.$strip>, z.ZodObject<{
3266
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3267
- $l10n: z.ZodString;
3268
- default: z.ZodOptional<z.ZodString>;
3269
- }, z.core.$strip>]>>;
3270
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3271
- $l10n: z.ZodString;
3272
- default: z.ZodOptional<z.ZodString>;
3273
- }, z.core.$strip>]>>;
3274
- columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
3275
- id: z.ZodString;
3276
- label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3277
- $l10n: z.ZodString;
3278
- default: z.ZodOptional<z.ZodString>;
3279
- }, z.core.$strip>]>>;
3280
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3281
- $l10n: z.ZodString;
3282
- default: z.ZodOptional<z.ZodString>;
3283
- }, z.core.$strip>]>>;
3284
- icon: z.ZodOptional<z.ZodString>;
3285
- hidden: z.ZodOptional<z.ZodBoolean>;
3286
- stat: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3287
- type: z.ZodLiteral<"unique">;
3288
- }, z.core.$strip>, z.ZodObject<{
3289
- type: z.ZodLiteral<"histogram">;
3290
- bins: z.ZodOptional<z.ZodNumber>;
3291
- }, z.core.$strip>, z.ZodObject<{
3292
- type: z.ZodLiteral<"top-values">;
3293
- limit: z.ZodOptional<z.ZodNumber>;
3294
- }, z.core.$strip>], "type">>;
3295
- renderer: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3296
- type: z.ZodLiteral<"json">;
3297
- }, z.core.$strip>, z.ZodObject<{
3298
- type: z.ZodLiteral<"color-scale">;
3299
- stops: z.ZodArray<z.ZodObject<{
3300
- value: z.ZodNumber;
3301
- color: z.ZodObject<{
3302
- light: z.ZodString;
3303
- dark: z.ZodString;
3304
- foreground: z.ZodOptional<z.ZodObject<{
3305
- light: z.ZodString;
3306
- dark: z.ZodString;
3307
- }, z.core.$strip>>;
3308
- }, z.core.$strip>;
3309
- }, z.core.$strip>>;
3310
- }, z.core.$strip>, z.ZodObject<{
3311
- type: z.ZodLiteral<"categorical-color">;
3312
- categories: z.ZodArray<z.ZodObject<{
3313
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3314
- color: z.ZodObject<{
3315
- light: z.ZodString;
3316
- dark: z.ZodString;
3317
- foreground: z.ZodOptional<z.ZodObject<{
3318
- light: z.ZodString;
3319
- dark: z.ZodString;
3320
- }, z.core.$strip>>;
3321
- }, z.core.$strip>;
3322
- }, z.core.$strip>>;
3323
- }, z.core.$strip>], "type">>;
3324
- }, z.core.$strip>>>;
3325
- selectionMode: z.ZodOptional<z.ZodEnum<{
3326
- multiple: "multiple";
3327
- none: "none";
3328
- }>>;
3329
- initialPageSize: z.ZodOptional<z.ZodNumber>;
3330
- pageSizeOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3331
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3332
- queryHandlerId: z.ZodString;
3333
- rowActivationHandlerId: z.ZodOptional<z.ZodString>;
3334
- kind: z.ZodLiteral<"dataTable">;
3335
- selectionActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3336
- id: z.ZodString;
3337
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3338
- $l10n: z.ZodString;
3339
- default: z.ZodOptional<z.ZodString>;
3340
- }, z.core.$strip>]>;
3341
- icon: z.ZodOptional<z.ZodString>;
3342
- destructive: z.ZodOptional<z.ZodBoolean>;
3343
- command: z.ZodObject<{
3344
- extensionId: z.ZodString;
3345
- kind: z.ZodLiteral<"command">;
3346
- id: z.ZodString;
3347
- }, z.core.$strip>;
3348
- }, z.core.$strip>>>;
3349
- rowActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3350
- id: z.ZodString;
3351
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3352
- $l10n: z.ZodString;
3353
- default: z.ZodOptional<z.ZodString>;
3354
- }, z.core.$strip>]>;
3355
- icon: z.ZodOptional<z.ZodString>;
3356
- destructive: z.ZodOptional<z.ZodBoolean>;
3357
- command: z.ZodObject<{
3358
- extensionId: z.ZodString;
3359
- kind: z.ZodLiteral<"command">;
3360
- id: z.ZodString;
3361
- }, z.core.$strip>;
3362
- }, z.core.$strip>>>;
3363
- }, z.core.$strip>], "kind">;
3364
-
3365
- export declare type WorkbenchExtensionViewRecord = z.infer<typeof workbenchExtensionViewRecordSchema>;
3366
-
3367
- declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
3368
- id: z.ZodString;
3369
- localId: z.ZodString;
3370
- extensionId: z.ZodString;
3371
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3372
- $l10n: z.ZodString;
3373
- default: z.ZodOptional<z.ZodString>;
3374
- }, z.core.$strip>]>;
3375
- icon: z.ZodOptional<z.ZodString>;
3376
- body: z.ZodDiscriminatedUnion<[z.ZodObject<{
3377
- kind: z.ZodLiteral<"webview">;
3378
- webview: z.ZodObject<{
3379
- entry: z.ZodObject<{
3380
- kind: z.ZodLiteral<"package-asset">;
3381
- path: z.ZodString;
3382
- baseUrl: z.ZodString;
3383
- }, z.core.$strip>;
3384
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3385
- $l10n: z.ZodString;
3386
- default: z.ZodOptional<z.ZodString>;
3387
- }, z.core.$strip>]>>;
3388
- capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
3389
- runtimeUrl: z.ZodString;
3390
- moduleUrl: z.ZodString;
3391
- styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3392
- }, z.core.$strip>;
3393
- }, z.core.$strip>, z.ZodObject<{
3394
- searchable: z.ZodOptional<z.ZodBoolean>;
3395
- searchPlaceholder: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3396
- $l10n: z.ZodString;
3397
- default: z.ZodOptional<z.ZodString>;
3398
- }, z.core.$strip>]>>;
3399
- defaultExpandedSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3400
- defaultExpandedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3401
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3402
- $l10n: z.ZodString;
3403
- default: z.ZodOptional<z.ZodString>;
3404
- }, z.core.$strip>]>>;
3405
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3406
- $l10n: z.ZodString;
3407
- default: z.ZodOptional<z.ZodString>;
3408
- }, z.core.$strip>]>>;
3409
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3410
- headerHandlerId: z.ZodOptional<z.ZodString>;
3411
- bodyHandlerId: z.ZodString;
3412
- childrenHandlerId: z.ZodOptional<z.ZodString>;
3413
- footerHandlerId: z.ZodOptional<z.ZodString>;
3414
- kind: z.ZodLiteral<"tree">;
3415
- }, z.core.$strip>, z.ZodObject<{
3416
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3417
- $l10n: z.ZodString;
3418
- default: z.ZodOptional<z.ZodString>;
3419
- }, z.core.$strip>]>>;
3420
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3421
- $l10n: z.ZodString;
3422
- default: z.ZodOptional<z.ZodString>;
3423
- }, z.core.$strip>]>>;
3424
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3425
- loadHandlerId: z.ZodString;
3426
- saveHandlerId: z.ZodOptional<z.ZodString>;
3427
- kind: z.ZodLiteral<"file">;
3428
- }, z.core.$strip>, z.ZodObject<{
3429
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3430
- $l10n: z.ZodString;
3431
- default: z.ZodOptional<z.ZodString>;
3432
- }, z.core.$strip>]>>;
3433
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3434
- $l10n: z.ZodString;
3435
- default: z.ZodOptional<z.ZodString>;
3436
- }, z.core.$strip>]>>;
3437
- defaultValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodString>, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
3438
- x: z.ZodNumber;
3439
- y: z.ZodNumber;
3440
- }, z.core.$strict>]>>>;
3441
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3442
- queryHandlerId: z.ZodString;
3443
- valueChangeHandlerId: z.ZodOptional<z.ZodString>;
3444
- applyHandlerId: z.ZodOptional<z.ZodString>;
3445
- resetHandlerId: z.ZodOptional<z.ZodString>;
3446
- kind: z.ZodLiteral<"controls">;
3447
- }, z.core.$strip>, z.ZodObject<{
3448
- extensionInstanceId: z.ZodOptional<z.ZodString>;
3449
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3450
- $l10n: z.ZodString;
3451
- default: z.ZodOptional<z.ZodString>;
3452
- }, z.core.$strip>]>>;
3453
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3454
- $l10n: z.ZodString;
3455
- default: z.ZodOptional<z.ZodString>;
3456
- }, z.core.$strip>]>>;
3457
- attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3458
- id: z.ZodString;
3459
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3460
- $l10n: z.ZodString;
3461
- default: z.ZodOptional<z.ZodString>;
3462
- }, z.core.$strip>]>;
3463
- type: z.ZodDiscriminatedUnion<[z.ZodObject<{
3464
- kind: z.ZodLiteral<"enum">;
3465
- options: z.ZodArray<z.ZodObject<{
3466
- value: z.ZodString;
3467
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3468
- $l10n: z.ZodString;
3469
- default: z.ZodOptional<z.ZodString>;
3470
- }, z.core.$strip>]>;
3471
- color: z.ZodOptional<z.ZodString>;
3472
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3473
- }, z.core.$strip>>;
3474
- }, z.core.$strip>, z.ZodObject<{
3475
- kind: z.ZodLiteral<"enum-multi">;
3476
- options: z.ZodArray<z.ZodObject<{
3477
- value: z.ZodString;
3478
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3479
- $l10n: z.ZodString;
3480
- default: z.ZodOptional<z.ZodString>;
3481
- }, z.core.$strip>]>;
3482
- color: z.ZodOptional<z.ZodString>;
3483
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3484
- }, z.core.$strip>>;
3485
- }, z.core.$strip>, z.ZodObject<{
3486
- kind: z.ZodLiteral<"status">;
3487
- statuses: z.ZodObject<{
3488
- extensionId: z.ZodOptional<z.ZodString>;
3489
- kind: z.ZodLiteral<"status">;
3490
- id: z.ZodString;
3491
- }, z.core.$strip>;
3492
- }, z.core.$strip>, z.ZodObject<{
3493
- kind: z.ZodLiteral<"string">;
3494
- }, z.core.$strip>, z.ZodObject<{
3495
- kind: z.ZodLiteral<"date">;
3496
- }, z.core.$strip>, z.ZodObject<{
3497
- kind: z.ZodLiteral<"number">;
3498
- }, z.core.$strip>, z.ZodObject<{
3499
- kind: z.ZodLiteral<"user">;
3500
- }, z.core.$strip>], "kind">;
3501
- filterable: z.ZodOptional<z.ZodBoolean>;
3502
- groupable: z.ZodOptional<z.ZodBoolean>;
3503
- sortable: z.ZodOptional<z.ZodBoolean>;
3504
- displayable: z.ZodOptional<z.ZodBoolean>;
3505
- editable: z.ZodOptional<z.ZodBoolean>;
3506
- display: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3507
- kind: z.ZodLiteral<"badge-list">;
3508
- itemsAttributeId: z.ZodString;
3509
- }, z.core.$strip>, z.ZodObject<{
3510
- kind: z.ZodString;
3511
- }, z.core.$loose>]>>;
3512
- }, z.core.$strip>>>;
3513
- defaultSettings: z.ZodOptional<z.ZodObject<{
3514
- viewMode: z.ZodOptional<z.ZodEnum<{
3515
- list: "list";
3516
- board: "board";
3517
- }>>;
3518
- columnGrouping: z.ZodOptional<z.ZodString>;
3519
- rowGrouping: z.ZodOptional<z.ZodString>;
3520
- ordering: z.ZodOptional<z.ZodObject<{
3521
- attributeId: z.ZodString;
3522
- direction: z.ZodEnum<{
3523
- asc: "asc";
3524
- desc: "desc";
3525
- }>;
3526
- }, z.core.$strip>>;
3527
- displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
3528
- }, z.core.$strip>>;
3529
- defaultFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
3530
- defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
3531
- id: z.ZodString;
3532
- title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3533
- $l10n: z.ZodString;
3534
- default: z.ZodOptional<z.ZodString>;
3535
- }, z.core.$strip>]>;
3536
- settings: z.ZodObject<{
3537
- viewMode: z.ZodEnum<{
3538
- list: "list";
3539
- board: "board";
3540
- }>;
3541
- columnGrouping: z.ZodString;
3542
- rowGrouping: z.ZodString;
3543
- ordering: z.ZodObject<{
3544
- attributeId: z.ZodString;
3545
- direction: z.ZodEnum<{
3546
- asc: "asc";
3547
- desc: "desc";
3548
- }>;
3549
- }, z.core.$strip>;
3550
- displayProperties: z.ZodArray<z.ZodString>;
3551
- }, z.core.$strip>;
3552
- filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
3553
- isDefault: z.ZodOptional<z.ZodBoolean>;
3554
- }, z.core.$strip>>>;
3555
- defaultActiveViewId: z.ZodOptional<z.ZodString>;
3556
- hideToolbar: z.ZodOptional<z.ZodBoolean>;
3557
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3558
- queryHandlerId: z.ZodString;
3559
- rowActivationHandlerId: z.ZodOptional<z.ZodString>;
3560
- attributeChangeHandlerId: z.ZodOptional<z.ZodString>;
3561
- reorderHandlerId: z.ZodOptional<z.ZodString>;
3562
- columnActionHandlerId: z.ZodOptional<z.ZodString>;
3563
- kind: z.ZodLiteral<"kanban">;
3564
- createRow: z.ZodOptional<z.ZodObject<{
3565
- command: z.ZodObject<{
3566
- extensionId: z.ZodString;
3567
- kind: z.ZodLiteral<"command">;
3568
- id: z.ZodString;
3569
- }, z.core.$strip>;
3570
- title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3571
- $l10n: z.ZodString;
3572
- default: z.ZodOptional<z.ZodString>;
3573
- }, z.core.$strip>]>>;
3574
- submitLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3575
- $l10n: z.ZodString;
3576
- default: z.ZodOptional<z.ZodString>;
3577
- }, z.core.$strip>]>>;
3578
- columnParam: z.ZodOptional<z.ZodString>;
3579
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3580
- attributesParam: z.ZodOptional<z.ZodString>;
3581
- attachments: z.ZodOptional<z.ZodObject<{
3582
- command: z.ZodObject<{
3583
- extensionId: z.ZodString;
3584
- kind: z.ZodLiteral<"command">;
3585
- id: z.ZodString;
3586
- }, z.core.$strip>;
3587
- resourceParam: z.ZodString;
3588
- fileParam: z.ZodString;
3589
- }, z.core.$strip>>;
3590
- labels: z.ZodOptional<z.ZodObject<{
3591
- cancel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3592
- $l10n: z.ZodString;
3593
- default: z.ZodOptional<z.ZodString>;
3594
- }, z.core.$strip>]>>;
3595
- properties: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3596
- $l10n: z.ZodString;
3597
- default: z.ZodOptional<z.ZodString>;
3598
- }, z.core.$strip>]>>;
3599
- submitError: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3600
- $l10n: z.ZodString;
3601
- default: z.ZodOptional<z.ZodString>;
3602
- }, z.core.$strip>]>>;
3603
- removeFile: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3604
- $l10n: z.ZodString;
3605
- default: z.ZodOptional<z.ZodString>;
3606
- }, z.core.$strip>]>>;
3607
- }, z.core.$strip>>;
3608
- }, z.core.$strip>>;
3609
- rowActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3610
- id: z.ZodString;
3611
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3612
- $l10n: z.ZodString;
3613
- default: z.ZodOptional<z.ZodString>;
3614
- }, z.core.$strip>]>;
3615
- icon: z.ZodOptional<z.ZodString>;
3616
- destructive: z.ZodOptional<z.ZodBoolean>;
3617
- command: z.ZodObject<{
3618
- extensionId: z.ZodString;
3619
- kind: z.ZodLiteral<"command">;
3620
- id: z.ZodString;
3621
- }, z.core.$strip>;
3622
- }, z.core.$strip>>>;
3623
- }, z.core.$strip>, z.ZodObject<{
3624
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3625
- $l10n: z.ZodString;
3626
- default: z.ZodOptional<z.ZodString>;
3627
- }, z.core.$strip>]>>;
3628
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3629
- $l10n: z.ZodString;
3630
- default: z.ZodOptional<z.ZodString>;
3631
- }, z.core.$strip>]>>;
3632
- columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
3633
- id: z.ZodString;
3634
- label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3635
- $l10n: z.ZodString;
3636
- default: z.ZodOptional<z.ZodString>;
3637
- }, z.core.$strip>]>>;
3638
- description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3639
- $l10n: z.ZodString;
3640
- default: z.ZodOptional<z.ZodString>;
3641
- }, z.core.$strip>]>>;
3642
- icon: z.ZodOptional<z.ZodString>;
3643
- hidden: z.ZodOptional<z.ZodBoolean>;
3644
- stat: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3645
- type: z.ZodLiteral<"unique">;
3646
- }, z.core.$strip>, z.ZodObject<{
3647
- type: z.ZodLiteral<"histogram">;
3648
- bins: z.ZodOptional<z.ZodNumber>;
3649
- }, z.core.$strip>, z.ZodObject<{
3650
- type: z.ZodLiteral<"top-values">;
3651
- limit: z.ZodOptional<z.ZodNumber>;
3652
- }, z.core.$strip>], "type">>;
3653
- renderer: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3654
- type: z.ZodLiteral<"json">;
3655
- }, z.core.$strip>, z.ZodObject<{
3656
- type: z.ZodLiteral<"color-scale">;
3657
- stops: z.ZodArray<z.ZodObject<{
3658
- value: z.ZodNumber;
3659
- color: z.ZodObject<{
3660
- light: z.ZodString;
3661
- dark: z.ZodString;
3662
- foreground: z.ZodOptional<z.ZodObject<{
3663
- light: z.ZodString;
3664
- dark: z.ZodString;
3665
- }, z.core.$strip>>;
3666
- }, z.core.$strip>;
3667
- }, z.core.$strip>>;
3668
- }, z.core.$strip>, z.ZodObject<{
3669
- type: z.ZodLiteral<"categorical-color">;
3670
- categories: z.ZodArray<z.ZodObject<{
3671
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3672
- color: z.ZodObject<{
3673
- light: z.ZodString;
3674
- dark: z.ZodString;
3675
- foreground: z.ZodOptional<z.ZodObject<{
3676
- light: z.ZodString;
3677
- dark: z.ZodString;
3678
- }, z.core.$strip>>;
3679
- }, z.core.$strip>;
3680
- }, z.core.$strip>>;
3681
- }, z.core.$strip>], "type">>;
3682
- }, z.core.$strip>>>;
3683
- selectionMode: z.ZodOptional<z.ZodEnum<{
3684
- multiple: "multiple";
3685
- none: "none";
3686
- }>>;
3687
- initialPageSize: z.ZodOptional<z.ZodNumber>;
3688
- pageSizeOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3689
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3690
- queryHandlerId: z.ZodString;
3691
- rowActivationHandlerId: z.ZodOptional<z.ZodString>;
3692
- kind: z.ZodLiteral<"dataTable">;
3693
- selectionActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3694
- id: z.ZodString;
3695
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3696
- $l10n: z.ZodString;
3697
- default: z.ZodOptional<z.ZodString>;
3698
- }, z.core.$strip>]>;
3699
- icon: z.ZodOptional<z.ZodString>;
3700
- destructive: z.ZodOptional<z.ZodBoolean>;
3701
- command: z.ZodObject<{
3702
- extensionId: z.ZodString;
3703
- kind: z.ZodLiteral<"command">;
3704
- id: z.ZodString;
3705
- }, z.core.$strip>;
3706
- }, z.core.$strip>>>;
3707
- rowActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3708
- id: z.ZodString;
3709
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3710
- $l10n: z.ZodString;
3711
- default: z.ZodOptional<z.ZodString>;
3712
- }, z.core.$strip>]>;
3713
- icon: z.ZodOptional<z.ZodString>;
3714
- destructive: z.ZodOptional<z.ZodBoolean>;
3715
- command: z.ZodObject<{
3716
- extensionId: z.ZodString;
3717
- kind: z.ZodLiteral<"command">;
3718
- id: z.ZodString;
3719
- }, z.core.$strip>;
3720
- }, z.core.$strip>>>;
3721
- }, z.core.$strip>], "kind">;
3722
- }, z.core.$strip>;
3723
-
3724
- export declare type WorkspaceFileContent = WorkspaceFileContent_2;
3725
-
3726
- declare type WorkspaceFileContent_2 = z.infer<typeof workspaceFileContentSchema>;
3727
-
3728
- declare const workspaceFileContentSchema: z.ZodObject<{
3729
- workspace_id: z.ZodString;
3730
- path: z.ZodString;
3731
- file_name: z.ZodString;
3732
- mime_type: z.ZodOptional<z.ZodString>;
3733
- size: z.ZodNumber;
3734
- encoding: z.ZodEnum<{
3735
- utf8: "utf8";
3736
- base64: "base64";
3737
- }>;
3738
- content: z.ZodOptional<z.ZodString>;
3739
- data_url: z.ZodOptional<z.ZodString>;
3740
- editable: z.ZodBoolean;
3741
- }, z.core.$strip>;
3742
-
3743
- export declare type WorkspaceFileEntry = WorkspaceFileEntry_2;
3744
-
3745
- declare type WorkspaceFileEntry_2 = z.infer<typeof workspaceFileEntrySchema>;
3746
-
3747
- declare const workspaceFileEntrySchema: z.ZodObject<{
3748
- path: z.ZodString;
3749
- name: z.ZodString;
3750
- type: z.ZodEnum<{
3751
- file: "file";
3752
- directory: "directory";
3753
- }>;
3754
- size: z.ZodOptional<z.ZodNumber>;
3755
- modified_at: z.ZodOptional<z.ZodString>;
3756
- }, z.core.$strip>;
3757
-
3758
- export declare type WorkspaceFilesResponse = WorkspaceFilesResponse_2;
3759
-
3760
- declare type WorkspaceFilesResponse_2 = z.infer<typeof workspaceFilesResponseSchema>;
3761
-
3762
- declare const workspaceFilesResponseSchema: z.ZodObject<{
3763
- workspace_id: z.ZodString;
3764
- path: z.ZodString;
3765
- entries: z.ZodArray<z.ZodObject<{
3766
- path: z.ZodString;
3767
- name: z.ZodString;
3768
- type: z.ZodEnum<{
3769
- file: "file";
3770
- directory: "directory";
3771
- }>;
3772
- size: z.ZodOptional<z.ZodNumber>;
3773
- modified_at: z.ZodOptional<z.ZodString>;
3774
- }, z.core.$strip>>;
3775
- truncated: z.ZodBoolean;
3776
- }, z.core.$strip>;
3777
-
3778
- export declare type WriteWorkspaceFileInput = WriteWorkspaceFileInput_2;
3779
-
3780
- declare type WriteWorkspaceFileInput_2 = z.infer<typeof writeWorkspaceFileInputSchema>;
3781
-
3782
- declare const writeWorkspaceFileInputSchema: z.ZodObject<{
3783
- content: z.ZodString;
3784
- }, z.core.$strip>;
3785
-
3786
- export { }
1
+ import { $ as WorkbenchExtensionHarnessRecord, $a as UpdateSkillInput, A as AttemptExtensionFixResponse, C as ExtensionSettingValueRecord, Co as NotificationOrigin, D as ExtensionKeybindingRecord, E as UpdateExtensionSettingRequest, Eo as UpdateNotificationInput, F as MarketplaceExtension, G as ExtensionRecord, H as ExtensionConnectionRecord, I as ProjectExtensionInstance, J as ExtensionCommandRecord, K as LocalizableString, L as UpgradeProjectExtensionResponse, Mt as TerminalSessionOperation, N as InstallMarketplaceExtensionResponse, Nt as TerminalSessionRequest, O as ExtensionCommandPaletteResourceRecord, P as ListProjectExtensionsResponse, Pt as TerminalSessionResult, Q as ListExtensionCommandsResponse, R as CommandExecuteRequest, S as ExtensionSettingDefinitionRecord, So as NotificationKind, T as ListExtensionSettingsResponse, To as NotificationStatus, U as ListExtensionConnectionsResponse, V as ConfigureExtensionConnectionInput, W as ExtensionDiagnostic, X as WorkbenchExtensionAutomationRecord, Y as ExtensionMenuContribution, Z as ListExtensionAppearanceResponse, _ as RegisterRepoInput, _o as ListNotificationsQuery, a as RemoveWorktreeResponse$1, at as AutomationRunEvent, bo as NotificationAction, c as WorkspaceFileContent$1, ct as CreateAutomationRunInput, do as SessionConversationResponse, dt as ListAutomationRunEventsResponse, eo as ApprovalInput, et as WorkbenchExtensionMetadata, f as WorkspaceProviderDescriptor, fo as SessionConversationSources, ft as ListAutomationTokensResponse, g as sessionAttachmentMimeTypesByExtension, go as CreateNotificationInput, h as UpdateSettingsInput, i as ListWorkspaceFilesInput$1, it as AutomationRunError, jt as TerminalHostEvent, k as WorkbenchExtensionCommandPaletteResourceRecord, l as WorkspaceFileEntry$1, lo as SessionAttachment, lt as IssueAutomationTokenInput, m as Settings, mo as SessionQueuedMessagesResponse, no as FollowUpInput, nt as WorkbenchExtensionViewRecord, o as RenameWorkspaceInput$1, oo as ResolveSessionIdInput, ot as AutomationRunStatus, p as WriteWorkspaceFileInput$1, po as SessionHistoryIssue, q as ExtensionCommandPaletteContribution, rt as AutomationRun, so as ResolveSessionIdResponse, st as AutomationTokenRecord, t as CreateWorkspaceInput$1, td as ResourceRef, to as CreateSessionInput, tt as WorkbenchExtensionViewBody, u as WorkspaceFilesResponse$1, uo as SessionAttachmentRef, ut as IssueAutomationTokenResponse, vo as ListNotificationsResponse, w as ExtensionSettingsPanelRecord, wo as NotificationPriority, xo as NotificationActorType, y as CreateProjectInput, yo as Notification, z as CommandExecuteResponse } from "./index-x7CdJPRb.js";
2
+ import "./sessions-DcxmP7uF.js";
3
+ import "./skills-DcxmP7uF.js";
4
+ //#region src/api/workspaces.d.ts
5
+ type CreateWorkspaceInput = CreateWorkspaceInput$1;
6
+ type RemoveWorktreeResponse = RemoveWorktreeResponse$1;
7
+ type RenameWorkspaceInput = RenameWorkspaceInput$1;
8
+ type ListWorkspaceFilesInput = ListWorkspaceFilesInput$1;
9
+ type WorkspaceFileContent = WorkspaceFileContent$1;
10
+ type WorkspaceFileEntry = WorkspaceFileEntry$1;
11
+ type WorkspaceFilesResponse = WorkspaceFilesResponse$1;
12
+ type WriteWorkspaceFileInput = WriteWorkspaceFileInput$1;
13
+ //#endregion
14
+ export { type ApprovalInput, type AttemptExtensionFixResponse, type AutomationRun, type AutomationRunError, type AutomationRunEvent, type AutomationRunStatus, type AutomationTokenRecord, type CommandExecuteRequest, type CommandExecuteResponse, type ConfigureExtensionConnectionInput, type CreateAutomationRunInput, type CreateNotificationInput, type CreateProjectInput, type CreateSessionInput, type CreateWorkspaceInput, type ExtensionCommandPaletteContribution, type ExtensionCommandPaletteResourceRecord, type ExtensionCommandRecord, type ExtensionConnectionRecord, type ExtensionDiagnostic, type ExtensionKeybindingRecord, type ExtensionMenuContribution, type ExtensionRecord, type ExtensionSettingDefinitionRecord, type ExtensionSettingValueRecord, type ExtensionSettingsPanelRecord, type FollowUpInput, type InstallMarketplaceExtensionResponse, type IssueAutomationTokenInput, type IssueAutomationTokenResponse, type ListAutomationRunEventsResponse, type ListAutomationTokensResponse, type ListExtensionAppearanceResponse, type ListExtensionCommandsResponse, type ListExtensionConnectionsResponse, type ListExtensionSettingsResponse, type ListNotificationsQuery, type ListNotificationsResponse, type ListProjectExtensionsResponse, type ListWorkspaceFilesInput, type LocalizableString, type MarketplaceExtension, type Notification, type NotificationAction, type NotificationActorType, type NotificationKind, type NotificationOrigin, type NotificationPriority, type NotificationStatus, type ProjectExtensionInstance, type RegisterRepoInput, type RemoveWorktreeResponse, type RenameWorkspaceInput, type ResolveSessionIdInput, type ResolveSessionIdResponse, type ResourceRef, type SessionAttachment, type SessionAttachmentRef, type SessionConversationResponse, type SessionConversationSources, type SessionHistoryIssue, type SessionQueuedMessagesResponse, type Settings, type TerminalHostEvent, type TerminalSessionOperation, type TerminalSessionRequest, type TerminalSessionResult, type UpdateExtensionSettingRequest, type UpdateNotificationInput, type UpdateSettingsInput, type UpdateSkillInput, type UpgradeProjectExtensionResponse, type WorkbenchExtensionAutomationRecord, type WorkbenchExtensionCommandPaletteResourceRecord, type WorkbenchExtensionHarnessRecord, type WorkbenchExtensionMetadata, type WorkbenchExtensionViewBody, type WorkbenchExtensionViewRecord, type WorkspaceFileContent, type WorkspaceFileEntry, type WorkspaceFilesResponse, type WorkspaceProviderDescriptor, type WriteWorkspaceFileInput, sessionAttachmentMimeTypesByExtension };
15
+ export {};