@copado/agentia-cli 0.120.0-alpha.0 → 0.122.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 (38) hide show
  1. package/CHANGELOG.md +725 -0
  2. package/README.md +242 -240
  3. package/dist/commands/cicd/work/done.js +2 -1
  4. package/dist/commands/cicd/work/done.js.map +1 -1
  5. package/dist/commands/cicd/work/publish.js +2 -1
  6. package/dist/commands/cicd/work/publish.js.map +1 -1
  7. package/dist/commands/cicd/work/push.js +2 -1
  8. package/dist/commands/cicd/work/push.js.map +1 -1
  9. package/dist/commands/cicd/work/set.js +12 -5
  10. package/dist/commands/cicd/work/set.js.map +1 -1
  11. package/dist/commands/cicd/work/submit.js +134 -132
  12. package/dist/commands/cicd/work/submit.js.map +1 -1
  13. package/dist/lib/agentia-command.d.ts +1 -0
  14. package/dist/lib/agentia-command.js +14 -1
  15. package/dist/lib/agentia-command.js.map +1 -1
  16. package/dist/lib/command-output-buffer.d.ts +31 -0
  17. package/dist/lib/command-output-buffer.js +124 -0
  18. package/dist/lib/command-output-buffer.js.map +1 -0
  19. package/dist/lib/git-worktree.d.ts +9 -1
  20. package/dist/lib/git-worktree.js +41 -14
  21. package/dist/lib/git-worktree.js.map +1 -1
  22. package/dist/lib/mcp/tools.d.ts +20 -8
  23. package/dist/lib/mcp/work-tools.d.ts +20 -8
  24. package/dist/lib/mcp/work-tools.js +100 -98
  25. package/dist/lib/mcp/work-tools.js.map +1 -1
  26. package/dist/lib/work-publish-command.js +1 -1
  27. package/dist/lib/work-publish-command.js.map +1 -1
  28. package/dist/lib/work-push.d.ts +2 -0
  29. package/dist/lib/work-push.js +20 -6
  30. package/dist/lib/work-push.js.map +1 -1
  31. package/dist/lib/work-types.d.ts +10 -0
  32. package/dist/lib/work-types.js.map +1 -1
  33. package/dist/lib/yaml-replacement.d.ts +1 -0
  34. package/dist/lib/yaml-replacement.js +1 -0
  35. package/dist/lib/yaml-replacement.js.map +1 -1
  36. package/oclif.manifest.json +638 -638
  37. package/package.json +8 -2
  38. package/templates/skills/agentia-cicd/references/work.md +2 -2
@@ -3636,150 +3636,6 @@
3636
3636
  "configure.js"
3637
3637
  ]
3638
3638
  },
3639
- "cicd:project:get": {
3640
- "aliases": [],
3641
- "args": {
3642
- "id": {
3643
- "description": "Copado project ID",
3644
- "name": "id",
3645
- "required": true
3646
- }
3647
- },
3648
- "description": "Get a Copado project by ID",
3649
- "examples": [
3650
- "<%= config.bin %> <%= command.id %> <project-id>",
3651
- "<%= config.bin %> <%= command.id %> <project-id> --json"
3652
- ],
3653
- "flags": {
3654
- "json": {
3655
- "description": "Format output as json.",
3656
- "helpGroup": "GLOBAL",
3657
- "name": "json",
3658
- "allowNo": false,
3659
- "type": "boolean"
3660
- }
3661
- },
3662
- "hasDynamicHelp": false,
3663
- "hiddenAliases": [],
3664
- "id": "cicd:project:get",
3665
- "pluginAlias": "@copado/agentia-cli",
3666
- "pluginName": "@copado/agentia-cli",
3667
- "pluginType": "core",
3668
- "strict": true,
3669
- "enableJsonFlag": true,
3670
- "isESM": true,
3671
- "relativePath": [
3672
- "dist",
3673
- "commands",
3674
- "cicd",
3675
- "project",
3676
- "get.js"
3677
- ]
3678
- },
3679
- "cicd:project:list": {
3680
- "aliases": [],
3681
- "args": {},
3682
- "description": "List Copado projects",
3683
- "examples": [
3684
- "<%= config.bin %> <%= command.id %>",
3685
- "<%= config.bin %> <%= command.id %> --mine",
3686
- "<%= config.bin %> <%= command.id %> --name Gateway",
3687
- "<%= config.bin %> <%= command.id %> --mine --json"
3688
- ],
3689
- "flags": {
3690
- "json": {
3691
- "description": "Format output as json.",
3692
- "helpGroup": "GLOBAL",
3693
- "name": "json",
3694
- "allowNo": false,
3695
- "type": "boolean"
3696
- },
3697
- "cursor": {
3698
- "description": "Opaque pagination cursor from a previous list response (nextCursor)",
3699
- "name": "cursor",
3700
- "hasDynamicHelp": false,
3701
- "multiple": false,
3702
- "type": "option"
3703
- },
3704
- "page-size": {
3705
- "description": "Number of records per page (1-200)",
3706
- "name": "page-size",
3707
- "hasDynamicHelp": false,
3708
- "multiple": false,
3709
- "type": "option"
3710
- },
3711
- "mine": {
3712
- "description": "List only projects owned by or related to the current user",
3713
- "name": "mine",
3714
- "allowNo": false,
3715
- "type": "boolean"
3716
- },
3717
- "name": {
3718
- "description": "Filter by name (partial match)",
3719
- "name": "name",
3720
- "hasDynamicHelp": false,
3721
- "multiple": false,
3722
- "type": "option"
3723
- }
3724
- },
3725
- "hasDynamicHelp": false,
3726
- "hiddenAliases": [],
3727
- "id": "cicd:project:list",
3728
- "pluginAlias": "@copado/agentia-cli",
3729
- "pluginName": "@copado/agentia-cli",
3730
- "pluginType": "core",
3731
- "strict": true,
3732
- "enableJsonFlag": true,
3733
- "isESM": true,
3734
- "relativePath": [
3735
- "dist",
3736
- "commands",
3737
- "cicd",
3738
- "project",
3739
- "list.js"
3740
- ]
3741
- },
3742
- "cicd:project:open": {
3743
- "aliases": [],
3744
- "args": {
3745
- "id": {
3746
- "description": "Copado project ID (defaults to the configured project default)",
3747
- "name": "id",
3748
- "required": false
3749
- }
3750
- },
3751
- "description": "Open a Copado project in the browser",
3752
- "examples": [
3753
- "<%= config.bin %> <%= command.id %>",
3754
- "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU",
3755
- "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU --json"
3756
- ],
3757
- "flags": {
3758
- "json": {
3759
- "description": "Format output as json.",
3760
- "helpGroup": "GLOBAL",
3761
- "name": "json",
3762
- "allowNo": false,
3763
- "type": "boolean"
3764
- }
3765
- },
3766
- "hasDynamicHelp": false,
3767
- "hiddenAliases": [],
3768
- "id": "cicd:project:open",
3769
- "pluginAlias": "@copado/agentia-cli",
3770
- "pluginName": "@copado/agentia-cli",
3771
- "pluginType": "core",
3772
- "strict": true,
3773
- "enableJsonFlag": true,
3774
- "isESM": true,
3775
- "relativePath": [
3776
- "dist",
3777
- "commands",
3778
- "cicd",
3779
- "project",
3780
- "open.js"
3781
- ]
3782
- },
3783
3639
  "cicd:pipeline:create": {
3784
3640
  "aliases": [],
3785
3641
  "args": {
@@ -4142,19 +3998,19 @@
4142
3998
  "update.js"
4143
3999
  ]
4144
4000
  },
4145
- "cicd:promotion:get": {
4001
+ "cicd:project:get": {
4146
4002
  "aliases": [],
4147
4003
  "args": {
4148
4004
  "id": {
4149
- "description": "Copado promotion ID",
4005
+ "description": "Copado project ID",
4150
4006
  "name": "id",
4151
4007
  "required": true
4152
4008
  }
4153
4009
  },
4154
- "description": "Get a Copado promotion by ID",
4010
+ "description": "Get a Copado project by ID",
4155
4011
  "examples": [
4156
- "<%= config.bin %> <%= command.id %> <promotion-id>",
4157
- "<%= config.bin %> <%= command.id %> <promotion-id> --json"
4012
+ "<%= config.bin %> <%= command.id %> <project-id>",
4013
+ "<%= config.bin %> <%= command.id %> <project-id> --json"
4158
4014
  ],
4159
4015
  "flags": {
4160
4016
  "json": {
@@ -4167,7 +4023,7 @@
4167
4023
  },
4168
4024
  "hasDynamicHelp": false,
4169
4025
  "hiddenAliases": [],
4170
- "id": "cicd:promotion:get",
4026
+ "id": "cicd:project:get",
4171
4027
  "pluginAlias": "@copado/agentia-cli",
4172
4028
  "pluginName": "@copado/agentia-cli",
4173
4029
  "pluginType": "core",
@@ -4178,18 +4034,19 @@
4178
4034
  "dist",
4179
4035
  "commands",
4180
4036
  "cicd",
4181
- "promotion",
4037
+ "project",
4182
4038
  "get.js"
4183
4039
  ]
4184
4040
  },
4185
- "cicd:promotion:list": {
4041
+ "cicd:project:list": {
4186
4042
  "aliases": [],
4187
4043
  "args": {},
4188
- "description": "List Copado promotions",
4044
+ "description": "List Copado projects",
4189
4045
  "examples": [
4190
4046
  "<%= config.bin %> <%= command.id %>",
4191
- "<%= config.bin %> <%= command.id %> --status Completed --project-name \"My Project\" --page-size 50",
4192
- "<%= config.bin %> <%= command.id %> --json"
4047
+ "<%= config.bin %> <%= command.id %> --mine",
4048
+ "<%= config.bin %> <%= command.id %> --name Gateway",
4049
+ "<%= config.bin %> <%= command.id %> --mine --json"
4193
4050
  ],
4194
4051
  "flags": {
4195
4052
  "json": {
@@ -4213,97 +4070,240 @@
4213
4070
  "multiple": false,
4214
4071
  "type": "option"
4215
4072
  },
4216
- "created-by-id": {
4217
- "description": "Filter by creator ID",
4218
- "name": "created-by-id",
4219
- "hasDynamicHelp": false,
4220
- "multiple": false,
4221
- "type": "option"
4222
- },
4223
- "created-by-name": {
4224
- "description": "Filter by creator name",
4225
- "name": "created-by-name",
4226
- "hasDynamicHelp": false,
4227
- "multiple": false,
4228
- "type": "option"
4229
- },
4230
- "destination-environment-id": {
4231
- "description": "Filter by destination environment ID",
4232
- "name": "destination-environment-id",
4233
- "hasDynamicHelp": false,
4234
- "multiple": false,
4235
- "type": "option"
4236
- },
4237
- "destination-environment-name": {
4238
- "description": "Filter by destination environment name",
4239
- "name": "destination-environment-name",
4240
- "hasDynamicHelp": false,
4241
- "multiple": false,
4242
- "type": "option"
4243
- },
4244
- "is-back-promotion": {
4245
- "description": "Filter by back promotion",
4246
- "name": "is-back-promotion",
4247
- "allowNo": true,
4073
+ "mine": {
4074
+ "description": "List only projects owned by or related to the current user",
4075
+ "name": "mine",
4076
+ "allowNo": false,
4248
4077
  "type": "boolean"
4249
4078
  },
4250
4079
  "name": {
4251
- "description": "Filter by name",
4080
+ "description": "Filter by name (partial match)",
4252
4081
  "name": "name",
4253
4082
  "hasDynamicHelp": false,
4254
4083
  "multiple": false,
4255
4084
  "type": "option"
4256
- },
4257
- "pipeline-id": {
4258
- "description": "Filter by pipeline ID",
4259
- "name": "pipeline-id",
4260
- "hasDynamicHelp": false,
4261
- "multiple": false,
4262
- "type": "option"
4263
- },
4264
- "pipeline-name": {
4265
- "description": "Filter by pipeline name",
4266
- "name": "pipeline-name",
4267
- "hasDynamicHelp": false,
4268
- "multiple": false,
4269
- "type": "option"
4270
- },
4271
- "project-id": {
4272
- "description": "Filter by project ID",
4273
- "name": "project-id",
4274
- "hasDynamicHelp": false,
4275
- "multiple": false,
4276
- "type": "option"
4277
- },
4278
- "project-name": {
4279
- "description": "Filter by project name",
4280
- "name": "project-name",
4281
- "hasDynamicHelp": false,
4282
- "multiple": false,
4283
- "type": "option"
4284
- },
4285
- "source-environment-id": {
4286
- "description": "Filter by source environment ID",
4287
- "name": "source-environment-id",
4288
- "hasDynamicHelp": false,
4289
- "multiple": false,
4290
- "type": "option"
4291
- },
4292
- "source-environment-name": {
4293
- "description": "Filter by source environment name",
4294
- "name": "source-environment-name",
4295
- "hasDynamicHelp": false,
4296
- "multiple": false,
4297
- "type": "option"
4298
- },
4299
- "status": {
4300
- "description": "Filter by status",
4301
- "name": "status",
4302
- "hasDynamicHelp": false,
4303
- "multiple": false,
4304
- "type": "option"
4305
- },
4306
- "work-id": {
4085
+ }
4086
+ },
4087
+ "hasDynamicHelp": false,
4088
+ "hiddenAliases": [],
4089
+ "id": "cicd:project:list",
4090
+ "pluginAlias": "@copado/agentia-cli",
4091
+ "pluginName": "@copado/agentia-cli",
4092
+ "pluginType": "core",
4093
+ "strict": true,
4094
+ "enableJsonFlag": true,
4095
+ "isESM": true,
4096
+ "relativePath": [
4097
+ "dist",
4098
+ "commands",
4099
+ "cicd",
4100
+ "project",
4101
+ "list.js"
4102
+ ]
4103
+ },
4104
+ "cicd:project:open": {
4105
+ "aliases": [],
4106
+ "args": {
4107
+ "id": {
4108
+ "description": "Copado project ID (defaults to the configured project default)",
4109
+ "name": "id",
4110
+ "required": false
4111
+ }
4112
+ },
4113
+ "description": "Open a Copado project in the browser",
4114
+ "examples": [
4115
+ "<%= config.bin %> <%= command.id %>",
4116
+ "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU",
4117
+ "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU --json"
4118
+ ],
4119
+ "flags": {
4120
+ "json": {
4121
+ "description": "Format output as json.",
4122
+ "helpGroup": "GLOBAL",
4123
+ "name": "json",
4124
+ "allowNo": false,
4125
+ "type": "boolean"
4126
+ }
4127
+ },
4128
+ "hasDynamicHelp": false,
4129
+ "hiddenAliases": [],
4130
+ "id": "cicd:project:open",
4131
+ "pluginAlias": "@copado/agentia-cli",
4132
+ "pluginName": "@copado/agentia-cli",
4133
+ "pluginType": "core",
4134
+ "strict": true,
4135
+ "enableJsonFlag": true,
4136
+ "isESM": true,
4137
+ "relativePath": [
4138
+ "dist",
4139
+ "commands",
4140
+ "cicd",
4141
+ "project",
4142
+ "open.js"
4143
+ ]
4144
+ },
4145
+ "cicd:promotion:get": {
4146
+ "aliases": [],
4147
+ "args": {
4148
+ "id": {
4149
+ "description": "Copado promotion ID",
4150
+ "name": "id",
4151
+ "required": true
4152
+ }
4153
+ },
4154
+ "description": "Get a Copado promotion by ID",
4155
+ "examples": [
4156
+ "<%= config.bin %> <%= command.id %> <promotion-id>",
4157
+ "<%= config.bin %> <%= command.id %> <promotion-id> --json"
4158
+ ],
4159
+ "flags": {
4160
+ "json": {
4161
+ "description": "Format output as json.",
4162
+ "helpGroup": "GLOBAL",
4163
+ "name": "json",
4164
+ "allowNo": false,
4165
+ "type": "boolean"
4166
+ }
4167
+ },
4168
+ "hasDynamicHelp": false,
4169
+ "hiddenAliases": [],
4170
+ "id": "cicd:promotion:get",
4171
+ "pluginAlias": "@copado/agentia-cli",
4172
+ "pluginName": "@copado/agentia-cli",
4173
+ "pluginType": "core",
4174
+ "strict": true,
4175
+ "enableJsonFlag": true,
4176
+ "isESM": true,
4177
+ "relativePath": [
4178
+ "dist",
4179
+ "commands",
4180
+ "cicd",
4181
+ "promotion",
4182
+ "get.js"
4183
+ ]
4184
+ },
4185
+ "cicd:promotion:list": {
4186
+ "aliases": [],
4187
+ "args": {},
4188
+ "description": "List Copado promotions",
4189
+ "examples": [
4190
+ "<%= config.bin %> <%= command.id %>",
4191
+ "<%= config.bin %> <%= command.id %> --status Completed --project-name \"My Project\" --page-size 50",
4192
+ "<%= config.bin %> <%= command.id %> --json"
4193
+ ],
4194
+ "flags": {
4195
+ "json": {
4196
+ "description": "Format output as json.",
4197
+ "helpGroup": "GLOBAL",
4198
+ "name": "json",
4199
+ "allowNo": false,
4200
+ "type": "boolean"
4201
+ },
4202
+ "cursor": {
4203
+ "description": "Opaque pagination cursor from a previous list response (nextCursor)",
4204
+ "name": "cursor",
4205
+ "hasDynamicHelp": false,
4206
+ "multiple": false,
4207
+ "type": "option"
4208
+ },
4209
+ "page-size": {
4210
+ "description": "Number of records per page (1-200)",
4211
+ "name": "page-size",
4212
+ "hasDynamicHelp": false,
4213
+ "multiple": false,
4214
+ "type": "option"
4215
+ },
4216
+ "created-by-id": {
4217
+ "description": "Filter by creator ID",
4218
+ "name": "created-by-id",
4219
+ "hasDynamicHelp": false,
4220
+ "multiple": false,
4221
+ "type": "option"
4222
+ },
4223
+ "created-by-name": {
4224
+ "description": "Filter by creator name",
4225
+ "name": "created-by-name",
4226
+ "hasDynamicHelp": false,
4227
+ "multiple": false,
4228
+ "type": "option"
4229
+ },
4230
+ "destination-environment-id": {
4231
+ "description": "Filter by destination environment ID",
4232
+ "name": "destination-environment-id",
4233
+ "hasDynamicHelp": false,
4234
+ "multiple": false,
4235
+ "type": "option"
4236
+ },
4237
+ "destination-environment-name": {
4238
+ "description": "Filter by destination environment name",
4239
+ "name": "destination-environment-name",
4240
+ "hasDynamicHelp": false,
4241
+ "multiple": false,
4242
+ "type": "option"
4243
+ },
4244
+ "is-back-promotion": {
4245
+ "description": "Filter by back promotion",
4246
+ "name": "is-back-promotion",
4247
+ "allowNo": true,
4248
+ "type": "boolean"
4249
+ },
4250
+ "name": {
4251
+ "description": "Filter by name",
4252
+ "name": "name",
4253
+ "hasDynamicHelp": false,
4254
+ "multiple": false,
4255
+ "type": "option"
4256
+ },
4257
+ "pipeline-id": {
4258
+ "description": "Filter by pipeline ID",
4259
+ "name": "pipeline-id",
4260
+ "hasDynamicHelp": false,
4261
+ "multiple": false,
4262
+ "type": "option"
4263
+ },
4264
+ "pipeline-name": {
4265
+ "description": "Filter by pipeline name",
4266
+ "name": "pipeline-name",
4267
+ "hasDynamicHelp": false,
4268
+ "multiple": false,
4269
+ "type": "option"
4270
+ },
4271
+ "project-id": {
4272
+ "description": "Filter by project ID",
4273
+ "name": "project-id",
4274
+ "hasDynamicHelp": false,
4275
+ "multiple": false,
4276
+ "type": "option"
4277
+ },
4278
+ "project-name": {
4279
+ "description": "Filter by project name",
4280
+ "name": "project-name",
4281
+ "hasDynamicHelp": false,
4282
+ "multiple": false,
4283
+ "type": "option"
4284
+ },
4285
+ "source-environment-id": {
4286
+ "description": "Filter by source environment ID",
4287
+ "name": "source-environment-id",
4288
+ "hasDynamicHelp": false,
4289
+ "multiple": false,
4290
+ "type": "option"
4291
+ },
4292
+ "source-environment-name": {
4293
+ "description": "Filter by source environment name",
4294
+ "name": "source-environment-name",
4295
+ "hasDynamicHelp": false,
4296
+ "multiple": false,
4297
+ "type": "option"
4298
+ },
4299
+ "status": {
4300
+ "description": "Filter by status",
4301
+ "name": "status",
4302
+ "hasDynamicHelp": false,
4303
+ "multiple": false,
4304
+ "type": "option"
4305
+ },
4306
+ "work-id": {
4307
4307
  "description": "Filter by user story ID",
4308
4308
  "name": "work-id",
4309
4309
  "hasDynamicHelp": false,
@@ -6208,7 +6208,7 @@
6208
6208
  "cicd:work:publish": {
6209
6209
  "aliases": [],
6210
6210
  "args": {},
6211
- "description": "Publish the current feature/<lastWorkItem> branch and register commits with Copado. Requires a clean working tree, base branch, and dev org branch from `.agentia/config.user.json`. Fetches origin/<lastBaseBranch>, then registers only commits in origin/<lastBaseBranch>..HEAD and diffs nested parent XML at merge-base(origin/<lastBaseBranch>, HEAD) versus HEAD, so origin/base-only history is ignored. When there are no commits since origin/<lastBaseBranch>, or origin already has HEAD, fails with \"No changes to publish\" unless `--permissions` and/or `--full-metadata` is set, in which case it creates an empty commit so a tip commit id exists. Applies Copado environment-variable then yaml replacements 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. `cicd work push` is a compatibility alias of this command.",
6211
+ "description": "Publish the current feature/<lastWorkItem> branch and register commits with Copado. Requires a clean working tree, base branch, and dev org branch from `.agentia/config.user.json`. Fetches origin/<lastBaseBranch>, then registers only commits in origin/<lastBaseBranch>..HEAD and diffs nested parent XML at merge-base(origin/<lastBaseBranch>, HEAD) versus HEAD, so origin/base-only history is ignored. When there are no commits since origin/<lastBaseBranch>, or origin already has HEAD, fails with \"No changes to publish\" unless `--permissions` and/or `--full-metadata` is set, in which case it creates an empty commit so a tip commit id exists. Applies Copado environment-variable then yaml replacements to the added and modified files in origin/<lastBaseBranch>..HEAD (passed to the jars as `--include`; yaml `-b` is the feature branch, matching Copado Commit), commits both as a single follow-up commit, locks the tip commit, runs `git push origin <branch>`, reports the nested metadata changed across the branch, such as the CustomField behind a profile field-permission edit, plus the parent components it would ignore, calls headless work/push with one changeListUpdate list of Action:MetadataType:MetadataName corrections: lastPermissionSelected and --permissions plus the nested metadata of the changed profiles and permission sets as RetrieveOnly, lastFullMetadataSelected and --full-metadata plus brand-new nested parent files as fullMetadata, the ignored parents as unchanged, the nested metadata deleted on the branch as Del, and the remaining nested metadata as Add, then merges the feature branch into the recorded dev org branch. The changed profiles and permission sets themselves are never sent as corrections, so they stay in the change list and deploy only the permissions their RetrieveOnly entries select. Brand-new nested parent files are an exception: they are sent as fullMetadata so the complete file travels. `cicd work push` is a compatibility alias of this command.",
6212
6212
  "examples": [
6213
6213
  "<%= config.bin %> <%= command.id %>",
6214
6214
  "<%= config.bin %> <%= command.id %> --permissions CustomField:Account.SLA__c,ApexClass:AccountService",
@@ -6327,7 +6327,7 @@
6327
6327
  "required": false
6328
6328
  }
6329
6329
  },
6330
- "description": "Set the active work item and prepare a local feature branch. Calls the CICD gateway work/set endpoint, requires a clean tracked working tree, fetches the work item base branch from origin, then creates or checks out feature/<user-story-name>. A gateway warning prints the message, skips git, and leaves local work context unchanged. After work/set returns, compares the Story source credential with the CICD project default: warns when the default or Story credential is missing, and warns without changing the Story when they differ (shows the current credential and environment; use work update to change it). With --none, clears every last* key from `.agentia/config.user.json` and checks out the previous lastBaseBranch when present, else main, else master, else stays put.",
6330
+ "description": "Set the active work item and prepare a local feature branch. Calls the CICD gateway work/set endpoint, requires a clean tracked working tree, fetches the work item base branch from origin, fetches the feature branch when it exists on origin, then creates or checks out feature/<user-story-name> from the remote feature branch when present, otherwise from the base branch. A gateway warning prints the message, skips git, and leaves local work context unchanged. After work/set returns, compares the Story source credential with the CICD project default: warns when the default or Story credential is missing, and warns without changing the Story when they differ (shows the current credential and environment; use work update to change it). With --none, clears every last* key from `.agentia/config.user.json` and checks out the previous lastBaseBranch when present, else main, else master, else stays put.",
6331
6331
  "examples": [
6332
6332
  "<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU",
6333
6333
  "<%= config.bin %> <%= command.id %> US-0001 --json",
@@ -15393,15 +15393,14 @@
15393
15393
  "status.js"
15394
15394
  ]
15395
15395
  },
15396
- "cicd:project:default:get": {
15396
+ "cicd:pipeline:connection:create": {
15397
15397
  "aliases": [],
15398
15398
  "args": {},
15399
- "description": "Show project default values for the current project or globally",
15399
+ "description": "Create one or more Copado pipeline connections",
15400
15400
  "examples": [
15401
- "<%= config.bin %> <%= command.id %>",
15402
- "<%= config.bin %> <%= command.id %> --project --environment",
15403
- "<%= config.bin %> <%= command.id %> --global",
15404
- "<%= config.bin %> <%= command.id %> --json"
15401
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --source-environment-id env-1 --destination-environment-id env-2 --branch main",
15402
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --file connections.json",
15403
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --source-environment-id env-1 --destination-environment-id env-2 --branch main --json"
15405
15404
  ],
15406
15405
  "flags": {
15407
15406
  "json": {
@@ -15411,298 +15410,19 @@
15411
15410
  "allowNo": false,
15412
15411
  "type": "boolean"
15413
15412
  },
15414
- "assign-me": {
15415
- "description": "Select the assign-me default",
15416
- "name": "assign-me",
15417
- "allowNo": false,
15418
- "type": "boolean"
15413
+ "branch": {
15414
+ "description": "Source branch for the connection",
15415
+ "name": "branch",
15416
+ "hasDynamicHelp": false,
15417
+ "multiple": false,
15418
+ "type": "option"
15419
15419
  },
15420
- "credential": {
15421
- "description": "Select the default source credential",
15422
- "name": "credential",
15423
- "allowNo": false,
15424
- "type": "boolean"
15425
- },
15426
- "environment": {
15427
- "description": "Select the default environment",
15428
- "name": "environment",
15429
- "allowNo": false,
15430
- "type": "boolean"
15431
- },
15432
- "epic": {
15433
- "description": "Select the default epic",
15434
- "name": "epic",
15435
- "allowNo": false,
15436
- "type": "boolean"
15437
- },
15438
- "feature": {
15439
- "description": "Select the default feature",
15440
- "name": "feature",
15441
- "allowNo": false,
15442
- "type": "boolean"
15443
- },
15444
- "global": {
15445
- "description": "Use machine-wide defaults instead of project-local defaults",
15446
- "name": "global",
15447
- "allowNo": false,
15448
- "type": "boolean"
15449
- },
15450
- "project": {
15451
- "description": "Select the default project",
15452
- "name": "project",
15453
- "allowNo": false,
15454
- "type": "boolean"
15455
- },
15456
- "sprint": {
15457
- "description": "Select the default sprint",
15458
- "name": "sprint",
15459
- "allowNo": false,
15460
- "type": "boolean"
15461
- },
15462
- "team": {
15463
- "description": "Select the default team",
15464
- "name": "team",
15465
- "allowNo": false,
15466
- "type": "boolean"
15467
- }
15468
- },
15469
- "hasDynamicHelp": false,
15470
- "hiddenAliases": [],
15471
- "id": "cicd:project:default:get",
15472
- "pluginAlias": "@copado/agentia-cli",
15473
- "pluginName": "@copado/agentia-cli",
15474
- "pluginType": "core",
15475
- "strict": true,
15476
- "enableJsonFlag": true,
15477
- "isESM": true,
15478
- "relativePath": [
15479
- "dist",
15480
- "commands",
15481
- "cicd",
15482
- "project",
15483
- "default",
15484
- "get.js"
15485
- ]
15486
- },
15487
- "cicd:project:default:set": {
15488
- "aliases": [],
15489
- "args": {},
15490
- "description": "Set project default values for the current project or globally",
15491
- "examples": [
15492
- "<%= config.bin %> <%= command.id %> --project my-project --team platform",
15493
- "<%= config.bin %> <%= command.id %> --environment dev --assign-me",
15494
- "<%= config.bin %> <%= command.id %> --project my-project --global",
15495
- "<%= config.bin %> <%= command.id %> --project my-project --json"
15496
- ],
15497
- "flags": {
15498
- "json": {
15499
- "description": "Format output as json.",
15500
- "helpGroup": "GLOBAL",
15501
- "name": "json",
15502
- "allowNo": false,
15503
- "type": "boolean"
15504
- },
15505
- "credential": {
15506
- "description": "Default source credential",
15507
- "name": "credential",
15508
- "hasDynamicHelp": false,
15509
- "multiple": false,
15510
- "type": "option"
15511
- },
15512
- "environment": {
15513
- "description": "Default environment",
15514
- "name": "environment",
15515
- "hasDynamicHelp": false,
15516
- "multiple": false,
15517
- "type": "option"
15518
- },
15519
- "epic": {
15520
- "description": "Default epic",
15521
- "name": "epic",
15522
- "hasDynamicHelp": false,
15523
- "multiple": false,
15524
- "type": "option"
15525
- },
15526
- "feature": {
15527
- "description": "Default feature",
15528
- "name": "feature",
15529
- "hasDynamicHelp": false,
15530
- "multiple": false,
15531
- "type": "option"
15532
- },
15533
- "project": {
15534
- "description": "Default project",
15535
- "name": "project",
15536
- "hasDynamicHelp": false,
15537
- "multiple": false,
15538
- "type": "option"
15539
- },
15540
- "sprint": {
15541
- "description": "Default sprint",
15542
- "name": "sprint",
15543
- "hasDynamicHelp": false,
15544
- "multiple": false,
15545
- "type": "option"
15546
- },
15547
- "team": {
15548
- "description": "Default team",
15549
- "name": "team",
15550
- "hasDynamicHelp": false,
15551
- "multiple": false,
15552
- "type": "option"
15553
- },
15554
- "assign-me": {
15555
- "description": "Assign work items to the current user by default",
15556
- "name": "assign-me",
15557
- "allowNo": false,
15558
- "type": "boolean"
15559
- },
15560
- "global": {
15561
- "description": "Use machine-wide defaults instead of project-local defaults",
15562
- "name": "global",
15563
- "allowNo": false,
15564
- "type": "boolean"
15565
- }
15566
- },
15567
- "hasDynamicHelp": false,
15568
- "hiddenAliases": [],
15569
- "id": "cicd:project:default:set",
15570
- "pluginAlias": "@copado/agentia-cli",
15571
- "pluginName": "@copado/agentia-cli",
15572
- "pluginType": "core",
15573
- "strict": true,
15574
- "enableJsonFlag": true,
15575
- "isESM": true,
15576
- "relativePath": [
15577
- "dist",
15578
- "commands",
15579
- "cicd",
15580
- "project",
15581
- "default",
15582
- "set.js"
15583
- ]
15584
- },
15585
- "cicd:project:default:unset": {
15586
- "aliases": [],
15587
- "args": {},
15588
- "description": "Remove project default values from the current project or globally",
15589
- "examples": [
15590
- "<%= config.bin %> <%= command.id %> --project",
15591
- "<%= config.bin %> <%= command.id %> --environment --team",
15592
- "<%= config.bin %> <%= command.id %> --assign-me --global",
15593
- "<%= config.bin %> <%= command.id %> --project --json"
15594
- ],
15595
- "flags": {
15596
- "json": {
15597
- "description": "Format output as json.",
15598
- "helpGroup": "GLOBAL",
15599
- "name": "json",
15600
- "allowNo": false,
15601
- "type": "boolean"
15602
- },
15603
- "assign-me": {
15604
- "description": "Select the assign-me default",
15605
- "name": "assign-me",
15606
- "allowNo": false,
15607
- "type": "boolean"
15608
- },
15609
- "credential": {
15610
- "description": "Select the default source credential",
15611
- "name": "credential",
15612
- "allowNo": false,
15613
- "type": "boolean"
15614
- },
15615
- "environment": {
15616
- "description": "Select the default environment",
15617
- "name": "environment",
15618
- "allowNo": false,
15619
- "type": "boolean"
15620
- },
15621
- "epic": {
15622
- "description": "Select the default epic",
15623
- "name": "epic",
15624
- "allowNo": false,
15625
- "type": "boolean"
15626
- },
15627
- "feature": {
15628
- "description": "Select the default feature",
15629
- "name": "feature",
15630
- "allowNo": false,
15631
- "type": "boolean"
15632
- },
15633
- "global": {
15634
- "description": "Use machine-wide defaults instead of project-local defaults",
15635
- "name": "global",
15636
- "allowNo": false,
15637
- "type": "boolean"
15638
- },
15639
- "project": {
15640
- "description": "Select the default project",
15641
- "name": "project",
15642
- "allowNo": false,
15643
- "type": "boolean"
15644
- },
15645
- "sprint": {
15646
- "description": "Select the default sprint",
15647
- "name": "sprint",
15648
- "allowNo": false,
15649
- "type": "boolean"
15650
- },
15651
- "team": {
15652
- "description": "Select the default team",
15653
- "name": "team",
15654
- "allowNo": false,
15655
- "type": "boolean"
15656
- }
15657
- },
15658
- "hasDynamicHelp": false,
15659
- "hiddenAliases": [],
15660
- "id": "cicd:project:default:unset",
15661
- "pluginAlias": "@copado/agentia-cli",
15662
- "pluginName": "@copado/agentia-cli",
15663
- "pluginType": "core",
15664
- "strict": true,
15665
- "enableJsonFlag": true,
15666
- "isESM": true,
15667
- "relativePath": [
15668
- "dist",
15669
- "commands",
15670
- "cicd",
15671
- "project",
15672
- "default",
15673
- "unset.js"
15674
- ]
15675
- },
15676
- "cicd:pipeline:connection:create": {
15677
- "aliases": [],
15678
- "args": {},
15679
- "description": "Create one or more Copado pipeline connections",
15680
- "examples": [
15681
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --source-environment-id env-1 --destination-environment-id env-2 --branch main",
15682
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --file connections.json",
15683
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --source-environment-id env-1 --destination-environment-id env-2 --branch main --json"
15684
- ],
15685
- "flags": {
15686
- "json": {
15687
- "description": "Format output as json.",
15688
- "helpGroup": "GLOBAL",
15689
- "name": "json",
15690
- "allowNo": false,
15691
- "type": "boolean"
15692
- },
15693
- "branch": {
15694
- "description": "Source branch for the connection",
15695
- "name": "branch",
15696
- "hasDynamicHelp": false,
15697
- "multiple": false,
15698
- "type": "option"
15699
- },
15700
- "connection-id": {
15701
- "description": "Pipeline connection ID (required for single-connection update or delete)",
15702
- "name": "connection-id",
15703
- "hasDynamicHelp": false,
15704
- "multiple": false,
15705
- "type": "option"
15420
+ "connection-id": {
15421
+ "description": "Pipeline connection ID (required for single-connection update or delete)",
15422
+ "name": "connection-id",
15423
+ "hasDynamicHelp": false,
15424
+ "multiple": false,
15425
+ "type": "option"
15706
15426
  },
15707
15427
  "destination-branch": {
15708
15428
  "description": "Destination branch for the connection",
@@ -16138,25 +15858,262 @@
16138
15858
  "allowNo": false,
16139
15859
  "type": "boolean"
16140
15860
  },
16141
- "pipeline-id": {
16142
- "description": "Pipeline ID",
16143
- "name": "pipeline-id",
16144
- "required": true,
16145
- "hasDynamicHelp": false,
16146
- "multiple": false,
16147
- "type": "option"
15861
+ "pipeline-id": {
15862
+ "description": "Pipeline ID",
15863
+ "name": "pipeline-id",
15864
+ "required": true,
15865
+ "hasDynamicHelp": false,
15866
+ "multiple": false,
15867
+ "type": "option"
15868
+ },
15869
+ "yes": {
15870
+ "char": "y",
15871
+ "description": "Confirm deletion without prompting",
15872
+ "name": "yes",
15873
+ "allowNo": false,
15874
+ "type": "boolean"
15875
+ }
15876
+ },
15877
+ "hasDynamicHelp": false,
15878
+ "hiddenAliases": [],
15879
+ "id": "cicd:pipeline:stage-connection:delete",
15880
+ "pluginAlias": "@copado/agentia-cli",
15881
+ "pluginName": "@copado/agentia-cli",
15882
+ "pluginType": "core",
15883
+ "strict": true,
15884
+ "enableJsonFlag": true,
15885
+ "isESM": true,
15886
+ "relativePath": [
15887
+ "dist",
15888
+ "commands",
15889
+ "cicd",
15890
+ "pipeline",
15891
+ "stage-connection",
15892
+ "delete.js"
15893
+ ]
15894
+ },
15895
+ "cicd:pipeline:stage-connection:list": {
15896
+ "aliases": [],
15897
+ "args": {},
15898
+ "description": "List stage connections for a Copado pipeline",
15899
+ "examples": [
15900
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id>",
15901
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --json"
15902
+ ],
15903
+ "flags": {
15904
+ "json": {
15905
+ "description": "Format output as json.",
15906
+ "helpGroup": "GLOBAL",
15907
+ "name": "json",
15908
+ "allowNo": false,
15909
+ "type": "boolean"
15910
+ },
15911
+ "pipeline-id": {
15912
+ "description": "Pipeline ID whose stage connections should be listed",
15913
+ "name": "pipeline-id",
15914
+ "required": true,
15915
+ "hasDynamicHelp": false,
15916
+ "multiple": false,
15917
+ "type": "option"
15918
+ }
15919
+ },
15920
+ "hasDynamicHelp": false,
15921
+ "hiddenAliases": [],
15922
+ "id": "cicd:pipeline:stage-connection:list",
15923
+ "pluginAlias": "@copado/agentia-cli",
15924
+ "pluginName": "@copado/agentia-cli",
15925
+ "pluginType": "core",
15926
+ "strict": true,
15927
+ "enableJsonFlag": true,
15928
+ "isESM": true,
15929
+ "relativePath": [
15930
+ "dist",
15931
+ "commands",
15932
+ "cicd",
15933
+ "pipeline",
15934
+ "stage-connection",
15935
+ "list.js"
15936
+ ]
15937
+ },
15938
+ "cicd:pipeline:stage-connection:open": {
15939
+ "aliases": [],
15940
+ "args": {
15941
+ "id": {
15942
+ "description": "Pipeline stage connection ID",
15943
+ "name": "id",
15944
+ "required": true
15945
+ }
15946
+ },
15947
+ "description": "Open a pipeline stage connection in the browser",
15948
+ "examples": [
15949
+ "<%= config.bin %> <%= command.id %> connection-1",
15950
+ "<%= config.bin %> <%= command.id %> connection-1 --json"
15951
+ ],
15952
+ "flags": {
15953
+ "json": {
15954
+ "description": "Format output as json.",
15955
+ "helpGroup": "GLOBAL",
15956
+ "name": "json",
15957
+ "allowNo": false,
15958
+ "type": "boolean"
15959
+ }
15960
+ },
15961
+ "hasDynamicHelp": false,
15962
+ "hiddenAliases": [],
15963
+ "id": "cicd:pipeline:stage-connection:open",
15964
+ "pluginAlias": "@copado/agentia-cli",
15965
+ "pluginName": "@copado/agentia-cli",
15966
+ "pluginType": "core",
15967
+ "strict": true,
15968
+ "enableJsonFlag": true,
15969
+ "isESM": true,
15970
+ "relativePath": [
15971
+ "dist",
15972
+ "commands",
15973
+ "cicd",
15974
+ "pipeline",
15975
+ "stage-connection",
15976
+ "open.js"
15977
+ ]
15978
+ },
15979
+ "cicd:pipeline:stage-connection:update": {
15980
+ "aliases": [],
15981
+ "args": {
15982
+ "id": {
15983
+ "description": "Pipeline stage connection ID",
15984
+ "name": "id",
15985
+ "required": true
15986
+ }
15987
+ },
15988
+ "description": "Update a pipeline stage connection",
15989
+ "examples": [
15990
+ "<%= config.bin %> <%= command.id %> connection-1 --pipeline-id pipeline-1 --next-pipeline-stage-connection-id connection-2"
15991
+ ],
15992
+ "flags": {
15993
+ "json": {
15994
+ "description": "Format output as json.",
15995
+ "helpGroup": "GLOBAL",
15996
+ "name": "json",
15997
+ "allowNo": false,
15998
+ "type": "boolean"
15999
+ },
16000
+ "next-pipeline-stage-connection-id": {
16001
+ "description": "Next pipeline stage connection ID",
16002
+ "name": "next-pipeline-stage-connection-id",
16003
+ "hasDynamicHelp": false,
16004
+ "multiple": false,
16005
+ "type": "option"
16006
+ },
16007
+ "stage-id": {
16008
+ "description": "Stage ID",
16009
+ "name": "stage-id",
16010
+ "hasDynamicHelp": false,
16011
+ "multiple": false,
16012
+ "type": "option"
16013
+ },
16014
+ "pipeline-id": {
16015
+ "description": "Pipeline ID",
16016
+ "name": "pipeline-id",
16017
+ "required": true,
16018
+ "hasDynamicHelp": false,
16019
+ "multiple": false,
16020
+ "type": "option"
16021
+ }
16022
+ },
16023
+ "hasDynamicHelp": false,
16024
+ "hiddenAliases": [],
16025
+ "id": "cicd:pipeline:stage-connection:update",
16026
+ "pluginAlias": "@copado/agentia-cli",
16027
+ "pluginName": "@copado/agentia-cli",
16028
+ "pluginType": "core",
16029
+ "strict": true,
16030
+ "enableJsonFlag": true,
16031
+ "isESM": true,
16032
+ "relativePath": [
16033
+ "dist",
16034
+ "commands",
16035
+ "cicd",
16036
+ "pipeline",
16037
+ "stage-connection",
16038
+ "update.js"
16039
+ ]
16040
+ },
16041
+ "cicd:project:default:get": {
16042
+ "aliases": [],
16043
+ "args": {},
16044
+ "description": "Show project default values for the current project or globally",
16045
+ "examples": [
16046
+ "<%= config.bin %> <%= command.id %>",
16047
+ "<%= config.bin %> <%= command.id %> --project --environment",
16048
+ "<%= config.bin %> <%= command.id %> --global",
16049
+ "<%= config.bin %> <%= command.id %> --json"
16050
+ ],
16051
+ "flags": {
16052
+ "json": {
16053
+ "description": "Format output as json.",
16054
+ "helpGroup": "GLOBAL",
16055
+ "name": "json",
16056
+ "allowNo": false,
16057
+ "type": "boolean"
16058
+ },
16059
+ "assign-me": {
16060
+ "description": "Select the assign-me default",
16061
+ "name": "assign-me",
16062
+ "allowNo": false,
16063
+ "type": "boolean"
16064
+ },
16065
+ "credential": {
16066
+ "description": "Select the default source credential",
16067
+ "name": "credential",
16068
+ "allowNo": false,
16069
+ "type": "boolean"
16070
+ },
16071
+ "environment": {
16072
+ "description": "Select the default environment",
16073
+ "name": "environment",
16074
+ "allowNo": false,
16075
+ "type": "boolean"
16076
+ },
16077
+ "epic": {
16078
+ "description": "Select the default epic",
16079
+ "name": "epic",
16080
+ "allowNo": false,
16081
+ "type": "boolean"
16082
+ },
16083
+ "feature": {
16084
+ "description": "Select the default feature",
16085
+ "name": "feature",
16086
+ "allowNo": false,
16087
+ "type": "boolean"
16148
16088
  },
16149
- "yes": {
16150
- "char": "y",
16151
- "description": "Confirm deletion without prompting",
16152
- "name": "yes",
16089
+ "global": {
16090
+ "description": "Use machine-wide defaults instead of project-local defaults",
16091
+ "name": "global",
16092
+ "allowNo": false,
16093
+ "type": "boolean"
16094
+ },
16095
+ "project": {
16096
+ "description": "Select the default project",
16097
+ "name": "project",
16098
+ "allowNo": false,
16099
+ "type": "boolean"
16100
+ },
16101
+ "sprint": {
16102
+ "description": "Select the default sprint",
16103
+ "name": "sprint",
16104
+ "allowNo": false,
16105
+ "type": "boolean"
16106
+ },
16107
+ "team": {
16108
+ "description": "Select the default team",
16109
+ "name": "team",
16153
16110
  "allowNo": false,
16154
16111
  "type": "boolean"
16155
16112
  }
16156
16113
  },
16157
16114
  "hasDynamicHelp": false,
16158
16115
  "hiddenAliases": [],
16159
- "id": "cicd:pipeline:stage-connection:delete",
16116
+ "id": "cicd:project:default:get",
16160
16117
  "pluginAlias": "@copado/agentia-cli",
16161
16118
  "pluginName": "@copado/agentia-cli",
16162
16119
  "pluginType": "core",
@@ -16167,18 +16124,20 @@
16167
16124
  "dist",
16168
16125
  "commands",
16169
16126
  "cicd",
16170
- "pipeline",
16171
- "stage-connection",
16172
- "delete.js"
16127
+ "project",
16128
+ "default",
16129
+ "get.js"
16173
16130
  ]
16174
16131
  },
16175
- "cicd:pipeline:stage-connection:list": {
16132
+ "cicd:project:default:set": {
16176
16133
  "aliases": [],
16177
16134
  "args": {},
16178
- "description": "List stage connections for a Copado pipeline",
16135
+ "description": "Set project default values for the current project or globally",
16179
16136
  "examples": [
16180
- "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id>",
16181
- "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --json"
16137
+ "<%= config.bin %> <%= command.id %> --project my-project --team platform",
16138
+ "<%= config.bin %> <%= command.id %> --environment dev --assign-me",
16139
+ "<%= config.bin %> <%= command.id %> --project my-project --global",
16140
+ "<%= config.bin %> <%= command.id %> --project my-project --json"
16182
16141
  ],
16183
16142
  "flags": {
16184
16143
  "json": {
@@ -16188,59 +16147,71 @@
16188
16147
  "allowNo": false,
16189
16148
  "type": "boolean"
16190
16149
  },
16191
- "pipeline-id": {
16192
- "description": "Pipeline ID whose stage connections should be listed",
16193
- "name": "pipeline-id",
16194
- "required": true,
16150
+ "credential": {
16151
+ "description": "Default source credential",
16152
+ "name": "credential",
16195
16153
  "hasDynamicHelp": false,
16196
16154
  "multiple": false,
16197
16155
  "type": "option"
16198
- }
16199
- },
16200
- "hasDynamicHelp": false,
16201
- "hiddenAliases": [],
16202
- "id": "cicd:pipeline:stage-connection:list",
16203
- "pluginAlias": "@copado/agentia-cli",
16204
- "pluginName": "@copado/agentia-cli",
16205
- "pluginType": "core",
16206
- "strict": true,
16207
- "enableJsonFlag": true,
16208
- "isESM": true,
16209
- "relativePath": [
16210
- "dist",
16211
- "commands",
16212
- "cicd",
16213
- "pipeline",
16214
- "stage-connection",
16215
- "list.js"
16216
- ]
16217
- },
16218
- "cicd:pipeline:stage-connection:open": {
16219
- "aliases": [],
16220
- "args": {
16221
- "id": {
16222
- "description": "Pipeline stage connection ID",
16223
- "name": "id",
16224
- "required": true
16225
- }
16226
- },
16227
- "description": "Open a pipeline stage connection in the browser",
16228
- "examples": [
16229
- "<%= config.bin %> <%= command.id %> connection-1",
16230
- "<%= config.bin %> <%= command.id %> connection-1 --json"
16231
- ],
16232
- "flags": {
16233
- "json": {
16234
- "description": "Format output as json.",
16235
- "helpGroup": "GLOBAL",
16236
- "name": "json",
16156
+ },
16157
+ "environment": {
16158
+ "description": "Default environment",
16159
+ "name": "environment",
16160
+ "hasDynamicHelp": false,
16161
+ "multiple": false,
16162
+ "type": "option"
16163
+ },
16164
+ "epic": {
16165
+ "description": "Default epic",
16166
+ "name": "epic",
16167
+ "hasDynamicHelp": false,
16168
+ "multiple": false,
16169
+ "type": "option"
16170
+ },
16171
+ "feature": {
16172
+ "description": "Default feature",
16173
+ "name": "feature",
16174
+ "hasDynamicHelp": false,
16175
+ "multiple": false,
16176
+ "type": "option"
16177
+ },
16178
+ "project": {
16179
+ "description": "Default project",
16180
+ "name": "project",
16181
+ "hasDynamicHelp": false,
16182
+ "multiple": false,
16183
+ "type": "option"
16184
+ },
16185
+ "sprint": {
16186
+ "description": "Default sprint",
16187
+ "name": "sprint",
16188
+ "hasDynamicHelp": false,
16189
+ "multiple": false,
16190
+ "type": "option"
16191
+ },
16192
+ "team": {
16193
+ "description": "Default team",
16194
+ "name": "team",
16195
+ "hasDynamicHelp": false,
16196
+ "multiple": false,
16197
+ "type": "option"
16198
+ },
16199
+ "assign-me": {
16200
+ "description": "Assign work items to the current user by default",
16201
+ "name": "assign-me",
16202
+ "allowNo": false,
16203
+ "type": "boolean"
16204
+ },
16205
+ "global": {
16206
+ "description": "Use machine-wide defaults instead of project-local defaults",
16207
+ "name": "global",
16237
16208
  "allowNo": false,
16238
16209
  "type": "boolean"
16239
16210
  }
16240
16211
  },
16241
16212
  "hasDynamicHelp": false,
16242
16213
  "hiddenAliases": [],
16243
- "id": "cicd:pipeline:stage-connection:open",
16214
+ "id": "cicd:project:default:set",
16244
16215
  "pluginAlias": "@copado/agentia-cli",
16245
16216
  "pluginName": "@copado/agentia-cli",
16246
16217
  "pluginType": "core",
@@ -16251,23 +16222,20 @@
16251
16222
  "dist",
16252
16223
  "commands",
16253
16224
  "cicd",
16254
- "pipeline",
16255
- "stage-connection",
16256
- "open.js"
16225
+ "project",
16226
+ "default",
16227
+ "set.js"
16257
16228
  ]
16258
16229
  },
16259
- "cicd:pipeline:stage-connection:update": {
16230
+ "cicd:project:default:unset": {
16260
16231
  "aliases": [],
16261
- "args": {
16262
- "id": {
16263
- "description": "Pipeline stage connection ID",
16264
- "name": "id",
16265
- "required": true
16266
- }
16267
- },
16268
- "description": "Update a pipeline stage connection",
16232
+ "args": {},
16233
+ "description": "Remove project default values from the current project or globally",
16269
16234
  "examples": [
16270
- "<%= config.bin %> <%= command.id %> connection-1 --pipeline-id pipeline-1 --next-pipeline-stage-connection-id connection-2"
16235
+ "<%= config.bin %> <%= command.id %> --project",
16236
+ "<%= config.bin %> <%= command.id %> --environment --team",
16237
+ "<%= config.bin %> <%= command.id %> --assign-me --global",
16238
+ "<%= config.bin %> <%= command.id %> --project --json"
16271
16239
  ],
16272
16240
  "flags": {
16273
16241
  "json": {
@@ -16277,32 +16245,64 @@
16277
16245
  "allowNo": false,
16278
16246
  "type": "boolean"
16279
16247
  },
16280
- "next-pipeline-stage-connection-id": {
16281
- "description": "Next pipeline stage connection ID",
16282
- "name": "next-pipeline-stage-connection-id",
16283
- "hasDynamicHelp": false,
16284
- "multiple": false,
16285
- "type": "option"
16248
+ "assign-me": {
16249
+ "description": "Select the assign-me default",
16250
+ "name": "assign-me",
16251
+ "allowNo": false,
16252
+ "type": "boolean"
16286
16253
  },
16287
- "stage-id": {
16288
- "description": "Stage ID",
16289
- "name": "stage-id",
16290
- "hasDynamicHelp": false,
16291
- "multiple": false,
16292
- "type": "option"
16254
+ "credential": {
16255
+ "description": "Select the default source credential",
16256
+ "name": "credential",
16257
+ "allowNo": false,
16258
+ "type": "boolean"
16293
16259
  },
16294
- "pipeline-id": {
16295
- "description": "Pipeline ID",
16296
- "name": "pipeline-id",
16297
- "required": true,
16298
- "hasDynamicHelp": false,
16299
- "multiple": false,
16300
- "type": "option"
16260
+ "environment": {
16261
+ "description": "Select the default environment",
16262
+ "name": "environment",
16263
+ "allowNo": false,
16264
+ "type": "boolean"
16265
+ },
16266
+ "epic": {
16267
+ "description": "Select the default epic",
16268
+ "name": "epic",
16269
+ "allowNo": false,
16270
+ "type": "boolean"
16271
+ },
16272
+ "feature": {
16273
+ "description": "Select the default feature",
16274
+ "name": "feature",
16275
+ "allowNo": false,
16276
+ "type": "boolean"
16277
+ },
16278
+ "global": {
16279
+ "description": "Use machine-wide defaults instead of project-local defaults",
16280
+ "name": "global",
16281
+ "allowNo": false,
16282
+ "type": "boolean"
16283
+ },
16284
+ "project": {
16285
+ "description": "Select the default project",
16286
+ "name": "project",
16287
+ "allowNo": false,
16288
+ "type": "boolean"
16289
+ },
16290
+ "sprint": {
16291
+ "description": "Select the default sprint",
16292
+ "name": "sprint",
16293
+ "allowNo": false,
16294
+ "type": "boolean"
16295
+ },
16296
+ "team": {
16297
+ "description": "Select the default team",
16298
+ "name": "team",
16299
+ "allowNo": false,
16300
+ "type": "boolean"
16301
16301
  }
16302
16302
  },
16303
16303
  "hasDynamicHelp": false,
16304
16304
  "hiddenAliases": [],
16305
- "id": "cicd:pipeline:stage-connection:update",
16305
+ "id": "cicd:project:default:unset",
16306
16306
  "pluginAlias": "@copado/agentia-cli",
16307
16307
  "pluginName": "@copado/agentia-cli",
16308
16308
  "pluginType": "core",
@@ -16313,9 +16313,9 @@
16313
16313
  "dist",
16314
16314
  "commands",
16315
16315
  "cicd",
16316
- "pipeline",
16317
- "stage-connection",
16318
- "update.js"
16316
+ "project",
16317
+ "default",
16318
+ "unset.js"
16319
16319
  ]
16320
16320
  },
16321
16321
  "cicd:promotion:conflict:get": {
@@ -17722,5 +17722,5 @@
17722
17722
  ]
17723
17723
  }
17724
17724
  },
17725
- "version": "0.120.0-alpha.0"
17725
+ "version": "0.122.0-alpha.0"
17726
17726
  }