open-azdo 0.3.4 → 0.3.5
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
|
@@ -130,6 +130,7 @@ Key requirements:
|
|
|
130
130
|
|
|
131
131
|
Attach the pipeline as a branch build-validation policy. Findings are posted as PR comments by default and do not fail the build.
|
|
132
132
|
`open-azdo` does not install language-specific prerequisites itself. LSP prerequisites are provided by the pipeline environment, and the pnpm example enables OpenCode's experimental LSP tool while provisioning `.NET` plus `dotnet restore` for C# projects.
|
|
133
|
+
For nested JS or TS packages, install dependencies in the package directory that owns the lockfile before running `open-azdo`. `open-azdo` keeps the review workspace at the checkout root and relies on workspace-local TypeScript resolution.
|
|
133
134
|
|
|
134
135
|
```yaml
|
|
135
136
|
trigger: none
|
package/dist/open-azdo.js
CHANGED
|
@@ -70723,6 +70723,7 @@ var OpenCodeSdkRuntimeLive = exports_Layer.effect(OpenCodeSdkRuntime, makeOpenCo
|
|
|
70723
70723
|
|
|
70724
70724
|
// ../../packages/core/src/opencode/Layers/OpenCodeRunner.ts
|
|
70725
70725
|
var OPEN_CODE_CONFIG_SCHEMA = "https://opencode.ai/config.json";
|
|
70726
|
+
var OPEN_CODE_TYPESCRIPT_LSP_COMMAND = [process.execPath, "x", "typescript-language-server", "--stdio"];
|
|
70726
70727
|
var openCodePermission = {
|
|
70727
70728
|
edit: "deny",
|
|
70728
70729
|
read: "allow",
|
|
@@ -70753,6 +70754,11 @@ var buildOpenCodeConfig = (agentName) => ({
|
|
|
70753
70754
|
share: "disabled",
|
|
70754
70755
|
autoupdate: false,
|
|
70755
70756
|
default_agent: agentName,
|
|
70757
|
+
lsp: {
|
|
70758
|
+
typescript: {
|
|
70759
|
+
command: OPEN_CODE_TYPESCRIPT_LSP_COMMAND
|
|
70760
|
+
}
|
|
70761
|
+
},
|
|
70756
70762
|
permission: openCodePermission,
|
|
70757
70763
|
agent: {
|
|
70758
70764
|
[agentName]: {
|
|
@@ -71686,7 +71692,8 @@ var buildReviewPrompt = (promptFile, reviewContext) => exports_Effect.gen(functi
|
|
|
71686
71692
|
"If LSP access is available for the current file, use it selectively to validate symbol resolution, references, implementations, hover details, and diagnostics when that is faster or more reliable than manual file tracing.",
|
|
71687
71693
|
"Treat LSP results as supporting evidence, not authority on their own; confirm findings against the changed code and nearby repository context before reporting them.",
|
|
71688
71694
|
"Build an internal checklist containing every path in scoped changedFiles and review the files one by one until the checklist is exhausted.",
|
|
71689
|
-
"For each scoped changed file, inspect the diff with `git diff <baseRef> <headRef> -- <path
|
|
71695
|
+
"For each scoped changed file, inspect the diff with `git diff '<baseRef>' '<headRef>' -- '<path>'` before deciding whether there is a finding.",
|
|
71696
|
+
"Always shell-quote file paths and refs when you run read-only commands.",
|
|
71690
71697
|
"Read nearby code and directly related files only when needed to validate behavior.",
|
|
71691
71698
|
"Do not perform broad repository sweeps or unrelated searches.",
|
|
71692
71699
|
"Use connected work items as supplemental product context only. Acceptance criteria, repro steps, and comments can explain intent, but they are not standalone evidence for a finding.",
|
|
@@ -73149,7 +73156,7 @@ var sandboxCaptureCommand = make34("capture", sandboxCaptureCommandConfig).pipe(
|
|
|
73149
73156
|
var sandboxCommand = make34("sandbox").pipe(withDescription3("Sandbox tooling for live capture and local preview."), withSubcommands([sandboxCaptureCommand]));
|
|
73150
73157
|
var openAzdoCli = make34("open-azdo").pipe(withDescription3("Secure Azure DevOps pull-request review CLI powered by OpenCode."), withSubcommands([reviewCommand, sandboxCommand]));
|
|
73151
73158
|
// package.json
|
|
73152
|
-
var version2 = "0.3.
|
|
73159
|
+
var version2 = "0.3.5";
|
|
73153
73160
|
|
|
73154
73161
|
// src/Main.ts
|
|
73155
73162
|
var cliProgram = run3(openAzdoCli, { version: version2 }).pipe(exports_Effect.scoped, exports_Effect.provide(BaseRuntimeLayer));
|
|
@@ -73158,4 +73165,4 @@ var main = () => runMain2(cliProgram, { disableErrorReporting: true });
|
|
|
73158
73165
|
// bin/open-azdo.ts
|
|
73159
73166
|
main();
|
|
73160
73167
|
|
|
73161
|
-
//# debugId=
|
|
73168
|
+
//# debugId=BA409C50A45DF5C664756E2164756E21
|