@openspecui/core 3.11.2 → 3.11.4
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/{document-translation-BTEG-uW_.mjs → document-translation-B3QRXIXx.mjs} +5 -1
- package/dist/{document-translation-EMIQf5dw.d.mts → document-translation-QMSrWNT-.d.mts} +56 -9
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/index.d.mts +197 -39
- package/dist/index.mjs +140 -5
- package/dist/{local-download-profiles-CSXKbamv.d.mts → local-download-profiles-DHF9dW4e.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-Ct6rtBwb.d.mts → notifications-D9yMeQqN.d.mts} +4 -4
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-DrTZ0P31.d.mts → openspec-projection-e-sOj4vr.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-CIB-Wi0n.d.mts → opsx-entity-C89YFQNB.d.mts} +9 -9
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/{opsx-schema-detail-Cjoesix_.d.mts → opsx-schema-detail-DIscOp9f.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/{schemas-DeEkRkAH.d.mts → schemas-B6ZBedD4.d.mts} +112 -112
- package/dist/{sounds-BaxOUgWE.d.mts → sounds-BjSZxrQO.d.mts} +1 -1
- package/dist/sounds.d.mts +1 -1
- package/dist/{terminal-audio-v3YSYJKq.d.mts → terminal-audio-6x0ceNBw.d.mts} +2 -2
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-C5gqne5H.d.mts → terminal-invocation-C2e1WSWM.d.mts} +24 -24
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-yHmEiuRX.mjs → translator-B98pejVa.mjs} +172 -7
- package/dist/{translator-BtbU7rjR.d.mts → translator-jn94xmWZ.d.mts} +247 -112
- package/dist/translator.d.mts +2 -2
- package/dist/translator.mjs +2 -2
- package/package.json +1 -1
|
@@ -43,13 +43,13 @@ declare const ScenarioStepSchema: z.ZodObject<{
|
|
|
43
43
|
/** Original markdown list item line */
|
|
44
44
|
rawText: z.ZodString;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
rawText: string;
|
|
47
46
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
48
47
|
contentMarkdown: string;
|
|
49
|
-
}, {
|
|
50
48
|
rawText: string;
|
|
49
|
+
}, {
|
|
51
50
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
52
51
|
contentMarkdown: string;
|
|
52
|
+
rawText: string;
|
|
53
53
|
}>;
|
|
54
54
|
type ScenarioStep = z.infer<typeof ScenarioStepSchema>;
|
|
55
55
|
/**
|
|
@@ -82,31 +82,31 @@ declare const RequirementSchema: z.ZodObject<{
|
|
|
82
82
|
/** Original markdown list item line */
|
|
83
83
|
rawText: z.ZodString;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
rawText: string;
|
|
86
85
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
87
86
|
contentMarkdown: string;
|
|
88
|
-
}, {
|
|
89
87
|
rawText: string;
|
|
88
|
+
}, {
|
|
90
89
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
91
90
|
contentMarkdown: string;
|
|
91
|
+
rawText: string;
|
|
92
92
|
}>, "many">>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
94
|
title: string;
|
|
95
|
-
bodyMarkdown: string;
|
|
96
95
|
rawText: string;
|
|
96
|
+
bodyMarkdown: string;
|
|
97
97
|
steps?: {
|
|
98
|
-
rawText: string;
|
|
99
98
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
100
99
|
contentMarkdown: string;
|
|
100
|
+
rawText: string;
|
|
101
101
|
}[] | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
title: string;
|
|
104
|
-
bodyMarkdown: string;
|
|
105
104
|
rawText: string;
|
|
105
|
+
bodyMarkdown: string;
|
|
106
106
|
steps?: {
|
|
107
|
-
rawText: string;
|
|
108
107
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
109
108
|
contentMarkdown: string;
|
|
109
|
+
rawText: string;
|
|
110
110
|
}[] | undefined;
|
|
111
111
|
}>, "many">;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -116,12 +116,12 @@ declare const RequirementSchema: z.ZodObject<{
|
|
|
116
116
|
bodyMarkdown: string;
|
|
117
117
|
scenarios: {
|
|
118
118
|
title: string;
|
|
119
|
-
bodyMarkdown: string;
|
|
120
119
|
rawText: string;
|
|
120
|
+
bodyMarkdown: string;
|
|
121
121
|
steps?: {
|
|
122
|
-
rawText: string;
|
|
123
122
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
124
123
|
contentMarkdown: string;
|
|
124
|
+
rawText: string;
|
|
125
125
|
}[] | undefined;
|
|
126
126
|
}[];
|
|
127
127
|
}, {
|
|
@@ -131,12 +131,12 @@ declare const RequirementSchema: z.ZodObject<{
|
|
|
131
131
|
bodyMarkdown: string;
|
|
132
132
|
scenarios: {
|
|
133
133
|
title: string;
|
|
134
|
-
bodyMarkdown: string;
|
|
135
134
|
rawText: string;
|
|
135
|
+
bodyMarkdown: string;
|
|
136
136
|
steps?: {
|
|
137
|
-
rawText: string;
|
|
138
137
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
139
138
|
contentMarkdown: string;
|
|
139
|
+
rawText: string;
|
|
140
140
|
}[] | undefined;
|
|
141
141
|
}[];
|
|
142
142
|
}>;
|
|
@@ -179,31 +179,31 @@ declare const SpecSchema: z.ZodObject<{
|
|
|
179
179
|
/** Original markdown list item line */
|
|
180
180
|
rawText: z.ZodString;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
rawText: string;
|
|
183
182
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
184
183
|
contentMarkdown: string;
|
|
185
|
-
}, {
|
|
186
184
|
rawText: string;
|
|
185
|
+
}, {
|
|
187
186
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
188
187
|
contentMarkdown: string;
|
|
188
|
+
rawText: string;
|
|
189
189
|
}>, "many">>;
|
|
190
190
|
}, "strip", z.ZodTypeAny, {
|
|
191
191
|
title: string;
|
|
192
|
-
bodyMarkdown: string;
|
|
193
192
|
rawText: string;
|
|
193
|
+
bodyMarkdown: string;
|
|
194
194
|
steps?: {
|
|
195
|
-
rawText: string;
|
|
196
195
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
197
196
|
contentMarkdown: string;
|
|
197
|
+
rawText: string;
|
|
198
198
|
}[] | undefined;
|
|
199
199
|
}, {
|
|
200
200
|
title: string;
|
|
201
|
-
bodyMarkdown: string;
|
|
202
201
|
rawText: string;
|
|
202
|
+
bodyMarkdown: string;
|
|
203
203
|
steps?: {
|
|
204
|
-
rawText: string;
|
|
205
204
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
206
205
|
contentMarkdown: string;
|
|
206
|
+
rawText: string;
|
|
207
207
|
}[] | undefined;
|
|
208
208
|
}>, "many">;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -213,12 +213,12 @@ declare const SpecSchema: z.ZodObject<{
|
|
|
213
213
|
bodyMarkdown: string;
|
|
214
214
|
scenarios: {
|
|
215
215
|
title: string;
|
|
216
|
-
bodyMarkdown: string;
|
|
217
216
|
rawText: string;
|
|
217
|
+
bodyMarkdown: string;
|
|
218
218
|
steps?: {
|
|
219
|
-
rawText: string;
|
|
220
219
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
221
220
|
contentMarkdown: string;
|
|
221
|
+
rawText: string;
|
|
222
222
|
}[] | undefined;
|
|
223
223
|
}[];
|
|
224
224
|
}, {
|
|
@@ -228,12 +228,12 @@ declare const SpecSchema: z.ZodObject<{
|
|
|
228
228
|
bodyMarkdown: string;
|
|
229
229
|
scenarios: {
|
|
230
230
|
title: string;
|
|
231
|
-
bodyMarkdown: string;
|
|
232
231
|
rawText: string;
|
|
232
|
+
bodyMarkdown: string;
|
|
233
233
|
steps?: {
|
|
234
|
-
rawText: string;
|
|
235
234
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
236
235
|
contentMarkdown: string;
|
|
236
|
+
rawText: string;
|
|
237
237
|
}[] | undefined;
|
|
238
238
|
}[];
|
|
239
239
|
}>, "many">;
|
|
@@ -262,12 +262,12 @@ declare const SpecSchema: z.ZodObject<{
|
|
|
262
262
|
bodyMarkdown: string;
|
|
263
263
|
scenarios: {
|
|
264
264
|
title: string;
|
|
265
|
-
bodyMarkdown: string;
|
|
266
265
|
rawText: string;
|
|
266
|
+
bodyMarkdown: string;
|
|
267
267
|
steps?: {
|
|
268
|
-
rawText: string;
|
|
269
268
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
270
269
|
contentMarkdown: string;
|
|
270
|
+
rawText: string;
|
|
271
271
|
}[] | undefined;
|
|
272
272
|
}[];
|
|
273
273
|
}[];
|
|
@@ -287,12 +287,12 @@ declare const SpecSchema: z.ZodObject<{
|
|
|
287
287
|
bodyMarkdown: string;
|
|
288
288
|
scenarios: {
|
|
289
289
|
title: string;
|
|
290
|
-
bodyMarkdown: string;
|
|
291
290
|
rawText: string;
|
|
291
|
+
bodyMarkdown: string;
|
|
292
292
|
steps?: {
|
|
293
|
-
rawText: string;
|
|
294
293
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
295
294
|
contentMarkdown: string;
|
|
295
|
+
rawText: string;
|
|
296
296
|
}[] | undefined;
|
|
297
297
|
}[];
|
|
298
298
|
}[];
|
|
@@ -342,31 +342,31 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
342
342
|
/** Original markdown list item line */
|
|
343
343
|
rawText: z.ZodString;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
345
|
-
rawText: string;
|
|
346
345
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
347
346
|
contentMarkdown: string;
|
|
348
|
-
}, {
|
|
349
347
|
rawText: string;
|
|
348
|
+
}, {
|
|
350
349
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
351
350
|
contentMarkdown: string;
|
|
351
|
+
rawText: string;
|
|
352
352
|
}>, "many">>;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
title: string;
|
|
355
|
-
bodyMarkdown: string;
|
|
356
355
|
rawText: string;
|
|
356
|
+
bodyMarkdown: string;
|
|
357
357
|
steps?: {
|
|
358
|
-
rawText: string;
|
|
359
358
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
360
359
|
contentMarkdown: string;
|
|
360
|
+
rawText: string;
|
|
361
361
|
}[] | undefined;
|
|
362
362
|
}, {
|
|
363
363
|
title: string;
|
|
364
|
-
bodyMarkdown: string;
|
|
365
364
|
rawText: string;
|
|
365
|
+
bodyMarkdown: string;
|
|
366
366
|
steps?: {
|
|
367
|
-
rawText: string;
|
|
368
367
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
369
368
|
contentMarkdown: string;
|
|
369
|
+
rawText: string;
|
|
370
370
|
}[] | undefined;
|
|
371
371
|
}>, "many">;
|
|
372
372
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -376,12 +376,12 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
376
376
|
bodyMarkdown: string;
|
|
377
377
|
scenarios: {
|
|
378
378
|
title: string;
|
|
379
|
-
bodyMarkdown: string;
|
|
380
379
|
rawText: string;
|
|
380
|
+
bodyMarkdown: string;
|
|
381
381
|
steps?: {
|
|
382
|
-
rawText: string;
|
|
383
382
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
384
383
|
contentMarkdown: string;
|
|
384
|
+
rawText: string;
|
|
385
385
|
}[] | undefined;
|
|
386
386
|
}[];
|
|
387
387
|
}, {
|
|
@@ -391,12 +391,12 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
391
391
|
bodyMarkdown: string;
|
|
392
392
|
scenarios: {
|
|
393
393
|
title: string;
|
|
394
|
-
bodyMarkdown: string;
|
|
395
394
|
rawText: string;
|
|
395
|
+
bodyMarkdown: string;
|
|
396
396
|
steps?: {
|
|
397
|
-
rawText: string;
|
|
398
397
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
399
398
|
contentMarkdown: string;
|
|
399
|
+
rawText: string;
|
|
400
400
|
}[] | undefined;
|
|
401
401
|
}[];
|
|
402
402
|
}>>;
|
|
@@ -427,31 +427,31 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
427
427
|
/** Original markdown list item line */
|
|
428
428
|
rawText: z.ZodString;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
|
-
rawText: string;
|
|
431
430
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
432
431
|
contentMarkdown: string;
|
|
433
|
-
}, {
|
|
434
432
|
rawText: string;
|
|
433
|
+
}, {
|
|
435
434
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
436
435
|
contentMarkdown: string;
|
|
436
|
+
rawText: string;
|
|
437
437
|
}>, "many">>;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
439
|
title: string;
|
|
440
|
-
bodyMarkdown: string;
|
|
441
440
|
rawText: string;
|
|
441
|
+
bodyMarkdown: string;
|
|
442
442
|
steps?: {
|
|
443
|
-
rawText: string;
|
|
444
443
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
445
444
|
contentMarkdown: string;
|
|
445
|
+
rawText: string;
|
|
446
446
|
}[] | undefined;
|
|
447
447
|
}, {
|
|
448
448
|
title: string;
|
|
449
|
-
bodyMarkdown: string;
|
|
450
449
|
rawText: string;
|
|
450
|
+
bodyMarkdown: string;
|
|
451
451
|
steps?: {
|
|
452
|
-
rawText: string;
|
|
453
452
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
454
453
|
contentMarkdown: string;
|
|
454
|
+
rawText: string;
|
|
455
455
|
}[] | undefined;
|
|
456
456
|
}>, "many">;
|
|
457
457
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -461,12 +461,12 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
461
461
|
bodyMarkdown: string;
|
|
462
462
|
scenarios: {
|
|
463
463
|
title: string;
|
|
464
|
-
bodyMarkdown: string;
|
|
465
464
|
rawText: string;
|
|
465
|
+
bodyMarkdown: string;
|
|
466
466
|
steps?: {
|
|
467
|
-
rawText: string;
|
|
468
467
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
469
468
|
contentMarkdown: string;
|
|
469
|
+
rawText: string;
|
|
470
470
|
}[] | undefined;
|
|
471
471
|
}[];
|
|
472
472
|
}, {
|
|
@@ -476,12 +476,12 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
476
476
|
bodyMarkdown: string;
|
|
477
477
|
scenarios: {
|
|
478
478
|
title: string;
|
|
479
|
-
bodyMarkdown: string;
|
|
480
479
|
rawText: string;
|
|
480
|
+
bodyMarkdown: string;
|
|
481
481
|
steps?: {
|
|
482
|
-
rawText: string;
|
|
483
482
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
484
483
|
contentMarkdown: string;
|
|
484
|
+
rawText: string;
|
|
485
485
|
}[] | undefined;
|
|
486
486
|
}[];
|
|
487
487
|
}>, "many">>;
|
|
@@ -507,12 +507,12 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
507
507
|
bodyMarkdown: string;
|
|
508
508
|
scenarios: {
|
|
509
509
|
title: string;
|
|
510
|
-
bodyMarkdown: string;
|
|
511
510
|
rawText: string;
|
|
511
|
+
bodyMarkdown: string;
|
|
512
512
|
steps?: {
|
|
513
|
-
rawText: string;
|
|
514
513
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
515
514
|
contentMarkdown: string;
|
|
515
|
+
rawText: string;
|
|
516
516
|
}[] | undefined;
|
|
517
517
|
}[];
|
|
518
518
|
}[] | undefined;
|
|
@@ -523,12 +523,12 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
523
523
|
bodyMarkdown: string;
|
|
524
524
|
scenarios: {
|
|
525
525
|
title: string;
|
|
526
|
-
bodyMarkdown: string;
|
|
527
526
|
rawText: string;
|
|
527
|
+
bodyMarkdown: string;
|
|
528
528
|
steps?: {
|
|
529
|
-
rawText: string;
|
|
530
529
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
531
530
|
contentMarkdown: string;
|
|
531
|
+
rawText: string;
|
|
532
532
|
}[] | undefined;
|
|
533
533
|
}[];
|
|
534
534
|
} | undefined;
|
|
@@ -547,12 +547,12 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
547
547
|
bodyMarkdown: string;
|
|
548
548
|
scenarios: {
|
|
549
549
|
title: string;
|
|
550
|
-
bodyMarkdown: string;
|
|
551
550
|
rawText: string;
|
|
551
|
+
bodyMarkdown: string;
|
|
552
552
|
steps?: {
|
|
553
|
-
rawText: string;
|
|
554
553
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
555
554
|
contentMarkdown: string;
|
|
555
|
+
rawText: string;
|
|
556
556
|
}[] | undefined;
|
|
557
557
|
}[];
|
|
558
558
|
}[] | undefined;
|
|
@@ -563,12 +563,12 @@ declare const DeltaSchema: z.ZodObject<{
|
|
|
563
563
|
bodyMarkdown: string;
|
|
564
564
|
scenarios: {
|
|
565
565
|
title: string;
|
|
566
|
-
bodyMarkdown: string;
|
|
567
566
|
rawText: string;
|
|
567
|
+
bodyMarkdown: string;
|
|
568
568
|
steps?: {
|
|
569
|
-
rawText: string;
|
|
570
569
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
571
570
|
contentMarkdown: string;
|
|
571
|
+
rawText: string;
|
|
572
572
|
}[] | undefined;
|
|
573
573
|
}[];
|
|
574
574
|
} | undefined;
|
|
@@ -614,11 +614,11 @@ declare const DeltaSpecSchema: z.ZodObject<{
|
|
|
614
614
|
/** Raw markdown content of the delta spec */
|
|
615
615
|
content: z.ZodString;
|
|
616
616
|
}, "strip", z.ZodTypeAny, {
|
|
617
|
-
specId: string;
|
|
618
617
|
content: string;
|
|
619
|
-
}, {
|
|
620
618
|
specId: string;
|
|
619
|
+
}, {
|
|
621
620
|
content: string;
|
|
621
|
+
specId: string;
|
|
622
622
|
}>;
|
|
623
623
|
type DeltaSpec = z.infer<typeof DeltaSpecSchema>;
|
|
624
624
|
/**
|
|
@@ -672,31 +672,31 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
672
672
|
/** Original markdown list item line */
|
|
673
673
|
rawText: z.ZodString;
|
|
674
674
|
}, "strip", z.ZodTypeAny, {
|
|
675
|
-
rawText: string;
|
|
676
675
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
677
676
|
contentMarkdown: string;
|
|
678
|
-
}, {
|
|
679
677
|
rawText: string;
|
|
678
|
+
}, {
|
|
680
679
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
681
680
|
contentMarkdown: string;
|
|
681
|
+
rawText: string;
|
|
682
682
|
}>, "many">>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
title: string;
|
|
685
|
-
bodyMarkdown: string;
|
|
686
685
|
rawText: string;
|
|
686
|
+
bodyMarkdown: string;
|
|
687
687
|
steps?: {
|
|
688
|
-
rawText: string;
|
|
689
688
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
690
689
|
contentMarkdown: string;
|
|
690
|
+
rawText: string;
|
|
691
691
|
}[] | undefined;
|
|
692
692
|
}, {
|
|
693
693
|
title: string;
|
|
694
|
-
bodyMarkdown: string;
|
|
695
694
|
rawText: string;
|
|
695
|
+
bodyMarkdown: string;
|
|
696
696
|
steps?: {
|
|
697
|
-
rawText: string;
|
|
698
697
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
699
698
|
contentMarkdown: string;
|
|
699
|
+
rawText: string;
|
|
700
700
|
}[] | undefined;
|
|
701
701
|
}>, "many">;
|
|
702
702
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -706,12 +706,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
706
706
|
bodyMarkdown: string;
|
|
707
707
|
scenarios: {
|
|
708
708
|
title: string;
|
|
709
|
-
bodyMarkdown: string;
|
|
710
709
|
rawText: string;
|
|
710
|
+
bodyMarkdown: string;
|
|
711
711
|
steps?: {
|
|
712
|
-
rawText: string;
|
|
713
712
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
714
713
|
contentMarkdown: string;
|
|
714
|
+
rawText: string;
|
|
715
715
|
}[] | undefined;
|
|
716
716
|
}[];
|
|
717
717
|
}, {
|
|
@@ -721,12 +721,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
721
721
|
bodyMarkdown: string;
|
|
722
722
|
scenarios: {
|
|
723
723
|
title: string;
|
|
724
|
-
bodyMarkdown: string;
|
|
725
724
|
rawText: string;
|
|
725
|
+
bodyMarkdown: string;
|
|
726
726
|
steps?: {
|
|
727
|
-
rawText: string;
|
|
728
727
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
729
728
|
contentMarkdown: string;
|
|
729
|
+
rawText: string;
|
|
730
730
|
}[] | undefined;
|
|
731
731
|
}[];
|
|
732
732
|
}>>;
|
|
@@ -757,31 +757,31 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
757
757
|
/** Original markdown list item line */
|
|
758
758
|
rawText: z.ZodString;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
|
-
rawText: string;
|
|
761
760
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
762
761
|
contentMarkdown: string;
|
|
763
|
-
}, {
|
|
764
762
|
rawText: string;
|
|
763
|
+
}, {
|
|
765
764
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
766
765
|
contentMarkdown: string;
|
|
766
|
+
rawText: string;
|
|
767
767
|
}>, "many">>;
|
|
768
768
|
}, "strip", z.ZodTypeAny, {
|
|
769
769
|
title: string;
|
|
770
|
-
bodyMarkdown: string;
|
|
771
770
|
rawText: string;
|
|
771
|
+
bodyMarkdown: string;
|
|
772
772
|
steps?: {
|
|
773
|
-
rawText: string;
|
|
774
773
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
775
774
|
contentMarkdown: string;
|
|
775
|
+
rawText: string;
|
|
776
776
|
}[] | undefined;
|
|
777
777
|
}, {
|
|
778
778
|
title: string;
|
|
779
|
-
bodyMarkdown: string;
|
|
780
779
|
rawText: string;
|
|
780
|
+
bodyMarkdown: string;
|
|
781
781
|
steps?: {
|
|
782
|
-
rawText: string;
|
|
783
782
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
784
783
|
contentMarkdown: string;
|
|
784
|
+
rawText: string;
|
|
785
785
|
}[] | undefined;
|
|
786
786
|
}>, "many">;
|
|
787
787
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -791,12 +791,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
791
791
|
bodyMarkdown: string;
|
|
792
792
|
scenarios: {
|
|
793
793
|
title: string;
|
|
794
|
-
bodyMarkdown: string;
|
|
795
794
|
rawText: string;
|
|
795
|
+
bodyMarkdown: string;
|
|
796
796
|
steps?: {
|
|
797
|
-
rawText: string;
|
|
798
797
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
799
798
|
contentMarkdown: string;
|
|
799
|
+
rawText: string;
|
|
800
800
|
}[] | undefined;
|
|
801
801
|
}[];
|
|
802
802
|
}, {
|
|
@@ -806,12 +806,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
806
806
|
bodyMarkdown: string;
|
|
807
807
|
scenarios: {
|
|
808
808
|
title: string;
|
|
809
|
-
bodyMarkdown: string;
|
|
810
809
|
rawText: string;
|
|
810
|
+
bodyMarkdown: string;
|
|
811
811
|
steps?: {
|
|
812
|
-
rawText: string;
|
|
813
812
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
814
813
|
contentMarkdown: string;
|
|
814
|
+
rawText: string;
|
|
815
815
|
}[] | undefined;
|
|
816
816
|
}[];
|
|
817
817
|
}>, "many">>;
|
|
@@ -837,12 +837,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
837
837
|
bodyMarkdown: string;
|
|
838
838
|
scenarios: {
|
|
839
839
|
title: string;
|
|
840
|
-
bodyMarkdown: string;
|
|
841
840
|
rawText: string;
|
|
841
|
+
bodyMarkdown: string;
|
|
842
842
|
steps?: {
|
|
843
|
-
rawText: string;
|
|
844
843
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
845
844
|
contentMarkdown: string;
|
|
845
|
+
rawText: string;
|
|
846
846
|
}[] | undefined;
|
|
847
847
|
}[];
|
|
848
848
|
}[] | undefined;
|
|
@@ -853,12 +853,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
853
853
|
bodyMarkdown: string;
|
|
854
854
|
scenarios: {
|
|
855
855
|
title: string;
|
|
856
|
-
bodyMarkdown: string;
|
|
857
856
|
rawText: string;
|
|
857
|
+
bodyMarkdown: string;
|
|
858
858
|
steps?: {
|
|
859
|
-
rawText: string;
|
|
860
859
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
861
860
|
contentMarkdown: string;
|
|
861
|
+
rawText: string;
|
|
862
862
|
}[] | undefined;
|
|
863
863
|
}[];
|
|
864
864
|
} | undefined;
|
|
@@ -877,12 +877,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
877
877
|
bodyMarkdown: string;
|
|
878
878
|
scenarios: {
|
|
879
879
|
title: string;
|
|
880
|
-
bodyMarkdown: string;
|
|
881
880
|
rawText: string;
|
|
881
|
+
bodyMarkdown: string;
|
|
882
882
|
steps?: {
|
|
883
|
-
rawText: string;
|
|
884
883
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
885
884
|
contentMarkdown: string;
|
|
885
|
+
rawText: string;
|
|
886
886
|
}[] | undefined;
|
|
887
887
|
}[];
|
|
888
888
|
}[] | undefined;
|
|
@@ -893,12 +893,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
893
893
|
bodyMarkdown: string;
|
|
894
894
|
scenarios: {
|
|
895
895
|
title: string;
|
|
896
|
-
bodyMarkdown: string;
|
|
897
896
|
rawText: string;
|
|
897
|
+
bodyMarkdown: string;
|
|
898
898
|
steps?: {
|
|
899
|
-
rawText: string;
|
|
900
899
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
901
900
|
contentMarkdown: string;
|
|
901
|
+
rawText: string;
|
|
902
902
|
}[] | undefined;
|
|
903
903
|
}[];
|
|
904
904
|
} | undefined;
|
|
@@ -933,11 +933,11 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
933
933
|
total: z.ZodNumber;
|
|
934
934
|
completed: z.ZodNumber;
|
|
935
935
|
}, "strip", z.ZodTypeAny, {
|
|
936
|
-
completed: number;
|
|
937
936
|
total: number;
|
|
938
|
-
}, {
|
|
939
937
|
completed: number;
|
|
938
|
+
}, {
|
|
940
939
|
total: number;
|
|
940
|
+
completed: number;
|
|
941
941
|
}>;
|
|
942
942
|
/** Optional design.md content */
|
|
943
943
|
design: z.ZodOptional<z.ZodString>;
|
|
@@ -948,11 +948,11 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
948
948
|
/** Raw markdown content of the delta spec */
|
|
949
949
|
content: z.ZodString;
|
|
950
950
|
}, "strip", z.ZodTypeAny, {
|
|
951
|
-
specId: string;
|
|
952
951
|
content: string;
|
|
953
|
-
}, {
|
|
954
952
|
specId: string;
|
|
953
|
+
}, {
|
|
955
954
|
content: string;
|
|
955
|
+
specId: string;
|
|
956
956
|
}>, "many">>;
|
|
957
957
|
/** Optional metadata */
|
|
958
958
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -968,10 +968,16 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
968
968
|
}, "strip", z.ZodTypeAny, {
|
|
969
969
|
id: string;
|
|
970
970
|
progress: {
|
|
971
|
-
completed: number;
|
|
972
971
|
total: number;
|
|
972
|
+
completed: number;
|
|
973
973
|
};
|
|
974
974
|
name: string;
|
|
975
|
+
tasks: {
|
|
976
|
+
id: string;
|
|
977
|
+
text: string;
|
|
978
|
+
completed: boolean;
|
|
979
|
+
section?: string | undefined;
|
|
980
|
+
}[];
|
|
975
981
|
why: string;
|
|
976
982
|
whatChanges: string;
|
|
977
983
|
deltas: {
|
|
@@ -985,12 +991,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
985
991
|
bodyMarkdown: string;
|
|
986
992
|
scenarios: {
|
|
987
993
|
title: string;
|
|
988
|
-
bodyMarkdown: string;
|
|
989
994
|
rawText: string;
|
|
995
|
+
bodyMarkdown: string;
|
|
990
996
|
steps?: {
|
|
991
|
-
rawText: string;
|
|
992
997
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
993
998
|
contentMarkdown: string;
|
|
999
|
+
rawText: string;
|
|
994
1000
|
}[] | undefined;
|
|
995
1001
|
}[];
|
|
996
1002
|
}[] | undefined;
|
|
@@ -1001,12 +1007,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
1001
1007
|
bodyMarkdown: string;
|
|
1002
1008
|
scenarios: {
|
|
1003
1009
|
title: string;
|
|
1004
|
-
bodyMarkdown: string;
|
|
1005
1010
|
rawText: string;
|
|
1011
|
+
bodyMarkdown: string;
|
|
1006
1012
|
steps?: {
|
|
1007
|
-
rawText: string;
|
|
1008
1013
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
1009
1014
|
contentMarkdown: string;
|
|
1015
|
+
rawText: string;
|
|
1010
1016
|
}[] | undefined;
|
|
1011
1017
|
}[];
|
|
1012
1018
|
} | undefined;
|
|
@@ -1015,28 +1021,28 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
1015
1021
|
to: string;
|
|
1016
1022
|
} | undefined;
|
|
1017
1023
|
}[];
|
|
1018
|
-
tasks: {
|
|
1019
|
-
id: string;
|
|
1020
|
-
text: string;
|
|
1021
|
-
completed: boolean;
|
|
1022
|
-
section?: string | undefined;
|
|
1023
|
-
}[];
|
|
1024
1024
|
metadata?: {
|
|
1025
1025
|
version: string;
|
|
1026
1026
|
format: "openspec-change";
|
|
1027
1027
|
} | undefined;
|
|
1028
1028
|
design?: string | undefined;
|
|
1029
1029
|
deltaSpecs?: {
|
|
1030
|
-
specId: string;
|
|
1031
1030
|
content: string;
|
|
1031
|
+
specId: string;
|
|
1032
1032
|
}[] | undefined;
|
|
1033
1033
|
}, {
|
|
1034
1034
|
id: string;
|
|
1035
1035
|
progress: {
|
|
1036
|
-
completed: number;
|
|
1037
1036
|
total: number;
|
|
1037
|
+
completed: number;
|
|
1038
1038
|
};
|
|
1039
1039
|
name: string;
|
|
1040
|
+
tasks: {
|
|
1041
|
+
id: string;
|
|
1042
|
+
text: string;
|
|
1043
|
+
completed: boolean;
|
|
1044
|
+
section?: string | undefined;
|
|
1045
|
+
}[];
|
|
1040
1046
|
why: string;
|
|
1041
1047
|
whatChanges: string;
|
|
1042
1048
|
deltas: {
|
|
@@ -1050,12 +1056,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
1050
1056
|
bodyMarkdown: string;
|
|
1051
1057
|
scenarios: {
|
|
1052
1058
|
title: string;
|
|
1053
|
-
bodyMarkdown: string;
|
|
1054
1059
|
rawText: string;
|
|
1060
|
+
bodyMarkdown: string;
|
|
1055
1061
|
steps?: {
|
|
1056
|
-
rawText: string;
|
|
1057
1062
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
1058
1063
|
contentMarkdown: string;
|
|
1064
|
+
rawText: string;
|
|
1059
1065
|
}[] | undefined;
|
|
1060
1066
|
}[];
|
|
1061
1067
|
}[] | undefined;
|
|
@@ -1066,12 +1072,12 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
1066
1072
|
bodyMarkdown: string;
|
|
1067
1073
|
scenarios: {
|
|
1068
1074
|
title: string;
|
|
1069
|
-
bodyMarkdown: string;
|
|
1070
1075
|
rawText: string;
|
|
1076
|
+
bodyMarkdown: string;
|
|
1071
1077
|
steps?: {
|
|
1072
|
-
rawText: string;
|
|
1073
1078
|
keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
|
|
1074
1079
|
contentMarkdown: string;
|
|
1080
|
+
rawText: string;
|
|
1075
1081
|
}[] | undefined;
|
|
1076
1082
|
}[];
|
|
1077
1083
|
} | undefined;
|
|
@@ -1080,20 +1086,14 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
1080
1086
|
to: string;
|
|
1081
1087
|
} | undefined;
|
|
1082
1088
|
}[];
|
|
1083
|
-
tasks: {
|
|
1084
|
-
id: string;
|
|
1085
|
-
text: string;
|
|
1086
|
-
completed: boolean;
|
|
1087
|
-
section?: string | undefined;
|
|
1088
|
-
}[];
|
|
1089
1089
|
metadata?: {
|
|
1090
1090
|
version?: string | undefined;
|
|
1091
1091
|
format?: "openspec-change" | undefined;
|
|
1092
1092
|
} | undefined;
|
|
1093
1093
|
design?: string | undefined;
|
|
1094
1094
|
deltaSpecs?: {
|
|
1095
|
-
specId: string;
|
|
1096
1095
|
content: string;
|
|
1096
|
+
specId: string;
|
|
1097
1097
|
}[] | undefined;
|
|
1098
1098
|
}>;
|
|
1099
1099
|
type Change = z.infer<typeof ChangeSchema>;
|