@openspecui/core 10.0.0 → 11.0.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 (44) hide show
  1. package/dist/{active-root-config-N3lOotoq.d.mts → active-root-config-B-ZjoeVr.d.mts} +9 -9
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/app-daemon-control.d.mts +24 -24
  4. package/dist/{cli-projection-bB650ru4.d.mts → cli-projection-CpEtZ-tN.d.mts} +7 -7
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/{dashboard-summary-transport-DcyVID8z.d.mts → dashboard-summary-transport-Cv-UaYcc.d.mts} +4972 -4972
  7. package/dist/dashboard-summary-transport.d.mts +18 -18
  8. package/dist/{document-translation-DM2eydNr.d.mts → document-translation-CGMD0RLA.d.mts} +2 -2
  9. package/dist/document-translation.d.mts +1 -1
  10. package/dist/hosted-app.d.mts +18 -18
  11. package/dist/hosted-contract.d.mts +18 -18
  12. package/dist/{index-CW5hcqKC.d.mts → index-BXSLb96t.d.mts} +10 -10
  13. package/dist/index.d.mts +18 -18
  14. package/dist/{local-download-profiles-DXmw0Zs3.d.mts → local-download-profiles-C9LmIa9_.d.mts} +1 -1
  15. package/dist/local-download-profiles.d.mts +2 -2
  16. package/dist/{notifications-BQhnmovr.d.mts → notifications-C_Dvqaej.d.mts} +17 -17
  17. package/dist/notifications.d.mts +2 -2
  18. package/dist/openspec-compat.d.mts +4 -4
  19. package/dist/{openspec-projection-FKuNsfBp.d.mts → openspec-projection-DTu73p25.d.mts} +1 -1
  20. package/dist/openspec-projection.d.mts +2 -2
  21. package/dist/{opsx-entity-CulylXeK.d.mts → opsx-entity-Cq5yqzjd.d.mts} +2 -2
  22. package/dist/opsx-entity.d.mts +7 -7
  23. package/dist/{opsx-schema-detail-C9kNWQmO.d.mts → opsx-schema-detail-DwKh5cRx.d.mts} +2 -2
  24. package/dist/opsx-schema-detail.d.mts +8 -8
  25. package/dist/{opsx-types-BeQJ4Le_.d.mts → opsx-types-Dxq7Yyjz.d.mts} +254 -254
  26. package/dist/planning-cli-projection.d.mts +18 -18
  27. package/dist/{schemas-BIaPbul1.d.mts → schemas-7hc46y5c.d.mts} +169 -169
  28. package/dist/{sounds-CxSkCgKh.d.mts → sounds-B0GiWqBN.d.mts} +8 -8
  29. package/dist/sounds.d.mts +1 -1
  30. package/dist/spec-catalog.d.mts +18 -18
  31. package/dist/{store-mutation-protocol-DXeWtAvN.d.mts → store-mutation-protocol-BriXl_0I.d.mts} +24 -24
  32. package/dist/store-mutation-protocol.d.mts +1 -1
  33. package/dist/{store-types-TDbmbvPx.d.mts → store-types-C4d1cqYC.d.mts} +1 -1
  34. package/dist/store-types.d.mts +5 -5
  35. package/dist/task-progress.d.mts +6 -6
  36. package/dist/{terminal-audio-R-3VBy0x.d.mts → terminal-audio-BpfUW_eB.d.mts} +1 -1
  37. package/dist/terminal-audio.d.mts +2 -2
  38. package/dist/terminal-control.d.mts +2 -2
  39. package/dist/{terminal-invocation-C8mSioBZ.d.mts → terminal-invocation-B2F24Dw6.d.mts} +137 -137
  40. package/dist/terminal-invocation.d.mts +1 -1
  41. package/dist/{translator-CVkc7MHh.d.mts → translator-CLbxLmcj.d.mts} +37 -37
  42. package/dist/translator.d.mts +1 -1
  43. package/dist/workspace-directory-catalog.d.mts +2 -2
  44. package/package.json +1 -1
@@ -21,17 +21,17 @@ declare const ChangeFileSchema: z.ZodObject<{
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  path: string;
23
23
  type: "file" | "directory";
24
+ content?: string | undefined;
24
25
  mime?: string | undefined;
25
26
  size?: number | undefined;
26
- content?: string | undefined;
27
- previewKind?: "text" | "html" | "markdown" | "image" | "audio" | "video" | "pdf" | "none" | undefined;
27
+ previewKind?: "text" | "none" | "html" | "markdown" | "image" | "audio" | "video" | "pdf" | undefined;
28
28
  }, {
29
29
  path: string;
30
30
  type: "file" | "directory";
31
+ content?: string | undefined;
31
32
  mime?: string | undefined;
32
33
  size?: number | undefined;
33
- content?: string | undefined;
34
- previewKind?: "text" | "html" | "markdown" | "image" | "audio" | "video" | "pdf" | "none" | undefined;
34
+ previewKind?: "text" | "none" | "html" | "markdown" | "image" | "audio" | "video" | "pdf" | undefined;
35
35
  }>;
36
36
  type ChangeFile = z.infer<typeof ChangeFileSchema>;
37
37
  declare const ScenarioStepKeywordSchema: z.ZodEnum<["GIVEN", "WHEN", "THEN", "AND", "BUT"]>;
@@ -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,63 +82,63 @@ 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
95
  rawText: string;
96
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
104
  rawText: string;
105
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, {
113
113
  id: string;
114
114
  text: string;
115
115
  title: string;
116
+ bodyMarkdown: string;
116
117
  scenarios: {
117
118
  title: string;
118
119
  rawText: string;
119
120
  bodyMarkdown: string;
120
121
  steps?: {
121
- rawText: string;
122
122
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
123
123
  contentMarkdown: string;
124
+ rawText: string;
124
125
  }[] | undefined;
125
126
  }[];
126
- bodyMarkdown: string;
127
127
  }, {
128
128
  id: string;
129
129
  text: string;
130
130
  title: string;
131
+ bodyMarkdown: string;
131
132
  scenarios: {
132
133
  title: string;
133
134
  rawText: string;
134
135
  bodyMarkdown: string;
135
136
  steps?: {
136
- rawText: string;
137
137
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
138
138
  contentMarkdown: string;
139
+ rawText: string;
139
140
  }[] | undefined;
140
141
  }[];
141
- bodyMarkdown: string;
142
142
  }>;
143
143
  type Requirement = z.infer<typeof RequirementSchema>;
144
144
  /**
@@ -179,63 +179,63 @@ 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
192
  rawText: string;
193
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
201
  rawText: string;
202
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, {
210
210
  id: string;
211
211
  text: string;
212
212
  title: string;
213
+ bodyMarkdown: string;
213
214
  scenarios: {
214
215
  title: string;
215
216
  rawText: string;
216
217
  bodyMarkdown: string;
217
218
  steps?: {
218
- rawText: string;
219
219
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
220
220
  contentMarkdown: string;
221
+ rawText: string;
221
222
  }[] | undefined;
222
223
  }[];
223
- bodyMarkdown: string;
224
224
  }, {
225
225
  id: string;
226
226
  text: string;
227
227
  title: string;
228
+ bodyMarkdown: string;
228
229
  scenarios: {
229
230
  title: string;
230
231
  rawText: string;
231
232
  bodyMarkdown: string;
232
233
  steps?: {
233
- rawText: string;
234
234
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
235
235
  contentMarkdown: string;
236
+ rawText: string;
236
237
  }[] | undefined;
237
238
  }[];
238
- bodyMarkdown: string;
239
239
  }>, "many">;
240
240
  /** Optional metadata */
241
241
  metadata: z.ZodOptional<z.ZodObject<{
@@ -254,23 +254,23 @@ declare const SpecSchema: z.ZodObject<{
254
254
  }, "strip", z.ZodTypeAny, {
255
255
  id: string;
256
256
  name: string;
257
- overview: string;
258
257
  requirements: {
259
258
  id: string;
260
259
  text: string;
261
260
  title: string;
261
+ bodyMarkdown: string;
262
262
  scenarios: {
263
263
  title: string;
264
264
  rawText: string;
265
265
  bodyMarkdown: string;
266
266
  steps?: {
267
- rawText: string;
268
267
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
269
268
  contentMarkdown: string;
269
+ rawText: string;
270
270
  }[] | undefined;
271
271
  }[];
272
- bodyMarkdown: string;
273
272
  }[];
273
+ overview: string;
274
274
  metadata?: {
275
275
  version: string;
276
276
  format: "openspec";
@@ -279,23 +279,23 @@ declare const SpecSchema: z.ZodObject<{
279
279
  }, {
280
280
  id: string;
281
281
  name: string;
282
- overview: string;
283
282
  requirements: {
284
283
  id: string;
285
284
  text: string;
286
285
  title: string;
286
+ bodyMarkdown: string;
287
287
  scenarios: {
288
288
  title: string;
289
289
  rawText: string;
290
290
  bodyMarkdown: string;
291
291
  steps?: {
292
- rawText: string;
293
292
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
294
293
  contentMarkdown: string;
294
+ rawText: string;
295
295
  }[] | undefined;
296
296
  }[];
297
- bodyMarkdown: string;
298
297
  }[];
298
+ overview: string;
299
299
  metadata?: {
300
300
  version?: string | undefined;
301
301
  format?: "openspec" | undefined;
@@ -342,63 +342,63 @@ 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
355
  rawText: string;
356
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
364
  rawText: string;
365
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, {
373
373
  id: string;
374
374
  text: string;
375
375
  title: string;
376
+ bodyMarkdown: string;
376
377
  scenarios: {
377
378
  title: string;
378
379
  rawText: string;
379
380
  bodyMarkdown: string;
380
381
  steps?: {
381
- rawText: string;
382
382
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
383
383
  contentMarkdown: string;
384
+ rawText: string;
384
385
  }[] | undefined;
385
386
  }[];
386
- bodyMarkdown: string;
387
387
  }, {
388
388
  id: string;
389
389
  text: string;
390
390
  title: string;
391
+ bodyMarkdown: string;
391
392
  scenarios: {
392
393
  title: string;
393
394
  rawText: string;
394
395
  bodyMarkdown: string;
395
396
  steps?: {
396
- rawText: string;
397
397
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
398
398
  contentMarkdown: string;
399
+ rawText: string;
399
400
  }[] | undefined;
400
401
  }[];
401
- bodyMarkdown: string;
402
402
  }>>;
403
403
  /** Multiple requirement changes */
404
404
  requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -427,63 +427,63 @@ 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
440
  rawText: string;
441
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
449
  rawText: string;
450
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, {
458
458
  id: string;
459
459
  text: string;
460
460
  title: string;
461
+ bodyMarkdown: string;
461
462
  scenarios: {
462
463
  title: string;
463
464
  rawText: string;
464
465
  bodyMarkdown: string;
465
466
  steps?: {
466
- rawText: string;
467
467
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
468
468
  contentMarkdown: string;
469
+ rawText: string;
469
470
  }[] | undefined;
470
471
  }[];
471
- bodyMarkdown: string;
472
472
  }, {
473
473
  id: string;
474
474
  text: string;
475
475
  title: string;
476
+ bodyMarkdown: string;
476
477
  scenarios: {
477
478
  title: string;
478
479
  rawText: string;
479
480
  bodyMarkdown: string;
480
481
  steps?: {
481
- rawText: string;
482
482
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
483
483
  contentMarkdown: string;
484
+ rawText: string;
484
485
  }[] | undefined;
485
486
  }[];
486
- bodyMarkdown: string;
487
487
  }>, "many">>;
488
488
  /** Rename details (for RENAMED operation) */
489
489
  rename: z.ZodOptional<z.ZodObject<{
@@ -504,33 +504,33 @@ declare const DeltaSchema: z.ZodObject<{
504
504
  id: string;
505
505
  text: string;
506
506
  title: string;
507
+ bodyMarkdown: string;
507
508
  scenarios: {
508
509
  title: string;
509
510
  rawText: string;
510
511
  bodyMarkdown: string;
511
512
  steps?: {
512
- rawText: string;
513
513
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
514
514
  contentMarkdown: string;
515
+ rawText: string;
515
516
  }[] | undefined;
516
517
  }[];
517
- bodyMarkdown: string;
518
518
  }[] | undefined;
519
519
  requirement?: {
520
520
  id: string;
521
521
  text: string;
522
522
  title: string;
523
+ bodyMarkdown: string;
523
524
  scenarios: {
524
525
  title: string;
525
526
  rawText: string;
526
527
  bodyMarkdown: string;
527
528
  steps?: {
528
- rawText: string;
529
529
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
530
530
  contentMarkdown: string;
531
+ rawText: string;
531
532
  }[] | undefined;
532
533
  }[];
533
- bodyMarkdown: string;
534
534
  } | undefined;
535
535
  rename?: {
536
536
  from: string;
@@ -544,33 +544,33 @@ declare const DeltaSchema: z.ZodObject<{
544
544
  id: string;
545
545
  text: string;
546
546
  title: string;
547
+ bodyMarkdown: string;
547
548
  scenarios: {
548
549
  title: string;
549
550
  rawText: string;
550
551
  bodyMarkdown: string;
551
552
  steps?: {
552
- rawText: string;
553
553
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
554
554
  contentMarkdown: string;
555
+ rawText: string;
555
556
  }[] | undefined;
556
557
  }[];
557
- bodyMarkdown: string;
558
558
  }[] | undefined;
559
559
  requirement?: {
560
560
  id: string;
561
561
  text: string;
562
562
  title: string;
563
+ bodyMarkdown: string;
563
564
  scenarios: {
564
565
  title: string;
565
566
  rawText: string;
566
567
  bodyMarkdown: string;
567
568
  steps?: {
568
- rawText: string;
569
569
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
570
570
  contentMarkdown: string;
571
+ rawText: string;
571
572
  }[] | undefined;
572
573
  }[];
573
- bodyMarkdown: string;
574
574
  } | undefined;
575
575
  rename?: {
576
576
  from: string;
@@ -594,13 +594,13 @@ declare const TaskSchema: z.ZodObject<{
594
594
  section: z.ZodOptional<z.ZodString>;
595
595
  }, "strip", z.ZodTypeAny, {
596
596
  id: string;
597
- text: string;
598
597
  completed: boolean;
598
+ text: string;
599
599
  section?: string | undefined;
600
600
  }, {
601
601
  id: string;
602
- text: string;
603
602
  completed: boolean;
603
+ text: string;
604
604
  section?: string | undefined;
605
605
  }>;
606
606
  type Task = z.infer<typeof TaskSchema>;
@@ -627,8 +627,8 @@ declare const TrackedTaskProgressSchema: z.ZodObject<{
627
627
  }>;
628
628
  }, "strip", z.ZodTypeAny, {
629
629
  id: string;
630
- text: string;
631
630
  completed: boolean;
631
+ text: string;
632
632
  location: {
633
633
  filePath: string;
634
634
  taskIndex: number;
@@ -636,8 +636,8 @@ declare const TrackedTaskProgressSchema: z.ZodObject<{
636
636
  section?: string | undefined;
637
637
  }, {
638
638
  id: string;
639
- text: string;
640
639
  completed: boolean;
640
+ text: string;
641
641
  location: {
642
642
  filePath: string;
643
643
  taskIndex: number;
@@ -713,8 +713,8 @@ declare const TrackedTaskProgressSchema: z.ZodObject<{
713
713
  };
714
714
  tasks: {
715
715
  id: string;
716
- text: string;
717
716
  completed: boolean;
717
+ text: string;
718
718
  location: {
719
719
  filePath: string;
720
720
  taskIndex: number;
@@ -744,8 +744,8 @@ declare const TrackedTaskProgressSchema: z.ZodObject<{
744
744
  };
745
745
  tasks: {
746
746
  id: string;
747
- text: string;
748
747
  completed: boolean;
748
+ text: string;
749
749
  location: {
750
750
  filePath: string;
751
751
  taskIndex: number;
@@ -825,63 +825,63 @@ declare const ChangeSchema: z.ZodObject<{
825
825
  /** Original markdown list item line */
826
826
  rawText: z.ZodString;
827
827
  }, "strip", z.ZodTypeAny, {
828
- rawText: string;
829
828
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
830
829
  contentMarkdown: string;
831
- }, {
832
830
  rawText: string;
831
+ }, {
833
832
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
834
833
  contentMarkdown: string;
834
+ rawText: string;
835
835
  }>, "many">>;
836
836
  }, "strip", z.ZodTypeAny, {
837
837
  title: string;
838
838
  rawText: string;
839
839
  bodyMarkdown: string;
840
840
  steps?: {
841
- rawText: string;
842
841
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
843
842
  contentMarkdown: string;
843
+ rawText: string;
844
844
  }[] | undefined;
845
845
  }, {
846
846
  title: string;
847
847
  rawText: string;
848
848
  bodyMarkdown: string;
849
849
  steps?: {
850
- rawText: string;
851
850
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
852
851
  contentMarkdown: string;
852
+ rawText: string;
853
853
  }[] | undefined;
854
854
  }>, "many">;
855
855
  }, "strip", z.ZodTypeAny, {
856
856
  id: string;
857
857
  text: string;
858
858
  title: string;
859
+ bodyMarkdown: string;
859
860
  scenarios: {
860
861
  title: string;
861
862
  rawText: string;
862
863
  bodyMarkdown: string;
863
864
  steps?: {
864
- rawText: string;
865
865
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
866
866
  contentMarkdown: string;
867
+ rawText: string;
867
868
  }[] | undefined;
868
869
  }[];
869
- bodyMarkdown: string;
870
870
  }, {
871
871
  id: string;
872
872
  text: string;
873
873
  title: string;
874
+ bodyMarkdown: string;
874
875
  scenarios: {
875
876
  title: string;
876
877
  rawText: string;
877
878
  bodyMarkdown: string;
878
879
  steps?: {
879
- rawText: string;
880
880
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
881
881
  contentMarkdown: string;
882
+ rawText: string;
882
883
  }[] | undefined;
883
884
  }[];
884
- bodyMarkdown: string;
885
885
  }>>;
886
886
  /** Multiple requirement changes */
887
887
  requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -910,63 +910,63 @@ declare const ChangeSchema: z.ZodObject<{
910
910
  /** Original markdown list item line */
911
911
  rawText: z.ZodString;
912
912
  }, "strip", z.ZodTypeAny, {
913
- rawText: string;
914
913
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
915
914
  contentMarkdown: string;
916
- }, {
917
915
  rawText: string;
916
+ }, {
918
917
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
919
918
  contentMarkdown: string;
919
+ rawText: string;
920
920
  }>, "many">>;
921
921
  }, "strip", z.ZodTypeAny, {
922
922
  title: string;
923
923
  rawText: string;
924
924
  bodyMarkdown: string;
925
925
  steps?: {
926
- rawText: string;
927
926
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
928
927
  contentMarkdown: string;
928
+ rawText: string;
929
929
  }[] | undefined;
930
930
  }, {
931
931
  title: string;
932
932
  rawText: string;
933
933
  bodyMarkdown: string;
934
934
  steps?: {
935
- rawText: string;
936
935
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
937
936
  contentMarkdown: string;
937
+ rawText: string;
938
938
  }[] | undefined;
939
939
  }>, "many">;
940
940
  }, "strip", z.ZodTypeAny, {
941
941
  id: string;
942
942
  text: string;
943
943
  title: string;
944
+ bodyMarkdown: string;
944
945
  scenarios: {
945
946
  title: string;
946
947
  rawText: string;
947
948
  bodyMarkdown: string;
948
949
  steps?: {
949
- rawText: string;
950
950
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
951
951
  contentMarkdown: string;
952
+ rawText: string;
952
953
  }[] | undefined;
953
954
  }[];
954
- bodyMarkdown: string;
955
955
  }, {
956
956
  id: string;
957
957
  text: string;
958
958
  title: string;
959
+ bodyMarkdown: string;
959
960
  scenarios: {
960
961
  title: string;
961
962
  rawText: string;
962
963
  bodyMarkdown: string;
963
964
  steps?: {
964
- rawText: string;
965
965
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
966
966
  contentMarkdown: string;
967
+ rawText: string;
967
968
  }[] | undefined;
968
969
  }[];
969
- bodyMarkdown: string;
970
970
  }>, "many">>;
971
971
  /** Rename details (for RENAMED operation) */
972
972
  rename: z.ZodOptional<z.ZodObject<{
@@ -987,33 +987,33 @@ declare const ChangeSchema: z.ZodObject<{
987
987
  id: string;
988
988
  text: string;
989
989
  title: string;
990
+ bodyMarkdown: string;
990
991
  scenarios: {
991
992
  title: string;
992
993
  rawText: string;
993
994
  bodyMarkdown: string;
994
995
  steps?: {
995
- rawText: string;
996
996
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
997
997
  contentMarkdown: string;
998
+ rawText: string;
998
999
  }[] | undefined;
999
1000
  }[];
1000
- bodyMarkdown: string;
1001
1001
  }[] | undefined;
1002
1002
  requirement?: {
1003
1003
  id: string;
1004
1004
  text: string;
1005
1005
  title: string;
1006
+ bodyMarkdown: string;
1006
1007
  scenarios: {
1007
1008
  title: string;
1008
1009
  rawText: string;
1009
1010
  bodyMarkdown: string;
1010
1011
  steps?: {
1011
- rawText: string;
1012
1012
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
1013
1013
  contentMarkdown: string;
1014
+ rawText: string;
1014
1015
  }[] | undefined;
1015
1016
  }[];
1016
- bodyMarkdown: string;
1017
1017
  } | undefined;
1018
1018
  rename?: {
1019
1019
  from: string;
@@ -1027,33 +1027,33 @@ declare const ChangeSchema: z.ZodObject<{
1027
1027
  id: string;
1028
1028
  text: string;
1029
1029
  title: string;
1030
+ bodyMarkdown: string;
1030
1031
  scenarios: {
1031
1032
  title: string;
1032
1033
  rawText: string;
1033
1034
  bodyMarkdown: string;
1034
1035
  steps?: {
1035
- rawText: string;
1036
1036
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
1037
1037
  contentMarkdown: string;
1038
+ rawText: string;
1038
1039
  }[] | undefined;
1039
1040
  }[];
1040
- bodyMarkdown: string;
1041
1041
  }[] | undefined;
1042
1042
  requirement?: {
1043
1043
  id: string;
1044
1044
  text: string;
1045
1045
  title: string;
1046
+ bodyMarkdown: string;
1046
1047
  scenarios: {
1047
1048
  title: string;
1048
1049
  rawText: string;
1049
1050
  bodyMarkdown: string;
1050
1051
  steps?: {
1051
- rawText: string;
1052
1052
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
1053
1053
  contentMarkdown: string;
1054
+ rawText: string;
1054
1055
  }[] | undefined;
1055
1056
  }[];
1056
- bodyMarkdown: string;
1057
1057
  } | undefined;
1058
1058
  rename?: {
1059
1059
  from: string;
@@ -1084,8 +1084,8 @@ declare const ChangeSchema: z.ZodObject<{
1084
1084
  }>;
1085
1085
  }, "strip", z.ZodTypeAny, {
1086
1086
  id: string;
1087
- text: string;
1088
1087
  completed: boolean;
1088
+ text: string;
1089
1089
  location: {
1090
1090
  filePath: string;
1091
1091
  taskIndex: number;
@@ -1093,8 +1093,8 @@ declare const ChangeSchema: z.ZodObject<{
1093
1093
  section?: string | undefined;
1094
1094
  }, {
1095
1095
  id: string;
1096
- text: string;
1097
1096
  completed: boolean;
1097
+ text: string;
1098
1098
  location: {
1099
1099
  filePath: string;
1100
1100
  taskIndex: number;
@@ -1170,8 +1170,8 @@ declare const ChangeSchema: z.ZodObject<{
1170
1170
  };
1171
1171
  tasks: {
1172
1172
  id: string;
1173
- text: string;
1174
1173
  completed: boolean;
1174
+ text: string;
1175
1175
  location: {
1176
1176
  filePath: string;
1177
1177
  taskIndex: number;
@@ -1201,8 +1201,8 @@ declare const ChangeSchema: z.ZodObject<{
1201
1201
  };
1202
1202
  tasks: {
1203
1203
  id: string;
1204
- text: string;
1205
1204
  completed: boolean;
1205
+ text: string;
1206
1206
  location: {
1207
1207
  filePath: string;
1208
1208
  taskIndex: number;
@@ -1230,13 +1230,13 @@ declare const ChangeSchema: z.ZodObject<{
1230
1230
  section: z.ZodOptional<z.ZodString>;
1231
1231
  }, "strip", z.ZodTypeAny, {
1232
1232
  id: string;
1233
- text: string;
1234
1233
  completed: boolean;
1234
+ text: string;
1235
1235
  section?: string | undefined;
1236
1236
  }, {
1237
1237
  id: string;
1238
- text: string;
1239
1238
  completed: boolean;
1239
+ text: string;
1240
1240
  section?: string | undefined;
1241
1241
  }>, "many">;
1242
1242
  total: z.ZodNumber;
@@ -1245,8 +1245,8 @@ declare const ChangeSchema: z.ZodObject<{
1245
1245
  }, "strip", z.ZodTypeAny, {
1246
1246
  tasks: {
1247
1247
  id: string;
1248
- text: string;
1249
1248
  completed: boolean;
1249
+ text: string;
1250
1250
  section?: string | undefined;
1251
1251
  }[];
1252
1252
  total: number;
@@ -1257,8 +1257,8 @@ declare const ChangeSchema: z.ZodObject<{
1257
1257
  }, {
1258
1258
  tasks: {
1259
1259
  id: string;
1260
- text: string;
1261
1260
  completed: boolean;
1261
+ text: string;
1262
1262
  section?: string | undefined;
1263
1263
  }[];
1264
1264
  total: number;
@@ -1271,11 +1271,14 @@ declare const ChangeSchema: z.ZodObject<{
1271
1271
  completed: z.ZodNumber;
1272
1272
  remaining: z.ZodNumber;
1273
1273
  }, "strip", z.ZodTypeAny, {
1274
+ total: number;
1275
+ remaining: number;
1276
+ completed: number;
1274
1277
  groups: {
1275
1278
  tasks: {
1276
1279
  id: string;
1277
- text: string;
1278
1280
  completed: boolean;
1281
+ text: string;
1279
1282
  section?: string | undefined;
1280
1283
  }[];
1281
1284
  total: number;
@@ -1284,15 +1287,15 @@ declare const ChangeSchema: z.ZodObject<{
1284
1287
  filePath: string;
1285
1288
  artifactIds: string[];
1286
1289
  }[];
1290
+ }, {
1287
1291
  total: number;
1288
1292
  remaining: number;
1289
1293
  completed: number;
1290
- }, {
1291
1294
  groups: {
1292
1295
  tasks: {
1293
1296
  id: string;
1294
- text: string;
1295
1297
  completed: boolean;
1298
+ text: string;
1296
1299
  section?: string | undefined;
1297
1300
  }[];
1298
1301
  total: number;
@@ -1301,9 +1304,6 @@ declare const ChangeSchema: z.ZodObject<{
1301
1304
  filePath: string;
1302
1305
  artifactIds: string[];
1303
1306
  }[];
1304
- total: number;
1305
- remaining: number;
1306
- completed: number;
1307
1307
  }>;
1308
1308
  /** Optional design.md content */
1309
1309
  design: z.ZodOptional<z.ZodString>;
@@ -1334,6 +1334,38 @@ declare const ChangeSchema: z.ZodObject<{
1334
1334
  }, "strip", z.ZodTypeAny, {
1335
1335
  id: string;
1336
1336
  name: string;
1337
+ trackedTaskProgress: {
1338
+ source: {
1339
+ kind: "artifact";
1340
+ outputPath: string;
1341
+ artifactId: string;
1342
+ filePaths: string[];
1343
+ } | {
1344
+ kind: "top-level-fallback";
1345
+ outputPath: "tasks.md";
1346
+ artifactId: null;
1347
+ filePaths: ["tasks.md"];
1348
+ } | {
1349
+ kind: "none";
1350
+ outputPath: null;
1351
+ artifactId: null;
1352
+ filePaths: [];
1353
+ };
1354
+ tasks: {
1355
+ id: string;
1356
+ completed: boolean;
1357
+ text: string;
1358
+ location: {
1359
+ filePath: string;
1360
+ taskIndex: number;
1361
+ };
1362
+ section?: string | undefined;
1363
+ }[];
1364
+ total: number;
1365
+ remaining: number;
1366
+ completed: number;
1367
+ phase: "no-tasks" | "complete" | "in-progress";
1368
+ };
1337
1369
  why: string;
1338
1370
  whatChanges: string;
1339
1371
  deltas: {
@@ -1344,39 +1376,69 @@ declare const ChangeSchema: z.ZodObject<{
1344
1376
  id: string;
1345
1377
  text: string;
1346
1378
  title: string;
1379
+ bodyMarkdown: string;
1347
1380
  scenarios: {
1348
1381
  title: string;
1349
1382
  rawText: string;
1350
1383
  bodyMarkdown: string;
1351
1384
  steps?: {
1352
- rawText: string;
1353
1385
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
1354
1386
  contentMarkdown: string;
1387
+ rawText: string;
1355
1388
  }[] | undefined;
1356
1389
  }[];
1357
- bodyMarkdown: string;
1358
1390
  }[] | undefined;
1359
1391
  requirement?: {
1360
1392
  id: string;
1361
1393
  text: string;
1362
1394
  title: string;
1395
+ bodyMarkdown: string;
1363
1396
  scenarios: {
1364
1397
  title: string;
1365
1398
  rawText: string;
1366
1399
  bodyMarkdown: string;
1367
1400
  steps?: {
1368
- rawText: string;
1369
1401
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
1370
1402
  contentMarkdown: string;
1403
+ rawText: string;
1371
1404
  }[] | undefined;
1372
1405
  }[];
1373
- bodyMarkdown: string;
1374
1406
  } | undefined;
1375
1407
  rename?: {
1376
1408
  from: string;
1377
1409
  to: string;
1378
1410
  } | undefined;
1379
1411
  }[];
1412
+ documentChecklistSummary: {
1413
+ total: number;
1414
+ remaining: number;
1415
+ completed: number;
1416
+ groups: {
1417
+ tasks: {
1418
+ id: string;
1419
+ completed: boolean;
1420
+ text: string;
1421
+ section?: string | undefined;
1422
+ }[];
1423
+ total: number;
1424
+ remaining: number;
1425
+ completed: number;
1426
+ filePath: string;
1427
+ artifactIds: string[];
1428
+ }[];
1429
+ };
1430
+ metadata?: {
1431
+ version: string;
1432
+ format: "openspec-change";
1433
+ } | undefined;
1434
+ design?: string | undefined;
1435
+ deltaSpecs?: {
1436
+ specId: string;
1437
+ content: string;
1438
+ }[] | undefined;
1439
+ }, {
1440
+ id: string;
1441
+ name: string;
1380
1442
  trackedTaskProgress: {
1381
1443
  source: {
1382
1444
  kind: "artifact";
@@ -1396,8 +1458,8 @@ declare const ChangeSchema: z.ZodObject<{
1396
1458
  };
1397
1459
  tasks: {
1398
1460
  id: string;
1399
- text: string;
1400
1461
  completed: boolean;
1462
+ text: string;
1401
1463
  location: {
1402
1464
  filePath: string;
1403
1465
  taskIndex: number;
@@ -1409,36 +1471,6 @@ declare const ChangeSchema: z.ZodObject<{
1409
1471
  completed: number;
1410
1472
  phase: "no-tasks" | "complete" | "in-progress";
1411
1473
  };
1412
- documentChecklistSummary: {
1413
- groups: {
1414
- tasks: {
1415
- id: string;
1416
- text: string;
1417
- completed: boolean;
1418
- section?: string | undefined;
1419
- }[];
1420
- total: number;
1421
- remaining: number;
1422
- completed: number;
1423
- filePath: string;
1424
- artifactIds: string[];
1425
- }[];
1426
- total: number;
1427
- remaining: number;
1428
- completed: number;
1429
- };
1430
- metadata?: {
1431
- version: string;
1432
- format: "openspec-change";
1433
- } | undefined;
1434
- design?: string | undefined;
1435
- deltaSpecs?: {
1436
- specId: string;
1437
- content: string;
1438
- }[] | undefined;
1439
- }, {
1440
- id: string;
1441
- name: string;
1442
1474
  why: string;
1443
1475
  whatChanges: string;
1444
1476
  deltas: {
@@ -1449,77 +1481,48 @@ declare const ChangeSchema: z.ZodObject<{
1449
1481
  id: string;
1450
1482
  text: string;
1451
1483
  title: string;
1484
+ bodyMarkdown: string;
1452
1485
  scenarios: {
1453
1486
  title: string;
1454
1487
  rawText: string;
1455
1488
  bodyMarkdown: string;
1456
1489
  steps?: {
1457
- rawText: string;
1458
1490
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
1459
1491
  contentMarkdown: string;
1492
+ rawText: string;
1460
1493
  }[] | undefined;
1461
1494
  }[];
1462
- bodyMarkdown: string;
1463
1495
  }[] | undefined;
1464
1496
  requirement?: {
1465
1497
  id: string;
1466
1498
  text: string;
1467
1499
  title: string;
1500
+ bodyMarkdown: string;
1468
1501
  scenarios: {
1469
1502
  title: string;
1470
1503
  rawText: string;
1471
1504
  bodyMarkdown: string;
1472
1505
  steps?: {
1473
- rawText: string;
1474
1506
  keyword: "GIVEN" | "WHEN" | "THEN" | "AND" | "BUT";
1475
1507
  contentMarkdown: string;
1508
+ rawText: string;
1476
1509
  }[] | undefined;
1477
1510
  }[];
1478
- bodyMarkdown: string;
1479
1511
  } | undefined;
1480
1512
  rename?: {
1481
1513
  from: string;
1482
1514
  to: string;
1483
1515
  } | undefined;
1484
1516
  }[];
1485
- trackedTaskProgress: {
1486
- source: {
1487
- kind: "artifact";
1488
- outputPath: string;
1489
- artifactId: string;
1490
- filePaths: string[];
1491
- } | {
1492
- kind: "top-level-fallback";
1493
- outputPath: "tasks.md";
1494
- artifactId: null;
1495
- filePaths: ["tasks.md"];
1496
- } | {
1497
- kind: "none";
1498
- outputPath: null;
1499
- artifactId: null;
1500
- filePaths: [];
1501
- };
1502
- tasks: {
1503
- id: string;
1504
- text: string;
1505
- completed: boolean;
1506
- location: {
1507
- filePath: string;
1508
- taskIndex: number;
1509
- };
1510
- section?: string | undefined;
1511
- }[];
1517
+ documentChecklistSummary: {
1512
1518
  total: number;
1513
1519
  remaining: number;
1514
1520
  completed: number;
1515
- phase: "no-tasks" | "complete" | "in-progress";
1516
- };
1517
- documentChecklistSummary: {
1518
1521
  groups: {
1519
1522
  tasks: {
1520
1523
  id: string;
1521
- text: string;
1522
1524
  completed: boolean;
1525
+ text: string;
1523
1526
  section?: string | undefined;
1524
1527
  }[];
1525
1528
  total: number;
@@ -1528,9 +1531,6 @@ declare const ChangeSchema: z.ZodObject<{
1528
1531
  filePath: string;
1529
1532
  artifactIds: string[];
1530
1533
  }[];
1531
- total: number;
1532
- remaining: number;
1533
- completed: number;
1534
1534
  };
1535
1535
  metadata?: {
1536
1536
  version?: string | undefined;