@copado/agentia-cli 1.0.0-beta.8 → 1.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +494 -278
  3. package/dist/commands/adv/auth/status.js +1 -0
  4. package/dist/commands/adv/component/add.js +3 -0
  5. package/dist/commands/adv/component/remove.js +3 -0
  6. package/dist/commands/adv/component/types.js +1 -0
  7. package/dist/commands/adv/job/wait.js +1 -1
  8. package/dist/commands/adv/organization/list.js +1 -0
  9. package/dist/commands/cicd/template/defaults.js +42 -0
  10. package/dist/commands/cicd/template/delete.js +36 -0
  11. package/dist/commands/cicd/template/get.js +48 -0
  12. package/dist/commands/cicd/template/list.js +53 -0
  13. package/dist/commands/cicd/template/upsert.js +45 -0
  14. package/dist/commands/cicd/work/ahead-behind.js +51 -0
  15. package/dist/commands/cicd/work/environment-sync.js +1 -0
  16. package/dist/commands/cicd/work/submit.js +17 -4
  17. package/dist/commands/update.js +10 -2
  18. package/dist/lib/adv-operations.js +3 -1
  19. package/dist/lib/agentia-command.js +35 -0
  20. package/dist/lib/cli-version.js +6 -2
  21. package/dist/lib/headless-file-upload.js +10 -0
  22. package/dist/lib/java-runtime.js +6 -0
  23. package/dist/lib/mcp/adv-tools.js +40 -26
  24. package/dist/lib/mcp/tool-annotations.js +5 -0
  25. package/dist/lib/mcp/tools.js +118 -0
  26. package/dist/lib/mcp/work-tools.js +18 -4
  27. package/dist/lib/runtime.js +1 -1
  28. package/dist/lib/template-flags.js +8 -0
  29. package/dist/lib/template-types.js +21 -0
  30. package/dist/lib/version-warning.js +24 -8
  31. package/dist/lib/work-ahead-behind.js +5 -0
  32. package/dist/lib/work-push.js +2 -1
  33. package/dist/lib/work-types.js +2 -1
  34. package/oclif.manifest.json +898 -508
  35. package/package.json +1 -1
  36. package/templates/AGENTS.md +1 -1
  37. package/templates/skills/agentia-adv/SKILL.md +7 -1
  38. package/templates/skills/agentia-adv/references/pipelines-advanced.md +7 -7
  39. package/templates/skills/agentia-cicd/SKILL.md +5 -1
  40. package/templates/skills/agentia-cicd/references/functions.md +148 -0
  41. package/templates/skills/agentia-cicd/references/templates.md +132 -0
@@ -57,10 +57,12 @@
57
57
  "update": {
58
58
  "aliases": [],
59
59
  "args": {},
60
- "description": "Update the globally installed Agentia CLI to the newest beta release",
60
+ "description": "Update the globally installed Agentia CLI to the newest release for the selected channel",
61
61
  "examples": [
62
62
  "<%= config.bin %> <%= command.id %>",
63
63
  "<%= config.bin %> <%= command.id %> --check",
64
+ "<%= config.bin %> <%= command.id %> --channel latest --check",
65
+ "<%= config.bin %> <%= command.id %> --channel rc",
64
66
  "<%= config.bin %> <%= command.id %> --check --json"
65
67
  ],
66
68
  "flags": {
@@ -71,6 +73,17 @@
71
73
  "allowNo": false,
72
74
  "type": "boolean"
73
75
  },
76
+ "channel": {
77
+ "description": "npm dist-tag to check (rc or latest). Omit to auto-select: prerelease installs compare rc and latest; stable installs use latest only.",
78
+ "name": "channel",
79
+ "hasDynamicHelp": false,
80
+ "multiple": false,
81
+ "options": [
82
+ "rc",
83
+ "latest"
84
+ ],
85
+ "type": "option"
86
+ },
74
87
  "check": {
75
88
  "description": "Check for an update without installing it",
76
89
  "name": "check",
@@ -1799,7 +1812,7 @@
1799
1812
  "type": "option"
1800
1813
  },
1801
1814
  "timeout": {
1802
- "description": "Maximum seconds to wait for the job to finish (default: 3600).",
1815
+ "description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
1803
1816
  "name": "timeout",
1804
1817
  "hasDynamicHelp": false,
1805
1818
  "multiple": false,
@@ -1926,7 +1939,7 @@
1926
1939
  "type": "option"
1927
1940
  },
1928
1941
  "timeout": {
1929
- "description": "Maximum seconds to wait for the job to finish (default: 3600).",
1942
+ "description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
1930
1943
  "name": "timeout",
1931
1944
  "hasDynamicHelp": false,
1932
1945
  "multiple": false,
@@ -2139,7 +2152,7 @@
2139
2152
  "type": "option"
2140
2153
  },
2141
2154
  "timeout": {
2142
- "description": "Maximum seconds to wait for the job to finish (default: 3600).",
2155
+ "description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
2143
2156
  "name": "timeout",
2144
2157
  "hasDynamicHelp": false,
2145
2158
  "multiple": false,
@@ -2213,7 +2226,7 @@
2213
2226
  "type": "option"
2214
2227
  },
2215
2228
  "timeout": {
2216
- "description": "Maximum seconds to wait for the job to finish (default: 3600).",
2229
+ "description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
2217
2230
  "name": "timeout",
2218
2231
  "hasDynamicHelp": false,
2219
2232
  "multiple": false,
@@ -2370,7 +2383,7 @@
2370
2383
  "type": "option"
2371
2384
  },
2372
2385
  "timeout": {
2373
- "description": "Maximum seconds to wait (default: 3600).",
2386
+ "description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
2374
2387
  "name": "timeout",
2375
2388
  "hasDynamicHelp": false,
2376
2389
  "multiple": false,
@@ -7101,15 +7114,14 @@
7101
7114
  "update.js"
7102
7115
  ]
7103
7116
  },
7104
- "cicd:user:get": {
7117
+ "cicd:template:defaults": {
7105
7118
  "aliases": [],
7106
7119
  "args": {},
7107
- "description": "Get a Copado user by ID (defaults to the authenticated user)",
7120
+ "description": "Scaffold default Copado Job Template metadata without writing to Salesforce (legacy create ≈ defaults --write)",
7108
7121
  "examples": [
7109
- "<%= config.bin %> <%= command.id %>",
7110
- "<%= config.bin %> <%= command.id %> --id me",
7111
- "<%= config.bin %> <%= command.id %> --id 005000000000000",
7112
- "<%= config.bin %> <%= command.id %> --json"
7122
+ "<%= config.bin %> <%= command.id %> --name MyTemplate",
7123
+ "<%= config.bin %> <%= command.id %> --name MyTemplate --api-name MyTemplate_1 --write",
7124
+ "<%= config.bin %> <%= command.id %> --name MyTemplate --output ./copado/templates/MyTemplate_1.metadata.json --json"
7113
7125
  ],
7114
7126
  "flags": {
7115
7127
  "json": {
@@ -7119,18 +7131,38 @@
7119
7131
  "allowNo": false,
7120
7132
  "type": "boolean"
7121
7133
  },
7122
- "id": {
7123
- "description": "User ID, or \"me\" for the authenticated user",
7124
- "name": "id",
7125
- "default": "me",
7134
+ "api-name": {
7135
+ "description": "Optional template API name for the scaffold (defaults to {name}_1 on the gateway)",
7136
+ "name": "api-name",
7137
+ "hasDynamicHelp": false,
7138
+ "multiple": false,
7139
+ "type": "option"
7140
+ },
7141
+ "name": {
7142
+ "description": "Template display name used to scaffold defaults",
7143
+ "name": "name",
7144
+ "required": true,
7145
+ "hasDynamicHelp": false,
7146
+ "multiple": false,
7147
+ "type": "option"
7148
+ },
7149
+ "output": {
7150
+ "description": "Write scaffold JSON to this path (implies a disk write)",
7151
+ "name": "output",
7126
7152
  "hasDynamicHelp": false,
7127
7153
  "multiple": false,
7128
7154
  "type": "option"
7155
+ },
7156
+ "write": {
7157
+ "description": "Write scaffold JSON to copado/templates/{apiName}.metadata.json (legacy create)",
7158
+ "name": "write",
7159
+ "allowNo": false,
7160
+ "type": "boolean"
7129
7161
  }
7130
7162
  },
7131
7163
  "hasDynamicHelp": false,
7132
7164
  "hiddenAliases": [],
7133
- "id": "cicd:user:get",
7165
+ "id": "cicd:template:defaults",
7134
7166
  "pluginAlias": "@copado/agentia-cli",
7135
7167
  "pluginName": "@copado/agentia-cli",
7136
7168
  "pluginType": "core",
@@ -7142,23 +7174,23 @@
7142
7174
  "dist",
7143
7175
  "commands",
7144
7176
  "cicd",
7145
- "user",
7146
- "get.js"
7177
+ "template",
7178
+ "defaults.js"
7147
7179
  ]
7148
7180
  },
7149
- "cicd:work:commit": {
7181
+ "cicd:template:delete": {
7150
7182
  "aliases": [],
7151
7183
  "args": {
7152
- "id": {
7153
- "description": "User story ID (defaults to the active work item from `work set`)",
7154
- "name": "id",
7155
- "required": false
7184
+ "api-name": {
7185
+ "description": "Template API name",
7186
+ "name": "api-name",
7187
+ "required": true
7156
7188
  }
7157
7189
  },
7158
- "description": "Compatibility alias of cicd cloud commit. Create a Copado cloud metadata commit for a user story. Prefer: agentia cicd cloud commit.",
7190
+ "description": "Delete a Copado Job Template by API name",
7159
7191
  "examples": [
7160
- "<%= config.bin %> cicd cloud commit --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
7161
- "<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add"
7192
+ "<%= config.bin %> <%= command.id %> MyTemplate_1",
7193
+ "<%= config.bin %> <%= command.id %> MyTemplate_1 --json"
7162
7194
  ],
7163
7195
  "flags": {
7164
7196
  "json": {
@@ -7167,137 +7199,66 @@
7167
7199
  "name": "json",
7168
7200
  "allowNo": false,
7169
7201
  "type": "boolean"
7170
- },
7171
- "action": {
7172
- "description": "Metadata action for simple flag input. Defaults to Add.",
7173
- "name": "action",
7174
- "hasDynamicHelp": false,
7175
- "multiple": false,
7176
- "options": [
7177
- "Add",
7178
- "Delete",
7179
- "RetrieveOnly",
7180
- "SelectiveCommit",
7181
- "Full"
7182
- ],
7183
- "type": "option"
7184
- },
7185
- "base-branch": {
7186
- "description": "Optional base branch to include in the commit request.",
7187
- "name": "base-branch",
7188
- "hasDynamicHelp": false,
7189
- "multiple": false,
7190
- "type": "option"
7191
- },
7192
- "cloud": {
7193
- "description": "Ignored. Cloud is implied by cicd cloud commit.",
7194
- "hidden": true,
7195
- "name": "cloud",
7202
+ }
7203
+ },
7204
+ "hasDynamicHelp": false,
7205
+ "hiddenAliases": [],
7206
+ "id": "cicd:template:delete",
7207
+ "pluginAlias": "@copado/agentia-cli",
7208
+ "pluginName": "@copado/agentia-cli",
7209
+ "pluginType": "core",
7210
+ "strict": true,
7211
+ "enableJsonFlag": true,
7212
+ "experimental": false,
7213
+ "isESM": true,
7214
+ "relativePath": [
7215
+ "dist",
7216
+ "commands",
7217
+ "cicd",
7218
+ "template",
7219
+ "delete.js"
7220
+ ]
7221
+ },
7222
+ "cicd:template:get": {
7223
+ "aliases": [],
7224
+ "args": {
7225
+ "api-name": {
7226
+ "description": "Template API name",
7227
+ "name": "api-name",
7228
+ "required": true
7229
+ }
7230
+ },
7231
+ "description": "Get a Copado Job Template by API name (legacy retrieve ≈ get --write)",
7232
+ "examples": [
7233
+ "<%= config.bin %> <%= command.id %> MyTemplate_1",
7234
+ "<%= config.bin %> <%= command.id %> MyTemplate_1 --write",
7235
+ "<%= config.bin %> <%= command.id %> MyTemplate_1 --json"
7236
+ ],
7237
+ "flags": {
7238
+ "json": {
7239
+ "description": "Format output as json.",
7240
+ "helpGroup": "GLOBAL",
7241
+ "name": "json",
7196
7242
  "allowNo": false,
7197
7243
  "type": "boolean"
7198
7244
  },
7199
- "commit-id": {
7200
- "description": "Existing local Git commit identifier to register when --no-execute-commit is used.",
7201
- "name": "commit-id",
7202
- "hasDynamicHelp": false,
7203
- "multiple": false,
7204
- "type": "option"
7205
- },
7206
- "execute-commit": {
7207
- "description": "Execute the Copado commit job. Use --no-execute-commit only with --commit-id.",
7208
- "name": "execute-commit",
7209
- "allowNo": true,
7210
- "type": "boolean"
7211
- },
7212
- "file": {
7213
- "char": "f",
7214
- "description": "Path to a JSON commit request body.",
7215
- "name": "file",
7216
- "hasDynamicHelp": false,
7217
- "multiple": false,
7218
- "type": "option"
7219
- },
7220
- "message": {
7221
- "char": "m",
7222
- "description": "Commit message. Required unless provided by JSON input.",
7223
- "name": "message",
7224
- "hasDynamicHelp": false,
7225
- "multiple": false,
7226
- "type": "option"
7227
- },
7228
- "metadata-category": {
7229
- "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.",
7230
- "name": "metadata-category",
7231
- "hasDynamicHelp": false,
7232
- "multiple": false,
7233
- "type": "option"
7234
- },
7235
- "metadata-message": {
7236
- "description": "Optional per-change message for simple flag input.",
7237
- "name": "metadata-message",
7238
- "hasDynamicHelp": false,
7239
- "multiple": false,
7240
- "type": "option"
7241
- },
7242
- "metadata-name": {
7243
- "description": "Metadata full name for simple flag input.",
7244
- "name": "metadata-name",
7245
- "hasDynamicHelp": false,
7246
- "multiple": false,
7247
- "type": "option"
7248
- },
7249
- "metadata-raw-json": {
7250
- "description": "Optional raw metadata JSON value for simple flag input.",
7251
- "name": "metadata-raw-json",
7252
- "hasDynamicHelp": false,
7253
- "multiple": false,
7254
- "type": "option"
7255
- },
7256
- "metadata-type": {
7257
- "description": "Metadata type for simple flag input, for example ApexClass.",
7258
- "name": "metadata-type",
7245
+ "output": {
7246
+ "description": "Write retrieved template JSON to this path (implies a disk write)",
7247
+ "name": "output",
7259
7248
  "hasDynamicHelp": false,
7260
7249
  "multiple": false,
7261
7250
  "type": "option"
7262
7251
  },
7263
- "recreate-feature-branch": {
7264
- "description": "Ask Copado to recreate the feature branch before committing.",
7265
- "name": "recreate-feature-branch",
7266
- "allowNo": false,
7267
- "type": "boolean"
7268
- },
7269
- "selection": {
7270
- "description": "Selected file inside a bundle for SelectiveCommit. Can be provided multiple times.",
7271
- "name": "selection",
7272
- "hasDynamicHelp": false,
7273
- "multiple": true,
7274
- "type": "option"
7275
- },
7276
- "stdin": {
7277
- "description": "Read a JSON commit request body from stdin.",
7278
- "name": "stdin",
7252
+ "write": {
7253
+ "description": "Write retrieved JSON to copado/templates/{apiName}.metadata.json (legacy retrieve)",
7254
+ "name": "write",
7279
7255
  "allowNo": false,
7280
7256
  "type": "boolean"
7281
- },
7282
- "wait": {
7283
- "description": "Poll the commit job to a terminal status when a jobExecution Id is returned.",
7284
- "name": "wait",
7285
- "allowNo": true,
7286
- "type": "boolean"
7287
- },
7288
- "wait-timeout": {
7289
- "description": "Maximum seconds to wait for the commit job.",
7290
- "name": "wait-timeout",
7291
- "default": 300,
7292
- "hasDynamicHelp": false,
7293
- "multiple": false,
7294
- "type": "option"
7295
7257
  }
7296
7258
  },
7297
7259
  "hasDynamicHelp": false,
7298
- "hidden": true,
7299
7260
  "hiddenAliases": [],
7300
- "id": "cicd:work:commit",
7261
+ "id": "cicd:template:get",
7301
7262
  "pluginAlias": "@copado/agentia-cli",
7302
7263
  "pluginName": "@copado/agentia-cli",
7303
7264
  "pluginType": "core",
@@ -7309,17 +7270,19 @@
7309
7270
  "dist",
7310
7271
  "commands",
7311
7272
  "cicd",
7312
- "work",
7313
- "commit.js"
7273
+ "template",
7274
+ "get.js"
7314
7275
  ]
7315
7276
  },
7316
- "cicd:work:create": {
7277
+ "cicd:template:list": {
7317
7278
  "aliases": [],
7318
7279
  "args": {},
7319
- "description": "Create a Copado user story",
7280
+ "description": "List Copado Job Templates",
7320
7281
  "examples": [
7321
- "<%= config.bin %> <%= command.id %> --title \"My story\" --status Draft",
7322
- "<%= config.bin %> <%= command.id %> --title \"My story\" --json"
7282
+ "<%= config.bin %> <%= command.id %>",
7283
+ "<%= config.bin %> <%= command.id %> --type all",
7284
+ "<%= config.bin %> <%= command.id %> --name Demo --page-size 50",
7285
+ "<%= config.bin %> <%= command.id %> --fetch-all --json"
7323
7286
  ],
7324
7287
  "flags": {
7325
7288
  "json": {
@@ -7329,43 +7292,470 @@
7329
7292
  "allowNo": false,
7330
7293
  "type": "boolean"
7331
7294
  },
7332
- "excluded-from-cbm": {
7333
- "description": "Exclude from CBM",
7334
- "name": "excluded-from-cbm",
7335
- "allowNo": true,
7336
- "type": "boolean"
7337
- },
7338
- "actual-points": {
7339
- "description": "Actual points",
7340
- "name": "actual-points",
7295
+ "cursor": {
7296
+ "description": "Opaque pagination cursor from a previous list response (nextCursor)",
7297
+ "name": "cursor",
7341
7298
  "hasDynamicHelp": false,
7342
7299
  "multiple": false,
7343
7300
  "type": "option"
7344
7301
  },
7345
- "planned-points": {
7346
- "description": "Planned points",
7347
- "name": "planned-points",
7302
+ "page-size": {
7303
+ "description": "Number of records per page (1-200)",
7304
+ "name": "page-size",
7348
7305
  "hasDynamicHelp": false,
7349
7306
  "multiple": false,
7350
7307
  "type": "option"
7351
7308
  },
7352
- "priority": {
7353
- "description": "Priority",
7354
- "name": "priority",
7355
- "hasDynamicHelp": false,
7356
- "multiple": false,
7357
- "type": "option"
7309
+ "fetch-all": {
7310
+ "description": "Fetch all matching templates (incompatible with --cursor on the gateway)",
7311
+ "name": "fetch-all",
7312
+ "allowNo": false,
7313
+ "type": "boolean"
7358
7314
  },
7359
- "acceptance-criteria": {
7360
- "description": "Acceptance criteria (maximum 255 characters)",
7361
- "name": "acceptance-criteria",
7315
+ "name": {
7316
+ "description": "Filter by name substring",
7317
+ "name": "name",
7362
7318
  "hasDynamicHelp": false,
7363
7319
  "multiple": false,
7364
7320
  "type": "option"
7365
7321
  },
7366
- "as-a": {
7367
- "description": "User story \"as a\" clause (maximum 255 characters)",
7368
- "name": "as-a",
7322
+ "type": {
7323
+ "description": "List Custom templates only, or all templates",
7324
+ "name": "type",
7325
+ "default": "custom",
7326
+ "hasDynamicHelp": false,
7327
+ "multiple": false,
7328
+ "options": [
7329
+ "custom",
7330
+ "all"
7331
+ ],
7332
+ "type": "option"
7333
+ }
7334
+ },
7335
+ "hasDynamicHelp": false,
7336
+ "hiddenAliases": [],
7337
+ "id": "cicd:template:list",
7338
+ "pluginAlias": "@copado/agentia-cli",
7339
+ "pluginName": "@copado/agentia-cli",
7340
+ "pluginType": "core",
7341
+ "strict": true,
7342
+ "enableJsonFlag": true,
7343
+ "experimental": false,
7344
+ "isESM": true,
7345
+ "relativePath": [
7346
+ "dist",
7347
+ "commands",
7348
+ "cicd",
7349
+ "template",
7350
+ "list.js"
7351
+ ]
7352
+ },
7353
+ "cicd:template:upsert": {
7354
+ "aliases": [],
7355
+ "args": {
7356
+ "api-name": {
7357
+ "description": "Template API name",
7358
+ "name": "api-name",
7359
+ "required": true
7360
+ }
7361
+ },
7362
+ "description": "Create or update a Copado Job Template by API name (legacy deploy ≈ upsert reading disk or --file)",
7363
+ "examples": [
7364
+ "<%= config.bin %> <%= command.id %> MyTemplate_1",
7365
+ "<%= config.bin %> <%= command.id %> MyTemplate_1 --file ./copado/templates/MyTemplate_1.metadata.json",
7366
+ "<%= config.bin %> <%= command.id %> MyTemplate_1 --name \"My Template\" --steps-file ./steps.json --json"
7367
+ ],
7368
+ "flags": {
7369
+ "json": {
7370
+ "description": "Format output as json.",
7371
+ "helpGroup": "GLOBAL",
7372
+ "name": "json",
7373
+ "allowNo": false,
7374
+ "type": "boolean"
7375
+ },
7376
+ "description": {
7377
+ "description": "Template description",
7378
+ "name": "description",
7379
+ "hasDynamicHelp": false,
7380
+ "multiple": false,
7381
+ "type": "option"
7382
+ },
7383
+ "file": {
7384
+ "description": "Path to a JSON file with the full upsert payload (legacy deploy format accepted)",
7385
+ "name": "file",
7386
+ "hasDynamicHelp": false,
7387
+ "multiple": false,
7388
+ "type": "option"
7389
+ },
7390
+ "name": {
7391
+ "description": "Template display name (defaults to the API name argument)",
7392
+ "name": "name",
7393
+ "hasDynamicHelp": false,
7394
+ "multiple": false,
7395
+ "type": "option"
7396
+ },
7397
+ "steps-file": {
7398
+ "description": "Path to a JSON file containing the steps array",
7399
+ "name": "steps-file",
7400
+ "hasDynamicHelp": false,
7401
+ "multiple": false,
7402
+ "type": "option"
7403
+ },
7404
+ "type": {
7405
+ "description": "Template type (for example Custom)",
7406
+ "name": "type",
7407
+ "hasDynamicHelp": false,
7408
+ "multiple": false,
7409
+ "type": "option"
7410
+ },
7411
+ "version": {
7412
+ "description": "Template version",
7413
+ "name": "version",
7414
+ "hasDynamicHelp": false,
7415
+ "multiple": false,
7416
+ "type": "option"
7417
+ },
7418
+ "volume-options": {
7419
+ "description": "Template volume options as a JSON string or plain string",
7420
+ "name": "volume-options",
7421
+ "hasDynamicHelp": false,
7422
+ "multiple": false,
7423
+ "type": "option"
7424
+ }
7425
+ },
7426
+ "hasDynamicHelp": false,
7427
+ "hiddenAliases": [],
7428
+ "id": "cicd:template:upsert",
7429
+ "pluginAlias": "@copado/agentia-cli",
7430
+ "pluginName": "@copado/agentia-cli",
7431
+ "pluginType": "core",
7432
+ "strict": true,
7433
+ "enableJsonFlag": true,
7434
+ "experimental": false,
7435
+ "isESM": true,
7436
+ "relativePath": [
7437
+ "dist",
7438
+ "commands",
7439
+ "cicd",
7440
+ "template",
7441
+ "upsert.js"
7442
+ ]
7443
+ },
7444
+ "cicd:user:get": {
7445
+ "aliases": [],
7446
+ "args": {},
7447
+ "description": "Get a Copado user by ID (defaults to the authenticated user)",
7448
+ "examples": [
7449
+ "<%= config.bin %> <%= command.id %>",
7450
+ "<%= config.bin %> <%= command.id %> --id me",
7451
+ "<%= config.bin %> <%= command.id %> --id 005000000000000",
7452
+ "<%= config.bin %> <%= command.id %> --json"
7453
+ ],
7454
+ "flags": {
7455
+ "json": {
7456
+ "description": "Format output as json.",
7457
+ "helpGroup": "GLOBAL",
7458
+ "name": "json",
7459
+ "allowNo": false,
7460
+ "type": "boolean"
7461
+ },
7462
+ "id": {
7463
+ "description": "User ID, or \"me\" for the authenticated user",
7464
+ "name": "id",
7465
+ "default": "me",
7466
+ "hasDynamicHelp": false,
7467
+ "multiple": false,
7468
+ "type": "option"
7469
+ }
7470
+ },
7471
+ "hasDynamicHelp": false,
7472
+ "hiddenAliases": [],
7473
+ "id": "cicd:user:get",
7474
+ "pluginAlias": "@copado/agentia-cli",
7475
+ "pluginName": "@copado/agentia-cli",
7476
+ "pluginType": "core",
7477
+ "strict": true,
7478
+ "enableJsonFlag": true,
7479
+ "experimental": false,
7480
+ "isESM": true,
7481
+ "relativePath": [
7482
+ "dist",
7483
+ "commands",
7484
+ "cicd",
7485
+ "user",
7486
+ "get.js"
7487
+ ]
7488
+ },
7489
+ "cicd:work:ahead-behind": {
7490
+ "aliases": [],
7491
+ "args": {
7492
+ "environment": {
7493
+ "description": "Copado environment Id or name (defaults to the configured project default environment)",
7494
+ "name": "environment",
7495
+ "required": false
7496
+ }
7497
+ },
7498
+ "description": "Compare user stories ahead of and behind the next pipeline environment. Resolves the project (and its pipeline) from the project default or --project, finds the unique next environment from pipeline connections for the given or default environment, then GET /agentia/headless/work/user-stories-ahead-behind.",
7499
+ "examples": [
7500
+ "<%= config.bin %> <%= command.id %>",
7501
+ "<%= config.bin %> <%= command.id %> dev1",
7502
+ "<%= config.bin %> <%= command.id %> a0E... --project a0w...",
7503
+ "<%= config.bin %> <%= command.id %> --json"
7504
+ ],
7505
+ "flags": {
7506
+ "json": {
7507
+ "description": "Format output as json.",
7508
+ "helpGroup": "GLOBAL",
7509
+ "name": "json",
7510
+ "allowNo": false,
7511
+ "type": "boolean"
7512
+ },
7513
+ "project": {
7514
+ "description": "Copado project Id (defaults to the configured project default)",
7515
+ "name": "project",
7516
+ "hasDynamicHelp": false,
7517
+ "multiple": false,
7518
+ "type": "option"
7519
+ }
7520
+ },
7521
+ "hasDynamicHelp": false,
7522
+ "hiddenAliases": [],
7523
+ "id": "cicd:work:ahead-behind",
7524
+ "pluginAlias": "@copado/agentia-cli",
7525
+ "pluginName": "@copado/agentia-cli",
7526
+ "pluginType": "core",
7527
+ "strict": true,
7528
+ "enableJsonFlag": true,
7529
+ "experimental": false,
7530
+ "isESM": true,
7531
+ "relativePath": [
7532
+ "dist",
7533
+ "commands",
7534
+ "cicd",
7535
+ "work",
7536
+ "ahead-behind.js"
7537
+ ]
7538
+ },
7539
+ "cicd:work:commit": {
7540
+ "aliases": [],
7541
+ "args": {
7542
+ "id": {
7543
+ "description": "User story ID (defaults to the active work item from `work set`)",
7544
+ "name": "id",
7545
+ "required": false
7546
+ }
7547
+ },
7548
+ "description": "Compatibility alias of cicd cloud commit. Create a Copado cloud metadata commit for a user story. Prefer: agentia cicd cloud commit.",
7549
+ "examples": [
7550
+ "<%= config.bin %> cicd cloud commit --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
7551
+ "<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add"
7552
+ ],
7553
+ "flags": {
7554
+ "json": {
7555
+ "description": "Format output as json.",
7556
+ "helpGroup": "GLOBAL",
7557
+ "name": "json",
7558
+ "allowNo": false,
7559
+ "type": "boolean"
7560
+ },
7561
+ "action": {
7562
+ "description": "Metadata action for simple flag input. Defaults to Add.",
7563
+ "name": "action",
7564
+ "hasDynamicHelp": false,
7565
+ "multiple": false,
7566
+ "options": [
7567
+ "Add",
7568
+ "Delete",
7569
+ "RetrieveOnly",
7570
+ "SelectiveCommit",
7571
+ "Full"
7572
+ ],
7573
+ "type": "option"
7574
+ },
7575
+ "base-branch": {
7576
+ "description": "Optional base branch to include in the commit request.",
7577
+ "name": "base-branch",
7578
+ "hasDynamicHelp": false,
7579
+ "multiple": false,
7580
+ "type": "option"
7581
+ },
7582
+ "cloud": {
7583
+ "description": "Ignored. Cloud is implied by cicd cloud commit.",
7584
+ "hidden": true,
7585
+ "name": "cloud",
7586
+ "allowNo": false,
7587
+ "type": "boolean"
7588
+ },
7589
+ "commit-id": {
7590
+ "description": "Existing local Git commit identifier to register when --no-execute-commit is used.",
7591
+ "name": "commit-id",
7592
+ "hasDynamicHelp": false,
7593
+ "multiple": false,
7594
+ "type": "option"
7595
+ },
7596
+ "execute-commit": {
7597
+ "description": "Execute the Copado commit job. Use --no-execute-commit only with --commit-id.",
7598
+ "name": "execute-commit",
7599
+ "allowNo": true,
7600
+ "type": "boolean"
7601
+ },
7602
+ "file": {
7603
+ "char": "f",
7604
+ "description": "Path to a JSON commit request body.",
7605
+ "name": "file",
7606
+ "hasDynamicHelp": false,
7607
+ "multiple": false,
7608
+ "type": "option"
7609
+ },
7610
+ "message": {
7611
+ "char": "m",
7612
+ "description": "Commit message. Required unless provided by JSON input.",
7613
+ "name": "message",
7614
+ "hasDynamicHelp": false,
7615
+ "multiple": false,
7616
+ "type": "option"
7617
+ },
7618
+ "metadata-category": {
7619
+ "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.",
7620
+ "name": "metadata-category",
7621
+ "hasDynamicHelp": false,
7622
+ "multiple": false,
7623
+ "type": "option"
7624
+ },
7625
+ "metadata-message": {
7626
+ "description": "Optional per-change message for simple flag input.",
7627
+ "name": "metadata-message",
7628
+ "hasDynamicHelp": false,
7629
+ "multiple": false,
7630
+ "type": "option"
7631
+ },
7632
+ "metadata-name": {
7633
+ "description": "Metadata full name for simple flag input.",
7634
+ "name": "metadata-name",
7635
+ "hasDynamicHelp": false,
7636
+ "multiple": false,
7637
+ "type": "option"
7638
+ },
7639
+ "metadata-raw-json": {
7640
+ "description": "Optional raw metadata JSON value for simple flag input.",
7641
+ "name": "metadata-raw-json",
7642
+ "hasDynamicHelp": false,
7643
+ "multiple": false,
7644
+ "type": "option"
7645
+ },
7646
+ "metadata-type": {
7647
+ "description": "Metadata type for simple flag input, for example ApexClass.",
7648
+ "name": "metadata-type",
7649
+ "hasDynamicHelp": false,
7650
+ "multiple": false,
7651
+ "type": "option"
7652
+ },
7653
+ "recreate-feature-branch": {
7654
+ "description": "Ask Copado to recreate the feature branch before committing.",
7655
+ "name": "recreate-feature-branch",
7656
+ "allowNo": false,
7657
+ "type": "boolean"
7658
+ },
7659
+ "selection": {
7660
+ "description": "Selected file inside a bundle for SelectiveCommit. Can be provided multiple times.",
7661
+ "name": "selection",
7662
+ "hasDynamicHelp": false,
7663
+ "multiple": true,
7664
+ "type": "option"
7665
+ },
7666
+ "stdin": {
7667
+ "description": "Read a JSON commit request body from stdin.",
7668
+ "name": "stdin",
7669
+ "allowNo": false,
7670
+ "type": "boolean"
7671
+ },
7672
+ "wait": {
7673
+ "description": "Poll the commit job to a terminal status when a jobExecution Id is returned.",
7674
+ "name": "wait",
7675
+ "allowNo": true,
7676
+ "type": "boolean"
7677
+ },
7678
+ "wait-timeout": {
7679
+ "description": "Maximum seconds to wait for the commit job.",
7680
+ "name": "wait-timeout",
7681
+ "default": 300,
7682
+ "hasDynamicHelp": false,
7683
+ "multiple": false,
7684
+ "type": "option"
7685
+ }
7686
+ },
7687
+ "hasDynamicHelp": false,
7688
+ "hidden": true,
7689
+ "hiddenAliases": [],
7690
+ "id": "cicd:work:commit",
7691
+ "pluginAlias": "@copado/agentia-cli",
7692
+ "pluginName": "@copado/agentia-cli",
7693
+ "pluginType": "core",
7694
+ "strict": true,
7695
+ "enableJsonFlag": true,
7696
+ "experimental": false,
7697
+ "isESM": true,
7698
+ "relativePath": [
7699
+ "dist",
7700
+ "commands",
7701
+ "cicd",
7702
+ "work",
7703
+ "commit.js"
7704
+ ]
7705
+ },
7706
+ "cicd:work:create": {
7707
+ "aliases": [],
7708
+ "args": {},
7709
+ "description": "Create a Copado user story",
7710
+ "examples": [
7711
+ "<%= config.bin %> <%= command.id %> --title \"My story\" --status Draft",
7712
+ "<%= config.bin %> <%= command.id %> --title \"My story\" --json"
7713
+ ],
7714
+ "flags": {
7715
+ "json": {
7716
+ "description": "Format output as json.",
7717
+ "helpGroup": "GLOBAL",
7718
+ "name": "json",
7719
+ "allowNo": false,
7720
+ "type": "boolean"
7721
+ },
7722
+ "excluded-from-cbm": {
7723
+ "description": "Exclude from CBM",
7724
+ "name": "excluded-from-cbm",
7725
+ "allowNo": true,
7726
+ "type": "boolean"
7727
+ },
7728
+ "actual-points": {
7729
+ "description": "Actual points",
7730
+ "name": "actual-points",
7731
+ "hasDynamicHelp": false,
7732
+ "multiple": false,
7733
+ "type": "option"
7734
+ },
7735
+ "planned-points": {
7736
+ "description": "Planned points",
7737
+ "name": "planned-points",
7738
+ "hasDynamicHelp": false,
7739
+ "multiple": false,
7740
+ "type": "option"
7741
+ },
7742
+ "priority": {
7743
+ "description": "Priority",
7744
+ "name": "priority",
7745
+ "hasDynamicHelp": false,
7746
+ "multiple": false,
7747
+ "type": "option"
7748
+ },
7749
+ "acceptance-criteria": {
7750
+ "description": "Acceptance criteria (maximum 255 characters)",
7751
+ "name": "acceptance-criteria",
7752
+ "hasDynamicHelp": false,
7753
+ "multiple": false,
7754
+ "type": "option"
7755
+ },
7756
+ "as-a": {
7757
+ "description": "User story \"as a\" clause (maximum 255 characters)",
7758
+ "name": "as-a",
7369
7759
  "hasDynamicHelp": false,
7370
7760
  "multiple": false,
7371
7761
  "type": "option"
@@ -7616,7 +8006,7 @@
7616
8006
  "cicd:work:environment-sync": {
7617
8007
  "aliases": [],
7618
8008
  "args": {},
7619
- "description": "Sync committed metadata from the next environment onto the destination environment (or current feature branch). Back-promotes every user story behind the destination environment from the next environment branch. GET user stories ahead and behind. If none are behind, log that and stop. Otherwise create a back-promotion and POST those behind stories onto the promotion. Resolves the next-environment Git branch from --destination-environment or --dev-org-branch (the dest pipeline connection destinationBranch, or that destination environment's outbound branch). Merges origin/<next-env> with --no-ff --no-commit, restores every other path from HEAD, commits the guessed pathspecs, and pushes the dest org branch (and the feature branch when HEAD starts with feature/). If guessed pathspecs still conflict, PATCH the back-promotion status to Merge Conflict, resolve the files, and re-run with --promotion and --continue. The promotion destination environment supplies the dest org branch and the next-env branch. To discard a conflicted merge, re-run with --promotion and --abort (runs git merge --abort and sets the back-promotion status to Draft). After a successful sync, PATCH the back-promotion status to Completed.",
8009
+ "description": "Sync committed metadata from the next environment onto the destination environment (or current feature branch). Back-promotes every user story behind the destination environment from the next environment branch. GET user stories ahead and behind. If none are behind, log that and stop. Otherwise create a back-promotion and POST those behind stories onto the promotion. Resolves the next-environment Git branch from --destination-environment or --dev-org-branch (the dest pipeline connection destinationBranch, or that destination environment's outbound branch). Merges origin/<next-env> with --no-ff --no-commit, restores every other path from HEAD, commits the guessed pathspecs, and pushes the dest org branch (and the feature branch when HEAD starts with feature/). If guessed pathspecs still conflict, PATCH the back-promotion status to Merge Conflict, resolve the files, and re-run with --promotion and --continue. The promotion destination environment supplies the dest org branch and the next-env branch. To discard a conflicted merge, re-run with --promotion and --abort (runs git merge --abort and sets the back-promotion status to Draft). After a successful sync, PATCH the back-promotion status to Completed. On git/merge failure (including conflicts) and after a successful --continue, uploads the captured command transcript as a Salesforce File on the back-promotion (`Environment Sync Logs <name-or-id> <datetime>.txt`) via `/agentia/headless/file/upload`. HTTP 404 is ignored until that endpoint is rolled out; other upload failures are warned and do not change the environment-sync outcome.",
7620
8010
  "examples": [
7621
8011
  "<%= config.bin %> <%= command.id %> --destination-environment=dev1",
7622
8012
  "<%= config.bin %> <%= command.id %> --dev-org-branch=dev1-sfp",
@@ -8053,7 +8443,7 @@
8053
8443
  "cicd:work:publish": {
8054
8444
  "aliases": [],
8055
8445
  "args": {},
8056
- "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. `--dry-run` runs commit collection, replacements, and nested detection, logs the changeListUpdate that would be sent, skips empty/replacement commits, tip lock, git push, headless register, and dev-org sync, then restores only the tracked files dirtied by replacements (untracked files are left alone). `cicd work push` is a compatibility alias of this command.",
8446
+ "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. After a successful register, uploads the captured command output as a Salesforce File on the user story (`Local Commit Logs <commitId> <datetime>.txt`) via `/agentia/headless/file/upload`. HTTP 404 is ignored until that endpoint is rolled out; other upload failures are warned and do not fail the publish. `--dry-run` runs commit collection, replacements, and nested detection, logs the changeListUpdate that would be sent, skips empty/replacement commits, tip lock, git push, headless register, log upload, and dev-org sync, then restores only the tracked files dirtied by replacements (untracked files are left alone). `cicd work push` is a compatibility alias of this command.",
8057
8447
  "examples": [
8058
8448
  "<%= config.bin %> <%= command.id %>",
8059
8449
  "<%= config.bin %> <%= command.id %> --dry-run",
@@ -8286,7 +8676,7 @@
8286
8676
  "cicd:work:submit": {
8287
8677
  "aliases": [],
8288
8678
  "args": {},
8289
- "description": "Submit the current feature/<lastWorkItem> work item for pipeline quality gates and validation. Runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true). When the last pending related job template name contains Commit, waits up to 5 minutes for that job before submitting. Before submit or promote, counts user stories ahead and behind between the source environment and the next pipeline environment, and warns when stories behind might cause promotion conflicts (advising `agentia cicd work environment-sync`). With --done or --deploy, matches Copado UI Submit when promoting (validate=false / headless work/done). cicd work done is a compatibility alias of this command with --done.",
8679
+ "description": "Submit the current feature/<lastWorkItem> work item for pipeline quality gates and validation. Runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true). When the last pending related job template name contains Commit, waits up to 5 minutes for that job before submitting. Before submit or promote, counts user stories ahead and behind between the source environment and the next pipeline environment, and warns when stories behind might cause promotion conflicts (advising `agentia cicd work environment-sync`). After a successful submit or promote, uploads the captured command output as a Salesforce File on the user story (`Local Commit Logs <commitId> <datetime>.txt`) via `/agentia/headless/file/upload`. HTTP 404 is ignored until that endpoint is rolled out; other upload failures are warned and do not fail the command. With --done or --deploy, matches Copado UI Submit when promoting (validate=false / headless work/done). cicd work done is a compatibility alias of this command with --done.",
8290
8680
  "examples": [
8291
8681
  "<%= config.bin %> <%= command.id %>",
8292
8682
  "<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
@@ -16775,159 +17165,17 @@
16775
17165
  "hasDynamicHelp": false,
16776
17166
  "multiple": false,
16777
17167
  "type": "option"
16778
- },
16779
- "file": {
16780
- "description": "Path to a JSON file with an array of metadata content requests",
16781
- "name": "file",
16782
- "hasDynamicHelp": false,
16783
- "multiple": false,
16784
- "type": "option"
16785
- },
16786
- "file-name": {
16787
- "description": "Optional metadata file name",
16788
- "name": "file-name",
16789
- "hasDynamicHelp": false,
16790
- "multiple": false,
16791
- "type": "option"
16792
- },
16793
- "metadata-type": {
16794
- "description": "Metadata type, for example ApexClass",
16795
- "name": "metadata-type",
16796
- "hasDynamicHelp": false,
16797
- "multiple": false,
16798
- "type": "option"
16799
- },
16800
- "output-file": {
16801
- "description": "Write decoded content from the first result to this file path",
16802
- "name": "output-file",
16803
- "hasDynamicHelp": false,
16804
- "multiple": false,
16805
- "type": "option"
16806
- },
16807
- "pipeline-id": {
16808
- "description": "Pipeline Id",
16809
- "name": "pipeline-id",
16810
- "hasDynamicHelp": false,
16811
- "multiple": false,
16812
- "type": "option"
16813
- },
16814
- "result-id": {
16815
- "description": "Optional result Id from a prior metadata operation",
16816
- "name": "result-id",
16817
- "hasDynamicHelp": false,
16818
- "multiple": false,
16819
- "type": "option"
16820
- },
16821
- "show": {
16822
- "description": "Print decoded metadata content to stdout after retrieval",
16823
- "name": "show",
16824
- "allowNo": false,
16825
- "type": "boolean"
16826
- },
16827
- "source": {
16828
- "description": "Content source",
16829
- "name": "source",
16830
- "default": "ENVIRONMENT",
16831
- "hasDynamicHelp": false,
16832
- "multiple": false,
16833
- "options": [
16834
- "ENVIRONMENT",
16835
- "REPOSITORY",
16836
- "GIT_MIRROR",
16837
- "ORG_CACHE"
16838
- ],
16839
- "type": "option"
16840
- },
16841
- "source-credential-id": {
16842
- "description": "Source org credential Id",
16843
- "name": "source-credential-id",
16844
- "hasDynamicHelp": false,
16845
- "multiple": false,
16846
- "type": "option"
16847
- },
16848
- "source-org-id": {
16849
- "description": "Source org Id",
16850
- "name": "source-org-id",
16851
- "hasDynamicHelp": false,
16852
- "multiple": false,
16853
- "type": "option"
16854
- }
16855
- },
16856
- "hasDynamicHelp": false,
16857
- "hiddenAliases": [],
16858
- "id": "cicd:metadata:content:get",
16859
- "pluginAlias": "@copado/agentia-cli",
16860
- "pluginName": "@copado/agentia-cli",
16861
- "pluginType": "core",
16862
- "strict": true,
16863
- "enableJsonFlag": true,
16864
- "experimental": false,
16865
- "isESM": true,
16866
- "relativePath": [
16867
- "dist",
16868
- "commands",
16869
- "cicd",
16870
- "metadata",
16871
- "content",
16872
- "get.js"
16873
- ]
16874
- },
16875
- "cicd:metadata:dependency:list": {
16876
- "aliases": [],
16877
- "args": {},
16878
- "description": "Retrieve metadata dependencies via the CICD gateway",
16879
- "examples": [
16880
- "<%= config.bin %> <%= command.id %> --metadata-name MyClass --metadata-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
16881
- "cat request.json | <%= config.bin %> <%= command.id %> --stdin",
16882
- "<%= config.bin %> <%= command.id %> --from-changes --base-ref origin/main --retrieve-mode all --pipeline-id <id> --source-org-id <id> --source-credential-id <id>"
16883
- ],
16884
- "flags": {
16885
- "json": {
16886
- "description": "Format output as json.",
16887
- "helpGroup": "GLOBAL",
16888
- "name": "json",
16889
- "allowNo": false,
16890
- "type": "boolean"
16891
- },
16892
- "base-ref": {
16893
- "description": "Base Git ref used with --from-changes",
16894
- "name": "base-ref",
16895
- "default": "origin/main",
16896
- "hasDynamicHelp": false,
16897
- "multiple": false,
16898
- "type": "option"
16899
- },
16900
- "file": {
16901
- "char": "f",
16902
- "description": "Path to a JSON dependency request body",
16903
- "name": "file",
16904
- "hasDynamicHelp": false,
16905
- "multiple": false,
16906
- "type": "option"
16907
- },
16908
- "from-changes": {
16909
- "description": "Build metadata selections from committed branch changes and staged index files",
16910
- "name": "from-changes",
16911
- "allowNo": false,
16912
- "type": "boolean"
16913
- },
16914
- "metadata-category": {
16915
- "description": "Optional metadata category",
16916
- "name": "metadata-category",
16917
- "hasDynamicHelp": false,
16918
- "multiple": false,
16919
- "type": "option"
16920
- },
16921
- "metadata-name": {
16922
- "description": "Metadata component name",
16923
- "name": "metadata-name",
17168
+ },
17169
+ "file": {
17170
+ "description": "Path to a JSON file with an array of metadata content requests",
17171
+ "name": "file",
16924
17172
  "hasDynamicHelp": false,
16925
17173
  "multiple": false,
16926
17174
  "type": "option"
16927
17175
  },
16928
- "metadata-raw-json": {
16929
- "description": "Optional raw metadata JSON for the selection",
16930
- "name": "metadata-raw-json",
17176
+ "file-name": {
17177
+ "description": "Optional metadata file name",
17178
+ "name": "file-name",
16931
17179
  "hasDynamicHelp": false,
16932
17180
  "multiple": false,
16933
17181
  "type": "option"
@@ -16939,15 +17187,11 @@
16939
17187
  "multiple": false,
16940
17188
  "type": "option"
16941
17189
  },
16942
- "module-type": {
16943
- "description": "Optional addon module type",
16944
- "name": "module-type",
17190
+ "output-file": {
17191
+ "description": "Write decoded content from the first result to this file path",
17192
+ "name": "output-file",
16945
17193
  "hasDynamicHelp": false,
16946
17194
  "multiple": false,
16947
- "options": [
16948
- "vlocity",
16949
- "data_cloud"
16950
- ],
16951
17195
  "type": "option"
16952
17196
  },
16953
17197
  "pipeline-id": {
@@ -16957,20 +17201,6 @@
16957
17201
  "multiple": false,
16958
17202
  "type": "option"
16959
17203
  },
16960
- "platform-experience": {
16961
- "description": "Gateway platform experience header",
16962
- "name": "platform-experience",
16963
- "default": "salesforce",
16964
- "hasDynamicHelp": false,
16965
- "multiple": false,
16966
- "options": [
16967
- "salesforce",
16968
- "sfdx",
16969
- "metacache",
16970
- "db"
16971
- ],
16972
- "type": "option"
16973
- },
16974
17204
  "result-id": {
16975
17205
  "description": "Optional result Id from a prior metadata operation",
16976
17206
  "name": "result-id",
@@ -16978,14 +17208,23 @@
16978
17208
  "multiple": false,
16979
17209
  "type": "option"
16980
17210
  },
16981
- "retrieve-mode": {
16982
- "description": "Dependency retrieve mode",
16983
- "name": "retrieve-mode",
17211
+ "show": {
17212
+ "description": "Print decoded metadata content to stdout after retrieval",
17213
+ "name": "show",
17214
+ "allowNo": false,
17215
+ "type": "boolean"
17216
+ },
17217
+ "source": {
17218
+ "description": "Content source",
17219
+ "name": "source",
17220
+ "default": "ENVIRONMENT",
16984
17221
  "hasDynamicHelp": false,
16985
17222
  "multiple": false,
16986
17223
  "options": [
16987
- "all",
16988
- "diff_only"
17224
+ "ENVIRONMENT",
17225
+ "REPOSITORY",
17226
+ "GIT_MIRROR",
17227
+ "ORG_CACHE"
16989
17228
  ],
16990
17229
  "type": "option"
16991
17230
  },
@@ -17002,24 +17241,11 @@
17002
17241
  "hasDynamicHelp": false,
17003
17242
  "multiple": false,
17004
17243
  "type": "option"
17005
- },
17006
- "stdin": {
17007
- "description": "Read a JSON dependency request body from stdin",
17008
- "name": "stdin",
17009
- "allowNo": false,
17010
- "type": "boolean"
17011
- },
17012
- "target-org-id": {
17013
- "description": "Target org Id",
17014
- "name": "target-org-id",
17015
- "hasDynamicHelp": false,
17016
- "multiple": false,
17017
- "type": "option"
17018
17244
  }
17019
17245
  },
17020
17246
  "hasDynamicHelp": false,
17021
17247
  "hiddenAliases": [],
17022
- "id": "cicd:metadata:dependency:list",
17248
+ "id": "cicd:metadata:content:get",
17023
17249
  "pluginAlias": "@copado/agentia-cli",
17024
17250
  "pluginName": "@copado/agentia-cli",
17025
17251
  "pluginType": "core",
@@ -17032,8 +17258,8 @@
17032
17258
  "commands",
17033
17259
  "cicd",
17034
17260
  "metadata",
17035
- "dependency",
17036
- "list.js"
17261
+ "content",
17262
+ "get.js"
17037
17263
  ]
17038
17264
  },
17039
17265
  "cicd:metadata:index:compare": {
@@ -18325,6 +18551,98 @@
18325
18551
  "unset.js"
18326
18552
  ]
18327
18553
  },
18554
+ "cicd:promotion:job-step:update": {
18555
+ "aliases": [],
18556
+ "args": {
18557
+ "id": {
18558
+ "description": "Promotion job step ID",
18559
+ "name": "id",
18560
+ "required": true
18561
+ }
18562
+ },
18563
+ "description": "Update a promotion manual task",
18564
+ "examples": [
18565
+ "<%= config.bin %> <%= command.id %> <job-step-id> --promotion <promotion-id> --status Complete",
18566
+ "<%= config.bin %> <%= command.id %> <job-step-id> -p <promotion-name> --task-comments \"Completed by QA\"",
18567
+ "<%= config.bin %> <%= command.id %> <job-step-id> -p <promotion-id> --assignee-id 005... --assignee-name \"Jane Doe\" --json"
18568
+ ],
18569
+ "flags": {
18570
+ "json": {
18571
+ "description": "Format output as json.",
18572
+ "helpGroup": "GLOBAL",
18573
+ "name": "json",
18574
+ "allowNo": false,
18575
+ "type": "boolean"
18576
+ },
18577
+ "assignee-id": {
18578
+ "description": "Salesforce user ID assigned to the manual task",
18579
+ "name": "assignee-id",
18580
+ "hasDynamicHelp": false,
18581
+ "multiple": false,
18582
+ "type": "option"
18583
+ },
18584
+ "assignee-name": {
18585
+ "description": "Name of the user assigned to the manual task",
18586
+ "name": "assignee-name",
18587
+ "hasDynamicHelp": false,
18588
+ "multiple": false,
18589
+ "type": "option"
18590
+ },
18591
+ "promotion": {
18592
+ "char": "p",
18593
+ "description": "Copado promotion ID or name",
18594
+ "name": "promotion",
18595
+ "required": true,
18596
+ "hasDynamicHelp": false,
18597
+ "multiple": false,
18598
+ "type": "option"
18599
+ },
18600
+ "status": {
18601
+ "description": "Manual task status",
18602
+ "name": "status",
18603
+ "hasDynamicHelp": false,
18604
+ "multiple": false,
18605
+ "options": [
18606
+ "Complete",
18607
+ "Incomplete",
18608
+ "Pending"
18609
+ ],
18610
+ "type": "option"
18611
+ },
18612
+ "task-comments": {
18613
+ "description": "Manual task comments",
18614
+ "name": "task-comments",
18615
+ "hasDynamicHelp": false,
18616
+ "multiple": false,
18617
+ "type": "option"
18618
+ },
18619
+ "task-description": {
18620
+ "description": "Manual task description",
18621
+ "name": "task-description",
18622
+ "hasDynamicHelp": false,
18623
+ "multiple": false,
18624
+ "type": "option"
18625
+ }
18626
+ },
18627
+ "hasDynamicHelp": false,
18628
+ "hiddenAliases": [],
18629
+ "id": "cicd:promotion:job-step:update",
18630
+ "pluginAlias": "@copado/agentia-cli",
18631
+ "pluginName": "@copado/agentia-cli",
18632
+ "pluginType": "core",
18633
+ "strict": true,
18634
+ "enableJsonFlag": true,
18635
+ "experimental": false,
18636
+ "isESM": true,
18637
+ "relativePath": [
18638
+ "dist",
18639
+ "commands",
18640
+ "cicd",
18641
+ "promotion",
18642
+ "job-step",
18643
+ "update.js"
18644
+ ]
18645
+ },
18328
18646
  "cicd:promotion:conflict:get": {
18329
18647
  "aliases": [],
18330
18648
  "args": {
@@ -18551,21 +18869,16 @@
18551
18869
  "unresolve.js"
18552
18870
  ]
18553
18871
  },
18554
- "cicd:promotion:job-step:update": {
18872
+ "cicd:repository:auth:setup": {
18555
18873
  "aliases": [],
18556
18874
  "args": {
18557
18875
  "id": {
18558
- "description": "Promotion job step ID",
18876
+ "description": "Copado Git repository ID",
18559
18877
  "name": "id",
18560
18878
  "required": true
18561
18879
  }
18562
18880
  },
18563
- "description": "Update a promotion manual task",
18564
- "examples": [
18565
- "<%= config.bin %> <%= command.id %> <job-step-id> --promotion <promotion-id> --status Complete",
18566
- "<%= config.bin %> <%= command.id %> <job-step-id> -p <promotion-name> --task-comments \"Completed by QA\"",
18567
- "<%= config.bin %> <%= command.id %> <job-step-id> -p <promotion-id> --assignee-id 005... --assignee-name \"Jane Doe\" --json"
18568
- ],
18881
+ "description": "Interactively configure repository authentication; OAuth is selected by default",
18569
18882
  "flags": {
18570
18883
  "json": {
18571
18884
  "description": "Format output as json.",
@@ -18574,59 +18887,16 @@
18574
18887
  "allowNo": false,
18575
18888
  "type": "boolean"
18576
18889
  },
18577
- "assignee-id": {
18578
- "description": "Salesforce user ID assigned to the manual task",
18579
- "name": "assignee-id",
18580
- "hasDynamicHelp": false,
18581
- "multiple": false,
18582
- "type": "option"
18583
- },
18584
- "assignee-name": {
18585
- "description": "Name of the user assigned to the manual task",
18586
- "name": "assignee-name",
18587
- "hasDynamicHelp": false,
18588
- "multiple": false,
18589
- "type": "option"
18590
- },
18591
- "promotion": {
18592
- "char": "p",
18593
- "description": "Copado promotion ID or name",
18594
- "name": "promotion",
18595
- "required": true,
18596
- "hasDynamicHelp": false,
18597
- "multiple": false,
18598
- "type": "option"
18599
- },
18600
- "status": {
18601
- "description": "Manual task status",
18602
- "name": "status",
18603
- "hasDynamicHelp": false,
18604
- "multiple": false,
18605
- "options": [
18606
- "Complete",
18607
- "Incomplete",
18608
- "Pending"
18609
- ],
18610
- "type": "option"
18611
- },
18612
- "task-comments": {
18613
- "description": "Manual task comments",
18614
- "name": "task-comments",
18615
- "hasDynamicHelp": false,
18616
- "multiple": false,
18617
- "type": "option"
18618
- },
18619
- "task-description": {
18620
- "description": "Manual task description",
18621
- "name": "task-description",
18622
- "hasDynamicHelp": false,
18623
- "multiple": false,
18624
- "type": "option"
18890
+ "overwrite": {
18891
+ "description": "Replace an existing HTTPS or SSH credential",
18892
+ "name": "overwrite",
18893
+ "allowNo": false,
18894
+ "type": "boolean"
18625
18895
  }
18626
18896
  },
18627
18897
  "hasDynamicHelp": false,
18628
18898
  "hiddenAliases": [],
18629
- "id": "cicd:promotion:job-step:update",
18899
+ "id": "cicd:repository:auth:setup",
18630
18900
  "pluginAlias": "@copado/agentia-cli",
18631
18901
  "pluginName": "@copado/agentia-cli",
18632
18902
  "pluginType": "core",
@@ -18638,21 +18908,22 @@
18638
18908
  "dist",
18639
18909
  "commands",
18640
18910
  "cicd",
18641
- "promotion",
18642
- "job-step",
18643
- "update.js"
18911
+ "repository",
18912
+ "auth",
18913
+ "setup.js"
18644
18914
  ]
18645
18915
  },
18646
- "cicd:repository:auth:setup": {
18916
+ "cicd:work:test:apex": {
18647
18917
  "aliases": [],
18648
- "args": {
18649
- "id": {
18650
- "description": "Copado Git repository ID",
18651
- "name": "id",
18652
- "required": true
18653
- }
18654
- },
18655
- "description": "Interactively configure repository authentication; OAuth is selected by default",
18918
+ "args": {},
18919
+ "description": "Run specified Apex test classes via Salesforce CLI (`sf apex run test`) with code coverage. Usually run from project-root local quality gates (`.agentia_quality_gates.sh` / `.agentia_quality_gates.cmd`) when those scripts are configured. When `--apex-test-classes` is omitted or empty, logs that no Apex tests were specified and exits without running Salesforce CLI. Failed runs save `.agentia/apex.tests.<user-story>.json`; successful runs delete that file. `--rerun-failed-apex-tests` runs the previously failed classes (optionally filtered by `--apex-test-classes`). Prints the test-run summary when the run passes, or failing tests with their messages and stack traces when it fails. Exits with the same process exit code as Salesforce CLI (`sf`), including 100 when Apex tests fail.",
18920
+ "examples": [
18921
+ "<%= config.bin %> <%= command.id %> -t HelloWorldTest",
18922
+ "<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
18923
+ "<%= config.bin %> <%= command.id %> -t MyTest,OtherTest -w 10 --json",
18924
+ "<%= config.bin %> <%= command.id %> -t \"$AGENTIA_APEX_TEST_CLASSES\"",
18925
+ "<%= config.bin %> <%= command.id %> --rerun-failed-apex-tests"
18926
+ ],
18656
18927
  "flags": {
18657
18928
  "json": {
18658
18929
  "description": "Format output as json.",
@@ -18661,16 +18932,33 @@
18661
18932
  "allowNo": false,
18662
18933
  "type": "boolean"
18663
18934
  },
18664
- "overwrite": {
18665
- "description": "Replace an existing HTTPS or SSH credential",
18666
- "name": "overwrite",
18935
+ "apex-test-classes": {
18936
+ "char": "t",
18937
+ "description": "Comma-separated Apex test class names to run. Omit or leave empty to skip without running Salesforce CLI.",
18938
+ "name": "apex-test-classes",
18939
+ "hasDynamicHelp": false,
18940
+ "multiple": false,
18941
+ "type": "option"
18942
+ },
18943
+ "rerun-failed-apex-tests": {
18944
+ "description": "Rerun Apex classes saved from the last failure for this user story (`.agentia/apex.tests.<user-story>.json`). Combined with --apex-test-classes, only matching failed classes run.",
18945
+ "name": "rerun-failed-apex-tests",
18667
18946
  "allowNo": false,
18668
18947
  "type": "boolean"
18948
+ },
18949
+ "wait": {
18950
+ "char": "w",
18951
+ "description": "Minutes to wait for Salesforce CLI Apex test results",
18952
+ "name": "wait",
18953
+ "default": 60,
18954
+ "hasDynamicHelp": false,
18955
+ "multiple": false,
18956
+ "type": "option"
18669
18957
  }
18670
18958
  },
18671
18959
  "hasDynamicHelp": false,
18672
18960
  "hiddenAliases": [],
18673
- "id": "cicd:repository:auth:setup",
18961
+ "id": "cicd:work:test:apex",
18674
18962
  "pluginAlias": "@copado/agentia-cli",
18675
18963
  "pluginName": "@copado/agentia-cli",
18676
18964
  "pluginType": "core",
@@ -18682,9 +18970,9 @@
18682
18970
  "dist",
18683
18971
  "commands",
18684
18972
  "cicd",
18685
- "repository",
18686
- "auth",
18687
- "setup.js"
18973
+ "work",
18974
+ "test",
18975
+ "apex.js"
18688
18976
  ]
18689
18977
  },
18690
18978
  "cicd:work:deployment-step:create": {
@@ -19293,68 +19581,6 @@
19293
19581
  "update.js"
19294
19582
  ]
19295
19583
  },
19296
- "cicd:work:test:apex": {
19297
- "aliases": [],
19298
- "args": {},
19299
- "description": "Run specified Apex test classes via Salesforce CLI (`sf apex run test`) with code coverage. Usually run from project-root local quality gates (`.agentia_quality_gates.sh` / `.agentia_quality_gates.cmd`) when those scripts are configured. When `--apex-test-classes` is omitted or empty, logs that no Apex tests were specified and exits without running Salesforce CLI. Failed runs save `.agentia/apex.tests.<user-story>.json`; successful runs delete that file. `--rerun-failed-apex-tests` runs the previously failed classes (optionally filtered by `--apex-test-classes`). Prints the test-run summary when the run passes, or failing tests with their messages and stack traces when it fails. Exits with the same process exit code as Salesforce CLI (`sf`), including 100 when Apex tests fail.",
19300
- "examples": [
19301
- "<%= config.bin %> <%= command.id %> -t HelloWorldTest",
19302
- "<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
19303
- "<%= config.bin %> <%= command.id %> -t MyTest,OtherTest -w 10 --json",
19304
- "<%= config.bin %> <%= command.id %> -t \"$AGENTIA_APEX_TEST_CLASSES\"",
19305
- "<%= config.bin %> <%= command.id %> --rerun-failed-apex-tests"
19306
- ],
19307
- "flags": {
19308
- "json": {
19309
- "description": "Format output as json.",
19310
- "helpGroup": "GLOBAL",
19311
- "name": "json",
19312
- "allowNo": false,
19313
- "type": "boolean"
19314
- },
19315
- "apex-test-classes": {
19316
- "char": "t",
19317
- "description": "Comma-separated Apex test class names to run. Omit or leave empty to skip without running Salesforce CLI.",
19318
- "name": "apex-test-classes",
19319
- "hasDynamicHelp": false,
19320
- "multiple": false,
19321
- "type": "option"
19322
- },
19323
- "rerun-failed-apex-tests": {
19324
- "description": "Rerun Apex classes saved from the last failure for this user story (`.agentia/apex.tests.<user-story>.json`). Combined with --apex-test-classes, only matching failed classes run.",
19325
- "name": "rerun-failed-apex-tests",
19326
- "allowNo": false,
19327
- "type": "boolean"
19328
- },
19329
- "wait": {
19330
- "char": "w",
19331
- "description": "Minutes to wait for Salesforce CLI Apex test results",
19332
- "name": "wait",
19333
- "default": 60,
19334
- "hasDynamicHelp": false,
19335
- "multiple": false,
19336
- "type": "option"
19337
- }
19338
- },
19339
- "hasDynamicHelp": false,
19340
- "hiddenAliases": [],
19341
- "id": "cicd:work:test:apex",
19342
- "pluginAlias": "@copado/agentia-cli",
19343
- "pluginName": "@copado/agentia-cli",
19344
- "pluginType": "core",
19345
- "strict": true,
19346
- "enableJsonFlag": true,
19347
- "experimental": false,
19348
- "isESM": true,
19349
- "relativePath": [
19350
- "dist",
19351
- "commands",
19352
- "cicd",
19353
- "work",
19354
- "test",
19355
- "apex.js"
19356
- ]
19357
- },
19358
19584
  "testing:job:schedule:get": {
19359
19585
  "aliases": [],
19360
19586
  "args": {
@@ -19892,6 +20118,170 @@
19892
20118
  "get.js"
19893
20119
  ]
19894
20120
  },
20121
+ "cicd:metadata:dependency:list": {
20122
+ "aliases": [],
20123
+ "args": {},
20124
+ "description": "Retrieve metadata dependencies via the CICD gateway",
20125
+ "examples": [
20126
+ "<%= config.bin %> <%= command.id %> --metadata-name MyClass --metadata-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
20127
+ "cat request.json | <%= config.bin %> <%= command.id %> --stdin",
20128
+ "<%= config.bin %> <%= command.id %> --from-changes --base-ref origin/main --retrieve-mode all --pipeline-id <id> --source-org-id <id> --source-credential-id <id>"
20129
+ ],
20130
+ "flags": {
20131
+ "json": {
20132
+ "description": "Format output as json.",
20133
+ "helpGroup": "GLOBAL",
20134
+ "name": "json",
20135
+ "allowNo": false,
20136
+ "type": "boolean"
20137
+ },
20138
+ "base-ref": {
20139
+ "description": "Base Git ref used with --from-changes",
20140
+ "name": "base-ref",
20141
+ "default": "origin/main",
20142
+ "hasDynamicHelp": false,
20143
+ "multiple": false,
20144
+ "type": "option"
20145
+ },
20146
+ "file": {
20147
+ "char": "f",
20148
+ "description": "Path to a JSON dependency request body",
20149
+ "name": "file",
20150
+ "hasDynamicHelp": false,
20151
+ "multiple": false,
20152
+ "type": "option"
20153
+ },
20154
+ "from-changes": {
20155
+ "description": "Build metadata selections from committed branch changes and staged index files",
20156
+ "name": "from-changes",
20157
+ "allowNo": false,
20158
+ "type": "boolean"
20159
+ },
20160
+ "metadata-category": {
20161
+ "description": "Optional metadata category",
20162
+ "name": "metadata-category",
20163
+ "hasDynamicHelp": false,
20164
+ "multiple": false,
20165
+ "type": "option"
20166
+ },
20167
+ "metadata-name": {
20168
+ "description": "Metadata component name",
20169
+ "name": "metadata-name",
20170
+ "hasDynamicHelp": false,
20171
+ "multiple": false,
20172
+ "type": "option"
20173
+ },
20174
+ "metadata-raw-json": {
20175
+ "description": "Optional raw metadata JSON for the selection",
20176
+ "name": "metadata-raw-json",
20177
+ "hasDynamicHelp": false,
20178
+ "multiple": false,
20179
+ "type": "option"
20180
+ },
20181
+ "metadata-type": {
20182
+ "description": "Metadata type, for example ApexClass",
20183
+ "name": "metadata-type",
20184
+ "hasDynamicHelp": false,
20185
+ "multiple": false,
20186
+ "type": "option"
20187
+ },
20188
+ "module-type": {
20189
+ "description": "Optional addon module type",
20190
+ "name": "module-type",
20191
+ "hasDynamicHelp": false,
20192
+ "multiple": false,
20193
+ "options": [
20194
+ "vlocity",
20195
+ "data_cloud"
20196
+ ],
20197
+ "type": "option"
20198
+ },
20199
+ "pipeline-id": {
20200
+ "description": "Pipeline Id",
20201
+ "name": "pipeline-id",
20202
+ "hasDynamicHelp": false,
20203
+ "multiple": false,
20204
+ "type": "option"
20205
+ },
20206
+ "platform-experience": {
20207
+ "description": "Gateway platform experience header",
20208
+ "name": "platform-experience",
20209
+ "default": "salesforce",
20210
+ "hasDynamicHelp": false,
20211
+ "multiple": false,
20212
+ "options": [
20213
+ "salesforce",
20214
+ "sfdx",
20215
+ "metacache",
20216
+ "db"
20217
+ ],
20218
+ "type": "option"
20219
+ },
20220
+ "result-id": {
20221
+ "description": "Optional result Id from a prior metadata operation",
20222
+ "name": "result-id",
20223
+ "hasDynamicHelp": false,
20224
+ "multiple": false,
20225
+ "type": "option"
20226
+ },
20227
+ "retrieve-mode": {
20228
+ "description": "Dependency retrieve mode",
20229
+ "name": "retrieve-mode",
20230
+ "hasDynamicHelp": false,
20231
+ "multiple": false,
20232
+ "options": [
20233
+ "all",
20234
+ "diff_only"
20235
+ ],
20236
+ "type": "option"
20237
+ },
20238
+ "source-credential-id": {
20239
+ "description": "Source org credential Id",
20240
+ "name": "source-credential-id",
20241
+ "hasDynamicHelp": false,
20242
+ "multiple": false,
20243
+ "type": "option"
20244
+ },
20245
+ "source-org-id": {
20246
+ "description": "Source org Id",
20247
+ "name": "source-org-id",
20248
+ "hasDynamicHelp": false,
20249
+ "multiple": false,
20250
+ "type": "option"
20251
+ },
20252
+ "stdin": {
20253
+ "description": "Read a JSON dependency request body from stdin",
20254
+ "name": "stdin",
20255
+ "allowNo": false,
20256
+ "type": "boolean"
20257
+ },
20258
+ "target-org-id": {
20259
+ "description": "Target org Id",
20260
+ "name": "target-org-id",
20261
+ "hasDynamicHelp": false,
20262
+ "multiple": false,
20263
+ "type": "option"
20264
+ }
20265
+ },
20266
+ "hasDynamicHelp": false,
20267
+ "hiddenAliases": [],
20268
+ "id": "cicd:metadata:dependency:list",
20269
+ "pluginAlias": "@copado/agentia-cli",
20270
+ "pluginName": "@copado/agentia-cli",
20271
+ "pluginType": "core",
20272
+ "strict": true,
20273
+ "enableJsonFlag": true,
20274
+ "experimental": false,
20275
+ "isESM": true,
20276
+ "relativePath": [
20277
+ "dist",
20278
+ "commands",
20279
+ "cicd",
20280
+ "metadata",
20281
+ "dependency",
20282
+ "list.js"
20283
+ ]
20284
+ },
19895
20285
  "cicd:repository:auth:https:configure": {
19896
20286
  "aliases": [],
19897
20287
  "args": {
@@ -20043,5 +20433,5 @@
20043
20433
  ]
20044
20434
  }
20045
20435
  },
20046
- "version": "1.0.0-beta.8"
20436
+ "version": "1.0.0-rc.0"
20047
20437
  }