@copado/agentia-cli 1.0.0-beta.5 → 1.0.0-beta.6

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +903 -245
  3. package/dist/commands/adv/auth/status.js +20 -0
  4. package/dist/commands/adv/component/add.js +48 -0
  5. package/dist/commands/adv/component/list.js +46 -0
  6. package/dist/commands/adv/component/refresh.js +23 -0
  7. package/dist/commands/adv/component/remove.js +35 -0
  8. package/dist/commands/adv/component/selected.js +26 -0
  9. package/dist/commands/adv/component/types.js +16 -0
  10. package/dist/commands/adv/deployment/cancel.js +45 -0
  11. package/dist/commands/adv/deployment/create.js +23 -0
  12. package/dist/commands/adv/deployment/deploy.js +46 -0
  13. package/dist/commands/adv/deployment/get.js +21 -0
  14. package/dist/commands/adv/deployment/list.js +30 -0
  15. package/dist/commands/adv/deployment/options.js +33 -0
  16. package/dist/commands/adv/deployment/quick-deploy.js +54 -0
  17. package/dist/commands/adv/deployment/validate.js +29 -0
  18. package/dist/commands/adv/job/get.js +21 -0
  19. package/dist/commands/adv/job/list.js +30 -0
  20. package/dist/commands/adv/job/wait.js +29 -0
  21. package/dist/commands/adv/organization/get.js +21 -0
  22. package/dist/commands/adv/organization/list.js +21 -0
  23. package/dist/commands/adv/organization/validate.js +20 -0
  24. package/dist/commands/auth/get.js +24 -3
  25. package/dist/commands/auth/set.js +18 -0
  26. package/dist/commands/auth/unset.js +4 -0
  27. package/dist/commands/cicd/notification/get.js +44 -0
  28. package/dist/commands/cicd/work/publish.js +1 -0
  29. package/dist/commands/setup/skills/create.js +4 -0
  30. package/dist/commands/setup/skills/update.js +4 -0
  31. package/dist/hooks/init/migrate-user-config.js +5 -1
  32. package/dist/hooks/init/version-warning.js +5 -2
  33. package/dist/lib/adv-config.js +9 -0
  34. package/dist/lib/adv-flags.js +8 -0
  35. package/dist/lib/adv-gateway.js +8 -0
  36. package/dist/lib/adv-operations.js +26 -0
  37. package/dist/lib/adv-sanitization.js +8 -0
  38. package/dist/lib/adv-types.js +9 -0
  39. package/dist/lib/agentia-command.js +30 -1
  40. package/dist/lib/auth-config.js +2 -1
  41. package/dist/lib/auth-status-format.js +2 -1
  42. package/dist/lib/cicd-gateway.js +2 -1
  43. package/dist/lib/cli-severity-color.js +4 -0
  44. package/dist/lib/mcp/adv-tools.js +221 -0
  45. package/dist/lib/mcp/command-id.js +4 -1
  46. package/dist/lib/mcp/tool-annotations.js +23 -0
  47. package/dist/lib/mcp/tools.js +42 -0
  48. package/dist/lib/mcp/work-tools.js +6 -1
  49. package/dist/lib/notifications-get.js +10 -0
  50. package/dist/lib/runtime.js +1 -1
  51. package/oclif.manifest.json +1327 -144
  52. package/package.json +35 -2
  53. package/templates/AGENTS.md +1 -1
  54. package/templates/skills/agentia-adv/SKILL.md +20 -0
  55. package/templates/skills/agentia-adv/references/pipelines-advanced.md +34 -0
  56. package/templates/skills/agentia-cicd/SKILL.md +3 -1
  57. package/templates/skills/agentia-cicd/references/notifications.md +79 -0
  58. package/templates/skills/agentia-cicd/references/work.md +19 -0
@@ -99,6 +99,7 @@
99
99
  "examples": [
100
100
  "<%= config.bin %> <%= command.id %>",
101
101
  "<%= config.bin %> <%= command.id %> --ai",
102
+ "<%= config.bin %> <%= command.id %> --adv",
102
103
  "<%= config.bin %> <%= command.id %> --cicd",
103
104
  "<%= config.bin %> <%= command.id %> --crt",
104
105
  "<%= config.bin %> <%= command.id %> --cicd --crt",
@@ -112,6 +113,12 @@
112
113
  "allowNo": false,
113
114
  "type": "boolean"
114
115
  },
116
+ "adv": {
117
+ "description": "Show PAT for Pipelines Advanced authentication",
118
+ "name": "adv",
119
+ "allowNo": false,
120
+ "type": "boolean"
121
+ },
115
122
  "ai": {
116
123
  "description": "Show PAK for Copado AI authentication",
117
124
  "name": "ai",
@@ -157,6 +164,8 @@
157
164
  "<%= config.bin %> <%= command.id %> --ai <pak> --ai-domain robotic.copado.com --ai-org 42888 --ai-workspace 42d0b908-37b7-4565-9ec9-86eda40c9782",
158
165
  "<%= config.bin %> <%= command.id %> --ai <pak> --ai-gateway-url http://localhost:8080/organizations/42888",
159
166
  "<%= config.bin %> <%= command.id %> --ai-workspace 42d0b908-37b7-4565-9ec9-86eda40c9782",
167
+ "<%= config.bin %> <%= command.id %> --adv <pat>",
168
+ "<%= config.bin %> <%= command.id %> --adv <pat> --adv-base-url https://uat.pipeline.copado.com",
160
169
  "<%= config.bin %> <%= command.id %> --cicd <copado-api-key> --region na",
161
170
  "<%= config.bin %> <%= command.id %> --cicd <copado-api-key> --custom-url https://dev.api.copado.com",
162
171
  "<%= config.bin %> <%= command.id %> --cicd <copado-api-key>",
@@ -173,6 +182,20 @@
173
182
  "allowNo": false,
174
183
  "type": "boolean"
175
184
  },
185
+ "adv": {
186
+ "description": "Personal Access Token for Copado Pipelines Advanced authentication",
187
+ "name": "adv",
188
+ "hasDynamicHelp": false,
189
+ "multiple": false,
190
+ "type": "option"
191
+ },
192
+ "adv-base-url": {
193
+ "description": "Optional Pipelines Advanced base URL; omit to auto-discover from the PAT",
194
+ "name": "adv-base-url",
195
+ "hasDynamicHelp": false,
196
+ "multiple": false,
197
+ "type": "option"
198
+ },
176
199
  "ai": {
177
200
  "description": "PAK for Copado AI authentication",
178
201
  "name": "ai",
@@ -287,6 +310,7 @@
287
310
  "examples": [
288
311
  "<%= config.bin %> <%= command.id %>",
289
312
  "<%= config.bin %> <%= command.id %> --ai",
313
+ "<%= config.bin %> <%= command.id %> --adv",
290
314
  "<%= config.bin %> <%= command.id %> --cicd",
291
315
  "<%= config.bin %> <%= command.id %> --crt",
292
316
  "<%= config.bin %> <%= command.id %> --cicd --crt --yes",
@@ -300,6 +324,12 @@
300
324
  "allowNo": false,
301
325
  "type": "boolean"
302
326
  },
327
+ "adv": {
328
+ "description": "Remove Pipelines Advanced PAT and endpoint configuration",
329
+ "name": "adv",
330
+ "allowNo": false,
331
+ "type": "boolean"
332
+ },
303
333
  "ai": {
304
334
  "description": "Remove Copado AI PAK, domain, organization, workspace, and gateway URL configuration",
305
335
  "name": "ai",
@@ -1158,7 +1188,1175 @@
1158
1188
  },
1159
1189
  "hasDynamicHelp": false,
1160
1190
  "hiddenAliases": [],
1161
- "id": "testing:status",
1191
+ "id": "testing:status",
1192
+ "pluginAlias": "@copado/agentia-cli",
1193
+ "pluginName": "@copado/agentia-cli",
1194
+ "pluginType": "core",
1195
+ "strict": true,
1196
+ "enableJsonFlag": true,
1197
+ "isESM": true,
1198
+ "relativePath": [
1199
+ "dist",
1200
+ "commands",
1201
+ "testing",
1202
+ "status.js"
1203
+ ]
1204
+ },
1205
+ "testing:update": {
1206
+ "aliases": [],
1207
+ "args": {
1208
+ "id": {
1209
+ "description": "CRT job/test ID.",
1210
+ "name": "id",
1211
+ "required": true
1212
+ }
1213
+ },
1214
+ "description": "Update a Copado Robotic Testing test by uploading file operations",
1215
+ "examples": [
1216
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --replace tests.robot",
1217
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --add new.robot --remove old.robot --json"
1218
+ ],
1219
+ "flags": {
1220
+ "json": {
1221
+ "description": "Format output as json.",
1222
+ "helpGroup": "GLOBAL",
1223
+ "name": "json",
1224
+ "allowNo": false,
1225
+ "type": "boolean"
1226
+ },
1227
+ "project": {
1228
+ "char": "p",
1229
+ "description": "CRT project ID.",
1230
+ "name": "project",
1231
+ "required": true,
1232
+ "hasDynamicHelp": false,
1233
+ "multiple": false,
1234
+ "type": "option"
1235
+ },
1236
+ "branch": {
1237
+ "description": "Optional CRT branch name for file operations.",
1238
+ "name": "branch",
1239
+ "hasDynamicHelp": false,
1240
+ "multiple": false,
1241
+ "type": "option"
1242
+ },
1243
+ "add": {
1244
+ "description": "Add a file using local[:remote] syntax. Can be provided multiple times.",
1245
+ "name": "add",
1246
+ "hasDynamicHelp": false,
1247
+ "multiple": true,
1248
+ "type": "option"
1249
+ },
1250
+ "remove": {
1251
+ "description": "Remove a remote CRT file path. Can be provided multiple times.",
1252
+ "name": "remove",
1253
+ "hasDynamicHelp": false,
1254
+ "multiple": true,
1255
+ "type": "option"
1256
+ },
1257
+ "replace": {
1258
+ "description": "Replace a file using local[:remote] syntax. Can be provided multiple times.",
1259
+ "name": "replace",
1260
+ "hasDynamicHelp": false,
1261
+ "multiple": true,
1262
+ "type": "option"
1263
+ },
1264
+ "author-email": {
1265
+ "description": "Author email for CRT file history.",
1266
+ "name": "author-email",
1267
+ "default": "agentia@copado.com",
1268
+ "hasDynamicHelp": false,
1269
+ "multiple": false,
1270
+ "type": "option"
1271
+ },
1272
+ "author-name": {
1273
+ "description": "Author name for CRT file history.",
1274
+ "name": "author-name",
1275
+ "default": "Agentia CLI",
1276
+ "hasDynamicHelp": false,
1277
+ "multiple": false,
1278
+ "type": "option"
1279
+ },
1280
+ "base-path": {
1281
+ "description": "Require local upload files to stay within this directory.",
1282
+ "name": "base-path",
1283
+ "hasDynamicHelp": false,
1284
+ "multiple": false,
1285
+ "type": "option"
1286
+ },
1287
+ "dry-run": {
1288
+ "description": "Return a sanitized plan without making a request.",
1289
+ "name": "dry-run",
1290
+ "allowNo": false,
1291
+ "type": "boolean"
1292
+ },
1293
+ "message": {
1294
+ "description": "Commit message for CRT file history.",
1295
+ "name": "message",
1296
+ "hasDynamicHelp": false,
1297
+ "multiple": false,
1298
+ "type": "option"
1299
+ },
1300
+ "parent-commit": {
1301
+ "description": "Expected parent commit hash.",
1302
+ "name": "parent-commit",
1303
+ "hasDynamicHelp": false,
1304
+ "multiple": false,
1305
+ "type": "option"
1306
+ },
1307
+ "remote-prefix": {
1308
+ "description": "Validated remote path prefix for all operations.",
1309
+ "name": "remote-prefix",
1310
+ "hasDynamicHelp": false,
1311
+ "multiple": false,
1312
+ "type": "option"
1313
+ }
1314
+ },
1315
+ "hasDynamicHelp": false,
1316
+ "hiddenAliases": [],
1317
+ "id": "testing:update",
1318
+ "pluginAlias": "@copado/agentia-cli",
1319
+ "pluginName": "@copado/agentia-cli",
1320
+ "pluginType": "core",
1321
+ "strict": true,
1322
+ "enableJsonFlag": true,
1323
+ "isESM": true,
1324
+ "relativePath": [
1325
+ "dist",
1326
+ "commands",
1327
+ "testing",
1328
+ "update.js"
1329
+ ]
1330
+ },
1331
+ "adv:auth:status": {
1332
+ "aliases": [],
1333
+ "args": {},
1334
+ "description": "Check the configured Pipelines Advanced PAT",
1335
+ "examples": [
1336
+ "<%= config.bin %> <%= command.id %>",
1337
+ "<%= config.bin %> <%= command.id %> --json"
1338
+ ],
1339
+ "flags": {
1340
+ "json": {
1341
+ "description": "Format output as json.",
1342
+ "helpGroup": "GLOBAL",
1343
+ "name": "json",
1344
+ "allowNo": false,
1345
+ "type": "boolean"
1346
+ }
1347
+ },
1348
+ "hasDynamicHelp": false,
1349
+ "hiddenAliases": [],
1350
+ "id": "adv:auth:status",
1351
+ "pluginAlias": "@copado/agentia-cli",
1352
+ "pluginName": "@copado/agentia-cli",
1353
+ "pluginType": "core",
1354
+ "strict": true,
1355
+ "enableJsonFlag": true,
1356
+ "isESM": true,
1357
+ "relativePath": [
1358
+ "dist",
1359
+ "commands",
1360
+ "adv",
1361
+ "auth",
1362
+ "status.js"
1363
+ ]
1364
+ },
1365
+ "adv:component:add": {
1366
+ "aliases": [],
1367
+ "args": {
1368
+ "deployment-id": {
1369
+ "description": "Pipelines Advanced deployment ID.",
1370
+ "name": "deployment-id",
1371
+ "required": true
1372
+ }
1373
+ },
1374
+ "description": "Add components to a Pipelines Advanced deployment selection",
1375
+ "examples": [
1376
+ "<%= config.bin %> <%= command.id %> 1025 --component ApexClass/Foo --component ApexClass/Bar",
1377
+ "<%= config.bin %> <%= command.id %> 1025 --file components.txt",
1378
+ "<%= config.bin %> <%= command.id %> 1025 --json-file components.json"
1379
+ ],
1380
+ "flags": {
1381
+ "json": {
1382
+ "description": "Format output as json.",
1383
+ "helpGroup": "GLOBAL",
1384
+ "name": "json",
1385
+ "allowNo": false,
1386
+ "type": "boolean"
1387
+ },
1388
+ "component": {
1389
+ "description": "Component to add as Type/Name; repeat for multiple components.",
1390
+ "exclusive": [
1391
+ "file",
1392
+ "json-file"
1393
+ ],
1394
+ "name": "component",
1395
+ "hasDynamicHelp": false,
1396
+ "multiple": true,
1397
+ "type": "option"
1398
+ },
1399
+ "file": {
1400
+ "description": "Text file with one Type/Name component per line.",
1401
+ "exclusive": [
1402
+ "component",
1403
+ "json-file"
1404
+ ],
1405
+ "name": "file",
1406
+ "hasDynamicHelp": false,
1407
+ "multiple": false,
1408
+ "type": "option"
1409
+ },
1410
+ "json-file": {
1411
+ "description": "JSON file with component objects; named json-file because --json is the global output flag.",
1412
+ "exclusive": [
1413
+ "component",
1414
+ "file"
1415
+ ],
1416
+ "name": "json-file",
1417
+ "hasDynamicHelp": false,
1418
+ "multiple": false,
1419
+ "type": "option"
1420
+ }
1421
+ },
1422
+ "hasDynamicHelp": false,
1423
+ "hiddenAliases": [],
1424
+ "id": "adv:component:add",
1425
+ "pluginAlias": "@copado/agentia-cli",
1426
+ "pluginName": "@copado/agentia-cli",
1427
+ "pluginType": "core",
1428
+ "strict": true,
1429
+ "enableJsonFlag": true,
1430
+ "isESM": true,
1431
+ "relativePath": [
1432
+ "dist",
1433
+ "commands",
1434
+ "adv",
1435
+ "component",
1436
+ "add.js"
1437
+ ]
1438
+ },
1439
+ "adv:component:list": {
1440
+ "aliases": [],
1441
+ "args": {},
1442
+ "description": "List source components for a Pipelines Advanced deployment",
1443
+ "examples": [
1444
+ "<%= config.bin %> <%= command.id %> --flow 1025 --type ApexClass",
1445
+ "<%= config.bin %> <%= command.id %> --flow 1025 --type ApexClass,ApexTrigger --include-managed-package"
1446
+ ],
1447
+ "flags": {
1448
+ "json": {
1449
+ "description": "Format output as json.",
1450
+ "helpGroup": "GLOBAL",
1451
+ "name": "json",
1452
+ "allowNo": false,
1453
+ "type": "boolean"
1454
+ },
1455
+ "flow": {
1456
+ "description": "Pipelines Advanced deployment ID.",
1457
+ "name": "flow",
1458
+ "required": true,
1459
+ "hasDynamicHelp": false,
1460
+ "multiple": false,
1461
+ "type": "option"
1462
+ },
1463
+ "include-managed-package": {
1464
+ "description": "Include managed package components.",
1465
+ "name": "include-managed-package",
1466
+ "allowNo": false,
1467
+ "type": "boolean"
1468
+ },
1469
+ "type": {
1470
+ "description": "Comma-separated component type names.",
1471
+ "name": "type",
1472
+ "required": true,
1473
+ "hasDynamicHelp": false,
1474
+ "multiple": false,
1475
+ "type": "option"
1476
+ }
1477
+ },
1478
+ "hasDynamicHelp": false,
1479
+ "hiddenAliases": [],
1480
+ "id": "adv:component:list",
1481
+ "pluginAlias": "@copado/agentia-cli",
1482
+ "pluginName": "@copado/agentia-cli",
1483
+ "pluginType": "core",
1484
+ "strict": true,
1485
+ "enableJsonFlag": true,
1486
+ "isESM": true,
1487
+ "relativePath": [
1488
+ "dist",
1489
+ "commands",
1490
+ "adv",
1491
+ "component",
1492
+ "list.js"
1493
+ ]
1494
+ },
1495
+ "adv:component:refresh": {
1496
+ "aliases": [],
1497
+ "args": {},
1498
+ "description": "Refresh Pipelines Advanced component comparison cache",
1499
+ "examples": [
1500
+ "<%= config.bin %> <%= command.id %> --flow 1025 --type ApexClass",
1501
+ "<%= config.bin %> <%= command.id %> --flow 1025 --type ApexClass,Flow --full"
1502
+ ],
1503
+ "flags": {
1504
+ "json": {
1505
+ "description": "Format output as json.",
1506
+ "helpGroup": "GLOBAL",
1507
+ "name": "json",
1508
+ "allowNo": false,
1509
+ "type": "boolean"
1510
+ },
1511
+ "flow": {
1512
+ "description": "Pipelines Advanced deployment ID.",
1513
+ "name": "flow",
1514
+ "required": true,
1515
+ "hasDynamicHelp": false,
1516
+ "multiple": false,
1517
+ "type": "option"
1518
+ },
1519
+ "full": {
1520
+ "description": "Delete cached comparison data before refreshing.",
1521
+ "name": "full",
1522
+ "allowNo": false,
1523
+ "type": "boolean"
1524
+ },
1525
+ "type": {
1526
+ "description": "Comma-separated component type names.",
1527
+ "name": "type",
1528
+ "required": true,
1529
+ "hasDynamicHelp": false,
1530
+ "multiple": false,
1531
+ "type": "option"
1532
+ }
1533
+ },
1534
+ "hasDynamicHelp": false,
1535
+ "hiddenAliases": [],
1536
+ "id": "adv:component:refresh",
1537
+ "pluginAlias": "@copado/agentia-cli",
1538
+ "pluginName": "@copado/agentia-cli",
1539
+ "pluginType": "core",
1540
+ "strict": true,
1541
+ "enableJsonFlag": true,
1542
+ "isESM": true,
1543
+ "relativePath": [
1544
+ "dist",
1545
+ "commands",
1546
+ "adv",
1547
+ "component",
1548
+ "refresh.js"
1549
+ ]
1550
+ },
1551
+ "adv:component:remove": {
1552
+ "aliases": [],
1553
+ "args": {
1554
+ "deployment-id": {
1555
+ "description": "Pipelines Advanced deployment ID.",
1556
+ "name": "deployment-id",
1557
+ "required": true
1558
+ }
1559
+ },
1560
+ "description": "Remove components from a Pipelines Advanced deployment selection",
1561
+ "examples": [
1562
+ "<%= config.bin %> <%= command.id %> 1025 --component ApexClass/Foo",
1563
+ "<%= config.bin %> <%= command.id %> 1025 --json-file components.json"
1564
+ ],
1565
+ "flags": {
1566
+ "json": {
1567
+ "description": "Format output as json.",
1568
+ "helpGroup": "GLOBAL",
1569
+ "name": "json",
1570
+ "allowNo": false,
1571
+ "type": "boolean"
1572
+ },
1573
+ "component": {
1574
+ "description": "Component to remove as Type/Name; repeat for multiple components.",
1575
+ "exclusive": [
1576
+ "json-file"
1577
+ ],
1578
+ "name": "component",
1579
+ "hasDynamicHelp": false,
1580
+ "multiple": true,
1581
+ "type": "option"
1582
+ },
1583
+ "json-file": {
1584
+ "description": "JSON file with component objects; named json-file because --json is the global output flag.",
1585
+ "exclusive": [
1586
+ "component"
1587
+ ],
1588
+ "name": "json-file",
1589
+ "hasDynamicHelp": false,
1590
+ "multiple": false,
1591
+ "type": "option"
1592
+ }
1593
+ },
1594
+ "hasDynamicHelp": false,
1595
+ "hiddenAliases": [],
1596
+ "id": "adv:component:remove",
1597
+ "pluginAlias": "@copado/agentia-cli",
1598
+ "pluginName": "@copado/agentia-cli",
1599
+ "pluginType": "core",
1600
+ "strict": true,
1601
+ "enableJsonFlag": true,
1602
+ "isESM": true,
1603
+ "relativePath": [
1604
+ "dist",
1605
+ "commands",
1606
+ "adv",
1607
+ "component",
1608
+ "remove.js"
1609
+ ]
1610
+ },
1611
+ "adv:component:selected": {
1612
+ "aliases": [],
1613
+ "args": {
1614
+ "deployment-id": {
1615
+ "description": "Pipelines Advanced deployment ID.",
1616
+ "name": "deployment-id",
1617
+ "required": true
1618
+ }
1619
+ },
1620
+ "description": "List components currently selected for a Pipelines Advanced deployment",
1621
+ "examples": [
1622
+ "<%= config.bin %> <%= command.id %> 1025",
1623
+ "<%= config.bin %> <%= command.id %> 1025 --json"
1624
+ ],
1625
+ "flags": {
1626
+ "json": {
1627
+ "description": "Format output as json.",
1628
+ "helpGroup": "GLOBAL",
1629
+ "name": "json",
1630
+ "allowNo": false,
1631
+ "type": "boolean"
1632
+ }
1633
+ },
1634
+ "hasDynamicHelp": false,
1635
+ "hiddenAliases": [],
1636
+ "id": "adv:component:selected",
1637
+ "pluginAlias": "@copado/agentia-cli",
1638
+ "pluginName": "@copado/agentia-cli",
1639
+ "pluginType": "core",
1640
+ "strict": true,
1641
+ "enableJsonFlag": true,
1642
+ "isESM": true,
1643
+ "relativePath": [
1644
+ "dist",
1645
+ "commands",
1646
+ "adv",
1647
+ "component",
1648
+ "selected.js"
1649
+ ]
1650
+ },
1651
+ "adv:component:types": {
1652
+ "aliases": [],
1653
+ "args": {},
1654
+ "description": "List Pipelines Advanced component type views",
1655
+ "examples": [
1656
+ "<%= config.bin %> <%= command.id %>",
1657
+ "<%= config.bin %> <%= command.id %> --json"
1658
+ ],
1659
+ "flags": {
1660
+ "json": {
1661
+ "description": "Format output as json.",
1662
+ "helpGroup": "GLOBAL",
1663
+ "name": "json",
1664
+ "allowNo": false,
1665
+ "type": "boolean"
1666
+ }
1667
+ },
1668
+ "hasDynamicHelp": false,
1669
+ "hiddenAliases": [],
1670
+ "id": "adv:component:types",
1671
+ "pluginAlias": "@copado/agentia-cli",
1672
+ "pluginName": "@copado/agentia-cli",
1673
+ "pluginType": "core",
1674
+ "strict": true,
1675
+ "enableJsonFlag": true,
1676
+ "isESM": true,
1677
+ "relativePath": [
1678
+ "dist",
1679
+ "commands",
1680
+ "adv",
1681
+ "component",
1682
+ "types.js"
1683
+ ]
1684
+ },
1685
+ "adv:deployment:cancel": {
1686
+ "aliases": [],
1687
+ "args": {
1688
+ "id": {
1689
+ "description": "Pipelines Advanced deployment ID.",
1690
+ "name": "id",
1691
+ "required": true
1692
+ }
1693
+ },
1694
+ "description": "Request cancellation of the current Pipelines Advanced run",
1695
+ "examples": [
1696
+ "<%= config.bin %> <%= command.id %> 1025",
1697
+ "<%= config.bin %> <%= command.id %> 1025 --yes --wait"
1698
+ ],
1699
+ "flags": {
1700
+ "json": {
1701
+ "description": "Format output as json.",
1702
+ "helpGroup": "GLOBAL",
1703
+ "name": "json",
1704
+ "allowNo": false,
1705
+ "type": "boolean"
1706
+ },
1707
+ "interval": {
1708
+ "description": "Seconds between job status polls when waiting.",
1709
+ "name": "interval",
1710
+ "hasDynamicHelp": false,
1711
+ "multiple": false,
1712
+ "type": "option"
1713
+ },
1714
+ "timeout": {
1715
+ "description": "Maximum seconds to wait for the job to finish.",
1716
+ "name": "timeout",
1717
+ "hasDynamicHelp": false,
1718
+ "multiple": false,
1719
+ "type": "option"
1720
+ },
1721
+ "wait": {
1722
+ "description": "Wait for the accepted run to finish.",
1723
+ "name": "wait",
1724
+ "allowNo": false,
1725
+ "type": "boolean"
1726
+ },
1727
+ "yes": {
1728
+ "char": "y",
1729
+ "description": "Confirm the action without prompting (required for --json or non-interactive runs).",
1730
+ "name": "yes",
1731
+ "allowNo": false,
1732
+ "type": "boolean"
1733
+ }
1734
+ },
1735
+ "hasDynamicHelp": false,
1736
+ "hiddenAliases": [],
1737
+ "id": "adv:deployment:cancel",
1738
+ "pluginAlias": "@copado/agentia-cli",
1739
+ "pluginName": "@copado/agentia-cli",
1740
+ "pluginType": "core",
1741
+ "strict": true,
1742
+ "enableJsonFlag": true,
1743
+ "isESM": true,
1744
+ "relativePath": [
1745
+ "dist",
1746
+ "commands",
1747
+ "adv",
1748
+ "deployment",
1749
+ "cancel.js"
1750
+ ]
1751
+ },
1752
+ "adv:deployment:create": {
1753
+ "aliases": [],
1754
+ "args": {},
1755
+ "description": "Create a Pipelines Advanced deployment between two organizations",
1756
+ "examples": [
1757
+ "<%= config.bin %> <%= command.id %> --name release-1 --source-org 910001 --target-org 910002",
1758
+ "<%= config.bin %> <%= command.id %> --name release-1 --source-org 910001 --target-org 910002 --json"
1759
+ ],
1760
+ "flags": {
1761
+ "json": {
1762
+ "description": "Format output as json.",
1763
+ "helpGroup": "GLOBAL",
1764
+ "name": "json",
1765
+ "allowNo": false,
1766
+ "type": "boolean"
1767
+ },
1768
+ "name": {
1769
+ "description": "Deployment name.",
1770
+ "name": "name",
1771
+ "required": true,
1772
+ "hasDynamicHelp": false,
1773
+ "multiple": false,
1774
+ "type": "option"
1775
+ },
1776
+ "source-org": {
1777
+ "description": "Source organization ID.",
1778
+ "name": "source-org",
1779
+ "required": true,
1780
+ "hasDynamicHelp": false,
1781
+ "multiple": false,
1782
+ "type": "option"
1783
+ },
1784
+ "target-org": {
1785
+ "description": "Target organization ID.",
1786
+ "name": "target-org",
1787
+ "required": true,
1788
+ "hasDynamicHelp": false,
1789
+ "multiple": false,
1790
+ "type": "option"
1791
+ }
1792
+ },
1793
+ "hasDynamicHelp": false,
1794
+ "hiddenAliases": [],
1795
+ "id": "adv:deployment:create",
1796
+ "pluginAlias": "@copado/agentia-cli",
1797
+ "pluginName": "@copado/agentia-cli",
1798
+ "pluginType": "core",
1799
+ "strict": true,
1800
+ "enableJsonFlag": true,
1801
+ "isESM": true,
1802
+ "relativePath": [
1803
+ "dist",
1804
+ "commands",
1805
+ "adv",
1806
+ "deployment",
1807
+ "create.js"
1808
+ ]
1809
+ },
1810
+ "adv:deployment:deploy": {
1811
+ "aliases": [],
1812
+ "args": {
1813
+ "id": {
1814
+ "description": "Pipelines Advanced deployment ID.",
1815
+ "name": "id",
1816
+ "required": true
1817
+ }
1818
+ },
1819
+ "description": "Start a Pipelines Advanced deploy run",
1820
+ "examples": [
1821
+ "<%= config.bin %> <%= command.id %> 1025",
1822
+ "<%= config.bin %> <%= command.id %> 1025 --yes --wait --json"
1823
+ ],
1824
+ "flags": {
1825
+ "json": {
1826
+ "description": "Format output as json.",
1827
+ "helpGroup": "GLOBAL",
1828
+ "name": "json",
1829
+ "allowNo": false,
1830
+ "type": "boolean"
1831
+ },
1832
+ "interval": {
1833
+ "description": "Seconds between job status polls when waiting.",
1834
+ "name": "interval",
1835
+ "hasDynamicHelp": false,
1836
+ "multiple": false,
1837
+ "type": "option"
1838
+ },
1839
+ "timeout": {
1840
+ "description": "Maximum seconds to wait for the job to finish.",
1841
+ "name": "timeout",
1842
+ "hasDynamicHelp": false,
1843
+ "multiple": false,
1844
+ "type": "option"
1845
+ },
1846
+ "wait": {
1847
+ "description": "Wait for the accepted run to finish.",
1848
+ "name": "wait",
1849
+ "allowNo": false,
1850
+ "type": "boolean"
1851
+ },
1852
+ "yes": {
1853
+ "char": "y",
1854
+ "description": "Confirm the action without prompting (required for --json or non-interactive runs).",
1855
+ "name": "yes",
1856
+ "allowNo": false,
1857
+ "type": "boolean"
1858
+ }
1859
+ },
1860
+ "hasDynamicHelp": false,
1861
+ "hiddenAliases": [],
1862
+ "id": "adv:deployment:deploy",
1863
+ "pluginAlias": "@copado/agentia-cli",
1864
+ "pluginName": "@copado/agentia-cli",
1865
+ "pluginType": "core",
1866
+ "strict": true,
1867
+ "enableJsonFlag": true,
1868
+ "isESM": true,
1869
+ "relativePath": [
1870
+ "dist",
1871
+ "commands",
1872
+ "adv",
1873
+ "deployment",
1874
+ "deploy.js"
1875
+ ]
1876
+ },
1877
+ "adv:deployment:get": {
1878
+ "aliases": [],
1879
+ "args": {
1880
+ "id": {
1881
+ "description": "Pipelines Advanced deployment ID.",
1882
+ "name": "id",
1883
+ "required": true
1884
+ }
1885
+ },
1886
+ "description": "Show one Pipelines Advanced deployment",
1887
+ "examples": [
1888
+ "<%= config.bin %> <%= command.id %> 1025",
1889
+ "<%= config.bin %> <%= command.id %> 1025 --json"
1890
+ ],
1891
+ "flags": {
1892
+ "json": {
1893
+ "description": "Format output as json.",
1894
+ "helpGroup": "GLOBAL",
1895
+ "name": "json",
1896
+ "allowNo": false,
1897
+ "type": "boolean"
1898
+ }
1899
+ },
1900
+ "hasDynamicHelp": false,
1901
+ "hiddenAliases": [],
1902
+ "id": "adv:deployment:get",
1903
+ "pluginAlias": "@copado/agentia-cli",
1904
+ "pluginName": "@copado/agentia-cli",
1905
+ "pluginType": "core",
1906
+ "strict": true,
1907
+ "enableJsonFlag": true,
1908
+ "isESM": true,
1909
+ "relativePath": [
1910
+ "dist",
1911
+ "commands",
1912
+ "adv",
1913
+ "deployment",
1914
+ "get.js"
1915
+ ]
1916
+ },
1917
+ "adv:deployment:list": {
1918
+ "aliases": [],
1919
+ "args": {},
1920
+ "description": "List Pipelines Advanced deployments visible to the PAT user",
1921
+ "examples": [
1922
+ "<%= config.bin %> <%= command.id %>",
1923
+ "<%= config.bin %> <%= command.id %> --include-archived",
1924
+ "<%= config.bin %> <%= command.id %> --json"
1925
+ ],
1926
+ "flags": {
1927
+ "json": {
1928
+ "description": "Format output as json.",
1929
+ "helpGroup": "GLOBAL",
1930
+ "name": "json",
1931
+ "allowNo": false,
1932
+ "type": "boolean"
1933
+ },
1934
+ "include-archived": {
1935
+ "description": "Include archived deployments.",
1936
+ "name": "include-archived",
1937
+ "allowNo": false,
1938
+ "type": "boolean"
1939
+ }
1940
+ },
1941
+ "hasDynamicHelp": false,
1942
+ "hiddenAliases": [],
1943
+ "id": "adv:deployment:list",
1944
+ "pluginAlias": "@copado/agentia-cli",
1945
+ "pluginName": "@copado/agentia-cli",
1946
+ "pluginType": "core",
1947
+ "strict": true,
1948
+ "enableJsonFlag": true,
1949
+ "isESM": true,
1950
+ "relativePath": [
1951
+ "dist",
1952
+ "commands",
1953
+ "adv",
1954
+ "deployment",
1955
+ "list.js"
1956
+ ]
1957
+ },
1958
+ "adv:deployment:options": {
1959
+ "aliases": [],
1960
+ "args": {
1961
+ "id": {
1962
+ "description": "Pipelines Advanced deployment ID.",
1963
+ "name": "id",
1964
+ "required": true
1965
+ }
1966
+ },
1967
+ "description": "Update Pipelines Advanced deployment options",
1968
+ "examples": [
1969
+ "<%= config.bin %> <%= command.id %> 1025 --set deployOptionsIgnoreWarnings=false",
1970
+ "<%= config.bin %> <%= command.id %> 1025 --file options.json",
1971
+ "<%= config.bin %> <%= command.id %> 1025 --set deployOptionsTestLevel=RUN_LOCAL_TESTS --json"
1972
+ ],
1973
+ "flags": {
1974
+ "json": {
1975
+ "description": "Format output as json.",
1976
+ "helpGroup": "GLOBAL",
1977
+ "name": "json",
1978
+ "allowNo": false,
1979
+ "type": "boolean"
1980
+ },
1981
+ "file": {
1982
+ "description": "JSON file with deployment options to merge over the current options.",
1983
+ "exclusive": [
1984
+ "set"
1985
+ ],
1986
+ "name": "file",
1987
+ "hasDynamicHelp": false,
1988
+ "multiple": false,
1989
+ "type": "option"
1990
+ },
1991
+ "set": {
1992
+ "description": "Deployment option as name=value; repeat for multiple options.",
1993
+ "exclusive": [
1994
+ "file"
1995
+ ],
1996
+ "name": "set",
1997
+ "hasDynamicHelp": false,
1998
+ "multiple": true,
1999
+ "type": "option"
2000
+ }
2001
+ },
2002
+ "hasDynamicHelp": false,
2003
+ "hiddenAliases": [],
2004
+ "id": "adv:deployment:options",
2005
+ "pluginAlias": "@copado/agentia-cli",
2006
+ "pluginName": "@copado/agentia-cli",
2007
+ "pluginType": "core",
2008
+ "strict": true,
2009
+ "enableJsonFlag": true,
2010
+ "isESM": true,
2011
+ "relativePath": [
2012
+ "dist",
2013
+ "commands",
2014
+ "adv",
2015
+ "deployment",
2016
+ "options.js"
2017
+ ]
2018
+ },
2019
+ "adv:deployment:quick-deploy": {
2020
+ "aliases": [],
2021
+ "args": {
2022
+ "id": {
2023
+ "description": "Pipelines Advanced deployment ID.",
2024
+ "name": "id",
2025
+ "required": true
2026
+ }
2027
+ },
2028
+ "description": "Start a Pipelines Advanced quick deploy run",
2029
+ "examples": [
2030
+ "<%= config.bin %> <%= command.id %> 1025",
2031
+ "<%= config.bin %> <%= command.id %> 1025 --backup --yes --wait"
2032
+ ],
2033
+ "flags": {
2034
+ "json": {
2035
+ "description": "Format output as json.",
2036
+ "helpGroup": "GLOBAL",
2037
+ "name": "json",
2038
+ "allowNo": false,
2039
+ "type": "boolean"
2040
+ },
2041
+ "interval": {
2042
+ "description": "Seconds between job status polls when waiting.",
2043
+ "name": "interval",
2044
+ "hasDynamicHelp": false,
2045
+ "multiple": false,
2046
+ "type": "option"
2047
+ },
2048
+ "timeout": {
2049
+ "description": "Maximum seconds to wait for the job to finish.",
2050
+ "name": "timeout",
2051
+ "hasDynamicHelp": false,
2052
+ "multiple": false,
2053
+ "type": "option"
2054
+ },
2055
+ "wait": {
2056
+ "description": "Wait for the accepted run to finish.",
2057
+ "name": "wait",
2058
+ "allowNo": false,
2059
+ "type": "boolean"
2060
+ },
2061
+ "yes": {
2062
+ "char": "y",
2063
+ "description": "Confirm the action without prompting (required for --json or non-interactive runs).",
2064
+ "name": "yes",
2065
+ "allowNo": false,
2066
+ "type": "boolean"
2067
+ },
2068
+ "backup": {
2069
+ "description": "Request backup before deploying.",
2070
+ "name": "backup",
2071
+ "allowNo": false,
2072
+ "type": "boolean"
2073
+ }
2074
+ },
2075
+ "hasDynamicHelp": false,
2076
+ "hiddenAliases": [],
2077
+ "id": "adv:deployment:quick-deploy",
2078
+ "pluginAlias": "@copado/agentia-cli",
2079
+ "pluginName": "@copado/agentia-cli",
2080
+ "pluginType": "core",
2081
+ "strict": true,
2082
+ "enableJsonFlag": true,
2083
+ "isESM": true,
2084
+ "relativePath": [
2085
+ "dist",
2086
+ "commands",
2087
+ "adv",
2088
+ "deployment",
2089
+ "quick-deploy.js"
2090
+ ]
2091
+ },
2092
+ "adv:deployment:validate": {
2093
+ "aliases": [],
2094
+ "args": {
2095
+ "id": {
2096
+ "description": "Pipelines Advanced deployment ID.",
2097
+ "name": "id",
2098
+ "required": true
2099
+ }
2100
+ },
2101
+ "description": "Start a check-only Pipelines Advanced validation run",
2102
+ "examples": [
2103
+ "<%= config.bin %> <%= command.id %> 1025",
2104
+ "<%= config.bin %> <%= command.id %> 1025 --wait"
2105
+ ],
2106
+ "flags": {
2107
+ "json": {
2108
+ "description": "Format output as json.",
2109
+ "helpGroup": "GLOBAL",
2110
+ "name": "json",
2111
+ "allowNo": false,
2112
+ "type": "boolean"
2113
+ },
2114
+ "interval": {
2115
+ "description": "Seconds between job status polls when waiting.",
2116
+ "name": "interval",
2117
+ "hasDynamicHelp": false,
2118
+ "multiple": false,
2119
+ "type": "option"
2120
+ },
2121
+ "timeout": {
2122
+ "description": "Maximum seconds to wait for the job to finish.",
2123
+ "name": "timeout",
2124
+ "hasDynamicHelp": false,
2125
+ "multiple": false,
2126
+ "type": "option"
2127
+ },
2128
+ "wait": {
2129
+ "description": "Wait for the accepted run to finish.",
2130
+ "name": "wait",
2131
+ "allowNo": false,
2132
+ "type": "boolean"
2133
+ }
2134
+ },
2135
+ "hasDynamicHelp": false,
2136
+ "hiddenAliases": [],
2137
+ "id": "adv:deployment:validate",
2138
+ "pluginAlias": "@copado/agentia-cli",
2139
+ "pluginName": "@copado/agentia-cli",
2140
+ "pluginType": "core",
2141
+ "strict": true,
2142
+ "enableJsonFlag": true,
2143
+ "isESM": true,
2144
+ "relativePath": [
2145
+ "dist",
2146
+ "commands",
2147
+ "adv",
2148
+ "deployment",
2149
+ "validate.js"
2150
+ ]
2151
+ },
2152
+ "adv:job:get": {
2153
+ "aliases": [],
2154
+ "args": {
2155
+ "deployment-id": {
2156
+ "description": "Pipelines Advanced deployment ID.",
2157
+ "name": "deployment-id",
2158
+ "required": true
2159
+ }
2160
+ },
2161
+ "description": "Show the latest Pipelines Advanced run for a deployment",
2162
+ "examples": [
2163
+ "<%= config.bin %> <%= command.id %> 1025",
2164
+ "<%= config.bin %> <%= command.id %> 1025 --json"
2165
+ ],
2166
+ "flags": {
2167
+ "json": {
2168
+ "description": "Format output as json.",
2169
+ "helpGroup": "GLOBAL",
2170
+ "name": "json",
2171
+ "allowNo": false,
2172
+ "type": "boolean"
2173
+ }
2174
+ },
2175
+ "hasDynamicHelp": false,
2176
+ "hiddenAliases": [],
2177
+ "id": "adv:job:get",
2178
+ "pluginAlias": "@copado/agentia-cli",
2179
+ "pluginName": "@copado/agentia-cli",
2180
+ "pluginType": "core",
2181
+ "strict": true,
2182
+ "enableJsonFlag": true,
2183
+ "isESM": true,
2184
+ "relativePath": [
2185
+ "dist",
2186
+ "commands",
2187
+ "adv",
2188
+ "job",
2189
+ "get.js"
2190
+ ]
2191
+ },
2192
+ "adv:job:list": {
2193
+ "aliases": [],
2194
+ "args": {
2195
+ "deployment-id": {
2196
+ "description": "Pipelines Advanced deployment ID.",
2197
+ "name": "deployment-id",
2198
+ "required": true
2199
+ }
2200
+ },
2201
+ "description": "List Pipelines Advanced run history for a deployment",
2202
+ "examples": [
2203
+ "<%= config.bin %> <%= command.id %> 1025",
2204
+ "<%= config.bin %> <%= command.id %> 1025 --page 1 --page-size 25"
2205
+ ],
2206
+ "flags": {
2207
+ "json": {
2208
+ "description": "Format output as json.",
2209
+ "helpGroup": "GLOBAL",
2210
+ "name": "json",
2211
+ "allowNo": false,
2212
+ "type": "boolean"
2213
+ },
2214
+ "page": {
2215
+ "description": "Page number starting at 0.",
2216
+ "name": "page",
2217
+ "hasDynamicHelp": false,
2218
+ "multiple": false,
2219
+ "type": "option"
2220
+ },
2221
+ "page-size": {
2222
+ "description": "Rows per page.",
2223
+ "name": "page-size",
2224
+ "hasDynamicHelp": false,
2225
+ "multiple": false,
2226
+ "type": "option"
2227
+ }
2228
+ },
2229
+ "hasDynamicHelp": false,
2230
+ "hiddenAliases": [],
2231
+ "id": "adv:job:list",
2232
+ "pluginAlias": "@copado/agentia-cli",
2233
+ "pluginName": "@copado/agentia-cli",
2234
+ "pluginType": "core",
2235
+ "strict": true,
2236
+ "enableJsonFlag": true,
2237
+ "isESM": true,
2238
+ "relativePath": [
2239
+ "dist",
2240
+ "commands",
2241
+ "adv",
2242
+ "job",
2243
+ "list.js"
2244
+ ]
2245
+ },
2246
+ "adv:job:wait": {
2247
+ "aliases": [],
2248
+ "args": {
2249
+ "deployment-id": {
2250
+ "description": "Pipelines Advanced deployment ID.",
2251
+ "name": "deployment-id",
2252
+ "required": true
2253
+ }
2254
+ },
2255
+ "description": "Wait for the latest Pipelines Advanced run to finish",
2256
+ "examples": [
2257
+ "<%= config.bin %> <%= command.id %> 1025",
2258
+ "<%= config.bin %> <%= command.id %> 1025 --interval 5 --timeout 1800"
2259
+ ],
2260
+ "flags": {
2261
+ "json": {
2262
+ "description": "Format output as json.",
2263
+ "helpGroup": "GLOBAL",
2264
+ "name": "json",
2265
+ "allowNo": false,
2266
+ "type": "boolean"
2267
+ },
2268
+ "interval": {
2269
+ "description": "Seconds between job status polls.",
2270
+ "name": "interval",
2271
+ "hasDynamicHelp": false,
2272
+ "multiple": false,
2273
+ "type": "option"
2274
+ },
2275
+ "timeout": {
2276
+ "description": "Maximum seconds to wait.",
2277
+ "name": "timeout",
2278
+ "hasDynamicHelp": false,
2279
+ "multiple": false,
2280
+ "type": "option"
2281
+ }
2282
+ },
2283
+ "hasDynamicHelp": false,
2284
+ "hiddenAliases": [],
2285
+ "id": "adv:job:wait",
2286
+ "pluginAlias": "@copado/agentia-cli",
2287
+ "pluginName": "@copado/agentia-cli",
2288
+ "pluginType": "core",
2289
+ "strict": true,
2290
+ "enableJsonFlag": true,
2291
+ "isESM": true,
2292
+ "relativePath": [
2293
+ "dist",
2294
+ "commands",
2295
+ "adv",
2296
+ "job",
2297
+ "wait.js"
2298
+ ]
2299
+ },
2300
+ "adv:organization:get": {
2301
+ "aliases": [],
2302
+ "args": {
2303
+ "id": {
2304
+ "description": "Pipelines Advanced organization ID.",
2305
+ "name": "id",
2306
+ "required": true
2307
+ }
2308
+ },
2309
+ "description": "Show one Pipelines Advanced organization",
2310
+ "examples": [
2311
+ "<%= config.bin %> <%= command.id %> 910001",
2312
+ "<%= config.bin %> <%= command.id %> 910001 --json"
2313
+ ],
2314
+ "flags": {
2315
+ "json": {
2316
+ "description": "Format output as json.",
2317
+ "helpGroup": "GLOBAL",
2318
+ "name": "json",
2319
+ "allowNo": false,
2320
+ "type": "boolean"
2321
+ }
2322
+ },
2323
+ "hasDynamicHelp": false,
2324
+ "hiddenAliases": [],
2325
+ "id": "adv:organization:get",
2326
+ "pluginAlias": "@copado/agentia-cli",
2327
+ "pluginName": "@copado/agentia-cli",
2328
+ "pluginType": "core",
2329
+ "strict": true,
2330
+ "enableJsonFlag": true,
2331
+ "isESM": true,
2332
+ "relativePath": [
2333
+ "dist",
2334
+ "commands",
2335
+ "adv",
2336
+ "organization",
2337
+ "get.js"
2338
+ ]
2339
+ },
2340
+ "adv:organization:list": {
2341
+ "aliases": [],
2342
+ "args": {},
2343
+ "description": "List Pipelines Advanced organizations visible to the PAT user",
2344
+ "examples": [
2345
+ "<%= config.bin %> <%= command.id %>",
2346
+ "<%= config.bin %> <%= command.id %> --json"
2347
+ ],
2348
+ "flags": {
2349
+ "json": {
2350
+ "description": "Format output as json.",
2351
+ "helpGroup": "GLOBAL",
2352
+ "name": "json",
2353
+ "allowNo": false,
2354
+ "type": "boolean"
2355
+ }
2356
+ },
2357
+ "hasDynamicHelp": false,
2358
+ "hiddenAliases": [],
2359
+ "id": "adv:organization:list",
1162
2360
  "pluginAlias": "@copado/agentia-cli",
1163
2361
  "pluginName": "@copado/agentia-cli",
1164
2362
  "pluginType": "core",
@@ -1168,23 +2366,24 @@
1168
2366
  "relativePath": [
1169
2367
  "dist",
1170
2368
  "commands",
1171
- "testing",
1172
- "status.js"
2369
+ "adv",
2370
+ "organization",
2371
+ "list.js"
1173
2372
  ]
1174
2373
  },
1175
- "testing:update": {
2374
+ "adv:organization:validate": {
1176
2375
  "aliases": [],
1177
2376
  "args": {
1178
2377
  "id": {
1179
- "description": "CRT job/test ID.",
2378
+ "description": "Pipelines Advanced organization ID.",
1180
2379
  "name": "id",
1181
2380
  "required": true
1182
2381
  }
1183
2382
  },
1184
- "description": "Update a Copado Robotic Testing test by uploading file operations",
2383
+ "description": "Validate that Pipelines Advanced can connect to an organization",
1185
2384
  "examples": [
1186
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --replace tests.robot",
1187
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --add new.robot --remove old.robot --json"
2385
+ "<%= config.bin %> <%= command.id %> 910001",
2386
+ "<%= config.bin %> <%= command.id %> 910001 --json"
1188
2387
  ],
1189
2388
  "flags": {
1190
2389
  "json": {
@@ -1193,98 +2392,11 @@
1193
2392
  "name": "json",
1194
2393
  "allowNo": false,
1195
2394
  "type": "boolean"
1196
- },
1197
- "project": {
1198
- "char": "p",
1199
- "description": "CRT project ID.",
1200
- "name": "project",
1201
- "required": true,
1202
- "hasDynamicHelp": false,
1203
- "multiple": false,
1204
- "type": "option"
1205
- },
1206
- "branch": {
1207
- "description": "Optional CRT branch name for file operations.",
1208
- "name": "branch",
1209
- "hasDynamicHelp": false,
1210
- "multiple": false,
1211
- "type": "option"
1212
- },
1213
- "add": {
1214
- "description": "Add a file using local[:remote] syntax. Can be provided multiple times.",
1215
- "name": "add",
1216
- "hasDynamicHelp": false,
1217
- "multiple": true,
1218
- "type": "option"
1219
- },
1220
- "remove": {
1221
- "description": "Remove a remote CRT file path. Can be provided multiple times.",
1222
- "name": "remove",
1223
- "hasDynamicHelp": false,
1224
- "multiple": true,
1225
- "type": "option"
1226
- },
1227
- "replace": {
1228
- "description": "Replace a file using local[:remote] syntax. Can be provided multiple times.",
1229
- "name": "replace",
1230
- "hasDynamicHelp": false,
1231
- "multiple": true,
1232
- "type": "option"
1233
- },
1234
- "author-email": {
1235
- "description": "Author email for CRT file history.",
1236
- "name": "author-email",
1237
- "default": "agentia@copado.com",
1238
- "hasDynamicHelp": false,
1239
- "multiple": false,
1240
- "type": "option"
1241
- },
1242
- "author-name": {
1243
- "description": "Author name for CRT file history.",
1244
- "name": "author-name",
1245
- "default": "Agentia CLI",
1246
- "hasDynamicHelp": false,
1247
- "multiple": false,
1248
- "type": "option"
1249
- },
1250
- "base-path": {
1251
- "description": "Require local upload files to stay within this directory.",
1252
- "name": "base-path",
1253
- "hasDynamicHelp": false,
1254
- "multiple": false,
1255
- "type": "option"
1256
- },
1257
- "dry-run": {
1258
- "description": "Return a sanitized plan without making a request.",
1259
- "name": "dry-run",
1260
- "allowNo": false,
1261
- "type": "boolean"
1262
- },
1263
- "message": {
1264
- "description": "Commit message for CRT file history.",
1265
- "name": "message",
1266
- "hasDynamicHelp": false,
1267
- "multiple": false,
1268
- "type": "option"
1269
- },
1270
- "parent-commit": {
1271
- "description": "Expected parent commit hash.",
1272
- "name": "parent-commit",
1273
- "hasDynamicHelp": false,
1274
- "multiple": false,
1275
- "type": "option"
1276
- },
1277
- "remote-prefix": {
1278
- "description": "Validated remote path prefix for all operations.",
1279
- "name": "remote-prefix",
1280
- "hasDynamicHelp": false,
1281
- "multiple": false,
1282
- "type": "option"
1283
2395
  }
1284
2396
  },
1285
2397
  "hasDynamicHelp": false,
1286
2398
  "hiddenAliases": [],
1287
- "id": "testing:update",
2399
+ "id": "adv:organization:validate",
1288
2400
  "pluginAlias": "@copado/agentia-cli",
1289
2401
  "pluginName": "@copado/agentia-cli",
1290
2402
  "pluginType": "core",
@@ -1294,8 +2406,9 @@
1294
2406
  "relativePath": [
1295
2407
  "dist",
1296
2408
  "commands",
1297
- "testing",
1298
- "update.js"
2409
+ "adv",
2410
+ "organization",
2411
+ "validate.js"
1299
2412
  ]
1300
2413
  },
1301
2414
  "ai:agent:ask": {
@@ -3889,6 +5002,49 @@
3889
5002
  "configure.js"
3890
5003
  ]
3891
5004
  },
5005
+ "cicd:notification:get": {
5006
+ "aliases": [],
5007
+ "args": {},
5008
+ "description": "List Slack notification subscriptions for the current user on a pipeline",
5009
+ "examples": [
5010
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id>",
5011
+ "<%= config.bin %> <%= command.id %> -p <pipeline-id> --json"
5012
+ ],
5013
+ "flags": {
5014
+ "json": {
5015
+ "description": "Format output as json.",
5016
+ "helpGroup": "GLOBAL",
5017
+ "name": "json",
5018
+ "allowNo": false,
5019
+ "type": "boolean"
5020
+ },
5021
+ "pipeline-id": {
5022
+ "char": "p",
5023
+ "description": "Copado pipeline Salesforce Id",
5024
+ "name": "pipeline-id",
5025
+ "required": true,
5026
+ "hasDynamicHelp": false,
5027
+ "multiple": false,
5028
+ "type": "option"
5029
+ }
5030
+ },
5031
+ "hasDynamicHelp": false,
5032
+ "hiddenAliases": [],
5033
+ "id": "cicd:notification:get",
5034
+ "pluginAlias": "@copado/agentia-cli",
5035
+ "pluginName": "@copado/agentia-cli",
5036
+ "pluginType": "core",
5037
+ "strict": true,
5038
+ "enableJsonFlag": true,
5039
+ "isESM": true,
5040
+ "relativePath": [
5041
+ "dist",
5042
+ "commands",
5043
+ "cicd",
5044
+ "notification",
5045
+ "get.js"
5046
+ ]
5047
+ },
3892
5048
  "cicd:pipeline:create": {
3893
5049
  "aliases": [],
3894
5050
  "args": {
@@ -5497,50 +6653,6 @@
5497
6653
  "validate.js"
5498
6654
  ]
5499
6655
  },
5500
- "cicd:user:get": {
5501
- "aliases": [],
5502
- "args": {},
5503
- "description": "Get a Copado user by ID (defaults to the authenticated user)",
5504
- "examples": [
5505
- "<%= config.bin %> <%= command.id %>",
5506
- "<%= config.bin %> <%= command.id %> --id me",
5507
- "<%= config.bin %> <%= command.id %> --id 005000000000000",
5508
- "<%= config.bin %> <%= command.id %> --json"
5509
- ],
5510
- "flags": {
5511
- "json": {
5512
- "description": "Format output as json.",
5513
- "helpGroup": "GLOBAL",
5514
- "name": "json",
5515
- "allowNo": false,
5516
- "type": "boolean"
5517
- },
5518
- "id": {
5519
- "description": "User ID, or \"me\" for the authenticated user",
5520
- "name": "id",
5521
- "default": "me",
5522
- "hasDynamicHelp": false,
5523
- "multiple": false,
5524
- "type": "option"
5525
- }
5526
- },
5527
- "hasDynamicHelp": false,
5528
- "hiddenAliases": [],
5529
- "id": "cicd:user:get",
5530
- "pluginAlias": "@copado/agentia-cli",
5531
- "pluginName": "@copado/agentia-cli",
5532
- "pluginType": "core",
5533
- "strict": true,
5534
- "enableJsonFlag": true,
5535
- "isESM": true,
5536
- "relativePath": [
5537
- "dist",
5538
- "commands",
5539
- "cicd",
5540
- "user",
5541
- "get.js"
5542
- ]
5543
- },
5544
6656
  "cicd:stage:create": {
5545
6657
  "aliases": [],
5546
6658
  "args": {
@@ -5824,6 +6936,50 @@
5824
6936
  "update.js"
5825
6937
  ]
5826
6938
  },
6939
+ "cicd:user:get": {
6940
+ "aliases": [],
6941
+ "args": {},
6942
+ "description": "Get a Copado user by ID (defaults to the authenticated user)",
6943
+ "examples": [
6944
+ "<%= config.bin %> <%= command.id %>",
6945
+ "<%= config.bin %> <%= command.id %> --id me",
6946
+ "<%= config.bin %> <%= command.id %> --id 005000000000000",
6947
+ "<%= config.bin %> <%= command.id %> --json"
6948
+ ],
6949
+ "flags": {
6950
+ "json": {
6951
+ "description": "Format output as json.",
6952
+ "helpGroup": "GLOBAL",
6953
+ "name": "json",
6954
+ "allowNo": false,
6955
+ "type": "boolean"
6956
+ },
6957
+ "id": {
6958
+ "description": "User ID, or \"me\" for the authenticated user",
6959
+ "name": "id",
6960
+ "default": "me",
6961
+ "hasDynamicHelp": false,
6962
+ "multiple": false,
6963
+ "type": "option"
6964
+ }
6965
+ },
6966
+ "hasDynamicHelp": false,
6967
+ "hiddenAliases": [],
6968
+ "id": "cicd:user:get",
6969
+ "pluginAlias": "@copado/agentia-cli",
6970
+ "pluginName": "@copado/agentia-cli",
6971
+ "pluginType": "core",
6972
+ "strict": true,
6973
+ "enableJsonFlag": true,
6974
+ "isESM": true,
6975
+ "relativePath": [
6976
+ "dist",
6977
+ "commands",
6978
+ "cicd",
6979
+ "user",
6980
+ "get.js"
6981
+ ]
6982
+ },
5827
6983
  "cicd:work:commit": {
5828
6984
  "aliases": [],
5829
6985
  "args": {
@@ -6722,9 +7878,10 @@
6722
7878
  "cicd:work:publish": {
6723
7879
  "aliases": [],
6724
7880
  "args": {},
6725
- "description": "Publish the current feature/<lastWorkItem> branch and register commits with Copado. Requires a clean working tree, base branch, and dev org branch from `.agentia/config.user.json`. Fetches origin/<lastBaseBranch>, then registers only commits in origin/<lastBaseBranch>..HEAD and diffs nested parent XML at merge-base(origin/<lastBaseBranch>, HEAD) versus HEAD, so origin/base-only history is ignored. When there are no commits since origin/<lastBaseBranch>, or origin already has HEAD, fails with \"No changes to publish\" unless `--permissions` and/or `--full-metadata` is set, in which case it creates an empty commit so a tip commit id exists. Applies Copado environment-variable then yaml replacements to the added and modified files in origin/<lastBaseBranch>..HEAD (passed to the jars as `--include`; yaml `-b` is the feature branch, matching Copado Commit), commits both as a single follow-up commit, locks the tip commit, runs `git push origin <branch>`, reports the nested metadata changed across the branch, such as the CustomField behind a profile field-permission edit, plus the parent components it would ignore, calls headless work/push with one changeListUpdate list of Action:MetadataType:MetadataName corrections: lastPermissionSelected and --permissions plus the nested metadata of the changed profiles and permission sets as RetrieveOnly, lastFullMetadataSelected and --full-metadata plus brand-new nested parent files as fullMetadata, the ignored parents as unchanged, the nested metadata deleted on the branch as Del, and the remaining nested metadata as Add, then merges the feature branch into the recorded dev org branch. The changed profiles and permission sets themselves are never sent as corrections, so they stay in the change list and deploy only the permissions their RetrieveOnly entries select. Brand-new nested parent files are an exception: they are sent as fullMetadata so the complete file travels. `cicd work push` is a compatibility alias of this command.",
7881
+ "description": "Publish the current feature/<lastWorkItem> branch and register commits with Copado. Requires a clean working tree, base branch, and dev org branch from `.agentia/config.user.json`. Fetches origin/<lastBaseBranch>, then registers only commits in origin/<lastBaseBranch>..HEAD and diffs nested parent XML at merge-base(origin/<lastBaseBranch>, HEAD) versus HEAD, so origin/base-only history is ignored. When there are no commits since origin/<lastBaseBranch>, or origin already has HEAD, fails with \"No changes to publish\" unless `--permissions` and/or `--full-metadata` is set, in which case it creates an empty commit so a tip commit id exists. Applies Copado environment-variable then yaml replacements to the added and modified files in origin/<lastBaseBranch>..HEAD (passed to the jars as `--include`; yaml `-b` is the feature branch, matching Copado Commit), commits both as a single follow-up commit, locks the tip commit, runs `git push origin <branch>`, reports the nested metadata changed across the branch, such as the CustomField behind a profile field-permission edit, plus the parent components it would ignore, calls headless work/push with one changeListUpdate list of Action:MetadataType:MetadataName corrections: lastPermissionSelected and --permissions plus the nested metadata of the changed profiles and permission sets as RetrieveOnly, lastFullMetadataSelected and --full-metadata plus brand-new nested parent files as fullMetadata, the ignored parents as unchanged, the nested metadata deleted on the branch as Del, and the remaining nested metadata as Add, then merges the feature branch into the recorded dev org branch. The changed profiles and permission sets themselves are never sent as corrections, so they stay in the change list and deploy only the permissions their RetrieveOnly entries select. Brand-new nested parent files are an exception: they are sent as fullMetadata so the complete file travels. `--dry-run` runs commit collection, replacements, and nested detection, logs the changeListUpdate that would be sent, skips empty/replacement commits, tip lock, git push, headless register, and dev-org sync, then restores only the tracked files dirtied by replacements (untracked files are left alone). `cicd work push` is a compatibility alias of this command.",
6726
7882
  "examples": [
6727
7883
  "<%= config.bin %> <%= command.id %>",
7884
+ "<%= config.bin %> <%= command.id %> --dry-run",
6728
7885
  "<%= config.bin %> <%= command.id %> --permissions CustomField:Account.SLA__c,ApexClass:AccountService",
6729
7886
  "<%= config.bin %> <%= command.id %> --full-metadata PermissionSet:Sales_Onboarding",
6730
7887
  "<%= config.bin %> <%= command.id %> --skip-nested-metadata-detection",
@@ -6738,6 +7895,12 @@
6738
7895
  "allowNo": false,
6739
7896
  "type": "boolean"
6740
7897
  },
7898
+ "dry-run": {
7899
+ "description": "Preview publish: run commit collection, Copado replacements, and nested metadata detection; log the changeListUpdate that would be registered; do not commit, push, lock, register, or sync the dev org branch. Restores dirtied tracked files afterward. Requires a clean tracked working tree.",
7900
+ "name": "dry-run",
7901
+ "allowNo": false,
7902
+ "type": "boolean"
7903
+ },
6741
7904
  "full-metadata": {
6742
7905
  "description": "Comma-separated Type:Name metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding. Allowed types: Profile, PermissionSet, MutingPermissionSet, CustomObject, CustomObjectTranslation. Added for this publish and sent as headless push fullMetadata corrections. The named metadata is committed as a complete file, so it is never decomposed into nested metadata. Not stored.",
6743
7906
  "name": "full-metadata",
@@ -6794,6 +7957,12 @@
6794
7957
  "allowNo": false,
6795
7958
  "type": "boolean"
6796
7959
  },
7960
+ "dry-run": {
7961
+ "description": "Preview publish: run commit collection, Copado replacements, and nested metadata detection; log the changeListUpdate that would be registered; do not commit, push, lock, register, or sync the dev org branch. Restores dirtied tracked files afterward. Requires a clean tracked working tree.",
7962
+ "name": "dry-run",
7963
+ "allowNo": false,
7964
+ "type": "boolean"
7965
+ },
6797
7966
  "full-metadata": {
6798
7967
  "description": "Comma-separated Type:Name metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding. Allowed types: Profile, PermissionSet, MutingPermissionSet, CustomObject, CustomObjectTranslation. Added for this publish and sent as headless push fullMetadata corrections. The named metadata is committed as a complete file, so it is never decomposed into nested metadata. Not stored.",
6799
7968
  "name": "full-metadata",
@@ -7311,6 +8480,7 @@
7311
8480
  "description": "Create portable Markdown-only Agentia CLI skills in this project without overwriting managed files",
7312
8481
  "examples": [
7313
8482
  "<%= config.bin %> <%= command.id %>",
8483
+ "<%= config.bin %> <%= command.id %> --adv --target agents --no-prompt",
7314
8484
  "<%= config.bin %> <%= command.id %> --cicd --target agents --no-prompt",
7315
8485
  "<%= config.bin %> <%= command.id %> --testing --ai --target cursor --no-prompt",
7316
8486
  "<%= config.bin %> <%= command.id %> --json"
@@ -7323,6 +8493,12 @@
7323
8493
  "allowNo": false,
7324
8494
  "type": "boolean"
7325
8495
  },
8496
+ "adv": {
8497
+ "description": "Create the Copado Pipelines Advanced skill pack",
8498
+ "name": "adv",
8499
+ "allowNo": false,
8500
+ "type": "boolean"
8501
+ },
7326
8502
  "ai": {
7327
8503
  "description": "Create the Copado AI agent skill pack",
7328
8504
  "name": "ai",
@@ -7391,6 +8567,7 @@
7391
8567
  "examples": [
7392
8568
  "<%= config.bin %> <%= command.id %>",
7393
8569
  "<%= config.bin %> <%= command.id %> --ai --target cursor --no-prompt",
8570
+ "<%= config.bin %> <%= command.id %> --adv --target agents --no-prompt",
7394
8571
  "<%= config.bin %> <%= command.id %> --cicd --testing --target agents --no-prompt",
7395
8572
  "<%= config.bin %> <%= command.id %> --force --json"
7396
8573
  ],
@@ -7402,6 +8579,12 @@
7402
8579
  "allowNo": false,
7403
8580
  "type": "boolean"
7404
8581
  },
8582
+ "adv": {
8583
+ "description": "Update the Copado Pipelines Advanced skill pack",
8584
+ "name": "adv",
8585
+ "allowNo": false,
8586
+ "type": "boolean"
8587
+ },
7405
8588
  "ai": {
7406
8589
  "description": "Update the Copado AI agent skill pack",
7407
8590
  "name": "ai",
@@ -18540,5 +19723,5 @@
18540
19723
  ]
18541
19724
  }
18542
19725
  },
18543
- "version": "1.0.0-beta.5"
19726
+ "version": "1.0.0-beta.6"
18544
19727
  }