@openspecui/core 7.0.2 → 9.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-root-config-BHgXdX6b.d.mts → active-root-config-7fBdHM6Y.d.mts} +5 -5
- package/dist/active-root-config.d.mts +5 -5
- package/dist/active-root-config.mjs +1 -1
- package/dist/app-daemon-control.d.mts +59 -59
- package/dist/{cli-projection-Um81AQW5.d.mts → cli-projection-BaiM5tvA.d.mts} +9 -9
- package/dist/cli-projection.d.mts +5 -5
- package/dist/cli-projection.mjs +1 -1
- package/dist/{dashboard-summary-transport-BJBod4rO.d.mts → dashboard-summary-transport-CuNVcC0j.d.mts} +2677 -2312
- package/dist/{dashboard-summary-transport-ILCfZD_I.mjs → dashboard-summary-transport-Do8pzSES.mjs} +10 -1
- package/dist/dashboard-summary-transport.d.mts +26 -26
- package/dist/dashboard-summary-transport.mjs +2 -2
- package/dist/{document-translation-B3xaP0dJ.mjs → document-translation-Dmg3YJDA.mjs} +1 -1
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/{hosted-app-B_T_tTvO.mjs → hosted-app-CHqdo5vd.mjs} +1 -1
- package/dist/hosted-app.d.mts +26 -26
- package/dist/hosted-app.mjs +6 -6
- package/dist/{hosted-contract-BxUx6ksP.mjs → hosted-contract-Qe5AmkiE.mjs} +4 -4
- package/dist/hosted-contract.d.mts +26 -26
- package/dist/hosted-contract.mjs +5 -5
- package/dist/{index-CYFOH_f8.d.mts → index-BZWtHuI2.d.mts} +811 -65
- package/dist/index.d.mts +27 -27
- package/dist/index.mjs +500 -292
- package/dist/{local-download-profiles-BQLPhuE0.d.mts → local-download-profiles-BcWLAxXm.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/local-download-profiles.mjs +1 -1
- package/dist/markdown-facts.d.mts +1 -1
- package/dist/{markdown-reading--Sr6JAl5.d.mts → markdown-reading-CsLbxubT.d.mts} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/{notifications-BIs3J3BY.d.mts → notifications-BytLKOTa.d.mts} +1 -1
- package/dist/{notifications-VHUMI-qG.mjs → notifications-D6XlgL9b.mjs} +2 -2
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-BylPW5rz.d.mts → openspec-annotations-8ppmICAU.d.mts} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-compat-B246EQNW.mjs +121 -0
- package/dist/openspec-compat.d.mts +48 -13
- package/dist/openspec-compat.mjs +4 -79
- package/dist/{openspec-projection-_1NeavJP.d.mts → openspec-projection-D2l0gt1a.d.mts} +3 -3
- package/dist/openspec-projection.d.mts +5 -5
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/dist/{opsx-entity-DZ7onDWC.d.mts → opsx-entity-DPNoe1RP.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/{opsx-schema-detail-D2RnlxSg.d.mts → opsx-schema-detail-Cd5Av3ge.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/{opsx-types-Ch6juiWL.d.mts → opsx-types-CwR1AXgQ.d.mts} +123 -122
- package/dist/opsx-workflows.d.mts +1 -1
- package/dist/opsx-workflows.mjs +1 -1
- package/dist/{planning-cli-projection-BreqsrYA.mjs → planning-cli-projection-DV22v3Xl.mjs} +23 -12
- package/dist/planning-cli-projection.d.mts +26 -26
- package/dist/planning-cli-projection.mjs +4 -3
- package/dist/{schemas-zh0_vzYQ.d.mts → schemas-_BT364v-.d.mts} +152 -152
- package/dist/{sounds-Bb_3aeJJ.d.mts → sounds-CoSDUNQn.d.mts} +8 -8
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/{spec-catalog-DEk_oHAx.mjs → spec-catalog-Ce3uSLSc.mjs} +45 -328
- package/dist/spec-catalog.d.mts +26 -26
- package/dist/spec-catalog.mjs +3 -2
- package/dist/{store-content-projection-Bpdb7_d9.mjs → store-content-projection-DV31znWA.mjs} +1 -1
- package/dist/store-content-projection.d.mts +1 -1
- package/dist/store-content-projection.mjs +2 -2
- package/dist/{store-mutation-protocol-BbgWMJVK.d.mts → store-mutation-protocol-C9xgZkNh.d.mts} +48 -48
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/store-mutation-protocol.mjs +1 -1
- package/dist/{store-types-CF7_LsVL.d.mts → store-types-og5YxoDu.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/store-types.mjs +1 -1
- package/dist/task-progress.d.mts +6 -6
- package/dist/{terminal-audio-GuG0qiiI.d.mts → terminal-audio-DLgCr6Km.d.mts} +1 -1
- package/dist/{terminal-audio-DeubAfFC.mjs → terminal-audio-ELHVH24M.mjs} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-audio.mjs +2 -2
- package/dist/{terminal-control-CdPuYwwU.mjs → terminal-control-D893EEN_.mjs} +7 -5
- package/dist/terminal-control.d.mts +2 -2
- package/dist/terminal-control.mjs +1 -1
- package/dist/{terminal-invocation-Dx1qfSKb.d.mts → terminal-invocation-OqCEd2gX.d.mts} +58 -58
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-invocation.mjs +1 -1
- package/dist/terminal-theme.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/dist/translation-language-pair.d.mts +1 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-Cwaf_pXN.d.mts → translator-CIptPzqy.d.mts} +86 -86
- package/dist/translator.d.mts +1 -1
- package/dist/translator.mjs +1 -1
- package/dist/workflow-CmQ4pFYC.mjs +344 -0
- package/package.json +3 -1
- /package/dist/{active-root-config-L5QaMb3A.mjs → active-root-config-K_wVeuI3.mjs} +0 -0
- /package/dist/{cli-projection-CKRwTvwf.mjs → cli-projection-Bc2WVwGj.mjs} +0 -0
- /package/dist/{document-translation-BNbM3fEj.d.mts → document-translation-CBqubtWC.d.mts} +0 -0
- /package/dist/{local-download-profiles-h9lUTXr-.mjs → local-download-profiles-BRsR1-kK.mjs} +0 -0
- /package/dist/{markdown-facts-DLclHfpE.d.mts → markdown-facts-CEACwik1.d.mts} +0 -0
- /package/dist/{opsx-display-path-BD34M8QV.d.mts → opsx-display-path-DvvAFlWG.d.mts} +0 -0
- /package/dist/{opsx-display-path-ocbNzMZj.mjs → opsx-display-path-cv0NJHzW.mjs} +0 -0
- /package/dist/{opsx-workflows-DX1r6e5j.d.mts → opsx-workflows-B72EGtj_.d.mts} +0 -0
- /package/dist/{opsx-workflows-byPfLlo8.mjs → opsx-workflows-BA-46T7_.mjs} +0 -0
- /package/dist/{sounds-6prQvKXl.mjs → sounds-cd9lIDxN.mjs} +0 -0
- /package/dist/{store-content-projection-R74MV_sD.d.mts → store-content-projection-BnNYyb0x.d.mts} +0 -0
- /package/dist/{store-mutation-protocol-CJGUWWI6.mjs → store-mutation-protocol-CBrPcppU.mjs} +0 -0
- /package/dist/{store-types-CvpEVNoE.mjs → store-types-C87SlrJ3.mjs} +0 -0
- /package/dist/{terminal-invocation-DIpoFYDo.mjs → terminal-invocation-C_FsxEUs.mjs} +0 -0
- /package/dist/{terminal-theme-Byzxmnjm.mjs → terminal-theme-C6BPfQ2G.mjs} +0 -0
- /package/dist/{terminal-theme-DX08Gci8.d.mts → terminal-theme-C7X8pUqT.d.mts} +0 -0
- /package/dist/{translation-language-pair-BR5uxGm-.d.mts → translation-language-pair-B6A39Cai.d.mts} +0 -0
- /package/dist/{translation-language-pair-DG9mOuFD.mjs → translation-language-pair-CWLlH7Ab.mjs} +0 -0
- /package/dist/{translator-CEGdRmKw.mjs → translator-BkNACZ9R.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ChangeFile, v as Task } from "./schemas-
|
|
1
|
+
import { Y as CliJsonValue } from "./index-BZWtHuI2.mjs";
|
|
2
|
+
import { n as ChangeFile, v as Task } from "./schemas-_BT364v-.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: "ready" | "done" | "skipped" | "blocked";
|
|
410
410
|
id: string;
|
|
411
411
|
outputPath: string;
|
|
412
412
|
requires: string[];
|
|
413
413
|
missingDeps?: string[] | undefined;
|
|
414
414
|
relativePath?: string | undefined;
|
|
415
415
|
}, {
|
|
416
|
-
status: "
|
|
416
|
+
status: "ready" | "done" | "skipped" | "blocked";
|
|
417
417
|
id: string;
|
|
418
418
|
outputPath: string;
|
|
419
419
|
requires: string[];
|
|
@@ -424,7 +424,8 @@ type ArtifactStatus = z.infer<typeof ArtifactStatusSchema>;
|
|
|
424
424
|
declare const ChangeStatusSchema: z.ZodObject<{
|
|
425
425
|
changeName: z.ZodString;
|
|
426
426
|
schemaName: z.ZodString;
|
|
427
|
-
|
|
427
|
+
/** Planning-artifact completion fact from the CLI; never an implementation-task authority. */
|
|
428
|
+
isPlanningComplete: z.ZodBoolean;
|
|
428
429
|
applyRequires: z.ZodArray<z.ZodString, "many">;
|
|
429
430
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
430
431
|
id: z.ZodString;
|
|
@@ -434,14 +435,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
434
435
|
missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
435
436
|
relativePath: z.ZodOptional<z.ZodString>;
|
|
436
437
|
}, "strip", z.ZodTypeAny, {
|
|
437
|
-
status: "
|
|
438
|
+
status: "ready" | "done" | "skipped" | "blocked";
|
|
438
439
|
id: string;
|
|
439
440
|
outputPath: string;
|
|
440
441
|
requires: string[];
|
|
441
442
|
missingDeps?: string[] | undefined;
|
|
442
443
|
relativePath?: string | undefined;
|
|
443
444
|
}, {
|
|
444
|
-
status: "
|
|
445
|
+
status: "ready" | "done" | "skipped" | "blocked";
|
|
445
446
|
id: string;
|
|
446
447
|
outputPath: string;
|
|
447
448
|
requires: string[];
|
|
@@ -720,7 +721,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
720
721
|
[k: string]: unknown;
|
|
721
722
|
};
|
|
722
723
|
evidence: {
|
|
723
|
-
command: "status";
|
|
724
724
|
success: boolean;
|
|
725
725
|
stdout: string;
|
|
726
726
|
stderr: string;
|
|
@@ -733,15 +733,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
733
733
|
target: z.ZodOptional<z.ZodString>;
|
|
734
734
|
fix: z.ZodOptional<z.ZodString>;
|
|
735
735
|
}, z.ZodTypeAny, "passthrough">[];
|
|
736
|
+
command: "status";
|
|
736
737
|
selector: {
|
|
737
738
|
store?: string | undefined;
|
|
738
739
|
};
|
|
740
|
+
contractError?: string | undefined;
|
|
739
741
|
root?: z.objectOutputType<{
|
|
740
742
|
path: z.ZodString;
|
|
741
743
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
742
744
|
store_id: z.ZodOptional<z.ZodString>;
|
|
743
745
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
744
|
-
contractError?: string | undefined;
|
|
745
746
|
} & {
|
|
746
747
|
[k: string]: unknown;
|
|
747
748
|
};
|
|
@@ -783,7 +784,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
783
784
|
[k: string]: unknown;
|
|
784
785
|
};
|
|
785
786
|
evidence: {
|
|
786
|
-
command: "status";
|
|
787
787
|
success: boolean;
|
|
788
788
|
stdout: string;
|
|
789
789
|
stderr: string;
|
|
@@ -796,15 +796,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
796
796
|
target: z.ZodOptional<z.ZodString>;
|
|
797
797
|
fix: z.ZodOptional<z.ZodString>;
|
|
798
798
|
}, z.ZodTypeAny, "passthrough">[];
|
|
799
|
+
command: "status";
|
|
799
800
|
selector: {
|
|
800
801
|
store?: string | undefined;
|
|
801
802
|
};
|
|
803
|
+
contractError?: string | undefined;
|
|
802
804
|
root?: z.objectInputType<{
|
|
803
805
|
path: z.ZodString;
|
|
804
806
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
805
807
|
store_id: z.ZodOptional<z.ZodString>;
|
|
806
808
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
807
|
-
contractError?: string | undefined;
|
|
808
809
|
} & {
|
|
809
810
|
[k: string]: unknown;
|
|
810
811
|
};
|
|
@@ -818,10 +819,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
818
819
|
}, "strip", z.ZodTypeAny, {
|
|
819
820
|
changeName: string;
|
|
820
821
|
schemaName: string;
|
|
821
|
-
|
|
822
|
+
isPlanningComplete: boolean;
|
|
822
823
|
applyRequires: string[];
|
|
823
824
|
artifacts: {
|
|
824
|
-
status: "
|
|
825
|
+
status: "ready" | "done" | "skipped" | "blocked";
|
|
825
826
|
id: string;
|
|
826
827
|
outputPath: string;
|
|
827
828
|
requires: string[];
|
|
@@ -866,7 +867,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
866
867
|
[k: string]: unknown;
|
|
867
868
|
};
|
|
868
869
|
evidence: {
|
|
869
|
-
command: "status";
|
|
870
870
|
success: boolean;
|
|
871
871
|
stdout: string;
|
|
872
872
|
stderr: string;
|
|
@@ -879,15 +879,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
879
879
|
target: z.ZodOptional<z.ZodString>;
|
|
880
880
|
fix: z.ZodOptional<z.ZodString>;
|
|
881
881
|
}, z.ZodTypeAny, "passthrough">[];
|
|
882
|
+
command: "status";
|
|
882
883
|
selector: {
|
|
883
884
|
store?: string | undefined;
|
|
884
885
|
};
|
|
886
|
+
contractError?: string | undefined;
|
|
885
887
|
root?: z.objectOutputType<{
|
|
886
888
|
path: z.ZodString;
|
|
887
889
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
888
890
|
store_id: z.ZodOptional<z.ZodString>;
|
|
889
891
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
890
|
-
contractError?: string | undefined;
|
|
891
892
|
} & {
|
|
892
893
|
[k: string]: unknown;
|
|
893
894
|
};
|
|
@@ -897,10 +898,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
897
898
|
}, {
|
|
898
899
|
changeName: string;
|
|
899
900
|
schemaName: string;
|
|
900
|
-
|
|
901
|
+
isPlanningComplete: boolean;
|
|
901
902
|
applyRequires: string[];
|
|
902
903
|
artifacts: {
|
|
903
|
-
status: "
|
|
904
|
+
status: "ready" | "done" | "skipped" | "blocked";
|
|
904
905
|
id: string;
|
|
905
906
|
outputPath: string;
|
|
906
907
|
requires: string[];
|
|
@@ -945,7 +946,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
945
946
|
[k: string]: unknown;
|
|
946
947
|
};
|
|
947
948
|
evidence: {
|
|
948
|
-
command: "status";
|
|
949
949
|
success: boolean;
|
|
950
950
|
stdout: string;
|
|
951
951
|
stderr: string;
|
|
@@ -958,15 +958,16 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
958
958
|
target: z.ZodOptional<z.ZodString>;
|
|
959
959
|
fix: z.ZodOptional<z.ZodString>;
|
|
960
960
|
}, z.ZodTypeAny, "passthrough">[];
|
|
961
|
+
command: "status";
|
|
961
962
|
selector: {
|
|
962
963
|
store?: string | undefined;
|
|
963
964
|
};
|
|
965
|
+
contractError?: string | undefined;
|
|
964
966
|
root?: z.objectInputType<{
|
|
965
967
|
path: z.ZodString;
|
|
966
968
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
967
969
|
store_id: z.ZodOptional<z.ZodString>;
|
|
968
970
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
969
|
-
contractError?: string | undefined;
|
|
970
971
|
} & {
|
|
971
972
|
[k: string]: unknown;
|
|
972
973
|
};
|
|
@@ -1296,12 +1297,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1296
1297
|
complete: z.ZodNumber;
|
|
1297
1298
|
remaining: z.ZodNumber;
|
|
1298
1299
|
}, "strip", z.ZodTypeAny, {
|
|
1299
|
-
total: number;
|
|
1300
1300
|
complete: number;
|
|
1301
|
+
total: number;
|
|
1301
1302
|
remaining: number;
|
|
1302
1303
|
}, {
|
|
1303
|
-
total: number;
|
|
1304
1304
|
complete: number;
|
|
1305
|
+
total: number;
|
|
1305
1306
|
remaining: number;
|
|
1306
1307
|
}>;
|
|
1307
1308
|
tracked: z.ZodObject<{
|
|
@@ -1313,90 +1314,90 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1313
1314
|
total: number;
|
|
1314
1315
|
remaining: number;
|
|
1315
1316
|
completed: number;
|
|
1316
|
-
phase: "
|
|
1317
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1317
1318
|
}, {
|
|
1318
1319
|
total: number;
|
|
1319
1320
|
remaining: number;
|
|
1320
1321
|
completed: number;
|
|
1321
|
-
phase: "
|
|
1322
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1322
1323
|
}>;
|
|
1323
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1324
|
-
kind: "tracked-task-mismatch";
|
|
1325
1325
|
message: string;
|
|
1326
|
+
kind: "tracked-task-mismatch";
|
|
1326
1327
|
apply: {
|
|
1327
|
-
total: number;
|
|
1328
1328
|
complete: number;
|
|
1329
|
+
total: number;
|
|
1329
1330
|
remaining: number;
|
|
1330
1331
|
};
|
|
1331
1332
|
tracked: {
|
|
1332
1333
|
total: number;
|
|
1333
1334
|
remaining: number;
|
|
1334
1335
|
completed: number;
|
|
1335
|
-
phase: "
|
|
1336
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1336
1337
|
};
|
|
1337
1338
|
}, {
|
|
1338
|
-
kind: "tracked-task-mismatch";
|
|
1339
1339
|
message: string;
|
|
1340
|
+
kind: "tracked-task-mismatch";
|
|
1340
1341
|
apply: {
|
|
1341
|
-
total: number;
|
|
1342
1342
|
complete: number;
|
|
1343
|
+
total: number;
|
|
1343
1344
|
remaining: number;
|
|
1344
1345
|
};
|
|
1345
1346
|
tracked: {
|
|
1346
1347
|
total: number;
|
|
1347
1348
|
remaining: number;
|
|
1348
1349
|
completed: number;
|
|
1349
|
-
phase: "
|
|
1350
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1350
1351
|
};
|
|
1351
1352
|
}>>;
|
|
1352
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1353
|
-
source: "openspec-instructions-apply";
|
|
1354
1354
|
state: "ready" | "blocked" | "all_done";
|
|
1355
|
-
|
|
1355
|
+
source: "openspec-instructions-apply";
|
|
1356
1356
|
complete: number;
|
|
1357
|
+
total: number;
|
|
1357
1358
|
remaining: number;
|
|
1358
1359
|
divergence: {
|
|
1359
|
-
kind: "tracked-task-mismatch";
|
|
1360
1360
|
message: string;
|
|
1361
|
+
kind: "tracked-task-mismatch";
|
|
1361
1362
|
apply: {
|
|
1362
|
-
total: number;
|
|
1363
1363
|
complete: number;
|
|
1364
|
+
total: number;
|
|
1364
1365
|
remaining: number;
|
|
1365
1366
|
};
|
|
1366
1367
|
tracked: {
|
|
1367
1368
|
total: number;
|
|
1368
1369
|
remaining: number;
|
|
1369
1370
|
completed: number;
|
|
1370
|
-
phase: "
|
|
1371
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1371
1372
|
};
|
|
1372
1373
|
} | null;
|
|
1373
1374
|
}, {
|
|
1374
|
-
source: "openspec-instructions-apply";
|
|
1375
1375
|
state: "ready" | "blocked" | "all_done";
|
|
1376
|
-
|
|
1376
|
+
source: "openspec-instructions-apply";
|
|
1377
1377
|
complete: number;
|
|
1378
|
+
total: number;
|
|
1378
1379
|
remaining: number;
|
|
1379
1380
|
divergence: {
|
|
1380
|
-
kind: "tracked-task-mismatch";
|
|
1381
1381
|
message: string;
|
|
1382
|
+
kind: "tracked-task-mismatch";
|
|
1382
1383
|
apply: {
|
|
1383
|
-
total: number;
|
|
1384
1384
|
complete: number;
|
|
1385
|
+
total: number;
|
|
1385
1386
|
remaining: number;
|
|
1386
1387
|
};
|
|
1387
1388
|
tracked: {
|
|
1388
1389
|
total: number;
|
|
1389
1390
|
remaining: number;
|
|
1390
1391
|
completed: number;
|
|
1391
|
-
phase: "
|
|
1392
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1392
1393
|
};
|
|
1393
1394
|
} | null;
|
|
1394
1395
|
}>;
|
|
1395
1396
|
}, "strip", z.ZodTypeAny, {
|
|
1397
|
+
state: "ready" | "blocked" | "all_done";
|
|
1396
1398
|
changeName: string;
|
|
1397
1399
|
schemaName: string;
|
|
1398
1400
|
evidence: {
|
|
1399
|
-
command: "instructions apply";
|
|
1400
1401
|
success: boolean;
|
|
1401
1402
|
stdout: string;
|
|
1402
1403
|
stderr: string;
|
|
@@ -1409,15 +1410,16 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1409
1410
|
target: z.ZodOptional<z.ZodString>;
|
|
1410
1411
|
fix: z.ZodOptional<z.ZodString>;
|
|
1411
1412
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1413
|
+
command: "instructions apply";
|
|
1412
1414
|
selector: {
|
|
1413
1415
|
store?: string | undefined;
|
|
1414
1416
|
};
|
|
1417
|
+
contractError?: string | undefined;
|
|
1415
1418
|
root?: z.objectOutputType<{
|
|
1416
1419
|
path: z.ZodString;
|
|
1417
1420
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
1418
1421
|
store_id: z.ZodOptional<z.ZodString>;
|
|
1419
1422
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1420
|
-
contractError?: string | undefined;
|
|
1421
1423
|
} & {
|
|
1422
1424
|
[k: string]: unknown;
|
|
1423
1425
|
};
|
|
@@ -1429,26 +1431,25 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1429
1431
|
done: boolean;
|
|
1430
1432
|
description: string;
|
|
1431
1433
|
}[];
|
|
1432
|
-
state: "ready" | "blocked" | "all_done";
|
|
1433
1434
|
applyInstructionProgress: {
|
|
1434
|
-
source: "openspec-instructions-apply";
|
|
1435
1435
|
state: "ready" | "blocked" | "all_done";
|
|
1436
|
-
|
|
1436
|
+
source: "openspec-instructions-apply";
|
|
1437
1437
|
complete: number;
|
|
1438
|
+
total: number;
|
|
1438
1439
|
remaining: number;
|
|
1439
1440
|
divergence: {
|
|
1440
|
-
kind: "tracked-task-mismatch";
|
|
1441
1441
|
message: string;
|
|
1442
|
+
kind: "tracked-task-mismatch";
|
|
1442
1443
|
apply: {
|
|
1443
|
-
total: number;
|
|
1444
1444
|
complete: number;
|
|
1445
|
+
total: number;
|
|
1445
1446
|
remaining: number;
|
|
1446
1447
|
};
|
|
1447
1448
|
tracked: {
|
|
1448
1449
|
total: number;
|
|
1449
1450
|
remaining: number;
|
|
1450
1451
|
completed: number;
|
|
1451
|
-
phase: "
|
|
1452
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1452
1453
|
};
|
|
1453
1454
|
} | null;
|
|
1454
1455
|
};
|
|
@@ -1491,10 +1492,10 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1491
1492
|
missingArtifacts?: string[] | undefined;
|
|
1492
1493
|
operationGuidance?: string[] | undefined;
|
|
1493
1494
|
}, {
|
|
1495
|
+
state: "ready" | "blocked" | "all_done";
|
|
1494
1496
|
changeName: string;
|
|
1495
1497
|
schemaName: string;
|
|
1496
1498
|
evidence: {
|
|
1497
|
-
command: "instructions apply";
|
|
1498
1499
|
success: boolean;
|
|
1499
1500
|
stdout: string;
|
|
1500
1501
|
stderr: string;
|
|
@@ -1507,15 +1508,16 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1507
1508
|
target: z.ZodOptional<z.ZodString>;
|
|
1508
1509
|
fix: z.ZodOptional<z.ZodString>;
|
|
1509
1510
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1511
|
+
command: "instructions apply";
|
|
1510
1512
|
selector: {
|
|
1511
1513
|
store?: string | undefined;
|
|
1512
1514
|
};
|
|
1515
|
+
contractError?: string | undefined;
|
|
1513
1516
|
root?: z.objectInputType<{
|
|
1514
1517
|
path: z.ZodString;
|
|
1515
1518
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
1516
1519
|
store_id: z.ZodOptional<z.ZodString>;
|
|
1517
1520
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1518
|
-
contractError?: string | undefined;
|
|
1519
1521
|
} & {
|
|
1520
1522
|
[k: string]: unknown;
|
|
1521
1523
|
};
|
|
@@ -1527,26 +1529,25 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1527
1529
|
done: boolean;
|
|
1528
1530
|
description: string;
|
|
1529
1531
|
}[];
|
|
1530
|
-
state: "ready" | "blocked" | "all_done";
|
|
1531
1532
|
applyInstructionProgress: {
|
|
1532
|
-
source: "openspec-instructions-apply";
|
|
1533
1533
|
state: "ready" | "blocked" | "all_done";
|
|
1534
|
-
|
|
1534
|
+
source: "openspec-instructions-apply";
|
|
1535
1535
|
complete: number;
|
|
1536
|
+
total: number;
|
|
1536
1537
|
remaining: number;
|
|
1537
1538
|
divergence: {
|
|
1538
|
-
kind: "tracked-task-mismatch";
|
|
1539
1539
|
message: string;
|
|
1540
|
+
kind: "tracked-task-mismatch";
|
|
1540
1541
|
apply: {
|
|
1541
|
-
total: number;
|
|
1542
1542
|
complete: number;
|
|
1543
|
+
total: number;
|
|
1543
1544
|
remaining: number;
|
|
1544
1545
|
};
|
|
1545
1546
|
tracked: {
|
|
1546
1547
|
total: number;
|
|
1547
1548
|
remaining: number;
|
|
1548
1549
|
completed: number;
|
|
1549
|
-
phase: "
|
|
1550
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1550
1551
|
};
|
|
1551
1552
|
} | null;
|
|
1552
1553
|
};
|
|
@@ -1599,12 +1600,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1599
1600
|
complete: z.ZodNumber;
|
|
1600
1601
|
remaining: z.ZodNumber;
|
|
1601
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1602
|
-
total: number;
|
|
1603
1603
|
complete: number;
|
|
1604
|
+
total: number;
|
|
1604
1605
|
remaining: number;
|
|
1605
1606
|
}, {
|
|
1606
|
-
total: number;
|
|
1607
1607
|
complete: number;
|
|
1608
|
+
total: number;
|
|
1608
1609
|
remaining: number;
|
|
1609
1610
|
}>;
|
|
1610
1611
|
tasks: z.ZodArray<z.ZodObject<{
|
|
@@ -1874,10 +1875,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1874
1875
|
command: z.ZodLiteral<"instructions apply">;
|
|
1875
1876
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1876
1877
|
}, "strip", z.ZodTypeAny, {
|
|
1878
|
+
state: "ready" | "blocked" | "all_done";
|
|
1877
1879
|
changeName: string;
|
|
1878
1880
|
schemaName: string;
|
|
1879
1881
|
evidence: {
|
|
1880
|
-
command: "instructions apply";
|
|
1881
1882
|
success: boolean;
|
|
1882
1883
|
stdout: string;
|
|
1883
1884
|
stderr: string;
|
|
@@ -1890,15 +1891,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1890
1891
|
target: z.ZodOptional<z.ZodString>;
|
|
1891
1892
|
fix: z.ZodOptional<z.ZodString>;
|
|
1892
1893
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1894
|
+
command: "instructions apply";
|
|
1893
1895
|
selector: {
|
|
1894
1896
|
store?: string | undefined;
|
|
1895
1897
|
};
|
|
1898
|
+
contractError?: string | undefined;
|
|
1896
1899
|
root?: z.objectOutputType<{
|
|
1897
1900
|
path: z.ZodString;
|
|
1898
1901
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
1899
1902
|
store_id: z.ZodOptional<z.ZodString>;
|
|
1900
1903
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1901
|
-
contractError?: string | undefined;
|
|
1902
1904
|
} & {
|
|
1903
1905
|
[k: string]: unknown;
|
|
1904
1906
|
};
|
|
@@ -1910,10 +1912,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1910
1912
|
done: boolean;
|
|
1911
1913
|
description: string;
|
|
1912
1914
|
}[];
|
|
1913
|
-
state: "ready" | "blocked" | "all_done";
|
|
1914
1915
|
progress: {
|
|
1915
|
-
total: number;
|
|
1916
1916
|
complete: number;
|
|
1917
|
+
total: number;
|
|
1917
1918
|
remaining: number;
|
|
1918
1919
|
};
|
|
1919
1920
|
context?: string | undefined;
|
|
@@ -1955,10 +1956,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1955
1956
|
missingArtifacts?: string[] | undefined;
|
|
1956
1957
|
operationGuidance?: string[] | undefined;
|
|
1957
1958
|
}, {
|
|
1959
|
+
state: "ready" | "blocked" | "all_done";
|
|
1958
1960
|
changeName: string;
|
|
1959
1961
|
schemaName: string;
|
|
1960
1962
|
evidence: {
|
|
1961
|
-
command: "instructions apply";
|
|
1962
1963
|
success: boolean;
|
|
1963
1964
|
stdout: string;
|
|
1964
1965
|
stderr: string;
|
|
@@ -1971,15 +1972,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1971
1972
|
target: z.ZodOptional<z.ZodString>;
|
|
1972
1973
|
fix: z.ZodOptional<z.ZodString>;
|
|
1973
1974
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1975
|
+
command: "instructions apply";
|
|
1974
1976
|
selector: {
|
|
1975
1977
|
store?: string | undefined;
|
|
1976
1978
|
};
|
|
1979
|
+
contractError?: string | undefined;
|
|
1977
1980
|
root?: z.objectInputType<{
|
|
1978
1981
|
path: z.ZodString;
|
|
1979
1982
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
1980
1983
|
store_id: z.ZodOptional<z.ZodString>;
|
|
1981
1984
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1982
|
-
contractError?: string | undefined;
|
|
1983
1985
|
} & {
|
|
1984
1986
|
[k: string]: unknown;
|
|
1985
1987
|
};
|
|
@@ -1991,10 +1993,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1991
1993
|
done: boolean;
|
|
1992
1994
|
description: string;
|
|
1993
1995
|
}[];
|
|
1994
|
-
state: "ready" | "blocked" | "all_done";
|
|
1995
1996
|
progress: {
|
|
1996
|
-
total: number;
|
|
1997
1997
|
complete: number;
|
|
1998
|
+
total: number;
|
|
1998
1999
|
remaining: number;
|
|
1999
2000
|
};
|
|
2000
2001
|
context?: string | undefined;
|
|
@@ -2037,10 +2038,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2037
2038
|
operationGuidance?: string[] | undefined;
|
|
2038
2039
|
}>, {
|
|
2039
2040
|
applyInstructionProgress: ApplyInstructionProgress;
|
|
2041
|
+
state: "ready" | "blocked" | "all_done";
|
|
2040
2042
|
changeName: string;
|
|
2041
2043
|
schemaName: string;
|
|
2042
2044
|
evidence: {
|
|
2043
|
-
command: "instructions apply";
|
|
2044
2045
|
success: boolean;
|
|
2045
2046
|
stdout: string;
|
|
2046
2047
|
stderr: string;
|
|
@@ -2053,15 +2054,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2053
2054
|
target: z.ZodOptional<z.ZodString>;
|
|
2054
2055
|
fix: z.ZodOptional<z.ZodString>;
|
|
2055
2056
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2057
|
+
command: "instructions apply";
|
|
2056
2058
|
selector: {
|
|
2057
2059
|
store?: string | undefined;
|
|
2058
2060
|
};
|
|
2061
|
+
contractError?: string | undefined;
|
|
2059
2062
|
root?: z.objectOutputType<{
|
|
2060
2063
|
path: z.ZodString;
|
|
2061
2064
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
2062
2065
|
store_id: z.ZodOptional<z.ZodString>;
|
|
2063
2066
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2064
|
-
contractError?: string | undefined;
|
|
2065
2067
|
} & {
|
|
2066
2068
|
[k: string]: unknown;
|
|
2067
2069
|
};
|
|
@@ -2073,7 +2075,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2073
2075
|
done: boolean;
|
|
2074
2076
|
description: string;
|
|
2075
2077
|
}[];
|
|
2076
|
-
state: "ready" | "blocked" | "all_done";
|
|
2077
2078
|
context?: string | undefined;
|
|
2078
2079
|
references?: z.objectOutputType<{
|
|
2079
2080
|
store_id: z.ZodString;
|
|
@@ -2113,10 +2114,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2113
2114
|
missingArtifacts?: string[] | undefined;
|
|
2114
2115
|
operationGuidance?: string[] | undefined;
|
|
2115
2116
|
}, {
|
|
2117
|
+
state: "ready" | "blocked" | "all_done";
|
|
2116
2118
|
changeName: string;
|
|
2117
2119
|
schemaName: string;
|
|
2118
2120
|
evidence: {
|
|
2119
|
-
command: "instructions apply";
|
|
2120
2121
|
success: boolean;
|
|
2121
2122
|
stdout: string;
|
|
2122
2123
|
stderr: string;
|
|
@@ -2129,15 +2130,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2129
2130
|
target: z.ZodOptional<z.ZodString>;
|
|
2130
2131
|
fix: z.ZodOptional<z.ZodString>;
|
|
2131
2132
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2133
|
+
command: "instructions apply";
|
|
2132
2134
|
selector: {
|
|
2133
2135
|
store?: string | undefined;
|
|
2134
2136
|
};
|
|
2137
|
+
contractError?: string | undefined;
|
|
2135
2138
|
root?: z.objectInputType<{
|
|
2136
2139
|
path: z.ZodString;
|
|
2137
2140
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
2138
2141
|
store_id: z.ZodOptional<z.ZodString>;
|
|
2139
2142
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2140
|
-
contractError?: string | undefined;
|
|
2141
2143
|
} & {
|
|
2142
2144
|
[k: string]: unknown;
|
|
2143
2145
|
};
|
|
@@ -2149,10 +2151,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2149
2151
|
done: boolean;
|
|
2150
2152
|
description: string;
|
|
2151
2153
|
}[];
|
|
2152
|
-
state: "ready" | "blocked" | "all_done";
|
|
2153
2154
|
progress: {
|
|
2154
|
-
total: number;
|
|
2155
2155
|
complete: number;
|
|
2156
|
+
total: number;
|
|
2156
2157
|
remaining: number;
|
|
2157
2158
|
};
|
|
2158
2159
|
context?: string | undefined;
|
|
@@ -2478,12 +2479,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2478
2479
|
complete: z.ZodNumber;
|
|
2479
2480
|
remaining: z.ZodNumber;
|
|
2480
2481
|
}, "strip", z.ZodTypeAny, {
|
|
2481
|
-
total: number;
|
|
2482
2482
|
complete: number;
|
|
2483
|
+
total: number;
|
|
2483
2484
|
remaining: number;
|
|
2484
2485
|
}, {
|
|
2485
|
-
total: number;
|
|
2486
2486
|
complete: number;
|
|
2487
|
+
total: number;
|
|
2487
2488
|
remaining: number;
|
|
2488
2489
|
}>;
|
|
2489
2490
|
tracked: z.ZodObject<{
|
|
@@ -2495,90 +2496,90 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2495
2496
|
total: number;
|
|
2496
2497
|
remaining: number;
|
|
2497
2498
|
completed: number;
|
|
2498
|
-
phase: "
|
|
2499
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2499
2500
|
}, {
|
|
2500
2501
|
total: number;
|
|
2501
2502
|
remaining: number;
|
|
2502
2503
|
completed: number;
|
|
2503
|
-
phase: "
|
|
2504
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2504
2505
|
}>;
|
|
2505
2506
|
}, "strip", z.ZodTypeAny, {
|
|
2506
|
-
kind: "tracked-task-mismatch";
|
|
2507
2507
|
message: string;
|
|
2508
|
+
kind: "tracked-task-mismatch";
|
|
2508
2509
|
apply: {
|
|
2509
|
-
total: number;
|
|
2510
2510
|
complete: number;
|
|
2511
|
+
total: number;
|
|
2511
2512
|
remaining: number;
|
|
2512
2513
|
};
|
|
2513
2514
|
tracked: {
|
|
2514
2515
|
total: number;
|
|
2515
2516
|
remaining: number;
|
|
2516
2517
|
completed: number;
|
|
2517
|
-
phase: "
|
|
2518
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2518
2519
|
};
|
|
2519
2520
|
}, {
|
|
2520
|
-
kind: "tracked-task-mismatch";
|
|
2521
2521
|
message: string;
|
|
2522
|
+
kind: "tracked-task-mismatch";
|
|
2522
2523
|
apply: {
|
|
2523
|
-
total: number;
|
|
2524
2524
|
complete: number;
|
|
2525
|
+
total: number;
|
|
2525
2526
|
remaining: number;
|
|
2526
2527
|
};
|
|
2527
2528
|
tracked: {
|
|
2528
2529
|
total: number;
|
|
2529
2530
|
remaining: number;
|
|
2530
2531
|
completed: number;
|
|
2531
|
-
phase: "
|
|
2532
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2532
2533
|
};
|
|
2533
2534
|
}>>;
|
|
2534
2535
|
}, "strip", z.ZodTypeAny, {
|
|
2535
|
-
source: "openspec-instructions-apply";
|
|
2536
2536
|
state: "ready" | "blocked" | "all_done";
|
|
2537
|
-
|
|
2537
|
+
source: "openspec-instructions-apply";
|
|
2538
2538
|
complete: number;
|
|
2539
|
+
total: number;
|
|
2539
2540
|
remaining: number;
|
|
2540
2541
|
divergence: {
|
|
2541
|
-
kind: "tracked-task-mismatch";
|
|
2542
2542
|
message: string;
|
|
2543
|
+
kind: "tracked-task-mismatch";
|
|
2543
2544
|
apply: {
|
|
2544
|
-
total: number;
|
|
2545
2545
|
complete: number;
|
|
2546
|
+
total: number;
|
|
2546
2547
|
remaining: number;
|
|
2547
2548
|
};
|
|
2548
2549
|
tracked: {
|
|
2549
2550
|
total: number;
|
|
2550
2551
|
remaining: number;
|
|
2551
2552
|
completed: number;
|
|
2552
|
-
phase: "
|
|
2553
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2553
2554
|
};
|
|
2554
2555
|
} | null;
|
|
2555
2556
|
}, {
|
|
2556
|
-
source: "openspec-instructions-apply";
|
|
2557
2557
|
state: "ready" | "blocked" | "all_done";
|
|
2558
|
-
|
|
2558
|
+
source: "openspec-instructions-apply";
|
|
2559
2559
|
complete: number;
|
|
2560
|
+
total: number;
|
|
2560
2561
|
remaining: number;
|
|
2561
2562
|
divergence: {
|
|
2562
|
-
kind: "tracked-task-mismatch";
|
|
2563
2563
|
message: string;
|
|
2564
|
+
kind: "tracked-task-mismatch";
|
|
2564
2565
|
apply: {
|
|
2565
|
-
total: number;
|
|
2566
2566
|
complete: number;
|
|
2567
|
+
total: number;
|
|
2567
2568
|
remaining: number;
|
|
2568
2569
|
};
|
|
2569
2570
|
tracked: {
|
|
2570
2571
|
total: number;
|
|
2571
2572
|
remaining: number;
|
|
2572
2573
|
completed: number;
|
|
2573
|
-
phase: "
|
|
2574
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2574
2575
|
};
|
|
2575
2576
|
} | null;
|
|
2576
2577
|
}>;
|
|
2577
2578
|
}, "strip", z.ZodTypeAny, {
|
|
2579
|
+
state: "ready" | "blocked" | "all_done";
|
|
2578
2580
|
changeName: string;
|
|
2579
2581
|
schemaName: string;
|
|
2580
2582
|
evidence: {
|
|
2581
|
-
command: "instructions apply";
|
|
2582
2583
|
success: boolean;
|
|
2583
2584
|
stdout: string;
|
|
2584
2585
|
stderr: string;
|
|
@@ -2591,15 +2592,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2591
2592
|
target: z.ZodOptional<z.ZodString>;
|
|
2592
2593
|
fix: z.ZodOptional<z.ZodString>;
|
|
2593
2594
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2595
|
+
command: "instructions apply";
|
|
2594
2596
|
selector: {
|
|
2595
2597
|
store?: string | undefined;
|
|
2596
2598
|
};
|
|
2599
|
+
contractError?: string | undefined;
|
|
2597
2600
|
root?: z.objectOutputType<{
|
|
2598
2601
|
path: z.ZodString;
|
|
2599
2602
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
2600
2603
|
store_id: z.ZodOptional<z.ZodString>;
|
|
2601
2604
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2602
|
-
contractError?: string | undefined;
|
|
2603
2605
|
} & {
|
|
2604
2606
|
[k: string]: unknown;
|
|
2605
2607
|
};
|
|
@@ -2611,26 +2613,25 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2611
2613
|
done: boolean;
|
|
2612
2614
|
description: string;
|
|
2613
2615
|
}[];
|
|
2614
|
-
state: "ready" | "blocked" | "all_done";
|
|
2615
2616
|
applyInstructionProgress: {
|
|
2616
|
-
source: "openspec-instructions-apply";
|
|
2617
2617
|
state: "ready" | "blocked" | "all_done";
|
|
2618
|
-
|
|
2618
|
+
source: "openspec-instructions-apply";
|
|
2619
2619
|
complete: number;
|
|
2620
|
+
total: number;
|
|
2620
2621
|
remaining: number;
|
|
2621
2622
|
divergence: {
|
|
2622
|
-
kind: "tracked-task-mismatch";
|
|
2623
2623
|
message: string;
|
|
2624
|
+
kind: "tracked-task-mismatch";
|
|
2624
2625
|
apply: {
|
|
2625
|
-
total: number;
|
|
2626
2626
|
complete: number;
|
|
2627
|
+
total: number;
|
|
2627
2628
|
remaining: number;
|
|
2628
2629
|
};
|
|
2629
2630
|
tracked: {
|
|
2630
2631
|
total: number;
|
|
2631
2632
|
remaining: number;
|
|
2632
2633
|
completed: number;
|
|
2633
|
-
phase: "
|
|
2634
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2634
2635
|
};
|
|
2635
2636
|
} | null;
|
|
2636
2637
|
};
|
|
@@ -2673,10 +2674,10 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2673
2674
|
missingArtifacts?: string[] | undefined;
|
|
2674
2675
|
operationGuidance?: string[] | undefined;
|
|
2675
2676
|
}, {
|
|
2677
|
+
state: "ready" | "blocked" | "all_done";
|
|
2676
2678
|
changeName: string;
|
|
2677
2679
|
schemaName: string;
|
|
2678
2680
|
evidence: {
|
|
2679
|
-
command: "instructions apply";
|
|
2680
2681
|
success: boolean;
|
|
2681
2682
|
stdout: string;
|
|
2682
2683
|
stderr: string;
|
|
@@ -2689,15 +2690,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2689
2690
|
target: z.ZodOptional<z.ZodString>;
|
|
2690
2691
|
fix: z.ZodOptional<z.ZodString>;
|
|
2691
2692
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2693
|
+
command: "instructions apply";
|
|
2692
2694
|
selector: {
|
|
2693
2695
|
store?: string | undefined;
|
|
2694
2696
|
};
|
|
2697
|
+
contractError?: string | undefined;
|
|
2695
2698
|
root?: z.objectInputType<{
|
|
2696
2699
|
path: z.ZodString;
|
|
2697
2700
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
2698
2701
|
store_id: z.ZodOptional<z.ZodString>;
|
|
2699
2702
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2700
|
-
contractError?: string | undefined;
|
|
2701
2703
|
} & {
|
|
2702
2704
|
[k: string]: unknown;
|
|
2703
2705
|
};
|
|
@@ -2709,26 +2711,25 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2709
2711
|
done: boolean;
|
|
2710
2712
|
description: string;
|
|
2711
2713
|
}[];
|
|
2712
|
-
state: "ready" | "blocked" | "all_done";
|
|
2713
2714
|
applyInstructionProgress: {
|
|
2714
|
-
source: "openspec-instructions-apply";
|
|
2715
2715
|
state: "ready" | "blocked" | "all_done";
|
|
2716
|
-
|
|
2716
|
+
source: "openspec-instructions-apply";
|
|
2717
2717
|
complete: number;
|
|
2718
|
+
total: number;
|
|
2718
2719
|
remaining: number;
|
|
2719
2720
|
divergence: {
|
|
2720
|
-
kind: "tracked-task-mismatch";
|
|
2721
2721
|
message: string;
|
|
2722
|
+
kind: "tracked-task-mismatch";
|
|
2722
2723
|
apply: {
|
|
2723
|
-
total: number;
|
|
2724
2724
|
complete: number;
|
|
2725
|
+
total: number;
|
|
2725
2726
|
remaining: number;
|
|
2726
2727
|
};
|
|
2727
2728
|
tracked: {
|
|
2728
2729
|
total: number;
|
|
2729
2730
|
remaining: number;
|
|
2730
2731
|
completed: number;
|
|
2731
|
-
phase: "
|
|
2732
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2732
2733
|
};
|
|
2733
2734
|
} | null;
|
|
2734
2735
|
};
|
|
@@ -2924,7 +2925,6 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2924
2925
|
}, "strip", z.ZodTypeAny, {
|
|
2925
2926
|
changeName: string;
|
|
2926
2927
|
evidence: {
|
|
2927
|
-
command: "instructions archive";
|
|
2928
2928
|
success: boolean;
|
|
2929
2929
|
stdout: string;
|
|
2930
2930
|
stderr: string;
|
|
@@ -2937,15 +2937,16 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2937
2937
|
target: z.ZodOptional<z.ZodString>;
|
|
2938
2938
|
fix: z.ZodOptional<z.ZodString>;
|
|
2939
2939
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2940
|
+
command: "instructions archive";
|
|
2940
2941
|
selector: {
|
|
2941
2942
|
store?: string | undefined;
|
|
2942
2943
|
};
|
|
2944
|
+
contractError?: string | undefined;
|
|
2943
2945
|
root?: z.objectOutputType<{
|
|
2944
2946
|
path: z.ZodString;
|
|
2945
2947
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
2946
2948
|
store_id: z.ZodOptional<z.ZodString>;
|
|
2947
2949
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2948
|
-
contractError?: string | undefined;
|
|
2949
2950
|
} & {
|
|
2950
2951
|
[k: string]: unknown;
|
|
2951
2952
|
};
|
|
@@ -2954,7 +2955,6 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2954
2955
|
}, {
|
|
2955
2956
|
changeName: string;
|
|
2956
2957
|
evidence: {
|
|
2957
|
-
command: "instructions archive";
|
|
2958
2958
|
success: boolean;
|
|
2959
2959
|
stdout: string;
|
|
2960
2960
|
stderr: string;
|
|
@@ -2967,15 +2967,16 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2967
2967
|
target: z.ZodOptional<z.ZodString>;
|
|
2968
2968
|
fix: z.ZodOptional<z.ZodString>;
|
|
2969
2969
|
}, z.ZodTypeAny, "passthrough">[];
|
|
2970
|
+
command: "instructions archive";
|
|
2970
2971
|
selector: {
|
|
2971
2972
|
store?: string | undefined;
|
|
2972
2973
|
};
|
|
2974
|
+
contractError?: string | undefined;
|
|
2973
2975
|
root?: z.objectInputType<{
|
|
2974
2976
|
path: z.ZodString;
|
|
2975
2977
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
2976
2978
|
store_id: z.ZodOptional<z.ZodString>;
|
|
2977
2979
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2978
|
-
contractError?: string | undefined;
|
|
2979
2980
|
} & {
|
|
2980
2981
|
[k: string]: unknown;
|
|
2981
2982
|
};
|
|
@@ -3267,7 +3268,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3267
3268
|
schemaName: string;
|
|
3268
3269
|
outputPath: string;
|
|
3269
3270
|
evidence: {
|
|
3270
|
-
command: "instructions";
|
|
3271
3271
|
success: boolean;
|
|
3272
3272
|
stdout: string;
|
|
3273
3273
|
stderr: string;
|
|
@@ -3280,15 +3280,16 @@ 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";
|
|
3283
3284
|
selector: {
|
|
3284
3285
|
store?: string | undefined;
|
|
3285
3286
|
};
|
|
3287
|
+
contractError?: string | undefined;
|
|
3286
3288
|
root?: z.objectOutputType<{
|
|
3287
3289
|
path: z.ZodString;
|
|
3288
3290
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
3289
3291
|
store_id: z.ZodOptional<z.ZodString>;
|
|
3290
3292
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3291
|
-
contractError?: string | undefined;
|
|
3292
3293
|
} & {
|
|
3293
3294
|
[k: string]: unknown;
|
|
3294
3295
|
};
|
|
@@ -3347,7 +3348,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3347
3348
|
schemaName: string;
|
|
3348
3349
|
outputPath: string;
|
|
3349
3350
|
evidence: {
|
|
3350
|
-
command: "instructions";
|
|
3351
3351
|
success: boolean;
|
|
3352
3352
|
stdout: string;
|
|
3353
3353
|
stderr: string;
|
|
@@ -3360,15 +3360,16 @@ 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";
|
|
3363
3364
|
selector: {
|
|
3364
3365
|
store?: string | undefined;
|
|
3365
3366
|
};
|
|
3367
|
+
contractError?: string | undefined;
|
|
3366
3368
|
root?: z.objectInputType<{
|
|
3367
3369
|
path: z.ZodString;
|
|
3368
3370
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
3369
3371
|
store_id: z.ZodOptional<z.ZodString>;
|
|
3370
3372
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3371
|
-
contractError?: string | undefined;
|
|
3372
3373
|
} & {
|
|
3373
3374
|
[k: string]: unknown;
|
|
3374
3375
|
};
|
|
@@ -3582,6 +3583,7 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
3582
3583
|
applyTracks: z.ZodOptional<z.ZodString>;
|
|
3583
3584
|
applyInstruction: z.ZodOptional<z.ZodString>;
|
|
3584
3585
|
}, "strip", z.ZodTypeAny, {
|
|
3586
|
+
name: string;
|
|
3585
3587
|
applyRequires: string[];
|
|
3586
3588
|
artifacts: {
|
|
3587
3589
|
id: string;
|
|
@@ -3591,12 +3593,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
3591
3593
|
instruction?: string | undefined;
|
|
3592
3594
|
template?: string | undefined;
|
|
3593
3595
|
}[];
|
|
3594
|
-
name: string;
|
|
3595
3596
|
description?: string | undefined;
|
|
3596
3597
|
version?: string | number | undefined;
|
|
3597
3598
|
applyTracks?: string | undefined;
|
|
3598
3599
|
applyInstruction?: string | undefined;
|
|
3599
3600
|
}, {
|
|
3601
|
+
name: string;
|
|
3600
3602
|
applyRequires: string[];
|
|
3601
3603
|
artifacts: {
|
|
3602
3604
|
id: string;
|
|
@@ -3606,7 +3608,6 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
3606
3608
|
instruction?: string | undefined;
|
|
3607
3609
|
template?: string | undefined;
|
|
3608
3610
|
}[];
|
|
3609
|
-
name: string;
|
|
3610
3611
|
description?: string | undefined;
|
|
3611
3612
|
version?: string | number | undefined;
|
|
3612
3613
|
applyTracks?: string | undefined;
|
|
@@ -3661,6 +3662,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3661
3662
|
applyTracks: z.ZodOptional<z.ZodString>;
|
|
3662
3663
|
applyInstruction: z.ZodOptional<z.ZodString>;
|
|
3663
3664
|
}, "strip", z.ZodTypeAny, {
|
|
3665
|
+
name: string;
|
|
3664
3666
|
applyRequires: string[];
|
|
3665
3667
|
artifacts: {
|
|
3666
3668
|
id: string;
|
|
@@ -3670,12 +3672,12 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3670
3672
|
instruction?: string | undefined;
|
|
3671
3673
|
template?: string | undefined;
|
|
3672
3674
|
}[];
|
|
3673
|
-
name: string;
|
|
3674
3675
|
description?: string | undefined;
|
|
3675
3676
|
version?: string | number | undefined;
|
|
3676
3677
|
applyTracks?: string | undefined;
|
|
3677
3678
|
applyInstruction?: string | undefined;
|
|
3678
3679
|
}, {
|
|
3680
|
+
name: string;
|
|
3679
3681
|
applyRequires: string[];
|
|
3680
3682
|
artifacts: {
|
|
3681
3683
|
id: string;
|
|
@@ -3685,7 +3687,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3685
3687
|
instruction?: string | undefined;
|
|
3686
3688
|
template?: string | undefined;
|
|
3687
3689
|
}[];
|
|
3688
|
-
name: string;
|
|
3689
3690
|
description?: string | undefined;
|
|
3690
3691
|
version?: string | number | undefined;
|
|
3691
3692
|
applyTracks?: string | undefined;
|
|
@@ -3766,6 +3767,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3766
3767
|
source: z.ZodEnum<["project", "user", "package"]>;
|
|
3767
3768
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3768
3769
|
schemaDetails: Record<string, {
|
|
3770
|
+
name: string;
|
|
3769
3771
|
applyRequires: string[];
|
|
3770
3772
|
artifacts: {
|
|
3771
3773
|
id: string;
|
|
@@ -3775,7 +3777,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3775
3777
|
instruction?: string | undefined;
|
|
3776
3778
|
template?: string | undefined;
|
|
3777
3779
|
}[];
|
|
3778
|
-
name: string;
|
|
3779
3780
|
description?: string | undefined;
|
|
3780
3781
|
version?: string | number | undefined;
|
|
3781
3782
|
applyTracks?: string | undefined;
|
|
@@ -3812,6 +3813,7 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3812
3813
|
source: z.ZodEnum<["project", "user", "package"]>;
|
|
3813
3814
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3814
3815
|
schemaDetails: Record<string, {
|
|
3816
|
+
name: string;
|
|
3815
3817
|
applyRequires: string[];
|
|
3816
3818
|
artifacts: {
|
|
3817
3819
|
id: string;
|
|
@@ -3821,7 +3823,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3821
3823
|
instruction?: string | undefined;
|
|
3822
3824
|
template?: string | undefined;
|
|
3823
3825
|
}[];
|
|
3824
|
-
name: string;
|
|
3825
3826
|
description?: string | undefined;
|
|
3826
3827
|
version?: string | number | undefined;
|
|
3827
3828
|
applyTracks?: string | undefined;
|