open-azdo 0.3.1 → 0.3.3

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.
@@ -10,7 +10,7 @@ variables:
10
10
  BunLinuxX64Sha256: f57bc0187e39623de716ba3a389fda5486b2d7be7131a980ba54dc7b733d2e08
11
11
  OpenCodeVersion: 1.3.3
12
12
  OpenCodeLinuxX64Sha256: 92bb36b16ed1dfb08697fd2b7d8f7d09fdfcbacd5e5bf6a67f4d157a7f533b13
13
- OpenAzdoVersion: 0.3.1
13
+ OpenAzdoVersion: 0.3.3
14
14
  RunOpenCodeSmokeTest: "false"
15
15
 
16
16
  steps:
@@ -0,0 +1,66 @@
1
+ trigger: none
2
+
3
+ pool:
4
+ vmImage: ubuntu-latest
5
+
6
+ variables:
7
+ OpenCodeModel: openai/gpt-5.4-mini
8
+ OpenCodeThinking: high
9
+ NodeVersion: 24.x
10
+ PnpmVersion: 10
11
+ DotNetSdkVersion: 10.0.x
12
+ BunVersion: 1.3.10
13
+ BunLinuxX64Sha256: f57bc0187e39623de716ba3a389fda5486b2d7be7131a980ba54dc7b733d2e08
14
+ OpenCodeVersion: 1.3.3
15
+ OpenCodeLinuxX64Sha256: 92bb36b16ed1dfb08697fd2b7d8f7d09fdfcbacd5e5bf6a67f4d157a7f533b13
16
+ OpenAzdoVersion: 0.3.3
17
+
18
+ steps:
19
+ - checkout: self
20
+ clean: true
21
+ fetchDepth: 0
22
+ persistCredentials: false
23
+
24
+ - task: UseNode@1
25
+ inputs:
26
+ version: $(NodeVersion)
27
+
28
+ - task: UseDotNet@2
29
+ inputs:
30
+ packageType: sdk
31
+ version: $(DotNetSdkVersion)
32
+
33
+ - bash: |
34
+ set -euo pipefail
35
+
36
+ corepack enable
37
+ corepack prepare "pnpm@$(PnpmVersion)" --activate
38
+ pnpm install --frozen-lockfile
39
+
40
+ # Adjust the restore target if your solution or project is not rooted at the repository checkout.
41
+ dotnet restore --locked-mode
42
+
43
+ curl -fsSL "https://github.com/oven-sh/bun/releases/download/bun-v$(BunVersion)/bun-linux-x64.zip" -o bun.zip
44
+ echo "$(BunLinuxX64Sha256) bun.zip" | sha256sum -c -
45
+ unzip -q bun.zip
46
+ export PATH="$PWD/bun-linux-x64:$PATH"
47
+
48
+ curl -fsSL "https://github.com/sst/opencode/releases/download/v$(OpenCodeVersion)/opencode-linux-x64.tar.gz" -o opencode.tar.gz
49
+ echo "$(OpenCodeLinuxX64Sha256) opencode.tar.gz" | sha256sum -c -
50
+ mkdir -p opencode-bin
51
+ tar -xzf opencode.tar.gz -C opencode-bin
52
+ export PATH="$PWD/opencode-bin:$PATH"
53
+
54
+ pnpm --version
55
+ dotnet --version
56
+ bun --version
57
+ opencode --version
58
+
59
+ bun x "open-azdo@$(OpenAzdoVersion)" review --model "$(OpenCodeModel)" --opencode-variant "$(OpenCodeThinking)"
60
+ displayName: Review Pull Request
61
+ env:
62
+ # Azure Pipelines: enable "Allow scripts to access the OAuth token".
63
+ SYSTEM_ACCESSTOKEN: $(System.AccessToken)
64
+ OPENAI_API_KEY: $(OPENAI_API_KEY)
65
+ OPEN_AZDO_OPENCODE_TIMEOUT: "15 minutes"
66
+ OPENCODE_EXPERIMENTAL_LSP_TOOL: "true"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-azdo",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Secure Azure DevOps pull request review CLI powered by OpenCode",
5
5
  "repository": {
6
6
  "type": "git",