We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7c5ab commit d504207Copy full SHA for d504207
1 file changed
deploy/tri-bridge-agent.sh
@@ -85,7 +85,9 @@ while true; do
85
TIMEOUT=120
86
fi
87
# Execute in repo context with timeout
88
- RESULT=$(timeout $TIMEOUT bash -c "$CMD" 2>&1 | head -c $MAX_RESULT) || true
+ # Unset CLAUDECODE/CLAUDE_CODE to allow claude CLI when bridge-agent
89
+ # runs inside an existing Claude Code session
90
+ RESULT=$(env -u CLAUDECODE -u CLAUDE_CODE timeout $TIMEOUT bash -c "$CMD" 2>&1 | head -c $MAX_RESULT) || true
91
EXIT_CODE=${PIPESTATUS[0]:-0}
92
else
93
RESULT="BLOCKED: command not in whitelist"
0 commit comments