@openspecui/core 3.4.1 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/hosted-app.d.mts +1 -1
  2. package/dist/hosted-app.mjs +1 -1
  3. package/dist/index.d.mts +160 -116
  4. package/dist/index.mjs +71 -8
  5. package/dist/notifications-DOQwtdfS.d.mts +550 -0
  6. package/dist/notifications-F81mmO55.mjs +145 -0
  7. package/dist/notifications.d.mts +3 -0
  8. package/dist/notifications.mjs +5 -0
  9. package/dist/opsx-display-path.d.mts +1 -1
  10. package/dist/opsx-display-path.mjs +1 -1
  11. package/dist/sounds-C0dNSFm8.mjs +158 -0
  12. package/dist/sounds-CxwbTXZS.d.mts +86 -0
  13. package/dist/sounds.d.mts +2 -0
  14. package/dist/sounds.mjs +3 -0
  15. package/dist/terminal-audio-BoSdMyBY.d.mts +13 -0
  16. package/dist/terminal-audio-DDwxz9sJ.mjs +21 -0
  17. package/dist/terminal-audio.d.mts +3 -0
  18. package/dist/terminal-audio.mjs +4 -0
  19. package/dist/terminal-control-DtBprY6-.mjs +236 -0
  20. package/dist/terminal-control.d.mts +3 -0
  21. package/dist/terminal-control.mjs +3 -0
  22. package/dist/{terminal-invocation-ajsrCPhf.d.mts → terminal-invocation-BAcs7OE-.d.mts} +179 -87
  23. package/dist/terminal-invocation.d.mts +1 -1
  24. package/dist/terminal-invocation.mjs +1 -1
  25. package/dist/terminal-theme.d.mts +1 -1
  26. package/dist/terminal-theme.mjs +1 -1
  27. package/package.json +19 -3
  28. /package/dist/{hosted-app-CC8DBuyE.mjs → hosted-app-CIOJpbzc.mjs} +0 -0
  29. /package/dist/{hosted-app-Be-ourtC.d.mts → hosted-app-DaGUbBJn.d.mts} +0 -0
  30. /package/dist/{opsx-display-path-DNqQo2uK.mjs → opsx-display-path-B6Owu17P.mjs} +0 -0
  31. /package/dist/{opsx-display-path-ElGeez1E.d.mts → opsx-display-path-CuQyGB_A.d.mts} +0 -0
  32. /package/dist/{terminal-invocation-8OLmCJfv.mjs → terminal-invocation-Cdi6_Kl6.mjs} +0 -0
  33. /package/dist/{terminal-theme-Cyyo2Zln.mjs → terminal-theme-CMQqJvIQ.mjs} +0 -0
  34. /package/dist/{terminal-theme-C_2UGXPr.d.mts → terminal-theme-wbkK9vVH.d.mts} +0 -0
@@ -14,9 +14,9 @@ declare const PtySessionInfoSchema: z.ZodObject<{
14
14
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  id: string;
17
+ title: string;
17
18
  command: string;
18
19
  args: string[];
19
- title: string;
20
20
  platform: "windows" | "macos" | "common";
21
21
  exitCode: number | null;
22
22
  isExited: boolean;
@@ -24,9 +24,9 @@ declare const PtySessionInfoSchema: z.ZodObject<{
24
24
  closeCallbackUrl?: string | Record<string, string> | undefined;
25
25
  }, {
26
26
  id: string;
27
+ title: string;
27
28
  command: string;
28
29
  args: string[];
29
- title: string;
30
30
  platform: "windows" | "macos" | "common";
31
31
  exitCode: number | null;
32
32
  isExited: boolean;
@@ -81,14 +81,14 @@ declare const PtyResizeMessageSchema: z.ZodObject<{
81
81
  rows: z.ZodNumber;
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  type: "resize";
84
+ sessionId: string;
84
85
  cols: number;
85
86
  rows: number;
86
- sessionId: string;
87
87
  }, {
88
88
  type: "resize";
89
+ sessionId: string;
89
90
  cols: number;
90
91
  rows: number;
91
- sessionId: string;
92
92
  }>;
93
93
  declare const PtyCloseMessageSchema: z.ZodObject<{
94
94
  type: z.ZodLiteral<"close">;
@@ -169,14 +169,14 @@ declare const PtyClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
169
169
  rows: z.ZodNumber;
170
170
  }, "strip", z.ZodTypeAny, {
171
171
  type: "resize";
172
+ sessionId: string;
172
173
  cols: number;
173
174
  rows: number;
174
- sessionId: string;
175
175
  }, {
176
176
  type: "resize";
177
+ sessionId: string;
177
178
  cols: number;
178
179
  rows: number;
179
- sessionId: string;
180
180
  }>, z.ZodObject<{
181
181
  type: z.ZodLiteral<"close">;
182
182
  sessionId: z.ZodString;
@@ -215,13 +215,13 @@ declare const PtyCreatedResponseSchema: z.ZodObject<{
215
215
  platform: z.ZodEnum<["windows", "macos", "common"]>;
216
216
  }, "strip", z.ZodTypeAny, {
217
217
  type: "created";
218
- requestId: string;
219
218
  sessionId: string;
219
+ requestId: string;
220
220
  platform: "windows" | "macos" | "common";
221
221
  }, {
222
222
  type: "created";
223
- requestId: string;
224
223
  sessionId: string;
224
+ requestId: string;
225
225
  platform: "windows" | "macos" | "common";
226
226
  }>;
227
227
  declare const PtyOutputResponseSchema: z.ZodObject<{
@@ -256,12 +256,38 @@ declare const PtyTitleResponseSchema: z.ZodObject<{
256
256
  title: z.ZodString;
257
257
  }, "strip", z.ZodTypeAny, {
258
258
  type: "title";
259
- title: string;
260
259
  sessionId: string;
260
+ title: string;
261
261
  }, {
262
262
  type: "title";
263
+ sessionId: string;
263
264
  title: string;
265
+ }>;
266
+ declare const PtyProcessTitleResponseSchema: z.ZodObject<{
267
+ type: z.ZodLiteral<"process-title">;
268
+ sessionId: z.ZodString;
269
+ title: z.ZodString;
270
+ }, "strip", z.ZodTypeAny, {
271
+ type: "process-title";
264
272
  sessionId: string;
273
+ title: string;
274
+ }, {
275
+ type: "process-title";
276
+ sessionId: string;
277
+ title: string;
278
+ }>;
279
+ declare const PtyBellResponseSchema: z.ZodObject<{
280
+ type: z.ZodLiteral<"bell">;
281
+ sessionId: z.ZodString;
282
+ createdAt: z.ZodOptional<z.ZodNumber>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ type: "bell";
285
+ sessionId: string;
286
+ createdAt?: number | undefined;
287
+ }, {
288
+ type: "bell";
289
+ sessionId: string;
290
+ createdAt?: number | undefined;
265
291
  }>;
266
292
  declare const PtyBufferResponseSchema: z.ZodObject<{
267
293
  type: z.ZodLiteral<"buffer">;
@@ -290,9 +316,9 @@ declare const PtyListResponseSchema: z.ZodObject<{
290
316
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
291
317
  }, "strip", z.ZodTypeAny, {
292
318
  id: string;
319
+ title: string;
293
320
  command: string;
294
321
  args: string[];
295
- title: string;
296
322
  platform: "windows" | "macos" | "common";
297
323
  exitCode: number | null;
298
324
  isExited: boolean;
@@ -300,9 +326,9 @@ declare const PtyListResponseSchema: z.ZodObject<{
300
326
  closeCallbackUrl?: string | Record<string, string> | undefined;
301
327
  }, {
302
328
  id: string;
329
+ title: string;
303
330
  command: string;
304
331
  args: string[];
305
- title: string;
306
332
  platform: "windows" | "macos" | "common";
307
333
  exitCode: number | null;
308
334
  isExited: boolean;
@@ -313,9 +339,9 @@ declare const PtyListResponseSchema: z.ZodObject<{
313
339
  type: "list";
314
340
  sessions: {
315
341
  id: string;
342
+ title: string;
316
343
  command: string;
317
344
  args: string[];
318
- title: string;
319
345
  platform: "windows" | "macos" | "common";
320
346
  exitCode: number | null;
321
347
  isExited: boolean;
@@ -326,9 +352,9 @@ declare const PtyListResponseSchema: z.ZodObject<{
326
352
  type: "list";
327
353
  sessions: {
328
354
  id: string;
355
+ title: string;
329
356
  command: string;
330
357
  args: string[];
331
- title: string;
332
358
  platform: "windows" | "macos" | "common";
333
359
  exitCode: number | null;
334
360
  isExited: boolean;
@@ -360,13 +386,13 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
360
386
  platform: z.ZodEnum<["windows", "macos", "common"]>;
361
387
  }, "strip", z.ZodTypeAny, {
362
388
  type: "created";
363
- requestId: string;
364
389
  sessionId: string;
390
+ requestId: string;
365
391
  platform: "windows" | "macos" | "common";
366
392
  }, {
367
393
  type: "created";
368
- requestId: string;
369
394
  sessionId: string;
395
+ requestId: string;
370
396
  platform: "windows" | "macos" | "common";
371
397
  }>, z.ZodObject<{
372
398
  type: z.ZodLiteral<"output">;
@@ -398,12 +424,78 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
398
424
  title: z.ZodString;
399
425
  }, "strip", z.ZodTypeAny, {
400
426
  type: "title";
401
- title: string;
402
427
  sessionId: string;
428
+ title: string;
403
429
  }, {
404
430
  type: "title";
431
+ sessionId: string;
432
+ title: string;
433
+ }>, z.ZodObject<{
434
+ type: z.ZodLiteral<"process-title">;
435
+ sessionId: z.ZodString;
436
+ title: z.ZodString;
437
+ }, "strip", z.ZodTypeAny, {
438
+ type: "process-title";
439
+ sessionId: string;
405
440
  title: string;
441
+ }, {
442
+ type: "process-title";
443
+ sessionId: string;
444
+ title: string;
445
+ }>, z.ZodObject<{
446
+ type: z.ZodLiteral<"cwd">;
447
+ sessionId: z.ZodString;
448
+ cwd: z.ZodString;
449
+ }, "strip", z.ZodTypeAny, {
450
+ type: "cwd";
451
+ sessionId: string;
452
+ cwd: string;
453
+ }, {
454
+ type: "cwd";
455
+ sessionId: string;
456
+ cwd: string;
457
+ }>, z.ZodObject<{
458
+ type: z.ZodLiteral<"progress">;
459
+ sessionId: z.ZodString;
460
+ state: z.ZodEnum<["clear", "set", "error", "indeterminate", "warning"]>;
461
+ value: z.ZodNullable<z.ZodNumber>;
462
+ }, "strip", z.ZodTypeAny, {
463
+ value: number | null;
464
+ type: "progress";
465
+ sessionId: string;
466
+ state: "set" | "clear" | "warning" | "error" | "indeterminate";
467
+ }, {
468
+ value: number | null;
469
+ type: "progress";
470
+ sessionId: string;
471
+ state: "set" | "clear" | "warning" | "error" | "indeterminate";
472
+ }>, z.ZodObject<{
473
+ type: z.ZodLiteral<"prompt-state">;
474
+ sessionId: z.ZodString;
475
+ state: z.ZodEnum<["prompt-start", "prompt-end", "command-start", "command-output", "command-end"]>;
476
+ exitCode: z.ZodOptional<z.ZodNumber>;
477
+ }, "strip", z.ZodTypeAny, {
478
+ type: "prompt-state";
479
+ sessionId: string;
480
+ state: "prompt-start" | "prompt-end" | "command-start" | "command-output" | "command-end";
481
+ exitCode?: number | undefined;
482
+ }, {
483
+ type: "prompt-state";
406
484
  sessionId: string;
485
+ state: "prompt-start" | "prompt-end" | "command-start" | "command-output" | "command-end";
486
+ exitCode?: number | undefined;
487
+ }>, z.ZodObject<{
488
+ type: z.ZodLiteral<"bell">;
489
+ sessionId: z.ZodString;
490
+ createdAt: z.ZodOptional<z.ZodNumber>;
491
+ }, "strip", z.ZodTypeAny, {
492
+ type: "bell";
493
+ sessionId: string;
494
+ createdAt?: number | undefined;
495
+ }, {
496
+ type: "bell";
497
+ sessionId: string;
498
+ createdAt?: number | undefined;
407
499
  }>, z.ZodObject<{
408
500
  type: z.ZodLiteral<"buffer">;
409
501
  sessionId: z.ZodString;
@@ -430,9 +522,9 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
430
522
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
431
523
  }, "strip", z.ZodTypeAny, {
432
524
  id: string;
525
+ title: string;
433
526
  command: string;
434
527
  args: string[];
435
- title: string;
436
528
  platform: "windows" | "macos" | "common";
437
529
  exitCode: number | null;
438
530
  isExited: boolean;
@@ -440,9 +532,9 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
440
532
  closeCallbackUrl?: string | Record<string, string> | undefined;
441
533
  }, {
442
534
  id: string;
535
+ title: string;
443
536
  command: string;
444
537
  args: string[];
445
- title: string;
446
538
  platform: "windows" | "macos" | "common";
447
539
  exitCode: number | null;
448
540
  isExited: boolean;
@@ -453,9 +545,9 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
453
545
  type: "list";
454
546
  sessions: {
455
547
  id: string;
548
+ title: string;
456
549
  command: string;
457
550
  args: string[];
458
- title: string;
459
551
  platform: "windows" | "macos" | "common";
460
552
  exitCode: number | null;
461
553
  isExited: boolean;
@@ -466,9 +558,9 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
466
558
  type: "list";
467
559
  sessions: {
468
560
  id: string;
561
+ title: string;
469
562
  command: string;
470
563
  args: string[];
471
- title: string;
472
564
  platform: "windows" | "macos" | "common";
473
565
  exitCode: number | null;
474
566
  isExited: boolean;
@@ -515,16 +607,16 @@ declare const TerminalShellProfileSchema: z.ZodObject<{
515
607
  }, "strip", z.ZodTypeAny, {
516
608
  id: string;
517
609
  label: string;
610
+ source: "custom" | "builtin";
518
611
  command: string;
519
612
  args: string[];
520
- source: "builtin" | "custom";
521
613
  quoteStyle: "posix" | "cmd" | "powershell";
522
614
  }, {
523
615
  id: string;
524
616
  label: string;
525
617
  command: string;
618
+ source?: "custom" | "builtin" | undefined;
526
619
  args?: string[] | undefined;
527
- source?: "builtin" | "custom" | undefined;
528
620
  quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
529
621
  }>;
530
622
  type TerminalShellProfile = z.infer<typeof TerminalShellProfileSchema>;
@@ -539,24 +631,24 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
539
631
  required: z.ZodDefault<z.ZodBoolean>;
540
632
  advanced: z.ZodDefault<z.ZodBoolean>;
541
633
  }, "strip", z.ZodTypeAny, {
542
- id: string;
543
- label: string;
544
634
  options: string[];
545
635
  type: "boolean" | "text" | "textarea" | "select";
636
+ id: string;
546
637
  required: boolean;
638
+ label: string;
547
639
  advanced: boolean;
548
640
  description?: string | undefined;
549
641
  placeholder?: string | undefined;
550
642
  defaultValue?: string | boolean | undefined;
551
643
  }, {
644
+ type: "boolean" | "text" | "textarea" | "select";
552
645
  id: string;
553
646
  label: string;
554
- type: "boolean" | "text" | "textarea" | "select";
555
647
  options?: string[] | undefined;
648
+ required?: boolean | undefined;
556
649
  description?: string | undefined;
557
650
  placeholder?: string | undefined;
558
651
  defaultValue?: string | boolean | undefined;
559
- required?: boolean | undefined;
560
652
  advanced?: boolean | undefined;
561
653
  }>;
562
654
  type TerminalCommandField = z.infer<typeof TerminalCommandFieldSchema>;
@@ -606,14 +698,14 @@ declare const TerminalCommandJsonSchemaPropertySchema: z.ZodObject<{
606
698
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
607
699
  }, "strip", z.ZodTypeAny, {
608
700
  type: "string" | "boolean";
609
- description?: string | undefined;
610
701
  title?: string | undefined;
702
+ description?: string | undefined;
611
703
  default?: string | boolean | undefined;
612
704
  enum?: string[] | undefined;
613
705
  }, {
614
706
  type?: "string" | "boolean" | undefined;
615
- description?: string | undefined;
616
707
  title?: string | undefined;
708
+ description?: string | undefined;
617
709
  default?: string | boolean | undefined;
618
710
  enum?: string[] | undefined;
619
711
  }>;
@@ -628,14 +720,14 @@ declare const TerminalCommandJsonSchemaSchema: z.ZodObject<{
628
720
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
629
721
  }, "strip", z.ZodTypeAny, {
630
722
  type: "string" | "boolean";
631
- description?: string | undefined;
632
723
  title?: string | undefined;
724
+ description?: string | undefined;
633
725
  default?: string | boolean | undefined;
634
726
  enum?: string[] | undefined;
635
727
  }, {
636
728
  type?: "string" | "boolean" | undefined;
637
- description?: string | undefined;
638
729
  title?: string | undefined;
730
+ description?: string | undefined;
639
731
  default?: string | boolean | undefined;
640
732
  enum?: string[] | undefined;
641
733
  }>>>;
@@ -645,8 +737,8 @@ declare const TerminalCommandJsonSchemaSchema: z.ZodObject<{
645
737
  required: string[];
646
738
  properties: Record<string, {
647
739
  type: "string" | "boolean";
648
- description?: string | undefined;
649
740
  title?: string | undefined;
741
+ description?: string | undefined;
650
742
  default?: string | boolean | undefined;
651
743
  enum?: string[] | undefined;
652
744
  }>;
@@ -655,8 +747,8 @@ declare const TerminalCommandJsonSchemaSchema: z.ZodObject<{
655
747
  required?: string[] | undefined;
656
748
  properties?: Record<string, {
657
749
  type?: "string" | "boolean" | undefined;
658
- description?: string | undefined;
659
750
  title?: string | undefined;
751
+ description?: string | undefined;
660
752
  default?: string | boolean | undefined;
661
753
  enum?: string[] | undefined;
662
754
  }> | undefined;
@@ -673,14 +765,14 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
673
765
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
674
766
  }, "strip", z.ZodTypeAny, {
675
767
  type: "string" | "boolean";
676
- description?: string | undefined;
677
768
  title?: string | undefined;
769
+ description?: string | undefined;
678
770
  default?: string | boolean | undefined;
679
771
  enum?: string[] | undefined;
680
772
  }, {
681
773
  type?: "string" | "boolean" | undefined;
682
- description?: string | undefined;
683
774
  title?: string | undefined;
775
+ description?: string | undefined;
684
776
  default?: string | boolean | undefined;
685
777
  enum?: string[] | undefined;
686
778
  }>>>;
@@ -690,8 +782,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
690
782
  required: string[];
691
783
  properties: Record<string, {
692
784
  type: "string" | "boolean";
693
- description?: string | undefined;
694
785
  title?: string | undefined;
786
+ description?: string | undefined;
695
787
  default?: string | boolean | undefined;
696
788
  enum?: string[] | undefined;
697
789
  }>;
@@ -700,8 +792,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
700
792
  required?: string[] | undefined;
701
793
  properties?: Record<string, {
702
794
  type?: "string" | "boolean" | undefined;
703
- description?: string | undefined;
704
795
  title?: string | undefined;
796
+ description?: string | undefined;
705
797
  default?: string | boolean | undefined;
706
798
  enum?: string[] | undefined;
707
799
  }> | undefined;
@@ -713,8 +805,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
713
805
  required: string[];
714
806
  properties: Record<string, {
715
807
  type: "string" | "boolean";
716
- description?: string | undefined;
717
808
  title?: string | undefined;
809
+ description?: string | undefined;
718
810
  default?: string | boolean | undefined;
719
811
  enum?: string[] | undefined;
720
812
  }>;
@@ -726,8 +818,8 @@ declare const TerminalCommandParametersSchema: z.ZodObject<{
726
818
  required?: string[] | undefined;
727
819
  properties?: Record<string, {
728
820
  type?: "string" | "boolean" | undefined;
729
- description?: string | undefined;
730
821
  title?: string | undefined;
822
+ description?: string | undefined;
731
823
  default?: string | boolean | undefined;
732
824
  enum?: string[] | undefined;
733
825
  }> | undefined;
@@ -906,24 +998,24 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
906
998
  required: z.ZodDefault<z.ZodBoolean>;
907
999
  advanced: z.ZodDefault<z.ZodBoolean>;
908
1000
  }, "strip", z.ZodTypeAny, {
909
- id: string;
910
- label: string;
911
1001
  options: string[];
912
1002
  type: "boolean" | "text" | "textarea" | "select";
1003
+ id: string;
913
1004
  required: boolean;
1005
+ label: string;
914
1006
  advanced: boolean;
915
1007
  description?: string | undefined;
916
1008
  placeholder?: string | undefined;
917
1009
  defaultValue?: string | boolean | undefined;
918
1010
  }, {
1011
+ type: "boolean" | "text" | "textarea" | "select";
919
1012
  id: string;
920
1013
  label: string;
921
- type: "boolean" | "text" | "textarea" | "select";
922
1014
  options?: string[] | undefined;
1015
+ required?: boolean | undefined;
923
1016
  description?: string | undefined;
924
1017
  placeholder?: string | undefined;
925
1018
  defaultValue?: string | boolean | undefined;
926
- required?: boolean | undefined;
927
1019
  advanced?: boolean | undefined;
928
1020
  }>, "many">>;
929
1021
  parameters: z.ZodOptional<z.ZodObject<{
@@ -937,14 +1029,14 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
937
1029
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
938
1030
  }, "strip", z.ZodTypeAny, {
939
1031
  type: "string" | "boolean";
940
- description?: string | undefined;
941
1032
  title?: string | undefined;
1033
+ description?: string | undefined;
942
1034
  default?: string | boolean | undefined;
943
1035
  enum?: string[] | undefined;
944
1036
  }, {
945
1037
  type?: "string" | "boolean" | undefined;
946
- description?: string | undefined;
947
1038
  title?: string | undefined;
1039
+ description?: string | undefined;
948
1040
  default?: string | boolean | undefined;
949
1041
  enum?: string[] | undefined;
950
1042
  }>>>;
@@ -954,8 +1046,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
954
1046
  required: string[];
955
1047
  properties: Record<string, {
956
1048
  type: "string" | "boolean";
957
- description?: string | undefined;
958
1049
  title?: string | undefined;
1050
+ description?: string | undefined;
959
1051
  default?: string | boolean | undefined;
960
1052
  enum?: string[] | undefined;
961
1053
  }>;
@@ -964,8 +1056,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
964
1056
  required?: string[] | undefined;
965
1057
  properties?: Record<string, {
966
1058
  type?: "string" | "boolean" | undefined;
967
- description?: string | undefined;
968
1059
  title?: string | undefined;
1060
+ description?: string | undefined;
969
1061
  default?: string | boolean | undefined;
970
1062
  enum?: string[] | undefined;
971
1063
  }> | undefined;
@@ -977,8 +1069,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
977
1069
  required: string[];
978
1070
  properties: Record<string, {
979
1071
  type: "string" | "boolean";
980
- description?: string | undefined;
981
1072
  title?: string | undefined;
1073
+ description?: string | undefined;
982
1074
  default?: string | boolean | undefined;
983
1075
  enum?: string[] | undefined;
984
1076
  }>;
@@ -990,8 +1082,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
990
1082
  required?: string[] | undefined;
991
1083
  properties?: Record<string, {
992
1084
  type?: "string" | "boolean" | undefined;
993
- description?: string | undefined;
994
1085
  title?: string | undefined;
1086
+ description?: string | undefined;
995
1087
  default?: string | boolean | undefined;
996
1088
  enum?: string[] | undefined;
997
1089
  }> | undefined;
@@ -1082,6 +1174,7 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1082
1174
  }, "strip", z.ZodTypeAny, {
1083
1175
  id: string;
1084
1176
  label: string;
1177
+ source: "custom" | "builtin";
1085
1178
  command: string;
1086
1179
  args: ({
1087
1180
  value: string;
@@ -1096,13 +1189,12 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1096
1189
  fieldId: string;
1097
1190
  flag: string;
1098
1191
  })[];
1099
- source: "builtin" | "custom";
1100
1192
  fields: {
1101
- id: string;
1102
- label: string;
1103
1193
  options: string[];
1104
1194
  type: "boolean" | "text" | "textarea" | "select";
1195
+ id: string;
1105
1196
  required: boolean;
1197
+ label: string;
1106
1198
  advanced: boolean;
1107
1199
  description?: string | undefined;
1108
1200
  placeholder?: string | undefined;
@@ -1115,8 +1207,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1115
1207
  required: string[];
1116
1208
  properties: Record<string, {
1117
1209
  type: "string" | "boolean";
1118
- description?: string | undefined;
1119
1210
  title?: string | undefined;
1211
+ description?: string | undefined;
1120
1212
  default?: string | boolean | undefined;
1121
1213
  enum?: string[] | undefined;
1122
1214
  }>;
@@ -1147,6 +1239,7 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1147
1239
  id: string;
1148
1240
  label: string;
1149
1241
  command: string;
1242
+ source?: "custom" | "builtin" | undefined;
1150
1243
  args?: ({
1151
1244
  value: string;
1152
1245
  kind: "literal";
@@ -1160,17 +1253,16 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1160
1253
  fieldId: string;
1161
1254
  flag: string;
1162
1255
  })[] | undefined;
1163
- source?: "builtin" | "custom" | undefined;
1164
1256
  description?: string | undefined;
1165
1257
  fields?: {
1258
+ type: "boolean" | "text" | "textarea" | "select";
1166
1259
  id: string;
1167
1260
  label: string;
1168
- type: "boolean" | "text" | "textarea" | "select";
1169
1261
  options?: string[] | undefined;
1262
+ required?: boolean | undefined;
1170
1263
  description?: string | undefined;
1171
1264
  placeholder?: string | undefined;
1172
1265
  defaultValue?: string | boolean | undefined;
1173
- required?: boolean | undefined;
1174
1266
  advanced?: boolean | undefined;
1175
1267
  }[] | undefined;
1176
1268
  parameters?: {
@@ -1179,8 +1271,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1179
1271
  required?: string[] | undefined;
1180
1272
  properties?: Record<string, {
1181
1273
  type?: "string" | "boolean" | undefined;
1182
- description?: string | undefined;
1183
1274
  title?: string | undefined;
1275
+ description?: string | undefined;
1184
1276
  default?: string | boolean | undefined;
1185
1277
  enum?: string[] | undefined;
1186
1278
  }> | undefined;
@@ -1221,16 +1313,16 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1221
1313
  }, "strip", z.ZodTypeAny, {
1222
1314
  id: string;
1223
1315
  label: string;
1316
+ source: "custom" | "builtin";
1224
1317
  command: string;
1225
1318
  args: string[];
1226
- source: "builtin" | "custom";
1227
1319
  quoteStyle: "posix" | "cmd" | "powershell";
1228
1320
  }, {
1229
1321
  id: string;
1230
1322
  label: string;
1231
1323
  command: string;
1324
+ source?: "custom" | "builtin" | undefined;
1232
1325
  args?: string[] | undefined;
1233
- source?: "builtin" | "custom" | undefined;
1234
1326
  quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
1235
1327
  }>, "many">>;
1236
1328
  customSpawnCommands: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1286,24 +1378,24 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1286
1378
  required: z.ZodDefault<z.ZodBoolean>;
1287
1379
  advanced: z.ZodDefault<z.ZodBoolean>;
1288
1380
  }, "strip", z.ZodTypeAny, {
1289
- id: string;
1290
- label: string;
1291
1381
  options: string[];
1292
1382
  type: "boolean" | "text" | "textarea" | "select";
1383
+ id: string;
1293
1384
  required: boolean;
1385
+ label: string;
1294
1386
  advanced: boolean;
1295
1387
  description?: string | undefined;
1296
1388
  placeholder?: string | undefined;
1297
1389
  defaultValue?: string | boolean | undefined;
1298
1390
  }, {
1391
+ type: "boolean" | "text" | "textarea" | "select";
1299
1392
  id: string;
1300
1393
  label: string;
1301
- type: "boolean" | "text" | "textarea" | "select";
1302
1394
  options?: string[] | undefined;
1395
+ required?: boolean | undefined;
1303
1396
  description?: string | undefined;
1304
1397
  placeholder?: string | undefined;
1305
1398
  defaultValue?: string | boolean | undefined;
1306
- required?: boolean | undefined;
1307
1399
  advanced?: boolean | undefined;
1308
1400
  }>, "many">>;
1309
1401
  parameters: z.ZodOptional<z.ZodObject<{
@@ -1317,14 +1409,14 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1317
1409
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1318
1410
  }, "strip", z.ZodTypeAny, {
1319
1411
  type: "string" | "boolean";
1320
- description?: string | undefined;
1321
1412
  title?: string | undefined;
1413
+ description?: string | undefined;
1322
1414
  default?: string | boolean | undefined;
1323
1415
  enum?: string[] | undefined;
1324
1416
  }, {
1325
1417
  type?: "string" | "boolean" | undefined;
1326
- description?: string | undefined;
1327
1418
  title?: string | undefined;
1419
+ description?: string | undefined;
1328
1420
  default?: string | boolean | undefined;
1329
1421
  enum?: string[] | undefined;
1330
1422
  }>>>;
@@ -1334,8 +1426,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1334
1426
  required: string[];
1335
1427
  properties: Record<string, {
1336
1428
  type: "string" | "boolean";
1337
- description?: string | undefined;
1338
1429
  title?: string | undefined;
1430
+ description?: string | undefined;
1339
1431
  default?: string | boolean | undefined;
1340
1432
  enum?: string[] | undefined;
1341
1433
  }>;
@@ -1344,8 +1436,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1344
1436
  required?: string[] | undefined;
1345
1437
  properties?: Record<string, {
1346
1438
  type?: "string" | "boolean" | undefined;
1347
- description?: string | undefined;
1348
1439
  title?: string | undefined;
1440
+ description?: string | undefined;
1349
1441
  default?: string | boolean | undefined;
1350
1442
  enum?: string[] | undefined;
1351
1443
  }> | undefined;
@@ -1357,8 +1449,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1357
1449
  required: string[];
1358
1450
  properties: Record<string, {
1359
1451
  type: "string" | "boolean";
1360
- description?: string | undefined;
1361
1452
  title?: string | undefined;
1453
+ description?: string | undefined;
1362
1454
  default?: string | boolean | undefined;
1363
1455
  enum?: string[] | undefined;
1364
1456
  }>;
@@ -1370,8 +1462,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1370
1462
  required?: string[] | undefined;
1371
1463
  properties?: Record<string, {
1372
1464
  type?: "string" | "boolean" | undefined;
1373
- description?: string | undefined;
1374
1465
  title?: string | undefined;
1466
+ description?: string | undefined;
1375
1467
  default?: string | boolean | undefined;
1376
1468
  enum?: string[] | undefined;
1377
1469
  }> | undefined;
@@ -1462,6 +1554,7 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1462
1554
  }, "strip", z.ZodTypeAny, {
1463
1555
  id: string;
1464
1556
  label: string;
1557
+ source: "custom" | "builtin";
1465
1558
  command: string;
1466
1559
  args: ({
1467
1560
  value: string;
@@ -1476,13 +1569,12 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1476
1569
  fieldId: string;
1477
1570
  flag: string;
1478
1571
  })[];
1479
- source: "builtin" | "custom";
1480
1572
  fields: {
1481
- id: string;
1482
- label: string;
1483
1573
  options: string[];
1484
1574
  type: "boolean" | "text" | "textarea" | "select";
1575
+ id: string;
1485
1576
  required: boolean;
1577
+ label: string;
1486
1578
  advanced: boolean;
1487
1579
  description?: string | undefined;
1488
1580
  placeholder?: string | undefined;
@@ -1495,8 +1587,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1495
1587
  required: string[];
1496
1588
  properties: Record<string, {
1497
1589
  type: "string" | "boolean";
1498
- description?: string | undefined;
1499
1590
  title?: string | undefined;
1591
+ description?: string | undefined;
1500
1592
  default?: string | boolean | undefined;
1501
1593
  enum?: string[] | undefined;
1502
1594
  }>;
@@ -1527,6 +1619,7 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1527
1619
  id: string;
1528
1620
  label: string;
1529
1621
  command: string;
1622
+ source?: "custom" | "builtin" | undefined;
1530
1623
  args?: ({
1531
1624
  value: string;
1532
1625
  kind: "literal";
@@ -1540,17 +1633,16 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1540
1633
  fieldId: string;
1541
1634
  flag: string;
1542
1635
  })[] | undefined;
1543
- source?: "builtin" | "custom" | undefined;
1544
1636
  description?: string | undefined;
1545
1637
  fields?: {
1638
+ type: "boolean" | "text" | "textarea" | "select";
1546
1639
  id: string;
1547
1640
  label: string;
1548
- type: "boolean" | "text" | "textarea" | "select";
1549
1641
  options?: string[] | undefined;
1642
+ required?: boolean | undefined;
1550
1643
  description?: string | undefined;
1551
1644
  placeholder?: string | undefined;
1552
1645
  defaultValue?: string | boolean | undefined;
1553
- required?: boolean | undefined;
1554
1646
  advanced?: boolean | undefined;
1555
1647
  }[] | undefined;
1556
1648
  parameters?: {
@@ -1559,8 +1651,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1559
1651
  required?: string[] | undefined;
1560
1652
  properties?: Record<string, {
1561
1653
  type?: "string" | "boolean" | undefined;
1562
- description?: string | undefined;
1563
1654
  title?: string | undefined;
1655
+ description?: string | undefined;
1564
1656
  default?: string | boolean | undefined;
1565
1657
  enum?: string[] | undefined;
1566
1658
  }> | undefined;
@@ -1592,14 +1684,15 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1592
1684
  customShellProfiles: {
1593
1685
  id: string;
1594
1686
  label: string;
1687
+ source: "custom" | "builtin";
1595
1688
  command: string;
1596
1689
  args: string[];
1597
- source: "builtin" | "custom";
1598
1690
  quoteStyle: "posix" | "cmd" | "powershell";
1599
1691
  }[];
1600
1692
  customSpawnCommands: {
1601
1693
  id: string;
1602
1694
  label: string;
1695
+ source: "custom" | "builtin";
1603
1696
  command: string;
1604
1697
  args: ({
1605
1698
  value: string;
@@ -1614,13 +1707,12 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1614
1707
  fieldId: string;
1615
1708
  flag: string;
1616
1709
  })[];
1617
- source: "builtin" | "custom";
1618
1710
  fields: {
1619
- id: string;
1620
- label: string;
1621
1711
  options: string[];
1622
1712
  type: "boolean" | "text" | "textarea" | "select";
1713
+ id: string;
1623
1714
  required: boolean;
1715
+ label: string;
1624
1716
  advanced: boolean;
1625
1717
  description?: string | undefined;
1626
1718
  placeholder?: string | undefined;
@@ -1633,8 +1725,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1633
1725
  required: string[];
1634
1726
  properties: Record<string, {
1635
1727
  type: "string" | "boolean";
1636
- description?: string | undefined;
1637
1728
  title?: string | undefined;
1729
+ description?: string | undefined;
1638
1730
  default?: string | boolean | undefined;
1639
1731
  enum?: string[] | undefined;
1640
1732
  }>;
@@ -1669,14 +1761,15 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1669
1761
  id: string;
1670
1762
  label: string;
1671
1763
  command: string;
1764
+ source?: "custom" | "builtin" | undefined;
1672
1765
  args?: string[] | undefined;
1673
- source?: "builtin" | "custom" | undefined;
1674
1766
  quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
1675
1767
  }[] | undefined;
1676
1768
  customSpawnCommands?: {
1677
1769
  id: string;
1678
1770
  label: string;
1679
1771
  command: string;
1772
+ source?: "custom" | "builtin" | undefined;
1680
1773
  args?: ({
1681
1774
  value: string;
1682
1775
  kind: "literal";
@@ -1690,17 +1783,16 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1690
1783
  fieldId: string;
1691
1784
  flag: string;
1692
1785
  })[] | undefined;
1693
- source?: "builtin" | "custom" | undefined;
1694
1786
  description?: string | undefined;
1695
1787
  fields?: {
1788
+ type: "boolean" | "text" | "textarea" | "select";
1696
1789
  id: string;
1697
1790
  label: string;
1698
- type: "boolean" | "text" | "textarea" | "select";
1699
1791
  options?: string[] | undefined;
1792
+ required?: boolean | undefined;
1700
1793
  description?: string | undefined;
1701
1794
  placeholder?: string | undefined;
1702
1795
  defaultValue?: string | boolean | undefined;
1703
- required?: boolean | undefined;
1704
1796
  advanced?: boolean | undefined;
1705
1797
  }[] | undefined;
1706
1798
  parameters?: {
@@ -1709,8 +1801,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1709
1801
  required?: string[] | undefined;
1710
1802
  properties?: Record<string, {
1711
1803
  type?: "string" | "boolean" | undefined;
1712
- description?: string | undefined;
1713
1804
  title?: string | undefined;
1805
+ description?: string | undefined;
1714
1806
  default?: string | boolean | undefined;
1715
1807
  enum?: string[] | undefined;
1716
1808
  }> | undefined;
@@ -1774,4 +1866,4 @@ declare function renderTerminalSpawnCommandLine(options: {
1774
1866
  quoteStyle: TerminalShellQuoteStyle;
1775
1867
  }): string;
1776
1868
  //#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 };
1869
+ export { PtyServerMessageSchema as $, renderTerminalSpawnCommand as A, PtyCreatedResponseSchema as B, TerminalSpawnCommand as C, getTerminalCommandParameters as D, getTerminalCommandDefaultValues as E, PtyBufferResponseSchema as F, PtyListMessageSchema as G, PtyErrorResponseSchema as H, PtyClientMessage as I, PtyPlatform as J, PtyListResponseSchema as K, PtyClientMessageSchema as L, resolveTerminalShellDefaults as M, PtyAttachMessageSchema as N, quoteTerminalShellArg as O, PtyBellResponseSchema as P, PtyServerMessage as Q, PtyCloseMessageSchema as R, TerminalShellQuoteStyleSchema as S, fieldsToTerminalCommandParameters as T, PtyExitResponseSchema as U, PtyErrorCodeSchema as V, PtyInputMessageSchema as W, PtyProcessTitleResponseSchema as X, PtyPlatformSchema as Y, PtyResizeMessageSchema as Z, TerminalShellDefaults as _, TerminalCommandBuilder as a, TerminalShellProfileSchema as b, TerminalCommandFieldSchema as c, TerminalCommandJsonSchema as d, PtySessionInfo as et, 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, PtyOutputResponseSchema as q, TERMINAL_SHELL_QUOTE_STYLE_VALUES as r, TerminalCommandField as s, BUILTIN_TERMINAL_SPAWN_COMMANDS as t, PtyTitleResponseSchema as tt, TerminalCommandFieldValues as u, TerminalShellEnv as v, TerminalSpawnCommandSchema as w, TerminalShellQuoteStyle as x, TerminalShellProfile as y, PtyCreateMessageSchema as z };