Force cursor-agent egress through node2 SOCKS5 via local CONNECT bridge
build-and-push / build (push) Successful in 8m40s

The Bun-based cursor-agent only honors http://-scheme HTTP(S)_PROXY values
and silently ignores socks5(h):// — with the pod's socks5h env it egressed
directly. Add devbox-proxy-bridge (loopback HTTP CONNECT -> node2 SOCKS5),
run it supervised from the entrypoint, and shadow cursor-agent/agent with a
wrapper that points at the bridge (fail-loud, no bypass). CI path triggers
updated for the new files.
This commit is contained in:
Ubuntu
2026-09-27 09:48:55 +00:00
parent e0ca7b1a56
commit 90c6b6c425
6 changed files with 258 additions and 0 deletions
+2
View File
@@ -6,6 +6,8 @@ on:
paths:
- 'Dockerfile'
- 'entrypoint.sh'
- 'devbox-proxy-bridge.js'
- 'cursor-agent-wrapper.sh'
- '.gitea/workflows/build-and-push.yaml'
workflow_dispatch: {}