@openspecui/core 11.1.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-CsFtntHf.d.mts → active-root-config-_ZXqUzpc.d.mts} +17 -17
  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-Dd5Gdqa2.d.mts → cli-projection-D932MJzB.d.mts} +17 -17
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/{command-result-DWMmDl6I.mjs → command-result-Eq147Dt4.mjs} +113 -13
  7. package/dist/{dashboard-summary-transport-wRH7oVWM.d.mts → dashboard-summary-transport-DS-bPqn1.d.mts} +4436 -4344
  8. package/dist/dashboard-summary-transport.d.mts +18 -18
  9. package/dist/{document-translation-OvsFNs-H.d.mts → document-translation-DM2eydNr.d.mts} +100 -100
  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-jbHV-sxg.d.mts → index-zESQZeBd.d.mts} +2265 -232
  14. package/dist/index.d.mts +19 -19
  15. package/dist/index.mjs +138 -59
  16. package/dist/{local-download-profiles-DXNExauZ.d.mts → local-download-profiles-Dj0nGG1k.d.mts} +1 -1
  17. package/dist/local-download-profiles.d.mts +2 -2
  18. package/dist/{notifications-B8Ael_hq.d.mts → notifications-DwiGoWFM.d.mts} +17 -17
  19. package/dist/notifications.d.mts +2 -2
  20. package/dist/{openspec-compat-DctIDxRM.mjs → openspec-compat-CNMMuTot.mjs} +21 -16
  21. package/dist/openspec-compat.d.mts +5 -5
  22. package/dist/openspec-compat.mjs +3 -3
  23. package/dist/{openspec-projection-xOnjhQ7v.d.mts → openspec-projection-MyG567IF.d.mts} +1 -1
  24. package/dist/openspec-projection.d.mts +2 -2
  25. package/dist/{opsx-entity-Dc4XotlR.d.mts → opsx-entity-BsYtWdkc.d.mts} +2 -2
  26. package/dist/opsx-entity.d.mts +7 -7
  27. package/dist/{opsx-schema-detail-BJ6wzYhq.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-CnZ4dsxb.d.mts → opsx-types-8fxRIEhj.d.mts} +267 -245
  30. package/dist/{planning-cli-projection-pq8vZC1r.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-pfpqDlAd.d.mts → schemas-CdprtB2t.d.mts} +252 -252
  34. package/dist/{sounds-B0GiWqBN.d.mts → sounds-BCmBc3Lm.d.mts} +9 -9
  35. package/dist/sounds.d.mts +1 -1
  36. package/dist/{spec-catalog-BkX0tZp9.mjs → spec-catalog-DYJ4dxTY.mjs} +31 -2
  37. package/dist/spec-catalog.d.mts +18 -18
  38. package/dist/spec-catalog.mjs +2 -2
  39. package/dist/{store-mutation-protocol-DXeWtAvN.d.mts → store-mutation-protocol-C9xgZkNh.d.mts} +24 -24
  40. package/dist/store-mutation-protocol.d.mts +1 -1
  41. package/dist/{store-types-BLW7QE7W.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-BpfUW_eB.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-DROo1wu_.d.mts → terminal-invocation-DSEgzEiU.d.mts} +45 -45
  48. package/dist/terminal-invocation.d.mts +1 -1
  49. package/dist/{translator-C5z6a5C4.d.mts → translator-2hRDPD9f.d.mts} +221 -221
  50. package/dist/translator.d.mts +1 -1
  51. package/package.json +3 -1
@@ -1,5 +1,5 @@
1
- import { vt as CliJsonValue } from "./index-jbHV-sxg.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-pfpqDlAd.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
@@ -692,32 +692,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
692
692
  } & {
693
693
  [k: string]: unknown;
694
694
  };
695
- evidence: {
696
- success: boolean;
697
- stdout: string;
698
- stderr: string;
699
- exitCode: number | null;
700
- payload: CliJsonValue;
701
- diagnostics: z.objectOutputType<{
702
- severity: z.ZodEnum<["error", "warning", "info"]>;
703
- code: z.ZodString;
704
- message: z.ZodString;
705
- target: z.ZodOptional<z.ZodString>;
706
- fix: z.ZodOptional<z.ZodString>;
707
- }, z.ZodTypeAny, "passthrough">[];
708
- command: "status";
709
- selector: {
710
- store?: string | undefined;
711
- };
712
- contractError?: string | undefined;
713
- root?: z.objectOutputType<{
714
- path: z.ZodString;
715
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
716
- store_id: z.ZodOptional<z.ZodString>;
717
- }, z.ZodTypeAny, "passthrough"> | undefined;
718
- } & {
719
- [k: string]: unknown;
720
- };
721
695
  planningHome: {
722
696
  kind: "repo";
723
697
  root: string;
@@ -746,22 +720,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
746
720
  } & {
747
721
  [k: string]: unknown;
748
722
  };
749
- }, {
750
- kind: "cli";
751
- root: {
752
- path: string;
753
- source: "store" | "declared" | "nearest" | "global_default" | "implicit";
754
- store_id?: string | undefined;
755
- } & {
756
- [k: string]: unknown;
757
- };
758
723
  evidence: {
759
724
  success: boolean;
760
725
  stdout: string;
761
726
  stderr: string;
762
727
  exitCode: number | null;
763
728
  payload: CliJsonValue;
764
- diagnostics: z.objectInputType<{
729
+ diagnostics: z.objectOutputType<{
765
730
  severity: z.ZodEnum<["error", "warning", "info"]>;
766
731
  code: z.ZodString;
767
732
  message: z.ZodString;
@@ -773,7 +738,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
773
738
  store?: string | undefined;
774
739
  };
775
740
  contractError?: string | undefined;
776
- root?: z.objectInputType<{
741
+ root?: z.objectOutputType<{
777
742
  path: z.ZodString;
778
743
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
779
744
  store_id: z.ZodOptional<z.ZodString>;
@@ -781,6 +746,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
781
746
  } & {
782
747
  [k: string]: unknown;
783
748
  };
749
+ }, {
750
+ kind: "cli";
751
+ root: {
752
+ path: string;
753
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
754
+ store_id?: string | undefined;
755
+ } & {
756
+ [k: string]: unknown;
757
+ };
784
758
  planningHome: {
785
759
  kind: "repo";
786
760
  root: string;
@@ -809,6 +783,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
809
783
  } & {
810
784
  [k: string]: unknown;
811
785
  };
786
+ evidence: {
787
+ success: boolean;
788
+ stdout: string;
789
+ stderr: string;
790
+ exitCode: number | null;
791
+ payload: CliJsonValue;
792
+ diagnostics: z.objectInputType<{
793
+ severity: z.ZodEnum<["error", "warning", "info"]>;
794
+ code: z.ZodString;
795
+ message: z.ZodString;
796
+ target: z.ZodOptional<z.ZodString>;
797
+ fix: z.ZodOptional<z.ZodString>;
798
+ }, z.ZodTypeAny, "passthrough">[];
799
+ command: "status";
800
+ selector: {
801
+ store?: string | undefined;
802
+ };
803
+ contractError?: string | undefined;
804
+ root?: z.objectInputType<{
805
+ path: z.ZodString;
806
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
807
+ store_id: z.ZodOptional<z.ZodString>;
808
+ }, z.ZodTypeAny, "passthrough"> | undefined;
809
+ } & {
810
+ [k: string]: unknown;
811
+ };
812
812
  }>, z.ZodObject<{
813
813
  kind: z.ZodLiteral<"static">;
814
814
  }, "strip", z.ZodTypeAny, {
@@ -838,32 +838,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
838
838
  } & {
839
839
  [k: string]: unknown;
840
840
  };
841
- evidence: {
842
- success: boolean;
843
- stdout: string;
844
- stderr: string;
845
- exitCode: number | null;
846
- payload: CliJsonValue;
847
- diagnostics: z.objectOutputType<{
848
- severity: z.ZodEnum<["error", "warning", "info"]>;
849
- code: z.ZodString;
850
- message: z.ZodString;
851
- target: z.ZodOptional<z.ZodString>;
852
- fix: z.ZodOptional<z.ZodString>;
853
- }, z.ZodTypeAny, "passthrough">[];
854
- command: "status";
855
- selector: {
856
- store?: string | undefined;
857
- };
858
- contractError?: string | undefined;
859
- root?: z.objectOutputType<{
860
- path: z.ZodString;
861
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
862
- store_id: z.ZodOptional<z.ZodString>;
863
- }, z.ZodTypeAny, "passthrough"> | undefined;
864
- } & {
865
- [k: string]: unknown;
866
- };
867
841
  planningHome: {
868
842
  kind: "repo";
869
843
  root: string;
@@ -892,6 +866,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
892
866
  } & {
893
867
  [k: string]: unknown;
894
868
  };
869
+ evidence: {
870
+ success: boolean;
871
+ stdout: string;
872
+ stderr: string;
873
+ exitCode: number | null;
874
+ payload: CliJsonValue;
875
+ diagnostics: z.objectOutputType<{
876
+ severity: z.ZodEnum<["error", "warning", "info"]>;
877
+ code: z.ZodString;
878
+ message: z.ZodString;
879
+ target: z.ZodOptional<z.ZodString>;
880
+ fix: z.ZodOptional<z.ZodString>;
881
+ }, z.ZodTypeAny, "passthrough">[];
882
+ command: "status";
883
+ selector: {
884
+ store?: string | undefined;
885
+ };
886
+ contractError?: string | undefined;
887
+ root?: z.objectOutputType<{
888
+ path: z.ZodString;
889
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
890
+ store_id: z.ZodOptional<z.ZodString>;
891
+ }, z.ZodTypeAny, "passthrough"> | undefined;
892
+ } & {
893
+ [k: string]: unknown;
894
+ };
895
895
  } | {
896
896
  kind: "static";
897
897
  };
@@ -917,32 +917,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
917
917
  } & {
918
918
  [k: string]: unknown;
919
919
  };
920
- evidence: {
921
- success: boolean;
922
- stdout: string;
923
- stderr: string;
924
- exitCode: number | null;
925
- payload: CliJsonValue;
926
- diagnostics: z.objectInputType<{
927
- severity: z.ZodEnum<["error", "warning", "info"]>;
928
- code: z.ZodString;
929
- message: z.ZodString;
930
- target: z.ZodOptional<z.ZodString>;
931
- fix: z.ZodOptional<z.ZodString>;
932
- }, z.ZodTypeAny, "passthrough">[];
933
- command: "status";
934
- selector: {
935
- store?: string | undefined;
936
- };
937
- contractError?: string | undefined;
938
- root?: z.objectInputType<{
939
- path: z.ZodString;
940
- source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
941
- store_id: z.ZodOptional<z.ZodString>;
942
- }, z.ZodTypeAny, "passthrough"> | undefined;
943
- } & {
944
- [k: string]: unknown;
945
- };
946
920
  planningHome: {
947
921
  kind: "repo";
948
922
  root: string;
@@ -971,6 +945,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
971
945
  } & {
972
946
  [k: string]: unknown;
973
947
  };
948
+ evidence: {
949
+ success: boolean;
950
+ stdout: string;
951
+ stderr: string;
952
+ exitCode: number | null;
953
+ payload: CliJsonValue;
954
+ diagnostics: z.objectInputType<{
955
+ severity: z.ZodEnum<["error", "warning", "info"]>;
956
+ code: z.ZodString;
957
+ message: z.ZodString;
958
+ target: z.ZodOptional<z.ZodString>;
959
+ fix: z.ZodOptional<z.ZodString>;
960
+ }, z.ZodTypeAny, "passthrough">[];
961
+ command: "status";
962
+ selector: {
963
+ store?: string | undefined;
964
+ };
965
+ contractError?: string | undefined;
966
+ root?: z.objectInputType<{
967
+ path: z.ZodString;
968
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
969
+ store_id: z.ZodOptional<z.ZodString>;
970
+ }, z.ZodTypeAny, "passthrough"> | undefined;
971
+ } & {
972
+ [k: string]: unknown;
973
+ };
974
974
  } | {
975
975
  kind: "static";
976
976
  };
@@ -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;
@@ -1311,15 +1313,15 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1311
1313
  remaining: z.ZodNumber;
1312
1314
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
1313
1315
  }, "strip", z.ZodTypeAny, {
1314
- completed: number;
1315
1316
  total: number;
1316
1317
  remaining: number;
1317
- phase: "no-tasks" | "in-progress" | "complete";
1318
- }, {
1319
1318
  completed: number;
1319
+ phase: "no-tasks" | "complete" | "in-progress";
1320
+ }, {
1320
1321
  total: number;
1321
1322
  remaining: number;
1322
- phase: "no-tasks" | "in-progress" | "complete";
1323
+ completed: number;
1324
+ phase: "no-tasks" | "complete" | "in-progress";
1323
1325
  }>;
1324
1326
  }, "strip", z.ZodTypeAny, {
1325
1327
  message: string;
@@ -1330,10 +1332,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1330
1332
  remaining: number;
1331
1333
  };
1332
1334
  tracked: {
1333
- completed: number;
1334
1335
  total: number;
1335
1336
  remaining: number;
1336
- phase: "no-tasks" | "in-progress" | "complete";
1337
+ completed: number;
1338
+ phase: "no-tasks" | "complete" | "in-progress";
1337
1339
  };
1338
1340
  }, {
1339
1341
  message: string;
@@ -1344,18 +1346,18 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1344
1346
  remaining: number;
1345
1347
  };
1346
1348
  tracked: {
1347
- completed: number;
1348
1349
  total: number;
1349
1350
  remaining: number;
1350
- phase: "no-tasks" | "in-progress" | "complete";
1351
+ completed: number;
1352
+ phase: "no-tasks" | "complete" | "in-progress";
1351
1353
  };
1352
1354
  }>>;
1353
1355
  }, "strip", z.ZodTypeAny, {
1354
1356
  state: "ready" | "blocked" | "all_done";
1357
+ source: "openspec-instructions-apply";
1355
1358
  complete: number;
1356
1359
  total: number;
1357
1360
  remaining: number;
1358
- source: "openspec-instructions-apply";
1359
1361
  divergence: {
1360
1362
  message: string;
1361
1363
  kind: "tracked-task-mismatch";
@@ -1365,18 +1367,18 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1365
1367
  remaining: number;
1366
1368
  };
1367
1369
  tracked: {
1368
- completed: number;
1369
1370
  total: number;
1370
1371
  remaining: number;
1371
- phase: "no-tasks" | "in-progress" | "complete";
1372
+ completed: number;
1373
+ phase: "no-tasks" | "complete" | "in-progress";
1372
1374
  };
1373
1375
  } | null;
1374
1376
  }, {
1375
1377
  state: "ready" | "blocked" | "all_done";
1378
+ source: "openspec-instructions-apply";
1376
1379
  complete: number;
1377
1380
  total: number;
1378
1381
  remaining: number;
1379
- source: "openspec-instructions-apply";
1380
1382
  divergence: {
1381
1383
  message: string;
1382
1384
  kind: "tracked-task-mismatch";
@@ -1386,20 +1388,17 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1386
1388
  remaining: number;
1387
1389
  };
1388
1390
  tracked: {
1389
- completed: number;
1390
1391
  total: number;
1391
1392
  remaining: number;
1392
- phase: "no-tasks" | "in-progress" | "complete";
1393
+ completed: number;
1394
+ phase: "no-tasks" | "complete" | "in-progress";
1393
1395
  };
1394
1396
  } | null;
1395
1397
  }>;
1396
1398
  }, "strip", z.ZodTypeAny, {
1397
1399
  state: "ready" | "blocked" | "all_done";
1398
- tasks: {
1399
- id: string;
1400
- done: boolean;
1401
- description: string;
1402
- }[];
1400
+ changeName: string;
1401
+ schemaName: string;
1403
1402
  evidence: {
1404
1403
  success: boolean;
1405
1404
  stdout: string;
@@ -1426,17 +1425,20 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1426
1425
  } & {
1427
1426
  [k: string]: unknown;
1428
1427
  };
1429
- changeName: string;
1430
- schemaName: string;
1431
1428
  changeDir: string;
1432
1429
  instruction: string;
1433
1430
  contextFiles: Record<string, string[]>;
1431
+ tasks: {
1432
+ id: string;
1433
+ description: string;
1434
+ done: boolean;
1435
+ }[];
1434
1436
  applyInstructionProgress: {
1435
1437
  state: "ready" | "blocked" | "all_done";
1438
+ source: "openspec-instructions-apply";
1436
1439
  complete: number;
1437
1440
  total: number;
1438
1441
  remaining: number;
1439
- source: "openspec-instructions-apply";
1440
1442
  divergence: {
1441
1443
  message: string;
1442
1444
  kind: "tracked-task-mismatch";
@@ -1446,13 +1448,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1446
1448
  remaining: number;
1447
1449
  };
1448
1450
  tracked: {
1449
- completed: number;
1450
1451
  total: number;
1451
1452
  remaining: number;
1452
- phase: "no-tasks" | "in-progress" | "complete";
1453
+ completed: number;
1454
+ phase: "no-tasks" | "complete" | "in-progress";
1453
1455
  };
1454
1456
  } | null;
1455
1457
  };
1458
+ context?: string | undefined;
1456
1459
  references?: z.objectOutputType<{
1457
1460
  store_id: z.ZodString;
1458
1461
  root: z.ZodOptional<z.ZodString>;
@@ -1488,16 +1491,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1488
1491
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1489
1492
  fetch: z.ZodOptional<z.ZodString>;
1490
1493
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1491
- context?: string | undefined;
1492
1494
  missingArtifacts?: string[] | undefined;
1495
+ missingPrerequisites?: string[] | undefined;
1496
+ warnings?: string[] | undefined;
1493
1497
  operationGuidance?: string[] | undefined;
1494
1498
  }, {
1495
1499
  state: "ready" | "blocked" | "all_done";
1496
- tasks: {
1497
- id: string;
1498
- done: boolean;
1499
- description: string;
1500
- }[];
1500
+ changeName: string;
1501
+ schemaName: string;
1501
1502
  evidence: {
1502
1503
  success: boolean;
1503
1504
  stdout: string;
@@ -1524,17 +1525,20 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1524
1525
  } & {
1525
1526
  [k: string]: unknown;
1526
1527
  };
1527
- changeName: string;
1528
- schemaName: string;
1529
1528
  changeDir: string;
1530
1529
  instruction: string;
1531
1530
  contextFiles: Record<string, string | string[]>;
1531
+ tasks: {
1532
+ id: string;
1533
+ description: string;
1534
+ done: boolean;
1535
+ }[];
1532
1536
  applyInstructionProgress: {
1533
1537
  state: "ready" | "blocked" | "all_done";
1538
+ source: "openspec-instructions-apply";
1534
1539
  complete: number;
1535
1540
  total: number;
1536
1541
  remaining: number;
1537
- source: "openspec-instructions-apply";
1538
1542
  divergence: {
1539
1543
  message: string;
1540
1544
  kind: "tracked-task-mismatch";
@@ -1544,13 +1548,14 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1544
1548
  remaining: number;
1545
1549
  };
1546
1550
  tracked: {
1547
- completed: number;
1548
1551
  total: number;
1549
1552
  remaining: number;
1550
- phase: "no-tasks" | "in-progress" | "complete";
1553
+ completed: number;
1554
+ phase: "no-tasks" | "complete" | "in-progress";
1551
1555
  };
1552
1556
  } | null;
1553
1557
  };
1558
+ context?: string | undefined;
1554
1559
  references?: z.objectInputType<{
1555
1560
  store_id: z.ZodString;
1556
1561
  root: z.ZodOptional<z.ZodString>;
@@ -1586,8 +1591,9 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1586
1591
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1587
1592
  fetch: z.ZodOptional<z.ZodString>;
1588
1593
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1589
- context?: string | 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;
@@ -1876,11 +1884,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1876
1884
  }, z.ZodTypeAny, "passthrough">>;
1877
1885
  }, "strip", z.ZodTypeAny, {
1878
1886
  state: "ready" | "blocked" | "all_done";
1879
- tasks: {
1880
- id: string;
1881
- done: boolean;
1882
- description: string;
1883
- }[];
1887
+ changeName: string;
1888
+ schemaName: string;
1884
1889
  evidence: {
1885
1890
  success: boolean;
1886
1891
  stdout: string;
@@ -1907,16 +1912,20 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1907
1912
  } & {
1908
1913
  [k: string]: unknown;
1909
1914
  };
1910
- changeName: string;
1911
- schemaName: string;
1912
1915
  changeDir: string;
1913
1916
  instruction: string;
1914
1917
  contextFiles: Record<string, string[]>;
1918
+ tasks: {
1919
+ id: string;
1920
+ description: string;
1921
+ done: boolean;
1922
+ }[];
1915
1923
  progress: {
1916
1924
  complete: number;
1917
1925
  total: number;
1918
1926
  remaining: number;
1919
1927
  };
1928
+ context?: string | undefined;
1920
1929
  references?: z.objectOutputType<{
1921
1930
  store_id: z.ZodString;
1922
1931
  root: z.ZodOptional<z.ZodString>;
@@ -1952,16 +1961,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1952
1961
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1953
1962
  fetch: z.ZodOptional<z.ZodString>;
1954
1963
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1955
- context?: string | undefined;
1956
1964
  missingArtifacts?: string[] | undefined;
1965
+ missingPrerequisites?: string[] | undefined;
1966
+ warnings?: string[] | undefined;
1957
1967
  operationGuidance?: string[] | undefined;
1958
1968
  }, {
1959
1969
  state: "ready" | "blocked" | "all_done";
1960
- tasks: {
1961
- id: string;
1962
- done: boolean;
1963
- description: string;
1964
- }[];
1970
+ changeName: string;
1971
+ schemaName: string;
1965
1972
  evidence: {
1966
1973
  success: boolean;
1967
1974
  stdout: string;
@@ -1988,16 +1995,20 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1988
1995
  } & {
1989
1996
  [k: string]: unknown;
1990
1997
  };
1991
- changeName: string;
1992
- schemaName: string;
1993
1998
  changeDir: string;
1994
1999
  instruction: string;
1995
2000
  contextFiles: Record<string, string | string[]>;
2001
+ tasks: {
2002
+ id: string;
2003
+ description: string;
2004
+ done: boolean;
2005
+ }[];
1996
2006
  progress: {
1997
2007
  complete: number;
1998
2008
  total: number;
1999
2009
  remaining: number;
2000
2010
  };
2011
+ context?: string | undefined;
2001
2012
  references?: z.objectInputType<{
2002
2013
  store_id: z.ZodString;
2003
2014
  root: z.ZodOptional<z.ZodString>;
@@ -2033,17 +2044,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2033
2044
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2034
2045
  fetch: z.ZodOptional<z.ZodString>;
2035
2046
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2036
- context?: string | 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;
2041
2053
  state: "ready" | "blocked" | "all_done";
2042
- tasks: {
2043
- id: string;
2044
- done: boolean;
2045
- description: string;
2046
- }[];
2054
+ changeName: string;
2055
+ schemaName: string;
2047
2056
  evidence: {
2048
2057
  success: boolean;
2049
2058
  stdout: string;
@@ -2070,11 +2079,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2070
2079
  } & {
2071
2080
  [k: string]: unknown;
2072
2081
  };
2073
- changeName: string;
2074
- schemaName: string;
2075
2082
  changeDir: string;
2076
2083
  instruction: string;
2077
2084
  contextFiles: Record<string, string[]>;
2085
+ tasks: {
2086
+ id: string;
2087
+ description: string;
2088
+ done: boolean;
2089
+ }[];
2090
+ context?: string | undefined;
2078
2091
  references?: z.objectOutputType<{
2079
2092
  store_id: z.ZodString;
2080
2093
  root: z.ZodOptional<z.ZodString>;
@@ -2110,16 +2123,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2110
2123
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2111
2124
  fetch: z.ZodOptional<z.ZodString>;
2112
2125
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2113
- context?: string | undefined;
2114
2126
  missingArtifacts?: string[] | undefined;
2127
+ missingPrerequisites?: string[] | undefined;
2128
+ warnings?: string[] | undefined;
2115
2129
  operationGuidance?: string[] | undefined;
2116
2130
  }, {
2117
2131
  state: "ready" | "blocked" | "all_done";
2118
- tasks: {
2119
- id: string;
2120
- done: boolean;
2121
- description: string;
2122
- }[];
2132
+ changeName: string;
2133
+ schemaName: string;
2123
2134
  evidence: {
2124
2135
  success: boolean;
2125
2136
  stdout: string;
@@ -2146,16 +2157,20 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2146
2157
  } & {
2147
2158
  [k: string]: unknown;
2148
2159
  };
2149
- changeName: string;
2150
- schemaName: string;
2151
2160
  changeDir: string;
2152
2161
  instruction: string;
2153
2162
  contextFiles: Record<string, string | string[]>;
2163
+ tasks: {
2164
+ id: string;
2165
+ description: string;
2166
+ done: boolean;
2167
+ }[];
2154
2168
  progress: {
2155
2169
  complete: number;
2156
2170
  total: number;
2157
2171
  remaining: number;
2158
2172
  };
2173
+ context?: string | undefined;
2159
2174
  references?: z.objectInputType<{
2160
2175
  store_id: z.ZodString;
2161
2176
  root: z.ZodOptional<z.ZodString>;
@@ -2191,8 +2206,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2191
2206
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2192
2207
  fetch: z.ZodOptional<z.ZodString>;
2193
2208
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2194
- context?: string | 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;
@@ -2493,15 +2511,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2493
2511
  remaining: z.ZodNumber;
2494
2512
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
2495
2513
  }, "strip", z.ZodTypeAny, {
2496
- completed: number;
2497
2514
  total: number;
2498
2515
  remaining: number;
2499
- phase: "no-tasks" | "in-progress" | "complete";
2500
- }, {
2501
2516
  completed: number;
2517
+ phase: "no-tasks" | "complete" | "in-progress";
2518
+ }, {
2502
2519
  total: number;
2503
2520
  remaining: number;
2504
- phase: "no-tasks" | "in-progress" | "complete";
2521
+ completed: number;
2522
+ phase: "no-tasks" | "complete" | "in-progress";
2505
2523
  }>;
2506
2524
  }, "strip", z.ZodTypeAny, {
2507
2525
  message: string;
@@ -2512,10 +2530,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2512
2530
  remaining: number;
2513
2531
  };
2514
2532
  tracked: {
2515
- completed: number;
2516
2533
  total: number;
2517
2534
  remaining: number;
2518
- phase: "no-tasks" | "in-progress" | "complete";
2535
+ completed: number;
2536
+ phase: "no-tasks" | "complete" | "in-progress";
2519
2537
  };
2520
2538
  }, {
2521
2539
  message: string;
@@ -2526,18 +2544,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2526
2544
  remaining: number;
2527
2545
  };
2528
2546
  tracked: {
2529
- completed: number;
2530
2547
  total: number;
2531
2548
  remaining: number;
2532
- phase: "no-tasks" | "in-progress" | "complete";
2549
+ completed: number;
2550
+ phase: "no-tasks" | "complete" | "in-progress";
2533
2551
  };
2534
2552
  }>>;
2535
2553
  }, "strip", z.ZodTypeAny, {
2536
2554
  state: "ready" | "blocked" | "all_done";
2555
+ source: "openspec-instructions-apply";
2537
2556
  complete: number;
2538
2557
  total: number;
2539
2558
  remaining: number;
2540
- source: "openspec-instructions-apply";
2541
2559
  divergence: {
2542
2560
  message: string;
2543
2561
  kind: "tracked-task-mismatch";
@@ -2547,18 +2565,18 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2547
2565
  remaining: number;
2548
2566
  };
2549
2567
  tracked: {
2550
- completed: number;
2551
2568
  total: number;
2552
2569
  remaining: number;
2553
- phase: "no-tasks" | "in-progress" | "complete";
2570
+ completed: number;
2571
+ phase: "no-tasks" | "complete" | "in-progress";
2554
2572
  };
2555
2573
  } | null;
2556
2574
  }, {
2557
2575
  state: "ready" | "blocked" | "all_done";
2576
+ source: "openspec-instructions-apply";
2558
2577
  complete: number;
2559
2578
  total: number;
2560
2579
  remaining: number;
2561
- source: "openspec-instructions-apply";
2562
2580
  divergence: {
2563
2581
  message: string;
2564
2582
  kind: "tracked-task-mismatch";
@@ -2568,20 +2586,17 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2568
2586
  remaining: number;
2569
2587
  };
2570
2588
  tracked: {
2571
- completed: number;
2572
2589
  total: number;
2573
2590
  remaining: number;
2574
- phase: "no-tasks" | "in-progress" | "complete";
2591
+ completed: number;
2592
+ phase: "no-tasks" | "complete" | "in-progress";
2575
2593
  };
2576
2594
  } | null;
2577
2595
  }>;
2578
2596
  }, "strip", z.ZodTypeAny, {
2579
2597
  state: "ready" | "blocked" | "all_done";
2580
- tasks: {
2581
- id: string;
2582
- done: boolean;
2583
- description: string;
2584
- }[];
2598
+ changeName: string;
2599
+ schemaName: string;
2585
2600
  evidence: {
2586
2601
  success: boolean;
2587
2602
  stdout: string;
@@ -2608,17 +2623,20 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2608
2623
  } & {
2609
2624
  [k: string]: unknown;
2610
2625
  };
2611
- changeName: string;
2612
- schemaName: string;
2613
2626
  changeDir: string;
2614
2627
  instruction: string;
2615
2628
  contextFiles: Record<string, string[]>;
2629
+ tasks: {
2630
+ id: string;
2631
+ description: string;
2632
+ done: boolean;
2633
+ }[];
2616
2634
  applyInstructionProgress: {
2617
2635
  state: "ready" | "blocked" | "all_done";
2636
+ source: "openspec-instructions-apply";
2618
2637
  complete: number;
2619
2638
  total: number;
2620
2639
  remaining: number;
2621
- source: "openspec-instructions-apply";
2622
2640
  divergence: {
2623
2641
  message: string;
2624
2642
  kind: "tracked-task-mismatch";
@@ -2628,13 +2646,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2628
2646
  remaining: number;
2629
2647
  };
2630
2648
  tracked: {
2631
- completed: number;
2632
2649
  total: number;
2633
2650
  remaining: number;
2634
- phase: "no-tasks" | "in-progress" | "complete";
2651
+ completed: number;
2652
+ phase: "no-tasks" | "complete" | "in-progress";
2635
2653
  };
2636
2654
  } | null;
2637
2655
  };
2656
+ context?: string | undefined;
2638
2657
  references?: z.objectOutputType<{
2639
2658
  store_id: z.ZodString;
2640
2659
  root: z.ZodOptional<z.ZodString>;
@@ -2670,16 +2689,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2670
2689
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2671
2690
  fetch: z.ZodOptional<z.ZodString>;
2672
2691
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2673
- context?: string | undefined;
2674
2692
  missingArtifacts?: string[] | undefined;
2693
+ missingPrerequisites?: string[] | undefined;
2694
+ warnings?: string[] | undefined;
2675
2695
  operationGuidance?: string[] | undefined;
2676
2696
  }, {
2677
2697
  state: "ready" | "blocked" | "all_done";
2678
- tasks: {
2679
- id: string;
2680
- done: boolean;
2681
- description: string;
2682
- }[];
2698
+ changeName: string;
2699
+ schemaName: string;
2683
2700
  evidence: {
2684
2701
  success: boolean;
2685
2702
  stdout: string;
@@ -2706,17 +2723,20 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2706
2723
  } & {
2707
2724
  [k: string]: unknown;
2708
2725
  };
2709
- changeName: string;
2710
- schemaName: string;
2711
2726
  changeDir: string;
2712
2727
  instruction: string;
2713
2728
  contextFiles: Record<string, string | string[]>;
2729
+ tasks: {
2730
+ id: string;
2731
+ description: string;
2732
+ done: boolean;
2733
+ }[];
2714
2734
  applyInstructionProgress: {
2715
2735
  state: "ready" | "blocked" | "all_done";
2736
+ source: "openspec-instructions-apply";
2716
2737
  complete: number;
2717
2738
  total: number;
2718
2739
  remaining: number;
2719
- source: "openspec-instructions-apply";
2720
2740
  divergence: {
2721
2741
  message: string;
2722
2742
  kind: "tracked-task-mismatch";
@@ -2726,13 +2746,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2726
2746
  remaining: number;
2727
2747
  };
2728
2748
  tracked: {
2729
- completed: number;
2730
2749
  total: number;
2731
2750
  remaining: number;
2732
- phase: "no-tasks" | "in-progress" | "complete";
2751
+ completed: number;
2752
+ phase: "no-tasks" | "complete" | "in-progress";
2733
2753
  };
2734
2754
  } | null;
2735
2755
  };
2756
+ context?: string | undefined;
2736
2757
  references?: z.objectInputType<{
2737
2758
  store_id: z.ZodString;
2738
2759
  root: z.ZodOptional<z.ZodString>;
@@ -2768,8 +2789,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2768
2789
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2769
2790
  fetch: z.ZodOptional<z.ZodString>;
2770
2791
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2771
- context?: string | 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>;
@@ -2923,6 +2945,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2923
2945
  command: z.ZodLiteral<"instructions archive">;
2924
2946
  }, z.ZodTypeAny, "passthrough">>;
2925
2947
  }, "strip", z.ZodTypeAny, {
2948
+ changeName: string;
2926
2949
  evidence: {
2927
2950
  success: boolean;
2928
2951
  stdout: string;
@@ -2949,10 +2972,10 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2949
2972
  } & {
2950
2973
  [k: string]: unknown;
2951
2974
  };
2952
- changeName: string;
2953
2975
  context?: string | undefined;
2954
2976
  operationGuidance?: string[] | undefined;
2955
2977
  }, {
2978
+ changeName: string;
2956
2979
  evidence: {
2957
2980
  success: boolean;
2958
2981
  stdout: string;
@@ -2979,7 +3002,6 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2979
3002
  } & {
2980
3003
  [k: string]: unknown;
2981
3004
  };
2982
- changeName: string;
2983
3005
  context?: string | undefined;
2984
3006
  operationGuidance?: string[] | undefined;
2985
3007
  }>;
@@ -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,7 +3286,10 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3264
3286
  command: z.ZodLiteral<"instructions">;
3265
3287
  }, z.ZodTypeAny, "passthrough">>;
3266
3288
  }, "strip", z.ZodTypeAny, {
3267
- artifactId: string;
3289
+ description: string;
3290
+ template: string;
3291
+ changeName: string;
3292
+ schemaName: string;
3268
3293
  outputPath: string;
3269
3294
  evidence: {
3270
3295
  success: boolean;
@@ -3292,19 +3317,19 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3292
3317
  } & {
3293
3318
  [k: string]: unknown;
3294
3319
  };
3295
- changeName: string;
3296
- schemaName: string;
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[];
3330
+ instruction?: string | null | undefined;
3331
+ context?: string | null | undefined;
3332
+ rules?: string[] | null | undefined;
3308
3333
  references?: z.objectOutputType<{
3309
3334
  store_id: z.ZodString;
3310
3335
  root: z.ZodOptional<z.ZodString>;
@@ -3340,11 +3365,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3340
3365
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3341
3366
  fetch: z.ZodOptional<z.ZodString>;
3342
3367
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3343
- context?: string | null | undefined;
3344
- instruction?: string | null | undefined;
3345
- rules?: string[] | null | undefined;
3346
3368
  }, {
3347
- artifactId: string;
3369
+ description: string;
3370
+ template: string;
3371
+ changeName: string;
3372
+ schemaName: string;
3348
3373
  outputPath: string;
3349
3374
  evidence: {
3350
3375
  success: boolean;
@@ -3372,19 +3397,19 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3372
3397
  } & {
3373
3398
  [k: string]: unknown;
3374
3399
  };
3375
- changeName: string;
3376
- schemaName: string;
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[];
3410
+ instruction?: string | null | undefined;
3411
+ context?: string | null | undefined;
3412
+ rules?: string[] | null | undefined;
3388
3413
  references?: z.objectInputType<{
3389
3414
  store_id: z.ZodString;
3390
3415
  root: z.ZodOptional<z.ZodString>;
@@ -3420,9 +3445,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3420
3445
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3421
3446
  fetch: z.ZodOptional<z.ZodString>;
3422
3447
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3423
- context?: string | null | undefined;
3424
- instruction?: string | null | undefined;
3425
- rules?: string[] | null | undefined;
3426
3448
  }>;
3427
3449
  type ArtifactInstructions = z.infer<typeof ArtifactInstructionsSchema>;
3428
3450
  /** CLI-owned Schema list item projected by OPSX. */
@@ -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,15 +3591,15 @@ 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>;
@@ -3590,11 +3612,11 @@ declare const SchemaDetailSchema: z.ZodObject<{
3590
3612
  outputPath: string;
3591
3613
  requires: string[];
3592
3614
  description?: string | undefined;
3593
- instruction?: string | undefined;
3594
3615
  template?: string | undefined;
3616
+ instruction?: string | undefined;
3595
3617
  }[];
3596
- version?: string | number | undefined;
3597
3618
  description?: string | undefined;
3619
+ version?: string | number | undefined;
3598
3620
  applyTracks?: string | undefined;
3599
3621
  applyInstruction?: string | undefined;
3600
3622
  }, {
@@ -3605,11 +3627,11 @@ declare const SchemaDetailSchema: z.ZodObject<{
3605
3627
  outputPath: string;
3606
3628
  requires: string[];
3607
3629
  description?: string | undefined;
3608
- instruction?: string | undefined;
3609
3630
  template?: string | undefined;
3631
+ instruction?: string | undefined;
3610
3632
  }[];
3611
- version?: string | number | undefined;
3612
3633
  description?: string | undefined;
3634
+ version?: string | number | undefined;
3613
3635
  applyTracks?: string | undefined;
3614
3636
  applyInstruction?: string | undefined;
3615
3637
  }>;
@@ -3648,15 +3670,15 @@ 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>;
@@ -3669,11 +3691,11 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3669
3691
  outputPath: string;
3670
3692
  requires: string[];
3671
3693
  description?: string | undefined;
3672
- instruction?: string | undefined;
3673
3694
  template?: string | undefined;
3695
+ instruction?: string | undefined;
3674
3696
  }[];
3675
- version?: string | number | undefined;
3676
3697
  description?: string | undefined;
3698
+ version?: string | number | undefined;
3677
3699
  applyTracks?: string | undefined;
3678
3700
  applyInstruction?: string | undefined;
3679
3701
  }, {
@@ -3684,11 +3706,11 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3684
3706
  outputPath: string;
3685
3707
  requires: string[];
3686
3708
  description?: string | undefined;
3687
- instruction?: string | undefined;
3688
3709
  template?: string | undefined;
3710
+ instruction?: string | undefined;
3689
3711
  }[];
3690
- version?: string | number | undefined;
3691
3712
  description?: string | undefined;
3713
+ version?: string | number | undefined;
3692
3714
  applyTracks?: string | undefined;
3693
3715
  applyInstruction?: string | undefined;
3694
3716
  }>>>;
@@ -3774,11 +3796,11 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3774
3796
  outputPath: string;
3775
3797
  requires: string[];
3776
3798
  description?: string | undefined;
3777
- instruction?: string | undefined;
3778
3799
  template?: string | undefined;
3800
+ instruction?: string | undefined;
3779
3801
  }[];
3780
- version?: string | number | undefined;
3781
3802
  description?: string | undefined;
3803
+ version?: string | number | undefined;
3782
3804
  applyTracks?: string | undefined;
3783
3805
  applyInstruction?: string | undefined;
3784
3806
  } | null>;
@@ -3820,11 +3842,11 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3820
3842
  outputPath: string;
3821
3843
  requires: string[];
3822
3844
  description?: string | undefined;
3823
- instruction?: string | undefined;
3824
3845
  template?: string | undefined;
3846
+ instruction?: string | undefined;
3825
3847
  }[];
3826
- version?: string | number | undefined;
3827
3848
  description?: string | undefined;
3849
+ version?: string | number | undefined;
3828
3850
  applyTracks?: string | undefined;
3829
3851
  applyInstruction?: string | undefined;
3830
3852
  } | null>;