@openspecui/core 11.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-root-config-CsFtntHf.d.mts → active-root-config-Ba57tJrq.d.mts} +17 -17
- package/dist/active-root-config.d.mts +5 -5
- package/dist/{cli-projection-Dd5Gdqa2.d.mts → cli-projection-CvtX601c.d.mts} +17 -17
- package/dist/cli-projection.d.mts +5 -5
- package/dist/{command-result-DWMmDl6I.mjs → command-result-DbXO8ZgG.mjs} +106 -13
- package/dist/{dashboard-summary-transport-wRH7oVWM.d.mts → dashboard-summary-transport-edeWQPi7.d.mts} +5449 -5394
- package/dist/dashboard-summary-transport.d.mts +18 -18
- package/dist/{document-translation-OvsFNs-H.d.mts → document-translation-CGMD0RLA.d.mts} +102 -102
- package/dist/document-translation.d.mts +1 -1
- package/dist/hosted-app.d.mts +18 -18
- package/dist/hosted-contract.d.mts +18 -18
- package/dist/{index-jbHV-sxg.d.mts → index-D9qYKNqh.d.mts} +2215 -189
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +127 -59
- package/dist/{local-download-profiles-DXNExauZ.d.mts → local-download-profiles-DaFozMhH.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-B8Ael_hq.d.mts → notifications-Dkoh_xrs.d.mts} +8 -8
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-compat-DctIDxRM.mjs → openspec-compat-CpMO8-dz.mjs} +20 -16
- package/dist/openspec-compat.d.mts +5 -5
- package/dist/openspec-compat.mjs +3 -3
- package/dist/{openspec-projection-xOnjhQ7v.d.mts → openspec-projection-46QLZ6b8.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-Dc4XotlR.d.mts → opsx-entity-Btqm5OhC.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/{opsx-schema-detail-BJ6wzYhq.d.mts → opsx-schema-detail-C4VyWZ8B.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/{opsx-types-CnZ4dsxb.d.mts → opsx-types-hVFHL9Cb.d.mts} +255 -255
- package/dist/{planning-cli-projection-pq8vZC1r.mjs → planning-cli-projection-BUU26bEw.mjs} +2 -2
- package/dist/planning-cli-projection.d.mts +18 -18
- package/dist/planning-cli-projection.mjs +3 -3
- package/dist/{schemas-pfpqDlAd.d.mts → schemas-Ce7B_SNx.d.mts} +208 -208
- package/dist/{sounds-B0GiWqBN.d.mts → sounds-DzDkqTIX.d.mts} +4 -4
- package/dist/sounds.d.mts +1 -1
- package/dist/{spec-catalog-BkX0tZp9.mjs → spec-catalog-DshONoJ9.mjs} +31 -2
- package/dist/spec-catalog.d.mts +18 -18
- package/dist/spec-catalog.mjs +2 -2
- package/dist/{store-mutation-protocol-DXeWtAvN.d.mts → store-mutation-protocol-DHjp76v0.d.mts} +24 -24
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-BLW7QE7W.d.mts → store-types-vKTsXtfb.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/task-progress.d.mts +6 -6
- package/dist/{terminal-audio-BpfUW_eB.d.mts → terminal-audio-C6kc0fbX.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-DROo1wu_.d.mts → terminal-invocation-zNp8J57-.d.mts} +108 -108
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-C5z6a5C4.d.mts → translator-DZO_bY1X.d.mts} +254 -254
- package/dist/translator.d.mts +1 -1
- package/package.json +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ChangeFile, v as Task } from "./schemas-
|
|
1
|
+
import { Ct as CliJsonValue } from "./index-D9qYKNqh.mjs";
|
|
2
|
+
import { n as ChangeFile, v as Task } from "./schemas-Ce7B_SNx.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[];
|
|
@@ -435,14 +435,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
435
435
|
missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
436
436
|
relativePath: z.ZodOptional<z.ZodString>;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
|
-
status: "
|
|
438
|
+
status: "done" | "skipped" | "ready" | "blocked";
|
|
439
439
|
id: string;
|
|
440
440
|
outputPath: string;
|
|
441
441
|
requires: string[];
|
|
442
442
|
missingDeps?: string[] | undefined;
|
|
443
443
|
relativePath?: string | undefined;
|
|
444
444
|
}, {
|
|
445
|
-
status: "
|
|
445
|
+
status: "done" | "skipped" | "ready" | "blocked";
|
|
446
446
|
id: string;
|
|
447
447
|
outputPath: string;
|
|
448
448
|
requires: string[];
|
|
@@ -692,32 +692,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
692
692
|
} & {
|
|
693
693
|
[k: string]: unknown;
|
|
694
694
|
};
|
|
695
|
-
evidence: {
|
|
696
|
-
success: boolean;
|
|
697
|
-
stdout: string;
|
|
698
|
-
stderr: string;
|
|
699
|
-
exitCode: number | null;
|
|
700
|
-
payload: CliJsonValue;
|
|
701
|
-
diagnostics: z.objectOutputType<{
|
|
702
|
-
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
703
|
-
code: z.ZodString;
|
|
704
|
-
message: z.ZodString;
|
|
705
|
-
target: z.ZodOptional<z.ZodString>;
|
|
706
|
-
fix: z.ZodOptional<z.ZodString>;
|
|
707
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
708
|
-
command: "status";
|
|
709
|
-
selector: {
|
|
710
|
-
store?: string | undefined;
|
|
711
|
-
};
|
|
712
|
-
contractError?: string | undefined;
|
|
713
|
-
root?: z.objectOutputType<{
|
|
714
|
-
path: z.ZodString;
|
|
715
|
-
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
716
|
-
store_id: z.ZodOptional<z.ZodString>;
|
|
717
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
718
|
-
} & {
|
|
719
|
-
[k: string]: unknown;
|
|
720
|
-
};
|
|
721
695
|
planningHome: {
|
|
722
696
|
kind: "repo";
|
|
723
697
|
root: string;
|
|
@@ -746,22 +720,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
746
720
|
} & {
|
|
747
721
|
[k: string]: unknown;
|
|
748
722
|
};
|
|
749
|
-
}, {
|
|
750
|
-
kind: "cli";
|
|
751
|
-
root: {
|
|
752
|
-
path: string;
|
|
753
|
-
source: "store" | "declared" | "nearest" | "global_default" | "implicit";
|
|
754
|
-
store_id?: string | undefined;
|
|
755
|
-
} & {
|
|
756
|
-
[k: string]: unknown;
|
|
757
|
-
};
|
|
758
723
|
evidence: {
|
|
759
724
|
success: boolean;
|
|
760
725
|
stdout: string;
|
|
761
726
|
stderr: string;
|
|
762
727
|
exitCode: number | null;
|
|
763
728
|
payload: CliJsonValue;
|
|
764
|
-
diagnostics: z.
|
|
729
|
+
diagnostics: z.objectOutputType<{
|
|
765
730
|
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
766
731
|
code: z.ZodString;
|
|
767
732
|
message: z.ZodString;
|
|
@@ -773,7 +738,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
773
738
|
store?: string | undefined;
|
|
774
739
|
};
|
|
775
740
|
contractError?: string | undefined;
|
|
776
|
-
root?: z.
|
|
741
|
+
root?: z.objectOutputType<{
|
|
777
742
|
path: z.ZodString;
|
|
778
743
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
779
744
|
store_id: z.ZodOptional<z.ZodString>;
|
|
@@ -781,6 +746,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
781
746
|
} & {
|
|
782
747
|
[k: string]: unknown;
|
|
783
748
|
};
|
|
749
|
+
}, {
|
|
750
|
+
kind: "cli";
|
|
751
|
+
root: {
|
|
752
|
+
path: string;
|
|
753
|
+
source: "store" | "declared" | "nearest" | "global_default" | "implicit";
|
|
754
|
+
store_id?: string | undefined;
|
|
755
|
+
} & {
|
|
756
|
+
[k: string]: unknown;
|
|
757
|
+
};
|
|
784
758
|
planningHome: {
|
|
785
759
|
kind: "repo";
|
|
786
760
|
root: string;
|
|
@@ -809,6 +783,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
809
783
|
} & {
|
|
810
784
|
[k: string]: unknown;
|
|
811
785
|
};
|
|
786
|
+
evidence: {
|
|
787
|
+
success: boolean;
|
|
788
|
+
stdout: string;
|
|
789
|
+
stderr: string;
|
|
790
|
+
exitCode: number | null;
|
|
791
|
+
payload: CliJsonValue;
|
|
792
|
+
diagnostics: z.objectInputType<{
|
|
793
|
+
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
794
|
+
code: z.ZodString;
|
|
795
|
+
message: z.ZodString;
|
|
796
|
+
target: z.ZodOptional<z.ZodString>;
|
|
797
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
798
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
799
|
+
command: "status";
|
|
800
|
+
selector: {
|
|
801
|
+
store?: string | undefined;
|
|
802
|
+
};
|
|
803
|
+
contractError?: string | undefined;
|
|
804
|
+
root?: z.objectInputType<{
|
|
805
|
+
path: z.ZodString;
|
|
806
|
+
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
807
|
+
store_id: z.ZodOptional<z.ZodString>;
|
|
808
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
809
|
+
} & {
|
|
810
|
+
[k: string]: unknown;
|
|
811
|
+
};
|
|
812
812
|
}>, z.ZodObject<{
|
|
813
813
|
kind: z.ZodLiteral<"static">;
|
|
814
814
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -822,7 +822,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
822
822
|
isPlanningComplete: boolean;
|
|
823
823
|
applyRequires: string[];
|
|
824
824
|
artifacts: {
|
|
825
|
-
status: "
|
|
825
|
+
status: "done" | "skipped" | "ready" | "blocked";
|
|
826
826
|
id: string;
|
|
827
827
|
outputPath: string;
|
|
828
828
|
requires: string[];
|
|
@@ -838,32 +838,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
838
838
|
} & {
|
|
839
839
|
[k: string]: unknown;
|
|
840
840
|
};
|
|
841
|
-
evidence: {
|
|
842
|
-
success: boolean;
|
|
843
|
-
stdout: string;
|
|
844
|
-
stderr: string;
|
|
845
|
-
exitCode: number | null;
|
|
846
|
-
payload: CliJsonValue;
|
|
847
|
-
diagnostics: z.objectOutputType<{
|
|
848
|
-
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
849
|
-
code: z.ZodString;
|
|
850
|
-
message: z.ZodString;
|
|
851
|
-
target: z.ZodOptional<z.ZodString>;
|
|
852
|
-
fix: z.ZodOptional<z.ZodString>;
|
|
853
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
854
|
-
command: "status";
|
|
855
|
-
selector: {
|
|
856
|
-
store?: string | undefined;
|
|
857
|
-
};
|
|
858
|
-
contractError?: string | undefined;
|
|
859
|
-
root?: z.objectOutputType<{
|
|
860
|
-
path: z.ZodString;
|
|
861
|
-
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
862
|
-
store_id: z.ZodOptional<z.ZodString>;
|
|
863
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
864
|
-
} & {
|
|
865
|
-
[k: string]: unknown;
|
|
866
|
-
};
|
|
867
841
|
planningHome: {
|
|
868
842
|
kind: "repo";
|
|
869
843
|
root: string;
|
|
@@ -892,38 +866,13 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
892
866
|
} & {
|
|
893
867
|
[k: string]: unknown;
|
|
894
868
|
};
|
|
895
|
-
} | {
|
|
896
|
-
kind: "static";
|
|
897
|
-
};
|
|
898
|
-
}, {
|
|
899
|
-
changeName: string;
|
|
900
|
-
schemaName: string;
|
|
901
|
-
isPlanningComplete: boolean;
|
|
902
|
-
applyRequires: string[];
|
|
903
|
-
artifacts: {
|
|
904
|
-
status: "ready" | "done" | "skipped" | "blocked";
|
|
905
|
-
id: string;
|
|
906
|
-
outputPath: string;
|
|
907
|
-
requires: string[];
|
|
908
|
-
missingDeps?: string[] | undefined;
|
|
909
|
-
relativePath?: string | undefined;
|
|
910
|
-
}[];
|
|
911
|
-
provenance: {
|
|
912
|
-
kind: "cli";
|
|
913
|
-
root: {
|
|
914
|
-
path: string;
|
|
915
|
-
source: "store" | "declared" | "nearest" | "global_default" | "implicit";
|
|
916
|
-
store_id?: string | undefined;
|
|
917
|
-
} & {
|
|
918
|
-
[k: string]: unknown;
|
|
919
|
-
};
|
|
920
869
|
evidence: {
|
|
921
870
|
success: boolean;
|
|
922
871
|
stdout: string;
|
|
923
872
|
stderr: string;
|
|
924
873
|
exitCode: number | null;
|
|
925
874
|
payload: CliJsonValue;
|
|
926
|
-
diagnostics: z.
|
|
875
|
+
diagnostics: z.objectOutputType<{
|
|
927
876
|
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
928
877
|
code: z.ZodString;
|
|
929
878
|
message: z.ZodString;
|
|
@@ -935,7 +884,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
935
884
|
store?: string | undefined;
|
|
936
885
|
};
|
|
937
886
|
contractError?: string | undefined;
|
|
938
|
-
root?: z.
|
|
887
|
+
root?: z.objectOutputType<{
|
|
939
888
|
path: z.ZodString;
|
|
940
889
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
941
890
|
store_id: z.ZodOptional<z.ZodString>;
|
|
@@ -943,6 +892,31 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
943
892
|
} & {
|
|
944
893
|
[k: string]: unknown;
|
|
945
894
|
};
|
|
895
|
+
} | {
|
|
896
|
+
kind: "static";
|
|
897
|
+
};
|
|
898
|
+
}, {
|
|
899
|
+
changeName: string;
|
|
900
|
+
schemaName: string;
|
|
901
|
+
isPlanningComplete: boolean;
|
|
902
|
+
applyRequires: string[];
|
|
903
|
+
artifacts: {
|
|
904
|
+
status: "done" | "skipped" | "ready" | "blocked";
|
|
905
|
+
id: string;
|
|
906
|
+
outputPath: string;
|
|
907
|
+
requires: string[];
|
|
908
|
+
missingDeps?: string[] | undefined;
|
|
909
|
+
relativePath?: string | undefined;
|
|
910
|
+
}[];
|
|
911
|
+
provenance: {
|
|
912
|
+
kind: "cli";
|
|
913
|
+
root: {
|
|
914
|
+
path: string;
|
|
915
|
+
source: "store" | "declared" | "nearest" | "global_default" | "implicit";
|
|
916
|
+
store_id?: string | undefined;
|
|
917
|
+
} & {
|
|
918
|
+
[k: string]: unknown;
|
|
919
|
+
};
|
|
946
920
|
planningHome: {
|
|
947
921
|
kind: "repo";
|
|
948
922
|
root: string;
|
|
@@ -971,6 +945,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
971
945
|
} & {
|
|
972
946
|
[k: string]: unknown;
|
|
973
947
|
};
|
|
948
|
+
evidence: {
|
|
949
|
+
success: boolean;
|
|
950
|
+
stdout: string;
|
|
951
|
+
stderr: string;
|
|
952
|
+
exitCode: number | null;
|
|
953
|
+
payload: CliJsonValue;
|
|
954
|
+
diagnostics: z.objectInputType<{
|
|
955
|
+
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
956
|
+
code: z.ZodString;
|
|
957
|
+
message: z.ZodString;
|
|
958
|
+
target: z.ZodOptional<z.ZodString>;
|
|
959
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
960
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
961
|
+
command: "status";
|
|
962
|
+
selector: {
|
|
963
|
+
store?: string | undefined;
|
|
964
|
+
};
|
|
965
|
+
contractError?: string | undefined;
|
|
966
|
+
root?: z.objectInputType<{
|
|
967
|
+
path: z.ZodString;
|
|
968
|
+
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
969
|
+
store_id: z.ZodOptional<z.ZodString>;
|
|
970
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
971
|
+
} & {
|
|
972
|
+
[k: string]: unknown;
|
|
973
|
+
};
|
|
974
974
|
} | {
|
|
975
975
|
kind: "static";
|
|
976
976
|
};
|
|
@@ -1311,95 +1311,91 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1311
1311
|
remaining: z.ZodNumber;
|
|
1312
1312
|
phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
|
|
1313
1313
|
}, "strip", z.ZodTypeAny, {
|
|
1314
|
-
completed: number;
|
|
1315
1314
|
total: number;
|
|
1316
1315
|
remaining: number;
|
|
1317
|
-
phase: "no-tasks" | "in-progress" | "complete";
|
|
1318
|
-
}, {
|
|
1319
1316
|
completed: number;
|
|
1317
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1318
|
+
}, {
|
|
1320
1319
|
total: number;
|
|
1321
1320
|
remaining: number;
|
|
1322
|
-
|
|
1321
|
+
completed: number;
|
|
1322
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1323
1323
|
}>;
|
|
1324
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1325
|
-
message: string;
|
|
1326
1325
|
kind: "tracked-task-mismatch";
|
|
1326
|
+
message: string;
|
|
1327
1327
|
apply: {
|
|
1328
1328
|
complete: number;
|
|
1329
1329
|
total: number;
|
|
1330
1330
|
remaining: number;
|
|
1331
1331
|
};
|
|
1332
1332
|
tracked: {
|
|
1333
|
-
completed: number;
|
|
1334
1333
|
total: number;
|
|
1335
1334
|
remaining: number;
|
|
1336
|
-
|
|
1335
|
+
completed: number;
|
|
1336
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1337
1337
|
};
|
|
1338
1338
|
}, {
|
|
1339
|
-
message: string;
|
|
1340
1339
|
kind: "tracked-task-mismatch";
|
|
1340
|
+
message: string;
|
|
1341
1341
|
apply: {
|
|
1342
1342
|
complete: number;
|
|
1343
1343
|
total: number;
|
|
1344
1344
|
remaining: number;
|
|
1345
1345
|
};
|
|
1346
1346
|
tracked: {
|
|
1347
|
-
completed: number;
|
|
1348
1347
|
total: number;
|
|
1349
1348
|
remaining: number;
|
|
1350
|
-
|
|
1349
|
+
completed: number;
|
|
1350
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1351
1351
|
};
|
|
1352
1352
|
}>>;
|
|
1353
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1354
|
-
|
|
1354
|
+
source: "openspec-instructions-apply";
|
|
1355
1355
|
complete: number;
|
|
1356
|
+
state: "ready" | "blocked" | "all_done";
|
|
1356
1357
|
total: number;
|
|
1357
1358
|
remaining: number;
|
|
1358
|
-
source: "openspec-instructions-apply";
|
|
1359
1359
|
divergence: {
|
|
1360
|
-
message: string;
|
|
1361
1360
|
kind: "tracked-task-mismatch";
|
|
1361
|
+
message: string;
|
|
1362
1362
|
apply: {
|
|
1363
1363
|
complete: number;
|
|
1364
1364
|
total: number;
|
|
1365
1365
|
remaining: number;
|
|
1366
1366
|
};
|
|
1367
1367
|
tracked: {
|
|
1368
|
-
completed: number;
|
|
1369
1368
|
total: number;
|
|
1370
1369
|
remaining: number;
|
|
1371
|
-
|
|
1370
|
+
completed: number;
|
|
1371
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1372
1372
|
};
|
|
1373
1373
|
} | null;
|
|
1374
1374
|
}, {
|
|
1375
|
-
|
|
1375
|
+
source: "openspec-instructions-apply";
|
|
1376
1376
|
complete: number;
|
|
1377
|
+
state: "ready" | "blocked" | "all_done";
|
|
1377
1378
|
total: number;
|
|
1378
1379
|
remaining: number;
|
|
1379
|
-
source: "openspec-instructions-apply";
|
|
1380
1380
|
divergence: {
|
|
1381
|
-
message: string;
|
|
1382
1381
|
kind: "tracked-task-mismatch";
|
|
1382
|
+
message: string;
|
|
1383
1383
|
apply: {
|
|
1384
1384
|
complete: number;
|
|
1385
1385
|
total: number;
|
|
1386
1386
|
remaining: number;
|
|
1387
1387
|
};
|
|
1388
1388
|
tracked: {
|
|
1389
|
-
completed: number;
|
|
1390
1389
|
total: number;
|
|
1391
1390
|
remaining: number;
|
|
1392
|
-
|
|
1391
|
+
completed: number;
|
|
1392
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1393
1393
|
};
|
|
1394
1394
|
} | null;
|
|
1395
1395
|
}>;
|
|
1396
1396
|
}, "strip", z.ZodTypeAny, {
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
id: string;
|
|
1400
|
-
done: boolean;
|
|
1401
|
-
description: string;
|
|
1402
|
-
}[];
|
|
1397
|
+
changeName: string;
|
|
1398
|
+
schemaName: string;
|
|
1403
1399
|
evidence: {
|
|
1404
1400
|
success: boolean;
|
|
1405
1401
|
stdout: string;
|
|
@@ -1426,33 +1422,38 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1426
1422
|
} & {
|
|
1427
1423
|
[k: string]: unknown;
|
|
1428
1424
|
};
|
|
1429
|
-
changeName: string;
|
|
1430
|
-
schemaName: string;
|
|
1431
1425
|
changeDir: string;
|
|
1432
1426
|
instruction: string;
|
|
1433
1427
|
contextFiles: Record<string, string[]>;
|
|
1428
|
+
tasks: {
|
|
1429
|
+
id: string;
|
|
1430
|
+
done: boolean;
|
|
1431
|
+
description: string;
|
|
1432
|
+
}[];
|
|
1433
|
+
state: "ready" | "blocked" | "all_done";
|
|
1434
1434
|
applyInstructionProgress: {
|
|
1435
|
-
|
|
1435
|
+
source: "openspec-instructions-apply";
|
|
1436
1436
|
complete: number;
|
|
1437
|
+
state: "ready" | "blocked" | "all_done";
|
|
1437
1438
|
total: number;
|
|
1438
1439
|
remaining: number;
|
|
1439
|
-
source: "openspec-instructions-apply";
|
|
1440
1440
|
divergence: {
|
|
1441
|
-
message: string;
|
|
1442
1441
|
kind: "tracked-task-mismatch";
|
|
1442
|
+
message: string;
|
|
1443
1443
|
apply: {
|
|
1444
1444
|
complete: number;
|
|
1445
1445
|
total: number;
|
|
1446
1446
|
remaining: number;
|
|
1447
1447
|
};
|
|
1448
1448
|
tracked: {
|
|
1449
|
-
completed: number;
|
|
1450
1449
|
total: number;
|
|
1451
1450
|
remaining: number;
|
|
1452
|
-
|
|
1451
|
+
completed: number;
|
|
1452
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1453
1453
|
};
|
|
1454
1454
|
} | null;
|
|
1455
1455
|
};
|
|
1456
|
+
context?: string | undefined;
|
|
1456
1457
|
references?: z.objectOutputType<{
|
|
1457
1458
|
store_id: z.ZodString;
|
|
1458
1459
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -1488,16 +1489,11 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1488
1489
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1489
1490
|
fetch: z.ZodOptional<z.ZodString>;
|
|
1490
1491
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1491
|
-
context?: string | undefined;
|
|
1492
1492
|
missingArtifacts?: string[] | undefined;
|
|
1493
1493
|
operationGuidance?: string[] | undefined;
|
|
1494
1494
|
}, {
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
id: string;
|
|
1498
|
-
done: boolean;
|
|
1499
|
-
description: string;
|
|
1500
|
-
}[];
|
|
1495
|
+
changeName: string;
|
|
1496
|
+
schemaName: string;
|
|
1501
1497
|
evidence: {
|
|
1502
1498
|
success: boolean;
|
|
1503
1499
|
stdout: string;
|
|
@@ -1524,33 +1520,38 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1524
1520
|
} & {
|
|
1525
1521
|
[k: string]: unknown;
|
|
1526
1522
|
};
|
|
1527
|
-
changeName: string;
|
|
1528
|
-
schemaName: string;
|
|
1529
1523
|
changeDir: string;
|
|
1530
1524
|
instruction: string;
|
|
1531
1525
|
contextFiles: Record<string, string | string[]>;
|
|
1526
|
+
tasks: {
|
|
1527
|
+
id: string;
|
|
1528
|
+
done: boolean;
|
|
1529
|
+
description: string;
|
|
1530
|
+
}[];
|
|
1531
|
+
state: "ready" | "blocked" | "all_done";
|
|
1532
1532
|
applyInstructionProgress: {
|
|
1533
|
-
|
|
1533
|
+
source: "openspec-instructions-apply";
|
|
1534
1534
|
complete: number;
|
|
1535
|
+
state: "ready" | "blocked" | "all_done";
|
|
1535
1536
|
total: number;
|
|
1536
1537
|
remaining: number;
|
|
1537
|
-
source: "openspec-instructions-apply";
|
|
1538
1538
|
divergence: {
|
|
1539
|
-
message: string;
|
|
1540
1539
|
kind: "tracked-task-mismatch";
|
|
1540
|
+
message: string;
|
|
1541
1541
|
apply: {
|
|
1542
1542
|
complete: number;
|
|
1543
1543
|
total: number;
|
|
1544
1544
|
remaining: number;
|
|
1545
1545
|
};
|
|
1546
1546
|
tracked: {
|
|
1547
|
-
completed: number;
|
|
1548
1547
|
total: number;
|
|
1549
1548
|
remaining: number;
|
|
1550
|
-
|
|
1549
|
+
completed: number;
|
|
1550
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
1551
1551
|
};
|
|
1552
1552
|
} | null;
|
|
1553
1553
|
};
|
|
1554
|
+
context?: string | undefined;
|
|
1554
1555
|
references?: z.objectInputType<{
|
|
1555
1556
|
store_id: z.ZodString;
|
|
1556
1557
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -1586,7 +1587,6 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1586
1587
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1587
1588
|
fetch: z.ZodOptional<z.ZodString>;
|
|
1588
1589
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1589
|
-
context?: string | undefined;
|
|
1590
1590
|
missingArtifacts?: string[] | undefined;
|
|
1591
1591
|
operationGuidance?: string[] | undefined;
|
|
1592
1592
|
}>;
|
|
@@ -1875,12 +1875,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1875
1875
|
command: z.ZodLiteral<"instructions apply">;
|
|
1876
1876
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1877
1877
|
}, "strip", z.ZodTypeAny, {
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
id: string;
|
|
1881
|
-
done: boolean;
|
|
1882
|
-
description: string;
|
|
1883
|
-
}[];
|
|
1878
|
+
changeName: string;
|
|
1879
|
+
schemaName: string;
|
|
1884
1880
|
evidence: {
|
|
1885
1881
|
success: boolean;
|
|
1886
1882
|
stdout: string;
|
|
@@ -1907,16 +1903,21 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1907
1903
|
} & {
|
|
1908
1904
|
[k: string]: unknown;
|
|
1909
1905
|
};
|
|
1910
|
-
changeName: string;
|
|
1911
|
-
schemaName: string;
|
|
1912
1906
|
changeDir: string;
|
|
1913
1907
|
instruction: string;
|
|
1914
1908
|
contextFiles: Record<string, string[]>;
|
|
1909
|
+
tasks: {
|
|
1910
|
+
id: string;
|
|
1911
|
+
done: boolean;
|
|
1912
|
+
description: string;
|
|
1913
|
+
}[];
|
|
1914
|
+
state: "ready" | "blocked" | "all_done";
|
|
1915
1915
|
progress: {
|
|
1916
1916
|
complete: number;
|
|
1917
1917
|
total: number;
|
|
1918
1918
|
remaining: number;
|
|
1919
1919
|
};
|
|
1920
|
+
context?: string | undefined;
|
|
1920
1921
|
references?: z.objectOutputType<{
|
|
1921
1922
|
store_id: z.ZodString;
|
|
1922
1923
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -1952,16 +1953,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1952
1953
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1953
1954
|
fetch: z.ZodOptional<z.ZodString>;
|
|
1954
1955
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1955
|
-
context?: string | undefined;
|
|
1956
1956
|
missingArtifacts?: string[] | undefined;
|
|
1957
1957
|
operationGuidance?: string[] | undefined;
|
|
1958
1958
|
}, {
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
id: string;
|
|
1962
|
-
done: boolean;
|
|
1963
|
-
description: string;
|
|
1964
|
-
}[];
|
|
1959
|
+
changeName: string;
|
|
1960
|
+
schemaName: string;
|
|
1965
1961
|
evidence: {
|
|
1966
1962
|
success: boolean;
|
|
1967
1963
|
stdout: string;
|
|
@@ -1988,16 +1984,21 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1988
1984
|
} & {
|
|
1989
1985
|
[k: string]: unknown;
|
|
1990
1986
|
};
|
|
1991
|
-
changeName: string;
|
|
1992
|
-
schemaName: string;
|
|
1993
1987
|
changeDir: string;
|
|
1994
1988
|
instruction: string;
|
|
1995
1989
|
contextFiles: Record<string, string | string[]>;
|
|
1990
|
+
tasks: {
|
|
1991
|
+
id: string;
|
|
1992
|
+
done: boolean;
|
|
1993
|
+
description: string;
|
|
1994
|
+
}[];
|
|
1995
|
+
state: "ready" | "blocked" | "all_done";
|
|
1996
1996
|
progress: {
|
|
1997
1997
|
complete: number;
|
|
1998
1998
|
total: number;
|
|
1999
1999
|
remaining: number;
|
|
2000
2000
|
};
|
|
2001
|
+
context?: string | undefined;
|
|
2001
2002
|
references?: z.objectInputType<{
|
|
2002
2003
|
store_id: z.ZodString;
|
|
2003
2004
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2033,17 +2034,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2033
2034
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2034
2035
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2035
2036
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2036
|
-
context?: string | undefined;
|
|
2037
2037
|
missingArtifacts?: string[] | undefined;
|
|
2038
2038
|
operationGuidance?: string[] | undefined;
|
|
2039
2039
|
}>, {
|
|
2040
2040
|
applyInstructionProgress: ApplyInstructionProgress;
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
id: string;
|
|
2044
|
-
done: boolean;
|
|
2045
|
-
description: string;
|
|
2046
|
-
}[];
|
|
2041
|
+
changeName: string;
|
|
2042
|
+
schemaName: string;
|
|
2047
2043
|
evidence: {
|
|
2048
2044
|
success: boolean;
|
|
2049
2045
|
stdout: string;
|
|
@@ -2070,11 +2066,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2070
2066
|
} & {
|
|
2071
2067
|
[k: string]: unknown;
|
|
2072
2068
|
};
|
|
2073
|
-
changeName: string;
|
|
2074
|
-
schemaName: string;
|
|
2075
2069
|
changeDir: string;
|
|
2076
2070
|
instruction: string;
|
|
2077
2071
|
contextFiles: Record<string, string[]>;
|
|
2072
|
+
tasks: {
|
|
2073
|
+
id: string;
|
|
2074
|
+
done: boolean;
|
|
2075
|
+
description: string;
|
|
2076
|
+
}[];
|
|
2077
|
+
state: "ready" | "blocked" | "all_done";
|
|
2078
|
+
context?: string | undefined;
|
|
2078
2079
|
references?: z.objectOutputType<{
|
|
2079
2080
|
store_id: z.ZodString;
|
|
2080
2081
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2110,16 +2111,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2110
2111
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2111
2112
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2112
2113
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2113
|
-
context?: string | undefined;
|
|
2114
2114
|
missingArtifacts?: string[] | undefined;
|
|
2115
2115
|
operationGuidance?: string[] | undefined;
|
|
2116
2116
|
}, {
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
id: string;
|
|
2120
|
-
done: boolean;
|
|
2121
|
-
description: string;
|
|
2122
|
-
}[];
|
|
2117
|
+
changeName: string;
|
|
2118
|
+
schemaName: string;
|
|
2123
2119
|
evidence: {
|
|
2124
2120
|
success: boolean;
|
|
2125
2121
|
stdout: string;
|
|
@@ -2146,16 +2142,21 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2146
2142
|
} & {
|
|
2147
2143
|
[k: string]: unknown;
|
|
2148
2144
|
};
|
|
2149
|
-
changeName: string;
|
|
2150
|
-
schemaName: string;
|
|
2151
2145
|
changeDir: string;
|
|
2152
2146
|
instruction: string;
|
|
2153
2147
|
contextFiles: Record<string, string | string[]>;
|
|
2148
|
+
tasks: {
|
|
2149
|
+
id: string;
|
|
2150
|
+
done: boolean;
|
|
2151
|
+
description: string;
|
|
2152
|
+
}[];
|
|
2153
|
+
state: "ready" | "blocked" | "all_done";
|
|
2154
2154
|
progress: {
|
|
2155
2155
|
complete: number;
|
|
2156
2156
|
total: number;
|
|
2157
2157
|
remaining: number;
|
|
2158
2158
|
};
|
|
2159
|
+
context?: string | undefined;
|
|
2159
2160
|
references?: z.objectInputType<{
|
|
2160
2161
|
store_id: z.ZodString;
|
|
2161
2162
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2191,7 +2192,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2191
2192
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2192
2193
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2193
2194
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2194
|
-
context?: string | undefined;
|
|
2195
2195
|
missingArtifacts?: string[] | undefined;
|
|
2196
2196
|
operationGuidance?: string[] | undefined;
|
|
2197
2197
|
}>, z.ZodObject<{
|
|
@@ -2493,95 +2493,91 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2493
2493
|
remaining: z.ZodNumber;
|
|
2494
2494
|
phase: z.ZodEnum<["no-tasks", "in-progress", "complete"]>;
|
|
2495
2495
|
}, "strip", z.ZodTypeAny, {
|
|
2496
|
-
completed: number;
|
|
2497
2496
|
total: number;
|
|
2498
2497
|
remaining: number;
|
|
2499
|
-
phase: "no-tasks" | "in-progress" | "complete";
|
|
2500
|
-
}, {
|
|
2501
2498
|
completed: number;
|
|
2499
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2500
|
+
}, {
|
|
2502
2501
|
total: number;
|
|
2503
2502
|
remaining: number;
|
|
2504
|
-
|
|
2503
|
+
completed: number;
|
|
2504
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2505
2505
|
}>;
|
|
2506
2506
|
}, "strip", z.ZodTypeAny, {
|
|
2507
|
-
message: string;
|
|
2508
2507
|
kind: "tracked-task-mismatch";
|
|
2508
|
+
message: string;
|
|
2509
2509
|
apply: {
|
|
2510
2510
|
complete: number;
|
|
2511
2511
|
total: number;
|
|
2512
2512
|
remaining: number;
|
|
2513
2513
|
};
|
|
2514
2514
|
tracked: {
|
|
2515
|
-
completed: number;
|
|
2516
2515
|
total: number;
|
|
2517
2516
|
remaining: number;
|
|
2518
|
-
|
|
2517
|
+
completed: number;
|
|
2518
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2519
2519
|
};
|
|
2520
2520
|
}, {
|
|
2521
|
-
message: string;
|
|
2522
2521
|
kind: "tracked-task-mismatch";
|
|
2522
|
+
message: string;
|
|
2523
2523
|
apply: {
|
|
2524
2524
|
complete: number;
|
|
2525
2525
|
total: number;
|
|
2526
2526
|
remaining: number;
|
|
2527
2527
|
};
|
|
2528
2528
|
tracked: {
|
|
2529
|
-
completed: number;
|
|
2530
2529
|
total: number;
|
|
2531
2530
|
remaining: number;
|
|
2532
|
-
|
|
2531
|
+
completed: number;
|
|
2532
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2533
2533
|
};
|
|
2534
2534
|
}>>;
|
|
2535
2535
|
}, "strip", z.ZodTypeAny, {
|
|
2536
|
-
|
|
2536
|
+
source: "openspec-instructions-apply";
|
|
2537
2537
|
complete: number;
|
|
2538
|
+
state: "ready" | "blocked" | "all_done";
|
|
2538
2539
|
total: number;
|
|
2539
2540
|
remaining: number;
|
|
2540
|
-
source: "openspec-instructions-apply";
|
|
2541
2541
|
divergence: {
|
|
2542
|
-
message: string;
|
|
2543
2542
|
kind: "tracked-task-mismatch";
|
|
2543
|
+
message: string;
|
|
2544
2544
|
apply: {
|
|
2545
2545
|
complete: number;
|
|
2546
2546
|
total: number;
|
|
2547
2547
|
remaining: number;
|
|
2548
2548
|
};
|
|
2549
2549
|
tracked: {
|
|
2550
|
-
completed: number;
|
|
2551
2550
|
total: number;
|
|
2552
2551
|
remaining: number;
|
|
2553
|
-
|
|
2552
|
+
completed: number;
|
|
2553
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2554
2554
|
};
|
|
2555
2555
|
} | null;
|
|
2556
2556
|
}, {
|
|
2557
|
-
|
|
2557
|
+
source: "openspec-instructions-apply";
|
|
2558
2558
|
complete: number;
|
|
2559
|
+
state: "ready" | "blocked" | "all_done";
|
|
2559
2560
|
total: number;
|
|
2560
2561
|
remaining: number;
|
|
2561
|
-
source: "openspec-instructions-apply";
|
|
2562
2562
|
divergence: {
|
|
2563
|
-
message: string;
|
|
2564
2563
|
kind: "tracked-task-mismatch";
|
|
2564
|
+
message: string;
|
|
2565
2565
|
apply: {
|
|
2566
2566
|
complete: number;
|
|
2567
2567
|
total: number;
|
|
2568
2568
|
remaining: number;
|
|
2569
2569
|
};
|
|
2570
2570
|
tracked: {
|
|
2571
|
-
completed: number;
|
|
2572
2571
|
total: number;
|
|
2573
2572
|
remaining: number;
|
|
2574
|
-
|
|
2573
|
+
completed: number;
|
|
2574
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2575
2575
|
};
|
|
2576
2576
|
} | null;
|
|
2577
2577
|
}>;
|
|
2578
2578
|
}, "strip", z.ZodTypeAny, {
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
id: string;
|
|
2582
|
-
done: boolean;
|
|
2583
|
-
description: string;
|
|
2584
|
-
}[];
|
|
2579
|
+
changeName: string;
|
|
2580
|
+
schemaName: string;
|
|
2585
2581
|
evidence: {
|
|
2586
2582
|
success: boolean;
|
|
2587
2583
|
stdout: string;
|
|
@@ -2608,33 +2604,38 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2608
2604
|
} & {
|
|
2609
2605
|
[k: string]: unknown;
|
|
2610
2606
|
};
|
|
2611
|
-
changeName: string;
|
|
2612
|
-
schemaName: string;
|
|
2613
2607
|
changeDir: string;
|
|
2614
2608
|
instruction: string;
|
|
2615
2609
|
contextFiles: Record<string, string[]>;
|
|
2610
|
+
tasks: {
|
|
2611
|
+
id: string;
|
|
2612
|
+
done: boolean;
|
|
2613
|
+
description: string;
|
|
2614
|
+
}[];
|
|
2615
|
+
state: "ready" | "blocked" | "all_done";
|
|
2616
2616
|
applyInstructionProgress: {
|
|
2617
|
-
|
|
2617
|
+
source: "openspec-instructions-apply";
|
|
2618
2618
|
complete: number;
|
|
2619
|
+
state: "ready" | "blocked" | "all_done";
|
|
2619
2620
|
total: number;
|
|
2620
2621
|
remaining: number;
|
|
2621
|
-
source: "openspec-instructions-apply";
|
|
2622
2622
|
divergence: {
|
|
2623
|
-
message: string;
|
|
2624
2623
|
kind: "tracked-task-mismatch";
|
|
2624
|
+
message: string;
|
|
2625
2625
|
apply: {
|
|
2626
2626
|
complete: number;
|
|
2627
2627
|
total: number;
|
|
2628
2628
|
remaining: number;
|
|
2629
2629
|
};
|
|
2630
2630
|
tracked: {
|
|
2631
|
-
completed: number;
|
|
2632
2631
|
total: number;
|
|
2633
2632
|
remaining: number;
|
|
2634
|
-
|
|
2633
|
+
completed: number;
|
|
2634
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2635
2635
|
};
|
|
2636
2636
|
} | null;
|
|
2637
2637
|
};
|
|
2638
|
+
context?: string | undefined;
|
|
2638
2639
|
references?: z.objectOutputType<{
|
|
2639
2640
|
store_id: z.ZodString;
|
|
2640
2641
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2670,16 +2671,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2670
2671
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2671
2672
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2672
2673
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2673
|
-
context?: string | undefined;
|
|
2674
2674
|
missingArtifacts?: string[] | undefined;
|
|
2675
2675
|
operationGuidance?: string[] | undefined;
|
|
2676
2676
|
}, {
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
id: string;
|
|
2680
|
-
done: boolean;
|
|
2681
|
-
description: string;
|
|
2682
|
-
}[];
|
|
2677
|
+
changeName: string;
|
|
2678
|
+
schemaName: string;
|
|
2683
2679
|
evidence: {
|
|
2684
2680
|
success: boolean;
|
|
2685
2681
|
stdout: string;
|
|
@@ -2706,33 +2702,38 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2706
2702
|
} & {
|
|
2707
2703
|
[k: string]: unknown;
|
|
2708
2704
|
};
|
|
2709
|
-
changeName: string;
|
|
2710
|
-
schemaName: string;
|
|
2711
2705
|
changeDir: string;
|
|
2712
2706
|
instruction: string;
|
|
2713
2707
|
contextFiles: Record<string, string | string[]>;
|
|
2708
|
+
tasks: {
|
|
2709
|
+
id: string;
|
|
2710
|
+
done: boolean;
|
|
2711
|
+
description: string;
|
|
2712
|
+
}[];
|
|
2713
|
+
state: "ready" | "blocked" | "all_done";
|
|
2714
2714
|
applyInstructionProgress: {
|
|
2715
|
-
|
|
2715
|
+
source: "openspec-instructions-apply";
|
|
2716
2716
|
complete: number;
|
|
2717
|
+
state: "ready" | "blocked" | "all_done";
|
|
2717
2718
|
total: number;
|
|
2718
2719
|
remaining: number;
|
|
2719
|
-
source: "openspec-instructions-apply";
|
|
2720
2720
|
divergence: {
|
|
2721
|
-
message: string;
|
|
2722
2721
|
kind: "tracked-task-mismatch";
|
|
2722
|
+
message: string;
|
|
2723
2723
|
apply: {
|
|
2724
2724
|
complete: number;
|
|
2725
2725
|
total: number;
|
|
2726
2726
|
remaining: number;
|
|
2727
2727
|
};
|
|
2728
2728
|
tracked: {
|
|
2729
|
-
completed: number;
|
|
2730
2729
|
total: number;
|
|
2731
2730
|
remaining: number;
|
|
2732
|
-
|
|
2731
|
+
completed: number;
|
|
2732
|
+
phase: "no-tasks" | "complete" | "in-progress";
|
|
2733
2733
|
};
|
|
2734
2734
|
} | null;
|
|
2735
2735
|
};
|
|
2736
|
+
context?: string | undefined;
|
|
2736
2737
|
references?: z.objectInputType<{
|
|
2737
2738
|
store_id: z.ZodString;
|
|
2738
2739
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2768,7 +2769,6 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2768
2769
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2769
2770
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2770
2771
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2771
|
-
context?: string | undefined;
|
|
2772
2772
|
missingArtifacts?: string[] | undefined;
|
|
2773
2773
|
operationGuidance?: string[] | undefined;
|
|
2774
2774
|
}>>;
|
|
@@ -2923,6 +2923,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2923
2923
|
command: z.ZodLiteral<"instructions archive">;
|
|
2924
2924
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2925
2925
|
}, "strip", z.ZodTypeAny, {
|
|
2926
|
+
changeName: string;
|
|
2926
2927
|
evidence: {
|
|
2927
2928
|
success: boolean;
|
|
2928
2929
|
stdout: string;
|
|
@@ -2949,10 +2950,10 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2949
2950
|
} & {
|
|
2950
2951
|
[k: string]: unknown;
|
|
2951
2952
|
};
|
|
2952
|
-
changeName: string;
|
|
2953
2953
|
context?: string | undefined;
|
|
2954
2954
|
operationGuidance?: string[] | undefined;
|
|
2955
2955
|
}, {
|
|
2956
|
+
changeName: string;
|
|
2956
2957
|
evidence: {
|
|
2957
2958
|
success: boolean;
|
|
2958
2959
|
stdout: string;
|
|
@@ -2979,7 +2980,6 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2979
2980
|
} & {
|
|
2980
2981
|
[k: string]: unknown;
|
|
2981
2982
|
};
|
|
2982
|
-
changeName: string;
|
|
2983
2983
|
context?: string | undefined;
|
|
2984
2984
|
operationGuidance?: string[] | undefined;
|
|
2985
2985
|
}>;
|
|
@@ -3264,7 +3264,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3264
3264
|
command: z.ZodLiteral<"instructions">;
|
|
3265
3265
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3266
3266
|
}, "strip", z.ZodTypeAny, {
|
|
3267
|
-
|
|
3267
|
+
changeName: string;
|
|
3268
|
+
schemaName: string;
|
|
3268
3269
|
outputPath: string;
|
|
3269
3270
|
evidence: {
|
|
3270
3271
|
success: boolean;
|
|
@@ -3292,8 +3293,7 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3292
3293
|
} & {
|
|
3293
3294
|
[k: string]: unknown;
|
|
3294
3295
|
};
|
|
3295
|
-
|
|
3296
|
-
schemaName: string;
|
|
3296
|
+
artifactId: string;
|
|
3297
3297
|
changeDir: string;
|
|
3298
3298
|
description: string;
|
|
3299
3299
|
template: string;
|
|
@@ -3305,6 +3305,9 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3305
3305
|
skipped?: boolean | undefined;
|
|
3306
3306
|
}[];
|
|
3307
3307
|
unlocks: string[];
|
|
3308
|
+
instruction?: string | null | undefined;
|
|
3309
|
+
context?: string | null | undefined;
|
|
3310
|
+
rules?: string[] | null | undefined;
|
|
3308
3311
|
references?: z.objectOutputType<{
|
|
3309
3312
|
store_id: z.ZodString;
|
|
3310
3313
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -3340,11 +3343,9 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3340
3343
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
3341
3344
|
fetch: z.ZodOptional<z.ZodString>;
|
|
3342
3345
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
3343
|
-
context?: string | null | undefined;
|
|
3344
|
-
instruction?: string | null | undefined;
|
|
3345
|
-
rules?: string[] | null | undefined;
|
|
3346
3346
|
}, {
|
|
3347
|
-
|
|
3347
|
+
changeName: string;
|
|
3348
|
+
schemaName: string;
|
|
3348
3349
|
outputPath: string;
|
|
3349
3350
|
evidence: {
|
|
3350
3351
|
success: boolean;
|
|
@@ -3372,8 +3373,7 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3372
3373
|
} & {
|
|
3373
3374
|
[k: string]: unknown;
|
|
3374
3375
|
};
|
|
3375
|
-
|
|
3376
|
-
schemaName: string;
|
|
3376
|
+
artifactId: string;
|
|
3377
3377
|
changeDir: string;
|
|
3378
3378
|
description: string;
|
|
3379
3379
|
template: string;
|
|
@@ -3385,6 +3385,9 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3385
3385
|
skipped?: boolean | undefined;
|
|
3386
3386
|
}[];
|
|
3387
3387
|
unlocks: string[];
|
|
3388
|
+
instruction?: string | null | undefined;
|
|
3389
|
+
context?: string | null | undefined;
|
|
3390
|
+
rules?: string[] | null | undefined;
|
|
3388
3391
|
references?: z.objectInputType<{
|
|
3389
3392
|
store_id: z.ZodString;
|
|
3390
3393
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -3420,9 +3423,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3420
3423
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
3421
3424
|
fetch: z.ZodOptional<z.ZodString>;
|
|
3422
3425
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
3423
|
-
context?: string | null | undefined;
|
|
3424
|
-
instruction?: string | null | undefined;
|
|
3425
|
-
rules?: string[] | null | undefined;
|
|
3426
3426
|
}>;
|
|
3427
3427
|
type ArtifactInstructions = z.infer<typeof ArtifactInstructionsSchema>;
|
|
3428
3428
|
/** CLI-owned Schema list item projected by OPSX. */
|
|
@@ -3583,7 +3583,6 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
3583
3583
|
applyTracks: z.ZodOptional<z.ZodString>;
|
|
3584
3584
|
applyInstruction: z.ZodOptional<z.ZodString>;
|
|
3585
3585
|
}, "strip", z.ZodTypeAny, {
|
|
3586
|
-
name: string;
|
|
3587
3586
|
applyRequires: string[];
|
|
3588
3587
|
artifacts: {
|
|
3589
3588
|
id: string;
|
|
@@ -3593,12 +3592,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
3593
3592
|
instruction?: string | undefined;
|
|
3594
3593
|
template?: string | undefined;
|
|
3595
3594
|
}[];
|
|
3596
|
-
|
|
3595
|
+
name: string;
|
|
3597
3596
|
description?: string | undefined;
|
|
3597
|
+
version?: string | number | undefined;
|
|
3598
3598
|
applyTracks?: string | undefined;
|
|
3599
3599
|
applyInstruction?: string | undefined;
|
|
3600
3600
|
}, {
|
|
3601
|
-
name: string;
|
|
3602
3601
|
applyRequires: string[];
|
|
3603
3602
|
artifacts: {
|
|
3604
3603
|
id: string;
|
|
@@ -3608,8 +3607,9 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
3608
3607
|
instruction?: string | undefined;
|
|
3609
3608
|
template?: string | undefined;
|
|
3610
3609
|
}[];
|
|
3611
|
-
|
|
3610
|
+
name: string;
|
|
3612
3611
|
description?: string | undefined;
|
|
3612
|
+
version?: string | number | undefined;
|
|
3613
3613
|
applyTracks?: string | undefined;
|
|
3614
3614
|
applyInstruction?: string | undefined;
|
|
3615
3615
|
}>;
|
|
@@ -3662,7 +3662,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3662
3662
|
applyTracks: z.ZodOptional<z.ZodString>;
|
|
3663
3663
|
applyInstruction: z.ZodOptional<z.ZodString>;
|
|
3664
3664
|
}, "strip", z.ZodTypeAny, {
|
|
3665
|
-
name: string;
|
|
3666
3665
|
applyRequires: string[];
|
|
3667
3666
|
artifacts: {
|
|
3668
3667
|
id: string;
|
|
@@ -3672,12 +3671,12 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3672
3671
|
instruction?: string | undefined;
|
|
3673
3672
|
template?: string | undefined;
|
|
3674
3673
|
}[];
|
|
3675
|
-
|
|
3674
|
+
name: string;
|
|
3676
3675
|
description?: string | undefined;
|
|
3676
|
+
version?: string | number | undefined;
|
|
3677
3677
|
applyTracks?: string | undefined;
|
|
3678
3678
|
applyInstruction?: string | undefined;
|
|
3679
3679
|
}, {
|
|
3680
|
-
name: string;
|
|
3681
3680
|
applyRequires: string[];
|
|
3682
3681
|
artifacts: {
|
|
3683
3682
|
id: string;
|
|
@@ -3687,8 +3686,9 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3687
3686
|
instruction?: string | undefined;
|
|
3688
3687
|
template?: string | undefined;
|
|
3689
3688
|
}[];
|
|
3690
|
-
|
|
3689
|
+
name: string;
|
|
3691
3690
|
description?: string | undefined;
|
|
3691
|
+
version?: string | number | undefined;
|
|
3692
3692
|
applyTracks?: string | undefined;
|
|
3693
3693
|
applyInstruction?: string | undefined;
|
|
3694
3694
|
}>>>;
|
|
@@ -3767,7 +3767,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3767
3767
|
source: z.ZodEnum<["project", "user", "package"]>;
|
|
3768
3768
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3769
3769
|
schemaDetails: Record<string, {
|
|
3770
|
-
name: string;
|
|
3771
3770
|
applyRequires: string[];
|
|
3772
3771
|
artifacts: {
|
|
3773
3772
|
id: string;
|
|
@@ -3777,8 +3776,9 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3777
3776
|
instruction?: string | undefined;
|
|
3778
3777
|
template?: string | undefined;
|
|
3779
3778
|
}[];
|
|
3780
|
-
|
|
3779
|
+
name: string;
|
|
3781
3780
|
description?: string | undefined;
|
|
3781
|
+
version?: string | number | undefined;
|
|
3782
3782
|
applyTracks?: string | undefined;
|
|
3783
3783
|
applyInstruction?: string | undefined;
|
|
3784
3784
|
} | null>;
|
|
@@ -3813,7 +3813,6 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3813
3813
|
source: z.ZodEnum<["project", "user", "package"]>;
|
|
3814
3814
|
}, z.ZodTypeAny, "passthrough">[];
|
|
3815
3815
|
schemaDetails: Record<string, {
|
|
3816
|
-
name: string;
|
|
3817
3816
|
applyRequires: string[];
|
|
3818
3817
|
artifacts: {
|
|
3819
3818
|
id: string;
|
|
@@ -3823,8 +3822,9 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3823
3822
|
instruction?: string | undefined;
|
|
3824
3823
|
template?: string | undefined;
|
|
3825
3824
|
}[];
|
|
3826
|
-
|
|
3825
|
+
name: string;
|
|
3827
3826
|
description?: string | undefined;
|
|
3827
|
+
version?: string | number | undefined;
|
|
3828
3828
|
applyTracks?: string | undefined;
|
|
3829
3829
|
applyInstruction?: string | undefined;
|
|
3830
3830
|
} | null>;
|