按 README 设计方案实现 Agent 系统 app/:多模型 FIFO 调度、Agent 主循环、13 个沙箱工具(web_search 走内网 MCP)、H5 前端(SSE 流式)、Docker 部署与端到端冒烟测试(25/25 通过)

This commit is contained in:
2026-08-31 06:57:38 +08:00
parent 4e6c1b0121
commit 677b70cffe
28 changed files with 4876 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM node:20-slim
# 常用命令行工具:Agent 的 terminal 工具经常用到
RUN apt-get update -y && apt-get install -y --no-install-recommends \
ca-certificates curl git python3 ripgrep procps\
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install --omit=dev --no-audit --no-fund
COPY server ./server
COPY config.example.yaml ./
EXPOSE 8080
ENV AGENT_CONFIG=/app/config.yaml
CMD ["node", "server/server.js"]