Fix out-of-date docs regarding pre-commit.sh, whic...
# proj-documentation
l
Fix out-of-date docs regarding pre-commit.sh, which is only supported in app-server. I updated this to use hooks, which are also supported in agent-server: Recommend Stop hooks for repository quality gates by neubig · Pull Request #498 · OpenHands/docs
cc @chilly-france-44439
c
merged
l
thanks!
q
i think we also have references to setup.sh scripts, is that still supported? iirc we only support hooks now
c
i remmeber that's only supported in OpenHands/OpenHands @nutritious-balloon-65098 Conduct a thorough investigation under: 1. OpenHands/software-agent-sdk 2. OpenHands/OpenHands 3. OpenHands/OpenHands-CLI 4. OpenHands/agent-canvas Please tell me if setup.sh is still supported or not.
n
I'm on it! Xingyao Wang can track my progress here.
I answered the investigation question and did not make any code changes. Final answer:
.openhands/setup.sh
is still supported only in
OpenHands/OpenHands
app-server conversation startup. It is not supported by
OpenHands/software-agent-sdk
/ agent-server,
OpenHands/OpenHands-CLI
, or
OpenHands/agent-canvas
as an execution mechanism. Those runtimes support hooks via
.openhands/hooks.json
instead. No commits, pushes, or PRs were created.