You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,13 +43,13 @@ Credential resolution order in `src/api/client.ts`:
43
43
2.`AZURE_DEVOPS_TOKEN` env var — explicit PAT for scripts/CI
44
44
3. Stored credential (OAuth token or PAT) — persisted across sessions
45
45
46
-
OAuth uses MSAL `PublicClientApplication` with browser redirect (loopback), falling back to device-code for headless environments. Tokens are stored via keytar (native credential manager) with `~/.azd/credentials.json` as a file fallback.
46
+
OAuth uses MSAL `PublicClientApplication` with browser redirect (loopback), falling back to device-code for headless environments. Tokens are stored via keytar (native credential manager) with `~/.ado/credentials.json` as a file fallback.
Copy file name to clipboardExpand all lines: plugins/azure-devops/skills/azure-devops/SKILL.md
+8-15Lines changed: 8 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ description: >
14
14
15
15
# ado CLI Skill
16
16
17
-
`azd` is an Azure DevOps CLI optimized for agentic use. It mirrors GitHub CLI (`gh`) conventions so commands map predictably. All commands are non-interactive by default; TTY output is styled tables, non-TTY output is tab-separated plain text (pipeline-safe). Use `--json` for structured JSON.
17
+
`ado` is an Azure DevOps CLI optimized for agentic use. It mirrors GitHub CLI (`gh`) conventions so commands map predictably. All commands are non-interactive by default; TTY output is styled tables, non-TTY output is tab-separated plain text (pipeline-safe). Use `--json` for structured JSON.
18
18
19
-
## First Run: Detect Installation
19
+
## On Errors: Detect Installation
20
20
21
-
**Run this check once at the start of each session, before any other command.**
21
+
**Run this check once per session if the first `ado` command fails, before continuing with any other command.**
22
22
23
23
Check for the `ado` binary in this order:
24
24
@@ -59,22 +59,15 @@ Once installed, run `ado --version` to confirm, then retry your original request
59
59
60
60
## Authentication
61
61
62
-
Credential resolution order (highest to lowest priority):
63
-
64
-
1.`SYSTEM_ACCESSTOKEN` env var — Azure Pipelines built-in token (CI)
65
-
2.`AZURE_DEVOPS_TOKEN` env var — explicit PAT for scripts/CI
66
-
3. Stored credential from `ado auth login` (OAuth token or PAT)
67
-
68
-
### Login
69
-
62
+
If the CLI returns an authentication error, prompt the user to run one of the following commands to log in:
70
63
```bash
71
64
ado auth login # OAuth browser flow (default)
72
65
ado auth login --with-token # PAT via stdin: echo $PAT | ado auth login --with-token
73
66
ado auth login --token <pat># PAT inline
74
-
ado auth login --org <url># Specify org URL at login time
67
+
ado auth login --org <url># Specify org URL at login time
75
68
```
76
69
77
-
After login, select a default project interactively, or set env vars:
70
+
After login, the CLI attempts to select a default project interactively, or set env vars:
0 commit comments