@openspecui/core 3.4.1 → 3.5.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.
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 +141 -97
  4. package/dist/index.mjs +71 -8
  5. package/dist/notifications-BWvRNkRJ.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-Bw-sSyFZ.d.mts +86 -0
  12. package/dist/sounds-C0dNSFm8.mjs +158 -0
  13. package/dist/sounds.d.mts +2 -0
  14. package/dist/sounds.mjs +3 -0
  15. package/dist/terminal-audio-8E82E0AM.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-CGAgqosu.d.mts} +191 -99
  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
@@ -13,20 +13,20 @@ declare const PtySessionInfoSchema: z.ZodObject<{
13
13
  closeTip: z.ZodOptional<z.ZodString>;
14
14
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
15
15
  }, "strip", z.ZodTypeAny, {
16
+ title: string;
16
17
  id: 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;
23
23
  closeTip?: string | undefined;
24
24
  closeCallbackUrl?: string | Record<string, string> | undefined;
25
25
  }, {
26
+ title: string;
26
27
  id: 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;
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";
272
+ sessionId: string;
263
273
  title: string;
274
+ }, {
275
+ type: "process-title";
264
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">;
@@ -289,20 +315,20 @@ declare const PtyListResponseSchema: z.ZodObject<{
289
315
  closeTip: z.ZodOptional<z.ZodString>;
290
316
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
291
317
  }, "strip", z.ZodTypeAny, {
318
+ title: string;
292
319
  id: 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;
299
325
  closeTip?: string | undefined;
300
326
  closeCallbackUrl?: string | Record<string, string> | undefined;
301
327
  }, {
328
+ title: string;
302
329
  id: 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;
@@ -312,10 +338,10 @@ declare const PtyListResponseSchema: z.ZodObject<{
312
338
  }, "strip", z.ZodTypeAny, {
313
339
  type: "list";
314
340
  sessions: {
341
+ title: string;
315
342
  id: 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;
@@ -325,10 +351,10 @@ declare const PtyListResponseSchema: z.ZodObject<{
325
351
  }, {
326
352
  type: "list";
327
353
  sessions: {
354
+ title: string;
328
355
  id: 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;
440
+ title: string;
441
+ }, {
442
+ type: "process-title";
443
+ sessionId: string;
405
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: "clear" | "set" | "warning" | "error" | "indeterminate";
467
+ }, {
468
+ value: number | null;
469
+ type: "progress";
470
+ sessionId: string;
471
+ state: "clear" | "set" | "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";
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";
406
497
  sessionId: string;
498
+ createdAt?: number | undefined;
407
499
  }>, z.ZodObject<{
408
500
  type: z.ZodLiteral<"buffer">;
409
501
  sessionId: z.ZodString;
@@ -429,20 +521,20 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
429
521
  closeTip: z.ZodOptional<z.ZodString>;
430
522
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
431
523
  }, "strip", z.ZodTypeAny, {
524
+ title: string;
432
525
  id: 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;
439
531
  closeTip?: string | undefined;
440
532
  closeCallbackUrl?: string | Record<string, string> | undefined;
441
533
  }, {
534
+ title: string;
442
535
  id: 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;
@@ -452,10 +544,10 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
452
544
  }, "strip", z.ZodTypeAny, {
453
545
  type: "list";
454
546
  sessions: {
547
+ title: string;
455
548
  id: 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;
@@ -465,10 +557,10 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
465
557
  }, {
466
558
  type: "list";
467
559
  sessions: {
560
+ title: string;
468
561
  id: 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;
@@ -513,18 +605,18 @@ declare const TerminalShellProfileSchema: z.ZodObject<{
513
605
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
514
606
  quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
515
607
  }, "strip", z.ZodTypeAny, {
516
- id: string;
517
608
  label: string;
609
+ source: "custom" | "builtin";
610
+ id: string;
518
611
  command: string;
519
612
  args: string[];
520
- source: "builtin" | "custom";
521
613
  quoteStyle: "posix" | "cmd" | "powershell";
522
614
  }, {
523
- id: string;
524
615
  label: string;
616
+ id: 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,19 +631,19 @@ 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
+ label: string;
637
+ id: string;
546
638
  required: boolean;
547
639
  advanced: boolean;
548
640
  description?: string | undefined;
549
641
  placeholder?: string | undefined;
550
642
  defaultValue?: string | boolean | undefined;
551
643
  }, {
552
- id: string;
553
- label: string;
554
644
  type: "boolean" | "text" | "textarea" | "select";
645
+ label: string;
646
+ id: string;
555
647
  options?: string[] | undefined;
556
648
  description?: string | undefined;
557
649
  placeholder?: string | undefined;
@@ -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,19 +998,19 @@ 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
+ label: string;
1004
+ id: string;
913
1005
  required: boolean;
914
1006
  advanced: boolean;
915
1007
  description?: string | undefined;
916
1008
  placeholder?: string | undefined;
917
1009
  defaultValue?: string | boolean | undefined;
918
1010
  }, {
919
- id: string;
920
- label: string;
921
1011
  type: "boolean" | "text" | "textarea" | "select";
1012
+ label: string;
1013
+ id: string;
922
1014
  options?: string[] | undefined;
923
1015
  description?: string | undefined;
924
1016
  placeholder?: string | undefined;
@@ -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;
@@ -1080,8 +1172,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1080
1172
  shellProfileId: z.ZodOptional<z.ZodString>;
1081
1173
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1082
1174
  }, "strip", z.ZodTypeAny, {
1083
- id: string;
1084
1175
  label: string;
1176
+ source: "custom" | "builtin";
1177
+ id: string;
1085
1178
  command: string;
1086
1179
  args: ({
1087
1180
  value: string;
@@ -1096,12 +1189,11 @@ 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
+ label: string;
1196
+ id: string;
1105
1197
  required: boolean;
1106
1198
  advanced: boolean;
1107
1199
  description?: 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
  }>;
@@ -1144,9 +1236,10 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1144
1236
  } | undefined;
1145
1237
  shellProfileId?: string | undefined;
1146
1238
  }, {
1147
- id: string;
1148
1239
  label: string;
1240
+ id: string;
1149
1241
  command: string;
1242
+ source?: "custom" | "builtin" | undefined;
1150
1243
  args?: ({
1151
1244
  value: string;
1152
1245
  kind: "literal";
@@ -1160,12 +1253,11 @@ 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?: {
1166
- id: string;
1167
- label: string;
1168
1258
  type: "boolean" | "text" | "textarea" | "select";
1259
+ label: string;
1260
+ id: string;
1169
1261
  options?: string[] | undefined;
1170
1262
  description?: string | undefined;
1171
1263
  placeholder?: string | undefined;
@@ -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;
@@ -1219,18 +1311,18 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1219
1311
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1220
1312
  quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
1221
1313
  }, "strip", z.ZodTypeAny, {
1222
- id: string;
1223
1314
  label: string;
1315
+ source: "custom" | "builtin";
1316
+ id: string;
1224
1317
  command: string;
1225
1318
  args: string[];
1226
- source: "builtin" | "custom";
1227
1319
  quoteStyle: "posix" | "cmd" | "powershell";
1228
1320
  }, {
1229
- id: string;
1230
1321
  label: string;
1322
+ id: 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,19 +1378,19 @@ 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
+ label: string;
1384
+ id: string;
1293
1385
  required: boolean;
1294
1386
  advanced: boolean;
1295
1387
  description?: string | undefined;
1296
1388
  placeholder?: string | undefined;
1297
1389
  defaultValue?: string | boolean | undefined;
1298
1390
  }, {
1299
- id: string;
1300
- label: string;
1301
1391
  type: "boolean" | "text" | "textarea" | "select";
1392
+ label: string;
1393
+ id: string;
1302
1394
  options?: string[] | undefined;
1303
1395
  description?: string | undefined;
1304
1396
  placeholder?: string | undefined;
@@ -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;
@@ -1460,8 +1552,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1460
1552
  shellProfileId: z.ZodOptional<z.ZodString>;
1461
1553
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1462
1554
  }, "strip", z.ZodTypeAny, {
1463
- id: string;
1464
1555
  label: string;
1556
+ source: "custom" | "builtin";
1557
+ id: string;
1465
1558
  command: string;
1466
1559
  args: ({
1467
1560
  value: string;
@@ -1476,12 +1569,11 @@ 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
+ label: string;
1576
+ id: string;
1485
1577
  required: boolean;
1486
1578
  advanced: boolean;
1487
1579
  description?: 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
  }>;
@@ -1524,9 +1616,10 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1524
1616
  } | undefined;
1525
1617
  shellProfileId?: string | undefined;
1526
1618
  }, {
1527
- id: string;
1528
1619
  label: string;
1620
+ id: string;
1529
1621
  command: string;
1622
+ source?: "custom" | "builtin" | undefined;
1530
1623
  args?: ({
1531
1624
  value: string;
1532
1625
  kind: "literal";
@@ -1540,12 +1633,11 @@ 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?: {
1546
- id: string;
1547
- label: string;
1548
1638
  type: "boolean" | "text" | "textarea" | "select";
1639
+ label: string;
1640
+ id: string;
1549
1641
  options?: string[] | undefined;
1550
1642
  description?: string | undefined;
1551
1643
  placeholder?: string | undefined;
@@ -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;
@@ -1590,16 +1682,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1590
1682
  }>, "many">>;
1591
1683
  }, "strip", z.ZodTypeAny, {
1592
1684
  customShellProfiles: {
1593
- id: string;
1594
1685
  label: string;
1686
+ source: "custom" | "builtin";
1687
+ id: string;
1595
1688
  command: string;
1596
1689
  args: string[];
1597
- source: "builtin" | "custom";
1598
1690
  quoteStyle: "posix" | "cmd" | "powershell";
1599
1691
  }[];
1600
1692
  customSpawnCommands: {
1601
- id: string;
1602
1693
  label: string;
1694
+ source: "custom" | "builtin";
1695
+ id: string;
1603
1696
  command: string;
1604
1697
  args: ({
1605
1698
  value: string;
@@ -1614,12 +1707,11 @@ 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
+ label: string;
1714
+ id: string;
1623
1715
  required: boolean;
1624
1716
  advanced: boolean;
1625
1717
  description?: 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
  }>;
@@ -1666,17 +1758,18 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1666
1758
  }, {
1667
1759
  defaultShellProfileId?: string | undefined;
1668
1760
  customShellProfiles?: {
1669
- id: string;
1670
1761
  label: string;
1762
+ id: 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
- id: string;
1678
1769
  label: string;
1770
+ id: string;
1679
1771
  command: string;
1772
+ source?: "custom" | "builtin" | undefined;
1680
1773
  args?: ({
1681
1774
  value: string;
1682
1775
  kind: "literal";
@@ -1690,12 +1783,11 @@ 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?: {
1696
- id: string;
1697
- label: string;
1698
1788
  type: "boolean" | "text" | "textarea" | "select";
1789
+ label: string;
1790
+ id: string;
1699
1791
  options?: string[] | undefined;
1700
1792
  description?: string | undefined;
1701
1793
  placeholder?: string | undefined;
@@ -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 };