@openspecui/core 6.0.0 → 6.0.1

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 (40) hide show
  1. package/dist/{cli-projection-D97_RM6V.d.mts → cli-projection-w3LzenG5.d.mts} +9 -9
  2. package/dist/cli-projection.d.mts +5 -5
  3. package/dist/{command-result-CfME21jF.d.mts → command-result-CjnZNtGL.d.mts} +57 -57
  4. package/dist/{dashboard-summary-transport-CwQpcPXI.d.mts → dashboard-summary-transport-DAFz2ZQe.d.mts} +3094 -3094
  5. package/dist/dashboard-summary-transport.d.mts +17 -17
  6. package/dist/{document-translation-D9bhVMu9.d.mts → document-translation-DyEj4JKj.d.mts} +2 -2
  7. package/dist/document-translation.d.mts +1 -1
  8. package/dist/hosted-app.d.mts +17 -17
  9. package/dist/hosted-contract.d.mts +17 -17
  10. package/dist/index.d.mts +17 -17
  11. package/dist/index.mjs +26 -4
  12. package/dist/{local-download-profiles-D0EDIDY3.d.mts → local-download-profiles-BokmRLew.d.mts} +1 -1
  13. package/dist/local-download-profiles.d.mts +2 -2
  14. package/dist/{notifications-APukMHjf.d.mts → notifications-CgJlLgLO.d.mts} +4 -4
  15. package/dist/notifications.d.mts +2 -2
  16. package/dist/{openspec-projection-CeRyRol_.d.mts → openspec-projection-DnB0EalA.d.mts} +1 -1
  17. package/dist/openspec-projection.d.mts +2 -2
  18. package/dist/{opsx-entity-O_EFhltR.d.mts → opsx-entity-CQGXOj_a.d.mts} +2 -2
  19. package/dist/opsx-entity.d.mts +7 -7
  20. package/dist/{opsx-schema-detail-BTksrDp1.d.mts → opsx-schema-detail-DTWBhlbh.d.mts} +2 -2
  21. package/dist/opsx-schema-detail.d.mts +8 -8
  22. package/dist/{opsx-types-BYSPqX85.d.mts → opsx-types-BKGpvDDe.d.mts} +213 -213
  23. package/dist/planning-cli-projection.d.mts +17 -17
  24. package/dist/{schemas-BLWVYKEk.d.mts → schemas-C-BZiH0m.d.mts} +220 -220
  25. package/dist/{sounds-BLspIXhv.d.mts → sounds-qhRgCy0F.d.mts} +9 -9
  26. package/dist/sounds.d.mts +1 -1
  27. package/dist/spec-catalog.d.mts +17 -17
  28. package/dist/{store-mutation-protocol-B6AF69kW.d.mts → store-mutation-protocol-3TzQ6ete.d.mts} +24 -24
  29. package/dist/store-mutation-protocol.d.mts +1 -1
  30. package/dist/{store-types-pd0g35dI.d.mts → store-types-QeY5nWlF.d.mts} +1 -1
  31. package/dist/store-types.d.mts +5 -5
  32. package/dist/task-progress.d.mts +6 -6
  33. package/dist/{terminal-audio-DuJNjIJ3.d.mts → terminal-audio-tXDm_EDe.d.mts} +2 -2
  34. package/dist/terminal-audio.d.mts +2 -2
  35. package/dist/terminal-control.d.mts +2 -2
  36. package/dist/{terminal-invocation-C4EE7MeN.d.mts → terminal-invocation-rKDNnsUS.d.mts} +74 -74
  37. package/dist/terminal-invocation.d.mts +1 -1
  38. package/dist/{translator-BgYwP0UT.d.mts → translator-BEiXnLjR.d.mts} +98 -98
  39. package/dist/translator.d.mts +1 -1
  40. package/package.json +3 -1
@@ -1,5 +1,5 @@
1
- import { n as CliJsonValue } from "./command-result-CfME21jF.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-BLWVYKEk.mjs";
1
+ import { n as CliJsonValue } from "./command-result-CjnZNtGL.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-C-BZiH0m.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -405,13 +405,13 @@ declare const ArtifactStatusSchema: z.ZodObject<{
405
405
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
406
406
  relativePath: z.ZodOptional<z.ZodString>;
407
407
  }, "strip", z.ZodTypeAny, {
408
- status: "done" | "ready" | "blocked";
408
+ status: "ready" | "done" | "blocked";
409
409
  id: string;
410
410
  outputPath: string;
411
411
  missingDeps?: string[] | undefined;
412
412
  relativePath?: string | undefined;
413
413
  }, {
414
- status: "done" | "ready" | "blocked";
414
+ status: "ready" | "done" | "blocked";
415
415
  id: string;
416
416
  outputPath: string;
417
417
  missingDeps?: string[] | undefined;
@@ -430,13 +430,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
430
430
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
431
431
  relativePath: z.ZodOptional<z.ZodString>;
432
432
  }, "strip", z.ZodTypeAny, {
433
- status: "done" | "ready" | "blocked";
433
+ status: "ready" | "done" | "blocked";
434
434
  id: string;
435
435
  outputPath: string;
436
436
  missingDeps?: string[] | undefined;
437
437
  relativePath?: string | undefined;
438
438
  }, {
439
- status: "done" | "ready" | "blocked";
439
+ status: "ready" | "done" | "blocked";
440
440
  id: string;
441
441
  outputPath: string;
442
442
  missingDeps?: string[] | undefined;
@@ -677,7 +677,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
677
677
  command: z.ZodLiteral<"status">;
678
678
  }, z.ZodTypeAny, "passthrough">>;
679
679
  }, "strip", z.ZodTypeAny, {
680
- kind: "cli";
681
680
  root: {
682
681
  path: string;
683
682
  source: "store" | "declared" | "nearest" | "implicit";
@@ -685,9 +684,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
685
684
  } & {
686
685
  [k: string]: unknown;
687
686
  };
687
+ kind: "cli";
688
688
  planningHome: {
689
- kind: "repo";
690
689
  root: string;
690
+ kind: "repo";
691
691
  changesDir: string;
692
692
  defaultSchema: string;
693
693
  } & {
@@ -714,7 +714,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
714
714
  [k: string]: unknown;
715
715
  };
716
716
  evidence: {
717
- command: "status";
718
717
  success: boolean;
719
718
  stdout: string;
720
719
  stderr: string;
@@ -727,20 +726,20 @@ declare const ChangeStatusSchema: z.ZodObject<{
727
726
  target: z.ZodOptional<z.ZodString>;
728
727
  fix: z.ZodOptional<z.ZodString>;
729
728
  }, z.ZodTypeAny, "passthrough">[];
729
+ command: "status";
730
730
  selector: {
731
731
  store?: string | undefined;
732
732
  };
733
+ contractError?: string | undefined;
733
734
  root?: z.objectOutputType<{
734
735
  path: z.ZodString;
735
736
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
736
737
  store_id: z.ZodOptional<z.ZodString>;
737
738
  }, z.ZodTypeAny, "passthrough"> | undefined;
738
- contractError?: string | undefined;
739
739
  } & {
740
740
  [k: string]: unknown;
741
741
  };
742
742
  }, {
743
- kind: "cli";
744
743
  root: {
745
744
  path: string;
746
745
  source: "store" | "declared" | "nearest" | "implicit";
@@ -748,9 +747,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
748
747
  } & {
749
748
  [k: string]: unknown;
750
749
  };
750
+ kind: "cli";
751
751
  planningHome: {
752
- kind: "repo";
753
752
  root: string;
753
+ kind: "repo";
754
754
  changesDir: string;
755
755
  defaultSchema: string;
756
756
  } & {
@@ -777,7 +777,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
777
777
  [k: string]: unknown;
778
778
  };
779
779
  evidence: {
780
- command: "status";
781
780
  success: boolean;
782
781
  stdout: string;
783
782
  stderr: string;
@@ -790,15 +789,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
790
789
  target: z.ZodOptional<z.ZodString>;
791
790
  fix: z.ZodOptional<z.ZodString>;
792
791
  }, z.ZodTypeAny, "passthrough">[];
792
+ command: "status";
793
793
  selector: {
794
794
  store?: string | undefined;
795
795
  };
796
+ contractError?: string | undefined;
796
797
  root?: z.objectInputType<{
797
798
  path: z.ZodString;
798
799
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
799
800
  store_id: z.ZodOptional<z.ZodString>;
800
801
  }, z.ZodTypeAny, "passthrough"> | undefined;
801
- contractError?: string | undefined;
802
802
  } & {
803
803
  [k: string]: unknown;
804
804
  };
@@ -815,14 +815,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
815
815
  isComplete: boolean;
816
816
  applyRequires: string[];
817
817
  artifacts: {
818
- status: "done" | "ready" | "blocked";
818
+ status: "ready" | "done" | "blocked";
819
819
  id: string;
820
820
  outputPath: string;
821
821
  missingDeps?: string[] | undefined;
822
822
  relativePath?: string | undefined;
823
823
  }[];
824
824
  provenance: {
825
- kind: "cli";
826
825
  root: {
827
826
  path: string;
828
827
  source: "store" | "declared" | "nearest" | "implicit";
@@ -830,9 +829,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
830
829
  } & {
831
830
  [k: string]: unknown;
832
831
  };
832
+ kind: "cli";
833
833
  planningHome: {
834
- kind: "repo";
835
834
  root: string;
835
+ kind: "repo";
836
836
  changesDir: string;
837
837
  defaultSchema: string;
838
838
  } & {
@@ -859,7 +859,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
859
859
  [k: string]: unknown;
860
860
  };
861
861
  evidence: {
862
- command: "status";
863
862
  success: boolean;
864
863
  stdout: string;
865
864
  stderr: string;
@@ -872,15 +871,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
872
871
  target: z.ZodOptional<z.ZodString>;
873
872
  fix: z.ZodOptional<z.ZodString>;
874
873
  }, z.ZodTypeAny, "passthrough">[];
874
+ command: "status";
875
875
  selector: {
876
876
  store?: string | undefined;
877
877
  };
878
+ contractError?: string | undefined;
878
879
  root?: z.objectOutputType<{
879
880
  path: z.ZodString;
880
881
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
881
882
  store_id: z.ZodOptional<z.ZodString>;
882
883
  }, z.ZodTypeAny, "passthrough"> | undefined;
883
- contractError?: string | undefined;
884
884
  } & {
885
885
  [k: string]: unknown;
886
886
  };
@@ -893,14 +893,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
893
893
  isComplete: boolean;
894
894
  applyRequires: string[];
895
895
  artifacts: {
896
- status: "done" | "ready" | "blocked";
896
+ status: "ready" | "done" | "blocked";
897
897
  id: string;
898
898
  outputPath: string;
899
899
  missingDeps?: string[] | undefined;
900
900
  relativePath?: string | undefined;
901
901
  }[];
902
902
  provenance: {
903
- kind: "cli";
904
903
  root: {
905
904
  path: string;
906
905
  source: "store" | "declared" | "nearest" | "implicit";
@@ -908,9 +907,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
908
907
  } & {
909
908
  [k: string]: unknown;
910
909
  };
910
+ kind: "cli";
911
911
  planningHome: {
912
- kind: "repo";
913
912
  root: string;
913
+ kind: "repo";
914
914
  changesDir: string;
915
915
  defaultSchema: string;
916
916
  } & {
@@ -937,7 +937,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
937
937
  [k: string]: unknown;
938
938
  };
939
939
  evidence: {
940
- command: "status";
941
940
  success: boolean;
942
941
  stdout: string;
943
942
  stderr: string;
@@ -950,15 +949,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
950
949
  target: z.ZodOptional<z.ZodString>;
951
950
  fix: z.ZodOptional<z.ZodString>;
952
951
  }, z.ZodTypeAny, "passthrough">[];
952
+ command: "status";
953
953
  selector: {
954
954
  store?: string | undefined;
955
955
  };
956
+ contractError?: string | undefined;
956
957
  root?: z.objectInputType<{
957
958
  path: z.ZodString;
958
959
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
959
960
  store_id: z.ZodOptional<z.ZodString>;
960
961
  }, z.ZodTypeAny, "passthrough"> | undefined;
961
- contractError?: string | undefined;
962
962
  } & {
963
963
  [k: string]: unknown;
964
964
  };
@@ -975,13 +975,13 @@ declare const DependencyInfoSchema: z.ZodObject<{
975
975
  }, "strip", z.ZodTypeAny, {
976
976
  path: string;
977
977
  id: string;
978
- done: boolean;
979
978
  description: string;
979
+ done: boolean;
980
980
  }, {
981
981
  path: string;
982
982
  id: string;
983
- done: boolean;
984
983
  description: string;
984
+ done: boolean;
985
985
  }>;
986
986
  type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
987
987
  declare const ApplyTaskSchema: z.ZodObject<{
@@ -990,12 +990,12 @@ declare const ApplyTaskSchema: z.ZodObject<{
990
990
  done: z.ZodBoolean;
991
991
  }, "strip", z.ZodTypeAny, {
992
992
  id: string;
993
- done: boolean;
994
993
  description: string;
994
+ done: boolean;
995
995
  }, {
996
996
  id: string;
997
- done: boolean;
998
997
  description: string;
998
+ done: boolean;
999
999
  }>;
1000
1000
  type ApplyTask = z.infer<typeof ApplyTaskSchema>;
1001
1001
  declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
@@ -1011,12 +1011,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1011
1011
  done: z.ZodBoolean;
1012
1012
  }, "strip", z.ZodTypeAny, {
1013
1013
  id: string;
1014
- done: boolean;
1015
1014
  description: string;
1015
+ done: boolean;
1016
1016
  }, {
1017
1017
  id: string;
1018
- done: boolean;
1019
1018
  description: string;
1019
+ done: boolean;
1020
1020
  }>, "many">;
1021
1021
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1022
1022
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1283,12 +1283,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1283
1283
  complete: z.ZodNumber;
1284
1284
  remaining: z.ZodNumber;
1285
1285
  }, "strip", z.ZodTypeAny, {
1286
- total: number;
1287
1286
  complete: number;
1287
+ total: number;
1288
1288
  remaining: number;
1289
1289
  }, {
1290
- total: number;
1291
1290
  complete: number;
1291
+ total: number;
1292
1292
  remaining: number;
1293
1293
  }>;
1294
1294
  tracked: z.ZodObject<{
@@ -1297,93 +1297,98 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1297
1297
  remaining: z.ZodNumber;
1298
1298
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
1299
1299
  }, "strip", z.ZodTypeAny, {
1300
+ completed: number;
1300
1301
  total: number;
1301
1302
  remaining: number;
1302
- completed: number;
1303
- phase: "complete" | "no-tasks" | "in-progress";
1303
+ phase: "no-tasks" | "in-progress" | "complete";
1304
1304
  }, {
1305
+ completed: number;
1305
1306
  total: number;
1306
1307
  remaining: number;
1307
- completed: number;
1308
- phase: "complete" | "no-tasks" | "in-progress";
1308
+ phase: "no-tasks" | "in-progress" | "complete";
1309
1309
  }>;
1310
1310
  }, "strip", z.ZodTypeAny, {
1311
- kind: "tracked-task-mismatch";
1312
1311
  message: string;
1312
+ kind: "tracked-task-mismatch";
1313
1313
  apply: {
1314
- total: number;
1315
1314
  complete: number;
1315
+ total: number;
1316
1316
  remaining: number;
1317
1317
  };
1318
1318
  tracked: {
1319
+ completed: number;
1319
1320
  total: number;
1320
1321
  remaining: number;
1321
- completed: number;
1322
- phase: "complete" | "no-tasks" | "in-progress";
1322
+ phase: "no-tasks" | "in-progress" | "complete";
1323
1323
  };
1324
1324
  }, {
1325
- kind: "tracked-task-mismatch";
1326
1325
  message: string;
1326
+ kind: "tracked-task-mismatch";
1327
1327
  apply: {
1328
- total: number;
1329
1328
  complete: number;
1329
+ total: number;
1330
1330
  remaining: number;
1331
1331
  };
1332
1332
  tracked: {
1333
+ completed: number;
1333
1334
  total: number;
1334
1335
  remaining: number;
1335
- completed: number;
1336
- phase: "complete" | "no-tasks" | "in-progress";
1336
+ phase: "no-tasks" | "in-progress" | "complete";
1337
1337
  };
1338
1338
  }>>;
1339
1339
  }, "strip", z.ZodTypeAny, {
1340
- source: "openspec-instructions-apply";
1341
1340
  state: "ready" | "blocked" | "all_done";
1342
- total: number;
1343
1341
  complete: number;
1342
+ total: number;
1344
1343
  remaining: number;
1344
+ source: "openspec-instructions-apply";
1345
1345
  divergence: {
1346
- kind: "tracked-task-mismatch";
1347
1346
  message: string;
1347
+ kind: "tracked-task-mismatch";
1348
1348
  apply: {
1349
- total: number;
1350
1349
  complete: number;
1350
+ total: number;
1351
1351
  remaining: number;
1352
1352
  };
1353
1353
  tracked: {
1354
+ completed: number;
1354
1355
  total: number;
1355
1356
  remaining: number;
1356
- completed: number;
1357
- phase: "complete" | "no-tasks" | "in-progress";
1357
+ phase: "no-tasks" | "in-progress" | "complete";
1358
1358
  };
1359
1359
  } | null;
1360
1360
  }, {
1361
- source: "openspec-instructions-apply";
1362
1361
  state: "ready" | "blocked" | "all_done";
1363
- total: number;
1364
1362
  complete: number;
1363
+ total: number;
1365
1364
  remaining: number;
1365
+ source: "openspec-instructions-apply";
1366
1366
  divergence: {
1367
- kind: "tracked-task-mismatch";
1368
1367
  message: string;
1368
+ kind: "tracked-task-mismatch";
1369
1369
  apply: {
1370
- total: number;
1371
1370
  complete: number;
1371
+ total: number;
1372
1372
  remaining: number;
1373
1373
  };
1374
1374
  tracked: {
1375
+ completed: number;
1375
1376
  total: number;
1376
1377
  remaining: number;
1377
- completed: number;
1378
- phase: "complete" | "no-tasks" | "in-progress";
1378
+ phase: "no-tasks" | "in-progress" | "complete";
1379
1379
  };
1380
1380
  } | null;
1381
1381
  }>;
1382
1382
  }, "strip", z.ZodTypeAny, {
1383
+ state: "ready" | "blocked" | "all_done";
1384
+ tasks: {
1385
+ id: string;
1386
+ description: string;
1387
+ done: boolean;
1388
+ }[];
1383
1389
  changeName: string;
1384
1390
  schemaName: string;
1385
1391
  evidence: {
1386
- command: "instructions apply";
1387
1392
  success: boolean;
1388
1393
  stdout: string;
1389
1394
  stderr: string;
@@ -1396,46 +1401,41 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1396
1401
  target: z.ZodOptional<z.ZodString>;
1397
1402
  fix: z.ZodOptional<z.ZodString>;
1398
1403
  }, z.ZodTypeAny, "passthrough">[];
1404
+ command: "instructions apply";
1399
1405
  selector: {
1400
1406
  store?: string | undefined;
1401
1407
  };
1408
+ contractError?: string | undefined;
1402
1409
  root?: z.objectOutputType<{
1403
1410
  path: z.ZodString;
1404
1411
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1405
1412
  store_id: z.ZodOptional<z.ZodString>;
1406
1413
  }, z.ZodTypeAny, "passthrough"> | undefined;
1407
- contractError?: string | undefined;
1408
1414
  } & {
1409
1415
  [k: string]: unknown;
1410
1416
  };
1411
1417
  changeDir: string;
1412
1418
  instruction: string;
1413
1419
  contextFiles: Record<string, string[]>;
1414
- tasks: {
1415
- id: string;
1416
- done: boolean;
1417
- description: string;
1418
- }[];
1419
- state: "ready" | "blocked" | "all_done";
1420
1420
  applyInstructionProgress: {
1421
- source: "openspec-instructions-apply";
1422
1421
  state: "ready" | "blocked" | "all_done";
1423
- total: number;
1424
1422
  complete: number;
1423
+ total: number;
1425
1424
  remaining: number;
1425
+ source: "openspec-instructions-apply";
1426
1426
  divergence: {
1427
- kind: "tracked-task-mismatch";
1428
1427
  message: string;
1428
+ kind: "tracked-task-mismatch";
1429
1429
  apply: {
1430
- total: number;
1431
1430
  complete: number;
1431
+ total: number;
1432
1432
  remaining: number;
1433
1433
  };
1434
1434
  tracked: {
1435
+ completed: number;
1435
1436
  total: number;
1436
1437
  remaining: number;
1437
- completed: number;
1438
- phase: "complete" | "no-tasks" | "in-progress";
1438
+ phase: "no-tasks" | "in-progress" | "complete";
1439
1439
  };
1440
1440
  } | null;
1441
1441
  };
@@ -1476,10 +1476,15 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1476
1476
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1477
1477
  missingArtifacts?: string[] | undefined;
1478
1478
  }, {
1479
+ state: "ready" | "blocked" | "all_done";
1480
+ tasks: {
1481
+ id: string;
1482
+ description: string;
1483
+ done: boolean;
1484
+ }[];
1479
1485
  changeName: string;
1480
1486
  schemaName: string;
1481
1487
  evidence: {
1482
- command: "instructions apply";
1483
1488
  success: boolean;
1484
1489
  stdout: string;
1485
1490
  stderr: string;
@@ -1492,46 +1497,41 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1492
1497
  target: z.ZodOptional<z.ZodString>;
1493
1498
  fix: z.ZodOptional<z.ZodString>;
1494
1499
  }, z.ZodTypeAny, "passthrough">[];
1500
+ command: "instructions apply";
1495
1501
  selector: {
1496
1502
  store?: string | undefined;
1497
1503
  };
1504
+ contractError?: string | undefined;
1498
1505
  root?: z.objectInputType<{
1499
1506
  path: z.ZodString;
1500
1507
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1501
1508
  store_id: z.ZodOptional<z.ZodString>;
1502
1509
  }, z.ZodTypeAny, "passthrough"> | undefined;
1503
- contractError?: string | undefined;
1504
1510
  } & {
1505
1511
  [k: string]: unknown;
1506
1512
  };
1507
1513
  changeDir: string;
1508
1514
  instruction: string;
1509
1515
  contextFiles: Record<string, string | string[]>;
1510
- tasks: {
1511
- id: string;
1512
- done: boolean;
1513
- description: string;
1514
- }[];
1515
- state: "ready" | "blocked" | "all_done";
1516
1516
  applyInstructionProgress: {
1517
- source: "openspec-instructions-apply";
1518
1517
  state: "ready" | "blocked" | "all_done";
1519
- total: number;
1520
1518
  complete: number;
1519
+ total: number;
1521
1520
  remaining: number;
1521
+ source: "openspec-instructions-apply";
1522
1522
  divergence: {
1523
- kind: "tracked-task-mismatch";
1524
1523
  message: string;
1524
+ kind: "tracked-task-mismatch";
1525
1525
  apply: {
1526
- total: number;
1527
1526
  complete: number;
1527
+ total: number;
1528
1528
  remaining: number;
1529
1529
  };
1530
1530
  tracked: {
1531
+ completed: number;
1531
1532
  total: number;
1532
1533
  remaining: number;
1533
- completed: number;
1534
- phase: "complete" | "no-tasks" | "in-progress";
1534
+ phase: "no-tasks" | "in-progress" | "complete";
1535
1535
  };
1536
1536
  } | null;
1537
1537
  };
@@ -1582,12 +1582,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1582
1582
  complete: z.ZodNumber;
1583
1583
  remaining: z.ZodNumber;
1584
1584
  }, "strip", z.ZodTypeAny, {
1585
- total: number;
1586
1585
  complete: number;
1586
+ total: number;
1587
1587
  remaining: number;
1588
1588
  }, {
1589
- total: number;
1590
1589
  complete: number;
1590
+ total: number;
1591
1591
  remaining: number;
1592
1592
  }>;
1593
1593
  tasks: z.ZodArray<z.ZodObject<{
@@ -1596,12 +1596,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1596
1596
  done: z.ZodBoolean;
1597
1597
  }, "strip", z.ZodTypeAny, {
1598
1598
  id: string;
1599
- done: boolean;
1600
1599
  description: string;
1600
+ done: boolean;
1601
1601
  }, {
1602
1602
  id: string;
1603
- done: boolean;
1604
1603
  description: string;
1604
+ done: boolean;
1605
1605
  }>, "many">;
1606
1606
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1607
1607
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1855,10 +1855,20 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1855
1855
  command: z.ZodLiteral<"instructions apply">;
1856
1856
  }, z.ZodTypeAny, "passthrough">>;
1857
1857
  }, "strip", z.ZodTypeAny, {
1858
+ state: "ready" | "blocked" | "all_done";
1859
+ tasks: {
1860
+ id: string;
1861
+ description: string;
1862
+ done: boolean;
1863
+ }[];
1864
+ progress: {
1865
+ complete: number;
1866
+ total: number;
1867
+ remaining: number;
1868
+ };
1858
1869
  changeName: string;
1859
1870
  schemaName: string;
1860
1871
  evidence: {
1861
- command: "instructions apply";
1862
1872
  success: boolean;
1863
1873
  stdout: string;
1864
1874
  stderr: string;
@@ -1871,32 +1881,22 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1871
1881
  target: z.ZodOptional<z.ZodString>;
1872
1882
  fix: z.ZodOptional<z.ZodString>;
1873
1883
  }, z.ZodTypeAny, "passthrough">[];
1884
+ command: "instructions apply";
1874
1885
  selector: {
1875
1886
  store?: string | undefined;
1876
1887
  };
1888
+ contractError?: string | undefined;
1877
1889
  root?: z.objectOutputType<{
1878
1890
  path: z.ZodString;
1879
1891
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1880
1892
  store_id: z.ZodOptional<z.ZodString>;
1881
1893
  }, z.ZodTypeAny, "passthrough"> | undefined;
1882
- contractError?: string | undefined;
1883
1894
  } & {
1884
1895
  [k: string]: unknown;
1885
1896
  };
1886
1897
  changeDir: string;
1887
1898
  instruction: string;
1888
1899
  contextFiles: Record<string, string[]>;
1889
- tasks: {
1890
- id: string;
1891
- done: boolean;
1892
- description: string;
1893
- }[];
1894
- state: "ready" | "blocked" | "all_done";
1895
- progress: {
1896
- total: number;
1897
- complete: number;
1898
- remaining: number;
1899
- };
1900
1900
  references?: z.objectOutputType<{
1901
1901
  store_id: z.ZodString;
1902
1902
  root: z.ZodOptional<z.ZodString>;
@@ -1934,10 +1934,20 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1934
1934
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1935
1935
  missingArtifacts?: string[] | undefined;
1936
1936
  }, {
1937
+ state: "ready" | "blocked" | "all_done";
1938
+ tasks: {
1939
+ id: string;
1940
+ description: string;
1941
+ done: boolean;
1942
+ }[];
1943
+ progress: {
1944
+ complete: number;
1945
+ total: number;
1946
+ remaining: number;
1947
+ };
1937
1948
  changeName: string;
1938
1949
  schemaName: string;
1939
1950
  evidence: {
1940
- command: "instructions apply";
1941
1951
  success: boolean;
1942
1952
  stdout: string;
1943
1953
  stderr: string;
@@ -1950,32 +1960,22 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1950
1960
  target: z.ZodOptional<z.ZodString>;
1951
1961
  fix: z.ZodOptional<z.ZodString>;
1952
1962
  }, z.ZodTypeAny, "passthrough">[];
1963
+ command: "instructions apply";
1953
1964
  selector: {
1954
1965
  store?: string | undefined;
1955
1966
  };
1967
+ contractError?: string | undefined;
1956
1968
  root?: z.objectInputType<{
1957
1969
  path: z.ZodString;
1958
1970
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1959
1971
  store_id: z.ZodOptional<z.ZodString>;
1960
1972
  }, z.ZodTypeAny, "passthrough"> | undefined;
1961
- contractError?: string | undefined;
1962
1973
  } & {
1963
1974
  [k: string]: unknown;
1964
1975
  };
1965
1976
  changeDir: string;
1966
1977
  instruction: string;
1967
1978
  contextFiles: Record<string, string | string[]>;
1968
- tasks: {
1969
- id: string;
1970
- done: boolean;
1971
- description: string;
1972
- }[];
1973
- state: "ready" | "blocked" | "all_done";
1974
- progress: {
1975
- total: number;
1976
- complete: number;
1977
- remaining: number;
1978
- };
1979
1979
  references?: z.objectInputType<{
1980
1980
  store_id: z.ZodString;
1981
1981
  root: z.ZodOptional<z.ZodString>;
@@ -2014,10 +2014,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2014
2014
  missingArtifacts?: string[] | undefined;
2015
2015
  }>, {
2016
2016
  applyInstructionProgress: ApplyInstructionProgress;
2017
+ state: "ready" | "blocked" | "all_done";
2018
+ tasks: {
2019
+ id: string;
2020
+ description: string;
2021
+ done: boolean;
2022
+ }[];
2017
2023
  changeName: string;
2018
2024
  schemaName: string;
2019
2025
  evidence: {
2020
- command: "instructions apply";
2021
2026
  success: boolean;
2022
2027
  stdout: string;
2023
2028
  stderr: string;
@@ -2030,27 +2035,22 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2030
2035
  target: z.ZodOptional<z.ZodString>;
2031
2036
  fix: z.ZodOptional<z.ZodString>;
2032
2037
  }, z.ZodTypeAny, "passthrough">[];
2038
+ command: "instructions apply";
2033
2039
  selector: {
2034
2040
  store?: string | undefined;
2035
2041
  };
2042
+ contractError?: string | undefined;
2036
2043
  root?: z.objectOutputType<{
2037
2044
  path: z.ZodString;
2038
2045
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2039
2046
  store_id: z.ZodOptional<z.ZodString>;
2040
2047
  }, z.ZodTypeAny, "passthrough"> | undefined;
2041
- contractError?: string | undefined;
2042
2048
  } & {
2043
2049
  [k: string]: unknown;
2044
2050
  };
2045
2051
  changeDir: string;
2046
2052
  instruction: string;
2047
2053
  contextFiles: Record<string, string[]>;
2048
- tasks: {
2049
- id: string;
2050
- done: boolean;
2051
- description: string;
2052
- }[];
2053
- state: "ready" | "blocked" | "all_done";
2054
2054
  references?: z.objectOutputType<{
2055
2055
  store_id: z.ZodString;
2056
2056
  root: z.ZodOptional<z.ZodString>;
@@ -2088,10 +2088,20 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2088
2088
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2089
2089
  missingArtifacts?: string[] | undefined;
2090
2090
  }, {
2091
+ state: "ready" | "blocked" | "all_done";
2092
+ tasks: {
2093
+ id: string;
2094
+ description: string;
2095
+ done: boolean;
2096
+ }[];
2097
+ progress: {
2098
+ complete: number;
2099
+ total: number;
2100
+ remaining: number;
2101
+ };
2091
2102
  changeName: string;
2092
2103
  schemaName: string;
2093
2104
  evidence: {
2094
- command: "instructions apply";
2095
2105
  success: boolean;
2096
2106
  stdout: string;
2097
2107
  stderr: string;
@@ -2104,32 +2114,22 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2104
2114
  target: z.ZodOptional<z.ZodString>;
2105
2115
  fix: z.ZodOptional<z.ZodString>;
2106
2116
  }, z.ZodTypeAny, "passthrough">[];
2117
+ command: "instructions apply";
2107
2118
  selector: {
2108
2119
  store?: string | undefined;
2109
2120
  };
2121
+ contractError?: string | undefined;
2110
2122
  root?: z.objectInputType<{
2111
2123
  path: z.ZodString;
2112
2124
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2113
2125
  store_id: z.ZodOptional<z.ZodString>;
2114
2126
  }, z.ZodTypeAny, "passthrough"> | undefined;
2115
- contractError?: string | undefined;
2116
2127
  } & {
2117
2128
  [k: string]: unknown;
2118
2129
  };
2119
2130
  changeDir: string;
2120
2131
  instruction: string;
2121
2132
  contextFiles: Record<string, string | string[]>;
2122
- tasks: {
2123
- id: string;
2124
- done: boolean;
2125
- description: string;
2126
- }[];
2127
- state: "ready" | "blocked" | "all_done";
2128
- progress: {
2129
- total: number;
2130
- complete: number;
2131
- remaining: number;
2132
- };
2133
2133
  references?: z.objectInputType<{
2134
2134
  store_id: z.ZodString;
2135
2135
  root: z.ZodOptional<z.ZodString>;
@@ -2177,12 +2177,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2177
2177
  done: z.ZodBoolean;
2178
2178
  }, "strip", z.ZodTypeAny, {
2179
2179
  id: string;
2180
- done: boolean;
2181
2180
  description: string;
2181
+ done: boolean;
2182
2182
  }, {
2183
2183
  id: string;
2184
- done: boolean;
2185
2184
  description: string;
2185
+ done: boolean;
2186
2186
  }>, "many">;
2187
2187
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
2188
2188
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2449,12 +2449,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2449
2449
  complete: z.ZodNumber;
2450
2450
  remaining: z.ZodNumber;
2451
2451
  }, "strip", z.ZodTypeAny, {
2452
- total: number;
2453
2452
  complete: number;
2453
+ total: number;
2454
2454
  remaining: number;
2455
2455
  }, {
2456
- total: number;
2457
2456
  complete: number;
2457
+ total: number;
2458
2458
  remaining: number;
2459
2459
  }>;
2460
2460
  tracked: z.ZodObject<{
@@ -2463,93 +2463,98 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2463
2463
  remaining: z.ZodNumber;
2464
2464
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
2465
2465
  }, "strip", z.ZodTypeAny, {
2466
+ completed: number;
2466
2467
  total: number;
2467
2468
  remaining: number;
2468
- completed: number;
2469
- phase: "complete" | "no-tasks" | "in-progress";
2469
+ phase: "no-tasks" | "in-progress" | "complete";
2470
2470
  }, {
2471
+ completed: number;
2471
2472
  total: number;
2472
2473
  remaining: number;
2473
- completed: number;
2474
- phase: "complete" | "no-tasks" | "in-progress";
2474
+ phase: "no-tasks" | "in-progress" | "complete";
2475
2475
  }>;
2476
2476
  }, "strip", z.ZodTypeAny, {
2477
- kind: "tracked-task-mismatch";
2478
2477
  message: string;
2478
+ kind: "tracked-task-mismatch";
2479
2479
  apply: {
2480
- total: number;
2481
2480
  complete: number;
2481
+ total: number;
2482
2482
  remaining: number;
2483
2483
  };
2484
2484
  tracked: {
2485
+ completed: number;
2485
2486
  total: number;
2486
2487
  remaining: number;
2487
- completed: number;
2488
- phase: "complete" | "no-tasks" | "in-progress";
2488
+ phase: "no-tasks" | "in-progress" | "complete";
2489
2489
  };
2490
2490
  }, {
2491
- kind: "tracked-task-mismatch";
2492
2491
  message: string;
2492
+ kind: "tracked-task-mismatch";
2493
2493
  apply: {
2494
- total: number;
2495
2494
  complete: number;
2495
+ total: number;
2496
2496
  remaining: number;
2497
2497
  };
2498
2498
  tracked: {
2499
+ completed: number;
2499
2500
  total: number;
2500
2501
  remaining: number;
2501
- completed: number;
2502
- phase: "complete" | "no-tasks" | "in-progress";
2502
+ phase: "no-tasks" | "in-progress" | "complete";
2503
2503
  };
2504
2504
  }>>;
2505
2505
  }, "strip", z.ZodTypeAny, {
2506
- source: "openspec-instructions-apply";
2507
2506
  state: "ready" | "blocked" | "all_done";
2508
- total: number;
2509
2507
  complete: number;
2508
+ total: number;
2510
2509
  remaining: number;
2510
+ source: "openspec-instructions-apply";
2511
2511
  divergence: {
2512
- kind: "tracked-task-mismatch";
2513
2512
  message: string;
2513
+ kind: "tracked-task-mismatch";
2514
2514
  apply: {
2515
- total: number;
2516
2515
  complete: number;
2516
+ total: number;
2517
2517
  remaining: number;
2518
2518
  };
2519
2519
  tracked: {
2520
+ completed: number;
2520
2521
  total: number;
2521
2522
  remaining: number;
2522
- completed: number;
2523
- phase: "complete" | "no-tasks" | "in-progress";
2523
+ phase: "no-tasks" | "in-progress" | "complete";
2524
2524
  };
2525
2525
  } | null;
2526
2526
  }, {
2527
- source: "openspec-instructions-apply";
2528
2527
  state: "ready" | "blocked" | "all_done";
2529
- total: number;
2530
2528
  complete: number;
2529
+ total: number;
2531
2530
  remaining: number;
2531
+ source: "openspec-instructions-apply";
2532
2532
  divergence: {
2533
- kind: "tracked-task-mismatch";
2534
2533
  message: string;
2534
+ kind: "tracked-task-mismatch";
2535
2535
  apply: {
2536
- total: number;
2537
2536
  complete: number;
2537
+ total: number;
2538
2538
  remaining: number;
2539
2539
  };
2540
2540
  tracked: {
2541
+ completed: number;
2541
2542
  total: number;
2542
2543
  remaining: number;
2543
- completed: number;
2544
- phase: "complete" | "no-tasks" | "in-progress";
2544
+ phase: "no-tasks" | "in-progress" | "complete";
2545
2545
  };
2546
2546
  } | null;
2547
2547
  }>;
2548
2548
  }, "strip", z.ZodTypeAny, {
2549
+ state: "ready" | "blocked" | "all_done";
2550
+ tasks: {
2551
+ id: string;
2552
+ description: string;
2553
+ done: boolean;
2554
+ }[];
2549
2555
  changeName: string;
2550
2556
  schemaName: string;
2551
2557
  evidence: {
2552
- command: "instructions apply";
2553
2558
  success: boolean;
2554
2559
  stdout: string;
2555
2560
  stderr: string;
@@ -2562,46 +2567,41 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2562
2567
  target: z.ZodOptional<z.ZodString>;
2563
2568
  fix: z.ZodOptional<z.ZodString>;
2564
2569
  }, z.ZodTypeAny, "passthrough">[];
2570
+ command: "instructions apply";
2565
2571
  selector: {
2566
2572
  store?: string | undefined;
2567
2573
  };
2574
+ contractError?: string | undefined;
2568
2575
  root?: z.objectOutputType<{
2569
2576
  path: z.ZodString;
2570
2577
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2571
2578
  store_id: z.ZodOptional<z.ZodString>;
2572
2579
  }, z.ZodTypeAny, "passthrough"> | undefined;
2573
- contractError?: string | undefined;
2574
2580
  } & {
2575
2581
  [k: string]: unknown;
2576
2582
  };
2577
2583
  changeDir: string;
2578
2584
  instruction: string;
2579
2585
  contextFiles: Record<string, string[]>;
2580
- tasks: {
2581
- id: string;
2582
- done: boolean;
2583
- description: string;
2584
- }[];
2585
- state: "ready" | "blocked" | "all_done";
2586
2586
  applyInstructionProgress: {
2587
- source: "openspec-instructions-apply";
2588
2587
  state: "ready" | "blocked" | "all_done";
2589
- total: number;
2590
2588
  complete: number;
2589
+ total: number;
2591
2590
  remaining: number;
2591
+ source: "openspec-instructions-apply";
2592
2592
  divergence: {
2593
- kind: "tracked-task-mismatch";
2594
2593
  message: string;
2594
+ kind: "tracked-task-mismatch";
2595
2595
  apply: {
2596
- total: number;
2597
2596
  complete: number;
2597
+ total: number;
2598
2598
  remaining: number;
2599
2599
  };
2600
2600
  tracked: {
2601
+ completed: number;
2601
2602
  total: number;
2602
2603
  remaining: number;
2603
- completed: number;
2604
- phase: "complete" | "no-tasks" | "in-progress";
2604
+ phase: "no-tasks" | "in-progress" | "complete";
2605
2605
  };
2606
2606
  } | null;
2607
2607
  };
@@ -2642,10 +2642,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2642
2642
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2643
2643
  missingArtifacts?: string[] | undefined;
2644
2644
  }, {
2645
+ state: "ready" | "blocked" | "all_done";
2646
+ tasks: {
2647
+ id: string;
2648
+ description: string;
2649
+ done: boolean;
2650
+ }[];
2645
2651
  changeName: string;
2646
2652
  schemaName: string;
2647
2653
  evidence: {
2648
- command: "instructions apply";
2649
2654
  success: boolean;
2650
2655
  stdout: string;
2651
2656
  stderr: string;
@@ -2658,46 +2663,41 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2658
2663
  target: z.ZodOptional<z.ZodString>;
2659
2664
  fix: z.ZodOptional<z.ZodString>;
2660
2665
  }, z.ZodTypeAny, "passthrough">[];
2666
+ command: "instructions apply";
2661
2667
  selector: {
2662
2668
  store?: string | undefined;
2663
2669
  };
2670
+ contractError?: string | undefined;
2664
2671
  root?: z.objectInputType<{
2665
2672
  path: z.ZodString;
2666
2673
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2667
2674
  store_id: z.ZodOptional<z.ZodString>;
2668
2675
  }, z.ZodTypeAny, "passthrough"> | undefined;
2669
- contractError?: string | undefined;
2670
2676
  } & {
2671
2677
  [k: string]: unknown;
2672
2678
  };
2673
2679
  changeDir: string;
2674
2680
  instruction: string;
2675
2681
  contextFiles: Record<string, string | string[]>;
2676
- tasks: {
2677
- id: string;
2678
- done: boolean;
2679
- description: string;
2680
- }[];
2681
- state: "ready" | "blocked" | "all_done";
2682
2682
  applyInstructionProgress: {
2683
- source: "openspec-instructions-apply";
2684
2683
  state: "ready" | "blocked" | "all_done";
2685
- total: number;
2686
2684
  complete: number;
2685
+ total: number;
2687
2686
  remaining: number;
2687
+ source: "openspec-instructions-apply";
2688
2688
  divergence: {
2689
- kind: "tracked-task-mismatch";
2690
2689
  message: string;
2690
+ kind: "tracked-task-mismatch";
2691
2691
  apply: {
2692
- total: number;
2693
2692
  complete: number;
2693
+ total: number;
2694
2694
  remaining: number;
2695
2695
  };
2696
2696
  tracked: {
2697
+ completed: number;
2697
2698
  total: number;
2698
2699
  remaining: number;
2699
- completed: number;
2700
- phase: "complete" | "no-tasks" | "in-progress";
2700
+ phase: "no-tasks" | "in-progress" | "complete";
2701
2701
  };
2702
2702
  } | null;
2703
2703
  };
@@ -2758,13 +2758,13 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2758
2758
  }, "strip", z.ZodTypeAny, {
2759
2759
  path: string;
2760
2760
  id: string;
2761
- done: boolean;
2762
2761
  description: string;
2762
+ done: boolean;
2763
2763
  }, {
2764
2764
  path: string;
2765
2765
  id: string;
2766
- done: boolean;
2767
2766
  description: string;
2767
+ done: boolean;
2768
2768
  }>, "many">;
2769
2769
  unlocks: z.ZodArray<z.ZodString, "many">;
2770
2770
  references: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3016,11 +3016,12 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3016
3016
  command: z.ZodLiteral<"instructions">;
3017
3017
  }, z.ZodTypeAny, "passthrough">>;
3018
3018
  }, "strip", z.ZodTypeAny, {
3019
+ artifactId: string;
3020
+ outputPath: string;
3021
+ description: string;
3019
3022
  changeName: string;
3020
3023
  schemaName: string;
3021
- outputPath: string;
3022
3024
  evidence: {
3023
- command: "instructions";
3024
3025
  success: boolean;
3025
3026
  stdout: string;
3026
3027
  stderr: string;
@@ -3033,31 +3034,30 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3033
3034
  target: z.ZodOptional<z.ZodString>;
3034
3035
  fix: z.ZodOptional<z.ZodString>;
3035
3036
  }, z.ZodTypeAny, "passthrough">[];
3037
+ command: "instructions";
3036
3038
  selector: {
3037
3039
  store?: string | undefined;
3038
3040
  };
3041
+ contractError?: string | undefined;
3039
3042
  root?: z.objectOutputType<{
3040
3043
  path: z.ZodString;
3041
3044
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3042
3045
  store_id: z.ZodOptional<z.ZodString>;
3043
3046
  }, z.ZodTypeAny, "passthrough"> | undefined;
3044
- contractError?: string | undefined;
3045
3047
  } & {
3046
3048
  [k: string]: unknown;
3047
3049
  };
3048
- artifactId: string;
3049
3050
  changeDir: string;
3050
- description: string;
3051
3051
  template: string;
3052
3052
  dependencies: {
3053
3053
  path: string;
3054
3054
  id: string;
3055
- done: boolean;
3056
3055
  description: string;
3056
+ done: boolean;
3057
3057
  }[];
3058
3058
  unlocks: string[];
3059
- instruction?: string | null | undefined;
3060
3059
  context?: string | null | undefined;
3060
+ instruction?: string | null | undefined;
3061
3061
  rules?: string[] | null | undefined;
3062
3062
  references?: z.objectOutputType<{
3063
3063
  store_id: z.ZodString;
@@ -3095,11 +3095,12 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3095
3095
  fetch: z.ZodOptional<z.ZodString>;
3096
3096
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3097
3097
  }, {
3098
+ artifactId: string;
3099
+ outputPath: string;
3100
+ description: string;
3098
3101
  changeName: string;
3099
3102
  schemaName: string;
3100
- outputPath: string;
3101
3103
  evidence: {
3102
- command: "instructions";
3103
3104
  success: boolean;
3104
3105
  stdout: string;
3105
3106
  stderr: string;
@@ -3112,31 +3113,30 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3112
3113
  target: z.ZodOptional<z.ZodString>;
3113
3114
  fix: z.ZodOptional<z.ZodString>;
3114
3115
  }, z.ZodTypeAny, "passthrough">[];
3116
+ command: "instructions";
3115
3117
  selector: {
3116
3118
  store?: string | undefined;
3117
3119
  };
3120
+ contractError?: string | undefined;
3118
3121
  root?: z.objectInputType<{
3119
3122
  path: z.ZodString;
3120
3123
  source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3121
3124
  store_id: z.ZodOptional<z.ZodString>;
3122
3125
  }, z.ZodTypeAny, "passthrough"> | undefined;
3123
- contractError?: string | undefined;
3124
3126
  } & {
3125
3127
  [k: string]: unknown;
3126
3128
  };
3127
- artifactId: string;
3128
3129
  changeDir: string;
3129
- description: string;
3130
3130
  template: string;
3131
3131
  dependencies: {
3132
3132
  path: string;
3133
3133
  id: string;
3134
- done: boolean;
3135
3134
  description: string;
3135
+ done: boolean;
3136
3136
  }[];
3137
3137
  unlocks: string[];
3138
- instruction?: string | null | undefined;
3139
3138
  context?: string | null | undefined;
3139
+ instruction?: string | null | undefined;
3140
3140
  rules?: string[] | null | undefined;
3141
3141
  references?: z.objectInputType<{
3142
3142
  store_id: z.ZodString;
@@ -3333,6 +3333,7 @@ declare const SchemaDetailSchema: z.ZodObject<{
3333
3333
  applyTracks: z.ZodOptional<z.ZodString>;
3334
3334
  applyInstruction: z.ZodOptional<z.ZodString>;
3335
3335
  }, "strip", z.ZodTypeAny, {
3336
+ name: string;
3336
3337
  applyRequires: string[];
3337
3338
  artifacts: {
3338
3339
  id: string;
@@ -3342,12 +3343,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
3342
3343
  instruction?: string | undefined;
3343
3344
  template?: string | undefined;
3344
3345
  }[];
3345
- name: string;
3346
3346
  description?: string | undefined;
3347
3347
  version?: string | number | undefined;
3348
3348
  applyTracks?: string | undefined;
3349
3349
  applyInstruction?: string | undefined;
3350
3350
  }, {
3351
+ name: string;
3351
3352
  applyRequires: string[];
3352
3353
  artifacts: {
3353
3354
  id: string;
@@ -3357,7 +3358,6 @@ declare const SchemaDetailSchema: z.ZodObject<{
3357
3358
  instruction?: string | undefined;
3358
3359
  template?: string | undefined;
3359
3360
  }[];
3360
- name: string;
3361
3361
  description?: string | undefined;
3362
3362
  version?: string | number | undefined;
3363
3363
  applyTracks?: string | undefined;
@@ -3412,6 +3412,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3412
3412
  applyTracks: z.ZodOptional<z.ZodString>;
3413
3413
  applyInstruction: z.ZodOptional<z.ZodString>;
3414
3414
  }, "strip", z.ZodTypeAny, {
3415
+ name: string;
3415
3416
  applyRequires: string[];
3416
3417
  artifacts: {
3417
3418
  id: string;
@@ -3421,12 +3422,12 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3421
3422
  instruction?: string | undefined;
3422
3423
  template?: string | undefined;
3423
3424
  }[];
3424
- name: string;
3425
3425
  description?: string | undefined;
3426
3426
  version?: string | number | undefined;
3427
3427
  applyTracks?: string | undefined;
3428
3428
  applyInstruction?: string | undefined;
3429
3429
  }, {
3430
+ name: string;
3430
3431
  applyRequires: string[];
3431
3432
  artifacts: {
3432
3433
  id: string;
@@ -3436,7 +3437,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3436
3437
  instruction?: string | undefined;
3437
3438
  template?: string | undefined;
3438
3439
  }[];
3439
- name: string;
3440
3440
  description?: string | undefined;
3441
3441
  version?: string | number | undefined;
3442
3442
  applyTracks?: string | undefined;
@@ -3517,6 +3517,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3517
3517
  source: z.ZodEnum<["project", "user", "package"]>;
3518
3518
  }, z.ZodTypeAny, "passthrough">[];
3519
3519
  schemaDetails: Record<string, {
3520
+ name: string;
3520
3521
  applyRequires: string[];
3521
3522
  artifacts: {
3522
3523
  id: string;
@@ -3526,7 +3527,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3526
3527
  instruction?: string | undefined;
3527
3528
  template?: string | undefined;
3528
3529
  }[];
3529
- name: string;
3530
3530
  description?: string | undefined;
3531
3531
  version?: string | number | undefined;
3532
3532
  applyTracks?: string | undefined;
@@ -3563,6 +3563,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3563
3563
  source: z.ZodEnum<["project", "user", "package"]>;
3564
3564
  }, z.ZodTypeAny, "passthrough">[];
3565
3565
  schemaDetails: Record<string, {
3566
+ name: string;
3566
3567
  applyRequires: string[];
3567
3568
  artifacts: {
3568
3569
  id: string;
@@ -3572,7 +3573,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3572
3573
  instruction?: string | undefined;
3573
3574
  template?: string | undefined;
3574
3575
  }[];
3575
- name: string;
3576
3576
  description?: string | undefined;
3577
3577
  version?: string | number | undefined;
3578
3578
  applyTracks?: string | undefined;