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
{{ message }}
Repository navigation
Commit 04dfacb
Browse filesBrowse the repository at this point in the historyBrowse files
Installer setup, team settings on the wiki, updates, skills
- get.ps1: one-line install (latest release, SHA-256 checked, no browser
download so no SmartScreen stop)
- installer in six steps with defaults: connection, mode and environments
(detected from release stages and branches, saved for the user or the team),
skills for Claude Code and ZIPs for Claude Desktop, registration;
adolens setup asks the same later; Polish texts on a Polish Windows
- team settings: wiki page "ADO Lens" with the environment table, read by
everyone; ado_settings scope=team writes it with the page version
- updates: daily background check, one notice per session, ado_upgrade and
adolens upgrade [--install] [--pre]; *.old leftovers removed at start
- skills po-story and po-sprint; uninstall removes installed skills
The installer copies the program to `%LOCALAPPDATA%\Programs\ADO Lens` (no administrator rights), asks for the Azure
55
-
DevOps address (paste any link from the browser — the organization and project are taken from it), the PAT (hidden
56
-
input) and the default project (picked from a list), and registers the `ado-lens` server in Claude Desktop and Claude
57
-
Code. When the registration has to change while Claude Desktop runs, it asks you to quit Claude, waits and starts it
64
+
The installer, in six steps with a default for every question (Enter accepts it):
65
+
66
+
1. checks whether the Claude registration has to change,
67
+
2. copies the program to `%LOCALAPPDATA%\Programs\ADO Lens` (no administrator rights),
68
+
3. asks for the Azure DevOps address (paste any link from the browser — organization and project are taken from it),
69
+
the PAT (hidden input) and the default project (picked from a list),
70
+
4. asks who uses it (Product Owner / developer / everything) and where code goes: it finds the release stages and
71
+
branches, suggests names (dev → DEV, staging → UAT, master → PROD) and saves them for you or — when you agree — for
72
+
the whole team on the project's wiki page "ADO Lens" (`adolens setup` asks the same later),
73
+
5. installs the skills: into `%USERPROFILE%\.claude\skills` for Claude Code, and as ZIPs in
74
+
`skills-for-claude-desktop` to upload in Claude Desktop (Settings → Capabilities → Skills),
75
+
6. registers the `ado-lens` server in Claude Desktop and Claude Code.
76
+
77
+
Questions are in Polish on a Polish Windows, in English otherwise. When the registration has to change while Claude Desktop runs, it asks you to quit Claude, waits and starts it
58
78
again. Running `install.ps1` from a newer package updates the program and keeps settings, PATs and metadata; an
59
79
`adolens.exe` used by an open session is renamed to `*.old`, so that session keeps working.
@@ -139,7 +171,8 @@ What each MCP tool answers, when Claude should reach for it, and the CLI command
139
171
| Tool | Answers | When | CLI |
140
172
|---|---|---|---|
141
173
|`ado_status`| version, connection, signed-in user, PAT source, metadata age | checking the setup |`adolens status`|
142
-
|`ado_settings`| the connection's settings; with `environments` saves for good what branches and release stages mean, in flow order (`dev=DEV (sbx01); staging=UAT (sbx03); master=PROD`) |`ado_trace` asks for it once (SETUP), the user answers in words |`adolens config --connection c --env dev=DEV`|
174
+
|`ado_settings`| the connection's settings and the environment flow in use (local, or the team's wiki page) or detected; with `environments` saves for good what branches and release stages mean, in flow order (`dev=DEV (sbx01); staging=UAT (sbx03); master=PROD`); `scope=team` writes the wiki page |`ado_trace` asks for it once (SETUP), the user answers in words |`adolens setup`|
175
+
|`ado_upgrade`| is there a newer ADO Lens; `install=true` downloads it (SHA-256 checked) and starts its installer | when the user asks to update |`adolens upgrade --install`|
143
176
|`ado_fields`| types by backlog level; for a type: states, transitions, fields, required flags, allowed values; for a field: where it is used and its values; structure changes over time | before writing fields or WIQL; "which fields does a Bug have", "what changed in our process this month" |`adolens fields --type Bug`, `adolens fields --field Severity`, `adolens fields --changes 30d`|
144
177
|`ado_work_item`| one or more items: state, people, paths, filled fields, description and acceptance criteria as markdown, parent / children / related, linked changesets, commits, PRs and builds; with `include`: comments, history | "what is #123 about", "who changed the criteria and when" |`adolens item 123 456 --include comments,history --detail summary`|
145
178
|`ado_query`| items found by WIQL (with `@Me`, `@CurrentIteration`…) or a saved query, one line each | lists, filters, "open bugs of the sprint" |`adolens query --wiql "SELECT …"`, `adolens query --query "Shared Queries/Open bugs"`|
@@ -188,7 +221,7 @@ Estimates are characters / 4; Claude's tokenizer differs a little (Polish text r
`adolens help` lists all options. `adolens api <path>` prints the raw JSON of a GET (for development).
@@ -206,7 +239,8 @@ tests\AdoLens.Tests\ xUnit tests; Azure DevOps is simulated (FakeAdo), no
206
239
build.ps1 compile; -Deploy replaces the installed binaries, -Test runs the tests first
207
240
pack.ps1 release package (ZIP + SHA-256)
208
241
release.ps1 release-notes.ps1 releases (see below); .github\ CI and Release workflows, issue forms
209
-
install.ps1 uninstall.ps1 installation
242
+
install.ps1 uninstall.ps1 installation; get.ps1 is the one-line download and install
243
+
skills\ skills for Claude (po-verify, po-story, po-sprint)
210
244
docs\PLAN.md road map
211
245
build\ dist\ output (keep nothing of your own there)
212
246
```
@@ -250,6 +284,7 @@ regular expression per line, `!word` for allowed words. Without a list the relea
250
284
|`SetupTests.cs`| settings, connections and PAT order (Credential Manager first), command line, Claude configuration edits, Credential Manager, HTTP retries and errors, tool definition budget per mode |
251
285
|`MetadataTests.cs`| fetching the structure (levels, inherited process name, bugs on the requirement backlog), change history, compact `ado_fields` answers |
252
286
|`BoardTests.cs`| sprint progress, capacity left with days off, attention list, picking sprints, ended sprints, board columns and WIP, moving cards with the state mapping, backlog order and reordering, my day |
287
+
|`SetupFlowTests.cs`| release versions and packages for updates, the team's wiki table (round trip, hand-edited pages), detecting the flow from releases and branches, the team map on the wiki with its version, local map over the team's |
253
288
|`PrPipelineTests.cs`| PR lists and details (votes, checks, human threads only), PR actions (vote, comment on a line with a mention, create), failed build errors and log lines, running pipelines by name, saving environments, guessing the flow |
254
289
|`TraceTests.cs`| line diff (Myers, unified hunks), X++ per method with form data sources, object names from AOT paths, `ado_trace` across TFVC and Git (deployed stages YES / NOT YET, environment labels, merged branches, deleted builds, criteria changed after coding), `ado_changes` lists and file diffs |
255
290
|`WikiTests.cs`| page tree, page with version, replace only with the current version (412 never overwrites), append, create over an existing page, search snippets |
@@ -269,7 +304,9 @@ issues or commits.
269
304
| pull requests |`PullRequests.cs`|
270
305
| builds and pipeline runs |`Pipelines.cs`|
271
306
| changesets, commits, PRs, builds, deployments |`Code.cs`; tracing in `Trace.cs`; diffs and X++ per method in `Diff.cs`|
272
-
| skills for Claude |`skills\<name>\SKILL.md`|
307
+
| skills for Claude |`skills\<name>\SKILL.md` (installed by `install.ps1`) |
| team settings on the wiki, environment flow |`TeamSettings.cs`, `EnvironmentFlow.cs`; interactive setup in `Cli.cs` (`SetupAsync`), texts in `Ui.cs`|
273
310
| work item structure (types, fields, states) |`MetadataService.cs` (fetch), `MetaStore.cs` (SQLite; raise `SchemaVersion` to refetch), `Metadata.cs` (change detection) |
0 commit comments