@copado/agentia-cli 0.20.0-alpha.0 → 0.22.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.
Files changed (63) hide show
  1. package/README.md +130 -137
  2. package/dist/commands/job/get.d.ts +0 -4
  3. package/dist/commands/job/get.js +3 -6
  4. package/dist/commands/job/get.js.map +1 -1
  5. package/dist/commands/job/kill.d.ts +0 -4
  6. package/dist/commands/job/kill.js +3 -6
  7. package/dist/commands/job/kill.js.map +1 -1
  8. package/dist/commands/job/list.d.ts +0 -2
  9. package/dist/commands/job/list.js +4 -7
  10. package/dist/commands/job/list.js.map +1 -1
  11. package/dist/commands/job/pause.d.ts +0 -4
  12. package/dist/commands/job/pause.js +3 -6
  13. package/dist/commands/job/pause.js.map +1 -1
  14. package/dist/commands/job/resume.d.ts +0 -4
  15. package/dist/commands/job/resume.js +3 -6
  16. package/dist/commands/job/resume.js.map +1 -1
  17. package/dist/commands/job/run.d.ts +0 -2
  18. package/dist/commands/job/run.js +2 -5
  19. package/dist/commands/job/run.js.map +1 -1
  20. package/dist/commands/metadata/refresh/deleted.d.ts +0 -2
  21. package/dist/commands/metadata/refresh/deleted.js +2 -5
  22. package/dist/commands/metadata/refresh/deleted.js.map +1 -1
  23. package/dist/commands/metadata/refresh/run.d.ts +0 -2
  24. package/dist/commands/metadata/refresh/run.js +2 -5
  25. package/dist/commands/metadata/refresh/run.js.map +1 -1
  26. package/dist/commands/metadata/refresh/status.d.ts +0 -2
  27. package/dist/commands/metadata/refresh/status.js +2 -5
  28. package/dist/commands/metadata/refresh/status.js.map +1 -1
  29. package/dist/commands/pipeline/connection/list.d.ts +0 -2
  30. package/dist/commands/pipeline/connection/list.js +3 -5
  31. package/dist/commands/pipeline/connection/list.js.map +1 -1
  32. package/dist/commands/pipeline/get.d.ts +0 -4
  33. package/dist/commands/pipeline/get.js +3 -6
  34. package/dist/commands/pipeline/get.js.map +1 -1
  35. package/dist/commands/pipeline/list.d.ts +0 -4
  36. package/dist/commands/pipeline/list.js +3 -6
  37. package/dist/commands/pipeline/list.js.map +1 -1
  38. package/dist/commands/work/status.d.ts +10 -0
  39. package/dist/commands/work/status.js +44 -0
  40. package/dist/commands/work/status.js.map +1 -0
  41. package/dist/lib/cicd-gateway.d.ts +6 -2
  42. package/dist/lib/cicd-gateway.js +60 -14
  43. package/dist/lib/cicd-gateway.js.map +1 -1
  44. package/dist/lib/defaults-store.d.ts +2 -0
  45. package/dist/lib/defaults-store.js +20 -0
  46. package/dist/lib/defaults-store.js.map +1 -1
  47. package/dist/lib/format.d.ts +8 -3
  48. package/dist/lib/format.js +54 -1
  49. package/dist/lib/format.js.map +1 -1
  50. package/dist/lib/mcp/tools.d.ts +5 -9
  51. package/dist/lib/mcp/tools.js +3 -33
  52. package/dist/lib/mcp/tools.js.map +1 -1
  53. package/dist/lib/work-push.d.ts +7 -1
  54. package/dist/lib/work-push.js +72 -9
  55. package/dist/lib/work-push.js.map +1 -1
  56. package/dist/lib/work-types.d.ts +24 -0
  57. package/dist/lib/work-types.js +36 -0
  58. package/dist/lib/work-types.js.map +1 -1
  59. package/oclif.manifest.json +254 -382
  60. package/package.json +1 -1
  61. package/dist/lib/pipeline-flags.d.ts +0 -10
  62. package/dist/lib/pipeline-flags.js +0 -19
  63. package/dist/lib/pipeline-flags.js.map +0 -1
@@ -464,6 +464,31 @@
464
464
  "update.js"
465
465
  ]
466
466
  },
467
+ "mcp:start": {
468
+ "aliases": [],
469
+ "args": {},
470
+ "description": "Start the local Agentia MCP server over stdio",
471
+ "examples": [
472
+ "<%= config.bin %> <%= command.id %>",
473
+ "<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
474
+ ],
475
+ "flags": {},
476
+ "hasDynamicHelp": false,
477
+ "hiddenAliases": [],
478
+ "id": "mcp:start",
479
+ "pluginAlias": "@copado/agentia-cli",
480
+ "pluginName": "@copado/agentia-cli",
481
+ "pluginType": "core",
482
+ "strict": true,
483
+ "enableJsonFlag": false,
484
+ "isESM": true,
485
+ "relativePath": [
486
+ "dist",
487
+ "commands",
488
+ "mcp",
489
+ "start.js"
490
+ ]
491
+ },
467
492
  "job:get": {
468
493
  "aliases": [],
469
494
  "args": {
@@ -475,8 +500,8 @@
475
500
  },
476
501
  "description": "Get a Copado job execution with ordered steps",
477
502
  "examples": [
478
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id>",
479
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id> --json"
503
+ "<%= config.bin %> <%= command.id %> <job-id>",
504
+ "<%= config.bin %> <%= command.id %> <job-id> --json"
480
505
  ],
481
506
  "flags": {
482
507
  "json": {
@@ -485,20 +510,6 @@
485
510
  "name": "json",
486
511
  "allowNo": false,
487
512
  "type": "boolean"
488
- },
489
- "organization-id": {
490
- "description": "Organization Id for the x-organization-id gateway header",
491
- "name": "organization-id",
492
- "hasDynamicHelp": false,
493
- "multiple": false,
494
- "type": "option"
495
- },
496
- "user-id": {
497
- "description": "User Id for the x-user-id gateway header",
498
- "name": "user-id",
499
- "hasDynamicHelp": false,
500
- "multiple": false,
501
- "type": "option"
502
513
  }
503
514
  },
504
515
  "hasDynamicHelp": false,
@@ -528,8 +539,8 @@
528
539
  },
529
540
  "description": "Cancel a Copado job execution",
530
541
  "examples": [
531
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id>",
532
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id> --json"
542
+ "<%= config.bin %> <%= command.id %> <job-id>",
543
+ "<%= config.bin %> <%= command.id %> <job-id> --json"
533
544
  ],
534
545
  "flags": {
535
546
  "json": {
@@ -538,20 +549,6 @@
538
549
  "name": "json",
539
550
  "allowNo": false,
540
551
  "type": "boolean"
541
- },
542
- "organization-id": {
543
- "description": "Organization Id for the x-organization-id gateway header",
544
- "name": "organization-id",
545
- "hasDynamicHelp": false,
546
- "multiple": false,
547
- "type": "option"
548
- },
549
- "user-id": {
550
- "description": "User Id for the x-user-id gateway header",
551
- "name": "user-id",
552
- "hasDynamicHelp": false,
553
- "multiple": false,
554
- "type": "option"
555
552
  }
556
553
  },
557
554
  "hasDynamicHelp": false,
@@ -575,10 +572,10 @@
575
572
  "args": {},
576
573
  "description": "List Copado job executions",
577
574
  "examples": [
578
- "<%= config.bin %> <%= command.id %> --user-id <id> --organization-id <id>",
579
- "<%= config.bin %> <%= command.id %> --user-id <id> --organization-id <id> --status \"In Progress\" --limit 50",
580
- "<%= config.bin %> <%= command.id %> --user-id <id> --organization-id <id> --name JE- --type Deploy --parent <parent-id>",
581
- "<%= config.bin %> <%= command.id %> --user-id <id> --organization-id <id> --json"
575
+ "<%= config.bin %> <%= command.id %>",
576
+ "<%= config.bin %> <%= command.id %> --status \"In Progress\" --limit 50",
577
+ "<%= config.bin %> <%= command.id %> --name JE- --type Deploy --parent <parent-id>",
578
+ "<%= config.bin %> <%= command.id %> --json"
582
579
  ],
583
580
  "flags": {
584
581
  "json": {
@@ -588,20 +585,6 @@
588
585
  "allowNo": false,
589
586
  "type": "boolean"
590
587
  },
591
- "organization-id": {
592
- "description": "Organization Id for the x-organization-id gateway header",
593
- "name": "organization-id",
594
- "hasDynamicHelp": false,
595
- "multiple": false,
596
- "type": "option"
597
- },
598
- "user-id": {
599
- "description": "User Id for the x-user-id gateway header",
600
- "name": "user-id",
601
- "hasDynamicHelp": false,
602
- "multiple": false,
603
- "type": "option"
604
- },
605
588
  "context": {
606
589
  "description": "Contains match on JobExecution context",
607
590
  "name": "context",
@@ -679,8 +662,8 @@
679
662
  },
680
663
  "description": "Pause a Copado job execution (resumable cancel alias)",
681
664
  "examples": [
682
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id>",
683
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id> --json"
665
+ "<%= config.bin %> <%= command.id %> <job-id>",
666
+ "<%= config.bin %> <%= command.id %> <job-id> --json"
684
667
  ],
685
668
  "flags": {
686
669
  "json": {
@@ -689,20 +672,6 @@
689
672
  "name": "json",
690
673
  "allowNo": false,
691
674
  "type": "boolean"
692
- },
693
- "organization-id": {
694
- "description": "Organization Id for the x-organization-id gateway header",
695
- "name": "organization-id",
696
- "hasDynamicHelp": false,
697
- "multiple": false,
698
- "type": "option"
699
- },
700
- "user-id": {
701
- "description": "User Id for the x-user-id gateway header",
702
- "name": "user-id",
703
- "hasDynamicHelp": false,
704
- "multiple": false,
705
- "type": "option"
706
675
  }
707
676
  },
708
677
  "hasDynamicHelp": false,
@@ -732,8 +701,8 @@
732
701
  },
733
702
  "description": "Resume outstanding steps for a Copado job execution",
734
703
  "examples": [
735
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id>",
736
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id> --json"
704
+ "<%= config.bin %> <%= command.id %> <job-id>",
705
+ "<%= config.bin %> <%= command.id %> <job-id> --json"
737
706
  ],
738
707
  "flags": {
739
708
  "json": {
@@ -742,20 +711,6 @@
742
711
  "name": "json",
743
712
  "allowNo": false,
744
713
  "type": "boolean"
745
- },
746
- "organization-id": {
747
- "description": "Organization Id for the x-organization-id gateway header",
748
- "name": "organization-id",
749
- "hasDynamicHelp": false,
750
- "multiple": false,
751
- "type": "option"
752
- },
753
- "user-id": {
754
- "description": "User Id for the x-user-id gateway header",
755
- "name": "user-id",
756
- "hasDynamicHelp": false,
757
- "multiple": false,
758
- "type": "option"
759
714
  }
760
715
  },
761
716
  "hasDynamicHelp": false,
@@ -785,8 +740,8 @@
785
740
  },
786
741
  "description": "Run all steps for a Copado job execution",
787
742
  "examples": [
788
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id>",
789
- "<%= config.bin %> <%= command.id %> <job-id> --user-id <id> --organization-id <id> --restart --json"
743
+ "<%= config.bin %> <%= command.id %> <job-id>",
744
+ "<%= config.bin %> <%= command.id %> <job-id> --restart --json"
790
745
  ],
791
746
  "flags": {
792
747
  "json": {
@@ -796,20 +751,6 @@
796
751
  "allowNo": false,
797
752
  "type": "boolean"
798
753
  },
799
- "organization-id": {
800
- "description": "Organization Id for the x-organization-id gateway header",
801
- "name": "organization-id",
802
- "hasDynamicHelp": false,
803
- "multiple": false,
804
- "type": "option"
805
- },
806
- "user-id": {
807
- "description": "User Id for the x-user-id gateway header",
808
- "name": "user-id",
809
- "hasDynamicHelp": false,
810
- "multiple": false,
811
- "type": "option"
812
- },
813
754
  "restart": {
814
755
  "description": "Restart the job run (gateway compatibility flag)",
815
756
  "name": "restart",
@@ -833,31 +774,6 @@
833
774
  "run.js"
834
775
  ]
835
776
  },
836
- "mcp:start": {
837
- "aliases": [],
838
- "args": {},
839
- "description": "Start the local Agentia MCP server over stdio",
840
- "examples": [
841
- "<%= config.bin %> <%= command.id %>",
842
- "<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
843
- ],
844
- "flags": {},
845
- "hasDynamicHelp": false,
846
- "hiddenAliases": [],
847
- "id": "mcp:start",
848
- "pluginAlias": "@copado/agentia-cli",
849
- "pluginName": "@copado/agentia-cli",
850
- "pluginType": "core",
851
- "strict": true,
852
- "enableJsonFlag": false,
853
- "isESM": true,
854
- "relativePath": [
855
- "dist",
856
- "commands",
857
- "mcp",
858
- "start.js"
859
- ]
860
- },
861
777
  "metadata:list": {
862
778
  "aliases": [],
863
779
  "args": {},
@@ -1022,8 +938,8 @@
1022
938
  },
1023
939
  "description": "Get a Copado pipeline",
1024
940
  "examples": [
1025
- "<%= config.bin %> <%= command.id %> <pipeline-id> --user-id <id> --organization-id <id>",
1026
- "<%= config.bin %> <%= command.id %> <pipeline-id> --user-id <id> --organization-id <id> --json"
941
+ "<%= config.bin %> <%= command.id %> <pipeline-id>",
942
+ "<%= config.bin %> <%= command.id %> <pipeline-id> --json"
1027
943
  ],
1028
944
  "flags": {
1029
945
  "json": {
@@ -1032,20 +948,6 @@
1032
948
  "name": "json",
1033
949
  "allowNo": false,
1034
950
  "type": "boolean"
1035
- },
1036
- "organization-id": {
1037
- "description": "Organization Id for the x-organization-id gateway header",
1038
- "name": "organization-id",
1039
- "hasDynamicHelp": false,
1040
- "multiple": false,
1041
- "type": "option"
1042
- },
1043
- "user-id": {
1044
- "description": "User Id for the x-user-id gateway header",
1045
- "name": "user-id",
1046
- "hasDynamicHelp": false,
1047
- "multiple": false,
1048
- "type": "option"
1049
951
  }
1050
952
  },
1051
953
  "hasDynamicHelp": false,
@@ -1069,8 +971,8 @@
1069
971
  "args": {},
1070
972
  "description": "List Copado pipelines",
1071
973
  "examples": [
1072
- "<%= config.bin %> <%= command.id %> --user-id <id> --organization-id <id>",
1073
- "<%= config.bin %> <%= command.id %> --user-id <id> --organization-id <id> --json"
974
+ "<%= config.bin %> <%= command.id %>",
975
+ "<%= config.bin %> <%= command.id %> --json"
1074
976
  ],
1075
977
  "flags": {
1076
978
  "json": {
@@ -1079,20 +981,6 @@
1079
981
  "name": "json",
1080
982
  "allowNo": false,
1081
983
  "type": "boolean"
1082
- },
1083
- "organization-id": {
1084
- "description": "Organization Id for the x-organization-id gateway header",
1085
- "name": "organization-id",
1086
- "hasDynamicHelp": false,
1087
- "multiple": false,
1088
- "type": "option"
1089
- },
1090
- "user-id": {
1091
- "description": "User Id for the x-user-id gateway header",
1092
- "name": "user-id",
1093
- "hasDynamicHelp": false,
1094
- "multiple": false,
1095
- "type": "option"
1096
984
  }
1097
985
  },
1098
986
  "hasDynamicHelp": false,
@@ -1928,6 +1816,46 @@
1928
1816
  "set.js"
1929
1817
  ]
1930
1818
  },
1819
+ "work:status": {
1820
+ "aliases": [],
1821
+ "args": {
1822
+ "id": {
1823
+ "description": "User story ID or name (defaults to the last work item from `work set`)",
1824
+ "name": "id",
1825
+ "required": false
1826
+ }
1827
+ },
1828
+ "description": "Get status for a work item, including related job executions. Uses the given user story ID/name, or the last work item from `agentia work set`.",
1829
+ "examples": [
1830
+ "<%= config.bin %> <%= command.id %>",
1831
+ "<%= config.bin %> <%= command.id %> US-0001",
1832
+ "<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU --json"
1833
+ ],
1834
+ "flags": {
1835
+ "json": {
1836
+ "description": "Format output as json.",
1837
+ "helpGroup": "GLOBAL",
1838
+ "name": "json",
1839
+ "allowNo": false,
1840
+ "type": "boolean"
1841
+ }
1842
+ },
1843
+ "hasDynamicHelp": false,
1844
+ "hiddenAliases": [],
1845
+ "id": "work:status",
1846
+ "pluginAlias": "@copado/agentia-cli",
1847
+ "pluginName": "@copado/agentia-cli",
1848
+ "pluginType": "core",
1849
+ "strict": true,
1850
+ "enableJsonFlag": true,
1851
+ "isESM": true,
1852
+ "relativePath": [
1853
+ "dist",
1854
+ "commands",
1855
+ "work",
1856
+ "status.js"
1857
+ ]
1858
+ },
1931
1859
  "work:submit": {
1932
1860
  "aliases": [],
1933
1861
  "args": {},
@@ -2230,168 +2158,6 @@
2230
2158
  "status.js"
2231
2159
  ]
2232
2160
  },
2233
- "metadata:dependency:list": {
2234
- "aliases": [],
2235
- "args": {},
2236
- "description": "Retrieve metadata dependencies via the CICD gateway",
2237
- "examples": [
2238
- "<%= config.bin %> <%= command.id %> --metadata-name MyClass --metadata-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
2239
- "cat request.json | <%= config.bin %> <%= command.id %> --stdin",
2240
- "<%= config.bin %> <%= command.id %> --from-changes --base-ref origin/main --retrieve-mode all --pipeline-id <id> --source-org-id <id> --source-credential-id <id>"
2241
- ],
2242
- "flags": {
2243
- "json": {
2244
- "description": "Format output as json.",
2245
- "helpGroup": "GLOBAL",
2246
- "name": "json",
2247
- "allowNo": false,
2248
- "type": "boolean"
2249
- },
2250
- "base-ref": {
2251
- "description": "Base Git ref used with --from-changes",
2252
- "name": "base-ref",
2253
- "default": "origin/main",
2254
- "hasDynamicHelp": false,
2255
- "multiple": false,
2256
- "type": "option"
2257
- },
2258
- "file": {
2259
- "char": "f",
2260
- "description": "Path to a JSON dependency request body",
2261
- "name": "file",
2262
- "hasDynamicHelp": false,
2263
- "multiple": false,
2264
- "type": "option"
2265
- },
2266
- "from-changes": {
2267
- "description": "Build metadata selections from changed Git files",
2268
- "name": "from-changes",
2269
- "allowNo": false,
2270
- "type": "boolean"
2271
- },
2272
- "metadata-category": {
2273
- "description": "Optional metadata category",
2274
- "name": "metadata-category",
2275
- "hasDynamicHelp": false,
2276
- "multiple": false,
2277
- "type": "option"
2278
- },
2279
- "metadata-name": {
2280
- "description": "Metadata component name",
2281
- "name": "metadata-name",
2282
- "hasDynamicHelp": false,
2283
- "multiple": false,
2284
- "type": "option"
2285
- },
2286
- "metadata-raw-json": {
2287
- "description": "Optional raw metadata JSON for the selection",
2288
- "name": "metadata-raw-json",
2289
- "hasDynamicHelp": false,
2290
- "multiple": false,
2291
- "type": "option"
2292
- },
2293
- "metadata-type": {
2294
- "description": "Metadata type, for example ApexClass",
2295
- "name": "metadata-type",
2296
- "hasDynamicHelp": false,
2297
- "multiple": false,
2298
- "type": "option"
2299
- },
2300
- "module-type": {
2301
- "description": "Optional addon module type",
2302
- "name": "module-type",
2303
- "hasDynamicHelp": false,
2304
- "multiple": false,
2305
- "options": [
2306
- "vlocity",
2307
- "data_cloud"
2308
- ],
2309
- "type": "option"
2310
- },
2311
- "pipeline-id": {
2312
- "description": "Pipeline Id",
2313
- "name": "pipeline-id",
2314
- "hasDynamicHelp": false,
2315
- "multiple": false,
2316
- "type": "option"
2317
- },
2318
- "platform-experience": {
2319
- "description": "Gateway platform experience header",
2320
- "name": "platform-experience",
2321
- "default": "salesforce",
2322
- "hasDynamicHelp": false,
2323
- "multiple": false,
2324
- "options": [
2325
- "salesforce",
2326
- "sfdx",
2327
- "metacache",
2328
- "db"
2329
- ],
2330
- "type": "option"
2331
- },
2332
- "result-id": {
2333
- "description": "Optional result Id from a prior metadata operation",
2334
- "name": "result-id",
2335
- "hasDynamicHelp": false,
2336
- "multiple": false,
2337
- "type": "option"
2338
- },
2339
- "retrieve-mode": {
2340
- "description": "Dependency retrieve mode",
2341
- "name": "retrieve-mode",
2342
- "hasDynamicHelp": false,
2343
- "multiple": false,
2344
- "options": [
2345
- "all",
2346
- "diff_only"
2347
- ],
2348
- "type": "option"
2349
- },
2350
- "source-credential-id": {
2351
- "description": "Source org credential Id",
2352
- "name": "source-credential-id",
2353
- "hasDynamicHelp": false,
2354
- "multiple": false,
2355
- "type": "option"
2356
- },
2357
- "source-org-id": {
2358
- "description": "Source org Id",
2359
- "name": "source-org-id",
2360
- "hasDynamicHelp": false,
2361
- "multiple": false,
2362
- "type": "option"
2363
- },
2364
- "stdin": {
2365
- "description": "Read a JSON dependency request body from stdin",
2366
- "name": "stdin",
2367
- "allowNo": false,
2368
- "type": "boolean"
2369
- },
2370
- "target-org-id": {
2371
- "description": "Target org Id",
2372
- "name": "target-org-id",
2373
- "hasDynamicHelp": false,
2374
- "multiple": false,
2375
- "type": "option"
2376
- }
2377
- },
2378
- "hasDynamicHelp": false,
2379
- "hiddenAliases": [],
2380
- "id": "metadata:dependency:list",
2381
- "pluginAlias": "@copado/agentia-cli",
2382
- "pluginName": "@copado/agentia-cli",
2383
- "pluginType": "core",
2384
- "strict": true,
2385
- "enableJsonFlag": true,
2386
- "isESM": true,
2387
- "relativePath": [
2388
- "dist",
2389
- "commands",
2390
- "metadata",
2391
- "dependency",
2392
- "list.js"
2393
- ]
2394
- },
2395
2161
  "metadata:content:compare": {
2396
2162
  "aliases": [],
2397
2163
  "args": {},
@@ -2654,6 +2420,168 @@
2654
2420
  "get.js"
2655
2421
  ]
2656
2422
  },
2423
+ "metadata:dependency:list": {
2424
+ "aliases": [],
2425
+ "args": {},
2426
+ "description": "Retrieve metadata dependencies via the CICD gateway",
2427
+ "examples": [
2428
+ "<%= config.bin %> <%= command.id %> --metadata-name MyClass --metadata-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
2429
+ "cat request.json | <%= config.bin %> <%= command.id %> --stdin",
2430
+ "<%= config.bin %> <%= command.id %> --from-changes --base-ref origin/main --retrieve-mode all --pipeline-id <id> --source-org-id <id> --source-credential-id <id>"
2431
+ ],
2432
+ "flags": {
2433
+ "json": {
2434
+ "description": "Format output as json.",
2435
+ "helpGroup": "GLOBAL",
2436
+ "name": "json",
2437
+ "allowNo": false,
2438
+ "type": "boolean"
2439
+ },
2440
+ "base-ref": {
2441
+ "description": "Base Git ref used with --from-changes",
2442
+ "name": "base-ref",
2443
+ "default": "origin/main",
2444
+ "hasDynamicHelp": false,
2445
+ "multiple": false,
2446
+ "type": "option"
2447
+ },
2448
+ "file": {
2449
+ "char": "f",
2450
+ "description": "Path to a JSON dependency request body",
2451
+ "name": "file",
2452
+ "hasDynamicHelp": false,
2453
+ "multiple": false,
2454
+ "type": "option"
2455
+ },
2456
+ "from-changes": {
2457
+ "description": "Build metadata selections from changed Git files",
2458
+ "name": "from-changes",
2459
+ "allowNo": false,
2460
+ "type": "boolean"
2461
+ },
2462
+ "metadata-category": {
2463
+ "description": "Optional metadata category",
2464
+ "name": "metadata-category",
2465
+ "hasDynamicHelp": false,
2466
+ "multiple": false,
2467
+ "type": "option"
2468
+ },
2469
+ "metadata-name": {
2470
+ "description": "Metadata component name",
2471
+ "name": "metadata-name",
2472
+ "hasDynamicHelp": false,
2473
+ "multiple": false,
2474
+ "type": "option"
2475
+ },
2476
+ "metadata-raw-json": {
2477
+ "description": "Optional raw metadata JSON for the selection",
2478
+ "name": "metadata-raw-json",
2479
+ "hasDynamicHelp": false,
2480
+ "multiple": false,
2481
+ "type": "option"
2482
+ },
2483
+ "metadata-type": {
2484
+ "description": "Metadata type, for example ApexClass",
2485
+ "name": "metadata-type",
2486
+ "hasDynamicHelp": false,
2487
+ "multiple": false,
2488
+ "type": "option"
2489
+ },
2490
+ "module-type": {
2491
+ "description": "Optional addon module type",
2492
+ "name": "module-type",
2493
+ "hasDynamicHelp": false,
2494
+ "multiple": false,
2495
+ "options": [
2496
+ "vlocity",
2497
+ "data_cloud"
2498
+ ],
2499
+ "type": "option"
2500
+ },
2501
+ "pipeline-id": {
2502
+ "description": "Pipeline Id",
2503
+ "name": "pipeline-id",
2504
+ "hasDynamicHelp": false,
2505
+ "multiple": false,
2506
+ "type": "option"
2507
+ },
2508
+ "platform-experience": {
2509
+ "description": "Gateway platform experience header",
2510
+ "name": "platform-experience",
2511
+ "default": "salesforce",
2512
+ "hasDynamicHelp": false,
2513
+ "multiple": false,
2514
+ "options": [
2515
+ "salesforce",
2516
+ "sfdx",
2517
+ "metacache",
2518
+ "db"
2519
+ ],
2520
+ "type": "option"
2521
+ },
2522
+ "result-id": {
2523
+ "description": "Optional result Id from a prior metadata operation",
2524
+ "name": "result-id",
2525
+ "hasDynamicHelp": false,
2526
+ "multiple": false,
2527
+ "type": "option"
2528
+ },
2529
+ "retrieve-mode": {
2530
+ "description": "Dependency retrieve mode",
2531
+ "name": "retrieve-mode",
2532
+ "hasDynamicHelp": false,
2533
+ "multiple": false,
2534
+ "options": [
2535
+ "all",
2536
+ "diff_only"
2537
+ ],
2538
+ "type": "option"
2539
+ },
2540
+ "source-credential-id": {
2541
+ "description": "Source org credential Id",
2542
+ "name": "source-credential-id",
2543
+ "hasDynamicHelp": false,
2544
+ "multiple": false,
2545
+ "type": "option"
2546
+ },
2547
+ "source-org-id": {
2548
+ "description": "Source org Id",
2549
+ "name": "source-org-id",
2550
+ "hasDynamicHelp": false,
2551
+ "multiple": false,
2552
+ "type": "option"
2553
+ },
2554
+ "stdin": {
2555
+ "description": "Read a JSON dependency request body from stdin",
2556
+ "name": "stdin",
2557
+ "allowNo": false,
2558
+ "type": "boolean"
2559
+ },
2560
+ "target-org-id": {
2561
+ "description": "Target org Id",
2562
+ "name": "target-org-id",
2563
+ "hasDynamicHelp": false,
2564
+ "multiple": false,
2565
+ "type": "option"
2566
+ }
2567
+ },
2568
+ "hasDynamicHelp": false,
2569
+ "hiddenAliases": [],
2570
+ "id": "metadata:dependency:list",
2571
+ "pluginAlias": "@copado/agentia-cli",
2572
+ "pluginName": "@copado/agentia-cli",
2573
+ "pluginType": "core",
2574
+ "strict": true,
2575
+ "enableJsonFlag": true,
2576
+ "isESM": true,
2577
+ "relativePath": [
2578
+ "dist",
2579
+ "commands",
2580
+ "metadata",
2581
+ "dependency",
2582
+ "list.js"
2583
+ ]
2584
+ },
2657
2585
  "metadata:index:compare": {
2658
2586
  "aliases": [],
2659
2587
  "args": {},
@@ -2742,8 +2670,8 @@
2742
2670
  "args": {},
2743
2671
  "description": "Refresh the deleted metadata index via the CICD gateway",
2744
2672
  "examples": [
2745
- "<%= config.bin %> <%= command.id %> --env <environment-id> --user-id <id> --organization-id <id>",
2746
- "<%= config.bin %> <%= command.id %> --env <environment-id> --user-id <id> --organization-id <id> --module-type vlocity --json"
2673
+ "<%= config.bin %> <%= command.id %> --env <environment-id>",
2674
+ "<%= config.bin %> <%= command.id %> --env <environment-id> --module-type vlocity --json"
2747
2675
  ],
2748
2676
  "flags": {
2749
2677
  "json": {
@@ -2753,20 +2681,6 @@
2753
2681
  "allowNo": false,
2754
2682
  "type": "boolean"
2755
2683
  },
2756
- "organization-id": {
2757
- "description": "Organization Id for the x-organization-id gateway header",
2758
- "name": "organization-id",
2759
- "hasDynamicHelp": false,
2760
- "multiple": false,
2761
- "type": "option"
2762
- },
2763
- "user-id": {
2764
- "description": "User Id for the x-user-id gateway header",
2765
- "name": "user-id",
2766
- "hasDynamicHelp": false,
2767
- "multiple": false,
2768
- "type": "option"
2769
- },
2770
2684
  "env": {
2771
2685
  "description": "Copado environment Id used to resolve the credential",
2772
2686
  "name": "env",
@@ -2822,8 +2736,8 @@
2822
2736
  "args": {},
2823
2737
  "description": "Trigger a metadata index refresh via the CICD gateway",
2824
2738
  "examples": [
2825
- "<%= config.bin %> <%= command.id %> --env <environment-id> --user-id <id> --organization-id <id>",
2826
- "<%= config.bin %> <%= command.id %> --env <environment-id> --user-id <id> --organization-id <id> --all --json"
2739
+ "<%= config.bin %> <%= command.id %> --env <environment-id>",
2740
+ "<%= config.bin %> <%= command.id %> --env <environment-id> --all --json"
2827
2741
  ],
2828
2742
  "flags": {
2829
2743
  "json": {
@@ -2833,20 +2747,6 @@
2833
2747
  "allowNo": false,
2834
2748
  "type": "boolean"
2835
2749
  },
2836
- "organization-id": {
2837
- "description": "Organization Id for the x-organization-id gateway header",
2838
- "name": "organization-id",
2839
- "hasDynamicHelp": false,
2840
- "multiple": false,
2841
- "type": "option"
2842
- },
2843
- "user-id": {
2844
- "description": "User Id for the x-user-id gateway header",
2845
- "name": "user-id",
2846
- "hasDynamicHelp": false,
2847
- "multiple": false,
2848
- "type": "option"
2849
- },
2850
2750
  "all": {
2851
2751
  "description": "Request replacing the metadata index instead of merging it",
2852
2752
  "name": "all",
@@ -2964,8 +2864,8 @@
2964
2864
  "args": {},
2965
2865
  "description": "Get metadata index refresh status via the CICD gateway",
2966
2866
  "examples": [
2967
- "<%= config.bin %> <%= command.id %> --job-id <event-id> --user-id <id> --organization-id <id>",
2968
- "<%= config.bin %> <%= command.id %> --job-id <event-id> --user-id <id> --organization-id <id> --json"
2867
+ "<%= config.bin %> <%= command.id %> --job-id <event-id>",
2868
+ "<%= config.bin %> <%= command.id %> --job-id <event-id> --json"
2969
2869
  ],
2970
2870
  "flags": {
2971
2871
  "json": {
@@ -2975,20 +2875,6 @@
2975
2875
  "allowNo": false,
2976
2876
  "type": "boolean"
2977
2877
  },
2978
- "organization-id": {
2979
- "description": "Organization Id for the x-organization-id gateway header",
2980
- "name": "organization-id",
2981
- "hasDynamicHelp": false,
2982
- "multiple": false,
2983
- "type": "option"
2984
- },
2985
- "user-id": {
2986
- "description": "User Id for the x-user-id gateway header",
2987
- "name": "user-id",
2988
- "hasDynamicHelp": false,
2989
- "multiple": false,
2990
- "type": "option"
2991
- },
2992
2878
  "job-id": {
2993
2879
  "description": "Metadata refresh event Id",
2994
2880
  "name": "job-id",
@@ -3044,8 +2930,8 @@
3044
2930
  "args": {},
3045
2931
  "description": "List connections for a Copado pipeline",
3046
2932
  "examples": [
3047
- "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --user-id <id> --organization-id <id>",
3048
- "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --user-id <id> --organization-id <id> --json"
2933
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id>",
2934
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --json"
3049
2935
  ],
3050
2936
  "flags": {
3051
2937
  "json": {
@@ -3055,20 +2941,6 @@
3055
2941
  "allowNo": false,
3056
2942
  "type": "boolean"
3057
2943
  },
3058
- "organization-id": {
3059
- "description": "Organization Id for the x-organization-id gateway header",
3060
- "name": "organization-id",
3061
- "hasDynamicHelp": false,
3062
- "multiple": false,
3063
- "type": "option"
3064
- },
3065
- "user-id": {
3066
- "description": "User Id for the x-user-id gateway header",
3067
- "name": "user-id",
3068
- "hasDynamicHelp": false,
3069
- "multiple": false,
3070
- "type": "option"
3071
- },
3072
2944
  "pipeline-id": {
3073
2945
  "description": "Pipeline Id whose connections should be listed",
3074
2946
  "name": "pipeline-id",
@@ -3637,5 +3509,5 @@
3637
3509
  ]
3638
3510
  }
3639
3511
  },
3640
- "version": "0.20.0-alpha.0"
3512
+ "version": "0.22.0-alpha.0"
3641
3513
  }