refactor: move acp bridge to frontends/
This commit is contained in:
1 parent
88f0e69231
commit
7e357dcc64
1 file changed
+2
@@ -3,6 +3,8 @@ import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
# Must run BEFORE importing agentmain — it reconfigures stdout at import time,
|
||||
# and its submodules may print() during init. We capture the raw binary stdout
|
||||
# for ACP JSON-RPC, then redirect the text-mode stdout to stderr so any stray
|
||||
Reference in new issue
Block a user