@copado/agentia-cli 0.96.0-alpha.0 → 0.97.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +210 -182
- package/dist/commands/cicd/credential/list.d.ts +12 -0
- package/dist/commands/cicd/credential/list.js +58 -0
- package/dist/commands/cicd/credential/list.js.map +1 -0
- package/dist/commands/cicd/environment/get.js +3 -2
- package/dist/commands/cicd/environment/get.js.map +1 -1
- package/dist/commands/cicd/environment/update.js +3 -2
- package/dist/commands/cicd/environment/update.js.map +1 -1
- package/dist/lib/environment-credential-flags.d.ts +3 -0
- package/dist/lib/environment-credential-flags.js +3 -0
- package/dist/lib/environment-credential-flags.js.map +1 -1
- package/dist/lib/environment-credential-operations.d.ts +5 -1
- package/dist/lib/environment-credential-operations.js +26 -0
- package/dist/lib/environment-credential-operations.js.map +1 -1
- package/dist/lib/environment-types.d.ts +3 -0
- package/dist/lib/environment-types.js +3 -3
- package/dist/lib/environment-types.js.map +1 -1
- package/dist/lib/mcp/tools.d.ts +7 -0
- package/dist/lib/mcp/tools.js +17 -5
- package/dist/lib/mcp/tools.js.map +1 -1
- package/oclif.manifest.json +2405 -2362
- package/package.json +1 -1
- package/templates/skills/agentia-cicd/references/environments-and-credentials.md +4 -1
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Use this reference for `agentia cicd environment ...`, `agentia cicd environment auth ...`, and `agentia cicd credential ...`.
|
|
6
6
|
|
|
7
|
-
`auth set --cicd` stores the API key used by the CLI. `cicd credential` creates or updates Copado environment credential records. They are different credential types.
|
|
7
|
+
`auth set --cicd` stores the API key used by the CLI. `cicd credential` lists, creates, or updates Copado environment credential records. They are different credential types.
|
|
8
8
|
|
|
9
9
|
## Environment Commands
|
|
10
10
|
|
|
@@ -30,12 +30,14 @@ agentia cicd environment auth status <environment-id> --credentialid <credential
|
|
|
30
30
|
|
|
31
31
|
| Command | Use For | Notes |
|
|
32
32
|
| --- | --- | --- |
|
|
33
|
+
| `credential list` | Find credentials in one environment | Requires `--environmentid`; returns the environment's embedded credentials. OAuth signatures are never returned. |
|
|
33
34
|
| `credential create` | Create a Copado environment credential | Requires `--environmentid` and `--name`; `--default` marks it default. |
|
|
34
35
|
| `credential update ID` | Update a Copado environment credential | Requires `--environmentid`; use `--default` or `--no-default`. |
|
|
35
36
|
|
|
36
37
|
Examples:
|
|
37
38
|
|
|
38
39
|
```sh
|
|
40
|
+
agentia cicd credential list --environmentid <environment-id> --json
|
|
39
41
|
agentia cicd credential create --environmentid <environment-id> --name "CI User" --default --json
|
|
40
42
|
agentia cicd credential update <credential-id> --environmentid <environment-id> --no-default --json
|
|
41
43
|
```
|
|
@@ -43,6 +45,7 @@ agentia cicd credential update <credential-id> --environmentid <environment-id>
|
|
|
43
45
|
## When To Use Which Credential
|
|
44
46
|
|
|
45
47
|
- Use `agentia auth set --cicd` when the CLI cannot authenticate to the Copado CICD API.
|
|
48
|
+
- Use `agentia cicd credential list` to inspect an environment's credential records before changing authentication or defaults.
|
|
46
49
|
- Use `agentia cicd credential create/update` when a Copado environment needs a Salesforce org credential record.
|
|
47
50
|
- Use `agentia cicd environment auth web login` when a credential exists but needs browser-based OAuth authentication.
|
|
48
51
|
- Use `agentia auth get --cicd --json` to inspect local CLI auth status without exposing the raw API key.
|