@openspecui/core 3.3.0 → 3.4.1

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.
@@ -0,0 +1,1777 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/pty-protocol.d.ts
4
+ declare const PtyPlatformSchema: z.ZodEnum<["windows", "macos", "common"]>;
5
+ declare const PtySessionInfoSchema: z.ZodObject<{
6
+ id: z.ZodString;
7
+ title: z.ZodString;
8
+ command: z.ZodString;
9
+ args: z.ZodArray<z.ZodString, "many">;
10
+ platform: z.ZodEnum<["windows", "macos", "common"]>;
11
+ isExited: z.ZodBoolean;
12
+ exitCode: z.ZodNullable<z.ZodNumber>;
13
+ closeTip: z.ZodOptional<z.ZodString>;
14
+ closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ id: string;
17
+ command: string;
18
+ args: string[];
19
+ title: string;
20
+ platform: "windows" | "macos" | "common";
21
+ exitCode: number | null;
22
+ isExited: boolean;
23
+ closeTip?: string | undefined;
24
+ closeCallbackUrl?: string | Record<string, string> | undefined;
25
+ }, {
26
+ id: string;
27
+ command: string;
28
+ args: string[];
29
+ title: string;
30
+ platform: "windows" | "macos" | "common";
31
+ exitCode: number | null;
32
+ isExited: boolean;
33
+ closeTip?: string | undefined;
34
+ closeCallbackUrl?: string | Record<string, string> | undefined;
35
+ }>;
36
+ declare const PtyCreateMessageSchema: z.ZodObject<{
37
+ type: z.ZodLiteral<"create">;
38
+ requestId: z.ZodString;
39
+ cols: z.ZodOptional<z.ZodNumber>;
40
+ rows: z.ZodOptional<z.ZodNumber>;
41
+ command: z.ZodOptional<z.ZodString>;
42
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43
+ closeTip: z.ZodOptional<z.ZodString>;
44
+ closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ type: "create";
47
+ requestId: string;
48
+ command?: string | undefined;
49
+ args?: string[] | undefined;
50
+ cols?: number | undefined;
51
+ rows?: number | undefined;
52
+ closeTip?: string | undefined;
53
+ closeCallbackUrl?: string | Record<string, string> | undefined;
54
+ }, {
55
+ type: "create";
56
+ requestId: string;
57
+ command?: string | undefined;
58
+ args?: string[] | undefined;
59
+ cols?: number | undefined;
60
+ rows?: number | undefined;
61
+ closeTip?: string | undefined;
62
+ closeCallbackUrl?: string | Record<string, string> | undefined;
63
+ }>;
64
+ declare const PtyInputMessageSchema: z.ZodObject<{
65
+ type: z.ZodLiteral<"input">;
66
+ sessionId: z.ZodString;
67
+ data: z.ZodString;
68
+ }, "strip", z.ZodTypeAny, {
69
+ type: "input";
70
+ sessionId: string;
71
+ data: string;
72
+ }, {
73
+ type: "input";
74
+ sessionId: string;
75
+ data: string;
76
+ }>;
77
+ declare const PtyResizeMessageSchema: z.ZodObject<{
78
+ type: z.ZodLiteral<"resize">;
79
+ sessionId: z.ZodString;
80
+ cols: z.ZodNumber;
81
+ rows: z.ZodNumber;
82
+ }, "strip", z.ZodTypeAny, {
83
+ type: "resize";
84
+ cols: number;
85
+ rows: number;
86
+ sessionId: string;
87
+ }, {
88
+ type: "resize";
89
+ cols: number;
90
+ rows: number;
91
+ sessionId: string;
92
+ }>;
93
+ declare const PtyCloseMessageSchema: z.ZodObject<{
94
+ type: z.ZodLiteral<"close">;
95
+ sessionId: z.ZodString;
96
+ }, "strip", z.ZodTypeAny, {
97
+ type: "close";
98
+ sessionId: string;
99
+ }, {
100
+ type: "close";
101
+ sessionId: string;
102
+ }>;
103
+ declare const PtyAttachMessageSchema: z.ZodObject<{
104
+ type: z.ZodLiteral<"attach">;
105
+ sessionId: z.ZodString;
106
+ cols: z.ZodOptional<z.ZodNumber>;
107
+ rows: z.ZodOptional<z.ZodNumber>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ type: "attach";
110
+ sessionId: string;
111
+ cols?: number | undefined;
112
+ rows?: number | undefined;
113
+ }, {
114
+ type: "attach";
115
+ sessionId: string;
116
+ cols?: number | undefined;
117
+ rows?: number | undefined;
118
+ }>;
119
+ declare const PtyListMessageSchema: z.ZodObject<{
120
+ type: z.ZodLiteral<"list">;
121
+ }, "strip", z.ZodTypeAny, {
122
+ type: "list";
123
+ }, {
124
+ type: "list";
125
+ }>;
126
+ declare const PtyClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
127
+ type: z.ZodLiteral<"create">;
128
+ requestId: z.ZodString;
129
+ cols: z.ZodOptional<z.ZodNumber>;
130
+ rows: z.ZodOptional<z.ZodNumber>;
131
+ command: z.ZodOptional<z.ZodString>;
132
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
133
+ closeTip: z.ZodOptional<z.ZodString>;
134
+ closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ type: "create";
137
+ requestId: string;
138
+ command?: string | undefined;
139
+ args?: string[] | undefined;
140
+ cols?: number | undefined;
141
+ rows?: number | undefined;
142
+ closeTip?: string | undefined;
143
+ closeCallbackUrl?: string | Record<string, string> | undefined;
144
+ }, {
145
+ type: "create";
146
+ requestId: string;
147
+ command?: string | undefined;
148
+ args?: string[] | undefined;
149
+ cols?: number | undefined;
150
+ rows?: number | undefined;
151
+ closeTip?: string | undefined;
152
+ closeCallbackUrl?: string | Record<string, string> | undefined;
153
+ }>, z.ZodObject<{
154
+ type: z.ZodLiteral<"input">;
155
+ sessionId: z.ZodString;
156
+ data: z.ZodString;
157
+ }, "strip", z.ZodTypeAny, {
158
+ type: "input";
159
+ sessionId: string;
160
+ data: string;
161
+ }, {
162
+ type: "input";
163
+ sessionId: string;
164
+ data: string;
165
+ }>, z.ZodObject<{
166
+ type: z.ZodLiteral<"resize">;
167
+ sessionId: z.ZodString;
168
+ cols: z.ZodNumber;
169
+ rows: z.ZodNumber;
170
+ }, "strip", z.ZodTypeAny, {
171
+ type: "resize";
172
+ cols: number;
173
+ rows: number;
174
+ sessionId: string;
175
+ }, {
176
+ type: "resize";
177
+ cols: number;
178
+ rows: number;
179
+ sessionId: string;
180
+ }>, z.ZodObject<{
181
+ type: z.ZodLiteral<"close">;
182
+ sessionId: z.ZodString;
183
+ }, "strip", z.ZodTypeAny, {
184
+ type: "close";
185
+ sessionId: string;
186
+ }, {
187
+ type: "close";
188
+ sessionId: string;
189
+ }>, z.ZodObject<{
190
+ type: z.ZodLiteral<"attach">;
191
+ sessionId: z.ZodString;
192
+ cols: z.ZodOptional<z.ZodNumber>;
193
+ rows: z.ZodOptional<z.ZodNumber>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ type: "attach";
196
+ sessionId: string;
197
+ cols?: number | undefined;
198
+ rows?: number | undefined;
199
+ }, {
200
+ type: "attach";
201
+ sessionId: string;
202
+ cols?: number | undefined;
203
+ rows?: number | undefined;
204
+ }>, z.ZodObject<{
205
+ type: z.ZodLiteral<"list">;
206
+ }, "strip", z.ZodTypeAny, {
207
+ type: "list";
208
+ }, {
209
+ type: "list";
210
+ }>]>;
211
+ declare const PtyCreatedResponseSchema: z.ZodObject<{
212
+ type: z.ZodLiteral<"created">;
213
+ requestId: z.ZodString;
214
+ sessionId: z.ZodString;
215
+ platform: z.ZodEnum<["windows", "macos", "common"]>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ type: "created";
218
+ requestId: string;
219
+ sessionId: string;
220
+ platform: "windows" | "macos" | "common";
221
+ }, {
222
+ type: "created";
223
+ requestId: string;
224
+ sessionId: string;
225
+ platform: "windows" | "macos" | "common";
226
+ }>;
227
+ declare const PtyOutputResponseSchema: z.ZodObject<{
228
+ type: z.ZodLiteral<"output">;
229
+ sessionId: z.ZodString;
230
+ data: z.ZodString;
231
+ }, "strip", z.ZodTypeAny, {
232
+ type: "output";
233
+ sessionId: string;
234
+ data: string;
235
+ }, {
236
+ type: "output";
237
+ sessionId: string;
238
+ data: string;
239
+ }>;
240
+ declare const PtyExitResponseSchema: z.ZodObject<{
241
+ type: z.ZodLiteral<"exit">;
242
+ sessionId: z.ZodString;
243
+ exitCode: z.ZodNumber;
244
+ }, "strip", z.ZodTypeAny, {
245
+ type: "exit";
246
+ sessionId: string;
247
+ exitCode: number;
248
+ }, {
249
+ type: "exit";
250
+ sessionId: string;
251
+ exitCode: number;
252
+ }>;
253
+ declare const PtyTitleResponseSchema: z.ZodObject<{
254
+ type: z.ZodLiteral<"title">;
255
+ sessionId: z.ZodString;
256
+ title: z.ZodString;
257
+ }, "strip", z.ZodTypeAny, {
258
+ type: "title";
259
+ title: string;
260
+ sessionId: string;
261
+ }, {
262
+ type: "title";
263
+ title: string;
264
+ sessionId: string;
265
+ }>;
266
+ declare const PtyBufferResponseSchema: z.ZodObject<{
267
+ type: z.ZodLiteral<"buffer">;
268
+ sessionId: z.ZodString;
269
+ data: z.ZodString;
270
+ }, "strip", z.ZodTypeAny, {
271
+ type: "buffer";
272
+ sessionId: string;
273
+ data: string;
274
+ }, {
275
+ type: "buffer";
276
+ sessionId: string;
277
+ data: string;
278
+ }>;
279
+ declare const PtyListResponseSchema: z.ZodObject<{
280
+ type: z.ZodLiteral<"list">;
281
+ sessions: z.ZodArray<z.ZodObject<{
282
+ id: z.ZodString;
283
+ title: z.ZodString;
284
+ command: z.ZodString;
285
+ args: z.ZodArray<z.ZodString, "many">;
286
+ platform: z.ZodEnum<["windows", "macos", "common"]>;
287
+ isExited: z.ZodBoolean;
288
+ exitCode: z.ZodNullable<z.ZodNumber>;
289
+ closeTip: z.ZodOptional<z.ZodString>;
290
+ closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ id: string;
293
+ command: string;
294
+ args: string[];
295
+ title: string;
296
+ platform: "windows" | "macos" | "common";
297
+ exitCode: number | null;
298
+ isExited: boolean;
299
+ closeTip?: string | undefined;
300
+ closeCallbackUrl?: string | Record<string, string> | undefined;
301
+ }, {
302
+ id: string;
303
+ command: string;
304
+ args: string[];
305
+ title: string;
306
+ platform: "windows" | "macos" | "common";
307
+ exitCode: number | null;
308
+ isExited: boolean;
309
+ closeTip?: string | undefined;
310
+ closeCallbackUrl?: string | Record<string, string> | undefined;
311
+ }>, "many">;
312
+ }, "strip", z.ZodTypeAny, {
313
+ type: "list";
314
+ sessions: {
315
+ id: string;
316
+ command: string;
317
+ args: string[];
318
+ title: string;
319
+ platform: "windows" | "macos" | "common";
320
+ exitCode: number | null;
321
+ isExited: boolean;
322
+ closeTip?: string | undefined;
323
+ closeCallbackUrl?: string | Record<string, string> | undefined;
324
+ }[];
325
+ }, {
326
+ type: "list";
327
+ sessions: {
328
+ id: string;
329
+ command: string;
330
+ args: string[];
331
+ title: string;
332
+ platform: "windows" | "macos" | "common";
333
+ exitCode: number | null;
334
+ isExited: boolean;
335
+ closeTip?: string | undefined;
336
+ closeCallbackUrl?: string | Record<string, string> | undefined;
337
+ }[];
338
+ }>;
339
+ declare const PtyErrorCodeSchema: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
340
+ declare const PtyErrorResponseSchema: z.ZodObject<{
341
+ type: z.ZodLiteral<"error">;
342
+ code: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
343
+ message: z.ZodString;
344
+ sessionId: z.ZodOptional<z.ZodString>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
347
+ message: string;
348
+ type: "error";
349
+ sessionId?: string | undefined;
350
+ }, {
351
+ code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
352
+ message: string;
353
+ type: "error";
354
+ sessionId?: string | undefined;
355
+ }>;
356
+ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
357
+ type: z.ZodLiteral<"created">;
358
+ requestId: z.ZodString;
359
+ sessionId: z.ZodString;
360
+ platform: z.ZodEnum<["windows", "macos", "common"]>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ type: "created";
363
+ requestId: string;
364
+ sessionId: string;
365
+ platform: "windows" | "macos" | "common";
366
+ }, {
367
+ type: "created";
368
+ requestId: string;
369
+ sessionId: string;
370
+ platform: "windows" | "macos" | "common";
371
+ }>, z.ZodObject<{
372
+ type: z.ZodLiteral<"output">;
373
+ sessionId: z.ZodString;
374
+ data: z.ZodString;
375
+ }, "strip", z.ZodTypeAny, {
376
+ type: "output";
377
+ sessionId: string;
378
+ data: string;
379
+ }, {
380
+ type: "output";
381
+ sessionId: string;
382
+ data: string;
383
+ }>, z.ZodObject<{
384
+ type: z.ZodLiteral<"exit">;
385
+ sessionId: z.ZodString;
386
+ exitCode: z.ZodNumber;
387
+ }, "strip", z.ZodTypeAny, {
388
+ type: "exit";
389
+ sessionId: string;
390
+ exitCode: number;
391
+ }, {
392
+ type: "exit";
393
+ sessionId: string;
394
+ exitCode: number;
395
+ }>, z.ZodObject<{
396
+ type: z.ZodLiteral<"title">;
397
+ sessionId: z.ZodString;
398
+ title: z.ZodString;
399
+ }, "strip", z.ZodTypeAny, {
400
+ type: "title";
401
+ title: string;
402
+ sessionId: string;
403
+ }, {
404
+ type: "title";
405
+ title: string;
406
+ sessionId: string;
407
+ }>, z.ZodObject<{
408
+ type: z.ZodLiteral<"buffer">;
409
+ sessionId: z.ZodString;
410
+ data: z.ZodString;
411
+ }, "strip", z.ZodTypeAny, {
412
+ type: "buffer";
413
+ sessionId: string;
414
+ data: string;
415
+ }, {
416
+ type: "buffer";
417
+ sessionId: string;
418
+ data: string;
419
+ }>, z.ZodObject<{
420
+ type: z.ZodLiteral<"list">;
421
+ sessions: z.ZodArray<z.ZodObject<{
422
+ id: z.ZodString;
423
+ title: z.ZodString;
424
+ command: z.ZodString;
425
+ args: z.ZodArray<z.ZodString, "many">;
426
+ platform: z.ZodEnum<["windows", "macos", "common"]>;
427
+ isExited: z.ZodBoolean;
428
+ exitCode: z.ZodNullable<z.ZodNumber>;
429
+ closeTip: z.ZodOptional<z.ZodString>;
430
+ closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ id: string;
433
+ command: string;
434
+ args: string[];
435
+ title: string;
436
+ platform: "windows" | "macos" | "common";
437
+ exitCode: number | null;
438
+ isExited: boolean;
439
+ closeTip?: string | undefined;
440
+ closeCallbackUrl?: string | Record<string, string> | undefined;
441
+ }, {
442
+ id: string;
443
+ command: string;
444
+ args: string[];
445
+ title: string;
446
+ platform: "windows" | "macos" | "common";
447
+ exitCode: number | null;
448
+ isExited: boolean;
449
+ closeTip?: string | undefined;
450
+ closeCallbackUrl?: string | Record<string, string> | undefined;
451
+ }>, "many">;
452
+ }, "strip", z.ZodTypeAny, {
453
+ type: "list";
454
+ sessions: {
455
+ id: string;
456
+ command: string;
457
+ args: string[];
458
+ title: string;
459
+ platform: "windows" | "macos" | "common";
460
+ exitCode: number | null;
461
+ isExited: boolean;
462
+ closeTip?: string | undefined;
463
+ closeCallbackUrl?: string | Record<string, string> | undefined;
464
+ }[];
465
+ }, {
466
+ type: "list";
467
+ sessions: {
468
+ id: string;
469
+ command: string;
470
+ args: string[];
471
+ title: string;
472
+ platform: "windows" | "macos" | "common";
473
+ exitCode: number | null;
474
+ isExited: boolean;
475
+ closeTip?: string | undefined;
476
+ closeCallbackUrl?: string | Record<string, string> | undefined;
477
+ }[];
478
+ }>, z.ZodObject<{
479
+ type: z.ZodLiteral<"error">;
480
+ code: z.ZodEnum<["INVALID_JSON", "INVALID_MESSAGE", "SESSION_NOT_FOUND", "PTY_CREATE_FAILED"]>;
481
+ message: z.ZodString;
482
+ sessionId: z.ZodOptional<z.ZodString>;
483
+ }, "strip", z.ZodTypeAny, {
484
+ code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
485
+ message: string;
486
+ type: "error";
487
+ sessionId?: string | undefined;
488
+ }, {
489
+ code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
490
+ message: string;
491
+ type: "error";
492
+ sessionId?: string | undefined;
493
+ }>]>;
494
+ type PtyClientMessage = z.infer<typeof PtyClientMessageSchema>;
495
+ type PtyServerMessage = z.infer<typeof PtyServerMessageSchema>;
496
+ type PtySessionInfo = z.infer<typeof PtySessionInfoSchema>;
497
+ type PtyPlatform = z.infer<typeof PtyPlatformSchema>;
498
+ //#endregion
499
+ //#region src/terminal-invocation.d.ts
500
+ interface TerminalShellEnv {
501
+ SHELL?: string;
502
+ ComSpec?: string;
503
+ }
504
+ declare const TERMINAL_SHELL_QUOTE_STYLE_VALUES: readonly ["posix", "cmd", "powershell"];
505
+ declare const TERMINAL_COMMAND_FIELD_TYPE_VALUES: readonly ["text", "textarea", "boolean", "select"];
506
+ declare const TerminalShellQuoteStyleSchema: z.ZodEnum<["posix", "cmd", "powershell"]>;
507
+ type TerminalShellQuoteStyle = z.infer<typeof TerminalShellQuoteStyleSchema>;
508
+ declare const TerminalShellProfileSchema: z.ZodObject<{
509
+ id: z.ZodString;
510
+ label: z.ZodString;
511
+ command: z.ZodString;
512
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
513
+ source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
514
+ quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ id: string;
517
+ label: string;
518
+ command: string;
519
+ args: string[];
520
+ source: "builtin" | "custom";
521
+ quoteStyle: "posix" | "cmd" | "powershell";
522
+ }, {
523
+ id: string;
524
+ label: string;
525
+ command: string;
526
+ args?: string[] | undefined;
527
+ source?: "builtin" | "custom" | undefined;
528
+ quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
529
+ }>;
530
+ type TerminalShellProfile = z.infer<typeof TerminalShellProfileSchema>;
531
+ declare const TerminalCommandFieldSchema: z.ZodObject<{
532
+ id: z.ZodString;
533
+ label: z.ZodString;
534
+ type: z.ZodEnum<["text", "textarea", "boolean", "select"]>;
535
+ description: z.ZodOptional<z.ZodString>;
536
+ placeholder: z.ZodOptional<z.ZodString>;
537
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
538
+ options: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
539
+ required: z.ZodDefault<z.ZodBoolean>;
540
+ advanced: z.ZodDefault<z.ZodBoolean>;
541
+ }, "strip", z.ZodTypeAny, {
542
+ id: string;
543
+ label: string;
544
+ options: string[];
545
+ type: "boolean" | "text" | "textarea" | "select";
546
+ required: boolean;
547
+ advanced: boolean;
548
+ description?: string | undefined;
549
+ placeholder?: string | undefined;
550
+ defaultValue?: string | boolean | undefined;
551
+ }, {
552
+ id: string;
553
+ label: string;
554
+ type: "boolean" | "text" | "textarea" | "select";
555
+ options?: string[] | undefined;
556
+ description?: string | undefined;
557
+ placeholder?: string | undefined;
558
+ defaultValue?: string | boolean | undefined;
559
+ required?: boolean | undefined;
560
+ advanced?: boolean | undefined;
561
+ }>;
562
+ type TerminalCommandField = z.infer<typeof TerminalCommandFieldSchema>;
563
+ declare const TerminalCommandArgumentSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
564
+ kind: z.ZodLiteral<"literal">;
565
+ value: z.ZodString;
566
+ }, "strip", z.ZodTypeAny, {
567
+ value: string;
568
+ kind: "literal";
569
+ }, {
570
+ value: string;
571
+ kind: "literal";
572
+ }>, z.ZodObject<{
573
+ kind: z.ZodLiteral<"field">;
574
+ fieldId: z.ZodString;
575
+ prefix: z.ZodDefault<z.ZodString>;
576
+ omitWhenEmpty: z.ZodDefault<z.ZodBoolean>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ kind: "field";
579
+ fieldId: string;
580
+ prefix: string;
581
+ omitWhenEmpty: boolean;
582
+ }, {
583
+ kind: "field";
584
+ fieldId: string;
585
+ prefix?: string | undefined;
586
+ omitWhenEmpty?: boolean | undefined;
587
+ }>, z.ZodObject<{
588
+ kind: z.ZodLiteral<"booleanFlag">;
589
+ fieldId: z.ZodString;
590
+ flag: z.ZodString;
591
+ }, "strip", z.ZodTypeAny, {
592
+ kind: "booleanFlag";
593
+ fieldId: string;
594
+ flag: string;
595
+ }, {
596
+ kind: "booleanFlag";
597
+ fieldId: string;
598
+ flag: string;
599
+ }>]>;
600
+ type TerminalCommandArgument = z.infer<typeof TerminalCommandArgumentSchema>;
601
+ declare const TerminalCommandJsonSchemaPropertySchema: z.ZodObject<{
602
+ type: z.ZodDefault<z.ZodEnum<["string", "boolean"]>>;
603
+ title: z.ZodOptional<z.ZodString>;
604
+ description: z.ZodOptional<z.ZodString>;
605
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
606
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ type: "string" | "boolean";
609
+ description?: string | undefined;
610
+ title?: string | undefined;
611
+ default?: string | boolean | undefined;
612
+ enum?: string[] | undefined;
613
+ }, {
614
+ type?: "string" | "boolean" | undefined;
615
+ description?: string | undefined;
616
+ title?: string | undefined;
617
+ default?: string | boolean | undefined;
618
+ enum?: string[] | undefined;
619
+ }>;
620
+ type TerminalCommandJsonSchemaProperty = z.infer<typeof TerminalCommandJsonSchemaPropertySchema>;
621
+ declare const TerminalCommandJsonSchemaSchema: z.ZodObject<{
622
+ type: z.ZodLiteral<"object">;
623
+ properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
624
+ type: z.ZodDefault<z.ZodEnum<["string", "boolean"]>>;
625
+ title: z.ZodOptional<z.ZodString>;
626
+ description: z.ZodOptional<z.ZodString>;
627
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
628
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ type: "string" | "boolean";
631
+ description?: string | undefined;
632
+ title?: string | undefined;
633
+ default?: string | boolean | undefined;
634
+ enum?: string[] | undefined;
635
+ }, {
636
+ type?: "string" | "boolean" | undefined;
637
+ description?: string | undefined;
638
+ title?: string | undefined;
639
+ default?: string | boolean | undefined;
640
+ enum?: string[] | undefined;
641
+ }>>>;
642
+ required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
643
+ }, "strip", z.ZodTypeAny, {
644
+ type: "object";
645
+ required: string[];
646
+ properties: Record<string, {
647
+ type: "string" | "boolean";
648
+ description?: string | undefined;
649
+ title?: string | undefined;
650
+ default?: string | boolean | undefined;
651
+ enum?: string[] | undefined;
652
+ }>;
653
+ }, {
654
+ type: "object";
655
+ required?: string[] | undefined;
656
+ properties?: Record<string, {
657
+ type?: "string" | "boolean" | undefined;
658
+ description?: string | undefined;
659
+ title?: string | undefined;
660
+ default?: string | boolean | undefined;
661
+ enum?: string[] | undefined;
662
+ }> | undefined;
663
+ }>;
664
+ type TerminalCommandJsonSchema = z.infer<typeof TerminalCommandJsonSchemaSchema>;
665
+ declare const TerminalCommandParametersSchema: z.ZodObject<{
666
+ schema: z.ZodObject<{
667
+ type: z.ZodLiteral<"object">;
668
+ properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
669
+ type: z.ZodDefault<z.ZodEnum<["string", "boolean"]>>;
670
+ title: z.ZodOptional<z.ZodString>;
671
+ description: z.ZodOptional<z.ZodString>;
672
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
673
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ type: "string" | "boolean";
676
+ description?: string | undefined;
677
+ title?: string | undefined;
678
+ default?: string | boolean | undefined;
679
+ enum?: string[] | undefined;
680
+ }, {
681
+ type?: "string" | "boolean" | undefined;
682
+ description?: string | undefined;
683
+ title?: string | undefined;
684
+ default?: string | boolean | undefined;
685
+ enum?: string[] | undefined;
686
+ }>>>;
687
+ required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
688
+ }, "strip", z.ZodTypeAny, {
689
+ type: "object";
690
+ required: string[];
691
+ properties: Record<string, {
692
+ type: "string" | "boolean";
693
+ description?: string | undefined;
694
+ title?: string | undefined;
695
+ default?: string | boolean | undefined;
696
+ enum?: string[] | undefined;
697
+ }>;
698
+ }, {
699
+ type: "object";
700
+ required?: string[] | undefined;
701
+ properties?: Record<string, {
702
+ type?: "string" | "boolean" | undefined;
703
+ description?: string | undefined;
704
+ title?: string | undefined;
705
+ default?: string | boolean | undefined;
706
+ enum?: string[] | undefined;
707
+ }> | undefined;
708
+ }>;
709
+ uiSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
710
+ }, "strip", z.ZodTypeAny, {
711
+ schema: {
712
+ type: "object";
713
+ required: string[];
714
+ properties: Record<string, {
715
+ type: "string" | "boolean";
716
+ description?: string | undefined;
717
+ title?: string | undefined;
718
+ default?: string | boolean | undefined;
719
+ enum?: string[] | undefined;
720
+ }>;
721
+ };
722
+ uiSchema: Record<string, unknown>;
723
+ }, {
724
+ schema: {
725
+ type: "object";
726
+ required?: string[] | undefined;
727
+ properties?: Record<string, {
728
+ type?: "string" | "boolean" | undefined;
729
+ description?: string | undefined;
730
+ title?: string | undefined;
731
+ default?: string | boolean | undefined;
732
+ enum?: string[] | undefined;
733
+ }> | undefined;
734
+ };
735
+ uiSchema?: Record<string, unknown> | undefined;
736
+ }>;
737
+ type TerminalCommandParameters = z.infer<typeof TerminalCommandParametersSchema>;
738
+ declare const TerminalCommandBuilderPartSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
739
+ kind: z.ZodLiteral<"literal">;
740
+ value: z.ZodString;
741
+ }, "strip", z.ZodTypeAny, {
742
+ value: string;
743
+ kind: "literal";
744
+ }, {
745
+ value: string;
746
+ kind: "literal";
747
+ }>, z.ZodObject<{
748
+ kind: z.ZodLiteral<"field">;
749
+ fieldId: z.ZodString;
750
+ prefix: z.ZodDefault<z.ZodString>;
751
+ omitWhenEmpty: z.ZodDefault<z.ZodBoolean>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ kind: "field";
754
+ fieldId: string;
755
+ prefix: string;
756
+ omitWhenEmpty: boolean;
757
+ }, {
758
+ kind: "field";
759
+ fieldId: string;
760
+ prefix?: string | undefined;
761
+ omitWhenEmpty?: boolean | undefined;
762
+ }>, z.ZodObject<{
763
+ kind: z.ZodLiteral<"booleanFlag">;
764
+ fieldId: z.ZodString;
765
+ flag: z.ZodString;
766
+ }, "strip", z.ZodTypeAny, {
767
+ kind: "booleanFlag";
768
+ fieldId: string;
769
+ flag: string;
770
+ }, {
771
+ kind: "booleanFlag";
772
+ fieldId: string;
773
+ flag: string;
774
+ }>]>;
775
+ type TerminalCommandBuilderPart = z.infer<typeof TerminalCommandBuilderPartSchema>;
776
+ declare const TerminalCommandBuilderSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
777
+ kind: z.ZodLiteral<"argv">;
778
+ parts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
779
+ kind: z.ZodLiteral<"literal">;
780
+ value: z.ZodString;
781
+ }, "strip", z.ZodTypeAny, {
782
+ value: string;
783
+ kind: "literal";
784
+ }, {
785
+ value: string;
786
+ kind: "literal";
787
+ }>, z.ZodObject<{
788
+ kind: z.ZodLiteral<"field">;
789
+ fieldId: z.ZodString;
790
+ prefix: z.ZodDefault<z.ZodString>;
791
+ omitWhenEmpty: z.ZodDefault<z.ZodBoolean>;
792
+ }, "strip", z.ZodTypeAny, {
793
+ kind: "field";
794
+ fieldId: string;
795
+ prefix: string;
796
+ omitWhenEmpty: boolean;
797
+ }, {
798
+ kind: "field";
799
+ fieldId: string;
800
+ prefix?: string | undefined;
801
+ omitWhenEmpty?: boolean | undefined;
802
+ }>, z.ZodObject<{
803
+ kind: z.ZodLiteral<"booleanFlag">;
804
+ fieldId: z.ZodString;
805
+ flag: z.ZodString;
806
+ }, "strip", z.ZodTypeAny, {
807
+ kind: "booleanFlag";
808
+ fieldId: string;
809
+ flag: string;
810
+ }, {
811
+ kind: "booleanFlag";
812
+ fieldId: string;
813
+ flag: string;
814
+ }>]>, "many">>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ kind: "argv";
817
+ parts: ({
818
+ value: string;
819
+ kind: "literal";
820
+ } | {
821
+ kind: "field";
822
+ fieldId: string;
823
+ prefix: string;
824
+ omitWhenEmpty: boolean;
825
+ } | {
826
+ kind: "booleanFlag";
827
+ fieldId: string;
828
+ flag: string;
829
+ })[];
830
+ }, {
831
+ kind: "argv";
832
+ parts?: ({
833
+ value: string;
834
+ kind: "literal";
835
+ } | {
836
+ kind: "field";
837
+ fieldId: string;
838
+ prefix?: string | undefined;
839
+ omitWhenEmpty?: boolean | undefined;
840
+ } | {
841
+ kind: "booleanFlag";
842
+ fieldId: string;
843
+ flag: string;
844
+ })[] | undefined;
845
+ }>, z.ZodObject<{
846
+ kind: z.ZodLiteral<"shellLine">;
847
+ template: z.ZodDefault<z.ZodString>;
848
+ }, "strip", z.ZodTypeAny, {
849
+ kind: "shellLine";
850
+ template: string;
851
+ }, {
852
+ kind: "shellLine";
853
+ template?: string | undefined;
854
+ }>]>;
855
+ type TerminalCommandBuilder = z.infer<typeof TerminalCommandBuilderSchema>;
856
+ declare const TerminalSpawnCommandSchema: z.ZodObject<{
857
+ id: z.ZodString;
858
+ label: z.ZodString;
859
+ description: z.ZodOptional<z.ZodString>;
860
+ command: z.ZodString;
861
+ args: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
862
+ kind: z.ZodLiteral<"literal">;
863
+ value: z.ZodString;
864
+ }, "strip", z.ZodTypeAny, {
865
+ value: string;
866
+ kind: "literal";
867
+ }, {
868
+ value: string;
869
+ kind: "literal";
870
+ }>, z.ZodObject<{
871
+ kind: z.ZodLiteral<"field">;
872
+ fieldId: z.ZodString;
873
+ prefix: z.ZodDefault<z.ZodString>;
874
+ omitWhenEmpty: z.ZodDefault<z.ZodBoolean>;
875
+ }, "strip", z.ZodTypeAny, {
876
+ kind: "field";
877
+ fieldId: string;
878
+ prefix: string;
879
+ omitWhenEmpty: boolean;
880
+ }, {
881
+ kind: "field";
882
+ fieldId: string;
883
+ prefix?: string | undefined;
884
+ omitWhenEmpty?: boolean | undefined;
885
+ }>, z.ZodObject<{
886
+ kind: z.ZodLiteral<"booleanFlag">;
887
+ fieldId: z.ZodString;
888
+ flag: z.ZodString;
889
+ }, "strip", z.ZodTypeAny, {
890
+ kind: "booleanFlag";
891
+ fieldId: string;
892
+ flag: string;
893
+ }, {
894
+ kind: "booleanFlag";
895
+ fieldId: string;
896
+ flag: string;
897
+ }>]>, "many">>;
898
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
899
+ id: z.ZodString;
900
+ label: z.ZodString;
901
+ type: z.ZodEnum<["text", "textarea", "boolean", "select"]>;
902
+ description: z.ZodOptional<z.ZodString>;
903
+ placeholder: z.ZodOptional<z.ZodString>;
904
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
905
+ options: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
906
+ required: z.ZodDefault<z.ZodBoolean>;
907
+ advanced: z.ZodDefault<z.ZodBoolean>;
908
+ }, "strip", z.ZodTypeAny, {
909
+ id: string;
910
+ label: string;
911
+ options: string[];
912
+ type: "boolean" | "text" | "textarea" | "select";
913
+ required: boolean;
914
+ advanced: boolean;
915
+ description?: string | undefined;
916
+ placeholder?: string | undefined;
917
+ defaultValue?: string | boolean | undefined;
918
+ }, {
919
+ id: string;
920
+ label: string;
921
+ type: "boolean" | "text" | "textarea" | "select";
922
+ options?: string[] | undefined;
923
+ description?: string | undefined;
924
+ placeholder?: string | undefined;
925
+ defaultValue?: string | boolean | undefined;
926
+ required?: boolean | undefined;
927
+ advanced?: boolean | undefined;
928
+ }>, "many">>;
929
+ parameters: z.ZodOptional<z.ZodObject<{
930
+ schema: z.ZodObject<{
931
+ type: z.ZodLiteral<"object">;
932
+ properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
933
+ type: z.ZodDefault<z.ZodEnum<["string", "boolean"]>>;
934
+ title: z.ZodOptional<z.ZodString>;
935
+ description: z.ZodOptional<z.ZodString>;
936
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
937
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
938
+ }, "strip", z.ZodTypeAny, {
939
+ type: "string" | "boolean";
940
+ description?: string | undefined;
941
+ title?: string | undefined;
942
+ default?: string | boolean | undefined;
943
+ enum?: string[] | undefined;
944
+ }, {
945
+ type?: "string" | "boolean" | undefined;
946
+ description?: string | undefined;
947
+ title?: string | undefined;
948
+ default?: string | boolean | undefined;
949
+ enum?: string[] | undefined;
950
+ }>>>;
951
+ required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
952
+ }, "strip", z.ZodTypeAny, {
953
+ type: "object";
954
+ required: string[];
955
+ properties: Record<string, {
956
+ type: "string" | "boolean";
957
+ description?: string | undefined;
958
+ title?: string | undefined;
959
+ default?: string | boolean | undefined;
960
+ enum?: string[] | undefined;
961
+ }>;
962
+ }, {
963
+ type: "object";
964
+ required?: string[] | undefined;
965
+ properties?: Record<string, {
966
+ type?: "string" | "boolean" | undefined;
967
+ description?: string | undefined;
968
+ title?: string | undefined;
969
+ default?: string | boolean | undefined;
970
+ enum?: string[] | undefined;
971
+ }> | undefined;
972
+ }>;
973
+ uiSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ schema: {
976
+ type: "object";
977
+ required: string[];
978
+ properties: Record<string, {
979
+ type: "string" | "boolean";
980
+ description?: string | undefined;
981
+ title?: string | undefined;
982
+ default?: string | boolean | undefined;
983
+ enum?: string[] | undefined;
984
+ }>;
985
+ };
986
+ uiSchema: Record<string, unknown>;
987
+ }, {
988
+ schema: {
989
+ type: "object";
990
+ required?: string[] | undefined;
991
+ properties?: Record<string, {
992
+ type?: "string" | "boolean" | undefined;
993
+ description?: string | undefined;
994
+ title?: string | undefined;
995
+ default?: string | boolean | undefined;
996
+ enum?: string[] | undefined;
997
+ }> | undefined;
998
+ };
999
+ uiSchema?: Record<string, unknown> | undefined;
1000
+ }>>;
1001
+ builder: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1002
+ kind: z.ZodLiteral<"argv">;
1003
+ parts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1004
+ kind: z.ZodLiteral<"literal">;
1005
+ value: z.ZodString;
1006
+ }, "strip", z.ZodTypeAny, {
1007
+ value: string;
1008
+ kind: "literal";
1009
+ }, {
1010
+ value: string;
1011
+ kind: "literal";
1012
+ }>, z.ZodObject<{
1013
+ kind: z.ZodLiteral<"field">;
1014
+ fieldId: z.ZodString;
1015
+ prefix: z.ZodDefault<z.ZodString>;
1016
+ omitWhenEmpty: z.ZodDefault<z.ZodBoolean>;
1017
+ }, "strip", z.ZodTypeAny, {
1018
+ kind: "field";
1019
+ fieldId: string;
1020
+ prefix: string;
1021
+ omitWhenEmpty: boolean;
1022
+ }, {
1023
+ kind: "field";
1024
+ fieldId: string;
1025
+ prefix?: string | undefined;
1026
+ omitWhenEmpty?: boolean | undefined;
1027
+ }>, z.ZodObject<{
1028
+ kind: z.ZodLiteral<"booleanFlag">;
1029
+ fieldId: z.ZodString;
1030
+ flag: z.ZodString;
1031
+ }, "strip", z.ZodTypeAny, {
1032
+ kind: "booleanFlag";
1033
+ fieldId: string;
1034
+ flag: string;
1035
+ }, {
1036
+ kind: "booleanFlag";
1037
+ fieldId: string;
1038
+ flag: string;
1039
+ }>]>, "many">>;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ kind: "argv";
1042
+ parts: ({
1043
+ value: string;
1044
+ kind: "literal";
1045
+ } | {
1046
+ kind: "field";
1047
+ fieldId: string;
1048
+ prefix: string;
1049
+ omitWhenEmpty: boolean;
1050
+ } | {
1051
+ kind: "booleanFlag";
1052
+ fieldId: string;
1053
+ flag: string;
1054
+ })[];
1055
+ }, {
1056
+ kind: "argv";
1057
+ parts?: ({
1058
+ value: string;
1059
+ kind: "literal";
1060
+ } | {
1061
+ kind: "field";
1062
+ fieldId: string;
1063
+ prefix?: string | undefined;
1064
+ omitWhenEmpty?: boolean | undefined;
1065
+ } | {
1066
+ kind: "booleanFlag";
1067
+ fieldId: string;
1068
+ flag: string;
1069
+ })[] | undefined;
1070
+ }>, z.ZodObject<{
1071
+ kind: z.ZodLiteral<"shellLine">;
1072
+ template: z.ZodDefault<z.ZodString>;
1073
+ }, "strip", z.ZodTypeAny, {
1074
+ kind: "shellLine";
1075
+ template: string;
1076
+ }, {
1077
+ kind: "shellLine";
1078
+ template?: string | undefined;
1079
+ }>]>>;
1080
+ shellProfileId: z.ZodOptional<z.ZodString>;
1081
+ source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1082
+ }, "strip", z.ZodTypeAny, {
1083
+ id: string;
1084
+ label: string;
1085
+ command: string;
1086
+ args: ({
1087
+ value: string;
1088
+ kind: "literal";
1089
+ } | {
1090
+ kind: "field";
1091
+ fieldId: string;
1092
+ prefix: string;
1093
+ omitWhenEmpty: boolean;
1094
+ } | {
1095
+ kind: "booleanFlag";
1096
+ fieldId: string;
1097
+ flag: string;
1098
+ })[];
1099
+ source: "builtin" | "custom";
1100
+ fields: {
1101
+ id: string;
1102
+ label: string;
1103
+ options: string[];
1104
+ type: "boolean" | "text" | "textarea" | "select";
1105
+ required: boolean;
1106
+ advanced: boolean;
1107
+ description?: string | undefined;
1108
+ placeholder?: string | undefined;
1109
+ defaultValue?: string | boolean | undefined;
1110
+ }[];
1111
+ description?: string | undefined;
1112
+ parameters?: {
1113
+ schema: {
1114
+ type: "object";
1115
+ required: string[];
1116
+ properties: Record<string, {
1117
+ type: "string" | "boolean";
1118
+ description?: string | undefined;
1119
+ title?: string | undefined;
1120
+ default?: string | boolean | undefined;
1121
+ enum?: string[] | undefined;
1122
+ }>;
1123
+ };
1124
+ uiSchema: Record<string, unknown>;
1125
+ } | undefined;
1126
+ builder?: {
1127
+ kind: "argv";
1128
+ parts: ({
1129
+ value: string;
1130
+ kind: "literal";
1131
+ } | {
1132
+ kind: "field";
1133
+ fieldId: string;
1134
+ prefix: string;
1135
+ omitWhenEmpty: boolean;
1136
+ } | {
1137
+ kind: "booleanFlag";
1138
+ fieldId: string;
1139
+ flag: string;
1140
+ })[];
1141
+ } | {
1142
+ kind: "shellLine";
1143
+ template: string;
1144
+ } | undefined;
1145
+ shellProfileId?: string | undefined;
1146
+ }, {
1147
+ id: string;
1148
+ label: string;
1149
+ command: string;
1150
+ args?: ({
1151
+ value: string;
1152
+ kind: "literal";
1153
+ } | {
1154
+ kind: "field";
1155
+ fieldId: string;
1156
+ prefix?: string | undefined;
1157
+ omitWhenEmpty?: boolean | undefined;
1158
+ } | {
1159
+ kind: "booleanFlag";
1160
+ fieldId: string;
1161
+ flag: string;
1162
+ })[] | undefined;
1163
+ source?: "builtin" | "custom" | undefined;
1164
+ description?: string | undefined;
1165
+ fields?: {
1166
+ id: string;
1167
+ label: string;
1168
+ type: "boolean" | "text" | "textarea" | "select";
1169
+ options?: string[] | undefined;
1170
+ description?: string | undefined;
1171
+ placeholder?: string | undefined;
1172
+ defaultValue?: string | boolean | undefined;
1173
+ required?: boolean | undefined;
1174
+ advanced?: boolean | undefined;
1175
+ }[] | undefined;
1176
+ parameters?: {
1177
+ schema: {
1178
+ type: "object";
1179
+ required?: string[] | undefined;
1180
+ properties?: Record<string, {
1181
+ type?: "string" | "boolean" | undefined;
1182
+ description?: string | undefined;
1183
+ title?: string | undefined;
1184
+ default?: string | boolean | undefined;
1185
+ enum?: string[] | undefined;
1186
+ }> | undefined;
1187
+ };
1188
+ uiSchema?: Record<string, unknown> | undefined;
1189
+ } | undefined;
1190
+ builder?: {
1191
+ kind: "argv";
1192
+ parts?: ({
1193
+ value: string;
1194
+ kind: "literal";
1195
+ } | {
1196
+ kind: "field";
1197
+ fieldId: string;
1198
+ prefix?: string | undefined;
1199
+ omitWhenEmpty?: boolean | undefined;
1200
+ } | {
1201
+ kind: "booleanFlag";
1202
+ fieldId: string;
1203
+ flag: string;
1204
+ })[] | undefined;
1205
+ } | {
1206
+ kind: "shellLine";
1207
+ template?: string | undefined;
1208
+ } | undefined;
1209
+ shellProfileId?: string | undefined;
1210
+ }>;
1211
+ type TerminalSpawnCommand = z.infer<typeof TerminalSpawnCommandSchema>;
1212
+ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1213
+ defaultShellProfileId: z.ZodOptional<z.ZodString>;
1214
+ customShellProfiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
1215
+ id: z.ZodString;
1216
+ label: z.ZodString;
1217
+ command: z.ZodString;
1218
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1219
+ source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1220
+ quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
1221
+ }, "strip", z.ZodTypeAny, {
1222
+ id: string;
1223
+ label: string;
1224
+ command: string;
1225
+ args: string[];
1226
+ source: "builtin" | "custom";
1227
+ quoteStyle: "posix" | "cmd" | "powershell";
1228
+ }, {
1229
+ id: string;
1230
+ label: string;
1231
+ command: string;
1232
+ args?: string[] | undefined;
1233
+ source?: "builtin" | "custom" | undefined;
1234
+ quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
1235
+ }>, "many">>;
1236
+ customSpawnCommands: z.ZodDefault<z.ZodArray<z.ZodObject<{
1237
+ id: z.ZodString;
1238
+ label: z.ZodString;
1239
+ description: z.ZodOptional<z.ZodString>;
1240
+ command: z.ZodString;
1241
+ args: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1242
+ kind: z.ZodLiteral<"literal">;
1243
+ value: z.ZodString;
1244
+ }, "strip", z.ZodTypeAny, {
1245
+ value: string;
1246
+ kind: "literal";
1247
+ }, {
1248
+ value: string;
1249
+ kind: "literal";
1250
+ }>, z.ZodObject<{
1251
+ kind: z.ZodLiteral<"field">;
1252
+ fieldId: z.ZodString;
1253
+ prefix: z.ZodDefault<z.ZodString>;
1254
+ omitWhenEmpty: z.ZodDefault<z.ZodBoolean>;
1255
+ }, "strip", z.ZodTypeAny, {
1256
+ kind: "field";
1257
+ fieldId: string;
1258
+ prefix: string;
1259
+ omitWhenEmpty: boolean;
1260
+ }, {
1261
+ kind: "field";
1262
+ fieldId: string;
1263
+ prefix?: string | undefined;
1264
+ omitWhenEmpty?: boolean | undefined;
1265
+ }>, z.ZodObject<{
1266
+ kind: z.ZodLiteral<"booleanFlag">;
1267
+ fieldId: z.ZodString;
1268
+ flag: z.ZodString;
1269
+ }, "strip", z.ZodTypeAny, {
1270
+ kind: "booleanFlag";
1271
+ fieldId: string;
1272
+ flag: string;
1273
+ }, {
1274
+ kind: "booleanFlag";
1275
+ fieldId: string;
1276
+ flag: string;
1277
+ }>]>, "many">>;
1278
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
1279
+ id: z.ZodString;
1280
+ label: z.ZodString;
1281
+ type: z.ZodEnum<["text", "textarea", "boolean", "select"]>;
1282
+ description: z.ZodOptional<z.ZodString>;
1283
+ placeholder: z.ZodOptional<z.ZodString>;
1284
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1285
+ options: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1286
+ required: z.ZodDefault<z.ZodBoolean>;
1287
+ advanced: z.ZodDefault<z.ZodBoolean>;
1288
+ }, "strip", z.ZodTypeAny, {
1289
+ id: string;
1290
+ label: string;
1291
+ options: string[];
1292
+ type: "boolean" | "text" | "textarea" | "select";
1293
+ required: boolean;
1294
+ advanced: boolean;
1295
+ description?: string | undefined;
1296
+ placeholder?: string | undefined;
1297
+ defaultValue?: string | boolean | undefined;
1298
+ }, {
1299
+ id: string;
1300
+ label: string;
1301
+ type: "boolean" | "text" | "textarea" | "select";
1302
+ options?: string[] | undefined;
1303
+ description?: string | undefined;
1304
+ placeholder?: string | undefined;
1305
+ defaultValue?: string | boolean | undefined;
1306
+ required?: boolean | undefined;
1307
+ advanced?: boolean | undefined;
1308
+ }>, "many">>;
1309
+ parameters: z.ZodOptional<z.ZodObject<{
1310
+ schema: z.ZodObject<{
1311
+ type: z.ZodLiteral<"object">;
1312
+ properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1313
+ type: z.ZodDefault<z.ZodEnum<["string", "boolean"]>>;
1314
+ title: z.ZodOptional<z.ZodString>;
1315
+ description: z.ZodOptional<z.ZodString>;
1316
+ default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1317
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ type: "string" | "boolean";
1320
+ description?: string | undefined;
1321
+ title?: string | undefined;
1322
+ default?: string | boolean | undefined;
1323
+ enum?: string[] | undefined;
1324
+ }, {
1325
+ type?: "string" | "boolean" | undefined;
1326
+ description?: string | undefined;
1327
+ title?: string | undefined;
1328
+ default?: string | boolean | undefined;
1329
+ enum?: string[] | undefined;
1330
+ }>>>;
1331
+ required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ type: "object";
1334
+ required: string[];
1335
+ properties: Record<string, {
1336
+ type: "string" | "boolean";
1337
+ description?: string | undefined;
1338
+ title?: string | undefined;
1339
+ default?: string | boolean | undefined;
1340
+ enum?: string[] | undefined;
1341
+ }>;
1342
+ }, {
1343
+ type: "object";
1344
+ required?: string[] | undefined;
1345
+ properties?: Record<string, {
1346
+ type?: "string" | "boolean" | undefined;
1347
+ description?: string | undefined;
1348
+ title?: string | undefined;
1349
+ default?: string | boolean | undefined;
1350
+ enum?: string[] | undefined;
1351
+ }> | undefined;
1352
+ }>;
1353
+ uiSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1354
+ }, "strip", z.ZodTypeAny, {
1355
+ schema: {
1356
+ type: "object";
1357
+ required: string[];
1358
+ properties: Record<string, {
1359
+ type: "string" | "boolean";
1360
+ description?: string | undefined;
1361
+ title?: string | undefined;
1362
+ default?: string | boolean | undefined;
1363
+ enum?: string[] | undefined;
1364
+ }>;
1365
+ };
1366
+ uiSchema: Record<string, unknown>;
1367
+ }, {
1368
+ schema: {
1369
+ type: "object";
1370
+ required?: string[] | undefined;
1371
+ properties?: Record<string, {
1372
+ type?: "string" | "boolean" | undefined;
1373
+ description?: string | undefined;
1374
+ title?: string | undefined;
1375
+ default?: string | boolean | undefined;
1376
+ enum?: string[] | undefined;
1377
+ }> | undefined;
1378
+ };
1379
+ uiSchema?: Record<string, unknown> | undefined;
1380
+ }>>;
1381
+ builder: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1382
+ kind: z.ZodLiteral<"argv">;
1383
+ parts: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1384
+ kind: z.ZodLiteral<"literal">;
1385
+ value: z.ZodString;
1386
+ }, "strip", z.ZodTypeAny, {
1387
+ value: string;
1388
+ kind: "literal";
1389
+ }, {
1390
+ value: string;
1391
+ kind: "literal";
1392
+ }>, z.ZodObject<{
1393
+ kind: z.ZodLiteral<"field">;
1394
+ fieldId: z.ZodString;
1395
+ prefix: z.ZodDefault<z.ZodString>;
1396
+ omitWhenEmpty: z.ZodDefault<z.ZodBoolean>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ kind: "field";
1399
+ fieldId: string;
1400
+ prefix: string;
1401
+ omitWhenEmpty: boolean;
1402
+ }, {
1403
+ kind: "field";
1404
+ fieldId: string;
1405
+ prefix?: string | undefined;
1406
+ omitWhenEmpty?: boolean | undefined;
1407
+ }>, z.ZodObject<{
1408
+ kind: z.ZodLiteral<"booleanFlag">;
1409
+ fieldId: z.ZodString;
1410
+ flag: z.ZodString;
1411
+ }, "strip", z.ZodTypeAny, {
1412
+ kind: "booleanFlag";
1413
+ fieldId: string;
1414
+ flag: string;
1415
+ }, {
1416
+ kind: "booleanFlag";
1417
+ fieldId: string;
1418
+ flag: string;
1419
+ }>]>, "many">>;
1420
+ }, "strip", z.ZodTypeAny, {
1421
+ kind: "argv";
1422
+ parts: ({
1423
+ value: string;
1424
+ kind: "literal";
1425
+ } | {
1426
+ kind: "field";
1427
+ fieldId: string;
1428
+ prefix: string;
1429
+ omitWhenEmpty: boolean;
1430
+ } | {
1431
+ kind: "booleanFlag";
1432
+ fieldId: string;
1433
+ flag: string;
1434
+ })[];
1435
+ }, {
1436
+ kind: "argv";
1437
+ parts?: ({
1438
+ value: string;
1439
+ kind: "literal";
1440
+ } | {
1441
+ kind: "field";
1442
+ fieldId: string;
1443
+ prefix?: string | undefined;
1444
+ omitWhenEmpty?: boolean | undefined;
1445
+ } | {
1446
+ kind: "booleanFlag";
1447
+ fieldId: string;
1448
+ flag: string;
1449
+ })[] | undefined;
1450
+ }>, z.ZodObject<{
1451
+ kind: z.ZodLiteral<"shellLine">;
1452
+ template: z.ZodDefault<z.ZodString>;
1453
+ }, "strip", z.ZodTypeAny, {
1454
+ kind: "shellLine";
1455
+ template: string;
1456
+ }, {
1457
+ kind: "shellLine";
1458
+ template?: string | undefined;
1459
+ }>]>>;
1460
+ shellProfileId: z.ZodOptional<z.ZodString>;
1461
+ source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ id: string;
1464
+ label: string;
1465
+ command: string;
1466
+ args: ({
1467
+ value: string;
1468
+ kind: "literal";
1469
+ } | {
1470
+ kind: "field";
1471
+ fieldId: string;
1472
+ prefix: string;
1473
+ omitWhenEmpty: boolean;
1474
+ } | {
1475
+ kind: "booleanFlag";
1476
+ fieldId: string;
1477
+ flag: string;
1478
+ })[];
1479
+ source: "builtin" | "custom";
1480
+ fields: {
1481
+ id: string;
1482
+ label: string;
1483
+ options: string[];
1484
+ type: "boolean" | "text" | "textarea" | "select";
1485
+ required: boolean;
1486
+ advanced: boolean;
1487
+ description?: string | undefined;
1488
+ placeholder?: string | undefined;
1489
+ defaultValue?: string | boolean | undefined;
1490
+ }[];
1491
+ description?: string | undefined;
1492
+ parameters?: {
1493
+ schema: {
1494
+ type: "object";
1495
+ required: string[];
1496
+ properties: Record<string, {
1497
+ type: "string" | "boolean";
1498
+ description?: string | undefined;
1499
+ title?: string | undefined;
1500
+ default?: string | boolean | undefined;
1501
+ enum?: string[] | undefined;
1502
+ }>;
1503
+ };
1504
+ uiSchema: Record<string, unknown>;
1505
+ } | undefined;
1506
+ builder?: {
1507
+ kind: "argv";
1508
+ parts: ({
1509
+ value: string;
1510
+ kind: "literal";
1511
+ } | {
1512
+ kind: "field";
1513
+ fieldId: string;
1514
+ prefix: string;
1515
+ omitWhenEmpty: boolean;
1516
+ } | {
1517
+ kind: "booleanFlag";
1518
+ fieldId: string;
1519
+ flag: string;
1520
+ })[];
1521
+ } | {
1522
+ kind: "shellLine";
1523
+ template: string;
1524
+ } | undefined;
1525
+ shellProfileId?: string | undefined;
1526
+ }, {
1527
+ id: string;
1528
+ label: string;
1529
+ command: string;
1530
+ args?: ({
1531
+ value: string;
1532
+ kind: "literal";
1533
+ } | {
1534
+ kind: "field";
1535
+ fieldId: string;
1536
+ prefix?: string | undefined;
1537
+ omitWhenEmpty?: boolean | undefined;
1538
+ } | {
1539
+ kind: "booleanFlag";
1540
+ fieldId: string;
1541
+ flag: string;
1542
+ })[] | undefined;
1543
+ source?: "builtin" | "custom" | undefined;
1544
+ description?: string | undefined;
1545
+ fields?: {
1546
+ id: string;
1547
+ label: string;
1548
+ type: "boolean" | "text" | "textarea" | "select";
1549
+ options?: string[] | undefined;
1550
+ description?: string | undefined;
1551
+ placeholder?: string | undefined;
1552
+ defaultValue?: string | boolean | undefined;
1553
+ required?: boolean | undefined;
1554
+ advanced?: boolean | undefined;
1555
+ }[] | undefined;
1556
+ parameters?: {
1557
+ schema: {
1558
+ type: "object";
1559
+ required?: string[] | undefined;
1560
+ properties?: Record<string, {
1561
+ type?: "string" | "boolean" | undefined;
1562
+ description?: string | undefined;
1563
+ title?: string | undefined;
1564
+ default?: string | boolean | undefined;
1565
+ enum?: string[] | undefined;
1566
+ }> | undefined;
1567
+ };
1568
+ uiSchema?: Record<string, unknown> | undefined;
1569
+ } | undefined;
1570
+ builder?: {
1571
+ kind: "argv";
1572
+ parts?: ({
1573
+ value: string;
1574
+ kind: "literal";
1575
+ } | {
1576
+ kind: "field";
1577
+ fieldId: string;
1578
+ prefix?: string | undefined;
1579
+ omitWhenEmpty?: boolean | undefined;
1580
+ } | {
1581
+ kind: "booleanFlag";
1582
+ fieldId: string;
1583
+ flag: string;
1584
+ })[] | undefined;
1585
+ } | {
1586
+ kind: "shellLine";
1587
+ template?: string | undefined;
1588
+ } | undefined;
1589
+ shellProfileId?: string | undefined;
1590
+ }>, "many">>;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ customShellProfiles: {
1593
+ id: string;
1594
+ label: string;
1595
+ command: string;
1596
+ args: string[];
1597
+ source: "builtin" | "custom";
1598
+ quoteStyle: "posix" | "cmd" | "powershell";
1599
+ }[];
1600
+ customSpawnCommands: {
1601
+ id: string;
1602
+ label: string;
1603
+ command: string;
1604
+ args: ({
1605
+ value: string;
1606
+ kind: "literal";
1607
+ } | {
1608
+ kind: "field";
1609
+ fieldId: string;
1610
+ prefix: string;
1611
+ omitWhenEmpty: boolean;
1612
+ } | {
1613
+ kind: "booleanFlag";
1614
+ fieldId: string;
1615
+ flag: string;
1616
+ })[];
1617
+ source: "builtin" | "custom";
1618
+ fields: {
1619
+ id: string;
1620
+ label: string;
1621
+ options: string[];
1622
+ type: "boolean" | "text" | "textarea" | "select";
1623
+ required: boolean;
1624
+ advanced: boolean;
1625
+ description?: string | undefined;
1626
+ placeholder?: string | undefined;
1627
+ defaultValue?: string | boolean | undefined;
1628
+ }[];
1629
+ description?: string | undefined;
1630
+ parameters?: {
1631
+ schema: {
1632
+ type: "object";
1633
+ required: string[];
1634
+ properties: Record<string, {
1635
+ type: "string" | "boolean";
1636
+ description?: string | undefined;
1637
+ title?: string | undefined;
1638
+ default?: string | boolean | undefined;
1639
+ enum?: string[] | undefined;
1640
+ }>;
1641
+ };
1642
+ uiSchema: Record<string, unknown>;
1643
+ } | undefined;
1644
+ builder?: {
1645
+ kind: "argv";
1646
+ parts: ({
1647
+ value: string;
1648
+ kind: "literal";
1649
+ } | {
1650
+ kind: "field";
1651
+ fieldId: string;
1652
+ prefix: string;
1653
+ omitWhenEmpty: boolean;
1654
+ } | {
1655
+ kind: "booleanFlag";
1656
+ fieldId: string;
1657
+ flag: string;
1658
+ })[];
1659
+ } | {
1660
+ kind: "shellLine";
1661
+ template: string;
1662
+ } | undefined;
1663
+ shellProfileId?: string | undefined;
1664
+ }[];
1665
+ defaultShellProfileId?: string | undefined;
1666
+ }, {
1667
+ defaultShellProfileId?: string | undefined;
1668
+ customShellProfiles?: {
1669
+ id: string;
1670
+ label: string;
1671
+ command: string;
1672
+ args?: string[] | undefined;
1673
+ source?: "builtin" | "custom" | undefined;
1674
+ quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
1675
+ }[] | undefined;
1676
+ customSpawnCommands?: {
1677
+ id: string;
1678
+ label: string;
1679
+ command: string;
1680
+ args?: ({
1681
+ value: string;
1682
+ kind: "literal";
1683
+ } | {
1684
+ kind: "field";
1685
+ fieldId: string;
1686
+ prefix?: string | undefined;
1687
+ omitWhenEmpty?: boolean | undefined;
1688
+ } | {
1689
+ kind: "booleanFlag";
1690
+ fieldId: string;
1691
+ flag: string;
1692
+ })[] | undefined;
1693
+ source?: "builtin" | "custom" | undefined;
1694
+ description?: string | undefined;
1695
+ fields?: {
1696
+ id: string;
1697
+ label: string;
1698
+ type: "boolean" | "text" | "textarea" | "select";
1699
+ options?: string[] | undefined;
1700
+ description?: string | undefined;
1701
+ placeholder?: string | undefined;
1702
+ defaultValue?: string | boolean | undefined;
1703
+ required?: boolean | undefined;
1704
+ advanced?: boolean | undefined;
1705
+ }[] | undefined;
1706
+ parameters?: {
1707
+ schema: {
1708
+ type: "object";
1709
+ required?: string[] | undefined;
1710
+ properties?: Record<string, {
1711
+ type?: "string" | "boolean" | undefined;
1712
+ description?: string | undefined;
1713
+ title?: string | undefined;
1714
+ default?: string | boolean | undefined;
1715
+ enum?: string[] | undefined;
1716
+ }> | undefined;
1717
+ };
1718
+ uiSchema?: Record<string, unknown> | undefined;
1719
+ } | undefined;
1720
+ builder?: {
1721
+ kind: "argv";
1722
+ parts?: ({
1723
+ value: string;
1724
+ kind: "literal";
1725
+ } | {
1726
+ kind: "field";
1727
+ fieldId: string;
1728
+ prefix?: string | undefined;
1729
+ omitWhenEmpty?: boolean | undefined;
1730
+ } | {
1731
+ kind: "booleanFlag";
1732
+ fieldId: string;
1733
+ flag: string;
1734
+ })[] | undefined;
1735
+ } | {
1736
+ kind: "shellLine";
1737
+ template?: string | undefined;
1738
+ } | undefined;
1739
+ shellProfileId?: string | undefined;
1740
+ }[] | undefined;
1741
+ }>;
1742
+ type TerminalInvocationSettings = z.infer<typeof TerminalInvocationSettingsSchema>;
1743
+ type TerminalCommandFieldValue = string | boolean;
1744
+ type TerminalCommandFieldValues = Record<string, TerminalCommandFieldValue>;
1745
+ type TerminalCommandRenderResult = {
1746
+ kind: 'argv';
1747
+ argv: string[];
1748
+ } | {
1749
+ kind: 'shellLine';
1750
+ commandLine: string;
1751
+ };
1752
+ interface TerminalShellDefaults {
1753
+ platform: PtyPlatform;
1754
+ effectiveDefaultShell: TerminalShellProfile;
1755
+ builtinShellProfiles: TerminalShellProfile[];
1756
+ }
1757
+ declare function resolveTerminalShellDefaults(options: {
1758
+ platform: PtyPlatform;
1759
+ env?: TerminalShellEnv;
1760
+ }): TerminalShellDefaults;
1761
+ declare const BUILTIN_TERMINAL_SPAWN_COMMANDS: readonly TerminalSpawnCommand[];
1762
+ declare function fieldsToTerminalCommandParameters(fields: readonly TerminalCommandField[]): TerminalCommandParameters;
1763
+ declare function getTerminalCommandParameters(command: TerminalSpawnCommand): TerminalCommandParameters;
1764
+ declare function getTerminalCommandDefaultValues(command: TerminalSpawnCommand, presetValues?: TerminalCommandFieldValues): TerminalCommandFieldValues;
1765
+ declare function renderTerminalCommandArgs(command: TerminalSpawnCommand, values: TerminalCommandFieldValues): string[];
1766
+ declare function renderTerminalSpawnCommand(options: {
1767
+ command: TerminalSpawnCommand;
1768
+ values: TerminalCommandFieldValues;
1769
+ }): TerminalCommandRenderResult;
1770
+ declare function quoteTerminalShellArg(value: string, quoteStyle: TerminalShellQuoteStyle): string;
1771
+ declare function renderTerminalSpawnCommandLine(options: {
1772
+ command: TerminalSpawnCommand;
1773
+ values: TerminalCommandFieldValues;
1774
+ quoteStyle: TerminalShellQuoteStyle;
1775
+ }): string;
1776
+ //#endregion
1777
+ export { PtyTitleResponseSchema as $, renderTerminalSpawnCommand as A, PtyErrorCodeSchema as B, TerminalSpawnCommand as C, getTerminalCommandParameters as D, getTerminalCommandDefaultValues as E, PtyClientMessage as F, PtyListResponseSchema as G, PtyExitResponseSchema as H, PtyClientMessageSchema as I, PtyPlatformSchema as J, PtyOutputResponseSchema as K, PtyCloseMessageSchema as L, resolveTerminalShellDefaults as M, PtyAttachMessageSchema as N, quoteTerminalShellArg as O, PtyBufferResponseSchema as P, PtySessionInfo as Q, PtyCreateMessageSchema as R, TerminalShellQuoteStyleSchema as S, fieldsToTerminalCommandParameters as T, PtyInputMessageSchema as U, PtyErrorResponseSchema as V, PtyListMessageSchema as W, PtyServerMessage as X, PtyResizeMessageSchema as Y, PtyServerMessageSchema as Z, TerminalShellDefaults as _, TerminalCommandBuilder as a, TerminalShellProfileSchema as b, TerminalCommandFieldSchema as c, TerminalCommandJsonSchema as d, TerminalCommandJsonSchemaProperty as f, TerminalInvocationSettingsSchema as g, TerminalInvocationSettings as h, TerminalCommandArgument as i, renderTerminalSpawnCommandLine as j, renderTerminalCommandArgs as k, TerminalCommandFieldValue as l, TerminalCommandRenderResult as m, TERMINAL_COMMAND_FIELD_TYPE_VALUES as n, TerminalCommandBuilderPart as o, TerminalCommandParameters as p, PtyPlatform as q, TERMINAL_SHELL_QUOTE_STYLE_VALUES as r, TerminalCommandField as s, BUILTIN_TERMINAL_SPAWN_COMMANDS as t, TerminalCommandFieldValues as u, TerminalShellEnv as v, TerminalSpawnCommandSchema as w, TerminalShellQuoteStyle as x, TerminalShellProfile as y, PtyCreatedResponseSchema as z };