@staff0rd/assist 0.925.0 → 0.926.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
CHANGED
|
@@ -147,7 +147,7 @@ Every command supports `--help` for full detail on its flags and behaviour.
|
|
|
147
147
|
- `--refine` - Skip posting; walk through the findings interactively and edit them
|
|
148
148
|
- `--apply` - Skip posting; walk through each finding asking apply/skip
|
|
149
149
|
- `--backlog` - Skip posting; file all findings as a single bug backlog item with one phase per finding
|
|
150
|
-
- `--checkout-only` - Skip the review; check the PR out and leave an idle Claude session in it
|
|
150
|
+
- `--checkout-only` - Skip the review; check the PR out and leave an idle Claude session in it. In a clone whose remote is on Azure DevOps it checks out with `az repos pr checkout` instead of `gh` (see [Azure DevOps PRs](#azure-devops-prs))
|
|
151
151
|
- `--high-level` - Open the high-level review checklist in the web preview pane and post it to the PR as an Approve, Comment or Request changes review. Comments on lines selected in a diff or a test's source are either sent to the agent or added to the review, where those on lines in the PR diff post as line-level comments. See [docs/high-level-review.md](docs/high-level-review.md)
|
|
152
152
|
- `--configure` - With `--high-level`: configure the checklist's `review.highLevel.*` keys instead of reviewing
|
|
153
153
|
- `--scope <repo|project>` - With `--configure`: write to this repo's override in the shared assist database or the project `assist.yml` instead of asking
|
|
@@ -582,6 +582,12 @@ The extension also adds an **assist** button beside each PR review comment, revi
|
|
|
582
582
|
|
|
583
583
|
On a PR page the header button opens a menu mirroring the web app's PR dialog instead: the review modes (Review, Review & refine, Review & apply, Review & post, High-level review), the Force re-run / Address comments after / Announce to Slack after toggles that add their flags to the picked mode, and the PR actions (Checkout, Address Comments, Fix conflicts merge/rebase). Arrow keys move, Enter picks or toggles, Escape or a click outside closes. Picking an entry POSTs `{ url, args }` to `POST /api/sessions/review-from-github`, which resolves the clone the same way and starts an assist session running those args plus the PR number. Args that aren't a shared review mode (optionally followed by toggle flags) or PR action get a 400.
|
|
584
584
|
|
|
585
|
+
### Azure DevOps PRs
|
|
586
|
+
|
|
587
|
+
The content script also runs on `dev.azure.com` and `*.visualstudio.com`. On a PR page (`…/<project>/_git/<repo>/pullrequest/<id>`) it adds the **assist** button to the PR header with only **Checkout**; the review modes and other PR actions are GitHub-only and get a 400 for an Azure DevOps URL. The endpoint finds the clone under `clone.baseDir` whose remote is the same org/project/repo in any form (`https://org@dev.azure.com/…/_git/repo`, `https://org.visualstudio.com/…/_git/repo`, `git@ssh.dev.azure.com:v3/org/project/repo`), preferring `<baseDir>/<repo>`.
|
|
588
|
+
|
|
589
|
+
Assist stores no Azure DevOps credentials: it drives the [Azure CLI](https://aka.ms/azure-cli) with your own login, so install `az`, add its extension with `az extension add --name azure-devops`, and run `az login`. When a checkout fails, assist says which of these is missing.
|
|
590
|
+
|
|
585
591
|
Sending is Firefox-only (it relies on the `browser.*` promise APIs). The web server URL is set on the extension's options page (**about:addons** → the extension → **Options**) and defaults to `http://localhost:3100`. `host_permissions` covers any port on `localhost` and `127.0.0.1`; another host relies on the endpoint's CORS.
|
|
586
592
|
|
|
587
593
|
### Docs feedback
|