@copado/agentia-cli 0.28.0-alpha.0 → 0.29.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 (83) hide show
  1. package/README.md +134 -85
  2. package/dist/commands/environment/list.d.ts +5 -1
  3. package/dist/commands/environment/list.js +10 -8
  4. package/dist/commands/environment/list.js.map +1 -1
  5. package/dist/commands/job/list.d.ts +4 -2
  6. package/dist/commands/job/list.js +10 -12
  7. package/dist/commands/job/list.js.map +1 -1
  8. package/dist/commands/pipeline/list.d.ts +6 -1
  9. package/dist/commands/pipeline/list.js +10 -7
  10. package/dist/commands/pipeline/list.js.map +1 -1
  11. package/dist/commands/project/list.d.ts +4 -1
  12. package/dist/commands/project/list.js +7 -5
  13. package/dist/commands/project/list.js.map +1 -1
  14. package/dist/commands/promotion/list.d.ts +4 -2
  15. package/dist/commands/promotion/list.js +8 -6
  16. package/dist/commands/promotion/list.js.map +1 -1
  17. package/dist/commands/setup.d.ts +12 -0
  18. package/dist/commands/setup.js +52 -0
  19. package/dist/commands/setup.js.map +1 -0
  20. package/dist/commands/work/list.d.ts +4 -1
  21. package/dist/commands/work/list.js +7 -5
  22. package/dist/commands/work/list.js.map +1 -1
  23. package/dist/commands/work/set.js +8 -1
  24. package/dist/commands/work/set.js.map +1 -1
  25. package/dist/commands/work/submit.d.ts +2 -0
  26. package/dist/commands/work/submit.js +40 -2
  27. package/dist/commands/work/submit.js.map +1 -1
  28. package/dist/lib/defaults-store.d.ts +3 -0
  29. package/dist/lib/defaults-store.js +24 -0
  30. package/dist/lib/defaults-store.js.map +1 -1
  31. package/dist/lib/environment-flags.d.ts +3 -1
  32. package/dist/lib/environment-flags.js +3 -1
  33. package/dist/lib/environment-flags.js.map +1 -1
  34. package/dist/lib/environment-types.d.ts +4 -1
  35. package/dist/lib/environment-types.js +2 -0
  36. package/dist/lib/environment-types.js.map +1 -1
  37. package/dist/lib/git-worktree.d.ts +4 -0
  38. package/dist/lib/git-worktree.js +46 -2
  39. package/dist/lib/git-worktree.js.map +1 -1
  40. package/dist/lib/job-types.d.ts +7 -4
  41. package/dist/lib/job-types.js +8 -15
  42. package/dist/lib/job-types.js.map +1 -1
  43. package/dist/lib/list-pagination.d.ts +46 -0
  44. package/dist/lib/list-pagination.js +106 -0
  45. package/dist/lib/list-pagination.js.map +1 -0
  46. package/dist/lib/mcp/tools.d.ts +20 -31
  47. package/dist/lib/mcp/tools.js +23 -54
  48. package/dist/lib/mcp/tools.js.map +1 -1
  49. package/dist/lib/mcp/work-tools.d.ts +1 -3
  50. package/dist/lib/mcp/work-tools.js +13 -2
  51. package/dist/lib/mcp/work-tools.js.map +1 -1
  52. package/dist/lib/open-browser.d.ts +3 -0
  53. package/dist/lib/open-browser.js +13 -1
  54. package/dist/lib/open-browser.js.map +1 -1
  55. package/dist/lib/pipeline-types.d.ts +6 -1
  56. package/dist/lib/pipeline-types.js +10 -6
  57. package/dist/lib/pipeline-types.js.map +1 -1
  58. package/dist/lib/project-flags.d.ts +3 -2
  59. package/dist/lib/project-flags.js +3 -1
  60. package/dist/lib/project-flags.js.map +1 -1
  61. package/dist/lib/project-setup.d.ts +80 -0
  62. package/dist/lib/project-setup.js +383 -0
  63. package/dist/lib/project-setup.js.map +1 -0
  64. package/dist/lib/project-types.d.ts +5 -1
  65. package/dist/lib/project-types.js +6 -10
  66. package/dist/lib/project-types.js.map +1 -1
  67. package/dist/lib/promotion-flags.d.ts +4 -3
  68. package/dist/lib/promotion-flags.js +3 -8
  69. package/dist/lib/promotion-flags.js.map +1 -1
  70. package/dist/lib/promotion-types.d.ts +8 -5
  71. package/dist/lib/promotion-types.js +10 -14
  72. package/dist/lib/promotion-types.js.map +1 -1
  73. package/dist/lib/setup-templates.d.ts +11 -0
  74. package/dist/lib/setup-templates.js +181 -0
  75. package/dist/lib/setup-templates.js.map +1 -0
  76. package/dist/lib/work-flags.d.ts +3 -1
  77. package/dist/lib/work-flags.js +3 -1
  78. package/dist/lib/work-flags.js.map +1 -1
  79. package/dist/lib/work-types.d.ts +8 -1
  80. package/dist/lib/work-types.js +16 -3
  81. package/dist/lib/work-types.js.map +1 -1
  82. package/oclif.manifest.json +147 -17
  83. package/package.json +1 -1
package/README.md CHANGED
@@ -22,7 +22,7 @@ $ npm install -g @copado/agentia-cli
22
22
  $ agentia COMMAND
23
23
  running command...
24
24
  $ agentia (--version)
25
- @copado/agentia-cli/0.28.0-alpha.0 linux-x64 node-v22.23.2
25
+ @copado/agentia-cli/0.29.0-alpha.0 linux-x64 node-v22.23.2
26
26
  $ agentia --help [COMMAND]
27
27
  USAGE
28
28
  $ agentia COMMAND
@@ -176,6 +176,7 @@ Agentia CLI is distributed under the Copado End User License Agreement. See [LIC
176
176
  * [`agentia promotion conflict unresolve ID`](#agentia-promotion-conflict-unresolve-id)
177
177
  * [`agentia promotion get ID`](#agentia-promotion-get-id)
178
178
  * [`agentia promotion list`](#agentia-promotion-list)
179
+ * [`agentia setup`](#agentia-setup)
179
180
  * [`agentia user get`](#agentia-user-get)
180
181
  * [`agentia work create`](#agentia-work-create)
181
182
  * [`agentia work delete ID`](#agentia-work-delete-id)
@@ -219,7 +220,7 @@ EXAMPLES
219
220
  $ agentia auth get --json
220
221
  ```
221
222
 
222
- _See code: [src/commands/auth/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/auth/get.ts)_
223
+ _See code: [src/commands/auth/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/auth/get.ts)_
223
224
 
224
225
  ## `agentia auth set`
225
226
 
@@ -257,7 +258,7 @@ EXAMPLES
257
258
  $ agentia auth set --cicd <copado-api-key> --region na --json
258
259
  ```
259
260
 
260
- _See code: [src/commands/auth/set.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/auth/set.ts)_
261
+ _See code: [src/commands/auth/set.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/auth/set.ts)_
261
262
 
262
263
  ## `agentia environment auth status ID`
263
264
 
@@ -287,7 +288,7 @@ EXAMPLES
287
288
  $ agentia environment auth status <environment-id> --json
288
289
  ```
289
290
 
290
- _See code: [src/commands/environment/auth/status.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/auth/status.ts)_
291
+ _See code: [src/commands/environment/auth/status.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/environment/auth/status.ts)_
291
292
 
292
293
  ## `agentia environment auth web login ID`
293
294
 
@@ -321,7 +322,7 @@ EXAMPLES
321
322
  $ agentia environment auth web login <environment-id> --json
322
323
  ```
323
324
 
324
- _See code: [src/commands/environment/auth/web/login.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/auth/web/login.ts)_
325
+ _See code: [src/commands/environment/auth/web/login.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/environment/auth/web/login.ts)_
325
326
 
326
327
  ## `agentia environment create NAME`
327
328
 
@@ -366,7 +367,7 @@ EXAMPLES
366
367
  $ agentia environment create Dev --json
367
368
  ```
368
369
 
369
- _See code: [src/commands/environment/create.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/create.ts)_
370
+ _See code: [src/commands/environment/create.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/environment/create.ts)_
370
371
 
371
372
  ## `agentia environment get ID`
372
373
 
@@ -391,7 +392,7 @@ EXAMPLES
391
392
  $ agentia environment get a0SKC000000CmZ2AU --json
392
393
  ```
393
394
 
394
- _See code: [src/commands/environment/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/get.ts)_
395
+ _See code: [src/commands/environment/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/environment/get.ts)_
395
396
 
396
397
  ## `agentia environment list`
397
398
 
@@ -399,15 +400,17 @@ List Copado environments
399
400
 
400
401
  ```
401
402
  USAGE
402
- $ agentia environment list [--json] [--name <value>] [--org-id <value>] [--platform <value>] [--type
403
- Production/Developer|Sandbox|Scratch Org|Custom Domain]
403
+ $ agentia environment list [--json] [--cursor <value>] [--page-size <value>] [--name <value>] [--org-id <value>]
404
+ [--platform <value>] [--type Production/Developer|Sandbox|Scratch Org|Custom Domain]
404
405
 
405
406
  FLAGS
406
- --name=<value> Filter by name
407
- --org-id=<value> Filter by Salesforce org ID
408
- --platform=<value> Filter by platform
409
- --type=<option> Environment type
410
- <options: Production/Developer|Sandbox|Scratch Org|Custom Domain>
407
+ --cursor=<value> Opaque pagination cursor from a previous list response (nextCursor)
408
+ --name=<value> Filter by name
409
+ --org-id=<value> Filter by Salesforce org ID
410
+ --page-size=<value> Number of records per page (1-200)
411
+ --platform=<value> Filter by platform
412
+ --type=<option> Environment type
413
+ <options: Production/Developer|Sandbox|Scratch Org|Custom Domain>
411
414
 
412
415
  GLOBAL FLAGS
413
416
  --json Format output as json.
@@ -423,7 +426,7 @@ EXAMPLES
423
426
  $ agentia environment list --json
424
427
  ```
425
428
 
426
- _See code: [src/commands/environment/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/list.ts)_
429
+ _See code: [src/commands/environment/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/environment/list.ts)_
427
430
 
428
431
  ## `agentia environment update ID`
429
432
 
@@ -469,7 +472,7 @@ EXAMPLES
469
472
  $ agentia environment update a0SKC000000CmZ2AU --name UAT --json
470
473
  ```
471
474
 
472
- _See code: [src/commands/environment/update.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/environment/update.ts)_
475
+ _See code: [src/commands/environment/update.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/environment/update.ts)_
473
476
 
474
477
  ## `agentia help [COMMAND]`
475
478
 
@@ -514,7 +517,7 @@ EXAMPLES
514
517
  $ agentia job get <job-id> --json
515
518
  ```
516
519
 
517
- _See code: [src/commands/job/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/get.ts)_
520
+ _See code: [src/commands/job/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/job/get.ts)_
518
521
 
519
522
  ## `agentia job kill ID`
520
523
 
@@ -539,7 +542,7 @@ EXAMPLES
539
542
  $ agentia job kill <job-id> --json
540
543
  ```
541
544
 
542
- _See code: [src/commands/job/kill.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/kill.ts)_
545
+ _See code: [src/commands/job/kill.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/job/kill.ts)_
543
546
 
544
547
  ## `agentia job list`
545
548
 
@@ -547,18 +550,19 @@ List Copado job executions
547
550
 
548
551
  ```
549
552
  USAGE
550
- $ agentia job list [--json] [--context <value>] [--id <value>] [--limit <value>] [--mine] [--name <value>]
551
- [--parent <value>] [--status <value>] [--type <value>]
553
+ $ agentia job list [--json] [--cursor <value>] [--page-size <value>] [--context <value>] [--id <value>]
554
+ [--mine] [--name <value>] [--parent <value>] [--status <value>] [--type <value>]
552
555
 
553
556
  FLAGS
554
- --context=<value> Contains match on JobExecution context
555
- --id=<value> Exact JobExecution Id
556
- --limit=<value> Maximum number of jobs to return (1-200)
557
- --mine List only jobs owned by the current user
558
- --name=<value> Contains match on JobExecution name
559
- --parent=<value> Exact parent record Id
560
- --status=<value> Exact Copado job status
561
- --type=<value> Contains match on Job Template name
557
+ --context=<value> Contains match on JobExecution context
558
+ --cursor=<value> Opaque pagination cursor from a previous list response (nextCursor)
559
+ --id=<value> Exact JobExecution Id
560
+ --mine List only jobs owned by the current user
561
+ --name=<value> Contains match on JobExecution name
562
+ --page-size=<value> Number of records per page (1-200)
563
+ --parent=<value> Exact parent record Id
564
+ --status=<value> Exact Copado job status
565
+ --type=<value> Contains match on Job Template name
562
566
 
563
567
  GLOBAL FLAGS
564
568
  --json Format output as json.
@@ -569,14 +573,14 @@ DESCRIPTION
569
573
  EXAMPLES
570
574
  $ agentia job list
571
575
 
572
- $ agentia job list --status "In Progress" --limit 50
576
+ $ agentia job list --status "In Progress" --page-size 50
573
577
 
574
578
  $ agentia job list --name JE- --type Deploy --parent <parent-id>
575
579
 
576
580
  $ agentia job list --json
577
581
  ```
578
582
 
579
- _See code: [src/commands/job/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/list.ts)_
583
+ _See code: [src/commands/job/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/job/list.ts)_
580
584
 
581
585
  ## `agentia job log get ID`
582
586
 
@@ -606,7 +610,7 @@ EXAMPLES
606
610
  $ agentia job log get <job-id> --json
607
611
  ```
608
612
 
609
- _See code: [src/commands/job/log/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/log/get.ts)_
613
+ _See code: [src/commands/job/log/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/job/log/get.ts)_
610
614
 
611
615
  ## `agentia job pause ID`
612
616
 
@@ -631,7 +635,7 @@ EXAMPLES
631
635
  $ agentia job pause <job-id> --json
632
636
  ```
633
637
 
634
- _See code: [src/commands/job/pause.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/pause.ts)_
638
+ _See code: [src/commands/job/pause.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/job/pause.ts)_
635
639
 
636
640
  ## `agentia job resume ID`
637
641
 
@@ -656,7 +660,7 @@ EXAMPLES
656
660
  $ agentia job resume <job-id> --json
657
661
  ```
658
662
 
659
- _See code: [src/commands/job/resume.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/resume.ts)_
663
+ _See code: [src/commands/job/resume.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/job/resume.ts)_
660
664
 
661
665
  ## `agentia job run ID`
662
666
 
@@ -684,7 +688,7 @@ EXAMPLES
684
688
  $ agentia job run <job-id> --restart --json
685
689
  ```
686
690
 
687
- _See code: [src/commands/job/run.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/job/run.ts)_
691
+ _See code: [src/commands/job/run.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/job/run.ts)_
688
692
 
689
693
  ## `agentia mcp start`
690
694
 
@@ -703,7 +707,7 @@ EXAMPLES
703
707
  $ agentia mcp start # long-running stdio MCP server for Cursor and other clients
704
708
  ```
705
709
 
706
- _See code: [src/commands/mcp/start.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/mcp/start.ts)_
710
+ _See code: [src/commands/mcp/start.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/mcp/start.ts)_
707
711
 
708
712
  ## `agentia metadata content compare`
709
713
 
@@ -746,7 +750,7 @@ EXAMPLES
746
750
  $ agentia metadata content compare --metadata-type ApexClass --api-name MyClass --json
747
751
  ```
748
752
 
749
- _See code: [src/commands/metadata/content/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/content/compare.ts)_
753
+ _See code: [src/commands/metadata/content/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/metadata/content/compare.ts)_
750
754
 
751
755
  ## `agentia metadata content get`
752
756
 
@@ -787,7 +791,7 @@ EXAMPLES
787
791
  $ agentia metadata content get --file requests.json --json
788
792
  ```
789
793
 
790
- _See code: [src/commands/metadata/content/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/content/get.ts)_
794
+ _See code: [src/commands/metadata/content/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/metadata/content/get.ts)_
791
795
 
792
796
  ## `agentia metadata dependency list`
793
797
 
@@ -835,7 +839,7 @@ EXAMPLES
835
839
  $ agentia metadata dependency list --from-changes --base-ref origin/main --retrieve-mode all --pipeline-id <id> --source-org-id <id> --source-credential-id <id>
836
840
  ```
837
841
 
838
- _See code: [src/commands/metadata/dependency/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/dependency/list.ts)_
842
+ _See code: [src/commands/metadata/dependency/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/metadata/dependency/list.ts)_
839
843
 
840
844
  ## `agentia metadata index compare`
841
845
 
@@ -869,7 +873,7 @@ EXAMPLES
869
873
  $ agentia metadata index compare --comparison-mode MIX --json
870
874
  ```
871
875
 
872
- _See code: [src/commands/metadata/index/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/index/compare.ts)_
876
+ _See code: [src/commands/metadata/index/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/metadata/index/compare.ts)_
873
877
 
874
878
  ## `agentia metadata list`
875
879
 
@@ -917,7 +921,7 @@ EXAMPLES
917
921
  $ agentia metadata list --source NewAndChanged --find-managed-packages --json
918
922
  ```
919
923
 
920
- _See code: [src/commands/metadata/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/list.ts)_
924
+ _See code: [src/commands/metadata/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/metadata/list.ts)_
921
925
 
922
926
  ## `agentia metadata refresh deleted`
923
927
 
@@ -947,7 +951,7 @@ EXAMPLES
947
951
  $ agentia metadata refresh deleted --env <environment-id> --module-type vlocity --json
948
952
  ```
949
953
 
950
- _See code: [src/commands/metadata/refresh/deleted.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/refresh/deleted.ts)_
954
+ _See code: [src/commands/metadata/refresh/deleted.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/metadata/refresh/deleted.ts)_
951
955
 
952
956
  ## `agentia metadata refresh run`
953
957
 
@@ -988,7 +992,7 @@ EXAMPLES
988
992
  $ agentia metadata refresh run --env <environment-id> --all --json
989
993
  ```
990
994
 
991
- _See code: [src/commands/metadata/refresh/run.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/refresh/run.ts)_
995
+ _See code: [src/commands/metadata/refresh/run.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/metadata/refresh/run.ts)_
992
996
 
993
997
  ## `agentia metadata refresh status`
994
998
 
@@ -1018,7 +1022,7 @@ EXAMPLES
1018
1022
  $ agentia metadata refresh status --job-id <event-id> --json
1019
1023
  ```
1020
1024
 
1021
- _See code: [src/commands/metadata/refresh/status.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/metadata/refresh/status.ts)_
1025
+ _See code: [src/commands/metadata/refresh/status.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/metadata/refresh/status.ts)_
1022
1026
 
1023
1027
  ## `agentia pipeline connection list`
1024
1028
 
@@ -1043,7 +1047,7 @@ EXAMPLES
1043
1047
  $ agentia pipeline connection list --pipeline-id <pipeline-id> --json
1044
1048
  ```
1045
1049
 
1046
- _See code: [src/commands/pipeline/connection/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/pipeline/connection/list.ts)_
1050
+ _See code: [src/commands/pipeline/connection/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/pipeline/connection/list.ts)_
1047
1051
 
1048
1052
  ## `agentia pipeline get ID`
1049
1053
 
@@ -1068,7 +1072,7 @@ EXAMPLES
1068
1072
  $ agentia pipeline get <pipeline-id> --json
1069
1073
  ```
1070
1074
 
1071
- _See code: [src/commands/pipeline/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/pipeline/get.ts)_
1075
+ _See code: [src/commands/pipeline/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/pipeline/get.ts)_
1072
1076
 
1073
1077
  ## `agentia pipeline list`
1074
1078
 
@@ -1076,7 +1080,11 @@ List Copado pipelines
1076
1080
 
1077
1081
  ```
1078
1082
  USAGE
1079
- $ agentia pipeline list [--json]
1083
+ $ agentia pipeline list [--json] [--cursor <value>] [--page-size <value>]
1084
+
1085
+ FLAGS
1086
+ --cursor=<value> Opaque pagination cursor from a previous list response (nextCursor)
1087
+ --page-size=<value> Number of records per page (1-200)
1080
1088
 
1081
1089
  GLOBAL FLAGS
1082
1090
  --json Format output as json.
@@ -1090,7 +1098,7 @@ EXAMPLES
1090
1098
  $ agentia pipeline list --json
1091
1099
  ```
1092
1100
 
1093
- _See code: [src/commands/pipeline/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/pipeline/list.ts)_
1101
+ _See code: [src/commands/pipeline/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/pipeline/list.ts)_
1094
1102
 
1095
1103
  ## `agentia plugins`
1096
1104
 
@@ -1418,7 +1426,7 @@ EXAMPLES
1418
1426
  $ agentia project default get --json
1419
1427
  ```
1420
1428
 
1421
- _See code: [src/commands/project/default/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/default/get.ts)_
1429
+ _See code: [src/commands/project/default/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/project/default/get.ts)_
1422
1430
 
1423
1431
  ## `agentia project default set`
1424
1432
 
@@ -1456,7 +1464,7 @@ EXAMPLES
1456
1464
  $ agentia project default set --project my-project --json
1457
1465
  ```
1458
1466
 
1459
- _See code: [src/commands/project/default/set.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/default/set.ts)_
1467
+ _See code: [src/commands/project/default/set.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/project/default/set.ts)_
1460
1468
 
1461
1469
  ## `agentia project default unset`
1462
1470
 
@@ -1494,7 +1502,7 @@ EXAMPLES
1494
1502
  $ agentia project default unset --project --json
1495
1503
  ```
1496
1504
 
1497
- _See code: [src/commands/project/default/unset.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/default/unset.ts)_
1505
+ _See code: [src/commands/project/default/unset.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/project/default/unset.ts)_
1498
1506
 
1499
1507
  ## `agentia project get ID`
1500
1508
 
@@ -1519,7 +1527,7 @@ EXAMPLES
1519
1527
  $ agentia project get <project-id> --json
1520
1528
  ```
1521
1529
 
1522
- _See code: [src/commands/project/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/get.ts)_
1530
+ _See code: [src/commands/project/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/project/get.ts)_
1523
1531
 
1524
1532
  ## `agentia project list`
1525
1533
 
@@ -1527,11 +1535,13 @@ List Copado projects
1527
1535
 
1528
1536
  ```
1529
1537
  USAGE
1530
- $ agentia project list [--json] [--mine] [--name <value>]
1538
+ $ agentia project list [--json] [--cursor <value>] [--page-size <value>] [--mine] [--name <value>]
1531
1539
 
1532
1540
  FLAGS
1533
- --mine List only projects owned by or related to the current user
1534
- --name=<value> Filter by name (partial match)
1541
+ --cursor=<value> Opaque pagination cursor from a previous list response (nextCursor)
1542
+ --mine List only projects owned by or related to the current user
1543
+ --name=<value> Filter by name (partial match)
1544
+ --page-size=<value> Number of records per page (1-200)
1535
1545
 
1536
1546
  GLOBAL FLAGS
1537
1547
  --json Format output as json.
@@ -1549,7 +1559,7 @@ EXAMPLES
1549
1559
  $ agentia project list --mine --json
1550
1560
  ```
1551
1561
 
1552
- _See code: [src/commands/project/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/project/list.ts)_
1562
+ _See code: [src/commands/project/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/project/list.ts)_
1553
1563
 
1554
1564
  ## `agentia promotion conflict get ID`
1555
1565
 
@@ -1580,7 +1590,7 @@ EXAMPLES
1580
1590
  $ agentia promotion conflict get <conflict-id> -p <promotion-id> --json
1581
1591
  ```
1582
1592
 
1583
- _See code: [src/commands/promotion/conflict/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/conflict/get.ts)_
1593
+ _See code: [src/commands/promotion/conflict/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/promotion/conflict/get.ts)_
1584
1594
 
1585
1595
  ## `agentia promotion conflict list`
1586
1596
 
@@ -1605,7 +1615,7 @@ EXAMPLES
1605
1615
  $ agentia promotion conflict list -p <promotion-id> --json
1606
1616
  ```
1607
1617
 
1608
- _See code: [src/commands/promotion/conflict/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/conflict/list.ts)_
1618
+ _See code: [src/commands/promotion/conflict/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/promotion/conflict/list.ts)_
1609
1619
 
1610
1620
  ## `agentia promotion conflict resolve ID`
1611
1621
 
@@ -1638,7 +1648,7 @@ EXAMPLES
1638
1648
  $ agentia promotion conflict resolve <conflict-id> -p <promotion-id> --mode auto --json
1639
1649
  ```
1640
1650
 
1641
- _See code: [src/commands/promotion/conflict/resolve.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/conflict/resolve.ts)_
1651
+ _See code: [src/commands/promotion/conflict/resolve.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/promotion/conflict/resolve.ts)_
1642
1652
 
1643
1653
  ## `agentia promotion conflict unresolve ID`
1644
1654
 
@@ -1666,7 +1676,7 @@ EXAMPLES
1666
1676
  $ agentia promotion conflict unresolve <conflict-id> -p <promotion-id> --json
1667
1677
  ```
1668
1678
 
1669
- _See code: [src/commands/promotion/conflict/unresolve.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/conflict/unresolve.ts)_
1679
+ _See code: [src/commands/promotion/conflict/unresolve.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/promotion/conflict/unresolve.ts)_
1670
1680
 
1671
1681
  ## `agentia promotion get ID`
1672
1682
 
@@ -1691,7 +1701,7 @@ EXAMPLES
1691
1701
  $ agentia promotion get <promotion-id> --json
1692
1702
  ```
1693
1703
 
1694
- _See code: [src/commands/promotion/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/get.ts)_
1704
+ _See code: [src/commands/promotion/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/promotion/get.ts)_
1695
1705
 
1696
1706
  ## `agentia promotion list`
1697
1707
 
@@ -1699,20 +1709,21 @@ List Copado promotions
1699
1709
 
1700
1710
  ```
1701
1711
  USAGE
1702
- $ agentia promotion list [--json] [--created-by-id <value>] [--created-by-name <value>]
1703
- [--destination-environment-id <value>] [--destination-environment-name <value>] [--is-back-promotion] [--limit
1704
- <value>] [--name <value>] [--pipeline-id <value>] [--pipeline-name <value>] [--project-id <value>] [--project-name
1705
- <value>] [--source-environment-id <value>] [--source-environment-name <value>] [--status <value>] [--work-id
1706
- <value>]
1712
+ $ agentia promotion list [--json] [--cursor <value>] [--page-size <value>] [--created-by-id <value>]
1713
+ [--created-by-name <value>] [--destination-environment-id <value>] [--destination-environment-name <value>]
1714
+ [--is-back-promotion] [--name <value>] [--pipeline-id <value>] [--pipeline-name <value>] [--project-id <value>]
1715
+ [--project-name <value>] [--source-environment-id <value>] [--source-environment-name <value>] [--status <value>]
1716
+ [--work-id <value>]
1707
1717
 
1708
1718
  FLAGS
1709
1719
  --created-by-id=<value> Filter by creator ID
1710
1720
  --created-by-name=<value> Filter by creator name
1721
+ --cursor=<value> Opaque pagination cursor from a previous list response (nextCursor)
1711
1722
  --destination-environment-id=<value> Filter by destination environment ID
1712
1723
  --destination-environment-name=<value> Filter by destination environment name
1713
1724
  --[no-]is-back-promotion Filter by back promotion
1714
- --limit=<value> Maximum number of promotions to return (1-200)
1715
1725
  --name=<value> Filter by name
1726
+ --page-size=<value> Number of records per page (1-200)
1716
1727
  --pipeline-id=<value> Filter by pipeline ID
1717
1728
  --pipeline-name=<value> Filter by pipeline name
1718
1729
  --project-id=<value> Filter by project ID
@@ -1731,12 +1742,44 @@ DESCRIPTION
1731
1742
  EXAMPLES
1732
1743
  $ agentia promotion list
1733
1744
 
1734
- $ agentia promotion list --status Completed --project-name "My Project" --limit 50
1745
+ $ agentia promotion list --status Completed --project-name "My Project" --page-size 50
1735
1746
 
1736
1747
  $ agentia promotion list --json
1737
1748
  ```
1738
1749
 
1739
- _See code: [src/commands/promotion/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/promotion/list.ts)_
1750
+ _See code: [src/commands/promotion/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/promotion/list.ts)_
1751
+
1752
+ ## `agentia setup`
1753
+
1754
+ Prepare the current git project for Agentia. Shows repository context, ensures .agentia/ is gitignored, optionally creates local quality gates and AGENTS.md, then prints next steps.
1755
+
1756
+ ```
1757
+ USAGE
1758
+ $ agentia setup [--json] [--create-agents-md] [--create-local-quality-gates] [-n]
1759
+
1760
+ FLAGS
1761
+ -n, --no-prompt Skip interactive prompts; only run checks, notifications, and flagged actions
1762
+ --create-agents-md Create or update AGENTS.md and commit it (skips the prompt)
1763
+ --create-local-quality-gates Create sample local quality gate scripts and commit them (skips the prompt)
1764
+
1765
+ GLOBAL FLAGS
1766
+ --json Format output as json.
1767
+
1768
+ DESCRIPTION
1769
+ Prepare the current git project for Agentia. Shows repository context, ensures .agentia/ is gitignored, optionally
1770
+ creates local quality gates and AGENTS.md, then prints next steps.
1771
+
1772
+ EXAMPLES
1773
+ $ agentia setup
1774
+
1775
+ $ agentia setup --no-prompt
1776
+
1777
+ $ agentia setup --create-local-quality-gates --create-agents-md --no-prompt
1778
+
1779
+ $ agentia setup --json
1780
+ ```
1781
+
1782
+ _See code: [src/commands/setup.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/setup.ts)_
1740
1783
 
1741
1784
  ## `agentia user get`
1742
1785
 
@@ -1765,7 +1808,7 @@ EXAMPLES
1765
1808
  $ agentia user get --json
1766
1809
  ```
1767
1810
 
1768
- _See code: [src/commands/user/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/user/get.ts)_
1811
+ _See code: [src/commands/user/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/user/get.ts)_
1769
1812
 
1770
1813
  ## `agentia work create`
1771
1814
 
@@ -1820,7 +1863,7 @@ EXAMPLES
1820
1863
  $ agentia work create --title "My story" --json
1821
1864
  ```
1822
1865
 
1823
- _See code: [src/commands/work/create.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/create.ts)_
1866
+ _See code: [src/commands/work/create.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/create.ts)_
1824
1867
 
1825
1868
  ## `agentia work delete ID`
1826
1869
 
@@ -1845,7 +1888,7 @@ EXAMPLES
1845
1888
  $ agentia work delete a0SKC000000CmZ2AU --json
1846
1889
  ```
1847
1890
 
1848
- _See code: [src/commands/work/delete.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/delete.ts)_
1891
+ _See code: [src/commands/work/delete.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/delete.ts)_
1849
1892
 
1850
1893
  ## `agentia work done`
1851
1894
 
@@ -1868,7 +1911,7 @@ EXAMPLES
1868
1911
  $ agentia work done --json
1869
1912
  ```
1870
1913
 
1871
- _See code: [src/commands/work/done.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/done.ts)_
1914
+ _See code: [src/commands/work/done.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/done.ts)_
1872
1915
 
1873
1916
  ## `agentia work get [ID]`
1874
1917
 
@@ -1895,7 +1938,7 @@ EXAMPLES
1895
1938
  $ agentia work get a0SKC000000CmZ2AU --json
1896
1939
  ```
1897
1940
 
1898
- _See code: [src/commands/work/get.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/get.ts)_
1941
+ _See code: [src/commands/work/get.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/get.ts)_
1899
1942
 
1900
1943
  ## `agentia work list`
1901
1944
 
@@ -1903,18 +1946,20 @@ List Copado user stories
1903
1946
 
1904
1947
  ```
1905
1948
  USAGE
1906
- $ agentia work list [--json] [--assigned-to-me] [--assignee-id <value>] [--assignee-name <value>] [--name
1907
- <value>] [--owned-by-me] [--owner-id <value>] [--owner-name <value>] [--project-id <value>] [--project-name <value>]
1908
- [--status <value>] [--title <value>]
1949
+ $ agentia work list [--json] [--cursor <value>] [--page-size <value>] [--assigned-to-me] [--assignee-id
1950
+ <value>] [--assignee-name <value>] [--name <value>] [--owned-by-me] [--owner-id <value>] [--owner-name <value>]
1951
+ [--project-id <value>] [--project-name <value>] [--status <value>] [--title <value>]
1909
1952
 
1910
1953
  FLAGS
1911
1954
  --assigned-to-me Filter by the current user as assignee
1912
1955
  --assignee-id=<value> Filter by assignee ID
1913
1956
  --assignee-name=<value> Filter by assignee name
1957
+ --cursor=<value> Opaque pagination cursor from a previous list response (nextCursor)
1914
1958
  --name=<value> Filter by name
1915
1959
  --owned-by-me Filter by the current user as owner
1916
1960
  --owner-id=<value> Filter by owner ID
1917
1961
  --owner-name=<value> Filter by owner name
1962
+ --page-size=<value> Number of records per page (1-200)
1918
1963
  --project-id=<value> Filter by project ID
1919
1964
  --project-name=<value> Filter by project name
1920
1965
  --status=<value> Filter by status
@@ -1938,7 +1983,7 @@ EXAMPLES
1938
1983
  $ agentia work list --json
1939
1984
  ```
1940
1985
 
1941
- _See code: [src/commands/work/list.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/list.ts)_
1986
+ _See code: [src/commands/work/list.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/list.ts)_
1942
1987
 
1943
1988
  ## `agentia work push`
1944
1989
 
@@ -1961,7 +2006,7 @@ EXAMPLES
1961
2006
  $ agentia work push --json
1962
2007
  ```
1963
2008
 
1964
- _See code: [src/commands/work/push.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/push.ts)_
2009
+ _See code: [src/commands/work/push.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/push.ts)_
1965
2010
 
1966
2011
  ## `agentia work set ID`
1967
2012
 
@@ -1993,7 +2038,7 @@ EXAMPLES
1993
2038
  $ agentia work set US-0001 --base-branch develop
1994
2039
  ```
1995
2040
 
1996
- _See code: [src/commands/work/set.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/set.ts)_
2041
+ _See code: [src/commands/work/set.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/set.ts)_
1997
2042
 
1998
2043
  ## `agentia work status [ID]`
1999
2044
 
@@ -2021,7 +2066,7 @@ EXAMPLES
2021
2066
  $ agentia work status a0SKC000000CmZ2AU --json
2022
2067
  ```
2023
2068
 
2024
- _See code: [src/commands/work/status.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/status.ts)_
2069
+ _See code: [src/commands/work/status.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/status.ts)_
2025
2070
 
2026
2071
  ## `agentia work submit`
2027
2072
 
@@ -2029,10 +2074,12 @@ Submit the current feature/US-XXXX work item for pipeline quality gates and vali
2029
2074
 
2030
2075
  ```
2031
2076
  USAGE
2032
- $ agentia work submit [--json] [--skip-local-tests]
2077
+ $ agentia work submit [--json] [--skip-local-tests] [--skip-pull-request]
2033
2078
 
2034
2079
  FLAGS
2035
- --skip-local-tests Skip running local quality gates scripts in the project root
2080
+ --skip-local-tests Skip running local quality gates scripts in the project root
2081
+ --skip-pull-request Do not open the pull request compare URL after submit (also configurable via skipPullRequest in
2082
+ .agentia/config.json)
2036
2083
 
2037
2084
  GLOBAL FLAGS
2038
2085
  --json Format output as json.
@@ -2047,10 +2094,12 @@ EXAMPLES
2047
2094
 
2048
2095
  $ agentia work submit --skip-local-tests
2049
2096
 
2097
+ $ agentia work submit --skip-pull-request
2098
+
2050
2099
  $ agentia work submit --json
2051
2100
  ```
2052
2101
 
2053
- _See code: [src/commands/work/submit.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/submit.ts)_
2102
+ _See code: [src/commands/work/submit.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/submit.ts)_
2054
2103
 
2055
2104
  ## `agentia work test`
2056
2105
 
@@ -2076,7 +2125,7 @@ EXAMPLES
2076
2125
  $ agentia work test --local --json
2077
2126
  ```
2078
2127
 
2079
- _See code: [src/commands/work/test.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/test.ts)_
2128
+ _See code: [src/commands/work/test.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/test.ts)_
2080
2129
 
2081
2130
  ## `agentia work update [ID]`
2082
2131
 
@@ -2136,5 +2185,5 @@ EXAMPLES
2136
2185
  $ agentia work update a0SKC000000CmZ2AU --status "In Progress" --json
2137
2186
  ```
2138
2187
 
2139
- _See code: [src/commands/work/update.ts](https://github.com/Copado/agentia-cli/blob/v0.28.0-alpha.0/src/commands/work/update.ts)_
2188
+ _See code: [src/commands/work/update.ts](https://github.com/Copado/agentia-cli/blob/v0.29.0-alpha.0/src/commands/work/update.ts)_
2140
2189
  <!-- commandsstop -->