@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miller-tech/uap",
3
- "version": "1.46.0",
3
+ "version": "1.46.1",
4
4
  "description": "Autonomous AI agent memory system with CLAUDE.md protocol enforcement",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1037,8 +1037,12 @@ class OpenCodeBaseline(BaseInstalledAgent):
1037
1037
 
1038
1038
  run = ExecInput(
1039
1039
  command=(
1040
- f"source $HOME/.nvm/nvm.sh && "
1041
- f"opencode --model {model} run --format=json {escaped} "
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,