@copado/agentia-cli 0.92.0-alpha.0 → 0.93.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 (41) hide show
  1. package/README.md +213 -200
  2. package/dist/commands/cicd/work/commit.js +2 -2
  3. package/dist/commands/cicd/work/commit.js.map +1 -1
  4. package/dist/commands/cicd/work/done.d.ts +4 -0
  5. package/dist/commands/cicd/work/done.js +11 -124
  6. package/dist/commands/cicd/work/done.js.map +1 -1
  7. package/dist/commands/cicd/work/push.js +4 -3
  8. package/dist/commands/cicd/work/push.js.map +1 -1
  9. package/dist/commands/cicd/work/submit.d.ts +4 -3
  10. package/dist/commands/cicd/work/submit.js +13 -4
  11. package/dist/commands/cicd/work/submit.js.map +1 -1
  12. package/dist/lib/defaults-store.js +9 -0
  13. package/dist/lib/defaults-store.js.map +1 -1
  14. package/dist/lib/mcp/tools.d.ts +14 -0
  15. package/dist/lib/mcp/work-tools.d.ts +15 -0
  16. package/dist/lib/mcp/work-tools.js +50 -34
  17. package/dist/lib/mcp/work-tools.js.map +1 -1
  18. package/dist/lib/nested-metadata-changes.d.ts +41 -3
  19. package/dist/lib/nested-metadata-changes.js +110 -16
  20. package/dist/lib/nested-metadata-changes.js.map +1 -1
  21. package/dist/lib/nested-metadata-registry.d.ts +13 -1
  22. package/dist/lib/nested-metadata-registry.js +87 -28
  23. package/dist/lib/nested-metadata-registry.js.map +1 -1
  24. package/dist/lib/setup-templates.d.ts +1 -1
  25. package/dist/lib/setup-templates.js +9 -19
  26. package/dist/lib/setup-templates.js.map +1 -1
  27. package/dist/lib/work-done.d.ts +22 -0
  28. package/dist/lib/work-done.js +136 -0
  29. package/dist/lib/work-done.js.map +1 -0
  30. package/dist/lib/work-local-commit.js +18 -2
  31. package/dist/lib/work-local-commit.js.map +1 -1
  32. package/dist/lib/work-push.d.ts +18 -5
  33. package/dist/lib/work-push.js +101 -30
  34. package/dist/lib/work-push.js.map +1 -1
  35. package/dist/lib/work-types.d.ts +22 -23
  36. package/dist/lib/work-types.js.map +1 -1
  37. package/oclif.manifest.json +1422 -1413
  38. package/package.json +1 -1
  39. package/templates/skills/agentia-cicd/SKILL.md +1 -1
  40. package/templates/skills/agentia-cicd/references/promotions.md +1 -1
  41. package/templates/skills/agentia-cicd/references/work.md +7 -8
@@ -92,31 +92,6 @@
92
92
  "update.js"
93
93
  ]
94
94
  },
95
- "mcp:start": {
96
- "aliases": [],
97
- "args": {},
98
- "description": "Start the local Agentia MCP server over stdio",
99
- "examples": [
100
- "<%= config.bin %> <%= command.id %>",
101
- "<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
102
- ],
103
- "flags": {},
104
- "hasDynamicHelp": false,
105
- "hiddenAliases": [],
106
- "id": "mcp:start",
107
- "pluginAlias": "@copado/agentia-cli",
108
- "pluginName": "@copado/agentia-cli",
109
- "pluginType": "core",
110
- "strict": true,
111
- "enableJsonFlag": false,
112
- "isESM": true,
113
- "relativePath": [
114
- "dist",
115
- "commands",
116
- "mcp",
117
- "start.js"
118
- ]
119
- },
120
95
  "auth:get": {
121
96
  "aliases": [],
122
97
  "args": {},
@@ -379,6 +354,31 @@
379
354
  "unset.js"
380
355
  ]
381
356
  },
357
+ "mcp:start": {
358
+ "aliases": [],
359
+ "args": {},
360
+ "description": "Start the local Agentia MCP server over stdio",
361
+ "examples": [
362
+ "<%= config.bin %> <%= command.id %>",
363
+ "<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
364
+ ],
365
+ "flags": {},
366
+ "hasDynamicHelp": false,
367
+ "hiddenAliases": [],
368
+ "id": "mcp:start",
369
+ "pluginAlias": "@copado/agentia-cli",
370
+ "pluginName": "@copado/agentia-cli",
371
+ "pluginType": "core",
372
+ "strict": true,
373
+ "enableJsonFlag": false,
374
+ "isESM": true,
375
+ "relativePath": [
376
+ "dist",
377
+ "commands",
378
+ "mcp",
379
+ "start.js"
380
+ ]
381
+ },
382
382
  "testing:create": {
383
383
  "aliases": [],
384
384
  "args": {},
@@ -3469,150 +3469,6 @@
3469
3469
  "configure.js"
3470
3470
  ]
3471
3471
  },
3472
- "cicd:project:get": {
3473
- "aliases": [],
3474
- "args": {
3475
- "id": {
3476
- "description": "Copado project ID",
3477
- "name": "id",
3478
- "required": true
3479
- }
3480
- },
3481
- "description": "Get a Copado project by ID",
3482
- "examples": [
3483
- "<%= config.bin %> <%= command.id %> <project-id>",
3484
- "<%= config.bin %> <%= command.id %> <project-id> --json"
3485
- ],
3486
- "flags": {
3487
- "json": {
3488
- "description": "Format output as json.",
3489
- "helpGroup": "GLOBAL",
3490
- "name": "json",
3491
- "allowNo": false,
3492
- "type": "boolean"
3493
- }
3494
- },
3495
- "hasDynamicHelp": false,
3496
- "hiddenAliases": [],
3497
- "id": "cicd:project:get",
3498
- "pluginAlias": "@copado/agentia-cli",
3499
- "pluginName": "@copado/agentia-cli",
3500
- "pluginType": "core",
3501
- "strict": true,
3502
- "enableJsonFlag": true,
3503
- "isESM": true,
3504
- "relativePath": [
3505
- "dist",
3506
- "commands",
3507
- "cicd",
3508
- "project",
3509
- "get.js"
3510
- ]
3511
- },
3512
- "cicd:project:list": {
3513
- "aliases": [],
3514
- "args": {},
3515
- "description": "List Copado projects",
3516
- "examples": [
3517
- "<%= config.bin %> <%= command.id %>",
3518
- "<%= config.bin %> <%= command.id %> --mine",
3519
- "<%= config.bin %> <%= command.id %> --name Gateway",
3520
- "<%= config.bin %> <%= command.id %> --mine --json"
3521
- ],
3522
- "flags": {
3523
- "json": {
3524
- "description": "Format output as json.",
3525
- "helpGroup": "GLOBAL",
3526
- "name": "json",
3527
- "allowNo": false,
3528
- "type": "boolean"
3529
- },
3530
- "cursor": {
3531
- "description": "Opaque pagination cursor from a previous list response (nextCursor)",
3532
- "name": "cursor",
3533
- "hasDynamicHelp": false,
3534
- "multiple": false,
3535
- "type": "option"
3536
- },
3537
- "page-size": {
3538
- "description": "Number of records per page (1-200)",
3539
- "name": "page-size",
3540
- "hasDynamicHelp": false,
3541
- "multiple": false,
3542
- "type": "option"
3543
- },
3544
- "mine": {
3545
- "description": "List only projects owned by or related to the current user",
3546
- "name": "mine",
3547
- "allowNo": false,
3548
- "type": "boolean"
3549
- },
3550
- "name": {
3551
- "description": "Filter by name (partial match)",
3552
- "name": "name",
3553
- "hasDynamicHelp": false,
3554
- "multiple": false,
3555
- "type": "option"
3556
- }
3557
- },
3558
- "hasDynamicHelp": false,
3559
- "hiddenAliases": [],
3560
- "id": "cicd:project:list",
3561
- "pluginAlias": "@copado/agentia-cli",
3562
- "pluginName": "@copado/agentia-cli",
3563
- "pluginType": "core",
3564
- "strict": true,
3565
- "enableJsonFlag": true,
3566
- "isESM": true,
3567
- "relativePath": [
3568
- "dist",
3569
- "commands",
3570
- "cicd",
3571
- "project",
3572
- "list.js"
3573
- ]
3574
- },
3575
- "cicd:project:open": {
3576
- "aliases": [],
3577
- "args": {
3578
- "id": {
3579
- "description": "Copado project ID (defaults to the configured project default)",
3580
- "name": "id",
3581
- "required": false
3582
- }
3583
- },
3584
- "description": "Open a Copado project in the browser",
3585
- "examples": [
3586
- "<%= config.bin %> <%= command.id %>",
3587
- "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU",
3588
- "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU --json"
3589
- ],
3590
- "flags": {
3591
- "json": {
3592
- "description": "Format output as json.",
3593
- "helpGroup": "GLOBAL",
3594
- "name": "json",
3595
- "allowNo": false,
3596
- "type": "boolean"
3597
- }
3598
- },
3599
- "hasDynamicHelp": false,
3600
- "hiddenAliases": [],
3601
- "id": "cicd:project:open",
3602
- "pluginAlias": "@copado/agentia-cli",
3603
- "pluginName": "@copado/agentia-cli",
3604
- "pluginType": "core",
3605
- "strict": true,
3606
- "enableJsonFlag": true,
3607
- "isESM": true,
3608
- "relativePath": [
3609
- "dist",
3610
- "commands",
3611
- "cicd",
3612
- "project",
3613
- "open.js"
3614
- ]
3615
- },
3616
3472
  "cicd:pipeline:create": {
3617
3473
  "aliases": [],
3618
3474
  "args": {
@@ -3975,19 +3831,19 @@
3975
3831
  "update.js"
3976
3832
  ]
3977
3833
  },
3978
- "cicd:promotion:get": {
3834
+ "cicd:project:get": {
3979
3835
  "aliases": [],
3980
3836
  "args": {
3981
3837
  "id": {
3982
- "description": "Copado promotion ID",
3838
+ "description": "Copado project ID",
3983
3839
  "name": "id",
3984
3840
  "required": true
3985
3841
  }
3986
3842
  },
3987
- "description": "Get a Copado promotion by ID",
3843
+ "description": "Get a Copado project by ID",
3988
3844
  "examples": [
3989
- "<%= config.bin %> <%= command.id %> <promotion-id>",
3990
- "<%= config.bin %> <%= command.id %> <promotion-id> --json"
3845
+ "<%= config.bin %> <%= command.id %> <project-id>",
3846
+ "<%= config.bin %> <%= command.id %> <project-id> --json"
3991
3847
  ],
3992
3848
  "flags": {
3993
3849
  "json": {
@@ -4000,7 +3856,7 @@
4000
3856
  },
4001
3857
  "hasDynamicHelp": false,
4002
3858
  "hiddenAliases": [],
4003
- "id": "cicd:promotion:get",
3859
+ "id": "cicd:project:get",
4004
3860
  "pluginAlias": "@copado/agentia-cli",
4005
3861
  "pluginName": "@copado/agentia-cli",
4006
3862
  "pluginType": "core",
@@ -4011,18 +3867,19 @@
4011
3867
  "dist",
4012
3868
  "commands",
4013
3869
  "cicd",
4014
- "promotion",
3870
+ "project",
4015
3871
  "get.js"
4016
3872
  ]
4017
3873
  },
4018
- "cicd:promotion:list": {
3874
+ "cicd:project:list": {
4019
3875
  "aliases": [],
4020
3876
  "args": {},
4021
- "description": "List Copado promotions",
3877
+ "description": "List Copado projects",
4022
3878
  "examples": [
4023
3879
  "<%= config.bin %> <%= command.id %>",
4024
- "<%= config.bin %> <%= command.id %> --status Completed --project-name \"My Project\" --page-size 50",
4025
- "<%= config.bin %> <%= command.id %> --json"
3880
+ "<%= config.bin %> <%= command.id %> --mine",
3881
+ "<%= config.bin %> <%= command.id %> --name Gateway",
3882
+ "<%= config.bin %> <%= command.id %> --mine --json"
4026
3883
  ],
4027
3884
  "flags": {
4028
3885
  "json": {
@@ -4046,47 +3903,190 @@
4046
3903
  "multiple": false,
4047
3904
  "type": "option"
4048
3905
  },
4049
- "created-by-id": {
4050
- "description": "Filter by creator ID",
4051
- "name": "created-by-id",
4052
- "hasDynamicHelp": false,
4053
- "multiple": false,
4054
- "type": "option"
4055
- },
4056
- "created-by-name": {
4057
- "description": "Filter by creator name",
4058
- "name": "created-by-name",
4059
- "hasDynamicHelp": false,
4060
- "multiple": false,
4061
- "type": "option"
4062
- },
4063
- "destination-environment-id": {
4064
- "description": "Filter by destination environment ID",
4065
- "name": "destination-environment-id",
4066
- "hasDynamicHelp": false,
4067
- "multiple": false,
4068
- "type": "option"
4069
- },
4070
- "destination-environment-name": {
4071
- "description": "Filter by destination environment name",
4072
- "name": "destination-environment-name",
4073
- "hasDynamicHelp": false,
4074
- "multiple": false,
4075
- "type": "option"
4076
- },
4077
- "is-back-promotion": {
4078
- "description": "Filter by back promotion",
4079
- "name": "is-back-promotion",
4080
- "allowNo": true,
3906
+ "mine": {
3907
+ "description": "List only projects owned by or related to the current user",
3908
+ "name": "mine",
3909
+ "allowNo": false,
4081
3910
  "type": "boolean"
4082
3911
  },
4083
3912
  "name": {
4084
- "description": "Filter by name",
3913
+ "description": "Filter by name (partial match)",
4085
3914
  "name": "name",
4086
3915
  "hasDynamicHelp": false,
4087
3916
  "multiple": false,
4088
3917
  "type": "option"
4089
- },
3918
+ }
3919
+ },
3920
+ "hasDynamicHelp": false,
3921
+ "hiddenAliases": [],
3922
+ "id": "cicd:project:list",
3923
+ "pluginAlias": "@copado/agentia-cli",
3924
+ "pluginName": "@copado/agentia-cli",
3925
+ "pluginType": "core",
3926
+ "strict": true,
3927
+ "enableJsonFlag": true,
3928
+ "isESM": true,
3929
+ "relativePath": [
3930
+ "dist",
3931
+ "commands",
3932
+ "cicd",
3933
+ "project",
3934
+ "list.js"
3935
+ ]
3936
+ },
3937
+ "cicd:project:open": {
3938
+ "aliases": [],
3939
+ "args": {
3940
+ "id": {
3941
+ "description": "Copado project ID (defaults to the configured project default)",
3942
+ "name": "id",
3943
+ "required": false
3944
+ }
3945
+ },
3946
+ "description": "Open a Copado project in the browser",
3947
+ "examples": [
3948
+ "<%= config.bin %> <%= command.id %>",
3949
+ "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU",
3950
+ "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU --json"
3951
+ ],
3952
+ "flags": {
3953
+ "json": {
3954
+ "description": "Format output as json.",
3955
+ "helpGroup": "GLOBAL",
3956
+ "name": "json",
3957
+ "allowNo": false,
3958
+ "type": "boolean"
3959
+ }
3960
+ },
3961
+ "hasDynamicHelp": false,
3962
+ "hiddenAliases": [],
3963
+ "id": "cicd:project:open",
3964
+ "pluginAlias": "@copado/agentia-cli",
3965
+ "pluginName": "@copado/agentia-cli",
3966
+ "pluginType": "core",
3967
+ "strict": true,
3968
+ "enableJsonFlag": true,
3969
+ "isESM": true,
3970
+ "relativePath": [
3971
+ "dist",
3972
+ "commands",
3973
+ "cicd",
3974
+ "project",
3975
+ "open.js"
3976
+ ]
3977
+ },
3978
+ "cicd:promotion:get": {
3979
+ "aliases": [],
3980
+ "args": {
3981
+ "id": {
3982
+ "description": "Copado promotion ID",
3983
+ "name": "id",
3984
+ "required": true
3985
+ }
3986
+ },
3987
+ "description": "Get a Copado promotion by ID",
3988
+ "examples": [
3989
+ "<%= config.bin %> <%= command.id %> <promotion-id>",
3990
+ "<%= config.bin %> <%= command.id %> <promotion-id> --json"
3991
+ ],
3992
+ "flags": {
3993
+ "json": {
3994
+ "description": "Format output as json.",
3995
+ "helpGroup": "GLOBAL",
3996
+ "name": "json",
3997
+ "allowNo": false,
3998
+ "type": "boolean"
3999
+ }
4000
+ },
4001
+ "hasDynamicHelp": false,
4002
+ "hiddenAliases": [],
4003
+ "id": "cicd:promotion:get",
4004
+ "pluginAlias": "@copado/agentia-cli",
4005
+ "pluginName": "@copado/agentia-cli",
4006
+ "pluginType": "core",
4007
+ "strict": true,
4008
+ "enableJsonFlag": true,
4009
+ "isESM": true,
4010
+ "relativePath": [
4011
+ "dist",
4012
+ "commands",
4013
+ "cicd",
4014
+ "promotion",
4015
+ "get.js"
4016
+ ]
4017
+ },
4018
+ "cicd:promotion:list": {
4019
+ "aliases": [],
4020
+ "args": {},
4021
+ "description": "List Copado promotions",
4022
+ "examples": [
4023
+ "<%= config.bin %> <%= command.id %>",
4024
+ "<%= config.bin %> <%= command.id %> --status Completed --project-name \"My Project\" --page-size 50",
4025
+ "<%= config.bin %> <%= command.id %> --json"
4026
+ ],
4027
+ "flags": {
4028
+ "json": {
4029
+ "description": "Format output as json.",
4030
+ "helpGroup": "GLOBAL",
4031
+ "name": "json",
4032
+ "allowNo": false,
4033
+ "type": "boolean"
4034
+ },
4035
+ "cursor": {
4036
+ "description": "Opaque pagination cursor from a previous list response (nextCursor)",
4037
+ "name": "cursor",
4038
+ "hasDynamicHelp": false,
4039
+ "multiple": false,
4040
+ "type": "option"
4041
+ },
4042
+ "page-size": {
4043
+ "description": "Number of records per page (1-200)",
4044
+ "name": "page-size",
4045
+ "hasDynamicHelp": false,
4046
+ "multiple": false,
4047
+ "type": "option"
4048
+ },
4049
+ "created-by-id": {
4050
+ "description": "Filter by creator ID",
4051
+ "name": "created-by-id",
4052
+ "hasDynamicHelp": false,
4053
+ "multiple": false,
4054
+ "type": "option"
4055
+ },
4056
+ "created-by-name": {
4057
+ "description": "Filter by creator name",
4058
+ "name": "created-by-name",
4059
+ "hasDynamicHelp": false,
4060
+ "multiple": false,
4061
+ "type": "option"
4062
+ },
4063
+ "destination-environment-id": {
4064
+ "description": "Filter by destination environment ID",
4065
+ "name": "destination-environment-id",
4066
+ "hasDynamicHelp": false,
4067
+ "multiple": false,
4068
+ "type": "option"
4069
+ },
4070
+ "destination-environment-name": {
4071
+ "description": "Filter by destination environment name",
4072
+ "name": "destination-environment-name",
4073
+ "hasDynamicHelp": false,
4074
+ "multiple": false,
4075
+ "type": "option"
4076
+ },
4077
+ "is-back-promotion": {
4078
+ "description": "Filter by back promotion",
4079
+ "name": "is-back-promotion",
4080
+ "allowNo": true,
4081
+ "type": "boolean"
4082
+ },
4083
+ "name": {
4084
+ "description": "Filter by name",
4085
+ "name": "name",
4086
+ "hasDynamicHelp": false,
4087
+ "multiple": false,
4088
+ "type": "option"
4089
+ },
4090
4090
  "pipeline-id": {
4091
4091
  "description": "Filter by pipeline ID",
4092
4092
  "name": "pipeline-id",
@@ -4301,19 +4301,19 @@
4301
4301
  "run.js"
4302
4302
  ]
4303
4303
  },
4304
- "cicd:stage:create": {
4304
+ "cicd:repository:create": {
4305
4305
  "aliases": [],
4306
4306
  "args": {
4307
4307
  "name": {
4308
- "description": "Stage name",
4308
+ "description": "Name of the Copado Git repository to create",
4309
4309
  "name": "name",
4310
4310
  "required": true
4311
4311
  }
4312
4312
  },
4313
- "description": "Create a Copado stage",
4313
+ "description": "Create a Copado Git repository",
4314
4314
  "examples": [
4315
- "<%= config.bin %> <%= command.id %> Build",
4316
- "<%= config.bin %> <%= command.id %> Test --meta-stage Test"
4315
+ "<%= config.bin %> <%= command.id %> my-repo --source-format DX --provider Github --uri https://github.com/org/repo.git",
4316
+ "<%= config.bin %> <%= command.id %> my-repo --source-format DX --provider Gitlab --json"
4317
4317
  ],
4318
4318
  "flags": {
4319
4319
  "json": {
@@ -4323,71 +4323,115 @@
4323
4323
  "allowNo": false,
4324
4324
  "type": "boolean"
4325
4325
  },
4326
- "meta-stage": {
4327
- "description": "Meta stage (common values: Build, Test, Production; custom values are allowed)",
4328
- "name": "meta-stage",
4326
+ "allow-functions-git-cache": {
4327
+ "description": "Allow Functions Git cache for this repository",
4328
+ "name": "allow-functions-git-cache",
4329
+ "allowNo": true,
4330
+ "type": "boolean"
4331
+ },
4332
+ "copado-tunnel-enabled": {
4333
+ "description": "Enable Copado tunnel for this repository",
4334
+ "name": "copado-tunnel-enabled",
4335
+ "allowNo": true,
4336
+ "type": "boolean"
4337
+ },
4338
+ "auth-type": {
4339
+ "description": "Repository authentication type",
4340
+ "name": "auth-type",
4329
4341
  "hasDynamicHelp": false,
4330
4342
  "multiple": false,
4343
+ "options": [
4344
+ "HTTPS"
4345
+ ],
4331
4346
  "type": "option"
4332
4347
  },
4333
- "name": {
4334
- "description": "Stage name",
4335
- "name": "name",
4348
+ "branch-base-url": {
4349
+ "description": "Base URL for repository branch links",
4350
+ "name": "branch-base-url",
4336
4351
  "hasDynamicHelp": false,
4337
4352
  "multiple": false,
4338
4353
  "type": "option"
4339
- }
4340
- },
4341
- "hasDynamicHelp": false,
4342
- "hiddenAliases": [],
4343
- "id": "cicd:stage:create",
4344
- "pluginAlias": "@copado/agentia-cli",
4345
- "pluginName": "@copado/agentia-cli",
4346
- "pluginType": "core",
4347
- "strict": true,
4348
- "enableJsonFlag": true,
4349
- "isESM": true,
4350
- "relativePath": [
4351
- "dist",
4352
- "commands",
4353
- "cicd",
4354
- "stage",
4355
- "create.js"
4356
- ]
4357
- },
4358
- "cicd:stage:delete": {
4359
- "aliases": [],
4360
- "args": {
4361
- "id": {
4362
- "description": "Stage ID",
4363
- "name": "id",
4364
- "required": true
4365
- }
4366
- },
4367
- "description": "Delete a Copado stage",
4368
- "examples": [
4369
- "<%= config.bin %> <%= command.id %> <stage-id>",
4370
- "<%= config.bin %> <%= command.id %> <stage-id> --yes --json"
4371
- ],
4372
- "flags": {
4373
- "json": {
4374
- "description": "Format output as json.",
4375
- "helpGroup": "GLOBAL",
4376
- "name": "json",
4377
- "allowNo": false,
4378
- "type": "boolean"
4379
4354
  },
4380
- "yes": {
4381
- "char": "y",
4382
- "description": "Confirm deletion without prompting",
4383
- "name": "yes",
4384
- "allowNo": false,
4385
- "type": "boolean"
4386
- }
4355
+ "commit-base-url": {
4356
+ "description": "Base URL for repository commit links",
4357
+ "name": "commit-base-url",
4358
+ "hasDynamicHelp": false,
4359
+ "multiple": false,
4360
+ "type": "option"
4361
+ },
4362
+ "extra-headers": {
4363
+ "description": "Additional authentication headers. Prefer environment-specific credential storage when available.",
4364
+ "name": "extra-headers",
4365
+ "hasDynamicHelp": false,
4366
+ "multiple": false,
4367
+ "type": "option"
4368
+ },
4369
+ "password": {
4370
+ "description": "Repository password or token. This can be visible in shell history.",
4371
+ "name": "password",
4372
+ "hasDynamicHelp": false,
4373
+ "multiple": false,
4374
+ "type": "option"
4375
+ },
4376
+ "pull-request-base-url": {
4377
+ "description": "Base URL for repository pull request links",
4378
+ "name": "pull-request-base-url",
4379
+ "hasDynamicHelp": false,
4380
+ "multiple": false,
4381
+ "type": "option"
4382
+ },
4383
+ "tag-base-url": {
4384
+ "description": "Base URL for repository tag links",
4385
+ "name": "tag-base-url",
4386
+ "hasDynamicHelp": false,
4387
+ "multiple": false,
4388
+ "type": "option"
4389
+ },
4390
+ "uri": {
4391
+ "description": "Repository clone URI",
4392
+ "name": "uri",
4393
+ "hasDynamicHelp": false,
4394
+ "multiple": false,
4395
+ "type": "option"
4396
+ },
4397
+ "username": {
4398
+ "description": "Repository username",
4399
+ "name": "username",
4400
+ "hasDynamicHelp": false,
4401
+ "multiple": false,
4402
+ "type": "option"
4403
+ },
4404
+ "provider": {
4405
+ "description": "Git repository provider",
4406
+ "name": "provider",
4407
+ "required": true,
4408
+ "hasDynamicHelp": false,
4409
+ "multiple": false,
4410
+ "options": [
4411
+ "Github",
4412
+ "Bitbucket",
4413
+ "Gitlab",
4414
+ "Microsoft Team Service",
4415
+ "Copado Version Control",
4416
+ "Others"
4417
+ ],
4418
+ "type": "option"
4419
+ },
4420
+ "source-format": {
4421
+ "description": "Git repository source format",
4422
+ "name": "source-format",
4423
+ "required": true,
4424
+ "hasDynamicHelp": false,
4425
+ "multiple": false,
4426
+ "options": [
4427
+ "DX"
4428
+ ],
4429
+ "type": "option"
4430
+ }
4387
4431
  },
4388
4432
  "hasDynamicHelp": false,
4389
4433
  "hiddenAliases": [],
4390
- "id": "cicd:stage:delete",
4434
+ "id": "cicd:repository:create",
4391
4435
  "pluginAlias": "@copado/agentia-cli",
4392
4436
  "pluginName": "@copado/agentia-cli",
4393
4437
  "pluginType": "core",
@@ -4398,23 +4442,63 @@
4398
4442
  "dist",
4399
4443
  "commands",
4400
4444
  "cicd",
4401
- "stage",
4445
+ "repository",
4446
+ "create.js"
4447
+ ]
4448
+ },
4449
+ "cicd:repository:delete": {
4450
+ "aliases": [],
4451
+ "args": {
4452
+ "id": {
4453
+ "description": "Copado Git repository ID",
4454
+ "name": "id",
4455
+ "required": true
4456
+ }
4457
+ },
4458
+ "description": "Delete a Copado Git repository by ID",
4459
+ "examples": [
4460
+ "<%= config.bin %> <%= command.id %> repo-001",
4461
+ "<%= config.bin %> <%= command.id %> repo-001 --json"
4462
+ ],
4463
+ "flags": {
4464
+ "json": {
4465
+ "description": "Format output as json.",
4466
+ "helpGroup": "GLOBAL",
4467
+ "name": "json",
4468
+ "allowNo": false,
4469
+ "type": "boolean"
4470
+ }
4471
+ },
4472
+ "hasDynamicHelp": false,
4473
+ "hiddenAliases": [],
4474
+ "id": "cicd:repository:delete",
4475
+ "pluginAlias": "@copado/agentia-cli",
4476
+ "pluginName": "@copado/agentia-cli",
4477
+ "pluginType": "core",
4478
+ "strict": true,
4479
+ "enableJsonFlag": true,
4480
+ "isESM": true,
4481
+ "relativePath": [
4482
+ "dist",
4483
+ "commands",
4484
+ "cicd",
4485
+ "repository",
4402
4486
  "delete.js"
4403
4487
  ]
4404
4488
  },
4405
- "cicd:stage:get": {
4489
+ "cicd:repository:get": {
4406
4490
  "aliases": [],
4407
4491
  "args": {
4408
4492
  "id": {
4409
- "description": "Stage ID",
4493
+ "description": "Copado Git repository ID",
4410
4494
  "name": "id",
4411
4495
  "required": true
4412
4496
  }
4413
4497
  },
4414
- "description": "Get a Copado stage",
4498
+ "description": "Get a Copado Git repository by ID",
4415
4499
  "examples": [
4416
- "<%= config.bin %> <%= command.id %> <stage-id>",
4417
- "<%= config.bin %> <%= command.id %> <stage-id> --json"
4500
+ "<%= config.bin %> <%= command.id %> repo-001",
4501
+ "<%= config.bin %> <%= command.id %> repo-001 --json"
4418
4502
  ],
4419
4503
  "flags": {
4420
4504
  "json": {
@@ -4427,7 +4511,7 @@
4427
4511
  },
4428
4512
  "hasDynamicHelp": false,
4429
4513
  "hiddenAliases": [],
4430
- "id": "cicd:stage:get",
4514
+ "id": "cicd:repository:get",
4431
4515
  "pluginAlias": "@copado/agentia-cli",
4432
4516
  "pluginName": "@copado/agentia-cli",
4433
4517
  "pluginType": "core",
@@ -4438,17 +4522,20 @@
4438
4522
  "dist",
4439
4523
  "commands",
4440
4524
  "cicd",
4441
- "stage",
4525
+ "repository",
4442
4526
  "get.js"
4443
4527
  ]
4444
4528
  },
4445
- "cicd:stage:list": {
4529
+ "cicd:repository:list": {
4446
4530
  "aliases": [],
4447
4531
  "args": {},
4448
- "description": "List Copado stages",
4532
+ "description": "List Copado Git repositories",
4449
4533
  "examples": [
4450
4534
  "<%= config.bin %> <%= command.id %>",
4451
- "<%= config.bin %> <%= command.id %> --json"
4535
+ "<%= config.bin %> <%= command.id %> --page-size 50",
4536
+ "<%= config.bin %> <%= command.id %> --cursor NEXT --json",
4537
+ "<%= config.bin %> <%= command.id %> --name copado-demo --provider Github",
4538
+ "<%= config.bin %> <%= command.id %> --source-format DX --json"
4452
4539
  ],
4453
4540
  "flags": {
4454
4541
  "json": {
@@ -4471,11 +4558,43 @@
4471
4558
  "hasDynamicHelp": false,
4472
4559
  "multiple": false,
4473
4560
  "type": "option"
4561
+ },
4562
+ "name": {
4563
+ "description": "Filter by name",
4564
+ "name": "name",
4565
+ "hasDynamicHelp": false,
4566
+ "multiple": false,
4567
+ "type": "option"
4568
+ },
4569
+ "provider": {
4570
+ "description": "Filter by Git repository provider",
4571
+ "name": "provider",
4572
+ "hasDynamicHelp": false,
4573
+ "multiple": false,
4574
+ "options": [
4575
+ "Github",
4576
+ "Bitbucket",
4577
+ "Gitlab",
4578
+ "Microsoft Team Service",
4579
+ "Copado Version Control",
4580
+ "Others"
4581
+ ],
4582
+ "type": "option"
4583
+ },
4584
+ "source-format": {
4585
+ "description": "Filter by Git repository source format",
4586
+ "name": "source-format",
4587
+ "hasDynamicHelp": false,
4588
+ "multiple": false,
4589
+ "options": [
4590
+ "DX"
4591
+ ],
4592
+ "type": "option"
4474
4593
  }
4475
4594
  },
4476
4595
  "hasDynamicHelp": false,
4477
4596
  "hiddenAliases": [],
4478
- "id": "cicd:stage:list",
4597
+ "id": "cicd:repository:list",
4479
4598
  "pluginAlias": "@copado/agentia-cli",
4480
4599
  "pluginName": "@copado/agentia-cli",
4481
4600
  "pluginType": "core",
@@ -4486,23 +4605,23 @@
4486
4605
  "dist",
4487
4606
  "commands",
4488
4607
  "cicd",
4489
- "stage",
4608
+ "repository",
4490
4609
  "list.js"
4491
4610
  ]
4492
4611
  },
4493
- "cicd:stage:open": {
4612
+ "cicd:repository:open": {
4494
4613
  "aliases": [],
4495
4614
  "args": {
4496
4615
  "id": {
4497
- "description": "Stage ID",
4616
+ "description": "Copado Git repository ID",
4498
4617
  "name": "id",
4499
4618
  "required": true
4500
4619
  }
4501
4620
  },
4502
- "description": "Open a Copado stage in the browser",
4621
+ "description": "Open a Copado Git repository in the browser",
4503
4622
  "examples": [
4504
- "<%= config.bin %> <%= command.id %> <stage-id>",
4505
- "<%= config.bin %> <%= command.id %> <stage-id> --json"
4623
+ "<%= config.bin %> <%= command.id %> <repository-id>",
4624
+ "<%= config.bin %> <%= command.id %> <repository-id> --json"
4506
4625
  ],
4507
4626
  "flags": {
4508
4627
  "json": {
@@ -4515,7 +4634,7 @@
4515
4634
  },
4516
4635
  "hasDynamicHelp": false,
4517
4636
  "hiddenAliases": [],
4518
- "id": "cicd:stage:open",
4637
+ "id": "cicd:repository:open",
4519
4638
  "pluginAlias": "@copado/agentia-cli",
4520
4639
  "pluginName": "@copado/agentia-cli",
4521
4640
  "pluginType": "core",
@@ -4526,23 +4645,23 @@
4526
4645
  "dist",
4527
4646
  "commands",
4528
4647
  "cicd",
4529
- "stage",
4648
+ "repository",
4530
4649
  "open.js"
4531
4650
  ]
4532
4651
  },
4533
- "cicd:stage:update": {
4652
+ "cicd:repository:reset": {
4534
4653
  "aliases": [],
4535
4654
  "args": {
4536
4655
  "id": {
4537
- "description": "Stage ID",
4656
+ "description": "Copado Git repository ID",
4538
4657
  "name": "id",
4539
4658
  "required": true
4540
4659
  }
4541
4660
  },
4542
- "description": "Update a Copado stage",
4661
+ "description": "Reset a Copado Git repository",
4543
4662
  "examples": [
4544
- "<%= config.bin %> <%= command.id %> <stage-id> --name QA",
4545
- "<%= config.bin %> <%= command.id %> <stage-id> --meta-stage Test"
4663
+ "<%= config.bin %> <%= command.id %> repo-001",
4664
+ "<%= config.bin %> <%= command.id %> repo-001 --json"
4546
4665
  ],
4547
4666
  "flags": {
4548
4667
  "json": {
@@ -4551,25 +4670,11 @@
4551
4670
  "name": "json",
4552
4671
  "allowNo": false,
4553
4672
  "type": "boolean"
4554
- },
4555
- "meta-stage": {
4556
- "description": "Meta stage (common values: Build, Test, Production; custom values are allowed)",
4557
- "name": "meta-stage",
4558
- "hasDynamicHelp": false,
4559
- "multiple": false,
4560
- "type": "option"
4561
- },
4562
- "name": {
4563
- "description": "Stage name",
4564
- "name": "name",
4565
- "hasDynamicHelp": false,
4566
- "multiple": false,
4567
- "type": "option"
4568
4673
  }
4569
4674
  },
4570
4675
  "hasDynamicHelp": false,
4571
4676
  "hiddenAliases": [],
4572
- "id": "cicd:stage:update",
4677
+ "id": "cicd:repository:reset",
4573
4678
  "pluginAlias": "@copado/agentia-cli",
4574
4679
  "pluginName": "@copado/agentia-cli",
4575
4680
  "pluginType": "core",
@@ -4580,67 +4685,24 @@
4580
4685
  "dist",
4581
4686
  "commands",
4582
4687
  "cicd",
4583
- "stage",
4584
- "update.js"
4688
+ "repository",
4689
+ "reset.js"
4585
4690
  ]
4586
4691
  },
4587
- "cicd:user:get": {
4692
+ "cicd:repository:update": {
4588
4693
  "aliases": [],
4589
- "args": {},
4590
- "description": "Get a Copado user by ID (defaults to the authenticated user)",
4694
+ "args": {
4695
+ "id": {
4696
+ "description": "Copado Git repository ID",
4697
+ "name": "id",
4698
+ "required": true
4699
+ }
4700
+ },
4701
+ "description": "Update a Copado Git repository by ID",
4591
4702
  "examples": [
4592
- "<%= config.bin %> <%= command.id %>",
4593
- "<%= config.bin %> <%= command.id %> --id me",
4594
- "<%= config.bin %> <%= command.id %> --id 005000000000000",
4595
- "<%= config.bin %> <%= command.id %> --json"
4596
- ],
4597
- "flags": {
4598
- "json": {
4599
- "description": "Format output as json.",
4600
- "helpGroup": "GLOBAL",
4601
- "name": "json",
4602
- "allowNo": false,
4603
- "type": "boolean"
4604
- },
4605
- "id": {
4606
- "description": "User ID, or \"me\" for the authenticated user",
4607
- "name": "id",
4608
- "default": "me",
4609
- "hasDynamicHelp": false,
4610
- "multiple": false,
4611
- "type": "option"
4612
- }
4613
- },
4614
- "hasDynamicHelp": false,
4615
- "hiddenAliases": [],
4616
- "id": "cicd:user:get",
4617
- "pluginAlias": "@copado/agentia-cli",
4618
- "pluginName": "@copado/agentia-cli",
4619
- "pluginType": "core",
4620
- "strict": true,
4621
- "enableJsonFlag": true,
4622
- "isESM": true,
4623
- "relativePath": [
4624
- "dist",
4625
- "commands",
4626
- "cicd",
4627
- "user",
4628
- "get.js"
4629
- ]
4630
- },
4631
- "cicd:repository:create": {
4632
- "aliases": [],
4633
- "args": {
4634
- "name": {
4635
- "description": "Name of the Copado Git repository to create",
4636
- "name": "name",
4637
- "required": true
4638
- }
4639
- },
4640
- "description": "Create a Copado Git repository",
4641
- "examples": [
4642
- "<%= config.bin %> <%= command.id %> my-repo --source-format DX --provider Github --uri https://github.com/org/repo.git",
4643
- "<%= config.bin %> <%= command.id %> my-repo --source-format DX --provider Gitlab --json"
4703
+ "<%= config.bin %> <%= command.id %> repo-001 --uri https://github.com/org/repo.git",
4704
+ "<%= config.bin %> <%= command.id %> repo-001 --clear-password",
4705
+ "<%= config.bin %> <%= command.id %> repo-001 --provider Gitlab --json"
4644
4706
  ],
4645
4707
  "flags": {
4646
4708
  "json": {
@@ -4662,6 +4724,54 @@
4662
4724
  "allowNo": true,
4663
4725
  "type": "boolean"
4664
4726
  },
4727
+ "clear-branch-base-url": {
4728
+ "description": "Clear the repository branch base URL",
4729
+ "name": "clear-branch-base-url",
4730
+ "allowNo": false,
4731
+ "type": "boolean"
4732
+ },
4733
+ "clear-commit-base-url": {
4734
+ "description": "Clear the repository commit base URL",
4735
+ "name": "clear-commit-base-url",
4736
+ "allowNo": false,
4737
+ "type": "boolean"
4738
+ },
4739
+ "clear-extra-headers": {
4740
+ "description": "Clear additional repository headers",
4741
+ "name": "clear-extra-headers",
4742
+ "allowNo": false,
4743
+ "type": "boolean"
4744
+ },
4745
+ "clear-password": {
4746
+ "description": "Clear the repository password or token",
4747
+ "name": "clear-password",
4748
+ "allowNo": false,
4749
+ "type": "boolean"
4750
+ },
4751
+ "clear-pull-request-base-url": {
4752
+ "description": "Clear the repository pull request base URL",
4753
+ "name": "clear-pull-request-base-url",
4754
+ "allowNo": false,
4755
+ "type": "boolean"
4756
+ },
4757
+ "clear-tag-base-url": {
4758
+ "description": "Clear the repository tag base URL",
4759
+ "name": "clear-tag-base-url",
4760
+ "allowNo": false,
4761
+ "type": "boolean"
4762
+ },
4763
+ "clear-uri": {
4764
+ "description": "Clear the repository clone URI",
4765
+ "name": "clear-uri",
4766
+ "allowNo": false,
4767
+ "type": "boolean"
4768
+ },
4769
+ "clear-username": {
4770
+ "description": "Clear the repository username",
4771
+ "name": "clear-username",
4772
+ "allowNo": false,
4773
+ "type": "boolean"
4774
+ },
4665
4775
  "auth-type": {
4666
4776
  "description": "Repository authentication type",
4667
4777
  "name": "auth-type",
@@ -4728,10 +4838,16 @@
4728
4838
  "multiple": false,
4729
4839
  "type": "option"
4730
4840
  },
4841
+ "name": {
4842
+ "description": "Repository name",
4843
+ "name": "name",
4844
+ "hasDynamicHelp": false,
4845
+ "multiple": false,
4846
+ "type": "option"
4847
+ },
4731
4848
  "provider": {
4732
4849
  "description": "Git repository provider",
4733
4850
  "name": "provider",
4734
- "required": true,
4735
4851
  "hasDynamicHelp": false,
4736
4852
  "multiple": false,
4737
4853
  "options": [
@@ -4747,7 +4863,6 @@
4747
4863
  "source-format": {
4748
4864
  "description": "Git repository source format",
4749
4865
  "name": "source-format",
4750
- "required": true,
4751
4866
  "hasDynamicHelp": false,
4752
4867
  "multiple": false,
4753
4868
  "options": [
@@ -4758,7 +4873,7 @@
4758
4873
  },
4759
4874
  "hasDynamicHelp": false,
4760
4875
  "hiddenAliases": [],
4761
- "id": "cicd:repository:create",
4876
+ "id": "cicd:repository:update",
4762
4877
  "pluginAlias": "@copado/agentia-cli",
4763
4878
  "pluginName": "@copado/agentia-cli",
4764
4879
  "pluginType": "core",
@@ -4770,10 +4885,10 @@
4770
4885
  "commands",
4771
4886
  "cicd",
4772
4887
  "repository",
4773
- "create.js"
4888
+ "update.js"
4774
4889
  ]
4775
4890
  },
4776
- "cicd:repository:delete": {
4891
+ "cicd:repository:validate": {
4777
4892
  "aliases": [],
4778
4893
  "args": {
4779
4894
  "id": {
@@ -4782,7 +4897,7 @@
4782
4897
  "required": true
4783
4898
  }
4784
4899
  },
4785
- "description": "Delete a Copado Git repository by ID",
4900
+ "description": "Validate Copado Git repository authentication",
4786
4901
  "examples": [
4787
4902
  "<%= config.bin %> <%= command.id %> repo-001",
4788
4903
  "<%= config.bin %> <%= command.id %> repo-001 --json"
@@ -4798,7 +4913,7 @@
4798
4913
  },
4799
4914
  "hasDynamicHelp": false,
4800
4915
  "hiddenAliases": [],
4801
- "id": "cicd:repository:delete",
4916
+ "id": "cicd:repository:validate",
4802
4917
  "pluginAlias": "@copado/agentia-cli",
4803
4918
  "pluginName": "@copado/agentia-cli",
4804
4919
  "pluginType": "core",
@@ -4810,59 +4925,22 @@
4810
4925
  "commands",
4811
4926
  "cicd",
4812
4927
  "repository",
4813
- "delete.js"
4928
+ "validate.js"
4814
4929
  ]
4815
4930
  },
4816
- "cicd:repository:get": {
4931
+ "cicd:stage:create": {
4817
4932
  "aliases": [],
4818
4933
  "args": {
4819
- "id": {
4820
- "description": "Copado Git repository ID",
4821
- "name": "id",
4934
+ "name": {
4935
+ "description": "Stage name",
4936
+ "name": "name",
4822
4937
  "required": true
4823
4938
  }
4824
4939
  },
4825
- "description": "Get a Copado Git repository by ID",
4826
- "examples": [
4827
- "<%= config.bin %> <%= command.id %> repo-001",
4828
- "<%= config.bin %> <%= command.id %> repo-001 --json"
4829
- ],
4830
- "flags": {
4831
- "json": {
4832
- "description": "Format output as json.",
4833
- "helpGroup": "GLOBAL",
4834
- "name": "json",
4835
- "allowNo": false,
4836
- "type": "boolean"
4837
- }
4838
- },
4839
- "hasDynamicHelp": false,
4840
- "hiddenAliases": [],
4841
- "id": "cicd:repository:get",
4842
- "pluginAlias": "@copado/agentia-cli",
4843
- "pluginName": "@copado/agentia-cli",
4844
- "pluginType": "core",
4845
- "strict": true,
4846
- "enableJsonFlag": true,
4847
- "isESM": true,
4848
- "relativePath": [
4849
- "dist",
4850
- "commands",
4851
- "cicd",
4852
- "repository",
4853
- "get.js"
4854
- ]
4855
- },
4856
- "cicd:repository:list": {
4857
- "aliases": [],
4858
- "args": {},
4859
- "description": "List Copado Git repositories",
4940
+ "description": "Create a Copado stage",
4860
4941
  "examples": [
4861
- "<%= config.bin %> <%= command.id %>",
4862
- "<%= config.bin %> <%= command.id %> --page-size 50",
4863
- "<%= config.bin %> <%= command.id %> --cursor NEXT --json",
4864
- "<%= config.bin %> <%= command.id %> --name copado-demo --provider Github",
4865
- "<%= config.bin %> <%= command.id %> --source-format DX --json"
4942
+ "<%= config.bin %> <%= command.id %> Build",
4943
+ "<%= config.bin %> <%= command.id %> Test --meta-stage Test"
4866
4944
  ],
4867
4945
  "flags": {
4868
4946
  "json": {
@@ -4872,56 +4950,24 @@
4872
4950
  "allowNo": false,
4873
4951
  "type": "boolean"
4874
4952
  },
4875
- "cursor": {
4876
- "description": "Opaque pagination cursor from a previous list response (nextCursor)",
4877
- "name": "cursor",
4878
- "hasDynamicHelp": false,
4879
- "multiple": false,
4880
- "type": "option"
4881
- },
4882
- "page-size": {
4883
- "description": "Number of records per page (1-200)",
4884
- "name": "page-size",
4953
+ "meta-stage": {
4954
+ "description": "Meta stage (common values: Build, Test, Production; custom values are allowed)",
4955
+ "name": "meta-stage",
4885
4956
  "hasDynamicHelp": false,
4886
4957
  "multiple": false,
4887
4958
  "type": "option"
4888
4959
  },
4889
4960
  "name": {
4890
- "description": "Filter by name",
4961
+ "description": "Stage name",
4891
4962
  "name": "name",
4892
4963
  "hasDynamicHelp": false,
4893
4964
  "multiple": false,
4894
4965
  "type": "option"
4895
- },
4896
- "provider": {
4897
- "description": "Filter by Git repository provider",
4898
- "name": "provider",
4899
- "hasDynamicHelp": false,
4900
- "multiple": false,
4901
- "options": [
4902
- "Github",
4903
- "Bitbucket",
4904
- "Gitlab",
4905
- "Microsoft Team Service",
4906
- "Copado Version Control",
4907
- "Others"
4908
- ],
4909
- "type": "option"
4910
- },
4911
- "source-format": {
4912
- "description": "Filter by Git repository source format",
4913
- "name": "source-format",
4914
- "hasDynamicHelp": false,
4915
- "multiple": false,
4916
- "options": [
4917
- "DX"
4918
- ],
4919
- "type": "option"
4920
4966
  }
4921
4967
  },
4922
4968
  "hasDynamicHelp": false,
4923
4969
  "hiddenAliases": [],
4924
- "id": "cicd:repository:list",
4970
+ "id": "cicd:stage:create",
4925
4971
  "pluginAlias": "@copado/agentia-cli",
4926
4972
  "pluginName": "@copado/agentia-cli",
4927
4973
  "pluginType": "core",
@@ -4932,23 +4978,23 @@
4932
4978
  "dist",
4933
4979
  "commands",
4934
4980
  "cicd",
4935
- "repository",
4936
- "list.js"
4981
+ "stage",
4982
+ "create.js"
4937
4983
  ]
4938
4984
  },
4939
- "cicd:repository:open": {
4985
+ "cicd:stage:delete": {
4940
4986
  "aliases": [],
4941
4987
  "args": {
4942
4988
  "id": {
4943
- "description": "Copado Git repository ID",
4989
+ "description": "Stage ID",
4944
4990
  "name": "id",
4945
4991
  "required": true
4946
4992
  }
4947
4993
  },
4948
- "description": "Open a Copado Git repository in the browser",
4994
+ "description": "Delete a Copado stage",
4949
4995
  "examples": [
4950
- "<%= config.bin %> <%= command.id %> <repository-id>",
4951
- "<%= config.bin %> <%= command.id %> <repository-id> --json"
4996
+ "<%= config.bin %> <%= command.id %> <stage-id>",
4997
+ "<%= config.bin %> <%= command.id %> <stage-id> --yes --json"
4952
4998
  ],
4953
4999
  "flags": {
4954
5000
  "json": {
@@ -4957,11 +5003,18 @@
4957
5003
  "name": "json",
4958
5004
  "allowNo": false,
4959
5005
  "type": "boolean"
5006
+ },
5007
+ "yes": {
5008
+ "char": "y",
5009
+ "description": "Confirm deletion without prompting",
5010
+ "name": "yes",
5011
+ "allowNo": false,
5012
+ "type": "boolean"
4960
5013
  }
4961
5014
  },
4962
5015
  "hasDynamicHelp": false,
4963
5016
  "hiddenAliases": [],
4964
- "id": "cicd:repository:open",
5017
+ "id": "cicd:stage:delete",
4965
5018
  "pluginAlias": "@copado/agentia-cli",
4966
5019
  "pluginName": "@copado/agentia-cli",
4967
5020
  "pluginType": "core",
@@ -4972,23 +5025,23 @@
4972
5025
  "dist",
4973
5026
  "commands",
4974
5027
  "cicd",
4975
- "repository",
4976
- "open.js"
5028
+ "stage",
5029
+ "delete.js"
4977
5030
  ]
4978
5031
  },
4979
- "cicd:repository:reset": {
5032
+ "cicd:stage:get": {
4980
5033
  "aliases": [],
4981
5034
  "args": {
4982
5035
  "id": {
4983
- "description": "Copado Git repository ID",
5036
+ "description": "Stage ID",
4984
5037
  "name": "id",
4985
5038
  "required": true
4986
5039
  }
4987
5040
  },
4988
- "description": "Reset a Copado Git repository",
5041
+ "description": "Get a Copado stage",
4989
5042
  "examples": [
4990
- "<%= config.bin %> <%= command.id %> repo-001",
4991
- "<%= config.bin %> <%= command.id %> repo-001 --json"
5043
+ "<%= config.bin %> <%= command.id %> <stage-id>",
5044
+ "<%= config.bin %> <%= command.id %> <stage-id> --json"
4992
5045
  ],
4993
5046
  "flags": {
4994
5047
  "json": {
@@ -5001,7 +5054,7 @@
5001
5054
  },
5002
5055
  "hasDynamicHelp": false,
5003
5056
  "hiddenAliases": [],
5004
- "id": "cicd:repository:reset",
5057
+ "id": "cicd:stage:get",
5005
5058
  "pluginAlias": "@copado/agentia-cli",
5006
5059
  "pluginName": "@copado/agentia-cli",
5007
5060
  "pluginType": "core",
@@ -5012,24 +5065,17 @@
5012
5065
  "dist",
5013
5066
  "commands",
5014
5067
  "cicd",
5015
- "repository",
5016
- "reset.js"
5068
+ "stage",
5069
+ "get.js"
5017
5070
  ]
5018
5071
  },
5019
- "cicd:repository:update": {
5072
+ "cicd:stage:list": {
5020
5073
  "aliases": [],
5021
- "args": {
5022
- "id": {
5023
- "description": "Copado Git repository ID",
5024
- "name": "id",
5025
- "required": true
5026
- }
5027
- },
5028
- "description": "Update a Copado Git repository by ID",
5074
+ "args": {},
5075
+ "description": "List Copado stages",
5029
5076
  "examples": [
5030
- "<%= config.bin %> <%= command.id %> repo-001 --uri https://github.com/org/repo.git",
5031
- "<%= config.bin %> <%= command.id %> repo-001 --clear-password",
5032
- "<%= config.bin %> <%= command.id %> repo-001 --provider Gitlab --json"
5077
+ "<%= config.bin %> <%= command.id %>",
5078
+ "<%= config.bin %> <%= command.id %> --json"
5033
5079
  ],
5034
5080
  "flags": {
5035
5081
  "json": {
@@ -5039,168 +5085,24 @@
5039
5085
  "allowNo": false,
5040
5086
  "type": "boolean"
5041
5087
  },
5042
- "allow-functions-git-cache": {
5043
- "description": "Allow Functions Git cache for this repository",
5044
- "name": "allow-functions-git-cache",
5045
- "allowNo": true,
5046
- "type": "boolean"
5047
- },
5048
- "copado-tunnel-enabled": {
5049
- "description": "Enable Copado tunnel for this repository",
5050
- "name": "copado-tunnel-enabled",
5051
- "allowNo": true,
5052
- "type": "boolean"
5053
- },
5054
- "clear-branch-base-url": {
5055
- "description": "Clear the repository branch base URL",
5056
- "name": "clear-branch-base-url",
5057
- "allowNo": false,
5058
- "type": "boolean"
5059
- },
5060
- "clear-commit-base-url": {
5061
- "description": "Clear the repository commit base URL",
5062
- "name": "clear-commit-base-url",
5063
- "allowNo": false,
5064
- "type": "boolean"
5065
- },
5066
- "clear-extra-headers": {
5067
- "description": "Clear additional repository headers",
5068
- "name": "clear-extra-headers",
5069
- "allowNo": false,
5070
- "type": "boolean"
5071
- },
5072
- "clear-password": {
5073
- "description": "Clear the repository password or token",
5074
- "name": "clear-password",
5075
- "allowNo": false,
5076
- "type": "boolean"
5077
- },
5078
- "clear-pull-request-base-url": {
5079
- "description": "Clear the repository pull request base URL",
5080
- "name": "clear-pull-request-base-url",
5081
- "allowNo": false,
5082
- "type": "boolean"
5083
- },
5084
- "clear-tag-base-url": {
5085
- "description": "Clear the repository tag base URL",
5086
- "name": "clear-tag-base-url",
5087
- "allowNo": false,
5088
- "type": "boolean"
5089
- },
5090
- "clear-uri": {
5091
- "description": "Clear the repository clone URI",
5092
- "name": "clear-uri",
5093
- "allowNo": false,
5094
- "type": "boolean"
5095
- },
5096
- "clear-username": {
5097
- "description": "Clear the repository username",
5098
- "name": "clear-username",
5099
- "allowNo": false,
5100
- "type": "boolean"
5101
- },
5102
- "auth-type": {
5103
- "description": "Repository authentication type",
5104
- "name": "auth-type",
5105
- "hasDynamicHelp": false,
5106
- "multiple": false,
5107
- "options": [
5108
- "HTTPS"
5109
- ],
5110
- "type": "option"
5111
- },
5112
- "branch-base-url": {
5113
- "description": "Base URL for repository branch links",
5114
- "name": "branch-base-url",
5115
- "hasDynamicHelp": false,
5116
- "multiple": false,
5117
- "type": "option"
5118
- },
5119
- "commit-base-url": {
5120
- "description": "Base URL for repository commit links",
5121
- "name": "commit-base-url",
5122
- "hasDynamicHelp": false,
5123
- "multiple": false,
5124
- "type": "option"
5125
- },
5126
- "extra-headers": {
5127
- "description": "Additional authentication headers. Prefer environment-specific credential storage when available.",
5128
- "name": "extra-headers",
5129
- "hasDynamicHelp": false,
5130
- "multiple": false,
5131
- "type": "option"
5132
- },
5133
- "password": {
5134
- "description": "Repository password or token. This can be visible in shell history.",
5135
- "name": "password",
5136
- "hasDynamicHelp": false,
5137
- "multiple": false,
5138
- "type": "option"
5139
- },
5140
- "pull-request-base-url": {
5141
- "description": "Base URL for repository pull request links",
5142
- "name": "pull-request-base-url",
5143
- "hasDynamicHelp": false,
5144
- "multiple": false,
5145
- "type": "option"
5146
- },
5147
- "tag-base-url": {
5148
- "description": "Base URL for repository tag links",
5149
- "name": "tag-base-url",
5150
- "hasDynamicHelp": false,
5151
- "multiple": false,
5152
- "type": "option"
5153
- },
5154
- "uri": {
5155
- "description": "Repository clone URI",
5156
- "name": "uri",
5157
- "hasDynamicHelp": false,
5158
- "multiple": false,
5159
- "type": "option"
5160
- },
5161
- "username": {
5162
- "description": "Repository username",
5163
- "name": "username",
5164
- "hasDynamicHelp": false,
5165
- "multiple": false,
5166
- "type": "option"
5167
- },
5168
- "name": {
5169
- "description": "Repository name",
5170
- "name": "name",
5171
- "hasDynamicHelp": false,
5172
- "multiple": false,
5173
- "type": "option"
5174
- },
5175
- "provider": {
5176
- "description": "Git repository provider",
5177
- "name": "provider",
5088
+ "cursor": {
5089
+ "description": "Opaque pagination cursor from a previous list response (nextCursor)",
5090
+ "name": "cursor",
5178
5091
  "hasDynamicHelp": false,
5179
5092
  "multiple": false,
5180
- "options": [
5181
- "Github",
5182
- "Bitbucket",
5183
- "Gitlab",
5184
- "Microsoft Team Service",
5185
- "Copado Version Control",
5186
- "Others"
5187
- ],
5188
5093
  "type": "option"
5189
5094
  },
5190
- "source-format": {
5191
- "description": "Git repository source format",
5192
- "name": "source-format",
5095
+ "page-size": {
5096
+ "description": "Number of records per page (1-200)",
5097
+ "name": "page-size",
5193
5098
  "hasDynamicHelp": false,
5194
5099
  "multiple": false,
5195
- "options": [
5196
- "DX"
5197
- ],
5198
5100
  "type": "option"
5199
5101
  }
5200
5102
  },
5201
5103
  "hasDynamicHelp": false,
5202
5104
  "hiddenAliases": [],
5203
- "id": "cicd:repository:update",
5105
+ "id": "cicd:stage:list",
5204
5106
  "pluginAlias": "@copado/agentia-cli",
5205
5107
  "pluginName": "@copado/agentia-cli",
5206
5108
  "pluginType": "core",
@@ -5211,23 +5113,23 @@
5211
5113
  "dist",
5212
5114
  "commands",
5213
5115
  "cicd",
5214
- "repository",
5215
- "update.js"
5116
+ "stage",
5117
+ "list.js"
5216
5118
  ]
5217
5119
  },
5218
- "cicd:repository:validate": {
5120
+ "cicd:stage:open": {
5219
5121
  "aliases": [],
5220
5122
  "args": {
5221
5123
  "id": {
5222
- "description": "Copado Git repository ID",
5124
+ "description": "Stage ID",
5223
5125
  "name": "id",
5224
5126
  "required": true
5225
5127
  }
5226
5128
  },
5227
- "description": "Validate Copado Git repository authentication",
5129
+ "description": "Open a Copado stage in the browser",
5228
5130
  "examples": [
5229
- "<%= config.bin %> <%= command.id %> repo-001",
5230
- "<%= config.bin %> <%= command.id %> repo-001 --json"
5131
+ "<%= config.bin %> <%= command.id %> <stage-id>",
5132
+ "<%= config.bin %> <%= command.id %> <stage-id> --json"
5231
5133
  ],
5232
5134
  "flags": {
5233
5135
  "json": {
@@ -5240,7 +5142,7 @@
5240
5142
  },
5241
5143
  "hasDynamicHelp": false,
5242
5144
  "hiddenAliases": [],
5243
- "id": "cicd:repository:validate",
5145
+ "id": "cicd:stage:open",
5244
5146
  "pluginAlias": "@copado/agentia-cli",
5245
5147
  "pluginName": "@copado/agentia-cli",
5246
5148
  "pluginType": "core",
@@ -5251,19 +5153,23 @@
5251
5153
  "dist",
5252
5154
  "commands",
5253
5155
  "cicd",
5254
- "repository",
5255
- "validate.js"
5156
+ "stage",
5157
+ "open.js"
5256
5158
  ]
5257
5159
  },
5258
- "setup:skills:create": {
5160
+ "cicd:stage:update": {
5259
5161
  "aliases": [],
5260
- "args": {},
5261
- "description": "Create portable Markdown-only Agentia CLI skills in this project without overwriting managed files",
5162
+ "args": {
5163
+ "id": {
5164
+ "description": "Stage ID",
5165
+ "name": "id",
5166
+ "required": true
5167
+ }
5168
+ },
5169
+ "description": "Update a Copado stage",
5262
5170
  "examples": [
5263
- "<%= config.bin %> <%= command.id %>",
5264
- "<%= config.bin %> <%= command.id %> --cicd --target agents --no-prompt",
5265
- "<%= config.bin %> <%= command.id %> --testing --ai --target cursor --no-prompt",
5266
- "<%= config.bin %> <%= command.id %> --json"
5171
+ "<%= config.bin %> <%= command.id %> <stage-id> --name QA",
5172
+ "<%= config.bin %> <%= command.id %> <stage-id> --meta-stage Test"
5267
5173
  ],
5268
5174
  "flags": {
5269
5175
  "json": {
@@ -5273,53 +5179,24 @@
5273
5179
  "allowNo": false,
5274
5180
  "type": "boolean"
5275
5181
  },
5276
- "ai": {
5277
- "description": "Create the Copado AI agent skill pack",
5278
- "name": "ai",
5279
- "allowNo": false,
5280
- "type": "boolean"
5281
- },
5282
- "cicd": {
5283
- "description": "Create the Copado CICD skill pack",
5284
- "name": "cicd",
5285
- "allowNo": false,
5286
- "type": "boolean"
5287
- },
5288
- "force": {
5289
- "description": "Replace conflicting unmanaged Agentia skill files",
5290
- "name": "force",
5291
- "allowNo": false,
5292
- "type": "boolean"
5293
- },
5294
- "no-prompt": {
5295
- "char": "n",
5296
- "description": "Skip interactive prompts; defaults the target to .agents/skills when --target is omitted",
5297
- "name": "no-prompt",
5298
- "allowNo": false,
5299
- "type": "boolean"
5300
- },
5301
- "target": {
5302
- "description": "Project skill root to write",
5303
- "name": "target",
5182
+ "meta-stage": {
5183
+ "description": "Meta stage (common values: Build, Test, Production; custom values are allowed)",
5184
+ "name": "meta-stage",
5304
5185
  "hasDynamicHelp": false,
5305
5186
  "multiple": false,
5306
- "options": [
5307
- "agents",
5308
- "cursor",
5309
- "claude"
5310
- ],
5311
5187
  "type": "option"
5312
5188
  },
5313
- "testing": {
5314
- "description": "Create the Copado Robotic Testing skill pack",
5315
- "name": "testing",
5316
- "allowNo": false,
5317
- "type": "boolean"
5189
+ "name": {
5190
+ "description": "Stage name",
5191
+ "name": "name",
5192
+ "hasDynamicHelp": false,
5193
+ "multiple": false,
5194
+ "type": "option"
5318
5195
  }
5319
5196
  },
5320
5197
  "hasDynamicHelp": false,
5321
5198
  "hiddenAliases": [],
5322
- "id": "setup:skills:create",
5199
+ "id": "cicd:stage:update",
5323
5200
  "pluginAlias": "@copado/agentia-cli",
5324
5201
  "pluginName": "@copado/agentia-cli",
5325
5202
  "pluginType": "core",
@@ -5329,91 +5206,12 @@
5329
5206
  "relativePath": [
5330
5207
  "dist",
5331
5208
  "commands",
5332
- "setup",
5333
- "skills",
5334
- "create.js"
5209
+ "cicd",
5210
+ "stage",
5211
+ "update.js"
5335
5212
  ]
5336
5213
  },
5337
- "setup:skills:update": {
5338
- "aliases": [],
5339
- "args": {},
5340
- "description": "Update Agentia-managed Markdown skill files and restore missing files in this project",
5341
- "examples": [
5342
- "<%= config.bin %> <%= command.id %>",
5343
- "<%= config.bin %> <%= command.id %> --ai --target cursor --no-prompt",
5344
- "<%= config.bin %> <%= command.id %> --cicd --testing --target agents --no-prompt",
5345
- "<%= config.bin %> <%= command.id %> --force --json"
5346
- ],
5347
- "flags": {
5348
- "json": {
5349
- "description": "Format output as json.",
5350
- "helpGroup": "GLOBAL",
5351
- "name": "json",
5352
- "allowNo": false,
5353
- "type": "boolean"
5354
- },
5355
- "ai": {
5356
- "description": "Update the Copado AI agent skill pack",
5357
- "name": "ai",
5358
- "allowNo": false,
5359
- "type": "boolean"
5360
- },
5361
- "cicd": {
5362
- "description": "Update the Copado CICD skill pack",
5363
- "name": "cicd",
5364
- "allowNo": false,
5365
- "type": "boolean"
5366
- },
5367
- "force": {
5368
- "description": "Replace conflicting unmanaged Agentia skill files",
5369
- "name": "force",
5370
- "allowNo": false,
5371
- "type": "boolean"
5372
- },
5373
- "no-prompt": {
5374
- "char": "n",
5375
- "description": "Skip interactive prompts; defaults the target to .agents/skills when --target is omitted",
5376
- "name": "no-prompt",
5377
- "allowNo": false,
5378
- "type": "boolean"
5379
- },
5380
- "target": {
5381
- "description": "Project skill root to write",
5382
- "name": "target",
5383
- "hasDynamicHelp": false,
5384
- "multiple": false,
5385
- "options": [
5386
- "agents",
5387
- "cursor",
5388
- "claude"
5389
- ],
5390
- "type": "option"
5391
- },
5392
- "testing": {
5393
- "description": "Update the Copado Robotic Testing skill pack",
5394
- "name": "testing",
5395
- "allowNo": false,
5396
- "type": "boolean"
5397
- }
5398
- },
5399
- "hasDynamicHelp": false,
5400
- "hiddenAliases": [],
5401
- "id": "setup:skills:update",
5402
- "pluginAlias": "@copado/agentia-cli",
5403
- "pluginName": "@copado/agentia-cli",
5404
- "pluginType": "core",
5405
- "strict": true,
5406
- "enableJsonFlag": true,
5407
- "isESM": true,
5408
- "relativePath": [
5409
- "dist",
5410
- "commands",
5411
- "setup",
5412
- "skills",
5413
- "update.js"
5414
- ]
5415
- },
5416
- "cicd:work:commit": {
5214
+ "cicd:work:commit": {
5417
5215
  "aliases": [],
5418
5216
  "args": {
5419
5217
  "id": {
@@ -5502,7 +5300,7 @@
5502
5300
  "type": "option"
5503
5301
  },
5504
5302
  "full-metadata": {
5505
- "description": "Local commit only. Comma-separated type-prefixed metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding, stored as lastFullMetadataSelected and sent as the `cicd work push` fullMetadata list. The named metadata is committed as a complete file, so every permission it contains is applied instead of only the permissions selected with --permissions. Pass an empty value to clear it.",
5303
+ "description": "Local commit only. Comma-separated type-prefixed metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding, stored as lastFullMetadataSelected and sent as `cicd work push` fullMetadata corrections. The named metadata is committed as a complete file, so every permission it contains is applied instead of only the permissions selected with --permissions. Pass an empty value to clear it.",
5506
5304
  "name": "full-metadata",
5507
5305
  "hasDynamicHelp": false,
5508
5306
  "multiple": false,
@@ -5558,7 +5356,7 @@
5558
5356
  "type": "option"
5559
5357
  },
5560
5358
  "permissions": {
5561
- "description": "Local commit only. Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, stored as lastPermissionSelected and sent as the `cicd work push` retrieveOnly list. The named metadata is not committed or deployed; it filters which permissions are updated inside the committed permission sets and profiles so other permissions are not overwritten. Pass an empty value to clear it.",
5359
+ "description": "Local commit only. Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, stored as lastPermissionSelected and sent as `cicd work push` RetrieveOnly corrections. The named metadata is not committed or deployed; it filters which permissions are updated inside the committed permission sets and profiles so other permissions are not overwritten. Pass an empty value to clear it.",
5562
5360
  "name": "permissions",
5563
5361
  "hasDynamicHelp": false,
5564
5362
  "multiple": false,
@@ -5885,8 +5683,9 @@
5885
5683
  "cicd:work:done": {
5886
5684
  "aliases": [],
5887
5685
  "args": {},
5888
- "description": "Mark the current feature/<lastWorkItem> work item done and promote it to the next environment. Pushes and registers commits when the branch is ahead of origin, then calls headless work/done (Promote Action with validate=false).",
5686
+ "description": "Alias of cicd work submit --done. Matches Copado UI Submit when promoting (not validate-only). Prefer: agentia cicd work submit --done.",
5889
5687
  "examples": [
5688
+ "<%= config.bin %> cicd work submit --done",
5890
5689
  "<%= config.bin %> <%= command.id %>",
5891
5690
  "<%= config.bin %> <%= command.id %> --skip-nested-metadata-detection",
5892
5691
  "<%= config.bin %> <%= command.id %> --json"
@@ -6235,7 +6034,7 @@
6235
6034
  "cicd:work:push": {
6236
6035
  "aliases": [],
6237
6036
  "args": {},
6238
- "description": "Push 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`. Applies Copado environment-variable then yaml replacements when needed, 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 lastPermissionSelected and --permissions plus the nested metadata of the changed profiles and permission sets as the retrieveOnly list, lastFullMetadataSelected and --full-metadata as the fullMetadata list, the ignored parents as removeMetadataItems and the remaining nested metadata as addMetadataItems, then merges the feature branch into the recorded dev org branch.",
6037
+ "description": "Push 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`. Applies Copado environment-variable then yaml replacements when needed, 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.",
6239
6038
  "examples": [
6240
6039
  "<%= config.bin %> <%= command.id %>",
6241
6040
  "<%= config.bin %> <%= command.id %> --permissions CustomField:Account.SLA__c,ApexClass:AccountService",
@@ -6252,14 +6051,14 @@
6252
6051
  "type": "boolean"
6253
6052
  },
6254
6053
  "full-metadata": {
6255
- "description": "Comma-separated type-prefixed metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding, added to lastFullMetadataSelected for this push and sent as the headless push fullMetadata list. The named metadata is committed as a complete file, so it is never decomposed into nested metadata. Not stored; use `cicd work commit --full-metadata` to record it.",
6054
+ "description": "Comma-separated type-prefixed metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding, added to lastFullMetadataSelected for this push 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; use `cicd work commit --full-metadata` to record it.",
6256
6055
  "name": "full-metadata",
6257
6056
  "hasDynamicHelp": false,
6258
6057
  "multiple": false,
6259
6058
  "type": "option"
6260
6059
  },
6261
6060
  "permissions": {
6262
- "description": "Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, added to lastPermissionSelected for this push and sent as part of the headless push retrieveOnly list. Not stored; use `cicd work commit --permissions` to record it.",
6061
+ "description": "Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, added to lastPermissionSelected for this push and sent as headless push RetrieveOnly corrections. Not stored; use `cicd work commit --permissions` to record it.",
6263
6062
  "name": "permissions",
6264
6063
  "hasDynamicHelp": false,
6265
6064
  "multiple": false,
@@ -6381,12 +6180,14 @@
6381
6180
  "cicd:work:submit": {
6382
6181
  "aliases": [],
6383
6182
  "args": {},
6384
- "description": "Submit the current feature/<lastWorkItem> work item for pipeline quality gates and validation. Runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true).",
6183
+ "description": "Submit the current feature/<lastWorkItem> work item for pipeline quality gates and validation. Runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true). With --done, matches Copado UI Submit when promoting (validate=false / headless work/done). cicd work done is a compatibility alias of this command with --done.",
6385
6184
  "examples": [
6386
6185
  "<%= config.bin %> <%= command.id %>",
6387
6186
  "<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
6388
6187
  "<%= config.bin %> <%= command.id %> --skip-local-tests",
6389
6188
  "<%= config.bin %> <%= command.id %> --skip-pull-request",
6189
+ "<%= config.bin %> <%= command.id %> --done",
6190
+ "<%= config.bin %> <%= command.id %> --done --skip-nested-metadata-detection",
6390
6191
  "<%= config.bin %> <%= command.id %> --json"
6391
6192
  ],
6392
6193
  "flags": {
@@ -6397,6 +6198,12 @@
6397
6198
  "allowNo": false,
6398
6199
  "type": "boolean"
6399
6200
  },
6201
+ "skip-nested-metadata-detection": {
6202
+ "description": "Do not detect the nested metadata changed across the branch when pushing (also configurable via skipNestedMetadataDetection in .agentia/config.json or .agentia/config.user.json)",
6203
+ "name": "skip-nested-metadata-detection",
6204
+ "allowNo": false,
6205
+ "type": "boolean"
6206
+ },
6400
6207
  "apex-test-classes": {
6401
6208
  "description": "Comma-separated Apex test class names passed to local quality gates as AGENTIA_APEX_TEST_CLASSES",
6402
6209
  "name": "apex-test-classes",
@@ -6404,15 +6211,15 @@
6404
6211
  "multiple": false,
6405
6212
  "type": "option"
6406
6213
  },
6407
- "skip-local-tests": {
6408
- "description": "Skip running local quality gates scripts in the project root",
6409
- "name": "skip-local-tests",
6214
+ "done": {
6215
+ "description": "Promote instead of validate-only (Copado UI Submit promote); honors --skip-nested-metadata-detection",
6216
+ "name": "done",
6410
6217
  "allowNo": false,
6411
6218
  "type": "boolean"
6412
6219
  },
6413
- "skip-nested-metadata-detection": {
6414
- "description": "Do not detect the nested metadata changed across the branch when pushing (also configurable via skipNestedMetadataDetection in .agentia/config.json or .agentia/config.user.json)",
6415
- "name": "skip-nested-metadata-detection",
6220
+ "skip-local-tests": {
6221
+ "description": "Skip running local quality gates scripts in the project root",
6222
+ "name": "skip-local-tests",
6416
6223
  "allowNo": false,
6417
6224
  "type": "boolean"
6418
6225
  },
@@ -6710,6 +6517,164 @@
6710
6517
  "update.js"
6711
6518
  ]
6712
6519
  },
6520
+ "setup:skills:create": {
6521
+ "aliases": [],
6522
+ "args": {},
6523
+ "description": "Create portable Markdown-only Agentia CLI skills in this project without overwriting managed files",
6524
+ "examples": [
6525
+ "<%= config.bin %> <%= command.id %>",
6526
+ "<%= config.bin %> <%= command.id %> --cicd --target agents --no-prompt",
6527
+ "<%= config.bin %> <%= command.id %> --testing --ai --target cursor --no-prompt",
6528
+ "<%= config.bin %> <%= command.id %> --json"
6529
+ ],
6530
+ "flags": {
6531
+ "json": {
6532
+ "description": "Format output as json.",
6533
+ "helpGroup": "GLOBAL",
6534
+ "name": "json",
6535
+ "allowNo": false,
6536
+ "type": "boolean"
6537
+ },
6538
+ "ai": {
6539
+ "description": "Create the Copado AI agent skill pack",
6540
+ "name": "ai",
6541
+ "allowNo": false,
6542
+ "type": "boolean"
6543
+ },
6544
+ "cicd": {
6545
+ "description": "Create the Copado CICD skill pack",
6546
+ "name": "cicd",
6547
+ "allowNo": false,
6548
+ "type": "boolean"
6549
+ },
6550
+ "force": {
6551
+ "description": "Replace conflicting unmanaged Agentia skill files",
6552
+ "name": "force",
6553
+ "allowNo": false,
6554
+ "type": "boolean"
6555
+ },
6556
+ "no-prompt": {
6557
+ "char": "n",
6558
+ "description": "Skip interactive prompts; defaults the target to .agents/skills when --target is omitted",
6559
+ "name": "no-prompt",
6560
+ "allowNo": false,
6561
+ "type": "boolean"
6562
+ },
6563
+ "target": {
6564
+ "description": "Project skill root to write",
6565
+ "name": "target",
6566
+ "hasDynamicHelp": false,
6567
+ "multiple": false,
6568
+ "options": [
6569
+ "agents",
6570
+ "cursor",
6571
+ "claude"
6572
+ ],
6573
+ "type": "option"
6574
+ },
6575
+ "testing": {
6576
+ "description": "Create the Copado Robotic Testing skill pack",
6577
+ "name": "testing",
6578
+ "allowNo": false,
6579
+ "type": "boolean"
6580
+ }
6581
+ },
6582
+ "hasDynamicHelp": false,
6583
+ "hiddenAliases": [],
6584
+ "id": "setup:skills:create",
6585
+ "pluginAlias": "@copado/agentia-cli",
6586
+ "pluginName": "@copado/agentia-cli",
6587
+ "pluginType": "core",
6588
+ "strict": true,
6589
+ "enableJsonFlag": true,
6590
+ "isESM": true,
6591
+ "relativePath": [
6592
+ "dist",
6593
+ "commands",
6594
+ "setup",
6595
+ "skills",
6596
+ "create.js"
6597
+ ]
6598
+ },
6599
+ "setup:skills:update": {
6600
+ "aliases": [],
6601
+ "args": {},
6602
+ "description": "Update Agentia-managed Markdown skill files and restore missing files in this project",
6603
+ "examples": [
6604
+ "<%= config.bin %> <%= command.id %>",
6605
+ "<%= config.bin %> <%= command.id %> --ai --target cursor --no-prompt",
6606
+ "<%= config.bin %> <%= command.id %> --cicd --testing --target agents --no-prompt",
6607
+ "<%= config.bin %> <%= command.id %> --force --json"
6608
+ ],
6609
+ "flags": {
6610
+ "json": {
6611
+ "description": "Format output as json.",
6612
+ "helpGroup": "GLOBAL",
6613
+ "name": "json",
6614
+ "allowNo": false,
6615
+ "type": "boolean"
6616
+ },
6617
+ "ai": {
6618
+ "description": "Update the Copado AI agent skill pack",
6619
+ "name": "ai",
6620
+ "allowNo": false,
6621
+ "type": "boolean"
6622
+ },
6623
+ "cicd": {
6624
+ "description": "Update the Copado CICD skill pack",
6625
+ "name": "cicd",
6626
+ "allowNo": false,
6627
+ "type": "boolean"
6628
+ },
6629
+ "force": {
6630
+ "description": "Replace conflicting unmanaged Agentia skill files",
6631
+ "name": "force",
6632
+ "allowNo": false,
6633
+ "type": "boolean"
6634
+ },
6635
+ "no-prompt": {
6636
+ "char": "n",
6637
+ "description": "Skip interactive prompts; defaults the target to .agents/skills when --target is omitted",
6638
+ "name": "no-prompt",
6639
+ "allowNo": false,
6640
+ "type": "boolean"
6641
+ },
6642
+ "target": {
6643
+ "description": "Project skill root to write",
6644
+ "name": "target",
6645
+ "hasDynamicHelp": false,
6646
+ "multiple": false,
6647
+ "options": [
6648
+ "agents",
6649
+ "cursor",
6650
+ "claude"
6651
+ ],
6652
+ "type": "option"
6653
+ },
6654
+ "testing": {
6655
+ "description": "Update the Copado Robotic Testing skill pack",
6656
+ "name": "testing",
6657
+ "allowNo": false,
6658
+ "type": "boolean"
6659
+ }
6660
+ },
6661
+ "hasDynamicHelp": false,
6662
+ "hiddenAliases": [],
6663
+ "id": "setup:skills:update",
6664
+ "pluginAlias": "@copado/agentia-cli",
6665
+ "pluginName": "@copado/agentia-cli",
6666
+ "pluginType": "core",
6667
+ "strict": true,
6668
+ "enableJsonFlag": true,
6669
+ "isESM": true,
6670
+ "relativePath": [
6671
+ "dist",
6672
+ "commands",
6673
+ "setup",
6674
+ "skills",
6675
+ "update.js"
6676
+ ]
6677
+ },
6713
6678
  "testing:build:abort": {
6714
6679
  "aliases": [],
6715
6680
  "args": {
@@ -10173,7 +10138,7 @@
10173
10138
  "list.js"
10174
10139
  ]
10175
10140
  },
10176
- "cicd:data:formula:create": {
10141
+ "cicd:data:filter:add": {
10177
10142
  "aliases": [],
10178
10143
  "args": {
10179
10144
  "dataTemplateId": {
@@ -10182,11 +10147,225 @@
10182
10147
  "required": true
10183
10148
  }
10184
10149
  },
10185
- "description": "Create a record matching formula for a data template",
10150
+ "description": "Add an advanced filter to a data template",
10186
10151
  "examples": [
10187
- "<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name,BillingCity",
10188
- "<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name --fields BillingCity --hash-formula --json"
10189
- ],
10152
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --file filter.json",
10153
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --stdin --json"
10154
+ ],
10155
+ "flags": {
10156
+ "json": {
10157
+ "description": "Format output as json.",
10158
+ "helpGroup": "GLOBAL",
10159
+ "name": "json",
10160
+ "allowNo": false,
10161
+ "type": "boolean"
10162
+ },
10163
+ "file": {
10164
+ "char": "f",
10165
+ "description": "Path to a JSON file body",
10166
+ "exclusive": [
10167
+ "stdin"
10168
+ ],
10169
+ "name": "file",
10170
+ "hasDynamicHelp": false,
10171
+ "multiple": false,
10172
+ "type": "option"
10173
+ },
10174
+ "stdin": {
10175
+ "description": "Read the JSON body from stdin",
10176
+ "exclusive": [
10177
+ "file"
10178
+ ],
10179
+ "name": "stdin",
10180
+ "allowNo": false,
10181
+ "type": "boolean"
10182
+ }
10183
+ },
10184
+ "hasDynamicHelp": false,
10185
+ "hiddenAliases": [],
10186
+ "id": "cicd:data:filter:add",
10187
+ "pluginAlias": "@copado/agentia-cli",
10188
+ "pluginName": "@copado/agentia-cli",
10189
+ "pluginType": "core",
10190
+ "strict": true,
10191
+ "enableJsonFlag": true,
10192
+ "isESM": true,
10193
+ "relativePath": [
10194
+ "dist",
10195
+ "commands",
10196
+ "cicd",
10197
+ "data",
10198
+ "filter",
10199
+ "add.js"
10200
+ ]
10201
+ },
10202
+ "cicd:data:filter:delete": {
10203
+ "aliases": [],
10204
+ "args": {
10205
+ "dataTemplateId": {
10206
+ "description": "Data template Id",
10207
+ "name": "dataTemplateId",
10208
+ "required": true
10209
+ },
10210
+ "uuid": {
10211
+ "description": "Advanced filter UUID",
10212
+ "name": "uuid",
10213
+ "required": true
10214
+ }
10215
+ },
10216
+ "description": "Delete an advanced filter from a data template",
10217
+ "examples": [
10218
+ "<%= config.bin %> <%= command.id %> a0X000000000001 550e8400-e29b-41d4-a716-446655440000",
10219
+ "<%= config.bin %> <%= command.id %> a0X000000000001 550e8400-e29b-41d4-a716-446655440000 --json"
10220
+ ],
10221
+ "flags": {
10222
+ "json": {
10223
+ "description": "Format output as json.",
10224
+ "helpGroup": "GLOBAL",
10225
+ "name": "json",
10226
+ "allowNo": false,
10227
+ "type": "boolean"
10228
+ }
10229
+ },
10230
+ "hasDynamicHelp": false,
10231
+ "hiddenAliases": [],
10232
+ "id": "cicd:data:filter:delete",
10233
+ "pluginAlias": "@copado/agentia-cli",
10234
+ "pluginName": "@copado/agentia-cli",
10235
+ "pluginType": "core",
10236
+ "strict": true,
10237
+ "enableJsonFlag": true,
10238
+ "isESM": true,
10239
+ "relativePath": [
10240
+ "dist",
10241
+ "commands",
10242
+ "cicd",
10243
+ "data",
10244
+ "filter",
10245
+ "delete.js"
10246
+ ]
10247
+ },
10248
+ "cicd:data:filter:list": {
10249
+ "aliases": [],
10250
+ "args": {
10251
+ "dataTemplateId": {
10252
+ "description": "Data template Id",
10253
+ "name": "dataTemplateId",
10254
+ "required": true
10255
+ }
10256
+ },
10257
+ "description": "List advanced filters for a data template",
10258
+ "examples": [
10259
+ "<%= config.bin %> <%= command.id %> a0X000000000001",
10260
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --json"
10261
+ ],
10262
+ "flags": {
10263
+ "json": {
10264
+ "description": "Format output as json.",
10265
+ "helpGroup": "GLOBAL",
10266
+ "name": "json",
10267
+ "allowNo": false,
10268
+ "type": "boolean"
10269
+ }
10270
+ },
10271
+ "hasDynamicHelp": false,
10272
+ "hiddenAliases": [],
10273
+ "id": "cicd:data:filter:list",
10274
+ "pluginAlias": "@copado/agentia-cli",
10275
+ "pluginName": "@copado/agentia-cli",
10276
+ "pluginType": "core",
10277
+ "strict": true,
10278
+ "enableJsonFlag": true,
10279
+ "isESM": true,
10280
+ "relativePath": [
10281
+ "dist",
10282
+ "commands",
10283
+ "cicd",
10284
+ "data",
10285
+ "filter",
10286
+ "list.js"
10287
+ ]
10288
+ },
10289
+ "cicd:data:filter:update": {
10290
+ "aliases": [],
10291
+ "args": {
10292
+ "dataTemplateId": {
10293
+ "description": "Data template Id",
10294
+ "name": "dataTemplateId",
10295
+ "required": true
10296
+ },
10297
+ "uuid": {
10298
+ "description": "Advanced filter UUID",
10299
+ "name": "uuid",
10300
+ "required": true
10301
+ }
10302
+ },
10303
+ "description": "Update an advanced filter on a data template",
10304
+ "examples": [
10305
+ "<%= config.bin %> <%= command.id %> a0X000000000001 550e8400-e29b-41d4-a716-446655440000 --file filter.json",
10306
+ "<%= config.bin %> <%= command.id %> a0X000000000001 550e8400-e29b-41d4-a716-446655440000 --stdin --json"
10307
+ ],
10308
+ "flags": {
10309
+ "json": {
10310
+ "description": "Format output as json.",
10311
+ "helpGroup": "GLOBAL",
10312
+ "name": "json",
10313
+ "allowNo": false,
10314
+ "type": "boolean"
10315
+ },
10316
+ "file": {
10317
+ "char": "f",
10318
+ "description": "Path to a JSON file body",
10319
+ "exclusive": [
10320
+ "stdin"
10321
+ ],
10322
+ "name": "file",
10323
+ "hasDynamicHelp": false,
10324
+ "multiple": false,
10325
+ "type": "option"
10326
+ },
10327
+ "stdin": {
10328
+ "description": "Read the JSON body from stdin",
10329
+ "exclusive": [
10330
+ "file"
10331
+ ],
10332
+ "name": "stdin",
10333
+ "allowNo": false,
10334
+ "type": "boolean"
10335
+ }
10336
+ },
10337
+ "hasDynamicHelp": false,
10338
+ "hiddenAliases": [],
10339
+ "id": "cicd:data:filter:update",
10340
+ "pluginAlias": "@copado/agentia-cli",
10341
+ "pluginName": "@copado/agentia-cli",
10342
+ "pluginType": "core",
10343
+ "strict": true,
10344
+ "enableJsonFlag": true,
10345
+ "isESM": true,
10346
+ "relativePath": [
10347
+ "dist",
10348
+ "commands",
10349
+ "cicd",
10350
+ "data",
10351
+ "filter",
10352
+ "update.js"
10353
+ ]
10354
+ },
10355
+ "cicd:data:formula:create": {
10356
+ "aliases": [],
10357
+ "args": {
10358
+ "dataTemplateId": {
10359
+ "description": "Data template Id",
10360
+ "name": "dataTemplateId",
10361
+ "required": true
10362
+ }
10363
+ },
10364
+ "description": "Create a record matching formula for a data template",
10365
+ "examples": [
10366
+ "<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name,BillingCity",
10367
+ "<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name --fields BillingCity --hash-formula --json"
10368
+ ],
10190
10369
  "flags": {
10191
10370
  "json": {
10192
10371
  "description": "Format output as json.",
@@ -10374,19 +10553,13 @@
10374
10553
  "update.js"
10375
10554
  ]
10376
10555
  },
10377
- "cicd:data:filter:add": {
10556
+ "cicd:data:records:match": {
10378
10557
  "aliases": [],
10379
- "args": {
10380
- "dataTemplateId": {
10381
- "description": "Data template Id",
10382
- "name": "dataTemplateId",
10383
- "required": true
10384
- }
10385
- },
10386
- "description": "Add an advanced filter to a data template",
10558
+ "args": {},
10559
+ "description": "Match a source data record to a destination org",
10387
10560
  "examples": [
10388
- "<%= config.bin %> <%= command.id %> a0X000000000001 --file filter.json",
10389
- "<%= config.bin %> <%= command.id %> a0X000000000001 --stdin --json"
10561
+ "<%= config.bin %> <%= command.id %> --file match.json",
10562
+ "<%= config.bin %> <%= command.id %> --stdin --json"
10390
10563
  ],
10391
10564
  "flags": {
10392
10565
  "json": {
@@ -10419,7 +10592,7 @@
10419
10592
  },
10420
10593
  "hasDynamicHelp": false,
10421
10594
  "hiddenAliases": [],
10422
- "id": "cicd:data:filter:add",
10595
+ "id": "cicd:data:records:match",
10423
10596
  "pluginAlias": "@copado/agentia-cli",
10424
10597
  "pluginName": "@copado/agentia-cli",
10425
10598
  "pluginType": "core",
@@ -10431,222 +10604,14 @@
10431
10604
  "commands",
10432
10605
  "cicd",
10433
10606
  "data",
10434
- "filter",
10435
- "add.js"
10607
+ "records",
10608
+ "match.js"
10436
10609
  ]
10437
10610
  },
10438
- "cicd:data:filter:delete": {
10611
+ "cicd:data:records:search": {
10439
10612
  "aliases": [],
10440
- "args": {
10441
- "dataTemplateId": {
10442
- "description": "Data template Id",
10443
- "name": "dataTemplateId",
10444
- "required": true
10445
- },
10446
- "uuid": {
10447
- "description": "Advanced filter UUID",
10448
- "name": "uuid",
10449
- "required": true
10450
- }
10451
- },
10452
- "description": "Delete an advanced filter from a data template",
10453
- "examples": [
10454
- "<%= config.bin %> <%= command.id %> a0X000000000001 550e8400-e29b-41d4-a716-446655440000",
10455
- "<%= config.bin %> <%= command.id %> a0X000000000001 550e8400-e29b-41d4-a716-446655440000 --json"
10456
- ],
10457
- "flags": {
10458
- "json": {
10459
- "description": "Format output as json.",
10460
- "helpGroup": "GLOBAL",
10461
- "name": "json",
10462
- "allowNo": false,
10463
- "type": "boolean"
10464
- }
10465
- },
10466
- "hasDynamicHelp": false,
10467
- "hiddenAliases": [],
10468
- "id": "cicd:data:filter:delete",
10469
- "pluginAlias": "@copado/agentia-cli",
10470
- "pluginName": "@copado/agentia-cli",
10471
- "pluginType": "core",
10472
- "strict": true,
10473
- "enableJsonFlag": true,
10474
- "isESM": true,
10475
- "relativePath": [
10476
- "dist",
10477
- "commands",
10478
- "cicd",
10479
- "data",
10480
- "filter",
10481
- "delete.js"
10482
- ]
10483
- },
10484
- "cicd:data:filter:list": {
10485
- "aliases": [],
10486
- "args": {
10487
- "dataTemplateId": {
10488
- "description": "Data template Id",
10489
- "name": "dataTemplateId",
10490
- "required": true
10491
- }
10492
- },
10493
- "description": "List advanced filters for a data template",
10494
- "examples": [
10495
- "<%= config.bin %> <%= command.id %> a0X000000000001",
10496
- "<%= config.bin %> <%= command.id %> a0X000000000001 --json"
10497
- ],
10498
- "flags": {
10499
- "json": {
10500
- "description": "Format output as json.",
10501
- "helpGroup": "GLOBAL",
10502
- "name": "json",
10503
- "allowNo": false,
10504
- "type": "boolean"
10505
- }
10506
- },
10507
- "hasDynamicHelp": false,
10508
- "hiddenAliases": [],
10509
- "id": "cicd:data:filter:list",
10510
- "pluginAlias": "@copado/agentia-cli",
10511
- "pluginName": "@copado/agentia-cli",
10512
- "pluginType": "core",
10513
- "strict": true,
10514
- "enableJsonFlag": true,
10515
- "isESM": true,
10516
- "relativePath": [
10517
- "dist",
10518
- "commands",
10519
- "cicd",
10520
- "data",
10521
- "filter",
10522
- "list.js"
10523
- ]
10524
- },
10525
- "cicd:data:filter:update": {
10526
- "aliases": [],
10527
- "args": {
10528
- "dataTemplateId": {
10529
- "description": "Data template Id",
10530
- "name": "dataTemplateId",
10531
- "required": true
10532
- },
10533
- "uuid": {
10534
- "description": "Advanced filter UUID",
10535
- "name": "uuid",
10536
- "required": true
10537
- }
10538
- },
10539
- "description": "Update an advanced filter on a data template",
10540
- "examples": [
10541
- "<%= config.bin %> <%= command.id %> a0X000000000001 550e8400-e29b-41d4-a716-446655440000 --file filter.json",
10542
- "<%= config.bin %> <%= command.id %> a0X000000000001 550e8400-e29b-41d4-a716-446655440000 --stdin --json"
10543
- ],
10544
- "flags": {
10545
- "json": {
10546
- "description": "Format output as json.",
10547
- "helpGroup": "GLOBAL",
10548
- "name": "json",
10549
- "allowNo": false,
10550
- "type": "boolean"
10551
- },
10552
- "file": {
10553
- "char": "f",
10554
- "description": "Path to a JSON file body",
10555
- "exclusive": [
10556
- "stdin"
10557
- ],
10558
- "name": "file",
10559
- "hasDynamicHelp": false,
10560
- "multiple": false,
10561
- "type": "option"
10562
- },
10563
- "stdin": {
10564
- "description": "Read the JSON body from stdin",
10565
- "exclusive": [
10566
- "file"
10567
- ],
10568
- "name": "stdin",
10569
- "allowNo": false,
10570
- "type": "boolean"
10571
- }
10572
- },
10573
- "hasDynamicHelp": false,
10574
- "hiddenAliases": [],
10575
- "id": "cicd:data:filter:update",
10576
- "pluginAlias": "@copado/agentia-cli",
10577
- "pluginName": "@copado/agentia-cli",
10578
- "pluginType": "core",
10579
- "strict": true,
10580
- "enableJsonFlag": true,
10581
- "isESM": true,
10582
- "relativePath": [
10583
- "dist",
10584
- "commands",
10585
- "cicd",
10586
- "data",
10587
- "filter",
10588
- "update.js"
10589
- ]
10590
- },
10591
- "cicd:data:records:match": {
10592
- "aliases": [],
10593
- "args": {},
10594
- "description": "Match a source data record to a destination org",
10595
- "examples": [
10596
- "<%= config.bin %> <%= command.id %> --file match.json",
10597
- "<%= config.bin %> <%= command.id %> --stdin --json"
10598
- ],
10599
- "flags": {
10600
- "json": {
10601
- "description": "Format output as json.",
10602
- "helpGroup": "GLOBAL",
10603
- "name": "json",
10604
- "allowNo": false,
10605
- "type": "boolean"
10606
- },
10607
- "file": {
10608
- "char": "f",
10609
- "description": "Path to a JSON file body",
10610
- "exclusive": [
10611
- "stdin"
10612
- ],
10613
- "name": "file",
10614
- "hasDynamicHelp": false,
10615
- "multiple": false,
10616
- "type": "option"
10617
- },
10618
- "stdin": {
10619
- "description": "Read the JSON body from stdin",
10620
- "exclusive": [
10621
- "file"
10622
- ],
10623
- "name": "stdin",
10624
- "allowNo": false,
10625
- "type": "boolean"
10626
- }
10627
- },
10628
- "hasDynamicHelp": false,
10629
- "hiddenAliases": [],
10630
- "id": "cicd:data:records:match",
10631
- "pluginAlias": "@copado/agentia-cli",
10632
- "pluginName": "@copado/agentia-cli",
10633
- "pluginType": "core",
10634
- "strict": true,
10635
- "enableJsonFlag": true,
10636
- "isESM": true,
10637
- "relativePath": [
10638
- "dist",
10639
- "commands",
10640
- "cicd",
10641
- "data",
10642
- "records",
10643
- "match.js"
10644
- ]
10645
- },
10646
- "cicd:data:records:search": {
10647
- "aliases": [],
10648
- "args": {},
10649
- "description": "Search data records for a data template",
10613
+ "args": {},
10614
+ "description": "Search data records for a data template",
10650
10615
  "examples": [
10651
10616
  "<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X...",
10652
10617
  "<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X... --file request.json",
@@ -12175,343 +12140,63 @@
12175
12140
  "dist",
12176
12141
  "commands",
12177
12142
  "cicd",
12178
- "metadata",
12179
- "refresh",
12180
- "run.js"
12181
- ]
12182
- },
12183
- "cicd:metadata:refresh:status": {
12184
- "aliases": [],
12185
- "args": {},
12186
- "description": "Get metadata index refresh status via the CICD gateway",
12187
- "examples": [
12188
- "<%= config.bin %> <%= command.id %> --job-id <event-id>",
12189
- "<%= config.bin %> <%= command.id %> --job-id <event-id> --json"
12190
- ],
12191
- "flags": {
12192
- "json": {
12193
- "description": "Format output as json.",
12194
- "helpGroup": "GLOBAL",
12195
- "name": "json",
12196
- "allowNo": false,
12197
- "type": "boolean"
12198
- },
12199
- "job-id": {
12200
- "description": "Metadata refresh event Id",
12201
- "name": "job-id",
12202
- "hasDynamicHelp": false,
12203
- "multiple": false,
12204
- "type": "option"
12205
- },
12206
- "module-type": {
12207
- "description": "Optional addon module type used by the trigger request",
12208
- "name": "module-type",
12209
- "hasDynamicHelp": false,
12210
- "multiple": false,
12211
- "options": [
12212
- "vlocity",
12213
- "data_cloud"
12214
- ],
12215
- "type": "option"
12216
- },
12217
- "platform-experience": {
12218
- "description": "Gateway platform experience header used by the trigger request",
12219
- "name": "platform-experience",
12220
- "default": "salesforce",
12221
- "hasDynamicHelp": false,
12222
- "multiple": false,
12223
- "options": [
12224
- "salesforce",
12225
- "sfdx",
12226
- "metacache",
12227
- "db"
12228
- ],
12229
- "type": "option"
12230
- }
12231
- },
12232
- "hasDynamicHelp": false,
12233
- "hiddenAliases": [],
12234
- "id": "cicd:metadata:refresh:status",
12235
- "pluginAlias": "@copado/agentia-cli",
12236
- "pluginName": "@copado/agentia-cli",
12237
- "pluginType": "core",
12238
- "strict": true,
12239
- "enableJsonFlag": true,
12240
- "isESM": true,
12241
- "relativePath": [
12242
- "dist",
12243
- "commands",
12244
- "cicd",
12245
- "metadata",
12246
- "refresh",
12247
- "status.js"
12248
- ]
12249
- },
12250
- "cicd:project:default:get": {
12251
- "aliases": [],
12252
- "args": {},
12253
- "description": "Show project default values for the current project or globally",
12254
- "examples": [
12255
- "<%= config.bin %> <%= command.id %>",
12256
- "<%= config.bin %> <%= command.id %> --project --environment",
12257
- "<%= config.bin %> <%= command.id %> --global",
12258
- "<%= config.bin %> <%= command.id %> --json"
12259
- ],
12260
- "flags": {
12261
- "json": {
12262
- "description": "Format output as json.",
12263
- "helpGroup": "GLOBAL",
12264
- "name": "json",
12265
- "allowNo": false,
12266
- "type": "boolean"
12267
- },
12268
- "assign-me": {
12269
- "description": "Select the assign-me default",
12270
- "name": "assign-me",
12271
- "allowNo": false,
12272
- "type": "boolean"
12273
- },
12274
- "credential": {
12275
- "description": "Select the default source credential",
12276
- "name": "credential",
12277
- "allowNo": false,
12278
- "type": "boolean"
12279
- },
12280
- "environment": {
12281
- "description": "Select the default environment",
12282
- "name": "environment",
12283
- "allowNo": false,
12284
- "type": "boolean"
12285
- },
12286
- "epic": {
12287
- "description": "Select the default epic",
12288
- "name": "epic",
12289
- "allowNo": false,
12290
- "type": "boolean"
12291
- },
12292
- "feature": {
12293
- "description": "Select the default feature",
12294
- "name": "feature",
12295
- "allowNo": false,
12296
- "type": "boolean"
12297
- },
12298
- "global": {
12299
- "description": "Use machine-wide defaults instead of project-local defaults",
12300
- "name": "global",
12301
- "allowNo": false,
12302
- "type": "boolean"
12303
- },
12304
- "project": {
12305
- "description": "Select the default project",
12306
- "name": "project",
12307
- "allowNo": false,
12308
- "type": "boolean"
12309
- },
12310
- "sprint": {
12311
- "description": "Select the default sprint",
12312
- "name": "sprint",
12313
- "allowNo": false,
12314
- "type": "boolean"
12315
- },
12316
- "team": {
12317
- "description": "Select the default team",
12318
- "name": "team",
12319
- "allowNo": false,
12320
- "type": "boolean"
12321
- }
12322
- },
12323
- "hasDynamicHelp": false,
12324
- "hiddenAliases": [],
12325
- "id": "cicd:project:default:get",
12326
- "pluginAlias": "@copado/agentia-cli",
12327
- "pluginName": "@copado/agentia-cli",
12328
- "pluginType": "core",
12329
- "strict": true,
12330
- "enableJsonFlag": true,
12331
- "isESM": true,
12332
- "relativePath": [
12333
- "dist",
12334
- "commands",
12335
- "cicd",
12336
- "project",
12337
- "default",
12338
- "get.js"
12339
- ]
12340
- },
12341
- "cicd:project:default:set": {
12342
- "aliases": [],
12343
- "args": {},
12344
- "description": "Set project default values for the current project or globally",
12345
- "examples": [
12346
- "<%= config.bin %> <%= command.id %> --project my-project --team platform",
12347
- "<%= config.bin %> <%= command.id %> --environment dev --assign-me",
12348
- "<%= config.bin %> <%= command.id %> --project my-project --global",
12349
- "<%= config.bin %> <%= command.id %> --project my-project --json"
12350
- ],
12351
- "flags": {
12352
- "json": {
12353
- "description": "Format output as json.",
12354
- "helpGroup": "GLOBAL",
12355
- "name": "json",
12356
- "allowNo": false,
12357
- "type": "boolean"
12358
- },
12359
- "credential": {
12360
- "description": "Default source credential",
12361
- "name": "credential",
12362
- "hasDynamicHelp": false,
12363
- "multiple": false,
12364
- "type": "option"
12365
- },
12366
- "environment": {
12367
- "description": "Default environment",
12368
- "name": "environment",
12369
- "hasDynamicHelp": false,
12370
- "multiple": false,
12371
- "type": "option"
12372
- },
12373
- "epic": {
12374
- "description": "Default epic",
12375
- "name": "epic",
12376
- "hasDynamicHelp": false,
12377
- "multiple": false,
12378
- "type": "option"
12379
- },
12380
- "feature": {
12381
- "description": "Default feature",
12382
- "name": "feature",
12383
- "hasDynamicHelp": false,
12384
- "multiple": false,
12385
- "type": "option"
12386
- },
12387
- "project": {
12388
- "description": "Default project",
12389
- "name": "project",
12390
- "hasDynamicHelp": false,
12391
- "multiple": false,
12392
- "type": "option"
12393
- },
12394
- "sprint": {
12395
- "description": "Default sprint",
12396
- "name": "sprint",
12397
- "hasDynamicHelp": false,
12398
- "multiple": false,
12399
- "type": "option"
12400
- },
12401
- "team": {
12402
- "description": "Default team",
12403
- "name": "team",
12404
- "hasDynamicHelp": false,
12405
- "multiple": false,
12406
- "type": "option"
12407
- },
12408
- "assign-me": {
12409
- "description": "Assign work items to the current user by default",
12410
- "name": "assign-me",
12411
- "allowNo": false,
12412
- "type": "boolean"
12413
- },
12414
- "global": {
12415
- "description": "Use machine-wide defaults instead of project-local defaults",
12416
- "name": "global",
12417
- "allowNo": false,
12418
- "type": "boolean"
12419
- }
12420
- },
12421
- "hasDynamicHelp": false,
12422
- "hiddenAliases": [],
12423
- "id": "cicd:project:default:set",
12424
- "pluginAlias": "@copado/agentia-cli",
12425
- "pluginName": "@copado/agentia-cli",
12426
- "pluginType": "core",
12427
- "strict": true,
12428
- "enableJsonFlag": true,
12429
- "isESM": true,
12430
- "relativePath": [
12431
- "dist",
12432
- "commands",
12433
- "cicd",
12434
- "project",
12435
- "default",
12436
- "set.js"
12437
- ]
12438
- },
12439
- "cicd:project:default:unset": {
12440
- "aliases": [],
12441
- "args": {},
12442
- "description": "Remove project default values from the current project or globally",
12443
- "examples": [
12444
- "<%= config.bin %> <%= command.id %> --project",
12445
- "<%= config.bin %> <%= command.id %> --environment --team",
12446
- "<%= config.bin %> <%= command.id %> --assign-me --global",
12447
- "<%= config.bin %> <%= command.id %> --project --json"
12448
- ],
12449
- "flags": {
12450
- "json": {
12451
- "description": "Format output as json.",
12452
- "helpGroup": "GLOBAL",
12453
- "name": "json",
12454
- "allowNo": false,
12455
- "type": "boolean"
12456
- },
12457
- "assign-me": {
12458
- "description": "Select the assign-me default",
12459
- "name": "assign-me",
12460
- "allowNo": false,
12461
- "type": "boolean"
12462
- },
12463
- "credential": {
12464
- "description": "Select the default source credential",
12465
- "name": "credential",
12466
- "allowNo": false,
12467
- "type": "boolean"
12468
- },
12469
- "environment": {
12470
- "description": "Select the default environment",
12471
- "name": "environment",
12472
- "allowNo": false,
12473
- "type": "boolean"
12474
- },
12475
- "epic": {
12476
- "description": "Select the default epic",
12477
- "name": "epic",
12478
- "allowNo": false,
12479
- "type": "boolean"
12480
- },
12481
- "feature": {
12482
- "description": "Select the default feature",
12483
- "name": "feature",
12484
- "allowNo": false,
12485
- "type": "boolean"
12486
- },
12487
- "global": {
12488
- "description": "Use machine-wide defaults instead of project-local defaults",
12489
- "name": "global",
12143
+ "metadata",
12144
+ "refresh",
12145
+ "run.js"
12146
+ ]
12147
+ },
12148
+ "cicd:metadata:refresh:status": {
12149
+ "aliases": [],
12150
+ "args": {},
12151
+ "description": "Get metadata index refresh status via the CICD gateway",
12152
+ "examples": [
12153
+ "<%= config.bin %> <%= command.id %> --job-id <event-id>",
12154
+ "<%= config.bin %> <%= command.id %> --job-id <event-id> --json"
12155
+ ],
12156
+ "flags": {
12157
+ "json": {
12158
+ "description": "Format output as json.",
12159
+ "helpGroup": "GLOBAL",
12160
+ "name": "json",
12490
12161
  "allowNo": false,
12491
12162
  "type": "boolean"
12492
12163
  },
12493
- "project": {
12494
- "description": "Select the default project",
12495
- "name": "project",
12496
- "allowNo": false,
12497
- "type": "boolean"
12164
+ "job-id": {
12165
+ "description": "Metadata refresh event Id",
12166
+ "name": "job-id",
12167
+ "hasDynamicHelp": false,
12168
+ "multiple": false,
12169
+ "type": "option"
12498
12170
  },
12499
- "sprint": {
12500
- "description": "Select the default sprint",
12501
- "name": "sprint",
12502
- "allowNo": false,
12503
- "type": "boolean"
12171
+ "module-type": {
12172
+ "description": "Optional addon module type used by the trigger request",
12173
+ "name": "module-type",
12174
+ "hasDynamicHelp": false,
12175
+ "multiple": false,
12176
+ "options": [
12177
+ "vlocity",
12178
+ "data_cloud"
12179
+ ],
12180
+ "type": "option"
12504
12181
  },
12505
- "team": {
12506
- "description": "Select the default team",
12507
- "name": "team",
12508
- "allowNo": false,
12509
- "type": "boolean"
12182
+ "platform-experience": {
12183
+ "description": "Gateway platform experience header used by the trigger request",
12184
+ "name": "platform-experience",
12185
+ "default": "salesforce",
12186
+ "hasDynamicHelp": false,
12187
+ "multiple": false,
12188
+ "options": [
12189
+ "salesforce",
12190
+ "sfdx",
12191
+ "metacache",
12192
+ "db"
12193
+ ],
12194
+ "type": "option"
12510
12195
  }
12511
12196
  },
12512
12197
  "hasDynamicHelp": false,
12513
12198
  "hiddenAliases": [],
12514
- "id": "cicd:project:default:unset",
12199
+ "id": "cicd:metadata:refresh:status",
12515
12200
  "pluginAlias": "@copado/agentia-cli",
12516
12201
  "pluginName": "@copado/agentia-cli",
12517
12202
  "pluginType": "core",
@@ -12522,9 +12207,9 @@
12522
12207
  "dist",
12523
12208
  "commands",
12524
12209
  "cicd",
12525
- "project",
12526
- "default",
12527
- "unset.js"
12210
+ "metadata",
12211
+ "refresh",
12212
+ "status.js"
12528
12213
  ]
12529
12214
  },
12530
12215
  "cicd:pipeline:connection:create": {
@@ -13042,18 +12727,212 @@
13042
12727
  "allowNo": false,
13043
12728
  "type": "boolean"
13044
12729
  },
13045
- "pipeline-id": {
13046
- "description": "Pipeline ID whose stage connections should be listed",
13047
- "name": "pipeline-id",
13048
- "required": true,
13049
- "hasDynamicHelp": false,
13050
- "multiple": false,
13051
- "type": "option"
12730
+ "pipeline-id": {
12731
+ "description": "Pipeline ID whose stage connections should be listed",
12732
+ "name": "pipeline-id",
12733
+ "required": true,
12734
+ "hasDynamicHelp": false,
12735
+ "multiple": false,
12736
+ "type": "option"
12737
+ }
12738
+ },
12739
+ "hasDynamicHelp": false,
12740
+ "hiddenAliases": [],
12741
+ "id": "cicd:pipeline:stage-connection:list",
12742
+ "pluginAlias": "@copado/agentia-cli",
12743
+ "pluginName": "@copado/agentia-cli",
12744
+ "pluginType": "core",
12745
+ "strict": true,
12746
+ "enableJsonFlag": true,
12747
+ "isESM": true,
12748
+ "relativePath": [
12749
+ "dist",
12750
+ "commands",
12751
+ "cicd",
12752
+ "pipeline",
12753
+ "stage-connection",
12754
+ "list.js"
12755
+ ]
12756
+ },
12757
+ "cicd:pipeline:stage-connection:open": {
12758
+ "aliases": [],
12759
+ "args": {
12760
+ "id": {
12761
+ "description": "Pipeline stage connection ID",
12762
+ "name": "id",
12763
+ "required": true
12764
+ }
12765
+ },
12766
+ "description": "Open a pipeline stage connection in the browser",
12767
+ "examples": [
12768
+ "<%= config.bin %> <%= command.id %> connection-1",
12769
+ "<%= config.bin %> <%= command.id %> connection-1 --json"
12770
+ ],
12771
+ "flags": {
12772
+ "json": {
12773
+ "description": "Format output as json.",
12774
+ "helpGroup": "GLOBAL",
12775
+ "name": "json",
12776
+ "allowNo": false,
12777
+ "type": "boolean"
12778
+ }
12779
+ },
12780
+ "hasDynamicHelp": false,
12781
+ "hiddenAliases": [],
12782
+ "id": "cicd:pipeline:stage-connection:open",
12783
+ "pluginAlias": "@copado/agentia-cli",
12784
+ "pluginName": "@copado/agentia-cli",
12785
+ "pluginType": "core",
12786
+ "strict": true,
12787
+ "enableJsonFlag": true,
12788
+ "isESM": true,
12789
+ "relativePath": [
12790
+ "dist",
12791
+ "commands",
12792
+ "cicd",
12793
+ "pipeline",
12794
+ "stage-connection",
12795
+ "open.js"
12796
+ ]
12797
+ },
12798
+ "cicd:pipeline:stage-connection:update": {
12799
+ "aliases": [],
12800
+ "args": {
12801
+ "id": {
12802
+ "description": "Pipeline stage connection ID",
12803
+ "name": "id",
12804
+ "required": true
12805
+ }
12806
+ },
12807
+ "description": "Update a pipeline stage connection",
12808
+ "examples": [
12809
+ "<%= config.bin %> <%= command.id %> connection-1 --pipeline-id pipeline-1 --next-pipeline-stage-connection-id connection-2"
12810
+ ],
12811
+ "flags": {
12812
+ "json": {
12813
+ "description": "Format output as json.",
12814
+ "helpGroup": "GLOBAL",
12815
+ "name": "json",
12816
+ "allowNo": false,
12817
+ "type": "boolean"
12818
+ },
12819
+ "next-pipeline-stage-connection-id": {
12820
+ "description": "Next pipeline stage connection ID",
12821
+ "name": "next-pipeline-stage-connection-id",
12822
+ "hasDynamicHelp": false,
12823
+ "multiple": false,
12824
+ "type": "option"
12825
+ },
12826
+ "stage-id": {
12827
+ "description": "Stage ID",
12828
+ "name": "stage-id",
12829
+ "hasDynamicHelp": false,
12830
+ "multiple": false,
12831
+ "type": "option"
12832
+ },
12833
+ "pipeline-id": {
12834
+ "description": "Pipeline ID",
12835
+ "name": "pipeline-id",
12836
+ "required": true,
12837
+ "hasDynamicHelp": false,
12838
+ "multiple": false,
12839
+ "type": "option"
12840
+ }
12841
+ },
12842
+ "hasDynamicHelp": false,
12843
+ "hiddenAliases": [],
12844
+ "id": "cicd:pipeline:stage-connection:update",
12845
+ "pluginAlias": "@copado/agentia-cli",
12846
+ "pluginName": "@copado/agentia-cli",
12847
+ "pluginType": "core",
12848
+ "strict": true,
12849
+ "enableJsonFlag": true,
12850
+ "isESM": true,
12851
+ "relativePath": [
12852
+ "dist",
12853
+ "commands",
12854
+ "cicd",
12855
+ "pipeline",
12856
+ "stage-connection",
12857
+ "update.js"
12858
+ ]
12859
+ },
12860
+ "cicd:project:default:get": {
12861
+ "aliases": [],
12862
+ "args": {},
12863
+ "description": "Show project default values for the current project or globally",
12864
+ "examples": [
12865
+ "<%= config.bin %> <%= command.id %>",
12866
+ "<%= config.bin %> <%= command.id %> --project --environment",
12867
+ "<%= config.bin %> <%= command.id %> --global",
12868
+ "<%= config.bin %> <%= command.id %> --json"
12869
+ ],
12870
+ "flags": {
12871
+ "json": {
12872
+ "description": "Format output as json.",
12873
+ "helpGroup": "GLOBAL",
12874
+ "name": "json",
12875
+ "allowNo": false,
12876
+ "type": "boolean"
12877
+ },
12878
+ "assign-me": {
12879
+ "description": "Select the assign-me default",
12880
+ "name": "assign-me",
12881
+ "allowNo": false,
12882
+ "type": "boolean"
12883
+ },
12884
+ "credential": {
12885
+ "description": "Select the default source credential",
12886
+ "name": "credential",
12887
+ "allowNo": false,
12888
+ "type": "boolean"
12889
+ },
12890
+ "environment": {
12891
+ "description": "Select the default environment",
12892
+ "name": "environment",
12893
+ "allowNo": false,
12894
+ "type": "boolean"
12895
+ },
12896
+ "epic": {
12897
+ "description": "Select the default epic",
12898
+ "name": "epic",
12899
+ "allowNo": false,
12900
+ "type": "boolean"
12901
+ },
12902
+ "feature": {
12903
+ "description": "Select the default feature",
12904
+ "name": "feature",
12905
+ "allowNo": false,
12906
+ "type": "boolean"
12907
+ },
12908
+ "global": {
12909
+ "description": "Use machine-wide defaults instead of project-local defaults",
12910
+ "name": "global",
12911
+ "allowNo": false,
12912
+ "type": "boolean"
12913
+ },
12914
+ "project": {
12915
+ "description": "Select the default project",
12916
+ "name": "project",
12917
+ "allowNo": false,
12918
+ "type": "boolean"
12919
+ },
12920
+ "sprint": {
12921
+ "description": "Select the default sprint",
12922
+ "name": "sprint",
12923
+ "allowNo": false,
12924
+ "type": "boolean"
12925
+ },
12926
+ "team": {
12927
+ "description": "Select the default team",
12928
+ "name": "team",
12929
+ "allowNo": false,
12930
+ "type": "boolean"
13052
12931
  }
13053
12932
  },
13054
12933
  "hasDynamicHelp": false,
13055
12934
  "hiddenAliases": [],
13056
- "id": "cicd:pipeline:stage-connection:list",
12935
+ "id": "cicd:project:default:get",
13057
12936
  "pluginAlias": "@copado/agentia-cli",
13058
12937
  "pluginName": "@copado/agentia-cli",
13059
12938
  "pluginType": "core",
@@ -13064,24 +12943,20 @@
13064
12943
  "dist",
13065
12944
  "commands",
13066
12945
  "cicd",
13067
- "pipeline",
13068
- "stage-connection",
13069
- "list.js"
12946
+ "project",
12947
+ "default",
12948
+ "get.js"
13070
12949
  ]
13071
12950
  },
13072
- "cicd:pipeline:stage-connection:open": {
12951
+ "cicd:project:default:set": {
13073
12952
  "aliases": [],
13074
- "args": {
13075
- "id": {
13076
- "description": "Pipeline stage connection ID",
13077
- "name": "id",
13078
- "required": true
13079
- }
13080
- },
13081
- "description": "Open a pipeline stage connection in the browser",
12953
+ "args": {},
12954
+ "description": "Set project default values for the current project or globally",
13082
12955
  "examples": [
13083
- "<%= config.bin %> <%= command.id %> connection-1",
13084
- "<%= config.bin %> <%= command.id %> connection-1 --json"
12956
+ "<%= config.bin %> <%= command.id %> --project my-project --team platform",
12957
+ "<%= config.bin %> <%= command.id %> --environment dev --assign-me",
12958
+ "<%= config.bin %> <%= command.id %> --project my-project --global",
12959
+ "<%= config.bin %> <%= command.id %> --project my-project --json"
13085
12960
  ],
13086
12961
  "flags": {
13087
12962
  "json": {
@@ -13090,11 +12965,72 @@
13090
12965
  "name": "json",
13091
12966
  "allowNo": false,
13092
12967
  "type": "boolean"
12968
+ },
12969
+ "credential": {
12970
+ "description": "Default source credential",
12971
+ "name": "credential",
12972
+ "hasDynamicHelp": false,
12973
+ "multiple": false,
12974
+ "type": "option"
12975
+ },
12976
+ "environment": {
12977
+ "description": "Default environment",
12978
+ "name": "environment",
12979
+ "hasDynamicHelp": false,
12980
+ "multiple": false,
12981
+ "type": "option"
12982
+ },
12983
+ "epic": {
12984
+ "description": "Default epic",
12985
+ "name": "epic",
12986
+ "hasDynamicHelp": false,
12987
+ "multiple": false,
12988
+ "type": "option"
12989
+ },
12990
+ "feature": {
12991
+ "description": "Default feature",
12992
+ "name": "feature",
12993
+ "hasDynamicHelp": false,
12994
+ "multiple": false,
12995
+ "type": "option"
12996
+ },
12997
+ "project": {
12998
+ "description": "Default project",
12999
+ "name": "project",
13000
+ "hasDynamicHelp": false,
13001
+ "multiple": false,
13002
+ "type": "option"
13003
+ },
13004
+ "sprint": {
13005
+ "description": "Default sprint",
13006
+ "name": "sprint",
13007
+ "hasDynamicHelp": false,
13008
+ "multiple": false,
13009
+ "type": "option"
13010
+ },
13011
+ "team": {
13012
+ "description": "Default team",
13013
+ "name": "team",
13014
+ "hasDynamicHelp": false,
13015
+ "multiple": false,
13016
+ "type": "option"
13017
+ },
13018
+ "assign-me": {
13019
+ "description": "Assign work items to the current user by default",
13020
+ "name": "assign-me",
13021
+ "allowNo": false,
13022
+ "type": "boolean"
13023
+ },
13024
+ "global": {
13025
+ "description": "Use machine-wide defaults instead of project-local defaults",
13026
+ "name": "global",
13027
+ "allowNo": false,
13028
+ "type": "boolean"
13093
13029
  }
13094
13030
  },
13095
13031
  "hasDynamicHelp": false,
13096
13032
  "hiddenAliases": [],
13097
- "id": "cicd:pipeline:stage-connection:open",
13033
+ "id": "cicd:project:default:set",
13098
13034
  "pluginAlias": "@copado/agentia-cli",
13099
13035
  "pluginName": "@copado/agentia-cli",
13100
13036
  "pluginType": "core",
@@ -13105,23 +13041,20 @@
13105
13041
  "dist",
13106
13042
  "commands",
13107
13043
  "cicd",
13108
- "pipeline",
13109
- "stage-connection",
13110
- "open.js"
13044
+ "project",
13045
+ "default",
13046
+ "set.js"
13111
13047
  ]
13112
13048
  },
13113
- "cicd:pipeline:stage-connection:update": {
13049
+ "cicd:project:default:unset": {
13114
13050
  "aliases": [],
13115
- "args": {
13116
- "id": {
13117
- "description": "Pipeline stage connection ID",
13118
- "name": "id",
13119
- "required": true
13120
- }
13121
- },
13122
- "description": "Update a pipeline stage connection",
13051
+ "args": {},
13052
+ "description": "Remove project default values from the current project or globally",
13123
13053
  "examples": [
13124
- "<%= config.bin %> <%= command.id %> connection-1 --pipeline-id pipeline-1 --next-pipeline-stage-connection-id connection-2"
13054
+ "<%= config.bin %> <%= command.id %> --project",
13055
+ "<%= config.bin %> <%= command.id %> --environment --team",
13056
+ "<%= config.bin %> <%= command.id %> --assign-me --global",
13057
+ "<%= config.bin %> <%= command.id %> --project --json"
13125
13058
  ],
13126
13059
  "flags": {
13127
13060
  "json": {
@@ -13131,32 +13064,64 @@
13131
13064
  "allowNo": false,
13132
13065
  "type": "boolean"
13133
13066
  },
13134
- "next-pipeline-stage-connection-id": {
13135
- "description": "Next pipeline stage connection ID",
13136
- "name": "next-pipeline-stage-connection-id",
13137
- "hasDynamicHelp": false,
13138
- "multiple": false,
13139
- "type": "option"
13067
+ "assign-me": {
13068
+ "description": "Select the assign-me default",
13069
+ "name": "assign-me",
13070
+ "allowNo": false,
13071
+ "type": "boolean"
13140
13072
  },
13141
- "stage-id": {
13142
- "description": "Stage ID",
13143
- "name": "stage-id",
13144
- "hasDynamicHelp": false,
13145
- "multiple": false,
13146
- "type": "option"
13073
+ "credential": {
13074
+ "description": "Select the default source credential",
13075
+ "name": "credential",
13076
+ "allowNo": false,
13077
+ "type": "boolean"
13147
13078
  },
13148
- "pipeline-id": {
13149
- "description": "Pipeline ID",
13150
- "name": "pipeline-id",
13151
- "required": true,
13152
- "hasDynamicHelp": false,
13153
- "multiple": false,
13154
- "type": "option"
13079
+ "environment": {
13080
+ "description": "Select the default environment",
13081
+ "name": "environment",
13082
+ "allowNo": false,
13083
+ "type": "boolean"
13084
+ },
13085
+ "epic": {
13086
+ "description": "Select the default epic",
13087
+ "name": "epic",
13088
+ "allowNo": false,
13089
+ "type": "boolean"
13090
+ },
13091
+ "feature": {
13092
+ "description": "Select the default feature",
13093
+ "name": "feature",
13094
+ "allowNo": false,
13095
+ "type": "boolean"
13096
+ },
13097
+ "global": {
13098
+ "description": "Use machine-wide defaults instead of project-local defaults",
13099
+ "name": "global",
13100
+ "allowNo": false,
13101
+ "type": "boolean"
13102
+ },
13103
+ "project": {
13104
+ "description": "Select the default project",
13105
+ "name": "project",
13106
+ "allowNo": false,
13107
+ "type": "boolean"
13108
+ },
13109
+ "sprint": {
13110
+ "description": "Select the default sprint",
13111
+ "name": "sprint",
13112
+ "allowNo": false,
13113
+ "type": "boolean"
13114
+ },
13115
+ "team": {
13116
+ "description": "Select the default team",
13117
+ "name": "team",
13118
+ "allowNo": false,
13119
+ "type": "boolean"
13155
13120
  }
13156
13121
  },
13157
13122
  "hasDynamicHelp": false,
13158
13123
  "hiddenAliases": [],
13159
- "id": "cicd:pipeline:stage-connection:update",
13124
+ "id": "cicd:project:default:unset",
13160
13125
  "pluginAlias": "@copado/agentia-cli",
13161
13126
  "pluginName": "@copado/agentia-cli",
13162
13127
  "pluginType": "core",
@@ -13167,9 +13132,9 @@
13167
13132
  "dist",
13168
13133
  "commands",
13169
13134
  "cicd",
13170
- "pipeline",
13171
- "stage-connection",
13172
- "update.js"
13135
+ "project",
13136
+ "default",
13137
+ "unset.js"
13173
13138
  ]
13174
13139
  },
13175
13140
  "cicd:promotion:conflict:get": {
@@ -13394,6 +13359,50 @@
13394
13359
  "unresolve.js"
13395
13360
  ]
13396
13361
  },
13362
+ "cicd:user:get": {
13363
+ "aliases": [],
13364
+ "args": {},
13365
+ "description": "Get a Copado user by ID (defaults to the authenticated user)",
13366
+ "examples": [
13367
+ "<%= config.bin %> <%= command.id %>",
13368
+ "<%= config.bin %> <%= command.id %> --id me",
13369
+ "<%= config.bin %> <%= command.id %> --id 005000000000000",
13370
+ "<%= config.bin %> <%= command.id %> --json"
13371
+ ],
13372
+ "flags": {
13373
+ "json": {
13374
+ "description": "Format output as json.",
13375
+ "helpGroup": "GLOBAL",
13376
+ "name": "json",
13377
+ "allowNo": false,
13378
+ "type": "boolean"
13379
+ },
13380
+ "id": {
13381
+ "description": "User ID, or \"me\" for the authenticated user",
13382
+ "name": "id",
13383
+ "default": "me",
13384
+ "hasDynamicHelp": false,
13385
+ "multiple": false,
13386
+ "type": "option"
13387
+ }
13388
+ },
13389
+ "hasDynamicHelp": false,
13390
+ "hiddenAliases": [],
13391
+ "id": "cicd:user:get",
13392
+ "pluginAlias": "@copado/agentia-cli",
13393
+ "pluginName": "@copado/agentia-cli",
13394
+ "pluginType": "core",
13395
+ "strict": true,
13396
+ "enableJsonFlag": true,
13397
+ "isESM": true,
13398
+ "relativePath": [
13399
+ "dist",
13400
+ "commands",
13401
+ "cicd",
13402
+ "user",
13403
+ "get.js"
13404
+ ]
13405
+ },
13397
13406
  "cicd:work:deployment-step:create": {
13398
13407
  "aliases": [],
13399
13408
  "args": {},
@@ -14110,5 +14119,5 @@
14110
14119
  ]
14111
14120
  }
14112
14121
  },
14113
- "version": "0.92.0-alpha.0"
14122
+ "version": "0.93.0-alpha.0"
14114
14123
  }