@openspecui/core 7.0.0 → 7.0.2

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 (45) hide show
  1. package/dist/{active-root-config-BXb2HeOF.d.mts → active-root-config-BHgXdX6b.d.mts} +15 -15
  2. package/dist/active-root-config.d.mts +4 -4
  3. package/dist/app-daemon-control.d.mts +41 -41
  4. package/dist/{cli-projection-CBwRFPMi.d.mts → cli-projection-Um81AQW5.d.mts} +13 -13
  5. package/dist/cli-projection.d.mts +4 -4
  6. package/dist/{dashboard-summary-transport-BCaB0LKb.d.mts → dashboard-summary-transport-BJBod4rO.d.mts} +2551 -2509
  7. package/dist/dashboard-summary-transport.d.mts +17 -17
  8. package/dist/hosted-app.d.mts +17 -17
  9. package/dist/hosted-contract.d.mts +17 -17
  10. package/dist/{index-CF5niw80.d.mts → index-CYFOH_f8.d.mts} +21 -21
  11. package/dist/index.d.mts +18 -18
  12. package/dist/index.mjs +370 -67
  13. package/dist/{local-download-profiles-Bq0bQbTA.d.mts → local-download-profiles-BQLPhuE0.d.mts} +1 -1
  14. package/dist/local-download-profiles.d.mts +2 -2
  15. package/dist/{notifications-ClhEHZU3.d.mts → notifications-BIs3J3BY.d.mts} +8 -8
  16. package/dist/{notifications-Cy74GVN7.mjs → notifications-VHUMI-qG.mjs} +1 -1
  17. package/dist/notifications.d.mts +2 -2
  18. package/dist/notifications.mjs +2 -2
  19. package/dist/{openspec-projection-EgTIZCfC.d.mts → openspec-projection-_1NeavJP.d.mts} +1 -1
  20. package/dist/openspec-projection.d.mts +2 -2
  21. package/dist/{opsx-entity-BNthD6Ks.d.mts → opsx-entity-DZ7onDWC.d.mts} +2 -2
  22. package/dist/opsx-entity.d.mts +6 -6
  23. package/dist/{opsx-schema-detail-B4li4BMU.d.mts → opsx-schema-detail-D2RnlxSg.d.mts} +2 -2
  24. package/dist/opsx-schema-detail.d.mts +7 -7
  25. package/dist/{opsx-types-DP8JjGq0.d.mts → opsx-types-Ch6juiWL.d.mts} +209 -209
  26. package/dist/planning-cli-projection.d.mts +17 -17
  27. package/dist/{schemas-divIlNvA.d.mts → schemas-zh0_vzYQ.d.mts} +128 -128
  28. package/dist/{sounds-qIKfPgxj.d.mts → sounds-Bb_3aeJJ.d.mts} +1 -1
  29. package/dist/sounds.d.mts +1 -1
  30. package/dist/spec-catalog.d.mts +17 -17
  31. package/dist/{store-mutation-protocol-Cr4pWWbh.d.mts → store-mutation-protocol-BbgWMJVK.d.mts} +24 -24
  32. package/dist/store-mutation-protocol.d.mts +1 -1
  33. package/dist/{store-types-DjWxHHvs.d.mts → store-types-CF7_LsVL.d.mts} +1 -1
  34. package/dist/store-types.d.mts +4 -4
  35. package/dist/task-progress.d.mts +5 -5
  36. package/dist/{terminal-audio-CSUGxzx3.d.mts → terminal-audio-GuG0qiiI.d.mts} +2 -2
  37. package/dist/terminal-audio.d.mts +2 -2
  38. package/dist/{terminal-control-c6oS-lFb.mjs → terminal-control-CdPuYwwU.mjs} +19 -1
  39. package/dist/terminal-control.d.mts +2 -2
  40. package/dist/terminal-control.mjs +1 -1
  41. package/dist/{terminal-invocation-kFxUD_5T.d.mts → terminal-invocation-Dx1qfSKb.d.mts} +78 -78
  42. package/dist/terminal-invocation.d.mts +1 -1
  43. package/dist/{translator-DgIIyl6v.d.mts → translator-Cwaf_pXN.d.mts} +166 -166
  44. package/dist/translator.d.mts +1 -1
  45. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { G as CliJsonValue } from "./index-CF5niw80.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-divIlNvA.mjs";
1
+ import { G as CliJsonValue } from "./index-CYFOH_f8.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-zh0_vzYQ.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -406,14 +406,14 @@ declare const ArtifactStatusSchema: z.ZodObject<{
406
406
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
407
  relativePath: z.ZodOptional<z.ZodString>;
408
408
  }, "strip", z.ZodTypeAny, {
409
- status: "ready" | "done" | "skipped" | "blocked";
409
+ status: "done" | "skipped" | "ready" | "blocked";
410
410
  id: string;
411
411
  outputPath: string;
412
412
  requires: string[];
413
413
  missingDeps?: string[] | undefined;
414
414
  relativePath?: string | undefined;
415
415
  }, {
416
- status: "ready" | "done" | "skipped" | "blocked";
416
+ status: "done" | "skipped" | "ready" | "blocked";
417
417
  id: string;
418
418
  outputPath: string;
419
419
  requires: string[];
@@ -434,14 +434,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
434
434
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
435
435
  relativePath: z.ZodOptional<z.ZodString>;
436
436
  }, "strip", z.ZodTypeAny, {
437
- status: "ready" | "done" | "skipped" | "blocked";
437
+ status: "done" | "skipped" | "ready" | "blocked";
438
438
  id: string;
439
439
  outputPath: string;
440
440
  requires: string[];
441
441
  missingDeps?: string[] | undefined;
442
442
  relativePath?: string | undefined;
443
443
  }, {
444
- status: "ready" | "done" | "skipped" | "blocked";
444
+ status: "done" | "skipped" | "ready" | "blocked";
445
445
  id: string;
446
446
  outputPath: string;
447
447
  requires: string[];
@@ -720,6 +720,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
720
720
  [k: string]: unknown;
721
721
  };
722
722
  evidence: {
723
+ command: "status";
723
724
  success: boolean;
724
725
  stdout: string;
725
726
  stderr: string;
@@ -732,16 +733,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
732
733
  target: z.ZodOptional<z.ZodString>;
733
734
  fix: z.ZodOptional<z.ZodString>;
734
735
  }, z.ZodTypeAny, "passthrough">[];
735
- command: "status";
736
736
  selector: {
737
737
  store?: string | undefined;
738
738
  };
739
- contractError?: string | undefined;
740
739
  root?: z.objectOutputType<{
741
740
  path: z.ZodString;
742
741
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
743
742
  store_id: z.ZodOptional<z.ZodString>;
744
743
  }, z.ZodTypeAny, "passthrough"> | undefined;
744
+ contractError?: string | undefined;
745
745
  } & {
746
746
  [k: string]: unknown;
747
747
  };
@@ -783,6 +783,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
783
783
  [k: string]: unknown;
784
784
  };
785
785
  evidence: {
786
+ command: "status";
786
787
  success: boolean;
787
788
  stdout: string;
788
789
  stderr: string;
@@ -795,16 +796,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
795
796
  target: z.ZodOptional<z.ZodString>;
796
797
  fix: z.ZodOptional<z.ZodString>;
797
798
  }, z.ZodTypeAny, "passthrough">[];
798
- command: "status";
799
799
  selector: {
800
800
  store?: string | undefined;
801
801
  };
802
- contractError?: string | undefined;
803
802
  root?: z.objectInputType<{
804
803
  path: z.ZodString;
805
804
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
806
805
  store_id: z.ZodOptional<z.ZodString>;
807
806
  }, z.ZodTypeAny, "passthrough"> | undefined;
807
+ contractError?: string | undefined;
808
808
  } & {
809
809
  [k: string]: unknown;
810
810
  };
@@ -821,7 +821,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
821
821
  isComplete: boolean;
822
822
  applyRequires: string[];
823
823
  artifacts: {
824
- status: "ready" | "done" | "skipped" | "blocked";
824
+ status: "done" | "skipped" | "ready" | "blocked";
825
825
  id: string;
826
826
  outputPath: string;
827
827
  requires: string[];
@@ -866,6 +866,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
866
866
  [k: string]: unknown;
867
867
  };
868
868
  evidence: {
869
+ command: "status";
869
870
  success: boolean;
870
871
  stdout: string;
871
872
  stderr: string;
@@ -878,16 +879,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
878
879
  target: z.ZodOptional<z.ZodString>;
879
880
  fix: z.ZodOptional<z.ZodString>;
880
881
  }, z.ZodTypeAny, "passthrough">[];
881
- command: "status";
882
882
  selector: {
883
883
  store?: string | undefined;
884
884
  };
885
- contractError?: string | undefined;
886
885
  root?: z.objectOutputType<{
887
886
  path: z.ZodString;
888
887
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
889
888
  store_id: z.ZodOptional<z.ZodString>;
890
889
  }, z.ZodTypeAny, "passthrough"> | undefined;
890
+ contractError?: string | undefined;
891
891
  } & {
892
892
  [k: string]: unknown;
893
893
  };
@@ -900,7 +900,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
900
900
  isComplete: boolean;
901
901
  applyRequires: string[];
902
902
  artifacts: {
903
- status: "ready" | "done" | "skipped" | "blocked";
903
+ status: "done" | "skipped" | "ready" | "blocked";
904
904
  id: string;
905
905
  outputPath: string;
906
906
  requires: string[];
@@ -945,6 +945,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
945
945
  [k: string]: unknown;
946
946
  };
947
947
  evidence: {
948
+ command: "status";
948
949
  success: boolean;
949
950
  stdout: string;
950
951
  stderr: string;
@@ -957,16 +958,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
957
958
  target: z.ZodOptional<z.ZodString>;
958
959
  fix: z.ZodOptional<z.ZodString>;
959
960
  }, z.ZodTypeAny, "passthrough">[];
960
- command: "status";
961
961
  selector: {
962
962
  store?: string | undefined;
963
963
  };
964
- contractError?: string | undefined;
965
964
  root?: z.objectInputType<{
966
965
  path: z.ZodString;
967
966
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
968
967
  store_id: z.ZodOptional<z.ZodString>;
969
968
  }, z.ZodTypeAny, "passthrough"> | undefined;
969
+ contractError?: string | undefined;
970
970
  } & {
971
971
  [k: string]: unknown;
972
972
  };
@@ -984,14 +984,14 @@ declare const DependencyInfoSchema: z.ZodObject<{
984
984
  }, "strip", z.ZodTypeAny, {
985
985
  path: string;
986
986
  id: string;
987
- description: string;
988
987
  done: boolean;
988
+ description: string;
989
989
  skipped?: boolean | undefined;
990
990
  }, {
991
991
  path: string;
992
992
  id: string;
993
- description: string;
994
993
  done: boolean;
994
+ description: string;
995
995
  skipped?: boolean | undefined;
996
996
  }>;
997
997
  type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
@@ -1001,12 +1001,12 @@ declare const ApplyTaskSchema: z.ZodObject<{
1001
1001
  done: z.ZodBoolean;
1002
1002
  }, "strip", z.ZodTypeAny, {
1003
1003
  id: string;
1004
- description: string;
1005
1004
  done: boolean;
1005
+ description: string;
1006
1006
  }, {
1007
1007
  id: string;
1008
- description: string;
1009
1008
  done: boolean;
1009
+ description: string;
1010
1010
  }>;
1011
1011
  type ApplyTask = z.infer<typeof ApplyTaskSchema>;
1012
1012
  declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
@@ -1022,12 +1022,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1022
1022
  done: z.ZodBoolean;
1023
1023
  }, "strip", z.ZodTypeAny, {
1024
1024
  id: string;
1025
- description: string;
1026
1025
  done: boolean;
1026
+ description: string;
1027
1027
  }, {
1028
1028
  id: string;
1029
- description: string;
1030
1029
  done: boolean;
1030
+ description: string;
1031
1031
  }>, "many">;
1032
1032
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1033
1033
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1296,12 +1296,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1296
1296
  complete: z.ZodNumber;
1297
1297
  remaining: z.ZodNumber;
1298
1298
  }, "strip", z.ZodTypeAny, {
1299
- complete: number;
1300
1299
  total: number;
1300
+ complete: number;
1301
1301
  remaining: number;
1302
1302
  }, {
1303
- complete: number;
1304
1303
  total: number;
1304
+ complete: number;
1305
1305
  remaining: number;
1306
1306
  }>;
1307
1307
  tracked: z.ZodObject<{
@@ -1310,98 +1310,93 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1310
1310
  remaining: z.ZodNumber;
1311
1311
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
1312
1312
  }, "strip", z.ZodTypeAny, {
1313
- completed: number;
1314
1313
  total: number;
1315
1314
  remaining: number;
1316
- phase: "no-tasks" | "in-progress" | "complete";
1317
- }, {
1318
1315
  completed: number;
1316
+ phase: "complete" | "no-tasks" | "in-progress";
1317
+ }, {
1319
1318
  total: number;
1320
1319
  remaining: number;
1321
- phase: "no-tasks" | "in-progress" | "complete";
1320
+ completed: number;
1321
+ phase: "complete" | "no-tasks" | "in-progress";
1322
1322
  }>;
1323
1323
  }, "strip", z.ZodTypeAny, {
1324
- message: string;
1325
1324
  kind: "tracked-task-mismatch";
1325
+ message: string;
1326
1326
  apply: {
1327
- complete: number;
1328
1327
  total: number;
1328
+ complete: number;
1329
1329
  remaining: number;
1330
1330
  };
1331
1331
  tracked: {
1332
- completed: number;
1333
1332
  total: number;
1334
1333
  remaining: number;
1335
- phase: "no-tasks" | "in-progress" | "complete";
1334
+ completed: number;
1335
+ phase: "complete" | "no-tasks" | "in-progress";
1336
1336
  };
1337
1337
  }, {
1338
- message: string;
1339
1338
  kind: "tracked-task-mismatch";
1339
+ message: string;
1340
1340
  apply: {
1341
- complete: number;
1342
1341
  total: number;
1342
+ complete: number;
1343
1343
  remaining: number;
1344
1344
  };
1345
1345
  tracked: {
1346
- completed: number;
1347
1346
  total: number;
1348
1347
  remaining: number;
1349
- phase: "no-tasks" | "in-progress" | "complete";
1348
+ completed: number;
1349
+ phase: "complete" | "no-tasks" | "in-progress";
1350
1350
  };
1351
1351
  }>>;
1352
1352
  }, "strip", z.ZodTypeAny, {
1353
+ source: "openspec-instructions-apply";
1353
1354
  state: "ready" | "blocked" | "all_done";
1354
- complete: number;
1355
1355
  total: number;
1356
+ complete: number;
1356
1357
  remaining: number;
1357
- source: "openspec-instructions-apply";
1358
1358
  divergence: {
1359
- message: string;
1360
1359
  kind: "tracked-task-mismatch";
1360
+ message: string;
1361
1361
  apply: {
1362
- complete: number;
1363
1362
  total: number;
1363
+ complete: number;
1364
1364
  remaining: number;
1365
1365
  };
1366
1366
  tracked: {
1367
- completed: number;
1368
1367
  total: number;
1369
1368
  remaining: number;
1370
- phase: "no-tasks" | "in-progress" | "complete";
1369
+ completed: number;
1370
+ phase: "complete" | "no-tasks" | "in-progress";
1371
1371
  };
1372
1372
  } | null;
1373
1373
  }, {
1374
+ source: "openspec-instructions-apply";
1374
1375
  state: "ready" | "blocked" | "all_done";
1375
- complete: number;
1376
1376
  total: number;
1377
+ complete: number;
1377
1378
  remaining: number;
1378
- source: "openspec-instructions-apply";
1379
1379
  divergence: {
1380
- message: string;
1381
1380
  kind: "tracked-task-mismatch";
1381
+ message: string;
1382
1382
  apply: {
1383
- complete: number;
1384
1383
  total: number;
1384
+ complete: number;
1385
1385
  remaining: number;
1386
1386
  };
1387
1387
  tracked: {
1388
- completed: number;
1389
1388
  total: number;
1390
1389
  remaining: number;
1391
- phase: "no-tasks" | "in-progress" | "complete";
1390
+ completed: number;
1391
+ phase: "complete" | "no-tasks" | "in-progress";
1392
1392
  };
1393
1393
  } | null;
1394
1394
  }>;
1395
1395
  }, "strip", z.ZodTypeAny, {
1396
- state: "ready" | "blocked" | "all_done";
1397
- tasks: {
1398
- id: string;
1399
- description: string;
1400
- done: boolean;
1401
- }[];
1402
1396
  changeName: string;
1403
1397
  schemaName: string;
1404
1398
  evidence: {
1399
+ command: "instructions apply";
1405
1400
  success: boolean;
1406
1401
  stdout: string;
1407
1402
  stderr: string;
@@ -1414,41 +1409,46 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1414
1409
  target: z.ZodOptional<z.ZodString>;
1415
1410
  fix: z.ZodOptional<z.ZodString>;
1416
1411
  }, z.ZodTypeAny, "passthrough">[];
1417
- command: "instructions apply";
1418
1412
  selector: {
1419
1413
  store?: string | undefined;
1420
1414
  };
1421
- contractError?: string | undefined;
1422
1415
  root?: z.objectOutputType<{
1423
1416
  path: z.ZodString;
1424
1417
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1425
1418
  store_id: z.ZodOptional<z.ZodString>;
1426
1419
  }, z.ZodTypeAny, "passthrough"> | undefined;
1420
+ contractError?: string | undefined;
1427
1421
  } & {
1428
1422
  [k: string]: unknown;
1429
1423
  };
1430
1424
  changeDir: string;
1431
1425
  instruction: string;
1432
1426
  contextFiles: Record<string, string[]>;
1427
+ tasks: {
1428
+ id: string;
1429
+ done: boolean;
1430
+ description: string;
1431
+ }[];
1432
+ state: "ready" | "blocked" | "all_done";
1433
1433
  applyInstructionProgress: {
1434
+ source: "openspec-instructions-apply";
1434
1435
  state: "ready" | "blocked" | "all_done";
1435
- complete: number;
1436
1436
  total: number;
1437
+ complete: number;
1437
1438
  remaining: number;
1438
- source: "openspec-instructions-apply";
1439
1439
  divergence: {
1440
- message: string;
1441
1440
  kind: "tracked-task-mismatch";
1441
+ message: string;
1442
1442
  apply: {
1443
- complete: number;
1444
1443
  total: number;
1444
+ complete: number;
1445
1445
  remaining: number;
1446
1446
  };
1447
1447
  tracked: {
1448
- completed: number;
1449
1448
  total: number;
1450
1449
  remaining: number;
1451
- phase: "no-tasks" | "in-progress" | "complete";
1450
+ completed: number;
1451
+ phase: "complete" | "no-tasks" | "in-progress";
1452
1452
  };
1453
1453
  } | null;
1454
1454
  };
@@ -1491,15 +1491,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1491
1491
  missingArtifacts?: string[] | undefined;
1492
1492
  operationGuidance?: string[] | undefined;
1493
1493
  }, {
1494
- state: "ready" | "blocked" | "all_done";
1495
- tasks: {
1496
- id: string;
1497
- description: string;
1498
- done: boolean;
1499
- }[];
1500
1494
  changeName: string;
1501
1495
  schemaName: string;
1502
1496
  evidence: {
1497
+ command: "instructions apply";
1503
1498
  success: boolean;
1504
1499
  stdout: string;
1505
1500
  stderr: string;
@@ -1512,41 +1507,46 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1512
1507
  target: z.ZodOptional<z.ZodString>;
1513
1508
  fix: z.ZodOptional<z.ZodString>;
1514
1509
  }, z.ZodTypeAny, "passthrough">[];
1515
- command: "instructions apply";
1516
1510
  selector: {
1517
1511
  store?: string | undefined;
1518
1512
  };
1519
- contractError?: string | undefined;
1520
1513
  root?: z.objectInputType<{
1521
1514
  path: z.ZodString;
1522
1515
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1523
1516
  store_id: z.ZodOptional<z.ZodString>;
1524
1517
  }, z.ZodTypeAny, "passthrough"> | undefined;
1518
+ contractError?: string | undefined;
1525
1519
  } & {
1526
1520
  [k: string]: unknown;
1527
1521
  };
1528
1522
  changeDir: string;
1529
1523
  instruction: string;
1530
1524
  contextFiles: Record<string, string | string[]>;
1525
+ tasks: {
1526
+ id: string;
1527
+ done: boolean;
1528
+ description: string;
1529
+ }[];
1530
+ state: "ready" | "blocked" | "all_done";
1531
1531
  applyInstructionProgress: {
1532
+ source: "openspec-instructions-apply";
1532
1533
  state: "ready" | "blocked" | "all_done";
1533
- complete: number;
1534
1534
  total: number;
1535
+ complete: number;
1535
1536
  remaining: number;
1536
- source: "openspec-instructions-apply";
1537
1537
  divergence: {
1538
- message: string;
1539
1538
  kind: "tracked-task-mismatch";
1539
+ message: string;
1540
1540
  apply: {
1541
- complete: number;
1542
1541
  total: number;
1542
+ complete: number;
1543
1543
  remaining: number;
1544
1544
  };
1545
1545
  tracked: {
1546
- completed: number;
1547
1546
  total: number;
1548
1547
  remaining: number;
1549
- phase: "no-tasks" | "in-progress" | "complete";
1548
+ completed: number;
1549
+ phase: "complete" | "no-tasks" | "in-progress";
1550
1550
  };
1551
1551
  } | null;
1552
1552
  };
@@ -1599,12 +1599,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1599
1599
  complete: z.ZodNumber;
1600
1600
  remaining: z.ZodNumber;
1601
1601
  }, "strip", z.ZodTypeAny, {
1602
- complete: number;
1603
1602
  total: number;
1603
+ complete: number;
1604
1604
  remaining: number;
1605
1605
  }, {
1606
- complete: number;
1607
1606
  total: number;
1607
+ complete: number;
1608
1608
  remaining: number;
1609
1609
  }>;
1610
1610
  tasks: z.ZodArray<z.ZodObject<{
@@ -1613,12 +1613,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1613
1613
  done: z.ZodBoolean;
1614
1614
  }, "strip", z.ZodTypeAny, {
1615
1615
  id: string;
1616
- description: string;
1617
1616
  done: boolean;
1617
+ description: string;
1618
1618
  }, {
1619
1619
  id: string;
1620
- description: string;
1621
1620
  done: boolean;
1621
+ description: string;
1622
1622
  }>, "many">;
1623
1623
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1624
1624
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1874,20 +1874,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1874
1874
  command: z.ZodLiteral<"instructions apply">;
1875
1875
  }, z.ZodTypeAny, "passthrough">>;
1876
1876
  }, "strip", z.ZodTypeAny, {
1877
- state: "ready" | "blocked" | "all_done";
1878
- tasks: {
1879
- id: string;
1880
- description: string;
1881
- done: boolean;
1882
- }[];
1883
- progress: {
1884
- complete: number;
1885
- total: number;
1886
- remaining: number;
1887
- };
1888
1877
  changeName: string;
1889
1878
  schemaName: string;
1890
1879
  evidence: {
1880
+ command: "instructions apply";
1891
1881
  success: boolean;
1892
1882
  stdout: string;
1893
1883
  stderr: string;
@@ -1900,22 +1890,32 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1900
1890
  target: z.ZodOptional<z.ZodString>;
1901
1891
  fix: z.ZodOptional<z.ZodString>;
1902
1892
  }, z.ZodTypeAny, "passthrough">[];
1903
- command: "instructions apply";
1904
1893
  selector: {
1905
1894
  store?: string | undefined;
1906
1895
  };
1907
- contractError?: string | undefined;
1908
1896
  root?: z.objectOutputType<{
1909
1897
  path: z.ZodString;
1910
1898
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1911
1899
  store_id: z.ZodOptional<z.ZodString>;
1912
1900
  }, z.ZodTypeAny, "passthrough"> | undefined;
1901
+ contractError?: string | undefined;
1913
1902
  } & {
1914
1903
  [k: string]: unknown;
1915
1904
  };
1916
1905
  changeDir: string;
1917
1906
  instruction: string;
1918
1907
  contextFiles: Record<string, string[]>;
1908
+ tasks: {
1909
+ id: string;
1910
+ done: boolean;
1911
+ description: string;
1912
+ }[];
1913
+ state: "ready" | "blocked" | "all_done";
1914
+ progress: {
1915
+ total: number;
1916
+ complete: number;
1917
+ remaining: number;
1918
+ };
1919
1919
  context?: string | undefined;
1920
1920
  references?: z.objectOutputType<{
1921
1921
  store_id: z.ZodString;
@@ -1955,20 +1955,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1955
1955
  missingArtifacts?: string[] | undefined;
1956
1956
  operationGuidance?: string[] | undefined;
1957
1957
  }, {
1958
- state: "ready" | "blocked" | "all_done";
1959
- tasks: {
1960
- id: string;
1961
- description: string;
1962
- done: boolean;
1963
- }[];
1964
- progress: {
1965
- complete: number;
1966
- total: number;
1967
- remaining: number;
1968
- };
1969
1958
  changeName: string;
1970
1959
  schemaName: string;
1971
1960
  evidence: {
1961
+ command: "instructions apply";
1972
1962
  success: boolean;
1973
1963
  stdout: string;
1974
1964
  stderr: string;
@@ -1981,22 +1971,32 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1981
1971
  target: z.ZodOptional<z.ZodString>;
1982
1972
  fix: z.ZodOptional<z.ZodString>;
1983
1973
  }, z.ZodTypeAny, "passthrough">[];
1984
- command: "instructions apply";
1985
1974
  selector: {
1986
1975
  store?: string | undefined;
1987
1976
  };
1988
- contractError?: string | undefined;
1989
1977
  root?: z.objectInputType<{
1990
1978
  path: z.ZodString;
1991
1979
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1992
1980
  store_id: z.ZodOptional<z.ZodString>;
1993
1981
  }, z.ZodTypeAny, "passthrough"> | undefined;
1982
+ contractError?: string | undefined;
1994
1983
  } & {
1995
1984
  [k: string]: unknown;
1996
1985
  };
1997
1986
  changeDir: string;
1998
1987
  instruction: string;
1999
1988
  contextFiles: Record<string, string | string[]>;
1989
+ tasks: {
1990
+ id: string;
1991
+ done: boolean;
1992
+ description: string;
1993
+ }[];
1994
+ state: "ready" | "blocked" | "all_done";
1995
+ progress: {
1996
+ total: number;
1997
+ complete: number;
1998
+ remaining: number;
1999
+ };
2000
2000
  context?: string | undefined;
2001
2001
  references?: z.objectInputType<{
2002
2002
  store_id: z.ZodString;
@@ -2037,15 +2037,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2037
2037
  operationGuidance?: string[] | undefined;
2038
2038
  }>, {
2039
2039
  applyInstructionProgress: ApplyInstructionProgress;
2040
- state: "ready" | "blocked" | "all_done";
2041
- tasks: {
2042
- id: string;
2043
- description: string;
2044
- done: boolean;
2045
- }[];
2046
2040
  changeName: string;
2047
2041
  schemaName: string;
2048
2042
  evidence: {
2043
+ command: "instructions apply";
2049
2044
  success: boolean;
2050
2045
  stdout: string;
2051
2046
  stderr: string;
@@ -2058,22 +2053,27 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2058
2053
  target: z.ZodOptional<z.ZodString>;
2059
2054
  fix: z.ZodOptional<z.ZodString>;
2060
2055
  }, z.ZodTypeAny, "passthrough">[];
2061
- command: "instructions apply";
2062
2056
  selector: {
2063
2057
  store?: string | undefined;
2064
2058
  };
2065
- contractError?: string | undefined;
2066
2059
  root?: z.objectOutputType<{
2067
2060
  path: z.ZodString;
2068
2061
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2069
2062
  store_id: z.ZodOptional<z.ZodString>;
2070
2063
  }, z.ZodTypeAny, "passthrough"> | undefined;
2064
+ contractError?: string | undefined;
2071
2065
  } & {
2072
2066
  [k: string]: unknown;
2073
2067
  };
2074
2068
  changeDir: string;
2075
2069
  instruction: string;
2076
2070
  contextFiles: Record<string, string[]>;
2071
+ tasks: {
2072
+ id: string;
2073
+ done: boolean;
2074
+ description: string;
2075
+ }[];
2076
+ state: "ready" | "blocked" | "all_done";
2077
2077
  context?: string | undefined;
2078
2078
  references?: z.objectOutputType<{
2079
2079
  store_id: z.ZodString;
@@ -2113,20 +2113,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2113
2113
  missingArtifacts?: string[] | undefined;
2114
2114
  operationGuidance?: string[] | undefined;
2115
2115
  }, {
2116
- state: "ready" | "blocked" | "all_done";
2117
- tasks: {
2118
- id: string;
2119
- description: string;
2120
- done: boolean;
2121
- }[];
2122
- progress: {
2123
- complete: number;
2124
- total: number;
2125
- remaining: number;
2126
- };
2127
2116
  changeName: string;
2128
2117
  schemaName: string;
2129
2118
  evidence: {
2119
+ command: "instructions apply";
2130
2120
  success: boolean;
2131
2121
  stdout: string;
2132
2122
  stderr: string;
@@ -2139,22 +2129,32 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2139
2129
  target: z.ZodOptional<z.ZodString>;
2140
2130
  fix: z.ZodOptional<z.ZodString>;
2141
2131
  }, z.ZodTypeAny, "passthrough">[];
2142
- command: "instructions apply";
2143
2132
  selector: {
2144
2133
  store?: string | undefined;
2145
2134
  };
2146
- contractError?: string | undefined;
2147
2135
  root?: z.objectInputType<{
2148
2136
  path: z.ZodString;
2149
2137
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2150
2138
  store_id: z.ZodOptional<z.ZodString>;
2151
2139
  }, z.ZodTypeAny, "passthrough"> | undefined;
2140
+ contractError?: string | undefined;
2152
2141
  } & {
2153
2142
  [k: string]: unknown;
2154
2143
  };
2155
2144
  changeDir: string;
2156
2145
  instruction: string;
2157
2146
  contextFiles: Record<string, string | string[]>;
2147
+ tasks: {
2148
+ id: string;
2149
+ done: boolean;
2150
+ description: string;
2151
+ }[];
2152
+ state: "ready" | "blocked" | "all_done";
2153
+ progress: {
2154
+ total: number;
2155
+ complete: number;
2156
+ remaining: number;
2157
+ };
2158
2158
  context?: string | undefined;
2159
2159
  references?: z.objectInputType<{
2160
2160
  store_id: z.ZodString;
@@ -2204,12 +2204,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2204
2204
  done: z.ZodBoolean;
2205
2205
  }, "strip", z.ZodTypeAny, {
2206
2206
  id: string;
2207
- description: string;
2208
2207
  done: boolean;
2208
+ description: string;
2209
2209
  }, {
2210
2210
  id: string;
2211
- description: string;
2212
2211
  done: boolean;
2212
+ description: string;
2213
2213
  }>, "many">;
2214
2214
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
2215
2215
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2478,12 +2478,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2478
2478
  complete: z.ZodNumber;
2479
2479
  remaining: z.ZodNumber;
2480
2480
  }, "strip", z.ZodTypeAny, {
2481
- complete: number;
2482
2481
  total: number;
2482
+ complete: number;
2483
2483
  remaining: number;
2484
2484
  }, {
2485
- complete: number;
2486
2485
  total: number;
2486
+ complete: number;
2487
2487
  remaining: number;
2488
2488
  }>;
2489
2489
  tracked: z.ZodObject<{
@@ -2492,98 +2492,93 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2492
2492
  remaining: z.ZodNumber;
2493
2493
  phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
2494
2494
  }, "strip", z.ZodTypeAny, {
2495
- completed: number;
2496
2495
  total: number;
2497
2496
  remaining: number;
2498
- phase: "no-tasks" | "in-progress" | "complete";
2499
- }, {
2500
2497
  completed: number;
2498
+ phase: "complete" | "no-tasks" | "in-progress";
2499
+ }, {
2501
2500
  total: number;
2502
2501
  remaining: number;
2503
- phase: "no-tasks" | "in-progress" | "complete";
2502
+ completed: number;
2503
+ phase: "complete" | "no-tasks" | "in-progress";
2504
2504
  }>;
2505
2505
  }, "strip", z.ZodTypeAny, {
2506
- message: string;
2507
2506
  kind: "tracked-task-mismatch";
2507
+ message: string;
2508
2508
  apply: {
2509
- complete: number;
2510
2509
  total: number;
2510
+ complete: number;
2511
2511
  remaining: number;
2512
2512
  };
2513
2513
  tracked: {
2514
- completed: number;
2515
2514
  total: number;
2516
2515
  remaining: number;
2517
- phase: "no-tasks" | "in-progress" | "complete";
2516
+ completed: number;
2517
+ phase: "complete" | "no-tasks" | "in-progress";
2518
2518
  };
2519
2519
  }, {
2520
- message: string;
2521
2520
  kind: "tracked-task-mismatch";
2521
+ message: string;
2522
2522
  apply: {
2523
- complete: number;
2524
2523
  total: number;
2524
+ complete: number;
2525
2525
  remaining: number;
2526
2526
  };
2527
2527
  tracked: {
2528
- completed: number;
2529
2528
  total: number;
2530
2529
  remaining: number;
2531
- phase: "no-tasks" | "in-progress" | "complete";
2530
+ completed: number;
2531
+ phase: "complete" | "no-tasks" | "in-progress";
2532
2532
  };
2533
2533
  }>>;
2534
2534
  }, "strip", z.ZodTypeAny, {
2535
+ source: "openspec-instructions-apply";
2535
2536
  state: "ready" | "blocked" | "all_done";
2536
- complete: number;
2537
2537
  total: number;
2538
+ complete: number;
2538
2539
  remaining: number;
2539
- source: "openspec-instructions-apply";
2540
2540
  divergence: {
2541
- message: string;
2542
2541
  kind: "tracked-task-mismatch";
2542
+ message: string;
2543
2543
  apply: {
2544
- complete: number;
2545
2544
  total: number;
2545
+ complete: number;
2546
2546
  remaining: number;
2547
2547
  };
2548
2548
  tracked: {
2549
- completed: number;
2550
2549
  total: number;
2551
2550
  remaining: number;
2552
- phase: "no-tasks" | "in-progress" | "complete";
2551
+ completed: number;
2552
+ phase: "complete" | "no-tasks" | "in-progress";
2553
2553
  };
2554
2554
  } | null;
2555
2555
  }, {
2556
+ source: "openspec-instructions-apply";
2556
2557
  state: "ready" | "blocked" | "all_done";
2557
- complete: number;
2558
2558
  total: number;
2559
+ complete: number;
2559
2560
  remaining: number;
2560
- source: "openspec-instructions-apply";
2561
2561
  divergence: {
2562
- message: string;
2563
2562
  kind: "tracked-task-mismatch";
2563
+ message: string;
2564
2564
  apply: {
2565
- complete: number;
2566
2565
  total: number;
2566
+ complete: number;
2567
2567
  remaining: number;
2568
2568
  };
2569
2569
  tracked: {
2570
- completed: number;
2571
2570
  total: number;
2572
2571
  remaining: number;
2573
- phase: "no-tasks" | "in-progress" | "complete";
2572
+ completed: number;
2573
+ phase: "complete" | "no-tasks" | "in-progress";
2574
2574
  };
2575
2575
  } | null;
2576
2576
  }>;
2577
2577
  }, "strip", z.ZodTypeAny, {
2578
- state: "ready" | "blocked" | "all_done";
2579
- tasks: {
2580
- id: string;
2581
- description: string;
2582
- done: boolean;
2583
- }[];
2584
2578
  changeName: string;
2585
2579
  schemaName: string;
2586
2580
  evidence: {
2581
+ command: "instructions apply";
2587
2582
  success: boolean;
2588
2583
  stdout: string;
2589
2584
  stderr: string;
@@ -2596,41 +2591,46 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2596
2591
  target: z.ZodOptional<z.ZodString>;
2597
2592
  fix: z.ZodOptional<z.ZodString>;
2598
2593
  }, z.ZodTypeAny, "passthrough">[];
2599
- command: "instructions apply";
2600
2594
  selector: {
2601
2595
  store?: string | undefined;
2602
2596
  };
2603
- contractError?: string | undefined;
2604
2597
  root?: z.objectOutputType<{
2605
2598
  path: z.ZodString;
2606
2599
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2607
2600
  store_id: z.ZodOptional<z.ZodString>;
2608
2601
  }, z.ZodTypeAny, "passthrough"> | undefined;
2602
+ contractError?: string | undefined;
2609
2603
  } & {
2610
2604
  [k: string]: unknown;
2611
2605
  };
2612
2606
  changeDir: string;
2613
2607
  instruction: string;
2614
2608
  contextFiles: Record<string, string[]>;
2609
+ tasks: {
2610
+ id: string;
2611
+ done: boolean;
2612
+ description: string;
2613
+ }[];
2614
+ state: "ready" | "blocked" | "all_done";
2615
2615
  applyInstructionProgress: {
2616
+ source: "openspec-instructions-apply";
2616
2617
  state: "ready" | "blocked" | "all_done";
2617
- complete: number;
2618
2618
  total: number;
2619
+ complete: number;
2619
2620
  remaining: number;
2620
- source: "openspec-instructions-apply";
2621
2621
  divergence: {
2622
- message: string;
2623
2622
  kind: "tracked-task-mismatch";
2623
+ message: string;
2624
2624
  apply: {
2625
- complete: number;
2626
2625
  total: number;
2626
+ complete: number;
2627
2627
  remaining: number;
2628
2628
  };
2629
2629
  tracked: {
2630
- completed: number;
2631
2630
  total: number;
2632
2631
  remaining: number;
2633
- phase: "no-tasks" | "in-progress" | "complete";
2632
+ completed: number;
2633
+ phase: "complete" | "no-tasks" | "in-progress";
2634
2634
  };
2635
2635
  } | null;
2636
2636
  };
@@ -2673,15 +2673,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2673
2673
  missingArtifacts?: string[] | undefined;
2674
2674
  operationGuidance?: string[] | undefined;
2675
2675
  }, {
2676
- state: "ready" | "blocked" | "all_done";
2677
- tasks: {
2678
- id: string;
2679
- description: string;
2680
- done: boolean;
2681
- }[];
2682
2676
  changeName: string;
2683
2677
  schemaName: string;
2684
2678
  evidence: {
2679
+ command: "instructions apply";
2685
2680
  success: boolean;
2686
2681
  stdout: string;
2687
2682
  stderr: string;
@@ -2694,41 +2689,46 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2694
2689
  target: z.ZodOptional<z.ZodString>;
2695
2690
  fix: z.ZodOptional<z.ZodString>;
2696
2691
  }, z.ZodTypeAny, "passthrough">[];
2697
- command: "instructions apply";
2698
2692
  selector: {
2699
2693
  store?: string | undefined;
2700
2694
  };
2701
- contractError?: string | undefined;
2702
2695
  root?: z.objectInputType<{
2703
2696
  path: z.ZodString;
2704
2697
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2705
2698
  store_id: z.ZodOptional<z.ZodString>;
2706
2699
  }, z.ZodTypeAny, "passthrough"> | undefined;
2700
+ contractError?: string | undefined;
2707
2701
  } & {
2708
2702
  [k: string]: unknown;
2709
2703
  };
2710
2704
  changeDir: string;
2711
2705
  instruction: string;
2712
2706
  contextFiles: Record<string, string | string[]>;
2707
+ tasks: {
2708
+ id: string;
2709
+ done: boolean;
2710
+ description: string;
2711
+ }[];
2712
+ state: "ready" | "blocked" | "all_done";
2713
2713
  applyInstructionProgress: {
2714
+ source: "openspec-instructions-apply";
2714
2715
  state: "ready" | "blocked" | "all_done";
2715
- complete: number;
2716
2716
  total: number;
2717
+ complete: number;
2717
2718
  remaining: number;
2718
- source: "openspec-instructions-apply";
2719
2719
  divergence: {
2720
- message: string;
2721
2720
  kind: "tracked-task-mismatch";
2721
+ message: string;
2722
2722
  apply: {
2723
- complete: number;
2724
2723
  total: number;
2724
+ complete: number;
2725
2725
  remaining: number;
2726
2726
  };
2727
2727
  tracked: {
2728
- completed: number;
2729
2728
  total: number;
2730
2729
  remaining: number;
2731
- phase: "no-tasks" | "in-progress" | "complete";
2730
+ completed: number;
2731
+ phase: "complete" | "no-tasks" | "in-progress";
2732
2732
  };
2733
2733
  } | null;
2734
2734
  };
@@ -2924,6 +2924,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2924
2924
  }, "strip", z.ZodTypeAny, {
2925
2925
  changeName: string;
2926
2926
  evidence: {
2927
+ command: "instructions archive";
2927
2928
  success: boolean;
2928
2929
  stdout: string;
2929
2930
  stderr: string;
@@ -2936,16 +2937,15 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2936
2937
  target: z.ZodOptional<z.ZodString>;
2937
2938
  fix: z.ZodOptional<z.ZodString>;
2938
2939
  }, z.ZodTypeAny, "passthrough">[];
2939
- command: "instructions archive";
2940
2940
  selector: {
2941
2941
  store?: string | undefined;
2942
2942
  };
2943
- contractError?: string | undefined;
2944
2943
  root?: z.objectOutputType<{
2945
2944
  path: z.ZodString;
2946
2945
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2947
2946
  store_id: z.ZodOptional<z.ZodString>;
2948
2947
  }, z.ZodTypeAny, "passthrough"> | undefined;
2948
+ contractError?: string | undefined;
2949
2949
  } & {
2950
2950
  [k: string]: unknown;
2951
2951
  };
@@ -2954,6 +2954,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2954
2954
  }, {
2955
2955
  changeName: string;
2956
2956
  evidence: {
2957
+ command: "instructions archive";
2957
2958
  success: boolean;
2958
2959
  stdout: string;
2959
2960
  stderr: string;
@@ -2966,16 +2967,15 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
2966
2967
  target: z.ZodOptional<z.ZodString>;
2967
2968
  fix: z.ZodOptional<z.ZodString>;
2968
2969
  }, z.ZodTypeAny, "passthrough">[];
2969
- command: "instructions archive";
2970
2970
  selector: {
2971
2971
  store?: string | undefined;
2972
2972
  };
2973
- contractError?: string | undefined;
2974
2973
  root?: z.objectInputType<{
2975
2974
  path: z.ZodString;
2976
2975
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2977
2976
  store_id: z.ZodOptional<z.ZodString>;
2978
2977
  }, z.ZodTypeAny, "passthrough"> | undefined;
2978
+ contractError?: string | undefined;
2979
2979
  } & {
2980
2980
  [k: string]: unknown;
2981
2981
  };
@@ -3003,14 +3003,14 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3003
3003
  }, "strip", z.ZodTypeAny, {
3004
3004
  path: string;
3005
3005
  id: string;
3006
- description: string;
3007
3006
  done: boolean;
3007
+ description: string;
3008
3008
  skipped?: boolean | undefined;
3009
3009
  }, {
3010
3010
  path: string;
3011
3011
  id: string;
3012
- description: string;
3013
3012
  done: boolean;
3013
+ description: string;
3014
3014
  skipped?: boolean | undefined;
3015
3015
  }>, "many">;
3016
3016
  unlocks: z.ZodArray<z.ZodString, "many">;
@@ -3263,12 +3263,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3263
3263
  command: z.ZodLiteral<"instructions">;
3264
3264
  }, z.ZodTypeAny, "passthrough">>;
3265
3265
  }, "strip", z.ZodTypeAny, {
3266
- artifactId: string;
3267
- outputPath: string;
3268
- description: string;
3269
3266
  changeName: string;
3270
3267
  schemaName: string;
3268
+ outputPath: string;
3271
3269
  evidence: {
3270
+ command: "instructions";
3272
3271
  success: boolean;
3273
3272
  stdout: string;
3274
3273
  stderr: string;
@@ -3281,31 +3280,32 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3281
3280
  target: z.ZodOptional<z.ZodString>;
3282
3281
  fix: z.ZodOptional<z.ZodString>;
3283
3282
  }, z.ZodTypeAny, "passthrough">[];
3284
- command: "instructions";
3285
3283
  selector: {
3286
3284
  store?: string | undefined;
3287
3285
  };
3288
- contractError?: string | undefined;
3289
3286
  root?: z.objectOutputType<{
3290
3287
  path: z.ZodString;
3291
3288
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3292
3289
  store_id: z.ZodOptional<z.ZodString>;
3293
3290
  }, z.ZodTypeAny, "passthrough"> | undefined;
3291
+ contractError?: string | undefined;
3294
3292
  } & {
3295
3293
  [k: string]: unknown;
3296
3294
  };
3295
+ artifactId: string;
3297
3296
  changeDir: string;
3297
+ description: string;
3298
3298
  template: string;
3299
3299
  dependencies: {
3300
3300
  path: string;
3301
3301
  id: string;
3302
- description: string;
3303
3302
  done: boolean;
3303
+ description: string;
3304
3304
  skipped?: boolean | undefined;
3305
3305
  }[];
3306
3306
  unlocks: string[];
3307
- context?: string | null | undefined;
3308
3307
  instruction?: string | null | undefined;
3308
+ context?: string | null | undefined;
3309
3309
  rules?: string[] | null | undefined;
3310
3310
  references?: z.objectOutputType<{
3311
3311
  store_id: z.ZodString;
@@ -3343,12 +3343,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3343
3343
  fetch: z.ZodOptional<z.ZodString>;
3344
3344
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3345
3345
  }, {
3346
- artifactId: string;
3347
- outputPath: string;
3348
- description: string;
3349
3346
  changeName: string;
3350
3347
  schemaName: string;
3348
+ outputPath: string;
3351
3349
  evidence: {
3350
+ command: "instructions";
3352
3351
  success: boolean;
3353
3352
  stdout: string;
3354
3353
  stderr: string;
@@ -3361,31 +3360,32 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3361
3360
  target: z.ZodOptional<z.ZodString>;
3362
3361
  fix: z.ZodOptional<z.ZodString>;
3363
3362
  }, z.ZodTypeAny, "passthrough">[];
3364
- command: "instructions";
3365
3363
  selector: {
3366
3364
  store?: string | undefined;
3367
3365
  };
3368
- contractError?: string | undefined;
3369
3366
  root?: z.objectInputType<{
3370
3367
  path: z.ZodString;
3371
3368
  source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3372
3369
  store_id: z.ZodOptional<z.ZodString>;
3373
3370
  }, z.ZodTypeAny, "passthrough"> | undefined;
3371
+ contractError?: string | undefined;
3374
3372
  } & {
3375
3373
  [k: string]: unknown;
3376
3374
  };
3375
+ artifactId: string;
3377
3376
  changeDir: string;
3377
+ description: string;
3378
3378
  template: string;
3379
3379
  dependencies: {
3380
3380
  path: string;
3381
3381
  id: string;
3382
- description: string;
3383
3382
  done: boolean;
3383
+ description: string;
3384
3384
  skipped?: boolean | undefined;
3385
3385
  }[];
3386
3386
  unlocks: string[];
3387
- context?: string | null | undefined;
3388
3387
  instruction?: string | null | undefined;
3388
+ context?: string | null | undefined;
3389
3389
  rules?: string[] | null | undefined;
3390
3390
  references?: z.objectInputType<{
3391
3391
  store_id: z.ZodString;
@@ -3582,7 +3582,6 @@ declare const SchemaDetailSchema: z.ZodObject<{
3582
3582
  applyTracks: z.ZodOptional<z.ZodString>;
3583
3583
  applyInstruction: z.ZodOptional<z.ZodString>;
3584
3584
  }, "strip", z.ZodTypeAny, {
3585
- name: string;
3586
3585
  applyRequires: string[];
3587
3586
  artifacts: {
3588
3587
  id: string;
@@ -3592,12 +3591,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
3592
3591
  instruction?: string | undefined;
3593
3592
  template?: string | undefined;
3594
3593
  }[];
3594
+ name: string;
3595
3595
  description?: string | undefined;
3596
3596
  version?: string | number | undefined;
3597
3597
  applyTracks?: string | undefined;
3598
3598
  applyInstruction?: string | undefined;
3599
3599
  }, {
3600
- name: string;
3601
3600
  applyRequires: string[];
3602
3601
  artifacts: {
3603
3602
  id: string;
@@ -3607,6 +3606,7 @@ declare const SchemaDetailSchema: z.ZodObject<{
3607
3606
  instruction?: string | undefined;
3608
3607
  template?: string | undefined;
3609
3608
  }[];
3609
+ name: string;
3610
3610
  description?: string | undefined;
3611
3611
  version?: string | number | undefined;
3612
3612
  applyTracks?: string | undefined;
@@ -3661,7 +3661,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3661
3661
  applyTracks: z.ZodOptional<z.ZodString>;
3662
3662
  applyInstruction: z.ZodOptional<z.ZodString>;
3663
3663
  }, "strip", z.ZodTypeAny, {
3664
- name: string;
3665
3664
  applyRequires: string[];
3666
3665
  artifacts: {
3667
3666
  id: string;
@@ -3671,12 +3670,12 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3671
3670
  instruction?: string | undefined;
3672
3671
  template?: string | undefined;
3673
3672
  }[];
3673
+ name: string;
3674
3674
  description?: string | undefined;
3675
3675
  version?: string | number | undefined;
3676
3676
  applyTracks?: string | undefined;
3677
3677
  applyInstruction?: string | undefined;
3678
3678
  }, {
3679
- name: string;
3680
3679
  applyRequires: string[];
3681
3680
  artifacts: {
3682
3681
  id: string;
@@ -3686,6 +3685,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3686
3685
  instruction?: string | undefined;
3687
3686
  template?: string | undefined;
3688
3687
  }[];
3688
+ name: string;
3689
3689
  description?: string | undefined;
3690
3690
  version?: string | number | undefined;
3691
3691
  applyTracks?: string | undefined;
@@ -3766,7 +3766,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3766
3766
  source: z.ZodEnum<["project", "user", "package"]>;
3767
3767
  }, z.ZodTypeAny, "passthrough">[];
3768
3768
  schemaDetails: Record<string, {
3769
- name: string;
3770
3769
  applyRequires: string[];
3771
3770
  artifacts: {
3772
3771
  id: string;
@@ -3776,6 +3775,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3776
3775
  instruction?: string | undefined;
3777
3776
  template?: string | undefined;
3778
3777
  }[];
3778
+ name: string;
3779
3779
  description?: string | undefined;
3780
3780
  version?: string | number | undefined;
3781
3781
  applyTracks?: string | undefined;
@@ -3812,7 +3812,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3812
3812
  source: z.ZodEnum<["project", "user", "package"]>;
3813
3813
  }, z.ZodTypeAny, "passthrough">[];
3814
3814
  schemaDetails: Record<string, {
3815
- name: string;
3816
3815
  applyRequires: string[];
3817
3816
  artifacts: {
3818
3817
  id: string;
@@ -3822,6 +3821,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3822
3821
  instruction?: string | undefined;
3823
3822
  template?: string | undefined;
3824
3823
  }[];
3824
+ name: string;
3825
3825
  description?: string | undefined;
3826
3826
  version?: string | number | undefined;
3827
3827
  applyTracks?: string | undefined;