新增 agent-executor 服务:9000 端口接收命令并以 SSE 实时回传输出(零依赖单文件;cwd 白名单/可选 token 鉴权/超时与取消杀进程组);补回 compose 顶层 external 网络定义;附冒烟测试

This commit is contained in:
2026-09-06 07:56:07 +08:00
parent 98b1069b54
commit 6f7bff27af
4 changed files with 330 additions and 0 deletions
+11
View File
@@ -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"]