open-azdo 0.1.9 → 0.2.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 +7 -15
- package/dist/open-azdo.js +28493 -10074
- package/dist/open-azdo.js.map +165 -45
- package/examples/azure-pipelines.review.debug.yml +2 -2
- package/examples/azure-pipelines.review.yml +1 -1
- package/package.json +13 -22
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ Common Azure Pipeline defaults:
|
|
|
38
38
|
Optional flags:
|
|
39
39
|
|
|
40
40
|
- `--opencode-variant <name>` provider-specific variant or reasoning level, for example `minimal`, `low`, `medium`, `high`, or `xhigh`
|
|
41
|
-
- `--opencode-timeout
|
|
41
|
+
- `--opencode-timeout <duration>` default `10 minutes`, for example `5 minutes` or `1 hour`
|
|
42
42
|
- `--workspace <path>`
|
|
43
43
|
- `--organization <name>`
|
|
44
44
|
- `--project <name>`
|
|
@@ -57,15 +57,15 @@ Exit behavior:
|
|
|
57
57
|
|
|
58
58
|
## Azure Pipelines
|
|
59
59
|
|
|
60
|
-
The canonical example is in [examples/azure-pipelines.review.yml](
|
|
61
|
-
For first-time rollout or debugging, use [examples/azure-pipelines.review.debug.yml](
|
|
60
|
+
The canonical example is in [examples/azure-pipelines.review.yml](./examples/azure-pipelines.review.yml).
|
|
61
|
+
For first-time rollout or debugging, use [examples/azure-pipelines.review.debug.yml](./examples/azure-pipelines.review.debug.yml).
|
|
62
62
|
|
|
63
63
|
Key requirements:
|
|
64
64
|
|
|
65
65
|
- use `checkout: self`
|
|
66
66
|
- set `fetchDepth: 0`
|
|
67
67
|
- keep `persistCredentials: false`
|
|
68
|
-
- enable
|
|
68
|
+
- enable `Allow scripts to access the OAuth token`
|
|
69
69
|
- grant repository read and pull request thread read/write permissions
|
|
70
70
|
|
|
71
71
|
Attach the pipeline as a branch build-validation policy. Findings are posted as PR comments by default and do not fail the build.
|
|
@@ -102,23 +102,15 @@ steps:
|
|
|
102
102
|
env:
|
|
103
103
|
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
|
104
104
|
OPENAI_API_KEY: $(OpenAIApiKey)
|
|
105
|
-
|
|
106
|
-
# OPEN_AZDO_OPENCODE_VARIANT: $(OpenCodeThinking)
|
|
107
|
-
OPEN_AZDO_OPENCODE_TIMEOUT_MS: "300000"
|
|
105
|
+
OPEN_AZDO_OPENCODE_TIMEOUT: "10 minutes"
|
|
108
106
|
```
|
|
109
107
|
|
|
110
108
|
## Development
|
|
111
109
|
|
|
112
|
-
|
|
113
|
-
service and command-runner patterns. Refresh them with:
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
./scripts/pull-ref-repos.sh
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Project checks:
|
|
110
|
+
From the monorepo root:
|
|
120
111
|
|
|
121
112
|
```bash
|
|
113
|
+
bun install
|
|
122
114
|
bun run check
|
|
123
115
|
bun run build
|
|
124
116
|
```
|