@copado/agentia-cli 1.0.0-beta.2 → 1.0.0-beta.4
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.
- package/CHANGELOG.md +36 -0
- package/README.md +384 -282
- package/dist/commands/cicd/data/template/save-detail.js +2 -2
- package/dist/commands/cicd/repository/auth/https/configure.js +21 -0
- package/dist/commands/cicd/repository/auth/oauth/login.js +56 -0
- package/dist/commands/cicd/repository/auth/setup.js +28 -0
- package/dist/commands/cicd/repository/auth/ssh/configure.js +22 -0
- package/dist/commands/cicd/repository/create.js +2 -2
- package/dist/commands/cicd/repository/reset.js +17 -5
- package/dist/commands/cicd/repository/update.js +6 -14
- package/dist/commands/cicd/work/environment-sync.js +66 -61
- package/dist/commands/cicd/work/get.js +5 -9
- package/dist/commands/cicd/work/submit.js +1 -1
- package/dist/commands/runtime.js +26 -0
- package/dist/hooks/finally/ide-command-event.js +1 -1
- package/dist/hooks/init/plugin-host.js +6 -0
- package/dist/lib/agentia-command.js +16 -0
- package/dist/lib/cursor-mcp-config.js +3 -1
- package/dist/lib/data-types.js +3 -1
- package/dist/lib/git-worktree.js +2 -1
- package/dist/lib/mcp/data-tools.js +2 -2
- package/dist/lib/mcp/server.js +33 -7
- package/dist/lib/mcp/tool-annotations.js +3 -0
- package/dist/lib/mcp/tools.js +55 -12
- package/dist/lib/mcp/work-tools.js +3 -6
- package/dist/lib/plugin-host/auth.js +4 -0
- package/dist/lib/plugin-host/format.js +3 -0
- package/dist/lib/plugin-host/index.js +7 -0
- package/dist/lib/plugin-host/organization.js +4 -0
- package/dist/lib/plugin-host/projection-utils.js +6 -0
- package/dist/lib/plugin-host/registry.js +6 -0
- package/dist/lib/plugin-host/request-scope.js +4 -0
- package/dist/lib/plugin-host/work.js +4 -0
- package/dist/lib/project-root.js +3 -1
- package/dist/lib/repository-auth.js +8 -0
- package/dist/lib/repository-flags.js +2 -2
- package/dist/lib/repository-types.js +6 -1
- package/dist/lib/repository-url-prefill.js +4 -0
- package/dist/lib/runtime-invoke-context.js +6 -0
- package/dist/lib/runtime-rpc.js +14 -0
- package/dist/lib/runtime.js +1 -1
- package/dist/lib/work-environment-sync.js +1 -2
- package/dist/lib/work-get.js +3 -0
- package/oclif.manifest.json +244 -126
- package/package.json +4 -3
|
@@ -11,7 +11,6 @@ const extractBehindUserStoryItems = modules["work-environment-sync.js"]["extract
|
|
|
11
11
|
const extractCommittedMetadataList = modules["work-environment-sync.js"]["extractCommittedMetadataList"]
|
|
12
12
|
const fetchWorkEnvironmentSyncStories = modules["work-environment-sync.js"]["fetchWorkEnvironmentSyncStories"]
|
|
13
13
|
const fetchWorkEnvironmentSyncStory = modules["work-environment-sync.js"]["fetchWorkEnvironmentSyncStory"]
|
|
14
|
-
const formatCommittedMetadataTable = modules["work-environment-sync.js"]["formatCommittedMetadataTable"]
|
|
15
14
|
const formatDiscoveredEnvironmentSyncLine = modules["work-environment-sync.js"]["formatDiscoveredEnvironmentSyncLine"]
|
|
16
15
|
const formatEnvironmentSyncAbortCommand = modules["work-environment-sync.js"]["formatEnvironmentSyncAbortCommand"]
|
|
17
16
|
const formatEnvironmentSyncConflictSuggestions = modules["work-environment-sync.js"]["formatEnvironmentSyncConflictSuggestions"]
|
|
@@ -39,4 +38,4 @@ const resolveEnvironmentSyncSourceEnvironmentId = modules["work-environment-sync
|
|
|
39
38
|
const resolveNextEnvironmentBranchFromPipeline = modules["work-environment-sync.js"]["resolveNextEnvironmentBranchFromPipeline"]
|
|
40
39
|
const selectEnvironmentSyncDestinationCredentialId = modules["work-environment-sync.js"]["selectEnvironmentSyncDestinationCredentialId"]
|
|
41
40
|
const workCommittedMetadataEndpoint = modules["work-environment-sync.js"]["workCommittedMetadataEndpoint"]
|
|
42
|
-
export {DEFAULT_SFDX_METADATA_ROOT, NO_USER_STORIES_BEHIND_MESSAGE, WorkEnvironmentSyncConflictError, WorkEnvironmentSyncValidationError, assertEnvironmentSyncDestOrgSelector, collectEnvironmentSyncPathspecs, collectUserStoryIds, environmentSyncUserStoryIds, extractBehindUserStoryItems, extractCommittedMetadataList, fetchWorkEnvironmentSyncStories, fetchWorkEnvironmentSyncStory,
|
|
41
|
+
export {DEFAULT_SFDX_METADATA_ROOT, NO_USER_STORIES_BEHIND_MESSAGE, WorkEnvironmentSyncConflictError, WorkEnvironmentSyncValidationError, assertEnvironmentSyncDestOrgSelector, collectEnvironmentSyncPathspecs, collectUserStoryIds, environmentSyncUserStoryIds, extractBehindUserStoryItems, extractCommittedMetadataList, fetchWorkEnvironmentSyncStories, fetchWorkEnvironmentSyncStory, formatDiscoveredEnvironmentSyncLine, formatEnvironmentSyncAbortCommand, formatEnvironmentSyncConflictSuggestions, formatEnvironmentSyncContextLine, formatEnvironmentSyncContinueCommand, formatEnvironmentSyncKeepPathspecs, formatNoUserStoriesBehindMessage, formatWorkEnvironmentSyncPromotion, formatWorkEnvironmentSyncResult, formatWorkEnvironmentSyncStories, guessMetadataPathspecs, isFeatureWorkBranch, isSafeMetadataPathspec, normalizeCommittedMetadata, normalizeCommittedMetadataChange, performWorkEnvironmentSync, requireSafeGitBranchName, requireSameEnvironmentSyncContext, resolveConnectionNextEnvironmentBranch, resolveDestEnvironmentIdFromConnections, resolveDestOrgEnvironmentName, resolveDevOrgBranchFromDestinationEnvironment, resolveEnvironmentSyncDestOrgBranch, resolveEnvironmentSyncSourceEnvironmentId, resolveNextEnvironmentBranchFromPipeline, selectEnvironmentSyncDestinationCredentialId, workCommittedMetadataEndpoint};
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"runtime": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Start a stdio NDJSON runtime for in-process Agentia command invokes",
|
|
7
|
+
"flags": {
|
|
8
|
+
"idle-ms": {
|
|
9
|
+
"description": "Exit after this many idle milliseconds with no in-flight requests",
|
|
10
|
+
"name": "idle-ms",
|
|
11
|
+
"default": 600000,
|
|
12
|
+
"hasDynamicHelp": false,
|
|
13
|
+
"multiple": false,
|
|
14
|
+
"type": "option"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"hasDynamicHelp": false,
|
|
18
|
+
"hidden": true,
|
|
19
|
+
"hiddenAliases": [],
|
|
20
|
+
"id": "runtime",
|
|
21
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
22
|
+
"pluginName": "@copado/agentia-cli",
|
|
23
|
+
"pluginType": "core",
|
|
24
|
+
"strict": true,
|
|
25
|
+
"enableJsonFlag": false,
|
|
26
|
+
"isESM": true,
|
|
27
|
+
"relativePath": [
|
|
28
|
+
"dist",
|
|
29
|
+
"commands",
|
|
30
|
+
"runtime.js"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
3
33
|
"setup": {
|
|
4
34
|
"aliases": [],
|
|
5
35
|
"args": {},
|
|
@@ -4951,9 +4981,9 @@
|
|
|
4951
4981
|
"required": true
|
|
4952
4982
|
}
|
|
4953
4983
|
},
|
|
4954
|
-
"description": "Create a Copado Git repository",
|
|
4984
|
+
"description": "Create a Copado Git repository shell",
|
|
4955
4985
|
"examples": [
|
|
4956
|
-
"<%= config.bin %> <%= command.id %> my-repo --source-format DX --provider Github
|
|
4986
|
+
"<%= config.bin %> <%= command.id %> my-repo --source-format DX --provider Github",
|
|
4957
4987
|
"<%= config.bin %> <%= command.id %> my-repo --source-format DX --provider GitLab --json"
|
|
4958
4988
|
],
|
|
4959
4989
|
"flags": {
|
|
@@ -4976,72 +5006,6 @@
|
|
|
4976
5006
|
"allowNo": true,
|
|
4977
5007
|
"type": "boolean"
|
|
4978
5008
|
},
|
|
4979
|
-
"auth-type": {
|
|
4980
|
-
"description": "Repository authentication type",
|
|
4981
|
-
"name": "auth-type",
|
|
4982
|
-
"hasDynamicHelp": false,
|
|
4983
|
-
"multiple": false,
|
|
4984
|
-
"options": [
|
|
4985
|
-
"HTTPS"
|
|
4986
|
-
],
|
|
4987
|
-
"type": "option"
|
|
4988
|
-
},
|
|
4989
|
-
"branch-base-url": {
|
|
4990
|
-
"description": "Base URL for repository branch links",
|
|
4991
|
-
"name": "branch-base-url",
|
|
4992
|
-
"hasDynamicHelp": false,
|
|
4993
|
-
"multiple": false,
|
|
4994
|
-
"type": "option"
|
|
4995
|
-
},
|
|
4996
|
-
"commit-base-url": {
|
|
4997
|
-
"description": "Base URL for repository commit links",
|
|
4998
|
-
"name": "commit-base-url",
|
|
4999
|
-
"hasDynamicHelp": false,
|
|
5000
|
-
"multiple": false,
|
|
5001
|
-
"type": "option"
|
|
5002
|
-
},
|
|
5003
|
-
"extra-headers": {
|
|
5004
|
-
"description": "Additional authentication headers. Prefer environment-specific credential storage when available.",
|
|
5005
|
-
"name": "extra-headers",
|
|
5006
|
-
"hasDynamicHelp": false,
|
|
5007
|
-
"multiple": false,
|
|
5008
|
-
"type": "option"
|
|
5009
|
-
},
|
|
5010
|
-
"password": {
|
|
5011
|
-
"description": "Repository password or token. This can be visible in shell history.",
|
|
5012
|
-
"name": "password",
|
|
5013
|
-
"hasDynamicHelp": false,
|
|
5014
|
-
"multiple": false,
|
|
5015
|
-
"type": "option"
|
|
5016
|
-
},
|
|
5017
|
-
"pull-request-base-url": {
|
|
5018
|
-
"description": "Base URL for repository pull request links",
|
|
5019
|
-
"name": "pull-request-base-url",
|
|
5020
|
-
"hasDynamicHelp": false,
|
|
5021
|
-
"multiple": false,
|
|
5022
|
-
"type": "option"
|
|
5023
|
-
},
|
|
5024
|
-
"tag-base-url": {
|
|
5025
|
-
"description": "Base URL for repository tag links",
|
|
5026
|
-
"name": "tag-base-url",
|
|
5027
|
-
"hasDynamicHelp": false,
|
|
5028
|
-
"multiple": false,
|
|
5029
|
-
"type": "option"
|
|
5030
|
-
},
|
|
5031
|
-
"uri": {
|
|
5032
|
-
"description": "Repository clone URI",
|
|
5033
|
-
"name": "uri",
|
|
5034
|
-
"hasDynamicHelp": false,
|
|
5035
|
-
"multiple": false,
|
|
5036
|
-
"type": "option"
|
|
5037
|
-
},
|
|
5038
|
-
"username": {
|
|
5039
|
-
"description": "Repository username",
|
|
5040
|
-
"name": "username",
|
|
5041
|
-
"hasDynamicHelp": false,
|
|
5042
|
-
"multiple": false,
|
|
5043
|
-
"type": "option"
|
|
5044
|
-
},
|
|
5045
5009
|
"provider": {
|
|
5046
5010
|
"description": "Git repository provider",
|
|
5047
5011
|
"name": "provider",
|
|
@@ -5052,6 +5016,7 @@
|
|
|
5052
5016
|
"Github",
|
|
5053
5017
|
"Bitbucket",
|
|
5054
5018
|
"GitLab",
|
|
5019
|
+
"Azure",
|
|
5055
5020
|
"Microsoft Team Service",
|
|
5056
5021
|
"Copado Version Control",
|
|
5057
5022
|
"Others"
|
|
@@ -5059,12 +5024,13 @@
|
|
|
5059
5024
|
"type": "option"
|
|
5060
5025
|
},
|
|
5061
5026
|
"source-format": {
|
|
5062
|
-
"description": "Git repository source format",
|
|
5027
|
+
"description": "Git repository source format (default: DX)",
|
|
5063
5028
|
"name": "source-format",
|
|
5064
|
-
"
|
|
5029
|
+
"default": "DX",
|
|
5065
5030
|
"hasDynamicHelp": false,
|
|
5066
5031
|
"multiple": false,
|
|
5067
5032
|
"options": [
|
|
5033
|
+
"Metadata",
|
|
5068
5034
|
"DX"
|
|
5069
5035
|
],
|
|
5070
5036
|
"type": "option"
|
|
@@ -5216,6 +5182,7 @@
|
|
|
5216
5182
|
"Github",
|
|
5217
5183
|
"Bitbucket",
|
|
5218
5184
|
"GitLab",
|
|
5185
|
+
"Azure",
|
|
5219
5186
|
"Microsoft Team Service",
|
|
5220
5187
|
"Copado Version Control",
|
|
5221
5188
|
"Others"
|
|
@@ -5228,6 +5195,7 @@
|
|
|
5228
5195
|
"hasDynamicHelp": false,
|
|
5229
5196
|
"multiple": false,
|
|
5230
5197
|
"options": [
|
|
5198
|
+
"Metadata",
|
|
5231
5199
|
"DX"
|
|
5232
5200
|
],
|
|
5233
5201
|
"type": "option"
|
|
@@ -5299,10 +5267,10 @@
|
|
|
5299
5267
|
"required": true
|
|
5300
5268
|
}
|
|
5301
5269
|
},
|
|
5302
|
-
"description": "Reset a Copado Git repository",
|
|
5270
|
+
"description": "Reset a Copado Git repository and its authentication configuration",
|
|
5303
5271
|
"examples": [
|
|
5304
|
-
"<%= config.bin %> <%= command.id %> repo-001",
|
|
5305
|
-
"<%= config.bin %> <%= command.id %> repo-001 --json"
|
|
5272
|
+
"<%= config.bin %> <%= command.id %> repo-001 --yes",
|
|
5273
|
+
"<%= config.bin %> <%= command.id %> repo-001 --yes --json"
|
|
5306
5274
|
],
|
|
5307
5275
|
"flags": {
|
|
5308
5276
|
"json": {
|
|
@@ -5311,6 +5279,13 @@
|
|
|
5311
5279
|
"name": "json",
|
|
5312
5280
|
"allowNo": false,
|
|
5313
5281
|
"type": "boolean"
|
|
5282
|
+
},
|
|
5283
|
+
"yes": {
|
|
5284
|
+
"char": "y",
|
|
5285
|
+
"description": "Confirm reset without prompting",
|
|
5286
|
+
"name": "yes",
|
|
5287
|
+
"allowNo": false,
|
|
5288
|
+
"type": "boolean"
|
|
5314
5289
|
}
|
|
5315
5290
|
},
|
|
5316
5291
|
"hasDynamicHelp": false,
|
|
@@ -5342,7 +5317,7 @@
|
|
|
5342
5317
|
"description": "Update a Copado Git repository by ID",
|
|
5343
5318
|
"examples": [
|
|
5344
5319
|
"<%= config.bin %> <%= command.id %> repo-001 --uri https://github.com/org/repo.git",
|
|
5345
|
-
"<%= config.bin %> <%= command.id %> repo-001 --clear-
|
|
5320
|
+
"<%= config.bin %> <%= command.id %> repo-001 --clear-uri",
|
|
5346
5321
|
"<%= config.bin %> <%= command.id %> repo-001 --provider GitLab --json"
|
|
5347
5322
|
],
|
|
5348
5323
|
"flags": {
|
|
@@ -5377,18 +5352,6 @@
|
|
|
5377
5352
|
"allowNo": false,
|
|
5378
5353
|
"type": "boolean"
|
|
5379
5354
|
},
|
|
5380
|
-
"clear-extra-headers": {
|
|
5381
|
-
"description": "Clear additional repository headers",
|
|
5382
|
-
"name": "clear-extra-headers",
|
|
5383
|
-
"allowNo": false,
|
|
5384
|
-
"type": "boolean"
|
|
5385
|
-
},
|
|
5386
|
-
"clear-password": {
|
|
5387
|
-
"description": "Clear the repository password or token",
|
|
5388
|
-
"name": "clear-password",
|
|
5389
|
-
"allowNo": false,
|
|
5390
|
-
"type": "boolean"
|
|
5391
|
-
},
|
|
5392
5355
|
"clear-pull-request-base-url": {
|
|
5393
5356
|
"description": "Clear the repository pull request base URL",
|
|
5394
5357
|
"name": "clear-pull-request-base-url",
|
|
@@ -5407,22 +5370,6 @@
|
|
|
5407
5370
|
"allowNo": false,
|
|
5408
5371
|
"type": "boolean"
|
|
5409
5372
|
},
|
|
5410
|
-
"clear-username": {
|
|
5411
|
-
"description": "Clear the repository username",
|
|
5412
|
-
"name": "clear-username",
|
|
5413
|
-
"allowNo": false,
|
|
5414
|
-
"type": "boolean"
|
|
5415
|
-
},
|
|
5416
|
-
"auth-type": {
|
|
5417
|
-
"description": "Repository authentication type",
|
|
5418
|
-
"name": "auth-type",
|
|
5419
|
-
"hasDynamicHelp": false,
|
|
5420
|
-
"multiple": false,
|
|
5421
|
-
"options": [
|
|
5422
|
-
"HTTPS"
|
|
5423
|
-
],
|
|
5424
|
-
"type": "option"
|
|
5425
|
-
},
|
|
5426
5373
|
"branch-base-url": {
|
|
5427
5374
|
"description": "Base URL for repository branch links",
|
|
5428
5375
|
"name": "branch-base-url",
|
|
@@ -5437,20 +5384,6 @@
|
|
|
5437
5384
|
"multiple": false,
|
|
5438
5385
|
"type": "option"
|
|
5439
5386
|
},
|
|
5440
|
-
"extra-headers": {
|
|
5441
|
-
"description": "Additional authentication headers. Prefer environment-specific credential storage when available.",
|
|
5442
|
-
"name": "extra-headers",
|
|
5443
|
-
"hasDynamicHelp": false,
|
|
5444
|
-
"multiple": false,
|
|
5445
|
-
"type": "option"
|
|
5446
|
-
},
|
|
5447
|
-
"password": {
|
|
5448
|
-
"description": "Repository password or token. This can be visible in shell history.",
|
|
5449
|
-
"name": "password",
|
|
5450
|
-
"hasDynamicHelp": false,
|
|
5451
|
-
"multiple": false,
|
|
5452
|
-
"type": "option"
|
|
5453
|
-
},
|
|
5454
5387
|
"pull-request-base-url": {
|
|
5455
5388
|
"description": "Base URL for repository pull request links",
|
|
5456
5389
|
"name": "pull-request-base-url",
|
|
@@ -5472,13 +5405,6 @@
|
|
|
5472
5405
|
"multiple": false,
|
|
5473
5406
|
"type": "option"
|
|
5474
5407
|
},
|
|
5475
|
-
"username": {
|
|
5476
|
-
"description": "Repository username",
|
|
5477
|
-
"name": "username",
|
|
5478
|
-
"hasDynamicHelp": false,
|
|
5479
|
-
"multiple": false,
|
|
5480
|
-
"type": "option"
|
|
5481
|
-
},
|
|
5482
5408
|
"name": {
|
|
5483
5409
|
"description": "Repository name",
|
|
5484
5410
|
"name": "name",
|
|
@@ -5495,6 +5421,7 @@
|
|
|
5495
5421
|
"Github",
|
|
5496
5422
|
"Bitbucket",
|
|
5497
5423
|
"GitLab",
|
|
5424
|
+
"Azure",
|
|
5498
5425
|
"Microsoft Team Service",
|
|
5499
5426
|
"Copado Version Control",
|
|
5500
5427
|
"Others"
|
|
@@ -5507,6 +5434,7 @@
|
|
|
5507
5434
|
"hasDynamicHelp": false,
|
|
5508
5435
|
"multiple": false,
|
|
5509
5436
|
"options": [
|
|
5437
|
+
"Metadata",
|
|
5510
5438
|
"DX"
|
|
5511
5439
|
],
|
|
5512
5440
|
"type": "option"
|
|
@@ -6388,7 +6316,7 @@
|
|
|
6388
6316
|
"type": "boolean"
|
|
6389
6317
|
},
|
|
6390
6318
|
"continue": {
|
|
6391
|
-
"description": "
|
|
6319
|
+
"description": "Finish after merge conflicts. If the merge is still in progress (conflicts fixed and staged, but not committed), commits it; if you already committed, continues from there through the remaining git steps.",
|
|
6392
6320
|
"exclusive": [
|
|
6393
6321
|
"abort"
|
|
6394
6322
|
],
|
|
@@ -7010,7 +6938,7 @@
|
|
|
7010
6938
|
"cicd:work:submit": {
|
|
7011
6939
|
"aliases": [],
|
|
7012
6940
|
"args": {},
|
|
7013
|
-
"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. 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.",
|
|
6941
|
+
"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.",
|
|
7014
6942
|
"examples": [
|
|
7015
6943
|
"<%= config.bin %> <%= command.id %>",
|
|
7016
6944
|
"<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
|
|
@@ -17217,6 +17145,49 @@
|
|
|
17217
17145
|
"update.js"
|
|
17218
17146
|
]
|
|
17219
17147
|
},
|
|
17148
|
+
"cicd:repository:auth:setup": {
|
|
17149
|
+
"aliases": [],
|
|
17150
|
+
"args": {
|
|
17151
|
+
"id": {
|
|
17152
|
+
"description": "Copado Git repository ID",
|
|
17153
|
+
"name": "id",
|
|
17154
|
+
"required": true
|
|
17155
|
+
}
|
|
17156
|
+
},
|
|
17157
|
+
"description": "Interactively configure repository authentication; OAuth is selected by default",
|
|
17158
|
+
"flags": {
|
|
17159
|
+
"json": {
|
|
17160
|
+
"description": "Format output as json.",
|
|
17161
|
+
"helpGroup": "GLOBAL",
|
|
17162
|
+
"name": "json",
|
|
17163
|
+
"allowNo": false,
|
|
17164
|
+
"type": "boolean"
|
|
17165
|
+
},
|
|
17166
|
+
"overwrite": {
|
|
17167
|
+
"description": "Replace an existing HTTPS or SSH credential",
|
|
17168
|
+
"name": "overwrite",
|
|
17169
|
+
"allowNo": false,
|
|
17170
|
+
"type": "boolean"
|
|
17171
|
+
}
|
|
17172
|
+
},
|
|
17173
|
+
"hasDynamicHelp": false,
|
|
17174
|
+
"hiddenAliases": [],
|
|
17175
|
+
"id": "cicd:repository:auth:setup",
|
|
17176
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
17177
|
+
"pluginName": "@copado/agentia-cli",
|
|
17178
|
+
"pluginType": "core",
|
|
17179
|
+
"strict": true,
|
|
17180
|
+
"enableJsonFlag": true,
|
|
17181
|
+
"isESM": true,
|
|
17182
|
+
"relativePath": [
|
|
17183
|
+
"dist",
|
|
17184
|
+
"commands",
|
|
17185
|
+
"cicd",
|
|
17186
|
+
"repository",
|
|
17187
|
+
"auth",
|
|
17188
|
+
"setup.js"
|
|
17189
|
+
]
|
|
17190
|
+
},
|
|
17220
17191
|
"cicd:work:deployment-step:create": {
|
|
17221
17192
|
"aliases": [],
|
|
17222
17193
|
"args": {},
|
|
@@ -18397,7 +18368,154 @@
|
|
|
18397
18368
|
"log",
|
|
18398
18369
|
"get.js"
|
|
18399
18370
|
]
|
|
18371
|
+
},
|
|
18372
|
+
"cicd:repository:auth:https:configure": {
|
|
18373
|
+
"aliases": [],
|
|
18374
|
+
"args": {
|
|
18375
|
+
"id": {
|
|
18376
|
+
"description": "Copado Git repository ID",
|
|
18377
|
+
"name": "id",
|
|
18378
|
+
"required": true
|
|
18379
|
+
}
|
|
18380
|
+
},
|
|
18381
|
+
"description": "Configure HTTPS authentication. Use a personal access token as the password when required by the provider.",
|
|
18382
|
+
"flags": {
|
|
18383
|
+
"json": {
|
|
18384
|
+
"description": "Format output as json.",
|
|
18385
|
+
"helpGroup": "GLOBAL",
|
|
18386
|
+
"name": "json",
|
|
18387
|
+
"allowNo": false,
|
|
18388
|
+
"type": "boolean"
|
|
18389
|
+
},
|
|
18390
|
+
"input-stdin": {
|
|
18391
|
+
"description": "Read the complete HTTPS authentication JSON payload from stdin",
|
|
18392
|
+
"name": "input-stdin",
|
|
18393
|
+
"allowNo": false,
|
|
18394
|
+
"type": "boolean"
|
|
18395
|
+
},
|
|
18396
|
+
"overwrite": {
|
|
18397
|
+
"description": "Replace an existing validated HTTPS credential",
|
|
18398
|
+
"name": "overwrite",
|
|
18399
|
+
"allowNo": false,
|
|
18400
|
+
"type": "boolean"
|
|
18401
|
+
}
|
|
18402
|
+
},
|
|
18403
|
+
"hasDynamicHelp": false,
|
|
18404
|
+
"hiddenAliases": [],
|
|
18405
|
+
"id": "cicd:repository:auth:https:configure",
|
|
18406
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
18407
|
+
"pluginName": "@copado/agentia-cli",
|
|
18408
|
+
"pluginType": "core",
|
|
18409
|
+
"strict": true,
|
|
18410
|
+
"enableJsonFlag": true,
|
|
18411
|
+
"isESM": true,
|
|
18412
|
+
"relativePath": [
|
|
18413
|
+
"dist",
|
|
18414
|
+
"commands",
|
|
18415
|
+
"cicd",
|
|
18416
|
+
"repository",
|
|
18417
|
+
"auth",
|
|
18418
|
+
"https",
|
|
18419
|
+
"configure.js"
|
|
18420
|
+
]
|
|
18421
|
+
},
|
|
18422
|
+
"cicd:repository:auth:oauth:login": {
|
|
18423
|
+
"aliases": [],
|
|
18424
|
+
"args": {
|
|
18425
|
+
"id": {
|
|
18426
|
+
"description": "Copado Git repository ID",
|
|
18427
|
+
"name": "id",
|
|
18428
|
+
"required": true
|
|
18429
|
+
}
|
|
18430
|
+
},
|
|
18431
|
+
"description": "Authenticate a repository through browser OAuth and select a remote repository",
|
|
18432
|
+
"flags": {
|
|
18433
|
+
"json": {
|
|
18434
|
+
"description": "Format output as json.",
|
|
18435
|
+
"helpGroup": "GLOBAL",
|
|
18436
|
+
"name": "json",
|
|
18437
|
+
"allowNo": false,
|
|
18438
|
+
"type": "boolean"
|
|
18439
|
+
},
|
|
18440
|
+
"port": {
|
|
18441
|
+
"description": "Local callback port (default: scan 8080-8090)",
|
|
18442
|
+
"name": "port",
|
|
18443
|
+
"hasDynamicHelp": false,
|
|
18444
|
+
"multiple": false,
|
|
18445
|
+
"type": "option"
|
|
18446
|
+
},
|
|
18447
|
+
"timeout": {
|
|
18448
|
+
"description": "Seconds to wait for browser authentication",
|
|
18449
|
+
"name": "timeout",
|
|
18450
|
+
"default": 300,
|
|
18451
|
+
"hasDynamicHelp": false,
|
|
18452
|
+
"multiple": false,
|
|
18453
|
+
"type": "option"
|
|
18454
|
+
}
|
|
18455
|
+
},
|
|
18456
|
+
"hasDynamicHelp": false,
|
|
18457
|
+
"hiddenAliases": [],
|
|
18458
|
+
"id": "cicd:repository:auth:oauth:login",
|
|
18459
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
18460
|
+
"pluginName": "@copado/agentia-cli",
|
|
18461
|
+
"pluginType": "core",
|
|
18462
|
+
"strict": true,
|
|
18463
|
+
"enableJsonFlag": true,
|
|
18464
|
+
"isESM": true,
|
|
18465
|
+
"relativePath": [
|
|
18466
|
+
"dist",
|
|
18467
|
+
"commands",
|
|
18468
|
+
"cicd",
|
|
18469
|
+
"repository",
|
|
18470
|
+
"auth",
|
|
18471
|
+
"oauth",
|
|
18472
|
+
"login.js"
|
|
18473
|
+
]
|
|
18474
|
+
},
|
|
18475
|
+
"cicd:repository:auth:ssh:configure": {
|
|
18476
|
+
"aliases": [],
|
|
18477
|
+
"args": {
|
|
18478
|
+
"id": {
|
|
18479
|
+
"description": "Copado Git repository ID",
|
|
18480
|
+
"name": "id",
|
|
18481
|
+
"required": true
|
|
18482
|
+
}
|
|
18483
|
+
},
|
|
18484
|
+
"description": "Generate SSH authentication and a public key. Add the key to your Git provider as a deploy, access, or SSH key.",
|
|
18485
|
+
"flags": {
|
|
18486
|
+
"json": {
|
|
18487
|
+
"description": "Format output as json.",
|
|
18488
|
+
"helpGroup": "GLOBAL",
|
|
18489
|
+
"name": "json",
|
|
18490
|
+
"allowNo": false,
|
|
18491
|
+
"type": "boolean"
|
|
18492
|
+
},
|
|
18493
|
+
"overwrite": {
|
|
18494
|
+
"description": "Replace an existing SSH key after confirmation",
|
|
18495
|
+
"name": "overwrite",
|
|
18496
|
+
"allowNo": false,
|
|
18497
|
+
"type": "boolean"
|
|
18498
|
+
}
|
|
18499
|
+
},
|
|
18500
|
+
"hasDynamicHelp": false,
|
|
18501
|
+
"hiddenAliases": [],
|
|
18502
|
+
"id": "cicd:repository:auth:ssh:configure",
|
|
18503
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
18504
|
+
"pluginName": "@copado/agentia-cli",
|
|
18505
|
+
"pluginType": "core",
|
|
18506
|
+
"strict": true,
|
|
18507
|
+
"enableJsonFlag": true,
|
|
18508
|
+
"isESM": true,
|
|
18509
|
+
"relativePath": [
|
|
18510
|
+
"dist",
|
|
18511
|
+
"commands",
|
|
18512
|
+
"cicd",
|
|
18513
|
+
"repository",
|
|
18514
|
+
"auth",
|
|
18515
|
+
"ssh",
|
|
18516
|
+
"configure.js"
|
|
18517
|
+
]
|
|
18400
18518
|
}
|
|
18401
18519
|
},
|
|
18402
|
-
"version": "1.0.0-beta.
|
|
18520
|
+
"version": "1.0.0-beta.4"
|
|
18403
18521
|
}
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"theme.json",
|
|
34
34
|
"vendor/java"
|
|
35
35
|
],
|
|
36
|
-
"homepage": "https://
|
|
36
|
+
"homepage": "https://developer.copado.com/docs",
|
|
37
37
|
"keywords": [
|
|
38
38
|
"oclif"
|
|
39
39
|
],
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
],
|
|
51
51
|
"init": [
|
|
52
52
|
"./dist/hooks/init/version-warning",
|
|
53
|
-
"./dist/hooks/init/migrate-user-config"
|
|
53
|
+
"./dist/hooks/init/migrate-user-config",
|
|
54
|
+
"./dist/hooks/init/plugin-host"
|
|
54
55
|
]
|
|
55
56
|
},
|
|
56
57
|
"plugins": [
|
|
@@ -201,7 +202,7 @@
|
|
|
201
202
|
}
|
|
202
203
|
},
|
|
203
204
|
"type": "module",
|
|
204
|
-
"version": "1.0.0-beta.
|
|
205
|
+
"version": "1.0.0-beta.4",
|
|
205
206
|
"x-agentia-protected-build": true,
|
|
206
207
|
"x-agentia-protected-files": [
|
|
207
208
|
"dist/lib/runtime.js"
|