Hi @choufeng! Great PR — exactly what we need. We tested it in our environment and applied fixes for all the CodeRabbit review items. Here's a patch you can apply directly:
curl -L https://gist.github.com/rm-rf-etc/fcdb35b3d0fba3a2e126d75b30c07c4c/raw/opencode-fixes.patch | git applyOr if you prefer, add our branch as a remote and merge: