新增 agent-executor 服务:9000 端口接收命令并以 SSE 实时回传输出(零依赖单文件;cwd 白名单/可选 token 鉴权/超时与取消杀进程组);补回 compose 顶层 external 网络定义;附冒烟测试
This commit is contained in:
@@ -26,3 +26,14 @@ RUN pip3 install --no-cache-dir --break-system-packages \
|
||||
pymupdf pdfplumber pypdf reportlab \
|
||||
Pillow python-dateutil python-magic \
|
||||
loguru rich fonttools
|
||||
|
||||
# ---- executor 服务(零依赖单文件,仅 Node 内置 http)----
|
||||
WORKDIR /app
|
||||
COPY server.js ./
|
||||
|
||||
EXPOSE 9000
|
||||
ENV PORT=9000 \
|
||||
EXECUTOR_ROOTS=/workspace \
|
||||
EXECUTOR_CWD=/workspace/tasks
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user