@copado/agentia-cli 0.110.0-alpha.0 → 0.112.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.
@@ -116,6 +116,31 @@
116
116
  "update.js"
117
117
  ]
118
118
  },
119
+ "mcp:start": {
120
+ "aliases": [],
121
+ "args": {},
122
+ "description": "Start the local Agentia MCP server over stdio",
123
+ "examples": [
124
+ "<%= config.bin %> <%= command.id %>",
125
+ "<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
126
+ ],
127
+ "flags": {},
128
+ "hasDynamicHelp": false,
129
+ "hiddenAliases": [],
130
+ "id": "mcp:start",
131
+ "pluginAlias": "@copado/agentia-cli",
132
+ "pluginName": "@copado/agentia-cli",
133
+ "pluginType": "core",
134
+ "strict": true,
135
+ "enableJsonFlag": false,
136
+ "isESM": true,
137
+ "relativePath": [
138
+ "dist",
139
+ "commands",
140
+ "mcp",
141
+ "start.js"
142
+ ]
143
+ },
119
144
  "auth:get": {
120
145
  "aliases": [],
121
146
  "args": {},
@@ -378,31 +403,6 @@
378
403
  "unset.js"
379
404
  ]
380
405
  },
381
- "mcp:start": {
382
- "aliases": [],
383
- "args": {},
384
- "description": "Start the local Agentia MCP server over stdio",
385
- "examples": [
386
- "<%= config.bin %> <%= command.id %>",
387
- "<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
388
- ],
389
- "flags": {},
390
- "hasDynamicHelp": false,
391
- "hiddenAliases": [],
392
- "id": "mcp:start",
393
- "pluginAlias": "@copado/agentia-cli",
394
- "pluginName": "@copado/agentia-cli",
395
- "pluginType": "core",
396
- "strict": true,
397
- "enableJsonFlag": false,
398
- "isESM": true,
399
- "relativePath": [
400
- "dist",
401
- "commands",
402
- "mcp",
403
- "start.js"
404
- ]
405
- },
406
406
  "testing:create": {
407
407
  "aliases": [],
408
408
  "args": {},
@@ -2846,6 +2846,118 @@
2846
2846
  "upsert.js"
2847
2847
  ]
2848
2848
  },
2849
+ "cicd:notification:configure": {
2850
+ "aliases": [],
2851
+ "args": {},
2852
+ "description": "Configure one Slack notification subscription for the current user on a pipeline",
2853
+ "examples": [
2854
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --event Promotion_Failed --destination-type user --destination-id U0123ABCD --subscription user",
2855
+ "<%= config.bin %> <%= command.id %> -p <pipeline-id> --event Commit_Failed --destination-type channel --destination-id C0123ABCD --subscription all",
2856
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --event \"Test_Not Started\" --destination-type user --destination-id @jane --subscription user --json"
2857
+ ],
2858
+ "flags": {
2859
+ "json": {
2860
+ "description": "Format output as json.",
2861
+ "helpGroup": "GLOBAL",
2862
+ "name": "json",
2863
+ "allowNo": false,
2864
+ "type": "boolean"
2865
+ },
2866
+ "destination-id": {
2867
+ "description": "Slack user or channel id or name",
2868
+ "name": "destination-id",
2869
+ "required": true,
2870
+ "hasDynamicHelp": false,
2871
+ "multiple": false,
2872
+ "type": "option"
2873
+ },
2874
+ "destination-type": {
2875
+ "description": "Slack destination type",
2876
+ "name": "destination-type",
2877
+ "required": true,
2878
+ "hasDynamicHelp": false,
2879
+ "multiple": false,
2880
+ "options": [
2881
+ "user",
2882
+ "channel"
2883
+ ],
2884
+ "type": "option"
2885
+ },
2886
+ "event": {
2887
+ "description": "Notification event",
2888
+ "name": "event",
2889
+ "required": true,
2890
+ "hasDynamicHelp": false,
2891
+ "multiple": false,
2892
+ "options": [
2893
+ "Promotion_Success",
2894
+ "Promotion_Failed",
2895
+ "Promotion_Conflict",
2896
+ "Failed_Promotion_Creation",
2897
+ "Deploy_Success",
2898
+ "Deploy_Failed",
2899
+ "Commit_Failed",
2900
+ "Successful_Snapshot",
2901
+ "Failed_Snapshot",
2902
+ "ManualTask_Assigned",
2903
+ "Test_Success",
2904
+ "Test_Failed",
2905
+ "Test_Cancelled",
2906
+ "Test_Not Started",
2907
+ "Quality_Gate_Success",
2908
+ "Quality_Gate_Failed",
2909
+ "Quality_Gate_Cancelled",
2910
+ "Quality_Gate_Not Started",
2911
+ "Create_Package_Success",
2912
+ "Create_Package_Failure",
2913
+ "Generate_Package_Version_Success",
2914
+ "Generate_Package_Version_Failure",
2915
+ "Import_Package_Success",
2916
+ "Import_Package_Failure",
2917
+ "Publish_Package_Success",
2918
+ "Publish_Package_Failure"
2919
+ ],
2920
+ "type": "option"
2921
+ },
2922
+ "pipeline-id": {
2923
+ "char": "p",
2924
+ "description": "Copado pipeline Salesforce Id",
2925
+ "name": "pipeline-id",
2926
+ "required": true,
2927
+ "hasDynamicHelp": false,
2928
+ "multiple": false,
2929
+ "type": "option"
2930
+ },
2931
+ "subscription": {
2932
+ "description": "Notification audience for this event",
2933
+ "name": "subscription",
2934
+ "required": true,
2935
+ "hasDynamicHelp": false,
2936
+ "multiple": false,
2937
+ "options": [
2938
+ "user",
2939
+ "all"
2940
+ ],
2941
+ "type": "option"
2942
+ }
2943
+ },
2944
+ "hasDynamicHelp": false,
2945
+ "hiddenAliases": [],
2946
+ "id": "cicd:notification:configure",
2947
+ "pluginAlias": "@copado/agentia-cli",
2948
+ "pluginName": "@copado/agentia-cli",
2949
+ "pluginType": "core",
2950
+ "strict": true,
2951
+ "enableJsonFlag": true,
2952
+ "isESM": true,
2953
+ "relativePath": [
2954
+ "dist",
2955
+ "commands",
2956
+ "cicd",
2957
+ "notification",
2958
+ "configure.js"
2959
+ ]
2960
+ },
2849
2961
  "cicd:job:get": {
2850
2962
  "aliases": [],
2851
2963
  "args": {
@@ -3190,14 +3302,20 @@
3190
3302
  "run.js"
3191
3303
  ]
3192
3304
  },
3193
- "cicd:notification:configure": {
3305
+ "cicd:pipeline:create": {
3194
3306
  "aliases": [],
3195
- "args": {},
3196
- "description": "Configure one Slack notification subscription for the current user on a pipeline",
3307
+ "args": {
3308
+ "name": {
3309
+ "description": "Name of the Copado pipeline to create",
3310
+ "name": "name",
3311
+ "required": true
3312
+ }
3313
+ },
3314
+ "description": "Create a Copado pipeline",
3197
3315
  "examples": [
3198
- "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --event Promotion_Failed --destination-type user --destination-id U0123ABCD --subscription user",
3199
- "<%= config.bin %> <%= command.id %> -p <pipeline-id> --event Commit_Failed --destination-type channel --destination-id C0123ABCD --subscription all",
3200
- "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --event \"Test_Not Started\" --destination-type user --destination-id @jane --subscription user --json"
3316
+ "<%= config.bin %> <%= command.id %> \"Dev Pipeline\"",
3317
+ "<%= config.bin %> <%= command.id %> \"Dev Pipeline\" --platform SFDX --main-branch main --active",
3318
+ "<%= config.bin %> <%= command.id %> \"Dev Pipeline\" --json"
3201
3319
  ],
3202
3320
  "flags": {
3203
3321
  "json": {
@@ -3207,163 +3325,45 @@
3207
3325
  "allowNo": false,
3208
3326
  "type": "boolean"
3209
3327
  },
3210
- "destination-id": {
3211
- "description": "Slack user or channel id or name",
3212
- "name": "destination-id",
3213
- "required": true,
3328
+ "active": {
3329
+ "description": "Whether the pipeline is active",
3330
+ "name": "active",
3331
+ "allowNo": true,
3332
+ "type": "boolean"
3333
+ },
3334
+ "block-commits": {
3335
+ "description": "Block commits on the pipeline",
3336
+ "name": "block-commits",
3337
+ "allowNo": true,
3338
+ "type": "boolean"
3339
+ },
3340
+ "enable-smart-conflict-resolution": {
3341
+ "description": "Enable smart conflict resolution",
3342
+ "name": "enable-smart-conflict-resolution",
3343
+ "allowNo": true,
3344
+ "type": "boolean"
3345
+ },
3346
+ "calculate-based-on": {
3347
+ "description": "Promotion calculation basis",
3348
+ "name": "calculate-based-on",
3214
3349
  "hasDynamicHelp": false,
3215
3350
  "multiple": false,
3351
+ "options": [
3352
+ "User Story",
3353
+ "Branch"
3354
+ ],
3216
3355
  "type": "option"
3217
3356
  },
3218
- "destination-type": {
3219
- "description": "Slack destination type",
3220
- "name": "destination-type",
3221
- "required": true,
3357
+ "git-repository-id": {
3358
+ "description": "Git repository ID",
3359
+ "name": "git-repository-id",
3222
3360
  "hasDynamicHelp": false,
3223
3361
  "multiple": false,
3224
- "options": [
3225
- "user",
3226
- "channel"
3227
- ],
3228
3362
  "type": "option"
3229
3363
  },
3230
- "event": {
3231
- "description": "Notification event",
3232
- "name": "event",
3233
- "required": true,
3234
- "hasDynamicHelp": false,
3235
- "multiple": false,
3236
- "options": [
3237
- "Promotion_Success",
3238
- "Promotion_Failed",
3239
- "Promotion_Conflict",
3240
- "Failed_Promotion_Creation",
3241
- "Deploy_Success",
3242
- "Deploy_Failed",
3243
- "Commit_Failed",
3244
- "Successful_Snapshot",
3245
- "Failed_Snapshot",
3246
- "ManualTask_Assigned",
3247
- "Test_Success",
3248
- "Test_Failed",
3249
- "Test_Cancelled",
3250
- "Test_Not Started",
3251
- "Quality_Gate_Success",
3252
- "Quality_Gate_Failed",
3253
- "Quality_Gate_Cancelled",
3254
- "Quality_Gate_Not Started",
3255
- "Create_Package_Success",
3256
- "Create_Package_Failure",
3257
- "Generate_Package_Version_Success",
3258
- "Generate_Package_Version_Failure",
3259
- "Import_Package_Success",
3260
- "Import_Package_Failure",
3261
- "Publish_Package_Success",
3262
- "Publish_Package_Failure"
3263
- ],
3264
- "type": "option"
3265
- },
3266
- "pipeline-id": {
3267
- "char": "p",
3268
- "description": "Copado pipeline Salesforce Id",
3269
- "name": "pipeline-id",
3270
- "required": true,
3271
- "hasDynamicHelp": false,
3272
- "multiple": false,
3273
- "type": "option"
3274
- },
3275
- "subscription": {
3276
- "description": "Notification audience for this event",
3277
- "name": "subscription",
3278
- "required": true,
3279
- "hasDynamicHelp": false,
3280
- "multiple": false,
3281
- "options": [
3282
- "user",
3283
- "all"
3284
- ],
3285
- "type": "option"
3286
- }
3287
- },
3288
- "hasDynamicHelp": false,
3289
- "hiddenAliases": [],
3290
- "id": "cicd:notification:configure",
3291
- "pluginAlias": "@copado/agentia-cli",
3292
- "pluginName": "@copado/agentia-cli",
3293
- "pluginType": "core",
3294
- "strict": true,
3295
- "enableJsonFlag": true,
3296
- "isESM": true,
3297
- "relativePath": [
3298
- "dist",
3299
- "commands",
3300
- "cicd",
3301
- "notification",
3302
- "configure.js"
3303
- ]
3304
- },
3305
- "cicd:pipeline:create": {
3306
- "aliases": [],
3307
- "args": {
3308
- "name": {
3309
- "description": "Name of the Copado pipeline to create",
3310
- "name": "name",
3311
- "required": true
3312
- }
3313
- },
3314
- "description": "Create a Copado pipeline",
3315
- "examples": [
3316
- "<%= config.bin %> <%= command.id %> \"Dev Pipeline\"",
3317
- "<%= config.bin %> <%= command.id %> \"Dev Pipeline\" --platform SFDX --main-branch main --active",
3318
- "<%= config.bin %> <%= command.id %> \"Dev Pipeline\" --json"
3319
- ],
3320
- "flags": {
3321
- "json": {
3322
- "description": "Format output as json.",
3323
- "helpGroup": "GLOBAL",
3324
- "name": "json",
3325
- "allowNo": false,
3326
- "type": "boolean"
3327
- },
3328
- "active": {
3329
- "description": "Whether the pipeline is active",
3330
- "name": "active",
3331
- "allowNo": true,
3332
- "type": "boolean"
3333
- },
3334
- "block-commits": {
3335
- "description": "Block commits on the pipeline",
3336
- "name": "block-commits",
3337
- "allowNo": true,
3338
- "type": "boolean"
3339
- },
3340
- "enable-smart-conflict-resolution": {
3341
- "description": "Enable smart conflict resolution",
3342
- "name": "enable-smart-conflict-resolution",
3343
- "allowNo": true,
3344
- "type": "boolean"
3345
- },
3346
- "calculate-based-on": {
3347
- "description": "Promotion calculation basis",
3348
- "name": "calculate-based-on",
3349
- "hasDynamicHelp": false,
3350
- "multiple": false,
3351
- "options": [
3352
- "User Story",
3353
- "Branch"
3354
- ],
3355
- "type": "option"
3356
- },
3357
- "git-repository-id": {
3358
- "description": "Git repository ID",
3359
- "name": "git-repository-id",
3360
- "hasDynamicHelp": false,
3361
- "multiple": false,
3362
- "type": "option"
3363
- },
3364
- "main-branch": {
3365
- "description": "Main branch name",
3366
- "name": "main-branch",
3364
+ "main-branch": {
3365
+ "description": "Main branch name",
3366
+ "name": "main-branch",
3367
3367
  "hasDynamicHelp": false,
3368
3368
  "multiple": false,
3369
3369
  "type": "option"
@@ -5246,19 +5246,23 @@
5246
5246
  "update.js"
5247
5247
  ]
5248
5248
  },
5249
- "testing:build:abort": {
5249
+ "cicd:work:commit": {
5250
5250
  "aliases": [],
5251
5251
  "args": {
5252
5252
  "id": {
5253
- "description": "CRT build/run ID.",
5253
+ "description": "User story ID (defaults to the active work item from `work set`)",
5254
5254
  "name": "id",
5255
- "required": true
5255
+ "required": false
5256
5256
  }
5257
5257
  },
5258
- "description": "Abort a Copado Robotic Testing build/run",
5258
+ "description": "Commit user story work locally or through the Copado cloud commit API. With --local (the default) it runs a plain git commit and records the Copado selections lastPermissionSelected, lastFullMetadataSelected, and lastApexTestClassesSelected in .agentia/config.user.json for `cicd work push`. With --cloud it preflights the story, submits POST /release/commit, and polls the job monitor by default.",
5259
5259
  "examples": [
5260
- "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
5261
- "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --json"
5260
+ "<%= config.bin %> <%= command.id %> --local --all",
5261
+ "<%= config.bin %> <%= command.id %> --local -a -m \"US-0000001 add account service\" --permissions CustomField:Account.SLA__c,ApexClass:AccountService --apex-test-classes MyTest,OtherTest",
5262
+ "<%= config.bin %> <%= command.id %> --local -a -m \"US-0000001 full onboarding permission set\" --full-metadata PermissionSet:Sales_Onboarding",
5263
+ "<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
5264
+ "<%= config.bin %> <%= command.id %> a07XXXXXXXXXXXXXXX --cloud --message \"Update Aura files\" --metadata-name accountEditor --metadata-type AuraDefinitionBundle --metadata-category SFDX --action SelectiveCommit --selection accountEditor/accountEditor.cmp --selection accountEditor/accountEditorController.js",
5265
+ "cat commit-request.json | <%= config.bin %> <%= command.id %> --cloud --stdin --json"
5262
5266
  ],
5263
5267
  "flags": {
5264
5268
  "json": {
@@ -5268,272 +5272,172 @@
5268
5272
  "allowNo": false,
5269
5273
  "type": "boolean"
5270
5274
  },
5271
- "project": {
5272
- "char": "p",
5273
- "description": "CRT project ID.",
5274
- "name": "project",
5275
- "required": true,
5275
+ "action": {
5276
+ "description": "Metadata action for simple flag input. Defaults to Add.",
5277
+ "name": "action",
5276
5278
  "hasDynamicHelp": false,
5277
5279
  "multiple": false,
5280
+ "options": [
5281
+ "Add",
5282
+ "Delete",
5283
+ "RetrieveOnly",
5284
+ "SelectiveCommit",
5285
+ "Full"
5286
+ ],
5278
5287
  "type": "option"
5279
5288
  },
5280
- "job": {
5281
- "char": "j",
5282
- "description": "CRT job/test ID.",
5283
- "name": "job",
5284
- "required": true,
5289
+ "all": {
5290
+ "char": "a",
5291
+ "description": "Local commit only. Stage every tracked modification before committing, like `git commit -a`.",
5292
+ "name": "all",
5293
+ "allowNo": false,
5294
+ "type": "boolean"
5295
+ },
5296
+ "apex-test-classes": {
5297
+ "description": "Local commit only. Comma-separated Apex test class names stored as lastApexTestClassesSelected for `cicd work push`. Pass an empty value to clear it.",
5298
+ "name": "apex-test-classes",
5285
5299
  "hasDynamicHelp": false,
5286
5300
  "multiple": false,
5287
5301
  "type": "option"
5288
- }
5289
- },
5290
- "hasDynamicHelp": false,
5291
- "hiddenAliases": [],
5292
- "id": "testing:build:abort",
5293
- "pluginAlias": "@copado/agentia-cli",
5294
- "pluginName": "@copado/agentia-cli",
5295
- "pluginType": "core",
5296
- "strict": true,
5297
- "enableJsonFlag": true,
5298
- "isESM": true,
5299
- "relativePath": [
5300
- "dist",
5301
- "commands",
5302
- "testing",
5303
- "build",
5304
- "abort.js"
5305
- ]
5306
- },
5307
- "testing:build:list": {
5308
- "aliases": [],
5309
- "args": {},
5310
- "description": "List Copado Robotic Testing builds/runs",
5311
- "examples": [
5312
- "<%= config.bin %> <%= command.id %> --project <project-id>",
5313
- "<%= config.bin %> <%= command.id %> --project <project-id> --job <job-id> --status succeeded --json"
5314
- ],
5315
- "flags": {
5316
- "json": {
5317
- "description": "Format output as json.",
5318
- "helpGroup": "GLOBAL",
5319
- "name": "json",
5302
+ },
5303
+ "base-branch": {
5304
+ "description": "Optional base branch to include in the commit request.",
5305
+ "name": "base-branch",
5306
+ "hasDynamicHelp": false,
5307
+ "multiple": false,
5308
+ "type": "option"
5309
+ },
5310
+ "cloud": {
5311
+ "description": "Use the Copado cloud commit API instead of a local git commit.",
5312
+ "name": "cloud",
5320
5313
  "allowNo": false,
5321
5314
  "type": "boolean"
5322
5315
  },
5323
- "project": {
5324
- "char": "p",
5325
- "description": "CRT project ID.",
5326
- "name": "project",
5327
- "required": true,
5316
+ "commit-id": {
5317
+ "description": "Existing local Git commit identifier to register when --no-execute-commit is used.",
5318
+ "name": "commit-id",
5328
5319
  "hasDynamicHelp": false,
5329
5320
  "multiple": false,
5330
5321
  "type": "option"
5331
5322
  },
5332
- "job": {
5333
- "description": "Limit builds to one CRT job/test ID.",
5334
- "name": "job",
5323
+ "execute-commit": {
5324
+ "description": "Execute the Copado commit job. Use --no-execute-commit only with --commit-id.",
5325
+ "name": "execute-commit",
5326
+ "allowNo": true,
5327
+ "type": "boolean"
5328
+ },
5329
+ "file": {
5330
+ "char": "f",
5331
+ "description": "Path to a JSON commit request body.",
5332
+ "name": "file",
5335
5333
  "hasDynamicHelp": false,
5336
5334
  "multiple": false,
5337
5335
  "type": "option"
5338
5336
  },
5339
- "result-size": {
5340
- "description": "CRT build result size.",
5341
- "name": "result-size",
5342
- "default": "compact",
5337
+ "full-metadata": {
5338
+ "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.",
5339
+ "name": "full-metadata",
5343
5340
  "hasDynamicHelp": false,
5344
5341
  "multiple": false,
5345
- "options": [
5346
- "compact"
5347
- ],
5348
5342
  "type": "option"
5349
5343
  },
5350
- "status": {
5351
- "description": "Build status filter.",
5352
- "name": "status",
5344
+ "local": {
5345
+ "description": "Run a local git commit and record Copado selections. Used by default when --cloud is omitted.",
5346
+ "name": "local",
5347
+ "allowNo": false,
5348
+ "type": "boolean"
5349
+ },
5350
+ "message": {
5351
+ "char": "m",
5352
+ "description": "Commit message. Defaults to \"<lastWorkItem> <lastWorkItemTitle>\" for a local commit; required for a cloud commit unless provided by JSON input.",
5353
+ "name": "message",
5353
5354
  "hasDynamicHelp": false,
5354
5355
  "multiple": false,
5355
- "options": [
5356
- "aborted",
5357
- "executing",
5358
- "failed",
5359
- "finished",
5360
- "queued",
5361
- "succeeded"
5362
- ],
5363
5356
  "type": "option"
5364
- }
5365
- },
5366
- "hasDynamicHelp": false,
5367
- "hiddenAliases": [],
5368
- "id": "testing:build:list",
5369
- "pluginAlias": "@copado/agentia-cli",
5370
- "pluginName": "@copado/agentia-cli",
5371
- "pluginType": "core",
5372
- "strict": true,
5373
- "enableJsonFlag": true,
5374
- "isESM": true,
5375
- "relativePath": [
5376
- "dist",
5377
- "commands",
5378
- "testing",
5379
- "build",
5380
- "list.js"
5381
- ]
5382
- },
5383
- "testing:build:logs": {
5384
- "aliases": [],
5385
- "args": {
5386
- "id": {
5387
- "description": "CRT build/run ID.",
5388
- "name": "id",
5389
- "required": true
5390
- }
5391
- },
5392
- "description": "Get logs for a Copado Robotic Testing build/run",
5393
- "examples": [
5394
- "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
5395
- "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --output log.html --json"
5396
- ],
5397
- "flags": {
5398
- "json": {
5399
- "description": "Format output as json.",
5400
- "helpGroup": "GLOBAL",
5401
- "name": "json",
5402
- "allowNo": false,
5403
- "type": "boolean"
5404
5357
  },
5405
- "project": {
5406
- "char": "p",
5407
- "description": "CRT project ID.",
5408
- "name": "project",
5409
- "required": true,
5358
+ "metadata-category": {
5359
+ "description": "Metadata category for simple input. Maps to change field c. For Salesforce metadata, always set SFDX so Copado stores c:SFDX. Omitting it omits c, and SFDX deploy steps log \"Salesforce changes not found.\" and skip the deploy while the job can still report Successful.",
5360
+ "name": "metadata-category",
5410
5361
  "hasDynamicHelp": false,
5411
5362
  "multiple": false,
5412
5363
  "type": "option"
5413
5364
  },
5414
- "job": {
5415
- "char": "j",
5416
- "description": "CRT job/test ID.",
5417
- "name": "job",
5418
- "required": true,
5365
+ "metadata-message": {
5366
+ "description": "Optional per-change message for simple flag input.",
5367
+ "name": "metadata-message",
5419
5368
  "hasDynamicHelp": false,
5420
5369
  "multiple": false,
5421
5370
  "type": "option"
5422
5371
  },
5423
- "output": {
5424
- "char": "o",
5425
- "description": "Write raw output to this file path.",
5426
- "name": "output",
5372
+ "metadata-name": {
5373
+ "description": "Metadata full name for simple flag input.",
5374
+ "name": "metadata-name",
5427
5375
  "hasDynamicHelp": false,
5428
5376
  "multiple": false,
5429
5377
  "type": "option"
5430
- }
5431
- },
5432
- "hasDynamicHelp": false,
5433
- "hiddenAliases": [],
5434
- "id": "testing:build:logs",
5435
- "pluginAlias": "@copado/agentia-cli",
5436
- "pluginName": "@copado/agentia-cli",
5437
- "pluginType": "core",
5438
- "strict": true,
5439
- "enableJsonFlag": true,
5440
- "isESM": true,
5441
- "relativePath": [
5442
- "dist",
5443
- "commands",
5444
- "testing",
5445
- "build",
5446
- "logs.js"
5447
- ]
5448
- },
5449
- "testing:build:run": {
5450
- "aliases": [],
5451
- "args": {
5452
- "id": {
5453
- "description": "CRT job/test ID to run.",
5454
- "name": "id",
5455
- "required": true
5456
- }
5457
- },
5458
- "description": "Run a Copado Robotic Testing job/test",
5459
- "examples": [
5460
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
5461
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
5462
- "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
5463
- ],
5464
- "flags": {
5465
- "json": {
5466
- "description": "Format output as json.",
5467
- "helpGroup": "GLOBAL",
5468
- "name": "json",
5469
- "allowNo": false,
5470
- "type": "boolean"
5471
5378
  },
5472
- "project": {
5473
- "char": "p",
5474
- "description": "CRT project ID.",
5475
- "name": "project",
5476
- "required": true,
5379
+ "metadata-raw-json": {
5380
+ "description": "Optional raw metadata JSON value for simple flag input.",
5381
+ "name": "metadata-raw-json",
5477
5382
  "hasDynamicHelp": false,
5478
5383
  "multiple": false,
5479
5384
  "type": "option"
5480
5385
  },
5481
- "branch": {
5482
- "description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
5483
- "name": "branch",
5386
+ "metadata-type": {
5387
+ "description": "Metadata type for simple flag input, for example ApexClass.",
5388
+ "name": "metadata-type",
5484
5389
  "hasDynamicHelp": false,
5485
5390
  "multiple": false,
5486
5391
  "type": "option"
5487
5392
  },
5488
- "exclude": {
5489
- "description": "Robot Framework tag to exclude from this run. Can be provided multiple times.",
5490
- "name": "exclude",
5491
- "hasDynamicHelp": false,
5492
- "multiple": true,
5493
- "type": "option"
5494
- },
5495
- "include": {
5496
- "description": "Robot Framework tag to include in this run. Can be provided multiple times.",
5497
- "name": "include",
5498
- "hasDynamicHelp": false,
5499
- "multiple": true,
5500
- "type": "option"
5501
- },
5502
- "param": {
5503
- "description": "Execution parameter in KEY=VALUE format. Can be provided multiple times.",
5504
- "name": "param",
5393
+ "permissions": {
5394
+ "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.",
5395
+ "name": "permissions",
5505
5396
  "hasDynamicHelp": false,
5506
- "multiple": true,
5397
+ "multiple": false,
5507
5398
  "type": "option"
5508
5399
  },
5509
- "record": {
5510
- "description": "CRT execution recording mode.",
5511
- "name": "record",
5400
+ "platform-experience": {
5401
+ "description": "Initial platform-experience header for preflight. The preflight response wins for commit.",
5402
+ "name": "platform-experience",
5403
+ "default": "sfdx",
5512
5404
  "hasDynamicHelp": false,
5513
5405
  "multiple": false,
5514
5406
  "options": [
5515
- "all",
5516
- "failed",
5517
- "none"
5407
+ "sfdx",
5408
+ "salesforce"
5518
5409
  ],
5519
5410
  "type": "option"
5520
5411
  },
5521
- "rerun-failed": {
5522
- "description": "Rerun failed tests from the specified build/run ID. Mutually exclusive with --rerun-failed-from-latest.",
5523
- "name": "rerun-failed",
5412
+ "recreate-feature-branch": {
5413
+ "description": "Ask Copado to recreate the feature branch before committing.",
5414
+ "name": "recreate-feature-branch",
5415
+ "allowNo": false,
5416
+ "type": "boolean"
5417
+ },
5418
+ "selection": {
5419
+ "description": "Selected file inside a bundle for SelectiveCommit. Can be provided multiple times.",
5420
+ "name": "selection",
5524
5421
  "hasDynamicHelp": false,
5525
- "multiple": false,
5422
+ "multiple": true,
5526
5423
  "type": "option"
5527
5424
  },
5528
- "rerun-failed-from-latest": {
5529
- "description": "Rerun failed tests from the latest failed run. Mutually exclusive with --rerun-failed.",
5530
- "name": "rerun-failed-from-latest",
5425
+ "stdin": {
5426
+ "description": "Read a JSON commit request body from stdin.",
5427
+ "name": "stdin",
5531
5428
  "allowNo": false,
5532
5429
  "type": "boolean"
5533
5430
  },
5534
- "tag": {
5535
- "description": "Git tag to use for this run. Mutually exclusive with --branch.",
5536
- "name": "tag",
5431
+ "wait": {
5432
+ "description": "Poll the commit job to a terminal status when a jobExecution Id is returned.",
5433
+ "name": "wait",
5434
+ "allowNo": true,
5435
+ "type": "boolean"
5436
+ },
5437
+ "wait-timeout": {
5438
+ "description": "Maximum seconds to wait for the commit job.",
5439
+ "name": "wait-timeout",
5440
+ "default": 300,
5537
5441
  "hasDynamicHelp": false,
5538
5442
  "multiple": false,
5539
5443
  "type": "option"
@@ -5541,7 +5445,7 @@
5541
5445
  },
5542
5446
  "hasDynamicHelp": false,
5543
5447
  "hiddenAliases": [],
5544
- "id": "testing:build:run",
5448
+ "id": "cicd:work:commit",
5545
5449
  "pluginAlias": "@copado/agentia-cli",
5546
5450
  "pluginName": "@copado/agentia-cli",
5547
5451
  "pluginType": "core",
@@ -5551,28 +5455,18 @@
5551
5455
  "relativePath": [
5552
5456
  "dist",
5553
5457
  "commands",
5554
- "testing",
5555
- "build",
5556
- "run.js"
5458
+ "cicd",
5459
+ "work",
5460
+ "commit.js"
5557
5461
  ]
5558
5462
  },
5559
- "cicd:work:commit": {
5463
+ "cicd:work:create": {
5560
5464
  "aliases": [],
5561
- "args": {
5562
- "id": {
5563
- "description": "User story ID (defaults to the active work item from `work set`)",
5564
- "name": "id",
5565
- "required": false
5566
- }
5567
- },
5568
- "description": "Commit user story work locally or through the Copado cloud commit API. With --local (the default) it runs a plain git commit and records the Copado selections lastPermissionSelected, lastFullMetadataSelected, and lastApexTestClassesSelected in .agentia/config.user.json for `cicd work push`. With --cloud it preflights the story, submits POST /release/commit, and polls the job monitor by default.",
5465
+ "args": {},
5466
+ "description": "Create a Copado user story",
5569
5467
  "examples": [
5570
- "<%= config.bin %> <%= command.id %> --local --all",
5571
- "<%= config.bin %> <%= command.id %> --local -a -m \"US-0000001 add account service\" --permissions CustomField:Account.SLA__c,ApexClass:AccountService --apex-test-classes MyTest,OtherTest",
5572
- "<%= config.bin %> <%= command.id %> --local -a -m \"US-0000001 full onboarding permission set\" --full-metadata PermissionSet:Sales_Onboarding",
5573
- "<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
5574
- "<%= config.bin %> <%= command.id %> a07XXXXXXXXXXXXXXX --cloud --message \"Update Aura files\" --metadata-name accountEditor --metadata-type AuraDefinitionBundle --metadata-category SFDX --action SelectiveCommit --selection accountEditor/accountEditor.cmp --selection accountEditor/accountEditorController.js",
5575
- "cat commit-request.json | <%= config.bin %> <%= command.id %> --cloud --stdin --json"
5468
+ "<%= config.bin %> <%= command.id %> --title \"My story\" --status Draft",
5469
+ "<%= config.bin %> <%= command.id %> --title \"My story\" --json"
5576
5470
  ],
5577
5471
  "flags": {
5578
5472
  "json": {
@@ -5582,240 +5476,36 @@
5582
5476
  "allowNo": false,
5583
5477
  "type": "boolean"
5584
5478
  },
5585
- "action": {
5586
- "description": "Metadata action for simple flag input. Defaults to Add.",
5587
- "name": "action",
5479
+ "excluded-from-cbm": {
5480
+ "description": "Exclude from CBM",
5481
+ "name": "excluded-from-cbm",
5482
+ "allowNo": true,
5483
+ "type": "boolean"
5484
+ },
5485
+ "actual-points": {
5486
+ "description": "Actual points",
5487
+ "name": "actual-points",
5588
5488
  "hasDynamicHelp": false,
5589
5489
  "multiple": false,
5590
- "options": [
5591
- "Add",
5592
- "Delete",
5593
- "RetrieveOnly",
5594
- "SelectiveCommit",
5595
- "Full"
5596
- ],
5597
5490
  "type": "option"
5598
5491
  },
5599
- "all": {
5600
- "char": "a",
5601
- "description": "Local commit only. Stage every tracked modification before committing, like `git commit -a`.",
5602
- "name": "all",
5603
- "allowNo": false,
5604
- "type": "boolean"
5605
- },
5606
- "apex-test-classes": {
5607
- "description": "Local commit only. Comma-separated Apex test class names stored as lastApexTestClassesSelected for `cicd work push`. Pass an empty value to clear it.",
5608
- "name": "apex-test-classes",
5492
+ "planned-points": {
5493
+ "description": "Planned points",
5494
+ "name": "planned-points",
5609
5495
  "hasDynamicHelp": false,
5610
5496
  "multiple": false,
5611
5497
  "type": "option"
5612
5498
  },
5613
- "base-branch": {
5614
- "description": "Optional base branch to include in the commit request.",
5615
- "name": "base-branch",
5499
+ "priority": {
5500
+ "description": "Priority",
5501
+ "name": "priority",
5616
5502
  "hasDynamicHelp": false,
5617
5503
  "multiple": false,
5618
5504
  "type": "option"
5619
5505
  },
5620
- "cloud": {
5621
- "description": "Use the Copado cloud commit API instead of a local git commit.",
5622
- "name": "cloud",
5623
- "allowNo": false,
5624
- "type": "boolean"
5625
- },
5626
- "commit-id": {
5627
- "description": "Existing local Git commit identifier to register when --no-execute-commit is used.",
5628
- "name": "commit-id",
5629
- "hasDynamicHelp": false,
5630
- "multiple": false,
5631
- "type": "option"
5632
- },
5633
- "execute-commit": {
5634
- "description": "Execute the Copado commit job. Use --no-execute-commit only with --commit-id.",
5635
- "name": "execute-commit",
5636
- "allowNo": true,
5637
- "type": "boolean"
5638
- },
5639
- "file": {
5640
- "char": "f",
5641
- "description": "Path to a JSON commit request body.",
5642
- "name": "file",
5643
- "hasDynamicHelp": false,
5644
- "multiple": false,
5645
- "type": "option"
5646
- },
5647
- "full-metadata": {
5648
- "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.",
5649
- "name": "full-metadata",
5650
- "hasDynamicHelp": false,
5651
- "multiple": false,
5652
- "type": "option"
5653
- },
5654
- "local": {
5655
- "description": "Run a local git commit and record Copado selections. Used by default when --cloud is omitted.",
5656
- "name": "local",
5657
- "allowNo": false,
5658
- "type": "boolean"
5659
- },
5660
- "message": {
5661
- "char": "m",
5662
- "description": "Commit message. Defaults to \"<lastWorkItem> <lastWorkItemTitle>\" for a local commit; required for a cloud commit unless provided by JSON input.",
5663
- "name": "message",
5664
- "hasDynamicHelp": false,
5665
- "multiple": false,
5666
- "type": "option"
5667
- },
5668
- "metadata-category": {
5669
- "description": "Metadata category for simple input. Maps to change field c. For Salesforce metadata, always set SFDX so Copado stores c:SFDX. Omitting it omits c, and SFDX deploy steps log \"Salesforce changes not found.\" and skip the deploy while the job can still report Successful.",
5670
- "name": "metadata-category",
5671
- "hasDynamicHelp": false,
5672
- "multiple": false,
5673
- "type": "option"
5674
- },
5675
- "metadata-message": {
5676
- "description": "Optional per-change message for simple flag input.",
5677
- "name": "metadata-message",
5678
- "hasDynamicHelp": false,
5679
- "multiple": false,
5680
- "type": "option"
5681
- },
5682
- "metadata-name": {
5683
- "description": "Metadata full name for simple flag input.",
5684
- "name": "metadata-name",
5685
- "hasDynamicHelp": false,
5686
- "multiple": false,
5687
- "type": "option"
5688
- },
5689
- "metadata-raw-json": {
5690
- "description": "Optional raw metadata JSON value for simple flag input.",
5691
- "name": "metadata-raw-json",
5692
- "hasDynamicHelp": false,
5693
- "multiple": false,
5694
- "type": "option"
5695
- },
5696
- "metadata-type": {
5697
- "description": "Metadata type for simple flag input, for example ApexClass.",
5698
- "name": "metadata-type",
5699
- "hasDynamicHelp": false,
5700
- "multiple": false,
5701
- "type": "option"
5702
- },
5703
- "permissions": {
5704
- "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.",
5705
- "name": "permissions",
5706
- "hasDynamicHelp": false,
5707
- "multiple": false,
5708
- "type": "option"
5709
- },
5710
- "platform-experience": {
5711
- "description": "Initial platform-experience header for preflight. The preflight response wins for commit.",
5712
- "name": "platform-experience",
5713
- "default": "sfdx",
5714
- "hasDynamicHelp": false,
5715
- "multiple": false,
5716
- "options": [
5717
- "sfdx",
5718
- "salesforce"
5719
- ],
5720
- "type": "option"
5721
- },
5722
- "recreate-feature-branch": {
5723
- "description": "Ask Copado to recreate the feature branch before committing.",
5724
- "name": "recreate-feature-branch",
5725
- "allowNo": false,
5726
- "type": "boolean"
5727
- },
5728
- "selection": {
5729
- "description": "Selected file inside a bundle for SelectiveCommit. Can be provided multiple times.",
5730
- "name": "selection",
5731
- "hasDynamicHelp": false,
5732
- "multiple": true,
5733
- "type": "option"
5734
- },
5735
- "stdin": {
5736
- "description": "Read a JSON commit request body from stdin.",
5737
- "name": "stdin",
5738
- "allowNo": false,
5739
- "type": "boolean"
5740
- },
5741
- "wait": {
5742
- "description": "Poll the commit job to a terminal status when a jobExecution Id is returned.",
5743
- "name": "wait",
5744
- "allowNo": true,
5745
- "type": "boolean"
5746
- },
5747
- "wait-timeout": {
5748
- "description": "Maximum seconds to wait for the commit job.",
5749
- "name": "wait-timeout",
5750
- "default": 300,
5751
- "hasDynamicHelp": false,
5752
- "multiple": false,
5753
- "type": "option"
5754
- }
5755
- },
5756
- "hasDynamicHelp": false,
5757
- "hiddenAliases": [],
5758
- "id": "cicd:work:commit",
5759
- "pluginAlias": "@copado/agentia-cli",
5760
- "pluginName": "@copado/agentia-cli",
5761
- "pluginType": "core",
5762
- "strict": true,
5763
- "enableJsonFlag": true,
5764
- "isESM": true,
5765
- "relativePath": [
5766
- "dist",
5767
- "commands",
5768
- "cicd",
5769
- "work",
5770
- "commit.js"
5771
- ]
5772
- },
5773
- "cicd:work:create": {
5774
- "aliases": [],
5775
- "args": {},
5776
- "description": "Create a Copado user story",
5777
- "examples": [
5778
- "<%= config.bin %> <%= command.id %> --title \"My story\" --status Draft",
5779
- "<%= config.bin %> <%= command.id %> --title \"My story\" --json"
5780
- ],
5781
- "flags": {
5782
- "json": {
5783
- "description": "Format output as json.",
5784
- "helpGroup": "GLOBAL",
5785
- "name": "json",
5786
- "allowNo": false,
5787
- "type": "boolean"
5788
- },
5789
- "excluded-from-cbm": {
5790
- "description": "Exclude from CBM",
5791
- "name": "excluded-from-cbm",
5792
- "allowNo": true,
5793
- "type": "boolean"
5794
- },
5795
- "actual-points": {
5796
- "description": "Actual points",
5797
- "name": "actual-points",
5798
- "hasDynamicHelp": false,
5799
- "multiple": false,
5800
- "type": "option"
5801
- },
5802
- "planned-points": {
5803
- "description": "Planned points",
5804
- "name": "planned-points",
5805
- "hasDynamicHelp": false,
5806
- "multiple": false,
5807
- "type": "option"
5808
- },
5809
- "priority": {
5810
- "description": "Priority",
5811
- "name": "priority",
5812
- "hasDynamicHelp": false,
5813
- "multiple": false,
5814
- "type": "option"
5815
- },
5816
- "acceptance-criteria": {
5817
- "description": "Acceptance criteria",
5818
- "name": "acceptance-criteria",
5506
+ "acceptance-criteria": {
5507
+ "description": "Acceptance criteria",
5508
+ "name": "acceptance-criteria",
5819
5509
  "hasDynamicHelp": false,
5820
5510
  "multiple": false,
5821
5511
  "type": "option"
@@ -6809,58 +6499,368 @@
6809
6499
  "multiple": false,
6810
6500
  "type": "option"
6811
6501
  },
6812
- "source-environment": {
6813
- "description": "Source environment ID",
6814
- "name": "source-environment",
6502
+ "source-environment": {
6503
+ "description": "Source environment ID",
6504
+ "name": "source-environment",
6505
+ "hasDynamicHelp": false,
6506
+ "multiple": false,
6507
+ "type": "option"
6508
+ },
6509
+ "sprint-id": {
6510
+ "description": "Sprint ID",
6511
+ "name": "sprint-id",
6512
+ "hasDynamicHelp": false,
6513
+ "multiple": false,
6514
+ "type": "option"
6515
+ },
6516
+ "status": {
6517
+ "description": "Status",
6518
+ "name": "status",
6519
+ "hasDynamicHelp": false,
6520
+ "multiple": false,
6521
+ "type": "option"
6522
+ },
6523
+ "team": {
6524
+ "description": "Team",
6525
+ "name": "team",
6526
+ "hasDynamicHelp": false,
6527
+ "multiple": false,
6528
+ "type": "option"
6529
+ },
6530
+ "technical-specifications": {
6531
+ "description": "Technical specifications",
6532
+ "name": "technical-specifications",
6533
+ "hasDynamicHelp": false,
6534
+ "multiple": false,
6535
+ "type": "option"
6536
+ },
6537
+ "theme": {
6538
+ "description": "Theme",
6539
+ "name": "theme",
6540
+ "hasDynamicHelp": false,
6541
+ "multiple": false,
6542
+ "type": "option"
6543
+ },
6544
+ "title": {
6545
+ "description": "Title",
6546
+ "name": "title",
6547
+ "hasDynamicHelp": false,
6548
+ "multiple": false,
6549
+ "type": "option"
6550
+ },
6551
+ "want-to": {
6552
+ "description": "User story \"want to\" clause",
6553
+ "name": "want-to",
6554
+ "hasDynamicHelp": false,
6555
+ "multiple": false,
6556
+ "type": "option"
6557
+ }
6558
+ },
6559
+ "hasDynamicHelp": false,
6560
+ "hiddenAliases": [],
6561
+ "id": "cicd:work:update",
6562
+ "pluginAlias": "@copado/agentia-cli",
6563
+ "pluginName": "@copado/agentia-cli",
6564
+ "pluginType": "core",
6565
+ "strict": true,
6566
+ "enableJsonFlag": true,
6567
+ "isESM": true,
6568
+ "relativePath": [
6569
+ "dist",
6570
+ "commands",
6571
+ "cicd",
6572
+ "work",
6573
+ "update.js"
6574
+ ]
6575
+ },
6576
+ "testing:build:abort": {
6577
+ "aliases": [],
6578
+ "args": {
6579
+ "id": {
6580
+ "description": "CRT build/run ID.",
6581
+ "name": "id",
6582
+ "required": true
6583
+ }
6584
+ },
6585
+ "description": "Abort a Copado Robotic Testing build/run",
6586
+ "examples": [
6587
+ "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
6588
+ "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --json"
6589
+ ],
6590
+ "flags": {
6591
+ "json": {
6592
+ "description": "Format output as json.",
6593
+ "helpGroup": "GLOBAL",
6594
+ "name": "json",
6595
+ "allowNo": false,
6596
+ "type": "boolean"
6597
+ },
6598
+ "project": {
6599
+ "char": "p",
6600
+ "description": "CRT project ID.",
6601
+ "name": "project",
6602
+ "required": true,
6603
+ "hasDynamicHelp": false,
6604
+ "multiple": false,
6605
+ "type": "option"
6606
+ },
6607
+ "job": {
6608
+ "char": "j",
6609
+ "description": "CRT job/test ID.",
6610
+ "name": "job",
6611
+ "required": true,
6612
+ "hasDynamicHelp": false,
6613
+ "multiple": false,
6614
+ "type": "option"
6615
+ }
6616
+ },
6617
+ "hasDynamicHelp": false,
6618
+ "hiddenAliases": [],
6619
+ "id": "testing:build:abort",
6620
+ "pluginAlias": "@copado/agentia-cli",
6621
+ "pluginName": "@copado/agentia-cli",
6622
+ "pluginType": "core",
6623
+ "strict": true,
6624
+ "enableJsonFlag": true,
6625
+ "isESM": true,
6626
+ "relativePath": [
6627
+ "dist",
6628
+ "commands",
6629
+ "testing",
6630
+ "build",
6631
+ "abort.js"
6632
+ ]
6633
+ },
6634
+ "testing:build:list": {
6635
+ "aliases": [],
6636
+ "args": {},
6637
+ "description": "List Copado Robotic Testing builds/runs",
6638
+ "examples": [
6639
+ "<%= config.bin %> <%= command.id %> --project <project-id>",
6640
+ "<%= config.bin %> <%= command.id %> --project <project-id> --job <job-id> --status succeeded --json"
6641
+ ],
6642
+ "flags": {
6643
+ "json": {
6644
+ "description": "Format output as json.",
6645
+ "helpGroup": "GLOBAL",
6646
+ "name": "json",
6647
+ "allowNo": false,
6648
+ "type": "boolean"
6649
+ },
6650
+ "project": {
6651
+ "char": "p",
6652
+ "description": "CRT project ID.",
6653
+ "name": "project",
6654
+ "required": true,
6655
+ "hasDynamicHelp": false,
6656
+ "multiple": false,
6657
+ "type": "option"
6658
+ },
6659
+ "job": {
6660
+ "description": "Limit builds to one CRT job/test ID.",
6661
+ "name": "job",
6662
+ "hasDynamicHelp": false,
6663
+ "multiple": false,
6664
+ "type": "option"
6665
+ },
6666
+ "result-size": {
6667
+ "description": "CRT build result size.",
6668
+ "name": "result-size",
6669
+ "default": "compact",
6670
+ "hasDynamicHelp": false,
6671
+ "multiple": false,
6672
+ "options": [
6673
+ "compact"
6674
+ ],
6675
+ "type": "option"
6676
+ },
6677
+ "status": {
6678
+ "description": "Build status filter.",
6679
+ "name": "status",
6680
+ "hasDynamicHelp": false,
6681
+ "multiple": false,
6682
+ "options": [
6683
+ "aborted",
6684
+ "executing",
6685
+ "failed",
6686
+ "finished",
6687
+ "queued",
6688
+ "succeeded"
6689
+ ],
6690
+ "type": "option"
6691
+ }
6692
+ },
6693
+ "hasDynamicHelp": false,
6694
+ "hiddenAliases": [],
6695
+ "id": "testing:build:list",
6696
+ "pluginAlias": "@copado/agentia-cli",
6697
+ "pluginName": "@copado/agentia-cli",
6698
+ "pluginType": "core",
6699
+ "strict": true,
6700
+ "enableJsonFlag": true,
6701
+ "isESM": true,
6702
+ "relativePath": [
6703
+ "dist",
6704
+ "commands",
6705
+ "testing",
6706
+ "build",
6707
+ "list.js"
6708
+ ]
6709
+ },
6710
+ "testing:build:logs": {
6711
+ "aliases": [],
6712
+ "args": {
6713
+ "id": {
6714
+ "description": "CRT build/run ID.",
6715
+ "name": "id",
6716
+ "required": true
6717
+ }
6718
+ },
6719
+ "description": "Get logs for a Copado Robotic Testing build/run",
6720
+ "examples": [
6721
+ "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
6722
+ "<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --output log.html --json"
6723
+ ],
6724
+ "flags": {
6725
+ "json": {
6726
+ "description": "Format output as json.",
6727
+ "helpGroup": "GLOBAL",
6728
+ "name": "json",
6729
+ "allowNo": false,
6730
+ "type": "boolean"
6731
+ },
6732
+ "project": {
6733
+ "char": "p",
6734
+ "description": "CRT project ID.",
6735
+ "name": "project",
6736
+ "required": true,
6737
+ "hasDynamicHelp": false,
6738
+ "multiple": false,
6739
+ "type": "option"
6740
+ },
6741
+ "job": {
6742
+ "char": "j",
6743
+ "description": "CRT job/test ID.",
6744
+ "name": "job",
6745
+ "required": true,
6746
+ "hasDynamicHelp": false,
6747
+ "multiple": false,
6748
+ "type": "option"
6749
+ },
6750
+ "output": {
6751
+ "char": "o",
6752
+ "description": "Write raw output to this file path.",
6753
+ "name": "output",
6754
+ "hasDynamicHelp": false,
6755
+ "multiple": false,
6756
+ "type": "option"
6757
+ }
6758
+ },
6759
+ "hasDynamicHelp": false,
6760
+ "hiddenAliases": [],
6761
+ "id": "testing:build:logs",
6762
+ "pluginAlias": "@copado/agentia-cli",
6763
+ "pluginName": "@copado/agentia-cli",
6764
+ "pluginType": "core",
6765
+ "strict": true,
6766
+ "enableJsonFlag": true,
6767
+ "isESM": true,
6768
+ "relativePath": [
6769
+ "dist",
6770
+ "commands",
6771
+ "testing",
6772
+ "build",
6773
+ "logs.js"
6774
+ ]
6775
+ },
6776
+ "testing:build:run": {
6777
+ "aliases": [],
6778
+ "args": {
6779
+ "id": {
6780
+ "description": "CRT job/test ID to run.",
6781
+ "name": "id",
6782
+ "required": true
6783
+ }
6784
+ },
6785
+ "description": "Run a Copado Robotic Testing job/test",
6786
+ "examples": [
6787
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
6788
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
6789
+ "<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
6790
+ ],
6791
+ "flags": {
6792
+ "json": {
6793
+ "description": "Format output as json.",
6794
+ "helpGroup": "GLOBAL",
6795
+ "name": "json",
6796
+ "allowNo": false,
6797
+ "type": "boolean"
6798
+ },
6799
+ "project": {
6800
+ "char": "p",
6801
+ "description": "CRT project ID.",
6802
+ "name": "project",
6803
+ "required": true,
6815
6804
  "hasDynamicHelp": false,
6816
6805
  "multiple": false,
6817
6806
  "type": "option"
6818
6807
  },
6819
- "sprint-id": {
6820
- "description": "Sprint ID",
6821
- "name": "sprint-id",
6808
+ "branch": {
6809
+ "description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
6810
+ "name": "branch",
6822
6811
  "hasDynamicHelp": false,
6823
6812
  "multiple": false,
6824
6813
  "type": "option"
6825
6814
  },
6826
- "status": {
6827
- "description": "Status",
6828
- "name": "status",
6815
+ "exclude": {
6816
+ "description": "Robot Framework tag to exclude from this run. Can be provided multiple times.",
6817
+ "name": "exclude",
6829
6818
  "hasDynamicHelp": false,
6830
- "multiple": false,
6819
+ "multiple": true,
6831
6820
  "type": "option"
6832
6821
  },
6833
- "team": {
6834
- "description": "Team",
6835
- "name": "team",
6822
+ "include": {
6823
+ "description": "Robot Framework tag to include in this run. Can be provided multiple times.",
6824
+ "name": "include",
6836
6825
  "hasDynamicHelp": false,
6837
- "multiple": false,
6826
+ "multiple": true,
6838
6827
  "type": "option"
6839
6828
  },
6840
- "technical-specifications": {
6841
- "description": "Technical specifications",
6842
- "name": "technical-specifications",
6829
+ "param": {
6830
+ "description": "Execution parameter in KEY=VALUE format. Can be provided multiple times.",
6831
+ "name": "param",
6843
6832
  "hasDynamicHelp": false,
6844
- "multiple": false,
6833
+ "multiple": true,
6845
6834
  "type": "option"
6846
6835
  },
6847
- "theme": {
6848
- "description": "Theme",
6849
- "name": "theme",
6836
+ "record": {
6837
+ "description": "CRT execution recording mode.",
6838
+ "name": "record",
6850
6839
  "hasDynamicHelp": false,
6851
6840
  "multiple": false,
6841
+ "options": [
6842
+ "all",
6843
+ "failed",
6844
+ "none"
6845
+ ],
6852
6846
  "type": "option"
6853
6847
  },
6854
- "title": {
6855
- "description": "Title",
6856
- "name": "title",
6848
+ "rerun-failed": {
6849
+ "description": "Rerun failed tests from the specified build/run ID. Mutually exclusive with --rerun-failed-from-latest.",
6850
+ "name": "rerun-failed",
6857
6851
  "hasDynamicHelp": false,
6858
6852
  "multiple": false,
6859
6853
  "type": "option"
6860
6854
  },
6861
- "want-to": {
6862
- "description": "User story \"want to\" clause",
6863
- "name": "want-to",
6855
+ "rerun-failed-from-latest": {
6856
+ "description": "Rerun failed tests from the latest failed run. Mutually exclusive with --rerun-failed.",
6857
+ "name": "rerun-failed-from-latest",
6858
+ "allowNo": false,
6859
+ "type": "boolean"
6860
+ },
6861
+ "tag": {
6862
+ "description": "Git tag to use for this run. Mutually exclusive with --branch.",
6863
+ "name": "tag",
6864
6864
  "hasDynamicHelp": false,
6865
6865
  "multiple": false,
6866
6866
  "type": "option"
@@ -6868,7 +6868,7 @@
6868
6868
  },
6869
6869
  "hasDynamicHelp": false,
6870
6870
  "hiddenAliases": [],
6871
- "id": "cicd:work:update",
6871
+ "id": "testing:build:run",
6872
6872
  "pluginAlias": "@copado/agentia-cli",
6873
6873
  "pluginName": "@copado/agentia-cli",
6874
6874
  "pluginType": "core",
@@ -6878,9 +6878,9 @@
6878
6878
  "relativePath": [
6879
6879
  "dist",
6880
6880
  "commands",
6881
- "cicd",
6882
- "work",
6883
- "update.js"
6881
+ "testing",
6882
+ "build",
6883
+ "run.js"
6884
6884
  ]
6885
6885
  },
6886
6886
  "testing:job:create": {
@@ -9340,19 +9340,13 @@
9340
9340
  "update.js"
9341
9341
  ]
9342
9342
  },
9343
- "cicd:data:formula:create": {
9343
+ "cicd:data:records:match": {
9344
9344
  "aliases": [],
9345
- "args": {
9346
- "dataTemplateId": {
9347
- "description": "Data template Id",
9348
- "name": "dataTemplateId",
9349
- "required": true
9350
- }
9351
- },
9352
- "description": "Create a record matching formula for a data template",
9345
+ "args": {},
9346
+ "description": "Match a source data record to a destination org",
9353
9347
  "examples": [
9354
- "<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name,BillingCity",
9355
- "<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name --fields BillingCity --hash-formula --json"
9348
+ "<%= config.bin %> <%= command.id %> --file match.json",
9349
+ "<%= config.bin %> <%= command.id %> --stdin --json"
9356
9350
  ],
9357
9351
  "flags": {
9358
9352
  "json": {
@@ -9362,40 +9356,30 @@
9362
9356
  "allowNo": false,
9363
9357
  "type": "boolean"
9364
9358
  },
9365
- "fields": {
9366
- "description": "Formula fields (repeatable or comma-separated, up to 3)",
9367
- "name": "fields",
9368
- "required": true,
9359
+ "file": {
9360
+ "char": "f",
9361
+ "description": "Path to a JSON file body",
9362
+ "exclusive": [
9363
+ "stdin"
9364
+ ],
9365
+ "name": "file",
9369
9366
  "hasDynamicHelp": false,
9370
- "multiple": true,
9367
+ "multiple": false,
9371
9368
  "type": "option"
9372
9369
  },
9373
- "hash-formula": {
9374
- "description": "Enable hash formula",
9375
- "name": "hash-formula",
9370
+ "stdin": {
9371
+ "description": "Read the JSON body from stdin",
9372
+ "exclusive": [
9373
+ "file"
9374
+ ],
9375
+ "name": "stdin",
9376
9376
  "allowNo": false,
9377
9377
  "type": "boolean"
9378
- },
9379
- "name": {
9380
- "description": "Formula name",
9381
- "name": "name",
9382
- "required": true,
9383
- "hasDynamicHelp": false,
9384
- "multiple": false,
9385
- "type": "option"
9386
- },
9387
- "object-api-name": {
9388
- "description": "sObject API name",
9389
- "name": "object-api-name",
9390
- "required": true,
9391
- "hasDynamicHelp": false,
9392
- "multiple": false,
9393
- "type": "option"
9394
9378
  }
9395
9379
  },
9396
9380
  "hasDynamicHelp": false,
9397
9381
  "hiddenAliases": [],
9398
- "id": "cicd:data:formula:create",
9382
+ "id": "cicd:data:records:match",
9399
9383
  "pluginAlias": "@copado/agentia-cli",
9400
9384
  "pluginName": "@copado/agentia-cli",
9401
9385
  "pluginType": "core",
@@ -9407,23 +9391,18 @@
9407
9391
  "commands",
9408
9392
  "cicd",
9409
9393
  "data",
9410
- "formula",
9411
- "create.js"
9394
+ "records",
9395
+ "match.js"
9412
9396
  ]
9413
9397
  },
9414
- "cicd:data:formula:list": {
9398
+ "cicd:data:records:search": {
9415
9399
  "aliases": [],
9416
- "args": {
9417
- "objectApiName": {
9418
- "description": "sObject API name",
9419
- "name": "objectApiName",
9420
- "required": true
9421
- }
9422
- },
9423
- "description": "List record matching formulas for an sObject",
9400
+ "args": {},
9401
+ "description": "Search data records for a data template",
9424
9402
  "examples": [
9425
- "<%= config.bin %> <%= command.id %> Account",
9426
- "<%= config.bin %> <%= command.id %> Account --json"
9403
+ "<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X...",
9404
+ "<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X... --file request.json",
9405
+ "<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X... --json"
9427
9406
  ],
9428
9407
  "flags": {
9429
9408
  "json": {
@@ -9432,11 +9411,54 @@
9432
9411
  "name": "json",
9433
9412
  "allowNo": false,
9434
9413
  "type": "boolean"
9414
+ },
9415
+ "changed-date-from": {
9416
+ "description": "Optional changed-date-from filter (ISO datetime)",
9417
+ "name": "changed-date-from",
9418
+ "hasDynamicHelp": false,
9419
+ "multiple": false,
9420
+ "type": "option"
9421
+ },
9422
+ "credential-id": {
9423
+ "description": "Org credential Id",
9424
+ "name": "credential-id",
9425
+ "required": true,
9426
+ "hasDynamicHelp": false,
9427
+ "multiple": false,
9428
+ "type": "option"
9429
+ },
9430
+ "data-template-id": {
9431
+ "description": "Data template Id",
9432
+ "name": "data-template-id",
9433
+ "required": true,
9434
+ "hasDynamicHelp": false,
9435
+ "multiple": false,
9436
+ "type": "option"
9437
+ },
9438
+ "file": {
9439
+ "char": "f",
9440
+ "description": "Path to a JSON file body",
9441
+ "exclusive": [
9442
+ "stdin"
9443
+ ],
9444
+ "name": "file",
9445
+ "hasDynamicHelp": false,
9446
+ "multiple": false,
9447
+ "type": "option"
9448
+ },
9449
+ "stdin": {
9450
+ "description": "Read the JSON body from stdin",
9451
+ "exclusive": [
9452
+ "file"
9453
+ ],
9454
+ "name": "stdin",
9455
+ "allowNo": false,
9456
+ "type": "boolean"
9435
9457
  }
9436
9458
  },
9437
9459
  "hasDynamicHelp": false,
9438
9460
  "hiddenAliases": [],
9439
- "id": "cicd:data:formula:list",
9461
+ "id": "cicd:data:records:search",
9440
9462
  "pluginAlias": "@copado/agentia-cli",
9441
9463
  "pluginName": "@copado/agentia-cli",
9442
9464
  "pluginType": "core",
@@ -9448,24 +9470,23 @@
9448
9470
  "commands",
9449
9471
  "cicd",
9450
9472
  "data",
9451
- "formula",
9452
- "list.js"
9473
+ "records",
9474
+ "search.js"
9453
9475
  ]
9454
9476
  },
9455
- "cicd:data:formula:update": {
9477
+ "cicd:data:formula:create": {
9456
9478
  "aliases": [],
9457
9479
  "args": {
9458
- "formulaId": {
9459
- "description": "Record matching formula Id",
9460
- "name": "formulaId",
9480
+ "dataTemplateId": {
9481
+ "description": "Data template Id",
9482
+ "name": "dataTemplateId",
9461
9483
  "required": true
9462
9484
  }
9463
9485
  },
9464
- "description": "Update a record matching formula",
9486
+ "description": "Create a record matching formula for a data template",
9465
9487
  "examples": [
9466
- "<%= config.bin %> <%= command.id %> a0F... --name MatchByName --object-api-name Account --fields Name,BillingCity",
9467
- "<%= config.bin %> <%= command.id %> a0F... --file formula.json",
9468
- "<%= config.bin %> <%= command.id %> a0F... --stdin --json"
9488
+ "<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name,BillingCity",
9489
+ "<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name --fields BillingCity --hash-formula --json"
9469
9490
  ],
9470
9491
  "flags": {
9471
9492
  "json": {
@@ -9478,19 +9499,21 @@
9478
9499
  "fields": {
9479
9500
  "description": "Formula fields (repeatable or comma-separated, up to 3)",
9480
9501
  "name": "fields",
9502
+ "required": true,
9481
9503
  "hasDynamicHelp": false,
9482
9504
  "multiple": true,
9483
9505
  "type": "option"
9484
9506
  },
9485
9507
  "hash-formula": {
9486
- "description": "Enable or disable hash formula",
9508
+ "description": "Enable hash formula",
9487
9509
  "name": "hash-formula",
9488
- "allowNo": true,
9510
+ "allowNo": false,
9489
9511
  "type": "boolean"
9490
9512
  },
9491
9513
  "name": {
9492
9514
  "description": "Formula name",
9493
9515
  "name": "name",
9516
+ "required": true,
9494
9517
  "hasDynamicHelp": false,
9495
9518
  "multiple": false,
9496
9519
  "type": "option"
@@ -9498,34 +9521,15 @@
9498
9521
  "object-api-name": {
9499
9522
  "description": "sObject API name",
9500
9523
  "name": "object-api-name",
9524
+ "required": true,
9501
9525
  "hasDynamicHelp": false,
9502
9526
  "multiple": false,
9503
9527
  "type": "option"
9504
- },
9505
- "file": {
9506
- "char": "f",
9507
- "description": "Path to a JSON file body",
9508
- "exclusive": [
9509
- "stdin"
9510
- ],
9511
- "name": "file",
9512
- "hasDynamicHelp": false,
9513
- "multiple": false,
9514
- "type": "option"
9515
- },
9516
- "stdin": {
9517
- "description": "Read the JSON body from stdin",
9518
- "exclusive": [
9519
- "file"
9520
- ],
9521
- "name": "stdin",
9522
- "allowNo": false,
9523
- "type": "boolean"
9524
9528
  }
9525
9529
  },
9526
9530
  "hasDynamicHelp": false,
9527
9531
  "hiddenAliases": [],
9528
- "id": "cicd:data:formula:update",
9532
+ "id": "cicd:data:formula:create",
9529
9533
  "pluginAlias": "@copado/agentia-cli",
9530
9534
  "pluginName": "@copado/agentia-cli",
9531
9535
  "pluginType": "core",
@@ -9538,16 +9542,22 @@
9538
9542
  "cicd",
9539
9543
  "data",
9540
9544
  "formula",
9541
- "update.js"
9545
+ "create.js"
9542
9546
  ]
9543
9547
  },
9544
- "cicd:data:records:match": {
9548
+ "cicd:data:formula:list": {
9545
9549
  "aliases": [],
9546
- "args": {},
9547
- "description": "Match a source data record to a destination org",
9550
+ "args": {
9551
+ "objectApiName": {
9552
+ "description": "sObject API name",
9553
+ "name": "objectApiName",
9554
+ "required": true
9555
+ }
9556
+ },
9557
+ "description": "List record matching formulas for an sObject",
9548
9558
  "examples": [
9549
- "<%= config.bin %> <%= command.id %> --file match.json",
9550
- "<%= config.bin %> <%= command.id %> --stdin --json"
9559
+ "<%= config.bin %> <%= command.id %> Account",
9560
+ "<%= config.bin %> <%= command.id %> Account --json"
9551
9561
  ],
9552
9562
  "flags": {
9553
9563
  "json": {
@@ -9556,31 +9566,11 @@
9556
9566
  "name": "json",
9557
9567
  "allowNo": false,
9558
9568
  "type": "boolean"
9559
- },
9560
- "file": {
9561
- "char": "f",
9562
- "description": "Path to a JSON file body",
9563
- "exclusive": [
9564
- "stdin"
9565
- ],
9566
- "name": "file",
9567
- "hasDynamicHelp": false,
9568
- "multiple": false,
9569
- "type": "option"
9570
- },
9571
- "stdin": {
9572
- "description": "Read the JSON body from stdin",
9573
- "exclusive": [
9574
- "file"
9575
- ],
9576
- "name": "stdin",
9577
- "allowNo": false,
9578
- "type": "boolean"
9579
9569
  }
9580
9570
  },
9581
9571
  "hasDynamicHelp": false,
9582
9572
  "hiddenAliases": [],
9583
- "id": "cicd:data:records:match",
9573
+ "id": "cicd:data:formula:list",
9584
9574
  "pluginAlias": "@copado/agentia-cli",
9585
9575
  "pluginName": "@copado/agentia-cli",
9586
9576
  "pluginType": "core",
@@ -9592,18 +9582,24 @@
9592
9582
  "commands",
9593
9583
  "cicd",
9594
9584
  "data",
9595
- "records",
9596
- "match.js"
9585
+ "formula",
9586
+ "list.js"
9597
9587
  ]
9598
9588
  },
9599
- "cicd:data:records:search": {
9589
+ "cicd:data:formula:update": {
9600
9590
  "aliases": [],
9601
- "args": {},
9602
- "description": "Search data records for a data template",
9591
+ "args": {
9592
+ "formulaId": {
9593
+ "description": "Record matching formula Id",
9594
+ "name": "formulaId",
9595
+ "required": true
9596
+ }
9597
+ },
9598
+ "description": "Update a record matching formula",
9603
9599
  "examples": [
9604
- "<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X...",
9605
- "<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X... --file request.json",
9606
- "<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X... --json"
9600
+ "<%= config.bin %> <%= command.id %> a0F... --name MatchByName --object-api-name Account --fields Name,BillingCity",
9601
+ "<%= config.bin %> <%= command.id %> a0F... --file formula.json",
9602
+ "<%= config.bin %> <%= command.id %> a0F... --stdin --json"
9607
9603
  ],
9608
9604
  "flags": {
9609
9605
  "json": {
@@ -9613,25 +9609,29 @@
9613
9609
  "allowNo": false,
9614
9610
  "type": "boolean"
9615
9611
  },
9616
- "changed-date-from": {
9617
- "description": "Optional changed-date-from filter (ISO datetime)",
9618
- "name": "changed-date-from",
9612
+ "fields": {
9613
+ "description": "Formula fields (repeatable or comma-separated, up to 3)",
9614
+ "name": "fields",
9619
9615
  "hasDynamicHelp": false,
9620
- "multiple": false,
9616
+ "multiple": true,
9621
9617
  "type": "option"
9622
9618
  },
9623
- "credential-id": {
9624
- "description": "Org credential Id",
9625
- "name": "credential-id",
9626
- "required": true,
9619
+ "hash-formula": {
9620
+ "description": "Enable or disable hash formula",
9621
+ "name": "hash-formula",
9622
+ "allowNo": true,
9623
+ "type": "boolean"
9624
+ },
9625
+ "name": {
9626
+ "description": "Formula name",
9627
+ "name": "name",
9627
9628
  "hasDynamicHelp": false,
9628
9629
  "multiple": false,
9629
9630
  "type": "option"
9630
9631
  },
9631
- "data-template-id": {
9632
- "description": "Data template Id",
9633
- "name": "data-template-id",
9634
- "required": true,
9632
+ "object-api-name": {
9633
+ "description": "sObject API name",
9634
+ "name": "object-api-name",
9635
9635
  "hasDynamicHelp": false,
9636
9636
  "multiple": false,
9637
9637
  "type": "option"
@@ -9659,7 +9659,7 @@
9659
9659
  },
9660
9660
  "hasDynamicHelp": false,
9661
9661
  "hiddenAliases": [],
9662
- "id": "cicd:data:records:search",
9662
+ "id": "cicd:data:formula:update",
9663
9663
  "pluginAlias": "@copado/agentia-cli",
9664
9664
  "pluginName": "@copado/agentia-cli",
9665
9665
  "pluginType": "core",
@@ -9671,8 +9671,8 @@
9671
9671
  "commands",
9672
9672
  "cicd",
9673
9673
  "data",
9674
- "records",
9675
- "search.js"
9674
+ "formula",
9675
+ "update.js"
9676
9676
  ]
9677
9677
  },
9678
9678
  "cicd:data:sobject:fields": {
@@ -10600,6 +10600,90 @@
10600
10600
  "get.js"
10601
10601
  ]
10602
10602
  },
10603
+ "cicd:metadata:index:compare": {
10604
+ "aliases": [],
10605
+ "args": {},
10606
+ "description": "Compare metadata between orgs or Git branches",
10607
+ "examples": [
10608
+ "<%= config.bin %> <%= command.id %> --comparison-mode BRANCH_COMPARE --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
10609
+ "<%= config.bin %> <%= command.id %> --comparison-mode INDEX_FILE --filter-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
10610
+ "<%= config.bin %> <%= command.id %> --comparison-mode MIX --json"
10611
+ ],
10612
+ "flags": {
10613
+ "json": {
10614
+ "description": "Format output as json.",
10615
+ "helpGroup": "GLOBAL",
10616
+ "name": "json",
10617
+ "allowNo": false,
10618
+ "type": "boolean"
10619
+ },
10620
+ "comparison-mode": {
10621
+ "description": "Comparison mode",
10622
+ "name": "comparison-mode",
10623
+ "default": "BRANCH_COMPARE",
10624
+ "hasDynamicHelp": false,
10625
+ "multiple": false,
10626
+ "options": [
10627
+ "BRANCH_COMPARE",
10628
+ "INDEX_FILE",
10629
+ "MIX"
10630
+ ],
10631
+ "type": "option"
10632
+ },
10633
+ "filter-type": {
10634
+ "description": "Optional metadata type filter, for example ApexClass",
10635
+ "name": "filter-type",
10636
+ "hasDynamicHelp": false,
10637
+ "multiple": false,
10638
+ "type": "option"
10639
+ },
10640
+ "pipeline-id": {
10641
+ "description": "Pipeline Id",
10642
+ "name": "pipeline-id",
10643
+ "hasDynamicHelp": false,
10644
+ "multiple": false,
10645
+ "type": "option"
10646
+ },
10647
+ "source-credential-id": {
10648
+ "description": "Source org credential Id",
10649
+ "name": "source-credential-id",
10650
+ "hasDynamicHelp": false,
10651
+ "multiple": false,
10652
+ "type": "option"
10653
+ },
10654
+ "source-org-id": {
10655
+ "description": "Source org Id",
10656
+ "name": "source-org-id",
10657
+ "hasDynamicHelp": false,
10658
+ "multiple": false,
10659
+ "type": "option"
10660
+ },
10661
+ "target-org-id": {
10662
+ "description": "Target org Id",
10663
+ "name": "target-org-id",
10664
+ "hasDynamicHelp": false,
10665
+ "multiple": false,
10666
+ "type": "option"
10667
+ }
10668
+ },
10669
+ "hasDynamicHelp": false,
10670
+ "hiddenAliases": [],
10671
+ "id": "cicd:metadata:index:compare",
10672
+ "pluginAlias": "@copado/agentia-cli",
10673
+ "pluginName": "@copado/agentia-cli",
10674
+ "pluginType": "core",
10675
+ "strict": true,
10676
+ "enableJsonFlag": true,
10677
+ "isESM": true,
10678
+ "relativePath": [
10679
+ "dist",
10680
+ "commands",
10681
+ "cicd",
10682
+ "metadata",
10683
+ "index",
10684
+ "compare.js"
10685
+ ]
10686
+ },
10603
10687
  "cicd:metadata:dependency:list": {
10604
10688
  "aliases": [],
10605
10689
  "args": {},
@@ -10763,90 +10847,6 @@
10763
10847
  "list.js"
10764
10848
  ]
10765
10849
  },
10766
- "cicd:metadata:index:compare": {
10767
- "aliases": [],
10768
- "args": {},
10769
- "description": "Compare metadata between orgs or Git branches",
10770
- "examples": [
10771
- "<%= config.bin %> <%= command.id %> --comparison-mode BRANCH_COMPARE --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
10772
- "<%= config.bin %> <%= command.id %> --comparison-mode INDEX_FILE --filter-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
10773
- "<%= config.bin %> <%= command.id %> --comparison-mode MIX --json"
10774
- ],
10775
- "flags": {
10776
- "json": {
10777
- "description": "Format output as json.",
10778
- "helpGroup": "GLOBAL",
10779
- "name": "json",
10780
- "allowNo": false,
10781
- "type": "boolean"
10782
- },
10783
- "comparison-mode": {
10784
- "description": "Comparison mode",
10785
- "name": "comparison-mode",
10786
- "default": "BRANCH_COMPARE",
10787
- "hasDynamicHelp": false,
10788
- "multiple": false,
10789
- "options": [
10790
- "BRANCH_COMPARE",
10791
- "INDEX_FILE",
10792
- "MIX"
10793
- ],
10794
- "type": "option"
10795
- },
10796
- "filter-type": {
10797
- "description": "Optional metadata type filter, for example ApexClass",
10798
- "name": "filter-type",
10799
- "hasDynamicHelp": false,
10800
- "multiple": false,
10801
- "type": "option"
10802
- },
10803
- "pipeline-id": {
10804
- "description": "Pipeline Id",
10805
- "name": "pipeline-id",
10806
- "hasDynamicHelp": false,
10807
- "multiple": false,
10808
- "type": "option"
10809
- },
10810
- "source-credential-id": {
10811
- "description": "Source org credential Id",
10812
- "name": "source-credential-id",
10813
- "hasDynamicHelp": false,
10814
- "multiple": false,
10815
- "type": "option"
10816
- },
10817
- "source-org-id": {
10818
- "description": "Source org Id",
10819
- "name": "source-org-id",
10820
- "hasDynamicHelp": false,
10821
- "multiple": false,
10822
- "type": "option"
10823
- },
10824
- "target-org-id": {
10825
- "description": "Target org Id",
10826
- "name": "target-org-id",
10827
- "hasDynamicHelp": false,
10828
- "multiple": false,
10829
- "type": "option"
10830
- }
10831
- },
10832
- "hasDynamicHelp": false,
10833
- "hiddenAliases": [],
10834
- "id": "cicd:metadata:index:compare",
10835
- "pluginAlias": "@copado/agentia-cli",
10836
- "pluginName": "@copado/agentia-cli",
10837
- "pluginType": "core",
10838
- "strict": true,
10839
- "enableJsonFlag": true,
10840
- "isESM": true,
10841
- "relativePath": [
10842
- "dist",
10843
- "commands",
10844
- "cicd",
10845
- "metadata",
10846
- "index",
10847
- "compare.js"
10848
- ]
10849
- },
10850
10850
  "cicd:metadata:refresh:deleted": {
10851
10851
  "aliases": [],
10852
10852
  "args": {},
@@ -13161,5 +13161,5 @@
13161
13161
  ]
13162
13162
  }
13163
13163
  },
13164
- "version": "0.110.0-alpha.0"
13164
+ "version": "0.112.0-alpha.0"
13165
13165
  }