@copado/agentia-cli 0.105.0-alpha.0 → 0.106.0-alpha.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/README.md +294 -580
- package/dist/commands/ai/agent/ask.d.ts +0 -5
- package/dist/commands/ai/agent/chat.d.ts +0 -5
- package/dist/commands/ai/quota/get.d.ts +0 -5
- package/dist/commands/ai/quota/get.js +1 -1
- package/dist/commands/ai/quota/get.js.map +1 -1
- package/dist/commands/ai/workspace/create.d.ts +0 -5
- package/dist/commands/ai/workspace/get.d.ts +0 -5
- package/dist/commands/ai/workspace/list.d.ts +0 -5
- package/dist/commands/ai/workspace/list.js +1 -1
- package/dist/commands/ai/workspace/list.js.map +1 -1
- package/dist/commands/ai/workspace/member/invite.d.ts +0 -5
- package/dist/commands/ai/workspace/member/list.d.ts +0 -5
- package/dist/commands/ai/workspace/update.d.ts +0 -5
- package/dist/commands/testing/build/abort.d.ts +0 -4
- package/dist/commands/testing/build/abort.js +1 -3
- package/dist/commands/testing/build/abort.js.map +1 -1
- package/dist/commands/testing/build/list.d.ts +0 -4
- package/dist/commands/testing/build/list.js +1 -3
- package/dist/commands/testing/build/list.js.map +1 -1
- package/dist/commands/testing/build/logs.d.ts +0 -4
- package/dist/commands/testing/build/logs.js +1 -3
- package/dist/commands/testing/build/logs.js.map +1 -1
- package/dist/commands/testing/build/run.d.ts +0 -4
- package/dist/commands/testing/build/run.js +1 -2
- package/dist/commands/testing/build/run.js.map +1 -1
- package/dist/commands/testing/create.d.ts +0 -4
- package/dist/commands/testing/create.js +1 -3
- package/dist/commands/testing/create.js.map +1 -1
- package/dist/commands/testing/job/create.d.ts +0 -4
- package/dist/commands/testing/job/create.js +1 -3
- package/dist/commands/testing/job/create.js.map +1 -1
- package/dist/commands/testing/job/delete.d.ts +0 -4
- package/dist/commands/testing/job/delete.js +2 -3
- package/dist/commands/testing/job/delete.js.map +1 -1
- package/dist/commands/testing/job/download.d.ts +0 -4
- package/dist/commands/testing/job/download.js +1 -3
- package/dist/commands/testing/job/download.js.map +1 -1
- package/dist/commands/testing/job/files.d.ts +0 -4
- package/dist/commands/testing/job/files.js +2 -3
- package/dist/commands/testing/job/files.js.map +1 -1
- package/dist/commands/testing/job/get.d.ts +0 -4
- package/dist/commands/testing/job/get.js +2 -3
- package/dist/commands/testing/job/get.js.map +1 -1
- package/dist/commands/testing/job/list.d.ts +0 -4
- package/dist/commands/testing/job/list.js +2 -3
- package/dist/commands/testing/job/list.js.map +1 -1
- package/dist/commands/testing/job/update.d.ts +0 -4
- package/dist/commands/testing/job/update.js +1 -3
- package/dist/commands/testing/job/update.js.map +1 -1
- package/dist/commands/testing/job/upload.d.ts +0 -4
- package/dist/commands/testing/job/upload.js +1 -3
- package/dist/commands/testing/job/upload.js.map +1 -1
- package/dist/commands/testing/logs.d.ts +0 -4
- package/dist/commands/testing/logs.js +1 -3
- package/dist/commands/testing/logs.js.map +1 -1
- package/dist/commands/testing/project/create.d.ts +0 -4
- package/dist/commands/testing/project/create.js +0 -3
- package/dist/commands/testing/project/create.js.map +1 -1
- package/dist/commands/testing/project/delete.d.ts +1 -6
- package/dist/commands/testing/project/delete.js +2 -5
- package/dist/commands/testing/project/delete.js.map +1 -1
- package/dist/commands/testing/project/get.d.ts +1 -6
- package/dist/commands/testing/project/get.js +2 -5
- package/dist/commands/testing/project/get.js.map +1 -1
- package/dist/commands/testing/project/list.d.ts +0 -4
- package/dist/commands/testing/project/list.js +1 -3
- package/dist/commands/testing/project/list.js.map +1 -1
- package/dist/commands/testing/robot/create.d.ts +0 -4
- package/dist/commands/testing/robot/create.js +1 -3
- package/dist/commands/testing/robot/create.js.map +1 -1
- package/dist/commands/testing/robot/delete.d.ts +0 -4
- package/dist/commands/testing/robot/delete.js +2 -3
- package/dist/commands/testing/robot/delete.js.map +1 -1
- package/dist/commands/testing/robot/get.d.ts +0 -4
- package/dist/commands/testing/robot/get.js +2 -3
- package/dist/commands/testing/robot/get.js.map +1 -1
- package/dist/commands/testing/robot/list.d.ts +0 -4
- package/dist/commands/testing/robot/list.js +2 -3
- package/dist/commands/testing/robot/list.js.map +1 -1
- package/dist/commands/testing/run.d.ts +0 -4
- package/dist/commands/testing/run.js +1 -2
- package/dist/commands/testing/run.js.map +1 -1
- package/dist/commands/testing/status.d.ts +0 -4
- package/dist/commands/testing/status.js +1 -3
- package/dist/commands/testing/status.js.map +1 -1
- package/dist/commands/testing/test/run.d.ts +0 -4
- package/dist/commands/testing/test/run.js +1 -2
- package/dist/commands/testing/test/run.js.map +1 -1
- package/dist/commands/testing/update.d.ts +0 -4
- package/dist/commands/testing/update.js +1 -3
- package/dist/commands/testing/update.js.map +1 -1
- package/dist/commands/testing/variable/create.d.ts +0 -4
- package/dist/commands/testing/variable/create.js +1 -3
- package/dist/commands/testing/variable/create.js.map +1 -1
- package/dist/commands/testing/variable/delete.d.ts +0 -4
- package/dist/commands/testing/variable/delete.js +2 -3
- package/dist/commands/testing/variable/delete.js.map +1 -1
- package/dist/commands/testing/variable/list.d.ts +0 -4
- package/dist/commands/testing/variable/list.js +1 -3
- package/dist/commands/testing/variable/list.js.map +1 -1
- package/dist/commands/testing/variable/update.d.ts +0 -4
- package/dist/commands/testing/variable/update.js +1 -3
- package/dist/commands/testing/variable/update.js.map +1 -1
- package/dist/lib/ai-flags.d.ts +0 -10
- package/dist/lib/ai-flags.js +0 -23
- package/dist/lib/ai-flags.js.map +1 -1
- package/dist/lib/mcp/ai-tools.d.ts +0 -5
- package/dist/lib/mcp/ai-tools.js +0 -12
- package/dist/lib/mcp/ai-tools.js.map +1 -1
- package/dist/lib/mcp/testing-tools.d.ts +5 -11
- package/dist/lib/mcp/testing-tools.js +16 -62
- package/dist/lib/mcp/testing-tools.js.map +1 -1
- package/dist/lib/mcp/tools.d.ts +50 -205
- package/dist/lib/testing-flags.d.ts +2 -15
- package/dist/lib/testing-flags.js +0 -26
- package/dist/lib/testing-flags.js.map +1 -1
- package/oclif.manifest.json +4681 -5976
- package/package.json +1 -1
- package/templates/skills/agentia-ai/SKILL.md +1 -1
- package/templates/skills/agentia-ai/references/ai-agents.md +1 -1
- package/templates/skills/agentia-testing/SKILL.md +1 -1
- package/templates/skills/agentia-testing/references/tests.md +1 -1
package/dist/lib/mcp/tools.d.ts
CHANGED
|
@@ -768,14 +768,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
768
768
|
}) => Promise<{
|
|
769
769
|
userStory: import("../work-types.js").UserStory;
|
|
770
770
|
}>;
|
|
771
|
-
testingBuildAbort: (args:
|
|
772
|
-
domain?: string;
|
|
773
|
-
org?: number;
|
|
774
|
-
pak?: string;
|
|
775
|
-
pat?: string;
|
|
776
|
-
} & {
|
|
771
|
+
testingBuildAbort: (args: {
|
|
777
772
|
project: number;
|
|
778
|
-
}
|
|
773
|
+
} & {
|
|
779
774
|
build: number;
|
|
780
775
|
job: number;
|
|
781
776
|
}) => Promise<{
|
|
@@ -786,42 +781,27 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
786
781
|
projectId: number;
|
|
787
782
|
};
|
|
788
783
|
}>;
|
|
789
|
-
testingBuildList: (args:
|
|
790
|
-
domain?: string;
|
|
791
|
-
org?: number;
|
|
792
|
-
pak?: string;
|
|
793
|
-
pat?: string;
|
|
794
|
-
} & {
|
|
784
|
+
testingBuildList: (args: {
|
|
795
785
|
project: number;
|
|
796
|
-
}
|
|
786
|
+
} & {
|
|
797
787
|
job?: number;
|
|
798
788
|
resultSize?: "compact";
|
|
799
789
|
status?: import("../testing-types.js").TestingBuildStatus;
|
|
800
790
|
}) => Promise<{
|
|
801
791
|
result: import("../testing-types.js").TestingBuild[];
|
|
802
792
|
}>;
|
|
803
|
-
testingBuildLogs: (args:
|
|
804
|
-
domain?: string;
|
|
805
|
-
org?: number;
|
|
806
|
-
pak?: string;
|
|
807
|
-
pat?: string;
|
|
808
|
-
} & {
|
|
793
|
+
testingBuildLogs: (args: {
|
|
809
794
|
project: number;
|
|
810
|
-
}
|
|
795
|
+
} & {
|
|
811
796
|
build: number;
|
|
812
797
|
job: number;
|
|
813
798
|
output?: string;
|
|
814
799
|
}) => Promise<{
|
|
815
800
|
result: import("../testing-types.js").TestingLogResult;
|
|
816
801
|
}>;
|
|
817
|
-
testingBuildRun: (args:
|
|
818
|
-
domain?: string;
|
|
819
|
-
org?: number;
|
|
820
|
-
pak?: string;
|
|
821
|
-
pat?: string;
|
|
822
|
-
} & {
|
|
802
|
+
testingBuildRun: (args: {
|
|
823
803
|
project: number;
|
|
824
|
-
}
|
|
804
|
+
} & {
|
|
825
805
|
branch?: string;
|
|
826
806
|
exclude?: string[];
|
|
827
807
|
include?: string[];
|
|
@@ -835,14 +815,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
835
815
|
}) => Promise<{
|
|
836
816
|
result: import("../testing-types.js").TestingBuildRunResult;
|
|
837
817
|
}>;
|
|
838
|
-
testingCreate: (args:
|
|
839
|
-
domain?: string;
|
|
840
|
-
org?: number;
|
|
841
|
-
pak?: string;
|
|
842
|
-
pat?: string;
|
|
843
|
-
} & {
|
|
818
|
+
testingCreate: (args: {
|
|
844
819
|
project: number;
|
|
845
|
-
}
|
|
820
|
+
} & {
|
|
846
821
|
description?: string;
|
|
847
822
|
dir?: string[];
|
|
848
823
|
file?: string[];
|
|
@@ -858,14 +833,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
858
833
|
}) => Promise<{
|
|
859
834
|
result: import("../testing-types.js").TestingJobCreateResult;
|
|
860
835
|
}>;
|
|
861
|
-
testingJobCreate: (args:
|
|
862
|
-
domain?: string;
|
|
863
|
-
org?: number;
|
|
864
|
-
pak?: string;
|
|
865
|
-
pat?: string;
|
|
866
|
-
} & {
|
|
836
|
+
testingJobCreate: (args: {
|
|
867
837
|
project: number;
|
|
868
|
-
}
|
|
838
|
+
} & {
|
|
869
839
|
description?: string;
|
|
870
840
|
dir?: string[];
|
|
871
841
|
file?: string[];
|
|
@@ -881,14 +851,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
881
851
|
}) => Promise<{
|
|
882
852
|
result: import("../testing-types.js").TestingJobCreateResult;
|
|
883
853
|
}>;
|
|
884
|
-
testingJobDelete: (args:
|
|
885
|
-
domain?: string;
|
|
886
|
-
org?: number;
|
|
887
|
-
pak?: string;
|
|
888
|
-
pat?: string;
|
|
889
|
-
} & {
|
|
854
|
+
testingJobDelete: (args: {
|
|
890
855
|
project: number;
|
|
891
|
-
}
|
|
856
|
+
} & {
|
|
892
857
|
id: number;
|
|
893
858
|
}) => Promise<{
|
|
894
859
|
result: {
|
|
@@ -897,14 +862,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
897
862
|
projectId: number;
|
|
898
863
|
};
|
|
899
864
|
}>;
|
|
900
|
-
testingJobDownload: (args:
|
|
901
|
-
domain?: string;
|
|
902
|
-
org?: number;
|
|
903
|
-
pak?: string;
|
|
904
|
-
pat?: string;
|
|
905
|
-
} & {
|
|
865
|
+
testingJobDownload: (args: {
|
|
906
866
|
project: number;
|
|
907
|
-
}
|
|
867
|
+
} & {
|
|
908
868
|
branch?: string;
|
|
909
869
|
file: string[];
|
|
910
870
|
job: number;
|
|
@@ -912,50 +872,30 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
912
872
|
}) => Promise<{
|
|
913
873
|
result: import("../testing-types.js").TestingDownloadResult;
|
|
914
874
|
}>;
|
|
915
|
-
testingJobFiles: (args:
|
|
916
|
-
domain?: string;
|
|
917
|
-
org?: number;
|
|
918
|
-
pak?: string;
|
|
919
|
-
pat?: string;
|
|
920
|
-
} & {
|
|
875
|
+
testingJobFiles: (args: {
|
|
921
876
|
project: number;
|
|
922
|
-
}
|
|
877
|
+
} & {
|
|
923
878
|
job: number;
|
|
924
879
|
}) => Promise<{
|
|
925
880
|
result: import("../testing-types.js").TestingFileEntry[];
|
|
926
881
|
}>;
|
|
927
|
-
testingJobGet: (args:
|
|
928
|
-
domain?: string;
|
|
929
|
-
org?: number;
|
|
930
|
-
pak?: string;
|
|
931
|
-
pat?: string;
|
|
932
|
-
} & {
|
|
882
|
+
testingJobGet: (args: {
|
|
933
883
|
project: number;
|
|
934
|
-
}
|
|
884
|
+
} & {
|
|
935
885
|
id: string;
|
|
936
886
|
}) => Promise<{
|
|
937
887
|
result: import("../testing-types.js").TestingJob;
|
|
938
888
|
}>;
|
|
939
|
-
testingJobList: (args:
|
|
940
|
-
domain?: string;
|
|
941
|
-
org?: number;
|
|
942
|
-
pak?: string;
|
|
943
|
-
pat?: string;
|
|
944
|
-
} & {
|
|
889
|
+
testingJobList: (args: {
|
|
945
890
|
project: number;
|
|
946
|
-
}
|
|
891
|
+
} & {
|
|
947
892
|
name?: string;
|
|
948
893
|
}) => Promise<{
|
|
949
894
|
result: import("../testing-types.js").TestingJob[];
|
|
950
895
|
}>;
|
|
951
|
-
testingJobRun: (args:
|
|
952
|
-
domain?: string;
|
|
953
|
-
org?: number;
|
|
954
|
-
pak?: string;
|
|
955
|
-
pat?: string;
|
|
956
|
-
} & {
|
|
896
|
+
testingJobRun: (args: {
|
|
957
897
|
project: number;
|
|
958
|
-
}
|
|
898
|
+
} & {
|
|
959
899
|
branch?: string;
|
|
960
900
|
exclude?: string[];
|
|
961
901
|
include?: string[];
|
|
@@ -969,14 +909,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
969
909
|
}) => Promise<{
|
|
970
910
|
result: import("../testing-types.js").TestingBuildRunResult;
|
|
971
911
|
}>;
|
|
972
|
-
testingJobUpdate: (args:
|
|
973
|
-
domain?: string;
|
|
974
|
-
org?: number;
|
|
975
|
-
pak?: string;
|
|
976
|
-
pat?: string;
|
|
977
|
-
} & {
|
|
912
|
+
testingJobUpdate: (args: {
|
|
978
913
|
project: number;
|
|
979
|
-
}
|
|
914
|
+
} & {
|
|
980
915
|
caseDurationChangeDetection?: boolean;
|
|
981
916
|
description?: string;
|
|
982
917
|
gitBranch?: string;
|
|
@@ -1000,14 +935,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1000
935
|
}) => Promise<{
|
|
1001
936
|
result: import("../testing-types.js").TestingJob;
|
|
1002
937
|
}>;
|
|
1003
|
-
testingJobUpload: (args:
|
|
1004
|
-
domain?: string;
|
|
1005
|
-
org?: number;
|
|
1006
|
-
pak?: string;
|
|
1007
|
-
pat?: string;
|
|
1008
|
-
} & {
|
|
938
|
+
testingJobUpload: (args: {
|
|
1009
939
|
project: number;
|
|
1010
|
-
}
|
|
940
|
+
} & {
|
|
1011
941
|
add?: string[];
|
|
1012
942
|
authorEmail?: string;
|
|
1013
943
|
authorName?: string;
|
|
@@ -1021,14 +951,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1021
951
|
response: import("../testing-types.js").TestingRecord;
|
|
1022
952
|
};
|
|
1023
953
|
}>;
|
|
1024
|
-
testingLogs: (args:
|
|
1025
|
-
domain?: string;
|
|
1026
|
-
org?: number;
|
|
1027
|
-
pak?: string;
|
|
1028
|
-
pat?: string;
|
|
1029
|
-
} & {
|
|
954
|
+
testingLogs: (args: {
|
|
1030
955
|
project: number;
|
|
1031
|
-
}
|
|
956
|
+
} & {
|
|
1032
957
|
build: number;
|
|
1033
958
|
job: number;
|
|
1034
959
|
output?: string;
|
|
@@ -1036,22 +961,12 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1036
961
|
result: import("../testing-types.js").TestingLogResult;
|
|
1037
962
|
}>;
|
|
1038
963
|
testingProjectCreate: (args: {
|
|
1039
|
-
domain?: string;
|
|
1040
|
-
org?: number;
|
|
1041
|
-
pak?: string;
|
|
1042
|
-
pat?: string;
|
|
1043
|
-
} & {
|
|
1044
964
|
description?: string;
|
|
1045
965
|
name: string;
|
|
1046
966
|
}) => Promise<{
|
|
1047
967
|
result: import("../testing-types.js").TestingProject;
|
|
1048
968
|
}>;
|
|
1049
969
|
testingProjectDelete: (args: {
|
|
1050
|
-
domain?: string;
|
|
1051
|
-
org?: number;
|
|
1052
|
-
pak?: string;
|
|
1053
|
-
pat?: string;
|
|
1054
|
-
} & {
|
|
1055
970
|
id: number;
|
|
1056
971
|
}) => Promise<{
|
|
1057
972
|
result: {
|
|
@@ -1060,33 +975,18 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1060
975
|
};
|
|
1061
976
|
}>;
|
|
1062
977
|
testingProjectGet: (args: {
|
|
1063
|
-
domain?: string;
|
|
1064
|
-
org?: number;
|
|
1065
|
-
pak?: string;
|
|
1066
|
-
pat?: string;
|
|
1067
|
-
} & {
|
|
1068
978
|
id: string;
|
|
1069
979
|
}) => Promise<{
|
|
1070
980
|
result: import("../testing-types.js").TestingProject;
|
|
1071
981
|
}>;
|
|
1072
982
|
testingProjectList: (args?: {
|
|
1073
|
-
domain?: string;
|
|
1074
|
-
org?: number;
|
|
1075
|
-
pak?: string;
|
|
1076
|
-
pat?: string;
|
|
1077
|
-
} & {
|
|
1078
983
|
name?: string;
|
|
1079
984
|
}) => Promise<{
|
|
1080
985
|
result: import("../testing-types.js").TestingProject[];
|
|
1081
986
|
}>;
|
|
1082
|
-
testingRobotCreate: (args:
|
|
1083
|
-
domain?: string;
|
|
1084
|
-
org?: number;
|
|
1085
|
-
pak?: string;
|
|
1086
|
-
pat?: string;
|
|
1087
|
-
} & {
|
|
987
|
+
testingRobotCreate: (args: {
|
|
1088
988
|
project: number;
|
|
1089
|
-
}
|
|
989
|
+
} & {
|
|
1090
990
|
description?: string;
|
|
1091
991
|
fwVersion?: string;
|
|
1092
992
|
kind?: "cloud" | "QConnect";
|
|
@@ -1096,14 +996,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1096
996
|
}) => Promise<{
|
|
1097
997
|
result: import("../testing-types.js").TestingRobot;
|
|
1098
998
|
}>;
|
|
1099
|
-
testingRobotDelete: (args:
|
|
1100
|
-
domain?: string;
|
|
1101
|
-
org?: number;
|
|
1102
|
-
pak?: string;
|
|
1103
|
-
pat?: string;
|
|
1104
|
-
} & {
|
|
999
|
+
testingRobotDelete: (args: {
|
|
1105
1000
|
project: number;
|
|
1106
|
-
}
|
|
1001
|
+
} & {
|
|
1107
1002
|
id: string;
|
|
1108
1003
|
}) => Promise<{
|
|
1109
1004
|
result: {
|
|
@@ -1112,36 +1007,21 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1112
1007
|
robotId: number | string;
|
|
1113
1008
|
};
|
|
1114
1009
|
}>;
|
|
1115
|
-
testingRobotGet: (args:
|
|
1116
|
-
domain?: string;
|
|
1117
|
-
org?: number;
|
|
1118
|
-
pak?: string;
|
|
1119
|
-
pat?: string;
|
|
1120
|
-
} & {
|
|
1010
|
+
testingRobotGet: (args: {
|
|
1121
1011
|
project: number;
|
|
1122
|
-
}
|
|
1012
|
+
} & {
|
|
1123
1013
|
id: string;
|
|
1124
1014
|
}) => Promise<{
|
|
1125
1015
|
result: import("../testing-types.js").TestingRobot;
|
|
1126
1016
|
}>;
|
|
1127
1017
|
testingRobotList: (args: {
|
|
1128
|
-
domain?: string;
|
|
1129
|
-
org?: number;
|
|
1130
|
-
pak?: string;
|
|
1131
|
-
pat?: string;
|
|
1132
|
-
} & {
|
|
1133
1018
|
project: number;
|
|
1134
1019
|
}) => Promise<{
|
|
1135
1020
|
result: import("../testing-types.js").TestingRobot[];
|
|
1136
1021
|
}>;
|
|
1137
|
-
testingRun: (args:
|
|
1138
|
-
domain?: string;
|
|
1139
|
-
org?: number;
|
|
1140
|
-
pak?: string;
|
|
1141
|
-
pat?: string;
|
|
1142
|
-
} & {
|
|
1022
|
+
testingRun: (args: {
|
|
1143
1023
|
project: number;
|
|
1144
|
-
}
|
|
1024
|
+
} & {
|
|
1145
1025
|
branch?: string;
|
|
1146
1026
|
exclude?: string[];
|
|
1147
1027
|
include?: string[];
|
|
@@ -1155,28 +1035,18 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1155
1035
|
}) => Promise<{
|
|
1156
1036
|
result: import("../testing-types.js").TestingBuildRunResult;
|
|
1157
1037
|
}>;
|
|
1158
|
-
testingStatus: (args:
|
|
1159
|
-
domain?: string;
|
|
1160
|
-
org?: number;
|
|
1161
|
-
pak?: string;
|
|
1162
|
-
pat?: string;
|
|
1163
|
-
} & {
|
|
1038
|
+
testingStatus: (args: {
|
|
1164
1039
|
project: number;
|
|
1165
|
-
}
|
|
1040
|
+
} & {
|
|
1166
1041
|
job?: number;
|
|
1167
1042
|
resultSize?: "compact";
|
|
1168
1043
|
status?: import("../testing-types.js").TestingBuildStatus;
|
|
1169
1044
|
}) => Promise<{
|
|
1170
1045
|
result: import("../testing-types.js").TestingBuild[];
|
|
1171
1046
|
}>;
|
|
1172
|
-
testingUpdate: (args:
|
|
1173
|
-
domain?: string;
|
|
1174
|
-
org?: number;
|
|
1175
|
-
pak?: string;
|
|
1176
|
-
pat?: string;
|
|
1177
|
-
} & {
|
|
1047
|
+
testingUpdate: (args: {
|
|
1178
1048
|
project: number;
|
|
1179
|
-
}
|
|
1049
|
+
} & {
|
|
1180
1050
|
add?: string[];
|
|
1181
1051
|
authorEmail?: string;
|
|
1182
1052
|
authorName?: string;
|
|
@@ -1190,14 +1060,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1190
1060
|
response: import("../testing-types.js").TestingRecord;
|
|
1191
1061
|
};
|
|
1192
1062
|
}>;
|
|
1193
|
-
testingVariableCreate: (args:
|
|
1194
|
-
domain?: string;
|
|
1195
|
-
org?: number;
|
|
1196
|
-
pak?: string;
|
|
1197
|
-
pat?: string;
|
|
1198
|
-
} & {
|
|
1063
|
+
testingVariableCreate: (args: {
|
|
1199
1064
|
project: number;
|
|
1200
|
-
}
|
|
1065
|
+
} & {
|
|
1201
1066
|
description?: string;
|
|
1202
1067
|
job?: number;
|
|
1203
1068
|
key: string;
|
|
@@ -1209,14 +1074,9 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1209
1074
|
}) => Promise<{
|
|
1210
1075
|
result: unknown;
|
|
1211
1076
|
}>;
|
|
1212
|
-
testingVariableDelete: (args:
|
|
1213
|
-
domain?: string;
|
|
1214
|
-
org?: number;
|
|
1215
|
-
pak?: string;
|
|
1216
|
-
pat?: string;
|
|
1217
|
-
} & {
|
|
1077
|
+
testingVariableDelete: (args: {
|
|
1218
1078
|
project: number;
|
|
1219
|
-
}
|
|
1079
|
+
} & {
|
|
1220
1080
|
id: string;
|
|
1221
1081
|
}) => Promise<{
|
|
1222
1082
|
result: {
|
|
@@ -1224,27 +1084,17 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1224
1084
|
variableId: string;
|
|
1225
1085
|
};
|
|
1226
1086
|
}>;
|
|
1227
|
-
testingVariableList: (args:
|
|
1228
|
-
domain?: string;
|
|
1229
|
-
org?: number;
|
|
1230
|
-
pak?: string;
|
|
1231
|
-
pat?: string;
|
|
1232
|
-
} & {
|
|
1087
|
+
testingVariableList: (args: {
|
|
1233
1088
|
project: number;
|
|
1234
|
-
}
|
|
1089
|
+
} & {
|
|
1235
1090
|
job?: number;
|
|
1236
1091
|
robot?: number;
|
|
1237
1092
|
}) => Promise<{
|
|
1238
1093
|
result: import("../testing-types.js").TestingVariable[];
|
|
1239
1094
|
}>;
|
|
1240
|
-
testingVariableUpdate: (args:
|
|
1241
|
-
domain?: string;
|
|
1242
|
-
org?: number;
|
|
1243
|
-
pak?: string;
|
|
1244
|
-
pat?: string;
|
|
1245
|
-
} & {
|
|
1095
|
+
testingVariableUpdate: (args: {
|
|
1246
1096
|
project: number;
|
|
1247
|
-
}
|
|
1097
|
+
} & {
|
|
1248
1098
|
description?: string;
|
|
1249
1099
|
id: string;
|
|
1250
1100
|
key?: string;
|
|
@@ -1526,11 +1376,6 @@ export declare const agentiaMcpToolHandlers: {
|
|
|
1526
1376
|
agent: import("../ai-types.js").AiAgent;
|
|
1527
1377
|
component?: string;
|
|
1528
1378
|
dialogue?: string;
|
|
1529
|
-
domain?: string;
|
|
1530
|
-
gatewayUrl?: string;
|
|
1531
|
-
org?: number;
|
|
1532
|
-
pak?: string;
|
|
1533
|
-
pat?: string;
|
|
1534
1379
|
prompt: string;
|
|
1535
1380
|
sfOrg?: string;
|
|
1536
1381
|
userStory?: string;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type TestingRunOptions } from './testing-operations.js';
|
|
2
2
|
import { type TestingRecordBuildOption } from './testing-types.js';
|
|
3
|
-
export declare const testingConnectionFlags: {
|
|
4
|
-
domain: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
5
|
-
org: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
6
|
-
pak: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
pat: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
-
};
|
|
9
3
|
export declare const testingProjectFlag: {
|
|
10
4
|
project: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
5
|
};
|
|
@@ -46,13 +40,7 @@ export declare const testingUploadOperationFlags: {
|
|
|
46
40
|
remove: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
47
41
|
replace: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
48
42
|
};
|
|
49
|
-
export type
|
|
50
|
-
domain?: string;
|
|
51
|
-
org?: number;
|
|
52
|
-
pak?: string;
|
|
53
|
-
pat?: string;
|
|
54
|
-
};
|
|
55
|
-
export type TestingRunFlagValues = TestingConnectionFlagValues & {
|
|
43
|
+
export type TestingRunFlagValues = {
|
|
56
44
|
branch?: string;
|
|
57
45
|
exclude?: string[];
|
|
58
46
|
include?: string[];
|
|
@@ -62,7 +50,6 @@ export type TestingRunFlagValues = TestingConnectionFlagValues & {
|
|
|
62
50
|
'rerun-failed-from-latest'?: boolean;
|
|
63
51
|
tag?: string;
|
|
64
52
|
};
|
|
65
|
-
export declare function testingConnectionOptions(flags: TestingConnectionFlagValues): TestingConnectionOptions;
|
|
66
53
|
export declare function testingRunOptions(flags: TestingRunFlagValues, ids: {
|
|
67
54
|
jobId: number;
|
|
68
55
|
projectId: number;
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
2
|
import { TESTING_RECORD_BUILD_OPTIONS } from './testing-types.js';
|
|
3
|
-
export const testingConnectionFlags = {
|
|
4
|
-
domain: Flags.string({
|
|
5
|
-
description: 'CRT domain hostname. Defaults to AGENTIA_CRT_DOMAIN, COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.',
|
|
6
|
-
}),
|
|
7
|
-
org: Flags.integer({
|
|
8
|
-
description: 'CRT organization ID. Defaults to AGENTIA_CRT_ORG, COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.',
|
|
9
|
-
}),
|
|
10
|
-
pak: Flags.string({
|
|
11
|
-
description: 'CRT PAK override. Prefer auth set --crt or AGENTIA_CRT_PAK for regular use.',
|
|
12
|
-
}),
|
|
13
|
-
pat: Flags.string({
|
|
14
|
-
description: 'Deprecated alias for --pak. Prefer --pak or AGENTIA_CRT_PAK.',
|
|
15
|
-
}),
|
|
16
|
-
};
|
|
17
3
|
export const testingProjectFlag = {
|
|
18
4
|
project: Flags.integer({
|
|
19
5
|
char: 'p',
|
|
@@ -119,17 +105,6 @@ export const testingUploadOperationFlags = {
|
|
|
119
105
|
multiple: true,
|
|
120
106
|
}),
|
|
121
107
|
};
|
|
122
|
-
export function testingConnectionOptions(flags) {
|
|
123
|
-
if (flags.pak !== undefined && flags.pat !== undefined && flags.pak !== flags.pat) {
|
|
124
|
-
throw new Error('Use either --pak or --pat, not conflicting values for both.');
|
|
125
|
-
}
|
|
126
|
-
return {
|
|
127
|
-
domain: flags.domain,
|
|
128
|
-
org: flags.org,
|
|
129
|
-
pak: flags.pak ?? flags.pat,
|
|
130
|
-
pat: flags.pat,
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
108
|
export function testingRunOptions(flags, ids) {
|
|
134
109
|
if (flags.branch !== undefined && flags.tag !== undefined) {
|
|
135
110
|
throw new Error('Use either --branch or --tag, not both.');
|
|
@@ -138,7 +113,6 @@ export function testingRunOptions(flags, ids) {
|
|
|
138
113
|
throw new Error('Use either --rerun-failed or --rerun-failed-from-latest, not both.');
|
|
139
114
|
}
|
|
140
115
|
return {
|
|
141
|
-
...testingConnectionOptions(flags),
|
|
142
116
|
branch: flags.branch,
|
|
143
117
|
exclude: flags.exclude,
|
|
144
118
|
include: flags.include,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing-flags.js","sourceRoot":"","sources":["../../src/lib/testing-flags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"testing-flags.js","sourceRoot":"","sources":["../../src/lib/testing-flags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;AAMjC,OAAO,EAAC,4BAA4B,EAAgC,MAAM,oBAAoB,CAAA;AAE9F,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,iBAAiB;QAC9B,QAAQ,EAAE,IAAI;KACf,CAAC;CACH,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,kBAAkB;QAC/B,QAAQ,EAAE,IAAI;KACf,CAAC;CACH,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACnB,WAAW,EAAE,+CAA+C;KAC7D,CAAC;CACH,CAAA;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACnB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