@openspecui/core 3.4.0 → 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.
- package/dist/hosted-app.d.mts +1 -1
- package/dist/hosted-app.mjs +1 -1
- package/dist/index.d.mts +149 -105
- package/dist/index.mjs +71 -8
- package/dist/notifications-DOQwtdfS.d.mts +550 -0
- package/dist/notifications-F81mmO55.mjs +145 -0
- package/dist/notifications.d.mts +3 -0
- package/dist/notifications.mjs +5 -0
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/dist/sounds-C0dNSFm8.mjs +158 -0
- package/dist/sounds-CxwbTXZS.d.mts +86 -0
- package/dist/sounds.d.mts +2 -0
- package/dist/sounds.mjs +3 -0
- package/dist/terminal-audio-BoSdMyBY.d.mts +13 -0
- package/dist/terminal-audio-DDwxz9sJ.mjs +21 -0
- package/dist/terminal-audio.d.mts +3 -0
- package/dist/terminal-audio.mjs +4 -0
- package/dist/terminal-control-DtBprY6-.mjs +236 -0
- package/dist/terminal-control.d.mts +3 -0
- package/dist/terminal-control.mjs +3 -0
- package/dist/{terminal-invocation-ajsrCPhf.d.mts → terminal-invocation-BAcs7OE-.d.mts} +179 -87
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-invocation.mjs +1 -1
- package/dist/terminal-theme.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/package.json +19 -3
- /package/dist/{hosted-app-CC8DBuyE.mjs → hosted-app-CIOJpbzc.mjs} +0 -0
- /package/dist/{hosted-app-Be-ourtC.d.mts → hosted-app-DaGUbBJn.d.mts} +0 -0
- /package/dist/{opsx-display-path-DNqQo2uK.mjs → opsx-display-path-B6Owu17P.mjs} +0 -0
- /package/dist/{opsx-display-path-ElGeez1E.d.mts → opsx-display-path-CuQyGB_A.d.mts} +0 -0
- /package/dist/{terminal-invocation-8OLmCJfv.mjs → terminal-invocation-Cdi6_Kl6.mjs} +0 -0
- /package/dist/{terminal-theme-Cyyo2Zln.mjs → terminal-theme-CMQqJvIQ.mjs} +0 -0
- /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-
|
|
2
|
-
import { n as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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">;
|
|
@@ -510,6 +513,10 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
510
513
|
}, "strip", z.ZodTypeAny, {
|
|
511
514
|
id: string;
|
|
512
515
|
name: string;
|
|
516
|
+
progress: {
|
|
517
|
+
completed: number;
|
|
518
|
+
total: number;
|
|
519
|
+
};
|
|
513
520
|
why: string;
|
|
514
521
|
whatChanges: string;
|
|
515
522
|
deltas: {
|
|
@@ -517,15 +524,15 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
517
524
|
spec: string;
|
|
518
525
|
operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
|
|
519
526
|
requirements?: {
|
|
520
|
-
text: string;
|
|
521
527
|
id: string;
|
|
528
|
+
text: string;
|
|
522
529
|
scenarios: {
|
|
523
530
|
rawText: string;
|
|
524
531
|
}[];
|
|
525
532
|
}[] | undefined;
|
|
526
533
|
requirement?: {
|
|
527
|
-
text: string;
|
|
528
534
|
id: string;
|
|
535
|
+
text: string;
|
|
529
536
|
scenarios: {
|
|
530
537
|
rawText: string;
|
|
531
538
|
}[];
|
|
@@ -536,15 +543,11 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
536
543
|
} | undefined;
|
|
537
544
|
}[];
|
|
538
545
|
tasks: {
|
|
539
|
-
text: string;
|
|
540
546
|
id: string;
|
|
547
|
+
text: string;
|
|
541
548
|
completed: boolean;
|
|
542
549
|
section?: string | undefined;
|
|
543
550
|
}[];
|
|
544
|
-
progress: {
|
|
545
|
-
completed: number;
|
|
546
|
-
total: number;
|
|
547
|
-
};
|
|
548
551
|
metadata?: {
|
|
549
552
|
version: string;
|
|
550
553
|
format: "openspec-change";
|
|
@@ -557,6 +560,10 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
557
560
|
}, {
|
|
558
561
|
id: string;
|
|
559
562
|
name: string;
|
|
563
|
+
progress: {
|
|
564
|
+
completed: number;
|
|
565
|
+
total: number;
|
|
566
|
+
};
|
|
560
567
|
why: string;
|
|
561
568
|
whatChanges: string;
|
|
562
569
|
deltas: {
|
|
@@ -564,15 +571,15 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
564
571
|
spec: string;
|
|
565
572
|
operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
|
|
566
573
|
requirements?: {
|
|
567
|
-
text: string;
|
|
568
574
|
id: string;
|
|
575
|
+
text: string;
|
|
569
576
|
scenarios: {
|
|
570
577
|
rawText: string;
|
|
571
578
|
}[];
|
|
572
579
|
}[] | undefined;
|
|
573
580
|
requirement?: {
|
|
574
|
-
text: string;
|
|
575
581
|
id: string;
|
|
582
|
+
text: string;
|
|
576
583
|
scenarios: {
|
|
577
584
|
rawText: string;
|
|
578
585
|
}[];
|
|
@@ -583,15 +590,11 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
583
590
|
} | undefined;
|
|
584
591
|
}[];
|
|
585
592
|
tasks: {
|
|
586
|
-
text: string;
|
|
587
593
|
id: string;
|
|
594
|
+
text: string;
|
|
588
595
|
completed: boolean;
|
|
589
596
|
section?: string | undefined;
|
|
590
597
|
}[];
|
|
591
|
-
progress: {
|
|
592
|
-
completed: number;
|
|
593
|
-
total: number;
|
|
594
|
-
};
|
|
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
|
}[];
|
|
@@ -764,6 +767,10 @@ declare class OpenSpecAdapter {
|
|
|
764
767
|
changes: {
|
|
765
768
|
id: string;
|
|
766
769
|
name: string;
|
|
770
|
+
progress: {
|
|
771
|
+
completed: number;
|
|
772
|
+
total: number;
|
|
773
|
+
};
|
|
767
774
|
why: string;
|
|
768
775
|
whatChanges: string;
|
|
769
776
|
deltas: {
|
|
@@ -771,15 +778,15 @@ declare class OpenSpecAdapter {
|
|
|
771
778
|
spec: string;
|
|
772
779
|
operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
|
|
773
780
|
requirements?: {
|
|
774
|
-
text: string;
|
|
775
781
|
id: string;
|
|
782
|
+
text: string;
|
|
776
783
|
scenarios: {
|
|
777
784
|
rawText: string;
|
|
778
785
|
}[];
|
|
779
786
|
}[] | undefined;
|
|
780
787
|
requirement?: {
|
|
781
|
-
text: string;
|
|
782
788
|
id: string;
|
|
789
|
+
text: string;
|
|
783
790
|
scenarios: {
|
|
784
791
|
rawText: string;
|
|
785
792
|
}[];
|
|
@@ -790,15 +797,11 @@ declare class OpenSpecAdapter {
|
|
|
790
797
|
} | undefined;
|
|
791
798
|
}[];
|
|
792
799
|
tasks: {
|
|
793
|
-
text: string;
|
|
794
800
|
id: string;
|
|
801
|
+
text: string;
|
|
795
802
|
completed: boolean;
|
|
796
803
|
section?: string | undefined;
|
|
797
804
|
}[];
|
|
798
|
-
progress: {
|
|
799
|
-
completed: number;
|
|
800
|
-
total: number;
|
|
801
|
-
};
|
|
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
|
-
tasks: {
|
|
2147
|
-
id: string;
|
|
2148
|
-
description: string;
|
|
2149
|
-
done: boolean;
|
|
2150
|
-
}[];
|
|
2151
2190
|
progress: {
|
|
2152
2191
|
total: number;
|
|
2153
2192
|
complete: number;
|
|
2154
2193
|
remaining: number;
|
|
2155
2194
|
};
|
|
2195
|
+
state: "ready" | "blocked" | "all_done";
|
|
2196
|
+
tasks: {
|
|
2197
|
+
id: string;
|
|
2198
|
+
description: string;
|
|
2199
|
+
done: boolean;
|
|
2200
|
+
}[];
|
|
2156
2201
|
changeName: string;
|
|
2157
2202
|
schemaName: string;
|
|
2158
2203
|
changeDir: string;
|
|
2159
2204
|
contextFiles: Record<string, string[]>;
|
|
2160
|
-
state: "ready" | "blocked" | "all_done";
|
|
2161
2205
|
instruction: string;
|
|
2162
2206
|
missingArtifacts?: string[] | undefined;
|
|
2163
2207
|
}, {
|
|
2164
|
-
tasks: {
|
|
2165
|
-
id: string;
|
|
2166
|
-
description: string;
|
|
2167
|
-
done: boolean;
|
|
2168
|
-
}[];
|
|
2169
2208
|
progress: {
|
|
2170
2209
|
total: number;
|
|
2171
2210
|
complete: number;
|
|
2172
2211
|
remaining: number;
|
|
2173
2212
|
};
|
|
2213
|
+
state: "ready" | "blocked" | "all_done";
|
|
2214
|
+
tasks: {
|
|
2215
|
+
id: string;
|
|
2216
|
+
description: string;
|
|
2217
|
+
done: boolean;
|
|
2218
|
+
}[];
|
|
2174
2219
|
changeName: string;
|
|
2175
2220
|
schemaName: string;
|
|
2176
2221
|
changeDir: string;
|
|
2177
2222
|
contextFiles: Record<string, string | string[]>;
|
|
2178
|
-
state: "ready" | "blocked" | "all_done";
|
|
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,13 +2296,13 @@ 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, {
|
|
2255
|
-
source: "project" | "user" | "package";
|
|
2256
2299
|
name: string;
|
|
2300
|
+
source: "project" | "user" | "package";
|
|
2257
2301
|
artifacts: string[];
|
|
2258
2302
|
description?: string | undefined;
|
|
2259
2303
|
}, {
|
|
2260
|
-
source: "project" | "user" | "package";
|
|
2261
2304
|
name: string;
|
|
2305
|
+
source: "project" | "user" | "package";
|
|
2262
2306
|
artifacts: string[];
|
|
2263
2307
|
description?: string | undefined;
|
|
2264
2308
|
}>;
|
|
@@ -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";
|
|
@@ -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 };
|