Repository navigation
AZPR v0.1.0
OpenCode Azure DevOps PR Review V2 — 0.1.0
Review Azure DevOps pull requests in OpenCode, preview the resulting comments,
and choose when to publish them.
Included
/pr-setup: configure your organization, one model and an existing private
PAT file. Settings stay outside a native package's cache and survive updates./pr-check: check Azure access, source reads and model readiness without
calling a model./pr-quick: one reviewer per shard covers function and risk. Findings are
reported, not independently verified./pr-reviewand/pr-deep: separate functional and risk reviews, followed
by independent verification sessions./pr-deepruns the same review with
the stronger models configured inmodels.deep./pr-comment: preview the summary and inline comments. Add--publishto
post the saved plan; publication checks the PR head, skips existing markers
and reads posted comments back./pr-stop: cancel the active command in your conversation.- Large-PR sharding, overflow recovery, bounded retries and two concurrent
comment-planning pages. - Private saved reviews and publication records, and Azure proxy/CA settings.
- The PAT kept alone in an owner-only file (
azure.patFile), so
settings.jsonholds no secret.
Installation
Install with OpenCode V2's plugin manager:
opencode plugin add 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.1.0'Follow the quickstart
to create a private PAT file, run /pr-setup with one model and your Azure
organization, then restart the OpenCode service. Review, preview and publication
are separate explicit commands.
The source archive also includes install.sh for manual installation into the
configuration directory used by your OpenCode V2 instance.
For an existing AZPR V2 installation, use the documented --replace option;
it preserves settings and adds defaults. Do not enable both installation methods
in one profile. This release does not require an npm registry package.
Compatibility and evidence
- Tested host:
@opencode/cli2.1.2. - Tested OS: Ubuntu 22.04; the recorded environment uses WSL2.
- Azure: Azure DevOps Services, REST API 7.1.
- Native installer: OpenCode's Git package manager. Alternative source installer:
POSIXshand Python 3 standard library. No plugin build step or npm dependencies.
docs/VALIDATION.md records the offline tests, real-host tests with fake
services, and separate live Azure/model runs. Model quality and runtime
correctness are different claims; test counts do not establish review accuracy.
The release includes a real OpenCode terminal demonstration and Azure comment
read-back recording; see the demo guide
for the source, environment, edits and limitations.
Before using it with a team
Read docs/ENTERPRISE.md for data sent to the selected model, PAT permissions,
private retention, network configuration and publication behavior.
Quick findings are not independently verified. Preview generation uses a model
and can incur cost. A session can make multiple model requests; no fixed cost
or accuracy is promised. Azure DevOps Server is not supported; operating
systems other than the tested Linux environment remain unvalidated. The minimum
recommended PAT scopes and quick-review publication have been confirmed on the
dedicated Azure test repository; other organizations and repositories still need
their own acceptance checks.