@copado/agentia-cli 0.63.0-alpha.0 → 0.64.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.
@@ -887,16 +887,13 @@
887
887
  "update.js"
888
888
  ]
889
889
  },
890
- "ai:agent:ask": {
890
+ "ai:quota:get": {
891
891
  "aliases": [],
892
892
  "args": {},
893
- "description": "Send a single-turn prompt to a Copado AI agent",
893
+ "description": "Get Copado AI organization quota",
894
894
  "examples": [
895
- "<%= config.bin %> <%= command.id %> --plan -p \"Break this requirement into implementation steps\"",
896
- "<%= config.bin %> <%= command.id %> --build -p \"Generate an Apex handler outline\" --sf-org test14 --user-story US-1042",
897
- "<%= config.bin %> <%= command.id %> --test -p \"Create regression checks\" --component LeadScoringHandler --json",
898
- "<%= config.bin %> <%= command.id %> --operate -p \"Diagnose this deployment error\" --timeout 240",
899
- "<%= config.bin %> <%= command.id %> --knowledge -p \"Summarize our deployment guidance\""
895
+ "<%= config.bin %> <%= command.id %>",
896
+ "<%= config.bin %> <%= command.id %> --domain robotic.copado.com --org 42888 --json"
900
897
  ],
901
898
  "flags": {
902
899
  "json": {
@@ -906,138 +903,45 @@
906
903
  "allowNo": false,
907
904
  "type": "boolean"
908
905
  },
909
- "build": {
910
- "description": "Target the Build agent",
911
- "name": "build",
912
- "allowNo": false,
913
- "type": "boolean"
914
- },
915
- "component": {
916
- "description": "Metadata component name to include in prompt context",
917
- "name": "component",
918
- "hasDynamicHelp": false,
919
- "multiple": false,
920
- "type": "option"
921
- },
922
- "dialogue": {
923
- "description": "Copado AI dialogue UUID to reuse",
924
- "name": "dialogue",
925
- "hasDynamicHelp": false,
926
- "multiple": false,
927
- "type": "option"
928
- },
929
906
  "domain": {
930
- "description": "Copado AI domain hostname used to derive the gateway URL, for example robotic.copado.com",
907
+ "description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
931
908
  "name": "domain",
932
909
  "hasDynamicHelp": false,
933
910
  "multiple": false,
934
911
  "type": "option"
935
912
  },
936
913
  "gateway-url": {
937
- "description": "Full Copado AI gateway base URL used instead of deriving from domain and organization; HTTP is allowed for local testing",
914
+ "description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
938
915
  "name": "gateway-url",
939
916
  "hasDynamicHelp": false,
940
917
  "multiple": false,
941
918
  "type": "option"
942
919
  },
943
- "knowledge": {
944
- "description": "Target the Knowledge agent",
945
- "name": "knowledge",
946
- "allowNo": false,
947
- "type": "boolean"
948
- },
949
- "no-stream": {
950
- "description": "Buffer the full response before printing in human mode",
951
- "name": "no-stream",
952
- "allowNo": false,
953
- "type": "boolean"
954
- },
955
- "operate": {
956
- "description": "Target the Operate agent",
957
- "name": "operate",
958
- "allowNo": false,
959
- "type": "boolean"
960
- },
961
920
  "org": {
962
- "description": "Copado AI organization ID used with --domain",
921
+ "description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
963
922
  "name": "org",
964
923
  "hasDynamicHelp": false,
965
924
  "multiple": false,
966
925
  "type": "option"
967
926
  },
968
927
  "pat": {
969
- "description": "Copado AI PAT token override",
928
+ "description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
970
929
  "name": "pat",
971
930
  "hasDynamicHelp": false,
972
931
  "multiple": false,
973
932
  "type": "option"
974
933
  },
975
- "plan": {
976
- "description": "Target the Plan agent",
977
- "name": "plan",
978
- "allowNo": false,
979
- "type": "boolean"
980
- },
981
- "prompt": {
982
- "char": "p",
983
- "description": "Natural language instruction for the agent",
984
- "name": "prompt",
985
- "required": true,
986
- "hasDynamicHelp": false,
987
- "multiple": false,
988
- "type": "option"
989
- },
990
- "release": {
991
- "description": "Target the Release agent",
992
- "name": "release",
993
- "allowNo": false,
994
- "type": "boolean"
995
- },
996
- "sf-org": {
997
- "description": "Salesforce org or environment name to include in prompt context",
998
- "name": "sf-org",
999
- "hasDynamicHelp": false,
1000
- "multiple": false,
1001
- "type": "option"
1002
- },
1003
- "test": {
1004
- "description": "Target the Test agent",
1005
- "name": "test",
1006
- "allowNo": false,
1007
- "type": "boolean"
1008
- },
1009
934
  "timeout": {
1010
- "description": "AI gateway timeout in seconds for workspace, dialogue, and message calls",
935
+ "description": "AI gateway timeout in seconds.",
1011
936
  "name": "timeout",
1012
937
  "hasDynamicHelp": false,
1013
938
  "multiple": false,
1014
939
  "type": "option"
1015
- },
1016
- "user-story": {
1017
- "description": "User story identifier to include in prompt context",
1018
- "name": "user-story",
1019
- "hasDynamicHelp": false,
1020
- "multiple": false,
1021
- "type": "option"
1022
- },
1023
- "work-item": {
1024
- "description": "Work item identifier to include in prompt context",
1025
- "name": "work-item",
1026
- "hasDynamicHelp": false,
1027
- "multiple": false,
1028
- "type": "option"
1029
- },
1030
- "workspace": {
1031
- "description": "Copado AI workspace UUID to reuse for a new dialogue",
1032
- "name": "workspace",
1033
- "hasDynamicHelp": false,
1034
- "multiple": false,
1035
- "type": "option"
1036
940
  }
1037
941
  },
1038
942
  "hasDynamicHelp": false,
1039
943
  "hiddenAliases": [],
1040
- "id": "ai:agent:ask",
944
+ "id": "ai:quota:get",
1041
945
  "pluginAlias": "@copado/agentia-cli",
1042
946
  "pluginName": "@copado/agentia-cli",
1043
947
  "pluginType": "core",
@@ -1048,136 +952,97 @@
1048
952
  "dist",
1049
953
  "commands",
1050
954
  "ai",
1051
- "agent",
1052
- "ask.js"
955
+ "quota",
956
+ "get.js"
1053
957
  ]
1054
958
  },
1055
- "ai:agent:chat": {
959
+ "ai:workspace:create": {
1056
960
  "aliases": [],
1057
961
  "args": {},
1058
- "description": "Start an interactive Copado AI agent chat session",
962
+ "description": "Create a Copado AI workspace",
1059
963
  "examples": [
1060
- "<%= config.bin %> <%= command.id %> --plan --sf-org test14",
1061
- "<%= config.bin %> <%= command.id %> --build --user-story US-1042 --timeout 240",
1062
- "<%= config.bin %> <%= command.id %> --knowledge",
1063
- "<%= config.bin %> <%= command.id %> --orchestrate --workspace 42d0b908-37b7-4565-9ec9-86eda40c9782"
964
+ "<%= config.bin %> <%= command.id %> --name \"Agentia CLI\"",
965
+ "<%= config.bin %> <%= command.id %> --name \"Agentia CLI\" --description \"CLI workspace\" --capability Reasoning --capability CustomKnowledge"
1064
966
  ],
1065
967
  "flags": {
1066
- "build": {
1067
- "description": "Target the Build agent",
1068
- "name": "build",
968
+ "json": {
969
+ "description": "Format output as json.",
970
+ "helpGroup": "GLOBAL",
971
+ "name": "json",
1069
972
  "allowNo": false,
1070
973
  "type": "boolean"
1071
974
  },
1072
- "component": {
1073
- "description": "Metadata component name to include in prompt context",
1074
- "name": "component",
1075
- "hasDynamicHelp": false,
1076
- "multiple": false,
1077
- "type": "option"
1078
- },
1079
- "dialogue": {
1080
- "description": "Copado AI dialogue UUID to reuse",
1081
- "name": "dialogue",
1082
- "hasDynamicHelp": false,
1083
- "multiple": false,
1084
- "type": "option"
1085
- },
1086
975
  "domain": {
1087
- "description": "Copado AI domain hostname used to derive the gateway URL, for example robotic.copado.com",
976
+ "description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
1088
977
  "name": "domain",
1089
978
  "hasDynamicHelp": false,
1090
979
  "multiple": false,
1091
980
  "type": "option"
1092
981
  },
1093
982
  "gateway-url": {
1094
- "description": "Full Copado AI gateway base URL used instead of deriving from domain and organization; HTTP is allowed for local testing",
983
+ "description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
1095
984
  "name": "gateway-url",
1096
985
  "hasDynamicHelp": false,
1097
986
  "multiple": false,
1098
987
  "type": "option"
1099
988
  },
1100
- "knowledge": {
1101
- "description": "Target the Knowledge agent",
1102
- "name": "knowledge",
1103
- "allowNo": false,
1104
- "type": "boolean"
1105
- },
1106
- "operate": {
1107
- "description": "Target the Operate agent",
1108
- "name": "operate",
1109
- "allowNo": false,
1110
- "type": "boolean"
1111
- },
1112
- "orchestrate": {
1113
- "description": "Target the Orchestrate agent",
1114
- "name": "orchestrate",
1115
- "allowNo": false,
1116
- "type": "boolean"
1117
- },
1118
989
  "org": {
1119
- "description": "Copado AI organization ID used with --domain",
990
+ "description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
1120
991
  "name": "org",
1121
992
  "hasDynamicHelp": false,
1122
993
  "multiple": false,
1123
994
  "type": "option"
1124
995
  },
1125
996
  "pat": {
1126
- "description": "Copado AI PAT token override",
997
+ "description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
1127
998
  "name": "pat",
1128
999
  "hasDynamicHelp": false,
1129
1000
  "multiple": false,
1130
1001
  "type": "option"
1131
1002
  },
1132
- "plan": {
1133
- "description": "Target the Plan agent",
1134
- "name": "plan",
1135
- "allowNo": false,
1136
- "type": "boolean"
1137
- },
1138
- "release": {
1139
- "description": "Target the Release agent",
1140
- "name": "release",
1141
- "allowNo": false,
1142
- "type": "boolean"
1143
- },
1144
- "sf-org": {
1145
- "description": "Salesforce org or environment name to include in prompt context",
1146
- "name": "sf-org",
1147
- "hasDynamicHelp": false,
1148
- "multiple": false,
1149
- "type": "option"
1150
- },
1151
- "test": {
1152
- "description": "Target the Test agent",
1153
- "name": "test",
1154
- "allowNo": false,
1155
- "type": "boolean"
1156
- },
1157
1003
  "timeout": {
1158
- "description": "AI gateway timeout in seconds for workspace, dialogue, and message calls",
1004
+ "description": "AI gateway timeout in seconds.",
1159
1005
  "name": "timeout",
1160
1006
  "hasDynamicHelp": false,
1161
1007
  "multiple": false,
1162
1008
  "type": "option"
1163
1009
  },
1164
- "user-story": {
1165
- "description": "User story identifier to include in prompt context",
1166
- "name": "user-story",
1010
+ "capability": {
1011
+ "description": "Workspace capability. Can be provided multiple times.",
1012
+ "name": "capability",
1167
1013
  "hasDynamicHelp": false,
1168
- "multiple": false,
1014
+ "multiple": true,
1015
+ "options": [
1016
+ "AgentFramework",
1017
+ "Artifacts",
1018
+ "CRTKnowledge",
1019
+ "CustomKnowledge",
1020
+ "DeepResearch",
1021
+ "EssentialsKnowledge",
1022
+ "LongTermMemory",
1023
+ "Mermaid",
1024
+ "MetadataFormatKnowledge",
1025
+ "Mindmap",
1026
+ "OtherKnowledge",
1027
+ "Reasoning",
1028
+ "SourceFormatKnowledge",
1029
+ "STEM",
1030
+ "TabularData",
1031
+ "WebSearch"
1032
+ ],
1169
1033
  "type": "option"
1170
1034
  },
1171
- "work-item": {
1172
- "description": "Work item identifier to include in prompt context",
1173
- "name": "work-item",
1035
+ "description": {
1036
+ "description": "Workspace description.",
1037
+ "name": "description",
1174
1038
  "hasDynamicHelp": false,
1175
1039
  "multiple": false,
1176
1040
  "type": "option"
1177
1041
  },
1178
- "workspace": {
1179
- "description": "Copado AI workspace UUID to reuse for a new dialogue",
1180
- "name": "workspace",
1042
+ "name": {
1043
+ "description": "Workspace name.",
1044
+ "name": "name",
1045
+ "required": true,
1181
1046
  "hasDynamicHelp": false,
1182
1047
  "multiple": false,
1183
1048
  "type": "option"
@@ -1185,200 +1050,22 @@
1185
1050
  },
1186
1051
  "hasDynamicHelp": false,
1187
1052
  "hiddenAliases": [],
1188
- "id": "ai:agent:chat",
1053
+ "id": "ai:workspace:create",
1189
1054
  "pluginAlias": "@copado/agentia-cli",
1190
1055
  "pluginName": "@copado/agentia-cli",
1191
1056
  "pluginType": "core",
1192
1057
  "strict": true,
1193
- "enableJsonFlag": false,
1058
+ "enableJsonFlag": true,
1194
1059
  "isESM": true,
1195
1060
  "relativePath": [
1196
1061
  "dist",
1197
1062
  "commands",
1198
1063
  "ai",
1199
- "agent",
1200
- "chat.js"
1064
+ "workspace",
1065
+ "create.js"
1201
1066
  ]
1202
1067
  },
1203
- "ai:quota:get": {
1204
- "aliases": [],
1205
- "args": {},
1206
- "description": "Get Copado AI organization quota",
1207
- "examples": [
1208
- "<%= config.bin %> <%= command.id %>",
1209
- "<%= config.bin %> <%= command.id %> --domain robotic.copado.com --org 42888 --json"
1210
- ],
1211
- "flags": {
1212
- "json": {
1213
- "description": "Format output as json.",
1214
- "helpGroup": "GLOBAL",
1215
- "name": "json",
1216
- "allowNo": false,
1217
- "type": "boolean"
1218
- },
1219
- "domain": {
1220
- "description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
1221
- "name": "domain",
1222
- "hasDynamicHelp": false,
1223
- "multiple": false,
1224
- "type": "option"
1225
- },
1226
- "gateway-url": {
1227
- "description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
1228
- "name": "gateway-url",
1229
- "hasDynamicHelp": false,
1230
- "multiple": false,
1231
- "type": "option"
1232
- },
1233
- "org": {
1234
- "description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
1235
- "name": "org",
1236
- "hasDynamicHelp": false,
1237
- "multiple": false,
1238
- "type": "option"
1239
- },
1240
- "pat": {
1241
- "description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
1242
- "name": "pat",
1243
- "hasDynamicHelp": false,
1244
- "multiple": false,
1245
- "type": "option"
1246
- },
1247
- "timeout": {
1248
- "description": "AI gateway timeout in seconds.",
1249
- "name": "timeout",
1250
- "hasDynamicHelp": false,
1251
- "multiple": false,
1252
- "type": "option"
1253
- }
1254
- },
1255
- "hasDynamicHelp": false,
1256
- "hiddenAliases": [],
1257
- "id": "ai:quota:get",
1258
- "pluginAlias": "@copado/agentia-cli",
1259
- "pluginName": "@copado/agentia-cli",
1260
- "pluginType": "core",
1261
- "strict": true,
1262
- "enableJsonFlag": true,
1263
- "isESM": true,
1264
- "relativePath": [
1265
- "dist",
1266
- "commands",
1267
- "ai",
1268
- "quota",
1269
- "get.js"
1270
- ]
1271
- },
1272
- "ai:workspace:create": {
1273
- "aliases": [],
1274
- "args": {},
1275
- "description": "Create a Copado AI workspace",
1276
- "examples": [
1277
- "<%= config.bin %> <%= command.id %> --name \"Agentia CLI\"",
1278
- "<%= config.bin %> <%= command.id %> --name \"Agentia CLI\" --description \"CLI workspace\" --capability Reasoning --capability CustomKnowledge"
1279
- ],
1280
- "flags": {
1281
- "json": {
1282
- "description": "Format output as json.",
1283
- "helpGroup": "GLOBAL",
1284
- "name": "json",
1285
- "allowNo": false,
1286
- "type": "boolean"
1287
- },
1288
- "domain": {
1289
- "description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
1290
- "name": "domain",
1291
- "hasDynamicHelp": false,
1292
- "multiple": false,
1293
- "type": "option"
1294
- },
1295
- "gateway-url": {
1296
- "description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
1297
- "name": "gateway-url",
1298
- "hasDynamicHelp": false,
1299
- "multiple": false,
1300
- "type": "option"
1301
- },
1302
- "org": {
1303
- "description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
1304
- "name": "org",
1305
- "hasDynamicHelp": false,
1306
- "multiple": false,
1307
- "type": "option"
1308
- },
1309
- "pat": {
1310
- "description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
1311
- "name": "pat",
1312
- "hasDynamicHelp": false,
1313
- "multiple": false,
1314
- "type": "option"
1315
- },
1316
- "timeout": {
1317
- "description": "AI gateway timeout in seconds.",
1318
- "name": "timeout",
1319
- "hasDynamicHelp": false,
1320
- "multiple": false,
1321
- "type": "option"
1322
- },
1323
- "capability": {
1324
- "description": "Workspace capability. Can be provided multiple times.",
1325
- "name": "capability",
1326
- "hasDynamicHelp": false,
1327
- "multiple": true,
1328
- "options": [
1329
- "AgentFramework",
1330
- "Artifacts",
1331
- "CRTKnowledge",
1332
- "CustomKnowledge",
1333
- "DeepResearch",
1334
- "EssentialsKnowledge",
1335
- "LongTermMemory",
1336
- "Mermaid",
1337
- "MetadataFormatKnowledge",
1338
- "Mindmap",
1339
- "OtherKnowledge",
1340
- "Reasoning",
1341
- "SourceFormatKnowledge",
1342
- "STEM",
1343
- "TabularData",
1344
- "WebSearch"
1345
- ],
1346
- "type": "option"
1347
- },
1348
- "description": {
1349
- "description": "Workspace description.",
1350
- "name": "description",
1351
- "hasDynamicHelp": false,
1352
- "multiple": false,
1353
- "type": "option"
1354
- },
1355
- "name": {
1356
- "description": "Workspace name.",
1357
- "name": "name",
1358
- "required": true,
1359
- "hasDynamicHelp": false,
1360
- "multiple": false,
1361
- "type": "option"
1362
- }
1363
- },
1364
- "hasDynamicHelp": false,
1365
- "hiddenAliases": [],
1366
- "id": "ai:workspace:create",
1367
- "pluginAlias": "@copado/agentia-cli",
1368
- "pluginName": "@copado/agentia-cli",
1369
- "pluginType": "core",
1370
- "strict": true,
1371
- "enableJsonFlag": true,
1372
- "isESM": true,
1373
- "relativePath": [
1374
- "dist",
1375
- "commands",
1376
- "ai",
1377
- "workspace",
1378
- "create.js"
1379
- ]
1380
- },
1381
- "ai:workspace:get": {
1068
+ "ai:workspace:get": {
1382
1069
  "aliases": [],
1383
1070
  "args": {
1384
1071
  "id": {
@@ -1643,14 +1330,16 @@
1643
1330
  "update.js"
1644
1331
  ]
1645
1332
  },
1646
- "cicd:credential:create": {
1333
+ "ai:agent:ask": {
1647
1334
  "aliases": [],
1648
1335
  "args": {},
1649
- "description": "Create a Copado environment credential",
1336
+ "description": "Send a single-turn prompt to a Copado AI agent",
1650
1337
  "examples": [
1651
- "<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\"",
1652
- "<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --default",
1653
- "<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --json"
1338
+ "<%= config.bin %> <%= command.id %> --plan -p \"Break this requirement into implementation steps\"",
1339
+ "<%= config.bin %> <%= command.id %> --build -p \"Generate an Apex handler outline\" --sf-org test14 --user-story US-1042",
1340
+ "<%= config.bin %> <%= command.id %> --test -p \"Create regression checks\" --component LeadScoringHandler --json",
1341
+ "<%= config.bin %> <%= command.id %> --operate -p \"Diagnose this deployment error\" --timeout 240",
1342
+ "<%= config.bin %> <%= command.id %> --knowledge -p \"Summarize our deployment guidance\""
1654
1343
  ],
1655
1344
  "flags": {
1656
1345
  "json": {
@@ -1660,74 +1349,385 @@
1660
1349
  "allowNo": false,
1661
1350
  "type": "boolean"
1662
1351
  },
1663
- "default": {
1664
- "description": "Mark this credential as the environment default",
1665
- "name": "default",
1666
- "allowNo": true,
1352
+ "build": {
1353
+ "description": "Target the Build agent",
1354
+ "name": "build",
1355
+ "allowNo": false,
1667
1356
  "type": "boolean"
1668
1357
  },
1669
- "environmentid": {
1670
- "description": "Copado environment ID",
1671
- "name": "environmentid",
1672
- "required": true,
1358
+ "component": {
1359
+ "description": "Metadata component name to include in prompt context",
1360
+ "name": "component",
1673
1361
  "hasDynamicHelp": false,
1674
1362
  "multiple": false,
1675
1363
  "type": "option"
1676
1364
  },
1677
- "name": {
1678
- "description": "Credential name",
1679
- "name": "name",
1680
- "required": true,
1365
+ "dialogue": {
1366
+ "description": "Copado AI dialogue UUID to reuse",
1367
+ "name": "dialogue",
1681
1368
  "hasDynamicHelp": false,
1682
1369
  "multiple": false,
1683
1370
  "type": "option"
1684
- }
1685
- },
1686
- "hasDynamicHelp": false,
1687
- "hiddenAliases": [],
1688
- "id": "cicd:credential:create",
1689
- "pluginAlias": "@copado/agentia-cli",
1690
- "pluginName": "@copado/agentia-cli",
1691
- "pluginType": "core",
1692
- "strict": true,
1693
- "enableJsonFlag": true,
1694
- "isESM": true,
1695
- "relativePath": [
1696
- "dist",
1697
- "commands",
1698
- "cicd",
1699
- "credential",
1700
- "create.js"
1701
- ]
1702
- },
1703
- "cicd:credential:update": {
1704
- "aliases": [],
1705
- "args": {
1706
- "id": {
1707
- "description": "Copado credential ID",
1708
- "name": "id",
1709
- "required": true
1710
- }
1711
- },
1712
- "description": "Update a Copado environment credential by ID",
1713
- "examples": [
1714
- "<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --name \"CI User\"",
1715
- "<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --default",
1716
- "<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --no-default --json"
1717
- ],
1718
- "flags": {
1719
- "json": {
1720
- "description": "Format output as json.",
1721
- "helpGroup": "GLOBAL",
1722
- "name": "json",
1723
- "allowNo": false,
1724
- "type": "boolean"
1725
- },
1726
- "default": {
1727
- "description": "Mark this credential as the environment default",
1728
- "name": "default",
1729
- "allowNo": true,
1730
- "type": "boolean"
1371
+ },
1372
+ "domain": {
1373
+ "description": "Copado AI domain hostname used to derive the gateway URL, for example robotic.copado.com",
1374
+ "name": "domain",
1375
+ "hasDynamicHelp": false,
1376
+ "multiple": false,
1377
+ "type": "option"
1378
+ },
1379
+ "gateway-url": {
1380
+ "description": "Full Copado AI gateway base URL used instead of deriving from domain and organization; HTTP is allowed for local testing",
1381
+ "name": "gateway-url",
1382
+ "hasDynamicHelp": false,
1383
+ "multiple": false,
1384
+ "type": "option"
1385
+ },
1386
+ "knowledge": {
1387
+ "description": "Target the Knowledge agent",
1388
+ "name": "knowledge",
1389
+ "allowNo": false,
1390
+ "type": "boolean"
1391
+ },
1392
+ "no-stream": {
1393
+ "description": "Buffer the full response before printing in human mode",
1394
+ "name": "no-stream",
1395
+ "allowNo": false,
1396
+ "type": "boolean"
1397
+ },
1398
+ "operate": {
1399
+ "description": "Target the Operate agent",
1400
+ "name": "operate",
1401
+ "allowNo": false,
1402
+ "type": "boolean"
1403
+ },
1404
+ "org": {
1405
+ "description": "Copado AI organization ID used with --domain",
1406
+ "name": "org",
1407
+ "hasDynamicHelp": false,
1408
+ "multiple": false,
1409
+ "type": "option"
1410
+ },
1411
+ "pat": {
1412
+ "description": "Copado AI PAT token override",
1413
+ "name": "pat",
1414
+ "hasDynamicHelp": false,
1415
+ "multiple": false,
1416
+ "type": "option"
1417
+ },
1418
+ "plan": {
1419
+ "description": "Target the Plan agent",
1420
+ "name": "plan",
1421
+ "allowNo": false,
1422
+ "type": "boolean"
1423
+ },
1424
+ "prompt": {
1425
+ "char": "p",
1426
+ "description": "Natural language instruction for the agent",
1427
+ "name": "prompt",
1428
+ "required": true,
1429
+ "hasDynamicHelp": false,
1430
+ "multiple": false,
1431
+ "type": "option"
1432
+ },
1433
+ "release": {
1434
+ "description": "Target the Release agent",
1435
+ "name": "release",
1436
+ "allowNo": false,
1437
+ "type": "boolean"
1438
+ },
1439
+ "sf-org": {
1440
+ "description": "Salesforce org or environment name to include in prompt context",
1441
+ "name": "sf-org",
1442
+ "hasDynamicHelp": false,
1443
+ "multiple": false,
1444
+ "type": "option"
1445
+ },
1446
+ "test": {
1447
+ "description": "Target the Test agent",
1448
+ "name": "test",
1449
+ "allowNo": false,
1450
+ "type": "boolean"
1451
+ },
1452
+ "timeout": {
1453
+ "description": "AI gateway timeout in seconds for workspace, dialogue, and message calls",
1454
+ "name": "timeout",
1455
+ "hasDynamicHelp": false,
1456
+ "multiple": false,
1457
+ "type": "option"
1458
+ },
1459
+ "user-story": {
1460
+ "description": "User story identifier to include in prompt context",
1461
+ "name": "user-story",
1462
+ "hasDynamicHelp": false,
1463
+ "multiple": false,
1464
+ "type": "option"
1465
+ },
1466
+ "work-item": {
1467
+ "description": "Work item identifier to include in prompt context",
1468
+ "name": "work-item",
1469
+ "hasDynamicHelp": false,
1470
+ "multiple": false,
1471
+ "type": "option"
1472
+ },
1473
+ "workspace": {
1474
+ "description": "Copado AI workspace UUID to reuse for a new dialogue",
1475
+ "name": "workspace",
1476
+ "hasDynamicHelp": false,
1477
+ "multiple": false,
1478
+ "type": "option"
1479
+ }
1480
+ },
1481
+ "hasDynamicHelp": false,
1482
+ "hiddenAliases": [],
1483
+ "id": "ai:agent:ask",
1484
+ "pluginAlias": "@copado/agentia-cli",
1485
+ "pluginName": "@copado/agentia-cli",
1486
+ "pluginType": "core",
1487
+ "strict": true,
1488
+ "enableJsonFlag": true,
1489
+ "isESM": true,
1490
+ "relativePath": [
1491
+ "dist",
1492
+ "commands",
1493
+ "ai",
1494
+ "agent",
1495
+ "ask.js"
1496
+ ]
1497
+ },
1498
+ "ai:agent:chat": {
1499
+ "aliases": [],
1500
+ "args": {},
1501
+ "description": "Start an interactive Copado AI agent chat session",
1502
+ "examples": [
1503
+ "<%= config.bin %> <%= command.id %> --plan --sf-org test14",
1504
+ "<%= config.bin %> <%= command.id %> --build --user-story US-1042 --timeout 240",
1505
+ "<%= config.bin %> <%= command.id %> --knowledge",
1506
+ "<%= config.bin %> <%= command.id %> --orchestrate --workspace 42d0b908-37b7-4565-9ec9-86eda40c9782"
1507
+ ],
1508
+ "flags": {
1509
+ "build": {
1510
+ "description": "Target the Build agent",
1511
+ "name": "build",
1512
+ "allowNo": false,
1513
+ "type": "boolean"
1514
+ },
1515
+ "component": {
1516
+ "description": "Metadata component name to include in prompt context",
1517
+ "name": "component",
1518
+ "hasDynamicHelp": false,
1519
+ "multiple": false,
1520
+ "type": "option"
1521
+ },
1522
+ "dialogue": {
1523
+ "description": "Copado AI dialogue UUID to reuse",
1524
+ "name": "dialogue",
1525
+ "hasDynamicHelp": false,
1526
+ "multiple": false,
1527
+ "type": "option"
1528
+ },
1529
+ "domain": {
1530
+ "description": "Copado AI domain hostname used to derive the gateway URL, for example robotic.copado.com",
1531
+ "name": "domain",
1532
+ "hasDynamicHelp": false,
1533
+ "multiple": false,
1534
+ "type": "option"
1535
+ },
1536
+ "gateway-url": {
1537
+ "description": "Full Copado AI gateway base URL used instead of deriving from domain and organization; HTTP is allowed for local testing",
1538
+ "name": "gateway-url",
1539
+ "hasDynamicHelp": false,
1540
+ "multiple": false,
1541
+ "type": "option"
1542
+ },
1543
+ "knowledge": {
1544
+ "description": "Target the Knowledge agent",
1545
+ "name": "knowledge",
1546
+ "allowNo": false,
1547
+ "type": "boolean"
1548
+ },
1549
+ "operate": {
1550
+ "description": "Target the Operate agent",
1551
+ "name": "operate",
1552
+ "allowNo": false,
1553
+ "type": "boolean"
1554
+ },
1555
+ "orchestrate": {
1556
+ "description": "Target the Orchestrate agent",
1557
+ "name": "orchestrate",
1558
+ "allowNo": false,
1559
+ "type": "boolean"
1560
+ },
1561
+ "org": {
1562
+ "description": "Copado AI organization ID used with --domain",
1563
+ "name": "org",
1564
+ "hasDynamicHelp": false,
1565
+ "multiple": false,
1566
+ "type": "option"
1567
+ },
1568
+ "pat": {
1569
+ "description": "Copado AI PAT token override",
1570
+ "name": "pat",
1571
+ "hasDynamicHelp": false,
1572
+ "multiple": false,
1573
+ "type": "option"
1574
+ },
1575
+ "plan": {
1576
+ "description": "Target the Plan agent",
1577
+ "name": "plan",
1578
+ "allowNo": false,
1579
+ "type": "boolean"
1580
+ },
1581
+ "release": {
1582
+ "description": "Target the Release agent",
1583
+ "name": "release",
1584
+ "allowNo": false,
1585
+ "type": "boolean"
1586
+ },
1587
+ "sf-org": {
1588
+ "description": "Salesforce org or environment name to include in prompt context",
1589
+ "name": "sf-org",
1590
+ "hasDynamicHelp": false,
1591
+ "multiple": false,
1592
+ "type": "option"
1593
+ },
1594
+ "test": {
1595
+ "description": "Target the Test agent",
1596
+ "name": "test",
1597
+ "allowNo": false,
1598
+ "type": "boolean"
1599
+ },
1600
+ "timeout": {
1601
+ "description": "AI gateway timeout in seconds for workspace, dialogue, and message calls",
1602
+ "name": "timeout",
1603
+ "hasDynamicHelp": false,
1604
+ "multiple": false,
1605
+ "type": "option"
1606
+ },
1607
+ "user-story": {
1608
+ "description": "User story identifier to include in prompt context",
1609
+ "name": "user-story",
1610
+ "hasDynamicHelp": false,
1611
+ "multiple": false,
1612
+ "type": "option"
1613
+ },
1614
+ "work-item": {
1615
+ "description": "Work item identifier to include in prompt context",
1616
+ "name": "work-item",
1617
+ "hasDynamicHelp": false,
1618
+ "multiple": false,
1619
+ "type": "option"
1620
+ },
1621
+ "workspace": {
1622
+ "description": "Copado AI workspace UUID to reuse for a new dialogue",
1623
+ "name": "workspace",
1624
+ "hasDynamicHelp": false,
1625
+ "multiple": false,
1626
+ "type": "option"
1627
+ }
1628
+ },
1629
+ "hasDynamicHelp": false,
1630
+ "hiddenAliases": [],
1631
+ "id": "ai:agent:chat",
1632
+ "pluginAlias": "@copado/agentia-cli",
1633
+ "pluginName": "@copado/agentia-cli",
1634
+ "pluginType": "core",
1635
+ "strict": true,
1636
+ "enableJsonFlag": false,
1637
+ "isESM": true,
1638
+ "relativePath": [
1639
+ "dist",
1640
+ "commands",
1641
+ "ai",
1642
+ "agent",
1643
+ "chat.js"
1644
+ ]
1645
+ },
1646
+ "cicd:credential:create": {
1647
+ "aliases": [],
1648
+ "args": {},
1649
+ "description": "Create a Copado environment credential",
1650
+ "examples": [
1651
+ "<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\"",
1652
+ "<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --default",
1653
+ "<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --json"
1654
+ ],
1655
+ "flags": {
1656
+ "json": {
1657
+ "description": "Format output as json.",
1658
+ "helpGroup": "GLOBAL",
1659
+ "name": "json",
1660
+ "allowNo": false,
1661
+ "type": "boolean"
1662
+ },
1663
+ "default": {
1664
+ "description": "Mark this credential as the environment default",
1665
+ "name": "default",
1666
+ "allowNo": true,
1667
+ "type": "boolean"
1668
+ },
1669
+ "environmentid": {
1670
+ "description": "Copado environment ID",
1671
+ "name": "environmentid",
1672
+ "required": true,
1673
+ "hasDynamicHelp": false,
1674
+ "multiple": false,
1675
+ "type": "option"
1676
+ },
1677
+ "name": {
1678
+ "description": "Credential name",
1679
+ "name": "name",
1680
+ "required": true,
1681
+ "hasDynamicHelp": false,
1682
+ "multiple": false,
1683
+ "type": "option"
1684
+ }
1685
+ },
1686
+ "hasDynamicHelp": false,
1687
+ "hiddenAliases": [],
1688
+ "id": "cicd:credential:create",
1689
+ "pluginAlias": "@copado/agentia-cli",
1690
+ "pluginName": "@copado/agentia-cli",
1691
+ "pluginType": "core",
1692
+ "strict": true,
1693
+ "enableJsonFlag": true,
1694
+ "isESM": true,
1695
+ "relativePath": [
1696
+ "dist",
1697
+ "commands",
1698
+ "cicd",
1699
+ "credential",
1700
+ "create.js"
1701
+ ]
1702
+ },
1703
+ "cicd:credential:update": {
1704
+ "aliases": [],
1705
+ "args": {
1706
+ "id": {
1707
+ "description": "Copado credential ID",
1708
+ "name": "id",
1709
+ "required": true
1710
+ }
1711
+ },
1712
+ "description": "Update a Copado environment credential by ID",
1713
+ "examples": [
1714
+ "<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --name \"CI User\"",
1715
+ "<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --default",
1716
+ "<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --no-default --json"
1717
+ ],
1718
+ "flags": {
1719
+ "json": {
1720
+ "description": "Format output as json.",
1721
+ "helpGroup": "GLOBAL",
1722
+ "name": "json",
1723
+ "allowNo": false,
1724
+ "type": "boolean"
1725
+ },
1726
+ "default": {
1727
+ "description": "Mark this credential as the environment default",
1728
+ "name": "default",
1729
+ "allowNo": true,
1730
+ "type": "boolean"
1731
1731
  },
1732
1732
  "environmentid": {
1733
1733
  "description": "Copado environment ID",
@@ -3031,6 +3031,20 @@
3031
3031
  "allowNo": false,
3032
3032
  "type": "boolean"
3033
3033
  },
3034
+ "change-date-from": {
3035
+ "description": "Optional change-date-from filter (ISO datetime)",
3036
+ "name": "change-date-from",
3037
+ "hasDynamicHelp": false,
3038
+ "multiple": false,
3039
+ "type": "option"
3040
+ },
3041
+ "change-date-to": {
3042
+ "description": "Optional change-date-to filter (ISO datetime)",
3043
+ "name": "change-date-to",
3044
+ "hasDynamicHelp": false,
3045
+ "multiple": false,
3046
+ "type": "option"
3047
+ },
3034
3048
  "filter-type": {
3035
3049
  "description": "Optional metadata type name filter, for example ApexClass",
3036
3050
  "name": "filter-type",
@@ -8440,7 +8454,178 @@
8440
8454
  },
8441
8455
  "hasDynamicHelp": false,
8442
8456
  "hiddenAliases": [],
8443
- "id": "testing:variable:update",
8457
+ "id": "testing:variable:update",
8458
+ "pluginAlias": "@copado/agentia-cli",
8459
+ "pluginName": "@copado/agentia-cli",
8460
+ "pluginType": "core",
8461
+ "strict": true,
8462
+ "enableJsonFlag": true,
8463
+ "isESM": true,
8464
+ "relativePath": [
8465
+ "dist",
8466
+ "commands",
8467
+ "testing",
8468
+ "variable",
8469
+ "update.js"
8470
+ ]
8471
+ },
8472
+ "ai:workspace:member:invite": {
8473
+ "aliases": [],
8474
+ "args": {
8475
+ "workspace": {
8476
+ "description": "Copado AI workspace UUID.",
8477
+ "name": "workspace",
8478
+ "required": true
8479
+ }
8480
+ },
8481
+ "description": "Invite a member to a Copado AI workspace",
8482
+ "examples": [
8483
+ "<%= config.bin %> <%= command.id %> 42d0b908-37b7-4565-9ec9-86eda40c9782 --user-id 12345 --permission Access",
8484
+ "<%= config.bin %> <%= command.id %> 42d0b908-37b7-4565-9ec9-86eda40c9782 --user-id 12345 --permission Manage --json"
8485
+ ],
8486
+ "flags": {
8487
+ "json": {
8488
+ "description": "Format output as json.",
8489
+ "helpGroup": "GLOBAL",
8490
+ "name": "json",
8491
+ "allowNo": false,
8492
+ "type": "boolean"
8493
+ },
8494
+ "domain": {
8495
+ "description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
8496
+ "name": "domain",
8497
+ "hasDynamicHelp": false,
8498
+ "multiple": false,
8499
+ "type": "option"
8500
+ },
8501
+ "gateway-url": {
8502
+ "description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
8503
+ "name": "gateway-url",
8504
+ "hasDynamicHelp": false,
8505
+ "multiple": false,
8506
+ "type": "option"
8507
+ },
8508
+ "org": {
8509
+ "description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
8510
+ "name": "org",
8511
+ "hasDynamicHelp": false,
8512
+ "multiple": false,
8513
+ "type": "option"
8514
+ },
8515
+ "pat": {
8516
+ "description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
8517
+ "name": "pat",
8518
+ "hasDynamicHelp": false,
8519
+ "multiple": false,
8520
+ "type": "option"
8521
+ },
8522
+ "timeout": {
8523
+ "description": "AI gateway timeout in seconds.",
8524
+ "name": "timeout",
8525
+ "hasDynamicHelp": false,
8526
+ "multiple": false,
8527
+ "type": "option"
8528
+ },
8529
+ "permission": {
8530
+ "description": "Workspace permission for the invited member.",
8531
+ "name": "permission",
8532
+ "required": true,
8533
+ "hasDynamicHelp": false,
8534
+ "multiple": false,
8535
+ "options": [
8536
+ "Access",
8537
+ "Manage"
8538
+ ],
8539
+ "type": "option"
8540
+ },
8541
+ "user-id": {
8542
+ "description": "Copado AI user ID to invite.",
8543
+ "name": "user-id",
8544
+ "required": true,
8545
+ "hasDynamicHelp": false,
8546
+ "multiple": false,
8547
+ "type": "option"
8548
+ }
8549
+ },
8550
+ "hasDynamicHelp": false,
8551
+ "hiddenAliases": [],
8552
+ "id": "ai:workspace:member:invite",
8553
+ "pluginAlias": "@copado/agentia-cli",
8554
+ "pluginName": "@copado/agentia-cli",
8555
+ "pluginType": "core",
8556
+ "strict": true,
8557
+ "enableJsonFlag": true,
8558
+ "isESM": true,
8559
+ "relativePath": [
8560
+ "dist",
8561
+ "commands",
8562
+ "ai",
8563
+ "workspace",
8564
+ "member",
8565
+ "invite.js"
8566
+ ]
8567
+ },
8568
+ "ai:workspace:member:list": {
8569
+ "aliases": [],
8570
+ "args": {
8571
+ "workspace": {
8572
+ "description": "Copado AI workspace UUID.",
8573
+ "name": "workspace",
8574
+ "required": true
8575
+ }
8576
+ },
8577
+ "description": "List members for a Copado AI workspace",
8578
+ "examples": [
8579
+ "<%= config.bin %> <%= command.id %> 42d0b908-37b7-4565-9ec9-86eda40c9782",
8580
+ "<%= config.bin %> <%= command.id %> 42d0b908-37b7-4565-9ec9-86eda40c9782 --json"
8581
+ ],
8582
+ "flags": {
8583
+ "json": {
8584
+ "description": "Format output as json.",
8585
+ "helpGroup": "GLOBAL",
8586
+ "name": "json",
8587
+ "allowNo": false,
8588
+ "type": "boolean"
8589
+ },
8590
+ "domain": {
8591
+ "description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
8592
+ "name": "domain",
8593
+ "hasDynamicHelp": false,
8594
+ "multiple": false,
8595
+ "type": "option"
8596
+ },
8597
+ "gateway-url": {
8598
+ "description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
8599
+ "name": "gateway-url",
8600
+ "hasDynamicHelp": false,
8601
+ "multiple": false,
8602
+ "type": "option"
8603
+ },
8604
+ "org": {
8605
+ "description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
8606
+ "name": "org",
8607
+ "hasDynamicHelp": false,
8608
+ "multiple": false,
8609
+ "type": "option"
8610
+ },
8611
+ "pat": {
8612
+ "description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
8613
+ "name": "pat",
8614
+ "hasDynamicHelp": false,
8615
+ "multiple": false,
8616
+ "type": "option"
8617
+ },
8618
+ "timeout": {
8619
+ "description": "AI gateway timeout in seconds.",
8620
+ "name": "timeout",
8621
+ "hasDynamicHelp": false,
8622
+ "multiple": false,
8623
+ "type": "option"
8624
+ }
8625
+ },
8626
+ "hasDynamicHelp": false,
8627
+ "hiddenAliases": [],
8628
+ "id": "ai:workspace:member:list",
8444
8629
  "pluginAlias": "@copado/agentia-cli",
8445
8630
  "pluginName": "@copado/agentia-cli",
8446
8631
  "pluginType": "core",
@@ -8450,9 +8635,10 @@
8450
8635
  "relativePath": [
8451
8636
  "dist",
8452
8637
  "commands",
8453
- "testing",
8454
- "variable",
8455
- "update.js"
8638
+ "ai",
8639
+ "workspace",
8640
+ "member",
8641
+ "list.js"
8456
8642
  ]
8457
8643
  },
8458
8644
  "cicd:data:commit:create": {
@@ -9433,263 +9619,11 @@
9433
9619
  },
9434
9620
  "cicd:data:template:create": {
9435
9621
  "aliases": [],
9436
- "args": {},
9437
- "description": "Create a Copado data template",
9438
- "examples": [
9439
- "<%= config.bin %> <%= command.id %> --credential-id a0Y... --template-name Accounts --api-name Accounts --main-object-api-name Account --main-object-label Account",
9440
- "<%= config.bin %> <%= command.id %> --credential-id a0Y... --template-name Accounts --api-name Accounts --main-object-api-name Account --main-object-label Account --json"
9441
- ],
9442
- "flags": {
9443
- "json": {
9444
- "description": "Format output as json.",
9445
- "helpGroup": "GLOBAL",
9446
- "name": "json",
9447
- "allowNo": false,
9448
- "type": "boolean"
9449
- },
9450
- "api-name": {
9451
- "description": "Template API name",
9452
- "name": "api-name",
9453
- "required": true,
9454
- "hasDynamicHelp": false,
9455
- "multiple": false,
9456
- "type": "option"
9457
- },
9458
- "credential-id": {
9459
- "description": "Org credential Id",
9460
- "name": "credential-id",
9461
- "required": true,
9462
- "hasDynamicHelp": false,
9463
- "multiple": false,
9464
- "type": "option"
9465
- },
9466
- "main-object-api-name": {
9467
- "description": "Main sObject API name",
9468
- "name": "main-object-api-name",
9469
- "required": true,
9470
- "hasDynamicHelp": false,
9471
- "multiple": false,
9472
- "type": "option"
9473
- },
9474
- "main-object-label": {
9475
- "description": "Main sObject label",
9476
- "name": "main-object-label",
9477
- "required": true,
9478
- "hasDynamicHelp": false,
9479
- "multiple": false,
9480
- "type": "option"
9481
- },
9482
- "template-name": {
9483
- "description": "Template display name",
9484
- "name": "template-name",
9485
- "required": true,
9486
- "hasDynamicHelp": false,
9487
- "multiple": false,
9488
- "type": "option"
9489
- }
9490
- },
9491
- "hasDynamicHelp": false,
9492
- "hiddenAliases": [],
9493
- "id": "cicd:data:template:create",
9494
- "pluginAlias": "@copado/agentia-cli",
9495
- "pluginName": "@copado/agentia-cli",
9496
- "pluginType": "core",
9497
- "strict": true,
9498
- "enableJsonFlag": true,
9499
- "isESM": true,
9500
- "relativePath": [
9501
- "dist",
9502
- "commands",
9503
- "cicd",
9504
- "data",
9505
- "template",
9506
- "create.js"
9507
- ]
9508
- },
9509
- "cicd:data:template:delete": {
9510
- "aliases": [],
9511
- "args": {
9512
- "id": {
9513
- "description": "Data template Id",
9514
- "name": "id",
9515
- "required": true
9516
- }
9517
- },
9518
- "description": "Delete a Copado data template",
9519
- "examples": [
9520
- "<%= config.bin %> <%= command.id %> a0X000000000001",
9521
- "<%= config.bin %> <%= command.id %> a0X000000000001 --json"
9522
- ],
9523
- "flags": {
9524
- "json": {
9525
- "description": "Format output as json.",
9526
- "helpGroup": "GLOBAL",
9527
- "name": "json",
9528
- "allowNo": false,
9529
- "type": "boolean"
9530
- }
9531
- },
9532
- "hasDynamicHelp": false,
9533
- "hiddenAliases": [],
9534
- "id": "cicd:data:template:delete",
9535
- "pluginAlias": "@copado/agentia-cli",
9536
- "pluginName": "@copado/agentia-cli",
9537
- "pluginType": "core",
9538
- "strict": true,
9539
- "enableJsonFlag": true,
9540
- "isESM": true,
9541
- "relativePath": [
9542
- "dist",
9543
- "commands",
9544
- "cicd",
9545
- "data",
9546
- "template",
9547
- "delete.js"
9548
- ]
9549
- },
9550
- "cicd:data:template:get-detail": {
9551
- "aliases": [],
9552
- "args": {
9553
- "id": {
9554
- "description": "Data template Id",
9555
- "name": "id",
9556
- "required": true
9557
- }
9558
- },
9559
- "description": "Get the raw v2 data template detail payload",
9560
- "examples": [
9561
- "<%= config.bin %> <%= command.id %> a0X000000000001",
9562
- "<%= config.bin %> <%= command.id %> a0X000000000001 --json"
9563
- ],
9564
- "flags": {
9565
- "json": {
9566
- "description": "Format output as json.",
9567
- "helpGroup": "GLOBAL",
9568
- "name": "json",
9569
- "allowNo": false,
9570
- "type": "boolean"
9571
- }
9572
- },
9573
- "hasDynamicHelp": false,
9574
- "hiddenAliases": [],
9575
- "id": "cicd:data:template:get-detail",
9576
- "pluginAlias": "@copado/agentia-cli",
9577
- "pluginName": "@copado/agentia-cli",
9578
- "pluginType": "core",
9579
- "strict": true,
9580
- "enableJsonFlag": true,
9581
- "isESM": true,
9582
- "relativePath": [
9583
- "dist",
9584
- "commands",
9585
- "cicd",
9586
- "data",
9587
- "template",
9588
- "get-detail.js"
9589
- ]
9590
- },
9591
- "cicd:data:template:get": {
9592
- "aliases": [],
9593
- "args": {
9594
- "id": {
9595
- "description": "Data template Id",
9596
- "name": "id",
9597
- "required": true
9598
- }
9599
- },
9600
- "description": "Get a data template export graph (selected columns only)",
9601
- "examples": [
9602
- "<%= config.bin %> <%= command.id %> a0X000000000001",
9603
- "<%= config.bin %> <%= command.id %> a0X000000000001 --json"
9604
- ],
9605
- "flags": {
9606
- "json": {
9607
- "description": "Format output as json.",
9608
- "helpGroup": "GLOBAL",
9609
- "name": "json",
9610
- "allowNo": false,
9611
- "type": "boolean"
9612
- }
9613
- },
9614
- "hasDynamicHelp": false,
9615
- "hiddenAliases": [],
9616
- "id": "cicd:data:template:get",
9617
- "pluginAlias": "@copado/agentia-cli",
9618
- "pluginName": "@copado/agentia-cli",
9619
- "pluginType": "core",
9620
- "strict": true,
9621
- "enableJsonFlag": true,
9622
- "isESM": true,
9623
- "relativePath": [
9624
- "dist",
9625
- "commands",
9626
- "cicd",
9627
- "data",
9628
- "template",
9629
- "get.js"
9630
- ]
9631
- },
9632
- "cicd:data:template:list": {
9633
- "aliases": [],
9634
- "args": {},
9635
- "description": "List Copado data templates",
9636
- "examples": [
9637
- "<%= config.bin %> <%= command.id %>",
9638
- "<%= config.bin %> <%= command.id %> --fetch-related --active",
9639
- "<%= config.bin %> <%= command.id %> --no-active --json"
9640
- ],
9641
- "flags": {
9642
- "json": {
9643
- "description": "Format output as json.",
9644
- "helpGroup": "GLOBAL",
9645
- "name": "json",
9646
- "allowNo": false,
9647
- "type": "boolean"
9648
- },
9649
- "active": {
9650
- "description": "Filter by active flag (--active / --no-active)",
9651
- "name": "active",
9652
- "allowNo": true,
9653
- "type": "boolean"
9654
- },
9655
- "fetch-related": {
9656
- "description": "Include related template information",
9657
- "name": "fetch-related",
9658
- "allowNo": false,
9659
- "type": "boolean"
9660
- }
9661
- },
9662
- "hasDynamicHelp": false,
9663
- "hiddenAliases": [],
9664
- "id": "cicd:data:template:list",
9665
- "pluginAlias": "@copado/agentia-cli",
9666
- "pluginName": "@copado/agentia-cli",
9667
- "pluginType": "core",
9668
- "strict": true,
9669
- "enableJsonFlag": true,
9670
- "isESM": true,
9671
- "relativePath": [
9672
- "dist",
9673
- "commands",
9674
- "cicd",
9675
- "data",
9676
- "template",
9677
- "list.js"
9678
- ]
9679
- },
9680
- "cicd:data:template:save-detail": {
9681
- "aliases": [],
9682
- "args": {
9683
- "id": {
9684
- "description": "Data template Id",
9685
- "name": "id",
9686
- "required": true
9687
- }
9688
- },
9689
- "description": "Save a v2 data template detail payload",
9622
+ "args": {},
9623
+ "description": "Create a Copado data template",
9690
9624
  "examples": [
9691
- "<%= config.bin %> <%= command.id %> a0X000000000001 --file detail.json",
9692
- "<%= config.bin %> <%= command.id %> a0X000000000001 --stdin --json"
9625
+ "<%= config.bin %> <%= command.id %> --credential-id a0Y... --template-name Accounts --api-name Accounts --main-object-api-name Account --main-object-label Account",
9626
+ "<%= config.bin %> <%= command.id %> --credential-id a0Y... --template-name Accounts --api-name Accounts --main-object-api-name Account --main-object-label Account --json"
9693
9627
  ],
9694
9628
  "flags": {
9695
9629
  "json": {
@@ -9699,30 +9633,50 @@
9699
9633
  "allowNo": false,
9700
9634
  "type": "boolean"
9701
9635
  },
9702
- "file": {
9703
- "char": "f",
9704
- "description": "Path to a JSON file body",
9705
- "exclusive": [
9706
- "stdin"
9707
- ],
9708
- "name": "file",
9636
+ "api-name": {
9637
+ "description": "Template API name",
9638
+ "name": "api-name",
9639
+ "required": true,
9709
9640
  "hasDynamicHelp": false,
9710
9641
  "multiple": false,
9711
9642
  "type": "option"
9712
9643
  },
9713
- "stdin": {
9714
- "description": "Read the JSON body from stdin",
9715
- "exclusive": [
9716
- "file"
9717
- ],
9718
- "name": "stdin",
9719
- "allowNo": false,
9720
- "type": "boolean"
9644
+ "credential-id": {
9645
+ "description": "Org credential Id",
9646
+ "name": "credential-id",
9647
+ "required": true,
9648
+ "hasDynamicHelp": false,
9649
+ "multiple": false,
9650
+ "type": "option"
9651
+ },
9652
+ "main-object-api-name": {
9653
+ "description": "Main sObject API name",
9654
+ "name": "main-object-api-name",
9655
+ "required": true,
9656
+ "hasDynamicHelp": false,
9657
+ "multiple": false,
9658
+ "type": "option"
9659
+ },
9660
+ "main-object-label": {
9661
+ "description": "Main sObject label",
9662
+ "name": "main-object-label",
9663
+ "required": true,
9664
+ "hasDynamicHelp": false,
9665
+ "multiple": false,
9666
+ "type": "option"
9667
+ },
9668
+ "template-name": {
9669
+ "description": "Template display name",
9670
+ "name": "template-name",
9671
+ "required": true,
9672
+ "hasDynamicHelp": false,
9673
+ "multiple": false,
9674
+ "type": "option"
9721
9675
  }
9722
9676
  },
9723
9677
  "hasDynamicHelp": false,
9724
9678
  "hiddenAliases": [],
9725
- "id": "cicd:data:template:save-detail",
9679
+ "id": "cicd:data:template:create",
9726
9680
  "pluginAlias": "@copado/agentia-cli",
9727
9681
  "pluginName": "@copado/agentia-cli",
9728
9682
  "pluginType": "core",
@@ -9735,23 +9689,22 @@
9735
9689
  "cicd",
9736
9690
  "data",
9737
9691
  "template",
9738
- "save-detail.js"
9692
+ "create.js"
9739
9693
  ]
9740
9694
  },
9741
- "cicd:environment:auth:status": {
9695
+ "cicd:data:template:delete": {
9742
9696
  "aliases": [],
9743
9697
  "args": {
9744
9698
  "id": {
9745
- "description": "Copado environment ID",
9699
+ "description": "Data template Id",
9746
9700
  "name": "id",
9747
9701
  "required": true
9748
9702
  }
9749
9703
  },
9750
- "description": "Validate the authentication status of an environment credential",
9704
+ "description": "Delete a Copado data template",
9751
9705
  "examples": [
9752
- "<%= config.bin %> <%= command.id %> <environment-id>",
9753
- "<%= config.bin %> <%= command.id %> <environment-id> --credentialid <credential-id>",
9754
- "<%= config.bin %> <%= command.id %> <environment-id> --json"
9706
+ "<%= config.bin %> <%= command.id %> a0X000000000001",
9707
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --json"
9755
9708
  ],
9756
9709
  "flags": {
9757
9710
  "json": {
@@ -9760,18 +9713,11 @@
9760
9713
  "name": "json",
9761
9714
  "allowNo": false,
9762
9715
  "type": "boolean"
9763
- },
9764
- "credentialid": {
9765
- "description": "Credential ID to validate when automatic selection is not possible",
9766
- "name": "credentialid",
9767
- "hasDynamicHelp": false,
9768
- "multiple": false,
9769
- "type": "option"
9770
9716
  }
9771
9717
  },
9772
9718
  "hasDynamicHelp": false,
9773
9719
  "hiddenAliases": [],
9774
- "id": "cicd:environment:auth:status",
9720
+ "id": "cicd:data:template:delete",
9775
9721
  "pluginAlias": "@copado/agentia-cli",
9776
9722
  "pluginName": "@copado/agentia-cli",
9777
9723
  "pluginType": "core",
@@ -9782,24 +9728,24 @@
9782
9728
  "dist",
9783
9729
  "commands",
9784
9730
  "cicd",
9785
- "environment",
9786
- "auth",
9787
- "status.js"
9731
+ "data",
9732
+ "template",
9733
+ "delete.js"
9788
9734
  ]
9789
9735
  },
9790
- "ai:workspace:member:invite": {
9736
+ "cicd:data:template:get-detail": {
9791
9737
  "aliases": [],
9792
9738
  "args": {
9793
- "workspace": {
9794
- "description": "Copado AI workspace UUID.",
9795
- "name": "workspace",
9739
+ "id": {
9740
+ "description": "Data template Id",
9741
+ "name": "id",
9796
9742
  "required": true
9797
9743
  }
9798
9744
  },
9799
- "description": "Invite a member to a Copado AI workspace",
9745
+ "description": "Get the raw v2 data template detail payload",
9800
9746
  "examples": [
9801
- "<%= config.bin %> <%= command.id %> 42d0b908-37b7-4565-9ec9-86eda40c9782 --user-id 12345 --permission Access",
9802
- "<%= config.bin %> <%= command.id %> 42d0b908-37b7-4565-9ec9-86eda40c9782 --user-id 12345 --permission Manage --json"
9747
+ "<%= config.bin %> <%= command.id %> a0X000000000001",
9748
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --json"
9803
9749
  ],
9804
9750
  "flags": {
9805
9751
  "json": {
@@ -9808,66 +9754,11 @@
9808
9754
  "name": "json",
9809
9755
  "allowNo": false,
9810
9756
  "type": "boolean"
9811
- },
9812
- "domain": {
9813
- "description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
9814
- "name": "domain",
9815
- "hasDynamicHelp": false,
9816
- "multiple": false,
9817
- "type": "option"
9818
- },
9819
- "gateway-url": {
9820
- "description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
9821
- "name": "gateway-url",
9822
- "hasDynamicHelp": false,
9823
- "multiple": false,
9824
- "type": "option"
9825
- },
9826
- "org": {
9827
- "description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
9828
- "name": "org",
9829
- "hasDynamicHelp": false,
9830
- "multiple": false,
9831
- "type": "option"
9832
- },
9833
- "pat": {
9834
- "description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
9835
- "name": "pat",
9836
- "hasDynamicHelp": false,
9837
- "multiple": false,
9838
- "type": "option"
9839
- },
9840
- "timeout": {
9841
- "description": "AI gateway timeout in seconds.",
9842
- "name": "timeout",
9843
- "hasDynamicHelp": false,
9844
- "multiple": false,
9845
- "type": "option"
9846
- },
9847
- "permission": {
9848
- "description": "Workspace permission for the invited member.",
9849
- "name": "permission",
9850
- "required": true,
9851
- "hasDynamicHelp": false,
9852
- "multiple": false,
9853
- "options": [
9854
- "Access",
9855
- "Manage"
9856
- ],
9857
- "type": "option"
9858
- },
9859
- "user-id": {
9860
- "description": "Copado AI user ID to invite.",
9861
- "name": "user-id",
9862
- "required": true,
9863
- "hasDynamicHelp": false,
9864
- "multiple": false,
9865
- "type": "option"
9866
9757
  }
9867
9758
  },
9868
9759
  "hasDynamicHelp": false,
9869
9760
  "hiddenAliases": [],
9870
- "id": "ai:workspace:member:invite",
9761
+ "id": "cicd:data:template:get-detail",
9871
9762
  "pluginAlias": "@copado/agentia-cli",
9872
9763
  "pluginName": "@copado/agentia-cli",
9873
9764
  "pluginType": "core",
@@ -9877,25 +9768,25 @@
9877
9768
  "relativePath": [
9878
9769
  "dist",
9879
9770
  "commands",
9880
- "ai",
9881
- "workspace",
9882
- "member",
9883
- "invite.js"
9771
+ "cicd",
9772
+ "data",
9773
+ "template",
9774
+ "get-detail.js"
9884
9775
  ]
9885
9776
  },
9886
- "ai:workspace:member:list": {
9777
+ "cicd:data:template:get": {
9887
9778
  "aliases": [],
9888
9779
  "args": {
9889
- "workspace": {
9890
- "description": "Copado AI workspace UUID.",
9891
- "name": "workspace",
9780
+ "id": {
9781
+ "description": "Data template Id",
9782
+ "name": "id",
9892
9783
  "required": true
9893
9784
  }
9894
9785
  },
9895
- "description": "List members for a Copado AI workspace",
9786
+ "description": "Get a data template export graph (selected columns only)",
9896
9787
  "examples": [
9897
- "<%= config.bin %> <%= command.id %> 42d0b908-37b7-4565-9ec9-86eda40c9782",
9898
- "<%= config.bin %> <%= command.id %> 42d0b908-37b7-4565-9ec9-86eda40c9782 --json"
9788
+ "<%= config.bin %> <%= command.id %> a0X000000000001",
9789
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --json"
9899
9790
  ],
9900
9791
  "flags": {
9901
9792
  "json": {
@@ -9904,46 +9795,11 @@
9904
9795
  "name": "json",
9905
9796
  "allowNo": false,
9906
9797
  "type": "boolean"
9907
- },
9908
- "domain": {
9909
- "description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
9910
- "name": "domain",
9911
- "hasDynamicHelp": false,
9912
- "multiple": false,
9913
- "type": "option"
9914
- },
9915
- "gateway-url": {
9916
- "description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
9917
- "name": "gateway-url",
9918
- "hasDynamicHelp": false,
9919
- "multiple": false,
9920
- "type": "option"
9921
- },
9922
- "org": {
9923
- "description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
9924
- "name": "org",
9925
- "hasDynamicHelp": false,
9926
- "multiple": false,
9927
- "type": "option"
9928
- },
9929
- "pat": {
9930
- "description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
9931
- "name": "pat",
9932
- "hasDynamicHelp": false,
9933
- "multiple": false,
9934
- "type": "option"
9935
- },
9936
- "timeout": {
9937
- "description": "AI gateway timeout in seconds.",
9938
- "name": "timeout",
9939
- "hasDynamicHelp": false,
9940
- "multiple": false,
9941
- "type": "option"
9942
9798
  }
9943
9799
  },
9944
9800
  "hasDynamicHelp": false,
9945
9801
  "hiddenAliases": [],
9946
- "id": "ai:workspace:member:list",
9802
+ "id": "cicd:data:template:get",
9947
9803
  "pluginAlias": "@copado/agentia-cli",
9948
9804
  "pluginName": "@copado/agentia-cli",
9949
9805
  "pluginType": "core",
@@ -9953,25 +9809,20 @@
9953
9809
  "relativePath": [
9954
9810
  "dist",
9955
9811
  "commands",
9956
- "ai",
9957
- "workspace",
9958
- "member",
9959
- "list.js"
9812
+ "cicd",
9813
+ "data",
9814
+ "template",
9815
+ "get.js"
9960
9816
  ]
9961
9817
  },
9962
- "cicd:function:result:get": {
9818
+ "cicd:data:template:list": {
9963
9819
  "aliases": [],
9964
- "args": {
9965
- "result-id": {
9966
- "description": "Function result Id",
9967
- "name": "result-id",
9968
- "required": true
9969
- }
9970
- },
9971
- "description": "Get Copado Function execution status by result Id",
9820
+ "args": {},
9821
+ "description": "List Copado data templates",
9972
9822
  "examples": [
9973
- "<%= config.bin %> <%= command.id %> <result-id>",
9974
- "<%= config.bin %> <%= command.id %> <result-id> --json"
9823
+ "<%= config.bin %> <%= command.id %>",
9824
+ "<%= config.bin %> <%= command.id %> --fetch-related --active",
9825
+ "<%= config.bin %> <%= command.id %> --no-active --json"
9975
9826
  ],
9976
9827
  "flags": {
9977
9828
  "json": {
@@ -9980,11 +9831,23 @@
9980
9831
  "name": "json",
9981
9832
  "allowNo": false,
9982
9833
  "type": "boolean"
9834
+ },
9835
+ "active": {
9836
+ "description": "Filter by active flag (--active / --no-active)",
9837
+ "name": "active",
9838
+ "allowNo": true,
9839
+ "type": "boolean"
9840
+ },
9841
+ "fetch-related": {
9842
+ "description": "Include related template information",
9843
+ "name": "fetch-related",
9844
+ "allowNo": false,
9845
+ "type": "boolean"
9983
9846
  }
9984
9847
  },
9985
9848
  "hasDynamicHelp": false,
9986
9849
  "hiddenAliases": [],
9987
- "id": "cicd:function:result:get",
9850
+ "id": "cicd:data:template:list",
9988
9851
  "pluginAlias": "@copado/agentia-cli",
9989
9852
  "pluginName": "@copado/agentia-cli",
9990
9853
  "pluginType": "core",
@@ -9995,25 +9858,24 @@
9995
9858
  "dist",
9996
9859
  "commands",
9997
9860
  "cicd",
9998
- "function",
9999
- "result",
10000
- "get.js"
9861
+ "data",
9862
+ "template",
9863
+ "list.js"
10001
9864
  ]
10002
9865
  },
10003
- "cicd:job:log:get": {
9866
+ "cicd:data:template:save-detail": {
10004
9867
  "aliases": [],
10005
9868
  "args": {
10006
9869
  "id": {
10007
- "description": "JobExecution Id",
9870
+ "description": "Data template Id",
10008
9871
  "name": "id",
10009
9872
  "required": true
10010
9873
  }
10011
9874
  },
10012
- "description": "Get log output for a Copado job execution step",
9875
+ "description": "Save a v2 data template detail payload",
10013
9876
  "examples": [
10014
- "<%= config.bin %> <%= command.id %> <job-id>",
10015
- "<%= config.bin %> <%= command.id %> <job-id> --step <step-id>",
10016
- "<%= config.bin %> <%= command.id %> <job-id> --json"
9877
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --file detail.json",
9878
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --stdin --json"
10017
9879
  ],
10018
9880
  "flags": {
10019
9881
  "json": {
@@ -10023,17 +9885,30 @@
10023
9885
  "allowNo": false,
10024
9886
  "type": "boolean"
10025
9887
  },
10026
- "step": {
10027
- "description": "Job step Id (defaults to the first step with a result Id)",
10028
- "name": "step",
9888
+ "file": {
9889
+ "char": "f",
9890
+ "description": "Path to a JSON file body",
9891
+ "exclusive": [
9892
+ "stdin"
9893
+ ],
9894
+ "name": "file",
10029
9895
  "hasDynamicHelp": false,
10030
9896
  "multiple": false,
10031
9897
  "type": "option"
9898
+ },
9899
+ "stdin": {
9900
+ "description": "Read the JSON body from stdin",
9901
+ "exclusive": [
9902
+ "file"
9903
+ ],
9904
+ "name": "stdin",
9905
+ "allowNo": false,
9906
+ "type": "boolean"
10032
9907
  }
10033
9908
  },
10034
9909
  "hasDynamicHelp": false,
10035
9910
  "hiddenAliases": [],
10036
- "id": "cicd:job:log:get",
9911
+ "id": "cicd:data:template:save-detail",
10037
9912
  "pluginAlias": "@copado/agentia-cli",
10038
9913
  "pluginName": "@copado/agentia-cli",
10039
9914
  "pluginType": "core",
@@ -10044,19 +9919,25 @@
10044
9919
  "dist",
10045
9920
  "commands",
10046
9921
  "cicd",
10047
- "job",
10048
- "log",
10049
- "get.js"
9922
+ "data",
9923
+ "template",
9924
+ "save-detail.js"
10050
9925
  ]
10051
9926
  },
10052
- "cicd:metadata:content:compare": {
9927
+ "cicd:environment:auth:status": {
10053
9928
  "aliases": [],
10054
- "args": {},
10055
- "description": "Compare metadata file content between two orgs or Git branches",
9929
+ "args": {
9930
+ "id": {
9931
+ "description": "Copado environment ID",
9932
+ "name": "id",
9933
+ "required": true
9934
+ }
9935
+ },
9936
+ "description": "Validate the authentication status of an environment credential",
10056
9937
  "examples": [
10057
- "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
10058
- "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --source REPOSITORY --source-branch feature/us-123 --target-source REPOSITORY --target-branch main",
10059
- "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --json"
9938
+ "<%= config.bin %> <%= command.id %> <environment-id>",
9939
+ "<%= config.bin %> <%= command.id %> <environment-id> --credentialid <credential-id>",
9940
+ "<%= config.bin %> <%= command.id %> <environment-id> --json"
10060
9941
  ],
10061
9942
  "flags": {
10062
9943
  "json": {
@@ -10066,112 +9947,17 @@
10066
9947
  "allowNo": false,
10067
9948
  "type": "boolean"
10068
9949
  },
10069
- "api-name": {
10070
- "description": "Metadata API name",
10071
- "name": "api-name",
10072
- "required": true,
10073
- "hasDynamicHelp": false,
10074
- "multiple": false,
10075
- "type": "option"
10076
- },
10077
- "file-name": {
10078
- "description": "Optional metadata file name",
10079
- "name": "file-name",
10080
- "hasDynamicHelp": false,
10081
- "multiple": false,
10082
- "type": "option"
10083
- },
10084
- "metadata-type": {
10085
- "description": "Metadata type, for example ApexClass",
10086
- "name": "metadata-type",
10087
- "required": true,
10088
- "hasDynamicHelp": false,
10089
- "multiple": false,
10090
- "type": "option"
10091
- },
10092
- "pipeline-id": {
10093
- "description": "Pipeline Id",
10094
- "name": "pipeline-id",
10095
- "hasDynamicHelp": false,
10096
- "multiple": false,
10097
- "type": "option"
10098
- },
10099
- "source": {
10100
- "description": "Content source for the source side",
10101
- "name": "source",
10102
- "default": "ENVIRONMENT",
10103
- "hasDynamicHelp": false,
10104
- "multiple": false,
10105
- "options": [
10106
- "ENVIRONMENT",
10107
- "REPOSITORY",
10108
- "GIT_MIRROR",
10109
- "ORG_CACHE"
10110
- ],
10111
- "type": "option"
10112
- },
10113
- "source-branch": {
10114
- "description": "Git branch for the source side when source is REPOSITORY or GIT_MIRROR",
10115
- "name": "source-branch",
10116
- "default": "",
10117
- "hasDynamicHelp": false,
10118
- "multiple": false,
10119
- "type": "option"
10120
- },
10121
- "source-credential-id": {
10122
- "description": "Source org credential Id",
10123
- "name": "source-credential-id",
10124
- "hasDynamicHelp": false,
10125
- "multiple": false,
10126
- "type": "option"
10127
- },
10128
- "source-org-id": {
10129
- "description": "Source org Id",
10130
- "name": "source-org-id",
10131
- "hasDynamicHelp": false,
10132
- "multiple": false,
10133
- "type": "option"
10134
- },
10135
- "target-branch": {
10136
- "description": "Git branch for the target side when target source is REPOSITORY or GIT_MIRROR",
10137
- "name": "target-branch",
10138
- "default": "",
10139
- "hasDynamicHelp": false,
10140
- "multiple": false,
10141
- "type": "option"
10142
- },
10143
- "target-credential-id": {
10144
- "description": "Target org credential Id; defaults to the source credential",
10145
- "name": "target-credential-id",
10146
- "hasDynamicHelp": false,
10147
- "multiple": false,
10148
- "type": "option"
10149
- },
10150
- "target-org-id": {
10151
- "description": "Target org Id",
10152
- "name": "target-org-id",
10153
- "hasDynamicHelp": false,
10154
- "multiple": false,
10155
- "type": "option"
10156
- },
10157
- "target-source": {
10158
- "description": "Content source for the target side",
10159
- "name": "target-source",
10160
- "default": "ENVIRONMENT",
9950
+ "credentialid": {
9951
+ "description": "Credential ID to validate when automatic selection is not possible",
9952
+ "name": "credentialid",
10161
9953
  "hasDynamicHelp": false,
10162
9954
  "multiple": false,
10163
- "options": [
10164
- "ENVIRONMENT",
10165
- "REPOSITORY",
10166
- "GIT_MIRROR",
10167
- "ORG_CACHE"
10168
- ],
10169
9955
  "type": "option"
10170
9956
  }
10171
9957
  },
10172
9958
  "hasDynamicHelp": false,
10173
9959
  "hiddenAliases": [],
10174
- "id": "cicd:metadata:content:compare",
9960
+ "id": "cicd:environment:auth:status",
10175
9961
  "pluginAlias": "@copado/agentia-cli",
10176
9962
  "pluginName": "@copado/agentia-cli",
10177
9963
  "pluginType": "core",
@@ -10182,19 +9968,24 @@
10182
9968
  "dist",
10183
9969
  "commands",
10184
9970
  "cicd",
10185
- "metadata",
10186
- "content",
10187
- "compare.js"
9971
+ "environment",
9972
+ "auth",
9973
+ "status.js"
10188
9974
  ]
10189
9975
  },
10190
- "cicd:metadata:content:get": {
9976
+ "cicd:function:result:get": {
10191
9977
  "aliases": [],
10192
- "args": {},
10193
- "description": "Retrieve metadata file content via the CICD gateway",
9978
+ "args": {
9979
+ "result-id": {
9980
+ "description": "Function result Id",
9981
+ "name": "result-id",
9982
+ "required": true
9983
+ }
9984
+ },
9985
+ "description": "Get Copado Function execution status by result Id",
10194
9986
  "examples": [
10195
- "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --pipeline-id <id> --source-org-id <id>",
10196
- "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --show",
10197
- "<%= config.bin %> <%= command.id %> --file requests.json --json"
9987
+ "<%= config.bin %> <%= command.id %> <result-id>",
9988
+ "<%= config.bin %> <%= command.id %> <result-id> --json"
10198
9989
  ],
10199
9990
  "flags": {
10200
9991
  "json": {
@@ -10203,93 +9994,52 @@
10203
9994
  "name": "json",
10204
9995
  "allowNo": false,
10205
9996
  "type": "boolean"
10206
- },
10207
- "api-name": {
10208
- "description": "Metadata API name",
10209
- "name": "api-name",
10210
- "hasDynamicHelp": false,
10211
- "multiple": false,
10212
- "type": "option"
10213
- },
10214
- "branch": {
10215
- "description": "Git branch when source is REPOSITORY or GIT_MIRROR",
10216
- "name": "branch",
10217
- "hasDynamicHelp": false,
10218
- "multiple": false,
10219
- "type": "option"
10220
- },
10221
- "file": {
10222
- "description": "Path to a JSON file with an array of metadata content requests",
10223
- "name": "file",
10224
- "hasDynamicHelp": false,
10225
- "multiple": false,
10226
- "type": "option"
10227
- },
10228
- "file-name": {
10229
- "description": "Optional metadata file name",
10230
- "name": "file-name",
10231
- "hasDynamicHelp": false,
10232
- "multiple": false,
10233
- "type": "option"
10234
- },
10235
- "metadata-type": {
10236
- "description": "Metadata type, for example ApexClass",
10237
- "name": "metadata-type",
10238
- "hasDynamicHelp": false,
10239
- "multiple": false,
10240
- "type": "option"
10241
- },
10242
- "output-file": {
10243
- "description": "Write decoded content from the first result to this file path",
10244
- "name": "output-file",
10245
- "hasDynamicHelp": false,
10246
- "multiple": false,
10247
- "type": "option"
10248
- },
10249
- "pipeline-id": {
10250
- "description": "Pipeline Id",
10251
- "name": "pipeline-id",
10252
- "hasDynamicHelp": false,
10253
- "multiple": false,
10254
- "type": "option"
10255
- },
10256
- "result-id": {
10257
- "description": "Optional result Id from a prior metadata operation",
10258
- "name": "result-id",
10259
- "hasDynamicHelp": false,
10260
- "multiple": false,
10261
- "type": "option"
10262
- },
10263
- "show": {
10264
- "description": "Print decoded metadata content to stdout after retrieval",
10265
- "name": "show",
9997
+ }
9998
+ },
9999
+ "hasDynamicHelp": false,
10000
+ "hiddenAliases": [],
10001
+ "id": "cicd:function:result:get",
10002
+ "pluginAlias": "@copado/agentia-cli",
10003
+ "pluginName": "@copado/agentia-cli",
10004
+ "pluginType": "core",
10005
+ "strict": true,
10006
+ "enableJsonFlag": true,
10007
+ "isESM": true,
10008
+ "relativePath": [
10009
+ "dist",
10010
+ "commands",
10011
+ "cicd",
10012
+ "function",
10013
+ "result",
10014
+ "get.js"
10015
+ ]
10016
+ },
10017
+ "cicd:job:log:get": {
10018
+ "aliases": [],
10019
+ "args": {
10020
+ "id": {
10021
+ "description": "JobExecution Id",
10022
+ "name": "id",
10023
+ "required": true
10024
+ }
10025
+ },
10026
+ "description": "Get log output for a Copado job execution step",
10027
+ "examples": [
10028
+ "<%= config.bin %> <%= command.id %> <job-id>",
10029
+ "<%= config.bin %> <%= command.id %> <job-id> --step <step-id>",
10030
+ "<%= config.bin %> <%= command.id %> <job-id> --json"
10031
+ ],
10032
+ "flags": {
10033
+ "json": {
10034
+ "description": "Format output as json.",
10035
+ "helpGroup": "GLOBAL",
10036
+ "name": "json",
10266
10037
  "allowNo": false,
10267
10038
  "type": "boolean"
10268
10039
  },
10269
- "source": {
10270
- "description": "Content source",
10271
- "name": "source",
10272
- "default": "ENVIRONMENT",
10273
- "hasDynamicHelp": false,
10274
- "multiple": false,
10275
- "options": [
10276
- "ENVIRONMENT",
10277
- "REPOSITORY",
10278
- "GIT_MIRROR",
10279
- "ORG_CACHE"
10280
- ],
10281
- "type": "option"
10282
- },
10283
- "source-credential-id": {
10284
- "description": "Source org credential Id",
10285
- "name": "source-credential-id",
10286
- "hasDynamicHelp": false,
10287
- "multiple": false,
10288
- "type": "option"
10289
- },
10290
- "source-org-id": {
10291
- "description": "Source org Id",
10292
- "name": "source-org-id",
10040
+ "step": {
10041
+ "description": "Job step Id (defaults to the first step with a result Id)",
10042
+ "name": "step",
10293
10043
  "hasDynamicHelp": false,
10294
10044
  "multiple": false,
10295
10045
  "type": "option"
@@ -10297,7 +10047,7 @@
10297
10047
  },
10298
10048
  "hasDynamicHelp": false,
10299
10049
  "hiddenAliases": [],
10300
- "id": "cicd:metadata:content:get",
10050
+ "id": "cicd:job:log:get",
10301
10051
  "pluginAlias": "@copado/agentia-cli",
10302
10052
  "pluginName": "@copado/agentia-cli",
10303
10053
  "pluginType": "core",
@@ -10308,8 +10058,8 @@
10308
10058
  "dist",
10309
10059
  "commands",
10310
10060
  "cicd",
10311
- "metadata",
10312
- "content",
10061
+ "job",
10062
+ "log",
10313
10063
  "get.js"
10314
10064
  ]
10315
10065
  },
@@ -10975,71 +10725,300 @@
10975
10725
  "allowNo": false,
10976
10726
  "type": "boolean"
10977
10727
  },
10978
- "credential": {
10979
- "description": "Default source credential",
10980
- "name": "credential",
10728
+ "credential": {
10729
+ "description": "Default source credential",
10730
+ "name": "credential",
10731
+ "hasDynamicHelp": false,
10732
+ "multiple": false,
10733
+ "type": "option"
10734
+ },
10735
+ "environment": {
10736
+ "description": "Default environment",
10737
+ "name": "environment",
10738
+ "hasDynamicHelp": false,
10739
+ "multiple": false,
10740
+ "type": "option"
10741
+ },
10742
+ "epic": {
10743
+ "description": "Default epic",
10744
+ "name": "epic",
10745
+ "hasDynamicHelp": false,
10746
+ "multiple": false,
10747
+ "type": "option"
10748
+ },
10749
+ "feature": {
10750
+ "description": "Default feature",
10751
+ "name": "feature",
10752
+ "hasDynamicHelp": false,
10753
+ "multiple": false,
10754
+ "type": "option"
10755
+ },
10756
+ "project": {
10757
+ "description": "Default project",
10758
+ "name": "project",
10759
+ "hasDynamicHelp": false,
10760
+ "multiple": false,
10761
+ "type": "option"
10762
+ },
10763
+ "sprint": {
10764
+ "description": "Default sprint",
10765
+ "name": "sprint",
10766
+ "hasDynamicHelp": false,
10767
+ "multiple": false,
10768
+ "type": "option"
10769
+ },
10770
+ "team": {
10771
+ "description": "Default team",
10772
+ "name": "team",
10773
+ "hasDynamicHelp": false,
10774
+ "multiple": false,
10775
+ "type": "option"
10776
+ },
10777
+ "assign-me": {
10778
+ "description": "Assign work items to the current user by default",
10779
+ "name": "assign-me",
10780
+ "allowNo": false,
10781
+ "type": "boolean"
10782
+ },
10783
+ "global": {
10784
+ "description": "Use machine-wide defaults instead of project-local defaults",
10785
+ "name": "global",
10786
+ "allowNo": false,
10787
+ "type": "boolean"
10788
+ }
10789
+ },
10790
+ "hasDynamicHelp": false,
10791
+ "hiddenAliases": [],
10792
+ "id": "cicd:project:default:set",
10793
+ "pluginAlias": "@copado/agentia-cli",
10794
+ "pluginName": "@copado/agentia-cli",
10795
+ "pluginType": "core",
10796
+ "strict": true,
10797
+ "enableJsonFlag": true,
10798
+ "isESM": true,
10799
+ "relativePath": [
10800
+ "dist",
10801
+ "commands",
10802
+ "cicd",
10803
+ "project",
10804
+ "default",
10805
+ "set.js"
10806
+ ]
10807
+ },
10808
+ "cicd:project:default:unset": {
10809
+ "aliases": [],
10810
+ "args": {},
10811
+ "description": "Remove project default values from the current project or globally",
10812
+ "examples": [
10813
+ "<%= config.bin %> <%= command.id %> --project",
10814
+ "<%= config.bin %> <%= command.id %> --environment --team",
10815
+ "<%= config.bin %> <%= command.id %> --assign-me --global",
10816
+ "<%= config.bin %> <%= command.id %> --project --json"
10817
+ ],
10818
+ "flags": {
10819
+ "json": {
10820
+ "description": "Format output as json.",
10821
+ "helpGroup": "GLOBAL",
10822
+ "name": "json",
10823
+ "allowNo": false,
10824
+ "type": "boolean"
10825
+ },
10826
+ "assign-me": {
10827
+ "description": "Select the assign-me default",
10828
+ "name": "assign-me",
10829
+ "allowNo": false,
10830
+ "type": "boolean"
10831
+ },
10832
+ "credential": {
10833
+ "description": "Select the default source credential",
10834
+ "name": "credential",
10835
+ "allowNo": false,
10836
+ "type": "boolean"
10837
+ },
10838
+ "environment": {
10839
+ "description": "Select the default environment",
10840
+ "name": "environment",
10841
+ "allowNo": false,
10842
+ "type": "boolean"
10843
+ },
10844
+ "epic": {
10845
+ "description": "Select the default epic",
10846
+ "name": "epic",
10847
+ "allowNo": false,
10848
+ "type": "boolean"
10849
+ },
10850
+ "feature": {
10851
+ "description": "Select the default feature",
10852
+ "name": "feature",
10853
+ "allowNo": false,
10854
+ "type": "boolean"
10855
+ },
10856
+ "global": {
10857
+ "description": "Use machine-wide defaults instead of project-local defaults",
10858
+ "name": "global",
10859
+ "allowNo": false,
10860
+ "type": "boolean"
10861
+ },
10862
+ "project": {
10863
+ "description": "Select the default project",
10864
+ "name": "project",
10865
+ "allowNo": false,
10866
+ "type": "boolean"
10867
+ },
10868
+ "sprint": {
10869
+ "description": "Select the default sprint",
10870
+ "name": "sprint",
10871
+ "allowNo": false,
10872
+ "type": "boolean"
10873
+ },
10874
+ "team": {
10875
+ "description": "Select the default team",
10876
+ "name": "team",
10877
+ "allowNo": false,
10878
+ "type": "boolean"
10879
+ }
10880
+ },
10881
+ "hasDynamicHelp": false,
10882
+ "hiddenAliases": [],
10883
+ "id": "cicd:project:default:unset",
10884
+ "pluginAlias": "@copado/agentia-cli",
10885
+ "pluginName": "@copado/agentia-cli",
10886
+ "pluginType": "core",
10887
+ "strict": true,
10888
+ "enableJsonFlag": true,
10889
+ "isESM": true,
10890
+ "relativePath": [
10891
+ "dist",
10892
+ "commands",
10893
+ "cicd",
10894
+ "project",
10895
+ "default",
10896
+ "unset.js"
10897
+ ]
10898
+ },
10899
+ "cicd:metadata:content:compare": {
10900
+ "aliases": [],
10901
+ "args": {},
10902
+ "description": "Compare metadata file content between two orgs or Git branches",
10903
+ "examples": [
10904
+ "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
10905
+ "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --source REPOSITORY --source-branch feature/us-123 --target-source REPOSITORY --target-branch main",
10906
+ "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --json"
10907
+ ],
10908
+ "flags": {
10909
+ "json": {
10910
+ "description": "Format output as json.",
10911
+ "helpGroup": "GLOBAL",
10912
+ "name": "json",
10913
+ "allowNo": false,
10914
+ "type": "boolean"
10915
+ },
10916
+ "api-name": {
10917
+ "description": "Metadata API name",
10918
+ "name": "api-name",
10919
+ "required": true,
10981
10920
  "hasDynamicHelp": false,
10982
10921
  "multiple": false,
10983
10922
  "type": "option"
10984
10923
  },
10985
- "environment": {
10986
- "description": "Default environment",
10987
- "name": "environment",
10924
+ "file-name": {
10925
+ "description": "Optional metadata file name",
10926
+ "name": "file-name",
10988
10927
  "hasDynamicHelp": false,
10989
10928
  "multiple": false,
10990
10929
  "type": "option"
10991
10930
  },
10992
- "epic": {
10993
- "description": "Default epic",
10994
- "name": "epic",
10931
+ "metadata-type": {
10932
+ "description": "Metadata type, for example ApexClass",
10933
+ "name": "metadata-type",
10934
+ "required": true,
10995
10935
  "hasDynamicHelp": false,
10996
10936
  "multiple": false,
10997
10937
  "type": "option"
10998
10938
  },
10999
- "feature": {
11000
- "description": "Default feature",
11001
- "name": "feature",
10939
+ "pipeline-id": {
10940
+ "description": "Pipeline Id",
10941
+ "name": "pipeline-id",
11002
10942
  "hasDynamicHelp": false,
11003
10943
  "multiple": false,
11004
10944
  "type": "option"
11005
10945
  },
11006
- "project": {
11007
- "description": "Default project",
11008
- "name": "project",
10946
+ "source": {
10947
+ "description": "Content source for the source side",
10948
+ "name": "source",
10949
+ "default": "ENVIRONMENT",
11009
10950
  "hasDynamicHelp": false,
11010
10951
  "multiple": false,
10952
+ "options": [
10953
+ "ENVIRONMENT",
10954
+ "REPOSITORY",
10955
+ "GIT_MIRROR",
10956
+ "ORG_CACHE"
10957
+ ],
11011
10958
  "type": "option"
11012
10959
  },
11013
- "sprint": {
11014
- "description": "Default sprint",
11015
- "name": "sprint",
10960
+ "source-branch": {
10961
+ "description": "Git branch for the source side when source is REPOSITORY or GIT_MIRROR",
10962
+ "name": "source-branch",
10963
+ "default": "",
11016
10964
  "hasDynamicHelp": false,
11017
10965
  "multiple": false,
11018
10966
  "type": "option"
11019
10967
  },
11020
- "team": {
11021
- "description": "Default team",
11022
- "name": "team",
10968
+ "source-credential-id": {
10969
+ "description": "Source org credential Id",
10970
+ "name": "source-credential-id",
11023
10971
  "hasDynamicHelp": false,
11024
10972
  "multiple": false,
11025
10973
  "type": "option"
11026
10974
  },
11027
- "assign-me": {
11028
- "description": "Assign work items to the current user by default",
11029
- "name": "assign-me",
11030
- "allowNo": false,
11031
- "type": "boolean"
10975
+ "source-org-id": {
10976
+ "description": "Source org Id",
10977
+ "name": "source-org-id",
10978
+ "hasDynamicHelp": false,
10979
+ "multiple": false,
10980
+ "type": "option"
11032
10981
  },
11033
- "global": {
11034
- "description": "Use machine-wide defaults instead of project-local defaults",
11035
- "name": "global",
11036
- "allowNo": false,
11037
- "type": "boolean"
10982
+ "target-branch": {
10983
+ "description": "Git branch for the target side when target source is REPOSITORY or GIT_MIRROR",
10984
+ "name": "target-branch",
10985
+ "default": "",
10986
+ "hasDynamicHelp": false,
10987
+ "multiple": false,
10988
+ "type": "option"
10989
+ },
10990
+ "target-credential-id": {
10991
+ "description": "Target org credential Id; defaults to the source credential",
10992
+ "name": "target-credential-id",
10993
+ "hasDynamicHelp": false,
10994
+ "multiple": false,
10995
+ "type": "option"
10996
+ },
10997
+ "target-org-id": {
10998
+ "description": "Target org Id",
10999
+ "name": "target-org-id",
11000
+ "hasDynamicHelp": false,
11001
+ "multiple": false,
11002
+ "type": "option"
11003
+ },
11004
+ "target-source": {
11005
+ "description": "Content source for the target side",
11006
+ "name": "target-source",
11007
+ "default": "ENVIRONMENT",
11008
+ "hasDynamicHelp": false,
11009
+ "multiple": false,
11010
+ "options": [
11011
+ "ENVIRONMENT",
11012
+ "REPOSITORY",
11013
+ "GIT_MIRROR",
11014
+ "ORG_CACHE"
11015
+ ],
11016
+ "type": "option"
11038
11017
  }
11039
11018
  },
11040
11019
  "hasDynamicHelp": false,
11041
11020
  "hiddenAliases": [],
11042
- "id": "cicd:project:default:set",
11021
+ "id": "cicd:metadata:content:compare",
11043
11022
  "pluginAlias": "@copado/agentia-cli",
11044
11023
  "pluginName": "@copado/agentia-cli",
11045
11024
  "pluginType": "core",
@@ -11050,20 +11029,19 @@
11050
11029
  "dist",
11051
11030
  "commands",
11052
11031
  "cicd",
11053
- "project",
11054
- "default",
11055
- "set.js"
11032
+ "metadata",
11033
+ "content",
11034
+ "compare.js"
11056
11035
  ]
11057
11036
  },
11058
- "cicd:project:default:unset": {
11037
+ "cicd:metadata:content:get": {
11059
11038
  "aliases": [],
11060
11039
  "args": {},
11061
- "description": "Remove project default values from the current project or globally",
11040
+ "description": "Retrieve metadata file content via the CICD gateway",
11062
11041
  "examples": [
11063
- "<%= config.bin %> <%= command.id %> --project",
11064
- "<%= config.bin %> <%= command.id %> --environment --team",
11065
- "<%= config.bin %> <%= command.id %> --assign-me --global",
11066
- "<%= config.bin %> <%= command.id %> --project --json"
11042
+ "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --pipeline-id <id> --source-org-id <id>",
11043
+ "<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --show",
11044
+ "<%= config.bin %> <%= command.id %> --file requests.json --json"
11067
11045
  ],
11068
11046
  "flags": {
11069
11047
  "json": {
@@ -11073,64 +11051,100 @@
11073
11051
  "allowNo": false,
11074
11052
  "type": "boolean"
11075
11053
  },
11076
- "assign-me": {
11077
- "description": "Select the assign-me default",
11078
- "name": "assign-me",
11079
- "allowNo": false,
11080
- "type": "boolean"
11054
+ "api-name": {
11055
+ "description": "Metadata API name",
11056
+ "name": "api-name",
11057
+ "hasDynamicHelp": false,
11058
+ "multiple": false,
11059
+ "type": "option"
11081
11060
  },
11082
- "credential": {
11083
- "description": "Select the default source credential",
11084
- "name": "credential",
11085
- "allowNo": false,
11086
- "type": "boolean"
11061
+ "branch": {
11062
+ "description": "Git branch when source is REPOSITORY or GIT_MIRROR",
11063
+ "name": "branch",
11064
+ "hasDynamicHelp": false,
11065
+ "multiple": false,
11066
+ "type": "option"
11087
11067
  },
11088
- "environment": {
11089
- "description": "Select the default environment",
11090
- "name": "environment",
11091
- "allowNo": false,
11092
- "type": "boolean"
11068
+ "file": {
11069
+ "description": "Path to a JSON file with an array of metadata content requests",
11070
+ "name": "file",
11071
+ "hasDynamicHelp": false,
11072
+ "multiple": false,
11073
+ "type": "option"
11093
11074
  },
11094
- "epic": {
11095
- "description": "Select the default epic",
11096
- "name": "epic",
11097
- "allowNo": false,
11098
- "type": "boolean"
11075
+ "file-name": {
11076
+ "description": "Optional metadata file name",
11077
+ "name": "file-name",
11078
+ "hasDynamicHelp": false,
11079
+ "multiple": false,
11080
+ "type": "option"
11099
11081
  },
11100
- "feature": {
11101
- "description": "Select the default feature",
11102
- "name": "feature",
11103
- "allowNo": false,
11104
- "type": "boolean"
11082
+ "metadata-type": {
11083
+ "description": "Metadata type, for example ApexClass",
11084
+ "name": "metadata-type",
11085
+ "hasDynamicHelp": false,
11086
+ "multiple": false,
11087
+ "type": "option"
11105
11088
  },
11106
- "global": {
11107
- "description": "Use machine-wide defaults instead of project-local defaults",
11108
- "name": "global",
11109
- "allowNo": false,
11110
- "type": "boolean"
11089
+ "output-file": {
11090
+ "description": "Write decoded content from the first result to this file path",
11091
+ "name": "output-file",
11092
+ "hasDynamicHelp": false,
11093
+ "multiple": false,
11094
+ "type": "option"
11111
11095
  },
11112
- "project": {
11113
- "description": "Select the default project",
11114
- "name": "project",
11115
- "allowNo": false,
11116
- "type": "boolean"
11096
+ "pipeline-id": {
11097
+ "description": "Pipeline Id",
11098
+ "name": "pipeline-id",
11099
+ "hasDynamicHelp": false,
11100
+ "multiple": false,
11101
+ "type": "option"
11117
11102
  },
11118
- "sprint": {
11119
- "description": "Select the default sprint",
11120
- "name": "sprint",
11121
- "allowNo": false,
11122
- "type": "boolean"
11103
+ "result-id": {
11104
+ "description": "Optional result Id from a prior metadata operation",
11105
+ "name": "result-id",
11106
+ "hasDynamicHelp": false,
11107
+ "multiple": false,
11108
+ "type": "option"
11123
11109
  },
11124
- "team": {
11125
- "description": "Select the default team",
11126
- "name": "team",
11110
+ "show": {
11111
+ "description": "Print decoded metadata content to stdout after retrieval",
11112
+ "name": "show",
11127
11113
  "allowNo": false,
11128
11114
  "type": "boolean"
11115
+ },
11116
+ "source": {
11117
+ "description": "Content source",
11118
+ "name": "source",
11119
+ "default": "ENVIRONMENT",
11120
+ "hasDynamicHelp": false,
11121
+ "multiple": false,
11122
+ "options": [
11123
+ "ENVIRONMENT",
11124
+ "REPOSITORY",
11125
+ "GIT_MIRROR",
11126
+ "ORG_CACHE"
11127
+ ],
11128
+ "type": "option"
11129
+ },
11130
+ "source-credential-id": {
11131
+ "description": "Source org credential Id",
11132
+ "name": "source-credential-id",
11133
+ "hasDynamicHelp": false,
11134
+ "multiple": false,
11135
+ "type": "option"
11136
+ },
11137
+ "source-org-id": {
11138
+ "description": "Source org Id",
11139
+ "name": "source-org-id",
11140
+ "hasDynamicHelp": false,
11141
+ "multiple": false,
11142
+ "type": "option"
11129
11143
  }
11130
11144
  },
11131
11145
  "hasDynamicHelp": false,
11132
11146
  "hiddenAliases": [],
11133
- "id": "cicd:project:default:unset",
11147
+ "id": "cicd:metadata:content:get",
11134
11148
  "pluginAlias": "@copado/agentia-cli",
11135
11149
  "pluginName": "@copado/agentia-cli",
11136
11150
  "pluginType": "core",
@@ -11141,9 +11155,9 @@
11141
11155
  "dist",
11142
11156
  "commands",
11143
11157
  "cicd",
11144
- "project",
11145
- "default",
11146
- "unset.js"
11158
+ "metadata",
11159
+ "content",
11160
+ "get.js"
11147
11161
  ]
11148
11162
  },
11149
11163
  "cicd:promotion:conflict:get": {
@@ -12049,5 +12063,5 @@
12049
12063
  ]
12050
12064
  }
12051
12065
  },
12052
- "version": "0.63.0-alpha.0"
12066
+ "version": "0.64.0-alpha.0"
12053
12067
  }