@openspecui/core 7.0.1 → 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.
- package/dist/{active-root-config-DxRGkvOp.d.mts → active-root-config-BHgXdX6b.d.mts} +9 -9
- package/dist/active-root-config.d.mts +4 -4
- package/dist/app-daemon-control.d.mts +18 -18
- package/dist/{cli-projection-BeBPIxhK.d.mts → cli-projection-Um81AQW5.d.mts} +9 -9
- package/dist/cli-projection.d.mts +4 -4
- package/dist/{dashboard-summary-transport-CXGjAcQZ.d.mts → dashboard-summary-transport-BJBod4rO.d.mts} +2847 -2805
- package/dist/dashboard-summary-transport.d.mts +17 -17
- package/dist/hosted-app.d.mts +17 -17
- package/dist/hosted-contract.d.mts +17 -17
- package/dist/{index-CkwSp1WZ.d.mts → index-CYFOH_f8.d.mts} +45 -45
- package/dist/index.d.mts +18 -18
- package/dist/index.mjs +370 -67
- package/dist/{local-download-profiles-DYeaRK_E.d.mts → local-download-profiles-BQLPhuE0.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-B43aFxw9.d.mts → notifications-BIs3J3BY.d.mts} +1 -1
- package/dist/{notifications-Cy74GVN7.mjs → notifications-VHUMI-qG.mjs} +1 -1
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +2 -2
- package/dist/{openspec-projection-NGJSLiSk.d.mts → openspec-projection-_1NeavJP.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-5ATD3peX.d.mts → opsx-entity-DZ7onDWC.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +6 -6
- package/dist/{opsx-schema-detail-Cu7mIrGm.d.mts → opsx-schema-detail-D2RnlxSg.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +7 -7
- package/dist/{opsx-types-DJzyK1W7.d.mts → opsx-types-Ch6juiWL.d.mts} +179 -179
- package/dist/planning-cli-projection.d.mts +17 -17
- package/dist/{schemas-kuds0tNv.d.mts → schemas-zh0_vzYQ.d.mts} +128 -128
- package/dist/{sounds-vwRCMSzL.d.mts → sounds-Bb_3aeJJ.d.mts} +4 -4
- package/dist/sounds.d.mts +1 -1
- package/dist/spec-catalog.d.mts +17 -17
- package/dist/{store-mutation-protocol-D9IK_wrr.d.mts → store-mutation-protocol-BbgWMJVK.d.mts} +24 -24
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-DxvwR0sj.d.mts → store-types-CF7_LsVL.d.mts} +1 -1
- package/dist/store-types.d.mts +4 -4
- package/dist/task-progress.d.mts +5 -5
- package/dist/{terminal-audio-BcjP_os4.d.mts → terminal-audio-GuG0qiiI.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/{terminal-control-c6oS-lFb.mjs → terminal-control-CdPuYwwU.mjs} +19 -1
- package/dist/terminal-control.d.mts +2 -2
- package/dist/terminal-control.mjs +1 -1
- package/dist/{terminal-invocation-BW357tO1.d.mts → terminal-invocation-Dx1qfSKb.d.mts} +68 -68
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-YggUX3F7.d.mts → translator-Cwaf_pXN.d.mts} +67 -67
- package/dist/translator.d.mts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as CliJsonValue } from "./index-
|
|
2
|
-
import { n as ChangeFile, v as Task } from "./schemas-
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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
|
};
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
done: boolean;
|
|
1400
|
-
description: string;
|
|
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
|
-
|
|
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
|
-
done: boolean;
|
|
1498
|
-
description: string;
|
|
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
|
-
|
|
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<{
|
|
@@ -1874,15 +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
|
-
done: boolean;
|
|
1881
|
-
description: string;
|
|
1882
|
-
}[];
|
|
1883
1877
|
changeName: string;
|
|
1884
1878
|
schemaName: string;
|
|
1885
1879
|
evidence: {
|
|
1880
|
+
command: "instructions apply";
|
|
1886
1881
|
success: boolean;
|
|
1887
1882
|
stdout: string;
|
|
1888
1883
|
stderr: string;
|
|
@@ -1895,25 +1890,30 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1895
1890
|
target: z.ZodOptional<z.ZodString>;
|
|
1896
1891
|
fix: z.ZodOptional<z.ZodString>;
|
|
1897
1892
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1898
|
-
command: "instructions apply";
|
|
1899
1893
|
selector: {
|
|
1900
1894
|
store?: string | undefined;
|
|
1901
1895
|
};
|
|
1902
|
-
contractError?: string | undefined;
|
|
1903
1896
|
root?: z.objectOutputType<{
|
|
1904
1897
|
path: z.ZodString;
|
|
1905
1898
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
1906
1899
|
store_id: z.ZodOptional<z.ZodString>;
|
|
1907
1900
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1901
|
+
contractError?: string | undefined;
|
|
1908
1902
|
} & {
|
|
1909
1903
|
[k: string]: unknown;
|
|
1910
1904
|
};
|
|
1911
1905
|
changeDir: string;
|
|
1912
1906
|
instruction: string;
|
|
1913
1907
|
contextFiles: Record<string, string[]>;
|
|
1908
|
+
tasks: {
|
|
1909
|
+
id: string;
|
|
1910
|
+
done: boolean;
|
|
1911
|
+
description: string;
|
|
1912
|
+
}[];
|
|
1913
|
+
state: "ready" | "blocked" | "all_done";
|
|
1914
1914
|
progress: {
|
|
1915
|
-
complete: number;
|
|
1916
1915
|
total: number;
|
|
1916
|
+
complete: number;
|
|
1917
1917
|
remaining: number;
|
|
1918
1918
|
};
|
|
1919
1919
|
context?: string | undefined;
|
|
@@ -1955,15 +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
|
-
done: boolean;
|
|
1962
|
-
description: string;
|
|
1963
|
-
}[];
|
|
1964
1958
|
changeName: string;
|
|
1965
1959
|
schemaName: string;
|
|
1966
1960
|
evidence: {
|
|
1961
|
+
command: "instructions apply";
|
|
1967
1962
|
success: boolean;
|
|
1968
1963
|
stdout: string;
|
|
1969
1964
|
stderr: string;
|
|
@@ -1976,25 +1971,30 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1976
1971
|
target: z.ZodOptional<z.ZodString>;
|
|
1977
1972
|
fix: z.ZodOptional<z.ZodString>;
|
|
1978
1973
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1979
|
-
command: "instructions apply";
|
|
1980
1974
|
selector: {
|
|
1981
1975
|
store?: string | undefined;
|
|
1982
1976
|
};
|
|
1983
|
-
contractError?: string | undefined;
|
|
1984
1977
|
root?: z.objectInputType<{
|
|
1985
1978
|
path: z.ZodString;
|
|
1986
1979
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
1987
1980
|
store_id: z.ZodOptional<z.ZodString>;
|
|
1988
1981
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1982
|
+
contractError?: string | undefined;
|
|
1989
1983
|
} & {
|
|
1990
1984
|
[k: string]: unknown;
|
|
1991
1985
|
};
|
|
1992
1986
|
changeDir: string;
|
|
1993
1987
|
instruction: string;
|
|
1994
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
1995
|
progress: {
|
|
1996
|
-
complete: number;
|
|
1997
1996
|
total: number;
|
|
1997
|
+
complete: number;
|
|
1998
1998
|
remaining: number;
|
|
1999
1999
|
};
|
|
2000
2000
|
context?: string | undefined;
|
|
@@ -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
|
-
done: boolean;
|
|
2044
|
-
description: string;
|
|
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,15 +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
|
-
done: boolean;
|
|
2120
|
-
description: string;
|
|
2121
|
-
}[];
|
|
2122
2116
|
changeName: string;
|
|
2123
2117
|
schemaName: string;
|
|
2124
2118
|
evidence: {
|
|
2119
|
+
command: "instructions apply";
|
|
2125
2120
|
success: boolean;
|
|
2126
2121
|
stdout: string;
|
|
2127
2122
|
stderr: string;
|
|
@@ -2134,25 +2129,30 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2134
2129
|
target: z.ZodOptional<z.ZodString>;
|
|
2135
2130
|
fix: z.ZodOptional<z.ZodString>;
|
|
2136
2131
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2137
|
-
command: "instructions apply";
|
|
2138
2132
|
selector: {
|
|
2139
2133
|
store?: string | undefined;
|
|
2140
2134
|
};
|
|
2141
|
-
contractError?: string | undefined;
|
|
2142
2135
|
root?: z.objectInputType<{
|
|
2143
2136
|
path: z.ZodString;
|
|
2144
2137
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
2145
2138
|
store_id: z.ZodOptional<z.ZodString>;
|
|
2146
2139
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2140
|
+
contractError?: string | undefined;
|
|
2147
2141
|
} & {
|
|
2148
2142
|
[k: string]: unknown;
|
|
2149
2143
|
};
|
|
2150
2144
|
changeDir: string;
|
|
2151
2145
|
instruction: string;
|
|
2152
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
2153
|
progress: {
|
|
2154
|
-
complete: number;
|
|
2155
2154
|
total: number;
|
|
2155
|
+
complete: number;
|
|
2156
2156
|
remaining: number;
|
|
2157
2157
|
};
|
|
2158
2158
|
context?: string | undefined;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
done: boolean;
|
|
2582
|
-
description: string;
|
|
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
|
-
|
|
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
|
-
done: boolean;
|
|
2680
|
-
description: string;
|
|
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
|
-
|
|
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
|
};
|
|
@@ -3263,11 +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
3266
|
changeName: string;
|
|
3269
3267
|
schemaName: string;
|
|
3268
|
+
outputPath: string;
|
|
3270
3269
|
evidence: {
|
|
3270
|
+
command: "instructions";
|
|
3271
3271
|
success: boolean;
|
|
3272
3272
|
stdout: string;
|
|
3273
3273
|
stderr: string;
|
|
@@ -3280,19 +3280,19 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3280
3280
|
target: z.ZodOptional<z.ZodString>;
|
|
3281
3281
|
fix: z.ZodOptional<z.ZodString>;
|
|
3282
3282
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3283
|
-
command: "instructions";
|
|
3284
3283
|
selector: {
|
|
3285
3284
|
store?: string | undefined;
|
|
3286
3285
|
};
|
|
3287
|
-
contractError?: string | undefined;
|
|
3288
3286
|
root?: z.objectOutputType<{
|
|
3289
3287
|
path: z.ZodString;
|
|
3290
3288
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
3291
3289
|
store_id: z.ZodOptional<z.ZodString>;
|
|
3292
3290
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3291
|
+
contractError?: string | undefined;
|
|
3293
3292
|
} & {
|
|
3294
3293
|
[k: string]: unknown;
|
|
3295
3294
|
};
|
|
3295
|
+
artifactId: string;
|
|
3296
3296
|
changeDir: string;
|
|
3297
3297
|
description: string;
|
|
3298
3298
|
template: string;
|
|
@@ -3343,11 +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
3346
|
changeName: string;
|
|
3349
3347
|
schemaName: string;
|
|
3348
|
+
outputPath: string;
|
|
3350
3349
|
evidence: {
|
|
3350
|
+
command: "instructions";
|
|
3351
3351
|
success: boolean;
|
|
3352
3352
|
stdout: string;
|
|
3353
3353
|
stderr: string;
|
|
@@ -3360,19 +3360,19 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3360
3360
|
target: z.ZodOptional<z.ZodString>;
|
|
3361
3361
|
fix: z.ZodOptional<z.ZodString>;
|
|
3362
3362
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3363
|
-
command: "instructions";
|
|
3364
3363
|
selector: {
|
|
3365
3364
|
store?: string | undefined;
|
|
3366
3365
|
};
|
|
3367
|
-
contractError?: string | undefined;
|
|
3368
3366
|
root?: z.objectInputType<{
|
|
3369
3367
|
path: z.ZodString;
|
|
3370
3368
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
3371
3369
|
store_id: z.ZodOptional<z.ZodString>;
|
|
3372
3370
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3371
|
+
contractError?: string | undefined;
|
|
3373
3372
|
} & {
|
|
3374
3373
|
[k: string]: unknown;
|
|
3375
3374
|
};
|
|
3375
|
+
artifactId: string;
|
|
3376
3376
|
changeDir: string;
|
|
3377
3377
|
description: string;
|
|
3378
3378
|
template: string;
|
|
@@ -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;
|