@miller-tech/uap 1.46.0 → 1.46.1
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/package.json
CHANGED
|
Binary file
|
|
@@ -1037,8 +1037,12 @@ class OpenCodeBaseline(BaseInstalledAgent):
|
|
|
1037
1037
|
|
|
1038
1038
|
run = ExecInput(
|
|
1039
1039
|
command=(
|
|
1040
|
-
|
|
1041
|
-
|
|
1040
|
+
# `cd /app` + `--dir /app` so opencode indexes the task directory
|
|
1041
|
+
# (matches OpenCodeUAP). Without it opencode runs from the wrong
|
|
1042
|
+
# cwd and fails file-exploration tasks — which made the baseline a
|
|
1043
|
+
# handicapped, unfair control in A/B comparisons.
|
|
1044
|
+
f"source $HOME/.nvm/nvm.sh && cd /app && "
|
|
1045
|
+
f"opencode --model {model} --dir /app run --format=json {escaped} "
|
|
1042
1046
|
f"2>&1 | tee /logs/agent/opencode.txt"
|
|
1043
1047
|
),
|
|
1044
1048
|
env=env,
|