@pstdio/sdk 0.40.0 → 0.41.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.
@@ -18,14 +18,14 @@ declare const listActivityResponseSchema: z.ZodObject<{
18
18
  event_type: z.ZodString;
19
19
  actor_type: z.ZodEnum<{
20
20
  user: "user";
21
- agent: "agent";
22
21
  system: "system";
22
+ agent: "agent";
23
23
  }>;
24
24
  actor_id: z.ZodNullable<z.ZodString>;
25
25
  source: z.ZodEnum<{
26
+ system: "system";
26
27
  hook: "hook";
27
28
  agent: "agent";
28
- system: "system";
29
29
  ui: "ui";
30
30
  api: "api";
31
31
  }>;
@@ -61,6 +61,7 @@ declare const agentInfoSchema: z.ZodObject<{
61
61
  global_dir: z.ZodString;
62
62
  }, z.core.$strip>>;
63
63
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
64
+ control: z.ZodOptional<z.ZodLiteral<"command">>;
64
65
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
65
66
  $l10n: z.ZodString;
66
67
  default: z.ZodOptional<z.ZodString>;
@@ -79,6 +80,7 @@ declare const agentInfoSchema: z.ZodObject<{
79
80
  icon: z.ZodOptional<z.ZodString>;
80
81
  }, z.core.$strip>>;
81
82
  }, z.core.$strip>, z.ZodObject<{
83
+ control: z.ZodOptional<z.ZodLiteral<"command">>;
82
84
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
83
85
  $l10n: z.ZodString;
84
86
  default: z.ZodOptional<z.ZodString>;
@@ -99,6 +101,7 @@ declare const agentModelSchema: z.ZodObject<{
99
101
  description: z.ZodOptional<z.ZodString>;
100
102
  isDefault: z.ZodOptional<z.ZodBoolean>;
101
103
  paramOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
104
+ control: z.ZodOptional<z.ZodLiteral<"command">>;
102
105
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
103
106
  $l10n: z.ZodString;
104
107
  default: z.ZodOptional<z.ZodString>;
@@ -117,6 +120,7 @@ declare const agentModelSchema: z.ZodObject<{
117
120
  icon: z.ZodOptional<z.ZodString>;
118
121
  }, z.core.$strip>>;
119
122
  }, z.core.$strip>, z.ZodObject<{
123
+ control: z.ZodOptional<z.ZodLiteral<"command">>;
120
124
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
121
125
  $l10n: z.ZodString;
122
126
  default: z.ZodOptional<z.ZodString>;
@@ -147,6 +151,44 @@ declare const harnessLocalId: (id: string) => string;
147
151
  declare const parseExtensionApiDeclaration: (declaration: string) => string[] | null;
148
152
  declare const supportsExtensionApiVersion: (declaration: string, hostVersion: string) => boolean;
149
153
  //#endregion
154
+ //#region ../pstdio-api-contracts/src/extension-kernel/types/collection-view.d.ts
155
+ /** A condition that a filter rule applies to one field. Each field kind accepts a fixed list. */
156
+ type ViewFilterCondition = "contains" | "does-not-contain" | "is" | "is-not" | "gt" | "gte" | "lt" | "lte" | "is-before" | "is-after" | "is-on-or-before" | "is-on-or-after" | "is-any-of" | "is-none-of" | "has-any-of" | "has-all-of" | "has-none-of" | "is-empty" | "is-not-empty";
157
+ type ViewFilterRule = {
158
+ attributeId: string;
159
+ condition: ViewFilterCondition;
160
+ /**
161
+ * Text, a number, a day ("2026-10-02", "today", "today-7", "today+7"),
162
+ * or option values. Absent for is-empty and is-not-empty.
163
+ */
164
+ value?: boolean | string | number | string[];
165
+ };
166
+ type ViewFilterGroup = {
167
+ conjunction: "and" | "or";
168
+ /** Normal rules share this conjunction. */
169
+ rules: ViewFilterRule[];
170
+ /** Advanced groups have one level and combine with the normal rules using AND. */
171
+ groups?: {
172
+ conjunction: "and" | "or";
173
+ rules: ViewFilterRule[];
174
+ }[];
175
+ };
176
+ type ViewSortDirection = "asc" | "desc";
177
+ type ViewSort = {
178
+ attributeId: string;
179
+ direction: ViewSortDirection;
180
+ };
181
+ type ViewFieldKind = "string" | "number" | "boolean" | "date" | "enum" | "status" | "enum-multi" | "user";
182
+ /** The only list of conditions. The UI, the views API, and the CLI all read it. */
183
+ declare const VIEW_FILTER_CONDITIONS: Record<ViewFieldKind, readonly ViewFilterCondition[]>;
184
+ //#endregion
185
+ //#region ../pstdio-api-contracts/src/extension-kernel/boolean-view-filter.d.ts
186
+ /** Migrate saved enum rules using the owning extension's mapping, never row-value coercion. */
187
+ declare const normalizeBooleanViewRule: (rule: ViewFilterRule, type: {
188
+ kind: string;
189
+ legacyValues?: Record<string, boolean>;
190
+ }) => ViewFilterRule;
191
+ //#endregion
150
192
  //#region ../pstdio-api-contracts/src/extension-kernel/l10n.d.ts
151
193
  interface LocalizedString {
152
194
  readonly $l10n: string;
@@ -208,7 +250,7 @@ type MaybePromise<T> = T | Promise<T>;
208
250
  type Struct = object;
209
251
  //#endregion
210
252
  //#region ../pstdio-api-contracts/src/extensions.terminal.d.ts
211
- interface TerminalSessionRequest$1 {
253
+ interface TerminalSessionRequest {
212
254
  /** Command + args to run; defaults to the user's login shell when omitted. */
213
255
  command?: string[];
214
256
  /** Working directory; falls back to the extension's workspace root. */
@@ -250,9 +292,9 @@ interface TerminalSessionHandle {
250
292
  */
251
293
  events(): AsyncIterable<TerminalEvent>;
252
294
  }
253
- type TerminalSessionOperation$1 = {
295
+ type TerminalSessionOperation = {
254
296
  operation: "open";
255
- request: TerminalSessionRequest$1;
297
+ request: TerminalSessionRequest;
256
298
  } | {
257
299
  operation: "write";
258
300
  sessionId: string;
@@ -270,13 +312,50 @@ type TerminalSessionOperation$1 = {
270
312
  operation: "subscribe";
271
313
  sessionId: string;
272
314
  };
273
- type TerminalSessionResult$1 = {
315
+ type TerminalSessionResult = {
274
316
  operation: "open";
275
317
  sessionId: string;
276
318
  } | {
277
319
  operation: "write" | "resize" | "kill" | "subscribe";
278
320
  accepted: true;
279
321
  };
322
+ type TerminalHostEvent = {
323
+ sessionId: string;
324
+ kind: "data";
325
+ chunk: Uint8Array;
326
+ } | {
327
+ sessionId: string;
328
+ kind: "exit";
329
+ code: number | null;
330
+ signal: string | null;
331
+ };
332
+ interface TerminalSessionExit {
333
+ code: number | null;
334
+ signal: string | null;
335
+ }
336
+ interface TerminalSessionError {
337
+ message: string;
338
+ }
339
+ /**
340
+ * Renderer-side projection of one terminal session. The host handle exposes a
341
+ * single-consumer async iterable, which does not fit React, so renderers use
342
+ * subscriptions instead. Real bridges and scripted stubs implement this shape.
343
+ */
344
+ interface TerminalSessionAdapter$1 {
345
+ readonly id: string;
346
+ write(data: string | Uint8Array): void;
347
+ resize(cols: number, rows: number): void;
348
+ kill(signal?: string): Promise<void> | void;
349
+ onData(handler: (chunk: Uint8Array) => void): () => void;
350
+ /** Foreground process name updates, when the opener can report them (real PTYs). */
351
+ onTitle?(handler: (title: string) => void): () => void;
352
+ onExit(handler: (exit: TerminalSessionExit) => void): () => void;
353
+ onError(handler: (error: TerminalSessionError) => void): () => void;
354
+ }
355
+ /** Renderer-side projection of the `terminal.session` capability. */
356
+ interface TerminalBridge {
357
+ openSession(request: TerminalSessionRequest): Promise<TerminalSessionAdapter$1>;
358
+ }
280
359
  //#endregion
281
360
  //#region ../pstdio-api-contracts/src/extension-kernel/types/resources.d.ts
282
361
  type ResourceRole = "primary" | "context" | "source" | "result";
@@ -294,7 +373,45 @@ interface ResourceRemovedEvent {
294
373
  id: string;
295
374
  resource: ResourceRef;
296
375
  }
376
+ interface ResourceAnchorQuery {
377
+ resource: ResourceRef;
378
+ direction?: "outgoing" | "incoming" | "both";
379
+ role?: ResourceRole;
380
+ cursor?: string;
381
+ limit?: number;
382
+ }
383
+ interface ResourceAnchorPage {
384
+ items: Array<{
385
+ source: ResourceRef;
386
+ target: ResourceAnchor;
387
+ }>;
388
+ nextCursor?: string;
389
+ }
390
+ interface ResourceAnchorChangeEvent {
391
+ id: string;
392
+ projectId: string;
393
+ operation: "add" | "remove";
394
+ items: Array<{
395
+ source: ResourceRef;
396
+ target: ResourceAnchor;
397
+ }>;
398
+ }
399
+ interface ResourceAnchorValidationInput {
400
+ operation: "add" | "remove";
401
+ source: ResourceRef;
402
+ target: ResourceRef;
403
+ role: ResourceRole;
404
+ }
405
+ type ResourceAnchorValidationResult = {
406
+ allowed: true;
407
+ } | {
408
+ allowed: false;
409
+ reason: string;
410
+ };
297
411
  interface ExtensionResourcesApi {
412
+ addAnchors(resource: ResourceRef, anchors: ResourceAnchor[]): Promise<void>;
413
+ removeAnchors(resource: ResourceRef, refs: ResourceRef[]): Promise<void>;
414
+ listAnchors(input: ResourceAnchorQuery): Promise<ResourceAnchorPage>;
298
415
  /** Publish a committed removal to clients displaying this project resource. */
299
416
  removed(resource: ResourceRef): Promise<void>;
300
417
  allocate(input: {
@@ -414,11 +531,11 @@ interface ListNotificationsResponse {
414
531
  //#endregion
415
532
  //#region ../pstdio-api-contracts/src/sessions.d.ts
416
533
  declare const sessionStatusSchema: z.ZodEnum<{
534
+ completed: "completed";
535
+ failed: "failed";
417
536
  in_progress: "in_progress";
418
537
  awaiting_input: "awaiting_input";
419
538
  queued: "queued";
420
- completed: "completed";
421
- failed: "failed";
422
539
  cancelled: "cancelled";
423
540
  disconnected: "disconnected";
424
541
  }>;
@@ -427,11 +544,11 @@ declare const sessionSchema: z.ZodObject<{
427
544
  project_id: z.ZodNullable<z.ZodString>;
428
545
  title: z.ZodString;
429
546
  status: z.ZodEnum<{
547
+ completed: "completed";
548
+ failed: "failed";
430
549
  in_progress: "in_progress";
431
550
  awaiting_input: "awaiting_input";
432
551
  queued: "queued";
433
- completed: "completed";
434
- failed: "failed";
435
552
  cancelled: "cancelled";
436
553
  disconnected: "disconnected";
437
554
  }>;
@@ -461,6 +578,50 @@ declare const sessionSchema: z.ZodObject<{
461
578
  declare const sessionAttachmentRefSchema: z.ZodObject<{
462
579
  file_id: z.ZodString;
463
580
  }, z.core.$strip>;
581
+ declare const createSessionResponseSchema: z.ZodObject<{
582
+ id: z.ZodString;
583
+ project_id: z.ZodNullable<z.ZodString>;
584
+ title: z.ZodString;
585
+ status: z.ZodEnum<{
586
+ completed: "completed";
587
+ failed: "failed";
588
+ in_progress: "in_progress";
589
+ awaiting_input: "awaiting_input";
590
+ queued: "queued";
591
+ cancelled: "cancelled";
592
+ disconnected: "disconnected";
593
+ }>;
594
+ archived: z.ZodBoolean;
595
+ last_request_started: z.ZodNullable<z.ZodString>;
596
+ last_request_ended: z.ZodNullable<z.ZodString>;
597
+ agent: z.ZodNullable<z.ZodString>;
598
+ last_selected_model: z.ZodNullable<z.ZodString>;
599
+ agent_session_id: z.ZodNullable<z.ZodString>;
600
+ session_file_id: z.ZodNullable<z.ZodString>;
601
+ original_session_id: z.ZodNullable<z.ZodString>;
602
+ cwd: z.ZodNullable<z.ZodString>;
603
+ params_json: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
604
+ anchors_json: z.ZodArray<z.ZodObject<{
605
+ shorthand: z.ZodOptional<z.ZodString>;
606
+ type: z.ZodString;
607
+ id: z.ZodString;
608
+ projectId: z.ZodOptional<z.ZodString>;
609
+ label: z.ZodOptional<z.ZodString>;
610
+ icon: z.ZodOptional<z.ZodString>;
611
+ extensionId: z.ZodOptional<z.ZodString>;
612
+ metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
613
+ }, z.core.$strip>>;
614
+ created_at: z.ZodString;
615
+ updated_at: z.ZodString;
616
+ operation_result: z.ZodOptional<z.ZodObject<{
617
+ status: z.ZodEnum<{
618
+ started: "started";
619
+ completed: "completed";
620
+ }>;
621
+ message: z.ZodOptional<z.ZodString>;
622
+ }, z.core.$strip>>;
623
+ }, z.core.$strip>;
624
+ type CreateSessionResponse = z.infer<typeof createSessionResponseSchema>;
464
625
  declare const sessionAttachmentSchema: z.ZodObject<{
465
626
  file_id: z.ZodString;
466
627
  name: z.ZodString;
@@ -475,6 +636,15 @@ declare const createSessionInputSchema: z.ZodObject<{
475
636
  project_id: z.ZodString;
476
637
  title: z.ZodString;
477
638
  prompt: z.ZodOptional<z.ZodString>;
639
+ operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
640
+ kind: z.ZodLiteral<"command">;
641
+ text: z.ZodString;
642
+ }, z.core.$strict>, z.ZodObject<{
643
+ kind: z.ZodLiteral<"mode-action">;
644
+ modeId: z.ZodString;
645
+ actionId: z.ZodString;
646
+ argument: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strict>], "kind">>;
478
648
  agent: z.ZodOptional<z.ZodString>;
479
649
  workspace_id: z.ZodOptional<z.ZodString>;
480
650
  anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -528,11 +698,11 @@ declare const followUpResponseSchema: z.ZodObject<{
528
698
  project_id: z.ZodNullable<z.ZodString>;
529
699
  title: z.ZodString;
530
700
  status: z.ZodEnum<{
701
+ completed: "completed";
702
+ failed: "failed";
531
703
  in_progress: "in_progress";
532
704
  awaiting_input: "awaiting_input";
533
705
  queued: "queued";
534
- completed: "completed";
535
- failed: "failed";
536
706
  cancelled: "cancelled";
537
707
  disconnected: "disconnected";
538
708
  }>;
@@ -570,8 +740,8 @@ declare const sessionQueuedMessagesResponseSchema: z.ZodObject<{
570
740
  id: z.ZodString;
571
741
  role: z.ZodEnum<{
572
742
  user: "user";
573
- assistant: "assistant";
574
743
  tool: "tool";
744
+ assistant: "assistant";
575
745
  system: "system";
576
746
  developer: "developer";
577
747
  }>;
@@ -665,8 +835,8 @@ declare const sessionConversationSourcesSchema: z.ZodObject<{
665
835
  id: z.ZodString;
666
836
  role: z.ZodEnum<{
667
837
  user: "user";
668
- assistant: "assistant";
669
838
  tool: "tool";
839
+ assistant: "assistant";
670
840
  system: "system";
671
841
  developer: "developer";
672
842
  }>;
@@ -757,8 +927,8 @@ declare const sessionConversationSourcesSchema: z.ZodObject<{
757
927
  id: z.ZodString;
758
928
  role: z.ZodEnum<{
759
929
  user: "user";
760
- assistant: "assistant";
761
930
  tool: "tool";
931
+ assistant: "assistant";
762
932
  system: "system";
763
933
  developer: "developer";
764
934
  }>;
@@ -855,11 +1025,11 @@ declare const sessionConversationResponseSchema: z.ZodObject<{
855
1025
  project_id: z.ZodNullable<z.ZodString>;
856
1026
  title: z.ZodString;
857
1027
  status: z.ZodEnum<{
1028
+ completed: "completed";
1029
+ failed: "failed";
858
1030
  in_progress: "in_progress";
859
1031
  awaiting_input: "awaiting_input";
860
1032
  queued: "queued";
861
- completed: "completed";
862
- failed: "failed";
863
1033
  cancelled: "cancelled";
864
1034
  disconnected: "disconnected";
865
1035
  }>;
@@ -890,8 +1060,8 @@ declare const sessionConversationResponseSchema: z.ZodObject<{
890
1060
  id: z.ZodString;
891
1061
  role: z.ZodEnum<{
892
1062
  user: "user";
893
- assistant: "assistant";
894
1063
  tool: "tool";
1064
+ assistant: "assistant";
895
1065
  system: "system";
896
1066
  developer: "developer";
897
1067
  }>;
@@ -1004,14 +1174,14 @@ declare const listSessionActivityResponseSchema: z.ZodObject<{
1004
1174
  event_type: z.ZodString;
1005
1175
  actor_type: z.ZodEnum<{
1006
1176
  user: "user";
1007
- agent: "agent";
1008
1177
  system: "system";
1178
+ agent: "agent";
1009
1179
  }>;
1010
1180
  actor_id: z.ZodNullable<z.ZodString>;
1011
1181
  source: z.ZodEnum<{
1182
+ system: "system";
1012
1183
  hook: "hook";
1013
1184
  agent: "agent";
1014
- system: "system";
1015
1185
  ui: "ui";
1016
1186
  api: "api";
1017
1187
  }>;
@@ -1103,12 +1273,10 @@ declare const skillWithContentSchema: z.ZodObject<{
1103
1273
  updated_at: z.ZodString;
1104
1274
  deleted_at: z.ZodNullable<z.ZodString>;
1105
1275
  installed_agents: z.ZodArray<z.ZodString>;
1106
- outdated_agents: z.ZodArray<z.ZodString>;
1107
1276
  agent_installations: z.ZodArray<z.ZodObject<{
1108
1277
  agent_id: z.ZodString;
1109
1278
  agent_name: z.ZodString;
1110
1279
  installed_version: z.ZodNullable<z.ZodString>;
1111
- outdated: z.ZodBoolean;
1112
1280
  }, z.core.$strip>>;
1113
1281
  }, z.core.$strip>;
1114
1282
  declare const updateSkillInputSchema: z.ZodObject<{
@@ -1207,6 +1375,107 @@ interface SlotInvocationContext<TContext extends Struct = Struct> {
1207
1375
  context: TContext;
1208
1376
  }
1209
1377
  //#endregion
1378
+ //#region ../pstdio-api-contracts/src/extension-kernel/types/params.d.ts
1379
+ type ParamType = "text" | "longtext" | "markdown" | "number" | "boolean" | "select" | "multi-select" | "files" | "harness" | "template" | "resource" | "workspace" | "json" | "list";
1380
+ type ParamRequired<TRequired extends boolean | undefined> = TRequired extends true ? {
1381
+ required: true;
1382
+ } : TRequired extends false ? {
1383
+ required: false;
1384
+ } : {
1385
+ required?: boolean;
1386
+ };
1387
+ type ParamBase<TValue, TRequired extends boolean | undefined = boolean | undefined> = {
1388
+ label?: Localizable<string>;
1389
+ description?: Localizable<string>;
1390
+ defaultValue?: TValue;
1391
+ metadata?: JsonObject;
1392
+ resolvedFrom?: "resource";
1393
+ } & ParamRequired<TRequired>;
1394
+ type TextParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1395
+ type: "text";
1396
+ };
1397
+ type LongTextParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1398
+ type: "longtext";
1399
+ };
1400
+ type MarkdownParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1401
+ type: "markdown";
1402
+ placeholder?: Localizable<string>;
1403
+ };
1404
+ type NumberParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<number, TRequired> & {
1405
+ type: "number";
1406
+ };
1407
+ type FilesParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string[], TRequired> & {
1408
+ type: "files";
1409
+ multiple?: boolean;
1410
+ /** Passed through to the picker, e.g. "image/*". */
1411
+ accept?: string;
1412
+ };
1413
+ type BooleanParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<boolean, TRequired> & {
1414
+ type: "boolean";
1415
+ };
1416
+ type ParamValueRef = {
1417
+ kind: "param-value";
1418
+ key: string;
1419
+ };
1420
+ interface ParamOptionSource {
1421
+ command: CommandRef;
1422
+ valueField: string;
1423
+ labelField: string;
1424
+ params?: Record<string, unknown | ParamValueRef>;
1425
+ }
1426
+ type ParamOption = {
1427
+ label: string;
1428
+ value: string;
1429
+ icon?: string;
1430
+ };
1431
+ type SelectParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1432
+ type: "select";
1433
+ options: ParamOption[] | ParamOptionSource;
1434
+ allowCustomValues?: boolean;
1435
+ };
1436
+ type MultiSelectParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string[], TRequired> & {
1437
+ type: "multi-select";
1438
+ options: ParamOption[] | ParamOptionSource;
1439
+ allowCustomValues?: boolean;
1440
+ };
1441
+ type HarnessParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<{
1442
+ harnessId: string;
1443
+ model?: string;
1444
+ params?: Record<string, string | boolean>;
1445
+ }, TRequired> & {
1446
+ type: "harness";
1447
+ };
1448
+ type TemplateParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1449
+ type: "template";
1450
+ templateType: string;
1451
+ };
1452
+ type ResourceParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<ResourceRef, TRequired> & {
1453
+ type: "resource";
1454
+ resourceType: string;
1455
+ };
1456
+ type WorkspaceParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<{
1457
+ providerId: string;
1458
+ params?: JsonObject;
1459
+ }, TRequired> & {
1460
+ type: "workspace";
1461
+ /** Provider ids the user may choose from. Omit to offer every provider. */
1462
+ providers?: string[];
1463
+ };
1464
+ type JsonParam<T = unknown, TRequired extends boolean | undefined = boolean | undefined> = ParamBase<T, TRequired> & {
1465
+ type: "json";
1466
+ };
1467
+ type ListParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string[], TRequired> & {
1468
+ type: "list";
1469
+ };
1470
+ type ParamDescriptor<TValue = unknown, TRequired extends boolean | undefined = boolean | undefined> = TextParam<TRequired> | LongTextParam<TRequired> | MarkdownParam<TRequired> | NumberParam<TRequired> | BooleanParam<TRequired> | SelectParam<TRequired> | MultiSelectParam<TRequired> | FilesParam<TRequired> | HarnessParam<TRequired> | TemplateParam<TRequired> | ResourceParam<TRequired> | WorkspaceParam<TRequired> | JsonParam<TValue, TRequired> | ListParam<TRequired>;
1471
+ type ParamObjectSchema = Record<string, ParamDescriptor>;
1472
+ type ParamValue<TDescriptor extends ParamDescriptor> = TDescriptor extends ParamDescriptor<infer V> ? V : never;
1473
+ type RequiredParamKeys<TSchema extends ParamObjectSchema> = { [K in keyof TSchema]: TSchema[K] extends {
1474
+ required: true;
1475
+ } ? K : never; }[keyof TSchema];
1476
+ type OptionalParamKeys<TSchema extends ParamObjectSchema> = Exclude<keyof TSchema, RequiredParamKeys<TSchema>>;
1477
+ type ParamsOf<TSchema extends ParamObjectSchema> = { [K in RequiredParamKeys<TSchema>]: ParamValue<TSchema[K]>; } & { [K in OptionalParamKeys<TSchema>]?: ParamValue<TSchema[K]>; };
1478
+ //#endregion
1210
1479
  //#region ../pstdio-api-contracts/src/extension-kernel/types/renderer-base.d.ts
1211
1480
  /** A raw cross-extension id must be namespaced. Local events use an EventRef. */
1212
1481
  type RendererEventReference = EventRef | `${string}.${string}`;
@@ -1329,7 +1598,7 @@ interface WebviewHostCapabilityParams {
1329
1598
  "extension.settings.get": WebviewExtensionSettingKeyParams;
1330
1599
  "extension.settings.set": WebviewExtensionSettingSetParams;
1331
1600
  "extension.settings.delete": WebviewExtensionSettingKeyParams;
1332
- "terminal.session": TerminalSessionOperation$1;
1601
+ "terminal.session": TerminalSessionOperation;
1333
1602
  "files.upload": WebviewFilesUploadParams;
1334
1603
  "files.list": WebviewFilesListParams;
1335
1604
  "files.delete": WebviewFilesDeleteParams;
@@ -1361,7 +1630,7 @@ interface WebviewHostCapabilityResults {
1361
1630
  "extension.settings.get": unknown;
1362
1631
  "extension.settings.set": void;
1363
1632
  "extension.settings.delete": void;
1364
- "terminal.session": TerminalSessionResult$1;
1633
+ "terminal.session": TerminalSessionResult;
1365
1634
  "files.upload": ExtensionBlobRef;
1366
1635
  "files.list": {
1367
1636
  files: ExtensionBlobRef[];
@@ -1376,114 +1645,13 @@ type WebviewHostCapabilityResult<Capability extends WebviewHostCapability, Param
1376
1645
  op: "readText" | "imageUrl";
1377
1646
  } ? string : WebviewHostCapabilityResults[Capability] : Capability extends "terminal.session" ? Params extends {
1378
1647
  operation: "open";
1379
- } ? Extract<TerminalSessionResult$1, {
1648
+ } ? Extract<TerminalSessionResult, {
1380
1649
  operation: "open";
1381
1650
  }> : Params extends {
1382
1651
  operation: "write" | "resize" | "kill" | "subscribe";
1383
- } ? Exclude<TerminalSessionResult$1, {
1652
+ } ? Exclude<TerminalSessionResult, {
1384
1653
  operation: "open";
1385
- }> : TerminalSessionResult$1 : WebviewHostCapabilityResults[Capability];
1386
- //#endregion
1387
- //#region ../pstdio-api-contracts/src/extension-kernel/types/params.d.ts
1388
- type ParamType = "text" | "longtext" | "markdown" | "number" | "boolean" | "select" | "multi-select" | "files" | "harness" | "template" | "resource" | "workspace" | "json" | "list";
1389
- type ParamRequired<TRequired extends boolean | undefined> = TRequired extends true ? {
1390
- required: true;
1391
- } : TRequired extends false ? {
1392
- required: false;
1393
- } : {
1394
- required?: boolean;
1395
- };
1396
- type ParamBase<TValue, TRequired extends boolean | undefined = boolean | undefined> = {
1397
- label?: Localizable<string>;
1398
- description?: Localizable<string>;
1399
- defaultValue?: TValue;
1400
- metadata?: JsonObject;
1401
- resolvedFrom?: "resource";
1402
- } & ParamRequired<TRequired>;
1403
- type TextParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1404
- type: "text";
1405
- };
1406
- type LongTextParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1407
- type: "longtext";
1408
- };
1409
- type MarkdownParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1410
- type: "markdown";
1411
- placeholder?: Localizable<string>;
1412
- };
1413
- type NumberParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<number, TRequired> & {
1414
- type: "number";
1415
- };
1416
- type FilesParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string[], TRequired> & {
1417
- type: "files";
1418
- multiple?: boolean;
1419
- /** Passed through to the picker, e.g. "image/*". */
1420
- accept?: string;
1421
- };
1422
- type BooleanParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<boolean, TRequired> & {
1423
- type: "boolean";
1424
- };
1425
- type ParamValueRef = {
1426
- kind: "param-value";
1427
- key: string;
1428
- };
1429
- interface ParamOptionSource {
1430
- command: CommandRef;
1431
- valueField: string;
1432
- labelField: string;
1433
- params?: Record<string, unknown | ParamValueRef>;
1434
- }
1435
- type ParamOption = {
1436
- label: string;
1437
- value: string;
1438
- icon?: string;
1439
- };
1440
- type SelectParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1441
- type: "select";
1442
- options: ParamOption[] | ParamOptionSource;
1443
- allowCustomValues?: boolean;
1444
- };
1445
- type MultiSelectParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string[], TRequired> & {
1446
- type: "multi-select";
1447
- options: ParamOption[] | ParamOptionSource;
1448
- allowCustomValues?: boolean;
1449
- };
1450
- type HarnessParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<{
1451
- harnessId: string;
1452
- model?: string;
1453
- params?: Record<string, string | boolean>;
1454
- }, TRequired> & {
1455
- type: "harness";
1456
- };
1457
- type TemplateParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string, TRequired> & {
1458
- type: "template";
1459
- templateType: string;
1460
- };
1461
- type ResourceParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<ResourceRef, TRequired> & {
1462
- type: "resource";
1463
- resourceType: string;
1464
- };
1465
- type WorkspaceParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<{
1466
- providerId: string;
1467
- params?: JsonObject;
1468
- }, TRequired> & {
1469
- type: "workspace";
1470
- /** Provider ids the user may choose from. Omit to offer every provider. */
1471
- providers?: string[];
1472
- };
1473
- type JsonParam<T = unknown, TRequired extends boolean | undefined = boolean | undefined> = ParamBase<T, TRequired> & {
1474
- type: "json";
1475
- };
1476
- type ListParam<TRequired extends boolean | undefined = boolean | undefined> = ParamBase<string[], TRequired> & {
1477
- type: "list";
1478
- };
1479
- type ParamDescriptor<TValue = unknown, TRequired extends boolean | undefined = boolean | undefined> = TextParam<TRequired> | LongTextParam<TRequired> | MarkdownParam<TRequired> | NumberParam<TRequired> | BooleanParam<TRequired> | SelectParam<TRequired> | MultiSelectParam<TRequired> | FilesParam<TRequired> | HarnessParam<TRequired> | TemplateParam<TRequired> | ResourceParam<TRequired> | WorkspaceParam<TRequired> | JsonParam<TValue, TRequired> | ListParam<TRequired>;
1480
- type ParamObjectSchema = Record<string, ParamDescriptor>;
1481
- type ParamValue<TDescriptor extends ParamDescriptor> = TDescriptor extends ParamDescriptor<infer V> ? V : never;
1482
- type RequiredParamKeys<TSchema extends ParamObjectSchema> = { [K in keyof TSchema]: TSchema[K] extends {
1483
- required: true;
1484
- } ? K : never; }[keyof TSchema];
1485
- type OptionalParamKeys<TSchema extends ParamObjectSchema> = Exclude<keyof TSchema, RequiredParamKeys<TSchema>>;
1486
- type ParamsOf<TSchema extends ParamObjectSchema> = { [K in RequiredParamKeys<TSchema>]: ParamValue<TSchema[K]>; } & { [K in OptionalParamKeys<TSchema>]?: ParamValue<TSchema[K]>; };
1654
+ }> : TerminalSessionResult : WebviewHostCapabilityResults[Capability];
1487
1655
  //#endregion
1488
1656
  //#region ../pstdio-api-contracts/src/extension-kernel/types/view-toolbar-action.d.ts
1489
1657
  interface ViewToolbarAction<TParams extends Struct = Struct> {
@@ -1517,6 +1685,11 @@ type KanbanRendererAttributeType = {
1517
1685
  } | {
1518
1686
  kind: "status";
1519
1687
  statuses: StatusRef;
1688
+ } |
1689
+ /** Maps old enum IDs when saved views are read. Row values must still be booleans. */
1690
+ {
1691
+ kind: "boolean";
1692
+ legacyValues?: Record<string, boolean>;
1520
1693
  } | {
1521
1694
  kind: "string";
1522
1695
  } | {
@@ -1551,24 +1724,45 @@ interface KanbanRendererSettings {
1551
1724
  viewMode: KanbanRendererViewMode;
1552
1725
  columnGrouping: string;
1553
1726
  rowGrouping: string;
1727
+ /**
1728
+ * @deprecated Use the view's `sorts`. The host still sends the first sort here, or
1729
+ * `{ attributeId: "manual", direction: "asc" }` when the view has no sorts.
1730
+ */
1554
1731
  ordering: {
1555
1732
  attributeId: string;
1556
1733
  direction: KanbanRendererSortDirection;
1557
1734
  };
1558
1735
  displayProperties: string[];
1559
1736
  }
1737
+ /** Display settings stored in a view. Order lives in the view's `sorts`. */
1738
+ type KanbanRendererViewSettings = Omit<KanbanRendererSettings, "ordering"> & {
1739
+ /** @deprecated Use the view's `sorts`. */
1740
+ ordering?: KanbanRendererSettings["ordering"];
1741
+ };
1742
+ /** @deprecated Use `ViewFilterGroup`. */
1560
1743
  type KanbanRendererFilterState = Record<string, string[]>;
1561
1744
  interface KanbanRendererSavedView {
1562
1745
  id: string;
1563
1746
  title: Localizable<string>;
1564
- settings: KanbanRendererSettings;
1565
- filters: KanbanRendererFilterState;
1747
+ settings: KanbanRendererViewSettings;
1748
+ filter?: ViewFilterGroup;
1749
+ sorts?: ViewSort[];
1750
+ /** @deprecated Use `filter`. When both are set, `filter` wins. */
1751
+ filters?: KanbanRendererFilterState;
1566
1752
  /** @deprecated Use the renderer's defaultActiveViewId instead. */
1567
1753
  isDefault?: boolean;
1568
1754
  }
1569
1755
  interface KanbanRendererQueryParams {
1570
1756
  renderer: RendererContext;
1571
1757
  settings: KanbanRendererSettings;
1758
+ /** The view's full filter. Use it only to narrow what you load; the renderer applies it to the rows you return. */
1759
+ filter: ViewFilterGroup;
1760
+ /** The view's sorts, first level first. The renderer applies them to the rows you return. */
1761
+ sorts: ViewSort[];
1762
+ /**
1763
+ * @deprecated Read `filter`. Derived from the root "is any of" and "has any of" rules when the root
1764
+ * conjunction is "and".
1765
+ */
1572
1766
  filters: KanbanRendererFilterState;
1573
1767
  }
1574
1768
  type KanbanRendererResourceRef = ResourceRef;
@@ -1645,6 +1839,9 @@ interface KanbanRendererContribution extends RendererContributionBase {
1645
1839
  rowActions?: KanbanRendererRowAction[];
1646
1840
  onRowActivate?: KanbanRendererRowActivationHandler;
1647
1841
  defaultSettings?: Partial<KanbanRendererSettings>;
1842
+ defaultFilter?: ViewFilterGroup;
1843
+ defaultSorts?: ViewSort[];
1844
+ /** @deprecated Use `defaultFilter`. When both are set, `defaultFilter` wins. */
1648
1845
  defaultFilters?: KanbanRendererFilterState;
1649
1846
  defaultViews?: KanbanRendererSavedView[];
1650
1847
  defaultActiveViewId?: string;
@@ -1770,6 +1967,11 @@ type ExtensionSettingProperty<TType extends ExtensionSettingValueType = Extensio
1770
1967
  scope: ExtensionSettingScope;
1771
1968
  default?: ExtensionSettingValueForType<TSettingType>;
1772
1969
  enum?: ExtensionSettingValueForType<TSettingType>[];
1970
+ /**
1971
+ * String settings only. Loads the choices from a command when the settings form
1972
+ * opens, like a command param's `options`. Saved values are not checked against it.
1973
+ */
1974
+ options?: TSettingType extends "string" ? ParamOptionSource : never;
1773
1975
  title?: Localizable<string>;
1774
1976
  description?: Localizable<string>;
1775
1977
  }; }[TType];
@@ -2066,8 +2268,108 @@ type HarnessRecoveryResult = {
2066
2268
  kind: "recovered";
2067
2269
  messages: SessionMessage[];
2068
2270
  } | {
2069
- kind: "conflict";
2070
- category: string;
2271
+ kind: "conflict";
2272
+ category: string;
2273
+ };
2274
+ //#endregion
2275
+ //#region ../pstdio-api-contracts/src/harness-commands.d.ts
2276
+ declare const harnessCommandStateSchema: z.ZodObject<{
2277
+ commands: z.ZodArray<z.ZodObject<{
2278
+ name: z.ZodString;
2279
+ description: z.ZodString;
2280
+ argumentHelp: z.ZodOptional<z.ZodString>;
2281
+ composer: z.ZodOptional<z.ZodObject<{
2282
+ label: z.ZodString;
2283
+ modeId: z.ZodOptional<z.ZodString>;
2284
+ reservedArguments: z.ZodOptional<z.ZodArray<z.ZodString>>;
2285
+ }, z.core.$strip>>;
2286
+ disabledReason: z.ZodOptional<z.ZodString>;
2287
+ }, z.core.$strip>>;
2288
+ modes: z.ZodArray<z.ZodObject<{
2289
+ id: z.ZodString;
2290
+ label: z.ZodString;
2291
+ description: z.ZodString;
2292
+ state: z.ZodString;
2293
+ indicator: z.ZodOptional<z.ZodObject<{
2294
+ label: z.ZodString;
2295
+ tone: z.ZodEnum<{
2296
+ error: "error";
2297
+ success: "success";
2298
+ neutral: "neutral";
2299
+ info: "info";
2300
+ warning: "warning";
2301
+ }>;
2302
+ }, z.core.$strip>>;
2303
+ tagText: z.ZodOptional<z.ZodString>;
2304
+ closeActionId: z.ZodOptional<z.ZodString>;
2305
+ confirmation: z.ZodOptional<z.ZodObject<{
2306
+ id: z.ZodString;
2307
+ title: z.ZodString;
2308
+ actionId: z.ZodString;
2309
+ cancelLabel: z.ZodOptional<z.ZodString>;
2310
+ model: z.ZodOptional<z.ZodString>;
2311
+ }, z.core.$strip>>;
2312
+ actions: z.ZodArray<z.ZodObject<{
2313
+ id: z.ZodString;
2314
+ label: z.ZodString;
2315
+ icon: z.ZodOptional<z.ZodString>;
2316
+ argument: z.ZodOptional<z.ZodObject<{
2317
+ label: z.ZodString;
2318
+ value: z.ZodOptional<z.ZodString>;
2319
+ }, z.core.$strip>>;
2320
+ }, z.core.$strip>>;
2321
+ }, z.core.$strip>>;
2322
+ slashCommands: z.ZodBoolean;
2323
+ }, z.core.$strip>;
2324
+ declare const harnessOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2325
+ kind: z.ZodLiteral<"command">;
2326
+ text: z.ZodString;
2327
+ }, z.core.$strict>, z.ZodObject<{
2328
+ kind: z.ZodLiteral<"mode-action">;
2329
+ modeId: z.ZodString;
2330
+ actionId: z.ZodString;
2331
+ argument: z.ZodOptional<z.ZodString>;
2332
+ }, z.core.$strict>], "kind">;
2333
+ type HarnessCommandState = z.infer<typeof harnessCommandStateSchema>;
2334
+ type HarnessOperation = z.infer<typeof harnessOperationSchema>;
2335
+ type HarnessCommandContext = {
2336
+ sessionId: string;
2337
+ agentSessionId?: string;
2338
+ cwd?: string;
2339
+ workspace?: HarnessWorkspaceContext;
2340
+ model?: string | null;
2341
+ params?: HarnessParams;
2342
+ };
2343
+ /** Discovery also runs before a conversation has a host or native session. */
2344
+ type HarnessCommandDiscoveryContext = Omit<HarnessCommandContext, "sessionId"> & {
2345
+ sessionId?: string;
2346
+ };
2347
+ declare const draftHarnessCommandInputSchema: z.ZodObject<{
2348
+ project_id: z.ZodString;
2349
+ agent: z.ZodString;
2350
+ workspace_id: z.ZodOptional<z.ZodString>;
2351
+ model: z.ZodOptional<z.ZodString>;
2352
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
2353
+ }, z.core.$strict>;
2354
+ type DraftHarnessCommandInput = z.infer<typeof draftHarnessCommandInputSchema>;
2355
+ type HarnessOperationResult = {
2356
+ kind: "completed";
2357
+ message?: string;
2358
+ params?: HarnessParams;
2359
+ } | {
2360
+ kind: "started";
2361
+ session: HarnessSession;
2362
+ params?: HarnessParams;
2363
+ };
2364
+ type PreparedHarnessOperation = {
2365
+ /** Controls may run during a turn. Exclusive work acquires the host execution slot. */
2366
+ execution: "control" | "exclusive";
2367
+ invoke(input: {
2368
+ events: HarnessEventSink;
2369
+ approvals?: HarnessApprovalChannel;
2370
+ questions?: HarnessQuestionChannel;
2371
+ signal?: AbortSignal;
2372
+ }): Promise<HarnessOperationResult>;
2071
2373
  };
2072
2374
  //#endregion
2073
2375
  //#region ../pstdio-api-contracts/src/extension-kernel/types/harness.d.ts
@@ -2107,9 +2409,12 @@ interface HarnessSkillsLayout {
2107
2409
  type RetryableHarnessReattachError = Error & {
2108
2410
  readonly retryable: true;
2109
2411
  };
2110
- type HarnessParamDescriptor = (Omit<SelectParam, "options" | "allowCustomValues"> & {
2412
+ type HarnessParamDescriptor = ((Omit<SelectParam, "options" | "allowCustomValues"> & {
2111
2413
  options: ParamOption[];
2112
- }) | BooleanParam;
2414
+ }) | BooleanParam) & {
2415
+ /** Commands own this parameter's composer control instead of an inline parameter picker. */
2416
+ control?: "command";
2417
+ };
2113
2418
  type HarnessParamsSchema = Record<string, HarnessParamDescriptor>;
2114
2419
  /**
2115
2420
  * An agent harness contributed by an extension. The host injects the event sink
@@ -2118,6 +2423,10 @@ type HarnessParamsSchema = Record<string, HarnessParamDescriptor>;
2118
2423
  */
2119
2424
  interface HarnessProvider extends ContributionDefinition<"harness"> {
2120
2425
  label: Localizable<string>;
2426
+ /** Native commands and optional mode presentation. Older harnesses may omit both methods. */
2427
+ getCommandState?(ctx: HarnessContext, input: HarnessCommandDiscoveryContext): MaybePromise<HarnessCommandState>;
2428
+ /** Validate and describe execution needs without performing a mutation. */
2429
+ prepareOperation?(ctx: HarnessContext, input: HarnessCommandContext, operation: HarnessOperation): MaybePromise<PreparedHarnessOperation>;
2121
2430
  /** Declares skill directories so the host installs project skills for this agent. Absent = no skill setup. */
2122
2431
  skills?: HarnessSkillsLayout;
2123
2432
  /** Discrete run params the host can render, persist as defaults, validate, and pass to start/resume. */
@@ -2386,8 +2695,33 @@ interface ControlsRendererContribution extends RendererContributionBase {
2386
2695
  //#endregion
2387
2696
  //#region ../pstdio-api-contracts/src/extension-kernel/types/data-table-renderer.d.ts
2388
2697
  type DataTableRendererResourceRef = ResourceRef;
2698
+ /** Display settings stored in a data table view. */
2699
+ interface DataTableRendererSettings {
2700
+ /** A groupable column id, or "none". */
2701
+ grouping: string;
2702
+ rowNumbers: boolean;
2703
+ wrapRows: boolean;
2704
+ showStats: boolean;
2705
+ hiddenColumns: string[];
2706
+ /** Column ids in display order. An empty list means the declared order. */
2707
+ columnOrder: string[];
2708
+ }
2709
+ /** What a data table view shows until a contribution or a saved view says otherwise. */
2710
+ declare const DEFAULT_DATA_TABLE_SETTINGS: DataTableRendererSettings;
2711
+ interface DataTableRendererSavedView {
2712
+ id: string;
2713
+ title: Localizable<string>;
2714
+ settings?: Partial<DataTableRendererSettings>;
2715
+ filter?: ViewFilterGroup;
2716
+ sorts?: ViewSort[];
2717
+ }
2389
2718
  interface DataTableRendererQueryParams {
2390
2719
  renderer: RendererContext;
2720
+ /** The view's full filter. Use it only to narrow what you load; the renderer applies it to the rows you return. */
2721
+ filter: ViewFilterGroup;
2722
+ /** The view's sorts, first level first. The renderer applies them to the rows you return. */
2723
+ sorts: ViewSort[];
2724
+ settings: DataTableRendererSettings;
2391
2725
  }
2392
2726
  interface DataTableRendererThemeColor {
2393
2727
  light: string;
@@ -2424,6 +2758,12 @@ type DataTableRendererColumnRenderer = {
2424
2758
  interface DataTableRendererColumn {
2425
2759
  id: string;
2426
2760
  label?: Localizable<string>;
2761
+ /** How filters and sorts compare the column. Without it, the type is inferred from the values. */
2762
+ type?: "string" | "number" | "boolean" | "date";
2763
+ /** Offers the column under Grouping in the table's Display menu. */
2764
+ groupable?: boolean;
2765
+ /** Whether this column can be filtered. Defaults to true. */
2766
+ filterable?: boolean;
2427
2767
  description?: Localizable<string>;
2428
2768
  icon?: string;
2429
2769
  hidden?: boolean;
@@ -2466,6 +2806,11 @@ interface DataTableRendererContribution extends RendererContributionBase {
2466
2806
  onRowActivate?: DataTableRendererRowActivationHandler;
2467
2807
  initialPageSize?: number;
2468
2808
  pageSizeOptions?: number[];
2809
+ defaultSettings?: Partial<DataTableRendererSettings>;
2810
+ defaultFilter?: ViewFilterGroup;
2811
+ defaultSorts?: ViewSort[];
2812
+ defaultViews?: DataTableRendererSavedView[];
2813
+ defaultActiveViewId?: string;
2469
2814
  }
2470
2815
  //#endregion
2471
2816
  //#region ../pstdio-api-contracts/src/extension-kernel/types/tree-renderer.d.ts
@@ -2554,6 +2899,7 @@ type TreeRendererCommandResult = TreeViewSection[] | TreeNode[] | JsonValue;
2554
2899
  //#region ../pstdio-api-contracts/src/extension-kernel/types/views.d.ts
2555
2900
  type NativeViewBody<Kind extends string, Definition> = {
2556
2901
  readonly kind: Kind;
2902
+ readonly resourceKind?: ResourceKindRef;
2557
2903
  } & Omit<Definition, "title" | "icon" | "resourceKind">;
2558
2904
  type WebviewViewBody = {
2559
2905
  readonly kind: "webview";
@@ -2683,6 +3029,17 @@ interface PageSlotRef {
2683
3029
  readonly id: string;
2684
3030
  }
2685
3031
  type PanelRef = PlacementRef | PageSlotRef;
3032
+ /** Projects the selected document from resource metadata into page URLs. */
3033
+ interface PageDocumentDeclaration {
3034
+ readonly metadataKey: string;
3035
+ }
3036
+ /** One-based source coordinates. Owners clamp them to the loaded document. */
3037
+ interface FileSourcePosition {
3038
+ readonly line: number;
3039
+ readonly column?: number;
3040
+ readonly endLine?: number;
3041
+ readonly endColumn?: number;
3042
+ }
2686
3043
  interface PageContribution extends ContributionDefinition<"page"> {
2687
3044
  readonly title: Localizable<string>;
2688
3045
  readonly icon?: string;
@@ -2690,6 +3047,7 @@ interface PageContribution extends ContributionDefinition<"page"> {
2690
3047
  readonly mode: ModeRef;
2691
3048
  readonly parent?: PageRef;
2692
3049
  readonly resource?: ResourceConstraint;
3050
+ readonly document?: PageDocumentDeclaration;
2693
3051
  readonly main: PageMain;
2694
3052
  readonly slots: readonly PageSlot[];
2695
3053
  readonly panels: Readonly<Record<string, PageSlotRef>>;
@@ -2713,6 +3071,7 @@ interface PageLocation {
2713
3071
  readonly page: PageRef;
2714
3072
  readonly resource?: ResourceRef;
2715
3073
  readonly section?: FileRendererSectionTarget;
3074
+ readonly position?: FileSourcePosition;
2716
3075
  readonly parent?: PageLocation;
2717
3076
  }
2718
3077
  //#endregion
@@ -2752,7 +3111,7 @@ interface StatusBarItemContribution extends ContributionDefinition<"status-bar-i
2752
3111
  //#endregion
2753
3112
  //#region ../pstdio-api-contracts/src/extension-kernel/types/extension.d.ts
2754
3113
  /** Current host extension API version. `engines.pstdio` declares caret ranges, such as `^0.1.0`. */
2755
- declare const EXTENSION_API_VERSION = "0.1.1";
3114
+ declare const EXTENSION_API_VERSION = "0.1.2";
2756
3115
  type SchemaParams<TSchema extends ParamObjectSchema | undefined> = TSchema extends ParamObjectSchema ? ParamsOf<TSchema> : Record<string, never>;
2757
3116
  interface WorkspaceProviderRef {
2758
3117
  version: number;
@@ -2790,6 +3149,7 @@ interface WorkspaceCapabilities {
2790
3149
  diff: boolean;
2791
3150
  merge: boolean;
2792
3151
  rebase: boolean;
3152
+ /** @deprecated Use delete. */
2793
3153
  archive: boolean;
2794
3154
  delete: boolean;
2795
3155
  }
@@ -2856,6 +3216,7 @@ interface WorkspaceTypeProvider extends ContributionDefinition<"workspace-type">
2856
3216
  create(ctx: ExtensionContextBase, input: WorkspaceProviderCreateInput): MaybePromise<WorkspaceProviderResult>;
2857
3217
  resolve(ctx: ExtensionContextBase, input: WorkspaceProviderResolveInput): MaybePromise<WorkspaceProviderResult>;
2858
3218
  cancel?(ctx: ExtensionContextBase, input: WorkspaceProviderMutationInput): MaybePromise<WorkspaceProviderResult>;
3219
+ /** @deprecated Use the delete hook. */
2859
3220
  archive?(ctx: ExtensionContextBase, input: WorkspaceProviderMutationInput): MaybePromise<WorkspaceProviderResult>;
2860
3221
  delete?(ctx: ExtensionContextBase, input: WorkspaceProviderMutationInput): MaybePromise<void>;
2861
3222
  }
@@ -3010,9 +3371,10 @@ interface ExtensionWorkspacesApi {
3010
3371
  getByShorthand(shorthand: string): Promise<ExtensionWorkspace | null>;
3011
3372
  create(input: CreateExtensionWorkspaceInput): Promise<ExtensionWorkspace>;
3012
3373
  addAnchors(workspaceId: string, anchors: ResourceAnchor[]): Promise<void>;
3013
- removeAnchors(workspaceId: string, refs: Pick<ResourceRef, "type" | "id">[]): Promise<void>;
3374
+ removeAnchors(workspaceId: string, refs: ResourceRef[]): Promise<void>;
3014
3375
  resolve(id: string): Promise<WorkspaceProviderResult>;
3015
3376
  cancel(id: string): Promise<ExtensionWorkspace>;
3377
+ /** @deprecated Use delete(id). */
3016
3378
  archive(id: string): Promise<ExtensionWorkspace>;
3017
3379
  removeWorktree(id: string): Promise<{
3018
3380
  removed: boolean;
@@ -3180,11 +3542,13 @@ interface ExtensionSessionsApi {
3180
3542
  attachments?: SessionAttachmentRef[];
3181
3543
  }): Promise<void>;
3182
3544
  addAnchors(sessionId: string, anchors: ResourceAnchor[]): Promise<void>;
3183
- removeAnchors(sessionId: string, refs: Pick<ResourceRef, "type" | "id">[]): Promise<void>;
3545
+ removeAnchors(sessionId: string, refs: ResourceRef[]): Promise<void>;
3184
3546
  }
3185
3547
  interface ExtensionHarnessInput {
3186
3548
  harnessId: string;
3187
3549
  model?: string;
3550
+ /** Run params the harness declares for the model, such as reasoning effort. They override the project's defaults. */
3551
+ params?: Record<string, string | boolean>;
3188
3552
  }
3189
3553
  interface ExtensionEventsApi {
3190
3554
  emit<TPayload extends Struct>(event: EventRef<TPayload> | string, payload: TPayload): Promise<EventDeliveryResult>;
@@ -3241,7 +3605,7 @@ interface ExtensionProcessApi {
3241
3605
  }
3242
3606
  /** Opens long-lived, interactive PTY sessions. Complements {@link ExtensionProcessApi}'s run-to-completion model. */
3243
3607
  interface ExtensionTerminalApi {
3244
- openSession(request: TerminalSessionRequest$1): TerminalSessionHandle;
3608
+ openSession(request: TerminalSessionRequest): TerminalSessionHandle;
3245
3609
  }
3246
3610
  interface ExtensionNetApi {
3247
3611
  findFreePort(input?: {
@@ -3377,6 +3741,7 @@ interface NavigationTargetPage {
3377
3741
  page: PageRef;
3378
3742
  resource?: ResourceRef;
3379
3743
  section?: FileRendererSectionTarget;
3744
+ position?: FileSourcePosition;
3380
3745
  open?: PageOpenIntent;
3381
3746
  parent?: NavigationTargetPage;
3382
3747
  }
@@ -3556,6 +3921,8 @@ interface ResourceKindDefinition extends ContributionDefinition<"resource-kind">
3556
3921
  * such as a selected document, from `ctx.resource`.
3557
3922
  */
3558
3923
  readonly resolve?: CommandRef;
3924
+ /** Validate an explicit anchor change. Return ResourceAnchorValidationResult. Must not mutate links. */
3925
+ readonly validateAnchors?: CommandRef;
3559
3926
  }
3560
3927
  interface ResourceHierarchyProvider extends ContributionDefinition<"resource-hierarchy-provider"> {
3561
3928
  resourceKind: ResourceKindRef;
@@ -3776,6 +4143,19 @@ declare const localContributionIdPattern: RegExp;
3776
4143
  declare const isValidLocalContributionId: (id: string) => boolean;
3777
4144
  declare const localContributionIdGrammar = "lowercase kebab-case segments separated by dots, such as \"ticket-status.create\"";
3778
4145
  //#endregion
4146
+ //#region ../pstdio-api-contracts/src/extension-kernel/data-table-values.d.ts
4147
+ /** The value used by table filters and sorts, independent of its rendered label. */
4148
+ declare const resolveDataTableComparableValue: (value: unknown, renderer?: {
4149
+ type: string;
4150
+ }) => unknown;
4151
+ /** The host and renderer must offer the same conditions for a column. */
4152
+ declare const resolveDataTableFieldKind: (values: unknown[], column?: {
4153
+ type?: "string" | "number" | "boolean" | "date";
4154
+ renderer?: {
4155
+ type: string;
4156
+ };
4157
+ }) => "string" | "number" | "boolean" | "date";
4158
+ //#endregion
3779
4159
  //#region ../pstdio-api-contracts/src/extension-kernel/kernel-slots.d.ts
3780
4160
  /** Provider that owns the workspace location and lifecycle. */
3781
4161
  type WorkspaceType = string;
@@ -3872,9 +4252,16 @@ declare const sessionEvents: {
3872
4252
  anchors?: ResourceAnchor[];
3873
4253
  }>;
3874
4254
  resumed: EventRef<SessionLifecyclePayload>;
4255
+ /** The session asked the person a question and waits for the answer. */
3875
4256
  awaitingInput: EventRef<SessionLifecyclePayload>;
4257
+ /** The run ended with status `completed`. */
3876
4258
  succeeded: EventRef<SessionLifecyclePayload>;
4259
+ /** The run ended with status `failed`. */
3877
4260
  failed: EventRef<SessionLifecyclePayload>;
4261
+ /**
4262
+ * The run ended with any terminal status: `completed`, `failed`, `cancelled`, or `disconnected`.
4263
+ * Read `sessionStatus` to tell them apart.
4264
+ */
3878
4265
  completed: EventRef<SessionLifecyclePayload & {
3879
4266
  anchors?: ResourceAnchor[];
3880
4267
  }>;
@@ -3887,6 +4274,7 @@ declare const workspaceEvents: {
3887
4274
  provision: EventRef<WorkspaceProvisionPayload>;
3888
4275
  /** Fire-and-forget after the workspace is ready: background setup (deps install, builds). */
3889
4276
  ready: EventRef<WorkspaceProvisionPayload>;
4277
+ /** @deprecated Use workspaceEvents.deleted. */
3890
4278
  archived: EventRef<{
3891
4279
  workspace: ExtensionWorkspace;
3892
4280
  }>;
@@ -3943,6 +4331,9 @@ declare const eventRef: <TPayload extends Struct = Struct>(input: ExternalRefInp
3943
4331
  */
3944
4332
  declare const defineSlot: <TContext extends Struct = Struct, TKind extends UiSlotKind = UiSlotKind>(id: string, options: SlotOptions<TKind>) => SlotRef<TContext, TKind>;
3945
4333
  //#endregion
4334
+ //#region ../pstdio-api-contracts/src/extension-kernel/source-position.d.ts
4335
+ declare const isFileSourcePosition: (value: unknown) => value is FileSourcePosition;
4336
+ //#endregion
3946
4337
  //#region ../pstdio-api-contracts/src/ordered-history-merge.d.ts
3947
4338
  interface OrderedHistoryMerge<T> {
3948
4339
  key: (item: T) => string;
@@ -4012,6 +4403,23 @@ type CommandResponse<TResult = unknown> = {
4012
4403
  };
4013
4404
  declare const unwrapCommandOutcome: <TResult>(response: CommandResponse<TResult>, fallbackReason?: string) => TResult;
4014
4405
  //#endregion
4406
+ //#region src/extensions/contribution-reference.d.ts
4407
+ /**
4408
+ * Resolve a contribution ref to its registered id. Host refs keep their id; every other
4409
+ * ref becomes `${extensionId}.${kind}.${id}`. A ref without an extension id belongs to
4410
+ * `ownerExtensionId`, or to the host when there is no owner.
4411
+ */
4412
+ declare const contributionRefId: (ref: {
4413
+ extensionId?: string;
4414
+ kind: string;
4415
+ id: string;
4416
+ }, ownerExtensionId?: string) => string;
4417
+ /** Resolve a command ref to its registered command id, with the same rules as `contributionRefId`. */
4418
+ declare const commandRefId: (ref: {
4419
+ extensionId?: string;
4420
+ id: string;
4421
+ }, ownerExtensionId?: string) => string;
4422
+ //#endregion
4015
4423
  //#region src/extensions/define-command.d.ts
4016
4424
  type CommandContribution<TSchema extends ParamObjectSchema | undefined, TResult> = CommandDefinition<TSchema, TResult> & ContributionDefinition<"command">;
4017
4425
  type CommandInput<TSchema extends ParamObjectSchema | undefined, TResult> = Omit<CommandDefinition<TSchema, TResult>, "ref">;
@@ -4189,6 +4597,7 @@ interface PageUrlDefinition {
4189
4597
  id: string;
4190
4598
  ref: PageRef;
4191
4599
  path: string;
4600
+ document?: PageDocumentDeclaration;
4192
4601
  }
4193
4602
  interface PageResourceCodec {
4194
4603
  normalize(resource: ResourceRef): ResourceRef;
@@ -4206,6 +4615,7 @@ interface ParsedWorkbenchPageUrl {
4206
4615
  pageId: string;
4207
4616
  resource?: ResourceRef;
4208
4617
  section?: FileRendererSectionTarget;
4618
+ position?: FileSourcePosition;
4209
4619
  }
4210
4620
  declare const parseWorkbenchPageUrl: (input: {
4211
4621
  url: string;
@@ -4218,6 +4628,7 @@ declare const serializePageUrl: (input: {
4218
4628
  projectId: string;
4219
4629
  page: PageUrlDefinition;
4220
4630
  resource?: ResourceRef;
4631
+ position?: FileSourcePosition;
4221
4632
  }) => string;
4222
4633
  /** Resolve a dashboard URL against the caller's declared pages and project. */
4223
4634
  declare const parsePageUrl: (input: {
@@ -4298,77 +4709,14 @@ declare const commandEvent: <TPhase extends CommandLifecyclePhase, TParams exten
4298
4709
  declare function resourceKey(resource: ResourceRef): string;
4299
4710
  declare function resourceKey(resource: ResourceRef | undefined): string | undefined;
4300
4711
  //#endregion
4301
- //#region src/api/terminal.d.ts
4302
- interface TerminalSessionRequest {
4303
- /** Command + args to run; defaults to the user's login shell when omitted. */
4304
- command?: string[];
4305
- /** Working directory; falls back to the extension's workspace root. */
4306
- cwd?: string;
4307
- /** Extra env vars merged over the inherited environment. */
4308
- env?: Record<string, string>;
4309
- /** Initial column count; the renderer can resize later. */
4310
- cols: number;
4311
- /** Initial row count; the renderer can resize later. */
4312
- rows: number;
4313
- }
4314
- type TerminalSessionOperation = {
4315
- operation: "open";
4316
- request: TerminalSessionRequest;
4317
- } | {
4318
- operation: "write";
4319
- sessionId: string;
4320
- data: string | Uint8Array;
4321
- } | {
4322
- operation: "resize";
4323
- sessionId: string;
4324
- cols: number;
4325
- rows: number;
4326
- } | {
4327
- operation: "kill";
4328
- sessionId: string;
4329
- signal?: string;
4330
- } | {
4331
- operation: "subscribe";
4332
- sessionId: string;
4333
- };
4334
- type TerminalSessionResult = {
4335
- operation: "open";
4336
- sessionId: string;
4337
- } | {
4338
- operation: "write" | "resize" | "kill" | "subscribe";
4339
- accepted: true;
4340
- };
4341
- type TerminalHostEvent = {
4342
- sessionId: string;
4343
- kind: "data";
4344
- chunk: Uint8Array;
4345
- } | {
4346
- sessionId: string;
4347
- kind: "exit";
4348
- code: number | null;
4349
- signal: string | null;
4350
- };
4351
- //#endregion
4352
4712
  //#region src/extensions/terminal-session-bridge.d.ts
4353
- interface TerminalSessionExit {
4354
- code: number | null;
4355
- signal: string | null;
4356
- }
4357
4713
  /**
4358
- * Renderer-side session over the `terminal.session` capability. Structurally
4359
- * compatible with the `TerminalSessionAdapter` contract of `@pstdio/ui/terminal`,
4360
- * so it plugs straight into the `Terminal` component's `bridge` prop.
4714
+ * Renderer-side session over the `terminal.session` capability. It is the shared
4715
+ * renderer adapter with an awaitable `kill`, so it plugs straight into the
4716
+ * `Terminal` component's `bridge` prop.
4361
4717
  */
4362
- interface TerminalSessionAdapter {
4363
- readonly id: string;
4364
- write(data: string | Uint8Array): void;
4365
- resize(cols: number, rows: number): void;
4718
+ interface TerminalSessionAdapter extends TerminalSessionAdapter$1 {
4366
4719
  kill(signal?: string): Promise<void>;
4367
- onData(handler: (chunk: Uint8Array) => void): () => void;
4368
- onExit(handler: (exit: TerminalSessionExit) => void): () => void;
4369
- onError(handler: (error: {
4370
- message: string;
4371
- }) => void): () => void;
4372
4720
  }
4373
4721
  interface TerminalSessionBridge {
4374
4722
  openSession(request: TerminalSessionRequest): Promise<TerminalSessionAdapter>;
@@ -4475,11 +4823,11 @@ declare const projectPrefix: () => {
4475
4823
  //#endregion
4476
4824
  //#region ../pstdio-api-contracts/src/automation.d.ts
4477
4825
  declare const automationRunStatusSchema: z.ZodEnum<{
4478
- queued: "queued";
4826
+ rejected: "rejected";
4479
4827
  failed: "failed";
4480
- cancelled: "cancelled";
4481
4828
  running: "running";
4482
- rejected: "rejected";
4829
+ queued: "queued";
4830
+ cancelled: "cancelled";
4483
4831
  succeeded: "succeeded";
4484
4832
  }>;
4485
4833
  declare const issueAutomationTokenInputSchema: z.ZodObject<{
@@ -4556,11 +4904,11 @@ declare const automationRunSchema: z.ZodObject<{
4556
4904
  projectId: z.ZodString;
4557
4905
  commandId: z.ZodString;
4558
4906
  status: z.ZodEnum<{
4559
- queued: "queued";
4907
+ rejected: "rejected";
4560
4908
  failed: "failed";
4561
- cancelled: "cancelled";
4562
4909
  running: "running";
4563
- rejected: "rejected";
4910
+ queued: "queued";
4911
+ cancelled: "cancelled";
4564
4912
  succeeded: "succeeded";
4565
4913
  }>;
4566
4914
  createdAt: z.ZodString;
@@ -4607,16 +4955,39 @@ declare const boardFieldSchema: z.ZodObject<{
4607
4955
  kind: z.ZodEnum<{
4608
4956
  string: "string";
4609
4957
  number: "number";
4958
+ boolean: "boolean";
4610
4959
  status: "status";
4611
4960
  date: "date";
4612
4961
  enum: "enum";
4613
4962
  "enum-multi": "enum-multi";
4614
4963
  user: "user";
4615
4964
  }>;
4965
+ conditions: z.ZodArray<z.ZodEnum<{
4966
+ contains: "contains";
4967
+ "does-not-contain": "does-not-contain";
4968
+ is: "is";
4969
+ "is-not": "is-not";
4970
+ gt: "gt";
4971
+ gte: "gte";
4972
+ lt: "lt";
4973
+ lte: "lte";
4974
+ "is-before": "is-before";
4975
+ "is-after": "is-after";
4976
+ "is-on-or-before": "is-on-or-before";
4977
+ "is-on-or-after": "is-on-or-after";
4978
+ "is-any-of": "is-any-of";
4979
+ "is-none-of": "is-none-of";
4980
+ "has-any-of": "has-any-of";
4981
+ "has-all-of": "has-all-of";
4982
+ "has-none-of": "has-none-of";
4983
+ "is-empty": "is-empty";
4984
+ "is-not-empty": "is-not-empty";
4985
+ }>>;
4616
4986
  filterable: z.ZodBoolean;
4617
4987
  groupable: z.ZodBoolean;
4618
4988
  sortable: z.ZodBoolean;
4619
4989
  displayable: z.ZodBoolean;
4990
+ legacyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4620
4991
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
4621
4992
  value: z.ZodString;
4622
4993
  label: z.ZodString;
@@ -4625,23 +4996,50 @@ declare const boardFieldSchema: z.ZodObject<{
4625
4996
  declare const boardSummarySchema: z.ZodObject<{
4626
4997
  id: z.ZodString;
4627
4998
  title: z.ZodString;
4628
- extensionId: z.ZodString;
4999
+ kind: z.ZodEnum<{
5000
+ kanban: "kanban";
5001
+ dataTable: "dataTable";
5002
+ }>;
5003
+ extensionId: z.ZodNullable<z.ZodString>;
4629
5004
  fields: z.ZodArray<z.ZodObject<{
4630
5005
  id: z.ZodString;
4631
5006
  label: z.ZodString;
4632
5007
  kind: z.ZodEnum<{
4633
5008
  string: "string";
4634
5009
  number: "number";
5010
+ boolean: "boolean";
4635
5011
  status: "status";
4636
5012
  date: "date";
4637
5013
  enum: "enum";
4638
5014
  "enum-multi": "enum-multi";
4639
5015
  user: "user";
4640
5016
  }>;
5017
+ conditions: z.ZodArray<z.ZodEnum<{
5018
+ contains: "contains";
5019
+ "does-not-contain": "does-not-contain";
5020
+ is: "is";
5021
+ "is-not": "is-not";
5022
+ gt: "gt";
5023
+ gte: "gte";
5024
+ lt: "lt";
5025
+ lte: "lte";
5026
+ "is-before": "is-before";
5027
+ "is-after": "is-after";
5028
+ "is-on-or-before": "is-on-or-before";
5029
+ "is-on-or-after": "is-on-or-after";
5030
+ "is-any-of": "is-any-of";
5031
+ "is-none-of": "is-none-of";
5032
+ "has-any-of": "has-any-of";
5033
+ "has-all-of": "has-all-of";
5034
+ "has-none-of": "has-none-of";
5035
+ "is-empty": "is-empty";
5036
+ "is-not-empty": "is-not-empty";
5037
+ }>>;
4641
5038
  filterable: z.ZodBoolean;
4642
5039
  groupable: z.ZodBoolean;
4643
5040
  sortable: z.ZodBoolean;
4644
5041
  displayable: z.ZodBoolean;
5042
+ legacyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4645
5043
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
4646
5044
  value: z.ZodString;
4647
5045
  label: z.ZodString;
@@ -4652,23 +5050,91 @@ declare const boardViewSchema: z.ZodObject<{
4652
5050
  id: z.ZodString;
4653
5051
  boardId: z.ZodString;
4654
5052
  title: z.ZodString;
4655
- settings: z.ZodObject<{
5053
+ settings: z.ZodUnion<readonly [z.ZodObject<{
4656
5054
  viewMode: z.ZodEnum<{
4657
5055
  board: "board";
4658
5056
  list: "list";
4659
5057
  }>;
4660
5058
  columnGrouping: z.ZodString;
4661
5059
  rowGrouping: z.ZodString;
4662
- ordering: z.ZodObject<{
5060
+ displayProperties: z.ZodArray<z.ZodString>;
5061
+ }, z.core.$strip>, z.ZodObject<{
5062
+ grouping: z.ZodString;
5063
+ rowNumbers: z.ZodBoolean;
5064
+ wrapRows: z.ZodBoolean;
5065
+ showStats: z.ZodBoolean;
5066
+ hiddenColumns: z.ZodArray<z.ZodString>;
5067
+ columnOrder: z.ZodArray<z.ZodString>;
5068
+ }, z.core.$strip>]>;
5069
+ filter: z.ZodObject<{
5070
+ conjunction: z.ZodEnum<{
5071
+ and: "and";
5072
+ or: "or";
5073
+ }>;
5074
+ rules: z.ZodArray<z.ZodObject<{
4663
5075
  attributeId: z.ZodString;
4664
- direction: z.ZodEnum<{
4665
- asc: "asc";
4666
- desc: "desc";
5076
+ condition: z.ZodEnum<{
5077
+ contains: "contains";
5078
+ "does-not-contain": "does-not-contain";
5079
+ is: "is";
5080
+ "is-not": "is-not";
5081
+ gt: "gt";
5082
+ gte: "gte";
5083
+ lt: "lt";
5084
+ lte: "lte";
5085
+ "is-before": "is-before";
5086
+ "is-after": "is-after";
5087
+ "is-on-or-before": "is-on-or-before";
5088
+ "is-on-or-after": "is-on-or-after";
5089
+ "is-any-of": "is-any-of";
5090
+ "is-none-of": "is-none-of";
5091
+ "has-any-of": "has-any-of";
5092
+ "has-all-of": "has-all-of";
5093
+ "has-none-of": "has-none-of";
5094
+ "is-empty": "is-empty";
5095
+ "is-not-empty": "is-not-empty";
4667
5096
  }>;
4668
- }, z.core.$strip>;
4669
- displayProperties: z.ZodArray<z.ZodString>;
4670
- }, z.core.$strip>;
4671
- filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
5097
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5098
+ }, z.core.$strip>>;
5099
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
5100
+ conjunction: z.ZodEnum<{
5101
+ and: "and";
5102
+ or: "or";
5103
+ }>;
5104
+ rules: z.ZodArray<z.ZodObject<{
5105
+ attributeId: z.ZodString;
5106
+ condition: z.ZodEnum<{
5107
+ contains: "contains";
5108
+ "does-not-contain": "does-not-contain";
5109
+ is: "is";
5110
+ "is-not": "is-not";
5111
+ gt: "gt";
5112
+ gte: "gte";
5113
+ lt: "lt";
5114
+ lte: "lte";
5115
+ "is-before": "is-before";
5116
+ "is-after": "is-after";
5117
+ "is-on-or-before": "is-on-or-before";
5118
+ "is-on-or-after": "is-on-or-after";
5119
+ "is-any-of": "is-any-of";
5120
+ "is-none-of": "is-none-of";
5121
+ "has-any-of": "has-any-of";
5122
+ "has-all-of": "has-all-of";
5123
+ "has-none-of": "has-none-of";
5124
+ "is-empty": "is-empty";
5125
+ "is-not-empty": "is-not-empty";
5126
+ }>;
5127
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5128
+ }, z.core.$strip>>;
5129
+ }, z.core.$strict>>>;
5130
+ }, z.core.$strict>;
5131
+ sorts: z.ZodArray<z.ZodObject<{
5132
+ attributeId: z.ZodString;
5133
+ direction: z.ZodEnum<{
5134
+ asc: "asc";
5135
+ desc: "desc";
5136
+ }>;
5137
+ }, z.core.$strip>>;
4672
5138
  builtIn: z.ZodBoolean;
4673
5139
  }, z.core.$strip>;
4674
5140
  declare const boardViewsSchema: z.ZodObject<{
@@ -4676,65 +5142,269 @@ declare const boardViewsSchema: z.ZodObject<{
4676
5142
  id: z.ZodString;
4677
5143
  boardId: z.ZodString;
4678
5144
  title: z.ZodString;
4679
- settings: z.ZodObject<{
5145
+ settings: z.ZodUnion<readonly [z.ZodObject<{
4680
5146
  viewMode: z.ZodEnum<{
4681
5147
  board: "board";
4682
5148
  list: "list";
4683
5149
  }>;
4684
5150
  columnGrouping: z.ZodString;
4685
5151
  rowGrouping: z.ZodString;
4686
- ordering: z.ZodObject<{
5152
+ displayProperties: z.ZodArray<z.ZodString>;
5153
+ }, z.core.$strip>, z.ZodObject<{
5154
+ grouping: z.ZodString;
5155
+ rowNumbers: z.ZodBoolean;
5156
+ wrapRows: z.ZodBoolean;
5157
+ showStats: z.ZodBoolean;
5158
+ hiddenColumns: z.ZodArray<z.ZodString>;
5159
+ columnOrder: z.ZodArray<z.ZodString>;
5160
+ }, z.core.$strip>]>;
5161
+ filter: z.ZodObject<{
5162
+ conjunction: z.ZodEnum<{
5163
+ and: "and";
5164
+ or: "or";
5165
+ }>;
5166
+ rules: z.ZodArray<z.ZodObject<{
4687
5167
  attributeId: z.ZodString;
4688
- direction: z.ZodEnum<{
4689
- asc: "asc";
4690
- desc: "desc";
5168
+ condition: z.ZodEnum<{
5169
+ contains: "contains";
5170
+ "does-not-contain": "does-not-contain";
5171
+ is: "is";
5172
+ "is-not": "is-not";
5173
+ gt: "gt";
5174
+ gte: "gte";
5175
+ lt: "lt";
5176
+ lte: "lte";
5177
+ "is-before": "is-before";
5178
+ "is-after": "is-after";
5179
+ "is-on-or-before": "is-on-or-before";
5180
+ "is-on-or-after": "is-on-or-after";
5181
+ "is-any-of": "is-any-of";
5182
+ "is-none-of": "is-none-of";
5183
+ "has-any-of": "has-any-of";
5184
+ "has-all-of": "has-all-of";
5185
+ "has-none-of": "has-none-of";
5186
+ "is-empty": "is-empty";
5187
+ "is-not-empty": "is-not-empty";
4691
5188
  }>;
4692
- }, z.core.$strip>;
4693
- displayProperties: z.ZodArray<z.ZodString>;
4694
- }, z.core.$strip>;
4695
- filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
5189
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5190
+ }, z.core.$strip>>;
5191
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
5192
+ conjunction: z.ZodEnum<{
5193
+ and: "and";
5194
+ or: "or";
5195
+ }>;
5196
+ rules: z.ZodArray<z.ZodObject<{
5197
+ attributeId: z.ZodString;
5198
+ condition: z.ZodEnum<{
5199
+ contains: "contains";
5200
+ "does-not-contain": "does-not-contain";
5201
+ is: "is";
5202
+ "is-not": "is-not";
5203
+ gt: "gt";
5204
+ gte: "gte";
5205
+ lt: "lt";
5206
+ lte: "lte";
5207
+ "is-before": "is-before";
5208
+ "is-after": "is-after";
5209
+ "is-on-or-before": "is-on-or-before";
5210
+ "is-on-or-after": "is-on-or-after";
5211
+ "is-any-of": "is-any-of";
5212
+ "is-none-of": "is-none-of";
5213
+ "has-any-of": "has-any-of";
5214
+ "has-all-of": "has-all-of";
5215
+ "has-none-of": "has-none-of";
5216
+ "is-empty": "is-empty";
5217
+ "is-not-empty": "is-not-empty";
5218
+ }>;
5219
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5220
+ }, z.core.$strip>>;
5221
+ }, z.core.$strict>>>;
5222
+ }, z.core.$strict>;
5223
+ sorts: z.ZodArray<z.ZodObject<{
5224
+ attributeId: z.ZodString;
5225
+ direction: z.ZodEnum<{
5226
+ asc: "asc";
5227
+ desc: "desc";
5228
+ }>;
5229
+ }, z.core.$strip>>;
4696
5230
  builtIn: z.ZodBoolean;
4697
5231
  }, z.core.$strip>>;
4698
5232
  defaultViewId: z.ZodString;
4699
5233
  }, z.core.$strip>;
4700
5234
  declare const boardViewUpdateSchema: z.ZodObject<{
4701
5235
  title: z.ZodOptional<z.ZodString>;
4702
- settings: z.ZodOptional<z.ZodObject<{
5236
+ settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4703
5237
  viewMode: z.ZodOptional<z.ZodEnum<{
4704
5238
  board: "board";
4705
5239
  list: "list";
4706
5240
  }>>;
4707
5241
  columnGrouping: z.ZodOptional<z.ZodString>;
4708
5242
  rowGrouping: z.ZodOptional<z.ZodString>;
4709
- ordering: z.ZodOptional<z.ZodObject<{
5243
+ displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
5244
+ }, z.core.$strict>, z.ZodObject<{
5245
+ grouping: z.ZodOptional<z.ZodString>;
5246
+ rowNumbers: z.ZodOptional<z.ZodBoolean>;
5247
+ wrapRows: z.ZodOptional<z.ZodBoolean>;
5248
+ showStats: z.ZodOptional<z.ZodBoolean>;
5249
+ hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
5250
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
5251
+ }, z.core.$strict>]>>;
5252
+ filter: z.ZodOptional<z.ZodObject<{
5253
+ conjunction: z.ZodEnum<{
5254
+ and: "and";
5255
+ or: "or";
5256
+ }>;
5257
+ rules: z.ZodArray<z.ZodObject<{
4710
5258
  attributeId: z.ZodString;
4711
- direction: z.ZodEnum<{
4712
- asc: "asc";
4713
- desc: "desc";
5259
+ condition: z.ZodEnum<{
5260
+ contains: "contains";
5261
+ "does-not-contain": "does-not-contain";
5262
+ is: "is";
5263
+ "is-not": "is-not";
5264
+ gt: "gt";
5265
+ gte: "gte";
5266
+ lt: "lt";
5267
+ lte: "lte";
5268
+ "is-before": "is-before";
5269
+ "is-after": "is-after";
5270
+ "is-on-or-before": "is-on-or-before";
5271
+ "is-on-or-after": "is-on-or-after";
5272
+ "is-any-of": "is-any-of";
5273
+ "is-none-of": "is-none-of";
5274
+ "has-any-of": "has-any-of";
5275
+ "has-all-of": "has-all-of";
5276
+ "has-none-of": "has-none-of";
5277
+ "is-empty": "is-empty";
5278
+ "is-not-empty": "is-not-empty";
4714
5279
  }>;
5280
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
4715
5281
  }, z.core.$strip>>;
4716
- displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
4717
- }, z.core.$strip>>;
4718
- filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5282
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
5283
+ conjunction: z.ZodEnum<{
5284
+ and: "and";
5285
+ or: "or";
5286
+ }>;
5287
+ rules: z.ZodArray<z.ZodObject<{
5288
+ attributeId: z.ZodString;
5289
+ condition: z.ZodEnum<{
5290
+ contains: "contains";
5291
+ "does-not-contain": "does-not-contain";
5292
+ is: "is";
5293
+ "is-not": "is-not";
5294
+ gt: "gt";
5295
+ gte: "gte";
5296
+ lt: "lt";
5297
+ lte: "lte";
5298
+ "is-before": "is-before";
5299
+ "is-after": "is-after";
5300
+ "is-on-or-before": "is-on-or-before";
5301
+ "is-on-or-after": "is-on-or-after";
5302
+ "is-any-of": "is-any-of";
5303
+ "is-none-of": "is-none-of";
5304
+ "has-any-of": "has-any-of";
5305
+ "has-all-of": "has-all-of";
5306
+ "has-none-of": "has-none-of";
5307
+ "is-empty": "is-empty";
5308
+ "is-not-empty": "is-not-empty";
5309
+ }>;
5310
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5311
+ }, z.core.$strip>>;
5312
+ }, z.core.$strict>>>;
5313
+ }, z.core.$strict>>;
5314
+ sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
5315
+ attributeId: z.ZodString;
5316
+ direction: z.ZodEnum<{
5317
+ asc: "asc";
5318
+ desc: "desc";
5319
+ }>;
5320
+ }, z.core.$strip>>>;
4719
5321
  }, z.core.$strict>;
4720
5322
  declare const boardViewCreateSchema: z.ZodObject<{
4721
- settings: z.ZodOptional<z.ZodObject<{
5323
+ settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4722
5324
  viewMode: z.ZodOptional<z.ZodEnum<{
4723
5325
  board: "board";
4724
5326
  list: "list";
4725
5327
  }>>;
4726
5328
  columnGrouping: z.ZodOptional<z.ZodString>;
4727
5329
  rowGrouping: z.ZodOptional<z.ZodString>;
4728
- ordering: z.ZodOptional<z.ZodObject<{
5330
+ displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
5331
+ }, z.core.$strict>, z.ZodObject<{
5332
+ grouping: z.ZodOptional<z.ZodString>;
5333
+ rowNumbers: z.ZodOptional<z.ZodBoolean>;
5334
+ wrapRows: z.ZodOptional<z.ZodBoolean>;
5335
+ showStats: z.ZodOptional<z.ZodBoolean>;
5336
+ hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
5337
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
5338
+ }, z.core.$strict>]>>;
5339
+ filter: z.ZodOptional<z.ZodObject<{
5340
+ conjunction: z.ZodEnum<{
5341
+ and: "and";
5342
+ or: "or";
5343
+ }>;
5344
+ rules: z.ZodArray<z.ZodObject<{
4729
5345
  attributeId: z.ZodString;
4730
- direction: z.ZodEnum<{
4731
- asc: "asc";
4732
- desc: "desc";
5346
+ condition: z.ZodEnum<{
5347
+ contains: "contains";
5348
+ "does-not-contain": "does-not-contain";
5349
+ is: "is";
5350
+ "is-not": "is-not";
5351
+ gt: "gt";
5352
+ gte: "gte";
5353
+ lt: "lt";
5354
+ lte: "lte";
5355
+ "is-before": "is-before";
5356
+ "is-after": "is-after";
5357
+ "is-on-or-before": "is-on-or-before";
5358
+ "is-on-or-after": "is-on-or-after";
5359
+ "is-any-of": "is-any-of";
5360
+ "is-none-of": "is-none-of";
5361
+ "has-any-of": "has-any-of";
5362
+ "has-all-of": "has-all-of";
5363
+ "has-none-of": "has-none-of";
5364
+ "is-empty": "is-empty";
5365
+ "is-not-empty": "is-not-empty";
4733
5366
  }>;
5367
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
4734
5368
  }, z.core.$strip>>;
4735
- displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
4736
- }, z.core.$strip>>;
4737
- filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5369
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
5370
+ conjunction: z.ZodEnum<{
5371
+ and: "and";
5372
+ or: "or";
5373
+ }>;
5374
+ rules: z.ZodArray<z.ZodObject<{
5375
+ attributeId: z.ZodString;
5376
+ condition: z.ZodEnum<{
5377
+ contains: "contains";
5378
+ "does-not-contain": "does-not-contain";
5379
+ is: "is";
5380
+ "is-not": "is-not";
5381
+ gt: "gt";
5382
+ gte: "gte";
5383
+ lt: "lt";
5384
+ lte: "lte";
5385
+ "is-before": "is-before";
5386
+ "is-after": "is-after";
5387
+ "is-on-or-before": "is-on-or-before";
5388
+ "is-on-or-after": "is-on-or-after";
5389
+ "is-any-of": "is-any-of";
5390
+ "is-none-of": "is-none-of";
5391
+ "has-any-of": "has-any-of";
5392
+ "has-all-of": "has-all-of";
5393
+ "has-none-of": "has-none-of";
5394
+ "is-empty": "is-empty";
5395
+ "is-not-empty": "is-not-empty";
5396
+ }>;
5397
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5398
+ }, z.core.$strip>>;
5399
+ }, z.core.$strict>>>;
5400
+ }, z.core.$strict>>;
5401
+ sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
5402
+ attributeId: z.ZodString;
5403
+ direction: z.ZodEnum<{
5404
+ asc: "asc";
5405
+ desc: "desc";
5406
+ }>;
5407
+ }, z.core.$strip>>>;
4738
5408
  title: z.ZodString;
4739
5409
  copyFrom: z.ZodOptional<z.ZodString>;
4740
5410
  }, z.core.$strict>;
@@ -4778,6 +5448,7 @@ interface MetadataPageTarget {
4778
5448
  resource?: z.infer<typeof extensionResourceRefSchema>;
4779
5449
  open?: "preview" | "pin";
4780
5450
  section?: z.infer<typeof sectionSchema>;
5451
+ position?: FileSourcePosition;
4781
5452
  parent?: MetadataPageTarget;
4782
5453
  }
4783
5454
  //#endregion
@@ -4800,6 +5471,7 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
4800
5471
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
4801
5472
  }, z.core.$strip>;
4802
5473
  }, z.core.$strip>, z.ZodObject<{
5474
+ resourceKind: z.ZodOptional<z.ZodString>;
4803
5475
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4804
5476
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
4805
5477
  $l10n: z.ZodString;
@@ -4822,6 +5494,7 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
4822
5494
  defaultExpandedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4823
5495
  kind: z.ZodLiteral<"tree">;
4824
5496
  }, z.core.$strip>, z.ZodObject<{
5497
+ resourceKind: z.ZodOptional<z.ZodString>;
4825
5498
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4826
5499
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
4827
5500
  $l10n: z.ZodString;
@@ -4835,6 +5508,7 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
4835
5508
  saveHandlerId: z.ZodOptional<z.ZodString>;
4836
5509
  kind: z.ZodLiteral<"file">;
4837
5510
  }, z.core.$strip>, z.ZodObject<{
5511
+ resourceKind: z.ZodOptional<z.ZodString>;
4838
5512
  queryHandlerId: z.ZodString;
4839
5513
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4840
5514
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -4854,6 +5528,7 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
4854
5528
  }, z.core.$strict>]>>>;
4855
5529
  kind: z.ZodLiteral<"controls">;
4856
5530
  }, z.core.$strip>, z.ZodObject<{
5531
+ resourceKind: z.ZodOptional<z.ZodString>;
4857
5532
  extensionInstanceId: z.ZodOptional<z.ZodString>;
4858
5533
  queryHandlerId: z.ZodString;
4859
5534
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -4900,6 +5575,9 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
4900
5575
  kind: z.ZodLiteral<"status">;
4901
5576
  id: z.ZodString;
4902
5577
  }, z.core.$strip>;
5578
+ }, z.core.$strip>, z.ZodObject<{
5579
+ kind: z.ZodLiteral<"boolean">;
5580
+ legacyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
4903
5581
  }, z.core.$strip>, z.ZodObject<{
4904
5582
  kind: z.ZodLiteral<"string">;
4905
5583
  }, z.core.$strip>, z.ZodObject<{
@@ -4932,16 +5610,77 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
4932
5610
  }>>;
4933
5611
  columnGrouping: z.ZodOptional<z.ZodString>;
4934
5612
  rowGrouping: z.ZodOptional<z.ZodString>;
4935
- ordering: z.ZodOptional<z.ZodObject<{
5613
+ displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
5614
+ }, z.core.$strip>>;
5615
+ defaultFilter: z.ZodOptional<z.ZodObject<{
5616
+ conjunction: z.ZodEnum<{
5617
+ and: "and";
5618
+ or: "or";
5619
+ }>;
5620
+ rules: z.ZodArray<z.ZodObject<{
4936
5621
  attributeId: z.ZodString;
4937
- direction: z.ZodEnum<{
4938
- asc: "asc";
4939
- desc: "desc";
5622
+ condition: z.ZodEnum<{
5623
+ contains: "contains";
5624
+ "does-not-contain": "does-not-contain";
5625
+ is: "is";
5626
+ "is-not": "is-not";
5627
+ gt: "gt";
5628
+ gte: "gte";
5629
+ lt: "lt";
5630
+ lte: "lte";
5631
+ "is-before": "is-before";
5632
+ "is-after": "is-after";
5633
+ "is-on-or-before": "is-on-or-before";
5634
+ "is-on-or-after": "is-on-or-after";
5635
+ "is-any-of": "is-any-of";
5636
+ "is-none-of": "is-none-of";
5637
+ "has-any-of": "has-any-of";
5638
+ "has-all-of": "has-all-of";
5639
+ "has-none-of": "has-none-of";
5640
+ "is-empty": "is-empty";
5641
+ "is-not-empty": "is-not-empty";
4940
5642
  }>;
5643
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
4941
5644
  }, z.core.$strip>>;
4942
- displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
4943
- }, z.core.$strip>>;
4944
- defaultFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5645
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
5646
+ conjunction: z.ZodEnum<{
5647
+ and: "and";
5648
+ or: "or";
5649
+ }>;
5650
+ rules: z.ZodArray<z.ZodObject<{
5651
+ attributeId: z.ZodString;
5652
+ condition: z.ZodEnum<{
5653
+ contains: "contains";
5654
+ "does-not-contain": "does-not-contain";
5655
+ is: "is";
5656
+ "is-not": "is-not";
5657
+ gt: "gt";
5658
+ gte: "gte";
5659
+ lt: "lt";
5660
+ lte: "lte";
5661
+ "is-before": "is-before";
5662
+ "is-after": "is-after";
5663
+ "is-on-or-before": "is-on-or-before";
5664
+ "is-on-or-after": "is-on-or-after";
5665
+ "is-any-of": "is-any-of";
5666
+ "is-none-of": "is-none-of";
5667
+ "has-any-of": "has-any-of";
5668
+ "has-all-of": "has-all-of";
5669
+ "has-none-of": "has-none-of";
5670
+ "is-empty": "is-empty";
5671
+ "is-not-empty": "is-not-empty";
5672
+ }>;
5673
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5674
+ }, z.core.$strip>>;
5675
+ }, z.core.$strict>>>;
5676
+ }, z.core.$strict>>;
5677
+ defaultSorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
5678
+ attributeId: z.ZodString;
5679
+ direction: z.ZodEnum<{
5680
+ asc: "asc";
5681
+ desc: "desc";
5682
+ }>;
5683
+ }, z.core.$strip>>>;
4945
5684
  defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
4946
5685
  id: z.ZodString;
4947
5686
  title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -4955,16 +5694,77 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
4955
5694
  }>;
4956
5695
  columnGrouping: z.ZodString;
4957
5696
  rowGrouping: z.ZodString;
4958
- ordering: z.ZodObject<{
4959
- attributeId: z.ZodString;
4960
- direction: z.ZodEnum<{
4961
- asc: "asc";
4962
- desc: "desc";
4963
- }>;
4964
- }, z.core.$strip>;
4965
5697
  displayProperties: z.ZodArray<z.ZodString>;
4966
5698
  }, z.core.$strip>;
4967
- filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
5699
+ filter: z.ZodObject<{
5700
+ conjunction: z.ZodEnum<{
5701
+ and: "and";
5702
+ or: "or";
5703
+ }>;
5704
+ rules: z.ZodArray<z.ZodObject<{
5705
+ attributeId: z.ZodString;
5706
+ condition: z.ZodEnum<{
5707
+ contains: "contains";
5708
+ "does-not-contain": "does-not-contain";
5709
+ is: "is";
5710
+ "is-not": "is-not";
5711
+ gt: "gt";
5712
+ gte: "gte";
5713
+ lt: "lt";
5714
+ lte: "lte";
5715
+ "is-before": "is-before";
5716
+ "is-after": "is-after";
5717
+ "is-on-or-before": "is-on-or-before";
5718
+ "is-on-or-after": "is-on-or-after";
5719
+ "is-any-of": "is-any-of";
5720
+ "is-none-of": "is-none-of";
5721
+ "has-any-of": "has-any-of";
5722
+ "has-all-of": "has-all-of";
5723
+ "has-none-of": "has-none-of";
5724
+ "is-empty": "is-empty";
5725
+ "is-not-empty": "is-not-empty";
5726
+ }>;
5727
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5728
+ }, z.core.$strip>>;
5729
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
5730
+ conjunction: z.ZodEnum<{
5731
+ and: "and";
5732
+ or: "or";
5733
+ }>;
5734
+ rules: z.ZodArray<z.ZodObject<{
5735
+ attributeId: z.ZodString;
5736
+ condition: z.ZodEnum<{
5737
+ contains: "contains";
5738
+ "does-not-contain": "does-not-contain";
5739
+ is: "is";
5740
+ "is-not": "is-not";
5741
+ gt: "gt";
5742
+ gte: "gte";
5743
+ lt: "lt";
5744
+ lte: "lte";
5745
+ "is-before": "is-before";
5746
+ "is-after": "is-after";
5747
+ "is-on-or-before": "is-on-or-before";
5748
+ "is-on-or-after": "is-on-or-after";
5749
+ "is-any-of": "is-any-of";
5750
+ "is-none-of": "is-none-of";
5751
+ "has-any-of": "has-any-of";
5752
+ "has-all-of": "has-all-of";
5753
+ "has-none-of": "has-none-of";
5754
+ "is-empty": "is-empty";
5755
+ "is-not-empty": "is-not-empty";
5756
+ }>;
5757
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5758
+ }, z.core.$strip>>;
5759
+ }, z.core.$strict>>>;
5760
+ }, z.core.$strict>;
5761
+ sorts: z.ZodArray<z.ZodObject<{
5762
+ attributeId: z.ZodString;
5763
+ direction: z.ZodEnum<{
5764
+ asc: "asc";
5765
+ desc: "desc";
5766
+ }>;
5767
+ }, z.core.$strip>>;
4968
5768
  isDefault: z.ZodOptional<z.ZodBoolean>;
4969
5769
  }, z.core.$strip>>>;
4970
5770
  defaultActiveViewId: z.ZodOptional<z.ZodString>;
@@ -5037,8 +5837,8 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
5037
5837
  }, z.core.$strip>]>;
5038
5838
  icon: z.ZodOptional<z.ZodString>;
5039
5839
  presentation: z.ZodOptional<z.ZodEnum<{
5040
- secondary: "secondary";
5041
5840
  primary: "primary";
5841
+ secondary: "secondary";
5042
5842
  }>>;
5043
5843
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5044
5844
  input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5053,24 +5853,195 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
5053
5853
  id: z.ZodString;
5054
5854
  }, z.core.$strip>;
5055
5855
  }, z.core.$strip>>>;
5056
- }, z.core.$strip>, z.ZodObject<{
5057
- queryHandlerId: z.ZodString;
5058
- refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5059
- emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5060
- $l10n: z.ZodString;
5061
- default: z.ZodOptional<z.ZodString>;
5062
- }, z.core.$strip>]>>;
5063
- emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5064
- $l10n: z.ZodString;
5065
- default: z.ZodOptional<z.ZodString>;
5066
- }, z.core.$strip>]>>;
5067
- rowActivationHandlerId: z.ZodOptional<z.ZodString>;
5856
+ }, z.core.$strip>, z.ZodObject<{
5857
+ resourceKind: z.ZodOptional<z.ZodString>;
5858
+ queryHandlerId: z.ZodString;
5859
+ refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5860
+ emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5861
+ $l10n: z.ZodString;
5862
+ default: z.ZodOptional<z.ZodString>;
5863
+ }, z.core.$strip>]>>;
5864
+ emptyDescription: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5865
+ $l10n: z.ZodString;
5866
+ default: z.ZodOptional<z.ZodString>;
5867
+ }, z.core.$strip>]>>;
5868
+ rowActivationHandlerId: z.ZodOptional<z.ZodString>;
5869
+ defaultSettings: z.ZodOptional<z.ZodObject<{
5870
+ grouping: z.ZodOptional<z.ZodString>;
5871
+ rowNumbers: z.ZodOptional<z.ZodBoolean>;
5872
+ wrapRows: z.ZodOptional<z.ZodBoolean>;
5873
+ showStats: z.ZodOptional<z.ZodBoolean>;
5874
+ hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
5875
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
5876
+ }, z.core.$strip>>;
5877
+ defaultFilter: z.ZodOptional<z.ZodObject<{
5878
+ conjunction: z.ZodEnum<{
5879
+ and: "and";
5880
+ or: "or";
5881
+ }>;
5882
+ rules: z.ZodArray<z.ZodObject<{
5883
+ attributeId: z.ZodString;
5884
+ condition: z.ZodEnum<{
5885
+ contains: "contains";
5886
+ "does-not-contain": "does-not-contain";
5887
+ is: "is";
5888
+ "is-not": "is-not";
5889
+ gt: "gt";
5890
+ gte: "gte";
5891
+ lt: "lt";
5892
+ lte: "lte";
5893
+ "is-before": "is-before";
5894
+ "is-after": "is-after";
5895
+ "is-on-or-before": "is-on-or-before";
5896
+ "is-on-or-after": "is-on-or-after";
5897
+ "is-any-of": "is-any-of";
5898
+ "is-none-of": "is-none-of";
5899
+ "has-any-of": "has-any-of";
5900
+ "has-all-of": "has-all-of";
5901
+ "has-none-of": "has-none-of";
5902
+ "is-empty": "is-empty";
5903
+ "is-not-empty": "is-not-empty";
5904
+ }>;
5905
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5906
+ }, z.core.$strip>>;
5907
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
5908
+ conjunction: z.ZodEnum<{
5909
+ and: "and";
5910
+ or: "or";
5911
+ }>;
5912
+ rules: z.ZodArray<z.ZodObject<{
5913
+ attributeId: z.ZodString;
5914
+ condition: z.ZodEnum<{
5915
+ contains: "contains";
5916
+ "does-not-contain": "does-not-contain";
5917
+ is: "is";
5918
+ "is-not": "is-not";
5919
+ gt: "gt";
5920
+ gte: "gte";
5921
+ lt: "lt";
5922
+ lte: "lte";
5923
+ "is-before": "is-before";
5924
+ "is-after": "is-after";
5925
+ "is-on-or-before": "is-on-or-before";
5926
+ "is-on-or-after": "is-on-or-after";
5927
+ "is-any-of": "is-any-of";
5928
+ "is-none-of": "is-none-of";
5929
+ "has-any-of": "has-any-of";
5930
+ "has-all-of": "has-all-of";
5931
+ "has-none-of": "has-none-of";
5932
+ "is-empty": "is-empty";
5933
+ "is-not-empty": "is-not-empty";
5934
+ }>;
5935
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5936
+ }, z.core.$strip>>;
5937
+ }, z.core.$strict>>>;
5938
+ }, z.core.$strict>>;
5939
+ defaultSorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
5940
+ attributeId: z.ZodString;
5941
+ direction: z.ZodEnum<{
5942
+ asc: "asc";
5943
+ desc: "desc";
5944
+ }>;
5945
+ }, z.core.$strip>>>;
5946
+ defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
5947
+ id: z.ZodString;
5948
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5949
+ $l10n: z.ZodString;
5950
+ default: z.ZodOptional<z.ZodString>;
5951
+ }, z.core.$strip>]>;
5952
+ settings: z.ZodOptional<z.ZodObject<{
5953
+ grouping: z.ZodOptional<z.ZodString>;
5954
+ rowNumbers: z.ZodOptional<z.ZodBoolean>;
5955
+ wrapRows: z.ZodOptional<z.ZodBoolean>;
5956
+ showStats: z.ZodOptional<z.ZodBoolean>;
5957
+ hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
5958
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
5959
+ }, z.core.$strip>>;
5960
+ filter: z.ZodOptional<z.ZodObject<{
5961
+ conjunction: z.ZodEnum<{
5962
+ and: "and";
5963
+ or: "or";
5964
+ }>;
5965
+ rules: z.ZodArray<z.ZodObject<{
5966
+ attributeId: z.ZodString;
5967
+ condition: z.ZodEnum<{
5968
+ contains: "contains";
5969
+ "does-not-contain": "does-not-contain";
5970
+ is: "is";
5971
+ "is-not": "is-not";
5972
+ gt: "gt";
5973
+ gte: "gte";
5974
+ lt: "lt";
5975
+ lte: "lte";
5976
+ "is-before": "is-before";
5977
+ "is-after": "is-after";
5978
+ "is-on-or-before": "is-on-or-before";
5979
+ "is-on-or-after": "is-on-or-after";
5980
+ "is-any-of": "is-any-of";
5981
+ "is-none-of": "is-none-of";
5982
+ "has-any-of": "has-any-of";
5983
+ "has-all-of": "has-all-of";
5984
+ "has-none-of": "has-none-of";
5985
+ "is-empty": "is-empty";
5986
+ "is-not-empty": "is-not-empty";
5987
+ }>;
5988
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5989
+ }, z.core.$strip>>;
5990
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
5991
+ conjunction: z.ZodEnum<{
5992
+ and: "and";
5993
+ or: "or";
5994
+ }>;
5995
+ rules: z.ZodArray<z.ZodObject<{
5996
+ attributeId: z.ZodString;
5997
+ condition: z.ZodEnum<{
5998
+ contains: "contains";
5999
+ "does-not-contain": "does-not-contain";
6000
+ is: "is";
6001
+ "is-not": "is-not";
6002
+ gt: "gt";
6003
+ gte: "gte";
6004
+ lt: "lt";
6005
+ lte: "lte";
6006
+ "is-before": "is-before";
6007
+ "is-after": "is-after";
6008
+ "is-on-or-before": "is-on-or-before";
6009
+ "is-on-or-after": "is-on-or-after";
6010
+ "is-any-of": "is-any-of";
6011
+ "is-none-of": "is-none-of";
6012
+ "has-any-of": "has-any-of";
6013
+ "has-all-of": "has-all-of";
6014
+ "has-none-of": "has-none-of";
6015
+ "is-empty": "is-empty";
6016
+ "is-not-empty": "is-not-empty";
6017
+ }>;
6018
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6019
+ }, z.core.$strip>>;
6020
+ }, z.core.$strict>>>;
6021
+ }, z.core.$strict>>;
6022
+ sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
6023
+ attributeId: z.ZodString;
6024
+ direction: z.ZodEnum<{
6025
+ asc: "asc";
6026
+ desc: "desc";
6027
+ }>;
6028
+ }, z.core.$strip>>>;
6029
+ }, z.core.$strip>>>;
6030
+ defaultActiveViewId: z.ZodOptional<z.ZodString>;
5068
6031
  columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
5069
6032
  id: z.ZodString;
5070
6033
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5071
6034
  $l10n: z.ZodString;
5072
6035
  default: z.ZodOptional<z.ZodString>;
5073
6036
  }, z.core.$strip>]>>;
6037
+ type: z.ZodOptional<z.ZodEnum<{
6038
+ string: "string";
6039
+ number: "number";
6040
+ boolean: "boolean";
6041
+ date: "date";
6042
+ }>>;
6043
+ groupable: z.ZodOptional<z.ZodBoolean>;
6044
+ filterable: z.ZodOptional<z.ZodBoolean>;
5074
6045
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5075
6046
  $l10n: z.ZodString;
5076
6047
  default: z.ZodOptional<z.ZodString>;
@@ -5159,8 +6130,8 @@ declare const workbenchExtensionViewBodySchema: z.ZodDiscriminatedUnion<[z.ZodOb
5159
6130
  }, z.core.$strip>]>;
5160
6131
  icon: z.ZodOptional<z.ZodString>;
5161
6132
  presentation: z.ZodOptional<z.ZodEnum<{
5162
- secondary: "secondary";
5163
6133
  primary: "primary";
6134
+ secondary: "secondary";
5164
6135
  }>>;
5165
6136
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5166
6137
  input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5203,6 +6174,7 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5203
6174
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
5204
6175
  }, z.core.$strip>;
5205
6176
  }, z.core.$strip>, z.ZodObject<{
6177
+ resourceKind: z.ZodOptional<z.ZodString>;
5206
6178
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5207
6179
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5208
6180
  $l10n: z.ZodString;
@@ -5225,6 +6197,7 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5225
6197
  defaultExpandedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5226
6198
  kind: z.ZodLiteral<"tree">;
5227
6199
  }, z.core.$strip>, z.ZodObject<{
6200
+ resourceKind: z.ZodOptional<z.ZodString>;
5228
6201
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5229
6202
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5230
6203
  $l10n: z.ZodString;
@@ -5238,6 +6211,7 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5238
6211
  saveHandlerId: z.ZodOptional<z.ZodString>;
5239
6212
  kind: z.ZodLiteral<"file">;
5240
6213
  }, z.core.$strip>, z.ZodObject<{
6214
+ resourceKind: z.ZodOptional<z.ZodString>;
5241
6215
  queryHandlerId: z.ZodString;
5242
6216
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5243
6217
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -5257,6 +6231,7 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5257
6231
  }, z.core.$strict>]>>>;
5258
6232
  kind: z.ZodLiteral<"controls">;
5259
6233
  }, z.core.$strip>, z.ZodObject<{
6234
+ resourceKind: z.ZodOptional<z.ZodString>;
5260
6235
  extensionInstanceId: z.ZodOptional<z.ZodString>;
5261
6236
  queryHandlerId: z.ZodString;
5262
6237
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -5303,6 +6278,9 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5303
6278
  kind: z.ZodLiteral<"status">;
5304
6279
  id: z.ZodString;
5305
6280
  }, z.core.$strip>;
6281
+ }, z.core.$strip>, z.ZodObject<{
6282
+ kind: z.ZodLiteral<"boolean">;
6283
+ legacyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
5306
6284
  }, z.core.$strip>, z.ZodObject<{
5307
6285
  kind: z.ZodLiteral<"string">;
5308
6286
  }, z.core.$strip>, z.ZodObject<{
@@ -5335,16 +6313,77 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5335
6313
  }>>;
5336
6314
  columnGrouping: z.ZodOptional<z.ZodString>;
5337
6315
  rowGrouping: z.ZodOptional<z.ZodString>;
5338
- ordering: z.ZodOptional<z.ZodObject<{
6316
+ displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
6317
+ }, z.core.$strip>>;
6318
+ defaultFilter: z.ZodOptional<z.ZodObject<{
6319
+ conjunction: z.ZodEnum<{
6320
+ and: "and";
6321
+ or: "or";
6322
+ }>;
6323
+ rules: z.ZodArray<z.ZodObject<{
5339
6324
  attributeId: z.ZodString;
5340
- direction: z.ZodEnum<{
5341
- asc: "asc";
5342
- desc: "desc";
6325
+ condition: z.ZodEnum<{
6326
+ contains: "contains";
6327
+ "does-not-contain": "does-not-contain";
6328
+ is: "is";
6329
+ "is-not": "is-not";
6330
+ gt: "gt";
6331
+ gte: "gte";
6332
+ lt: "lt";
6333
+ lte: "lte";
6334
+ "is-before": "is-before";
6335
+ "is-after": "is-after";
6336
+ "is-on-or-before": "is-on-or-before";
6337
+ "is-on-or-after": "is-on-or-after";
6338
+ "is-any-of": "is-any-of";
6339
+ "is-none-of": "is-none-of";
6340
+ "has-any-of": "has-any-of";
6341
+ "has-all-of": "has-all-of";
6342
+ "has-none-of": "has-none-of";
6343
+ "is-empty": "is-empty";
6344
+ "is-not-empty": "is-not-empty";
5343
6345
  }>;
6346
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
5344
6347
  }, z.core.$strip>>;
5345
- displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
5346
- }, z.core.$strip>>;
5347
- defaultFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
6348
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
6349
+ conjunction: z.ZodEnum<{
6350
+ and: "and";
6351
+ or: "or";
6352
+ }>;
6353
+ rules: z.ZodArray<z.ZodObject<{
6354
+ attributeId: z.ZodString;
6355
+ condition: z.ZodEnum<{
6356
+ contains: "contains";
6357
+ "does-not-contain": "does-not-contain";
6358
+ is: "is";
6359
+ "is-not": "is-not";
6360
+ gt: "gt";
6361
+ gte: "gte";
6362
+ lt: "lt";
6363
+ lte: "lte";
6364
+ "is-before": "is-before";
6365
+ "is-after": "is-after";
6366
+ "is-on-or-before": "is-on-or-before";
6367
+ "is-on-or-after": "is-on-or-after";
6368
+ "is-any-of": "is-any-of";
6369
+ "is-none-of": "is-none-of";
6370
+ "has-any-of": "has-any-of";
6371
+ "has-all-of": "has-all-of";
6372
+ "has-none-of": "has-none-of";
6373
+ "is-empty": "is-empty";
6374
+ "is-not-empty": "is-not-empty";
6375
+ }>;
6376
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6377
+ }, z.core.$strip>>;
6378
+ }, z.core.$strict>>>;
6379
+ }, z.core.$strict>>;
6380
+ defaultSorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
6381
+ attributeId: z.ZodString;
6382
+ direction: z.ZodEnum<{
6383
+ asc: "asc";
6384
+ desc: "desc";
6385
+ }>;
6386
+ }, z.core.$strip>>>;
5348
6387
  defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
5349
6388
  id: z.ZodString;
5350
6389
  title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -5358,16 +6397,77 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5358
6397
  }>;
5359
6398
  columnGrouping: z.ZodString;
5360
6399
  rowGrouping: z.ZodString;
5361
- ordering: z.ZodObject<{
5362
- attributeId: z.ZodString;
5363
- direction: z.ZodEnum<{
5364
- asc: "asc";
5365
- desc: "desc";
5366
- }>;
5367
- }, z.core.$strip>;
5368
6400
  displayProperties: z.ZodArray<z.ZodString>;
5369
6401
  }, z.core.$strip>;
5370
- filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
6402
+ filter: z.ZodObject<{
6403
+ conjunction: z.ZodEnum<{
6404
+ and: "and";
6405
+ or: "or";
6406
+ }>;
6407
+ rules: z.ZodArray<z.ZodObject<{
6408
+ attributeId: z.ZodString;
6409
+ condition: z.ZodEnum<{
6410
+ contains: "contains";
6411
+ "does-not-contain": "does-not-contain";
6412
+ is: "is";
6413
+ "is-not": "is-not";
6414
+ gt: "gt";
6415
+ gte: "gte";
6416
+ lt: "lt";
6417
+ lte: "lte";
6418
+ "is-before": "is-before";
6419
+ "is-after": "is-after";
6420
+ "is-on-or-before": "is-on-or-before";
6421
+ "is-on-or-after": "is-on-or-after";
6422
+ "is-any-of": "is-any-of";
6423
+ "is-none-of": "is-none-of";
6424
+ "has-any-of": "has-any-of";
6425
+ "has-all-of": "has-all-of";
6426
+ "has-none-of": "has-none-of";
6427
+ "is-empty": "is-empty";
6428
+ "is-not-empty": "is-not-empty";
6429
+ }>;
6430
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6431
+ }, z.core.$strip>>;
6432
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
6433
+ conjunction: z.ZodEnum<{
6434
+ and: "and";
6435
+ or: "or";
6436
+ }>;
6437
+ rules: z.ZodArray<z.ZodObject<{
6438
+ attributeId: z.ZodString;
6439
+ condition: z.ZodEnum<{
6440
+ contains: "contains";
6441
+ "does-not-contain": "does-not-contain";
6442
+ is: "is";
6443
+ "is-not": "is-not";
6444
+ gt: "gt";
6445
+ gte: "gte";
6446
+ lt: "lt";
6447
+ lte: "lte";
6448
+ "is-before": "is-before";
6449
+ "is-after": "is-after";
6450
+ "is-on-or-before": "is-on-or-before";
6451
+ "is-on-or-after": "is-on-or-after";
6452
+ "is-any-of": "is-any-of";
6453
+ "is-none-of": "is-none-of";
6454
+ "has-any-of": "has-any-of";
6455
+ "has-all-of": "has-all-of";
6456
+ "has-none-of": "has-none-of";
6457
+ "is-empty": "is-empty";
6458
+ "is-not-empty": "is-not-empty";
6459
+ }>;
6460
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6461
+ }, z.core.$strip>>;
6462
+ }, z.core.$strict>>>;
6463
+ }, z.core.$strict>;
6464
+ sorts: z.ZodArray<z.ZodObject<{
6465
+ attributeId: z.ZodString;
6466
+ direction: z.ZodEnum<{
6467
+ asc: "asc";
6468
+ desc: "desc";
6469
+ }>;
6470
+ }, z.core.$strip>>;
5371
6471
  isDefault: z.ZodOptional<z.ZodBoolean>;
5372
6472
  }, z.core.$strip>>>;
5373
6473
  defaultActiveViewId: z.ZodOptional<z.ZodString>;
@@ -5440,8 +6540,8 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5440
6540
  }, z.core.$strip>]>;
5441
6541
  icon: z.ZodOptional<z.ZodString>;
5442
6542
  presentation: z.ZodOptional<z.ZodEnum<{
5443
- secondary: "secondary";
5444
6543
  primary: "primary";
6544
+ secondary: "secondary";
5445
6545
  }>>;
5446
6546
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5447
6547
  input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5457,6 +6557,7 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5457
6557
  }, z.core.$strip>;
5458
6558
  }, z.core.$strip>>>;
5459
6559
  }, z.core.$strip>, z.ZodObject<{
6560
+ resourceKind: z.ZodOptional<z.ZodString>;
5460
6561
  queryHandlerId: z.ZodString;
5461
6562
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5462
6563
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -5468,12 +6569,182 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5468
6569
  default: z.ZodOptional<z.ZodString>;
5469
6570
  }, z.core.$strip>]>>;
5470
6571
  rowActivationHandlerId: z.ZodOptional<z.ZodString>;
6572
+ defaultSettings: z.ZodOptional<z.ZodObject<{
6573
+ grouping: z.ZodOptional<z.ZodString>;
6574
+ rowNumbers: z.ZodOptional<z.ZodBoolean>;
6575
+ wrapRows: z.ZodOptional<z.ZodBoolean>;
6576
+ showStats: z.ZodOptional<z.ZodBoolean>;
6577
+ hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
6578
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
6579
+ }, z.core.$strip>>;
6580
+ defaultFilter: z.ZodOptional<z.ZodObject<{
6581
+ conjunction: z.ZodEnum<{
6582
+ and: "and";
6583
+ or: "or";
6584
+ }>;
6585
+ rules: z.ZodArray<z.ZodObject<{
6586
+ attributeId: z.ZodString;
6587
+ condition: z.ZodEnum<{
6588
+ contains: "contains";
6589
+ "does-not-contain": "does-not-contain";
6590
+ is: "is";
6591
+ "is-not": "is-not";
6592
+ gt: "gt";
6593
+ gte: "gte";
6594
+ lt: "lt";
6595
+ lte: "lte";
6596
+ "is-before": "is-before";
6597
+ "is-after": "is-after";
6598
+ "is-on-or-before": "is-on-or-before";
6599
+ "is-on-or-after": "is-on-or-after";
6600
+ "is-any-of": "is-any-of";
6601
+ "is-none-of": "is-none-of";
6602
+ "has-any-of": "has-any-of";
6603
+ "has-all-of": "has-all-of";
6604
+ "has-none-of": "has-none-of";
6605
+ "is-empty": "is-empty";
6606
+ "is-not-empty": "is-not-empty";
6607
+ }>;
6608
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6609
+ }, z.core.$strip>>;
6610
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
6611
+ conjunction: z.ZodEnum<{
6612
+ and: "and";
6613
+ or: "or";
6614
+ }>;
6615
+ rules: z.ZodArray<z.ZodObject<{
6616
+ attributeId: z.ZodString;
6617
+ condition: z.ZodEnum<{
6618
+ contains: "contains";
6619
+ "does-not-contain": "does-not-contain";
6620
+ is: "is";
6621
+ "is-not": "is-not";
6622
+ gt: "gt";
6623
+ gte: "gte";
6624
+ lt: "lt";
6625
+ lte: "lte";
6626
+ "is-before": "is-before";
6627
+ "is-after": "is-after";
6628
+ "is-on-or-before": "is-on-or-before";
6629
+ "is-on-or-after": "is-on-or-after";
6630
+ "is-any-of": "is-any-of";
6631
+ "is-none-of": "is-none-of";
6632
+ "has-any-of": "has-any-of";
6633
+ "has-all-of": "has-all-of";
6634
+ "has-none-of": "has-none-of";
6635
+ "is-empty": "is-empty";
6636
+ "is-not-empty": "is-not-empty";
6637
+ }>;
6638
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6639
+ }, z.core.$strip>>;
6640
+ }, z.core.$strict>>>;
6641
+ }, z.core.$strict>>;
6642
+ defaultSorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
6643
+ attributeId: z.ZodString;
6644
+ direction: z.ZodEnum<{
6645
+ asc: "asc";
6646
+ desc: "desc";
6647
+ }>;
6648
+ }, z.core.$strip>>>;
6649
+ defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
6650
+ id: z.ZodString;
6651
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6652
+ $l10n: z.ZodString;
6653
+ default: z.ZodOptional<z.ZodString>;
6654
+ }, z.core.$strip>]>;
6655
+ settings: z.ZodOptional<z.ZodObject<{
6656
+ grouping: z.ZodOptional<z.ZodString>;
6657
+ rowNumbers: z.ZodOptional<z.ZodBoolean>;
6658
+ wrapRows: z.ZodOptional<z.ZodBoolean>;
6659
+ showStats: z.ZodOptional<z.ZodBoolean>;
6660
+ hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
6661
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
6662
+ }, z.core.$strip>>;
6663
+ filter: z.ZodOptional<z.ZodObject<{
6664
+ conjunction: z.ZodEnum<{
6665
+ and: "and";
6666
+ or: "or";
6667
+ }>;
6668
+ rules: z.ZodArray<z.ZodObject<{
6669
+ attributeId: z.ZodString;
6670
+ condition: z.ZodEnum<{
6671
+ contains: "contains";
6672
+ "does-not-contain": "does-not-contain";
6673
+ is: "is";
6674
+ "is-not": "is-not";
6675
+ gt: "gt";
6676
+ gte: "gte";
6677
+ lt: "lt";
6678
+ lte: "lte";
6679
+ "is-before": "is-before";
6680
+ "is-after": "is-after";
6681
+ "is-on-or-before": "is-on-or-before";
6682
+ "is-on-or-after": "is-on-or-after";
6683
+ "is-any-of": "is-any-of";
6684
+ "is-none-of": "is-none-of";
6685
+ "has-any-of": "has-any-of";
6686
+ "has-all-of": "has-all-of";
6687
+ "has-none-of": "has-none-of";
6688
+ "is-empty": "is-empty";
6689
+ "is-not-empty": "is-not-empty";
6690
+ }>;
6691
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6692
+ }, z.core.$strip>>;
6693
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
6694
+ conjunction: z.ZodEnum<{
6695
+ and: "and";
6696
+ or: "or";
6697
+ }>;
6698
+ rules: z.ZodArray<z.ZodObject<{
6699
+ attributeId: z.ZodString;
6700
+ condition: z.ZodEnum<{
6701
+ contains: "contains";
6702
+ "does-not-contain": "does-not-contain";
6703
+ is: "is";
6704
+ "is-not": "is-not";
6705
+ gt: "gt";
6706
+ gte: "gte";
6707
+ lt: "lt";
6708
+ lte: "lte";
6709
+ "is-before": "is-before";
6710
+ "is-after": "is-after";
6711
+ "is-on-or-before": "is-on-or-before";
6712
+ "is-on-or-after": "is-on-or-after";
6713
+ "is-any-of": "is-any-of";
6714
+ "is-none-of": "is-none-of";
6715
+ "has-any-of": "has-any-of";
6716
+ "has-all-of": "has-all-of";
6717
+ "has-none-of": "has-none-of";
6718
+ "is-empty": "is-empty";
6719
+ "is-not-empty": "is-not-empty";
6720
+ }>;
6721
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6722
+ }, z.core.$strip>>;
6723
+ }, z.core.$strict>>>;
6724
+ }, z.core.$strict>>;
6725
+ sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
6726
+ attributeId: z.ZodString;
6727
+ direction: z.ZodEnum<{
6728
+ asc: "asc";
6729
+ desc: "desc";
6730
+ }>;
6731
+ }, z.core.$strip>>>;
6732
+ }, z.core.$strip>>>;
6733
+ defaultActiveViewId: z.ZodOptional<z.ZodString>;
5471
6734
  columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
5472
6735
  id: z.ZodString;
5473
6736
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5474
6737
  $l10n: z.ZodString;
5475
6738
  default: z.ZodOptional<z.ZodString>;
5476
6739
  }, z.core.$strip>]>>;
6740
+ type: z.ZodOptional<z.ZodEnum<{
6741
+ string: "string";
6742
+ number: "number";
6743
+ boolean: "boolean";
6744
+ date: "date";
6745
+ }>>;
6746
+ groupable: z.ZodOptional<z.ZodBoolean>;
6747
+ filterable: z.ZodOptional<z.ZodBoolean>;
5477
6748
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5478
6749
  $l10n: z.ZodString;
5479
6750
  default: z.ZodOptional<z.ZodString>;
@@ -5562,8 +6833,8 @@ declare const workbenchExtensionViewRecordSchema: z.ZodObject<{
5562
6833
  }, z.core.$strip>]>;
5563
6834
  icon: z.ZodOptional<z.ZodString>;
5564
6835
  presentation: z.ZodOptional<z.ZodEnum<{
5565
- secondary: "secondary";
5566
6836
  primary: "primary";
6837
+ secondary: "secondary";
5567
6838
  }>>;
5568
6839
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5569
6840
  input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5642,9 +6913,9 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5642
6913
  mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
5643
6914
  source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5644
6915
  automation: "automation";
6916
+ event: "event";
5645
6917
  schedule: "schedule";
5646
6918
  api: "api";
5647
- event: "event";
5648
6919
  cli: "cli";
5649
6920
  dashboard: "dashboard";
5650
6921
  "command-panel": "command-panel";
@@ -5674,9 +6945,9 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5674
6945
  mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
5675
6946
  source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5676
6947
  automation: "automation";
6948
+ event: "event";
5677
6949
  schedule: "schedule";
5678
6950
  api: "api";
5679
- event: "event";
5680
6951
  cli: "cli";
5681
6952
  dashboard: "dashboard";
5682
6953
  "command-panel": "command-panel";
@@ -5696,19 +6967,19 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5696
6967
  }, z.core.$strip>]>;
5697
6968
  icon: z.ZodOptional<z.ZodString>;
5698
6969
  regions: z.ZodArray<z.ZodEnum<{
6970
+ side: "side";
5699
6971
  main: "main";
5700
6972
  secondary: "secondary";
5701
- side: "side";
5702
6973
  }>>;
5703
6974
  floatingPanels: z.ZodOptional<z.ZodEnum<{
5704
6975
  visible: "visible";
5705
6976
  hidden: "hidden";
5706
6977
  }>>;
5707
6978
  regionSettings: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
5708
- sidenav: "sidenav";
6979
+ side: "side";
5709
6980
  main: "main";
6981
+ sidenav: "sidenav";
5710
6982
  secondary: "secondary";
5711
- side: "side";
5712
6983
  }> & z.core.$partial, z.ZodObject<{
5713
6984
  showHeader: z.ZodOptional<z.ZodBoolean>;
5714
6985
  size: z.ZodOptional<z.ZodObject<{
@@ -5745,6 +7016,9 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5745
7016
  }, z.core.$strip>]>;
5746
7017
  icon: z.ZodOptional<z.ZodString>;
5747
7018
  path: z.ZodString;
7019
+ document: z.ZodOptional<z.ZodObject<{
7020
+ metadataKey: z.ZodString;
7021
+ }, z.core.$strip>>;
5748
7022
  mode: z.ZodObject<{
5749
7023
  extensionId: z.ZodString;
5750
7024
  kind: z.ZodLiteral<"mode">;
@@ -5804,9 +7078,9 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5804
7078
  }, z.core.$strip>>;
5805
7079
  id: z.ZodString;
5806
7080
  region: z.ZodEnum<{
7081
+ side: "side";
5807
7082
  main: "main";
5808
7083
  secondary: "secondary";
5809
- side: "side";
5810
7084
  }>;
5811
7085
  order: z.ZodOptional<z.ZodNumber>;
5812
7086
  item: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5945,6 +7219,7 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5945
7219
  styles: z.ZodOptional<z.ZodArray<z.ZodString>>;
5946
7220
  }, z.core.$strip>;
5947
7221
  }, z.core.$strip>, z.ZodObject<{
7222
+ resourceKind: z.ZodOptional<z.ZodString>;
5948
7223
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5949
7224
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5950
7225
  $l10n: z.ZodString;
@@ -5967,6 +7242,7 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5967
7242
  defaultExpandedNodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5968
7243
  kind: z.ZodLiteral<"tree">;
5969
7244
  }, z.core.$strip>, z.ZodObject<{
7245
+ resourceKind: z.ZodOptional<z.ZodString>;
5970
7246
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5971
7247
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5972
7248
  $l10n: z.ZodString;
@@ -5980,6 +7256,7 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5980
7256
  saveHandlerId: z.ZodOptional<z.ZodString>;
5981
7257
  kind: z.ZodLiteral<"file">;
5982
7258
  }, z.core.$strip>, z.ZodObject<{
7259
+ resourceKind: z.ZodOptional<z.ZodString>;
5983
7260
  queryHandlerId: z.ZodString;
5984
7261
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5985
7262
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -5999,6 +7276,7 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
5999
7276
  }, z.core.$strict>]>>>;
6000
7277
  kind: z.ZodLiteral<"controls">;
6001
7278
  }, z.core.$strip>, z.ZodObject<{
7279
+ resourceKind: z.ZodOptional<z.ZodString>;
6002
7280
  extensionInstanceId: z.ZodOptional<z.ZodString>;
6003
7281
  queryHandlerId: z.ZodString;
6004
7282
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6045,6 +7323,9 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6045
7323
  kind: z.ZodLiteral<"status">;
6046
7324
  id: z.ZodString;
6047
7325
  }, z.core.$strip>;
7326
+ }, z.core.$strip>, z.ZodObject<{
7327
+ kind: z.ZodLiteral<"boolean">;
7328
+ legacyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
6048
7329
  }, z.core.$strip>, z.ZodObject<{
6049
7330
  kind: z.ZodLiteral<"string">;
6050
7331
  }, z.core.$strip>, z.ZodObject<{
@@ -6077,16 +7358,77 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6077
7358
  }>>;
6078
7359
  columnGrouping: z.ZodOptional<z.ZodString>;
6079
7360
  rowGrouping: z.ZodOptional<z.ZodString>;
6080
- ordering: z.ZodOptional<z.ZodObject<{
7361
+ displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
7362
+ }, z.core.$strip>>;
7363
+ defaultFilter: z.ZodOptional<z.ZodObject<{
7364
+ conjunction: z.ZodEnum<{
7365
+ and: "and";
7366
+ or: "or";
7367
+ }>;
7368
+ rules: z.ZodArray<z.ZodObject<{
6081
7369
  attributeId: z.ZodString;
6082
- direction: z.ZodEnum<{
6083
- asc: "asc";
6084
- desc: "desc";
7370
+ condition: z.ZodEnum<{
7371
+ contains: "contains";
7372
+ "does-not-contain": "does-not-contain";
7373
+ is: "is";
7374
+ "is-not": "is-not";
7375
+ gt: "gt";
7376
+ gte: "gte";
7377
+ lt: "lt";
7378
+ lte: "lte";
7379
+ "is-before": "is-before";
7380
+ "is-after": "is-after";
7381
+ "is-on-or-before": "is-on-or-before";
7382
+ "is-on-or-after": "is-on-or-after";
7383
+ "is-any-of": "is-any-of";
7384
+ "is-none-of": "is-none-of";
7385
+ "has-any-of": "has-any-of";
7386
+ "has-all-of": "has-all-of";
7387
+ "has-none-of": "has-none-of";
7388
+ "is-empty": "is-empty";
7389
+ "is-not-empty": "is-not-empty";
6085
7390
  }>;
7391
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
6086
7392
  }, z.core.$strip>>;
6087
- displayProperties: z.ZodOptional<z.ZodArray<z.ZodString>>;
6088
- }, z.core.$strip>>;
6089
- defaultFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
7393
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
7394
+ conjunction: z.ZodEnum<{
7395
+ and: "and";
7396
+ or: "or";
7397
+ }>;
7398
+ rules: z.ZodArray<z.ZodObject<{
7399
+ attributeId: z.ZodString;
7400
+ condition: z.ZodEnum<{
7401
+ contains: "contains";
7402
+ "does-not-contain": "does-not-contain";
7403
+ is: "is";
7404
+ "is-not": "is-not";
7405
+ gt: "gt";
7406
+ gte: "gte";
7407
+ lt: "lt";
7408
+ lte: "lte";
7409
+ "is-before": "is-before";
7410
+ "is-after": "is-after";
7411
+ "is-on-or-before": "is-on-or-before";
7412
+ "is-on-or-after": "is-on-or-after";
7413
+ "is-any-of": "is-any-of";
7414
+ "is-none-of": "is-none-of";
7415
+ "has-any-of": "has-any-of";
7416
+ "has-all-of": "has-all-of";
7417
+ "has-none-of": "has-none-of";
7418
+ "is-empty": "is-empty";
7419
+ "is-not-empty": "is-not-empty";
7420
+ }>;
7421
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
7422
+ }, z.core.$strip>>;
7423
+ }, z.core.$strict>>>;
7424
+ }, z.core.$strict>>;
7425
+ defaultSorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
7426
+ attributeId: z.ZodString;
7427
+ direction: z.ZodEnum<{
7428
+ asc: "asc";
7429
+ desc: "desc";
7430
+ }>;
7431
+ }, z.core.$strip>>>;
6090
7432
  defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
6091
7433
  id: z.ZodString;
6092
7434
  title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -6100,16 +7442,77 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6100
7442
  }>;
6101
7443
  columnGrouping: z.ZodString;
6102
7444
  rowGrouping: z.ZodString;
6103
- ordering: z.ZodObject<{
6104
- attributeId: z.ZodString;
6105
- direction: z.ZodEnum<{
6106
- asc: "asc";
6107
- desc: "desc";
6108
- }>;
6109
- }, z.core.$strip>;
6110
7445
  displayProperties: z.ZodArray<z.ZodString>;
6111
7446
  }, z.core.$strip>;
6112
- filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
7447
+ filter: z.ZodObject<{
7448
+ conjunction: z.ZodEnum<{
7449
+ and: "and";
7450
+ or: "or";
7451
+ }>;
7452
+ rules: z.ZodArray<z.ZodObject<{
7453
+ attributeId: z.ZodString;
7454
+ condition: z.ZodEnum<{
7455
+ contains: "contains";
7456
+ "does-not-contain": "does-not-contain";
7457
+ is: "is";
7458
+ "is-not": "is-not";
7459
+ gt: "gt";
7460
+ gte: "gte";
7461
+ lt: "lt";
7462
+ lte: "lte";
7463
+ "is-before": "is-before";
7464
+ "is-after": "is-after";
7465
+ "is-on-or-before": "is-on-or-before";
7466
+ "is-on-or-after": "is-on-or-after";
7467
+ "is-any-of": "is-any-of";
7468
+ "is-none-of": "is-none-of";
7469
+ "has-any-of": "has-any-of";
7470
+ "has-all-of": "has-all-of";
7471
+ "has-none-of": "has-none-of";
7472
+ "is-empty": "is-empty";
7473
+ "is-not-empty": "is-not-empty";
7474
+ }>;
7475
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
7476
+ }, z.core.$strip>>;
7477
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
7478
+ conjunction: z.ZodEnum<{
7479
+ and: "and";
7480
+ or: "or";
7481
+ }>;
7482
+ rules: z.ZodArray<z.ZodObject<{
7483
+ attributeId: z.ZodString;
7484
+ condition: z.ZodEnum<{
7485
+ contains: "contains";
7486
+ "does-not-contain": "does-not-contain";
7487
+ is: "is";
7488
+ "is-not": "is-not";
7489
+ gt: "gt";
7490
+ gte: "gte";
7491
+ lt: "lt";
7492
+ lte: "lte";
7493
+ "is-before": "is-before";
7494
+ "is-after": "is-after";
7495
+ "is-on-or-before": "is-on-or-before";
7496
+ "is-on-or-after": "is-on-or-after";
7497
+ "is-any-of": "is-any-of";
7498
+ "is-none-of": "is-none-of";
7499
+ "has-any-of": "has-any-of";
7500
+ "has-all-of": "has-all-of";
7501
+ "has-none-of": "has-none-of";
7502
+ "is-empty": "is-empty";
7503
+ "is-not-empty": "is-not-empty";
7504
+ }>;
7505
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
7506
+ }, z.core.$strip>>;
7507
+ }, z.core.$strict>>>;
7508
+ }, z.core.$strict>;
7509
+ sorts: z.ZodArray<z.ZodObject<{
7510
+ attributeId: z.ZodString;
7511
+ direction: z.ZodEnum<{
7512
+ asc: "asc";
7513
+ desc: "desc";
7514
+ }>;
7515
+ }, z.core.$strip>>;
6113
7516
  isDefault: z.ZodOptional<z.ZodBoolean>;
6114
7517
  }, z.core.$strip>>>;
6115
7518
  defaultActiveViewId: z.ZodOptional<z.ZodString>;
@@ -6182,8 +7585,8 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6182
7585
  }, z.core.$strip>]>;
6183
7586
  icon: z.ZodOptional<z.ZodString>;
6184
7587
  presentation: z.ZodOptional<z.ZodEnum<{
6185
- secondary: "secondary";
6186
7588
  primary: "primary";
7589
+ secondary: "secondary";
6187
7590
  }>>;
6188
7591
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6189
7592
  input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6199,6 +7602,7 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6199
7602
  }, z.core.$strip>;
6200
7603
  }, z.core.$strip>>>;
6201
7604
  }, z.core.$strip>, z.ZodObject<{
7605
+ resourceKind: z.ZodOptional<z.ZodString>;
6202
7606
  queryHandlerId: z.ZodString;
6203
7607
  refreshEventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6204
7608
  emptyTitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -6210,12 +7614,182 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6210
7614
  default: z.ZodOptional<z.ZodString>;
6211
7615
  }, z.core.$strip>]>>;
6212
7616
  rowActivationHandlerId: z.ZodOptional<z.ZodString>;
7617
+ defaultSettings: z.ZodOptional<z.ZodObject<{
7618
+ grouping: z.ZodOptional<z.ZodString>;
7619
+ rowNumbers: z.ZodOptional<z.ZodBoolean>;
7620
+ wrapRows: z.ZodOptional<z.ZodBoolean>;
7621
+ showStats: z.ZodOptional<z.ZodBoolean>;
7622
+ hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
7623
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
7624
+ }, z.core.$strip>>;
7625
+ defaultFilter: z.ZodOptional<z.ZodObject<{
7626
+ conjunction: z.ZodEnum<{
7627
+ and: "and";
7628
+ or: "or";
7629
+ }>;
7630
+ rules: z.ZodArray<z.ZodObject<{
7631
+ attributeId: z.ZodString;
7632
+ condition: z.ZodEnum<{
7633
+ contains: "contains";
7634
+ "does-not-contain": "does-not-contain";
7635
+ is: "is";
7636
+ "is-not": "is-not";
7637
+ gt: "gt";
7638
+ gte: "gte";
7639
+ lt: "lt";
7640
+ lte: "lte";
7641
+ "is-before": "is-before";
7642
+ "is-after": "is-after";
7643
+ "is-on-or-before": "is-on-or-before";
7644
+ "is-on-or-after": "is-on-or-after";
7645
+ "is-any-of": "is-any-of";
7646
+ "is-none-of": "is-none-of";
7647
+ "has-any-of": "has-any-of";
7648
+ "has-all-of": "has-all-of";
7649
+ "has-none-of": "has-none-of";
7650
+ "is-empty": "is-empty";
7651
+ "is-not-empty": "is-not-empty";
7652
+ }>;
7653
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
7654
+ }, z.core.$strip>>;
7655
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
7656
+ conjunction: z.ZodEnum<{
7657
+ and: "and";
7658
+ or: "or";
7659
+ }>;
7660
+ rules: z.ZodArray<z.ZodObject<{
7661
+ attributeId: z.ZodString;
7662
+ condition: z.ZodEnum<{
7663
+ contains: "contains";
7664
+ "does-not-contain": "does-not-contain";
7665
+ is: "is";
7666
+ "is-not": "is-not";
7667
+ gt: "gt";
7668
+ gte: "gte";
7669
+ lt: "lt";
7670
+ lte: "lte";
7671
+ "is-before": "is-before";
7672
+ "is-after": "is-after";
7673
+ "is-on-or-before": "is-on-or-before";
7674
+ "is-on-or-after": "is-on-or-after";
7675
+ "is-any-of": "is-any-of";
7676
+ "is-none-of": "is-none-of";
7677
+ "has-any-of": "has-any-of";
7678
+ "has-all-of": "has-all-of";
7679
+ "has-none-of": "has-none-of";
7680
+ "is-empty": "is-empty";
7681
+ "is-not-empty": "is-not-empty";
7682
+ }>;
7683
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
7684
+ }, z.core.$strip>>;
7685
+ }, z.core.$strict>>>;
7686
+ }, z.core.$strict>>;
7687
+ defaultSorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
7688
+ attributeId: z.ZodString;
7689
+ direction: z.ZodEnum<{
7690
+ asc: "asc";
7691
+ desc: "desc";
7692
+ }>;
7693
+ }, z.core.$strip>>>;
7694
+ defaultViews: z.ZodOptional<z.ZodArray<z.ZodObject<{
7695
+ id: z.ZodString;
7696
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
7697
+ $l10n: z.ZodString;
7698
+ default: z.ZodOptional<z.ZodString>;
7699
+ }, z.core.$strip>]>;
7700
+ settings: z.ZodOptional<z.ZodObject<{
7701
+ grouping: z.ZodOptional<z.ZodString>;
7702
+ rowNumbers: z.ZodOptional<z.ZodBoolean>;
7703
+ wrapRows: z.ZodOptional<z.ZodBoolean>;
7704
+ showStats: z.ZodOptional<z.ZodBoolean>;
7705
+ hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
7706
+ columnOrder: z.ZodOptional<z.ZodArray<z.ZodString>>;
7707
+ }, z.core.$strip>>;
7708
+ filter: z.ZodOptional<z.ZodObject<{
7709
+ conjunction: z.ZodEnum<{
7710
+ and: "and";
7711
+ or: "or";
7712
+ }>;
7713
+ rules: z.ZodArray<z.ZodObject<{
7714
+ attributeId: z.ZodString;
7715
+ condition: z.ZodEnum<{
7716
+ contains: "contains";
7717
+ "does-not-contain": "does-not-contain";
7718
+ is: "is";
7719
+ "is-not": "is-not";
7720
+ gt: "gt";
7721
+ gte: "gte";
7722
+ lt: "lt";
7723
+ lte: "lte";
7724
+ "is-before": "is-before";
7725
+ "is-after": "is-after";
7726
+ "is-on-or-before": "is-on-or-before";
7727
+ "is-on-or-after": "is-on-or-after";
7728
+ "is-any-of": "is-any-of";
7729
+ "is-none-of": "is-none-of";
7730
+ "has-any-of": "has-any-of";
7731
+ "has-all-of": "has-all-of";
7732
+ "has-none-of": "has-none-of";
7733
+ "is-empty": "is-empty";
7734
+ "is-not-empty": "is-not-empty";
7735
+ }>;
7736
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
7737
+ }, z.core.$strip>>;
7738
+ groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
7739
+ conjunction: z.ZodEnum<{
7740
+ and: "and";
7741
+ or: "or";
7742
+ }>;
7743
+ rules: z.ZodArray<z.ZodObject<{
7744
+ attributeId: z.ZodString;
7745
+ condition: z.ZodEnum<{
7746
+ contains: "contains";
7747
+ "does-not-contain": "does-not-contain";
7748
+ is: "is";
7749
+ "is-not": "is-not";
7750
+ gt: "gt";
7751
+ gte: "gte";
7752
+ lt: "lt";
7753
+ lte: "lte";
7754
+ "is-before": "is-before";
7755
+ "is-after": "is-after";
7756
+ "is-on-or-before": "is-on-or-before";
7757
+ "is-on-or-after": "is-on-or-after";
7758
+ "is-any-of": "is-any-of";
7759
+ "is-none-of": "is-none-of";
7760
+ "has-any-of": "has-any-of";
7761
+ "has-all-of": "has-all-of";
7762
+ "has-none-of": "has-none-of";
7763
+ "is-empty": "is-empty";
7764
+ "is-not-empty": "is-not-empty";
7765
+ }>;
7766
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
7767
+ }, z.core.$strip>>;
7768
+ }, z.core.$strict>>>;
7769
+ }, z.core.$strict>>;
7770
+ sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
7771
+ attributeId: z.ZodString;
7772
+ direction: z.ZodEnum<{
7773
+ asc: "asc";
7774
+ desc: "desc";
7775
+ }>;
7776
+ }, z.core.$strip>>>;
7777
+ }, z.core.$strip>>>;
7778
+ defaultActiveViewId: z.ZodOptional<z.ZodString>;
6213
7779
  columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
6214
7780
  id: z.ZodString;
6215
7781
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6216
7782
  $l10n: z.ZodString;
6217
7783
  default: z.ZodOptional<z.ZodString>;
6218
7784
  }, z.core.$strip>]>>;
7785
+ type: z.ZodOptional<z.ZodEnum<{
7786
+ string: "string";
7787
+ number: "number";
7788
+ boolean: "boolean";
7789
+ date: "date";
7790
+ }>>;
7791
+ groupable: z.ZodOptional<z.ZodBoolean>;
7792
+ filterable: z.ZodOptional<z.ZodBoolean>;
6219
7793
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6220
7794
  $l10n: z.ZodString;
6221
7795
  default: z.ZodOptional<z.ZodString>;
@@ -6304,8 +7878,8 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6304
7878
  }, z.core.$strip>]>;
6305
7879
  icon: z.ZodOptional<z.ZodString>;
6306
7880
  presentation: z.ZodOptional<z.ZodEnum<{
6307
- secondary: "secondary";
6308
7881
  primary: "primary";
7882
+ secondary: "secondary";
6309
7883
  }>>;
6310
7884
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6311
7885
  input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6480,15 +8054,15 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6480
8054
  }, z.core.$strict>;
6481
8055
  }, z.core.$strict>], "kind">;
6482
8056
  region: z.ZodEnum<{
8057
+ side: "side";
6483
8058
  main: "main";
6484
8059
  secondary: "secondary";
6485
- side: "side";
6486
8060
  }>;
6487
8061
  order: z.ZodOptional<z.ZodNumber>;
6488
8062
  movableTo: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8063
+ side: "side";
6489
8064
  main: "main";
6490
8065
  secondary: "secondary";
6491
- side: "side";
6492
8066
  }>>>;
6493
8067
  }, z.core.$strip>>;
6494
8068
  resourceKinds: z.ZodArray<z.ZodObject<{
@@ -6563,9 +8137,9 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6563
8137
  }, z.core.$strip>>]>>;
6564
8138
  source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6565
8139
  automation: "automation";
8140
+ event: "event";
6566
8141
  schedule: "schedule";
6567
8142
  api: "api";
6568
- event: "event";
6569
8143
  cli: "cli";
6570
8144
  dashboard: "dashboard";
6571
8145
  "command-panel": "command-panel";
@@ -6713,9 +8287,9 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6713
8287
  }, z.core.$strip>>]>>;
6714
8288
  source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6715
8289
  automation: "automation";
8290
+ event: "event";
6716
8291
  schedule: "schedule";
6717
8292
  api: "api";
6718
- event: "event";
6719
8293
  cli: "cli";
6720
8294
  dashboard: "dashboard";
6721
8295
  "command-panel": "command-panel";
@@ -6919,9 +8493,9 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6919
8493
  mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
6920
8494
  source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6921
8495
  automation: "automation";
8496
+ event: "event";
6922
8497
  schedule: "schedule";
6923
8498
  api: "api";
6924
- event: "event";
6925
8499
  cli: "cli";
6926
8500
  dashboard: "dashboard";
6927
8501
  "command-panel": "command-panel";
@@ -6947,6 +8521,12 @@ declare const workbenchExtensionMetadataSchema: z.ZodObject<{
6947
8521
  }>;
6948
8522
  default: z.ZodOptional<z.ZodUnknown>;
6949
8523
  enum: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
8524
+ options: z.ZodOptional<z.ZodObject<{
8525
+ commandId: z.ZodString;
8526
+ valueField: z.ZodString;
8527
+ labelField: z.ZodString;
8528
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8529
+ }, z.core.$strip>>;
6950
8530
  title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6951
8531
  $l10n: z.ZodString;
6952
8532
  default: z.ZodOptional<z.ZodString>;
@@ -7188,6 +8768,21 @@ declare const listExtensionAppearanceResponseSchema: z.ZodObject<{
7188
8768
  type ListExtensionCommandsResponse = z.infer<typeof listExtensionCommandsResponseSchema>;
7189
8769
  type ListExtensionAppearanceResponse = z.infer<typeof listExtensionAppearanceResponseSchema>;
7190
8770
  //#endregion
8771
+ //#region ../pstdio-api-contracts/src/extensions/collection-view.d.ts
8772
+ /** What a rule's value must be for a condition the field kind accepts. */
8773
+ declare const viewFilterValueKind: (kind: ViewFieldKind, condition: ViewFilterCondition) => "number" | "boolean" | "options" | "text" | "none" | "day";
8774
+ interface ViewRuleField {
8775
+ id: string;
8776
+ kind: ViewFieldKind;
8777
+ filterable: boolean;
8778
+ sortable: boolean;
8779
+ options?: {
8780
+ value: string;
8781
+ }[];
8782
+ }
8783
+ /** The first reason the filter does not fit the fields, or undefined. */
8784
+ declare const findViewFilterProblem: (filter: ViewFilterGroup, fields: ViewRuleField[]) => string | undefined;
8785
+ //#endregion
7191
8786
  //#region ../pstdio-api-contracts/src/extensions/commands.d.ts
7192
8787
  declare const extensionCommandRecordSchema: z.ZodObject<{
7193
8788
  id: z.ZodString;
@@ -7252,9 +8847,9 @@ declare const extensionMenuContributionSchema: z.ZodObject<{
7252
8847
  mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
7253
8848
  source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7254
8849
  automation: "automation";
8850
+ event: "event";
7255
8851
  schedule: "schedule";
7256
8852
  api: "api";
7257
- event: "event";
7258
8853
  cli: "cli";
7259
8854
  dashboard: "dashboard";
7260
8855
  "command-panel": "command-panel";
@@ -7284,9 +8879,9 @@ declare const extensionCommandPaletteContributionSchema: z.ZodObject<{
7284
8879
  mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
7285
8880
  source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7286
8881
  automation: "automation";
8882
+ event: "event";
7287
8883
  schedule: "schedule";
7288
8884
  api: "api";
7289
- event: "event";
7290
8885
  cli: "cli";
7291
8886
  dashboard: "dashboard";
7292
8887
  "command-panel": "command-panel";
@@ -7439,9 +9034,9 @@ declare const commandExecuteRequestSchema: z.ZodObject<{
7439
9034
  }, z.core.$strip>>;
7440
9035
  source: z.ZodOptional<z.ZodEnum<{
7441
9036
  automation: "automation";
9037
+ event: "event";
7442
9038
  schedule: "schedule";
7443
9039
  api: "api";
7444
- event: "event";
7445
9040
  cli: "cli";
7446
9041
  dashboard: "dashboard";
7447
9042
  "command-panel": "command-panel";
@@ -7827,9 +9422,9 @@ declare const extensionKeybindingRecordSchema: z.ZodObject<{
7827
9422
  mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
7828
9423
  source: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7829
9424
  automation: "automation";
9425
+ event: "event";
7830
9426
  schedule: "schedule";
7831
9427
  api: "api";
7832
- event: "event";
7833
9428
  cli: "cli";
7834
9429
  dashboard: "dashboard";
7835
9430
  "command-panel": "command-panel";
@@ -7891,6 +9486,12 @@ declare const extensionSettingDefinitionRecordSchema: z.ZodObject<{
7891
9486
  }>;
7892
9487
  default: z.ZodOptional<z.ZodUnknown>;
7893
9488
  enum: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
9489
+ options: z.ZodOptional<z.ZodObject<{
9490
+ commandId: z.ZodString;
9491
+ valueField: z.ZodString;
9492
+ labelField: z.ZodString;
9493
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9494
+ }, z.core.$strip>>;
7894
9495
  title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
7895
9496
  $l10n: z.ZodString;
7896
9497
  default: z.ZodOptional<z.ZodString>;
@@ -7916,6 +9517,12 @@ declare const extensionSettingValueRecordSchema: z.ZodObject<{
7916
9517
  }>;
7917
9518
  default: z.ZodOptional<z.ZodUnknown>;
7918
9519
  enum: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
9520
+ options: z.ZodOptional<z.ZodObject<{
9521
+ commandId: z.ZodString;
9522
+ valueField: z.ZodString;
9523
+ labelField: z.ZodString;
9524
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9525
+ }, z.core.$strip>>;
7919
9526
  title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
7920
9527
  $l10n: z.ZodString;
7921
9528
  default: z.ZodOptional<z.ZodString>;
@@ -7947,6 +9554,12 @@ declare const listExtensionSettingsResponseSchema: z.ZodObject<{
7947
9554
  }>;
7948
9555
  default: z.ZodOptional<z.ZodUnknown>;
7949
9556
  enum: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
9557
+ options: z.ZodOptional<z.ZodObject<{
9558
+ commandId: z.ZodString;
9559
+ valueField: z.ZodString;
9560
+ labelField: z.ZodString;
9561
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9562
+ }, z.core.$strip>>;
7950
9563
  title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
7951
9564
  $l10n: z.ZodString;
7952
9565
  default: z.ZodOptional<z.ZodString>;
@@ -8128,8 +9741,8 @@ declare const workspaceSchema: z.ZodObject<{
8128
9741
  role: z.ZodOptional<z.ZodEnum<{
8129
9742
  context: "context";
8130
9743
  source: "source";
8131
- result: "result";
8132
9744
  primary: "primary";
9745
+ result: "result";
8133
9746
  }>>;
8134
9747
  }, z.core.$strip>>;
8135
9748
  created_at: z.ZodString;
@@ -8186,8 +9799,8 @@ declare const workspaceListItemSchema: z.ZodObject<{
8186
9799
  role: z.ZodOptional<z.ZodEnum<{
8187
9800
  context: "context";
8188
9801
  source: "source";
8189
- result: "result";
8190
9802
  primary: "primary";
9803
+ result: "result";
8191
9804
  }>>;
8192
9805
  }, z.core.$strip>>;
8193
9806
  created_at: z.ZodString;
@@ -8210,8 +9823,8 @@ declare const createWorkspaceInputSchema: z.ZodObject<{
8210
9823
  role: z.ZodOptional<z.ZodEnum<{
8211
9824
  context: "context";
8212
9825
  source: "source";
8213
- result: "result";
8214
9826
  primary: "primary";
9827
+ result: "result";
8215
9828
  }>>;
8216
9829
  }, z.core.$strip>>>;
8217
9830
  shorthand_base: z.ZodOptional<z.ZodString>;
@@ -8286,14 +9899,14 @@ declare const listWorkspaceActivityResponseSchema: z.ZodObject<{
8286
9899
  event_type: z.ZodString;
8287
9900
  actor_type: z.ZodEnum<{
8288
9901
  user: "user";
8289
- agent: "agent";
8290
9902
  system: "system";
9903
+ agent: "agent";
8291
9904
  }>;
8292
9905
  actor_id: z.ZodNullable<z.ZodString>;
8293
9906
  source: z.ZodEnum<{
9907
+ system: "system";
8294
9908
  hook: "hook";
8295
9909
  agent: "agent";
8296
- system: "system";
8297
9910
  ui: "ui";
8298
9911
  api: "api";
8299
9912
  }>;
@@ -8332,5 +9945,5 @@ declare const workspaceProviderDescriptorSchema: z.ZodObject<{
8332
9945
  }, z.core.$strip>;
8333
9946
  type WorkspaceProviderDescriptor = z.infer<typeof workspaceProviderDescriptorSchema>;
8334
9947
  //#endregion
8335
- export { WorkbenchExtensionMetadata as $, PlacementOwner as $a, WebviewContribution as $c, ListActivityResponse as $d, ProcessRunInput as $i, WebviewDeclarableCapability as $l, commandRef as $n, ControlsUpdateValueInput as $o, CommandRef as $r, HarnessQuestionOption as $s, resolveEventReferenceId as $t, CreateNotificationInput as $u, EnableInstalledExtensionRequest as A, WorkspaceProviderMutationInput as Aa, CommandPaletteResourceContribution as Ac, ContributionKind as Ad, EventContext as Ai, NumberParam as Al, defineTheme as An, TreeRendererQueryParams as Ao, workbenchResourceKindDefinitions as Ar, ResourceBinding as As, artifactMountId as At, ExtensionConnectionStreamEvent as Au, ConfigureExtensionConnectionInput as B, PageContribution as Ba, FileIconThemeContribution as Bc, ThemeRef as Bd, ExtensionNetApi as Bi, SelectParam as Bl, SDK_VERSION as Bn, DataTableRendererQueryResult as Bo, extensionPanelRegions as Br, AgentCapability as Bs, resourceKey as Bt, FollowUpInput as Bu, ExtensionSettingsPanelRecord as C, ProviderContributions as Ca, ToolPart as Cc, JsonPrimitive as Cd, FileRendererSectionTarget as Ci, FilesParam as Cl, defineSettingsPanel as Cn, TreeNode as Co, localContributionIdPattern as Cr, SegmentedOption as Cs, WebviewCommandsClient as Ct, SlotRef as Cu, ExtensionCommandPaletteResourceRecord as D, WorkspaceCapabilities as Da, ArtifactMountContribution as Dc, ConnectionRef as Dd, CommandMiddlewareContext as Di, LongTextParam as Dl, defineStatuses as Dn, TreeRendererChildrenParams as Do, workbenchPages as Dr, TextControl as Ds, WebviewEventsClient as Dt, ExtensionConnectionMethod as Du, ExtensionKeybindingRecord as E, UiContributions as Ea, ActivityItemContribution as Ec, Struct as Ed, CommandContext as Ei, ListParam as El, defineStatusBarItem as En, TreeRendererActionParams as Eo, workbenchPageDefinitions as Er, SelectionOption as Es, EXTENSION_EVENTS_SCOPE as Et, EventRef as Eu, ProjectExtensionInstance as F, WorkspaceTypeProvider as Fa, ExtensionSettingProperty as Fc, ResourceKindRef as Fd, ExtensionBlobsApi as Fi, ParamType as Fl, defineCommand as Fn, DataTableRendererColumn as Fo, RegionSize as Fr, HarnessParamsSchema as Fs, createTerminalSessionBridge as Ft, SkillFile as Fu, LocalizableString as G, PageOpenIntent as Ga, ModeRegionSettings as Gc, l10n as Gd, ExtensionSessionResource as Gi, WEBVIEW_DECLARABLE_CAPABILITIES as Gl, historyMessageKey as Gn, DataTableRendererSelectionAction as Go, CommandHelpersApi as Gr, HarnessEventSink as Gs, defaultPageResourceCodec as Gt, ResolveSessionIdResponse as Gu, ListExtensionConnectionsResponse as H, PageMain as Ha, KeybindingContribution as Hc, Localizable as Hd, ExtensionPackageFilesApi as Hi, TextParam as Hl, HistoryProjection as Hn, DataTableRendererRow as Ho, CommandContinue as Hr, ApprovalResponse as Hs, QualifiedRef as Ht, ListSessionActivityInput as Hu, UpgradeProjectExtensionResponse as I, StatusActionDefinition as Ia, ExtensionSettingScope as Ic, SettingsSectionRef as Id, ExtensionContextBase as Ii, ParamValue as Il, defineHook as In, DataTableRendererColumnRenderer as Io, ResourceHierarchyProvider as Ir, HarnessProvider as Is, TerminalHostEvent as It, SkillWithContent as Iu, ExtensionMenuContribution as J, PageSlotRef as Ja, SkillContribution as Jc, AgentAvailabilityType as Jd, ExtensionSkillsApi as Ji, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Jl, reconcileMessageHistory as Jn, ControlsQueryParams as Jo, CommandLifecyclePhase as Jr, HarnessMessagesInput as Js, isWorkbenchProjectUrl as Jt, SessionAttachmentRef as Ju, ExtensionCommandPaletteContribution as K, PageSlot as Ka, SettingsPanelContribution as Kc, parseExtensionApiDeclaration as Kd, ExtensionSessionsApi as Ki, WEBVIEW_HOST_CAPABILITIES as Kl, historyValueKey as Kn, DataTableRendererThemeColor as Ko, CommandInvocation as Kr, HarnessExit as Ks, PageUrlDefinition as Kt, Session as Ku, CommandExecuteRequest as L, StatusBarItemContribution as La, ExtensionSettingValueForType as Lc, SettingsSlotRef as Ld, ExtensionEventsApi as Li, ParamValueRef as Ll, defineMiddleware as Ln, DataTableRendererColumnStat as Lo, ResourceKindDefinition as Lr, HarnessSkillsLayout as Ls, TerminalSessionOperation as Lt, UpdateSkillInput as Lu, InstallMarketplaceExtensionResponse as M, WorkspaceProviderResolveInput as Ma, CommandPaletteResourceQueryParams as Mc, ModeRef as Md, ExtensionArtifactApi as Mi, ParamObjectSchema as Ml, defineViewMenu as Mn, TreeRendererState as Mo, workbenchSlots as Mr, HarnessContext as Ms, TerminalSessionAdapter as Mt, ExtensionLoggerApi as Mu, ListProjectExtensionsResponse as N, WorkspaceProviderResult as Na, CommandPaletteResourceQueryResult as Nc, PageRef as Nd, ExtensionBlobInput as Ni, ParamOption as Nl, defineWorkspaceType as Nn, TreeSectionEmptyState as No, DockedWorkbenchRegion as Nr, HarnessDetectionResult as Ns, TerminalSessionBridge as Nt, ExtensionAutomationApi as Nu, WorkbenchExtensionCommandPaletteResourceRecord as O, WorkspaceExecutionTarget as Oa, CliContribution as Oc, ContributionDefinition as Od, CommandMiddlewareHandler as Oi, MarkdownParam as Ol, defineTemplate as On, TreeRendererCommandResult as Oo, workbenchPanelDefinitions as Or, VectorControl as Os, WebviewExtensionEvent as Ot, ExtensionConnectionRequest as Ou, MarketplaceExtension as P, WorkspaceProviderState as Pa, CommandPaletteResourceTarget as Pc, PlacementRef as Pd, ExtensionBlobRef as Pi, ParamOptionSource as Pl, resourceMenuSlotRef as Pn, TreeViewSection as Po, ExtensionPanelRegion as Pr, HarnessParamDescriptor as Ps, TerminalSessionExit as Pt, Skill as Pu, WorkbenchExtensionHarnessRecord as Q, PlacementIdentity as Qa, ThemeMode as Qc, harnessLocalId as Qd, MigrationContext as Qi, WebviewCommandsExecuteParams as Ql, defineSlot as Qn, ControlsResourceRef as Qo, CommandPatchParams as Qr, HarnessQuestionChannel as Qs, serializeWorkbenchPageUrl as Qt, SessionStatus as Qu, CommandExecuteResponse as R, StatusContribution as Ra, ExtensionSettingValueType as Rc, StatusBarSlotRef as Rd, ExtensionFilesApi as Ri, ParamsOf as Rl, CommandResponse as Rn, DataTableRendererContribution as Ro, ResourceMenuSlotDefinition as Rr, HarnessStateApi as Rs, TerminalSessionRequest as Rt, ApprovalInput as Ru, ExtensionSettingValueRecord as S, PackageManifest as Sa, TokenUsagePart as Sc, JsonObject as Sd, FileRendererSectionAnchor as Si, BooleanParam as Sl, defineSchedule as Sn, TreeAction as So, localContributionIdGrammar as Sr, SegmentedControl as Ss, WebviewClientOptions as St, SlotOptions as Su, UpdateExtensionSettingRequest as T, ScheduleExpression as Ta, ToolPartStatus as Tc, MaybePromise as Td, ArtifactMount as Ti, JsonParam as Tl, defineSkill as Tn, TreeNodeTarget as To, workbenchModes as Tr, SelectionGroup as Ts, createWebviewClient as Tt, EventDeliveryResult as Tu, ExtensionDiagnostic as U, PageMainPanels as Ua, MenuContribution as Uc, LocalizedString as Ud, ExtensionProcessApi as Ui, WorkspaceParam as Ul, HistoryRecoveryInput as Un, DataTableRendererRowAction as Uo, CommandDiagnostic as Ur, HarnessApprovalChannel as Us, qualifyRef as Ut, ListSessionActivityResponse as Uu, ExtensionConnectionRecord as V, PageLocation as Va, KeybindingChord as Vc, ViewRef as Vd, ExtensionNotifyApi as Vi, TemplateParam as Vl, HistoryConflict as Vn, DataTableRendererResourceRef as Vo, CommandCompletedEvent as Vr, ApprovalRequest as Vs, commandEvent as Vt, FollowUpResponse as Vu, ExtensionRecord as W, PageMainView as Wa, ModeContribution as Wc, isLocalizedString as Wd, ExtensionProjectContext as Wi, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Wl, HistoryRecoveryResult as Wn, DataTableRendererRowActivationHandler as Wo, CommandFailedEvent as Wr, HarnessAttachment as Ws, params as Wt, ResolveSessionIdInput as Wu, ListExtensionAppearanceResponse as X, PageSlotRole as Xa, TemplateTypeContribution as Xc, AgentModel as Xd, ExtensionStorageCollectionApi as Xi, WebviewArtifactsReadParams as Xl, submittedPrompt as Xn, ControlsRendererContribution as Xo, CommandNotice as Xr, HarnessParams as Xs, parseWorkbenchPageUrl as Xt, SessionConversationSources as Xu, WorkbenchExtensionAutomationRecord as Y, PageSlotRegion as Ya, TemplateContribution as Yc, AgentInfo as Yd, ExtensionStorageApi as Yi, WebviewArtifactFile as Yl, splitHistoryTurns as Yn, ControlsQueryResult as Yo, CommandMiddlewareResult as Yr, HarnessParamValue as Ys, parsePageUrl as Yt, SessionConversationResponse as Yu, ListExtensionCommandsResponse as Z, PanelRef as Za, ThemeContribution as Zc, AgentSkillsLayout as Zd, ExtensionTerminalApi as Zi, WebviewCapabilityDeclaration as Zl, mergeOrderedHistory as Zn, ControlsResetInput as Zo, CommandOutcome as Zr, HarnessQuestion as Zs, serializePageUrl as Zt, SessionQueuedMessagesResponse as Zu, CreateProjectInput as _, ExtensionLoadScope as _a, SessionMessagePart as _c, ResourceRole as _d, FileRendererContribution as _i, KanbanRendererSavedView as _l, defineNavigationTree as _n, TreeViewBody as _o, viewDataEvents as _r, RangeValue as _s, ListAutomationTokensResponse as _t, WebviewPreferencesSetParams as _u, RemoveWorktreeResponse as a, WorkspaceSyncFile as aa, HarnessResumeInput as ac, NotificationKind as ad, CommandSource as ai, KanbanRendererBoardColumnConfig as al, defineExtensionView as an, NavigationOwnerRef as ao, ConflictPayload as ar, BooleanControl as as, BoardViewCreate as at, WebviewFilesUploadParams as au, FileRecord as b, LocalExtensionSource as ba, StepStartPart as bc, TerminalSessionHandle as bd, FileRendererResourceRef as bi, KanbanRendererViewMode as bl, defineResourceHierarchyProvider as bn, ViewMenuContribution as bo, worktreeEvents as br, ResourceOption as bs, WebviewArtifactsClient as bt, RendererEventReference as bu, WorkspaceFileContent as c, ExtensionWorkspace as ca, JsonPatch as cc, NotificationStatus as cd, SerializedError as ci, KanbanRendererCreateRowContribution as cl, defineActivityItem as cn, PlacementContribution as co, SessionLifecyclePayload as cr, ControlParam as cs, AutomationRun as ct, WebviewHostCapabilityResult as cu, WorkspaceListItem as d, AssetContributions as da, ErrorPart as dc, PackageAssetDescriptor as dd, NavigationTargetCommand as di, KanbanRendererQueryParams as dl, defineConnection as dn, PlacementPresence as do, WorktreeRemovedPayload as dr, DateControl as ds, AutomationRunStatus as dt, WebviewNavigationOpenParams as du, ProcessRunResult as ea, HarnessQuestionReplyError as ec, ListNotificationsQuery as ed, ListProjectActivityInput as ef, CommandReject as ei, WhenExpression as el, ExtensionViewModule as en, ControlsViewBody as eo, eventRef as er, ActionOption as es, WorkbenchExtensionViewBody as et, WebviewExtensionSettingKeyParams as eu, WorkspaceProviderDescriptor as f, BehaviourContributions as fa, FilePart as fc, RendererContext as fd, NavigationTargetCompound as fi, KanbanRendererQueryResult as fl, defineFileIconTheme as fn, PlacementPresentation as fo, gitEvents as fr, MarkdownControl as fs, AutomationTokenRecord as ft, WebviewNotificationActionParams as fu, sessionAttachmentMimeTypesByExtension as g, ExtensionDefinition as ga, SessionMessage as gc, ResourceRemovedEvent as gd, NavigationTargetPanel as gi, KanbanRendererRowActivationHandler as gl, defineNavigationItem as gn, PlacementTabSnapshot as go, sessionSlots as gr, RangeControl as gs, ListAutomationRunEventsResponse as gt, WebviewPreferencesGetParams as gu, UpdateSettingsInput as h, ExtensionConnectionContribution as ha, ReasoningPart as hc, ResourceRef as hd, NavigationTargetPage as hi, KanbanRendererRowAction as hl, defineMode as hn, PlacementTabPresentation as ho, sessionEvents as hr, ParamEditorReadOnlyImage as hs, IssueAutomationTokenResponse as ht, WebviewNotificationShowParams as hu, ListWorkspaceFilesInput as i, WorkspaceFilesMount as ia, HarnessRecoveryResult as ic, NotificationActorType as id, CommandRequestedEvent as ii, KanbanRendererAttributeType as il, WebviewFilesClient as in, NavigationItemContribution as io, CommitPayload as ir, BaseControl as is, BoardView as it, WebviewFilesListParams as iu, EnableInstalledExtensionResponse as j, WorkspaceProviderRef as ja, CommandPaletteResourceItem as jc, ContributionRef as jd, ExtensionActivityApi as ji, ParamDescriptor as jl, defineView as jn, TreeRendererResourceRef as jo, workbenchResourceKinds as jr, ResourceConstraint as js, artifactsRead as jt, ExtensionConnectionsApi as ju, AddLocalExtensionFolderResponse as k, WorkspaceProviderCreateInput as ka, CommandPaletteContribution as kc, ContributionInput as kd, CommandRunHandler as ki, MultiSelectParam as kl, defineTemplateType as kn, TreeRendererContribution as ko, workbenchPanels as kr, VectorValue as ks, ArtifactMountKey as kt, ExtensionConnectionResponse as ku, WorkspaceFileEntry as l, ExtensionWorkspaceProvider as la, QuestionResponse as lc, UpdateNotificationInput as ld, WorkbenchAttachmentInvocationContext as li, KanbanRendererEnumOption as ll, defineArtifactMount as ln, PlacementItem as lo, WorkspaceProvisionPayload as lr, ControlValue as ls, AutomationRunError as lt, WebviewHostCapabilityResults as lu, Settings as m, EXTENSION_API_VERSION as ma, PatchPart as mc, ResourceAnchor as md, NavigationTargetItem as mi, KanbanRendererRow as ml, defineKeybinding as mn, PlacementTabMenuRow as mo, projectSlots as mr, ParamEditorReadOnlyContent as ms, IssueAutomationTokenInput as mt, WebviewNotificationResolveParams as mu, ListWorkspaceActivityInput as n, SetupContext as na, HarnessReattachInput as nc, Notification as nd, CommandReplaceInvocation as ni, KanbanRendererAttributeDescriptor as nl, ExtensionViewRenderContext as nn, FileViewBody as no, isNavigationTarget as nr, AnchorGridControl as ns, BoardField as nt, WebviewFileScope as nu, RenameWorkspaceInput as o, CreateExtensionWorkspaceInput as oa, HarnessSession as oc, NotificationOrigin as od, CommandStartedEvent as oi, KanbanRendererColumnAction as ol, GuestHost as on, NavigationTreeContribution as oo, MergePayload as or, ColorControl as os, BoardViewUpdate as ot, WebviewHostCapability as ou, WriteWorkspaceFileInput as p, CommandDefinition as pa, LoadingPart as pc, RendererInvocationContext as pd, NavigationTargetHref as pi, KanbanRendererResourceRef as pl, defineHarness as pn, PlacementTabMenuGroup as po, projectEvents as pr, NumberControl as ps, CreateAutomationRunInput as pt, WebviewNotificationDismissParams as pu, ExtensionCommandRecord as q, PageSlotCardinality as qa, SettingsSectionContribution as qc, supportsExtensionApiVersion as qd, ExtensionSettingsApi as qi, WEBVIEW_HOST_CAPABILITY_VERSION as ql, mergeHistoryMetadata as qn, ControlsApplyInput as qo, CommandLifecycleEventPayload as qr, HarnessExitStatus as qs, ParsedWorkbenchPageUrl as qt, SessionAttachment as qu, ListWorkspaceActivityResponse as r, StorageScope as ra, HarnessRecoveryInput as rc, NotificationAction as rd, CommandReplaceParams as ri, KanbanRendererAttributeDisplay as rl, PropsStore as rn, KanbanViewBody as ro, qualifyNavigationTarget as rr, AnchorGridValue as rs, BoardSummary as rt, WebviewFilesDeleteParams as ru, Workspace as s, CreateWorkspaceCommandParams as sa, HarnessStartInput as sc, NotificationPriority as sd, CommandTarget as si, KanbanRendererContribution as sl, defineExtension as sn, NavigationTreeSlot as so, RebasePayload as sr, ControlGroup as ss, BoardViews as st, WebviewHostCapabilityParams as su, CreateWorkspaceInput as t, RendererCallback as ta, HarnessQuestionRequest as tc, ListNotificationsResponse as td, CommandRejectedEvent as ti, CollectionBadgeItem as tl, ExtensionViewRender as tn, DataTableViewBody as to, packageAsset as tr, ActionsControl as ts, WorkbenchExtensionViewRecord as tt, WebviewExtensionSettingSetParams as tu, WorkspaceFilesResponse as u, ExtensionWorkspacesApi as ua, TimeoutStrategy as uc, ExtensionResourcesApi as ud, NavigationTarget as ui, KanbanRendererFilterState as ul, defineCommandPaletteResource as un, PlacementMountStrategy as uo, WorkspaceType as ur, ControlValueMap as us, AutomationRunEvent as ut, WebviewKeyboardEventParams as uu, Project as v, ExtensionSourceKind as va, SessionMessageRole as vc, ViewHierarchyParent as vd, FileRendererLoadParams as vi, KanbanRendererSettings as vl, definePage as vn, ViewBody as vo, workspaceEvents as vr, ReadOnlyControl as vs, projectPrefix as vt, WebviewScopedDeclarableCapability as vu, ListExtensionSettingsResponse as w, ScheduleContribution as wa, ToolPartActionType as wc, JsonValue as wd, ArtifactFile as wi, HarnessParam as wl, defineSettingsSection as wn, TreeNodeRowVariant as wo, workbenchModeDefinitions as wr, SelectionControl as ws, WebviewSettingsClient as wt, UiSlotKind as wu, ExtensionSettingDefinitionRecord as x, MiddlewareDefinition as xa, TextPart as xc, TerminalSessionRequest$1 as xd, FileRendererSaveParams as xi, ViewToolbarAction as xl, defineResourceKind as xn, WebviewViewBody as xo, isValidLocalContributionId as xr, ResourceRefValue as xs, WebviewClient as xt, SlotInvocationContext as xu, UpdateProjectInput as y, HookDefinition as ya, StepFinishPart as yc, TerminalEvent as yd, FileRendererLoadResult as yi, KanbanRendererSortDirection as yl, definePlacement as yn, ViewContribution as yo, workspaceSlots as yr, ResourceControl as ys, matchesResourceWhen as yt, RendererContributionBase as yu, DispatchExtensionEventInput as z, WorkflowStatus as za, ExtensionSettingsContribution as zc, StatusRef as zd, ExtensionHarnessInput as zi, ResourceParam as zl, unwrapCommandOutcome as zn, DataTableRendererQueryParams as zo, dockedWorkbenchRegions as zr, RetryableHarnessReattachError as zs, TerminalSessionResult as zt, CreateSessionInput as zu };
9948
+ export { ListExtensionCommandsResponse as $, PageSlotRegion as $a, ExtensionSettingsContribution as $c, MaybePromise as $d, ExtensionTerminalApi as $i, WebviewHostCapability as $l, commandRef as $n, DataTableRendererThemeColor as $o, CommandOutcome as $r, PreparedHarnessOperation as $s, ExtensionViewRenderContext as $t, ApprovalInput as $u, EnableInstalledExtensionRequest as A, WorkspaceExecutionTarget as Aa, SessionMessage as Ac, ResourceAnchor as Ad, AgentAvailabilityType as Af, CommandMiddlewareHandler as Ai, KanbanRendererRowActivationHandler as Al, defineWorkspaceType as An, TreeRendererActionParams as Ao, workbenchPanelDefinitions as Ar, SegmentedOption as As, WebviewExtensionEvent as At, ParamsOf as Au, ConfigureExtensionConnectionInput as B, StatusContribution as Ba, ActivityItemContribution as Bc, TerminalBridge as Bd, ExtensionFilesApi as Bi, WEBVIEW_HOST_CAPABILITY_VERSION as Bl, HistoryConflict as Bn, DataTableRendererColumn as Bo, ResourceMenuSlotDefinition as Br, HarnessDetectionResult as Bs, qualifyRef as Bt, EventDeliveryResult as Bu, ExtensionSettingsPanelRecord as C, MiddlewareDefinition as Ca, QuestionResponse as Cc, NotificationPriority as Cd, ViewFilterCondition as Cf, FileRendererSaveParams as Ci, KanbanRendererEnumOption as Cl, defineStatusBarItem as Cn, ViewContribution as Co, isValidLocalContributionId as Cr, RangeControl as Cs, WebviewClient as Ct, ParamDescriptor as Cu, ExtensionCommandPaletteResourceRecord as D, ScheduleExpression as Da, LoadingPart as Dc, PackageAssetDescriptor as Dd, ViewSortDirection as Df, ArtifactMount as Di, KanbanRendererResourceRef as Dl, defineTheme as Dn, TreeNode as Do, workbenchModes as Dr, ResourceOption as Ds, createWebviewClient as Dt, ParamType as Du, ExtensionKeybindingRecord as E, ScheduleContribution as Ea, FilePart as Ec, ExtensionResourcesApi as Ed, ViewSort as Ef, ArtifactFile as Ei, KanbanRendererQueryResult as El, defineTemplateType as En, TreeAction as Eo, workbenchModeDefinitions as Er, ResourceControl as Es, WebviewSettingsClient as Et, ParamOptionSource as Eu, ProjectExtensionInstance as F, WorkspaceProviderResult as Fa, TextPart as Fc, ResourceAnchorValidationResult as Fd, ListActivityResponse as Ff, ExtensionBlobInput as Fi, KanbanRendererViewSettings as Fl, commandRefId as Fn, TreeRendererResourceRef as Fo, DockedWorkbenchRegion as Fr, VectorControl as Fs, TerminalSessionBridge as Ft, WorkspaceParam as Fu, LocalizableString as G, PageLocation as Ga, CommandPaletteResourceItem as Gc, TerminalSessionExit as Gd, ExtensionProcessApi as Gi, WebviewCommandsExecuteParams as Gl, historyValueKey as Gn, DataTableRendererQueryResult as Go, CommandDiagnostic as Gr, HarnessStateApi as Gs, isWorkbenchProjectUrl as Gt, ExtensionConnectionStreamEvent as Gu, ListExtensionConnectionsResponse as H, FileSourcePosition as Ha, CliContribution as Hc, TerminalHostEvent as Hd, ExtensionNetApi as Hi, WebviewArtifactFile as Hl, HistoryRecoveryInput as Hn, DataTableRendererColumnStat as Ho, extensionPanelRegions as Hr, HarnessParamsSchema as Hs, defaultPageResourceCodec as Ht, ExtensionConnectionMethod as Hu, UpgradeProjectExtensionResponse as I, WorkspaceProviderState as Ia, TokenUsagePart as Ic, ResourceRef as Id, ListProjectActivityInput as If, ExtensionBlobRef as Ii, ViewToolbarAction as Il, contributionRefId as In, TreeRendererState as Io, ExtensionPanelRegion as Ir, VectorValue as Is, createTerminalSessionBridge as It, SlotInvocationContext as Iu, ExtensionMenuContribution as J, PageMainView as Ja, CommandPaletteResourceTarget as Jc, TerminalSessionRequest as Jd, ExtensionSessionsApi as Ji, WebviewExtensionSettingSetParams as Jl, splitHistoryTurns as Jn, DataTableRendererRowAction as Jo, CommandInvocation as Jr, HarnessCommandContext as Js, serializePageUrl as Jt, ExtensionAutomationApi as Ju, ExtensionCommandPaletteContribution as K, PageMain as Ka, CommandPaletteResourceQueryParams as Kc, TerminalSessionHandle as Kd, ExtensionProjectContext as Ki, WebviewDeclarableCapability as Kl, mergeHistoryMetadata as Kn, DataTableRendererResourceRef as Ko, CommandFailedEvent as Kr, RetryableHarnessReattachError as Ks, parsePageUrl as Kt, ExtensionConnectionsApi as Ku, CommandExecuteRequest as L, WorkspaceTypeProvider as La, ToolPart as Lc, ResourceRemovedEvent as Ld, ExtensionBlobsApi as Li, ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES as Ll, CommandResponse as Ln, TreeSectionEmptyState as Lo, RegionSize as Lr, ResourceBinding as Ls, resourceKey as Lt, SlotOptions as Lu, InstallMarketplaceExtensionResponse as M, WorkspaceProviderMutationInput as Ma, SessionMessageRole as Mc, ResourceAnchorPage as Md, AgentModel as Mf, EventContext as Mi, KanbanRendererSettings as Ml, defineCommand as Mn, TreeRendererCommandResult as Mo, workbenchResourceKindDefinitions as Mr, SelectionGroup as Ms, artifactMountId as Mt, SelectParam as Mu, ListProjectExtensionsResponse as N, WorkspaceProviderRef as Na, StepFinishPart as Nc, ResourceAnchorQuery as Nd, AgentSkillsLayout as Nf, ExtensionActivityApi as Ni, KanbanRendererSortDirection as Nl, defineHook as Nn, TreeRendererContribution as No, workbenchResourceKinds as Nr, SelectionOption as Ns, artifactsRead as Nt, TemplateParam as Nu, WorkbenchExtensionCommandPaletteResourceRecord as O, UiContributions as Oa, PatchPart as Oc, RendererContext as Od, parseExtensionApiDeclaration as Of, CommandContext as Oi, KanbanRendererRow as Ol, defineView as On, TreeNodeRowVariant as Oo, workbenchPageDefinitions as Or, ResourceRefValue as Os, EXTENSION_EVENTS_SCOPE as Ot, ParamValue as Ou, MarketplaceExtension as P, WorkspaceProviderResolveInput as Pa, StepStartPart as Pc, ResourceAnchorValidationInput as Pd, harnessLocalId as Pf, ExtensionArtifactApi as Pi, KanbanRendererViewMode as Pl, defineMiddleware as Pn, TreeRendererQueryParams as Po, workbenchSlots as Pr, TextControl as Ps, TerminalSessionAdapter as Pt, TextParam as Pu, ListExtensionAppearanceResponse as Q, PageSlotRef as Qa, ExtensionSettingValueType as Qc, JsonValue as Qd, ExtensionStorageCollectionApi as Qi, WebviewFilesUploadParams as Ql, defineSlot as Qn, DataTableRendererSettings as Qo, CommandNotice as Qr, HarnessOperationResult as Qs, ExtensionViewRender as Qt, UpdateSkillInput as Qu, CommandExecuteResponse as R, StatusActionDefinition as Ra, ToolPartActionType as Rc, ResourceRole as Rd, ExtensionContextBase as Ri, WEBVIEW_DECLARABLE_CAPABILITIES as Rl, unwrapCommandOutcome as Rn, TreeViewSection as Ro, ResourceHierarchyProvider as Rr, ResourceConstraint as Rs, commandEvent as Rt, SlotRef as Ru, ExtensionSettingValueRecord as S, LocalExtensionSource as Sa, JsonPatch as Sc, NotificationOrigin as Sd, ViewFieldKind as Sf, FileRendererResourceRef as Si, KanbanRendererCreateRowContribution as Sl, defineSkill as Sn, ViewBody as So, resolveDataTableFieldKind as Sr, ParamEditorReadOnlyImage as Ss, WebviewArtifactsClient as St, NumberParam as Su, UpdateExtensionSettingRequest as T, ProviderContributions as Ta, ErrorPart as Tc, UpdateNotificationInput as Td, ViewFilterRule as Tf, FileRendererSectionTarget as Ti, KanbanRendererQueryParams as Tl, defineTemplate as Tn, WebviewViewBody as To, localContributionIdPattern as Tr, ReadOnlyControl as Ts, WebviewCommandsClient as Tt, ParamOption as Tu, ExtensionDiagnostic as U, PageContribution as Ua, CommandPaletteContribution as Uc, TerminalSessionAdapter$1 as Ud, ExtensionNotifyApi as Ui, WebviewArtifactsReadParams as Ul, HistoryRecoveryResult as Un, DataTableRendererContribution as Uo, CommandCompletedEvent as Ur, HarnessProvider as Us, PageUrlDefinition as Ut, ExtensionConnectionRequest as Uu, ExtensionConnectionRecord as V, WorkflowStatus as Va, ArtifactMountContribution as Vc, TerminalEvent as Vd, ExtensionHarnessInput as Vi, WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES as Vl, HistoryProjection as Vn, DataTableRendererColumnRenderer as Vo, dockedWorkbenchRegions as Vr, HarnessParamDescriptor as Vs, params as Vt, EventRef as Vu, ExtensionRecord as W, PageDocumentDeclaration as Wa, CommandPaletteResourceContribution as Wc, TerminalSessionError as Wd, ExtensionPackageFilesApi as Wi, WebviewCapabilityDeclaration as Wl, historyMessageKey as Wn, DataTableRendererQueryParams as Wo, CommandContinue as Wr, HarnessSkillsLayout as Ws, ParsedWorkbenchPageUrl as Wt, ExtensionConnectionResponse as Wu, findViewFilterProblem as X, PageSlot as Xa, ExtensionSettingScope as Xc, JsonObject as Xd, ExtensionSkillsApi as Xi, WebviewFilesDeleteParams as Xl, mergeOrderedHistory as Xn, DataTableRendererSavedView as Xo, CommandLifecyclePhase as Xr, HarnessCommandState as Xs, resolveEventReferenceId as Xt, SkillFile as Xu, WorkbenchExtensionAutomationRecord as Y, PageOpenIntent as Ya, ExtensionSettingProperty as Yc, TerminalSessionResult as Yd, ExtensionSettingsApi as Yi, WebviewFileScope as Yl, submittedPrompt as Yn, DataTableRendererRowActivationHandler as Yo, CommandLifecycleEventPayload as Yr, HarnessCommandDiscoveryContext as Ys, serializeWorkbenchPageUrl as Yt, Skill as Yu, viewFilterValueKind as Z, PageSlotCardinality as Za, ExtensionSettingValueForType as Zc, JsonPrimitive as Zd, ExtensionStorageApi as Zi, WebviewFilesListParams as Zl, isFileSourcePosition as Zn, DataTableRendererSelectionAction as Zo, CommandMiddlewareResult as Zr, HarnessOperation as Zs, ExtensionViewModule as Zt, SkillWithContent as Zu, CreateProjectInput as _, ExtensionConnectionContribution as _a, HarnessRecoveryInput as _c, ListNotificationsResponse as _d, LocalizedString as _f, NavigationTargetPage as _i, KanbanRendererAttributeDisplay as _l, defineResourceHierarchyProvider as _n, PlacementTabMenuGroup as _o, viewDataEvents as _r, ControlValueMap as _s, IssueAutomationTokenResponse as _t, JsonParam as _u, RemoveWorktreeResponse as a, StorageScope as aa, HarnessEventSink as ac, ListSessionActivityResponse as ad, ContributionRef as af, CommandReplaceParams as ai, ModeRegionSettings as al, defineActivityItem as an, DataTableViewBody as ao, ConflictPayload as ar, ControlsResourceRef as as, BoardSummary as at, WebviewNotificationActionParams as au, FileRecord as b, ExtensionSourceKind as ba, HarnessSession as bc, NotificationActorType as bd, normalizeBooleanViewRule as bf, FileRendererLoadParams as bi, KanbanRendererColumnAction as bl, defineSettingsPanel as bn, PlacementTabSnapshot as bo, worktreeEvents as br, NumberControl as bs, projectPrefix as bt, MarkdownParam as bu, WorkspaceFileContent as c, CreateExtensionWorkspaceInput as ca, HarnessMessagesInput as cc, Session as cd, PlacementRef as cf, CommandStartedEvent as ci, SkillContribution as cl, defineConnection as cn, NavigationItemContribution as co, SessionLifecyclePayload as cr, ActionsControl as cs, BoardViewUpdate as ct, WebviewNotificationShowParams as cu, WorkspaceListItem as d, ExtensionWorkspaceProvider as da, HarnessQuestion as dc, SessionConversationResponse as dd, SettingsSlotRef as df, WorkbenchAttachmentInvocationContext as di, ThemeContribution as dl, defineKeybinding as dn, NavigationTreeSlot as do, WorktreeRemovedPayload as dr, BaseControl as ds, AutomationRunError as dt, WebviewScopedDeclarableCapability as du, MigrationContext as ea, AgentCapability as ec, CreateSessionInput as ed, Struct as ef, CommandPatchParams as ei, FileIconThemeContribution as el, PropsStore as en, PageSlotRole as eo, eventRef as er, ControlsApplyInput as es, WorkbenchExtensionHarnessRecord as et, WebviewHostCapabilityParams as eu, WorkspaceProviderDescriptor as f, ExtensionWorkspacesApi as fa, HarnessQuestionChannel as fc, SessionConversationSources as fd, StatusBarSlotRef as ff, NavigationTarget as fi, ThemeMode as fl, defineMode as fn, PlacementContribution as fo, gitEvents as fr, BooleanControl as fs, AutomationRunEvent as ft, RendererContributionBase as fu, sessionAttachmentMimeTypesByExtension as g, EXTENSION_API_VERSION as ga, HarnessReattachInput as gc, ListNotificationsQuery as gd, Localizable as gf, NavigationTargetItem as gi, KanbanRendererAttributeDescriptor as gl, definePlacement as gn, PlacementPresentation as go, sessionSlots as gr, ControlValue as gs, IssueAutomationTokenInput as gt, HarnessParam as gu, UpdateSettingsInput as h, CommandDefinition as ha, HarnessQuestionRequest as hc, CreateNotificationInput as hd, ViewRef as hf, NavigationTargetHref as hi, CollectionBadgeItem as hl, definePage as hn, PlacementPresence as ho, sessionEvents as hr, ControlParam as hs, CreateAutomationRunInput as ht, FilesParam as hu, ListWorkspaceFilesInput as i, SetupContext as ia, HarnessAttachment as ic, ListSessionActivityInput as id, ContributionKind as if, CommandReplaceInvocation as ii, ModeContribution as il, defineExtension as in, ControlsViewBody as io, CommitPayload as ir, ControlsResetInput as is, BoardField as it, WebviewNavigationOpenParams as iu, EnableInstalledExtensionResponse as j, WorkspaceProviderCreateInput as ja, SessionMessagePart as jc, ResourceAnchorChangeEvent as jd, AgentInfo as jf, CommandRunHandler as ji, KanbanRendererSavedView as jl, resourceMenuSlotRef as jn, TreeRendererChildrenParams as jo, workbenchPanels as jr, SelectionControl as js, ArtifactMountKey as jt, ResourceParam as ju, AddLocalExtensionFolderResponse as k, WorkspaceCapabilities as ka, ReasoningPart as kc, RendererInvocationContext as kd, supportsExtensionApiVersion as kf, CommandMiddlewareContext as ki, KanbanRendererRowAction as kl, defineViewMenu as kn, TreeNodeTarget as ko, workbenchPages as kr, SegmentedControl as ks, WebviewEventsClient as kt, ParamValueRef as ku, WorkspaceFileEntry as l, CreateWorkspaceCommandParams as la, HarnessParamValue as lc, SessionAttachment as ld, ResourceKindRef as lf, CommandTarget as li, TemplateContribution as ll, defineFileIconTheme as ln, NavigationOwnerRef as lo, WorkspaceProvisionPayload as lr, AnchorGridControl as ls, BoardViews as lt, WebviewPreferencesGetParams as lu, Settings as m, BehaviourContributions as ma, HarnessQuestionReplyError as mc, SessionStatus as md, ThemeRef as mf, NavigationTargetCompound as mi, WhenExpression as ml, defineNavigationTree as mn, PlacementMountStrategy as mo, projectSlots as mr, ControlGroup as ms, AutomationTokenRecord as mt, BooleanParam as mu, ListWorkspaceActivityInput as n, ProcessRunResult as na, ApprovalResponse as nc, FollowUpInput as nd, ContributionDefinition as nf, CommandReject as ni, KeybindingContribution as nl, defineExtensionView as nn, PlacementIdentity as no, isNavigationTarget as nr, ControlsQueryResult as ns, WorkbenchExtensionViewBody as nt, WebviewHostCapabilityResults as nu, RenameWorkspaceInput as o, WorkspaceFilesMount as oa, HarnessExit as oc, ResolveSessionIdInput as od, ModeRef as of, CommandRequestedEvent as oi, SettingsPanelContribution as ol, defineArtifactMount as on, FileViewBody as oo, MergePayload as or, ControlsUpdateValueInput as os, BoardView as ot, WebviewNotificationDismissParams as ou, WriteWorkspaceFileInput as p, AssetContributions as pa, HarnessQuestionOption as pc, SessionQueuedMessagesResponse as pd, StatusRef as pf, NavigationTargetCommand as pi, WebviewContribution as pl, defineNavigationItem as pn, PlacementItem as po, projectEvents as pr, ColorControl as ps, AutomationRunStatus as pt, RendererEventReference as pu, ExtensionCommandRecord as q, PageMainPanels as qa, CommandPaletteResourceQueryResult as qc, TerminalSessionOperation as qd, ExtensionSessionResource as qi, WebviewExtensionSettingKeyParams as ql, reconcileMessageHistory as qn, DataTableRendererRow as qo, CommandHelpersApi as qr, DraftHarnessCommandInput as qs, parseWorkbenchPageUrl as qt, ExtensionLoggerApi as qu, ListWorkspaceActivityResponse as r, RendererCallback as ra, HarnessApprovalChannel as rc, FollowUpResponse as rd, ContributionInput as rf, CommandRejectedEvent as ri, MenuContribution as rl, GuestHost as rn, PlacementOwner as ro, qualifyNavigationTarget as rr, ControlsRendererContribution as rs, WorkbenchExtensionViewRecord as rt, WebviewKeyboardEventParams as ru, Workspace as s, WorkspaceSyncFile as sa, HarnessExitStatus as sc, ResolveSessionIdResponse as sd, PageRef as sf, CommandSource as si, SettingsSectionContribution as sl, defineCommandPaletteResource as sn, KanbanViewBody as so, RebasePayload as sr, ActionOption as ss, BoardViewCreate as st, WebviewNotificationResolveParams as su, CreateWorkspaceInput as t, ProcessRunInput as ta, ApprovalRequest as tc, CreateSessionResponse as td, ConnectionRef as tf, CommandRef as ti, KeybindingChord as tl, WebviewFilesClient as tn, PanelRef as to, packageAsset as tr, ControlsQueryParams as ts, WorkbenchExtensionMetadata as tt, WebviewHostCapabilityResult as tu, WorkspaceFilesResponse as u, ExtensionWorkspace as ua, HarnessParams as uc, SessionAttachmentRef as ud, SettingsSectionRef as uf, SerializedError as ui, TemplateTypeContribution as ul, defineHarness as un, NavigationTreeContribution as uo, WorkspaceType as ur, AnchorGridValue as us, AutomationRun as ut, WebviewPreferencesSetParams as uu, Project as v, ExtensionDefinition as va, HarnessRecoveryResult as vc, Notification as vd, isLocalizedString as vf, NavigationTargetPanel as vi, KanbanRendererAttributeType as vl, defineResourceKind as vn, PlacementTabMenuRow as vo, workspaceEvents as vr, DateControl as vs, ListAutomationRunEventsResponse as vt, ListParam as vu, ListExtensionSettingsResponse as w, PackageManifest as wa, TimeoutStrategy as wc, NotificationStatus as wd, ViewFilterGroup as wf, FileRendererSectionAnchor as wi, KanbanRendererFilterState as wl, defineStatuses as wn, ViewMenuContribution as wo, localContributionIdGrammar as wr, RangeValue as ws, WebviewClientOptions as wt, ParamObjectSchema as wu, ExtensionSettingDefinitionRecord as x, HookDefinition as xa, HarnessStartInput as xc, NotificationKind as xd, VIEW_FILTER_CONDITIONS as xf, FileRendererLoadResult as xi, KanbanRendererContribution as xl, defineSettingsSection as xn, TreeViewBody as xo, resolveDataTableComparableValue as xr, ParamEditorReadOnlyContent as xs, matchesResourceWhen as xt, MultiSelectParam as xu, UpdateProjectInput as y, ExtensionLoadScope as ya, HarnessResumeInput as yc, NotificationAction as yd, l10n as yf, FileRendererContribution as yi, KanbanRendererBoardColumnConfig as yl, defineSchedule as yn, PlacementTabPresentation as yo, workspaceSlots as yr, MarkdownControl as ys, ListAutomationTokensResponse as yt, LongTextParam as yu, DispatchExtensionEventInput as z, StatusBarItemContribution as za, ToolPartStatus as zc, ViewHierarchyParent as zd, ExtensionEventsApi as zi, WEBVIEW_HOST_CAPABILITIES as zl, SDK_VERSION as zn, DEFAULT_DATA_TABLE_SETTINGS as zo, ResourceKindDefinition as zr, HarnessContext as zs, QualifiedRef as zt, UiSlotKind as zu };
8336
9949
  export {};