@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
package/dist/index.d.mts CHANGED
@@ -1,7 +1,10 @@
1
- import { a as buildHostedLaunchUrl, c as normalizeEmbeddedUiUrl, i as buildEmbeddedUiLaunchUrl, l as normalizeHostedAppBaseUrl, n as HostedBackendHealthResponse, o as isHostedBackendHealthResponse, r as OFFICIAL_APP_BASE_URL, s as isSupportedEmbeddedUiUrl, t as HOSTED_SHELL_PROTOCOL_VERSION, u as resolveHostedAppBaseUrl } from "./hosted-app-Be-ourtC.mjs";
2
- import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-ElGeez1E.mjs";
3
- import { $ as PtyTitleResponseSchema, B as PtyErrorCodeSchema, C as TerminalSpawnCommand, E as getTerminalCommandDefaultValues, F as PtyClientMessage, G as PtyListResponseSchema, H as PtyExitResponseSchema, I as PtyClientMessageSchema, J as PtyPlatformSchema, K as PtyOutputResponseSchema, L as PtyCloseMessageSchema, M as resolveTerminalShellDefaults, N as PtyAttachMessageSchema, O as quoteTerminalShellArg, P as PtyBufferResponseSchema, Q as PtySessionInfo, R as PtyCreateMessageSchema, S as TerminalShellQuoteStyleSchema, U as PtyInputMessageSchema, V as PtyErrorResponseSchema, W as PtyListMessageSchema, X as PtyServerMessage, Y as PtyResizeMessageSchema, Z as PtyServerMessageSchema, _ as TerminalShellDefaults, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, q as PtyPlatform, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile, z as PtyCreatedResponseSchema } from "./terminal-invocation-ajsrCPhf.mjs";
4
- import { a as TERMINAL_THEME_VALUES, i as TERMINAL_THEME_MODE_VALUES, n as DEFAULT_TERMINAL_LIGHT_THEME, r as DEFAULT_TERMINAL_THEME_MODE, t as DEFAULT_TERMINAL_DARK_THEME } from "./terminal-theme-C_2UGXPr.mjs";
1
+ import { a as buildHostedLaunchUrl, c as normalizeEmbeddedUiUrl, i as buildEmbeddedUiLaunchUrl, l as normalizeHostedAppBaseUrl, n as HostedBackendHealthResponse, o as isHostedBackendHealthResponse, r as OFFICIAL_APP_BASE_URL, s as isSupportedEmbeddedUiUrl, t as HOSTED_SHELL_PROTOCOL_VERSION, u as resolveHostedAppBaseUrl } from "./hosted-app-DaGUbBJn.mjs";
2
+ import { D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, 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, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-CxwbTXZS.mjs";
3
+ import { A as TerminalNotificationProtocol, D as TerminalControlEvent, E as groupNotifications, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, T as getNotificationGroupLabel, _ as NotificationSource, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, j as TerminalProgressState, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-DOQwtdfS.mjs";
4
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-BoSdMyBY.mjs";
5
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-CuQyGB_A.mjs";
6
+ import { $ as PtyServerMessageSchema, B as PtyCreatedResponseSchema, C as TerminalSpawnCommand, E as getTerminalCommandDefaultValues, F as PtyBufferResponseSchema, G as PtyListMessageSchema, H as PtyErrorResponseSchema, I as PtyClientMessage, J as PtyPlatform, K as PtyListResponseSchema, L as PtyClientMessageSchema, M as resolveTerminalShellDefaults, N as PtyAttachMessageSchema, O as quoteTerminalShellArg, P as PtyBellResponseSchema, Q as PtyServerMessage, R as PtyCloseMessageSchema, S as TerminalShellQuoteStyleSchema, U as PtyExitResponseSchema, V as PtyErrorCodeSchema, W as PtyInputMessageSchema, X as PtyProcessTitleResponseSchema, Y as PtyPlatformSchema, Z as PtyResizeMessageSchema, _ as TerminalShellDefaults, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, et as PtySessionInfo, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, q as PtyOutputResponseSchema, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, tt as PtyTitleResponseSchema, u as TerminalCommandFieldValues, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile, z as PtyCreateMessageSchema } from "./terminal-invocation-BAcs7OE-.mjs";
7
+ import { a as TERMINAL_THEME_VALUES, i as TERMINAL_THEME_MODE_VALUES, n as DEFAULT_TERMINAL_LIGHT_THEME, r as DEFAULT_TERMINAL_THEME_MODE, t as DEFAULT_TERMINAL_DARK_THEME } from "./terminal-theme-wbkK9vVH.mjs";
5
8
  import { AsyncLocalStorage } from "node:async_hooks";
6
9
  import { z } from "zod";
7
10
  import { EventEmitter } from "events";
@@ -23,13 +26,13 @@ declare const ChangeFileSchema: z.ZodObject<{
23
26
  }, "strip", z.ZodTypeAny, {
24
27
  path: string;
25
28
  type: "file" | "directory";
26
- content?: string | undefined;
27
29
  size?: number | undefined;
30
+ content?: string | undefined;
28
31
  }, {
29
32
  path: string;
30
33
  type: "file" | "directory";
31
- content?: string | undefined;
32
34
  size?: number | undefined;
35
+ content?: string | undefined;
33
36
  }>;
34
37
  type ChangeFile = z.infer<typeof ChangeFileSchema>;
35
38
  /**
@@ -50,14 +53,14 @@ declare const RequirementSchema: z.ZodObject<{
50
53
  rawText: string;
51
54
  }>, "many">;
52
55
  }, "strip", z.ZodTypeAny, {
53
- text: string;
54
56
  id: string;
57
+ text: string;
55
58
  scenarios: {
56
59
  rawText: string;
57
60
  }[];
58
61
  }, {
59
- text: string;
60
62
  id: string;
63
+ text: string;
61
64
  scenarios: {
62
65
  rawText: string;
63
66
  }[];
@@ -89,14 +92,14 @@ declare const SpecSchema: z.ZodObject<{
89
92
  rawText: string;
90
93
  }>, "many">;
91
94
  }, "strip", z.ZodTypeAny, {
92
- text: string;
93
95
  id: string;
96
+ text: string;
94
97
  scenarios: {
95
98
  rawText: string;
96
99
  }[];
97
100
  }, {
98
- text: string;
99
101
  id: string;
102
+ text: string;
100
103
  scenarios: {
101
104
  rawText: string;
102
105
  }[];
@@ -120,8 +123,8 @@ declare const SpecSchema: z.ZodObject<{
120
123
  name: string;
121
124
  overview: string;
122
125
  requirements: {
123
- text: string;
124
126
  id: string;
127
+ text: string;
125
128
  scenarios: {
126
129
  rawText: string;
127
130
  }[];
@@ -136,8 +139,8 @@ declare const SpecSchema: z.ZodObject<{
136
139
  name: string;
137
140
  overview: string;
138
141
  requirements: {
139
- text: string;
140
142
  id: string;
143
+ text: string;
141
144
  scenarios: {
142
145
  rawText: string;
143
146
  }[];
@@ -176,14 +179,14 @@ declare const DeltaSchema: z.ZodObject<{
176
179
  rawText: string;
177
180
  }>, "many">;
178
181
  }, "strip", z.ZodTypeAny, {
179
- text: string;
180
182
  id: string;
183
+ text: string;
181
184
  scenarios: {
182
185
  rawText: string;
183
186
  }[];
184
187
  }, {
185
- text: string;
186
188
  id: string;
189
+ text: string;
187
190
  scenarios: {
188
191
  rawText: string;
189
192
  }[];
@@ -203,14 +206,14 @@ declare const DeltaSchema: z.ZodObject<{
203
206
  rawText: string;
204
207
  }>, "many">;
205
208
  }, "strip", z.ZodTypeAny, {
206
- text: string;
207
209
  id: string;
210
+ text: string;
208
211
  scenarios: {
209
212
  rawText: string;
210
213
  }[];
211
214
  }, {
212
- text: string;
213
215
  id: string;
216
+ text: string;
214
217
  scenarios: {
215
218
  rawText: string;
216
219
  }[];
@@ -231,15 +234,15 @@ declare const DeltaSchema: z.ZodObject<{
231
234
  spec: string;
232
235
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
233
236
  requirements?: {
234
- text: string;
235
237
  id: string;
238
+ text: string;
236
239
  scenarios: {
237
240
  rawText: string;
238
241
  }[];
239
242
  }[] | undefined;
240
243
  requirement?: {
241
- text: string;
242
244
  id: string;
245
+ text: string;
243
246
  scenarios: {
244
247
  rawText: string;
245
248
  }[];
@@ -253,15 +256,15 @@ declare const DeltaSchema: z.ZodObject<{
253
256
  spec: string;
254
257
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
255
258
  requirements?: {
256
- text: string;
257
259
  id: string;
260
+ text: string;
258
261
  scenarios: {
259
262
  rawText: string;
260
263
  }[];
261
264
  }[] | undefined;
262
265
  requirement?: {
263
- text: string;
264
266
  id: string;
267
+ text: string;
265
268
  scenarios: {
266
269
  rawText: string;
267
270
  }[];
@@ -287,13 +290,13 @@ declare const TaskSchema: z.ZodObject<{
287
290
  /** Optional section heading the task belongs to */
288
291
  section: z.ZodOptional<z.ZodString>;
289
292
  }, "strip", z.ZodTypeAny, {
290
- text: string;
291
293
  id: string;
294
+ text: string;
292
295
  completed: boolean;
293
296
  section?: string | undefined;
294
297
  }, {
295
- text: string;
296
298
  id: string;
299
+ text: string;
297
300
  completed: boolean;
298
301
  section?: string | undefined;
299
302
  }>;
@@ -354,14 +357,14 @@ declare const ChangeSchema: z.ZodObject<{
354
357
  rawText: string;
355
358
  }>, "many">;
356
359
  }, "strip", z.ZodTypeAny, {
357
- text: string;
358
360
  id: string;
361
+ text: string;
359
362
  scenarios: {
360
363
  rawText: string;
361
364
  }[];
362
365
  }, {
363
- text: string;
364
366
  id: string;
367
+ text: string;
365
368
  scenarios: {
366
369
  rawText: string;
367
370
  }[];
@@ -381,14 +384,14 @@ declare const ChangeSchema: z.ZodObject<{
381
384
  rawText: string;
382
385
  }>, "many">;
383
386
  }, "strip", z.ZodTypeAny, {
384
- text: string;
385
387
  id: string;
388
+ text: string;
386
389
  scenarios: {
387
390
  rawText: string;
388
391
  }[];
389
392
  }, {
390
- text: string;
391
393
  id: string;
394
+ text: string;
392
395
  scenarios: {
393
396
  rawText: string;
394
397
  }[];
@@ -409,15 +412,15 @@ declare const ChangeSchema: z.ZodObject<{
409
412
  spec: string;
410
413
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
411
414
  requirements?: {
412
- text: string;
413
415
  id: string;
416
+ text: string;
414
417
  scenarios: {
415
418
  rawText: string;
416
419
  }[];
417
420
  }[] | undefined;
418
421
  requirement?: {
419
- text: string;
420
422
  id: string;
423
+ text: string;
421
424
  scenarios: {
422
425
  rawText: string;
423
426
  }[];
@@ -431,15 +434,15 @@ declare const ChangeSchema: z.ZodObject<{
431
434
  spec: string;
432
435
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
433
436
  requirements?: {
434
- text: string;
435
437
  id: string;
438
+ text: string;
436
439
  scenarios: {
437
440
  rawText: string;
438
441
  }[];
439
442
  }[] | undefined;
440
443
  requirement?: {
441
- text: string;
442
444
  id: string;
445
+ text: string;
443
446
  scenarios: {
444
447
  rawText: string;
445
448
  }[];
@@ -460,13 +463,13 @@ declare const ChangeSchema: z.ZodObject<{
460
463
  /** Optional section heading the task belongs to */
461
464
  section: z.ZodOptional<z.ZodString>;
462
465
  }, "strip", z.ZodTypeAny, {
463
- text: string;
464
466
  id: string;
467
+ text: string;
465
468
  completed: boolean;
466
469
  section?: string | undefined;
467
470
  }, {
468
- text: string;
469
471
  id: string;
472
+ text: string;
470
473
  completed: boolean;
471
474
  section?: string | undefined;
472
475
  }>, "many">;
@@ -475,11 +478,11 @@ declare const ChangeSchema: z.ZodObject<{
475
478
  total: z.ZodNumber;
476
479
  completed: z.ZodNumber;
477
480
  }, "strip", z.ZodTypeAny, {
478
- total: number;
479
481
  completed: number;
480
- }, {
481
482
  total: number;
483
+ }, {
482
484
  completed: number;
485
+ total: number;
483
486
  }>;
484
487
  /** Optional design.md content */
485
488
  design: z.ZodOptional<z.ZodString>;
@@ -509,17 +512,11 @@ declare const ChangeSchema: z.ZodObject<{
509
512
  }>>;
510
513
  }, "strip", z.ZodTypeAny, {
511
514
  id: string;
515
+ name: string;
512
516
  progress: {
513
- total: number;
514
517
  completed: number;
518
+ total: number;
515
519
  };
516
- tasks: {
517
- text: string;
518
- id: string;
519
- completed: boolean;
520
- section?: string | undefined;
521
- }[];
522
- name: string;
523
520
  why: string;
524
521
  whatChanges: string;
525
522
  deltas: {
@@ -527,15 +524,15 @@ declare const ChangeSchema: z.ZodObject<{
527
524
  spec: string;
528
525
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
529
526
  requirements?: {
530
- text: string;
531
527
  id: string;
528
+ text: string;
532
529
  scenarios: {
533
530
  rawText: string;
534
531
  }[];
535
532
  }[] | undefined;
536
533
  requirement?: {
537
- text: string;
538
534
  id: string;
535
+ text: string;
539
536
  scenarios: {
540
537
  rawText: string;
541
538
  }[];
@@ -545,6 +542,12 @@ declare const ChangeSchema: z.ZodObject<{
545
542
  to: string;
546
543
  } | undefined;
547
544
  }[];
545
+ tasks: {
546
+ id: string;
547
+ text: string;
548
+ completed: boolean;
549
+ section?: string | undefined;
550
+ }[];
548
551
  metadata?: {
549
552
  version: string;
550
553
  format: "openspec-change";
@@ -556,17 +559,11 @@ declare const ChangeSchema: z.ZodObject<{
556
559
  }[] | undefined;
557
560
  }, {
558
561
  id: string;
562
+ name: string;
559
563
  progress: {
560
- total: number;
561
564
  completed: number;
565
+ total: number;
562
566
  };
563
- tasks: {
564
- text: string;
565
- id: string;
566
- completed: boolean;
567
- section?: string | undefined;
568
- }[];
569
- name: string;
570
567
  why: string;
571
568
  whatChanges: string;
572
569
  deltas: {
@@ -574,15 +571,15 @@ declare const ChangeSchema: z.ZodObject<{
574
571
  spec: string;
575
572
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
576
573
  requirements?: {
577
- text: string;
578
574
  id: string;
575
+ text: string;
579
576
  scenarios: {
580
577
  rawText: string;
581
578
  }[];
582
579
  }[] | undefined;
583
580
  requirement?: {
584
- text: string;
585
581
  id: string;
582
+ text: string;
586
583
  scenarios: {
587
584
  rawText: string;
588
585
  }[];
@@ -592,6 +589,12 @@ declare const ChangeSchema: z.ZodObject<{
592
589
  to: string;
593
590
  } | undefined;
594
591
  }[];
592
+ tasks: {
593
+ id: string;
594
+ text: string;
595
+ completed: boolean;
596
+ section?: string | undefined;
597
+ }[];
595
598
  metadata?: {
596
599
  version?: string | undefined;
597
600
  format?: "openspec-change" | undefined;
@@ -749,8 +752,8 @@ declare class OpenSpecAdapter {
749
752
  name: string;
750
753
  overview: string;
751
754
  requirements: {
752
- text: string;
753
755
  id: string;
756
+ text: string;
754
757
  scenarios: {
755
758
  rawText: string;
756
759
  }[];
@@ -763,17 +766,11 @@ declare class OpenSpecAdapter {
763
766
  }[];
764
767
  changes: {
765
768
  id: string;
769
+ name: string;
766
770
  progress: {
767
- total: number;
768
771
  completed: number;
772
+ total: number;
769
773
  };
770
- tasks: {
771
- text: string;
772
- id: string;
773
- completed: boolean;
774
- section?: string | undefined;
775
- }[];
776
- name: string;
777
774
  why: string;
778
775
  whatChanges: string;
779
776
  deltas: {
@@ -781,15 +778,15 @@ declare class OpenSpecAdapter {
781
778
  spec: string;
782
779
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
783
780
  requirements?: {
784
- text: string;
785
781
  id: string;
782
+ text: string;
786
783
  scenarios: {
787
784
  rawText: string;
788
785
  }[];
789
786
  }[] | undefined;
790
787
  requirement?: {
791
- text: string;
792
788
  id: string;
789
+ text: string;
793
790
  scenarios: {
794
791
  rawText: string;
795
792
  }[];
@@ -799,6 +796,12 @@ declare class OpenSpecAdapter {
799
796
  to: string;
800
797
  } | undefined;
801
798
  }[];
799
+ tasks: {
800
+ id: string;
801
+ text: string;
802
+ completed: boolean;
803
+ section?: string | undefined;
804
+ }[];
802
805
  metadata?: {
803
806
  version: string;
804
807
  format: "openspec-change";
@@ -1415,6 +1418,8 @@ declare const TerminalConfigSchema: z.ZodObject<{
1415
1418
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1416
1419
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1417
1420
  rendererEngine: z.ZodDefault<z.ZodString>;
1421
+ bellSound: z.ZodDefault<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>>;
1422
+ bellVolume: z.ZodDefault<z.ZodNumber>;
1418
1423
  }, "strip", z.ZodTypeAny, {
1419
1424
  fontSize: number;
1420
1425
  fontFamily: string;
@@ -1425,6 +1430,8 @@ declare const TerminalConfigSchema: z.ZodObject<{
1425
1430
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1426
1431
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1427
1432
  rendererEngine: string;
1433
+ bellSound: "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}`;
1434
+ bellVolume: number;
1428
1435
  }, {
1429
1436
  fontSize?: number | undefined;
1430
1437
  fontFamily?: string | undefined;
@@ -1435,6 +1442,8 @@ declare const TerminalConfigSchema: z.ZodObject<{
1435
1442
  lightTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined;
1436
1443
  darkTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined;
1437
1444
  rendererEngine?: string | undefined;
1445
+ bellSound?: unknown;
1446
+ bellVolume?: number | undefined;
1438
1447
  }>;
1439
1448
  type TerminalConfig = z.infer<typeof TerminalConfigSchema>;
1440
1449
  declare const DashboardConfigSchema: z.ZodObject<{
@@ -1512,6 +1521,8 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1512
1521
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1513
1522
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1514
1523
  rendererEngine: z.ZodDefault<z.ZodString>;
1524
+ bellSound: z.ZodDefault<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>>;
1525
+ bellVolume: z.ZodDefault<z.ZodNumber>;
1515
1526
  }, "strip", z.ZodTypeAny, {
1516
1527
  fontSize: number;
1517
1528
  fontFamily: string;
@@ -1522,6 +1533,8 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1522
1533
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1523
1534
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1524
1535
  rendererEngine: string;
1536
+ bellSound: "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}`;
1537
+ bellVolume: number;
1525
1538
  }, {
1526
1539
  fontSize?: number | undefined;
1527
1540
  fontFamily?: string | undefined;
@@ -1532,6 +1545,8 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1532
1545
  lightTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined;
1533
1546
  darkTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined;
1534
1547
  rendererEngine?: string | undefined;
1548
+ bellSound?: unknown;
1549
+ bellVolume?: number | undefined;
1535
1550
  }>>;
1536
1551
  /** Dashboard 配置 */
1537
1552
  dashboard: z.ZodDefault<z.ZodObject<{
@@ -1549,7 +1564,34 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1549
1564
  }, {
1550
1565
  diffEagerLineBudget?: number | undefined;
1551
1566
  }>>;
1567
+ /** Notification preferences */
1568
+ notifications: z.ZodDefault<z.ZodObject<{
1569
+ sound: z.ZodDefault<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>>;
1570
+ volume: z.ZodDefault<z.ZodNumber>;
1571
+ systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
1572
+ }, "strip", z.ZodTypeAny, {
1573
+ sound: "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}`;
1574
+ volume: number;
1575
+ systemNotificationsEnabled: boolean;
1576
+ }, {
1577
+ sound?: unknown;
1578
+ volume?: number | undefined;
1579
+ systemNotificationsEnabled?: boolean | undefined;
1580
+ }>>;
1552
1581
  }, "strip", z.ZodTypeAny, {
1582
+ terminal: {
1583
+ fontSize: number;
1584
+ fontFamily: string;
1585
+ cursorBlink: boolean;
1586
+ cursorStyle: "block" | "underline" | "bar";
1587
+ scrollback: number;
1588
+ useTheme: "app" | "light" | "dark" | "system";
1589
+ lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1590
+ darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1591
+ rendererEngine: string;
1592
+ bellSound: "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}`;
1593
+ bellVolume: number;
1594
+ };
1553
1595
  theme: "light" | "dark" | "system";
1554
1596
  cli: {
1555
1597
  command?: string | undefined;
@@ -1562,24 +1604,31 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1562
1604
  opsx: {
1563
1605
  agentInvocationMode: "command" | "compose";
1564
1606
  };
1565
- terminal: {
1566
- fontSize: number;
1567
- fontFamily: string;
1568
- cursorBlink: boolean;
1569
- cursorStyle: "block" | "underline" | "bar";
1570
- scrollback: number;
1571
- useTheme: "app" | "light" | "dark" | "system";
1572
- lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1573
- darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1574
- rendererEngine: string;
1575
- };
1576
1607
  dashboard: {
1577
1608
  trendPointLimit: number;
1578
1609
  };
1579
1610
  git: {
1580
1611
  diffEagerLineBudget: number;
1581
1612
  };
1613
+ notifications: {
1614
+ sound: "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}`;
1615
+ volume: number;
1616
+ systemNotificationsEnabled: boolean;
1617
+ };
1582
1618
  }, {
1619
+ terminal?: {
1620
+ fontSize?: number | undefined;
1621
+ fontFamily?: string | undefined;
1622
+ cursorBlink?: boolean | undefined;
1623
+ cursorStyle?: "block" | "underline" | "bar" | undefined;
1624
+ scrollback?: number | undefined;
1625
+ useTheme?: "app" | "light" | "dark" | "system" | undefined;
1626
+ lightTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined;
1627
+ darkTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined;
1628
+ rendererEngine?: string | undefined;
1629
+ bellSound?: unknown;
1630
+ bellVolume?: number | undefined;
1631
+ } | undefined;
1583
1632
  theme?: "light" | "dark" | "system" | undefined;
1584
1633
  cli?: {
1585
1634
  command?: string | undefined;
@@ -1592,23 +1641,17 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1592
1641
  opsx?: {
1593
1642
  agentInvocationMode?: "command" | "compose" | undefined;
1594
1643
  } | undefined;
1595
- terminal?: {
1596
- fontSize?: number | undefined;
1597
- fontFamily?: string | undefined;
1598
- cursorBlink?: boolean | undefined;
1599
- cursorStyle?: "block" | "underline" | "bar" | undefined;
1600
- scrollback?: number | undefined;
1601
- useTheme?: "app" | "light" | "dark" | "system" | undefined;
1602
- lightTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined;
1603
- darkTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined;
1604
- rendererEngine?: string | undefined;
1605
- } | undefined;
1606
1644
  dashboard?: {
1607
1645
  trendPointLimit?: number | undefined;
1608
1646
  } | undefined;
1609
1647
  git?: {
1610
1648
  diffEagerLineBudget?: number | undefined;
1611
1649
  } | undefined;
1650
+ notifications?: {
1651
+ sound?: unknown;
1652
+ volume?: number | undefined;
1653
+ systemNotificationsEnabled?: boolean | undefined;
1654
+ } | undefined;
1612
1655
  }>;
1613
1656
  type OpenSpecUIConfig = z.infer<typeof OpenSpecUIConfigSchema>;
1614
1657
  type OpenSpecUIConfigUpdate = {
@@ -1623,6 +1666,7 @@ type OpenSpecUIConfigUpdate = {
1623
1666
  terminal?: Partial<TerminalConfig>;
1624
1667
  dashboard?: Partial<DashboardConfig>;
1625
1668
  git?: Partial<GitConfig>;
1669
+ notifications?: Partial<NotificationSettings>;
1626
1670
  };
1627
1671
  /** 默认配置(静态,用于测试和类型) */
1628
1672
  declare const DEFAULT_CONFIG: OpenSpecUIConfig;
@@ -2013,14 +2057,14 @@ declare const ArtifactStatusSchema: z.ZodObject<{
2013
2057
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2014
2058
  relativePath: z.ZodOptional<z.ZodString>;
2015
2059
  }, "strip", z.ZodTypeAny, {
2016
- id: string;
2017
2060
  status: "done" | "ready" | "blocked";
2061
+ id: string;
2018
2062
  outputPath: string;
2019
2063
  missingDeps?: string[] | undefined;
2020
2064
  relativePath?: string | undefined;
2021
2065
  }, {
2022
- id: string;
2023
2066
  status: "done" | "ready" | "blocked";
2067
+ id: string;
2024
2068
  outputPath: string;
2025
2069
  missingDeps?: string[] | undefined;
2026
2070
  relativePath?: string | undefined;
@@ -2038,14 +2082,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
2038
2082
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2039
2083
  relativePath: z.ZodOptional<z.ZodString>;
2040
2084
  }, "strip", z.ZodTypeAny, {
2041
- id: string;
2042
2085
  status: "done" | "ready" | "blocked";
2086
+ id: string;
2043
2087
  outputPath: string;
2044
2088
  missingDeps?: string[] | undefined;
2045
2089
  relativePath?: string | undefined;
2046
2090
  }, {
2047
- id: string;
2048
2091
  status: "done" | "ready" | "blocked";
2092
+ id: string;
2049
2093
  outputPath: string;
2050
2094
  missingDeps?: string[] | undefined;
2051
2095
  relativePath?: string | undefined;
@@ -2056,8 +2100,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
2056
2100
  isComplete: boolean;
2057
2101
  applyRequires: string[];
2058
2102
  artifacts: {
2059
- id: string;
2060
2103
  status: "done" | "ready" | "blocked";
2104
+ id: string;
2061
2105
  outputPath: string;
2062
2106
  missingDeps?: string[] | undefined;
2063
2107
  relativePath?: string | undefined;
@@ -2068,8 +2112,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
2068
2112
  isComplete: boolean;
2069
2113
  applyRequires: string[];
2070
2114
  artifacts: {
2071
- id: string;
2072
2115
  status: "done" | "ready" | "blocked";
2116
+ id: string;
2073
2117
  outputPath: string;
2074
2118
  missingDeps?: string[] | undefined;
2075
2119
  relativePath?: string | undefined;
@@ -2082,13 +2126,13 @@ declare const DependencyInfoSchema: z.ZodObject<{
2082
2126
  path: z.ZodString;
2083
2127
  description: z.ZodString;
2084
2128
  }, "strip", z.ZodTypeAny, {
2085
- id: string;
2086
2129
  path: string;
2130
+ id: string;
2087
2131
  description: string;
2088
2132
  done: boolean;
2089
2133
  }, {
2090
- id: string;
2091
2134
  path: string;
2135
+ id: string;
2092
2136
  description: string;
2093
2137
  done: boolean;
2094
2138
  }>;
@@ -2143,39 +2187,39 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
2143
2187
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2144
2188
  instruction: z.ZodString;
2145
2189
  }, "strip", z.ZodTypeAny, {
2146
- changeName: string;
2147
- schemaName: string;
2148
- changeDir: string;
2149
- contextFiles: Record<string, string[]>;
2150
2190
  progress: {
2151
2191
  total: number;
2152
2192
  complete: number;
2153
2193
  remaining: number;
2154
2194
  };
2195
+ state: "ready" | "blocked" | "all_done";
2155
2196
  tasks: {
2156
2197
  id: string;
2157
2198
  description: string;
2158
2199
  done: boolean;
2159
2200
  }[];
2160
- state: "ready" | "blocked" | "all_done";
2161
- instruction: string;
2162
- missingArtifacts?: string[] | undefined;
2163
- }, {
2164
2201
  changeName: string;
2165
2202
  schemaName: string;
2166
2203
  changeDir: string;
2167
- contextFiles: Record<string, string | string[]>;
2204
+ contextFiles: Record<string, string[]>;
2205
+ instruction: string;
2206
+ missingArtifacts?: string[] | undefined;
2207
+ }, {
2168
2208
  progress: {
2169
2209
  total: number;
2170
2210
  complete: number;
2171
2211
  remaining: number;
2172
2212
  };
2213
+ state: "ready" | "blocked" | "all_done";
2173
2214
  tasks: {
2174
2215
  id: string;
2175
2216
  description: string;
2176
2217
  done: boolean;
2177
2218
  }[];
2178
- state: "ready" | "blocked" | "all_done";
2219
+ changeName: string;
2220
+ schemaName: string;
2221
+ changeDir: string;
2222
+ contextFiles: Record<string, string | string[]>;
2179
2223
  instruction: string;
2180
2224
  missingArtifacts?: string[] | undefined;
2181
2225
  }>;
@@ -2197,13 +2241,13 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2197
2241
  path: z.ZodString;
2198
2242
  description: z.ZodString;
2199
2243
  }, "strip", z.ZodTypeAny, {
2200
- id: string;
2201
2244
  path: string;
2245
+ id: string;
2202
2246
  description: string;
2203
2247
  done: boolean;
2204
2248
  }, {
2205
- id: string;
2206
2249
  path: string;
2250
+ id: string;
2207
2251
  description: string;
2208
2252
  done: boolean;
2209
2253
  }>, "many">;
@@ -2217,8 +2261,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2217
2261
  changeDir: string;
2218
2262
  artifactId: string;
2219
2263
  dependencies: {
2220
- id: string;
2221
2264
  path: string;
2265
+ id: string;
2222
2266
  description: string;
2223
2267
  done: boolean;
2224
2268
  }[];
@@ -2235,8 +2279,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2235
2279
  changeDir: string;
2236
2280
  artifactId: string;
2237
2281
  dependencies: {
2238
- id: string;
2239
2282
  path: string;
2283
+ id: string;
2240
2284
  description: string;
2241
2285
  done: boolean;
2242
2286
  }[];
@@ -2252,14 +2296,14 @@ declare const SchemaInfoSchema: z.ZodObject<{
2252
2296
  artifacts: z.ZodArray<z.ZodString, "many">;
2253
2297
  source: z.ZodEnum<["project", "user", "package"]>;
2254
2298
  }, "strip", z.ZodTypeAny, {
2299
+ name: string;
2255
2300
  source: "project" | "user" | "package";
2256
2301
  artifacts: string[];
2257
- name: string;
2258
2302
  description?: string | undefined;
2259
2303
  }, {
2304
+ name: string;
2260
2305
  source: "project" | "user" | "package";
2261
2306
  artifacts: string[];
2262
- name: string;
2263
2307
  description?: string | undefined;
2264
2308
  }>;
2265
2309
  type SchemaInfo = z.infer<typeof SchemaInfoSchema>;
@@ -2283,8 +2327,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
2283
2327
  }>, "many">;
2284
2328
  }, "strip", z.ZodTypeAny, {
2285
2329
  path: string;
2286
- source: "project" | "user" | "package";
2287
2330
  name: string;
2331
+ source: "project" | "user" | "package";
2288
2332
  shadows: {
2289
2333
  path: string;
2290
2334
  source: "project" | "user" | "package";
@@ -2293,8 +2337,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
2293
2337
  displayPath?: string | undefined;
2294
2338
  }, {
2295
2339
  path: string;
2296
- source: "project" | "user" | "package";
2297
2340
  name: string;
2341
+ source: "project" | "user" | "package";
2298
2342
  shadows: {
2299
2343
  path: string;
2300
2344
  source: "project" | "user" | "package";
@@ -2370,6 +2414,7 @@ declare const SchemaDetailSchema: z.ZodObject<{
2370
2414
  applyTracks: z.ZodOptional<z.ZodString>;
2371
2415
  applyInstruction: z.ZodOptional<z.ZodString>;
2372
2416
  }, "strip", z.ZodTypeAny, {
2417
+ name: string;
2373
2418
  applyRequires: string[];
2374
2419
  artifacts: {
2375
2420
  id: string;
@@ -2379,12 +2424,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
2379
2424
  template?: string | undefined;
2380
2425
  instruction?: string | undefined;
2381
2426
  }[];
2382
- name: string;
2383
2427
  description?: string | undefined;
2384
2428
  version?: string | number | undefined;
2385
2429
  applyTracks?: string | undefined;
2386
2430
  applyInstruction?: string | undefined;
2387
2431
  }, {
2432
+ name: string;
2388
2433
  applyRequires: string[];
2389
2434
  artifacts: {
2390
2435
  id: string;
@@ -2394,7 +2439,6 @@ declare const SchemaDetailSchema: z.ZodObject<{
2394
2439
  template?: string | undefined;
2395
2440
  instruction?: string | undefined;
2396
2441
  }[];
2397
- name: string;
2398
2442
  description?: string | undefined;
2399
2443
  version?: string | number | undefined;
2400
2444
  applyTracks?: string | undefined;
@@ -2850,4 +2894,4 @@ declare class OpsxKernel {
2850
2894
  private combineSignals;
2851
2895
  }
2852
2896
  //#endregion
2853
- export { type AIToolOption, AI_TOOLS, type ApplyInstructions, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, type ApplyTask, ApplyTaskSchema, type ArchiveMeta, type ArtifactInstructions, ArtifactInstructionsSchema, type ArtifactStatus, ArtifactStatusSchema, BUILTIN_TERMINAL_SPAWN_COMMANDS, CODE_EDITOR_THEME_VALUES, type Change, type ChangeFile, ChangeFileSchema, type ChangeMeta, ChangeSchema, type ChangeStatus, ChangeStatusSchema, CliExecutor, type CliResult, type CliRunnerAttempt, type CliSniffResult, type CliStreamEvent, type CodeEditorTheme, CodeEditorThemeSchema, ConfigManager, DASHBOARD_METRIC_KEYS, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, type DashboardCardAvailability, type DashboardConfig, DashboardConfigSchema, type DashboardGitCommitEntry, type DashboardGitDiffStats, type DashboardGitEntry, type DashboardGitSnapshot, type DashboardGitUncommittedEntry, type DashboardGitWorktree, type DashboardMetricKey, type DashboardOverview, type DashboardSummary, type DashboardTrendKind, type DashboardTrendMeta, type DashboardTrendPoint, type DashboardTriColorTrendPoint, type Delta, type DeltaOperation, DeltaOperationType, DeltaSchema, type DeltaSpec, DeltaSpecSchema, type DependencyInfo, DependencyInfoSchema, type DocumentConsumerV1, type DocumentReadModeV1, type DocumentRefV1, type ExportSnapshot, type FileChangeEvent, type FileChangeType, type GitConfig, GitConfigSchema, type GitEntriesPage, type GitEntryCursor, type GitEntryDetail, type GitEntryFileDiff, type GitEntryFilePatch, type GitEntryFileSource, type GitEntryFileSummary, type GitEntryFiles, type GitEntryPatch, type GitEntrySelector, type GitEntryShell, type GitFileChangeType, type GitPatchFile, type GitPatchState, type GitWorktreeHandoff, type GitWorktreeOverview, type GitWorktreeSummary, HOSTED_SHELL_PROTOCOL_VERSION, type HookDiagnosticLevel, type HookDiagnosticV1, type HookLifecycleV1, type HostedBackendHealthResponse, MarkdownParser, OFFICIAL_APP_BASE_URL, OPENSPECUI_HOOKS_VERSION, OPSX_AGENT_INVOCATION_MODE_VALUES, type OnReadDocumentHookV1, type OnRunWorkflowHookV1, OpenSpecAdapter, type OpenSpecUIConfig, OpenSpecUIConfigSchema, type OpenSpecUIConfigUpdate, type OpenSpecUIHooksV1, OpenSpecWatcher, type OpsxAgentInvocationMode, OpsxAgentInvocationModeSchema, type OpsxConfig, OpsxConfigSchema, OpsxKernel, type PathCallback, type ProjectRecoveryStatus, type ProjectResidencyEvictionReason, type ProjectResidencyStatus, ProjectWatcher, type ProjectWatcherReinitializeReason, type ProjectWatcherRuntimeStatus, type ProjectWatcherRuntimeStatusListener, PtyAttachMessageSchema, PtyBufferResponseSchema, type PtyClientMessage, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, type PtyPlatform, PtyPlatformSchema, PtyResizeMessageSchema, type PtyServerMessage, PtyServerMessageSchema, type PtySessionInfo, PtyTitleResponseSchema, ReactiveContext, ReactiveState, type ReactiveStateOptions, type ReadDocumentContextV1, type ReadDocumentResultV1, type Requirement, RequirementSchema, type ResolvedCliRunner, type RunWorkflowContextV1, type RunWorkflowInputV1, type RunWorkflowResultV1, type SchemaArtifact, SchemaArtifactSchema, type SchemaDetail, SchemaDetailSchema, type SchemaInfo, SchemaInfoSchema, type SchemaResolution, SchemaResolutionSchema, type Spec, type SpecMeta, SpecSchema, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TOOL_WORKFLOW_TO_SKILL_DIR, type Task, TaskSchema, type TemplateContentMap, type TemplatesMap, TemplatesSchema, type TerminalCommandArgument, type TerminalCommandField, TerminalCommandFieldSchema, type TerminalCommandFieldValue, type TerminalCommandFieldValues, type TerminalConfig, TerminalConfigSchema, type TerminalInvocationSettings, TerminalInvocationSettingsSchema, type TerminalRendererEngine, TerminalRendererEngineSchema, type TerminalShellDefaults, type TerminalShellProfile, TerminalShellProfileSchema, type TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, type TerminalSpawnCommand, TerminalSpawnCommandSchema, type TerminalThemeId, type TerminalThemeMode, TerminalThemeModeSchema, TerminalThemeSchema, type ToolConfig, type ToolInitDelivery, type ToolInitState, type ToolInitStatus, type ToolWorkflowId, VIRTUAL_PROJECT_DIRNAME, type ValidationIssue, type ValidationResult, Validator, type WatchEvent, type WatchEventType, type WatcherRuntimeStatus, type WorkflowActionV1, type WorkflowInvocationModeResolutionV1, type WorkflowRequestedModeV1, acquireWatcher, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDetectedProjectTools, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getWatchedProjectDir, getWatcherRuntimeStatus, initWatcherPool, isGlobPattern, isHostedBackendHealthResponse, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isToolConfigured, isWatcherPoolInitialized, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, parseCliCommand, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveTerminalShellDefaults, sniffGlobalCli, subscribeWatcherRuntimeStatus, toOpsxDisplayPath };
2897
+ export { type AIToolOption, AI_TOOLS, type ApplyInstructions, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, type ApplyTask, ApplyTaskSchema, type ArchiveMeta, type ArtifactInstructions, ArtifactInstructionsSchema, type ArtifactStatus, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, type BuiltinSoundId, BuiltinSoundIdSchema, type BuiltinSoundOption, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, type Change, type ChangeFile, ChangeFileSchema, type ChangeMeta, ChangeSchema, type ChangeStatus, ChangeStatusSchema, CliExecutor, type CliResult, type CliRunnerAttempt, type CliSniffResult, type CliStreamEvent, type CodeEditorTheme, CodeEditorThemeSchema, ConfigManager, type CustomSoundHash, CustomSoundHashSchema, type CustomSoundId, CustomSoundIdSchema, type CustomSoundMetadata, type CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DASHBOARD_METRIC_KEYS, DEFAULT_BELL_SOUND_ID, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, type DashboardCardAvailability, type DashboardConfig, DashboardConfigSchema, type DashboardGitCommitEntry, type DashboardGitDiffStats, type DashboardGitEntry, type DashboardGitSnapshot, type DashboardGitUncommittedEntry, type DashboardGitWorktree, type DashboardMetricKey, type DashboardOverview, type DashboardSummary, type DashboardTrendKind, type DashboardTrendMeta, type DashboardTrendPoint, type DashboardTriColorTrendPoint, type Delta, type DeltaOperation, DeltaOperationType, DeltaSchema, type DeltaSpec, DeltaSpecSchema, type DependencyInfo, DependencyInfoSchema, type DocumentConsumerV1, type DocumentReadModeV1, type DocumentRefV1, type ExportSnapshot, type FileChangeEvent, type FileChangeType, type GitConfig, GitConfigSchema, type GitEntriesPage, type GitEntryCursor, type GitEntryDetail, type GitEntryFileDiff, type GitEntryFilePatch, type GitEntryFileSource, type GitEntryFileSummary, type GitEntryFiles, type GitEntryPatch, type GitEntrySelector, type GitEntryShell, type GitFileChangeType, type GitPatchFile, type GitPatchState, type GitWorktreeHandoff, type GitWorktreeOverview, type GitWorktreeSummary, HOSTED_SHELL_PROTOCOL_VERSION, type HookDiagnosticLevel, type HookDiagnosticV1, type HookLifecycleV1, type HostedBackendHealthResponse, LEGACY_SOUND_ID_MAP, MarkdownParser, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, type NotificationAction, NotificationActionSchema, type NotificationGroup, type NotificationGroupKey, NotificationGroupKeySchema, type NotificationPublishInput, NotificationPublishInputSchema, type NotificationRecord, NotificationRecordSchema, type NotificationSettings, NotificationSettingsSchema, type NotificationSound, NotificationSoundSchema, type NotificationSource, NotificationSourceSchema, OFFICIAL_APP_BASE_URL, OPENSPECUI_HOOKS_VERSION, OPSX_AGENT_INVOCATION_MODE_VALUES, type OnReadDocumentHookV1, type OnRunWorkflowHookV1, OpenSpecAdapter, type OpenSpecUIConfig, OpenSpecUIConfigSchema, type OpenSpecUIConfigUpdate, type OpenSpecUIHooksV1, OpenSpecWatcher, type OpsxAgentInvocationMode, OpsxAgentInvocationModeSchema, type OpsxConfig, OpsxConfigSchema, OpsxKernel, type PathCallback, type ProjectRecoveryStatus, type ProjectResidencyEvictionReason, type ProjectResidencyStatus, ProjectWatcher, type ProjectWatcherReinitializeReason, type ProjectWatcherRuntimeStatus, type ProjectWatcherRuntimeStatusListener, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, type PtyClientMessage, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, type PtyPlatform, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, type PtyServerMessage, PtyServerMessageSchema, type PtySessionInfo, PtyTitleResponseSchema, ReactiveContext, ReactiveState, type ReactiveStateOptions, type ReadDocumentContextV1, type ReadDocumentResultV1, type Requirement, RequirementSchema, type ResolvedCliRunner, type RunWorkflowContextV1, type RunWorkflowInputV1, type RunWorkflowResultV1, SILENT_SOUND_ID, type SchemaArtifact, SchemaArtifactSchema, type SchemaDetail, SchemaDetailSchema, type SchemaInfo, SchemaInfoSchema, type SchemaResolution, SchemaResolutionSchema, SoundConfigIdSchema, type SoundId, SoundIdSchema, type Spec, type SpecMeta, SpecSchema, TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TOOL_WORKFLOW_TO_SKILL_DIR, type Task, TaskSchema, type TemplateContentMap, type TemplatesMap, TemplatesSchema, type TerminalBellSound, TerminalBellSoundSchema, type TerminalCommandArgument, type TerminalCommandField, TerminalCommandFieldSchema, type TerminalCommandFieldValue, type TerminalCommandFieldValues, type TerminalConfig, TerminalConfigSchema, type TerminalControlEvent, type TerminalControlParseResult, TerminalControlParser, type TerminalInvocationSettings, TerminalInvocationSettingsSchema, type TerminalNotificationEvent, type TerminalNotificationParseResult, TerminalNotificationParser, type TerminalNotificationProtocol, type TerminalProgressState, type TerminalPromptState, type TerminalRendererEngine, TerminalRendererEngineSchema, type TerminalShellDefaults, type TerminalShellProfile, TerminalShellProfileSchema, type TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, type TerminalSpawnCommand, TerminalSpawnCommandSchema, type TerminalThemeId, type TerminalThemeMode, TerminalThemeModeSchema, TerminalThemeSchema, type TerminalTitleTarget, type ToolConfig, type ToolInitDelivery, type ToolInitState, type ToolInitStatus, type ToolWorkflowId, VIRTUAL_PROJECT_DIRNAME, type ValidationIssue, type ValidationResult, Validator, type WatchEvent, type WatchEventType, type WatcherRuntimeStatus, type WorkflowActionV1, type WorkflowInvocationModeResolutionV1, type WorkflowRequestedModeV1, acquireWatcher, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, customHashFromSoundId, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDetectedProjectTools, getNotificationGroupKey, getNotificationGroupLabel, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getWatchedProjectDir, getWatcherRuntimeStatus, groupNotifications, initWatcherPool, isGlobPattern, isHostedBackendHealthResponse, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isToolConfigured, isWatcherPoolInitialized, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, parseCliCommand, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveTerminalShellDefaults, sniffGlobalCli, soundIdFromCustomHash, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, toOpsxDisplayPath };