@openspecui/core 3.7.0 → 3.7.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 (30) hide show
  1. package/dist/document-translation-CvUxMOPl.mjs +44 -0
  2. package/dist/document-translation-VavI1QOl.d.mts +140 -0
  3. package/dist/document-translation.d.mts +2 -2
  4. package/dist/document-translation.mjs +2 -2
  5. package/dist/hosted-app-BqJw9WgW.d.mts +43 -0
  6. package/dist/{hosted-app-Bl5W6LWQ.mjs → hosted-app-Du65UHRo.mjs} +24 -3
  7. package/dist/hosted-app.d.mts +2 -2
  8. package/dist/hosted-app.mjs +2 -2
  9. package/dist/index.d.mts +74 -26
  10. package/dist/index.mjs +98 -17
  11. package/dist/{notifications-CbKmEdCU.d.mts → notifications-Clq2bq-i.d.mts} +9 -9
  12. package/dist/notifications.d.mts +2 -2
  13. package/dist/{openspec-projection-Co3CUAHe.d.mts → openspec-projection-DgnEag63.d.mts} +1 -1
  14. package/dist/openspec-projection.d.mts +2 -2
  15. package/dist/{opsx-entity-Cz89hbt3.d.mts → opsx-entity-BhvuPO8B.d.mts} +15 -15
  16. package/dist/opsx-entity.d.mts +2 -2
  17. package/dist/{opsx-schema-detail-CuDl2xjZ.d.mts → opsx-schema-detail-SFENVa0g.d.mts} +1 -1
  18. package/dist/opsx-schema-detail.d.mts +3 -3
  19. package/dist/{schemas-q7tGvvxx.d.mts → schemas-DZwT0am4.d.mts} +34 -34
  20. package/dist/{sounds-BORGLPIt.d.mts → sounds-PZqzoKxJ.d.mts} +1 -1
  21. package/dist/sounds.d.mts +1 -1
  22. package/dist/{terminal-audio-Dmi6lR7o.d.mts → terminal-audio-Ci4x-tyQ.d.mts} +2 -2
  23. package/dist/terminal-audio.d.mts +2 -2
  24. package/dist/terminal-control.d.mts +2 -2
  25. package/dist/{terminal-invocation-C733ofmf.d.mts → terminal-invocation-owPZDVJF.d.mts} +36 -36
  26. package/dist/terminal-invocation.d.mts +1 -1
  27. package/package.json +37 -1
  28. package/dist/document-translation-CEI09yZe.mjs +0 -13
  29. package/dist/document-translation-CuCbRCNb.d.mts +0 -22
  30. package/dist/hosted-app-DHrXW3jc.d.mts +0 -31
@@ -102,8 +102,8 @@ declare const RequirementSchema: z.ZodObject<{
102
102
  }[] | undefined;
103
103
  }>, "many">;
104
104
  }, "strip", z.ZodTypeAny, {
105
- title: string;
106
105
  id: string;
106
+ title: string;
107
107
  text: string;
108
108
  bodyMarkdown: string;
109
109
  scenarios: {
@@ -117,8 +117,8 @@ declare const RequirementSchema: z.ZodObject<{
117
117
  }[] | undefined;
118
118
  }[];
119
119
  }, {
120
- title: string;
121
120
  id: string;
121
+ title: string;
122
122
  text: string;
123
123
  bodyMarkdown: string;
124
124
  scenarios: {
@@ -199,8 +199,8 @@ declare const SpecSchema: z.ZodObject<{
199
199
  }[] | undefined;
200
200
  }>, "many">;
201
201
  }, "strip", z.ZodTypeAny, {
202
- title: string;
203
202
  id: string;
203
+ title: string;
204
204
  text: string;
205
205
  bodyMarkdown: string;
206
206
  scenarios: {
@@ -214,8 +214,8 @@ declare const SpecSchema: z.ZodObject<{
214
214
  }[] | undefined;
215
215
  }[];
216
216
  }, {
217
- title: string;
218
217
  id: string;
218
+ title: string;
219
219
  text: string;
220
220
  bodyMarkdown: string;
221
221
  scenarios: {
@@ -248,8 +248,8 @@ declare const SpecSchema: z.ZodObject<{
248
248
  name: string;
249
249
  overview: string;
250
250
  requirements: {
251
- title: string;
252
251
  id: string;
252
+ title: string;
253
253
  text: string;
254
254
  bodyMarkdown: string;
255
255
  scenarios: {
@@ -273,8 +273,8 @@ declare const SpecSchema: z.ZodObject<{
273
273
  name: string;
274
274
  overview: string;
275
275
  requirements: {
276
- title: string;
277
276
  id: string;
277
+ title: string;
278
278
  text: string;
279
279
  bodyMarkdown: string;
280
280
  scenarios: {
@@ -362,8 +362,8 @@ declare const DeltaSchema: z.ZodObject<{
362
362
  }[] | undefined;
363
363
  }>, "many">;
364
364
  }, "strip", z.ZodTypeAny, {
365
- title: string;
366
365
  id: string;
366
+ title: string;
367
367
  text: string;
368
368
  bodyMarkdown: string;
369
369
  scenarios: {
@@ -377,8 +377,8 @@ declare const DeltaSchema: z.ZodObject<{
377
377
  }[] | undefined;
378
378
  }[];
379
379
  }, {
380
- title: string;
381
380
  id: string;
381
+ title: string;
382
382
  text: string;
383
383
  bodyMarkdown: string;
384
384
  scenarios: {
@@ -447,8 +447,8 @@ declare const DeltaSchema: z.ZodObject<{
447
447
  }[] | undefined;
448
448
  }>, "many">;
449
449
  }, "strip", z.ZodTypeAny, {
450
- title: string;
451
450
  id: string;
451
+ title: string;
452
452
  text: string;
453
453
  bodyMarkdown: string;
454
454
  scenarios: {
@@ -462,8 +462,8 @@ declare const DeltaSchema: z.ZodObject<{
462
462
  }[] | undefined;
463
463
  }[];
464
464
  }, {
465
- title: string;
466
465
  id: string;
466
+ title: string;
467
467
  text: string;
468
468
  bodyMarkdown: string;
469
469
  scenarios: {
@@ -493,8 +493,8 @@ declare const DeltaSchema: z.ZodObject<{
493
493
  spec: string;
494
494
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
495
495
  requirements?: {
496
- title: string;
497
496
  id: string;
497
+ title: string;
498
498
  text: string;
499
499
  bodyMarkdown: string;
500
500
  scenarios: {
@@ -509,8 +509,8 @@ declare const DeltaSchema: z.ZodObject<{
509
509
  }[];
510
510
  }[] | undefined;
511
511
  requirement?: {
512
- title: string;
513
512
  id: string;
513
+ title: string;
514
514
  text: string;
515
515
  bodyMarkdown: string;
516
516
  scenarios: {
@@ -533,8 +533,8 @@ declare const DeltaSchema: z.ZodObject<{
533
533
  spec: string;
534
534
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
535
535
  requirements?: {
536
- title: string;
537
536
  id: string;
537
+ title: string;
538
538
  text: string;
539
539
  bodyMarkdown: string;
540
540
  scenarios: {
@@ -549,8 +549,8 @@ declare const DeltaSchema: z.ZodObject<{
549
549
  }[];
550
550
  }[] | undefined;
551
551
  requirement?: {
552
- title: string;
553
552
  id: string;
553
+ title: string;
554
554
  text: string;
555
555
  bodyMarkdown: string;
556
556
  scenarios: {
@@ -692,8 +692,8 @@ declare const ChangeSchema: z.ZodObject<{
692
692
  }[] | undefined;
693
693
  }>, "many">;
694
694
  }, "strip", z.ZodTypeAny, {
695
- title: string;
696
695
  id: string;
696
+ title: string;
697
697
  text: string;
698
698
  bodyMarkdown: string;
699
699
  scenarios: {
@@ -707,8 +707,8 @@ declare const ChangeSchema: z.ZodObject<{
707
707
  }[] | undefined;
708
708
  }[];
709
709
  }, {
710
- title: string;
711
710
  id: string;
711
+ title: string;
712
712
  text: string;
713
713
  bodyMarkdown: string;
714
714
  scenarios: {
@@ -777,8 +777,8 @@ declare const ChangeSchema: z.ZodObject<{
777
777
  }[] | undefined;
778
778
  }>, "many">;
779
779
  }, "strip", z.ZodTypeAny, {
780
- title: string;
781
780
  id: string;
781
+ title: string;
782
782
  text: string;
783
783
  bodyMarkdown: string;
784
784
  scenarios: {
@@ -792,8 +792,8 @@ declare const ChangeSchema: z.ZodObject<{
792
792
  }[] | undefined;
793
793
  }[];
794
794
  }, {
795
- title: string;
796
795
  id: string;
796
+ title: string;
797
797
  text: string;
798
798
  bodyMarkdown: string;
799
799
  scenarios: {
@@ -823,8 +823,8 @@ declare const ChangeSchema: z.ZodObject<{
823
823
  spec: string;
824
824
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
825
825
  requirements?: {
826
- title: string;
827
826
  id: string;
827
+ title: string;
828
828
  text: string;
829
829
  bodyMarkdown: string;
830
830
  scenarios: {
@@ -839,8 +839,8 @@ declare const ChangeSchema: z.ZodObject<{
839
839
  }[];
840
840
  }[] | undefined;
841
841
  requirement?: {
842
- title: string;
843
842
  id: string;
843
+ title: string;
844
844
  text: string;
845
845
  bodyMarkdown: string;
846
846
  scenarios: {
@@ -863,8 +863,8 @@ declare const ChangeSchema: z.ZodObject<{
863
863
  spec: string;
864
864
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
865
865
  requirements?: {
866
- title: string;
867
866
  id: string;
867
+ title: string;
868
868
  text: string;
869
869
  bodyMarkdown: string;
870
870
  scenarios: {
@@ -879,8 +879,8 @@ declare const ChangeSchema: z.ZodObject<{
879
879
  }[];
880
880
  }[] | undefined;
881
881
  requirement?: {
882
- title: string;
883
882
  id: string;
883
+ title: string;
884
884
  text: string;
885
885
  bodyMarkdown: string;
886
886
  scenarios: {
@@ -960,10 +960,6 @@ declare const ChangeSchema: z.ZodObject<{
960
960
  }, "strip", z.ZodTypeAny, {
961
961
  id: string;
962
962
  name: string;
963
- progress: {
964
- completed: number;
965
- total: number;
966
- };
967
963
  why: string;
968
964
  whatChanges: string;
969
965
  deltas: {
@@ -971,8 +967,8 @@ declare const ChangeSchema: z.ZodObject<{
971
967
  spec: string;
972
968
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
973
969
  requirements?: {
974
- title: string;
975
970
  id: string;
971
+ title: string;
976
972
  text: string;
977
973
  bodyMarkdown: string;
978
974
  scenarios: {
@@ -987,8 +983,8 @@ declare const ChangeSchema: z.ZodObject<{
987
983
  }[];
988
984
  }[] | undefined;
989
985
  requirement?: {
990
- title: string;
991
986
  id: string;
987
+ title: string;
992
988
  text: string;
993
989
  bodyMarkdown: string;
994
990
  scenarios: {
@@ -1013,6 +1009,10 @@ declare const ChangeSchema: z.ZodObject<{
1013
1009
  completed: boolean;
1014
1010
  section?: string | undefined;
1015
1011
  }[];
1012
+ progress: {
1013
+ completed: number;
1014
+ total: number;
1015
+ };
1016
1016
  metadata?: {
1017
1017
  version: string;
1018
1018
  format: "openspec-change";
@@ -1025,10 +1025,6 @@ declare const ChangeSchema: z.ZodObject<{
1025
1025
  }, {
1026
1026
  id: string;
1027
1027
  name: string;
1028
- progress: {
1029
- completed: number;
1030
- total: number;
1031
- };
1032
1028
  why: string;
1033
1029
  whatChanges: string;
1034
1030
  deltas: {
@@ -1036,8 +1032,8 @@ declare const ChangeSchema: z.ZodObject<{
1036
1032
  spec: string;
1037
1033
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
1038
1034
  requirements?: {
1039
- title: string;
1040
1035
  id: string;
1036
+ title: string;
1041
1037
  text: string;
1042
1038
  bodyMarkdown: string;
1043
1039
  scenarios: {
@@ -1052,8 +1048,8 @@ declare const ChangeSchema: z.ZodObject<{
1052
1048
  }[];
1053
1049
  }[] | undefined;
1054
1050
  requirement?: {
1055
- title: string;
1056
1051
  id: string;
1052
+ title: string;
1057
1053
  text: string;
1058
1054
  bodyMarkdown: string;
1059
1055
  scenarios: {
@@ -1078,6 +1074,10 @@ declare const ChangeSchema: z.ZodObject<{
1078
1074
  completed: boolean;
1079
1075
  section?: string | undefined;
1080
1076
  }[];
1077
+ progress: {
1078
+ completed: number;
1079
+ total: number;
1080
+ };
1081
1081
  metadata?: {
1082
1082
  version?: string | undefined;
1083
1083
  format?: "openspec-change" | undefined;
@@ -23,7 +23,7 @@ declare const LEGACY_SOUND_ID_MAP: {
23
23
  readonly pulse: "builtin:Tink";
24
24
  };
25
25
  declare function normalizeLegacySoundId(value: unknown): unknown;
26
- declare const SoundConfigIdSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>;
26
+ declare const SoundConfigIdSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>;
27
27
  declare const SoundVolumeSchema: z.ZodDefault<z.ZodNumber>;
28
28
  type SoundVolume = z.infer<typeof SoundVolumeSchema>;
29
29
  interface BuiltinSoundOption {
package/dist/sounds.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { C as SoundVolume, D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, _ as DEFAULT_SOUND_VOLUME, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, w as SoundVolumeSchema, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-BORGLPIt.mjs";
1
+ import { C as SoundVolume, D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, _ as DEFAULT_SOUND_VOLUME, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, w as SoundVolumeSchema, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-PZqzoKxJ.mjs";
2
2
  export { BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BuiltinSoundId, BuiltinSoundIdSchema, BuiltinSoundOption, CUSTOM_SOUND_ADD_VALUE, CustomSoundHash, CustomSoundHashSchema, CustomSoundId, CustomSoundIdSchema, CustomSoundMetadata, CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DEFAULT_BELL_SOUND_ID, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_SOUND_VOLUME, LEGACY_SOUND_ID_MAP, SILENT_SOUND_ID, SoundConfigIdSchema, SoundId, SoundIdSchema, SoundVolume, SoundVolumeSchema, customHashFromSoundId, getBuiltinSoundUrl, normalizeLegacySoundId, soundIdFromCustomHash };
@@ -1,9 +1,9 @@
1
- import { x as SoundId } from "./sounds-BORGLPIt.mjs";
1
+ import { x as SoundId } from "./sounds-PZqzoKxJ.mjs";
2
2
  import * as zod0 from "zod";
3
3
 
4
4
  //#region src/terminal-audio.d.ts
5
5
  declare const TERMINAL_BELL_SOUND_VALUES: readonly ["silent", "bell", "soft", "clear", "pulse"];
6
- declare const TerminalBellSoundSchema: zod0.ZodEffects<zod0.ZodUnion<[zod0.ZodLiteral<"silent">, zod0.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, zod0.ZodType<`custom:${string}`, zod0.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>;
6
+ declare const TerminalBellSoundSchema: zod0.ZodEffects<zod0.ZodUnion<[zod0.ZodLiteral<"silent">, zod0.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, zod0.ZodType<`custom:${string}`, zod0.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>;
7
7
  type TerminalBellSound = SoundId;
8
8
  declare const TERMINAL_BELL_SOUND_OPTIONS: readonly {
9
9
  id: TerminalBellSound;
@@ -1,3 +1,3 @@
1
- import "./sounds-BORGLPIt.mjs";
2
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-Dmi6lR7o.mjs";
1
+ import "./sounds-PZqzoKxJ.mjs";
2
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-Ci4x-tyQ.mjs";
3
3
  export { TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TerminalBellSound, TerminalBellSoundSchema };
@@ -1,3 +1,3 @@
1
- import "./sounds-BORGLPIt.mjs";
2
- import { A as TerminalNotificationProtocol, D as TerminalControlEvent, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, j as TerminalProgressState, k as TerminalControlParser } from "./notifications-CbKmEdCU.mjs";
1
+ import "./sounds-PZqzoKxJ.mjs";
2
+ import { A as TerminalNotificationProtocol, D as TerminalControlEvent, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, j as TerminalProgressState, k as TerminalControlParser } from "./notifications-Clq2bq-i.mjs";
3
3
  export { TerminalControlEvent, TerminalControlParseResult, TerminalControlParser, TerminalNotificationProtocol, TerminalProgressState, TerminalPromptState, TerminalTitleTarget, terminalNotificationEventToPublishInput };
@@ -13,8 +13,8 @@ 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;
17
16
  id: string;
17
+ title: string;
18
18
  command: string;
19
19
  args: string[];
20
20
  platform: "windows" | "macos" | "common";
@@ -23,8 +23,8 @@ declare const PtySessionInfoSchema: z.ZodObject<{
23
23
  closeTip?: string | undefined;
24
24
  closeCallbackUrl?: string | Record<string, string> | undefined;
25
25
  }, {
26
- title: string;
27
26
  id: string;
27
+ title: string;
28
28
  command: string;
29
29
  args: string[];
30
30
  platform: "windows" | "macos" | "common";
@@ -315,8 +315,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
315
315
  closeTip: z.ZodOptional<z.ZodString>;
316
316
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
317
317
  }, "strip", z.ZodTypeAny, {
318
- title: string;
319
318
  id: string;
319
+ title: string;
320
320
  command: string;
321
321
  args: string[];
322
322
  platform: "windows" | "macos" | "common";
@@ -325,8 +325,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
325
325
  closeTip?: string | undefined;
326
326
  closeCallbackUrl?: string | Record<string, string> | undefined;
327
327
  }, {
328
- title: string;
329
328
  id: string;
329
+ title: string;
330
330
  command: string;
331
331
  args: string[];
332
332
  platform: "windows" | "macos" | "common";
@@ -338,8 +338,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
338
338
  }, "strip", z.ZodTypeAny, {
339
339
  type: "list";
340
340
  sessions: {
341
- title: string;
342
341
  id: string;
342
+ title: string;
343
343
  command: string;
344
344
  args: string[];
345
345
  platform: "windows" | "macos" | "common";
@@ -351,8 +351,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
351
351
  }, {
352
352
  type: "list";
353
353
  sessions: {
354
- title: string;
355
354
  id: string;
355
+ title: string;
356
356
  command: string;
357
357
  args: string[];
358
358
  platform: "windows" | "macos" | "common";
@@ -463,12 +463,12 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
463
463
  value: number | null;
464
464
  type: "progress";
465
465
  sessionId: string;
466
- state: "clear" | "set" | "warning" | "error" | "indeterminate";
466
+ state: "set" | "clear" | "warning" | "error" | "indeterminate";
467
467
  }, {
468
468
  value: number | null;
469
469
  type: "progress";
470
470
  sessionId: string;
471
- state: "clear" | "set" | "warning" | "error" | "indeterminate";
471
+ state: "set" | "clear" | "warning" | "error" | "indeterminate";
472
472
  }>, z.ZodObject<{
473
473
  type: z.ZodLiteral<"prompt-state">;
474
474
  sessionId: z.ZodString;
@@ -521,8 +521,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
521
521
  closeTip: z.ZodOptional<z.ZodString>;
522
522
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
523
523
  }, "strip", z.ZodTypeAny, {
524
- title: string;
525
524
  id: string;
525
+ title: string;
526
526
  command: string;
527
527
  args: string[];
528
528
  platform: "windows" | "macos" | "common";
@@ -531,8 +531,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
531
531
  closeTip?: string | undefined;
532
532
  closeCallbackUrl?: string | Record<string, string> | undefined;
533
533
  }, {
534
- title: string;
535
534
  id: string;
535
+ title: string;
536
536
  command: string;
537
537
  args: string[];
538
538
  platform: "windows" | "macos" | "common";
@@ -544,8 +544,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
544
544
  }, "strip", z.ZodTypeAny, {
545
545
  type: "list";
546
546
  sessions: {
547
- title: string;
548
547
  id: string;
548
+ title: string;
549
549
  command: string;
550
550
  args: string[];
551
551
  platform: "windows" | "macos" | "common";
@@ -557,8 +557,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
557
557
  }, {
558
558
  type: "list";
559
559
  sessions: {
560
- title: string;
561
560
  id: string;
561
+ title: string;
562
562
  command: string;
563
563
  args: string[];
564
564
  platform: "windows" | "macos" | "common";
@@ -605,15 +605,15 @@ declare const TerminalShellProfileSchema: z.ZodObject<{
605
605
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
606
606
  quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
607
607
  }, "strip", z.ZodTypeAny, {
608
+ id: string;
608
609
  label: string;
609
610
  source: "custom" | "builtin";
610
- id: string;
611
611
  command: string;
612
612
  args: string[];
613
613
  quoteStyle: "posix" | "cmd" | "powershell";
614
614
  }, {
615
- label: string;
616
615
  id: string;
616
+ label: string;
617
617
  command: string;
618
618
  source?: "custom" | "builtin" | undefined;
619
619
  args?: string[] | undefined;
@@ -633,17 +633,17 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
633
633
  }, "strip", z.ZodTypeAny, {
634
634
  options: string[];
635
635
  type: "boolean" | "text" | "textarea" | "select";
636
- label: string;
637
636
  id: string;
638
637
  required: boolean;
638
+ label: string;
639
639
  advanced: boolean;
640
640
  description?: string | undefined;
641
641
  placeholder?: string | undefined;
642
642
  defaultValue?: string | boolean | undefined;
643
643
  }, {
644
644
  type: "boolean" | "text" | "textarea" | "select";
645
- label: string;
646
645
  id: string;
646
+ label: string;
647
647
  options?: string[] | undefined;
648
648
  required?: boolean | undefined;
649
649
  description?: string | undefined;
@@ -1000,17 +1000,17 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1000
1000
  }, "strip", z.ZodTypeAny, {
1001
1001
  options: string[];
1002
1002
  type: "boolean" | "text" | "textarea" | "select";
1003
- label: string;
1004
1003
  id: string;
1005
1004
  required: boolean;
1005
+ label: string;
1006
1006
  advanced: boolean;
1007
1007
  description?: string | undefined;
1008
1008
  placeholder?: string | undefined;
1009
1009
  defaultValue?: string | boolean | undefined;
1010
1010
  }, {
1011
1011
  type: "boolean" | "text" | "textarea" | "select";
1012
- label: string;
1013
1012
  id: string;
1013
+ label: string;
1014
1014
  options?: string[] | undefined;
1015
1015
  required?: boolean | undefined;
1016
1016
  description?: string | undefined;
@@ -1172,9 +1172,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1172
1172
  shellProfileId: z.ZodOptional<z.ZodString>;
1173
1173
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1174
1174
  }, "strip", z.ZodTypeAny, {
1175
+ id: string;
1175
1176
  label: string;
1176
1177
  source: "custom" | "builtin";
1177
- id: string;
1178
1178
  command: string;
1179
1179
  args: ({
1180
1180
  value: string;
@@ -1192,9 +1192,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1192
1192
  fields: {
1193
1193
  options: string[];
1194
1194
  type: "boolean" | "text" | "textarea" | "select";
1195
- label: string;
1196
1195
  id: string;
1197
1196
  required: boolean;
1197
+ label: string;
1198
1198
  advanced: boolean;
1199
1199
  description?: string | undefined;
1200
1200
  placeholder?: string | undefined;
@@ -1236,8 +1236,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1236
1236
  } | undefined;
1237
1237
  shellProfileId?: string | undefined;
1238
1238
  }, {
1239
- label: string;
1240
1239
  id: string;
1240
+ label: string;
1241
1241
  command: string;
1242
1242
  source?: "custom" | "builtin" | undefined;
1243
1243
  args?: ({
@@ -1256,8 +1256,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1256
1256
  description?: string | undefined;
1257
1257
  fields?: {
1258
1258
  type: "boolean" | "text" | "textarea" | "select";
1259
- label: string;
1260
1259
  id: string;
1260
+ label: string;
1261
1261
  options?: string[] | undefined;
1262
1262
  required?: boolean | undefined;
1263
1263
  description?: string | undefined;
@@ -1311,15 +1311,15 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1311
1311
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1312
1312
  quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
1313
1313
  }, "strip", z.ZodTypeAny, {
1314
+ id: string;
1314
1315
  label: string;
1315
1316
  source: "custom" | "builtin";
1316
- id: string;
1317
1317
  command: string;
1318
1318
  args: string[];
1319
1319
  quoteStyle: "posix" | "cmd" | "powershell";
1320
1320
  }, {
1321
- label: string;
1322
1321
  id: string;
1322
+ label: string;
1323
1323
  command: string;
1324
1324
  source?: "custom" | "builtin" | undefined;
1325
1325
  args?: string[] | undefined;
@@ -1380,17 +1380,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1380
1380
  }, "strip", z.ZodTypeAny, {
1381
1381
  options: string[];
1382
1382
  type: "boolean" | "text" | "textarea" | "select";
1383
- label: string;
1384
1383
  id: string;
1385
1384
  required: boolean;
1385
+ label: string;
1386
1386
  advanced: boolean;
1387
1387
  description?: string | undefined;
1388
1388
  placeholder?: string | undefined;
1389
1389
  defaultValue?: string | boolean | undefined;
1390
1390
  }, {
1391
1391
  type: "boolean" | "text" | "textarea" | "select";
1392
- label: string;
1393
1392
  id: string;
1393
+ label: string;
1394
1394
  options?: string[] | undefined;
1395
1395
  required?: boolean | undefined;
1396
1396
  description?: string | undefined;
@@ -1552,9 +1552,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1552
1552
  shellProfileId: z.ZodOptional<z.ZodString>;
1553
1553
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1554
1554
  }, "strip", z.ZodTypeAny, {
1555
+ id: string;
1555
1556
  label: string;
1556
1557
  source: "custom" | "builtin";
1557
- id: string;
1558
1558
  command: string;
1559
1559
  args: ({
1560
1560
  value: string;
@@ -1572,9 +1572,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1572
1572
  fields: {
1573
1573
  options: string[];
1574
1574
  type: "boolean" | "text" | "textarea" | "select";
1575
- label: string;
1576
1575
  id: string;
1577
1576
  required: boolean;
1577
+ label: string;
1578
1578
  advanced: boolean;
1579
1579
  description?: string | undefined;
1580
1580
  placeholder?: string | undefined;
@@ -1616,8 +1616,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1616
1616
  } | undefined;
1617
1617
  shellProfileId?: string | undefined;
1618
1618
  }, {
1619
- label: string;
1620
1619
  id: string;
1620
+ label: string;
1621
1621
  command: string;
1622
1622
  source?: "custom" | "builtin" | undefined;
1623
1623
  args?: ({
@@ -1636,8 +1636,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1636
1636
  description?: string | undefined;
1637
1637
  fields?: {
1638
1638
  type: "boolean" | "text" | "textarea" | "select";
1639
- label: string;
1640
1639
  id: string;
1640
+ label: string;
1641
1641
  options?: string[] | undefined;
1642
1642
  required?: boolean | undefined;
1643
1643
  description?: string | undefined;
@@ -1682,17 +1682,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1682
1682
  }>, "many">>;
1683
1683
  }, "strip", z.ZodTypeAny, {
1684
1684
  customShellProfiles: {
1685
+ id: string;
1685
1686
  label: string;
1686
1687
  source: "custom" | "builtin";
1687
- id: string;
1688
1688
  command: string;
1689
1689
  args: string[];
1690
1690
  quoteStyle: "posix" | "cmd" | "powershell";
1691
1691
  }[];
1692
1692
  customSpawnCommands: {
1693
+ id: string;
1693
1694
  label: string;
1694
1695
  source: "custom" | "builtin";
1695
- id: string;
1696
1696
  command: string;
1697
1697
  args: ({
1698
1698
  value: string;
@@ -1710,9 +1710,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1710
1710
  fields: {
1711
1711
  options: string[];
1712
1712
  type: "boolean" | "text" | "textarea" | "select";
1713
- label: string;
1714
1713
  id: string;
1715
1714
  required: boolean;
1715
+ label: string;
1716
1716
  advanced: boolean;
1717
1717
  description?: string | undefined;
1718
1718
  placeholder?: string | undefined;
@@ -1758,16 +1758,16 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1758
1758
  }, {
1759
1759
  defaultShellProfileId?: string | undefined;
1760
1760
  customShellProfiles?: {
1761
- label: string;
1762
1761
  id: string;
1762
+ label: string;
1763
1763
  command: string;
1764
1764
  source?: "custom" | "builtin" | undefined;
1765
1765
  args?: string[] | undefined;
1766
1766
  quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
1767
1767
  }[] | undefined;
1768
1768
  customSpawnCommands?: {
1769
- label: string;
1770
1769
  id: string;
1770
+ label: string;
1771
1771
  command: string;
1772
1772
  source?: "custom" | "builtin" | undefined;
1773
1773
  args?: ({
@@ -1786,8 +1786,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1786
1786
  description?: string | undefined;
1787
1787
  fields?: {
1788
1788
  type: "boolean" | "text" | "textarea" | "select";
1789
- label: string;
1790
1789
  id: string;
1790
+ label: string;
1791
1791
  options?: string[] | undefined;
1792
1792
  required?: boolean | undefined;
1793
1793
  description?: string | undefined;