@openspecui/core 11.0.0 → 11.1.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-B-ZjoeVr.d.mts → active-root-config-CsFtntHf.d.mts} +17 -17
- package/dist/active-root-config.d.mts +4 -4
- package/dist/app-daemon-control.d.mts +10 -10
- package/dist/{cli-projection-CpEtZ-tN.d.mts → cli-projection-Dd5Gdqa2.d.mts} +17 -17
- package/dist/cli-projection.d.mts +4 -4
- package/dist/{dashboard-summary-transport-Cv-UaYcc.d.mts → dashboard-summary-transport-wRH7oVWM.d.mts} +4831 -4831
- package/dist/dashboard-summary-transport.d.mts +16 -16
- package/dist/{document-translation-CGMD0RLA.d.mts → document-translation-OvsFNs-H.d.mts} +102 -102
- package/dist/document-translation.d.mts +1 -1
- package/dist/hosted-app.d.mts +16 -16
- package/dist/hosted-contract.d.mts +16 -16
- package/dist/{index-BXSLb96t.d.mts → index-jbHV-sxg.d.mts} +54 -54
- package/dist/index.d.mts +16 -16
- package/dist/{local-download-profiles-C9LmIa9_.d.mts → local-download-profiles-DXNExauZ.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-C_Dvqaej.d.mts → notifications-B8Ael_hq.d.mts} +7 -7
- package/dist/notifications.d.mts +1 -1
- package/dist/openspec-compat.d.mts +3 -3
- package/dist/{openspec-projection-DTu73p25.d.mts → openspec-projection-xOnjhQ7v.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-Cq5yqzjd.d.mts → opsx-entity-Dc4XotlR.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +6 -6
- package/dist/{opsx-schema-detail-DwKh5cRx.d.mts → opsx-schema-detail-BJ6wzYhq.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +7 -7
- package/dist/{opsx-types-Dxq7Yyjz.d.mts → opsx-types-CnZ4dsxb.d.mts} +255 -255
- package/dist/planning-cli-projection.d.mts +16 -16
- package/dist/{schemas-7hc46y5c.d.mts → schemas-pfpqDlAd.d.mts} +206 -206
- package/dist/spec-catalog.d.mts +16 -16
- package/dist/{store-mutation-protocol-BriXl_0I.d.mts → store-mutation-protocol-DXeWtAvN.d.mts} +24 -24
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-C4d1cqYC.d.mts → store-types-BLW7QE7W.d.mts} +1 -1
- package/dist/store-types.d.mts +4 -4
- package/dist/task-progress.d.mts +5 -5
- package/dist/terminal-control.d.mts +1 -1
- package/dist/{terminal-invocation-B2F24Dw6.d.mts → terminal-invocation-DROo1wu_.d.mts} +118 -118
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-CLbxLmcj.d.mts → translator-C5z6a5C4.d.mts} +235 -235
- package/dist/translator.d.mts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { vt as CliJsonValue } from "./index-
|
|
2
|
-
import { n as ChangeFile, v as Task } from "./schemas-
|
|
1
|
+
import { vt as CliJsonValue } from "./index-jbHV-sxg.mjs";
|
|
2
|
+
import { n as ChangeFile, v as Task } from "./schemas-pfpqDlAd.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[];
|
|
@@ -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: "ready" | "done" | "skipped" | "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: "ready" | "done" | "skipped" | "blocked";
|
|
446
446
|
id: string;
|
|
447
447
|
outputPath: string;
|
|
448
448
|
requires: string[];
|
|
@@ -692,6 +692,32 @@ 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
|
+
};
|
|
695
721
|
planningHome: {
|
|
696
722
|
kind: "repo";
|
|
697
723
|
root: string;
|
|
@@ -720,13 +746,22 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
720
746
|
} & {
|
|
721
747
|
[k: string]: unknown;
|
|
722
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
|
+
};
|
|
723
758
|
evidence: {
|
|
724
759
|
success: boolean;
|
|
725
760
|
stdout: string;
|
|
726
761
|
stderr: string;
|
|
727
762
|
exitCode: number | null;
|
|
728
763
|
payload: CliJsonValue;
|
|
729
|
-
diagnostics: z.
|
|
764
|
+
diagnostics: z.objectInputType<{
|
|
730
765
|
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
731
766
|
code: z.ZodString;
|
|
732
767
|
message: z.ZodString;
|
|
@@ -738,7 +773,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
738
773
|
store?: string | undefined;
|
|
739
774
|
};
|
|
740
775
|
contractError?: string | undefined;
|
|
741
|
-
root?: z.
|
|
776
|
+
root?: z.objectInputType<{
|
|
742
777
|
path: z.ZodString;
|
|
743
778
|
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
744
779
|
store_id: z.ZodOptional<z.ZodString>;
|
|
@@ -746,15 +781,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
746
781
|
} & {
|
|
747
782
|
[k: string]: unknown;
|
|
748
783
|
};
|
|
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
784
|
planningHome: {
|
|
759
785
|
kind: "repo";
|
|
760
786
|
root: string;
|
|
@@ -783,32 +809,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
783
809
|
} & {
|
|
784
810
|
[k: string]: unknown;
|
|
785
811
|
};
|
|
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: "ready" | "done" | "skipped" | "blocked";
|
|
826
826
|
id: string;
|
|
827
827
|
outputPath: string;
|
|
828
828
|
requires: string[];
|
|
@@ -838,6 +838,32 @@ 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
|
+
};
|
|
841
867
|
planningHome: {
|
|
842
868
|
kind: "repo";
|
|
843
869
|
root: string;
|
|
@@ -866,32 +892,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
866
892
|
} & {
|
|
867
893
|
[k: string]: unknown;
|
|
868
894
|
};
|
|
869
|
-
evidence: {
|
|
870
|
-
success: boolean;
|
|
871
|
-
stdout: string;
|
|
872
|
-
stderr: string;
|
|
873
|
-
exitCode: number | null;
|
|
874
|
-
payload: CliJsonValue;
|
|
875
|
-
diagnostics: z.objectOutputType<{
|
|
876
|
-
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
877
|
-
code: z.ZodString;
|
|
878
|
-
message: z.ZodString;
|
|
879
|
-
target: z.ZodOptional<z.ZodString>;
|
|
880
|
-
fix: z.ZodOptional<z.ZodString>;
|
|
881
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
882
|
-
command: "status";
|
|
883
|
-
selector: {
|
|
884
|
-
store?: string | undefined;
|
|
885
|
-
};
|
|
886
|
-
contractError?: string | undefined;
|
|
887
|
-
root?: z.objectOutputType<{
|
|
888
|
-
path: z.ZodString;
|
|
889
|
-
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
890
|
-
store_id: z.ZodOptional<z.ZodString>;
|
|
891
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
892
|
-
} & {
|
|
893
|
-
[k: string]: unknown;
|
|
894
|
-
};
|
|
895
895
|
} | {
|
|
896
896
|
kind: "static";
|
|
897
897
|
};
|
|
@@ -901,7 +901,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
901
901
|
isPlanningComplete: boolean;
|
|
902
902
|
applyRequires: string[];
|
|
903
903
|
artifacts: {
|
|
904
|
-
status: "
|
|
904
|
+
status: "ready" | "done" | "skipped" | "blocked";
|
|
905
905
|
id: string;
|
|
906
906
|
outputPath: string;
|
|
907
907
|
requires: string[];
|
|
@@ -917,6 +917,32 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
917
917
|
} & {
|
|
918
918
|
[k: string]: unknown;
|
|
919
919
|
};
|
|
920
|
+
evidence: {
|
|
921
|
+
success: boolean;
|
|
922
|
+
stdout: string;
|
|
923
|
+
stderr: string;
|
|
924
|
+
exitCode: number | null;
|
|
925
|
+
payload: CliJsonValue;
|
|
926
|
+
diagnostics: z.objectInputType<{
|
|
927
|
+
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
928
|
+
code: z.ZodString;
|
|
929
|
+
message: z.ZodString;
|
|
930
|
+
target: z.ZodOptional<z.ZodString>;
|
|
931
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
932
|
+
}, z.ZodTypeAny, "passthrough">[];
|
|
933
|
+
command: "status";
|
|
934
|
+
selector: {
|
|
935
|
+
store?: string | undefined;
|
|
936
|
+
};
|
|
937
|
+
contractError?: string | undefined;
|
|
938
|
+
root?: z.objectInputType<{
|
|
939
|
+
path: z.ZodString;
|
|
940
|
+
source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
|
|
941
|
+
store_id: z.ZodOptional<z.ZodString>;
|
|
942
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
943
|
+
} & {
|
|
944
|
+
[k: string]: unknown;
|
|
945
|
+
};
|
|
920
946
|
planningHome: {
|
|
921
947
|
kind: "repo";
|
|
922
948
|
root: string;
|
|
@@ -945,32 +971,6 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
945
971
|
} & {
|
|
946
972
|
[k: string]: unknown;
|
|
947
973
|
};
|
|
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,91 +1311,95 @@ 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;
|
|
1314
1315
|
total: number;
|
|
1315
1316
|
remaining: number;
|
|
1316
|
-
|
|
1317
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
1317
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
1318
1318
|
}, {
|
|
1319
|
+
completed: number;
|
|
1319
1320
|
total: number;
|
|
1320
1321
|
remaining: number;
|
|
1321
|
-
|
|
1322
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
1322
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
1323
1323
|
}>;
|
|
1324
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1325
|
-
kind: "tracked-task-mismatch";
|
|
1326
1325
|
message: string;
|
|
1326
|
+
kind: "tracked-task-mismatch";
|
|
1327
1327
|
apply: {
|
|
1328
1328
|
complete: number;
|
|
1329
1329
|
total: number;
|
|
1330
1330
|
remaining: number;
|
|
1331
1331
|
};
|
|
1332
1332
|
tracked: {
|
|
1333
|
+
completed: number;
|
|
1333
1334
|
total: number;
|
|
1334
1335
|
remaining: number;
|
|
1335
|
-
|
|
1336
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
1336
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
1337
1337
|
};
|
|
1338
1338
|
}, {
|
|
1339
|
-
kind: "tracked-task-mismatch";
|
|
1340
1339
|
message: string;
|
|
1340
|
+
kind: "tracked-task-mismatch";
|
|
1341
1341
|
apply: {
|
|
1342
1342
|
complete: number;
|
|
1343
1343
|
total: number;
|
|
1344
1344
|
remaining: number;
|
|
1345
1345
|
};
|
|
1346
1346
|
tracked: {
|
|
1347
|
+
completed: number;
|
|
1347
1348
|
total: number;
|
|
1348
1349
|
remaining: number;
|
|
1349
|
-
|
|
1350
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
1350
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
1351
1351
|
};
|
|
1352
1352
|
}>>;
|
|
1353
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1354
|
-
source: "openspec-instructions-apply";
|
|
1355
|
-
complete: number;
|
|
1356
1354
|
state: "ready" | "blocked" | "all_done";
|
|
1355
|
+
complete: number;
|
|
1357
1356
|
total: number;
|
|
1358
1357
|
remaining: number;
|
|
1358
|
+
source: "openspec-instructions-apply";
|
|
1359
1359
|
divergence: {
|
|
1360
|
-
kind: "tracked-task-mismatch";
|
|
1361
1360
|
message: string;
|
|
1361
|
+
kind: "tracked-task-mismatch";
|
|
1362
1362
|
apply: {
|
|
1363
1363
|
complete: number;
|
|
1364
1364
|
total: number;
|
|
1365
1365
|
remaining: number;
|
|
1366
1366
|
};
|
|
1367
1367
|
tracked: {
|
|
1368
|
+
completed: number;
|
|
1368
1369
|
total: number;
|
|
1369
1370
|
remaining: number;
|
|
1370
|
-
|
|
1371
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
1371
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
1372
1372
|
};
|
|
1373
1373
|
} | null;
|
|
1374
1374
|
}, {
|
|
1375
|
-
source: "openspec-instructions-apply";
|
|
1376
|
-
complete: number;
|
|
1377
1375
|
state: "ready" | "blocked" | "all_done";
|
|
1376
|
+
complete: number;
|
|
1378
1377
|
total: number;
|
|
1379
1378
|
remaining: number;
|
|
1379
|
+
source: "openspec-instructions-apply";
|
|
1380
1380
|
divergence: {
|
|
1381
|
-
kind: "tracked-task-mismatch";
|
|
1382
1381
|
message: string;
|
|
1382
|
+
kind: "tracked-task-mismatch";
|
|
1383
1383
|
apply: {
|
|
1384
1384
|
complete: number;
|
|
1385
1385
|
total: number;
|
|
1386
1386
|
remaining: number;
|
|
1387
1387
|
};
|
|
1388
1388
|
tracked: {
|
|
1389
|
+
completed: number;
|
|
1389
1390
|
total: number;
|
|
1390
1391
|
remaining: number;
|
|
1391
|
-
|
|
1392
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
1392
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
1393
1393
|
};
|
|
1394
1394
|
} | null;
|
|
1395
1395
|
}>;
|
|
1396
1396
|
}, "strip", z.ZodTypeAny, {
|
|
1397
|
-
|
|
1398
|
-
|
|
1397
|
+
state: "ready" | "blocked" | "all_done";
|
|
1398
|
+
tasks: {
|
|
1399
|
+
id: string;
|
|
1400
|
+
done: boolean;
|
|
1401
|
+
description: string;
|
|
1402
|
+
}[];
|
|
1399
1403
|
evidence: {
|
|
1400
1404
|
success: boolean;
|
|
1401
1405
|
stdout: string;
|
|
@@ -1422,38 +1426,33 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1422
1426
|
} & {
|
|
1423
1427
|
[k: string]: unknown;
|
|
1424
1428
|
};
|
|
1429
|
+
changeName: string;
|
|
1430
|
+
schemaName: string;
|
|
1425
1431
|
changeDir: string;
|
|
1426
1432
|
instruction: string;
|
|
1427
1433
|
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
|
-
source: "openspec-instructions-apply";
|
|
1436
|
-
complete: number;
|
|
1437
1435
|
state: "ready" | "blocked" | "all_done";
|
|
1436
|
+
complete: number;
|
|
1438
1437
|
total: number;
|
|
1439
1438
|
remaining: number;
|
|
1439
|
+
source: "openspec-instructions-apply";
|
|
1440
1440
|
divergence: {
|
|
1441
|
-
kind: "tracked-task-mismatch";
|
|
1442
1441
|
message: string;
|
|
1442
|
+
kind: "tracked-task-mismatch";
|
|
1443
1443
|
apply: {
|
|
1444
1444
|
complete: number;
|
|
1445
1445
|
total: number;
|
|
1446
1446
|
remaining: number;
|
|
1447
1447
|
};
|
|
1448
1448
|
tracked: {
|
|
1449
|
+
completed: number;
|
|
1449
1450
|
total: number;
|
|
1450
1451
|
remaining: number;
|
|
1451
|
-
|
|
1452
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
1452
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
1453
1453
|
};
|
|
1454
1454
|
} | null;
|
|
1455
1455
|
};
|
|
1456
|
-
context?: string | undefined;
|
|
1457
1456
|
references?: z.objectOutputType<{
|
|
1458
1457
|
store_id: z.ZodString;
|
|
1459
1458
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -1489,11 +1488,16 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1489
1488
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1490
1489
|
fetch: z.ZodOptional<z.ZodString>;
|
|
1491
1490
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1491
|
+
context?: string | undefined;
|
|
1492
1492
|
missingArtifacts?: string[] | undefined;
|
|
1493
1493
|
operationGuidance?: string[] | undefined;
|
|
1494
1494
|
}, {
|
|
1495
|
-
|
|
1496
|
-
|
|
1495
|
+
state: "ready" | "blocked" | "all_done";
|
|
1496
|
+
tasks: {
|
|
1497
|
+
id: string;
|
|
1498
|
+
done: boolean;
|
|
1499
|
+
description: string;
|
|
1500
|
+
}[];
|
|
1497
1501
|
evidence: {
|
|
1498
1502
|
success: boolean;
|
|
1499
1503
|
stdout: string;
|
|
@@ -1520,38 +1524,33 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1520
1524
|
} & {
|
|
1521
1525
|
[k: string]: unknown;
|
|
1522
1526
|
};
|
|
1527
|
+
changeName: string;
|
|
1528
|
+
schemaName: string;
|
|
1523
1529
|
changeDir: string;
|
|
1524
1530
|
instruction: string;
|
|
1525
1531
|
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
|
-
source: "openspec-instructions-apply";
|
|
1534
|
-
complete: number;
|
|
1535
1533
|
state: "ready" | "blocked" | "all_done";
|
|
1534
|
+
complete: number;
|
|
1536
1535
|
total: number;
|
|
1537
1536
|
remaining: number;
|
|
1537
|
+
source: "openspec-instructions-apply";
|
|
1538
1538
|
divergence: {
|
|
1539
|
-
kind: "tracked-task-mismatch";
|
|
1540
1539
|
message: string;
|
|
1540
|
+
kind: "tracked-task-mismatch";
|
|
1541
1541
|
apply: {
|
|
1542
1542
|
complete: number;
|
|
1543
1543
|
total: number;
|
|
1544
1544
|
remaining: number;
|
|
1545
1545
|
};
|
|
1546
1546
|
tracked: {
|
|
1547
|
+
completed: number;
|
|
1547
1548
|
total: number;
|
|
1548
1549
|
remaining: number;
|
|
1549
|
-
|
|
1550
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
1550
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
1551
1551
|
};
|
|
1552
1552
|
} | null;
|
|
1553
1553
|
};
|
|
1554
|
-
context?: string | undefined;
|
|
1555
1554
|
references?: z.objectInputType<{
|
|
1556
1555
|
store_id: z.ZodString;
|
|
1557
1556
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -1587,6 +1586,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
|
|
|
1587
1586
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1588
1587
|
fetch: z.ZodOptional<z.ZodString>;
|
|
1589
1588
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1589
|
+
context?: string | undefined;
|
|
1590
1590
|
missingArtifacts?: string[] | undefined;
|
|
1591
1591
|
operationGuidance?: string[] | undefined;
|
|
1592
1592
|
}>;
|
|
@@ -1875,8 +1875,12 @@ 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
|
-
|
|
1878
|
+
state: "ready" | "blocked" | "all_done";
|
|
1879
|
+
tasks: {
|
|
1880
|
+
id: string;
|
|
1881
|
+
done: boolean;
|
|
1882
|
+
description: string;
|
|
1883
|
+
}[];
|
|
1880
1884
|
evidence: {
|
|
1881
1885
|
success: boolean;
|
|
1882
1886
|
stdout: string;
|
|
@@ -1903,21 +1907,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1903
1907
|
} & {
|
|
1904
1908
|
[k: string]: unknown;
|
|
1905
1909
|
};
|
|
1910
|
+
changeName: string;
|
|
1911
|
+
schemaName: string;
|
|
1906
1912
|
changeDir: string;
|
|
1907
1913
|
instruction: string;
|
|
1908
1914
|
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;
|
|
1921
1920
|
references?: z.objectOutputType<{
|
|
1922
1921
|
store_id: z.ZodString;
|
|
1923
1922
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -1953,11 +1952,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1953
1952
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1954
1953
|
fetch: z.ZodOptional<z.ZodString>;
|
|
1955
1954
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1955
|
+
context?: string | undefined;
|
|
1956
1956
|
missingArtifacts?: string[] | undefined;
|
|
1957
1957
|
operationGuidance?: string[] | undefined;
|
|
1958
1958
|
}, {
|
|
1959
|
-
|
|
1960
|
-
|
|
1959
|
+
state: "ready" | "blocked" | "all_done";
|
|
1960
|
+
tasks: {
|
|
1961
|
+
id: string;
|
|
1962
|
+
done: boolean;
|
|
1963
|
+
description: string;
|
|
1964
|
+
}[];
|
|
1961
1965
|
evidence: {
|
|
1962
1966
|
success: boolean;
|
|
1963
1967
|
stdout: string;
|
|
@@ -1984,21 +1988,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
1984
1988
|
} & {
|
|
1985
1989
|
[k: string]: unknown;
|
|
1986
1990
|
};
|
|
1991
|
+
changeName: string;
|
|
1992
|
+
schemaName: string;
|
|
1987
1993
|
changeDir: string;
|
|
1988
1994
|
instruction: string;
|
|
1989
1995
|
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;
|
|
2002
2001
|
references?: z.objectInputType<{
|
|
2003
2002
|
store_id: z.ZodString;
|
|
2004
2003
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2034,12 +2033,17 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2034
2033
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2035
2034
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2036
2035
|
}, 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
|
-
|
|
2041
|
+
state: "ready" | "blocked" | "all_done";
|
|
2042
|
+
tasks: {
|
|
2043
|
+
id: string;
|
|
2044
|
+
done: boolean;
|
|
2045
|
+
description: string;
|
|
2046
|
+
}[];
|
|
2043
2047
|
evidence: {
|
|
2044
2048
|
success: boolean;
|
|
2045
2049
|
stdout: string;
|
|
@@ -2066,16 +2070,11 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2066
2070
|
} & {
|
|
2067
2071
|
[k: string]: unknown;
|
|
2068
2072
|
};
|
|
2073
|
+
changeName: string;
|
|
2074
|
+
schemaName: string;
|
|
2069
2075
|
changeDir: string;
|
|
2070
2076
|
instruction: string;
|
|
2071
2077
|
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;
|
|
2079
2078
|
references?: z.objectOutputType<{
|
|
2080
2079
|
store_id: z.ZodString;
|
|
2081
2080
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2111,11 +2110,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2111
2110
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2112
2111
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2113
2112
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2113
|
+
context?: string | undefined;
|
|
2114
2114
|
missingArtifacts?: string[] | undefined;
|
|
2115
2115
|
operationGuidance?: string[] | undefined;
|
|
2116
2116
|
}, {
|
|
2117
|
-
|
|
2118
|
-
|
|
2117
|
+
state: "ready" | "blocked" | "all_done";
|
|
2118
|
+
tasks: {
|
|
2119
|
+
id: string;
|
|
2120
|
+
done: boolean;
|
|
2121
|
+
description: string;
|
|
2122
|
+
}[];
|
|
2119
2123
|
evidence: {
|
|
2120
2124
|
success: boolean;
|
|
2121
2125
|
stdout: string;
|
|
@@ -2142,21 +2146,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2142
2146
|
} & {
|
|
2143
2147
|
[k: string]: unknown;
|
|
2144
2148
|
};
|
|
2149
|
+
changeName: string;
|
|
2150
|
+
schemaName: string;
|
|
2145
2151
|
changeDir: string;
|
|
2146
2152
|
instruction: string;
|
|
2147
2153
|
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;
|
|
2160
2159
|
references?: z.objectInputType<{
|
|
2161
2160
|
store_id: z.ZodString;
|
|
2162
2161
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2192,6 +2191,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2192
2191
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2193
2192
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2194
2193
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2194
|
+
context?: string | undefined;
|
|
2195
2195
|
missingArtifacts?: string[] | undefined;
|
|
2196
2196
|
operationGuidance?: string[] | undefined;
|
|
2197
2197
|
}>, z.ZodObject<{
|
|
@@ -2493,91 +2493,95 @@ 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;
|
|
2496
2497
|
total: number;
|
|
2497
2498
|
remaining: number;
|
|
2498
|
-
|
|
2499
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
2499
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
2500
2500
|
}, {
|
|
2501
|
+
completed: number;
|
|
2501
2502
|
total: number;
|
|
2502
2503
|
remaining: number;
|
|
2503
|
-
|
|
2504
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
2504
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
2505
2505
|
}>;
|
|
2506
2506
|
}, "strip", z.ZodTypeAny, {
|
|
2507
|
-
kind: "tracked-task-mismatch";
|
|
2508
2507
|
message: string;
|
|
2508
|
+
kind: "tracked-task-mismatch";
|
|
2509
2509
|
apply: {
|
|
2510
2510
|
complete: number;
|
|
2511
2511
|
total: number;
|
|
2512
2512
|
remaining: number;
|
|
2513
2513
|
};
|
|
2514
2514
|
tracked: {
|
|
2515
|
+
completed: number;
|
|
2515
2516
|
total: number;
|
|
2516
2517
|
remaining: number;
|
|
2517
|
-
|
|
2518
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
2518
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
2519
2519
|
};
|
|
2520
2520
|
}, {
|
|
2521
|
-
kind: "tracked-task-mismatch";
|
|
2522
2521
|
message: string;
|
|
2522
|
+
kind: "tracked-task-mismatch";
|
|
2523
2523
|
apply: {
|
|
2524
2524
|
complete: number;
|
|
2525
2525
|
total: number;
|
|
2526
2526
|
remaining: number;
|
|
2527
2527
|
};
|
|
2528
2528
|
tracked: {
|
|
2529
|
+
completed: number;
|
|
2529
2530
|
total: number;
|
|
2530
2531
|
remaining: number;
|
|
2531
|
-
|
|
2532
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
2532
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
2533
2533
|
};
|
|
2534
2534
|
}>>;
|
|
2535
2535
|
}, "strip", z.ZodTypeAny, {
|
|
2536
|
-
source: "openspec-instructions-apply";
|
|
2537
|
-
complete: number;
|
|
2538
2536
|
state: "ready" | "blocked" | "all_done";
|
|
2537
|
+
complete: number;
|
|
2539
2538
|
total: number;
|
|
2540
2539
|
remaining: number;
|
|
2540
|
+
source: "openspec-instructions-apply";
|
|
2541
2541
|
divergence: {
|
|
2542
|
-
kind: "tracked-task-mismatch";
|
|
2543
2542
|
message: string;
|
|
2543
|
+
kind: "tracked-task-mismatch";
|
|
2544
2544
|
apply: {
|
|
2545
2545
|
complete: number;
|
|
2546
2546
|
total: number;
|
|
2547
2547
|
remaining: number;
|
|
2548
2548
|
};
|
|
2549
2549
|
tracked: {
|
|
2550
|
+
completed: number;
|
|
2550
2551
|
total: number;
|
|
2551
2552
|
remaining: number;
|
|
2552
|
-
|
|
2553
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
2553
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
2554
2554
|
};
|
|
2555
2555
|
} | null;
|
|
2556
2556
|
}, {
|
|
2557
|
-
source: "openspec-instructions-apply";
|
|
2558
|
-
complete: number;
|
|
2559
2557
|
state: "ready" | "blocked" | "all_done";
|
|
2558
|
+
complete: number;
|
|
2560
2559
|
total: number;
|
|
2561
2560
|
remaining: number;
|
|
2561
|
+
source: "openspec-instructions-apply";
|
|
2562
2562
|
divergence: {
|
|
2563
|
-
kind: "tracked-task-mismatch";
|
|
2564
2563
|
message: string;
|
|
2564
|
+
kind: "tracked-task-mismatch";
|
|
2565
2565
|
apply: {
|
|
2566
2566
|
complete: number;
|
|
2567
2567
|
total: number;
|
|
2568
2568
|
remaining: number;
|
|
2569
2569
|
};
|
|
2570
2570
|
tracked: {
|
|
2571
|
+
completed: number;
|
|
2571
2572
|
total: number;
|
|
2572
2573
|
remaining: number;
|
|
2573
|
-
|
|
2574
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
2574
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
2575
2575
|
};
|
|
2576
2576
|
} | null;
|
|
2577
2577
|
}>;
|
|
2578
2578
|
}, "strip", z.ZodTypeAny, {
|
|
2579
|
-
|
|
2580
|
-
|
|
2579
|
+
state: "ready" | "blocked" | "all_done";
|
|
2580
|
+
tasks: {
|
|
2581
|
+
id: string;
|
|
2582
|
+
done: boolean;
|
|
2583
|
+
description: string;
|
|
2584
|
+
}[];
|
|
2581
2585
|
evidence: {
|
|
2582
2586
|
success: boolean;
|
|
2583
2587
|
stdout: string;
|
|
@@ -2604,38 +2608,33 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2604
2608
|
} & {
|
|
2605
2609
|
[k: string]: unknown;
|
|
2606
2610
|
};
|
|
2611
|
+
changeName: string;
|
|
2612
|
+
schemaName: string;
|
|
2607
2613
|
changeDir: string;
|
|
2608
2614
|
instruction: string;
|
|
2609
2615
|
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
|
-
source: "openspec-instructions-apply";
|
|
2618
|
-
complete: number;
|
|
2619
2617
|
state: "ready" | "blocked" | "all_done";
|
|
2618
|
+
complete: number;
|
|
2620
2619
|
total: number;
|
|
2621
2620
|
remaining: number;
|
|
2621
|
+
source: "openspec-instructions-apply";
|
|
2622
2622
|
divergence: {
|
|
2623
|
-
kind: "tracked-task-mismatch";
|
|
2624
2623
|
message: string;
|
|
2624
|
+
kind: "tracked-task-mismatch";
|
|
2625
2625
|
apply: {
|
|
2626
2626
|
complete: number;
|
|
2627
2627
|
total: number;
|
|
2628
2628
|
remaining: number;
|
|
2629
2629
|
};
|
|
2630
2630
|
tracked: {
|
|
2631
|
+
completed: number;
|
|
2631
2632
|
total: number;
|
|
2632
2633
|
remaining: number;
|
|
2633
|
-
|
|
2634
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
2634
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
2635
2635
|
};
|
|
2636
2636
|
} | null;
|
|
2637
2637
|
};
|
|
2638
|
-
context?: string | undefined;
|
|
2639
2638
|
references?: z.objectOutputType<{
|
|
2640
2639
|
store_id: z.ZodString;
|
|
2641
2640
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2671,11 +2670,16 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2671
2670
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2672
2671
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2673
2672
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2673
|
+
context?: string | undefined;
|
|
2674
2674
|
missingArtifacts?: string[] | undefined;
|
|
2675
2675
|
operationGuidance?: string[] | undefined;
|
|
2676
2676
|
}, {
|
|
2677
|
-
|
|
2678
|
-
|
|
2677
|
+
state: "ready" | "blocked" | "all_done";
|
|
2678
|
+
tasks: {
|
|
2679
|
+
id: string;
|
|
2680
|
+
done: boolean;
|
|
2681
|
+
description: string;
|
|
2682
|
+
}[];
|
|
2679
2683
|
evidence: {
|
|
2680
2684
|
success: boolean;
|
|
2681
2685
|
stdout: string;
|
|
@@ -2702,38 +2706,33 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2702
2706
|
} & {
|
|
2703
2707
|
[k: string]: unknown;
|
|
2704
2708
|
};
|
|
2709
|
+
changeName: string;
|
|
2710
|
+
schemaName: string;
|
|
2705
2711
|
changeDir: string;
|
|
2706
2712
|
instruction: string;
|
|
2707
2713
|
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
|
-
source: "openspec-instructions-apply";
|
|
2716
|
-
complete: number;
|
|
2717
2715
|
state: "ready" | "blocked" | "all_done";
|
|
2716
|
+
complete: number;
|
|
2718
2717
|
total: number;
|
|
2719
2718
|
remaining: number;
|
|
2719
|
+
source: "openspec-instructions-apply";
|
|
2720
2720
|
divergence: {
|
|
2721
|
-
kind: "tracked-task-mismatch";
|
|
2722
2721
|
message: string;
|
|
2722
|
+
kind: "tracked-task-mismatch";
|
|
2723
2723
|
apply: {
|
|
2724
2724
|
complete: number;
|
|
2725
2725
|
total: number;
|
|
2726
2726
|
remaining: number;
|
|
2727
2727
|
};
|
|
2728
2728
|
tracked: {
|
|
2729
|
+
completed: number;
|
|
2729
2730
|
total: number;
|
|
2730
2731
|
remaining: number;
|
|
2731
|
-
|
|
2732
|
-
phase: "no-tasks" | "complete" | "in-progress";
|
|
2732
|
+
phase: "no-tasks" | "in-progress" | "complete";
|
|
2733
2733
|
};
|
|
2734
2734
|
} | null;
|
|
2735
2735
|
};
|
|
2736
|
-
context?: string | undefined;
|
|
2737
2736
|
references?: z.objectInputType<{
|
|
2738
2737
|
store_id: z.ZodString;
|
|
2739
2738
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -2769,6 +2768,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
|
|
|
2769
2768
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
2770
2769
|
fetch: z.ZodOptional<z.ZodString>;
|
|
2771
2770
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
2771
|
+
context?: string | undefined;
|
|
2772
2772
|
missingArtifacts?: string[] | undefined;
|
|
2773
2773
|
operationGuidance?: string[] | undefined;
|
|
2774
2774
|
}>>;
|
|
@@ -2923,7 +2923,6 @@ 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;
|
|
2927
2926
|
evidence: {
|
|
2928
2927
|
success: boolean;
|
|
2929
2928
|
stdout: string;
|
|
@@ -2950,10 +2949,10 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2950
2949
|
} & {
|
|
2951
2950
|
[k: string]: unknown;
|
|
2952
2951
|
};
|
|
2952
|
+
changeName: string;
|
|
2953
2953
|
context?: string | undefined;
|
|
2954
2954
|
operationGuidance?: string[] | undefined;
|
|
2955
2955
|
}, {
|
|
2956
|
-
changeName: string;
|
|
2957
2956
|
evidence: {
|
|
2958
2957
|
success: boolean;
|
|
2959
2958
|
stdout: string;
|
|
@@ -2980,6 +2979,7 @@ declare const ArchiveInstructionsSchema: z.ZodObject<{
|
|
|
2980
2979
|
} & {
|
|
2981
2980
|
[k: string]: unknown;
|
|
2982
2981
|
};
|
|
2982
|
+
changeName: string;
|
|
2983
2983
|
context?: string | undefined;
|
|
2984
2984
|
operationGuidance?: string[] | undefined;
|
|
2985
2985
|
}>;
|
|
@@ -3264,8 +3264,7 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3264
3264
|
command: z.ZodLiteral<"instructions">;
|
|
3265
3265
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3266
3266
|
}, "strip", z.ZodTypeAny, {
|
|
3267
|
-
|
|
3268
|
-
schemaName: string;
|
|
3267
|
+
artifactId: string;
|
|
3269
3268
|
outputPath: string;
|
|
3270
3269
|
evidence: {
|
|
3271
3270
|
success: boolean;
|
|
@@ -3293,7 +3292,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3293
3292
|
} & {
|
|
3294
3293
|
[k: string]: unknown;
|
|
3295
3294
|
};
|
|
3296
|
-
|
|
3295
|
+
changeName: string;
|
|
3296
|
+
schemaName: string;
|
|
3297
3297
|
changeDir: string;
|
|
3298
3298
|
description: string;
|
|
3299
3299
|
template: string;
|
|
@@ -3305,9 +3305,6 @@ 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;
|
|
3311
3308
|
references?: z.objectOutputType<{
|
|
3312
3309
|
store_id: z.ZodString;
|
|
3313
3310
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -3343,9 +3340,11 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3343
3340
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
3344
3341
|
fetch: z.ZodOptional<z.ZodString>;
|
|
3345
3342
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
3343
|
+
context?: string | null | undefined;
|
|
3344
|
+
instruction?: string | null | undefined;
|
|
3345
|
+
rules?: string[] | null | undefined;
|
|
3346
3346
|
}, {
|
|
3347
|
-
|
|
3348
|
-
schemaName: string;
|
|
3347
|
+
artifactId: string;
|
|
3349
3348
|
outputPath: string;
|
|
3350
3349
|
evidence: {
|
|
3351
3350
|
success: boolean;
|
|
@@ -3373,7 +3372,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3373
3372
|
} & {
|
|
3374
3373
|
[k: string]: unknown;
|
|
3375
3374
|
};
|
|
3376
|
-
|
|
3375
|
+
changeName: string;
|
|
3376
|
+
schemaName: string;
|
|
3377
3377
|
changeDir: string;
|
|
3378
3378
|
description: string;
|
|
3379
3379
|
template: string;
|
|
@@ -3385,9 +3385,6 @@ 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;
|
|
3391
3388
|
references?: z.objectInputType<{
|
|
3392
3389
|
store_id: z.ZodString;
|
|
3393
3390
|
root: z.ZodOptional<z.ZodString>;
|
|
@@ -3423,6 +3420,9 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
3423
3420
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
3424
3421
|
fetch: z.ZodOptional<z.ZodString>;
|
|
3425
3422
|
}, 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,6 +3583,7 @@ 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;
|
|
3586
3587
|
applyRequires: string[];
|
|
3587
3588
|
artifacts: {
|
|
3588
3589
|
id: string;
|
|
@@ -3592,12 +3593,12 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
3592
3593
|
instruction?: string | undefined;
|
|
3593
3594
|
template?: string | undefined;
|
|
3594
3595
|
}[];
|
|
3595
|
-
name: string;
|
|
3596
|
-
description?: string | undefined;
|
|
3597
3596
|
version?: string | number | undefined;
|
|
3597
|
+
description?: string | undefined;
|
|
3598
3598
|
applyTracks?: string | undefined;
|
|
3599
3599
|
applyInstruction?: string | undefined;
|
|
3600
3600
|
}, {
|
|
3601
|
+
name: string;
|
|
3601
3602
|
applyRequires: string[];
|
|
3602
3603
|
artifacts: {
|
|
3603
3604
|
id: string;
|
|
@@ -3607,9 +3608,8 @@ declare const SchemaDetailSchema: z.ZodObject<{
|
|
|
3607
3608
|
instruction?: string | undefined;
|
|
3608
3609
|
template?: string | undefined;
|
|
3609
3610
|
}[];
|
|
3610
|
-
name: string;
|
|
3611
|
-
description?: string | undefined;
|
|
3612
3611
|
version?: string | number | undefined;
|
|
3612
|
+
description?: string | undefined;
|
|
3613
3613
|
applyTracks?: string | undefined;
|
|
3614
3614
|
applyInstruction?: string | undefined;
|
|
3615
3615
|
}>;
|
|
@@ -3662,6 +3662,7 @@ 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;
|
|
3665
3666
|
applyRequires: string[];
|
|
3666
3667
|
artifacts: {
|
|
3667
3668
|
id: string;
|
|
@@ -3671,12 +3672,12 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3671
3672
|
instruction?: string | undefined;
|
|
3672
3673
|
template?: string | undefined;
|
|
3673
3674
|
}[];
|
|
3674
|
-
name: string;
|
|
3675
|
-
description?: string | undefined;
|
|
3676
3675
|
version?: string | number | undefined;
|
|
3676
|
+
description?: string | undefined;
|
|
3677
3677
|
applyTracks?: string | undefined;
|
|
3678
3678
|
applyInstruction?: string | undefined;
|
|
3679
3679
|
}, {
|
|
3680
|
+
name: string;
|
|
3680
3681
|
applyRequires: string[];
|
|
3681
3682
|
artifacts: {
|
|
3682
3683
|
id: string;
|
|
@@ -3686,9 +3687,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3686
3687
|
instruction?: string | undefined;
|
|
3687
3688
|
template?: string | undefined;
|
|
3688
3689
|
}[];
|
|
3689
|
-
name: string;
|
|
3690
|
-
description?: string | undefined;
|
|
3691
3690
|
version?: string | number | undefined;
|
|
3691
|
+
description?: string | undefined;
|
|
3692
3692
|
applyTracks?: string | undefined;
|
|
3693
3693
|
applyInstruction?: string | undefined;
|
|
3694
3694
|
}>>>;
|
|
@@ -3767,6 +3767,7 @@ 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;
|
|
3770
3771
|
applyRequires: string[];
|
|
3771
3772
|
artifacts: {
|
|
3772
3773
|
id: string;
|
|
@@ -3776,9 +3777,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3776
3777
|
instruction?: string | undefined;
|
|
3777
3778
|
template?: string | undefined;
|
|
3778
3779
|
}[];
|
|
3779
|
-
name: string;
|
|
3780
|
-
description?: string | undefined;
|
|
3781
3780
|
version?: string | number | undefined;
|
|
3781
|
+
description?: string | undefined;
|
|
3782
3782
|
applyTracks?: string | undefined;
|
|
3783
3783
|
applyInstruction?: string | undefined;
|
|
3784
3784
|
} | null>;
|
|
@@ -3813,6 +3813,7 @@ 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;
|
|
3816
3817
|
applyRequires: string[];
|
|
3817
3818
|
artifacts: {
|
|
3818
3819
|
id: string;
|
|
@@ -3822,9 +3823,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
|
|
|
3822
3823
|
instruction?: string | undefined;
|
|
3823
3824
|
template?: string | undefined;
|
|
3824
3825
|
}[];
|
|
3825
|
-
name: string;
|
|
3826
|
-
description?: string | undefined;
|
|
3827
3826
|
version?: string | number | undefined;
|
|
3827
|
+
description?: string | undefined;
|
|
3828
3828
|
applyTracks?: string | undefined;
|
|
3829
3829
|
applyInstruction?: string | undefined;
|
|
3830
3830
|
} | null>;
|