@openspecui/core 12.0.0 → 13.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 (51) hide show
  1. package/dist/{active-root-config-Ba57tJrq.d.mts → active-root-config-_ZXqUzpc.d.mts} +5 -5
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/app-daemon-control.d.mts +8 -8
  4. package/dist/{cli-projection-CvtX601c.d.mts → cli-projection-D932MJzB.d.mts} +9 -9
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/{command-result-DbXO8ZgG.mjs → command-result-Eq147Dt4.mjs} +8 -1
  7. package/dist/{dashboard-summary-transport-edeWQPi7.d.mts → dashboard-summary-transport-DS-bPqn1.d.mts} +1315 -1278
  8. package/dist/dashboard-summary-transport.d.mts +18 -18
  9. package/dist/{document-translation-CGMD0RLA.d.mts → document-translation-DM2eydNr.d.mts} +2 -2
  10. package/dist/document-translation.d.mts +1 -1
  11. package/dist/hosted-app.d.mts +18 -18
  12. package/dist/hosted-contract.d.mts +18 -18
  13. package/dist/{index-D9qYKNqh.d.mts → index-zESQZeBd.d.mts} +77 -70
  14. package/dist/index.d.mts +18 -18
  15. package/dist/index.mjs +44 -33
  16. package/dist/{local-download-profiles-DaFozMhH.d.mts → local-download-profiles-Dj0nGG1k.d.mts} +1 -1
  17. package/dist/local-download-profiles.d.mts +2 -2
  18. package/dist/{notifications-Dkoh_xrs.d.mts → notifications-DwiGoWFM.d.mts} +12 -12
  19. package/dist/notifications.d.mts +2 -2
  20. package/dist/{openspec-compat-CpMO8-dz.mjs → openspec-compat-CNMMuTot.mjs} +15 -14
  21. package/dist/openspec-compat.d.mts +4 -4
  22. package/dist/openspec-compat.mjs +2 -2
  23. package/dist/{openspec-projection-46QLZ6b8.d.mts → openspec-projection-MyG567IF.d.mts} +1 -1
  24. package/dist/openspec-projection.d.mts +2 -2
  25. package/dist/{opsx-entity-Btqm5OhC.d.mts → opsx-entity-BsYtWdkc.d.mts} +2 -2
  26. package/dist/opsx-entity.d.mts +7 -7
  27. package/dist/{opsx-schema-detail-C4VyWZ8B.d.mts → opsx-schema-detail-Cbg1qHlw.d.mts} +2 -2
  28. package/dist/opsx-schema-detail.d.mts +8 -8
  29. package/dist/{opsx-types-hVFHL9Cb.d.mts → opsx-types-8fxRIEhj.d.mts} +102 -80
  30. package/dist/{planning-cli-projection-BUU26bEw.mjs → planning-cli-projection-CttkbBh9.mjs} +11 -3
  31. package/dist/planning-cli-projection.d.mts +18 -18
  32. package/dist/planning-cli-projection.mjs +3 -3
  33. package/dist/{schemas-Ce7B_SNx.d.mts → schemas-CdprtB2t.d.mts} +112 -112
  34. package/dist/{sounds-DzDkqTIX.d.mts → sounds-BCmBc3Lm.d.mts} +9 -9
  35. package/dist/sounds.d.mts +1 -1
  36. package/dist/{spec-catalog-DshONoJ9.mjs → spec-catalog-DYJ4dxTY.mjs} +1 -1
  37. package/dist/spec-catalog.d.mts +18 -18
  38. package/dist/spec-catalog.mjs +2 -2
  39. package/dist/{store-mutation-protocol-DHjp76v0.d.mts → store-mutation-protocol-C9xgZkNh.d.mts} +48 -48
  40. package/dist/store-mutation-protocol.d.mts +1 -1
  41. package/dist/{store-types-vKTsXtfb.d.mts → store-types-Ch6RIfO6.d.mts} +1 -1
  42. package/dist/store-types.d.mts +5 -5
  43. package/dist/task-progress.d.mts +6 -6
  44. package/dist/{terminal-audio-C6kc0fbX.d.mts → terminal-audio-uas32Aa-.d.mts} +2 -2
  45. package/dist/terminal-audio.d.mts +2 -2
  46. package/dist/terminal-control.d.mts +2 -2
  47. package/dist/{terminal-invocation-zNp8J57-.d.mts → terminal-invocation-DSEgzEiU.d.mts} +125 -125
  48. package/dist/terminal-invocation.d.mts +1 -1
  49. package/dist/{translator-DZO_bY1X.d.mts → translator-2hRDPD9f.d.mts} +61 -61
  50. package/dist/translator.d.mts +1 -1
  51. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
- import { Ct as CliJsonValue } from "./index-D9qYKNqh.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-Ce7B_SNx.mjs";
1
+ import { Ct as CliJsonValue } from "./index-zESQZeBd.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-CdprtB2t.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -406,14 +406,14 @@ declare const ArtifactStatusSchema: z.ZodObject<{
406
406
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
407
  relativePath: z.ZodOptional<z.ZodString>;
408
408
  }, "strip", z.ZodTypeAny, {
409
- status: "done" | "skipped" | "ready" | "blocked";
409
+ status: "ready" | "done" | "skipped" | "blocked";
410
410
  id: string;
411
411
  outputPath: string;
412
412
  requires: string[];
413
413
  missingDeps?: string[] | undefined;
414
414
  relativePath?: string | undefined;
415
415
  }, {
416
- status: "done" | "skipped" | "ready" | "blocked";
416
+ status: "ready" | "done" | "skipped" | "blocked";
417
417
  id: string;
418
418
  outputPath: string;
419
419
  requires: string[];
@@ -435,14 +435,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
435
435
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
436
436
  relativePath: z.ZodOptional<z.ZodString>;
437
437
  }, "strip", z.ZodTypeAny, {
438
- status: "done" | "skipped" | "ready" | "blocked";
438
+ status: "ready" | "done" | "skipped" | "blocked";
439
439
  id: string;
440
440
  outputPath: string;
441
441
  requires: string[];
442
442
  missingDeps?: string[] | undefined;
443
443
  relativePath?: string | undefined;
444
444
  }, {
445
- status: "done" | "skipped" | "ready" | "blocked";
445
+ status: "ready" | "done" | "skipped" | "blocked";
446
446
  id: string;
447
447
  outputPath: string;
448
448
  requires: string[];
@@ -822,7 +822,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
822
822
  isPlanningComplete: boolean;
823
823
  applyRequires: string[];
824
824
  artifacts: {
825
- status: "done" | "skipped" | "ready" | "blocked";
825
+ status: "ready" | "done" | "skipped" | "blocked";
826
826
  id: string;
827
827
  outputPath: string;
828
828
  requires: string[];
@@ -901,7 +901,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
901
901
  isPlanningComplete: boolean;
902
902
  applyRequires: string[];
903
903
  artifacts: {
904
- status: "done" | "skipped" | "ready" | "blocked";
904
+ status: "ready" | "done" | "skipped" | "blocked";
905
905
  id: string;
906
906
  outputPath: string;
907
907
  requires: string[];
@@ -985,14 +985,14 @@ declare const DependencyInfoSchema: z.ZodObject<{
985
985
  }, "strip", z.ZodTypeAny, {
986
986
  path: string;
987
987
  id: string;
988
- done: boolean;
989
988
  description: string;
989
+ done: boolean;
990
990
  skipped?: boolean | undefined;
991
991
  }, {
992
992
  path: string;
993
993
  id: string;
994
- done: boolean;
995
994
  description: string;
995
+ done: boolean;
996
996
  skipped?: boolean | undefined;
997
997
  }>;
998
998
  type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
@@ -1002,12 +1002,12 @@ declare const ApplyTaskSchema: z.ZodObject<{
1002
1002
  done: z.ZodBoolean;
1003
1003
  }, "strip", z.ZodTypeAny, {
1004
1004
  id: string;
1005
- done: boolean;
1006
1005
  description: string;
1006
+ done: boolean;
1007
1007
  }, {
1008
1008
  id: string;
1009
- done: boolean;
1010
1009
  description: string;
1010
+ done: boolean;
1011
1011
  }>;
1012
1012
  type ApplyTask = z.infer<typeof ApplyTaskSchema>;
1013
1013
  declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
@@ -1023,15 +1023,17 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1023
1023
  done: z.ZodBoolean;
1024
1024
  }, "strip", z.ZodTypeAny, {
1025
1025
  id: string;
1026
- done: boolean;
1027
1026
  description: string;
1027
+ done: boolean;
1028
1028
  }, {
1029
1029
  id: string;
1030
- done: boolean;
1031
1030
  description: string;
1031
+ done: boolean;
1032
1032
  }>, "many">;
1033
1033
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1034
1034
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1035
+ missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1036
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1035
1037
  instruction: z.ZodString;
1036
1038
  references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1037
1039
  store_id: z.ZodString;
@@ -1322,8 +1324,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1322
1324
  phase: "no-tasks" | "complete" | "in-progress";
1323
1325
  }>;
1324
1326
  }, "strip", z.ZodTypeAny, {
1325
- kind: "tracked-task-mismatch";
1326
1327
  message: string;
1328
+ kind: "tracked-task-mismatch";
1327
1329
  apply: {
1328
1330
  complete: number;
1329
1331
  total: number;
@@ -1336,8 +1338,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1336
1338
  phase: "no-tasks" | "complete" | "in-progress";
1337
1339
  };
1338
1340
  }, {
1339
- kind: "tracked-task-mismatch";
1340
1341
  message: string;
1342
+ kind: "tracked-task-mismatch";
1341
1343
  apply: {
1342
1344
  complete: number;
1343
1345
  total: number;
@@ -1351,14 +1353,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1351
1353
  };
1352
1354
  }>>;
1353
1355
  }, "strip", z.ZodTypeAny, {
1356
+ state: "ready" | "blocked" | "all_done";
1354
1357
  source: "openspec-instructions-apply";
1355
1358
  complete: number;
1356
- state: "ready" | "blocked" | "all_done";
1357
1359
  total: number;
1358
1360
  remaining: number;
1359
1361
  divergence: {
1360
- kind: "tracked-task-mismatch";
1361
1362
  message: string;
1363
+ kind: "tracked-task-mismatch";
1362
1364
  apply: {
1363
1365
  complete: number;
1364
1366
  total: number;
@@ -1372,14 +1374,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1372
1374
  };
1373
1375
  } | null;
1374
1376
  }, {
1377
+ state: "ready" | "blocked" | "all_done";
1375
1378
  source: "openspec-instructions-apply";
1376
1379
  complete: number;
1377
- state: "ready" | "blocked" | "all_done";
1378
1380
  total: number;
1379
1381
  remaining: number;
1380
1382
  divergence: {
1381
- kind: "tracked-task-mismatch";
1382
1383
  message: string;
1384
+ kind: "tracked-task-mismatch";
1383
1385
  apply: {
1384
1386
  complete: number;
1385
1387
  total: number;
@@ -1394,6 +1396,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1394
1396
  } | null;
1395
1397
  }>;
1396
1398
  }, "strip", z.ZodTypeAny, {
1399
+ state: "ready" | "blocked" | "all_done";
1397
1400
  changeName: string;
1398
1401
  schemaName: string;
1399
1402
  evidence: {
@@ -1427,19 +1430,18 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1427
1430
  contextFiles: Record<string, string[]>;
1428
1431
  tasks: {
1429
1432
  id: string;
1430
- done: boolean;
1431
1433
  description: string;
1434
+ done: boolean;
1432
1435
  }[];
1433
- state: "ready" | "blocked" | "all_done";
1434
1436
  applyInstructionProgress: {
1437
+ state: "ready" | "blocked" | "all_done";
1435
1438
  source: "openspec-instructions-apply";
1436
1439
  complete: number;
1437
- state: "ready" | "blocked" | "all_done";
1438
1440
  total: number;
1439
1441
  remaining: number;
1440
1442
  divergence: {
1441
- kind: "tracked-task-mismatch";
1442
1443
  message: string;
1444
+ kind: "tracked-task-mismatch";
1443
1445
  apply: {
1444
1446
  complete: number;
1445
1447
  total: number;
@@ -1490,8 +1492,11 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1490
1492
  fetch: z.ZodOptional<z.ZodString>;
1491
1493
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1492
1494
  missingArtifacts?: string[] | undefined;
1495
+ missingPrerequisites?: string[] | undefined;
1496
+ warnings?: string[] | undefined;
1493
1497
  operationGuidance?: string[] | undefined;
1494
1498
  }, {
1499
+ state: "ready" | "blocked" | "all_done";
1495
1500
  changeName: string;
1496
1501
  schemaName: string;
1497
1502
  evidence: {
@@ -1525,19 +1530,18 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1525
1530
  contextFiles: Record<string, string | string[]>;
1526
1531
  tasks: {
1527
1532
  id: string;
1528
- done: boolean;
1529
1533
  description: string;
1534
+ done: boolean;
1530
1535
  }[];
1531
- state: "ready" | "blocked" | "all_done";
1532
1536
  applyInstructionProgress: {
1537
+ state: "ready" | "blocked" | "all_done";
1533
1538
  source: "openspec-instructions-apply";
1534
1539
  complete: number;
1535
- state: "ready" | "blocked" | "all_done";
1536
1540
  total: number;
1537
1541
  remaining: number;
1538
1542
  divergence: {
1539
- kind: "tracked-task-mismatch";
1540
1543
  message: string;
1544
+ kind: "tracked-task-mismatch";
1541
1545
  apply: {
1542
1546
  complete: number;
1543
1547
  total: number;
@@ -1588,6 +1592,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1588
1592
  fetch: z.ZodOptional<z.ZodString>;
1589
1593
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1590
1594
  missingArtifacts?: string[] | undefined;
1595
+ missingPrerequisites?: string[] | undefined;
1596
+ warnings?: string[] | undefined;
1591
1597
  operationGuidance?: string[] | undefined;
1592
1598
  }>;
1593
1599
  declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
@@ -1614,15 +1620,17 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1614
1620
  done: z.ZodBoolean;
1615
1621
  }, "strip", z.ZodTypeAny, {
1616
1622
  id: string;
1617
- done: boolean;
1618
1623
  description: string;
1624
+ done: boolean;
1619
1625
  }, {
1620
1626
  id: string;
1621
- done: boolean;
1622
1627
  description: string;
1628
+ done: boolean;
1623
1629
  }>, "many">;
1624
1630
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1625
1631
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1632
+ missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1633
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1626
1634
  instruction: z.ZodString;
1627
1635
  references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1628
1636
  store_id: z.ZodString;
@@ -1875,6 +1883,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1875
1883
  command: z.ZodLiteral<"instructions apply">;
1876
1884
  }, z.ZodTypeAny, "passthrough">>;
1877
1885
  }, "strip", z.ZodTypeAny, {
1886
+ state: "ready" | "blocked" | "all_done";
1878
1887
  changeName: string;
1879
1888
  schemaName: string;
1880
1889
  evidence: {
@@ -1908,10 +1917,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1908
1917
  contextFiles: Record<string, string[]>;
1909
1918
  tasks: {
1910
1919
  id: string;
1911
- done: boolean;
1912
1920
  description: string;
1921
+ done: boolean;
1913
1922
  }[];
1914
- state: "ready" | "blocked" | "all_done";
1915
1923
  progress: {
1916
1924
  complete: number;
1917
1925
  total: number;
@@ -1954,8 +1962,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1954
1962
  fetch: z.ZodOptional<z.ZodString>;
1955
1963
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1956
1964
  missingArtifacts?: string[] | undefined;
1965
+ missingPrerequisites?: string[] | undefined;
1966
+ warnings?: string[] | undefined;
1957
1967
  operationGuidance?: string[] | undefined;
1958
1968
  }, {
1969
+ state: "ready" | "blocked" | "all_done";
1959
1970
  changeName: string;
1960
1971
  schemaName: string;
1961
1972
  evidence: {
@@ -1989,10 +2000,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1989
2000
  contextFiles: Record<string, string | string[]>;
1990
2001
  tasks: {
1991
2002
  id: string;
1992
- done: boolean;
1993
2003
  description: string;
2004
+ done: boolean;
1994
2005
  }[];
1995
- state: "ready" | "blocked" | "all_done";
1996
2006
  progress: {
1997
2007
  complete: number;
1998
2008
  total: number;
@@ -2035,9 +2045,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2035
2045
  fetch: z.ZodOptional<z.ZodString>;
2036
2046
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2037
2047
  missingArtifacts?: string[] | undefined;
2048
+ missingPrerequisites?: string[] | undefined;
2049
+ warnings?: string[] | undefined;
2038
2050
  operationGuidance?: string[] | undefined;
2039
2051
  }>, {
2040
2052
  applyInstructionProgress: ApplyInstructionProgress;
2053
+ state: "ready" | "blocked" | "all_done";
2041
2054
  changeName: string;
2042
2055
  schemaName: string;
2043
2056
  evidence: {
@@ -2071,10 +2084,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2071
2084
  contextFiles: Record<string, string[]>;
2072
2085
  tasks: {
2073
2086
  id: string;
2074
- done: boolean;
2075
2087
  description: string;
2088
+ done: boolean;
2076
2089
  }[];
2077
- state: "ready" | "blocked" | "all_done";
2078
2090
  context?: string | undefined;
2079
2091
  references?: z.objectOutputType<{
2080
2092
  store_id: z.ZodString;
@@ -2112,8 +2124,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2112
2124
  fetch: z.ZodOptional<z.ZodString>;
2113
2125
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2114
2126
  missingArtifacts?: string[] | undefined;
2127
+ missingPrerequisites?: string[] | undefined;
2128
+ warnings?: string[] | undefined;
2115
2129
  operationGuidance?: string[] | undefined;
2116
2130
  }, {
2131
+ state: "ready" | "blocked" | "all_done";
2117
2132
  changeName: string;
2118
2133
  schemaName: string;
2119
2134
  evidence: {
@@ -2147,10 +2162,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2147
2162
  contextFiles: Record<string, string | string[]>;
2148
2163
  tasks: {
2149
2164
  id: string;
2150
- done: boolean;
2151
2165
  description: string;
2166
+ done: boolean;
2152
2167
  }[];
2153
- state: "ready" | "blocked" | "all_done";
2154
2168
  progress: {
2155
2169
  complete: number;
2156
2170
  total: number;
@@ -2193,6 +2207,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2193
2207
  fetch: z.ZodOptional<z.ZodString>;
2194
2208
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2195
2209
  missingArtifacts?: string[] | undefined;
2210
+ missingPrerequisites?: string[] | undefined;
2211
+ warnings?: string[] | undefined;
2196
2212
  operationGuidance?: string[] | undefined;
2197
2213
  }>, z.ZodObject<{
2198
2214
  changeName: z.ZodString;
@@ -2205,15 +2221,17 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2205
2221
  done: z.ZodBoolean;
2206
2222
  }, "strip", z.ZodTypeAny, {
2207
2223
  id: string;
2208
- done: boolean;
2209
2224
  description: string;
2225
+ done: boolean;
2210
2226
  }, {
2211
2227
  id: string;
2212
- done: boolean;
2213
2228
  description: string;
2229
+ done: boolean;
2214
2230
  }>, "many">;
2215
2231
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
2216
2232
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2233
+ missingPrerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2234
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2217
2235
  instruction: z.ZodString;
2218
2236
  references: z.ZodOptional<z.ZodArray<z.ZodObject<{
2219
2237
  store_id: z.ZodString;
@@ -2504,8 +2522,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2504
2522
  phase: "no-tasks" | "complete" | "in-progress";
2505
2523
  }>;
2506
2524
  }, "strip", z.ZodTypeAny, {
2507
- kind: "tracked-task-mismatch";
2508
2525
  message: string;
2526
+ kind: "tracked-task-mismatch";
2509
2527
  apply: {
2510
2528
  complete: number;
2511
2529
  total: number;
@@ -2518,8 +2536,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2518
2536
  phase: "no-tasks" | "complete" | "in-progress";
2519
2537
  };
2520
2538
  }, {
2521
- kind: "tracked-task-mismatch";
2522
2539
  message: string;
2540
+ kind: "tracked-task-mismatch";
2523
2541
  apply: {
2524
2542
  complete: number;
2525
2543
  total: number;
@@ -2533,14 +2551,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2533
2551
  };
2534
2552
  }>>;
2535
2553
  }, "strip", z.ZodTypeAny, {
2554
+ state: "ready" | "blocked" | "all_done";
2536
2555
  source: "openspec-instructions-apply";
2537
2556
  complete: number;
2538
- state: "ready" | "blocked" | "all_done";
2539
2557
  total: number;
2540
2558
  remaining: number;
2541
2559
  divergence: {
2542
- kind: "tracked-task-mismatch";
2543
2560
  message: string;
2561
+ kind: "tracked-task-mismatch";
2544
2562
  apply: {
2545
2563
  complete: number;
2546
2564
  total: number;
@@ -2554,14 +2572,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2554
2572
  };
2555
2573
  } | null;
2556
2574
  }, {
2575
+ state: "ready" | "blocked" | "all_done";
2557
2576
  source: "openspec-instructions-apply";
2558
2577
  complete: number;
2559
- state: "ready" | "blocked" | "all_done";
2560
2578
  total: number;
2561
2579
  remaining: number;
2562
2580
  divergence: {
2563
- kind: "tracked-task-mismatch";
2564
2581
  message: string;
2582
+ kind: "tracked-task-mismatch";
2565
2583
  apply: {
2566
2584
  complete: number;
2567
2585
  total: number;
@@ -2576,6 +2594,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2576
2594
  } | null;
2577
2595
  }>;
2578
2596
  }, "strip", z.ZodTypeAny, {
2597
+ state: "ready" | "blocked" | "all_done";
2579
2598
  changeName: string;
2580
2599
  schemaName: string;
2581
2600
  evidence: {
@@ -2609,19 +2628,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2609
2628
  contextFiles: Record<string, string[]>;
2610
2629
  tasks: {
2611
2630
  id: string;
2612
- done: boolean;
2613
2631
  description: string;
2632
+ done: boolean;
2614
2633
  }[];
2615
- state: "ready" | "blocked" | "all_done";
2616
2634
  applyInstructionProgress: {
2635
+ state: "ready" | "blocked" | "all_done";
2617
2636
  source: "openspec-instructions-apply";
2618
2637
  complete: number;
2619
- state: "ready" | "blocked" | "all_done";
2620
2638
  total: number;
2621
2639
  remaining: number;
2622
2640
  divergence: {
2623
- kind: "tracked-task-mismatch";
2624
2641
  message: string;
2642
+ kind: "tracked-task-mismatch";
2625
2643
  apply: {
2626
2644
  complete: number;
2627
2645
  total: number;
@@ -2672,8 +2690,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2672
2690
  fetch: z.ZodOptional<z.ZodString>;
2673
2691
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2674
2692
  missingArtifacts?: string[] | undefined;
2693
+ missingPrerequisites?: string[] | undefined;
2694
+ warnings?: string[] | undefined;
2675
2695
  operationGuidance?: string[] | undefined;
2676
2696
  }, {
2697
+ state: "ready" | "blocked" | "all_done";
2677
2698
  changeName: string;
2678
2699
  schemaName: string;
2679
2700
  evidence: {
@@ -2707,19 +2728,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2707
2728
  contextFiles: Record<string, string | string[]>;
2708
2729
  tasks: {
2709
2730
  id: string;
2710
- done: boolean;
2711
2731
  description: string;
2732
+ done: boolean;
2712
2733
  }[];
2713
- state: "ready" | "blocked" | "all_done";
2714
2734
  applyInstructionProgress: {
2735
+ state: "ready" | "blocked" | "all_done";
2715
2736
  source: "openspec-instructions-apply";
2716
2737
  complete: number;
2717
- state: "ready" | "blocked" | "all_done";
2718
2738
  total: number;
2719
2739
  remaining: number;
2720
2740
  divergence: {
2721
- kind: "tracked-task-mismatch";
2722
2741
  message: string;
2742
+ kind: "tracked-task-mismatch";
2723
2743
  apply: {
2724
2744
  complete: number;
2725
2745
  total: number;
@@ -2770,6 +2790,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2770
2790
  fetch: z.ZodOptional<z.ZodString>;
2771
2791
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2772
2792
  missingArtifacts?: string[] | undefined;
2793
+ missingPrerequisites?: string[] | undefined;
2794
+ warnings?: string[] | undefined;
2773
2795
  operationGuidance?: string[] | undefined;
2774
2796
  }>>;
2775
2797
  type ApplyInstructions = z.infer<typeof ApplyInstructionsSchema>;
@@ -3004,14 +3026,14 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3004
3026
  }, "strip", z.ZodTypeAny, {
3005
3027
  path: string;
3006
3028
  id: string;
3007
- done: boolean;
3008
3029
  description: string;
3030
+ done: boolean;
3009
3031
  skipped?: boolean | undefined;
3010
3032
  }, {
3011
3033
  path: string;
3012
3034
  id: string;
3013
- done: boolean;
3014
3035
  description: string;
3036
+ done: boolean;
3015
3037
  skipped?: boolean | undefined;
3016
3038
  }>, "many">;
3017
3039
  unlocks: z.ZodArray<z.ZodString, "many">;
@@ -3264,6 +3286,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3264
3286
  command: z.ZodLiteral<"instructions">;
3265
3287
  }, z.ZodTypeAny, "passthrough">>;
3266
3288
  }, "strip", z.ZodTypeAny, {
3289
+ description: string;
3290
+ template: string;
3267
3291
  changeName: string;
3268
3292
  schemaName: string;
3269
3293
  outputPath: string;
@@ -3295,13 +3319,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3295
3319
  };
3296
3320
  artifactId: string;
3297
3321
  changeDir: string;
3298
- description: string;
3299
- template: string;
3300
3322
  dependencies: {
3301
3323
  path: string;
3302
3324
  id: string;
3303
- done: boolean;
3304
3325
  description: string;
3326
+ done: boolean;
3305
3327
  skipped?: boolean | undefined;
3306
3328
  }[];
3307
3329
  unlocks: string[];
@@ -3344,6 +3366,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3344
3366
  fetch: z.ZodOptional<z.ZodString>;
3345
3367
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3346
3368
  }, {
3369
+ description: string;
3370
+ template: string;
3347
3371
  changeName: string;
3348
3372
  schemaName: string;
3349
3373
  outputPath: string;
@@ -3375,13 +3399,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3375
3399
  };
3376
3400
  artifactId: string;
3377
3401
  changeDir: string;
3378
- description: string;
3379
- template: string;
3380
3402
  dependencies: {
3381
3403
  path: string;
3382
3404
  id: string;
3383
- done: boolean;
3384
3405
  description: string;
3406
+ done: boolean;
3385
3407
  skipped?: boolean | undefined;
3386
3408
  }[];
3387
3409
  unlocks: string[];
@@ -3542,15 +3564,15 @@ declare const SchemaArtifactSchema: z.ZodObject<{
3542
3564
  outputPath: string;
3543
3565
  requires: string[];
3544
3566
  description?: string | undefined;
3545
- instruction?: string | undefined;
3546
3567
  template?: string | undefined;
3568
+ instruction?: string | undefined;
3547
3569
  }, {
3548
3570
  id: string;
3549
3571
  outputPath: string;
3550
3572
  requires: string[];
3551
3573
  description?: string | undefined;
3552
- instruction?: string | undefined;
3553
3574
  template?: string | undefined;
3575
+ instruction?: string | undefined;
3554
3576
  }>;
3555
3577
  type SchemaArtifact = z.infer<typeof SchemaArtifactSchema>;
3556
3578
  declare const SchemaDetailSchema: z.ZodObject<{
@@ -3569,45 +3591,45 @@ declare const SchemaDetailSchema: z.ZodObject<{
3569
3591
  outputPath: string;
3570
3592
  requires: string[];
3571
3593
  description?: string | undefined;
3572
- instruction?: string | undefined;
3573
3594
  template?: string | undefined;
3595
+ instruction?: string | undefined;
3574
3596
  }, {
3575
3597
  id: string;
3576
3598
  outputPath: string;
3577
3599
  requires: string[];
3578
3600
  description?: string | undefined;
3579
- instruction?: string | undefined;
3580
3601
  template?: string | undefined;
3602
+ instruction?: string | undefined;
3581
3603
  }>, "many">;
3582
3604
  applyRequires: z.ZodArray<z.ZodString, "many">;
3583
3605
  applyTracks: z.ZodOptional<z.ZodString>;
3584
3606
  applyInstruction: z.ZodOptional<z.ZodString>;
3585
3607
  }, "strip", z.ZodTypeAny, {
3608
+ name: string;
3586
3609
  applyRequires: string[];
3587
3610
  artifacts: {
3588
3611
  id: string;
3589
3612
  outputPath: string;
3590
3613
  requires: string[];
3591
3614
  description?: string | undefined;
3592
- instruction?: string | undefined;
3593
3615
  template?: string | undefined;
3616
+ instruction?: string | undefined;
3594
3617
  }[];
3595
- name: string;
3596
3618
  description?: string | undefined;
3597
3619
  version?: string | number | undefined;
3598
3620
  applyTracks?: string | undefined;
3599
3621
  applyInstruction?: string | undefined;
3600
3622
  }, {
3623
+ name: string;
3601
3624
  applyRequires: string[];
3602
3625
  artifacts: {
3603
3626
  id: string;
3604
3627
  outputPath: string;
3605
3628
  requires: string[];
3606
3629
  description?: string | undefined;
3607
- instruction?: string | undefined;
3608
3630
  template?: string | undefined;
3631
+ instruction?: string | undefined;
3609
3632
  }[];
3610
- name: string;
3611
3633
  description?: string | undefined;
3612
3634
  version?: string | number | undefined;
3613
3635
  applyTracks?: string | undefined;
@@ -3648,45 +3670,45 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3648
3670
  outputPath: string;
3649
3671
  requires: string[];
3650
3672
  description?: string | undefined;
3651
- instruction?: string | undefined;
3652
3673
  template?: string | undefined;
3674
+ instruction?: string | undefined;
3653
3675
  }, {
3654
3676
  id: string;
3655
3677
  outputPath: string;
3656
3678
  requires: string[];
3657
3679
  description?: string | undefined;
3658
- instruction?: string | undefined;
3659
3680
  template?: string | undefined;
3681
+ instruction?: string | undefined;
3660
3682
  }>, "many">;
3661
3683
  applyRequires: z.ZodArray<z.ZodString, "many">;
3662
3684
  applyTracks: z.ZodOptional<z.ZodString>;
3663
3685
  applyInstruction: z.ZodOptional<z.ZodString>;
3664
3686
  }, "strip", z.ZodTypeAny, {
3687
+ name: string;
3665
3688
  applyRequires: string[];
3666
3689
  artifacts: {
3667
3690
  id: string;
3668
3691
  outputPath: string;
3669
3692
  requires: string[];
3670
3693
  description?: string | undefined;
3671
- instruction?: string | undefined;
3672
3694
  template?: string | undefined;
3695
+ instruction?: string | undefined;
3673
3696
  }[];
3674
- name: string;
3675
3697
  description?: string | undefined;
3676
3698
  version?: string | number | undefined;
3677
3699
  applyTracks?: string | undefined;
3678
3700
  applyInstruction?: string | undefined;
3679
3701
  }, {
3702
+ name: string;
3680
3703
  applyRequires: string[];
3681
3704
  artifacts: {
3682
3705
  id: string;
3683
3706
  outputPath: string;
3684
3707
  requires: string[];
3685
3708
  description?: string | undefined;
3686
- instruction?: string | undefined;
3687
3709
  template?: string | undefined;
3710
+ instruction?: string | undefined;
3688
3711
  }[];
3689
- name: string;
3690
3712
  description?: string | undefined;
3691
3713
  version?: string | number | undefined;
3692
3714
  applyTracks?: string | undefined;
@@ -3767,16 +3789,16 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3767
3789
  source: z.ZodEnum<["project", "user", "package"]>;
3768
3790
  }, z.ZodTypeAny, "passthrough">[];
3769
3791
  schemaDetails: Record<string, {
3792
+ name: string;
3770
3793
  applyRequires: string[];
3771
3794
  artifacts: {
3772
3795
  id: string;
3773
3796
  outputPath: string;
3774
3797
  requires: string[];
3775
3798
  description?: string | undefined;
3776
- instruction?: string | undefined;
3777
3799
  template?: string | undefined;
3800
+ instruction?: string | undefined;
3778
3801
  }[];
3779
- name: string;
3780
3802
  description?: string | undefined;
3781
3803
  version?: string | number | undefined;
3782
3804
  applyTracks?: string | undefined;
@@ -3813,16 +3835,16 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3813
3835
  source: z.ZodEnum<["project", "user", "package"]>;
3814
3836
  }, z.ZodTypeAny, "passthrough">[];
3815
3837
  schemaDetails: Record<string, {
3838
+ name: string;
3816
3839
  applyRequires: string[];
3817
3840
  artifacts: {
3818
3841
  id: string;
3819
3842
  outputPath: string;
3820
3843
  requires: string[];
3821
3844
  description?: string | undefined;
3822
- instruction?: string | undefined;
3823
3845
  template?: string | undefined;
3846
+ instruction?: string | undefined;
3824
3847
  }[];
3825
- name: string;
3826
3848
  description?: string | undefined;
3827
3849
  version?: string | number | undefined;
3828
3850
  applyTracks?: string | undefined;